diff --git a/.circleci/config.yml b/.circleci/config.yml
index 9d8408b02196..a81d6b59aa92 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -86,7 +86,7 @@ jobs:
- restore_cache:
name: Restore Yarn cache
keys:
- - build-yarn-2-cache-v2--{{ checksum "yarn.lock" }}
+ - build-yarn-2-cache-v3--{{ checksum "yarn.lock" }}
- run:
name: Install dependencies
command: yarn install --immutable
@@ -95,7 +95,7 @@ jobs:
command: yarn bootstrap --core
- save_cache:
name: Save Yarn cache
- key: build-yarn-2-cache-v2--{{ checksum "yarn.lock" }}
+ key: build-yarn-2-cache-v3--{{ checksum "yarn.lock" }}
paths:
- ~/.yarn/berry/cache
- persist_to_workspace:
@@ -136,7 +136,7 @@ jobs:
executor:
class: medium
name: sb_node_14_browsers
- parallelism: 4
+ parallelism: 17
steps:
- git-shallow-clone/checkout_advanced:
clone_options: '--depth 1 --verbose'
diff --git a/CHANGELOG.md b/CHANGELOG.md
index bc80ea07bcdc..7d99f01ffd24 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,75 @@
+## 6.5.0-alpha.48 (March 14, 2022)
+
+### Features
+
+- Addon-docs: Auto-disable docs presets if docs/controls unused ([#17697](https://github.com/storybookjs/storybook/pull/17697))
+
+### Bug Fixes
+
+- Web-components: Fix CSS class usage in CLI template ([#17702](https://github.com/storybookjs/storybook/pull/17702))
+
+### Maintenance
+
+- Addon-docs: Refactor docs support into individual framework packages ([#17695](https://github.com/storybookjs/storybook/pull/17695))
+
+## 6.5.0-alpha.47 (March 10, 2022)
+
+### Bug Fixes
+
+- Webpack4: Fix useExports for angular-cli ([#17674](https://github.com/storybookjs/storybook/pull/17674))
+- Core: Ensure that we do not render a story twice if re-rendered during preparing ([#17599](https://github.com/storybookjs/storybook/pull/17599))
+- Addon-docs: DocsPage story order should match the index ([#17669](https://github.com/storybookjs/storybook/pull/17669))
+- Core: Fix staticDirs path issue on Windows ([#17641](https://github.com/storybookjs/storybook/pull/17641))
+- Angular: Set ForkTsCheckerWebpackPlugin to async ([#17389](https://github.com/storybookjs/storybook/pull/17389))
+- Core: Fix core.builder check ([#17606](https://github.com/storybookjs/storybook/pull/17606))
+
+### Maintenance
+
+- Examples: Build stories.json for examples that support it ([#17670](https://github.com/storybookjs/storybook/pull/17670))
+- Core: Refactor preview rendering out of `PreviewWeb` ([#17598](https://github.com/storybookjs/storybook/pull/17598))
+- Prevent lint hook from running on all files ([#17662](https://github.com/storybookjs/storybook/pull/17662))
+- TypeScript: Change imports of types to be prefixed ([#17627](https://github.com/storybookjs/storybook/pull/17627))
+- Build: Give linting sub-commands a directory to run against ([#17545](https://github.com/storybookjs/storybook/pull/17545))
+- TypeScript: remove unnecessary 'as any' ([#17595](https://github.com/storybookjs/storybook/pull/17595))
+
+### Dependency Upgrades
+
+- Update shelljs dependency version ([#17602](https://github.com/storybookjs/storybook/pull/17602))
+- Remove unused `uuid` that's also deprecated ([#17615](https://github.com/storybookjs/storybook/pull/17615))
+
+## 6.5.0-alpha.46 (March 5, 2022)
+
+### Bug Fixes
+
+- Addon-interactions: Use 'global' package instead of `global` ([#17614](https://github.com/storybookjs/storybook/pull/17614))
+
+## 6.5.0-alpha.45 (March 2, 2022)
+
+### Bug Fixes
+
+- CSF3: Fix Auto-title to respect file system capitalization ([#17574](https://github.com/storybookjs/storybook/pull/17574))
+
+### Maintenance
+
+- Core: Remove unused babel dependencies ([#17425](https://github.com/storybookjs/storybook/pull/17425))
+
+## 6.5.0-alpha.44 (February 28, 2022)
+
+### Dependency Upgrades
+
+- Fix mdx-csf dependencies to canary dist-tag ([#17592](https://github.com/storybookjs/storybook/pull/17592))
+
+## 6.5.0-alpha.43 (February 28, 2022)
+
+### Features
+
+- Addon-docs: MDX2 support ([#17515](https://github.com/storybookjs/storybook/pull/17515))
+
+### Bug Fixes
+
+- Core: Fix global render fn ([#17577](https://github.com/storybookjs/storybook/pull/17577))
+- Addon-interactions: Mock window in browser environments ([#17535](https://github.com/storybookjs/storybook/pull/17535))
+
## 6.5.0-alpha.42 (February 25, 2022)
### Bug Fixes
diff --git a/MIGRATION.md b/MIGRATION.md
index 52cb910ef596..6b8ea76261e9 100644
--- a/MIGRATION.md
+++ b/MIGRATION.md
@@ -1,7 +1,11 @@
Migration
- [From version 6.4.x to 6.5.0](#from-version-64x-to-650)
- - [CSF3 auto-title redundant filename](#csf3-auto-title-redundant-filename)
+ - [Docs framework refactor for React](#docs-framework-refactor-for-react)
+ - [Opt-in MDX2 support](#opt-in-mdx2-support)
+ - [CSF3 auto-title improvements](#csf3-auto-title-improvements)
+ - [Auto-title filename case](#auto-title-filename-case)
+ - [Auto-title redundant filename](#auto-title-redundant-filename)
- [From version 6.3.x to 6.4.0](#from-version-63x-to-640)
- [Automigrate](#automigrate)
- [CRA5 upgrade](#cra5-upgrade)
@@ -192,13 +196,57 @@
## From version 6.4.x to 6.5.0
-### CSF3 auto-title redundant filename
+### Docs framework refactor for React
+
+SB6.5 moves framework specializations (e.g. ArgType inference, dynamic snippet rendering) out of `@storybook/addon-docs` and into the specific framework packages to which they apply (e.g. `@storybook/react`).
+
+This change should not require any specific migrations on your part if you are using the docs addon as described in the documentation. However, if you are using `react-docgen` or `react-docgen-typescript` information in some custom way outside of `addon-docs`, you should be aware of this change.
+
+In SB6.4, `@storybook/react` added `react-docgen` to its babel settings and `react-docgen-typescript` to its webpack settings. In SB6.5, this only happens if you are using `addon-docs` or `addon-controls`, either directly or indirectly through `addon-essentials`. If you're not using either of those addons, but require that information for some other addon, please configure that manually in your `.storybook/main.js` configuration. You can see the docs configuration here: https://github.com/storybookjs/storybook/blob/next/app/react/src/server/framework-preset-react-docs.ts
+
+### Opt-in MDX2 support
+
+SB6.5 adds experimental opt-in support for MDXv2. To install:
+
+```sh
+yarn add @storybook/mdx2-csf -D
+```
+
+Then add the `previewMdx2` feature flag to your `.storybook/main.js` config:
+
+```js
+module.exports = {
+ features: {
+ previewMdx2: true,
+ },
+};
+```
+
+### CSF3 auto-title improvements
SB 6.4 introduced experimental "auto-title", in which a story's location in the sidebar (aka `title`) can be automatically inferred from its location on disk. For example, the file `atoms/Button.stories.js` might result in the title `Atoms/Button`.
+We've made two improvements to Auto-title based on user feedback:
+
+- Auto-title preserves filename case
+- Auto-title removes redundant filenames from the path
+
+#### Auto-title filename case
+
+SB 6.4's implementation of auto-title ran `startCase` on each path component. For example, the file `atoms/MyButton` would be transformed to `Atoms/My Button`.
+
+We've changed this in SB 6.5 to preserve the filename case, so that instead it the same file would result in the title `atoms/MyButton`. The rationale is that this gives more control to users about what their auto-title will be.
+
+This might be considered a breaking change. However, we feel justified to release this in 6.5 because:
+
+1. We consider it a bug in the initial auto-title implementation
+2. CSF3 and the auto-title feature are experimental, and we reserve the right to make breaking changes outside of semver (tho we try to avoid it)
+
+#### Auto-title redundant filename
+
The heuristic failed in the common scenario in which each component gets its own directory, e.g. `atoms/Button/Button.stories.js`, which would result in the redundant title `Atoms/Button/Button`. Alternatively, `atoms/Button/index.stories.js` would result in `Atoms/Button/Index`.
-To address this problem, 6.5 introduces a new heuristic to removes the filename if it matches the directory name (case insensitive) or `index`. So `atoms/Button/Button.stories.js` and `atoms/Button/index.stories.js` would both result in the title `Atoms/Button`.
+To address this problem, 6.5 introduces a new heuristic to removes the filename if it matches the directory name or `index`. So `atoms/Button/Button.stories.js` and `atoms/Button/index.stories.js` would both result in the title `Atoms/Button` (or `atoms/Button` if `autoTitleFilenameCase` is set, see above).
Since CSF3 is experimental, we are introducing this technically breaking change in a minor release. If you desire the old structure, you can manually specify the title in file. For example:
@@ -498,8 +546,8 @@ In 6.4 the behavior of loaders when arg changes occurred was tweaked so loaders
Since SB6.3, Storybook for Angular supports a builder configuration in your project's `angular.json`. This provides an Angular-style configuration for running and building your Storybook. The full builder documentation will be shown in the [main documentation page](https://storybook.js.org/docs/angular) soon, but for now you can check out an example here:
-- `start-storybook`: https://github.com/storybookjs/storybook/blob/next/examples/angular-cli/angular.json#L78
-- `build-storybook`: https://github.com/storybookjs/storybook/blob/next/examples/angular-cli/angular.json#L86
+- `start-storybook`: [example](https://github.com/storybookjs/storybook/blob/next/examples/angular-cli/angular.json#L78) [schema](https://github.com/storybookjs/storybook/blob/next/app/angular/src/builders/start-storybook/schema.json)
+- `build-storybook`: [example](https://github.com/storybookjs/storybook/blob/next/examples/angular-cli/angular.json#L86) [schema](https://github.com/storybookjs/storybook/blob/next/app/angular/src/builders/build-storybook/schema.json)
#### Angular13
@@ -538,6 +586,13 @@ If you need storybook-specific styles separate from your app, you can configure
}
```
+Then, once you've set this up, you should run Storybook through the builder:
+
+```sh
+ng run my-default-project:storybook
+ng run my-default-project:build-storybook
+```
+
#### Angular component parameter removed
In SB6.3 and earlier, the `default.component` metadata was implemented as a parameter, meaning that stories could set `parameters.component` to override the default export. This was an internal implementation that was never documented, but it was mistakenly used in some Angular examples.
diff --git a/addons/a11y/package.json b/addons/a11y/package.json
index c0748cc94667..34b7a5d907e7 100644
--- a/addons/a11y/package.json
+++ b/addons/a11y/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-a11y",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"description": "Test component compliance with web accessibility standards",
"keywords": [
"a11y",
@@ -45,14 +45,14 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
- "@storybook/addons": "6.5.0-alpha.42",
- "@storybook/api": "6.5.0-alpha.42",
- "@storybook/channels": "6.5.0-alpha.42",
- "@storybook/client-logger": "6.5.0-alpha.42",
- "@storybook/components": "6.5.0-alpha.42",
- "@storybook/core-events": "6.5.0-alpha.42",
+ "@storybook/addons": "6.5.0-alpha.48",
+ "@storybook/api": "6.5.0-alpha.48",
+ "@storybook/channels": "6.5.0-alpha.48",
+ "@storybook/client-logger": "6.5.0-alpha.48",
+ "@storybook/components": "6.5.0-alpha.48",
+ "@storybook/core-events": "6.5.0-alpha.48",
"@storybook/csf": "0.0.2--canary.87bc651.0",
- "@storybook/theming": "6.5.0-alpha.42",
+ "@storybook/theming": "6.5.0-alpha.48",
"axe-core": "^4.2.0",
"core-js": "^3.8.2",
"global": "^4.4.0",
@@ -81,7 +81,7 @@
"publishConfig": {
"access": "public"
},
- "gitHead": "1477954e18494e721ae8d3c99bc710381eab1351",
+ "gitHead": "5f3afb8cf4389c16be11a6e5099e902d16a82762",
"sbmodern": "dist/modern/index.js",
"storybook": {
"displayName": "Accessibility",
diff --git a/addons/a11y/src/components/Report/Rules.tsx b/addons/a11y/src/components/Report/Rules.tsx
index 5523f07dc830..1243027a29aa 100644
--- a/addons/a11y/src/components/Report/Rules.tsx
+++ b/addons/a11y/src/components/Report/Rules.tsx
@@ -10,8 +10,8 @@ const List = styled.div({
paddingBottom: 4,
paddingRight: 4,
paddingTop: 4,
- fontWeight: '400',
-} as any);
+ fontWeight: 400,
+});
const Item = styled.div<{ elementWidth: number }>(({ elementWidth }) => {
const maxWidthBeforeBreak = 407;
diff --git a/addons/a11y/src/index.ts b/addons/a11y/src/index.ts
index c93847273ffc..76e1182f2b4e 100644
--- a/addons/a11y/src/index.ts
+++ b/addons/a11y/src/index.ts
@@ -1,4 +1,4 @@
-import { AnyFramework, DecoratorFunction } from '@storybook/csf';
+import type { AnyFramework, DecoratorFunction } from '@storybook/csf';
import deprecate from 'util-deprecate';
import dedent from 'ts-dedent';
diff --git a/addons/actions/package.json b/addons/actions/package.json
index 35fbb2c45a24..290aa65cd5ae 100644
--- a/addons/actions/package.json
+++ b/addons/actions/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-actions",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"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.5.0-alpha.42",
- "@storybook/api": "6.5.0-alpha.42",
- "@storybook/components": "6.5.0-alpha.42",
- "@storybook/core-events": "6.5.0-alpha.42",
+ "@storybook/addons": "6.5.0-alpha.48",
+ "@storybook/api": "6.5.0-alpha.48",
+ "@storybook/components": "6.5.0-alpha.48",
+ "@storybook/core-events": "6.5.0-alpha.48",
"@storybook/csf": "0.0.2--canary.87bc651.0",
- "@storybook/theming": "6.5.0-alpha.42",
+ "@storybook/theming": "6.5.0-alpha.48",
"core-js": "^3.8.2",
"fast-deep-equal": "^3.1.3",
"global": "^4.4.0",
@@ -79,7 +79,7 @@
"publishConfig": {
"access": "public"
},
- "gitHead": "1477954e18494e721ae8d3c99bc710381eab1351",
+ "gitHead": "5f3afb8cf4389c16be11a6e5099e902d16a82762",
"sbmodern": "dist/modern/index.js",
"storybook": {
"displayName": "Actions",
diff --git a/addons/actions/src/components/ActionLogger/index.tsx b/addons/actions/src/components/ActionLogger/index.tsx
index e2cd0c6fc44a..4efee9b0f0cb 100644
--- a/addons/actions/src/components/ActionLogger/index.tsx
+++ b/addons/actions/src/components/ActionLogger/index.tsx
@@ -1,5 +1,6 @@
import React, { Fragment } from 'react';
-import { styled, withTheme, Theme } from '@storybook/theming';
+import { styled, withTheme } from '@storybook/theming';
+import type { Theme } from '@storybook/theming';
import Inspector from 'react-inspector';
import { ActionBar, ScrollArea } from '@storybook/components';
diff --git a/addons/actions/src/preset/addArgsHelpers.test.ts b/addons/actions/src/preset/addArgsHelpers.test.ts
index adc440502a57..487dab330305 100644
--- a/addons/actions/src/preset/addArgsHelpers.test.ts
+++ b/addons/actions/src/preset/addArgsHelpers.test.ts
@@ -1,4 +1,4 @@
-import { StoryContext } from '@storybook/addons';
+import type { StoryContext } from '@storybook/addons';
import { inferActionsFromArgTypesRegex, addActionsFromArgTypes } from './addArgsHelpers';
describe('actions parameter enhancers', () => {
diff --git a/addons/backgrounds/package.json b/addons/backgrounds/package.json
index 3412afad9905..cfff139f3bb9 100644
--- a/addons/backgrounds/package.json
+++ b/addons/backgrounds/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-backgrounds",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"description": "Switch backgrounds to view components in different settings",
"keywords": [
"addon",
@@ -45,13 +45,13 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
- "@storybook/addons": "6.5.0-alpha.42",
- "@storybook/api": "6.5.0-alpha.42",
- "@storybook/client-logger": "6.5.0-alpha.42",
- "@storybook/components": "6.5.0-alpha.42",
- "@storybook/core-events": "6.5.0-alpha.42",
+ "@storybook/addons": "6.5.0-alpha.48",
+ "@storybook/api": "6.5.0-alpha.48",
+ "@storybook/client-logger": "6.5.0-alpha.48",
+ "@storybook/components": "6.5.0-alpha.48",
+ "@storybook/core-events": "6.5.0-alpha.48",
"@storybook/csf": "0.0.2--canary.87bc651.0",
- "@storybook/theming": "6.5.0-alpha.42",
+ "@storybook/theming": "6.5.0-alpha.48",
"core-js": "^3.8.2",
"global": "^4.4.0",
"memoizerific": "^1.11.3",
@@ -77,7 +77,7 @@
"publishConfig": {
"access": "public"
},
- "gitHead": "1477954e18494e721ae8d3c99bc710381eab1351",
+ "gitHead": "5f3afb8cf4389c16be11a6e5099e902d16a82762",
"sbmodern": "dist/modern/index.js",
"storybook": {
"displayName": "Backgrounds",
diff --git a/addons/backgrounds/src/decorators/withBackground.ts b/addons/backgrounds/src/decorators/withBackground.ts
index b5d72d4cbcb9..391ecb0e28a2 100644
--- a/addons/backgrounds/src/decorators/withBackground.ts
+++ b/addons/backgrounds/src/decorators/withBackground.ts
@@ -1,5 +1,5 @@
import { useMemo, useEffect } from '@storybook/addons';
-import { AnyFramework, PartialStoryFn as StoryFunction, StoryContext } from '@storybook/csf';
+import type { AnyFramework, PartialStoryFn as StoryFunction, StoryContext } from '@storybook/csf';
import { PARAM_KEY as BACKGROUNDS_PARAM_KEY } from '../constants';
import {
diff --git a/addons/backgrounds/src/decorators/withGrid.ts b/addons/backgrounds/src/decorators/withGrid.ts
index 294f9df818a4..35ba05383ffc 100644
--- a/addons/backgrounds/src/decorators/withGrid.ts
+++ b/addons/backgrounds/src/decorators/withGrid.ts
@@ -1,7 +1,7 @@
import dedent from 'ts-dedent';
import deprecate from 'util-deprecate';
import { useMemo, useEffect } from '@storybook/addons';
-import { AnyFramework, PartialStoryFn as StoryFunction, StoryContext } from '@storybook/csf';
+import type { AnyFramework, PartialStoryFn as StoryFunction, StoryContext } from '@storybook/csf';
import { clearStyles, addGridStyle } from '../helpers';
import { PARAM_KEY as BACKGROUNDS_PARAM_KEY } from '../constants';
diff --git a/addons/controls/package.json b/addons/controls/package.json
index 1b9c884f2177..339dda645d6f 100644
--- a/addons/controls/package.json
+++ b/addons/controls/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-controls",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"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.5.0-alpha.42",
- "@storybook/api": "6.5.0-alpha.42",
- "@storybook/client-logger": "6.5.0-alpha.42",
- "@storybook/components": "6.5.0-alpha.42",
- "@storybook/core-common": "6.5.0-alpha.42",
+ "@storybook/addons": "6.5.0-alpha.48",
+ "@storybook/api": "6.5.0-alpha.48",
+ "@storybook/client-logger": "6.5.0-alpha.48",
+ "@storybook/components": "6.5.0-alpha.48",
+ "@storybook/core-common": "6.5.0-alpha.48",
"@storybook/csf": "0.0.2--canary.87bc651.0",
- "@storybook/node-logger": "6.5.0-alpha.42",
- "@storybook/store": "6.5.0-alpha.42",
- "@storybook/theming": "6.5.0-alpha.42",
+ "@storybook/node-logger": "6.5.0-alpha.48",
+ "@storybook/store": "6.5.0-alpha.48",
+ "@storybook/theming": "6.5.0-alpha.48",
"core-js": "^3.8.2",
"lodash": "^4.17.21",
"ts-dedent": "^2.0.0"
@@ -73,7 +73,7 @@
"publishConfig": {
"access": "public"
},
- "gitHead": "1477954e18494e721ae8d3c99bc710381eab1351",
+ "gitHead": "5f3afb8cf4389c16be11a6e5099e902d16a82762",
"sbmodern": "dist/modern/register.js",
"storybook": {
"displayName": "Controls",
diff --git a/addons/docs/angular/index.d.ts b/addons/docs/angular/index.d.ts
index f2a8c4052072..f63f89b4d1f5 100644
--- a/addons/docs/angular/index.d.ts
+++ b/addons/docs/angular/index.d.ts
@@ -1 +1 @@
-export * from '../dist/ts3.9/frameworks/angular/index.d';
+export declare const setCompodocJson: (compodocJson: any) => void;
diff --git a/addons/docs/angular/index.js b/addons/docs/angular/index.js
index aab19f758f29..3fd4c7ea527c 100644
--- a/addons/docs/angular/index.js
+++ b/addons/docs/angular/index.js
@@ -1 +1,7 @@
-module.exports = require('../dist/esm/frameworks/angular/index');
+/* eslint-disable no-underscore-dangle */
+/* global window */
+
+export const setCompodocJson = (compodocJson) => {
+ // @ts-ignore
+ window.__STORYBOOK_COMPODOC_JSON__ = compodocJson;
+};
diff --git a/addons/docs/common-preset.js b/addons/docs/common-preset.js
deleted file mode 100644
index 462287ef4225..000000000000
--- a/addons/docs/common-preset.js
+++ /dev/null
@@ -1,19 +0,0 @@
-function managerEntries(entry = [], options) {
- return [...entry, require.resolve('./dist/esm/register')];
-}
-
-function config(entry = [], options = {}) {
- const { framework } = options;
- const docsConfig = [require.resolve('./dist/esm/frameworks/common/config')];
- try {
- docsConfig.push(require.resolve(`./dist/esm/frameworks/${framework}/config`));
- } catch (err) {
- // there is no custom config for the user's framework, do nothing
- }
- return [...docsConfig, ...entry];
-}
-
-module.exports = {
- managerEntries,
- config,
-};
diff --git a/addons/docs/ember/index.js b/addons/docs/ember/index.js
index edcab7e3604b..b4ff874067cd 100644
--- a/addons/docs/ember/index.js
+++ b/addons/docs/ember/index.js
@@ -1 +1,6 @@
-module.exports = require('../dist/esm/frameworks/ember');
+/* eslint-disable no-underscore-dangle */
+/* global window */
+
+export const setJSONDoc = (jsondoc) => {
+ window.__EMBER_GENERATED_DOC_JSON__ = jsondoc;
+};
diff --git a/addons/docs/jest-transform-mdx.js b/addons/docs/jest-transform-mdx.js
index 3e73194ce258..597d18a69cb2 100644
--- a/addons/docs/jest-transform-mdx.js
+++ b/addons/docs/jest-transform-mdx.js
@@ -1,11 +1,8 @@
const path = require('path');
-const mdx = require('@mdx-js/mdx');
const { ScriptTransformer } = require('@jest/transform');
const { dedent } = require('ts-dedent');
-const { createCompiler } = require('@storybook/csf-tools/mdx');
-
-const compilers = [createCompiler({})];
+const { compileSync } = require('@storybook/mdx1-csf');
module.exports = {
process(src, filename, config, { instrument }) {
@@ -13,7 +10,7 @@ module.exports = {
/* @jsx mdx */
import React from 'react'
import { mdx } from '@mdx-js/react'
- ${mdx.sync(src, { compilers, filepath: filename })}
+ ${compileSync(src, { filepath: filename })}
`;
const extension = path.extname(filename);
diff --git a/addons/docs/mdx-compiler-plugin.js b/addons/docs/mdx-compiler-plugin.js
index edbca81d1a97..2651fa35e30a 100644
--- a/addons/docs/mdx-compiler-plugin.js
+++ b/addons/docs/mdx-compiler-plugin.js
@@ -1 +1 @@
-module.exports = require('@storybook/csf-tools/mdx').createCompiler;
+module.exports = require('@storybook/mdx1-csf').createCompiler;
diff --git a/addons/docs/package.json b/addons/docs/package.json
index c356f9dd5afd..905385c403a6 100644
--- a/addons/docs/package.json
+++ b/addons/docs/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-docs",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"description": "Document component usage and properties in Markdown",
"keywords": [
"addon",
@@ -55,126 +55,54 @@
"prepare": "node ../../scripts/prepare.js"
},
"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/loader": "^1.6.22",
- "@mdx-js/mdx": "^1.6.22",
"@mdx-js/react": "^1.6.22",
- "@storybook/addons": "6.5.0-alpha.42",
- "@storybook/api": "6.5.0-alpha.42",
- "@storybook/builder-webpack4": "6.5.0-alpha.42",
- "@storybook/client-logger": "6.5.0-alpha.42",
- "@storybook/components": "6.5.0-alpha.42",
- "@storybook/core": "6.5.0-alpha.42",
- "@storybook/core-events": "6.5.0-alpha.42",
+ "@storybook/addons": "6.5.0-alpha.48",
+ "@storybook/api": "6.5.0-alpha.48",
+ "@storybook/components": "6.5.0-alpha.48",
+ "@storybook/core-common": "6.5.0-alpha.48",
+ "@storybook/core-events": "6.5.0-alpha.48",
"@storybook/csf": "0.0.2--canary.87bc651.0",
- "@storybook/csf-tools": "6.5.0-alpha.42",
- "@storybook/node-logger": "6.5.0-alpha.42",
- "@storybook/postinstall": "6.5.0-alpha.42",
- "@storybook/preview-web": "6.5.0-alpha.42",
- "@storybook/source-loader": "6.5.0-alpha.42",
- "@storybook/store": "6.5.0-alpha.42",
- "@storybook/theming": "6.5.0-alpha.42",
- "acorn": "^7.4.1",
- "acorn-jsx": "^5.3.1",
- "acorn-walk": "^7.2.0",
+ "@storybook/docs-tools": "6.5.0-alpha.48",
+ "@storybook/mdx1-csf": "canary",
+ "@storybook/node-logger": "6.5.0-alpha.48",
+ "@storybook/postinstall": "6.5.0-alpha.48",
+ "@storybook/preview-web": "6.5.0-alpha.48",
+ "@storybook/source-loader": "6.5.0-alpha.48",
+ "@storybook/store": "6.5.0-alpha.48",
+ "@storybook/theming": "6.5.0-alpha.48",
"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",
- "js-string-escape": "^1.0.1",
- "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"
},
"devDependencies": {
- "@angular/core": "^11.2.14",
"@babel/core": "^7.12.10",
- "@emotion/core": "^10.3.1",
- "@emotion/styled": "^10.0.27",
- "@storybook/angular": "6.5.0-alpha.42",
- "@storybook/html": "6.5.0-alpha.42",
- "@storybook/react": "6.5.0-alpha.42",
- "@storybook/vue": "6.5.0-alpha.42",
- "@storybook/web-components": "6.5.0-alpha.42",
- "@types/cross-spawn": "^6.0.2",
- "@types/doctrine": "^0.0.3",
- "@types/enzyme": "^3.10.8",
- "@types/estree": "^0.0.44",
- "@types/jest": "^26.0.16",
- "@types/loader-utils": "^2.0.0",
- "@types/prop-types": "^15.7.3",
- "@types/tmp": "^0.2.0",
+ "@storybook/mdx2-csf": "canary",
"@types/util-deprecate": "^1.0.0",
"babel-loader": "^8.0.0",
- "babel-plugin-react-docgen": "^4.2.1",
- "cross-spawn": "^7.0.3",
- "fs-extra": "^9.0.1",
- "jest": "^26.6.3",
- "jest-specific-snapshot": "^4.0.0",
- "lit-element": "^3.0.2",
- "lit-html": "^2.0.2",
- "require-from-string": "^2.0.2",
- "rxjs": "^6.6.3",
- "styled-components": "^5.2.1",
- "sveltedoc-parser": "4.1.0",
- "tmp": "^0.2.1",
- "tslib": "^2.1.0",
- "vue": "^2.6.10",
- "web-component-analyzer": "^1.1.6",
- "webpack": "4",
- "zone.js": "^0.11.3"
+ "webpack": "4"
+ },
+ "peerDependencies": {
+ "@storybook/mdx2-csf": "*",
+ "react": "^16.8.0 || ^17.0.0",
+ "react-dom": "^16.8.0 || ^17.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/react": {
- "optional": true
- },
- "@storybook/vue": {
- "optional": true
- },
- "@storybook/vue3": {
- "optional": true
- },
- "@storybook/web-components": {
- "optional": true
- },
- "lit": {
- "optional": true
- },
- "lit-html": {
+ "@storybook/mdx2-csf": {
"optional": true
},
"react": {
@@ -183,15 +111,6 @@
"react-dom": {
"optional": true
},
- "svelte": {
- "optional": true
- },
- "sveltedoc-parser": {
- "optional": true
- },
- "vue": {
- "optional": true
- },
"webpack": {
"optional": true
}
@@ -199,7 +118,7 @@
"publishConfig": {
"access": "public"
},
- "gitHead": "1477954e18494e721ae8d3c99bc710381eab1351",
+ "gitHead": "5f3afb8cf4389c16be11a6e5099e902d16a82762",
"sbmodern": "dist/modern/index.js",
"storybook": {
"displayName": "Docs",
diff --git a/addons/docs/preset.js b/addons/docs/preset.js
index dfce06bdfda4..c318823dc33a 100644
--- a/addons/docs/preset.js
+++ b/addons/docs/preset.js
@@ -1,16 +1,16 @@
-const getFrameworkPresets = (framework) => {
- try {
- return [require.resolve(`./dist/cjs/frameworks/${framework}/preset`)];
- } catch (err) {
- // there is no custom config for the user's framework, do nothing
- return [];
- }
-};
+const { findDistEsm } = require('@storybook/core-common');
+const { webpack } = require('./dist/cjs/frameworks/common/preset');
+
+function managerEntries(entry = [], options) {
+ return [...entry, findDistEsm(__dirname, 'register')];
+}
+
+function config(entry = [], options = {}) {
+ return [findDistEsm(__dirname, 'frameworks/common/config'), ...entry];
+}
-module.exports = (storybookOptions, presetOptions) => {
- return [
- { name: require.resolve('./common-preset'), options: presetOptions },
- { name: require.resolve('./dist/cjs/frameworks/common/preset'), options: presetOptions },
- ...getFrameworkPresets(storybookOptions.framework),
- ];
+module.exports = {
+ webpack,
+ managerEntries,
+ config,
};
diff --git a/addons/docs/src/blocks/ArgsTable.tsx b/addons/docs/src/blocks/ArgsTable.tsx
index 8efc0c5ecfd3..56f0e8edba3a 100644
--- a/addons/docs/src/blocks/ArgsTable.tsx
+++ b/addons/docs/src/blocks/ArgsTable.tsx
@@ -7,6 +7,7 @@ import {
SortType,
TabbedArgsTable,
} from '@storybook/components';
+import { ArgTypesExtractor } from '@storybook/docs-tools';
import { addons } from '@storybook/addons';
import { filterArgTypes, PropDescriptor } from '@storybook/store';
import Events from '@storybook/core-events';
@@ -15,7 +16,6 @@ import { StrictArgTypes, Args } from '@storybook/csf';
import { DocsContext, DocsContextProps } from './DocsContext';
import { Component, CURRENT_SELECTION, PRIMARY_STORY } from './types';
import { getComponentName } from './utils';
-import { ArgTypesExtractor } from '../lib/docgen/types';
import { lookupStoryId } from './Story';
import { useStory } from './useStory';
diff --git a/addons/docs/src/blocks/Description.tsx b/addons/docs/src/blocks/Description.tsx
index 2f92c105e160..2c55f10e740a 100644
--- a/addons/docs/src/blocks/Description.tsx
+++ b/addons/docs/src/blocks/Description.tsx
@@ -1,8 +1,9 @@
import React, { FunctionComponent, useContext } from 'react';
import { Description, DescriptionProps as PureDescriptionProps } from '@storybook/components';
+import { str } from '@storybook/docs-tools';
+
import { DocsContext, DocsContextProps } from './DocsContext';
import { Component, CURRENT_SELECTION } from './types';
-import { str } from '../lib/docgen';
export enum DescriptionType {
INFO = 'info',
diff --git a/addons/docs/src/blocks/DocsContext.ts b/addons/docs/src/blocks/DocsContext.ts
index e539f2739c6e..c902d8fb9b2f 100644
--- a/addons/docs/src/blocks/DocsContext.ts
+++ b/addons/docs/src/blocks/DocsContext.ts
@@ -1,8 +1,8 @@
import { Context, createContext } from 'react';
import { window as globalWindow } from 'global';
-import { DocsContextProps } from '@storybook/preview-web';
-import { AnyFramework } from '@storybook/csf';
+import type { DocsContextProps } from '@storybook/preview-web';
+import type { AnyFramework } from '@storybook/csf';
export type { DocsContextProps };
diff --git a/addons/docs/src/blocks/Story.tsx b/addons/docs/src/blocks/Story.tsx
index 879f8ec59b75..e61fcb321512 100644
--- a/addons/docs/src/blocks/Story.tsx
+++ b/addons/docs/src/blocks/Story.tsx
@@ -130,25 +130,8 @@ const Story: FunctionComponent = (props) => {
useEffect(() => {
let cleanup: () => void;
if (story && storyRef.current) {
- const { componentId, id, title, name } = story;
- const renderContext = {
- componentId,
- title,
- kind: title,
- id,
- name,
- story: name,
- // TODO what to do when these fail?
- showMain: () => {},
- showError: () => {},
- showException: () => {},
- };
- cleanup = context.renderStoryToElement({
- story,
- renderContext,
- element: storyRef.current as HTMLElement,
- viewMode: 'docs',
- });
+ const element = storyRef.current as HTMLElement;
+ cleanup = context.renderStoryToElement(story, element);
setShowLoader(false);
}
return () => cleanup && cleanup();
diff --git a/addons/docs/src/blocks/enhanceSource.test.ts b/addons/docs/src/blocks/enhanceSource.test.ts
index 006463374fd0..13afaadc40c4 100644
--- a/addons/docs/src/blocks/enhanceSource.test.ts
+++ b/addons/docs/src/blocks/enhanceSource.test.ts
@@ -1,4 +1,4 @@
-import { StoryContext } from '@storybook/addons';
+import type { StoryContext } from '@storybook/addons';
import { enhanceSource } from './enhanceSource';
const emptyContext: StoryContext = {
diff --git a/addons/docs/src/blocks/enhanceSource.ts b/addons/docs/src/blocks/enhanceSource.ts
index 34fe08ffff62..3cfb4890dc06 100644
--- a/addons/docs/src/blocks/enhanceSource.ts
+++ b/addons/docs/src/blocks/enhanceSource.ts
@@ -1,5 +1,6 @@
-import { Parameters } from '@storybook/addons';
-import { Story, combineParameters } from '@storybook/store';
+import type { Parameters } from '@storybook/addons';
+import type { Story } from '@storybook/store';
+import { combineParameters } from '@storybook/store';
// ============================================================
// START @storybook/source-loader/extract-source
diff --git a/addons/docs/src/blocks/useStory.ts b/addons/docs/src/blocks/useStory.ts
index 86bab14ea429..6a58d0472262 100644
--- a/addons/docs/src/blocks/useStory.ts
+++ b/addons/docs/src/blocks/useStory.ts
@@ -1,6 +1,6 @@
import { useState, useEffect } from 'react';
-import { StoryId, AnyFramework } from '@storybook/csf';
-import { Story } from '@storybook/store';
+import type { StoryId, AnyFramework } from '@storybook/csf';
+import type { Story } from '@storybook/store';
import { DocsContextProps } from './DocsContext';
diff --git a/addons/docs/src/frameworks/common/config.ts b/addons/docs/src/frameworks/common/config.ts
index f5ec177688f9..20632390005a 100644
--- a/addons/docs/src/frameworks/common/config.ts
+++ b/addons/docs/src/frameworks/common/config.ts
@@ -1,5 +1,3 @@
-import { enhanceArgTypes } from './enhanceArgTypes';
-
export const parameters = {
docs: {
inlineStories: false,
@@ -8,5 +6,3 @@ export const parameters = {
iframeHeight: 100,
},
};
-
-export const argTypesEnhancers = [enhanceArgTypes];
diff --git a/addons/docs/src/frameworks/common/preset.ts b/addons/docs/src/frameworks/common/preset.ts
index 865836a6702a..ab7f02c19766 100644
--- a/addons/docs/src/frameworks/common/preset.ts
+++ b/addons/docs/src/frameworks/common/preset.ts
@@ -1,10 +1,10 @@
import path from 'path';
import remarkSlug from 'remark-slug';
import remarkExternalLinks from 'remark-external-links';
+import global from 'global';
-// @ts-ignore
-import { createCompiler } from '@storybook/csf-tools/mdx';
import type { BuilderConfig, Options } from '@storybook/core-common';
+import { logger } from '@storybook/node-logger';
// for frameworks that are not working with react, we need to configure
// the jsx to transpile mdx, for now there will be a flag for that
@@ -34,9 +34,9 @@ function createBabelOptions({ babelOptions, mdxBabelOptions, configureJSX }: Bab
export async function webpack(
webpackConfig: any = {},
options: Options &
- BabelParams & { sourceLoaderOptions: any; transcludeMarkdown: boolean } & Parameters<
+ BabelParams & { sourceLoaderOptions: any; transcludeMarkdown: boolean } /* & Parameters<
typeof createCompiler
- >[0]
+ >[0] */
) {
const { builder = 'webpack4' } = await options.presets.apply<{
builder: BuilderConfig;
@@ -62,9 +62,17 @@ export async function webpack(
} = options;
const mdxLoaderOptions = {
+ skipCsf: true,
remarkPlugins: [remarkSlug, remarkExternalLinks],
};
+ const mdxVersion = global.FEATURES?.previewMdx2 ? 'MDX2' : 'MDX1';
+ logger.info(`Addon-docs: using ${mdxVersion}`);
+
+ const mdxLoader = global.FEATURES?.previewMdx2
+ ? require.resolve('@storybook/mdx2-csf/loader')
+ : require.resolve('@storybook/mdx1-csf/loader');
+
// set `sourceLoaderOptions` to `null` to disable for manual configuration
const sourceLoader = sourceLoaderOptions
? [
@@ -89,7 +97,7 @@ export async function webpack(
options: createBabelOptions({ babelOptions, mdxBabelOptions, configureJSX }),
},
{
- loader: require.resolve('@mdx-js/loader'),
+ loader: mdxLoader,
options: mdxLoaderOptions,
},
],
@@ -123,11 +131,7 @@ export async function webpack(
options: createBabelOptions({ babelOptions, mdxBabelOptions, configureJSX }),
},
{
- loader: require.resolve('@mdx-js/loader'),
- options: {
- compilers: [createCompiler(options)],
- ...mdxLoaderOptions,
- },
+ loader: mdxLoader,
},
],
},
@@ -140,7 +144,7 @@ export async function webpack(
options: createBabelOptions({ babelOptions, mdxBabelOptions, configureJSX }),
},
{
- loader: require.resolve('@mdx-js/loader'),
+ loader: mdxLoader,
options: mdxLoaderOptions,
},
],
diff --git a/addons/docs/src/lib/index.ts b/addons/docs/src/lib/index.ts
deleted file mode 100644
index 04bca77e0dec..000000000000
--- a/addons/docs/src/lib/index.ts
+++ /dev/null
@@ -1 +0,0 @@
-export * from './utils';
diff --git a/addons/essentials/package.json b/addons/essentials/package.json
index 6f0867a9de69..cd1101e710c4 100644
--- a/addons/essentials/package.json
+++ b/addons/essentials/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-essentials",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"description": "Curated addons to bring out the best of Storybook",
"keywords": [
"addon",
@@ -39,25 +39,25 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
- "@storybook/addon-actions": "6.5.0-alpha.42",
- "@storybook/addon-backgrounds": "6.5.0-alpha.42",
- "@storybook/addon-controls": "6.5.0-alpha.42",
- "@storybook/addon-docs": "6.5.0-alpha.42",
- "@storybook/addon-measure": "6.5.0-alpha.42",
- "@storybook/addon-outline": "6.5.0-alpha.42",
- "@storybook/addon-toolbars": "6.5.0-alpha.42",
- "@storybook/addon-viewport": "6.5.0-alpha.42",
- "@storybook/addons": "6.5.0-alpha.42",
- "@storybook/api": "6.5.0-alpha.42",
- "@storybook/core-common": "6.5.0-alpha.42",
- "@storybook/node-logger": "6.5.0-alpha.42",
+ "@storybook/addon-actions": "6.5.0-alpha.48",
+ "@storybook/addon-backgrounds": "6.5.0-alpha.48",
+ "@storybook/addon-controls": "6.5.0-alpha.48",
+ "@storybook/addon-docs": "6.5.0-alpha.48",
+ "@storybook/addon-measure": "6.5.0-alpha.48",
+ "@storybook/addon-outline": "6.5.0-alpha.48",
+ "@storybook/addon-toolbars": "6.5.0-alpha.48",
+ "@storybook/addon-viewport": "6.5.0-alpha.48",
+ "@storybook/addons": "6.5.0-alpha.48",
+ "@storybook/api": "6.5.0-alpha.48",
+ "@storybook/core-common": "6.5.0-alpha.48",
+ "@storybook/node-logger": "6.5.0-alpha.48",
"core-js": "^3.8.2",
"regenerator-runtime": "^0.13.7",
"ts-dedent": "^2.0.0"
},
"devDependencies": {
"@babel/core": "^7.12.10",
- "@storybook/vue": "6.5.0-alpha.42",
+ "@storybook/vue": "6.5.0-alpha.48",
"@types/jest": "^26.0.16",
"@types/webpack-env": "^1.16.0"
},
@@ -120,6 +120,6 @@
"publishConfig": {
"access": "public"
},
- "gitHead": "1477954e18494e721ae8d3c99bc710381eab1351",
+ "gitHead": "5f3afb8cf4389c16be11a6e5099e902d16a82762",
"sbmodern": "dist/modern/index.js"
}
diff --git a/addons/essentials/src/index.ts b/addons/essentials/src/index.ts
index 6a3fc4dbbf84..7441e9fb9160 100644
--- a/addons/essentials/src/index.ts
+++ b/addons/essentials/src/index.ts
@@ -4,9 +4,14 @@ import { serverRequire } from '@storybook/core-common';
interface PresetOptions {
configDir?: string;
- backgrounds?: any;
- viewport?: any;
- docs?: any;
+ docs?: boolean;
+ controls?: boolean;
+ actions?: boolean;
+ backgrounds?: boolean;
+ viewport?: boolean;
+ toolbars?: boolean;
+ measure?: boolean;
+ outline?: boolean;
}
const requireMain = (configDir: string) => {
diff --git a/addons/interactions/package.json b/addons/interactions/package.json
index c264b85ec1ea..5e45317eb2bc 100644
--- a/addons/interactions/package.json
+++ b/addons/interactions/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-interactions",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"description": "Automate, test and debug user interactions",
"keywords": [
"storybook-addons",
@@ -41,14 +41,14 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
- "@storybook/addons": "6.5.0-alpha.42",
- "@storybook/api": "6.5.0-alpha.42",
- "@storybook/components": "6.5.0-alpha.42",
- "@storybook/core-common": "6.5.0-alpha.42",
- "@storybook/core-events": "6.5.0-alpha.42",
+ "@storybook/addons": "6.5.0-alpha.48",
+ "@storybook/api": "6.5.0-alpha.48",
+ "@storybook/components": "6.5.0-alpha.48",
+ "@storybook/core-common": "6.5.0-alpha.48",
+ "@storybook/core-events": "6.5.0-alpha.48",
"@storybook/csf": "0.0.2--canary.87bc651.0",
- "@storybook/instrumenter": "6.5.0-alpha.42",
- "@storybook/theming": "6.5.0-alpha.42",
+ "@storybook/instrumenter": "6.5.0-alpha.48",
+ "@storybook/theming": "6.5.0-alpha.48",
"core-js": "^3.8.2",
"global": "^4.4.0",
"jest-mock": "^27.0.6",
@@ -75,7 +75,7 @@
"publishConfig": {
"access": "public"
},
- "gitHead": "1477954e18494e721ae8d3c99bc710381eab1351",
+ "gitHead": "5f3afb8cf4389c16be11a6e5099e902d16a82762",
"sbmodern": "dist/modern/index.js",
"storybook": {
"displayName": "Interactions",
diff --git a/addons/interactions/src/preset/argsEnhancers.ts b/addons/interactions/src/preset/argsEnhancers.ts
index 57d7d8d4106d..a6f1b90c78cf 100644
--- a/addons/interactions/src/preset/argsEnhancers.ts
+++ b/addons/interactions/src/preset/argsEnhancers.ts
@@ -1,8 +1,12 @@
-import { Args, addons } from '@storybook/addons';
+import { addons } from '@storybook/addons';
+import type { Args } from '@storybook/addons';
import { FORCE_REMOUNT, STORY_RENDER_PHASE_CHANGED } from '@storybook/core-events';
-import { AnyFramework, ArgsEnhancer } from '@storybook/csf';
+import type { AnyFramework, ArgsEnhancer } from '@storybook/csf';
import { instrument } from '@storybook/instrumenter';
-import { fn } from 'jest-mock';
+import { ModuleMocker } from 'jest-mock';
+
+const JestMock = new ModuleMocker(global);
+const fn = JestMock.fn.bind(JestMock);
// Aliasing `fn` to `action` here, so we get a more descriptive label in the UI.
const { action } = instrument({ action: fn }, { retain: true });
diff --git a/addons/jest/package.json b/addons/jest/package.json
index e0f97f96c91a..a91084a8a3ee 100644
--- a/addons/jest/package.json
+++ b/addons/jest/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-jest",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"description": "React storybook addon that show component jest report",
"keywords": [
"addon",
@@ -47,11 +47,11 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
- "@storybook/addons": "6.5.0-alpha.42",
- "@storybook/api": "6.5.0-alpha.42",
- "@storybook/components": "6.5.0-alpha.42",
- "@storybook/core-events": "6.5.0-alpha.42",
- "@storybook/theming": "6.5.0-alpha.42",
+ "@storybook/addons": "6.5.0-alpha.48",
+ "@storybook/api": "6.5.0-alpha.48",
+ "@storybook/components": "6.5.0-alpha.48",
+ "@storybook/core-events": "6.5.0-alpha.48",
+ "@storybook/theming": "6.5.0-alpha.48",
"core-js": "^3.8.2",
"global": "^4.4.0",
"react-sizeme": "^3.0.1",
@@ -76,7 +76,7 @@
"publishConfig": {
"access": "public"
},
- "gitHead": "1477954e18494e721ae8d3c99bc710381eab1351",
+ "gitHead": "5f3afb8cf4389c16be11a6e5099e902d16a82762",
"sbmodern": "dist/modern/index.js",
"storybook": {
"displayName": "Jest",
diff --git a/addons/links/package.json b/addons/links/package.json
index 14c5c8bd07fd..520adeba992f 100644
--- a/addons/links/package.json
+++ b/addons/links/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-links",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"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.5.0-alpha.42",
- "@storybook/client-logger": "6.5.0-alpha.42",
- "@storybook/core-events": "6.5.0-alpha.42",
+ "@storybook/addons": "6.5.0-alpha.48",
+ "@storybook/client-logger": "6.5.0-alpha.48",
+ "@storybook/core-events": "6.5.0-alpha.48",
"@storybook/csf": "0.0.2--canary.87bc651.0",
- "@storybook/router": "6.5.0-alpha.42",
+ "@storybook/router": "6.5.0-alpha.48",
"@types/qs": "^6.9.5",
"core-js": "^3.8.2",
"global": "^4.4.0",
@@ -72,7 +72,7 @@
"publishConfig": {
"access": "public"
},
- "gitHead": "1477954e18494e721ae8d3c99bc710381eab1351",
+ "gitHead": "5f3afb8cf4389c16be11a6e5099e902d16a82762",
"sbmodern": "dist/modern/index.js",
"storybook": {
"displayName": "Links",
diff --git a/addons/links/src/preview.ts b/addons/links/src/preview.ts
index 0a49eff5a878..3082bedc09bc 100644
--- a/addons/links/src/preview.ts
+++ b/addons/links/src/preview.ts
@@ -2,7 +2,8 @@ import global from 'global';
import qs from 'qs';
import { addons, makeDecorator } from '@storybook/addons';
import { STORY_CHANGED, SELECT_STORY } from '@storybook/core-events';
-import { toId, StoryId, StoryName, ComponentTitle } from '@storybook/csf';
+import type { StoryId, StoryName, ComponentTitle } from '@storybook/csf';
+import { toId } from '@storybook/csf';
import { PARAM_KEY } from './constants';
const { document, HTMLElement } = global;
diff --git a/addons/measure/package.json b/addons/measure/package.json
index 213b06d80f13..e029d8d54283 100644
--- a/addons/measure/package.json
+++ b/addons/measure/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-measure",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"description": "Inspect layouts by visualizing the box model",
"keywords": [
"storybook-addons",
@@ -44,11 +44,11 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
- "@storybook/addons": "6.5.0-alpha.42",
- "@storybook/api": "6.5.0-alpha.42",
- "@storybook/client-logger": "6.5.0-alpha.42",
- "@storybook/components": "6.5.0-alpha.42",
- "@storybook/core-events": "6.5.0-alpha.42",
+ "@storybook/addons": "6.5.0-alpha.48",
+ "@storybook/api": "6.5.0-alpha.48",
+ "@storybook/client-logger": "6.5.0-alpha.48",
+ "@storybook/components": "6.5.0-alpha.48",
+ "@storybook/core-events": "6.5.0-alpha.48",
"@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": "1477954e18494e721ae8d3c99bc710381eab1351",
+ "gitHead": "5f3afb8cf4389c16be11a6e5099e902d16a82762",
"sbmodern": "dist/modern/index.js",
"storybook": {
"displayName": "Measure",
diff --git a/addons/measure/src/withMeasure.ts b/addons/measure/src/withMeasure.ts
index b8c78b7109fd..867ac58f1728 100644
--- a/addons/measure/src/withMeasure.ts
+++ b/addons/measure/src/withMeasure.ts
@@ -1,6 +1,6 @@
/* eslint-env browser */
import { useEffect } from '@storybook/addons';
-import { AnyFramework, PartialStoryFn as StoryFunction, StoryContext } from '@storybook/csf';
+import type { AnyFramework, PartialStoryFn as StoryFunction, StoryContext } from '@storybook/csf';
import { drawSelectedElement } from './box-model/visualizer';
import { init, rescale, destroy } from './box-model/canvas';
import { deepElementFromPoint } from './util';
diff --git a/addons/outline/package.json b/addons/outline/package.json
index 162d935cf97d..3782ede34019 100644
--- a/addons/outline/package.json
+++ b/addons/outline/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-outline",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"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.5.0-alpha.42",
- "@storybook/api": "6.5.0-alpha.42",
- "@storybook/client-logger": "6.5.0-alpha.42",
- "@storybook/components": "6.5.0-alpha.42",
- "@storybook/core-events": "6.5.0-alpha.42",
+ "@storybook/addons": "6.5.0-alpha.48",
+ "@storybook/api": "6.5.0-alpha.48",
+ "@storybook/client-logger": "6.5.0-alpha.48",
+ "@storybook/components": "6.5.0-alpha.48",
+ "@storybook/core-events": "6.5.0-alpha.48",
"@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": "1477954e18494e721ae8d3c99bc710381eab1351",
+ "gitHead": "5f3afb8cf4389c16be11a6e5099e902d16a82762",
"sbmodern": "dist/modern/index.js",
"storybook": {
"displayName": "Outline",
diff --git a/addons/outline/src/withOutline.ts b/addons/outline/src/withOutline.ts
index 818ce5acee56..05ca6d45a5aa 100644
--- a/addons/outline/src/withOutline.ts
+++ b/addons/outline/src/withOutline.ts
@@ -1,5 +1,5 @@
import { useMemo, useEffect } from '@storybook/addons';
-import { AnyFramework, PartialStoryFn as StoryFunction, StoryContext } from '@storybook/csf';
+import type { AnyFramework, PartialStoryFn as StoryFunction, StoryContext } from '@storybook/csf';
import { clearStyles, addOutlineStyles } from './helpers';
import { PARAM_KEY } from './constants';
diff --git a/addons/storyshots/storyshots-core/package.json b/addons/storyshots/storyshots-core/package.json
index 805d94fa3d7c..b7ca7617f96f 100644
--- a/addons/storyshots/storyshots-core/package.json
+++ b/addons/storyshots/storyshots-core/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-storyshots",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"description": "Take a code snapshot of every story automatically with Jest",
"keywords": [
"addon",
@@ -45,12 +45,12 @@
},
"dependencies": {
"@jest/transform": "^26.6.2",
- "@storybook/addons": "6.5.0-alpha.42",
+ "@storybook/addons": "6.5.0-alpha.48",
"@storybook/babel-plugin-require-context-hook": "1.0.1",
- "@storybook/client-api": "6.5.0-alpha.42",
- "@storybook/core": "6.5.0-alpha.42",
- "@storybook/core-client": "6.5.0-alpha.42",
- "@storybook/core-common": "6.5.0-alpha.42",
+ "@storybook/client-api": "6.5.0-alpha.48",
+ "@storybook/core": "6.5.0-alpha.48",
+ "@storybook/core-client": "6.5.0-alpha.48",
+ "@storybook/core-common": "6.5.0-alpha.48",
"@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.5.0-alpha.42",
- "@storybook/angular": "6.5.0-alpha.42",
- "@storybook/react": "6.5.0-alpha.42",
- "@storybook/vue": "6.5.0-alpha.42",
- "@storybook/vue3": "6.5.0-alpha.42",
+ "@storybook/addon-docs": "6.5.0-alpha.48",
+ "@storybook/angular": "6.5.0-alpha.48",
+ "@storybook/react": "6.5.0-alpha.48",
+ "@storybook/vue": "6.5.0-alpha.48",
+ "@storybook/vue3": "6.5.0-alpha.48",
"babel-loader": "^8.0.0",
"enzyme": "^3.11.0",
"enzyme-to-json": "^3.6.1",
@@ -151,7 +151,7 @@
"publishConfig": {
"access": "public"
},
- "gitHead": "1477954e18494e721ae8d3c99bc710381eab1351",
+ "gitHead": "5f3afb8cf4389c16be11a6e5099e902d16a82762",
"storybook": {
"displayName": "Storyshots",
"icon": "https://user-images.githubusercontent.com/263385/101991676-48cdf300-3c7c-11eb-8aa1-944dab6ab29b.png",
diff --git a/addons/storyshots/storyshots-core/src/frameworks/Loader.ts b/addons/storyshots/storyshots-core/src/frameworks/Loader.ts
index 43e0adbaf5b1..20ce598c423c 100644
--- a/addons/storyshots/storyshots-core/src/frameworks/Loader.ts
+++ b/addons/storyshots/storyshots-core/src/frameworks/Loader.ts
@@ -1,8 +1,8 @@
-import { AnyFramework } from '@storybook/csf';
-import { ClientStoryApi, Loadable } from '@storybook/addons';
+import type { AnyFramework } from '@storybook/csf';
+import type { ClientStoryApi, Loadable } from '@storybook/addons';
import { ClientApi as ClientApiClass } from '@storybook/client-api';
-import { StoryshotsOptions } from '../api/StoryshotsOptions';
-import { SupportedFramework } from './SupportedFramework';
+import type { StoryshotsOptions } from '../api/StoryshotsOptions';
+import type { SupportedFramework } from './SupportedFramework';
export type RenderTree = (story: any, context?: any, options?: any) => any;
diff --git a/addons/storyshots/storyshots-core/src/frameworks/configure.ts b/addons/storyshots/storyshots-core/src/frameworks/configure.ts
index 8561768010b5..ec8ce9be30dd 100644
--- a/addons/storyshots/storyshots-core/src/frameworks/configure.ts
+++ b/addons/storyshots/storyshots-core/src/frameworks/configure.ts
@@ -1,17 +1,18 @@
import fs from 'fs';
import path from 'path';
-import {
- toRequireContext,
- StoriesEntry,
- normalizeStoriesEntry,
- NormalizedStoriesSpecifier,
-} from '@storybook/core-common';
+import type { NormalizedStoriesSpecifier, StoriesEntry } from '@storybook/core-common';
+import { toRequireContext, normalizeStoriesEntry } from '@storybook/core-common';
import registerRequireContextHook from '@storybook/babel-plugin-require-context-hook/register';
import global from 'global';
-import { AnyFramework, ArgsEnhancer, ArgTypesEnhancer, DecoratorFunction } from '@storybook/csf';
+import type {
+ AnyFramework,
+ ArgsEnhancer,
+ ArgTypesEnhancer,
+ DecoratorFunction,
+} from '@storybook/csf';
import { ClientApi } from './Loader';
-import { StoryshotsOptions } from '../api/StoryshotsOptions';
+import type { StoryshotsOptions } from '../api/StoryshotsOptions';
registerRequireContextHook();
diff --git a/addons/storyshots/storyshots-puppeteer/package.json b/addons/storyshots/storyshots-puppeteer/package.json
index 5aaaecdd75d4..f59f5ecbd0e6 100644
--- a/addons/storyshots/storyshots-puppeteer/package.json
+++ b/addons/storyshots/storyshots-puppeteer/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-storyshots-puppeteer",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"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.5.0-alpha.42",
+ "@storybook/node-logger": "6.5.0-alpha.48",
"@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.5.0-alpha.42",
+ "@storybook/addon-storyshots": "6.5.0-alpha.48",
"puppeteer": "^2.0.0 || ^3.0.0"
},
"peerDependenciesMeta": {
@@ -64,5 +64,5 @@
"publishConfig": {
"access": "public"
},
- "gitHead": "1477954e18494e721ae8d3c99bc710381eab1351"
+ "gitHead": "5f3afb8cf4389c16be11a6e5099e902d16a82762"
}
diff --git a/addons/storysource/package.json b/addons/storysource/package.json
index 5fe5ae4ae8ce..23d2b85562a8 100644
--- a/addons/storysource/package.json
+++ b/addons/storysource/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-storysource",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"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.5.0-alpha.42",
- "@storybook/api": "6.5.0-alpha.42",
- "@storybook/client-logger": "6.5.0-alpha.42",
- "@storybook/components": "6.5.0-alpha.42",
- "@storybook/router": "6.5.0-alpha.42",
- "@storybook/source-loader": "6.5.0-alpha.42",
- "@storybook/theming": "6.5.0-alpha.42",
+ "@storybook/addons": "6.5.0-alpha.48",
+ "@storybook/api": "6.5.0-alpha.48",
+ "@storybook/client-logger": "6.5.0-alpha.48",
+ "@storybook/components": "6.5.0-alpha.48",
+ "@storybook/router": "6.5.0-alpha.48",
+ "@storybook/source-loader": "6.5.0-alpha.48",
+ "@storybook/theming": "6.5.0-alpha.48",
"core-js": "^3.8.2",
"estraverse": "^5.2.0",
"loader-utils": "^2.0.0",
@@ -75,7 +75,7 @@
"publishConfig": {
"access": "public"
},
- "gitHead": "1477954e18494e721ae8d3c99bc710381eab1351",
+ "gitHead": "5f3afb8cf4389c16be11a6e5099e902d16a82762",
"sbmodern": "dist/modern/index.js",
"storybook": {
"displayName": "Storysource",
diff --git a/addons/toolbars/package.json b/addons/toolbars/package.json
index 7c3f59cf8456..1965b8ade623 100644
--- a/addons/toolbars/package.json
+++ b/addons/toolbars/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-toolbars",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"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.5.0-alpha.42",
- "@storybook/api": "6.5.0-alpha.42",
- "@storybook/components": "6.5.0-alpha.42",
- "@storybook/theming": "6.5.0-alpha.42",
+ "@storybook/addons": "6.5.0-alpha.48",
+ "@storybook/api": "6.5.0-alpha.48",
+ "@storybook/components": "6.5.0-alpha.48",
+ "@storybook/theming": "6.5.0-alpha.48",
"core-js": "^3.8.2",
"regenerator-runtime": "^0.13.7"
},
@@ -67,7 +67,7 @@
"publishConfig": {
"access": "public"
},
- "gitHead": "1477954e18494e721ae8d3c99bc710381eab1351",
+ "gitHead": "5f3afb8cf4389c16be11a6e5099e902d16a82762",
"sbmodern": "dist/modern/register.js",
"storybook": {
"displayName": "Toolbars",
diff --git a/addons/toolbars/src/types.ts b/addons/toolbars/src/types.ts
index ec64b06396ea..372302a33e5c 100644
--- a/addons/toolbars/src/types.ts
+++ b/addons/toolbars/src/types.ts
@@ -1,5 +1,5 @@
-import { IconsProps } from '@storybook/components';
-import { ArgType } from '@storybook/api';
+import type { IconsProps } from '@storybook/components';
+import type { ArgType } from '@storybook/api';
export type ToolbarShortcutType = 'next' | 'previous' | 'reset';
diff --git a/addons/viewport/package.json b/addons/viewport/package.json
index eacb608e2d72..820477d5792e 100644
--- a/addons/viewport/package.json
+++ b/addons/viewport/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-viewport",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"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.5.0-alpha.42",
- "@storybook/api": "6.5.0-alpha.42",
- "@storybook/client-logger": "6.5.0-alpha.42",
- "@storybook/components": "6.5.0-alpha.42",
- "@storybook/core-events": "6.5.0-alpha.42",
- "@storybook/theming": "6.5.0-alpha.42",
+ "@storybook/addons": "6.5.0-alpha.48",
+ "@storybook/api": "6.5.0-alpha.48",
+ "@storybook/client-logger": "6.5.0-alpha.48",
+ "@storybook/components": "6.5.0-alpha.48",
+ "@storybook/core-events": "6.5.0-alpha.48",
+ "@storybook/theming": "6.5.0-alpha.48",
"core-js": "^3.8.2",
"global": "^4.4.0",
"memoizerific": "^1.11.3",
@@ -69,7 +69,7 @@
"publishConfig": {
"access": "public"
},
- "gitHead": "1477954e18494e721ae8d3c99bc710381eab1351",
+ "gitHead": "5f3afb8cf4389c16be11a6e5099e902d16a82762",
"sbmodern": "dist/modern/preview.js",
"storybook": {
"displayName": "Viewport",
diff --git a/addons/viewport/src/shortcuts.ts b/addons/viewport/src/shortcuts.ts
index 34cbb8db0fa2..779726eb9e23 100644
--- a/addons/viewport/src/shortcuts.ts
+++ b/addons/viewport/src/shortcuts.ts
@@ -1,4 +1,4 @@
-import { API } from '@storybook/api';
+import type { API } from '@storybook/api';
import { ADDON_ID } from './constants';
const getCurrentViewportIndex = (viewportsKeys: string[], current: string): number =>
diff --git a/app/angular/package.json b/app/angular/package.json
index 1ade1d069311..7963217c19aa 100644
--- a/app/angular/package.json
+++ b/app/angular/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/angular",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"description": "Storybook for Angular: Develop Angular Components in isolation with Hot Reloading.",
"keywords": [
"storybook"
@@ -45,15 +45,17 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
- "@storybook/addons": "6.5.0-alpha.42",
- "@storybook/api": "6.5.0-alpha.42",
- "@storybook/core": "6.5.0-alpha.42",
- "@storybook/core-common": "6.5.0-alpha.42",
- "@storybook/core-events": "6.5.0-alpha.42",
+ "@storybook/addons": "6.5.0-alpha.48",
+ "@storybook/api": "6.5.0-alpha.48",
+ "@storybook/client-logger": "6.5.0-alpha.48",
+ "@storybook/core": "6.5.0-alpha.48",
+ "@storybook/core-common": "6.5.0-alpha.48",
+ "@storybook/core-events": "6.5.0-alpha.48",
"@storybook/csf": "0.0.2--canary.87bc651.0",
- "@storybook/node-logger": "6.5.0-alpha.42",
+ "@storybook/docs-tools": "6.5.0-alpha.48",
+ "@storybook/node-logger": "6.5.0-alpha.48",
"@storybook/semver": "^7.3.2",
- "@storybook/store": "6.5.0-alpha.42",
+ "@storybook/store": "6.5.0-alpha.48",
"@types/node": "^14.14.20 || ^16.0.0",
"@types/react": "^16.14.23",
"@types/react-dom": "^16.9.14",
@@ -63,15 +65,17 @@
"find-up": "^5.0.0",
"fork-ts-checker-webpack-plugin": "^4.1.6",
"global": "^4.4.0",
+ "nanoid": "^3.1.23",
+ "p-limit": "^3.1.0",
"postcss": "^7.0.36",
"postcss-loader": "^4.2.0",
+ "prettier": ">=2.2.1 <=2.3.0",
"raw-loader": "^4.0.2",
"react": "^16.14.0",
"react-dom": "^16.14.0",
"read-pkg-up": "^7.0.1",
"regenerator-runtime": "^0.13.7",
"sass-loader": "^10.1.0",
- "strip-json-comments": "3.1.1",
"telejson": "^5.3.3",
"ts-dedent": "^2.0.0",
"ts-loader": "^8.0.14",
@@ -93,10 +97,12 @@
"@angular/platform-browser-dynamic": "^11.2.14",
"@nrwl/workspace": "^11.6.3",
"@types/autoprefixer": "^9.7.2",
- "@types/jest": "^26.0.16",
+ "@types/tmp": "^0.2.3",
+ "cross-spawn": "^7.0.3",
"jest": "^26.6.3",
"jest-preset-angular": "^8.3.2",
- "ts-jest": "^26.4.4"
+ "jest-specific-snapshot": "^4.0.0",
+ "tmp": "^0.2.1"
},
"peerDependencies": {
"@angular-devkit/architect": ">=0.8.9",
@@ -131,5 +137,5 @@
"access": "public"
},
"builders": "dist/ts3.9/builders/builders.json",
- "gitHead": "1477954e18494e721ae8d3c99bc710381eab1351"
+ "gitHead": "5f3afb8cf4389c16be11a6e5099e902d16a82762"
}
diff --git a/app/angular/src/builders/build-storybook/index.ts b/app/angular/src/builders/build-storybook/index.ts
index 6108034e9a34..1995b4efa568 100644
--- a/app/angular/src/builders/build-storybook/index.ts
+++ b/app/angular/src/builders/build-storybook/index.ts
@@ -7,17 +7,17 @@ import {
} from '@angular-devkit/architect';
import { JsonObject } from '@angular-devkit/core';
import { from, Observable, of, throwError } from 'rxjs';
-import { CLIOptions } from '@storybook/core-common';
+import type { CLIOptions } from '@storybook/core-common';
import { catchError, map, mapTo, switchMap } from 'rxjs/operators';
import { sync as findUpSync } from 'find-up';
-
-// eslint-disable-next-line import/no-extraneous-dependencies
-import buildStandalone, { StandaloneOptions } from '@storybook/angular/standalone';
import {
BrowserBuilderOptions,
ExtraEntryPoint,
StylePreprocessorOptions,
} from '@angular-devkit/build-angular';
+
+// eslint-disable-next-line import/no-extraneous-dependencies
+import buildStandalone, { StandaloneOptions } from '@storybook/angular/standalone';
import { runCompodoc } from '../utils/run-compodoc';
import { buildStandaloneErrorHandler } from '../utils/build-standalone-errors-handler';
diff --git a/app/angular/src/builders/start-storybook/index.ts b/app/angular/src/builders/start-storybook/index.ts
index 4f80db9866b2..ef3fe61cfa47 100644
--- a/app/angular/src/builders/start-storybook/index.ts
+++ b/app/angular/src/builders/start-storybook/index.ts
@@ -12,7 +12,7 @@ import {
StylePreprocessorOptions,
} from '@angular-devkit/build-angular';
import { from, Observable, of } from 'rxjs';
-import { CLIOptions } from '@storybook/core-common';
+import type { CLIOptions } from '@storybook/core-common';
import { map, switchMap, mapTo } from 'rxjs/operators';
import { sync as findUpSync } from 'find-up';
diff --git a/addons/docs/src/frameworks/angular/__testfixtures__/doc-button/argtypes.snapshot b/app/angular/src/client/docs/__testfixtures__/doc-button/argtypes.snapshot
similarity index 99%
rename from addons/docs/src/frameworks/angular/__testfixtures__/doc-button/argtypes.snapshot
rename to app/angular/src/client/docs/__testfixtures__/doc-button/argtypes.snapshot
index bc9d29fc3531..d3625f14e38f 100644
--- a/addons/docs/src/frameworks/angular/__testfixtures__/doc-button/argtypes.snapshot
+++ b/app/angular/src/client/docs/__testfixtures__/doc-button/argtypes.snapshot
@@ -207,7 +207,7 @@ Sets the button to a disabled state.",
},
"type": Object {
"required": true,
- "summary": "[]",
+ "summary": "T[]",
},
},
"type": Object {
diff --git a/addons/docs/src/frameworks/angular/__testfixtures__/doc-button/compodoc-posix.snapshot b/app/angular/src/client/docs/__testfixtures__/doc-button/compodoc-posix.snapshot
similarity index 99%
rename from addons/docs/src/frameworks/angular/__testfixtures__/doc-button/compodoc-posix.snapshot
rename to app/angular/src/client/docs/__testfixtures__/doc-button/compodoc-posix.snapshot
index ea236ef49ba8..dbb2d4c08edf 100644
--- a/addons/docs/src/frameworks/angular/__testfixtures__/doc-button/compodoc-posix.snapshot
+++ b/app/angular/src/client/docs/__testfixtures__/doc-button/compodoc-posix.snapshot
@@ -227,7 +227,7 @@ Sets the button to a disabled state.",
"deprecationMessage": "",
"line": 195,
"name": "item",
- "type": "[]",
+ "type": "T[]",
},
Object {
"decorators": Array [],
diff --git a/app/angular/src/client/docs/__testfixtures__/doc-button/compodoc-undefined.snapshot b/app/angular/src/client/docs/__testfixtures__/doc-button/compodoc-undefined.snapshot
new file mode 100644
index 000000000000..1bddf9b75503
--- /dev/null
+++ b/app/angular/src/client/docs/__testfixtures__/doc-button/compodoc-undefined.snapshot
@@ -0,0 +1,1326 @@
+// Jest Snapshot v1, https://goo.gl/fbAQLP
+
+exports[`angular component properties doc-button 1`] = `
+Object {
+ "classes": Array [],
+ "components": Array [
+ Object {
+ "accessors": Object {
+ "inputValue": Object {
+ "getSignature": Object {
+ "description": "Getter for inputValue
.
+",
+ "line": 115,
+ "name": "inputValue",
+ "rawdescription": "
+Getter for \`inputValue\`.",
+ "returnType": "",
+ "type": "",
+ },
+ "name": "inputValue",
+ "setSignature": Object {
+ "args": Array [
+ Object {
+ "deprecated": false,
+ "deprecationMessage": "",
+ "name": "value",
+ "type": "string",
+ },
+ ],
+ "deprecated": false,
+ "deprecationMessage": "",
+ "description": "Setter for inputValue
that is also an @Input
.
+",
+ "jsdoctags": Array [
+ Object {
+ "deprecated": false,
+ "deprecationMessage": "",
+ "name": "value",
+ "tagName": Object {
+ "text": "param",
+ },
+ "type": "string",
+ },
+ ],
+ "line": 110,
+ "name": "inputValue",
+ "rawdescription": "
+Setter for \`inputValue\` that is also an \`@Input\`.",
+ "returnType": "void",
+ "type": "void",
+ },
+ },
+ "item": Object {
+ "name": "item",
+ "setSignature": Object {
+ "args": Array [
+ Object {
+ "deprecated": false,
+ "deprecationMessage": "",
+ "name": "item",
+ "type": "T[]",
+ },
+ ],
+ "deprecated": false,
+ "deprecationMessage": "",
+ "jsdoctags": Array [
+ Object {
+ "deprecated": false,
+ "deprecationMessage": "",
+ "name": "item",
+ "tagName": Object {
+ "text": "param",
+ },
+ "type": "T[]",
+ },
+ ],
+ "line": 195,
+ "name": "item",
+ "returnType": "void",
+ "type": "void",
+ },
+ },
+ "value": Object {
+ "getSignature": Object {
+ "description": "Get the private value.
+",
+ "line": 154,
+ "name": "value",
+ "rawdescription": "
+Get the private value.",
+ "returnType": "string | number",
+ "type": "",
+ },
+ "name": "value",
+ "setSignature": Object {
+ "args": Array [
+ Object {
+ "deprecated": false,
+ "deprecationMessage": "",
+ "name": "value",
+ "type": "string | number",
+ },
+ ],
+ "deprecated": false,
+ "deprecationMessage": "",
+ "description": "Set the private value.
+",
+ "jsdoctags": Array [
+ Object {
+ "deprecated": false,
+ "deprecationMessage": "",
+ "name": "value",
+ "tagName": Object {
+ "text": "param",
+ },
+ "type": "string | number",
+ },
+ ],
+ "line": 149,
+ "name": "value",
+ "rawdescription": "
+Set the private value.",
+ "returnType": "void",
+ "type": "void",
+ },
+ },
+ },
+ "assetsDirs": Array [],
+ "deprecated": false,
+ "deprecationMessage": "",
+ "description": "This is a simple button that demonstrates various JSDoc handling in Storybook Docs for Angular.
+It supports markdown , so you can embed formatted text,
+like bold , italic , and inline code
.
+
+How you like dem apples?! It's never been easier to document all your components.
+
+",
+ "encapsulation": Array [],
+ "entryComponents": Array [],
+ "file": "app/angular/src/client/docs/__testfixtures__/doc-button/input.ts",
+ "hostBindings": Array [
+ Object {
+ "decorators": Array [],
+ "defaultValue": "false",
+ "deprecated": false,
+ "deprecationMessage": "",
+ "line": 124,
+ "name": "class.focused",
+ "type": "boolean",
+ },
+ ],
+ "hostListeners": Array [
+ Object {
+ "args": Array [
+ Object {
+ "deprecated": false,
+ "deprecationMessage": "",
+ "name": "btn",
+ "type": "",
+ },
+ ],
+ "argsDecorator": Array [
+ "$event.target",
+ ],
+ "deprecated": false,
+ "deprecationMessage": "",
+ "line": 120,
+ "name": "click",
+ },
+ ],
+ "id": "component-InputComponent-d145da25329b094ee29610c45a9e46387cb39eddb2a67b4c9fadb84bcec76eacd60d131e48d98b2ee5725dedd25f2eb299b704e8e0a34307d6e84f6e57d57044",
+ "inputs": Array [],
+ "inputsClass": Array [
+ Object {
+ "decorators": Array [],
+ "deprecated": false,
+ "deprecationMessage": "",
+ "description": "Specify the accent-type of the button
+",
+ "line": 56,
+ "name": "accent",
+ "rawdescription": "
+Specify the accent-type of the button",
+ "type": "ButtonAccent",
+ },
+ Object {
+ "decorators": Array [],
+ "defaultValue": "'secondary'",
+ "deprecated": false,
+ "deprecationMessage": "",
+ "description": "Appearance style of the button.
+",
+ "line": 52,
+ "name": "appearance",
+ "rawdescription": "
+Appearance style of the button.",
+ "type": "\\"primary\\" | \\"secondary\\"",
+ },
+ Object {
+ "decorators": Array [],
+ "deprecated": false,
+ "deprecationMessage": "",
+ "description": "Setter for inputValue
that is also an @Input
.
+",
+ "line": 110,
+ "name": "inputValue",
+ "rawdescription": "
+Setter for \`inputValue\` that is also an \`@Input\`.",
+ "type": "string",
+ },
+ Object {
+ "decorators": Array [],
+ "defaultValue": "false",
+ "deprecated": false,
+ "deprecationMessage": "",
+ "description": "Sets the button to a disabled state.
+",
+ "line": 60,
+ "name": "isDisabled",
+ "rawdescription": "
+Sets the button to a disabled state.",
+ "type": "boolean",
+ },
+ Object {
+ "decorators": Array [],
+ "deprecated": false,
+ "deprecationMessage": "",
+ "line": 195,
+ "name": "item",
+ "type": "T[]",
+ },
+ Object {
+ "decorators": Array [],
+ "deprecated": false,
+ "deprecationMessage": "",
+ "description": "The inner text of the button.
+",
+ "jsdoctags": Array [
+ Object {
+ "comment": "",
+ "end": 1525,
+ "flags": 4227072,
+ "kind": 325,
+ "modifierFlagsCache": 0,
+ "pos": 1512,
+ "tagName": Object {
+ "end": 1521,
+ "escapedText": "required",
+ "flags": 4227072,
+ "kind": 79,
+ "modifierFlagsCache": 0,
+ "pos": 1513,
+ "transformFlags": 0,
+ },
+ "transformFlags": 0,
+ },
+ ],
+ "line": 68,
+ "name": "label",
+ "rawdescription": "
+
+The inner text of the button.
+
+",
+ "type": "string",
+ },
+ Object {
+ "decorators": Array [],
+ "deprecated": false,
+ "deprecationMessage": "",
+ "line": 192,
+ "name": "showKeyAlias",
+ "type": "",
+ },
+ Object {
+ "decorators": Array [],
+ "defaultValue": "'medium'",
+ "deprecated": false,
+ "deprecationMessage": "",
+ "description": "Size of the button.
+",
+ "line": 72,
+ "name": "size",
+ "rawdescription": "
+Size of the button.",
+ "type": "ButtonSize",
+ },
+ Object {
+ "decorators": Array [],
+ "deprecated": false,
+ "deprecationMessage": "",
+ "description": "Specifies some arbitrary object
+",
+ "line": 75,
+ "name": "someDataObject",
+ "rawdescription": "
+Specifies some arbitrary object",
+ "type": "ISomeInterface",
+ },
+ Object {
+ "decorators": Array [],
+ "defaultValue": "false",
+ "deprecated": true,
+ "deprecationMessage": "",
+ "description": "Some input you shouldn't use.
+",
+ "jsdoctags": Array [
+ Object {
+ "comment": "",
+ "end": 1802,
+ "flags": 4227072,
+ "kind": 329,
+ "modifierFlagsCache": 0,
+ "pos": 1787,
+ "tagName": Object {
+ "end": 1798,
+ "escapedText": "deprecated",
+ "flags": 4227072,
+ "kind": 79,
+ "modifierFlagsCache": 0,
+ "pos": 1788,
+ "transformFlags": 0,
+ },
+ "transformFlags": 0,
+ },
+ ],
+ "line": 83,
+ "name": "somethingYouShouldNotUse",
+ "rawdescription": "
+
+Some input you shouldn't use.
+
+",
+ "type": "boolean",
+ },
+ ],
+ "methodsClass": Array [
+ Object {
+ "args": Array [
+ Object {
+ "deprecated": false,
+ "deprecationMessage": "",
+ "name": "x",
+ "type": "number",
+ },
+ Object {
+ "deprecated": false,
+ "deprecationMessage": "",
+ "name": "y",
+ "type": "string | number",
+ },
+ ],
+ "deprecated": false,
+ "deprecationMessage": "",
+ "description": "An internal calculation method which adds x
and y
together.
+",
+ "jsdoctags": Array [
+ Object {
+ "comment": "Some number you'd like to use.
+",
+ "deprecated": false,
+ "deprecationMessage": "",
+ "name": Object {
+ "end": 3518,
+ "escapedText": "x",
+ "flags": 4227072,
+ "kind": 79,
+ "modifierFlagsCache": 0,
+ "pos": 3517,
+ "transformFlags": 0,
+ },
+ "tagName": Object {
+ "end": 3516,
+ "escapedText": "param",
+ "flags": 4227072,
+ "kind": 79,
+ "modifierFlagsCache": 0,
+ "pos": 3511,
+ "transformFlags": 0,
+ },
+ "type": "number",
+ },
+ Object {
+ "comment": "Some other number or string you'd like to use, will have parseInt()
applied before calculation.
+",
+ "deprecated": false,
+ "deprecationMessage": "",
+ "name": Object {
+ "end": 3563,
+ "escapedText": "y",
+ "flags": 4227072,
+ "kind": 79,
+ "modifierFlagsCache": 0,
+ "pos": 3562,
+ "transformFlags": 0,
+ },
+ "tagName": Object {
+ "end": 3561,
+ "escapedText": "param",
+ "flags": 4227072,
+ "kind": 79,
+ "modifierFlagsCache": 0,
+ "pos": 3556,
+ "transformFlags": 0,
+ },
+ "type": "string | number",
+ },
+ ],
+ "line": 164,
+ "modifierKind": Array [
+ 123,
+ ],
+ "name": "calc",
+ "optional": false,
+ "rawdescription": "
+
+An internal calculation method which adds \`x\` and \`y\` together.
+
+",
+ "returnType": "number",
+ "typeParameters": Array [],
+ },
+ Object {
+ "args": Array [
+ Object {
+ "deprecated": false,
+ "deprecationMessage": "",
+ "name": "btn",
+ "type": "",
+ },
+ ],
+ "decorators": Array [
+ Object {
+ "name": "HostListener",
+ "stringifiedArguments": "'click', ['$event.target']",
+ },
+ ],
+ "deprecated": false,
+ "deprecationMessage": "",
+ "jsdoctags": Array [
+ Object {
+ "deprecated": false,
+ "deprecationMessage": "",
+ "name": "btn",
+ "tagName": Object {
+ "text": "param",
+ },
+ "type": "",
+ },
+ ],
+ "line": 120,
+ "name": "onClickListener",
+ "optional": false,
+ "returnType": "void",
+ "typeParameters": Array [],
+ },
+ Object {
+ "args": Array [
+ Object {
+ "deprecated": false,
+ "deprecationMessage": "",
+ "name": "password",
+ "type": "string",
+ },
+ ],
+ "deprecated": false,
+ "deprecationMessage": "",
+ "description": "A private method.
+",
+ "jsdoctags": Array [
+ Object {
+ "comment": "Some password
.
+",
+ "deprecated": false,
+ "deprecationMessage": "",
+ "name": Object {
+ "end": 4079,
+ "escapedText": "password",
+ "flags": 4227072,
+ "kind": 79,
+ "modifierFlagsCache": 0,
+ "pos": 4071,
+ "transformFlags": 0,
+ },
+ "tagName": Object {
+ "end": 4070,
+ "escapedText": "param",
+ "flags": 4227072,
+ "kind": 79,
+ "modifierFlagsCache": 0,
+ "pos": 4065,
+ "transformFlags": 0,
+ },
+ "type": "string",
+ },
+ ],
+ "line": 187,
+ "modifierKind": Array [
+ 121,
+ ],
+ "name": "privateMethod",
+ "optional": false,
+ "rawdescription": "
+
+A private method.
+
+",
+ "returnType": "void",
+ "typeParameters": Array [],
+ },
+ Object {
+ "args": Array [
+ Object {
+ "deprecated": false,
+ "deprecationMessage": "",
+ "name": "id",
+ "optional": true,
+ "type": "number",
+ },
+ ],
+ "deprecated": false,
+ "deprecationMessage": "",
+ "description": "A protected method.
+",
+ "jsdoctags": Array [
+ Object {
+ "comment": "Some id
.
+",
+ "deprecated": false,
+ "deprecationMessage": "",
+ "name": Object {
+ "end": 3938,
+ "escapedText": "id",
+ "flags": 4227072,
+ "kind": 79,
+ "modifierFlagsCache": 0,
+ "pos": 3936,
+ "transformFlags": 0,
+ },
+ "optional": true,
+ "tagName": Object {
+ "end": 3935,
+ "escapedText": "param",
+ "flags": 4227072,
+ "kind": 79,
+ "modifierFlagsCache": 0,
+ "pos": 3930,
+ "transformFlags": 0,
+ },
+ "type": "number",
+ },
+ ],
+ "line": 178,
+ "modifierKind": Array [
+ 122,
+ ],
+ "name": "protectedMethod",
+ "optional": false,
+ "rawdescription": "
+
+A protected method.
+
+",
+ "returnType": "void",
+ "typeParameters": Array [],
+ },
+ Object {
+ "args": Array [
+ Object {
+ "deprecated": false,
+ "deprecationMessage": "",
+ "name": "things",
+ "type": "ISomeInterface",
+ },
+ ],
+ "deprecated": false,
+ "deprecationMessage": "",
+ "description": "A public method using an interface.
+",
+ "jsdoctags": Array [
+ Object {
+ "deprecated": false,
+ "deprecationMessage": "",
+ "name": "things",
+ "tagName": Object {
+ "text": "param",
+ },
+ "type": "ISomeInterface",
+ },
+ ],
+ "line": 169,
+ "modifierKind": Array [
+ 123,
+ ],
+ "name": "publicMethod",
+ "optional": false,
+ "rawdescription": "
+A public method using an interface.",
+ "returnType": "void",
+ "typeParameters": Array [],
+ },
+ ],
+ "name": "InputComponent",
+ "outputs": Array [],
+ "outputsClass": Array [
+ Object {
+ "defaultValue": "new EventEmitter()",
+ "deprecated": false,
+ "deprecationMessage": "",
+ "description": "Handler to be called when the button is clicked by a user.
+Will also block the emission of the event if isDisabled
is true.
+",
+ "line": 91,
+ "name": "onClick",
+ "rawdescription": "
+
+Handler to be called when the button is clicked by a user.
+
+Will also block the emission of the event if \`isDisabled\` is true.
+",
+ "type": "EventEmitter",
+ },
+ ],
+ "propertiesClass": Array [
+ Object {
+ "defaultValue": "'some value'",
+ "deprecated": false,
+ "deprecationMessage": "",
+ "description": "",
+ "line": 106,
+ "modifierKind": Array [
+ 121,
+ ],
+ "name": "_inputValue",
+ "optional": false,
+ "type": "string",
+ },
+ Object {
+ "defaultValue": "'Private hello'",
+ "deprecated": false,
+ "deprecationMessage": "",
+ "description": "Private value.
+",
+ "line": 146,
+ "modifierKind": Array [
+ 121,
+ ],
+ "name": "_value",
+ "optional": false,
+ "rawdescription": "
+Private value.",
+ "type": "string",
+ },
+ Object {
+ "decorators": Array [
+ Object {
+ "name": "ViewChild",
+ "stringifiedArguments": "'buttonRef', {static: false}",
+ },
+ ],
+ "deprecated": false,
+ "deprecationMessage": "",
+ "description": "",
+ "line": 48,
+ "name": "buttonRef",
+ "optional": false,
+ "type": "ElementRef",
+ },
+ Object {
+ "decorators": Array [
+ Object {
+ "name": "HostBinding",
+ "stringifiedArguments": "'class.focused'",
+ },
+ ],
+ "defaultValue": "false",
+ "deprecated": false,
+ "deprecationMessage": "",
+ "description": "",
+ "line": 124,
+ "name": "focus",
+ "optional": false,
+ "type": "",
+ },
+ Object {
+ "defaultValue": "'Public hello'",
+ "deprecated": false,
+ "deprecationMessage": "",
+ "description": "Public value.
+",
+ "line": 143,
+ "modifierKind": Array [
+ 123,
+ ],
+ "name": "internalProperty",
+ "optional": false,
+ "rawdescription": "
+Public value.",
+ "type": "string",
+ },
+ Object {
+ "deprecated": false,
+ "deprecationMessage": "",
+ "description": "",
+ "line": 199,
+ "modifierKind": Array [
+ 123,
+ ],
+ "name": "processedItem",
+ "optional": false,
+ "type": "T[]",
+ },
+ ],
+ "providers": Array [],
+ "rawdescription": "
+
+This is a simple button that demonstrates various JSDoc handling in Storybook Docs for Angular.
+
+It supports [markdown](https://en.wikipedia.org/wiki/Markdown), so you can embed formatted text,
+like **bold**, _italic_, and \`inline code\`.
+
+> How you like dem apples?! It's never been easier to document all your components.
+
+",
+ "selector": "doc-button",
+ "sourceCode": "import {
+ Component,
+ ElementRef,
+ EventEmitter,
+ HostBinding,
+ HostListener,
+ Input,
+ Output,
+ ViewChild,
+} from '@angular/core';
+
+export const exportedConstant = 'An exported constant';
+
+export type ButtonSize = 'small' | 'medium' | 'large' | 'xlarge';
+
+export enum ButtonAccent {
+ 'Normal' = 'Normal',
+ 'High' = 'High',
+}
+
+export interface ISomeInterface {
+ one: string;
+ two: boolean;
+ three: any[];
+}
+
+/**
+ * This is a simple button that demonstrates various JSDoc handling in Storybook Docs for Angular.
+ *
+ * It supports [markdown](https://en.wikipedia.org/wiki/Markdown), so you can embed formatted text,
+ * like **bold**, _italic_, and \`inline code\`.
+ *
+ * > How you like dem apples?! It's never been easier to document all your components.
+ *
+ * @string Hello world
+ * @link [Example](http://example.com)
+ * @code \`ThingThing\`
+ * @html aaa
+ */
+@Component({
+ selector: 'doc-button',
+ template: '{{ label }} ',
+})
+export class InputComponent {
+ @ViewChild('buttonRef', { static: false }) buttonRef: ElementRef;
+
+ /** Appearance style of the button. */
+ @Input()
+ public appearance: 'primary' | 'secondary' = 'secondary';
+
+ /** Specify the accent-type of the button */
+ @Input()
+ public accent: ButtonAccent;
+
+ /** Sets the button to a disabled state. */
+ @Input()
+ public isDisabled = false;
+
+ /**
+ * The inner text of the button.
+ *
+ * @required
+ */
+ @Input()
+ public label: string;
+
+ /** Size of the button. */
+ @Input()
+ public size?: ButtonSize = 'medium';
+
+ /** Specifies some arbitrary object */
+ @Input() public someDataObject: ISomeInterface;
+
+ /**
+ * Some input you shouldn't use.
+ *
+ * @deprecated
+ */
+ @Input()
+ public somethingYouShouldNotUse = false;
+
+ /**
+ * Handler to be called when the button is clicked by a user.
+ *
+ * Will also block the emission of the event if \`isDisabled\` is true.
+ */
+ @Output()
+ public onClick = new EventEmitter();
+
+ /**
+ * This is an internal method that we don't want to document and have added the \`ignore\` annotation to.
+ *
+ * @ignore
+ */
+ public handleClick(event: Event) {
+ event.stopPropagation();
+
+ if (!this.isDisabled) {
+ this.onClick.emit(event);
+ }
+ }
+
+ private _inputValue = 'some value';
+
+ /** Setter for \`inputValue\` that is also an \`@Input\`. */
+ @Input()
+ public set inputValue(value: string) {
+ this._inputValue = value;
+ }
+
+ /** Getter for \`inputValue\`. */
+ public get inputValue() {
+ return this._inputValue;
+ }
+
+ @HostListener('click', ['$event.target'])
+ onClickListener(btn) {
+ console.log('button', btn);
+ }
+
+ @HostBinding('class.focused') focus = false;
+
+ /**
+ * Returns all the CSS classes for the button.
+ *
+ * @ignore
+ */
+ public get classes(): string[] {
+ return [this.appearance, this.size]
+ .filter((_class) => !!_class)
+ .map((_class) => \`btn-\${_class}\`);
+ }
+
+ /**
+ * @ignore
+ */
+ public ignoredProperty = 'Ignore me';
+
+ /** Public value. */
+ public internalProperty = 'Public hello';
+
+ /** Private value. */
+ private _value = 'Private hello';
+
+ /** Set the private value. */
+ public set value(value: string | number) {
+ this._value = \`\${value}\`;
+ }
+
+ /** Get the private value. */
+ public get value(): string | number {
+ return this._value;
+ }
+
+ /**
+ * An internal calculation method which adds \`x\` and \`y\` together.
+ *
+ * @param x Some number you'd like to use.
+ * @param y Some other number or string you'd like to use, will have \`parseInt()\` applied before calculation.
+ */
+ public calc(x: number, y: string | number): number {
+ return x + parseInt(\`\${y}\`, 10);
+ }
+
+ /** A public method using an interface. */
+ public publicMethod(things: ISomeInterface) {
+ console.log(things);
+ }
+
+ /**
+ * A protected method.
+ *
+ * @param id Some \`id\`.
+ */
+ protected protectedMethod(id?: number) {
+ console.log(id);
+ }
+
+ /**
+ * A private method.
+ *
+ * @param password Some \`password\`.
+ */
+ private privateMethod(password: string) {
+ console.log(password);
+ }
+
+ @Input('showKeyAlias')
+ public showKey: keyof T;
+
+ @Input()
+ public set item(item: T[]) {
+ this.processedItem = item;
+ }
+
+ public processedItem: T[];
+}
+",
+ "styleUrls": Array [],
+ "styleUrlsData": "",
+ "styles": Array [],
+ "stylesData": "",
+ "template": "{{ label }} ",
+ "templateUrl": Array [],
+ "type": "component",
+ "viewProviders": Array [],
+ },
+ ],
+ "coverage": Object {
+ "count": 21,
+ "files": Array [
+ Object {
+ "coverageCount": "16/25",
+ "coveragePercent": 64,
+ "filePath": "app/angular/src/client/docs/__testfixtures__/doc-button/input.ts",
+ "linktype": "component",
+ "name": "InputComponent",
+ "status": "good",
+ "type": "component",
+ },
+ Object {
+ "coverageCount": "0/4",
+ "coveragePercent": 0,
+ "filePath": "app/angular/src/client/docs/__testfixtures__/doc-button/input.ts",
+ "linktype": "interface",
+ "name": "ISomeInterface",
+ "status": "low",
+ "type": "interface",
+ },
+ Object {
+ "coverageCount": "0/1",
+ "coveragePercent": 0,
+ "filePath": "app/angular/src/client/docs/__testfixtures__/doc-button/input.ts",
+ "linksubtype": "variable",
+ "linktype": "miscellaneous",
+ "name": "exportedConstant",
+ "status": "low",
+ "type": "variable",
+ },
+ ],
+ "status": "low",
+ },
+ "directives": Array [],
+ "guards": Array [],
+ "injectables": Array [],
+ "interceptors": Array [],
+ "interfaces": Array [
+ Object {
+ "deprecated": false,
+ "deprecationMessage": "",
+ "file": "app/angular/src/client/docs/__testfixtures__/doc-button/input.ts",
+ "id": "interface-ISomeInterface-d145da25329b094ee29610c45a9e46387cb39eddb2a67b4c9fadb84bcec76eacd60d131e48d98b2ee5725dedd25f2eb299b704e8e0a34307d6e84f6e57d57044",
+ "indexSignatures": Array [],
+ "kind": 165,
+ "methods": Array [],
+ "name": "ISomeInterface",
+ "properties": Array [
+ Object {
+ "deprecated": false,
+ "deprecationMessage": "",
+ "description": "",
+ "line": 25,
+ "name": "one",
+ "optional": false,
+ "type": "string",
+ },
+ Object {
+ "deprecated": false,
+ "deprecationMessage": "",
+ "description": "",
+ "line": 27,
+ "name": "three",
+ "optional": false,
+ "type": "any[]",
+ },
+ Object {
+ "deprecated": false,
+ "deprecationMessage": "",
+ "description": "",
+ "line": 26,
+ "name": "two",
+ "optional": false,
+ "type": "boolean",
+ },
+ ],
+ "sourceCode": "import {
+ Component,
+ ElementRef,
+ EventEmitter,
+ HostBinding,
+ HostListener,
+ Input,
+ Output,
+ ViewChild,
+} from '@angular/core';
+
+export const exportedConstant = 'An exported constant';
+
+export type ButtonSize = 'small' | 'medium' | 'large' | 'xlarge';
+
+export enum ButtonAccent {
+ 'Normal' = 'Normal',
+ 'High' = 'High',
+}
+
+export interface ISomeInterface {
+ one: string;
+ two: boolean;
+ three: any[];
+}
+
+/**
+ * This is a simple button that demonstrates various JSDoc handling in Storybook Docs for Angular.
+ *
+ * It supports [markdown](https://en.wikipedia.org/wiki/Markdown), so you can embed formatted text,
+ * like **bold**, _italic_, and \`inline code\`.
+ *
+ * > How you like dem apples?! It's never been easier to document all your components.
+ *
+ * @string Hello world
+ * @link [Example](http://example.com)
+ * @code \`ThingThing\`
+ * @html aaa
+ */
+@Component({
+ selector: 'doc-button',
+ template: '{{ label }} ',
+})
+export class InputComponent {
+ @ViewChild('buttonRef', { static: false }) buttonRef: ElementRef;
+
+ /** Appearance style of the button. */
+ @Input()
+ public appearance: 'primary' | 'secondary' = 'secondary';
+
+ /** Specify the accent-type of the button */
+ @Input()
+ public accent: ButtonAccent;
+
+ /** Sets the button to a disabled state. */
+ @Input()
+ public isDisabled = false;
+
+ /**
+ * The inner text of the button.
+ *
+ * @required
+ */
+ @Input()
+ public label: string;
+
+ /** Size of the button. */
+ @Input()
+ public size?: ButtonSize = 'medium';
+
+ /** Specifies some arbitrary object */
+ @Input() public someDataObject: ISomeInterface;
+
+ /**
+ * Some input you shouldn't use.
+ *
+ * @deprecated
+ */
+ @Input()
+ public somethingYouShouldNotUse = false;
+
+ /**
+ * Handler to be called when the button is clicked by a user.
+ *
+ * Will also block the emission of the event if \`isDisabled\` is true.
+ */
+ @Output()
+ public onClick = new EventEmitter();
+
+ /**
+ * This is an internal method that we don't want to document and have added the \`ignore\` annotation to.
+ *
+ * @ignore
+ */
+ public handleClick(event: Event) {
+ event.stopPropagation();
+
+ if (!this.isDisabled) {
+ this.onClick.emit(event);
+ }
+ }
+
+ private _inputValue = 'some value';
+
+ /** Setter for \`inputValue\` that is also an \`@Input\`. */
+ @Input()
+ public set inputValue(value: string) {
+ this._inputValue = value;
+ }
+
+ /** Getter for \`inputValue\`. */
+ public get inputValue() {
+ return this._inputValue;
+ }
+
+ @HostListener('click', ['$event.target'])
+ onClickListener(btn) {
+ console.log('button', btn);
+ }
+
+ @HostBinding('class.focused') focus = false;
+
+ /**
+ * Returns all the CSS classes for the button.
+ *
+ * @ignore
+ */
+ public get classes(): string[] {
+ return [this.appearance, this.size]
+ .filter((_class) => !!_class)
+ .map((_class) => \`btn-\${_class}\`);
+ }
+
+ /**
+ * @ignore
+ */
+ public ignoredProperty = 'Ignore me';
+
+ /** Public value. */
+ public internalProperty = 'Public hello';
+
+ /** Private value. */
+ private _value = 'Private hello';
+
+ /** Set the private value. */
+ public set value(value: string | number) {
+ this._value = \`\${value}\`;
+ }
+
+ /** Get the private value. */
+ public get value(): string | number {
+ return this._value;
+ }
+
+ /**
+ * An internal calculation method which adds \`x\` and \`y\` together.
+ *
+ * @param x Some number you'd like to use.
+ * @param y Some other number or string you'd like to use, will have \`parseInt()\` applied before calculation.
+ */
+ public calc(x: number, y: string | number): number {
+ return x + parseInt(\`\${y}\`, 10);
+ }
+
+ /** A public method using an interface. */
+ public publicMethod(things: ISomeInterface) {
+ console.log(things);
+ }
+
+ /**
+ * A protected method.
+ *
+ * @param id Some \`id\`.
+ */
+ protected protectedMethod(id?: number) {
+ console.log(id);
+ }
+
+ /**
+ * A private method.
+ *
+ * @param password Some \`password\`.
+ */
+ private privateMethod(password: string) {
+ console.log(password);
+ }
+
+ @Input('showKeyAlias')
+ public showKey: keyof T;
+
+ @Input()
+ public set item(item: T[]) {
+ this.processedItem = item;
+ }
+
+ public processedItem: T[];
+}
+",
+ "type": "interface",
+ },
+ ],
+ "miscellaneous": Object {
+ "enumerations": Array [
+ Object {
+ "childs": Array [
+ Object {
+ "deprecated": false,
+ "deprecationMessage": "",
+ "name": "Normal",
+ "value": "Normal",
+ },
+ Object {
+ "deprecated": false,
+ "deprecationMessage": "",
+ "name": "High",
+ "value": "High",
+ },
+ ],
+ "ctype": "miscellaneous",
+ "deprecated": false,
+ "deprecationMessage": "",
+ "description": "",
+ "file": "app/angular/src/client/docs/__testfixtures__/doc-button/input.ts",
+ "name": "ButtonAccent",
+ "subtype": "enum",
+ },
+ ],
+ "functions": Array [],
+ "groupedEnumerations": Object {
+ "app/angular/src/client/docs/__testfixtures__/doc-button/input.ts": Array [
+ Object {
+ "childs": Array [
+ Object {
+ "deprecated": false,
+ "deprecationMessage": "",
+ "name": "Normal",
+ "value": "Normal",
+ },
+ Object {
+ "deprecated": false,
+ "deprecationMessage": "",
+ "name": "High",
+ "value": "High",
+ },
+ ],
+ "ctype": "miscellaneous",
+ "deprecated": false,
+ "deprecationMessage": "",
+ "description": "",
+ "file": "app/angular/src/client/docs/__testfixtures__/doc-button/input.ts",
+ "name": "ButtonAccent",
+ "subtype": "enum",
+ },
+ ],
+ },
+ "groupedFunctions": Object {},
+ "groupedTypeAliases": Object {
+ "app/angular/src/client/docs/__testfixtures__/doc-button/input.ts": Array [
+ Object {
+ "ctype": "miscellaneous",
+ "deprecated": false,
+ "deprecationMessage": "",
+ "description": "",
+ "file": "app/angular/src/client/docs/__testfixtures__/doc-button/input.ts",
+ "kind": 186,
+ "name": "ButtonSize",
+ "rawtype": "\\"small\\" | \\"medium\\" | \\"large\\" | \\"xlarge\\"",
+ "subtype": "typealias",
+ },
+ ],
+ },
+ "groupedVariables": Object {
+ "app/angular/src/client/docs/__testfixtures__/doc-button/input.ts": Array [
+ Object {
+ "ctype": "miscellaneous",
+ "defaultValue": "'An exported constant'",
+ "deprecated": false,
+ "deprecationMessage": "",
+ "file": "app/angular/src/client/docs/__testfixtures__/doc-button/input.ts",
+ "name": "exportedConstant",
+ "subtype": "variable",
+ "type": "string",
+ },
+ ],
+ },
+ "typealiases": Array [
+ Object {
+ "ctype": "miscellaneous",
+ "deprecated": false,
+ "deprecationMessage": "",
+ "description": "",
+ "file": "app/angular/src/client/docs/__testfixtures__/doc-button/input.ts",
+ "kind": 186,
+ "name": "ButtonSize",
+ "rawtype": "\\"small\\" | \\"medium\\" | \\"large\\" | \\"xlarge\\"",
+ "subtype": "typealias",
+ },
+ ],
+ "variables": Array [
+ Object {
+ "ctype": "miscellaneous",
+ "defaultValue": "'An exported constant'",
+ "deprecated": false,
+ "deprecationMessage": "",
+ "file": "app/angular/src/client/docs/__testfixtures__/doc-button/input.ts",
+ "name": "exportedConstant",
+ "subtype": "variable",
+ "type": "string",
+ },
+ ],
+ },
+ "modules": Array [],
+ "pipes": Array [],
+ "routes": Array [],
+}
+`;
diff --git a/addons/docs/src/frameworks/angular/__testfixtures__/doc-button/compodoc-windows.snapshot b/app/angular/src/client/docs/__testfixtures__/doc-button/compodoc-windows.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/angular/__testfixtures__/doc-button/compodoc-windows.snapshot
rename to app/angular/src/client/docs/__testfixtures__/doc-button/compodoc-windows.snapshot
diff --git a/addons/docs/src/frameworks/angular/__testfixtures__/doc-button/input.ts b/app/angular/src/client/docs/__testfixtures__/doc-button/input.ts
similarity index 100%
rename from addons/docs/src/frameworks/angular/__testfixtures__/doc-button/input.ts
rename to app/angular/src/client/docs/__testfixtures__/doc-button/input.ts
diff --git a/addons/docs/src/frameworks/angular/__testfixtures__/doc-button/properties.snapshot b/app/angular/src/client/docs/__testfixtures__/doc-button/properties.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/angular/__testfixtures__/doc-button/properties.snapshot
rename to app/angular/src/client/docs/__testfixtures__/doc-button/properties.snapshot
diff --git a/addons/docs/src/frameworks/angular/__testfixtures__/doc-button/tsconfig.json b/app/angular/src/client/docs/__testfixtures__/doc-button/tsconfig.json
similarity index 100%
rename from addons/docs/src/frameworks/angular/__testfixtures__/doc-button/tsconfig.json
rename to app/angular/src/client/docs/__testfixtures__/doc-button/tsconfig.json
diff --git a/addons/docs/src/frameworks/angular/angular-properties.test.ts b/app/angular/src/client/docs/angular-properties.test.ts
similarity index 99%
rename from addons/docs/src/frameworks/angular/angular-properties.test.ts
rename to app/angular/src/client/docs/angular-properties.test.ts
index 8532c65b03d6..49c7f5661a66 100644
--- a/addons/docs/src/frameworks/angular/angular-properties.test.ts
+++ b/app/angular/src/client/docs/angular-properties.test.ts
@@ -6,6 +6,7 @@ import { sync as spawnSync } from 'cross-spawn';
import { findComponentByName, extractArgTypesFromData } from './compodoc';
+// @ts-ignore
const { SNAPSHOT_OS } = global;
// File hierarchy: __testfixtures__ / some-test-case / input.*
diff --git a/addons/docs/src/frameworks/angular/compodoc.test.ts b/app/angular/src/client/docs/compodoc.test.ts
similarity index 100%
rename from addons/docs/src/frameworks/angular/compodoc.test.ts
rename to app/angular/src/client/docs/compodoc.test.ts
diff --git a/addons/docs/src/frameworks/angular/compodoc.ts b/app/angular/src/client/docs/compodoc.ts
similarity index 99%
rename from addons/docs/src/frameworks/angular/compodoc.ts
rename to app/angular/src/client/docs/compodoc.ts
index ec6d7037d0a9..7de806bce9ad 100644
--- a/addons/docs/src/frameworks/angular/compodoc.ts
+++ b/app/angular/src/client/docs/compodoc.ts
@@ -1,9 +1,9 @@
/* eslint-disable no-underscore-dangle */
/* global window */
-import { ArgType, ArgTypes } from '@storybook/api';
+import type { ArgType, ArgTypes } from '@storybook/api';
import { logger } from '@storybook/client-logger';
-import {
+import type {
Argument,
Class,
CompodocJson,
diff --git a/addons/docs/src/frameworks/angular/config.ts b/app/angular/src/client/docs/config.ts
similarity index 81%
rename from addons/docs/src/frameworks/angular/config.ts
rename to app/angular/src/client/docs/config.ts
index 25f9626ec4dc..70f19c61d0f0 100644
--- a/addons/docs/src/frameworks/angular/config.ts
+++ b/app/angular/src/client/docs/config.ts
@@ -1,4 +1,4 @@
-import { SourceType } from '../../shared';
+import { SourceType, enhanceArgTypes } from '@storybook/docs-tools';
import { extractArgTypes, extractComponentDescription } from './compodoc';
import { sourceDecorator } from './sourceDecorator';
import { prepareForInline } from './prepareForInline';
@@ -18,3 +18,5 @@ export const parameters = {
};
export const decorators = [sourceDecorator];
+
+export const argTypesEnhancers = [enhanceArgTypes];
diff --git a/addons/docs/src/frameworks/angular/index.ts b/app/angular/src/client/docs/index.ts
similarity index 100%
rename from addons/docs/src/frameworks/angular/index.ts
rename to app/angular/src/client/docs/index.ts
diff --git a/addons/docs/src/frameworks/angular/prepareForInline.ts b/app/angular/src/client/docs/prepareForInline.ts
similarity index 87%
rename from addons/docs/src/frameworks/angular/prepareForInline.ts
rename to app/angular/src/client/docs/prepareForInline.ts
index 3e07c842248a..4568782e8244 100644
--- a/addons/docs/src/frameworks/angular/prepareForInline.ts
+++ b/app/angular/src/client/docs/prepareForInline.ts
@@ -2,9 +2,9 @@ import React from 'react';
import pLimit from 'p-limit';
import { nanoid } from 'nanoid';
-import { AngularFramework, StoryContext } from '@storybook/angular';
-import { rendererFactory } from '@storybook/angular/renderer';
import { PartialStoryFn } from '@storybook/csf';
+import { AngularFramework, StoryContext } from '..';
+import { rendererFactory } from '../../renderer';
const limit = pLimit(1);
diff --git a/addons/docs/src/frameworks/angular/sourceDecorator.ts b/app/angular/src/client/docs/sourceDecorator.ts
similarity index 89%
rename from addons/docs/src/frameworks/angular/sourceDecorator.ts
rename to app/angular/src/client/docs/sourceDecorator.ts
index 8177aff2af1b..63c27e470f0c 100644
--- a/addons/docs/src/frameworks/angular/sourceDecorator.ts
+++ b/app/angular/src/client/docs/sourceDecorator.ts
@@ -1,8 +1,8 @@
import { addons, useEffect } from '@storybook/addons';
-import { PartialStoryFn } from '@storybook/csf';
-import { StoryContext, AngularFramework } from '@storybook/angular';
-import { computesTemplateSourceFromComponent } from '@storybook/angular/renderer';
-import { SNIPPET_RENDERED, SourceType } from '../../shared';
+import type { PartialStoryFn } from '@storybook/csf';
+import { SNIPPET_RENDERED, SourceType } from '@storybook/docs-tools';
+import { StoryContext, AngularFramework } from '..';
+import { computesTemplateSourceFromComponent } from '../../renderer';
export const skipSourceRender = (context: StoryContext) => {
const sourceParams = context?.parameters.docs?.source;
diff --git a/addons/docs/src/frameworks/angular/types.ts b/app/angular/src/client/docs/types.ts
similarity index 100%
rename from addons/docs/src/frameworks/angular/types.ts
rename to app/angular/src/client/docs/types.ts
diff --git a/app/angular/src/client/preview/angular-beta/ComputesTemplateFromComponent.test.ts b/app/angular/src/client/preview/angular-beta/ComputesTemplateFromComponent.test.ts
index 3ab84b295072..b4a571feb05f 100644
--- a/app/angular/src/client/preview/angular-beta/ComputesTemplateFromComponent.test.ts
+++ b/app/angular/src/client/preview/angular-beta/ComputesTemplateFromComponent.test.ts
@@ -1,5 +1,5 @@
import { Component } from '@angular/core';
-import { ArgTypes } from '@storybook/api';
+import type { ArgTypes } from '@storybook/api';
import { computesTemplateSourceFromComponent } from './ComputesTemplateFromComponent';
import { ButtonAccent, InputComponent, ISomeInterface } from './__testfixtures__/input.component';
diff --git a/app/angular/src/client/preview/angular-beta/ComputesTemplateFromComponent.ts b/app/angular/src/client/preview/angular-beta/ComputesTemplateFromComponent.ts
index c6703bf9e3c5..ade69fb64695 100644
--- a/app/angular/src/client/preview/angular-beta/ComputesTemplateFromComponent.ts
+++ b/app/angular/src/client/preview/angular-beta/ComputesTemplateFromComponent.ts
@@ -1,6 +1,6 @@
-import { Type } from '@angular/core';
-import { ArgType, ArgTypes } from '@storybook/api';
-import { ICollection } from '../types';
+import type { Type } from '@angular/core';
+import type { ArgType, ArgTypes } from '@storybook/api';
+import type { ICollection } from '../types';
import {
ComponentInputsOutputs,
getComponentDecoratorMetadata,
diff --git a/app/angular/src/client/preview/angular/helpers.ts b/app/angular/src/client/preview/angular/helpers.ts
index bad80b39bf93..0ffd723442f5 100644
--- a/app/angular/src/client/preview/angular/helpers.ts
+++ b/app/angular/src/client/preview/angular/helpers.ts
@@ -5,11 +5,11 @@ import { FormsModule } from '@angular/forms';
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { BrowserModule } from '@angular/platform-browser';
import { Observable, ReplaySubject, Subscriber } from 'rxjs';
-import { PartialStoryFn } from '@storybook/csf';
+import type { PartialStoryFn } from '@storybook/csf';
import { AppComponent } from './components/app.component';
import { STORY } from './app.token';
-import { NgModuleMetadata, StoryFnAngularReturnType } from '../types';
-import { AngularFramework } from '../types-6-0';
+import type { NgModuleMetadata, StoryFnAngularReturnType } from '../types';
+import type { AngularFramework } from '../types-6-0';
const { document } = global;
diff --git a/app/angular/src/client/preview/decorateStory.test.ts b/app/angular/src/client/preview/decorateStory.test.ts
index 316c79b06287..69243b14a74f 100644
--- a/app/angular/src/client/preview/decorateStory.test.ts
+++ b/app/angular/src/client/preview/decorateStory.test.ts
@@ -1,5 +1,5 @@
import { Component, Input, Output } from '@angular/core';
-import { DecoratorFunction, StoryContext } from '@storybook/addons';
+import type { DecoratorFunction, StoryContext } from '@storybook/addons';
import { componentWrapperDecorator } from './decorators';
import decorateStory from './decorateStory';
diff --git a/app/angular/src/client/preview/decorateStory.ts b/app/angular/src/client/preview/decorateStory.ts
index 1f0643933a0d..410ffec07f24 100644
--- a/app/angular/src/client/preview/decorateStory.ts
+++ b/app/angular/src/client/preview/decorateStory.ts
@@ -1,8 +1,8 @@
-import { DecoratorFunction, LegacyStoryFn, StoryContext } from '@storybook/csf';
+import type { DecoratorFunction, LegacyStoryFn, StoryContext } from '@storybook/csf';
import { sanitizeStoryContextUpdate } from '@storybook/store';
import { computesTemplateFromComponent } from './angular-beta/ComputesTemplateFromComponent';
-import { AngularFramework } from './types-6-0';
+import type { AngularFramework } from './types-6-0';
export default function decorateStory(
mainStoryFn: LegacyStoryFn,
diff --git a/app/angular/src/client/preview/decorators.test.ts b/app/angular/src/client/preview/decorators.test.ts
index b3354570b4e4..aa40d61767de 100644
--- a/app/angular/src/client/preview/decorators.test.ts
+++ b/app/angular/src/client/preview/decorators.test.ts
@@ -1,4 +1,5 @@
-import { addons, mockChannel, StoryContext } from '@storybook/addons';
+import { addons, mockChannel } from '@storybook/addons';
+import type { StoryContext } from '@storybook/addons';
import { Component } from '@angular/core';
import { moduleMetadata } from './decorators';
diff --git a/app/angular/src/client/preview/decorators.ts b/app/angular/src/client/preview/decorators.ts
index c74dcff99461..d5eeffe6c57e 100644
--- a/app/angular/src/client/preview/decorators.ts
+++ b/app/angular/src/client/preview/decorators.ts
@@ -1,10 +1,10 @@
/* eslint-disable no-param-reassign */
-import { Type } from '@angular/core';
-import { DecoratorFunction, StoryContext } from '@storybook/csf';
+import type { Type } from '@angular/core';
+import type { DecoratorFunction, StoryContext } from '@storybook/csf';
import { computesTemplateFromComponent } from './angular-beta/ComputesTemplateFromComponent';
import { isComponent } from './angular-beta/utils/NgComponentAnalyzer';
-import { ICollection, NgModuleMetadata } from './types';
-import { AngularFramework } from './types-6-0';
+import type { ICollection, NgModuleMetadata } from './types';
+import type { AngularFramework } from './types-6-0';
// We use `any` here as the default type rather than `Args` because we need something that is
// castable to any component-specific args type when the user is being careful.
diff --git a/app/angular/src/client/preview/index.ts b/app/angular/src/client/preview/index.ts
index 91ff1e5e2ea9..e37a283bd466 100644
--- a/app/angular/src/client/preview/index.ts
+++ b/app/angular/src/client/preview/index.ts
@@ -1,11 +1,11 @@
/* eslint-disable prefer-destructuring */
-import { ClientStoryApi, Loadable } from '@storybook/addons';
+import type { ClientStoryApi, Loadable } from '@storybook/addons';
import { start } from '@storybook/core/client';
import './globals';
import { renderToDOM, render } from './render';
import decorateStory from './decorateStory';
-import { IStorybookSection } from './types';
-import { AngularFramework } from './types-6-0';
+import type { IStorybookSection } from './types';
+import type { AngularFramework } from './types-6-0';
const framework = 'angular';
diff --git a/app/angular/src/client/preview/render.ts b/app/angular/src/client/preview/render.ts
index a942d7e05ad6..fc1427ded470 100644
--- a/app/angular/src/client/preview/render.ts
+++ b/app/angular/src/client/preview/render.ts
@@ -1,8 +1,8 @@
-import { RenderContext } from '@storybook/store';
-import { ArgsStoryFn } from '@storybook/csf';
+import type { RenderContext } from '@storybook/store';
+import type { ArgsStoryFn } from '@storybook/csf';
import { renderNgApp } from './angular/helpers';
-import { AngularFramework } from './types-6-0';
+import type { AngularFramework } from './types-6-0';
import { RendererFactory } from './angular-beta/RendererFactory';
diff --git a/app/angular/src/client/preview/types-6-0.ts b/app/angular/src/client/preview/types-6-0.ts
index 86bd12d15131..7e4372d14490 100644
--- a/app/angular/src/client/preview/types-6-0.ts
+++ b/app/angular/src/client/preview/types-6-0.ts
@@ -1,4 +1,4 @@
-import {
+import type {
Args,
Parameters as DefaultParameters,
StoryContext as DefaultStoryContext,
@@ -7,7 +7,7 @@ import {
AnnotatedStoryFn,
} from '@storybook/csf';
-import { StoryFnAngularReturnType } from './types';
+import type { StoryFnAngularReturnType } from './types';
export type { Args, ArgTypes } from '@storybook/csf';
diff --git a/app/angular/src/client/preview/types-7-0.ts b/app/angular/src/client/preview/types-7-0.ts
index b88051446a9d..2af743156fb7 100644
--- a/app/angular/src/client/preview/types-7-0.ts
+++ b/app/angular/src/client/preview/types-7-0.ts
@@ -1,5 +1,4 @@
-import { Args } from '@storybook/csf';
-
+import type { Args } from '@storybook/csf';
import type { StoryObj } from './types-6-0';
export type { StoryFn, StoryObj, Meta } from './types-6-0';
diff --git a/app/angular/src/server/create-fork-ts-checker-plugin.ts b/app/angular/src/server/create-fork-ts-checker-plugin.ts
index 941dd81031a4..329609b8f2b6 100644
--- a/app/angular/src/server/create-fork-ts-checker-plugin.ts
+++ b/app/angular/src/server/create-fork-ts-checker-plugin.ts
@@ -8,7 +8,7 @@ export default function (tsLoaderOptions: Partial) {
if (tsLoaderOptions && tsLoaderOptions.configFile) {
return new ForkTsCheckerWebpackPlugin({
tsconfig: tsLoaderOptions.configFile,
- async: false,
+ async: true,
});
}
diff --git a/app/angular/src/server/framework-preset-angular-cli.test.ts b/app/angular/src/server/framework-preset-angular-cli.test.ts
index a6c1853e6f2f..fa356f688eb4 100644
--- a/app/angular/src/server/framework-preset-angular-cli.test.ts
+++ b/app/angular/src/server/framework-preset-angular-cli.test.ts
@@ -1,5 +1,5 @@
import path from 'path';
-import { Configuration } from 'webpack';
+import type { Configuration } from 'webpack';
import { logger } from '@storybook/node-logger';
import { normalize, getSystemPath } from '@angular-devkit/core';
import TsconfigPathsPlugin from 'tsconfig-paths-webpack-plugin';
diff --git a/app/angular/src/server/framework-preset-angular-docs.ts b/app/angular/src/server/framework-preset-angular-docs.ts
new file mode 100644
index 000000000000..314ef6039f3f
--- /dev/null
+++ b/app/angular/src/server/framework-preset-angular-docs.ts
@@ -0,0 +1,8 @@
+import path from 'path';
+import { StorybookConfig } from '@storybook/core-common';
+import { hasDocsOrControls } from '@storybook/docs-tools';
+
+export const config: StorybookConfig['config'] = (entry = [], options) => {
+ if (!hasDocsOrControls(options)) return entry;
+ return [...entry, path.join(__dirname, '../../../dist/ts3.9/client/docs/config')];
+};
diff --git a/app/angular/src/server/options.ts b/app/angular/src/server/options.ts
index 252519968710..06866176345b 100644
--- a/app/angular/src/server/options.ts
+++ b/app/angular/src/server/options.ts
@@ -1,5 +1,5 @@
import { sync } from 'read-pkg-up';
-import { LoadOptions, Options as CoreOptions } from '@storybook/core-common';
+import type { LoadOptions, Options as CoreOptions } from '@storybook/core-common';
import { BuilderContext } from '@angular-devkit/architect';
import { ExtraEntryPoint, StylePreprocessorOptions } from '@angular-devkit/build-angular';
diff --git a/app/angular/src/server/preset.ts b/app/angular/src/server/preset.ts
index c4b3c1ffc729..ab7d7dd63059 100644
--- a/app/angular/src/server/preset.ts
+++ b/app/angular/src/server/preset.ts
@@ -9,4 +9,5 @@ export const addons: StorybookConfig['addons'] = [
require.resolve('./framework-preset-angular'),
require.resolve('./framework-preset-angular-cli'),
require.resolve('./framework-preset-angular-ivy'),
+ require.resolve('./framework-preset-angular-docs'),
];
diff --git a/app/angular/src/types/index.ts b/app/angular/src/types/index.ts
index 7b7db58544c8..13ee64606a0b 100644
--- a/app/angular/src/types/index.ts
+++ b/app/angular/src/types/index.ts
@@ -1,4 +1,4 @@
-import { StorybookConfig as BaseConfig } from '@storybook/core-common';
+import type { StorybookConfig as BaseConfig } from '@storybook/core-common';
export interface StorybookConfig extends BaseConfig {
angularOptions?: {
diff --git a/app/angular/standalone.d.ts b/app/angular/standalone.d.ts
index 6ad8186aa9dd..cd728e7dfb14 100644
--- a/app/angular/standalone.d.ts
+++ b/app/angular/standalone.d.ts
@@ -1,5 +1,5 @@
-import { CLIOptions, LoadOptions, BuilderOptions } from '@storybook/core-common';
-import { BuilderContext } from '@angular-devkit/architect';
+import type { CLIOptions, LoadOptions, BuilderOptions } from '@storybook/core-common';
+import type { BuilderContext } from '@angular-devkit/architect';
export type StandaloneOptions = Partial<
CLIOptions &
diff --git a/app/ember/package.json b/app/ember/package.json
index 70343abbcd48..b01d2c1dd23c 100644
--- a/app/ember/package.json
+++ b/app/ember/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/ember",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"description": "Storybook for Ember: Develop Ember Component in isolation with Hot Reloading.",
"homepage": "https://github.com/storybookjs/storybook/tree/main/app/ember",
"bugs": {
@@ -42,10 +42,10 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
- "@ember/test-helpers": "^2.1.4",
- "@storybook/core": "6.5.0-alpha.42",
- "@storybook/core-common": "6.5.0-alpha.42",
- "@storybook/store": "6.5.0-alpha.42",
+ "@storybook/core": "6.5.0-alpha.48",
+ "@storybook/core-common": "6.5.0-alpha.48",
+ "@storybook/docs-tools": "6.5.0-alpha.48",
+ "@storybook/store": "6.5.0-alpha.48",
"core-js": "^3.8.2",
"global": "^4.4.0",
"react": "16.14.0",
@@ -66,6 +66,6 @@
"publishConfig": {
"access": "public"
},
- "gitHead": "1477954e18494e721ae8d3c99bc710381eab1351",
+ "gitHead": "5f3afb8cf4389c16be11a6e5099e902d16a82762",
"sbmodern": "dist/modern/client/index.js"
}
diff --git a/app/ember/preset.js b/app/ember/preset.js
index 20dbce22ad35..f09c6698e046 100644
--- a/app/ember/preset.js
+++ b/app/ember/preset.js
@@ -1 +1 @@
-module.exports = require('./dist/cjs/server/framework-preset-babel-ember');
+module.exports = require('./dist/cjs/server/preset');
diff --git a/app/ember/src/client/docs/config.js b/app/ember/src/client/docs/config.js
new file mode 100644
index 000000000000..042ec16227ef
--- /dev/null
+++ b/app/ember/src/client/docs/config.js
@@ -0,0 +1,12 @@
+import { enhanceArgTypes } from '@storybook/docs-tools';
+import { extractArgTypes, extractComponentDescription } from './jsondoc';
+
+export const parameters = {
+ docs: {
+ iframeHeight: 80,
+ extractArgTypes,
+ extractComponentDescription,
+ },
+};
+
+export const argTypesEnhancers = [enhanceArgTypes];
diff --git a/addons/docs/src/frameworks/ember/index.js b/app/ember/src/client/docs/index.js
similarity index 100%
rename from addons/docs/src/frameworks/ember/index.js
rename to app/ember/src/client/docs/index.js
diff --git a/addons/docs/src/frameworks/ember/jsondoc.js b/app/ember/src/client/docs/jsondoc.js
similarity index 100%
rename from addons/docs/src/frameworks/ember/jsondoc.js
rename to app/ember/src/client/docs/jsondoc.js
diff --git a/addons/docs/src/frameworks/ember/config.js b/app/ember/src/client/preview/docs/config.js
similarity index 100%
rename from addons/docs/src/frameworks/ember/config.js
rename to app/ember/src/client/preview/docs/config.js
diff --git a/app/ember/src/client/preview/docs/index.js b/app/ember/src/client/preview/docs/index.js
new file mode 100644
index 000000000000..fab7166db9d7
--- /dev/null
+++ b/app/ember/src/client/preview/docs/index.js
@@ -0,0 +1 @@
+export { setJSONDoc } from './jsondoc';
diff --git a/app/ember/src/client/preview/docs/jsondoc.js b/app/ember/src/client/preview/docs/jsondoc.js
new file mode 100644
index 000000000000..f9e648ebc21b
--- /dev/null
+++ b/app/ember/src/client/preview/docs/jsondoc.js
@@ -0,0 +1,50 @@
+/* eslint-disable no-underscore-dangle */
+/* global window */
+
+export const setJSONDoc = (jsondoc) => {
+ window.__EMBER_GENERATED_DOC_JSON__ = jsondoc;
+};
+export const getJSONDoc = () => {
+ return window.__EMBER_GENERATED_DOC_JSON__;
+};
+
+export const extractArgTypes = (componentName) => {
+ const json = getJSONDoc();
+ if (!(json && json.included)) {
+ return null;
+ }
+ const componentDoc = json.included.find((doc) => doc.attributes.name === componentName);
+
+ if (!componentDoc) {
+ return null;
+ }
+ return componentDoc.attributes.arguments.reduce((acc, prop) => {
+ acc[prop.name] = {
+ name: prop.name,
+ defaultValue: prop.defaultValue,
+ description: prop.description,
+ table: {
+ defaultValue: { summary: prop.defaultValue },
+ type: {
+ summary: prop.type,
+ required: prop.tags.length ? prop.tags.some((tag) => tag.name === 'required') : false,
+ },
+ },
+ };
+ return acc;
+ }, {});
+};
+
+export const extractComponentDescription = (componentName) => {
+ const json = getJSONDoc();
+ if (!(json && json.included)) {
+ return null;
+ }
+ const componentDoc = json.included.find((doc) => doc.attributes.name === componentName);
+
+ if (!componentDoc) {
+ return null;
+ }
+
+ return componentDoc.attributes.description;
+};
diff --git a/app/ember/src/server/framework-preset-babel-ember.ts b/app/ember/src/server/framework-preset-babel-ember.ts
index eff74eea028f..85bb723bee7b 100644
--- a/app/ember/src/server/framework-preset-babel-ember.ts
+++ b/app/ember/src/server/framework-preset-babel-ember.ts
@@ -1,6 +1,7 @@
-import { TransformOptions } from '@babel/core';
+import type { TransformOptions } from '@babel/core';
import { precompile } from 'ember-source/dist/ember-template-compiler';
-import { findDistEsm, StorybookConfig, Options } from '@storybook/core-common';
+import { findDistEsm } from '@storybook/core-common';
+import type { StorybookConfig, Options } from '@storybook/core-common';
let emberOptions: any;
diff --git a/app/ember/src/server/framework-preset-ember-docs.ts b/app/ember/src/server/framework-preset-ember-docs.ts
new file mode 100644
index 000000000000..c2e6f69be8f2
--- /dev/null
+++ b/app/ember/src/server/framework-preset-ember-docs.ts
@@ -0,0 +1,8 @@
+import type { StorybookConfig } from '@storybook/core-common';
+import { findDistEsm } from '@storybook/core-common';
+import { hasDocsOrControls } from '@storybook/docs-tools';
+
+export const config: StorybookConfig['config'] = (entry = [], options) => {
+ if (!hasDocsOrControls(options)) return entry;
+ return [...entry, findDistEsm(__dirname, 'client/docs/config')];
+};
diff --git a/app/ember/src/server/options.ts b/app/ember/src/server/options.ts
index f6656af3802e..3643aedba732 100644
--- a/app/ember/src/server/options.ts
+++ b/app/ember/src/server/options.ts
@@ -1,8 +1,8 @@
import { sync } from 'read-pkg-up';
-import { LoadOptions } from '@storybook/core-common';
+import type { LoadOptions } from '@storybook/core-common';
export default {
packageJson: sync({ cwd: __dirname }).packageJson,
framework: 'ember',
- frameworkPresets: [require.resolve('./framework-preset-babel-ember.js')],
+ frameworkPresets: [require.resolve('./preset')],
} as LoadOptions;
diff --git a/app/ember/src/server/preset.ts b/app/ember/src/server/preset.ts
new file mode 100644
index 000000000000..5e5003a2626a
--- /dev/null
+++ b/app/ember/src/server/preset.ts
@@ -0,0 +1,6 @@
+import type { StorybookConfig } from '@storybook/core-common';
+
+export const addons: StorybookConfig['addons'] = [
+ require.resolve('./framework-preset-babel-ember'),
+ require.resolve('./framework-preset-ember-docs'),
+];
diff --git a/app/html/package.json b/app/html/package.json
index 8f9e68e0f500..9043cd0824da 100644
--- a/app/html/package.json
+++ b/app/html/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/html",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"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.5.0-alpha.42",
- "@storybook/client-api": "6.5.0-alpha.42",
- "@storybook/core": "6.5.0-alpha.42",
- "@storybook/core-common": "6.5.0-alpha.42",
+ "@storybook/addons": "6.5.0-alpha.48",
+ "@storybook/core": "6.5.0-alpha.48",
+ "@storybook/core-common": "6.5.0-alpha.48",
"@storybook/csf": "0.0.2--canary.87bc651.0",
- "@storybook/preview-web": "6.5.0-alpha.42",
- "@storybook/store": "6.5.0-alpha.42",
+ "@storybook/docs-tools": "6.5.0-alpha.48",
+ "@storybook/preview-web": "6.5.0-alpha.48",
+ "@storybook/store": "6.5.0-alpha.48",
"@types/node": "^14.14.20 || ^16.0.0",
"@types/webpack-env": "^1.16.0",
"core-js": "^3.8.2",
@@ -61,7 +61,8 @@
"react-dom": "16.14.0",
"read-pkg-up": "^7.0.1",
"regenerator-runtime": "^0.13.7",
- "ts-dedent": "^2.0.0"
+ "ts-dedent": "^2.0.0",
+ "webpack": "4"
},
"peerDependencies": {
"@babel/core": "*"
@@ -72,6 +73,6 @@
"publishConfig": {
"access": "public"
},
- "gitHead": "1477954e18494e721ae8d3c99bc710381eab1351",
+ "gitHead": "5f3afb8cf4389c16be11a6e5099e902d16a82762",
"sbmodern": "dist/modern/client/index.js"
}
diff --git a/app/html/preset.js b/app/html/preset.js
index 73fe39d8aaad..f09c6698e046 100644
--- a/app/html/preset.js
+++ b/app/html/preset.js
@@ -1 +1 @@
-module.exports = require('./dist/cjs/server/framework-preset-html');
+module.exports = require('./dist/cjs/server/preset');
diff --git a/addons/docs/src/frameworks/html/config.ts b/app/html/src/client/docs/config.ts
similarity index 86%
rename from addons/docs/src/frameworks/html/config.ts
rename to app/html/src/client/docs/config.ts
index 007800d5da93..73dd8ea8a5e9 100644
--- a/addons/docs/src/frameworks/html/config.ts
+++ b/app/html/src/client/docs/config.ts
@@ -1,6 +1,6 @@
+import { SourceType } from '@storybook/docs-tools';
import { sourceDecorator } from './sourceDecorator';
import { prepareForInline } from './prepareForInline';
-import { SourceType } from '../../shared';
export const decorators = [sourceDecorator];
diff --git a/addons/docs/src/frameworks/html/prepareForInline.tsx b/app/html/src/client/docs/prepareForInline.tsx
similarity index 100%
rename from addons/docs/src/frameworks/html/prepareForInline.tsx
rename to app/html/src/client/docs/prepareForInline.tsx
diff --git a/addons/docs/src/frameworks/html/sourceDecorator.test.ts b/app/html/src/client/docs/sourceDecorator.test.ts
similarity index 98%
rename from addons/docs/src/frameworks/html/sourceDecorator.test.ts
rename to app/html/src/client/docs/sourceDecorator.test.ts
index 9e66c1ebd1c1..18e5e3ace141 100644
--- a/addons/docs/src/frameworks/html/sourceDecorator.test.ts
+++ b/app/html/src/client/docs/sourceDecorator.test.ts
@@ -1,6 +1,6 @@
+import { SNIPPET_RENDERED } from '@storybook/docs-tools';
import { addons, StoryContext, useEffect } from '@storybook/addons';
import { sourceDecorator } from './sourceDecorator';
-import { SNIPPET_RENDERED } from '../../shared';
jest.mock('@storybook/addons');
const mockedAddons = addons as jest.Mocked;
diff --git a/addons/docs/src/frameworks/html/sourceDecorator.ts b/app/html/src/client/docs/sourceDecorator.ts
similarity index 90%
rename from addons/docs/src/frameworks/html/sourceDecorator.ts
rename to app/html/src/client/docs/sourceDecorator.ts
index 04d7defe4929..d9076dd35f03 100644
--- a/addons/docs/src/frameworks/html/sourceDecorator.ts
+++ b/app/html/src/client/docs/sourceDecorator.ts
@@ -1,10 +1,9 @@
/* global window */
+import { SNIPPET_RENDERED, SourceType } from '@storybook/docs-tools';
import { addons, useEffect } from '@storybook/addons';
-import { ArgsStoryFn, PartialStoryFn, StoryContext } from '@storybook/csf';
+import type { ArgsStoryFn, PartialStoryFn, StoryContext } from '@storybook/csf';
import dedent from 'ts-dedent';
-import { HtmlFramework } from '@storybook/html';
-
-import { SNIPPET_RENDERED, SourceType } from '../../shared';
+import type { HtmlFramework } from '..';
function skipSourceRender(context: StoryContext) {
const sourceParams = context?.parameters.docs?.source;
diff --git a/app/html/src/client/preview/index.ts b/app/html/src/client/preview/index.ts
index 96f8be1e9156..7838f55b09ff 100644
--- a/app/html/src/client/preview/index.ts
+++ b/app/html/src/client/preview/index.ts
@@ -1,11 +1,11 @@
/* eslint-disable prefer-destructuring */
import { start } from '@storybook/core/client';
-import { ClientStoryApi, Loadable } from '@storybook/addons';
+import type { ClientStoryApi, Loadable } from '@storybook/addons';
import { HtmlFramework } from './types-6-0';
import './globals';
import { renderToDOM } from './render';
-import { IStorybookSection } from './types';
+import type { IStorybookSection } from './types';
const framework = 'html';
diff --git a/app/html/src/client/preview/types-6-0.ts b/app/html/src/client/preview/types-6-0.ts
index 905b047506c4..abc711430c38 100644
--- a/app/html/src/client/preview/types-6-0.ts
+++ b/app/html/src/client/preview/types-6-0.ts
@@ -1,6 +1,11 @@
-import { Args, ComponentAnnotations, StoryAnnotations, AnnotatedStoryFn } from '@storybook/csf';
+import type {
+ Args,
+ ComponentAnnotations,
+ StoryAnnotations,
+ AnnotatedStoryFn,
+} from '@storybook/csf';
-import { StoryFnHtmlReturnType } from './types';
+import type { StoryFnHtmlReturnType } from './types';
export type { Args, ArgTypes, Parameters, StoryContext } from '@storybook/addons';
diff --git a/app/html/src/client/preview/types-7-0.ts b/app/html/src/client/preview/types-7-0.ts
index b88051446a9d..d897ad97a81a 100644
--- a/app/html/src/client/preview/types-7-0.ts
+++ b/app/html/src/client/preview/types-7-0.ts
@@ -1,4 +1,4 @@
-import { Args } from '@storybook/csf';
+import type { Args } from '@storybook/csf';
import type { StoryObj } from './types-6-0';
diff --git a/app/html/src/server/framework-preset-html-docs.ts b/app/html/src/server/framework-preset-html-docs.ts
new file mode 100644
index 000000000000..c2e6f69be8f2
--- /dev/null
+++ b/app/html/src/server/framework-preset-html-docs.ts
@@ -0,0 +1,8 @@
+import type { StorybookConfig } from '@storybook/core-common';
+import { findDistEsm } from '@storybook/core-common';
+import { hasDocsOrControls } from '@storybook/docs-tools';
+
+export const config: StorybookConfig['config'] = (entry = [], options) => {
+ if (!hasDocsOrControls(options)) return entry;
+ return [...entry, findDistEsm(__dirname, 'client/docs/config')];
+};
diff --git a/app/html/src/server/framework-preset-html.ts b/app/html/src/server/framework-preset-html.ts
index 4c6c7e0c1f9b..10b69f8fafdc 100644
--- a/app/html/src/server/framework-preset-html.ts
+++ b/app/html/src/server/framework-preset-html.ts
@@ -1,6 +1,6 @@
-// eslint-disable-next-line import/no-extraneous-dependencies
-import { Configuration } from 'webpack';
-import { findDistEsm, StorybookConfig } from '@storybook/core-common';
+import { findDistEsm } from '@storybook/core-common';
+import type { Configuration } from 'webpack';
+import type { StorybookConfig } from '@storybook/core-common';
export function webpack(config: Configuration) {
config.module.rules.push({
diff --git a/app/html/src/server/options.ts b/app/html/src/server/options.ts
index 306658e949e7..7c46e5bf5632 100644
--- a/app/html/src/server/options.ts
+++ b/app/html/src/server/options.ts
@@ -1,8 +1,8 @@
import { sync } from 'read-pkg-up';
-import { LoadOptions } from '@storybook/core-common';
+import type { LoadOptions } from '@storybook/core-common';
export default {
packageJson: sync({ cwd: __dirname }).packageJson,
framework: 'html',
- frameworkPresets: [require.resolve('./framework-preset-html')],
+ frameworkPresets: [require.resolve('./preset')],
} as LoadOptions;
diff --git a/app/html/src/server/preset.ts b/app/html/src/server/preset.ts
new file mode 100644
index 000000000000..62a020699371
--- /dev/null
+++ b/app/html/src/server/preset.ts
@@ -0,0 +1,6 @@
+import type { StorybookConfig } from '@storybook/core-common';
+
+export const addons: StorybookConfig['addons'] = [
+ require.resolve('./framework-preset-html'),
+ require.resolve('./framework-preset-html-docs'),
+];
diff --git a/app/html/tsconfig.json b/app/html/tsconfig.json
index 77e11bbd2ab9..a7b3b6102f4c 100644
--- a/app/html/tsconfig.json
+++ b/app/html/tsconfig.json
@@ -2,15 +2,8 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"rootDir": "./src",
- "types": [
- "webpack-env",
- "node"
- ]
+ "types": ["webpack-env", "node"]
},
- "include": [
- "src/**/*"
- ],
- "exclude": [
- "src/__tests__/**/*"
- ]
-}
\ No newline at end of file
+ "include": ["src/**/*"],
+ "exclude": ["src/**/*.test.*", "src/__tests__/**/*"]
+}
diff --git a/app/preact/package.json b/app/preact/package.json
index 0503b30618c1..ef97e13d94c6 100644
--- a/app/preact/package.json
+++ b/app/preact/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/preact",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"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.5.0-alpha.42",
- "@storybook/core": "6.5.0-alpha.42",
- "@storybook/core-common": "6.5.0-alpha.42",
+ "@storybook/addons": "6.5.0-alpha.48",
+ "@storybook/core": "6.5.0-alpha.48",
+ "@storybook/core-common": "6.5.0-alpha.48",
"@storybook/csf": "0.0.2--canary.87bc651.0",
- "@storybook/store": "6.5.0-alpha.42",
+ "@storybook/store": "6.5.0-alpha.48",
"@types/node": "^14.14.20 || ^16.0.0",
"@types/webpack-env": "^1.16.0",
"core-js": "^3.8.2",
@@ -75,6 +75,6 @@
"publishConfig": {
"access": "public"
},
- "gitHead": "1477954e18494e721ae8d3c99bc710381eab1351",
+ "gitHead": "5f3afb8cf4389c16be11a6e5099e902d16a82762",
"sbmodern": "dist/modern/client/index.js"
}
diff --git a/app/preact/src/client/preview/index.ts b/app/preact/src/client/preview/index.ts
index 82bbf67a73d3..b15e21d72ee2 100644
--- a/app/preact/src/client/preview/index.ts
+++ b/app/preact/src/client/preview/index.ts
@@ -1,11 +1,11 @@
/* eslint-disable prefer-destructuring */
import { start } from '@storybook/core/client';
-import { ClientStoryApi, Loadable } from '@storybook/addons';
+import type { ClientStoryApi, Loadable } from '@storybook/addons';
import './globals';
import { renderToDOM } from './render';
-import { IStorybookSection } from './types';
-import { PreactFramework } from './types-6-0';
+import type { IStorybookSection } from './types';
+import type { PreactFramework } from './types-6-0';
export interface ClientApi extends ClientStoryApi {
setAddon(addon: any): void;
diff --git a/app/preact/src/client/preview/types-6-0.ts b/app/preact/src/client/preview/types-6-0.ts
index 5f43f298f57c..c98eb9071576 100644
--- a/app/preact/src/client/preview/types-6-0.ts
+++ b/app/preact/src/client/preview/types-6-0.ts
@@ -1,6 +1,11 @@
-import { AnyComponent } from 'preact';
-import { Args, ComponentAnnotations, StoryAnnotations, AnnotatedStoryFn } from '@storybook/csf';
-import { StoryFnPreactReturnType } from './types';
+import type { AnyComponent } from 'preact';
+import type {
+ Args,
+ ComponentAnnotations,
+ StoryAnnotations,
+ AnnotatedStoryFn,
+} from '@storybook/csf';
+import type { StoryFnPreactReturnType } from './types';
export type { Args, ArgTypes, Parameters, StoryContext } from '@storybook/csf';
diff --git a/app/preact/src/client/preview/types-7-0.ts b/app/preact/src/client/preview/types-7-0.ts
index b88051446a9d..d897ad97a81a 100644
--- a/app/preact/src/client/preview/types-7-0.ts
+++ b/app/preact/src/client/preview/types-7-0.ts
@@ -1,4 +1,4 @@
-import { Args } from '@storybook/csf';
+import type { Args } from '@storybook/csf';
import type { StoryObj } from './types-6-0';
diff --git a/app/preact/src/server/framework-preset-preact.ts b/app/preact/src/server/framework-preset-preact.ts
index f6c1266931e5..034cd1f4f729 100644
--- a/app/preact/src/server/framework-preset-preact.ts
+++ b/app/preact/src/server/framework-preset-preact.ts
@@ -1,7 +1,8 @@
import path from 'path';
-import { TransformOptions } from '@babel/core';
-import { Configuration } from 'webpack';
-import { findDistEsm, StorybookConfig } from '@storybook/core-common';
+import type { TransformOptions } from '@babel/core';
+import type { Configuration } from 'webpack';
+import { findDistEsm } from '@storybook/core-common';
+import type { StorybookConfig } from '@storybook/core-common';
export function babelDefault(config: TransformOptions): TransformOptions {
return {
diff --git a/app/preact/src/server/options.ts b/app/preact/src/server/options.ts
index 6132aceaae33..f2614b12e04b 100644
--- a/app/preact/src/server/options.ts
+++ b/app/preact/src/server/options.ts
@@ -1,5 +1,5 @@
import { sync } from 'read-pkg-up';
-import { LoadOptions } from '@storybook/core-common';
+import type { LoadOptions } from '@storybook/core-common';
export default {
packageJson: sync({ cwd: __dirname }).packageJson,
diff --git a/app/react/package.json b/app/react/package.json
index 0542702c2e46..36540408d444 100644
--- a/app/react/package.json
+++ b/app/react/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/react",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"description": "Storybook for React: Develop React Component in isolation with Hot Reloading.",
"keywords": [
"storybook"
@@ -49,38 +49,48 @@
"@babel/preset-flow": "^7.12.1",
"@babel/preset-react": "^7.12.10",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.3",
- "@storybook/addons": "6.5.0-alpha.42",
- "@storybook/core": "6.5.0-alpha.42",
- "@storybook/core-common": "6.5.0-alpha.42",
+ "@storybook/addons": "6.5.0-alpha.48",
+ "@storybook/client-logger": "6.5.0-alpha.48",
+ "@storybook/core": "6.5.0-alpha.48",
+ "@storybook/core-common": "6.5.0-alpha.48",
"@storybook/csf": "0.0.2--canary.87bc651.0",
- "@storybook/node-logger": "6.5.0-alpha.42",
+ "@storybook/docs-tools": "6.5.0-alpha.48",
+ "@storybook/node-logger": "6.5.0-alpha.48",
"@storybook/react-docgen-typescript-plugin": "1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0",
"@storybook/semver": "^7.3.2",
- "@storybook/store": "6.5.0-alpha.42",
+ "@storybook/store": "6.5.0-alpha.48",
+ "@types/estree": "^0.0.51",
"@types/node": "^14.14.20 || ^16.0.0",
"@types/webpack-env": "^1.16.0",
+ "acorn": "^7.4.1",
+ "acorn-jsx": "^5.3.1",
+ "acorn-walk": "^7.2.0",
"babel-plugin-add-react-displayname": "^0.0.5",
- "babel-plugin-named-asset-import": "^0.3.1",
"babel-plugin-react-docgen": "^4.2.1",
"core-js": "^3.8.2",
+ "escodegen": "^2.0.0",
"global": "^4.4.0",
+ "html-tags": "^3.1.0",
"lodash": "^4.17.21",
"prop-types": "^15.7.2",
+ "react-element-to-jsx-string": "^14.3.4",
"react-refresh": "^0.11.0",
"read-pkg-up": "^7.0.1",
"regenerator-runtime": "^0.13.7",
"ts-dedent": "^2.0.0",
+ "util-deprecate": "^1.0.2",
"webpack": ">=4.43.0 <6.0.0"
},
"devDependencies": {
- "@storybook/client-api": "6.5.0-alpha.42",
- "@types/prompts": "^2.0.9",
+ "@types/util-deprecate": "^1.0.0",
"webpack": "4"
},
"peerDependencies": {
"@babel/core": "^7.11.5",
+ "jest-specific-snapshot": "^4.0.0",
"react": "^16.8.0 || ^17.0.0",
- "react-dom": "^16.8.0 || ^17.0.0"
+ "react-dom": "^16.8.0 || ^17.0.0",
+ "require-from-string": "^2.0.2"
},
"peerDependenciesMeta": {
"@babel/core": {
@@ -108,6 +118,6 @@
"publishConfig": {
"access": "public"
},
- "gitHead": "1477954e18494e721ae8d3c99bc710381eab1351",
+ "gitHead": "5f3afb8cf4389c16be11a6e5099e902d16a82762",
"sbmodern": "dist/modern/client/index.js"
}
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/10017-ts-union/argTypes.snapshot b/app/react/src/client/docs/__testfixtures__/10017-ts-union/argTypes.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/10017-ts-union/argTypes.snapshot
rename to app/react/src/client/docs/__testfixtures__/10017-ts-union/argTypes.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/10017-ts-union/docgen.snapshot b/app/react/src/client/docs/__testfixtures__/10017-ts-union/docgen.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/10017-ts-union/docgen.snapshot
rename to app/react/src/client/docs/__testfixtures__/10017-ts-union/docgen.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/10017-ts-union/input.tsx b/app/react/src/client/docs/__testfixtures__/10017-ts-union/input.tsx
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/10017-ts-union/input.tsx
rename to app/react/src/client/docs/__testfixtures__/10017-ts-union/input.tsx
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/10017-ts-union/properties.snapshot b/app/react/src/client/docs/__testfixtures__/10017-ts-union/properties.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/10017-ts-union/properties.snapshot
rename to app/react/src/client/docs/__testfixtures__/10017-ts-union/properties.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/10278-ts-multiple-components/argTypes.snapshot b/app/react/src/client/docs/__testfixtures__/10278-ts-multiple-components/argTypes.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/10278-ts-multiple-components/argTypes.snapshot
rename to app/react/src/client/docs/__testfixtures__/10278-ts-multiple-components/argTypes.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/10278-ts-multiple-components/docgen.snapshot b/app/react/src/client/docs/__testfixtures__/10278-ts-multiple-components/docgen.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/10278-ts-multiple-components/docgen.snapshot
rename to app/react/src/client/docs/__testfixtures__/10278-ts-multiple-components/docgen.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/10278-ts-multiple-components/input.tsx b/app/react/src/client/docs/__testfixtures__/10278-ts-multiple-components/input.tsx
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/10278-ts-multiple-components/input.tsx
rename to app/react/src/client/docs/__testfixtures__/10278-ts-multiple-components/input.tsx
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/10278-ts-multiple-components/properties.snapshot b/app/react/src/client/docs/__testfixtures__/10278-ts-multiple-components/properties.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/10278-ts-multiple-components/properties.snapshot
rename to app/react/src/client/docs/__testfixtures__/10278-ts-multiple-components/properties.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/8140-js-prop-types-oneof/argTypes.snapshot b/app/react/src/client/docs/__testfixtures__/8140-js-prop-types-oneof/argTypes.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/8140-js-prop-types-oneof/argTypes.snapshot
rename to app/react/src/client/docs/__testfixtures__/8140-js-prop-types-oneof/argTypes.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/8140-js-prop-types-oneof/docgen.snapshot b/app/react/src/client/docs/__testfixtures__/8140-js-prop-types-oneof/docgen.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/8140-js-prop-types-oneof/docgen.snapshot
rename to app/react/src/client/docs/__testfixtures__/8140-js-prop-types-oneof/docgen.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/8140-js-prop-types-oneof/input.js b/app/react/src/client/docs/__testfixtures__/8140-js-prop-types-oneof/input.js
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/8140-js-prop-types-oneof/input.js
rename to app/react/src/client/docs/__testfixtures__/8140-js-prop-types-oneof/input.js
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/8140-js-prop-types-oneof/properties.snapshot b/app/react/src/client/docs/__testfixtures__/8140-js-prop-types-oneof/properties.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/8140-js-prop-types-oneof/properties.snapshot
rename to app/react/src/client/docs/__testfixtures__/8140-js-prop-types-oneof/properties.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/8143-ts-imported-types/argTypes.snapshot b/app/react/src/client/docs/__testfixtures__/8143-ts-imported-types/argTypes.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/8143-ts-imported-types/argTypes.snapshot
rename to app/react/src/client/docs/__testfixtures__/8143-ts-imported-types/argTypes.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/8143-ts-imported-types/docgen.snapshot b/app/react/src/client/docs/__testfixtures__/8143-ts-imported-types/docgen.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/8143-ts-imported-types/docgen.snapshot
rename to app/react/src/client/docs/__testfixtures__/8143-ts-imported-types/docgen.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/8143-ts-imported-types/input.tsx b/app/react/src/client/docs/__testfixtures__/8143-ts-imported-types/input.tsx
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/8143-ts-imported-types/input.tsx
rename to app/react/src/client/docs/__testfixtures__/8143-ts-imported-types/input.tsx
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/8143-ts-imported-types/properties.snapshot b/app/react/src/client/docs/__testfixtures__/8143-ts-imported-types/properties.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/8143-ts-imported-types/properties.snapshot
rename to app/react/src/client/docs/__testfixtures__/8143-ts-imported-types/properties.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/8143-ts-imported-types/types.ts b/app/react/src/client/docs/__testfixtures__/8143-ts-imported-types/types.ts
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/8143-ts-imported-types/types.ts
rename to app/react/src/client/docs/__testfixtures__/8143-ts-imported-types/types.ts
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/8143-ts-react-fc-generics/argTypes.snapshot b/app/react/src/client/docs/__testfixtures__/8143-ts-react-fc-generics/argTypes.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/8143-ts-react-fc-generics/argTypes.snapshot
rename to app/react/src/client/docs/__testfixtures__/8143-ts-react-fc-generics/argTypes.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/8143-ts-react-fc-generics/docgen.snapshot b/app/react/src/client/docs/__testfixtures__/8143-ts-react-fc-generics/docgen.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/8143-ts-react-fc-generics/docgen.snapshot
rename to app/react/src/client/docs/__testfixtures__/8143-ts-react-fc-generics/docgen.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/8143-ts-react-fc-generics/input.tsx b/app/react/src/client/docs/__testfixtures__/8143-ts-react-fc-generics/input.tsx
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/8143-ts-react-fc-generics/input.tsx
rename to app/react/src/client/docs/__testfixtures__/8143-ts-react-fc-generics/input.tsx
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/8143-ts-react-fc-generics/properties.snapshot b/app/react/src/client/docs/__testfixtures__/8143-ts-react-fc-generics/properties.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/8143-ts-react-fc-generics/properties.snapshot
rename to app/react/src/client/docs/__testfixtures__/8143-ts-react-fc-generics/properties.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/8279-js-styled-docgen/argTypes.snapshot b/app/react/src/client/docs/__testfixtures__/8279-js-styled-docgen/argTypes.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/8279-js-styled-docgen/argTypes.snapshot
rename to app/react/src/client/docs/__testfixtures__/8279-js-styled-docgen/argTypes.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/8279-js-styled-docgen/docgen.snapshot b/app/react/src/client/docs/__testfixtures__/8279-js-styled-docgen/docgen.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/8279-js-styled-docgen/docgen.snapshot
rename to app/react/src/client/docs/__testfixtures__/8279-js-styled-docgen/docgen.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/8279-js-styled-docgen/input.js b/app/react/src/client/docs/__testfixtures__/8279-js-styled-docgen/input.js
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/8279-js-styled-docgen/input.js
rename to app/react/src/client/docs/__testfixtures__/8279-js-styled-docgen/input.js
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/8279-js-styled-docgen/properties.snapshot b/app/react/src/client/docs/__testfixtures__/8279-js-styled-docgen/properties.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/8279-js-styled-docgen/properties.snapshot
rename to app/react/src/client/docs/__testfixtures__/8279-js-styled-docgen/properties.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/8428-js-static-prop-types/argTypes.snapshot b/app/react/src/client/docs/__testfixtures__/8428-js-static-prop-types/argTypes.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/8428-js-static-prop-types/argTypes.snapshot
rename to app/react/src/client/docs/__testfixtures__/8428-js-static-prop-types/argTypes.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/8428-js-static-prop-types/docgen.snapshot b/app/react/src/client/docs/__testfixtures__/8428-js-static-prop-types/docgen.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/8428-js-static-prop-types/docgen.snapshot
rename to app/react/src/client/docs/__testfixtures__/8428-js-static-prop-types/docgen.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/8428-js-static-prop-types/input.js b/app/react/src/client/docs/__testfixtures__/8428-js-static-prop-types/input.js
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/8428-js-static-prop-types/input.js
rename to app/react/src/client/docs/__testfixtures__/8428-js-static-prop-types/input.js
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/8428-js-static-prop-types/properties.snapshot b/app/react/src/client/docs/__testfixtures__/8428-js-static-prop-types/properties.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/8428-js-static-prop-types/properties.snapshot
rename to app/react/src/client/docs/__testfixtures__/8428-js-static-prop-types/properties.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/8663-js-styled-components/argTypes.snapshot b/app/react/src/client/docs/__testfixtures__/8663-js-styled-components/argTypes.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/8663-js-styled-components/argTypes.snapshot
rename to app/react/src/client/docs/__testfixtures__/8663-js-styled-components/argTypes.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/8663-js-styled-components/docgen.snapshot b/app/react/src/client/docs/__testfixtures__/8663-js-styled-components/docgen.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/8663-js-styled-components/docgen.snapshot
rename to app/react/src/client/docs/__testfixtures__/8663-js-styled-components/docgen.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/8663-js-styled-components/input.js b/app/react/src/client/docs/__testfixtures__/8663-js-styled-components/input.js
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/8663-js-styled-components/input.js
rename to app/react/src/client/docs/__testfixtures__/8663-js-styled-components/input.js
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/8663-js-styled-components/properties.snapshot b/app/react/src/client/docs/__testfixtures__/8663-js-styled-components/properties.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/8663-js-styled-components/properties.snapshot
rename to app/react/src/client/docs/__testfixtures__/8663-js-styled-components/properties.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/8740-ts-multi-props/argTypes.snapshot b/app/react/src/client/docs/__testfixtures__/8740-ts-multi-props/argTypes.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/8740-ts-multi-props/argTypes.snapshot
rename to app/react/src/client/docs/__testfixtures__/8740-ts-multi-props/argTypes.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/8740-ts-multi-props/docgen.snapshot b/app/react/src/client/docs/__testfixtures__/8740-ts-multi-props/docgen.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/8740-ts-multi-props/docgen.snapshot
rename to app/react/src/client/docs/__testfixtures__/8740-ts-multi-props/docgen.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/8740-ts-multi-props/input.tsx b/app/react/src/client/docs/__testfixtures__/8740-ts-multi-props/input.tsx
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/8740-ts-multi-props/input.tsx
rename to app/react/src/client/docs/__testfixtures__/8740-ts-multi-props/input.tsx
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/8740-ts-multi-props/properties.snapshot b/app/react/src/client/docs/__testfixtures__/8740-ts-multi-props/properties.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/8740-ts-multi-props/properties.snapshot
rename to app/react/src/client/docs/__testfixtures__/8740-ts-multi-props/properties.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/8894-9511-ts-forward-ref/argTypes.snapshot b/app/react/src/client/docs/__testfixtures__/8894-9511-ts-forward-ref/argTypes.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/8894-9511-ts-forward-ref/argTypes.snapshot
rename to app/react/src/client/docs/__testfixtures__/8894-9511-ts-forward-ref/argTypes.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/8894-9511-ts-forward-ref/docgen.snapshot b/app/react/src/client/docs/__testfixtures__/8894-9511-ts-forward-ref/docgen.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/8894-9511-ts-forward-ref/docgen.snapshot
rename to app/react/src/client/docs/__testfixtures__/8894-9511-ts-forward-ref/docgen.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/8894-9511-ts-forward-ref/input.tsx b/app/react/src/client/docs/__testfixtures__/8894-9511-ts-forward-ref/input.tsx
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/8894-9511-ts-forward-ref/input.tsx
rename to app/react/src/client/docs/__testfixtures__/8894-9511-ts-forward-ref/input.tsx
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/8894-9511-ts-forward-ref/properties.snapshot b/app/react/src/client/docs/__testfixtures__/8894-9511-ts-forward-ref/properties.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/8894-9511-ts-forward-ref/properties.snapshot
rename to app/react/src/client/docs/__testfixtures__/8894-9511-ts-forward-ref/properties.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9023-js-hoc/argTypes.snapshot b/app/react/src/client/docs/__testfixtures__/9023-js-hoc/argTypes.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9023-js-hoc/argTypes.snapshot
rename to app/react/src/client/docs/__testfixtures__/9023-js-hoc/argTypes.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9023-js-hoc/docgen.snapshot b/app/react/src/client/docs/__testfixtures__/9023-js-hoc/docgen.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9023-js-hoc/docgen.snapshot
rename to app/react/src/client/docs/__testfixtures__/9023-js-hoc/docgen.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9023-js-hoc/input.js b/app/react/src/client/docs/__testfixtures__/9023-js-hoc/input.js
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9023-js-hoc/input.js
rename to app/react/src/client/docs/__testfixtures__/9023-js-hoc/input.js
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9023-js-hoc/properties.snapshot b/app/react/src/client/docs/__testfixtures__/9023-js-hoc/properties.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9023-js-hoc/properties.snapshot
rename to app/react/src/client/docs/__testfixtures__/9023-js-hoc/properties.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9399-js-proptypes-shape/argTypes.snapshot b/app/react/src/client/docs/__testfixtures__/9399-js-proptypes-shape/argTypes.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9399-js-proptypes-shape/argTypes.snapshot
rename to app/react/src/client/docs/__testfixtures__/9399-js-proptypes-shape/argTypes.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9399-js-proptypes-shape/docgen.snapshot b/app/react/src/client/docs/__testfixtures__/9399-js-proptypes-shape/docgen.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9399-js-proptypes-shape/docgen.snapshot
rename to app/react/src/client/docs/__testfixtures__/9399-js-proptypes-shape/docgen.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9399-js-proptypes-shape/input.js b/app/react/src/client/docs/__testfixtures__/9399-js-proptypes-shape/input.js
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9399-js-proptypes-shape/input.js
rename to app/react/src/client/docs/__testfixtures__/9399-js-proptypes-shape/input.js
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9399-js-proptypes-shape/properties.snapshot b/app/react/src/client/docs/__testfixtures__/9399-js-proptypes-shape/properties.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9399-js-proptypes-shape/properties.snapshot
rename to app/react/src/client/docs/__testfixtures__/9399-js-proptypes-shape/properties.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9465-ts-type-props/argTypes.snapshot b/app/react/src/client/docs/__testfixtures__/9465-ts-type-props/argTypes.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9465-ts-type-props/argTypes.snapshot
rename to app/react/src/client/docs/__testfixtures__/9465-ts-type-props/argTypes.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9465-ts-type-props/docgen.snapshot b/app/react/src/client/docs/__testfixtures__/9465-ts-type-props/docgen.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9465-ts-type-props/docgen.snapshot
rename to app/react/src/client/docs/__testfixtures__/9465-ts-type-props/docgen.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9465-ts-type-props/input.tsx b/app/react/src/client/docs/__testfixtures__/9465-ts-type-props/input.tsx
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9465-ts-type-props/input.tsx
rename to app/react/src/client/docs/__testfixtures__/9465-ts-type-props/input.tsx
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9465-ts-type-props/properties.snapshot b/app/react/src/client/docs/__testfixtures__/9465-ts-type-props/properties.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9465-ts-type-props/properties.snapshot
rename to app/react/src/client/docs/__testfixtures__/9465-ts-type-props/properties.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9493-ts-display-name/argTypes.snapshot b/app/react/src/client/docs/__testfixtures__/9493-ts-display-name/argTypes.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9493-ts-display-name/argTypes.snapshot
rename to app/react/src/client/docs/__testfixtures__/9493-ts-display-name/argTypes.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9493-ts-display-name/docgen.snapshot b/app/react/src/client/docs/__testfixtures__/9493-ts-display-name/docgen.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9493-ts-display-name/docgen.snapshot
rename to app/react/src/client/docs/__testfixtures__/9493-ts-display-name/docgen.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9493-ts-display-name/input.tsx b/app/react/src/client/docs/__testfixtures__/9493-ts-display-name/input.tsx
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9493-ts-display-name/input.tsx
rename to app/react/src/client/docs/__testfixtures__/9493-ts-display-name/input.tsx
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9493-ts-display-name/properties.snapshot b/app/react/src/client/docs/__testfixtures__/9493-ts-display-name/properties.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9493-ts-display-name/properties.snapshot
rename to app/react/src/client/docs/__testfixtures__/9493-ts-display-name/properties.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9556-ts-react-default-exports/argTypes.snapshot b/app/react/src/client/docs/__testfixtures__/9556-ts-react-default-exports/argTypes.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9556-ts-react-default-exports/argTypes.snapshot
rename to app/react/src/client/docs/__testfixtures__/9556-ts-react-default-exports/argTypes.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9556-ts-react-default-exports/docgen.snapshot b/app/react/src/client/docs/__testfixtures__/9556-ts-react-default-exports/docgen.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9556-ts-react-default-exports/docgen.snapshot
rename to app/react/src/client/docs/__testfixtures__/9556-ts-react-default-exports/docgen.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9556-ts-react-default-exports/input.tsx b/app/react/src/client/docs/__testfixtures__/9556-ts-react-default-exports/input.tsx
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9556-ts-react-default-exports/input.tsx
rename to app/react/src/client/docs/__testfixtures__/9556-ts-react-default-exports/input.tsx
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9556-ts-react-default-exports/properties.snapshot b/app/react/src/client/docs/__testfixtures__/9556-ts-react-default-exports/properties.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9556-ts-react-default-exports/properties.snapshot
rename to app/react/src/client/docs/__testfixtures__/9556-ts-react-default-exports/properties.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9575-ts-camel-case/argTypes.snapshot b/app/react/src/client/docs/__testfixtures__/9575-ts-camel-case/argTypes.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9575-ts-camel-case/argTypes.snapshot
rename to app/react/src/client/docs/__testfixtures__/9575-ts-camel-case/argTypes.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9575-ts-camel-case/docgen.snapshot b/app/react/src/client/docs/__testfixtures__/9575-ts-camel-case/docgen.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9575-ts-camel-case/docgen.snapshot
rename to app/react/src/client/docs/__testfixtures__/9575-ts-camel-case/docgen.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9575-ts-camel-case/input.tsx b/app/react/src/client/docs/__testfixtures__/9575-ts-camel-case/input.tsx
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9575-ts-camel-case/input.tsx
rename to app/react/src/client/docs/__testfixtures__/9575-ts-camel-case/input.tsx
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9575-ts-camel-case/properties.snapshot b/app/react/src/client/docs/__testfixtures__/9575-ts-camel-case/properties.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9575-ts-camel-case/properties.snapshot
rename to app/react/src/client/docs/__testfixtures__/9575-ts-camel-case/properties.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9586-js-react-memo/argTypes.snapshot b/app/react/src/client/docs/__testfixtures__/9586-js-react-memo/argTypes.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9586-js-react-memo/argTypes.snapshot
rename to app/react/src/client/docs/__testfixtures__/9586-js-react-memo/argTypes.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9586-js-react-memo/docgen.snapshot b/app/react/src/client/docs/__testfixtures__/9586-js-react-memo/docgen.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9586-js-react-memo/docgen.snapshot
rename to app/react/src/client/docs/__testfixtures__/9586-js-react-memo/docgen.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9586-js-react-memo/input.js b/app/react/src/client/docs/__testfixtures__/9586-js-react-memo/input.js
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9586-js-react-memo/input.js
rename to app/react/src/client/docs/__testfixtures__/9586-js-react-memo/input.js
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9586-js-react-memo/properties.snapshot b/app/react/src/client/docs/__testfixtures__/9586-js-react-memo/properties.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9586-js-react-memo/properties.snapshot
rename to app/react/src/client/docs/__testfixtures__/9586-js-react-memo/properties.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9591-ts-import-types/Bar.tsx b/app/react/src/client/docs/__testfixtures__/9591-ts-import-types/Bar.tsx
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9591-ts-import-types/Bar.tsx
rename to app/react/src/client/docs/__testfixtures__/9591-ts-import-types/Bar.tsx
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9591-ts-import-types/argTypes.snapshot b/app/react/src/client/docs/__testfixtures__/9591-ts-import-types/argTypes.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9591-ts-import-types/argTypes.snapshot
rename to app/react/src/client/docs/__testfixtures__/9591-ts-import-types/argTypes.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9591-ts-import-types/docgen.snapshot b/app/react/src/client/docs/__testfixtures__/9591-ts-import-types/docgen.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9591-ts-import-types/docgen.snapshot
rename to app/react/src/client/docs/__testfixtures__/9591-ts-import-types/docgen.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9591-ts-import-types/input.tsx b/app/react/src/client/docs/__testfixtures__/9591-ts-import-types/input.tsx
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9591-ts-import-types/input.tsx
rename to app/react/src/client/docs/__testfixtures__/9591-ts-import-types/input.tsx
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9591-ts-import-types/properties.snapshot b/app/react/src/client/docs/__testfixtures__/9591-ts-import-types/properties.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9591-ts-import-types/properties.snapshot
rename to app/react/src/client/docs/__testfixtures__/9591-ts-import-types/properties.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9592-ts-styled-props/argTypes.snapshot b/app/react/src/client/docs/__testfixtures__/9592-ts-styled-props/argTypes.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9592-ts-styled-props/argTypes.snapshot
rename to app/react/src/client/docs/__testfixtures__/9592-ts-styled-props/argTypes.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9592-ts-styled-props/docgen.snapshot b/app/react/src/client/docs/__testfixtures__/9592-ts-styled-props/docgen.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9592-ts-styled-props/docgen.snapshot
rename to app/react/src/client/docs/__testfixtures__/9592-ts-styled-props/docgen.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9592-ts-styled-props/input.tsx b/app/react/src/client/docs/__testfixtures__/9592-ts-styled-props/input.tsx
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9592-ts-styled-props/input.tsx
rename to app/react/src/client/docs/__testfixtures__/9592-ts-styled-props/input.tsx
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9592-ts-styled-props/properties.snapshot b/app/react/src/client/docs/__testfixtures__/9592-ts-styled-props/properties.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9592-ts-styled-props/properties.snapshot
rename to app/react/src/client/docs/__testfixtures__/9592-ts-styled-props/properties.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9626-js-default-values/argTypes.snapshot b/app/react/src/client/docs/__testfixtures__/9626-js-default-values/argTypes.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9626-js-default-values/argTypes.snapshot
rename to app/react/src/client/docs/__testfixtures__/9626-js-default-values/argTypes.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9626-js-default-values/docgen.snapshot b/app/react/src/client/docs/__testfixtures__/9626-js-default-values/docgen.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9626-js-default-values/docgen.snapshot
rename to app/react/src/client/docs/__testfixtures__/9626-js-default-values/docgen.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9626-js-default-values/input.js b/app/react/src/client/docs/__testfixtures__/9626-js-default-values/input.js
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9626-js-default-values/input.js
rename to app/react/src/client/docs/__testfixtures__/9626-js-default-values/input.js
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9626-js-default-values/properties.snapshot b/app/react/src/client/docs/__testfixtures__/9626-js-default-values/properties.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9626-js-default-values/properties.snapshot
rename to app/react/src/client/docs/__testfixtures__/9626-js-default-values/properties.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9668-js-proptypes-no-jsdoc/argTypes.snapshot b/app/react/src/client/docs/__testfixtures__/9668-js-proptypes-no-jsdoc/argTypes.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9668-js-proptypes-no-jsdoc/argTypes.snapshot
rename to app/react/src/client/docs/__testfixtures__/9668-js-proptypes-no-jsdoc/argTypes.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9668-js-proptypes-no-jsdoc/docgen.snapshot b/app/react/src/client/docs/__testfixtures__/9668-js-proptypes-no-jsdoc/docgen.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9668-js-proptypes-no-jsdoc/docgen.snapshot
rename to app/react/src/client/docs/__testfixtures__/9668-js-proptypes-no-jsdoc/docgen.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9668-js-proptypes-no-jsdoc/input.js b/app/react/src/client/docs/__testfixtures__/9668-js-proptypes-no-jsdoc/input.js
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9668-js-proptypes-no-jsdoc/input.js
rename to app/react/src/client/docs/__testfixtures__/9668-js-proptypes-no-jsdoc/input.js
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9668-js-proptypes-no-jsdoc/properties.snapshot b/app/react/src/client/docs/__testfixtures__/9668-js-proptypes-no-jsdoc/properties.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9668-js-proptypes-no-jsdoc/properties.snapshot
rename to app/react/src/client/docs/__testfixtures__/9668-js-proptypes-no-jsdoc/properties.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9721-ts-deprecated-jsdoc/argTypes.snapshot b/app/react/src/client/docs/__testfixtures__/9721-ts-deprecated-jsdoc/argTypes.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9721-ts-deprecated-jsdoc/argTypes.snapshot
rename to app/react/src/client/docs/__testfixtures__/9721-ts-deprecated-jsdoc/argTypes.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9721-ts-deprecated-jsdoc/docgen.snapshot b/app/react/src/client/docs/__testfixtures__/9721-ts-deprecated-jsdoc/docgen.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9721-ts-deprecated-jsdoc/docgen.snapshot
rename to app/react/src/client/docs/__testfixtures__/9721-ts-deprecated-jsdoc/docgen.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9721-ts-deprecated-jsdoc/input.tsx b/app/react/src/client/docs/__testfixtures__/9721-ts-deprecated-jsdoc/input.tsx
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9721-ts-deprecated-jsdoc/input.tsx
rename to app/react/src/client/docs/__testfixtures__/9721-ts-deprecated-jsdoc/input.tsx
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9721-ts-deprecated-jsdoc/properties.snapshot b/app/react/src/client/docs/__testfixtures__/9721-ts-deprecated-jsdoc/properties.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9721-ts-deprecated-jsdoc/properties.snapshot
rename to app/react/src/client/docs/__testfixtures__/9721-ts-deprecated-jsdoc/properties.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9764-ts-extend-props/argTypes.snapshot b/app/react/src/client/docs/__testfixtures__/9764-ts-extend-props/argTypes.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9764-ts-extend-props/argTypes.snapshot
rename to app/react/src/client/docs/__testfixtures__/9764-ts-extend-props/argTypes.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9764-ts-extend-props/docgen.snapshot b/app/react/src/client/docs/__testfixtures__/9764-ts-extend-props/docgen.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9764-ts-extend-props/docgen.snapshot
rename to app/react/src/client/docs/__testfixtures__/9764-ts-extend-props/docgen.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9764-ts-extend-props/input.tsx b/app/react/src/client/docs/__testfixtures__/9764-ts-extend-props/input.tsx
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9764-ts-extend-props/input.tsx
rename to app/react/src/client/docs/__testfixtures__/9764-ts-extend-props/input.tsx
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9764-ts-extend-props/properties.snapshot b/app/react/src/client/docs/__testfixtures__/9764-ts-extend-props/properties.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9764-ts-extend-props/properties.snapshot
rename to app/react/src/client/docs/__testfixtures__/9764-ts-extend-props/properties.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9827-ts-default-values/argTypes.snapshot b/app/react/src/client/docs/__testfixtures__/9827-ts-default-values/argTypes.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9827-ts-default-values/argTypes.snapshot
rename to app/react/src/client/docs/__testfixtures__/9827-ts-default-values/argTypes.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9827-ts-default-values/docgen.snapshot b/app/react/src/client/docs/__testfixtures__/9827-ts-default-values/docgen.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9827-ts-default-values/docgen.snapshot
rename to app/react/src/client/docs/__testfixtures__/9827-ts-default-values/docgen.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9827-ts-default-values/input.tsx b/app/react/src/client/docs/__testfixtures__/9827-ts-default-values/input.tsx
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9827-ts-default-values/input.tsx
rename to app/react/src/client/docs/__testfixtures__/9827-ts-default-values/input.tsx
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9827-ts-default-values/properties.snapshot b/app/react/src/client/docs/__testfixtures__/9827-ts-default-values/properties.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9827-ts-default-values/properties.snapshot
rename to app/react/src/client/docs/__testfixtures__/9827-ts-default-values/properties.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9832-ts-enum-export/argTypes.snapshot b/app/react/src/client/docs/__testfixtures__/9832-ts-enum-export/argTypes.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9832-ts-enum-export/argTypes.snapshot
rename to app/react/src/client/docs/__testfixtures__/9832-ts-enum-export/argTypes.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9832-ts-enum-export/docgen.snapshot b/app/react/src/client/docs/__testfixtures__/9832-ts-enum-export/docgen.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9832-ts-enum-export/docgen.snapshot
rename to app/react/src/client/docs/__testfixtures__/9832-ts-enum-export/docgen.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9832-ts-enum-export/input.tsx b/app/react/src/client/docs/__testfixtures__/9832-ts-enum-export/input.tsx
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9832-ts-enum-export/input.tsx
rename to app/react/src/client/docs/__testfixtures__/9832-ts-enum-export/input.tsx
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9832-ts-enum-export/properties.snapshot b/app/react/src/client/docs/__testfixtures__/9832-ts-enum-export/properties.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9832-ts-enum-export/properties.snapshot
rename to app/react/src/client/docs/__testfixtures__/9832-ts-enum-export/properties.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9922-ts-component-props/argTypes.snapshot b/app/react/src/client/docs/__testfixtures__/9922-ts-component-props/argTypes.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9922-ts-component-props/argTypes.snapshot
rename to app/react/src/client/docs/__testfixtures__/9922-ts-component-props/argTypes.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9922-ts-component-props/docgen.snapshot b/app/react/src/client/docs/__testfixtures__/9922-ts-component-props/docgen.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9922-ts-component-props/docgen.snapshot
rename to app/react/src/client/docs/__testfixtures__/9922-ts-component-props/docgen.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9922-ts-component-props/input.tsx b/app/react/src/client/docs/__testfixtures__/9922-ts-component-props/input.tsx
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9922-ts-component-props/input.tsx
rename to app/react/src/client/docs/__testfixtures__/9922-ts-component-props/input.tsx
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9922-ts-component-props/properties.snapshot b/app/react/src/client/docs/__testfixtures__/9922-ts-component-props/properties.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/9922-ts-component-props/properties.snapshot
rename to app/react/src/client/docs/__testfixtures__/9922-ts-component-props/properties.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/imported.js b/app/react/src/client/docs/__testfixtures__/imported.js
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/imported.js
rename to app/react/src/client/docs/__testfixtures__/imported.js
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/js-class-component/argTypes.snapshot b/app/react/src/client/docs/__testfixtures__/js-class-component/argTypes.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/js-class-component/argTypes.snapshot
rename to app/react/src/client/docs/__testfixtures__/js-class-component/argTypes.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/js-class-component/docgen.snapshot b/app/react/src/client/docs/__testfixtures__/js-class-component/docgen.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/js-class-component/docgen.snapshot
rename to app/react/src/client/docs/__testfixtures__/js-class-component/docgen.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/js-class-component/input.js b/app/react/src/client/docs/__testfixtures__/js-class-component/input.js
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/js-class-component/input.js
rename to app/react/src/client/docs/__testfixtures__/js-class-component/input.js
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/js-class-component/properties.snapshot b/app/react/src/client/docs/__testfixtures__/js-class-component/properties.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/js-class-component/properties.snapshot
rename to app/react/src/client/docs/__testfixtures__/js-class-component/properties.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/js-function-component-inline-defaults-no-propTypes/argTypes.snapshot b/app/react/src/client/docs/__testfixtures__/js-function-component-inline-defaults-no-propTypes/argTypes.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/js-function-component-inline-defaults-no-propTypes/argTypes.snapshot
rename to app/react/src/client/docs/__testfixtures__/js-function-component-inline-defaults-no-propTypes/argTypes.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/js-function-component-inline-defaults-no-propTypes/docgen.snapshot b/app/react/src/client/docs/__testfixtures__/js-function-component-inline-defaults-no-propTypes/docgen.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/js-function-component-inline-defaults-no-propTypes/docgen.snapshot
rename to app/react/src/client/docs/__testfixtures__/js-function-component-inline-defaults-no-propTypes/docgen.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/js-function-component-inline-defaults-no-propTypes/input.js b/app/react/src/client/docs/__testfixtures__/js-function-component-inline-defaults-no-propTypes/input.js
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/js-function-component-inline-defaults-no-propTypes/input.js
rename to app/react/src/client/docs/__testfixtures__/js-function-component-inline-defaults-no-propTypes/input.js
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/js-function-component-inline-defaults-no-propTypes/properties.snapshot b/app/react/src/client/docs/__testfixtures__/js-function-component-inline-defaults-no-propTypes/properties.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/js-function-component-inline-defaults-no-propTypes/properties.snapshot
rename to app/react/src/client/docs/__testfixtures__/js-function-component-inline-defaults-no-propTypes/properties.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/js-function-component-inline-defaults/argTypes.snapshot b/app/react/src/client/docs/__testfixtures__/js-function-component-inline-defaults/argTypes.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/js-function-component-inline-defaults/argTypes.snapshot
rename to app/react/src/client/docs/__testfixtures__/js-function-component-inline-defaults/argTypes.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/js-function-component-inline-defaults/docgen.snapshot b/app/react/src/client/docs/__testfixtures__/js-function-component-inline-defaults/docgen.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/js-function-component-inline-defaults/docgen.snapshot
rename to app/react/src/client/docs/__testfixtures__/js-function-component-inline-defaults/docgen.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/js-function-component-inline-defaults/input.js b/app/react/src/client/docs/__testfixtures__/js-function-component-inline-defaults/input.js
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/js-function-component-inline-defaults/input.js
rename to app/react/src/client/docs/__testfixtures__/js-function-component-inline-defaults/input.js
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/js-function-component-inline-defaults/properties.snapshot b/app/react/src/client/docs/__testfixtures__/js-function-component-inline-defaults/properties.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/js-function-component-inline-defaults/properties.snapshot
rename to app/react/src/client/docs/__testfixtures__/js-function-component-inline-defaults/properties.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/js-function-component/argTypes.snapshot b/app/react/src/client/docs/__testfixtures__/js-function-component/argTypes.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/js-function-component/argTypes.snapshot
rename to app/react/src/client/docs/__testfixtures__/js-function-component/argTypes.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/js-function-component/docgen.snapshot b/app/react/src/client/docs/__testfixtures__/js-function-component/docgen.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/js-function-component/docgen.snapshot
rename to app/react/src/client/docs/__testfixtures__/js-function-component/docgen.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/js-function-component/input.js b/app/react/src/client/docs/__testfixtures__/js-function-component/input.js
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/js-function-component/input.js
rename to app/react/src/client/docs/__testfixtures__/js-function-component/input.js
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/js-function-component/properties.snapshot b/app/react/src/client/docs/__testfixtures__/js-function-component/properties.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/js-function-component/properties.snapshot
rename to app/react/src/client/docs/__testfixtures__/js-function-component/properties.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/ts-function-component-inline-defaults/argTypes.snapshot b/app/react/src/client/docs/__testfixtures__/ts-function-component-inline-defaults/argTypes.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/ts-function-component-inline-defaults/argTypes.snapshot
rename to app/react/src/client/docs/__testfixtures__/ts-function-component-inline-defaults/argTypes.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/ts-function-component-inline-defaults/docgen.snapshot b/app/react/src/client/docs/__testfixtures__/ts-function-component-inline-defaults/docgen.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/ts-function-component-inline-defaults/docgen.snapshot
rename to app/react/src/client/docs/__testfixtures__/ts-function-component-inline-defaults/docgen.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/ts-function-component-inline-defaults/input.tsx b/app/react/src/client/docs/__testfixtures__/ts-function-component-inline-defaults/input.tsx
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/ts-function-component-inline-defaults/input.tsx
rename to app/react/src/client/docs/__testfixtures__/ts-function-component-inline-defaults/input.tsx
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/ts-function-component-inline-defaults/properties.snapshot b/app/react/src/client/docs/__testfixtures__/ts-function-component-inline-defaults/properties.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/ts-function-component-inline-defaults/properties.snapshot
rename to app/react/src/client/docs/__testfixtures__/ts-function-component-inline-defaults/properties.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/ts-function-component/argTypes.snapshot b/app/react/src/client/docs/__testfixtures__/ts-function-component/argTypes.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/ts-function-component/argTypes.snapshot
rename to app/react/src/client/docs/__testfixtures__/ts-function-component/argTypes.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/ts-function-component/docgen.snapshot b/app/react/src/client/docs/__testfixtures__/ts-function-component/docgen.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/ts-function-component/docgen.snapshot
rename to app/react/src/client/docs/__testfixtures__/ts-function-component/docgen.snapshot
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/ts-function-component/input.tsx b/app/react/src/client/docs/__testfixtures__/ts-function-component/input.tsx
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/ts-function-component/input.tsx
rename to app/react/src/client/docs/__testfixtures__/ts-function-component/input.tsx
diff --git a/addons/docs/src/frameworks/react/__testfixtures__/ts-function-component/properties.snapshot b/app/react/src/client/docs/__testfixtures__/ts-function-component/properties.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/react/__testfixtures__/ts-function-component/properties.snapshot
rename to app/react/src/client/docs/__testfixtures__/ts-function-component/properties.snapshot
diff --git a/addons/docs/src/frameworks/react/config.ts b/app/react/src/client/docs/config.ts
similarity index 65%
rename from addons/docs/src/frameworks/react/config.ts
rename to app/react/src/client/docs/config.ts
index 28ef4afc0e47..393befc24150 100644
--- a/addons/docs/src/frameworks/react/config.ts
+++ b/app/react/src/client/docs/config.ts
@@ -1,8 +1,8 @@
-import { PartialStoryFn } from '@storybook/csf';
-import { ReactFramework } from '@storybook/react';
+import type { PartialStoryFn } from '@storybook/csf';
+import { extractComponentDescription, enhanceArgTypes } from '@storybook/docs-tools';
+import { ReactFramework } from '..';
import { extractArgTypes } from './extractArgTypes';
-import { extractComponentDescription } from '../../lib/docgen';
import { jsxDecorator } from './jsxDecorator';
export const parameters = {
@@ -16,3 +16,5 @@ export const parameters = {
};
export const decorators = [jsxDecorator];
+
+export const argTypesEnhancers = [enhanceArgTypes];
diff --git a/addons/docs/src/frameworks/react/extractArgTypes.ts b/app/react/src/client/docs/extractArgTypes.ts
similarity index 85%
rename from addons/docs/src/frameworks/react/extractArgTypes.ts
rename to app/react/src/client/docs/extractArgTypes.ts
index e86dcaa99b88..333052be43e1 100644
--- a/addons/docs/src/frameworks/react/extractArgTypes.ts
+++ b/app/react/src/client/docs/extractArgTypes.ts
@@ -1,5 +1,5 @@
-import { StrictArgTypes } from '@storybook/csf';
-import { PropDef, ArgTypesExtractor } from '../../lib/docgen';
+import type { StrictArgTypes } from '@storybook/csf';
+import type { PropDef, ArgTypesExtractor } from '@storybook/docs-tools';
import { extractProps } from './extractProps';
export const extractArgTypes: ArgTypesExtractor = (component) => {
diff --git a/addons/docs/src/frameworks/react/extractProps.ts b/app/react/src/client/docs/extractProps.ts
similarity index 94%
rename from addons/docs/src/frameworks/react/extractProps.ts
rename to app/react/src/client/docs/extractProps.ts
index 008aa8b26117..e763fd9e374f 100644
--- a/addons/docs/src/frameworks/react/extractProps.ts
+++ b/app/react/src/client/docs/extractProps.ts
@@ -5,12 +5,14 @@ import {
extractComponentProps,
PropsExtractor,
TypeSystem,
-} from '../../lib/docgen';
-import { Component } from '../../blocks/types';
+} from '@storybook/docs-tools';
import { enhancePropTypesProps } from './propTypes/handleProp';
import { enhanceTypeScriptProps } from './typeScript/handleProp';
import { isMemo } from './lib';
+// FIXME
+type Component = any;
+
export interface PropDefMap {
[p: string]: PropDef;
}
diff --git a/addons/docs/src/frameworks/react/jsxDecorator.test.tsx b/app/react/src/client/docs/jsxDecorator.test.tsx
similarity index 99%
rename from addons/docs/src/frameworks/react/jsxDecorator.test.tsx
rename to app/react/src/client/docs/jsxDecorator.test.tsx
index b18e9984c51e..40eb7c57b74d 100644
--- a/addons/docs/src/frameworks/react/jsxDecorator.test.tsx
+++ b/app/react/src/client/docs/jsxDecorator.test.tsx
@@ -2,8 +2,8 @@
import React from 'react';
import PropTypes from 'prop-types';
import { addons, StoryContext, useEffect } from '@storybook/addons';
+import { SNIPPET_RENDERED } from '@storybook/docs-tools';
import { renderJsx, jsxDecorator } from './jsxDecorator';
-import { SNIPPET_RENDERED } from '../../shared';
jest.mock('@storybook/addons');
const mockedAddons = addons as jest.Mocked;
diff --git a/addons/docs/src/frameworks/react/jsxDecorator.tsx b/app/react/src/client/docs/jsxDecorator.tsx
similarity index 97%
rename from addons/docs/src/frameworks/react/jsxDecorator.tsx
rename to app/react/src/client/docs/jsxDecorator.tsx
index 9170adaa3ccb..727ee31e5f98 100644
--- a/addons/docs/src/frameworks/react/jsxDecorator.tsx
+++ b/app/react/src/client/docs/jsxDecorator.tsx
@@ -5,11 +5,11 @@ import deprecate from 'util-deprecate';
import { addons, useEffect } from '@storybook/addons';
import { StoryContext, ArgsStoryFn, PartialStoryFn } from '@storybook/csf';
+import { SourceType, SNIPPET_RENDERED, getDocgenSection } from '@storybook/docs-tools';
import { logger } from '@storybook/client-logger';
-import { ReactFramework } from '@storybook/react';
-import { SourceType, SNIPPET_RENDERED } from '../../shared';
-import { getDocgenSection } from '../../lib/docgen';
+import { ReactFramework } from '..';
+
import { isMemo, isForwardRef } from './lib';
type JSXOptions = Options & {
diff --git a/addons/docs/src/frameworks/react/lib/captions.ts b/app/react/src/client/docs/lib/captions.ts
similarity index 100%
rename from addons/docs/src/frameworks/react/lib/captions.ts
rename to app/react/src/client/docs/lib/captions.ts
diff --git a/addons/docs/src/frameworks/react/lib/componentTypes.ts b/app/react/src/client/docs/lib/componentTypes.ts
similarity index 100%
rename from addons/docs/src/frameworks/react/lib/componentTypes.ts
rename to app/react/src/client/docs/lib/componentTypes.ts
diff --git a/addons/docs/src/frameworks/react/lib/defaultValues/createDefaultValue.ts b/app/react/src/client/docs/lib/defaultValues/createDefaultValue.ts
similarity index 94%
rename from addons/docs/src/frameworks/react/lib/defaultValues/createDefaultValue.ts
rename to app/react/src/client/docs/lib/defaultValues/createDefaultValue.ts
index c4cd930e1011..c2fb441d32c1 100644
--- a/addons/docs/src/frameworks/react/lib/defaultValues/createDefaultValue.ts
+++ b/app/react/src/client/docs/lib/defaultValues/createDefaultValue.ts
@@ -1,4 +1,9 @@
-import { PropDefaultValue } from '@storybook/components';
+import {
+ createSummaryValue,
+ isTooLongForDefaultValueSummary,
+ PropDefaultValue,
+} from '@storybook/docs-tools';
+
import { FUNCTION_CAPTION, ELEMENT_CAPTION } from '../captions';
import {
InspectionFunction,
@@ -9,7 +14,6 @@ import {
inspectValue,
} from '../inspection';
import { isHtmlTag } from '../isHtmlTag';
-import { createSummaryValue, isTooLongForDefaultValueSummary } from '../../../../lib';
import { generateCode } from '../generateCode';
import { generateObject } from './generateObject';
import { generateArray } from './generateArray';
diff --git a/addons/docs/src/frameworks/react/lib/defaultValues/createFromRawDefaultProp.ts b/app/react/src/client/docs/lib/defaultValues/createFromRawDefaultProp.ts
similarity index 96%
rename from addons/docs/src/frameworks/react/lib/defaultValues/createFromRawDefaultProp.ts
rename to app/react/src/client/docs/lib/defaultValues/createFromRawDefaultProp.ts
index 6ef614385b5f..1fba89efa580 100644
--- a/addons/docs/src/frameworks/react/lib/defaultValues/createFromRawDefaultProp.ts
+++ b/app/react/src/client/docs/lib/defaultValues/createFromRawDefaultProp.ts
@@ -1,11 +1,15 @@
-import { PropDefaultValue } from '@storybook/components';
import isPlainObject from 'lodash/isPlainObject';
import isFunction from 'lodash/isFunction';
import isString from 'lodash/isString';
// @ts-ignore
import reactElementToJSXString from 'react-element-to-jsx-string';
-import { createSummaryValue, isTooLongForDefaultValueSummary } from '../../../../lib';
-import { PropDef } from '../../../../lib/docgen';
+import {
+ PropDef,
+ createSummaryValue,
+ isTooLongForDefaultValueSummary,
+ PropDefaultValue,
+} from '@storybook/docs-tools';
+
import { inspectValue, InspectionFunction } from '../inspection';
import { generateObject } from './generateObject';
import { generateArray } from './generateArray';
diff --git a/addons/docs/src/frameworks/react/lib/defaultValues/generateArray.ts b/app/react/src/client/docs/lib/defaultValues/generateArray.ts
similarity index 79%
rename from addons/docs/src/frameworks/react/lib/defaultValues/generateArray.ts
rename to app/react/src/client/docs/lib/defaultValues/generateArray.ts
index 6956b0979313..8d80f9a371fb 100644
--- a/addons/docs/src/frameworks/react/lib/defaultValues/generateArray.ts
+++ b/app/react/src/client/docs/lib/defaultValues/generateArray.ts
@@ -1,7 +1,10 @@
-import { PropDefaultValue } from '@storybook/components';
+import {
+ createSummaryValue,
+ isTooLongForDefaultValueSummary,
+ PropDefaultValue,
+} from '@storybook/docs-tools';
import { ARRAY_CAPTION } from '../captions';
import { InspectionResult, InspectionArray } from '../inspection';
-import { createSummaryValue, isTooLongForDefaultValueSummary } from '../../../../lib';
import { generateArrayCode } from '../generateCode';
export function generateArray({ inferredType, ast }: InspectionResult): PropDefaultValue {
diff --git a/addons/docs/src/frameworks/react/lib/defaultValues/generateObject.ts b/app/react/src/client/docs/lib/defaultValues/generateObject.ts
similarity index 80%
rename from addons/docs/src/frameworks/react/lib/defaultValues/generateObject.ts
rename to app/react/src/client/docs/lib/defaultValues/generateObject.ts
index c831271d6a62..2aa6e45e7a3f 100644
--- a/addons/docs/src/frameworks/react/lib/defaultValues/generateObject.ts
+++ b/app/react/src/client/docs/lib/defaultValues/generateObject.ts
@@ -1,7 +1,11 @@
-import { PropDefaultValue } from '@storybook/components';
+import {
+ createSummaryValue,
+ isTooLongForDefaultValueSummary,
+ PropDefaultValue,
+} from '@storybook/docs-tools';
+
import { OBJECT_CAPTION } from '../captions';
import { InspectionResult, InspectionArray } from '../inspection';
-import { createSummaryValue, isTooLongForDefaultValueSummary } from '../../../../lib';
import { generateObjectCode } from '../generateCode';
export function generateObject({ inferredType, ast }: InspectionResult): PropDefaultValue {
diff --git a/addons/docs/src/frameworks/react/lib/defaultValues/index.ts b/app/react/src/client/docs/lib/defaultValues/index.ts
similarity index 100%
rename from addons/docs/src/frameworks/react/lib/defaultValues/index.ts
rename to app/react/src/client/docs/lib/defaultValues/index.ts
diff --git a/addons/docs/src/frameworks/react/lib/defaultValues/prettyIdentifier.ts b/app/react/src/client/docs/lib/defaultValues/prettyIdentifier.ts
similarity index 100%
rename from addons/docs/src/frameworks/react/lib/defaultValues/prettyIdentifier.ts
rename to app/react/src/client/docs/lib/defaultValues/prettyIdentifier.ts
diff --git a/addons/docs/src/frameworks/react/lib/generateCode.ts b/app/react/src/client/docs/lib/generateCode.ts
similarity index 100%
rename from addons/docs/src/frameworks/react/lib/generateCode.ts
rename to app/react/src/client/docs/lib/generateCode.ts
diff --git a/addons/docs/src/frameworks/react/lib/index.ts b/app/react/src/client/docs/lib/index.ts
similarity index 100%
rename from addons/docs/src/frameworks/react/lib/index.ts
rename to app/react/src/client/docs/lib/index.ts
diff --git a/addons/docs/src/frameworks/react/lib/inspection/acornParser.test.ts b/app/react/src/client/docs/lib/inspection/acornParser.test.ts
similarity index 100%
rename from addons/docs/src/frameworks/react/lib/inspection/acornParser.test.ts
rename to app/react/src/client/docs/lib/inspection/acornParser.test.ts
diff --git a/addons/docs/src/frameworks/react/lib/inspection/acornParser.ts b/app/react/src/client/docs/lib/inspection/acornParser.ts
similarity index 100%
rename from addons/docs/src/frameworks/react/lib/inspection/acornParser.ts
rename to app/react/src/client/docs/lib/inspection/acornParser.ts
diff --git a/addons/docs/src/frameworks/react/lib/inspection/index.ts b/app/react/src/client/docs/lib/inspection/index.ts
similarity index 100%
rename from addons/docs/src/frameworks/react/lib/inspection/index.ts
rename to app/react/src/client/docs/lib/inspection/index.ts
diff --git a/addons/docs/src/frameworks/react/lib/inspection/inspectValue.ts b/app/react/src/client/docs/lib/inspection/inspectValue.ts
similarity index 100%
rename from addons/docs/src/frameworks/react/lib/inspection/inspectValue.ts
rename to app/react/src/client/docs/lib/inspection/inspectValue.ts
diff --git a/addons/docs/src/frameworks/react/lib/inspection/types.ts b/app/react/src/client/docs/lib/inspection/types.ts
similarity index 100%
rename from addons/docs/src/frameworks/react/lib/inspection/types.ts
rename to app/react/src/client/docs/lib/inspection/types.ts
diff --git a/addons/docs/src/frameworks/react/lib/isHtmlTag.ts b/app/react/src/client/docs/lib/isHtmlTag.ts
similarity index 100%
rename from addons/docs/src/frameworks/react/lib/isHtmlTag.ts
rename to app/react/src/client/docs/lib/isHtmlTag.ts
diff --git a/addons/docs/src/frameworks/react/propTypes/createType.ts b/app/react/src/client/docs/propTypes/createType.ts
similarity index 98%
rename from addons/docs/src/frameworks/react/propTypes/createType.ts
rename to app/react/src/client/docs/propTypes/createType.ts
index 6af9bc582898..cc3286dce0cc 100644
--- a/addons/docs/src/frameworks/react/propTypes/createType.ts
+++ b/app/react/src/client/docs/propTypes/createType.ts
@@ -1,6 +1,5 @@
-import { PropType } from '@storybook/components';
-import { createSummaryValue, isTooLongForTypeSummary } from '../../../lib';
-import { ExtractedProp, DocgenPropType } from '../../../lib/docgen';
+import type { ExtractedProp, DocgenPropType, PropType } from '@storybook/docs-tools';
+import { createSummaryValue, isTooLongForTypeSummary } from '@storybook/docs-tools';
import {
generateFuncSignature,
generateShortFuncSignature,
diff --git a/addons/docs/src/frameworks/react/propTypes/generateFuncSignature.test.ts b/app/react/src/client/docs/propTypes/generateFuncSignature.test.ts
similarity index 99%
rename from addons/docs/src/frameworks/react/propTypes/generateFuncSignature.test.ts
rename to app/react/src/client/docs/propTypes/generateFuncSignature.test.ts
index 92f6575c9374..c62464b01e1b 100644
--- a/addons/docs/src/frameworks/react/propTypes/generateFuncSignature.test.ts
+++ b/app/react/src/client/docs/propTypes/generateFuncSignature.test.ts
@@ -1,5 +1,5 @@
+import { parseJsDoc } from '@storybook/docs-tools';
import { generateFuncSignature, generateShortFuncSignature } from './generateFuncSignature';
-import { parseJsDoc } from '../../../lib/jsdocParser';
describe('generateFuncSignature', () => {
it('should return an empty string when there is no @params and @returns tags', () => {
diff --git a/addons/docs/src/frameworks/react/propTypes/generateFuncSignature.ts b/app/react/src/client/docs/propTypes/generateFuncSignature.ts
similarity index 93%
rename from addons/docs/src/frameworks/react/propTypes/generateFuncSignature.ts
rename to app/react/src/client/docs/propTypes/generateFuncSignature.ts
index 0d6b6c251d86..2e1b500a9e5f 100644
--- a/addons/docs/src/frameworks/react/propTypes/generateFuncSignature.ts
+++ b/app/react/src/client/docs/propTypes/generateFuncSignature.ts
@@ -1,4 +1,4 @@
-import { ExtractedJsDocParam, ExtractedJsDocReturns } from '../../../lib/jsdocParser';
+import { ExtractedJsDocParam, ExtractedJsDocReturns } from '@storybook/docs-tools';
export function generateFuncSignature(
params: ExtractedJsDocParam[],
diff --git a/addons/docs/src/frameworks/react/propTypes/handleProp.test.tsx b/app/react/src/client/docs/propTypes/handleProp.test.tsx
similarity index 99%
rename from addons/docs/src/frameworks/react/propTypes/handleProp.test.tsx
rename to app/react/src/client/docs/propTypes/handleProp.test.tsx
index 4483a6a1f754..84dfecd350e0 100644
--- a/addons/docs/src/frameworks/react/propTypes/handleProp.test.tsx
+++ b/app/react/src/client/docs/propTypes/handleProp.test.tsx
@@ -2,15 +2,15 @@
import PropTypes from 'prop-types';
import React from 'react';
-import { Component } from '../../../blocks/types';
import {
PropDef,
extractComponentProps,
DocgenInfo,
DocgenPropDefaultValue,
-} from '../../../lib/docgen';
+} from '@storybook/docs-tools';
import { enhancePropTypesProp, enhancePropTypesProps } from './handleProp';
+type Component = any;
const DOCGEN_SECTION = 'props';
function ReactComponent() {
diff --git a/addons/docs/src/frameworks/react/propTypes/handleProp.ts b/app/react/src/client/docs/propTypes/handleProp.ts
similarity index 92%
rename from addons/docs/src/frameworks/react/propTypes/handleProp.ts
rename to app/react/src/client/docs/propTypes/handleProp.ts
index 232c1d0cf89c..a59022ffd7e3 100644
--- a/addons/docs/src/frameworks/react/propTypes/handleProp.ts
+++ b/app/react/src/client/docs/propTypes/handleProp.ts
@@ -1,10 +1,11 @@
-import { PropDef, ExtractedProp } from '../../../lib/docgen';
+import { PropDef, ExtractedProp } from '@storybook/docs-tools';
import { createType } from './createType';
import { createDefaultValue, createDefaultValueFromRawDefaultProp } from '../lib/defaultValues';
-import { Component } from '../../../blocks/types';
import { keepOriginalDefinitionOrder } from './sortProps';
import { rawDefaultPropTypeResolvers } from './rawDefaultPropResolvers';
+type Component = any;
+
export function enhancePropTypesProp(extractedProp: ExtractedProp, rawDefaultProp?: any): PropDef {
const { propDef } = extractedProp;
diff --git a/addons/docs/src/frameworks/react/propTypes/rawDefaultPropResolvers.ts b/app/react/src/client/docs/propTypes/rawDefaultPropResolvers.ts
similarity index 95%
rename from addons/docs/src/frameworks/react/propTypes/rawDefaultPropResolvers.ts
rename to app/react/src/client/docs/propTypes/rawDefaultPropResolvers.ts
index 9433159adde6..692554e7e37b 100644
--- a/addons/docs/src/frameworks/react/propTypes/rawDefaultPropResolvers.ts
+++ b/app/react/src/client/docs/propTypes/rawDefaultPropResolvers.ts
@@ -1,5 +1,5 @@
+import { createSummaryValue } from '@storybook/docs-tools';
import { TypeResolver, extractFunctionName, createTypeResolvers } from '../lib/defaultValues';
-import { createSummaryValue } from '../../../lib';
import { FUNCTION_CAPTION, ELEMENT_CAPTION } from '../lib';
import {
getPrettyElementIdentifier,
diff --git a/addons/docs/src/frameworks/react/propTypes/sortProps.ts b/app/react/src/client/docs/propTypes/sortProps.ts
similarity index 85%
rename from addons/docs/src/frameworks/react/propTypes/sortProps.ts
rename to app/react/src/client/docs/propTypes/sortProps.ts
index 4cc5720a1345..4d5dbb19e143 100644
--- a/addons/docs/src/frameworks/react/propTypes/sortProps.ts
+++ b/app/react/src/client/docs/propTypes/sortProps.ts
@@ -1,5 +1,6 @@
-import { PropDef } from '../../../lib/docgen';
-import { Component } from '../../../blocks/types';
+import { PropDef } from '@storybook/docs-tools';
+
+type Component = any;
// react-docgen doesn't returned the props in the order they were defined in the "propTypes" object of the component.
// This function re-order them by their original definition order.
diff --git a/addons/docs/src/frameworks/react/react-argtypes.stories.tsx b/app/react/src/client/docs/react-argtypes.stories.tsx
similarity index 71%
rename from addons/docs/src/frameworks/react/react-argtypes.stories.tsx
rename to app/react/src/client/docs/react-argtypes.stories.tsx
index 5f98016d96a3..9a14a0c39f64 100644
--- a/addons/docs/src/frameworks/react/react-argtypes.stories.tsx
+++ b/app/react/src/client/docs/react-argtypes.stories.tsx
@@ -1,12 +1,14 @@
import React, { useState } from 'react';
import mapValues from 'lodash/mapValues';
-import { storiesOf, StoryContext } from '@storybook/react';
import { ArgsTable } from '@storybook/components';
import { Args } from '@storybook/api';
import { inferControls } from '@storybook/store';
+import { storiesOf, StoryContext } from '..';
import { extractArgTypes } from './extractArgTypes';
-import { Component } from '../../blocks';
+
+// FIXME
+type Component = any;
const argsTableProps = (component: Component) => {
const argTypes = extractArgTypes(component);
@@ -51,36 +53,6 @@ const ArgsStory = ({ component }: any) => {
);
};
-const typescriptFixtures = [
- 'aliases',
- 'arrays',
- 'enums',
- 'functions',
- 'interfaces',
- 'intersections',
- 'records',
- 'scalars',
- 'tuples',
- 'unions',
- 'optionals',
-];
-
-const typescriptStories = storiesOf('ArgTypes/TypeScript', module);
-typescriptFixtures.forEach((fixture) => {
- // eslint-disable-next-line import/no-dynamic-require, global-require, no-shadow
- const { Component } = require(`../../lib/convert/__testfixtures__/typescript/${fixture}`);
- typescriptStories.add(fixture, () => );
-});
-
-const proptypesFixtures = ['arrays', 'enums', 'misc', 'objects', 'react', 'scalars'];
-
-const proptypesStories = storiesOf('ArgTypes/PropTypes', module);
-proptypesFixtures.forEach((fixture) => {
- // eslint-disable-next-line import/no-dynamic-require, global-require, no-shadow
- const { Component } = require(`../../lib/convert/__testfixtures__/proptypes/${fixture}`);
- proptypesStories.add(fixture, () => );
-});
-
const issuesFixtures = [
'js-class-component',
'js-function-component',
diff --git a/addons/docs/src/frameworks/react/react-properties.test.ts b/app/react/src/client/docs/react-properties.test.ts
similarity index 94%
rename from addons/docs/src/frameworks/react/react-properties.test.ts
rename to app/react/src/client/docs/react-properties.test.ts
index 0180e6e258b5..d2cc707ddeda 100644
--- a/addons/docs/src/frameworks/react/react-properties.test.ts
+++ b/app/react/src/client/docs/react-properties.test.ts
@@ -1,16 +1,16 @@
import 'jest-specific-snapshot';
import path from 'path';
import fs from 'fs';
-
+import requireFromString from 'require-from-string';
import { transformFileSync, transformSync } from '@babel/core';
+
import { inferControls } from '@storybook/store';
-import { StoryContext } from '@storybook/react';
-import { AnyFramework } from '@storybook/csf';
-import requireFromString from 'require-from-string';
+import type { AnyFramework } from '@storybook/csf';
+import { normalizeNewlines } from '@storybook/docs-tools';
+import type { StoryContext } from '..';
import { extractProps } from './extractProps';
import { extractArgTypes } from './extractArgTypes';
-import { normalizeNewlines } from '../../lib/utils';
// jest.mock('../imported', () => () => ({ imported: 'imported-value' }), { virtual: true });
diff --git a/addons/docs/src/frameworks/react/typeScript/handleProp.test.tsx b/app/react/src/client/docs/typeScript/handleProp.test.tsx
similarity index 99%
rename from addons/docs/src/frameworks/react/typeScript/handleProp.test.tsx
rename to app/react/src/client/docs/typeScript/handleProp.test.tsx
index 1071979909c4..e00a21df83d8 100644
--- a/addons/docs/src/frameworks/react/typeScript/handleProp.test.tsx
+++ b/app/react/src/client/docs/typeScript/handleProp.test.tsx
@@ -1,15 +1,16 @@
/* eslint-disable no-underscore-dangle */
import React from 'react';
-import { Component } from '../../../blocks/types';
import {
PropDef,
extractComponentProps,
DocgenInfo,
DocgenPropDefaultValue,
-} from '../../../lib/docgen';
+} from '@storybook/docs-tools';
import { enhanceTypeScriptProp } from './handleProp';
+type Component = any;
+
const DOCGEN_SECTION = 'props';
function ReactComponent() {
diff --git a/addons/docs/src/frameworks/react/typeScript/handleProp.ts b/app/react/src/client/docs/typeScript/handleProp.ts
similarity index 93%
rename from addons/docs/src/frameworks/react/typeScript/handleProp.ts
rename to app/react/src/client/docs/typeScript/handleProp.ts
index eeecb2db81f0..2d7d13522ef7 100644
--- a/addons/docs/src/frameworks/react/typeScript/handleProp.ts
+++ b/app/react/src/client/docs/typeScript/handleProp.ts
@@ -1,4 +1,4 @@
-import { PropDef, ExtractedProp } from '../../../lib/docgen';
+import { PropDef, ExtractedProp } from '@storybook/docs-tools';
import { createDefaultValue, createDefaultValueFromRawDefaultProp } from '../lib/defaultValues';
export function enhanceTypeScriptProp(extractedProp: ExtractedProp, rawDefaultProp?: any): PropDef {
diff --git a/app/react/src/client/preview/types-6-0.ts b/app/react/src/client/preview/types-6-0.ts
index f2d3d53a18f4..9b573efac5a6 100644
--- a/app/react/src/client/preview/types-6-0.ts
+++ b/app/react/src/client/preview/types-6-0.ts
@@ -1,6 +1,11 @@
-import { ComponentType } from 'react';
-import { Args, ComponentAnnotations, StoryAnnotations, AnnotatedStoryFn } from '@storybook/csf';
-import { StoryFnReactReturnType } from './types';
+import type { ComponentType } from 'react';
+import type {
+ Args,
+ ComponentAnnotations,
+ StoryAnnotations,
+ AnnotatedStoryFn,
+} from '@storybook/csf';
+import type { StoryFnReactReturnType } from './types';
export type { Args, ArgTypes, Parameters, StoryContext } from '@storybook/csf';
diff --git a/app/react/src/client/preview/types-7-0.ts b/app/react/src/client/preview/types-7-0.ts
index 1133e1ad6c90..dae17648e621 100644
--- a/app/react/src/client/preview/types-7-0.ts
+++ b/app/react/src/client/preview/types-7-0.ts
@@ -1,5 +1,5 @@
-import { JSXElementConstructor } from 'react';
-import { Args } from '@storybook/csf';
+import type { JSXElementConstructor } from 'react';
+import type { Args } from '@storybook/csf';
import type { StoryObj } from './types-6-0';
import type { ComponentStoryObj } from './types-6-3';
diff --git a/app/react/src/server/framework-preset-react-docgen.test.ts b/app/react/src/server/framework-preset-react-docgen.test.ts
deleted file mode 100644
index 28b27989a915..000000000000
--- a/app/react/src/server/framework-preset-react-docgen.test.ts
+++ /dev/null
@@ -1,108 +0,0 @@
-import ReactDocgenTypescriptPlugin from '@storybook/react-docgen-typescript-plugin';
-import type { TypescriptConfig } from '@storybook/core-common';
-import * as preset from './framework-preset-react-docgen';
-
-describe('framework-preset-react-docgen', () => {
- const babelPluginReactDocgenPath = require.resolve('babel-plugin-react-docgen');
-
- it('should return the babel config with the extra plugin', async () => {
- const babelConfig = {
- babelrc: false,
- presets: ['env', 'foo-preset'],
- plugins: ['foo-plugin'],
- };
-
- const config = await preset.babel(babelConfig, {
- presets: {
- // @ts-ignore
- apply: async () =>
- ({
- check: false,
- reactDocgen: 'react-docgen',
- } as TypescriptConfig),
- },
- } as any);
-
- expect(config).toEqual({
- babelrc: false,
- plugins: ['foo-plugin'],
- presets: ['env', 'foo-preset'],
- overrides: [
- {
- test: /\.(mjs|tsx?|jsx?)$/,
- plugins: [
- [
- babelPluginReactDocgenPath,
- {
- DOC_GEN_COLLECTION_NAME: 'STORYBOOK_REACT_CLASSES',
- },
- ],
- ],
- },
- ],
- });
- });
-
- it('should return the webpack config with the extra plugin', async () => {
- const webpackConfig = {
- plugins: [],
- };
-
- const config = await preset.webpackFinal(webpackConfig, {
- presets: {
- // @ts-ignore
- apply: async () =>
- ({
- check: false,
- reactDocgen: 'react-docgen-typescript',
- } as TypescriptConfig),
- },
- });
-
- expect(config).toEqual({
- plugins: [expect.any(ReactDocgenTypescriptPlugin)],
- });
- });
-
- it('should not add any extra plugins', async () => {
- const babelConfig = {
- babelrc: false,
- presets: ['env', 'foo-preset'],
- plugins: ['foo-plugin'],
- };
-
- const webpackConfig = {
- plugins: [],
- };
-
- const outputBabelconfig = await preset.babel(babelConfig, {
- presets: {
- // @ts-ignore
- apply: async () =>
- ({
- check: false,
- reactDocgen: false,
- } as TypescriptConfig),
- },
- });
- const outputWebpackconfig = await preset.webpackFinal(webpackConfig, {
- presets: {
- // @ts-ignore
- apply: async () =>
- ({
- check: false,
- reactDocgen: false,
- } as TypescriptConfig),
- },
- });
-
- expect(outputBabelconfig).toEqual({
- babelrc: false,
- presets: ['env', 'foo-preset'],
- plugins: ['foo-plugin'],
- });
- expect(outputWebpackconfig).toEqual({
- plugins: [],
- });
- });
-});
diff --git a/app/react/src/server/framework-preset-react-docs.test.ts b/app/react/src/server/framework-preset-react-docs.test.ts
new file mode 100644
index 000000000000..bd86e13da568
--- /dev/null
+++ b/app/react/src/server/framework-preset-react-docs.test.ts
@@ -0,0 +1,165 @@
+import ReactDocgenTypescriptPlugin from '@storybook/react-docgen-typescript-plugin';
+import type { TypescriptConfig } from '@storybook/core-common';
+import * as preset from './framework-preset-react-docs';
+
+describe('framework-preset-react-docgen', () => {
+ const babelPluginReactDocgenPath = require.resolve('babel-plugin-react-docgen');
+ const presetsListWithDocs = [{ name: '@storybook/addon-docs', options: {}, preset: null }];
+
+ describe('react-docgen', () => {
+ it('should return the babel config with the extra plugin', async () => {
+ const babelConfig = {
+ babelrc: false,
+ presets: ['env', 'foo-preset'],
+ plugins: ['foo-plugin'],
+ };
+
+ const config = await preset.babel(babelConfig, {
+ presets: {
+ // @ts-ignore
+ apply: async () =>
+ ({
+ check: false,
+ reactDocgen: 'react-docgen',
+ } as TypescriptConfig),
+ },
+ presetsList: presetsListWithDocs,
+ } as any);
+
+ expect(config).toEqual({
+ babelrc: false,
+ plugins: ['foo-plugin'],
+ presets: ['env', 'foo-preset'],
+ overrides: [
+ {
+ test: /\.(mjs|tsx?|jsx?)$/,
+ plugins: [
+ [
+ babelPluginReactDocgenPath,
+ {
+ DOC_GEN_COLLECTION_NAME: 'STORYBOOK_REACT_CLASSES',
+ },
+ ],
+ ],
+ },
+ ],
+ });
+ });
+ });
+
+ describe('react-docgen-typescript', () => {
+ it('should return the webpack config with the extra plugin', async () => {
+ const webpackConfig = {
+ plugins: [],
+ };
+
+ const config = await preset.webpackFinal(webpackConfig, {
+ presets: {
+ // @ts-ignore
+ apply: async () =>
+ ({
+ check: false,
+ reactDocgen: 'react-docgen-typescript',
+ } as TypescriptConfig),
+ },
+ presetsList: presetsListWithDocs,
+ });
+
+ expect(config).toEqual({
+ plugins: [expect.any(ReactDocgenTypescriptPlugin)],
+ });
+ });
+ });
+
+ describe('no docgen', () => {
+ it('should not add any extra plugins', async () => {
+ const babelConfig = {
+ babelrc: false,
+ presets: ['env', 'foo-preset'],
+ plugins: ['foo-plugin'],
+ };
+
+ const webpackConfig = {
+ plugins: [],
+ };
+
+ const outputBabelconfig = await preset.babel(babelConfig, {
+ presets: {
+ // @ts-ignore
+ apply: async () =>
+ ({
+ check: false,
+ reactDocgen: false,
+ } as TypescriptConfig),
+ },
+ presetsList: presetsListWithDocs,
+ });
+ const outputWebpackconfig = await preset.webpackFinal(webpackConfig, {
+ presets: {
+ // @ts-ignore
+ apply: async () =>
+ ({
+ check: false,
+ reactDocgen: false,
+ } as TypescriptConfig),
+ },
+ presetsList: presetsListWithDocs,
+ });
+
+ expect(outputBabelconfig).toEqual({
+ babelrc: false,
+ presets: ['env', 'foo-preset'],
+ plugins: ['foo-plugin'],
+ });
+ expect(outputWebpackconfig).toEqual({
+ plugins: [],
+ });
+ });
+ });
+
+ describe('no docs or controls addon used', () => {
+ it('should not add any extra plugins', async () => {
+ const babelConfig = {
+ babelrc: false,
+ presets: ['env', 'foo-preset'],
+ plugins: ['foo-plugin'],
+ };
+
+ const webpackConfig = {
+ plugins: [],
+ };
+
+ const outputBabelconfig = await preset.babel(babelConfig, {
+ presets: {
+ // @ts-ignore
+ apply: async () =>
+ ({
+ check: false,
+ reactDocgen: 'react-docgen-typescript',
+ } as TypescriptConfig),
+ },
+ presetsList: [],
+ });
+ const outputWebpackconfig = await preset.webpackFinal(webpackConfig, {
+ presets: {
+ // @ts-ignore
+ apply: async () =>
+ ({
+ check: false,
+ reactDocgen: 'react-docgen-typescript',
+ } as TypescriptConfig),
+ },
+ presetsList: [],
+ });
+
+ expect(outputBabelconfig).toEqual({
+ babelrc: false,
+ presets: ['env', 'foo-preset'],
+ plugins: ['foo-plugin'],
+ });
+ expect(outputWebpackconfig).toEqual({
+ plugins: [],
+ });
+ });
+ });
+});
diff --git a/app/react/src/server/framework-preset-react-docgen.ts b/app/react/src/server/framework-preset-react-docs.ts
similarity index 56%
rename from app/react/src/server/framework-preset-react-docgen.ts
rename to app/react/src/server/framework-preset-react-docs.ts
index dece10b01137..723cf49a9f29 100644
--- a/app/react/src/server/framework-preset-react-docgen.ts
+++ b/app/react/src/server/framework-preset-react-docs.ts
@@ -1,10 +1,14 @@
+import type { StorybookConfig, Options, TypescriptConfig } from '@storybook/core-common';
+import { findDistEsm } from '@storybook/core-common';
import type { TransformOptions } from '@babel/core';
import type { Configuration } from 'webpack';
import ReactDocgenTypescriptPlugin from '@storybook/react-docgen-typescript-plugin';
-import type { Options, TypescriptConfig } from '@storybook/core-common';
+import { hasDocsOrControls } from '@storybook/docs-tools';
-export async function babel(config: TransformOptions, { presets }: Options) {
- const typescriptOptions = await presets.apply('typescript', {} as any);
+export async function babel(config: TransformOptions, options: Options) {
+ if (!hasDocsOrControls(options)) return config;
+
+ const typescriptOptions = await options.presets.apply('typescript', {} as any);
const { reactDocgen } = typescriptOptions;
@@ -30,8 +34,10 @@ export async function babel(config: TransformOptions, { presets }: Options) {
};
}
-export async function webpackFinal(config: Configuration, { presets }: Options) {
- const typescriptOptions = await presets.apply('typescript', {} as any);
+export async function webpackFinal(config: Configuration, options: Options) {
+ if (!hasDocsOrControls(options)) return config;
+
+ const typescriptOptions = await options.presets.apply('typescript', {} as any);
const { reactDocgen, reactDocgenTypescriptOptions } = typescriptOptions;
@@ -51,3 +57,8 @@ export async function webpackFinal(config: Configuration, { presets }: Options)
],
};
}
+
+export const config: StorybookConfig['config'] = (entry = [], options) => {
+ if (!hasDocsOrControls(options)) return entry;
+ return [...entry, findDistEsm(__dirname, 'client/docs/config')];
+};
diff --git a/app/react/src/server/options.ts b/app/react/src/server/options.ts
index c0e8d86ca084..f02a8b7e8f6c 100644
--- a/app/react/src/server/options.ts
+++ b/app/react/src/server/options.ts
@@ -1,5 +1,5 @@
import { sync } from 'read-pkg-up';
-import { LoadOptions } from '@storybook/core-common';
+import type { LoadOptions } from '@storybook/core-common';
export default {
packageJson: sync({ cwd: __dirname }).packageJson,
diff --git a/app/react/src/server/preset.ts b/app/react/src/server/preset.ts
index 0d85b4d4dac2..b0807877e886 100644
--- a/app/react/src/server/preset.ts
+++ b/app/react/src/server/preset.ts
@@ -1,4 +1,5 @@
-import { findDistEsm, StorybookConfig } from '@storybook/core-common';
+import { findDistEsm } from '@storybook/core-common';
+import type { StorybookConfig } from '@storybook/core-common';
export const config: StorybookConfig['config'] = (entries = []) => [
...entries,
@@ -8,5 +9,5 @@ export const config: StorybookConfig['config'] = (entries = []) => [
export const addons: StorybookConfig['addons'] = [
require.resolve('./framework-preset-react'),
require.resolve('./framework-preset-cra'),
- require.resolve('./framework-preset-react-docgen'),
+ require.resolve('./framework-preset-react-docs'),
];
diff --git a/app/react/tsconfig.json b/app/react/tsconfig.json
index ea47a78eb476..b16c7ffdcb0d 100644
--- a/app/react/tsconfig.json
+++ b/app/react/tsconfig.json
@@ -2,16 +2,9 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"rootDir": "./src",
- "types": [
- "webpack-env",
- "node"
- ],
+ "types": ["webpack-env", "node"],
"resolveJsonModule": true
},
- "include": [
- "src/**/*"
- ],
- "exclude": [
- "src/**/*.test.*"
- ]
-}
\ No newline at end of file
+ "include": ["src/**/*"],
+ "exclude": ["src/**/*.test.*", "src/**/__testfixtures__/**"]
+}
diff --git a/app/react/types/index.ts b/app/react/types/index.ts
index 3e1ddcf15273..587c0a51088c 100644
--- a/app/react/types/index.ts
+++ b/app/react/types/index.ts
@@ -1,4 +1,4 @@
-import { StorybookConfig as BaseConfig } from '@storybook/core-common';
+import type { StorybookConfig as BaseConfig } from '@storybook/core-common';
/**
* The interface for Storybook configuration in `main.ts` files.
diff --git a/app/server/package.json b/app/server/package.json
index c407949da602..4ef340e654a1 100644
--- a/app/server/package.json
+++ b/app/server/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/server",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"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.5.0-alpha.42",
- "@storybook/api": "6.5.0-alpha.42",
- "@storybook/client-api": "6.5.0-alpha.42",
- "@storybook/core": "6.5.0-alpha.42",
- "@storybook/core-common": "6.5.0-alpha.42",
+ "@storybook/addons": "6.5.0-alpha.48",
+ "@storybook/api": "6.5.0-alpha.48",
+ "@storybook/client-api": "6.5.0-alpha.48",
+ "@storybook/core": "6.5.0-alpha.48",
+ "@storybook/core-common": "6.5.0-alpha.48",
"@storybook/csf": "0.0.2--canary.87bc651.0",
- "@storybook/node-logger": "6.5.0-alpha.42",
- "@storybook/preview-web": "6.5.0-alpha.42",
- "@storybook/store": "6.5.0-alpha.42",
+ "@storybook/node-logger": "6.5.0-alpha.48",
+ "@storybook/preview-web": "6.5.0-alpha.48",
+ "@storybook/store": "6.5.0-alpha.48",
"@types/node": "^14.14.20 || ^16.0.0",
"@types/webpack-env": "^1.16.0",
"core-js": "^3.8.2",
@@ -76,6 +76,6 @@
"publishConfig": {
"access": "public"
},
- "gitHead": "1477954e18494e721ae8d3c99bc710381eab1351",
+ "gitHead": "5f3afb8cf4389c16be11a6e5099e902d16a82762",
"sbmodern": "dist/modern/client/index.js"
}
diff --git a/app/server/src/client/preview/index.ts b/app/server/src/client/preview/index.ts
index 3f8917f05570..4bedb816a6c2 100644
--- a/app/server/src/client/preview/index.ts
+++ b/app/server/src/client/preview/index.ts
@@ -1,9 +1,9 @@
import { start } from '@storybook/core/client';
-import { ClientStoryApi, Loadable } from '@storybook/addons';
+import type { ClientStoryApi, Loadable } from '@storybook/addons';
import './globals';
import { renderToDOM, render } from './render';
-import { IStorybookSection, ServerFramework } from './types';
+import type { IStorybookSection, ServerFramework } from './types';
const framework = 'server';
diff --git a/app/server/src/client/preview/render.ts b/app/server/src/client/preview/render.ts
index 450bab66d85d..6fc63d49da04 100644
--- a/app/server/src/client/preview/render.ts
+++ b/app/server/src/client/preview/render.ts
@@ -1,10 +1,10 @@
/* eslint-disable no-param-reassign */
import global from 'global';
import dedent from 'ts-dedent';
-import { RenderContext } from '@storybook/store';
+import type { RenderContext } from '@storybook/store';
import { simulatePageLoad, simulateDOMContentLoaded } from '@storybook/preview-web';
-import { StoryFn, Args, ArgTypes } from '@storybook/csf';
-import { FetchStoryHtmlType, ServerFramework } from './types';
+import type { StoryFn, Args, ArgTypes } from '@storybook/csf';
+import type { FetchStoryHtmlType, ServerFramework } from './types';
const { fetch, Node } = global;
diff --git a/app/server/src/client/preview/types.ts b/app/server/src/client/preview/types.ts
index 0f8ddc25f543..49c39b9e2f9d 100644
--- a/app/server/src/client/preview/types.ts
+++ b/app/server/src/client/preview/types.ts
@@ -1,4 +1,4 @@
-import { StoryContext } from '@storybook/csf';
+import type { StoryContext } from '@storybook/csf';
export type { RenderContext } from '@storybook/core';
diff --git a/app/server/src/server/framework-preset-server.ts b/app/server/src/server/framework-preset-server.ts
index ea24748644f7..ddde3f77f7d5 100644
--- a/app/server/src/server/framework-preset-server.ts
+++ b/app/server/src/server/framework-preset-server.ts
@@ -1,7 +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';
+import { findDistEsm } from '@storybook/core-common';
+import type { StorybookConfig } from '@storybook/core-common';
+import type { Configuration } from 'webpack';
export function webpack(config: Configuration) {
config.module.rules.push({
diff --git a/app/server/src/server/options.ts b/app/server/src/server/options.ts
index ba3f398a3850..a8177875ca5e 100644
--- a/app/server/src/server/options.ts
+++ b/app/server/src/server/options.ts
@@ -1,5 +1,5 @@
import { sync } from 'read-pkg-up';
-import { LoadOptions } from '@storybook/core-common';
+import type { LoadOptions } from '@storybook/core-common';
export default {
packageJson: sync({ cwd: __dirname }).packageJson,
diff --git a/app/svelte/package.json b/app/svelte/package.json
index d7a0c4edc5c3..d6317c31d0a3 100644
--- a/app/svelte/package.json
+++ b/app/svelte/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/svelte",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"description": "Storybook for Svelte: Develop Svelte Component in isolation with Hot Reloading.",
"keywords": [
"storybook"
@@ -46,21 +46,27 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
- "@storybook/addons": "6.5.0-alpha.42",
- "@storybook/core": "6.5.0-alpha.42",
- "@storybook/core-common": "6.5.0-alpha.42",
+ "@storybook/addons": "6.5.0-alpha.48",
+ "@storybook/client-logger": "6.5.0-alpha.48",
+ "@storybook/core": "6.5.0-alpha.48",
+ "@storybook/core-common": "6.5.0-alpha.48",
"@storybook/csf": "0.0.2--canary.87bc651.0",
- "@storybook/store": "6.5.0-alpha.42",
+ "@storybook/docs-tools": "6.5.0-alpha.48",
+ "@storybook/node-logger": "6.5.0-alpha.48",
+ "@storybook/store": "6.5.0-alpha.48",
"core-js": "^3.8.2",
"global": "^4.4.0",
+ "loader-utils": "^2.0.0",
"react": "16.14.0",
"react-dom": "16.14.0",
"read-pkg-up": "^7.0.1",
"regenerator-runtime": "^0.13.7",
- "sveltedoc-parser": "^4.1.0",
- "ts-dedent": "^2.0.0"
+ "sveltedoc-parser": "4.1.0",
+ "ts-dedent": "^2.0.0",
+ "webpack": "4"
},
"devDependencies": {
+ "@types/loader-utils": "^2.0.0",
"@types/webpack-env": "^1.16.0",
"svelte": "^3.31.2",
"svelte-loader": "^3.0.0"
@@ -76,6 +82,6 @@
"publishConfig": {
"access": "public"
},
- "gitHead": "1477954e18494e721ae8d3c99bc710381eab1351",
+ "gitHead": "5f3afb8cf4389c16be11a6e5099e902d16a82762",
"sbmodern": "dist/modern/client/index.js"
}
diff --git a/app/svelte/preset.js b/app/svelte/preset.js
index fd194b02e4d8..f09c6698e046 100644
--- a/app/svelte/preset.js
+++ b/app/svelte/preset.js
@@ -1 +1 @@
-module.exports = require('./dist/cjs/server/framework-preset-svelte');
+module.exports = require('./dist/cjs/server/preset');
diff --git a/app/svelte/src/client/docs/HOC.svelte b/app/svelte/src/client/docs/HOC.svelte
new file mode 100644
index 000000000000..0b6c3618701e
--- /dev/null
+++ b/app/svelte/src/client/docs/HOC.svelte
@@ -0,0 +1,7 @@
+
+
+
\ No newline at end of file
diff --git a/addons/docs/src/frameworks/svelte/config.ts b/app/svelte/src/client/docs/config.ts
similarity index 79%
rename from addons/docs/src/frameworks/svelte/config.ts
rename to app/svelte/src/client/docs/config.ts
index 033474d23f72..5f96a79cd1ab 100644
--- a/addons/docs/src/frameworks/svelte/config.ts
+++ b/app/svelte/src/client/docs/config.ts
@@ -1,3 +1,4 @@
+import { enhanceArgTypes } from '@storybook/docs-tools';
import { extractArgTypes } from './extractArgTypes';
import { extractComponentDescription } from './extractComponentDescription';
import { prepareForInline } from './prepareForInline';
@@ -13,3 +14,5 @@ export const parameters = {
};
export const decorators = [sourceDecorator];
+
+export const argTypesEnhancers = [enhanceArgTypes];
diff --git a/addons/docs/src/frameworks/svelte/extractArgTypes.test.ts b/app/svelte/src/client/docs/extractArgTypes.test.ts
similarity index 100%
rename from addons/docs/src/frameworks/svelte/extractArgTypes.test.ts
rename to app/svelte/src/client/docs/extractArgTypes.test.ts
diff --git a/addons/docs/src/frameworks/svelte/extractArgTypes.ts b/app/svelte/src/client/docs/extractArgTypes.ts
similarity index 95%
rename from addons/docs/src/frameworks/svelte/extractArgTypes.ts
rename to app/svelte/src/client/docs/extractArgTypes.ts
index dc7e9858ae65..91e28729c1af 100644
--- a/addons/docs/src/frameworks/svelte/extractArgTypes.ts
+++ b/app/svelte/src/client/docs/extractArgTypes.ts
@@ -1,4 +1,4 @@
-import { SBScalarType, StrictArgTypes } from '@storybook/csf';
+import type { SBScalarType, StrictArgTypes } from '@storybook/csf';
import { logger } from '@storybook/client-logger';
import type {
SvelteComponentDoc,
@@ -7,7 +7,7 @@ import type {
JSDocTypeConst,
} from 'sveltedoc-parser/typings';
-import { ArgTypesExtractor } from '../../lib/docgen';
+import type { ArgTypesExtractor } from '@storybook/docs-tools';
type ComponentWithDocgen = {
__docgen: SvelteComponentDoc;
diff --git a/addons/docs/src/frameworks/svelte/extractComponentDescription.test.ts b/app/svelte/src/client/docs/extractComponentDescription.test.ts
similarity index 100%
rename from addons/docs/src/frameworks/svelte/extractComponentDescription.test.ts
rename to app/svelte/src/client/docs/extractComponentDescription.test.ts
diff --git a/addons/docs/src/frameworks/svelte/extractComponentDescription.ts b/app/svelte/src/client/docs/extractComponentDescription.ts
similarity index 80%
rename from addons/docs/src/frameworks/svelte/extractComponentDescription.ts
rename to app/svelte/src/client/docs/extractComponentDescription.ts
index 282271299412..d2213c8ee4a1 100644
--- a/addons/docs/src/frameworks/svelte/extractComponentDescription.ts
+++ b/app/svelte/src/client/docs/extractComponentDescription.ts
@@ -1,4 +1,4 @@
-import { Component } from '../../blocks/types';
+type Component = any;
export function extractComponentDescription(component?: Component): string {
if (!component) {
diff --git a/addons/docs/src/frameworks/svelte/prepareForInline.ts b/app/svelte/src/client/docs/prepareForInline.ts
similarity index 75%
rename from addons/docs/src/frameworks/svelte/prepareForInline.ts
rename to app/svelte/src/client/docs/prepareForInline.ts
index 8c84f650b789..7d5ac7587b3e 100644
--- a/addons/docs/src/frameworks/svelte/prepareForInline.ts
+++ b/app/svelte/src/client/docs/prepareForInline.ts
@@ -1,8 +1,10 @@
+/* eslint-disable import/no-extraneous-dependencies */
import { AnyFramework, StoryFn } from '@storybook/csf';
import React from 'react';
-import HOC from '@storybook/addon-docs/svelte/HOC.svelte';
+// @ts-ignore
+import HOC from '@storybook/svelte/src/client/docs/HOC.svelte';
export const prepareForInline = (storyFn: StoryFn) => {
const el = React.useRef(null);
diff --git a/addons/docs/src/frameworks/svelte/sample/MockButton.svelte b/app/svelte/src/client/docs/sample/MockButton.svelte
similarity index 100%
rename from addons/docs/src/frameworks/svelte/sample/MockButton.svelte
rename to app/svelte/src/client/docs/sample/MockButton.svelte
diff --git a/addons/docs/src/frameworks/svelte/sourceDecorator.test.ts b/app/svelte/src/client/docs/sourceDecorator.test.ts
similarity index 97%
rename from addons/docs/src/frameworks/svelte/sourceDecorator.test.ts
rename to app/svelte/src/client/docs/sourceDecorator.test.ts
index 6c55200e21fe..006a7bb4de05 100644
--- a/addons/docs/src/frameworks/svelte/sourceDecorator.test.ts
+++ b/app/svelte/src/client/docs/sourceDecorator.test.ts
@@ -1,4 +1,4 @@
-import { Args } from '@storybook/api';
+import type { Args } from '@storybook/api';
import { generateSvelteSource } from './sourceDecorator';
expect.addSnapshotSerializer({
diff --git a/addons/docs/src/frameworks/svelte/sourceDecorator.ts b/app/svelte/src/client/docs/sourceDecorator.ts
similarity index 96%
rename from addons/docs/src/frameworks/svelte/sourceDecorator.ts
rename to app/svelte/src/client/docs/sourceDecorator.ts
index f740a4c857b5..d449523197b5 100644
--- a/addons/docs/src/frameworks/svelte/sourceDecorator.ts
+++ b/app/svelte/src/client/docs/sourceDecorator.ts
@@ -1,7 +1,7 @@
import { addons, useEffect } from '@storybook/addons';
-import { ArgTypes, Args, StoryContext, AnyFramework } from '@storybook/csf';
+import type { ArgTypes, Args, StoryContext, AnyFramework } from '@storybook/csf';
-import { SourceType, SNIPPET_RENDERED } from '../../shared';
+import { SourceType, SNIPPET_RENDERED } from '@storybook/docs-tools';
/**
* Check if the sourcecode should be generated.
diff --git a/app/svelte/src/client/preview/decorators.ts b/app/svelte/src/client/preview/decorators.ts
index c5f9092e57fa..09165817a17a 100644
--- a/app/svelte/src/client/preview/decorators.ts
+++ b/app/svelte/src/client/preview/decorators.ts
@@ -1,4 +1,4 @@
-import { DecoratorFunction, StoryContext, LegacyStoryFn } from '@storybook/csf';
+import type { DecoratorFunction, StoryContext, LegacyStoryFn } from '@storybook/csf';
import { sanitizeStoryContextUpdate } from '@storybook/store';
// eslint-disable-next-line import/no-extraneous-dependencies
import SlotDecorator from '@storybook/svelte/templates/SlotDecorator.svelte';
diff --git a/app/svelte/src/client/preview/render.ts b/app/svelte/src/client/preview/render.ts
index 55e3612d400a..bb21b56f8221 100644
--- a/app/svelte/src/client/preview/render.ts
+++ b/app/svelte/src/client/preview/render.ts
@@ -1,5 +1,5 @@
import global from 'global';
-import { ArgsStoryFn } from '@storybook/csf';
+import type { ArgsStoryFn } from '@storybook/csf';
import type { RenderContext } from '@storybook/store';
// eslint-disable-next-line import/no-extraneous-dependencies
import PreviewRender from '@storybook/svelte/templates/PreviewRender.svelte';
diff --git a/addons/docs/src/frameworks/svelte/preset.ts b/app/svelte/src/server/framework-preset-svelte-docs.ts
similarity index 62%
rename from addons/docs/src/frameworks/svelte/preset.ts
rename to app/svelte/src/server/framework-preset-svelte-docs.ts
index 20004fc47223..ba1a7fee0166 100644
--- a/addons/docs/src/frameworks/svelte/preset.ts
+++ b/app/svelte/src/server/framework-preset-svelte-docs.ts
@@ -1,7 +1,8 @@
import path from 'path';
-import { Configuration } from 'webpack';
-import type { Options } from '@storybook/core-common';
+import { findDistEsm, Options, StorybookConfig } from '@storybook/core-common';
+
+type Configuration = any;
export async function webpackFinal(webpackConfig: Configuration, options: Options) {
const svelteOptions = await options.presets.apply('svelteOptions', {} as any, options);
@@ -15,3 +16,7 @@ export async function webpackFinal(webpackConfig: Configuration, options: Option
return webpackConfig;
}
+
+export const config: StorybookConfig['config'] = (entry = []) => {
+ return [...entry, findDistEsm(__dirname, 'client/docs/config')];
+};
diff --git a/app/svelte/src/server/framework-preset-svelte.ts b/app/svelte/src/server/framework-preset-svelte.ts
index de7f4a2fc995..a9bec1dc6109 100644
--- a/app/svelte/src/server/framework-preset-svelte.ts
+++ b/app/svelte/src/server/framework-preset-svelte.ts
@@ -1,6 +1,6 @@
-// eslint-disable-next-line import/no-extraneous-dependencies
-import { Configuration } from 'webpack';
-import { findDistEsm, Options, StorybookConfig } from '@storybook/core-common';
+import { findDistEsm } from '@storybook/core-common';
+import type { Options, StorybookConfig } from '@storybook/core-common';
+import type { Configuration } from 'webpack';
export async function webpack(config: Configuration, options: Options): Promise {
const { preprocess = undefined, loader = {} } = await options.presets.apply(
diff --git a/app/svelte/src/server/options.ts b/app/svelte/src/server/options.ts
index ee8c399d9af3..b32f7018ea24 100644
--- a/app/svelte/src/server/options.ts
+++ b/app/svelte/src/server/options.ts
@@ -4,5 +4,5 @@ import { LoadOptions } from '@storybook/core-common';
export default {
packageJson: sync({ cwd: __dirname }).packageJson,
framework: 'svelte',
- frameworkPresets: [require.resolve('./framework-preset-svelte.js')],
+ frameworkPresets: [require.resolve('./preset.js')],
} as LoadOptions;
diff --git a/app/svelte/src/server/preset.ts b/app/svelte/src/server/preset.ts
new file mode 100644
index 000000000000..5746855d89a0
--- /dev/null
+++ b/app/svelte/src/server/preset.ts
@@ -0,0 +1,6 @@
+import type { StorybookConfig } from '@storybook/core-common';
+
+export const addons: StorybookConfig['addons'] = [
+ require.resolve('./framework-preset-svelte'),
+ require.resolve('./framework-preset-svelte-docs'),
+];
diff --git a/addons/docs/src/frameworks/svelte/svelte-docgen-loader.ts b/app/svelte/src/server/svelte-docgen-loader.ts
similarity index 98%
rename from addons/docs/src/frameworks/svelte/svelte-docgen-loader.ts
rename to app/svelte/src/server/svelte-docgen-loader.ts
index fcd09698431c..8206c87cbf9f 100644
--- a/addons/docs/src/frameworks/svelte/svelte-docgen-loader.ts
+++ b/app/svelte/src/server/svelte-docgen-loader.ts
@@ -69,6 +69,8 @@ export default async function svelteDocgen(source: string) {
let docgen = '';
try {
+ // FIXME
+ // @ts-ignore
const componentDoc = await svelteDoc.parse(options);
// get filename for source content
diff --git a/app/vue/package.json b/app/vue/package.json
index 25ca07dccd93..8ed6d8b79585 100644
--- a/app/vue/package.json
+++ b/app/vue/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/vue",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"description": "Storybook for Vue: Develop Vue Component in isolation with Hot Reloading.",
"keywords": [
"storybook"
@@ -45,15 +45,18 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
- "@storybook/addons": "6.5.0-alpha.42",
- "@storybook/core": "6.5.0-alpha.42",
- "@storybook/core-common": "6.5.0-alpha.42",
+ "@storybook/addons": "6.5.0-alpha.48",
+ "@storybook/client-logger": "6.5.0-alpha.48",
+ "@storybook/core": "6.5.0-alpha.48",
+ "@storybook/core-common": "6.5.0-alpha.48",
"@storybook/csf": "0.0.2--canary.87bc651.0",
- "@storybook/store": "6.5.0-alpha.42",
+ "@storybook/docs-tools": "6.5.0-alpha.48",
+ "@storybook/store": "6.5.0-alpha.48",
"@types/node": "^14.14.20 || ^16.0.0",
"@types/webpack-env": "^1.16.0",
"core-js": "^3.8.2",
"global": "^4.4.0",
+ "prettier": ">=2.2.1 <=2.3.0",
"react": "16.14.0",
"react-dom": "16.14.0",
"read-pkg-up": "^7.0.1",
@@ -83,6 +86,6 @@
"publishConfig": {
"access": "public"
},
- "gitHead": "1477954e18494e721ae8d3c99bc710381eab1351",
+ "gitHead": "5f3afb8cf4389c16be11a6e5099e902d16a82762",
"sbmodern": "dist/modern/client/index.js"
}
diff --git a/app/vue/preset.js b/app/vue/preset.js
index 1f2762b323f3..f09c6698e046 100644
--- a/app/vue/preset.js
+++ b/app/vue/preset.js
@@ -1 +1 @@
-module.exports = require('./dist/cjs/server/framework-preset-vue');
+module.exports = require('./dist/cjs/server/preset');
diff --git a/addons/docs/src/frameworks/vue/config.ts b/app/vue/src/client/docs/config.ts
similarity index 68%
rename from addons/docs/src/frameworks/vue/config.ts
rename to app/vue/src/client/docs/config.ts
index a5e41a726139..537773e4dfb6 100644
--- a/addons/docs/src/frameworks/vue/config.ts
+++ b/app/vue/src/client/docs/config.ts
@@ -1,11 +1,12 @@
+import { extractComponentDescription, enhanceArgTypes } from '@storybook/docs-tools';
import { extractArgTypes } from './extractArgTypes';
-import { extractComponentDescription } from '../../lib/docgen';
import { prepareForInline } from './prepareForInline';
import { sourceDecorator } from './sourceDecorator';
export const parameters = {
docs: {
inlineStories: true,
+ iframeHeight: 120,
prepareForInline,
extractArgTypes,
extractComponentDescription,
@@ -13,3 +14,5 @@ export const parameters = {
};
export const decorators = [sourceDecorator];
+
+export const argTypesEnhancers = [enhanceArgTypes];
diff --git a/addons/docs/src/frameworks/vue/extractArgTypes.ts b/app/vue/src/client/docs/extractArgTypes.ts
similarity index 91%
rename from addons/docs/src/frameworks/vue/extractArgTypes.ts
rename to app/vue/src/client/docs/extractArgTypes.ts
index 4f6e335ce008..92a9f113e9c0 100644
--- a/addons/docs/src/frameworks/vue/extractArgTypes.ts
+++ b/app/vue/src/client/docs/extractArgTypes.ts
@@ -1,12 +1,6 @@
-import { StrictArgTypes } from '@storybook/csf';
-import {
- ArgTypesExtractor,
- hasDocgen,
- extractComponentProps,
- DocgenInfo,
- PropDef,
-} from '../../lib/docgen';
-import { convert } from '../../lib/convert';
+import type { StrictArgTypes } from '@storybook/csf';
+import type { ArgTypesExtractor, DocgenInfo, PropDef } from '@storybook/docs-tools';
+import { hasDocgen, extractComponentProps, convert } from '@storybook/docs-tools';
const SECTIONS = ['props', 'events', 'slots', 'methods'];
diff --git a/addons/docs/src/frameworks/vue/prepareForInline.ts b/app/vue/src/client/docs/prepareForInline.ts
similarity index 89%
rename from addons/docs/src/frameworks/vue/prepareForInline.ts
rename to app/vue/src/client/docs/prepareForInline.ts
index 6627db5ec96f..f9c4fa176456 100644
--- a/addons/docs/src/frameworks/vue/prepareForInline.ts
+++ b/app/vue/src/client/docs/prepareForInline.ts
@@ -1,7 +1,7 @@
import React from 'react';
import Vue from 'vue';
-import { StoryContext, PartialStoryFn } from '@storybook/csf';
-import { VueFramework } from '@storybook/vue';
+import type { StoryContext, PartialStoryFn } from '@storybook/csf';
+import type { VueFramework } from '../preview/types-6-0';
// Inspired by https://github.com/egoist/vue-to-react,
// modified to store args as props in the root store
diff --git a/addons/docs/src/frameworks/vue/sourceDecorator.test.ts b/app/vue/src/client/docs/sourceDecorator.test.ts
similarity index 100%
rename from addons/docs/src/frameworks/vue/sourceDecorator.test.ts
rename to app/vue/src/client/docs/sourceDecorator.test.ts
diff --git a/addons/docs/src/frameworks/vue/sourceDecorator.ts b/app/vue/src/client/docs/sourceDecorator.ts
similarity index 97%
rename from addons/docs/src/frameworks/vue/sourceDecorator.ts
rename to app/vue/src/client/docs/sourceDecorator.ts
index 4ca3f0d88536..534426b1cbd9 100644
--- a/addons/docs/src/frameworks/vue/sourceDecorator.ts
+++ b/app/vue/src/client/docs/sourceDecorator.ts
@@ -1,12 +1,12 @@
/* eslint no-underscore-dangle: ["error", { "allow": ["_vnode"] }] */
-import { StoryContext } from '@storybook/csf';
+import type { StoryContext } from '@storybook/csf';
import { addons } from '@storybook/addons';
import { logger } from '@storybook/client-logger';
import type Vue from 'vue';
-import { VueFramework } from '@storybook/vue';
-import { SourceType, SNIPPET_RENDERED } from '../../shared';
+import { SourceType, SNIPPET_RENDERED } from '@storybook/docs-tools';
+import type { VueFramework } from '../preview/types-6-0';
export const skipSourceRender = (context: StoryContext) => {
const sourceParams = context?.parameters.docs?.source;
@@ -24,6 +24,7 @@ export const skipSourceRender = (context: StoryContext) => {
export const sourceDecorator = (storyFn: any, context: StoryContext) => {
const story = storyFn();
+ console.log({ story });
// See ../react/jsxDecorator.tsx
if (skipSourceRender(context)) {
diff --git a/app/vue/src/client/preview/decorateStory.ts b/app/vue/src/client/preview/decorateStory.ts
index d14af7bcbefd..490df79b9ea0 100644
--- a/app/vue/src/client/preview/decorateStory.ts
+++ b/app/vue/src/client/preview/decorateStory.ts
@@ -1,9 +1,9 @@
import Vue, { VueConstructor, ComponentOptions } from 'vue';
-import { DecoratorFunction, StoryContext, LegacyStoryFn } from '@storybook/csf';
+import type { DecoratorFunction, StoryContext, LegacyStoryFn } from '@storybook/csf';
import { sanitizeStoryContextUpdate } from '@storybook/store';
-import { StoryFnVueReturnType } from './types';
-import { VueFramework } from './types-6-0';
+import type { StoryFnVueReturnType } from './types';
+import type { VueFramework } from './types-6-0';
import { extractProps } from './util';
import { VALUES } from './render';
diff --git a/app/vue/src/client/preview/index.ts b/app/vue/src/client/preview/index.ts
index f54a026fad13..7002a27b58b9 100644
--- a/app/vue/src/client/preview/index.ts
+++ b/app/vue/src/client/preview/index.ts
@@ -1,10 +1,10 @@
/* eslint-disable prefer-destructuring */
import { start } from '@storybook/core/client';
-import { ClientStoryApi, Loadable } from '@storybook/addons';
+import type { ClientStoryApi, Loadable } from '@storybook/addons';
import './globals';
-import { IStorybookSection } from './types';
-import { VueFramework } from './types-6-0';
+import type { IStorybookSection } from './types';
+import type { VueFramework } from './types-6-0';
import { renderToDOM, render } from './render';
import { decorateStory } from './decorateStory';
diff --git a/app/vue/src/client/preview/render.ts b/app/vue/src/client/preview/render.ts
index ca27f025ea09..293d5e423afd 100644
--- a/app/vue/src/client/preview/render.ts
+++ b/app/vue/src/client/preview/render.ts
@@ -1,9 +1,9 @@
/* eslint-disable no-underscore-dangle */
import dedent from 'ts-dedent';
import Vue from 'vue';
-import { RenderContext } from '@storybook/store';
-import { ArgsStoryFn } from '@storybook/csf';
-import { VueFramework } from './types-6-0';
+import type { RenderContext } from '@storybook/store';
+import type { ArgsStoryFn } from '@storybook/csf';
+import type { VueFramework } from './types-6-0';
export const COMPONENT = 'STORYBOOK_COMPONENT';
export const VALUES = 'STORYBOOK_VALUES';
diff --git a/app/vue/src/client/preview/types-6-0.ts b/app/vue/src/client/preview/types-6-0.ts
index 39435b6f1187..dcd515791c01 100644
--- a/app/vue/src/client/preview/types-6-0.ts
+++ b/app/vue/src/client/preview/types-6-0.ts
@@ -1,6 +1,11 @@
-import { Component, AsyncComponent } from 'vue';
-import { Args, ComponentAnnotations, StoryAnnotations, AnnotatedStoryFn } from '@storybook/csf';
-import { StoryFnVueReturnType } from './types';
+import type { Component, AsyncComponent } from 'vue';
+import type {
+ Args,
+ ComponentAnnotations,
+ StoryAnnotations,
+ AnnotatedStoryFn,
+} from '@storybook/csf';
+import type { StoryFnVueReturnType } from './types';
export type { Args, ArgTypes, Parameters, StoryContext } from '@storybook/csf';
diff --git a/app/vue/src/client/preview/types-7-0.ts b/app/vue/src/client/preview/types-7-0.ts
index b88051446a9d..d897ad97a81a 100644
--- a/app/vue/src/client/preview/types-7-0.ts
+++ b/app/vue/src/client/preview/types-7-0.ts
@@ -1,4 +1,4 @@
-import { Args } from '@storybook/csf';
+import type { Args } from '@storybook/csf';
import type { StoryObj } from './types-6-0';
diff --git a/addons/docs/src/frameworks/vue/preset.ts b/app/vue/src/server/framework-preset-vue-docs.ts
similarity index 65%
rename from addons/docs/src/frameworks/vue/preset.ts
rename to app/vue/src/server/framework-preset-vue-docs.ts
index 5650c588cc67..478196fa0d8f 100644
--- a/addons/docs/src/frameworks/vue/preset.ts
+++ b/app/vue/src/server/framework-preset-vue-docs.ts
@@ -1,6 +1,9 @@
-import type { Options } from '@storybook/core-common';
+import { findDistEsm, Options, StorybookConfig } from '@storybook/core-common';
+import { hasDocsOrControls } from '@storybook/docs-tools';
export function webpackFinal(webpackConfig: any = {}, options: Options) {
+ if (!hasDocsOrControls(options)) return webpackConfig;
+
let vueDocgenOptions = {};
options.presetsList?.forEach((preset) => {
@@ -26,3 +29,8 @@ export function webpackFinal(webpackConfig: any = {}, options: Options) {
});
return webpackConfig;
}
+
+export const config: StorybookConfig['config'] = (entry = [], options) => {
+ if (!hasDocsOrControls(options)) return entry;
+ return [...entry, findDistEsm(__dirname, 'client/docs/config')];
+};
diff --git a/app/vue/src/server/framework-preset-vue.ts b/app/vue/src/server/framework-preset-vue.ts
index 6eb8e75201db..5ca2341d674f 100644
--- a/app/vue/src/server/framework-preset-vue.ts
+++ b/app/vue/src/server/framework-preset-vue.ts
@@ -1,8 +1,9 @@
/* eslint-disable no-param-reassign */
import { VueLoaderPlugin } from 'vue-loader';
-import type { Configuration } from 'webpack';
+import { findDistEsm } from '@storybook/core-common';
-import { findDistEsm, Options, TypescriptConfig, StorybookConfig } from '@storybook/core-common';
+import type { Configuration } from 'webpack';
+import type { Options, TypescriptConfig, StorybookConfig } from '@storybook/core-common';
export async function webpack(config: Configuration, { presets }: Options) {
const typescriptOptions = await presets.apply('typescript', {} as any);
diff --git a/app/vue/src/server/options.ts b/app/vue/src/server/options.ts
index e57b04994811..6cd7efb1f6a8 100644
--- a/app/vue/src/server/options.ts
+++ b/app/vue/src/server/options.ts
@@ -4,5 +4,5 @@ import { LoadOptions } from '@storybook/core-common';
export default {
packageJson: sync({ cwd: __dirname }).packageJson,
framework: 'vue',
- frameworkPresets: [require.resolve('./framework-preset-vue.js')],
+ frameworkPresets: [require.resolve('./preset.js')],
} as LoadOptions;
diff --git a/app/vue/src/server/preset.ts b/app/vue/src/server/preset.ts
new file mode 100644
index 000000000000..89288293223c
--- /dev/null
+++ b/app/vue/src/server/preset.ts
@@ -0,0 +1,6 @@
+import type { StorybookConfig } from '@storybook/core-common';
+
+export const addons: StorybookConfig['addons'] = [
+ require.resolve('./framework-preset-vue'),
+ require.resolve('./framework-preset-vue-docs'),
+];
diff --git a/app/vue3/package.json b/app/vue3/package.json
index da31cec88367..5070a7338991 100644
--- a/app/vue3/package.json
+++ b/app/vue3/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/vue3",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"description": "Storybook for Vue 3: Develop Vue 3 Components in isolation with Hot Reloading.",
"keywords": [
"storybook"
@@ -45,11 +45,12 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
- "@storybook/addons": "6.5.0-alpha.42",
- "@storybook/core": "6.5.0-alpha.42",
- "@storybook/core-common": "6.5.0-alpha.42",
+ "@storybook/addons": "6.5.0-alpha.48",
+ "@storybook/core": "6.5.0-alpha.48",
+ "@storybook/core-common": "6.5.0-alpha.48",
"@storybook/csf": "0.0.2--canary.87bc651.0",
- "@storybook/store": "6.5.0-alpha.42",
+ "@storybook/docs-tools": "6.5.0-alpha.48",
+ "@storybook/store": "6.5.0-alpha.48",
"@types/node": "^14.14.20 || ^16.0.0",
"@types/webpack-env": "^1.16.0",
"core-js": "^3.8.2",
@@ -81,6 +82,6 @@
"publishConfig": {
"access": "public"
},
- "gitHead": "1477954e18494e721ae8d3c99bc710381eab1351",
+ "gitHead": "5f3afb8cf4389c16be11a6e5099e902d16a82762",
"sbmodern": "dist/modern/client/index.js"
}
diff --git a/app/vue3/preset.js b/app/vue3/preset.js
index af82ab9cf6fd..f09c6698e046 100644
--- a/app/vue3/preset.js
+++ b/app/vue3/preset.js
@@ -1 +1 @@
-module.exports = require('./dist/cjs/server/framework-preset-vue3');
+module.exports = require('./dist/cjs/server/preset');
diff --git a/addons/docs/src/frameworks/vue3/config.ts b/app/vue3/src/client/docs/config.ts
similarity index 64%
rename from addons/docs/src/frameworks/vue3/config.ts
rename to app/vue3/src/client/docs/config.ts
index 4a4fd37a39fb..dd87a14d1a7e 100644
--- a/addons/docs/src/frameworks/vue3/config.ts
+++ b/app/vue3/src/client/docs/config.ts
@@ -1,5 +1,5 @@
+import { extractComponentDescription, enhanceArgTypes } from '@storybook/docs-tools';
import { extractArgTypes } from './extractArgTypes';
-import { extractComponentDescription } from '../../lib/docgen';
import { prepareForInline } from './prepareForInline';
export const parameters = {
@@ -10,3 +10,5 @@ export const parameters = {
extractComponentDescription,
},
};
+
+export const argTypesEnhancers = [enhanceArgTypes];
diff --git a/addons/docs/src/frameworks/vue3/extractArgTypes.ts b/app/vue3/src/client/docs/extractArgTypes.ts
similarity index 80%
rename from addons/docs/src/frameworks/vue3/extractArgTypes.ts
rename to app/vue3/src/client/docs/extractArgTypes.ts
index 039f0c7be2ae..c7a3e4199598 100644
--- a/addons/docs/src/frameworks/vue3/extractArgTypes.ts
+++ b/app/vue3/src/client/docs/extractArgTypes.ts
@@ -1,6 +1,6 @@
-import { StrictArgTypes } from '@storybook/csf';
-import { ArgTypesExtractor, hasDocgen, extractComponentProps } from '../../lib/docgen';
-import { convert } from '../../lib/convert';
+import type { StrictArgTypes } from '@storybook/csf';
+import type { ArgTypesExtractor } from '@storybook/docs-tools';
+import { hasDocgen, extractComponentProps, convert } from '@storybook/docs-tools';
const SECTIONS = ['props', 'events', 'slots'];
diff --git a/addons/docs/src/frameworks/vue3/prepareForInline.ts b/app/vue3/src/client/docs/prepareForInline.ts
similarity index 93%
rename from addons/docs/src/frameworks/vue3/prepareForInline.ts
rename to app/vue3/src/client/docs/prepareForInline.ts
index 2f414504289e..155f9253b83d 100644
--- a/addons/docs/src/frameworks/vue3/prepareForInline.ts
+++ b/app/vue3/src/client/docs/prepareForInline.ts
@@ -1,7 +1,7 @@
import React from 'react';
import * as Vue from 'vue';
import { StoryContext, PartialStoryFn } from '@storybook/csf';
-import { app, VueFramework } from '@storybook/vue3';
+import { app, VueFramework } from '../index';
// This is cast as `any` to workaround type errors caused by Vue 2 types
const { render, h } = Vue as any;
diff --git a/app/vue3/src/client/preview/decorateStory.ts b/app/vue3/src/client/preview/decorateStory.ts
index ba2a31761fda..22fc50e6bbf9 100644
--- a/app/vue3/src/client/preview/decorateStory.ts
+++ b/app/vue3/src/client/preview/decorateStory.ts
@@ -1,9 +1,9 @@
import type { ConcreteComponent, Component, ComponentOptions } from 'vue';
import { h } from 'vue';
-import { DecoratorFunction, StoryContext, LegacyStoryFn } from '@storybook/csf';
+import type { DecoratorFunction, StoryContext, LegacyStoryFn } from '@storybook/csf';
import { sanitizeStoryContextUpdate } from '@storybook/store';
-import { VueFramework } from './types-6-0';
+import type { VueFramework } from './types-6-0';
/*
This normalizes a functional component into a render method in ComponentOptions.
diff --git a/app/vue3/src/client/preview/index.ts b/app/vue3/src/client/preview/index.ts
index 2c1abba00c9e..f37473e1329e 100644
--- a/app/vue3/src/client/preview/index.ts
+++ b/app/vue3/src/client/preview/index.ts
@@ -1,10 +1,10 @@
import type { App } from 'vue';
import { start } from '@storybook/core/client';
-import { ClientStoryApi, Loadable } from '@storybook/addons';
+import type { ClientStoryApi, Loadable } from '@storybook/addons';
import './globals';
-import { IStorybookSection } from './types';
-import { VueFramework } from './types-6-0';
+import type { IStorybookSection } from './types';
+import type { VueFramework } from './types-6-0';
import { decorateStory } from './decorateStory';
import { render, renderToDOM, storybookApp } from './render';
diff --git a/app/vue3/src/client/preview/render.ts b/app/vue3/src/client/preview/render.ts
index 845c4f80f0ce..a9d3b2020f47 100644
--- a/app/vue3/src/client/preview/render.ts
+++ b/app/vue3/src/client/preview/render.ts
@@ -1,7 +1,7 @@
import dedent from 'ts-dedent';
import { createApp, h, shallowRef, ComponentPublicInstance } from 'vue';
-import { RenderContext } from '@storybook/store';
-import { ArgsStoryFn } from '@storybook/csf';
+import type { RenderContext } from '@storybook/store';
+import type { ArgsStoryFn } from '@storybook/csf';
import { StoryFnVueReturnType } from './types';
import { VueFramework } from './types-6-0';
diff --git a/app/vue3/src/client/preview/types-6-0.ts b/app/vue3/src/client/preview/types-6-0.ts
index 7fcddf3c8349..741a1e50fae3 100644
--- a/app/vue3/src/client/preview/types-6-0.ts
+++ b/app/vue3/src/client/preview/types-6-0.ts
@@ -1,6 +1,11 @@
-import { ConcreteComponent } from 'vue';
-import { Args, ComponentAnnotations, StoryAnnotations, AnnotatedStoryFn } from '@storybook/csf';
-import { StoryFnVueReturnType } from './types';
+import type { ConcreteComponent } from 'vue';
+import type {
+ Args,
+ ComponentAnnotations,
+ StoryAnnotations,
+ AnnotatedStoryFn,
+} from '@storybook/csf';
+import type { StoryFnVueReturnType } from './types';
export type { Args, ArgTypes, Parameters, StoryContext } from '@storybook/csf';
diff --git a/app/vue3/src/client/preview/types-7-0.ts b/app/vue3/src/client/preview/types-7-0.ts
index b88051446a9d..d897ad97a81a 100644
--- a/app/vue3/src/client/preview/types-7-0.ts
+++ b/app/vue3/src/client/preview/types-7-0.ts
@@ -1,4 +1,4 @@
-import { Args } from '@storybook/csf';
+import type { Args } from '@storybook/csf';
import type { StoryObj } from './types-6-0';
diff --git a/addons/docs/src/frameworks/vue3/preset.ts b/app/vue3/src/server/framework-preset-vue3-docs.ts
similarity index 62%
rename from addons/docs/src/frameworks/vue3/preset.ts
rename to app/vue3/src/server/framework-preset-vue3-docs.ts
index c8e044caf8e2..34e755af3f17 100644
--- a/addons/docs/src/frameworks/vue3/preset.ts
+++ b/app/vue3/src/server/framework-preset-vue3-docs.ts
@@ -1,6 +1,10 @@
-import type { Options } from '@storybook/core-common';
+import type { Options, StorybookConfig } from '@storybook/core-common';
+import { findDistEsm } from '@storybook/core-common';
+import { hasDocsOrControls } from '@storybook/docs-tools';
export function webpackFinal(webpackConfig: any = {}, options: Options) {
+ if (!hasDocsOrControls(options)) return webpackConfig;
+
let vueDocgenOptions = {};
options.presetsList?.forEach((preset) => {
@@ -26,3 +30,8 @@ export function webpackFinal(webpackConfig: any = {}, options: Options) {
});
return webpackConfig;
}
+
+export const config: StorybookConfig['config'] = (entry = [], options) => {
+ if (!hasDocsOrControls(options)) return entry;
+ return [...entry, findDistEsm(__dirname, 'client/docs/config')];
+};
diff --git a/app/vue3/src/server/framework-preset-vue3.ts b/app/vue3/src/server/framework-preset-vue3.ts
index dc27c5f1ec73..0db63e4cd193 100644
--- a/app/vue3/src/server/framework-preset-vue3.ts
+++ b/app/vue3/src/server/framework-preset-vue3.ts
@@ -1,6 +1,7 @@
import { VueLoaderPlugin } from 'vue-loader';
import { Configuration, DefinePlugin } from 'webpack';
-import { findDistEsm, StorybookConfig } from '@storybook/core-common';
+import { findDistEsm } from '@storybook/core-common';
+import type { StorybookConfig } from '@storybook/core-common';
export function webpack(config: Configuration): Configuration {
return {
diff --git a/app/vue3/src/server/options.ts b/app/vue3/src/server/options.ts
index 539771517c8a..ce5415ddde88 100644
--- a/app/vue3/src/server/options.ts
+++ b/app/vue3/src/server/options.ts
@@ -1,8 +1,8 @@
import { sync } from 'read-pkg-up';
-import { LoadOptions } from '@storybook/core-common';
+import type { LoadOptions } from '@storybook/core-common';
export default {
packageJson: sync({ cwd: __dirname }).packageJson,
framework: 'vue3',
- frameworkPresets: [require.resolve('./framework-preset-vue3')],
+ frameworkPresets: [require.resolve('./preset')],
} as LoadOptions;
diff --git a/app/vue3/src/server/preset.ts b/app/vue3/src/server/preset.ts
new file mode 100644
index 000000000000..16c9fbcfde38
--- /dev/null
+++ b/app/vue3/src/server/preset.ts
@@ -0,0 +1,6 @@
+import type { StorybookConfig } from '@storybook/core-common';
+
+export const addons: StorybookConfig['addons'] = [
+ require.resolve('./framework-preset-vue3'),
+ require.resolve('./framework-preset-vue3-docs'),
+];
diff --git a/app/web-components/package.json b/app/web-components/package.json
index 4c9774b01825..7284e4bcd1b5 100644
--- a/app/web-components/package.json
+++ b/app/web-components/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/web-components",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"description": "Storybook for web-components: View web components snippets in isolation with Hot Reloading.",
"keywords": [
"lit-html",
@@ -50,13 +50,15 @@
"@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.42",
- "@storybook/client-api": "6.5.0-alpha.42",
- "@storybook/core": "6.5.0-alpha.42",
- "@storybook/core-common": "6.5.0-alpha.42",
+ "@storybook/addons": "6.5.0-alpha.48",
+ "@storybook/client-api": "6.5.0-alpha.48",
+ "@storybook/client-logger": "6.5.0-alpha.48",
+ "@storybook/core": "6.5.0-alpha.48",
+ "@storybook/core-common": "6.5.0-alpha.48",
"@storybook/csf": "0.0.2--canary.87bc651.0",
- "@storybook/preview-web": "6.5.0-alpha.42",
- "@storybook/store": "6.5.0-alpha.42",
+ "@storybook/docs-tools": "6.5.0-alpha.48",
+ "@storybook/preview-web": "6.5.0-alpha.48",
+ "@storybook/store": "6.5.0-alpha.48",
"@types/node": "^14.14.20 || ^16.0.0",
"@types/webpack-env": "^1.16.0",
"babel-plugin-bundled-import-meta": "^0.3.1",
@@ -80,6 +82,6 @@
"publishConfig": {
"access": "public"
},
- "gitHead": "1477954e18494e721ae8d3c99bc710381eab1351",
+ "gitHead": "5f3afb8cf4389c16be11a6e5099e902d16a82762",
"sbmodern": "dist/modern/client/index.js"
}
diff --git a/app/web-components/preset.js b/app/web-components/preset.js
index eff37b035bb3..f09c6698e046 100644
--- a/app/web-components/preset.js
+++ b/app/web-components/preset.js
@@ -1 +1 @@
-module.exports = require('./dist/cjs/server/framework-preset-web-components');
+module.exports = require('./dist/cjs/server/preset');
diff --git a/addons/docs/src/frameworks/web-components/__testfixtures__/custom-elements.json b/app/web-components/src/client/docs/__testfixtures__/custom-elements.json
similarity index 100%
rename from addons/docs/src/frameworks/web-components/__testfixtures__/custom-elements.json
rename to app/web-components/src/client/docs/__testfixtures__/custom-elements.json
diff --git a/addons/docs/src/frameworks/web-components/__testfixtures__/lit-element-demo-card/custom-elements.snapshot b/app/web-components/src/client/docs/__testfixtures__/lit-element-demo-card/custom-elements.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/web-components/__testfixtures__/lit-element-demo-card/custom-elements.snapshot
rename to app/web-components/src/client/docs/__testfixtures__/lit-element-demo-card/custom-elements.snapshot
diff --git a/addons/docs/src/frameworks/web-components/__testfixtures__/lit-element-demo-card/input.js b/app/web-components/src/client/docs/__testfixtures__/lit-element-demo-card/input.js
similarity index 98%
rename from addons/docs/src/frameworks/web-components/__testfixtures__/lit-element-demo-card/input.js
rename to app/web-components/src/client/docs/__testfixtures__/lit-element-demo-card/input.js
index 64f03ae29da0..8ac6852e9117 100644
--- a/addons/docs/src/frameworks/web-components/__testfixtures__/lit-element-demo-card/input.js
+++ b/app/web-components/src/client/docs/__testfixtures__/lit-element-demo-card/input.js
@@ -1,3 +1,4 @@
+/* eslint-disable import/no-unresolved */
import global from 'global';
import { LitElement, html, css } from 'lit-element';
diff --git a/addons/docs/src/frameworks/web-components/__testfixtures__/lit-element-demo-card/properties.snapshot b/app/web-components/src/client/docs/__testfixtures__/lit-element-demo-card/properties.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/web-components/__testfixtures__/lit-element-demo-card/properties.snapshot
rename to app/web-components/src/client/docs/__testfixtures__/lit-element-demo-card/properties.snapshot
diff --git a/addons/docs/src/frameworks/web-components/__testfixtures__/lit-html-welcome/custom-elements.snapshot b/app/web-components/src/client/docs/__testfixtures__/lit-html-welcome/custom-elements.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/web-components/__testfixtures__/lit-html-welcome/custom-elements.snapshot
rename to app/web-components/src/client/docs/__testfixtures__/lit-html-welcome/custom-elements.snapshot
diff --git a/addons/docs/src/frameworks/web-components/__testfixtures__/lit-html-welcome/input.js b/app/web-components/src/client/docs/__testfixtures__/lit-html-welcome/input.js
similarity index 100%
rename from addons/docs/src/frameworks/web-components/__testfixtures__/lit-html-welcome/input.js
rename to app/web-components/src/client/docs/__testfixtures__/lit-html-welcome/input.js
diff --git a/addons/docs/src/frameworks/web-components/__testfixtures__/lit-html-welcome/properties.snapshot b/app/web-components/src/client/docs/__testfixtures__/lit-html-welcome/properties.snapshot
similarity index 100%
rename from addons/docs/src/frameworks/web-components/__testfixtures__/lit-html-welcome/properties.snapshot
rename to app/web-components/src/client/docs/__testfixtures__/lit-html-welcome/properties.snapshot
diff --git a/addons/docs/src/frameworks/web-components/config.ts b/app/web-components/src/client/docs/config.ts
similarity index 79%
rename from addons/docs/src/frameworks/web-components/config.ts
rename to app/web-components/src/client/docs/config.ts
index 30273896e170..e0363ff66646 100644
--- a/addons/docs/src/frameworks/web-components/config.ts
+++ b/app/web-components/src/client/docs/config.ts
@@ -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];
diff --git a/addons/docs/src/frameworks/web-components/custom-elements.test.ts b/app/web-components/src/client/docs/custom-elements.test.ts
similarity index 100%
rename from addons/docs/src/frameworks/web-components/custom-elements.test.ts
rename to app/web-components/src/client/docs/custom-elements.test.ts
diff --git a/addons/docs/src/frameworks/web-components/custom-elements.ts b/app/web-components/src/client/docs/custom-elements.ts
similarity index 98%
rename from addons/docs/src/frameworks/web-components/custom-elements.ts
rename to app/web-components/src/client/docs/custom-elements.ts
index 3c17aa7fd7d4..124f7a6978ee 100644
--- a/addons/docs/src/frameworks/web-components/custom-elements.ts
+++ b/app/web-components/src/client/docs/custom-elements.ts
@@ -1,6 +1,6 @@
-import { getCustomElements, isValidComponent, isValidMetaData } from '@storybook/web-components';
-import { ArgType, ArgTypes } from '@storybook/api';
+import type { ArgType, ArgTypes } from '@storybook/api';
import { logger } from '@storybook/client-logger';
+import { getCustomElements, isValidComponent, isValidMetaData } from '..';
interface TagItem {
name: string;
diff --git a/addons/docs/src/frameworks/web-components/prepareForInline.ts b/app/web-components/src/client/docs/prepareForInline.ts
similarity index 89%
rename from addons/docs/src/frameworks/web-components/prepareForInline.ts
rename to app/web-components/src/client/docs/prepareForInline.ts
index 75f7cc5a4304..b501854839ed 100644
--- a/addons/docs/src/frameworks/web-components/prepareForInline.ts
+++ b/app/web-components/src/client/docs/prepareForInline.ts
@@ -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) => {
class Story extends React.Component {
wrapperRef = React.createRef();
diff --git a/addons/docs/src/frameworks/web-components/sourceDecorator.test.ts b/app/web-components/src/client/docs/sourceDecorator.test.ts
similarity index 95%
rename from addons/docs/src/frameworks/web-components/sourceDecorator.test.ts
rename to app/web-components/src/client/docs/sourceDecorator.test.ts
index 28cff3d42c79..9b900bfb83aa 100644
--- a/addons/docs/src/frameworks/web-components/sourceDecorator.test.ts
+++ b/app/web-components/src/client/docs/sourceDecorator.test.ts
@@ -1,8 +1,9 @@
import { html } from 'lit-html';
import { styleMap } from 'lit-html/directives/style-map';
-import { addons, StoryContext, useEffect } from '@storybook/addons';
+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;
diff --git a/addons/docs/src/frameworks/web-components/sourceDecorator.ts b/app/web-components/src/client/docs/sourceDecorator.ts
similarity index 88%
rename from addons/docs/src/frameworks/web-components/sourceDecorator.ts
rename to app/web-components/src/client/docs/sourceDecorator.ts
index 67d68c12af67..e321db557ac9 100644
--- a/addons/docs/src/frameworks/web-components/sourceDecorator.ts
+++ b/app/web-components/src/client/docs/sourceDecorator.ts
@@ -1,10 +1,10 @@
/* global window */
import { render } from 'lit-html';
-import { ArgsStoryFn, PartialStoryFn, StoryContext } from '@storybook/csf';
+import type { ArgsStoryFn, PartialStoryFn, StoryContext } from '@storybook/csf';
import { addons, useEffect } from '@storybook/addons';
-import { 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) {
const sourceParams = context?.parameters.docs?.source;
diff --git a/addons/docs/src/frameworks/web-components/web-components-properties.test.ts b/app/web-components/src/client/docs/web-components-properties.test.ts
similarity index 100%
rename from addons/docs/src/frameworks/web-components/web-components-properties.test.ts
rename to app/web-components/src/client/docs/web-components-properties.test.ts
diff --git a/app/web-components/src/client/preview/index.ts b/app/web-components/src/client/preview/index.ts
index 44ba037d0f03..aeb08b3bc3da 100644
--- a/app/web-components/src/client/preview/index.ts
+++ b/app/web-components/src/client/preview/index.ts
@@ -1,11 +1,11 @@
/* eslint-disable prefer-destructuring */
import { start } from '@storybook/core/client';
-import { ClientStoryApi, Loadable } from '@storybook/addons';
+import type { ClientStoryApi, Loadable } from '@storybook/addons';
import './globals';
import { renderToDOM } from './render';
-import { IStorybookSection } from './types';
-import { WebComponentsFramework } from './types-6-0';
+import type { IStorybookSection } from './types';
+import type { WebComponentsFramework } from './types-6-0';
const framework = 'web-components';
diff --git a/app/web-components/src/client/preview/types-6-0.ts b/app/web-components/src/client/preview/types-6-0.ts
index c7e40e379cee..901b73c907b7 100644
--- a/app/web-components/src/client/preview/types-6-0.ts
+++ b/app/web-components/src/client/preview/types-6-0.ts
@@ -1,5 +1,10 @@
-import { Args, ComponentAnnotations, StoryAnnotations, AnnotatedStoryFn } from '@storybook/csf';
-import { StoryFnHtmlReturnType } from './types';
+import type {
+ Args,
+ ComponentAnnotations,
+ StoryAnnotations,
+ AnnotatedStoryFn,
+} from '@storybook/csf';
+import type { StoryFnHtmlReturnType } from './types';
export type { Args, ArgTypes, Parameters, StoryContext } from '@storybook/csf';
diff --git a/app/web-components/src/client/preview/types-7-0.ts b/app/web-components/src/client/preview/types-7-0.ts
index b88051446a9d..d897ad97a81a 100644
--- a/app/web-components/src/client/preview/types-7-0.ts
+++ b/app/web-components/src/client/preview/types-7-0.ts
@@ -1,4 +1,4 @@
-import { Args } from '@storybook/csf';
+import type { Args } from '@storybook/csf';
import type { StoryObj } from './types-6-0';
diff --git a/app/web-components/src/client/preview/types.ts b/app/web-components/src/client/preview/types.ts
index 2a9e2564c6e5..04cbf9a47e62 100644
--- a/app/web-components/src/client/preview/types.ts
+++ b/app/web-components/src/client/preview/types.ts
@@ -1,4 +1,4 @@
-import { TemplateResult, SVGTemplateResult } from 'lit-html';
+import type { TemplateResult, SVGTemplateResult } from 'lit-html';
export type { RenderContext } from '@storybook/core';
export type { Args, ArgTypes, Parameters, StoryContext } from '@storybook/addons';
diff --git a/app/web-components/src/server/framework-preset-web-components-docs.ts b/app/web-components/src/server/framework-preset-web-components-docs.ts
new file mode 100644
index 000000000000..507496e74073
--- /dev/null
+++ b/app/web-components/src/server/framework-preset-web-components-docs.ts
@@ -0,0 +1,7 @@
+import { findDistEsm, StorybookConfig } from '@storybook/core-common';
+import { hasDocsOrControls } from '@storybook/docs-tools';
+
+export const config: StorybookConfig['config'] = (entry = [], options) => {
+ if (!hasDocsOrControls(options)) return entry;
+ return [...entry, findDistEsm(__dirname, 'client/docs/config')];
+};
diff --git a/app/web-components/src/server/framework-preset-web-components.ts b/app/web-components/src/server/framework-preset-web-components.ts
index 6432a901f51b..44e273ff8f3c 100644
--- a/app/web-components/src/server/framework-preset-web-components.ts
+++ b/app/web-components/src/server/framework-preset-web-components.ts
@@ -1,6 +1,7 @@
-// eslint-disable-next-line import/no-extraneous-dependencies
-import { Configuration } from 'webpack';
-import { findDistEsm, Options, StorybookConfig } from '@storybook/core-common';
+import { findDistEsm } from '@storybook/core-common';
+
+import type { Options, StorybookConfig } from '@storybook/core-common';
+import type { Configuration } from 'webpack';
export function webpack(config: Configuration, options: Options) {
const babelrcOptions = options.features?.babelModeV7 ? null : { babelrc: false };
diff --git a/app/web-components/src/server/options.ts b/app/web-components/src/server/options.ts
index 0a63c8168cb1..b94cf9009d76 100644
--- a/app/web-components/src/server/options.ts
+++ b/app/web-components/src/server/options.ts
@@ -1,8 +1,8 @@
import { sync } from 'read-pkg-up';
-import { LoadOptions } from '@storybook/core-common';
+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('./preset')],
} as LoadOptions;
diff --git a/app/web-components/src/server/preset.ts b/app/web-components/src/server/preset.ts
new file mode 100644
index 000000000000..2b8b5f434f7c
--- /dev/null
+++ b/app/web-components/src/server/preset.ts
@@ -0,0 +1,6 @@
+import type { StorybookConfig } from '@storybook/core-common';
+
+export const addons: StorybookConfig['addons'] = [
+ require.resolve('./framework-preset-web-components'),
+ require.resolve('./framework-preset-web-components-docs'),
+];
diff --git a/app/web-components/tsconfig.json b/app/web-components/tsconfig.json
index 77e11bbd2ab9..a7b3b6102f4c 100644
--- a/app/web-components/tsconfig.json
+++ b/app/web-components/tsconfig.json
@@ -2,15 +2,8 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"rootDir": "./src",
- "types": [
- "webpack-env",
- "node"
- ]
+ "types": ["webpack-env", "node"]
},
- "include": [
- "src/**/*"
- ],
- "exclude": [
- "src/__tests__/**/*"
- ]
-}
\ No newline at end of file
+ "include": ["src/**/*"],
+ "exclude": ["src/**/*.test.*", "src/__tests__/**/*"]
+}
diff --git a/docs/configure/css-troubleshooting/angular.mdx b/docs/configure/css-troubleshooting/angular.mdx
index 26000d85472d..ab6674b7547e 100644
--- a/docs/configure/css-troubleshooting/angular.mdx
+++ b/docs/configure/css-troubleshooting/angular.mdx
@@ -39,4 +39,28 @@ Additionally, if you need Storybook specific styles that are separate from your
}
}
}
-```
\ No newline at end of file
+```
+
+### Nx with Angular 13
+If you're working with Storybook and [NX libraries](https://nx.dev/structure/library-types), you can extend your project's configuration (i.e., `project.json`) and provide the application's styles. For example:
+
+```json
+ "build-storybook": {
+ "executor": "@nrwl/storybook:build",
+ "outputs": ["{options.outputPath}"],
+ "options": {
+ "uiFramework": "@storybook/angular",
+ "outputPath": "dist/storybook/example-lib",
+ "config": {
+ "configFolder": "libs/example-lib/storybook/.storybook"
+ },
+ "projectBuildConfig": "example-lib:build-storybook",
+ "styles": ["apps/example-app/src/styles.scss"]
+ },
+ "configurations": {
+ "ci": {
+ "quiet": true
+ }
+ }
+ }
+```
diff --git a/docs/essentials/controls.md b/docs/essentials/controls.md
index 8ef2ea75c1bf..dda42e4c3185 100644
--- a/docs/essentials/controls.md
+++ b/docs/essentials/controls.md
@@ -65,7 +65,7 @@ It works as long as you type a valid string into the auto-generated text control
We can specify which controls get used by declaring a custom [argType](../api/argtypes.md) for the `variant` property. ArgTypes encode basic metadata for args, such as name, description, defaultValue for an arg. These get automatically filled in by Storybook Docs.
-ArgTypes can also contain arbitrary annotations, which the user can override. Since `variant` is a property of the component, let's put that annotation on the default export.
+`ArgTypes` can also contain arbitrary annotations, which the user can override. Since `variant` is a property of the component, let's put that annotation on the default export.
@@ -105,7 +105,7 @@ To do so, use the `matchers` property in the `controls` parameter:
## Fully custom args
-Up until now, we only used auto-generated controls based on the component we're writing stories for. If we are writing [complex stories](../writing-stories/stories-for-multiple-components.md), we may want to add controls for args that aren’t part of the component.
+Until now, we only used auto-generated controls based on the component we're writing stories for. If we are writing [complex stories](../writing-stories/stories-for-multiple-components.md), we may want to add controls for args that aren’t part of the component.
@@ -135,7 +135,7 @@ Using `argTypes`, you can change the display and behavior of each control.
### Dealing with complex values
-You'll notice that when dealing with non-primitive values, you'll run into some limitations. The most obvious issue is that not every value can be represented as part of the `args` param in the URL, losing the ability to share and deeplink to such a state. Beyond that, complex values such as JSX cannot be synchronized between the manager (e.g., Controls addon) and the preview (your story).
+When dealing with non-primitive values, you'll notice that you'll run into some limitations. The most obvious issue is that not every value can be represented as part of the `args` param in the URL, losing the ability to share and deeplink to such a state. Beyond that, complex values such as JSX cannot be synchronized between the manager (e.g., Controls addon) and the preview (your story).
One way to deal with this is to use primitive values (e.g., strings) as arg values and add a custom `render` function to convert these values to their complex counterpart before rendering. It isn't the nicest way to do it (see below), but certainly the most flexible.
@@ -157,7 +157,7 @@ One way to deal with this is to use primitive values (e.g., strings) as arg valu
-Unless you need the flexibility of a function, an easier way to map primitives to complex values before rendering is to define a `mapping`. Additionally, you can specify `control.labels` to configure custom labels for your checkbox, radio, or select input.
+Unless you need the flexibility of a function, an easier way to map primitives to complex values before rendering is to define a `mapping`, additionally, you can specify `control.labels` to configure custom labels for your checkbox, radio, or select input.
@@ -180,29 +180,29 @@ The Controls addon can be configured in two ways:
### Annotation
-As shown above, you can configure individual controls with the “control" annotation in the [argTypes](../api/argtypes) field of either a component or story.
-
-Here is the full list of available controls you can use:
-
-| Data Type | Control Type | Description | Options |
-| :---------- | :----------: | :------------------------------------------------------- | :------------: |
-| **boolean** | boolean | checkbox input | - |
-| **number** | number | a numeric text box input | min, max, step |
-| | range | a range slider input | min, max, step |
-| **object** | object | json editor text input | - |
-| **array** | object | json editor text input | - |
-| | file | a file input that gives you a array of urls | accept |
-| **enum** | radio | radio buttons input | - |
-| | inline-radio | inline radio buttons input | - |
-| | check | multi-select checkbox input | - |
-| | inline-check | multi-select inline checkbox input | - |
-| | select | select dropdown input | - |
-| | multi-select | multi-select dropdown input | - |
-| **string** | text | simple text input | - |
-| | color | color picker input that assumes strings are color values | presetColors |
-| | date | date picker input | - |
-
-If you need to customize a control for a number data type in your story, you can do it like so:
+As shown above, you can configure individual controls with the “control" annotation in the [argTypes](../api/argtypes) field of either a component or story. Below is a condensed example and table featuring all available controls.
+
+| Data Type | Control | Description |
+| ----------- | -------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| **boolean** | `boolean` | Provides a toggle for switching between possible states. `argTypes: { active: { control: 'boolean' }}` |
+| **number** | `number` | Provides a numeric input to include the range of all possible values. `argTypes: { even: { control: { type: 'number', min:1, max:30, step: 2 } }}` |
+| | `range` | Provides a range slider component to include all possible values. `argTypes: { odd: { control: { type: 'range', min: 1, max: 30, step: 3 } }}` |
+| **object** | `object` | Provides a JSON-based editor component to handle the object's values. Also allows edition in raw mode. `argTypes: { user: { control: 'object' }}` |
+| **array** | `object` | Provides a JSON-based editor component to handle the values of the array. Also allows edition in raw mode. `argTypes: { odd: { control: 'object' }}` |
+| | `file` | Provides a file input component that returns an array of URLs. Can be further customized to accept specific file types. `argTypes: { avatar: { control: { type: 'file', accept: '.png' } }}` |
+| **enum** | `radio` | Provides a set of radio buttons based on the available options. `argTypes: { contact: { control: 'radio', options: ['email', 'phone', 'mail'] }}` |
+| | `inline-radio` | Provides a set of inlined radio buttons based on the available options. `argTypes: { contact: { control: 'inline-radio', options: ['email', 'phone', 'mail'] }}` |
+| | `check` | Provides a set of checkbox components for selecting multiple options. `argTypes: { contact: { control: 'check', options: ['email', 'phone', 'mail'] }}` |
+| | `inline-check` | Provides a set of inlined checkbox components for selecting multiple options. `argTypes: { contact: { control: 'inline-check', options: ['email', 'phone', 'mail'] }}` |
+| | `select` | Provides a drop-down list component to handle single value selection. `argTypes: { age: { control: 'select', options: [20, 30, 40, 50] }}` |
+| | `multi-select` | Provides a drop-down list that allows multiple selected values. `argTypes: { countries: { control: 'multi-select', options: ['USA', 'Canada', 'Mexico'] }}` |
+| **string** | `text` | Provides a freeform text input. `argTypes: { label: { control: 'text' }}` |
+| | `color` | Provides a color picker component to handle color values. Can be additionally configured to include a set of color presets. `argTypes: { color: { control: { type: 'color', presetsColors: ['red', 'green']} }}` |
+| | `date` | Provides a datepicker component to handle date selection. `argTypes: { startDate: { control: 'date' }}` |
+
+
+💡 The date
control will convert the date into a UNIX timestamp when the value changes. It's a known limitation that will be fixed in a future release. If you need to represent the actual date, you'll need to update the story's implementation and convert the value into a date object.
+
@@ -216,7 +216,7 @@ If you need to customize a control for a number data type in your story, you can
-💡 If you don't provide a specific one, it defaults to the number control type.
+💡 Numeric data types will default to a number
control unless additional configuration is provided.
### Parameters
@@ -257,7 +257,7 @@ For `color` controls, you can specify an array of `presetColors`, either on the
-Color presets can be defined as an object with `color` and `title` or a simple CSS color string. These will then be available as swatches in the color picker. When you hover over the color swatch, you'll be able to see its title. If none is specified, it will default to the nearest CSS color name instead.
+Color presets can be defined as an object with `color` and `title` or a simple CSS color string. These will then be available as swatches in the color picker. When you hover over the color swatch, you'll be able to see its title. It will default to the nearest CSS color name if none is specified.
### Disable controls for specific properties
@@ -348,4 +348,4 @@ Consider the following snippet to force required args first:
]}
/>
-
\ No newline at end of file
+
diff --git a/docs/faq.md b/docs/faq.md
index 4765fcdeb842..9c5934ea7830 100644
--- a/docs/faq.md
+++ b/docs/faq.md
@@ -97,31 +97,6 @@ A common error is that an addon tries to access the "channel", but the channel i
2. In React Native, it's a special case documented in [#1192](https://github.com/storybookjs/storybook/issues/1192)
-### Can I modify React component state in stories?
-
-Not directly. If you control the component source, you can do something like this:
-
-```js
-import React, { Component } from 'react';
-
-export default {
- title: 'MyComponent',
-};
-
-class MyComponent extends Component {
- constructor(props) {
- super(props);
-
- this.state = {
- someVar: 'defaultValue',
- ...props.initialState,
- };
- }
- // ...
-}
-
-export const defaultView = () => ;
-```
### Why aren't Controls visible in the Canvas panel but visible in the Docs panel?
@@ -383,4 +358,46 @@ const StoryMeta: ComponentMeta = {
export default meta;
```
-Although valid, it introduces additional boilerplate code to the story definition. Instead, we're working towards implementing a safer mechanism based on what's currently being discussed in the following [issue](https://github.com/microsoft/TypeScript/issues/7481). Once the feature is released, we'll migrate our existing examples and documentation accordingly.
\ No newline at end of file
+Although valid, it introduces additional boilerplate code to the story definition. Instead, we're working towards implementing a safer mechanism based on what's currently being discussed in the following [issue](https://github.com/microsoft/TypeScript/issues/7481). Once the feature is released, we'll migrate our existing examples and documentation accordingly.
+
+
+## Why is Storybook's source loader returning undefined with curried functions?
+
+This is a known issue with Storybook. If you're interested in getting it fixed, open an issue with a [working reproduction](./contribute/how-to-reproduce) so that it can be triaged and fixed in future releases.
+
+
+## Why are my args no longer displaying the default values?
+
+Before version 6.3, unset args were set to the `argTypes.defaultValue` if specified or inferred from the component's properties (e.g., React's prop types, Angular inputs, Vue props). Starting with version 6.3, Storybook no longer infers default values but instead defines the arg's value as `undefined` when unset, allowing the framework to supply its default value.
+
+If you are using `argTypes.defaultValue` to fix the above, you no longer need to, and you can safely remove it from your stories.
+
+Additionally, suppose you were using `argTypes.defaultValue` or relying on inference to set a default value for an arg. In that case, you should define the arg's value at the component level instead:
+
+```js
+// MyComponent.stories.js
+
+export default {
+ component: MyComponent,
+ args: {
+ //👇 Defining the arg's value at the component level.
+ text: 'Something',
+ },
+};
+```
+
+For Storybook's Docs, you can manually configure the displayed value by configuring the `table.defaultValue` setting:
+
+```js
+// MyComponent.stories.js
+
+export default {
+ component: MyComponent,
+ argTypes: {
+ //👇 Defining the arg's display value in docs.
+ text: {
+ table: { defaultValue: { summary: 'SomeType' } },
+ },
+ },
+};
+```
\ No newline at end of file
diff --git a/docs/get-started/installation-command-section/html.mdx b/docs/get-started/installation-command-section/html.mdx
index 7dab36ebede0..3575943e26df 100644
--- a/docs/get-started/installation-command-section/html.mdx
+++ b/docs/get-started/installation-command-section/html.mdx
@@ -2,7 +2,7 @@ Use the Storybook CLI to install it in a single command. Run this inside your _e
```shell
# Add Storybook:
-npx sb init
+npx sb init --type html
```
If you run into issues with the installation, check the [Troubleshooting section](#troubleshooting) below for guidance on how to solve it.
diff --git a/docs/sharing/embed.md b/docs/sharing/embed.md
index 9c3ea5bcfe87..afd2c009f41a 100644
--- a/docs/sharing/embed.md
+++ b/docs/sharing/embed.md
@@ -45,7 +45,7 @@ https://5ccbc373887ca40020446347-bysekhynzd.chromatic.com/iframe.html?id=/story/
src="https://5ccbc373887ca40020446347-bysekhynzd.chromatic.com/iframe.html?id=shadowboxcta--default&viewMode=story&shortcuts=false&singleStory=true"
width="800"
height="200"
->;
+>
```
diff --git a/docs/snippets/common/gizmo-story-controls-customization.js.mdx b/docs/snippets/common/gizmo-story-controls-customization.js.mdx
index 60a1496be661..3bc936240afa 100644
--- a/docs/snippets/common/gizmo-story-controls-customization.js.mdx
+++ b/docs/snippets/common/gizmo-story-controls-customization.js.mdx
@@ -5,14 +5,58 @@ import { Gizmo } from './Gizmo';
export default {
/* 👇 The title prop is optional.
- * See https://storybook.js.org/docs/react/configure/overview#configure-story-loading
- * to learn how to generate automatic titles
- */
+ * See https://storybook.js.org/docs/react/configure/overview#configure-story-loading
+ * to learn how to generate automatic titles
+ */
title: 'Gizmo',
component: Gizmo,
argTypes: {
+ canRotate: {
+ control: 'boolean',
+ },
width: {
- control: { type: 'range', min: 400, max: 1200, step: 50 },
+ control: { type: 'number', min: 400, max: 1200, step: 50 },
+ },
+ height: {
+ control: { type: 'range', min: 200, max: 1500, step: 50 },
+ },
+ rawData: {
+ control: 'object',
+ },
+ coordinates: {
+ control: 'object',
+ },
+ texture: {
+ control: {
+ type: 'file',
+ accept: '.png',
+ },
+ },
+ position: {
+ control: 'radio',
+ options: ['left', 'right', 'center'],
+ },
+ rotationAxis: {
+ control: {
+ type: 'check',
+ options: ['x', 'y', 'z'],
+ },
+ },
+ scaling: {
+ control: 'select',
+ options: [10, 50, 75, 100, 200],
+ },
+ label: {
+ control: 'text',
+ },
+ meshColors: {
+ control: {
+ type: 'color',
+ presetsColors: ['#ff0000', '#00ff00', '#0000ff'],
+ },
+ },
+ revisionDate: {
+ control: 'date',
},
},
};
diff --git a/docs/snippets/common/gizmo-story-controls-customization.mdx.mdx b/docs/snippets/common/gizmo-story-controls-customization.mdx.mdx
index d7b149b89c5a..79959e089d55 100644
--- a/docs/snippets/common/gizmo-story-controls-customization.mdx.mdx
+++ b/docs/snippets/common/gizmo-story-controls-customization.mdx.mdx
@@ -9,14 +9,63 @@ import { Gizmo } from './Gizmo';
title="Gizmo"
component={Gizmo}
argTypes={{
+ canRotate: {
+ control:'boolean',
+ },
width: {
control: {
- type: 'range',
+ type: 'number',
min: 400,
max: 1200,
step: 50,
},
},
- }}
+ height: {
+ control: {
+ type: 'range',
+ min: 200,
+ max: 1500,
+ step: 50,
+ },
+ },
+ rawData: {
+ control: 'object',
+ },
+ coordinates: {
+ control: 'object',
+ },
+ texture: {
+ control: {
+ type: 'file',
+ accept: '.png',
+ }
+ },
+ position: {
+ control: 'radio',
+ options: ['left', 'right', 'center'],
+ },
+ rotationAxis: {
+ control: {
+ type: 'check',
+ options: ['x', 'y', 'z'],
+ },
+ },
+ scaling: {
+ control: 'select',
+ options: [10, 50, 75, 100, 200],
+ },
+ label: {
+ control: 'text',
+ },
+ meshColors: {
+ control: {
+ type: 'color',
+ presetsColors: ['#ff0000', '#00ff00', '#0000ff'],
+ },
+ },
+ revisionDate: {
+ control: 'date',
+ },
+}}
/>
```
\ No newline at end of file
diff --git a/docs/versions/next.json b/docs/versions/next.json
index 910978b5769c..e28e3a2dbf7e 100644
--- a/docs/versions/next.json
+++ b/docs/versions/next.json
@@ -1 +1 @@
-{"version":"6.5.0-alpha.42","info":{"plain":"### Bug Fixes\n\n- Controls/Essentials/Interactions: Add support for main.cjs/mjs/tsx files ([#17524](https://github.com/storybookjs/storybook/pull/17524))\n- Addon-docs: Fix preset handling for builder with options ([#17544](https://github.com/storybookjs/storybook/pull/17544))"}}
\ No newline at end of file
+{"version":"6.5.0-alpha.48","info":{"plain":"### Features\n\n- Addon-docs: Auto-disable docs presets if docs/controls unused ([#17697](https://github.com/storybookjs/storybook/pull/17697))\n\n### Bug Fixes\n\n- Web-components: Fix CSS class usage in CLI template ([#17702](https://github.com/storybookjs/storybook/pull/17702))\n\n### Maintenance\n\n- Addon-docs: Refactor docs support into individual framework packages ([#17695](https://github.com/storybookjs/storybook/pull/17695))"}}
\ No newline at end of file
diff --git a/docs/writing-docs/build-documentation.md b/docs/writing-docs/build-documentation.md
index fcb87e06d888..6bfb35d37c8c 100644
--- a/docs/writing-docs/build-documentation.md
+++ b/docs/writing-docs/build-documentation.md
@@ -2,12 +2,6 @@
title: 'Preview and build docs'
---
-
-
-💡 Currently there's an issue when using MDX stories with IE11. This issue does
not apply to [DocsPage](./docs-page.md). If you're interested in helping us fix this issue, read our
Contribution guidelines and submit a pull request.
-
-
-
Storybook allows you to create rich and extensive [documentation](./introduction.md) that will help you and any other stakeholder involved in the development process. Out of the box you have the tooling required to not only write it but also to preview it and build it.
## Preview Storybook's documentation
diff --git a/docs/writing-docs/docs-page.md b/docs/writing-docs/docs-page.md
index 80a7ecf3afec..beddd395d822 100644
--- a/docs/writing-docs/docs-page.md
+++ b/docs/writing-docs/docs-page.md
@@ -2,12 +2,6 @@
title: 'DocsPage'
---
-
-
-💡 Currently there's an issue when using MDX stories with IE11. This issue does
not apply to DocsPage. If you're interested in helping us fix this issue, read our
Contribution guidelines and submit a pull request.
-
-
-
When you install [Storybook Docs](https://storybook.js.org/addons/@storybook/addon-docs), DocsPage is the zero-config default documentation that all stories get out of the box. It aggregates your [stories](../get-started/whats-a-story.md), text descriptions, docgen comments, [args tables](./doc-block-argstable.md), and code examples into a single page for each component.
The best practice for docs is for each component to have its own set of documentation and stories.
diff --git a/docs/writing-docs/introduction.md b/docs/writing-docs/introduction.md
index 927596c76109..690f87144fad 100644
--- a/docs/writing-docs/introduction.md
+++ b/docs/writing-docs/introduction.md
@@ -2,12 +2,6 @@
title: 'How to document components'
---
-
-
-💡 Currently there's an issue when using MDX stories with IE11. This issue does
not apply to [DocsPage](./docs-page.md). If you're interested in helping us fix this issue, read our
Contribution guidelines and submit a pull request.
-
-
-
When you write component stories during development, you also create basic documentation to revisit later.
Storybook gives you tools to expand this basic documentation with prose and layout that feature your components and stories prominently. That allows you to create UI library usage guidelines, design system sites, and more.
diff --git a/docs/writing-docs/mdx.md b/docs/writing-docs/mdx.md
index b62b68bbca7b..a5924a4ebfba 100644
--- a/docs/writing-docs/mdx.md
+++ b/docs/writing-docs/mdx.md
@@ -4,7 +4,7 @@ title: 'MDX'
-💡 Currently there's an issue when using MDX stories with IE11. This issue does
not apply to [Docs page](./docs-page.md). If you're interested in helping us fix this issue, read our
Contribution guidelines and submit a pull request.
+💡 Currently, there's an issue using MDX stories with IE11, which **doesn't affect** the [Docs page](./docs-page.md). It's a known MDX issue, and once it's solved, Storybook's MDX implementation will be updated accordingly.
diff --git a/docs/writing-tests/importing-stories-in-tests.md b/docs/writing-tests/importing-stories-in-tests.md
index 385416572dc7..1f3caa31803b 100644
--- a/docs/writing-tests/importing-stories-in-tests.md
+++ b/docs/writing-tests/importing-stories-in-tests.md
@@ -165,7 +165,7 @@ With Playwright, you can write a test to check if the inputs are filled and matc
-Once you execute Playwright, it opens a new browser window, load Storybook's isolated iframe, asserts if the inputs contain the specified values, and displays the test results in the terminal.
+Once you execute Playwright, it opens a new browser window, loads Storybook's isolated iframe, asserts if the inputs contain the specified values, and displays the test results in the terminal.
---
diff --git a/examples/angular-cli/.storybook/main.js b/examples/angular-cli/.storybook/main.js
index 0357685dd98a..8af67f228e3b 100644
--- a/examples/angular-cli/.storybook/main.js
+++ b/examples/angular-cli/.storybook/main.js
@@ -40,4 +40,7 @@ module.exports = {
},
},
staticDirs: ['../src/assets'],
+ features: {
+ buildStoriesJson: true,
+ },
};
diff --git a/examples/angular-cli/package.json b/examples/angular-cli/package.json
index 7a5689d0c201..24fc70e72521 100644
--- a/examples/angular-cli/package.json
+++ b/examples/angular-cli/package.json
@@ -1,18 +1,18 @@
{
"name": "angular-cli",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"private": true,
"license": "MIT",
"scripts": {
"build": "ng build",
- "build-storybook": "yarn storybook-prebuild && build-storybook",
+ "build-storybook": "yarn storybook-prebuild && ng run angular-cli:build-storybook",
"docs:json": "compodoc -p ./tsconfig.json -e json -d .",
"e2e": "ng e2e",
"postinstall": "ngcc --source ../../node_modules",
"ng": "ng",
"start": "ng serve",
- "storybook": "yarn storybook-prebuild && start-storybook -p 9008 --no-manager-cache",
- "storybook-prebuild": "yarn test:generate-output && yarn docs:json",
+ "storybook": "yarn storybook-prebuild && ng run angular-cli:storybook",
+ "storybook-prebuild": "yarn test:generate-output",
"test": "jest",
"test:coverage": "jest --coverage",
"test:generate-output": "jest --json --config=jest.addon-config.js --outputFile=addon-jest.testresults.json || true",
@@ -39,21 +39,21 @@
"@angular/compiler-cli": "^11.2.14",
"@angular/elements": "^11.2.14",
"@compodoc/compodoc": "^1.1.18",
- "@storybook/addon-a11y": "6.5.0-alpha.42",
- "@storybook/addon-actions": "6.5.0-alpha.42",
- "@storybook/addon-backgrounds": "6.5.0-alpha.42",
- "@storybook/addon-controls": "6.5.0-alpha.42",
- "@storybook/addon-docs": "6.5.0-alpha.42",
- "@storybook/addon-interactions": "6.5.0-alpha.42",
- "@storybook/addon-jest": "6.5.0-alpha.42",
- "@storybook/addon-links": "6.5.0-alpha.42",
- "@storybook/addon-storyshots": "6.5.0-alpha.42",
- "@storybook/addon-storysource": "6.5.0-alpha.42",
- "@storybook/addons": "6.5.0-alpha.42",
- "@storybook/angular": "6.5.0-alpha.42",
+ "@storybook/addon-a11y": "6.5.0-alpha.48",
+ "@storybook/addon-actions": "6.5.0-alpha.48",
+ "@storybook/addon-backgrounds": "6.5.0-alpha.48",
+ "@storybook/addon-controls": "6.5.0-alpha.48",
+ "@storybook/addon-docs": "6.5.0-alpha.48",
+ "@storybook/addon-interactions": "6.5.0-alpha.48",
+ "@storybook/addon-jest": "6.5.0-alpha.48",
+ "@storybook/addon-links": "6.5.0-alpha.48",
+ "@storybook/addon-storyshots": "6.5.0-alpha.48",
+ "@storybook/addon-storysource": "6.5.0-alpha.48",
+ "@storybook/addons": "6.5.0-alpha.48",
+ "@storybook/angular": "6.5.0-alpha.48",
"@storybook/babel-plugin-require-context-hook": "1.0.1",
"@storybook/jest": "^0.0.9",
- "@storybook/source-loader": "6.5.0-alpha.42",
+ "@storybook/source-loader": "6.5.0-alpha.48",
"@storybook/testing-library": "^0.0.9",
"@types/core-js": "^2.5.4",
"@types/jest": "^26.0.16",
diff --git a/examples/angular-cli/src/stories/addons/toolbars/locales/locales.stories.ts b/examples/angular-cli/src/stories/addons/toolbars/locales/locales.stories.ts
index f15d5f895ffb..4c3812d5ada2 100644
--- a/examples/angular-cli/src/stories/addons/toolbars/locales/locales.stories.ts
+++ b/examples/angular-cli/src/stories/addons/toolbars/locales/locales.stories.ts
@@ -1,6 +1,7 @@
-import { DecoratorFunction } from '@storybook/addons';
-import { Meta, moduleMetadata } from '@storybook/angular';
-import { Story } from '@storybook/angular/types-6-0';
+import type { DecoratorFunction } from '@storybook/addons';
+import { moduleMetadata } from '@storybook/angular';
+import type { Meta } from '@storybook/angular';
+import type { Story } from '@storybook/angular/types-6-0';
import { TranslatePipe } from './translate.pipe';
import { DEFAULT_LOCALE } from './translate.service';
diff --git a/examples/angular-cli/src/stories/legacy/__snapshots__/storiesOf.stories.storyshot b/examples/angular-cli/src/stories/legacy/__snapshots__/storiesOf.stories.storyshot
deleted file mode 100644
index 0a762f2b8cc1..000000000000
--- a/examples/angular-cli/src/stories/legacy/__snapshots__/storiesOf.stories.storyshot
+++ /dev/null
@@ -1,40 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`Storyshots Legacy / Story with storiesOf() with some emoji 1`] = `
-
-
-
- 😀 😎 👍 💯
-
-
-
- 😀 😎 👍 💯
-
-
-
-`;
-
-exports[`Storyshots Legacy / Story with storiesOf() with text 1`] = `
-
-
-
- Hello Button
-
-
-
-`;
diff --git a/examples/angular-cli/src/stories/legacy/storiesOf.stories.ts b/examples/angular-cli/src/stories/legacy/storiesOf.stories.ts
deleted file mode 100644
index 8b9f3854d808..000000000000
--- a/examples/angular-cli/src/stories/legacy/storiesOf.stories.ts
+++ /dev/null
@@ -1,26 +0,0 @@
-import { storiesOf, moduleMetadata } from '@storybook/angular';
-import { Button } from '@storybook/angular/demo';
-
-storiesOf('Legacy / Story with storiesOf()', module)
- .addDecorator(
- moduleMetadata({
- declarations: [Button],
- })
- )
- .add('with text', () => ({
- template: ` `,
- props: {
- text: 'Hello Button',
- onClick: (event: any) => {
- console.log('some bindings work');
- console.log(event);
- },
- },
- }))
- .add('with some emoji', () => ({
- template: ` `,
- props: {
- text: '😀 😎 👍 💯',
- onClick: () => {},
- },
- }));
diff --git a/examples/cra-kitchen-sink/.storybook/main.js b/examples/cra-kitchen-sink/.storybook/main.js
index 0179e07dd64d..486f57474131 100644
--- a/examples/cra-kitchen-sink/.storybook/main.js
+++ b/examples/cra-kitchen-sink/.storybook/main.js
@@ -34,4 +34,7 @@ module.exports = {
builder: 'webpack4',
},
staticDirs: ['../public'],
+ features: {
+ buildStoriesJson: true,
+ },
};
diff --git a/examples/cra-kitchen-sink/package.json b/examples/cra-kitchen-sink/package.json
index 0029aec8083e..14304cd892a7 100644
--- a/examples/cra-kitchen-sink/package.json
+++ b/examples/cra-kitchen-sink/package.json
@@ -1,6 +1,6 @@
{
"name": "cra-kitchen-sink",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"private": true,
"scripts": {
"build": "react-scripts build",
@@ -11,7 +11,7 @@
"test": "react-scripts test --env=jsdom"
},
"dependencies": {
- "@storybook/client-logger": "6.5.0-alpha.42",
+ "@storybook/client-logger": "6.5.0-alpha.48",
"global": "^4.4.0",
"prop-types": "^15.7.2",
"react": "16.14.0",
@@ -21,19 +21,19 @@
},
"devDependencies": {
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.3",
- "@storybook/addon-a11y": "6.5.0-alpha.42",
- "@storybook/addon-actions": "6.5.0-alpha.42",
- "@storybook/addon-backgrounds": "6.5.0-alpha.42",
- "@storybook/addon-docs": "6.5.0-alpha.42",
+ "@storybook/addon-a11y": "6.5.0-alpha.48",
+ "@storybook/addon-actions": "6.5.0-alpha.48",
+ "@storybook/addon-backgrounds": "6.5.0-alpha.48",
+ "@storybook/addon-docs": "6.5.0-alpha.48",
"@storybook/addon-ie11": "0.0.7--canary.5e87b64.0",
- "@storybook/addon-jest": "6.5.0-alpha.42",
- "@storybook/addon-links": "6.5.0-alpha.42",
- "@storybook/addon-storyshots": "6.5.0-alpha.42",
- "@storybook/addons": "6.5.0-alpha.42",
- "@storybook/builder-webpack4": "6.5.0-alpha.42",
+ "@storybook/addon-jest": "6.5.0-alpha.48",
+ "@storybook/addon-links": "6.5.0-alpha.48",
+ "@storybook/addon-storyshots": "6.5.0-alpha.48",
+ "@storybook/addons": "6.5.0-alpha.48",
+ "@storybook/builder-webpack4": "6.5.0-alpha.48",
"@storybook/preset-create-react-app": "^3.1.6",
- "@storybook/react": "6.5.0-alpha.42",
- "@storybook/theming": "6.5.0-alpha.42",
+ "@storybook/react": "6.5.0-alpha.48",
+ "@storybook/theming": "6.5.0-alpha.48",
"webpack": "4"
},
"storybook": {
diff --git a/examples/cra-react15/package.json b/examples/cra-react15/package.json
index fd7f2c9f052e..5e8b0540efa4 100644
--- a/examples/cra-react15/package.json
+++ b/examples/cra-react15/package.json
@@ -1,6 +1,6 @@
{
"name": "cra-react15",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"private": true,
"scripts": {
"build": "react-scripts build",
@@ -19,14 +19,14 @@
"react-scripts": "3.4.4"
},
"devDependencies": {
- "@storybook/addon-actions": "6.5.0-alpha.42",
+ "@storybook/addon-actions": "6.5.0-alpha.48",
"@storybook/addon-ie11": "0.0.7--canary.5e87b64.0",
- "@storybook/addon-links": "6.5.0-alpha.42",
- "@storybook/addons": "6.5.0-alpha.42",
- "@storybook/builder-webpack4": "6.5.0-alpha.42",
+ "@storybook/addon-links": "6.5.0-alpha.48",
+ "@storybook/addons": "6.5.0-alpha.48",
+ "@storybook/builder-webpack4": "6.5.0-alpha.48",
"@storybook/preset-create-react-app": "^3.1.6",
- "@storybook/react": "6.5.0-alpha.42",
- "@storybook/theming": "6.5.0-alpha.42",
+ "@storybook/react": "6.5.0-alpha.48",
+ "@storybook/theming": "6.5.0-alpha.48",
"babel-core": "6",
"babel-runtime": "6",
"webpack": "4"
diff --git a/examples/cra-ts-essentials/.storybook/main.js b/examples/cra-ts-essentials/.storybook/main.js
index 2ddcf7a8e5be..97a4e0a2b0ff 100644
--- a/examples/cra-ts-essentials/.storybook/main.js
+++ b/examples/cra-ts-essentials/.storybook/main.js
@@ -26,4 +26,7 @@ module.exports = {
builder: 'webpack4',
},
staticDirs: ['../public'],
+ features: {
+ buildStoriesJson: true,
+ },
};
diff --git a/examples/cra-ts-essentials/package.json b/examples/cra-ts-essentials/package.json
index 759fa5194528..52ae2afbf6e4 100644
--- a/examples/cra-ts-essentials/package.json
+++ b/examples/cra-ts-essentials/package.json
@@ -1,6 +1,6 @@
{
"name": "cra-ts-essentials",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"private": true,
"scripts": {
"build": "react-scripts build",
@@ -34,12 +34,12 @@
"typescript": "^3.9.7"
},
"devDependencies": {
- "@storybook/addon-essentials": "6.5.0-alpha.42",
+ "@storybook/addon-essentials": "6.5.0-alpha.48",
"@storybook/addon-ie11": "0.0.7--canary.5e87b64.0",
- "@storybook/addons": "6.5.0-alpha.42",
- "@storybook/builder-webpack4": "6.5.0-alpha.42",
+ "@storybook/addons": "6.5.0-alpha.48",
+ "@storybook/builder-webpack4": "6.5.0-alpha.48",
"@storybook/preset-create-react-app": "^3.1.6",
- "@storybook/react": "6.5.0-alpha.42",
+ "@storybook/react": "6.5.0-alpha.48",
"webpack": "4"
},
"storybook": {
diff --git a/examples/cra-ts-kitchen-sink/.storybook/main.ts b/examples/cra-ts-kitchen-sink/.storybook/main.ts
index 2f33809ea751..048a7f5cefae 100644
--- a/examples/cra-ts-kitchen-sink/.storybook/main.ts
+++ b/examples/cra-ts-kitchen-sink/.storybook/main.ts
@@ -1,4 +1,4 @@
-import { Configuration } from 'webpack';
+import type { Configuration } from 'webpack';
const path = require('path');
@@ -30,4 +30,7 @@ module.exports = {
builder: 'webpack4',
},
staticDirs: ['../public'],
+ features: {
+ buildStoriesJson: true,
+ },
};
diff --git a/examples/cra-ts-kitchen-sink/package.json b/examples/cra-ts-kitchen-sink/package.json
index 6793fe1297f0..96f8e72c73f5 100644
--- a/examples/cra-ts-kitchen-sink/package.json
+++ b/examples/cra-ts-kitchen-sink/package.json
@@ -1,6 +1,6 @@
{
"name": "cra-ts-kitchen-sink",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"private": true,
"scripts": {
"build": "react-scripts build",
@@ -34,15 +34,15 @@
"typescript": "^3.9.7"
},
"devDependencies": {
- "@storybook/addon-a11y": "6.5.0-alpha.42",
- "@storybook/addon-actions": "6.5.0-alpha.42",
- "@storybook/addon-docs": "6.5.0-alpha.42",
+ "@storybook/addon-a11y": "6.5.0-alpha.48",
+ "@storybook/addon-actions": "6.5.0-alpha.48",
+ "@storybook/addon-docs": "6.5.0-alpha.48",
"@storybook/addon-ie11": "0.0.7--canary.5e87b64.0",
- "@storybook/addon-links": "6.5.0-alpha.42",
- "@storybook/addons": "6.5.0-alpha.42",
- "@storybook/builder-webpack4": "6.5.0-alpha.42",
+ "@storybook/addon-links": "6.5.0-alpha.48",
+ "@storybook/addons": "6.5.0-alpha.48",
+ "@storybook/builder-webpack4": "6.5.0-alpha.48",
"@storybook/preset-create-react-app": "^3.1.6",
- "@storybook/react": "6.5.0-alpha.42",
+ "@storybook/react": "6.5.0-alpha.48",
"@types/enzyme": "^3.10.8",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.9.1",
diff --git a/examples/ember-cli/.storybook/main.js b/examples/ember-cli/.storybook/main.js
index a1eb7ba54fa0..c58025c3fd1c 100644
--- a/examples/ember-cli/.storybook/main.js
+++ b/examples/ember-cli/.storybook/main.js
@@ -30,4 +30,7 @@ module.exports = {
builder: 'webpack4',
},
staticDirs: ['../ember-output'],
+ features: {
+ buildStoriesJson: true,
+ },
};
diff --git a/examples/ember-cli/package.json b/examples/ember-cli/package.json
index 5b5be922f825..4d4dbcb5c10b 100644
--- a/examples/ember-cli/package.json
+++ b/examples/ember-cli/package.json
@@ -1,6 +1,6 @@
{
"name": "ember-example",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"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.5.0-alpha.42",
- "@storybook/addon-actions": "6.5.0-alpha.42",
- "@storybook/addon-backgrounds": "6.5.0-alpha.42",
- "@storybook/addon-controls": "6.5.0-alpha.42",
- "@storybook/addon-docs": "6.5.0-alpha.42",
- "@storybook/addon-links": "6.5.0-alpha.42",
- "@storybook/addon-storysource": "6.5.0-alpha.42",
- "@storybook/addon-viewport": "6.5.0-alpha.42",
- "@storybook/addons": "6.5.0-alpha.42",
- "@storybook/ember": "6.5.0-alpha.42",
+ "@storybook/addon-a11y": "6.5.0-alpha.48",
+ "@storybook/addon-actions": "6.5.0-alpha.48",
+ "@storybook/addon-backgrounds": "6.5.0-alpha.48",
+ "@storybook/addon-controls": "6.5.0-alpha.48",
+ "@storybook/addon-docs": "6.5.0-alpha.48",
+ "@storybook/addon-links": "6.5.0-alpha.48",
+ "@storybook/addon-storysource": "6.5.0-alpha.48",
+ "@storybook/addon-viewport": "6.5.0-alpha.48",
+ "@storybook/addons": "6.5.0-alpha.48",
+ "@storybook/ember": "6.5.0-alpha.48",
"@storybook/ember-cli-storybook": "^0.2.1",
- "@storybook/source-loader": "6.5.0-alpha.42",
+ "@storybook/source-loader": "6.5.0-alpha.48",
"babel-loader": "^8.0.0",
"broccoli-asset-rev": "^3.0.0",
"cross-env": "^7.0.3",
diff --git a/examples/html-kitchen-sink/.storybook/main.js b/examples/html-kitchen-sink/.storybook/main.js
index dbdf6dddd558..9a7f974f2c16 100644
--- a/examples/html-kitchen-sink/.storybook/main.js
+++ b/examples/html-kitchen-sink/.storybook/main.js
@@ -24,6 +24,9 @@ module.exports = {
core: {
builder: 'webpack4',
},
+ features: {
+ buildStoriesJson: true,
+ },
// Test code for built-in stories.json extraction
//
// refs: {
diff --git a/examples/html-kitchen-sink/package.json b/examples/html-kitchen-sink/package.json
index 5923dfbf1d2d..e659510c66b2 100644
--- a/examples/html-kitchen-sink/package.json
+++ b/examples/html-kitchen-sink/package.json
@@ -1,6 +1,6 @@
{
"name": "html-kitchen-sink",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"private": true,
"description": "",
"keywords": [],
@@ -13,23 +13,23 @@
"storybook": "start-storybook -p 9006 --no-manager-cache"
},
"devDependencies": {
- "@storybook/addon-a11y": "6.5.0-alpha.42",
- "@storybook/addon-actions": "6.5.0-alpha.42",
- "@storybook/addon-backgrounds": "6.5.0-alpha.42",
- "@storybook/addon-controls": "6.5.0-alpha.42",
- "@storybook/addon-docs": "6.5.0-alpha.42",
- "@storybook/addon-jest": "6.5.0-alpha.42",
- "@storybook/addon-links": "6.5.0-alpha.42",
+ "@storybook/addon-a11y": "6.5.0-alpha.48",
+ "@storybook/addon-actions": "6.5.0-alpha.48",
+ "@storybook/addon-backgrounds": "6.5.0-alpha.48",
+ "@storybook/addon-controls": "6.5.0-alpha.48",
+ "@storybook/addon-docs": "6.5.0-alpha.48",
+ "@storybook/addon-jest": "6.5.0-alpha.48",
+ "@storybook/addon-links": "6.5.0-alpha.48",
"@storybook/addon-postcss": "^2.0.0",
- "@storybook/addon-storyshots": "6.5.0-alpha.42",
- "@storybook/addon-storysource": "6.5.0-alpha.42",
- "@storybook/addon-viewport": "6.5.0-alpha.42",
- "@storybook/addons": "6.5.0-alpha.42",
- "@storybook/client-api": "6.5.0-alpha.42",
- "@storybook/core": "6.5.0-alpha.42",
- "@storybook/core-events": "6.5.0-alpha.42",
- "@storybook/html": "6.5.0-alpha.42",
- "@storybook/source-loader": "6.5.0-alpha.42",
+ "@storybook/addon-storyshots": "6.5.0-alpha.48",
+ "@storybook/addon-storysource": "6.5.0-alpha.48",
+ "@storybook/addon-viewport": "6.5.0-alpha.48",
+ "@storybook/addons": "6.5.0-alpha.48",
+ "@storybook/client-api": "6.5.0-alpha.48",
+ "@storybook/core": "6.5.0-alpha.48",
+ "@storybook/core-events": "6.5.0-alpha.48",
+ "@storybook/html": "6.5.0-alpha.48",
+ "@storybook/source-loader": "6.5.0-alpha.48",
"autoprefixer": "^10.0.1",
"eventemitter3": "^4.0.7",
"format-json": "^1.0.3",
diff --git a/examples/official-storybook/package.json b/examples/official-storybook/package.json
index ee57973b0865..51c9e9a5fc6c 100644
--- a/examples/official-storybook/package.json
+++ b/examples/official-storybook/package.json
@@ -1,6 +1,6 @@
{
"name": "official-storybook",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"private": true,
"scripts": {
"build-storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true build-storybook -c ./",
@@ -14,31 +14,31 @@
"devDependencies": {
"@packtracker/webpack-plugin": "^2.3.0",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.3",
- "@storybook/addon-a11y": "6.5.0-alpha.42",
- "@storybook/addon-actions": "6.5.0-alpha.42",
- "@storybook/addon-backgrounds": "6.5.0-alpha.42",
- "@storybook/addon-controls": "6.5.0-alpha.42",
- "@storybook/addon-docs": "6.5.0-alpha.42",
- "@storybook/addon-interactions": "6.5.0-alpha.42",
- "@storybook/addon-jest": "6.5.0-alpha.42",
- "@storybook/addon-links": "6.5.0-alpha.42",
- "@storybook/addon-storyshots": "6.5.0-alpha.42",
- "@storybook/addon-storyshots-puppeteer": "6.5.0-alpha.42",
- "@storybook/addon-storysource": "6.5.0-alpha.42",
- "@storybook/addon-toolbars": "6.5.0-alpha.42",
- "@storybook/addon-viewport": "6.5.0-alpha.42",
- "@storybook/addons": "6.5.0-alpha.42",
- "@storybook/cli": "6.5.0-alpha.42",
- "@storybook/components": "6.5.0-alpha.42",
- "@storybook/core-events": "6.5.0-alpha.42",
+ "@storybook/addon-a11y": "6.5.0-alpha.48",
+ "@storybook/addon-actions": "6.5.0-alpha.48",
+ "@storybook/addon-backgrounds": "6.5.0-alpha.48",
+ "@storybook/addon-controls": "6.5.0-alpha.48",
+ "@storybook/addon-docs": "6.5.0-alpha.48",
+ "@storybook/addon-interactions": "6.5.0-alpha.48",
+ "@storybook/addon-jest": "6.5.0-alpha.48",
+ "@storybook/addon-links": "6.5.0-alpha.48",
+ "@storybook/addon-storyshots": "6.5.0-alpha.48",
+ "@storybook/addon-storyshots-puppeteer": "6.5.0-alpha.48",
+ "@storybook/addon-storysource": "6.5.0-alpha.48",
+ "@storybook/addon-toolbars": "6.5.0-alpha.48",
+ "@storybook/addon-viewport": "6.5.0-alpha.48",
+ "@storybook/addons": "6.5.0-alpha.48",
+ "@storybook/cli": "6.5.0-alpha.48",
+ "@storybook/components": "6.5.0-alpha.48",
+ "@storybook/core-events": "6.5.0-alpha.48",
"@storybook/design-system": "^5.4.7",
"@storybook/jest": "^0.0.9",
- "@storybook/node-logger": "6.5.0-alpha.42",
- "@storybook/react": "6.5.0-alpha.42",
- "@storybook/router": "6.5.0-alpha.42",
- "@storybook/source-loader": "6.5.0-alpha.42",
+ "@storybook/node-logger": "6.5.0-alpha.48",
+ "@storybook/react": "6.5.0-alpha.48",
+ "@storybook/router": "6.5.0-alpha.48",
+ "@storybook/source-loader": "6.5.0-alpha.48",
"@storybook/testing-library": "^0.0.9",
- "@storybook/theming": "6.5.0-alpha.42",
+ "@storybook/theming": "6.5.0-alpha.48",
"@testing-library/dom": "^7.31.2",
"@testing-library/user-event": "^13.1.9",
"chromatic": "^6.0.2",
@@ -56,7 +56,6 @@
"react": "16.14.0",
"react-dom": "16.14.0",
"terser-webpack-plugin": "^5.0.3",
- "uuid": "^8.3.2",
"uuid-browser": "^3.1.0",
"webpack": "4"
},
diff --git a/examples/preact-kitchen-sink/.storybook/main.js b/examples/preact-kitchen-sink/.storybook/main.js
index 781d93b00a98..9ed640ccc25d 100644
--- a/examples/preact-kitchen-sink/.storybook/main.js
+++ b/examples/preact-kitchen-sink/.storybook/main.js
@@ -25,4 +25,7 @@ module.exports = {
builder: 'webpack4',
},
staticDirs: ['../public'],
+ features: {
+ buildStoriesJson: true,
+ },
};
diff --git a/examples/preact-kitchen-sink/package.json b/examples/preact-kitchen-sink/package.json
index b6c12525dbc6..a413948ca89b 100644
--- a/examples/preact-kitchen-sink/package.json
+++ b/examples/preact-kitchen-sink/package.json
@@ -1,6 +1,6 @@
{
"name": "preact-example",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"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.5.0-alpha.42",
- "@storybook/addon-actions": "6.5.0-alpha.42",
- "@storybook/addon-backgrounds": "6.5.0-alpha.42",
- "@storybook/addon-links": "6.5.0-alpha.42",
- "@storybook/addon-storyshots": "6.5.0-alpha.42",
- "@storybook/addon-storysource": "6.5.0-alpha.42",
- "@storybook/addon-viewport": "6.5.0-alpha.42",
- "@storybook/addons": "6.5.0-alpha.42",
- "@storybook/preact": "6.5.0-alpha.42",
- "@storybook/source-loader": "6.5.0-alpha.42",
+ "@storybook/addon-a11y": "6.5.0-alpha.48",
+ "@storybook/addon-actions": "6.5.0-alpha.48",
+ "@storybook/addon-backgrounds": "6.5.0-alpha.48",
+ "@storybook/addon-links": "6.5.0-alpha.48",
+ "@storybook/addon-storyshots": "6.5.0-alpha.48",
+ "@storybook/addon-storysource": "6.5.0-alpha.48",
+ "@storybook/addon-viewport": "6.5.0-alpha.48",
+ "@storybook/addons": "6.5.0-alpha.48",
+ "@storybook/preact": "6.5.0-alpha.48",
+ "@storybook/source-loader": "6.5.0-alpha.48",
"@types/prop-types": "^15.7.3",
"@types/react": "^17",
"@types/react-dom": "^17",
diff --git a/examples/react-ts-webpack4/package.json b/examples/react-ts-webpack4/package.json
index f11305ae10e2..0cafbf3dcd9c 100644
--- a/examples/react-ts-webpack4/package.json
+++ b/examples/react-ts-webpack4/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/example-react-ts-webpack4",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"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.5.0-alpha.42",
- "@storybook/addon-essentials": "6.5.0-alpha.42",
- "@storybook/builder-webpack4": "6.5.0-alpha.42",
- "@storybook/react": "6.5.0-alpha.42",
+ "@storybook/addon-controls": "6.5.0-alpha.48",
+ "@storybook/addon-essentials": "6.5.0-alpha.48",
+ "@storybook/builder-webpack4": "6.5.0-alpha.48",
+ "@storybook/react": "6.5.0-alpha.48",
"@types/react": "^16.14.23",
"@types/react-dom": "^16.9.14",
"prop-types": "15.7.2",
diff --git a/examples/react-ts/.storybook/main.ts b/examples/react-ts/.storybook/main.ts
index 0d9b8e8580b1..2e82165e7cea 100644
--- a/examples/react-ts/.storybook/main.ts
+++ b/examples/react-ts/.storybook/main.ts
@@ -32,6 +32,7 @@ const config: StorybookConfig = {
buildStoriesJson: true,
babelModeV7: true,
warnOnLegacyHierarchySeparator: false,
+ previewMdx2: true,
},
framework: '@storybook/react',
};
diff --git a/examples/react-ts/package.json b/examples/react-ts/package.json
index 1d6c84885d33..c4cc06979a06 100644
--- a/examples/react-ts/package.json
+++ b/examples/react-ts/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/example-react-ts",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"private": true,
"scripts": {
"build-storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true build-storybook",
@@ -18,13 +18,13 @@
"@babel/preset-env": "^7.12.11",
"@babel/preset-react": "^7.12.10",
"@babel/preset-typescript": "^7.12.7",
- "@storybook/addon-essentials": "6.5.0-alpha.42",
- "@storybook/addon-storyshots": "6.5.0-alpha.42",
- "@storybook/addon-storysource": "6.5.0-alpha.42",
- "@storybook/cli": "6.5.0-alpha.42",
- "@storybook/components": "6.5.0-alpha.42",
- "@storybook/react": "6.5.0-alpha.42",
- "@storybook/theming": "6.5.0-alpha.42",
+ "@storybook/addon-essentials": "6.5.0-alpha.48",
+ "@storybook/addon-storyshots": "6.5.0-alpha.48",
+ "@storybook/addon-storysource": "6.5.0-alpha.48",
+ "@storybook/cli": "6.5.0-alpha.48",
+ "@storybook/components": "6.5.0-alpha.48",
+ "@storybook/react": "6.5.0-alpha.48",
+ "@storybook/theming": "6.5.0-alpha.48",
"@testing-library/dom": "^7.31.2",
"@testing-library/user-event": "^13.1.9",
"@types/babel__preset-env": "^7",
diff --git a/examples/react-ts/src/__snapshots__/storyshots.test.ts.snap b/examples/react-ts/src/__snapshots__/storyshots.test.ts.snap
index 6131b653d6bf..3926326cf9aa 100644
--- a/examples/react-ts/src/__snapshots__/storyshots.test.ts.snap
+++ b/examples/react-ts/src/__snapshots__/storyshots.test.ts.snap
@@ -1,6 +1,6 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
-exports[`Storyshots Demo/Account Form Standard 1`] = `
+exports[`Storyshots Demo/AccountForm Standard 1`] = `
.emotion-15 {
font-family: "Nunito Sans",-apple-system,".SFNSText-Regular","San Francisco",BlinkMacSystemFont,"Segoe UI","Helvetica Neue",Helvetica,Arial,sans-serif;
display: -webkit-box;
@@ -368,7 +368,7 @@ exports[`Storyshots Demo/Account Form Standard 1`] = `
`;
-exports[`Storyshots Demo/Account Form Standard Email Failed 1`] = `
+exports[`Storyshots Demo/AccountForm Standard Email Failed 1`] = `
.emotion-15 {
font-family: "Nunito Sans",-apple-system,".SFNSText-Regular","San Francisco",BlinkMacSystemFont,"Segoe UI","Helvetica Neue",Helvetica,Arial,sans-serif;
display: -webkit-box;
@@ -736,7 +736,7 @@ exports[`Storyshots Demo/Account Form Standard Email Failed 1`] = `
`;
-exports[`Storyshots Demo/Account Form Standard Email Filled 1`] = `
+exports[`Storyshots Demo/AccountForm Standard Email Filled 1`] = `
.emotion-15 {
font-family: "Nunito Sans",-apple-system,".SFNSText-Regular","San Francisco",BlinkMacSystemFont,"Segoe UI","Helvetica Neue",Helvetica,Arial,sans-serif;
display: -webkit-box;
@@ -1104,7 +1104,7 @@ exports[`Storyshots Demo/Account Form Standard Email Filled 1`] = `
`;
-exports[`Storyshots Demo/Account Form Standard Fail Hover 1`] = `
+exports[`Storyshots Demo/AccountForm Standard Fail Hover 1`] = `
.emotion-15 {
font-family: "Nunito Sans",-apple-system,".SFNSText-Regular","San Francisco",BlinkMacSystemFont,"Segoe UI","Helvetica Neue",Helvetica,Arial,sans-serif;
display: -webkit-box;
@@ -1472,7 +1472,7 @@ exports[`Storyshots Demo/Account Form Standard Fail Hover 1`] = `
`;
-exports[`Storyshots Demo/Account Form Standard Password Failed 1`] = `
+exports[`Storyshots Demo/AccountForm Standard Password Failed 1`] = `
.emotion-15 {
font-family: "Nunito Sans",-apple-system,".SFNSText-Regular","San Francisco",BlinkMacSystemFont,"Segoe UI","Helvetica Neue",Helvetica,Arial,sans-serif;
display: -webkit-box;
@@ -1840,7 +1840,7 @@ exports[`Storyshots Demo/Account Form Standard Password Failed 1`] = `
`;
-exports[`Storyshots Demo/Account Form Verification 1`] = `
+exports[`Storyshots Demo/AccountForm Verification 1`] = `
.emotion-18 {
font-family: "Nunito Sans",-apple-system,".SFNSText-Regular","San Francisco",BlinkMacSystemFont,"Segoe UI","Helvetica Neue",Helvetica,Arial,sans-serif;
display: -webkit-box;
@@ -2231,7 +2231,7 @@ exports[`Storyshots Demo/Account Form Verification 1`] = `
`;
-exports[`Storyshots Demo/Account Form Verification Passsword 1 1`] = `
+exports[`Storyshots Demo/AccountForm Verification Passsword 1 1`] = `
.emotion-18 {
font-family: "Nunito Sans",-apple-system,".SFNSText-Regular","San Francisco",BlinkMacSystemFont,"Segoe UI","Helvetica Neue",Helvetica,Arial,sans-serif;
display: -webkit-box;
@@ -2622,7 +2622,7 @@ exports[`Storyshots Demo/Account Form Verification Passsword 1 1`] = `
`;
-exports[`Storyshots Demo/Account Form Verification Password Mismatch 1`] = `
+exports[`Storyshots Demo/AccountForm Verification Password Mismatch 1`] = `
.emotion-18 {
font-family: "Nunito Sans",-apple-system,".SFNSText-Regular","San Francisco",BlinkMacSystemFont,"Segoe UI","Helvetica Neue",Helvetica,Arial,sans-serif;
display: -webkit-box;
@@ -3013,7 +3013,7 @@ exports[`Storyshots Demo/Account Form Verification Password Mismatch 1`] = `
`;
-exports[`Storyshots Demo/Account Form Verification Success 1`] = `
+exports[`Storyshots Demo/AccountForm Verification Success 1`] = `
.emotion-18 {
font-family: "Nunito Sans",-apple-system,".SFNSText-Regular","San Francisco",BlinkMacSystemFont,"Segoe UI","Helvetica Neue",Helvetica,Arial,sans-serif;
display: -webkit-box;
@@ -3404,7 +3404,7 @@ exports[`Storyshots Demo/Account Form Verification Success 1`] = `
`;
-exports[`Storyshots Docs/Button Basic 1`] = `
+exports[`Storyshots Docs/ButtonMdx Basic 1`] = `
@@ -3412,7 +3412,7 @@ exports[`Storyshots Docs/Button Basic 1`] = `
`;
-exports[`Storyshots Docs/Button Controls 1`] = `
+exports[`Storyshots Docs/ButtonMdx Controls 1`] = `
@@ -3436,6 +3436,14 @@ exports[`Storyshots Examples / Button CSF 2 Story With Play 1`] = `
`;
+exports[`Storyshots Examples / Button Process Env 1`] = `
+
+ Hello
+
+`;
+
exports[`Storyshots Examples / Button Story No Render 1`] = `
` definitions.
+This file is a documentation-only MDX {1+1} file, i.e. it doesn't contain any `` definitions.
diff --git a/examples/react-ts/src/addon-docs/docs.stories.mdx b/examples/react-ts/src/addon-docs/docs.stories.mdx
index 44639a3698f1..14466bbdc919 100644
--- a/examples/react-ts/src/addon-docs/docs.stories.mdx
+++ b/examples/react-ts/src/addon-docs/docs.stories.mdx
@@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/addon-docs';
import { Button } from '../button';
-
+
-# Button
+# Button MDX
diff --git a/examples/react-ts/src/button.stories.tsx b/examples/react-ts/src/button.stories.tsx
index db360ee35e09..2c9d8151b200 100644
--- a/examples/react-ts/src/button.stories.tsx
+++ b/examples/react-ts/src/button.stories.tsx
@@ -47,13 +47,3 @@ CSF2StoryWithPlay.play = () => {
console.log('play!!');
userEvent.click(screen.getByRole('button'));
};
-
-// eslint-disable-next-line no-underscore-dangle
-export const __namedExportsOrder = [
- 'Basic',
- 'WithArgs',
- 'StoryObject',
- 'StoryNoRender',
- 'StoryWithPlay',
- 'CSF2StoryWithPlay',
-];
diff --git a/examples/server-kitchen-sink/package.json b/examples/server-kitchen-sink/package.json
index b63099a70537..47bd45bc0a2d 100644
--- a/examples/server-kitchen-sink/package.json
+++ b/examples/server-kitchen-sink/package.json
@@ -1,6 +1,6 @@
{
"name": "server-kitchen-sink",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"private": true,
"description": "",
"keywords": [],
@@ -14,13 +14,13 @@
"storybook": "SERVER_PORT=1137 start-storybook -p 9006 --quiet"
},
"devDependencies": {
- "@storybook/addon-a11y": "6.5.0-alpha.42",
- "@storybook/addon-actions": "6.5.0-alpha.42",
- "@storybook/addon-backgrounds": "6.5.0-alpha.42",
- "@storybook/addon-controls": "6.5.0-alpha.42",
- "@storybook/addon-links": "6.5.0-alpha.42",
- "@storybook/node-logger": "6.5.0-alpha.42",
- "@storybook/server": "6.5.0-alpha.42",
+ "@storybook/addon-a11y": "6.5.0-alpha.48",
+ "@storybook/addon-actions": "6.5.0-alpha.48",
+ "@storybook/addon-backgrounds": "6.5.0-alpha.48",
+ "@storybook/addon-controls": "6.5.0-alpha.48",
+ "@storybook/addon-links": "6.5.0-alpha.48",
+ "@storybook/node-logger": "6.5.0-alpha.48",
+ "@storybook/server": "6.5.0-alpha.48",
"concurrently": "^5.3.0",
"cors": "^2.8.5",
"express": "~4.17.1",
diff --git a/examples/standalone-preview/package.json b/examples/standalone-preview/package.json
index 4fd757c29283..2aa7fa7372aa 100644
--- a/examples/standalone-preview/package.json
+++ b/examples/standalone-preview/package.json
@@ -1,15 +1,15 @@
{
"name": "standalone-preview",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"private": true,
"scripts": {
"storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true start-storybook -p 9011 -c ../official-storybook --no-manager-cache --preview-url=http://localhost:1337/external-iframe.html",
"storybook-preview": "cross-env PREVIEW_URL=external-iframe.html parcel ./storybook.html --port 1337"
},
"devDependencies": {
- "@storybook/addon-docs": "6.5.0-alpha.42",
- "@storybook/cli": "6.5.0-alpha.42",
- "@storybook/react": "6.5.0-alpha.42",
+ "@storybook/addon-docs": "6.5.0-alpha.48",
+ "@storybook/cli": "6.5.0-alpha.48",
+ "@storybook/react": "6.5.0-alpha.48",
"cross-env": "^7.0.3",
"parcel": "2.0.1",
"react": "16.14.0",
diff --git a/examples/svelte-kitchen-sink/package.json b/examples/svelte-kitchen-sink/package.json
index a7ecbc96ac0e..591dd0857a04 100644
--- a/examples/svelte-kitchen-sink/package.json
+++ b/examples/svelte-kitchen-sink/package.json
@@ -1,6 +1,6 @@
{
"name": "svelte-example",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"private": true,
"scripts": {
"build-storybook": "build-storybook",
@@ -10,20 +10,20 @@
"global": "^4.4.0"
},
"devDependencies": {
- "@storybook/addon-a11y": "6.5.0-alpha.42",
- "@storybook/addon-actions": "6.5.0-alpha.42",
- "@storybook/addon-backgrounds": "6.5.0-alpha.42",
- "@storybook/addon-controls": "6.5.0-alpha.42",
- "@storybook/addon-docs": "6.5.0-alpha.42",
- "@storybook/addon-interactions": "6.5.0-alpha.42",
- "@storybook/addon-links": "6.5.0-alpha.42",
- "@storybook/addon-storyshots": "6.5.0-alpha.42",
- "@storybook/addon-storysource": "6.5.0-alpha.42",
- "@storybook/addon-viewport": "6.5.0-alpha.42",
- "@storybook/addons": "6.5.0-alpha.42",
+ "@storybook/addon-a11y": "6.5.0-alpha.48",
+ "@storybook/addon-actions": "6.5.0-alpha.48",
+ "@storybook/addon-backgrounds": "6.5.0-alpha.48",
+ "@storybook/addon-controls": "6.5.0-alpha.48",
+ "@storybook/addon-docs": "6.5.0-alpha.48",
+ "@storybook/addon-interactions": "6.5.0-alpha.48",
+ "@storybook/addon-links": "6.5.0-alpha.48",
+ "@storybook/addon-storyshots": "6.5.0-alpha.48",
+ "@storybook/addon-storysource": "6.5.0-alpha.48",
+ "@storybook/addon-viewport": "6.5.0-alpha.48",
+ "@storybook/addons": "6.5.0-alpha.48",
"@storybook/jest": "^0.0.9",
- "@storybook/source-loader": "6.5.0-alpha.42",
- "@storybook/svelte": "6.5.0-alpha.42",
+ "@storybook/source-loader": "6.5.0-alpha.48",
+ "@storybook/svelte": "6.5.0-alpha.48",
"@storybook/testing-library": "^0.0.9",
"svelte-jester": "1.3.0",
"svelte-preprocess": "4.6.8"
diff --git a/examples/vue-3-cli/.storybook/main.js b/examples/vue-3-cli/.storybook/main.js
index 1a81805bda18..5ac709c776c1 100644
--- a/examples/vue-3-cli/.storybook/main.js
+++ b/examples/vue-3-cli/.storybook/main.js
@@ -8,4 +8,7 @@ module.exports = {
core: {
builder: 'webpack4',
},
+ features: {
+ buildStoriesJson: true,
+ },
};
diff --git a/examples/vue-3-cli/package.json b/examples/vue-3-cli/package.json
index aaaf6a604e5e..62d45a4bbb48 100644
--- a/examples/vue-3-cli/package.json
+++ b/examples/vue-3-cli/package.json
@@ -1,6 +1,6 @@
{
"name": "vue-3-cli-example",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"private": true,
"scripts": {
"build": "vue-cli-service build",
@@ -14,14 +14,14 @@
},
"devDependencies": {
"@babel/core": "^7.12.10",
- "@storybook/addon-actions": "6.5.0-alpha.42",
- "@storybook/addon-essentials": "6.5.0-alpha.42",
- "@storybook/addon-interactions": "6.5.0-alpha.42",
- "@storybook/addon-links": "6.5.0-alpha.42",
- "@storybook/addon-storyshots": "6.5.0-alpha.42",
+ "@storybook/addon-actions": "6.5.0-alpha.48",
+ "@storybook/addon-essentials": "6.5.0-alpha.48",
+ "@storybook/addon-interactions": "6.5.0-alpha.48",
+ "@storybook/addon-links": "6.5.0-alpha.48",
+ "@storybook/addon-storyshots": "6.5.0-alpha.48",
"@storybook/jest": "^0.0.9",
"@storybook/testing-library": "^0.0.9",
- "@storybook/vue3": "6.5.0-alpha.42",
+ "@storybook/vue3": "6.5.0-alpha.48",
"@vue/cli-plugin-babel": "~4.5.0",
"@vue/cli-plugin-typescript": "~4.5.0",
"@vue/cli-service": "~4.5.0",
diff --git a/examples/vue-cli/.storybook/main.js b/examples/vue-cli/.storybook/main.js
index acebe1931046..969e1ce0af60 100644
--- a/examples/vue-cli/.storybook/main.js
+++ b/examples/vue-cli/.storybook/main.js
@@ -10,4 +10,7 @@ module.exports = {
core: {
builder: 'webpack4',
},
+ features: {
+ buildStoriesJson: true,
+ },
};
diff --git a/examples/vue-cli/package.json b/examples/vue-cli/package.json
index a21607a63218..c792775d7046 100644
--- a/examples/vue-cli/package.json
+++ b/examples/vue-cli/package.json
@@ -1,6 +1,6 @@
{
"name": "vue-cli-example",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"private": true,
"scripts": {
"build": "vue-cli-service build",
@@ -15,11 +15,11 @@
"vue-property-decorator": "^9.1.2"
},
"devDependencies": {
- "@storybook/addon-controls": "6.5.0-alpha.42",
- "@storybook/addon-essentials": "6.5.0-alpha.42",
+ "@storybook/addon-controls": "6.5.0-alpha.48",
+ "@storybook/addon-essentials": "6.5.0-alpha.48",
"@storybook/preset-scss": "^1.0.3",
- "@storybook/source-loader": "6.5.0-alpha.42",
- "@storybook/vue": "6.5.0-alpha.42",
+ "@storybook/source-loader": "6.5.0-alpha.48",
+ "@storybook/vue": "6.5.0-alpha.48",
"@vue/cli-plugin-babel": "~4.3.1",
"@vue/cli-plugin-typescript": "~4.3.1",
"@vue/cli-service": "~4.3.1",
diff --git a/examples/vue-kitchen-sink/.storybook/main.js b/examples/vue-kitchen-sink/.storybook/main.js
index 0c3697d3a9e1..f28511d9d037 100644
--- a/examples/vue-kitchen-sink/.storybook/main.js
+++ b/examples/vue-kitchen-sink/.storybook/main.js
@@ -16,4 +16,7 @@ module.exports = {
builder: 'webpack4',
},
staticDirs: ['../public'],
+ features: {
+ buildStoriesJson: true,
+ },
};
diff --git a/examples/vue-kitchen-sink/package.json b/examples/vue-kitchen-sink/package.json
index 4da75c05ccdf..16a4542e2312 100644
--- a/examples/vue-kitchen-sink/package.json
+++ b/examples/vue-kitchen-sink/package.json
@@ -1,6 +1,6 @@
{
"name": "vue-example",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"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.5.0-alpha.42",
- "@storybook/addon-actions": "6.5.0-alpha.42",
- "@storybook/addon-backgrounds": "6.5.0-alpha.42",
- "@storybook/addon-controls": "6.5.0-alpha.42",
- "@storybook/addon-docs": "6.5.0-alpha.42",
- "@storybook/addon-interactions": "6.5.0-alpha.42",
- "@storybook/addon-links": "6.5.0-alpha.42",
- "@storybook/addon-storyshots": "6.5.0-alpha.42",
- "@storybook/addon-storysource": "6.5.0-alpha.42",
- "@storybook/addon-viewport": "6.5.0-alpha.42",
- "@storybook/addons": "6.5.0-alpha.42",
+ "@storybook/addon-a11y": "6.5.0-alpha.48",
+ "@storybook/addon-actions": "6.5.0-alpha.48",
+ "@storybook/addon-backgrounds": "6.5.0-alpha.48",
+ "@storybook/addon-controls": "6.5.0-alpha.48",
+ "@storybook/addon-docs": "6.5.0-alpha.48",
+ "@storybook/addon-interactions": "6.5.0-alpha.48",
+ "@storybook/addon-links": "6.5.0-alpha.48",
+ "@storybook/addon-storyshots": "6.5.0-alpha.48",
+ "@storybook/addon-storysource": "6.5.0-alpha.48",
+ "@storybook/addon-viewport": "6.5.0-alpha.48",
+ "@storybook/addons": "6.5.0-alpha.48",
"@storybook/jest": "^0.0.9",
- "@storybook/source-loader": "6.5.0-alpha.42",
+ "@storybook/source-loader": "6.5.0-alpha.48",
"@storybook/testing-library": "^0.0.9",
- "@storybook/vue": "6.5.0-alpha.42",
+ "@storybook/vue": "6.5.0-alpha.48",
"@vue/babel-preset-jsx": "^1.2.4",
"babel-loader": "^8.0.0",
"cross-env": "^7.0.3",
diff --git a/examples/vue-kitchen-sink/src/stories/addon-docs.stories.mdx b/examples/vue-kitchen-sink/src/stories/addon-docs.stories.mdx
index 62481f719b8a..5c0fb992edba 100644
--- a/examples/vue-kitchen-sink/src/stories/addon-docs.stories.mdx
+++ b/examples/vue-kitchen-sink/src/stories/addon-docs.stories.mdx
@@ -69,11 +69,11 @@ The default configuration for `addon-docs/vue` implements the `prepareForInline`
To provide a tangible example of the inline/iframe rendering contexts, here's the same story rendered both ways.
-
+
-
+
The biggest win here is that we don't have to worry about setting the height anymore. The story can calculate its height like any other inline element. As you can see, several of the stories on this page are quite small, but take up `500px`, because that's the default story height, and we didn't tweak the story to be an explicit height. Another huge gain here is in terms of performance. Using an iframe to render a single element is definitely unnecessary in most cases and, as you may have noticed while reading this page, can _really_ cause page performance to suffer.
diff --git a/examples/web-components-kitchen-sink/.storybook/main.js b/examples/web-components-kitchen-sink/.storybook/main.js
index 01a617bccc4b..4c7f08ca0108 100644
--- a/examples/web-components-kitchen-sink/.storybook/main.js
+++ b/examples/web-components-kitchen-sink/.storybook/main.js
@@ -18,5 +18,6 @@ module.exports = {
},
features: {
interactionsDebugger: true,
+ buildStoriesJson: true,
},
};
diff --git a/examples/web-components-kitchen-sink/package.json b/examples/web-components-kitchen-sink/package.json
index 0498ac08a53f..948ff58fe7b8 100644
--- a/examples/web-components-kitchen-sink/package.json
+++ b/examples/web-components-kitchen-sink/package.json
@@ -1,6 +1,6 @@
{
"name": "web-components-kitchen-sink",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"private": true,
"description": "",
"keywords": [],
@@ -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.9",
"@storybook/manager-webpack4": "portal:../../lib/manager-webpack4",
"@storybook/node-logger": "portal:../../lib/node-logger",
diff --git a/examples/web-components-kitchen-sink/yarn.lock b/examples/web-components-kitchen-sink/yarn.lock
index 71352aee49e0..879e095c6a80 100644
--- a/examples/web-components-kitchen-sink/yarn.lock
+++ b/examples/web-components-kitchen-sink/yarn.lock
@@ -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"
@@ -2002,18 +1995,7 @@ __metadata:
languageName: node
linkType: hard
-"@mdx-js/loader@npm:^1.6.22":
- version: 1.6.22
- resolution: "@mdx-js/loader@npm:1.6.22"
- dependencies:
- "@mdx-js/mdx": 1.6.22
- "@mdx-js/react": 1.6.22
- loader-utils: 2.0.0
- checksum: d39f8a3044b8025d5adea20c5f67daca46027e9fd89bc974646402ffb1ed83268081738f793f209cd37f06bfeaddb6b6f8cd61da56fa7a238c7d8da361f43761
- languageName: node
- linkType: hard
-
-"@mdx-js/mdx@npm:1.6.22, @mdx-js/mdx@npm:^1.6.22":
+"@mdx-js/mdx@npm:^1.6.22":
version: 1.6.22
resolution: "@mdx-js/mdx@npm:1.6.22"
dependencies:
@@ -2040,7 +2022,7 @@ __metadata:
languageName: node
linkType: hard
-"@mdx-js/react@npm:1.6.22, @mdx-js/react@npm:^1.6.22":
+"@mdx-js/react@npm:^1.6.22":
version: 1.6.22
resolution: "@mdx-js/react@npm:1.6.22"
peerDependencies:
@@ -2132,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.36
- "@storybook/api": 6.5.0-alpha.36
- "@storybook/channels": 6.5.0-alpha.36
- "@storybook/client-logger": 6.5.0-alpha.36
- "@storybook/components": 6.5.0-alpha.36
- "@storybook/core-events": 6.5.0-alpha.36
+ "@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.36
+ "@storybook/theming": 6.5.0-alpha.47
axe-core: ^4.2.0
core-js: ^3.8.2
global: ^4.4.0
@@ -2163,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.36
- "@storybook/api": 6.5.0-alpha.36
- "@storybook/components": 6.5.0-alpha.36
- "@storybook/core-events": 6.5.0-alpha.36
+ "@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.36
+ "@storybook/theming": 6.5.0-alpha.47
core-js: ^3.8.2
fast-deep-equal: ^3.1.3
global: ^4.4.0
@@ -2196,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.36
- "@storybook/api": 6.5.0-alpha.36
- "@storybook/client-logger": 6.5.0-alpha.36
- "@storybook/components": 6.5.0-alpha.36
- "@storybook/core-events": 6.5.0-alpha.36
+ "@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.36
+ "@storybook/theming": 6.5.0-alpha.47
core-js: ^3.8.2
global: ^4.4.0
memoizerific: ^1.11.3
@@ -2224,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.36
- "@storybook/api": 6.5.0-alpha.36
- "@storybook/client-logger": 6.5.0-alpha.36
- "@storybook/components": 6.5.0-alpha.36
- "@storybook/core-common": 6.5.0-alpha.36
+ "@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.36
- "@storybook/store": 6.5.0-alpha.36
- "@storybook/theming": 6.5.0-alpha.36
+ "@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
@@ -2251,94 +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/loader": ^1.6.22
- "@mdx-js/mdx": ^1.6.22
"@mdx-js/react": ^1.6.22
- "@storybook/addons": 6.5.0-alpha.36
- "@storybook/api": 6.5.0-alpha.36
- "@storybook/builder-webpack4": 6.5.0-alpha.36
- "@storybook/client-logger": 6.5.0-alpha.36
- "@storybook/components": 6.5.0-alpha.36
- "@storybook/core": 6.5.0-alpha.36
- "@storybook/core-events": 6.5.0-alpha.36
+ "@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.36
- "@storybook/node-logger": 6.5.0-alpha.36
- "@storybook/postinstall": 6.5.0-alpha.36
- "@storybook/preview-web": 6.5.0-alpha.36
- "@storybook/source-loader": 6.5.0-alpha.36
- "@storybook/store": 6.5.0-alpha.36
- "@storybook/theming": 6.5.0-alpha.36
- acorn: ^7.4.1
- acorn-jsx: ^5.3.1
- acorn-walk: ^7.2.0
+ "@storybook/docs-tools": 6.5.0-alpha.47
+ "@storybook/mdx1-csf": canary
+ "@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
- js-string-escape: ^1.0.1
- 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.36
- "@storybook/html": 6.5.0-alpha.36
- "@storybook/react": 6.5.0-alpha.36
- "@storybook/vue": 6.5.0-alpha.36
- "@storybook/vue3": 6.5.0-alpha.36
- "@storybook/web-components": 6.5.0-alpha.36
- lit: ^2.0.0
- lit-html: ^1.4.1 || ^2.0.0
+ "@storybook/mdx2-csf": "*"
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/html":
- optional: true
- "@storybook/react":
- optional: true
- "@storybook/vue":
+ "@storybook/builder-webpack4":
optional: true
- "@storybook/vue3":
- optional: true
- "@storybook/web-components":
- optional: true
- lit:
+ "@storybook/builder-webpack5":
optional: true
- lit-html:
+ "@storybook/mdx2-csf":
optional: true
react:
optional: true
react-dom:
optional: true
- svelte:
- optional: true
- sveltedoc-parser:
- optional: true
- vue:
- optional: true
webpack:
optional: true
languageName: node
@@ -2374,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.36
- "@storybook/client-logger": 6.5.0-alpha.36
- "@storybook/core-events": 6.5.0-alpha.36
+ "@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.36
+ "@storybook/router": 6.5.0-alpha.47
"@types/qs": ^6.9.5
core-js: ^3.8.2
global: ^4.4.0
@@ -2402,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.36
+ "@storybook/addons": 6.5.0-alpha.47
"@storybook/babel-plugin-require-context-hook": 1.0.1
- "@storybook/client-api": 6.5.0-alpha.36
- "@storybook/core": 6.5.0-alpha.36
- "@storybook/core-client": 6.5.0-alpha.36
- "@storybook/core-common": 6.5.0-alpha.36
+ "@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
@@ -2477,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.36
- "@storybook/api": 6.5.0-alpha.36
- "@storybook/client-logger": 6.5.0-alpha.36
- "@storybook/components": 6.5.0-alpha.36
- "@storybook/router": 6.5.0-alpha.36
- "@storybook/source-loader": 6.5.0-alpha.36
- "@storybook/theming": 6.5.0-alpha.36
+ "@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
@@ -2506,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.36
- "@storybook/api": 6.5.0-alpha.36
- "@storybook/client-logger": 6.5.0-alpha.36
- "@storybook/components": 6.5.0-alpha.36
- "@storybook/core-events": 6.5.0-alpha.36
- "@storybook/theming": 6.5.0-alpha.36
+ "@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
@@ -2532,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.36
- "@storybook/channels": 6.5.0-alpha.36
- "@storybook/client-logger": 6.5.0-alpha.36
- "@storybook/core-events": 6.5.0-alpha.36
+ "@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.36
- "@storybook/theming": 6.5.0-alpha.36
+ "@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
@@ -2553,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.36
- "@storybook/client-logger": 6.5.0-alpha.36
- "@storybook/core-events": 6.5.0-alpha.36
+ "@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.36
+ "@storybook/router": 6.5.0-alpha.47
"@storybook/semver": ^7.3.2
- "@storybook/theming": 6.5.0-alpha.36
+ "@storybook/theming": 6.5.0-alpha.47
core-js: ^3.8.2
fast-deep-equal: ^3.1.3
global: ^4.4.0
@@ -2588,48 +2524,26 @@ __metadata:
resolution: "@storybook/builder-webpack4@portal:../../lib/builder-webpack4::locator=web-components-kitchen-sink%40workspace%3A."
dependencies:
"@babel/core": ^7.12.10
- "@babel/plugin-proposal-class-properties": ^7.12.1
- "@babel/plugin-proposal-decorators": ^7.12.12
- "@babel/plugin-proposal-export-default-from": ^7.12.1
- "@babel/plugin-proposal-nullish-coalescing-operator": ^7.12.1
- "@babel/plugin-proposal-object-rest-spread": ^7.12.1
- "@babel/plugin-proposal-optional-chaining": ^7.12.7
- "@babel/plugin-proposal-private-methods": ^7.12.1
- "@babel/plugin-syntax-dynamic-import": ^7.8.3
- "@babel/plugin-transform-arrow-functions": ^7.12.1
- "@babel/plugin-transform-block-scoping": ^7.12.12
- "@babel/plugin-transform-classes": ^7.12.1
- "@babel/plugin-transform-destructuring": ^7.12.1
- "@babel/plugin-transform-for-of": ^7.12.1
- "@babel/plugin-transform-parameters": ^7.12.1
- "@babel/plugin-transform-shorthand-properties": ^7.12.1
- "@babel/plugin-transform-spread": ^7.12.1
- "@babel/plugin-transform-template-literals": ^7.12.1
- "@babel/preset-env": ^7.12.11
- "@babel/preset-react": ^7.12.10
- "@babel/preset-typescript": ^7.12.7
- "@storybook/addons": 6.5.0-alpha.36
- "@storybook/api": 6.5.0-alpha.36
- "@storybook/channel-postmessage": 6.5.0-alpha.36
- "@storybook/channels": 6.5.0-alpha.36
- "@storybook/client-api": 6.5.0-alpha.36
- "@storybook/client-logger": 6.5.0-alpha.36
- "@storybook/components": 6.5.0-alpha.36
- "@storybook/core-common": 6.5.0-alpha.36
- "@storybook/core-events": 6.5.0-alpha.36
- "@storybook/node-logger": 6.5.0-alpha.36
- "@storybook/preview-web": 6.5.0-alpha.36
- "@storybook/router": 6.5.0-alpha.36
+ "@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.36
- "@storybook/theming": 6.5.0-alpha.36
- "@storybook/ui": 6.5.0-alpha.36
+ "@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
babel-loader: ^8.0.0
- babel-plugin-macros: ^2.8.0
- babel-plugin-polyfill-corejs3: ^0.1.0
case-sensitive-paths-webpack-plugin: ^2.3.0
core-js: ^3.8.2
css-loader: ^3.6.0
@@ -2669,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.36
- "@storybook/client-logger": 6.5.0-alpha.36
- "@storybook/core-events": 6.5.0-alpha.36
+ "@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
@@ -2683,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.36
- "@storybook/client-logger": 6.5.0-alpha.36
+ "@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
@@ -2705,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.36
- "@storybook/channel-postmessage": 6.5.0-alpha.36
- "@storybook/channels": 6.5.0-alpha.36
- "@storybook/client-logger": 6.5.0-alpha.36
- "@storybook/core-events": 6.5.0-alpha.36
+ "@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.36
+ "@storybook/store": 6.5.0-alpha.47
"@types/qs": ^6.9.5
"@types/webpack-env": ^1.16.0
core-js: ^3.8.2
@@ -2744,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.36
+ "@storybook/client-logger": 6.5.0-alpha.47
"@storybook/csf": 0.0.2--canary.87bc651.0
- "@storybook/theming": 6.5.0-alpha.36
+ "@storybook/theming": 6.5.0-alpha.47
core-js: ^3.8.2
regenerator-runtime: ^0.13.7
peerDependencies:
@@ -2759,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.36
- "@storybook/channel-postmessage": 6.5.0-alpha.36
- "@storybook/channel-websocket": 6.5.0-alpha.36
- "@storybook/client-api": 6.5.0-alpha.36
- "@storybook/client-logger": 6.5.0-alpha.36
- "@storybook/core-events": 6.5.0-alpha.36
+ "@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.36
- "@storybook/store": 6.5.0-alpha.36
- "@storybook/ui": 6.5.0-alpha.36
+ "@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
@@ -2815,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.36
+ "@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
@@ -2865,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.36
- "@storybook/core-client": 6.5.0-alpha.36
- "@storybook/core-common": 6.5.0-alpha.36
- "@storybook/core-events": 6.5.0-alpha.36
+ "@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.36
- "@storybook/manager-webpack4": 6.5.0-alpha.36
- "@storybook/node-logger": 6.5.0-alpha.36
+ "@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.36
+ "@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
@@ -2890,6 +2804,7 @@ __metadata:
detect-port: ^1.3.0
express: ^4.17.1
fs-extra: ^9.0.1
+ global: ^4.4.0
globby: ^11.0.2
ip: ^1.1.5
lodash: ^4.17.21
@@ -2908,8 +2823,6 @@ __metadata:
ws: ^8.2.3
x-default-browser: ^0.4.0
peerDependencies:
- "@storybook/builder-webpack5": 6.5.0-alpha.36
- "@storybook/manager-webpack5": 6.5.0-alpha.36
react: ^16.8.0 || ^17.0.0
react-dom: ^16.8.0 || ^17.0.0
peerDependenciesMeta:
@@ -2926,16 +2839,17 @@ __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.36
- "@storybook/core-server": 6.5.0-alpha.36
+ "@storybook/core-client": 6.5.0-alpha.47
+ "@storybook/core-server": 6.5.0-alpha.47
peerDependencies:
- "@storybook/builder-webpack5": 6.5.0-alpha.36
react: ^16.8.0 || ^17.0.0
react-dom: ^16.8.0 || ^17.0.0
webpack: "*"
peerDependenciesMeta:
"@storybook/builder-webpack5":
optional: true
+ "@storybook/manager-webpack5":
+ optional: true
typescript:
optional: true
languageName: node
@@ -2952,16 +2866,18 @@ __metadata:
"@babel/preset-env": ^7.12.11
"@babel/traverse": ^7.12.11
"@babel/types": ^7.12.11
- "@mdx-js/mdx": ^1.6.22
"@storybook/csf": 0.0.2--canary.87bc651.0
+ "@storybook/mdx1-csf": canary
core-js: ^3.8.2
fs-extra: ^9.0.1
global: ^4.4.0
- js-string-escape: ^1.0.1
- lodash: ^4.17.21
- prettier: ">=2.2.1 <=2.3.0"
regenerator-runtime: ^0.13.7
ts-dedent: ^2.0.0
+ peerDependencies:
+ "@storybook/mdx2-csf": "*"
+ peerDependenciesMeta:
+ "@storybook/mdx2-csf":
+ optional: true
languageName: node
linkType: soft
@@ -2974,6 +2890,21 @@ __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/node-logger": 6.5.0-alpha.47
+ "@storybook/store": 6.5.0-alpha.47
+ core-js: ^3.8.2
+ doctrine: ^3.0.0
+ lodash: ^4.17.21
+ 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."
@@ -2981,12 +2912,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.36
- "@storybook/core-client": 6.5.0-alpha.36
- "@storybook/core-common": 6.5.0-alpha.36
- "@storybook/node-logger": 6.5.0-alpha.36
- "@storybook/theming": 6.5.0-alpha.36
- "@storybook/ui": 6.5.0-alpha.36
+ "@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
@@ -3022,6 +2953,25 @@ __metadata:
languageName: node
linkType: soft
+"@storybook/mdx1-csf@npm:canary":
+ version: 0.0.1-canary.1.867dcd5.0
+ resolution: "@storybook/mdx1-csf@npm:0.0.1-canary.1.867dcd5.0"
+ dependencies:
+ "@babel/generator": ^7.12.11
+ "@babel/parser": ^7.12.11
+ "@babel/preset-env": ^7.12.11
+ "@babel/types": ^7.12.11
+ "@mdx-js/mdx": ^1.6.22
+ "@types/lodash": ^4.14.167
+ js-string-escape: ^1.0.1
+ loader-utils: ^2.0.0
+ lodash: ^4.17.21
+ prettier: ">=2.2.1 <=2.3.0"
+ ts-dedent: ^2.0.0
+ checksum: bf3ea30731250cc945b9a3f18396ce308da6c29c7569ea5ae8eaf17a5b472255c1f618120f230d34e3013df3805f31fe2a254b2b2478f58c1472ae3288bd86a1
+ languageName: node
+ linkType: hard
+
"@storybook/node-logger@portal:../../lib/node-logger::locator=web-components-kitchen-sink%40workspace%3A.":
version: 0.0.0-use.local
resolution: "@storybook/node-logger@portal:../../lib/node-logger::locator=web-components-kitchen-sink%40workspace%3A."
@@ -3046,12 +2996,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.36
- "@storybook/channel-postmessage": 6.5.0-alpha.36
- "@storybook/client-logger": 6.5.0-alpha.36
- "@storybook/core-events": 6.5.0-alpha.36
+ "@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.36
+ "@storybook/store": 6.5.0-alpha.47
ansi-to-html: ^0.6.11
core-js: ^3.8.2
global: ^4.4.0
@@ -3072,8 +3022,9 @@ __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.36
+ "@storybook/client-logger": 6.5.0-alpha.47
core-js: ^3.8.2
+ regenerator-runtime: ^0.13.7
peerDependencies:
react: ^16.8.0 || ^17.0.0
react-dom: ^16.8.0 || ^17.0.0
@@ -3096,8 +3047,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.36
- "@storybook/client-logger": 6.5.0-alpha.36
+ "@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
@@ -3116,9 +3067,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.36
- "@storybook/client-logger": 6.5.0-alpha.36
- "@storybook/core-events": 6.5.0-alpha.36
+ "@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
@@ -3141,8 +3092,9 @@ __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.36
+ "@storybook/client-logger": 6.5.0-alpha.47
core-js: ^3.8.2
+ regenerator-runtime: ^0.13.7
peerDependencies:
react: ^16.8.0 || ^17.0.0
react-dom: ^16.8.0 || ^17.0.0
@@ -3153,16 +3105,17 @@ __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.36
- "@storybook/api": 6.5.0-alpha.36
- "@storybook/channels": 6.5.0-alpha.36
- "@storybook/client-logger": 6.5.0-alpha.36
- "@storybook/components": 6.5.0-alpha.36
- "@storybook/core-events": 6.5.0-alpha.36
- "@storybook/router": 6.5.0-alpha.36
+ "@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.36
+ "@storybook/theming": 6.5.0-alpha.47
core-js: ^3.8.2
+ regenerator-runtime: ^0.13.7
resolve-from: ^5.0.0
peerDependencies:
react: ^16.8.0 || ^17.0.0
@@ -3177,13 +3130,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.36
- "@storybook/client-api": 6.5.0-alpha.36
- "@storybook/core": 6.5.0-alpha.36
- "@storybook/core-common": 6.5.0-alpha.36
+ "@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.36
- "@storybook/store": 6.5.0-alpha.36
+ "@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
@@ -3344,6 +3299,13 @@ __metadata:
languageName: node
linkType: hard
+"@types/lodash@npm:^4.14.167":
+ version: 4.14.179
+ resolution: "@types/lodash@npm:4.14.179"
+ checksum: 653e45c277e405577c1e4f5baeb0040589b805aa8dabea334c93e1ae44949f6071361754dbf933202de3fb73119f3ee12f317d0f0213168bb806d1ee7478b0ce
+ languageName: node
+ linkType: hard
+
"@types/mdast@npm:^3.0.0":
version: 3.0.7
resolution: "@types/mdast@npm:3.0.7"
@@ -3772,16 +3734,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
@@ -3797,7 +3750,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:
@@ -7599,13 +7552,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"
@@ -8263,13 +8209,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"
@@ -9467,25 +9406,25 @@ fsevents@^1.2.7:
languageName: node
linkType: hard
-"loader-utils@npm:2.0.0, loader-utils@npm:^2.0.0":
- version: 2.0.0
- resolution: "loader-utils@npm:2.0.0"
+"loader-utils@npm:^1.2.3, loader-utils@npm:^1.4.0":
+ version: 1.4.0
+ resolution: "loader-utils@npm:1.4.0"
dependencies:
big.js: ^5.2.2
emojis-list: ^3.0.0
- json5: ^2.1.2
- checksum: 206eda981e486a28536b8a142074e0e927aac4c1f61565b2be402f0434f783a6bb0cef241fabec32ce541f28633a85e0beb68abd8fe9227b76b66d717de40550
+ json5: ^1.0.1
+ checksum: b3f383612c23c0adf535d61709fb3eaf864afa54dae45608e3831156b89b4b05a0a4ddc6db7d742071babe872750ba3f4f9ce89326d94f6e096dbed978fa424e
languageName: node
linkType: hard
-"loader-utils@npm:^1.2.3, loader-utils@npm:^1.4.0":
- version: 1.4.0
- resolution: "loader-utils@npm:1.4.0"
+"loader-utils@npm:^2.0.0":
+ version: 2.0.0
+ resolution: "loader-utils@npm:2.0.0"
dependencies:
big.js: ^5.2.2
emojis-list: ^3.0.0
- json5: ^1.0.1
- checksum: b3f383612c23c0adf535d61709fb3eaf864afa54dae45608e3831156b89b4b05a0a4ddc6db7d742071babe872750ba3f4f9ce89326d94f6e096dbed978fa424e
+ json5: ^2.1.2
+ checksum: 206eda981e486a28536b8a142074e0e927aac4c1f61565b2be402f0434f783a6bb0cef241fabec32ce541f28633a85e0beb68abd8fe9227b76b66d717de40550
languageName: node
linkType: hard
@@ -10133,15 +10072,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"
@@ -10643,7 +10573,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:
@@ -11527,20 +11457,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"
@@ -11554,7 +11470,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
diff --git a/lerna.json b/lerna.json
index f3e15cf80297..f49b7ce8aa5b 100644
--- a/lerna.json
+++ b/lerna.json
@@ -2,5 +2,5 @@
"npmClient": "yarn",
"useWorkspaces": true,
"registry": "https://registry.npmjs.org",
- "version": "6.5.0-alpha.42"
+ "version": "6.5.0-alpha.48"
}
diff --git a/lib/addons/package.json b/lib/addons/package.json
index fe4d9cf7feb3..291adcd04cb5 100644
--- a/lib/addons/package.json
+++ b/lib/addons/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/addons",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"description": "Storybook addons store",
"keywords": [
"storybook"
@@ -40,13 +40,13 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
- "@storybook/api": "6.5.0-alpha.42",
- "@storybook/channels": "6.5.0-alpha.42",
- "@storybook/client-logger": "6.5.0-alpha.42",
- "@storybook/core-events": "6.5.0-alpha.42",
+ "@storybook/api": "6.5.0-alpha.48",
+ "@storybook/channels": "6.5.0-alpha.48",
+ "@storybook/client-logger": "6.5.0-alpha.48",
+ "@storybook/core-events": "6.5.0-alpha.48",
"@storybook/csf": "0.0.2--canary.87bc651.0",
- "@storybook/router": "6.5.0-alpha.42",
- "@storybook/theming": "6.5.0-alpha.42",
+ "@storybook/router": "6.5.0-alpha.48",
+ "@storybook/theming": "6.5.0-alpha.48",
"@types/webpack-env": "^1.16.0",
"core-js": "^3.8.2",
"global": "^4.4.0",
@@ -59,6 +59,6 @@
"publishConfig": {
"access": "public"
},
- "gitHead": "1477954e18494e721ae8d3c99bc710381eab1351",
+ "gitHead": "5f3afb8cf4389c16be11a6e5099e902d16a82762",
"sbmodern": "dist/modern/public_api.js"
}
diff --git a/lib/addons/src/hooks.ts b/lib/addons/src/hooks.ts
index 8136b54452fc..dd329046ca4e 100644
--- a/lib/addons/src/hooks.ts
+++ b/lib/addons/src/hooks.ts
@@ -1,6 +1,6 @@
import global from 'global';
import { logger } from '@storybook/client-logger';
-import {
+import type {
AnyFramework,
DecoratorFunction,
DecoratorApplicator,
diff --git a/lib/addons/src/index.ts b/lib/addons/src/index.ts
index 79c10a08d706..ff0923848613 100644
--- a/lib/addons/src/index.ts
+++ b/lib/addons/src/index.ts
@@ -1,10 +1,10 @@
import global from 'global';
-import { ReactElement } from 'react';
+import type { ReactElement } from 'react';
import { Channel } from '@storybook/channels';
-import { API } from '@storybook/api';
-import { RenderData as RouterData } from '@storybook/router';
+import type { API } from '@storybook/api';
+import type { RenderData as RouterData } from '@storybook/router';
import { logger } from '@storybook/client-logger';
-import { ThemeVars } from '@storybook/theming';
+import type { ThemeVars } from '@storybook/theming';
import { mockChannel } from './storybook-channel-mock';
import { types, Types } from './types';
diff --git a/lib/addons/src/make-decorator.test.ts b/lib/addons/src/make-decorator.test.ts
index e1fe7a7b0063..4cd66aada8bd 100644
--- a/lib/addons/src/make-decorator.test.ts
+++ b/lib/addons/src/make-decorator.test.ts
@@ -1,10 +1,10 @@
-import { StoryContext, StoryGetter } from './types';
+import { StoryContext } from './types';
import { makeDecorator } from './make-decorator';
// Copy & paste from internal api: client-api/src/client_api
-type DecoratorFn = (fn: StoryGetter, context: StoryContext) => any;
+type DecoratorFn = (fn: any, context: StoryContext) => any;
-const defaultDecorateStory = (getStory: StoryGetter, decorators: DecoratorFn[]) =>
+const defaultDecorateStory = (getStory: any, decorators: DecoratorFn[]) =>
decorators.reduce(
(decorated, decorator) => (context: StoryContext) =>
decorator(() => decorated(context), context),
diff --git a/lib/addons/src/types.ts b/lib/addons/src/types.ts
index 3a322cd34779..64a66273db0c 100644
--- a/lib/addons/src/types.ts
+++ b/lib/addons/src/types.ts
@@ -1,4 +1,4 @@
-import {
+import type {
AnyFramework,
InputType,
StoryContext as StoryContextForFramework,
diff --git a/lib/api/package.json b/lib/api/package.json
index ea0b2fdf8e39..7c3753f91d21 100644
--- a/lib/api/package.json
+++ b/lib/api/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/api",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"description": "Core Storybook API & Context",
"keywords": [
"storybook"
@@ -38,13 +38,13 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
- "@storybook/channels": "6.5.0-alpha.42",
- "@storybook/client-logger": "6.5.0-alpha.42",
- "@storybook/core-events": "6.5.0-alpha.42",
+ "@storybook/channels": "6.5.0-alpha.48",
+ "@storybook/client-logger": "6.5.0-alpha.48",
+ "@storybook/core-events": "6.5.0-alpha.48",
"@storybook/csf": "0.0.2--canary.87bc651.0",
- "@storybook/router": "6.5.0-alpha.42",
+ "@storybook/router": "6.5.0-alpha.48",
"@storybook/semver": "^7.3.2",
- "@storybook/theming": "6.5.0-alpha.42",
+ "@storybook/theming": "6.5.0-alpha.48",
"core-js": "^3.8.2",
"fast-deep-equal": "^3.1.3",
"global": "^4.4.0",
@@ -71,6 +71,6 @@
"publishConfig": {
"access": "public"
},
- "gitHead": "1477954e18494e721ae8d3c99bc710381eab1351",
+ "gitHead": "5f3afb8cf4389c16be11a6e5099e902d16a82762",
"sbmodern": "dist/modern/index.js"
}
diff --git a/lib/api/src/index.tsx b/lib/api/src/index.tsx
index 61b6a0d23b9d..41acc3cbace5 100644
--- a/lib/api/src/index.tsx
+++ b/lib/api/src/index.tsx
@@ -218,7 +218,7 @@ class ManagerProvider extends Component {
this.api = api;
}
- static getDerivedStateFromProps = (props: ManagerProviderProps, state: State) => {
+ static getDerivedStateFromProps(props: ManagerProviderProps, state: State) {
if (state.path !== props.path) {
return {
...state,
@@ -231,7 +231,7 @@ class ManagerProvider extends Component {
};
}
return null;
- };
+ }
shouldComponentUpdate(nextProps: ManagerProviderProps, nextState: State) {
const prevState = this.state;
diff --git a/lib/api/src/lib/stories.ts b/lib/api/src/lib/stories.ts
index cf9d8f3858dc..f59305e130a5 100644
--- a/lib/api/src/lib/stories.ts
+++ b/lib/api/src/lib/stories.ts
@@ -4,7 +4,7 @@ import dedent from 'ts-dedent';
import mapValues from 'lodash/mapValues';
import countBy from 'lodash/countBy';
import global from 'global';
-import {
+import type {
StoryId,
ComponentTitle,
StoryKind,
@@ -12,13 +12,13 @@ import {
Args,
ArgTypes,
Parameters,
- sanitize,
} from '@storybook/csf';
+import { sanitize } from '@storybook/csf';
import { combineParameters } from '../index';
import merge from './merge';
-import { Provider } from '../modules/provider';
-import { ViewMode } from '../modules/addons';
+import type { Provider } from '../modules/provider';
+import type { ViewMode } from '../modules/addons';
const { FEATURES } = global;
diff --git a/lib/api/src/modules/globals.ts b/lib/api/src/modules/globals.ts
index 7f44f580386c..bc91a0f98eff 100644
--- a/lib/api/src/modules/globals.ts
+++ b/lib/api/src/modules/globals.ts
@@ -1,9 +1,9 @@
import { SET_GLOBALS, UPDATE_GLOBALS, GLOBALS_UPDATED } from '@storybook/core-events';
import { logger } from '@storybook/client-logger';
import deepEqual from 'fast-deep-equal';
-import { Globals, GlobalTypes } from '@storybook/csf';
+import type { Globals, GlobalTypes } from '@storybook/csf';
-import { ModuleFn } from '../index';
+import type { ModuleFn } from '../index';
import { getEventMetadata } from '../lib/events';
diff --git a/lib/api/src/modules/layout.ts b/lib/api/src/modules/layout.ts
index b80687f24f2c..8a7fc3595165 100644
--- a/lib/api/src/modules/layout.ts
+++ b/lib/api/src/modules/layout.ts
@@ -1,10 +1,11 @@
import global from 'global';
import pick from 'lodash/pick';
import deepEqual from 'fast-deep-equal';
-import { themes, ThemeVars } from '@storybook/theming';
+import { themes } from '@storybook/theming';
+import type { ThemeVars } from '@storybook/theming';
import merge from '../lib/merge';
-import { State, ModuleFn } from '../index';
+import type { State, ModuleFn } from '../index';
const { DOCS_MODE, document } = global;
diff --git a/lib/api/src/modules/provider.ts b/lib/api/src/modules/provider.ts
index c7164fbe6390..465f5139884c 100644
--- a/lib/api/src/modules/provider.ts
+++ b/lib/api/src/modules/provider.ts
@@ -1,10 +1,10 @@
-import { ReactNode } from 'react';
+import type { ReactNode } from 'react';
import { Channel } from '@storybook/channels';
-import { ThemeVars } from '@storybook/theming';
+import type { ThemeVars } from '@storybook/theming';
-import { API, State, ModuleFn, Root, Group, Story } from '../index';
-import { StoryMapper, Refs } from './refs';
-import { UIOptions } from './layout';
+import type { API, State, ModuleFn, Root, Group, Story } from '../index';
+import type { StoryMapper, Refs } from './refs';
+import type { UIOptions } from './layout';
interface SidebarOptions {
showRoots?: boolean;
diff --git a/lib/api/src/version.ts b/lib/api/src/version.ts
index be551bb775eb..293cfa444aed 100644
--- a/lib/api/src/version.ts
+++ b/lib/api/src/version.ts
@@ -1 +1 @@
-export const version = '6.5.0-alpha.42';
+export const version = '6.5.0-alpha.48';
diff --git a/lib/builder-webpack4/package.json b/lib/builder-webpack4/package.json
index bf673f288a6e..10d0f55845b4 100644
--- a/lib/builder-webpack4/package.json
+++ b/lib/builder-webpack4/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/builder-webpack4",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"description": "Storybook framework-agnostic API",
"keywords": [
"storybook"
@@ -40,48 +40,26 @@
},
"dependencies": {
"@babel/core": "^7.12.10",
- "@babel/plugin-proposal-class-properties": "^7.12.1",
- "@babel/plugin-proposal-decorators": "^7.12.12",
- "@babel/plugin-proposal-export-default-from": "^7.12.1",
- "@babel/plugin-proposal-nullish-coalescing-operator": "^7.12.1",
- "@babel/plugin-proposal-object-rest-spread": "^7.12.1",
- "@babel/plugin-proposal-optional-chaining": "^7.12.7",
- "@babel/plugin-proposal-private-methods": "^7.12.1",
- "@babel/plugin-syntax-dynamic-import": "^7.8.3",
- "@babel/plugin-transform-arrow-functions": "^7.12.1",
- "@babel/plugin-transform-block-scoping": "^7.12.12",
- "@babel/plugin-transform-classes": "^7.12.1",
- "@babel/plugin-transform-destructuring": "^7.12.1",
- "@babel/plugin-transform-for-of": "^7.12.1",
- "@babel/plugin-transform-parameters": "^7.12.1",
- "@babel/plugin-transform-shorthand-properties": "^7.12.1",
- "@babel/plugin-transform-spread": "^7.12.1",
- "@babel/plugin-transform-template-literals": "^7.12.1",
- "@babel/preset-env": "^7.12.11",
- "@babel/preset-react": "^7.12.10",
- "@babel/preset-typescript": "^7.12.7",
- "@storybook/addons": "6.5.0-alpha.42",
- "@storybook/api": "6.5.0-alpha.42",
- "@storybook/channel-postmessage": "6.5.0-alpha.42",
- "@storybook/channels": "6.5.0-alpha.42",
- "@storybook/client-api": "6.5.0-alpha.42",
- "@storybook/client-logger": "6.5.0-alpha.42",
- "@storybook/components": "6.5.0-alpha.42",
- "@storybook/core-common": "6.5.0-alpha.42",
- "@storybook/core-events": "6.5.0-alpha.42",
- "@storybook/node-logger": "6.5.0-alpha.42",
- "@storybook/preview-web": "6.5.0-alpha.42",
- "@storybook/router": "6.5.0-alpha.42",
+ "@storybook/addons": "6.5.0-alpha.48",
+ "@storybook/api": "6.5.0-alpha.48",
+ "@storybook/channel-postmessage": "6.5.0-alpha.48",
+ "@storybook/channels": "6.5.0-alpha.48",
+ "@storybook/client-api": "6.5.0-alpha.48",
+ "@storybook/client-logger": "6.5.0-alpha.48",
+ "@storybook/components": "6.5.0-alpha.48",
+ "@storybook/core-common": "6.5.0-alpha.48",
+ "@storybook/core-events": "6.5.0-alpha.48",
+ "@storybook/node-logger": "6.5.0-alpha.48",
+ "@storybook/preview-web": "6.5.0-alpha.48",
+ "@storybook/router": "6.5.0-alpha.48",
"@storybook/semver": "^7.3.2",
- "@storybook/store": "6.5.0-alpha.42",
- "@storybook/theming": "6.5.0-alpha.42",
- "@storybook/ui": "6.5.0-alpha.42",
+ "@storybook/store": "6.5.0-alpha.48",
+ "@storybook/theming": "6.5.0-alpha.48",
+ "@storybook/ui": "6.5.0-alpha.48",
"@types/node": "^14.0.10 || ^16.0.0",
"@types/webpack": "^4.41.26",
"autoprefixer": "^9.8.6",
"babel-loader": "^8.0.0",
- "babel-plugin-macros": "^2.8.0",
- "babel-plugin-polyfill-corejs3": "^0.1.0",
"case-sensitive-paths-webpack-plugin": "^2.3.0",
"core-js": "^3.8.2",
"css-loader": "^3.6.0",
@@ -113,7 +91,7 @@
"@types/case-sensitive-paths-webpack-plugin": "^2.1.4",
"@types/terser-webpack-plugin": "^4.2.0",
"@types/webpack-dev-middleware": "^3.7.3",
- "@types/webpack-hot-middleware": "^2.25.3",
+ "@types/webpack-hot-middleware": "<=2.25.5",
"@types/webpack-virtual-modules": "^0.1.0"
},
"peerDependencies": {
@@ -128,6 +106,6 @@
"publishConfig": {
"access": "public"
},
- "gitHead": "1477954e18494e721ae8d3c99bc710381eab1351",
+ "gitHead": "5f3afb8cf4389c16be11a6e5099e902d16a82762",
"sbmodern": "dist/modern/index.js"
}
diff --git a/lib/builder-webpack4/src/index.ts b/lib/builder-webpack4/src/index.ts
index 57d8409affcc..2462012e12bf 100644
--- a/lib/builder-webpack4/src/index.ts
+++ b/lib/builder-webpack4/src/index.ts
@@ -4,12 +4,8 @@ import webpackType, { Stats, Configuration } from '@types/webpack';
import webpackDevMiddleware from 'webpack-dev-middleware';
import webpackHotMiddleware from 'webpack-hot-middleware';
import { logger } from '@storybook/node-logger';
-import {
- Builder,
- useProgressReporting,
- checkWebpackVersion,
- Options,
-} from '@storybook/core-common';
+import type { Builder, Options } from '@storybook/core-common';
+import { useProgressReporting, checkWebpackVersion } from '@storybook/core-common';
let compilation: ReturnType;
let reject: (reason?: any) => void;
diff --git a/lib/builder-webpack4/src/presets/custom-webpack-preset.ts b/lib/builder-webpack4/src/presets/custom-webpack-preset.ts
index 8fa76366daa2..e60aa54c1f46 100644
--- a/lib/builder-webpack4/src/presets/custom-webpack-preset.ts
+++ b/lib/builder-webpack4/src/presets/custom-webpack-preset.ts
@@ -1,6 +1,7 @@
import * as webpackReal from 'webpack';
import { logger } from '@storybook/node-logger';
-import { CoreConfig, loadCustomWebpackConfig, Options } from '@storybook/core-common';
+import type { CoreConfig, Options } from '@storybook/core-common';
+import { loadCustomWebpackConfig } from '@storybook/core-common';
import type { Configuration } from 'webpack';
import { createDefaultWebpackConfig } from '../preview/base-webpack.config';
diff --git a/lib/builder-webpack4/src/preview/iframe-webpack.config.ts b/lib/builder-webpack4/src/preview/iframe-webpack.config.ts
index 7e9263e5fda1..66c2fbee4def 100644
--- a/lib/builder-webpack4/src/preview/iframe-webpack.config.ts
+++ b/lib/builder-webpack4/src/preview/iframe-webpack.config.ts
@@ -18,13 +18,12 @@ import {
es6Transpiler,
handlebars,
interpolate,
- Options,
toImportFn,
normalizeStories,
loadPreviewOrConfigFile,
readTemplate,
- CoreConfig,
} from '@storybook/core-common';
+import type { Options, CoreConfig } from '@storybook/core-common';
import { createBabelLoader } from './babel-loader-preview';
import { useBaseTsSupport } from './useBaseTsSupport';
@@ -258,7 +257,7 @@ export default async (options: Options & Record): Promise;
let reject: (reason?: any) => void;
diff --git a/lib/builder-webpack5/src/preview/base-webpack.config.ts b/lib/builder-webpack5/src/preview/base-webpack.config.ts
index e2a7d2c588d5..30cd5d852639 100644
--- a/lib/builder-webpack5/src/preview/base-webpack.config.ts
+++ b/lib/builder-webpack5/src/preview/base-webpack.config.ts
@@ -1,6 +1,6 @@
import { logger } from '@storybook/node-logger';
import type { Options, CoreConfig, Webpack5BuilderConfig } from '@storybook/core-common';
-import { Configuration } from 'webpack';
+import type { Configuration } from 'webpack';
export async function createDefaultWebpackConfig(
storybookBaseConfig: Configuration,
diff --git a/lib/builder-webpack5/src/preview/iframe-webpack.config.ts b/lib/builder-webpack5/src/preview/iframe-webpack.config.ts
index a85f9bd2243d..7d2a18a7bf2e 100644
--- a/lib/builder-webpack5/src/preview/iframe-webpack.config.ts
+++ b/lib/builder-webpack5/src/preview/iframe-webpack.config.ts
@@ -1,11 +1,6 @@
import path from 'path';
-import {
- Configuration,
- DefinePlugin,
- HotModuleReplacementPlugin,
- ProgressPlugin,
- ProvidePlugin,
-} from 'webpack';
+import { DefinePlugin, HotModuleReplacementPlugin, ProgressPlugin, ProvidePlugin } from 'webpack';
+import type { Configuration } from 'webpack';
import HtmlWebpackPlugin from 'html-webpack-plugin';
import CaseSensitivePathsPlugin from 'case-sensitive-paths-webpack-plugin';
import TerserWebpackPlugin from 'terser-webpack-plugin';
@@ -14,18 +9,17 @@ import ForkTsCheckerWebpackPlugin from 'fork-ts-checker-webpack-plugin';
import themingPaths from '@storybook/theming/paths';
+import type { Options, CoreConfig } from '@storybook/core-common';
import {
toRequireContextString,
es6Transpiler,
stringifyProcessEnvs,
handlebars,
interpolate,
- Options,
toImportFn,
normalizeStories,
readTemplate,
loadPreviewOrConfigFile,
- CoreConfig,
} from '@storybook/core-common';
import { createBabelLoader } from './babel-loader-preview';
diff --git a/lib/channel-postmessage/package.json b/lib/channel-postmessage/package.json
index a0515093ad8e..76537b88f1a5 100644
--- a/lib/channel-postmessage/package.json
+++ b/lib/channel-postmessage/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/channel-postmessage",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"description": "",
"keywords": [
"storybook"
@@ -40,9 +40,9 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
- "@storybook/channels": "6.5.0-alpha.42",
- "@storybook/client-logger": "6.5.0-alpha.42",
- "@storybook/core-events": "6.5.0-alpha.42",
+ "@storybook/channels": "6.5.0-alpha.48",
+ "@storybook/client-logger": "6.5.0-alpha.48",
+ "@storybook/core-events": "6.5.0-alpha.48",
"core-js": "^3.8.2",
"global": "^4.4.0",
"qs": "^6.10.0",
@@ -51,6 +51,6 @@
"publishConfig": {
"access": "public"
},
- "gitHead": "1477954e18494e721ae8d3c99bc710381eab1351",
+ "gitHead": "5f3afb8cf4389c16be11a6e5099e902d16a82762",
"sbmodern": "dist/modern/index.js"
}
diff --git a/lib/channel-websocket/package.json b/lib/channel-websocket/package.json
index 7004202a66ef..9e7f443bb755 100644
--- a/lib/channel-websocket/package.json
+++ b/lib/channel-websocket/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/channel-websocket",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"description": "",
"keywords": [
"storybook"
@@ -40,8 +40,8 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
- "@storybook/channels": "6.5.0-alpha.42",
- "@storybook/client-logger": "6.5.0-alpha.42",
+ "@storybook/channels": "6.5.0-alpha.48",
+ "@storybook/client-logger": "6.5.0-alpha.48",
"core-js": "^3.8.2",
"global": "^4.4.0",
"telejson": "^5.3.3"
@@ -49,6 +49,6 @@
"publishConfig": {
"access": "public"
},
- "gitHead": "1477954e18494e721ae8d3c99bc710381eab1351",
+ "gitHead": "5f3afb8cf4389c16be11a6e5099e902d16a82762",
"sbmodern": "dist/modern/index.js"
}
diff --git a/lib/channels/package.json b/lib/channels/package.json
index 73a30722c937..4247059d2006 100644
--- a/lib/channels/package.json
+++ b/lib/channels/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/channels",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"description": "",
"keywords": [
"storybook"
@@ -47,6 +47,6 @@
"publishConfig": {
"access": "public"
},
- "gitHead": "1477954e18494e721ae8d3c99bc710381eab1351",
+ "gitHead": "5f3afb8cf4389c16be11a6e5099e902d16a82762",
"sbmodern": "dist/modern/index.js"
}
diff --git a/lib/cli-sb/package.json b/lib/cli-sb/package.json
index 975e6a99f239..c40ab6e46193 100644
--- a/lib/cli-sb/package.json
+++ b/lib/cli-sb/package.json
@@ -1,6 +1,6 @@
{
"name": "sb",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"description": "Storybook CLI",
"keywords": [
"storybook"
@@ -24,10 +24,10 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
- "@storybook/cli": "6.5.0-alpha.42"
+ "@storybook/cli": "6.5.0-alpha.48"
},
"publishConfig": {
"access": "public"
},
- "gitHead": "1477954e18494e721ae8d3c99bc710381eab1351"
+ "gitHead": "5f3afb8cf4389c16be11a6e5099e902d16a82762"
}
diff --git a/lib/cli-storybook/package.json b/lib/cli-storybook/package.json
index 3b8307dce8a8..7fe9a0cd8705 100644
--- a/lib/cli-storybook/package.json
+++ b/lib/cli-storybook/package.json
@@ -1,6 +1,6 @@
{
"name": "storybook",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"description": "Storybook CLI",
"keywords": [
"storybook"
@@ -27,10 +27,10 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
- "@storybook/cli": "6.5.0-alpha.42"
+ "@storybook/cli": "6.5.0-alpha.48"
},
"publishConfig": {
"access": "public"
},
- "gitHead": "1477954e18494e721ae8d3c99bc710381eab1351"
+ "gitHead": "5f3afb8cf4389c16be11a6e5099e902d16a82762"
}
diff --git a/lib/cli/package.json b/lib/cli/package.json
index e06631a8de4c..06f4e293a03f 100644
--- a/lib/cli/package.json
+++ b/lib/cli/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/cli",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"description": "Storybook's CLI - easiest method of adding storybook to your projects",
"keywords": [
"cli",
@@ -47,10 +47,10 @@
"dependencies": {
"@babel/core": "^7.12.10",
"@babel/preset-env": "^7.12.11",
- "@storybook/codemod": "6.5.0-alpha.42",
- "@storybook/core-common": "6.5.0-alpha.42",
- "@storybook/csf-tools": "6.5.0-alpha.42",
- "@storybook/node-logger": "6.5.0-alpha.42",
+ "@storybook/codemod": "6.5.0-alpha.48",
+ "@storybook/core-common": "6.5.0-alpha.48",
+ "@storybook/csf-tools": "6.5.0-alpha.48",
+ "@storybook/node-logger": "6.5.0-alpha.48",
"@storybook/semver": "^7.3.2",
"boxen": "^5.1.2",
"chalk": "^4.1.0",
@@ -69,13 +69,13 @@
"prompts": "^2.4.0",
"puppeteer-core": "^2.1.1",
"read-pkg-up": "^7.0.1",
- "shelljs": "^0.8.4",
+ "shelljs": "^0.8.5",
"strip-json-comments": "^3.0.1",
"ts-dedent": "^2.0.0",
"update-notifier": "^5.0.1"
},
"devDependencies": {
- "@storybook/client-api": "6.5.0-alpha.42",
+ "@storybook/client-api": "6.5.0-alpha.48",
"@types/cross-spawn": "^6.0.2",
"@types/prompts": "^2.0.9",
"@types/puppeteer-core": "^2.1.0",
@@ -91,5 +91,5 @@
"publishConfig": {
"access": "public"
},
- "gitHead": "1477954e18494e721ae8d3c99bc710381eab1351"
+ "gitHead": "5f3afb8cf4389c16be11a6e5099e902d16a82762"
}
diff --git a/lib/cli/src/frameworks/web-components/js/Page.js b/lib/cli/src/frameworks/web-components/js/Page.js
index e6c5181fe36e..53f0abd78473 100644
--- a/lib/cli/src/frameworks/web-components/js/Page.js
+++ b/lib/cli/src/frameworks/web-components/js/Page.js
@@ -43,8 +43,8 @@ export const Page = ({ user, onLogin, onLogout, onCreateAccount }) => html`
docs
.
-
-
Tip Adjust the width of the canvas with the
+
+
Tip Adjust the width of the canvas with the
docs
.
-
-
Tip Adjust the width of the canvas with the
+
+
Tip Adjust the width of the canvas with the
{
diff --git a/lib/client-api/src/ClientApi.ts b/lib/client-api/src/ClientApi.ts
index bcd0d321c816..7f635c0fbcb8 100644
--- a/lib/client-api/src/ClientApi.ts
+++ b/lib/client-api/src/ClientApi.ts
@@ -2,32 +2,25 @@ import deprecate from 'util-deprecate';
import dedent from 'ts-dedent';
import global from 'global';
import { logger } from '@storybook/client-logger';
-import {
+import { toId, sanitize } from '@storybook/csf';
+import type {
Args,
ArgTypes,
AnyFramework,
- toId,
DecoratorFunction,
Parameters,
ArgTypesEnhancer,
ArgsEnhancer,
LoaderFunction,
StoryFn,
- sanitize,
ComponentTitle,
Globals,
GlobalTypes,
LegacyStoryFn,
} from '@storybook/csf';
-import {
- NormalizedComponentAnnotations,
- Path,
- ModuleImportFn,
- combineParameters,
- StoryStore,
- normalizeInputTypes,
-} from '@storybook/store';
-import { ClientApiAddons, StoryApi } from '@storybook/addons';
+import { combineParameters, StoryStore, normalizeInputTypes } from '@storybook/store';
+import type { NormalizedComponentAnnotations, Path, ModuleImportFn } from '@storybook/store';
+import type { ClientApiAddons, StoryApi } from '@storybook/addons';
import { StoryStoreFacade } from './StoryStoreFacade';
diff --git a/lib/client-api/src/StoryStoreFacade.ts b/lib/client-api/src/StoryStoreFacade.ts
index 1a3b5bacec5d..60d3c7bb9516 100644
--- a/lib/client-api/src/StoryStoreFacade.ts
+++ b/lib/client-api/src/StoryStoreFacade.ts
@@ -1,25 +1,16 @@
import global from 'global';
import dedent from 'ts-dedent';
import { SynchronousPromise } from 'synchronous-promise';
-import {
- StoryId,
- AnyFramework,
- toId,
- isExportStory,
- Parameters,
- StoryFn,
- storyNameFromExport,
-} from '@storybook/csf';
-import {
+import { toId, isExportStory, storyNameFromExport } from '@storybook/csf';
+import type { StoryId, AnyFramework, Parameters, StoryFn } from '@storybook/csf';
+import { StoryStore, autoTitle, sortStoriesV6 } from '@storybook/store';
+import type {
NormalizedProjectAnnotations,
NormalizedStoriesSpecifier,
Path,
StoryIndex,
ModuleExports,
- StoryStore,
Story,
- autoTitle,
- sortStoriesV6,
StoryIndexEntry,
} from '@storybook/store';
import { logger } from '@storybook/client-logger';
diff --git a/lib/client-api/src/types.ts b/lib/client-api/src/types.ts
index fa4350c92f82..25934b585c82 100644
--- a/lib/client-api/src/types.ts
+++ b/lib/client-api/src/types.ts
@@ -1,4 +1,4 @@
-import {
+import type {
Addon,
StoryId,
StoryName,
@@ -14,7 +14,8 @@ import {
StoryContext,
} from '@storybook/addons';
import { AnyFramework, StoryIdentifier, ProjectAnnotations } from '@storybook/csf';
-import { StoryStore, HooksContext, RenderContext } from '@storybook/store';
+import type { RenderContext } from '@storybook/store';
+import { StoryStore, HooksContext } from '@storybook/store';
export type {
SBType,
diff --git a/lib/client-logger/package.json b/lib/client-logger/package.json
index f785ce71380e..5b3670888a52 100644
--- a/lib/client-logger/package.json
+++ b/lib/client-logger/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/client-logger",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"description": "",
"keywords": [
"storybook"
@@ -46,6 +46,6 @@
"publishConfig": {
"access": "public"
},
- "gitHead": "1477954e18494e721ae8d3c99bc710381eab1351",
+ "gitHead": "5f3afb8cf4389c16be11a6e5099e902d16a82762",
"sbmodern": "dist/modern/index.js"
}
diff --git a/lib/codemod/package.json b/lib/codemod/package.json
index ef55f74a9afb..723e4c33a65b 100644
--- a/lib/codemod/package.json
+++ b/lib/codemod/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/codemod",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"description": "A collection of codemod scripts written with JSCodeshift",
"keywords": [
"storybook"
@@ -44,8 +44,8 @@
"@babel/types": "^7.12.11",
"@mdx-js/mdx": "^1.6.22",
"@storybook/csf": "0.0.2--canary.87bc651.0",
- "@storybook/csf-tools": "6.5.0-alpha.42",
- "@storybook/node-logger": "6.5.0-alpha.42",
+ "@storybook/csf-tools": "6.5.0-alpha.48",
+ "@storybook/node-logger": "6.5.0-alpha.48",
"core-js": "^3.8.2",
"cross-spawn": "^7.0.3",
"globby": "^11.0.2",
@@ -62,6 +62,6 @@
"publishConfig": {
"access": "public"
},
- "gitHead": "1477954e18494e721ae8d3c99bc710381eab1351",
+ "gitHead": "5f3afb8cf4389c16be11a6e5099e902d16a82762",
"sbmodern": "dist/modern/index.js"
}
diff --git a/lib/components/package.json b/lib/components/package.json
index a301392b32c3..334922d8a7f4 100644
--- a/lib/components/package.json
+++ b/lib/components/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/components",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"description": "Core Storybook Components",
"keywords": [
"storybook"
@@ -40,9 +40,9 @@
"prepare": "ts-node ../../scripts/prebundle.ts"
},
"dependencies": {
- "@storybook/client-logger": "6.5.0-alpha.42",
+ "@storybook/client-logger": "6.5.0-alpha.48",
"@storybook/csf": "0.0.2--canary.87bc651.0",
- "@storybook/theming": "6.5.0-alpha.42",
+ "@storybook/theming": "6.5.0-alpha.48",
"core-js": "^3.8.2",
"regenerator-runtime": "^0.13.7"
},
@@ -79,6 +79,6 @@
"access": "public"
},
"bundlerEntrypoint": "./src/index.ts",
- "gitHead": "1477954e18494e721ae8d3c99bc710381eab1351",
+ "gitHead": "5f3afb8cf4389c16be11a6e5099e902d16a82762",
"sbmodern": "dist/modern/index.js"
}
diff --git a/lib/components/src/ScrollArea/GlobalScrollAreaStyles.tsx b/lib/components/src/ScrollArea/GlobalScrollAreaStyles.tsx
index 6c7d0d26103a..53cd4cac6708 100644
--- a/lib/components/src/ScrollArea/GlobalScrollAreaStyles.tsx
+++ b/lib/components/src/ScrollArea/GlobalScrollAreaStyles.tsx
@@ -1,5 +1,6 @@
import React from 'react';
-import { Global, Theme, CSSObject, keyframes } from '@storybook/theming';
+import { Global, keyframes } from '@storybook/theming';
+import type { Theme, CSSObject } from '@storybook/theming';
const hsResizeObserverDummyAnimation = keyframes`0%{z-index:0}to{z-index:-1}`;
diff --git a/lib/components/src/controls/options/Select.tsx b/lib/components/src/controls/options/Select.tsx
index 557fb7289b34..44edefa72d5e 100644
--- a/lib/components/src/controls/options/Select.tsx
+++ b/lib/components/src/controls/options/Select.tsx
@@ -1,5 +1,6 @@
import React, { FC, ChangeEvent } from 'react';
-import { styled, CSSObject } from '@storybook/theming';
+import { styled } from '@storybook/theming';
+import type { CSSObject } from '@storybook/theming';
import { logger } from '@storybook/client-logger';
import { ControlProps, OptionsSelection, NormalizedOptionsConfig } from '../types';
import { selectedKey, selectedKeys, selectedValues } from './helpers';
diff --git a/lib/components/src/form/input/input.tsx b/lib/components/src/form/input/input.tsx
index a277dd7546c3..50c563fec2a2 100644
--- a/lib/components/src/form/input/input.tsx
+++ b/lib/components/src/form/input/input.tsx
@@ -1,5 +1,6 @@
import React, { FunctionComponent, forwardRef, HTMLProps, SelectHTMLAttributes } from 'react';
-import { styled, Theme, CSSObject } from '@storybook/theming';
+import type { Theme, CSSObject } from '@storybook/theming';
+import { styled } from '@storybook/theming';
import TextareaAutoResize, { TextareaAutosizeProps } from 'react-textarea-autosize';
diff --git a/lib/core-client/package.json b/lib/core-client/package.json
index 04a4b64a211e..8722f8f48ca6 100644
--- a/lib/core-client/package.json
+++ b/lib/core-client/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/core-client",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"description": "Storybook framework-agnostic API",
"keywords": [
"storybook"
@@ -40,16 +40,16 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
- "@storybook/addons": "6.5.0-alpha.42",
- "@storybook/channel-postmessage": "6.5.0-alpha.42",
- "@storybook/channel-websocket": "6.5.0-alpha.42",
- "@storybook/client-api": "6.5.0-alpha.42",
- "@storybook/client-logger": "6.5.0-alpha.42",
- "@storybook/core-events": "6.5.0-alpha.42",
+ "@storybook/addons": "6.5.0-alpha.48",
+ "@storybook/channel-postmessage": "6.5.0-alpha.48",
+ "@storybook/channel-websocket": "6.5.0-alpha.48",
+ "@storybook/client-api": "6.5.0-alpha.48",
+ "@storybook/client-logger": "6.5.0-alpha.48",
+ "@storybook/core-events": "6.5.0-alpha.48",
"@storybook/csf": "0.0.2--canary.87bc651.0",
- "@storybook/preview-web": "6.5.0-alpha.42",
- "@storybook/store": "6.5.0-alpha.42",
- "@storybook/ui": "6.5.0-alpha.42",
+ "@storybook/preview-web": "6.5.0-alpha.48",
+ "@storybook/store": "6.5.0-alpha.48",
+ "@storybook/ui": "6.5.0-alpha.48",
"airbnb-js-shims": "^2.2.1",
"ansi-to-html": "^0.6.11",
"core-js": "^3.8.2",
@@ -74,6 +74,6 @@
"publishConfig": {
"access": "public"
},
- "gitHead": "1477954e18494e721ae8d3c99bc710381eab1351",
+ "gitHead": "5f3afb8cf4389c16be11a6e5099e902d16a82762",
"sbmodern": "dist/modern/index.js"
}
diff --git a/lib/core-client/src/manager/provider.ts b/lib/core-client/src/manager/provider.ts
index e5d44f6df2cb..851b53ee8b1b 100644
--- a/lib/core-client/src/manager/provider.ts
+++ b/lib/core-client/src/manager/provider.ts
@@ -1,6 +1,7 @@
import global from 'global';
import { Provider } from '@storybook/ui';
-import { addons, AddonStore, Channel, Config, Types } from '@storybook/addons';
+import { addons, AddonStore, Channel } from '@storybook/addons';
+import type { Config, Types } from '@storybook/addons';
import createPostMessageChannel from '@storybook/channel-postmessage';
import createWebSocketChannel from '@storybook/channel-websocket';
import Events from '@storybook/core-events';
diff --git a/lib/core-client/src/preview/start.test.ts b/lib/core-client/src/preview/start.test.ts
index 1599bd670602..48fc6f35aba7 100644
--- a/lib/core-client/src/preview/start.test.ts
+++ b/lib/core-client/src/preview/start.test.ts
@@ -4,13 +4,17 @@ import Events from '@storybook/core-events';
import {
waitForRender,
waitForEvents,
+ waitForQuiescence,
emitter,
mockChannel,
} from '@storybook/preview-web/dist/cjs/PreviewWeb.mockdata';
+// @ts-ignore
+import { WebView } from '@storybook/preview-web/dist/cjs/WebView';
import { start } from './start';
jest.mock('@storybook/preview-web/dist/cjs/WebView');
+jest.spyOn(WebView.prototype, 'prepareForDocs').mockReturnValue('docs-root');
jest.mock('global', () => ({
// @ts-ignore
@@ -202,6 +206,9 @@ describe('start', () => {
"v": 2,
}
`);
+
+ // Wait a second to let the docs "render" finish (and maybe throw)
+ await waitForQuiescence();
});
it('deals with stories with "default" name', async () => {
diff --git a/lib/core-client/src/preview/start.ts b/lib/core-client/src/preview/start.ts
index 4cb518bac437..8ce0ec1810a2 100644
--- a/lib/core-client/src/preview/start.ts
+++ b/lib/core-client/src/preview/start.ts
@@ -1,12 +1,13 @@
import global from 'global';
import deprecate from 'util-deprecate';
import { ClientApi } from '@storybook/client-api';
-import { WebProjectAnnotations, PreviewWeb } from '@storybook/preview-web';
-import { AnyFramework, ArgsStoryFn } from '@storybook/csf';
+import { PreviewWeb } from '@storybook/preview-web';
+import type { WebProjectAnnotations } from '@storybook/preview-web';
+import type { AnyFramework, ArgsStoryFn } from '@storybook/csf';
import createChannel from '@storybook/channel-postmessage';
import { addons } from '@storybook/addons';
import Events from '@storybook/core-events';
-import { Path } from '@storybook/store';
+import type { Path } from '@storybook/store';
import { Loadable } from './types';
import { executeLoadableForChanges } from './executeLoadable';
diff --git a/lib/core-client/src/typings.d.ts b/lib/core-client/src/typings.d.ts
index 36c5563dbbce..0a7386c391b9 100644
--- a/lib/core-client/src/typings.d.ts
+++ b/lib/core-client/src/typings.d.ts
@@ -3,7 +3,6 @@ declare module '@storybook/semver';
declare module 'unfetch/dist/unfetch';
declare module 'lazy-universal-dotenv';
declare module 'pnp-webpack-plugin';
-declare module '@storybook/theming/paths';
declare module '@storybook/ui/paths';
declare module 'better-opn';
declare module 'open';
diff --git a/lib/core-common/package.json b/lib/core-common/package.json
index b6fafac5ceb6..ae599536055d 100644
--- a/lib/core-common/package.json
+++ b/lib/core-common/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/core-common",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"description": "Storybook framework-agnostic API",
"keywords": [
"storybook"
@@ -62,7 +62,7 @@
"@babel/preset-react": "^7.12.10",
"@babel/preset-typescript": "^7.12.7",
"@babel/register": "^7.12.1",
- "@storybook/node-logger": "6.5.0-alpha.42",
+ "@storybook/node-logger": "6.5.0-alpha.48",
"@storybook/semver": "^7.3.2",
"@types/node": "^14.0.10 || ^16.0.0",
"@types/pretty-hrtime": "^1.0.0",
@@ -111,6 +111,6 @@
"publishConfig": {
"access": "public"
},
- "gitHead": "1477954e18494e721ae8d3c99bc710381eab1351",
+ "gitHead": "5f3afb8cf4389c16be11a6e5099e902d16a82762",
"sbmodern": "dist/modern/index.js"
}
diff --git a/lib/core-common/src/types.ts b/lib/core-common/src/types.ts
index 94155d56c345..371878343cb5 100644
--- a/lib/core-common/src/types.ts
+++ b/lib/core-common/src/types.ts
@@ -1,8 +1,8 @@
import type ForkTsCheckerWebpackPlugin from 'fork-ts-checker-webpack-plugin';
import type { Options as TelejsonOptions } from 'telejson';
import type { PluginOptions } from '@storybook/react-docgen-typescript-plugin';
-import { Configuration, Stats } from 'webpack';
-import { TransformOptions } from '@babel/core';
+import type { Configuration, Stats } from 'webpack';
+import type { TransformOptions } from '@babel/core';
import { Router } from 'express';
import { Server } from 'http';
import { FileSystemCache } from './utils/file-cache';
@@ -317,12 +317,12 @@ export interface StorybookConfig {
logLevel?: string;
features?: {
/**
- * Allows to disable deprecated implicit PostCSS loader.
+ * Allows to disable deprecated implicit PostCSS loader. (will be removed in 7.0)
*/
postcss?: boolean;
/**
- * Allows to disable deprecated implicit PostCSS loader.
+ * Allows to disable emotion webpack alias for emotion packages. (will be removed in 7.0)
*/
emotionAlias?: boolean;
@@ -373,6 +373,11 @@ export interface StorybookConfig {
* Will be removed in 7.0.
*/
warnOnLegacyHierarchySeparator?: boolean;
+
+ /**
+ * Preview MDX2 support, will become default in 7.0
+ */
+ previewMdx2?: boolean;
};
/**
diff --git a/lib/core-common/src/utils/__tests__/merge-webpack-config.test.ts b/lib/core-common/src/utils/__tests__/merge-webpack-config.test.ts
index 748bc4e1f214..38aa0ee035aa 100644
--- a/lib/core-common/src/utils/__tests__/merge-webpack-config.test.ts
+++ b/lib/core-common/src/utils/__tests__/merge-webpack-config.test.ts
@@ -1,4 +1,4 @@
-import { Configuration } from 'webpack';
+import type { Configuration } from 'webpack';
import { mergeConfigs } from '../merge-webpack-config';
const config: Configuration = {
diff --git a/lib/core-common/src/utils/merge-webpack-config.ts b/lib/core-common/src/utils/merge-webpack-config.ts
index 96856bb57b52..92c41a16f787 100644
--- a/lib/core-common/src/utils/merge-webpack-config.ts
+++ b/lib/core-common/src/utils/merge-webpack-config.ts
@@ -1,4 +1,4 @@
-import { Configuration } from 'webpack';
+import type { Configuration } from 'webpack';
function plugins(
{ plugins: defaultPlugins = [] }: Configuration,
diff --git a/lib/core-events/package.json b/lib/core-events/package.json
index feca0735a8e0..7e4317cc9c67 100644
--- a/lib/core-events/package.json
+++ b/lib/core-events/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/core-events",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"description": "Event names used in storybook core",
"keywords": [
"storybook"
@@ -45,6 +45,6 @@
"publishConfig": {
"access": "public"
},
- "gitHead": "1477954e18494e721ae8d3c99bc710381eab1351",
+ "gitHead": "5f3afb8cf4389c16be11a6e5099e902d16a82762",
"sbmodern": "dist/modern/index.js"
}
diff --git a/lib/core-server/package.json b/lib/core-server/package.json
index 49d953a8cf06..964ac67a09f2 100644
--- a/lib/core-server/package.json
+++ b/lib/core-server/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/core-server",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"description": "Storybook framework-agnostic API",
"keywords": [
"storybook"
@@ -40,16 +40,16 @@
},
"dependencies": {
"@discoveryjs/json-ext": "^0.5.3",
- "@storybook/builder-webpack4": "6.5.0-alpha.42",
- "@storybook/core-client": "6.5.0-alpha.42",
- "@storybook/core-common": "6.5.0-alpha.42",
- "@storybook/core-events": "6.5.0-alpha.42",
+ "@storybook/builder-webpack4": "6.5.0-alpha.48",
+ "@storybook/core-client": "6.5.0-alpha.48",
+ "@storybook/core-common": "6.5.0-alpha.48",
+ "@storybook/core-events": "6.5.0-alpha.48",
"@storybook/csf": "0.0.2--canary.87bc651.0",
- "@storybook/csf-tools": "6.5.0-alpha.42",
- "@storybook/manager-webpack4": "6.5.0-alpha.42",
- "@storybook/node-logger": "6.5.0-alpha.42",
+ "@storybook/csf-tools": "6.5.0-alpha.48",
+ "@storybook/manager-webpack4": "6.5.0-alpha.48",
+ "@storybook/node-logger": "6.5.0-alpha.48",
"@storybook/semver": "^7.3.2",
- "@storybook/store": "6.5.0-alpha.42",
+ "@storybook/store": "6.5.0-alpha.48",
"@types/node": "^14.0.10 || ^16.0.0",
"@types/node-fetch": "^2.5.7",
"@types/pretty-hrtime": "^1.0.0",
@@ -65,6 +65,7 @@
"detect-port": "^1.3.0",
"express": "^4.17.1",
"fs-extra": "^9.0.1",
+ "global": "^4.4.0",
"globby": "^11.0.2",
"ip": "^1.1.5",
"lodash": "^4.17.21",
@@ -84,7 +85,7 @@
"x-default-browser": "^0.4.0"
},
"devDependencies": {
- "@storybook/builder-webpack5": "6.5.0-alpha.42",
+ "@storybook/builder-webpack5": "6.5.0-alpha.48",
"@types/compression": "^1.7.0",
"@types/ip": "^1.1.0",
"@types/serve-favicon": "^2.5.2",
@@ -109,6 +110,6 @@
"publishConfig": {
"access": "public"
},
- "gitHead": "1477954e18494e721ae8d3c99bc710381eab1351",
+ "gitHead": "5f3afb8cf4389c16be11a6e5099e902d16a82762",
"sbmodern": "dist/modern/index.js"
}
diff --git a/lib/core-server/src/__snapshots__/cra-ts-essentials_manager-dev-posix b/lib/core-server/src/__snapshots__/cra-ts-essentials_manager-dev-posix
index 33b3a2b90ae8..51e1c74a02fa 100644
--- a/lib/core-server/src/__snapshots__/cra-ts-essentials_manager-dev-posix
+++ b/lib/core-server/src/__snapshots__/cra-ts-essentials_manager-dev-posix
@@ -6,7 +6,7 @@ Object {
"NODE_MODULES/@storybook/addon-ie11/dist/event-source-polyfill.js",
"ROOT/lib/core-client/dist/esm/globals/polyfills.js",
"ROOT/lib/core-client/dist/esm/manager/index.js",
- "ROOT/addons/docs/dist/esm/register.js",
+ "ROOT/addons/docs/dist/esm/register",
"ROOT/addons/controls/dist/esm/register.js",
"ROOT/addons/actions/dist/esm/register.js",
"ROOT/addons/backgrounds/dist/esm/register.js",
diff --git a/lib/core-server/src/__snapshots__/cra-ts-essentials_manager-prod-posix b/lib/core-server/src/__snapshots__/cra-ts-essentials_manager-prod-posix
index 6fbcb3d087af..28bb2d32108b 100644
--- a/lib/core-server/src/__snapshots__/cra-ts-essentials_manager-prod-posix
+++ b/lib/core-server/src/__snapshots__/cra-ts-essentials_manager-prod-posix
@@ -6,7 +6,7 @@ Object {
"NODE_MODULES/@storybook/addon-ie11/dist/event-source-polyfill.js",
"ROOT/lib/core-client/dist/esm/globals/polyfills.js",
"ROOT/lib/core-client/dist/esm/manager/index.js",
- "ROOT/addons/docs/dist/esm/register.js",
+ "ROOT/addons/docs/dist/esm/register",
"ROOT/addons/controls/dist/esm/register.js",
"ROOT/addons/actions/dist/esm/register.js",
"ROOT/addons/backgrounds/dist/esm/register.js",
diff --git a/lib/core-server/src/__snapshots__/cra-ts-essentials_preview-dev-posix b/lib/core-server/src/__snapshots__/cra-ts-essentials_preview-dev-posix
index cd15e7ba14fb..c0f5cd0feded 100644
--- a/lib/core-server/src/__snapshots__/cra-ts-essentials_preview-dev-posix
+++ b/lib/core-server/src/__snapshots__/cra-ts-essentials_preview-dev-posix
@@ -8,8 +8,8 @@ Object {
"NODE_MODULES/webpack-hot-middleware/client.js?reload=true&quiet=false&noInfo=undefined",
"NODE_MODULES/@storybook/addon-ie11/dist/event-source-polyfill.js",
"ROOT/storybook-init-framework-entry.js",
- "ROOT/addons/docs/dist/esm/frameworks/common/config.js-generated-config-entry.js",
- "ROOT/addons/docs/dist/esm/frameworks/react/config.js-generated-config-entry.js",
+ "ROOT/addons/docs/dist/esm/frameworks/common/config-generated-config-entry.js",
+ "ROOT/app/react/dist/esm/client/docs/config-generated-config-entry.js",
"ROOT/app/react/dist/esm/client/preview/config-generated-config-entry.js",
"ROOT/addons/actions/dist/esm/preset/addDecorator.js-generated-config-entry.js",
"ROOT/addons/actions/dist/esm/preset/addArgs.js-generated-config-entry.js",
@@ -86,7 +86,7 @@ Object {
"babelrc": false,
"cacheCompression": false,
"cacheDirectory": true,
- "cacheIdentifier": "development:babel-plugin-named-asset-import@0.3.8:babel-preset-react-app@10.0.1:react-dev-utils@11.0.4:react-scripts@4.0.3",
+ "cacheIdentifier": "development:babel-plugin-named-asset-import@:babel-preset-react-app@10.0.1:react-dev-utils@11.0.4:react-scripts@4.0.3",
"compact": false,
"configFile": false,
"customize": "NODE_MODULES/babel-preset-react-app/webpack-overrides.js",
@@ -147,7 +147,7 @@ Object {
"babelrc": false,
"cacheCompression": false,
"cacheDirectory": true,
- "cacheIdentifier": "development:babel-plugin-named-asset-import@0.3.8:babel-preset-react-app@10.0.1:react-dev-utils@11.0.4:react-scripts@4.0.3",
+ "cacheIdentifier": "development:babel-plugin-named-asset-import@:babel-preset-react-app@10.0.1:react-dev-utils@11.0.4:react-scripts@4.0.3",
"compact": false,
"configFile": false,
"inputSourceMap": true,
@@ -388,16 +388,7 @@ Object {
},
},
Object {
- "loader": "NODE_MODULES/@mdx-js/loader/index.js",
- "options": Object {
- "compilers": Array [
- [Function],
- ],
- "remarkPlugins": Array [
- [Function],
- [Function],
- ],
- },
+ "loader": "NODE_MODULES/@storybook/mdx1-csf/loader.js",
},
],
},
@@ -447,12 +438,13 @@ Object {
},
},
Object {
- "loader": "NODE_MODULES/@mdx-js/loader/index.js",
+ "loader": "NODE_MODULES/@storybook/mdx1-csf/loader.js",
"options": Object {
"remarkPlugins": Array [
[Function],
[Function],
],
+ "skipCsf": true,
},
},
],
diff --git a/lib/core-server/src/__snapshots__/cra-ts-essentials_preview-prod-posix b/lib/core-server/src/__snapshots__/cra-ts-essentials_preview-prod-posix
index cd534e773ec8..e6371f7c088e 100644
--- a/lib/core-server/src/__snapshots__/cra-ts-essentials_preview-prod-posix
+++ b/lib/core-server/src/__snapshots__/cra-ts-essentials_preview-prod-posix
@@ -7,8 +7,8 @@ Object {
"ROOT/lib/core-client/dist/esm/globals/globals.js",
"NODE_MODULES/@storybook/addon-ie11/dist/event-source-polyfill.js",
"ROOT/storybook-init-framework-entry.js",
- "ROOT/addons/docs/dist/esm/frameworks/common/config.js-generated-config-entry.js",
- "ROOT/addons/docs/dist/esm/frameworks/react/config.js-generated-config-entry.js",
+ "ROOT/addons/docs/dist/esm/frameworks/common/config-generated-config-entry.js",
+ "ROOT/app/react/dist/esm/client/docs/config-generated-config-entry.js",
"ROOT/app/react/dist/esm/client/preview/config-generated-config-entry.js",
"ROOT/addons/actions/dist/esm/preset/addDecorator.js-generated-config-entry.js",
"ROOT/addons/actions/dist/esm/preset/addArgs.js-generated-config-entry.js",
@@ -85,7 +85,7 @@ Object {
"babelrc": false,
"cacheCompression": false,
"cacheDirectory": true,
- "cacheIdentifier": "production:babel-plugin-named-asset-import@0.3.8:babel-preset-react-app@10.0.1:react-dev-utils@11.0.4:react-scripts@4.0.3",
+ "cacheIdentifier": "production:babel-plugin-named-asset-import@:babel-preset-react-app@10.0.1:react-dev-utils@11.0.4:react-scripts@4.0.3",
"compact": true,
"configFile": false,
"customize": "NODE_MODULES/babel-preset-react-app/webpack-overrides.js",
@@ -145,7 +145,7 @@ Object {
"babelrc": false,
"cacheCompression": false,
"cacheDirectory": true,
- "cacheIdentifier": "production:babel-plugin-named-asset-import@0.3.8:babel-preset-react-app@10.0.1:react-dev-utils@11.0.4:react-scripts@4.0.3",
+ "cacheIdentifier": "production:babel-plugin-named-asset-import@:babel-preset-react-app@10.0.1:react-dev-utils@11.0.4:react-scripts@4.0.3",
"compact": false,
"configFile": false,
"inputSourceMap": true,
@@ -406,16 +406,7 @@ Object {
},
},
Object {
- "loader": "NODE_MODULES/@mdx-js/loader/index.js",
- "options": Object {
- "compilers": Array [
- [Function],
- ],
- "remarkPlugins": Array [
- [Function],
- [Function],
- ],
- },
+ "loader": "NODE_MODULES/@storybook/mdx1-csf/loader.js",
},
],
},
@@ -465,12 +456,13 @@ Object {
},
},
Object {
- "loader": "NODE_MODULES/@mdx-js/loader/index.js",
+ "loader": "NODE_MODULES/@storybook/mdx1-csf/loader.js",
"options": Object {
"remarkPlugins": Array [
[Function],
[Function],
],
+ "skipCsf": true,
},
},
],
diff --git a/lib/core-server/src/__snapshots__/html-kitchen-sink_manager-dev-posix b/lib/core-server/src/__snapshots__/html-kitchen-sink_manager-dev-posix
index af9a49f22ed7..b0b601e85c6a 100644
--- a/lib/core-server/src/__snapshots__/html-kitchen-sink_manager-dev-posix
+++ b/lib/core-server/src/__snapshots__/html-kitchen-sink_manager-dev-posix
@@ -5,7 +5,7 @@ Object {
"entry": Array [
"ROOT/lib/core-client/dist/esm/globals/polyfills.js",
"ROOT/lib/core-client/dist/esm/manager/index.js",
- "ROOT/addons/docs/dist/esm/register.js",
+ "ROOT/addons/docs/dist/esm/register",
"ROOT/addons/a11y/dist/esm/register.js",
"ROOT/addons/actions/dist/esm/register.js",
"ROOT/addons/backgrounds/dist/esm/register.js",
diff --git a/lib/core-server/src/__snapshots__/html-kitchen-sink_manager-prod-posix b/lib/core-server/src/__snapshots__/html-kitchen-sink_manager-prod-posix
index 8f50e4fbc06d..6b9d055e21bd 100644
--- a/lib/core-server/src/__snapshots__/html-kitchen-sink_manager-prod-posix
+++ b/lib/core-server/src/__snapshots__/html-kitchen-sink_manager-prod-posix
@@ -5,7 +5,7 @@ Object {
"entry": Array [
"ROOT/lib/core-client/dist/esm/globals/polyfills.js",
"ROOT/lib/core-client/dist/esm/manager/index.js",
- "ROOT/addons/docs/dist/esm/register.js",
+ "ROOT/addons/docs/dist/esm/register",
"ROOT/addons/a11y/dist/esm/register.js",
"ROOT/addons/actions/dist/esm/register.js",
"ROOT/addons/backgrounds/dist/esm/register.js",
diff --git a/lib/core-server/src/__snapshots__/html-kitchen-sink_preview-dev-posix b/lib/core-server/src/__snapshots__/html-kitchen-sink_preview-dev-posix
index aff095b58031..97d781a3de9f 100644
--- a/lib/core-server/src/__snapshots__/html-kitchen-sink_preview-dev-posix
+++ b/lib/core-server/src/__snapshots__/html-kitchen-sink_preview-dev-posix
@@ -7,9 +7,9 @@ Object {
"ROOT/lib/core-client/dist/esm/globals/globals.js",
"NODE_MODULES/webpack-hot-middleware/client.js?reload=true&quiet=false&noInfo=undefined",
"ROOT/storybook-init-framework-entry.js",
- "ROOT/addons/docs/dist/esm/frameworks/common/config.js-generated-config-entry.js",
- "ROOT/addons/docs/dist/esm/frameworks/html/config.js-generated-config-entry.js",
+ "ROOT/addons/docs/dist/esm/frameworks/common/config-generated-config-entry.js",
"ROOT/app/html/dist/esm/client/preview/config-generated-config-entry.js",
+ "ROOT/app/html/dist/esm/client/docs/config-generated-config-entry.js",
"ROOT/addons/a11y/dist/esm/a11yRunner.js-generated-config-entry.js",
"ROOT/addons/a11y/dist/esm/a11yHighlight.js-generated-config-entry.js",
"ROOT/addons/actions/dist/esm/preset/addDecorator.js-generated-config-entry.js",
@@ -310,16 +310,7 @@ Object {
},
},
Object {
- "loader": "NODE_MODULES/@mdx-js/loader/index.js",
- "options": Object {
- "compilers": Array [
- [Function],
- ],
- "remarkPlugins": Array [
- [Function],
- [Function],
- ],
- },
+ "loader": "NODE_MODULES/@storybook/mdx1-csf/loader.js",
},
],
},
@@ -408,12 +399,13 @@ Object {
},
},
Object {
- "loader": "NODE_MODULES/@mdx-js/loader/index.js",
+ "loader": "NODE_MODULES/@storybook/mdx1-csf/loader.js",
"options": Object {
"remarkPlugins": Array [
[Function],
[Function],
],
+ "skipCsf": true,
},
},
],
diff --git a/lib/core-server/src/__snapshots__/html-kitchen-sink_preview-prod-posix b/lib/core-server/src/__snapshots__/html-kitchen-sink_preview-prod-posix
index dc35e6afd9c6..b70aaf539387 100644
--- a/lib/core-server/src/__snapshots__/html-kitchen-sink_preview-prod-posix
+++ b/lib/core-server/src/__snapshots__/html-kitchen-sink_preview-prod-posix
@@ -6,9 +6,9 @@ Object {
"ROOT/lib/core-client/dist/esm/globals/polyfills.js",
"ROOT/lib/core-client/dist/esm/globals/globals.js",
"ROOT/storybook-init-framework-entry.js",
- "ROOT/addons/docs/dist/esm/frameworks/common/config.js-generated-config-entry.js",
- "ROOT/addons/docs/dist/esm/frameworks/html/config.js-generated-config-entry.js",
+ "ROOT/addons/docs/dist/esm/frameworks/common/config-generated-config-entry.js",
"ROOT/app/html/dist/esm/client/preview/config-generated-config-entry.js",
+ "ROOT/app/html/dist/esm/client/docs/config-generated-config-entry.js",
"ROOT/addons/a11y/dist/esm/a11yRunner.js-generated-config-entry.js",
"ROOT/addons/a11y/dist/esm/a11yHighlight.js-generated-config-entry.js",
"ROOT/addons/actions/dist/esm/preset/addDecorator.js-generated-config-entry.js",
@@ -309,16 +309,7 @@ Object {
},
},
Object {
- "loader": "NODE_MODULES/@mdx-js/loader/index.js",
- "options": Object {
- "compilers": Array [
- [Function],
- ],
- "remarkPlugins": Array [
- [Function],
- [Function],
- ],
- },
+ "loader": "NODE_MODULES/@storybook/mdx1-csf/loader.js",
},
],
},
@@ -407,12 +398,13 @@ Object {
},
},
Object {
- "loader": "NODE_MODULES/@mdx-js/loader/index.js",
+ "loader": "NODE_MODULES/@storybook/mdx1-csf/loader.js",
"options": Object {
"remarkPlugins": Array [
[Function],
[Function],
],
+ "skipCsf": true,
},
},
],
diff --git a/lib/core-server/src/__snapshots__/vue-3-cli_manager-dev-posix b/lib/core-server/src/__snapshots__/vue-3-cli_manager-dev-posix
index ff3201dcc1bb..891dad8796c8 100644
--- a/lib/core-server/src/__snapshots__/vue-3-cli_manager-dev-posix
+++ b/lib/core-server/src/__snapshots__/vue-3-cli_manager-dev-posix
@@ -6,7 +6,7 @@ Object {
"ROOT/lib/core-client/dist/esm/globals/polyfills.js",
"ROOT/lib/core-client/dist/esm/manager/index.js",
"ROOT/addons/links/dist/esm/register.js",
- "ROOT/addons/docs/dist/esm/register.js",
+ "ROOT/addons/docs/dist/esm/register",
"ROOT/addons/controls/dist/esm/register.js",
"ROOT/addons/actions/dist/esm/register.js",
"ROOT/addons/backgrounds/dist/esm/register.js",
diff --git a/lib/core-server/src/__snapshots__/vue-3-cli_manager-prod-posix b/lib/core-server/src/__snapshots__/vue-3-cli_manager-prod-posix
index d5cc7d3c6f28..99eb742814ca 100644
--- a/lib/core-server/src/__snapshots__/vue-3-cli_manager-prod-posix
+++ b/lib/core-server/src/__snapshots__/vue-3-cli_manager-prod-posix
@@ -6,7 +6,7 @@ Object {
"ROOT/lib/core-client/dist/esm/globals/polyfills.js",
"ROOT/lib/core-client/dist/esm/manager/index.js",
"ROOT/addons/links/dist/esm/register.js",
- "ROOT/addons/docs/dist/esm/register.js",
+ "ROOT/addons/docs/dist/esm/register",
"ROOT/addons/controls/dist/esm/register.js",
"ROOT/addons/actions/dist/esm/register.js",
"ROOT/addons/backgrounds/dist/esm/register.js",
diff --git a/lib/core-server/src/__snapshots__/vue-3-cli_preview-dev-posix b/lib/core-server/src/__snapshots__/vue-3-cli_preview-dev-posix
index 89cc929f1c06..fe42332cf78f 100644
--- a/lib/core-server/src/__snapshots__/vue-3-cli_preview-dev-posix
+++ b/lib/core-server/src/__snapshots__/vue-3-cli_preview-dev-posix
@@ -7,9 +7,9 @@ Object {
"ROOT/lib/core-client/dist/esm/globals/globals.js",
"NODE_MODULES/webpack-hot-middleware/client.js?reload=true&quiet=false&noInfo=undefined",
"ROOT/storybook-init-framework-entry.js",
- "ROOT/addons/docs/dist/esm/frameworks/common/config.js-generated-config-entry.js",
- "ROOT/addons/docs/dist/esm/frameworks/vue3/config.js-generated-config-entry.js",
+ "ROOT/addons/docs/dist/esm/frameworks/common/config-generated-config-entry.js",
"ROOT/app/vue3/dist/esm/client/preview/config-generated-config-entry.js",
+ "ROOT/app/vue3/dist/esm/client/docs/config-generated-config-entry.js",
"ROOT/addons/links/dist/esm/preset/addDecorator.js-generated-config-entry.js",
"ROOT/addons/actions/dist/esm/preset/addDecorator.js-generated-config-entry.js",
"ROOT/addons/actions/dist/esm/preset/addArgs.js-generated-config-entry.js",
@@ -326,16 +326,7 @@ Object {
},
},
Object {
- "loader": "NODE_MODULES/@mdx-js/loader/index.js",
- "options": Object {
- "compilers": Array [
- [Function],
- ],
- "remarkPlugins": Array [
- [Function],
- [Function],
- ],
- },
+ "loader": "NODE_MODULES/@storybook/mdx1-csf/loader.js",
},
],
},
@@ -424,12 +415,13 @@ Object {
},
},
Object {
- "loader": "NODE_MODULES/@mdx-js/loader/index.js",
+ "loader": "NODE_MODULES/@storybook/mdx1-csf/loader.js",
"options": Object {
"remarkPlugins": Array [
[Function],
[Function],
],
+ "skipCsf": true,
},
},
],
diff --git a/lib/core-server/src/__snapshots__/vue-3-cli_preview-prod-posix b/lib/core-server/src/__snapshots__/vue-3-cli_preview-prod-posix
index 75f472fb1bc8..4792caed2d1d 100644
--- a/lib/core-server/src/__snapshots__/vue-3-cli_preview-prod-posix
+++ b/lib/core-server/src/__snapshots__/vue-3-cli_preview-prod-posix
@@ -6,9 +6,9 @@ Object {
"ROOT/lib/core-client/dist/esm/globals/polyfills.js",
"ROOT/lib/core-client/dist/esm/globals/globals.js",
"ROOT/storybook-init-framework-entry.js",
- "ROOT/addons/docs/dist/esm/frameworks/common/config.js-generated-config-entry.js",
- "ROOT/addons/docs/dist/esm/frameworks/vue3/config.js-generated-config-entry.js",
+ "ROOT/addons/docs/dist/esm/frameworks/common/config-generated-config-entry.js",
"ROOT/app/vue3/dist/esm/client/preview/config-generated-config-entry.js",
+ "ROOT/app/vue3/dist/esm/client/docs/config-generated-config-entry.js",
"ROOT/addons/links/dist/esm/preset/addDecorator.js-generated-config-entry.js",
"ROOT/addons/actions/dist/esm/preset/addDecorator.js-generated-config-entry.js",
"ROOT/addons/actions/dist/esm/preset/addArgs.js-generated-config-entry.js",
@@ -325,16 +325,7 @@ Object {
},
},
Object {
- "loader": "NODE_MODULES/@mdx-js/loader/index.js",
- "options": Object {
- "compilers": Array [
- [Function],
- ],
- "remarkPlugins": Array [
- [Function],
- [Function],
- ],
- },
+ "loader": "NODE_MODULES/@storybook/mdx1-csf/loader.js",
},
],
},
@@ -423,12 +414,13 @@ Object {
},
},
Object {
- "loader": "NODE_MODULES/@mdx-js/loader/index.js",
+ "loader": "NODE_MODULES/@storybook/mdx1-csf/loader.js",
"options": Object {
"remarkPlugins": Array [
[Function],
[Function],
],
+ "skipCsf": true,
},
},
],
diff --git a/lib/core-server/src/__snapshots__/web-components-kitchen-sink_manager-dev-posix b/lib/core-server/src/__snapshots__/web-components-kitchen-sink_manager-dev-posix
index 1d69b08207fd..1c0d32d308b3 100644
--- a/lib/core-server/src/__snapshots__/web-components-kitchen-sink_manager-dev-posix
+++ b/lib/core-server/src/__snapshots__/web-components-kitchen-sink_manager-dev-posix
@@ -5,7 +5,7 @@ Object {
"entry": Array [
"ROOT/lib/core-client/dist/esm/globals/polyfills.js",
"ROOT/lib/core-client/dist/esm/manager/index.js",
- "ROOT/addons/docs/dist/esm/register.js",
+ "ROOT/addons/docs/dist/esm/register",
"ROOT/addons/controls/dist/esm/register.js",
"ROOT/addons/a11y/dist/esm/register.js",
"ROOT/addons/actions/dist/esm/register.js",
diff --git a/lib/core-server/src/__snapshots__/web-components-kitchen-sink_manager-prod-posix b/lib/core-server/src/__snapshots__/web-components-kitchen-sink_manager-prod-posix
index 23f5ae4c2e36..c090d10a5866 100644
--- a/lib/core-server/src/__snapshots__/web-components-kitchen-sink_manager-prod-posix
+++ b/lib/core-server/src/__snapshots__/web-components-kitchen-sink_manager-prod-posix
@@ -5,7 +5,7 @@ Object {
"entry": Array [
"ROOT/lib/core-client/dist/esm/globals/polyfills.js",
"ROOT/lib/core-client/dist/esm/manager/index.js",
- "ROOT/addons/docs/dist/esm/register.js",
+ "ROOT/addons/docs/dist/esm/register",
"ROOT/addons/controls/dist/esm/register.js",
"ROOT/addons/a11y/dist/esm/register.js",
"ROOT/addons/actions/dist/esm/register.js",
diff --git a/lib/core-server/src/__snapshots__/web-components-kitchen-sink_preview-dev-posix b/lib/core-server/src/__snapshots__/web-components-kitchen-sink_preview-dev-posix
index 1fdce5597511..c816a27405c8 100644
--- a/lib/core-server/src/__snapshots__/web-components-kitchen-sink_preview-dev-posix
+++ b/lib/core-server/src/__snapshots__/web-components-kitchen-sink_preview-dev-posix
@@ -7,9 +7,9 @@ Object {
"ROOT/lib/core-client/dist/esm/globals/globals.js",
"NODE_MODULES/webpack-hot-middleware/client.js?reload=true&quiet=false&noInfo=undefined",
"ROOT/storybook-init-framework-entry.js",
- "ROOT/addons/docs/dist/esm/frameworks/common/config.js-generated-config-entry.js",
- "ROOT/addons/docs/dist/esm/frameworks/web-components/config.js-generated-config-entry.js",
+ "ROOT/addons/docs/dist/esm/frameworks/common/config-generated-config-entry.js",
"ROOT/app/web-components/dist/esm/client/preview/config-generated-config-entry.js",
+ "ROOT/app/web-components/dist/esm/client/docs/config-generated-config-entry.js",
"ROOT/addons/a11y/dist/esm/a11yRunner.js-generated-config-entry.js",
"ROOT/addons/a11y/dist/esm/a11yHighlight.js-generated-config-entry.js",
"ROOT/addons/actions/dist/esm/preset/addDecorator.js-generated-config-entry.js",
@@ -343,16 +343,7 @@ Object {
},
},
Object {
- "loader": "NODE_MODULES/@mdx-js/loader/index.js",
- "options": Object {
- "compilers": Array [
- [Function],
- ],
- "remarkPlugins": Array [
- [Function],
- [Function],
- ],
- },
+ "loader": "NODE_MODULES/@storybook/mdx1-csf/loader.js",
},
],
},
@@ -441,12 +432,13 @@ Object {
},
},
Object {
- "loader": "NODE_MODULES/@mdx-js/loader/index.js",
+ "loader": "NODE_MODULES/@storybook/mdx1-csf/loader.js",
"options": Object {
"remarkPlugins": Array [
[Function],
[Function],
],
+ "skipCsf": true,
},
},
],
diff --git a/lib/core-server/src/__snapshots__/web-components-kitchen-sink_preview-prod-posix b/lib/core-server/src/__snapshots__/web-components-kitchen-sink_preview-prod-posix
index 902c75bf81d6..c7b0fb4ff3e9 100644
--- a/lib/core-server/src/__snapshots__/web-components-kitchen-sink_preview-prod-posix
+++ b/lib/core-server/src/__snapshots__/web-components-kitchen-sink_preview-prod-posix
@@ -6,9 +6,9 @@ Object {
"ROOT/lib/core-client/dist/esm/globals/polyfills.js",
"ROOT/lib/core-client/dist/esm/globals/globals.js",
"ROOT/storybook-init-framework-entry.js",
- "ROOT/addons/docs/dist/esm/frameworks/common/config.js-generated-config-entry.js",
- "ROOT/addons/docs/dist/esm/frameworks/web-components/config.js-generated-config-entry.js",
+ "ROOT/addons/docs/dist/esm/frameworks/common/config-generated-config-entry.js",
"ROOT/app/web-components/dist/esm/client/preview/config-generated-config-entry.js",
+ "ROOT/app/web-components/dist/esm/client/docs/config-generated-config-entry.js",
"ROOT/addons/a11y/dist/esm/a11yRunner.js-generated-config-entry.js",
"ROOT/addons/a11y/dist/esm/a11yHighlight.js-generated-config-entry.js",
"ROOT/addons/actions/dist/esm/preset/addDecorator.js-generated-config-entry.js",
@@ -342,16 +342,7 @@ Object {
},
},
Object {
- "loader": "NODE_MODULES/@mdx-js/loader/index.js",
- "options": Object {
- "compilers": Array [
- [Function],
- ],
- "remarkPlugins": Array [
- [Function],
- [Function],
- ],
- },
+ "loader": "NODE_MODULES/@storybook/mdx1-csf/loader.js",
},
],
},
@@ -440,12 +431,13 @@ Object {
},
},
Object {
- "loader": "NODE_MODULES/@mdx-js/loader/index.js",
+ "loader": "NODE_MODULES/@storybook/mdx1-csf/loader.js",
"options": Object {
"remarkPlugins": Array [
[Function],
[Function],
],
+ "skipCsf": true,
},
},
],
diff --git a/lib/core-server/src/build-dev.ts b/lib/core-server/src/build-dev.ts
index cc9b5f63f806..675b6c3c7361 100644
--- a/lib/core-server/src/build-dev.ts
+++ b/lib/core-server/src/build-dev.ts
@@ -1,16 +1,15 @@
import { logger, instance as npmLog } from '@storybook/node-logger';
-import {
+import type {
CLIOptions,
LoadOptions,
BuilderOptions,
- resolvePathInStorybookCache,
- loadAllPresets,
Options,
- cache,
StorybookConfig,
} from '@storybook/core-common';
+import { resolvePathInStorybookCache, loadAllPresets, cache } from '@storybook/core-common';
import dedent from 'ts-dedent';
import prompts from 'prompts';
+import global from 'global';
import path from 'path';
import { storybookDevServer } from './dev-server';
@@ -75,6 +74,7 @@ export async function buildDevStandalone(options: CLIOptions & LoadOptions & Bui
});
const features = await presets.apply('features');
+ global.FEATURES = features;
const fullOptions: Options = {
...options,
diff --git a/lib/core-server/src/build-static.ts b/lib/core-server/src/build-static.ts
index c94192f1a047..f5dbd8bc1cda 100644
--- a/lib/core-server/src/build-static.ts
+++ b/lib/core-server/src/build-static.ts
@@ -3,22 +3,20 @@ import cpy from 'cpy';
import fs from 'fs-extra';
import path from 'path';
import dedent from 'ts-dedent';
+import global from 'global';
import { logger } from '@storybook/node-logger';
-import {
- loadAllPresets,
+import type {
LoadOptions,
CLIOptions,
BuilderOptions,
Options,
Builder,
StorybookConfig,
- cache,
- normalizeStories,
- logConfig,
CoreConfig,
} from '@storybook/core-common';
+import { loadAllPresets, cache, normalizeStories, logConfig } from '@storybook/core-common';
import { getProdCli } from './cli';
import { outputStats } from './utils/output-stats';
@@ -92,6 +90,8 @@ export async function buildStaticStandalone(options: CLIOptions & LoadOptions &
}
const features = await presets.apply('features');
+ global.FEATURES = features;
+
if (features?.buildStoriesJson || features?.storyStoreV7) {
const directories = {
configDir: options.configDir,
diff --git a/lib/core-server/src/cli/dev.ts b/lib/core-server/src/cli/dev.ts
index 81a424f5f96f..ddc45c670426 100644
--- a/lib/core-server/src/cli/dev.ts
+++ b/lib/core-server/src/cli/dev.ts
@@ -1,7 +1,7 @@
import program, { CommanderStatic } from 'commander';
import chalk from 'chalk';
import { logger } from '@storybook/node-logger';
-import { CLIOptions } from '@storybook/core-common';
+import type { CLIOptions } from '@storybook/core-common';
import { parseList, getEnvConfig, checkDeprecatedFlags } from './utils';
export async function getDevCli(packageJson: {
diff --git a/lib/core-server/src/core-presets.test.ts b/lib/core-server/src/core-presets.test.ts
index dbbf43d58422..e0fe1cbcd48a 100644
--- a/lib/core-server/src/core-presets.test.ts
+++ b/lib/core-server/src/core-presets.test.ts
@@ -3,7 +3,7 @@ import path from 'path';
import { mkdtemp as mkdtempCb } from 'fs';
import os from 'os';
import { promisify } from 'util';
-import { Configuration } from 'webpack';
+import type { Configuration } from 'webpack';
import { resolvePathInStorybookCache, createFileSystemCache } from '@storybook/core-common';
import { executor as previewExecutor } from '@storybook/builder-webpack4';
import { executor as managerExecutor } from '@storybook/manager-webpack4';
@@ -39,6 +39,12 @@ jest.mock('@storybook/builder-webpack4', () => {
return actualBuilder;
});
+jest.mock('./utils/stories-json', () => {
+ const actualStoriesJson = jest.requireActual('./utils/stories-json');
+ actualStoriesJson.extractStoriesJson = () => Promise.resolve();
+ return actualStoriesJson;
+});
+
jest.mock('@storybook/manager-webpack4', () => {
const value = jest.fn();
const actualBuilder = jest.requireActual('@storybook/manager-webpack4');
@@ -90,7 +96,7 @@ const baseOptions = {
managerOnly, // production
docsMode: false,
cache,
- configDir: path.resolve(`${__dirname}/../../../examples/react-ts/.storybook`),
+ configDir: path.resolve(`${__dirname}/../../../examples/cra-ts-essentials/.storybook`),
ci: true,
managerCache: false,
};
@@ -163,7 +169,6 @@ describe.each([
ignorePreview: component === 'manager',
managerCache: component === 'preview',
};
-
await builder(options);
const config = prepareSnap(executor.get, component);
expect(config).toMatchSpecificSnapshot(
@@ -254,10 +259,13 @@ describe('build cli flags', () => {
outputDir: `${__dirname}/storybook-static`,
};
- it('--webpack-stats-json calls output-stats', async () => {
+ // eslint-disable-next-line jest/no-disabled-tests
+ it.skip('does not call output-stats', async () => {
await buildStaticStandalone(cliOptions);
expect(outputStats).not.toHaveBeenCalled();
+ });
+ it('--webpack-stats-json calls output-stats', async () => {
await buildStaticStandalone({ ...cliOptions, webpackStatsJson: '/tmp/dir' });
expect(outputStats).toHaveBeenCalledWith(
'/tmp/dir',
diff --git a/lib/core-server/src/dev-server.ts b/lib/core-server/src/dev-server.ts
index 8226a9a2cba9..c472372d3e5c 100644
--- a/lib/core-server/src/dev-server.ts
+++ b/lib/core-server/src/dev-server.ts
@@ -1,7 +1,8 @@
import express, { Router } from 'express';
import compression from 'compression';
-import { Builder, logConfig, Options, StorybookConfig } from '@storybook/core-common';
+import type { Builder, Options, StorybookConfig } from '@storybook/core-common';
+import { logConfig } from '@storybook/core-common';
import { getMiddleware } from './utils/middleware';
import { getServerAddresses } from './utils/server-address';
diff --git a/lib/core-server/src/presets/common-preset.ts b/lib/core-server/src/presets/common-preset.ts
index ef90f4fe6c41..def7ebe4841b 100644
--- a/lib/core-server/src/presets/common-preset.ts
+++ b/lib/core-server/src/presets/common-preset.ts
@@ -6,8 +6,8 @@ import {
loadCustomBabelConfig,
getStorybookBabelConfig,
loadEnvs,
- Options,
} from '@storybook/core-common';
+import type { Options } from '@storybook/core-common';
export const babel = async (_: unknown, options: Options) => {
const { configDir, presets } = options;
@@ -64,6 +64,6 @@ export const typescript = () => ({
export const features = async (existing: Record) => ({
...existing,
postcss: true,
- emotionAlias: true,
+ emotionAlias: false, // TODO remove in 7.0, this no longer does anything
warnOnLegacyHierarchySeparator: true,
});
diff --git a/lib/core-server/src/utils/StoryIndexGenerator.test.ts b/lib/core-server/src/utils/StoryIndexGenerator.test.ts
index 668cf76675e2..70cb53e96fca 100644
--- a/lib/core-server/src/utils/StoryIndexGenerator.test.ts
+++ b/lib/core-server/src/utils/StoryIndexGenerator.test.ts
@@ -1,5 +1,6 @@
import path from 'path';
-import { normalizeStoriesEntry, NormalizedStoriesSpecifier } from '@storybook/core-common';
+import { normalizeStoriesEntry } from '@storybook/core-common';
+import type { NormalizedStoriesSpecifier } from '@storybook/core-common';
import { readCsfOrMdx, getStorySortParameter } from '@storybook/csf-tools';
import { StoryIndexGenerator } from './StoryIndexGenerator';
@@ -66,13 +67,13 @@ describe('StoryIndexGenerator', () => {
"id": "nested-button--story-one",
"importPath": "./src/nested/Button.stories.ts",
"name": "Story One",
- "title": "Nested/Button",
+ "title": "nested/Button",
},
"second-nested-g--story-one": Object {
"id": "second-nested-g--story-one",
"importPath": "./src/second-nested/G.stories.ts",
"name": "Story One",
- "title": "Second Nested/G",
+ "title": "second-nested/G",
},
},
"v": 3,
@@ -116,19 +117,19 @@ describe('StoryIndexGenerator', () => {
"id": "first-nested-deeply-f--story-one",
"importPath": "./src/first-nested/deeply/F.stories.js",
"name": "Story One",
- "title": "First Nested/Deeply/F",
+ "title": "first-nested/deeply/F",
},
"nested-button--story-one": Object {
"id": "nested-button--story-one",
"importPath": "./src/nested/Button.stories.ts",
"name": "Story One",
- "title": "Nested/Button",
+ "title": "nested/Button",
},
"second-nested-g--story-one": Object {
"id": "second-nested-g--story-one",
"importPath": "./src/second-nested/G.stories.ts",
"name": "Story One",
- "title": "Second Nested/G",
+ "title": "second-nested/G",
},
},
"v": 3,
@@ -149,7 +150,7 @@ describe('StoryIndexGenerator', () => {
await generator.initialize();
(getStorySortParameter as jest.Mock).mockReturnValueOnce({
- order: ['D', 'B', 'Nested', 'A', 'Second Nested', 'First Nested/Deeply'],
+ order: ['D', 'B', 'nested', 'A', 'second-nested', 'first-nested/deeply'],
});
expect(Object.keys((await generator.getIndex()).stories)).toEqual([
diff --git a/lib/core-server/src/utils/StoryIndexGenerator.ts b/lib/core-server/src/utils/StoryIndexGenerator.ts
index 766eef946b1f..5126e6155bba 100644
--- a/lib/core-server/src/utils/StoryIndexGenerator.ts
+++ b/lib/core-server/src/utils/StoryIndexGenerator.ts
@@ -3,18 +3,13 @@ import fs from 'fs-extra';
import glob from 'globby';
import slash from 'slash';
-import {
- autoTitleFromSpecifier,
- sortStoriesV7,
- Path,
- StoryIndex,
- V2CompatIndexEntry,
- StoryId,
-} from '@storybook/store';
-import { NormalizedStoriesSpecifier, normalizeStoryPath } from '@storybook/core-common';
+import type { Path, StoryIndex, V2CompatIndexEntry, StoryId } from '@storybook/store';
+import { autoTitleFromSpecifier, sortStoriesV7 } from '@storybook/store';
+import type { NormalizedStoriesSpecifier } from '@storybook/core-common';
+import { normalizeStoryPath } from '@storybook/core-common';
import { logger } from '@storybook/node-logger';
import { readCsfOrMdx, getStorySortParameter } from '@storybook/csf-tools';
-import { ComponentTitle } from '@storybook/csf';
+import type { ComponentTitle } from '@storybook/csf';
type SpecifierStoriesCache = Record;
diff --git a/lib/core-server/src/utils/__tests__/server-statics.test.ts b/lib/core-server/src/utils/__tests__/server-statics.test.ts
index 789d0d2b1940..879747f8eb64 100644
--- a/lib/core-server/src/utils/__tests__/server-statics.test.ts
+++ b/lib/core-server/src/utils/__tests__/server-statics.test.ts
@@ -72,6 +72,13 @@ describe('parseStaticDir', () => {
targetDir: './custom-endpoint',
targetEndpoint: '/custom-endpoint',
});
+
+ await expect(parseStaticDir('C:\\foo\\bar:\\custom-endpoint')).resolves.toEqual({
+ staticDir: expect.any(String), // can't test this properly on unix
+ staticPath: path.resolve('C:\\foo\\bar'),
+ targetDir: './custom-endpoint',
+ targetEndpoint: '/custom-endpoint',
+ });
});
it('pins relative endpoint at root', async () => {
diff --git a/lib/core-server/src/utils/get-manager-builder.ts b/lib/core-server/src/utils/get-manager-builder.ts
index 5ee59b780585..fbd40246313a 100644
--- a/lib/core-server/src/utils/get-manager-builder.ts
+++ b/lib/core-server/src/utils/get-manager-builder.ts
@@ -1,5 +1,6 @@
import path from 'path';
-import { getInterpretedFile, serverRequire, Options } from '@storybook/core-common';
+import { getInterpretedFile, serverRequire } from '@storybook/core-common';
+import type { Options } from '@storybook/core-common';
export async function getManagerBuilder(configDir: Options['configDir']) {
const main = path.resolve(configDir, 'main');
diff --git a/lib/core-server/src/utils/get-preview-builder.ts b/lib/core-server/src/utils/get-preview-builder.ts
index b5a28231bf9d..282d58f43248 100644
--- a/lib/core-server/src/utils/get-preview-builder.ts
+++ b/lib/core-server/src/utils/get-preview-builder.ts
@@ -1,5 +1,6 @@
import path from 'path';
-import { getInterpretedFile, serverRequire, Options } from '@storybook/core-common';
+import { getInterpretedFile, serverRequire } from '@storybook/core-common';
+import type { Options } from '@storybook/core-common';
export async function getPreviewBuilder(configDir: Options['configDir']) {
const main = path.resolve(configDir, 'main');
diff --git a/lib/core-server/src/utils/output-startup-information.ts b/lib/core-server/src/utils/output-startup-information.ts
index 9a5e992a91ec..16b6090c2c10 100644
--- a/lib/core-server/src/utils/output-startup-information.ts
+++ b/lib/core-server/src/utils/output-startup-information.ts
@@ -4,7 +4,7 @@ import boxen from 'boxen';
import dedent from 'ts-dedent';
import Table from 'cli-table3';
import prettyTime from 'pretty-hrtime';
-import { VersionCheck } from '@storybook/core-common';
+import type { VersionCheck } from '@storybook/core-common';
import { createUpdateMessage } from './update-check';
export function outputStartupInformation(options: {
diff --git a/lib/core-server/src/utils/release-notes.ts b/lib/core-server/src/utils/release-notes.ts
index 0de1ccb2bd19..f890f250a6d8 100644
--- a/lib/core-server/src/utils/release-notes.ts
+++ b/lib/core-server/src/utils/release-notes.ts
@@ -1,5 +1,5 @@
import semver from '@storybook/semver';
-import { ReleaseNotesData } from '@storybook/core-common';
+import type { ReleaseNotesData } from '@storybook/core-common';
// We only expect to have release notes available for major and minor releases.
// For this reason, we convert the actual version of the build here so that
diff --git a/lib/core-server/src/utils/server-statics.ts b/lib/core-server/src/utils/server-statics.ts
index 35e197799375..fc2b110ef258 100644
--- a/lib/core-server/src/utils/server-statics.ts
+++ b/lib/core-server/src/utils/server-statics.ts
@@ -66,12 +66,20 @@ export async function useStatics(router: any, options: Options) {
}
export const parseStaticDir = async (arg: string) => {
- // Split on ':' only if not followed by '\', for Windows compatibility (e.g. 'C:\some\dir')
- const [rawDir, target = '/'] = arg.split(/:(?!\\)/);
+ // Split on last index of ':', for Windows compatibility (e.g. 'C:\some\dir:\foo')
+ const lastColonIndex = arg.lastIndexOf(':');
+ const isWindowsAbsolute = path.win32.isAbsolute(arg);
+ const isWindowsRawDirOnly = isWindowsAbsolute && lastColonIndex === 1; // e.g. 'C:\some\dir'
+ const splitIndex = lastColonIndex !== -1 && !isWindowsRawDirOnly ? lastColonIndex : arg.length;
+
+ const targetRaw = arg.substring(splitIndex + 1) || '/';
+ const target = targetRaw.split(path.sep).join(path.posix.sep); // Ensure target has forward-slash path
+
+ const rawDir = arg.substring(0, splitIndex);
const staticDir = path.isAbsolute(rawDir) ? rawDir : `./${rawDir}`;
const staticPath = path.resolve(staticDir);
const targetDir = target.replace(/^\/?/, './');
- const targetEndpoint = targetDir.substr(1);
+ const targetEndpoint = targetDir.substring(1);
if (!(await pathExists(staticPath))) {
throw new Error(
diff --git a/lib/core-server/src/utils/stories-json.test.ts b/lib/core-server/src/utils/stories-json.test.ts
index 96b3147c0558..45596dbddba6 100644
--- a/lib/core-server/src/utils/stories-json.test.ts
+++ b/lib/core-server/src/utils/stories-json.test.ts
@@ -101,7 +101,7 @@ describe('useStoriesJson', () => {
"first-nested-deeply-f--story-one": Object {
"id": "first-nested-deeply-f--story-one",
"importPath": "./src/first-nested/deeply/F.stories.js",
- "kind": "First Nested/Deeply/F",
+ "kind": "first-nested/deeply/F",
"name": "Story One",
"parameters": Object {
"__id": "first-nested-deeply-f--story-one",
@@ -109,12 +109,12 @@ describe('useStoriesJson', () => {
"fileName": "./src/first-nested/deeply/F.stories.js",
},
"story": "Story One",
- "title": "First Nested/Deeply/F",
+ "title": "first-nested/deeply/F",
},
"nested-button--story-one": Object {
"id": "nested-button--story-one",
"importPath": "./src/nested/Button.stories.ts",
- "kind": "Nested/Button",
+ "kind": "nested/Button",
"name": "Story One",
"parameters": Object {
"__id": "nested-button--story-one",
@@ -122,12 +122,12 @@ describe('useStoriesJson', () => {
"fileName": "./src/nested/Button.stories.ts",
},
"story": "Story One",
- "title": "Nested/Button",
+ "title": "nested/Button",
},
"second-nested-g--story-one": Object {
"id": "second-nested-g--story-one",
"importPath": "./src/second-nested/G.stories.ts",
- "kind": "Second Nested/G",
+ "kind": "second-nested/G",
"name": "Story One",
"parameters": Object {
"__id": "second-nested-g--story-one",
@@ -135,7 +135,7 @@ describe('useStoriesJson', () => {
"fileName": "./src/second-nested/G.stories.ts",
},
"story": "Story One",
- "title": "Second Nested/G",
+ "title": "second-nested/G",
},
},
"v": 3,
diff --git a/lib/core-server/src/utils/stories-json.ts b/lib/core-server/src/utils/stories-json.ts
index 611add9f4770..89b1414639ea 100644
--- a/lib/core-server/src/utils/stories-json.ts
+++ b/lib/core-server/src/utils/stories-json.ts
@@ -1,11 +1,7 @@
import { Router, Request, Response } from 'express';
import fs from 'fs-extra';
-import {
- Options,
- normalizeStories,
- NormalizedStoriesSpecifier,
- StorybookConfig,
-} from '@storybook/core-common';
+import type { Options, NormalizedStoriesSpecifier, StorybookConfig } from '@storybook/core-common';
+import { normalizeStories } from '@storybook/core-common';
import Events from '@storybook/core-events';
import debounce from 'lodash/debounce';
diff --git a/lib/core-server/src/utils/update-check.ts b/lib/core-server/src/utils/update-check.ts
index 12228156c4a6..1d517c418003 100644
--- a/lib/core-server/src/utils/update-check.ts
+++ b/lib/core-server/src/utils/update-check.ts
@@ -3,7 +3,8 @@ import chalk from 'chalk';
import { colors } from '@storybook/node-logger';
import semver from '@storybook/semver';
import dedent from 'ts-dedent';
-import { VersionCheck, cache } from '@storybook/core-common';
+import { cache } from '@storybook/core-common';
+import type { VersionCheck } from '@storybook/core-common';
const { STORYBOOK_VERSION_BASE = 'https://storybook.js.org', CI } = process.env;
diff --git a/lib/core-server/src/utils/watch-story-specifiers.ts b/lib/core-server/src/utils/watch-story-specifiers.ts
index f42221c512a5..d80f6eb6e000 100644
--- a/lib/core-server/src/utils/watch-story-specifiers.ts
+++ b/lib/core-server/src/utils/watch-story-specifiers.ts
@@ -4,8 +4,8 @@ import fs from 'fs';
import path from 'path';
import glob from 'globby';
-import { NormalizedStoriesSpecifier } from '@storybook/core-common';
-import { Path } from '@storybook/store';
+import type { NormalizedStoriesSpecifier } from '@storybook/core-common';
+import type { Path } from '@storybook/store';
const isDirectory = (directory: Path) => {
try {
diff --git a/lib/core/package.json b/lib/core/package.json
index 7a2c178ca179..95ca0de93f7f 100644
--- a/lib/core/package.json
+++ b/lib/core/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/core",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"description": "Storybook framework-agnostic API",
"keywords": [
"storybook"
@@ -40,8 +40,8 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
- "@storybook/core-client": "6.5.0-alpha.42",
- "@storybook/core-server": "6.5.0-alpha.42"
+ "@storybook/core-client": "6.5.0-alpha.48",
+ "@storybook/core-server": "6.5.0-alpha.48"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0",
@@ -62,6 +62,6 @@
"publishConfig": {
"access": "public"
},
- "gitHead": "1477954e18494e721ae8d3c99bc710381eab1351",
+ "gitHead": "5f3afb8cf4389c16be11a6e5099e902d16a82762",
"sbmodern": "dist/modern/index.js"
}
diff --git a/lib/csf-tools/__testfixtures__/mdx/auto-title-docs-only.output.snapshot b/lib/csf-tools/__testfixtures__/mdx/auto-title-docs-only.output.snapshot
deleted file mode 100644
index ad6b87974e7c..000000000000
--- a/lib/csf-tools/__testfixtures__/mdx/auto-title-docs-only.output.snapshot
+++ /dev/null
@@ -1,45 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`docs-mdx-compiler-plugin csf3 auto-title-docs-only.mdx 1`] = `
-"/* @jsxRuntime classic */
-/* @jsx mdx */
-import { assertIsFn, AddContext } from '@storybook/addon-docs';
-
-const layoutProps = {};
-const MDXLayout = 'wrapper';
-function MDXContent({ components, ...props }) {
- return (
-
-
- {\` import { Meta } from '@storybook/addon-docs';
-
-
-
- # Auto-title Docs Only
-
- Spme **markdown** here!
-\`}
-
-
- );
-}
-
-MDXContent.isMDXComponent = true;
-
-const componentMeta = { includeStories: [] };
-
-const mdxStoryNameToKey = {};
-
-componentMeta.parameters = componentMeta.parameters || {};
-componentMeta.parameters.docs = {
- ...(componentMeta.parameters.docs || {}),
- page: () => (
-
-
-
- ),
-};
-
-export default componentMeta;
-"
-`;
diff --git a/lib/csf-tools/__testfixtures__/mdx/auto-title.output.snapshot b/lib/csf-tools/__testfixtures__/mdx/auto-title.output.snapshot
deleted file mode 100644
index 5632d62e4f55..000000000000
--- a/lib/csf-tools/__testfixtures__/mdx/auto-title.output.snapshot
+++ /dev/null
@@ -1,46 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`docs-mdx-compiler-plugin csf3 auto-title.mdx 1`] = `
-"/* @jsxRuntime classic */
-/* @jsx mdx */
-import { assertIsFn, AddContext } from '@storybook/addon-docs';
-
-import { Button } from '@storybook/react/demo';
-import { Story, Meta } from '@storybook/addon-docs';
-
-const layoutProps = {};
-const MDXLayout = 'wrapper';
-function MDXContent({ components, ...props }) {
- return (
-
-
-
- Basic
-
-
- );
-}
-
-MDXContent.isMDXComponent = true;
-
-export const basic = () => Basic ;
-basic.storyName = 'Basic';
-basic.parameters = { storySource: { source: 'Basic ' } };
-
-const componentMeta = { component: Button, includeStories: ['basic'] };
-
-const mdxStoryNameToKey = { Basic: 'basic' };
-
-componentMeta.parameters = componentMeta.parameters || {};
-componentMeta.parameters.docs = {
- ...(componentMeta.parameters.docs || {}),
- page: () => (
-
-
-
- ),
-};
-
-export default componentMeta;
-"
-`;
diff --git a/lib/csf-tools/__testfixtures__/mdx/component-args.output.snapshot b/lib/csf-tools/__testfixtures__/mdx/component-args.output.snapshot
deleted file mode 100644
index a6a16c6dba96..000000000000
--- a/lib/csf-tools/__testfixtures__/mdx/component-args.output.snapshot
+++ /dev/null
@@ -1,77 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`docs-mdx-compiler-plugin component-args.mdx 1`] = `
-"/* @jsxRuntime classic */
-/* @jsx mdx */
-import { assertIsFn, AddContext } from '@storybook/addon-docs';
-
-import { Button } from '@storybook/react/demo';
-import { Story, Meta } from '@storybook/addon-docs';
-
-const layoutProps = {};
-const MDXLayout = 'wrapper';
-function MDXContent({ components, ...props }) {
- return (
-
-
- {\`Args\`}
-
- Component notes
-
-
- );
-}
-
-MDXContent.isMDXComponent = true;
-
-export const componentNotes = () => Component notes ;
-componentNotes.storyName = 'component notes';
-componentNotes.parameters = { storySource: { source: 'Component notes ' } };
-
-const componentMeta = {
- title: 'Button',
- args: {
- a: 1,
- b: 2,
- },
- argTypes: {
- a: {
- name: 'A',
- },
- b: {
- name: 'B',
- },
- },
- includeStories: ['componentNotes'],
-};
-
-const mdxStoryNameToKey = { 'component notes': 'componentNotes' };
-
-componentMeta.parameters = componentMeta.parameters || {};
-componentMeta.parameters.docs = {
- ...(componentMeta.parameters.docs || {}),
- page: () => (
-
-
-
- ),
-};
-
-export default componentMeta;
-"
-`;
diff --git a/lib/csf-tools/__testfixtures__/mdx/component-id.output.snapshot b/lib/csf-tools/__testfixtures__/mdx/component-id.output.snapshot
deleted file mode 100644
index a96ae928535b..000000000000
--- a/lib/csf-tools/__testfixtures__/mdx/component-id.output.snapshot
+++ /dev/null
@@ -1,51 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`docs-mdx-compiler-plugin component-id.mdx 1`] = `
-"/* @jsxRuntime classic */
-/* @jsx mdx */
-import { assertIsFn, AddContext } from '@storybook/addon-docs';
-
-import { Button } from '@storybook/react/demo';
-import { Story, Meta } from '@storybook/addon-docs';
-
-const layoutProps = {};
-const MDXLayout = 'wrapper';
-function MDXContent({ components, ...props }) {
- return (
-
-
-
- Component notes
-
-
- );
-}
-
-MDXContent.isMDXComponent = true;
-
-export const componentNotes = () => Component notes ;
-componentNotes.storyName = 'component notes';
-componentNotes.parameters = { storySource: { source: 'Component notes ' } };
-
-const componentMeta = {
- title: 'Button',
- id: 'button-id',
- component: Button,
- includeStories: ['componentNotes'],
-};
-
-const mdxStoryNameToKey = { 'component notes': 'componentNotes' };
-
-componentMeta.parameters = componentMeta.parameters || {};
-componentMeta.parameters.docs = {
- ...(componentMeta.parameters.docs || {}),
- page: () => (
-
-
-
- ),
-};
-
-export default componentMeta;
-"
-`;
diff --git a/lib/csf-tools/__testfixtures__/mdx/component-render.output.snapshot b/lib/csf-tools/__testfixtures__/mdx/component-render.output.snapshot
deleted file mode 100644
index 2d2151dd73cf..000000000000
--- a/lib/csf-tools/__testfixtures__/mdx/component-render.output.snapshot
+++ /dev/null
@@ -1,54 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`docs-mdx-compiler-plugin csf3 component-render.mdx 1`] = `
-"/* @jsxRuntime classic */
-/* @jsx mdx */
-import { assertIsFn, AddContext } from '@storybook/addon-docs';
-
-import { Button } from '@storybook/react/demo';
-import { Story, Meta } from '@storybook/addon-docs';
-
-const layoutProps = {};
-const MDXLayout = 'wrapper';
-function MDXContent({ components, ...props }) {
- return (
-
- }
- mdxType=\\"Meta\\"
- />
-
-
- );
-}
-
-MDXContent.isMDXComponent = true;
-
-export const basic = {};
-basic.storyName = 'Basic';
-basic.parameters = { storySource: { source: '{}' } };
-
-const componentMeta = {
- title: 'Button',
- component: Button,
- render: (args) => ,
- includeStories: ['basic'],
-};
-
-const mdxStoryNameToKey = { Basic: 'basic' };
-
-componentMeta.parameters = componentMeta.parameters || {};
-componentMeta.parameters.docs = {
- ...(componentMeta.parameters.docs || {}),
- page: () => (
-
-
-
- ),
-};
-
-export default componentMeta;
-"
-`;
diff --git a/lib/csf-tools/__testfixtures__/mdx/csf-imports.output.snapshot b/lib/csf-tools/__testfixtures__/mdx/csf-imports.output.snapshot
deleted file mode 100644
index 2c988d11db08..000000000000
--- a/lib/csf-tools/__testfixtures__/mdx/csf-imports.output.snapshot
+++ /dev/null
@@ -1,54 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`docs-mdx-compiler-plugin csf-imports.mdx 1`] = `
-"/* @jsxRuntime classic */
-/* @jsx mdx */
-import { assertIsFn, AddContext } from '@storybook/addon-docs';
-
-import { Story, Meta, Canvas } from '@storybook/addon-docs';
-import { Welcome, Button } from '@storybook/angular/demo';
-import * as MyStories from './My.stories';
-import { Other } from './Other.stories';
-
-const layoutProps = {};
-const MDXLayout = 'wrapper';
-function MDXContent({ components, ...props }) {
- return (
-
-
- {\`Stories from CSF imports\`}
-
-
-
-
-
-
- );
-}
-
-MDXContent.isMDXComponent = true;
-
-export const _Basic_ = MyStories.Basic;
-
-export const _Other_ = Other;
-
-export const _Foo_ = MyStories.Foo;
-_Foo_.storyName = 'renamed';
-
-const componentMeta = { title: 'MDX/CSF imports', includeStories: ['_Basic_', '_Other_', '_Foo_'] };
-
-const mdxStoryNameToKey = { _Basic_: '_Basic_', _Other_: '_Other_', renamed: '_Foo_' };
-
-componentMeta.parameters = componentMeta.parameters || {};
-componentMeta.parameters.docs = {
- ...(componentMeta.parameters.docs || {}),
- page: () => (
-
-
-
- ),
-};
-
-export default componentMeta;
-"
-`;
diff --git a/lib/csf-tools/__testfixtures__/mdx/decorators.output.snapshot b/lib/csf-tools/__testfixtures__/mdx/decorators.output.snapshot
deleted file mode 100644
index aa4d66124ed5..000000000000
--- a/lib/csf-tools/__testfixtures__/mdx/decorators.output.snapshot
+++ /dev/null
@@ -1,80 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`docs-mdx-compiler-plugin decorators.mdx 1`] = `
-"/* @jsxRuntime classic */
-/* @jsx mdx */
-import { assertIsFn, AddContext } from '@storybook/addon-docs';
-
-import { Button } from '@storybook/react/demo';
-import { Story, Meta } from '@storybook/addon-docs';
-
-const layoutProps = {};
-const MDXLayout = 'wrapper';
-function MDXContent({ components, ...props }) {
- return (
-
- (
-
- {storyFn()}
-
- ),
- ]}
- mdxType=\\"Meta\\"
- />
- {\`Decorated story\`}
- {storyFn()}
]}
- mdxType=\\"Story\\"
- >
- One
-
-
- );
-}
-
-MDXContent.isMDXComponent = true;
-
-export const one = () => One ;
-one.storyName = 'one';
-one.parameters = { storySource: { source: 'One ' } };
-one.decorators = [(storyFn) => {storyFn()}
];
-
-const componentMeta = {
- title: 'Button',
- decorators: [
- (storyFn) => (
-
- {storyFn()}
-
- ),
- ],
- includeStories: ['one'],
-};
-
-const mdxStoryNameToKey = { one: 'one' };
-
-componentMeta.parameters = componentMeta.parameters || {};
-componentMeta.parameters.docs = {
- ...(componentMeta.parameters.docs || {}),
- page: () => (
-
-
-
- ),
-};
-
-export default componentMeta;
-"
-`;
diff --git a/lib/csf-tools/__testfixtures__/mdx/default-render.output.snapshot b/lib/csf-tools/__testfixtures__/mdx/default-render.output.snapshot
deleted file mode 100644
index e9ba04184e31..000000000000
--- a/lib/csf-tools/__testfixtures__/mdx/default-render.output.snapshot
+++ /dev/null
@@ -1,44 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`docs-mdx-compiler-plugin csf3 default-render.mdx 1`] = `
-"/* @jsxRuntime classic */
-/* @jsx mdx */
-import { assertIsFn, AddContext } from '@storybook/addon-docs';
-
-import { Button } from '@storybook/react/demo';
-import { Story, Meta } from '@storybook/addon-docs';
-
-const layoutProps = {};
-const MDXLayout = 'wrapper';
-function MDXContent({ components, ...props }) {
- return (
-
-
-
-
- );
-}
-
-MDXContent.isMDXComponent = true;
-
-export const basic = {};
-basic.storyName = 'Basic';
-basic.parameters = { storySource: { source: '{}' } };
-
-const componentMeta = { title: 'Button', component: Button, includeStories: ['basic'] };
-
-const mdxStoryNameToKey = { Basic: 'basic' };
-
-componentMeta.parameters = componentMeta.parameters || {};
-componentMeta.parameters.docs = {
- ...(componentMeta.parameters.docs || {}),
- page: () => (
-
-
-
- ),
-};
-
-export default componentMeta;
-"
-`;
diff --git a/lib/csf-tools/__testfixtures__/mdx/docs-only.output.snapshot b/lib/csf-tools/__testfixtures__/mdx/docs-only.output.snapshot
deleted file mode 100644
index d46366c31e4c..000000000000
--- a/lib/csf-tools/__testfixtures__/mdx/docs-only.output.snapshot
+++ /dev/null
@@ -1,46 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`docs-mdx-compiler-plugin docs-only.mdx 1`] = `
-"/* @jsxRuntime classic */
-/* @jsx mdx */
-import { assertIsFn, AddContext } from '@storybook/addon-docs';
-
-import { Meta } from '@storybook/addon-docs';
-
-const layoutProps = {};
-const MDXLayout = 'wrapper';
-function MDXContent({ components, ...props }) {
- return (
-
-
- {\`Documentation only\`}
- {\`This is a documentation-only MDX file which generates a dummy 'docsOnly: true' story.\`}
-
- );
-}
-
-MDXContent.isMDXComponent = true;
-
-export const __page = () => {
- throw new Error('Docs-only story');
-};
-
-__page.parameters = { docsOnly: true };
-
-const componentMeta = { title: 'docs-only', includeStories: ['__page'] };
-
-const mdxStoryNameToKey = {};
-
-componentMeta.parameters = componentMeta.parameters || {};
-componentMeta.parameters.docs = {
- ...(componentMeta.parameters.docs || {}),
- page: () => (
-
-
-
- ),
-};
-
-export default componentMeta;
-"
-`;
diff --git a/lib/csf-tools/__testfixtures__/mdx/loaders.output.snapshot b/lib/csf-tools/__testfixtures__/mdx/loaders.output.snapshot
deleted file mode 100644
index 14c1d64b6336..000000000000
--- a/lib/csf-tools/__testfixtures__/mdx/loaders.output.snapshot
+++ /dev/null
@@ -1,76 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`docs-mdx-compiler-plugin loaders.mdx 1`] = `
-"/* @jsxRuntime classic */
-/* @jsx mdx */
-import { assertIsFn, AddContext } from '@storybook/addon-docs';
-
-import { Button } from '@storybook/react/demo';
-import { Story, Meta } from '@storybook/addon-docs';
-
-const layoutProps = {};
-const MDXLayout = 'wrapper';
-function MDXContent({ components, ...props }) {
- return (
-
- ({
- foo: 1,
- }),
- ]}
- mdxType=\\"Meta\\"
- />
- {\`Story with loader\`}
- ({
- bar: 2,
- }),
- ]}
- mdxType=\\"Story\\"
- >
- One
-
-
- );
-}
-
-MDXContent.isMDXComponent = true;
-
-export const one = () => One ;
-one.storyName = 'one';
-one.parameters = { storySource: { source: 'One ' } };
-one.loaders = [
- async () => ({
- bar: 2,
- }),
-];
-
-const componentMeta = {
- title: 'Button',
- loaders: [
- async () => ({
- foo: 1,
- }),
- ],
- includeStories: ['one'],
-};
-
-const mdxStoryNameToKey = { one: 'one' };
-
-componentMeta.parameters = componentMeta.parameters || {};
-componentMeta.parameters.docs = {
- ...(componentMeta.parameters.docs || {}),
- page: () => (
-
-
-
- ),
-};
-
-export default componentMeta;
-"
-`;
diff --git a/lib/csf-tools/__testfixtures__/mdx/meta-quotes-in-title.output.snapshot b/lib/csf-tools/__testfixtures__/mdx/meta-quotes-in-title.output.snapshot
deleted file mode 100644
index 2ac4dfc1ba53..000000000000
--- a/lib/csf-tools/__testfixtures__/mdx/meta-quotes-in-title.output.snapshot
+++ /dev/null
@@ -1,44 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`docs-mdx-compiler-plugin meta-quotes-in-title.mdx 1`] = `
-"/* @jsxRuntime classic */
-/* @jsx mdx */
-import { assertIsFn, AddContext } from '@storybook/addon-docs';
-
-import { Meta } from '@storybook/addon-docs';
-
-const layoutProps = {};
-const MDXLayout = 'wrapper';
-function MDXContent({ components, ...props }) {
- return (
-
-
-
- );
-}
-
-MDXContent.isMDXComponent = true;
-
-export const __page = () => {
- throw new Error('Docs-only story');
-};
-
-__page.parameters = { docsOnly: true };
-
-const componentMeta = { title: \\"Addons/Docs/what's in a title?\\", includeStories: ['__page'] };
-
-const mdxStoryNameToKey = {};
-
-componentMeta.parameters = componentMeta.parameters || {};
-componentMeta.parameters.docs = {
- ...(componentMeta.parameters.docs || {}),
- page: () => (
-
-
-
- ),
-};
-
-export default componentMeta;
-"
-`;
diff --git a/lib/csf-tools/__testfixtures__/mdx/non-story-exports.output.snapshot b/lib/csf-tools/__testfixtures__/mdx/non-story-exports.output.snapshot
deleted file mode 100644
index 1cbdd52ebaad..000000000000
--- a/lib/csf-tools/__testfixtures__/mdx/non-story-exports.output.snapshot
+++ /dev/null
@@ -1,58 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`docs-mdx-compiler-plugin non-story-exports.mdx 1`] = `
-"/* @jsxRuntime classic */
-/* @jsx mdx */
-import { assertIsFn, AddContext } from '@storybook/addon-docs';
-
-import { Button } from '@storybook/react/demo';
-import { Story, Meta } from '@storybook/addon-docs';
-export const two = 2;
-
-const layoutProps = {
- two,
-};
-const MDXLayout = 'wrapper';
-function MDXContent({ components, ...props }) {
- return (
-
-
- {\`Story definition\`}
-
- One
-
-
-
- Hello button
-
-
- );
-}
-
-MDXContent.isMDXComponent = true;
-
-export const one = () => One ;
-one.storyName = 'one';
-one.parameters = { storySource: { source: 'One ' } };
-
-export const helloStory = () => Hello button ;
-helloStory.storyName = 'hello story';
-helloStory.parameters = { storySource: { source: 'Hello button ' } };
-
-const componentMeta = { title: 'Button', includeStories: ['one', 'helloStory'] };
-
-const mdxStoryNameToKey = { one: 'one', 'hello story': 'helloStory' };
-
-componentMeta.parameters = componentMeta.parameters || {};
-componentMeta.parameters.docs = {
- ...(componentMeta.parameters.docs || {}),
- page: () => (
-
-
-
- ),
-};
-
-export default componentMeta;
-"
-`;
diff --git a/lib/csf-tools/__testfixtures__/mdx/parameters.output.snapshot b/lib/csf-tools/__testfixtures__/mdx/parameters.output.snapshot
deleted file mode 100644
index 2b11e9746c43..000000000000
--- a/lib/csf-tools/__testfixtures__/mdx/parameters.output.snapshot
+++ /dev/null
@@ -1,78 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`docs-mdx-compiler-plugin parameters.mdx 1`] = `
-"/* @jsxRuntime classic */
-/* @jsx mdx */
-import { assertIsFn, AddContext } from '@storybook/addon-docs';
-
-import { Button } from '@storybook/react/demo';
-import { Story, Meta } from '@storybook/addon-docs';
-
-const layoutProps = {};
-const MDXLayout = 'wrapper';
-function MDXContent({ components, ...props }) {
- return (
-
-
-
- Component notes
-
-
- Story notes
-
-
- );
-}
-
-MDXContent.isMDXComponent = true;
-
-export const componentNotes = () => Component notes ;
-componentNotes.storyName = 'component notes';
-componentNotes.parameters = { storySource: { source: 'Component notes ' } };
-
-export const storyNotes = () => Story notes ;
-storyNotes.storyName = 'story notes';
-storyNotes.parameters = {
- storySource: { source: 'Story notes ' },
- ...{
- notes: 'story notes',
- },
-};
-
-const componentMeta = {
- title: 'Button',
- parameters: {
- notes: 'component notes',
- },
- component: Button,
- includeStories: ['componentNotes', 'storyNotes'],
-};
-
-const mdxStoryNameToKey = { 'component notes': 'componentNotes', 'story notes': 'storyNotes' };
-
-componentMeta.parameters = componentMeta.parameters || {};
-componentMeta.parameters.docs = {
- ...(componentMeta.parameters.docs || {}),
- page: () => (
-
-
-
- ),
-};
-
-export default componentMeta;
-"
-`;
diff --git a/lib/csf-tools/__testfixtures__/mdx/previews.output.snapshot b/lib/csf-tools/__testfixtures__/mdx/previews.output.snapshot
deleted file mode 100644
index 9066ed2add47..000000000000
--- a/lib/csf-tools/__testfixtures__/mdx/previews.output.snapshot
+++ /dev/null
@@ -1,77 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`docs-mdx-compiler-plugin previews.mdx 1`] = `
-"/* @jsxRuntime classic */
-/* @jsx mdx */
-import { assertIsFn, AddContext } from '@storybook/addon-docs';
-
-import { Button } from '@storybook/react/demo';
-import { Canvas, Story, Meta } from '@storybook/addon-docs';
-
-const layoutProps = {};
-const MDXLayout = 'wrapper';
-function MDXContent({ components, ...props }) {
- return (
-
-
- {\`Canvas\`}
- {\`Canvases can contain normal components, stories, and story references\`}
-
- Just a button
-
- Hello button
-
-
- Two
-
-
-
- {\`Canvas without a story\`}
-
- Just a button
-
-
- );
-}
-
-MDXContent.isMDXComponent = true;
-
-export const helloButton = () => Hello button ;
-helloButton.storyName = 'hello button';
-helloButton.parameters = { storySource: { source: 'Hello button ' } };
-
-export const two = () => Two ;
-two.storyName = 'two';
-two.parameters = { storySource: { source: 'Two ' } };
-
-const componentMeta = {
- title: 'Button',
- parameters: {
- notes: 'component notes',
- },
- component: Button,
- includeStories: ['helloButton', 'two'],
-};
-
-const mdxStoryNameToKey = { 'hello button': 'helloButton', two: 'two' };
-
-componentMeta.parameters = componentMeta.parameters || {};
-componentMeta.parameters.docs = {
- ...(componentMeta.parameters.docs || {}),
- page: () => (
-
-
-
- ),
-};
-
-export default componentMeta;
-"
-`;
diff --git a/lib/csf-tools/__testfixtures__/mdx/story-args.output.snapshot b/lib/csf-tools/__testfixtures__/mdx/story-args.output.snapshot
deleted file mode 100644
index 79f67238ceda..000000000000
--- a/lib/csf-tools/__testfixtures__/mdx/story-args.output.snapshot
+++ /dev/null
@@ -1,78 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`docs-mdx-compiler-plugin story-args.mdx 1`] = `
-"/* @jsxRuntime classic */
-/* @jsx mdx */
-import { assertIsFn, AddContext } from '@storybook/addon-docs';
-
-import { Button } from '@storybook/react/demo';
-import { Story, Meta } from '@storybook/addon-docs';
-export const Template = (args) => Component notes ;
-
-const layoutProps = {
- Template,
-};
-const MDXLayout = 'wrapper';
-function MDXContent({ components, ...props }) {
- return (
-
-
- {\`Args\`}
-
-
- {Template.bind({})}
-
-
- );
-}
-
-MDXContent.isMDXComponent = true;
-
-export const componentNotes = Template.bind({});
-componentNotes.storyName = 'component notes';
-componentNotes.argTypes = {
- a: {
- name: 'A',
- },
- b: {
- name: 'B',
- },
-};
-componentNotes.args = {
- a: 1,
- b: 2,
-};
-componentNotes.parameters = { storySource: { source: 'args => Component notes ' } };
-
-const componentMeta = { title: 'Button', includeStories: ['componentNotes'] };
-
-const mdxStoryNameToKey = { 'component notes': 'componentNotes' };
-
-componentMeta.parameters = componentMeta.parameters || {};
-componentMeta.parameters.docs = {
- ...(componentMeta.parameters.docs || {}),
- page: () => (
-
-
-
- ),
-};
-
-export default componentMeta;
-"
-`;
diff --git a/lib/csf-tools/__testfixtures__/mdx/story-current.output.snapshot b/lib/csf-tools/__testfixtures__/mdx/story-current.output.snapshot
deleted file mode 100644
index 82ef5bb6bea5..000000000000
--- a/lib/csf-tools/__testfixtures__/mdx/story-current.output.snapshot
+++ /dev/null
@@ -1,39 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`docs-mdx-compiler-plugin story-current.mdx 1`] = `
-"/* @jsxRuntime classic */
-/* @jsx mdx */
-import { assertIsFn, AddContext } from '@storybook/addon-docs';
-
-import { Story } from '@storybook/addon-docs';
-
-const layoutProps = {};
-const MDXLayout = 'wrapper';
-function MDXContent({ components, ...props }) {
- return (
-
- {\`Current story\`}
-
-
- );
-}
-
-MDXContent.isMDXComponent = true;
-
-const componentMeta = { includeStories: [] };
-
-const mdxStoryNameToKey = {};
-
-componentMeta.parameters = componentMeta.parameters || {};
-componentMeta.parameters.docs = {
- ...(componentMeta.parameters.docs || {}),
- page: () => (
-
-
-
- ),
-};
-
-export default componentMeta;
-"
-`;
diff --git a/lib/csf-tools/__testfixtures__/mdx/story-def-text-only.output.snapshot b/lib/csf-tools/__testfixtures__/mdx/story-def-text-only.output.snapshot
deleted file mode 100644
index 477d05f8cca1..000000000000
--- a/lib/csf-tools/__testfixtures__/mdx/story-def-text-only.output.snapshot
+++ /dev/null
@@ -1,46 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`docs-mdx-compiler-plugin story-def-text-only.mdx 1`] = `
-"/* @jsxRuntime classic */
-/* @jsx mdx */
-import { assertIsFn, AddContext } from '@storybook/addon-docs';
-
-import { Story, Meta } from '@storybook/addon-docs';
-
-const layoutProps = {};
-const MDXLayout = 'wrapper';
-function MDXContent({ components, ...props }) {
- return (
-
-
- {\`Story definition\`}
-
- Plain text
-
-
- );
-}
-
-MDXContent.isMDXComponent = true;
-
-export const text = () => 'Plain text';
-text.storyName = 'text';
-text.parameters = { storySource: { source: \\"'Plain text'\\" } };
-
-const componentMeta = { title: 'Text', includeStories: ['text'] };
-
-const mdxStoryNameToKey = { text: 'text' };
-
-componentMeta.parameters = componentMeta.parameters || {};
-componentMeta.parameters.docs = {
- ...(componentMeta.parameters.docs || {}),
- page: () => (
-
-
-
- ),
-};
-
-export default componentMeta;
-"
-`;
diff --git a/lib/csf-tools/__testfixtures__/mdx/story-definitions.output.snapshot b/lib/csf-tools/__testfixtures__/mdx/story-definitions.output.snapshot
deleted file mode 100644
index 6ca818c3b3e2..000000000000
--- a/lib/csf-tools/__testfixtures__/mdx/story-definitions.output.snapshot
+++ /dev/null
@@ -1,76 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`docs-mdx-compiler-plugin story-definitions.mdx 1`] = `
-"/* @jsxRuntime classic */
-/* @jsx mdx */
-import { assertIsFn, AddContext } from '@storybook/addon-docs';
-
-import { Button } from '@storybook/react/demo';
-import { Story, Meta } from '@storybook/addon-docs';
-
-const layoutProps = {};
-const MDXLayout = 'wrapper';
-function MDXContent({ components, ...props }) {
- return (
-
-
- {\`Story definition\`}
-
- One
-
-
- Hello button
-
-
- with punctuation
-
-
- starts with number
-
-
- );
-}
-
-MDXContent.isMDXComponent = true;
-
-export const one = () => One ;
-one.storyName = 'one';
-one.parameters = { storySource: { source: 'One ' } };
-
-export const helloStory = () => Hello button ;
-helloStory.storyName = 'hello story';
-helloStory.parameters = { storySource: { source: 'Hello button ' } };
-
-export const wPunctuation = () => with punctuation ;
-wPunctuation.storyName = 'w/punctuation';
-wPunctuation.parameters = { storySource: { source: 'with punctuation ' } };
-
-export const _1FineDay = () => starts with number ;
-_1FineDay.storyName = '1 fine day';
-_1FineDay.parameters = { storySource: { source: 'starts with number ' } };
-
-const componentMeta = {
- title: 'Button',
- includeStories: ['one', 'helloStory', 'wPunctuation', '_1FineDay'],
-};
-
-const mdxStoryNameToKey = {
- one: 'one',
- 'hello story': 'helloStory',
- 'w/punctuation': 'wPunctuation',
- '1 fine day': '_1FineDay',
-};
-
-componentMeta.parameters = componentMeta.parameters || {};
-componentMeta.parameters.docs = {
- ...(componentMeta.parameters.docs || {}),
- page: () => (
-
-
-
- ),
-};
-
-export default componentMeta;
-"
-`;
diff --git a/lib/csf-tools/__testfixtures__/mdx/story-function-var.output.snapshot b/lib/csf-tools/__testfixtures__/mdx/story-function-var.output.snapshot
deleted file mode 100644
index ebef9ce56c68..000000000000
--- a/lib/csf-tools/__testfixtures__/mdx/story-function-var.output.snapshot
+++ /dev/null
@@ -1,60 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`docs-mdx-compiler-plugin story-function-var.mdx 1`] = `
-"/* @jsxRuntime classic */
-/* @jsx mdx */
-import { assertIsFn, AddContext } from '@storybook/addon-docs';
-
-import { Meta, Story } from '@storybook/addon-docs';
-export const basicFn = () => ;
-const makeShortcode = (name) =>
- function MDXDefaultShortcode(props) {
- console.warn(
- 'Component ' +
- name +
- ' was not imported, exported, or provided by MDXProvider as global scope'
- );
- return
;
- };
-const Button = makeShortcode('Button');
-const layoutProps = {
- basicFn,
-};
-const MDXLayout = 'wrapper';
-function MDXContent({ components, ...props }) {
- return (
-
-
-
- {\`Button\`}
- {\`I can define a story with the function defined in CSF:\`}
-
- {basicFn}
-
-
- );
-}
-
-MDXContent.isMDXComponent = true;
-
-export const basic = assertIsFn(basicFn);
-basic.storyName = 'basic';
-basic.parameters = { storySource: { source: 'basicFn' } };
-
-const componentMeta = { title: 'story-function-var', includeStories: ['basic'] };
-
-const mdxStoryNameToKey = { basic: 'basic' };
-
-componentMeta.parameters = componentMeta.parameters || {};
-componentMeta.parameters.docs = {
- ...(componentMeta.parameters.docs || {}),
- page: () => (
-
-
-
- ),
-};
-
-export default componentMeta;
-"
-`;
diff --git a/lib/csf-tools/__testfixtures__/mdx/story-function.output.snapshot b/lib/csf-tools/__testfixtures__/mdx/story-function.output.snapshot
deleted file mode 100644
index 59310ca9c70a..000000000000
--- a/lib/csf-tools/__testfixtures__/mdx/story-function.output.snapshot
+++ /dev/null
@@ -1,67 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`docs-mdx-compiler-plugin story-function.mdx 1`] = `
-"/* @jsxRuntime classic */
-/* @jsx mdx */
-import { assertIsFn, AddContext } from '@storybook/addon-docs';
-
-const makeShortcode = (name) =>
- function MDXDefaultShortcode(props) {
- console.warn(
- 'Component ' +
- name +
- ' was not imported, exported, or provided by MDXProvider as global scope'
- );
- return
;
- };
-const Story = makeShortcode('Story');
-const layoutProps = {};
-const MDXLayout = 'wrapper';
-function MDXContent({ components, ...props }) {
- return (
-
-
- {() => {
- const btn = document.createElement('button');
- btn.innerHTML = 'Hello Button';
- btn.addEventListener('click', action('Click'));
- return btn;
- }}
-
-
- );
-}
-
-MDXContent.isMDXComponent = true;
-
-export const functionStory = () => {
- const btn = document.createElement('button');
- btn.innerHTML = 'Hello Button';
- btn.addEventListener('click', action('Click'));
- return btn;
-};
-functionStory.storyName = 'function';
-functionStory.parameters = {
- storySource: {
- source:
- \\"() => {\\\\n const btn = document.createElement('button');\\\\n btn.innerHTML = 'Hello Button';\\\\n btn.addEventListener('click', action('Click'));\\\\n return btn;\\\\n}\\",
- },
-};
-
-const componentMeta = { includeStories: ['functionStory'] };
-
-const mdxStoryNameToKey = { function: 'functionStory' };
-
-componentMeta.parameters = componentMeta.parameters || {};
-componentMeta.parameters.docs = {
- ...(componentMeta.parameters.docs || {}),
- page: () => (
-
-
-
- ),
-};
-
-export default componentMeta;
-"
-`;
diff --git a/lib/csf-tools/__testfixtures__/mdx/story-multiple-children.output.snapshot b/lib/csf-tools/__testfixtures__/mdx/story-multiple-children.output.snapshot
deleted file mode 100644
index 3beb5013620e..000000000000
--- a/lib/csf-tools/__testfixtures__/mdx/story-multiple-children.output.snapshot
+++ /dev/null
@@ -1,54 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`docs-mdx-compiler-plugin story-multiple-children.mdx 1`] = `
-"/* @jsxRuntime classic */
-/* @jsx mdx */
-import { assertIsFn, AddContext } from '@storybook/addon-docs';
-
-import { Story, Meta } from '@storybook/addon-docs';
-
-const layoutProps = {};
-const MDXLayout = 'wrapper';
-function MDXContent({ components, ...props }) {
- return (
-
-
- {\`Multiple children\`}
-
- Hello Child #1
- Hello Child #2
-
-
- );
-}
-
-MDXContent.isMDXComponent = true;
-
-export const multipleChildren = () => (
- <>
- Hello Child #1
- Hello Child #2
- >
-);
-multipleChildren.storyName = 'multiple children';
-multipleChildren.parameters = {
- storySource: { source: 'Hello Child #1
\\\\nHello Child #2
' },
-};
-
-const componentMeta = { title: 'Multiple', includeStories: ['multipleChildren'] };
-
-const mdxStoryNameToKey = { 'multiple children': 'multipleChildren' };
-
-componentMeta.parameters = componentMeta.parameters || {};
-componentMeta.parameters.docs = {
- ...(componentMeta.parameters.docs || {}),
- page: () => (
-
-
-
- ),
-};
-
-export default componentMeta;
-"
-`;
diff --git a/lib/csf-tools/__testfixtures__/mdx/story-object.output.snapshot b/lib/csf-tools/__testfixtures__/mdx/story-object.output.snapshot
deleted file mode 100644
index c042fa2a3cd4..000000000000
--- a/lib/csf-tools/__testfixtures__/mdx/story-object.output.snapshot
+++ /dev/null
@@ -1,70 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`docs-mdx-compiler-plugin story-object.mdx 1`] = `
-"/* @jsxRuntime classic */
-/* @jsx mdx */
-import { assertIsFn, AddContext } from '@storybook/addon-docs';
-
-import { Story, Meta } from '@storybook/addon-docs';
-import { Welcome, Button } from '@storybook/angular/demo';
-import { linkTo } from '@storybook/addon-links';
-
-const layoutProps = {};
-const MDXLayout = 'wrapper';
-function MDXContent({ components, ...props }) {
- return (
-
-
- {\`Story object\`}
-
- {{
- template:
- ' ',
- props: {
- showApp: linkTo('Button'),
- },
- moduleMetadata: {
- declarations: [Welcome],
- },
- }}
-
-
- );
-}
-
-MDXContent.isMDXComponent = true;
-
-export const toStorybook = () => ({
- template: ' ',
- props: {
- showApp: linkTo('Button'),
- },
- moduleMetadata: {
- declarations: [Welcome],
- },
-});
-toStorybook.storyName = 'to storybook';
-toStorybook.parameters = {
- storySource: {
- source:
- \\"{\\\\n template: ' ',\\\\n props: {\\\\n showApp: linkTo('Button')\\\\n },\\\\n moduleMetadata: {\\\\n declarations: [Welcome]\\\\n }\\\\n}\\",
- },
-};
-
-const componentMeta = { title: 'MDX|Welcome', includeStories: ['toStorybook'] };
-
-const mdxStoryNameToKey = { 'to storybook': 'toStorybook' };
-
-componentMeta.parameters = componentMeta.parameters || {};
-componentMeta.parameters.docs = {
- ...(componentMeta.parameters.docs || {}),
- page: () => (
-
-
-
- ),
-};
-
-export default componentMeta;
-"
-`;
diff --git a/lib/csf-tools/__testfixtures__/mdx/story-play.output.snapshot b/lib/csf-tools/__testfixtures__/mdx/story-play.output.snapshot
deleted file mode 100644
index e76db54abc35..000000000000
--- a/lib/csf-tools/__testfixtures__/mdx/story-play.output.snapshot
+++ /dev/null
@@ -1,45 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`docs-mdx-compiler-plugin csf3 story-play.mdx 1`] = `
-"/* @jsxRuntime classic */
-/* @jsx mdx */
-import { assertIsFn, AddContext } from '@storybook/addon-docs';
-
-import { Button } from '@storybook/react/demo';
-import { Story, Meta } from '@storybook/addon-docs';
-
-const layoutProps = {};
-const MDXLayout = 'wrapper';
-function MDXContent({ components, ...props }) {
- return (
-
-
- console.log('play')} mdxType=\\"Story\\" />
-
- );
-}
-
-MDXContent.isMDXComponent = true;
-
-export const basic = {};
-basic.storyName = 'Basic';
-basic.parameters = { storySource: { source: '{}' } };
-basic.play = () => console.log('play');
-
-const componentMeta = { title: 'Button', component: Button, includeStories: ['basic'] };
-
-const mdxStoryNameToKey = { Basic: 'basic' };
-
-componentMeta.parameters = componentMeta.parameters || {};
-componentMeta.parameters.docs = {
- ...(componentMeta.parameters.docs || {}),
- page: () => (
-
-
-
- ),
-};
-
-export default componentMeta;
-"
-`;
diff --git a/lib/csf-tools/__testfixtures__/mdx/story-references.output.snapshot b/lib/csf-tools/__testfixtures__/mdx/story-references.output.snapshot
deleted file mode 100644
index 346168650ae8..000000000000
--- a/lib/csf-tools/__testfixtures__/mdx/story-references.output.snapshot
+++ /dev/null
@@ -1,39 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`docs-mdx-compiler-plugin story-references.mdx 1`] = `
-"/* @jsxRuntime classic */
-/* @jsx mdx */
-import { assertIsFn, AddContext } from '@storybook/addon-docs';
-
-import { Story } from '@storybook/addon-docs';
-
-const layoutProps = {};
-const MDXLayout = 'wrapper';
-function MDXContent({ components, ...props }) {
- return (
-
- {\`Story reference\`}
-
-
- );
-}
-
-MDXContent.isMDXComponent = true;
-
-const componentMeta = { includeStories: [] };
-
-const mdxStoryNameToKey = {};
-
-componentMeta.parameters = componentMeta.parameters || {};
-componentMeta.parameters.docs = {
- ...(componentMeta.parameters.docs || {}),
- page: () => (
-
-
-
- ),
-};
-
-export default componentMeta;
-"
-`;
diff --git a/lib/csf-tools/__testfixtures__/mdx/story-render.output.snapshot b/lib/csf-tools/__testfixtures__/mdx/story-render.output.snapshot
deleted file mode 100644
index 030b2870aeac..000000000000
--- a/lib/csf-tools/__testfixtures__/mdx/story-render.output.snapshot
+++ /dev/null
@@ -1,49 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`docs-mdx-compiler-plugin csf3 story-render.mdx 1`] = `
-"/* @jsxRuntime classic */
-/* @jsx mdx */
-import { assertIsFn, AddContext } from '@storybook/addon-docs';
-
-import { Button } from '@storybook/react/demo';
-import { Story, Meta } from '@storybook/addon-docs';
-
-const layoutProps = {};
-const MDXLayout = 'wrapper';
-function MDXContent({ components, ...props }) {
- return (
-
-
- }
- mdxType=\\"Story\\"
- />
-
- );
-}
-
-MDXContent.isMDXComponent = true;
-
-export const basic = {};
-basic.storyName = 'Basic';
-basic.parameters = { storySource: { source: '{}' } };
-basic.render = (args) => ;
-
-const componentMeta = { title: 'Button', component: Button, includeStories: ['basic'] };
-
-const mdxStoryNameToKey = { Basic: 'basic' };
-
-componentMeta.parameters = componentMeta.parameters || {};
-componentMeta.parameters.docs = {
- ...(componentMeta.parameters.docs || {}),
- page: () => (
-
-
-
- ),
-};
-
-export default componentMeta;
-"
-`;
diff --git a/lib/csf-tools/__testfixtures__/mdx/title-template-string.output.snapshot b/lib/csf-tools/__testfixtures__/mdx/title-template-string.output.snapshot
deleted file mode 100644
index 896abc4cbbe9..000000000000
--- a/lib/csf-tools/__testfixtures__/mdx/title-template-string.output.snapshot
+++ /dev/null
@@ -1,45 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`docs-mdx-compiler-plugin title-template-string.mdx 1`] = `
-"/* @jsxRuntime classic */
-/* @jsx mdx */
-import { assertIsFn, AddContext } from '@storybook/addon-docs';
-
-import { Meta, Story } from '@storybook/addon-docs';
-import { titleFunction } from '../title-generators';
-
-const layoutProps = {};
-const MDXLayout = 'wrapper';
-function MDXContent({ components, ...props }) {
- return (
-
-
-
- );
-}
-
-MDXContent.isMDXComponent = true;
-
-export const __page = () => {
- throw new Error('Docs-only story');
-};
-
-__page.parameters = { docsOnly: true };
-
-const componentMeta = { title: \`\${titleFunction('template')}\`, includeStories: ['__page'] };
-
-const mdxStoryNameToKey = {};
-
-componentMeta.parameters = componentMeta.parameters || {};
-componentMeta.parameters.docs = {
- ...(componentMeta.parameters.docs || {}),
- page: () => (
-
-
-
- ),
-};
-
-export default componentMeta;
-"
-`;
diff --git a/lib/csf-tools/__testfixtures__/mdx/vanilla.output.snapshot b/lib/csf-tools/__testfixtures__/mdx/vanilla.output.snapshot
deleted file mode 100644
index 33eeecfb4c0e..000000000000
--- a/lib/csf-tools/__testfixtures__/mdx/vanilla.output.snapshot
+++ /dev/null
@@ -1,40 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`docs-mdx-compiler-plugin vanilla.mdx 1`] = `
-"/* @jsxRuntime classic */
-/* @jsx mdx */
-import { assertIsFn, AddContext } from '@storybook/addon-docs';
-
-import { Button } from '@storybook/react/demo';
-
-const layoutProps = {};
-const MDXLayout = 'wrapper';
-function MDXContent({ components, ...props }) {
- return (
-
- {\`Hello MDX\`}
- {\`This is some random content.\`}
- Hello button
-
- );
-}
-
-MDXContent.isMDXComponent = true;
-
-const componentMeta = { includeStories: [] };
-
-const mdxStoryNameToKey = {};
-
-componentMeta.parameters = componentMeta.parameters || {};
-componentMeta.parameters.docs = {
- ...(componentMeta.parameters.docs || {}),
- page: () => (
-
-
-
- ),
-};
-
-export default componentMeta;
-"
-`;
diff --git a/lib/csf-tools/index.cjs b/lib/csf-tools/index.cjs
new file mode 100644
index 000000000000..69f154ae3e3c
--- /dev/null
+++ b/lib/csf-tools/index.cjs
@@ -0,0 +1,21 @@
+const { FEATURES } = require('global');
+const fs = require('fs-extra');
+
+const lib = require('./dist/cjs/index');
+
+const readCsfOrMdx = async (fileName, options) => {
+ let code = (await fs.readFile(fileName, 'utf-8')).toString();
+ if (fileName.endsWith('.mdx')) {
+ const { compile } =
+ FEATURES && FEATURES.previewMdx2
+ ? await import('@storybook/mdx2-csf')
+ : await import('@storybook/mdx1-csf');
+ code = await compile(code);
+ }
+ return lib.loadCsf(code, { ...options, fileName });
+};
+
+module.exports = {
+ readCsfOrMdx,
+ ...lib,
+};
diff --git a/lib/csf-tools/index.d.ts b/lib/csf-tools/index.d.ts
new file mode 100644
index 000000000000..4d2291e7d3e5
--- /dev/null
+++ b/lib/csf-tools/index.d.ts
@@ -0,0 +1,4 @@
+import { CsfFile, CsfOptions } from './dist/ts3.9/index.d';
+
+export declare const readCsfOrMdx: (fileName: string, options: CsfOptions) => Promise;
+export * from './dist/ts3.9/index.d';
diff --git a/lib/csf-tools/index.mjs b/lib/csf-tools/index.mjs
new file mode 100644
index 000000000000..fc307625eaff
--- /dev/null
+++ b/lib/csf-tools/index.mjs
@@ -0,0 +1,17 @@
+import global from 'global';
+import fs from 'fs-extra';
+
+import { loadCsf } from './dist/esm/index';
+
+export const readCsfOrMdx = async (fileName, options) => {
+ let code = (await fs.readFile(fileName, 'utf-8')).toString();
+ if (fileName.endsWith('.mdx')) {
+ const { compile } = global.FEATURES?.previewMdx2
+ ? await import('@storybook/mdx2-csf')
+ : await import('@storybook/mdx1-csf');
+ code = await compile(code);
+ }
+ return loadCsf(code, { ...options, fileName });
+};
+
+export * from './dist/esm/index';
diff --git a/lib/csf-tools/mdx.d.ts b/lib/csf-tools/mdx.d.ts
index 84e1c5ac09af..12da9964eb9f 100644
--- a/lib/csf-tools/mdx.d.ts
+++ b/lib/csf-tools/mdx.d.ts
@@ -1 +1,2 @@
-export * from './dist/ts3.9/mdx/index.d';
+declare module '@mdx-js/loader';
+export * from '@storybook/mdx1-csf';
diff --git a/lib/csf-tools/mdx.js b/lib/csf-tools/mdx.js
index 66cbd81cd768..969e3b17478f 100644
--- a/lib/csf-tools/mdx.js
+++ b/lib/csf-tools/mdx.js
@@ -1 +1 @@
-module.exports = require('./dist/cjs/mdx');
+module.exports = require('@storybook/mdx1-csf');
diff --git a/lib/csf-tools/package.json b/lib/csf-tools/package.json
index 9b01d3d2da1c..82abfdde4428 100644
--- a/lib/csf-tools/package.json
+++ b/lib/csf-tools/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/csf-tools",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"description": "",
"keywords": [
"storybook"
@@ -20,9 +20,9 @@
},
"license": "MIT",
"sideEffects": false,
- "main": "dist/cjs/index.js",
- "module": "dist/esm/index.js",
- "types": "dist/ts3.9/index.d.ts",
+ "main": "index.cjs",
+ "module": "index.mjs",
+ "types": "index.d.ts",
"typesVersions": {
"<3.8": {
"dist/ts3.9/*": [
@@ -47,24 +47,30 @@
"@babel/preset-env": "^7.12.11",
"@babel/traverse": "^7.12.11",
"@babel/types": "^7.12.11",
- "@mdx-js/mdx": "^1.6.22",
"@storybook/csf": "0.0.2--canary.87bc651.0",
+ "@storybook/mdx1-csf": "canary",
"core-js": "^3.8.2",
"fs-extra": "^9.0.1",
"global": "^4.4.0",
- "js-string-escape": "^1.0.1",
- "lodash": "^4.17.21",
- "prettier": ">=2.2.1 <=2.3.0",
"regenerator-runtime": "^0.13.7",
"ts-dedent": "^2.0.0"
},
"devDependencies": {
+ "@storybook/mdx2-csf": "canary",
"@types/fs-extra": "^9.0.6",
"js-yaml": "^3.14.1"
},
+ "peerDependencies": {
+ "@storybook/mdx2-csf": "*"
+ },
+ "peerDependenciesMeta": {
+ "@storybook/mdx2-csf": {
+ "optional": true
+ }
+ },
"publishConfig": {
"access": "public"
},
- "gitHead": "1477954e18494e721ae8d3c99bc710381eab1351",
+ "gitHead": "5f3afb8cf4389c16be11a6e5099e902d16a82762",
"sbmodern": "dist/modern/index.js"
}
diff --git a/lib/csf-tools/src/CsfFile.ts b/lib/csf-tools/src/CsfFile.ts
index 014bde430e23..25af480e83f3 100644
--- a/lib/csf-tools/src/CsfFile.ts
+++ b/lib/csf-tools/src/CsfFile.ts
@@ -388,8 +388,18 @@ export class CsfFile {
});
if (self._namedExportsOrder) {
+ const unsortedExports = Object.keys(self._storyExports);
self._storyExports = sortExports(self._storyExports, self._namedExportsOrder);
self._stories = sortExports(self._stories, self._namedExportsOrder);
+
+ const sortedExports = Object.keys(self._storyExports);
+ if (unsortedExports.length !== sortedExports.length) {
+ throw new Error(
+ `Missing exports after sort: ${unsortedExports.filter(
+ (key) => !sortedExports.includes(key)
+ )}`
+ );
+ }
}
return self;
diff --git a/lib/csf-tools/src/index.ts b/lib/csf-tools/src/index.ts
index 5566b12e1be1..89b66e647fd2 100644
--- a/lib/csf-tools/src/index.ts
+++ b/lib/csf-tools/src/index.ts
@@ -1,17 +1,3 @@
-import fs from 'fs-extra';
-import mdx from '@mdx-js/mdx';
-
-import { loadCsf, CsfOptions } from './CsfFile';
-import { createCompiler } from './mdx';
-
-export const readCsfOrMdx = async (fileName: string, options: CsfOptions) => {
- let code = (await fs.readFile(fileName, 'utf-8')).toString();
- if (fileName.endsWith('.mdx')) {
- code = await mdx(code, { compilers: [createCompiler({})] });
- }
- return loadCsf(code, { ...options, fileName });
-};
-
export * from './CsfFile';
export * from './ConfigFile';
export * from './getStorySortParameter';
diff --git a/lib/csf-tools/src/mdx/index.ts b/lib/csf-tools/src/mdx/index.ts
deleted file mode 100644
index f8a1d598ecbb..000000000000
--- a/lib/csf-tools/src/mdx/index.ts
+++ /dev/null
@@ -1 +0,0 @@
-export * from './sb-mdx-plugin';
diff --git a/lib/csf-tools/src/mdx/sb-mdx-plugin.test.ts b/lib/csf-tools/src/mdx/sb-mdx-plugin.test.ts
deleted file mode 100644
index 4e565e6bc8db..000000000000
--- a/lib/csf-tools/src/mdx/sb-mdx-plugin.test.ts
+++ /dev/null
@@ -1,512 +0,0 @@
-import 'jest-specific-snapshot';
-import dedent from 'ts-dedent';
-import path from 'path';
-import mdx from '@mdx-js/mdx';
-import prettier from 'prettier';
-import { createCompiler } from './sb-mdx-plugin';
-
-function generate(content) {
- const code = mdx.sync(content, {
- // filepath: filePath,
- compilers: [createCompiler({})],
- });
-
- return prettier.format(code, {
- parser: 'babel',
- printWidth: 100,
- tabWidth: 2,
- bracketSpacing: true,
- trailingComma: 'es5',
- singleQuote: true,
- });
-}
-
-const fixturesDir = path.join(__dirname, '..', '..', '__testfixtures__', 'mdx');
-
-const snap = (prefix) => path.join(fixturesDir, `${prefix}.output.snapshot`);
-
-describe('docs-mdx-compiler-plugin', () => {
- it('component-args.mdx', () => {
- expect(
- generate(dedent`
- import { Button } from '@storybook/react/demo';
- import { Story, Meta } from '@storybook/addon-docs';
-
-
-
- # Args
-
-
- Component notes
-
- `)
- ).toMatchSpecificSnapshot(snap('component-args'));
- });
-
- it('component-id.mdx', () => {
- expect(
- generate(dedent`
- import { Button } from '@storybook/react/demo';
- import { Story, Meta } from '@storybook/addon-docs';
-
-
-
-
- Component notes
-
- `)
- ).toMatchSpecificSnapshot(snap('component-id'));
- });
-
- it('csf-imports.mdx', () => {
- expect(
- generate(dedent`
- import { Story, Meta, Canvas } from '@storybook/addon-docs';
- import { Welcome, Button } from '@storybook/angular/demo';
- import * as MyStories from './My.stories';
- import { Other } from './Other.stories';
-
-
-
- # Stories from CSF imports
-
-
-
-
-
-
-
-
- `)
- ).toMatchSpecificSnapshot(snap('csf-imports'));
- });
-
- it('decorators.mdx', () => {
- expect(
- generate(dedent`
- import { Button } from '@storybook/react/demo';
- import { Story, Meta } from '@storybook/addon-docs';
-
- {storyFn()}
]}
- />
-
- # Decorated story
-
- {storyFn()}
]}>
- One
-
- `)
- ).toMatchSpecificSnapshot(snap('decorators'));
- });
-
- it('docs-only.mdx', () => {
- expect(
- generate(dedent`
- import { Meta } from '@storybook/addon-docs';
-
-
-
- # Documentation only
-
- This is a documentation-only MDX file which generates a dummy 'docsOnly: true' story.
- `)
- ).toMatchSpecificSnapshot(snap('docs-only'));
- });
-
- it('loaders.mdx', () => {
- expect(
- generate(dedent`
- import { Button } from '@storybook/react/demo';
- import { Story, Meta } from '@storybook/addon-docs';
-
- ({ foo: 1 })]} />
-
- # Story with loader
-
- ({ bar: 2 })]}>
- One
-
- `)
- ).toMatchSpecificSnapshot(snap('loaders'));
- });
-
- it('meta-quotes-in-title.mdx', () => {
- expect(
- generate(dedent`
- import { Meta } from '@storybook/addon-docs';
-
-
- `)
- ).toMatchSpecificSnapshot(snap('meta-quotes-in-title'));
- });
-
- it('non-story-exports.mdx', () => {
- expect(
- generate(dedent`
- import { Button } from '@storybook/react/demo';
- import { Story, Meta } from '@storybook/addon-docs';
-
-
-
- # Story definition
-
-
- One
-
-
- export const two = 2;
-
-
- Hello button
-
- `)
- ).toMatchSpecificSnapshot(snap('non-story-exports'));
- });
-
- it('parameters.mdx', () => {
- expect(
- generate(dedent`
- import { Button } from '@storybook/react/demo';
- import { Story, Meta } from '@storybook/addon-docs';
-
-
-
-
- Component notes
-
-
-
- Story notes
-
- `)
- ).toMatchSpecificSnapshot(snap('parameters'));
- });
-
- it('previews.mdx', () => {
- expect(
- generate(dedent`
- import { Button } from '@storybook/react/demo';
- import { Canvas, Story, Meta } from '@storybook/addon-docs';
-
-
-
- # Canvas
-
- Canvases can contain normal components, stories, and story references
-
-
- Just a button
-
- Hello button
-
-
- Two
-
-
-
-
- Canvas without a story
-
-
- Just a button
-
- `)
- ).toMatchSpecificSnapshot(snap('previews'));
- });
-
- it('story-args.mdx', () => {
- expect(
- generate(dedent`
- import { Button } from '@storybook/react/demo';
- import { Story, Meta } from '@storybook/addon-docs';
-
-
-
- # Args
-
- export const Template = (args) => Component notes ;
-
-
- {Template.bind({})}
-
- `)
- ).toMatchSpecificSnapshot(snap('story-args'));
- });
-
- it('story-current.mdx', () => {
- expect(
- generate(dedent`
- import { Story } from '@storybook/addon-docs';
-
- # Current story
-
-
- `)
- ).toMatchSpecificSnapshot(snap('story-current'));
- });
-
- it('story-def-text-only.mdx', () => {
- expect(
- generate(dedent`
- import { Story, Meta } from '@storybook/addon-docs';
-
-
-
- # Story definition
-
- Plain text
- `)
- ).toMatchSpecificSnapshot(snap('story-def-text-only'));
- });
-
- it('story-definitions.mdx', () => {
- expect(
- generate(dedent`
- import { Button } from '@storybook/react/demo';
- import { Story, Meta } from '@storybook/addon-docs';
-
-
-
- # Story definition
-
-
- One
-
-
-
- Hello button
-
-
-
- with punctuation
-
-
-
- starts with number
-
- `)
- ).toMatchSpecificSnapshot(snap('story-definitions'));
- });
-
- it('story-function-var.mdx', () => {
- expect(
- generate(dedent`
- import { Meta, Story } from '@storybook/addon-docs';
-
-
-
- export const basicFn = () => ;
-
- # Button
-
- I can define a story with the function defined in CSF:
-
- {basicFn}
- `)
- ).toMatchSpecificSnapshot(snap('story-function-var'));
- });
-
- it('story-function.mdx', () => {
- expect(
- generate(dedent`
-
- {() => {
- const btn = document.createElement('button');
- btn.innerHTML = 'Hello Button';
- btn.addEventListener('click', action('Click'));
- return btn;
- }}
-
- `)
- ).toMatchSpecificSnapshot(snap('story-function'));
- });
-
- it('story-multiple-children.mdx', () => {
- expect(
- generate(dedent`
- import { Story, Meta } from '@storybook/addon-docs';
-
-
-
- # Multiple children
-
-
- Hello Child #1
- Hello Child #2
-
- `)
- ).toMatchSpecificSnapshot(snap('story-multiple-children'));
- });
-
- it('story-object.mdx', () => {
- expect(
- generate(dedent`
- import { Story, Meta } from '@storybook/addon-docs';
- import { Welcome, Button } from '@storybook/angular/demo';
- import { linkTo } from '@storybook/addon-links';
-
-
-
- # Story object
-
-
- {{
- template: ' ',
- props: {
- showApp: linkTo('Button'),
- },
- moduleMetadata: {
- declarations: [Welcome],
- },
- }}
-
- `)
- ).toMatchSpecificSnapshot(snap('story-object'));
- });
-
- it('story-references.mdx', () => {
- expect(
- generate(dedent`
- import { Story } from '@storybook/addon-docs';
-
- # Story reference
-
-
- `)
- ).toMatchSpecificSnapshot(snap('story-references'));
- });
-
- it('title-template-string.mdx', () => {
- expect(
- generate(
- [
- "import { Meta, Story } from '@storybook/addon-docs';",
- "import { titleFunction } from '../title-generators';",
- '',
- // eslint-disable-next-line no-template-curly-in-string
- " ",
- ].join('\n')
- )
- ).toMatchSpecificSnapshot(snap('title-template-string'));
- });
-
- it('vanilla.mdx', () => {
- expect(
- generate(dedent`
- import { Button } from '@storybook/react/demo';
-
- # Hello MDX
-
- This is some random content.
-
- Hello button
- `)
- ).toMatchSpecificSnapshot(snap('vanilla'));
- });
-
- it('errors on missing story props', async () => {
- await expect(async () =>
- generate(dedent`
- import { Button } from '@storybook/react/demo';
- import { Story, Meta } from '@storybook/addon-docs';
-
-
-
- # Bad story
-
-
- One
-
- `)
- ).rejects.toThrow('Expected a Story name, id, or story attribute');
- });
-
- describe('csf3', () => {
- it('auto-title-docs-only.mdx', () => {
- expect(
- generate(dedent`
- import { Meta } from '@storybook/addon-docs';
-
-
-
- # Auto-title Docs Only
-
- Spme **markdown** here!
- `)
- ).toMatchSpecificSnapshot(snap('auto-title-docs-only'));
- });
-
- it('auto-title.mdx', () => {
- expect(
- generate(dedent`
- import { Button } from '@storybook/react/demo';
- import { Story, Meta } from '@storybook/addon-docs';
-
-
-
-
- Basic
-
- `)
- ).toMatchSpecificSnapshot(snap('auto-title'));
- });
-
- it('default-render.mdx', () => {
- expect(
- generate(dedent`
- import { Button } from '@storybook/react/demo';
- import { Story, Meta } from '@storybook/addon-docs';
-
-
-
-
- `)
- ).toMatchSpecificSnapshot(snap('default-render'));
- });
-
- it('component-render.mdx', () => {
- expect(
- generate(dedent`
- import { Button } from '@storybook/react/demo';
- import { Story, Meta } from '@storybook/addon-docs';
-
- } />
-
-
- `)
- ).toMatchSpecificSnapshot(snap('component-render'));
- });
-
- it('story-render.mdx', () => {
- expect(
- generate(dedent`
- import { Button } from '@storybook/react/demo';
- import { Story, Meta } from '@storybook/addon-docs';
-
-
-
- } />
- `)
- ).toMatchSpecificSnapshot(snap('story-render'));
- });
-
- it('story-play.mdx', () => {
- expect(
- generate(dedent`
- import { Button } from '@storybook/react/demo';
- import { Story, Meta } from '@storybook/addon-docs';
-
-
-
- console.log('play')} />
- `)
- ).toMatchSpecificSnapshot(snap('story-play'));
- });
- });
-});
diff --git a/lib/csf-tools/src/mdx/sb-mdx-plugin.ts b/lib/csf-tools/src/mdx/sb-mdx-plugin.ts
deleted file mode 100644
index 46199dd89d0f..000000000000
--- a/lib/csf-tools/src/mdx/sb-mdx-plugin.ts
+++ /dev/null
@@ -1,521 +0,0 @@
-import { toJSX } from '@mdx-js/mdx/mdx-hast-to-jsx';
-import { parse, parseExpression } from '@babel/parser';
-import * as t from '@babel/types';
-import generate from '@babel/generator';
-import camelCase from 'lodash/camelCase';
-import jsStringEscape from 'js-string-escape';
-
-// Defined in MDX2.0
-interface MdxOptions {
- filepath?: string;
- skipExport?: boolean;
- wrapExport?: string;
- remarkPlugins?: any[];
- rehypePlugins?: any[];
-}
-
-interface CompilerOptions {
- filepath?: string;
-}
-
-interface Element {
- type: string;
- children: Element[];
- value: string;
-}
-
-interface Context {
- counter: number;
- namedExports: Record;
- storyNameToKey: Record;
- root: Element;
-}
-
-type MetaExport = Record;
-
-// Generate the MDX as is, but append named exports for every
-// story in the contents
-
-const STORY_REGEX = /^]/;
-const CANVAS_REGEX = /^<(Preview|Canvas)[\s>]/;
-const META_REGEX = /^ ]/;
-const RESERVED =
- /^(?:do|if|in|for|let|new|try|var|case|else|enum|eval|false|null|this|true|void|with|await|break|catch|class|const|super|throw|while|yield|delete|export|import|public|return|static|switch|typeof|default|extends|finally|package|private|continue|debugger|function|arguments|interface|protected|implements|instanceof)$/;
-
-function getAttr(elt: t.JSXOpeningElement, what: string): t.JSXAttribute['value'] | undefined {
- const attr = (elt.attributes as t.JSXAttribute[]).find((n) => n.name.name === what);
- return attr?.value;
-}
-
-const isReserved = (name: string) => RESERVED.exec(name);
-const startsWithNumber = (name: string) => /^\d/.exec(name);
-
-const sanitizeName = (name: string) => {
- let key = camelCase(name);
- if (startsWithNumber(key)) {
- key = `_${key}`;
- } else if (isReserved(key)) {
- key = `${key}Story`;
- }
- return key;
-};
-
-const getStoryKey = (name: string, counter: number) =>
- name ? sanitizeName(name) : `story${counter}`;
-
-function genAttribute(key: string, element: t.JSXOpeningElement) {
- const value = getAttr(element, key);
- if (t.isJSXExpressionContainer(value)) {
- const { code } = generate(value.expression, {});
- return code;
- }
- return undefined;
-}
-
-function genImportStory(
- ast: t.JSXElement,
- storyDef: t.JSXExpressionContainer,
- storyName: string,
- context: Context
-) {
- const { code: story } = generate(storyDef.expression, {});
-
- const storyKey = `_${story.split('.').pop()}_`;
-
- const statements = [`export const ${storyKey} = ${story};`];
- if (storyName) {
- context.storyNameToKey[storyName] = storyKey;
- statements.push(`${storyKey}.storyName = '${storyName}';`);
- } else {
- context.storyNameToKey[storyKey] = storyKey;
- ast.openingElement.attributes.push(
- t.jsxAttribute(t.jsxIdentifier('name'), t.stringLiteral(storyKey))
- );
- }
- return {
- [storyKey]: statements.join('\n'),
- };
-}
-
-function getBodyPart(bodyNode: t.Node, context: Context) {
- const body = t.isJSXExpressionContainer(bodyNode) ? bodyNode.expression : bodyNode;
- let sourceBody = body;
- if (
- t.isCallExpression(body) &&
- t.isMemberExpression(body.callee) &&
- t.isIdentifier(body.callee.object) &&
- t.isIdentifier(body.callee.property) &&
- body.callee.property.name === 'bind' &&
- (body.arguments.length === 0 ||
- (body.arguments.length === 1 &&
- t.isObjectExpression(body.arguments[0]) &&
- body.arguments[0].properties.length === 0))
- ) {
- const bound = body.callee.object.name;
- const namedExport = context.namedExports[bound];
- if (namedExport) {
- sourceBody = namedExport;
- }
- }
-
- const { code: storyCode } = generate(body, {});
- const { code: sourceCode } = generate(sourceBody, {});
- return { storyCode, sourceCode, body };
-}
-
-const idOrNull = (attr: t.JSXAttribute['value']) => (t.isStringLiteral(attr) ? attr.value : null);
-const expressionOrNull = (attr: t.JSXAttribute['value']) =>
- t.isJSXExpressionContainer(attr) ? attr.expression : null;
-
-function genStoryExport(ast: t.JSXElement, context: Context) {
- const storyName = idOrNull(getAttr(ast.openingElement, 'name'));
- const storyId = idOrNull(getAttr(ast.openingElement, 'id'));
- const storyRef = getAttr(ast.openingElement, 'story') as t.JSXExpressionContainer;
-
- if (!storyId && !storyName && !storyRef) {
- throw new Error('Expected a Story name, id, or story attribute');
- }
-
- // We don't generate exports for story references or the smart "current story"
- if (storyId) {
- return null;
- }
-
- if (storyRef) {
- return genImportStory(ast, storyRef, storyName, context);
- }
-
- const statements = [];
- const storyKey = getStoryKey(storyName, context.counter);
-
- const bodyNodes = ast.children.filter((n) => !t.isJSXText(n));
- let storyCode = null;
- let sourceCode = null;
- let storyVal = null;
- if (!bodyNodes.length) {
- if (ast.children.length > 0) {
- // plain text node
- const { code } = generate(ast.children[0], {});
- storyCode = `'${code}'`;
- sourceCode = storyCode;
- storyVal = `() => (
- ${storyCode}
- )`;
- } else {
- sourceCode = '{}';
- storyVal = '{}';
- }
- } else {
- const bodyParts = bodyNodes.map((bodyNode) => getBodyPart(bodyNode, context));
- // if we have more than two children
- // 1. Add line breaks
- // 2. Enclose in <> ... >
- storyCode = bodyParts.map(({ storyCode: code }) => code).join('\n');
- sourceCode = bodyParts.map(({ sourceCode: code }) => code).join('\n');
- const storyReactCode = bodyParts.length > 1 ? `<>\n${storyCode}\n>` : storyCode;
- // keep track if an identifier or function call
- // avoid breaking change for 5.3
- const BIND_REGEX = /\.bind\(.*\)/;
- if (bodyParts.length === 1) {
- if (BIND_REGEX.test(bodyParts[0].storyCode)) {
- storyVal = bodyParts[0].storyCode;
- } else if (t.isIdentifier(bodyParts[0].body)) {
- storyVal = `assertIsFn(${storyCode})`;
- } else if (t.isArrowFunctionExpression(bodyParts[0].body)) {
- storyVal = `(${storyCode})`;
- } else {
- storyVal = `() => (
- ${storyReactCode}
- )`;
- }
- } else {
- storyVal = `() => (
- ${storyReactCode}
- )`;
- }
- }
-
- statements.push(`export const ${storyKey} = ${storyVal};`);
-
- // always preserve the name, since CSF exports can get modified by displayName
- statements.push(`${storyKey}.storyName = '${storyName}';`);
-
- const argTypes = genAttribute('argTypes', ast.openingElement);
- if (argTypes) statements.push(`${storyKey}.argTypes = ${argTypes};`);
-
- const args = genAttribute('args', ast.openingElement);
- if (args) statements.push(`${storyKey}.args = ${args};`);
-
- const parameters = expressionOrNull(getAttr(ast.openingElement, 'parameters'));
- const source = jsStringEscape(sourceCode);
- const sourceParam = `storySource: { source: '${source}' }`;
- if (parameters) {
- const { code: params } = generate(parameters, {});
- statements.push(`${storyKey}.parameters = { ${sourceParam}, ...${params} };`);
- } else {
- statements.push(`${storyKey}.parameters = { ${sourceParam} };`);
- }
-
- const decorators = expressionOrNull(getAttr(ast.openingElement, 'decorators'));
- if (decorators) {
- const { code: decos } = generate(decorators, {});
- statements.push(`${storyKey}.decorators = ${decos};`);
- }
-
- const loaders = expressionOrNull(getAttr(ast.openingElement, 'loaders'));
- if (loaders) {
- const { code: loaderCode } = generate(loaders, {});
- statements.push(`${storyKey}.loaders = ${loaderCode};`);
- }
-
- const play = expressionOrNull(getAttr(ast.openingElement, 'play'));
- if (play) {
- const { code: playCode } = generate(play, {});
- statements.push(`${storyKey}.play = ${playCode};`);
- }
-
- const render = expressionOrNull(getAttr(ast.openingElement, 'render'));
- if (render) {
- const { code: renderCode } = generate(render, {});
- statements.push(`${storyKey}.render = ${renderCode};`);
- }
-
- context.storyNameToKey[storyName] = storyKey;
-
- return {
- [storyKey]: statements.join('\n'),
- };
-}
-
-function genCanvasExports(ast: t.JSXElement, context: Context) {
- const canvasExports = {};
- for (let i = 0; i < ast.children.length; i += 1) {
- const child = ast.children[i];
- if (
- t.isJSXElement(child) &&
- t.isJSXIdentifier(child.openingElement.name) &&
- child.openingElement.name.name === 'Story'
- ) {
- const storyExport = genStoryExport(child, context);
- const { code } = generate(child, {});
- // @ts-ignore
- child.value = code;
- if (storyExport) {
- Object.assign(canvasExports, storyExport);
- context.counter += 1;
- }
- }
- }
- return canvasExports;
-}
-
-function genMeta(ast: t.JSXElement, options: CompilerOptions) {
- const titleAttr = getAttr(ast.openingElement, 'title');
- const idAttr = getAttr(ast.openingElement, 'id');
- let title = null;
- if (titleAttr) {
- if (t.isStringLiteral(titleAttr)) {
- title = "'".concat(jsStringEscape(titleAttr.value), "'");
- } else if (t.isJSXExpressionContainer(titleAttr)) {
- try {
- // generate code, so the expression is evaluated by the CSF compiler
- const { code } = generate(titleAttr.expression, {});
- // remove the curly brackets at start and end of code
- title = code.replace(/^\{(.+)\}$/, '$1');
- } catch (e) {
- // eat exception if title parsing didn't go well
- // eslint-disable-next-line no-console
- console.warn('Invalid title:', options.filepath);
- title = undefined;
- }
- } else {
- console.warn(`Unknown title attr: ${titleAttr.type}`);
- }
- }
- const id = t.isStringLiteral(idAttr) ? `'${idAttr.value}'` : null;
- const parameters = genAttribute('parameters', ast.openingElement);
- const decorators = genAttribute('decorators', ast.openingElement);
- const loaders = genAttribute('loaders', ast.openingElement);
- const component = genAttribute('component', ast.openingElement);
- const subcomponents = genAttribute('subcomponents', ast.openingElement);
- const args = genAttribute('args', ast.openingElement);
- const argTypes = genAttribute('argTypes', ast.openingElement);
- const render = genAttribute('render', ast.openingElement);
-
- return {
- title,
- id,
- parameters,
- decorators,
- loaders,
- component,
- subcomponents,
- args,
- argTypes,
- render,
- };
-}
-
-function getExports(node: Element, context: Context, options: CompilerOptions) {
- const { value, type } = node;
- if (type === 'jsx') {
- if (STORY_REGEX.exec(value)) {
- // Single story
- const ast = parseExpression(value, {
- plugins: ['jsx'],
- }) as unknown as t.JSXElement;
- const storyExport = genStoryExport(ast, context);
- const { code } = generate(ast, {});
- // eslint-disable-next-line no-param-reassign
- node.value = code;
- return storyExport && { stories: storyExport };
- }
- if (CANVAS_REGEX.exec(value)) {
- // Canvas/Preview, possibly containing multiple stories
- const ast = parseExpression(value, { plugins: ['jsx'] }) as t.JSXElement;
-
- const canvasExports = genCanvasExports(ast, context);
-
- // We're overwriting the Canvas tag here with a version that
- // has the `name` attribute (e.g. ` `)
- // even if the user didn't provide one. We need the name attribute when
- // we render the node at runtime.
- const { code } = generate(ast, {});
- // eslint-disable-next-line no-param-reassign
- node.value = code;
- return { stories: canvasExports };
- }
- if (META_REGEX.exec(value)) {
- const ast = parseExpression(value, { plugins: ['jsx'] }) as t.JSXElement;
- return { meta: genMeta(ast, options) };
- }
- }
- return null;
-}
-
-// insert `mdxStoryNameToKey` and `mdxComponentMeta` into the context so that we
-// can reconstruct the Story ID dynamically from the `name` at render time
-const wrapperJs = `
-componentMeta.parameters = componentMeta.parameters || {};
-componentMeta.parameters.docs = {
- ...(componentMeta.parameters.docs || {}),
- page: () => ,
-};
-`.trim();
-
-// Use this rather than JSON.stringify because `Meta`'s attributes
-// are already valid code strings, so we want to insert them raw
-// rather than add an extra set of quotes
-function stringifyMeta(meta: object) {
- let result = '{ ';
- Object.entries(meta).forEach(([key, val]) => {
- if (val) {
- result += `${key}: ${val}, `;
- }
- });
- result += ' }';
- return result;
-}
-
-const hasStoryChild = (node: t.JSXElement): boolean => {
- if (
- node.openingElement &&
- t.isJSXIdentifier(node.openingElement.name) &&
- node.openingElement.name.name === 'Story'
- ) {
- return !!node;
- }
- if (node.children && node.children.length > 0) {
- return !!node.children.find((child: t.JSXElement) => hasStoryChild(child));
- }
- return false;
-};
-
-const getMdxSource = (children: t.Node[]) =>
- encodeURI(children.map((el) => generate(el).code).join('\n'));
-
-// Parse out the named exports from a node, where the key
-// is the variable name and the value is the AST of the
-// variable declaration initializer
-const getNamedExports = (node: Element) => {
- const namedExports: Record = {};
- const ast = parse(node.value, {
- sourceType: 'module',
- plugins: ['jsx'],
- // FIXME!!! presets: ['env]
- });
- if (t.isFile(ast) && t.isProgram(ast.program) && ast.program.body.length === 1) {
- const exported = ast.program.body[0];
- if (
- t.isExportNamedDeclaration(exported) &&
- t.isVariableDeclaration(exported.declaration) &&
- exported.declaration.declarations.length === 1
- ) {
- const declaration = exported.declaration.declarations[0];
- if (t.isVariableDeclarator(declaration) && t.isIdentifier(declaration.id)) {
- const { name } = declaration.id;
- namedExports[name] = declaration.init;
- }
- }
- }
- return namedExports;
-};
-
-function extractExports(root: Element, options: CompilerOptions) {
- const namedExports = {};
- root.children.forEach((child) => {
- if (child.type === 'jsx') {
- try {
- const ast = parseExpression(child.value, { plugins: ['jsx'] }) as t.JSXElement;
- if (
- t.isJSXOpeningElement(ast.openingElement) &&
- ['Preview', 'Canvas'].includes((ast.openingElement.name as t.JSXIdentifier).name) &&
- !hasStoryChild(ast)
- ) {
- const canvasAst = ast.openingElement;
- canvasAst.attributes.push(
- t.jsxAttribute(
- t.jsxIdentifier('mdxSource'),
- t.stringLiteral(getMdxSource(ast.children))
- )
- );
- }
- const { code } = generate(ast, {});
- // eslint-disable-next-line no-param-reassign
- child.value = code;
- } catch {
- /** catch erroneous child.value string where the babel parseExpression makes exception
- * https://github.com/mdx-js/mdx/issues/767
- * eg
- * hello world
- *
- *
- * generates error
- * 1. child.value =`\n hello world
`
- *
- */
- }
- } else if (child.type === 'export') {
- Object.assign(namedExports, getNamedExports(child));
- }
- });
- // we're overriding default export
- const storyExports = [];
- const includeStories = [];
- let metaExport: MetaExport | null = null;
- const context: Context = {
- counter: 0,
- storyNameToKey: {},
- root,
- namedExports,
- };
- root.children.forEach((n) => {
- const exports = getExports(n, context, options);
- if (exports) {
- const { stories, meta } = exports;
- if (stories) {
- Object.entries(stories).forEach(([key, story]) => {
- includeStories.push(key);
- storyExports.push(story);
- });
- }
- if (meta) {
- if (metaExport) {
- throw new Error('Meta can only be declared once');
- }
- metaExport = meta;
- }
- }
- });
- if (metaExport) {
- if (!storyExports.length) {
- storyExports.push('export const __page = () => { throw new Error("Docs-only story"); };');
- storyExports.push('__page.parameters = { docsOnly: true };');
- includeStories.push('__page');
- }
- } else {
- metaExport = {};
- }
- metaExport.includeStories = JSON.stringify(includeStories);
-
- const defaultJsx = toJSX(root, {}, { ...options, skipExport: true });
- const fullJsx = [
- 'import { assertIsFn, AddContext } from "@storybook/addon-docs";',
- defaultJsx,
- ...storyExports,
- `const componentMeta = ${stringifyMeta(metaExport)};`,
- `const mdxStoryNameToKey = ${JSON.stringify(context.storyNameToKey)};`,
- wrapperJs,
- 'export default componentMeta;',
- ].join('\n\n');
-
- return fullJsx;
-}
-
-export function createCompiler(mdxOptions: MdxOptions) {
- return function compiler(options: CompilerOptions = {}) {
- this.Compiler = (root: Element) => extractExports(root, options);
- };
-}
diff --git a/lib/csf-tools/src/mdx/typings.d.ts b/lib/csf-tools/src/mdx/typings.d.ts
deleted file mode 100644
index 42d98b32bbab..000000000000
--- a/lib/csf-tools/src/mdx/typings.d.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-declare module '@mdx-js/react';
-declare module '@mdx-js/mdx';
-declare module '@mdx-js/mdx/mdx-hast-to-jsx';
-declare module 'js-string-escape';
diff --git a/lib/csf-tools/src/typings.d.ts b/lib/csf-tools/src/typings.d.ts
deleted file mode 100644
index 2f4eb9cf4fd9..000000000000
--- a/lib/csf-tools/src/typings.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-declare module 'global';
diff --git a/lib/docs-tools/README.md b/lib/docs-tools/README.md
new file mode 100644
index 000000000000..e89ac9196c3b
--- /dev/null
+++ b/lib/docs-tools/README.md
@@ -0,0 +1,9 @@
+# Storybook Docs Utils
+
+Shared utility functions for frameworks to implement docs:
+
+- ArgType extraction
+- Dynamic snippet generation
+- Is the user using docs or controls?
+
+This library is used by most framework packages so it and its dependencies should be minimized
diff --git a/lib/docs-tools/package.json b/lib/docs-tools/package.json
new file mode 100644
index 000000000000..0382e70ce532
--- /dev/null
+++ b/lib/docs-tools/package.json
@@ -0,0 +1,60 @@
+{
+ "name": "@storybook/docs-tools",
+ "version": "6.5.0-alpha.48",
+ "description": "Shared utility functions for frameworks to implement docs",
+ "keywords": [
+ "storybook"
+ ],
+ "homepage": "https://github.com/storybookjs/storybook/tree/main/lib/docs-tools",
+ "bugs": {
+ "url": "https://github.com/storybookjs/storybook/issues"
+ },
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/storybookjs/storybook.git",
+ "directory": "lib/docs-tools"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/storybook"
+ },
+ "license": "MIT",
+ "sideEffects": false,
+ "main": "dist/cjs/index.js",
+ "module": "dist/esm/index.js",
+ "types": "dist/ts3.9/index.d.ts",
+ "typesVersions": {
+ "<3.8": {
+ "dist/ts3.9/*": [
+ "dist/ts3.4/*"
+ ]
+ }
+ },
+ "files": [
+ "dist/**/*",
+ "README.md",
+ "*.js",
+ "*.d.ts"
+ ],
+ "scripts": {
+ "prepare": "node ../../scripts/prepare.js"
+ },
+ "dependencies": {
+ "@babel/core": "^7.12.10",
+ "@storybook/csf": "0.0.2--canary.87bc651.0",
+ "@storybook/store": "6.5.0-alpha.48",
+ "core-js": "^3.8.2",
+ "doctrine": "^3.0.0",
+ "lodash": "^4.17.21",
+ "regenerator-runtime": "^0.13.7"
+ },
+ "devDependencies": {
+ "jest-specific-snapshot": "^4.0.0",
+ "require-from-string": "^2.0.2"
+ },
+ "publishConfig": {
+ "access": "public"
+ },
+ "gitHead": "5f3afb8cf4389c16be11a6e5099e902d16a82762",
+ "sbmodern": "dist/modern/index.js"
+}
diff --git a/addons/docs/src/lib/convert/__testfixtures__/proptypes/arrays.js b/lib/docs-tools/src/argTypes/convert/__testfixtures__/proptypes/arrays.js
similarity index 100%
rename from addons/docs/src/lib/convert/__testfixtures__/proptypes/arrays.js
rename to lib/docs-tools/src/argTypes/convert/__testfixtures__/proptypes/arrays.js
diff --git a/addons/docs/src/lib/convert/__testfixtures__/proptypes/enums.js b/lib/docs-tools/src/argTypes/convert/__testfixtures__/proptypes/enums.js
similarity index 100%
rename from addons/docs/src/lib/convert/__testfixtures__/proptypes/enums.js
rename to lib/docs-tools/src/argTypes/convert/__testfixtures__/proptypes/enums.js
diff --git a/addons/docs/src/lib/convert/__testfixtures__/proptypes/misc.js b/lib/docs-tools/src/argTypes/convert/__testfixtures__/proptypes/misc.js
similarity index 100%
rename from addons/docs/src/lib/convert/__testfixtures__/proptypes/misc.js
rename to lib/docs-tools/src/argTypes/convert/__testfixtures__/proptypes/misc.js
diff --git a/addons/docs/src/lib/convert/__testfixtures__/proptypes/objects.js b/lib/docs-tools/src/argTypes/convert/__testfixtures__/proptypes/objects.js
similarity index 100%
rename from addons/docs/src/lib/convert/__testfixtures__/proptypes/objects.js
rename to lib/docs-tools/src/argTypes/convert/__testfixtures__/proptypes/objects.js
diff --git a/addons/docs/src/lib/convert/__testfixtures__/proptypes/react.js b/lib/docs-tools/src/argTypes/convert/__testfixtures__/proptypes/react.js
similarity index 100%
rename from addons/docs/src/lib/convert/__testfixtures__/proptypes/react.js
rename to lib/docs-tools/src/argTypes/convert/__testfixtures__/proptypes/react.js
diff --git a/addons/docs/src/lib/convert/__testfixtures__/proptypes/scalars.js b/lib/docs-tools/src/argTypes/convert/__testfixtures__/proptypes/scalars.js
similarity index 100%
rename from addons/docs/src/lib/convert/__testfixtures__/proptypes/scalars.js
rename to lib/docs-tools/src/argTypes/convert/__testfixtures__/proptypes/scalars.js
diff --git a/addons/docs/src/lib/convert/__testfixtures__/typescript/aliases.tsx b/lib/docs-tools/src/argTypes/convert/__testfixtures__/typescript/aliases.tsx
similarity index 100%
rename from addons/docs/src/lib/convert/__testfixtures__/typescript/aliases.tsx
rename to lib/docs-tools/src/argTypes/convert/__testfixtures__/typescript/aliases.tsx
diff --git a/addons/docs/src/lib/convert/__testfixtures__/typescript/arrays.tsx b/lib/docs-tools/src/argTypes/convert/__testfixtures__/typescript/arrays.tsx
similarity index 100%
rename from addons/docs/src/lib/convert/__testfixtures__/typescript/arrays.tsx
rename to lib/docs-tools/src/argTypes/convert/__testfixtures__/typescript/arrays.tsx
diff --git a/addons/docs/src/lib/convert/__testfixtures__/typescript/enums.tsx b/lib/docs-tools/src/argTypes/convert/__testfixtures__/typescript/enums.tsx
similarity index 100%
rename from addons/docs/src/lib/convert/__testfixtures__/typescript/enums.tsx
rename to lib/docs-tools/src/argTypes/convert/__testfixtures__/typescript/enums.tsx
diff --git a/addons/docs/src/lib/convert/__testfixtures__/typescript/functions.tsx b/lib/docs-tools/src/argTypes/convert/__testfixtures__/typescript/functions.tsx
similarity index 100%
rename from addons/docs/src/lib/convert/__testfixtures__/typescript/functions.tsx
rename to lib/docs-tools/src/argTypes/convert/__testfixtures__/typescript/functions.tsx
diff --git a/addons/docs/src/lib/convert/__testfixtures__/typescript/interfaces.tsx b/lib/docs-tools/src/argTypes/convert/__testfixtures__/typescript/interfaces.tsx
similarity index 100%
rename from addons/docs/src/lib/convert/__testfixtures__/typescript/interfaces.tsx
rename to lib/docs-tools/src/argTypes/convert/__testfixtures__/typescript/interfaces.tsx
diff --git a/addons/docs/src/lib/convert/__testfixtures__/typescript/intersections.tsx b/lib/docs-tools/src/argTypes/convert/__testfixtures__/typescript/intersections.tsx
similarity index 100%
rename from addons/docs/src/lib/convert/__testfixtures__/typescript/intersections.tsx
rename to lib/docs-tools/src/argTypes/convert/__testfixtures__/typescript/intersections.tsx
diff --git a/addons/docs/src/lib/convert/__testfixtures__/typescript/optionals.tsx b/lib/docs-tools/src/argTypes/convert/__testfixtures__/typescript/optionals.tsx
similarity index 100%
rename from addons/docs/src/lib/convert/__testfixtures__/typescript/optionals.tsx
rename to lib/docs-tools/src/argTypes/convert/__testfixtures__/typescript/optionals.tsx
diff --git a/addons/docs/src/lib/convert/__testfixtures__/typescript/records.tsx b/lib/docs-tools/src/argTypes/convert/__testfixtures__/typescript/records.tsx
similarity index 100%
rename from addons/docs/src/lib/convert/__testfixtures__/typescript/records.tsx
rename to lib/docs-tools/src/argTypes/convert/__testfixtures__/typescript/records.tsx
diff --git a/addons/docs/src/lib/convert/__testfixtures__/typescript/scalars.tsx b/lib/docs-tools/src/argTypes/convert/__testfixtures__/typescript/scalars.tsx
similarity index 100%
rename from addons/docs/src/lib/convert/__testfixtures__/typescript/scalars.tsx
rename to lib/docs-tools/src/argTypes/convert/__testfixtures__/typescript/scalars.tsx
diff --git a/addons/docs/src/lib/convert/__testfixtures__/typescript/tuples.tsx b/lib/docs-tools/src/argTypes/convert/__testfixtures__/typescript/tuples.tsx
similarity index 100%
rename from addons/docs/src/lib/convert/__testfixtures__/typescript/tuples.tsx
rename to lib/docs-tools/src/argTypes/convert/__testfixtures__/typescript/tuples.tsx
diff --git a/addons/docs/src/lib/convert/__testfixtures__/typescript/unions.tsx b/lib/docs-tools/src/argTypes/convert/__testfixtures__/typescript/unions.tsx
similarity index 100%
rename from addons/docs/src/lib/convert/__testfixtures__/typescript/unions.tsx
rename to lib/docs-tools/src/argTypes/convert/__testfixtures__/typescript/unions.tsx
diff --git a/addons/docs/src/lib/convert/convert.test.ts b/lib/docs-tools/src/argTypes/convert/convert.test.ts
similarity index 100%
rename from addons/docs/src/lib/convert/convert.test.ts
rename to lib/docs-tools/src/argTypes/convert/convert.test.ts
diff --git a/addons/docs/src/lib/convert/flow/convert.ts b/lib/docs-tools/src/argTypes/convert/flow/convert.ts
similarity index 92%
rename from addons/docs/src/lib/convert/flow/convert.ts
rename to lib/docs-tools/src/argTypes/convert/flow/convert.ts
index e61a8c6acd4d..5eb262e75fbd 100644
--- a/addons/docs/src/lib/convert/flow/convert.ts
+++ b/lib/docs-tools/src/argTypes/convert/flow/convert.ts
@@ -1,6 +1,6 @@
/* eslint-disable no-case-declarations */
-import { SBType } from '@storybook/csf';
-import { FlowType, FlowSigType, FlowLiteralType } from './types';
+import type { SBType } from '@storybook/csf';
+import type { FlowType, FlowSigType, FlowLiteralType } from './types';
const isLiteral = (type: FlowType) => type.name === 'literal';
const toEnumOption = (element: FlowLiteralType) => element.value.replace(/['|"]/g, '');
diff --git a/addons/docs/src/lib/convert/flow/index.ts b/lib/docs-tools/src/argTypes/convert/flow/index.ts
similarity index 100%
rename from addons/docs/src/lib/convert/flow/index.ts
rename to lib/docs-tools/src/argTypes/convert/flow/index.ts
diff --git a/addons/docs/src/lib/convert/flow/types.ts b/lib/docs-tools/src/argTypes/convert/flow/types.ts
similarity index 100%
rename from addons/docs/src/lib/convert/flow/types.ts
rename to lib/docs-tools/src/argTypes/convert/flow/types.ts
diff --git a/addons/docs/src/lib/convert/index.ts b/lib/docs-tools/src/argTypes/convert/index.ts
similarity index 100%
rename from addons/docs/src/lib/convert/index.ts
rename to lib/docs-tools/src/argTypes/convert/index.ts
diff --git a/addons/docs/src/lib/convert/proptypes/convert.ts b/lib/docs-tools/src/argTypes/convert/proptypes/convert.ts
similarity index 96%
rename from addons/docs/src/lib/convert/proptypes/convert.ts
rename to lib/docs-tools/src/argTypes/convert/proptypes/convert.ts
index 2f25913a98c6..277b3e464799 100644
--- a/addons/docs/src/lib/convert/proptypes/convert.ts
+++ b/lib/docs-tools/src/argTypes/convert/proptypes/convert.ts
@@ -1,7 +1,7 @@
/* eslint-disable no-case-declarations */
import mapValues from 'lodash/mapValues';
-import { SBType } from '@storybook/csf';
-import { PTType } from './types';
+import type { SBType } from '@storybook/csf';
+import type { PTType } from './types';
import { includesQuotes, trimQuotes } from '../utils';
const SIGNATURE_REGEXP = /^\(.*\) => /;
diff --git a/addons/docs/src/lib/convert/proptypes/index.ts b/lib/docs-tools/src/argTypes/convert/proptypes/index.ts
similarity index 100%
rename from addons/docs/src/lib/convert/proptypes/index.ts
rename to lib/docs-tools/src/argTypes/convert/proptypes/index.ts
diff --git a/addons/docs/src/lib/convert/proptypes/types.ts b/lib/docs-tools/src/argTypes/convert/proptypes/types.ts
similarity index 100%
rename from addons/docs/src/lib/convert/proptypes/types.ts
rename to lib/docs-tools/src/argTypes/convert/proptypes/types.ts
diff --git a/addons/docs/src/lib/convert/typescript/convert.ts b/lib/docs-tools/src/argTypes/convert/typescript/convert.ts
similarity index 92%
rename from addons/docs/src/lib/convert/typescript/convert.ts
rename to lib/docs-tools/src/argTypes/convert/typescript/convert.ts
index bae2e7235e9c..6bfc3d3eac16 100644
--- a/addons/docs/src/lib/convert/typescript/convert.ts
+++ b/lib/docs-tools/src/argTypes/convert/typescript/convert.ts
@@ -1,6 +1,6 @@
/* eslint-disable no-case-declarations */
-import { SBType } from '@storybook/csf';
-import { TSType, TSSigType } from './types';
+import type { SBType } from '@storybook/csf';
+import type { TSType, TSSigType } from './types';
const convertSig = (type: TSSigType) => {
switch (type.type) {
diff --git a/addons/docs/src/lib/convert/typescript/index.ts b/lib/docs-tools/src/argTypes/convert/typescript/index.ts
similarity index 100%
rename from addons/docs/src/lib/convert/typescript/index.ts
rename to lib/docs-tools/src/argTypes/convert/typescript/index.ts
diff --git a/addons/docs/src/lib/convert/typescript/types.ts b/lib/docs-tools/src/argTypes/convert/typescript/types.ts
similarity index 100%
rename from addons/docs/src/lib/convert/typescript/types.ts
rename to lib/docs-tools/src/argTypes/convert/typescript/types.ts
diff --git a/addons/docs/src/lib/convert/utils.ts b/lib/docs-tools/src/argTypes/convert/utils.ts
similarity index 100%
rename from addons/docs/src/lib/convert/utils.ts
rename to lib/docs-tools/src/argTypes/convert/utils.ts
diff --git a/addons/docs/src/lib/docgen/PropDef.ts b/lib/docs-tools/src/argTypes/docgen/PropDef.ts
similarity index 100%
rename from addons/docs/src/lib/docgen/PropDef.ts
rename to lib/docs-tools/src/argTypes/docgen/PropDef.ts
diff --git a/addons/docs/src/lib/docgen/createPropDef.ts b/lib/docs-tools/src/argTypes/docgen/createPropDef.ts
similarity index 98%
rename from addons/docs/src/lib/docgen/createPropDef.ts
rename to lib/docs-tools/src/argTypes/docgen/createPropDef.ts
index 3916a3aeff35..e39bb07c6ea5 100644
--- a/addons/docs/src/lib/docgen/createPropDef.ts
+++ b/lib/docs-tools/src/argTypes/docgen/createPropDef.ts
@@ -1,4 +1,4 @@
-import { PropDefaultValue } from '@storybook/components';
+import { PropDefaultValue } from './PropDef';
import { PropDef, TypeSystem, DocgenInfo, DocgenType, DocgenPropDefaultValue } from './types';
import { JsDocParsingResult } from '../jsdocParser';
import { createSummaryValue } from '../utils';
diff --git a/addons/docs/src/lib/docgen/extractDocgenProps.test.ts b/lib/docs-tools/src/argTypes/docgen/extractDocgenProps.test.ts
similarity index 99%
rename from addons/docs/src/lib/docgen/extractDocgenProps.test.ts
rename to lib/docs-tools/src/argTypes/docgen/extractDocgenProps.test.ts
index 5195cf2e4b3a..01c0f16cb057 100644
--- a/addons/docs/src/lib/docgen/extractDocgenProps.test.ts
+++ b/lib/docs-tools/src/argTypes/docgen/extractDocgenProps.test.ts
@@ -1,6 +1,6 @@
/* eslint-disable no-underscore-dangle */
-import { Component } from '../../blocks/types';
+import { Component } from '../types';
import { extractComponentProps } from './extractDocgenProps';
const DOCGEN_SECTION = 'props';
diff --git a/addons/docs/src/lib/docgen/extractDocgenProps.ts b/lib/docs-tools/src/argTypes/docgen/extractDocgenProps.ts
similarity index 98%
rename from addons/docs/src/lib/docgen/extractDocgenProps.ts
rename to lib/docs-tools/src/argTypes/docgen/extractDocgenProps.ts
index c7a9090adf4f..3a0bd81a6320 100644
--- a/addons/docs/src/lib/docgen/extractDocgenProps.ts
+++ b/lib/docs-tools/src/argTypes/docgen/extractDocgenProps.ts
@@ -1,4 +1,4 @@
-import { Component } from '../../blocks/types';
+import { Component } from '../types';
import { ExtractedJsDoc, parseJsDoc } from '../jsdocParser';
import { PropDef, DocgenInfo, TypeSystem } from './types';
import { getDocgenSection, isValidDocgenSection, getDocgenDescription } from './utils';
diff --git a/addons/docs/src/lib/docgen/flow/createDefaultValue.ts b/lib/docs-tools/src/argTypes/docgen/flow/createDefaultValue.ts
similarity index 91%
rename from addons/docs/src/lib/docgen/flow/createDefaultValue.ts
rename to lib/docs-tools/src/argTypes/docgen/flow/createDefaultValue.ts
index a9be5f0fe9d4..4e505ff99c0d 100644
--- a/addons/docs/src/lib/docgen/flow/createDefaultValue.ts
+++ b/lib/docs-tools/src/argTypes/docgen/flow/createDefaultValue.ts
@@ -1,4 +1,4 @@
-import { PropDefaultValue } from '@storybook/components';
+import { PropDefaultValue } from '../PropDef';
import { DocgenPropDefaultValue, DocgenPropType } from '../types';
import { createSummaryValue, isTooLongForDefaultValueSummary } from '../../utils';
import { isDefaultValueBlacklisted } from '../utils/defaultValue';
diff --git a/addons/docs/src/lib/docgen/flow/createPropDef.test.ts b/lib/docs-tools/src/argTypes/docgen/flow/createPropDef.test.ts
similarity index 100%
rename from addons/docs/src/lib/docgen/flow/createPropDef.test.ts
rename to lib/docs-tools/src/argTypes/docgen/flow/createPropDef.test.ts
diff --git a/addons/docs/src/lib/docgen/flow/createPropDef.ts b/lib/docs-tools/src/argTypes/docgen/flow/createPropDef.ts
similarity index 100%
rename from addons/docs/src/lib/docgen/flow/createPropDef.ts
rename to lib/docs-tools/src/argTypes/docgen/flow/createPropDef.ts
diff --git a/addons/docs/src/lib/docgen/flow/createType.ts b/lib/docs-tools/src/argTypes/docgen/flow/createType.ts
similarity index 97%
rename from addons/docs/src/lib/docgen/flow/createType.ts
rename to lib/docs-tools/src/argTypes/docgen/flow/createType.ts
index 2e9d86a93a4f..9ff87d4c8778 100644
--- a/addons/docs/src/lib/docgen/flow/createType.ts
+++ b/lib/docs-tools/src/argTypes/docgen/flow/createType.ts
@@ -1,4 +1,4 @@
-import { PropType } from '@storybook/components';
+import { PropType } from '../PropDef';
import { DocgenFlowType } from '../types';
import { createSummaryValue, isTooLongForTypeSummary } from '../../utils';
diff --git a/addons/docs/src/lib/docgen/index.ts b/lib/docs-tools/src/argTypes/docgen/index.ts
similarity index 76%
rename from addons/docs/src/lib/docgen/index.ts
rename to lib/docs-tools/src/argTypes/docgen/index.ts
index 4116325caa86..ade7440d7c34 100644
--- a/addons/docs/src/lib/docgen/index.ts
+++ b/lib/docs-tools/src/argTypes/docgen/index.ts
@@ -1,3 +1,4 @@
export * from './types';
export * from './utils';
export * from './extractDocgenProps';
+export * from './PropDef';
diff --git a/addons/docs/src/lib/docgen/typeScript/createDefaultValue.ts b/lib/docs-tools/src/argTypes/docgen/typeScript/createDefaultValue.ts
similarity index 87%
rename from addons/docs/src/lib/docgen/typeScript/createDefaultValue.ts
rename to lib/docs-tools/src/argTypes/docgen/typeScript/createDefaultValue.ts
index 14bfcf67b687..fd4d04788922 100644
--- a/addons/docs/src/lib/docgen/typeScript/createDefaultValue.ts
+++ b/lib/docs-tools/src/argTypes/docgen/typeScript/createDefaultValue.ts
@@ -1,4 +1,4 @@
-import { PropDefaultValue } from '@storybook/components';
+import { PropDefaultValue } from '../PropDef';
import { DocgenInfo } from '../types';
import { createSummaryValue } from '../../utils';
import { isDefaultValueBlacklisted } from '../utils/defaultValue';
diff --git a/addons/docs/src/lib/docgen/typeScript/createPropDef.test.ts b/lib/docs-tools/src/argTypes/docgen/typeScript/createPropDef.test.ts
similarity index 100%
rename from addons/docs/src/lib/docgen/typeScript/createPropDef.test.ts
rename to lib/docs-tools/src/argTypes/docgen/typeScript/createPropDef.test.ts
diff --git a/addons/docs/src/lib/docgen/typeScript/createPropDef.ts b/lib/docs-tools/src/argTypes/docgen/typeScript/createPropDef.ts
similarity index 100%
rename from addons/docs/src/lib/docgen/typeScript/createPropDef.ts
rename to lib/docs-tools/src/argTypes/docgen/typeScript/createPropDef.ts
diff --git a/addons/docs/src/lib/docgen/typeScript/createType.ts b/lib/docs-tools/src/argTypes/docgen/typeScript/createType.ts
similarity index 89%
rename from addons/docs/src/lib/docgen/typeScript/createType.ts
rename to lib/docs-tools/src/argTypes/docgen/typeScript/createType.ts
index c2022c90d4f3..9aa53722f04c 100644
--- a/addons/docs/src/lib/docgen/typeScript/createType.ts
+++ b/lib/docs-tools/src/argTypes/docgen/typeScript/createType.ts
@@ -1,4 +1,4 @@
-import { PropType } from '@storybook/components';
+import { PropType } from '../PropDef';
import { DocgenInfo } from '../types';
import { createSummaryValue } from '../../utils';
diff --git a/addons/docs/src/lib/docgen/types.ts b/lib/docs-tools/src/argTypes/docgen/types.ts
similarity index 89%
rename from addons/docs/src/lib/docgen/types.ts
rename to lib/docs-tools/src/argTypes/docgen/types.ts
index 0fb5fa82373c..3f6cd1d30204 100644
--- a/addons/docs/src/lib/docgen/types.ts
+++ b/lib/docs-tools/src/argTypes/docgen/types.ts
@@ -1,6 +1,6 @@
-import { StrictArgTypes } from '@storybook/csf';
-import { PropDef } from './PropDef';
-import { Component } from '../../blocks/types';
+import type { StrictArgTypes } from '@storybook/csf';
+import type { PropDef } from './PropDef';
+import type { Component } from '../types';
export type PropsExtractor = (component: Component) => { rows?: PropDef[] } | null;
diff --git a/addons/docs/src/lib/docgen/utils/defaultValue.ts b/lib/docs-tools/src/argTypes/docgen/utils/defaultValue.ts
similarity index 100%
rename from addons/docs/src/lib/docgen/utils/defaultValue.ts
rename to lib/docs-tools/src/argTypes/docgen/utils/defaultValue.ts
diff --git a/addons/docs/src/lib/docgen/utils/docgenInfo.ts b/lib/docs-tools/src/argTypes/docgen/utils/docgenInfo.ts
similarity index 92%
rename from addons/docs/src/lib/docgen/utils/docgenInfo.ts
rename to lib/docs-tools/src/argTypes/docgen/utils/docgenInfo.ts
index da7f21f7a06d..73da47deca51 100644
--- a/addons/docs/src/lib/docgen/utils/docgenInfo.ts
+++ b/lib/docs-tools/src/argTypes/docgen/utils/docgenInfo.ts
@@ -1,6 +1,6 @@
/* eslint-disable no-underscore-dangle */
-import { Component } from '../../../blocks/types';
+import { Component } from '../../types';
import { str } from './string';
export function hasDocgen(component: Component): boolean {
diff --git a/addons/docs/src/lib/docgen/utils/index.ts b/lib/docs-tools/src/argTypes/docgen/utils/index.ts
similarity index 100%
rename from addons/docs/src/lib/docgen/utils/index.ts
rename to lib/docs-tools/src/argTypes/docgen/utils/index.ts
diff --git a/addons/docs/src/lib/docgen/utils/string.ts b/lib/docs-tools/src/argTypes/docgen/utils/string.ts
similarity index 100%
rename from addons/docs/src/lib/docgen/utils/string.ts
rename to lib/docs-tools/src/argTypes/docgen/utils/string.ts
diff --git a/addons/docs/src/frameworks/common/enhanceArgTypes.test.ts b/lib/docs-tools/src/argTypes/enhanceArgTypes.test.ts
similarity index 98%
rename from addons/docs/src/frameworks/common/enhanceArgTypes.test.ts
rename to lib/docs-tools/src/argTypes/enhanceArgTypes.test.ts
index 43e0da967100..5380ac6a4efc 100644
--- a/addons/docs/src/frameworks/common/enhanceArgTypes.test.ts
+++ b/lib/docs-tools/src/argTypes/enhanceArgTypes.test.ts
@@ -1,5 +1,5 @@
-import { ArgTypes } from '@storybook/api';
-import { StrictInputType } from '@storybook/csf';
+import type { ArgTypes } from '@storybook/api';
+import type { StrictInputType } from '@storybook/csf';
import { enhanceArgTypes } from './enhanceArgTypes';
expect.addSnapshotSerializer({
diff --git a/addons/docs/src/frameworks/common/enhanceArgTypes.ts b/lib/docs-tools/src/argTypes/enhanceArgTypes.ts
similarity index 100%
rename from addons/docs/src/frameworks/common/enhanceArgTypes.ts
rename to lib/docs-tools/src/argTypes/enhanceArgTypes.ts
diff --git a/lib/docs-tools/src/argTypes/index.ts b/lib/docs-tools/src/argTypes/index.ts
new file mode 100644
index 000000000000..44761ab8643e
--- /dev/null
+++ b/lib/docs-tools/src/argTypes/index.ts
@@ -0,0 +1,8 @@
+export * from './convert';
+export * from './docgen';
+
+export * from './jsdocParser';
+export * from './types';
+export * from './utils';
+
+export * from './enhanceArgTypes';
diff --git a/addons/docs/src/lib/jsdocParser.test.ts b/lib/docs-tools/src/argTypes/jsdocParser.test.ts
similarity index 100%
rename from addons/docs/src/lib/jsdocParser.test.ts
rename to lib/docs-tools/src/argTypes/jsdocParser.test.ts
diff --git a/addons/docs/src/lib/jsdocParser.ts b/lib/docs-tools/src/argTypes/jsdocParser.ts
similarity index 100%
rename from addons/docs/src/lib/jsdocParser.ts
rename to lib/docs-tools/src/argTypes/jsdocParser.ts
diff --git a/lib/docs-tools/src/argTypes/types.ts b/lib/docs-tools/src/argTypes/types.ts
new file mode 100644
index 000000000000..d0f1029edef9
--- /dev/null
+++ b/lib/docs-tools/src/argTypes/types.ts
@@ -0,0 +1 @@
+export type Component = any;
diff --git a/lib/docs-tools/src/argTypes/typings.d.ts b/lib/docs-tools/src/argTypes/typings.d.ts
new file mode 100644
index 000000000000..2496ff59dc18
--- /dev/null
+++ b/lib/docs-tools/src/argTypes/typings.d.ts
@@ -0,0 +1 @@
+declare module 'require-from-string';
diff --git a/addons/docs/src/lib/utils.test.ts b/lib/docs-tools/src/argTypes/utils.test.ts
similarity index 100%
rename from addons/docs/src/lib/utils.test.ts
rename to lib/docs-tools/src/argTypes/utils.test.ts
diff --git a/addons/docs/src/lib/utils.ts b/lib/docs-tools/src/argTypes/utils.ts
similarity index 91%
rename from addons/docs/src/lib/utils.ts
rename to lib/docs-tools/src/argTypes/utils.ts
index b623c12e19b7..b0f7b6ddf141 100644
--- a/addons/docs/src/lib/utils.ts
+++ b/lib/docs-tools/src/argTypes/utils.ts
@@ -1,4 +1,4 @@
-import { PropSummaryValue } from '@storybook/components';
+import { PropSummaryValue } from './docgen';
export const MAX_TYPE_SUMMARY_LENGTH = 90;
export const MAX_DEFAULT_VALUE_SUMMARY_LENGTH = 50;
diff --git a/lib/docs-tools/src/hasDocsOrControls.ts b/lib/docs-tools/src/hasDocsOrControls.ts
new file mode 100644
index 000000000000..1417d710b9df
--- /dev/null
+++ b/lib/docs-tools/src/hasDocsOrControls.ts
@@ -0,0 +1,7 @@
+import type { StorybookConfigOptions } from '@storybook/core-common';
+
+// `addons/x` is for the monorepo, `addon-x` is for normal usage
+const packageRe = /(addons\/|addon-)(docs|controls)/;
+
+export const hasDocsOrControls = (options: StorybookConfigOptions) =>
+ options.presetsList?.some((preset) => packageRe.test(preset.name));
diff --git a/lib/docs-tools/src/index.ts b/lib/docs-tools/src/index.ts
new file mode 100644
index 000000000000..1df1b4a273a6
--- /dev/null
+++ b/lib/docs-tools/src/index.ts
@@ -0,0 +1,3 @@
+export * from './argTypes';
+export * from './shared';
+export * from './hasDocsOrControls';
diff --git a/lib/docs-tools/src/shared.ts b/lib/docs-tools/src/shared.ts
new file mode 100644
index 000000000000..178bf46ca387
--- /dev/null
+++ b/lib/docs-tools/src/shared.ts
@@ -0,0 +1,28 @@
+export const ADDON_ID = 'storybook/docs';
+export const PANEL_ID = `${ADDON_ID}/panel`;
+export const PARAM_KEY = `docs`;
+
+export const SNIPPET_RENDERED = `${ADDON_ID}/snippet-rendered`;
+
+export enum SourceType {
+ /**
+ * AUTO is the default
+ *
+ * Use the CODE logic if:
+ * - the user has set a custom source snippet in `docs.source.code` story parameter
+ * - the story is not an args-based story
+ *
+ * Use the DYNAMIC rendered snippet if the story is an args story
+ */
+ AUTO = 'auto',
+
+ /**
+ * Render the code extracted by source-loader
+ */
+ CODE = 'code',
+
+ /**
+ * Render dynamically-rendered source snippet from the story's virtual DOM (currently React only)
+ */
+ DYNAMIC = 'dynamic',
+}
diff --git a/lib/docs-tools/tsconfig.json b/lib/docs-tools/tsconfig.json
new file mode 100644
index 000000000000..fb14222847dc
--- /dev/null
+++ b/lib/docs-tools/tsconfig.json
@@ -0,0 +1,20 @@
+{
+ "extends": "../../tsconfig.json",
+ "compilerOptions": {
+ "rootDir": "./src",
+ "types": [
+ "node"
+ ]
+ },
+ "include": [
+ "src/**/*"
+ ],
+ "exclude": [
+ "src/**/*.test.*",
+ "src/**/tests/**/*",
+ "src/**/__tests__/**/*",
+ "src/**/*.stories.*",
+ "src/**/*.mockdata.*",
+ "src/**/__testfixtures__/**"
+ ]
+}
\ No newline at end of file
diff --git a/lib/instrumenter/package.json b/lib/instrumenter/package.json
index 8a19d2c6272b..06fc13940ea9 100644
--- a/lib/instrumenter/package.json
+++ b/lib/instrumenter/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/instrumenter",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"description": "",
"keywords": [
"storybook"
@@ -40,15 +40,15 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
- "@storybook/addons": "6.5.0-alpha.42",
- "@storybook/client-logger": "6.5.0-alpha.42",
- "@storybook/core-events": "6.5.0-alpha.42",
+ "@storybook/addons": "6.5.0-alpha.48",
+ "@storybook/client-logger": "6.5.0-alpha.48",
+ "@storybook/core-events": "6.5.0-alpha.48",
"core-js": "^3.8.2",
"global": "^4.4.0"
},
"publishConfig": {
"access": "public"
},
- "gitHead": "1477954e18494e721ae8d3c99bc710381eab1351",
+ "gitHead": "5f3afb8cf4389c16be11a6e5099e902d16a82762",
"sbmodern": "dist/modern/index.js"
}
diff --git a/lib/instrumenter/src/instrumenter.test.ts b/lib/instrumenter/src/instrumenter.test.ts
index c8a00e4f562f..5f6064f5cbde 100644
--- a/lib/instrumenter/src/instrumenter.test.ts
+++ b/lib/instrumenter/src/instrumenter.test.ts
@@ -9,7 +9,7 @@ import {
import global from 'global';
import { EVENTS, Instrumenter } from './instrumenter';
-import { Options } from './types';
+import type { Options } from './types';
const callSpy = jest.fn();
const syncSpy = jest.fn();
diff --git a/lib/instrumenter/src/instrumenter.ts b/lib/instrumenter/src/instrumenter.ts
index 9ea32a34b8c9..9e54071bab64 100644
--- a/lib/instrumenter/src/instrumenter.ts
+++ b/lib/instrumenter/src/instrumenter.ts
@@ -1,5 +1,6 @@
/* eslint-disable no-underscore-dangle */
-import { addons, Channel, StoryId } from '@storybook/addons';
+import { addons, Channel } from '@storybook/addons';
+import type { StoryId } from '@storybook/addons';
import { once } from '@storybook/client-logger';
import {
FORCE_REMOUNT,
diff --git a/lib/instrumenter/src/types.ts b/lib/instrumenter/src/types.ts
index d604b33b1975..48f17fdec0d1 100644
--- a/lib/instrumenter/src/types.ts
+++ b/lib/instrumenter/src/types.ts
@@ -1,4 +1,4 @@
-import { StoryId } from '@storybook/addons';
+import type { StoryId } from '@storybook/addons';
export interface Call {
id: string;
diff --git a/lib/manager-webpack4/package.json b/lib/manager-webpack4/package.json
index 087912a46a74..94e2865d9385 100644
--- a/lib/manager-webpack4/package.json
+++ b/lib/manager-webpack4/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/manager-webpack4",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"description": "Storybook framework-agnostic API",
"keywords": [
"storybook"
@@ -45,12 +45,12 @@
"@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.42",
- "@storybook/core-client": "6.5.0-alpha.42",
- "@storybook/core-common": "6.5.0-alpha.42",
- "@storybook/node-logger": "6.5.0-alpha.42",
- "@storybook/theming": "6.5.0-alpha.42",
- "@storybook/ui": "6.5.0-alpha.42",
+ "@storybook/addons": "6.5.0-alpha.48",
+ "@storybook/core-client": "6.5.0-alpha.48",
+ "@storybook/core-common": "6.5.0-alpha.48",
+ "@storybook/node-logger": "6.5.0-alpha.48",
+ "@storybook/theming": "6.5.0-alpha.48",
+ "@storybook/ui": "6.5.0-alpha.48",
"@types/node": "^14.0.10 || ^16.0.0",
"@types/webpack": "^4.41.26",
"babel-loader": "^8.0.0",
@@ -96,6 +96,6 @@
"publishConfig": {
"access": "public"
},
- "gitHead": "1477954e18494e721ae8d3c99bc710381eab1351",
+ "gitHead": "5f3afb8cf4389c16be11a6e5099e902d16a82762",
"sbmodern": "dist/modern/index.js"
}
diff --git a/lib/manager-webpack4/src/index.ts b/lib/manager-webpack4/src/index.ts
index e0db24b5d068..32d09a906ad0 100644
--- a/lib/manager-webpack4/src/index.ts
+++ b/lib/manager-webpack4/src/index.ts
@@ -1,12 +1,9 @@
-import webpack, { Stats, Configuration, ProgressPlugin } from 'webpack';
+import webpack, { ProgressPlugin } from 'webpack';
+import type { Stats, Configuration } from 'webpack';
import webpackDevMiddleware from 'webpack-dev-middleware';
import { logger } from '@storybook/node-logger';
-import {
- Builder,
- useProgressReporting,
- checkWebpackVersion,
- Options,
-} from '@storybook/core-common';
+import { useProgressReporting, checkWebpackVersion } from '@storybook/core-common';
+import type { Builder, Options } from '@storybook/core-common';
import findUp from 'find-up';
import fs from 'fs-extra';
diff --git a/lib/manager-webpack4/src/manager-config.ts b/lib/manager-webpack4/src/manager-config.ts
index dd42e9bb3064..53655c3caf4b 100644
--- a/lib/manager-webpack4/src/manager-config.ts
+++ b/lib/manager-webpack4/src/manager-config.ts
@@ -6,8 +6,8 @@ import fetch from 'node-fetch';
import deprecate from 'util-deprecate';
import dedent from 'ts-dedent';
-import { Configuration } from 'webpack';
-import { Ref, Options } from '@storybook/core-common';
+import type { Configuration } from 'webpack';
+import type { Ref, Options } from '@storybook/core-common';
export const getAutoRefs = async (
options: Options,
diff --git a/lib/manager-webpack4/src/presets/manager-preset.ts b/lib/manager-webpack4/src/presets/manager-preset.ts
index 7a9af54bd42f..69fd3620d3e6 100644
--- a/lib/manager-webpack4/src/presets/manager-preset.ts
+++ b/lib/manager-webpack4/src/presets/manager-preset.ts
@@ -1,16 +1,17 @@
import path from 'path';
import fse from 'fs-extra';
-import { DefinePlugin, Configuration, WebpackPluginInstance } from 'webpack';
+import { DefinePlugin } from 'webpack';
+import type { Configuration, WebpackPluginInstance } from 'webpack';
import HtmlWebpackPlugin from 'html-webpack-plugin';
import CaseSensitivePathsPlugin from 'case-sensitive-paths-webpack-plugin';
import PnpWebpackPlugin from 'pnp-webpack-plugin';
import VirtualModulePlugin from 'webpack-virtual-modules';
import TerserWebpackPlugin from 'terser-webpack-plugin';
-import themingPaths from '@storybook/theming/paths';
import uiPaths from '@storybook/ui/paths';
import readPackage from 'read-pkg-up';
+import type { Options, ManagerWebpackOptions } from '@storybook/core-common';
import {
loadManagerOrAddonsFile,
resolvePathInStorybookCache,
@@ -18,8 +19,6 @@ import {
es6Transpiler,
getManagerHeadTemplate,
getManagerMainTemplate,
- Options,
- ManagerWebpackOptions,
} from '@storybook/core-common';
import { babelLoader } from './babel-loader-manager';
@@ -161,7 +160,6 @@ export async function managerWebpack(
modules: ['node_modules'].concat(envs.NODE_PATH || []),
mainFields: [modern ? 'sbmodern' : null, 'browser', 'module', 'main'].filter(Boolean),
alias: {
- ...themingPaths,
...uiPaths,
},
plugins: [
diff --git a/lib/manager-webpack4/src/utils/manager-cache.ts b/lib/manager-webpack4/src/utils/manager-cache.ts
index 0eb2654cb26d..cc93a285a5df 100644
--- a/lib/manager-webpack4/src/utils/manager-cache.ts
+++ b/lib/manager-webpack4/src/utils/manager-cache.ts
@@ -1,4 +1,4 @@
-import { Options } from '@storybook/core-common';
+import type { Options } from '@storybook/core-common';
import { logger } from '@storybook/node-logger';
import fs from 'fs-extra';
import path from 'path';
diff --git a/lib/manager-webpack4/src/utils/output-stats.ts b/lib/manager-webpack4/src/utils/output-stats.ts
index e2d049cde730..4fcaacebe880 100644
--- a/lib/manager-webpack4/src/utils/output-stats.ts
+++ b/lib/manager-webpack4/src/utils/output-stats.ts
@@ -1,7 +1,7 @@
import chalk from 'chalk';
import path from 'path';
import { logger } from '@storybook/node-logger';
-import { Stats } from 'webpack';
+import type { Stats } from 'webpack';
import fs from 'fs-extra';
diff --git a/lib/manager-webpack4/src/utils/prebuilt-manager.ts b/lib/manager-webpack4/src/utils/prebuilt-manager.ts
index 0169cc2af428..898039549cbc 100644
--- a/lib/manager-webpack4/src/utils/prebuilt-manager.ts
+++ b/lib/manager-webpack4/src/utils/prebuilt-manager.ts
@@ -1,11 +1,7 @@
import { pathExists } from 'fs-extra';
import path from 'path';
-import {
- getInterpretedFile,
- loadManagerOrAddonsFile,
- serverRequire,
- Options,
-} from '@storybook/core-common';
+import type { Options } from '@storybook/core-common';
+import { getInterpretedFile, loadManagerOrAddonsFile, serverRequire } from '@storybook/core-common';
import { getAutoRefs } from '../manager-config';
diff --git a/lib/manager-webpack5/package.json b/lib/manager-webpack5/package.json
index 85be2af97eaf..d4f08af3b5c2 100644
--- a/lib/manager-webpack5/package.json
+++ b/lib/manager-webpack5/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/manager-webpack5",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"description": "Storybook framework-agnostic API",
"keywords": [
"storybook"
@@ -45,12 +45,12 @@
"@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.42",
- "@storybook/core-client": "6.5.0-alpha.42",
- "@storybook/core-common": "6.5.0-alpha.42",
- "@storybook/node-logger": "6.5.0-alpha.42",
- "@storybook/theming": "6.5.0-alpha.42",
- "@storybook/ui": "6.5.0-alpha.42",
+ "@storybook/addons": "6.5.0-alpha.48",
+ "@storybook/core-client": "6.5.0-alpha.48",
+ "@storybook/core-common": "6.5.0-alpha.48",
+ "@storybook/node-logger": "6.5.0-alpha.48",
+ "@storybook/theming": "6.5.0-alpha.48",
+ "@storybook/ui": "6.5.0-alpha.48",
"@types/node": "^14.0.10 || ^16.0.0",
"babel-loader": "^8.0.0",
"case-sensitive-paths-webpack-plugin": "^2.3.0",
@@ -93,6 +93,6 @@
"publishConfig": {
"access": "public"
},
- "gitHead": "1477954e18494e721ae8d3c99bc710381eab1351",
+ "gitHead": "5f3afb8cf4389c16be11a6e5099e902d16a82762",
"sbmodern": "dist/modern/index.js"
}
diff --git a/lib/manager-webpack5/src/index.ts b/lib/manager-webpack5/src/index.ts
index ab0b82374f50..11e2fbeefe93 100644
--- a/lib/manager-webpack5/src/index.ts
+++ b/lib/manager-webpack5/src/index.ts
@@ -1,12 +1,9 @@
-import webpack, { Stats, Configuration, ProgressPlugin } from 'webpack';
+import webpack, { ProgressPlugin } from 'webpack';
+import type { Stats, Configuration } from 'webpack';
import webpackDevMiddleware from 'webpack-dev-middleware';
import { logger } from '@storybook/node-logger';
-import {
- Builder,
- useProgressReporting,
- checkWebpackVersion,
- Options,
-} from '@storybook/core-common';
+import { useProgressReporting, checkWebpackVersion } from '@storybook/core-common';
+import type { Builder, Options } from '@storybook/core-common';
import findUp from 'find-up';
import fs from 'fs-extra';
diff --git a/lib/manager-webpack5/src/manager-config.ts b/lib/manager-webpack5/src/manager-config.ts
index dd42e9bb3064..53655c3caf4b 100644
--- a/lib/manager-webpack5/src/manager-config.ts
+++ b/lib/manager-webpack5/src/manager-config.ts
@@ -6,8 +6,8 @@ import fetch from 'node-fetch';
import deprecate from 'util-deprecate';
import dedent from 'ts-dedent';
-import { Configuration } from 'webpack';
-import { Ref, Options } from '@storybook/core-common';
+import type { Configuration } from 'webpack';
+import type { Ref, Options } from '@storybook/core-common';
export const getAutoRefs = async (
options: Options,
diff --git a/lib/manager-webpack5/src/presets/manager-preset.ts b/lib/manager-webpack5/src/presets/manager-preset.ts
index d89c04133785..1a332ea42a65 100644
--- a/lib/manager-webpack5/src/presets/manager-preset.ts
+++ b/lib/manager-webpack5/src/presets/manager-preset.ts
@@ -1,12 +1,12 @@
import path from 'path';
import fse from 'fs-extra';
-import { DefinePlugin, Configuration, WebpackPluginInstance, ProvidePlugin } from 'webpack';
+import { DefinePlugin, ProvidePlugin } from 'webpack';
+import type { Configuration, WebpackPluginInstance } from 'webpack';
import HtmlWebpackPlugin from 'html-webpack-plugin';
import CaseSensitivePathsPlugin from 'case-sensitive-paths-webpack-plugin';
import VirtualModulePlugin from 'webpack-virtual-modules';
import TerserWebpackPlugin from 'terser-webpack-plugin';
-import themingPaths from '@storybook/theming/paths';
import uiPaths from '@storybook/ui/paths';
import readPackage from 'read-pkg-up';
@@ -17,9 +17,8 @@ import {
es6Transpiler,
getManagerHeadTemplate,
getManagerMainTemplate,
- Options,
- ManagerWebpackOptions,
} from '@storybook/core-common';
+import type { Options, ManagerWebpackOptions } from '@storybook/core-common';
import { babelLoader } from './babel-loader-manager';
@@ -165,7 +164,6 @@ export async function managerWebpack(
modules: ['node_modules'].concat(envs.NODE_PATH || []),
mainFields: [modern ? 'sbmodern' : null, 'browser', 'module', 'main'].filter(Boolean),
alias: {
- ...themingPaths,
...uiPaths,
},
},
diff --git a/lib/manager-webpack5/src/utils/output-stats.ts b/lib/manager-webpack5/src/utils/output-stats.ts
index e2d049cde730..4fcaacebe880 100644
--- a/lib/manager-webpack5/src/utils/output-stats.ts
+++ b/lib/manager-webpack5/src/utils/output-stats.ts
@@ -1,7 +1,7 @@
import chalk from 'chalk';
import path from 'path';
import { logger } from '@storybook/node-logger';
-import { Stats } from 'webpack';
+import type { Stats } from 'webpack';
import fs from 'fs-extra';
diff --git a/lib/manager-webpack5/src/utils/prebuilt-manager.ts b/lib/manager-webpack5/src/utils/prebuilt-manager.ts
index 0169cc2af428..bca5d5bd9fab 100644
--- a/lib/manager-webpack5/src/utils/prebuilt-manager.ts
+++ b/lib/manager-webpack5/src/utils/prebuilt-manager.ts
@@ -1,11 +1,7 @@
import { pathExists } from 'fs-extra';
import path from 'path';
-import {
- getInterpretedFile,
- loadManagerOrAddonsFile,
- serverRequire,
- Options,
-} from '@storybook/core-common';
+import { getInterpretedFile, loadManagerOrAddonsFile, serverRequire } from '@storybook/core-common';
+import type { Options } from '@storybook/core-common';
import { getAutoRefs } from '../manager-config';
diff --git a/lib/node-logger/package.json b/lib/node-logger/package.json
index e150960fef04..b131863fc807 100644
--- a/lib/node-logger/package.json
+++ b/lib/node-logger/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/node-logger",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"description": "",
"keywords": [
"storybook"
@@ -52,6 +52,6 @@
"publishConfig": {
"access": "public"
},
- "gitHead": "1477954e18494e721ae8d3c99bc710381eab1351",
+ "gitHead": "5f3afb8cf4389c16be11a6e5099e902d16a82762",
"sbmodern": "dist/modern/index.js"
}
diff --git a/lib/node-logger/src/index.ts b/lib/node-logger/src/index.ts
index aa5c0769c00f..2fabd9a871b7 100644
--- a/lib/node-logger/src/index.ts
+++ b/lib/node-logger/src/index.ts
@@ -14,6 +14,7 @@ export const colors = {
};
export const logger = {
+ verbose: (message: string): void => npmLog.verbose('', message),
info: (message: string): void => npmLog.info('', message),
plain: (message: string): void => console.log(message),
line: (count = 1): void => console.log(`${Array(count - 1).fill('\n')}`),
@@ -29,13 +30,14 @@ export const logger = {
export { npmLog as instance };
const logged = new Set();
-export const once = (type: 'info' | 'warn' | 'error') => (message: string) => {
+export const once = (type: 'verbose' | 'info' | 'warn' | 'error') => (message: string) => {
if (logged.has(message)) return undefined;
logged.add(message);
return logger[type](message);
};
once.clear = () => logged.clear();
+once.verbose = once('verbose');
once.info = once('info');
once.warn = once('warn');
once.error = once('error');
diff --git a/lib/postinstall/package.json b/lib/postinstall/package.json
index 77f90b5b6843..17486ff6456d 100644
--- a/lib/postinstall/package.json
+++ b/lib/postinstall/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/postinstall",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"description": "Storybook addons postinstall utilities",
"keywords": [
"api",
@@ -51,6 +51,6 @@
"publishConfig": {
"access": "public"
},
- "gitHead": "1477954e18494e721ae8d3c99bc710381eab1351",
+ "gitHead": "5f3afb8cf4389c16be11a6e5099e902d16a82762",
"sbmodern": "dist/modern/index.js"
}
diff --git a/lib/preview-web/README.md b/lib/preview-web/README.md
index 1cbb8083ac45..cb44e3b4b07e 100644
--- a/lib/preview-web/README.md
+++ b/lib/preview-web/README.md
@@ -40,10 +40,17 @@ See `client-api` for more details on this process.
## Story Rendering and interruptions
+The Preview is split into three parts responsible for state management:
+
+- `PreviewWeb` - which story is rendered, receives events and (maybe) changes/re-renders stories
+- `StoryRender` - (imports +) prepares the story, renders it through the various phases
+- `DocsRender` - if a story renders in docs mode, it is "transformed" into a `DocsRender` once we know.
+
A rendering story goes through these phases:
+- `preparing` - (maybe async) import the story file and prepare the story function.
- `loading` - async loaders are running
-- `rendering` - the `renderToDom` function for the framework is running
+- `rendering` - the `renderToDOM` function for the framework is running
- `playing` - the `play` function is running
- `completed` - the story is done.
@@ -61,7 +68,7 @@ A story may re-render due to various events, which can have implications if the
If these events happen during a render:
-- if the story is `loading`, leave thing unchanged and let the new `args`/`globals` be picked up by the render phase
+- if the story is `preparing` or `loading`, leave thing unchanged and let the new `args`/`globals` be picked up by the render phase
- otherwise, use the result of the previous `loaders` run, and simply re-render over the top
- `FORCE_REMOUNT` - remount (or equivalent) the component and re-render.
@@ -71,4 +78,17 @@ If this happens during a render, treat `loading` similarly, but:
- if the story is `rendering`, start a new render and abort the previous render immediately afterwards
- if the story is `playing`, attempt to abort the previous play function, and start a new render.
-Also the `SET_CURRENT_STORY` event may change the current story. If the old story is not `completed`, we try to abort it immediately. If that fails (e.g. the `play` function doesn't respond to the `abort` event), then we reload the window.
+### Changing story
+
+Also the `SET_CURRENT_STORY` event may change the current story. We need to check:
+
+- If the `storyId` changed
+- If the `viewMode` changed
+- If the story implementation changed (i.e if HMR occurred).
+
+If the _previous_ story is still `preparing`, we cannot know if the implementation changed, so we
+abort the preparing immediately, and let the new story take over.
+
+Otherwise, if all of the above are the same, we do nothing.
+
+If they are different, and the old story is not `completed`, we try to abort it immediately. If that fails (e.g. the `play` function doesn't respond to the `abort` event), then we reload the window.
diff --git a/lib/preview-web/package.json b/lib/preview-web/package.json
index 82d3d05cdd14..06dfb6521dcf 100644
--- a/lib/preview-web/package.json
+++ b/lib/preview-web/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/preview-web",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"description": "",
"keywords": [
"storybook"
@@ -40,12 +40,12 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
- "@storybook/addons": "6.5.0-alpha.42",
- "@storybook/channel-postmessage": "6.5.0-alpha.42",
- "@storybook/client-logger": "6.5.0-alpha.42",
- "@storybook/core-events": "6.5.0-alpha.42",
+ "@storybook/addons": "6.5.0-alpha.48",
+ "@storybook/channel-postmessage": "6.5.0-alpha.48",
+ "@storybook/client-logger": "6.5.0-alpha.48",
+ "@storybook/core-events": "6.5.0-alpha.48",
"@storybook/csf": "0.0.2--canary.87bc651.0",
- "@storybook/store": "6.5.0-alpha.42",
+ "@storybook/store": "6.5.0-alpha.48",
"ansi-to-html": "^0.6.11",
"core-js": "^3.8.2",
"global": "^4.4.0",
@@ -64,6 +64,6 @@
"publishConfig": {
"access": "public"
},
- "gitHead": "1477954e18494e721ae8d3c99bc710381eab1351",
+ "gitHead": "5f3afb8cf4389c16be11a6e5099e902d16a82762",
"sbmodern": "dist/modern/index.js"
}
diff --git a/lib/preview-web/src/DocsRender.ts b/lib/preview-web/src/DocsRender.ts
new file mode 100644
index 000000000000..b000919d9ce7
--- /dev/null
+++ b/lib/preview-web/src/DocsRender.ts
@@ -0,0 +1,82 @@
+import global from 'global';
+import { AnyFramework, StoryId, ViewMode, StoryContextForLoaders } from '@storybook/csf';
+import { Story, StoryStore, CSFFile } from '@storybook/store';
+import { Channel } from '@storybook/addons';
+import { DOCS_RENDERED } from '@storybook/core-events';
+
+import { DocsContextProps } from './types';
+
+export class DocsRender {
+ private canvasElement?: HTMLElement;
+
+ private context?: DocsContextProps;
+
+ public disableKeyListeners = false;
+
+ // eslint-disable-next-line no-useless-constructor
+ constructor(
+ private channel: Channel,
+ private store: StoryStore,
+ public id: StoryId,
+ public story: Story
+ ) {}
+
+ // DocsRender doesn't prepare, it is created *from* a prepared StoryRender
+ isPreparing() {
+ return false;
+ }
+
+ async renderToElement(
+ canvasElement: HTMLElement,
+ renderStoryToElement: DocsContextProps['renderStoryToElement']
+ ) {
+ this.canvasElement = canvasElement;
+
+ const { id, title, name } = this.story;
+ const csfFile: CSFFile = await this.store.loadCSFFileByStoryId(this.id);
+
+ this.context = {
+ id,
+ title,
+ name,
+ // NOTE: these two functions are *sync* so cannot access stories from other CSF files
+ storyById: (storyId: StoryId) => this.store.storyFromCSFFile({ storyId, csfFile }),
+ componentStories: () => this.store.componentStoriesFromCSFFile({ csfFile }),
+ loadStory: (storyId: StoryId) => this.store.loadStory({ storyId }),
+ renderStoryToElement: renderStoryToElement.bind(this),
+ getStoryContext: (renderedStory: Story) =>
+ ({
+ ...this.store.getStoryContext(renderedStory),
+ viewMode: 'docs' as ViewMode,
+ } as StoryContextForLoaders),
+ // Put all the storyContext fields onto the docs context for back-compat
+ ...(!global.FEATURES?.breakingChangesV7 && this.store.getStoryContext(this.story)),
+ };
+
+ return this.render();
+ }
+
+ async render() {
+ if (!this.story || !this.context || !this.canvasElement)
+ throw new Error('DocsRender not ready to render');
+
+ const renderer = await import('./renderDocs');
+ renderer.renderDocs(this.story, this.context, this.canvasElement, () =>
+ this.channel.emit(DOCS_RENDERED, this.id)
+ );
+ }
+
+ async rerender() {
+ // NOTE: in modern inline render mode, each story is rendered via
+ // `preview.renderStoryToElement` which means the story will track
+ // its own re-renders. Thus there will be no need to re-render the whole
+ // docs page when a single story changes.
+ if (!global.FEATURES?.modernInlineRender) await this.render();
+ }
+
+ async teardown({ viewModeChanged }: { viewModeChanged?: boolean } = {}) {
+ if (!viewModeChanged || !this.canvasElement) return;
+ const renderer = await import('./renderDocs');
+ renderer.unmountDocs(this.canvasElement);
+ }
+}
diff --git a/lib/preview-web/src/PreviewWeb.test.ts b/lib/preview-web/src/PreviewWeb.test.ts
index 359d4e22f87f..b42e479ba2ee 100644
--- a/lib/preview-web/src/PreviewWeb.test.ts
+++ b/lib/preview-web/src/PreviewWeb.test.ts
@@ -3,8 +3,8 @@ import * as ReactDOM from 'react-dom';
import merge from 'lodash/merge';
import Events, { IGNORED_EXCEPTION } from '@storybook/core-events';
import { logger } from '@storybook/client-logger';
-import addons, { mockChannel as createMockChannel } from '@storybook/addons';
-import { AnyFramework } from '@storybook/csf';
+import { addons, mockChannel as createMockChannel } from '@storybook/addons';
+import type { AnyFramework } from '@storybook/csf';
import type { ModuleImportFn } from '@storybook/store';
import { PreviewWeb } from './PreviewWeb';
@@ -22,7 +22,7 @@ import {
waitForQuiescence,
waitForRenderPhase,
} from './PreviewWeb.mockdata';
-import { WebProjectAnnotations } from './types';
+import type { WebProjectAnnotations } from './types';
jest.mock('./WebView');
const { history, document } = global;
@@ -79,6 +79,9 @@ async function createAndRenderPreview({
getProjectAnnotations?: () => WebProjectAnnotations;
} = {}) {
const preview = new PreviewWeb();
+ (
+ preview.view.prepareForDocs as jest.MockedFunction
+ ).mockReturnValue('docs-element' as any);
await preview.initialize({
importFn: inputImportFn,
getProjectAnnotations: inputGetProjectAnnotations,
@@ -595,7 +598,7 @@ describe('PreviewWeb', () => {
}),
}),
}),
- undefined,
+ 'docs-element',
expect.any(Function)
);
});
@@ -617,6 +620,7 @@ describe('PreviewWeb', () => {
emitter.emit(Events.UPDATE_GLOBALS, { globals: { foo: 'bar' } });
+ await waitForEvents([Events.GLOBALS_UPDATED]);
expect(mockChannel.emit).toHaveBeenCalledWith(Events.GLOBALS_UPDATED, {
globals: { a: 'b', foo: 'bar' },
initialGlobals: { a: 'b' },
@@ -688,6 +692,7 @@ describe('PreviewWeb', () => {
updatedArgs: { new: 'arg' },
});
+ await waitForEvents([Events.STORY_ARGS_UPDATED]);
expect(mockChannel.emit).toHaveBeenCalledWith(Events.STORY_ARGS_UPDATED, {
storyId: 'component-one--a',
args: { foo: 'a', new: 'arg' },
@@ -935,12 +940,13 @@ describe('PreviewWeb', () => {
});
});
- describe('in docs mode', () => {
+ describe('in docs mode, old inline render', () => {
it('re-renders the docs container', async () => {
document.location.search = '?id=component-one--a&viewMode=docs';
await createAndRenderPreview();
+ (ReactDOM.render as jest.MockedFunction).mockClear();
mockChannel.emit.mockClear();
emitter.emit(Events.UPDATE_STORY_ARGS, {
storyId: 'component-one--a',
@@ -948,7 +954,71 @@ describe('PreviewWeb', () => {
});
await waitForRender();
- expect(ReactDOM.render).toHaveBeenCalledTimes(2);
+ expect(ReactDOM.render).toHaveBeenCalledTimes(1);
+ });
+ });
+
+ describe('in docs mode, modern inline render', () => {
+ beforeEach(() => {
+ global.FEATURES.modernInlineRender = true;
+ });
+ afterEach(() => {
+ global.FEATURES.modernInlineRender = true;
+ });
+ it('does not re-render the docs container', async () => {
+ document.location.search = '?id=component-one--a&viewMode=docs';
+
+ await createAndRenderPreview();
+
+ (ReactDOM.render as jest.MockedFunction).mockClear();
+ mockChannel.emit.mockClear();
+ emitter.emit(Events.UPDATE_STORY_ARGS, {
+ storyId: 'component-one--a',
+ updatedArgs: { new: 'arg' },
+ });
+ await waitForEvents([Events.STORY_ARGS_UPDATED]);
+
+ expect(ReactDOM.render).not.toHaveBeenCalled();
+ });
+
+ describe('when renderStoryToElement was called', () => {
+ it('re-renders the story', async () => {
+ document.location.search = '?id=component-one--a&viewMode=docs';
+
+ const preview = await createAndRenderPreview();
+ await waitForRender();
+
+ mockChannel.emit.mockClear();
+ const story = await preview.storyStore.loadStory({ storyId: 'component-one--a' });
+ preview.renderStoryToElement(story, 'story-element' as any);
+ await waitForRender();
+
+ expect(projectAnnotations.renderToDOM).toHaveBeenCalledWith(
+ expect.objectContaining({
+ storyContext: expect.objectContaining({
+ args: { foo: 'a' },
+ }),
+ }),
+ 'story-element'
+ );
+
+ (ReactDOM.render as jest.MockedFunction).mockClear();
+ mockChannel.emit.mockClear();
+ emitter.emit(Events.UPDATE_STORY_ARGS, {
+ storyId: 'component-one--a',
+ updatedArgs: { new: 'arg' },
+ });
+ await waitForRender();
+
+ expect(projectAnnotations.renderToDOM).toHaveBeenCalledWith(
+ expect.objectContaining({
+ storyContext: expect.objectContaining({
+ args: { foo: 'a', new: 'arg' },
+ }),
+ }),
+ 'story-element'
+ );
+ });
});
});
});
@@ -964,6 +1034,7 @@ describe('PreviewWeb', () => {
updatedArgs: { foo: 'new' },
});
+ await waitForEvents([Events.STORY_ARGS_UPDATED]);
expect(mockChannel.emit).toHaveBeenCalledWith(Events.STORY_ARGS_UPDATED, {
storyId: 'component-one--a',
args: { foo: 'new' },
@@ -992,6 +1063,7 @@ describe('PreviewWeb', () => {
storyId: 'component-one--a',
updatedArgs: { foo: 'new', new: 'value' },
});
+ await waitForEvents([Events.STORY_ARGS_UPDATED]);
mockChannel.emit.mockClear();
emitter.emit(Events.RESET_STORY_ARGS, {
@@ -1012,6 +1084,7 @@ describe('PreviewWeb', () => {
undefined // this is coming from view.prepareForStory, not super important
);
+ await waitForEvents([Events.STORY_ARGS_UPDATED]);
expect(mockChannel.emit).toHaveBeenCalledWith(Events.STORY_ARGS_UPDATED, {
storyId: 'component-one--a',
args: { foo: 'a', new: 'value' },
@@ -1026,6 +1099,7 @@ describe('PreviewWeb', () => {
storyId: 'component-one--a',
updatedArgs: { foo: 'new', new: 'value' },
});
+ await waitForEvents([Events.STORY_ARGS_UPDATED]);
mockChannel.emit.mockClear();
emitter.emit(Events.RESET_STORY_ARGS, {
@@ -1044,6 +1118,8 @@ describe('PreviewWeb', () => {
}),
undefined // this is coming from view.prepareForStory, not super important
);
+
+ await waitForEvents([Events.STORY_ARGS_UPDATED]);
expect(mockChannel.emit).toHaveBeenCalledWith(Events.STORY_ARGS_UPDATED, {
storyId: 'component-one--a',
args: { foo: 'a' },
@@ -1244,6 +1320,51 @@ describe('PreviewWeb', () => {
await waitForQuiescence();
expect(projectAnnotations.renderToDOM).not.toHaveBeenCalled();
});
+
+ // For https://github.com/storybookjs/storybook/issues/17214
+ it('does NOT render a second time if preparing', async () => {
+ document.location.search = '?id=component-one--a';
+
+ const [gate, openGate] = createGate();
+ const [importedGate, openImportedGate] = createGate();
+ importFn
+ .mockImplementationOnce(async (...args) => {
+ await gate;
+ return importFn(...args);
+ })
+ .mockImplementationOnce(async (...args) => {
+ // The second time we `import()` we open the "imported" gate
+ openImportedGate();
+ await gate;
+ return importFn(...args);
+ });
+
+ const preview = new PreviewWeb();
+ // We can't wait for the initialize function, as it waits for `renderSelection()`
+ // which prepares, but it does emit `CURRENT_STORY_WAS_SET` right before that
+ preview.initialize({ importFn, getProjectAnnotations });
+ await waitForEvents([Events.CURRENT_STORY_WAS_SET]);
+
+ mockChannel.emit.mockClear();
+ projectAnnotations.renderToDOM.mockClear();
+ emitter.emit(Events.SET_CURRENT_STORY, {
+ storyId: 'component-one--a',
+ viewMode: 'story',
+ });
+ await importedGate;
+ // We are blocking import so this won't render yet
+ expect(projectAnnotations.renderToDOM).not.toHaveBeenCalled();
+
+ mockChannel.emit.mockClear();
+ openGate();
+ await waitForRender();
+
+ // We should only render *once*
+ expect(projectAnnotations.renderToDOM).toHaveBeenCalledTimes(1);
+
+ // We should not show an error either
+ expect(preview.view.showErrorDisplay).not.toHaveBeenCalled();
+ });
});
describe('when changing story in story viewMode', () => {
@@ -1766,7 +1887,7 @@ describe('PreviewWeb', () => {
}),
}),
}),
- undefined,
+ 'docs-element',
expect.any(Function)
);
});
diff --git a/lib/preview-web/src/PreviewWeb.tsx b/lib/preview-web/src/PreviewWeb.tsx
index c8c6f7d84be5..e7d56f378915 100644
--- a/lib/preview-web/src/PreviewWeb.tsx
+++ b/lib/preview-web/src/PreviewWeb.tsx
@@ -5,22 +5,11 @@ import { SynchronousPromise } from 'synchronous-promise';
import Events, { IGNORED_EXCEPTION } from '@storybook/core-events';
import { logger } from '@storybook/client-logger';
import { addons, Channel } from '@storybook/addons';
-import {
- AnyFramework,
- StoryId,
- ProjectAnnotations,
- Args,
- Globals,
- ViewMode,
- StoryContextForLoaders,
- StoryContext,
-} from '@storybook/csf';
+import { AnyFramework, StoryId, ProjectAnnotations, Args, Globals } from '@storybook/csf';
import {
ModuleImportFn,
Selection,
Story,
- RenderContext,
- CSFFile,
StoryStore,
StorySpecifier,
StoryIndex,
@@ -30,39 +19,24 @@ import { WebProjectAnnotations } from './types';
import { UrlStore } from './UrlStore';
import { WebView } from './WebView';
+import { PREPARE_ABORTED, StoryRender } from './StoryRender';
+import { DocsRender } from './DocsRender';
-const { window: globalWindow, AbortController, fetch } = global;
+const { window: globalWindow, fetch } = global;
function focusInInput(event: Event) {
const target = event.target as Element;
return /input|textarea/i.test(target.tagName) || target.getAttribute('contenteditable') !== null;
}
-function createController(): AbortController {
- if (AbortController) return new AbortController();
- // Polyfill for IE11
- return {
- signal: { aborted: false },
- abort() {
- this.signal.aborted = true;
- },
- } as AbortController;
-}
-
-export type RenderPhase =
- | 'loading'
- | 'rendering'
- | 'playing'
- | 'played'
- | 'completed'
- | 'aborted'
- | 'errored';
type PromiseLike = Promise | SynchronousPromise;
type MaybePromise = Promise | T;
type StoryCleanupFn = () => MaybePromise;
const STORY_INDEX_PATH = './stories.json';
+type HTMLStoryRender = StoryRender;
+
export class PreviewWeb {
channel: Channel;
@@ -82,15 +56,13 @@ export class PreviewWeb {
previewEntryError?: Error;
- previousSelection: Selection;
+ currentSelection: Selection;
- previousStory: Story;
+ currentRender: HTMLStoryRender | DocsRender;
- previousCleanup: StoryCleanupFn;
+ storyRenders: HTMLStoryRender[] = [];
- abortController: AbortController;
-
- disableKeyListeners: boolean;
+ previousCleanup: StoryCleanupFn;
constructor() {
this.channel = addons.getChannel();
@@ -154,6 +126,8 @@ export class PreviewWeb {
this.channel.on(Events.UPDATE_GLOBALS, this.onUpdateGlobals.bind(this));
this.channel.on(Events.UPDATE_STORY_ARGS, this.onUpdateArgs.bind(this));
this.channel.on(Events.RESET_STORY_ARGS, this.onResetArgs.bind(this));
+ this.channel.on(Events.FORCE_RE_RENDER, this.onForceReRender.bind(this));
+ this.channel.on(Events.FORCE_REMOUNT, this.onForceRemount.bind(this));
}
getProjectAnnotationsOrRenderError(
@@ -356,7 +330,7 @@ export class PreviewWeb {
}
onKeydown(event: KeyboardEvent) {
- if (!this.disableKeyListeners && !focusInInput(event)) {
+ if (!this.currentRender?.disableKeyListeners && !focusInInput(event)) {
// We have to pick off the keys of the event that we need on the other side
const { altKey, ctrlKey, metaKey, shiftKey, key, code, keyCode } = event;
this.channel.emit(Events.PREVIEW_KEYDOWN, {
@@ -375,17 +349,31 @@ export class PreviewWeb {
this.urlStore.setQueryParams(queryParams);
}
- onUpdateGlobals({ globals }: { globals: Globals }) {
+ async onUpdateGlobals({ globals }: { globals: Globals }) {
this.storyStore.globals.update(globals);
+ await Promise.all(this.storyRenders.map((r) => r.rerender()));
+
+ if (this.currentRender instanceof DocsRender) await this.currentRender.rerender();
+
this.channel.emit(Events.GLOBALS_UPDATED, {
globals: this.storyStore.globals.get(),
initialGlobals: this.storyStore.globals.initialGlobals,
});
}
- onUpdateArgs({ storyId, updatedArgs }: { storyId: StoryId; updatedArgs: Args }) {
+ async onUpdateArgs({ storyId, updatedArgs }: { storyId: StoryId; updatedArgs: Args }) {
this.storyStore.args.update(storyId, updatedArgs);
+
+ await Promise.all(this.storyRenders.filter((r) => r.id === storyId).map((r) => r.rerender()));
+
+ // NOTE: we aren't checking to see the story args are targetted at the "right" story.
+ // This is because we may render >1 story on the page and there is no easy way to keep track
+ // of which ones were rendered by the docs page.
+ // However, in `modernInlineRender`, the individual stories track their own events as they
+ // each call `renderStoryToElement` below.
+ if (this.currentRender instanceof DocsRender) await this.currentRender.rerender();
+
this.channel.emit(Events.STORY_ARGS_UPDATED, {
storyId,
args: this.storyStore.args.get(storyId),
@@ -396,10 +384,10 @@ export class PreviewWeb {
// NOTE: we have to be careful here and avoid await-ing when updating the current story's args.
// That's because below in `renderStoryToElement` we have also bound to this event and will
// render the story in the same tick.
- // However, we can do that safely as the current story is available in `this.previousStory`
+ // However, we can do that safely as the current story is available in `this.currentRender.story`
const { initialArgs } =
- storyId === this.previousStory.id
- ? this.previousStory
+ storyId === this.currentRender?.id
+ ? this.currentRender.story
: await this.storyStore.loadStory({ storyId });
const argNamesToReset = argNames || Object.keys(this.storyStore.args.get(storyId));
@@ -408,7 +396,17 @@ export class PreviewWeb {
return acc;
}, {} as Partial);
- this.onUpdateArgs({ storyId, updatedArgs });
+ await this.onUpdateArgs({ storyId, updatedArgs });
+ }
+
+ // ForceReRender does not include a story id, so we simply must
+ // re-render all stories in case they are relevant
+ async onForceReRender() {
+ await Promise.all(this.storyRenders.map((r) => r.rerender()));
+ }
+
+ async onForceRemount({ storyId }: { storyId: StoryId }) {
+ await Promise.all(this.storyRenders.filter((r) => r.id === storyId).map((r) => r.remount()));
}
// RENDERING
@@ -426,8 +424,8 @@ export class PreviewWeb {
const { storyId } = selection;
- const storyIdChanged = this.previousSelection?.storyId !== storyId;
- const viewModeChanged = this.previousSelection?.viewMode !== selection.viewMode;
+ const storyIdChanged = this.currentSelection?.storyId !== storyId;
+ const viewModeChanged = this.currentSelection?.viewMode !== selection.viewMode;
// Show a spinner while we load the next story
if (selection.viewMode === 'story') {
@@ -436,42 +434,71 @@ export class PreviewWeb {
this.view.showPreparingDocs();
}
- let story;
+ const lastSelection = this.currentSelection;
+ let lastRender = this.currentRender;
+
+ // If the last render is still preparing, let's drop it right now. Either
+ // (a) it is a different story, which means we would drop it later, OR
+ // (b) it is the *same* story, in which case we will resolve our own .prepare() at the
+ // same moment anyway, and we should just "take over" the rendering.
+ // (We can't tell which it is yet, because it is possible that an HMR is going on and
+ // even though the storyId is the same, the story itself is not).
+ if (lastRender?.isPreparing()) {
+ await this.teardownRender(lastRender);
+ lastRender = null;
+ }
+
+ const storyRender: PreviewWeb['currentRender'] = new StoryRender<
+ HTMLElement,
+ TFramework
+ >(
+ this.channel,
+ this.storyStore,
+ this.renderToDOM,
+ this.mainStoryCallbacks(storyId),
+ storyId,
+ 'story'
+ );
+ // We need to store this right away, so if the story changes during
+ // the async `.prepare()` below, we can (potentially) cancel it
+ this.currentSelection = selection;
+ // Note this may be replaced by a docsRender after preparing
+ this.currentRender = storyRender;
+
try {
- story = await this.storyStore.loadStory({ storyId });
+ await storyRender.prepare();
} catch (err) {
- await this.cleanupPreviousRender();
- this.previousStory = null;
- this.renderStoryLoadingException(storyId, err);
+ if (err !== PREPARE_ABORTED) {
+ // We are about to render an error so make sure the previous story is
+ // no longer rendered.
+ await this.teardownRender(lastRender);
+ this.renderStoryLoadingException(storyId, err);
+ }
return;
}
+ const implementationChanged = !storyIdChanged && !storyRender.isEqual(lastRender);
- const implementationChanged =
- !storyIdChanged && this.previousStory && story !== this.previousStory;
+ if (persistedArgs) this.storyStore.args.updateFromPersisted(storyRender.story, persistedArgs);
- if (persistedArgs) {
- this.storyStore.args.updateFromPersisted(story, persistedArgs);
- }
+ const { parameters, initialArgs, argTypes, args } = storyRender.context();
// Don't re-render the story if nothing has changed to justify it
- if (this.previousStory && !storyIdChanged && !implementationChanged && !viewModeChanged) {
+ if (lastRender && !storyIdChanged && !implementationChanged && !viewModeChanged) {
+ this.currentRender = lastRender;
this.channel.emit(Events.STORY_UNCHANGED, storyId);
this.view.showMain();
return;
}
- await this.cleanupPreviousRender({ unmountDocs: viewModeChanged });
+ // Wait for the previous render to leave the page. NOTE: this will wait to ensure anything async
+ // is properly aborted, which (in some cases) can lead to the whole screen being refreshed.
+ await this.teardownRender(lastRender, { viewModeChanged });
// If we are rendering something new (as opposed to re-rendering the same or first story), emit
- if (this.previousSelection && (storyIdChanged || viewModeChanged)) {
+ if (lastSelection && (storyIdChanged || viewModeChanged)) {
this.channel.emit(Events.STORY_CHANGED, storyId);
}
- // Record the previous selection *before* awaiting the rendering, in cases things change before it is done.
- this.previousSelection = selection;
- this.previousStory = story;
-
- const { parameters, initialArgs, argTypes, args } = this.storyStore.getStoryContext(story);
if (global.FEATURES?.storyStoreV7) {
this.channel.emit(Events.STORY_PREPARED, {
id: storyId,
@@ -489,230 +516,45 @@ export class PreviewWeb {
this.channel.emit(Events.STORY_ARGS_UPDATED, { storyId, args });
}
- if (selection.viewMode === 'docs' || story.parameters.docsOnly) {
- this.previousCleanup = await this.renderDocs({ story });
+ if (selection.viewMode === 'docs' || parameters.docsOnly) {
+ this.currentRender = storyRender.toDocsRender();
+ this.currentRender.renderToElement(this.view.prepareForDocs(), this.renderStoryToElement);
} else {
- this.previousCleanup = this.renderStory({ story });
+ this.storyRenders.push(storyRender);
+ this.currentRender.renderToElement(this.view.prepareForStory(storyRender.story));
}
}
- async renderDocs({ story }: { story: Story }) {
- const { id, title, name } = story;
- const csfFile: CSFFile = await this.storyStore.loadCSFFileByStoryId(id);
- const docsContext = {
- id,
- title,
- name,
- // NOTE: these two functions are *sync* so cannot access stories from other CSF files
- storyById: (storyId: StoryId) => this.storyStore.storyFromCSFFile({ storyId, csfFile }),
- componentStories: () => this.storyStore.componentStoriesFromCSFFile({ csfFile }),
- loadStory: (storyId: StoryId) => this.storyStore.loadStory({ storyId }),
- renderStoryToElement: this.renderStoryToElement.bind(this),
- getStoryContext: (renderedStory: Story) =>
- ({
- ...this.storyStore.getStoryContext(renderedStory),
- viewMode: 'docs' as ViewMode,
- } as StoryContextForLoaders),
- };
-
- const render = async () => {
- const fullDocsContext = {
- ...docsContext,
- // Put all the storyContext fields onto the docs context for back-compat
- ...(!global.FEATURES?.breakingChangesV7 && this.storyStore.getStoryContext(story)),
- };
-
- const renderer = await import('./renderDocs');
- const element = this.view.prepareForDocs();
- renderer.renderDocs(story, fullDocsContext, element, () =>
- this.channel.emit(Events.DOCS_RENDERED, id)
- );
- };
+ // Used by docs' modernInlineRender to render a story to a given element
+ // Note this short-circuits the `prepare()` phase of the StoryRender,
+ // main to be consistent with the previous behaviour. In the future,
+ // we will change it to go ahead and load the story, which will end up being
+ // "instant", although async.
+ renderStoryToElement(story: Story, element: HTMLElement) {
+ const render = new StoryRender(
+ this.channel,
+ this.storyStore,
+ this.renderToDOM,
+ this.inlineStoryCallbacks(story.id),
+ story.id,
+ 'docs',
+ story
+ );
+ render.renderToElement(element);
- // Initially render right away
- render();
-
- // Listen to events and re-render
- // NOTE: we aren't checking to see the story args are targetted at the "right" story.
- // This is because we may render >1 story on the page and there is no easy way to keep track
- // of which ones were rendered by the docs page.
- // However, in `modernInlineRender`, the individual stories track their own events as they
- // each call `renderStoryToElement` below.
- if (!global.FEATURES?.modernInlineRender) {
- this.channel.on(Events.UPDATE_GLOBALS, render);
- this.channel.on(Events.UPDATE_STORY_ARGS, render);
- this.channel.on(Events.RESET_STORY_ARGS, render);
- }
+ this.storyRenders.push(render);
return async () => {
- if (!global.FEATURES?.modernInlineRender) {
- this.channel.off(Events.UPDATE_GLOBALS, render);
- this.channel.off(Events.UPDATE_STORY_ARGS, render);
- this.channel.off(Events.RESET_STORY_ARGS, render);
- }
+ await this.teardownRender(render);
};
}
- renderStory({ story }: { story: Story }) {
- const element = this.view.prepareForStory(story);
- const { id, componentId, title, name } = story;
- const renderContext = {
- componentId,
- title,
- kind: title,
- id,
- name,
- story: name,
- showMain: () => this.view.showMain(),
- showError: (err: { title: string; description: string }) => this.renderError(id, err),
- showException: (err: Error) => this.renderException(id, err),
- };
-
- return this.renderStoryToElement({ story, renderContext, element, viewMode: 'story' });
- }
-
- // Render a story into a given element and watch for the events that would trigger us
- // to re-render it (plus deal sensibly with things like changing story mid-way through).
- renderStoryToElement({
- story,
- renderContext: renderContextWithoutStoryContext,
- element: canvasElement,
- viewMode,
- }: {
- story: Story;
- renderContext: Omit<
- RenderContext,
- 'storyContext' | 'storyFn' | 'unboundStoryFn' | 'forceRemount'
- >;
- element: HTMLElement;
- viewMode: ViewMode;
- }): StoryCleanupFn {
- const { id, applyLoaders, unboundStoryFn, playFunction } = story;
-
- let notYetRendered = true;
- let phase: RenderPhase;
- const isPending = () => ['rendering', 'playing'].includes(phase);
-
- this.abortController = createController();
-
- const render = async ({ initial = false, forceRemount = false } = {}) => {
- if (forceRemount && !initial) {
- this.abortController.abort();
- this.abortController = createController();
- }
-
- const abortSignal = this.abortController.signal; // we need a stable reference to the signal
- const runPhase = async (phaseName: RenderPhase, phaseFn?: () => MaybePromise) => {
- phase = phaseName;
- this.channel.emit(Events.STORY_RENDER_PHASE_CHANGED, { newPhase: phase, storyId: id });
- if (phaseFn) await phaseFn();
- if (abortSignal.aborted) {
- phase = 'aborted';
- this.channel.emit(Events.STORY_RENDER_PHASE_CHANGED, { newPhase: phase, storyId: id });
- }
- };
-
- try {
- let loadedContext: StoryContext;
- await runPhase('loading', async () => {
- loadedContext = await applyLoaders({
- ...this.storyStore.getStoryContext(story),
- viewMode,
- } as StoryContextForLoaders);
- });
- if (abortSignal.aborted) return;
-
- const renderStoryContext: StoryContext = {
- ...loadedContext,
- // By this stage, it is possible that new args/globals have been received for this story
- // and we need to ensure we render it with the new values
- ...this.storyStore.getStoryContext(story),
- abortSignal,
- canvasElement,
- };
- const renderContext: RenderContext = {
- ...renderContextWithoutStoryContext,
- forceRemount: forceRemount || notYetRendered,
- storyContext: renderStoryContext,
- storyFn: () => unboundStoryFn(renderStoryContext),
- unboundStoryFn,
- };
-
- await runPhase('rendering', () => this.renderToDOM(renderContext, canvasElement));
- notYetRendered = false;
- if (abortSignal.aborted) return;
-
- if (forceRemount && playFunction) {
- this.disableKeyListeners = true;
- await runPhase('playing', () => playFunction(renderContext.storyContext));
- await runPhase('played');
- this.disableKeyListeners = false;
- if (abortSignal.aborted) return;
- }
-
- await runPhase('completed', () => this.channel.emit(Events.STORY_RENDERED, id));
- } catch (err) {
- renderContextWithoutStoryContext.showException(err);
- }
- };
-
- // Start the first (initial) render. We don't await here because we need to return the "cleanup"
- // function below right away, so if the user changes story during the first render we can cancel
- // it without having to first wait for it to finish.
- // Whenever the selection changes we want to force the component to be remounted.
- render({ initial: true, forceRemount: true });
-
- const remountStoryIfMatches = ({ storyId }: { storyId: StoryId }) => {
- if (storyId === story.id) render({ forceRemount: true });
- };
- const rerenderStoryIfMatches = ({ storyId }: { storyId: StoryId }) => {
- if (storyId === story.id) render();
- };
-
- // Listen to events and re-render story
- // Don't forget to unsubscribe on cleanup
- this.channel.on(Events.UPDATE_GLOBALS, render);
- this.channel.on(Events.FORCE_RE_RENDER, render);
- this.channel.on(Events.FORCE_REMOUNT, remountStoryIfMatches);
- this.channel.on(Events.UPDATE_STORY_ARGS, rerenderStoryIfMatches);
- this.channel.on(Events.RESET_STORY_ARGS, rerenderStoryIfMatches);
-
- // Cleanup / teardown function invoked on next render (via `cleanupPreviousRender`)
- return async () => {
- // If the story is torn down (either a new story is rendered or the docs page removes it)
- // we need to consider the fact that the initial render may not be finished
- // (possibly the loaders or the play function are still running). We use the controller
- // as a method to abort them, ASAP, but this is not foolproof as we cannot control what
- // happens inside the user's code.
- this.abortController.abort();
-
- this.storyStore.cleanupStory(story);
- this.channel.off(Events.UPDATE_GLOBALS, render);
- this.channel.off(Events.FORCE_RE_RENDER, render);
- this.channel.off(Events.FORCE_REMOUNT, remountStoryIfMatches);
- this.channel.off(Events.UPDATE_STORY_ARGS, rerenderStoryIfMatches);
- this.channel.off(Events.RESET_STORY_ARGS, rerenderStoryIfMatches);
-
- // Check if we're done rendering/playing. If not, we may have to reload the page.
- if (!isPending()) return;
-
- // Wait several ticks that may be needed to handle the abort, then try again.
- // Note that there's a max of 5 nested timeouts before they're no longer "instant".
- await new Promise((resolve) => setTimeout(resolve, 0));
- if (!isPending()) return;
-
- await new Promise((resolve) => setTimeout(resolve, 0));
- if (!isPending()) return;
-
- await new Promise((resolve) => setTimeout(resolve, 0));
- if (!isPending()) return;
-
- // If we still haven't completed, reload the page (iframe) to ensure we have a clean slate
- // for the next render. Since the reload can take a brief moment to happen, we want to stop
- // further rendering by awaiting a never-resolving promise (which is destroyed on reload).
- global.window.location.reload();
- await new Promise(() => {});
- };
+ async teardownRender(
+ render: HTMLStoryRender | DocsRender,
+ { viewModeChanged }: { viewModeChanged?: boolean } = {}
+ ) {
+ this.storyRenders = this.storyRenders.filter((r) => r !== render);
+ await render?.teardown({ viewModeChanged });
}
// API
@@ -737,18 +579,21 @@ export class PreviewWeb {
}
// UTILITIES
- async cleanupPreviousRender({ unmountDocs = true }: { unmountDocs?: boolean } = {}) {
- const previousViewMode = this.previousStory?.parameters?.docsOnly
- ? 'docs'
- : this.previousSelection?.viewMode;
-
- if (unmountDocs && previousViewMode === 'docs') {
- (await import('./renderDocs')).unmountDocs(this.view.docsRoot());
- }
+ mainStoryCallbacks(storyId: StoryId) {
+ return {
+ showMain: () => this.view.showMain(),
+ showError: (err: { title: string; description: string }) => this.renderError(storyId, err),
+ showException: (err: Error) => this.renderException(storyId, err),
+ };
+ }
- if (this.previousCleanup) {
- await this.previousCleanup();
- }
+ inlineStoryCallbacks(storyId: StoryId) {
+ return {
+ showMain: () => {},
+ showError: (err: { title: string; description: string }) =>
+ logger.error(`Error rendering docs story (${storyId})`, err),
+ showException: (err: Error) => logger.error(`Error rendering docs story (${storyId})`, err),
+ };
}
renderPreviewEntryError(reason: string, err: Error) {
diff --git a/lib/preview-web/src/StoryRender.ts b/lib/preview-web/src/StoryRender.ts
new file mode 100644
index 000000000000..70d4e3115706
--- /dev/null
+++ b/lib/preview-web/src/StoryRender.ts
@@ -0,0 +1,254 @@
+import global from 'global';
+import {
+ AnyFramework,
+ StoryId,
+ ViewMode,
+ StoryContextForLoaders,
+ StoryContext,
+} from '@storybook/csf';
+import { Story, RenderContext, StoryStore } from '@storybook/store';
+import { Channel } from '@storybook/addons';
+import { STORY_RENDER_PHASE_CHANGED, STORY_RENDERED } from '@storybook/core-events';
+import { DocsRender } from './DocsRender';
+
+const { AbortController } = global;
+
+export type RenderPhase =
+ | 'preparing'
+ | 'loading'
+ | 'rendering'
+ | 'playing'
+ | 'played'
+ | 'completed'
+ | 'aborted'
+ | 'errored';
+
+function createController(): AbortController {
+ if (AbortController) return new AbortController();
+ // Polyfill for IE11
+ return {
+ signal: { aborted: false },
+ abort() {
+ this.signal.aborted = true;
+ },
+ } as AbortController;
+}
+
+export type RenderContextCallbacks = Pick<
+ RenderContext,
+ 'showMain' | 'showError' | 'showException'
+>;
+
+export const PREPARE_ABORTED = new Error('prepareAborted');
+
+export class StoryRender<
+ CanvasElement extends HTMLElement | void,
+ TFramework extends AnyFramework
+> {
+ public story?: Story;
+
+ public phase?: RenderPhase;
+
+ private abortController?: AbortController;
+
+ private canvasElement?: CanvasElement;
+
+ private notYetRendered = true;
+
+ public disableKeyListeners = false;
+
+ constructor(
+ private channel: Channel,
+ private store: StoryStore,
+ private renderToScreen: (
+ renderContext: RenderContext,
+ canvasElement: CanvasElement
+ ) => void | Promise,
+ private callbacks: RenderContextCallbacks,
+ public id: StoryId,
+ public viewMode: ViewMode,
+ story?: Story
+ ) {
+ this.abortController = createController();
+
+ // Allow short-circuiting preparing if we happen to already
+ // have the story (this is used by docs mode)
+ if (story) {
+ this.story = story;
+ // TODO -- what should the phase be now?
+ // TODO -- should we emit the render phase changed event?
+ this.phase = 'preparing';
+ }
+ }
+
+ private async runPhase(signal: AbortSignal, phase: RenderPhase, phaseFn?: () => Promise) {
+ this.phase = phase;
+ this.channel.emit(STORY_RENDER_PHASE_CHANGED, { newPhase: this.phase, storyId: this.id });
+ if (phaseFn) await phaseFn();
+
+ if (signal.aborted) {
+ this.phase = 'aborted';
+ this.channel.emit(STORY_RENDER_PHASE_CHANGED, { newPhase: this.phase, storyId: this.id });
+ }
+ }
+
+ async prepare() {
+ await this.runPhase(this.abortController.signal, 'preparing', async () => {
+ this.story = await this.store.loadStory({ storyId: this.id });
+ });
+
+ if (this.abortController.signal.aborted) {
+ this.store.cleanupStory(this.story);
+ throw PREPARE_ABORTED;
+ }
+ }
+
+ // The two story "renders" are equal and have both loaded the same story
+ isEqual(other?: StoryRender | DocsRender) {
+ return other && this.id === other.id && this.story && this.story === other.story;
+ }
+
+ isPreparing() {
+ return ['preparing'].includes(this.phase);
+ }
+
+ isPending() {
+ return ['rendering', 'playing'].includes(this.phase);
+ }
+
+ toDocsRender() {
+ return new DocsRender(this.channel, this.store, this.id, this.story);
+ }
+
+ context() {
+ return this.store.getStoryContext(this.story);
+ }
+
+ async renderToElement(canvasElement: CanvasElement) {
+ this.canvasElement = canvasElement;
+
+ // FIXME: this comment
+ // Start the first (initial) render. We don't await here because we need to return the "cleanup"
+ // function below right away, so if the user changes story during the first render we can cancel
+ // it without having to first wait for it to finish.
+ // Whenever the selection changes we want to force the component to be remounted.
+ return this.render({ initial: true, forceRemount: true });
+ }
+
+ async render({
+ initial = false,
+ forceRemount = false,
+ }: {
+ initial?: boolean;
+ forceRemount?: boolean;
+ } = {}) {
+ if (!this.story) throw new Error('cannot render when not prepared');
+ const { id, componentId, title, name, applyLoaders, unboundStoryFn, playFunction } = this.story;
+
+ if (forceRemount && !initial) {
+ // NOTE: we don't check the cancel actually worked here, so the previous
+ // render could conceivably still be running after this call.
+ // We might want to change that in the future.
+ this.cancelRender();
+ this.abortController = createController();
+ }
+
+ // We need a stable reference to the signal -- if a re-mount happens the
+ // abort controller may be torn down (above) before we actually check the signal.
+ const abortSignal = this.abortController.signal;
+
+ try {
+ let loadedContext: StoryContext;
+ await this.runPhase(abortSignal, 'loading', async () => {
+ loadedContext = await applyLoaders({
+ ...this.context(),
+ viewMode: this.viewMode,
+ } as StoryContextForLoaders);
+ });
+ if (abortSignal.aborted) return;
+
+ const renderStoryContext: StoryContext = {
+ ...loadedContext,
+ // By this stage, it is possible that new args/globals have been received for this story
+ // and we need to ensure we render it with the new values
+ ...this.context(),
+ abortSignal,
+ canvasElement: this.canvasElement as HTMLElement,
+ };
+ const renderContext: RenderContext = {
+ componentId,
+ title,
+ kind: title,
+ id,
+ name,
+ story: name,
+ ...this.callbacks,
+ forceRemount: forceRemount || this.notYetRendered,
+ storyContext: renderStoryContext,
+ storyFn: () => unboundStoryFn(renderStoryContext),
+ unboundStoryFn,
+ };
+
+ await this.runPhase(abortSignal, 'rendering', async () =>
+ this.renderToScreen(renderContext, this.canvasElement)
+ );
+ this.notYetRendered = false;
+ if (abortSignal.aborted) return;
+
+ if (forceRemount && playFunction) {
+ this.disableKeyListeners = true;
+ await this.runPhase(abortSignal, 'playing', async () =>
+ playFunction(renderContext.storyContext)
+ );
+ await this.runPhase(abortSignal, 'played');
+ this.disableKeyListeners = false;
+ if (abortSignal.aborted) return;
+ }
+
+ await this.runPhase(abortSignal, 'completed', async () =>
+ this.channel.emit(STORY_RENDERED, id)
+ );
+ } catch (err) {
+ this.callbacks.showException(err);
+ }
+ }
+
+ async rerender() {
+ return this.render();
+ }
+
+ async remount() {
+ return this.render({ forceRemount: true });
+ }
+
+ // If the story is torn down (either a new story is rendered or the docs page removes it)
+ // we need to consider the fact that the initial render may not be finished
+ // (possibly the loaders or the play function are still running). We use the controller
+ // as a method to abort them, ASAP, but this is not foolproof as we cannot control what
+ // happens inside the user's code.
+ cancelRender() {
+ this.abortController.abort();
+ }
+
+ async teardown(options: {} = {}) {
+ this.cancelRender();
+
+ // If the story has loaded, we need to cleanup
+ if (this.story) this.store.cleanupStory(this.story);
+
+ // Check if we're done rendering/playing. If not, we may have to reload the page.
+ // Wait several ticks that may be needed to handle the abort, then try again.
+ // Note that there's a max of 5 nested timeouts before they're no longer "instant".
+ for (let i = 0; i < 3; i += 1) {
+ if (!this.isPending()) return;
+ // eslint-disable-next-line no-await-in-loop
+ await new Promise((resolve) => setTimeout(resolve, 0));
+ }
+
+ // If we still haven't completed, reload the page (iframe) to ensure we have a clean slate
+ // for the next render. Since the reload can take a brief moment to happen, we want to stop
+ // further rendering by awaiting a never-resolving promise (which is destroyed on reload).
+ global.window.location.reload();
+ await new Promise(() => {});
+ }
+}
diff --git a/lib/preview-web/src/UrlStore.ts b/lib/preview-web/src/UrlStore.ts
index 0f930edf66fc..f688b6f1a657 100644
--- a/lib/preview-web/src/UrlStore.ts
+++ b/lib/preview-web/src/UrlStore.ts
@@ -1,9 +1,9 @@
-import { SelectionSpecifier, Selection } from '@storybook/store';
+import type { SelectionSpecifier, Selection } from '@storybook/store';
import global from 'global';
import qs from 'qs';
import deprecate from 'util-deprecate';
-import { ViewMode } from '@storybook/addons';
+import type { ViewMode } from '@storybook/addons';
import { parseArgsParam } from './parseArgsParam';
diff --git a/lib/preview-web/src/composeConfigs.test.ts b/lib/preview-web/src/composeConfigs.test.ts
index 09938131a939..ef6d04c5ddd2 100644
--- a/lib/preview-web/src/composeConfigs.test.ts
+++ b/lib/preview-web/src/composeConfigs.test.ts
@@ -124,13 +124,11 @@ describe('composeConfigs', () => {
expect(
composeConfigs([
{
- play: 'play-1',
render: 'render-1',
renderToDOM: 'renderToDOM-1',
applyDecorators: 'applyDecorators-1',
},
{
- play: 'play-2',
render: 'render-2',
renderToDOM: 'renderToDOM-2',
applyDecorators: 'applyDecorators-2',
@@ -146,10 +144,9 @@ describe('composeConfigs', () => {
globals: {},
globalTypes: {},
loaders: [],
- play: 'play-1',
- render: 'render-1',
- renderToDOM: 'renderToDOM-1',
- applyDecorators: 'applyDecorators-1',
+ render: 'render-2',
+ renderToDOM: 'renderToDOM-2',
+ applyDecorators: 'applyDecorators-2',
});
});
});
diff --git a/lib/preview-web/src/composeConfigs.ts b/lib/preview-web/src/composeConfigs.ts
index f03de9b10edf..bc426aabc2a7 100644
--- a/lib/preview-web/src/composeConfigs.ts
+++ b/lib/preview-web/src/composeConfigs.ts
@@ -1,6 +1,7 @@
-import { AnyFramework } from '@storybook/csf';
-import { combineParameters, ModuleExports } from '@storybook/store';
-import { WebProjectAnnotations } from './types';
+import type { AnyFramework } from '@storybook/csf';
+import { combineParameters } from '@storybook/store';
+import type { ModuleExports } from '@storybook/store';
+import type { WebProjectAnnotations } from './types';
function getField(moduleExportList: ModuleExports[], field: string): any[] {
return moduleExportList.map((xs) => xs[field]).filter(Boolean);
@@ -15,7 +16,7 @@ function getObjectField(moduleExportList: ModuleExports[], field: string): Recor
}
function getSingletonField(moduleExportList: ModuleExports[], field: string): any {
- return getField(moduleExportList, field)[0];
+ return getField(moduleExportList, field).pop();
}
export function composeConfigs(
@@ -37,7 +38,6 @@ export function composeConfigs(
globalTypes: getObjectField(moduleExportList, 'globalTypes'),
loaders: getArrayField(moduleExportList, 'loaders'),
render: getSingletonField(moduleExportList, 'render'),
- play: getSingletonField(moduleExportList, 'play'),
renderToDOM: getSingletonField(moduleExportList, 'renderToDOM'),
applyDecorators: getSingletonField(moduleExportList, 'applyDecorators'),
};
diff --git a/lib/preview-web/src/parseArgsParam.ts b/lib/preview-web/src/parseArgsParam.ts
index 253fce0ac806..c13a9c07c914 100644
--- a/lib/preview-web/src/parseArgsParam.ts
+++ b/lib/preview-web/src/parseArgsParam.ts
@@ -1,6 +1,6 @@
import qs from 'qs';
import dedent from 'ts-dedent';
-import { Args } from '@storybook/addons';
+import type { Args } from '@storybook/addons';
import { once } from '@storybook/client-logger';
import isPlainObject from 'lodash/isPlainObject';
diff --git a/lib/preview-web/src/types.ts b/lib/preview-web/src/types.ts
index 0b1709f48e06..fc4817e30fc6 100644
--- a/lib/preview-web/src/types.ts
+++ b/lib/preview-web/src/types.ts
@@ -1,4 +1,4 @@
-import {
+import type {
StoryId,
StoryName,
AnyFramework,
@@ -8,7 +8,7 @@ import {
Args,
Globals,
} from '@storybook/csf';
-import { RenderContext, Story } from '@storybook/store';
+import type { RenderContext, Story } from '@storybook/store';
import { PreviewWeb } from './PreviewWeb';
export type WebProjectAnnotations =
diff --git a/lib/router/package.json b/lib/router/package.json
index abbd6259912e..ba471105d312 100644
--- a/lib/router/package.json
+++ b/lib/router/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/router",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"description": "Core Storybook Router",
"keywords": [
"storybook"
@@ -40,7 +40,7 @@
"prepare": "ts-node ../../scripts/prebundle.ts"
},
"dependencies": {
- "@storybook/client-logger": "6.5.0-alpha.42",
+ "@storybook/client-logger": "6.5.0-alpha.48",
"core-js": "^3.8.2",
"regenerator-runtime": "^0.13.7"
},
@@ -64,6 +64,6 @@
"access": "public"
},
"bundlerEntrypoint": "./src/index.ts",
- "gitHead": "1477954e18494e721ae8d3c99bc710381eab1351",
+ "gitHead": "5f3afb8cf4389c16be11a6e5099e902d16a82762",
"sbmodern": "dist/modern/index.js"
}
diff --git a/lib/source-loader/package.json b/lib/source-loader/package.json
index 473df72289a1..724510072bdd 100644
--- a/lib/source-loader/package.json
+++ b/lib/source-loader/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/source-loader",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"description": "Source loader",
"keywords": [
"lib",
@@ -41,8 +41,8 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
- "@storybook/addons": "6.5.0-alpha.42",
- "@storybook/client-logger": "6.5.0-alpha.42",
+ "@storybook/addons": "6.5.0-alpha.48",
+ "@storybook/client-logger": "6.5.0-alpha.48",
"@storybook/csf": "0.0.2--canary.87bc651.0",
"core-js": "^3.8.2",
"estraverse": "^5.2.0",
@@ -59,6 +59,6 @@
"publishConfig": {
"access": "public"
},
- "gitHead": "1477954e18494e721ae8d3c99bc710381eab1351",
+ "gitHead": "5f3afb8cf4389c16be11a6e5099e902d16a82762",
"sbmodern": "dist/modern/index.js"
}
diff --git a/lib/store/package.json b/lib/store/package.json
index e533f9fb05dd..26da9ca1785a 100644
--- a/lib/store/package.json
+++ b/lib/store/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/store",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"description": "",
"keywords": [
"storybook"
@@ -40,9 +40,9 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
- "@storybook/addons": "6.5.0-alpha.42",
- "@storybook/client-logger": "6.5.0-alpha.42",
- "@storybook/core-events": "6.5.0-alpha.42",
+ "@storybook/addons": "6.5.0-alpha.48",
+ "@storybook/client-logger": "6.5.0-alpha.48",
+ "@storybook/core-events": "6.5.0-alpha.48",
"@storybook/csf": "0.0.2--canary.87bc651.0",
"core-js": "^3.8.2",
"fast-deep-equal": "^3.1.3",
@@ -63,6 +63,6 @@
"publishConfig": {
"access": "public"
},
- "gitHead": "1477954e18494e721ae8d3c99bc710381eab1351",
+ "gitHead": "5f3afb8cf4389c16be11a6e5099e902d16a82762",
"sbmodern": "dist/modern/index.js"
}
diff --git a/lib/store/src/ArgsStore.ts b/lib/store/src/ArgsStore.ts
index b38f5d43345f..eb7c85004050 100644
--- a/lib/store/src/ArgsStore.ts
+++ b/lib/store/src/ArgsStore.ts
@@ -1,6 +1,6 @@
-import { StoryId, Args } from '@storybook/csf';
+import type { StoryId, Args } from '@storybook/csf';
-import { Story } from './types';
+import type { Story } from './types';
import { combineArgs, mapArgsToTypes, validateOptions, deepDiff, DEEPLY_EQUAL } from './args';
function deleteUndefined(obj: Record) {
diff --git a/lib/store/src/GlobalsStore.ts b/lib/store/src/GlobalsStore.ts
index 4654c71dc2c1..f61aa1758754 100644
--- a/lib/store/src/GlobalsStore.ts
+++ b/lib/store/src/GlobalsStore.ts
@@ -1,6 +1,6 @@
import deprecate from 'util-deprecate';
import dedent from 'ts-dedent';
-import { Globals, GlobalTypes } from '@storybook/csf';
+import type { Globals, GlobalTypes } from '@storybook/csf';
import { deepDiff, DEEPLY_EQUAL } from './args';
import { getValuesFromArgTypes } from './csf/getValuesFromArgTypes';
diff --git a/lib/store/src/StoryIndexStore.ts b/lib/store/src/StoryIndexStore.ts
index 34adc02c2ca3..8e4a17fc2648 100644
--- a/lib/store/src/StoryIndexStore.ts
+++ b/lib/store/src/StoryIndexStore.ts
@@ -1,8 +1,8 @@
import dedent from 'ts-dedent';
import { Channel } from '@storybook/addons';
-import { StoryId } from '@storybook/csf';
+import type { StoryId } from '@storybook/csf';
-import { StorySpecifier, StoryIndex, StoryIndexEntry } from './types';
+import type { StorySpecifier, StoryIndex, StoryIndexEntry } from './types';
export class StoryIndexStore {
channel: Channel;
diff --git a/lib/store/src/StoryStore.test.ts b/lib/store/src/StoryStore.test.ts
index 3538b8be6885..579a24c4a2b5 100644
--- a/lib/store/src/StoryStore.test.ts
+++ b/lib/store/src/StoryStore.test.ts
@@ -1,9 +1,9 @@
-import { AnyFramework, ProjectAnnotations } from '@storybook/csf';
+import type { AnyFramework, ProjectAnnotations } from '@storybook/csf';
import global from 'global';
import { prepareStory, processCSFFile } from './csf';
import { StoryStore } from './StoryStore';
-import { StoryIndex } from './types';
+import type { StoryIndex } from './types';
import { HooksContext } from './hooks';
// Spy on prepareStory/processCSFFile
@@ -359,6 +359,25 @@ describe('StoryStore', () => {
expect(stories).toHaveLength(2);
expect(stories.map((s) => s.id)).toEqual(['component-one--a', 'component-one--b']);
});
+
+ it('returns them in the order they are in the index, not the file', async () => {
+ const store = new StoryStore();
+ store.setProjectAnnotations(projectAnnotations);
+ const reversedIndex = {
+ v: 3,
+ stories: {
+ 'component-one--b': storyIndex.stories['component-one--b'],
+ 'component-one--a': storyIndex.stories['component-one--a'],
+ },
+ };
+ store.initialize({ storyIndex: reversedIndex, importFn, cache: false });
+
+ const csfFile = await store.loadCSFFileByStoryId('component-one--a');
+ const stories = store.componentStoriesFromCSFFile({ csfFile });
+
+ expect(stories).toHaveLength(2);
+ expect(stories.map((s) => s.id)).toEqual(['component-one--b', 'component-one--a']);
+ });
});
describe('getStoryContext', () => {
diff --git a/lib/store/src/StoryStore.ts b/lib/store/src/StoryStore.ts
index f46602d29533..04b15b465a41 100644
--- a/lib/store/src/StoryStore.ts
+++ b/lib/store/src/StoryStore.ts
@@ -1,5 +1,5 @@
import memoize from 'memoizerific';
-import {
+import type {
Parameters,
StoryId,
StoryContextForLoaders,
@@ -18,7 +18,7 @@ import { StoryIndexStore } from './StoryIndexStore';
import { ArgsStore } from './ArgsStore';
import { GlobalsStore } from './GlobalsStore';
import { processCSFFile, prepareStory, normalizeProjectAnnotations } from './csf';
-import {
+import type {
CSFFile,
ModuleImportFn,
Story,
@@ -190,9 +190,9 @@ export class StoryStore {
// If we have a CSF file we can get all the stories from it synchronously
componentStoriesFromCSFFile({ csfFile }: { csfFile: CSFFile }): Story[] {
- return Object.keys(csfFile.stories).map((storyId: StoryId) =>
- this.storyFromCSFFile({ storyId, csfFile })
- );
+ return Object.keys(this.storyIndex.stories)
+ .filter((storyId: StoryId) => !!csfFile.stories[storyId])
+ .map((storyId: StoryId) => this.storyFromCSFFile({ storyId, csfFile }));
}
// A prepared story does not include args, globals or hooks. These are stored in the story store
diff --git a/lib/store/src/args.ts b/lib/store/src/args.ts
index e33e8d641f39..e12acdff3b67 100644
--- a/lib/store/src/args.ts
+++ b/lib/store/src/args.ts
@@ -1,5 +1,5 @@
import deepEqual from 'fast-deep-equal';
-import { SBType, Args, ArgTypes, StoryContext, AnyFramework } from '@storybook/csf';
+import type { SBType, Args, ArgTypes, StoryContext, AnyFramework } from '@storybook/csf';
import { once } from '@storybook/client-logger';
import isPlainObject from 'lodash/isPlainObject';
import dedent from 'ts-dedent';
diff --git a/lib/store/src/autoTitle.test.ts b/lib/store/src/autoTitle.test.ts
index ced6ade6a679..c2490e861bc9 100644
--- a/lib/store/src/autoTitle.test.ts
+++ b/lib/store/src/autoTitle.test.ts
@@ -28,7 +28,7 @@ describe('autoTitle', () => {
it('match with no titlePrefix', () => {
expect(
auto('./path/to/file.stories.js', normalizeStoriesEntry({ directory: './path' }, options))
- ).toMatchInlineSnapshot(`To/File`);
+ ).toMatchInlineSnapshot(`to/file`);
});
it('match with titlePrefix', () => {
@@ -37,7 +37,7 @@ describe('autoTitle', () => {
'./path/to/file.stories.js',
normalizeStoriesEntry({ directory: './path', titlePrefix: 'atoms' }, options)
)
- ).toMatchInlineSnapshot(`Atoms/To/File`);
+ ).toMatchInlineSnapshot(`atoms/to/file`);
});
it('match with trailing duplicate', () => {
@@ -46,7 +46,7 @@ describe('autoTitle', () => {
'./path/to/button/button.stories.js',
normalizeStoriesEntry({ directory: './path' }, options)
)
- ).toMatchInlineSnapshot(`To/Button`);
+ ).toMatchInlineSnapshot(`to/button`);
});
it('match with trailing index', () => {
@@ -55,7 +55,7 @@ describe('autoTitle', () => {
'./path/to/button/index.stories.js',
normalizeStoriesEntry({ directory: './path' }, options)
)
- ).toMatchInlineSnapshot(`To/Button`);
+ ).toMatchInlineSnapshot(`to/button`);
});
it('match with hyphen path', () => {
@@ -64,7 +64,7 @@ describe('autoTitle', () => {
'./path/to-my/file.stories.js',
normalizeStoriesEntry({ directory: './path' }, options)
)
- ).toMatchInlineSnapshot(`To My/File`);
+ ).toMatchInlineSnapshot(`to-my/file`);
});
it('match with underscore path', () => {
@@ -73,7 +73,7 @@ describe('autoTitle', () => {
'./path/to_my/file.stories.js',
normalizeStoriesEntry({ directory: './path' }, options)
)
- ).toMatchInlineSnapshot(`To My/File`);
+ ).toMatchInlineSnapshot(`to_my/file`);
});
it('match with windows path', () => {
@@ -82,7 +82,7 @@ describe('autoTitle', () => {
'./path/to_my/file.stories.js',
normalizeStoriesEntry({ directory: '.\\path' }, winOptions)
)
- ).toMatchInlineSnapshot(`To My/File`);
+ ).toMatchInlineSnapshot(`to_my/file`);
});
});
@@ -90,7 +90,7 @@ describe('autoTitle', () => {
it('match with no titlePrefix', () => {
expect(
auto('./path/to/file.stories.js', normalizeStoriesEntry({ directory: './path/' }, options))
- ).toMatchInlineSnapshot(`To/File`);
+ ).toMatchInlineSnapshot(`to/file`);
});
it('match with titlePrefix', () => {
@@ -99,7 +99,7 @@ describe('autoTitle', () => {
'./path/to/file.stories.js',
normalizeStoriesEntry({ directory: './path/', titlePrefix: 'atoms' }, options)
)
- ).toMatchInlineSnapshot(`Atoms/To/File`);
+ ).toMatchInlineSnapshot(`atoms/to/file`);
});
it('match with hyphen path', () => {
@@ -108,7 +108,7 @@ describe('autoTitle', () => {
'./path/to-my/file.stories.js',
normalizeStoriesEntry({ directory: './path/' }, options)
)
- ).toMatchInlineSnapshot(`To My/File`);
+ ).toMatchInlineSnapshot(`to-my/file`);
});
it('match with underscore path', () => {
@@ -117,7 +117,7 @@ describe('autoTitle', () => {
'./path/to_my/file.stories.js',
normalizeStoriesEntry({ directory: './path/' }, options)
)
- ).toMatchInlineSnapshot(`To My/File`);
+ ).toMatchInlineSnapshot(`to_my/file`);
});
it('match with windows path', () => {
@@ -126,7 +126,16 @@ describe('autoTitle', () => {
'./path/to_my/file.stories.js',
normalizeStoriesEntry({ directory: '.\\path\\' }, winOptions)
)
- ).toMatchInlineSnapshot(`To My/File`);
+ ).toMatchInlineSnapshot(`to_my/file`);
+ });
+
+ it('camel-case file', () => {
+ expect(
+ auto(
+ './path/to_my/MyButton.stories.js',
+ normalizeStoriesEntry({ directory: './path' }, options)
+ )
+ ).toMatchInlineSnapshot(`to_my/MyButton`);
});
});
});
diff --git a/lib/store/src/autoTitle.ts b/lib/store/src/autoTitle.ts
index 629617faa6bb..ab5a571ad09f 100644
--- a/lib/store/src/autoTitle.ts
+++ b/lib/store/src/autoTitle.ts
@@ -1,4 +1,3 @@
-import startCase from 'lodash/startCase';
import slash from 'slash';
// FIXME: types duplicated type from `core-common', to be
@@ -23,11 +22,13 @@ const stripExtension = (path: string[]) => {
return parts;
};
+const indexRe = /^index$/i;
+
// deal with files like "atoms/button/{button,index}.stories.js"
const removeRedundantFilename = (paths: string[]) => {
let prevVal: string;
return paths.filter((val, index) => {
- if (index === paths.length - 1 && (val === prevVal || val === 'Index')) {
+ if (index === paths.length - 1 && (val === prevVal || indexRe.test(val))) {
return false;
}
prevVal = val;
@@ -57,7 +58,7 @@ export const autoTitleFromSpecifier = (fileName: string, entry: NormalizedStorie
const suffix = normalizedFileName.replace(directory, '');
const titleAndSuffix = slash(pathJoin([titlePrefix, suffix]));
let path = titleAndSuffix.split('/');
- path = stripExtension(path).map(startCase);
+ path = stripExtension(path);
path = removeRedundantFilename(path);
return path.join('/');
}
diff --git a/lib/store/src/csf/normalizeComponentAnnotations.ts b/lib/store/src/csf/normalizeComponentAnnotations.ts
index ce3f821ac8ee..88de4e6cccbe 100644
--- a/lib/store/src/csf/normalizeComponentAnnotations.ts
+++ b/lib/store/src/csf/normalizeComponentAnnotations.ts
@@ -1,6 +1,7 @@
-import { sanitize, AnyFramework } from '@storybook/csf';
+import { sanitize } from '@storybook/csf';
+import type { AnyFramework } from '@storybook/csf';
-import { ModuleExports, NormalizedComponentAnnotations } from '../types';
+import type { ModuleExports, NormalizedComponentAnnotations } from '../types';
import { normalizeInputTypes } from './normalizeInputTypes';
export function normalizeComponentAnnotations(
diff --git a/lib/store/src/csf/normalizeInputTypes.ts b/lib/store/src/csf/normalizeInputTypes.ts
index a969ed6770be..0aea0a875f14 100644
--- a/lib/store/src/csf/normalizeInputTypes.ts
+++ b/lib/store/src/csf/normalizeInputTypes.ts
@@ -1,5 +1,5 @@
import mapValues from 'lodash/mapValues';
-import {
+import type {
ArgTypes,
GlobalTypes,
InputType,
diff --git a/lib/store/src/csf/normalizeProjectAnnotations.ts b/lib/store/src/csf/normalizeProjectAnnotations.ts
index 4c0eba23995f..e6448ea2a16c 100644
--- a/lib/store/src/csf/normalizeProjectAnnotations.ts
+++ b/lib/store/src/csf/normalizeProjectAnnotations.ts
@@ -1,8 +1,8 @@
-import { AnyFramework, ProjectAnnotations } from '@storybook/csf';
+import type { AnyFramework, ProjectAnnotations } from '@storybook/csf';
import { inferArgTypes } from '../inferArgTypes';
import { inferControls } from '../inferControls';
-import { NormalizedProjectAnnotations } from '../types';
+import type { NormalizedProjectAnnotations } from '../types';
import { normalizeInputTypes } from './normalizeInputTypes';
export function normalizeProjectAnnotations({
diff --git a/lib/store/src/csf/normalizeStory.ts b/lib/store/src/csf/normalizeStory.ts
index 1d0f3b93c071..37773d9094f9 100644
--- a/lib/store/src/csf/normalizeStory.ts
+++ b/lib/store/src/csf/normalizeStory.ts
@@ -1,6 +1,4 @@
-import {
- storyNameFromExport,
- toId,
+import type {
ComponentAnnotations,
AnyFramework,
LegacyStoryAnnotationsOrFn,
@@ -8,10 +6,11 @@ import {
StoryAnnotations,
StoryFn,
} from '@storybook/csf';
+import { storyNameFromExport, toId } from '@storybook/csf';
import dedent from 'ts-dedent';
import { logger } from '@storybook/client-logger';
import deprecate from 'util-deprecate';
-import { NormalizedStoryAnnotations } from '../types';
+import type { NormalizedStoryAnnotations } from '../types';
import { normalizeInputTypes } from './normalizeInputTypes';
const deprecatedStoryAnnotation = dedent`
diff --git a/lib/store/src/csf/prepareStory.test.ts b/lib/store/src/csf/prepareStory.test.ts
index 1400ed1ea49a..bd228a56c052 100644
--- a/lib/store/src/csf/prepareStory.test.ts
+++ b/lib/store/src/csf/prepareStory.test.ts
@@ -1,6 +1,6 @@
import global from 'global';
-import addons, { HooksContext } from '@storybook/addons';
-import {
+import { addons, HooksContext } from '@storybook/addons';
+import type {
AnyFramework,
ArgsEnhancer,
SBObjectType,
diff --git a/lib/store/src/csf/prepareStory.ts b/lib/store/src/csf/prepareStory.ts
index fe5cd8b862de..b1f64b309982 100644
--- a/lib/store/src/csf/prepareStory.ts
+++ b/lib/store/src/csf/prepareStory.ts
@@ -2,7 +2,7 @@ import dedent from 'ts-dedent';
import deprecate from 'util-deprecate';
import global from 'global';
-import {
+import type {
Parameters,
Args,
LegacyStoryFn,
@@ -13,7 +13,7 @@ import {
StrictArgTypes,
} from '@storybook/csf';
-import {
+import type {
NormalizedComponentAnnotations,
Story,
NormalizedStoryAnnotations,
diff --git a/lib/store/src/csf/processCSFFile.ts b/lib/store/src/csf/processCSFFile.ts
index 46fad1d83ea9..02bf81c918cd 100644
--- a/lib/store/src/csf/processCSFFile.ts
+++ b/lib/store/src/csf/processCSFFile.ts
@@ -1,4 +1,5 @@
-import { isExportStory, Parameters, AnyFramework, ComponentTitle } from '@storybook/csf';
+import type { Parameters, AnyFramework, ComponentTitle } from '@storybook/csf';
+import { isExportStory } from '@storybook/csf';
import { logger } from '@storybook/client-logger';
import { normalizeStory } from './normalizeStory';
diff --git a/lib/store/src/decorators.test.ts b/lib/store/src/decorators.test.ts
index 9b0bba61e8c5..7ce226d00ad9 100644
--- a/lib/store/src/decorators.test.ts
+++ b/lib/store/src/decorators.test.ts
@@ -1,4 +1,4 @@
-import { AnyFramework, StoryContext } from '@storybook/csf';
+import type { AnyFramework, StoryContext } from '@storybook/csf';
import { defaultDecorateStory } from './decorators';
diff --git a/lib/store/src/decorators.ts b/lib/store/src/decorators.ts
index 95a32ce00c52..0b7a3a167f17 100644
--- a/lib/store/src/decorators.ts
+++ b/lib/store/src/decorators.ts
@@ -1,4 +1,4 @@
-import {
+import type {
DecoratorFunction,
StoryContext,
StoryContextUpdate,
diff --git a/lib/store/src/inferArgTypes.ts b/lib/store/src/inferArgTypes.ts
index 008f49c5892a..ccc4ecc258b4 100644
--- a/lib/store/src/inferArgTypes.ts
+++ b/lib/store/src/inferArgTypes.ts
@@ -1,7 +1,7 @@
import mapValues from 'lodash/mapValues';
import dedent from 'ts-dedent';
import { logger } from '@storybook/client-logger';
-import { AnyFramework, SBType, ArgTypesEnhancer } from '@storybook/csf';
+import type { AnyFramework, SBType, ArgTypesEnhancer } from '@storybook/csf';
import { combineParameters } from './parameters';
const inferType = (value: any, name: string, visited: Set): SBType => {
diff --git a/lib/store/src/inferControls.ts b/lib/store/src/inferControls.ts
index 00c4ec45cf6e..3dcbbbd1c30a 100644
--- a/lib/store/src/inferControls.ts
+++ b/lib/store/src/inferControls.ts
@@ -1,6 +1,6 @@
import mapValues from 'lodash/mapValues';
import { logger } from '@storybook/client-logger';
-import { AnyFramework, SBEnumType, StrictInputType, ArgTypesEnhancer } from '@storybook/csf';
+import type { AnyFramework, SBEnumType, StrictInputType, ArgTypesEnhancer } from '@storybook/csf';
import { filterArgTypes } from './filterArgTypes';
import { combineParameters } from './parameters';
diff --git a/lib/store/src/parameters.ts b/lib/store/src/parameters.ts
index 4190f304a651..728aa1e693b2 100644
--- a/lib/store/src/parameters.ts
+++ b/lib/store/src/parameters.ts
@@ -1,5 +1,5 @@
// Utilities for handling parameters
-import { Parameters } from '@storybook/addons';
+import type { Parameters } from '@storybook/addons';
import isPlainObject from 'lodash/isPlainObject';
/**
diff --git a/lib/store/src/sortStories.ts b/lib/store/src/sortStories.ts
index 040e7222eec8..0a7da61cb08f 100644
--- a/lib/store/src/sortStories.ts
+++ b/lib/store/src/sortStories.ts
@@ -1,8 +1,8 @@
import stable from 'stable';
import dedent from 'ts-dedent';
-import { Comparator, StorySortParameter, StorySortParameterV7 } from '@storybook/addons';
+import type { Comparator, StorySortParameter, StorySortParameterV7 } from '@storybook/addons';
import { storySort } from './storySort';
-import { Story, StoryIndexEntry, Path, Parameters } from './types';
+import type { Story, StoryIndexEntry, Path, Parameters } from './types';
const sortStoriesCommon = (
stories: StoryIndexEntry[],
diff --git a/lib/store/src/types.ts b/lib/store/src/types.ts
index 9a41447172a5..98d39ec2b566 100644
--- a/lib/store/src/types.ts
+++ b/lib/store/src/types.ts
@@ -1,5 +1,5 @@
import { SynchronousPromise } from 'synchronous-promise';
-import {
+import type {
DecoratorFunction,
Args,
StoryContextForEnhancers,
diff --git a/lib/theming/package.json b/lib/theming/package.json
index 19ab6b8da49a..559fc5c3cec0 100644
--- a/lib/theming/package.json
+++ b/lib/theming/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/theming",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"description": "Core Storybook Components",
"keywords": [
"storybook"
@@ -40,7 +40,7 @@
"prepare": "ts-node ../../scripts/prebundle.ts"
},
"dependencies": {
- "@storybook/client-logger": "6.5.0-alpha.42",
+ "@storybook/client-logger": "6.5.0-alpha.48",
"core-js": "^3.8.2",
"regenerator-runtime": "^0.13.7"
},
@@ -65,6 +65,6 @@
"access": "public"
},
"bundlerEntrypoint": "./src/index.ts",
- "gitHead": "1477954e18494e721ae8d3c99bc710381eab1351",
+ "gitHead": "5f3afb8cf4389c16be11a6e5099e902d16a82762",
"sbmodern": "dist/modern/index.js"
}
diff --git a/lib/ui/package.json b/lib/ui/package.json
index f571a55e0791..71acd567a678 100644
--- a/lib/ui/package.json
+++ b/lib/ui/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/ui",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"description": "Core Storybook UI",
"keywords": [
"storybook"
@@ -40,15 +40,15 @@
"prepare": "ts-node ../../scripts/prebundle.ts"
},
"dependencies": {
- "@storybook/addons": "6.5.0-alpha.42",
- "@storybook/api": "6.5.0-alpha.42",
- "@storybook/channels": "6.5.0-alpha.42",
- "@storybook/client-logger": "6.5.0-alpha.42",
- "@storybook/components": "6.5.0-alpha.42",
- "@storybook/core-events": "6.5.0-alpha.42",
- "@storybook/router": "6.5.0-alpha.42",
+ "@storybook/addons": "6.5.0-alpha.48",
+ "@storybook/api": "6.5.0-alpha.48",
+ "@storybook/channels": "6.5.0-alpha.48",
+ "@storybook/client-logger": "6.5.0-alpha.48",
+ "@storybook/components": "6.5.0-alpha.48",
+ "@storybook/core-events": "6.5.0-alpha.48",
+ "@storybook/router": "6.5.0-alpha.48",
"@storybook/semver": "^7.3.2",
- "@storybook/theming": "6.5.0-alpha.42",
+ "@storybook/theming": "6.5.0-alpha.48",
"core-js": "^3.8.2",
"regenerator-runtime": "^0.13.7",
"resolve-from": "^5.0.0"
@@ -83,6 +83,6 @@
"access": "public"
},
"bundlerEntrypoint": "./src/index.tsx",
- "gitHead": "1477954e18494e721ae8d3c99bc710381eab1351",
+ "gitHead": "5f3afb8cf4389c16be11a6e5099e902d16a82762",
"sbmodern": "dist/modern/index.js"
}
diff --git a/lib/ui/src/components/layout/container.tsx b/lib/ui/src/components/layout/container.tsx
index 942018c3b8ea..6a1f8b1e4754 100644
--- a/lib/ui/src/components/layout/container.tsx
+++ b/lib/ui/src/components/layout/container.tsx
@@ -1,8 +1,7 @@
-/* eslint-disable react/no-did-update-set-state */
-
import React, { Component, Fragment, FunctionComponent, CSSProperties, ReactNode } from 'react';
-import { styled, withTheme, Theme } from '@storybook/theming';
-import { State } from '@storybook/api';
+import { styled, withTheme } from '@storybook/theming';
+import type { Theme } from '@storybook/theming';
+import type { State } from '@storybook/api';
import * as persistence from './persist';
import { Draggable, Handle, DraggableData, DraggableEvent } from './draggers';
diff --git a/lib/ui/src/components/notifications/NotificationList.tsx b/lib/ui/src/components/notifications/NotificationList.tsx
index 07a810eff8b1..74527d453a49 100644
--- a/lib/ui/src/components/notifications/NotificationList.tsx
+++ b/lib/ui/src/components/notifications/NotificationList.tsx
@@ -1,6 +1,7 @@
import React, { FunctionComponent } from 'react';
-import { State } from '@storybook/api';
-import { styled, CSSObject } from '@storybook/theming';
+import type { State } from '@storybook/api';
+import { styled } from '@storybook/theming';
+import type { CSSObject } from '@storybook/theming';
import NotificationItem from './NotificationItem';
const List = styled.div<{ placement?: CSSObject }>(
diff --git a/lib/ui/src/components/preview/FramesRenderer.tsx b/lib/ui/src/components/preview/FramesRenderer.tsx
index a7456b9e1d56..a8e7c305c3b9 100644
--- a/lib/ui/src/components/preview/FramesRenderer.tsx
+++ b/lib/ui/src/components/preview/FramesRenderer.tsx
@@ -1,7 +1,9 @@
import React, { Fragment, FunctionComponent, useMemo, useEffect, useState } from 'react';
-import { Consumer, Combo } from '@storybook/api';
+import type { Combo } from '@storybook/api';
+import { Consumer } from '@storybook/api';
import { Button, getStoryHref } from '@storybook/components';
-import { Global, CSSObject, styled } from '@storybook/theming';
+import { Global, styled } from '@storybook/theming';
+import type { CSSObject } from '@storybook/theming';
import { IFrame } from './iframe';
import { FramesRendererProps } from './utils/types';
import { stringifyQueryParams } from './utils/stringifyQueryParams';
diff --git a/lib/ui/src/components/preview/preview.stories.tsx b/lib/ui/src/components/preview/preview.stories.tsx
index 5c8437bfb1b0..9307264235f7 100644
--- a/lib/ui/src/components/preview/preview.stories.tsx
+++ b/lib/ui/src/components/preview/preview.stories.tsx
@@ -1,7 +1,8 @@
import React from 'react';
import { parsePath, createPath } from 'history';
-import { Provider as ManagerProvider, Combo, Consumer } from '@storybook/api';
+import type { Combo } from '@storybook/api';
+import { Provider as ManagerProvider, Consumer } from '@storybook/api';
import { Location, BaseLocationProvider } from '@storybook/router';
import { ThemeProvider, ensure as ensureTheme, themes } from '@storybook/theming';
diff --git a/lib/ui/src/components/sidebar/Heading.stories.tsx b/lib/ui/src/components/sidebar/Heading.stories.tsx
index 15561b298d4e..3b32f1530d81 100644
--- a/lib/ui/src/components/sidebar/Heading.stories.tsx
+++ b/lib/ui/src/components/sidebar/Heading.stories.tsx
@@ -2,7 +2,8 @@
// @TODO: use addon-interactions and remove the rule disable above
import React from 'react';
import type { ComponentStory, ComponentMeta, ComponentStoryObj } from '@storybook/react';
-import { ThemeProvider, useTheme, Theme } from '@storybook/theming';
+import { ThemeProvider, useTheme } from '@storybook/theming';
+import type { Theme } from '@storybook/theming';
import { action } from '@storybook/addon-actions';
import { screen } from '@testing-library/dom';
diff --git a/lib/ui/src/components/sidebar/TreeNode.tsx b/lib/ui/src/components/sidebar/TreeNode.tsx
index 109ca245f5e5..a64309c5d2f8 100644
--- a/lib/ui/src/components/sidebar/TreeNode.tsx
+++ b/lib/ui/src/components/sidebar/TreeNode.tsx
@@ -1,4 +1,5 @@
-import { styled, Color, Theme } from '@storybook/theming';
+import { styled } from '@storybook/theming';
+import type { Color, Theme } from '@storybook/theming';
import { Icons } from '@storybook/components';
import global from 'global';
import { transparentize } from 'polished';
diff --git a/lib/ui/src/containers/menu.tsx b/lib/ui/src/containers/menu.tsx
index b8fb479895a4..f83857be5373 100644
--- a/lib/ui/src/containers/menu.tsx
+++ b/lib/ui/src/containers/menu.tsx
@@ -1,8 +1,9 @@
import React, { useMemo, FunctionComponent } from 'react';
import { Badge } from '@storybook/components';
-import { API } from '@storybook/api';
-import { styled, useTheme, Theme } from '@storybook/theming';
+import type { API } from '@storybook/api';
+import type { Theme } from '@storybook/theming';
+import { styled, useTheme } from '@storybook/theming';
import { shortcutToHumanString } from '@storybook/api/shortcut';
import { MenuItemIcon } from '../components/sidebar/Menu';
diff --git a/lib/ui/src/provider.ts b/lib/ui/src/provider.ts
index 66355d8aa4b3..b547cf96f402 100644
--- a/lib/ui/src/provider.ts
+++ b/lib/ui/src/provider.ts
@@ -1,4 +1,4 @@
-import { Types } from '@storybook/addons';
+import type { Types } from '@storybook/addons';
export default class Provider {
getElements(_type: Types) {
diff --git a/nx.json b/nx.json
index 663353aee341..588fa7bfcf83 100644
--- a/nx.json
+++ b/nx.json
@@ -70,6 +70,9 @@
"@storybook/angular": {
"implicitDependencies": []
},
+ "@storybook/docs-tools": {
+ "implicitDependencies": []
+ },
"@storybook/ember": {
"implicitDependencies": []
},
diff --git a/package.json b/package.json
index 7a369a1e3bf6..6cef0d3ff671 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/root",
- "version": "6.5.0-alpha.42",
+ "version": "6.5.0-alpha.48",
"private": true,
"description": "Storybook is an open source tool for developing UI components in isolation for React, Vue and Angular. It makes building stunning UIs organized and efficient.",
"keywords": [
@@ -62,9 +62,10 @@
"generate-repros": "zx scripts/repros-generator/index.mjs",
"github-release": "github-release-from-changelog",
"linear-export": "ts-node --project=./scripts/tsconfig.json ./scripts/linear-export.ts",
- "lint": "yarn lint:js . && yarn lint:md .",
- "lint:js": "cross-env NODE_ENV=production eslint --cache --cache-location=.cache/eslint --ext .js,.jsx,.json,.html,.ts,.tsx,.mjs --report-unused-disable-directives",
- "lint:md": "remark -q",
+ "lint": "yarn lint:js && yarn lint:md",
+ "lint:js": "yarn lint:js:cmd .",
+ "lint:js:cmd": "cross-env NODE_ENV=production eslint --cache --cache-location=.cache/eslint --ext .js,.jsx,.json,.html,.ts,.tsx,.mjs --report-unused-disable-directives",
+ "lint:md": "remark -q .",
"lint:package": "sort-package-json",
"local-registry": "ts-node --project=./scripts/tsconfig.json ./scripts/run-registry.ts ",
"publish:debug": "npm run publish:latest -- --npm-tag=debug --no-push",
@@ -87,7 +88,7 @@
},
"lint-staged": {
"*.{html,js,json,jsx,mjs,ts,tsx}": [
- "yarn lint:js --fix"
+ "yarn lint:js:cmd --fix"
],
"package.json": [
"yarn lint:package"
@@ -102,23 +103,23 @@
"serialize-javascript": "^3.1.0"
},
"devDependencies": {
- "@babel/cli": "^7.12.10",
- "@babel/core": "^7.12.10",
- "@babel/plugin-proposal-class-properties": "^7.12.1",
- "@babel/plugin-proposal-decorators": "^7.12.12",
- "@babel/plugin-proposal-export-default-from": "^7.12.1",
- "@babel/plugin-proposal-object-rest-spread": "^7.12.1",
- "@babel/plugin-proposal-private-methods": "^7.12.1",
+ "@babel/cli": "^7.17.6",
+ "@babel/core": "^7.17.5",
+ "@babel/plugin-proposal-class-properties": "^7.16.7",
+ "@babel/plugin-proposal-decorators": "^7.17.2",
+ "@babel/plugin-proposal-export-default-from": "^7.16.7",
+ "@babel/plugin-proposal-object-rest-spread": "^7.17.3",
+ "@babel/plugin-proposal-private-methods": "^7.16.11",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
- "@babel/plugin-transform-arrow-functions": "^7.13.0",
- "@babel/plugin-transform-block-scoping": "^7.13.16",
- "@babel/plugin-transform-destructuring": "^7.13.17",
- "@babel/plugin-transform-shorthand-properties": "^7.12.13",
- "@babel/preset-env": "^7.12.11",
- "@babel/preset-flow": "^7.12.1",
- "@babel/preset-react": "^7.12.10",
- "@babel/preset-typescript": "^7.12.7",
- "@babel/runtime": "^7.12.5",
+ "@babel/plugin-transform-arrow-functions": "^7.16.7",
+ "@babel/plugin-transform-block-scoping": "^7.16.7",
+ "@babel/plugin-transform-destructuring": "^7.17.3",
+ "@babel/plugin-transform-shorthand-properties": "^7.16.7",
+ "@babel/preset-env": "^7.16.11",
+ "@babel/preset-flow": "^7.16.7",
+ "@babel/preset-react": "^7.16.7",
+ "@babel/preset-typescript": "^7.16.7",
+ "@babel/runtime": "^7.17.2",
"@compodoc/compodoc": "^1.1.18",
"@emotion/snapshot-serializer": "^0.8.2",
"@linear/sdk": "^1.21.0",
@@ -127,7 +128,7 @@
"@nrwl/nx-cloud": "12.1.1",
"@nrwl/tao": "12.3.4",
"@nrwl/workspace": "12.3.4",
- "@rollup/plugin-babel": "^5.3.0",
+ "@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.0.6",
@@ -163,6 +164,7 @@
"@storybook/core": "workspace:*",
"@storybook/core-events": "workspace:*",
"@storybook/csf-tools": "workspace:*",
+ "@storybook/docs-tools": "workspace:*",
"@storybook/ember": "workspace:*",
"@storybook/eslint-config-storybook": "^2.4.0",
"@storybook/html": "workspace:*",
@@ -189,7 +191,7 @@
"@testing-library/jest-dom": "^5.11.9",
"@testing-library/react": "^11.2.2",
"@testing-library/user-event": "^13.2.1",
- "@types/detect-port": "^1.3.0",
+ "@types/detect-port": "^1.3.2",
"@types/doctrine": "^0.0.3",
"@types/enzyme": "^3.10.8",
"@types/escodegen": "^0.0.6",
@@ -222,7 +224,7 @@
"codecov": "^3.8.1",
"commander": "^6.2.1",
"concurrently": "^5.3.0",
- "core-js": "^3.8.2",
+ "core-js": "^3.21.1",
"cross-env": "^7.0.3",
"danger": "^10.6.2",
"detect-port": "^1.3.0",
@@ -281,7 +283,7 @@
"rollup-plugin-jsx": "^1.0.3",
"rollup-plugin-terser": "^7.0.2",
"serve-static": "^1.14.1",
- "shelljs": "^0.8.4",
+ "shelljs": "^0.8.5",
"shx": "^0.3.2",
"sort-package-json": "^1.48.1",
"teamcity-service-messages": "^0.1.11",
diff --git a/scripts/verdaccio.yaml b/scripts/verdaccio.yaml
index df3fae697764..741800651bad 100644
--- a/scripts/verdaccio.yaml
+++ b/scripts/verdaccio.yaml
@@ -63,6 +63,14 @@ packages:
access: $all
publish: $all
proxy: npmjs
+ '@storybook/mdx1-csf':
+ access: $all
+ publish: $all
+ proxy: npmjs
+ '@storybook/mdx2-csf':
+ access: $all
+ publish: $all
+ proxy: npmjs
# storybook packages are NOT proxied to global registry
# allowing us to republish any version during tests
diff --git a/workspace.json b/workspace.json
index f4ea5394d9ce..010773cb9475 100644
--- a/workspace.json
+++ b/workspace.json
@@ -69,6 +69,10 @@
"root": "app/angular",
"type": "library"
},
+ "@storybook/docs-tools": {
+ "root": "lib/docs-tools",
+ "type": "library"
+ },
"@storybook/ember": {
"root": "app/ember",
"type": "library"
diff --git a/yarn.lock b/yarn.lock
index 82d351c05b0f..accec69d428a 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -1,3 +1,6 @@
+# This file is generated by running "yarn install" inside your project.
+# Manual changes might be lost - proceed with caution!
+
__metadata:
version: 5
cacheKey: 8c0
@@ -9,6 +12,15 @@ __metadata:
languageName: node
linkType: hard
+"@ampproject/remapping@npm:^2.1.0":
+ version: 2.1.2
+ resolution: "@ampproject/remapping@npm:2.1.2"
+ dependencies:
+ "@jridgewell/trace-mapping": ^0.3.0
+ checksum: e02581d109eab8d0b64f50a1289ed5079cfeceb273ea1e982e42fc0163e9c3f5471c558389de49fa5b9f6eee1e292f539133d27c9831f04689cf091077136f3c
+ languageName: node
+ linkType: hard
+
"@angular-devkit/architect@npm:0.1102.18, @angular-devkit/architect@npm:~0.1102.0":
version: 0.1102.18
resolution: "@angular-devkit/architect@npm:0.1102.18"
@@ -167,9 +179,9 @@ __metadata:
languageName: node
linkType: hard
-"@angular-devkit/core@npm:13.2.0":
- version: 13.2.0
- resolution: "@angular-devkit/core@npm:13.2.0"
+"@angular-devkit/core@npm:13.2.5":
+ version: 13.2.5
+ resolution: "@angular-devkit/core@npm:13.2.5"
dependencies:
ajv: 8.9.0
ajv-formats: 2.1.1
@@ -182,7 +194,7 @@ __metadata:
peerDependenciesMeta:
chokidar:
optional: true
- checksum: c23c1e666191e3075947df9bee3afac7cb8f1385810501cacfdc1ad48c8964b190161956c5a6a7945009c36d37b5fbfcd325707cd6f21c5bbbefd5bad361c2a3
+ checksum: 290c75ba550794f7a95d6a5bc1293b552f4bfa758b85fee00a3c79a5049f4aa5b9be114db2b7cb222046d8b88cfbee250ebc6da195fe81f83365cc7138380487
languageName: node
linkType: hard
@@ -197,16 +209,16 @@ __metadata:
languageName: node
linkType: hard
-"@angular-devkit/schematics@npm:^13.1.2":
- version: 13.2.0
- resolution: "@angular-devkit/schematics@npm:13.2.0"
+"@angular-devkit/schematics@npm:^13.2.4":
+ version: 13.2.5
+ resolution: "@angular-devkit/schematics@npm:13.2.5"
dependencies:
- "@angular-devkit/core": 13.2.0
+ "@angular-devkit/core": 13.2.5
jsonc-parser: 3.0.0
magic-string: 0.25.7
ora: 5.4.1
rxjs: 6.6.7
- checksum: 1f4a9af5c77d18007f8ec15e4b21d0d02dace2220d2e1de72260c31ac70e86365b16f2332bdd21568ac546b75047f7e8ec75d9cfe0a7f5acc65fe927d2300b55
+ checksum: 3b4f68ce74b1468c6e796041eab90f7f0cc1733cdff5925422040a518e6b83bb24b9ddba1c889afb4175848596a31b368225c41f81f6983792edbf40ec6f7025
languageName: node
linkType: hard
@@ -364,20 +376,21 @@ __metadata:
linkType: hard
"@axe-core/puppeteer@npm:^4.2.0":
- version: 4.3.2
- resolution: "@axe-core/puppeteer@npm:4.3.2"
+ version: 4.4.0
+ resolution: "@axe-core/puppeteer@npm:4.4.0"
dependencies:
- axe-core: ^4.3.3
+ axe-core: ^4.4.1
peerDependencies:
- puppeteer: ">=1.10.0 <= 10"
- checksum: 47b5b9b1bf5a0c7ca6471beff865757663a423bf1fe27769a823a10df806bbf4731ecf6f0b2a286b1b20435eb9fd040ab2e33f4679e2c93bb1485f29eb050e13
+ puppeteer: ">=1.10.0 <= 13"
+ checksum: 259ceccc51eecb89005b264c133b5bdc8cae226650d90bf120a71cf6ba6e0e9f930c142f533980b9d0ba1f60ba2949100dd3e860b72128b2fe4ca2c3e4ec2f2f
languageName: node
linkType: hard
-"@babel/cli@npm:^7.12.10":
- version: 7.16.8
- resolution: "@babel/cli@npm:7.16.8"
+"@babel/cli@npm:^7.17.6":
+ version: 7.17.6
+ resolution: "@babel/cli@npm:7.17.6"
dependencies:
+ "@jridgewell/trace-mapping": ^0.3.4
"@nicolo-ribaudo/chokidar-2": 2.1.8-no-fsevents.3
chokidar: ^3.4.0
commander: ^4.0.1
@@ -397,7 +410,7 @@ __metadata:
bin:
babel: ./bin/babel.js
babel-external-helpers: ./bin/babel-external-helpers.js
- checksum: 30af4ee6d3b7595f1c64aac5ff656df65461341636fdf1828ed9af10d9f081c120b0cf56298419eafe2aa869d5cc74d3fe072fbbe11da4823c987ed6acc903b9
+ checksum: aba719c2217937879ab285545335ba7bdc64f40290594a4939c69a5147e3a95e7da4a02eeb16ab935ec96000faca2d065a929ca846ce8ce4fc62385cfd32d214
languageName: node
linkType: hard
@@ -437,10 +450,10 @@ __metadata:
languageName: node
linkType: hard
-"@babel/compat-data@npm:^7.12.7, @babel/compat-data@npm:^7.13.11, @babel/compat-data@npm:^7.16.4, @babel/compat-data@npm:^7.16.8, @babel/compat-data@npm:^7.9.0":
- version: 7.16.8
- resolution: "@babel/compat-data@npm:7.16.8"
- checksum: 997d980776cc223b2af8c09ea3201885135bd720fdcd4c2753b8375ad42907c157588753432c59b238ea02791245ed5bcffa895e7b686548efd588f46fe0a0dc
+"@babel/compat-data@npm:^7.12.7, @babel/compat-data@npm:^7.13.11, @babel/compat-data@npm:^7.16.4, @babel/compat-data@npm:^7.16.8, @babel/compat-data@npm:^7.17.0, @babel/compat-data@npm:^7.9.0":
+ version: 7.17.0
+ resolution: "@babel/compat-data@npm:7.17.0"
+ checksum: 6d70a5a1362e013c43ac0fc8027944cb3766f5a173690293336340644e05070f23490e52c059423c9a412395855bcb8d884ad5db77f293518b08bfed2152fff6
languageName: node
linkType: hard
@@ -562,26 +575,26 @@ __metadata:
languageName: node
linkType: hard
-"@babel/core@npm:^7.1.0, @babel/core@npm:^7.1.6, @babel/core@npm:^7.11.0, @babel/core@npm:^7.12.0, @babel/core@npm:^7.12.10, @babel/core@npm:^7.12.16, @babel/core@npm:^7.12.3, @babel/core@npm:^7.12.9, @babel/core@npm:^7.13.16, @babel/core@npm:^7.16.0, @babel/core@npm:^7.16.7, @babel/core@npm:^7.3.4, @babel/core@npm:^7.4.5, @babel/core@npm:^7.7.5, @babel/core@npm:^7.8.4, @babel/core@npm:^7.8.6, @babel/core@npm:^7.9.0":
- version: 7.16.12
- resolution: "@babel/core@npm:7.16.12"
+"@babel/core@npm:^7.1.0, @babel/core@npm:^7.1.6, @babel/core@npm:^7.11.0, @babel/core@npm:^7.12.0, @babel/core@npm:^7.12.10, @babel/core@npm:^7.12.16, @babel/core@npm:^7.12.3, @babel/core@npm:^7.12.9, @babel/core@npm:^7.13.16, @babel/core@npm:^7.16.0, @babel/core@npm:^7.17.5, @babel/core@npm:^7.3.4, @babel/core@npm:^7.4.5, @babel/core@npm:^7.7.5, @babel/core@npm:^7.8.4, @babel/core@npm:^7.8.6, @babel/core@npm:^7.9.0":
+ version: 7.17.5
+ resolution: "@babel/core@npm:7.17.5"
dependencies:
+ "@ampproject/remapping": ^2.1.0
"@babel/code-frame": ^7.16.7
- "@babel/generator": ^7.16.8
+ "@babel/generator": ^7.17.3
"@babel/helper-compilation-targets": ^7.16.7
"@babel/helper-module-transforms": ^7.16.7
- "@babel/helpers": ^7.16.7
- "@babel/parser": ^7.16.12
+ "@babel/helpers": ^7.17.2
+ "@babel/parser": ^7.17.3
"@babel/template": ^7.16.7
- "@babel/traverse": ^7.16.10
- "@babel/types": ^7.16.8
+ "@babel/traverse": ^7.17.3
+ "@babel/types": ^7.17.0
convert-source-map: ^1.7.0
debug: ^4.1.0
gensync: ^1.0.0-beta.2
json5: ^2.1.2
semver: ^6.3.0
- source-map: ^0.5.0
- checksum: 3e62056eb6e9e20dc785001d720f7958d4e407e5d3ad6203471f85482381c59b5fd9237601be10941aa47394a3bbba2679e7c5850c31225bbae3aa0db45009bf
+ checksum: 9caca185f2c9f32ebf3daafb1461735d457520b3166ad5eff346c5015a7e457bcf14fdde009fcc945282615b5654bf89ef6bc0bd54e09b25490a0a765fc922c1
languageName: node
linkType: hard
@@ -596,14 +609,14 @@ __metadata:
languageName: node
linkType: hard
-"@babel/generator@npm:^7.12.1, @babel/generator@npm:^7.12.10, @babel/generator@npm:^7.12.11, @babel/generator@npm:^7.12.5, @babel/generator@npm:^7.16.8, @babel/generator@npm:^7.4.0, @babel/generator@npm:^7.8.7, @babel/generator@npm:^7.9.0":
- version: 7.16.8
- resolution: "@babel/generator@npm:7.16.8"
+"@babel/generator@npm:^7.12.1, @babel/generator@npm:^7.12.10, @babel/generator@npm:^7.12.11, @babel/generator@npm:^7.12.5, @babel/generator@npm:^7.17.3, @babel/generator@npm:^7.4.0, @babel/generator@npm:^7.8.7, @babel/generator@npm:^7.9.0":
+ version: 7.17.3
+ resolution: "@babel/generator@npm:7.17.3"
dependencies:
- "@babel/types": ^7.16.8
+ "@babel/types": ^7.17.0
jsesc: ^2.5.1
source-map: ^0.5.0
- checksum: e09b35d855597b8b1759ef6e80cff28bc915d24b74eaba32a8a9e45ac89470c98f7b66fbe8b19df2eafd9968c60f138670b69dc3735b069709f6f5a1f9c5923d
+ checksum: 876a007d769bdb9d2d86556ceb6dac6cae0d8b25cf18a87a3a284454fcaa66aa52e83ebff3f3551bd0e91358bbcc4fd43c5e6e19f86341ba0f0a8734fcde918f
languageName: node
linkType: hard
@@ -626,7 +639,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/helper-compilation-targets@npm:^7.12.0, @babel/helper-compilation-targets@npm:^7.12.5, @babel/helper-compilation-targets@npm:^7.13.0, @babel/helper-compilation-targets@npm:^7.16.7, @babel/helper-compilation-targets@npm:^7.8.4, @babel/helper-compilation-targets@npm:^7.8.7, @babel/helper-compilation-targets@npm:^7.9.6":
+"@babel/helper-compilation-targets@npm:^7.12.0, @babel/helper-compilation-targets@npm:^7.12.5, @babel/helper-compilation-targets@npm:^7.13.0, @babel/helper-compilation-targets@npm:^7.16.7, @babel/helper-compilation-targets@npm:^7.8.7, @babel/helper-compilation-targets@npm:^7.9.6":
version: 7.16.7
resolution: "@babel/helper-compilation-targets@npm:7.16.7"
dependencies:
@@ -640,9 +653,9 @@ __metadata:
languageName: node
linkType: hard
-"@babel/helper-create-class-features-plugin@npm:^7.16.10, @babel/helper-create-class-features-plugin@npm:^7.16.7, @babel/helper-create-class-features-plugin@npm:^7.8.3":
- version: 7.16.10
- resolution: "@babel/helper-create-class-features-plugin@npm:7.16.10"
+"@babel/helper-create-class-features-plugin@npm:^7.16.10, @babel/helper-create-class-features-plugin@npm:^7.16.7, @babel/helper-create-class-features-plugin@npm:^7.17.1, @babel/helper-create-class-features-plugin@npm:^7.17.6, @babel/helper-create-class-features-plugin@npm:^7.8.3":
+ version: 7.17.6
+ resolution: "@babel/helper-create-class-features-plugin@npm:7.17.6"
dependencies:
"@babel/helper-annotate-as-pure": ^7.16.7
"@babel/helper-environment-visitor": ^7.16.7
@@ -653,19 +666,19 @@ __metadata:
"@babel/helper-split-export-declaration": ^7.16.7
peerDependencies:
"@babel/core": ^7.0.0
- checksum: ffd4fbf242c6b7e664fe58c5540174e708a7b789c44643f89bbeb02897a9064a9ba52838414f6b8f1252d602f682c1880aed68ef6c48115366bd2dca8608d3f6
+ checksum: a0889c52920c98ca067e1f3eb5fe92acf04c83f02852d1a8450ec987abaf9c30778734f7225df5d5531e6715d4450f08293f9f744db25204971255349f837092
languageName: node
linkType: hard
"@babel/helper-create-regexp-features-plugin@npm:^7.16.7":
- version: 7.16.7
- resolution: "@babel/helper-create-regexp-features-plugin@npm:7.16.7"
+ version: 7.17.0
+ resolution: "@babel/helper-create-regexp-features-plugin@npm:7.17.0"
dependencies:
"@babel/helper-annotate-as-pure": ^7.16.7
- regexpu-core: ^4.7.1
+ regexpu-core: ^5.0.1
peerDependencies:
"@babel/core": ^7.0.0
- checksum: fd1e402e21a2abdfd971d0c04bdfe53bf570fb6501e4a837f3c392e6a84056a5fe6a3dc99cbf7c9d2a4963f84569b9ef252f02a3dbfa3f56df74f1c79a18965f
+ checksum: e776449e6d6c61e0f95b836c2dadeab1e5db419a74de29946681cef137ef0ca71e0e19b5057b6239c88e99517506eb94a776adf84df80b3222f61da86899b7ac
languageName: node
linkType: hard
@@ -771,8 +784,8 @@ __metadata:
linkType: hard
"@babel/helper-module-transforms@npm:^7.12.1, @babel/helper-module-transforms@npm:^7.16.7, @babel/helper-module-transforms@npm:^7.9.0":
- version: 7.16.7
- resolution: "@babel/helper-module-transforms@npm:7.16.7"
+ version: 7.17.6
+ resolution: "@babel/helper-module-transforms@npm:7.17.6"
dependencies:
"@babel/helper-environment-visitor": ^7.16.7
"@babel/helper-module-imports": ^7.16.7
@@ -780,9 +793,9 @@ __metadata:
"@babel/helper-split-export-declaration": ^7.16.7
"@babel/helper-validator-identifier": ^7.16.7
"@babel/template": ^7.16.7
- "@babel/traverse": ^7.16.7
- "@babel/types": ^7.16.7
- checksum: d3417ab9570974487282d0274c9cff8cff4a75130912b4ad88ef256ca3e83732930b4f7a0c0279f574e7549807a3c89961a743a02d29613c5cbce218d1e043d7
+ "@babel/traverse": ^7.17.3
+ "@babel/types": ^7.17.0
+ checksum: c867b188aa5b464d9370ef54bbc603dcab422fa2d16ab6609cd4540cafb8cfc4c72b231b6195f7cfdd86cb9befa899d37c739f006367f3385f63c6867623b71b
languageName: node
linkType: hard
@@ -886,14 +899,14 @@ __metadata:
languageName: node
linkType: hard
-"@babel/helpers@npm:^7.12.1, @babel/helpers@npm:^7.12.5, @babel/helpers@npm:^7.16.7, @babel/helpers@npm:^7.8.4, @babel/helpers@npm:^7.9.0":
- version: 7.16.7
- resolution: "@babel/helpers@npm:7.16.7"
+"@babel/helpers@npm:^7.12.1, @babel/helpers@npm:^7.12.5, @babel/helpers@npm:^7.17.2, @babel/helpers@npm:^7.8.4, @babel/helpers@npm:^7.9.0":
+ version: 7.17.2
+ resolution: "@babel/helpers@npm:7.17.2"
dependencies:
"@babel/template": ^7.16.7
- "@babel/traverse": ^7.16.7
- "@babel/types": ^7.16.7
- checksum: 4dd010db47af5cf4486274e885d22ae41ab7df896fa2bf15e7e8f493a3042a12ba2ccef96e2e6ddf4a2ade69439c9aa00dfebcdfd2bcf76147d6aaa87d5b0a11
+ "@babel/traverse": ^7.17.0
+ "@babel/types": ^7.17.0
+ checksum: c59d4d5a072a6b00d07910499a6a758962334eef76ed687cb969ccd3c82c470b37718e2a7433de4ea0d1b7a134b20fc311775949b07955e37fc45744f8d23b39
languageName: node
linkType: hard
@@ -908,12 +921,12 @@ __metadata:
languageName: node
linkType: hard
-"@babel/parser@npm:^7.0.0, @babel/parser@npm:^7.1.0, @babel/parser@npm:^7.1.6, @babel/parser@npm:^7.11.5, @babel/parser@npm:^7.12.10, @babel/parser@npm:^7.12.11, @babel/parser@npm:^7.12.3, @babel/parser@npm:^7.12.7, @babel/parser@npm:^7.13.12, @babel/parser@npm:^7.13.16, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.16.10, @babel/parser@npm:^7.16.12, @babel/parser@npm:^7.16.4, @babel/parser@npm:^7.16.7, @babel/parser@npm:^7.4.3, @babel/parser@npm:^7.4.5, @babel/parser@npm:^7.6.0, @babel/parser@npm:^7.7.0, @babel/parser@npm:^7.8.6, @babel/parser@npm:^7.8.7, @babel/parser@npm:^7.9.0, @babel/parser@npm:^7.9.6":
- version: 7.16.12
- resolution: "@babel/parser@npm:7.16.12"
+"@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.1.6, @babel/parser@npm:^7.11.5, @babel/parser@npm:^7.12.10, @babel/parser@npm:^7.12.11, @babel/parser@npm:^7.12.3, @babel/parser@npm:^7.12.7, @babel/parser@npm:^7.13.12, @babel/parser@npm:^7.13.16, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.16.4, @babel/parser@npm:^7.16.7, @babel/parser@npm:^7.17.3, @babel/parser@npm:^7.4.3, @babel/parser@npm:^7.4.5, @babel/parser@npm:^7.6.0, @babel/parser@npm:^7.7.0, @babel/parser@npm:^7.8.6, @babel/parser@npm:^7.8.7, @babel/parser@npm:^7.9.0, @babel/parser@npm:^7.9.6":
+ version: 7.17.3
+ resolution: "@babel/parser@npm:7.17.3"
bin:
parser: ./bin/babel-parser.js
- checksum: e706d04885c7e816930e7ecbbcd899aac818ffe822541a165bbf6dee22bbe9f0be68ca090f2406aa3d9a6b25222a17e01ea12c30fb3f7c71920296d90a54d90c
+ checksum: 677edc6607da457bbe2b4ea4622c667b521d80ae9bfb40314e99e96f235cd076e7ea721a781f330472fc39bc3cba871d00a701da691d35e1039d6b72d2d1e555
languageName: node
linkType: hard
@@ -979,15 +992,15 @@ __metadata:
linkType: hard
"@babel/plugin-proposal-class-static-block@npm:^7.16.7":
- version: 7.16.7
- resolution: "@babel/plugin-proposal-class-static-block@npm:7.16.7"
+ version: 7.17.6
+ resolution: "@babel/plugin-proposal-class-static-block@npm:7.17.6"
dependencies:
- "@babel/helper-create-class-features-plugin": ^7.16.7
+ "@babel/helper-create-class-features-plugin": ^7.17.6
"@babel/helper-plugin-utils": ^7.16.7
"@babel/plugin-syntax-class-static-block": ^7.14.5
peerDependencies:
"@babel/core": ^7.12.0
- checksum: 5d274cbc170844478810901f2d404491239fb25910f36ac021cea84cb5f40cb26c15da4918f6913df644f467904f7ff1c870f2fe3316580bb1aeea6259a2f913
+ checksum: aec5aaff75587a113bfb0b053a935d235d37b73209980f041099e07491045ee615955659f1cb27c05a30e9ead102bd93ee31c702e5d21e29080bae5f5b504aa5
languageName: node
linkType: hard
@@ -1004,16 +1017,18 @@ __metadata:
languageName: node
linkType: hard
-"@babel/plugin-proposal-decorators@npm:^7.12.12, @babel/plugin-proposal-decorators@npm:^7.13.5, @babel/plugin-proposal-decorators@npm:^7.16.4, @babel/plugin-proposal-decorators@npm:^7.8.3":
- version: 7.16.7
- resolution: "@babel/plugin-proposal-decorators@npm:7.16.7"
+"@babel/plugin-proposal-decorators@npm:^7.12.12, @babel/plugin-proposal-decorators@npm:^7.13.5, @babel/plugin-proposal-decorators@npm:^7.16.4, @babel/plugin-proposal-decorators@npm:^7.17.2, @babel/plugin-proposal-decorators@npm:^7.8.3":
+ version: 7.17.2
+ resolution: "@babel/plugin-proposal-decorators@npm:7.17.2"
dependencies:
- "@babel/helper-create-class-features-plugin": ^7.16.7
+ "@babel/helper-create-class-features-plugin": ^7.17.1
"@babel/helper-plugin-utils": ^7.16.7
- "@babel/plugin-syntax-decorators": ^7.16.7
+ "@babel/helper-replace-supers": ^7.16.7
+ "@babel/plugin-syntax-decorators": ^7.17.0
+ charcodes: ^0.2.0
peerDependencies:
"@babel/core": ^7.0.0-0
- checksum: 77ee8440d03b01e92245108320f3d98d2abfe6a0c54c5ab0f0112110376eb22da953c6f7ab04dcb2741edff1ff811a107c3900c1821ad9f9dde8d7c6245c4ea6
+ checksum: a8707d1ac1c55c1997b634c5f6cb90745084eaa4291c78f741f10359a2e8fca47bd1e6a016fcd84e4c524f1a46111b94c262923a3330cd0fdcdbbc0263e192a0
languageName: node
linkType: hard
@@ -1029,7 +1044,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/plugin-proposal-export-default-from@npm:^7.12.1":
+"@babel/plugin-proposal-export-default-from@npm:^7.12.1, @babel/plugin-proposal-export-default-from@npm:^7.16.7":
version: 7.16.7
resolution: "@babel/plugin-proposal-export-default-from@npm:7.16.7"
dependencies:
@@ -1138,18 +1153,18 @@ __metadata:
languageName: node
linkType: hard
-"@babel/plugin-proposal-object-rest-spread@npm:^7.0.0, @babel/plugin-proposal-object-rest-spread@npm:^7.12.1, @babel/plugin-proposal-object-rest-spread@npm:^7.16.7, @babel/plugin-proposal-object-rest-spread@npm:^7.9.0":
- version: 7.16.7
- resolution: "@babel/plugin-proposal-object-rest-spread@npm:7.16.7"
+"@babel/plugin-proposal-object-rest-spread@npm:^7.0.0, @babel/plugin-proposal-object-rest-spread@npm:^7.12.1, @babel/plugin-proposal-object-rest-spread@npm:^7.16.7, @babel/plugin-proposal-object-rest-spread@npm:^7.17.3, @babel/plugin-proposal-object-rest-spread@npm:^7.9.0":
+ version: 7.17.3
+ resolution: "@babel/plugin-proposal-object-rest-spread@npm:7.17.3"
dependencies:
- "@babel/compat-data": ^7.16.4
+ "@babel/compat-data": ^7.17.0
"@babel/helper-compilation-targets": ^7.16.7
"@babel/helper-plugin-utils": ^7.16.7
"@babel/plugin-syntax-object-rest-spread": ^7.8.3
"@babel/plugin-transform-parameters": ^7.16.7
peerDependencies:
"@babel/core": ^7.0.0-0
- checksum: 14dd5a094e38ab0b624bceab9fde13c8def5abd1b6d5a9c4be8d554901e496a6fc0429d3d88ffd8b0a8001ec2ef48a6865f2a8a2826eaa9d44aea05fcbef9072
+ checksum: c22a4f806b61deadfb9d4fe744cbdf532e0264433b6f572be5e8bef95aec9ac233c3e8e82af8ddeceff9db43a89c639877e385cf41fa6c3b8a92ff7078086cab
languageName: node
linkType: hard
@@ -1272,14 +1287,14 @@ __metadata:
languageName: node
linkType: hard
-"@babel/plugin-syntax-decorators@npm:^7.16.7, @babel/plugin-syntax-decorators@npm:^7.8.3":
- version: 7.16.7
- resolution: "@babel/plugin-syntax-decorators@npm:7.16.7"
+"@babel/plugin-syntax-decorators@npm:^7.17.0, @babel/plugin-syntax-decorators@npm:^7.8.3":
+ version: 7.17.0
+ resolution: "@babel/plugin-syntax-decorators@npm:7.17.0"
dependencies:
"@babel/helper-plugin-utils": ^7.16.7
peerDependencies:
"@babel/core": ^7.0.0-0
- checksum: e8843aa21d351dcaf747fa0c48d66f94c9b6e8788d4cbb585381a40bf2120d3f78be2228cde6a6320e36ade694199ea4d057167a9cfeab1756832f4106671641
+ checksum: f76909f8926dfc22e9b3b7cec8fee808c133aa5c82449f30c394525d0812662c7374c3aaba3411518809aa353ed44b881b28dcb69a3e1889e03bbfc1508baa80
languageName: node
linkType: hard
@@ -1470,7 +1485,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/plugin-transform-arrow-functions@npm:^7.12.1, @babel/plugin-transform-arrow-functions@npm:^7.13.0, @babel/plugin-transform-arrow-functions@npm:^7.16.7, @babel/plugin-transform-arrow-functions@npm:^7.8.3":
+"@babel/plugin-transform-arrow-functions@npm:^7.12.1, @babel/plugin-transform-arrow-functions@npm:^7.16.7, @babel/plugin-transform-arrow-functions@npm:^7.8.3":
version: 7.16.7
resolution: "@babel/plugin-transform-arrow-functions@npm:7.16.7"
dependencies:
@@ -1518,7 +1533,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/plugin-transform-block-scoping@npm:^7.12.11, @babel/plugin-transform-block-scoping@npm:^7.12.12, @babel/plugin-transform-block-scoping@npm:^7.13.16, @babel/plugin-transform-block-scoping@npm:^7.16.7, @babel/plugin-transform-block-scoping@npm:^7.8.3":
+"@babel/plugin-transform-block-scoping@npm:^7.12.11, @babel/plugin-transform-block-scoping@npm:^7.12.12, @babel/plugin-transform-block-scoping@npm:^7.16.7, @babel/plugin-transform-block-scoping@npm:^7.8.3":
version: 7.16.7
resolution: "@babel/plugin-transform-block-scoping@npm:7.16.7"
dependencies:
@@ -1558,14 +1573,14 @@ __metadata:
languageName: node
linkType: hard
-"@babel/plugin-transform-destructuring@npm:^7.12.1, @babel/plugin-transform-destructuring@npm:^7.13.17, @babel/plugin-transform-destructuring@npm:^7.16.7, @babel/plugin-transform-destructuring@npm:^7.8.3":
- version: 7.16.7
- resolution: "@babel/plugin-transform-destructuring@npm:7.16.7"
+"@babel/plugin-transform-destructuring@npm:^7.12.1, @babel/plugin-transform-destructuring@npm:^7.16.7, @babel/plugin-transform-destructuring@npm:^7.17.3, @babel/plugin-transform-destructuring@npm:^7.8.3":
+ version: 7.17.3
+ resolution: "@babel/plugin-transform-destructuring@npm:7.17.3"
dependencies:
"@babel/helper-plugin-utils": ^7.16.7
peerDependencies:
"@babel/core": ^7.0.0-0
- checksum: 67550752bbf9847490356b4a243f5efed320bbe904825ff0ccc60c9b6122ee5fc24134a5bc469d298d4ccde880ce33843abe4d5157da5f8f864573583e9b6aa1
+ checksum: 2ce7b6868b857454cd8d1f6360e59fa0fcae6041cdfb9ab15cc195269cc75d819d7fa74997f8a2f7684a2ac79aebee9aefb337d20c240232561da88ef6bd483c
languageName: node
linkType: hard
@@ -1616,7 +1631,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/plugin-transform-flow-strip-types@npm:^7.0.0, @babel/plugin-transform-flow-strip-types@npm:^7.16.0, @babel/plugin-transform-flow-strip-types@npm:^7.16.7":
+"@babel/plugin-transform-flow-strip-types@npm:^7.16.0, @babel/plugin-transform-flow-strip-types@npm:^7.16.7":
version: 7.16.7
resolution: "@babel/plugin-transform-flow-strip-types@npm:7.16.7"
dependencies:
@@ -1796,13 +1811,13 @@ __metadata:
linkType: hard
"@babel/plugin-transform-react-constant-elements@npm:^7.0.0, @babel/plugin-transform-react-constant-elements@npm:^7.12.1":
- version: 7.16.7
- resolution: "@babel/plugin-transform-react-constant-elements@npm:7.16.7"
+ version: 7.17.6
+ resolution: "@babel/plugin-transform-react-constant-elements@npm:7.17.6"
dependencies:
"@babel/helper-plugin-utils": ^7.16.7
peerDependencies:
"@babel/core": ^7.0.0-0
- checksum: 1266bff92707afae43ca41fc8aea59adf061be0652b52f0c11130d1f28b7de67a4cee89d63a80cd95282ec7563337d5d199ccb633a7f414c4227e17fe092e928
+ checksum: 7a7858c61aaef45b0b437d3448a35e07b9ddc19cfa54d0c6e29f1dbe5a880296bfd49ed7d24419346b60c426382d4536cfb09c2e5b5d4beb0f7d1598394de1f8
languageName: node
linkType: hard
@@ -1862,17 +1877,17 @@ __metadata:
linkType: hard
"@babel/plugin-transform-react-jsx@npm:^7.12.12, @babel/plugin-transform-react-jsx@npm:^7.16.7, @babel/plugin-transform-react-jsx@npm:^7.9.1":
- version: 7.16.7
- resolution: "@babel/plugin-transform-react-jsx@npm:7.16.7"
+ version: 7.17.3
+ resolution: "@babel/plugin-transform-react-jsx@npm:7.17.3"
dependencies:
"@babel/helper-annotate-as-pure": ^7.16.7
"@babel/helper-module-imports": ^7.16.7
"@babel/helper-plugin-utils": ^7.16.7
"@babel/plugin-syntax-jsx": ^7.16.7
- "@babel/types": ^7.16.7
+ "@babel/types": ^7.17.0
peerDependencies:
"@babel/core": ^7.0.0-0
- checksum: adbadacd4d227cd3f3dff04be7fbe78715af18cd34c62a97cdb1858254df60d8a3f25edfe0afd50cf37afec02447026c6c067ce05da9fc4384d549a1cfe3a2e3
+ checksum: dde30d7af0cdbd1ee3facfd853be3ca6ee55b0507713892b249091f0ae1facf7ae1998b057423e2b6be8e674b318797d489718de87b3bbdd94f45e676e1f1347
languageName: node
linkType: hard
@@ -1938,8 +1953,8 @@ __metadata:
linkType: hard
"@babel/plugin-transform-runtime@npm:^7.11.0, @babel/plugin-transform-runtime@npm:^7.12.10, @babel/plugin-transform-runtime@npm:^7.13.9, @babel/plugin-transform-runtime@npm:^7.16.4":
- version: 7.16.10
- resolution: "@babel/plugin-transform-runtime@npm:7.16.10"
+ version: 7.17.0
+ resolution: "@babel/plugin-transform-runtime@npm:7.17.0"
dependencies:
"@babel/helper-module-imports": ^7.16.7
"@babel/helper-plugin-utils": ^7.16.7
@@ -1949,11 +1964,11 @@ __metadata:
semver: ^6.3.0
peerDependencies:
"@babel/core": ^7.0.0-0
- checksum: 08ffe52331d972a3c9c7cb35cfd7ec1c71c409541ab3a6b971d943a85e2877771f525716c93a509805dec62a427f7a738a5421f5848dbb74289d60a819935f7d
+ checksum: e886eb251479527ea8b89d350cbd97b49c8823f591b68a4a17978c9dc1460f0c4b20044d25e6d2dec716f1e3f5bf01be26c0cc4a3ee631556f41e2be16d272a6
languageName: node
linkType: hard
-"@babel/plugin-transform-shorthand-properties@npm:^7.12.1, @babel/plugin-transform-shorthand-properties@npm:^7.12.13, @babel/plugin-transform-shorthand-properties@npm:^7.16.7, @babel/plugin-transform-shorthand-properties@npm:^7.8.3":
+"@babel/plugin-transform-shorthand-properties@npm:^7.12.1, @babel/plugin-transform-shorthand-properties@npm:^7.16.7, @babel/plugin-transform-shorthand-properties@npm:^7.8.3":
version: 7.16.7
resolution: "@babel/plugin-transform-shorthand-properties@npm:7.16.7"
dependencies:
@@ -2213,7 +2228,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/preset-env@npm:^7.1.6, @babel/preset-env@npm:^7.11.0, @babel/preset-env@npm:^7.12.1, @babel/preset-env@npm:^7.12.11, @babel/preset-env@npm:^7.16.4, @babel/preset-env@npm:^7.16.5, @babel/preset-env@npm:^7.16.7, @babel/preset-env@npm:^7.4.5, @babel/preset-env@npm:^7.8.4":
+"@babel/preset-env@npm:^7.1.6, @babel/preset-env@npm:^7.11.0, @babel/preset-env@npm:^7.12.1, @babel/preset-env@npm:^7.12.11, @babel/preset-env@npm:^7.16.11, @babel/preset-env@npm:^7.16.4, @babel/preset-env@npm:^7.16.5, @babel/preset-env@npm:^7.4.5, @babel/preset-env@npm:^7.8.4":
version: 7.16.11
resolution: "@babel/preset-env@npm:7.16.11"
dependencies:
@@ -2297,7 +2312,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/preset-flow@npm:^7.0.0, @babel/preset-flow@npm:^7.12.1, @babel/preset-flow@npm:^7.13.13":
+"@babel/preset-flow@npm:^7.0.0, @babel/preset-flow@npm:^7.12.1, @babel/preset-flow@npm:^7.13.13, @babel/preset-flow@npm:^7.16.7":
version: 7.16.7
resolution: "@babel/preset-flow@npm:7.16.7"
dependencies:
@@ -2341,7 +2356,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/preset-react@npm:^7.0.0, @babel/preset-react@npm:^7.12.10, @babel/preset-react@npm:^7.12.5, @babel/preset-react@npm:^7.16.0":
+"@babel/preset-react@npm:^7.0.0, @babel/preset-react@npm:^7.12.10, @babel/preset-react@npm:^7.12.5, @babel/preset-react@npm:^7.16.0, @babel/preset-react@npm:^7.16.7":
version: 7.16.7
resolution: "@babel/preset-react@npm:7.16.7"
dependencies:
@@ -2369,7 +2384,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/preset-typescript@npm:^7.1.0, @babel/preset-typescript@npm:^7.12.7, @babel/preset-typescript@npm:^7.13.0, @babel/preset-typescript@npm:^7.16.0":
+"@babel/preset-typescript@npm:^7.1.0, @babel/preset-typescript@npm:^7.12.7, @babel/preset-typescript@npm:^7.13.0, @babel/preset-typescript@npm:^7.16.0, @babel/preset-typescript@npm:^7.16.7":
version: 7.16.7
resolution: "@babel/preset-typescript@npm:7.16.7"
dependencies:
@@ -2383,27 +2398,27 @@ __metadata:
linkType: hard
"@babel/register@npm:^7.0.0, @babel/register@npm:^7.12.1, @babel/register@npm:^7.13.16":
- version: 7.16.9
- resolution: "@babel/register@npm:7.16.9"
+ version: 7.17.0
+ resolution: "@babel/register@npm:7.17.0"
dependencies:
clone-deep: ^4.0.1
find-cache-dir: ^2.0.0
make-dir: ^2.1.0
- pirates: ^4.0.0
+ pirates: ^4.0.5
source-map-support: ^0.5.16
peerDependencies:
"@babel/core": ^7.0.0-0
- checksum: 5cc7c70786f302dbb2cd8e65a989ffbe3aebf0487fd35350ddf7d089c55099864ce61c06e9d4936b46cc3d171955e307fef9488ed41bea6f6d5bb1d7aabe84d5
+ checksum: 5c86d2a7509ec87343b02f2c2c9024bd376405fd76447ab2d6a4a9ec3f80619f47c234c27870216b6f088d4914e8928d8dd895bf0ab7f9ab435c624e6711fd38
languageName: node
linkType: hard
"@babel/runtime-corejs3@npm:^7.10.2, @babel/runtime-corejs3@npm:^7.12.1":
- version: 7.16.8
- resolution: "@babel/runtime-corejs3@npm:7.16.8"
+ version: 7.17.2
+ resolution: "@babel/runtime-corejs3@npm:7.17.2"
dependencies:
core-js-pure: ^3.20.2
regenerator-runtime: ^0.13.4
- checksum: 5d5a3ffeea4ab29d2b8b4613a85bf5dbeca1508968e4240207164b6a778ff21c1f3f17fc59814c8fd5da211852a832cf9a9a2361ded5c72ef0a7229e6bde15e2
+ checksum: 77ddef7cf6991071de4f27e2f98f221f99278087e28f6a50954fd6cee423b521611e636e1885127854bd6d4ce40ff9ce6f60711267a3e4124550f19871a06d05
languageName: node
linkType: hard
@@ -2434,12 +2449,12 @@ __metadata:
languageName: node
linkType: hard
-"@babel/runtime@npm:^7.0.0, @babel/runtime@npm:^7.1.2, @babel/runtime@npm:^7.10.2, @babel/runtime@npm:^7.11.0, @babel/runtime@npm:^7.12.0, @babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.14.8, @babel/runtime@npm:^7.16.3, @babel/runtime@npm:^7.16.7, @babel/runtime@npm:^7.3.1, @babel/runtime@npm:^7.3.4, @babel/runtime@npm:^7.4.5, @babel/runtime@npm:^7.5.0, @babel/runtime@npm:^7.5.5, @babel/runtime@npm:^7.7.2, @babel/runtime@npm:^7.7.6, @babel/runtime@npm:^7.8.4, @babel/runtime@npm:^7.9.2":
- version: 7.16.7
- resolution: "@babel/runtime@npm:7.16.7"
+"@babel/runtime@npm:^7.0.0, @babel/runtime@npm:^7.1.2, @babel/runtime@npm:^7.10.2, @babel/runtime@npm:^7.11.0, @babel/runtime@npm:^7.12.0, @babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.14.8, @babel/runtime@npm:^7.16.3, @babel/runtime@npm:^7.16.7, @babel/runtime@npm:^7.17.2, @babel/runtime@npm:^7.3.1, @babel/runtime@npm:^7.3.4, @babel/runtime@npm:^7.4.5, @babel/runtime@npm:^7.5.0, @babel/runtime@npm:^7.5.5, @babel/runtime@npm:^7.7.2, @babel/runtime@npm:^7.7.6, @babel/runtime@npm:^7.8.4, @babel/runtime@npm:^7.9.2":
+ version: 7.17.2
+ resolution: "@babel/runtime@npm:7.17.2"
dependencies:
regenerator-runtime: ^0.13.4
- checksum: db68a6cd665930288d8fc96e751932413246eb72e71aa2f16376553eb6ed64db469bf462eb9fa137bda3109f181cab74ae136505fa4cca464674a1a1ab9c2fea
+ checksum: 1d94b34cdcd87b61b9c76a61dc63dfbeb9bb5ef2443d7e981b8e094cde23f9c3115d633347b26179423c5bd381765b8fca74f518de98c965bb68295e78addf3b
languageName: node
linkType: hard
@@ -2476,31 +2491,31 @@ __metadata:
languageName: node
linkType: hard
-"@babel/traverse@npm:^7.0.0, @babel/traverse@npm:^7.1.0, @babel/traverse@npm:^7.1.6, @babel/traverse@npm:^7.12.1, @babel/traverse@npm:^7.12.10, @babel/traverse@npm:^7.12.11, @babel/traverse@npm:^7.12.9, @babel/traverse@npm:^7.13.0, @babel/traverse@npm:^7.16.10, @babel/traverse@npm:^7.16.7, @babel/traverse@npm:^7.16.8, @babel/traverse@npm:^7.4.3, @babel/traverse@npm:^7.4.5, @babel/traverse@npm:^7.7.0, @babel/traverse@npm:^7.8.6, @babel/traverse@npm:^7.9.0":
- version: 7.16.10
- resolution: "@babel/traverse@npm:7.16.10"
+"@babel/traverse@npm:^7.0.0, @babel/traverse@npm:^7.1.0, @babel/traverse@npm:^7.1.6, @babel/traverse@npm:^7.12.1, @babel/traverse@npm:^7.12.10, @babel/traverse@npm:^7.12.11, @babel/traverse@npm:^7.12.9, @babel/traverse@npm:^7.13.0, @babel/traverse@npm:^7.16.7, @babel/traverse@npm:^7.16.8, @babel/traverse@npm:^7.17.0, @babel/traverse@npm:^7.17.3, @babel/traverse@npm:^7.4.3, @babel/traverse@npm:^7.4.5, @babel/traverse@npm:^7.7.0, @babel/traverse@npm:^7.8.6, @babel/traverse@npm:^7.9.0":
+ version: 7.17.3
+ resolution: "@babel/traverse@npm:7.17.3"
dependencies:
"@babel/code-frame": ^7.16.7
- "@babel/generator": ^7.16.8
+ "@babel/generator": ^7.17.3
"@babel/helper-environment-visitor": ^7.16.7
"@babel/helper-function-name": ^7.16.7
"@babel/helper-hoist-variables": ^7.16.7
"@babel/helper-split-export-declaration": ^7.16.7
- "@babel/parser": ^7.16.10
- "@babel/types": ^7.16.8
+ "@babel/parser": ^7.17.3
+ "@babel/types": ^7.17.0
debug: ^4.1.0
globals: ^11.1.0
- checksum: f0c1bac0f037f72a64628f768d1343326bc27facec2fa22b2c855400481faac3e6f4bbefc878c995e60885f6ca4580af56ab15ef147a3ba9d17c871e9804b019
+ checksum: 284ee68ec035c1f4f1b7b2f04932fa53490f4fa056f0cd4255e3f782e0e539f7c0d300cab835a4958b546b2b808dd574887079b2654450b35a29d4656af92219
languageName: node
linkType: hard
-"@babel/types@npm:^7.0.0, @babel/types@npm:^7.11.5, @babel/types@npm:^7.12.1, @babel/types@npm:^7.12.10, @babel/types@npm:^7.12.11, @babel/types@npm:^7.12.13, @babel/types@npm:^7.12.6, @babel/types@npm:^7.12.7, @babel/types@npm:^7.13.12, @babel/types@npm:^7.16.0, @babel/types@npm:^7.16.7, @babel/types@npm:^7.16.8, @babel/types@npm:^7.2.0, @babel/types@npm:^7.3.0, @babel/types@npm:^7.3.3, @babel/types@npm:^7.4.0, @babel/types@npm:^7.4.4, @babel/types@npm:^7.6.1, @babel/types@npm:^7.7.0, @babel/types@npm:^7.7.2, @babel/types@npm:^7.8.3, @babel/types@npm:^7.8.6, @babel/types@npm:^7.8.7, @babel/types@npm:^7.9.0, @babel/types@npm:^7.9.6":
- version: 7.16.8
- resolution: "@babel/types@npm:7.16.8"
+"@babel/types@npm:^7.0.0, @babel/types@npm:^7.11.5, @babel/types@npm:^7.12.1, @babel/types@npm:^7.12.10, @babel/types@npm:^7.12.11, @babel/types@npm:^7.12.6, @babel/types@npm:^7.12.7, @babel/types@npm:^7.13.12, @babel/types@npm:^7.16.0, @babel/types@npm:^7.16.7, @babel/types@npm:^7.16.8, @babel/types@npm:^7.17.0, @babel/types@npm:^7.2.0, @babel/types@npm:^7.3.0, @babel/types@npm:^7.3.3, @babel/types@npm:^7.4.0, @babel/types@npm:^7.4.4, @babel/types@npm:^7.6.1, @babel/types@npm:^7.7.0, @babel/types@npm:^7.7.2, @babel/types@npm:^7.8.3, @babel/types@npm:^7.8.6, @babel/types@npm:^7.8.7, @babel/types@npm:^7.9.0, @babel/types@npm:^7.9.6":
+ version: 7.17.0
+ resolution: "@babel/types@npm:7.17.0"
dependencies:
"@babel/helper-validator-identifier": ^7.16.7
to-fast-properties: ^2.0.0
- checksum: f8aebc9eefde65fba706caf71a6529ca99a741b691a8a6ebd0495890b09a494cd10d06cf0993a78410dde9b34a8089c9c7961e87aec55470a5ae7f661b05cc27
+ checksum: ad09224272b40fedb00b262677d12b6838f5b5df5c47d67059ba1181bd4805439993393a8de32459dae137b536d60ebfcaf39ae84d8b3873f1e81cc75f5aeae8
languageName: node
linkType: hard
@@ -2531,35 +2546,35 @@ __metadata:
linkType: hard
"@compodoc/compodoc@npm:^1.1.18":
- version: 1.1.18
- resolution: "@compodoc/compodoc@npm:1.1.18"
+ version: 1.1.19
+ resolution: "@compodoc/compodoc@npm:1.1.19"
dependencies:
- "@angular-devkit/schematics": ^13.1.2
- "@babel/core": ^7.16.7
- "@babel/preset-env": ^7.16.7
+ "@angular-devkit/schematics": ^13.2.4
+ "@babel/core": ^7.17.5
+ "@babel/preset-env": ^7.16.11
"@compodoc/live-server": ^1.2.3
"@compodoc/ngd-transformer": ^2.1.0
- chalk: ^4.1.2
+ chalk: 4.1.2
cheerio: ^1.0.0-rc.10
- chokidar: ^3.5.2
+ chokidar: ^3.5.3
colors: 1.4.0
- commander: ^8.3.0
+ commander: ^9.0.0
cosmiconfig: ^7.0.1
decache: ^4.6.1
fancy-log: ^2.0.0
findit2: ^2.2.3
- fs-extra: ^10.0.0
+ fs-extra: ^10.0.1
glob: ^7.2.0
handlebars: ^4.7.7
html-entities: ^2.3.2
- i18next: ^21.6.5
+ i18next: ^21.6.11
inside: ^1.0.0
json5: ^2.2.0
lodash: ^4.17.21
loglevel: ^1.8.0
loglevel-plugin-prefix: ^0.8.4
lunr: ^2.3.9
- marked: ^4.0.9
+ marked: ^4.0.12
minimist: ^1.2.5
opencollective-postinstall: ^2.0.3
os-name: 4.0.1
@@ -2567,11 +2582,11 @@ __metadata:
pdfmake: ^0.2.4
semver: ^7.3.5
traverse: ^0.6.6
- ts-morph: ^13.0.2
+ ts-morph: ^13.0.3
uuid: ^8.3.2
bin:
compodoc: bin/index-cli.js
- checksum: 03e1a428f447c0ddd2e9d61fb411c7e74a20df72422d0b01e7ed8ce7d0be7c6c1b98c40919e5e8ad7bc44bce72c291e01fe7c2656f624c0d4c1e3df9b7de87b8
+ checksum: d8feca4fe94f023e3cabd5c47fdc8a0f773534b70027edab39dc4e8bf9c904fde7621df1b77b3a18dff98adb1abada1f5bdf64e7aeb10dc2984ad2b0d9de7ee6
languageName: node
linkType: hard
@@ -2686,8 +2701,8 @@ __metadata:
linkType: hard
"@cypress/webpack-preprocessor@npm:^5.9.1":
- version: 5.11.0
- resolution: "@cypress/webpack-preprocessor@npm:5.11.0"
+ version: 5.11.1
+ resolution: "@cypress/webpack-preprocessor@npm:5.11.1"
dependencies:
bluebird: 3.7.1
debug: ^4.3.2
@@ -2697,7 +2712,7 @@ __metadata:
"@babel/preset-env": ^7.0.0
babel-loader: ^8.0.2
webpack: ^4 || ^5
- checksum: 6380e2e69bf571b13c3a0a9ec87f3eb8f350b8e8b480f86079f89a630b95a0c4e5dffebfcd24efecd735b031cfb32b02bdc96d7fcab0a93856671705cc5ec3f8
+ checksum: 30109f36ee1401294c693fde99cbe2cf36f82f651614b9b211898b066edfa8f5d9381d166caaff742a40478863c4bb8a15ef1997b50a96455ce353498ead1642
languageName: node
linkType: hard
@@ -2753,32 +2768,6 @@ __metadata:
languageName: node
linkType: hard
-"@ember/test-helpers@npm:^2.1.4":
- version: 2.6.0
- resolution: "@ember/test-helpers@npm:2.6.0"
- dependencies:
- "@ember/test-waiters": ^3.0.0
- broccoli-debug: ^0.6.5
- broccoli-funnel: ^3.0.8
- ember-cli-babel: ^7.26.6
- ember-cli-htmlbars: ^5.7.1
- ember-destroyable-polyfill: ^2.0.3
- checksum: 76f125590f683e4af22be0242657fe4ccbfd97950d8db33f17519638e9a84ba859489650410b80f2ec8d81eb34f577883f65309a2fc63c178ff75759ebc18b35
- languageName: node
- linkType: hard
-
-"@ember/test-waiters@npm:^3.0.0":
- version: 3.0.1
- resolution: "@ember/test-waiters@npm:3.0.1"
- dependencies:
- calculate-cache-key-for-tree: ^2.0.0
- ember-cli-babel: ^7.26.6
- ember-cli-version-checker: ^5.1.2
- semver: ^7.3.5
- checksum: 5c4ed1a8e6851a8cfbccad268073932920bc575b36e22da2351feeab2ee73810f620d707194c73c6dff0a5aca3440952102b96519cd54cc4f9cc4957a1abcf41
- languageName: node
- linkType: hard
-
"@emotion/cache@npm:^10.0.27":
version: 10.0.29
resolution: "@emotion/cache@npm:10.0.29"
@@ -2825,7 +2814,7 @@ __metadata:
languageName: node
linkType: hard
-"@emotion/is-prop-valid@npm:0.8.8, @emotion/is-prop-valid@npm:^0.8.1, @emotion/is-prop-valid@npm:^0.8.6, @emotion/is-prop-valid@npm:^0.8.8":
+"@emotion/is-prop-valid@npm:0.8.8, @emotion/is-prop-valid@npm:^0.8.1, @emotion/is-prop-valid@npm:^0.8.6":
version: 0.8.8
resolution: "@emotion/is-prop-valid@npm:0.8.8"
dependencies:
@@ -2899,14 +2888,14 @@ __metadata:
languageName: node
linkType: hard
-"@emotion/stylis@npm:0.8.5, @emotion/stylis@npm:^0.8.4":
+"@emotion/stylis@npm:0.8.5":
version: 0.8.5
resolution: "@emotion/stylis@npm:0.8.5"
checksum: f109e3f11cb0d48e8658aaa23578c5bcfe35e297819cfb089a3de6ba8dc0f89b0960474922690c6028df5d2e1895b4967f2fb280642c030054c312f1e137ce26
languageName: node
linkType: hard
-"@emotion/unitless@npm:0.7.5, @emotion/unitless@npm:^0.7.0, @emotion/unitless@npm:^0.7.4":
+"@emotion/unitless@npm:0.7.5, @emotion/unitless@npm:^0.7.0":
version: 0.7.5
resolution: "@emotion/unitless@npm:0.7.5"
checksum: 4d0d94f53cb97b4481bbfa394953e1899a0b877644642ba9dd7247c27eb8c48e14e22aeb11411d7d9874685ad85dd5fb5b50eb78c6d8840eb56a84b92dcef2f4
@@ -3075,9 +3064,9 @@ __metadata:
linkType: hard
"@gar/promisify@npm:^1.0.1":
- version: 1.1.2
- resolution: "@gar/promisify@npm:1.1.2"
- checksum: 5272869fb1e0b765710f8aa522b4c1be9319a9be5b70510daccc570e2a0d69478e5b8a6a665040fdea78f4cf1a4f0e3d7eaaf862410493a201c9ddb961b74b80
+ version: 1.1.3
+ resolution: "@gar/promisify@npm:1.1.3"
+ checksum: 0b3c9958d3cd17f4add3574975e3115ae05dc7f1298a60810414b16f6f558c137b5fb3cd3905df380bacfd955ec13f67c1e6710cbb5c246a7e8d65a8289b2bff
languageName: node
linkType: hard
@@ -3179,13 +3168,6 @@ __metadata:
languageName: node
linkType: hard
-"@iarna/toml@npm:^2.2.0":
- version: 2.2.5
- resolution: "@iarna/toml@npm:2.2.5"
- checksum: d095381ad4554aca233b7cf5a91f243ef619e5e15efd3157bc640feac320545450d14b394aebbf6f02a2047437ced778ae598d5879a995441ab7b6c0b2c2f201
- languageName: node
- linkType: hard
-
"@intervolga/optimize-cssnano-plugin@npm:^1.0.5":
version: 1.0.6
resolution: "@intervolga/optimize-cssnano-plugin@npm:1.0.6"
@@ -3244,17 +3226,17 @@ __metadata:
languageName: node
linkType: hard
-"@jest/console@npm:^27.4.6":
- version: 27.4.6
- resolution: "@jest/console@npm:27.4.6"
+"@jest/console@npm:^27.5.1":
+ version: 27.5.1
+ resolution: "@jest/console@npm:27.5.1"
dependencies:
- "@jest/types": ^27.4.2
+ "@jest/types": ^27.5.1
"@types/node": "*"
chalk: ^4.0.0
- jest-message-util: ^27.4.6
- jest-util: ^27.4.2
+ jest-message-util: ^27.5.1
+ jest-util: ^27.5.1
slash: ^3.0.0
- checksum: 44bd80dd3ac2a75579b3a26c31af20ee8805399f0ed89f5f395fcd1eff4a4bada893c716af1d269881c45cb757f3ca2452820c7faae3a349a8d70a03a8502e76
+ checksum: 6cb46d721698aaeb0d57ace967f7a36bbefc20719d420ea8bf8ec8adf9994cb1ec11a93bbd9b1514c12a19b5dd99dcbbd1d3e22fd8bea8e41e845055b03ac18d
languageName: node
linkType: hard
@@ -3500,15 +3482,15 @@ __metadata:
languageName: node
linkType: hard
-"@jest/test-result@npm:^27.4.6":
- version: 27.4.6
- resolution: "@jest/test-result@npm:27.4.6"
+"@jest/test-result@npm:^27.5.1":
+ version: 27.5.1
+ resolution: "@jest/test-result@npm:27.5.1"
dependencies:
- "@jest/console": ^27.4.6
- "@jest/types": ^27.4.2
+ "@jest/console": ^27.5.1
+ "@jest/types": ^27.5.1
"@types/istanbul-lib-coverage": ^2.0.0
collect-v8-coverage: ^1.0.0
- checksum: 63461eec0795ec8b7f043ac807f28efc37ab8dac023bfd3e9a3e959bfd191249fed2346b16811e80401e7cb3fc47fddf9826c96639fb45db71ddf462955f0451
+ checksum: 4fb8cbefda8f645c57e2fc0d0df169b0bf5f6cb456b42dc09f5138595b736e800d8d83e3fd36a47fd801a2359988c841792d7fc46784bec908c88b39b6581749
languageName: node
linkType: hard
@@ -3620,16 +3602,40 @@ __metadata:
languageName: node
linkType: hard
-"@jest/types@npm:^27.4.2":
- version: 27.4.2
- resolution: "@jest/types@npm:27.4.2"
+"@jest/types@npm:^27.5.1":
+ version: 27.5.1
+ resolution: "@jest/types@npm:27.5.1"
dependencies:
"@types/istanbul-lib-coverage": ^2.0.0
"@types/istanbul-reports": ^3.0.0
"@types/node": "*"
"@types/yargs": ^16.0.0
chalk: ^4.0.0
- checksum: e72dbc1234e714c04f2b95f5542f6fae1b8bae222d3afa1b48e425875097d1ea63a4a6f8d0bc85965a0d3fab6534e154ab93f412e88f32e414e56366912bd02e
+ checksum: 4598b302398db0eb77168b75a6c58148ea02cc9b9f21c5d1bbe985c1c9257110a5653cf7b901c3cab87fba231e3fed83633687f1c0903b4bc6939ab2a8452504
+ languageName: node
+ linkType: hard
+
+"@jridgewell/resolve-uri@npm:^3.0.3":
+ version: 3.0.5
+ resolution: "@jridgewell/resolve-uri@npm:3.0.5"
+ checksum: 00e27376be6dcfccca1666326328ba47c4614002fb20b9c4f7a47d25ecf0b99061f201362109bf4ce547e8f246aaac35db67b3ab6bf07c3e0e3edabccd4bdb31
+ languageName: node
+ linkType: hard
+
+"@jridgewell/sourcemap-codec@npm:^1.4.10":
+ version: 1.4.11
+ resolution: "@jridgewell/sourcemap-codec@npm:1.4.11"
+ checksum: 92f81c79a268cb1cd8ec29831a69838b7af98e020d4c80a37dd5aa3b6c7868f9e97fa75c18c9100e3879b47472654fa013d44a79c280d7f2229bbfd64e3dd169
+ languageName: node
+ linkType: hard
+
+"@jridgewell/trace-mapping@npm:^0.3.0, @jridgewell/trace-mapping@npm:^0.3.4":
+ version: 0.3.4
+ resolution: "@jridgewell/trace-mapping@npm:0.3.4"
+ dependencies:
+ "@jridgewell/resolve-uri": ^3.0.3
+ "@jridgewell/sourcemap-codec": ^1.4.10
+ checksum: ee62b4d810e417f81eb27c9385089172b40286329d9a81fcff999fede883ae95ca75bcaf58793cae0a3981d17302f223656d72ed9bbd1d5a96c170b2dfdc5259
languageName: node
linkType: hard
@@ -4460,25 +4466,7 @@ __metadata:
languageName: node
linkType: hard
-"@lit/reactive-element@npm:^1.1.0":
- version: 1.2.1
- resolution: "@lit/reactive-element@npm:1.2.1"
- checksum: 04d851b63b2247dd5ebf22688aae711a815e30adc4068b5a9bc97fdbb183bb7867a58e8d83c445702e9851da48b5ec20c9fdfc77d5eb392e8e99a1272942dd59
- languageName: node
- linkType: hard
-
-"@mdx-js/loader@npm:^1.6.22":
- version: 1.6.22
- resolution: "@mdx-js/loader@npm:1.6.22"
- dependencies:
- "@mdx-js/mdx": 1.6.22
- "@mdx-js/react": 1.6.22
- loader-utils: 2.0.0
- checksum: d39f8a3044b8025d5adea20c5f67daca46027e9fd89bc974646402ffb1ed83268081738f793f209cd37f06bfeaddb6b6f8cd61da56fa7a238c7d8da361f43761
- languageName: node
- linkType: hard
-
-"@mdx-js/mdx@npm:1.6.22, @mdx-js/mdx@npm:^1.6.22":
+"@mdx-js/mdx@npm:^1.6.22":
version: 1.6.22
resolution: "@mdx-js/mdx@npm:1.6.22"
dependencies:
@@ -4505,7 +4493,32 @@ __metadata:
languageName: node
linkType: hard
-"@mdx-js/react@npm:1.6.22, @mdx-js/react@npm:^1.6.22":
+"@mdx-js/mdx@npm:^2.0.0":
+ version: 2.0.0
+ resolution: "@mdx-js/mdx@npm:2.0.0"
+ dependencies:
+ "@types/estree-jsx": ^0.0.1
+ "@types/mdx": ^2.0.0
+ astring: ^1.6.0
+ estree-util-build-jsx: ^2.0.0
+ estree-util-is-identifier-name: ^2.0.0
+ estree-walker: ^3.0.0
+ hast-util-to-estree: ^2.0.0
+ markdown-extensions: ^1.0.0
+ periscopic: ^3.0.0
+ remark-mdx: ^2.0.0
+ remark-parse: ^10.0.0
+ remark-rehype: ^10.0.0
+ unified: ^10.0.0
+ unist-util-position-from-estree: ^1.0.0
+ unist-util-stringify-position: ^3.0.0
+ unist-util-visit: ^4.0.0
+ vfile: ^5.0.0
+ checksum: ae293359492727cc36215dbbecb60045ad9a11e037f18d7d6d2b7846f85bf43436e93c8525568878ab4241cf9cf7964c4593dfbb47ac759da70950af5d4ff0df
+ languageName: node
+ linkType: hard
+
+"@mdx-js/react@npm:^1.6.22":
version: 1.6.22
resolution: "@mdx-js/react@npm:1.6.22"
peerDependencies:
@@ -4616,12 +4629,12 @@ __metadata:
linkType: hard
"@npmcli/fs@npm:^1.0.0":
- version: 1.1.0
- resolution: "@npmcli/fs@npm:1.1.0"
+ version: 1.1.1
+ resolution: "@npmcli/fs@npm:1.1.1"
dependencies:
"@gar/promisify": ^1.0.1
semver: ^7.3.5
- checksum: 64b4c3c19dd2c2fe192155e04932e4352bbe6d119a46f9a4bfc69f78dcbd511bff8a2f1eb427efb1bbd52e9765d0fc40f80e607ca6b0e657a3f1f9d6954d7e33
+ checksum: 4143c317a7542af9054018b71601e3c3392e6704e884561229695f099a71336cbd580df9a9ffb965d0024bf0ed593189ab58900fd1714baef1c9ee59c738c3e2
languageName: node
linkType: hard
@@ -4926,7 +4939,7 @@ __metadata:
languageName: node
linkType: hard
-"@octokit/auth-token@npm:^2.4.0":
+"@octokit/auth-token@npm:^2.4.0, @octokit/auth-token@npm:^2.4.4":
version: 2.5.0
resolution: "@octokit/auth-token@npm:2.5.0"
dependencies:
@@ -4949,6 +4962,21 @@ __metadata:
languageName: node
linkType: hard
+"@octokit/core@npm:^3.5.1":
+ version: 3.5.1
+ resolution: "@octokit/core@npm:3.5.1"
+ dependencies:
+ "@octokit/auth-token": ^2.4.4
+ "@octokit/graphql": ^4.5.8
+ "@octokit/request": ^5.6.0
+ "@octokit/request-error": ^2.0.5
+ "@octokit/types": ^6.0.3
+ before-after-hook: ^2.2.0
+ universal-user-agent: ^6.0.0
+ checksum: a85c3cd23467e805fc429d6824e5fd142758a5259c4a66dd702153fdeda5185142a1452fa800611aaa71c7e871a0a53effc980eae65a39fdc92beff0c2fe269c
+ languageName: node
+ linkType: hard
+
"@octokit/endpoint@npm:^6.0.1":
version: 6.0.12
resolution: "@octokit/endpoint@npm:6.0.12"
@@ -4960,7 +4988,7 @@ __metadata:
languageName: node
linkType: hard
-"@octokit/graphql@npm:^4.3.1":
+"@octokit/graphql@npm:^4.3.1, @octokit/graphql@npm:^4.5.8":
version: 4.8.0
resolution: "@octokit/graphql@npm:4.8.0"
dependencies:
@@ -4994,7 +5022,7 @@ __metadata:
languageName: node
linkType: hard
-"@octokit/plugin-paginate-rest@npm:^2.2.0":
+"@octokit/plugin-paginate-rest@npm:^2.16.8, @octokit/plugin-paginate-rest@npm:^2.2.0":
version: 2.17.0
resolution: "@octokit/plugin-paginate-rest@npm:2.17.0"
dependencies:
@@ -5005,7 +5033,7 @@ __metadata:
languageName: node
linkType: hard
-"@octokit/plugin-request-log@npm:^1.0.0":
+"@octokit/plugin-request-log@npm:^1.0.0, @octokit/plugin-request-log@npm:^1.0.4":
version: 1.0.4
resolution: "@octokit/plugin-request-log@npm:1.0.4"
peerDependencies:
@@ -5034,6 +5062,18 @@ __metadata:
languageName: node
linkType: hard
+"@octokit/plugin-rest-endpoint-methods@npm:^5.12.0":
+ version: 5.13.0
+ resolution: "@octokit/plugin-rest-endpoint-methods@npm:5.13.0"
+ dependencies:
+ "@octokit/types": ^6.34.0
+ deprecation: ^2.3.1
+ peerDependencies:
+ "@octokit/core": ">=3"
+ checksum: e836ed80363300187d8cf3b01c821e4cc90e8a4779b99307f92c621c66c73f0cf4412115aced98da17f17dea1d6869151fab8fecf8eb5883d079c45658f7493a
+ languageName: node
+ linkType: hard
+
"@octokit/request-error@npm:^1.0.2":
version: 1.2.1
resolution: "@octokit/request-error@npm:1.2.1"
@@ -5045,7 +5085,7 @@ __metadata:
languageName: node
linkType: hard
-"@octokit/request-error@npm:^2.1.0":
+"@octokit/request-error@npm:^2.0.5, @octokit/request-error@npm:^2.1.0":
version: 2.1.0
resolution: "@octokit/request-error@npm:2.1.0"
dependencies:
@@ -5094,6 +5134,18 @@ __metadata:
languageName: node
linkType: hard
+"@octokit/rest@npm:^16.43.0 || ^17.11.0 || ^18.12.0":
+ version: 18.12.0
+ resolution: "@octokit/rest@npm:18.12.0"
+ dependencies:
+ "@octokit/core": ^3.5.1
+ "@octokit/plugin-paginate-rest": ^2.16.8
+ "@octokit/plugin-request-log": ^1.0.4
+ "@octokit/plugin-rest-endpoint-methods": ^5.12.0
+ checksum: e649baf7ccc3de57e5aeffb88e2888b023ffc693dee91c4db58dcb7b5481348bc5b0e6a49a176354c3150e3fa4e02c43a5b1d2be02492909b3f6dcfa5f63e444
+ languageName: node
+ linkType: hard
+
"@octokit/rest@npm:^17.1.1":
version: 17.11.2
resolution: "@octokit/rest@npm:17.11.2"
@@ -5159,134 +5211,108 @@ __metadata:
languageName: node
linkType: hard
-"@parcel/babel-ast-utils@npm:^2.2.1":
- version: 2.2.1
- resolution: "@parcel/babel-ast-utils@npm:2.2.1"
- dependencies:
- "@babel/parser": ^7.0.0
- "@parcel/babylon-walk": ^2.2.1
- "@parcel/source-map": ^2.0.0
- "@parcel/utils": ^2.2.1
- astring: ^1.6.2
- checksum: 0b9c976b33d5cbe0bd98af22fec1a23c83e2e84fce8160a0eff588d197030ee16bcea9fb20a19c4efb7c22b90fb8ace8c10a68d29b64f8c25c2ff2632a2c3b43
- languageName: node
- linkType: hard
-
-"@parcel/babylon-walk@npm:^2.2.1":
- version: 2.2.1
- resolution: "@parcel/babylon-walk@npm:2.2.1"
- dependencies:
- "@babel/types": ^7.12.13
- lodash.clone: ^4.5.0
- checksum: a52df9785e9b6a8886af8cb49b011a653ff6a623d50d3d160d6145bb764f275d36a495ec44021ff2e3678b9c2986c1dc360f78b9c7398671f3ef41a2177fffbd
- languageName: node
- linkType: hard
-
-"@parcel/bundler-default@npm:^2.2.1":
- version: 2.2.1
- resolution: "@parcel/bundler-default@npm:2.2.1"
+"@parcel/bundler-default@npm:2.3.2":
+ version: 2.3.2
+ resolution: "@parcel/bundler-default@npm:2.3.2"
dependencies:
- "@parcel/diagnostic": ^2.2.1
- "@parcel/hash": ^2.2.1
- "@parcel/plugin": ^2.2.1
- "@parcel/utils": ^2.2.1
+ "@parcel/diagnostic": 2.3.2
+ "@parcel/hash": 2.3.2
+ "@parcel/plugin": 2.3.2
+ "@parcel/utils": 2.3.2
nullthrows: ^1.1.1
- checksum: 72086f9f4cb7764ddfebbc0c747fec1c9077e18f7a8c2a82d2b774102d14450a46ebdde378e8d62f69d5b303349db55fb8dc4d35768176e488732b2a8195690f
+ checksum: df205d247fd6cd094067ddd4559857bd171c244da9b91fcfbbf16cd3440d630573c74147c14ce3b23f6b4f87b53cb47cc0d8f13564183b1eca283eef41b890cf
languageName: node
linkType: hard
-"@parcel/cache@npm:^2.2.1":
- version: 2.2.1
- resolution: "@parcel/cache@npm:2.2.1"
+"@parcel/cache@npm:2.3.2":
+ version: 2.3.2
+ resolution: "@parcel/cache@npm:2.3.2"
dependencies:
- "@parcel/fs": ^2.2.1
- "@parcel/logger": ^2.2.1
- "@parcel/utils": ^2.2.1
+ "@parcel/fs": 2.3.2
+ "@parcel/logger": 2.3.2
+ "@parcel/utils": 2.3.2
lmdb: ^2.0.2
peerDependencies:
- "@parcel/core": ^2.2.1
- checksum: f6dfdf1941bb10c18c7cea78172c763fb792d1f65f930c6950514a938e50d096fb1c6e875dfbb1d426eafa17fedf9fed832bee9c566299befe802cda9d6f6b00
+ "@parcel/core": ^2.3.2
+ checksum: 79ba67c5afe4a55c0bfb5f4daba6a3e05cc19793cd3e93398d4267b1d94663981ac2e82ab4423d648394f87eb33de93d892942704416fda9666bbee9f4edf723
languageName: node
linkType: hard
-"@parcel/codeframe@npm:^2.2.1":
- version: 2.2.1
- resolution: "@parcel/codeframe@npm:2.2.1"
+"@parcel/codeframe@npm:2.3.2":
+ version: 2.3.2
+ resolution: "@parcel/codeframe@npm:2.3.2"
dependencies:
chalk: ^4.1.0
- emphasize: ^4.2.0
- slice-ansi: ^4.0.0
- string-width: ^4.2.0
- checksum: 1695a24d4ce489dd035c6a7cd534d7219a49f76e8e8681b67f0f7f45815662361e60b731788c4c35f8bdefa9ea97bf83ab31a240c99360087af09b3e06046b3f
+ checksum: ca1f4151e630d73bb6ff990beb06d66a1d8b951b9d45eae700d49cab159ecfd9c5ce7d222956f0dad3e27fd1adc4138f417319cae4acbff943bfd826885e5b04
languageName: node
linkType: hard
-"@parcel/compressor-raw@npm:^2.2.1":
- version: 2.2.1
- resolution: "@parcel/compressor-raw@npm:2.2.1"
+"@parcel/compressor-raw@npm:2.3.2":
+ version: 2.3.2
+ resolution: "@parcel/compressor-raw@npm:2.3.2"
dependencies:
- "@parcel/plugin": ^2.2.1
- checksum: 57ae81b37dd6bb4263fa0f1d105d1881e8fc945e08a0ec7277f43e5c16408af145a4274bdb5f314140238e29671a5517d7993327738aa1950c20c1fd60267f50
+ "@parcel/plugin": 2.3.2
+ checksum: 3a14a248622acedcdcc03624db513b593e86b62bf781886672b8a2697d4d5414981b237f54ddc6f68ecb5ee07ae94f60e555f738898b6973235ae742d00db7c1
languageName: node
linkType: hard
"@parcel/config-default@npm:^2.0.1":
- version: 2.2.1
- resolution: "@parcel/config-default@npm:2.2.1"
- dependencies:
- "@parcel/bundler-default": ^2.2.1
- "@parcel/compressor-raw": ^2.2.1
- "@parcel/namer-default": ^2.2.1
- "@parcel/optimizer-cssnano": ^2.2.1
- "@parcel/optimizer-htmlnano": ^2.2.1
- "@parcel/optimizer-image": ^2.2.1
- "@parcel/optimizer-svgo": ^2.2.1
- "@parcel/optimizer-terser": ^2.2.1
- "@parcel/packager-css": ^2.2.1
- "@parcel/packager-html": ^2.2.1
- "@parcel/packager-js": ^2.2.1
- "@parcel/packager-raw": ^2.2.1
- "@parcel/packager-svg": ^2.2.1
- "@parcel/reporter-dev-server": ^2.2.1
- "@parcel/resolver-default": ^2.2.1
- "@parcel/runtime-browser-hmr": ^2.2.1
- "@parcel/runtime-js": ^2.2.1
- "@parcel/runtime-react-refresh": ^2.2.1
- "@parcel/runtime-service-worker": ^2.2.1
- "@parcel/transformer-babel": ^2.2.1
- "@parcel/transformer-css": ^2.2.1
- "@parcel/transformer-html": ^2.2.1
- "@parcel/transformer-image": ^2.2.1
- "@parcel/transformer-js": ^2.2.1
- "@parcel/transformer-json": ^2.2.1
- "@parcel/transformer-postcss": ^2.2.1
- "@parcel/transformer-posthtml": ^2.2.1
- "@parcel/transformer-raw": ^2.2.1
- "@parcel/transformer-react-refresh-wrap": ^2.2.1
- "@parcel/transformer-svg": ^2.2.1
- peerDependencies:
- "@parcel/core": ^2.2.1
- checksum: 727f3f27b67f815943d3608f8b3fcad85b987858fdc2ffcdad3caa8d96860ea500a8734f3647defc3be976f2418459eaa522b21a07e4184b43d0333e5a46064b
+ version: 2.3.2
+ resolution: "@parcel/config-default@npm:2.3.2"
+ dependencies:
+ "@parcel/bundler-default": 2.3.2
+ "@parcel/compressor-raw": 2.3.2
+ "@parcel/namer-default": 2.3.2
+ "@parcel/optimizer-cssnano": 2.3.2
+ "@parcel/optimizer-htmlnano": 2.3.2
+ "@parcel/optimizer-image": 2.3.2
+ "@parcel/optimizer-svgo": 2.3.2
+ "@parcel/optimizer-terser": 2.3.2
+ "@parcel/packager-css": 2.3.2
+ "@parcel/packager-html": 2.3.2
+ "@parcel/packager-js": 2.3.2
+ "@parcel/packager-raw": 2.3.2
+ "@parcel/packager-svg": 2.3.2
+ "@parcel/reporter-dev-server": 2.3.2
+ "@parcel/resolver-default": 2.3.2
+ "@parcel/runtime-browser-hmr": 2.3.2
+ "@parcel/runtime-js": 2.3.2
+ "@parcel/runtime-react-refresh": 2.3.2
+ "@parcel/runtime-service-worker": 2.3.2
+ "@parcel/transformer-babel": 2.3.2
+ "@parcel/transformer-css": 2.3.2
+ "@parcel/transformer-html": 2.3.2
+ "@parcel/transformer-image": 2.3.2
+ "@parcel/transformer-js": 2.3.2
+ "@parcel/transformer-json": 2.3.2
+ "@parcel/transformer-postcss": 2.3.2
+ "@parcel/transformer-posthtml": 2.3.2
+ "@parcel/transformer-raw": 2.3.2
+ "@parcel/transformer-react-refresh-wrap": 2.3.2
+ "@parcel/transformer-svg": 2.3.2
+ peerDependencies:
+ "@parcel/core": ^2.3.2
+ checksum: 0b5c004a84754a9198eba5d81b4c4b7a32ae4155e2c6af04c1d5020a21ab924c250df6bd3896a270736f075a9c87d9e5f9859a3cf7d67e06bec8bdd86ee2d8cb
languageName: node
linkType: hard
"@parcel/core@npm:^2.0.1":
- version: 2.2.1
- resolution: "@parcel/core@npm:2.2.1"
- dependencies:
- "@parcel/cache": ^2.2.1
- "@parcel/diagnostic": ^2.2.1
- "@parcel/events": ^2.2.1
- "@parcel/fs": ^2.2.1
- "@parcel/graph": ^2.2.1
- "@parcel/hash": ^2.2.1
- "@parcel/logger": ^2.2.1
- "@parcel/package-manager": ^2.2.1
- "@parcel/plugin": ^2.2.1
+ version: 2.3.2
+ resolution: "@parcel/core@npm:2.3.2"
+ dependencies:
+ "@parcel/cache": 2.3.2
+ "@parcel/diagnostic": 2.3.2
+ "@parcel/events": 2.3.2
+ "@parcel/fs": 2.3.2
+ "@parcel/graph": 2.3.2
+ "@parcel/hash": 2.3.2
+ "@parcel/logger": 2.3.2
+ "@parcel/package-manager": 2.3.2
+ "@parcel/plugin": 2.3.2
"@parcel/source-map": ^2.0.0
- "@parcel/types": ^2.2.1
- "@parcel/utils": ^2.2.1
- "@parcel/workers": ^2.2.1
+ "@parcel/types": 2.3.2
+ "@parcel/utils": 2.3.2
+ "@parcel/workers": 2.3.2
abortcontroller-polyfill: ^1.1.9
base-x: ^3.0.8
browserslist: ^4.6.6
@@ -5295,408 +5321,338 @@ __metadata:
dotenv-expand: ^5.1.0
json-source-map: ^0.6.1
json5: ^2.2.0
- micromatch: ^4.0.2
msgpackr: ^1.5.1
nullthrows: ^1.1.1
semver: ^5.7.1
- checksum: 9960aa28155a633874c1f733f0cc926a54e8c059c634187a5f87e84c8668d3adea2778807f3c218f1a1b3d76d9152cf2d8cfafd78bd0af553535281effb27c50
+ checksum: 4fb59750c4c028dae55718d969f61d26e32d6e4d763b52154f0efdb68e59c0353910a13004da8da86b2c834eee29e671324df6b7bc006981144cd74918a7feb8
languageName: node
linkType: hard
-"@parcel/diagnostic@npm:^2.0.1, @parcel/diagnostic@npm:^2.2.1":
- version: 2.2.1
- resolution: "@parcel/diagnostic@npm:2.2.1"
+"@parcel/diagnostic@npm:2.3.2, @parcel/diagnostic@npm:^2.0.1":
+ version: 2.3.2
+ resolution: "@parcel/diagnostic@npm:2.3.2"
dependencies:
json-source-map: ^0.6.1
nullthrows: ^1.1.1
- checksum: 1afe4205ff21dc36ab32dd0ab2aad7c72d79c8a89e4c1b7719a0398abd278363bc8240af4f253ba45804845d899a3259574179f6844adc386a5db8bfceb2ecac
+ checksum: a02a0c57f82e7c8f6dd02bc389029b3bd7e3cfbfc7a1ae81406ddd794362be81b865e57b87541f6048ca0d6af215aaf64cf951d91b3dabd7c4f80a104e94349f
languageName: node
linkType: hard
-"@parcel/events@npm:^2.0.1, @parcel/events@npm:^2.2.1":
- version: 2.2.1
- resolution: "@parcel/events@npm:2.2.1"
- checksum: 67cde5aed4f415465566d10b932f40830a22eb1fe10f178aff4b2c1a2edc427c957b5fb402537e8cf96c36f741a99e73d44e7e139c85acc98b24f54452c83f6c
+"@parcel/events@npm:2.3.2, @parcel/events@npm:^2.0.1":
+ version: 2.3.2
+ resolution: "@parcel/events@npm:2.3.2"
+ checksum: b97fd584297c842b1dc579083d227f71ed010b97e33e8950a7dcd27d85376a1824dd9e0bdca7c4f7c231b8ff21b891f8a491f5efcde874c43856525691e82670
languageName: node
linkType: hard
-"@parcel/fs-search@npm:^2.2.1":
- version: 2.2.1
- resolution: "@parcel/fs-search@npm:2.2.1"
+"@parcel/fs-search@npm:2.3.2":
+ version: 2.3.2
+ resolution: "@parcel/fs-search@npm:2.3.2"
dependencies:
detect-libc: ^1.0.3
- checksum: 9455af9ef064e2383136f4c2a52005e7743b44291cf50daa4d29d3286cb492491d12d054c8fcf7dc276f9b3402ec3a00c23f3f296e81bb50a73ecbbd3c7a5f4b
+ checksum: 1b24a323aa4658d3b558ccb6728f048ba28a3938c9ced191f7fe5aa744a8feb3758d983384e1c96b193645476e751fb5b62603c7333b627bb026bb66e5edf7a6
languageName: node
linkType: hard
-"@parcel/fs-write-stream-atomic@npm:^2.2.1":
- version: 2.2.1
- resolution: "@parcel/fs-write-stream-atomic@npm:2.2.1"
- dependencies:
- graceful-fs: ^4.1.2
- iferr: ^1.0.2
- imurmurhash: ^0.1.4
- readable-stream: 1 || 2
- checksum: 44351c6f2ef38cde749fe78ba919234b65813a6995b3de864dbba1b864c68c8eddd58185fb9057548f0c47db5f866c2cce40e79ef1f7ec05206cbdd7603bc847
- languageName: node
- linkType: hard
-
-"@parcel/fs@npm:^2.0.1, @parcel/fs@npm:^2.2.1":
- version: 2.2.1
- resolution: "@parcel/fs@npm:2.2.1"
+"@parcel/fs@npm:2.3.2, @parcel/fs@npm:^2.0.1":
+ version: 2.3.2
+ resolution: "@parcel/fs@npm:2.3.2"
dependencies:
- "@parcel/fs-search": ^2.2.1
- "@parcel/fs-write-stream-atomic": ^2.2.1
- "@parcel/types": ^2.2.1
- "@parcel/utils": ^2.2.1
+ "@parcel/fs-search": 2.3.2
+ "@parcel/types": 2.3.2
+ "@parcel/utils": 2.3.2
"@parcel/watcher": ^2.0.0
- "@parcel/workers": ^2.2.1
- graceful-fs: ^4.2.4
- mkdirp: ^0.5.1
- ncp: ^2.0.0
- nullthrows: ^1.1.1
- rimraf: ^3.0.2
- utility-types: ^3.10.0
+ "@parcel/workers": 2.3.2
peerDependencies:
- "@parcel/core": ^2.2.1
- checksum: 98519bbe46564bb9b0fe5f2996eed10522dc6c253fd6b5695255e49a1c2f817bf4c77d3f944db0b2ea5ff65d469ba6b73eccb902940161cf0fd60e27d7e854dc
+ "@parcel/core": ^2.3.2
+ checksum: 210a0342cf034fdc798a3b26494938c16fe4c864a709c16652d4a70b788b4fd7712e56a0f552cc95dd8bdfa809709eff208819120e81ab5b5e0aa7a7d63f66c5
languageName: node
linkType: hard
-"@parcel/graph@npm:^2.2.1":
- version: 2.2.1
- resolution: "@parcel/graph@npm:2.2.1"
+"@parcel/graph@npm:2.3.2":
+ version: 2.3.2
+ resolution: "@parcel/graph@npm:2.3.2"
dependencies:
- "@parcel/utils": ^2.2.1
+ "@parcel/utils": 2.3.2
nullthrows: ^1.1.1
- checksum: 027349f2237cb7f54a1988f8c9227738bb923676bf1bfd2bc957df51d207ac144af6d3db069105007f7512f32cc61e0b276dc2ac0120e9ab0cb8b9cfa1d8bf59
+ checksum: 7f10ffe6cacd1b738142274b224f8bc7502d85d62c2a2904e6d021774985d7959ee774a0d024a7ff296343994c76e994ab75dbcfc27104191e66c656ef8bb719
languageName: node
linkType: hard
-"@parcel/hash@npm:^2.2.1":
- version: 2.2.1
- resolution: "@parcel/hash@npm:2.2.1"
+"@parcel/hash@npm:2.3.2":
+ version: 2.3.2
+ resolution: "@parcel/hash@npm:2.3.2"
dependencies:
detect-libc: ^1.0.3
xxhash-wasm: ^0.4.2
- checksum: e333f9be76b9ebff6bbefdd84e1d87d21de559ae934738f329209f7b3bd3b42be2490c1466f54fc9053ef985e7ca44205d3888c5dda4589553b4b25dbfd28823
+ checksum: f273dbe435276ada14bf278bbbba27edaac685b4edde3305a99d5066ef7ce721f7924b560f1185f3205419bf48f1870b11cfe8e4461a928de5a382ef5743d5d1
languageName: node
linkType: hard
-"@parcel/logger@npm:^2.0.1, @parcel/logger@npm:^2.2.1":
- version: 2.2.1
- resolution: "@parcel/logger@npm:2.2.1"
+"@parcel/logger@npm:2.3.2, @parcel/logger@npm:^2.0.1":
+ version: 2.3.2
+ resolution: "@parcel/logger@npm:2.3.2"
dependencies:
- "@parcel/diagnostic": ^2.2.1
- "@parcel/events": ^2.2.1
- checksum: f173f0f60666f69da7fdb1deef3c6b65acfb1e8629baaad829094f31bf536ae8db3a2fcac1cb5c110d6348421a12fdd0adf3fb49ea7951701856536fec5cf377
+ "@parcel/diagnostic": 2.3.2
+ "@parcel/events": 2.3.2
+ checksum: 4a524196e7d8c43f7594433bd1c67000dd59c933560044c8551a38bb53d292f129fab39772cf12ea65d189c819ebb054741b752c251dab046ef4d18fbcb3bf8b
languageName: node
linkType: hard
-"@parcel/markdown-ansi@npm:^2.2.1":
- version: 2.2.1
- resolution: "@parcel/markdown-ansi@npm:2.2.1"
+"@parcel/markdown-ansi@npm:2.3.2":
+ version: 2.3.2
+ resolution: "@parcel/markdown-ansi@npm:2.3.2"
dependencies:
chalk: ^4.1.0
- checksum: 291b151c72d6b68bc2ad4032b4127f2860a834700276107fa81ccbb6931c3bfeb010b99b3d7ddf14c903b8941c634e8b12ba64550f39801e9ea89008f98b16bd
+ checksum: 02c28d948a530e0d3b2126554699a2523539d04f62978371f936ab324f52dd0bef04ad52a0d12686182531605cb1010dd19187c0a6eed90a0d69a7776fc8d0a1
languageName: node
linkType: hard
-"@parcel/namer-default@npm:^2.2.1":
- version: 2.2.1
- resolution: "@parcel/namer-default@npm:2.2.1"
+"@parcel/namer-default@npm:2.3.2":
+ version: 2.3.2
+ resolution: "@parcel/namer-default@npm:2.3.2"
dependencies:
- "@parcel/diagnostic": ^2.2.1
- "@parcel/plugin": ^2.2.1
+ "@parcel/diagnostic": 2.3.2
+ "@parcel/plugin": 2.3.2
nullthrows: ^1.1.1
- checksum: f7d2f8d2f49253876de9a939756d9953af2cb840aeef92cfb74699fd7ac6df740a4086db8904401cb6ba80ae4b58a59d5bbaf169f381a4d58983d7a94af5a81d
- languageName: node
- linkType: hard
-
-"@parcel/node-libs-browser@npm:^2.2.1":
- version: 2.2.1
- resolution: "@parcel/node-libs-browser@npm:2.2.1"
- dependencies:
- assert: ^2.0.0
- browserify-zlib: ^0.2.0
- buffer: ^5.5.0
- console-browserify: ^1.2.0
- constants-browserify: ^1.0.0
- crypto-browserify: ^3.12.0
- domain-browser: ^3.5.0
- events: ^3.1.0
- https-browserify: ^1.0.0
- os-browserify: ^0.3.0
- path-browserify: ^1.0.0
- process: ^0.11.10
- punycode: ^1.4.1
- querystring-es3: ^0.2.1
- stream-browserify: ^3.0.0
- stream-http: ^3.1.0
- string_decoder: ^1.3.0
- timers-browserify: ^2.0.11
- tty-browserify: ^0.0.1
- url: ^0.11.0
- util: ^0.12.3
- vm-browserify: ^1.1.2
- checksum: 015bcbb58dd6661de22e27402c12981f8ccfc862a76032e8e22b337d29fad3b881dea7ecc904fab3d6c953164e635bf452db719545189fb5ab04b33eaa128e52
+ checksum: 7884f688cbf6fea02cc1a9155229e4618f8d550a0bb4c8c374e0681344698593c902d8ff6b5ce502df88070e4aa4fd26a5a704efec620ec2effdefa9d180f676
languageName: node
linkType: hard
-"@parcel/node-resolver-core@npm:^2.2.1":
- version: 2.2.1
- resolution: "@parcel/node-resolver-core@npm:2.2.1"
+"@parcel/node-resolver-core@npm:2.3.2":
+ version: 2.3.2
+ resolution: "@parcel/node-resolver-core@npm:2.3.2"
dependencies:
- "@parcel/diagnostic": ^2.2.1
- "@parcel/node-libs-browser": ^2.2.1
- "@parcel/utils": ^2.2.1
- micromatch: ^4.0.4
+ "@parcel/diagnostic": 2.3.2
+ "@parcel/utils": 2.3.2
nullthrows: ^1.1.1
- checksum: 469acd9d0427d4b96dd474f65d9ffd88c120bcd426d2d3fb7f71d7e7d6851621849e04430767fb2e8bdcda8c08f634df330a5dc6a201c1487f6e70224be2b386
+ checksum: ce3274dcede275d18bdd6d06ac704d689779de1c97fbed1756665921edc1371edb1be4d250f8466b8453ea1afac14ecc9c5d7478dce0ed47504b650d2d6f011a
languageName: node
linkType: hard
-"@parcel/optimizer-cssnano@npm:^2.2.1":
- version: 2.2.1
- resolution: "@parcel/optimizer-cssnano@npm:2.2.1"
+"@parcel/optimizer-cssnano@npm:2.3.2":
+ version: 2.3.2
+ resolution: "@parcel/optimizer-cssnano@npm:2.3.2"
dependencies:
- "@parcel/plugin": ^2.2.1
+ "@parcel/plugin": 2.3.2
"@parcel/source-map": ^2.0.0
cssnano: ^5.0.15
postcss: ^8.4.5
- checksum: 2e786140a3109f702e82e0fade93272399d5e0e8cc62b2be331bbd965dd5b32e668ccd5e2620a2b3fca3d5e4a5f6077e55db975db6e68d4259318b3f918539c9
+ checksum: a9b8aaeb53816d62a38244d0cc89ea17083dabb6b0cce213be9dfdd62425b0e7d0c63643a301690712b71cc004250e0df13af6da9a5f8510c274651e16cd920f
languageName: node
linkType: hard
-"@parcel/optimizer-htmlnano@npm:^2.2.1":
- version: 2.2.1
- resolution: "@parcel/optimizer-htmlnano@npm:2.2.1"
+"@parcel/optimizer-htmlnano@npm:2.3.2":
+ version: 2.3.2
+ resolution: "@parcel/optimizer-htmlnano@npm:2.3.2"
dependencies:
- "@parcel/plugin": ^2.2.1
+ "@parcel/plugin": 2.3.2
htmlnano: ^2.0.0
nullthrows: ^1.1.1
posthtml: ^0.16.5
svgo: ^2.4.0
- checksum: f471450e40199606270a1f7b1e8e096a02b64aa12ec699ddf6fafc842c3ea4022f2fa9b76f6ff443d51e97feea7442b38d7c7daa816474b5e8e6f771f6ebb3cb
+ checksum: a4afc15425f36e5f35fa90728492273b3c252a9f280a4495b77c2d652a2330c77c047e722ef7a140ed9f216fd2f9e1c00dd4879a0f5a8452fae9dcd6801375c4
languageName: node
linkType: hard
-"@parcel/optimizer-image@npm:^2.2.1":
- version: 2.2.1
- resolution: "@parcel/optimizer-image@npm:2.2.1"
+"@parcel/optimizer-image@npm:2.3.2":
+ version: 2.3.2
+ resolution: "@parcel/optimizer-image@npm:2.3.2"
dependencies:
- "@parcel/diagnostic": ^2.2.1
- "@parcel/plugin": ^2.2.1
- "@parcel/utils": ^2.2.1
- "@parcel/workers": ^2.2.1
+ "@parcel/diagnostic": 2.3.2
+ "@parcel/plugin": 2.3.2
+ "@parcel/utils": 2.3.2
+ "@parcel/workers": 2.3.2
detect-libc: ^1.0.3
- checksum: 5479dd08cd6b59de9bba2a661df54cbf8a261dda53585a434851b468af0100bb9396391d631a618bee273ecab0607f8e507a77bfc08de1fe092911f57f80b5e4
+ checksum: b2ccccd493dd922f17192eb8d1496753a898c089eefa21d86b0bf2f7cb0cdc5ca37c2a26cc03bc64e971bf8fd0dc623178206c625c2ae6852fdf79f4421ba838
languageName: node
linkType: hard
-"@parcel/optimizer-svgo@npm:^2.2.1":
- version: 2.2.1
- resolution: "@parcel/optimizer-svgo@npm:2.2.1"
+"@parcel/optimizer-svgo@npm:2.3.2":
+ version: 2.3.2
+ resolution: "@parcel/optimizer-svgo@npm:2.3.2"
dependencies:
- "@parcel/diagnostic": ^2.2.1
- "@parcel/plugin": ^2.2.1
- "@parcel/utils": ^2.2.1
+ "@parcel/diagnostic": 2.3.2
+ "@parcel/plugin": 2.3.2
+ "@parcel/utils": 2.3.2
svgo: ^2.4.0
- checksum: df528cf35ddf084fbc07e9b25e7a13964e805e58e0e6bc405b5766633c6fcc7faacbcbf9e48c97e2228e32f8f8391aa45cf9154a20a4e879db5972a5191be3a2
+ checksum: f7c0eb2c1d4547323cd11281d1d53e5beaa5a5c57da2d1b128e9ceffb116a178e97fcecf3c77f25740190b734be6cec965a0bf9b47ea070838290caa47664869
languageName: node
linkType: hard
-"@parcel/optimizer-terser@npm:^2.2.1":
- version: 2.2.1
- resolution: "@parcel/optimizer-terser@npm:2.2.1"
+"@parcel/optimizer-terser@npm:2.3.2":
+ version: 2.3.2
+ resolution: "@parcel/optimizer-terser@npm:2.3.2"
dependencies:
- "@parcel/diagnostic": ^2.2.1
- "@parcel/plugin": ^2.2.1
+ "@parcel/diagnostic": 2.3.2
+ "@parcel/plugin": 2.3.2
"@parcel/source-map": ^2.0.0
- "@parcel/utils": ^2.2.1
+ "@parcel/utils": 2.3.2
nullthrows: ^1.1.1
terser: ^5.2.0
- checksum: 4ab0673ac2fe9aa6402a6040c07f29670c067b891727f3042062dae827f093edc664a239ce282d129ed79c2c6fa8bc6902e73c99737e40fc65e05462f5c6e5da
+ checksum: 9670cba19fc5c5e7e2320bbb052fbdb2c59b9e44f9f026c5bea4d06c4ac94334f1e1b0a17a05b0f52fc89b3b735dc5a1220b5da01678380d14f06401edcae674
languageName: node
linkType: hard
-"@parcel/package-manager@npm:^2.0.1, @parcel/package-manager@npm:^2.2.1":
- version: 2.2.1
- resolution: "@parcel/package-manager@npm:2.2.1"
- dependencies:
- "@parcel/diagnostic": ^2.2.1
- "@parcel/fs": ^2.2.1
- "@parcel/logger": ^2.2.1
- "@parcel/types": ^2.2.1
- "@parcel/utils": ^2.2.1
- "@parcel/workers": ^2.2.1
- command-exists: ^1.2.6
- cross-spawn: ^6.0.4
- nullthrows: ^1.1.1
+"@parcel/package-manager@npm:2.3.2, @parcel/package-manager@npm:^2.0.1":
+ version: 2.3.2
+ resolution: "@parcel/package-manager@npm:2.3.2"
+ dependencies:
+ "@parcel/diagnostic": 2.3.2
+ "@parcel/fs": 2.3.2
+ "@parcel/logger": 2.3.2
+ "@parcel/types": 2.3.2
+ "@parcel/utils": 2.3.2
+ "@parcel/workers": 2.3.2
semver: ^5.7.1
- split2: ^3.1.1
peerDependencies:
- "@parcel/core": ^2.2.1
- checksum: daffb03b7e96148b6fb5497eff7d7cff4ce4691562bef08f5e03494a2cd7f29b993c7257b346425147879e1bcb6064c7296ab030b97af5d6ade61b87a933a91f
+ "@parcel/core": ^2.3.2
+ checksum: e84c6934923fb0d4992548443562f1f676e3eacfbd9e59825a7026b5ef0f8d33bbeee07448e5d6579bdbe0a37556cb46090401247ab27b286d102cfa40236f1e
languageName: node
linkType: hard
-"@parcel/packager-css@npm:^2.2.1":
- version: 2.2.1
- resolution: "@parcel/packager-css@npm:2.2.1"
+"@parcel/packager-css@npm:2.3.2":
+ version: 2.3.2
+ resolution: "@parcel/packager-css@npm:2.3.2"
dependencies:
- "@parcel/plugin": ^2.2.1
+ "@parcel/plugin": 2.3.2
"@parcel/source-map": ^2.0.0
- "@parcel/utils": ^2.2.1
+ "@parcel/utils": 2.3.2
nullthrows: ^1.1.1
- postcss: ^8.4.5
- checksum: 04a919ef7088837ba9a49be678f29d372aef8a8e5d6eb8eaa206281425225250a005219b47426e1c91d7d01b64abfa89ed335951e2ea6166d694513fbaccbdad
+ checksum: 76335adbf8a87ed39b86b32e84910e78896b5967da05596be6c45e22e0336007db4c9e4a74d905f29d6306feacefa6a901954a66b035d8a6b24f755b33a0741e
languageName: node
linkType: hard
-"@parcel/packager-html@npm:^2.2.1":
- version: 2.2.1
- resolution: "@parcel/packager-html@npm:2.2.1"
+"@parcel/packager-html@npm:2.3.2":
+ version: 2.3.2
+ resolution: "@parcel/packager-html@npm:2.3.2"
dependencies:
- "@parcel/plugin": ^2.2.1
- "@parcel/types": ^2.2.1
- "@parcel/utils": ^2.2.1
+ "@parcel/plugin": 2.3.2
+ "@parcel/types": 2.3.2
+ "@parcel/utils": 2.3.2
nullthrows: ^1.1.1
posthtml: ^0.16.5
- checksum: 845f1b8a33dafe6151656665ef73b18382bd52c077f712edb632c7898b211bdc618ea92bafd5a97bc587a860b0ca9ca917e9acb70bf19e3760007a0752fe5930
+ checksum: 0db120d8dedc8fd03ee70cb9809392fd460e2a323b83bec58ca80b63a4fc73e33575b296f27468402c00ad632bdf2412ee1dc5a81b055c2f066ebfb26b55958c
languageName: node
linkType: hard
-"@parcel/packager-js@npm:^2.2.1":
- version: 2.2.1
- resolution: "@parcel/packager-js@npm:2.2.1"
+"@parcel/packager-js@npm:2.3.2":
+ version: 2.3.2
+ resolution: "@parcel/packager-js@npm:2.3.2"
dependencies:
- "@parcel/diagnostic": ^2.2.1
- "@parcel/hash": ^2.2.1
- "@parcel/plugin": ^2.2.1
+ "@parcel/diagnostic": 2.3.2
+ "@parcel/hash": 2.3.2
+ "@parcel/plugin": 2.3.2
"@parcel/source-map": ^2.0.0
- "@parcel/utils": ^2.2.1
+ "@parcel/utils": 2.3.2
globals: ^13.2.0
nullthrows: ^1.1.1
- checksum: 4fc3367ed90b105dc1ad6ce59f5848e09d57ca8b47a7820c992b2d4050c3820a1932fea18936bcbce9af84ad74004e58ec8554e739c0340855b24b27df4c725c
+ checksum: e7bb7370a78eac69056839c559f658807df14721d7b3c13a6dd46c652700b93143b43f220e52505558ac7b8b58b93ad66cb5df599abd19b48c1950526134c61a
languageName: node
linkType: hard
-"@parcel/packager-raw@npm:^2.2.1":
- version: 2.2.1
- resolution: "@parcel/packager-raw@npm:2.2.1"
+"@parcel/packager-raw@npm:2.3.2":
+ version: 2.3.2
+ resolution: "@parcel/packager-raw@npm:2.3.2"
dependencies:
- "@parcel/plugin": ^2.2.1
- checksum: 7fa78c8ed0e69851b96d2602fec3b557d2c715f9c06b3e0cdfafb6330e0a09f7ee1e7dfd4c54e33dd1054a643156a2564d4a04106fb7690825b45b1cbd281d4c
+ "@parcel/plugin": 2.3.2
+ checksum: d76c542f0eee9c14bb98bb705f681aedb9949e79cccdc030cdc80570fa81f80d5343645c974ce2996c50f1b0622c782eaa9a77f21e0e09688a2d082d02ae82aa
languageName: node
linkType: hard
-"@parcel/packager-svg@npm:^2.2.1":
- version: 2.2.1
- resolution: "@parcel/packager-svg@npm:2.2.1"
+"@parcel/packager-svg@npm:2.3.2":
+ version: 2.3.2
+ resolution: "@parcel/packager-svg@npm:2.3.2"
dependencies:
- "@parcel/plugin": ^2.2.1
- "@parcel/types": ^2.2.1
- "@parcel/utils": ^2.2.1
+ "@parcel/plugin": 2.3.2
+ "@parcel/types": 2.3.2
+ "@parcel/utils": 2.3.2
posthtml: ^0.16.4
- checksum: 28561f67077d1f17a127d4d3afa2cba0a0ec164ee5806064fa4c4c21f233912afb9970abfad12cd272fceb1ee83f7bc61093248e6770b5cc262c1f495381dbee
+ checksum: 961d0f98ec7edfe970aff37a34f7519d86800eee9b6184d2ac784919b281973ae738a0b18c2b2dcc788f25cc20d3c58185be3f0071ee9baad0cb1cccc9ef8ef4
languageName: node
linkType: hard
-"@parcel/plugin@npm:^2.2.1":
- version: 2.2.1
- resolution: "@parcel/plugin@npm:2.2.1"
+"@parcel/plugin@npm:2.3.2":
+ version: 2.3.2
+ resolution: "@parcel/plugin@npm:2.3.2"
dependencies:
- "@parcel/types": ^2.2.1
- checksum: a70936a1e070ea4d18b352b055853c6dc1c50a76797b0f9b003f8edbea4b466e57035dcddf75afaee3aa17f8196176145beae92e9a011ebf995d7cd5673acfa8
+ "@parcel/types": 2.3.2
+ checksum: dedbd59e6d16b3e527b1ef1cf9d4a50d7f7b599df8bef582064fedf38c948651b34f095fbe73c7b96905768ea127e1d3c6ab945f0e5f55729d01d1655006f5a5
languageName: node
linkType: hard
"@parcel/reporter-cli@npm:^2.0.1":
- version: 2.2.1
- resolution: "@parcel/reporter-cli@npm:2.2.1"
+ version: 2.3.2
+ resolution: "@parcel/reporter-cli@npm:2.3.2"
dependencies:
- "@parcel/plugin": ^2.2.1
- "@parcel/types": ^2.2.1
- "@parcel/utils": ^2.2.1
+ "@parcel/plugin": 2.3.2
+ "@parcel/types": 2.3.2
+ "@parcel/utils": 2.3.2
chalk: ^4.1.0
- filesize: ^6.1.0
- nullthrows: ^1.1.1
- ora: ^5.2.0
- string-width: ^4.2.0
- strip-ansi: ^6.0.0
- term-size: ^2.2.1
- wrap-ansi: ^7.0.0
- checksum: b7d862524011cff1a937dd3ca16553559d706718ca9010167cf882194b31fe21c0723b8e2c37763ddca9724f14a93520d2cad91116fddfbb3bd4229c3bfc08f5
+ checksum: e7967419d1810323a81079e56dd7030f8d9d0c28585f4b3063e5f2dce1e45156cf50779aeff03714d879b2dff9f9b7329910964799f6287bc19662e93b8e00e6
languageName: node
linkType: hard
-"@parcel/reporter-dev-server@npm:^2.0.1, @parcel/reporter-dev-server@npm:^2.2.1":
- version: 2.2.1
- resolution: "@parcel/reporter-dev-server@npm:2.2.1"
+"@parcel/reporter-dev-server@npm:2.3.2, @parcel/reporter-dev-server@npm:^2.0.1":
+ version: 2.3.2
+ resolution: "@parcel/reporter-dev-server@npm:2.3.2"
dependencies:
- "@parcel/plugin": ^2.2.1
- "@parcel/utils": ^2.2.1
- connect: ^3.7.0
- ejs: ^3.1.6
- http-proxy-middleware: ^2.0.1
- nullthrows: ^1.1.1
- serve-handler: ^6.0.0
- ws: ^7.0.0
- checksum: 939394a22ced5198c676045f491ff78b0ceaff46ec4dffc0a4b5be6b62efb618b305497b3ecbd4eb15df00b0ac9b07a5acc13801c0380cdbe12aa698b7b36876
+ "@parcel/plugin": 2.3.2
+ "@parcel/utils": 2.3.2
+ checksum: cc565615ba6ef36223a74354d21fdeaa0a02317a38f9f9a821541af6f6a108372f6d5d884bf3bd1e6a0a2afea9a11cbbdd45d87900fa9174896fd72133e1763a
languageName: node
linkType: hard
-"@parcel/resolver-default@npm:^2.2.1":
- version: 2.2.1
- resolution: "@parcel/resolver-default@npm:2.2.1"
+"@parcel/resolver-default@npm:2.3.2":
+ version: 2.3.2
+ resolution: "@parcel/resolver-default@npm:2.3.2"
dependencies:
- "@parcel/node-resolver-core": ^2.2.1
- "@parcel/plugin": ^2.2.1
- checksum: f31c550650245cb49eeda2eb74568935cb655e87c029412f3fa5501396873ef08af2910713d82eb74ae66277cb99f5f1f445525756cde6f8aefb5c23a8a3a0a1
+ "@parcel/node-resolver-core": 2.3.2
+ "@parcel/plugin": 2.3.2
+ checksum: ec210e6c01790d39269f91c64a98a18fb84e1790b73e08b0822f822e50d5d56bbd015dfaae01039a7147d667ca8d3491f5db3943e0cdd9d2fb3117288c5ed123
languageName: node
linkType: hard
-"@parcel/runtime-browser-hmr@npm:^2.2.1":
- version: 2.2.1
- resolution: "@parcel/runtime-browser-hmr@npm:2.2.1"
+"@parcel/runtime-browser-hmr@npm:2.3.2":
+ version: 2.3.2
+ resolution: "@parcel/runtime-browser-hmr@npm:2.3.2"
dependencies:
- "@parcel/plugin": ^2.2.1
- "@parcel/utils": ^2.2.1
- checksum: ca56c5030b7fbed0ba2e94a04ece6b3d8b77caae57356ce391f8792d4e3ab462e79d3bd827e557721fd4fb0cf554d9aeea9215e1cee3e7d897e8c056a98ec553
+ "@parcel/plugin": 2.3.2
+ "@parcel/utils": 2.3.2
+ checksum: 2ae244d568ed6331ccf11b3673aaa2a151b0ff662da4a073f490c08812f2f64cd33af4ebeb2072b36a52cd6ad6fb90577167c486b4d83875e2c0a4063c74c47f
languageName: node
linkType: hard
-"@parcel/runtime-js@npm:^2.2.1":
- version: 2.2.1
- resolution: "@parcel/runtime-js@npm:2.2.1"
+"@parcel/runtime-js@npm:2.3.2":
+ version: 2.3.2
+ resolution: "@parcel/runtime-js@npm:2.3.2"
dependencies:
- "@parcel/plugin": ^2.2.1
- "@parcel/utils": ^2.2.1
+ "@parcel/plugin": 2.3.2
+ "@parcel/utils": 2.3.2
nullthrows: ^1.1.1
- checksum: 5b63b3c071e53d4de52aa68c5b9338ad50200399307dcc66ef3d28d2784f8ab0e39aea8248d25f95dcd2e7999742fc908e513a76844e45b0d1eb984f23209218
+ checksum: 9e7b69f6c879f5af3e86276ad594ac44b64240b61f27ac911cf60cf677df3f2f633025b0bdb9551d2c48fa7e084a0edda47a2e277202ffca6099bb4ccb70a1df
languageName: node
linkType: hard
-"@parcel/runtime-react-refresh@npm:^2.2.1":
- version: 2.2.1
- resolution: "@parcel/runtime-react-refresh@npm:2.2.1"
+"@parcel/runtime-react-refresh@npm:2.3.2":
+ version: 2.3.2
+ resolution: "@parcel/runtime-react-refresh@npm:2.3.2"
dependencies:
- "@parcel/plugin": ^2.2.1
- "@parcel/utils": ^2.2.1
+ "@parcel/plugin": 2.3.2
+ "@parcel/utils": 2.3.2
react-refresh: ^0.9.0
- checksum: 4000534f5dd5c23d9818a21df7bb11fa76d683586a5a69fd7b43e7ff002fcf9038c583568bdf68c2d10d027afe9b92601143e2e058f84c160734eba17de52062
+ checksum: 8377130085c95b4e49e6ab4b34d222a1bbae282f196369d743d79238e783d155a0d5df630a2eeffb05771c2d31670742c69634aa376068c53b57cc7dfcf74c3a
languageName: node
linkType: hard
-"@parcel/runtime-service-worker@npm:^2.2.1":
- version: 2.2.1
- resolution: "@parcel/runtime-service-worker@npm:2.2.1"
+"@parcel/runtime-service-worker@npm:2.3.2":
+ version: 2.3.2
+ resolution: "@parcel/runtime-service-worker@npm:2.3.2"
dependencies:
- "@parcel/plugin": ^2.2.1
- "@parcel/utils": ^2.2.1
+ "@parcel/plugin": 2.3.2
+ "@parcel/utils": 2.3.2
nullthrows: ^1.1.1
- checksum: 06dac7ddb41104989f5c3e1b722a6c8b6d5937adc2f9ca338884daec95e125cd3cbc5c49d9b96e120ec8a03ec2815bfbd28c22e0156fd661c147a3cf13649c9d
+ checksum: 5137a470763f0b73f13f6304d062097fb5de6c84ec979b3e73faaf1d0eb497ad49a1ef9b858d8ec4ebaaee5755e6520ebf62c7896e0c2173eb4b033ff465bc52
languageName: node
linkType: hard
@@ -5709,211 +5665,187 @@ __metadata:
languageName: node
linkType: hard
-"@parcel/transformer-babel@npm:^2.2.1":
- version: 2.2.1
- resolution: "@parcel/transformer-babel@npm:2.2.1"
+"@parcel/transformer-babel@npm:2.3.2":
+ version: 2.3.2
+ resolution: "@parcel/transformer-babel@npm:2.3.2"
dependencies:
- "@babel/core": ^7.12.0
- "@babel/generator": ^7.9.0
- "@babel/helper-compilation-targets": ^7.8.4
- "@babel/plugin-transform-flow-strip-types": ^7.0.0
- "@babel/traverse": ^7.0.0
- "@parcel/babel-ast-utils": ^2.2.1
- "@parcel/diagnostic": ^2.2.1
- "@parcel/plugin": ^2.2.1
+ "@parcel/diagnostic": 2.3.2
+ "@parcel/plugin": 2.3.2
"@parcel/source-map": ^2.0.0
- "@parcel/utils": ^2.2.1
+ "@parcel/utils": 2.3.2
browserslist: ^4.6.6
- core-js: ^3.2.1
json5: ^2.2.0
nullthrows: ^1.1.1
semver: ^5.7.0
- checksum: 483cf50bff999c12456856cfbf0f589653c4cd753201b54a0de69696cee188bdad817242a3ef781cf97e13c3785f04f7e9ee579b0b9b4e34bd54a7693af920e8
+ checksum: c5e3c182d4dcbc7e13e4899153ff1a1d1c343105f0cce85ba4ada19a9d26ce8aa0dc45a2843afd09f7dbac07a2347ddd821c570feff9378c610b1194ed3150b0
languageName: node
linkType: hard
-"@parcel/transformer-css@npm:^2.2.1":
- version: 2.2.1
- resolution: "@parcel/transformer-css@npm:2.2.1"
+"@parcel/transformer-css@npm:2.3.2":
+ version: 2.3.2
+ resolution: "@parcel/transformer-css@npm:2.3.2"
dependencies:
- "@parcel/hash": ^2.2.1
- "@parcel/plugin": ^2.2.1
+ "@parcel/hash": 2.3.2
+ "@parcel/plugin": 2.3.2
"@parcel/source-map": ^2.0.0
- "@parcel/utils": ^2.2.1
+ "@parcel/utils": 2.3.2
nullthrows: ^1.1.1
postcss: ^8.4.5
- postcss-modules: ^4.3.0
postcss-value-parser: ^4.2.0
semver: ^5.7.1
- checksum: 7c1b042ee81f06aed3579daf300070a43c4d63501ddff223e0b73dea2adcf1c8a00a581f9b8d91519f0b1e297e64e013ebc777c4bb621da56891d3e5983e85b8
+ checksum: 38fe27ef6d5ee3fc841cda97c5a56c81fc4c6d5ac1e15392bf3e9c3ec2933879bfee812b6065f4e62cef31ae4e53946ef2898ae26b1f30cfbe0ef72da111f64b
languageName: node
linkType: hard
-"@parcel/transformer-html@npm:^2.2.1":
- version: 2.2.1
- resolution: "@parcel/transformer-html@npm:2.2.1"
+"@parcel/transformer-html@npm:2.3.2":
+ version: 2.3.2
+ resolution: "@parcel/transformer-html@npm:2.3.2"
dependencies:
- "@parcel/diagnostic": ^2.2.1
- "@parcel/hash": ^2.2.1
- "@parcel/plugin": ^2.2.1
+ "@parcel/diagnostic": 2.3.2
+ "@parcel/hash": 2.3.2
+ "@parcel/plugin": 2.3.2
nullthrows: ^1.1.1
posthtml: ^0.16.5
posthtml-parser: ^0.10.1
posthtml-render: ^3.0.0
semver: ^5.7.1
- checksum: 4f3268848b40caf096e5a1046f59ea39a89dd8ca013e024c73e9104620d4935b1241a9c99e1e1005469340749c8134da45ebc234309279ab21382e507dd2a70f
+ checksum: e7e7678ee9d24888ca6eb6a643c15048c0aa6f7f7b7b5b93a3d5b47ee2442739e4c46ccc2a4974ce374f46e1625c599b8d1f258d19993a5006122654f2ad96b8
languageName: node
linkType: hard
-"@parcel/transformer-image@npm:^2.2.1":
- version: 2.2.1
- resolution: "@parcel/transformer-image@npm:2.2.1"
+"@parcel/transformer-image@npm:2.3.2":
+ version: 2.3.2
+ resolution: "@parcel/transformer-image@npm:2.3.2"
dependencies:
- "@parcel/plugin": ^2.2.1
- "@parcel/workers": ^2.2.1
+ "@parcel/plugin": 2.3.2
+ "@parcel/workers": 2.3.2
nullthrows: ^1.1.1
- checksum: 9035e0da9e1ee708d0a81121b1d50e21c8ddcfdbd10020e155ee2806cc15a864c16274dde832d30beab8f0a3d1d9a6d4ebd9f2f17cd0ad75a60375271ed30b5a
+ checksum: d865f37f911dd3a9f2138666bd4320c038a1fea939bbf7dee68332ab7f0bec69dc8c26c2caa25598fc894b15e031dad0fed330a71063f4407be2f323d25620f9
languageName: node
linkType: hard
-"@parcel/transformer-js@npm:^2.2.1":
- version: 2.2.1
- resolution: "@parcel/transformer-js@npm:2.2.1"
+"@parcel/transformer-js@npm:2.3.2":
+ version: 2.3.2
+ resolution: "@parcel/transformer-js@npm:2.3.2"
dependencies:
- "@parcel/diagnostic": ^2.2.1
- "@parcel/plugin": ^2.2.1
+ "@parcel/diagnostic": 2.3.2
+ "@parcel/plugin": 2.3.2
"@parcel/source-map": ^2.0.0
- "@parcel/utils": ^2.2.1
- "@parcel/workers": ^2.2.1
+ "@parcel/utils": 2.3.2
+ "@parcel/workers": 2.3.2
"@swc/helpers": ^0.2.11
browserslist: ^4.6.6
detect-libc: ^1.0.3
- micromatch: ^4.0.2
nullthrows: ^1.1.1
regenerator-runtime: ^0.13.7
semver: ^5.7.1
- checksum: c94a31bc9b333d74e421420a9b9a14d8078645be6c7ec861dbed5b5d6801f8ed1309321ea3b2ff12d230cf9c036907e58d3485d1a9abb38ae0d63b53b026a3c4
+ checksum: 3c6a788967fd7f1941ca22d81308d8e13cacf19b2a95cdc83eed8e4a59a4c6cb3c3aade6cf3358ef2d4a79bbafea6019335e4d9bb2f59b74e68706681c881b0b
languageName: node
linkType: hard
-"@parcel/transformer-json@npm:^2.2.1":
- version: 2.2.1
- resolution: "@parcel/transformer-json@npm:2.2.1"
+"@parcel/transformer-json@npm:2.3.2":
+ version: 2.3.2
+ resolution: "@parcel/transformer-json@npm:2.3.2"
dependencies:
- "@parcel/plugin": ^2.2.1
+ "@parcel/plugin": 2.3.2
json5: ^2.2.0
- checksum: 47f1c4505efe176252cb4c99653310e4f63312b6b9d3c0e1afe30c6b617b3022f6e060f40500e6e40754acfd8d406435f9744eafaca4dace758de2beb3618951
+ checksum: d8149ef7778da09fedcab61c1c7d4757f66a35fbbc9249c46a63288475e7199e7a547865744ea444b0e5f9f2493fc9185d549072dc9f0eb576ea22999f1727fa
languageName: node
linkType: hard
-"@parcel/transformer-postcss@npm:^2.2.1":
- version: 2.2.1
- resolution: "@parcel/transformer-postcss@npm:2.2.1"
+"@parcel/transformer-postcss@npm:2.3.2":
+ version: 2.3.2
+ resolution: "@parcel/transformer-postcss@npm:2.3.2"
dependencies:
- "@parcel/hash": ^2.2.1
- "@parcel/plugin": ^2.2.1
- "@parcel/utils": ^2.2.1
+ "@parcel/hash": 2.3.2
+ "@parcel/plugin": 2.3.2
+ "@parcel/utils": 2.3.2
clone: ^2.1.1
nullthrows: ^1.1.1
- postcss-modules: ^4.3.0
postcss-value-parser: ^4.2.0
semver: ^5.7.1
- checksum: cd756c6fc889b3e70c0fd3565086ef5ee782453315d7e998b3d039334961efd18e14805f1ce13b390c6b3be944b25fb319f647333d7952de541afe1e5f442c1d
+ checksum: 7e6dce47dad14d8f2f50f5edbad45230e9b6bc42bbe7cd6e70e67bc9611f0590afb8688bb473373192e44b912c856caa694765b33cbb24ea76ebeb0a54301621
languageName: node
linkType: hard
-"@parcel/transformer-posthtml@npm:^2.2.1":
- version: 2.2.1
- resolution: "@parcel/transformer-posthtml@npm:2.2.1"
+"@parcel/transformer-posthtml@npm:2.3.2":
+ version: 2.3.2
+ resolution: "@parcel/transformer-posthtml@npm:2.3.2"
dependencies:
- "@parcel/plugin": ^2.2.1
- "@parcel/utils": ^2.2.1
+ "@parcel/plugin": 2.3.2
+ "@parcel/utils": 2.3.2
nullthrows: ^1.1.1
posthtml: ^0.16.5
posthtml-parser: ^0.10.1
posthtml-render: ^3.0.0
semver: ^5.7.1
- checksum: 53021ea0984e98397d7210b3a21b0ce82b31dc0401e96d76037931c102a63828923cd531285ae1761d318c40942927afd77556cd6fd7a888b705674be2d8eddc
+ checksum: 2420c64a9558d65bdd9e89630a2ec246c5d481236bb675f73d8e006ff3fdecb72e669f8dba0e867c838e749afd9764fb3052801e7cf9f603f7db332f07cc43b7
languageName: node
linkType: hard
-"@parcel/transformer-raw@npm:^2.2.1":
- version: 2.2.1
- resolution: "@parcel/transformer-raw@npm:2.2.1"
+"@parcel/transformer-raw@npm:2.3.2":
+ version: 2.3.2
+ resolution: "@parcel/transformer-raw@npm:2.3.2"
dependencies:
- "@parcel/plugin": ^2.2.1
- checksum: ebb32d4ee4049b7b3be5c1359d2cb8adf719113b9886b828ba9bbef579c0e0b1c64551778fc29296befe28896cddb7ebadf73556d2dee65d00c302e478aab1f3
+ "@parcel/plugin": 2.3.2
+ checksum: 5edefd83629583e5966f64f1c943cc0b235708759050ad10f26b9b889c87f46e004ccdceb62ffb1b6be451c44efaf93b8d5aff99f9dd5542496f37b0108b532a
languageName: node
linkType: hard
-"@parcel/transformer-react-refresh-wrap@npm:^2.2.1":
- version: 2.2.1
- resolution: "@parcel/transformer-react-refresh-wrap@npm:2.2.1"
+"@parcel/transformer-react-refresh-wrap@npm:2.3.2":
+ version: 2.3.2
+ resolution: "@parcel/transformer-react-refresh-wrap@npm:2.3.2"
dependencies:
- "@parcel/plugin": ^2.2.1
- "@parcel/utils": ^2.2.1
+ "@parcel/plugin": 2.3.2
+ "@parcel/utils": 2.3.2
react-refresh: ^0.9.0
- checksum: 8e3b8d2d2501b24d3553f4fd4e0ffa799c3e29222134196ad211f9138654af4f0deba9ef4140c4d76503af6a00c148667d567a35eef686f9096dcee9fe87db6f
+ checksum: 3a05f38c1835258bdf72279b8256ac6f22f0c608f7d9794818ab778ea12a30f1eec71585a00c65d4d7c7d4a46ee2d9ebf10db3cf1f8dffea3d0fd3efaf0ac832
languageName: node
linkType: hard
-"@parcel/transformer-svg@npm:^2.2.1":
- version: 2.2.1
- resolution: "@parcel/transformer-svg@npm:2.2.1"
+"@parcel/transformer-svg@npm:2.3.2":
+ version: 2.3.2
+ resolution: "@parcel/transformer-svg@npm:2.3.2"
dependencies:
- "@parcel/diagnostic": ^2.2.1
- "@parcel/hash": ^2.2.1
- "@parcel/plugin": ^2.2.1
+ "@parcel/diagnostic": 2.3.2
+ "@parcel/hash": 2.3.2
+ "@parcel/plugin": 2.3.2
nullthrows: ^1.1.1
posthtml: ^0.16.5
posthtml-parser: ^0.10.1
posthtml-render: ^3.0.0
semver: ^5.7.1
- checksum: 4fba49eb21de41e49969e2591873d250568a0dca34acfdd5bb76195d2b14b118a997910eea38a021c2d4169ab86f51ca2ab057e262b6f7df49627b3297b8181b
+ checksum: 3d176da704cd1ca6a566a527c0c58e76f5c82b3dcc8a55bbb5ad3502698bb7826de17b9e8544f5e1fff3e2a5dca4456184937351e8703209cecefb89f7e3a7dd
languageName: node
linkType: hard
-"@parcel/types@npm:^2.2.1":
- version: 2.2.1
- resolution: "@parcel/types@npm:2.2.1"
+"@parcel/types@npm:2.3.2":
+ version: 2.3.2
+ resolution: "@parcel/types@npm:2.3.2"
dependencies:
- "@parcel/cache": ^2.2.1
- "@parcel/diagnostic": ^2.2.1
- "@parcel/fs": ^2.2.1
- "@parcel/package-manager": ^2.2.1
+ "@parcel/cache": 2.3.2
+ "@parcel/diagnostic": 2.3.2
+ "@parcel/fs": 2.3.2
+ "@parcel/package-manager": 2.3.2
"@parcel/source-map": ^2.0.0
- "@parcel/workers": ^2.2.1
+ "@parcel/workers": 2.3.2
utility-types: ^3.10.0
- checksum: 11343ae4e77feb03c0ab9b3a6be0dc03f65f86fb59d58dcdc6fb76aab4516e4ea3aa480ab1da8f2d443c5895bea6a94bda5128458297222039f309b4774fd502
+ checksum: 05b83491bbe3918964b9b2724b9196f4f2429309514dd72574da365458ac852ecdd0c6efd407264d3448b2f80760a06747ab8412c469e2d70a4c5b42251bdea6
languageName: node
linkType: hard
-"@parcel/utils@npm:^2.0.1, @parcel/utils@npm:^2.2.1":
- version: 2.2.1
- resolution: "@parcel/utils@npm:2.2.1"
- dependencies:
- "@iarna/toml": ^2.2.0
- "@parcel/codeframe": ^2.2.1
- "@parcel/diagnostic": ^2.2.1
- "@parcel/hash": ^2.2.1
- "@parcel/logger": ^2.2.1
- "@parcel/markdown-ansi": ^2.2.1
+"@parcel/utils@npm:2.3.2, @parcel/utils@npm:^2.0.1":
+ version: 2.3.2
+ resolution: "@parcel/utils@npm:2.3.2"
+ dependencies:
+ "@parcel/codeframe": 2.3.2
+ "@parcel/diagnostic": 2.3.2
+ "@parcel/hash": 2.3.2
+ "@parcel/logger": 2.3.2
+ "@parcel/markdown-ansi": 2.3.2
"@parcel/source-map": ^2.0.0
- ansi-html-community: 0.0.8
chalk: ^4.1.0
- clone: ^2.1.1
- fast-glob: 3.1.1
- fastest-levenshtein: ^1.0.8
- is-glob: ^4.0.0
- is-url: ^1.2.2
- json5: ^2.2.0
- lru-cache: ^6.0.0
- micromatch: ^4.0.4
- node-forge: ^1.2.1
- nullthrows: ^1.1.1
- open: ^7.0.3
- terminal-link: ^2.1.1
- checksum: ee3e3d0ef99ca6421a95677d17f620bcc78e08d3e7de719c914bf8cd61857f71761479d600fc5952f0a9acce69b5dc9fcfc67348be92b4d28252628c56cd4619
+ checksum: 3a338c79c2f0e1af6dc58d883731e137f0e1162052dd3e11023a439396c8fb086de9457a97da962c6a496be99b621bee8ab2e08be6d96e155d0fd6f97b527feb
languageName: node
linkType: hard
@@ -5928,19 +5860,19 @@ __metadata:
languageName: node
linkType: hard
-"@parcel/workers@npm:^2.2.1":
- version: 2.2.1
- resolution: "@parcel/workers@npm:2.2.1"
+"@parcel/workers@npm:2.3.2":
+ version: 2.3.2
+ resolution: "@parcel/workers@npm:2.3.2"
dependencies:
- "@parcel/diagnostic": ^2.2.1
- "@parcel/logger": ^2.2.1
- "@parcel/types": ^2.2.1
- "@parcel/utils": ^2.2.1
+ "@parcel/diagnostic": 2.3.2
+ "@parcel/logger": 2.3.2
+ "@parcel/types": 2.3.2
+ "@parcel/utils": 2.3.2
chrome-trace-event: ^1.0.2
nullthrows: ^1.1.1
peerDependencies:
- "@parcel/core": ^2.2.1
- checksum: b3ec3703d8daf5df66616b0f93039ae988374ebe3f75995d33fa68086c53d28a5f63441046e24844abb3f7df30e67cbeecddcb19937aac9a5482dd73beceb23a
+ "@parcel/core": ^2.3.2
+ checksum: 5fb192add506a37ecbb037bd93b8c9e9baea6c36103aca204fbc24ad4d9fdde8154aed93dfee22a6a799d9c752d4c4d8c259c5a55d1a659ff2e25d13e9c2d4c5
languageName: node
linkType: hard
@@ -6026,9 +5958,9 @@ __metadata:
languageName: node
linkType: hard
-"@rollup/plugin-babel@npm:^5.3.0":
- version: 5.3.0
- resolution: "@rollup/plugin-babel@npm:5.3.0"
+"@rollup/plugin-babel@npm:^5.3.1":
+ version: 5.3.1
+ resolution: "@rollup/plugin-babel@npm:5.3.1"
dependencies:
"@babel/helper-module-imports": ^7.10.4
"@rollup/pluginutils": ^3.1.0
@@ -6039,13 +5971,13 @@ __metadata:
peerDependenciesMeta:
"@types/babel__core":
optional: true
- checksum: e014731ee431b4ad94aed150377037f5a6d653002e72807bddf6185d046834b826141b8016fa242b371950d799d4b33394b746a6b3aaa987437c586bc2d14e00
+ checksum: 2766134dd5567c0d4fd6909d1f511ce9bf3bd9d727e1bc5ffdd6097a3606faca324107ae8e0961839ee4dbb45e5e579ae601efe472fc0a271259aea79920cafa
languageName: node
linkType: hard
"@rollup/plugin-commonjs@npm:^21.0.1":
- version: 21.0.1
- resolution: "@rollup/plugin-commonjs@npm:21.0.1"
+ version: 21.0.2
+ resolution: "@rollup/plugin-commonjs@npm:21.0.2"
dependencies:
"@rollup/pluginutils": ^3.1.0
commondir: ^1.0.1
@@ -6056,7 +5988,7 @@ __metadata:
resolve: ^1.17.0
peerDependencies:
rollup: ^2.38.3
- checksum: 640a05ca010c1cec3481c7934f7c24f65a1c8a5f539f6caa1652ec44fa2ddd42bd01b1fb40ce8e81d7bc1259561f91014e9c1bac8332f4dc8a2ef292b8d2d76e
+ checksum: ca9a11b711b029d6f2ba6fbceb595c9732fa8e252e9ddeed9ba24cc7c44d68f282a65dd869068020a6e5a6848d31be9f8d07d420f7b757170b7c529dbead6954
languageName: node
linkType: hard
@@ -6115,8 +6047,8 @@ __metadata:
linkType: hard
"@rollup/plugin-typescript@npm:^8.3.0":
- version: 8.3.0
- resolution: "@rollup/plugin-typescript@npm:8.3.0"
+ version: 8.3.1
+ resolution: "@rollup/plugin-typescript@npm:8.3.1"
dependencies:
"@rollup/pluginutils": ^3.1.0
resolve: ^1.17.0
@@ -6124,7 +6056,7 @@ __metadata:
rollup: ^2.14.0
tslib: "*"
typescript: ">=3.7.0"
- checksum: d10ffd4a59d4e5bf36cff8990f9f69194b8d274b81d4b4dcb4eafa6a6e3f5a64589eb3029319ae811bb21643a0e58333631787e36829f3a6e3891289ca7d2dcc
+ checksum: b62bab236d025a39292a6d1d7ab1a594034d49fc61fd2c949973779fa13269c4aaac3714dd4b39de24005f368e025880c20bab38789cba7691035c5b20642cdf
languageName: node
linkType: hard
@@ -6260,18 +6192,18 @@ __metadata:
languageName: node
linkType: hard
-"@storybook/addon-a11y@6.5.0-alpha.42, @storybook/addon-a11y@workspace:*, @storybook/addon-a11y@workspace:addons/a11y":
+"@storybook/addon-a11y@6.5.0-alpha.48, @storybook/addon-a11y@workspace:*, @storybook/addon-a11y@workspace:addons/a11y":
version: 0.0.0-use.local
resolution: "@storybook/addon-a11y@workspace:addons/a11y"
dependencies:
- "@storybook/addons": 6.5.0-alpha.42
- "@storybook/api": 6.5.0-alpha.42
- "@storybook/channels": 6.5.0-alpha.42
- "@storybook/client-logger": 6.5.0-alpha.42
- "@storybook/components": 6.5.0-alpha.42
- "@storybook/core-events": 6.5.0-alpha.42
+ "@storybook/addons": 6.5.0-alpha.48
+ "@storybook/api": 6.5.0-alpha.48
+ "@storybook/channels": 6.5.0-alpha.48
+ "@storybook/client-logger": 6.5.0-alpha.48
+ "@storybook/components": 6.5.0-alpha.48
+ "@storybook/core-events": 6.5.0-alpha.48
"@storybook/csf": 0.0.2--canary.87bc651.0
- "@storybook/theming": 6.5.0-alpha.42
+ "@storybook/theming": 6.5.0-alpha.48
"@testing-library/react": ^11.2.2
"@types/webpack-env": ^1.16.0
axe-core: ^4.2.0
@@ -6293,16 +6225,16 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/addon-actions@6.5.0-alpha.42, @storybook/addon-actions@workspace:*, @storybook/addon-actions@workspace:addons/actions":
+"@storybook/addon-actions@6.5.0-alpha.48, @storybook/addon-actions@workspace:*, @storybook/addon-actions@workspace:addons/actions":
version: 0.0.0-use.local
resolution: "@storybook/addon-actions@workspace:addons/actions"
dependencies:
- "@storybook/addons": 6.5.0-alpha.42
- "@storybook/api": 6.5.0-alpha.42
- "@storybook/components": 6.5.0-alpha.42
- "@storybook/core-events": 6.5.0-alpha.42
+ "@storybook/addons": 6.5.0-alpha.48
+ "@storybook/api": 6.5.0-alpha.48
+ "@storybook/components": 6.5.0-alpha.48
+ "@storybook/core-events": 6.5.0-alpha.48
"@storybook/csf": 0.0.2--canary.87bc651.0
- "@storybook/theming": 6.5.0-alpha.42
+ "@storybook/theming": 6.5.0-alpha.48
"@types/lodash": ^4.14.167
"@types/webpack-env": ^1.16.0
core-js: ^3.8.2
@@ -6328,17 +6260,17 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/addon-backgrounds@6.5.0-alpha.42, @storybook/addon-backgrounds@workspace:*, @storybook/addon-backgrounds@workspace:addons/backgrounds":
+"@storybook/addon-backgrounds@6.5.0-alpha.48, @storybook/addon-backgrounds@workspace:*, @storybook/addon-backgrounds@workspace:addons/backgrounds":
version: 0.0.0-use.local
resolution: "@storybook/addon-backgrounds@workspace:addons/backgrounds"
dependencies:
- "@storybook/addons": 6.5.0-alpha.42
- "@storybook/api": 6.5.0-alpha.42
- "@storybook/client-logger": 6.5.0-alpha.42
- "@storybook/components": 6.5.0-alpha.42
- "@storybook/core-events": 6.5.0-alpha.42
+ "@storybook/addons": 6.5.0-alpha.48
+ "@storybook/api": 6.5.0-alpha.48
+ "@storybook/client-logger": 6.5.0-alpha.48
+ "@storybook/components": 6.5.0-alpha.48
+ "@storybook/core-events": 6.5.0-alpha.48
"@storybook/csf": 0.0.2--canary.87bc651.0
- "@storybook/theming": 6.5.0-alpha.42
+ "@storybook/theming": 6.5.0-alpha.48
"@types/webpack-env": ^1.16.0
core-js: ^3.8.2
global: ^4.4.0
@@ -6357,19 +6289,19 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/addon-controls@6.5.0-alpha.42, @storybook/addon-controls@workspace:*, @storybook/addon-controls@workspace:addons/controls":
+"@storybook/addon-controls@6.5.0-alpha.48, @storybook/addon-controls@workspace:*, @storybook/addon-controls@workspace:addons/controls":
version: 0.0.0-use.local
resolution: "@storybook/addon-controls@workspace:addons/controls"
dependencies:
- "@storybook/addons": 6.5.0-alpha.42
- "@storybook/api": 6.5.0-alpha.42
- "@storybook/client-logger": 6.5.0-alpha.42
- "@storybook/components": 6.5.0-alpha.42
- "@storybook/core-common": 6.5.0-alpha.42
+ "@storybook/addons": 6.5.0-alpha.48
+ "@storybook/api": 6.5.0-alpha.48
+ "@storybook/client-logger": 6.5.0-alpha.48
+ "@storybook/components": 6.5.0-alpha.48
+ "@storybook/core-common": 6.5.0-alpha.48
"@storybook/csf": 0.0.2--canary.87bc651.0
- "@storybook/node-logger": 6.5.0-alpha.42
- "@storybook/store": 6.5.0-alpha.42
- "@storybook/theming": 6.5.0-alpha.42
+ "@storybook/node-logger": 6.5.0-alpha.48
+ "@storybook/store": 6.5.0-alpha.48
+ "@storybook/theming": 6.5.0-alpha.48
core-js: ^3.8.2
lodash: ^4.17.21
ts-dedent: ^2.0.0
@@ -6384,149 +6316,80 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/addon-docs@6.5.0-alpha.42, @storybook/addon-docs@workspace:*, @storybook/addon-docs@workspace:addons/docs":
+"@storybook/addon-docs@6.5.0-alpha.48, @storybook/addon-docs@workspace:*, @storybook/addon-docs@workspace:addons/docs":
version: 0.0.0-use.local
resolution: "@storybook/addon-docs@workspace:addons/docs"
dependencies:
- "@angular/core": ^11.2.14
"@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
- "@emotion/core": ^10.3.1
- "@emotion/styled": ^10.0.27
"@jest/transform": ^26.6.2
- "@mdx-js/loader": ^1.6.22
- "@mdx-js/mdx": ^1.6.22
"@mdx-js/react": ^1.6.22
- "@storybook/addons": 6.5.0-alpha.42
- "@storybook/angular": 6.5.0-alpha.42
- "@storybook/api": 6.5.0-alpha.42
- "@storybook/builder-webpack4": 6.5.0-alpha.42
- "@storybook/client-logger": 6.5.0-alpha.42
- "@storybook/components": 6.5.0-alpha.42
- "@storybook/core": 6.5.0-alpha.42
- "@storybook/core-events": 6.5.0-alpha.42
+ "@storybook/addons": 6.5.0-alpha.48
+ "@storybook/api": 6.5.0-alpha.48
+ "@storybook/components": 6.5.0-alpha.48
+ "@storybook/core-common": 6.5.0-alpha.48
+ "@storybook/core-events": 6.5.0-alpha.48
"@storybook/csf": 0.0.2--canary.87bc651.0
- "@storybook/csf-tools": 6.5.0-alpha.42
- "@storybook/html": 6.5.0-alpha.42
- "@storybook/node-logger": 6.5.0-alpha.42
- "@storybook/postinstall": 6.5.0-alpha.42
- "@storybook/preview-web": 6.5.0-alpha.42
- "@storybook/react": 6.5.0-alpha.42
- "@storybook/source-loader": 6.5.0-alpha.42
- "@storybook/store": 6.5.0-alpha.42
- "@storybook/theming": 6.5.0-alpha.42
- "@storybook/vue": 6.5.0-alpha.42
- "@storybook/web-components": 6.5.0-alpha.42
- "@types/cross-spawn": ^6.0.2
- "@types/doctrine": ^0.0.3
- "@types/enzyme": ^3.10.8
- "@types/estree": ^0.0.44
- "@types/jest": ^26.0.16
- "@types/loader-utils": ^2.0.0
- "@types/prop-types": ^15.7.3
- "@types/tmp": ^0.2.0
+ "@storybook/docs-tools": 6.5.0-alpha.48
+ "@storybook/mdx1-csf": canary
+ "@storybook/mdx2-csf": canary
+ "@storybook/node-logger": 6.5.0-alpha.48
+ "@storybook/postinstall": 6.5.0-alpha.48
+ "@storybook/preview-web": 6.5.0-alpha.48
+ "@storybook/source-loader": 6.5.0-alpha.48
+ "@storybook/store": 6.5.0-alpha.48
+ "@storybook/theming": 6.5.0-alpha.48
"@types/util-deprecate": ^1.0.0
- acorn: ^7.4.1
- acorn-jsx: ^5.3.1
- acorn-walk: ^7.2.0
babel-loader: ^8.0.0
- babel-plugin-react-docgen: ^4.2.1
core-js: ^3.8.2
- cross-spawn: ^7.0.3
- doctrine: ^3.0.0
- escodegen: ^2.0.0
fast-deep-equal: ^3.1.3
- fs-extra: ^9.0.1
global: ^4.4.0
- html-tags: ^3.1.0
- jest: ^26.6.3
- jest-specific-snapshot: ^4.0.0
- js-string-escape: ^1.0.1
- lit-element: ^3.0.2
- lit-html: ^2.0.2
- 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
- require-from-string: ^2.0.2
- rxjs: ^6.6.3
- styled-components: ^5.2.1
- sveltedoc-parser: 4.1.0
- tmp: ^0.2.1
ts-dedent: ^2.0.0
- tslib: ^2.1.0
util-deprecate: ^1.0.2
- vue: ^2.6.10
- web-component-analyzer: ^1.1.6
webpack: 4
- zone.js: ^0.11.3
+ peerDependencies:
+ "@storybook/mdx2-csf": "*"
+ react: ^16.8.0 || ^17.0.0
+ react-dom: ^16.8.0 || ^17.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/react":
- optional: true
- "@storybook/vue":
- optional: true
- "@storybook/vue3":
- optional: true
- "@storybook/web-components":
- optional: true
- lit:
- optional: true
- lit-html:
+ "@storybook/mdx2-csf":
optional: true
react:
optional: true
react-dom:
optional: true
- svelte:
- optional: true
- sveltedoc-parser:
- optional: true
- vue:
- optional: true
webpack:
optional: true
languageName: unknown
linkType: soft
-"@storybook/addon-essentials@6.5.0-alpha.42, @storybook/addon-essentials@workspace:*, @storybook/addon-essentials@workspace:addons/essentials":
+"@storybook/addon-essentials@6.5.0-alpha.48, @storybook/addon-essentials@workspace:*, @storybook/addon-essentials@workspace:addons/essentials":
version: 0.0.0-use.local
resolution: "@storybook/addon-essentials@workspace:addons/essentials"
dependencies:
"@babel/core": ^7.12.10
- "@storybook/addon-actions": 6.5.0-alpha.42
- "@storybook/addon-backgrounds": 6.5.0-alpha.42
- "@storybook/addon-controls": 6.5.0-alpha.42
- "@storybook/addon-docs": 6.5.0-alpha.42
- "@storybook/addon-measure": 6.5.0-alpha.42
- "@storybook/addon-outline": 6.5.0-alpha.42
- "@storybook/addon-toolbars": 6.5.0-alpha.42
- "@storybook/addon-viewport": 6.5.0-alpha.42
- "@storybook/addons": 6.5.0-alpha.42
- "@storybook/api": 6.5.0-alpha.42
- "@storybook/core-common": 6.5.0-alpha.42
- "@storybook/node-logger": 6.5.0-alpha.42
- "@storybook/vue": 6.5.0-alpha.42
+ "@storybook/addon-actions": 6.5.0-alpha.48
+ "@storybook/addon-backgrounds": 6.5.0-alpha.48
+ "@storybook/addon-controls": 6.5.0-alpha.48
+ "@storybook/addon-docs": 6.5.0-alpha.48
+ "@storybook/addon-measure": 6.5.0-alpha.48
+ "@storybook/addon-outline": 6.5.0-alpha.48
+ "@storybook/addon-toolbars": 6.5.0-alpha.48
+ "@storybook/addon-viewport": 6.5.0-alpha.48
+ "@storybook/addons": 6.5.0-alpha.48
+ "@storybook/api": 6.5.0-alpha.48
+ "@storybook/core-common": 6.5.0-alpha.48
+ "@storybook/node-logger": 6.5.0-alpha.48
+ "@storybook/vue": 6.5.0-alpha.48
"@types/jest": ^26.0.16
"@types/webpack-env": ^1.16.0
core-js: ^3.8.2
@@ -6589,20 +6452,21 @@ __metadata:
languageName: node
linkType: hard
-"@storybook/addon-interactions@6.5.0-alpha.42, @storybook/addon-interactions@workspace:*, @storybook/addon-interactions@workspace:addons/interactions":
+"@storybook/addon-interactions@6.5.0-alpha.48, @storybook/addon-interactions@workspace:*, @storybook/addon-interactions@workspace:addons/interactions":
version: 0.0.0-use.local
resolution: "@storybook/addon-interactions@workspace:addons/interactions"
dependencies:
- "@storybook/addons": 6.5.0-alpha.42
- "@storybook/api": 6.5.0-alpha.42
- "@storybook/components": 6.5.0-alpha.42
- "@storybook/core-common": 6.5.0-alpha.42
- "@storybook/core-events": 6.5.0-alpha.42
+ "@storybook/addons": 6.5.0-alpha.48
+ "@storybook/api": 6.5.0-alpha.48
+ "@storybook/components": 6.5.0-alpha.48
+ "@storybook/core-common": 6.5.0-alpha.48
+ "@storybook/core-events": 6.5.0-alpha.48
"@storybook/csf": 0.0.2--canary.87bc651.0
- "@storybook/instrumenter": 6.5.0-alpha.39
+ "@storybook/instrumenter": 6.5.0-alpha.48
"@storybook/jest": ^0.0.9
"@storybook/testing-library": ^0.0.9
- "@storybook/theming": 6.5.0-alpha.39
+ "@storybook/theming": 6.5.0-alpha.48
+ core-js: ^3.8.2
formik: ^2.2.9
global: ^4.4.0
jest-mock: ^27.0.6
@@ -6619,15 +6483,15 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/addon-jest@6.5.0-alpha.42, @storybook/addon-jest@workspace:*, @storybook/addon-jest@workspace:addons/jest":
+"@storybook/addon-jest@6.5.0-alpha.48, @storybook/addon-jest@workspace:*, @storybook/addon-jest@workspace:addons/jest":
version: 0.0.0-use.local
resolution: "@storybook/addon-jest@workspace:addons/jest"
dependencies:
- "@storybook/addons": 6.5.0-alpha.42
- "@storybook/api": 6.5.0-alpha.42
- "@storybook/components": 6.5.0-alpha.42
- "@storybook/core-events": 6.5.0-alpha.42
- "@storybook/theming": 6.5.0-alpha.42
+ "@storybook/addons": 6.5.0-alpha.48
+ "@storybook/api": 6.5.0-alpha.48
+ "@storybook/components": 6.5.0-alpha.48
+ "@storybook/core-events": 6.5.0-alpha.48
+ "@storybook/theming": 6.5.0-alpha.48
"@types/webpack-env": ^1.16.0
core-js: ^3.8.2
global: ^4.4.0
@@ -6645,15 +6509,15 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/addon-links@6.5.0-alpha.42, @storybook/addon-links@workspace:*, @storybook/addon-links@workspace:addons/links":
+"@storybook/addon-links@6.5.0-alpha.48, @storybook/addon-links@workspace:*, @storybook/addon-links@workspace:addons/links":
version: 0.0.0-use.local
resolution: "@storybook/addon-links@workspace:addons/links"
dependencies:
- "@storybook/addons": 6.5.0-alpha.42
- "@storybook/client-logger": 6.5.0-alpha.42
- "@storybook/core-events": 6.5.0-alpha.42
+ "@storybook/addons": 6.5.0-alpha.48
+ "@storybook/client-logger": 6.5.0-alpha.48
+ "@storybook/core-events": 6.5.0-alpha.48
"@storybook/csf": 0.0.2--canary.87bc651.0
- "@storybook/router": 6.5.0-alpha.42
+ "@storybook/router": 6.5.0-alpha.48
"@types/qs": ^6.9.5
"@types/webpack-env": ^1.16.0
core-js: ^3.8.2
@@ -6673,15 +6537,15 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/addon-measure@6.5.0-alpha.42, @storybook/addon-measure@workspace:*, @storybook/addon-measure@workspace:addons/measure":
+"@storybook/addon-measure@6.5.0-alpha.48, @storybook/addon-measure@workspace:*, @storybook/addon-measure@workspace:addons/measure":
version: 0.0.0-use.local
resolution: "@storybook/addon-measure@workspace:addons/measure"
dependencies:
- "@storybook/addons": 6.5.0-alpha.42
- "@storybook/api": 6.5.0-alpha.42
- "@storybook/client-logger": 6.5.0-alpha.42
- "@storybook/components": 6.5.0-alpha.42
- "@storybook/core-events": 6.5.0-alpha.42
+ "@storybook/addons": 6.5.0-alpha.48
+ "@storybook/api": 6.5.0-alpha.48
+ "@storybook/client-logger": 6.5.0-alpha.48
+ "@storybook/components": 6.5.0-alpha.48
+ "@storybook/core-events": 6.5.0-alpha.48
"@storybook/csf": 0.0.2--canary.87bc651.0
"@types/webpack-env": ^1.16.0
core-js: ^3.8.2
@@ -6697,15 +6561,15 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/addon-outline@6.5.0-alpha.42, @storybook/addon-outline@workspace:*, @storybook/addon-outline@workspace:addons/outline":
+"@storybook/addon-outline@6.5.0-alpha.48, @storybook/addon-outline@workspace:*, @storybook/addon-outline@workspace:addons/outline":
version: 0.0.0-use.local
resolution: "@storybook/addon-outline@workspace:addons/outline"
dependencies:
- "@storybook/addons": 6.5.0-alpha.42
- "@storybook/api": 6.5.0-alpha.42
- "@storybook/client-logger": 6.5.0-alpha.42
- "@storybook/components": 6.5.0-alpha.42
- "@storybook/core-events": 6.5.0-alpha.42
+ "@storybook/addons": 6.5.0-alpha.48
+ "@storybook/api": 6.5.0-alpha.48
+ "@storybook/client-logger": 6.5.0-alpha.48
+ "@storybook/components": 6.5.0-alpha.48
+ "@storybook/core-events": 6.5.0-alpha.48
"@storybook/csf": 0.0.2--canary.87bc651.0
"@types/webpack-env": ^1.16.0
core-js: ^3.8.2
@@ -6736,20 +6600,20 @@ __metadata:
languageName: node
linkType: hard
-"@storybook/addon-storyshots-puppeteer@6.5.0-alpha.42, @storybook/addon-storyshots-puppeteer@workspace:*, @storybook/addon-storyshots-puppeteer@workspace:addons/storyshots/storyshots-puppeteer":
+"@storybook/addon-storyshots-puppeteer@6.5.0-alpha.48, @storybook/addon-storyshots-puppeteer@workspace:*, @storybook/addon-storyshots-puppeteer@workspace:addons/storyshots/storyshots-puppeteer":
version: 0.0.0-use.local
resolution: "@storybook/addon-storyshots-puppeteer@workspace:addons/storyshots/storyshots-puppeteer"
dependencies:
"@axe-core/puppeteer": ^4.2.0
"@storybook/csf": 0.0.2--canary.87bc651.0
- "@storybook/node-logger": 6.5.0-alpha.42
+ "@storybook/node-logger": 6.5.0-alpha.48
"@types/jest-image-snapshot": ^4.1.3
"@types/puppeteer": ^5.4.0
core-js: ^3.8.2
jest-image-snapshot: ^4.3.0
regenerator-runtime: ^0.13.7
peerDependencies:
- "@storybook/addon-storyshots": 6.5.0-alpha.42
+ "@storybook/addon-storyshots": 6.5.0-alpha.48
puppeteer: ^2.0.0 || ^3.0.0
peerDependenciesMeta:
puppeteer:
@@ -6757,25 +6621,25 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/addon-storyshots@6.5.0-alpha.42, @storybook/addon-storyshots@workspace:*, @storybook/addon-storyshots@workspace:addons/storyshots/storyshots-core":
+"@storybook/addon-storyshots@6.5.0-alpha.48, @storybook/addon-storyshots@workspace:*, @storybook/addon-storyshots@workspace:addons/storyshots/storyshots-core":
version: 0.0.0-use.local
resolution: "@storybook/addon-storyshots@workspace:addons/storyshots/storyshots-core"
dependencies:
"@angular/core": ^11.2.0
"@angular/platform-browser-dynamic": ^11.2.0
"@jest/transform": ^26.6.2
- "@storybook/addon-docs": 6.5.0-alpha.42
- "@storybook/addons": 6.5.0-alpha.42
- "@storybook/angular": 6.5.0-alpha.42
+ "@storybook/addon-docs": 6.5.0-alpha.48
+ "@storybook/addons": 6.5.0-alpha.48
+ "@storybook/angular": 6.5.0-alpha.48
"@storybook/babel-plugin-require-context-hook": 1.0.1
- "@storybook/client-api": 6.5.0-alpha.42
- "@storybook/core": 6.5.0-alpha.42
- "@storybook/core-client": 6.5.0-alpha.42
- "@storybook/core-common": 6.5.0-alpha.42
+ "@storybook/client-api": 6.5.0-alpha.48
+ "@storybook/core": 6.5.0-alpha.48
+ "@storybook/core-client": 6.5.0-alpha.48
+ "@storybook/core-common": 6.5.0-alpha.48
"@storybook/csf": 0.0.2--canary.87bc651.0
- "@storybook/react": 6.5.0-alpha.42
- "@storybook/vue": 6.5.0-alpha.42
- "@storybook/vue3": 6.5.0-alpha.42
+ "@storybook/react": 6.5.0-alpha.48
+ "@storybook/vue": 6.5.0-alpha.48
+ "@storybook/vue3": 6.5.0-alpha.48
"@types/glob": ^7.1.3
"@types/jest": ^26.0.16
"@types/jest-specific-snapshot": ^0.5.3
@@ -6848,17 +6712,17 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/addon-storysource@6.5.0-alpha.42, @storybook/addon-storysource@workspace:*, @storybook/addon-storysource@workspace:addons/storysource":
+"@storybook/addon-storysource@6.5.0-alpha.48, @storybook/addon-storysource@workspace:*, @storybook/addon-storysource@workspace:addons/storysource":
version: 0.0.0-use.local
resolution: "@storybook/addon-storysource@workspace:addons/storysource"
dependencies:
- "@storybook/addons": 6.5.0-alpha.42
- "@storybook/api": 6.5.0-alpha.42
- "@storybook/client-logger": 6.5.0-alpha.42
- "@storybook/components": 6.5.0-alpha.42
- "@storybook/router": 6.5.0-alpha.42
- "@storybook/source-loader": 6.5.0-alpha.42
- "@storybook/theming": 6.5.0-alpha.42
+ "@storybook/addons": 6.5.0-alpha.48
+ "@storybook/api": 6.5.0-alpha.48
+ "@storybook/client-logger": 6.5.0-alpha.48
+ "@storybook/components": 6.5.0-alpha.48
+ "@storybook/router": 6.5.0-alpha.48
+ "@storybook/source-loader": 6.5.0-alpha.48
+ "@storybook/theming": 6.5.0-alpha.48
"@types/react": ^16.14.23
"@types/react-syntax-highlighter": ^11.0.5
core-js: ^3.8.2
@@ -6879,14 +6743,14 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/addon-toolbars@6.5.0-alpha.42, @storybook/addon-toolbars@workspace:*, @storybook/addon-toolbars@workspace:addons/toolbars":
+"@storybook/addon-toolbars@6.5.0-alpha.48, @storybook/addon-toolbars@workspace:*, @storybook/addon-toolbars@workspace:addons/toolbars":
version: 0.0.0-use.local
resolution: "@storybook/addon-toolbars@workspace:addons/toolbars"
dependencies:
- "@storybook/addons": 6.5.0-alpha.42
- "@storybook/api": 6.5.0-alpha.42
- "@storybook/components": 6.5.0-alpha.42
- "@storybook/theming": 6.5.0-alpha.42
+ "@storybook/addons": 6.5.0-alpha.48
+ "@storybook/api": 6.5.0-alpha.48
+ "@storybook/components": 6.5.0-alpha.48
+ "@storybook/theming": 6.5.0-alpha.48
core-js: ^3.8.2
regenerator-runtime: ^0.13.7
peerDependencies:
@@ -6900,16 +6764,16 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/addon-viewport@6.5.0-alpha.42, @storybook/addon-viewport@workspace:*, @storybook/addon-viewport@workspace:addons/viewport":
+"@storybook/addon-viewport@6.5.0-alpha.48, @storybook/addon-viewport@workspace:*, @storybook/addon-viewport@workspace:addons/viewport":
version: 0.0.0-use.local
resolution: "@storybook/addon-viewport@workspace:addons/viewport"
dependencies:
- "@storybook/addons": 6.5.0-alpha.42
- "@storybook/api": 6.5.0-alpha.42
- "@storybook/client-logger": 6.5.0-alpha.42
- "@storybook/components": 6.5.0-alpha.42
- "@storybook/core-events": 6.5.0-alpha.42
- "@storybook/theming": 6.5.0-alpha.42
+ "@storybook/addons": 6.5.0-alpha.48
+ "@storybook/api": 6.5.0-alpha.48
+ "@storybook/client-logger": 6.5.0-alpha.48
+ "@storybook/components": 6.5.0-alpha.48
+ "@storybook/core-events": 6.5.0-alpha.48
+ "@storybook/theming": 6.5.0-alpha.48
core-js: ^3.8.2
global: ^4.4.0
memoizerific: ^1.11.3
@@ -6926,17 +6790,17 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/addons@6.5.0-alpha.42, @storybook/addons@workspace:*, @storybook/addons@workspace:lib/addons":
+"@storybook/addons@6.5.0-alpha.48, @storybook/addons@workspace:*, @storybook/addons@workspace:lib/addons":
version: 0.0.0-use.local
resolution: "@storybook/addons@workspace:lib/addons"
dependencies:
- "@storybook/api": 6.5.0-alpha.42
- "@storybook/channels": 6.5.0-alpha.42
- "@storybook/client-logger": 6.5.0-alpha.42
- "@storybook/core-events": 6.5.0-alpha.42
+ "@storybook/api": 6.5.0-alpha.48
+ "@storybook/channels": 6.5.0-alpha.48
+ "@storybook/client-logger": 6.5.0-alpha.48
+ "@storybook/core-events": 6.5.0-alpha.48
"@storybook/csf": 0.0.2--canary.87bc651.0
- "@storybook/router": 6.5.0-alpha.42
- "@storybook/theming": 6.5.0-alpha.42
+ "@storybook/router": 6.5.0-alpha.48
+ "@storybook/theming": 6.5.0-alpha.48
"@types/webpack-env": ^1.16.0
core-js: ^3.8.2
global: ^4.4.0
@@ -6969,7 +6833,7 @@ __metadata:
languageName: node
linkType: hard
-"@storybook/angular@6.5.0-alpha.42, @storybook/angular@workspace:*, @storybook/angular@workspace:app/angular":
+"@storybook/angular@6.5.0-alpha.48, @storybook/angular@workspace:*, @storybook/angular@workspace:app/angular":
version: 0.0.0-use.local
resolution: "@storybook/angular@workspace:app/angular"
dependencies:
@@ -6985,40 +6849,46 @@ __metadata:
"@angular/platform-browser": ^11.2.14
"@angular/platform-browser-dynamic": ^11.2.14
"@nrwl/workspace": ^11.6.3
- "@storybook/addons": 6.5.0-alpha.42
- "@storybook/api": 6.5.0-alpha.42
- "@storybook/core": 6.5.0-alpha.42
- "@storybook/core-common": 6.5.0-alpha.42
- "@storybook/core-events": 6.5.0-alpha.42
+ "@storybook/addons": 6.5.0-alpha.48
+ "@storybook/api": 6.5.0-alpha.48
+ "@storybook/client-logger": 6.5.0-alpha.48
+ "@storybook/core": 6.5.0-alpha.48
+ "@storybook/core-common": 6.5.0-alpha.48
+ "@storybook/core-events": 6.5.0-alpha.48
"@storybook/csf": 0.0.2--canary.87bc651.0
- "@storybook/node-logger": 6.5.0-alpha.42
+ "@storybook/docs-tools": 6.5.0-alpha.48
+ "@storybook/node-logger": 6.5.0-alpha.48
"@storybook/semver": ^7.3.2
- "@storybook/store": 6.5.0-alpha.42
+ "@storybook/store": 6.5.0-alpha.48
"@types/autoprefixer": ^9.7.2
- "@types/jest": ^26.0.16
"@types/node": ^14.14.20 || ^16.0.0
"@types/react": ^16.14.23
"@types/react-dom": ^16.9.14
+ "@types/tmp": ^0.2.3
"@types/webpack-env": ^1.16.0
autoprefixer: ^9.8.6
core-js: ^3.8.2
+ cross-spawn: ^7.0.3
find-up: ^5.0.0
fork-ts-checker-webpack-plugin: ^4.1.6
global: ^4.4.0
jest: ^26.6.3
jest-preset-angular: ^8.3.2
+ jest-specific-snapshot: ^4.0.0
+ nanoid: ^3.1.23
+ p-limit: ^3.1.0
postcss: ^7.0.36
postcss-loader: ^4.2.0
+ prettier: ">=2.2.1 <=2.3.0"
raw-loader: ^4.0.2
react: ^16.14.0
react-dom: ^16.14.0
read-pkg-up: ^7.0.1
regenerator-runtime: ^0.13.7
sass-loader: ^10.1.0
- strip-json-comments: 3.1.1
telejson: ^5.3.3
+ tmp: ^0.2.1
ts-dedent: ^2.0.0
- ts-jest: ^26.4.4
ts-loader: ^8.0.14
tsconfig-paths-webpack-plugin: ^3.3.0
util-deprecate: ^1.0.2
@@ -7052,17 +6922,17 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/api@6.5.0-alpha.42, @storybook/api@workspace:*, @storybook/api@workspace:lib/api":
+"@storybook/api@6.5.0-alpha.48, @storybook/api@workspace:*, @storybook/api@workspace:lib/api":
version: 0.0.0-use.local
resolution: "@storybook/api@workspace:lib/api"
dependencies:
- "@storybook/channels": 6.5.0-alpha.42
- "@storybook/client-logger": 6.5.0-alpha.42
- "@storybook/core-events": 6.5.0-alpha.42
+ "@storybook/channels": 6.5.0-alpha.48
+ "@storybook/client-logger": 6.5.0-alpha.48
+ "@storybook/core-events": 6.5.0-alpha.48
"@storybook/csf": 0.0.2--canary.87bc651.0
- "@storybook/router": 6.5.0-alpha.42
+ "@storybook/router": 6.5.0-alpha.48
"@storybook/semver": ^7.3.2
- "@storybook/theming": 6.5.0-alpha.42
+ "@storybook/theming": 6.5.0-alpha.48
"@types/lodash": ^4.14.167
"@types/qs": ^6
"@types/semver": ^7.3.4
@@ -7120,58 +6990,36 @@ __metadata:
languageName: node
linkType: hard
-"@storybook/builder-webpack4@6.5.0-alpha.42, @storybook/builder-webpack4@workspace:lib/builder-webpack4":
+"@storybook/builder-webpack4@6.5.0-alpha.48, @storybook/builder-webpack4@workspace:lib/builder-webpack4":
version: 0.0.0-use.local
resolution: "@storybook/builder-webpack4@workspace:lib/builder-webpack4"
dependencies:
"@babel/core": ^7.12.10
- "@babel/plugin-proposal-class-properties": ^7.12.1
- "@babel/plugin-proposal-decorators": ^7.12.12
- "@babel/plugin-proposal-export-default-from": ^7.12.1
- "@babel/plugin-proposal-nullish-coalescing-operator": ^7.12.1
- "@babel/plugin-proposal-object-rest-spread": ^7.12.1
- "@babel/plugin-proposal-optional-chaining": ^7.12.7
- "@babel/plugin-proposal-private-methods": ^7.12.1
- "@babel/plugin-syntax-dynamic-import": ^7.8.3
- "@babel/plugin-transform-arrow-functions": ^7.12.1
- "@babel/plugin-transform-block-scoping": ^7.12.12
- "@babel/plugin-transform-classes": ^7.12.1
- "@babel/plugin-transform-destructuring": ^7.12.1
- "@babel/plugin-transform-for-of": ^7.12.1
- "@babel/plugin-transform-parameters": ^7.12.1
- "@babel/plugin-transform-shorthand-properties": ^7.12.1
- "@babel/plugin-transform-spread": ^7.12.1
- "@babel/plugin-transform-template-literals": ^7.12.1
- "@babel/preset-env": ^7.12.11
- "@babel/preset-react": ^7.12.10
- "@babel/preset-typescript": ^7.12.7
- "@storybook/addons": 6.5.0-alpha.42
- "@storybook/api": 6.5.0-alpha.42
- "@storybook/channel-postmessage": 6.5.0-alpha.42
- "@storybook/channels": 6.5.0-alpha.42
- "@storybook/client-api": 6.5.0-alpha.42
- "@storybook/client-logger": 6.5.0-alpha.42
- "@storybook/components": 6.5.0-alpha.42
- "@storybook/core-common": 6.5.0-alpha.42
- "@storybook/core-events": 6.5.0-alpha.42
- "@storybook/node-logger": 6.5.0-alpha.42
- "@storybook/preview-web": 6.5.0-alpha.42
- "@storybook/router": 6.5.0-alpha.42
+ "@storybook/addons": 6.5.0-alpha.48
+ "@storybook/api": 6.5.0-alpha.48
+ "@storybook/channel-postmessage": 6.5.0-alpha.48
+ "@storybook/channels": 6.5.0-alpha.48
+ "@storybook/client-api": 6.5.0-alpha.48
+ "@storybook/client-logger": 6.5.0-alpha.48
+ "@storybook/components": 6.5.0-alpha.48
+ "@storybook/core-common": 6.5.0-alpha.48
+ "@storybook/core-events": 6.5.0-alpha.48
+ "@storybook/node-logger": 6.5.0-alpha.48
+ "@storybook/preview-web": 6.5.0-alpha.48
+ "@storybook/router": 6.5.0-alpha.48
"@storybook/semver": ^7.3.2
- "@storybook/store": 6.5.0-alpha.42
- "@storybook/theming": 6.5.0-alpha.42
- "@storybook/ui": 6.5.0-alpha.42
+ "@storybook/store": 6.5.0-alpha.48
+ "@storybook/theming": 6.5.0-alpha.48
+ "@storybook/ui": 6.5.0-alpha.48
"@types/case-sensitive-paths-webpack-plugin": ^2.1.4
"@types/node": ^14.0.10 || ^16.0.0
"@types/terser-webpack-plugin": ^4.2.0
"@types/webpack": ^4.41.26
"@types/webpack-dev-middleware": ^3.7.3
- "@types/webpack-hot-middleware": ^2.25.3
+ "@types/webpack-hot-middleware": <=2.25.5
"@types/webpack-virtual-modules": ^0.1.0
autoprefixer: ^9.8.6
babel-loader: ^8.0.0
- babel-plugin-macros: ^2.8.0
- babel-plugin-polyfill-corejs3: ^0.1.0
case-sensitive-paths-webpack-plugin: ^2.3.0
core-js: ^3.8.2
css-loader: ^3.6.0
@@ -7207,50 +7055,31 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/builder-webpack5@6.5.0-alpha.42, @storybook/builder-webpack5@workspace:lib/builder-webpack5":
+"@storybook/builder-webpack5@6.5.0-alpha.48, @storybook/builder-webpack5@workspace:lib/builder-webpack5":
version: 0.0.0-use.local
resolution: "@storybook/builder-webpack5@workspace:lib/builder-webpack5"
dependencies:
"@babel/core": ^7.12.10
- "@babel/plugin-proposal-class-properties": ^7.12.1
- "@babel/plugin-proposal-decorators": ^7.12.12
- "@babel/plugin-proposal-export-default-from": ^7.12.1
- "@babel/plugin-proposal-nullish-coalescing-operator": ^7.12.1
- "@babel/plugin-proposal-object-rest-spread": ^7.12.1
- "@babel/plugin-proposal-optional-chaining": ^7.12.7
- "@babel/plugin-proposal-private-methods": ^7.12.1
- "@babel/plugin-syntax-dynamic-import": ^7.8.3
- "@babel/plugin-transform-arrow-functions": ^7.12.1
- "@babel/plugin-transform-block-scoping": ^7.12.12
- "@babel/plugin-transform-classes": ^7.12.1
- "@babel/plugin-transform-destructuring": ^7.12.1
- "@babel/plugin-transform-for-of": ^7.12.1
- "@babel/plugin-transform-parameters": ^7.12.1
- "@babel/plugin-transform-shorthand-properties": ^7.12.1
- "@babel/plugin-transform-spread": ^7.12.1
- "@babel/preset-env": ^7.12.11
- "@babel/preset-react": ^7.12.10
- "@babel/preset-typescript": ^7.12.7
- "@storybook/addons": 6.5.0-alpha.42
- "@storybook/api": 6.5.0-alpha.42
- "@storybook/channel-postmessage": 6.5.0-alpha.42
- "@storybook/channels": 6.5.0-alpha.42
- "@storybook/client-api": 6.5.0-alpha.42
- "@storybook/client-logger": 6.5.0-alpha.42
- "@storybook/components": 6.5.0-alpha.42
- "@storybook/core-common": 6.5.0-alpha.42
- "@storybook/core-events": 6.5.0-alpha.42
- "@storybook/node-logger": 6.5.0-alpha.42
- "@storybook/preview-web": 6.5.0-alpha.42
- "@storybook/router": 6.5.0-alpha.42
+ "@storybook/addons": 6.5.0-alpha.48
+ "@storybook/api": 6.5.0-alpha.48
+ "@storybook/channel-postmessage": 6.5.0-alpha.48
+ "@storybook/channels": 6.5.0-alpha.48
+ "@storybook/client-api": 6.5.0-alpha.48
+ "@storybook/client-logger": 6.5.0-alpha.48
+ "@storybook/components": 6.5.0-alpha.48
+ "@storybook/core-common": 6.5.0-alpha.48
+ "@storybook/core-events": 6.5.0-alpha.48
+ "@storybook/node-logger": 6.5.0-alpha.48
+ "@storybook/preview-web": 6.5.0-alpha.48
+ "@storybook/router": 6.5.0-alpha.48
"@storybook/semver": ^7.3.2
- "@storybook/store": 6.5.0-alpha.42
- "@storybook/theming": 6.5.0-alpha.42
+ "@storybook/store": 6.5.0-alpha.48
+ "@storybook/theming": 6.5.0-alpha.48
"@types/case-sensitive-paths-webpack-plugin": ^2.1.4
"@types/node": ^14.0.10 || ^16.0.0
"@types/terser-webpack-plugin": ^5.0.2
"@types/webpack-dev-middleware": ^4.1.0
- "@types/webpack-hot-middleware": ^2.25.3
+ "@types/webpack-hot-middleware": ^2.25.6
"@types/webpack-virtual-modules": ^0.1.0
babel-loader: ^8.0.0
babel-plugin-named-exports-order: ^0.0.2
@@ -7282,13 +7111,13 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/channel-postmessage@6.5.0-alpha.42, @storybook/channel-postmessage@workspace:*, @storybook/channel-postmessage@workspace:lib/channel-postmessage":
+"@storybook/channel-postmessage@6.5.0-alpha.48, @storybook/channel-postmessage@workspace:*, @storybook/channel-postmessage@workspace:lib/channel-postmessage":
version: 0.0.0-use.local
resolution: "@storybook/channel-postmessage@workspace:lib/channel-postmessage"
dependencies:
- "@storybook/channels": 6.5.0-alpha.42
- "@storybook/client-logger": 6.5.0-alpha.42
- "@storybook/core-events": 6.5.0-alpha.42
+ "@storybook/channels": 6.5.0-alpha.48
+ "@storybook/client-logger": 6.5.0-alpha.48
+ "@storybook/core-events": 6.5.0-alpha.48
core-js: ^3.8.2
global: ^4.4.0
qs: ^6.10.0
@@ -7296,19 +7125,19 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/channel-websocket@6.5.0-alpha.42, @storybook/channel-websocket@workspace:*, @storybook/channel-websocket@workspace:lib/channel-websocket":
+"@storybook/channel-websocket@6.5.0-alpha.48, @storybook/channel-websocket@workspace:*, @storybook/channel-websocket@workspace:lib/channel-websocket":
version: 0.0.0-use.local
resolution: "@storybook/channel-websocket@workspace:lib/channel-websocket"
dependencies:
- "@storybook/channels": 6.5.0-alpha.42
- "@storybook/client-logger": 6.5.0-alpha.42
+ "@storybook/channels": 6.5.0-alpha.48
+ "@storybook/client-logger": 6.5.0-alpha.48
core-js: ^3.8.2
global: ^4.4.0
telejson: ^5.3.3
languageName: unknown
linkType: soft
-"@storybook/channels@6.5.0-alpha.42, @storybook/channels@workspace:*, @storybook/channels@workspace:lib/channels":
+"@storybook/channels@6.5.0-alpha.48, @storybook/channels@workspace:*, @storybook/channels@workspace:lib/channels":
version: 0.0.0-use.local
resolution: "@storybook/channels@workspace:lib/channels"
dependencies:
@@ -7329,17 +7158,17 @@ __metadata:
languageName: node
linkType: hard
-"@storybook/cli@6.5.0-alpha.42, @storybook/cli@workspace:*, @storybook/cli@workspace:lib/cli":
+"@storybook/cli@6.5.0-alpha.48, @storybook/cli@workspace:*, @storybook/cli@workspace:lib/cli":
version: 0.0.0-use.local
resolution: "@storybook/cli@workspace:lib/cli"
dependencies:
"@babel/core": ^7.12.10
"@babel/preset-env": ^7.12.11
- "@storybook/client-api": 6.5.0-alpha.42
- "@storybook/codemod": 6.5.0-alpha.42
- "@storybook/core-common": 6.5.0-alpha.42
- "@storybook/csf-tools": 6.5.0-alpha.42
- "@storybook/node-logger": 6.5.0-alpha.42
+ "@storybook/client-api": 6.5.0-alpha.48
+ "@storybook/codemod": 6.5.0-alpha.48
+ "@storybook/core-common": 6.5.0-alpha.48
+ "@storybook/csf-tools": 6.5.0-alpha.48
+ "@storybook/node-logger": 6.5.0-alpha.48
"@storybook/semver": ^7.3.2
"@types/cross-spawn": ^6.0.2
"@types/prompts": ^2.0.9
@@ -7364,7 +7193,7 @@ __metadata:
prompts: ^2.4.0
puppeteer-core: ^2.1.1
read-pkg-up: ^7.0.1
- shelljs: ^0.8.4
+ shelljs: ^0.8.5
strip-json-comments: ^3.1.1
ts-dedent: ^2.0.0
update-notifier: ^5.0.1
@@ -7376,17 +7205,17 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/client-api@6.5.0-alpha.42, @storybook/client-api@workspace:*, @storybook/client-api@workspace:lib/client-api":
+"@storybook/client-api@6.5.0-alpha.48, @storybook/client-api@workspace:*, @storybook/client-api@workspace:lib/client-api":
version: 0.0.0-use.local
resolution: "@storybook/client-api@workspace:lib/client-api"
dependencies:
- "@storybook/addons": 6.5.0-alpha.42
- "@storybook/channel-postmessage": 6.5.0-alpha.42
- "@storybook/channels": 6.5.0-alpha.42
- "@storybook/client-logger": 6.5.0-alpha.42
- "@storybook/core-events": 6.5.0-alpha.42
+ "@storybook/addons": 6.5.0-alpha.48
+ "@storybook/channel-postmessage": 6.5.0-alpha.48
+ "@storybook/channels": 6.5.0-alpha.48
+ "@storybook/client-logger": 6.5.0-alpha.48
+ "@storybook/core-events": 6.5.0-alpha.48
"@storybook/csf": 0.0.2--canary.87bc651.0
- "@storybook/store": 6.5.0-alpha.42
+ "@storybook/store": 6.5.0-alpha.48
"@types/qs": ^6.9.5
"@types/webpack-env": ^1.16.0
core-js: ^3.8.2
@@ -7406,16 +7235,7 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/client-logger@6.5.0-alpha.39, @storybook/client-logger@^6.4.0 || >=6.5.0-0, @storybook/client-logger@workspace:*, @storybook/client-logger@workspace:lib/client-logger":
- version: 0.0.0-use.local
- resolution: "@storybook/client-logger@workspace:lib/client-logger"
- dependencies:
- core-js: ^3.8.2
- global: ^4.4.0
- languageName: unknown
- linkType: soft
-
-"@storybook/client-logger@6.5.0-alpha.42, @storybook/client-logger@workspace:*, @storybook/client-logger@workspace:lib/client-logger":
+"@storybook/client-logger@6.5.0-alpha.48, @storybook/client-logger@^6.4.0 || >=6.5.0-0, @storybook/client-logger@workspace:*, @storybook/client-logger@workspace:lib/client-logger":
version: 0.0.0-use.local
resolution: "@storybook/client-logger@workspace:lib/client-logger"
dependencies:
@@ -7434,15 +7254,15 @@ __metadata:
languageName: node
linkType: hard
-"@storybook/codemod@6.5.0-alpha.42, @storybook/codemod@workspace:*, @storybook/codemod@workspace:lib/codemod":
+"@storybook/codemod@6.5.0-alpha.48, @storybook/codemod@workspace:*, @storybook/codemod@workspace:lib/codemod":
version: 0.0.0-use.local
resolution: "@storybook/codemod@workspace:lib/codemod"
dependencies:
"@babel/types": ^7.12.11
"@mdx-js/mdx": ^1.6.22
"@storybook/csf": 0.0.2--canary.87bc651.0
- "@storybook/csf-tools": 6.5.0-alpha.42
- "@storybook/node-logger": 6.5.0-alpha.42
+ "@storybook/csf-tools": 6.5.0-alpha.48
+ "@storybook/node-logger": 6.5.0-alpha.48
core-js: ^3.8.2
cross-spawn: ^7.0.3
globby: ^11.0.2
@@ -7456,14 +7276,14 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/components@6.5.0-alpha.42, @storybook/components@workspace:*, @storybook/components@workspace:lib/components":
+"@storybook/components@6.5.0-alpha.48, @storybook/components@workspace:*, @storybook/components@workspace:lib/components":
version: 0.0.0-use.local
resolution: "@storybook/components@workspace:lib/components"
dependencies:
"@popperjs/core": ^2.6.0
- "@storybook/client-logger": 6.5.0-alpha.42
+ "@storybook/client-logger": 6.5.0-alpha.48
"@storybook/csf": 0.0.2--canary.87bc651.0
- "@storybook/theming": 6.5.0-alpha.42
+ "@storybook/theming": 6.5.0-alpha.48
"@types/color-convert": ^2.0.0
"@types/overlayscrollbars": ^1.12.0
"@types/react-syntax-highlighter": 11.0.5
@@ -7494,20 +7314,20 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/core-client@6.5.0-alpha.42, @storybook/core-client@workspace:lib/core-client":
+"@storybook/core-client@6.5.0-alpha.48, @storybook/core-client@workspace:lib/core-client":
version: 0.0.0-use.local
resolution: "@storybook/core-client@workspace:lib/core-client"
dependencies:
- "@storybook/addons": 6.5.0-alpha.42
- "@storybook/channel-postmessage": 6.5.0-alpha.42
- "@storybook/channel-websocket": 6.5.0-alpha.42
- "@storybook/client-api": 6.5.0-alpha.42
- "@storybook/client-logger": 6.5.0-alpha.42
- "@storybook/core-events": 6.5.0-alpha.42
+ "@storybook/addons": 6.5.0-alpha.48
+ "@storybook/channel-postmessage": 6.5.0-alpha.48
+ "@storybook/channel-websocket": 6.5.0-alpha.48
+ "@storybook/client-api": 6.5.0-alpha.48
+ "@storybook/client-logger": 6.5.0-alpha.48
+ "@storybook/core-events": 6.5.0-alpha.48
"@storybook/csf": 0.0.2--canary.87bc651.0
- "@storybook/preview-web": 6.5.0-alpha.42
- "@storybook/store": 6.5.0-alpha.42
- "@storybook/ui": 6.5.0-alpha.42
+ "@storybook/preview-web": 6.5.0-alpha.48
+ "@storybook/store": 6.5.0-alpha.48
+ "@storybook/ui": 6.5.0-alpha.48
airbnb-js-shims: ^2.2.1
ansi-to-html: ^0.6.11
core-js: ^3.8.2
@@ -7528,7 +7348,7 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/core-common@6.5.0-alpha.42, @storybook/core-common@workspace:lib/core-common":
+"@storybook/core-common@6.5.0-alpha.48, @storybook/core-common@workspace:lib/core-common":
version: 0.0.0-use.local
resolution: "@storybook/core-common@workspace:lib/core-common"
dependencies:
@@ -7554,7 +7374,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.42
+ "@storybook/node-logger": 6.5.0-alpha.48
"@storybook/react-docgen-typescript-plugin": 1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0
"@storybook/semver": ^7.3.2
"@types/compression": ^1.7.0
@@ -7597,7 +7417,7 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/core-events@6.5.0-alpha.42, @storybook/core-events@workspace:*, @storybook/core-events@workspace:lib/core-events":
+"@storybook/core-events@6.5.0-alpha.48, @storybook/core-events@workspace:*, @storybook/core-events@workspace:lib/core-events":
version: 0.0.0-use.local
resolution: "@storybook/core-events@workspace:lib/core-events"
dependencies:
@@ -7614,22 +7434,22 @@ __metadata:
languageName: node
linkType: hard
-"@storybook/core-server@6.5.0-alpha.42, @storybook/core-server@workspace:lib/core-server":
+"@storybook/core-server@6.5.0-alpha.48, @storybook/core-server@workspace:lib/core-server":
version: 0.0.0-use.local
resolution: "@storybook/core-server@workspace:lib/core-server"
dependencies:
"@discoveryjs/json-ext": ^0.5.3
- "@storybook/builder-webpack4": 6.5.0-alpha.42
- "@storybook/builder-webpack5": 6.5.0-alpha.42
- "@storybook/core-client": 6.5.0-alpha.42
- "@storybook/core-common": 6.5.0-alpha.42
- "@storybook/core-events": 6.5.0-alpha.42
+ "@storybook/builder-webpack4": 6.5.0-alpha.48
+ "@storybook/builder-webpack5": 6.5.0-alpha.48
+ "@storybook/core-client": 6.5.0-alpha.48
+ "@storybook/core-common": 6.5.0-alpha.48
+ "@storybook/core-events": 6.5.0-alpha.48
"@storybook/csf": 0.0.2--canary.87bc651.0
- "@storybook/csf-tools": 6.5.0-alpha.42
- "@storybook/manager-webpack4": 6.5.0-alpha.42
- "@storybook/node-logger": 6.5.0-alpha.42
+ "@storybook/csf-tools": 6.5.0-alpha.48
+ "@storybook/manager-webpack4": 6.5.0-alpha.48
+ "@storybook/node-logger": 6.5.0-alpha.48
"@storybook/semver": ^7.3.2
- "@storybook/store": 6.5.0-alpha.42
+ "@storybook/store": 6.5.0-alpha.48
"@types/compression": ^1.7.0
"@types/ip": ^1.1.0
"@types/node": ^14.0.10 || ^16.0.0
@@ -7649,6 +7469,7 @@ __metadata:
detect-port: ^1.3.0
express: ^4.17.1
fs-extra: ^9.0.1
+ global: ^4.4.0
globby: ^11.0.2
ip: ^1.1.5
jest-specific-snapshot: ^4.0.0
@@ -7680,12 +7501,12 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/core@6.5.0-alpha.42, @storybook/core@workspace:*, @storybook/core@workspace:lib/core":
+"@storybook/core@6.5.0-alpha.48, @storybook/core@workspace:*, @storybook/core@workspace:lib/core":
version: 0.0.0-use.local
resolution: "@storybook/core@workspace:lib/core"
dependencies:
- "@storybook/core-client": 6.5.0-alpha.42
- "@storybook/core-server": 6.5.0-alpha.42
+ "@storybook/core-client": 6.5.0-alpha.48
+ "@storybook/core-server": 6.5.0-alpha.48
peerDependencies:
react: ^16.8.0 || ^17.0.0
react-dom: ^16.8.0 || ^17.0.0
@@ -7700,7 +7521,7 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/csf-tools@6.5.0-alpha.42, @storybook/csf-tools@workspace:*, @storybook/csf-tools@workspace:lib/csf-tools":
+"@storybook/csf-tools@6.5.0-alpha.48, @storybook/csf-tools@workspace:*, @storybook/csf-tools@workspace:lib/csf-tools":
version: 0.0.0-use.local
resolution: "@storybook/csf-tools@workspace:lib/csf-tools"
dependencies:
@@ -7711,18 +7532,21 @@ __metadata:
"@babel/preset-env": ^7.12.11
"@babel/traverse": ^7.12.11
"@babel/types": ^7.12.11
- "@mdx-js/mdx": ^1.6.22
"@storybook/csf": 0.0.2--canary.87bc651.0
+ "@storybook/mdx1-csf": canary
+ "@storybook/mdx2-csf": canary
"@types/fs-extra": ^9.0.6
core-js: ^3.8.2
fs-extra: ^9.0.1
global: ^4.4.0
- js-string-escape: ^1.0.1
js-yaml: ^3.14.1
- lodash: ^4.17.21
- prettier: ">=2.2.1 <=2.3.0"
regenerator-runtime: ^0.13.7
ts-dedent: ^2.0.0
+ peerDependencies:
+ "@storybook/mdx2-csf": "*"
+ peerDependenciesMeta:
+ "@storybook/mdx2-csf":
+ optional: true
languageName: unknown
linkType: soft
@@ -7767,6 +7591,22 @@ __metadata:
languageName: node
linkType: hard
+"@storybook/docs-tools@6.5.0-alpha.48, @storybook/docs-tools@workspace:*, @storybook/docs-tools@workspace:lib/docs-tools":
+ version: 0.0.0-use.local
+ resolution: "@storybook/docs-tools@workspace:lib/docs-tools"
+ dependencies:
+ "@babel/core": ^7.12.10
+ "@storybook/csf": 0.0.2--canary.87bc651.0
+ "@storybook/store": 6.5.0-alpha.48
+ core-js: ^3.8.2
+ doctrine: ^3.0.0
+ jest-specific-snapshot: ^4.0.0
+ lodash: ^4.17.21
+ regenerator-runtime: ^0.13.7
+ require-from-string: ^2.0.2
+ languageName: unknown
+ linkType: soft
+
"@storybook/ember-cli-storybook@npm:^0.2.1":
version: 0.2.1
resolution: "@storybook/ember-cli-storybook@npm:0.2.1"
@@ -7779,14 +7619,14 @@ __metadata:
languageName: node
linkType: hard
-"@storybook/ember@6.5.0-alpha.42, @storybook/ember@workspace:*, @storybook/ember@workspace:app/ember":
+"@storybook/ember@6.5.0-alpha.48, @storybook/ember@workspace:*, @storybook/ember@workspace:app/ember":
version: 0.0.0-use.local
resolution: "@storybook/ember@workspace:app/ember"
dependencies:
- "@ember/test-helpers": ^2.1.4
- "@storybook/core": 6.5.0-alpha.42
- "@storybook/core-common": 6.5.0-alpha.42
- "@storybook/store": 6.5.0-alpha.42
+ "@storybook/core": 6.5.0-alpha.48
+ "@storybook/core-common": 6.5.0-alpha.48
+ "@storybook/docs-tools": 6.5.0-alpha.48
+ "@storybook/store": 6.5.0-alpha.48
core-js: ^3.8.2
global: ^4.4.0
react: 16.14.0
@@ -7819,10 +7659,10 @@ __metadata:
version: 0.0.0-use.local
resolution: "@storybook/example-react-ts-webpack4@workspace:examples/react-ts-webpack4"
dependencies:
- "@storybook/addon-controls": 6.5.0-alpha.42
- "@storybook/addon-essentials": 6.5.0-alpha.42
- "@storybook/builder-webpack4": 6.5.0-alpha.42
- "@storybook/react": 6.5.0-alpha.42
+ "@storybook/addon-controls": 6.5.0-alpha.48
+ "@storybook/addon-essentials": 6.5.0-alpha.48
+ "@storybook/builder-webpack4": 6.5.0-alpha.48
+ "@storybook/react": 6.5.0-alpha.48
"@types/react": ^16.14.23
"@types/react-dom": ^16.9.14
prop-types: 15.7.2
@@ -7840,13 +7680,13 @@ __metadata:
"@babel/preset-env": ^7.12.11
"@babel/preset-react": ^7.12.10
"@babel/preset-typescript": ^7.12.7
- "@storybook/addon-essentials": 6.5.0-alpha.42
- "@storybook/addon-storyshots": 6.5.0-alpha.42
- "@storybook/addon-storysource": 6.5.0-alpha.42
- "@storybook/cli": 6.5.0-alpha.42
- "@storybook/components": 6.5.0-alpha.42
- "@storybook/react": 6.5.0-alpha.42
- "@storybook/theming": 6.5.0-alpha.42
+ "@storybook/addon-essentials": 6.5.0-alpha.48
+ "@storybook/addon-storyshots": 6.5.0-alpha.48
+ "@storybook/addon-storysource": 6.5.0-alpha.48
+ "@storybook/cli": 6.5.0-alpha.48
+ "@storybook/components": 6.5.0-alpha.48
+ "@storybook/react": 6.5.0-alpha.48
+ "@storybook/theming": 6.5.0-alpha.48
"@testing-library/dom": ^7.31.2
"@testing-library/user-event": ^13.1.9
"@types/babel__preset-env": ^7
@@ -7871,17 +7711,17 @@ __metadata:
languageName: node
linkType: hard
-"@storybook/html@6.5.0-alpha.42, @storybook/html@workspace:*, @storybook/html@workspace:app/html":
+"@storybook/html@6.5.0-alpha.48, @storybook/html@workspace:*, @storybook/html@workspace:app/html":
version: 0.0.0-use.local
resolution: "@storybook/html@workspace:app/html"
dependencies:
- "@storybook/addons": 6.5.0-alpha.42
- "@storybook/client-api": 6.5.0-alpha.42
- "@storybook/core": 6.5.0-alpha.42
- "@storybook/core-common": 6.5.0-alpha.42
+ "@storybook/addons": 6.5.0-alpha.48
+ "@storybook/core": 6.5.0-alpha.48
+ "@storybook/core-common": 6.5.0-alpha.48
"@storybook/csf": 0.0.2--canary.87bc651.0
- "@storybook/preview-web": 6.5.0-alpha.42
- "@storybook/store": 6.5.0-alpha.42
+ "@storybook/docs-tools": 6.5.0-alpha.48
+ "@storybook/preview-web": 6.5.0-alpha.48
+ "@storybook/store": 6.5.0-alpha.48
"@types/node": ^14.14.20 || ^16.0.0
"@types/webpack-env": ^1.16.0
core-js: ^3.8.2
@@ -7892,6 +7732,7 @@ __metadata:
read-pkg-up: ^7.0.1
regenerator-runtime: ^0.13.7
ts-dedent: ^2.0.0
+ webpack: 4
peerDependencies:
"@babel/core": "*"
bin:
@@ -7901,25 +7742,13 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/instrumenter@6.5.0-alpha.39, @storybook/instrumenter@^6.4.0 || >=6.5.0-0, @storybook/instrumenter@workspace:*, @storybook/instrumenter@workspace:lib/instrumenter":
- version: 0.0.0-use.local
- resolution: "@storybook/instrumenter@workspace:lib/instrumenter"
- dependencies:
- "@storybook/addons": 6.5.0-alpha.42
- "@storybook/client-logger": 6.5.0-alpha.42
- "@storybook/core-events": 6.5.0-alpha.42
- core-js: ^3.8.2
- global: ^4.4.0
- languageName: unknown
- linkType: soft
-
-"@storybook/instrumenter@6.5.0-alpha.42, @storybook/instrumenter@workspace:*, @storybook/instrumenter@workspace:lib/instrumenter":
+"@storybook/instrumenter@6.5.0-alpha.48, @storybook/instrumenter@^6.4.0 || >=6.5.0-0, @storybook/instrumenter@workspace:*, @storybook/instrumenter@workspace:lib/instrumenter":
version: 0.0.0-use.local
resolution: "@storybook/instrumenter@workspace:lib/instrumenter"
dependencies:
- "@storybook/addons": 6.5.0-alpha.42
- "@storybook/client-logger": 6.5.0-alpha.42
- "@storybook/core-events": 6.5.0-alpha.42
+ "@storybook/addons": 6.5.0-alpha.48
+ "@storybook/client-logger": 6.5.0-alpha.48
+ "@storybook/core-events": 6.5.0-alpha.48
core-js: ^3.8.2
global: ^4.4.0
languageName: unknown
@@ -7977,19 +7806,19 @@ __metadata:
languageName: node
linkType: hard
-"@storybook/manager-webpack4@6.5.0-alpha.42, @storybook/manager-webpack4@workspace:lib/manager-webpack4":
+"@storybook/manager-webpack4@6.5.0-alpha.48, @storybook/manager-webpack4@workspace:lib/manager-webpack4":
version: 0.0.0-use.local
resolution: "@storybook/manager-webpack4@workspace:lib/manager-webpack4"
dependencies:
"@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.42
- "@storybook/core-client": 6.5.0-alpha.42
- "@storybook/core-common": 6.5.0-alpha.42
- "@storybook/node-logger": 6.5.0-alpha.42
- "@storybook/theming": 6.5.0-alpha.42
- "@storybook/ui": 6.5.0-alpha.42
+ "@storybook/addons": 6.5.0-alpha.48
+ "@storybook/core-client": 6.5.0-alpha.48
+ "@storybook/core-common": 6.5.0-alpha.48
+ "@storybook/node-logger": 6.5.0-alpha.48
+ "@storybook/theming": 6.5.0-alpha.48
+ "@storybook/ui": 6.5.0-alpha.48
"@types/case-sensitive-paths-webpack-plugin": ^2.1.4
"@types/node": ^14.0.10 || ^16.0.0
"@types/terser-webpack-plugin": ^4.2.0
@@ -8036,12 +7865,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.42
- "@storybook/core-client": 6.5.0-alpha.42
- "@storybook/core-common": 6.5.0-alpha.42
- "@storybook/node-logger": 6.5.0-alpha.42
- "@storybook/theming": 6.5.0-alpha.42
- "@storybook/ui": 6.5.0-alpha.42
+ "@storybook/addons": 6.5.0-alpha.48
+ "@storybook/core-client": 6.5.0-alpha.48
+ "@storybook/core-common": 6.5.0-alpha.48
+ "@storybook/node-logger": 6.5.0-alpha.48
+ "@storybook/theming": 6.5.0-alpha.48
+ "@storybook/ui": 6.5.0-alpha.48
"@types/case-sensitive-paths-webpack-plugin": ^2.1.4
"@types/node": ^14.0.10 || ^16.0.0
"@types/terser-webpack-plugin": ^5.0.2
@@ -8078,7 +7907,42 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/node-logger@6.5.0-alpha.42, @storybook/node-logger@workspace:*, @storybook/node-logger@workspace:lib/node-logger":
+"@storybook/mdx1-csf@npm:canary":
+ version: 0.0.1-canary.1.867dcd5.0
+ resolution: "@storybook/mdx1-csf@npm:0.0.1-canary.1.867dcd5.0"
+ dependencies:
+ "@babel/generator": ^7.12.11
+ "@babel/parser": ^7.12.11
+ "@babel/preset-env": ^7.12.11
+ "@babel/types": ^7.12.11
+ "@mdx-js/mdx": ^1.6.22
+ "@types/lodash": ^4.14.167
+ js-string-escape: ^1.0.1
+ loader-utils: ^2.0.0
+ lodash: ^4.17.21
+ prettier: ">=2.2.1 <=2.3.0"
+ ts-dedent: ^2.0.0
+ checksum: bf3ea30731250cc945b9a3f18396ce308da6c29c7569ea5ae8eaf17a5b472255c1f618120f230d34e3013df3805f31fe2a254b2b2478f58c1472ae3288bd86a1
+ languageName: node
+ linkType: hard
+
+"@storybook/mdx2-csf@npm:canary":
+ version: 0.0.1-canary.1.357011b.0
+ resolution: "@storybook/mdx2-csf@npm:0.0.1-canary.1.357011b.0"
+ dependencies:
+ "@babel/generator": ^7.12.11
+ "@babel/parser": ^7.12.11
+ "@mdx-js/mdx": ^2.0.0
+ estree-to-babel: ^4.9.0
+ hast-util-to-estree: ^2.0.2
+ js-string-escape: ^1.0.1
+ loader-utils: ^2.0.0
+ lodash: ^4.17.21
+ checksum: d478936e21773fdb7a182160d61aa951b71edde927c97e095a2557dce80f3f263ae91fe818491713ffe834034370189a2fa17d672275d881c841a2277bbf89d0
+ languageName: node
+ linkType: hard
+
+"@storybook/node-logger@6.5.0-alpha.48, @storybook/node-logger@workspace:*, @storybook/node-logger@workspace:lib/node-logger":
version: 0.0.0-use.local
resolution: "@storybook/node-logger@workspace:lib/node-logger"
dependencies:
@@ -8092,19 +7956,19 @@ __metadata:
linkType: soft
"@storybook/node-logger@npm:*, @storybook/node-logger@npm:^6.1.14":
- version: 6.4.15
- resolution: "@storybook/node-logger@npm:6.4.15"
+ version: 6.4.19
+ resolution: "@storybook/node-logger@npm:6.4.19"
dependencies:
"@types/npmlog": ^4.1.2
chalk: ^4.1.0
core-js: ^3.8.2
npmlog: ^5.0.1
pretty-hrtime: ^1.0.3
- checksum: 65e7fbcd3164e65e4d944ffce42c02f0fbef38df15955912e0603d7cbc58ba17133d0f615253ac93e1d1a36008128ce6bdc8ac767aba9c6e97371655b1896090
+ checksum: 5454a0ca8b63e03855611c873f99bda73400d990a6b978bbb90b00f5379940623cd554d62d2474c163172c277592e081e3166c03d008fe5cfc1f9a0e39c886a5
languageName: node
linkType: hard
-"@storybook/postinstall@6.5.0-alpha.42, @storybook/postinstall@workspace:*, @storybook/postinstall@workspace:lib/postinstall":
+"@storybook/postinstall@6.5.0-alpha.48, @storybook/postinstall@workspace:*, @storybook/postinstall@workspace:lib/postinstall":
version: 0.0.0-use.local
resolution: "@storybook/postinstall@workspace:lib/postinstall"
dependencies:
@@ -8115,16 +7979,16 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/preact@6.5.0-alpha.42, @storybook/preact@workspace:*, @storybook/preact@workspace:app/preact":
+"@storybook/preact@6.5.0-alpha.48, @storybook/preact@workspace:*, @storybook/preact@workspace:app/preact":
version: 0.0.0-use.local
resolution: "@storybook/preact@workspace:app/preact"
dependencies:
"@babel/plugin-transform-react-jsx": ^7.12.12
- "@storybook/addons": 6.5.0-alpha.42
- "@storybook/core": 6.5.0-alpha.42
- "@storybook/core-common": 6.5.0-alpha.42
+ "@storybook/addons": 6.5.0-alpha.48
+ "@storybook/core": 6.5.0-alpha.48
+ "@storybook/core-common": 6.5.0-alpha.48
"@storybook/csf": 0.0.2--canary.87bc651.0
- "@storybook/store": 6.5.0-alpha.42
+ "@storybook/store": 6.5.0-alpha.48
"@types/node": ^14.14.20 || ^16.0.0
"@types/webpack-env": ^1.16.0
core-js: ^3.8.2
@@ -8177,16 +8041,16 @@ __metadata:
languageName: node
linkType: hard
-"@storybook/preview-web@6.5.0-alpha.42, @storybook/preview-web@workspace:*, @storybook/preview-web@workspace:lib/preview-web":
+"@storybook/preview-web@6.5.0-alpha.48, @storybook/preview-web@workspace:*, @storybook/preview-web@workspace:lib/preview-web":
version: 0.0.0-use.local
resolution: "@storybook/preview-web@workspace:lib/preview-web"
dependencies:
- "@storybook/addons": 6.5.0-alpha.42
- "@storybook/channel-postmessage": 6.5.0-alpha.42
- "@storybook/client-logger": 6.5.0-alpha.42
- "@storybook/core-events": 6.5.0-alpha.42
+ "@storybook/addons": 6.5.0-alpha.48
+ "@storybook/channel-postmessage": 6.5.0-alpha.48
+ "@storybook/client-logger": 6.5.0-alpha.48
+ "@storybook/core-events": 6.5.0-alpha.48
"@storybook/csf": 0.0.2--canary.87bc651.0
- "@storybook/store": 6.5.0-alpha.42
+ "@storybook/store": 6.5.0-alpha.48
ansi-to-html: ^0.6.11
core-js: ^3.8.2
global: ^4.4.0
@@ -8221,41 +8085,51 @@ __metadata:
languageName: node
linkType: hard
-"@storybook/react@6.5.0-alpha.42, @storybook/react@workspace:*, @storybook/react@workspace:app/react":
+"@storybook/react@6.5.0-alpha.48, @storybook/react@workspace:*, @storybook/react@workspace:app/react":
version: 0.0.0-use.local
resolution: "@storybook/react@workspace:app/react"
dependencies:
"@babel/preset-flow": ^7.12.1
"@babel/preset-react": ^7.12.10
"@pmmmwh/react-refresh-webpack-plugin": ^0.5.3
- "@storybook/addons": 6.5.0-alpha.42
- "@storybook/client-api": 6.5.0-alpha.42
- "@storybook/core": 6.5.0-alpha.42
- "@storybook/core-common": 6.5.0-alpha.42
+ "@storybook/addons": 6.5.0-alpha.48
+ "@storybook/client-logger": 6.5.0-alpha.48
+ "@storybook/core": 6.5.0-alpha.48
+ "@storybook/core-common": 6.5.0-alpha.48
"@storybook/csf": 0.0.2--canary.87bc651.0
- "@storybook/node-logger": 6.5.0-alpha.42
+ "@storybook/docs-tools": 6.5.0-alpha.48
+ "@storybook/node-logger": 6.5.0-alpha.48
"@storybook/react-docgen-typescript-plugin": 1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0
"@storybook/semver": ^7.3.2
- "@storybook/store": 6.5.0-alpha.42
+ "@storybook/store": 6.5.0-alpha.48
+ "@types/estree": ^0.0.51
"@types/node": ^14.14.20 || ^16.0.0
- "@types/prompts": ^2.0.9
+ "@types/util-deprecate": ^1.0.0
"@types/webpack-env": ^1.16.0
+ acorn: ^7.4.1
+ acorn-jsx: ^5.3.1
+ acorn-walk: ^7.2.0
babel-plugin-add-react-displayname: ^0.0.5
- babel-plugin-named-asset-import: ^0.3.1
babel-plugin-react-docgen: ^4.2.1
core-js: ^3.8.2
+ escodegen: ^2.0.0
global: ^4.4.0
+ html-tags: ^3.1.0
lodash: ^4.17.21
prop-types: ^15.7.2
+ react-element-to-jsx-string: ^14.3.4
react-refresh: ^0.11.0
read-pkg-up: ^7.0.1
regenerator-runtime: ^0.13.7
ts-dedent: ^2.0.0
+ util-deprecate: ^1.0.2
webpack: 4
peerDependencies:
"@babel/core": ^7.11.5
+ jest-specific-snapshot: ^4.0.0
react: ^16.8.0 || ^17.0.0
react-dom: ^16.8.0 || ^17.0.0
+ require-from-string: ^2.0.2
peerDependenciesMeta:
"@babel/core":
optional: true
@@ -8280,23 +8154,23 @@ __metadata:
version: 0.0.0-use.local
resolution: "@storybook/root@workspace:."
dependencies:
- "@babel/cli": ^7.12.10
- "@babel/core": ^7.12.10
- "@babel/plugin-proposal-class-properties": ^7.12.1
- "@babel/plugin-proposal-decorators": ^7.12.12
- "@babel/plugin-proposal-export-default-from": ^7.12.1
- "@babel/plugin-proposal-object-rest-spread": ^7.12.1
- "@babel/plugin-proposal-private-methods": ^7.12.1
+ "@babel/cli": ^7.17.6
+ "@babel/core": ^7.17.5
+ "@babel/plugin-proposal-class-properties": ^7.16.7
+ "@babel/plugin-proposal-decorators": ^7.17.2
+ "@babel/plugin-proposal-export-default-from": ^7.16.7
+ "@babel/plugin-proposal-object-rest-spread": ^7.17.3
+ "@babel/plugin-proposal-private-methods": ^7.16.11
"@babel/plugin-syntax-dynamic-import": ^7.8.3
- "@babel/plugin-transform-arrow-functions": ^7.13.0
- "@babel/plugin-transform-block-scoping": ^7.13.16
- "@babel/plugin-transform-destructuring": ^7.13.17
- "@babel/plugin-transform-shorthand-properties": ^7.12.13
- "@babel/preset-env": ^7.12.11
- "@babel/preset-flow": ^7.12.1
- "@babel/preset-react": ^7.12.10
- "@babel/preset-typescript": ^7.12.7
- "@babel/runtime": ^7.12.5
+ "@babel/plugin-transform-arrow-functions": ^7.16.7
+ "@babel/plugin-transform-block-scoping": ^7.16.7
+ "@babel/plugin-transform-destructuring": ^7.17.3
+ "@babel/plugin-transform-shorthand-properties": ^7.16.7
+ "@babel/preset-env": ^7.16.11
+ "@babel/preset-flow": ^7.16.7
+ "@babel/preset-react": ^7.16.7
+ "@babel/preset-typescript": ^7.16.7
+ "@babel/runtime": ^7.17.2
"@compodoc/compodoc": ^1.1.18
"@cypress/skip-test": ^2.6.1
"@cypress/webpack-preprocessor": ^5.9.1
@@ -8307,7 +8181,7 @@ __metadata:
"@nrwl/nx-cloud": 12.1.1
"@nrwl/tao": 12.3.4
"@nrwl/workspace": 12.3.4
- "@rollup/plugin-babel": ^5.3.0
+ "@rollup/plugin-babel": ^5.3.1
"@rollup/plugin-commonjs": ^21.0.1
"@rollup/plugin-json": ^4.1.0
"@rollup/plugin-node-resolve": ^13.0.6
@@ -8343,6 +8217,7 @@ __metadata:
"@storybook/core": "workspace:*"
"@storybook/core-events": "workspace:*"
"@storybook/csf-tools": "workspace:*"
+ "@storybook/docs-tools": "workspace:*"
"@storybook/ember": "workspace:*"
"@storybook/eslint-config-storybook": ^2.4.0
"@storybook/html": "workspace:*"
@@ -8369,7 +8244,7 @@ __metadata:
"@testing-library/jest-dom": ^5.11.9
"@testing-library/react": ^11.2.2
"@testing-library/user-event": ^13.2.1
- "@types/detect-port": ^1.3.0
+ "@types/detect-port": ^1.3.2
"@types/doctrine": ^0.0.3
"@types/enzyme": ^3.10.8
"@types/escodegen": ^0.0.6
@@ -8402,7 +8277,7 @@ __metadata:
codecov: ^3.8.1
commander: ^6.2.1
concurrently: ^5.3.0
- core-js: ^3.8.2
+ core-js: ^3.21.1
cross-env: ^7.0.3
cypress: 8.7.0
danger: ^10.6.2
@@ -8463,7 +8338,7 @@ __metadata:
rollup-plugin-jsx: ^1.0.3
rollup-plugin-terser: ^7.0.2
serve-static: ^1.14.1
- shelljs: ^0.8.4
+ shelljs: ^0.8.5
shx: ^0.3.2
sort-package-json: ^1.48.1
teamcity-service-messages: ^0.1.11
@@ -8523,11 +8398,11 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/router@6.5.0-alpha.42, @storybook/router@workspace:*, @storybook/router@workspace:lib/router":
+"@storybook/router@6.5.0-alpha.48, @storybook/router@workspace:*, @storybook/router@workspace:lib/router":
version: 0.0.0-use.local
resolution: "@storybook/router@workspace:lib/router"
dependencies:
- "@storybook/client-logger": 6.5.0-alpha.42
+ "@storybook/client-logger": 6.5.0-alpha.48
core-js: ^3.8.2
fast-deep-equal: ^3.1.3
global: ^4.4.0
@@ -8580,19 +8455,19 @@ __metadata:
languageName: node
linkType: hard
-"@storybook/server@6.5.0-alpha.42, @storybook/server@workspace:*, @storybook/server@workspace:app/server":
+"@storybook/server@6.5.0-alpha.48, @storybook/server@workspace:*, @storybook/server@workspace:app/server":
version: 0.0.0-use.local
resolution: "@storybook/server@workspace:app/server"
dependencies:
- "@storybook/addons": 6.5.0-alpha.42
- "@storybook/api": 6.5.0-alpha.42
- "@storybook/client-api": 6.5.0-alpha.42
- "@storybook/core": 6.5.0-alpha.42
- "@storybook/core-common": 6.5.0-alpha.42
+ "@storybook/addons": 6.5.0-alpha.48
+ "@storybook/api": 6.5.0-alpha.48
+ "@storybook/client-api": 6.5.0-alpha.48
+ "@storybook/core": 6.5.0-alpha.48
+ "@storybook/core-common": 6.5.0-alpha.48
"@storybook/csf": 0.0.2--canary.87bc651.0
- "@storybook/node-logger": 6.5.0-alpha.42
- "@storybook/preview-web": 6.5.0-alpha.42
- "@storybook/store": 6.5.0-alpha.42
+ "@storybook/node-logger": 6.5.0-alpha.48
+ "@storybook/preview-web": 6.5.0-alpha.48
+ "@storybook/store": 6.5.0-alpha.48
"@types/node": ^14.14.20 || ^16.0.0
"@types/webpack-env": ^1.16.0
core-js: ^3.8.2
@@ -8613,12 +8488,12 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/source-loader@6.5.0-alpha.42, @storybook/source-loader@workspace:*, @storybook/source-loader@workspace:lib/source-loader":
+"@storybook/source-loader@6.5.0-alpha.48, @storybook/source-loader@workspace:*, @storybook/source-loader@workspace:lib/source-loader":
version: 0.0.0-use.local
resolution: "@storybook/source-loader@workspace:lib/source-loader"
dependencies:
- "@storybook/addons": 6.5.0-alpha.42
- "@storybook/client-logger": 6.5.0-alpha.42
+ "@storybook/addons": 6.5.0-alpha.48
+ "@storybook/client-logger": 6.5.0-alpha.48
"@storybook/csf": 0.0.2--canary.87bc651.0
core-js: ^3.8.2
estraverse: ^5.2.0
@@ -8633,13 +8508,13 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/store@6.5.0-alpha.42, @storybook/store@workspace:*, @storybook/store@workspace:lib/store":
+"@storybook/store@6.5.0-alpha.48, @storybook/store@workspace:*, @storybook/store@workspace:lib/store":
version: 0.0.0-use.local
resolution: "@storybook/store@workspace:lib/store"
dependencies:
- "@storybook/addons": 6.5.0-alpha.42
- "@storybook/client-logger": 6.5.0-alpha.42
- "@storybook/core-events": 6.5.0-alpha.42
+ "@storybook/addons": 6.5.0-alpha.48
+ "@storybook/client-logger": 6.5.0-alpha.48
+ "@storybook/core-events": 6.5.0-alpha.48
"@storybook/csf": 0.0.2--canary.87bc651.0
core-js: ^3.8.2
fast-deep-equal: ^3.1.3
@@ -8658,26 +8533,32 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/svelte@6.5.0-alpha.42, @storybook/svelte@workspace:*, @storybook/svelte@workspace:app/svelte":
+"@storybook/svelte@6.5.0-alpha.48, @storybook/svelte@workspace:*, @storybook/svelte@workspace:app/svelte":
version: 0.0.0-use.local
resolution: "@storybook/svelte@workspace:app/svelte"
dependencies:
- "@storybook/addons": 6.5.0-alpha.42
- "@storybook/core": 6.5.0-alpha.42
- "@storybook/core-common": 6.5.0-alpha.42
+ "@storybook/addons": 6.5.0-alpha.48
+ "@storybook/client-logger": 6.5.0-alpha.48
+ "@storybook/core": 6.5.0-alpha.48
+ "@storybook/core-common": 6.5.0-alpha.48
"@storybook/csf": 0.0.2--canary.87bc651.0
- "@storybook/store": 6.5.0-alpha.42
+ "@storybook/docs-tools": 6.5.0-alpha.48
+ "@storybook/node-logger": 6.5.0-alpha.48
+ "@storybook/store": 6.5.0-alpha.48
+ "@types/loader-utils": ^2.0.0
"@types/webpack-env": ^1.16.0
core-js: ^3.8.2
global: ^4.4.0
+ loader-utils: ^2.0.0
react: 16.14.0
react-dom: 16.14.0
read-pkg-up: ^7.0.1
regenerator-runtime: ^0.13.7
svelte: ^3.31.2
svelte-loader: ^3.0.0
- sveltedoc-parser: ^4.1.0
+ sveltedoc-parser: 4.1.0
ts-dedent: ^2.0.0
+ webpack: 4
peerDependencies:
"@babel/core": "*"
svelte: ^3.1.0
@@ -8702,14 +8583,14 @@ __metadata:
languageName: node
linkType: hard
-"@storybook/theming@6.5.0-alpha.42, @storybook/theming@workspace:*, @storybook/theming@workspace:lib/theming":
+"@storybook/theming@6.5.0-alpha.48, @storybook/theming@workspace:*, @storybook/theming@workspace:lib/theming":
version: 0.0.0-use.local
resolution: "@storybook/theming@workspace:lib/theming"
dependencies:
"@emotion/core": ^10.3.1
"@emotion/is-prop-valid": ^0.8.6
"@emotion/styled": ^10.0.27
- "@storybook/client-logger": 6.5.0-alpha.42
+ "@storybook/client-logger": 6.5.0-alpha.48
"@types/node": ^14.14.20 || ^16.0.0
core-js: ^3.8.2
deep-object-diff: ^1.1.0
@@ -8749,20 +8630,20 @@ __metadata:
languageName: node
linkType: hard
-"@storybook/ui@6.5.0-alpha.42, @storybook/ui@workspace:*, @storybook/ui@workspace:lib/ui":
+"@storybook/ui@6.5.0-alpha.48, @storybook/ui@workspace:*, @storybook/ui@workspace:lib/ui":
version: 0.0.0-use.local
resolution: "@storybook/ui@workspace:lib/ui"
dependencies:
"@babel/core": ^7.12.10
- "@storybook/addons": 6.5.0-alpha.42
- "@storybook/api": 6.5.0-alpha.42
- "@storybook/channels": 6.5.0-alpha.42
- "@storybook/client-logger": 6.5.0-alpha.42
- "@storybook/components": 6.5.0-alpha.42
- "@storybook/core-events": 6.5.0-alpha.42
- "@storybook/router": 6.5.0-alpha.42
+ "@storybook/addons": 6.5.0-alpha.48
+ "@storybook/api": 6.5.0-alpha.48
+ "@storybook/channels": 6.5.0-alpha.48
+ "@storybook/client-logger": 6.5.0-alpha.48
+ "@storybook/components": 6.5.0-alpha.48
+ "@storybook/core-events": 6.5.0-alpha.48
+ "@storybook/router": 6.5.0-alpha.48
"@storybook/semver": ^7.3.2
- "@storybook/theming": 6.5.0-alpha.42
+ "@storybook/theming": 6.5.0-alpha.48
"@testing-library/react": ^11.2.2
copy-to-clipboard: ^3.3.1
core-js: ^3.8.2
@@ -8791,15 +8672,16 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/vue3@6.5.0-alpha.42, @storybook/vue3@workspace:app/vue3":
+"@storybook/vue3@6.5.0-alpha.48, @storybook/vue3@workspace:app/vue3":
version: 0.0.0-use.local
resolution: "@storybook/vue3@workspace:app/vue3"
dependencies:
- "@storybook/addons": 6.5.0-alpha.42
- "@storybook/core": 6.5.0-alpha.42
- "@storybook/core-common": 6.5.0-alpha.42
+ "@storybook/addons": 6.5.0-alpha.48
+ "@storybook/core": 6.5.0-alpha.48
+ "@storybook/core-common": 6.5.0-alpha.48
"@storybook/csf": 0.0.2--canary.87bc651.0
- "@storybook/store": 6.5.0-alpha.42
+ "@storybook/docs-tools": 6.5.0-alpha.48
+ "@storybook/store": 6.5.0-alpha.48
"@types/node": ^14.14.20 || ^16.0.0
"@types/webpack-env": ^1.16.0
"@vue/compiler-sfc": 3.0.0
@@ -8828,19 +8710,22 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/vue@6.5.0-alpha.42, @storybook/vue@workspace:*, @storybook/vue@workspace:app/vue":
+"@storybook/vue@6.5.0-alpha.48, @storybook/vue@workspace:*, @storybook/vue@workspace:app/vue":
version: 0.0.0-use.local
resolution: "@storybook/vue@workspace:app/vue"
dependencies:
- "@storybook/addons": 6.5.0-alpha.42
- "@storybook/core": 6.5.0-alpha.42
- "@storybook/core-common": 6.5.0-alpha.42
+ "@storybook/addons": 6.5.0-alpha.48
+ "@storybook/client-logger": 6.5.0-alpha.48
+ "@storybook/core": 6.5.0-alpha.48
+ "@storybook/core-common": 6.5.0-alpha.48
"@storybook/csf": 0.0.2--canary.87bc651.0
- "@storybook/store": 6.5.0-alpha.42
+ "@storybook/docs-tools": 6.5.0-alpha.48
+ "@storybook/store": 6.5.0-alpha.48
"@types/node": ^14.14.20 || ^16.0.0
"@types/webpack-env": ^1.16.0
core-js: ^3.8.2
global: ^4.4.0
+ prettier: ">=2.2.1 <=2.3.0"
react: 16.14.0
react-dom: 16.14.0
read-pkg-up: ^7.0.1
@@ -8867,20 +8752,22 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/web-components@6.5.0-alpha.42, @storybook/web-components@workspace:*, @storybook/web-components@workspace:app/web-components":
+"@storybook/web-components@workspace:*, @storybook/web-components@workspace:app/web-components":
version: 0.0.0-use.local
resolution: "@storybook/web-components@workspace:app/web-components"
dependencies:
"@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.42
- "@storybook/client-api": 6.5.0-alpha.42
- "@storybook/core": 6.5.0-alpha.42
- "@storybook/core-common": 6.5.0-alpha.42
+ "@storybook/addons": 6.5.0-alpha.48
+ "@storybook/client-api": 6.5.0-alpha.48
+ "@storybook/client-logger": 6.5.0-alpha.48
+ "@storybook/core": 6.5.0-alpha.48
+ "@storybook/core-common": 6.5.0-alpha.48
"@storybook/csf": 0.0.2--canary.87bc651.0
- "@storybook/preview-web": 6.5.0-alpha.42
- "@storybook/store": 6.5.0-alpha.42
+ "@storybook/docs-tools": 6.5.0-alpha.48
+ "@storybook/preview-web": 6.5.0-alpha.48
+ "@storybook/store": 6.5.0-alpha.48
"@types/node": ^14.14.20 || ^16.0.0
"@types/webpack-env": ^1.16.0
babel-plugin-bundled-import-meta: ^0.3.1
@@ -9228,24 +9115,7 @@ __metadata:
languageName: node
linkType: hard
-"@testing-library/jest-dom@npm:^5.11.9":
- version: 5.16.1
- resolution: "@testing-library/jest-dom@npm:5.16.1"
- dependencies:
- "@babel/runtime": ^7.9.2
- "@types/testing-library__jest-dom": ^5.9.1
- aria-query: ^5.0.0
- chalk: ^3.0.0
- css: ^3.0.0
- css.escape: ^1.5.1
- dom-accessibility-api: ^0.5.6
- lodash: ^4.17.15
- redent: ^3.0.0
- checksum: a510110bb3f37597a315bd2625162c1833432e8e86f15187294137059da443bb6cdf9bff320490ff482319da845f09ef8a5395040d1d1308c240fc6edd588b27
- languageName: node
- linkType: hard
-
-"@testing-library/jest-dom@npm:^5.16.2":
+"@testing-library/jest-dom@npm:^5.11.9, @testing-library/jest-dom@npm:^5.16.2":
version: 5.16.2
resolution: "@testing-library/jest-dom@npm:5.16.2"
dependencies:
@@ -9293,6 +9163,13 @@ __metadata:
languageName: node
linkType: hard
+"@tootallnate/once@npm:2":
+ version: 2.0.0
+ resolution: "@tootallnate/once@npm:2.0.0"
+ checksum: 073bfa548026b1ebaf1659eb8961e526be22fa77139b10d60e712f46d2f0f05f4e6c8bec62a087d41088ee9e29faa7f54838568e475ab2f776171003c3920858
+ languageName: node
+ linkType: hard
+
"@trysound/sax@npm:0.2.0":
version: 0.2.0
resolution: "@trysound/sax@npm:0.2.0"
@@ -9340,6 +9217,15 @@ __metadata:
languageName: node
linkType: hard
+"@types/acorn@npm:^4.0.0":
+ version: 4.0.6
+ resolution: "@types/acorn@npm:4.0.6"
+ dependencies:
+ "@types/estree": "*"
+ checksum: 5a65a1d7e91fc95703f0a717897be60fa7ccd34b17f5462056274a246e6690259fe0a1baabc86fd3260354f87245cb3dc483346d7faad2b78fc199763978ede9
+ languageName: node
+ linkType: hard
+
"@types/aria-query@npm:^4.2.0":
version: 4.2.2
resolution: "@types/aria-query@npm:4.2.2"
@@ -9357,7 +9243,7 @@ __metadata:
languageName: node
linkType: hard
-"@types/babel__core@npm:^7.0.0, @types/babel__core@npm:^7.1.0, @types/babel__core@npm:^7.1.7":
+"@types/babel__core@npm:^7.0.0, @types/babel__core@npm:^7.1.0, @types/babel__core@npm:^7.1.12, @types/babel__core@npm:^7.1.7":
version: 7.1.18
resolution: "@types/babel__core@npm:7.1.18"
dependencies:
@@ -9432,11 +9318,11 @@ __metadata:
linkType: hard
"@types/chai-as-promised@npm:^7.1.2":
- version: 7.1.4
- resolution: "@types/chai-as-promised@npm:7.1.4"
+ version: 7.1.5
+ resolution: "@types/chai-as-promised@npm:7.1.5"
dependencies:
"@types/chai": "*"
- checksum: cc87415c7d7abb49000523b386f21ded20272da093e10e5cbf8e3b589c7ee8a63ed147e422f6d032378e3b061f4b39b7eb5c230a6485396991c026c7f1a9d707
+ checksum: 3c8ef2872e55380be045d071a5a7cbe1647578b7e2836c0d38b2e263ffb04e5c361cdd6b1f344b93a1d2044c7eced217e2930eaa36d737fb29912ed928fc6d8b
languageName: node
linkType: hard
@@ -9448,11 +9334,11 @@ __metadata:
linkType: hard
"@types/cheerio@npm:*, @types/cheerio@npm:^0.22.22":
- version: 0.22.30
- resolution: "@types/cheerio@npm:0.22.30"
+ version: 0.22.31
+ resolution: "@types/cheerio@npm:0.22.31"
dependencies:
"@types/node": "*"
- checksum: b5ade8b6936a176a7dcbc8b5ca458d8c349f97ebaebc7a897df09aa3ffb7e9194c39e494feb786c1d34143dcbabbc0247b7f71bf20a5173c5366dd0a362b2436
+ checksum: f16e9e67e3af530c3603b4b9f7651b9223ca72944afccaa31dd39be858a90bd48d5206d36b05998a0389fedca158f22430f96796007000f34b2dd8dd6b193f6e
languageName: node
linkType: hard
@@ -9544,7 +9430,16 @@ __metadata:
languageName: node
linkType: hard
-"@types/detect-port@npm:^1.3.0":
+"@types/debug@npm:^4.0.0":
+ version: 4.1.7
+ resolution: "@types/debug@npm:4.1.7"
+ dependencies:
+ "@types/ms": "*"
+ checksum: 742b752b60e14a752d9bf172e64f28e172f630b9933e763d2b54c7c8c1f33b99b1ef067d7312665a4d0539d8df7ea3eb664a8039f900e4b8234c647a569d123a
+ languageName: node
+ linkType: hard
+
+"@types/detect-port@npm:^1.3.2":
version: 1.3.2
resolution: "@types/detect-port@npm:1.3.2"
checksum: 4c9ab349b8724e32879c1d241c374e674ce040783dc6768b19d844afff011d1a70adaaf93bf96e1ed33eef9c88cc6c27ce7dce82a1cec8c6e9992ae445a5a255
@@ -9575,7 +9470,7 @@ __metadata:
languageName: node
linkType: hard
-"@types/eslint-scope@npm:^3.7.0":
+"@types/eslint-scope@npm:^3.7.3":
version: 3.7.3
resolution: "@types/eslint-scope@npm:3.7.3"
dependencies:
@@ -9612,10 +9507,19 @@ __metadata:
languageName: node
linkType: hard
-"@types/estree@npm:*, @types/estree@npm:^0.0.50":
- version: 0.0.50
- resolution: "@types/estree@npm:0.0.50"
- checksum: e72326154f3910a7928a7a2b387604c4a05c590a79f3c79d54c88f136476bce9bdfdfffe0586f1aeb60e05bb84256a9307f8e297c51ededa6d195277cd8a603b
+"@types/estree-jsx@npm:^0.0.1":
+ version: 0.0.1
+ resolution: "@types/estree-jsx@npm:0.0.1"
+ dependencies:
+ "@types/estree": "*"
+ checksum: b506c1dbfe3e01fdc8229f050bfad254dfd86d3e862defab1ad948a0d9d18ec173a65a576b2b4ab2f3a6989b487754068d3891fb0c202e99300f9f6d78f182e0
+ languageName: node
+ linkType: hard
+
+"@types/estree@npm:*, @types/estree@npm:^0.0.51":
+ version: 0.0.51
+ resolution: "@types/estree@npm:0.0.51"
+ checksum: a70c60d5e634e752fcd45b58c9c046ef22ad59ede4bc93ad5193c7e3b736ebd6bcd788ade59d9c3b7da6eeb0939235f011d4c59bb4fc04d8c346b76035099dd1
languageName: node
linkType: hard
@@ -9626,10 +9530,17 @@ __metadata:
languageName: node
linkType: hard
-"@types/estree@npm:^0.0.44":
- version: 0.0.44
- resolution: "@types/estree@npm:0.0.44"
- checksum: 3659c1f020b3b4351a30301a46ad0321189316bf75288823d606c4b561c5a64d28591712cd706763aafa35690c51dece35a7567c676896814c31e48ffc3b135f
+"@types/estree@npm:^0.0.46":
+ version: 0.0.46
+ resolution: "@types/estree@npm:0.0.46"
+ checksum: a740c8fbe075dfea07ee08101df9e9e64eb943538f0062e05a617befc55a0132410c8a6ec2d126401539d0ee3062d38b68f44ac49e3b15028587bb7c3be2582e
+ languageName: node
+ linkType: hard
+
+"@types/estree@npm:^0.0.50":
+ version: 0.0.50
+ resolution: "@types/estree@npm:0.0.50"
+ checksum: e72326154f3910a7928a7a2b387604c4a05c590a79f3c79d54c88f136476bce9bdfdfffe0586f1aeb60e05bb84256a9307f8e297c51ededa6d195277cd8a603b
languageName: node
linkType: hard
@@ -9725,7 +9636,7 @@ __metadata:
languageName: node
linkType: hard
-"@types/http-proxy@npm:^1.17.5, @types/http-proxy@npm:^1.17.8":
+"@types/http-proxy@npm:^1.17.5":
version: 1.17.8
resolution: "@types/http-proxy@npm:1.17.8"
dependencies:
@@ -9815,12 +9726,12 @@ __metadata:
linkType: hard
"@types/jest@npm:*, @types/jest@npm:>=26.0.0":
- version: 27.4.0
- resolution: "@types/jest@npm:27.4.0"
+ version: 27.4.1
+ resolution: "@types/jest@npm:27.4.1"
dependencies:
- jest-diff: ^27.0.0
+ jest-matcher-utils: ^27.0.0
pretty-format: ^27.0.0
- checksum: 1b69fa13fbd63d157aab9813c9fddf2b443b9e371ec9a1156d8a4afa8ae9013045fc0cfbfa34fb6902bf23d9dddb55454c9bfd2df3aff614e5de0ed1e339ed60
+ checksum: e1dc86570531aefda453ec363a3c6bacf07328b5247b3869eddc10f62d50fa8e52e79c5aafcac7fa7798be5445dab472ab3b24cdd8dfc92820febec735c081eb
languageName: node
linkType: hard
@@ -9892,9 +9803,9 @@ __metadata:
linkType: hard
"@types/lodash@npm:^4.14.167":
- version: 4.14.178
- resolution: "@types/lodash@npm:4.14.178"
- checksum: 820e33578a084aba2ca66fc83728c14d82813b91f3f14f281621b36904533c3d1681992b5e2719579b8beb52e1a77cfa914283a145f66dfa71b5e02a7cec5a37
+ version: 4.14.179
+ resolution: "@types/lodash@npm:4.14.179"
+ checksum: 653e45c277e405577c1e4f5baeb0040589b805aa8dabea334c93e1ae44949f6071361754dbf933202de3fb73119f3ee12f317d0f0213168bb806d1ee7478b0ce
languageName: node
linkType: hard
@@ -9907,6 +9818,20 @@ __metadata:
languageName: node
linkType: hard
+"@types/mdurl@npm:^1.0.0":
+ version: 1.0.2
+ resolution: "@types/mdurl@npm:1.0.2"
+ checksum: 38d18f0d63af68d0480b821b3d884e144b669c0617010da4c13a444498384b4833aff17f84768afeeca7ef3e6cfcd8bb7c462ffbc39a81ff549f17ae5c3ffb8e
+ languageName: node
+ linkType: hard
+
+"@types/mdx@npm:^2.0.0":
+ version: 2.0.1
+ resolution: "@types/mdx@npm:2.0.1"
+ checksum: 9f565463c9e02871bcfcab1b3909a1f1db3eaf2d38f9b4fcf624bcffa7ba27831e44d883ee41b17574a17cc8057a67c7dfb293432bea194a55a20f04f41c0d44
+ languageName: node
+ linkType: hard
+
"@types/memory-fs@npm:*":
version: 0.3.3
resolution: "@types/memory-fs@npm:0.3.3"
@@ -9953,6 +9878,13 @@ __metadata:
languageName: node
linkType: hard
+"@types/ms@npm:*":
+ version: 0.7.31
+ resolution: "@types/ms@npm:0.7.31"
+ checksum: 19fae4f587651e8761c76a0c72ba8af1700d37054476878d164b758edcc926f4420ed06037a1a7fdddc1dbea25265895d743c8b2ea44f3f3f7ac06c449b9221e
+ languageName: node
+ linkType: hard
+
"@types/node-cleanup@npm:^2.1.1":
version: 2.1.2
resolution: "@types/node-cleanup@npm:2.1.2"
@@ -9961,33 +9893,33 @@ __metadata:
linkType: hard
"@types/node-fetch@npm:^2.5.12, @types/node-fetch@npm:^2.5.7":
- version: 2.5.12
- resolution: "@types/node-fetch@npm:2.5.12"
+ version: 2.6.1
+ resolution: "@types/node-fetch@npm:2.6.1"
dependencies:
"@types/node": "*"
form-data: ^3.0.0
- checksum: aaa69c354e596f9e293136ac43c9e5d91503415fb4eddfae3a9689153f0f033863bbd627e700b3f419ce14d06303e18e1d61b788d9085411f1fc12fc56afe356
+ checksum: 033945215fa6b36d5597b21bbdd7d946a751dcd066f8fa71e5f5ab5698390bc2e76e38932ec6ac709def39b6371dfd61844e6804409c7ba812e24d1c820fbff8
languageName: node
linkType: hard
"@types/node@npm:*, @types/node@npm:>= 8, @types/node@npm:>=10.0.0":
- version: 17.0.13
- resolution: "@types/node@npm:17.0.13"
- checksum: 1532c24b63c8c92d8ac7dda8965b73d0da7ad93627468a12bf211604c800d090475f74dd57a629d67d5259882ea937a8333eaec8ce9edc045d55351c186f33c2
+ version: 17.0.21
+ resolution: "@types/node@npm:17.0.21"
+ checksum: 57a9ce212da7878fddd4e9ef3f83c0f395e1e71c032b3112f4163f357a87b949c392dd9280ae806bca7edfbea335da1cd248fd316c615632b746c87ba1b2ab6e
languageName: node
linkType: hard
"@types/node@npm:^14.0.10 || ^16.0.0, @types/node@npm:^14.14.20 || ^16.0.0, @types/node@npm:^16.6":
- version: 16.11.21
- resolution: "@types/node@npm:16.11.21"
- checksum: e5af56bf8fdfd24a15a427f407f9b0a225fec2e8b91e1fdc365fdd2ab8ca19b9cb4c9e0f37494f97c5dce9983c9589b8e746ecc9592066523ca05949dd9b1fbd
+ version: 16.11.26
+ resolution: "@types/node@npm:16.11.26"
+ checksum: 9e26dc087b32c2f47dcc7cc67db2ce35b44504515953ebc0c7f6c6cb030a273823dcd61e71ab0b0571e358e57315fe5aa5eb46c7aace1969c2e307a0c5b47572
languageName: node
linkType: hard
"@types/node@npm:^14.14.31":
- version: 14.18.9
- resolution: "@types/node@npm:14.18.9"
- checksum: 8a643aac4740aaf4e3c9c51aeb11391e39ed255a80ebcfe9ccfe04ce3d160a2a5ebcf59448e9b56f7d4f8723783cfb7d017c155c6185a2f1bb7c7e7b24e3f80d
+ version: 14.18.12
+ resolution: "@types/node@npm:14.18.12"
+ checksum: 8735b9ac76024eeb568eba1d8a685472de4b4ebab3f217c4fe43aff4b8eaef431a2cf3e7da61f120af56c939bfcb8de49c188e2df44ed794180bcb3f8416a01e
languageName: node
linkType: hard
@@ -10050,9 +9982,9 @@ __metadata:
linkType: hard
"@types/prettier@npm:^2.0.0":
- version: 2.4.3
- resolution: "@types/prettier@npm:2.4.3"
- checksum: 42afc66b3a6f216cac5888f2e91f41e99b0329aa19877bc02ae69c7964990bc92f223cdce965ba6a7594d2c7e61c1ebd41df7be12aaf697a7b6c9c2f83a79beb
+ version: 2.4.4
+ resolution: "@types/prettier@npm:2.4.4"
+ checksum: 4f6a05f1579a24d47eb5e0c3a8a47e0baf37121e7ebce2e20a31891fac8f0148f4c19c27ad59f5bcb473e90c3221acbb67963be1b64a32f5e24e2b29bfe32253
languageName: node
linkType: hard
@@ -10110,20 +10042,20 @@ __metadata:
linkType: hard
"@types/puppeteer@npm:^2":
- version: 2.1.6
- resolution: "@types/puppeteer@npm:2.1.6"
+ version: 2.1.7
+ resolution: "@types/puppeteer@npm:2.1.7"
dependencies:
"@types/node": "*"
- checksum: ef093ec7fd2da8db764a78eea34dfcdb41269a37c35cdb3afd178a267c666bec6b7a7830652c9c65cea2c7e2c352c6513a0f48ab8a10793de733631ef4310f31
+ checksum: cc7d46ae12216c3bcb9eaa00d6d18192b242c890fcf309ca18e87d370aaabc198ad980ec378cb021f1b1ab43cb9a57a90fcb16512ba20912f752091d1b8da752
languageName: node
linkType: hard
"@types/puppeteer@npm:^5.4.0":
- version: 5.4.4
- resolution: "@types/puppeteer@npm:5.4.4"
+ version: 5.4.5
+ resolution: "@types/puppeteer@npm:5.4.5"
dependencies:
"@types/node": "*"
- checksum: a53e0ed439eac8019e0d801d7159411daf07f09f6d5604645fba906da6f808c4ca794ecc1edf1341844a793b4b34877cb4c9a16b08304ec5c4aaa6b820214c54
+ checksum: 1175ffe0327d7df6a723d6aab54dafcb07dea76275a4cd0f469a50e1dce7934f34e4e65d9a0bcd932c18470d44e092177f562f2b5fe4034f19606f370469fde9
languageName: node
linkType: hard
@@ -10194,13 +10126,13 @@ __metadata:
linkType: hard
"@types/react@npm:^17":
- version: 17.0.38
- resolution: "@types/react@npm:17.0.38"
+ version: 17.0.39
+ resolution: "@types/react@npm:17.0.39"
dependencies:
"@types/prop-types": "*"
"@types/scheduler": "*"
csstype: ^3.0.2
- checksum: 828cd27ac220be8232535c4451b0020f6f05535d62407e5fe2547544a7d3123777ed31ab547d7c7f3d8b59d37268ee4b9209f1c110809f084cbbf0a7e27cd7ef
+ checksum: 1b0c280596bf2a46da7f5fa42eca35a8a53000b18dddcc6ed32a6732577b909b81e680863a1482373fb934c0426e42932738cc849c7b6739006f1b1d8bdde2aa
languageName: node
linkType: hard
@@ -10392,7 +10324,7 @@ __metadata:
languageName: node
linkType: hard
-"@types/tmp@npm:^0.2.0":
+"@types/tmp@npm:^0.2.3":
version: 0.2.3
resolution: "@types/tmp@npm:0.2.3"
checksum: a9a32d723b483713ef537af31caddfcc2129ba21a0d56f5e4eef39508e07d415b1ec7327486d15b2cd4ac277deaaef0f8368ed1a0f4029e5ef5c393f9c15856b
@@ -10482,7 +10414,7 @@ __metadata:
languageName: node
linkType: hard
-"@types/webpack-hot-middleware@npm:^2.25.3":
+"@types/webpack-hot-middleware@npm:<=2.25.5":
version: 2.25.5
resolution: "@types/webpack-hot-middleware@npm:2.25.5"
dependencies:
@@ -10492,6 +10424,17 @@ __metadata:
languageName: node
linkType: hard
+"@types/webpack-hot-middleware@npm:^2.25.6":
+ version: 2.25.6
+ resolution: "@types/webpack-hot-middleware@npm:2.25.6"
+ dependencies:
+ "@types/connect": "*"
+ tapable: ^2.2.0
+ webpack: ^5
+ checksum: 4c5835dfd9d858bb8ac35170588a86c88fbef50f7bf89c8b3f50780cbc284c3091f0171ecac96dc22bf02b1a0379436a7495e2d59aeda90246fb0039035740fe
+ languageName: node
+ linkType: hard
+
"@types/webpack-sources@npm:*":
version: 3.2.0
resolution: "@types/webpack-sources@npm:3.2.0"
@@ -10538,11 +10481,11 @@ __metadata:
linkType: hard
"@types/ws@npm:^8":
- version: 8.2.2
- resolution: "@types/ws@npm:8.2.2"
+ version: 8.5.1
+ resolution: "@types/ws@npm:8.5.1"
dependencies:
"@types/node": "*"
- checksum: 8f8464170d3729c9a3632e16e679b0cc25f329d178b94d10830c8eb4b97f492ef5950e654ff3018f13b7f1acd335c67bc1998a2b58436709aaa152553d8a8afa
+ checksum: 59bc1ba52963a2bcdc0c4fbf58961341d34bf816fa77d6958404ccf915c3c7a99daa0add4ac78cf2198279117da261b005ae2e56089158b56a1cfffcfdb18cd6
languageName: node
linkType: hard
@@ -10675,13 +10618,13 @@ __metadata:
linkType: hard
"@typescript-eslint/experimental-utils@npm:^5.3.0":
- version: 5.10.1
- resolution: "@typescript-eslint/experimental-utils@npm:5.10.1"
+ version: 5.13.0
+ resolution: "@typescript-eslint/experimental-utils@npm:5.13.0"
dependencies:
- "@typescript-eslint/utils": 5.10.1
+ "@typescript-eslint/utils": 5.13.0
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
- checksum: 82b086d96b7294f0f0fbf028dd2f53c1bfab0cf2f9f6e3f5365e803b47b3834cc83a78f6005c44d5bd64a80669eddf035a207308f3717a1c8d7df6d460954912
+ checksum: 21c526ce9b62dbca2c7b14a985b9c5a3b994de1749f4b978068763ac67add40f5858afdb27f605db889398e9aa14353600ef1ae95ce537fd63af6b71145145c6
languageName: node
linkType: hard
@@ -10729,13 +10672,13 @@ __metadata:
languageName: node
linkType: hard
-"@typescript-eslint/scope-manager@npm:5.10.1":
- version: 5.10.1
- resolution: "@typescript-eslint/scope-manager@npm:5.10.1"
+"@typescript-eslint/scope-manager@npm:5.13.0":
+ version: 5.13.0
+ resolution: "@typescript-eslint/scope-manager@npm:5.13.0"
dependencies:
- "@typescript-eslint/types": 5.10.1
- "@typescript-eslint/visitor-keys": 5.10.1
- checksum: adbc7cdc26551614a1f1b22ae15c578966ff61d14d6221e0987899c26ffbb3ce7225ab3efc051dfa3fa36c7c36e3d1f5dbef1c28a7aa601028c36bb00a8924e7
+ "@typescript-eslint/types": 5.13.0
+ "@typescript-eslint/visitor-keys": 5.13.0
+ checksum: 3a7ec12096e736a4134399b838146fc565ebcb8f9d5e9b2897f94e076baffb3fbe76b344d69d479a3dd4bd4b0c38e2e8620fccc7069838c188f2bc4acca3091a
languageName: node
linkType: hard
@@ -10753,10 +10696,10 @@ __metadata:
languageName: node
linkType: hard
-"@typescript-eslint/types@npm:5.10.1":
- version: 5.10.1
- resolution: "@typescript-eslint/types@npm:5.10.1"
- checksum: 6db53a34cda2fb955f754e9a13caf19747383e07c4de463de7c2d8a061858495e20b8b7e429514fcf58f3c23c9a8ef6b6aaa1123bfacef2abc43f06072c8c95a
+"@typescript-eslint/types@npm:5.13.0":
+ version: 5.13.0
+ resolution: "@typescript-eslint/types@npm:5.13.0"
+ checksum: d83f772531a47a986abe5790ac2f5ecd7104fe158558e1d5b69074e98e42601702da2d815708249ddf512e0f7c2f1d7d1510886edcb6daebcfb449d282acb8b1
languageName: node
linkType: hard
@@ -10815,12 +10758,12 @@ __metadata:
languageName: node
linkType: hard
-"@typescript-eslint/typescript-estree@npm:5.10.1":
- version: 5.10.1
- resolution: "@typescript-eslint/typescript-estree@npm:5.10.1"
+"@typescript-eslint/typescript-estree@npm:5.13.0":
+ version: 5.13.0
+ resolution: "@typescript-eslint/typescript-estree@npm:5.13.0"
dependencies:
- "@typescript-eslint/types": 5.10.1
- "@typescript-eslint/visitor-keys": 5.10.1
+ "@typescript-eslint/types": 5.13.0
+ "@typescript-eslint/visitor-keys": 5.13.0
debug: ^4.3.2
globby: ^11.0.4
is-glob: ^4.0.3
@@ -10829,23 +10772,23 @@ __metadata:
peerDependenciesMeta:
typescript:
optional: true
- checksum: 29fd05c8f1153603392f78c18e2f5c278216dbbb1bee496730f0f7e06b592743bb29dd93b2d3c19a5beed6537a8bafa82214d91c1b0b517162e65093b717c755
+ checksum: b31e3674b0dc1813dd2d8ab44147e9eec88f12ae0cbc45534009daf231a0066a0722a2de4636bf97b9607a5933c70b2b7fcd62257befc6de55e1e40c33d2831a
languageName: node
linkType: hard
-"@typescript-eslint/utils@npm:5.10.1":
- version: 5.10.1
- resolution: "@typescript-eslint/utils@npm:5.10.1"
+"@typescript-eslint/utils@npm:5.13.0":
+ version: 5.13.0
+ resolution: "@typescript-eslint/utils@npm:5.13.0"
dependencies:
"@types/json-schema": ^7.0.9
- "@typescript-eslint/scope-manager": 5.10.1
- "@typescript-eslint/types": 5.10.1
- "@typescript-eslint/typescript-estree": 5.10.1
+ "@typescript-eslint/scope-manager": 5.13.0
+ "@typescript-eslint/types": 5.13.0
+ "@typescript-eslint/typescript-estree": 5.13.0
eslint-scope: ^5.1.1
eslint-utils: ^3.0.0
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
- checksum: 31f5ef1502fab6282630ec176866acb999ec3587bbcd8be7cdb5649004e67afd6ef4718fc6b11e1eeb570624236e248ff054d01587ad7daf7bc30b7176c57ef6
+ checksum: 0132e8c10c66281d4ee950ad085a6d4cc5f24809b0373c3948af2b5a52f720dc980421b66276ab5a2ed574136b0f52e6fb560bc0beef53e6ed231ed61a8fb4c1
languageName: node
linkType: hard
@@ -10868,13 +10811,13 @@ __metadata:
languageName: node
linkType: hard
-"@typescript-eslint/visitor-keys@npm:5.10.1":
- version: 5.10.1
- resolution: "@typescript-eslint/visitor-keys@npm:5.10.1"
+"@typescript-eslint/visitor-keys@npm:5.13.0":
+ version: 5.13.0
+ resolution: "@typescript-eslint/visitor-keys@npm:5.13.0"
dependencies:
- "@typescript-eslint/types": 5.10.1
+ "@typescript-eslint/types": 5.13.0
eslint-visitor-keys: ^3.0.0
- checksum: b998639fc6fc8b825d184041224b36ca8cbcac49f2769a30ad49b926ffba72eb6a015f1ce5d75aa6085b4b27cc3b9f04d78746c3338275436f7784002959d17c
+ checksum: cac330a94d39d4a8595b3b2974c54f313c4bfc4945da058e3475c25d763b449ef14e7ab19a77afd2548eec001a4329b5b51323b8d29e88cbc29b005b3aca2397
languageName: node
linkType: hard
@@ -11416,15 +11359,15 @@ __metadata:
languageName: node
linkType: hard
-"@vue/compiler-core@npm:3.2.29":
- version: 3.2.29
- resolution: "@vue/compiler-core@npm:3.2.29"
+"@vue/compiler-core@npm:3.2.31":
+ version: 3.2.31
+ resolution: "@vue/compiler-core@npm:3.2.31"
dependencies:
"@babel/parser": ^7.16.4
- "@vue/shared": 3.2.29
+ "@vue/shared": 3.2.31
estree-walker: ^2.0.2
source-map: ^0.6.1
- checksum: 5ddff395e0f02eb5046cb7104584f450ba62666efd016787bd66262a09acb1bb1011374e3f0ac118d1990828a4f698865c96ff404d22606645d84919b1a7a46f
+ checksum: bf62c0acc5d18d52cf5d539284a1018629089f1bd0db8e4d37d079682b0935d39c8b71d0cefda29bf18a8a181a80a489ecc00f4b0a0eb79781c645a71cb1c24d
languageName: node
linkType: hard
@@ -11438,13 +11381,13 @@ __metadata:
languageName: node
linkType: hard
-"@vue/compiler-dom@npm:3.2.29, @vue/compiler-dom@npm:^3.2.0":
- version: 3.2.29
- resolution: "@vue/compiler-dom@npm:3.2.29"
+"@vue/compiler-dom@npm:3.2.31, @vue/compiler-dom@npm:^3.2.0":
+ version: 3.2.31
+ resolution: "@vue/compiler-dom@npm:3.2.31"
dependencies:
- "@vue/compiler-core": 3.2.29
- "@vue/shared": 3.2.29
- checksum: a2ae9a516abe6cc5d8f6a3613e3463e613b4c25dfa12e921cf03d83ed43ce596e4b15debbbff209fb2a94a183fa204ebc8f1a9dd7038eaa7c8c86569dd66a457
+ "@vue/compiler-core": 3.2.31
+ "@vue/shared": 3.2.31
+ checksum: a73b68c1444229c6019f8ba6f4c42ed20a61a956b376603524041d0a677073b259aca114b7c5206c7da95672aeab4e38bcf8de945170c0ce47b9806ef318c0a6
languageName: node
linkType: hard
@@ -11474,21 +11417,21 @@ __metadata:
languageName: node
linkType: hard
-"@vue/compiler-sfc@npm:3.2.29, @vue/compiler-sfc@npm:^3.0.0, @vue/compiler-sfc@npm:^3.2.0":
- version: 3.2.29
- resolution: "@vue/compiler-sfc@npm:3.2.29"
+"@vue/compiler-sfc@npm:3.2.31, @vue/compiler-sfc@npm:^3.0.0, @vue/compiler-sfc@npm:^3.2.0":
+ version: 3.2.31
+ resolution: "@vue/compiler-sfc@npm:3.2.31"
dependencies:
"@babel/parser": ^7.16.4
- "@vue/compiler-core": 3.2.29
- "@vue/compiler-dom": 3.2.29
- "@vue/compiler-ssr": 3.2.29
- "@vue/reactivity-transform": 3.2.29
- "@vue/shared": 3.2.29
+ "@vue/compiler-core": 3.2.31
+ "@vue/compiler-dom": 3.2.31
+ "@vue/compiler-ssr": 3.2.31
+ "@vue/reactivity-transform": 3.2.31
+ "@vue/shared": 3.2.31
estree-walker: ^2.0.2
magic-string: ^0.25.7
postcss: ^8.1.10
source-map: ^0.6.1
- checksum: a0b1b91a0bacbfcfdac49fc0c2f2bf29072a1c0cbdecbb48aa13f20ab3257299bdf6b2a9ae1e953393001121cb0e1a24c5c48cb18d19a90b1d6d08b42a4764c1
+ checksum: 45b99a624fe0d3b2a0659116f5ec5684950643a0d80879cf1ab4544666c4ec2e9db2e9881bb89837d133228c8c6161963874eb2da8a011fed0292e06e9097563
languageName: node
linkType: hard
@@ -11502,13 +11445,13 @@ __metadata:
languageName: node
linkType: hard
-"@vue/compiler-ssr@npm:3.2.29":
- version: 3.2.29
- resolution: "@vue/compiler-ssr@npm:3.2.29"
+"@vue/compiler-ssr@npm:3.2.31":
+ version: 3.2.31
+ resolution: "@vue/compiler-ssr@npm:3.2.31"
dependencies:
- "@vue/compiler-dom": 3.2.29
- "@vue/shared": 3.2.29
- checksum: afcdd1279fa4664e68a9a1428e48b1e9492c52afbd2fed6290d506781b22cbcc2a64b03d8636dde0e84c3a1544f60cbb7ae3b7d7fc9e3569b0b3e51a2eecb5ae
+ "@vue/compiler-dom": 3.2.31
+ "@vue/shared": 3.2.31
+ checksum: 801b60ecca51781f3714a8acab172c62a174051044cc56de99a202edf84a41914007065298ba6b146cecc45883f15e0061d835d1244840ed09c6dca2858f7aac
languageName: node
linkType: hard
@@ -11542,16 +11485,16 @@ __metadata:
languageName: node
linkType: hard
-"@vue/reactivity-transform@npm:3.2.29":
- version: 3.2.29
- resolution: "@vue/reactivity-transform@npm:3.2.29"
+"@vue/reactivity-transform@npm:3.2.31":
+ version: 3.2.31
+ resolution: "@vue/reactivity-transform@npm:3.2.31"
dependencies:
"@babel/parser": ^7.16.4
- "@vue/compiler-core": 3.2.29
- "@vue/shared": 3.2.29
+ "@vue/compiler-core": 3.2.31
+ "@vue/shared": 3.2.31
estree-walker: ^2.0.2
magic-string: ^0.25.7
- checksum: ebcfd378dd8ff2f16ae5029b1777e484df3267241e3551781ab101168301ba15e78d7be6594b4b09b5f8c5fcf70214b4fc3f76c8b84b642d772e655c17ae44dc
+ checksum: e876a15ba188b9ba415d53ae0cf9289379a674f1d8fc76762537102908e8d390d1744b50a43c983316d9da884a7eb1e5182ee1bc9bc62431771716f28d6bb9fd
languageName: node
linkType: hard
@@ -11564,12 +11507,12 @@ __metadata:
languageName: node
linkType: hard
-"@vue/reactivity@npm:3.2.29":
- version: 3.2.29
- resolution: "@vue/reactivity@npm:3.2.29"
+"@vue/reactivity@npm:3.2.31":
+ version: 3.2.31
+ resolution: "@vue/reactivity@npm:3.2.31"
dependencies:
- "@vue/shared": 3.2.29
- checksum: e6c38c763c95763f0e2b166fa3f6720ef71deaaeec84d6dc14499d4db2da78572322bad30d60896a5047d1d097a96b616cfa572f204cb8b71fbde19c7b21fc4a
+ "@vue/shared": 3.2.31
+ checksum: 36cc4f684aed133b960f8b7bca8dc25964206d38376f8fd554415b52546468e380c9b828658a64a963fc83901914c887f801e2a524345e161882c0ee19027e70
languageName: node
linkType: hard
@@ -11583,13 +11526,13 @@ __metadata:
languageName: node
linkType: hard
-"@vue/runtime-core@npm:3.2.29":
- version: 3.2.29
- resolution: "@vue/runtime-core@npm:3.2.29"
+"@vue/runtime-core@npm:3.2.31":
+ version: 3.2.31
+ resolution: "@vue/runtime-core@npm:3.2.31"
dependencies:
- "@vue/reactivity": 3.2.29
- "@vue/shared": 3.2.29
- checksum: 64a9b723406ee85504c4668228fd46ba7e9ff5a5469783229da4e03134afdd43abd862ae0ae56c4fa27f594ca1b208cf07f4dade3a4933c52956569b1b8da209
+ "@vue/reactivity": 3.2.31
+ "@vue/shared": 3.2.31
+ checksum: 0f798c2a889e88bbdb8be357a2bd7580491b424182bc5eaac650640a9bc86ed08261a39f8702204aaab42420b7343e75d029289da454c9bcbee8815f8d1810a0
languageName: node
linkType: hard
@@ -11604,26 +11547,26 @@ __metadata:
languageName: node
linkType: hard
-"@vue/runtime-dom@npm:3.2.29":
- version: 3.2.29
- resolution: "@vue/runtime-dom@npm:3.2.29"
+"@vue/runtime-dom@npm:3.2.31":
+ version: 3.2.31
+ resolution: "@vue/runtime-dom@npm:3.2.31"
dependencies:
- "@vue/runtime-core": 3.2.29
- "@vue/shared": 3.2.29
+ "@vue/runtime-core": 3.2.31
+ "@vue/shared": 3.2.31
csstype: ^2.6.8
- checksum: 9a8ae671ff8146c7c2191f35caebb5fdc437ac1b50b1303aa669b32ff2f38e6ba1c5d5f6da3d96248da03a5a7244289f57b76b126ff488e25b93235de663d607
+ checksum: 7082b5d8c3c2255a1a2edbdf6d05058db3d50c841c27236ab468408a4949b2978614d5d98263729580c5b07334c865cfb43822dc013d59baff1c4eb74411919b
languageName: node
linkType: hard
-"@vue/server-renderer@npm:3.2.29":
- version: 3.2.29
- resolution: "@vue/server-renderer@npm:3.2.29"
+"@vue/server-renderer@npm:3.2.31":
+ version: 3.2.31
+ resolution: "@vue/server-renderer@npm:3.2.31"
dependencies:
- "@vue/compiler-ssr": 3.2.29
- "@vue/shared": 3.2.29
+ "@vue/compiler-ssr": 3.2.31
+ "@vue/shared": 3.2.31
peerDependencies:
- vue: 3.2.29
- checksum: 6f0de1ef7a6a367f313940ff02ae158b84c0e8a521c19ee7a79fc2478af6942819c6472e97e0f9b139f27a34f7560d11c9ff67e61cf36ce31dbb1de7d4476e1c
+ vue: 3.2.31
+ checksum: d4149dd877778f5db3255084bb4cc412f0b656840d7c521f2ede42b5cc04f5eba7e300b1c936f2ad73eb862a596cde7f928c652969c1bca5776ab160d49bb279
languageName: node
linkType: hard
@@ -11634,10 +11577,10 @@ __metadata:
languageName: node
linkType: hard
-"@vue/shared@npm:3.2.29":
- version: 3.2.29
- resolution: "@vue/shared@npm:3.2.29"
- checksum: 4e5dd614d5e788cac33673328549f3ca2fdeb2b2ebbc5caccdc8374addd0ce80478e822fd60e3c8c392f19c61f9fcba80c488f6d62ed0e0b3c282db5f5600ba9
+"@vue/shared@npm:3.2.31":
+ version: 3.2.31
+ resolution: "@vue/shared@npm:3.2.31"
+ checksum: 1d6e40aaf17f8fc370e9ee91e9c462aed509712f53bca23f3dba6e6cdc8ce44be28fdf185d31d00652c6294de55ced2dcbbae9b39c03bd41f1a9e672d88dddb7
languageName: node
linkType: hard
@@ -12319,13 +12262,13 @@ __metadata:
languageName: node
linkType: hard
-"accepts@npm:~1.3.4, accepts@npm:~1.3.5, accepts@npm:~1.3.7":
- version: 1.3.7
- resolution: "accepts@npm:1.3.7"
+"accepts@npm:~1.3.4, accepts@npm:~1.3.5, accepts@npm:~1.3.7, accepts@npm:~1.3.8":
+ version: 1.3.8
+ resolution: "accepts@npm:1.3.8"
dependencies:
- mime-types: ~2.1.24
- negotiator: 0.6.2
- checksum: 74c5fc6ad208529258916abc240640caa09d577c991f36bc15916a537b6a2e72ef051c204499297bf7e78357d19e86eb989fb81f558d004be44a33fdc17a9057
+ mime-types: ~2.1.34
+ negotiator: 0.6.3
+ checksum: 3a35c5f5586cfb9a21163ca47a5f77ac34fa8ceb5d17d2fa2c0d81f41cbd7f8c6fa52c77e2c039acc0f4d09e71abdc51144246900f6bef5e3c4b333f77d89362
languageName: node
linkType: hard
@@ -12358,7 +12301,7 @@ __metadata:
languageName: node
linkType: hard
-"acorn-jsx@npm:^5.2.0, acorn-jsx@npm:^5.3.1":
+"acorn-jsx@npm:^5.0.0, acorn-jsx@npm:^5.2.0, acorn-jsx@npm:^5.3.1":
version: 5.3.2
resolution: "acorn-jsx@npm:5.3.2"
peerDependencies:
@@ -12426,7 +12369,7 @@ __metadata:
languageName: node
linkType: hard
-"acorn@npm:^8.2.4, acorn@npm:^8.4.1, acorn@npm:^8.6.0":
+"acorn@npm:^8.0.0, acorn@npm:^8.2.4, acorn@npm:^8.4.1, acorn@npm:^8.5.0":
version: 8.7.0
resolution: "acorn@npm:8.7.0"
bin:
@@ -12512,14 +12455,14 @@ __metadata:
languageName: node
linkType: hard
-"agentkeepalive@npm:^4.1.3":
- version: 4.2.0
- resolution: "agentkeepalive@npm:4.2.0"
+"agentkeepalive@npm:^4.1.3, agentkeepalive@npm:^4.2.0":
+ version: 4.2.1
+ resolution: "agentkeepalive@npm:4.2.1"
dependencies:
debug: ^4.1.0
depd: ^1.1.2
humanize-ms: ^1.2.1
- checksum: b62bbae7c4154a9caf32fd3fac5787ba4289d4cec122f8c6ed236f3469c4b1c098ac0f3fc5dc97e89a234cdb27f9c9a627e19a67ccfb50e007b5c9854adcfb28
+ checksum: 259dafa84a9e1f9e277ac8b31995a7a4f4db36a1df1710e9d413d98c6c013ab81370ad585d92038045cc8657662e578b07fd60b312b212f59ad426b10e1d6dce
languageName: node
linkType: hard
@@ -12621,7 +12564,7 @@ __metadata:
languageName: node
linkType: hard
-"ajv@npm:8.9.0, ajv@npm:^8.0.0, ajv@npm:^8.0.1":
+"ajv@npm:8.9.0":
version: 8.9.0
resolution: "ajv@npm:8.9.0"
dependencies:
@@ -12633,6 +12576,18 @@ __metadata:
languageName: node
linkType: hard
+"ajv@npm:^8.0.0, ajv@npm:^8.0.1":
+ version: 8.10.0
+ resolution: "ajv@npm:8.10.0"
+ dependencies:
+ fast-deep-equal: ^3.1.1
+ json-schema-traverse: ^1.0.0
+ require-from-string: ^2.0.2
+ uri-js: ^4.2.2
+ checksum: cc2c02a89289420ea96720f728d39d4d19dbcb2c1d0363481d0a9973282b69d94c8c1a02f4c424a89a1bd888e6049f87d0f82d21b5d056546cdbb364dd043f23
+ languageName: node
+ linkType: hard
+
"alphanum-sort@npm:^1.0.0":
version: 1.0.2
resolution: "alphanum-sort@npm:1.0.2"
@@ -12674,21 +12629,21 @@ __metadata:
"@angular/platform-browser-dynamic": ^11.2.14
"@compodoc/compodoc": ^1.1.18
"@ngrx/store": ^10.1.2
- "@storybook/addon-a11y": 6.5.0-alpha.42
- "@storybook/addon-actions": 6.5.0-alpha.42
- "@storybook/addon-backgrounds": 6.5.0-alpha.42
- "@storybook/addon-controls": 6.5.0-alpha.42
- "@storybook/addon-docs": 6.5.0-alpha.42
- "@storybook/addon-interactions": 6.5.0-alpha.42
- "@storybook/addon-jest": 6.5.0-alpha.42
- "@storybook/addon-links": 6.5.0-alpha.42
- "@storybook/addon-storyshots": 6.5.0-alpha.42
- "@storybook/addon-storysource": 6.5.0-alpha.42
- "@storybook/addons": 6.5.0-alpha.42
- "@storybook/angular": 6.5.0-alpha.42
+ "@storybook/addon-a11y": 6.5.0-alpha.48
+ "@storybook/addon-actions": 6.5.0-alpha.48
+ "@storybook/addon-backgrounds": 6.5.0-alpha.48
+ "@storybook/addon-controls": 6.5.0-alpha.48
+ "@storybook/addon-docs": 6.5.0-alpha.48
+ "@storybook/addon-interactions": 6.5.0-alpha.48
+ "@storybook/addon-jest": 6.5.0-alpha.48
+ "@storybook/addon-links": 6.5.0-alpha.48
+ "@storybook/addon-storyshots": 6.5.0-alpha.48
+ "@storybook/addon-storysource": 6.5.0-alpha.48
+ "@storybook/addons": 6.5.0-alpha.48
+ "@storybook/angular": 6.5.0-alpha.48
"@storybook/babel-plugin-require-context-hook": 1.0.1
"@storybook/jest": ^0.0.9
- "@storybook/source-loader": 6.5.0-alpha.39
+ "@storybook/source-loader": 6.5.0-alpha.48
"@storybook/testing-library": ^0.0.9
"@types/core-js": ^2.5.4
"@types/jest": ^26.0.16
@@ -12953,6 +12908,16 @@ __metadata:
languageName: node
linkType: hard
+"are-we-there-yet@npm:^3.0.0":
+ version: 3.0.0
+ resolution: "are-we-there-yet@npm:3.0.0"
+ dependencies:
+ delegates: ^1.0.0
+ readable-stream: ^3.6.0
+ checksum: 91cd4ad8a914437720bd726a36304ae279209fb13ce0f7e183ae752ae6d0070b56717a06a96b186728f9e74cb90837e5ee167a717119367b0ff3c4d2cef389ff
+ languageName: node
+ linkType: hard
+
"are-we-there-yet@npm:~1.1.2":
version: 1.1.7
resolution: "are-we-there-yet@npm:1.1.7"
@@ -13302,18 +13267,6 @@ __metadata:
languageName: node
linkType: hard
-"assert@npm:^2.0.0":
- version: 2.0.0
- resolution: "assert@npm:2.0.0"
- dependencies:
- es6-object-assign: ^1.1.0
- is-nan: ^1.2.1
- object-is: ^1.0.1
- util: ^0.12.0
- checksum: a25c7ebc07b52cc4dadd5c46d73472e7d4b86e40eb7ebaa12f78c1ba954dbe83612be5dea314b862fc364c305ab3bdbcd1c9d4ec2d92bc37214ae7d5596347f3
- languageName: node
- linkType: hard
-
"assign-symbols@npm:^1.0.0":
version: 1.0.0
resolution: "assign-symbols@npm:1.0.0"
@@ -13383,7 +13336,7 @@ __metadata:
languageName: node
linkType: hard
-"astring@npm:^1.6.2":
+"astring@npm:^1.6.0":
version: 1.8.1
resolution: "astring@npm:1.8.1"
bin:
@@ -13407,21 +13360,6 @@ __metadata:
languageName: node
linkType: hard
-"async-disk-cache@npm:^2.0.0":
- version: 2.1.0
- resolution: "async-disk-cache@npm:2.1.0"
- dependencies:
- debug: ^4.1.1
- heimdalljs: ^0.2.3
- istextorbinary: ^2.5.1
- mkdirp: ^0.5.0
- rimraf: ^3.0.0
- rsvp: ^4.8.5
- username-sync: ^1.0.2
- checksum: 131110af8f0c21ebdc32154c6650bf9156589fcf2c237cf2935128855dc4d543db94c1b6315bf65c85dcc8c3d4d3e9ab4428983b5ee54d20bc6593735237088b
- languageName: node
- linkType: hard
-
"async-each@npm:^1.0.1":
version: 1.0.3
resolution: "async-each@npm:1.0.3"
@@ -13575,13 +13513,6 @@ __metadata:
languageName: node
linkType: hard
-"available-typed-arrays@npm:^1.0.5":
- version: 1.0.5
- resolution: "available-typed-arrays@npm:1.0.5"
- checksum: c4df567ca72d2754a6cbad20088f5f98b1065b3360178169fa9b44ea101af62c0f423fc3854fa820fd6895b6b9171b8386e71558203103ff8fc2ad503fdcc660
- languageName: node
- linkType: hard
-
"aws-sign2@npm:~0.5.0":
version: 0.5.0
resolution: "aws-sign2@npm:0.5.0"
@@ -13603,10 +13534,10 @@ __metadata:
languageName: node
linkType: hard
-"axe-core@npm:^4.2.0, axe-core@npm:^4.3.3, axe-core@npm:^4.3.5":
- version: 4.3.5
- resolution: "axe-core@npm:4.3.5"
- checksum: 48c08748271964b9a09e523cd5739cc3b8be8982ffffda30269b7e4f75af35b56ba951467a0e37eb213380f7b3544b7503e1a213660aadc00b990d6427e11b1e
+"axe-core@npm:^4.2.0, axe-core@npm:^4.3.5, axe-core@npm:^4.4.1":
+ version: 4.4.1
+ resolution: "axe-core@npm:4.4.1"
+ checksum: 97790fd0a2d10e123b02c7cc82b83696b3e8cf5a09fd15a2bc7eb8e4a0a3a5b41970853f435aae576b42dcd75412282d4344fa7b7bd018a2e8d855eee89194cd
languageName: node
linkType: hard
@@ -13854,17 +13785,6 @@ __metadata:
languageName: node
linkType: hard
-"babel-plugin-debug-macros@npm:^0.2.0":
- version: 0.2.0
- resolution: "babel-plugin-debug-macros@npm:0.2.0"
- dependencies:
- semver: ^5.3.0
- peerDependencies:
- "@babel/core": ^7.0.0-beta.42
- checksum: d70d26a0e3ceeb5af0c91b0726448cec237f433afa5b493ba344a615f63ab29576c92e391f834c8c7cce57a549bf7a3e5f663771dac216daaf9887727090d901
- languageName: node
- linkType: hard
-
"babel-plugin-debug-macros@npm:^0.3.3, babel-plugin-debug-macros@npm:^0.3.4":
version: 0.3.4
resolution: "babel-plugin-debug-macros@npm:0.3.4"
@@ -13947,19 +13867,6 @@ __metadata:
languageName: node
linkType: hard
-"babel-plugin-htmlbars-inline-precompile@npm:^5.0.0":
- version: 5.3.1
- resolution: "babel-plugin-htmlbars-inline-precompile@npm:5.3.1"
- dependencies:
- babel-plugin-ember-modules-api-polyfill: ^3.5.0
- line-column: ^1.0.2
- magic-string: ^0.25.7
- parse-static-imports: ^1.1.0
- string.prototype.matchall: ^4.0.5
- checksum: 8a93893d22f5dc6cb8c271c228311b3cb60b01df247f592e0d88df88b690114f7193fc2175c72de3ad3898a81a53dc0c407c6f059801315dea912e5628c9a5fa
- languageName: node
- linkType: hard
-
"babel-plugin-istanbul@npm:^5.1.0":
version: 5.2.0
resolution: "babel-plugin-istanbul@npm:5.2.0"
@@ -14054,7 +13961,7 @@ __metadata:
languageName: node
linkType: hard
-"babel-plugin-named-asset-import@npm:^0.3.1, babel-plugin-named-asset-import@npm:^0.3.6, babel-plugin-named-asset-import@npm:^0.3.7":
+"babel-plugin-named-asset-import@npm:^0.3.6, babel-plugin-named-asset-import@npm:^0.3.7":
version: 0.3.8
resolution: "babel-plugin-named-asset-import@npm:0.3.8"
peerDependencies:
@@ -14096,14 +14003,14 @@ __metadata:
linkType: hard
"babel-plugin-polyfill-corejs3@npm:^0.5.0":
- version: 0.5.1
- resolution: "babel-plugin-polyfill-corejs3@npm:0.5.1"
+ version: 0.5.2
+ resolution: "babel-plugin-polyfill-corejs3@npm:0.5.2"
dependencies:
"@babel/helper-define-polyfill-provider": ^0.3.1
- core-js-compat: ^3.20.0
+ core-js-compat: ^3.21.0
peerDependencies:
"@babel/core": ^7.0.0-0
- checksum: 1331408d94fff19cc54151b7e5f1433135a4ac620f4f08104c0405eaf4c8f178fd2381f413a2751156a490c14684660d8af1741de5fec154dd9ab046ce5ecac7
+ checksum: 4b6c36934e1b80629abcb35a8b2e0749e9f3df5ba911447a1726b30ff6eeb76e5858b83477e844abf33fea25da2220e820a1d7a10035d88f63c98544d1d66723
languageName: node
linkType: hard
@@ -14119,13 +14026,14 @@ __metadata:
linkType: hard
"babel-plugin-preval@npm:^5.0.0":
- version: 5.0.0
- resolution: "babel-plugin-preval@npm:5.0.0"
+ version: 5.1.0
+ resolution: "babel-plugin-preval@npm:5.1.0"
dependencies:
- "@babel/runtime": ^7.9.2
- babel-plugin-macros: ^2.8.0
+ "@babel/runtime": ^7.12.5
+ "@types/babel__core": ^7.1.12
+ babel-plugin-macros: ^3.0.1
require-from-string: ^2.0.2
- checksum: af2a8c8c0821f38edd381217a8c7f1eb769233e521709e0c44356433282d42c7e08e59e685884c093ae05b55fa318d7f7e95cb297f73c0bbecae2dd43f0adfb9
+ checksum: d40814ca18f24df818a87e71ad8c1dc559cf69c0e44218bb9f5aef24680431a04e4bad8e96dc2679282b50b16a55c9597e37130d6bd5489b3eddab97d020ae5e
languageName: node
linkType: hard
@@ -14140,17 +14048,18 @@ __metadata:
languageName: node
linkType: hard
-"babel-plugin-styled-components@npm:>= 1, babel-plugin-styled-components@npm:>= 1.12.0":
- version: 2.0.2
- resolution: "babel-plugin-styled-components@npm:2.0.2"
+"babel-plugin-styled-components@npm:>= 1":
+ version: 2.0.6
+ resolution: "babel-plugin-styled-components@npm:2.0.6"
dependencies:
"@babel/helper-annotate-as-pure": ^7.16.0
"@babel/helper-module-imports": ^7.16.0
babel-plugin-syntax-jsx: ^6.18.0
lodash: ^4.17.11
+ picomatch: ^2.3.0
peerDependencies:
styled-components: ">= 2"
- checksum: 30398a1fd2267751693718ea377238adfa71d75e95c6966a27e57a1fc0bb3b28f5bd6438f27253f2d71d63f5ad3b19fdc9c262071bc8bb8ec0c7fe2dab2817d9
+ checksum: 3056e12bea47524aa092a8a76ee430824f18ec45243d1ec305aab437704ea260c6cb77067fdc500b64221253a223f520c2783dc2b8b44a374597ac460b52ac93
languageName: node
linkType: hard
@@ -14373,11 +14282,11 @@ __metadata:
linkType: hard
"backbone@npm:^1.1.2":
- version: 1.4.0
- resolution: "backbone@npm:1.4.0"
+ version: 1.4.1
+ resolution: "backbone@npm:1.4.1"
dependencies:
underscore: ">=1.8.3"
- checksum: a0b4e4dff74038bf7fda756c16877bb12a1b55959e404434f5984d159858e14bfe92b8ff23bacecf3d188b8b0edffa70309d924e21ea7457dc17ab0ee8ea6abe
+ checksum: a31f35b1c7716678f4d4028397a8516374950b7d350c5ee16f1d04b6062d500dc9def4a37b942c667a3f588faa39a084b6fd10949536dc696f4d4703364de813
languageName: node
linkType: hard
@@ -14388,6 +14297,13 @@ __metadata:
languageName: node
linkType: hard
+"bail@npm:^2.0.0":
+ version: 2.0.2
+ resolution: "bail@npm:2.0.2"
+ checksum: 25cbea309ef6a1f56214187004e8f34014eb015713ea01fa5b9b7e9e776ca88d0fdffd64143ac42dc91966c915a4b7b683411b56e14929fad16153fc026ffb8b
+ languageName: node
+ linkType: hard
+
"balanced-match@npm:^1.0.0":
version: 1.0.2
resolution: "balanced-match@npm:1.0.2"
@@ -14493,7 +14409,7 @@ __metadata:
languageName: node
linkType: hard
-"before-after-hook@npm:^2.0.0, before-after-hook@npm:^2.1.0":
+"before-after-hook@npm:^2.0.0, before-after-hook@npm:^2.1.0, before-after-hook@npm:^2.2.0":
version: 2.2.2
resolution: "before-after-hook@npm:2.2.2"
checksum: 7457bfb8f40e8cbce943ea6e6531261925c6c8a451fea540762367a3e2e52b5979978963a7ec65f232a4f5b87310930bf152c9a055608c64ecee5115bad60b9a
@@ -14568,7 +14484,7 @@ __metadata:
languageName: node
linkType: hard
-"binaryextensions@npm:1 || 2, binaryextensions@npm:^2.1.2":
+"binaryextensions@npm:1 || 2":
version: 2.3.0
resolution: "binaryextensions@npm:2.3.0"
checksum: 5b118f3b864a9908109c93d0534e21983c0cf2e064c00e2866f60af3920179c85f1ca74275271b66c9381d8d5ea8c9bd254d50cf279dbcb3a9dfb9e40baaa3f2
@@ -14666,21 +14582,21 @@ __metadata:
languageName: node
linkType: hard
-"body-parser@npm:1.19.1":
- version: 1.19.1
- resolution: "body-parser@npm:1.19.1"
+"body-parser@npm:1.19.2":
+ version: 1.19.2
+ resolution: "body-parser@npm:1.19.2"
dependencies:
- bytes: 3.1.1
+ bytes: 3.1.2
content-type: ~1.0.4
debug: 2.6.9
depd: ~1.1.2
http-errors: 1.8.1
iconv-lite: 0.4.24
on-finished: ~2.3.0
- qs: 6.9.6
- raw-body: 2.4.2
+ qs: 6.9.7
+ raw-body: 2.4.3
type-is: ~1.6.18
- checksum: 29d3b3e2b0e39f9cf2b92ae7d3da3cb64d609222ae1a1ca878aa82371f968c62f26e406e3be87e34e7d179df0748c6a4c989ced2192b4620ee3777474402d6f5
+ checksum: 02158280b090d0ad99dfdc795b7d580762601283e4bcbd29409c11b34d5cfd737f632447a073bc2e79492d303827bd155fef2d63a333cdec18a87846221cee5e
languageName: node
linkType: hard
@@ -15040,21 +14956,6 @@ __metadata:
languageName: node
linkType: hard
-"broccoli-funnel@npm:^3.0.8":
- version: 3.0.8
- resolution: "broccoli-funnel@npm:3.0.8"
- dependencies:
- array-equal: ^1.0.0
- broccoli-plugin: ^4.0.7
- debug: ^4.1.1
- fs-tree-diff: ^2.0.1
- heimdalljs: ^0.2.0
- minimatch: ^3.0.0
- walk-sync: ^2.0.2
- checksum: 0cffcd9e8b075151348a59ff37e20a3b235e70b3c8ae58c39b6dfe35d2242e00d06d670cac8a412b459a04fb6427ae186ddaf2834f6492ed4a96163f119c7f27
- languageName: node
- linkType: hard
-
"broccoli-kitchen-sink-helpers@npm:^0.2.5":
version: 0.2.9
resolution: "broccoli-kitchen-sink-helpers@npm:0.2.9"
@@ -15201,25 +15102,6 @@ __metadata:
languageName: node
linkType: hard
-"broccoli-persistent-filter@npm:^3.1.2":
- version: 3.1.2
- resolution: "broccoli-persistent-filter@npm:3.1.2"
- dependencies:
- async-disk-cache: ^2.0.0
- async-promise-queue: ^1.0.3
- broccoli-plugin: ^4.0.3
- fs-tree-diff: ^2.0.0
- hash-for-dep: ^1.5.0
- heimdalljs: ^0.2.1
- heimdalljs-logger: ^0.1.7
- promise-map-series: ^0.2.1
- rimraf: ^3.0.0
- symlink-or-copy: ^1.0.1
- sync-disk-cache: ^2.0.0
- checksum: 349d716019c1e273eff4ef93233d7753e66610a5b9aacdcc4e1b3faecdc4ea7b2a9ed8ad982ae1ba7a5bce35a470637d4db0c9534300952582c630f4cc14485a
- languageName: node
- linkType: hard
-
"broccoli-plugin@npm:1.1.0":
version: 1.1.0
resolution: "broccoli-plugin@npm:1.1.0"
@@ -15271,7 +15153,7 @@ __metadata:
languageName: node
linkType: hard
-"broccoli-plugin@npm:^4.0.2, broccoli-plugin@npm:^4.0.3, broccoli-plugin@npm:^4.0.7":
+"broccoli-plugin@npm:^4.0.2":
version: 4.0.7
resolution: "broccoli-plugin@npm:4.0.7"
dependencies:
@@ -15549,17 +15431,17 @@ __metadata:
linkType: hard
"browserslist@npm:^4.0.0, browserslist@npm:^4.11.1, browserslist@npm:^4.12.0, browserslist@npm:^4.14.5, browserslist@npm:^4.16.1, browserslist@npm:^4.16.6, browserslist@npm:^4.17.5, browserslist@npm:^4.19.1, browserslist@npm:^4.6.2, browserslist@npm:^4.6.4, browserslist@npm:^4.6.6, browserslist@npm:^4.9.1":
- version: 4.19.1
- resolution: "browserslist@npm:4.19.1"
+ version: 4.19.3
+ resolution: "browserslist@npm:4.19.3"
dependencies:
- caniuse-lite: ^1.0.30001286
- electron-to-chromium: ^1.4.17
+ caniuse-lite: ^1.0.30001312
+ electron-to-chromium: ^1.4.71
escalade: ^3.1.1
- node-releases: ^2.0.1
+ node-releases: ^2.0.2
picocolors: ^1.0.0
bin:
browserslist: cli.js
- checksum: 0a5f88a895a95e612439a893dbb869ce52a211e186c0c2894326a27a9881f2ca6d7f8a4a15c24410b9f144b7ee6e8a91db4ece24738d1a63f7cdd5acc55271ae
+ checksum: 82eab71efff9deed3a28f43fc102bdecf95459af1ce24598b050e42ddc8876f9042222899cabc9d533fa651db6f18a45a4e275e447f45f43dd8bd21524f6becd
languageName: node
linkType: hard
@@ -15753,10 +15635,10 @@ __metadata:
languageName: node
linkType: hard
-"bytes@npm:3.1.1":
- version: 3.1.1
- resolution: "bytes@npm:3.1.1"
- checksum: 286a6280730ce90409a89acc0052bcb39e7fb28eb7c019bede36af22cce2c93993f17fd2d66839d7f8e142c2156505989b2c09499a7dbed461c918c782caca80
+"bytes@npm:3.1.2":
+ version: 3.1.2
+ resolution: "bytes@npm:3.1.2"
+ checksum: 76d1c43cbd602794ad8ad2ae94095cddeb1de78c5dddaa7005c51af10b0176c69971a6d88e805a90c2b6550d76636e43c40d8427a808b8645ede885de4a0358e
languageName: node
linkType: hard
@@ -15856,7 +15738,7 @@ __metadata:
languageName: node
linkType: hard
-"cacache@npm:^15.0.5, cacache@npm:^15.2.0":
+"cacache@npm:^15.0.5, cacache@npm:^15.2.0, cacache@npm:^15.3.0":
version: 15.3.0
resolution: "cacache@npm:15.3.0"
dependencies:
@@ -16119,10 +16001,10 @@ __metadata:
languageName: node
linkType: hard
-"caniuse-lite@npm:^1.0.0, caniuse-lite@npm:^1.0.30000981, caniuse-lite@npm:^1.0.30001032, caniuse-lite@npm:^1.0.30001035, caniuse-lite@npm:^1.0.30001109, caniuse-lite@npm:^1.0.30001125, caniuse-lite@npm:^1.0.30001181, caniuse-lite@npm:^1.0.30001286, caniuse-lite@npm:^1.0.30001297":
- version: 1.0.30001303
- resolution: "caniuse-lite@npm:1.0.30001303"
- checksum: e9acc6d7fd05f70d44007169d1331ee567337889f00e0e2e4398d0d15b7df49191c48f3fdb4ba069e6ed07c90db4273930ef32f500faa349ec42d5ce74b054e8
+"caniuse-lite@npm:^1.0.0, caniuse-lite@npm:^1.0.30000981, caniuse-lite@npm:^1.0.30001032, caniuse-lite@npm:^1.0.30001035, caniuse-lite@npm:^1.0.30001109, caniuse-lite@npm:^1.0.30001125, caniuse-lite@npm:^1.0.30001181, caniuse-lite@npm:^1.0.30001297, caniuse-lite@npm:^1.0.30001312":
+ version: 1.0.30001312
+ resolution: "caniuse-lite@npm:1.0.30001312"
+ checksum: 9969d14a76fde0dcde7a6c486a15340bcc4ccda57a3bca92c8e81c67e816a1629a4a68ddaca0c9918dfc4872bfb5391fcb0659a93ef6d8430c692a322264ec64
languageName: node
linkType: hard
@@ -16182,6 +16064,13 @@ __metadata:
languageName: node
linkType: hard
+"ccount@npm:^2.0.0":
+ version: 2.0.1
+ resolution: "ccount@npm:2.0.1"
+ checksum: 3939b1664390174484322bc3f45b798462e6c07ee6384cb3d645e0aa2f318502d174845198c1561930e1d431087f74cf1fe291ae9a4722821a9f4ba67e574350
+ languageName: node
+ linkType: hard
+
"chalk@npm:2.4.2, chalk@npm:^2.0.0, chalk@npm:^2.0.1, chalk@npm:^2.1.0, chalk@npm:^2.3.0, chalk@npm:^2.3.1, chalk@npm:^2.4.1, chalk@npm:^2.4.2":
version: 2.4.2
resolution: "chalk@npm:2.4.2"
@@ -16203,6 +16092,16 @@ __metadata:
languageName: node
linkType: hard
+"chalk@npm:4.1.2, chalk@npm:^4.0.0, chalk@npm:^4.1.0, chalk@npm:^4.1.2":
+ version: 4.1.2
+ resolution: "chalk@npm:4.1.2"
+ dependencies:
+ ansi-styles: ^4.1.0
+ supports-color: ^7.1.0
+ checksum: 4a3fef5cc34975c898ffe77141450f679721df9dde00f6c304353fa9c8b571929123b26a0e4617bde5018977eb655b31970c297b91b63ee83bb82aeb04666880
+ languageName: node
+ linkType: hard
+
"chalk@npm:^1.0.0, chalk@npm:^1.1.1, chalk@npm:^1.1.3":
version: 1.1.3
resolution: "chalk@npm:1.1.3"
@@ -16226,16 +16125,6 @@ __metadata:
languageName: node
linkType: hard
-"chalk@npm:^4.0.0, chalk@npm:^4.1.0, chalk@npm:^4.1.2":
- version: 4.1.2
- resolution: "chalk@npm:4.1.2"
- dependencies:
- ansi-styles: ^4.1.0
- supports-color: ^7.1.0
- checksum: 4a3fef5cc34975c898ffe77141450f679721df9dde00f6c304353fa9c8b571929123b26a0e4617bde5018977eb655b31970c297b91b63ee83bb82aeb04666880
- languageName: node
- linkType: hard
-
"char-regex@npm:^1.0.2":
version: 1.0.2
resolution: "char-regex@npm:1.0.2"
@@ -16250,6 +16139,13 @@ __metadata:
languageName: node
linkType: hard
+"character-entities-html4@npm:^2.0.0":
+ version: 2.1.0
+ resolution: "character-entities-html4@npm:2.1.0"
+ checksum: fe61b553f083400c20c0b0fd65095df30a0b445d960f3bbf271536ae6c3ba676f39cb7af0b4bf2755812f08ab9b88f2feed68f9aebb73bb153f7a115fe5c6e40
+ languageName: node
+ linkType: hard
+
"character-entities-legacy@npm:^1.0.0":
version: 1.1.4
resolution: "character-entities-legacy@npm:1.1.4"
@@ -16257,6 +16153,13 @@ __metadata:
languageName: node
linkType: hard
+"character-entities-legacy@npm:^3.0.0":
+ version: 3.0.0
+ resolution: "character-entities-legacy@npm:3.0.0"
+ checksum: ec4b430af873661aa754a896a2b55af089b4e938d3d010fad5219299a6b6d32ab175142699ee250640678cd64bdecd6db3c9af0b8759ab7b155d970d84c4c7d1
+ languageName: node
+ linkType: hard
+
"character-entities@npm:^1.0.0":
version: 1.2.4
resolution: "character-entities@npm:1.2.4"
@@ -16264,6 +16167,13 @@ __metadata:
languageName: node
linkType: hard
+"character-entities@npm:^2.0.0":
+ version: 2.0.1
+ resolution: "character-entities@npm:2.0.1"
+ checksum: b70185f4a45399d8f1b0393a86e5c43b85b375a5b55e09a46cad5c2ac450f67330a30348b5d8ec52d4aa7d884471718fbf34de8964489561a53588cfd8c6b950
+ languageName: node
+ linkType: hard
+
"character-parser@npm:^2.2.0":
version: 2.2.0
resolution: "character-parser@npm:2.2.0"
@@ -16280,6 +16190,20 @@ __metadata:
languageName: node
linkType: hard
+"character-reference-invalid@npm:^2.0.0":
+ version: 2.0.1
+ resolution: "character-reference-invalid@npm:2.0.1"
+ checksum: 2ae0dec770cd8659d7e8b0ce24392d83b4c2f0eb4a3395c955dce5528edd4cc030a794cfa06600fcdd700b3f2de2f9b8e40e309c0011c4180e3be64a0b42e6a1
+ languageName: node
+ linkType: hard
+
+"charcodes@npm:^0.2.0":
+ version: 0.2.0
+ resolution: "charcodes@npm:0.2.0"
+ checksum: 8fb1caa03503ae97f26cea4317e667be5eca4c74d7d822ffe87e42863309ea74deab830a3f718f131c0038e2dde9511ff75041fc79758fb1452e4525cced3dae
+ languageName: node
+ linkType: hard
+
"chardet@npm:^0.7.0":
version: 0.7.0
resolution: "chardet@npm:0.7.0"
@@ -16375,7 +16299,7 @@ __metadata:
languageName: node
linkType: hard
-"chokidar@npm:>=2.0.0 <4.0.0, chokidar@npm:>=3.0.0 <4.0.0, chokidar@npm:^3.0.0, chokidar@npm:^3.3.0, chokidar@npm:^3.4.0, chokidar@npm:^3.4.1, chokidar@npm:^3.4.2, chokidar@npm:^3.5.2":
+"chokidar@npm:>=2.0.0 <4.0.0, chokidar@npm:>=3.0.0 <4.0.0, chokidar@npm:^3.0.0, chokidar@npm:^3.3.0, chokidar@npm:^3.4.0, chokidar@npm:^3.4.1, chokidar@npm:^3.4.2, chokidar@npm:^3.5.2, chokidar@npm:^3.5.3":
version: 3.5.3
resolution: "chokidar@npm:3.5.3"
dependencies:
@@ -16409,13 +16333,13 @@ __metadata:
linkType: hard
"chromatic@npm:^6.0.2":
- version: 6.4.2
- resolution: "chromatic@npm:6.4.2"
+ version: 6.5.1
+ resolution: "chromatic@npm:6.5.1"
bin:
chroma: bin/main.cjs
chromatic: bin/main.cjs
chromatic-cli: bin/main.cjs
- checksum: edfd87600546a54289657af05098ca16c97cb66efbd48ec617ee8a04f6d8a4611a6c6622104080dfb25db05e68b5d486e095fa8ed23af38bed12a32ca3458b1b
+ checksum: 500f94d2c5a74384890e167e8f6e20f6feb69f75c77d396262c6b35560ac9742c926fd0c78f842581be268adaaf5b06a481e043c70c5d4b22c2b0707f757657c
languageName: node
linkType: hard
@@ -16649,13 +16573,13 @@ __metadata:
linkType: hard
"clipboard@npm:^2.0.0":
- version: 2.0.9
- resolution: "clipboard@npm:2.0.9"
+ version: 2.0.10
+ resolution: "clipboard@npm:2.0.10"
dependencies:
good-listener: ^1.2.2
select: ^1.1.2
tiny-emitter: ^2.0.0
- checksum: d6aa9de65ab90355d94976a197ea3475bd8074eefcccbc794a5016b8fa426a3d1cfb19302d7a86fee5308a5dabed55f37c139cf1b76dd33f4c9c9ea73c2396ee
+ checksum: 3670ba44901d87e593376b0ac4097c530c9e28b35179ca2597245a2de377b3e9745e447d8944af079459d681d55d05150382af144ccde8764fe7411fd6726b40
languageName: node
linkType: hard
@@ -16934,12 +16858,12 @@ __metadata:
linkType: hard
"columnify@npm:^1.5.4":
- version: 1.5.4
- resolution: "columnify@npm:1.5.4"
+ version: 1.6.0
+ resolution: "columnify@npm:1.6.0"
dependencies:
- strip-ansi: ^3.0.0
+ strip-ansi: ^6.0.1
wcwidth: ^1.0.0
- checksum: bed7041413afab966f6c478730a1617764065c6cee598b6ba8d7400fb95974b857682a721b7edd7358e10ab3e47512930208903707f7f806fa887f9ee6ca5946
+ checksum: 25b90b59129331bbb8b0c838f8df69924349b83e8eab9549f431062a20a39094b8d744bb83265be38fd5d03140ce4bfbd85837c293f618925e83157ae9535f1d
languageName: node
linkType: hard
@@ -16968,10 +16892,10 @@ __metadata:
languageName: node
linkType: hard
-"command-exists@npm:^1.2.6":
- version: 1.2.9
- resolution: "command-exists@npm:1.2.9"
- checksum: 75040240062de46cd6cd43e6b3032a8b0494525c89d3962e280dde665103f8cc304a8b313a5aa541b91da2f5a9af75c5959dc3a77893a2726407a5e9a0234c16
+"comma-separated-tokens@npm:^2.0.0":
+ version: 2.0.2
+ resolution: "comma-separated-tokens@npm:2.0.2"
+ checksum: 5884b75fa52cb47c5d55f22401ca590db3e37a46e9b2ad7c7dc26fea17cca55c5c1a4db3247af1ce292eaf69241af213d7c44fc7c2e83a4b64f852014335c22b
languageName: node
linkType: hard
@@ -17040,6 +16964,13 @@ __metadata:
languageName: node
linkType: hard
+"commander@npm:^9.0.0":
+ version: 9.0.0
+ resolution: "commander@npm:9.0.0"
+ checksum: 527e1aa27be7db7e8f543e9f6c7a8cd8e82290dd2319eef65537b4e49efa7b53c503fc3353aea89686b220dde78892d3ba855e663a4e15b771d5f2241660e9f0
+ languageName: node
+ linkType: hard
+
"commander@npm:~2.19.0":
version: 2.19.0
resolution: "commander@npm:2.19.0"
@@ -17251,7 +17182,7 @@ __metadata:
languageName: node
linkType: hard
-"console-browserify@npm:^1.1.0, console-browserify@npm:^1.2.0":
+"console-browserify@npm:^1.1.0":
version: 1.2.0
resolution: "console-browserify@npm:1.2.0"
checksum: 89b99a53b7d6cee54e1e64fa6b1f7ac24b844b4019c5d39db298637e55c1f4ffa5c165457ad984864de1379df2c8e1886cbbdac85d9dbb6876a9f26c3106f226
@@ -17320,13 +17251,6 @@ __metadata:
languageName: node
linkType: hard
-"content-disposition@npm:0.5.2":
- version: 0.5.2
- resolution: "content-disposition@npm:0.5.2"
- checksum: 49eebaa0da1f9609b192e99d7fec31d1178cb57baa9d01f5b63b29787ac31e9d18b5a1033e854c68c9b6cce790e700a6f7fa60e43f95e2e416404e114a8f2f49
- languageName: node
- linkType: hard
-
"content-disposition@npm:0.5.3":
version: 0.5.3
resolution: "content-disposition@npm:0.5.3"
@@ -17500,10 +17424,10 @@ __metadata:
languageName: node
linkType: hard
-"cookie@npm:0.4.1, cookie@npm:~0.4.1":
- version: 0.4.1
- resolution: "cookie@npm:0.4.1"
- checksum: 4d7bc798df3d0f34035977949cd6b7d05bbab47d7dcb868667f460b578a550cd20dec923832b8a3a107ef35aba091a3975e14f79efacf6e39282dc0fed6db4a1
+"cookie@npm:0.4.2, cookie@npm:~0.4.1":
+ version: 0.4.2
+ resolution: "cookie@npm:0.4.2"
+ checksum: beab41fbd7c20175e3a2799ba948c1dcc71ef69f23fe14eeeff59fc09f50c517b0f77098db87dbb4c55da802f9d86ee86cdc1cd3efd87760341551838d53fca2
languageName: node
linkType: hard
@@ -17606,20 +17530,20 @@ __metadata:
languageName: node
linkType: hard
-"core-js-compat@npm:^3.20.0, core-js-compat@npm:^3.20.2, core-js-compat@npm:^3.6.2, core-js-compat@npm:^3.6.5, core-js-compat@npm:^3.8.0, core-js-compat@npm:^3.8.1":
- version: 3.20.3
- resolution: "core-js-compat@npm:3.20.3"
+"core-js-compat@npm:^3.20.2, core-js-compat@npm:^3.21.0, core-js-compat@npm:^3.6.2, core-js-compat@npm:^3.6.5, core-js-compat@npm:^3.8.0, core-js-compat@npm:^3.8.1":
+ version: 3.21.1
+ resolution: "core-js-compat@npm:3.21.1"
dependencies:
browserslist: ^4.19.1
semver: 7.0.0
- checksum: 9336368c6e92dcedeb27640194c8364140cd324d77dca07d77768d81204ed1a79ccd310ae17e9270db6a5c30a1c93c5bd6b8c0dbd4f077777831b13a42a68d79
+ checksum: a7671c8b83e7db88650ff6d8ad6fe57f59b814de170f0635d2759c071c63b1585b1b24ddcc6befe99b6fe38362c513ce1753a2d8efc0b8fbcae372d146308419
languageName: node
linkType: hard
"core-js-pure@npm:^3.20.2, core-js-pure@npm:^3.8.1, core-js-pure@npm:^3.8.2":
- version: 3.20.3
- resolution: "core-js-pure@npm:3.20.3"
- checksum: 10536f8b02253804ebb5300b142b49ef3a90e44ed6d137a8659a460c86daccb6ee4dc2979c2dac55f7ca171fcf8891fd677a34431394d629dd5a4b0dfe67d0b8
+ version: 3.21.1
+ resolution: "core-js-pure@npm:3.21.1"
+ checksum: 49903104b8d61b2a223342d723d7719dc4eee8331d774cc2eb6869e4eb9aab6fcab003e0fce8a79046a53ec807c834df9ab0042d54e00b8e50447ce4da202dc0
languageName: node
linkType: hard
@@ -17644,10 +17568,10 @@ __metadata:
languageName: node
linkType: hard
-"core-js@npm:^3.0.4, core-js@npm:^3.2.1, core-js@npm:^3.5.0, core-js@npm:^3.6.5, core-js@npm:^3.8.2":
- version: 3.20.3
- resolution: "core-js@npm:3.20.3"
- checksum: 7c53c1971572cc6bcfb89eef612d1602fdd97cc8872172ea64a73f5216c3ef43af472a40be76994cbf854b3fb11dd7e01bbbbad0177e0ec79e502c1d86b516fe
+"core-js@npm:^3.0.4, core-js@npm:^3.21.1, core-js@npm:^3.5.0, core-js@npm:^3.6.5, core-js@npm:^3.8.2":
+ version: 3.21.1
+ resolution: "core-js@npm:3.21.1"
+ checksum: 8791de72e2c87a9f1d33166c8974f2b8decfa3287c1418befc193459826a671660694d7f96e3301ae982e35c12d4cfe09b53d6e268512e5be25c57988e112179
languageName: node
linkType: hard
@@ -17775,20 +17699,20 @@ __metadata:
resolution: "cra-kitchen-sink@workspace:examples/cra-kitchen-sink"
dependencies:
"@pmmmwh/react-refresh-webpack-plugin": ^0.5.3
- "@storybook/addon-a11y": 6.5.0-alpha.42
- "@storybook/addon-actions": 6.5.0-alpha.42
- "@storybook/addon-backgrounds": 6.5.0-alpha.42
- "@storybook/addon-docs": 6.5.0-alpha.42
+ "@storybook/addon-a11y": 6.5.0-alpha.48
+ "@storybook/addon-actions": 6.5.0-alpha.48
+ "@storybook/addon-backgrounds": 6.5.0-alpha.48
+ "@storybook/addon-docs": 6.5.0-alpha.48
"@storybook/addon-ie11": 0.0.7--canary.5e87b64.0
- "@storybook/addon-jest": 6.5.0-alpha.42
- "@storybook/addon-links": 6.5.0-alpha.42
- "@storybook/addon-storyshots": 6.5.0-alpha.42
- "@storybook/addons": 6.5.0-alpha.42
- "@storybook/builder-webpack4": 6.5.0-alpha.42
- "@storybook/client-logger": 6.5.0-alpha.42
+ "@storybook/addon-jest": 6.5.0-alpha.48
+ "@storybook/addon-links": 6.5.0-alpha.48
+ "@storybook/addon-storyshots": 6.5.0-alpha.48
+ "@storybook/addons": 6.5.0-alpha.48
+ "@storybook/builder-webpack4": 6.5.0-alpha.48
+ "@storybook/client-logger": 6.5.0-alpha.48
"@storybook/preset-create-react-app": ^3.1.6
- "@storybook/react": 6.5.0-alpha.42
- "@storybook/theming": 6.5.0-alpha.42
+ "@storybook/react": 6.5.0-alpha.48
+ "@storybook/theming": 6.5.0-alpha.48
global: ^4.4.0
prop-types: ^15.7.2
react: 16.14.0
@@ -17803,14 +17727,14 @@ __metadata:
version: 0.0.0-use.local
resolution: "cra-react15@workspace:examples/cra-react15"
dependencies:
- "@storybook/addon-actions": 6.5.0-alpha.42
+ "@storybook/addon-actions": 6.5.0-alpha.48
"@storybook/addon-ie11": 0.0.7--canary.5e87b64.0
- "@storybook/addon-links": 6.5.0-alpha.42
- "@storybook/addons": 6.5.0-alpha.42
- "@storybook/builder-webpack4": 6.5.0-alpha.42
+ "@storybook/addon-links": 6.5.0-alpha.48
+ "@storybook/addons": 6.5.0-alpha.48
+ "@storybook/builder-webpack4": 6.5.0-alpha.48
"@storybook/preset-create-react-app": ^3.1.6
- "@storybook/react": 6.5.0-alpha.42
- "@storybook/theming": 6.5.0-alpha.42
+ "@storybook/react": 6.5.0-alpha.48
+ "@storybook/theming": 6.5.0-alpha.48
babel-core: 6
babel-loader: ^8.0.0
babel-runtime: 6
@@ -17827,12 +17751,12 @@ __metadata:
version: 0.0.0-use.local
resolution: "cra-ts-essentials@workspace:examples/cra-ts-essentials"
dependencies:
- "@storybook/addon-essentials": 6.5.0-alpha.42
+ "@storybook/addon-essentials": 6.5.0-alpha.48
"@storybook/addon-ie11": 0.0.7--canary.5e87b64.0
- "@storybook/addons": 6.5.0-alpha.42
- "@storybook/builder-webpack4": 6.5.0-alpha.42
+ "@storybook/addons": 6.5.0-alpha.48
+ "@storybook/builder-webpack4": 6.5.0-alpha.48
"@storybook/preset-create-react-app": ^3.1.6
- "@storybook/react": 6.5.0-alpha.42
+ "@storybook/react": 6.5.0-alpha.48
"@types/jest": ^26.0.16
"@types/node": ^14.14.20 || ^16.0.0
"@types/react": ^16.14.23
@@ -17850,15 +17774,15 @@ __metadata:
version: 0.0.0-use.local
resolution: "cra-ts-kitchen-sink@workspace:examples/cra-ts-kitchen-sink"
dependencies:
- "@storybook/addon-a11y": 6.5.0-alpha.42
- "@storybook/addon-actions": 6.5.0-alpha.42
- "@storybook/addon-docs": 6.5.0-alpha.42
+ "@storybook/addon-a11y": 6.5.0-alpha.48
+ "@storybook/addon-actions": 6.5.0-alpha.48
+ "@storybook/addon-docs": 6.5.0-alpha.48
"@storybook/addon-ie11": 0.0.7--canary.5e87b64.0
- "@storybook/addon-links": 6.5.0-alpha.42
- "@storybook/addons": 6.5.0-alpha.42
- "@storybook/builder-webpack4": 6.5.0-alpha.42
+ "@storybook/addon-links": 6.5.0-alpha.48
+ "@storybook/addons": 6.5.0-alpha.48
+ "@storybook/builder-webpack4": 6.5.0-alpha.48
"@storybook/preset-create-react-app": ^3.1.6
- "@storybook/react": 6.5.0-alpha.42
+ "@storybook/react": 6.5.0-alpha.48
"@types/enzyme": ^3.10.8
"@types/jest": 25.2.3
"@types/node": ^14.14.20 || ^16.0.0
@@ -17992,7 +17916,7 @@ __metadata:
languageName: node
linkType: hard
-"cross-spawn@npm:^6.0.0, cross-spawn@npm:^6.0.4, cross-spawn@npm:^6.0.5":
+"cross-spawn@npm:^6.0.0, cross-spawn@npm:^6.0.5":
version: 6.0.5
resolution: "cross-spawn@npm:6.0.5"
dependencies:
@@ -18014,7 +17938,7 @@ __metadata:
languageName: node
linkType: hard
-"crypto-browserify@npm:^3.11.0, crypto-browserify@npm:^3.12.0":
+"crypto-browserify@npm:^3.11.0":
version: 3.12.0
resolution: "crypto-browserify@npm:3.12.0"
dependencies:
@@ -18284,17 +18208,6 @@ __metadata:
languageName: node
linkType: hard
-"css-to-react-native@npm:^3.0.0":
- version: 3.0.0
- resolution: "css-to-react-native@npm:3.0.0"
- dependencies:
- camelize: ^1.0.0
- css-color-keywords: ^1.0.0
- postcss-value-parser: ^4.0.2
- checksum: 03dcf5381ff6a888e3621aaffd812fd52df803d01c264b99142a9f73942007c2e953bd27339d6e2da2504a940a2b0d3cc702d3a737165703a0d8ae9c5626c1c1
- languageName: node
- linkType: hard
-
"css-tree@npm:1.0.0-alpha.37":
version: 1.0.0-alpha.37
resolution: "css-tree@npm:1.0.0-alpha.37"
@@ -18422,42 +18335,42 @@ __metadata:
languageName: node
linkType: hard
-"cssnano-preset-default@npm:^5.0.1, cssnano-preset-default@npm:^5.1.11":
- version: 5.1.11
- resolution: "cssnano-preset-default@npm:5.1.11"
+"cssnano-preset-default@npm:^5.0.1, cssnano-preset-default@npm:^5.1.12":
+ version: 5.1.12
+ resolution: "cssnano-preset-default@npm:5.1.12"
dependencies:
css-declaration-sorter: ^6.0.3
- cssnano-utils: ^3.0.1
+ cssnano-utils: ^3.0.2
postcss-calc: ^8.2.0
- postcss-colormin: ^5.2.4
- postcss-convert-values: ^5.0.3
- postcss-discard-comments: ^5.0.2
- postcss-discard-duplicates: ^5.0.2
- postcss-discard-empty: ^5.0.2
- postcss-discard-overridden: ^5.0.3
- postcss-merge-longhand: ^5.0.5
- postcss-merge-rules: ^5.0.5
- postcss-minify-font-values: ^5.0.3
- postcss-minify-gradients: ^5.0.5
- postcss-minify-params: ^5.0.4
- postcss-minify-selectors: ^5.1.2
- postcss-normalize-charset: ^5.0.2
- postcss-normalize-display-values: ^5.0.2
- postcss-normalize-positions: ^5.0.3
- postcss-normalize-repeat-style: ^5.0.3
- postcss-normalize-string: ^5.0.3
- postcss-normalize-timing-functions: ^5.0.2
- postcss-normalize-unicode: ^5.0.3
- postcss-normalize-url: ^5.0.4
- postcss-normalize-whitespace: ^5.0.3
- postcss-ordered-values: ^5.0.4
- postcss-reduce-initial: ^5.0.2
- postcss-reduce-transforms: ^5.0.3
- postcss-svgo: ^5.0.3
- postcss-unique-selectors: ^5.0.3
+ postcss-colormin: ^5.2.5
+ postcss-convert-values: ^5.0.4
+ postcss-discard-comments: ^5.0.3
+ postcss-discard-duplicates: ^5.0.3
+ postcss-discard-empty: ^5.0.3
+ postcss-discard-overridden: ^5.0.4
+ postcss-merge-longhand: ^5.0.6
+ postcss-merge-rules: ^5.0.6
+ postcss-minify-font-values: ^5.0.4
+ postcss-minify-gradients: ^5.0.6
+ postcss-minify-params: ^5.0.5
+ postcss-minify-selectors: ^5.1.3
+ postcss-normalize-charset: ^5.0.3
+ postcss-normalize-display-values: ^5.0.3
+ postcss-normalize-positions: ^5.0.4
+ postcss-normalize-repeat-style: ^5.0.4
+ postcss-normalize-string: ^5.0.4
+ postcss-normalize-timing-functions: ^5.0.3
+ postcss-normalize-unicode: ^5.0.4
+ postcss-normalize-url: ^5.0.5
+ postcss-normalize-whitespace: ^5.0.4
+ postcss-ordered-values: ^5.0.5
+ postcss-reduce-initial: ^5.0.3
+ postcss-reduce-transforms: ^5.0.4
+ postcss-svgo: ^5.0.4
+ postcss-unique-selectors: ^5.0.4
peerDependencies:
postcss: ^8.2.15
- checksum: 555209fb77ea21223aba96a6cac8d50b8327e8f03c6192892cf361572123305cfc28fdbe13e3e04b480f9e74b4b12f0bbb64a2e4d2389e09109bf155389687fa
+ checksum: a822dc697dbecf190cec685079d061fc7351e99756cef283d5bb9ff3840a297044ed6a465d7f7ff47f3827cc67dd86a613d3f347874ccd57ffd0b7519f64d371
languageName: node
linkType: hard
@@ -18491,12 +18404,12 @@ __metadata:
languageName: node
linkType: hard
-"cssnano-utils@npm:^3.0.1":
- version: 3.0.1
- resolution: "cssnano-utils@npm:3.0.1"
+"cssnano-utils@npm:^3.0.2":
+ version: 3.0.2
+ resolution: "cssnano-utils@npm:3.0.2"
peerDependencies:
postcss: ^8.2.15
- checksum: 679a693929fbfddb66265178a1450377f693a7db5e03073ad081b6c61171ff2a98750ed71977b02f6f5e3b19a8aafc714f868495474bb26920bdac58eaefa438
+ checksum: 8c4b9e86a13daf910853e96ad6f86ecb74f5691bc67e04234b3611689c191e274b8414dfcea2830cba28b8182d6702fd1446394fd61525f95229030921e91fcf
languageName: node
linkType: hard
@@ -18526,15 +18439,15 @@ __metadata:
linkType: hard
"cssnano@npm:^5.0.15":
- version: 5.0.16
- resolution: "cssnano@npm:5.0.16"
+ version: 5.0.17
+ resolution: "cssnano@npm:5.0.17"
dependencies:
- cssnano-preset-default: ^5.1.11
+ cssnano-preset-default: ^5.1.12
lilconfig: ^2.0.3
yaml: ^1.10.2
peerDependencies:
postcss: ^8.2.15
- checksum: 3d3e0375f871403015c31404358b4c4db7f38af494aa74897e8c3d8c082bde542ed312ebd5cec573d915e6e6e8491836c9f3841a9d53c1014309c30586c2d6bf
+ checksum: f200f877b6048be18cdf133fd62013074de2af76e12ea23b43d7252f30a1651173a9ac509f74262463efb8a604df8f453bb8cec7780fda7f587520397173e108
languageName: node
linkType: hard
@@ -18693,8 +18606,8 @@ __metadata:
linkType: hard
"danger@npm:^10.6.2":
- version: 10.8.0
- resolution: "danger@npm:10.8.0"
+ version: 10.9.0
+ resolution: "danger@npm:10.9.0"
dependencies:
"@babel/polyfill": ^7.2.5
"@octokit/rest": ^16.43.1
@@ -18720,7 +18633,7 @@ __metadata:
memfs-or-file-map-to-github-branch: ^1.1.0
micromatch: ^4.0.4
node-cleanup: ^2.1.2
- node-fetch: 2.6.1
+ node-fetch: ^2.6.7
override-require: ^1.1.1
p-limit: ^2.1.0
parse-diff: ^0.7.0
@@ -18742,7 +18655,7 @@ __metadata:
danger-process: distribution/commands/danger-process.js
danger-reset-status: distribution/commands/danger-reset-status.js
danger-runner: distribution/commands/danger-runner.js
- checksum: 4eafccec1f19955301ba1aca8bb2a5999b450322540327d4ed695819fb1a4779003674517f02419ebe4d1d1297b24fe59a05146943f86fcf6eac49dd5480e48a
+ checksum: b8a6d9d04d0ea97ee0a7bf76c6062a6499616e2b0a1a3acbe604b0115a34bbdfba1bb9e096a0abe7f58be3f7d7eb53cfbb42ff36d21184b15fce0cccbf5ee1ed
languageName: node
linkType: hard
@@ -18815,9 +18728,9 @@ __metadata:
linkType: hard
"dayjs@npm:^1.10.4":
- version: 1.10.7
- resolution: "dayjs@npm:1.10.7"
- checksum: 2ce908776ea5b383dba2c01c72290ff12ad97cafa81b9c72a9cc4f801d736d592f20bd992ea1dff083ab80e807080b5af21f634bb09e67f89f66582a9059053a
+ version: 1.10.8
+ resolution: "dayjs@npm:1.10.8"
+ checksum: b2c515f730632a7e6ee2bcec73a18f885fbfb03dbaf27028a19d62508c3d980d130308ae5ad68bb6ce708b7a37d9ebedf22fb637b4b2aa9d72efbe1bc81e5203
languageName: node
linkType: hard
@@ -18919,6 +18832,15 @@ __metadata:
languageName: node
linkType: hard
+"decode-named-character-reference@npm:^1.0.0":
+ version: 1.0.1
+ resolution: "decode-named-character-reference@npm:1.0.1"
+ dependencies:
+ character-entities: ^2.0.0
+ checksum: f3e717f76ea416944508ccba8c8ccbf8ef8e202595ea3f94fdc0e1658eb3520f4de9e60f23368a024b866d89115c76ecd641085dd1a1bdf6348c0331cbfc4ce1
+ languageName: node
+ linkType: hard
+
"decode-uri-component@npm:^0.2.0":
version: 0.2.0
resolution: "decode-uri-component@npm:0.2.0"
@@ -19202,6 +19124,13 @@ __metadata:
languageName: node
linkType: hard
+"dequal@npm:^2.0.0":
+ version: 2.0.2
+ resolution: "dequal@npm:2.0.2"
+ checksum: 998a2c6f5ba12ae4e8e4ca5384aadba7bcd6cef66a4830bd9e359d91132b2dff74510db830f3815ef4fddc3d4989834f1a7f66e906347bd75fa04231bf311451
+ languageName: node
+ linkType: hard
+
"des.js@npm:^1.0.0":
version: 1.0.1
resolution: "des.js@npm:1.0.1"
@@ -19362,10 +19291,10 @@ __metadata:
languageName: node
linkType: hard
-"diff-sequences@npm:^27.4.0":
- version: 27.4.0
- resolution: "diff-sequences@npm:27.4.0"
- checksum: f3fe6112f329f38220cf279ae956ef7b835b49fb34f49b53eae97f4f311b1f539b5d4b1082fdaa2fae79cf604f3a131da1dc93543129996229bcc1d9183cd74f
+"diff-sequences@npm:^27.5.1":
+ version: 27.5.1
+ resolution: "diff-sequences@npm:27.5.1"
+ checksum: a52566d891b89a666f48ba69f54262fa8293ae6264ae04da82c7bf3b6661cba75561de0729f18463179d56003cc0fd69aa09845f2c2cd7a353b1ec1e1a96beb9
languageName: node
linkType: hard
@@ -19376,6 +19305,13 @@ __metadata:
languageName: node
linkType: hard
+"diff@npm:^5.0.0":
+ version: 5.0.0
+ resolution: "diff@npm:5.0.0"
+ checksum: 08c5904779bbababcd31f1707657b1ad57f8a9b65e6f88d3fb501d09a965d5f8d73066898a7d3f35981f9e4101892c61d99175d421f3b759533213c253d91134
+ languageName: node
+ linkType: hard
+
"diffable-html@npm:^4.1.0":
version: 4.1.0
resolution: "diffable-html@npm:4.1.0"
@@ -19493,9 +19429,9 @@ __metadata:
linkType: hard
"dom-accessibility-api@npm:^0.5.6, dom-accessibility-api@npm:^0.5.9":
- version: 0.5.11
- resolution: "dom-accessibility-api@npm:0.5.11"
- checksum: b0c4d37266bdec1b450313fee6656b59908596e116a1aa7338315c764b546ac6c5cd21e3229915b649a82f8e54fb0c2edfb904d34fab9c40f0eb90048f3f52d7
+ version: 0.5.13
+ resolution: "dom-accessibility-api@npm:0.5.13"
+ checksum: ddb4d6189673c8e012d0d1dfea7d4e6ab7ed1b999ec752b239cfaccffe0d8df8985208d7761039748b25adac948440a2af32998024744edcb6befcbfbccf54d6
languageName: node
linkType: hard
@@ -19543,13 +19479,6 @@ __metadata:
languageName: node
linkType: hard
-"domain-browser@npm:^3.5.0":
- version: 3.5.0
- resolution: "domain-browser@npm:3.5.0"
- checksum: f3d480fdde0f1db88fb84c63e8367b7dd472fefd77136499cc7f3101e5b5caf0cd7a49da5208b073cc50ddf5148cfea72e8fa3cd18245827611ccfb1d595a29f
- languageName: node
- linkType: hard
-
"domelementtype@npm:1, domelementtype@npm:^1.3.1":
version: 1.3.1
resolution: "domelementtype@npm:1.3.1"
@@ -19610,9 +19539,9 @@ __metadata:
linkType: hard
"dompurify@npm:^2.2.6":
- version: 2.3.5
- resolution: "dompurify@npm:2.3.5"
- checksum: 22741dbea24ea7213dbf7159812d5a28bf43fe0405407c8fb5955b04efacd9a793361cdc59b416d6f2cfe6c0b76352e25f0ef78ad2487766c23b54c2337a3caa
+ version: 2.3.6
+ resolution: "dompurify@npm:2.3.6"
+ checksum: db9a8d03ffc4c77123988af5031a25c5ce43bff4b226c049354b00940143f0aa065b38c29fa282d7d7db36212c562a654108decb84f3f1c9545ca1784f5d1480
languageName: node
linkType: hard
@@ -19740,14 +19669,14 @@ __metadata:
linkType: hard
"dts-bundle-generator@npm:^6.2.0":
- version: 6.4.0
- resolution: "dts-bundle-generator@npm:6.4.0"
+ version: 6.5.0
+ resolution: "dts-bundle-generator@npm:6.5.0"
dependencies:
typescript: ">=3.0.1"
yargs: ^17.2.1
bin:
dts-bundle-generator: dist/bin/dts-bundle-generator.js
- checksum: c3c9464ed132bba49f82ceff275971e3cdc150aa5d120f581487e5a524930a7e1d66847dbb10155c2b177df9e8dc1fccbe48721b0b19349bfe7aa3aca4fcfec8
+ checksum: 6f46226b5619b9653f34a7962085ce3b32ce970a6d189c7399fbab3dd9ec24f420bc5e174cf1d70a770d1141af33abbc9e7e0df877cd619518ca7940bcd29b44
languageName: node
linkType: hard
@@ -19833,16 +19762,6 @@ __metadata:
languageName: node
linkType: hard
-"editions@npm:^2.2.0":
- version: 2.3.1
- resolution: "editions@npm:2.3.1"
- dependencies:
- errlop: ^2.0.0
- semver: ^6.3.0
- checksum: 18a507230eff7a16e4f6839323ba9a9c9504a3ae46efcf6d0512fe639a43e64c977f17b2f586987e319f8308674d148f0201e960ef29d3d0207e65f8fe5d77e9
- languageName: node
- linkType: hard
-
"ee-first@npm:1.1.1":
version: 1.1.1
resolution: "ee-first@npm:1.1.1"
@@ -19857,7 +19776,7 @@ __metadata:
languageName: node
linkType: hard
-"ejs@npm:^3.1.5, ejs@npm:^3.1.6":
+"ejs@npm:^3.1.5":
version: 3.1.6
resolution: "ejs@npm:3.1.6"
dependencies:
@@ -19868,10 +19787,10 @@ __metadata:
languageName: node
linkType: hard
-"electron-to-chromium@npm:^1.3.378, electron-to-chromium@npm:^1.3.564, electron-to-chromium@npm:^1.4.17":
- version: 1.4.56
- resolution: "electron-to-chromium@npm:1.4.56"
- checksum: 439069c4ce7c254152828e612ba35a9b197b704151a132c00f9892e3e2a8b2ac0e47490f5a2395acf0b4607b647e2bd8d631148bb9446bbe6261eb5f90ef99f6
+"electron-to-chromium@npm:^1.3.378, electron-to-chromium@npm:^1.3.564, electron-to-chromium@npm:^1.4.71":
+ version: 1.4.75
+ resolution: "electron-to-chromium@npm:1.4.75"
+ checksum: 49afc3d6f710842efa46c3dfb1c7aefc292703b9c0a83e9ba0136f3432e658683120a62cbc62208f1d4c42a5d89596cb9ce14020741699b2b66c7940a19be23a
languageName: node
linkType: hard
@@ -19940,7 +19859,7 @@ __metadata:
languageName: node
linkType: hard
-"ember-cli-babel@npm:^7.1.2, ember-cli-babel@npm:^7.13.0, ember-cli-babel@npm:^7.13.2, ember-cli-babel@npm:^7.19.0, ember-cli-babel@npm:^7.22.1, ember-cli-babel@npm:^7.23.0, ember-cli-babel@npm:^7.26.6, ember-cli-babel@npm:^7.5.0, ember-cli-babel@npm:^7.7.3":
+"ember-cli-babel@npm:^7.1.2, ember-cli-babel@npm:^7.13.0, ember-cli-babel@npm:^7.13.2, ember-cli-babel@npm:^7.19.0, ember-cli-babel@npm:^7.22.1, ember-cli-babel@npm:^7.23.0, ember-cli-babel@npm:^7.5.0, ember-cli-babel@npm:^7.7.3":
version: 7.26.11
resolution: "ember-cli-babel@npm:7.26.11"
dependencies:
@@ -20007,30 +19926,6 @@ __metadata:
languageName: node
linkType: hard
-"ember-cli-htmlbars@npm:^5.7.1":
- version: 5.7.2
- resolution: "ember-cli-htmlbars@npm:5.7.2"
- dependencies:
- "@ember/edition-utils": ^1.2.0
- babel-plugin-htmlbars-inline-precompile: ^5.0.0
- broccoli-debug: ^0.6.5
- broccoli-persistent-filter: ^3.1.2
- broccoli-plugin: ^4.0.3
- common-tags: ^1.8.0
- ember-cli-babel-plugin-helpers: ^1.1.1
- ember-cli-version-checker: ^5.1.2
- fs-tree-diff: ^2.0.1
- hash-for-dep: ^1.5.1
- heimdalljs-logger: ^0.1.10
- json-stable-stringify: ^1.0.1
- semver: ^7.3.4
- silent-error: ^1.1.1
- strip-bom: ^4.0.0
- walk-sync: ^2.2.0
- checksum: 7c4e69947f396056af21d1b153bcb97dd958fcfc52cc1f7cd7e84a6dc90558ca4b63bc3a77066c96da519cdd7733b565d800c4ab3643d5010612b6e322dd15dc
- languageName: node
- linkType: hard
-
"ember-cli-inject-live-reload@npm:^2.0.2":
version: 2.1.0
resolution: "ember-cli-inject-live-reload@npm:2.1.0"
@@ -20173,7 +20068,7 @@ __metadata:
languageName: node
linkType: hard
-"ember-cli-version-checker@npm:^5.1.1, ember-cli-version-checker@npm:^5.1.2":
+"ember-cli-version-checker@npm:^5.1.1":
version: 5.1.2
resolution: "ember-cli-version-checker@npm:5.1.2"
dependencies:
@@ -20285,47 +20180,24 @@ __metadata:
languageName: node
linkType: hard
-"ember-compatibility-helpers@npm:^1.2.1":
- version: 1.2.5
- resolution: "ember-compatibility-helpers@npm:1.2.5"
- dependencies:
- babel-plugin-debug-macros: ^0.2.0
- ember-cli-version-checker: ^5.1.1
- fs-extra: ^9.1.0
- semver: ^5.4.1
- checksum: fa0109b39d3824af9ad5d57b5d39ac2361021fefea4829d02d8fbf827cb96923863f436c57b2bb6206e2596a8a38d2dfef2425dd812ea1e94454b16e18b2ec22
- languageName: node
- linkType: hard
-
-"ember-destroyable-polyfill@npm:^2.0.3":
- version: 2.0.3
- resolution: "ember-destroyable-polyfill@npm:2.0.3"
- dependencies:
- ember-cli-babel: ^7.22.1
- ember-cli-version-checker: ^5.1.1
- ember-compatibility-helpers: ^1.2.1
- checksum: da2dbb6bbf7d0ca56d96aeba9ce46ad31cd3f690a376c2fdd9e6b3a111bb68c60765fd49e9a39ab7032011df7b28af21fb87a2a27e83582084bf2956b5441005
- languageName: node
- linkType: hard
-
"ember-example@workspace:examples/ember-cli":
version: 0.0.0-use.local
resolution: "ember-example@workspace:examples/ember-cli"
dependencies:
"@babel/core": ^7.12.10
"@ember/optional-features": ^2.0.0
- "@storybook/addon-a11y": 6.5.0-alpha.42
- "@storybook/addon-actions": 6.5.0-alpha.42
- "@storybook/addon-backgrounds": 6.5.0-alpha.42
- "@storybook/addon-controls": 6.5.0-alpha.42
- "@storybook/addon-docs": 6.5.0-alpha.42
- "@storybook/addon-links": 6.5.0-alpha.42
- "@storybook/addon-storysource": 6.5.0-alpha.42
- "@storybook/addon-viewport": 6.5.0-alpha.42
- "@storybook/addons": 6.5.0-alpha.42
- "@storybook/ember": 6.5.0-alpha.42
+ "@storybook/addon-a11y": 6.5.0-alpha.48
+ "@storybook/addon-actions": 6.5.0-alpha.48
+ "@storybook/addon-backgrounds": 6.5.0-alpha.48
+ "@storybook/addon-controls": 6.5.0-alpha.48
+ "@storybook/addon-docs": 6.5.0-alpha.48
+ "@storybook/addon-links": 6.5.0-alpha.48
+ "@storybook/addon-storysource": 6.5.0-alpha.48
+ "@storybook/addon-viewport": 6.5.0-alpha.48
+ "@storybook/addons": 6.5.0-alpha.48
+ "@storybook/ember": 6.5.0-alpha.48
"@storybook/ember-cli-storybook": ^0.2.1
- "@storybook/source-loader": 6.5.0-alpha.42
+ "@storybook/source-loader": 6.5.0-alpha.48
babel-loader: ^8.0.0
broccoli-asset-rev: ^3.0.0
cross-env: ^7.0.3
@@ -20512,17 +20384,6 @@ __metadata:
languageName: node
linkType: hard
-"emphasize@npm:^4.2.0":
- version: 4.2.0
- resolution: "emphasize@npm:4.2.0"
- dependencies:
- chalk: ^4.0.0
- highlight.js: ~10.4.0
- lowlight: ~1.17.0
- checksum: 4e538115e99673c9003539c63d6c94f9038e1639b787a82480ae456b9da584ed26ab5f1b0226c139217d12b1ad0a97fb1edc5046aa4cccd5ad2ba35951154ab1
- languageName: node
- linkType: hard
-
"encodeurl@npm:~1.0.2":
version: 1.0.2
resolution: "encodeurl@npm:1.0.2"
@@ -20571,7 +20432,7 @@ __metadata:
languageName: node
linkType: hard
-"engine.io-parser@npm:~5.0.0":
+"engine.io-parser@npm:~5.0.3":
version: 5.0.3
resolution: "engine.io-parser@npm:5.0.3"
dependencies:
@@ -20581,8 +20442,8 @@ __metadata:
linkType: hard
"engine.io@npm:~6.1.0":
- version: 6.1.2
- resolution: "engine.io@npm:6.1.2"
+ version: 6.1.3
+ resolution: "engine.io@npm:6.1.3"
dependencies:
"@types/cookie": ^0.4.1
"@types/cors": ^2.8.12
@@ -20592,9 +20453,9 @@ __metadata:
cookie: ~0.4.1
cors: ~2.8.5
debug: ~4.3.1
- engine.io-parser: ~5.0.0
+ engine.io-parser: ~5.0.3
ws: ~8.2.3
- checksum: e048180ae51c38ee972e225059225764a95c7d4688e8b8a27c6369fd66eeac5e8c3836ae078b323a0e917e4a3665532820f4e9679a12ce0e20160848cbd470ca
+ checksum: ccf16f0e92f8fd45887d40b56a12861ac3107a464aa31890f55d1980d9b875b260c6aeeae14079f72eb63a561d477eaa0bee40b007c820fa03685bd6bfc8921f
languageName: node
linkType: hard
@@ -20620,12 +20481,12 @@ __metadata:
linkType: hard
"enhanced-resolve@npm:^5.7.0, enhanced-resolve@npm:^5.8.3":
- version: 5.8.3
- resolution: "enhanced-resolve@npm:5.8.3"
+ version: 5.9.1
+ resolution: "enhanced-resolve@npm:5.9.1"
dependencies:
graceful-fs: ^4.2.4
tapable: ^2.2.0
- checksum: c50de36c067359833577fb031de6a3b3d0eeb0627cb81fea1e132116d0b5a4fc746e0c8525f683de0a656f25aad08d3da773775b27608db1695ac47ac64ff673
+ checksum: 32d8a20356461c91ffb78441b5f96dca864b54caad60635ffe8c5932250abcf664df6245bbfc0623a2e516e08adf4d456d1189cf55bbd0e24930f36ea503b4fd
languageName: node
linkType: hard
@@ -20833,13 +20694,6 @@ __metadata:
languageName: node
linkType: hard
-"errlop@npm:^2.0.0":
- version: 2.2.0
- resolution: "errlop@npm:2.2.0"
- checksum: dd4bcd0cf9d3c0942dbfbf8c07d10715bbf06118d53f4b77102e8b653e421e3858abb613ff4e5f55df62f01fa54ea31a7cea620b05c43d20a2c040aac3c46085
- languageName: node
- linkType: hard
-
"errno@npm:^0.1.1, errno@npm:^0.1.3, errno@npm:~0.1.1, errno@npm:~0.1.7":
version: 0.1.8
resolution: "errno@npm:0.1.8"
@@ -20861,11 +20715,11 @@ __metadata:
linkType: hard
"error-stack-parser@npm:^2.0.6":
- version: 2.0.6
- resolution: "error-stack-parser@npm:2.0.6"
+ version: 2.0.7
+ resolution: "error-stack-parser@npm:2.0.7"
dependencies:
stackframe: ^1.1.1
- checksum: 4a09ea8d6309f2ad492d8e5e417ddf3aeed17440e6747ea128f8423de1e6b9f24db9220845426ab43224481ebe6ec52e92aaff8211e7d28b79f462a220745352
+ checksum: 3cb82dbc0832d4767e1e3cca5c297ddaa2d8675733d342edadc481c914be8d28a2e0b138143e5682edc5b85792b18ac0441f5be4af727528ed612ca18e47e766
languageName: node
linkType: hard
@@ -20878,7 +20732,7 @@ __metadata:
languageName: node
linkType: hard
-"es-abstract@npm:^1.17.2, es-abstract@npm:^1.18.5, es-abstract@npm:^1.19.0, es-abstract@npm:^1.19.1":
+"es-abstract@npm:^1.17.2, es-abstract@npm:^1.19.0, es-abstract@npm:^1.19.1":
version: 1.19.1
resolution: "es-abstract@npm:1.19.1"
dependencies:
@@ -20959,9 +20813,9 @@ __metadata:
linkType: hard
"es5-shim@npm:^4.5.13":
- version: 4.6.4
- resolution: "es5-shim@npm:4.6.4"
- checksum: 42abae15ab90f29f3d449889724f54cb521ae70e2de196166984b27af9be30e1d3ff7533570109f797f65e6f8f9a2df956e394907de0c26b3075c525a0b80619
+ version: 4.6.5
+ resolution: "es5-shim@npm:4.6.5"
+ checksum: 64dfb2ab2828cd2cd7ce869cf3e603d9ec2605a14dc512220a376f16e9387e9b6a3c75a0f4df0a9c2bb7d875b941a70b709473cdccf834e131d88c8b2fc30631
languageName: node
linkType: hard
@@ -20990,13 +20844,6 @@ __metadata:
languageName: node
linkType: hard
-"es6-object-assign@npm:^1.1.0":
- version: 1.1.0
- resolution: "es6-object-assign@npm:1.1.0"
- checksum: 11c165ae16866aca897dee9b689402f0e871589e859809343ef9e0fdd067133684db16fd15abdba2a99e7319222b9f43e6b747baabb909cee9d0ecbac8deebee
- languageName: node
- linkType: hard
-
"es6-promise@npm:^4.0.3":
version: 4.2.8
resolution: "es6-promise@npm:4.2.8"
@@ -21510,26 +21357,26 @@ __metadata:
linkType: hard
"eslint-plugin-react@npm:^7.19.0, eslint-plugin-react@npm:^7.21.5, eslint-plugin-react@npm:^7.22.0":
- version: 7.28.0
- resolution: "eslint-plugin-react@npm:7.28.0"
+ version: 7.29.2
+ resolution: "eslint-plugin-react@npm:7.29.2"
dependencies:
array-includes: ^3.1.4
array.prototype.flatmap: ^1.2.5
doctrine: ^2.1.0
estraverse: ^5.3.0
jsx-ast-utils: ^2.4.1 || ^3.0.0
- minimatch: ^3.0.4
+ minimatch: ^3.1.2
object.entries: ^1.1.5
object.fromentries: ^2.0.5
object.hasown: ^1.1.0
object.values: ^1.1.5
- prop-types: ^15.7.2
+ prop-types: ^15.8.1
resolve: ^2.0.0-next.3
semver: ^6.3.0
string.prototype.matchall: ^4.0.6
peerDependencies:
eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8
- checksum: b34001378601dac82d13e4a2ecbe2db4dc004981aec90afbaa92d0b712399a8709cf5a288721a7d59e326e80f19e8b1e426349164c598c4467460f09d599c21b
+ checksum: a81b5ce16bf0cb9d32f9ca2409783c75fb2e46d580563b42f4dce330ac3826fa769dabfe49836172e1710d77589c8ef29cef023a985afc32a1f7b6297db9757b
languageName: node
linkType: hard
@@ -21620,10 +21467,10 @@ __metadata:
languageName: node
linkType: hard
-"eslint-visitor-keys@npm:^3.0.0, eslint-visitor-keys@npm:^3.1.0":
- version: 3.2.0
- resolution: "eslint-visitor-keys@npm:3.2.0"
- checksum: e350bba5cf27070fab0545db8a44746e909366979c9822ff0290c7aaeb3683374b7ef749eecd39b6d84160b3520ec3ee3d720e1f9417ca205392161c19198fea
+"eslint-visitor-keys@npm:^3.0.0":
+ version: 3.3.0
+ resolution: "eslint-visitor-keys@npm:3.3.0"
+ checksum: fc6a9b5bdee8d90e35e7564fd9db10fdf507a2c089a4f0d4d3dd091f7f4ac6790547c8b1b7a760642ef819f875ef86dd5bcb8cdf01b0775f57a699f4e6a20a18
languageName: node
linkType: hard
@@ -21712,17 +21559,6 @@ __metadata:
languageName: node
linkType: hard
-"espree@npm:9.2.0":
- version: 9.2.0
- resolution: "espree@npm:9.2.0"
- dependencies:
- acorn: ^8.6.0
- acorn-jsx: ^5.3.1
- eslint-visitor-keys: ^3.1.0
- checksum: fa0acceb6bf151193b873379ba8ee3771c93ce3b656aeb9fe4a36adcf170e315925096e8addddd2d347ae6026ab18febc5892e314e6b109b61a9c3be75f88dc0
- languageName: node
- linkType: hard
-
"espree@npm:^7.3.0, espree@npm:^7.3.1":
version: 7.3.1
resolution: "espree@npm:7.3.1"
@@ -21851,6 +21687,53 @@ __metadata:
languageName: node
linkType: hard
+"estree-to-babel@npm:^4.9.0":
+ version: 4.9.0
+ resolution: "estree-to-babel@npm:4.9.0"
+ dependencies:
+ "@babel/traverse": ^7.1.6
+ "@babel/types": ^7.2.0
+ checksum: b0e396ac7cb19d1fc8c943492b7d5b6584cf89afa6fa947b9185cbee1a313528448bcb0d8a2e04ad110b5eaad20de9f92a28c01137fcf9e3515285b08a52aaef
+ languageName: node
+ linkType: hard
+
+"estree-util-attach-comments@npm:^2.0.0":
+ version: 2.0.0
+ resolution: "estree-util-attach-comments@npm:2.0.0"
+ dependencies:
+ "@types/estree": ^0.0.46
+ checksum: 35bdf4bee1da786f1bbffe53dc906034d273d4cc0c488699991fafc83e8b8261b01392a9c270a7bfda40dd075d982bdb50538fbeff63356bb3dc1a463b61ed6f
+ languageName: node
+ linkType: hard
+
+"estree-util-build-jsx@npm:^2.0.0":
+ version: 2.0.0
+ resolution: "estree-util-build-jsx@npm:2.0.0"
+ dependencies:
+ "@types/estree-jsx": ^0.0.1
+ estree-util-is-identifier-name: ^2.0.0
+ estree-walker: ^3.0.0
+ checksum: 71d8b23d3dd1975228603f4425d2ed99091874bac6a777e526f747d5af17f8e6c4efe90cc4080c4414d9d7927526ff5b14e5bdf0515bced74b7538f1b31cb0a2
+ languageName: node
+ linkType: hard
+
+"estree-util-is-identifier-name@npm:^2.0.0":
+ version: 2.0.0
+ resolution: "estree-util-is-identifier-name@npm:2.0.0"
+ checksum: d8abed7cc31d10ea3fd81ae00e9cc01540b29a9ed54febf2379150519d6163ca0b5f8c1fbaa7e42f3f31eb1ebac15c82f309c65619774a4e1c0b6f1bbce647b6
+ languageName: node
+ linkType: hard
+
+"estree-util-visit@npm:^1.0.0":
+ version: 1.1.0
+ resolution: "estree-util-visit@npm:1.1.0"
+ dependencies:
+ "@types/estree-jsx": ^0.0.1
+ "@types/unist": ^2.0.0
+ checksum: dbbe08dbe7ac4a30376c4fa555915e364a2da844631d75e16d5b39dd82801e724ed713516adcbb9b831ab1e29a5be839bb2f6423c6eebc2e64b26e8e2d6d369c
+ languageName: node
+ linkType: hard
+
"estree-walker@npm:^0.2.1":
version: 0.2.1
resolution: "estree-walker@npm:0.2.1"
@@ -21879,6 +21762,13 @@ __metadata:
languageName: node
linkType: hard
+"estree-walker@npm:^3.0.0":
+ version: 3.0.1
+ resolution: "estree-walker@npm:3.0.1"
+ checksum: e5a1d45eb83df0e61b11450a1107d9604694b696ee5a54b26ad24449cce4f75614de9efdb9a4a16421c629c9bd241feaa79076ad273d7efa391fd91299f64a9e
+ languageName: node
+ linkType: hard
+
"esutils@npm:^2.0.2":
version: 2.0.3
resolution: "esutils@npm:2.0.3"
@@ -21974,14 +21864,14 @@ __metadata:
languageName: node
linkType: hard
-"events@npm:^3.0.0, events@npm:^3.1.0, events@npm:^3.2.0":
+"events@npm:^3.0.0, events@npm:^3.2.0":
version: 3.3.0
resolution: "events@npm:3.3.0"
checksum: d6b6f2adbccbcda74ddbab52ed07db727ef52e31a61ed26db9feb7dc62af7fc8e060defa65e5f8af9449b86b52cc1a1f6a79f2eafcf4e62add2b7a1fa4a432f6
languageName: node
linkType: hard
-"eventsource@npm:^1.0.7":
+"eventsource@npm:^1.0.7, eventsource@npm:^1.1.0":
version: 1.1.0
resolution: "eventsource@npm:1.1.0"
dependencies:
@@ -22221,15 +22111,15 @@ __metadata:
linkType: hard
"express@npm:^4.10.7, express@npm:^4.13.1, express@npm:^4.16.3, express@npm:^4.17.1, express@npm:~4.17.1":
- version: 4.17.2
- resolution: "express@npm:4.17.2"
+ version: 4.17.3
+ resolution: "express@npm:4.17.3"
dependencies:
- accepts: ~1.3.7
+ accepts: ~1.3.8
array-flatten: 1.1.1
- body-parser: 1.19.1
+ body-parser: 1.19.2
content-disposition: 0.5.4
content-type: ~1.0.4
- cookie: 0.4.1
+ cookie: 0.4.2
cookie-signature: 1.0.6
debug: 2.6.9
depd: ~1.1.2
@@ -22244,7 +22134,7 @@ __metadata:
parseurl: ~1.3.3
path-to-regexp: 0.1.7
proxy-addr: ~2.0.7
- qs: 6.9.6
+ qs: 6.9.7
range-parser: ~1.2.1
safe-buffer: 5.2.1
send: 0.17.2
@@ -22254,7 +22144,7 @@ __metadata:
type-is: ~1.6.18
utils-merge: 1.0.1
vary: ~1.1.2
- checksum: 86478b9f1493ebcf86beac0cec33d88a3c3a488add952a4829b4c92434e3dd8111762563c3f76f0a43ddc0de765f9d54537089228752aa936d5937d01e22a276
+ checksum: 8fa8a8ae26bd11082b575ddfecdfe51ca535e048ebcf58455e3f813aacc1712e09a297a511efb0e4843e2d2a413cb8c1cd6b81f79371e50d7b8efb1aa6b8d5af
languageName: node
linkType: hard
@@ -22416,19 +22306,6 @@ __metadata:
languageName: node
linkType: hard
-"fast-glob@npm:3.1.1":
- version: 3.1.1
- resolution: "fast-glob@npm:3.1.1"
- dependencies:
- "@nodelib/fs.stat": ^2.0.2
- "@nodelib/fs.walk": ^1.2.3
- glob-parent: ^5.1.0
- merge2: ^1.3.0
- micromatch: ^4.0.2
- checksum: 0ef668106f3eef408013559c342cf26466e6cc0fe2d45c120e748cb4c638a54dc4b34c68eb6733890644b91d2b5a97591f77a82217a265fe9ece04ab8e9ddddc
- languageName: node
- linkType: hard
-
"fast-glob@npm:^2.0.2, fast-glob@npm:^2.2.6":
version: 2.2.7
resolution: "fast-glob@npm:2.2.7"
@@ -22509,16 +22386,7 @@ __metadata:
languageName: node
linkType: hard
-"fast-url-parser@npm:1.1.3":
- version: 1.1.3
- resolution: "fast-url-parser@npm:1.1.3"
- dependencies:
- punycode: ^1.3.2
- checksum: d85c5c409cf0215417380f98a2d29c23a95004d93ff0d8bdf1af5f1a9d1fc608ac89ac6ffe863783d2c73efb3850dd35390feb1de3296f49877bfee0392eb5d3
- languageName: node
- linkType: hard
-
-"fastest-levenshtein@npm:^1.0.12, fastest-levenshtein@npm:^1.0.8":
+"fastest-levenshtein@npm:^1.0.12":
version: 1.0.12
resolution: "fastest-levenshtein@npm:1.0.12"
checksum: 1755f98942952d5acd773eef03f9f9f046d95c447b10d1ef672df65a40f9a4d3f176ef60ae93e465f1c2bae127b7eb047d4df7e0dce492805bda76aff325dc88
@@ -22543,7 +22411,7 @@ __metadata:
languageName: node
linkType: hard
-"faye-websocket@npm:0.11.x, faye-websocket@npm:^0.11.3, faye-websocket@npm:~0.11.1":
+"faye-websocket@npm:0.11.x, faye-websocket@npm:^0.11.3, faye-websocket@npm:^0.11.4, faye-websocket@npm:~0.11.1":
version: 0.11.4
resolution: "faye-websocket@npm:0.11.4"
dependencies:
@@ -22916,15 +22784,15 @@ __metadata:
linkType: hard
"fireworm@npm:^0.7.0":
- version: 0.7.1
- resolution: "fireworm@npm:0.7.1"
+ version: 0.7.2
+ resolution: "fireworm@npm:0.7.2"
dependencies:
async: ~0.2.9
is-type: 0.0.1
lodash.debounce: ^3.1.1
lodash.flatten: ^3.0.2
minimatch: ^3.0.2
- checksum: b9135854cdf38efb9699017d477396b1f2e0feda1b69e0b078b2fb3cfc28c87cf5f0b66492bf9abb7f134bfac570514c414b6ddfc9c28d98db8e923a018e5455
+ checksum: c119a7dfc9d3f78060c1e77a7bdb34a7c5c0f0ef94fb25240cbef1ef97d70db0128bbd64c78d0aa9832063ff44faf5e3b34bc2f5aa3be9b1ea7e805104539bc4
languageName: node
linkType: hard
@@ -23010,9 +22878,9 @@ __metadata:
linkType: hard
"flow-parser@npm:0.*":
- version: 0.170.0
- resolution: "flow-parser@npm:0.170.0"
- checksum: 0e17e3b04a761c6f3f38822134b75df30df06fcd2dc3f09e8831837bcbfc679892ba41d4c802329590921e15644665d5c0c858ef305ad0dcd84f5ceb3da2437d
+ version: 0.172.0
+ resolution: "flow-parser@npm:0.172.0"
+ checksum: a773447ffbff214e3db260f7400c3b22f558cdaf4f6e8989e5ad9f65b7b5ba4efc7a14100e7221adfec37992d5c0fb6bbe47e853e5eaa7d718476790ee003364
languageName: node
linkType: hard
@@ -23034,12 +22902,12 @@ __metadata:
linkType: hard
"follow-redirects@npm:^1.0.0, follow-redirects@npm:^1.10.0, follow-redirects@npm:^1.14.0":
- version: 1.14.7
- resolution: "follow-redirects@npm:1.14.7"
+ version: 1.14.9
+ resolution: "follow-redirects@npm:1.14.9"
peerDependenciesMeta:
debug:
optional: true
- checksum: 62d5de1304905cb6ff6ca6c796ac61c327d85b44d233e75a9e89460e4bed866abe2841bc18a0b239e29a88a06d23194439172041560a0e5638af4e83517832dd
+ checksum: 08c465c17cbf3011ad16516609ee476abffa8fd1ff78c2082f1ff43614cb06586a0ccc8e99e5ebe13da06d064367cb269789e3ca0e93e2ad5b24fdc30b4294b6
languageName: node
linkType: hard
@@ -23075,13 +22943,6 @@ __metadata:
languageName: node
linkType: hard
-"foreach@npm:^2.0.5":
- version: 2.0.5
- resolution: "foreach@npm:2.0.5"
- checksum: 63a99bf2528dd709e243f99865221eee8e94f19e0d996673363b954f0555a6eb1f5bac253e53644b1f6d7d05c118e46eda9e9528a3520a37b75164c8138f5207
- languageName: node
- linkType: hard
-
"foreground-child@npm:^2.0.0":
version: 2.0.0
resolution: "foreground-child@npm:2.0.0"
@@ -23272,9 +23133,9 @@ __metadata:
linkType: hard
"fraction.js@npm:^4.0.13, fraction.js@npm:^4.1.2":
- version: 4.1.2
- resolution: "fraction.js@npm:4.1.2"
- checksum: d8675a25555531d3c1dcdb2f74f165e84eeb7cdf409f31034d6e7812827197f656975ee313dc2f6e18ad55a1c7a476dbee04c86063fb37721a07698f37622cc0
+ version: 4.1.3
+ resolution: "fraction.js@npm:4.1.3"
+ checksum: bde0ac8cdc64a19bd4389234ceeac822874ad7e880ba1e6cfced9339d444312e1797e40ebebdfbcef356e7e6a8492e1e14dd99bce79844e165fd2fbf0e62dfec
languageName: node
linkType: hard
@@ -23365,14 +23226,14 @@ __metadata:
languageName: node
linkType: hard
-"fs-extra@npm:^10.0.0":
- version: 10.0.0
- resolution: "fs-extra@npm:10.0.0"
+"fs-extra@npm:^10.0.0, fs-extra@npm:^10.0.1":
+ version: 10.0.1
+ resolution: "fs-extra@npm:10.0.1"
dependencies:
graceful-fs: ^4.2.0
jsonfile: ^6.0.1
universalify: ^2.0.0
- checksum: 85802f3d9e49d197744a8372f0d78d5a1faa3df73f4c5375d6366a4b9f745197d3da1f095841443d50f29a9f81cdc01363eb6d17bef2ba70c268559368211040
+ checksum: d8e0d70a7bfdb669619a5e91231fb91034f3ad6033910844571a39190b29708f652640db86d83ca5add8b013e5886a2fa81aba9754962ae2f5d730275ce426af
languageName: node
linkType: hard
@@ -23640,19 +23501,19 @@ __metadata:
linkType: hard
"gauge@npm:^4.0.0":
- version: 4.0.0
- resolution: "gauge@npm:4.0.0"
+ version: 4.0.2
+ resolution: "gauge@npm:4.0.2"
dependencies:
ansi-regex: ^5.0.1
aproba: ^1.0.3 || ^2.0.0
- color-support: ^1.1.2
- console-control-strings: ^1.0.0
+ color-support: ^1.1.3
+ console-control-strings: ^1.1.0
has-unicode: ^2.0.1
- signal-exit: ^3.0.0
+ signal-exit: ^3.0.7
string-width: ^4.2.3
strip-ansi: ^6.0.1
- wide-align: ^1.1.2
- checksum: 88e8b0b70b7b6d02c34086fa62d7d2e25e1c5a8c77c0b631362808bc1ae773b00fba09f9e9c4e66a2ca36d0253443c370736f15f2a2a8a2f6c039ca3bc03205e
+ wide-align: ^1.1.5
+ checksum: 1552a6ed04ca88d82f1207fb06866635f29ea852d7da49b5c54b16dd162818a890ca527c5b887c8f06f0f8fa754c5e44c5c6adf0ff44e34b91dda6d3fb471ea3
languageName: node
linkType: hard
@@ -23681,15 +23542,6 @@ __metadata:
languageName: node
linkType: hard
-"generic-names@npm:^4.0.0":
- version: 4.0.0
- resolution: "generic-names@npm:4.0.0"
- dependencies:
- loader-utils: ^3.2.0
- checksum: 4e2be864535fadceed4e803fefc1df7f85447d9479d51e611a8a43a2c96533422b62c8fae84d9eb10cc21ee3de569a8c29d5ba68978ae930cccc9cb43b9a36d1
- languageName: node
- linkType: hard
-
"genfun@npm:^5.0.0":
version: 5.0.0
resolution: "genfun@npm:5.0.0"
@@ -23994,7 +23846,7 @@ __metadata:
languageName: node
linkType: hard
-"glob-parent@npm:^5.0.0, glob-parent@npm:^5.1.0, glob-parent@npm:^5.1.1, glob-parent@npm:^5.1.2, glob-parent@npm:~5.1.2":
+"glob-parent@npm:^5.0.0, glob-parent@npm:^5.1.1, glob-parent@npm:^5.1.2, glob-parent@npm:~5.1.2":
version: 5.1.2
resolution: "glob-parent@npm:5.1.2"
dependencies:
@@ -24167,11 +24019,11 @@ __metadata:
linkType: hard
"globals@npm:^13.2.0, globals@npm:^13.6.0, globals@npm:^13.9.0":
- version: 13.12.0
- resolution: "globals@npm:13.12.0"
+ version: 13.12.1
+ resolution: "globals@npm:13.12.1"
dependencies:
type-fest: ^0.20.2
- checksum: e9daf6459d4f1056e64434d7fbd8dadba1036ec85b33ef4649bfa2000b816234ec02c37debf9e93fa3d50eb5f6e828a1c12279983636f58f864c7afda1c32546
+ checksum: e4b7fe3a66c2d05b67b57fc14ed1bfaa29fd09a5faad192b27e27c338e0fd69fda8b43d0b0dd36b429ef7d7adf2e97b4a960c2d4bdc2d5e1b04dde977978c2dd
languageName: node
linkType: hard
@@ -24709,6 +24561,28 @@ __metadata:
languageName: node
linkType: hard
+"hast-util-to-estree@npm:^2.0.0, hast-util-to-estree@npm:^2.0.2":
+ version: 2.0.2
+ resolution: "hast-util-to-estree@npm:2.0.2"
+ dependencies:
+ "@types/estree-jsx": ^0.0.1
+ "@types/hast": ^2.0.0
+ "@types/unist": ^2.0.0
+ comma-separated-tokens: ^2.0.0
+ estree-util-attach-comments: ^2.0.0
+ estree-util-is-identifier-name: ^2.0.0
+ hast-util-whitespace: ^2.0.0
+ mdast-util-mdx-expression: ^1.0.0
+ mdast-util-mdxjs-esm: ^1.0.0
+ property-information: ^6.0.0
+ space-separated-tokens: ^2.0.0
+ style-to-object: ^0.3.0
+ unist-util-position: ^4.0.0
+ zwitch: ^2.0.0
+ checksum: 4297170fdc93618c3dc76018d83015c9bda5313eab148d57f1c1d861dac3d67079cd9e108788c85fb1231fd9eb57d103421560857dcd18dafca69c1ea958c9f3
+ languageName: node
+ linkType: hard
+
"hast-util-to-parse5@npm:^6.0.0":
version: 6.0.0
resolution: "hast-util-to-parse5@npm:6.0.0"
@@ -24722,6 +24596,13 @@ __metadata:
languageName: node
linkType: hard
+"hast-util-whitespace@npm:^2.0.0":
+ version: 2.0.0
+ resolution: "hast-util-whitespace@npm:2.0.0"
+ checksum: 73eb60b5171815461e248a0190af9780a95034f4d95ae2271aa75ac58da505ed84f6493e63538bea3745cd73f0069c524d76fd31701deb41b94600bf2d1b44a8
+ languageName: node
+ linkType: hard
+
"hastscript@npm:^6.0.0":
version: 6.0.0
resolution: "hastscript@npm:6.0.0"
@@ -24816,13 +24697,6 @@ __metadata:
languageName: node
linkType: hard
-"highlight.js@npm:~10.4.0":
- version: 10.4.1
- resolution: "highlight.js@npm:10.4.1"
- checksum: 973312fb25232a03f3b73aa7b4508cba57978db64cfc9c6dbba58fdff1ea4aba1cf800786f6aed4b72f196c6cf7560b3c7395b4e4b35ad10b6eb9a7bf26430e2
- languageName: node
- linkType: hard
-
"history@npm:5.0.0":
version: 5.0.0
resolution: "history@npm:5.0.0"
@@ -24833,11 +24707,11 @@ __metadata:
linkType: hard
"history@npm:^5.1.0, history@npm:^5.2.0":
- version: 5.2.0
- resolution: "history@npm:5.2.0"
+ version: 5.3.0
+ resolution: "history@npm:5.3.0"
dependencies:
"@babel/runtime": ^7.7.6
- checksum: 45d5e1650e2161f0cf4ead3a1d6361e3973a035f44ace8a3b75ff9fe295039b45407af4e397ecfa2f49eb51ae1f051a3800ccf8c2455881ccf91727b846d07c2
+ checksum: 812ec839386222d6437bd78d9f05db32e47d105ada0ad8834b32626919dd2fee7a10001bc489510f93a8069d02f118214bd8d42a82f7cf9daf8e84fbcbbb2016
languageName: node
linkType: hard
@@ -24866,7 +24740,7 @@ __metadata:
languageName: node
linkType: hard
-"hoist-non-react-statics@npm:^3.0.0, hoist-non-react-statics@npm:^3.3.0":
+"hoist-non-react-statics@npm:^3.3.0":
version: 3.3.2
resolution: "hoist-non-react-statics@npm:3.3.2"
dependencies:
@@ -25005,23 +24879,23 @@ __metadata:
version: 0.0.0-use.local
resolution: "html-kitchen-sink@workspace:examples/html-kitchen-sink"
dependencies:
- "@storybook/addon-a11y": 6.5.0-alpha.42
- "@storybook/addon-actions": 6.5.0-alpha.42
- "@storybook/addon-backgrounds": 6.5.0-alpha.42
- "@storybook/addon-controls": 6.5.0-alpha.42
- "@storybook/addon-docs": 6.5.0-alpha.42
- "@storybook/addon-jest": 6.5.0-alpha.42
- "@storybook/addon-links": 6.5.0-alpha.42
+ "@storybook/addon-a11y": 6.5.0-alpha.48
+ "@storybook/addon-actions": 6.5.0-alpha.48
+ "@storybook/addon-backgrounds": 6.5.0-alpha.48
+ "@storybook/addon-controls": 6.5.0-alpha.48
+ "@storybook/addon-docs": 6.5.0-alpha.48
+ "@storybook/addon-jest": 6.5.0-alpha.48
+ "@storybook/addon-links": 6.5.0-alpha.48
"@storybook/addon-postcss": ^2.0.0
- "@storybook/addon-storyshots": 6.5.0-alpha.42
- "@storybook/addon-storysource": 6.5.0-alpha.42
- "@storybook/addon-viewport": 6.5.0-alpha.42
- "@storybook/addons": 6.5.0-alpha.42
- "@storybook/client-api": 6.5.0-alpha.42
- "@storybook/core": 6.5.0-alpha.42
- "@storybook/core-events": 6.5.0-alpha.42
- "@storybook/html": 6.5.0-alpha.42
- "@storybook/source-loader": 6.5.0-alpha.42
+ "@storybook/addon-storyshots": 6.5.0-alpha.48
+ "@storybook/addon-storysource": 6.5.0-alpha.48
+ "@storybook/addon-viewport": 6.5.0-alpha.48
+ "@storybook/addons": 6.5.0-alpha.48
+ "@storybook/client-api": 6.5.0-alpha.48
+ "@storybook/core": 6.5.0-alpha.48
+ "@storybook/core-events": 6.5.0-alpha.48
+ "@storybook/html": 6.5.0-alpha.48
+ "@storybook/source-loader": 6.5.0-alpha.48
autoprefixer: ^10.0.1
eventemitter3: ^4.0.7
format-json: ^1.0.3
@@ -25434,6 +25308,17 @@ __metadata:
languageName: node
linkType: hard
+"http-proxy-agent@npm:^5.0.0":
+ version: 5.0.0
+ resolution: "http-proxy-agent@npm:5.0.0"
+ dependencies:
+ "@tootallnate/once": 2
+ agent-base: 6
+ debug: 4
+ checksum: 32a05e413430b2c1e542e5c74b38a9f14865301dd69dff2e53ddb684989440e3d2ce0c4b64d25eb63cf6283e6265ff979a61cf93e3ca3d23047ddfdc8df34a32
+ languageName: node
+ linkType: hard
+
"http-proxy-middleware@npm:0.19.1":
version: 0.19.1
resolution: "http-proxy-middleware@npm:0.19.1"
@@ -25459,21 +25344,6 @@ __metadata:
languageName: node
linkType: hard
-"http-proxy-middleware@npm:^2.0.1":
- version: 2.0.2
- resolution: "http-proxy-middleware@npm:2.0.2"
- dependencies:
- "@types/http-proxy": ^1.17.8
- http-proxy: ^1.18.1
- is-glob: ^4.0.1
- is-plain-obj: ^3.0.0
- micromatch: ^4.0.2
- peerDependencies:
- "@types/express": ^4.17.13
- checksum: 63ba0ef3e42c71ca861153daa5a056770bc00f9b481e4616bc41ba1f2e000a490f96f41bf9e086e1dc5c2a803d5ee1eade2e1adc4ae47fd1398ccf25575184c7
- languageName: node
- linkType: hard
-
"http-proxy@npm:^1.13.1, http-proxy@npm:^1.17.0, http-proxy@npm:^1.18.0, http-proxy@npm:^1.18.1":
version: 1.18.1
resolution: "http-proxy@npm:1.18.1"
@@ -25648,12 +25518,12 @@ __metadata:
languageName: node
linkType: hard
-"i18next@npm:^21.6.5":
- version: 21.6.10
- resolution: "i18next@npm:21.6.10"
+"i18next@npm:^21.6.11":
+ version: 21.6.12
+ resolution: "i18next@npm:21.6.12"
dependencies:
"@babel/runtime": ^7.12.0
- checksum: aedaf2a63bbed0f3cbd0c84174e5825069fbb957583848c29e9ad2b8ced2f9a9213dccaa4329bf3d80b959930511e795b4c8cd7abedb436e879a02ad4d700168
+ checksum: a39163575b78810e96d623e92ca3cb69959152521aef9612fd90dcc5b929a26956a6d036a7846d8c11b5ee94f1b74f55fc41cc2d7e3687a685d2db7709b405a9
languageName: node
linkType: hard
@@ -25723,13 +25593,6 @@ __metadata:
languageName: node
linkType: hard
-"iferr@npm:^1.0.2":
- version: 1.0.2
- resolution: "iferr@npm:1.0.2"
- checksum: 16b50ddf9244a2edc9b08d2e4a0b2aca94dbee8344b611523fc0367c36b258c0fd1e5568bddc8c4c5a6087f30598bfca6932535a75a549a70d726b9b906b5ec0
- languageName: node
- linkType: hard
-
"ignore-by-default@npm:^1.0.1":
version: 1.0.1
resolution: "ignore-by-default@npm:1.0.1"
@@ -25950,9 +25813,9 @@ __metadata:
linkType: hard
"inflection@npm:^1.12.0":
- version: 1.13.1
- resolution: "inflection@npm:1.13.1"
- checksum: ef67e3947a23180e8e3dddf9c9e87463ccc4bd32417fed869e3440a87901522dcd0f3a71a2ce2c831571b7aacff093219c262ce58a1fb8151dccb1be96136501
+ version: 1.13.2
+ resolution: "inflection@npm:1.13.2"
+ checksum: 7b03a002c38f3c3cf4525fe011b339211206fd78c8e79c01a22bfb06808b401f201701da89df61105e9be1d73bf8fd09a6b26e6c7276a95606897aac1b94fc12
languageName: node
linkType: hard
@@ -25966,7 +25829,7 @@ __metadata:
languageName: node
linkType: hard
-"inherits@npm:2, inherits@npm:2.0.4, inherits@npm:^2.0.0, inherits@npm:^2.0.1, inherits@npm:^2.0.3, inherits@npm:^2.0.4, inherits@npm:~2.0.1, inherits@npm:~2.0.3, inherits@npm:~2.0.4":
+"inherits@npm:2, inherits@npm:2.0.4, inherits@npm:^2.0.0, inherits@npm:^2.0.1, inherits@npm:^2.0.3, inherits@npm:^2.0.4, inherits@npm:~2.0.1, inherits@npm:~2.0.3":
version: 2.0.4
resolution: "inherits@npm:2.0.4"
checksum: 4e531f648b29039fb7426fb94075e6545faa1eb9fe83c29f0b6d9e7263aceb4289d2d4557db0d428188eeb449cc7c5e77b0a0b2c4e248ff2a65933a0dee49ef2
@@ -26230,6 +26093,13 @@ __metadata:
languageName: node
linkType: hard
+"is-alphabetical@npm:^2.0.0":
+ version: 2.0.1
+ resolution: "is-alphabetical@npm:2.0.1"
+ checksum: 932367456f17237533fd1fc9fe179df77957271020b83ea31da50e5cc472d35ef6b5fb8147453274ffd251134472ce24eb6f8d8398d96dee98237cdb81a6c9a7
+ languageName: node
+ linkType: hard
+
"is-alphanumeric@npm:^1.0.0":
version: 1.0.0
resolution: "is-alphanumeric@npm:1.0.0"
@@ -26247,6 +26117,16 @@ __metadata:
languageName: node
linkType: hard
+"is-alphanumerical@npm:^2.0.0":
+ version: 2.0.1
+ resolution: "is-alphanumerical@npm:2.0.1"
+ dependencies:
+ is-alphabetical: ^2.0.0
+ is-decimal: ^2.0.0
+ checksum: 4b35c42b18e40d41378293f82a3ecd9de77049b476f748db5697c297f686e1e05b072a6aaae2d16f54d2a57f85b00cbbe755c75f6d583d1c77d6657bd0feb5a2
+ languageName: node
+ linkType: hard
+
"is-arguments@npm:^1.0.4, is-arguments@npm:^1.1.0":
version: 1.1.1
resolution: "is-arguments@npm:1.1.1"
@@ -26419,6 +26299,13 @@ __metadata:
languageName: node
linkType: hard
+"is-decimal@npm:^2.0.0":
+ version: 2.0.1
+ resolution: "is-decimal@npm:2.0.1"
+ checksum: 8085dd66f7d82f9de818fba48b9e9c0429cb4291824e6c5f2622e96b9680b54a07a624cfc663b24148b8e853c62a1c987cfe8b0b5a13f5156991afaf6736e334
+ languageName: node
+ linkType: hard
+
"is-descriptor@npm:^0.1.0":
version: 0.1.6
resolution: "is-descriptor@npm:0.1.6"
@@ -26551,15 +26438,6 @@ __metadata:
languageName: node
linkType: hard
-"is-generator-function@npm:^1.0.7":
- version: 1.0.10
- resolution: "is-generator-function@npm:1.0.10"
- dependencies:
- has-tostringtag: ^1.0.0
- checksum: df03514df01a6098945b5a0cfa1abff715807c8e72f57c49a0686ad54b3b74d394e2d8714e6f709a71eb00c9630d48e73ca1796c1ccc84ac95092c1fecc0d98b
- languageName: node
- linkType: hard
-
"is-git-url@npm:^1.0.0":
version: 1.0.0
resolution: "is-git-url@npm:1.0.0"
@@ -26592,6 +26470,13 @@ __metadata:
languageName: node
linkType: hard
+"is-hexadecimal@npm:^2.0.0":
+ version: 2.0.1
+ resolution: "is-hexadecimal@npm:2.0.1"
+ checksum: 3eb60fe2f1e2bbc760b927dcad4d51eaa0c60138cf7fc671803f66353ad90c301605b502c7ea4c6bb0548e1c7e79dfd37b73b632652e3b76030bba603a7e9626
+ languageName: node
+ linkType: hard
+
"is-installed-globally@npm:^0.4.0, is-installed-globally@npm:~0.4.0":
version: 0.4.0
resolution: "is-installed-globally@npm:0.4.0"
@@ -26644,16 +26529,6 @@ __metadata:
languageName: node
linkType: hard
-"is-nan@npm:^1.2.1":
- version: 1.3.2
- resolution: "is-nan@npm:1.3.2"
- dependencies:
- call-bind: ^1.0.0
- define-properties: ^1.1.3
- checksum: 8bfb286f85763f9c2e28ea32e9127702fe980ffd15fa5d63ade3be7786559e6e21355d3625dd364c769c033c5aedf0a2ed3d4025d336abf1b9241e3d9eddc5b0
- languageName: node
- linkType: hard
-
"is-negative-zero@npm:^2.0.1":
version: 2.0.2
resolution: "is-negative-zero@npm:2.0.2"
@@ -26792,6 +26667,13 @@ __metadata:
languageName: node
linkType: hard
+"is-plain-obj@npm:^4.0.0":
+ version: 4.0.0
+ resolution: "is-plain-obj@npm:4.0.0"
+ checksum: abe3ef27ac592b43d51c5d7a8c565fffaaf48241a40519057a5a58651ea4a8908e816346e43edae2323d303a3642668fca198dd9ef50b578f93fb014fc2f8460
+ languageName: node
+ linkType: hard
+
"is-plain-object@npm:5.0.0, is-plain-object@npm:^5.0.0":
version: 5.0.0
resolution: "is-plain-object@npm:5.0.0"
@@ -26831,6 +26713,15 @@ __metadata:
languageName: node
linkType: hard
+"is-reference@npm:^3.0.0":
+ version: 3.0.0
+ resolution: "is-reference@npm:3.0.0"
+ dependencies:
+ "@types/estree": "*"
+ checksum: a61aa6e659d926af73afb0ba13438fc2ac92fdb8b89a6fae9069ddb3fc0da017fe082f492da6ac8790e17499f5fed2b996e6729cfdd6d8a55cdb23973fb5ebb5
+ languageName: node
+ linkType: hard
+
"is-regex@npm:^1.0.3, is-regex@npm:^1.0.4, is-regex@npm:^1.0.5, is-regex@npm:^1.1.0, is-regex@npm:^1.1.2, is-regex@npm:^1.1.4":
version: 1.1.4
resolution: "is-regex@npm:1.1.4"
@@ -26942,19 +26833,6 @@ __metadata:
languageName: node
linkType: hard
-"is-typed-array@npm:^1.1.3, is-typed-array@npm:^1.1.7":
- version: 1.1.8
- resolution: "is-typed-array@npm:1.1.8"
- dependencies:
- available-typed-arrays: ^1.0.5
- call-bind: ^1.0.2
- es-abstract: ^1.18.5
- foreach: ^2.0.5
- has-tostringtag: ^1.0.0
- checksum: 31e0561cfc03b3e167b61f011de4eff12cda6a7d8a5f3e92e67c9043776e27df32f2ba4e690246711465ed1bef1917e7bdb09f68cc68b24666d2a3e7c5437af9
- languageName: node
- linkType: hard
-
"is-typedarray@npm:^1.0.0, is-typedarray@npm:~1.0.0":
version: 1.0.0
resolution: "is-typedarray@npm:1.0.0"
@@ -26978,13 +26856,6 @@ __metadata:
languageName: node
linkType: hard
-"is-url@npm:^1.2.2":
- version: 1.2.4
- resolution: "is-url@npm:1.2.4"
- checksum: 0157a79874f8f95fdd63540e3f38c8583c2ef572661cd0693cda80ae3e42dfe8e9a4a972ec1b827f861d9a9acf75b37f7d58a37f94a8a053259642912c252bc3
- languageName: node
- linkType: hard
-
"is-utf8@npm:^0.2.0":
version: 0.2.1
resolution: "is-utf8@npm:0.2.1"
@@ -27263,12 +27134,12 @@ __metadata:
linkType: hard
"istanbul-reports@npm:^3.0.2":
- version: 3.1.3
- resolution: "istanbul-reports@npm:3.1.3"
+ version: 3.1.4
+ resolution: "istanbul-reports@npm:3.1.4"
dependencies:
html-escaper: ^2.0.0
istanbul-lib-report: ^3.0.0
- checksum: 703d23ed63633a6ac22846b31514e6a545597bbbb4b96b595b60adfd175ffddd0e134f1111baf6121dfdb81a229d69ff84781393ab8fce36b9c935383012c3a5
+ checksum: 061e765a509c7347331b63596ecc7bc2326e6bf6c10bdae0609541fb8757c8942543f5e95130f00233b07a5760f44a3e7a8de0ccc55f098b04b1002629e7a0c4
languageName: node
linkType: hard
@@ -27283,17 +27154,6 @@ __metadata:
languageName: node
linkType: hard
-"istextorbinary@npm:^2.5.1":
- version: 2.6.0
- resolution: "istextorbinary@npm:2.6.0"
- dependencies:
- binaryextensions: ^2.1.2
- editions: ^2.2.0
- textextensions: ^2.5.0
- checksum: 43efaf1eecc740defc3f445383553ec3fe248e368c86a5ad58010a265bd3ac30f85e65216fbd5cccac6efe265e1dd6eb1a2b83f9a7707140ec335b3402fe89cc
- languageName: node
- linkType: hard
-
"iterate-iterator@npm:^1.0.1":
version: 1.0.2
resolution: "iterate-iterator@npm:1.0.2"
@@ -27564,15 +27424,15 @@ __metadata:
languageName: node
linkType: hard
-"jest-diff@npm:^27.0.0":
- version: 27.4.6
- resolution: "jest-diff@npm:27.4.6"
+"jest-diff@npm:^27.5.1":
+ version: 27.5.1
+ resolution: "jest-diff@npm:27.5.1"
dependencies:
chalk: ^4.0.0
- diff-sequences: ^27.4.0
- jest-get-type: ^27.4.0
- pretty-format: ^27.4.6
- checksum: 292c99c229e1dd73cad38c4c4ba5c5f710473712b8aa5338eb51d42fb94153d85d2a9142c50f5eccf209bc2922fd67a231572b1a35c09e9b6441bf45b94923eb
+ diff-sequences: ^27.5.1
+ jest-get-type: ^27.5.1
+ pretty-format: ^27.5.1
+ checksum: 48f008c7b4ea7794108319eb61050315b1723e7391cb01e4377c072cadcab10a984cb09d2a6876cb65f100d06c970fd932996192e092b26006f885c00945e7ad
languageName: node
linkType: hard
@@ -27761,10 +27621,10 @@ __metadata:
languageName: node
linkType: hard
-"jest-get-type@npm:^27.4.0":
- version: 27.4.0
- resolution: "jest-get-type@npm:27.4.0"
- checksum: 19658e6be009cccaa51be7d4cdc408b1d2de8fb43e1c3abb04dc23ef381c8ea9d745f3c71ae10c2b7b2b33df18d701b1a0acb3b81ed62e55cb1039205fa74b70
+"jest-get-type@npm:^27.5.1":
+ version: 27.5.1
+ resolution: "jest-get-type@npm:27.5.1"
+ checksum: 42ee0101336bccfc3c1cff598b603c6006db7876b6117e5bd4a9fb7ffaadfb68febdb9ae68d1c47bc3a4174b070153fc6cfb59df995dcd054e81ace5028a7269
languageName: node
linkType: hard
@@ -27929,6 +27789,18 @@ __metadata:
languageName: node
linkType: hard
+"jest-matcher-utils@npm:^27.0.0":
+ version: 27.5.1
+ resolution: "jest-matcher-utils@npm:27.5.1"
+ dependencies:
+ chalk: ^4.0.0
+ jest-diff: ^27.5.1
+ jest-get-type: ^27.5.1
+ pretty-format: ^27.5.1
+ checksum: a2f082062e8bedc9cfe2654177a894ca43768c6db4c0f4efc0d6ec195e305a99e3d868ff54cc61bcd7f1c810d8ee28c9ac6374de21715dc52f136876de739a73
+ languageName: node
+ linkType: hard
+
"jest-message-util@npm:^24.9.0":
version: 24.9.0
resolution: "jest-message-util@npm:24.9.0"
@@ -27962,20 +27834,20 @@ __metadata:
languageName: node
linkType: hard
-"jest-message-util@npm:^27.4.6":
- version: 27.4.6
- resolution: "jest-message-util@npm:27.4.6"
+"jest-message-util@npm:^27.5.1":
+ version: 27.5.1
+ resolution: "jest-message-util@npm:27.5.1"
dependencies:
"@babel/code-frame": ^7.12.13
- "@jest/types": ^27.4.2
+ "@jest/types": ^27.5.1
"@types/stack-utils": ^2.0.0
chalk: ^4.0.0
- graceful-fs: ^4.2.4
+ graceful-fs: ^4.2.9
micromatch: ^4.0.4
- pretty-format: ^27.4.6
+ pretty-format: ^27.5.1
slash: ^3.0.0
stack-utils: ^2.0.3
- checksum: 2446460500c42e9561b0298e8e688262efcbade5f348b1f5154c566c8cc996f6e9ad18351ea2e16d5276d8d33c510b6987956d50fee87a9c1ffcecd33d51c9ce
+ checksum: 447c99061006949bd0c5ac3fcf4dfad11e763712ada1b3df1c1f276d1d4f55b3f7a8bee27591cd1fe23b56220830b2a74f321925d345374d1b7cf9cd536f19b5
languageName: node
linkType: hard
@@ -27999,12 +27871,12 @@ __metadata:
linkType: hard
"jest-mock@npm:^27.0.6, jest-mock@npm:^27.3.0":
- version: 27.4.6
- resolution: "jest-mock@npm:27.4.6"
+ version: 27.5.1
+ resolution: "jest-mock@npm:27.5.1"
dependencies:
- "@jest/types": ^27.4.2
+ "@jest/types": ^27.5.1
"@types/node": "*"
- checksum: 7e6dcc28eef69f0970d046ea93784cf88423c6afafd9ef5e11f61fc34922b4a3b5444c44cfd73fa3376fbea546754dc20a1321213b9111be9954f60a0847f546
+ checksum: 6ad58454b37ee3f726930b07efbf40a7c79d2d2d9c7b226708b4b550bc0904de93bcacf714105d11952a5c0bc855e5d59145c8c9dbbb4e69b46e7367abf53b52
languageName: node
linkType: hard
@@ -28063,9 +27935,9 @@ __metadata:
linkType: hard
"jest-regex-util@npm:^27.0.0":
- version: 27.4.0
- resolution: "jest-regex-util@npm:27.4.0"
- checksum: 4f2148d24b2e5a9eaf81c657adeae402ac48eef629c482c693fa1c2c6a43aa51efcc7a380756687d9ca8cb923a64fa6d90cf7cedbbcf4624afeb0ee849cbb47c
+ version: 27.5.1
+ resolution: "jest-regex-util@npm:27.5.1"
+ checksum: f9790d417b667b38155c4bbd58f2afc0ad9f774381e5358776df02df3f29564069d4773c7ba050db6826bad8a4cc7ef82c3b4c65bfa508e419fdd063a9682c42
languageName: node
linkType: hard
@@ -28384,17 +28256,17 @@ __metadata:
languageName: node
linkType: hard
-"jest-util@npm:^27.4.2":
- version: 27.4.2
- resolution: "jest-util@npm:27.4.2"
+"jest-util@npm:^27.5.1":
+ version: 27.5.1
+ resolution: "jest-util@npm:27.5.1"
dependencies:
- "@jest/types": ^27.4.2
+ "@jest/types": ^27.5.1
"@types/node": "*"
chalk: ^4.0.0
ci-info: ^3.2.0
- graceful-fs: ^4.2.4
+ graceful-fs: ^4.2.9
picomatch: ^2.2.3
- checksum: 927658642b196298638cff9a5ce37b1780700c8e9b47e377636ef841b4709c20a3bc6a439ef10b715b249ed2d4694cb72f632d0976a415cd8b0bd054bd2b8e39
+ checksum: 0f60cd2a2e09a6646ccd4ff489f1970282c0694724104979e897bd5164f91204726f5408572bf5e759d09e59d5c4e4dc65a643d2b630e06a10402bba07bf2a2e
languageName: node
linkType: hard
@@ -28521,17 +28393,17 @@ __metadata:
linkType: hard
"jest-watcher@npm:^27.0.0":
- version: 27.4.6
- resolution: "jest-watcher@npm:27.4.6"
+ version: 27.5.1
+ resolution: "jest-watcher@npm:27.5.1"
dependencies:
- "@jest/test-result": ^27.4.6
- "@jest/types": ^27.4.2
+ "@jest/test-result": ^27.5.1
+ "@jest/types": ^27.5.1
"@types/node": "*"
ansi-escapes: ^4.2.1
chalk: ^4.0.0
- jest-util: ^27.4.2
+ jest-util: ^27.5.1
string-length: ^4.0.1
- checksum: 18c27580381811a9beddfb5035d125200e5a815879c7bbbede08d124104a0a438f06332589b2d1f65276e92de9c194436baa79d36626c2e1457e8408c2d41d46
+ checksum: e42f5e38bc4da56bde6ccec4b13b7646460a3d6b567934e0ca96d72c2ce837223ffbb84a2f8428197da4323870c03f00969237f9b40f83a3072111a8cd66cc4b
languageName: node
linkType: hard
@@ -28566,14 +28438,14 @@ __metadata:
languageName: node
linkType: hard
-"jest-worker@npm:^27.3.1, jest-worker@npm:^27.4.1":
- version: 27.4.6
- resolution: "jest-worker@npm:27.4.6"
+"jest-worker@npm:^27.3.1, jest-worker@npm:^27.4.5":
+ version: 27.5.1
+ resolution: "jest-worker@npm:27.5.1"
dependencies:
"@types/node": "*"
merge-stream: ^2.0.0
supports-color: ^8.0.0
- checksum: 2b229856b37dc640e0598ac6d180609be36bb986c5feb494b1ebeaa87d55a39afa14e31b7023820d6a8e8ba7c107b0982c665ab8aa14a0cda2a9f25b078a034a
+ checksum: 8c4737ffd03887b3c6768e4cc3ca0269c0336c1e4b1b120943958ddb035ed2a0fc6acab6dc99631720a3720af4e708ff84fb45382ad1e83c27946adf3623969b
languageName: node
linkType: hard
@@ -29085,7 +28957,7 @@ __metadata:
languageName: node
linkType: hard
-"json3@npm:^3.3.2, json3@npm:^3.3.3":
+"json3@npm:^3.3.2":
version: 3.3.3
resolution: "json3@npm:3.3.3"
checksum: ca6942dbcef852c8fda5a87261b82dfa9135b43777cd05bdfc08d071592bd328e289c78eb15d0c45884d9cfe71a2a20601aaa9be16e98d488b5a2f51ee91f259
@@ -29413,7 +29285,7 @@ __metadata:
languageName: node
linkType: hard
-"kleur@npm:4.1.4":
+"kleur@npm:4.1.4, kleur@npm:^4.0.3":
version: 4.1.4
resolution: "kleur@npm:4.1.4"
checksum: c70aaa99a6797b0a73a6f8a84c3912dbf49c95acf78cb661e30677999914843d0f5deedb0910458259c43c5fd98ea3195777988a8291c058874e29344dd1ea0c
@@ -29821,16 +29693,6 @@ __metadata:
languageName: node
linkType: hard
-"line-column@npm:^1.0.2":
- version: 1.0.2
- resolution: "line-column@npm:1.0.2"
- dependencies:
- isarray: ^1.0.0
- isobject: ^2.0.0
- checksum: 75aa918a9791362a3369c7222689350dc6df5b040314525ba79c3682f1386e13a3ceddd6b2584b8cb5c3ab3a5b3c50c940a182772dbb6361303bf6ef65fc2d64
- languageName: node
- linkType: hard
-
"lines-and-columns@npm:^1.1.6":
version: 1.2.4
resolution: "lines-and-columns@npm:1.2.4"
@@ -29911,16 +29773,6 @@ __metadata:
languageName: node
linkType: hard
-"lit-element@npm:^3.0.2":
- version: 3.1.2
- resolution: "lit-element@npm:3.1.2"
- dependencies:
- "@lit/reactive-element": ^1.1.0
- lit-html: ^2.1.0
- checksum: d983751fe2ffa15cbb2b92dcce8e8f1d6fcba8b7114602dfe3d60f80956e8aa224452cb36b26aaaeaa21716352da217af9d865b5b8e2fa052e0b96f510db48b3
- languageName: node
- linkType: hard
-
"lit-html@npm:2.0.2":
version: 2.0.2
resolution: "lit-html@npm:2.0.2"
@@ -29930,15 +29782,6 @@ __metadata:
languageName: node
linkType: hard
-"lit-html@npm:^2.0.2, lit-html@npm:^2.1.0":
- version: 2.1.2
- resolution: "lit-html@npm:2.1.2"
- dependencies:
- "@types/trusted-types": ^2.0.2
- checksum: 0ace2441407ebe2a3c4a826f59c2edeac168f0f6f84550cc9f09171599bb7dc251c540319cb5aed5d9a650fde52345030807f7fb37fce2d33ee0dff528cb47b7
- languageName: node
- linkType: hard
-
"livereload-js@npm:^3.3.1":
version: 3.3.3
resolution: "livereload-js@npm:3.3.3"
@@ -29947,16 +29790,16 @@ __metadata:
linkType: hard
"lmdb@npm:^2.0.2":
- version: 2.1.7
- resolution: "lmdb@npm:2.1.7"
+ version: 2.2.3
+ resolution: "lmdb@npm:2.2.3"
dependencies:
- msgpackr: ^1.5.2
+ msgpackr: ^1.5.4
nan: ^2.14.2
node-gyp: latest
node-gyp-build: ^4.2.3
- ordered-binary: ^1.2.3
- weak-lru-cache: ^1.2.1
- checksum: b20ff2cc27ec0b4362ff448fa5bcfd04743c5d9301944df4fa28c3ba973608f8d272c63b2b92b40b943eacb6971181467eae4bdd54ef52f7cc6038675aa4fdad
+ ordered-binary: ^1.2.4
+ weak-lru-cache: ^1.2.2
+ checksum: 5752cb9e4fcbcffed4c37749f0fa8971f757ab325a133ef8cbe2e7666defb67b12996bfbad50b036ef8a29216e095671e4e28cbeed79897523bd9ef0bc9394a1
languageName: node
linkType: hard
@@ -30100,13 +29943,6 @@ __metadata:
languageName: node
linkType: hard
-"loader-utils@npm:^3.2.0":
- version: 3.2.0
- resolution: "loader-utils@npm:3.2.0"
- checksum: 573f7059f283b24b2b68cd230d9f0ba87315da8ecc7885734ea5f108fc83c7882e4eb8f8feab65f7db1661ab540f5aea778f48d18b7aadc24c37be77b2ff70a0
- languageName: node
- linkType: hard
-
"loader.js@npm:^4.7.0":
version: 4.7.0
resolution: "loader.js@npm:4.7.0"
@@ -30277,13 +30113,6 @@ __metadata:
languageName: node
linkType: hard
-"lodash.clone@npm:^4.5.0":
- version: 4.5.0
- resolution: "lodash.clone@npm:4.5.0"
- checksum: e9e84b8727a24b6bdc6292dc0ff53fbdd379a65c652d9ba7a2cc3c02fb1c135b8dcd2e154c8c4199d4be7410d6f7ce3298df312822bc0e68f00472ec07da7d6d
- languageName: node
- linkType: hard
-
"lodash.clonedeep@npm:^4.4.1, lodash.clonedeep@npm:^4.5.0":
version: 4.5.0
resolution: "lodash.clonedeep@npm:4.5.0"
@@ -30640,6 +30469,13 @@ __metadata:
languageName: node
linkType: hard
+"longest-streak@npm:^3.0.0":
+ version: 3.0.1
+ resolution: "longest-streak@npm:3.0.1"
+ checksum: 5645ceb94b0fb0ea7ed42ae3d285465a6495319d6f12a40b334e6d3485c5aae36bca09e6ba1c7fc3792cd0373735bb9e7ea129b3828b3c5642f21030c25b6cda
+ languageName: node
+ linkType: hard
+
"loose-envify@npm:^1.0.0, loose-envify@npm:^1.1.0, loose-envify@npm:^1.3.1, loose-envify@npm:^1.4.0":
version: 1.4.0
resolution: "loose-envify@npm:1.4.0"
@@ -30701,16 +30537,6 @@ __metadata:
languageName: node
linkType: hard
-"lowlight@npm:~1.17.0":
- version: 1.17.0
- resolution: "lowlight@npm:1.17.0"
- dependencies:
- fault: ^1.0.0
- highlight.js: ~10.4.0
- checksum: 07cc3f126224a3b65b8de8cf78fa422e48b54007f8c662a25f6da06882c6cfe2ef83125baa5144e5476946c78911944864b814c3ce9da9ed5d7cae20d8955a1c
- languageName: node
- linkType: hard
-
"lru-cache@npm:^4.0.1, lru-cache@npm:^4.1.2, lru-cache@npm:^4.1.5":
version: 4.1.5
resolution: "lru-cache@npm:4.1.5"
@@ -30739,6 +30565,13 @@ __metadata:
languageName: node
linkType: hard
+"lru-cache@npm:^7.3.1":
+ version: 7.4.0
+ resolution: "lru-cache@npm:7.4.0"
+ checksum: 89eedc33e3ba9b5191b65d83596c167b13a2e1b9fba1246000efd978b76bfe6f4728fcef985956734aca46a532968fb64a6eccc395ba5feb2a940af18812f9a1
+ languageName: node
+ linkType: hard
+
"ltgt@npm:^2.1.2":
version: 2.2.1
resolution: "ltgt@npm:2.2.1"
@@ -30840,6 +30673,30 @@ __metadata:
languageName: node
linkType: hard
+"make-fetch-happen@npm:^10.0.3":
+ version: 10.0.3
+ resolution: "make-fetch-happen@npm:10.0.3"
+ dependencies:
+ agentkeepalive: ^4.2.0
+ cacache: ^15.3.0
+ http-cache-semantics: ^4.1.0
+ http-proxy-agent: ^5.0.0
+ https-proxy-agent: ^5.0.0
+ is-lambda: ^1.0.1
+ lru-cache: ^7.3.1
+ minipass: ^3.1.6
+ minipass-collect: ^1.0.2
+ minipass-fetch: ^1.4.1
+ minipass-flush: ^1.0.5
+ minipass-pipeline: ^1.2.4
+ negotiator: ^0.6.3
+ promise-retry: ^2.0.1
+ socks-proxy-agent: ^6.1.1
+ ssri: ^8.0.1
+ checksum: a4b77fc0024f07028c9511a819d748b0081fc3cc8a4bbf2280cde7ee1e773d97c653073b82d38206a72b805f139c916f1bf3bc8ca9c5c127a342594b5831204e
+ languageName: node
+ linkType: hard
+
"make-fetch-happen@npm:^5.0.0":
version: 5.0.2
resolution: "make-fetch-happen@npm:5.0.2"
@@ -30989,7 +30846,7 @@ __metadata:
languageName: node
linkType: hard
-"markdown-extensions@npm:^1.1.0":
+"markdown-extensions@npm:^1.0.0, markdown-extensions@npm:^1.1.0":
version: 1.1.1
resolution: "markdown-extensions@npm:1.1.1"
checksum: eb9154016502ad1fb4477683ddb5cae8ba3ca06451b381b04dc4c34e91d8d168129d50d404b717d6bf7d458e13088c109303fc72d57cee7151a6082b0e7bba71
@@ -31090,7 +30947,7 @@ __metadata:
languageName: node
linkType: hard
-"marked@npm:^4.0.9":
+"marked@npm:^4.0.12":
version: 4.0.12
resolution: "marked@npm:4.0.12"
bin:
@@ -31163,6 +31020,17 @@ __metadata:
languageName: node
linkType: hard
+"mdast-util-definitions@npm:^5.0.0":
+ version: 5.1.0
+ resolution: "mdast-util-definitions@npm:5.1.0"
+ dependencies:
+ "@types/mdast": ^3.0.0
+ "@types/unist": ^2.0.0
+ unist-util-visit: ^3.0.0
+ checksum: 17101d16acb81d3a0d508fcbb797bcc8d7e017f369dafbd9963d78ce04755d46ad43c92823188893cd2d12dea05b443ed8eb9cef093d2c3e8b38f16ddee042f3
+ languageName: node
+ linkType: hard
+
"mdast-util-from-markdown@npm:^0.8.0":
version: 0.8.5
resolution: "mdast-util-from-markdown@npm:0.8.5"
@@ -31176,6 +31044,26 @@ __metadata:
languageName: node
linkType: hard
+"mdast-util-from-markdown@npm:^1.0.0":
+ version: 1.2.0
+ resolution: "mdast-util-from-markdown@npm:1.2.0"
+ dependencies:
+ "@types/mdast": ^3.0.0
+ "@types/unist": ^2.0.0
+ decode-named-character-reference: ^1.0.0
+ mdast-util-to-string: ^3.1.0
+ micromark: ^3.0.0
+ micromark-util-decode-numeric-character-reference: ^1.0.0
+ micromark-util-decode-string: ^1.0.0
+ micromark-util-normalize-identifier: ^1.0.0
+ micromark-util-symbol: ^1.0.0
+ micromark-util-types: ^1.0.0
+ unist-util-stringify-position: ^3.0.0
+ uvu: ^0.5.0
+ checksum: f5b295b39edc4eca0894ca8b9aa51e9bf267889b642915fc35a4cda47c177263fcdd9caad844739c68729b640e628160a91792cbbbe80cfbfd91e31ab16a0096
+ languageName: node
+ linkType: hard
+
"mdast-util-heading-style@npm:^1.0.2":
version: 1.0.6
resolution: "mdast-util-heading-style@npm:1.0.6"
@@ -31183,6 +31071,61 @@ __metadata:
languageName: node
linkType: hard
+"mdast-util-mdx-expression@npm:^1.0.0":
+ version: 1.2.0
+ resolution: "mdast-util-mdx-expression@npm:1.2.0"
+ dependencies:
+ "@types/estree-jsx": ^0.0.1
+ "@types/hast": ^2.0.0
+ "@types/mdast": ^3.0.0
+ mdast-util-from-markdown: ^1.0.0
+ mdast-util-to-markdown: ^1.0.0
+ checksum: ae8f94a509269b7b057c42d26158fc59487b9abb0347407ae04a376f30d130bdd96525f130896bdf1bf4c37b18018da9ea873b91e087f94aa935af54e57c35d1
+ languageName: node
+ linkType: hard
+
+"mdast-util-mdx-jsx@npm:^2.0.0":
+ version: 2.0.1
+ resolution: "mdast-util-mdx-jsx@npm:2.0.1"
+ dependencies:
+ "@types/estree-jsx": ^0.0.1
+ "@types/hast": ^2.0.0
+ "@types/mdast": ^3.0.0
+ ccount: ^2.0.0
+ mdast-util-to-markdown: ^1.3.0
+ parse-entities: ^4.0.0
+ stringify-entities: ^4.0.0
+ unist-util-remove-position: ^4.0.0
+ unist-util-stringify-position: ^3.0.0
+ vfile-message: ^3.0.0
+ checksum: 51a160cdc970f0df9e7ff20248cfc50df36908c3b56a968719f7b0e908fb370459e8d729381e495c0d464c5fd68b1b7d9c0fa4a1984a5800414e7d2478b427ab
+ languageName: node
+ linkType: hard
+
+"mdast-util-mdx@npm:^2.0.0":
+ version: 2.0.0
+ resolution: "mdast-util-mdx@npm:2.0.0"
+ dependencies:
+ mdast-util-mdx-expression: ^1.0.0
+ mdast-util-mdx-jsx: ^2.0.0
+ mdast-util-mdxjs-esm: ^1.0.0
+ checksum: 40c40345a70b1a16afef4aff159ee4a13afe69d2a72a32098868e145ea8a08d406871ee24564dfb3a57552e1c79e78a03d117a9ed9d7c3a4149c8fa5b79bd489
+ languageName: node
+ linkType: hard
+
+"mdast-util-mdxjs-esm@npm:^1.0.0":
+ version: 1.2.0
+ resolution: "mdast-util-mdxjs-esm@npm:1.2.0"
+ dependencies:
+ "@types/estree-jsx": ^0.0.1
+ "@types/hast": ^2.0.0
+ "@types/mdast": ^3.0.0
+ mdast-util-from-markdown: ^1.0.0
+ mdast-util-to-markdown: ^1.0.0
+ checksum: 576604cbd4c5764e36e5c2c012886ec73625d56369d735eb5c2d3fd7d35d54bd9b551f32528b7b1a0c5c3f9bd53c9d1ccbcb9d682268b59c6e9c0a6b29f94d30
+ languageName: node
+ linkType: hard
+
"mdast-util-to-hast@npm:10.0.1":
version: 10.0.1
resolution: "mdast-util-to-hast@npm:10.0.1"
@@ -31199,6 +31142,24 @@ __metadata:
languageName: node
linkType: hard
+"mdast-util-to-hast@npm:^12.1.0":
+ version: 12.1.1
+ resolution: "mdast-util-to-hast@npm:12.1.1"
+ dependencies:
+ "@types/hast": ^2.0.0
+ "@types/mdast": ^3.0.0
+ "@types/mdurl": ^1.0.0
+ mdast-util-definitions: ^5.0.0
+ mdurl: ^1.0.0
+ micromark-util-sanitize-uri: ^1.0.0
+ unist-builder: ^3.0.0
+ unist-util-generated: ^2.0.0
+ unist-util-position: ^4.0.0
+ unist-util-visit: ^4.0.0
+ checksum: a8456943aa13f143127a5bb31ebb06f419dccccd809fe09c43431aef2b86af61d25a13768fe54535e35cd13f97f9ff2068bf4ed446f1310f9cd3a1d5e24dc3b7
+ languageName: node
+ linkType: hard
+
"mdast-util-to-markdown@npm:^0.6.0":
version: 0.6.5
resolution: "mdast-util-to-markdown@npm:0.6.5"
@@ -31213,6 +31174,21 @@ __metadata:
languageName: node
linkType: hard
+"mdast-util-to-markdown@npm:^1.0.0, mdast-util-to-markdown@npm:^1.3.0":
+ version: 1.3.0
+ resolution: "mdast-util-to-markdown@npm:1.3.0"
+ dependencies:
+ "@types/mdast": ^3.0.0
+ "@types/unist": ^2.0.0
+ longest-streak: ^3.0.0
+ mdast-util-to-string: ^3.0.0
+ micromark-util-decode-string: ^1.0.0
+ unist-util-visit: ^4.0.0
+ zwitch: ^2.0.0
+ checksum: 1073dc3f474097616a4bc0c2f22d8782685bbebf37a9c77b4183c979d29bd788688e8a2946df58c2a172df51d3b5b6184513f23011db6e796c6ffda8cc0c95d4
+ languageName: node
+ linkType: hard
+
"mdast-util-to-string@npm:^1.0.0, mdast-util-to-string@npm:^1.0.2":
version: 1.1.0
resolution: "mdast-util-to-string@npm:1.1.0"
@@ -31227,6 +31203,13 @@ __metadata:
languageName: node
linkType: hard
+"mdast-util-to-string@npm:^3.0.0, mdast-util-to-string@npm:^3.1.0":
+ version: 3.1.0
+ resolution: "mdast-util-to-string@npm:3.1.0"
+ checksum: ce329d5da6038fbeaee26873c3ae8b269bfbfc39cd6cf42799ecff21030d6c5853a1013d053c60ed25baf0f03723e77019149ad3cad1c764e3bbd49379fbaba7
+ languageName: node
+ linkType: hard
+
"mdn-data@npm:2.0.14":
version: 2.0.14
resolution: "mdn-data@npm:2.0.14"
@@ -31273,11 +31256,11 @@ __metadata:
linkType: hard
"memfs-or-file-map-to-github-branch@npm:^1.1.0":
- version: 1.2.0
- resolution: "memfs-or-file-map-to-github-branch@npm:1.2.0"
+ version: 1.2.1
+ resolution: "memfs-or-file-map-to-github-branch@npm:1.2.1"
dependencies:
- "@octokit/rest": ^16.43.1
- checksum: d9e2b4e62d2ead6c9be5a90d0c02aa90fd0867b899c85a85666a24ff8a3779815f7cb1ad2c0f71ba55bf1ce2f3786afbf0741a6f47b224f5777194e084dd48f1
+ "@octokit/rest": ^16.43.0 || ^17.11.0 || ^18.12.0
+ checksum: c89476d64cc45b95eafa311e2fa745f672a26471bfdab3cebd78921c885abc0f791b28104516955d78e30fbf761341838707da66630dba585cae165b70912afa
languageName: node
linkType: hard
@@ -31493,6 +31476,346 @@ __metadata:
languageName: node
linkType: hard
+"micromark-core-commonmark@npm:^1.0.0, micromark-core-commonmark@npm:^1.0.1":
+ version: 1.0.6
+ resolution: "micromark-core-commonmark@npm:1.0.6"
+ dependencies:
+ decode-named-character-reference: ^1.0.0
+ micromark-factory-destination: ^1.0.0
+ micromark-factory-label: ^1.0.0
+ micromark-factory-space: ^1.0.0
+ micromark-factory-title: ^1.0.0
+ micromark-factory-whitespace: ^1.0.0
+ micromark-util-character: ^1.0.0
+ micromark-util-chunked: ^1.0.0
+ micromark-util-classify-character: ^1.0.0
+ micromark-util-html-tag-name: ^1.0.0
+ micromark-util-normalize-identifier: ^1.0.0
+ micromark-util-resolve-all: ^1.0.0
+ micromark-util-subtokenize: ^1.0.0
+ micromark-util-symbol: ^1.0.0
+ micromark-util-types: ^1.0.1
+ uvu: ^0.5.0
+ checksum: 6241047732fe258083fdb7bd764e20bf2a37ab02e233c98d88eac527d2ca18f69b667ec3315faf4ef33a99141259522b1b7cc75fc51f20568c302d74ee86bc2a
+ languageName: node
+ linkType: hard
+
+"micromark-extension-mdx-expression@npm:^1.0.0":
+ version: 1.0.3
+ resolution: "micromark-extension-mdx-expression@npm:1.0.3"
+ dependencies:
+ micromark-factory-mdx-expression: ^1.0.0
+ micromark-factory-space: ^1.0.0
+ micromark-util-character: ^1.0.0
+ micromark-util-events-to-acorn: ^1.0.0
+ micromark-util-symbol: ^1.0.0
+ micromark-util-types: ^1.0.0
+ uvu: ^0.5.0
+ checksum: 0a79adc1a5396bb1c23d734654f1ec15f074ca006aad0c1c146f05d0a29fd3f2625833764803d9c4b46797f807b15fd1f6a4c4375f06c538e3c531424ec895e5
+ languageName: node
+ linkType: hard
+
+"micromark-extension-mdx-jsx@npm:^1.0.0":
+ version: 1.0.3
+ resolution: "micromark-extension-mdx-jsx@npm:1.0.3"
+ dependencies:
+ "@types/acorn": ^4.0.0
+ estree-util-is-identifier-name: ^2.0.0
+ micromark-factory-mdx-expression: ^1.0.0
+ micromark-factory-space: ^1.0.0
+ micromark-util-character: ^1.0.0
+ micromark-util-symbol: ^1.0.0
+ micromark-util-types: ^1.0.0
+ uvu: ^0.5.0
+ vfile-message: ^3.0.0
+ checksum: 94b606efabb5f62819d05b2e6db09c4735f6e12a9681e7e91ba20beeaf80388e019785159c2a520ba327d593ecb95e96c569b5987629f71f8bf89d7317f97b36
+ languageName: node
+ linkType: hard
+
+"micromark-extension-mdx-md@npm:^1.0.0":
+ version: 1.0.0
+ resolution: "micromark-extension-mdx-md@npm:1.0.0"
+ dependencies:
+ micromark-util-types: ^1.0.0
+ checksum: e6362cfd9eed003bfea0dc8a9ec91c222586934461656c50a33aa2efea4e80291eed06e97e77c8cde5007a33f43948aa305dd2178798083e1f77b05f5e80b82c
+ languageName: node
+ linkType: hard
+
+"micromark-extension-mdxjs-esm@npm:^1.0.0":
+ version: 1.0.2
+ resolution: "micromark-extension-mdxjs-esm@npm:1.0.2"
+ dependencies:
+ micromark-core-commonmark: ^1.0.0
+ micromark-util-character: ^1.0.0
+ micromark-util-events-to-acorn: ^1.0.0
+ micromark-util-symbol: ^1.0.0
+ micromark-util-types: ^1.0.0
+ unist-util-position-from-estree: ^1.1.0
+ uvu: ^0.5.0
+ vfile-message: ^3.0.0
+ checksum: 2b33787db758eb665e42429b67b3e04b219015db59f6de4c6f0bebf23c903e9f7dd5e307a0afaa961446824f7f0d5329f2f00677a501413d35ddaf0b78661791
+ languageName: node
+ linkType: hard
+
+"micromark-extension-mdxjs@npm:^1.0.0":
+ version: 1.0.0
+ resolution: "micromark-extension-mdxjs@npm:1.0.0"
+ dependencies:
+ acorn: ^8.0.0
+ acorn-jsx: ^5.0.0
+ micromark-extension-mdx-expression: ^1.0.0
+ micromark-extension-mdx-jsx: ^1.0.0
+ micromark-extension-mdx-md: ^1.0.0
+ micromark-extension-mdxjs-esm: ^1.0.0
+ micromark-util-combine-extensions: ^1.0.0
+ micromark-util-types: ^1.0.0
+ checksum: 51de1f7e8cadfe601ae4180d7a2402de40a02fec04d5f4deaa65061dbf39d81e3e56f0fcd55a43343c24593e371945a73a0a47fe723d02d99168b08c8945697d
+ languageName: node
+ linkType: hard
+
+"micromark-factory-destination@npm:^1.0.0":
+ version: 1.0.0
+ resolution: "micromark-factory-destination@npm:1.0.0"
+ dependencies:
+ micromark-util-character: ^1.0.0
+ micromark-util-symbol: ^1.0.0
+ micromark-util-types: ^1.0.0
+ checksum: f6aed32c80fb947abce5c435e8aed86fb273eb349b162b7fa0a3daeb29f5b857d61e7d1a8bd133b213ee7a13d0b086b0caa4cf6297f6083242d73f1cfa0fe843
+ languageName: node
+ linkType: hard
+
+"micromark-factory-label@npm:^1.0.0":
+ version: 1.0.2
+ resolution: "micromark-factory-label@npm:1.0.2"
+ dependencies:
+ micromark-util-character: ^1.0.0
+ micromark-util-symbol: ^1.0.0
+ micromark-util-types: ^1.0.0
+ uvu: ^0.5.0
+ checksum: a0788bf93cb6e770fef410b2389848c07e31d3eddd11baf22cabdbf99ab1cdcacf78b7765db9e86330d077141274713e50112ea4c960d002c57c4f2d96686ce5
+ languageName: node
+ linkType: hard
+
+"micromark-factory-mdx-expression@npm:^1.0.0":
+ version: 1.0.6
+ resolution: "micromark-factory-mdx-expression@npm:1.0.6"
+ dependencies:
+ micromark-factory-space: ^1.0.0
+ micromark-util-character: ^1.0.0
+ micromark-util-events-to-acorn: ^1.0.0
+ micromark-util-symbol: ^1.0.0
+ micromark-util-types: ^1.0.0
+ unist-util-position-from-estree: ^1.0.0
+ uvu: ^0.5.0
+ vfile-message: ^3.0.0
+ checksum: b671daf6468f2e2aef198aeffca8a808cd076c12474998508761f37cc44056522a6fc4c0069a7fff1ac1ff613d1cfbfe151ff57d0ce6ea96c0d9a6d3dd993830
+ languageName: node
+ linkType: hard
+
+"micromark-factory-space@npm:^1.0.0":
+ version: 1.0.0
+ resolution: "micromark-factory-space@npm:1.0.0"
+ dependencies:
+ micromark-util-character: ^1.0.0
+ micromark-util-types: ^1.0.0
+ checksum: f28ff6ce111ce0e078a5a8b23437101932591720c29ca782f47bb5e02ff8cae8c5b091310e2347232f3c3627cf28392ed38bc4370a7b3eb331eb1fc8e5f3b53d
+ languageName: node
+ linkType: hard
+
+"micromark-factory-title@npm:^1.0.0":
+ version: 1.0.2
+ resolution: "micromark-factory-title@npm:1.0.2"
+ dependencies:
+ micromark-factory-space: ^1.0.0
+ micromark-util-character: ^1.0.0
+ micromark-util-symbol: ^1.0.0
+ micromark-util-types: ^1.0.0
+ uvu: ^0.5.0
+ checksum: 6af4e2b10eea74b49b49f4708b29f4d24641288aca8c0681fbaed8be9b5a2914d15f85c367bf1eddab28077084511f872a6546493a1fc4d6b127d0cb2066af6c
+ languageName: node
+ linkType: hard
+
+"micromark-factory-whitespace@npm:^1.0.0":
+ version: 1.0.0
+ resolution: "micromark-factory-whitespace@npm:1.0.0"
+ dependencies:
+ micromark-factory-space: ^1.0.0
+ micromark-util-character: ^1.0.0
+ micromark-util-symbol: ^1.0.0
+ micromark-util-types: ^1.0.0
+ checksum: cf7b2b7e7890c7bb91164c6bf96964f0ee256f7217f669ca581c71109cc33d839782997f9790000dd6b930ee4cc9ab251202ca859641f2d292bca84aef73941b
+ languageName: node
+ linkType: hard
+
+"micromark-util-character@npm:^1.0.0":
+ version: 1.1.0
+ resolution: "micromark-util-character@npm:1.1.0"
+ dependencies:
+ micromark-util-symbol: ^1.0.0
+ micromark-util-types: ^1.0.0
+ checksum: 16810080f710123e236dca1455bcc75d788beb78c276e42720382781daecb437fd13bb762cccc073d8049ab9ebbb0919295344f3105b3c4942c52d0fbe0153e2
+ languageName: node
+ linkType: hard
+
+"micromark-util-chunked@npm:^1.0.0":
+ version: 1.0.0
+ resolution: "micromark-util-chunked@npm:1.0.0"
+ dependencies:
+ micromark-util-symbol: ^1.0.0
+ checksum: f64b9cae96d11d43fc9a012253ea35ddf700ff041378aab5aa681f7b95cd6ba898ad9460b930cd12d779ad2d0fc5e08b77d92ce68ca3bf850e13b33af2cbfbd8
+ languageName: node
+ linkType: hard
+
+"micromark-util-classify-character@npm:^1.0.0":
+ version: 1.0.0
+ resolution: "micromark-util-classify-character@npm:1.0.0"
+ dependencies:
+ micromark-util-character: ^1.0.0
+ micromark-util-symbol: ^1.0.0
+ micromark-util-types: ^1.0.0
+ checksum: 942ba5b90c6d50fa9f0be5023db3769c2a840ef1471d2dd69466bdbfc11c2d25a0421c418163b6112845c0a4a27c7e99aab6ca78907b36d087069b2dac15e0cc
+ languageName: node
+ linkType: hard
+
+"micromark-util-combine-extensions@npm:^1.0.0":
+ version: 1.0.0
+ resolution: "micromark-util-combine-extensions@npm:1.0.0"
+ dependencies:
+ micromark-util-chunked: ^1.0.0
+ micromark-util-types: ^1.0.0
+ checksum: b527582e34ef701a258ee31ff7cc5f32be224683147295f4727b6437c05484289f9d117f2f805ac9608649ee538461f4bfb1a5530e55d5448f90b3e3f3047c90
+ languageName: node
+ linkType: hard
+
+"micromark-util-decode-numeric-character-reference@npm:^1.0.0":
+ version: 1.0.0
+ resolution: "micromark-util-decode-numeric-character-reference@npm:1.0.0"
+ dependencies:
+ micromark-util-symbol: ^1.0.0
+ checksum: 5d53453876defe7c821ea9af83cef90a261c8cbe7af32dbbd34b5b80eb521f08523bd4632cb73c6fd2b64f7383e28aaa07d227a2e43c7bc0f6659241278b3826
+ languageName: node
+ linkType: hard
+
+"micromark-util-decode-string@npm:^1.0.0":
+ version: 1.0.2
+ resolution: "micromark-util-decode-string@npm:1.0.2"
+ dependencies:
+ decode-named-character-reference: ^1.0.0
+ micromark-util-character: ^1.0.0
+ micromark-util-decode-numeric-character-reference: ^1.0.0
+ micromark-util-symbol: ^1.0.0
+ checksum: 325300615d45084c61361c5480269690e2f1c173ee96caa85dcb406d2930be587467510037374fe81dd318d226fefb654e862c45ecf7cc12d9f53354ed3e7d43
+ languageName: node
+ linkType: hard
+
+"micromark-util-encode@npm:^1.0.0":
+ version: 1.0.1
+ resolution: "micromark-util-encode@npm:1.0.1"
+ checksum: d00bf397d97a872ce2f8f3e677ff6aecc66fa1d64ef1d67226596c4a9fe0b8c6d321c6edd815826d1896af7ea2c453a88502de4300f8c5dc886d58636f32995f
+ languageName: node
+ linkType: hard
+
+"micromark-util-events-to-acorn@npm:^1.0.0":
+ version: 1.0.4
+ resolution: "micromark-util-events-to-acorn@npm:1.0.4"
+ dependencies:
+ "@types/acorn": ^4.0.0
+ "@types/estree": ^0.0.50
+ estree-util-visit: ^1.0.0
+ micromark-util-types: ^1.0.0
+ uvu: ^0.5.0
+ vfile-message: ^3.0.0
+ checksum: 25aeb83bf50288a26e7814733a09566d219d87c37bcd11854e29318a30c32a3a36db2ba7f0f4e1c43b4d2ea80d01d8fac885f61f71b3ccd1dd67056bea83d847
+ languageName: node
+ linkType: hard
+
+"micromark-util-html-tag-name@npm:^1.0.0":
+ version: 1.0.0
+ resolution: "micromark-util-html-tag-name@npm:1.0.0"
+ checksum: 6246acc0b5564945514eee489095cf020d938798a66838c8f49ae7010152c9450fb14e68ad64cc10b8a74c91963f7dde8254e84f0f9f7dd067144d3766aec2e3
+ languageName: node
+ linkType: hard
+
+"micromark-util-normalize-identifier@npm:^1.0.0":
+ version: 1.0.0
+ resolution: "micromark-util-normalize-identifier@npm:1.0.0"
+ dependencies:
+ micromark-util-symbol: ^1.0.0
+ checksum: de4285cbdf1588f0db934e868d78ebd74dfe10802508ed2b0e7a5fec6eddc00f2d496c2d33f2e70707e3f33e31d6c7c1ff59a3841f4c425535c72ea7b6d3a89c
+ languageName: node
+ linkType: hard
+
+"micromark-util-resolve-all@npm:^1.0.0":
+ version: 1.0.0
+ resolution: "micromark-util-resolve-all@npm:1.0.0"
+ dependencies:
+ micromark-util-types: ^1.0.0
+ checksum: 0373d4fd0dcf340a60e584b1ea0b21d986709378042d39a8790b3086013e3c9e523a2c6fcffb9c8bf0d3ff6f236f6cb5df72044c1a7fffa68fef65daf4ae6ff1
+ languageName: node
+ linkType: hard
+
+"micromark-util-sanitize-uri@npm:^1.0.0":
+ version: 1.0.0
+ resolution: "micromark-util-sanitize-uri@npm:1.0.0"
+ dependencies:
+ micromark-util-character: ^1.0.0
+ micromark-util-encode: ^1.0.0
+ micromark-util-symbol: ^1.0.0
+ checksum: 5af8c8c5ef017fb1faad836c9611e5bfd637e2cdd100559bd8e4de125c38fc4e084dd6a457f153468986f89e070bb6f5fd645f8e0c2f65cdd4f42de5624e2f1f
+ languageName: node
+ linkType: hard
+
+"micromark-util-subtokenize@npm:^1.0.0":
+ version: 1.0.2
+ resolution: "micromark-util-subtokenize@npm:1.0.2"
+ dependencies:
+ micromark-util-chunked: ^1.0.0
+ micromark-util-symbol: ^1.0.0
+ micromark-util-types: ^1.0.0
+ uvu: ^0.5.0
+ checksum: d4aea094d9040be13ec31b619106a1e19771cbdda88f19011f0f03f73d1ae97771b35a577fdf35d75ce61056394bb4b18cb5edac4c8b851632e86306e0e9838b
+ languageName: node
+ linkType: hard
+
+"micromark-util-symbol@npm:^1.0.0":
+ version: 1.0.1
+ resolution: "micromark-util-symbol@npm:1.0.1"
+ checksum: 760dbebaf853b8d6e690f911ef5e7bcd52c3b5447c8a99c309dfc874f5c30dc6428bd600669ac8c47a46de54fce337b366474e429f9c2f859f0f59cb1516b22c
+ languageName: node
+ linkType: hard
+
+"micromark-util-types@npm:^1.0.0, micromark-util-types@npm:^1.0.1":
+ version: 1.0.2
+ resolution: "micromark-util-types@npm:1.0.2"
+ checksum: 850fa76d1ed229e906d16ab91f023f680adf9b3d6adb0332983d2fc0d650dded416aac7846e0a23f154efffb43e36df1f8312831e0ed5e28f059eb50f11f2097
+ languageName: node
+ linkType: hard
+
+"micromark@npm:^3.0.0":
+ version: 3.0.10
+ resolution: "micromark@npm:3.0.10"
+ dependencies:
+ "@types/debug": ^4.0.0
+ debug: ^4.0.0
+ decode-named-character-reference: ^1.0.0
+ micromark-core-commonmark: ^1.0.1
+ micromark-factory-space: ^1.0.0
+ micromark-util-character: ^1.0.0
+ micromark-util-chunked: ^1.0.0
+ micromark-util-combine-extensions: ^1.0.0
+ micromark-util-decode-numeric-character-reference: ^1.0.0
+ micromark-util-encode: ^1.0.0
+ micromark-util-normalize-identifier: ^1.0.0
+ micromark-util-resolve-all: ^1.0.0
+ micromark-util-sanitize-uri: ^1.0.0
+ micromark-util-subtokenize: ^1.0.0
+ micromark-util-symbol: ^1.0.0
+ micromark-util-types: ^1.0.1
+ uvu: ^0.5.0
+ checksum: 3f6a571606916d815840f7f08c9344d8af77b900c3ca106bf9d1cd65d94614410c7ab3087603ace8498708b3faeb4f75e9edfe18ffde27cd88cc6a293e84c3bf
+ languageName: node
+ linkType: hard
+
"micromark@npm:~2.11.0":
version: 2.11.4
resolution: "micromark@npm:2.11.4"
@@ -31546,30 +31869,21 @@ __metadata:
languageName: node
linkType: hard
-"mime-db@npm:1.51.0, mime-db@npm:>= 1.43.0 < 2":
+"mime-db@npm:1.51.0":
version: 1.51.0
resolution: "mime-db@npm:1.51.0"
checksum: 0019c731d3967b62e4aefa1d416709386649305cc5a94dd13d315960c8111a0a9c4d1dc542545e69a476e316df4fc03de18dbc83a82e97aefdb046267649a548
languageName: node
linkType: hard
-"mime-db@npm:~1.33.0":
- version: 1.33.0
- resolution: "mime-db@npm:1.33.0"
- checksum: 79172ce5468c8503b49dddfdddc18d3f5fe2599f9b5fe1bc321a8cbee14c96730fc6db22f907b23701b05b2936f865795f62ec3a78a7f3c8cb2450bb68c6763e
+"mime-db@npm:>= 1.43.0 < 2":
+ version: 1.52.0
+ resolution: "mime-db@npm:1.52.0"
+ checksum: 0557a01deebf45ac5f5777fe7740b2a5c309c6d62d40ceab4e23da9f821899ce7a900b7ac8157d4548ddbb7beffe9abc621250e6d182b0397ec7f10c7b91a5aa
languageName: node
linkType: hard
-"mime-types@npm:2.1.18":
- version: 2.1.18
- resolution: "mime-types@npm:2.1.18"
- dependencies:
- mime-db: ~1.33.0
- checksum: a96a8d12f4bb98bc7bfac6a8ccbd045f40368fc1030d9366050c3613825d3715d1c1f393e10a75a885d2cdc1a26cd6d5e11f3a2a0d5c4d361f00242139430a0f
- languageName: node
- linkType: hard
-
-"mime-types@npm:^2.1.12, mime-types@npm:^2.1.18, mime-types@npm:^2.1.25, mime-types@npm:^2.1.26, mime-types@npm:^2.1.27, mime-types@npm:^2.1.30, mime-types@npm:~2.1.17, mime-types@npm:~2.1.19, mime-types@npm:~2.1.24":
+"mime-types@npm:^2.1.12, mime-types@npm:^2.1.18, mime-types@npm:^2.1.25, mime-types@npm:^2.1.26, mime-types@npm:^2.1.27, mime-types@npm:^2.1.30, mime-types@npm:~2.1.17, mime-types@npm:~2.1.19, mime-types@npm:~2.1.24, mime-types@npm:~2.1.34":
version: 2.1.34
resolution: "mime-types@npm:2.1.34"
dependencies:
@@ -31718,7 +32032,16 @@ __metadata:
languageName: node
linkType: hard
-"minimatch@npm:2 || 3, minimatch@npm:3.0.4, minimatch@npm:^3.0.0, minimatch@npm:^3.0.2, minimatch@npm:^3.0.4":
+"minimatch@npm:2 || 3, minimatch@npm:^3.0.0, minimatch@npm:^3.0.2, minimatch@npm:^3.0.4, minimatch@npm:^3.1.2":
+ version: 3.1.2
+ resolution: "minimatch@npm:3.1.2"
+ dependencies:
+ brace-expansion: ^1.1.7
+ checksum: 0262810a8fc2e72cca45d6fd86bd349eee435eb95ac6aa45c9ea2180e7ee875ef44c32b55b5973ceabe95ea12682f6e3725cbb63d7a2d1da3ae1163c8b210311
+ languageName: node
+ linkType: hard
+
+"minimatch@npm:3.0.4":
version: 3.0.4
resolution: "minimatch@npm:3.0.4"
dependencies:
@@ -31771,7 +32094,7 @@ __metadata:
languageName: node
linkType: hard
-"minipass-fetch@npm:^1.3.0, minipass-fetch@npm:^1.3.2":
+"minipass-fetch@npm:^1.3.0, minipass-fetch@npm:^1.3.2, minipass-fetch@npm:^1.4.1":
version: 1.4.1
resolution: "minipass-fetch@npm:1.4.1"
dependencies:
@@ -31833,7 +32156,7 @@ __metadata:
languageName: node
linkType: hard
-"minipass@npm:^3.0.0, minipass@npm:^3.1.0, minipass@npm:^3.1.1, minipass@npm:^3.1.3":
+"minipass@npm:^3.0.0, minipass@npm:^3.1.0, minipass@npm:^3.1.1, minipass@npm:^3.1.3, minipass@npm:^3.1.6":
version: 3.1.6
resolution: "minipass@npm:3.1.6"
dependencies:
@@ -32024,6 +32347,13 @@ __metadata:
languageName: node
linkType: hard
+"mri@npm:^1.1.0":
+ version: 1.2.0
+ resolution: "mri@npm:1.2.0"
+ checksum: a3d32379c2554cf7351db6237ddc18dc9e54e4214953f3da105b97dc3babe0deb3ffe99cf409b38ea47cc29f9430561ba6b53b24ab8f9ce97a4b50409e4a50e7
+ languageName: node
+ linkType: hard
+
"ms@npm:2.0.0":
version: 2.0.0
resolution: "ms@npm:2.0.0"
@@ -32063,15 +32393,15 @@ __metadata:
languageName: node
linkType: hard
-"msgpackr@npm:^1.5.1, msgpackr@npm:^1.5.2":
- version: 1.5.2
- resolution: "msgpackr@npm:1.5.2"
+"msgpackr@npm:^1.5.1, msgpackr@npm:^1.5.4":
+ version: 1.5.4
+ resolution: "msgpackr@npm:1.5.4"
dependencies:
msgpackr-extract: ^1.0.14
dependenciesMeta:
msgpackr-extract:
optional: true
- checksum: 3353b549e2b802d819ac37050d95bbb8a1ef45ceba5489f564b95567f691b8599f8e7d2f71a748b19a4068b6da902af081a2eb13cd792f70021529436d851bdb
+ checksum: d09f1c41346656b90337b1eee6c7bef258954df1210efeea458b40d7ab271ccd51436da66bc91158968ab7fdaa5d027fa12a3d08babd9539a31af867e5735547
languageName: node
linkType: hard
@@ -32171,12 +32501,12 @@ __metadata:
languageName: node
linkType: hard
-"nanoid@npm:^3.1.23, nanoid@npm:^3.1.30":
- version: 3.2.0
- resolution: "nanoid@npm:3.2.0"
+"nanoid@npm:^3.1.23, nanoid@npm:^3.3.1":
+ version: 3.3.1
+ resolution: "nanoid@npm:3.3.1"
bin:
nanoid: bin/nanoid.cjs
- checksum: ffbe932322ac7d95ca3da5c67461e1e27e3b1ba4d9660a258d819a8d7f8615442bba2022a7d97a5e30c9baf630e09dad161651af38b464c073382c073c19a950
+ checksum: 1034d71e438490e620bfc2419bb203e7dccbc122fd2e62a6101227b50d08992fdc114de197e77604c419dbcf4f41b142e6ff61d0516db4d24cd32f9bbc390f6b
languageName: node
linkType: hard
@@ -32222,7 +32552,7 @@ __metadata:
languageName: node
linkType: hard
-"ncp@npm:^2.0.0, ncp@npm:~2.0.0":
+"ncp@npm:~2.0.0":
version: 2.0.0
resolution: "ncp@npm:2.0.0"
bin:
@@ -32261,14 +32591,7 @@ __metadata:
languageName: node
linkType: hard
-"negotiator@npm:0.6.2":
- version: 0.6.2
- resolution: "negotiator@npm:0.6.2"
- checksum: cda4955b5a0d6624ff3322c9a9e7bfc039b8f2b0133708208edbb28be6ebb62c45493aee098374d8d0aeda60fc37dd08cf53cd60bd5fad3efb8fc36b52e3cdce
- languageName: node
- linkType: hard
-
-"negotiator@npm:^0.6.2":
+"negotiator@npm:0.6.3, negotiator@npm:^0.6.2, negotiator@npm:^0.6.3":
version: 0.6.3
resolution: "negotiator@npm:0.6.3"
checksum: 3ec9fd413e7bf071c937ae60d572bc67155262068ed522cf4b3be5edbe6ddf67d095ec03a3a14ebf8fc8e95f8e1d61be4869db0dbb0de696f6b837358bd43fc2
@@ -32358,13 +32681,6 @@ __metadata:
languageName: node
linkType: hard
-"node-fetch@npm:2.6.1":
- version: 2.6.1
- resolution: "node-fetch@npm:2.6.1"
- checksum: c58586d121782df045681e29608f940be90c7d8c4cada29957c148cfcc5e2d81d74b690cf10ee6879ed055da7ea821450a74ff43f3bde651cf6c8a5f34a77e2a
- languageName: node
- linkType: hard
-
"node-fetch@npm:^1.0.1":
version: 1.7.3
resolution: "node-fetch@npm:1.7.3"
@@ -32396,13 +32712,6 @@ __metadata:
languageName: node
linkType: hard
-"node-forge@npm:^1.2.1":
- version: 1.2.1
- resolution: "node-forge@npm:1.2.1"
- checksum: 0563bef5c6abfd031018ebd9cae41432811faef0b25ca7651489fb5f946250c3f8c433f42e76e9fd98f0d7617c12b700f8cbea134a1d284df84f8104c79127c0
- languageName: node
- linkType: hard
-
"node-gyp-build@npm:^4.2.3, node-gyp-build@npm:^4.3.0":
version: 4.3.0
resolution: "node-gyp-build@npm:4.3.0"
@@ -32466,7 +32775,7 @@ __metadata:
languageName: node
linkType: hard
-"node-gyp@npm:^8.4.0, node-gyp@npm:latest":
+"node-gyp@npm:^8.4.0":
version: 8.4.1
resolution: "node-gyp@npm:8.4.1"
dependencies:
@@ -32486,6 +32795,26 @@ __metadata:
languageName: node
linkType: hard
+"node-gyp@npm:latest":
+ version: 9.0.0
+ resolution: "node-gyp@npm:9.0.0"
+ dependencies:
+ env-paths: ^2.2.0
+ glob: ^7.1.4
+ graceful-fs: ^4.2.6
+ make-fetch-happen: ^10.0.3
+ nopt: ^5.0.0
+ npmlog: ^6.0.0
+ rimraf: ^3.0.2
+ semver: ^7.3.5
+ tar: ^6.1.2
+ which: ^2.0.2
+ bin:
+ node-gyp: bin/node-gyp.js
+ checksum: 1aa0f3a6e137ef957f1f371b6d6c9e332eef6a8791e5453bee089a056984691d5f402b168a8b054176f143e36eef290653a35b79203ba1bc40cd694bb0575590
+ languageName: node
+ linkType: hard
+
"node-int64@npm:^0.4.0":
version: 0.4.0
resolution: "node-int64@npm:0.4.0"
@@ -32597,10 +32926,10 @@ __metadata:
languageName: node
linkType: hard
-"node-releases@npm:^2.0.1":
- version: 2.0.1
- resolution: "node-releases@npm:2.0.1"
- checksum: cb6c373458422e584b46ce18d7b5c95590fe1f31a9ec4833d3f557aff8c99a64be331cbb94ddee473f40ff17d52a907939c3f234a537da35967c58585c9ee09e
+"node-releases@npm:^2.0.2":
+ version: 2.0.2
+ resolution: "node-releases@npm:2.0.2"
+ checksum: d4f0f090670c02c3537b38c43ff39216be0addd75908cd7027bfff30a3ce8ac9b1db0c802c60756d1e79c33b8154dd0c9f2e5bbfb0deaaf39563299d52458ae9
languageName: node
linkType: hard
@@ -32988,14 +33317,14 @@ __metadata:
linkType: hard
"npmlog@npm:^6.0.0":
- version: 6.0.0
- resolution: "npmlog@npm:6.0.0"
+ version: 6.0.1
+ resolution: "npmlog@npm:6.0.1"
dependencies:
- are-we-there-yet: ^2.0.0
+ are-we-there-yet: ^3.0.0
console-control-strings: ^1.1.0
gauge: ^4.0.0
set-blocking: ^2.0.0
- checksum: e31920162392a4e55172dcac183446501fbb4d3466fd9c84cf72f6facd4dbeaea0a582d28e9f89d9294d1cdb6be1e595cf4ab6dc53f8c0986a327d666f9d6c3a
+ checksum: 794996b9a9def47026418ed961bbb5c3c5c6e62b9d54e1024f8f68e35052fc80c3af6a9e65c4817a6d43262c5e83fdbc965f49af9666bdccc5e34d7513f67e3a
languageName: node
linkType: hard
@@ -33233,31 +33562,31 @@ __metadata:
dependencies:
"@packtracker/webpack-plugin": ^2.3.0
"@pmmmwh/react-refresh-webpack-plugin": ^0.5.3
- "@storybook/addon-a11y": 6.5.0-alpha.42
- "@storybook/addon-actions": 6.5.0-alpha.42
- "@storybook/addon-backgrounds": 6.5.0-alpha.42
- "@storybook/addon-controls": 6.5.0-alpha.42
- "@storybook/addon-docs": 6.5.0-alpha.42
- "@storybook/addon-interactions": 6.5.0-alpha.42
- "@storybook/addon-jest": 6.5.0-alpha.42
- "@storybook/addon-links": 6.5.0-alpha.42
- "@storybook/addon-storyshots": 6.5.0-alpha.42
- "@storybook/addon-storyshots-puppeteer": 6.5.0-alpha.42
- "@storybook/addon-storysource": 6.5.0-alpha.42
- "@storybook/addon-toolbars": 6.5.0-alpha.42
- "@storybook/addon-viewport": 6.5.0-alpha.42
- "@storybook/addons": 6.5.0-alpha.42
- "@storybook/cli": 6.5.0-alpha.42
- "@storybook/components": 6.5.0-alpha.42
- "@storybook/core-events": 6.5.0-alpha.42
+ "@storybook/addon-a11y": 6.5.0-alpha.48
+ "@storybook/addon-actions": 6.5.0-alpha.48
+ "@storybook/addon-backgrounds": 6.5.0-alpha.48
+ "@storybook/addon-controls": 6.5.0-alpha.48
+ "@storybook/addon-docs": 6.5.0-alpha.48
+ "@storybook/addon-interactions": 6.5.0-alpha.48
+ "@storybook/addon-jest": 6.5.0-alpha.48
+ "@storybook/addon-links": 6.5.0-alpha.48
+ "@storybook/addon-storyshots": 6.5.0-alpha.48
+ "@storybook/addon-storyshots-puppeteer": 6.5.0-alpha.48
+ "@storybook/addon-storysource": 6.5.0-alpha.48
+ "@storybook/addon-toolbars": 6.5.0-alpha.48
+ "@storybook/addon-viewport": 6.5.0-alpha.48
+ "@storybook/addons": 6.5.0-alpha.48
+ "@storybook/cli": 6.5.0-alpha.48
+ "@storybook/components": 6.5.0-alpha.48
+ "@storybook/core-events": 6.5.0-alpha.48
"@storybook/design-system": ^5.4.7
"@storybook/jest": ^0.0.9
- "@storybook/node-logger": 6.5.0-alpha.39
- "@storybook/react": 6.5.0-alpha.39
- "@storybook/router": 6.5.0-alpha.39
- "@storybook/source-loader": 6.5.0-alpha.39
+ "@storybook/node-logger": 6.5.0-alpha.48
+ "@storybook/react": 6.5.0-alpha.48
+ "@storybook/router": 6.5.0-alpha.48
+ "@storybook/source-loader": 6.5.0-alpha.48
"@storybook/testing-library": ^0.0.9
- "@storybook/theming": 6.5.0-alpha.39
+ "@storybook/theming": 6.5.0-alpha.48
"@testing-library/dom": ^7.31.2
"@testing-library/user-event": ^13.1.9
chromatic: ^6.0.2
@@ -33275,7 +33604,6 @@ __metadata:
react: 16.14.0
react-dom: 16.14.0
terser-webpack-plugin: ^5.0.3
- uuid: ^8.3.2
uuid-browser: ^3.1.0
webpack: 4
peerDependencies:
@@ -33471,7 +33799,7 @@ __metadata:
languageName: node
linkType: hard
-"ora@npm:5.4.1, ora@npm:^5.2.0":
+"ora@npm:5.4.1":
version: 5.4.1
resolution: "ora@npm:5.4.1"
dependencies:
@@ -33502,10 +33830,10 @@ __metadata:
languageName: node
linkType: hard
-"ordered-binary@npm:^1.2.3":
- version: 1.2.3
- resolution: "ordered-binary@npm:1.2.3"
- checksum: 1259664eb835d6d1cf114eed0d8b60277c06426e26645383349deb89a9b043568b3449c10daaa1bd343206d5eff812830fe6c2dc0f2da0d7c8a4ac57daec3a99
+"ordered-binary@npm:^1.2.4":
+ version: 1.2.4
+ resolution: "ordered-binary@npm:1.2.4"
+ checksum: 8d30e24bd927dfa6c2cb4ec9939fa08c6b1db0dda5c9f6cc274e3c6bbd7543427a0bd5ec40f0d3f672bb7a88b9b153f2154848b1911d3f3a1da49d97ce1bc64d
languageName: node
linkType: hard
@@ -33988,6 +34316,22 @@ __metadata:
languageName: node
linkType: hard
+"parse-entities@npm:^4.0.0":
+ version: 4.0.0
+ resolution: "parse-entities@npm:4.0.0"
+ dependencies:
+ "@types/unist": ^2.0.0
+ character-entities: ^2.0.0
+ character-entities-legacy: ^3.0.0
+ character-reference-invalid: ^2.0.0
+ decode-named-character-reference: ^1.0.0
+ is-alphanumerical: ^2.0.0
+ is-decimal: ^2.0.0
+ is-hexadecimal: ^2.0.0
+ checksum: 9c7e2e956099707238a5d394b12cf65ff5672c592665f7110d7b20b5d446ecd7d926354dff5c40aff0c7953de8c103356b4d01d8e9d7cf2b83d83cb545a12dc2
+ languageName: node
+ linkType: hard
+
"parse-git-config@npm:^2.0.3":
version: 2.0.3
resolution: "parse-git-config@npm:2.0.3"
@@ -34081,13 +34425,6 @@ __metadata:
languageName: node
linkType: hard
-"parse-static-imports@npm:^1.1.0":
- version: 1.1.0
- resolution: "parse-static-imports@npm:1.1.0"
- checksum: 24a210b3ed4fc8ab4d79a807956484a60f97cd0e8174d4c2c88c034fdba65d87ce62ec293aadee46e07d476959610a905a2b80d60b343fd525e057479cabfbbe
- languageName: node
- linkType: hard
-
"parse-url@npm:^6.0.0":
version: 6.0.0
resolution: "parse-url@npm:6.0.0"
@@ -34187,7 +34524,7 @@ __metadata:
languageName: node
linkType: hard
-"path-browserify@npm:^1.0.0, path-browserify@npm:^1.0.1":
+"path-browserify@npm:^1.0.1":
version: 1.0.1
resolution: "path-browserify@npm:1.0.1"
checksum: 8b8c3fd5c66bd340272180590ae4ff139769e9ab79522e2eb82e3d571a89b8117c04147f65ad066dccfb42fcad902e5b7d794b3d35e0fd840491a8ddbedf8c66
@@ -34231,7 +34568,7 @@ __metadata:
languageName: node
linkType: hard
-"path-is-inside@npm:1.0.2, path-is-inside@npm:^1.0.1, path-is-inside@npm:^1.0.2":
+"path-is-inside@npm:^1.0.1, path-is-inside@npm:^1.0.2":
version: 1.0.2
resolution: "path-is-inside@npm:1.0.2"
checksum: 7fdd4b41672c70461cce734fc222b33e7b447fa489c7c4377c95e7e6852d83d69741f307d88ec0cc3b385b41cb4accc6efac3c7c511cd18512e95424f5fa980c
@@ -34289,13 +34626,6 @@ __metadata:
languageName: node
linkType: hard
-"path-to-regexp@npm:2.2.1":
- version: 2.2.1
- resolution: "path-to-regexp@npm:2.2.1"
- checksum: f4b51090a73dad5ce0720f13ce8528ac77914bc927d72cc4ba05ab32770ad3a8d2e431962734b688b9ed863d4098d858da6ff4746037e4e24259cbd3b2c32b79
- languageName: node
- linkType: hard
-
"path-type@npm:^1.0.0":
version: 1.1.0
resolution: "path-type@npm:1.1.0"
@@ -34366,14 +34696,16 @@ __metadata:
linkType: hard
"pdfjs-dist@npm:^2.12.313":
- version: 2.12.313
- resolution: "pdfjs-dist@npm:2.12.313"
+ version: 2.13.216
+ resolution: "pdfjs-dist@npm:2.13.216"
+ dependencies:
+ web-streams-polyfill: ^3.2.0
peerDependencies:
worker-loader: ^3.0.8
peerDependenciesMeta:
worker-loader:
optional: true
- checksum: 044419ed4f1770c41c4f4f144139c01ac1e65f48e347d18385a4fe5343389cef0825112d03f4c588be66a15ed502ec296edab4045885a155c3bb1c19fab80159
+ checksum: 3b388d6dd15edd6d9869cb3daa2e9b40261426d1f4cb1ffc3512341cdfdd99edeeb60c5eec52d00ff1a5c244296b1d86e24f87c778b177a1d0929ebc252b3893
languageName: node
linkType: hard
@@ -34403,6 +34735,16 @@ __metadata:
languageName: node
linkType: hard
+"periscopic@npm:^3.0.0":
+ version: 3.0.4
+ resolution: "periscopic@npm:3.0.4"
+ dependencies:
+ estree-walker: ^3.0.0
+ is-reference: ^3.0.0
+ checksum: b70dd2fe52b8d70f439b68f2f7ef9e1a75a0e7b07a01393dea376ecdcbb5a76315c6661457c882c7579c6db41f44acb3d7c93ad7c7716c4c874e23481f04ed2e
+ languageName: node
+ linkType: hard
+
"picocolors@npm:^0.2.1":
version: 0.2.1
resolution: "picocolors@npm:0.2.1"
@@ -34477,7 +34819,7 @@ __metadata:
languageName: node
linkType: hard
-"pirates@npm:^4.0.0, pirates@npm:^4.0.1":
+"pirates@npm:^4.0.1, pirates@npm:^4.0.5":
version: 4.0.5
resolution: "pirates@npm:4.0.5"
checksum: 58b6ff0f137a3d70ff34ac4802fd19819cdc19b53e9c95adecae6c7cfc77719a11f561ad85d46e79e520ef57c31145a564c8bc3bee8cfee75d441fab2928a51d
@@ -34694,14 +35036,14 @@ __metadata:
linkType: hard
"postcss-calc@npm:^8.2.0":
- version: 8.2.3
- resolution: "postcss-calc@npm:8.2.3"
+ version: 8.2.4
+ resolution: "postcss-calc@npm:8.2.4"
dependencies:
- postcss-selector-parser: ^6.0.2
- postcss-value-parser: ^4.0.2
+ postcss-selector-parser: ^6.0.9
+ postcss-value-parser: ^4.2.0
peerDependencies:
postcss: ^8.2.2
- checksum: 24d223f09ef63bc863798b456edd59551f2161f8d7712f82db8f5ecbd7a7d97a3361b9ae41ca1b3eb2faa80ea4ec67b8c417cd044b6073ff4198bcf2f4c60983
+ checksum: 8518a429488c3283ff1560c83a511f6f772329bc61d88875eb7c83e13a8683b7ccbdccaa9946024cf1553da3eacd2f40fcbcebf1095f7fdeb432bf86bc6ba6ba
languageName: node
linkType: hard
@@ -34780,9 +35122,9 @@ __metadata:
languageName: node
linkType: hard
-"postcss-colormin@npm:^5.2.4":
- version: 5.2.4
- resolution: "postcss-colormin@npm:5.2.4"
+"postcss-colormin@npm:^5.2.5":
+ version: 5.2.5
+ resolution: "postcss-colormin@npm:5.2.5"
dependencies:
browserslist: ^4.16.6
caniuse-api: ^3.0.0
@@ -34790,7 +35132,7 @@ __metadata:
postcss-value-parser: ^4.2.0
peerDependencies:
postcss: ^8.2.15
- checksum: 7eaf6f4ec1a1669d17c138f0d4efd0755034b348bc40c6e3fa614d324b5f5b5e6b3e3f35a7cca92c3925b978ae259b6910a5b8cf940ac31837072beee9f9d5f3
+ checksum: d365a94ac418d52c0b1e8eecca51f31789608803d01f4b2585c2c574ed4df6fc6b4d4c0c7d07cc777d985ccb7f6c43641a99c20dd6d915c89d330e9d155dd073
languageName: node
linkType: hard
@@ -34804,14 +35146,14 @@ __metadata:
languageName: node
linkType: hard
-"postcss-convert-values@npm:^5.0.3":
- version: 5.0.3
- resolution: "postcss-convert-values@npm:5.0.3"
+"postcss-convert-values@npm:^5.0.4":
+ version: 5.0.4
+ resolution: "postcss-convert-values@npm:5.0.4"
dependencies:
postcss-value-parser: ^4.2.0
peerDependencies:
postcss: ^8.2.15
- checksum: ef79ae79e55ee31b8853fa7a34883f16995122bc475a5617773580c54fb917e5c8b263159b72f183eb35da4f4fdfbcc9c5749a523c225aa04ce99654385dd5b1
+ checksum: d4a023b46705563c1ae3890e774a1d6d44c2a531d1d8452308f20e46f4ae1f24e5739b2a747dba5933505401746161f3beb9bcb366c72ccd86515d772973083f
languageName: node
linkType: hard
@@ -34863,12 +35205,12 @@ __metadata:
languageName: node
linkType: hard
-"postcss-discard-comments@npm:^5.0.2":
- version: 5.0.2
- resolution: "postcss-discard-comments@npm:5.0.2"
+"postcss-discard-comments@npm:^5.0.3":
+ version: 5.0.3
+ resolution: "postcss-discard-comments@npm:5.0.3"
peerDependencies:
postcss: ^8.2.15
- checksum: 52f921f02245a0c821c813d1675c8db4b142345138b13d66bd1d0971f50aa70ee4b563121d6aaedb6546f67477985cb849585ec3178133e0a82e3efc575382cf
+ checksum: 072e9f55569fa1cb46b5f81e06db7076950aaf80b1d76b6d40de01e5a45478a703cb7951465bf5a2a043bea1a9b1a90f471edf4c8224a75f17beedb753c1c33b
languageName: node
linkType: hard
@@ -34881,12 +35223,12 @@ __metadata:
languageName: node
linkType: hard
-"postcss-discard-duplicates@npm:^5.0.2":
- version: 5.0.2
- resolution: "postcss-discard-duplicates@npm:5.0.2"
+"postcss-discard-duplicates@npm:^5.0.3":
+ version: 5.0.3
+ resolution: "postcss-discard-duplicates@npm:5.0.3"
peerDependencies:
postcss: ^8.2.15
- checksum: d4ba3fc29114cd5deb80210e68d5272c9ef708490ee52034918be6f6c1d60fc1f526c1f2447c2987cacdd92af6c9b77b0907a1fce3eceaa58abe548c7868e642
+ checksum: c56aaf45b8b7d391a99a52fa3dfaed13a0ee768dbd1fab756ef579a712b1c4c125842b2fc338cb3eb3119272838fd003a62e972456a35c6273b8903ed8135208
languageName: node
linkType: hard
@@ -34899,12 +35241,12 @@ __metadata:
languageName: node
linkType: hard
-"postcss-discard-empty@npm:^5.0.2":
- version: 5.0.2
- resolution: "postcss-discard-empty@npm:5.0.2"
+"postcss-discard-empty@npm:^5.0.3":
+ version: 5.0.3
+ resolution: "postcss-discard-empty@npm:5.0.3"
peerDependencies:
postcss: ^8.2.15
- checksum: 35216006245675f7ce071f8b7f08cf1045cb2d7024cca7f46b9c076e50a03ea3419fbfa4dac70ef5ab7c253b6a9a24500809b9b4c3ae41f27d7e4805ef888255
+ checksum: 3f33a77d2ff7b5e8acbceb33db5cb9affe2bbfdebe4ccb69c3bba739d789e4c01d87769b57d275c7aa364def77c0647bef20679519d66c6b64e3fe0c3802e0d4
languageName: node
linkType: hard
@@ -34917,12 +35259,12 @@ __metadata:
languageName: node
linkType: hard
-"postcss-discard-overridden@npm:^5.0.3":
- version: 5.0.3
- resolution: "postcss-discard-overridden@npm:5.0.3"
+"postcss-discard-overridden@npm:^5.0.4":
+ version: 5.0.4
+ resolution: "postcss-discard-overridden@npm:5.0.4"
peerDependencies:
postcss: ^8.2.15
- checksum: 509c0e854e07f4b1864ff49b4c76ff79375335843aaed3475049e7492239b1a18f220e704ab84c3992a67fd01e1627fa8f57cf533971bffa66bcd2348cf56e90
+ checksum: a06e434489784ca9b73fce98cb2f9a4d3dc8565f5fa4bccadc1399b8e66e71d04565b6f21ec41a24563dad082883148f026e35cf23eff4fc24394a9a97c4f36a
languageName: node
linkType: hard
@@ -35127,15 +35469,15 @@ __metadata:
languageName: node
linkType: hard
-"postcss-merge-longhand@npm:^5.0.5":
- version: 5.0.5
- resolution: "postcss-merge-longhand@npm:5.0.5"
+"postcss-merge-longhand@npm:^5.0.6":
+ version: 5.0.6
+ resolution: "postcss-merge-longhand@npm:5.0.6"
dependencies:
postcss-value-parser: ^4.2.0
- stylehacks: ^5.0.2
+ stylehacks: ^5.0.3
peerDependencies:
postcss: ^8.2.15
- checksum: e4f82f0dcc0d218c4b03fb29fbf897b3fee73a1f93d0cc94ac9fc6df10af2483630d33858ce25f729e549cb6257bf1b4b5d25c2dc912efe1a719fee85eb9c929
+ checksum: 0fa4e32f5c90374bcb99e193d21b550e9602b96718a0f1a41e46987eda8c1fb34c3b32f6ae5f02c9440438aa2785ddd5667f8598cbf4bbf0682d0108d929fbaa
languageName: node
linkType: hard
@@ -35153,17 +35495,17 @@ __metadata:
languageName: node
linkType: hard
-"postcss-merge-rules@npm:^5.0.5":
- version: 5.0.5
- resolution: "postcss-merge-rules@npm:5.0.5"
+"postcss-merge-rules@npm:^5.0.6":
+ version: 5.0.6
+ resolution: "postcss-merge-rules@npm:5.0.6"
dependencies:
browserslist: ^4.16.6
caniuse-api: ^3.0.0
- cssnano-utils: ^3.0.1
+ cssnano-utils: ^3.0.2
postcss-selector-parser: ^6.0.5
peerDependencies:
postcss: ^8.2.15
- checksum: 1facf4fae38292d9d820897d8157cb2110ee77dec1a9ad88627659643698536fa56b56cbf7c953a67aabcc1b35b992253294483d3038b769f959d5a50639987e
+ checksum: cd809f138fb249625e6eb1c3b6165e6185cda56cfbcdd109071789a0d5653bed6297ba6427934e4edf7a0cbd41e56668d6692f3dd8e5b530a66dcf2127117174
languageName: node
linkType: hard
@@ -35177,14 +35519,14 @@ __metadata:
languageName: node
linkType: hard
-"postcss-minify-font-values@npm:^5.0.3":
- version: 5.0.3
- resolution: "postcss-minify-font-values@npm:5.0.3"
+"postcss-minify-font-values@npm:^5.0.4":
+ version: 5.0.4
+ resolution: "postcss-minify-font-values@npm:5.0.4"
dependencies:
postcss-value-parser: ^4.2.0
peerDependencies:
postcss: ^8.2.15
- checksum: fc805273b6701d1aa576a021336d7715b1a50e88f7b1dc9acd7ee1642707d1383f95c60ef1eb8a818ff8e41b005987e0f4b0004a3753bc4e7370afcce6d86dd3
+ checksum: 11b665c5852aebf4d748d3af43d26d9a88760ca421db88767b063355375c1f5606d1e4a68d27a3971913b75c6e69249ea2423531b2d4244a962341db29c44391
languageName: node
linkType: hard
@@ -35200,16 +35542,16 @@ __metadata:
languageName: node
linkType: hard
-"postcss-minify-gradients@npm:^5.0.5":
- version: 5.0.5
- resolution: "postcss-minify-gradients@npm:5.0.5"
+"postcss-minify-gradients@npm:^5.0.6":
+ version: 5.0.6
+ resolution: "postcss-minify-gradients@npm:5.0.6"
dependencies:
colord: ^2.9.1
- cssnano-utils: ^3.0.1
+ cssnano-utils: ^3.0.2
postcss-value-parser: ^4.2.0
peerDependencies:
postcss: ^8.2.15
- checksum: 83ea5abaef070fe52453dfb318cf2b9b69822daff54464ebbff5b22456501596448bc84ed88239c932ee5ad3d72f73197a01c405582ea1c23e9e40c6a8f3eedb
+ checksum: 1bb70a9c646d8d3a590f86f8c828e4bbe6b6ad5a2f31b49bd84bee03eb5a1c503d3f87811d395e4609a160feebca6081a8be2ae8a3ad84c8cdbbbc5f7c266ff5
languageName: node
linkType: hard
@@ -35227,16 +35569,16 @@ __metadata:
languageName: node
linkType: hard
-"postcss-minify-params@npm:^5.0.4":
- version: 5.0.4
- resolution: "postcss-minify-params@npm:5.0.4"
+"postcss-minify-params@npm:^5.0.5":
+ version: 5.0.5
+ resolution: "postcss-minify-params@npm:5.0.5"
dependencies:
browserslist: ^4.16.6
- cssnano-utils: ^3.0.1
+ cssnano-utils: ^3.0.2
postcss-value-parser: ^4.2.0
peerDependencies:
postcss: ^8.2.15
- checksum: 364ed8a4960a0a3f7c4f329bd0dc122c80c45ff8ddc7abb7cbdd7c5fb025eb369c7aa89592b5b3bd3906a687eb5b8f040eb6344ac61fa2116763cc6eebcecbb1
+ checksum: 185d230273475196144e8fcdb64c8af508f02afdbb1b3cb39ae3c77af873f272add60cf4bcd16b68e357f4993939c78610e55cfde32cae04486bd6dd51cf393d
languageName: node
linkType: hard
@@ -35252,14 +35594,14 @@ __metadata:
languageName: node
linkType: hard
-"postcss-minify-selectors@npm:^5.1.2":
- version: 5.1.2
- resolution: "postcss-minify-selectors@npm:5.1.2"
+"postcss-minify-selectors@npm:^5.1.3":
+ version: 5.1.3
+ resolution: "postcss-minify-selectors@npm:5.1.3"
dependencies:
postcss-selector-parser: ^6.0.5
peerDependencies:
postcss: ^8.2.15
- checksum: 48463434c92209b865d21ff32a515e07136da2144cd72292996dcc2b47efa02bcbf76c5eee18315d975b143dd9eb1ceff47291e9d7eefef0cac49a942462c063
+ checksum: e9e8946af396149186a5925a477d3547e2e2c5fc5ac3e333317eb5943481b197b326221e62ad80fb2cfebbe50f4034f601b28435c2f27105124caf20eb187057
languageName: node
linkType: hard
@@ -35365,24 +35707,6 @@ __metadata:
languageName: node
linkType: hard
-"postcss-modules@npm:^4.3.0":
- version: 4.3.0
- resolution: "postcss-modules@npm:4.3.0"
- dependencies:
- generic-names: ^4.0.0
- icss-replace-symbols: ^1.1.0
- lodash.camelcase: ^4.3.0
- postcss-modules-extract-imports: ^3.0.0
- postcss-modules-local-by-default: ^4.0.0
- postcss-modules-scope: ^3.0.0
- postcss-modules-values: ^4.0.0
- string-hash: ^1.1.1
- peerDependencies:
- postcss: ^8.0.0
- checksum: 6cff796e51561d98569d24bc405009c66d9da4bf5a650e8a4bcc01f3ff2588be857b8298a938dbc5bc86071136c4dfeb5ef6b9f0d2bb6f2228918fd7e7d2d4e6
- languageName: node
- linkType: hard
-
"postcss-nesting@npm:^7.0.0":
version: 7.0.1
resolution: "postcss-nesting@npm:7.0.1"
@@ -35401,12 +35725,12 @@ __metadata:
languageName: node
linkType: hard
-"postcss-normalize-charset@npm:^5.0.2":
- version: 5.0.2
- resolution: "postcss-normalize-charset@npm:5.0.2"
+"postcss-normalize-charset@npm:^5.0.3":
+ version: 5.0.3
+ resolution: "postcss-normalize-charset@npm:5.0.3"
peerDependencies:
postcss: ^8.2.15
- checksum: 561debb6e0b18e928cd22e72dce0095d3dbf3c3676328c176a1b4802731c9dd035a9b22853318e2f335382601be5831d27f580f202e328daa2189bfba4ddbefe
+ checksum: 37020c796828ffbd5e7a68fb18761dbfebad02005c92f77a665882d8ad862ec1d082b488d93d3c66c72d53fd5212828acb3d69e37338372ef393121abb777cc4
languageName: node
linkType: hard
@@ -35421,14 +35745,14 @@ __metadata:
languageName: node
linkType: hard
-"postcss-normalize-display-values@npm:^5.0.2":
- version: 5.0.2
- resolution: "postcss-normalize-display-values@npm:5.0.2"
+"postcss-normalize-display-values@npm:^5.0.3":
+ version: 5.0.3
+ resolution: "postcss-normalize-display-values@npm:5.0.3"
dependencies:
postcss-value-parser: ^4.2.0
peerDependencies:
postcss: ^8.2.15
- checksum: 155d65f222f98d232cb8474e13d059f340cd682796ed064c3e4ed4e5afa3679d29486753abc2149a74a6de696dee96727d1d4adf91d0a091e2c346471d1add6e
+ checksum: 2d18ab1b4aa2eaad8bc9f64f1d1cb72d3f4c665bc575de8db6d9970b21638dafc4231110d69acc87fe2fee0bbd600e55cf56e54af69fd8216bb0bea57be3a1ad
languageName: node
linkType: hard
@@ -35444,14 +35768,14 @@ __metadata:
languageName: node
linkType: hard
-"postcss-normalize-positions@npm:^5.0.3":
- version: 5.0.3
- resolution: "postcss-normalize-positions@npm:5.0.3"
+"postcss-normalize-positions@npm:^5.0.4":
+ version: 5.0.4
+ resolution: "postcss-normalize-positions@npm:5.0.4"
dependencies:
postcss-value-parser: ^4.2.0
peerDependencies:
postcss: ^8.2.15
- checksum: 9a06fa8b0d534419c307d7f5c802c71924b2083dfacbb48720ad528961fc0265e9edf8757a6e41daa64e7a598e83d374de979cc16710f3c4c24e6f8803d33d90
+ checksum: 645953d3b228ab56e1448556f30c6d5b876e528c5cd5c8b09801c5703d85322843968d5d445376e1a3077cd0e2d1c52845146737431add67258a0603abcd8a87
languageName: node
linkType: hard
@@ -35467,14 +35791,14 @@ __metadata:
languageName: node
linkType: hard
-"postcss-normalize-repeat-style@npm:^5.0.3":
- version: 5.0.3
- resolution: "postcss-normalize-repeat-style@npm:5.0.3"
+"postcss-normalize-repeat-style@npm:^5.0.4":
+ version: 5.0.4
+ resolution: "postcss-normalize-repeat-style@npm:5.0.4"
dependencies:
postcss-value-parser: ^4.2.0
peerDependencies:
postcss: ^8.2.15
- checksum: 1dfdb3bffda39d07b89b7ee78f0c722c7771b0697cc88bce0adaddd57b7de07d008891195d7d63478fb2d620346fd18e8cbbeeace96ca1692d58f4bdecc315c8
+ checksum: b85c932e69614e5edabb88b939f18899c9ac9565ce310cce8a1413e959423111d14beecb1dc081c9b11d32768f704ab0067dc91ea8063f20e9bd7bec6e2f16e6
languageName: node
linkType: hard
@@ -35489,14 +35813,14 @@ __metadata:
languageName: node
linkType: hard
-"postcss-normalize-string@npm:^5.0.3":
- version: 5.0.3
- resolution: "postcss-normalize-string@npm:5.0.3"
+"postcss-normalize-string@npm:^5.0.4":
+ version: 5.0.4
+ resolution: "postcss-normalize-string@npm:5.0.4"
dependencies:
postcss-value-parser: ^4.2.0
peerDependencies:
postcss: ^8.2.15
- checksum: e52124937e13d3672784206d62d0530d9471dfdd5234edca7e38d1bab08d125eed4d397f3a597a4d1e0934e470dbe16a7170af57aa5c1adffbe9407421829f31
+ checksum: 6dd59a55b51d60cc3ce6780e8c7d15ac363c96917e846e4060087d0c923ca16fd1ac27e4c1701978a2635809bba6f9888929893973c47c4156a2e48a76ccf1cf
languageName: node
linkType: hard
@@ -35511,14 +35835,14 @@ __metadata:
languageName: node
linkType: hard
-"postcss-normalize-timing-functions@npm:^5.0.2":
- version: 5.0.2
- resolution: "postcss-normalize-timing-functions@npm:5.0.2"
+"postcss-normalize-timing-functions@npm:^5.0.3":
+ version: 5.0.3
+ resolution: "postcss-normalize-timing-functions@npm:5.0.3"
dependencies:
postcss-value-parser: ^4.2.0
peerDependencies:
postcss: ^8.2.15
- checksum: 74a79ee2ac13d3505b2280eb424752b2756e2e070e41dbc8bedf33149258988deb425579565c7000a0e94d22e4701c0ba00a37612f858fd71777e25575dfcdc1
+ checksum: 535c470dd55881a4dcc741ffebadc47a71569c7e036c5eb389ad816db1cb1951bea15bcb2f06e2f0c6a50e2afc8e0a39cec6135f81928198a3a2f79438d04245
languageName: node
linkType: hard
@@ -35533,15 +35857,15 @@ __metadata:
languageName: node
linkType: hard
-"postcss-normalize-unicode@npm:^5.0.3":
- version: 5.0.3
- resolution: "postcss-normalize-unicode@npm:5.0.3"
+"postcss-normalize-unicode@npm:^5.0.4":
+ version: 5.0.4
+ resolution: "postcss-normalize-unicode@npm:5.0.4"
dependencies:
browserslist: ^4.16.6
postcss-value-parser: ^4.2.0
peerDependencies:
postcss: ^8.2.15
- checksum: df616cb236fb1ff3043c6f232fd6a5cbcd8b279d86cd10c9500869103379d6608b452b3b20ef1db37089515b2cdc5d1c56a2c8fe9cd31fa01ba9f369a57de5c1
+ checksum: 90277c959f633110b2dbf79cd340fcdad27c014f1cb77157bc8a2eac16758c13f0a444862fdde00d46ec79e5f2a9abf689e08e1cef402894592a1c794e4628c0
languageName: node
linkType: hard
@@ -35557,15 +35881,15 @@ __metadata:
languageName: node
linkType: hard
-"postcss-normalize-url@npm:^5.0.4":
- version: 5.0.4
- resolution: "postcss-normalize-url@npm:5.0.4"
+"postcss-normalize-url@npm:^5.0.5":
+ version: 5.0.5
+ resolution: "postcss-normalize-url@npm:5.0.5"
dependencies:
normalize-url: ^6.0.1
postcss-value-parser: ^4.2.0
peerDependencies:
postcss: ^8.2.15
- checksum: 59b1bdd61a660f330cfd263f9302436a421f425f332dcc93dd17743fafebbb9704e4a707665df0acfe88210241ca2d477327566e31f701ad8dd14e1478452392
+ checksum: 03ffede8131f3e4c33de7802ac136e4ca93552f0bb211caad553bb22a782fb120ed7ae515d0147d382da558e8bd3ad56a5a58f5eb7fffe1f1966594f640b3e82
languageName: node
linkType: hard
@@ -35579,14 +35903,14 @@ __metadata:
languageName: node
linkType: hard
-"postcss-normalize-whitespace@npm:^5.0.3":
- version: 5.0.3
- resolution: "postcss-normalize-whitespace@npm:5.0.3"
+"postcss-normalize-whitespace@npm:^5.0.4":
+ version: 5.0.4
+ resolution: "postcss-normalize-whitespace@npm:5.0.4"
dependencies:
postcss-value-parser: ^4.2.0
peerDependencies:
postcss: ^8.2.15
- checksum: 575001e325c8cd93ea21e89a5c804fc47f2f3a53b276221e7c2e4307e35d8120fd726499b1ffcc68f1ff37f02100cac746a8150074d61c12996ae87007cb2065
+ checksum: d06d1ce6e9682563f2d69845f8a795b070c674180e0a1d22a7570faff560bce7fbf416abcbb330f64184c21b766bb4427d562d1eefc0ffd0f03186931b0f37d6
languageName: node
linkType: hard
@@ -35614,15 +35938,15 @@ __metadata:
languageName: node
linkType: hard
-"postcss-ordered-values@npm:^5.0.4":
- version: 5.0.4
- resolution: "postcss-ordered-values@npm:5.0.4"
+"postcss-ordered-values@npm:^5.0.5":
+ version: 5.0.5
+ resolution: "postcss-ordered-values@npm:5.0.5"
dependencies:
- cssnano-utils: ^3.0.1
+ cssnano-utils: ^3.0.2
postcss-value-parser: ^4.2.0
peerDependencies:
postcss: ^8.2.15
- checksum: a5bd0d7646a079e3d1f3832b56936f92339f7be27638b138c0bf1ab78219cadf9eb3bfd21f79900e279edc9139d5f6e490affe0eeb32cf37c6fd4b4c8bcb560f
+ checksum: ae04d6899f6effb0daf3bf4b1b92a53c54e34d9fb68abaff9b69452368bafd682af008fc012ca7ee986b9006eedad3bc1b0fad9ed8f72db8bbd281e5566b35ba
languageName: node
linkType: hard
@@ -35721,15 +36045,15 @@ __metadata:
languageName: node
linkType: hard
-"postcss-reduce-initial@npm:^5.0.2":
- version: 5.0.2
- resolution: "postcss-reduce-initial@npm:5.0.2"
+"postcss-reduce-initial@npm:^5.0.3":
+ version: 5.0.3
+ resolution: "postcss-reduce-initial@npm:5.0.3"
dependencies:
browserslist: ^4.16.6
caniuse-api: ^3.0.0
peerDependencies:
postcss: ^8.2.15
- checksum: b88babc21f69d7c04a58b2c8083be9f739f26c90dbe98faa753f3146e8129d2f42596afd71dedc03ce2ef8b74d8aa8e955045ef55b23b39939512355ff7656b8
+ checksum: cbfc7e49d769de488d88ca3ea7aef99c69430404e337251281fa06d3c87aeb5786e99db9f275be185432c1c8740ef316ba4cc20a172ed2b87a02c5c5df517d6a
languageName: node
linkType: hard
@@ -35745,14 +36069,14 @@ __metadata:
languageName: node
linkType: hard
-"postcss-reduce-transforms@npm:^5.0.3":
- version: 5.0.3
- resolution: "postcss-reduce-transforms@npm:5.0.3"
+"postcss-reduce-transforms@npm:^5.0.4":
+ version: 5.0.4
+ resolution: "postcss-reduce-transforms@npm:5.0.4"
dependencies:
postcss-value-parser: ^4.2.0
peerDependencies:
postcss: ^8.2.15
- checksum: 6607a8cf59ad321b75f17981590ab2e36c0c07c1327d804b055e27cfd1e403731cb1575d599891999d638de2fd6609bff3700ed0a3387f566fa6ed554c334fd5
+ checksum: 272f40e755436cd9f2a644848ee7f94940797c7ae2be3f7c2be31ae7bd9d266eeae857b2bcaea8d252e5524a2fbed530dc920fa16ce753a1b537f9234c0adf89
languageName: node
linkType: hard
@@ -35825,7 +36149,7 @@ __metadata:
languageName: node
linkType: hard
-"postcss-selector-parser@npm:^6.0.0, postcss-selector-parser@npm:^6.0.2, postcss-selector-parser@npm:^6.0.4, postcss-selector-parser@npm:^6.0.5":
+"postcss-selector-parser@npm:^6.0.0, postcss-selector-parser@npm:^6.0.2, postcss-selector-parser@npm:^6.0.4, postcss-selector-parser@npm:^6.0.5, postcss-selector-parser@npm:^6.0.9":
version: 6.0.9
resolution: "postcss-selector-parser@npm:6.0.9"
dependencies:
@@ -35846,15 +36170,15 @@ __metadata:
languageName: node
linkType: hard
-"postcss-svgo@npm:^5.0.3":
- version: 5.0.3
- resolution: "postcss-svgo@npm:5.0.3"
+"postcss-svgo@npm:^5.0.4":
+ version: 5.0.4
+ resolution: "postcss-svgo@npm:5.0.4"
dependencies:
- postcss-value-parser: ^4.1.0
+ postcss-value-parser: ^4.2.0
svgo: ^2.7.0
peerDependencies:
postcss: ^8.2.15
- checksum: 8f9fe0fe5480d7a88e2bb2a0c1891e7fc51f6e3ac7d930f0b5272af214483edd3f058ad70c1dc94cfad19a132feb614d5444e70fed3e73cc781717574310869d
+ checksum: 66973ea24671920cc9f959023a6a88ed7d0ca34e0bed6cb5d34d65f023eb9e0537487c54e5abc56196b64afa7a880fedc39371b4613db71e7db3cf5a1a8e3c47
languageName: node
linkType: hard
@@ -35869,14 +36193,14 @@ __metadata:
languageName: node
linkType: hard
-"postcss-unique-selectors@npm:^5.0.3":
- version: 5.0.3
- resolution: "postcss-unique-selectors@npm:5.0.3"
+"postcss-unique-selectors@npm:^5.0.4":
+ version: 5.0.4
+ resolution: "postcss-unique-selectors@npm:5.0.4"
dependencies:
postcss-selector-parser: ^6.0.5
peerDependencies:
postcss: ^8.2.15
- checksum: c67a55e24e6c97b57f70bd33e64cdade729daaa8bc508838972da100b5a42b001bf8aee42537b93e1bacaedc3ea22c3f5fd1d25d9b1ccee4ecd69fa89dac0f4d
+ checksum: 1c7f6f67ba7d566261f44692eafee623a9d71a9c9e40d5d66f667b3dca13d753027a21ec7ba9723d140525c0218cb82fcf6826fecc0efbe6c4bbeb0b330033c7
languageName: node
linkType: hard
@@ -35961,17 +36285,17 @@ __metadata:
linkType: hard
"postcss@npm:^8.1.0, postcss@npm:^8.1.10, postcss@npm:^8.1.4, postcss@npm:^8.2.15, postcss@npm:^8.2.4, postcss@npm:^8.3.7, postcss@npm:^8.4.5":
- version: 8.4.5
- resolution: "postcss@npm:8.4.5"
+ version: 8.4.7
+ resolution: "postcss@npm:8.4.7"
dependencies:
- nanoid: ^3.1.30
+ nanoid: ^3.3.1
picocolors: ^1.0.0
- source-map-js: ^1.0.1
- checksum: e019240473575fc39d6ec38bfa748250c302dacdf3b1660df5f736c6d0279d067e0a4dd6aae2bf0999a0a687fe77ef7a887d550fdf91eeccf9e67dda969ea716
+ source-map-js: ^1.0.2
+ checksum: 46d7d85f2c63f52ce28f6cca47afb2d232b6ec7a0f3da401ce631ea46606874c26939cb152395b1d3bec683d62fc126941d3b3d163a8f27ddcda2f8938f8a179
languageName: node
linkType: hard
-"posthtml-parser@npm:^0.10.0, posthtml-parser@npm:^0.10.1":
+"posthtml-parser@npm:^0.10.1":
version: 0.10.2
resolution: "posthtml-parser@npm:0.10.2"
dependencies:
@@ -35980,6 +36304,15 @@ __metadata:
languageName: node
linkType: hard
+"posthtml-parser@npm:^0.11.0":
+ version: 0.11.0
+ resolution: "posthtml-parser@npm:0.11.0"
+ dependencies:
+ htmlparser2: ^7.1.1
+ checksum: 89bf980a60124790f776a9f21aec0f154eba5412d16f0f3a95de7a53d31b9acb9264bf317ab40c080413e3018a8e65c86278e6e8c0731c8e0363418982ed4296
+ languageName: node
+ linkType: hard
+
"posthtml-render@npm:^3.0.0":
version: 3.0.0
resolution: "posthtml-render@npm:3.0.0"
@@ -35990,12 +36323,12 @@ __metadata:
linkType: hard
"posthtml@npm:^0.16.4, posthtml@npm:^0.16.5":
- version: 0.16.5
- resolution: "posthtml@npm:0.16.5"
+ version: 0.16.6
+ resolution: "posthtml@npm:0.16.6"
dependencies:
- posthtml-parser: ^0.10.0
+ posthtml-parser: ^0.11.0
posthtml-render: ^3.0.0
- checksum: 1af397aa157e7f0ea8961325789c51bcddbe1d74a2e94b8e9d36e67650ab3c03ae1bffb74b5a2a907fa27afd2896f8314091aeafede5af0d9320f094b880eed7
+ checksum: 0505cb70ece051206ffa932394181372be6390a974fd2f50e4e6fdd5d11e41feffba9a5f5e22809ca42899f79bd489d53ceac1d7ad0d782db9521b578e5b7f5a
languageName: node
linkType: hard
@@ -36030,16 +36363,16 @@ __metadata:
dependencies:
"@babel/core": ^7.12.10
"@babel/plugin-transform-runtime": ^7.12.10
- "@storybook/addon-a11y": 6.5.0-alpha.42
- "@storybook/addon-actions": 6.5.0-alpha.42
- "@storybook/addon-backgrounds": 6.5.0-alpha.42
- "@storybook/addon-links": 6.5.0-alpha.42
- "@storybook/addon-storyshots": 6.5.0-alpha.42
- "@storybook/addon-storysource": 6.5.0-alpha.42
- "@storybook/addon-viewport": 6.5.0-alpha.42
- "@storybook/addons": 6.5.0-alpha.42
- "@storybook/preact": 6.5.0-alpha.42
- "@storybook/source-loader": 6.5.0-alpha.42
+ "@storybook/addon-a11y": 6.5.0-alpha.48
+ "@storybook/addon-actions": 6.5.0-alpha.48
+ "@storybook/addon-backgrounds": 6.5.0-alpha.48
+ "@storybook/addon-links": 6.5.0-alpha.48
+ "@storybook/addon-storyshots": 6.5.0-alpha.48
+ "@storybook/addon-storysource": 6.5.0-alpha.48
+ "@storybook/addon-viewport": 6.5.0-alpha.48
+ "@storybook/addons": 6.5.0-alpha.48
+ "@storybook/preact": 6.5.0-alpha.48
+ "@storybook/source-loader": 6.5.0-alpha.48
"@types/prop-types": ^15.7.3
"@types/react": ^17
"@types/react-dom": ^17
@@ -36072,13 +36405,13 @@ __metadata:
linkType: hard
"preact-render-to-string@npm:^5.1.19":
- version: 5.1.19
- resolution: "preact-render-to-string@npm:5.1.19"
+ version: 5.1.20
+ resolution: "preact-render-to-string@npm:5.1.20"
dependencies:
pretty-format: ^3.8.0
peerDependencies:
preact: ">=10"
- checksum: 560670ad725fc22ef80c37f38b2b2959313f53b9b52e988260365d7be158fbaebb24ddee391f41e4c353365b2c59a36e27e3e5c84cb692016c5adbb4c9a7a055
+ checksum: 7c1913394a509d36a74c104a952e29af29e37ed17f16331f2119077d61fddc02640c9a9239ca1351a4ed7a073fe3a25a36eecbe91b8d64ef0c261f842e74e214
languageName: node
linkType: hard
@@ -36092,9 +36425,9 @@ __metadata:
linkType: hard
"preact@npm:^10.5.13":
- version: 10.6.5
- resolution: "preact@npm:10.6.5"
- checksum: e0c0ee80e552650d70de343a84ca04fe51624c52817f2e16dc96090ab90835e57249f272edd2f0c5d3f49e711c0453b6bfeb72483d563a64b0f3783a1ed7bb40
+ version: 10.6.6
+ resolution: "preact@npm:10.6.6"
+ checksum: a8b304c02c279efcae6cb92f1d3a3f0793fa225b2b852cdd4e5f7ee2553d40025806dc6f9f22312313e6eddd7bcf15a058be596165ba7f4dcd7c2dc05b460802
languageName: node
linkType: hard
@@ -36216,14 +36549,14 @@ __metadata:
languageName: node
linkType: hard
-"pretty-format@npm:^27.0.0, pretty-format@npm:^27.0.2, pretty-format@npm:^27.4.6":
- version: 27.4.6
- resolution: "pretty-format@npm:27.4.6"
+"pretty-format@npm:^27.0.0, pretty-format@npm:^27.0.2, pretty-format@npm:^27.5.1":
+ version: 27.5.1
+ resolution: "pretty-format@npm:27.5.1"
dependencies:
ansi-regex: ^5.0.1
ansi-styles: ^5.0.0
react-is: ^17.0.1
- checksum: 041aafb36eb849aecd7ebb2a5b129a57171e776f644fdaad4fd81fd1bdc6a28fdee540d22a1945eec93b7b8b291b037cfbf44d1276b8296613cff23903a6f151
+ checksum: 0cbda1031aa30c659e10921fa94e0dd3f903ecbbbe7184a729ad66f2b6e7f17891e8c7d7654c458fa4ccb1a411ffb695b4f17bbcd3fe075fabe181027c4040ed
languageName: node
linkType: hard
@@ -36281,17 +36614,10 @@ __metadata:
languageName: node
linkType: hard
-"prismjs@npm:^1.25.0":
- version: 1.26.0
- resolution: "prismjs@npm:1.26.0"
- checksum: 095cdf66b099da0526b26e2634a730643a5780775a0138892291e6786e0a8d3fbce2da394048998a58ccc9566e70ccd94ebd525ded82a1abf854a9407d77a8d1
- languageName: node
- linkType: hard
-
-"prismjs@npm:~1.25.0":
- version: 1.25.0
- resolution: "prismjs@npm:1.25.0"
- checksum: 0c3853a6c815b23a07bef77700f60a40b2a12018a383a75cd7d108718717b73927c809e7dd08ac0ae9f16fbe1e005b337262bc95952cf9cfc91914f986b07bd3
+"prismjs@npm:^1.25.0, prismjs@npm:~1.27.0":
+ version: 1.27.0
+ resolution: "prismjs@npm:1.27.0"
+ checksum: 841cbf53e837a42df9155c5ce1be52c4a0a8967ac916b52a27d066181a3578186c634e52d06d0547fb62b65c486b99b95f826dd54966619f9721b884f486b498
languageName: node
linkType: hard
@@ -36476,7 +36802,7 @@ __metadata:
languageName: node
linkType: hard
-"prop-types@npm:^15.0.0, prop-types@npm:^15.5.10, prop-types@npm:^15.5.4, prop-types@npm:^15.6.0, prop-types@npm:^15.6.1, prop-types@npm:^15.6.2, prop-types@npm:^15.7.2":
+"prop-types@npm:^15.0.0, prop-types@npm:^15.5.10, prop-types@npm:^15.5.4, prop-types@npm:^15.6.0, prop-types@npm:^15.6.1, prop-types@npm:^15.6.2, prop-types@npm:^15.7.2, prop-types@npm:^15.8.1":
version: 15.8.1
resolution: "prop-types@npm:15.8.1"
dependencies:
@@ -36496,6 +36822,13 @@ __metadata:
languageName: node
linkType: hard
+"property-information@npm:^6.0.0":
+ version: 6.1.1
+ resolution: "property-information@npm:6.1.1"
+ checksum: 5f0a9c4b1dcdcbe9c5858d3fa3c3760a43616dc2929f3e213b9c40d94bdd01581d12458f6a1acc0fbd22233fbb311c833397df8050ac8e353007e2138c66478e
+ languageName: node
+ linkType: hard
+
"proptypes@npm:^1.1.0":
version: 1.1.0
resolution: "proptypes@npm:1.1.0"
@@ -36797,7 +37130,7 @@ __metadata:
languageName: node
linkType: hard
-"punycode@npm:^1.2.4, punycode@npm:^1.3.2, punycode@npm:^1.4.1":
+"punycode@npm:^1.2.4, punycode@npm:^1.4.1":
version: 1.4.1
resolution: "punycode@npm:1.4.1"
checksum: 354b743320518aef36f77013be6e15da4db24c2b4f62c5f1eb0529a6ed02fbaf1cb52925785f6ab85a962f2b590d9cd5ad730b70da72b5f180e2556b8bd3ca08
@@ -36870,10 +37203,10 @@ __metadata:
languageName: node
linkType: hard
-"qs@npm:6.9.6":
- version: 6.9.6
- resolution: "qs@npm:6.9.6"
- checksum: b635a0f35b53c8d19f41f5be01b1be24909b99a74be4eaa076814cf3707e49fbcb0c7eb3c5d4396c10eb0073888e76761e4efe8a2f65a60fb28b0b3397740a83
+"qs@npm:6.9.7":
+ version: 6.9.7
+ resolution: "qs@npm:6.9.7"
+ checksum: d0274b3c2daa9e7b350fb695fc4b5f7a1e65e266d5798a07936975f0848bdca6d7ad41cded19ad4af6a6253b97e43b497e988e728eab7a286f277b6dddfbade4
languageName: node
linkType: hard
@@ -36922,7 +37255,7 @@ __metadata:
languageName: node
linkType: hard
-"querystring-es3@npm:^0.2.0, querystring-es3@npm:^0.2.1":
+"querystring-es3@npm:^0.2.0":
version: 0.2.1
resolution: "querystring-es3@npm:0.2.1"
checksum: 476938c1adb45c141f024fccd2ffd919a3746e79ed444d00e670aad68532977b793889648980e7ca7ff5ffc7bfece623118d0fbadcaf217495eeb7059ae51580
@@ -37054,13 +37387,6 @@ __metadata:
languageName: node
linkType: hard
-"range-parser@npm:1.2.0":
- version: 1.2.0
- resolution: "range-parser@npm:1.2.0"
- checksum: c7aef4f6588eb974c475649c157f197d07437d8c6c8ff7e36280a141463fb5ab7a45918417334ebd7b665c6b8321cf31c763f7631dd5f5db9372249261b8b02a
- languageName: node
- linkType: hard
-
"range-parser@npm:^1.2.1, range-parser@npm:~1.2.1":
version: 1.2.1
resolution: "range-parser@npm:1.2.1"
@@ -37080,15 +37406,15 @@ __metadata:
languageName: node
linkType: hard
-"raw-body@npm:2.4.2":
- version: 2.4.2
- resolution: "raw-body@npm:2.4.2"
+"raw-body@npm:2.4.3":
+ version: 2.4.3
+ resolution: "raw-body@npm:2.4.3"
dependencies:
- bytes: 3.1.1
+ bytes: 3.1.2
http-errors: 1.8.1
iconv-lite: 0.4.24
unpipe: 1.0.0
- checksum: 50596d32fc57f4da839c9f938f84debddcfe09caffc5005a60cccc1c0aebb2c7d714fc1513252f9da6900aebf00a12062f959050aefe9767144b6df7f9f125d5
+ checksum: e25ac143c0638dac75b7228de378f60d9438dd1a9b83ffcc6935d5a1e2d599ad3cdc9d24e80eb8cf07a7ec4f5d57a692d243abdcb2449cf11605ef9e5fe6af06
languageName: node
linkType: hard
@@ -37386,8 +37712,8 @@ __metadata:
linkType: hard
"react-helmet-async@npm:^1.0.7":
- version: 1.2.2
- resolution: "react-helmet-async@npm:1.2.2"
+ version: 1.2.3
+ resolution: "react-helmet-async@npm:1.2.3"
dependencies:
"@babel/runtime": ^7.12.5
invariant: ^2.2.4
@@ -37397,7 +37723,7 @@ __metadata:
peerDependencies:
react: ^16.6.0 || ^17.0.0
react-dom: ^16.6.0 || ^17.0.0
- checksum: 29cfa2f521b12d2f899a4f09dcba3106168f676a92ac2c9fc1a3acef19452896961e9b30b432195d9c7a59589fcbcef32afc136642affe82d014b8f31b442c1e
+ checksum: 69ea4a4597fd37f8f22c2f8e207e477b5f5fedad4dd00dc846d73c728bd8dfb2d0ccdf3fff076921a18381cf6eeca01962d6115a4e1330ff42fbc5f95ea5b946
languageName: node
linkType: hard
@@ -37553,15 +37879,15 @@ __metadata:
linkType: hard
"react-router-dom@npm:^6.0.0":
- version: 6.2.1
- resolution: "react-router-dom@npm:6.2.1"
+ version: 6.2.2
+ resolution: "react-router-dom@npm:6.2.2"
dependencies:
history: ^5.2.0
- react-router: 6.2.1
+ react-router: 6.2.2
peerDependencies:
react: ">=16.8"
react-dom: ">=16.8"
- checksum: cdec44b06c89f95bb038f964079597ff02a87db62ce231bf61e23500ad75cc321087d06def3b68f38f7805eb84a43fdd0b9f61b45fb3d7f0158d2604da5a538f
+ checksum: 1975f60b898ccf136a42e62d78ed5d45a4008856313b1ee65feecd7d9843234692fece12e70135e7f9543e9bbcebe814872d92ded8c3a165dad87503bd930375
languageName: node
linkType: hard
@@ -37576,14 +37902,14 @@ __metadata:
languageName: node
linkType: hard
-"react-router@npm:6.2.1, react-router@npm:^6.0.0":
- version: 6.2.1
- resolution: "react-router@npm:6.2.1"
+"react-router@npm:6.2.2, react-router@npm:^6.0.0":
+ version: 6.2.2
+ resolution: "react-router@npm:6.2.2"
dependencies:
history: ^5.2.0
peerDependencies:
react: ">=16.8"
- checksum: 591b4f1fe1c7904b608dfe693b82518c9b453b790421e6ebfec76cee72f7bc2db7a61fb187edf5501484b1f738f090561b8b9ba104b5c1b8757c330c11ece485
+ checksum: 760150331088f2fc2258154c18f2bd93279dff3e80e3d341c083e88e726ad75030672e4d10c465c48310e653b3fe4e57c141c03e01e0ec99517b1db2aae11973
languageName: node
linkType: hard
@@ -38042,7 +38368,7 @@ __metadata:
languageName: node
linkType: hard
-"readable-stream@npm:2 || 3, readable-stream@npm:3, readable-stream@npm:^3.0.0, readable-stream@npm:^3.0.2, readable-stream@npm:^3.0.6, readable-stream@npm:^3.1.1, readable-stream@npm:^3.4.0, readable-stream@npm:^3.5.0, readable-stream@npm:^3.6.0":
+"readable-stream@npm:2 || 3, readable-stream@npm:3, readable-stream@npm:^3.0.0, readable-stream@npm:^3.0.2, readable-stream@npm:^3.0.6, readable-stream@npm:^3.1.1, readable-stream@npm:^3.4.0, readable-stream@npm:^3.6.0":
version: 3.6.0
resolution: "readable-stream@npm:3.6.0"
dependencies:
@@ -38252,22 +38578,22 @@ __metadata:
linkType: hard
"refractor@npm:^3.2.0":
- version: 3.5.0
- resolution: "refractor@npm:3.5.0"
+ version: 3.6.0
+ resolution: "refractor@npm:3.6.0"
dependencies:
hastscript: ^6.0.0
parse-entities: ^2.0.0
- prismjs: ~1.25.0
- checksum: 39be64faff7e2485b914f0ef207021674d72476bc7711e92c841a433c73c4edd67954b0b6de0d05c6b1b91aabfe78cea95baab136255c66e7816732f5ff3ab9a
+ prismjs: ~1.27.0
+ checksum: 63ab62393c8c2fd7108c2ea1eff721c0ad2a1a6eee60fdd1b47f4bb25cf298667dc97d041405b3e718b0817da12b37a86ed07ebee5bd2ca6405611f1bae456db
languageName: node
linkType: hard
-"regenerate-unicode-properties@npm:^9.0.0":
- version: 9.0.0
- resolution: "regenerate-unicode-properties@npm:9.0.0"
+"regenerate-unicode-properties@npm:^10.0.1":
+ version: 10.0.1
+ resolution: "regenerate-unicode-properties@npm:10.0.1"
dependencies:
regenerate: ^1.4.2
- checksum: dc648891572f1d8326c01b335b126d766fe6684e5e760d4daa6c1d214d162b8c027fe0e6ee0a3e3d8d20bd869567f363f6be60bdfc054a14e7ad7d347891a506
+ checksum: 2ac39799588f81003b0b406611067c738ae63f876e8e66b1299b4d1c658ed435bf20007e08f45f1f49a7871510fc2d12cace283724cd4c6907a19adf6d5850a5
languageName: node
linkType: hard
@@ -38342,17 +38668,17 @@ __metadata:
languageName: node
linkType: hard
-"regexpu-core@npm:^4.7.1":
- version: 4.8.0
- resolution: "regexpu-core@npm:4.8.0"
+"regexpu-core@npm:^5.0.1":
+ version: 5.0.1
+ resolution: "regexpu-core@npm:5.0.1"
dependencies:
regenerate: ^1.4.2
- regenerate-unicode-properties: ^9.0.0
- regjsgen: ^0.5.2
- regjsparser: ^0.7.0
+ regenerate-unicode-properties: ^10.0.1
+ regjsgen: ^0.6.0
+ regjsparser: ^0.8.2
unicode-match-property-ecmascript: ^2.0.0
unicode-match-property-value-ecmascript: ^2.0.0
- checksum: cea09893ae49956ba11c3a7433295c61bfbaa92792f565fb54c463dfdd5a81a150ba67a22cd4ecded005425cbb78dc0ea34d5ff771f07f9d31931bafb189e367
+ checksum: a4ea0af1391e3e02301de37bee244400d4efabe14125c3540e7c156bf803748154983b2cfb6477cfcab41db5c0909d6bda077fd73523bc89d4694db2359aabc2
languageName: node
linkType: hard
@@ -38374,21 +38700,21 @@ __metadata:
languageName: node
linkType: hard
-"regjsgen@npm:^0.5.2":
- version: 0.5.2
- resolution: "regjsgen@npm:0.5.2"
- checksum: 66cd5a9427a6db11a18eb544ecadf6866c8eeb3bf66d57185a9788929263b42641068df014d7e4d32a5cfbf114676f9bdd3013629203f03b1538416a1f4050e3
+"regjsgen@npm:^0.6.0":
+ version: 0.6.0
+ resolution: "regjsgen@npm:0.6.0"
+ checksum: e06ef822a4ab9a2faddbdc7f58c294939f9a22c02ca56b404f07f1f9c6bd51dc345ab8b5e2d3267f274a1f77ba4c56d9741e1c53b494bf12da6842c70fe35edc
languageName: node
linkType: hard
-"regjsparser@npm:^0.7.0":
- version: 0.7.0
- resolution: "regjsparser@npm:0.7.0"
+"regjsparser@npm:^0.8.2":
+ version: 0.8.4
+ resolution: "regjsparser@npm:0.8.4"
dependencies:
jsesc: ~0.5.0
bin:
regjsparser: bin/parser
- checksum: 4b891ff0d2c835717d6e7ad9194da7f5271e410422fe51fa73b1f33978df8f6784e2a079938c9827f62fd13c258ae7e7e69f910799bb003b6a0b5e8854801719
+ checksum: d7658e0b59f16f55f2a50d8d2f731165e85d7b22b7c7a08e70b080b0e49b893b0e282caff4b00b35336aaa66851a2faa1b0cb53094e71da1dcefd837a3b202ec
languageName: node
linkType: hard
@@ -38726,6 +39052,16 @@ __metadata:
languageName: node
linkType: hard
+"remark-mdx@npm:^2.0.0":
+ version: 2.0.0
+ resolution: "remark-mdx@npm:2.0.0"
+ dependencies:
+ mdast-util-mdx: ^2.0.0
+ micromark-extension-mdxjs: ^1.0.0
+ checksum: 762874eea5f893315bbf2a00ed7f2ea7e26a60c5dcc55b0817ed5e8117db6cb2b5b21814952d2e44c6d5e1655e4a47e64f6b14d0dadfca1a7bf16b1a2459c4ec
+ languageName: node
+ linkType: hard
+
"remark-message-control@npm:^6.0.0":
version: 6.0.0
resolution: "remark-message-control@npm:6.0.0"
@@ -38760,6 +39096,17 @@ __metadata:
languageName: node
linkType: hard
+"remark-parse@npm:^10.0.0":
+ version: 10.0.1
+ resolution: "remark-parse@npm:10.0.1"
+ dependencies:
+ "@types/mdast": ^3.0.0
+ mdast-util-from-markdown: ^1.0.0
+ unified: ^10.0.0
+ checksum: 1ca6e9b2f8e628d260c68a0367cb6dc92f20e6dd70c195a79584d09b237133ddf96e6398733e53bfbf379a3c4ad6168caa5792a6d83870b7cc014b259531f772
+ languageName: node
+ linkType: hard
+
"remark-parse@npm:^9.0.0":
version: 9.0.0
resolution: "remark-parse@npm:9.0.0"
@@ -38817,6 +39164,18 @@ __metadata:
languageName: node
linkType: hard
+"remark-rehype@npm:^10.0.0":
+ version: 10.1.0
+ resolution: "remark-rehype@npm:10.1.0"
+ dependencies:
+ "@types/hast": ^2.0.0
+ "@types/mdast": ^3.0.0
+ mdast-util-to-hast: ^12.1.0
+ unified: ^10.0.0
+ checksum: 803e658c9b51a9b53ee2ada42ff82e8e570444bb97c873e0d602c2d8dcb69a774fd22bd6f26643dfd5ab4c181059ea6c9fb9a99a2d7f9665f3f11bef1a1489bd
+ languageName: node
+ linkType: hard
+
"remark-slug@npm:^6.0.0":
version: 6.1.0
resolution: "remark-slug@npm:6.1.0"
@@ -39669,8 +40028,8 @@ __metadata:
linkType: hard
"rollup@npm:^2.60.2":
- version: 2.66.1
- resolution: "rollup@npm:2.66.1"
+ version: 2.68.0
+ resolution: "rollup@npm:2.68.0"
dependencies:
fsevents: ~2.3.2
dependenciesMeta:
@@ -39678,7 +40037,7 @@ __metadata:
optional: true
bin:
rollup: dist/bin/rollup
- checksum: 7b39c30fef30877009e21109fb7da0c4c8b136f61f9268f747b373dc13a53c4878f1c1f78aa5cc4619012af62770c6638b1990fb22f00efe0faad65ccd216247
+ checksum: 838ab97cd2086319c72919c1de2880da651ce1a44e408d7dcb686a808473055ba8d42c47bb968f0bc3024e6e4d28c46d495edf89c3e5bdf6b0fb95545ec5bb37
languageName: node
linkType: hard
@@ -39775,11 +40134,20 @@ __metadata:
linkType: hard
"rxjs@npm:^7.5.1":
- version: 7.5.2
- resolution: "rxjs@npm:7.5.2"
+ version: 7.5.4
+ resolution: "rxjs@npm:7.5.4"
dependencies:
tslib: ^2.1.0
- checksum: 6d038a373130a301fef28acd14633ac6bcf7247c56c71e11e687854a594263bb96af045bf11a4bff15b152385e73ac3e31fbe516378a4bcf5aae1d67e3b847eb
+ checksum: 7d40fcfac255e9aa9eaf4175910f27954a4b5cbd53f2031f8babb6e12f09431d8a9147b2d7461b0d0f263e68d68a7160d6c55af26e68d738c05eeb421ee5b2d3
+ languageName: node
+ linkType: hard
+
+"sade@npm:^1.7.3":
+ version: 1.8.1
+ resolution: "sade@npm:1.8.1"
+ dependencies:
+ mri: ^1.1.0
+ checksum: da8a3a5d667ad5ce3bf6d4f054bbb9f711103e5df21003c5a5c1a8a77ce12b640ed4017dd423b13c2307ea7e645adee7c2ae3afe8051b9db16a6f6d3da3f90b1
languageName: node
linkType: hard
@@ -39954,15 +40322,15 @@ __metadata:
linkType: hard
"sass@npm:^1.43.4":
- version: 1.49.0
- resolution: "sass@npm:1.49.0"
+ version: 1.49.9
+ resolution: "sass@npm:1.49.9"
dependencies:
chokidar: ">=3.0.0 <4.0.0"
immutable: ^4.0.0
source-map-js: ">=0.6.2 <2.0.0"
bin:
sass: sass.js
- checksum: 61adafd740c350fb2b085698ac00d4ede36eaa1196cdec2b307529e5a7ab23f58e5d94fce3c8706db2344a08704d420ae4d3a16a6f679bb69cbd220154d79e51
+ checksum: d9e923cb34e54096d6a89f9a4a09231e24cf1ee224089fefa0c302278384a4a4a6a962dae65cc823e1d7a0a35553a212ab37869cbb1b88944481a9d877b8cf47
languageName: node
linkType: hard
@@ -40004,7 +40372,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "sb@workspace:lib/cli-sb"
dependencies:
- "@storybook/cli": 6.5.0-alpha.42
+ "@storybook/cli": 6.5.0-alpha.48
bin:
sb: ./index.js
languageName: unknown
@@ -40285,22 +40653,6 @@ __metadata:
languageName: node
linkType: hard
-"serve-handler@npm:^6.0.0":
- version: 6.1.3
- resolution: "serve-handler@npm:6.1.3"
- dependencies:
- bytes: 3.0.0
- content-disposition: 0.5.2
- fast-url-parser: 1.1.3
- mime-types: 2.1.18
- minimatch: 3.0.4
- path-is-inside: 1.0.2
- path-to-regexp: 2.2.1
- range-parser: 1.2.0
- checksum: ad9a98f50eceda4d16269361a0a7b4167cb4bd8636e22f3ef1a214bb4206d8b3abf2b44ece5ba9d1a6b719e00b78321d5b1777cff178559a24778db9a3998da9
- languageName: node
- linkType: hard
-
"serve-index@npm:^1.9.1":
version: 1.9.1
resolution: "serve-index@npm:1.9.1"
@@ -40344,13 +40696,13 @@ __metadata:
version: 0.0.0-use.local
resolution: "server-kitchen-sink@workspace:examples/server-kitchen-sink"
dependencies:
- "@storybook/addon-a11y": 6.5.0-alpha.42
- "@storybook/addon-actions": 6.5.0-alpha.42
- "@storybook/addon-backgrounds": 6.5.0-alpha.42
- "@storybook/addon-controls": 6.5.0-alpha.42
- "@storybook/addon-links": 6.5.0-alpha.42
- "@storybook/node-logger": 6.5.0-alpha.42
- "@storybook/server": 6.5.0-alpha.42
+ "@storybook/addon-a11y": 6.5.0-alpha.48
+ "@storybook/addon-actions": 6.5.0-alpha.48
+ "@storybook/addon-backgrounds": 6.5.0-alpha.48
+ "@storybook/addon-controls": 6.5.0-alpha.48
+ "@storybook/addon-links": 6.5.0-alpha.48
+ "@storybook/node-logger": 6.5.0-alpha.48
+ "@storybook/server": 6.5.0-alpha.48
concurrently: ^5.3.0
cors: ^2.8.5
express: ~4.17.1
@@ -40508,7 +40860,7 @@ __metadata:
languageName: node
linkType: hard
-"shelljs@npm:^0.8.3, shelljs@npm:^0.8.4, shelljs@npm:^0.8.5":
+"shelljs@npm:^0.8.3, shelljs@npm:^0.8.5":
version: 0.8.5
resolution: "shelljs@npm:0.8.5"
dependencies:
@@ -40551,10 +40903,10 @@ __metadata:
languageName: node
linkType: hard
-"signal-exit@npm:^3.0.0, signal-exit@npm:^3.0.2, signal-exit@npm:^3.0.3":
- version: 3.0.6
- resolution: "signal-exit@npm:3.0.6"
- checksum: 46c4e620f57373f51707927e38b9b7408c4be2802eb213e3e7b578508548c0bc72e37c995f60c526086537f87125e90ed02d0eedcd08d6726c983fb7f2add262
+"signal-exit@npm:^3.0.0, signal-exit@npm:^3.0.2, signal-exit@npm:^3.0.3, signal-exit@npm:^3.0.7":
+ version: 3.0.7
+ resolution: "signal-exit@npm:3.0.7"
+ checksum: 25d272fa73e146048565e08f3309d5b942c1979a6f4a58a8c59d5fa299728e9c2fcd1a759ec870863b1fd38653670240cd420dad2ad9330c71f36608a6a1c912
languageName: node
linkType: hard
@@ -40647,7 +40999,7 @@ __metadata:
languageName: node
linkType: hard
-"smart-buffer@npm:^4.1.0":
+"smart-buffer@npm:^4.1.0, smart-buffer@npm:^4.2.0":
version: 4.2.0
resolution: "smart-buffer@npm:4.2.0"
checksum: a16775323e1404dd43fabafe7460be13a471e021637bc7889468eb45ce6a6b207261f454e4e530a19500cc962c4cc5348583520843b363f4193cee5c00e1e539
@@ -40746,16 +41098,15 @@ __metadata:
linkType: hard
"sockjs-client@npm:^1.5.0":
- version: 1.5.2
- resolution: "sockjs-client@npm:1.5.2"
+ version: 1.6.0
+ resolution: "sockjs-client@npm:1.6.0"
dependencies:
- debug: ^3.2.6
- eventsource: ^1.0.7
- faye-websocket: ^0.11.3
+ debug: ^3.2.7
+ eventsource: ^1.1.0
+ faye-websocket: ^0.11.4
inherits: ^2.0.4
- json3: ^3.3.3
- url-parse: ^1.5.3
- checksum: 09c5275e97d146a4dc9fcebe220fd26c575595f3d1af160d6d26e9f14a2fdcdc628d98c85d3d445527fe2314bdac6f30425347556e26966f62a99d6d3b857df8
+ url-parse: ^1.5.10
+ checksum: d82b18801507fd3a7694d93738a14c24a7d4d61ca871134eb3ac30bc480ee93704e13130e668e984aa05e81fa19ba3a33d19f343a58d8bcdbc8d6a352e91203e
languageName: node
linkType: hard
@@ -40802,7 +41153,7 @@ __metadata:
languageName: node
linkType: hard
-"socks-proxy-agent@npm:^6.0.0":
+"socks-proxy-agent@npm:^6.0.0, socks-proxy-agent@npm:^6.1.1":
version: 6.1.1
resolution: "socks-proxy-agent@npm:6.1.1"
dependencies:
@@ -40814,12 +41165,12 @@ __metadata:
linkType: hard
"socks@npm:^2.3.3, socks@npm:^2.6.1":
- version: 2.6.1
- resolution: "socks@npm:2.6.1"
+ version: 2.6.2
+ resolution: "socks@npm:2.6.2"
dependencies:
ip: ^1.1.5
- smart-buffer: ^4.1.0
- checksum: e992192c7837bfa9093251abf3e78849741f332881900f481dcb3267d18b16595e93519f63dce29f39e4135789a7ed379d210dd68e98465564a40e81ccf9082a
+ smart-buffer: ^4.2.0
+ checksum: 3a97a3fa751d43294c1861bc3519bf3e3ebccc9136e690df96ee7b496b280a42fae3ae39480928ba7d940c1644737eab126502d433af026b209c57f1ca6cb7b3
languageName: node
linkType: hard
@@ -40859,8 +41210,8 @@ __metadata:
linkType: hard
"sort-package-json@npm:^1.22.1, sort-package-json@npm:^1.48.0, sort-package-json@npm:^1.48.1":
- version: 1.53.1
- resolution: "sort-package-json@npm:1.53.1"
+ version: 1.54.0
+ resolution: "sort-package-json@npm:1.54.0"
dependencies:
detect-indent: ^6.0.0
detect-newline: 3.1.0
@@ -40870,7 +41221,7 @@ __metadata:
sort-object-keys: ^1.1.3
bin:
sort-package-json: cli.js
- checksum: ae29fcee103f0d3bdae3f4c136ea12efc570da99a30cede2cebbfe91811f8f1c0af5b23b7d479fb8fa578983805648e2e8d283a4560bb561010ba38c35123341
+ checksum: 410fd04bbbbf6b59840138abe7b2d8308120b8f1bc04b97619e4e7af3c507992fae564007d3f49911409bfd90ac85c6f6dab1e8e447bb96ebc01e8e6a9a1b050
languageName: node
linkType: hard
@@ -40881,7 +41232,7 @@ __metadata:
languageName: node
linkType: hard
-"source-map-js@npm:>=0.6.2 <2.0.0, source-map-js@npm:^1.0.1":
+"source-map-js@npm:>=0.6.2 <2.0.0, source-map-js@npm:^1.0.2":
version: 1.0.2
resolution: "source-map-js@npm:1.0.2"
checksum: 32f2dfd1e9b7168f9a9715eb1b4e21905850f3b50cf02cf476e47e4eebe8e6b762b63a64357896aa29b37e24922b4282df0f492e0d2ace572b43d15525976ff8
@@ -41042,6 +41393,13 @@ __metadata:
languageName: node
linkType: hard
+"space-separated-tokens@npm:^2.0.0":
+ version: 2.0.1
+ resolution: "space-separated-tokens@npm:2.0.1"
+ checksum: 7a3c91fc643586792effda74a40eec795fb68ff82e7d83c6936668693b0caa3ad29756b1d1e5af6c87e305b5c80f00f97b98f14f40b76da5a3e12b47efdf9cee
+ languageName: node
+ linkType: hard
+
"spawn-args@npm:^0.2.0":
version: 0.2.0
resolution: "spawn-args@npm:0.2.0"
@@ -41153,7 +41511,7 @@ __metadata:
languageName: node
linkType: hard
-"split2@npm:^3.0.0, split2@npm:^3.1.1":
+"split2@npm:^3.0.0":
version: 3.2.2
resolution: "split2@npm:3.2.2"
dependencies:
@@ -41274,9 +41632,9 @@ __metadata:
linkType: hard
"stackframe@npm:^1.1.1":
- version: 1.2.0
- resolution: "stackframe@npm:1.2.0"
- checksum: b3ad9e9884eb4555e4be0c1359d700c10f2c9d01cddcd67f574bb2f99cec57b0d1b8e18ebbf68d633e904ba29830cae9b601545fb8b97724779a784f79a2586c
+ version: 1.2.1
+ resolution: "stackframe@npm:1.2.1"
+ checksum: b6b1a516c3e89a9f18dc3ae70178a0140046afb64a0c7f4c1caa87fb5d697828145bdbef13a01f7d76b497e3ce1007b5a4d16dfa95e8224f9aa35e8e727cfe20
languageName: node
linkType: hard
@@ -41293,9 +41651,9 @@ __metadata:
version: 0.0.0-use.local
resolution: "standalone-preview@workspace:examples/standalone-preview"
dependencies:
- "@storybook/addon-docs": 6.5.0-alpha.42
- "@storybook/cli": 6.5.0-alpha.42
- "@storybook/react": 6.5.0-alpha.42
+ "@storybook/addon-docs": 6.5.0-alpha.48
+ "@storybook/cli": 6.5.0-alpha.48
+ "@storybook/react": 6.5.0-alpha.48
cross-env: ^7.0.3
parcel: 2.0.1
react: 16.14.0
@@ -41392,7 +41750,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "storybook@workspace:lib/cli-storybook"
dependencies:
- "@storybook/cli": 6.5.0-alpha.42
+ "@storybook/cli": 6.5.0-alpha.48
bin:
sb: ./index.js
storybook: ./index.js
@@ -41409,16 +41767,6 @@ __metadata:
languageName: node
linkType: hard
-"stream-browserify@npm:^3.0.0":
- version: 3.0.0
- resolution: "stream-browserify@npm:3.0.0"
- dependencies:
- inherits: ~2.0.4
- readable-stream: ^3.5.0
- checksum: ec3b975a4e0aa4b3dc5e70ffae3fc8fd29ac725353a14e72f213dff477b00330140ad014b163a8cbb9922dfe90803f81a5ea2b269e1bbfd8bd71511b88f889ad
- languageName: node
- linkType: hard
-
"stream-combiner@npm:^0.2.2":
version: 0.2.2
resolution: "stream-combiner@npm:0.2.2"
@@ -41461,18 +41809,6 @@ __metadata:
languageName: node
linkType: hard
-"stream-http@npm:^3.1.0":
- version: 3.2.0
- resolution: "stream-http@npm:3.2.0"
- dependencies:
- builtin-status-codes: ^3.0.0
- inherits: ^2.0.4
- readable-stream: ^3.6.0
- xtend: ^4.0.2
- checksum: f128fb8076d60cd548f229554b6a1a70c08a04b7b2afd4dbe7811d20f27f7d4112562eb8bce86d72a8691df3b50573228afcf1271e55e81f981536c67498bc41
- languageName: node
- linkType: hard
-
"stream-shift@npm:^1.0.0":
version: 1.0.1
resolution: "stream-shift@npm:1.0.1"
@@ -41604,7 +41940,7 @@ __metadata:
languageName: node
linkType: hard
-"string.prototype.matchall@npm:^4.0.0 || ^3.0.1, string.prototype.matchall@npm:^4.0.2, string.prototype.matchall@npm:^4.0.5, string.prototype.matchall@npm:^4.0.6":
+"string.prototype.matchall@npm:^4.0.0 || ^3.0.1, string.prototype.matchall@npm:^4.0.2, string.prototype.matchall@npm:^4.0.6":
version: 4.0.6
resolution: "string.prototype.matchall@npm:4.0.6"
dependencies:
@@ -41680,7 +42016,7 @@ __metadata:
languageName: node
linkType: hard
-"string_decoder@npm:^1.0.0, string_decoder@npm:^1.1.1, string_decoder@npm:^1.3.0":
+"string_decoder@npm:^1.0.0, string_decoder@npm:^1.1.1":
version: 1.3.0
resolution: "string_decoder@npm:1.3.0"
dependencies:
@@ -41709,6 +42045,16 @@ __metadata:
languageName: node
linkType: hard
+"stringify-entities@npm:^4.0.0":
+ version: 4.0.2
+ resolution: "stringify-entities@npm:4.0.2"
+ dependencies:
+ character-entities-html4: ^2.0.0
+ character-entities-legacy: ^3.0.0
+ checksum: d3ae2b0f80224102f5602298766018578962c12764e465d8d37f5d992446c93069c5eee943b626c4b2c367cb9da86aec1f3374f5059f58a9361f18711492de01
+ languageName: node
+ linkType: hard
+
"stringify-object@npm:^3.3.0":
version: 3.3.0
resolution: "stringify-object@npm:3.3.0"
@@ -41853,7 +42199,7 @@ __metadata:
languageName: node
linkType: hard
-"strip-json-comments@npm:3.1.1, strip-json-comments@npm:^3.1.0, strip-json-comments@npm:^3.1.1":
+"strip-json-comments@npm:^3.1.0, strip-json-comments@npm:^3.1.1":
version: 3.1.1
resolution: "strip-json-comments@npm:3.1.1"
checksum: 9681a6257b925a7fa0f285851c0e613cc934a50661fa7bb41ca9cbbff89686bb4a0ee366e6ecedc4daafd01e83eee0720111ab294366fe7c185e935475ebcecd
@@ -41947,28 +42293,6 @@ __metadata:
languageName: node
linkType: hard
-"styled-components@npm:^5.2.1":
- version: 5.3.3
- resolution: "styled-components@npm:5.3.3"
- dependencies:
- "@babel/helper-module-imports": ^7.0.0
- "@babel/traverse": ^7.4.5
- "@emotion/is-prop-valid": ^0.8.8
- "@emotion/stylis": ^0.8.4
- "@emotion/unitless": ^0.7.4
- babel-plugin-styled-components: ">= 1.12.0"
- css-to-react-native: ^3.0.0
- hoist-non-react-statics: ^3.0.0
- shallowequal: ^1.1.0
- supports-color: ^5.5.0
- peerDependencies:
- react: ">= 16.8.0"
- react-dom: ">= 16.8.0"
- react-is: ">= 16.8.0"
- checksum: 0fda77406c668a16c753f0778850a90d5fbeae419791dac533e3f67e77f8c767d89022626aafa169fffe8b0873e15bf71126b2bab945dc98af6079d8b90e7488
- languageName: node
- linkType: hard
-
"styled_string@npm:0.0.1":
version: 0.0.1
resolution: "styled_string@npm:0.0.1"
@@ -41987,15 +42311,15 @@ __metadata:
languageName: node
linkType: hard
-"stylehacks@npm:^5.0.2":
- version: 5.0.2
- resolution: "stylehacks@npm:5.0.2"
+"stylehacks@npm:^5.0.3":
+ version: 5.0.3
+ resolution: "stylehacks@npm:5.0.3"
dependencies:
browserslist: ^4.16.6
postcss-selector-parser: ^6.0.4
peerDependencies:
postcss: ^8.2.15
- checksum: 6a3ec84ae273a8ee54875eb97be74e678061350e0c87def1a6d1855ad0e07252be02c9a93c7af1a783851878136501f4cda1b52272deda32947026ba411014f3
+ checksum: c37932ab85853379e0f8654aeefa9e0e0b8624ae91e6371db38d7f6cfc58da2b4c65a0cb3dbc0a031efc7373e0e05ba49a1d1f8e5d05cf7c1babc85deb43643e
languageName: node
linkType: hard
@@ -42139,20 +42463,20 @@ __metadata:
version: 0.0.0-use.local
resolution: "svelte-example@workspace:examples/svelte-kitchen-sink"
dependencies:
- "@storybook/addon-a11y": 6.5.0-alpha.39
- "@storybook/addon-actions": 6.5.0-alpha.39
- "@storybook/addon-backgrounds": 6.5.0-alpha.39
- "@storybook/addon-controls": 6.5.0-alpha.39
- "@storybook/addon-docs": 6.5.0-alpha.39
- "@storybook/addon-interactions": 6.5.0-alpha.39
- "@storybook/addon-links": 6.5.0-alpha.39
- "@storybook/addon-storyshots": 6.5.0-alpha.39
- "@storybook/addon-storysource": 6.5.0-alpha.39
- "@storybook/addon-viewport": 6.5.0-alpha.39
- "@storybook/addons": 6.5.0-alpha.39
+ "@storybook/addon-a11y": 6.5.0-alpha.48
+ "@storybook/addon-actions": 6.5.0-alpha.48
+ "@storybook/addon-backgrounds": 6.5.0-alpha.48
+ "@storybook/addon-controls": 6.5.0-alpha.48
+ "@storybook/addon-docs": 6.5.0-alpha.48
+ "@storybook/addon-interactions": 6.5.0-alpha.48
+ "@storybook/addon-links": 6.5.0-alpha.48
+ "@storybook/addon-storyshots": 6.5.0-alpha.48
+ "@storybook/addon-storysource": 6.5.0-alpha.48
+ "@storybook/addon-viewport": 6.5.0-alpha.48
+ "@storybook/addons": 6.5.0-alpha.48
"@storybook/jest": ^0.0.9
- "@storybook/source-loader": 6.5.0-alpha.39
- "@storybook/svelte": 6.5.0-alpha.39
+ "@storybook/source-loader": 6.5.0-alpha.48
+ "@storybook/svelte": 6.5.0-alpha.48
"@storybook/testing-library": ^0.0.9
global: ^4.4.0
svelte-jester: 1.3.0
@@ -42241,9 +42565,9 @@ __metadata:
linkType: hard
"svelte@npm:^3.31.2":
- version: 3.46.3
- resolution: "svelte@npm:3.46.3"
- checksum: d4865ea87969d08d0fc6ab33dc573cfac91339a2bad5281ea3a64801220d9e63b1b380d82a79da8a930c73ef73647173c59efffecdbef64fae2d41474dd3ea2b
+ version: 3.46.4
+ resolution: "svelte@npm:3.46.4"
+ checksum: 4655d1e47ecc5cf504d0b37b0de25074d9dbd51c2703f184d1fbbaff9f9d67aa52f11df52f299ccb7d83ab40a7ed5a6620c13cf8a8609dcf9dd722f463f9700a
languageName: node
linkType: hard
@@ -42258,17 +42582,6 @@ __metadata:
languageName: node
linkType: hard
-"sveltedoc-parser@npm:^4.1.0":
- version: 4.3.1
- resolution: "sveltedoc-parser@npm:4.3.1"
- dependencies:
- eslint: 8.4.1
- espree: 9.2.0
- htmlparser2-svelte: 4.1.0
- checksum: 38e0258956fcf1bbe2ecc61286b73e96eedbec62e236c6b3adfc7055a4b2b50034b99f887a9e5eaccac233a87ccbc9434abe156f6a3ef25a640dcb54a4b99f46
- languageName: node
- linkType: hard
-
"svg-parser@npm:^2.0.0, svg-parser@npm:^2.0.2":
version: 2.0.4
resolution: "svg-parser@npm:2.0.4"
@@ -42381,19 +42694,6 @@ __metadata:
languageName: node
linkType: hard
-"sync-disk-cache@npm:^2.0.0":
- version: 2.1.0
- resolution: "sync-disk-cache@npm:2.1.0"
- dependencies:
- debug: ^4.1.1
- heimdalljs: ^0.2.6
- mkdirp: ^0.5.0
- rimraf: ^3.0.0
- username-sync: ^1.0.2
- checksum: d1bfc95940188d500f17aaec249e45fbf55c30839d9a68be8a28606183b149beb87c76969e74372ba601ea50b42716489673ea7031334f42f98ec2f06921b59c
- languageName: node
- linkType: hard
-
"synchronous-promise@npm:^2.0.15":
version: 2.0.15
resolution: "synchronous-promise@npm:2.0.15"
@@ -42571,14 +42871,7 @@ __metadata:
languageName: node
linkType: hard
-"term-size@npm:^2.2.1":
- version: 2.2.1
- resolution: "term-size@npm:2.2.1"
- checksum: 89f6bba1d05d425156c0910982f9344d9e4aebf12d64bfa1f460d93c24baa7bc4c4a21d355fbd7153c316433df0538f64d0ae6e336cc4a69fdda4f85d62bc79d
- languageName: node
- linkType: hard
-
-"terminal-link@npm:^2.0.0, terminal-link@npm:^2.1.1":
+"terminal-link@npm:^2.0.0":
version: 2.1.1
resolution: "terminal-link@npm:2.1.1"
dependencies:
@@ -42646,10 +42939,10 @@ __metadata:
linkType: hard
"terser-webpack-plugin@npm:^5.0.3, terser-webpack-plugin@npm:^5.1.3":
- version: 5.3.0
- resolution: "terser-webpack-plugin@npm:5.3.0"
+ version: 5.3.1
+ resolution: "terser-webpack-plugin@npm:5.3.1"
dependencies:
- jest-worker: ^27.4.1
+ jest-worker: ^27.4.5
schema-utils: ^3.1.1
serialize-javascript: ^6.0.0
source-map: ^0.6.1
@@ -42663,7 +42956,7 @@ __metadata:
optional: true
uglify-js:
optional: true
- checksum: 22d36bae8049779a493aaad68ade02c38f18462436ce33cfe736bf58b0e662f536e53f71d33d20f8fafd32d8597d7ce2bf0322ca284fefb1f99f5076e1ab01df
+ checksum: e23d849d40b1f062c839ba56b2c8af4837d8edf57fc8cbe2ebce7983476d20c687bdb201d38f1f001c3e40c800f7d7826397434ea36aab4f0fad671218902b6c
languageName: node
linkType: hard
@@ -42694,20 +42987,16 @@ __metadata:
linkType: hard
"terser@npm:^5.0.0, terser@npm:^5.10.0, terser@npm:^5.2.0, terser@npm:^5.3.4, terser@npm:^5.3.8, terser@npm:^5.7.2":
- version: 5.10.0
- resolution: "terser@npm:5.10.0"
+ version: 5.11.0
+ resolution: "terser@npm:5.11.0"
dependencies:
+ acorn: ^8.5.0
commander: ^2.20.0
source-map: ~0.7.2
source-map-support: ~0.5.20
- peerDependencies:
- acorn: ^8.5.0
- peerDependenciesMeta:
- acorn:
- optional: true
bin:
terser: bin/terser
- checksum: c5ce5356b6428dd2ccffd067ff1ecf7cc8ff08bd3b73840540915b6d46575d51e208e68224a76169217690a42203367498ca50a82a0fea8b8a6ac0c9025df632
+ checksum: 5358a9ac359abb5c0abdbd5ed1af0d8fa5a68589d20d69d48012fbbd5d6c5c52541496d5a04e94d1a3f89cf799bb3969d9f22c0cd05e83494a2e6dd37e6dbb3f
languageName: node
linkType: hard
@@ -42787,7 +43076,7 @@ __metadata:
languageName: node
linkType: hard
-"textextensions@npm:1 || 2, textextensions@npm:^2.5.0":
+"textextensions@npm:1 || 2":
version: 2.6.0
resolution: "textextensions@npm:2.6.0"
checksum: 02cb5eb25a0a4597d402a6971741a2d49335e699051db44e4f252ecb4249bb193f08068ecd6d880565f7b34c84832fe60f4b82119b9a2d5e3e58e85509c3dc96
@@ -42913,7 +43202,7 @@ __metadata:
languageName: node
linkType: hard
-"timers-browserify@npm:^2.0.11, timers-browserify@npm:^2.0.4":
+"timers-browserify@npm:^2.0.4":
version: 2.0.12
resolution: "timers-browserify@npm:2.0.12"
dependencies:
@@ -42972,11 +43261,11 @@ __metadata:
linkType: hard
"tlds@npm:^1.203.0":
- version: 1.228.0
- resolution: "tlds@npm:1.228.0"
+ version: 1.230.0
+ resolution: "tlds@npm:1.230.0"
bin:
tlds: bin.js
- checksum: 44a751f1599b2db683f2ae932b9f4ae2a31fab06bb9490fd86b9ae99584c39c6fccc20640fcb9d81adaa8fae5ccc9e4ec4e14253d256b6cfa6423f72cc24f19d
+ checksum: 78e052b690a31a93ee503632d77afb615a49470d64651817aeec8d8481e19feee8eb6934e81c6c21d6c041cdb1698065d7d10ef0bb93a976d2ca45b530b37313
languageName: node
linkType: hard
@@ -43339,6 +43628,13 @@ __metadata:
languageName: node
linkType: hard
+"trough@npm:^2.0.0":
+ version: 2.1.0
+ resolution: "trough@npm:2.1.0"
+ checksum: 9a973f0745fa69b9d34f29fe8123599abb6915350a5f4e9e9c9026156219f8774af062d916f4ec327b796149188719170ad87f0d120f1e94271a1843366efcc3
+ languageName: node
+ linkType: hard
+
"try-catch@npm:^3.0.0":
version: 3.0.0
resolution: "try-catch@npm:3.0.0"
@@ -43421,7 +43717,7 @@ __metadata:
languageName: node
linkType: hard
-"ts-morph@npm:^13.0.2":
+"ts-morph@npm:^13.0.3":
version: 13.0.3
resolution: "ts-morph@npm:13.0.3"
dependencies:
@@ -43432,8 +43728,8 @@ __metadata:
linkType: hard
"ts-node@npm:^10.4.0":
- version: 10.4.0
- resolution: "ts-node@npm:10.4.0"
+ version: 10.5.0
+ resolution: "ts-node@npm:10.5.0"
dependencies:
"@cspotcode/source-map-support": 0.7.0
"@tsconfig/node10": ^1.0.7
@@ -43446,6 +43742,7 @@ __metadata:
create-require: ^1.1.0
diff: ^4.0.1
make-error: ^1.1.1
+ v8-compile-cache-lib: ^3.0.0
yn: 3.1.1
peerDependencies:
"@swc/core": ">=1.2.50"
@@ -43463,7 +43760,7 @@ __metadata:
ts-node-script: dist/bin-script.js
ts-node-transpile-only: dist/bin-transpile.js
ts-script: dist/bin-script-deprecated.js
- checksum: 380f84e561f379545a6648c7da0c8510a53e78a554b437e40bd180d5d1f305f32d8b9b327e9eb1177f60d61893940430bb3fa74d62e0a6f6e1a839366e2cda5c
+ checksum: 26edbf027fa6f6745f2db14391eb63cb63581442edca07124d47e6895fe4fa882a6c9374dc5d590a9a24a3132fb0a7a74e2067a364cd7d670ff1bbc3efbf2b64
languageName: node
linkType: hard
@@ -43632,13 +43929,6 @@ __metadata:
languageName: node
linkType: hard
-"tty-browserify@npm:^0.0.1":
- version: 0.0.1
- resolution: "tty-browserify@npm:0.0.1"
- checksum: 5e34883388eb5f556234dae75b08e069b9e62de12bd6d87687f7817f5569430a6dfef550b51dbc961715ae0cd0eb5a059e6e3fc34dc127ea164aa0f9b5bb033d
- languageName: node
- linkType: hard
-
"tunnel-agent@npm:^0.6.0":
version: 0.6.0
resolution: "tunnel-agent@npm:0.6.0"
@@ -43754,9 +44044,9 @@ __metadata:
linkType: hard
"type@npm:^2.5.0":
- version: 2.5.0
- resolution: "type@npm:2.5.0"
- checksum: 70beef4b3a704897cdb48ebbb9cdf80d761cd1dbef9cb600439e8489cf7a33af2c17f2a17a67ad00c30a4842a4b1b7a9173b7afe0a1844814b950078167a1bee
+ version: 2.6.0
+ resolution: "type@npm:2.6.0"
+ checksum: d08063a1c3415140d0b6fd17ede55f373cdd6c5503776693ad5ead574a06404823374d62d6233e43bc30ec22f596b790cbb8661429bed75a75dab986b506ac60
languageName: node
linkType: hard
@@ -43794,12 +44084,12 @@ __metadata:
linkType: hard
"typescript@npm:>=3.0.1, typescript@npm:^4.0.3, typescript@npm:^4.1.0-dev.20200804, typescript@npm:^4.1.3":
- version: 4.5.5
- resolution: "typescript@npm:4.5.5"
+ version: 4.6.2
+ resolution: "typescript@npm:4.6.2"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
- checksum: ac15b92f3dcd9a4233cab288a913ccbd96729fc488181396fa93c0297ccef3cd3c2f9a7a63340efb0d07bff3d5026028fc81b9c1ef08076029e057081eb5884b
+ checksum: 29fb8edbdc3bfc0ee043b1da9fb1d13e53f08997b920f3b2afbc5b1800c1510a2e9dbaec75135a1123cca8c405b5483629e9dd04f3933c6a0357b79e6d9fe460
languageName: node
linkType: hard
@@ -43824,12 +44114,12 @@ __metadata:
linkType: hard
"typescript@patch:typescript@>=3.0.1#~builtin, typescript@patch:typescript@^4.0.3#~builtin, typescript@patch:typescript@^4.1.0-dev.20200804#~builtin, typescript@patch:typescript@^4.1.3#~builtin":
- version: 4.5.5
- resolution: "typescript@patch:typescript@npm%3A4.5.5#~builtin::version=4.5.5&hash=493e53"
+ version: 4.6.2
+ resolution: "typescript@patch:typescript@npm%3A4.6.2#~builtin::version=4.6.2&hash=493e53"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
- checksum: 6a8888c9fe41d0a19324125c636b1adb9ec5c984342fc7a26f2a389a432a94639c24b72e6e019ffbbb03cb614c1f008b4c31e48fb560b772e45e6581265c500b
+ checksum: 3f7254d206b9454f4d4d0aae746f4768bc30251ebe46cff1b1b33bc97bd012e7e075b9f0a0d922459f08a8e2a8b325b50c3daa869a91a575accdd83ea829accd
languageName: node
linkType: hard
@@ -43870,11 +44160,11 @@ __metadata:
linkType: hard
"uglify-js@npm:^3.1.4":
- version: 3.15.0
- resolution: "uglify-js@npm:3.15.0"
+ version: 3.15.2
+ resolution: "uglify-js@npm:3.15.2"
bin:
uglifyjs: bin/uglifyjs
- checksum: 7d7ca9d906948e1951b40b9ce545389655d626fc974c73b57744f086eaea85c63dfd8a0bdbe5aef334f7bafbe94c04321b023d8b711227b8f2eab6221b6743d4
+ checksum: 3eb388fb0899f707892df9d2b4673ea537b5d4e1b426d43f9d2783c79a3326b9c12a23af8acfb15bbd377e325b076e08a57bd336167fb6ddebe3091e86adc7b7
languageName: node
linkType: hard
@@ -44070,6 +44360,21 @@ __metadata:
languageName: node
linkType: hard
+"unified@npm:^10.0.0":
+ version: 10.1.1
+ resolution: "unified@npm:10.1.1"
+ dependencies:
+ "@types/unist": ^2.0.0
+ bail: ^2.0.0
+ extend: ^3.0.0
+ is-buffer: ^2.0.0
+ is-plain-obj: ^4.0.0
+ trough: ^2.0.0
+ vfile: ^5.0.0
+ checksum: efeda887e1e6388e57d653df288281b29eaf7758cf14af70cc700c821c67638ad55c562e28ec48bf78e78b9556d1cc5e83422b91050fb4f862f7949fd6ff7f99
+ languageName: node
+ linkType: hard
+
"unified@npm:^9.0.0, unified@npm:^9.1.0":
version: 9.2.2
resolution: "unified@npm:9.2.2"
@@ -44172,6 +44477,15 @@ __metadata:
languageName: node
linkType: hard
+"unist-builder@npm:^3.0.0":
+ version: 3.0.0
+ resolution: "unist-builder@npm:3.0.0"
+ dependencies:
+ "@types/unist": ^2.0.0
+ checksum: 9569c23fa3005bf84d84318285c4acac4d4ff50d763e8f724080da076b99074c419f7436970986aeda7b82bb518aa866c4653e5571a7e08c082e5d0245e5dc96
+ languageName: node
+ linkType: hard
+
"unist-util-generated@npm:^1.0.0, unist-util-generated@npm:^1.1.0":
version: 1.1.6
resolution: "unist-util-generated@npm:1.1.6"
@@ -44179,6 +44493,13 @@ __metadata:
languageName: node
linkType: hard
+"unist-util-generated@npm:^2.0.0":
+ version: 2.0.0
+ resolution: "unist-util-generated@npm:2.0.0"
+ checksum: 00cafe8eb5e1258b994e38997d641a0e4733157217b232d5432cba94ad2a06a37a5e7ef3fd603e056eb401ef525ff02a1de82313fba02b1226a76749cfef9b16
+ languageName: node
+ linkType: hard
+
"unist-util-inspect@npm:^5.0.0":
version: 5.0.1
resolution: "unist-util-inspect@npm:5.0.1"
@@ -44195,6 +44516,22 @@ __metadata:
languageName: node
linkType: hard
+"unist-util-is@npm:^5.0.0":
+ version: 5.1.1
+ resolution: "unist-util-is@npm:5.1.1"
+ checksum: dba33e93d96e42a69d37379aa19d10423d4579a53a81578614741e0d81cc432dca15fe2b16da3bd53650c37007e55f3e2e6124f24ede7cdf036a36154b95e694
+ languageName: node
+ linkType: hard
+
+"unist-util-position-from-estree@npm:^1.0.0, unist-util-position-from-estree@npm:^1.1.0":
+ version: 1.1.1
+ resolution: "unist-util-position-from-estree@npm:1.1.1"
+ dependencies:
+ "@types/unist": ^2.0.0
+ checksum: 268984afd136bf4b2a4e6a053e5d64c67a0e84bde9f129e0a977179f3142fe05048481726085b995c0c91d76735f24b173e1fb3c4004b552a59b07c4a44c80c0
+ languageName: node
+ linkType: hard
+
"unist-util-position@npm:^3.0.0, unist-util-position@npm:^3.1.0":
version: 3.1.0
resolution: "unist-util-position@npm:3.1.0"
@@ -44202,6 +44539,13 @@ __metadata:
languageName: node
linkType: hard
+"unist-util-position@npm:^4.0.0":
+ version: 4.0.1
+ resolution: "unist-util-position@npm:4.0.1"
+ checksum: 270a74a86f576ca751dd5b1486d5d1a6cd2c5638751723fbebf59bbb322d30318d3ecd984ce1c4b1737369f31e96d8f22bf35615db2ba178149d1cb30c5b08ba
+ languageName: node
+ linkType: hard
+
"unist-util-remove-position@npm:^2.0.0":
version: 2.0.1
resolution: "unist-util-remove-position@npm:2.0.1"
@@ -44211,6 +44555,16 @@ __metadata:
languageName: node
linkType: hard
+"unist-util-remove-position@npm:^4.0.0":
+ version: 4.0.1
+ resolution: "unist-util-remove-position@npm:4.0.1"
+ dependencies:
+ "@types/unist": ^2.0.0
+ unist-util-visit: ^4.0.0
+ checksum: 4b51ff5175c6b5a7ac96ac72e2cb39bfc928cd7fef2c263604c2b21f8d032d2947dbb1ebb81de285711a474b261f9da4cc60b36130eb8844c74c98ca251cf035
+ languageName: node
+ linkType: hard
+
"unist-util-remove@npm:^2.0.0":
version: 2.1.0
resolution: "unist-util-remove@npm:2.1.0"
@@ -44229,6 +44583,15 @@ __metadata:
languageName: node
linkType: hard
+"unist-util-stringify-position@npm:^3.0.0":
+ version: 3.0.0
+ resolution: "unist-util-stringify-position@npm:3.0.0"
+ dependencies:
+ "@types/unist": ^2.0.0
+ checksum: ad41e4670576b4c2c41abbd10d792c30593702c62c4eaf0feda8b5f5d14f9f4480697feb6e4d9843922070320ebc9b7ba0151f957c7e0e812c3a41fdb70065d3
+ languageName: node
+ linkType: hard
+
"unist-util-visit-parents@npm:^3.0.0":
version: 3.1.1
resolution: "unist-util-visit-parents@npm:3.1.1"
@@ -44239,6 +44602,26 @@ __metadata:
languageName: node
linkType: hard
+"unist-util-visit-parents@npm:^4.0.0":
+ version: 4.1.1
+ resolution: "unist-util-visit-parents@npm:4.1.1"
+ dependencies:
+ "@types/unist": ^2.0.0
+ unist-util-is: ^5.0.0
+ checksum: f84b544a111af5a17f2b80c462da9f7fdcb46a69f85ab317d2d9ddca766c00e2ceea6c76c0960e58ef4607aad89661c99eccf290973b453e15dd1621c57079d4
+ languageName: node
+ linkType: hard
+
+"unist-util-visit-parents@npm:^5.0.0":
+ version: 5.1.0
+ resolution: "unist-util-visit-parents@npm:5.1.0"
+ dependencies:
+ "@types/unist": ^2.0.0
+ unist-util-is: ^5.0.0
+ checksum: c659295f1a77ea1fa2bd48fdba53d2248db75656b69d499413214592bd164b664eae2491a7df46b1a71420c2c8f8c94277b7d0c98760717a9b067d604c51e1db
+ languageName: node
+ linkType: hard
+
"unist-util-visit@npm:2.0.3, unist-util-visit@npm:^2.0.0":
version: 2.0.3
resolution: "unist-util-visit@npm:2.0.3"
@@ -44250,6 +44633,28 @@ __metadata:
languageName: node
linkType: hard
+"unist-util-visit@npm:^3.0.0":
+ version: 3.1.0
+ resolution: "unist-util-visit@npm:3.1.0"
+ dependencies:
+ "@types/unist": ^2.0.0
+ unist-util-is: ^5.0.0
+ unist-util-visit-parents: ^4.0.0
+ checksum: 9b92ea4e6debadbb77f2c7a0ab8c8b7c63781b2f2050563c971687df368f6f6fe932d864442347a685f0dc56b570a55e5d7ffeb87a452489100640cf280dc8da
+ languageName: node
+ linkType: hard
+
+"unist-util-visit@npm:^4.0.0":
+ version: 4.1.0
+ resolution: "unist-util-visit@npm:4.1.0"
+ dependencies:
+ "@types/unist": ^2.0.0
+ unist-util-is: ^5.0.0
+ unist-util-visit-parents: ^5.0.0
+ checksum: d41895b776bf480bc5554fb0efdc0e490ddf8d7e8ae561669e84435cd106db79ab44f3f1cddda8a2094514327d55effbbc86b1a2062ff09865e556dd84c91455
+ languageName: node
+ linkType: hard
+
"universal-analytics@npm:0.4.23":
version: 0.4.23
resolution: "universal-analytics@npm:0.4.23"
@@ -44469,13 +44874,13 @@ __metadata:
languageName: node
linkType: hard
-"url-parse@npm:^1.4.3, url-parse@npm:^1.5.3":
- version: 1.5.4
- resolution: "url-parse@npm:1.5.4"
+"url-parse@npm:^1.4.3, url-parse@npm:^1.5.10":
+ version: 1.5.10
+ resolution: "url-parse@npm:1.5.10"
dependencies:
querystringify: ^2.1.1
requires-port: ^1.0.0
- checksum: 7ebe36705b5887bc2e290e02875bc837db208d0c4280603cfd65f621bf4c7a37ba8b00e794da9e5aa3d6164dcc820f4395e4bb8c4fbe61442aaf2ed080a1824e
+ checksum: bd5aa9389f896974beb851c112f63b466505a04b4807cea2e5a3b7092f6fbb75316f0491ea84e44f66fed55f1b440df5195d7e3a8203f64fcefa19d182f5be87
languageName: node
linkType: hard
@@ -44633,20 +45038,6 @@ __metadata:
languageName: node
linkType: hard
-"util@npm:^0.12.0, util@npm:^0.12.3":
- version: 0.12.4
- resolution: "util@npm:0.12.4"
- dependencies:
- inherits: ^2.0.3
- is-arguments: ^1.0.4
- is-generator-function: ^1.0.7
- is-typed-array: ^1.1.3
- safe-buffer: ^5.1.2
- which-typed-array: ^1.1.2
- checksum: 3e04e6feb68bccdc9fdfa013050719b3b41ce698ff5e244ee683d675b7fb9b91c8a1594b164696ee2201cca9579c286b968d0aabd9c9069ae1667413940a4e49
- languageName: node
- linkType: hard
-
"utila@npm:~0.4":
version: 0.4.0
resolution: "utila@npm:0.4.0"
@@ -44693,6 +45084,27 @@ __metadata:
languageName: node
linkType: hard
+"uvu@npm:^0.5.0":
+ version: 0.5.3
+ resolution: "uvu@npm:0.5.3"
+ dependencies:
+ dequal: ^2.0.0
+ diff: ^5.0.0
+ kleur: ^4.0.3
+ sade: ^1.7.3
+ bin:
+ uvu: bin.js
+ checksum: 2a7671c418a98672b0c3c7382608ccd1171ff2d7b2a0471636625f8998a092904c2f2e08e2b1d933a06c0b1fdae566b63041dcdc4306efdac236e44b4f552cc6
+ languageName: node
+ linkType: hard
+
+"v8-compile-cache-lib@npm:^3.0.0":
+ version: 3.0.0
+ resolution: "v8-compile-cache-lib@npm:3.0.0"
+ checksum: 1763ce218ea74837509b9efc9a59c21b0f4816bdef6b41a165ba49e8d798954819fe266d6f54e5a46f92d3c42db2a83d5faa42aad8df60a21f76364cfb6cb258
+ languageName: node
+ linkType: hard
+
"v8-compile-cache@npm:2.3.0, v8-compile-cache@npm:^2.0.0, v8-compile-cache@npm:^2.0.3":
version: 2.3.0
resolution: "v8-compile-cache@npm:2.3.0"
@@ -44858,6 +45270,16 @@ __metadata:
languageName: node
linkType: hard
+"vfile-message@npm:^3.0.0":
+ version: 3.1.0
+ resolution: "vfile-message@npm:3.1.0"
+ dependencies:
+ "@types/unist": ^2.0.0
+ unist-util-stringify-position: ^3.0.0
+ checksum: be0951218a927b8659b41dcb7dba2f86183cec56302433fda3d2151a8e02b18657eb9394355c6b0ee282a458145ed66c1b015c5631ad6e619889f0e457806b13
+ languageName: node
+ linkType: hard
+
"vfile-reporter@npm:^6.0.0":
version: 6.0.2
resolution: "vfile-reporter@npm:6.0.2"
@@ -44898,6 +45320,18 @@ __metadata:
languageName: node
linkType: hard
+"vfile@npm:^5.0.0":
+ version: 5.3.0
+ resolution: "vfile@npm:5.3.0"
+ dependencies:
+ "@types/unist": ^2.0.0
+ is-buffer: ^2.0.0
+ unist-util-stringify-position: ^3.0.0
+ vfile-message: ^3.0.0
+ checksum: 536013dd6c2425cccaee009d7a51a078111d74ba390368af57d8e5622a5218caf870a339971527e82ff3ec4cd80661ae5b35c80829c8e844a50d424c473e35dd
+ languageName: node
+ linkType: hard
+
"vlq@npm:^0.2.1":
version: 0.2.3
resolution: "vlq@npm:0.2.3"
@@ -44905,7 +45339,7 @@ __metadata:
languageName: node
linkType: hard
-"vm-browserify@npm:^1.0.1, vm-browserify@npm:^1.1.2":
+"vm-browserify@npm:^1.0.1":
version: 1.1.2
resolution: "vm-browserify@npm:1.1.2"
checksum: 0cc1af6e0d880deb58bc974921320c187f9e0a94f25570fca6b1bd64e798ce454ab87dfd797551b1b0cc1849307421aae0193cedf5f06bdb5680476780ee344b
@@ -44933,9 +45367,9 @@ __metadata:
linkType: hard
"vscode-languageserver-textdocument@npm:^1.0.1":
- version: 1.0.3
- resolution: "vscode-languageserver-textdocument@npm:1.0.3"
- checksum: afc9afb3375f688724ea2401b1a56c11559e3fea163b3e9422a76066efac72c4a30dca1d04d4a82f0f57721e33add7550a48efc87653e4252895649771f4ff32
+ version: 1.0.4
+ resolution: "vscode-languageserver-textdocument@npm:1.0.4"
+ checksum: eb78b7e28e4e5d65c93d64e5b8ff79e7b66a291c163f2c6519571c31002727027eb637682c5004c31a3a6a6757e669defd90fa01634854caaf58256d2f309f5f
languageName: node
linkType: hard
@@ -44965,14 +45399,14 @@ __metadata:
resolution: "vue-3-cli-example@workspace:examples/vue-3-cli"
dependencies:
"@babel/core": ^7.12.10
- "@storybook/addon-actions": 6.5.0-alpha.39
- "@storybook/addon-essentials": 6.5.0-alpha.39
- "@storybook/addon-interactions": 6.5.0-alpha.39
- "@storybook/addon-links": 6.5.0-alpha.39
- "@storybook/addon-storyshots": 6.5.0-alpha.39
+ "@storybook/addon-actions": 6.5.0-alpha.48
+ "@storybook/addon-essentials": 6.5.0-alpha.48
+ "@storybook/addon-interactions": 6.5.0-alpha.48
+ "@storybook/addon-links": 6.5.0-alpha.48
+ "@storybook/addon-storyshots": 6.5.0-alpha.48
"@storybook/jest": ^0.0.9
"@storybook/testing-library": ^0.0.9
- "@storybook/vue3": 6.5.0-alpha.39
+ "@storybook/vue3": 6.5.0-alpha.48
"@vue/cli-plugin-babel": ~4.5.0
"@vue/cli-plugin-typescript": ~4.5.0
"@vue/cli-service": ~4.5.0
@@ -44999,11 +45433,11 @@ __metadata:
version: 0.0.0-use.local
resolution: "vue-cli-example@workspace:examples/vue-cli"
dependencies:
- "@storybook/addon-controls": 6.5.0-alpha.42
- "@storybook/addon-essentials": 6.5.0-alpha.42
+ "@storybook/addon-controls": 6.5.0-alpha.48
+ "@storybook/addon-essentials": 6.5.0-alpha.48
"@storybook/preset-scss": ^1.0.3
- "@storybook/source-loader": 6.5.0-alpha.42
- "@storybook/vue": 6.5.0-alpha.42
+ "@storybook/source-loader": 6.5.0-alpha.48
+ "@storybook/vue": 6.5.0-alpha.48
"@vue/cli-plugin-babel": ~4.3.1
"@vue/cli-plugin-typescript": ~4.3.1
"@vue/cli-service": ~4.3.1
@@ -45017,8 +45451,8 @@ __metadata:
linkType: soft
"vue-docgen-api@npm:^4.44.15":
- version: 4.44.15
- resolution: "vue-docgen-api@npm:4.44.15"
+ version: 4.44.17
+ resolution: "vue-docgen-api@npm:4.44.17"
dependencies:
"@babel/parser": ^7.13.12
"@babel/types": ^7.13.12
@@ -45030,8 +45464,8 @@ __metadata:
pug: ^3.0.2
recast: 0.20.5
ts-map: ^1.0.3
- vue-inbrowser-compiler-utils: ^4.44.15
- checksum: 621d5b32261757e8621098b485a1976a03c45e583e360caa87b11859d589bb80d78d84c6a8cbea3f7a1e0473a8bd08cdcd66c21eb448b6ac4de93b8f251b905a
+ vue-inbrowser-compiler-utils: ^4.44.17
+ checksum: 3c97c7e09eec8f98f9f7481d88a661c980a7c4e364f99602ed37c0d5e011ed708fca1f3703948777ef324a01e1caab3febcd3feb446099f8649e85b2c2cecbd2
languageName: node
linkType: hard
@@ -45055,21 +45489,21 @@ __metadata:
resolution: "vue-example@workspace:examples/vue-kitchen-sink"
dependencies:
"@babel/core": ^7.12.10
- "@storybook/addon-a11y": 6.5.0-alpha.39
- "@storybook/addon-actions": 6.5.0-alpha.39
- "@storybook/addon-backgrounds": 6.5.0-alpha.39
- "@storybook/addon-controls": 6.5.0-alpha.39
- "@storybook/addon-docs": 6.5.0-alpha.39
- "@storybook/addon-interactions": 6.5.0-alpha.39
- "@storybook/addon-links": 6.5.0-alpha.39
- "@storybook/addon-storyshots": 6.5.0-alpha.39
- "@storybook/addon-storysource": 6.5.0-alpha.39
- "@storybook/addon-viewport": 6.5.0-alpha.39
- "@storybook/addons": 6.5.0-alpha.39
+ "@storybook/addon-a11y": 6.5.0-alpha.48
+ "@storybook/addon-actions": 6.5.0-alpha.48
+ "@storybook/addon-backgrounds": 6.5.0-alpha.48
+ "@storybook/addon-controls": 6.5.0-alpha.48
+ "@storybook/addon-docs": 6.5.0-alpha.48
+ "@storybook/addon-interactions": 6.5.0-alpha.48
+ "@storybook/addon-links": 6.5.0-alpha.48
+ "@storybook/addon-storyshots": 6.5.0-alpha.48
+ "@storybook/addon-storysource": 6.5.0-alpha.48
+ "@storybook/addon-viewport": 6.5.0-alpha.48
+ "@storybook/addons": 6.5.0-alpha.48
"@storybook/jest": ^0.0.9
- "@storybook/source-loader": 6.5.0-alpha.39
+ "@storybook/source-loader": 6.5.0-alpha.48
"@storybook/testing-library": ^0.0.9
- "@storybook/vue": 6.5.0-alpha.39
+ "@storybook/vue": 6.5.0-alpha.48
"@vue/babel-preset-jsx": ^1.2.4
babel-loader: ^8.0.0
cross-env: ^7.0.3
@@ -45092,12 +45526,14 @@ __metadata:
languageName: node
linkType: hard
-"vue-inbrowser-compiler-utils@npm:^4.44.15":
- version: 4.44.15
- resolution: "vue-inbrowser-compiler-utils@npm:4.44.15"
+"vue-inbrowser-compiler-utils@npm:^4.44.17":
+ version: 4.44.17
+ resolution: "vue-inbrowser-compiler-utils@npm:4.44.17"
dependencies:
camelcase: ^5.3.1
- checksum: a2422d373248fee37768911550a6e438935a46901336f80866d3153359631c52da78983231315ea31ff6946832bc8609ae9a38cabd5f1f6588e6c13451631fe9
+ peerDependencies:
+ vue: ">=2"
+ checksum: cb1f7f095ac661ea790612eaf3666f38aaaa41a84118af248b6d337530970156e773c218a5de68bc71a11490ef225d88984ec151eddf6b99423a9dfcdcaa869d
languageName: node
linkType: hard
@@ -45218,7 +45654,7 @@ __metadata:
languageName: node
linkType: hard
-"vue@npm:^2.6.10, vue@npm:^2.6.12":
+"vue@npm:^2.6.12":
version: 2.6.14
resolution: "vue@npm:2.6.14"
checksum: efbe26ccc7c1bd025b88e464ebc81217b92350a77b98049122a46ac2242e249719f930d3914e2efdeaaa521a51e6e6b1cb9ffbf95b4835ed94dc92efb481040f
@@ -45226,15 +45662,15 @@ __metadata:
linkType: hard
"vue@npm:^3.0.0":
- version: 3.2.29
- resolution: "vue@npm:3.2.29"
+ version: 3.2.31
+ resolution: "vue@npm:3.2.31"
dependencies:
- "@vue/compiler-dom": 3.2.29
- "@vue/compiler-sfc": 3.2.29
- "@vue/runtime-dom": 3.2.29
- "@vue/server-renderer": 3.2.29
- "@vue/shared": 3.2.29
- checksum: 7fae61d2acd063e36084f4f405ab0c56bcb8539cdf18103f8d70d9251815b9d70968553a1880b5b4a86844114fa85238518883342966d9165e306286b4705c06
+ "@vue/compiler-dom": 3.2.31
+ "@vue/compiler-sfc": 3.2.31
+ "@vue/runtime-dom": 3.2.31
+ "@vue/server-renderer": 3.2.31
+ "@vue/shared": 3.2.31
+ checksum: 1f18d961b7ea2ffd218630df089186ae0ac2e173da5224b323bc581201db32fae5c66ea787d6f0d004913334f1130bda64f153dfee2bc56e5dd5ec8db50c74a5
languageName: node
linkType: hard
@@ -45418,10 +45854,10 @@ __metadata:
languageName: node
linkType: hard
-"weak-lru-cache@npm:^1.2.1":
- version: 1.2.1
- resolution: "weak-lru-cache@npm:1.2.1"
- checksum: 6263b902d0d9a39d401a79b1570cceb8df92c7a3dbb1cb5bf1ece3b7498650ba4708a19f5db25eb9d9df5e910283dffbaf55a430ef30f0629c8cffa28fdb108d
+"weak-lru-cache@npm:^1.2.2":
+ version: 1.2.2
+ resolution: "weak-lru-cache@npm:1.2.2"
+ checksum: 744847bd5b96ca86db1cb40d0aea7e92c02bbdb05f501181bf9c581e82fa2afbda32a327ffbe75749302b8492ab449f1c657ca02410d725f5d412d1e6c607d72
languageName: node
linkType: hard
@@ -45447,6 +45883,13 @@ __metadata:
languageName: node
linkType: hard
+"web-streams-polyfill@npm:^3.2.0":
+ version: 3.2.0
+ resolution: "web-streams-polyfill@npm:3.2.0"
+ checksum: 0bb9b4f37c4fac161cfcc64abb102bb05cd7153c3a137d1d078dff2883d026f355803a2bf00366d860e6ab20a74506e714db80263844be035ddf4bf3e275145d
+ languageName: node
+ linkType: hard
+
"webdriver-js-extender@npm:2.1.0":
version: 2.1.0
resolution: "webdriver-js-extender@npm:2.1.0"
@@ -46014,11 +46457,11 @@ __metadata:
linkType: hard
"webpack@npm:^5, webpack@npm:^5.1.0, webpack@npm:^5.9.0":
- version: 5.67.0
- resolution: "webpack@npm:5.67.0"
+ version: 5.69.1
+ resolution: "webpack@npm:5.69.1"
dependencies:
- "@types/eslint-scope": ^3.7.0
- "@types/estree": ^0.0.50
+ "@types/eslint-scope": ^3.7.3
+ "@types/estree": ^0.0.51
"@webassemblyjs/ast": 1.11.1
"@webassemblyjs/wasm-edit": 1.11.1
"@webassemblyjs/wasm-parser": 1.11.1
@@ -46046,7 +46489,7 @@ __metadata:
optional: true
bin:
webpack: bin/webpack.js
- checksum: 0a0d2024de50759e02960a942a4f0e1580a9ddc52c59ac7221b50eff96e51b946ae050cfb9b5f90dff84da4b0e088d6ae8ee2e87bd45eb1b0ecccedd5c4a2794
+ checksum: a6f88586b36777fe1aa7b472549ea47477bad53b9cb769c020b5c962df70cf50393ebdf52998e99c5c20a9717a7eb2f61ce64574fd2ded9564112c8dcae01fd4
languageName: node
linkType: hard
@@ -46164,23 +46607,9 @@ __metadata:
linkType: hard
"which-pm-runs@npm:^1.0.0":
- version: 1.0.0
- resolution: "which-pm-runs@npm:1.0.0"
- checksum: 7308fab13f8f502de845ab78955d8a26f93dd4a3c446845ae3de5f65c0f18535e991982bc3935a2a470d1dc7a246da359534b9afbce5cabfad5aa08ea6373382
- languageName: node
- linkType: hard
-
-"which-typed-array@npm:^1.1.2":
- version: 1.1.7
- resolution: "which-typed-array@npm:1.1.7"
- dependencies:
- available-typed-arrays: ^1.0.5
- call-bind: ^1.0.2
- es-abstract: ^1.18.5
- foreach: ^2.0.5
- has-tostringtag: ^1.0.0
- is-typed-array: ^1.1.7
- checksum: 3b22173c483037c672a2a82cf19dbbd9446bf34cf8d0a5b8f8eefdcda85f821a0f8352cdf1a8c6181b40b6cc55be58f53e90eb18523e96b6cef1bf0633454d7d
+ version: 1.1.0
+ resolution: "which-pm-runs@npm:1.1.0"
+ checksum: b8f2f230aa49babe21cb93f169f5da13937f940b8cc7a47d2078d9d200950c0dba5ac5659bc01bdbe401e6db3adec6a97b6115215a4ca8e87fd714aebd0cabc6
languageName: node
linkType: hard
@@ -46206,7 +46635,7 @@ __metadata:
languageName: node
linkType: hard
-"wide-align@npm:^1.1.0, wide-align@npm:^1.1.2":
+"wide-align@npm:^1.1.0, wide-align@npm:^1.1.2, wide-align@npm:^1.1.5":
version: 1.1.5
resolution: "wide-align@npm:1.1.5"
dependencies:
@@ -46845,8 +47274,8 @@ __metadata:
linkType: hard
"ws@npm:^7.0.0, ws@npm:^7.4.6":
- version: 7.5.6
- resolution: "ws@npm:7.5.6"
+ version: 7.5.7
+ resolution: "ws@npm:7.5.7"
peerDependencies:
bufferutil: ^4.0.1
utf-8-validate: ^5.0.2
@@ -46855,13 +47284,13 @@ __metadata:
optional: true
utf-8-validate:
optional: true
- checksum: ac36216d666c2404910a5efed88fc02ef75f939434e9533ca5a0541b98454e42d831d20b77e23d9e3b7761a167a10869a39df92ab73c336678293fe2b0a9b753
+ checksum: f856382d94dfa8d722337d79117fe4f16d48ef7d7f77a58e94af7d7f32e863fce8403c00992ddddbf1efd5a334c581c2a987aea66255f7ee368680e59f78ae15
languageName: node
linkType: hard
"ws@npm:^8.2.3":
- version: 8.4.2
- resolution: "ws@npm:8.4.2"
+ version: 8.5.0
+ resolution: "ws@npm:8.5.0"
peerDependencies:
bufferutil: ^4.0.1
utf-8-validate: ^5.0.2
@@ -46870,7 +47299,7 @@ __metadata:
optional: true
utf-8-validate:
optional: true
- checksum: 6ce80cc740f00103611918147ca486938b1f9080216b8c251e8f07378d23eecf187255ed857cdf673c0757e0f1999a91dd4bcbcc18e0073bb7b1f86033eafd8d
+ checksum: 0baeee03e97865accda8fad51e8e5fa17d19b8e264529efdf662bbba2acc1c7f1de8316287e6df5cb639231a96009e6d5234b57e6ff36ee2d04e49a0995fec2f
languageName: node
linkType: hard
@@ -47092,9 +47521,9 @@ __metadata:
linkType: hard
"yargs-parser@npm:^21.0.0":
- version: 21.0.0
- resolution: "yargs-parser@npm:21.0.0"
- checksum: e7605acabf7a57bd382e781a83702bd2e13069b2c55bbe04d3c40aa6e8104f53ad4e3c78eabb8932306795187ef655e64ac7576f188914ce46c7c9f480155c99
+ version: 21.0.1
+ resolution: "yargs-parser@npm:21.0.1"
+ checksum: 384ca19e113a053bb7858cf47f891e630c10ea6ad91f9ad7cae84ea1cdfb09b155a2d0fa97b51116ee6f01e038faaa6c46964953afecd453fa64a761bb87475f
languageName: node
linkType: hard
@@ -47262,6 +47691,13 @@ __metadata:
languageName: node
linkType: hard
+"zwitch@npm:^2.0.0":
+ version: 2.0.2
+ resolution: "zwitch@npm:2.0.2"
+ checksum: 9424cade91458ceb4288cc9cbc76d9d055686de3cd5aa13bf447aed2d1ebd98ebb517c9d871e9f9bd92a44e0d63a0491d560adb0bd7e4d0de42c99320d9e04a4
+ languageName: node
+ linkType: hard
+
"zx@npm:^3.0.0":
version: 3.1.0
resolution: "zx@npm:3.1.0"