Web-components: Move docs preset to framework

This commit is contained in:
Michael Shilman 2022-03-12 12:39:32 +08:00
parent e6f379d8c5
commit 32e4de9c94
20 changed files with 196 additions and 282 deletions

View File

@ -52,9 +52,11 @@
"@babel/preset-env": "^7.12.11",
"@storybook/addons": "6.5.0-alpha.47",
"@storybook/client-api": "6.5.0-alpha.47",
"@storybook/client-logger": "6.5.0-alpha.47",
"@storybook/core": "6.5.0-alpha.47",
"@storybook/core-common": "6.5.0-alpha.47",
"@storybook/csf": "0.0.2--canary.87bc651.0",
"@storybook/docs-tools": "6.5.0-alpha.47",
"@storybook/preview-web": "6.5.0-alpha.47",
"@storybook/store": "6.5.0-alpha.47",
"@types/node": "^14.14.20 || ^16.0.0",

View File

@ -1,7 +1,7 @@
import { SourceType, enhanceArgTypes } from '@storybook/docs-tools';
import { extractArgTypes, extractComponentDescription } from './custom-elements';
import { sourceDecorator } from './sourceDecorator';
import { prepareForInline } from './prepareForInline';
import { SourceType } from '../../shared';
export const decorators = [sourceDecorator];
@ -17,3 +17,5 @@ export const parameters = {
},
},
};
export const argTypesEnhancers = [enhanceArgTypes];

View File

@ -1,6 +1,6 @@
import { getCustomElements, isValidComponent, isValidMetaData } from '@storybook/web-components';
import type { ArgType, ArgTypes } from '@storybook/api';
import { logger } from '@storybook/client-logger';
import { getCustomElements, isValidComponent, isValidMetaData } from '..';
interface TagItem {
name: string;

View File

@ -1,9 +1,9 @@
import type { PartialStoryFn } from '@storybook/csf';
import { WebComponentsFramework } from '@storybook/web-components';
import React from 'react';
import { render } from 'lit-html';
import { WebComponentsFramework } from '..';
export const prepareForInline = (storyFn: PartialStoryFn<WebComponentsFramework>) => {
class Story extends React.Component {
wrapperRef = React.createRef<HTMLElement>();

View File

@ -2,8 +2,8 @@ import { html } from 'lit-html';
import { styleMap } from 'lit-html/directives/style-map';
import { addons, useEffect } from '@storybook/addons';
import type { StoryContext } from '@storybook/addons';
import { SNIPPET_RENDERED } from '@storybook/docs-tools';
import { sourceDecorator } from './sourceDecorator';
import { SNIPPET_RENDERED } from '../../shared';
jest.mock('@storybook/addons');
const mockedAddons = addons as jest.Mocked<typeof addons>;

View File

@ -2,9 +2,9 @@
import { render } from 'lit-html';
import type { ArgsStoryFn, PartialStoryFn, StoryContext } from '@storybook/csf';
import { addons, useEffect } from '@storybook/addons';
import type { WebComponentsFramework } from '@storybook/web-components';
import { SNIPPET_RENDERED, SourceType } from '@storybook/docs-tools';
import { SNIPPET_RENDERED, SourceType } from '../../shared';
import type { WebComponentsFramework } from '..';
function skipSourceRender(context: StoryContext<WebComponentsFramework>) {
const sourceParams = context?.parameters.docs?.source;

View File

@ -0,0 +1,6 @@
// eslint-disable-next-line import/no-extraneous-dependencies
import { findDistEsm, StorybookConfig } from '@storybook/core-common';
export const config: StorybookConfig['config'] = (entry = []) => {
return [...entry, findDistEsm(__dirname, 'client/docs/config')];
};

View File

@ -4,5 +4,8 @@ import type { LoadOptions } from '@storybook/core-common';
export default {
packageJson: sync({ cwd: __dirname }).packageJson,
framework: 'web-components',
frameworkPresets: [require.resolve('./framework-preset-web-components')],
frameworkPresets: [
require.resolve('./framework-preset-web-components'),
require.resolve('./framework-preset-web-components-docs'),
],
} as LoadOptions;

View File

@ -2,15 +2,8 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"rootDir": "./src",
"types": [
"webpack-env",
"node"
]
"types": ["webpack-env", "node"]
},
"include": [
"src/**/*"
],
"exclude": [
"src/__tests__/**/*"
]
}
"include": ["src/**/*"],
"exclude": ["src/**/*.test.*", "src/__tests__/**/*"]
}

View File

@ -40,6 +40,7 @@
"@storybook/core-events": "portal:../../lib/core-events",
"@storybook/core-server": "portal:../../lib/core-server",
"@storybook/csf-tools": "portal:../../lib/csf-tools",
"@storybook/docs-tools": "portal:../../lib/docs-tools",
"@storybook/jest": "^0.0.5",
"@storybook/manager-webpack4": "portal:../../lib/manager-webpack4",
"@storybook/node-logger": "portal:../../lib/node-logger",

View File

@ -1686,13 +1686,6 @@ __metadata:
languageName: node
linkType: hard
"@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
"@bcoe/v8-coverage@npm:^0.2.3":
version: 0.2.3
resolution: "@bcoe/v8-coverage@npm:0.2.3"
@ -2121,14 +2114,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.5.0-alpha.46
"@storybook/api": 6.5.0-alpha.46
"@storybook/channels": 6.5.0-alpha.46
"@storybook/client-logger": 6.5.0-alpha.46
"@storybook/components": 6.5.0-alpha.46
"@storybook/core-events": 6.5.0-alpha.46
"@storybook/addons": 6.5.0-alpha.47
"@storybook/api": 6.5.0-alpha.47
"@storybook/channels": 6.5.0-alpha.47
"@storybook/client-logger": 6.5.0-alpha.47
"@storybook/components": 6.5.0-alpha.47
"@storybook/core-events": 6.5.0-alpha.47
"@storybook/csf": 0.0.2--canary.87bc651.0
"@storybook/theming": 6.5.0-alpha.46
"@storybook/theming": 6.5.0-alpha.47
axe-core: ^4.2.0
core-js: ^3.8.2
global: ^4.4.0
@ -2152,12 +2145,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.5.0-alpha.46
"@storybook/api": 6.5.0-alpha.46
"@storybook/components": 6.5.0-alpha.46
"@storybook/core-events": 6.5.0-alpha.46
"@storybook/addons": 6.5.0-alpha.47
"@storybook/api": 6.5.0-alpha.47
"@storybook/components": 6.5.0-alpha.47
"@storybook/core-events": 6.5.0-alpha.47
"@storybook/csf": 0.0.2--canary.87bc651.0
"@storybook/theming": 6.5.0-alpha.46
"@storybook/theming": 6.5.0-alpha.47
core-js: ^3.8.2
fast-deep-equal: ^3.1.3
global: ^4.4.0
@ -2185,13 +2178,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.5.0-alpha.46
"@storybook/api": 6.5.0-alpha.46
"@storybook/client-logger": 6.5.0-alpha.46
"@storybook/components": 6.5.0-alpha.46
"@storybook/core-events": 6.5.0-alpha.46
"@storybook/addons": 6.5.0-alpha.47
"@storybook/api": 6.5.0-alpha.47
"@storybook/client-logger": 6.5.0-alpha.47
"@storybook/components": 6.5.0-alpha.47
"@storybook/core-events": 6.5.0-alpha.47
"@storybook/csf": 0.0.2--canary.87bc651.0
"@storybook/theming": 6.5.0-alpha.46
"@storybook/theming": 6.5.0-alpha.47
core-js: ^3.8.2
global: ^4.4.0
memoizerific: ^1.11.3
@ -2213,15 +2206,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.5.0-alpha.46
"@storybook/api": 6.5.0-alpha.46
"@storybook/client-logger": 6.5.0-alpha.46
"@storybook/components": 6.5.0-alpha.46
"@storybook/core-common": 6.5.0-alpha.46
"@storybook/addons": 6.5.0-alpha.47
"@storybook/api": 6.5.0-alpha.47
"@storybook/client-logger": 6.5.0-alpha.47
"@storybook/components": 6.5.0-alpha.47
"@storybook/core-common": 6.5.0-alpha.47
"@storybook/csf": 0.0.2--canary.87bc651.0
"@storybook/node-logger": 6.5.0-alpha.46
"@storybook/store": 6.5.0-alpha.46
"@storybook/theming": 6.5.0-alpha.46
"@storybook/node-logger": 6.5.0-alpha.47
"@storybook/store": 6.5.0-alpha.47
"@storybook/theming": 6.5.0-alpha.47
core-js: ^3.8.2
lodash: ^4.17.21
ts-dedent: ^2.0.0
@ -2240,103 +2233,48 @@ __metadata:
version: 0.0.0-use.local
resolution: "@storybook/addon-docs@portal:../../addons/docs::locator=web-components-kitchen-sink%40workspace%3A."
dependencies:
"@babel/core": ^7.12.10
"@babel/generator": ^7.12.11
"@babel/parser": ^7.12.11
"@babel/plugin-transform-react-jsx": ^7.12.12
"@babel/preset-env": ^7.12.11
"@jest/transform": ^26.6.2
"@mdx-js/react": ^1.6.22
"@storybook/addons": 6.5.0-alpha.46
"@storybook/api": 6.5.0-alpha.46
"@storybook/builder-webpack4": 6.5.0-alpha.46
"@storybook/client-logger": 6.5.0-alpha.46
"@storybook/components": 6.5.0-alpha.46
"@storybook/core": 6.5.0-alpha.46
"@storybook/core-events": 6.5.0-alpha.46
"@storybook/addons": 6.5.0-alpha.47
"@storybook/api": 6.5.0-alpha.47
"@storybook/components": 6.5.0-alpha.47
"@storybook/core-common": 6.5.0-alpha.47
"@storybook/core-events": 6.5.0-alpha.47
"@storybook/csf": 0.0.2--canary.87bc651.0
"@storybook/csf-tools": 6.5.0-alpha.46
"@storybook/docs-tools": 6.5.0-alpha.47
"@storybook/mdx1-csf": canary
"@storybook/node-logger": 6.5.0-alpha.46
"@storybook/postinstall": 6.5.0-alpha.46
"@storybook/preview-web": 6.5.0-alpha.46
"@storybook/source-loader": 6.5.0-alpha.46
"@storybook/store": 6.5.0-alpha.46
"@storybook/theming": 6.5.0-alpha.46
acorn: ^7.4.1
acorn-jsx: ^5.3.1
acorn-walk: ^7.2.0
"@storybook/node-logger": 6.5.0-alpha.47
"@storybook/postinstall": 6.5.0-alpha.47
"@storybook/preview-web": 6.5.0-alpha.47
"@storybook/source-loader": 6.5.0-alpha.47
"@storybook/store": 6.5.0-alpha.47
"@storybook/theming": 6.5.0-alpha.47
core-js: ^3.8.2
doctrine: ^3.0.0
escodegen: ^2.0.0
fast-deep-equal: ^3.1.3
global: ^4.4.0
html-tags: ^3.1.0
loader-utils: ^2.0.0
lodash: ^4.17.21
nanoid: ^3.1.23
p-limit: ^3.1.0
prettier: ">=2.2.1 <=2.3.0"
prop-types: ^15.7.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.5.0-alpha.46
"@storybook/html": 6.5.0-alpha.46
"@storybook/mdx2-csf": "*"
"@storybook/react": 6.5.0-alpha.46
"@storybook/vue": 6.5.0-alpha.46
"@storybook/vue3": 6.5.0-alpha.46
"@storybook/web-components": 6.5.0-alpha.46
lit: ^2.0.0
lit-html: ^1.4.1 || ^2.0.0
react: ^16.8.0 || ^17.0.0
react-dom: ^16.8.0 || ^17.0.0
svelte: ^3.31.2
sveltedoc-parser: ^4.1.0
vue: ^2.6.10 || ^3.0.0
webpack: "*"
peerDependenciesMeta:
"@storybook/angular":
optional: true
"@storybook/builder-webpack4":
optional: true
"@storybook/builder-webpack5":
optional: true
"@storybook/html":
optional: true
"@storybook/manager-webpack4":
optional: true
"@storybook/manager-webpack5":
optional: true
"@storybook/mdx2-csf":
optional: true
"@storybook/react":
optional: true
"@storybook/vue":
optional: true
"@storybook/vue3":
optional: true
"@storybook/web-components":
optional: true
lit:
optional: true
lit-html:
optional: true
react:
optional: true
react-dom:
optional: true
svelte:
optional: true
sveltedoc-parser:
optional: true
vue:
optional: true
webpack:
optional: true
languageName: node
@ -2372,11 +2310,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.5.0-alpha.46
"@storybook/client-logger": 6.5.0-alpha.46
"@storybook/core-events": 6.5.0-alpha.46
"@storybook/addons": 6.5.0-alpha.47
"@storybook/client-logger": 6.5.0-alpha.47
"@storybook/core-events": 6.5.0-alpha.47
"@storybook/csf": 0.0.2--canary.87bc651.0
"@storybook/router": 6.5.0-alpha.46
"@storybook/router": 6.5.0-alpha.47
"@types/qs": ^6.9.5
core-js: ^3.8.2
global: ^4.4.0
@ -2400,12 +2338,12 @@ __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.5.0-alpha.46
"@storybook/addons": 6.5.0-alpha.47
"@storybook/babel-plugin-require-context-hook": 1.0.1
"@storybook/client-api": 6.5.0-alpha.46
"@storybook/core": 6.5.0-alpha.46
"@storybook/core-client": 6.5.0-alpha.46
"@storybook/core-common": 6.5.0-alpha.46
"@storybook/client-api": 6.5.0-alpha.47
"@storybook/core": 6.5.0-alpha.47
"@storybook/core-client": 6.5.0-alpha.47
"@storybook/core-common": 6.5.0-alpha.47
"@storybook/csf": 0.0.2--canary.87bc651.0
"@types/glob": ^7.1.3
"@types/jest": ^26.0.16
@ -2475,13 +2413,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.5.0-alpha.46
"@storybook/api": 6.5.0-alpha.46
"@storybook/client-logger": 6.5.0-alpha.46
"@storybook/components": 6.5.0-alpha.46
"@storybook/router": 6.5.0-alpha.46
"@storybook/source-loader": 6.5.0-alpha.46
"@storybook/theming": 6.5.0-alpha.46
"@storybook/addons": 6.5.0-alpha.47
"@storybook/api": 6.5.0-alpha.47
"@storybook/client-logger": 6.5.0-alpha.47
"@storybook/components": 6.5.0-alpha.47
"@storybook/router": 6.5.0-alpha.47
"@storybook/source-loader": 6.5.0-alpha.47
"@storybook/theming": 6.5.0-alpha.47
core-js: ^3.8.2
estraverse: ^5.2.0
loader-utils: ^2.0.0
@ -2504,12 +2442,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.5.0-alpha.46
"@storybook/api": 6.5.0-alpha.46
"@storybook/client-logger": 6.5.0-alpha.46
"@storybook/components": 6.5.0-alpha.46
"@storybook/core-events": 6.5.0-alpha.46
"@storybook/theming": 6.5.0-alpha.46
"@storybook/addons": 6.5.0-alpha.47
"@storybook/api": 6.5.0-alpha.47
"@storybook/client-logger": 6.5.0-alpha.47
"@storybook/components": 6.5.0-alpha.47
"@storybook/core-events": 6.5.0-alpha.47
"@storybook/theming": 6.5.0-alpha.47
core-js: ^3.8.2
global: ^4.4.0
memoizerific: ^1.11.3
@ -2530,13 +2468,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.5.0-alpha.46
"@storybook/channels": 6.5.0-alpha.46
"@storybook/client-logger": 6.5.0-alpha.46
"@storybook/core-events": 6.5.0-alpha.46
"@storybook/api": 6.5.0-alpha.47
"@storybook/channels": 6.5.0-alpha.47
"@storybook/client-logger": 6.5.0-alpha.47
"@storybook/core-events": 6.5.0-alpha.47
"@storybook/csf": 0.0.2--canary.87bc651.0
"@storybook/router": 6.5.0-alpha.46
"@storybook/theming": 6.5.0-alpha.46
"@storybook/router": 6.5.0-alpha.47
"@storybook/theming": 6.5.0-alpha.47
"@types/webpack-env": ^1.16.0
core-js: ^3.8.2
global: ^4.4.0
@ -2551,13 +2489,13 @@ __metadata:
version: 0.0.0-use.local
resolution: "@storybook/api@portal:../../lib/api::locator=web-components-kitchen-sink%40workspace%3A."
dependencies:
"@storybook/channels": 6.5.0-alpha.46
"@storybook/client-logger": 6.5.0-alpha.46
"@storybook/core-events": 6.5.0-alpha.46
"@storybook/channels": 6.5.0-alpha.47
"@storybook/client-logger": 6.5.0-alpha.47
"@storybook/core-events": 6.5.0-alpha.47
"@storybook/csf": 0.0.2--canary.87bc651.0
"@storybook/router": 6.5.0-alpha.46
"@storybook/router": 6.5.0-alpha.47
"@storybook/semver": ^7.3.2
"@storybook/theming": 6.5.0-alpha.46
"@storybook/theming": 6.5.0-alpha.47
core-js: ^3.8.2
fast-deep-equal: ^3.1.3
global: ^4.4.0
@ -2586,22 +2524,22 @@ __metadata:
resolution: "@storybook/builder-webpack4@portal:../../lib/builder-webpack4::locator=web-components-kitchen-sink%40workspace%3A."
dependencies:
"@babel/core": ^7.12.10
"@storybook/addons": 6.5.0-alpha.46
"@storybook/api": 6.5.0-alpha.46
"@storybook/channel-postmessage": 6.5.0-alpha.46
"@storybook/channels": 6.5.0-alpha.46
"@storybook/client-api": 6.5.0-alpha.46
"@storybook/client-logger": 6.5.0-alpha.46
"@storybook/components": 6.5.0-alpha.46
"@storybook/core-common": 6.5.0-alpha.46
"@storybook/core-events": 6.5.0-alpha.46
"@storybook/node-logger": 6.5.0-alpha.46
"@storybook/preview-web": 6.5.0-alpha.46
"@storybook/router": 6.5.0-alpha.46
"@storybook/addons": 6.5.0-alpha.47
"@storybook/api": 6.5.0-alpha.47
"@storybook/channel-postmessage": 6.5.0-alpha.47
"@storybook/channels": 6.5.0-alpha.47
"@storybook/client-api": 6.5.0-alpha.47
"@storybook/client-logger": 6.5.0-alpha.47
"@storybook/components": 6.5.0-alpha.47
"@storybook/core-common": 6.5.0-alpha.47
"@storybook/core-events": 6.5.0-alpha.47
"@storybook/node-logger": 6.5.0-alpha.47
"@storybook/preview-web": 6.5.0-alpha.47
"@storybook/router": 6.5.0-alpha.47
"@storybook/semver": ^7.3.2
"@storybook/store": 6.5.0-alpha.46
"@storybook/theming": 6.5.0-alpha.46
"@storybook/ui": 6.5.0-alpha.46
"@storybook/store": 6.5.0-alpha.47
"@storybook/theming": 6.5.0-alpha.47
"@storybook/ui": 6.5.0-alpha.47
"@types/node": ^14.0.10 || ^16.0.0
"@types/webpack": ^4.41.26
autoprefixer: ^9.8.6
@ -2645,9 +2583,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.5.0-alpha.46
"@storybook/client-logger": 6.5.0-alpha.46
"@storybook/core-events": 6.5.0-alpha.46
"@storybook/channels": 6.5.0-alpha.47
"@storybook/client-logger": 6.5.0-alpha.47
"@storybook/core-events": 6.5.0-alpha.47
core-js: ^3.8.2
global: ^4.4.0
qs: ^6.10.0
@ -2659,8 +2597,8 @@ __metadata:
version: 0.0.0-use.local
resolution: "@storybook/channel-websocket@portal:../../lib/channel-websocket::locator=web-components-kitchen-sink%40workspace%3A."
dependencies:
"@storybook/channels": 6.5.0-alpha.46
"@storybook/client-logger": 6.5.0-alpha.46
"@storybook/channels": 6.5.0-alpha.47
"@storybook/client-logger": 6.5.0-alpha.47
core-js: ^3.8.2
global: ^4.4.0
telejson: ^5.3.3
@ -2681,13 +2619,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.5.0-alpha.46
"@storybook/channel-postmessage": 6.5.0-alpha.46
"@storybook/channels": 6.5.0-alpha.46
"@storybook/client-logger": 6.5.0-alpha.46
"@storybook/core-events": 6.5.0-alpha.46
"@storybook/addons": 6.5.0-alpha.47
"@storybook/channel-postmessage": 6.5.0-alpha.47
"@storybook/channels": 6.5.0-alpha.47
"@storybook/client-logger": 6.5.0-alpha.47
"@storybook/core-events": 6.5.0-alpha.47
"@storybook/csf": 0.0.2--canary.87bc651.0
"@storybook/store": 6.5.0-alpha.46
"@storybook/store": 6.5.0-alpha.47
"@types/qs": ^6.9.5
"@types/webpack-env": ^1.16.0
core-js: ^3.8.2
@ -2720,9 +2658,9 @@ __metadata:
version: 0.0.0-use.local
resolution: "@storybook/components@portal:../../lib/components::locator=web-components-kitchen-sink%40workspace%3A."
dependencies:
"@storybook/client-logger": 6.5.0-alpha.46
"@storybook/client-logger": 6.5.0-alpha.47
"@storybook/csf": 0.0.2--canary.87bc651.0
"@storybook/theming": 6.5.0-alpha.46
"@storybook/theming": 6.5.0-alpha.47
core-js: ^3.8.2
regenerator-runtime: ^0.13.7
peerDependencies:
@ -2735,16 +2673,16 @@ __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.5.0-alpha.46
"@storybook/channel-postmessage": 6.5.0-alpha.46
"@storybook/channel-websocket": 6.5.0-alpha.46
"@storybook/client-api": 6.5.0-alpha.46
"@storybook/client-logger": 6.5.0-alpha.46
"@storybook/core-events": 6.5.0-alpha.46
"@storybook/addons": 6.5.0-alpha.47
"@storybook/channel-postmessage": 6.5.0-alpha.47
"@storybook/channel-websocket": 6.5.0-alpha.47
"@storybook/client-api": 6.5.0-alpha.47
"@storybook/client-logger": 6.5.0-alpha.47
"@storybook/core-events": 6.5.0-alpha.47
"@storybook/csf": 0.0.2--canary.87bc651.0
"@storybook/preview-web": 6.5.0-alpha.46
"@storybook/store": 6.5.0-alpha.46
"@storybook/ui": 6.5.0-alpha.46
"@storybook/preview-web": 6.5.0-alpha.47
"@storybook/store": 6.5.0-alpha.47
"@storybook/ui": 6.5.0-alpha.47
airbnb-js-shims: ^2.2.1
ansi-to-html: ^0.6.11
core-js: ^3.8.2
@ -2791,7 +2729,7 @@ __metadata:
"@babel/preset-react": ^7.12.10
"@babel/preset-typescript": ^7.12.7
"@babel/register": ^7.12.1
"@storybook/node-logger": 6.5.0-alpha.46
"@storybook/node-logger": 6.5.0-alpha.47
"@storybook/semver": ^7.3.2
"@types/node": ^14.0.10 || ^16.0.0
"@types/pretty-hrtime": ^1.0.0
@ -2841,16 +2779,16 @@ __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.5.0-alpha.46
"@storybook/core-client": 6.5.0-alpha.46
"@storybook/core-common": 6.5.0-alpha.46
"@storybook/core-events": 6.5.0-alpha.46
"@storybook/builder-webpack4": 6.5.0-alpha.47
"@storybook/core-client": 6.5.0-alpha.47
"@storybook/core-common": 6.5.0-alpha.47
"@storybook/core-events": 6.5.0-alpha.47
"@storybook/csf": 0.0.2--canary.87bc651.0
"@storybook/csf-tools": 6.5.0-alpha.46
"@storybook/manager-webpack4": 6.5.0-alpha.46
"@storybook/node-logger": 6.5.0-alpha.46
"@storybook/csf-tools": 6.5.0-alpha.47
"@storybook/manager-webpack4": 6.5.0-alpha.47
"@storybook/node-logger": 6.5.0-alpha.47
"@storybook/semver": ^7.3.2
"@storybook/store": 6.5.0-alpha.46
"@storybook/store": 6.5.0-alpha.47
"@types/node": ^14.0.10 || ^16.0.0
"@types/node-fetch": ^2.5.7
"@types/pretty-hrtime": ^1.0.0
@ -2901,8 +2839,8 @@ __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.5.0-alpha.46
"@storybook/core-server": 6.5.0-alpha.46
"@storybook/core-client": 6.5.0-alpha.47
"@storybook/core-server": 6.5.0-alpha.47
peerDependencies:
react: ^16.8.0 || ^17.0.0
react-dom: ^16.8.0 || ^17.0.0
@ -2952,6 +2890,19 @@ __metadata:
languageName: node
linkType: hard
"@storybook/docs-tools@portal:../../lib/docs-tools::locator=web-components-kitchen-sink%40workspace%3A.":
version: 0.0.0-use.local
resolution: "@storybook/docs-tools@portal:../../lib/docs-tools::locator=web-components-kitchen-sink%40workspace%3A."
dependencies:
"@babel/core": ^7.12.10
"@storybook/csf": 0.0.2--canary.87bc651.0
"@storybook/store": 6.5.0-alpha.47
core-js: ^3.8.2
doctrine: ^3.0.0
regenerator-runtime: ^0.13.7
languageName: node
linkType: soft
"@storybook/manager-webpack4@portal:../../lib/manager-webpack4::locator=web-components-kitchen-sink%40workspace%3A.":
version: 0.0.0-use.local
resolution: "@storybook/manager-webpack4@portal:../../lib/manager-webpack4::locator=web-components-kitchen-sink%40workspace%3A."
@ -2959,12 +2910,12 @@ __metadata:
"@babel/core": ^7.12.10
"@babel/plugin-transform-template-literals": ^7.12.1
"@babel/preset-react": ^7.12.10
"@storybook/addons": 6.5.0-alpha.46
"@storybook/core-client": 6.5.0-alpha.46
"@storybook/core-common": 6.5.0-alpha.46
"@storybook/node-logger": 6.5.0-alpha.46
"@storybook/theming": 6.5.0-alpha.46
"@storybook/ui": 6.5.0-alpha.46
"@storybook/addons": 6.5.0-alpha.47
"@storybook/core-client": 6.5.0-alpha.47
"@storybook/core-common": 6.5.0-alpha.47
"@storybook/node-logger": 6.5.0-alpha.47
"@storybook/theming": 6.5.0-alpha.47
"@storybook/ui": 6.5.0-alpha.47
"@types/node": ^14.0.10 || ^16.0.0
"@types/webpack": ^4.41.26
babel-loader: ^8.0.0
@ -3043,12 +2994,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.5.0-alpha.46
"@storybook/channel-postmessage": 6.5.0-alpha.46
"@storybook/client-logger": 6.5.0-alpha.46
"@storybook/core-events": 6.5.0-alpha.46
"@storybook/addons": 6.5.0-alpha.47
"@storybook/channel-postmessage": 6.5.0-alpha.47
"@storybook/client-logger": 6.5.0-alpha.47
"@storybook/core-events": 6.5.0-alpha.47
"@storybook/csf": 0.0.2--canary.87bc651.0
"@storybook/store": 6.5.0-alpha.46
"@storybook/store": 6.5.0-alpha.47
ansi-to-html: ^0.6.11
core-js: ^3.8.2
global: ^4.4.0
@ -3069,7 +3020,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "@storybook/router@portal:../../lib/router::locator=web-components-kitchen-sink%40workspace%3A."
dependencies:
"@storybook/client-logger": 6.5.0-alpha.46
"@storybook/client-logger": 6.5.0-alpha.47
core-js: ^3.8.2
regenerator-runtime: ^0.13.7
peerDependencies:
@ -3094,8 +3045,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.5.0-alpha.46
"@storybook/client-logger": 6.5.0-alpha.46
"@storybook/addons": 6.5.0-alpha.47
"@storybook/client-logger": 6.5.0-alpha.47
"@storybook/csf": 0.0.2--canary.87bc651.0
core-js: ^3.8.2
estraverse: ^5.2.0
@ -3114,9 +3065,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.5.0-alpha.46
"@storybook/client-logger": 6.5.0-alpha.46
"@storybook/core-events": 6.5.0-alpha.46
"@storybook/addons": 6.5.0-alpha.47
"@storybook/client-logger": 6.5.0-alpha.47
"@storybook/core-events": 6.5.0-alpha.47
"@storybook/csf": 0.0.2--canary.87bc651.0
core-js: ^3.8.2
fast-deep-equal: ^3.1.3
@ -3139,7 +3090,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "@storybook/theming@portal:../../lib/theming::locator=web-components-kitchen-sink%40workspace%3A."
dependencies:
"@storybook/client-logger": 6.5.0-alpha.46
"@storybook/client-logger": 6.5.0-alpha.47
core-js: ^3.8.2
regenerator-runtime: ^0.13.7
peerDependencies:
@ -3152,15 +3103,15 @@ __metadata:
version: 0.0.0-use.local
resolution: "@storybook/ui@portal:../../lib/ui::locator=web-components-kitchen-sink%40workspace%3A."
dependencies:
"@storybook/addons": 6.5.0-alpha.46
"@storybook/api": 6.5.0-alpha.46
"@storybook/channels": 6.5.0-alpha.46
"@storybook/client-logger": 6.5.0-alpha.46
"@storybook/components": 6.5.0-alpha.46
"@storybook/core-events": 6.5.0-alpha.46
"@storybook/router": 6.5.0-alpha.46
"@storybook/addons": 6.5.0-alpha.47
"@storybook/api": 6.5.0-alpha.47
"@storybook/channels": 6.5.0-alpha.47
"@storybook/client-logger": 6.5.0-alpha.47
"@storybook/components": 6.5.0-alpha.47
"@storybook/core-events": 6.5.0-alpha.47
"@storybook/router": 6.5.0-alpha.47
"@storybook/semver": ^7.3.2
"@storybook/theming": 6.5.0-alpha.46
"@storybook/theming": 6.5.0-alpha.47
core-js: ^3.8.2
regenerator-runtime: ^0.13.7
resolve-from: ^5.0.0
@ -3177,13 +3128,15 @@ __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.5.0-alpha.46
"@storybook/client-api": 6.5.0-alpha.46
"@storybook/core": 6.5.0-alpha.46
"@storybook/core-common": 6.5.0-alpha.46
"@storybook/addons": 6.5.0-alpha.47
"@storybook/client-api": 6.5.0-alpha.47
"@storybook/client-logger": 6.5.0-alpha.47
"@storybook/core": 6.5.0-alpha.47
"@storybook/core-common": 6.5.0-alpha.47
"@storybook/csf": 0.0.2--canary.87bc651.0
"@storybook/preview-web": 6.5.0-alpha.46
"@storybook/store": 6.5.0-alpha.46
"@storybook/docs-tools": 6.5.0-alpha.47
"@storybook/preview-web": 6.5.0-alpha.47
"@storybook/store": 6.5.0-alpha.47
"@types/node": ^14.14.20 || ^16.0.0
"@types/webpack-env": ^1.16.0
babel-plugin-bundled-import-meta: ^0.3.1
@ -3779,16 +3732,7 @@ __metadata:
languageName: node
linkType: hard
"acorn-jsx@npm:^5.3.1":
version: 5.3.2
resolution: "acorn-jsx@npm:5.3.2"
peerDependencies:
acorn: ^6.0.0 || ^7.0.0 || ^8.0.0
checksum: 4c54868fbef3b8d58927d5e33f0a4de35f59012fe7b12cf9dfbb345fb8f46607709e1c4431be869a23fb63c151033d84c4198fa9f79385cec34fcb1dd53974c1
languageName: node
linkType: hard
"acorn-walk@npm:^7.1.1, acorn-walk@npm:^7.2.0":
"acorn-walk@npm:^7.1.1":
version: 7.2.0
resolution: "acorn-walk@npm:7.2.0"
checksum: ff99f3406ed8826f7d6ef6ac76b7608f099d45a1ff53229fa267125da1924188dbacf02e7903dfcfd2ae4af46f7be8847dc7d564c73c4e230dfb69c8ea8e6b4c
@ -3804,7 +3748,7 @@ __metadata:
languageName: node
linkType: hard
"acorn@npm:^7.1.1, acorn@npm:^7.4.1":
"acorn@npm:^7.1.1":
version: 7.4.1
resolution: "acorn@npm:7.4.1"
bin:
@ -7606,13 +7550,6 @@ fsevents@^1.2.7:
languageName: node
linkType: hard
"html-tags@npm:^3.1.0":
version: 3.1.0
resolution: "html-tags@npm:3.1.0"
checksum: 057986ab130901137cf78d8561f47176c6874cc6ceb3bbc301fb5871d65f0efa83b3fb922ce8a90e0999e33ff4ab37006b560e60a1d3efc6a456510454711936
languageName: node
linkType: hard
"html-void-elements@npm:^1.0.0":
version: 1.0.5
resolution: "html-void-elements@npm:1.0.5"
@ -8270,13 +8207,6 @@ fsevents@^1.2.7:
languageName: node
linkType: hard
"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
"is-plain-object@npm:^2.0.3, is-plain-object@npm:^2.0.4":
version: 2.0.4
resolution: "is-plain-object@npm:2.0.4"
@ -10140,15 +10070,6 @@ fsevents@^1.2.7:
languageName: node
linkType: hard
"nanoid@npm:^3.1.23":
version: 3.1.23
resolution: "nanoid@npm:3.1.23"
bin:
nanoid: bin/nanoid.cjs
checksum: a3207f946e2db59f8095118d5c57615f217e7f8a743bdb83212e222bd263516dbd83db226675d9b8634ed928ff2019db96ca06825a391af4256b02f7bec4b443
languageName: node
linkType: hard
"nanomatch@npm:^1.2.9":
version: 1.2.13
resolution: "nanomatch@npm:1.2.13"
@ -10650,7 +10571,7 @@ fsevents@^1.2.7:
languageName: node
linkType: hard
"p-limit@npm:^3.0.2, p-limit@npm:^3.1.0":
"p-limit@npm:^3.0.2":
version: 3.1.0
resolution: "p-limit@npm:3.1.0"
dependencies:
@ -11534,20 +11455,6 @@ fsevents@^1.2.7:
languageName: node
linkType: hard
"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.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: 4ead664b2e26e76af57c9ce2f2a46e79fda1d3a408afb5f34d03357d195b7f41a1a86bb9286b6d6ba76c9c2611fe56bc038665cf27fdb56f571d235ddfce9ffb
languageName: node
linkType: hard
"react-inspector@npm:^5.1.0":
version: 5.1.1
resolution: "react-inspector@npm:5.1.1"
@ -11561,7 +11468,7 @@ fsevents@^1.2.7:
languageName: node
linkType: hard
"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":
"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