mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 19:11:08 +08:00
Merge branch 'next' into lazy-load-docs
This commit is contained in:
commit
1ce059c5bd
16
CHANGELOG.md
16
CHANGELOG.md
@ -1,3 +1,19 @@
|
||||
## 6.4.0-beta.16 (October 20, 2021)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- Core: Consolidate framework presets ([#16417](https://github.com/storybookjs/storybook/pull/16417))
|
||||
- Addon-a11y: Fix to use `loadStory` over deprecated `fromId` ([#16398](https://github.com/storybookjs/storybook/pull/16398))
|
||||
- Core: Restore `queryparams` exports in `client-api` ([#16414](https://github.com/storybookjs/storybook/pull/16414))
|
||||
|
||||
### Maintenance
|
||||
|
||||
- Core: Minor cleanup of `PreviewWeb` ([#16418](https://github.com/storybookjs/storybook/pull/16418))
|
||||
|
||||
### Dependency Upgrades
|
||||
|
||||
- Update `react-element-to-jsx-string` package ([#16407](https://github.com/storybookjs/storybook/pull/16407))
|
||||
|
||||
## 6.4.0-beta.15 (October 19, 2021)
|
||||
|
||||
### Features
|
||||
|
16
MIGRATION.md
16
MIGRATION.md
@ -10,6 +10,7 @@
|
||||
- [Main.js framework field](#mainjs-framework-field)
|
||||
- [Using the v7 store](#using-the-v7-store)
|
||||
- [V7-style story sort](#v7-style-story-sort)
|
||||
- [V7 Store API changes for addon authors](#v7-store-api-changes-for-addon-authors)
|
||||
- [Babel mode v7](#babel-mode-v7)
|
||||
- [Loader behavior with args changes](#loader-behavior-with-args-changes)
|
||||
- [Angular component parameter removed](#angular-component-parameter-removed)
|
||||
@ -222,7 +223,7 @@ Consider a project configuration `/path/to/project/.storybook/main.js` containin
|
||||
module.exports = { stories: ['../src/**/*.stories.*'] };
|
||||
```
|
||||
|
||||
And te file `/path/to/project/src/components/Button.stories.tsx` containing the default export:
|
||||
And the file `/path/to/project/src/components/Button.stories.tsx` containing the default export:
|
||||
|
||||
```js
|
||||
import { Button } from './Button';
|
||||
@ -235,7 +236,7 @@ We will provide more documentation soon on how to configure this.
|
||||
|
||||
#### String literal titles
|
||||
|
||||
Starting in 6.4 CSF component [titles are optional](#optional-titles). However, if you do specify titles, title handing is becoming more strict in V7 and are limited to string literals.
|
||||
Starting in 6.4 CSF component [titles are optional](#optional-titles). However, if you do specify titles, title handing is becoming more strict in V7 and is limited to string literals.
|
||||
|
||||
Earlier versions of Storybook supported story titles that are dynamic Javascript expressions
|
||||
|
||||
@ -270,7 +271,7 @@ The key benefit of the on demand store is that stories are code-split automatica
|
||||
The on-demand store relies on the "story index" data structure which is generated in the server (node) via static code analysis. As such, it has the following limitations:
|
||||
|
||||
- Does not work with `storiesOf()`
|
||||
- Does not work if you used dynamic story names or component titles.
|
||||
- Does not work if you use dynamic story names or component titles.
|
||||
|
||||
However, the `autoTitle` feature is supported.
|
||||
|
||||
@ -349,6 +350,13 @@ function storySort(a, b) {
|
||||
},
|
||||
```
|
||||
|
||||
#### V7 Store API changes for addon authors
|
||||
|
||||
The Story Store in v7 mode is async, so synchronous story loading APIs no longer work. In particular:
|
||||
|
||||
- `store.fromId()` has been replaced by `store.loadStory()`, which is async (i.e. returns a `Promise` you will need to await).
|
||||
- `store.raw()/store.extract()` and friends that list all stories require a prior call to `store.cacheAllCSFFiles()` (which is async). This will load all stories, and isn't generally a good idea in an addon, as it will force the whole store to load.
|
||||
|
||||
### Babel mode v7
|
||||
|
||||
SB6.4 introduces an opt-in feature flag, `features.babelModeV7`, that reworks the way Babel is configured in Storybook to make it more consistent with the Babel is configured in your app. This breaking change will become the default in SB 7.0, but we encourage you to migrate today.
|
||||
@ -382,7 +390,7 @@ This will create a `.babelrc.json` file. This file includes a bunch of babel plu
|
||||
|
||||
### Loader behavior with args changes
|
||||
|
||||
In 6.4 the behavior of loaders when arg changes occurred was tweaked so loaders do not re-run. Instead the previous value of the loader in passed to the story, irrespective of the new args.
|
||||
In 6.4 the behavior of loaders when arg changes occurred was tweaked so loaders do not re-run. Instead the previous value of the loader is passed to the story, irrespective of the new args.
|
||||
|
||||
### Angular component parameter removed
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-a11y",
|
||||
"version": "6.4.0-beta.15",
|
||||
"version": "6.4.0-beta.16",
|
||||
"description": "Test component compliance with web accessibility standards",
|
||||
"keywords": [
|
||||
"a11y",
|
||||
@ -45,14 +45,14 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.4.0-beta.15",
|
||||
"@storybook/api": "6.4.0-beta.15",
|
||||
"@storybook/channels": "6.4.0-beta.15",
|
||||
"@storybook/client-logger": "6.4.0-beta.15",
|
||||
"@storybook/components": "6.4.0-beta.15",
|
||||
"@storybook/core-events": "6.4.0-beta.15",
|
||||
"@storybook/addons": "6.4.0-beta.16",
|
||||
"@storybook/api": "6.4.0-beta.16",
|
||||
"@storybook/channels": "6.4.0-beta.16",
|
||||
"@storybook/client-logger": "6.4.0-beta.16",
|
||||
"@storybook/components": "6.4.0-beta.16",
|
||||
"@storybook/core-events": "6.4.0-beta.16",
|
||||
"@storybook/csf": "0.0.2--canary.87bc651.0",
|
||||
"@storybook/theming": "6.4.0-beta.15",
|
||||
"@storybook/theming": "6.4.0-beta.16",
|
||||
"axe-core": "^4.2.0",
|
||||
"core-js": "^3.8.2",
|
||||
"global": "^4.4.0",
|
||||
@ -81,7 +81,7 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "f3bcbe0094355fe373d47570cdabc548b93b0b64",
|
||||
"gitHead": "51cd442b428ccbb626003da5cc4491e670a1f281",
|
||||
"sbmodern": "dist/modern/index.js",
|
||||
"storybook": {
|
||||
"displayName": "Accessibility",
|
||||
|
@ -25,17 +25,17 @@ const getElement = () => {
|
||||
* Handle A11yContext events.
|
||||
* Because the event are sent without manual check, we split calls
|
||||
*/
|
||||
const handleRequest = (storyId: string) => {
|
||||
const { manual } = getParams(storyId);
|
||||
const handleRequest = async (storyId: string) => {
|
||||
const { manual } = await getParams(storyId);
|
||||
if (!manual) {
|
||||
run(storyId);
|
||||
await run(storyId);
|
||||
}
|
||||
};
|
||||
|
||||
const run = async (storyId: string) => {
|
||||
activeStoryId = storyId;
|
||||
try {
|
||||
const input = getParams(storyId);
|
||||
const input = await getParams(storyId);
|
||||
|
||||
if (!active) {
|
||||
active = true;
|
||||
@ -67,8 +67,9 @@ const run = async (storyId: string) => {
|
||||
};
|
||||
|
||||
/** Returns story parameters or default ones. */
|
||||
const getParams = (storyId: string): A11yParameters => {
|
||||
const { parameters } = globalWindow.__STORYBOOK_STORY_STORE__.fromId(storyId) || {};
|
||||
const getParams = async (storyId: string): Promise<A11yParameters> => {
|
||||
const { parameters } =
|
||||
(await globalWindow.__STORYBOOK_STORY_STORE__.loadStory({ storyId })) || {};
|
||||
return (
|
||||
parameters.a11y || {
|
||||
config: {},
|
||||
|
@ -60,7 +60,7 @@ To apply the configuration globally use the `configureActions` function in your
|
||||
import { configureActions } from '@storybook/addon-actions';
|
||||
|
||||
configureActions({
|
||||
depth: 100,
|
||||
maxDepth: 100,
|
||||
// Limit the number of items logged into the actions panel
|
||||
limit: 20,
|
||||
});
|
||||
@ -70,7 +70,7 @@ To apply the configuration per action use:
|
||||
|
||||
```js
|
||||
action('my-action', {
|
||||
depth: 5,
|
||||
maxDepth: 5,
|
||||
});
|
||||
```
|
||||
|
||||
@ -78,6 +78,6 @@ action('my-action', {
|
||||
|
||||
| Name | Type | Description | Default |
|
||||
| -------------------- | ------- | ----------------------------------------------------------------------------------- | ------- |
|
||||
| `depth` | Number | Configures the transferred depth of any logged objects. | `10` |
|
||||
| `maxDepth` | Number | Configures the transferred depth of any logged objects. | `10` |
|
||||
| `clearOnStoryChange` | Boolean | Flag whether to clear the action logger when switching away from the current story. | `true` |
|
||||
| `limit` | Number | Limits the number of items logged in the action logger | `50` |
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-actions",
|
||||
"version": "6.4.0-beta.15",
|
||||
"version": "6.4.0-beta.16",
|
||||
"description": "Get UI feedback when an action is performed on an interactive element",
|
||||
"keywords": [
|
||||
"storybook",
|
||||
@ -41,12 +41,12 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.4.0-beta.15",
|
||||
"@storybook/api": "6.4.0-beta.15",
|
||||
"@storybook/components": "6.4.0-beta.15",
|
||||
"@storybook/core-events": "6.4.0-beta.15",
|
||||
"@storybook/addons": "6.4.0-beta.16",
|
||||
"@storybook/api": "6.4.0-beta.16",
|
||||
"@storybook/components": "6.4.0-beta.16",
|
||||
"@storybook/core-events": "6.4.0-beta.16",
|
||||
"@storybook/csf": "0.0.2--canary.87bc651.0",
|
||||
"@storybook/theming": "6.4.0-beta.15",
|
||||
"@storybook/theming": "6.4.0-beta.16",
|
||||
"core-js": "^3.8.2",
|
||||
"fast-deep-equal": "^3.1.3",
|
||||
"global": "^4.4.0",
|
||||
@ -55,6 +55,7 @@
|
||||
"prop-types": "^15.7.2",
|
||||
"react-inspector": "^5.1.0",
|
||||
"regenerator-runtime": "^0.13.7",
|
||||
"telejson": "^5.3.2",
|
||||
"ts-dedent": "^2.0.0",
|
||||
"util-deprecate": "^1.0.2",
|
||||
"uuid-browser": "^3.1.0"
|
||||
@ -78,7 +79,7 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "f3bcbe0094355fe373d47570cdabc548b93b0b64",
|
||||
"gitHead": "51cd442b428ccbb626003da5cc4491e670a1f281",
|
||||
"sbmodern": "dist/modern/index.js",
|
||||
"storybook": {
|
||||
"displayName": "Actions",
|
||||
|
@ -1,6 +1,9 @@
|
||||
export interface ActionOptions {
|
||||
depth?: number;
|
||||
clearOnStoryChange?: boolean;
|
||||
limit?: number;
|
||||
allowFunction?: boolean;
|
||||
import type { Options as TelejsonOptions } from 'telejson';
|
||||
|
||||
interface Options {
|
||||
depth: number; // backards compatibility, remove in 7.0
|
||||
clearOnStoryChange: boolean;
|
||||
limit: number;
|
||||
}
|
||||
|
||||
export type ActionOptions = Partial<Options> & Partial<TelejsonOptions>;
|
||||
|
@ -22,7 +22,7 @@ export function action(name: string, options: ActionOptions = {}): HandlerFuncti
|
||||
data: { name, args: normalizedArgs },
|
||||
options: {
|
||||
...actionOptions,
|
||||
depth: minDepth + (actionOptions.depth || 3),
|
||||
maxDepth: minDepth + (actionOptions.depth || 3),
|
||||
allowFunction: actionOptions.allowFunction || false,
|
||||
},
|
||||
};
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-backgrounds",
|
||||
"version": "6.4.0-beta.15",
|
||||
"version": "6.4.0-beta.16",
|
||||
"description": "Switch backgrounds to view components in different settings",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -45,13 +45,13 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.4.0-beta.15",
|
||||
"@storybook/api": "6.4.0-beta.15",
|
||||
"@storybook/client-logger": "6.4.0-beta.15",
|
||||
"@storybook/components": "6.4.0-beta.15",
|
||||
"@storybook/core-events": "6.4.0-beta.15",
|
||||
"@storybook/addons": "6.4.0-beta.16",
|
||||
"@storybook/api": "6.4.0-beta.16",
|
||||
"@storybook/client-logger": "6.4.0-beta.16",
|
||||
"@storybook/components": "6.4.0-beta.16",
|
||||
"@storybook/core-events": "6.4.0-beta.16",
|
||||
"@storybook/csf": "0.0.2--canary.87bc651.0",
|
||||
"@storybook/theming": "6.4.0-beta.15",
|
||||
"@storybook/theming": "6.4.0-beta.16",
|
||||
"core-js": "^3.8.2",
|
||||
"global": "^4.4.0",
|
||||
"memoizerific": "^1.11.3",
|
||||
@ -77,7 +77,7 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "f3bcbe0094355fe373d47570cdabc548b93b0b64",
|
||||
"gitHead": "51cd442b428ccbb626003da5cc4491e670a1f281",
|
||||
"sbmodern": "dist/modern/index.js",
|
||||
"storybook": {
|
||||
"displayName": "Backgrounds",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-controls",
|
||||
"version": "6.4.0-beta.15",
|
||||
"version": "6.4.0-beta.16",
|
||||
"description": "Interact with component inputs dynamically in the Storybook UI",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -45,15 +45,15 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.4.0-beta.15",
|
||||
"@storybook/api": "6.4.0-beta.15",
|
||||
"@storybook/client-logger": "6.4.0-beta.15",
|
||||
"@storybook/components": "6.4.0-beta.15",
|
||||
"@storybook/core-common": "6.4.0-beta.15",
|
||||
"@storybook/addons": "6.4.0-beta.16",
|
||||
"@storybook/api": "6.4.0-beta.16",
|
||||
"@storybook/client-logger": "6.4.0-beta.16",
|
||||
"@storybook/components": "6.4.0-beta.16",
|
||||
"@storybook/core-common": "6.4.0-beta.16",
|
||||
"@storybook/csf": "0.0.2--canary.87bc651.0",
|
||||
"@storybook/node-logger": "6.4.0-beta.15",
|
||||
"@storybook/store": "6.4.0-beta.15",
|
||||
"@storybook/theming": "6.4.0-beta.15",
|
||||
"@storybook/node-logger": "6.4.0-beta.16",
|
||||
"@storybook/store": "6.4.0-beta.16",
|
||||
"@storybook/theming": "6.4.0-beta.16",
|
||||
"core-js": "^3.8.2",
|
||||
"lodash": "^4.17.20",
|
||||
"ts-dedent": "^2.0.0"
|
||||
@ -73,7 +73,7 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "f3bcbe0094355fe373d47570cdabc548b93b0b64",
|
||||
"gitHead": "51cd442b428ccbb626003da5cc4491e670a1f281",
|
||||
"sbmodern": "dist/modern/register.js",
|
||||
"storybook": {
|
||||
"displayName": "Controls",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-docs",
|
||||
"version": "6.4.0-beta.15",
|
||||
"version": "6.4.0-beta.16",
|
||||
"description": "Document component usage and properties in Markdown",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -63,21 +63,21 @@
|
||||
"@mdx-js/loader": "^1.6.22",
|
||||
"@mdx-js/mdx": "^1.6.22",
|
||||
"@mdx-js/react": "^1.6.22",
|
||||
"@storybook/addons": "6.4.0-beta.15",
|
||||
"@storybook/api": "6.4.0-beta.15",
|
||||
"@storybook/builder-webpack4": "6.4.0-beta.15",
|
||||
"@storybook/client-logger": "6.4.0-beta.15",
|
||||
"@storybook/components": "6.4.0-beta.15",
|
||||
"@storybook/core": "6.4.0-beta.15",
|
||||
"@storybook/core-events": "6.4.0-beta.15",
|
||||
"@storybook/addons": "6.4.0-beta.16",
|
||||
"@storybook/api": "6.4.0-beta.16",
|
||||
"@storybook/builder-webpack4": "6.4.0-beta.16",
|
||||
"@storybook/client-logger": "6.4.0-beta.16",
|
||||
"@storybook/components": "6.4.0-beta.16",
|
||||
"@storybook/core": "6.4.0-beta.16",
|
||||
"@storybook/core-events": "6.4.0-beta.16",
|
||||
"@storybook/csf": "0.0.2--canary.87bc651.0",
|
||||
"@storybook/csf-tools": "6.4.0-beta.15",
|
||||
"@storybook/node-logger": "6.4.0-beta.15",
|
||||
"@storybook/postinstall": "6.4.0-beta.15",
|
||||
"@storybook/preview-web": "6.4.0-beta.15",
|
||||
"@storybook/source-loader": "6.4.0-beta.15",
|
||||
"@storybook/store": "6.4.0-beta.15",
|
||||
"@storybook/theming": "6.4.0-beta.15",
|
||||
"@storybook/csf-tools": "6.4.0-beta.16",
|
||||
"@storybook/node-logger": "6.4.0-beta.16",
|
||||
"@storybook/postinstall": "6.4.0-beta.16",
|
||||
"@storybook/preview-web": "6.4.0-beta.16",
|
||||
"@storybook/source-loader": "6.4.0-beta.16",
|
||||
"@storybook/store": "6.4.0-beta.16",
|
||||
"@storybook/theming": "6.4.0-beta.16",
|
||||
"acorn": "^7.4.1",
|
||||
"acorn-jsx": "^5.3.1",
|
||||
"acorn-walk": "^7.2.0",
|
||||
@ -94,7 +94,7 @@
|
||||
"p-limit": "^3.1.0",
|
||||
"prettier": "^2.2.1",
|
||||
"prop-types": "^15.7.2",
|
||||
"react-element-to-jsx-string": "^14.3.2",
|
||||
"react-element-to-jsx-string": "^14.3.4",
|
||||
"regenerator-runtime": "^0.13.7",
|
||||
"remark-external-links": "^8.0.0",
|
||||
"remark-slug": "^6.0.0",
|
||||
@ -106,11 +106,11 @@
|
||||
"@babel/core": "^7.12.10",
|
||||
"@emotion/core": "^10.1.1",
|
||||
"@emotion/styled": "^10.0.27",
|
||||
"@storybook/angular": "6.4.0-beta.15",
|
||||
"@storybook/html": "6.4.0-beta.15",
|
||||
"@storybook/react": "6.4.0-beta.15",
|
||||
"@storybook/vue": "6.4.0-beta.15",
|
||||
"@storybook/web-components": "6.4.0-beta.15",
|
||||
"@storybook/angular": "6.4.0-beta.16",
|
||||
"@storybook/html": "6.4.0-beta.16",
|
||||
"@storybook/react": "6.4.0-beta.16",
|
||||
"@storybook/vue": "6.4.0-beta.16",
|
||||
"@storybook/web-components": "6.4.0-beta.16",
|
||||
"@types/cross-spawn": "^6.0.2",
|
||||
"@types/doctrine": "^0.0.3",
|
||||
"@types/enzyme": "^3.10.8",
|
||||
@ -140,12 +140,12 @@
|
||||
"zone.js": "^0.11.3"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@storybook/angular": "6.4.0-beta.15",
|
||||
"@storybook/html": "6.4.0-beta.15",
|
||||
"@storybook/react": "6.4.0-beta.15",
|
||||
"@storybook/vue": "6.4.0-beta.15",
|
||||
"@storybook/vue3": "6.4.0-beta.15",
|
||||
"@storybook/web-components": "6.4.0-beta.15",
|
||||
"@storybook/angular": "6.4.0-beta.16",
|
||||
"@storybook/html": "6.4.0-beta.16",
|
||||
"@storybook/react": "6.4.0-beta.16",
|
||||
"@storybook/vue": "6.4.0-beta.16",
|
||||
"@storybook/vue3": "6.4.0-beta.16",
|
||||
"@storybook/web-components": "6.4.0-beta.16",
|
||||
"lit": "^2.0.0-rc.1",
|
||||
"lit-html": "^1.4.1 || ^2.0.0-rc.3",
|
||||
"react": "^16.8.0 || ^17.0.0",
|
||||
@ -202,7 +202,7 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "f3bcbe0094355fe373d47570cdabc548b93b0b64",
|
||||
"gitHead": "51cd442b428ccbb626003da5cc4491e670a1f281",
|
||||
"sbmodern": "dist/modern/index.js",
|
||||
"storybook": {
|
||||
"displayName": "Docs",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-essentials",
|
||||
"version": "6.4.0-beta.15",
|
||||
"version": "6.4.0-beta.16",
|
||||
"description": "Curated addons to bring out the best of Storybook",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -39,31 +39,31 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addon-actions": "6.4.0-beta.15",
|
||||
"@storybook/addon-backgrounds": "6.4.0-beta.15",
|
||||
"@storybook/addon-controls": "6.4.0-beta.15",
|
||||
"@storybook/addon-docs": "6.4.0-beta.15",
|
||||
"@storybook/addon-measure": "6.4.0-beta.15",
|
||||
"@storybook/addon-outline": "6.4.0-beta.15",
|
||||
"@storybook/addon-toolbars": "6.4.0-beta.15",
|
||||
"@storybook/addon-viewport": "6.4.0-beta.15",
|
||||
"@storybook/addons": "6.4.0-beta.15",
|
||||
"@storybook/api": "6.4.0-beta.15",
|
||||
"@storybook/node-logger": "6.4.0-beta.15",
|
||||
"@storybook/addon-actions": "6.4.0-beta.16",
|
||||
"@storybook/addon-backgrounds": "6.4.0-beta.16",
|
||||
"@storybook/addon-controls": "6.4.0-beta.16",
|
||||
"@storybook/addon-docs": "6.4.0-beta.16",
|
||||
"@storybook/addon-measure": "6.4.0-beta.16",
|
||||
"@storybook/addon-outline": "6.4.0-beta.16",
|
||||
"@storybook/addon-toolbars": "6.4.0-beta.16",
|
||||
"@storybook/addon-viewport": "6.4.0-beta.16",
|
||||
"@storybook/addons": "6.4.0-beta.16",
|
||||
"@storybook/api": "6.4.0-beta.16",
|
||||
"@storybook/node-logger": "6.4.0-beta.16",
|
||||
"core-js": "^3.8.2",
|
||||
"regenerator-runtime": "^0.13.7",
|
||||
"ts-dedent": "^2.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.12.10",
|
||||
"@storybook/vue": "6.4.0-beta.15",
|
||||
"@storybook/vue": "6.4.0-beta.16",
|
||||
"@types/jest": "^26.0.16",
|
||||
"@types/webpack-env": "^1.16.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.9.6",
|
||||
"@storybook/vue": "6.4.0-beta.15",
|
||||
"@storybook/web-components": "6.4.0-beta.15",
|
||||
"@storybook/vue": "6.4.0-beta.16",
|
||||
"@storybook/web-components": "6.4.0-beta.16",
|
||||
"babel-loader": "^8.0.0",
|
||||
"lit-html": "^1.4.1 || ^2.0.0-rc.3",
|
||||
"react": "^16.8.0 || ^17.0.0",
|
||||
@ -93,6 +93,6 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "f3bcbe0094355fe373d47570cdabc548b93b0b64",
|
||||
"gitHead": "51cd442b428ccbb626003da5cc4491e670a1f281",
|
||||
"sbmodern": "dist/modern/index.js"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-interactions",
|
||||
"version": "6.4.0-beta.15",
|
||||
"version": "6.4.0-beta.16",
|
||||
"description": "Automate, test and debug user interactions",
|
||||
"keywords": [
|
||||
"storybook-addons",
|
||||
@ -41,14 +41,14 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.4.0-beta.15",
|
||||
"@storybook/api": "6.4.0-beta.15",
|
||||
"@storybook/components": "6.4.0-beta.15",
|
||||
"@storybook/core-common": "6.4.0-beta.15",
|
||||
"@storybook/core-events": "6.4.0-beta.15",
|
||||
"@storybook/addons": "6.4.0-beta.16",
|
||||
"@storybook/api": "6.4.0-beta.16",
|
||||
"@storybook/components": "6.4.0-beta.16",
|
||||
"@storybook/core-common": "6.4.0-beta.16",
|
||||
"@storybook/core-events": "6.4.0-beta.16",
|
||||
"@storybook/csf": "0.0.2--canary.87bc651.0",
|
||||
"@storybook/instrumenter": "6.4.0-beta.15",
|
||||
"@storybook/theming": "6.4.0-beta.15",
|
||||
"@storybook/instrumenter": "6.4.0-beta.16",
|
||||
"@storybook/theming": "6.4.0-beta.16",
|
||||
"global": "^4.4.0",
|
||||
"jest-mock": "^27.0.6",
|
||||
"polished": "^4.0.5",
|
||||
@ -74,7 +74,7 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "f3bcbe0094355fe373d47570cdabc548b93b0b64",
|
||||
"gitHead": "51cd442b428ccbb626003da5cc4491e670a1f281",
|
||||
"sbmodern": "dist/modern/index.js",
|
||||
"storybook": {
|
||||
"displayName": "Interactions",
|
||||
|
@ -40,14 +40,14 @@ const RowLabel = styled('button', { shouldForwardProp: (prop) => !['call'].inclu
|
||||
textAlign: 'start',
|
||||
cursor: disabled || call.state === CallStates.ERROR ? 'default' : 'pointer',
|
||||
'&:hover': {
|
||||
background: theme.base === 'dark' ? transparentize(0.9, theme.color.secondary) : '#F3FAFF',
|
||||
background: theme.background.hoverable,
|
||||
},
|
||||
'&:focus-visible': {
|
||||
outline: 0,
|
||||
boxShadow: `inset 3px 0 0 0 ${
|
||||
call.state === CallStates.ERROR ? theme.color.warning : theme.color.secondary
|
||||
}`,
|
||||
background: call.state === CallStates.ERROR ? 'transparent' : '#F3FAFF',
|
||||
background: call.state === CallStates.ERROR ? 'transparent' : theme.background.hoverable,
|
||||
},
|
||||
'& > div': {
|
||||
opacity: call.state === CallStates.WAITING ? 0.5 : 1,
|
||||
|
@ -2,7 +2,6 @@ import React from 'react';
|
||||
import { Button, Icons, Separator, P, TooltipNote, WithTooltip, Bar } from '@storybook/components';
|
||||
import { Call, CallStates } from '@storybook/instrumenter';
|
||||
import { styled } from '@storybook/theming';
|
||||
import { transparentize } from 'polished';
|
||||
|
||||
import { StatusBadge } from '../StatusBadge/StatusBadge';
|
||||
|
||||
@ -52,7 +51,7 @@ export const StyledIconButton = styled(StyledButton)(({ theme }) => ({
|
||||
margin: '0 3px',
|
||||
'&:not(:disabled)': {
|
||||
'&:hover,&:focus-visible': {
|
||||
background: transparentize(0.9, theme.color.secondary),
|
||||
background: theme.background.hoverable,
|
||||
},
|
||||
},
|
||||
}));
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-jest",
|
||||
"version": "6.4.0-beta.15",
|
||||
"version": "6.4.0-beta.16",
|
||||
"description": "React storybook addon that show component jest report",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -47,11 +47,11 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.4.0-beta.15",
|
||||
"@storybook/api": "6.4.0-beta.15",
|
||||
"@storybook/components": "6.4.0-beta.15",
|
||||
"@storybook/core-events": "6.4.0-beta.15",
|
||||
"@storybook/theming": "6.4.0-beta.15",
|
||||
"@storybook/addons": "6.4.0-beta.16",
|
||||
"@storybook/api": "6.4.0-beta.16",
|
||||
"@storybook/components": "6.4.0-beta.16",
|
||||
"@storybook/core-events": "6.4.0-beta.16",
|
||||
"@storybook/theming": "6.4.0-beta.16",
|
||||
"core-js": "^3.8.2",
|
||||
"global": "^4.4.0",
|
||||
"react-sizeme": "^3.0.1",
|
||||
@ -76,7 +76,7 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "f3bcbe0094355fe373d47570cdabc548b93b0b64",
|
||||
"gitHead": "51cd442b428ccbb626003da5cc4491e670a1f281",
|
||||
"sbmodern": "dist/modern/index.js",
|
||||
"storybook": {
|
||||
"displayName": "Jest",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-links",
|
||||
"version": "6.4.0-beta.15",
|
||||
"version": "6.4.0-beta.16",
|
||||
"description": "Link stories together to build demos and prototypes with your UI components",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -41,11 +41,11 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.4.0-beta.15",
|
||||
"@storybook/client-logger": "6.4.0-beta.15",
|
||||
"@storybook/core-events": "6.4.0-beta.15",
|
||||
"@storybook/addons": "6.4.0-beta.16",
|
||||
"@storybook/client-logger": "6.4.0-beta.16",
|
||||
"@storybook/core-events": "6.4.0-beta.16",
|
||||
"@storybook/csf": "0.0.2--canary.87bc651.0",
|
||||
"@storybook/router": "6.4.0-beta.15",
|
||||
"@storybook/router": "6.4.0-beta.16",
|
||||
"@types/qs": "^6.9.5",
|
||||
"core-js": "^3.8.2",
|
||||
"global": "^4.4.0",
|
||||
@ -72,7 +72,7 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "f3bcbe0094355fe373d47570cdabc548b93b0b64",
|
||||
"gitHead": "51cd442b428ccbb626003da5cc4491e670a1f281",
|
||||
"sbmodern": "dist/modern/index.js",
|
||||
"storybook": {
|
||||
"displayName": "Links",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-measure",
|
||||
"version": "6.4.0-beta.15",
|
||||
"version": "6.4.0-beta.16",
|
||||
"description": "Inspect layouts by visualizing the box model",
|
||||
"keywords": [
|
||||
"storybook-addons",
|
||||
@ -44,11 +44,11 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.4.0-beta.15",
|
||||
"@storybook/api": "6.4.0-beta.15",
|
||||
"@storybook/client-logger": "6.4.0-beta.15",
|
||||
"@storybook/components": "6.4.0-beta.15",
|
||||
"@storybook/core-events": "6.4.0-beta.15",
|
||||
"@storybook/addons": "6.4.0-beta.16",
|
||||
"@storybook/api": "6.4.0-beta.16",
|
||||
"@storybook/client-logger": "6.4.0-beta.16",
|
||||
"@storybook/components": "6.4.0-beta.16",
|
||||
"@storybook/core-events": "6.4.0-beta.16",
|
||||
"@storybook/csf": "0.0.2--canary.87bc651.0",
|
||||
"core-js": "^3.8.2",
|
||||
"global": "^4.4.0"
|
||||
@ -71,7 +71,7 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "f3bcbe0094355fe373d47570cdabc548b93b0b64",
|
||||
"gitHead": "51cd442b428ccbb626003da5cc4491e670a1f281",
|
||||
"sbmodern": "dist/modern/index.js",
|
||||
"storybook": {
|
||||
"displayName": "Measure",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-outline",
|
||||
"version": "6.4.0-beta.15",
|
||||
"version": "6.4.0-beta.16",
|
||||
"description": "Outline all elements with CSS to help with layout placement and alignment",
|
||||
"keywords": [
|
||||
"storybook-addons",
|
||||
@ -47,11 +47,11 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.4.0-beta.15",
|
||||
"@storybook/api": "6.4.0-beta.15",
|
||||
"@storybook/client-logger": "6.4.0-beta.15",
|
||||
"@storybook/components": "6.4.0-beta.15",
|
||||
"@storybook/core-events": "6.4.0-beta.15",
|
||||
"@storybook/addons": "6.4.0-beta.16",
|
||||
"@storybook/api": "6.4.0-beta.16",
|
||||
"@storybook/client-logger": "6.4.0-beta.16",
|
||||
"@storybook/components": "6.4.0-beta.16",
|
||||
"@storybook/core-events": "6.4.0-beta.16",
|
||||
"@storybook/csf": "0.0.2--canary.87bc651.0",
|
||||
"core-js": "^3.8.2",
|
||||
"global": "^4.4.0",
|
||||
@ -76,7 +76,7 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "f3bcbe0094355fe373d47570cdabc548b93b0b64",
|
||||
"gitHead": "51cd442b428ccbb626003da5cc4491e670a1f281",
|
||||
"sbmodern": "dist/modern/index.js",
|
||||
"storybook": {
|
||||
"displayName": "Outline",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-storyshots",
|
||||
"version": "6.4.0-beta.15",
|
||||
"version": "6.4.0-beta.16",
|
||||
"description": "Take a code snapshot of every story automatically with Jest",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -45,11 +45,11 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@jest/transform": "^26.6.2",
|
||||
"@storybook/addons": "6.4.0-beta.15",
|
||||
"@storybook/client-api": "6.4.0-beta.15",
|
||||
"@storybook/core": "6.4.0-beta.15",
|
||||
"@storybook/core-client": "6.4.0-beta.15",
|
||||
"@storybook/core-common": "6.4.0-beta.15",
|
||||
"@storybook/addons": "6.4.0-beta.16",
|
||||
"@storybook/client-api": "6.4.0-beta.16",
|
||||
"@storybook/core": "6.4.0-beta.16",
|
||||
"@storybook/core-client": "6.4.0-beta.16",
|
||||
"@storybook/core-common": "6.4.0-beta.16",
|
||||
"@storybook/csf": "0.0.2--canary.87bc651.0",
|
||||
"@types/glob": "^7.1.3",
|
||||
"@types/jest": "^26.0.16",
|
||||
@ -69,11 +69,11 @@
|
||||
"devDependencies": {
|
||||
"@angular/core": "^11.2.0",
|
||||
"@angular/platform-browser-dynamic": "^11.2.0",
|
||||
"@storybook/addon-docs": "6.4.0-beta.15",
|
||||
"@storybook/angular": "6.4.0-beta.15",
|
||||
"@storybook/react": "6.4.0-beta.15",
|
||||
"@storybook/vue": "6.4.0-beta.15",
|
||||
"@storybook/vue3": "6.4.0-beta.15",
|
||||
"@storybook/addon-docs": "6.4.0-beta.16",
|
||||
"@storybook/angular": "6.4.0-beta.16",
|
||||
"@storybook/react": "6.4.0-beta.16",
|
||||
"@storybook/vue": "6.4.0-beta.16",
|
||||
"@storybook/vue3": "6.4.0-beta.16",
|
||||
"babel-loader": "^8.0.0",
|
||||
"enzyme": "^3.11.0",
|
||||
"enzyme-to-json": "^3.6.1",
|
||||
@ -151,7 +151,7 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "f3bcbe0094355fe373d47570cdabc548b93b0b64",
|
||||
"gitHead": "51cd442b428ccbb626003da5cc4491e670a1f281",
|
||||
"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.4.0-beta.15",
|
||||
"version": "6.4.0-beta.16",
|
||||
"description": "Image snapshots addition to StoryShots based on puppeteer",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -42,7 +42,7 @@
|
||||
"dependencies": {
|
||||
"@axe-core/puppeteer": "^4.2.0",
|
||||
"@storybook/csf": "0.0.2--canary.87bc651.0",
|
||||
"@storybook/node-logger": "6.4.0-beta.15",
|
||||
"@storybook/node-logger": "6.4.0-beta.16",
|
||||
"@types/jest-image-snapshot": "^4.1.3",
|
||||
"core-js": "^3.8.2",
|
||||
"jest-image-snapshot": "^4.3.0",
|
||||
@ -53,7 +53,7 @@
|
||||
"@types/puppeteer": "^5.4.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@storybook/addon-storyshots": "6.4.0-beta.15",
|
||||
"@storybook/addon-storyshots": "6.4.0-beta.16",
|
||||
"puppeteer": "^2.0.0 || ^3.0.0"
|
||||
},
|
||||
"peerDependenciesMeta": {
|
||||
@ -64,5 +64,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "f3bcbe0094355fe373d47570cdabc548b93b0b64"
|
||||
"gitHead": "51cd442b428ccbb626003da5cc4491e670a1f281"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-storysource",
|
||||
"version": "6.4.0-beta.15",
|
||||
"version": "6.4.0-beta.16",
|
||||
"description": "View a story’s source code to see how it works and paste into your app",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -41,13 +41,13 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.4.0-beta.15",
|
||||
"@storybook/api": "6.4.0-beta.15",
|
||||
"@storybook/client-logger": "6.4.0-beta.15",
|
||||
"@storybook/components": "6.4.0-beta.15",
|
||||
"@storybook/router": "6.4.0-beta.15",
|
||||
"@storybook/source-loader": "6.4.0-beta.15",
|
||||
"@storybook/theming": "6.4.0-beta.15",
|
||||
"@storybook/addons": "6.4.0-beta.16",
|
||||
"@storybook/api": "6.4.0-beta.16",
|
||||
"@storybook/client-logger": "6.4.0-beta.16",
|
||||
"@storybook/components": "6.4.0-beta.16",
|
||||
"@storybook/router": "6.4.0-beta.16",
|
||||
"@storybook/source-loader": "6.4.0-beta.16",
|
||||
"@storybook/theming": "6.4.0-beta.16",
|
||||
"core-js": "^3.8.2",
|
||||
"estraverse": "^5.2.0",
|
||||
"loader-utils": "^2.0.0",
|
||||
@ -75,7 +75,7 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "f3bcbe0094355fe373d47570cdabc548b93b0b64",
|
||||
"gitHead": "51cd442b428ccbb626003da5cc4491e670a1f281",
|
||||
"sbmodern": "dist/modern/index.js",
|
||||
"storybook": {
|
||||
"displayName": "Storysource",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-toolbars",
|
||||
"version": "6.4.0-beta.15",
|
||||
"version": "6.4.0-beta.16",
|
||||
"description": "Create your own toolbar items that control story rendering",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -45,10 +45,10 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.4.0-beta.15",
|
||||
"@storybook/api": "6.4.0-beta.15",
|
||||
"@storybook/components": "6.4.0-beta.15",
|
||||
"@storybook/theming": "6.4.0-beta.15",
|
||||
"@storybook/addons": "6.4.0-beta.16",
|
||||
"@storybook/api": "6.4.0-beta.16",
|
||||
"@storybook/components": "6.4.0-beta.16",
|
||||
"@storybook/theming": "6.4.0-beta.16",
|
||||
"core-js": "^3.8.2",
|
||||
"regenerator-runtime": "^0.13.7"
|
||||
},
|
||||
@ -67,7 +67,7 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "f3bcbe0094355fe373d47570cdabc548b93b0b64",
|
||||
"gitHead": "51cd442b428ccbb626003da5cc4491e670a1f281",
|
||||
"sbmodern": "dist/modern/register.js",
|
||||
"storybook": {
|
||||
"displayName": "Toolbars",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-viewport",
|
||||
"version": "6.4.0-beta.15",
|
||||
"version": "6.4.0-beta.16",
|
||||
"description": "Build responsive components by adjusting Storybook’s viewport size and orientation",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -42,12 +42,12 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.4.0-beta.15",
|
||||
"@storybook/api": "6.4.0-beta.15",
|
||||
"@storybook/client-logger": "6.4.0-beta.15",
|
||||
"@storybook/components": "6.4.0-beta.15",
|
||||
"@storybook/core-events": "6.4.0-beta.15",
|
||||
"@storybook/theming": "6.4.0-beta.15",
|
||||
"@storybook/addons": "6.4.0-beta.16",
|
||||
"@storybook/api": "6.4.0-beta.16",
|
||||
"@storybook/client-logger": "6.4.0-beta.16",
|
||||
"@storybook/components": "6.4.0-beta.16",
|
||||
"@storybook/core-events": "6.4.0-beta.16",
|
||||
"@storybook/theming": "6.4.0-beta.16",
|
||||
"core-js": "^3.8.2",
|
||||
"global": "^4.4.0",
|
||||
"memoizerific": "^1.11.3",
|
||||
@ -69,7 +69,7 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "f3bcbe0094355fe373d47570cdabc548b93b0b64",
|
||||
"gitHead": "51cd442b428ccbb626003da5cc4491e670a1f281",
|
||||
"sbmodern": "dist/modern/preview.js",
|
||||
"storybook": {
|
||||
"displayName": "Viewport",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/angular",
|
||||
"version": "6.4.0-beta.15",
|
||||
"version": "6.4.0-beta.16",
|
||||
"description": "Storybook for Angular: Develop Angular Components in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -45,14 +45,14 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.4.0-beta.15",
|
||||
"@storybook/api": "6.4.0-beta.15",
|
||||
"@storybook/core": "6.4.0-beta.15",
|
||||
"@storybook/core-common": "6.4.0-beta.15",
|
||||
"@storybook/core-events": "6.4.0-beta.15",
|
||||
"@storybook/addons": "6.4.0-beta.16",
|
||||
"@storybook/api": "6.4.0-beta.16",
|
||||
"@storybook/core": "6.4.0-beta.16",
|
||||
"@storybook/core-common": "6.4.0-beta.16",
|
||||
"@storybook/core-events": "6.4.0-beta.16",
|
||||
"@storybook/csf": "0.0.2--canary.87bc651.0",
|
||||
"@storybook/node-logger": "6.4.0-beta.15",
|
||||
"@storybook/store": "6.4.0-beta.15",
|
||||
"@storybook/node-logger": "6.4.0-beta.16",
|
||||
"@storybook/store": "6.4.0-beta.16",
|
||||
"@types/webpack-env": "^1.16.0",
|
||||
"autoprefixer": "^9.8.6",
|
||||
"core-js": "^3.8.2",
|
||||
@ -131,5 +131,5 @@
|
||||
"access": "public"
|
||||
},
|
||||
"builders": "dist/ts3.9/builders/builders.json",
|
||||
"gitHead": "f3bcbe0094355fe373d47570cdabc548b93b0b64"
|
||||
"gitHead": "51cd442b428ccbb626003da5cc4491e670a1f281"
|
||||
}
|
||||
|
8
app/angular/preset.js
vendored
8
app/angular/preset.js
vendored
@ -1,7 +1 @@
|
||||
function config(entry = []) {
|
||||
return [...entry, require.resolve('./dist/ts3.9/client/preview/config')];
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
config,
|
||||
};
|
||||
module.exports = require('./dist/ts3.9/server/preset');
|
||||
|
@ -4,9 +4,5 @@ import { LoadOptions } from '@storybook/core-common';
|
||||
export default {
|
||||
packageJson: sync({ cwd: __dirname }).packageJson,
|
||||
framework: 'angular',
|
||||
frameworkPresets: [
|
||||
require.resolve('./framework-preset-angular'),
|
||||
require.resolve('./framework-preset-angular-cli'),
|
||||
require.resolve('./framework-preset-angular-ivy'),
|
||||
],
|
||||
frameworkPresets: [require.resolve('./preset')],
|
||||
} as LoadOptions;
|
||||
|
12
app/angular/src/server/preset.ts
Normal file
12
app/angular/src/server/preset.ts
Normal file
@ -0,0 +1,12 @@
|
||||
import type { StorybookConfig } from '@storybook/core-common';
|
||||
|
||||
export const config: StorybookConfig['config'] = (entries = []) => [
|
||||
...entries,
|
||||
require.resolve('../client/preview/config'),
|
||||
];
|
||||
|
||||
export const addons: StorybookConfig['addons'] = [
|
||||
require.resolve('./framework-preset-angular'),
|
||||
require.resolve('./framework-preset-angular-cli'),
|
||||
require.resolve('./framework-preset-angular-ivy'),
|
||||
];
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/ember",
|
||||
"version": "6.4.0-beta.15",
|
||||
"version": "6.4.0-beta.16",
|
||||
"description": "Storybook for Ember: Develop Ember Component in isolation with Hot Reloading.",
|
||||
"homepage": "https://github.com/storybookjs/storybook/tree/main/app/ember",
|
||||
"bugs": {
|
||||
@ -43,9 +43,9 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@ember/test-helpers": "^2.1.4",
|
||||
"@storybook/core": "6.4.0-beta.15",
|
||||
"@storybook/core-common": "6.4.0-beta.15",
|
||||
"@storybook/store": "6.4.0-beta.15",
|
||||
"@storybook/core": "6.4.0-beta.16",
|
||||
"@storybook/core-common": "6.4.0-beta.16",
|
||||
"@storybook/store": "6.4.0-beta.16",
|
||||
"core-js": "^3.8.2",
|
||||
"global": "^4.4.0",
|
||||
"react": "16.14.0",
|
||||
@ -66,6 +66,6 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "f3bcbe0094355fe373d47570cdabc548b93b0b64",
|
||||
"gitHead": "51cd442b428ccbb626003da5cc4491e670a1f281",
|
||||
"sbmodern": "dist/modern/client/index.js"
|
||||
}
|
||||
|
@ -1,7 +1 @@
|
||||
function config(entry = []) {
|
||||
return [...entry, require.resolve('./dist/esm/client/preview/config')];
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
config,
|
||||
};
|
||||
module.exports = require('./dist/cjs/server/framework-preset-babel-ember');
|
||||
|
@ -1,5 +1,6 @@
|
||||
import { TransformOptions } from '@babel/core';
|
||||
import { precompile } from 'ember-source/dist/ember-template-compiler';
|
||||
import { findDistEsm, StorybookConfig } from '@storybook/core-common';
|
||||
|
||||
let emberOptions: any;
|
||||
|
||||
@ -45,3 +46,7 @@ export function babel(config: TransformOptions, options: any) {
|
||||
plugins: [].concat(babelConfigPlugins, extraPlugins),
|
||||
};
|
||||
}
|
||||
|
||||
export const config: StorybookConfig['config'] = (entry = []) => {
|
||||
return [...entry, findDistEsm(__dirname, 'client/preview/config')];
|
||||
};
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/html",
|
||||
"version": "6.4.0-beta.15",
|
||||
"version": "6.4.0-beta.16",
|
||||
"description": "Storybook for HTML: View HTML snippets in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -45,13 +45,13 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.4.0-beta.15",
|
||||
"@storybook/client-api": "6.4.0-beta.15",
|
||||
"@storybook/core": "6.4.0-beta.15",
|
||||
"@storybook/core-common": "6.4.0-beta.15",
|
||||
"@storybook/addons": "6.4.0-beta.16",
|
||||
"@storybook/client-api": "6.4.0-beta.16",
|
||||
"@storybook/core": "6.4.0-beta.16",
|
||||
"@storybook/core-common": "6.4.0-beta.16",
|
||||
"@storybook/csf": "0.0.2--canary.87bc651.0",
|
||||
"@storybook/preview-web": "6.4.0-beta.15",
|
||||
"@storybook/store": "6.4.0-beta.15",
|
||||
"@storybook/preview-web": "6.4.0-beta.16",
|
||||
"@storybook/store": "6.4.0-beta.16",
|
||||
"@types/webpack-env": "^1.16.0",
|
||||
"core-js": "^3.8.2",
|
||||
"global": "^4.4.0",
|
||||
@ -71,6 +71,6 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "f3bcbe0094355fe373d47570cdabc548b93b0b64",
|
||||
"gitHead": "51cd442b428ccbb626003da5cc4491e670a1f281",
|
||||
"sbmodern": "dist/modern/client/index.js"
|
||||
}
|
||||
|
@ -1,7 +1 @@
|
||||
function config(entry = []) {
|
||||
return [...entry, require.resolve('./dist/esm/client/preview/config')];
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
config,
|
||||
};
|
||||
module.exports = require('./dist/cjs/server/framework-preset-html');
|
||||
|
@ -1,5 +1,6 @@
|
||||
// eslint-disable-next-line import/no-extraneous-dependencies
|
||||
import { Configuration } from 'webpack';
|
||||
import { findDistEsm, StorybookConfig } from '@storybook/core-common';
|
||||
|
||||
export function webpack(config: Configuration) {
|
||||
config.module.rules.push({
|
||||
@ -9,3 +10,7 @@ export function webpack(config: Configuration) {
|
||||
|
||||
return config;
|
||||
}
|
||||
|
||||
export const config: StorybookConfig['config'] = (entry = []) => {
|
||||
return [...entry, findDistEsm(__dirname, 'client/preview/config')];
|
||||
};
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/preact",
|
||||
"version": "6.4.0-beta.15",
|
||||
"version": "6.4.0-beta.16",
|
||||
"description": "Storybook for Preact: Develop Preact Component in isolation.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -46,11 +46,11 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/plugin-transform-react-jsx": "^7.12.12",
|
||||
"@storybook/addons": "6.4.0-beta.15",
|
||||
"@storybook/core": "6.4.0-beta.15",
|
||||
"@storybook/core-common": "6.4.0-beta.15",
|
||||
"@storybook/addons": "6.4.0-beta.16",
|
||||
"@storybook/core": "6.4.0-beta.16",
|
||||
"@storybook/core-common": "6.4.0-beta.16",
|
||||
"@storybook/csf": "0.0.2--canary.87bc651.0",
|
||||
"@storybook/store": "6.4.0-beta.15",
|
||||
"@storybook/store": "6.4.0-beta.16",
|
||||
"@types/webpack-env": "^1.16.0",
|
||||
"core-js": "^3.8.2",
|
||||
"global": "^4.4.0",
|
||||
@ -74,6 +74,6 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "f3bcbe0094355fe373d47570cdabc548b93b0b64",
|
||||
"gitHead": "51cd442b428ccbb626003da5cc4491e670a1f281",
|
||||
"sbmodern": "dist/modern/client/index.js"
|
||||
}
|
||||
|
@ -1,7 +1 @@
|
||||
function config(entry = []) {
|
||||
return [...entry, require.resolve('./dist/esm/client/preview/config')];
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
config,
|
||||
};
|
||||
module.exports = require('./dist/cjs/server/framework-preset-babel-preact');
|
||||
|
@ -1,6 +1,7 @@
|
||||
import path from 'path';
|
||||
import { TransformOptions } from '@babel/core';
|
||||
import { Configuration } from 'webpack';
|
||||
import { findDistEsm, StorybookConfig } from '@storybook/core-common';
|
||||
|
||||
export function babelDefault(config: TransformOptions) {
|
||||
return {
|
||||
@ -26,3 +27,7 @@ export function webpackFinal(config: Configuration) {
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
export const config: StorybookConfig['config'] = (entry = []) => {
|
||||
return [...entry, findDistEsm(__dirname, 'client/preview/config')];
|
||||
};
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/react",
|
||||
"version": "6.4.0-beta.15",
|
||||
"version": "6.4.0-beta.16",
|
||||
"description": "Storybook for React: Develop React Component in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -49,14 +49,14 @@
|
||||
"@babel/preset-flow": "^7.12.1",
|
||||
"@babel/preset-react": "^7.12.10",
|
||||
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.1",
|
||||
"@storybook/addons": "6.4.0-beta.15",
|
||||
"@storybook/core": "6.4.0-beta.15",
|
||||
"@storybook/core-common": "6.4.0-beta.15",
|
||||
"@storybook/addons": "6.4.0-beta.16",
|
||||
"@storybook/core": "6.4.0-beta.16",
|
||||
"@storybook/core-common": "6.4.0-beta.16",
|
||||
"@storybook/csf": "0.0.2--canary.87bc651.0",
|
||||
"@storybook/node-logger": "6.4.0-beta.15",
|
||||
"@storybook/node-logger": "6.4.0-beta.16",
|
||||
"@storybook/react-docgen-typescript-plugin": "1.0.2-canary.253f8c1.0",
|
||||
"@storybook/semver": "^7.3.2",
|
||||
"@storybook/store": "6.4.0-beta.15",
|
||||
"@storybook/store": "6.4.0-beta.16",
|
||||
"@types/webpack-env": "^1.16.0",
|
||||
"babel-plugin-add-react-displayname": "^0.0.5",
|
||||
"babel-plugin-named-asset-import": "^0.3.1",
|
||||
@ -73,7 +73,7 @@
|
||||
"webpack": "4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/client-api": "6.4.0-beta.15",
|
||||
"@storybook/client-api": "6.4.0-beta.16",
|
||||
"@types/node": "^14.14.20",
|
||||
"@types/prompts": "^2.0.9"
|
||||
},
|
||||
@ -96,6 +96,6 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "f3bcbe0094355fe373d47570cdabc548b93b0b64",
|
||||
"gitHead": "51cd442b428ccbb626003da5cc4491e670a1f281",
|
||||
"sbmodern": "dist/modern/client/index.js"
|
||||
}
|
||||
|
@ -1,7 +1 @@
|
||||
function config(entry = []) {
|
||||
return [...entry, require.resolve('./dist/esm/client/preview/config')];
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
config,
|
||||
};
|
||||
module.exports = require('./dist/cjs/server/preset');
|
||||
|
@ -4,9 +4,5 @@ import { LoadOptions } from '@storybook/core-common';
|
||||
export default {
|
||||
packageJson: sync({ cwd: __dirname }).packageJson,
|
||||
framework: 'react',
|
||||
frameworkPresets: [
|
||||
require.resolve('./framework-preset-react'),
|
||||
require.resolve('./framework-preset-cra'),
|
||||
require.resolve('./framework-preset-react-docgen'),
|
||||
],
|
||||
frameworkPresets: [require.resolve('./preset')],
|
||||
} as LoadOptions;
|
||||
|
12
app/react/src/server/preset.ts
Normal file
12
app/react/src/server/preset.ts
Normal file
@ -0,0 +1,12 @@
|
||||
import { findDistEsm, StorybookConfig } from '@storybook/core-common';
|
||||
|
||||
export const config: StorybookConfig['config'] = (entries = []) => [
|
||||
...entries,
|
||||
findDistEsm(__dirname, 'client/preview/config'),
|
||||
];
|
||||
|
||||
export const addons: StorybookConfig['addons'] = [
|
||||
require.resolve('./framework-preset-react'),
|
||||
require.resolve('./framework-preset-cra'),
|
||||
require.resolve('./framework-preset-react-docgen'),
|
||||
];
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/server",
|
||||
"version": "6.4.0-beta.15",
|
||||
"version": "6.4.0-beta.16",
|
||||
"description": "Storybook for Server: View HTML snippets from a server in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -45,15 +45,15 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.4.0-beta.15",
|
||||
"@storybook/api": "6.4.0-beta.15",
|
||||
"@storybook/client-api": "6.4.0-beta.15",
|
||||
"@storybook/core": "6.4.0-beta.15",
|
||||
"@storybook/core-common": "6.4.0-beta.15",
|
||||
"@storybook/addons": "6.4.0-beta.16",
|
||||
"@storybook/api": "6.4.0-beta.16",
|
||||
"@storybook/client-api": "6.4.0-beta.16",
|
||||
"@storybook/core": "6.4.0-beta.16",
|
||||
"@storybook/core-common": "6.4.0-beta.16",
|
||||
"@storybook/csf": "0.0.2--canary.87bc651.0",
|
||||
"@storybook/node-logger": "6.4.0-beta.15",
|
||||
"@storybook/preview-web": "6.4.0-beta.15",
|
||||
"@storybook/store": "6.4.0-beta.15",
|
||||
"@storybook/node-logger": "6.4.0-beta.16",
|
||||
"@storybook/preview-web": "6.4.0-beta.16",
|
||||
"@storybook/store": "6.4.0-beta.16",
|
||||
"@types/webpack-env": "^1.16.0",
|
||||
"core-js": "^3.8.2",
|
||||
"global": "^4.4.0",
|
||||
@ -75,6 +75,6 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "f3bcbe0094355fe373d47570cdabc548b93b0b64",
|
||||
"gitHead": "51cd442b428ccbb626003da5cc4491e670a1f281",
|
||||
"sbmodern": "dist/modern/client/index.js"
|
||||
}
|
||||
|
@ -1,7 +1 @@
|
||||
function config(entry = []) {
|
||||
return [...entry, require.resolve('./dist/esm/client/preview/config')];
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
config,
|
||||
};
|
||||
module.exports = require('./dist/cjs/server/framework-preset-server');
|
||||
|
@ -1,6 +1,7 @@
|
||||
// eslint-disable-next-line import/no-extraneous-dependencies
|
||||
import { Configuration } from 'webpack';
|
||||
import path from 'path';
|
||||
import { findDistEsm, StorybookConfig } from '@storybook/core-common';
|
||||
|
||||
export function webpack(config: Configuration) {
|
||||
config.module.rules.push({
|
||||
@ -17,3 +18,7 @@ export function webpack(config: Configuration) {
|
||||
|
||||
return config;
|
||||
}
|
||||
|
||||
export const config: StorybookConfig['config'] = (entry = []) => {
|
||||
return [...entry, findDistEsm(__dirname, 'client/preview/config')];
|
||||
};
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/svelte",
|
||||
"version": "6.4.0-beta.15",
|
||||
"version": "6.4.0-beta.16",
|
||||
"description": "Storybook for Svelte: Develop Svelte Component in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -45,11 +45,11 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.4.0-beta.15",
|
||||
"@storybook/core": "6.4.0-beta.15",
|
||||
"@storybook/core-common": "6.4.0-beta.15",
|
||||
"@storybook/addons": "6.4.0-beta.16",
|
||||
"@storybook/core": "6.4.0-beta.16",
|
||||
"@storybook/core-common": "6.4.0-beta.16",
|
||||
"@storybook/csf": "0.0.2--canary.87bc651.0",
|
||||
"@storybook/store": "6.4.0-beta.15",
|
||||
"@storybook/store": "6.4.0-beta.16",
|
||||
"core-js": "^3.8.2",
|
||||
"global": "^4.4.0",
|
||||
"react": "16.14.0",
|
||||
@ -75,6 +75,6 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "f3bcbe0094355fe373d47570cdabc548b93b0b64",
|
||||
"gitHead": "51cd442b428ccbb626003da5cc4491e670a1f281",
|
||||
"sbmodern": "dist/modern/client/index.js"
|
||||
}
|
||||
|
@ -1,7 +1 @@
|
||||
function config(entry = []) {
|
||||
return [...entry, require.resolve('./dist/esm/client/preview/config')];
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
config,
|
||||
};
|
||||
module.exports = require('./dist/cjs/server/framework-preset-svelte');
|
||||
|
@ -1,6 +1,6 @@
|
||||
// eslint-disable-next-line import/no-extraneous-dependencies
|
||||
import { Configuration } from 'webpack';
|
||||
import type { Options } from '@storybook/core-common';
|
||||
import { findDistEsm, Options, StorybookConfig } from '@storybook/core-common';
|
||||
|
||||
export async function webpack(config: Configuration, options: Options): Promise<Configuration> {
|
||||
const { preprocess = undefined, loader = {} } = await options.presets.apply(
|
||||
@ -32,3 +32,7 @@ export async function webpack(config: Configuration, options: Options): Promise<
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
export const config: StorybookConfig['config'] = (entry = []) => {
|
||||
return [...entry, findDistEsm(__dirname, 'client/preview/config')];
|
||||
};
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/vue",
|
||||
"version": "6.4.0-beta.15",
|
||||
"version": "6.4.0-beta.16",
|
||||
"description": "Storybook for Vue: Develop Vue Component in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -45,11 +45,11 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.4.0-beta.15",
|
||||
"@storybook/core": "6.4.0-beta.15",
|
||||
"@storybook/core-common": "6.4.0-beta.15",
|
||||
"@storybook/addons": "6.4.0-beta.16",
|
||||
"@storybook/core": "6.4.0-beta.16",
|
||||
"@storybook/core-common": "6.4.0-beta.16",
|
||||
"@storybook/csf": "0.0.2--canary.87bc651.0",
|
||||
"@storybook/store": "6.4.0-beta.15",
|
||||
"@storybook/store": "6.4.0-beta.16",
|
||||
"@types/webpack-env": "^1.16.0",
|
||||
"core-js": "^3.8.2",
|
||||
"global": "^4.4.0",
|
||||
@ -83,6 +83,6 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "f3bcbe0094355fe373d47570cdabc548b93b0b64",
|
||||
"gitHead": "51cd442b428ccbb626003da5cc4491e670a1f281",
|
||||
"sbmodern": "dist/modern/client/index.js"
|
||||
}
|
||||
|
@ -1,7 +1 @@
|
||||
function config(entry = []) {
|
||||
return [...entry, require.resolve('./dist/esm/client/preview/config')];
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
config,
|
||||
};
|
||||
module.exports = require('./dist/cjs/server/framework-preset-babel-vue');
|
||||
|
@ -2,7 +2,7 @@
|
||||
import VueLoaderPlugin from 'vue-loader/lib/plugin';
|
||||
import type { Configuration } from 'webpack';
|
||||
|
||||
import type { Options, TypescriptConfig } from '@storybook/core-common';
|
||||
import { findDistEsm, Options, TypescriptConfig, StorybookConfig } from '@storybook/core-common';
|
||||
|
||||
export async function webpack(config: Configuration, { presets }: Options) {
|
||||
const typescriptOptions = await presets.apply<TypescriptConfig>('typescript', {} as any);
|
||||
@ -43,3 +43,7 @@ export async function webpack(config: Configuration, { presets }: Options) {
|
||||
|
||||
return config;
|
||||
}
|
||||
|
||||
export const config: StorybookConfig['config'] = (entry = []) => {
|
||||
return [...entry, findDistEsm(__dirname, 'client/preview/config')];
|
||||
};
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/vue3",
|
||||
"version": "6.4.0-beta.15",
|
||||
"version": "6.4.0-beta.16",
|
||||
"description": "Storybook for Vue 3: Develop Vue 3 Components in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -45,11 +45,11 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.4.0-beta.15",
|
||||
"@storybook/core": "6.4.0-beta.15",
|
||||
"@storybook/core-common": "6.4.0-beta.15",
|
||||
"@storybook/addons": "6.4.0-beta.16",
|
||||
"@storybook/core": "6.4.0-beta.16",
|
||||
"@storybook/core-common": "6.4.0-beta.16",
|
||||
"@storybook/csf": "0.0.2--canary.87bc651.0",
|
||||
"@storybook/store": "6.4.0-beta.15",
|
||||
"@storybook/store": "6.4.0-beta.16",
|
||||
"@types/webpack-env": "^1.16.0",
|
||||
"core-js": "^3.8.2",
|
||||
"global": "^4.4.0",
|
||||
@ -81,6 +81,6 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "f3bcbe0094355fe373d47570cdabc548b93b0b64",
|
||||
"gitHead": "51cd442b428ccbb626003da5cc4491e670a1f281",
|
||||
"sbmodern": "dist/modern/client/index.js"
|
||||
}
|
||||
|
@ -1,7 +1 @@
|
||||
function config(entry = []) {
|
||||
return [...entry, require.resolve('./dist/esm/client/preview/config')];
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
config,
|
||||
};
|
||||
module.exports = require('./dist/cjs/server/framework-preset-vue3');
|
||||
|
@ -1,5 +1,6 @@
|
||||
import { VueLoaderPlugin } from 'vue-loader';
|
||||
import { Configuration, DefinePlugin } from 'webpack';
|
||||
import { findDistEsm, StorybookConfig } from '@storybook/core-common';
|
||||
|
||||
export function webpack(config: Configuration): Configuration {
|
||||
return {
|
||||
@ -45,3 +46,7 @@ export function webpack(config: Configuration): Configuration {
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
export const config: StorybookConfig['config'] = (entry = []) => {
|
||||
return [...entry, findDistEsm(__dirname, 'client/preview/config')];
|
||||
};
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/web-components",
|
||||
"version": "6.4.0-beta.15",
|
||||
"version": "6.4.0-beta.16",
|
||||
"description": "Storybook for web-components: View web components snippets in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"lit-html",
|
||||
@ -50,13 +50,13 @@
|
||||
"@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.4.0-beta.15",
|
||||
"@storybook/client-api": "6.4.0-beta.15",
|
||||
"@storybook/core": "6.4.0-beta.15",
|
||||
"@storybook/core-common": "6.4.0-beta.15",
|
||||
"@storybook/addons": "6.4.0-beta.16",
|
||||
"@storybook/client-api": "6.4.0-beta.16",
|
||||
"@storybook/core": "6.4.0-beta.16",
|
||||
"@storybook/core-common": "6.4.0-beta.16",
|
||||
"@storybook/csf": "0.0.2--canary.87bc651.0",
|
||||
"@storybook/preview-web": "6.4.0-beta.15",
|
||||
"@storybook/store": "6.4.0-beta.15",
|
||||
"@storybook/preview-web": "6.4.0-beta.16",
|
||||
"@storybook/store": "6.4.0-beta.16",
|
||||
"@types/webpack-env": "^1.16.0",
|
||||
"babel-plugin-bundled-import-meta": "^0.3.1",
|
||||
"core-js": "^3.8.2",
|
||||
@ -79,6 +79,6 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "f3bcbe0094355fe373d47570cdabc548b93b0b64",
|
||||
"gitHead": "51cd442b428ccbb626003da5cc4491e670a1f281",
|
||||
"sbmodern": "dist/modern/client/index.js"
|
||||
}
|
||||
|
@ -1,7 +1 @@
|
||||
function config(entry = []) {
|
||||
return [...entry, require.resolve('./dist/esm/client/preview/config')];
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
config,
|
||||
};
|
||||
module.exports = require('./dist/cjs/server/framework-preset-web-components');
|
||||
|
@ -1,6 +1,6 @@
|
||||
// eslint-disable-next-line import/no-extraneous-dependencies
|
||||
import { Configuration } from 'webpack';
|
||||
import type { Options } from '@storybook/core-common';
|
||||
import { findDistEsm, Options, StorybookConfig } from '@storybook/core-common';
|
||||
|
||||
export function webpack(config: Configuration, options: Options) {
|
||||
const babelrcOptions = options.features?.babelModeV7 ? null : { babelrc: false };
|
||||
@ -39,3 +39,7 @@ export function webpack(config: Configuration, options: Options) {
|
||||
|
||||
return config;
|
||||
}
|
||||
|
||||
export const config: StorybookConfig['config'] = (entry = []) => {
|
||||
return [...entry, findDistEsm(__dirname, 'client/preview/config')];
|
||||
};
|
||||
|
@ -40,10 +40,14 @@ You can import `.json` files and have them expanded to a JavaScript object:
|
||||
|
||||
<!-- prettier-ignore-end -->
|
||||
|
||||
If you want to know the exact details of the webpack config, the best way is to run:
|
||||
If you want to know the exact details of the webpack config, the best way is to run either of the following:
|
||||
|
||||
```shell
|
||||
yarn storybook --debug-webpack
|
||||
yarn start-storybook --debug-webpack
|
||||
```
|
||||
|
||||
```shell
|
||||
yarn build-storybook --debug-webpack
|
||||
```
|
||||
|
||||
### Extending Storybook’s webpack config
|
||||
@ -123,4 +127,4 @@ When working with TypeScript projects the default Webpack configuration may fail
|
||||
|
||||
<div class="aside">
|
||||
💡 Learn more about Storybook's <a href="./typescript">built-in TypeScript support</a> or see <a href="https://github.com/storybookjs/storybook/issues/14087">this issue</a> for more information.
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1 +1 @@
|
||||
{"version":"6.4.0-beta.15","info":{"plain":"### Features\n\n- Core: Add `framework` field support to main.js ([#16393](https://github.com/storybookjs/storybook/pull/16393))\n\n### Bug Fixes\n\n- Addon-docs: Spread all the old docs context fields ([#16399](https://github.com/storybookjs/storybook/pull/16399))\n- Core: Reverse checking of promise so it's OK if we get it wrong ([#16396](https://github.com/storybookjs/storybook/pull/16396))\n\n### Maintenance\n\n- Addon-interactions: Update interaction hover icon ([#16388](https://github.com/storybookjs/storybook/pull/16388))\n- Core: Refactor story store to be simpler when getting the index ([#16397](https://github.com/storybookjs/storybook/pull/16397))"}}
|
||||
{"version":"6.4.0-beta.16","info":{"plain":"### Bug Fixes\n\n- Core: Consolidate framework presets ([#16417](https://github.com/storybookjs/storybook/pull/16417))\n- Addon-a11y: Fix to use `loadStory` over deprecated `fromId` ([#16398](https://github.com/storybookjs/storybook/pull/16398))\n- Core: Restore `queryparams` exports in `client-api` ([#16414](https://github.com/storybookjs/storybook/pull/16414))\n\n### Maintenance\n\n- Core: Minor cleanup of `PreviewWeb` ([#16418](https://github.com/storybookjs/storybook/pull/16418))\n\n### Dependency Upgrades\n\n- Update `react-element-to-jsx-string` package ([#16407](https://github.com/storybookjs/storybook/pull/16407))"}}
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "angular-cli",
|
||||
"version": "6.4.0-beta.15",
|
||||
"version": "6.4.0-beta.16",
|
||||
"private": true,
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
@ -39,20 +39,20 @@
|
||||
"@angular/compiler-cli": "^11.2.14",
|
||||
"@angular/elements": "^11.2.14",
|
||||
"@compodoc/compodoc": "^1.1.14",
|
||||
"@storybook/addon-a11y": "6.4.0-beta.15",
|
||||
"@storybook/addon-actions": "6.4.0-beta.15",
|
||||
"@storybook/addon-backgrounds": "6.4.0-beta.15",
|
||||
"@storybook/addon-controls": "6.4.0-beta.15",
|
||||
"@storybook/addon-docs": "6.4.0-beta.15",
|
||||
"@storybook/addon-interactions": "6.4.0-beta.15",
|
||||
"@storybook/addon-jest": "6.4.0-beta.15",
|
||||
"@storybook/addon-links": "6.4.0-beta.15",
|
||||
"@storybook/addon-storyshots": "6.4.0-beta.15",
|
||||
"@storybook/addon-storysource": "6.4.0-beta.15",
|
||||
"@storybook/addons": "6.4.0-beta.15",
|
||||
"@storybook/angular": "6.4.0-beta.15",
|
||||
"@storybook/addon-a11y": "6.4.0-beta.16",
|
||||
"@storybook/addon-actions": "6.4.0-beta.16",
|
||||
"@storybook/addon-backgrounds": "6.4.0-beta.16",
|
||||
"@storybook/addon-controls": "6.4.0-beta.16",
|
||||
"@storybook/addon-docs": "6.4.0-beta.16",
|
||||
"@storybook/addon-interactions": "6.4.0-beta.16",
|
||||
"@storybook/addon-jest": "6.4.0-beta.16",
|
||||
"@storybook/addon-links": "6.4.0-beta.16",
|
||||
"@storybook/addon-storyshots": "6.4.0-beta.16",
|
||||
"@storybook/addon-storysource": "6.4.0-beta.16",
|
||||
"@storybook/addons": "6.4.0-beta.16",
|
||||
"@storybook/angular": "6.4.0-beta.16",
|
||||
"@storybook/jest": "0.0.0-alpha.5",
|
||||
"@storybook/source-loader": "6.4.0-beta.15",
|
||||
"@storybook/source-loader": "6.4.0-beta.16",
|
||||
"@storybook/testing-library": "0.0.0-alpha.3",
|
||||
"@types/core-js": "^2.5.4",
|
||||
"@types/jest": "^26.0.16",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "cra-kitchen-sink",
|
||||
"version": "6.4.0-beta.15",
|
||||
"version": "6.4.0-beta.16",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "react-scripts build",
|
||||
@ -11,7 +11,7 @@
|
||||
"test": "react-scripts test --env=jsdom"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/client-logger": "6.4.0-beta.15",
|
||||
"@storybook/client-logger": "6.4.0-beta.16",
|
||||
"global": "^4.4.0",
|
||||
"prop-types": "^15.7.2",
|
||||
"react": "16.14.0",
|
||||
@ -21,19 +21,19 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@pmmmwh/react-refresh-webpack-plugin": "^0.4.3",
|
||||
"@storybook/addon-a11y": "6.4.0-beta.15",
|
||||
"@storybook/addon-actions": "6.4.0-beta.15",
|
||||
"@storybook/addon-backgrounds": "6.4.0-beta.15",
|
||||
"@storybook/addon-docs": "6.4.0-beta.15",
|
||||
"@storybook/addon-a11y": "6.4.0-beta.16",
|
||||
"@storybook/addon-actions": "6.4.0-beta.16",
|
||||
"@storybook/addon-backgrounds": "6.4.0-beta.16",
|
||||
"@storybook/addon-docs": "6.4.0-beta.16",
|
||||
"@storybook/addon-ie11": "0.0.7--canary.5e87b64.0",
|
||||
"@storybook/addon-jest": "6.4.0-beta.15",
|
||||
"@storybook/addon-links": "6.4.0-beta.15",
|
||||
"@storybook/addon-storyshots": "6.4.0-beta.15",
|
||||
"@storybook/addons": "6.4.0-beta.15",
|
||||
"@storybook/builder-webpack4": "6.4.0-beta.15",
|
||||
"@storybook/addon-jest": "6.4.0-beta.16",
|
||||
"@storybook/addon-links": "6.4.0-beta.16",
|
||||
"@storybook/addon-storyshots": "6.4.0-beta.16",
|
||||
"@storybook/addons": "6.4.0-beta.16",
|
||||
"@storybook/builder-webpack4": "6.4.0-beta.16",
|
||||
"@storybook/preset-create-react-app": "^3.1.6",
|
||||
"@storybook/react": "6.4.0-beta.15",
|
||||
"@storybook/theming": "6.4.0-beta.15",
|
||||
"@storybook/react": "6.4.0-beta.16",
|
||||
"@storybook/theming": "6.4.0-beta.16",
|
||||
"webpack": "4"
|
||||
},
|
||||
"storybook": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "cra-react15",
|
||||
"version": "6.4.0-beta.15",
|
||||
"version": "6.4.0-beta.16",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "react-scripts build",
|
||||
@ -19,14 +19,14 @@
|
||||
"react-scripts": "3.4.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-actions": "6.4.0-beta.15",
|
||||
"@storybook/addon-actions": "6.4.0-beta.16",
|
||||
"@storybook/addon-ie11": "0.0.7--canary.5e87b64.0",
|
||||
"@storybook/addon-links": "6.4.0-beta.15",
|
||||
"@storybook/addons": "6.4.0-beta.15",
|
||||
"@storybook/builder-webpack4": "6.4.0-beta.15",
|
||||
"@storybook/addon-links": "6.4.0-beta.16",
|
||||
"@storybook/addons": "6.4.0-beta.16",
|
||||
"@storybook/builder-webpack4": "6.4.0-beta.16",
|
||||
"@storybook/preset-create-react-app": "^3.1.6",
|
||||
"@storybook/react": "6.4.0-beta.15",
|
||||
"@storybook/theming": "6.4.0-beta.15",
|
||||
"@storybook/react": "6.4.0-beta.16",
|
||||
"@storybook/theming": "6.4.0-beta.16",
|
||||
"babel-core": "6",
|
||||
"babel-runtime": "6",
|
||||
"webpack": "4"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "cra-ts-essentials",
|
||||
"version": "6.4.0-beta.15",
|
||||
"version": "6.4.0-beta.16",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "react-scripts build",
|
||||
@ -34,12 +34,12 @@
|
||||
"typescript": "^3.9.7"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-essentials": "6.4.0-beta.15",
|
||||
"@storybook/addon-essentials": "6.4.0-beta.16",
|
||||
"@storybook/addon-ie11": "0.0.7--canary.5e87b64.0",
|
||||
"@storybook/addons": "6.4.0-beta.15",
|
||||
"@storybook/builder-webpack4": "6.4.0-beta.15",
|
||||
"@storybook/addons": "6.4.0-beta.16",
|
||||
"@storybook/builder-webpack4": "6.4.0-beta.16",
|
||||
"@storybook/preset-create-react-app": "^3.1.6",
|
||||
"@storybook/react": "6.4.0-beta.15",
|
||||
"@storybook/react": "6.4.0-beta.16",
|
||||
"webpack": "4"
|
||||
},
|
||||
"storybook": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "cra-ts-kitchen-sink",
|
||||
"version": "6.4.0-beta.15",
|
||||
"version": "6.4.0-beta.16",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "react-scripts build",
|
||||
@ -34,15 +34,15 @@
|
||||
"typescript": "^3.9.7"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-a11y": "6.4.0-beta.15",
|
||||
"@storybook/addon-actions": "6.4.0-beta.15",
|
||||
"@storybook/addon-docs": "6.4.0-beta.15",
|
||||
"@storybook/addon-a11y": "6.4.0-beta.16",
|
||||
"@storybook/addon-actions": "6.4.0-beta.16",
|
||||
"@storybook/addon-docs": "6.4.0-beta.16",
|
||||
"@storybook/addon-ie11": "0.0.7--canary.5e87b64.0",
|
||||
"@storybook/addon-links": "6.4.0-beta.15",
|
||||
"@storybook/addons": "6.4.0-beta.15",
|
||||
"@storybook/builder-webpack4": "6.4.0-beta.15",
|
||||
"@storybook/addon-links": "6.4.0-beta.16",
|
||||
"@storybook/addons": "6.4.0-beta.16",
|
||||
"@storybook/builder-webpack4": "6.4.0-beta.16",
|
||||
"@storybook/preset-create-react-app": "^3.1.6",
|
||||
"@storybook/react": "6.4.0-beta.15",
|
||||
"@storybook/react": "6.4.0-beta.16",
|
||||
"@types/enzyme": "^3.10.8",
|
||||
"enzyme": "^3.11.0",
|
||||
"enzyme-adapter-react-16": "^1.9.1",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ember-example",
|
||||
"version": "6.4.0-beta.15",
|
||||
"version": "6.4.0-beta.16",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "ember build --output-path ember-output",
|
||||
@ -17,18 +17,18 @@
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.12.10",
|
||||
"@ember/optional-features": "^2.0.0",
|
||||
"@storybook/addon-a11y": "6.4.0-beta.15",
|
||||
"@storybook/addon-actions": "6.4.0-beta.15",
|
||||
"@storybook/addon-backgrounds": "6.4.0-beta.15",
|
||||
"@storybook/addon-controls": "6.4.0-beta.15",
|
||||
"@storybook/addon-docs": "6.4.0-beta.15",
|
||||
"@storybook/addon-links": "6.4.0-beta.15",
|
||||
"@storybook/addon-storysource": "6.4.0-beta.15",
|
||||
"@storybook/addon-viewport": "6.4.0-beta.15",
|
||||
"@storybook/addons": "6.4.0-beta.15",
|
||||
"@storybook/ember": "6.4.0-beta.15",
|
||||
"@storybook/addon-a11y": "6.4.0-beta.16",
|
||||
"@storybook/addon-actions": "6.4.0-beta.16",
|
||||
"@storybook/addon-backgrounds": "6.4.0-beta.16",
|
||||
"@storybook/addon-controls": "6.4.0-beta.16",
|
||||
"@storybook/addon-docs": "6.4.0-beta.16",
|
||||
"@storybook/addon-links": "6.4.0-beta.16",
|
||||
"@storybook/addon-storysource": "6.4.0-beta.16",
|
||||
"@storybook/addon-viewport": "6.4.0-beta.16",
|
||||
"@storybook/addons": "6.4.0-beta.16",
|
||||
"@storybook/ember": "6.4.0-beta.16",
|
||||
"@storybook/ember-cli-storybook": "^0.2.1",
|
||||
"@storybook/source-loader": "6.4.0-beta.15",
|
||||
"@storybook/source-loader": "6.4.0-beta.16",
|
||||
"babel-loader": "^8.0.0",
|
||||
"broccoli-asset-rev": "^3.0.0",
|
||||
"cross-env": "^7.0.3",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "html-kitchen-sink",
|
||||
"version": "6.4.0-beta.15",
|
||||
"version": "6.4.0-beta.16",
|
||||
"private": true,
|
||||
"description": "",
|
||||
"keywords": [],
|
||||
@ -13,23 +13,23 @@
|
||||
"storybook": "start-storybook -p 9006 --no-manager-cache"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-a11y": "6.4.0-beta.15",
|
||||
"@storybook/addon-actions": "6.4.0-beta.15",
|
||||
"@storybook/addon-backgrounds": "6.4.0-beta.15",
|
||||
"@storybook/addon-controls": "6.4.0-beta.15",
|
||||
"@storybook/addon-docs": "6.4.0-beta.15",
|
||||
"@storybook/addon-jest": "6.4.0-beta.15",
|
||||
"@storybook/addon-links": "6.4.0-beta.15",
|
||||
"@storybook/addon-a11y": "6.4.0-beta.16",
|
||||
"@storybook/addon-actions": "6.4.0-beta.16",
|
||||
"@storybook/addon-backgrounds": "6.4.0-beta.16",
|
||||
"@storybook/addon-controls": "6.4.0-beta.16",
|
||||
"@storybook/addon-docs": "6.4.0-beta.16",
|
||||
"@storybook/addon-jest": "6.4.0-beta.16",
|
||||
"@storybook/addon-links": "6.4.0-beta.16",
|
||||
"@storybook/addon-postcss": "^2.0.0",
|
||||
"@storybook/addon-storyshots": "6.4.0-beta.15",
|
||||
"@storybook/addon-storysource": "6.4.0-beta.15",
|
||||
"@storybook/addon-viewport": "6.4.0-beta.15",
|
||||
"@storybook/addons": "6.4.0-beta.15",
|
||||
"@storybook/client-api": "6.4.0-beta.15",
|
||||
"@storybook/core": "6.4.0-beta.15",
|
||||
"@storybook/core-events": "6.4.0-beta.15",
|
||||
"@storybook/html": "6.4.0-beta.15",
|
||||
"@storybook/source-loader": "6.4.0-beta.15",
|
||||
"@storybook/addon-storyshots": "6.4.0-beta.16",
|
||||
"@storybook/addon-storysource": "6.4.0-beta.16",
|
||||
"@storybook/addon-viewport": "6.4.0-beta.16",
|
||||
"@storybook/addons": "6.4.0-beta.16",
|
||||
"@storybook/client-api": "6.4.0-beta.16",
|
||||
"@storybook/core": "6.4.0-beta.16",
|
||||
"@storybook/core-events": "6.4.0-beta.16",
|
||||
"@storybook/html": "6.4.0-beta.16",
|
||||
"@storybook/source-loader": "6.4.0-beta.16",
|
||||
"autoprefixer": "^10.0.1",
|
||||
"eventemitter3": "^4.0.7",
|
||||
"format-json": "^1.0.3",
|
||||
|
@ -16,7 +16,6 @@ const config: StorybookConfig = {
|
||||
strictMode: true,
|
||||
},
|
||||
addons: [
|
||||
'@storybook/react',
|
||||
{
|
||||
name: '@storybook/addon-docs',
|
||||
options: {
|
||||
@ -31,6 +30,7 @@ const config: StorybookConfig = {
|
||||
'@storybook/addon-storysource',
|
||||
'@storybook/addon-links',
|
||||
'@storybook/addon-jest',
|
||||
'@storybook/addon-a11y',
|
||||
],
|
||||
core: {
|
||||
builder: 'webpack4',
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "official-storybook",
|
||||
"version": "6.4.0-beta.15",
|
||||
"version": "6.4.0-beta.16",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build-storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true build-storybook -c ./",
|
||||
@ -14,30 +14,30 @@
|
||||
"devDependencies": {
|
||||
"@packtracker/webpack-plugin": "^2.3.0",
|
||||
"@pmmmwh/react-refresh-webpack-plugin": "^0.4.3",
|
||||
"@storybook/addon-a11y": "6.4.0-beta.15",
|
||||
"@storybook/addon-actions": "6.4.0-beta.15",
|
||||
"@storybook/addon-backgrounds": "6.4.0-beta.15",
|
||||
"@storybook/addon-controls": "6.4.0-beta.15",
|
||||
"@storybook/addon-docs": "6.4.0-beta.15",
|
||||
"@storybook/addon-interactions": "6.4.0-beta.15",
|
||||
"@storybook/addon-jest": "6.4.0-beta.15",
|
||||
"@storybook/addon-links": "6.4.0-beta.15",
|
||||
"@storybook/addon-storyshots": "6.4.0-beta.15",
|
||||
"@storybook/addon-storyshots-puppeteer": "6.4.0-beta.15",
|
||||
"@storybook/addon-storysource": "6.4.0-beta.15",
|
||||
"@storybook/addon-toolbars": "6.4.0-beta.15",
|
||||
"@storybook/addon-viewport": "6.4.0-beta.15",
|
||||
"@storybook/addons": "6.4.0-beta.15",
|
||||
"@storybook/cli": "6.4.0-beta.15",
|
||||
"@storybook/components": "6.4.0-beta.15",
|
||||
"@storybook/core-events": "6.4.0-beta.15",
|
||||
"@storybook/addon-a11y": "6.4.0-beta.16",
|
||||
"@storybook/addon-actions": "6.4.0-beta.16",
|
||||
"@storybook/addon-backgrounds": "6.4.0-beta.16",
|
||||
"@storybook/addon-controls": "6.4.0-beta.16",
|
||||
"@storybook/addon-docs": "6.4.0-beta.16",
|
||||
"@storybook/addon-interactions": "6.4.0-beta.16",
|
||||
"@storybook/addon-jest": "6.4.0-beta.16",
|
||||
"@storybook/addon-links": "6.4.0-beta.16",
|
||||
"@storybook/addon-storyshots": "6.4.0-beta.16",
|
||||
"@storybook/addon-storyshots-puppeteer": "6.4.0-beta.16",
|
||||
"@storybook/addon-storysource": "6.4.0-beta.16",
|
||||
"@storybook/addon-toolbars": "6.4.0-beta.16",
|
||||
"@storybook/addon-viewport": "6.4.0-beta.16",
|
||||
"@storybook/addons": "6.4.0-beta.16",
|
||||
"@storybook/cli": "6.4.0-beta.16",
|
||||
"@storybook/components": "6.4.0-beta.16",
|
||||
"@storybook/core-events": "6.4.0-beta.16",
|
||||
"@storybook/design-system": "^5.4.7",
|
||||
"@storybook/jest": "0.0.0-alpha.5",
|
||||
"@storybook/node-logger": "6.4.0-beta.15",
|
||||
"@storybook/react": "6.4.0-beta.15",
|
||||
"@storybook/source-loader": "6.4.0-beta.15",
|
||||
"@storybook/node-logger": "6.4.0-beta.16",
|
||||
"@storybook/react": "6.4.0-beta.16",
|
||||
"@storybook/source-loader": "6.4.0-beta.16",
|
||||
"@storybook/testing-library": "0.0.0-alpha.3",
|
||||
"@storybook/theming": "6.4.0-beta.15",
|
||||
"@storybook/theming": "6.4.0-beta.16",
|
||||
"@testing-library/dom": "^7.31.2",
|
||||
"@testing-library/user-event": "^13.1.9",
|
||||
"chromatic": "^6.0.2",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "preact-example",
|
||||
"version": "6.4.0-beta.15",
|
||||
"version": "6.4.0-beta.16",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules",
|
||||
@ -15,16 +15,16 @@
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.12.10",
|
||||
"@babel/plugin-transform-runtime": "^7.12.10",
|
||||
"@storybook/addon-a11y": "6.4.0-beta.15",
|
||||
"@storybook/addon-actions": "6.4.0-beta.15",
|
||||
"@storybook/addon-backgrounds": "6.4.0-beta.15",
|
||||
"@storybook/addon-links": "6.4.0-beta.15",
|
||||
"@storybook/addon-storyshots": "6.4.0-beta.15",
|
||||
"@storybook/addon-storysource": "6.4.0-beta.15",
|
||||
"@storybook/addon-viewport": "6.4.0-beta.15",
|
||||
"@storybook/addons": "6.4.0-beta.15",
|
||||
"@storybook/preact": "6.4.0-beta.15",
|
||||
"@storybook/source-loader": "6.4.0-beta.15",
|
||||
"@storybook/addon-a11y": "6.4.0-beta.16",
|
||||
"@storybook/addon-actions": "6.4.0-beta.16",
|
||||
"@storybook/addon-backgrounds": "6.4.0-beta.16",
|
||||
"@storybook/addon-links": "6.4.0-beta.16",
|
||||
"@storybook/addon-storyshots": "6.4.0-beta.16",
|
||||
"@storybook/addon-storysource": "6.4.0-beta.16",
|
||||
"@storybook/addon-viewport": "6.4.0-beta.16",
|
||||
"@storybook/addons": "6.4.0-beta.16",
|
||||
"@storybook/preact": "6.4.0-beta.16",
|
||||
"@storybook/source-loader": "6.4.0-beta.16",
|
||||
"@types/prop-types": "^15.7.3",
|
||||
"@types/react": "^17",
|
||||
"@types/react-dom": "^17",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/example-react-ts-webpack4",
|
||||
"version": "6.4.0-beta.15",
|
||||
"version": "6.4.0-beta.16",
|
||||
"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 ./ --no-manager-cache"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addon-controls": "6.4.0-beta.15",
|
||||
"@storybook/addon-essentials": "6.4.0-beta.15",
|
||||
"@storybook/builder-webpack4": "6.4.0-beta.15",
|
||||
"@storybook/react": "6.4.0-beta.15",
|
||||
"@storybook/addon-controls": "6.4.0-beta.16",
|
||||
"@storybook/addon-essentials": "6.4.0-beta.16",
|
||||
"@storybook/builder-webpack4": "6.4.0-beta.16",
|
||||
"@storybook/react": "6.4.0-beta.16",
|
||||
"@types/react": "^16.14.2",
|
||||
"@types/react-dom": "^16.9.10",
|
||||
"prop-types": "15.7.2",
|
||||
|
@ -1,13 +1,18 @@
|
||||
import type { StorybookConfig } from '@storybook/react/types';
|
||||
|
||||
const config: StorybookConfig = {
|
||||
stories: [{ directory: '../src', titlePrefix: 'Demo' }],
|
||||
stories: [
|
||||
{
|
||||
directory: '../src',
|
||||
titlePrefix: 'Demo',
|
||||
},
|
||||
],
|
||||
logLevel: 'debug',
|
||||
framework: '@storybook/react',
|
||||
addons: [
|
||||
'@storybook/addon-essentials',
|
||||
'@storybook/addon-storysource',
|
||||
'@storybook/addon-storyshots',
|
||||
'@storybook/addon-a11y',
|
||||
],
|
||||
typescript: {
|
||||
check: true,
|
||||
@ -18,6 +23,7 @@ const config: StorybookConfig = {
|
||||
},
|
||||
core: {
|
||||
builder: 'webpack4',
|
||||
channelOptions: { allowFunction: false, maxDepth: 10 },
|
||||
},
|
||||
features: {
|
||||
postcss: false,
|
||||
@ -26,6 +32,6 @@ const config: StorybookConfig = {
|
||||
buildStoriesJson: true,
|
||||
babelModeV7: true,
|
||||
},
|
||||
framework: '@storybook/react',
|
||||
};
|
||||
|
||||
module.exports = config;
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/example-react-ts",
|
||||
"version": "6.4.0-beta.15",
|
||||
"version": "6.4.0-beta.16",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build-storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true build-storybook",
|
||||
@ -17,12 +17,12 @@
|
||||
"@babel/preset-env": "^7.12.11",
|
||||
"@babel/preset-react": "^7.12.10",
|
||||
"@babel/preset-typescript": "^7.12.7",
|
||||
"@storybook/addon-essentials": "6.4.0-beta.15",
|
||||
"@storybook/addon-storyshots": "6.4.0-beta.15",
|
||||
"@storybook/addon-storysource": "6.4.0-beta.15",
|
||||
"@storybook/components": "6.4.0-beta.15",
|
||||
"@storybook/react": "6.4.0-beta.15",
|
||||
"@storybook/theming": "6.4.0-beta.15",
|
||||
"@storybook/addon-essentials": "6.4.0-beta.16",
|
||||
"@storybook/addon-storyshots": "6.4.0-beta.16",
|
||||
"@storybook/addon-storysource": "6.4.0-beta.16",
|
||||
"@storybook/components": "6.4.0-beta.16",
|
||||
"@storybook/react": "6.4.0-beta.16",
|
||||
"@storybook/theming": "6.4.0-beta.16",
|
||||
"@testing-library/dom": "^7.31.2",
|
||||
"@testing-library/user-event": "^13.1.9",
|
||||
"@types/babel__preset-env": "^7",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "server-kitchen-sink",
|
||||
"version": "6.4.0-beta.15",
|
||||
"version": "6.4.0-beta.16",
|
||||
"private": true,
|
||||
"description": "",
|
||||
"keywords": [],
|
||||
@ -14,13 +14,13 @@
|
||||
"storybook": "SERVER_PORT=1137 start-storybook -p 9006 --quiet"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-a11y": "6.4.0-beta.15",
|
||||
"@storybook/addon-actions": "6.4.0-beta.15",
|
||||
"@storybook/addon-backgrounds": "6.4.0-beta.15",
|
||||
"@storybook/addon-controls": "6.4.0-beta.15",
|
||||
"@storybook/addon-links": "6.4.0-beta.15",
|
||||
"@storybook/node-logger": "6.4.0-beta.15",
|
||||
"@storybook/server": "6.4.0-beta.15",
|
||||
"@storybook/addon-a11y": "6.4.0-beta.16",
|
||||
"@storybook/addon-actions": "6.4.0-beta.16",
|
||||
"@storybook/addon-backgrounds": "6.4.0-beta.16",
|
||||
"@storybook/addon-controls": "6.4.0-beta.16",
|
||||
"@storybook/addon-links": "6.4.0-beta.16",
|
||||
"@storybook/node-logger": "6.4.0-beta.16",
|
||||
"@storybook/server": "6.4.0-beta.16",
|
||||
"concurrently": "^5.3.0",
|
||||
"cors": "^2.8.5",
|
||||
"express": "~4.17.1",
|
||||
|
@ -1,13 +1,13 @@
|
||||
{
|
||||
"name": "standalone-preview",
|
||||
"version": "6.4.0-beta.15",
|
||||
"version": "6.4.0-beta.16",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"storybook": "parcel ./storybook.html --port 1337"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-docs": "6.4.0-beta.15",
|
||||
"@storybook/react": "6.4.0-beta.15",
|
||||
"@storybook/addon-docs": "6.4.0-beta.16",
|
||||
"@storybook/react": "6.4.0-beta.16",
|
||||
"parcel": "^1.12.4",
|
||||
"react": "16.14.0",
|
||||
"react-dom": "16.14.0"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "svelte-example",
|
||||
"version": "6.4.0-beta.15",
|
||||
"version": "6.4.0-beta.16",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build-storybook": "build-storybook -s public",
|
||||
@ -10,20 +10,20 @@
|
||||
"global": "^4.4.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-a11y": "6.4.0-beta.15",
|
||||
"@storybook/addon-actions": "6.4.0-beta.15",
|
||||
"@storybook/addon-backgrounds": "6.4.0-beta.15",
|
||||
"@storybook/addon-controls": "6.4.0-beta.15",
|
||||
"@storybook/addon-docs": "6.4.0-beta.15",
|
||||
"@storybook/addon-interactions": "6.4.0-beta.15",
|
||||
"@storybook/addon-links": "6.4.0-beta.15",
|
||||
"@storybook/addon-storyshots": "6.4.0-beta.15",
|
||||
"@storybook/addon-storysource": "6.4.0-beta.15",
|
||||
"@storybook/addon-viewport": "6.4.0-beta.15",
|
||||
"@storybook/addons": "6.4.0-beta.15",
|
||||
"@storybook/addon-a11y": "6.4.0-beta.16",
|
||||
"@storybook/addon-actions": "6.4.0-beta.16",
|
||||
"@storybook/addon-backgrounds": "6.4.0-beta.16",
|
||||
"@storybook/addon-controls": "6.4.0-beta.16",
|
||||
"@storybook/addon-docs": "6.4.0-beta.16",
|
||||
"@storybook/addon-interactions": "6.4.0-beta.16",
|
||||
"@storybook/addon-links": "6.4.0-beta.16",
|
||||
"@storybook/addon-storyshots": "6.4.0-beta.16",
|
||||
"@storybook/addon-storysource": "6.4.0-beta.16",
|
||||
"@storybook/addon-viewport": "6.4.0-beta.16",
|
||||
"@storybook/addons": "6.4.0-beta.16",
|
||||
"@storybook/jest": "0.0.0-alpha.5",
|
||||
"@storybook/source-loader": "6.4.0-beta.15",
|
||||
"@storybook/svelte": "6.4.0-beta.15",
|
||||
"@storybook/source-loader": "6.4.0-beta.16",
|
||||
"@storybook/svelte": "6.4.0-beta.16",
|
||||
"@storybook/testing-library": "0.0.0-alpha.3",
|
||||
"svelte-jester": "1.3.0",
|
||||
"svelte-preprocess": "4.6.8"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "vue-3-cli-example",
|
||||
"version": "6.4.0-beta.15",
|
||||
"version": "6.4.0-beta.16",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "vue-cli-service build",
|
||||
@ -14,14 +14,14 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.12.10",
|
||||
"@storybook/addon-actions": "6.4.0-beta.15",
|
||||
"@storybook/addon-essentials": "6.4.0-beta.15",
|
||||
"@storybook/addon-interactions": "6.4.0-beta.15",
|
||||
"@storybook/addon-links": "6.4.0-beta.15",
|
||||
"@storybook/addon-storyshots": "6.4.0-beta.15",
|
||||
"@storybook/addon-actions": "6.4.0-beta.16",
|
||||
"@storybook/addon-essentials": "6.4.0-beta.16",
|
||||
"@storybook/addon-interactions": "6.4.0-beta.16",
|
||||
"@storybook/addon-links": "6.4.0-beta.16",
|
||||
"@storybook/addon-storyshots": "6.4.0-beta.16",
|
||||
"@storybook/jest": "0.0.0-alpha.5",
|
||||
"@storybook/testing-library": "0.0.0-alpha.3",
|
||||
"@storybook/vue3": "6.4.0-beta.15",
|
||||
"@storybook/vue3": "6.4.0-beta.16",
|
||||
"@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.4.0-beta.15",
|
||||
"version": "6.4.0-beta.16",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "vue-cli-service build",
|
||||
@ -15,11 +15,11 @@
|
||||
"vue-property-decorator": "^9.1.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-controls": "6.4.0-beta.15",
|
||||
"@storybook/addon-essentials": "6.4.0-beta.15",
|
||||
"@storybook/addon-controls": "6.4.0-beta.16",
|
||||
"@storybook/addon-essentials": "6.4.0-beta.16",
|
||||
"@storybook/preset-scss": "^1.0.3",
|
||||
"@storybook/source-loader": "6.4.0-beta.15",
|
||||
"@storybook/vue": "6.4.0-beta.15",
|
||||
"@storybook/source-loader": "6.4.0-beta.16",
|
||||
"@storybook/vue": "6.4.0-beta.16",
|
||||
"@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.4.0-beta.15",
|
||||
"version": "6.4.0-beta.16",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules",
|
||||
@ -14,21 +14,21 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.12.10",
|
||||
"@storybook/addon-a11y": "6.4.0-beta.15",
|
||||
"@storybook/addon-actions": "6.4.0-beta.15",
|
||||
"@storybook/addon-backgrounds": "6.4.0-beta.15",
|
||||
"@storybook/addon-controls": "6.4.0-beta.15",
|
||||
"@storybook/addon-docs": "6.4.0-beta.15",
|
||||
"@storybook/addon-interactions": "6.4.0-beta.15",
|
||||
"@storybook/addon-links": "6.4.0-beta.15",
|
||||
"@storybook/addon-storyshots": "6.4.0-beta.15",
|
||||
"@storybook/addon-storysource": "6.4.0-beta.15",
|
||||
"@storybook/addon-viewport": "6.4.0-beta.15",
|
||||
"@storybook/addons": "6.4.0-beta.15",
|
||||
"@storybook/addon-a11y": "6.4.0-beta.16",
|
||||
"@storybook/addon-actions": "6.4.0-beta.16",
|
||||
"@storybook/addon-backgrounds": "6.4.0-beta.16",
|
||||
"@storybook/addon-controls": "6.4.0-beta.16",
|
||||
"@storybook/addon-docs": "6.4.0-beta.16",
|
||||
"@storybook/addon-interactions": "6.4.0-beta.16",
|
||||
"@storybook/addon-links": "6.4.0-beta.16",
|
||||
"@storybook/addon-storyshots": "6.4.0-beta.16",
|
||||
"@storybook/addon-storysource": "6.4.0-beta.16",
|
||||
"@storybook/addon-viewport": "6.4.0-beta.16",
|
||||
"@storybook/addons": "6.4.0-beta.16",
|
||||
"@storybook/jest": "0.0.0-alpha.5",
|
||||
"@storybook/source-loader": "6.4.0-beta.15",
|
||||
"@storybook/source-loader": "6.4.0-beta.16",
|
||||
"@storybook/testing-library": "0.0.0-alpha.3",
|
||||
"@storybook/vue": "6.4.0-beta.15",
|
||||
"@storybook/vue": "6.4.0-beta.16",
|
||||
"@vue/babel-preset-jsx": "^1.2.4",
|
||||
"babel-loader": "^8.0.0",
|
||||
"cross-env": "^7.0.3",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "web-components-kitchen-sink",
|
||||
"version": "6.4.0-beta.15",
|
||||
"version": "6.4.0-beta.16",
|
||||
"private": true,
|
||||
"description": "",
|
||||
"keywords": [],
|
||||
|
@ -1484,10 +1484,10 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@base2/pretty-print-object@npm:1.0.0":
|
||||
version: 1.0.0
|
||||
resolution: "@base2/pretty-print-object@npm:1.0.0"
|
||||
checksum: e2e64db97e4e6084865040de6905c855309762f5af43884f843f3335f0da4531d5bd59d2b415e0e4aba604f637e467104ed9799852321218966578ac065ba344
|
||||
"@base2/pretty-print-object@npm:1.0.1":
|
||||
version: 1.0.1
|
||||
resolution: "@base2/pretty-print-object@npm:1.0.1"
|
||||
checksum: 98f77ea185a30c854897feb2a68fe51be8451a1a0b531bac61a5dd67033926a0ba0c9be6e0f819b8cb72ca349b3e7648bf81c12fd21df0b45219c75a3a75784b
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@ -2090,14 +2090,14 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@storybook/addon-a11y@portal:../../addons/a11y::locator=web-components-kitchen-sink%40workspace%3A."
|
||||
dependencies:
|
||||
"@storybook/addons": 6.4.0-beta.9
|
||||
"@storybook/api": 6.4.0-beta.9
|
||||
"@storybook/channels": 6.4.0-beta.9
|
||||
"@storybook/client-logger": 6.4.0-beta.9
|
||||
"@storybook/components": 6.4.0-beta.9
|
||||
"@storybook/core-events": 6.4.0-beta.9
|
||||
"@storybook/addons": 6.4.0-beta.14
|
||||
"@storybook/api": 6.4.0-beta.14
|
||||
"@storybook/channels": 6.4.0-beta.14
|
||||
"@storybook/client-logger": 6.4.0-beta.14
|
||||
"@storybook/components": 6.4.0-beta.14
|
||||
"@storybook/core-events": 6.4.0-beta.14
|
||||
"@storybook/csf": 0.0.2--canary.87bc651.0
|
||||
"@storybook/theming": 6.4.0-beta.9
|
||||
"@storybook/theming": 6.4.0-beta.14
|
||||
axe-core: ^4.2.0
|
||||
core-js: ^3.8.2
|
||||
global: ^4.4.0
|
||||
@ -2121,12 +2121,12 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@storybook/addon-actions@portal:../../addons/actions::locator=web-components-kitchen-sink%40workspace%3A."
|
||||
dependencies:
|
||||
"@storybook/addons": 6.4.0-beta.9
|
||||
"@storybook/api": 6.4.0-beta.9
|
||||
"@storybook/components": 6.4.0-beta.9
|
||||
"@storybook/core-events": 6.4.0-beta.9
|
||||
"@storybook/addons": 6.4.0-beta.14
|
||||
"@storybook/api": 6.4.0-beta.14
|
||||
"@storybook/components": 6.4.0-beta.14
|
||||
"@storybook/core-events": 6.4.0-beta.14
|
||||
"@storybook/csf": 0.0.2--canary.87bc651.0
|
||||
"@storybook/theming": 6.4.0-beta.9
|
||||
"@storybook/theming": 6.4.0-beta.14
|
||||
core-js: ^3.8.2
|
||||
fast-deep-equal: ^3.1.3
|
||||
global: ^4.4.0
|
||||
@ -2153,13 +2153,13 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@storybook/addon-backgrounds@portal:../../addons/backgrounds::locator=web-components-kitchen-sink%40workspace%3A."
|
||||
dependencies:
|
||||
"@storybook/addons": 6.4.0-beta.9
|
||||
"@storybook/api": 6.4.0-beta.9
|
||||
"@storybook/client-logger": 6.4.0-beta.9
|
||||
"@storybook/components": 6.4.0-beta.9
|
||||
"@storybook/core-events": 6.4.0-beta.9
|
||||
"@storybook/addons": 6.4.0-beta.14
|
||||
"@storybook/api": 6.4.0-beta.14
|
||||
"@storybook/client-logger": 6.4.0-beta.14
|
||||
"@storybook/components": 6.4.0-beta.14
|
||||
"@storybook/core-events": 6.4.0-beta.14
|
||||
"@storybook/csf": 0.0.2--canary.87bc651.0
|
||||
"@storybook/theming": 6.4.0-beta.9
|
||||
"@storybook/theming": 6.4.0-beta.14
|
||||
core-js: ^3.8.2
|
||||
global: ^4.4.0
|
||||
memoizerific: ^1.11.3
|
||||
@ -2181,14 +2181,15 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@storybook/addon-controls@portal:../../addons/controls::locator=web-components-kitchen-sink%40workspace%3A."
|
||||
dependencies:
|
||||
"@storybook/addons": 6.4.0-beta.9
|
||||
"@storybook/api": 6.4.0-beta.9
|
||||
"@storybook/client-logger": 6.4.0-beta.9
|
||||
"@storybook/components": 6.4.0-beta.9
|
||||
"@storybook/addons": 6.4.0-beta.14
|
||||
"@storybook/api": 6.4.0-beta.14
|
||||
"@storybook/client-logger": 6.4.0-beta.14
|
||||
"@storybook/components": 6.4.0-beta.14
|
||||
"@storybook/core-common": 6.4.0-beta.14
|
||||
"@storybook/csf": 0.0.2--canary.87bc651.0
|
||||
"@storybook/node-logger": 6.4.0-beta.9
|
||||
"@storybook/store": 6.4.0-beta.9
|
||||
"@storybook/theming": 6.4.0-beta.9
|
||||
"@storybook/node-logger": 6.4.0-beta.14
|
||||
"@storybook/store": 6.4.0-beta.14
|
||||
"@storybook/theming": 6.4.0-beta.14
|
||||
core-js: ^3.8.2
|
||||
lodash: ^4.17.20
|
||||
ts-dedent: ^2.0.0
|
||||
@ -2216,22 +2217,22 @@ __metadata:
|
||||
"@mdx-js/loader": ^1.6.22
|
||||
"@mdx-js/mdx": ^1.6.22
|
||||
"@mdx-js/react": ^1.6.22
|
||||
"@storybook/addons": 6.4.0-beta.9
|
||||
"@storybook/api": 6.4.0-beta.9
|
||||
"@storybook/builder-webpack4": 6.4.0-beta.9
|
||||
"@storybook/client-api": 6.4.0-beta.9
|
||||
"@storybook/client-logger": 6.4.0-beta.9
|
||||
"@storybook/components": 6.4.0-beta.9
|
||||
"@storybook/core": 6.4.0-beta.9
|
||||
"@storybook/core-events": 6.4.0-beta.9
|
||||
"@storybook/addons": 6.4.0-beta.14
|
||||
"@storybook/api": 6.4.0-beta.14
|
||||
"@storybook/builder-webpack4": 6.4.0-beta.14
|
||||
"@storybook/client-api": 6.4.0-beta.14
|
||||
"@storybook/client-logger": 6.4.0-beta.14
|
||||
"@storybook/components": 6.4.0-beta.14
|
||||
"@storybook/core": 6.4.0-beta.14
|
||||
"@storybook/core-events": 6.4.0-beta.14
|
||||
"@storybook/csf": 0.0.2--canary.87bc651.0
|
||||
"@storybook/csf-tools": 6.4.0-beta.9
|
||||
"@storybook/node-logger": 6.4.0-beta.9
|
||||
"@storybook/postinstall": 6.4.0-beta.9
|
||||
"@storybook/preview-web": 6.4.0-beta.9
|
||||
"@storybook/source-loader": 6.4.0-beta.9
|
||||
"@storybook/store": 6.4.0-beta.9
|
||||
"@storybook/theming": 6.4.0-beta.9
|
||||
"@storybook/csf-tools": 6.4.0-beta.14
|
||||
"@storybook/node-logger": 6.4.0-beta.14
|
||||
"@storybook/postinstall": 6.4.0-beta.14
|
||||
"@storybook/preview-web": 6.4.0-beta.14
|
||||
"@storybook/source-loader": 6.4.0-beta.14
|
||||
"@storybook/store": 6.4.0-beta.14
|
||||
"@storybook/theming": 6.4.0-beta.14
|
||||
acorn: ^7.4.1
|
||||
acorn-jsx: ^5.3.1
|
||||
acorn-walk: ^7.2.0
|
||||
@ -2248,19 +2249,19 @@ __metadata:
|
||||
p-limit: ^3.1.0
|
||||
prettier: ^2.2.1
|
||||
prop-types: ^15.7.2
|
||||
react-element-to-jsx-string: ^14.3.2
|
||||
react-element-to-jsx-string: ^14.3.4
|
||||
regenerator-runtime: ^0.13.7
|
||||
remark-external-links: ^8.0.0
|
||||
remark-slug: ^6.0.0
|
||||
ts-dedent: ^2.0.0
|
||||
util-deprecate: ^1.0.2
|
||||
peerDependencies:
|
||||
"@storybook/angular": 6.4.0-beta.9
|
||||
"@storybook/html": 6.4.0-beta.9
|
||||
"@storybook/react": 6.4.0-beta.9
|
||||
"@storybook/vue": 6.4.0-beta.9
|
||||
"@storybook/vue3": 6.4.0-beta.9
|
||||
"@storybook/web-components": 6.4.0-beta.9
|
||||
"@storybook/angular": 6.4.0-beta.14
|
||||
"@storybook/html": 6.4.0-beta.14
|
||||
"@storybook/react": 6.4.0-beta.14
|
||||
"@storybook/vue": 6.4.0-beta.14
|
||||
"@storybook/vue3": 6.4.0-beta.14
|
||||
"@storybook/web-components": 6.4.0-beta.14
|
||||
lit: ^2.0.0-rc.1
|
||||
lit-html: ^1.4.1 || ^2.0.0-rc.3
|
||||
react: ^16.8.0 || ^17.0.0
|
||||
@ -2331,11 +2332,11 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@storybook/addon-links@portal:../../addons/links::locator=web-components-kitchen-sink%40workspace%3A."
|
||||
dependencies:
|
||||
"@storybook/addons": 6.4.0-beta.9
|
||||
"@storybook/client-logger": 6.4.0-beta.9
|
||||
"@storybook/core-events": 6.4.0-beta.9
|
||||
"@storybook/addons": 6.4.0-beta.14
|
||||
"@storybook/client-logger": 6.4.0-beta.14
|
||||
"@storybook/core-events": 6.4.0-beta.14
|
||||
"@storybook/csf": 0.0.2--canary.87bc651.0
|
||||
"@storybook/router": 6.4.0-beta.9
|
||||
"@storybook/router": 6.4.0-beta.14
|
||||
"@types/qs": ^6.9.5
|
||||
core-js: ^3.8.2
|
||||
global: ^4.4.0
|
||||
@ -2359,11 +2360,11 @@ __metadata:
|
||||
resolution: "@storybook/addon-storyshots@portal:../../addons/storyshots/storyshots-core::locator=web-components-kitchen-sink%40workspace%3A."
|
||||
dependencies:
|
||||
"@jest/transform": ^26.6.2
|
||||
"@storybook/addons": 6.4.0-beta.9
|
||||
"@storybook/client-api": 6.4.0-beta.9
|
||||
"@storybook/core": 6.4.0-beta.9
|
||||
"@storybook/core-client": 6.4.0-beta.9
|
||||
"@storybook/core-common": 6.4.0-beta.9
|
||||
"@storybook/addons": 6.4.0-beta.14
|
||||
"@storybook/client-api": 6.4.0-beta.14
|
||||
"@storybook/core": 6.4.0-beta.14
|
||||
"@storybook/core-client": 6.4.0-beta.14
|
||||
"@storybook/core-common": 6.4.0-beta.14
|
||||
"@storybook/csf": 0.0.2--canary.87bc651.0
|
||||
"@types/glob": ^7.1.3
|
||||
"@types/jest": ^26.0.16
|
||||
@ -2434,13 +2435,13 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@storybook/addon-storysource@portal:../../addons/storysource::locator=web-components-kitchen-sink%40workspace%3A."
|
||||
dependencies:
|
||||
"@storybook/addons": 6.4.0-beta.9
|
||||
"@storybook/api": 6.4.0-beta.9
|
||||
"@storybook/client-logger": 6.4.0-beta.9
|
||||
"@storybook/components": 6.4.0-beta.9
|
||||
"@storybook/router": 6.4.0-beta.9
|
||||
"@storybook/source-loader": 6.4.0-beta.9
|
||||
"@storybook/theming": 6.4.0-beta.9
|
||||
"@storybook/addons": 6.4.0-beta.14
|
||||
"@storybook/api": 6.4.0-beta.14
|
||||
"@storybook/client-logger": 6.4.0-beta.14
|
||||
"@storybook/components": 6.4.0-beta.14
|
||||
"@storybook/router": 6.4.0-beta.14
|
||||
"@storybook/source-loader": 6.4.0-beta.14
|
||||
"@storybook/theming": 6.4.0-beta.14
|
||||
core-js: ^3.8.2
|
||||
estraverse: ^5.2.0
|
||||
loader-utils: ^2.0.0
|
||||
@ -2463,12 +2464,12 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@storybook/addon-viewport@portal:../../addons/viewport::locator=web-components-kitchen-sink%40workspace%3A."
|
||||
dependencies:
|
||||
"@storybook/addons": 6.4.0-beta.9
|
||||
"@storybook/api": 6.4.0-beta.9
|
||||
"@storybook/client-logger": 6.4.0-beta.9
|
||||
"@storybook/components": 6.4.0-beta.9
|
||||
"@storybook/core-events": 6.4.0-beta.9
|
||||
"@storybook/theming": 6.4.0-beta.9
|
||||
"@storybook/addons": 6.4.0-beta.14
|
||||
"@storybook/api": 6.4.0-beta.14
|
||||
"@storybook/client-logger": 6.4.0-beta.14
|
||||
"@storybook/components": 6.4.0-beta.14
|
||||
"@storybook/core-events": 6.4.0-beta.14
|
||||
"@storybook/theming": 6.4.0-beta.14
|
||||
core-js: ^3.8.2
|
||||
global: ^4.4.0
|
||||
memoizerific: ^1.11.3
|
||||
@ -2489,13 +2490,13 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@storybook/addons@portal:../../lib/addons::locator=web-components-kitchen-sink%40workspace%3A."
|
||||
dependencies:
|
||||
"@storybook/api": 6.4.0-beta.9
|
||||
"@storybook/channels": 6.4.0-beta.9
|
||||
"@storybook/client-logger": 6.4.0-beta.9
|
||||
"@storybook/core-events": 6.4.0-beta.9
|
||||
"@storybook/api": 6.4.0-beta.14
|
||||
"@storybook/channels": 6.4.0-beta.14
|
||||
"@storybook/client-logger": 6.4.0-beta.14
|
||||
"@storybook/core-events": 6.4.0-beta.14
|
||||
"@storybook/csf": 0.0.2--canary.87bc651.0
|
||||
"@storybook/router": 6.4.0-beta.9
|
||||
"@storybook/theming": 6.4.0-beta.9
|
||||
"@storybook/router": 6.4.0-beta.14
|
||||
"@storybook/theming": 6.4.0-beta.14
|
||||
"@types/webpack-env": ^1.16.0
|
||||
core-js: ^3.8.2
|
||||
global: ^4.4.0
|
||||
@ -2511,13 +2512,13 @@ __metadata:
|
||||
resolution: "@storybook/api@portal:../../lib/api::locator=web-components-kitchen-sink%40workspace%3A."
|
||||
dependencies:
|
||||
"@reach/router": ^1.3.4
|
||||
"@storybook/channels": 6.4.0-beta.9
|
||||
"@storybook/client-logger": 6.4.0-beta.9
|
||||
"@storybook/core-events": 6.4.0-beta.9
|
||||
"@storybook/channels": 6.4.0-beta.14
|
||||
"@storybook/client-logger": 6.4.0-beta.14
|
||||
"@storybook/core-events": 6.4.0-beta.14
|
||||
"@storybook/csf": 0.0.2--canary.87bc651.0
|
||||
"@storybook/router": 6.4.0-beta.9
|
||||
"@storybook/router": 6.4.0-beta.14
|
||||
"@storybook/semver": ^7.3.2
|
||||
"@storybook/theming": 6.4.0-beta.9
|
||||
"@storybook/theming": 6.4.0-beta.14
|
||||
"@types/reach__router": ^1.3.7
|
||||
core-js: ^3.8.2
|
||||
fast-deep-equal: ^3.1.3
|
||||
@ -2561,22 +2562,22 @@ __metadata:
|
||||
"@babel/preset-env": ^7.12.11
|
||||
"@babel/preset-react": ^7.12.10
|
||||
"@babel/preset-typescript": ^7.12.7
|
||||
"@storybook/addons": 6.4.0-beta.9
|
||||
"@storybook/api": 6.4.0-beta.9
|
||||
"@storybook/channel-postmessage": 6.4.0-beta.9
|
||||
"@storybook/channels": 6.4.0-beta.9
|
||||
"@storybook/client-api": 6.4.0-beta.9
|
||||
"@storybook/client-logger": 6.4.0-beta.9
|
||||
"@storybook/components": 6.4.0-beta.9
|
||||
"@storybook/core-common": 6.4.0-beta.9
|
||||
"@storybook/core-events": 6.4.0-beta.9
|
||||
"@storybook/node-logger": 6.4.0-beta.9
|
||||
"@storybook/preview-web": 6.4.0-beta.9
|
||||
"@storybook/router": 6.4.0-beta.9
|
||||
"@storybook/addons": 6.4.0-beta.14
|
||||
"@storybook/api": 6.4.0-beta.14
|
||||
"@storybook/channel-postmessage": 6.4.0-beta.14
|
||||
"@storybook/channels": 6.4.0-beta.14
|
||||
"@storybook/client-api": 6.4.0-beta.14
|
||||
"@storybook/client-logger": 6.4.0-beta.14
|
||||
"@storybook/components": 6.4.0-beta.14
|
||||
"@storybook/core-common": 6.4.0-beta.14
|
||||
"@storybook/core-events": 6.4.0-beta.14
|
||||
"@storybook/node-logger": 6.4.0-beta.14
|
||||
"@storybook/preview-web": 6.4.0-beta.14
|
||||
"@storybook/router": 6.4.0-beta.14
|
||||
"@storybook/semver": ^7.3.2
|
||||
"@storybook/store": 6.4.0-beta.9
|
||||
"@storybook/theming": 6.4.0-beta.9
|
||||
"@storybook/ui": 6.4.0-beta.9
|
||||
"@storybook/store": 6.4.0-beta.14
|
||||
"@storybook/theming": 6.4.0-beta.14
|
||||
"@storybook/ui": 6.4.0-beta.14
|
||||
"@types/node": ^14.0.10
|
||||
"@types/webpack": ^4.41.26
|
||||
autoprefixer: ^9.8.6
|
||||
@ -2623,9 +2624,9 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@storybook/channel-postmessage@portal:../../lib/channel-postmessage::locator=web-components-kitchen-sink%40workspace%3A."
|
||||
dependencies:
|
||||
"@storybook/channels": 6.4.0-beta.9
|
||||
"@storybook/client-logger": 6.4.0-beta.9
|
||||
"@storybook/core-events": 6.4.0-beta.9
|
||||
"@storybook/channels": 6.4.0-beta.14
|
||||
"@storybook/client-logger": 6.4.0-beta.14
|
||||
"@storybook/core-events": 6.4.0-beta.14
|
||||
core-js: ^3.8.2
|
||||
global: ^4.4.0
|
||||
qs: ^6.10.0
|
||||
@ -2647,13 +2648,13 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@storybook/client-api@portal:../../lib/client-api::locator=web-components-kitchen-sink%40workspace%3A."
|
||||
dependencies:
|
||||
"@storybook/addons": 6.4.0-beta.9
|
||||
"@storybook/channel-postmessage": 6.4.0-beta.9
|
||||
"@storybook/channels": 6.4.0-beta.9
|
||||
"@storybook/client-logger": 6.4.0-beta.9
|
||||
"@storybook/core-events": 6.4.0-beta.9
|
||||
"@storybook/addons": 6.4.0-beta.14
|
||||
"@storybook/channel-postmessage": 6.4.0-beta.14
|
||||
"@storybook/channels": 6.4.0-beta.14
|
||||
"@storybook/client-logger": 6.4.0-beta.14
|
||||
"@storybook/core-events": 6.4.0-beta.14
|
||||
"@storybook/csf": 0.0.2--canary.87bc651.0
|
||||
"@storybook/store": 6.4.0-beta.9
|
||||
"@storybook/store": 6.4.0-beta.14
|
||||
"@types/qs": ^6.9.5
|
||||
"@types/webpack-env": ^1.16.0
|
||||
core-js: ^3.8.2
|
||||
@ -2686,9 +2687,9 @@ __metadata:
|
||||
resolution: "@storybook/components@portal:../../lib/components::locator=web-components-kitchen-sink%40workspace%3A."
|
||||
dependencies:
|
||||
"@popperjs/core": ^2.6.0
|
||||
"@storybook/client-logger": 6.4.0-beta.9
|
||||
"@storybook/client-logger": 6.4.0-beta.14
|
||||
"@storybook/csf": 0.0.2--canary.87bc651.0
|
||||
"@storybook/theming": 6.4.0-beta.9
|
||||
"@storybook/theming": 6.4.0-beta.14
|
||||
"@types/color-convert": ^2.0.0
|
||||
"@types/overlayscrollbars": ^1.12.0
|
||||
"@types/react-syntax-highlighter": 11.0.5
|
||||
@ -2719,15 +2720,15 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@storybook/core-client@portal:../../lib/core-client::locator=web-components-kitchen-sink%40workspace%3A."
|
||||
dependencies:
|
||||
"@storybook/addons": 6.4.0-beta.9
|
||||
"@storybook/channel-postmessage": 6.4.0-beta.9
|
||||
"@storybook/client-api": 6.4.0-beta.9
|
||||
"@storybook/client-logger": 6.4.0-beta.9
|
||||
"@storybook/core-events": 6.4.0-beta.9
|
||||
"@storybook/addons": 6.4.0-beta.14
|
||||
"@storybook/channel-postmessage": 6.4.0-beta.14
|
||||
"@storybook/client-api": 6.4.0-beta.14
|
||||
"@storybook/client-logger": 6.4.0-beta.14
|
||||
"@storybook/core-events": 6.4.0-beta.14
|
||||
"@storybook/csf": 0.0.2--canary.87bc651.0
|
||||
"@storybook/preview-web": 6.4.0-beta.9
|
||||
"@storybook/store": 6.4.0-beta.9
|
||||
"@storybook/ui": 6.4.0-beta.9
|
||||
"@storybook/preview-web": 6.4.0-beta.14
|
||||
"@storybook/store": 6.4.0-beta.14
|
||||
"@storybook/ui": 6.4.0-beta.14
|
||||
airbnb-js-shims: ^2.2.1
|
||||
ansi-to-html: ^0.6.11
|
||||
core-js: ^3.8.2
|
||||
@ -2773,7 +2774,7 @@ __metadata:
|
||||
"@babel/preset-react": ^7.12.10
|
||||
"@babel/preset-typescript": ^7.12.7
|
||||
"@babel/register": ^7.12.1
|
||||
"@storybook/node-logger": 6.4.0-beta.9
|
||||
"@storybook/node-logger": 6.4.0-beta.14
|
||||
"@storybook/semver": ^7.3.2
|
||||
"@types/micromatch": ^4.0.1
|
||||
"@types/node": ^14.0.10
|
||||
@ -2823,15 +2824,15 @@ __metadata:
|
||||
resolution: "@storybook/core-server@portal:../../lib/core-server::locator=web-components-kitchen-sink%40workspace%3A."
|
||||
dependencies:
|
||||
"@discoveryjs/json-ext": ^0.5.3
|
||||
"@storybook/builder-webpack4": 6.4.0-beta.9
|
||||
"@storybook/core-client": 6.4.0-beta.9
|
||||
"@storybook/core-common": 6.4.0-beta.9
|
||||
"@storybook/builder-webpack4": 6.4.0-beta.14
|
||||
"@storybook/core-client": 6.4.0-beta.14
|
||||
"@storybook/core-common": 6.4.0-beta.14
|
||||
"@storybook/csf": 0.0.2--canary.87bc651.0
|
||||
"@storybook/csf-tools": 6.4.0-beta.9
|
||||
"@storybook/manager-webpack4": 6.4.0-beta.9
|
||||
"@storybook/node-logger": 6.4.0-beta.9
|
||||
"@storybook/csf-tools": 6.4.0-beta.14
|
||||
"@storybook/manager-webpack4": 6.4.0-beta.14
|
||||
"@storybook/node-logger": 6.4.0-beta.14
|
||||
"@storybook/semver": ^7.3.2
|
||||
"@storybook/store": 6.4.0-beta.9
|
||||
"@storybook/store": 6.4.0-beta.14
|
||||
"@types/node": ^14.0.10
|
||||
"@types/node-fetch": ^2.5.7
|
||||
"@types/pretty-hrtime": ^1.0.0
|
||||
@ -2860,8 +2861,8 @@ __metadata:
|
||||
watchpack: ^2.2.0
|
||||
webpack: 4
|
||||
peerDependencies:
|
||||
"@storybook/builder-webpack5": 6.4.0-beta.9
|
||||
"@storybook/manager-webpack5": 6.4.0-beta.9
|
||||
"@storybook/builder-webpack5": 6.4.0-beta.14
|
||||
"@storybook/manager-webpack5": 6.4.0-beta.14
|
||||
react: ^16.8.0 || ^17.0.0
|
||||
react-dom: ^16.8.0 || ^17.0.0
|
||||
peerDependenciesMeta:
|
||||
@ -2878,10 +2879,10 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@storybook/core@portal:../../lib/core::locator=web-components-kitchen-sink%40workspace%3A."
|
||||
dependencies:
|
||||
"@storybook/core-client": 6.4.0-beta.9
|
||||
"@storybook/core-server": 6.4.0-beta.9
|
||||
"@storybook/core-client": 6.4.0-beta.14
|
||||
"@storybook/core-server": 6.4.0-beta.14
|
||||
peerDependencies:
|
||||
"@storybook/builder-webpack5": 6.4.0-beta.9
|
||||
"@storybook/builder-webpack5": 6.4.0-beta.14
|
||||
react: ^16.8.0 || ^17.0.0
|
||||
react-dom: ^16.8.0 || ^17.0.0
|
||||
webpack: "*"
|
||||
@ -2933,12 +2934,12 @@ __metadata:
|
||||
"@babel/core": ^7.12.10
|
||||
"@babel/plugin-transform-template-literals": ^7.12.1
|
||||
"@babel/preset-react": ^7.12.10
|
||||
"@storybook/addons": 6.4.0-beta.9
|
||||
"@storybook/core-client": 6.4.0-beta.9
|
||||
"@storybook/core-common": 6.4.0-beta.9
|
||||
"@storybook/node-logger": 6.4.0-beta.9
|
||||
"@storybook/theming": 6.4.0-beta.9
|
||||
"@storybook/ui": 6.4.0-beta.9
|
||||
"@storybook/addons": 6.4.0-beta.14
|
||||
"@storybook/core-client": 6.4.0-beta.14
|
||||
"@storybook/core-common": 6.4.0-beta.14
|
||||
"@storybook/node-logger": 6.4.0-beta.14
|
||||
"@storybook/theming": 6.4.0-beta.14
|
||||
"@storybook/ui": 6.4.0-beta.14
|
||||
"@types/node": ^14.0.10
|
||||
"@types/webpack": ^4.41.26
|
||||
babel-loader: ^8.0.0
|
||||
@ -2999,12 +3000,12 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@storybook/preview-web@portal:../../lib/preview-web::locator=web-components-kitchen-sink%40workspace%3A."
|
||||
dependencies:
|
||||
"@storybook/addons": 6.4.0-beta.9
|
||||
"@storybook/channel-postmessage": 6.4.0-beta.9
|
||||
"@storybook/client-logger": 6.4.0-beta.9
|
||||
"@storybook/core-events": 6.4.0-beta.9
|
||||
"@storybook/addons": 6.4.0-beta.14
|
||||
"@storybook/channel-postmessage": 6.4.0-beta.14
|
||||
"@storybook/client-logger": 6.4.0-beta.14
|
||||
"@storybook/core-events": 6.4.0-beta.14
|
||||
"@storybook/csf": 0.0.2--canary.87bc651.0
|
||||
"@storybook/store": 6.4.0-beta.9
|
||||
"@storybook/store": 6.4.0-beta.14
|
||||
ansi-to-html: ^0.6.11
|
||||
core-js: ^3.8.2
|
||||
global: ^4.4.0
|
||||
@ -3025,7 +3026,7 @@ __metadata:
|
||||
resolution: "@storybook/router@portal:../../lib/router::locator=web-components-kitchen-sink%40workspace%3A."
|
||||
dependencies:
|
||||
"@reach/router": ^1.3.4
|
||||
"@storybook/client-logger": 6.4.0-beta.9
|
||||
"@storybook/client-logger": 6.4.0-beta.14
|
||||
"@types/reach__router": ^1.3.7
|
||||
core-js: ^3.8.2
|
||||
fast-deep-equal: ^3.1.3
|
||||
@ -3056,8 +3057,8 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@storybook/source-loader@portal:../../lib/source-loader::locator=web-components-kitchen-sink%40workspace%3A."
|
||||
dependencies:
|
||||
"@storybook/addons": 6.4.0-beta.9
|
||||
"@storybook/client-logger": 6.4.0-beta.9
|
||||
"@storybook/addons": 6.4.0-beta.14
|
||||
"@storybook/client-logger": 6.4.0-beta.14
|
||||
"@storybook/csf": 0.0.2--canary.87bc651.0
|
||||
core-js: ^3.8.2
|
||||
estraverse: ^5.2.0
|
||||
@ -3076,9 +3077,9 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@storybook/store@portal:../../lib/store::locator=web-components-kitchen-sink%40workspace%3A."
|
||||
dependencies:
|
||||
"@storybook/addons": 6.4.0-beta.9
|
||||
"@storybook/client-logger": 6.4.0-beta.9
|
||||
"@storybook/core-events": 6.4.0-beta.9
|
||||
"@storybook/addons": 6.4.0-beta.14
|
||||
"@storybook/client-logger": 6.4.0-beta.14
|
||||
"@storybook/core-events": 6.4.0-beta.14
|
||||
"@storybook/csf": 0.0.2--canary.87bc651.0
|
||||
core-js: ^3.8.2
|
||||
fast-deep-equal: ^3.1.3
|
||||
@ -3100,7 +3101,7 @@ __metadata:
|
||||
"@emotion/core": ^10.1.1
|
||||
"@emotion/is-prop-valid": ^0.8.6
|
||||
"@emotion/styled": ^10.0.27
|
||||
"@storybook/client-logger": 6.4.0-beta.9
|
||||
"@storybook/client-logger": 6.4.0-beta.14
|
||||
core-js: ^3.8.2
|
||||
deep-object-diff: ^1.1.0
|
||||
emotion-theming: ^10.0.27
|
||||
@ -3120,15 +3121,15 @@ __metadata:
|
||||
resolution: "@storybook/ui@portal:../../lib/ui::locator=web-components-kitchen-sink%40workspace%3A."
|
||||
dependencies:
|
||||
"@emotion/core": ^10.1.1
|
||||
"@storybook/addons": 6.4.0-beta.9
|
||||
"@storybook/api": 6.4.0-beta.9
|
||||
"@storybook/channels": 6.4.0-beta.9
|
||||
"@storybook/client-logger": 6.4.0-beta.9
|
||||
"@storybook/components": 6.4.0-beta.9
|
||||
"@storybook/core-events": 6.4.0-beta.9
|
||||
"@storybook/router": 6.4.0-beta.9
|
||||
"@storybook/addons": 6.4.0-beta.14
|
||||
"@storybook/api": 6.4.0-beta.14
|
||||
"@storybook/channels": 6.4.0-beta.14
|
||||
"@storybook/client-logger": 6.4.0-beta.14
|
||||
"@storybook/components": 6.4.0-beta.14
|
||||
"@storybook/core-events": 6.4.0-beta.14
|
||||
"@storybook/router": 6.4.0-beta.14
|
||||
"@storybook/semver": ^7.3.2
|
||||
"@storybook/theming": 6.4.0-beta.9
|
||||
"@storybook/theming": 6.4.0-beta.14
|
||||
copy-to-clipboard: ^3.3.1
|
||||
core-js: ^3.8.2
|
||||
core-js-pure: ^3.8.2
|
||||
@ -3160,13 +3161,13 @@ __metadata:
|
||||
"@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.4.0-beta.9
|
||||
"@storybook/client-api": 6.4.0-beta.9
|
||||
"@storybook/core": 6.4.0-beta.9
|
||||
"@storybook/core-common": 6.4.0-beta.9
|
||||
"@storybook/addons": 6.4.0-beta.14
|
||||
"@storybook/client-api": 6.4.0-beta.14
|
||||
"@storybook/core": 6.4.0-beta.14
|
||||
"@storybook/core-common": 6.4.0-beta.14
|
||||
"@storybook/csf": 0.0.2--canary.87bc651.0
|
||||
"@storybook/preview-web": 6.4.0-beta.9
|
||||
"@storybook/store": 6.4.0-beta.9
|
||||
"@storybook/preview-web": 6.4.0-beta.14
|
||||
"@storybook/store": 6.4.0-beta.14
|
||||
"@types/webpack-env": ^1.16.0
|
||||
babel-plugin-bundled-import-meta: ^0.3.1
|
||||
core-js: ^3.8.2
|
||||
@ -8474,10 +8475,10 @@ fsevents@^1.2.7:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"is-plain-object@npm:3.0.1":
|
||||
version: 3.0.1
|
||||
resolution: "is-plain-object@npm:3.0.1"
|
||||
checksum: eac88599d3f030b313aa5a12d09bd3c52ce3b8cd975b2fdda6bb3bb69ac0bc1b93cd292123769eb480b914d1dd1fed7633cdeb490458d41294eb32efdedec230
|
||||
"is-plain-object@npm:5.0.0":
|
||||
version: 5.0.0
|
||||
resolution: "is-plain-object@npm:5.0.0"
|
||||
checksum: 893e42bad832aae3511c71fd61c0bf61aa3a6d853061c62a307261842727d0d25f761ce9379f7ba7226d6179db2a3157efa918e7fe26360f3bf0842d9f28942c
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@ -11699,16 +11700,17 @@ fsevents@^1.2.7:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"react-element-to-jsx-string@npm:^14.3.2":
|
||||
version: 14.3.2
|
||||
resolution: "react-element-to-jsx-string@npm:14.3.2"
|
||||
"react-element-to-jsx-string@npm:^14.3.4":
|
||||
version: 14.3.4
|
||||
resolution: "react-element-to-jsx-string@npm:14.3.4"
|
||||
dependencies:
|
||||
"@base2/pretty-print-object": 1.0.0
|
||||
is-plain-object: 3.0.1
|
||||
"@base2/pretty-print-object": 1.0.1
|
||||
is-plain-object: 5.0.0
|
||||
react-is: 17.0.2
|
||||
peerDependencies:
|
||||
react: ^0.14.8 || ^15.0.1 || ^16.0.0 || ^17.0.1
|
||||
react-dom: ^0.14.8 || ^15.0.1 || ^16.0.0 || ^17.0.1
|
||||
checksum: f6a071cf5fdd43d5648863257a3f0c110f3df6cdb869a62dc021b4ec9fc2d8abaef8f68d84c87e28b9700f86588bba7bec59128df7672edddbbd6a6c53d84789
|
||||
checksum: 4ead664b2e26e76af57c9ce2f2a46e79fda1d3a408afb5f34d03357d195b7f41a1a86bb9286b6d6ba76c9c2611fe56bc038665cf27fdb56f571d235ddfce9ffb
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@ -11755,7 +11757,7 @@ fsevents@^1.2.7:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"react-is@npm:^16.12.0 || ^17.0.0, react-is@npm:^17.0.1, react-is@npm:^17.0.2":
|
||||
"react-is@npm:17.0.2, react-is@npm:^16.12.0 || ^17.0.0, react-is@npm:^17.0.1, react-is@npm:^17.0.2":
|
||||
version: 17.0.2
|
||||
resolution: "react-is@npm:17.0.2"
|
||||
checksum: 2bdb6b93fbb1820b024b496042cce405c57e2f85e777c9aabd55f9b26d145408f9f74f5934676ffdc46f3dcff656d78413a6e43968e7b3f92eea35b3052e9053
|
||||
|
@ -2,5 +2,5 @@
|
||||
"npmClient": "yarn",
|
||||
"useWorkspaces": true,
|
||||
"registry": "https://registry.npmjs.org",
|
||||
"version": "6.4.0-beta.15"
|
||||
"version": "6.4.0-beta.16"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addons",
|
||||
"version": "6.4.0-beta.15",
|
||||
"version": "6.4.0-beta.16",
|
||||
"description": "Storybook addons store",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -40,13 +40,13 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/api": "6.4.0-beta.15",
|
||||
"@storybook/channels": "6.4.0-beta.15",
|
||||
"@storybook/client-logger": "6.4.0-beta.15",
|
||||
"@storybook/core-events": "6.4.0-beta.15",
|
||||
"@storybook/api": "6.4.0-beta.16",
|
||||
"@storybook/channels": "6.4.0-beta.16",
|
||||
"@storybook/client-logger": "6.4.0-beta.16",
|
||||
"@storybook/core-events": "6.4.0-beta.16",
|
||||
"@storybook/csf": "0.0.2--canary.87bc651.0",
|
||||
"@storybook/router": "6.4.0-beta.15",
|
||||
"@storybook/theming": "6.4.0-beta.15",
|
||||
"@storybook/router": "6.4.0-beta.16",
|
||||
"@storybook/theming": "6.4.0-beta.16",
|
||||
"@types/webpack-env": "^1.16.0",
|
||||
"core-js": "^3.8.2",
|
||||
"global": "^4.4.0",
|
||||
@ -59,6 +59,6 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "f3bcbe0094355fe373d47570cdabc548b93b0b64",
|
||||
"gitHead": "51cd442b428ccbb626003da5cc4491e670a1f281",
|
||||
"sbmodern": "dist/modern/public_api.js"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/api",
|
||||
"version": "6.4.0-beta.15",
|
||||
"version": "6.4.0-beta.16",
|
||||
"description": "Core Storybook API & Context",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -39,13 +39,13 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@reach/router": "^1.3.4",
|
||||
"@storybook/channels": "6.4.0-beta.15",
|
||||
"@storybook/client-logger": "6.4.0-beta.15",
|
||||
"@storybook/core-events": "6.4.0-beta.15",
|
||||
"@storybook/channels": "6.4.0-beta.16",
|
||||
"@storybook/client-logger": "6.4.0-beta.16",
|
||||
"@storybook/core-events": "6.4.0-beta.16",
|
||||
"@storybook/csf": "0.0.2--canary.87bc651.0",
|
||||
"@storybook/router": "6.4.0-beta.15",
|
||||
"@storybook/router": "6.4.0-beta.16",
|
||||
"@storybook/semver": "^7.3.2",
|
||||
"@storybook/theming": "6.4.0-beta.15",
|
||||
"@storybook/theming": "6.4.0-beta.16",
|
||||
"@types/reach__router": "^1.3.7",
|
||||
"core-js": "^3.8.2",
|
||||
"fast-deep-equal": "^3.1.3",
|
||||
@ -72,6 +72,6 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "f3bcbe0094355fe373d47570cdabc548b93b0b64",
|
||||
"gitHead": "51cd442b428ccbb626003da5cc4491e670a1f281",
|
||||
"sbmodern": "dist/modern/index.js"
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
export const version = '6.4.0-beta.15';
|
||||
export const version = '6.4.0-beta.16';
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/builder-webpack4",
|
||||
"version": "6.4.0-beta.15",
|
||||
"version": "6.4.0-beta.16",
|
||||
"description": "Storybook framework-agnostic API",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -61,22 +61,22 @@
|
||||
"@babel/preset-env": "^7.12.11",
|
||||
"@babel/preset-react": "^7.12.10",
|
||||
"@babel/preset-typescript": "^7.12.7",
|
||||
"@storybook/addons": "6.4.0-beta.15",
|
||||
"@storybook/api": "6.4.0-beta.15",
|
||||
"@storybook/channel-postmessage": "6.4.0-beta.15",
|
||||
"@storybook/channels": "6.4.0-beta.15",
|
||||
"@storybook/client-api": "6.4.0-beta.15",
|
||||
"@storybook/client-logger": "6.4.0-beta.15",
|
||||
"@storybook/components": "6.4.0-beta.15",
|
||||
"@storybook/core-common": "6.4.0-beta.15",
|
||||
"@storybook/core-events": "6.4.0-beta.15",
|
||||
"@storybook/node-logger": "6.4.0-beta.15",
|
||||
"@storybook/preview-web": "6.4.0-beta.15",
|
||||
"@storybook/router": "6.4.0-beta.15",
|
||||
"@storybook/addons": "6.4.0-beta.16",
|
||||
"@storybook/api": "6.4.0-beta.16",
|
||||
"@storybook/channel-postmessage": "6.4.0-beta.16",
|
||||
"@storybook/channels": "6.4.0-beta.16",
|
||||
"@storybook/client-api": "6.4.0-beta.16",
|
||||
"@storybook/client-logger": "6.4.0-beta.16",
|
||||
"@storybook/components": "6.4.0-beta.16",
|
||||
"@storybook/core-common": "6.4.0-beta.16",
|
||||
"@storybook/core-events": "6.4.0-beta.16",
|
||||
"@storybook/node-logger": "6.4.0-beta.16",
|
||||
"@storybook/preview-web": "6.4.0-beta.16",
|
||||
"@storybook/router": "6.4.0-beta.16",
|
||||
"@storybook/semver": "^7.3.2",
|
||||
"@storybook/store": "6.4.0-beta.15",
|
||||
"@storybook/theming": "6.4.0-beta.15",
|
||||
"@storybook/ui": "6.4.0-beta.15",
|
||||
"@storybook/store": "6.4.0-beta.16",
|
||||
"@storybook/theming": "6.4.0-beta.16",
|
||||
"@storybook/ui": "6.4.0-beta.16",
|
||||
"@types/node": "^14.0.10",
|
||||
"@types/webpack": "^4.41.26",
|
||||
"autoprefixer": "^9.8.6",
|
||||
@ -131,6 +131,6 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "f3bcbe0094355fe373d47570cdabc548b93b0b64",
|
||||
"gitHead": "51cd442b428ccbb626003da5cc4491e670a1f281",
|
||||
"sbmodern": "dist/modern/index.js"
|
||||
}
|
||||
|
@ -25,6 +25,7 @@ import {
|
||||
normalizeStories,
|
||||
loadPreviewOrConfigFile,
|
||||
readTemplate,
|
||||
CoreConfig,
|
||||
} from '@storybook/core-common';
|
||||
import { createBabelLoader } from './babel-loader-preview';
|
||||
|
||||
@ -74,6 +75,7 @@ export default async (options: Options & Record<string, any>): Promise<Configura
|
||||
const bodyHtmlSnippet = await presets.apply('previewBody');
|
||||
const template = await presets.apply<string>('previewMainTemplate');
|
||||
const envs = await presets.apply<Record<string, string>>('env');
|
||||
const coreOptions = await presets.apply<CoreConfig>('core');
|
||||
|
||||
const babelLoader = createBabelLoader(babelOptions, framework);
|
||||
const isProd = configType === 'PRODUCTION';
|
||||
@ -183,6 +185,7 @@ export default async (options: Options & Record<string, any>): Promise<Configura
|
||||
CONFIG_TYPE: configType,
|
||||
LOGLEVEL: logLevel,
|
||||
FRAMEWORK_OPTIONS: frameworkOptions,
|
||||
CHANNEL_OPTIONS: coreOptions?.channelOptions,
|
||||
FEATURES: features,
|
||||
STORIES: stories.map((specifier) => ({
|
||||
...specifier,
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/builder-webpack5",
|
||||
"version": "6.4.0-beta.15",
|
||||
"version": "6.4.0-beta.16",
|
||||
"description": "Storybook framework-agnostic API",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -60,21 +60,21 @@
|
||||
"@babel/preset-env": "^7.12.11",
|
||||
"@babel/preset-react": "^7.12.10",
|
||||
"@babel/preset-typescript": "^7.12.7",
|
||||
"@storybook/addons": "6.4.0-beta.15",
|
||||
"@storybook/api": "6.4.0-beta.15",
|
||||
"@storybook/channel-postmessage": "6.4.0-beta.15",
|
||||
"@storybook/channels": "6.4.0-beta.15",
|
||||
"@storybook/client-api": "6.4.0-beta.15",
|
||||
"@storybook/client-logger": "6.4.0-beta.15",
|
||||
"@storybook/components": "6.4.0-beta.15",
|
||||
"@storybook/core-common": "6.4.0-beta.15",
|
||||
"@storybook/core-events": "6.4.0-beta.15",
|
||||
"@storybook/node-logger": "6.4.0-beta.15",
|
||||
"@storybook/preview-web": "6.4.0-beta.15",
|
||||
"@storybook/router": "6.4.0-beta.15",
|
||||
"@storybook/addons": "6.4.0-beta.16",
|
||||
"@storybook/api": "6.4.0-beta.16",
|
||||
"@storybook/channel-postmessage": "6.4.0-beta.16",
|
||||
"@storybook/channels": "6.4.0-beta.16",
|
||||
"@storybook/client-api": "6.4.0-beta.16",
|
||||
"@storybook/client-logger": "6.4.0-beta.16",
|
||||
"@storybook/components": "6.4.0-beta.16",
|
||||
"@storybook/core-common": "6.4.0-beta.16",
|
||||
"@storybook/core-events": "6.4.0-beta.16",
|
||||
"@storybook/node-logger": "6.4.0-beta.16",
|
||||
"@storybook/preview-web": "6.4.0-beta.16",
|
||||
"@storybook/router": "6.4.0-beta.16",
|
||||
"@storybook/semver": "^7.3.2",
|
||||
"@storybook/store": "6.4.0-beta.15",
|
||||
"@storybook/theming": "6.4.0-beta.15",
|
||||
"@storybook/store": "6.4.0-beta.16",
|
||||
"@storybook/theming": "6.4.0-beta.16",
|
||||
"@types/node": "^14.0.10",
|
||||
"babel-loader": "^8.0.0",
|
||||
"babel-plugin-macros": "^3.0.1",
|
||||
@ -117,6 +117,6 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "f3bcbe0094355fe373d47570cdabc548b93b0b64",
|
||||
"gitHead": "51cd442b428ccbb626003da5cc4491e670a1f281",
|
||||
"sbmodern": "dist/modern/index.js"
|
||||
}
|
||||
|
@ -21,6 +21,7 @@ import {
|
||||
normalizeStories,
|
||||
readTemplate,
|
||||
loadPreviewOrConfigFile,
|
||||
CoreConfig,
|
||||
} from '@storybook/core-common';
|
||||
import { createBabelLoader } from './babel-loader-preview';
|
||||
|
||||
@ -69,6 +70,7 @@ export default async (options: Options & Record<string, any>): Promise<Configura
|
||||
const headHtmlSnippet = await presets.apply('previewHead');
|
||||
const bodyHtmlSnippet = await presets.apply('previewBody');
|
||||
const template = await presets.apply<string>('previewMainTemplate');
|
||||
const coreOptions = await presets.apply<CoreConfig>('core');
|
||||
|
||||
const babelLoader = createBabelLoader(babelOptions, framework);
|
||||
const isProd = configType === 'PRODUCTION';
|
||||
@ -182,6 +184,7 @@ export default async (options: Options & Record<string, any>): Promise<Configura
|
||||
CONFIG_TYPE: configType,
|
||||
LOGLEVEL: logLevel,
|
||||
FRAMEWORK_OPTIONS: frameworkOptions,
|
||||
CHANNEL_OPTIONS: coreOptions?.channelOptions,
|
||||
FEATURES: features,
|
||||
STORIES: stories.map((specifier) => ({
|
||||
...specifier,
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/channel-postmessage",
|
||||
"version": "6.4.0-beta.15",
|
||||
"version": "6.4.0-beta.16",
|
||||
"description": "",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -40,9 +40,9 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/channels": "6.4.0-beta.15",
|
||||
"@storybook/client-logger": "6.4.0-beta.15",
|
||||
"@storybook/core-events": "6.4.0-beta.15",
|
||||
"@storybook/channels": "6.4.0-beta.16",
|
||||
"@storybook/client-logger": "6.4.0-beta.16",
|
||||
"@storybook/core-events": "6.4.0-beta.16",
|
||||
"core-js": "^3.8.2",
|
||||
"global": "^4.4.0",
|
||||
"qs": "^6.10.0",
|
||||
@ -51,6 +51,6 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "f3bcbe0094355fe373d47570cdabc548b93b0b64",
|
||||
"gitHead": "51cd442b428ccbb626003da5cc4491e670a1f281",
|
||||
"sbmodern": "dist/modern/index.js"
|
||||
}
|
||||
|
@ -58,18 +58,40 @@ export class PostmsgTransport {
|
||||
* @param event
|
||||
*/
|
||||
send(event: ChannelEvent, options?: any): Promise<any> {
|
||||
let depth = 25;
|
||||
let allowFunction = true;
|
||||
let target;
|
||||
const {
|
||||
target,
|
||||
|
||||
if (options && typeof options.allowFunction === 'boolean') {
|
||||
allowFunction = options.allowFunction;
|
||||
}
|
||||
// telejson options
|
||||
allowRegExp,
|
||||
allowFunction = true,
|
||||
allowSymbol,
|
||||
allowDate,
|
||||
allowUndefined,
|
||||
allowClass,
|
||||
maxDepth = 25,
|
||||
space,
|
||||
lazyEval,
|
||||
} = options || {};
|
||||
|
||||
const c = Object.fromEntries(
|
||||
Object.entries({
|
||||
allowRegExp,
|
||||
allowFunction,
|
||||
allowSymbol,
|
||||
allowDate,
|
||||
allowUndefined,
|
||||
allowClass,
|
||||
maxDepth,
|
||||
space,
|
||||
lazyEval,
|
||||
}).filter(([k, v]) => typeof v !== 'undefined')
|
||||
);
|
||||
|
||||
const stringifyOptions = { ...(global.CHANNEL_OPTIONS || {}), ...c };
|
||||
|
||||
// backwards compat: convert depth to maxDepth
|
||||
if (options && Number.isInteger(options.depth)) {
|
||||
depth = options.depth;
|
||||
}
|
||||
if (options && typeof options.target === 'string') {
|
||||
target = options.target;
|
||||
stringifyOptions.maxDepth = options.depth;
|
||||
}
|
||||
|
||||
const frames = this.getFrames(target);
|
||||
@ -82,7 +104,7 @@ export class PostmsgTransport {
|
||||
event,
|
||||
refId: query.refId,
|
||||
},
|
||||
{ maxDepth: depth, allowFunction }
|
||||
stringifyOptions
|
||||
);
|
||||
|
||||
if (!frames.length) {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/channel-websocket",
|
||||
"version": "6.4.0-beta.15",
|
||||
"version": "6.4.0-beta.16",
|
||||
"description": "",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -40,7 +40,7 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/channels": "6.4.0-beta.15",
|
||||
"@storybook/channels": "6.4.0-beta.16",
|
||||
"core-js": "^3.8.2",
|
||||
"global": "^4.4.0",
|
||||
"telejson": "^5.3.2"
|
||||
@ -48,6 +48,6 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "f3bcbe0094355fe373d47570cdabc548b93b0b64",
|
||||
"gitHead": "51cd442b428ccbb626003da5cc4491e670a1f281",
|
||||
"sbmodern": "dist/modern/index.js"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/channels",
|
||||
"version": "6.4.0-beta.15",
|
||||
"version": "6.4.0-beta.16",
|
||||
"description": "",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -47,6 +47,6 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "f3bcbe0094355fe373d47570cdabc548b93b0b64",
|
||||
"gitHead": "51cd442b428ccbb626003da5cc4491e670a1f281",
|
||||
"sbmodern": "dist/modern/index.js"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "sb",
|
||||
"version": "6.4.0-beta.15",
|
||||
"version": "6.4.0-beta.16",
|
||||
"description": "Storybook CLI",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -24,10 +24,10 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/cli": "6.4.0-beta.15"
|
||||
"@storybook/cli": "6.4.0-beta.16"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "f3bcbe0094355fe373d47570cdabc548b93b0b64"
|
||||
"gitHead": "51cd442b428ccbb626003da5cc4491e670a1f281"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "storybook",
|
||||
"version": "6.4.0-beta.15",
|
||||
"version": "6.4.0-beta.16",
|
||||
"description": "Storybook CLI",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -27,10 +27,10 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/cli": "6.4.0-beta.15"
|
||||
"@storybook/cli": "6.4.0-beta.16"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "f3bcbe0094355fe373d47570cdabc548b93b0b64"
|
||||
"gitHead": "51cd442b428ccbb626003da5cc4491e670a1f281"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/cli",
|
||||
"version": "6.4.0-beta.15",
|
||||
"version": "6.4.0-beta.16",
|
||||
"description": "Storybook's CLI - easiest method of adding storybook to your projects",
|
||||
"keywords": [
|
||||
"cli",
|
||||
@ -48,10 +48,10 @@
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.12.10",
|
||||
"@babel/preset-env": "^7.12.11",
|
||||
"@storybook/codemod": "6.4.0-beta.15",
|
||||
"@storybook/core-common": "6.4.0-beta.15",
|
||||
"@storybook/csf-tools": "6.4.0-beta.15",
|
||||
"@storybook/node-logger": "6.4.0-beta.15",
|
||||
"@storybook/codemod": "6.4.0-beta.16",
|
||||
"@storybook/core-common": "6.4.0-beta.16",
|
||||
"@storybook/csf-tools": "6.4.0-beta.16",
|
||||
"@storybook/node-logger": "6.4.0-beta.16",
|
||||
"@storybook/semver": "^7.3.2",
|
||||
"boxen": "^5.1.2",
|
||||
"chalk": "^4.1.0",
|
||||
@ -76,7 +76,7 @@
|
||||
"update-notifier": "^5.0.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/client-api": "6.4.0-beta.15",
|
||||
"@storybook/client-api": "6.4.0-beta.16",
|
||||
"@types/cross-spawn": "^6.0.2",
|
||||
"@types/prompts": "^2.0.9",
|
||||
"@types/puppeteer-core": "^2.1.0",
|
||||
@ -92,5 +92,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "f3bcbe0094355fe373d47570cdabc548b93b0b64"
|
||||
"gitHead": "51cd442b428ccbb626003da5cc4491e670a1f281"
|
||||
}
|
||||
|
@ -1,7 +1,8 @@
|
||||
import { cra5 } from './cra5';
|
||||
import { webpack5 } from './webpack5';
|
||||
import { angular12 } from './angular12';
|
||||
import { mainjsFramework } from './mainjsFramework';
|
||||
import { Fix } from '../types';
|
||||
|
||||
export * from '../types';
|
||||
export const fixes: Fix[] = [cra5, webpack5, angular12];
|
||||
export const fixes: Fix[] = [cra5, webpack5, angular12, mainjsFramework];
|
||||
|
69
lib/cli/src/automigrate/fixes/mainjsFramework.ts
Normal file
69
lib/cli/src/automigrate/fixes/mainjsFramework.ts
Normal file
@ -0,0 +1,69 @@
|
||||
import chalk from 'chalk';
|
||||
import dedent from 'ts-dedent';
|
||||
|
||||
import semver from '@storybook/semver';
|
||||
import { ConfigFile, readConfig, writeConfig } from '@storybook/csf-tools';
|
||||
|
||||
import { getStorybookInfo } from '../helpers/getStorybookInfo';
|
||||
import { Fix } from '../types';
|
||||
|
||||
const logger = console;
|
||||
|
||||
interface MainjsFrameworkRunOptions {
|
||||
framework: string;
|
||||
main: ConfigFile;
|
||||
}
|
||||
|
||||
export const mainjsFramework: Fix<MainjsFrameworkRunOptions> = {
|
||||
id: 'mainjsFramework',
|
||||
|
||||
async check({ packageManager }) {
|
||||
const packageJson = packageManager.retrievePackageJson();
|
||||
const { mainConfig, framework, version: storybookVersion } = getStorybookInfo(packageJson);
|
||||
|
||||
const storybookCoerced = storybookVersion && semver.coerce(storybookVersion)?.version;
|
||||
if (!storybookCoerced) {
|
||||
logger.warn(dedent`
|
||||
❌ Unable to determine storybook version, skipping ${chalk.cyan('mainjsFramework')} fix.
|
||||
🤔 Are you running automigrate from your project directory?
|
||||
`);
|
||||
return null;
|
||||
}
|
||||
|
||||
const main = await readConfig(mainConfig);
|
||||
const currentFramework = main.getFieldValue(['framework']);
|
||||
const features = main.getFieldValue(['features']);
|
||||
|
||||
if (currentFramework) return null;
|
||||
|
||||
return features?.breakingChangesV7 ||
|
||||
features?.storyStoreV7 ||
|
||||
semver.gte(storybookCoerced, '7.0.0')
|
||||
? { main, framework: `@storybook/${framework}` }
|
||||
: null;
|
||||
},
|
||||
|
||||
prompt({ framework }) {
|
||||
const frameworkFormatted = chalk.cyan(`framework: '${framework}'`);
|
||||
|
||||
return dedent`
|
||||
We've detected that your main.js configuration file does not specify the
|
||||
'framework' field, which is a requirement in SB7.0 and above. We can add one
|
||||
for you automatically:
|
||||
|
||||
${frameworkFormatted}
|
||||
|
||||
More info: ${chalk.yellow(
|
||||
'https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#mainjs-framework-field'
|
||||
)}
|
||||
`;
|
||||
},
|
||||
|
||||
async run({ result: { main, framework }, dryRun }) {
|
||||
logger.info(`✅ Setting 'framework' to '${framework}' in main.js`);
|
||||
if (!dryRun) {
|
||||
main.setFieldValue(['framework'], framework);
|
||||
await writeConfig(main);
|
||||
}
|
||||
},
|
||||
};
|
@ -36,9 +36,12 @@ export const webpack5: Fix<Webpack5RunOptions> & CheckBuilder = {
|
||||
async checkWebpack5Builder(packageJson: PackageJsonWithDepsAndDevDeps) {
|
||||
const { mainConfig, version: storybookVersion } = getStorybookInfo(packageJson);
|
||||
|
||||
const storybookCoerced = semver.coerce(storybookVersion).version;
|
||||
const storybookCoerced = storybookVersion && semver.coerce(storybookVersion)?.version;
|
||||
if (!storybookCoerced) {
|
||||
logger.warn(`Unable to determine storybook version, skipping webpack5 fix.`);
|
||||
logger.warn(dedent`
|
||||
❌ Unable to determine storybook version, skipping ${chalk.cyan('webpack5')} fix.
|
||||
🤔 Are you running automigrate from your project directory?
|
||||
`);
|
||||
return null;
|
||||
}
|
||||
|
||||
|
@ -1,59 +1,59 @@
|
||||
{
|
||||
"@storybook/addon-a11y": "6.4.0-beta.15",
|
||||
"@storybook/addon-actions": "6.4.0-beta.15",
|
||||
"@storybook/addon-backgrounds": "6.4.0-beta.15",
|
||||
"@storybook/addon-controls": "6.4.0-beta.15",
|
||||
"@storybook/addon-docs": "6.4.0-beta.15",
|
||||
"@storybook/addon-essentials": "6.4.0-beta.15",
|
||||
"@storybook/addon-interactions": "6.4.0-beta.15",
|
||||
"@storybook/addon-jest": "6.4.0-beta.15",
|
||||
"@storybook/addon-links": "6.4.0-beta.15",
|
||||
"@storybook/addon-storyshots": "6.4.0-beta.15",
|
||||
"@storybook/addon-storyshots-puppeteer": "6.4.0-beta.15",
|
||||
"@storybook/addon-storysource": "6.4.0-beta.15",
|
||||
"@storybook/addon-toolbars": "6.4.0-beta.15",
|
||||
"@storybook/addon-viewport": "6.4.0-beta.15",
|
||||
"@storybook/addons": "6.4.0-beta.15",
|
||||
"@storybook/angular": "6.4.0-beta.15",
|
||||
"@storybook/api": "6.4.0-beta.15",
|
||||
"@storybook/aurelia": "6.4.0-beta.15",
|
||||
"@storybook/builder-webpack4": "6.4.0-beta.15",
|
||||
"@storybook/builder-webpack5": "6.4.0-beta.15",
|
||||
"@storybook/channel-postmessage": "6.4.0-beta.15",
|
||||
"@storybook/channel-websocket": "6.4.0-beta.15",
|
||||
"@storybook/channels": "6.4.0-beta.15",
|
||||
"@storybook/cli": "6.4.0-beta.15",
|
||||
"@storybook/client-api": "6.4.0-beta.15",
|
||||
"@storybook/client-logger": "6.4.0-beta.15",
|
||||
"@storybook/codemod": "6.4.0-beta.15",
|
||||
"@storybook/components": "6.4.0-beta.15",
|
||||
"@storybook/core": "6.4.0-beta.15",
|
||||
"@storybook/core-client": "6.4.0-beta.15",
|
||||
"@storybook/core-common": "6.4.0-beta.15",
|
||||
"@storybook/core-events": "6.4.0-beta.15",
|
||||
"@storybook/core-server": "6.4.0-beta.15",
|
||||
"@storybook/csf-tools": "6.4.0-beta.15",
|
||||
"@storybook/ember": "6.4.0-beta.15",
|
||||
"@storybook/html": "6.4.0-beta.15",
|
||||
"@storybook/instrumenter": "6.4.0-beta.15",
|
||||
"@storybook/manager-webpack4": "6.4.0-beta.15",
|
||||
"@storybook/manager-webpack5": "6.4.0-beta.15",
|
||||
"@storybook/marionette": "6.4.0-beta.15",
|
||||
"@storybook/marko": "6.4.0-beta.15",
|
||||
"@storybook/mithril": "6.4.0-beta.15",
|
||||
"@storybook/node-logger": "6.4.0-beta.15",
|
||||
"@storybook/postinstall": "6.4.0-beta.15",
|
||||
"@storybook/preact": "6.4.0-beta.15",
|
||||
"@storybook/rax": "6.4.0-beta.15",
|
||||
"@storybook/react": "6.4.0-beta.15",
|
||||
"@storybook/riot": "6.4.0-beta.15",
|
||||
"@storybook/router": "6.4.0-beta.15",
|
||||
"@storybook/server": "6.4.0-beta.15",
|
||||
"@storybook/source-loader": "6.4.0-beta.15",
|
||||
"@storybook/svelte": "6.4.0-beta.15",
|
||||
"@storybook/theming": "6.4.0-beta.15",
|
||||
"@storybook/ui": "6.4.0-beta.15",
|
||||
"@storybook/vue": "6.4.0-beta.15",
|
||||
"@storybook/vue3": "6.4.0-beta.15",
|
||||
"@storybook/web-components": "6.4.0-beta.15"
|
||||
"@storybook/addon-a11y": "6.4.0-beta.16",
|
||||
"@storybook/addon-actions": "6.4.0-beta.16",
|
||||
"@storybook/addon-backgrounds": "6.4.0-beta.16",
|
||||
"@storybook/addon-controls": "6.4.0-beta.16",
|
||||
"@storybook/addon-docs": "6.4.0-beta.16",
|
||||
"@storybook/addon-essentials": "6.4.0-beta.16",
|
||||
"@storybook/addon-interactions": "6.4.0-beta.16",
|
||||
"@storybook/addon-jest": "6.4.0-beta.16",
|
||||
"@storybook/addon-links": "6.4.0-beta.16",
|
||||
"@storybook/addon-storyshots": "6.4.0-beta.16",
|
||||
"@storybook/addon-storyshots-puppeteer": "6.4.0-beta.16",
|
||||
"@storybook/addon-storysource": "6.4.0-beta.16",
|
||||
"@storybook/addon-toolbars": "6.4.0-beta.16",
|
||||
"@storybook/addon-viewport": "6.4.0-beta.16",
|
||||
"@storybook/addons": "6.4.0-beta.16",
|
||||
"@storybook/angular": "6.4.0-beta.16",
|
||||
"@storybook/api": "6.4.0-beta.16",
|
||||
"@storybook/aurelia": "6.4.0-beta.16",
|
||||
"@storybook/builder-webpack4": "6.4.0-beta.16",
|
||||
"@storybook/builder-webpack5": "6.4.0-beta.16",
|
||||
"@storybook/channel-postmessage": "6.4.0-beta.16",
|
||||
"@storybook/channel-websocket": "6.4.0-beta.16",
|
||||
"@storybook/channels": "6.4.0-beta.16",
|
||||
"@storybook/cli": "6.4.0-beta.16",
|
||||
"@storybook/client-api": "6.4.0-beta.16",
|
||||
"@storybook/client-logger": "6.4.0-beta.16",
|
||||
"@storybook/codemod": "6.4.0-beta.16",
|
||||
"@storybook/components": "6.4.0-beta.16",
|
||||
"@storybook/core": "6.4.0-beta.16",
|
||||
"@storybook/core-client": "6.4.0-beta.16",
|
||||
"@storybook/core-common": "6.4.0-beta.16",
|
||||
"@storybook/core-events": "6.4.0-beta.16",
|
||||
"@storybook/core-server": "6.4.0-beta.16",
|
||||
"@storybook/csf-tools": "6.4.0-beta.16",
|
||||
"@storybook/ember": "6.4.0-beta.16",
|
||||
"@storybook/html": "6.4.0-beta.16",
|
||||
"@storybook/instrumenter": "6.4.0-beta.16",
|
||||
"@storybook/manager-webpack4": "6.4.0-beta.16",
|
||||
"@storybook/manager-webpack5": "6.4.0-beta.16",
|
||||
"@storybook/marionette": "6.4.0-beta.16",
|
||||
"@storybook/marko": "6.4.0-beta.16",
|
||||
"@storybook/mithril": "6.4.0-beta.16",
|
||||
"@storybook/node-logger": "6.4.0-beta.16",
|
||||
"@storybook/postinstall": "6.4.0-beta.16",
|
||||
"@storybook/preact": "6.4.0-beta.16",
|
||||
"@storybook/rax": "6.4.0-beta.16",
|
||||
"@storybook/react": "6.4.0-beta.16",
|
||||
"@storybook/riot": "6.4.0-beta.16",
|
||||
"@storybook/router": "6.4.0-beta.16",
|
||||
"@storybook/server": "6.4.0-beta.16",
|
||||
"@storybook/source-loader": "6.4.0-beta.16",
|
||||
"@storybook/svelte": "6.4.0-beta.16",
|
||||
"@storybook/theming": "6.4.0-beta.16",
|
||||
"@storybook/ui": "6.4.0-beta.16",
|
||||
"@storybook/vue": "6.4.0-beta.16",
|
||||
"@storybook/vue3": "6.4.0-beta.16",
|
||||
"@storybook/web-components": "6.4.0-beta.16"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/client-api",
|
||||
"version": "6.4.0-beta.15",
|
||||
"version": "6.4.0-beta.16",
|
||||
"description": "Storybook Client API",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -40,13 +40,13 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.4.0-beta.15",
|
||||
"@storybook/channel-postmessage": "6.4.0-beta.15",
|
||||
"@storybook/channels": "6.4.0-beta.15",
|
||||
"@storybook/client-logger": "6.4.0-beta.15",
|
||||
"@storybook/core-events": "6.4.0-beta.15",
|
||||
"@storybook/addons": "6.4.0-beta.16",
|
||||
"@storybook/channel-postmessage": "6.4.0-beta.16",
|
||||
"@storybook/channels": "6.4.0-beta.16",
|
||||
"@storybook/client-logger": "6.4.0-beta.16",
|
||||
"@storybook/core-events": "6.4.0-beta.16",
|
||||
"@storybook/csf": "0.0.2--canary.87bc651.0",
|
||||
"@storybook/store": "6.4.0-beta.15",
|
||||
"@storybook/store": "6.4.0-beta.16",
|
||||
"@types/qs": "^6.9.5",
|
||||
"@types/webpack-env": "^1.16.0",
|
||||
"core-js": "^3.8.2",
|
||||
@ -67,6 +67,6 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "f3bcbe0094355fe373d47570cdabc548b93b0b64",
|
||||
"gitHead": "51cd442b428ccbb626003da5cc4491e670a1f281",
|
||||
"sbmodern": "dist/modern/index.js"
|
||||
}
|
||||
|
@ -10,6 +10,8 @@ import {
|
||||
|
||||
export * from './types';
|
||||
|
||||
export * from './queryparams';
|
||||
|
||||
// Typescript isn't happy that we are overwriting some types from store here
|
||||
// @ts-ignore
|
||||
export * from '@storybook/store';
|
||||
|
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