NOTE:
Have a look at the
.storybook/webpack.config.js
diff --git a/examples/angular-cli/src/stories/addons/actions/__snapshots__/addon-actions.stories.storyshot b/examples/angular-cli/src/stories/addons/actions/__snapshots__/addon-actions.stories.storyshot
index 2a0c139d5c48..1e61ea2e3111 100644
--- a/examples/angular-cli/src/stories/addons/actions/__snapshots__/addon-actions.stories.storyshot
+++ b/examples/angular-cli/src/stories/addons/actions/__snapshots__/addon-actions.stories.storyshot
@@ -3,11 +3,11 @@
exports[`Storyshots Addons/Actions Component Output with ArgsTypes 1`] = `
Button 🥁
@@ -18,11 +18,11 @@ exports[`Storyshots Addons/Actions Component Output with ArgsTypes 1`] = `
exports[`Storyshots Addons/Actions Component Output with EventEmitter 1`] = `
Button 🥁
@@ -41,11 +41,11 @@ exports[`Storyshots Addons/Actions Story with template 1`] = `
exports[`Storyshots Addons/Actions Use action in method 1`] = `
Button 🥁
diff --git a/examples/angular-cli/src/stories/addons/backgrounds/__snapshots__/addon-background.stories.storyshot b/examples/angular-cli/src/stories/addons/backgrounds/__snapshots__/addon-background.stories.storyshot
index e55171ef005b..c1d2c442c63d 100644
--- a/examples/angular-cli/src/stories/addons/backgrounds/__snapshots__/addon-background.stories.storyshot
+++ b/examples/angular-cli/src/stories/addons/backgrounds/__snapshots__/addon-background.stories.storyshot
@@ -3,11 +3,11 @@
exports[`Storyshots Addons / Backgrounds Overridden 1`] = `
This one should have different backgrounds
@@ -18,11 +18,11 @@ exports[`Storyshots Addons / Backgrounds Overridden 1`] = `
exports[`Storyshots Addons / Backgrounds With Component 1`] = `
Button
@@ -33,11 +33,11 @@ exports[`Storyshots Addons / Backgrounds With Component 1`] = `
exports[`Storyshots Addons / Backgrounds With Template 1`] = `
Button
diff --git a/examples/angular-cli/src/stories/addons/docs/__snapshots__/addon-docs.stories.storyshot b/examples/angular-cli/src/stories/addons/docs/__snapshots__/addon-docs.stories.storyshot
index 45917881b1ad..a110bdbeaf8f 100644
--- a/examples/angular-cli/src/stories/addons/docs/__snapshots__/addon-docs.stories.storyshot
+++ b/examples/angular-cli/src/stories/addons/docs/__snapshots__/addon-docs.stories.storyshot
@@ -3,11 +3,11 @@
exports[`Storyshots Addons/Docs with some emoji 1`] = `
😀 😎 👍 💯
@@ -18,11 +18,11 @@ exports[`Storyshots Addons/Docs with some emoji 1`] = `
exports[`Storyshots Addons/Docs with text 1`] = `
hello button
diff --git a/examples/angular-cli/src/stories/addons/docs/__snapshots__/simple.stories.storyshot b/examples/angular-cli/src/stories/addons/docs/__snapshots__/simple.stories.storyshot
index ffcf6aebeccf..463ea6fc50da 100644
--- a/examples/angular-cli/src/stories/addons/docs/__snapshots__/simple.stories.storyshot
+++ b/examples/angular-cli/src/stories/addons/docs/__snapshots__/simple.stories.storyshot
@@ -3,11 +3,11 @@
exports[`Storyshots Addons/Docs/SimpleButton with text 1`] = `
Hello 👋
diff --git a/examples/angular-cli/src/stories/addons/docs/iframe/__snapshots__/iframe.stories.storyshot b/examples/angular-cli/src/stories/addons/docs/iframe/__snapshots__/iframe.stories.storyshot
index 5c412922328e..386022a250fd 100644
--- a/examples/angular-cli/src/stories/addons/docs/iframe/__snapshots__/iframe.stories.storyshot
+++ b/examples/angular-cli/src/stories/addons/docs/iframe/__snapshots__/iframe.stories.storyshot
@@ -3,11 +3,11 @@
exports[`Storyshots Addons/Docs/Iframe Basic 1`] = `
Add 👾
diff --git a/examples/angular-cli/src/stories/addons/interactions/__snapshots__/addon-interactions.stories.storyshot b/examples/angular-cli/src/stories/addons/interactions/__snapshots__/addon-interactions.stories.storyshot
new file mode 100644
index 000000000000..e4888a3560d2
--- /dev/null
+++ b/examples/angular-cli/src/stories/addons/interactions/__snapshots__/addon-interactions.stories.storyshot
@@ -0,0 +1,921 @@
+// Jest Snapshot v1, https://goo.gl/fbAQLP
+
+exports[`Storyshots Addons/Interactions Filled 1`] = `
+
+
+
+
+
+
+ You submitted the following:
+
+
+
+
+
+
+ Edit
+
+
+
+
+
+`;
+
+exports[`Storyshots Addons/Interactions Invalid Fields 1`] = `
+
+
+
+
+
+
+ You submitted the following:
+
+
+
+
+
+
+ Edit
+
+
+
+
+
+`;
+
+exports[`Storyshots Addons/Interactions Standard 1`] = `
+
+
+
+
+
+
+ You submitted the following:
+
+
+
+
+
+
+ Edit
+
+
+
+
+
+`;
+
+exports[`Storyshots Addons/Interactions Submitted 1`] = `
+
+
+
+
+
+
+ You submitted the following:
+
+
+
+
+
+
+ Edit
+
+
+
+
+
+`;
+
+exports[`Storyshots Addons/Interactions Submitted And Edited After 1`] = `
+
+
+
+
+
+
+ You submitted the following:
+
+
+
+
+
+
+ Edit
+
+
+
+
+
+`;
diff --git a/examples/angular-cli/src/stories/addons/interactions/addon-interactions.stories.ts b/examples/angular-cli/src/stories/addons/interactions/addon-interactions.stories.ts
index 4b2bbbbd8f54..15e6c8a92573 100644
--- a/examples/angular-cli/src/stories/addons/interactions/addon-interactions.stories.ts
+++ b/examples/angular-cli/src/stories/addons/interactions/addon-interactions.stories.ts
@@ -1,27 +1,109 @@
-/* eslint-disable storybook/use-storybook-testing-library */
-// @TODO: use addon-interactions and remove the rule disable above
-import { Story, Meta } from '@storybook/angular';
+import { CommonModule } from '@angular/common';
+import { FormsModule } from '@angular/forms';
+import { Story, Meta, moduleMetadata } from '@storybook/angular';
import { expect } from '@storybook/jest';
-import { within } from '@testing-library/react';
-import userEvent from '@testing-library/user-event';
+import { within, userEvent, waitFor } from '@storybook/testing-library';
-import { CounterComponent } from './counter/counter.component';
+import { HeroForm } from './hero-form/hero-form.component';
export default {
title: 'Addons/Interactions',
- component: CounterComponent,
-} as Meta;
+ component: HeroForm,
+ decorators: [
+ moduleMetadata({
+ imports: [CommonModule, FormsModule],
+ }),
+ ],
+} as Meta;
-const Template: Story = (args) => ({
+const Template: Story = (args) => ({
props: args,
});
-export const Default: Story = Template.bind({});
+export const Standard: Story = Template.bind({});
-Default.play = async ({ canvasElement }) => {
+export const Filled: Story = Template.bind({});
+Filled.play = async ({ canvasElement }) => {
const canvas = within(canvasElement);
- await userEvent.click(await canvas.findByText('Increment'));
+ const heroName = canvas.getByRole('textbox', {
+ name: /name/i,
+ });
+ await userEvent.type(heroName, 'Storm');
- const count = await canvas.findByTestId('count');
- await expect(count.textContent).toEqual('You clicked 1 times');
+ const alterEgo = canvas.getByRole('textbox', {
+ name: /alter ego/i,
+ });
+ await userEvent.type(alterEgo, 'Ororo Munroe');
+
+ const heroPower = canvas.getByRole('combobox', { name: /hero power/i });
+ await userEvent.selectOptions(heroPower, 'Weather Changer');
+};
+
+export const InvalidFields: Story = Template.bind({});
+InvalidFields.play = async (context) => {
+ await Filled.play(context);
+
+ const canvas = within(context.canvasElement);
+ await userEvent.clear(
+ canvas.getByRole('textbox', {
+ name: /name/i,
+ })
+ );
+ await userEvent.clear(
+ canvas.getByRole('textbox', {
+ name: /alter ego/i,
+ })
+ );
+
+ const heroPower = canvas.getByRole('combobox', { name: /hero power/i });
+ await userEvent.selectOptions(heroPower, '');
+};
+
+export const Submitted: Story = Template.bind({});
+Submitted.play = async (context) => {
+ await Filled.play(context);
+
+ const canvas = within(context.canvasElement);
+ await userEvent.click(canvas.getByText('Submit'));
+
+ await waitFor(async () => {
+ await expect(
+ canvas.getByRole('heading', {
+ name: /you submitted the following:/i,
+ })
+ ).not.toBeNull();
+ await expect(canvas.getByTestId('hero-name').textContent).toEqual('Storm');
+ await expect(canvas.getByTestId('hero-alterego').textContent).toEqual('Ororo Munroe');
+ await expect(canvas.getByTestId('hero-power').textContent).toEqual('Weather Changer');
+ });
+};
+
+export const SubmittedAndEditedAfter: Story = Template.bind({});
+SubmittedAndEditedAfter.play = async (context) => {
+ await Submitted.play(context);
+
+ const canvas = within(context.canvasElement);
+ await userEvent.click(canvas.getByText('Edit'));
+
+ const heroName = canvas.getByRole('textbox', {
+ name: /name/i,
+ });
+ await userEvent.clear(heroName);
+ await userEvent.type(heroName, 'Wakanda Queen');
+
+ await userEvent.click(canvas.getByText('Submit'));
+
+ await waitFor(async () => {
+ await expect(
+ canvas.getByRole('heading', {
+ name: /you submitted the following:/i,
+ })
+ ).not.toBeNull();
+ // new value
+ await expect(canvas.getByTestId('hero-name').textContent).toEqual('Wakanda Queen');
+
+ // previous values
+ await expect(canvas.getByTestId('hero-alterego').textContent).toEqual('Ororo Munroe');
+ await expect(canvas.getByTestId('hero-power').textContent).toEqual('Weather Changer');
+ });
};
diff --git a/examples/angular-cli/src/stories/addons/interactions/counter/counter.component.ts b/examples/angular-cli/src/stories/addons/interactions/counter/counter.component.ts
deleted file mode 100644
index a48e6133e05c..000000000000
--- a/examples/angular-cli/src/stories/addons/interactions/counter/counter.component.ts
+++ /dev/null
@@ -1,24 +0,0 @@
-import { Component } from '@angular/core';
-
-@Component({
- selector: 'my-counter',
- template: `
-
-
Angular - Counter
- You clicked {{ count }} times
- Decrement
- Increment
-
- `,
-})
-export class CounterComponent {
- count = 0;
-
- increment() {
- this.count += 1;
- }
-
- decrement() {
- this.count -= 1;
- }
-}
diff --git a/examples/angular-cli/src/stories/addons/interactions/hero-form/hero-form.component.css b/examples/angular-cli/src/stories/addons/interactions/hero-form/hero-form.component.css
new file mode 100644
index 000000000000..3dd3e324e01f
--- /dev/null
+++ b/examples/angular-cli/src/stories/addons/interactions/hero-form/hero-form.component.css
@@ -0,0 +1,9 @@
+@import url('https://unpkg.com/bootstrap@4.4/dist/css/bootstrap.min.css');
+
+.ng-valid[required], .ng-valid.required {
+ border-left: 5px solid #42A948;
+}
+
+.ng-invalid:not(form) {
+ border-left: 5px solid #a94442;
+}
diff --git a/examples/angular-cli/src/stories/addons/interactions/hero-form/hero-form.component.html b/examples/angular-cli/src/stories/addons/interactions/hero-form/hero-form.component.html
new file mode 100644
index 000000000000..83da1d2c1e2b
--- /dev/null
+++ b/examples/angular-cli/src/stories/addons/interactions/hero-form/hero-form.component.html
@@ -0,0 +1,61 @@
+
+
+
+
+
You submitted the following:
+
+
Name
+
{{ model.name }}
+
+
+
Alter Ego
+
{{ model.alterEgo }}
+
+
+
Power
+
{{ model.power }}
+
+
+
Edit
+
+
diff --git a/examples/angular-cli/src/stories/addons/interactions/hero-form/hero-form.component.ts b/examples/angular-cli/src/stories/addons/interactions/hero-form/hero-form.component.ts
new file mode 100644
index 000000000000..6470db34d173
--- /dev/null
+++ b/examples/angular-cli/src/stories/addons/interactions/hero-form/hero-form.component.ts
@@ -0,0 +1,51 @@
+import { Component, NgModule } from '@angular/core';
+import { FormsModule } from '@angular/forms';
+import { CommonModule } from '@angular/common';
+
+class Hero {
+ // eslint-disable-next-line no-useless-constructor
+ constructor(
+ public id: number,
+ public name: string,
+ public power: string,
+ public alterEgo?: string
+ ) {}
+}
+
+@Component({
+ selector: 'hero-form',
+ templateUrl: './hero-form.component.html',
+ styleUrls: ['./hero-form.component.css'],
+})
+export class HeroForm {
+ /**
+ * This does not work on addon-controls as it is turned into a string
+ * @ignore
+ */
+ model = new Hero(0, '', '', '');
+
+ /**
+ * This does not work on addon-controls as it is turned into a string
+ * @ignore
+ */
+ powers = ['Really Smart', 'Super Flexible', 'Super Hot', 'Weather Changer'];
+
+ submitting = false;
+
+ submitted = false;
+
+ onSubmit() {
+ this.submitting = true;
+ setTimeout(() => {
+ this.submitted = true;
+ this.submitting = false;
+ }, 1000);
+ }
+}
+
+@NgModule({
+ declarations: [HeroForm],
+ exports: [HeroForm],
+ imports: [CommonModule, FormsModule],
+})
+export class HeroFormModule {}
diff --git a/examples/angular-cli/src/stories/addons/links/__snapshots__/addon-links.stories.storyshot b/examples/angular-cli/src/stories/addons/links/__snapshots__/addon-links.stories.storyshot
index c390f20fc437..452762482e25 100644
--- a/examples/angular-cli/src/stories/addons/links/__snapshots__/addon-links.stories.storyshot
+++ b/examples/angular-cli/src/stories/addons/links/__snapshots__/addon-links.stories.storyshot
@@ -3,11 +3,11 @@
exports[`Storyshots Addons/Links button with link to another story 1`] = `
Go to Welcome Story
diff --git a/examples/angular-cli/src/stories/core/parameters/__snapshots__/all-parameters.stories.storyshot b/examples/angular-cli/src/stories/core/parameters/__snapshots__/all-parameters.stories.storyshot
index 4409d0f68e49..56232c260dc2 100644
--- a/examples/angular-cli/src/stories/core/parameters/__snapshots__/all-parameters.stories.storyshot
+++ b/examples/angular-cli/src/stories/core/parameters/__snapshots__/all-parameters.stories.storyshot
@@ -3,13 +3,13 @@
exports[`Storyshots Core / Parameters / All parameters All parameters passed to story 1`] = `
Parameters are {
"docs": {
diff --git a/examples/angular-cli/src/stories/core/parameters/__snapshots__/layout.parameters.stories.storyshot b/examples/angular-cli/src/stories/core/parameters/__snapshots__/layout.parameters.stories.storyshot
index 197f2555e839..41789ef56bc4 100644
--- a/examples/angular-cli/src/stories/core/parameters/__snapshots__/layout.parameters.stories.storyshot
+++ b/examples/angular-cli/src/stories/core/parameters/__snapshots__/layout.parameters.stories.storyshot
@@ -3,11 +3,11 @@
exports[`Storyshots Core / Parameters / Layout Centered 1`] = `
Button
@@ -18,11 +18,11 @@ exports[`Storyshots Core / Parameters / Layout Centered 1`] = `
exports[`Storyshots Core / Parameters / Layout Default 1`] = `
Button
@@ -36,12 +36,12 @@ exports[`Storyshots Core / Parameters / Layout Fullscreen 1`] = `
style="background-color: yellow;"
>
Button
@@ -54,11 +54,11 @@ exports[`Storyshots Core / Parameters / Layout Fullscreen 1`] = `
exports[`Storyshots Core / Parameters / Layout None 1`] = `
Button
@@ -69,11 +69,11 @@ exports[`Storyshots Core / Parameters / Layout None 1`] = `
exports[`Storyshots Core / Parameters / Layout Padded 1`] = `
Button
diff --git a/examples/angular-cli/src/stories/core/styles/__snapshots__/story-styles.stories.storyshot b/examples/angular-cli/src/stories/core/styles/__snapshots__/story-styles.stories.storyshot
index 95e98085998a..bc21c8a94f3f 100644
--- a/examples/angular-cli/src/stories/core/styles/__snapshots__/story-styles.stories.storyshot
+++ b/examples/angular-cli/src/stories/core/styles/__snapshots__/story-styles.stories.storyshot
@@ -3,12 +3,12 @@
exports[`Storyshots Core / Story host styles With Args 1`] = `
Button with custom styles
@@ -19,12 +19,12 @@ exports[`Storyshots Core / Story host styles With Args 1`] = `
exports[`Storyshots Core / Story host styles With story template 1`] = `
Button with custom styles
diff --git a/examples/angular-cli/src/stories/legacy/__snapshots__/component-in-story.stories.storyshot b/examples/angular-cli/src/stories/legacy/__snapshots__/component-in-story.stories.storyshot
index cfd33b230ee2..5e73e7aeeb32 100644
--- a/examples/angular-cli/src/stories/legacy/__snapshots__/component-in-story.stories.storyshot
+++ b/examples/angular-cli/src/stories/legacy/__snapshots__/component-in-story.stories.storyshot
@@ -3,11 +3,11 @@
exports[`Storyshots Legacy / Component in Story Basic 1`] = `
Hello Button
diff --git a/examples/angular-cli/src/stories/legacy/__snapshots__/storiesOf.stories.storyshot b/examples/angular-cli/src/stories/legacy/__snapshots__/storiesOf.stories.storyshot
index 0a762f2b8cc1..3c20084a5313 100644
--- a/examples/angular-cli/src/stories/legacy/__snapshots__/storiesOf.stories.storyshot
+++ b/examples/angular-cli/src/stories/legacy/__snapshots__/storiesOf.stories.storyshot
@@ -3,20 +3,20 @@
exports[`Storyshots Legacy / Story with storiesOf() with some emoji 1`] = `
😀 😎 👍 💯
😀 😎 👍 💯
@@ -27,11 +27,11 @@ 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/others/issues/__snapshots__/12009-unknown-component.stories.storyshot b/examples/angular-cli/src/stories/others/issues/__snapshots__/12009-unknown-component.stories.storyshot
index 380a4f509aaf..e41d8a1015b4 100644
--- a/examples/angular-cli/src/stories/others/issues/__snapshots__/12009-unknown-component.stories.storyshot
+++ b/examples/angular-cli/src/stories/others/issues/__snapshots__/12009-unknown-component.stories.storyshot
@@ -3,11 +3,11 @@
exports[`Storyshots Others / Issues / 12009 unknown component Basic 1`] = `
Unknown component
diff --git a/examples/cra-kitchen-sink/package.json b/examples/cra-kitchen-sink/package.json
index 08fd05932abc..4fb386e8c222 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.4.0-rc.3",
+ "version": "6.5.0-alpha.5",
"private": true,
"scripts": {
"build": "react-scripts build",
@@ -11,7 +11,7 @@
"test": "react-scripts test --env=jsdom"
},
"dependencies": {
- "@storybook/client-logger": "6.4.0-rc.3",
+ "@storybook/client-logger": "6.5.0-alpha.5",
"global": "^4.4.0",
"prop-types": "^15.7.2",
"react": "16.14.0",
@@ -21,19 +21,19 @@
},
"devDependencies": {
"@pmmmwh/react-refresh-webpack-plugin": "^0.4.3",
- "@storybook/addon-a11y": "6.4.0-rc.3",
- "@storybook/addon-actions": "6.4.0-rc.3",
- "@storybook/addon-backgrounds": "6.4.0-rc.3",
- "@storybook/addon-docs": "6.4.0-rc.3",
+ "@storybook/addon-a11y": "6.5.0-alpha.5",
+ "@storybook/addon-actions": "6.5.0-alpha.5",
+ "@storybook/addon-backgrounds": "6.5.0-alpha.5",
+ "@storybook/addon-docs": "6.5.0-alpha.5",
"@storybook/addon-ie11": "0.0.7--canary.5e87b64.0",
- "@storybook/addon-jest": "6.4.0-rc.3",
- "@storybook/addon-links": "6.4.0-rc.3",
- "@storybook/addon-storyshots": "6.4.0-rc.3",
- "@storybook/addons": "6.4.0-rc.3",
- "@storybook/builder-webpack4": "6.4.0-rc.3",
+ "@storybook/addon-jest": "6.5.0-alpha.5",
+ "@storybook/addon-links": "6.5.0-alpha.5",
+ "@storybook/addon-storyshots": "6.5.0-alpha.5",
+ "@storybook/addons": "6.5.0-alpha.5",
+ "@storybook/builder-webpack4": "6.5.0-alpha.5",
"@storybook/preset-create-react-app": "^3.1.6",
- "@storybook/react": "6.4.0-rc.3",
- "@storybook/theming": "6.4.0-rc.3",
+ "@storybook/react": "6.5.0-alpha.5",
+ "@storybook/theming": "6.5.0-alpha.5",
"webpack": "4"
},
"storybook": {
diff --git a/examples/cra-react15/package.json b/examples/cra-react15/package.json
index 09d5b723ff48..2c9f6b97d30b 100644
--- a/examples/cra-react15/package.json
+++ b/examples/cra-react15/package.json
@@ -1,6 +1,6 @@
{
"name": "cra-react15",
- "version": "6.4.0-rc.3",
+ "version": "6.5.0-alpha.5",
"private": true,
"scripts": {
"build": "react-scripts build",
@@ -19,14 +19,14 @@
"react-scripts": "3.4.4"
},
"devDependencies": {
- "@storybook/addon-actions": "6.4.0-rc.3",
+ "@storybook/addon-actions": "6.5.0-alpha.5",
"@storybook/addon-ie11": "0.0.7--canary.5e87b64.0",
- "@storybook/addon-links": "6.4.0-rc.3",
- "@storybook/addons": "6.4.0-rc.3",
- "@storybook/builder-webpack4": "6.4.0-rc.3",
+ "@storybook/addon-links": "6.5.0-alpha.5",
+ "@storybook/addons": "6.5.0-alpha.5",
+ "@storybook/builder-webpack4": "6.5.0-alpha.5",
"@storybook/preset-create-react-app": "^3.1.6",
- "@storybook/react": "6.4.0-rc.3",
- "@storybook/theming": "6.4.0-rc.3",
+ "@storybook/react": "6.5.0-alpha.5",
+ "@storybook/theming": "6.5.0-alpha.5",
"babel-core": "6",
"babel-runtime": "6",
"webpack": "4"
diff --git a/examples/cra-ts-essentials/package.json b/examples/cra-ts-essentials/package.json
index 2a12c601aa23..8868f20518d3 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.4.0-rc.3",
+ "version": "6.5.0-alpha.5",
"private": true,
"scripts": {
"build": "react-scripts build",
@@ -24,7 +24,7 @@
},
"dependencies": {
"@types/jest": "^26.0.16",
- "@types/node": "14.14.20",
+ "@types/node": "^14.14.20 || ^16.0.0",
"@types/react": "^16.14.2",
"@types/react-dom": "16.9.10",
"global": "^4.4.0",
@@ -34,12 +34,12 @@
"typescript": "^3.9.7"
},
"devDependencies": {
- "@storybook/addon-essentials": "6.4.0-rc.3",
+ "@storybook/addon-essentials": "6.5.0-alpha.5",
"@storybook/addon-ie11": "0.0.7--canary.5e87b64.0",
- "@storybook/addons": "6.4.0-rc.3",
- "@storybook/builder-webpack4": "6.4.0-rc.3",
+ "@storybook/addons": "6.5.0-alpha.5",
+ "@storybook/builder-webpack4": "6.5.0-alpha.5",
"@storybook/preset-create-react-app": "^3.1.6",
- "@storybook/react": "6.4.0-rc.3",
+ "@storybook/react": "6.5.0-alpha.5",
"webpack": "4"
},
"storybook": {
diff --git a/examples/cra-ts-kitchen-sink/package.json b/examples/cra-ts-kitchen-sink/package.json
index 5b1994be719e..0fe4ec9e7ff8 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.4.0-rc.3",
+ "version": "6.5.0-alpha.5",
"private": true,
"scripts": {
"build": "react-scripts build",
@@ -24,7 +24,7 @@
},
"dependencies": {
"@types/jest": "25.2.3",
- "@types/node": "14.14.20",
+ "@types/node": "^14.14.20 || ^16.0.0",
"@types/react": "16.14.2",
"@types/react-dom": "16.9.10",
"prop-types": "^15.7.2",
@@ -34,15 +34,15 @@
"typescript": "^3.9.7"
},
"devDependencies": {
- "@storybook/addon-a11y": "6.4.0-rc.3",
- "@storybook/addon-actions": "6.4.0-rc.3",
- "@storybook/addon-docs": "6.4.0-rc.3",
+ "@storybook/addon-a11y": "6.5.0-alpha.5",
+ "@storybook/addon-actions": "6.5.0-alpha.5",
+ "@storybook/addon-docs": "6.5.0-alpha.5",
"@storybook/addon-ie11": "0.0.7--canary.5e87b64.0",
- "@storybook/addon-links": "6.4.0-rc.3",
- "@storybook/addons": "6.4.0-rc.3",
- "@storybook/builder-webpack4": "6.4.0-rc.3",
+ "@storybook/addon-links": "6.5.0-alpha.5",
+ "@storybook/addons": "6.5.0-alpha.5",
+ "@storybook/builder-webpack4": "6.5.0-alpha.5",
"@storybook/preset-create-react-app": "^3.1.6",
- "@storybook/react": "6.4.0-rc.3",
+ "@storybook/react": "6.5.0-alpha.5",
"@types/enzyme": "^3.10.8",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.9.1",
diff --git a/examples/ember-cli/package.json b/examples/ember-cli/package.json
index 779f8b0a0853..79a4f84b7419 100644
--- a/examples/ember-cli/package.json
+++ b/examples/ember-cli/package.json
@@ -1,6 +1,6 @@
{
"name": "ember-example",
- "version": "6.4.0-rc.3",
+ "version": "6.5.0-alpha.5",
"private": true,
"scripts": {
"build": "ember build --output-path ember-output",
@@ -17,18 +17,18 @@
"devDependencies": {
"@babel/core": "^7.12.10",
"@ember/optional-features": "^2.0.0",
- "@storybook/addon-a11y": "6.4.0-rc.3",
- "@storybook/addon-actions": "6.4.0-rc.3",
- "@storybook/addon-backgrounds": "6.4.0-rc.3",
- "@storybook/addon-controls": "6.4.0-rc.3",
- "@storybook/addon-docs": "6.4.0-rc.3",
- "@storybook/addon-links": "6.4.0-rc.3",
- "@storybook/addon-storysource": "6.4.0-rc.3",
- "@storybook/addon-viewport": "6.4.0-rc.3",
- "@storybook/addons": "6.4.0-rc.3",
- "@storybook/ember": "6.4.0-rc.3",
+ "@storybook/addon-a11y": "6.5.0-alpha.5",
+ "@storybook/addon-actions": "6.5.0-alpha.5",
+ "@storybook/addon-backgrounds": "6.5.0-alpha.5",
+ "@storybook/addon-controls": "6.5.0-alpha.5",
+ "@storybook/addon-docs": "6.5.0-alpha.5",
+ "@storybook/addon-links": "6.5.0-alpha.5",
+ "@storybook/addon-storysource": "6.5.0-alpha.5",
+ "@storybook/addon-viewport": "6.5.0-alpha.5",
+ "@storybook/addons": "6.5.0-alpha.5",
+ "@storybook/ember": "6.5.0-alpha.5",
"@storybook/ember-cli-storybook": "^0.2.1",
- "@storybook/source-loader": "6.4.0-rc.3",
+ "@storybook/source-loader": "6.5.0-alpha.5",
"babel-loader": "^8.0.0",
"broccoli-asset-rev": "^3.0.0",
"cross-env": "^7.0.3",
diff --git a/examples/html-kitchen-sink/package.json b/examples/html-kitchen-sink/package.json
index 2decc1ef2417..3d9553e6c34c 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.4.0-rc.3",
+ "version": "6.5.0-alpha.5",
"private": true,
"description": "",
"keywords": [],
@@ -13,23 +13,23 @@
"storybook": "start-storybook -p 9006 --no-manager-cache"
},
"devDependencies": {
- "@storybook/addon-a11y": "6.4.0-rc.3",
- "@storybook/addon-actions": "6.4.0-rc.3",
- "@storybook/addon-backgrounds": "6.4.0-rc.3",
- "@storybook/addon-controls": "6.4.0-rc.3",
- "@storybook/addon-docs": "6.4.0-rc.3",
- "@storybook/addon-jest": "6.4.0-rc.3",
- "@storybook/addon-links": "6.4.0-rc.3",
+ "@storybook/addon-a11y": "6.5.0-alpha.5",
+ "@storybook/addon-actions": "6.5.0-alpha.5",
+ "@storybook/addon-backgrounds": "6.5.0-alpha.5",
+ "@storybook/addon-controls": "6.5.0-alpha.5",
+ "@storybook/addon-docs": "6.5.0-alpha.5",
+ "@storybook/addon-jest": "6.5.0-alpha.5",
+ "@storybook/addon-links": "6.5.0-alpha.5",
"@storybook/addon-postcss": "^2.0.0",
- "@storybook/addon-storyshots": "6.4.0-rc.3",
- "@storybook/addon-storysource": "6.4.0-rc.3",
- "@storybook/addon-viewport": "6.4.0-rc.3",
- "@storybook/addons": "6.4.0-rc.3",
- "@storybook/client-api": "6.4.0-rc.3",
- "@storybook/core": "6.4.0-rc.3",
- "@storybook/core-events": "6.4.0-rc.3",
- "@storybook/html": "6.4.0-rc.3",
- "@storybook/source-loader": "6.4.0-rc.3",
+ "@storybook/addon-storyshots": "6.5.0-alpha.5",
+ "@storybook/addon-storysource": "6.5.0-alpha.5",
+ "@storybook/addon-viewport": "6.5.0-alpha.5",
+ "@storybook/addons": "6.5.0-alpha.5",
+ "@storybook/client-api": "6.5.0-alpha.5",
+ "@storybook/core": "6.5.0-alpha.5",
+ "@storybook/core-events": "6.5.0-alpha.5",
+ "@storybook/html": "6.5.0-alpha.5",
+ "@storybook/source-loader": "6.5.0-alpha.5",
"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 d11c543297f1..1d6a5cd0069b 100644
--- a/examples/official-storybook/package.json
+++ b/examples/official-storybook/package.json
@@ -1,6 +1,6 @@
{
"name": "official-storybook",
- "version": "6.4.0-rc.3",
+ "version": "6.5.0-alpha.5",
"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.4.3",
- "@storybook/addon-a11y": "6.4.0-rc.3",
- "@storybook/addon-actions": "6.4.0-rc.3",
- "@storybook/addon-backgrounds": "6.4.0-rc.3",
- "@storybook/addon-controls": "6.4.0-rc.3",
- "@storybook/addon-docs": "6.4.0-rc.3",
- "@storybook/addon-interactions": "6.4.0-rc.3",
- "@storybook/addon-jest": "6.4.0-rc.3",
- "@storybook/addon-links": "6.4.0-rc.3",
- "@storybook/addon-storyshots": "6.4.0-rc.3",
- "@storybook/addon-storyshots-puppeteer": "6.4.0-rc.3",
- "@storybook/addon-storysource": "6.4.0-rc.3",
- "@storybook/addon-toolbars": "6.4.0-rc.3",
- "@storybook/addon-viewport": "6.4.0-rc.3",
- "@storybook/addons": "6.4.0-rc.3",
- "@storybook/cli": "6.4.0-rc.3",
- "@storybook/components": "6.4.0-rc.3",
- "@storybook/core-events": "6.4.0-rc.3",
+ "@storybook/addon-a11y": "6.5.0-alpha.5",
+ "@storybook/addon-actions": "6.5.0-alpha.5",
+ "@storybook/addon-backgrounds": "6.5.0-alpha.5",
+ "@storybook/addon-controls": "6.5.0-alpha.5",
+ "@storybook/addon-docs": "6.5.0-alpha.5",
+ "@storybook/addon-interactions": "6.5.0-alpha.5",
+ "@storybook/addon-jest": "6.5.0-alpha.5",
+ "@storybook/addon-links": "6.5.0-alpha.5",
+ "@storybook/addon-storyshots": "6.5.0-alpha.5",
+ "@storybook/addon-storyshots-puppeteer": "6.5.0-alpha.5",
+ "@storybook/addon-storysource": "6.5.0-alpha.5",
+ "@storybook/addon-toolbars": "6.5.0-alpha.5",
+ "@storybook/addon-viewport": "6.5.0-alpha.5",
+ "@storybook/addons": "6.5.0-alpha.5",
+ "@storybook/cli": "6.5.0-alpha.5",
+ "@storybook/components": "6.5.0-alpha.5",
+ "@storybook/core-events": "6.5.0-alpha.5",
"@storybook/design-system": "^5.4.7",
- "@storybook/jest": "^0.0.2",
- "@storybook/node-logger": "6.4.0-rc.3",
- "@storybook/react": "6.4.0-rc.3",
- "@storybook/router": "6.4.0-rc.3",
- "@storybook/source-loader": "6.4.0-rc.3",
- "@storybook/testing-library": "^0.0.3",
- "@storybook/theming": "6.4.0-rc.3",
+ "@storybook/jest": "^0.0.5",
+ "@storybook/node-logger": "6.5.0-alpha.5",
+ "@storybook/react": "6.5.0-alpha.5",
+ "@storybook/router": "6.5.0-alpha.5",
+ "@storybook/source-loader": "6.5.0-alpha.5",
+ "@storybook/testing-library": "^0.0.7",
+ "@storybook/theming": "6.5.0-alpha.5",
"@testing-library/dom": "^7.31.2",
"@testing-library/user-event": "^13.1.9",
"chromatic": "^6.0.2",
@@ -50,7 +50,7 @@
"format-json": "^1.0.3",
"global": "^4.4.0",
"jest-emotion": "^10.0.32",
- "lodash": "^4.17.20",
+ "lodash": "^4.17.21",
"paths.macro": "^3.0.1",
"prop-types": "^15.7.2",
"react": "16.14.0",
diff --git a/examples/preact-kitchen-sink/package.json b/examples/preact-kitchen-sink/package.json
index f14ab2efae66..9aca6f598bf4 100644
--- a/examples/preact-kitchen-sink/package.json
+++ b/examples/preact-kitchen-sink/package.json
@@ -1,6 +1,6 @@
{
"name": "preact-example",
- "version": "6.4.0-rc.3",
+ "version": "6.5.0-alpha.5",
"private": true,
"scripts": {
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules",
@@ -15,16 +15,16 @@
"devDependencies": {
"@babel/core": "^7.12.10",
"@babel/plugin-transform-runtime": "^7.12.10",
- "@storybook/addon-a11y": "6.4.0-rc.3",
- "@storybook/addon-actions": "6.4.0-rc.3",
- "@storybook/addon-backgrounds": "6.4.0-rc.3",
- "@storybook/addon-links": "6.4.0-rc.3",
- "@storybook/addon-storyshots": "6.4.0-rc.3",
- "@storybook/addon-storysource": "6.4.0-rc.3",
- "@storybook/addon-viewport": "6.4.0-rc.3",
- "@storybook/addons": "6.4.0-rc.3",
- "@storybook/preact": "6.4.0-rc.3",
- "@storybook/source-loader": "6.4.0-rc.3",
+ "@storybook/addon-a11y": "6.5.0-alpha.5",
+ "@storybook/addon-actions": "6.5.0-alpha.5",
+ "@storybook/addon-backgrounds": "6.5.0-alpha.5",
+ "@storybook/addon-links": "6.5.0-alpha.5",
+ "@storybook/addon-storyshots": "6.5.0-alpha.5",
+ "@storybook/addon-storysource": "6.5.0-alpha.5",
+ "@storybook/addon-viewport": "6.5.0-alpha.5",
+ "@storybook/addons": "6.5.0-alpha.5",
+ "@storybook/preact": "6.5.0-alpha.5",
+ "@storybook/source-loader": "6.5.0-alpha.5",
"@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 0ead9f5bc743..7cd61079f12f 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.4.0-rc.3",
+ "version": "6.5.0-alpha.5",
"private": true,
"scripts": {
"build-storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true build-storybook -c ./",
@@ -8,10 +8,10 @@
"storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true start-storybook -p 9011 -c ./ --no-manager-cache"
},
"dependencies": {
- "@storybook/addon-controls": "6.4.0-rc.3",
- "@storybook/addon-essentials": "6.4.0-rc.3",
- "@storybook/builder-webpack4": "6.4.0-rc.3",
- "@storybook/react": "6.4.0-rc.3",
+ "@storybook/addon-controls": "6.5.0-alpha.5",
+ "@storybook/addon-essentials": "6.5.0-alpha.5",
+ "@storybook/builder-webpack4": "6.5.0-alpha.5",
+ "@storybook/react": "6.5.0-alpha.5",
"@types/react": "^16.14.2",
"@types/react-dom": "^16.9.10",
"prop-types": "15.7.2",
diff --git a/examples/react-ts/.storybook/main.ts b/examples/react-ts/.storybook/main.ts
index 76da86225ef6..865d5edbda32 100644
--- a/examples/react-ts/.storybook/main.ts
+++ b/examples/react-ts/.storybook/main.ts
@@ -31,6 +31,7 @@ const config: StorybookConfig = {
storyStoreV7: !global.navigator?.userAgent?.match?.('jsdom'),
buildStoriesJson: true,
babelModeV7: true,
+ warnOnLegacyHierarchySeparator: false,
},
framework: '@storybook/react',
};
diff --git a/examples/react-ts/package.json b/examples/react-ts/package.json
index c38f80b8ed8e..5947dd82666a 100644
--- a/examples/react-ts/package.json
+++ b/examples/react-ts/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/example-react-ts",
- "version": "6.4.0-rc.3",
+ "version": "6.5.0-alpha.5",
"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.4.0-rc.3",
- "@storybook/addon-storyshots": "6.4.0-rc.3",
- "@storybook/addon-storysource": "6.4.0-rc.3",
- "@storybook/cli": "6.4.0-rc.3",
- "@storybook/components": "6.4.0-rc.3",
- "@storybook/react": "6.4.0-rc.3",
- "@storybook/theming": "6.4.0-rc.3",
+ "@storybook/addon-essentials": "6.5.0-alpha.5",
+ "@storybook/addon-storyshots": "6.5.0-alpha.5",
+ "@storybook/addon-storysource": "6.5.0-alpha.5",
+ "@storybook/cli": "6.5.0-alpha.5",
+ "@storybook/components": "6.5.0-alpha.5",
+ "@storybook/react": "6.5.0-alpha.5",
+ "@storybook/theming": "6.5.0-alpha.5",
"@testing-library/dom": "^7.31.2",
"@testing-library/user-event": "^13.1.9",
"@types/babel__preset-env": "^7",
diff --git a/examples/server-kitchen-sink/package.json b/examples/server-kitchen-sink/package.json
index 0d3488e6a7f0..50b5acad221e 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.4.0-rc.3",
+ "version": "6.5.0-alpha.5",
"private": true,
"description": "",
"keywords": [],
@@ -14,13 +14,13 @@
"storybook": "SERVER_PORT=1137 start-storybook -p 9006 --quiet"
},
"devDependencies": {
- "@storybook/addon-a11y": "6.4.0-rc.3",
- "@storybook/addon-actions": "6.4.0-rc.3",
- "@storybook/addon-backgrounds": "6.4.0-rc.3",
- "@storybook/addon-controls": "6.4.0-rc.3",
- "@storybook/addon-links": "6.4.0-rc.3",
- "@storybook/node-logger": "6.4.0-rc.3",
- "@storybook/server": "6.4.0-rc.3",
+ "@storybook/addon-a11y": "6.5.0-alpha.5",
+ "@storybook/addon-actions": "6.5.0-alpha.5",
+ "@storybook/addon-backgrounds": "6.5.0-alpha.5",
+ "@storybook/addon-controls": "6.5.0-alpha.5",
+ "@storybook/addon-links": "6.5.0-alpha.5",
+ "@storybook/node-logger": "6.5.0-alpha.5",
+ "@storybook/server": "6.5.0-alpha.5",
"concurrently": "^5.3.0",
"cors": "^2.8.5",
"express": "~4.17.1",
diff --git a/examples/standalone-preview/README.md b/examples/standalone-preview/README.md
index 06c45a73689a..ef620a4d92bb 100644
--- a/examples/standalone-preview/README.md
+++ b/examples/standalone-preview/README.md
@@ -5,7 +5,7 @@ This project demonstrates a preview running in standalone mode using `parcel`.
To run the standalone preview:
```
-yarn storybook
+yarn storybook-preview
```
This starts a `parcel` dev server on port `1337`.
@@ -13,10 +13,9 @@ This starts a `parcel` dev server on port `1337`.
To view the stories in the storybook UI:
```
-cd ../official-storybook
-npm storybook -- --preview-url=http://localhost:1337/iframe.html # or yarn
+yarn storybook
```
-This runs the Storybook dev server, but instead of showing `official-storybook`'s stories, it attaches to the `parcel` dev server, lists its stories in the navigation, and shows its stories in the preview iframe.
+This runs the Storybook dev server (Found in ../official-storybook), but instead of showing `official-storybook`'s stories, it attaches to the `parcel` dev server, lists its stories in the navigation, and shows its stories in the preview iframe.
> NOTE: This can be run from any working storybook, not just `official-storybook`!
diff --git a/examples/standalone-preview/addPreview.ts b/examples/standalone-preview/addPreview.ts
new file mode 100644
index 000000000000..f65d8cf7243b
--- /dev/null
+++ b/examples/standalone-preview/addPreview.ts
@@ -0,0 +1,3 @@
+export {};
+
+global.PREVIEW_URL = process.env.PREVIEW_URL;
diff --git a/examples/standalone-preview/package.json b/examples/standalone-preview/package.json
index 805cc523bbfb..05166571f3fe 100644
--- a/examples/standalone-preview/package.json
+++ b/examples/standalone-preview/package.json
@@ -1,14 +1,17 @@
{
"name": "standalone-preview",
- "version": "6.4.0-rc.3",
+ "version": "6.5.0-alpha.5",
"private": true,
"scripts": {
- "storybook": "parcel ./storybook.html --port 1337"
+ "storybook-preview": "cross-env PREVIEW_URL=external-iframe.html parcel ./storybook.html --port 1337",
+ "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"
},
"devDependencies": {
- "@storybook/addon-docs": "6.4.0-rc.3",
- "@storybook/react": "6.4.0-rc.3",
- "parcel": "^1.12.4",
+ "@storybook/addon-docs": "6.5.0-alpha.5",
+ "@storybook/cli": "6.5.0-alpha.5",
+ "@storybook/react": "6.5.0-alpha.5",
+ "cross-env": "^7.0.3",
+ "parcel": "2.0.1",
"react": "16.14.0",
"react-dom": "16.14.0"
}
diff --git a/examples/standalone-preview/storybook.html b/examples/standalone-preview/storybook.html
index 834cd2e00ca0..ac1f9f1fe2cb 100644
--- a/examples/standalone-preview/storybook.html
+++ b/examples/standalone-preview/storybook.html
@@ -9,7 +9,7 @@
-
+
diff --git a/examples/standalone-preview/storybook.ts b/examples/standalone-preview/storybook.ts
index b218ec5b6f50..a588cf96ca02 100644
--- a/examples/standalone-preview/storybook.ts
+++ b/examples/standalone-preview/storybook.ts
@@ -1,3 +1,4 @@
+import './addPreview';
import { configure, addParameters } from '@storybook/react';
import { DocsPage, DocsContainer } from '@storybook/addon-docs';
diff --git a/examples/svelte-kitchen-sink/package.json b/examples/svelte-kitchen-sink/package.json
index 9c6c40c1accf..96f6a7feb8f2 100644
--- a/examples/svelte-kitchen-sink/package.json
+++ b/examples/svelte-kitchen-sink/package.json
@@ -1,6 +1,6 @@
{
"name": "svelte-example",
- "version": "6.4.0-rc.3",
+ "version": "6.5.0-alpha.5",
"private": true,
"scripts": {
"build-storybook": "build-storybook",
@@ -10,21 +10,21 @@
"global": "^4.4.0"
},
"devDependencies": {
- "@storybook/addon-a11y": "6.4.0-rc.3",
- "@storybook/addon-actions": "6.4.0-rc.3",
- "@storybook/addon-backgrounds": "6.4.0-rc.3",
- "@storybook/addon-controls": "6.4.0-rc.3",
- "@storybook/addon-docs": "6.4.0-rc.3",
- "@storybook/addon-interactions": "6.4.0-rc.3",
- "@storybook/addon-links": "6.4.0-rc.3",
- "@storybook/addon-storyshots": "6.4.0-rc.3",
- "@storybook/addon-storysource": "6.4.0-rc.3",
- "@storybook/addon-viewport": "6.4.0-rc.3",
- "@storybook/addons": "6.4.0-rc.3",
- "@storybook/jest": "^0.0.2",
- "@storybook/source-loader": "6.4.0-rc.3",
- "@storybook/svelte": "6.4.0-rc.3",
- "@storybook/testing-library": "^0.0.3",
+ "@storybook/addon-a11y": "6.5.0-alpha.5",
+ "@storybook/addon-actions": "6.5.0-alpha.5",
+ "@storybook/addon-backgrounds": "6.5.0-alpha.5",
+ "@storybook/addon-controls": "6.5.0-alpha.5",
+ "@storybook/addon-docs": "6.5.0-alpha.5",
+ "@storybook/addon-interactions": "6.5.0-alpha.5",
+ "@storybook/addon-links": "6.5.0-alpha.5",
+ "@storybook/addon-storyshots": "6.5.0-alpha.5",
+ "@storybook/addon-storysource": "6.5.0-alpha.5",
+ "@storybook/addon-viewport": "6.5.0-alpha.5",
+ "@storybook/addons": "6.5.0-alpha.5",
+ "@storybook/jest": "^0.0.5",
+ "@storybook/source-loader": "6.5.0-alpha.5",
+ "@storybook/svelte": "6.5.0-alpha.5",
+ "@storybook/testing-library": "^0.0.7",
"svelte-jester": "1.3.0",
"svelte-preprocess": "4.6.8"
},
diff --git a/examples/svelte-kitchen-sink/src/stories/addon-interactions.stories_.js b/examples/svelte-kitchen-sink/src/stories/addon-interactions.stories_.js
deleted file mode 100644
index 6e41acdbda6d..000000000000
--- a/examples/svelte-kitchen-sink/src/stories/addon-interactions.stories_.js
+++ /dev/null
@@ -1,23 +0,0 @@
-import { expect } from '@storybook/jest';
-import { within, userEvent } from '@storybook/testing-library';
-
-import Counter from '../components/Counter.svelte';
-
-export default {
- title: 'Addon/Interactions',
-};
-
-const Template = (args) => ({
- Component: Counter,
- props: args,
-});
-
-export const Default = Template.bind({});
-
-Default.play = async ({ canvasElement }) => {
- const canvas = within(canvasElement);
- await userEvent.click(await canvas.findByText('Increment'));
-
- const count = await canvas.findByTestId('count');
- await expect(count.textContent).toEqual('You clicked 1 times');
-};
diff --git a/examples/vue-3-cli/package.json b/examples/vue-3-cli/package.json
index 60ed6e5931d3..071c1501fd13 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.4.0-rc.3",
+ "version": "6.5.0-alpha.5",
"private": true,
"scripts": {
"build": "vue-cli-service build",
@@ -14,14 +14,14 @@
},
"devDependencies": {
"@babel/core": "^7.12.10",
- "@storybook/addon-actions": "6.4.0-rc.3",
- "@storybook/addon-essentials": "6.4.0-rc.3",
- "@storybook/addon-interactions": "6.4.0-rc.3",
- "@storybook/addon-links": "6.4.0-rc.3",
- "@storybook/addon-storyshots": "6.4.0-rc.3",
- "@storybook/jest": "^0.0.2",
- "@storybook/testing-library": "^0.0.3",
- "@storybook/vue3": "6.4.0-rc.3",
+ "@storybook/addon-actions": "6.5.0-alpha.5",
+ "@storybook/addon-essentials": "6.5.0-alpha.5",
+ "@storybook/addon-interactions": "6.5.0-alpha.5",
+ "@storybook/addon-links": "6.5.0-alpha.5",
+ "@storybook/addon-storyshots": "6.5.0-alpha.5",
+ "@storybook/jest": "^0.0.5",
+ "@storybook/testing-library": "^0.0.7",
+ "@storybook/vue3": "6.5.0-alpha.5",
"@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/package.json b/examples/vue-cli/package.json
index 4d35d0df6ddc..6edd07daabfa 100644
--- a/examples/vue-cli/package.json
+++ b/examples/vue-cli/package.json
@@ -1,6 +1,6 @@
{
"name": "vue-cli-example",
- "version": "6.4.0-rc.3",
+ "version": "6.5.0-alpha.5",
"private": true,
"scripts": {
"build": "vue-cli-service build",
@@ -15,11 +15,11 @@
"vue-property-decorator": "^9.1.2"
},
"devDependencies": {
- "@storybook/addon-controls": "6.4.0-rc.3",
- "@storybook/addon-essentials": "6.4.0-rc.3",
+ "@storybook/addon-controls": "6.5.0-alpha.5",
+ "@storybook/addon-essentials": "6.5.0-alpha.5",
"@storybook/preset-scss": "^1.0.3",
- "@storybook/source-loader": "6.4.0-rc.3",
- "@storybook/vue": "6.4.0-rc.3",
+ "@storybook/source-loader": "6.5.0-alpha.5",
+ "@storybook/vue": "6.5.0-alpha.5",
"@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/package.json b/examples/vue-kitchen-sink/package.json
index af0d5477c526..313a9851380a 100644
--- a/examples/vue-kitchen-sink/package.json
+++ b/examples/vue-kitchen-sink/package.json
@@ -1,6 +1,6 @@
{
"name": "vue-example",
- "version": "6.4.0-rc.3",
+ "version": "6.5.0-alpha.5",
"private": true,
"scripts": {
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules",
@@ -14,21 +14,21 @@
},
"devDependencies": {
"@babel/core": "^7.12.10",
- "@storybook/addon-a11y": "6.4.0-rc.3",
- "@storybook/addon-actions": "6.4.0-rc.3",
- "@storybook/addon-backgrounds": "6.4.0-rc.3",
- "@storybook/addon-controls": "6.4.0-rc.3",
- "@storybook/addon-docs": "6.4.0-rc.3",
- "@storybook/addon-interactions": "6.4.0-rc.3",
- "@storybook/addon-links": "6.4.0-rc.3",
- "@storybook/addon-storyshots": "6.4.0-rc.3",
- "@storybook/addon-storysource": "6.4.0-rc.3",
- "@storybook/addon-viewport": "6.4.0-rc.3",
- "@storybook/addons": "6.4.0-rc.3",
- "@storybook/jest": "^0.0.2",
- "@storybook/source-loader": "6.4.0-rc.3",
- "@storybook/testing-library": "^0.0.3",
- "@storybook/vue": "6.4.0-rc.3",
+ "@storybook/addon-a11y": "6.5.0-alpha.5",
+ "@storybook/addon-actions": "6.5.0-alpha.5",
+ "@storybook/addon-backgrounds": "6.5.0-alpha.5",
+ "@storybook/addon-controls": "6.5.0-alpha.5",
+ "@storybook/addon-docs": "6.5.0-alpha.5",
+ "@storybook/addon-interactions": "6.5.0-alpha.5",
+ "@storybook/addon-links": "6.5.0-alpha.5",
+ "@storybook/addon-storyshots": "6.5.0-alpha.5",
+ "@storybook/addon-storysource": "6.5.0-alpha.5",
+ "@storybook/addon-viewport": "6.5.0-alpha.5",
+ "@storybook/addons": "6.5.0-alpha.5",
+ "@storybook/jest": "^0.0.5",
+ "@storybook/source-loader": "6.5.0-alpha.5",
+ "@storybook/testing-library": "^0.0.7",
+ "@storybook/vue": "6.5.0-alpha.5",
"@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-interactions.stories_.js b/examples/vue-kitchen-sink/src/stories/addon-interactions.stories_.js
deleted file mode 100644
index 616b5141f723..000000000000
--- a/examples/vue-kitchen-sink/src/stories/addon-interactions.stories_.js
+++ /dev/null
@@ -1,28 +0,0 @@
-import { expect } from '@storybook/jest';
-import { within, userEvent } from '@storybook/testing-library';
-
-import Counter from './Counter.vue';
-
-export default {
- title: 'Addon/Interactions',
- component: Counter,
-};
-
-const Template = (args) => ({
- components: { Counter },
- setup() {
- return { args };
- },
- template: '
',
-});
-
-export const Default = Template.bind({});
-
-Default.play = async ({ canvasElement }) => {
- // TODO: 1 - coming from another story this works, refreshing the browser it fails
- const canvas = within(canvasElement);
- await userEvent.click(await canvas.findByText('Increment'));
-
- const count = await canvas.findByTestId('count');
- await expect(count.textContent).toEqual('You clicked 1 times');
-};
diff --git a/examples/web-components-kitchen-sink/custom-elements.json b/examples/web-components-kitchen-sink/custom-elements.json
index aaba478e95e5..a9dc8357b10d 100644
--- a/examples/web-components-kitchen-sink/custom-elements.json
+++ b/examples/web-components-kitchen-sink/custom-elements.json
@@ -46,15 +46,17 @@
"text": "boolean"
},
"description": "Set button in primary mode",
- "privacy": "public"
+ "privacy": "public",
+ "attribute": "primary"
},
{
"kind": "field",
"name": "backgroundColor",
"type": {
- "text": "string"
+ "text": "string | undefined"
},
- "privacy": "public"
+ "privacy": "public",
+ "attribute": "background-color"
},
{
"kind": "field",
@@ -63,13 +65,19 @@
"text": "'small' | 'medium' | 'large'"
},
"default": "'medium'",
- "privacy": "public"
+ "privacy": "public",
+ "attribute": "size"
},
{
"kind": "field",
"name": "label",
+ "type": {
+ "text": "string"
+ },
"default": "''",
- "privacy": "public"
+ "privacy": "public",
+ "attribute": "label",
+ "reflects": true
},
{
"kind": "method",
@@ -92,14 +100,16 @@
"text": "string"
},
"description": "Label of the button",
- "name": "label"
+ "name": "label",
+ "fieldName": "label"
},
{
"type": {
"text": "string"
},
"description": "Size of the button, can be \"small\", \"medium\" or \"large\"; default is \"medium\".",
- "name": "size"
+ "name": "size",
+ "fieldName": "size"
},
{
"type": {
@@ -108,20 +118,12 @@
"description": "Color of the button's background",
"name": "backgroundColor"
},
- {
- "name": "label",
- "fieldName": "label"
- },
{
"name": "primary",
"fieldName": "primary"
},
{
- "name": "size",
- "fieldName": "size"
- },
- {
- "name": "backgroundColor",
+ "name": "background-color",
"fieldName": "backgroundColor"
}
],
@@ -166,9 +168,11 @@
"kind": "field",
"name": "user",
"type": {
- "text": "{}"
+ "text": "{} | undefined"
},
- "privacy": "public"
+ "privacy": "public",
+ "attribute": "user",
+ "reflects": true
},
{
"kind": "method",
@@ -223,9 +227,6 @@
"text": "Object"
},
"description": "User of the app",
- "name": "user"
- },
- {
"name": "user",
"fieldName": "user"
}
@@ -271,9 +272,11 @@
"kind": "field",
"name": "user",
"type": {
- "text": "{}"
+ "text": "{} | undefined"
},
- "privacy": "public"
+ "privacy": "public",
+ "attribute": "user",
+ "reflects": true
}
],
"attributes": [
@@ -282,9 +285,6 @@
"text": "Object"
},
"description": "User of the app",
- "name": "user"
- },
- {
"name": "user",
"fieldName": "user"
}
@@ -363,23 +363,36 @@
{
"kind": "field",
"name": "backSide",
- "privacy": "public",
+ "type": {
+ "text": "boolean"
+ },
"description": "Indicates that the back of the card is shown",
- "default": "false"
+ "default": "false",
+ "privacy": "public",
+ "attribute": "back-side",
+ "reflects": true
},
{
"kind": "field",
"name": "header",
- "privacy": "public",
+ "type": {
+ "text": "string"
+ },
"description": "Header message",
- "default": "'Your Message'"
+ "default": "'Your Message'",
+ "privacy": "public",
+ "attribute": "header"
},
{
"kind": "field",
"name": "rows",
- "privacy": "public",
+ "type": {
+ "text": "array"
+ },
"description": "Data rows",
- "default": "[]"
+ "default": "[]",
+ "privacy": "public",
+ "attribute": "rows"
}
],
"events": [
@@ -430,7 +443,8 @@
"declarations": [
{
"kind": "variable",
- "name": "demoWcCardStyle"
+ "name": "demoWcCardStyle",
+ "default": "css`\n :host {\n display: block;\n position: relative;\n width: 250px;\n height: 200px;\n border-radius: 10px;\n transform-style: preserve-3d;\n transition: all 0.8s ease;\n }\n\n .header {\n font-weight: bold;\n font-size: var(--demo-wc-card-header-font-size, 16px);\n text-align: center;\n }\n\n .content {\n padding: 20px 10px 0 10px;\n flex-grow: 1;\n }\n\n .footer {\n display: flex;\n }\n\n dl {\n margin: 0;\n text-align: left;\n }\n\n dd {\n margin-left: 15px;\n }\n\n button {\n border-radius: 15px;\n width: 30px;\n height: 30px;\n background: #fff;\n border: 1px solid #ccc;\n color: #000;\n font-size: 21px;\n line-height: 27px;\n font-weight: bold;\n cursor: pointer;\n margin: 5px;\n }\n\n .note {\n flex-grow: 1;\n color: #666;\n font-size: 16px;\n font-weight: bold;\n text-align: left;\n padding-top: 15px;\n }\n\n :host([back-side]) {\n transform: rotateY(180deg);\n }\n\n #front,\n #back {\n position: absolute;\n width: 250px;\n box-sizing: border-box;\n box-shadow: #ccc 3px 3px 2px 1px;\n padding: 10px;\n display: flex;\n flex-flow: column;\n top: 0;\n left: 0;\n height: 100%;\n border-radius: 10px;\n backface-visibility: hidden;\n overflow: hidden;\n }\n\n #front {\n background: linear-gradient(141deg, #aaa 25%, #eee 40%, #ddd 55%);\n color: var(--demo-wc-card-front-color, #000);\n }\n\n #back {\n background: linear-gradient(141deg, #333 25%, #aaa 40%, #666 55%);\n color: var(--demo-wc-card-back-color, #fff);\n text-align: center;\n transform: rotateY(180deg) translate3d(0px, 0, 1px);\n }\n\n #back .note {\n color: #fff;\n }\n`"
}
],
"exports": [
diff --git a/examples/web-components-kitchen-sink/package.json b/examples/web-components-kitchen-sink/package.json
index c7e4ba4549ba..89511bc9ec52 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.4.0-rc.3",
+ "version": "6.5.0-alpha.5",
"private": true,
"description": "",
"keywords": [],
@@ -10,7 +10,7 @@
"scripts": {
"build-storybook": "build-storybook",
"storybook": "start-storybook -p 9006 --no-manager-cache",
- "generate-custom-elements-manifest": "yarn custom-elements-manifest analyze --litelement --dev --exclude \"./**/*.stories.ts\""
+ "generate-custom-elements-manifest": "yarn custom-elements-manifest analyze --litelement --dev --exclude \"./**/*.stories.ts\" --exclude \"./storybook-static\""
},
"resolutions": {
"@storybook/addon-a11y": "portal:../../addons/a11y",
@@ -40,7 +40,7 @@
"@storybook/core-events": "portal:../../lib/core-events",
"@storybook/core-server": "portal:../../lib/core-server",
"@storybook/csf-tools": "portal:../../lib/csf-tools",
- "@storybook/jest": "^0.0.2",
+ "@storybook/jest": "^0.0.5",
"@storybook/manager-webpack4": "portal:../../lib/manager-webpack4",
"@storybook/node-logger": "portal:../../lib/node-logger",
"@storybook/postinstall": "portal:../../lib/postinstall",
@@ -48,7 +48,7 @@
"@storybook/router": "portal:../../lib/router",
"@storybook/source-loader": "portal:../../lib/source-loader",
"@storybook/store": "portal:../../lib/store",
- "@storybook/testing-library": "^0.0.3",
+ "@storybook/testing-library": "^0.0.7",
"@storybook/theming": "portal:../../lib/theming",
"@storybook/ui": "portal:../../lib/ui",
"@storybook/web-components": "portal:../../app/web-components",
@@ -57,10 +57,10 @@
"typescript": "4.2.4"
},
"dependencies": {
- "lit": "^2.0.0-rc.2"
+ "lit": "^2.0.2"
},
"devDependencies": {
- "@custom-elements-manifest/analyzer": "^0.3.11",
+ "@custom-elements-manifest/analyzer": "^0.5.7",
"@storybook/addon-a11y": "*",
"@storybook/addon-actions": "*",
"@storybook/addon-backgrounds": "*",
@@ -73,7 +73,7 @@
"@storybook/addon-viewport": "*",
"@storybook/web-components": "*",
"global": "^4.4.0",
- "jest": "^27.0.1",
+ "jest": "^27.3.1",
"typescript": "4.2.4"
},
"customElements": "custom-elements.json",
diff --git a/examples/web-components-kitchen-sink/src/stories/addons/docs/addon-docs.stories.ts b/examples/web-components-kitchen-sink/src/stories/addons/docs/addon-docs.stories.ts
index 1596edbe27ff..f1e4d56cedc2 100644
--- a/examples/web-components-kitchen-sink/src/stories/addons/docs/addon-docs.stories.ts
+++ b/examples/web-components-kitchen-sink/src/stories/addons/docs/addon-docs.stories.ts
@@ -13,7 +13,7 @@ export const NoDocs: Story = () => html`
Click docs tab to see no docs error
NoDocs.parameters = { docs: { page: null } };
export const LargerThanPreview: Story = () =>
- html`
HUGE
`;
+ html`
HUGE
`;
export const MdxOverride: Story = () => html`
Click docs tab to see MDX-overridden docs
`;
MdxOverride.parameters = {
diff --git a/examples/web-components-kitchen-sink/src/stories/addons/docs/notes/notes.mdx b/examples/web-components-kitchen-sink/src/stories/addons/docs/notes/notes.mdx
index 25b1df745979..906930d34547 100644
--- a/examples/web-components-kitchen-sink/src/stories/addons/docs/notes/notes.mdx
+++ b/examples/web-components-kitchen-sink/src/stories/addons/docs/notes/notes.mdx
@@ -1,4 +1,4 @@
-import { Story } from '@storybook/addon-docs/blocks';
+import { Story } from '@storybook/addon-docs';
# Welcome!
diff --git a/examples/web-components-kitchen-sink/yarn.lock b/examples/web-components-kitchen-sink/yarn.lock
index 6a5d0bab2b6a..13f9d3219930 100644
--- a/examples/web-components-kitchen-sink/yarn.lock
+++ b/examples/web-components-kitchen-sink/yarn.lock
@@ -1446,6 +1446,15 @@ __metadata:
languageName: node
linkType: hard
+"@babel/runtime@npm:^7.7.6":
+ version: 7.16.3
+ resolution: "@babel/runtime@npm:7.16.3"
+ dependencies:
+ regenerator-runtime: ^0.13.4
+ checksum: 37a7f334e8ad1383a78d39224ba9f95b94556189a0f1e93bc1b5729dc18d9eb5eb0ba3742073629cd4024fc101315fe8945931f80ba32518f651a4f0438ec4dc
+ languageName: node
+ linkType: hard
+
"@babel/template@npm:^7.12.7, @babel/template@npm:^7.14.5, @babel/template@npm:^7.3.3, @babel/template@npm:^7.7.0":
version: 7.14.5
resolution: "@babel/template@npm:7.14.5"
@@ -1510,22 +1519,22 @@ __metadata:
languageName: node
linkType: hard
-"@custom-elements-manifest/analyzer@npm:^0.3.11":
- version: 0.3.13
- resolution: "@custom-elements-manifest/analyzer@npm:0.3.13"
- dependencies:
- "@web/config-loader": ^0.1.3
- chokidar: ^3.5.2
- command-line-args: ^5.1.1
- comment-parser: ^1.1.5
- custom-elements-manifest: ^1.0.0
- debounce: ^1.2.1
- globby: ^11.0.1
- typescript: ^4.3.2
+"@custom-elements-manifest/analyzer@npm:^0.5.7":
+ version: 0.5.7
+ resolution: "@custom-elements-manifest/analyzer@npm:0.5.7"
+ dependencies:
+ "@web/config-loader": 0.1.3
+ chokidar: 3.5.2
+ command-line-args: 5.1.2
+ comment-parser: 1.2.4
+ custom-elements-manifest: 1.0.0
+ debounce: 1.2.1
+ globby: 11.0.4
+ typescript: ~4.3.2
bin:
cem: index.js
custom-elements-manifest: index.js
- checksum: 96c557b0e627522ec6b06934cd8a3317f0516b8d3eefaf9f25012ada72c1a260952ab37f5987608c158407a71c7df218196e2b136680ae0dcddccb2141f951e7
+ checksum: 48fc66cccd5f142a88404ffc211603c5b49c53f55072f8edc6ff05a511849923ed4b9691466591abdf21907c359cc4fce8d3058a5fa61425b8b97ccec4017f35
languageName: node
linkType: hard
@@ -1694,50 +1703,49 @@ __metadata:
languageName: node
linkType: hard
-"@jest/console@npm:^27.0.6":
- version: 27.0.6
- resolution: "@jest/console@npm:27.0.6"
+"@jest/console@npm:^27.3.1":
+ version: 27.3.1
+ resolution: "@jest/console@npm:27.3.1"
dependencies:
- "@jest/types": ^27.0.6
+ "@jest/types": ^27.2.5
"@types/node": "*"
chalk: ^4.0.0
- jest-message-util: ^27.0.6
- jest-util: ^27.0.6
+ jest-message-util: ^27.3.1
+ jest-util: ^27.3.1
slash: ^3.0.0
- checksum: b0fd8e9d1faf1080b5ad8176147c7632c810a5b144a4b3a92ef1cdcda86779268c740beff1566e74fa3d276cb60587c4d68f25181b3a64fed88143c2beaf6bf7
+ checksum: 941145b3c52a641bb0a8fc0f1e3b7599e3f32ff393df8e5235b245b1cbcadacca47d8fd79385fe22af3f8ec1a9a5e9ba66407b3a35a49477d591a0de9568e262
languageName: node
linkType: hard
-"@jest/core@npm:^27.0.6":
- version: 27.0.6
- resolution: "@jest/core@npm:27.0.6"
+"@jest/core@npm:^27.3.1":
+ version: 27.3.1
+ resolution: "@jest/core@npm:27.3.1"
dependencies:
- "@jest/console": ^27.0.6
- "@jest/reporters": ^27.0.6
- "@jest/test-result": ^27.0.6
- "@jest/transform": ^27.0.6
- "@jest/types": ^27.0.6
+ "@jest/console": ^27.3.1
+ "@jest/reporters": ^27.3.1
+ "@jest/test-result": ^27.3.1
+ "@jest/transform": ^27.3.1
+ "@jest/types": ^27.2.5
"@types/node": "*"
ansi-escapes: ^4.2.1
chalk: ^4.0.0
emittery: ^0.8.1
exit: ^0.1.2
graceful-fs: ^4.2.4
- jest-changed-files: ^27.0.6
- jest-config: ^27.0.6
- jest-haste-map: ^27.0.6
- jest-message-util: ^27.0.6
+ jest-changed-files: ^27.3.0
+ jest-config: ^27.3.1
+ jest-haste-map: ^27.3.1
+ jest-message-util: ^27.3.1
jest-regex-util: ^27.0.6
- jest-resolve: ^27.0.6
- jest-resolve-dependencies: ^27.0.6
- jest-runner: ^27.0.6
- jest-runtime: ^27.0.6
- jest-snapshot: ^27.0.6
- jest-util: ^27.0.6
- jest-validate: ^27.0.6
- jest-watcher: ^27.0.6
+ jest-resolve: ^27.3.1
+ jest-resolve-dependencies: ^27.3.1
+ jest-runner: ^27.3.1
+ jest-runtime: ^27.3.1
+ jest-snapshot: ^27.3.1
+ jest-util: ^27.3.1
+ jest-validate: ^27.3.1
+ jest-watcher: ^27.3.1
micromatch: ^4.0.4
- p-each-series: ^2.1.0
rimraf: ^3.0.0
slash: ^3.0.0
strip-ansi: ^6.0.0
@@ -1746,56 +1754,57 @@ __metadata:
peerDependenciesMeta:
node-notifier:
optional: true
- checksum: e9167d0d3b9bd3c3ee0908f6f32ad8175ed4abdbb27c9c2a1175e6ad839efa1d521099e0d4a46a955f1fcc5903fc7acd9444c3066e1ac9704d1ba9397b70cf5d
+ checksum: 12116ba5925d50a717ebab5fd70a7712749440c10379d7e6d2f3b775ea24f0552db0bbd7432f924d357a27cc365ec90574c715fe705632d5d9f387ac0b210962
languageName: node
linkType: hard
-"@jest/environment@npm:^27.0.6":
- version: 27.0.6
- resolution: "@jest/environment@npm:27.0.6"
+"@jest/environment@npm:^27.3.1":
+ version: 27.3.1
+ resolution: "@jest/environment@npm:27.3.1"
dependencies:
- "@jest/fake-timers": ^27.0.6
- "@jest/types": ^27.0.6
+ "@jest/fake-timers": ^27.3.1
+ "@jest/types": ^27.2.5
"@types/node": "*"
- jest-mock: ^27.0.6
- checksum: 61ae0d128d3e45fd8578aefcb78c6fb152f59fd67d424604bae85afb8aded030c9f2ecf809f8cb6f2143b2ade3cb62086c12d4c9f9022ffc2272cd6804fe973d
+ jest-mock: ^27.3.0
+ checksum: 3d0773c1a118c1ec325aeb8df0d750b0e47d5a9a2d8dbefd7cd4afd7b645660c9ac4678be4cc1bac16f287473bfffbfce99b15b1801ce0c0781aab378adee1d3
languageName: node
linkType: hard
-"@jest/fake-timers@npm:^27.0.6":
- version: 27.0.6
- resolution: "@jest/fake-timers@npm:27.0.6"
+"@jest/fake-timers@npm:^27.3.1":
+ version: 27.3.1
+ resolution: "@jest/fake-timers@npm:27.3.1"
dependencies:
- "@jest/types": ^27.0.6
- "@sinonjs/fake-timers": ^7.0.2
+ "@jest/types": ^27.2.5
+ "@sinonjs/fake-timers": ^8.0.1
"@types/node": "*"
- jest-message-util: ^27.0.6
- jest-mock: ^27.0.6
- jest-util: ^27.0.6
- checksum: 8641807432cf10f242ce26b6f2cf5d54d0252af68db613ebbba2d3431d9e37d1788b7a87219febff10acf38d340140b957a5ed6f0b624e57238bbc2d759dc03c
+ jest-message-util: ^27.3.1
+ jest-mock: ^27.3.0
+ jest-util: ^27.3.1
+ checksum: d982565483d79d24a26146509a063a2547e30665f8287e33d09a120e5d30c3251b23f899b8a9708ae4817ccc18e8c0ec7342fae10699a3b3f154f5ae95afb27c
languageName: node
linkType: hard
-"@jest/globals@npm:^27.0.6":
- version: 27.0.6
- resolution: "@jest/globals@npm:27.0.6"
+"@jest/globals@npm:^27.3.1":
+ version: 27.3.1
+ resolution: "@jest/globals@npm:27.3.1"
dependencies:
- "@jest/environment": ^27.0.6
- "@jest/types": ^27.0.6
- expect: ^27.0.6
- checksum: f7d50d9bc7908e2609e8d9714662479997cad4ccb3b75ad9100c8cca7e5cc85d5c2f21ad0ccdf50c926d79917c4fc0178a7ad992020adb50c82337c8b1469c79
+ "@jest/environment": ^27.3.1
+ "@jest/types": ^27.2.5
+ expect: ^27.3.1
+ checksum: 2fecfe6e9380f0433346a8a8df74e86b55e113addfd0b3c4ab1e589e24cdb9dbb590e11b48c7b13428163c854d88cd09ed18b8c28dba2a6db09c97b6b302c2a7
languageName: node
linkType: hard
-"@jest/reporters@npm:^27.0.6":
- version: 27.0.6
- resolution: "@jest/reporters@npm:27.0.6"
+"@jest/reporters@npm:^27.3.1":
+ version: 27.3.1
+ resolution: "@jest/reporters@npm:27.3.1"
dependencies:
"@bcoe/v8-coverage": ^0.2.3
- "@jest/console": ^27.0.6
- "@jest/test-result": ^27.0.6
- "@jest/transform": ^27.0.6
- "@jest/types": ^27.0.6
+ "@jest/console": ^27.3.1
+ "@jest/test-result": ^27.3.1
+ "@jest/transform": ^27.3.1
+ "@jest/types": ^27.2.5
+ "@types/node": "*"
chalk: ^4.0.0
collect-v8-coverage: ^1.0.0
exit: ^0.1.2
@@ -1806,21 +1815,21 @@ __metadata:
istanbul-lib-report: ^3.0.0
istanbul-lib-source-maps: ^4.0.0
istanbul-reports: ^3.0.2
- jest-haste-map: ^27.0.6
- jest-resolve: ^27.0.6
- jest-util: ^27.0.6
- jest-worker: ^27.0.6
+ jest-haste-map: ^27.3.1
+ jest-resolve: ^27.3.1
+ jest-util: ^27.3.1
+ jest-worker: ^27.3.1
slash: ^3.0.0
source-map: ^0.6.0
string-length: ^4.0.1
terminal-link: ^2.0.0
- v8-to-istanbul: ^8.0.0
+ v8-to-istanbul: ^8.1.0
peerDependencies:
node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0
peerDependenciesMeta:
node-notifier:
optional: true
- checksum: 6f94746cc5c9a2e5c061706d376da49808e066afbe0c459e07f665640b273f01177b4a1933264b7bb2a4b91aafe3976287b69d2f0be62e871cec76685a699394
+ checksum: 91c013c9ccab60b9a42a68f502b2631428e697c4a5cbbba7e9be108887425e338b2fe3c92b41c22f7903b35fa8bb18b89a7d3be2beae757cafc004881eb339c7
languageName: node
linkType: hard
@@ -1835,27 +1844,27 @@ __metadata:
languageName: node
linkType: hard
-"@jest/test-result@npm:^27.0.6":
- version: 27.0.6
- resolution: "@jest/test-result@npm:27.0.6"
+"@jest/test-result@npm:^27.3.1":
+ version: 27.3.1
+ resolution: "@jest/test-result@npm:27.3.1"
dependencies:
- "@jest/console": ^27.0.6
- "@jest/types": ^27.0.6
+ "@jest/console": ^27.3.1
+ "@jest/types": ^27.2.5
"@types/istanbul-lib-coverage": ^2.0.0
collect-v8-coverage: ^1.0.0
- checksum: a5bc94d230ee12238236a877f0db68d3eeb24d259e62299a8e1da414c04c93e94025e1fe18a9a574af17050117a31ccc30621b291257498f5ed7add317b634e9
+ checksum: 777b6d6e79819f15d7f66826da01bebd2fae70c8d39bb0345cfc1b7fb8d5eba551fd93362f071b30f0534a9d0b79dad47b5e909a7435a7eacb8f7f1dcf1cc5c4
languageName: node
linkType: hard
-"@jest/test-sequencer@npm:^27.0.6":
- version: 27.0.6
- resolution: "@jest/test-sequencer@npm:27.0.6"
+"@jest/test-sequencer@npm:^27.3.1":
+ version: 27.3.1
+ resolution: "@jest/test-sequencer@npm:27.3.1"
dependencies:
- "@jest/test-result": ^27.0.6
+ "@jest/test-result": ^27.3.1
graceful-fs: ^4.2.4
- jest-haste-map: ^27.0.6
- jest-runtime: ^27.0.6
- checksum: b480d3d5bab7bc6cdc8314374fe7e9a502ceeeb7f1c847f299dd3436590de2089d90d846fe57a9223481e4e43930c1b97a720c811ad3ab6a19f75ad4a11460f0
+ jest-haste-map: ^27.3.1
+ jest-runtime: ^27.3.1
+ checksum: 49ae76912890bd1e500ff0191172feed55bf4a915869a830a95549156162fbc22efbad896eee9cc490eb7dfde1c579b87acb1e48363468d56b5c0e445a0d431b
languageName: node
linkType: hard
@@ -1882,26 +1891,26 @@ __metadata:
languageName: node
linkType: hard
-"@jest/transform@npm:^27.0.6":
- version: 27.0.6
- resolution: "@jest/transform@npm:27.0.6"
+"@jest/transform@npm:^27.3.1":
+ version: 27.3.1
+ resolution: "@jest/transform@npm:27.3.1"
dependencies:
"@babel/core": ^7.1.0
- "@jest/types": ^27.0.6
+ "@jest/types": ^27.2.5
babel-plugin-istanbul: ^6.0.0
chalk: ^4.0.0
convert-source-map: ^1.4.0
fast-json-stable-stringify: ^2.0.0
graceful-fs: ^4.2.4
- jest-haste-map: ^27.0.6
+ jest-haste-map: ^27.3.1
jest-regex-util: ^27.0.6
- jest-util: ^27.0.6
+ jest-util: ^27.3.1
micromatch: ^4.0.4
pirates: ^4.0.1
slash: ^3.0.0
source-map: ^0.6.1
write-file-atomic: ^3.0.0
- checksum: 45b7e9a84262a3f4152cdf0f5a20f6af4550c8ff4ee8f372d7d63ff26451c8ac994a458e333664919a4937a37db2e937bcb8bfb38e6e7847b35cf062d8ea840e
+ checksum: d0d5f9feec2c6d0bf59e947d5f38a84b2cd2da67e842661b58d754fb83b3a054050fbc85b44a516c9572b5fc5a0333cfa630dc1cb084384309bcc31b65fcb774
languageName: node
linkType: hard
@@ -1918,23 +1927,23 @@ __metadata:
languageName: node
linkType: hard
-"@jest/types@npm:^27.0.6":
- version: 27.0.6
- resolution: "@jest/types@npm:27.0.6"
+"@jest/types@npm:^27.2.5":
+ version: 27.2.5
+ resolution: "@jest/types@npm:27.2.5"
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: a73e6399087b6a13e713713238b862bf42219617b85116da00639305f86511ca4688aafe891e86e74350bc8d2424d42f6066416378f771e94e3f41e5ae818a18
+ checksum: 81004021d4b3958b48ca723fff9deb8dd585643bcbaa3e3bbd8c6934a78f1fe8ed05ecd98c1577ca01043e674d299ceead41f3cb6cd38a6d5a1e36d4033e18f3
languageName: node
linkType: hard
-"@lit/reactive-element@npm:^1.0.0-rc.2":
- version: 1.0.0-rc.2
- resolution: "@lit/reactive-element@npm:1.0.0-rc.2"
- checksum: b04c5550c9eb8f45f6012bed1ee009da18a94c26869e9e96b63793005f63527846a22db43208cba4c5105eca787cf3b91a95cc1b53a50240808e2e76f61d66b4
+"@lit/reactive-element@npm:^1.0.0":
+ version: 1.0.2
+ resolution: "@lit/reactive-element@npm:1.0.2"
+ checksum: 531eafe6a62908674735a52602fd7a7c6692e86d15d9dc9979185209ee7d323d456b8faa445a9d19c241309f43d7325660f99e6ae569c6cf7a7662aa1fbf2145
languageName: node
linkType: hard
@@ -2053,21 +2062,6 @@ __metadata:
languageName: node
linkType: hard
-"@reach/router@npm:^1.3.4":
- version: 1.3.4
- resolution: "@reach/router@npm:1.3.4"
- dependencies:
- create-react-context: 0.3.0
- invariant: ^2.2.3
- prop-types: ^15.6.1
- react-lifecycles-compat: ^3.0.4
- peerDependencies:
- react: 15.x || 16.x || 16.4.0-alpha.0911da3
- react-dom: 15.x || 16.x || 16.4.0-alpha.0911da3
- checksum: 083fcb658ae5cd0de2b7ebe56bbb8c1b4aa6ec035038d41916afcdd2f31ffd7ccdd6848f7ee8e53d562c31fc4c1b1953fd7007eb9d57daf65779f344ca5a5373
- languageName: node
- linkType: hard
-
"@sinonjs/commons@npm:^1.7.0":
version: 1.8.3
resolution: "@sinonjs/commons@npm:1.8.3"
@@ -2077,12 +2071,12 @@ __metadata:
languageName: node
linkType: hard
-"@sinonjs/fake-timers@npm:^7.0.2":
- version: 7.1.2
- resolution: "@sinonjs/fake-timers@npm:7.1.2"
+"@sinonjs/fake-timers@npm:^8.0.1":
+ version: 8.1.0
+ resolution: "@sinonjs/fake-timers@npm:8.1.0"
dependencies:
"@sinonjs/commons": ^1.7.0
- checksum: c94de47ff2eceb2a7009c970f932509e81e474b555ea994343aea4c87aed26844ba298a70d585c0769e63fe379ebae6aaad61d37b3bca71f740a8d3d49f1bc27
+ checksum: d6b795f9ddaf044daf184c151555ca557ccd23636f2ee3d2f76a9d128329f81fc1aac412f6f67239ab92cb9390aad9955b71df93cf4bd442c68b1f341e381ab6
languageName: node
linkType: hard
@@ -2090,14 +2084,14 @@ __metadata:
version: 0.0.0-use.local
resolution: "@storybook/addon-a11y@portal:../../addons/a11y::locator=web-components-kitchen-sink%40workspace%3A."
dependencies:
- "@storybook/addons": 6.4.0-beta.14
- "@storybook/api": 6.4.0-beta.14
- "@storybook/channels": 6.4.0-beta.14
- "@storybook/client-logger": 6.4.0-beta.14
- "@storybook/components": 6.4.0-beta.14
- "@storybook/core-events": 6.4.0-beta.14
+ "@storybook/addons": 6.4.0-rc.5
+ "@storybook/api": 6.4.0-rc.5
+ "@storybook/channels": 6.4.0-rc.5
+ "@storybook/client-logger": 6.4.0-rc.5
+ "@storybook/components": 6.4.0-rc.5
+ "@storybook/core-events": 6.4.0-rc.5
"@storybook/csf": 0.0.2--canary.87bc651.0
- "@storybook/theming": 6.4.0-beta.14
+ "@storybook/theming": 6.4.0-rc.5
axe-core: ^4.2.0
core-js: ^3.8.2
global: ^4.4.0
@@ -2121,12 +2115,12 @@ __metadata:
version: 0.0.0-use.local
resolution: "@storybook/addon-actions@portal:../../addons/actions::locator=web-components-kitchen-sink%40workspace%3A."
dependencies:
- "@storybook/addons": 6.4.0-beta.14
- "@storybook/api": 6.4.0-beta.14
- "@storybook/components": 6.4.0-beta.14
- "@storybook/core-events": 6.4.0-beta.14
+ "@storybook/addons": 6.4.0-rc.5
+ "@storybook/api": 6.4.0-rc.5
+ "@storybook/components": 6.4.0-rc.5
+ "@storybook/core-events": 6.4.0-rc.5
"@storybook/csf": 0.0.2--canary.87bc651.0
- "@storybook/theming": 6.4.0-beta.14
+ "@storybook/theming": 6.4.0-rc.5
core-js: ^3.8.2
fast-deep-equal: ^3.1.3
global: ^4.4.0
@@ -2135,6 +2129,7 @@ __metadata:
prop-types: ^15.7.2
react-inspector: ^5.1.0
regenerator-runtime: ^0.13.7
+ telejson: ^5.3.2
ts-dedent: ^2.0.0
util-deprecate: ^1.0.2
uuid-browser: ^3.1.0
@@ -2153,13 +2148,13 @@ __metadata:
version: 0.0.0-use.local
resolution: "@storybook/addon-backgrounds@portal:../../addons/backgrounds::locator=web-components-kitchen-sink%40workspace%3A."
dependencies:
- "@storybook/addons": 6.4.0-beta.14
- "@storybook/api": 6.4.0-beta.14
- "@storybook/client-logger": 6.4.0-beta.14
- "@storybook/components": 6.4.0-beta.14
- "@storybook/core-events": 6.4.0-beta.14
+ "@storybook/addons": 6.4.0-rc.5
+ "@storybook/api": 6.4.0-rc.5
+ "@storybook/client-logger": 6.4.0-rc.5
+ "@storybook/components": 6.4.0-rc.5
+ "@storybook/core-events": 6.4.0-rc.5
"@storybook/csf": 0.0.2--canary.87bc651.0
- "@storybook/theming": 6.4.0-beta.14
+ "@storybook/theming": 6.4.0-rc.5
core-js: ^3.8.2
global: ^4.4.0
memoizerific: ^1.11.3
@@ -2181,15 +2176,15 @@ __metadata:
version: 0.0.0-use.local
resolution: "@storybook/addon-controls@portal:../../addons/controls::locator=web-components-kitchen-sink%40workspace%3A."
dependencies:
- "@storybook/addons": 6.4.0-beta.14
- "@storybook/api": 6.4.0-beta.14
- "@storybook/client-logger": 6.4.0-beta.14
- "@storybook/components": 6.4.0-beta.14
- "@storybook/core-common": 6.4.0-beta.14
+ "@storybook/addons": 6.4.0-rc.5
+ "@storybook/api": 6.4.0-rc.5
+ "@storybook/client-logger": 6.4.0-rc.5
+ "@storybook/components": 6.4.0-rc.5
+ "@storybook/core-common": 6.4.0-rc.5
"@storybook/csf": 0.0.2--canary.87bc651.0
- "@storybook/node-logger": 6.4.0-beta.14
- "@storybook/store": 6.4.0-beta.14
- "@storybook/theming": 6.4.0-beta.14
+ "@storybook/node-logger": 6.4.0-rc.5
+ "@storybook/store": 6.4.0-rc.5
+ "@storybook/theming": 6.4.0-rc.5
core-js: ^3.8.2
lodash: ^4.17.20
ts-dedent: ^2.0.0
@@ -2217,22 +2212,21 @@ __metadata:
"@mdx-js/loader": ^1.6.22
"@mdx-js/mdx": ^1.6.22
"@mdx-js/react": ^1.6.22
- "@storybook/addons": 6.4.0-beta.14
- "@storybook/api": 6.4.0-beta.14
- "@storybook/builder-webpack4": 6.4.0-beta.14
- "@storybook/client-api": 6.4.0-beta.14
- "@storybook/client-logger": 6.4.0-beta.14
- "@storybook/components": 6.4.0-beta.14
- "@storybook/core": 6.4.0-beta.14
- "@storybook/core-events": 6.4.0-beta.14
+ "@storybook/addons": 6.4.0-rc.5
+ "@storybook/api": 6.4.0-rc.5
+ "@storybook/builder-webpack4": 6.4.0-rc.5
+ "@storybook/client-logger": 6.4.0-rc.5
+ "@storybook/components": 6.4.0-rc.5
+ "@storybook/core": 6.4.0-rc.5
+ "@storybook/core-events": 6.4.0-rc.5
"@storybook/csf": 0.0.2--canary.87bc651.0
- "@storybook/csf-tools": 6.4.0-beta.14
- "@storybook/node-logger": 6.4.0-beta.14
- "@storybook/postinstall": 6.4.0-beta.14
- "@storybook/preview-web": 6.4.0-beta.14
- "@storybook/source-loader": 6.4.0-beta.14
- "@storybook/store": 6.4.0-beta.14
- "@storybook/theming": 6.4.0-beta.14
+ "@storybook/csf-tools": 6.4.0-rc.5
+ "@storybook/node-logger": 6.4.0-rc.5
+ "@storybook/postinstall": 6.4.0-rc.5
+ "@storybook/preview-web": 6.4.0-rc.5
+ "@storybook/source-loader": 6.4.0-rc.5
+ "@storybook/store": 6.4.0-rc.5
+ "@storybook/theming": 6.4.0-rc.5
acorn: ^7.4.1
acorn-jsx: ^5.3.1
acorn-walk: ^7.2.0
@@ -2256,14 +2250,14 @@ __metadata:
ts-dedent: ^2.0.0
util-deprecate: ^1.0.2
peerDependencies:
- "@storybook/angular": 6.4.0-beta.14
- "@storybook/html": 6.4.0-beta.14
- "@storybook/react": 6.4.0-beta.14
- "@storybook/vue": 6.4.0-beta.14
- "@storybook/vue3": 6.4.0-beta.14
- "@storybook/web-components": 6.4.0-beta.14
- lit: ^2.0.0-rc.1
- lit-html: ^1.4.1 || ^2.0.0-rc.3
+ "@storybook/angular": 6.4.0-rc.5
+ "@storybook/html": 6.4.0-rc.5
+ "@storybook/react": 6.4.0-rc.5
+ "@storybook/vue": 6.4.0-rc.5
+ "@storybook/vue3": 6.4.0-rc.5
+ "@storybook/web-components": 6.4.0-rc.5
+ lit: ^2.0.0
+ lit-html: ^1.4.1 || ^2.0.0
react: ^16.8.0 || ^17.0.0
react-dom: ^16.8.0 || ^17.0.0
svelte: ^3.31.2
@@ -2332,11 +2326,11 @@ __metadata:
version: 0.0.0-use.local
resolution: "@storybook/addon-links@portal:../../addons/links::locator=web-components-kitchen-sink%40workspace%3A."
dependencies:
- "@storybook/addons": 6.4.0-beta.14
- "@storybook/client-logger": 6.4.0-beta.14
- "@storybook/core-events": 6.4.0-beta.14
+ "@storybook/addons": 6.4.0-rc.5
+ "@storybook/client-logger": 6.4.0-rc.5
+ "@storybook/core-events": 6.4.0-rc.5
"@storybook/csf": 0.0.2--canary.87bc651.0
- "@storybook/router": 6.4.0-beta.14
+ "@storybook/router": 6.4.0-rc.5
"@types/qs": ^6.9.5
core-js: ^3.8.2
global: ^4.4.0
@@ -2360,16 +2354,16 @@ __metadata:
resolution: "@storybook/addon-storyshots@portal:../../addons/storyshots/storyshots-core::locator=web-components-kitchen-sink%40workspace%3A."
dependencies:
"@jest/transform": ^26.6.2
- "@storybook/addons": 6.4.0-beta.14
- "@storybook/client-api": 6.4.0-beta.14
- "@storybook/core": 6.4.0-beta.14
- "@storybook/core-client": 6.4.0-beta.14
- "@storybook/core-common": 6.4.0-beta.14
+ "@storybook/addons": 6.4.0-rc.5
+ "@storybook/babel-plugin-require-context-hook": 1.0.1
+ "@storybook/client-api": 6.4.0-rc.5
+ "@storybook/core": 6.4.0-rc.5
+ "@storybook/core-client": 6.4.0-rc.5
+ "@storybook/core-common": 6.4.0-rc.5
"@storybook/csf": 0.0.2--canary.87bc651.0
"@types/glob": ^7.1.3
"@types/jest": ^26.0.16
"@types/jest-specific-snapshot": ^0.5.3
- babel-plugin-require-context-hook: ^1.0.0
core-js: ^3.8.2
glob: ^7.1.6
global: ^4.4.0
@@ -2435,13 +2429,13 @@ __metadata:
version: 0.0.0-use.local
resolution: "@storybook/addon-storysource@portal:../../addons/storysource::locator=web-components-kitchen-sink%40workspace%3A."
dependencies:
- "@storybook/addons": 6.4.0-beta.14
- "@storybook/api": 6.4.0-beta.14
- "@storybook/client-logger": 6.4.0-beta.14
- "@storybook/components": 6.4.0-beta.14
- "@storybook/router": 6.4.0-beta.14
- "@storybook/source-loader": 6.4.0-beta.14
- "@storybook/theming": 6.4.0-beta.14
+ "@storybook/addons": 6.4.0-rc.5
+ "@storybook/api": 6.4.0-rc.5
+ "@storybook/client-logger": 6.4.0-rc.5
+ "@storybook/components": 6.4.0-rc.5
+ "@storybook/router": 6.4.0-rc.5
+ "@storybook/source-loader": 6.4.0-rc.5
+ "@storybook/theming": 6.4.0-rc.5
core-js: ^3.8.2
estraverse: ^5.2.0
loader-utils: ^2.0.0
@@ -2464,12 +2458,12 @@ __metadata:
version: 0.0.0-use.local
resolution: "@storybook/addon-viewport@portal:../../addons/viewport::locator=web-components-kitchen-sink%40workspace%3A."
dependencies:
- "@storybook/addons": 6.4.0-beta.14
- "@storybook/api": 6.4.0-beta.14
- "@storybook/client-logger": 6.4.0-beta.14
- "@storybook/components": 6.4.0-beta.14
- "@storybook/core-events": 6.4.0-beta.14
- "@storybook/theming": 6.4.0-beta.14
+ "@storybook/addons": 6.4.0-rc.5
+ "@storybook/api": 6.4.0-rc.5
+ "@storybook/client-logger": 6.4.0-rc.5
+ "@storybook/components": 6.4.0-rc.5
+ "@storybook/core-events": 6.4.0-rc.5
+ "@storybook/theming": 6.4.0-rc.5
core-js: ^3.8.2
global: ^4.4.0
memoizerific: ^1.11.3
@@ -2490,13 +2484,13 @@ __metadata:
version: 0.0.0-use.local
resolution: "@storybook/addons@portal:../../lib/addons::locator=web-components-kitchen-sink%40workspace%3A."
dependencies:
- "@storybook/api": 6.4.0-beta.14
- "@storybook/channels": 6.4.0-beta.14
- "@storybook/client-logger": 6.4.0-beta.14
- "@storybook/core-events": 6.4.0-beta.14
+ "@storybook/api": 6.4.0-rc.5
+ "@storybook/channels": 6.4.0-rc.5
+ "@storybook/client-logger": 6.4.0-rc.5
+ "@storybook/core-events": 6.4.0-rc.5
"@storybook/csf": 0.0.2--canary.87bc651.0
- "@storybook/router": 6.4.0-beta.14
- "@storybook/theming": 6.4.0-beta.14
+ "@storybook/router": 6.4.0-rc.5
+ "@storybook/theming": 6.4.0-rc.5
"@types/webpack-env": ^1.16.0
core-js: ^3.8.2
global: ^4.4.0
@@ -2511,21 +2505,18 @@ __metadata:
version: 0.0.0-use.local
resolution: "@storybook/api@portal:../../lib/api::locator=web-components-kitchen-sink%40workspace%3A."
dependencies:
- "@reach/router": ^1.3.4
- "@storybook/channels": 6.4.0-beta.14
- "@storybook/client-logger": 6.4.0-beta.14
- "@storybook/core-events": 6.4.0-beta.14
+ "@storybook/channels": 6.4.0-rc.5
+ "@storybook/client-logger": 6.4.0-rc.5
+ "@storybook/core-events": 6.4.0-rc.5
"@storybook/csf": 0.0.2--canary.87bc651.0
- "@storybook/router": 6.4.0-beta.14
+ "@storybook/router": 6.4.0-rc.5
"@storybook/semver": ^7.3.2
- "@storybook/theming": 6.4.0-beta.14
- "@types/reach__router": ^1.3.7
+ "@storybook/theming": 6.4.0-rc.5
core-js: ^3.8.2
fast-deep-equal: ^3.1.3
global: ^4.4.0
lodash: ^4.17.20
memoizerific: ^1.11.3
- qs: ^6.10.0
regenerator-runtime: ^0.13.7
store2: ^2.12.0
telejson: ^5.3.2
@@ -2537,6 +2528,13 @@ __metadata:
languageName: node
linkType: soft
+"@storybook/babel-plugin-require-context-hook@npm:1.0.1":
+ version: 1.0.1
+ resolution: "@storybook/babel-plugin-require-context-hook@npm:1.0.1"
+ checksum: 3baca2838cd0a9901fb8019736e61de45b82f9f52afb279c3df73cd8d0fe42b0f0742e21556e7ebce71838afccdb95324153e425a337e617975812fe461eefc0
+ languageName: node
+ linkType: hard
+
"@storybook/builder-webpack4@portal:../../lib/builder-webpack4::locator=web-components-kitchen-sink%40workspace%3A.":
version: 0.0.0-use.local
resolution: "@storybook/builder-webpack4@portal:../../lib/builder-webpack4::locator=web-components-kitchen-sink%40workspace%3A."
@@ -2562,22 +2560,22 @@ __metadata:
"@babel/preset-env": ^7.12.11
"@babel/preset-react": ^7.12.10
"@babel/preset-typescript": ^7.12.7
- "@storybook/addons": 6.4.0-beta.14
- "@storybook/api": 6.4.0-beta.14
- "@storybook/channel-postmessage": 6.4.0-beta.14
- "@storybook/channels": 6.4.0-beta.14
- "@storybook/client-api": 6.4.0-beta.14
- "@storybook/client-logger": 6.4.0-beta.14
- "@storybook/components": 6.4.0-beta.14
- "@storybook/core-common": 6.4.0-beta.14
- "@storybook/core-events": 6.4.0-beta.14
- "@storybook/node-logger": 6.4.0-beta.14
- "@storybook/preview-web": 6.4.0-beta.14
- "@storybook/router": 6.4.0-beta.14
+ "@storybook/addons": 6.4.0-rc.5
+ "@storybook/api": 6.4.0-rc.5
+ "@storybook/channel-postmessage": 6.4.0-rc.5
+ "@storybook/channels": 6.4.0-rc.5
+ "@storybook/client-api": 6.4.0-rc.5
+ "@storybook/client-logger": 6.4.0-rc.5
+ "@storybook/components": 6.4.0-rc.5
+ "@storybook/core-common": 6.4.0-rc.5
+ "@storybook/core-events": 6.4.0-rc.5
+ "@storybook/node-logger": 6.4.0-rc.5
+ "@storybook/preview-web": 6.4.0-rc.5
+ "@storybook/router": 6.4.0-rc.5
"@storybook/semver": ^7.3.2
- "@storybook/store": 6.4.0-beta.14
- "@storybook/theming": 6.4.0-beta.14
- "@storybook/ui": 6.4.0-beta.14
+ "@storybook/store": 6.4.0-rc.5
+ "@storybook/theming": 6.4.0-rc.5
+ "@storybook/ui": 6.4.0-rc.5
"@types/node": ^14.0.10
"@types/webpack": ^4.41.26
autoprefixer: ^9.8.6
@@ -2624,9 +2622,9 @@ __metadata:
version: 0.0.0-use.local
resolution: "@storybook/channel-postmessage@portal:../../lib/channel-postmessage::locator=web-components-kitchen-sink%40workspace%3A."
dependencies:
- "@storybook/channels": 6.4.0-beta.14
- "@storybook/client-logger": 6.4.0-beta.14
- "@storybook/core-events": 6.4.0-beta.14
+ "@storybook/channels": 6.4.0-rc.5
+ "@storybook/client-logger": 6.4.0-rc.5
+ "@storybook/core-events": 6.4.0-rc.5
core-js: ^3.8.2
global: ^4.4.0
qs: ^6.10.0
@@ -2634,6 +2632,18 @@ __metadata:
languageName: node
linkType: soft
+"@storybook/channel-websocket@portal:../../lib/channel-websocket::locator=web-components-kitchen-sink%40workspace%3A.":
+ 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.4.0-rc.5
+ "@storybook/client-logger": 6.4.0-rc.5
+ core-js: ^3.8.2
+ global: ^4.4.0
+ telejson: ^5.3.2
+ languageName: node
+ linkType: soft
+
"@storybook/channels@portal:../../lib/channels::locator=web-components-kitchen-sink%40workspace%3A.":
version: 0.0.0-use.local
resolution: "@storybook/channels@portal:../../lib/channels::locator=web-components-kitchen-sink%40workspace%3A."
@@ -2648,13 +2658,13 @@ __metadata:
version: 0.0.0-use.local
resolution: "@storybook/client-api@portal:../../lib/client-api::locator=web-components-kitchen-sink%40workspace%3A."
dependencies:
- "@storybook/addons": 6.4.0-beta.14
- "@storybook/channel-postmessage": 6.4.0-beta.14
- "@storybook/channels": 6.4.0-beta.14
- "@storybook/client-logger": 6.4.0-beta.14
- "@storybook/core-events": 6.4.0-beta.14
+ "@storybook/addons": 6.4.0-rc.5
+ "@storybook/channel-postmessage": 6.4.0-rc.5
+ "@storybook/channels": 6.4.0-rc.5
+ "@storybook/client-logger": 6.4.0-rc.5
+ "@storybook/core-events": 6.4.0-rc.5
"@storybook/csf": 0.0.2--canary.87bc651.0
- "@storybook/store": 6.4.0-beta.14
+ "@storybook/store": 6.4.0-rc.5
"@types/qs": ^6.9.5
"@types/webpack-env": ^1.16.0
core-js: ^3.8.2
@@ -2665,6 +2675,7 @@ __metadata:
qs: ^6.10.0
regenerator-runtime: ^0.13.7
store2: ^2.12.0
+ synchronous-promise: ^2.0.15
ts-dedent: ^2.0.0
util-deprecate: ^1.0.2
peerDependencies:
@@ -2687,9 +2698,9 @@ __metadata:
resolution: "@storybook/components@portal:../../lib/components::locator=web-components-kitchen-sink%40workspace%3A."
dependencies:
"@popperjs/core": ^2.6.0
- "@storybook/client-logger": 6.4.0-beta.14
+ "@storybook/client-logger": 6.4.0-rc.5
"@storybook/csf": 0.0.2--canary.87bc651.0
- "@storybook/theming": 6.4.0-beta.14
+ "@storybook/theming": 6.4.0-rc.5
"@types/color-convert": ^2.0.0
"@types/overlayscrollbars": ^1.12.0
"@types/react-syntax-highlighter": 11.0.5
@@ -2720,15 +2731,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.4.0-beta.14
- "@storybook/channel-postmessage": 6.4.0-beta.14
- "@storybook/client-api": 6.4.0-beta.14
- "@storybook/client-logger": 6.4.0-beta.14
- "@storybook/core-events": 6.4.0-beta.14
+ "@storybook/addons": 6.4.0-rc.5
+ "@storybook/channel-postmessage": 6.4.0-rc.5
+ "@storybook/channel-websocket": 6.4.0-rc.5
+ "@storybook/client-api": 6.4.0-rc.5
+ "@storybook/client-logger": 6.4.0-rc.5
+ "@storybook/core-events": 6.4.0-rc.5
"@storybook/csf": 0.0.2--canary.87bc651.0
- "@storybook/preview-web": 6.4.0-beta.14
- "@storybook/store": 6.4.0-beta.14
- "@storybook/ui": 6.4.0-beta.14
+ "@storybook/preview-web": 6.4.0-rc.5
+ "@storybook/store": 6.4.0-rc.5
+ "@storybook/ui": 6.4.0-rc.5
airbnb-js-shims: ^2.2.1
ansi-to-html: ^0.6.11
core-js: ^3.8.2
@@ -2774,9 +2786,8 @@ __metadata:
"@babel/preset-react": ^7.12.10
"@babel/preset-typescript": ^7.12.7
"@babel/register": ^7.12.1
- "@storybook/node-logger": 6.4.0-beta.14
+ "@storybook/node-logger": 6.4.0-rc.5
"@storybook/semver": ^7.3.2
- "@types/micromatch": ^4.0.1
"@types/node": ^14.0.10
"@types/pretty-hrtime": ^1.0.0
babel-loader: ^8.0.0
@@ -2794,11 +2805,12 @@ __metadata:
interpret: ^2.2.0
json5: ^2.1.3
lazy-universal-dotenv: ^3.0.1
- micromatch: ^4.0.2
+ picomatch: ^2.3.0
pkg-dir: ^5.0.0
pretty-hrtime: ^1.0.3
resolve-from: ^5.0.0
slash: ^3.0.0
+ telejson: ^5.3.2
ts-dedent: ^2.0.0
util-deprecate: ^1.0.2
webpack: 4
@@ -2824,15 +2836,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.4.0-beta.14
- "@storybook/core-client": 6.4.0-beta.14
- "@storybook/core-common": 6.4.0-beta.14
+ "@storybook/builder-webpack4": 6.4.0-rc.5
+ "@storybook/core-client": 6.4.0-rc.5
+ "@storybook/core-common": 6.4.0-rc.5
+ "@storybook/core-events": 6.4.0-rc.5
"@storybook/csf": 0.0.2--canary.87bc651.0
- "@storybook/csf-tools": 6.4.0-beta.14
- "@storybook/manager-webpack4": 6.4.0-beta.14
- "@storybook/node-logger": 6.4.0-beta.14
+ "@storybook/csf-tools": 6.4.0-rc.5
+ "@storybook/manager-webpack4": 6.4.0-rc.5
+ "@storybook/node-logger": 6.4.0-rc.5
"@storybook/semver": ^7.3.2
- "@storybook/store": 6.4.0-beta.14
+ "@storybook/store": 6.4.0-rc.5
"@types/node": ^14.0.10
"@types/node-fetch": ^2.5.7
"@types/pretty-hrtime": ^1.0.0
@@ -2851,18 +2864,22 @@ __metadata:
fs-extra: ^9.0.1
globby: ^11.0.2
ip: ^1.1.5
+ lodash: ^4.17.20
node-fetch: ^2.6.1
pretty-hrtime: ^1.0.3
prompts: ^2.4.0
regenerator-runtime: ^0.13.7
serve-favicon: ^2.5.0
+ slash: ^3.0.0
+ telejson: ^5.3.3
ts-dedent: ^2.0.0
util-deprecate: ^1.0.2
watchpack: ^2.2.0
webpack: 4
+ ws: ^8.2.3
peerDependencies:
- "@storybook/builder-webpack5": 6.4.0-beta.14
- "@storybook/manager-webpack5": 6.4.0-beta.14
+ "@storybook/builder-webpack5": 6.4.0-rc.5
+ "@storybook/manager-webpack5": 6.4.0-rc.5
react: ^16.8.0 || ^17.0.0
react-dom: ^16.8.0 || ^17.0.0
peerDependenciesMeta:
@@ -2879,10 +2896,10 @@ __metadata:
version: 0.0.0-use.local
resolution: "@storybook/core@portal:../../lib/core::locator=web-components-kitchen-sink%40workspace%3A."
dependencies:
- "@storybook/core-client": 6.4.0-beta.14
- "@storybook/core-server": 6.4.0-beta.14
+ "@storybook/core-client": 6.4.0-rc.5
+ "@storybook/core-server": 6.4.0-rc.5
peerDependencies:
- "@storybook/builder-webpack5": 6.4.0-beta.14
+ "@storybook/builder-webpack5": 6.4.0-rc.5
react: ^16.8.0 || ^17.0.0
react-dom: ^16.8.0 || ^17.0.0
webpack: "*"
@@ -2934,12 +2951,12 @@ __metadata:
"@babel/core": ^7.12.10
"@babel/plugin-transform-template-literals": ^7.12.1
"@babel/preset-react": ^7.12.10
- "@storybook/addons": 6.4.0-beta.14
- "@storybook/core-client": 6.4.0-beta.14
- "@storybook/core-common": 6.4.0-beta.14
- "@storybook/node-logger": 6.4.0-beta.14
- "@storybook/theming": 6.4.0-beta.14
- "@storybook/ui": 6.4.0-beta.14
+ "@storybook/addons": 6.4.0-rc.5
+ "@storybook/core-client": 6.4.0-rc.5
+ "@storybook/core-common": 6.4.0-rc.5
+ "@storybook/node-logger": 6.4.0-rc.5
+ "@storybook/theming": 6.4.0-rc.5
+ "@storybook/ui": 6.4.0-rc.5
"@types/node": ^14.0.10
"@types/webpack": ^4.41.26
babel-loader: ^8.0.0
@@ -3000,18 +3017,19 @@ __metadata:
version: 0.0.0-use.local
resolution: "@storybook/preview-web@portal:../../lib/preview-web::locator=web-components-kitchen-sink%40workspace%3A."
dependencies:
- "@storybook/addons": 6.4.0-beta.14
- "@storybook/channel-postmessage": 6.4.0-beta.14
- "@storybook/client-logger": 6.4.0-beta.14
- "@storybook/core-events": 6.4.0-beta.14
+ "@storybook/addons": 6.4.0-rc.5
+ "@storybook/channel-postmessage": 6.4.0-rc.5
+ "@storybook/client-logger": 6.4.0-rc.5
+ "@storybook/core-events": 6.4.0-rc.5
"@storybook/csf": 0.0.2--canary.87bc651.0
- "@storybook/store": 6.4.0-beta.14
+ "@storybook/store": 6.4.0-rc.5
ansi-to-html: ^0.6.11
core-js: ^3.8.2
global: ^4.4.0
lodash: ^4.17.20
qs: ^6.10.0
regenerator-runtime: ^0.13.7
+ synchronous-promise: ^2.0.15
ts-dedent: ^2.0.0
unfetch: ^4.2.0
util-deprecate: ^1.0.2
@@ -3025,15 +3043,16 @@ __metadata:
version: 0.0.0-use.local
resolution: "@storybook/router@portal:../../lib/router::locator=web-components-kitchen-sink%40workspace%3A."
dependencies:
- "@reach/router": ^1.3.4
- "@storybook/client-logger": 6.4.0-beta.14
- "@types/reach__router": ^1.3.7
+ "@storybook/client-logger": 6.4.0-rc.5
core-js: ^3.8.2
fast-deep-equal: ^3.1.3
global: ^4.4.0
+ history: 5.0.0
lodash: ^4.17.20
memoizerific: ^1.11.3
qs: ^6.10.0
+ react-router: ^6.0.0
+ react-router-dom: ^6.0.0
ts-dedent: ^2.0.0
peerDependencies:
react: ^16.8.0 || ^17.0.0
@@ -3057,8 +3076,8 @@ __metadata:
version: 0.0.0-use.local
resolution: "@storybook/source-loader@portal:../../lib/source-loader::locator=web-components-kitchen-sink%40workspace%3A."
dependencies:
- "@storybook/addons": 6.4.0-beta.14
- "@storybook/client-logger": 6.4.0-beta.14
+ "@storybook/addons": 6.4.0-rc.5
+ "@storybook/client-logger": 6.4.0-rc.5
"@storybook/csf": 0.0.2--canary.87bc651.0
core-js: ^3.8.2
estraverse: ^5.2.0
@@ -3077,9 +3096,9 @@ __metadata:
version: 0.0.0-use.local
resolution: "@storybook/store@portal:../../lib/store::locator=web-components-kitchen-sink%40workspace%3A."
dependencies:
- "@storybook/addons": 6.4.0-beta.14
- "@storybook/client-logger": 6.4.0-beta.14
- "@storybook/core-events": 6.4.0-beta.14
+ "@storybook/addons": 6.4.0-rc.5
+ "@storybook/client-logger": 6.4.0-rc.5
+ "@storybook/core-events": 6.4.0-rc.5
"@storybook/csf": 0.0.2--canary.87bc651.0
core-js: ^3.8.2
fast-deep-equal: ^3.1.3
@@ -3089,6 +3108,7 @@ __metadata:
regenerator-runtime: ^0.13.7
slash: ^3.0.0
stable: ^0.1.8
+ synchronous-promise: ^2.0.15
ts-dedent: ^2.0.0
util-deprecate: ^1.0.2
languageName: node
@@ -3101,7 +3121,7 @@ __metadata:
"@emotion/core": ^10.1.1
"@emotion/is-prop-valid": ^0.8.6
"@emotion/styled": ^10.0.27
- "@storybook/client-logger": 6.4.0-beta.14
+ "@storybook/client-logger": 6.4.0-rc.5
core-js: ^3.8.2
deep-object-diff: ^1.1.0
emotion-theming: ^10.0.27
@@ -3121,15 +3141,15 @@ __metadata:
resolution: "@storybook/ui@portal:../../lib/ui::locator=web-components-kitchen-sink%40workspace%3A."
dependencies:
"@emotion/core": ^10.1.1
- "@storybook/addons": 6.4.0-beta.14
- "@storybook/api": 6.4.0-beta.14
- "@storybook/channels": 6.4.0-beta.14
- "@storybook/client-logger": 6.4.0-beta.14
- "@storybook/components": 6.4.0-beta.14
- "@storybook/core-events": 6.4.0-beta.14
- "@storybook/router": 6.4.0-beta.14
+ "@storybook/addons": 6.4.0-rc.5
+ "@storybook/api": 6.4.0-rc.5
+ "@storybook/channels": 6.4.0-rc.5
+ "@storybook/client-logger": 6.4.0-rc.5
+ "@storybook/components": 6.4.0-rc.5
+ "@storybook/core-events": 6.4.0-rc.5
+ "@storybook/router": 6.4.0-rc.5
"@storybook/semver": ^7.3.2
- "@storybook/theming": 6.4.0-beta.14
+ "@storybook/theming": 6.4.0-rc.5
copy-to-clipboard: ^3.3.1
core-js: ^3.8.2
core-js-pure: ^3.8.2
@@ -3161,13 +3181,13 @@ __metadata:
"@babel/plugin-syntax-dynamic-import": ^7.8.3
"@babel/plugin-syntax-import-meta": ^7.10.4
"@babel/preset-env": ^7.12.11
- "@storybook/addons": 6.4.0-beta.14
- "@storybook/client-api": 6.4.0-beta.14
- "@storybook/core": 6.4.0-beta.14
- "@storybook/core-common": 6.4.0-beta.14
+ "@storybook/addons": 6.4.0-rc.5
+ "@storybook/client-api": 6.4.0-rc.5
+ "@storybook/core": 6.4.0-rc.5
+ "@storybook/core-common": 6.4.0-rc.5
"@storybook/csf": 0.0.2--canary.87bc651.0
- "@storybook/preview-web": 6.4.0-beta.14
- "@storybook/store": 6.4.0-beta.14
+ "@storybook/preview-web": 6.4.0-rc.5
+ "@storybook/store": 6.4.0-rc.5
"@types/webpack-env": ^1.16.0
babel-plugin-bundled-import-meta: ^0.3.1
core-js: ^3.8.2
@@ -3178,7 +3198,7 @@ __metadata:
regenerator-runtime: ^0.13.7
ts-dedent: ^2.0.0
peerDependencies:
- lit-html: ^1.4.1 || ^2.0.0-rc.3
+ lit-html: ^1.4.1 || ^2.0.0
bin:
build-storybook: ./bin/build.js
start-storybook: ./bin/index.js
@@ -3234,13 +3254,6 @@ __metadata:
languageName: node
linkType: hard
-"@types/braces@npm:*":
- version: 3.0.1
- resolution: "@types/braces@npm:3.0.1"
- checksum: 2052cf78c7378ceb692b823f743ac3a838b05f4c27f6eba3e5b6e298fd11d64322b1c7be1fa0eb53d99d9c6049202bf16a88ec1f40ebfd09e086b54eb69ff767
- languageName: node
- linkType: hard
-
"@types/color-convert@npm:^2.0.0":
version: 2.0.0
resolution: "@types/color-convert@npm:2.0.0"
@@ -3359,15 +3372,6 @@ __metadata:
languageName: node
linkType: hard
-"@types/micromatch@npm:^4.0.1":
- version: 4.0.2
- resolution: "@types/micromatch@npm:4.0.2"
- dependencies:
- "@types/braces": "*"
- checksum: e557324460e658283778c77d0f8995ee95e371c4fd54474b3186e947486427cc4af66b841393304b65c09a7bb36710158260db7a7cf761384e1a9a728e82e6f4
- languageName: node
- linkType: hard
-
"@types/minimatch@npm:*":
version: 3.0.5
resolution: "@types/minimatch@npm:3.0.5"
@@ -3462,15 +3466,6 @@ __metadata:
languageName: node
linkType: hard
-"@types/reach__router@npm:^1.3.7":
- version: 1.3.9
- resolution: "@types/reach__router@npm:1.3.9"
- dependencies:
- "@types/react": "*"
- checksum: 9145be1aca1f6bd34f99971381c8066a23e238452e39e76ec0549d0b240f6a39232d425f5c5425761e7e56562ae7f003e08a2291d724d503bdbc29686eb509d2
- languageName: node
- linkType: hard
-
"@types/react-syntax-highlighter@npm:11.0.5":
version: 11.0.5
resolution: "@types/react-syntax-highlighter@npm:11.0.5"
@@ -3519,10 +3514,10 @@ __metadata:
languageName: node
linkType: hard
-"@types/trusted-types@npm:^1.0.1":
- version: 1.0.6
- resolution: "@types/trusted-types@npm:1.0.6"
- checksum: 4bc61ac65b8e42d17c77a23f29cdf94e498acd2e23f4c00cf15c8281de94263ac313d46cbcd7cd1d03c066d497f9396845e3210ff0074f5f90f212cb3e8aac28
+"@types/trusted-types@npm:^2.0.2":
+ version: 2.0.2
+ resolution: "@types/trusted-types@npm:2.0.2"
+ checksum: 8c5253d7a297ba375b1dff7704013fb8d31c08c681d257db9e7e0624309cbb4a1e0c916bdd5a8c378992391126af0adb731720ba7642244a2f2c1ff42aba5bcf
languageName: node
linkType: hard
@@ -3599,7 +3594,7 @@ __metadata:
languageName: node
linkType: hard
-"@web/config-loader@npm:^0.1.3":
+"@web/config-loader@npm:0.1.3":
version: 0.1.3
resolution: "@web/config-loader@npm:0.1.3"
dependencies:
@@ -4168,13 +4163,20 @@ __metadata:
languageName: node
linkType: hard
-"array-back@npm:^3.0.1, array-back@npm:^3.1.0":
+"array-back@npm:^3.0.1":
version: 3.1.0
resolution: "array-back@npm:3.1.0"
checksum: bb1fe86aa8b39c21e73c68c7abf8b05ed939b8951a3b17527217f6a2a84e00e4cfa4fdec823081689c5e216709bf1f214a4f5feeee6726eaff83897fa1a7b8ee
languageName: node
linkType: hard
+"array-back@npm:^6.1.2":
+ version: 6.2.0
+ resolution: "array-back@npm:6.2.0"
+ checksum: e1a07e49fa667bbd964d3125440201ec6cc09b8e21f6462ad5d34931e93484b62dedb262ff24d636447ef1bd502f83cbbe48978c00b12d27d2c4a1d3ec35dc29
+ languageName: node
+ linkType: hard
+
"array-flatten@npm:1.1.1":
version: 1.1.1
resolution: "array-flatten@npm:1.1.1"
@@ -4351,21 +4353,21 @@ __metadata:
languageName: node
linkType: hard
-"babel-jest@npm:^27.0.6":
- version: 27.0.6
- resolution: "babel-jest@npm:27.0.6"
+"babel-jest@npm:^27.3.1":
+ version: 27.3.1
+ resolution: "babel-jest@npm:27.3.1"
dependencies:
- "@jest/transform": ^27.0.6
- "@jest/types": ^27.0.6
+ "@jest/transform": ^27.3.1
+ "@jest/types": ^27.2.5
"@types/babel__core": ^7.1.14
babel-plugin-istanbul: ^6.0.0
- babel-preset-jest: ^27.0.6
+ babel-preset-jest: ^27.2.0
chalk: ^4.0.0
graceful-fs: ^4.2.4
slash: ^3.0.0
peerDependencies:
"@babel/core": ^7.8.0
- checksum: 8913af084be0e39d00b97e51e67d6bf16ad851e11c99008953447aacd78ae4d072622571f34219ab44b2e19c215dc6490c951fdf80b981a1a065bf8b36b50829
+ checksum: 1e969e614ba3ded6c74ada9fd14f69757992832128a31b7809eb9cce49263e844da8d4913d493523ea3e5902700a00b8641b2d69e1edb6a2347402a9c54873e4
languageName: node
linkType: hard
@@ -4457,15 +4459,15 @@ __metadata:
languageName: node
linkType: hard
-"babel-plugin-jest-hoist@npm:^27.0.6":
- version: 27.0.6
- resolution: "babel-plugin-jest-hoist@npm:27.0.6"
+"babel-plugin-jest-hoist@npm:^27.2.0":
+ version: 27.2.0
+ resolution: "babel-plugin-jest-hoist@npm:27.2.0"
dependencies:
"@babel/template": ^7.3.3
"@babel/types": ^7.3.3
"@types/babel__core": ^7.0.0
"@types/babel__traverse": ^7.0.6
- checksum: 24ddc1b5a41d64c3560ab8efc85c62b8dd50f960a38d7628dacbe3eb0f8b61c10a5d6f4e244658c91d7af00b7f067e2c7795c3809c5d8cc1b911fa4ebec6d1e9
+ checksum: 6aa5c7afc4589bb444a37b054fcd51a6eaf9181d17638b57c3c71322833e9176be4f5657407ee229ae6abedf2c404a305473e062296c2d01b4957363bcf116ef
languageName: node
linkType: hard
@@ -4528,13 +4530,6 @@ __metadata:
languageName: node
linkType: hard
-"babel-plugin-require-context-hook@npm:^1.0.0":
- version: 1.0.0
- resolution: "babel-plugin-require-context-hook@npm:1.0.0"
- checksum: 1abd58b832a0819daa39c39b6cafbd18ca7b1e13786ae5238f393c4e558d9c8642b04147334dc2b9990950098c300ba1362da4401124da6e6ac532234a72dd30
- languageName: node
- linkType: hard
-
"babel-plugin-syntax-jsx@npm:^6.18.0":
version: 6.18.0
resolution: "babel-plugin-syntax-jsx@npm:6.18.0"
@@ -4564,15 +4559,15 @@ __metadata:
languageName: node
linkType: hard
-"babel-preset-jest@npm:^27.0.6":
- version: 27.0.6
- resolution: "babel-preset-jest@npm:27.0.6"
+"babel-preset-jest@npm:^27.2.0":
+ version: 27.2.0
+ resolution: "babel-preset-jest@npm:27.2.0"
dependencies:
- babel-plugin-jest-hoist: ^27.0.6
+ babel-plugin-jest-hoist: ^27.2.0
babel-preset-current-node-syntax: ^1.0.0
peerDependencies:
"@babel/core": ^7.0.0
- checksum: b397ecb3897932679330e0b30db8ceef4e887e0a6a13ac8b18c91e5a5435b091514a0e2d14f62ec0c2b7d2d763967e607d279861c0c40a0f05889d003e0c3b84
+ checksum: 471c3170be7d176bc9d67b2ccf6b001a82fa808ccb069afceeb1cde58f1c0d695ba93d8ae4c6740e93be62f9d643f98918da7c0b4d3ed2d40afab69d88c6d26e
languageName: node
linkType: hard
@@ -5127,6 +5122,25 @@ __metadata:
languageName: node
linkType: hard
+"chokidar@npm:3.5.2, chokidar@npm:^3.4.1, chokidar@npm:^3.4.2":
+ version: 3.5.2
+ resolution: "chokidar@npm:3.5.2"
+ dependencies:
+ anymatch: ~3.1.2
+ braces: ~3.0.2
+ fsevents: ~2.3.2
+ glob-parent: ~5.1.2
+ is-binary-path: ~2.1.0
+ is-glob: ~4.0.1
+ normalize-path: ~3.0.0
+ readdirp: ~3.6.0
+ dependenciesMeta:
+ fsevents:
+ optional: true
+ checksum: e7179a9dc4ce54c1ba660652319039b7ca0817a442dd05a45afcbdefcd4848b4276debfa9cf321798c2c567c6289da14dd48d9a1ee92056a7b526c554cffe129
+ languageName: node
+ linkType: hard
+
"chokidar@npm:^2.1.8":
version: 2.1.8
resolution: "chokidar@npm:2.1.8"
@@ -5150,25 +5164,6 @@ __metadata:
languageName: node
linkType: hard
-"chokidar@npm:^3.4.1, chokidar@npm:^3.4.2, chokidar@npm:^3.5.2":
- version: 3.5.2
- resolution: "chokidar@npm:3.5.2"
- dependencies:
- anymatch: ~3.1.2
- braces: ~3.0.2
- fsevents: ~2.3.2
- glob-parent: ~5.1.2
- is-binary-path: ~2.1.0
- is-glob: ~4.0.1
- normalize-path: ~3.0.0
- readdirp: ~3.6.0
- dependenciesMeta:
- fsevents:
- optional: true
- checksum: e7179a9dc4ce54c1ba660652319039b7ca0817a442dd05a45afcbdefcd4848b4276debfa9cf321798c2c567c6289da14dd48d9a1ee92056a7b526c554cffe129
- languageName: node
- linkType: hard
-
"chownr@npm:^1.1.1":
version: 1.1.4
resolution: "chownr@npm:1.1.4"
@@ -5197,7 +5192,7 @@ __metadata:
languageName: node
linkType: hard
-"ci-info@npm:^3.1.1":
+"ci-info@npm:^3.2.0":
version: 3.2.0
resolution: "ci-info@npm:3.2.0"
checksum: 9479fb1d835c277b388f02b6f46f1a9355c8dbc07b33b896552949ed0d4708b317bf7221ef9a3c86e975549982f76d3b84b2c7c99a8b26220218c2f3a9b657d4
@@ -5408,15 +5403,15 @@ __metadata:
languageName: node
linkType: hard
-"command-line-args@npm:^5.1.1":
- version: 5.1.3
- resolution: "command-line-args@npm:5.1.3"
+"command-line-args@npm:5.1.2":
+ version: 5.1.2
+ resolution: "command-line-args@npm:5.1.2"
dependencies:
- array-back: ^3.1.0
+ array-back: ^6.1.2
find-replace: ^3.0.0
lodash.camelcase: ^4.3.0
typical: ^4.0.0
- checksum: 470f4e0188d9698085f76306c6739f203028b905588ed5f5e4585f521105f61502d35295a0b3126c8a4d9e1049993ed449ff6476ca181b35252a10e7fce9a929
+ checksum: e8dcb3152b106bd806c038dabb26f1fe0aced6d9ab06f02a80569c572124c1f55ef2686897823d787ab6c3cd1668b0314dd963457d07d063e67679fa3bd0d07d
languageName: node
linkType: hard
@@ -5441,10 +5436,10 @@ __metadata:
languageName: node
linkType: hard
-"comment-parser@npm:^1.1.5":
- version: 1.2.1
- resolution: "comment-parser@npm:1.2.1"
- checksum: aeb91f82e7b2eec22eb750dd878a4ce32eb6892027d467e12bb394d9fb3845f012111f2c9b920c0a0e7524e158d574d76b16856359177bf41ff3c88cdd239293
+"comment-parser@npm:1.2.4":
+ version: 1.2.4
+ resolution: "comment-parser@npm:1.2.4"
+ checksum: ff25ad318ead37621476cf7348dfab0991bc0f249fcc82deec99e9accf941f3dca764fb76ac5570950fbb3642bd9875cfaad9ec57661eec56bbc5c08e85e3dc9
languageName: node
linkType: hard
@@ -5725,19 +5720,6 @@ __metadata:
languageName: node
linkType: hard
-"create-react-context@npm:0.3.0":
- version: 0.3.0
- resolution: "create-react-context@npm:0.3.0"
- dependencies:
- gud: ^1.0.0
- warning: ^4.0.3
- peerDependencies:
- prop-types: ^15.0.0
- react: ^0.14.0 || ^15.0.0 || ^16.0.0
- checksum: 3f9dfde23da59e3f748b5f1b06c7ff8cbf48095cf2d62212427195860f1ee4b2b0b475280c19592f7fffb9fd100fd739af687281d7c5c93806d519bf66f6dd86
- languageName: node
- linkType: hard
-
"cross-spawn@npm:7.0.3, cross-spawn@npm:^7.0.3":
version: 7.0.3
resolution: "cross-spawn@npm:7.0.3"
@@ -5870,7 +5852,7 @@ __metadata:
languageName: node
linkType: hard
-"custom-elements-manifest@npm:^1.0.0":
+"custom-elements-manifest@npm:1.0.0":
version: 1.0.0
resolution: "custom-elements-manifest@npm:1.0.0"
checksum: 6e8e4dcc6ae4f846e92b6ec0ef5c8d155889dae6df7210cbf3e9c47387ffab83fce8fde96a1aaa9766304cb08afa17198da4ef8560745311bdf3ba280fc77b40
@@ -5895,7 +5877,7 @@ __metadata:
languageName: node
linkType: hard
-"debounce@npm:^1.2.1":
+"debounce@npm:1.2.1":
version: 1.2.1
resolution: "debounce@npm:1.2.1"
checksum: 6c9320aa0973fc42050814621a7a8a78146c1975799b5b3cc1becf1f77ba9a5aa583987884230da0842a03f385def452fad5d60db97c3d1c8b824e38a8edf500
@@ -6703,17 +6685,17 @@ __metadata:
languageName: node
linkType: hard
-"expect@npm:^27.0.6":
- version: 27.0.6
- resolution: "expect@npm:27.0.6"
+"expect@npm:^27.3.1":
+ version: 27.3.1
+ resolution: "expect@npm:27.3.1"
dependencies:
- "@jest/types": ^27.0.6
+ "@jest/types": ^27.2.5
ansi-styles: ^5.0.0
- jest-get-type: ^27.0.6
- jest-matcher-utils: ^27.0.6
- jest-message-util: ^27.0.6
+ jest-get-type: ^27.3.1
+ jest-matcher-utils: ^27.3.1
+ jest-message-util: ^27.3.1
jest-regex-util: ^27.0.6
- checksum: 6fb57916ab9ae4a449ac0fd1150e0211f6ff5991add2c5826ad046a07e5a147d2c164bc85d4f55ebb063bc4bc05584a5dc9f640f69427565643f6dd154f2a1d8
+ checksum: 8c10ff875b74c80b4896d5457fce45faa0cca044a6ec6910b51e2c08d29238cad0b013dc46379a34338bf42b05e3566ffae5fa2c10229aced695fae9995eab2e
languageName: node
linkType: hard
@@ -7454,7 +7436,7 @@ fsevents@^1.2.7:
languageName: node
linkType: hard
-"globby@npm:^11.0.1, globby@npm:^11.0.2":
+"globby@npm:11.0.4, globby@npm:^11.0.2":
version: 11.0.4
resolution: "globby@npm:11.0.4"
dependencies:
@@ -7491,13 +7473,6 @@ fsevents@^1.2.7:
languageName: node
linkType: hard
-"gud@npm:^1.0.0":
- version: 1.0.0
- resolution: "gud@npm:1.0.0"
- checksum: a4db6edc18e2c4e3a22dc9e639e40a4e5650d53dae9cf384a96d5380dfa17ddda376cf6b7797a5c30d140d2532e5a69d167bdb70c2c151dd673253bac6b027f3
- languageName: node
- linkType: hard
-
"gzip-size@npm:5.1.1":
version: 5.1.1
resolution: "gzip-size@npm:5.1.1"
@@ -7735,6 +7710,24 @@ fsevents@^1.2.7:
languageName: node
linkType: hard
+"history@npm:5.0.0":
+ version: 5.0.0
+ resolution: "history@npm:5.0.0"
+ dependencies:
+ "@babel/runtime": ^7.7.6
+ checksum: 6e1a0880c1d67a9040117e5b426e71bc35642488485354d378cb635f194c2177979558b6fb537972840c6993d92c1ae971ab6c33bf77be1b1f135349ea65cde0
+ languageName: node
+ linkType: hard
+
+"history@npm:^5.1.0":
+ version: 5.1.0
+ resolution: "history@npm:5.1.0"
+ dependencies:
+ "@babel/runtime": ^7.7.6
+ checksum: f76cd11b905cd947e9db371d7bf6e6c403d52e081ae88953c1ba6208d741470fd8f85f22acfb0d9fb11ef7d8811e6fbd20d0a7b87f05263e2cc80393ba1be315
+ languageName: node
+ linkType: hard
+
"hmac-drbg@npm:^1.0.1":
version: 1.0.1
resolution: "hmac-drbg@npm:1.0.1"
@@ -8092,7 +8085,7 @@ fsevents@^1.2.7:
languageName: node
linkType: hard
-"invariant@npm:^2.2.3, invariant@npm:^2.2.4":
+"invariant@npm:^2.2.4":
version: 2.2.4
resolution: "invariant@npm:2.2.4"
dependencies:
@@ -8239,17 +8232,6 @@ fsevents@^1.2.7:
languageName: node
linkType: hard
-"is-ci@npm:^3.0.0":
- version: 3.0.0
- resolution: "is-ci@npm:3.0.0"
- dependencies:
- ci-info: ^3.1.1
- bin:
- is-ci: bin.js
- checksum: 151a9cc5907a61d0b6805692d24fb55db5741ed073371f445ba7d0efd8c0a752f6a78734ef45580025288e026e15bfcbc03fc575e20ae07de624a39188ed866f
- languageName: node
- linkType: hard
-
"is-core-module@npm:^2.2.0":
version: 2.5.0
resolution: "is-core-module@npm:2.5.0"
@@ -8715,60 +8697,60 @@ fsevents@^1.2.7:
languageName: node
linkType: hard
-"jest-changed-files@npm:^27.0.6":
- version: 27.0.6
- resolution: "jest-changed-files@npm:27.0.6"
+"jest-changed-files@npm:^27.3.0":
+ version: 27.3.0
+ resolution: "jest-changed-files@npm:27.3.0"
dependencies:
- "@jest/types": ^27.0.6
+ "@jest/types": ^27.2.5
execa: ^5.0.0
throat: ^6.0.1
- checksum: 30ce74e63210006725b08ec3fc0a83d683a0ebe27e9f56fb95e2b429825a7be6d3ef62bad0b1e33f481372579f89c1ecd6125061a731ae255cbaa6dc432c1a21
+ checksum: 57d0f7958f2d03d620a70cb63a988df5e6fdae462d56a6fa09114c8e56c6f146a8ec1401e27852d895ec5fd37c797c52bc643422b227efe1add00eff090b3486
languageName: node
linkType: hard
-"jest-circus@npm:^27.0.6":
- version: 27.0.6
- resolution: "jest-circus@npm:27.0.6"
+"jest-circus@npm:^27.3.1":
+ version: 27.3.1
+ resolution: "jest-circus@npm:27.3.1"
dependencies:
- "@jest/environment": ^27.0.6
- "@jest/test-result": ^27.0.6
- "@jest/types": ^27.0.6
+ "@jest/environment": ^27.3.1
+ "@jest/test-result": ^27.3.1
+ "@jest/types": ^27.2.5
"@types/node": "*"
chalk: ^4.0.0
co: ^4.6.0
dedent: ^0.7.0
- expect: ^27.0.6
+ expect: ^27.3.1
is-generator-fn: ^2.0.0
- jest-each: ^27.0.6
- jest-matcher-utils: ^27.0.6
- jest-message-util: ^27.0.6
- jest-runtime: ^27.0.6
- jest-snapshot: ^27.0.6
- jest-util: ^27.0.6
- pretty-format: ^27.0.6
+ jest-each: ^27.3.1
+ jest-matcher-utils: ^27.3.1
+ jest-message-util: ^27.3.1
+ jest-runtime: ^27.3.1
+ jest-snapshot: ^27.3.1
+ jest-util: ^27.3.1
+ pretty-format: ^27.3.1
slash: ^3.0.0
stack-utils: ^2.0.3
throat: ^6.0.1
- checksum: 644697a65324edb86fa2d4dff0f4d05fdd168a8bb04624178a58f51f8225d5b3ca67096ee2e35b4588f249d51cdd6ab7226172a6144764e2d416eabfb8c3f3fe
+ checksum: fed963f6c5b4104b1ff2d30f4d1dfba7a8d59ff0185815819f1e3fa62ffcd82ac96f0b878a5bd520976817542e60bac9266054bec249577d15f9f8e3e36446bf
languageName: node
linkType: hard
-"jest-cli@npm:^27.0.6":
- version: 27.0.6
- resolution: "jest-cli@npm:27.0.6"
+"jest-cli@npm:^27.3.1":
+ version: 27.3.1
+ resolution: "jest-cli@npm:27.3.1"
dependencies:
- "@jest/core": ^27.0.6
- "@jest/test-result": ^27.0.6
- "@jest/types": ^27.0.6
+ "@jest/core": ^27.3.1
+ "@jest/test-result": ^27.3.1
+ "@jest/types": ^27.2.5
chalk: ^4.0.0
exit: ^0.1.2
graceful-fs: ^4.2.4
import-local: ^3.0.2
- jest-config: ^27.0.6
- jest-util: ^27.0.6
- jest-validate: ^27.0.6
+ jest-config: ^27.3.1
+ jest-util: ^27.3.1
+ jest-validate: ^27.3.1
prompts: ^2.0.1
- yargs: ^16.0.3
+ yargs: ^16.2.0
peerDependencies:
node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0
peerDependenciesMeta:
@@ -8776,41 +8758,41 @@ fsevents@^1.2.7:
optional: true
bin:
jest: bin/jest.js
- checksum: a73b258d98c740a64fd9755a7aeb0b8ef6ae58076b7cc285cb17d36969aa99fbe8c76f3e1f11bfcbb88fd3388bd1abdf4b6cae08975104b202bbd481a3dc2696
+ checksum: df80909c21cb76c919b71c43d87b96108d15c23f379e6b735792a81ac391a234bc38c9f74fb271bb1544889304431c452f11f509520c2c0f8c58002e4bc728ca
languageName: node
linkType: hard
-"jest-config@npm:^27.0.6":
- version: 27.0.6
- resolution: "jest-config@npm:27.0.6"
+"jest-config@npm:^27.3.1":
+ version: 27.3.1
+ resolution: "jest-config@npm:27.3.1"
dependencies:
"@babel/core": ^7.1.0
- "@jest/test-sequencer": ^27.0.6
- "@jest/types": ^27.0.6
- babel-jest: ^27.0.6
+ "@jest/test-sequencer": ^27.3.1
+ "@jest/types": ^27.2.5
+ babel-jest: ^27.3.1
chalk: ^4.0.0
+ ci-info: ^3.2.0
deepmerge: ^4.2.2
glob: ^7.1.1
graceful-fs: ^4.2.4
- is-ci: ^3.0.0
- jest-circus: ^27.0.6
- jest-environment-jsdom: ^27.0.6
- jest-environment-node: ^27.0.6
- jest-get-type: ^27.0.6
- jest-jasmine2: ^27.0.6
+ jest-circus: ^27.3.1
+ jest-environment-jsdom: ^27.3.1
+ jest-environment-node: ^27.3.1
+ jest-get-type: ^27.3.1
+ jest-jasmine2: ^27.3.1
jest-regex-util: ^27.0.6
- jest-resolve: ^27.0.6
- jest-runner: ^27.0.6
- jest-util: ^27.0.6
- jest-validate: ^27.0.6
+ jest-resolve: ^27.3.1
+ jest-runner: ^27.3.1
+ jest-util: ^27.3.1
+ jest-validate: ^27.3.1
micromatch: ^4.0.4
- pretty-format: ^27.0.6
+ pretty-format: ^27.3.1
peerDependencies:
ts-node: ">=9.0.0"
peerDependenciesMeta:
ts-node:
optional: true
- checksum: 617381c2722d41d41c5f00ab23c8fa773a7cde2842446e7122aa9ee96ac9e5c927fa33bac7f6f2efb783cbed7987c420e52f3ce5bc0c767d9ed7d760ec0b9341
+ checksum: 9e8bfcc8616b2bb0368d32a617f6e4813957d6581c9e57ca6dbe209853c8c19616aff63090e3306f93ad2f1dfc1f3251ee59d2612e1d7ab9c6e8899dcd1bf144
languageName: node
linkType: hard
@@ -8826,15 +8808,15 @@ fsevents@^1.2.7:
languageName: node
linkType: hard
-"jest-diff@npm:^27.0.6":
- version: 27.0.6
- resolution: "jest-diff@npm:27.0.6"
+"jest-diff@npm:^27.3.1":
+ version: 27.3.1
+ resolution: "jest-diff@npm:27.3.1"
dependencies:
chalk: ^4.0.0
diff-sequences: ^27.0.6
- jest-get-type: ^27.0.6
- pretty-format: ^27.0.6
- checksum: 74b68faf26526ece33b82bfcf589f297f6fb174f38c7d5298477bd937aa63da97b58ddc47d986ab920f419bb812fc25430e77decf114781a00fdfc1826e94349
+ jest-get-type: ^27.3.1
+ pretty-format: ^27.3.1
+ checksum: 1b983aaa3de7fffd934f85b531ea2274cc618443a48fa35ef1da1a90475465cc5f7d902ab4f2a560caee8c448a56911e677b239f47810616952764f52fd04410
languageName: node
linkType: hard
@@ -8847,45 +8829,45 @@ fsevents@^1.2.7:
languageName: node
linkType: hard
-"jest-each@npm:^27.0.6":
- version: 27.0.6
- resolution: "jest-each@npm:27.0.6"
+"jest-each@npm:^27.3.1":
+ version: 27.3.1
+ resolution: "jest-each@npm:27.3.1"
dependencies:
- "@jest/types": ^27.0.6
+ "@jest/types": ^27.2.5
chalk: ^4.0.0
- jest-get-type: ^27.0.6
- jest-util: ^27.0.6
- pretty-format: ^27.0.6
- checksum: 45dce49ae09bc9dc8435fafc470aece2d1636b58c98a1b3c58d067f664c0e34885dbc4381e0fe51db01f837293e994d665eeda10421ce96749c16fff538b35ee
+ jest-get-type: ^27.3.1
+ jest-util: ^27.3.1
+ pretty-format: ^27.3.1
+ checksum: 5496cc19d85f35459672f28fbfc03cdee1cfe1e5f1ac3efd903aac7f681eade75c21bab5fbd359720bad0c3b28d28d11b5442e091c2fdefb0a3695edc34d623e
languageName: node
linkType: hard
-"jest-environment-jsdom@npm:^27.0.6":
- version: 27.0.6
- resolution: "jest-environment-jsdom@npm:27.0.6"
+"jest-environment-jsdom@npm:^27.3.1":
+ version: 27.3.1
+ resolution: "jest-environment-jsdom@npm:27.3.1"
dependencies:
- "@jest/environment": ^27.0.6
- "@jest/fake-timers": ^27.0.6
- "@jest/types": ^27.0.6
+ "@jest/environment": ^27.3.1
+ "@jest/fake-timers": ^27.3.1
+ "@jest/types": ^27.2.5
"@types/node": "*"
- jest-mock: ^27.0.6
- jest-util: ^27.0.6
+ jest-mock: ^27.3.0
+ jest-util: ^27.3.1
jsdom: ^16.6.0
- checksum: 4b9978d8ac88ba4ffa8fa357326f49d8f57d2773c5772f0adda064381b0cb3688c03c93d3d3408d263ac0aa42bdbbf7a7ad64ccf3dbd7a4def34f0b5a1c69b23
+ checksum: 02d9e26bd0c2b39e52e1515acd680a11d8309dbf5203444c4871b28f6843ecc4bb9a867533fa96fe20868be99a64dc36725356835dfe75c81e9f100c6d21f4d2
languageName: node
linkType: hard
-"jest-environment-node@npm:^27.0.6":
- version: 27.0.6
- resolution: "jest-environment-node@npm:27.0.6"
+"jest-environment-node@npm:^27.3.1":
+ version: 27.3.1
+ resolution: "jest-environment-node@npm:27.3.1"
dependencies:
- "@jest/environment": ^27.0.6
- "@jest/fake-timers": ^27.0.6
- "@jest/types": ^27.0.6
+ "@jest/environment": ^27.3.1
+ "@jest/fake-timers": ^27.3.1
+ "@jest/types": ^27.2.5
"@types/node": "*"
- jest-mock: ^27.0.6
- jest-util: ^27.0.6
- checksum: 8d05f1a6041b982abd4a9839a4a80cc6de74c93d153ade9adf2eeb2fccd3a12a9b9c18078972bcdf497a15463735e86861154f428a2e4c39e763d9294a694843
+ jest-mock: ^27.3.0
+ jest-util: ^27.3.1
+ checksum: d3d0f8ecfe1ed8ad827e626df6a0a26308385148207f9a24ab51c50e51788c812d3ad940c7728f235752aa7c7da5facea5952c32873e4a2be546164bb66ef608
languageName: node
linkType: hard
@@ -8896,10 +8878,10 @@ fsevents@^1.2.7:
languageName: node
linkType: hard
-"jest-get-type@npm:^27.0.6":
- version: 27.0.6
- resolution: "jest-get-type@npm:27.0.6"
- checksum: 41cf3d3a1f684a7034e11c876b4a2b1a2f63fcba6e277a4fe111b4e2c9ec02b73d1917aa1edcb6a8681124e726590db97d053626025584005571f63df0173d5c
+"jest-get-type@npm:^27.3.1":
+ version: 27.3.1
+ resolution: "jest-get-type@npm:27.3.1"
+ checksum: 738e5062ffd979d817bfe6c14e64813f9541221c1c77033bae003a6fbb659535c646578d8aae6d303b6fb7c91101d12af08847756ff5bc7b018d238a4ff02bd1
languageName: node
linkType: hard
@@ -8928,11 +8910,11 @@ fsevents@^1.2.7:
languageName: node
linkType: hard
-"jest-haste-map@npm:^27.0.6":
- version: 27.0.6
- resolution: "jest-haste-map@npm:27.0.6"
+"jest-haste-map@npm:^27.3.1":
+ version: 27.3.1
+ resolution: "jest-haste-map@npm:27.3.1"
dependencies:
- "@jest/types": ^27.0.6
+ "@jest/types": ^27.2.5
"@types/graceful-fs": ^4.1.2
"@types/node": "*"
anymatch: ^3.0.3
@@ -8941,50 +8923,50 @@ fsevents@^1.2.7:
graceful-fs: ^4.2.4
jest-regex-util: ^27.0.6
jest-serializer: ^27.0.6
- jest-util: ^27.0.6
- jest-worker: ^27.0.6
+ jest-util: ^27.3.1
+ jest-worker: ^27.3.1
micromatch: ^4.0.4
walker: ^1.0.7
dependenciesMeta:
fsevents:
optional: true
- checksum: 31feaf9e976c1c380da6f5d0c12dab0c78dd5da5d8278f4672e5899e4d248fd29f53428777877a6b4f1ec207582341148c6f59dc0eb1ab8a9c04025a2cfef6ca
+ checksum: 4a069faaa736d2b9a21ba3962e0da629807515c51defe930dc9fcbb614ba2c594aa0351887d063a6f59ce8b0a55dabab88d6bb8f69f00fd3b6d44216bd1c73c1
languageName: node
linkType: hard
-"jest-jasmine2@npm:^27.0.6":
- version: 27.0.6
- resolution: "jest-jasmine2@npm:27.0.6"
+"jest-jasmine2@npm:^27.3.1":
+ version: 27.3.1
+ resolution: "jest-jasmine2@npm:27.3.1"
dependencies:
"@babel/traverse": ^7.1.0
- "@jest/environment": ^27.0.6
+ "@jest/environment": ^27.3.1
"@jest/source-map": ^27.0.6
- "@jest/test-result": ^27.0.6
- "@jest/types": ^27.0.6
+ "@jest/test-result": ^27.3.1
+ "@jest/types": ^27.2.5
"@types/node": "*"
chalk: ^4.0.0
co: ^4.6.0
- expect: ^27.0.6
+ expect: ^27.3.1
is-generator-fn: ^2.0.0
- jest-each: ^27.0.6
- jest-matcher-utils: ^27.0.6
- jest-message-util: ^27.0.6
- jest-runtime: ^27.0.6
- jest-snapshot: ^27.0.6
- jest-util: ^27.0.6
- pretty-format: ^27.0.6
+ jest-each: ^27.3.1
+ jest-matcher-utils: ^27.3.1
+ jest-message-util: ^27.3.1
+ jest-runtime: ^27.3.1
+ jest-snapshot: ^27.3.1
+ jest-util: ^27.3.1
+ pretty-format: ^27.3.1
throat: ^6.0.1
- checksum: 847aeb8cee22037cbba06d9cca754215da1c44e4a128d3d7bba09152f0a00740065dfac331f190e2a3dc6a5a27d319a34b86702011b2ebb50d307c565ed58427
+ checksum: e147c97d7a733854b61b5788d117dcc21ca7c9a08ca0bf8c61b2ac178c515437bf629742e85252d32774a7bcc485335b8b7301b57f7a806de3abe207167d9f70
languageName: node
linkType: hard
-"jest-leak-detector@npm:^27.0.6":
- version: 27.0.6
- resolution: "jest-leak-detector@npm:27.0.6"
+"jest-leak-detector@npm:^27.3.1":
+ version: 27.3.1
+ resolution: "jest-leak-detector@npm:27.3.1"
dependencies:
- jest-get-type: ^27.0.6
- pretty-format: ^27.0.6
- checksum: 8d95997e5b21b23d79232b8ef0856675ffb87b8a6509e82a0457774365eb22d4fea35432519a094ca811cf65b45e6762e6d87ccae30ee09223d04aad4c203bc3
+ jest-get-type: ^27.3.1
+ pretty-format: ^27.3.1
+ checksum: aefa5b9cb39a94ef9dbade5d9ec5d1962e4947381af70123107a6b286467810d7d459190a2a541ee19935f3f75338b111b4278a1880948a858df6369d7c36d1a
languageName: node
linkType: hard
@@ -9000,15 +8982,15 @@ fsevents@^1.2.7:
languageName: node
linkType: hard
-"jest-matcher-utils@npm:^27.0.6":
- version: 27.0.6
- resolution: "jest-matcher-utils@npm:27.0.6"
+"jest-matcher-utils@npm:^27.3.1":
+ version: 27.3.1
+ resolution: "jest-matcher-utils@npm:27.3.1"
dependencies:
chalk: ^4.0.0
- jest-diff: ^27.0.6
- jest-get-type: ^27.0.6
- pretty-format: ^27.0.6
- checksum: 1315ec25add6e083f56b10dbb423786bd876eafedd6d1bf8aa93a654d82152403f751b817a94a333e4c6d848630ea2fab762147aa078d0d4bc9be18bb0d54c5a
+ jest-diff: ^27.3.1
+ jest-get-type: ^27.3.1
+ pretty-format: ^27.3.1
+ checksum: adb3ac4e3138dda764dfffb0d0b898911b7e53377ee79d4b6b52ba31b81e4f5680dac5e3307251d7dcc0b386f57de2f148f7451b43abaea38ca05c309f001824
languageName: node
linkType: hard
@@ -9029,30 +9011,30 @@ fsevents@^1.2.7:
languageName: node
linkType: hard
-"jest-message-util@npm:^27.0.6":
- version: 27.0.6
- resolution: "jest-message-util@npm:27.0.6"
+"jest-message-util@npm:^27.3.1":
+ version: 27.3.1
+ resolution: "jest-message-util@npm:27.3.1"
dependencies:
"@babel/code-frame": ^7.12.13
- "@jest/types": ^27.0.6
+ "@jest/types": ^27.2.5
"@types/stack-utils": ^2.0.0
chalk: ^4.0.0
graceful-fs: ^4.2.4
micromatch: ^4.0.4
- pretty-format: ^27.0.6
+ pretty-format: ^27.3.1
slash: ^3.0.0
stack-utils: ^2.0.3
- checksum: fdff72399e5fe11f998d9620549325218cb5d0a7aa4e8d2a8c3df988f400dd01eda4c525bd13cd2284024363ec7f05c201332fb0409cb75597e820760243d365
+ checksum: 4be29d567aa0678b37dcf9b5440655dad2d10ba920c006e71491e8844c2d3414e7ddb4455483ef74c02d38da8bca27dbe079d96e8098d773ba04055be8c76a29
languageName: node
linkType: hard
-"jest-mock@npm:^27.0.6":
- version: 27.0.6
- resolution: "jest-mock@npm:27.0.6"
+"jest-mock@npm:^27.3.0":
+ version: 27.3.0
+ resolution: "jest-mock@npm:27.3.0"
dependencies:
- "@jest/types": ^27.0.6
+ "@jest/types": ^27.2.5
"@types/node": "*"
- checksum: a49165d2b61bad11a648bdbdaea9fe8baf8eb498e1248ff8edcc77fc12a96aff3edd25030aea8bf326fa04e87be3643be5c845ee6dae1c49a710c64ddd21cd87
+ checksum: 90033366823d6c7ad847dae1fec5d1bc5a103c83342ca5867fe9b69fefefbcb12d08fe718202e92cafd72bd091558ecd663b4c261e2e85b6c9244c3fc6951f35
languageName: node
linkType: hard
@@ -9082,14 +9064,14 @@ fsevents@^1.2.7:
languageName: node
linkType: hard
-"jest-resolve-dependencies@npm:^27.0.6":
- version: 27.0.6
- resolution: "jest-resolve-dependencies@npm:27.0.6"
+"jest-resolve-dependencies@npm:^27.3.1":
+ version: 27.3.1
+ resolution: "jest-resolve-dependencies@npm:27.3.1"
dependencies:
- "@jest/types": ^27.0.6
+ "@jest/types": ^27.2.5
jest-regex-util: ^27.0.6
- jest-snapshot: ^27.0.6
- checksum: 2b9ee28dd1ebbe8b45ecfa1685c28d4a757a4a883d8d4fb64a74790c81b94aecd68f20b39ff9feb3160753ca2a4b2b1abc58684e40fa2b737b6a77234cda8777
+ jest-snapshot: ^27.3.1
+ checksum: 0eb1ec7b9524d7997b7223edc55bc9cff887d99de4a1d77f083e2970670d4c8c76dd9dddf471cfc1c6435c39b30dbcc270045b4d4213ec4b905885c86df2e56c
languageName: node
linkType: hard
@@ -9109,84 +9091,85 @@ fsevents@^1.2.7:
languageName: node
linkType: hard
-"jest-resolve@npm:27.0.6, jest-resolve@npm:^27.0.6":
- version: 27.0.6
- resolution: "jest-resolve@npm:27.0.6"
+"jest-resolve@npm:27.3.1, jest-resolve@npm:^27.3.1":
+ version: 27.3.1
+ resolution: "jest-resolve@npm:27.3.1"
dependencies:
- "@jest/types": ^27.0.6
+ "@jest/types": ^27.2.5
chalk: ^4.0.0
- escalade: ^3.1.1
graceful-fs: ^4.2.4
+ jest-haste-map: ^27.3.1
jest-pnp-resolver: ^1.2.2
- jest-util: ^27.0.6
- jest-validate: ^27.0.6
+ jest-util: ^27.3.1
+ jest-validate: ^27.3.1
resolve: ^1.20.0
+ resolve.exports: ^1.1.0
slash: ^3.0.0
- checksum: aa54bc1cab0d20cb6197a8d577e1dd8635caf19b7083580e72d3e1fd2788599176adf010d3421ed49fad11efa239031b9b954f7d455c944c055246956a0e8b91
+ checksum: 7be60416e82c66edd5cb636177193e222f8aa3fe9f948f80877f06d6fcef07f55e35e636c6a4fa020dd91f84deab84b80e36adb3f9e6bdcd7a153010ebc0c2ec
languageName: node
linkType: hard
-"jest-runner@npm:^27.0.6":
- version: 27.0.6
- resolution: "jest-runner@npm:27.0.6"
+"jest-runner@npm:^27.3.1":
+ version: 27.3.1
+ resolution: "jest-runner@npm:27.3.1"
dependencies:
- "@jest/console": ^27.0.6
- "@jest/environment": ^27.0.6
- "@jest/test-result": ^27.0.6
- "@jest/transform": ^27.0.6
- "@jest/types": ^27.0.6
+ "@jest/console": ^27.3.1
+ "@jest/environment": ^27.3.1
+ "@jest/test-result": ^27.3.1
+ "@jest/transform": ^27.3.1
+ "@jest/types": ^27.2.5
"@types/node": "*"
chalk: ^4.0.0
emittery: ^0.8.1
exit: ^0.1.2
graceful-fs: ^4.2.4
jest-docblock: ^27.0.6
- jest-environment-jsdom: ^27.0.6
- jest-environment-node: ^27.0.6
- jest-haste-map: ^27.0.6
- jest-leak-detector: ^27.0.6
- jest-message-util: ^27.0.6
- jest-resolve: ^27.0.6
- jest-runtime: ^27.0.6
- jest-util: ^27.0.6
- jest-worker: ^27.0.6
+ jest-environment-jsdom: ^27.3.1
+ jest-environment-node: ^27.3.1
+ jest-haste-map: ^27.3.1
+ jest-leak-detector: ^27.3.1
+ jest-message-util: ^27.3.1
+ jest-resolve: ^27.3.1
+ jest-runtime: ^27.3.1
+ jest-util: ^27.3.1
+ jest-worker: ^27.3.1
source-map-support: ^0.5.6
throat: ^6.0.1
- checksum: f65ebbafeb971765e103ea9c75e89379ad57686a58f22d306c2316d53be3e65511b849ad4ca8574cfd23edd35e80ff9bdef45380c1a85f5135503917725e4230
+ checksum: 7283279c8b77b28503e92fddc262b62b4aab6d39076bdb95317bedb257bd8907cca6f61984a28481191e02ebece8868b2d2685b6921a67d2c9528e0d916ef8af
languageName: node
linkType: hard
-"jest-runtime@npm:^27.0.6":
- version: 27.0.6
- resolution: "jest-runtime@npm:27.0.6"
+"jest-runtime@npm:^27.3.1":
+ version: 27.3.1
+ resolution: "jest-runtime@npm:27.3.1"
dependencies:
- "@jest/console": ^27.0.6
- "@jest/environment": ^27.0.6
- "@jest/fake-timers": ^27.0.6
- "@jest/globals": ^27.0.6
+ "@jest/console": ^27.3.1
+ "@jest/environment": ^27.3.1
+ "@jest/globals": ^27.3.1
"@jest/source-map": ^27.0.6
- "@jest/test-result": ^27.0.6
- "@jest/transform": ^27.0.6
- "@jest/types": ^27.0.6
+ "@jest/test-result": ^27.3.1
+ "@jest/transform": ^27.3.1
+ "@jest/types": ^27.2.5
"@types/yargs": ^16.0.0
chalk: ^4.0.0
cjs-module-lexer: ^1.0.0
collect-v8-coverage: ^1.0.0
+ execa: ^5.0.0
exit: ^0.1.2
glob: ^7.1.3
graceful-fs: ^4.2.4
- jest-haste-map: ^27.0.6
- jest-message-util: ^27.0.6
- jest-mock: ^27.0.6
+ jest-haste-map: ^27.3.1
+ jest-message-util: ^27.3.1
+ jest-mock: ^27.3.0
jest-regex-util: ^27.0.6
- jest-resolve: ^27.0.6
- jest-snapshot: ^27.0.6
- jest-util: ^27.0.6
- jest-validate: ^27.0.6
+ jest-resolve: ^27.3.1
+ jest-snapshot: ^27.3.1
+ jest-util: ^27.3.1
+ jest-validate: ^27.3.1
slash: ^3.0.0
strip-bom: ^4.0.0
- yargs: ^16.0.3
- checksum: b980801e96e259ef0ca2f461ec8f341957e8f3efcc531741fb5bfc6a0b6887754102a9400154291d81946541d90a861fb7b69d32fcba0528eebb1c0fe404c6b5
+ yargs: ^16.2.0
+ checksum: 0c21196d03af87574a198fe48753101f92e8cf2f82e4a311781ea0441a2e46697cc584e5b38d1979b7012f5bb359b419c93ce8e1655c1f39aa9db8032cd77caa
languageName: node
linkType: hard
@@ -9234,9 +9217,9 @@ fsevents@^1.2.7:
languageName: node
linkType: hard
-"jest-snapshot@npm:^27.0.6":
- version: 27.0.6
- resolution: "jest-snapshot@npm:27.0.6"
+"jest-snapshot@npm:^27.3.1":
+ version: 27.3.1
+ resolution: "jest-snapshot@npm:27.3.1"
dependencies:
"@babel/core": ^7.7.2
"@babel/generator": ^7.7.2
@@ -9244,25 +9227,25 @@ fsevents@^1.2.7:
"@babel/plugin-syntax-typescript": ^7.7.2
"@babel/traverse": ^7.7.2
"@babel/types": ^7.0.0
- "@jest/transform": ^27.0.6
- "@jest/types": ^27.0.6
+ "@jest/transform": ^27.3.1
+ "@jest/types": ^27.2.5
"@types/babel__traverse": ^7.0.4
"@types/prettier": ^2.1.5
babel-preset-current-node-syntax: ^1.0.0
chalk: ^4.0.0
- expect: ^27.0.6
+ expect: ^27.3.1
graceful-fs: ^4.2.4
- jest-diff: ^27.0.6
- jest-get-type: ^27.0.6
- jest-haste-map: ^27.0.6
- jest-matcher-utils: ^27.0.6
- jest-message-util: ^27.0.6
- jest-resolve: ^27.0.6
- jest-util: ^27.0.6
+ jest-diff: ^27.3.1
+ jest-get-type: ^27.3.1
+ jest-haste-map: ^27.3.1
+ jest-matcher-utils: ^27.3.1
+ jest-message-util: ^27.3.1
+ jest-resolve: ^27.3.1
+ jest-util: ^27.3.1
natural-compare: ^1.4.0
- pretty-format: ^27.0.6
+ pretty-format: ^27.3.1
semver: ^7.3.2
- checksum: b045f941437745fab1d8ccce2a053cfe39e81e1d63d1c815f62043281d53fe5043d5edcbfdebd16fa9c38de89b7e1ac5cf25d8fa592afecf921810e955dc877b
+ checksum: d570be8529742b6fe6c5b53706cfe01b58ee2e1c9a77fd5b42e6d51026f0c026477579ab0cb5c6f8060de984e9522f7bb07a84cf8ad160c9c15e3095de1d523f
languageName: node
linkType: hard
@@ -9291,46 +9274,46 @@ fsevents@^1.2.7:
languageName: node
linkType: hard
-"jest-util@npm:^27.0.6":
- version: 27.0.6
- resolution: "jest-util@npm:27.0.6"
+"jest-util@npm:^27.3.1":
+ version: 27.3.1
+ resolution: "jest-util@npm:27.3.1"
dependencies:
- "@jest/types": ^27.0.6
+ "@jest/types": ^27.2.5
"@types/node": "*"
chalk: ^4.0.0
+ ci-info: ^3.2.0
graceful-fs: ^4.2.4
- is-ci: ^3.0.0
picomatch: ^2.2.3
- checksum: 97f39f9b6394ba32719401f6b7cc2ef2fb35df209d8e0ba86ceedcb14aa3b96e11d9791f52900e1a313ec9da080077b0fa77c62e3a4a2bcea6495f96e53be2f8
+ checksum: 28570a064c5fd7369f870dec1d6b5bb38691028151535ae24a1ab3dc077db368a33566aad3080dd183c81ef6423d7077b3e9641d0c93c8082bc9c8f1c9a6cf78
languageName: node
linkType: hard
-"jest-validate@npm:^27.0.6":
- version: 27.0.6
- resolution: "jest-validate@npm:27.0.6"
+"jest-validate@npm:^27.3.1":
+ version: 27.3.1
+ resolution: "jest-validate@npm:27.3.1"
dependencies:
- "@jest/types": ^27.0.6
+ "@jest/types": ^27.2.5
camelcase: ^6.2.0
chalk: ^4.0.0
- jest-get-type: ^27.0.6
+ jest-get-type: ^27.3.1
leven: ^3.1.0
- pretty-format: ^27.0.6
- checksum: ebf4035420fe33eddc3178da2f2b7a86490c45bc5077c89978e642f9aefa1f5d8f7c8a63902c6af4b8a20b35247531d2a0e9757fe40043f5ee04bf15a13aa278
+ pretty-format: ^27.3.1
+ checksum: 8d5eb0f4de2330f768d4b4d54ac38459e0ed81a55a3a01add81db80581d16b1b7636b61948b3172e720b02f4c31c025f306e03f44e5264dd45c17e3742f48d2f
languageName: node
linkType: hard
-"jest-watcher@npm:^27.0.6":
- version: 27.0.6
- resolution: "jest-watcher@npm:27.0.6"
+"jest-watcher@npm:^27.3.1":
+ version: 27.3.1
+ resolution: "jest-watcher@npm:27.3.1"
dependencies:
- "@jest/test-result": ^27.0.6
- "@jest/types": ^27.0.6
+ "@jest/test-result": ^27.3.1
+ "@jest/types": ^27.2.5
"@types/node": "*"
ansi-escapes: ^4.2.1
chalk: ^4.0.0
- jest-util: ^27.0.6
+ jest-util: ^27.3.1
string-length: ^4.0.1
- checksum: 7a7870abc9e8752f32253d2c0e843569077118a7314ae353ecb262708a6b8fb784f76b8dd684ae9a6088a36bf3c5586e4652ce0e39e92c577e63d4039ba6d3f1
+ checksum: cdcb73f9788809d1a8d2fee8c4b4c504aa8ec876c590b5fb3b9bf53ee30d19b971b9fc75ca9ea35bd5b26e7323e1adf4d4f79ef44b3e955f28a2401846bd507c
languageName: node
linkType: hard
@@ -9345,24 +9328,24 @@ fsevents@^1.2.7:
languageName: node
linkType: hard
-"jest-worker@npm:^27.0.6":
- version: 27.0.6
- resolution: "jest-worker@npm:27.0.6"
+"jest-worker@npm:^27.3.1":
+ version: 27.3.1
+ resolution: "jest-worker@npm:27.3.1"
dependencies:
"@types/node": "*"
merge-stream: ^2.0.0
supports-color: ^8.0.0
- checksum: 2a153623432d607310ab41075c0ee3d23c454e0536a62ea656e6a75a63050999050bae0ef7bc45a4cbed9889b72d32184ec43afa2f934be71e7993326e632f61
+ checksum: 919e26271d027ce5576bc1491e18527f37245e5530406bd145c595a34761ba4a2727b4b78aea1e0177b8db9afbb56c71024b0ac6cd013db4df8b1fa139b90cb9
languageName: node
linkType: hard
-"jest@npm:^27.0.1":
- version: 27.0.6
- resolution: "jest@npm:27.0.6"
+"jest@npm:^27.3.1":
+ version: 27.3.1
+ resolution: "jest@npm:27.3.1"
dependencies:
- "@jest/core": ^27.0.6
+ "@jest/core": ^27.3.1
import-local: ^3.0.2
- jest-cli: ^27.0.6
+ jest-cli: ^27.3.1
peerDependencies:
node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0
peerDependenciesMeta:
@@ -9370,7 +9353,7 @@ fsevents@^1.2.7:
optional: true
bin:
jest: bin/jest.js
- checksum: d1a82558cc5fc8332fb05f19516465f597dd6759dda41d744a84b23dc596537eeeebe8e18af522e695729a96029502e1ebd1dcd826bbda1b845be795d5476636
+ checksum: 408fbe3e1bc523d6e5fe6cf337c3a738b6a30cd4e02012292f34b49dde4cfe3c5715aa4b73116387784a6b40b4b54b16df2d1b3b42588cc57ffaff8ec58f697b
languageName: node
linkType: hard
@@ -9628,33 +9611,33 @@ fsevents@^1.2.7:
languageName: node
linkType: hard
-"lit-element@npm:^3.0.0-rc.2":
- version: 3.0.0-rc.2
- resolution: "lit-element@npm:3.0.0-rc.2"
+"lit-element@npm:^3.0.0":
+ version: 3.0.2
+ resolution: "lit-element@npm:3.0.2"
dependencies:
- "@lit/reactive-element": ^1.0.0-rc.2
- lit-html: ^2.0.0-rc.3
- checksum: 1493246171b64123602558e4adce4e6231cfd484312ab5bb51803079592332070b932f49f0531951a5af4cd5f111cd91066936a99aa059397e61c0b081aa6059
+ "@lit/reactive-element": ^1.0.0
+ lit-html: ^2.0.0
+ checksum: 1d43eea17fb3b2ae9da03e5bc5767e2c93efad03d62aec80c121f22db96a63a1a536fa13b9c585252a00053ff6ae9b2c13b0bd5804f06814506d40a3d141443c
languageName: node
linkType: hard
-"lit-html@npm:^2.0.0-rc.3":
- version: 2.0.0-rc.3
- resolution: "lit-html@npm:2.0.0-rc.3"
+"lit-html@npm:^2.0.0":
+ version: 2.0.2
+ resolution: "lit-html@npm:2.0.2"
dependencies:
- "@types/trusted-types": ^1.0.1
- checksum: 26120f0bfdd65c2f32fb15ea4e554cdf2072289fae5d1f6820b6110a42da069c6062ec19ff26734f4fff3be77cd3c61a1d0146cd9c257c64b199cb52eebc756f
+ "@types/trusted-types": ^2.0.2
+ checksum: 3a199fdc8a2a914cae0f4bcb61582d15ca671a84e34db387651d4009be9c41951c8d29381a8d858c2037efb4fce6f4eccf51d4da545d9dd419651b0b42b1b88b
languageName: node
linkType: hard
-"lit@npm:^2.0.0-rc.2":
- version: 2.0.0-rc.2
- resolution: "lit@npm:2.0.0-rc.2"
+"lit@npm:^2.0.2":
+ version: 2.0.2
+ resolution: "lit@npm:2.0.2"
dependencies:
- "@lit/reactive-element": ^1.0.0-rc.2
- lit-element: ^3.0.0-rc.2
- lit-html: ^2.0.0-rc.3
- checksum: efb6c6e200c971c82875fcb277ef27850d01d4b2f4bb7254f319e5c0569bf64486923d883873890b42c38e3a0696cd2e398852fe379fe3ac87c74ddd6c34a874
+ "@lit/reactive-element": ^1.0.0
+ lit-element: ^3.0.0
+ lit-html: ^2.0.0
+ checksum: f47404b026cbbf6e5cb50b78c272226dc2d44e66e3252d2c914b7463a203503bb65712d02aaa17bf592f4c308d570684a0cab18e93cf4478e0294f61e2223b50
languageName: node
linkType: hard
@@ -10763,13 +10746,6 @@ fsevents@^1.2.7:
languageName: node
linkType: hard
-"p-each-series@npm:^2.1.0":
- version: 2.2.0
- resolution: "p-each-series@npm:2.2.0"
- checksum: 32a7cce1312bf70f99079db2ff070fc3ee2ed6efe0fa0444616fa38f79730ad09b461d009127d25254c4c865c40b6664e2c656b1a7b2c4781756d9173c974269
- languageName: node
- linkType: hard
-
"p-event@npm:^4.1.0":
version: 4.2.0
resolution: "p-event@npm:4.2.0"
@@ -11080,7 +11056,7 @@ fsevents@^1.2.7:
languageName: node
linkType: hard
-"picomatch@npm:^2.0.4, picomatch@npm:^2.2.1, picomatch@npm:^2.2.3":
+"picomatch@npm:^2.0.4, picomatch@npm:^2.2.1, picomatch@npm:^2.2.3, picomatch@npm:^2.3.0":
version: 2.3.0
resolution: "picomatch@npm:2.3.0"
checksum: a65bde78212368e16afb82429a0ea033d20a836270446acb53ec6e31d939bccf1213f788bc49361f7aff47b67c1fb74d898f99964f67f26ca07a3cd815ddbcbb
@@ -11314,15 +11290,15 @@ fsevents@^1.2.7:
languageName: node
linkType: hard
-"pretty-format@npm:^27.0.6":
- version: 27.0.6
- resolution: "pretty-format@npm:27.0.6"
+"pretty-format@npm:^27.3.1":
+ version: 27.3.1
+ resolution: "pretty-format@npm:27.3.1"
dependencies:
- "@jest/types": ^27.0.6
- ansi-regex: ^5.0.0
+ "@jest/types": ^27.2.5
+ ansi-regex: ^5.0.1
ansi-styles: ^5.0.0
react-is: ^17.0.1
- checksum: 022d970d59e8b0004f4cc8bb75d5a65b2a976deb73ffa89643d9bbe0eeeef3c789493207da8d8c24a2ea055400914ce5300f8f7b824e2cf8b59d7e6be45d9b1f
+ checksum: b255146debac1212b26ef718f26b6433e22b2e3fe5f141bd038fbf73a94494c1fd8141359a98cd2d94ad7256a7440a340ac1ac2b3f81aadfeccc6fcbfbd883d4
languageName: node
linkType: hard
@@ -11423,7 +11399,7 @@ fsevents@^1.2.7:
languageName: node
linkType: hard
-"prop-types@npm:^15.0.0, 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.6.0, prop-types@npm:^15.6.2, prop-types@npm:^15.7.2":
version: 15.7.2
resolution: "prop-types@npm:15.7.2"
dependencies:
@@ -11771,13 +11747,6 @@ fsevents@^1.2.7:
languageName: node
linkType: hard
-"react-lifecycles-compat@npm:^3.0.4":
- version: 3.0.4
- resolution: "react-lifecycles-compat@npm:3.0.4"
- checksum: 1d0df3c85af79df720524780f00c064d53a9dd1899d785eddb7264b378026979acbddb58a4b7e06e7d0d12aa1494fd5754562ee55d32907b15601068dae82c27
- languageName: node
- linkType: hard
-
"react-popper-tooltip@npm:^3.1.1":
version: 3.1.1
resolution: "react-popper-tooltip@npm:3.1.1"
@@ -11805,6 +11774,30 @@ fsevents@^1.2.7:
languageName: node
linkType: hard
+"react-router-dom@npm:^6.0.0":
+ version: 6.0.2
+ resolution: "react-router-dom@npm:6.0.2"
+ dependencies:
+ history: ^5.1.0
+ react-router: 6.0.2
+ peerDependencies:
+ react: ">=16.8"
+ react-dom: ">=16.8"
+ checksum: f34d30742631813ff5a9bff2dc20adc0ae3932c956cf5b1ecaeeb5287f41c4dcb612e2eb2a98244ee5cc6f6c6827ebc91c771ebb3beb7eca103c5e4b8d251f24
+ languageName: node
+ linkType: hard
+
+"react-router@npm:6.0.2, react-router@npm:^6.0.0":
+ version: 6.0.2
+ resolution: "react-router@npm:6.0.2"
+ dependencies:
+ history: ^5.1.0
+ peerDependencies:
+ react: ">=16.8"
+ checksum: 60f9b079c03b6d213740cda937ba7265c2b6ce31d3e9cd9155fa64fb5b62fa5b15cfa9a487fb272809d935e4238697833d5910bb9aaed89b948c0071e3e5c399
+ languageName: node
+ linkType: hard
+
"react-shallow-renderer@npm:^16.13.1":
version: 16.14.1
resolution: "react-shallow-renderer@npm:16.14.1"
@@ -12216,6 +12209,13 @@ fsevents@^1.2.7:
languageName: node
linkType: hard
+"resolve.exports@npm:^1.1.0":
+ version: 1.1.0
+ resolution: "resolve.exports@npm:1.1.0"
+ checksum: 7e21c22ad129b934d5cc0b6aefd07f377a92e0b9699f49ac33eac1736a85e3aeb9270c85aac47f7070b5975739623ed007aac318d6bc5f036504b2b7a407fd31
+ languageName: node
+ linkType: hard
+
"resolve@^1.10.0, resolve@^1.14.2, resolve@^1.18.1, resolve@^1.19.0, resolve@^1.20.0, resolve@^1.3.2":
version: 1.20.0
resolution: "resolve@npm:1.20.0"
@@ -13260,6 +13260,13 @@ fsevents@^1.2.7:
languageName: node
linkType: hard
+"synchronous-promise@npm:^2.0.15":
+ version: 2.0.15
+ resolution: "synchronous-promise@npm:2.0.15"
+ checksum: 967778e7570dc496d7630a89db3bada38876574797c9b272ee50f6ecd7afcebf450268b4bb48a84274d213ab9fd4865dbcc6edeb279f9ecaddf189d5446cbe43
+ languageName: node
+ linkType: hard
+
"tapable@npm:^1.0.0, tapable@npm:^1.1.3":
version: 1.1.3
resolution: "tapable@npm:1.1.3"
@@ -13281,7 +13288,7 @@ fsevents@^1.2.7:
languageName: node
linkType: hard
-"telejson@npm:^5.3.2":
+"telejson@npm:^5.3.2, telejson@npm:^5.3.3":
version: 5.3.3
resolution: "telejson@npm:5.3.3"
dependencies:
@@ -14052,14 +14059,14 @@ fsevents@^1.2.7:
languageName: node
linkType: hard
-"v8-to-istanbul@npm:^8.0.0":
- version: 8.0.0
- resolution: "v8-to-istanbul@npm:8.0.0"
+"v8-to-istanbul@npm:^8.1.0":
+ version: 8.1.0
+ resolution: "v8-to-istanbul@npm:8.1.0"
dependencies:
"@types/istanbul-lib-coverage": ^2.0.1
convert-source-map: ^1.6.0
source-map: ^0.7.3
- checksum: 4d84ab3f49c778702442f8385609951871758441ea929f20285550e1ba16ea980e9a197cc6877b9d92443a57a2535d9e3cafed6700ed6366b53f59e9ee760146
+ checksum: 4db98cc1ab0634e183353fb404e2dd9dec2dd3075372d4423c0acebff78d927b59dbb58ab729ab36c7d5168610b2aa5b3c885be8221b44ab937be1dbf2078c4b
languageName: node
linkType: hard
@@ -14143,7 +14150,7 @@ fsevents@^1.2.7:
languageName: node
linkType: hard
-"warning@npm:^4.0.2, warning@npm:^4.0.3":
+"warning@npm:^4.0.2":
version: 4.0.3
resolution: "warning@npm:4.0.3"
dependencies:
@@ -14192,7 +14199,7 @@ fsevents@^1.2.7:
version: 0.0.0-use.local
resolution: "web-components-kitchen-sink@workspace:."
dependencies:
- "@custom-elements-manifest/analyzer": ^0.3.11
+ "@custom-elements-manifest/analyzer": ^0.5.7
"@storybook/addon-a11y": "*"
"@storybook/addon-actions": "*"
"@storybook/addon-backgrounds": "*"
@@ -14205,8 +14212,8 @@ fsevents@^1.2.7:
"@storybook/addon-viewport": "*"
"@storybook/web-components": "*"
global: ^4.4.0
- jest: ^27.0.1
- lit: ^2.0.0-rc.2
+ jest: ^27.3.1
+ lit: ^2.0.2
typescript: 4.2.4
languageName: unknown
linkType: soft
@@ -14483,6 +14490,21 @@ fsevents@^1.2.7:
languageName: node
linkType: hard
+"ws@npm:^8.2.3":
+ version: 8.2.3
+ resolution: "ws@npm:8.2.3"
+ peerDependencies:
+ bufferutil: ^4.0.1
+ utf-8-validate: ^5.0.2
+ peerDependenciesMeta:
+ bufferutil:
+ optional: true
+ utf-8-validate:
+ optional: true
+ checksum: 5ef0f81cc5b8776fb5dd5504c83b4f49be5aa610f9319ff774158bba7db495127e69763d73085288223061e7a5d104d022e2e264346b36b046322f50057e7945
+ languageName: node
+ linkType: hard
+
"xml-name-validator@npm:^3.0.0":
version: 3.0.0
resolution: "xml-name-validator@npm:3.0.0"
@@ -14546,7 +14568,7 @@ fsevents@^1.2.7:
languageName: node
linkType: hard
-"yargs@npm:^16.0.3":
+"yargs@npm:^16.2.0":
version: 16.2.0
resolution: "yargs@npm:16.2.0"
dependencies:
diff --git a/jest.config.js b/jest.config.js
index 2caf8ee5a90e..b0ddc913094d 100644
--- a/jest.config.js
+++ b/jest.config.js
@@ -1,3 +1,5 @@
+const os = require('os');
+
module.exports = {
cacheDirectory: '.cache/jest',
clearMocks: true,
@@ -81,6 +83,7 @@ module.exports = {
globals: {
DOCS_MODE: false,
PREVIEW_URL: undefined,
+ SNAPSHOT_OS: os.platform() === 'win32' ? 'windows' : 'posix',
},
snapshotSerializers: ['jest-emotion', 'enzyme-to-json/serializer', 'jest-serializer-html'],
coverageDirectory: 'coverage',
diff --git a/lerna.json b/lerna.json
index 57a143f400f9..35034d1d7235 100644
--- a/lerna.json
+++ b/lerna.json
@@ -2,5 +2,5 @@
"npmClient": "yarn",
"useWorkspaces": true,
"registry": "https://registry.npmjs.org",
- "version": "6.4.0-rc.3"
+ "version": "6.5.0-alpha.5"
}
diff --git a/lib/addons/package.json b/lib/addons/package.json
index 1c1f0211ac04..651404dd5ea9 100644
--- a/lib/addons/package.json
+++ b/lib/addons/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/addons",
- "version": "6.4.0-rc.3",
+ "version": "6.5.0-alpha.5",
"description": "Storybook addons store",
"keywords": [
"storybook"
@@ -40,13 +40,13 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
- "@storybook/api": "6.4.0-rc.3",
- "@storybook/channels": "6.4.0-rc.3",
- "@storybook/client-logger": "6.4.0-rc.3",
- "@storybook/core-events": "6.4.0-rc.3",
+ "@storybook/api": "6.5.0-alpha.5",
+ "@storybook/channels": "6.5.0-alpha.5",
+ "@storybook/client-logger": "6.5.0-alpha.5",
+ "@storybook/core-events": "6.5.0-alpha.5",
"@storybook/csf": "0.0.2--canary.87bc651.0",
- "@storybook/router": "6.4.0-rc.3",
- "@storybook/theming": "6.4.0-rc.3",
+ "@storybook/router": "6.5.0-alpha.5",
+ "@storybook/theming": "6.5.0-alpha.5",
"@types/webpack-env": "^1.16.0",
"core-js": "^3.8.2",
"global": "^4.4.0",
@@ -59,6 +59,6 @@
"publishConfig": {
"access": "public"
},
- "gitHead": "f23a6daa88a2f051e2a94d803431ab3b3d11e26b",
+ "gitHead": "df18f2ad3794d61c59c6458f66f73635502b8963",
"sbmodern": "dist/modern/public_api.js"
}
diff --git a/lib/api/package.json b/lib/api/package.json
index 045b86c85fe2..a7df050e7321 100644
--- a/lib/api/package.json
+++ b/lib/api/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/api",
- "version": "6.4.0-rc.3",
+ "version": "6.5.0-alpha.5",
"description": "Core Storybook API & Context",
"keywords": [
"storybook"
@@ -38,21 +38,21 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
- "@storybook/channels": "6.4.0-rc.3",
- "@storybook/client-logger": "6.4.0-rc.3",
- "@storybook/core-events": "6.4.0-rc.3",
+ "@storybook/channels": "6.5.0-alpha.5",
+ "@storybook/client-logger": "6.5.0-alpha.5",
+ "@storybook/core-events": "6.5.0-alpha.5",
"@storybook/csf": "0.0.2--canary.87bc651.0",
- "@storybook/router": "6.4.0-rc.3",
+ "@storybook/router": "6.5.0-alpha.5",
"@storybook/semver": "^7.3.2",
- "@storybook/theming": "6.4.0-rc.3",
+ "@storybook/theming": "6.5.0-alpha.5",
"core-js": "^3.8.2",
"fast-deep-equal": "^3.1.3",
"global": "^4.4.0",
- "lodash": "^4.17.20",
+ "lodash": "^4.17.21",
"memoizerific": "^1.11.3",
"regenerator-runtime": "^0.13.7",
"store2": "^2.12.0",
- "telejson": "^5.3.2",
+ "telejson": "^5.3.3",
"ts-dedent": "^2.0.0",
"util-deprecate": "^1.0.2"
},
@@ -71,6 +71,6 @@
"publishConfig": {
"access": "public"
},
- "gitHead": "f23a6daa88a2f051e2a94d803431ab3b3d11e26b",
+ "gitHead": "df18f2ad3794d61c59c6458f66f73635502b8963",
"sbmodern": "dist/modern/index.js"
}
diff --git a/lib/api/src/lib/stories.ts b/lib/api/src/lib/stories.ts
index 044b728ca04e..e93c974f6255 100644
--- a/lib/api/src/lib/stories.ts
+++ b/lib/api/src/lib/stories.ts
@@ -3,6 +3,7 @@ import deprecate from 'util-deprecate';
import dedent from 'ts-dedent';
import mapValues from 'lodash/mapValues';
import countBy from 'lodash/countBy';
+import global from 'global';
import {
StoryId,
ComponentTitle,
@@ -19,6 +20,8 @@ import merge from './merge';
import { Provider } from '../modules/provider';
import { ViewMode } from '../modules/addons';
+const { FEATURES } = global;
+
export type { StoryId };
export interface Root {
@@ -207,7 +210,7 @@ export const transformStoriesRawToStoriesHash = (
}
const setShowRoots = typeof showRoots !== 'undefined';
- if (usesOldHierarchySeparator && !setShowRoots) {
+ if (usesOldHierarchySeparator && !setShowRoots && FEATURES?.warnOnLegacyHierarchySeparator) {
warnChangedDefaultHierarchySeparators();
}
diff --git a/lib/api/src/modules/stories.ts b/lib/api/src/modules/stories.ts
index 654aad148fe6..308c94884854 100644
--- a/lib/api/src/modules/stories.ts
+++ b/lib/api/src/modules/stories.ts
@@ -293,10 +293,9 @@ export const init: ModuleFn = ({
? s.parameters.viewMode
: viewModeFromState;
- // In some cases, the viewMode could be something other than docs/story
- // ('settings', for example) and therefore we should make sure we go back
- // to the 'story' viewMode when navigating away from those pages.
- if (!viewMode.match(/docs|story/)) {
+ // Some viewModes are not story-specific, and we should reset viewMode
+ // to 'story' if one of those is active when navigating to another story
+ if (['settings', 'about', 'release'].includes(viewMode)) {
viewMode = 'story';
}
diff --git a/lib/api/src/version.ts b/lib/api/src/version.ts
index 42b6b7983cd9..dea056ead89f 100644
--- a/lib/api/src/version.ts
+++ b/lib/api/src/version.ts
@@ -1 +1 @@
-export const version = '6.4.0-rc.3';
+export const version = '6.5.0-alpha.5';
diff --git a/lib/builder-webpack4/package.json b/lib/builder-webpack4/package.json
index 8f20f6827c87..0bda0a6791f3 100644
--- a/lib/builder-webpack4/package.json
+++ b/lib/builder-webpack4/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/builder-webpack4",
- "version": "6.4.0-rc.3",
+ "version": "6.5.0-alpha.5",
"description": "Storybook framework-agnostic API",
"keywords": [
"storybook"
@@ -61,23 +61,23 @@
"@babel/preset-env": "^7.12.11",
"@babel/preset-react": "^7.12.10",
"@babel/preset-typescript": "^7.12.7",
- "@storybook/addons": "6.4.0-rc.3",
- "@storybook/api": "6.4.0-rc.3",
- "@storybook/channel-postmessage": "6.4.0-rc.3",
- "@storybook/channels": "6.4.0-rc.3",
- "@storybook/client-api": "6.4.0-rc.3",
- "@storybook/client-logger": "6.4.0-rc.3",
- "@storybook/components": "6.4.0-rc.3",
- "@storybook/core-common": "6.4.0-rc.3",
- "@storybook/core-events": "6.4.0-rc.3",
- "@storybook/node-logger": "6.4.0-rc.3",
- "@storybook/preview-web": "6.4.0-rc.3",
- "@storybook/router": "6.4.0-rc.3",
+ "@storybook/addons": "6.5.0-alpha.5",
+ "@storybook/api": "6.5.0-alpha.5",
+ "@storybook/channel-postmessage": "6.5.0-alpha.5",
+ "@storybook/channels": "6.5.0-alpha.5",
+ "@storybook/client-api": "6.5.0-alpha.5",
+ "@storybook/client-logger": "6.5.0-alpha.5",
+ "@storybook/components": "6.5.0-alpha.5",
+ "@storybook/core-common": "6.5.0-alpha.5",
+ "@storybook/core-events": "6.5.0-alpha.5",
+ "@storybook/node-logger": "6.5.0-alpha.5",
+ "@storybook/preview-web": "6.5.0-alpha.5",
+ "@storybook/router": "6.5.0-alpha.5",
"@storybook/semver": "^7.3.2",
- "@storybook/store": "6.4.0-rc.3",
- "@storybook/theming": "6.4.0-rc.3",
- "@storybook/ui": "6.4.0-rc.3",
- "@types/node": "^14.0.10",
+ "@storybook/store": "6.5.0-alpha.5",
+ "@storybook/theming": "6.5.0-alpha.5",
+ "@storybook/ui": "6.5.0-alpha.5",
+ "@types/node": "^14.0.10 || ^16.0.0",
"@types/webpack": "^4.41.26",
"autoprefixer": "^9.8.6",
"babel-loader": "^8.0.0",
@@ -131,6 +131,6 @@
"publishConfig": {
"access": "public"
},
- "gitHead": "f23a6daa88a2f051e2a94d803431ab3b3d11e26b",
+ "gitHead": "df18f2ad3794d61c59c6458f66f73635502b8963",
"sbmodern": "dist/modern/index.js"
}
diff --git a/lib/builder-webpack4/src/preview/iframe-webpack.config.ts b/lib/builder-webpack4/src/preview/iframe-webpack.config.ts
index d20ddd08ad82..7b293a5b8e08 100644
--- a/lib/builder-webpack4/src/preview/iframe-webpack.config.ts
+++ b/lib/builder-webpack4/src/preview/iframe-webpack.config.ts
@@ -1,7 +1,7 @@
import path from 'path';
import { DefinePlugin, HotModuleReplacementPlugin, ProgressPlugin } from 'webpack';
// @ts-ignore
-import { Configuration, RuleSetRule } from '@types/webpack';
+import type { Configuration, RuleSetRule } from '@types/webpack';
import HtmlWebpackPlugin from 'html-webpack-plugin';
import CaseSensitivePathsPlugin from 'case-sensitive-paths-webpack-plugin';
import WatchMissingNodeModulesPlugin from 'react-dev-utils/WatchMissingNodeModulesPlugin';
@@ -64,6 +64,7 @@ export default async (options: Options & Record
): Promise): Promise ({
...specifier,
importPathMatcher: specifier.importPathMatcher.source,
diff --git a/lib/builder-webpack5/package.json b/lib/builder-webpack5/package.json
index 55c85d2e28ab..004811c2b385 100644
--- a/lib/builder-webpack5/package.json
+++ b/lib/builder-webpack5/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/builder-webpack5",
- "version": "6.4.0-rc.3",
+ "version": "6.5.0-alpha.5",
"description": "Storybook framework-agnostic API",
"keywords": [
"storybook"
@@ -60,22 +60,22 @@
"@babel/preset-env": "^7.12.11",
"@babel/preset-react": "^7.12.10",
"@babel/preset-typescript": "^7.12.7",
- "@storybook/addons": "6.4.0-rc.3",
- "@storybook/api": "6.4.0-rc.3",
- "@storybook/channel-postmessage": "6.4.0-rc.3",
- "@storybook/channels": "6.4.0-rc.3",
- "@storybook/client-api": "6.4.0-rc.3",
- "@storybook/client-logger": "6.4.0-rc.3",
- "@storybook/components": "6.4.0-rc.3",
- "@storybook/core-common": "6.4.0-rc.3",
- "@storybook/core-events": "6.4.0-rc.3",
- "@storybook/node-logger": "6.4.0-rc.3",
- "@storybook/preview-web": "6.4.0-rc.3",
- "@storybook/router": "6.4.0-rc.3",
+ "@storybook/addons": "6.5.0-alpha.5",
+ "@storybook/api": "6.5.0-alpha.5",
+ "@storybook/channel-postmessage": "6.5.0-alpha.5",
+ "@storybook/channels": "6.5.0-alpha.5",
+ "@storybook/client-api": "6.5.0-alpha.5",
+ "@storybook/client-logger": "6.5.0-alpha.5",
+ "@storybook/components": "6.5.0-alpha.5",
+ "@storybook/core-common": "6.5.0-alpha.5",
+ "@storybook/core-events": "6.5.0-alpha.5",
+ "@storybook/node-logger": "6.5.0-alpha.5",
+ "@storybook/preview-web": "6.5.0-alpha.5",
+ "@storybook/router": "6.5.0-alpha.5",
"@storybook/semver": "^7.3.2",
- "@storybook/store": "6.4.0-rc.3",
- "@storybook/theming": "6.4.0-rc.3",
- "@types/node": "^14.0.10",
+ "@storybook/store": "6.5.0-alpha.5",
+ "@storybook/theming": "6.5.0-alpha.5",
+ "@types/node": "^14.0.10 || ^16.0.0",
"babel-loader": "^8.0.0",
"babel-plugin-macros": "^3.0.1",
"babel-plugin-polyfill-corejs3": "^0.1.0",
@@ -86,6 +86,7 @@
"glob": "^7.1.6",
"glob-promise": "^3.4.0",
"html-webpack-plugin": "^5.0.0",
+ "path-browserify": "^1.0.1",
"react-dev-utils": "^11.0.4",
"stable": "^0.1.8",
"style-loader": "^2.0.0",
@@ -117,6 +118,6 @@
"publishConfig": {
"access": "public"
},
- "gitHead": "f23a6daa88a2f051e2a94d803431ab3b3d11e26b",
+ "gitHead": "df18f2ad3794d61c59c6458f66f73635502b8963",
"sbmodern": "dist/modern/index.js"
}
diff --git a/lib/builder-webpack5/src/preview/iframe-webpack.config.ts b/lib/builder-webpack5/src/preview/iframe-webpack.config.ts
index c146b7925f39..4f24c610c2fa 100644
--- a/lib/builder-webpack5/src/preview/iframe-webpack.config.ts
+++ b/lib/builder-webpack5/src/preview/iframe-webpack.config.ts
@@ -1,5 +1,11 @@
import path from 'path';
-import { Configuration, DefinePlugin, HotModuleReplacementPlugin, ProgressPlugin } from 'webpack';
+import {
+ Configuration,
+ DefinePlugin,
+ HotModuleReplacementPlugin,
+ ProgressPlugin,
+ ProvidePlugin,
+} from 'webpack';
import HtmlWebpackPlugin from 'html-webpack-plugin';
import CaseSensitivePathsPlugin from 'case-sensitive-paths-webpack-plugin';
import WatchMissingNodeModulesPlugin from 'react-dev-utils/WatchMissingNodeModulesPlugin';
@@ -59,6 +65,7 @@ export default async (options: Options & Record): Promise): Promise ({
...specifier,
importPathMatcher: specifier.importPathMatcher.source,
@@ -208,6 +216,7 @@ export default async (options: Options & Record): Promise): Promise typeof v !== 'undefined')
);
- const stringifyOptions = { ...(global.CHANNEL_OPTIONS || {}), ...c };
+ const stringifyOptions = {
+ ...defaultEventOptions,
+ ...(global.CHANNEL_OPTIONS || {}),
+ ...eventOptions,
+ };
// backwards compat: convert depth to maxDepth
if (options && Number.isInteger(options.depth)) {
diff --git a/lib/channel-websocket/package.json b/lib/channel-websocket/package.json
index e14b3acd2467..d066e9c40444 100644
--- a/lib/channel-websocket/package.json
+++ b/lib/channel-websocket/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/channel-websocket",
- "version": "6.4.0-rc.3",
+ "version": "6.5.0-alpha.5",
"description": "",
"keywords": [
"storybook"
@@ -40,15 +40,15 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
- "@storybook/channels": "6.4.0-rc.3",
- "@storybook/client-logger": "6.4.0-rc.3",
+ "@storybook/channels": "6.5.0-alpha.5",
+ "@storybook/client-logger": "6.5.0-alpha.5",
"core-js": "^3.8.2",
"global": "^4.4.0",
- "telejson": "^5.3.2"
+ "telejson": "^5.3.3"
},
"publishConfig": {
"access": "public"
},
- "gitHead": "f23a6daa88a2f051e2a94d803431ab3b3d11e26b",
+ "gitHead": "df18f2ad3794d61c59c6458f66f73635502b8963",
"sbmodern": "dist/modern/index.js"
}
diff --git a/lib/channels/package.json b/lib/channels/package.json
index bc5d7d8cfe7f..7ec0227f6467 100644
--- a/lib/channels/package.json
+++ b/lib/channels/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/channels",
- "version": "6.4.0-rc.3",
+ "version": "6.5.0-alpha.5",
"description": "",
"keywords": [
"storybook"
@@ -47,6 +47,6 @@
"publishConfig": {
"access": "public"
},
- "gitHead": "f23a6daa88a2f051e2a94d803431ab3b3d11e26b",
+ "gitHead": "df18f2ad3794d61c59c6458f66f73635502b8963",
"sbmodern": "dist/modern/index.js"
}
diff --git a/lib/cli-sb/package.json b/lib/cli-sb/package.json
index 502d7e9eb0b9..90fe03ffe5d8 100644
--- a/lib/cli-sb/package.json
+++ b/lib/cli-sb/package.json
@@ -1,6 +1,6 @@
{
"name": "sb",
- "version": "6.4.0-rc.3",
+ "version": "6.5.0-alpha.5",
"description": "Storybook CLI",
"keywords": [
"storybook"
@@ -24,10 +24,10 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
- "@storybook/cli": "6.4.0-rc.3"
+ "@storybook/cli": "6.5.0-alpha.5"
},
"publishConfig": {
"access": "public"
},
- "gitHead": "f23a6daa88a2f051e2a94d803431ab3b3d11e26b"
+ "gitHead": "df18f2ad3794d61c59c6458f66f73635502b8963"
}
diff --git a/lib/cli-storybook/package.json b/lib/cli-storybook/package.json
index d31a77278c27..069c3b3687e1 100644
--- a/lib/cli-storybook/package.json
+++ b/lib/cli-storybook/package.json
@@ -1,6 +1,6 @@
{
"name": "storybook",
- "version": "6.4.0-rc.3",
+ "version": "6.5.0-alpha.5",
"description": "Storybook CLI",
"keywords": [
"storybook"
@@ -27,10 +27,10 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
- "@storybook/cli": "6.4.0-rc.3"
+ "@storybook/cli": "6.5.0-alpha.5"
},
"publishConfig": {
"access": "public"
},
- "gitHead": "f23a6daa88a2f051e2a94d803431ab3b3d11e26b"
+ "gitHead": "df18f2ad3794d61c59c6458f66f73635502b8963"
}
diff --git a/lib/cli/package.json b/lib/cli/package.json
index eb6ab5e01cf5..9fdcddf5c07f 100644
--- a/lib/cli/package.json
+++ b/lib/cli/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/cli",
- "version": "6.4.0-rc.3",
+ "version": "6.5.0-alpha.5",
"description": "Storybook's CLI - easiest method of adding storybook to your projects",
"keywords": [
"cli",
@@ -48,10 +48,10 @@
"dependencies": {
"@babel/core": "^7.12.10",
"@babel/preset-env": "^7.12.11",
- "@storybook/codemod": "6.4.0-rc.3",
- "@storybook/core-common": "6.4.0-rc.3",
- "@storybook/csf-tools": "6.4.0-rc.3",
- "@storybook/node-logger": "6.4.0-rc.3",
+ "@storybook/codemod": "6.5.0-alpha.5",
+ "@storybook/core-common": "6.5.0-alpha.5",
+ "@storybook/csf-tools": "6.5.0-alpha.5",
+ "@storybook/node-logger": "6.5.0-alpha.5",
"@storybook/semver": "^7.3.2",
"boxen": "^5.1.2",
"chalk": "^4.1.0",
@@ -76,7 +76,7 @@
"update-notifier": "^5.0.1"
},
"devDependencies": {
- "@storybook/client-api": "6.4.0-rc.3",
+ "@storybook/client-api": "6.5.0-alpha.5",
"@types/cross-spawn": "^6.0.2",
"@types/prompts": "^2.0.9",
"@types/puppeteer-core": "^2.1.0",
@@ -92,5 +92,5 @@
"publishConfig": {
"access": "public"
},
- "gitHead": "f23a6daa88a2f051e2a94d803431ab3b3d11e26b"
+ "gitHead": "df18f2ad3794d61c59c6458f66f73635502b8963"
}
diff --git a/lib/cli/src/automigrate/fixes/angular12.test.ts b/lib/cli/src/automigrate/fixes/angular12.test.ts
index 6a9626674934..c00b45184056 100644
--- a/lib/cli/src/automigrate/fixes/angular12.test.ts
+++ b/lib/cli/src/automigrate/fixes/angular12.test.ts
@@ -1,4 +1,5 @@
/* eslint-disable no-underscore-dangle */
+import path from 'path';
import { JsPackageManager } from '../../js-package-manager';
import { angular12 } from './angular12';
@@ -8,7 +9,7 @@ jest.mock('fs-extra', () => require('../../../../../__mocks__/fs-extra'));
const checkCra5 = async ({ packageJson, main }) => {
// eslint-disable-next-line global-require
require('fs-extra').__setMockFiles({
- '.storybook/main.js': `module.exports = ${JSON.stringify(main)};`,
+ [path.join('.storybook', 'main.js')]: `module.exports = ${JSON.stringify(main)};`,
});
const packageManager = {
retrievePackageJson: () => ({ dependencies: {}, devDependencies: {}, ...packageJson }),
diff --git a/lib/cli/src/automigrate/fixes/cra5.test.ts b/lib/cli/src/automigrate/fixes/cra5.test.ts
index 15717948ff6a..72e42f9f6f65 100644
--- a/lib/cli/src/automigrate/fixes/cra5.test.ts
+++ b/lib/cli/src/automigrate/fixes/cra5.test.ts
@@ -1,4 +1,5 @@
/* eslint-disable no-underscore-dangle */
+import path from 'path';
import { JsPackageManager } from '../../js-package-manager';
import { cra5 } from './cra5';
@@ -8,7 +9,7 @@ jest.mock('fs-extra', () => require('../../../../../__mocks__/fs-extra'));
const checkCra5 = async ({ packageJson, main }) => {
// eslint-disable-next-line global-require
require('fs-extra').__setMockFiles({
- '.storybook/main.js': `module.exports = ${JSON.stringify(main)};`,
+ [path.join('.storybook', 'main.js')]: `module.exports = ${JSON.stringify(main)};`,
});
const packageManager = {
retrievePackageJson: () => ({ dependencies: {}, devDependencies: {}, ...packageJson }),
diff --git a/lib/cli/src/automigrate/fixes/eslint-plugin.test.ts b/lib/cli/src/automigrate/fixes/eslint-plugin.test.ts
index d4f9940a6a0e..b87856375474 100644
--- a/lib/cli/src/automigrate/fixes/eslint-plugin.test.ts
+++ b/lib/cli/src/automigrate/fixes/eslint-plugin.test.ts
@@ -1,4 +1,5 @@
/* eslint-disable no-underscore-dangle */
+import path from 'path';
import dedent from 'ts-dedent';
import { JsPackageManager } from '../../js-package-manager';
import { eslintPlugin } from './eslint-plugin';
@@ -14,7 +15,9 @@ const checkEslint = async ({
}) => {
// eslint-disable-next-line global-require
require('fs-extra').__setMockFiles({
- '.storybook/main.js': !main ? null : `module.exports = ${JSON.stringify(main)};`,
+ [path.join('.storybook', 'main.js')]: !main
+ ? null
+ : `module.exports = ${JSON.stringify(main)};`,
[`.eslintrc.${eslintExtension}`]: !hasEslint
? null
: dedent(`
diff --git a/lib/cli/src/automigrate/fixes/eslint-plugin.ts b/lib/cli/src/automigrate/fixes/eslint-plugin.ts
index 43b42836acd1..dd6e9351066b 100644
--- a/lib/cli/src/automigrate/fixes/eslint-plugin.ts
+++ b/lib/cli/src/automigrate/fixes/eslint-plugin.ts
@@ -96,8 +96,7 @@ export const eslintPlugin: Fix = {
if (!dryRun) {
logger.info(`✅ Adding Storybook to extends list`);
const extendsConfig = eslint.getFieldValue(['extends']) || [];
- const existingConfigValue =
- Array.isArray(extendsConfig) ? extendsConfig : [extendsConfig];
+ const existingConfigValue = Array.isArray(extendsConfig) ? extendsConfig : [extendsConfig];
eslint.setFieldValue(['extends'], [...existingConfigValue, 'plugin:storybook/recommended']);
await writeConfig(eslint);
diff --git a/lib/cli/src/automigrate/fixes/mainjsFramework.ts b/lib/cli/src/automigrate/fixes/mainjsFramework.ts
index 637c0868cd65..e074a9cd5857 100644
--- a/lib/cli/src/automigrate/fixes/mainjsFramework.ts
+++ b/lib/cli/src/automigrate/fixes/mainjsFramework.ts
@@ -21,6 +21,11 @@ export const mainjsFramework: Fix = {
const packageJson = packageManager.retrievePackageJson();
const { mainConfig, framework, version: storybookVersion } = getStorybookInfo(packageJson);
+ if (!mainConfig) {
+ logger.warn('Unable to find storybook main.js config, skipping');
+ return null;
+ }
+
const storybookCoerced = storybookVersion && semver.coerce(storybookVersion)?.version;
if (!storybookCoerced) {
logger.warn(dedent`
diff --git a/lib/cli/src/automigrate/fixes/webpack5.test.ts b/lib/cli/src/automigrate/fixes/webpack5.test.ts
index 7d5f519cfe64..5406b2ed86f4 100644
--- a/lib/cli/src/automigrate/fixes/webpack5.test.ts
+++ b/lib/cli/src/automigrate/fixes/webpack5.test.ts
@@ -1,4 +1,5 @@
/* eslint-disable no-underscore-dangle */
+import path from 'path';
import { JsPackageManager } from '../../js-package-manager';
import { webpack5 } from './webpack5';
@@ -8,7 +9,7 @@ jest.mock('fs-extra', () => require('../../../../../__mocks__/fs-extra'));
const checkWebpack5 = async ({ packageJson, main }) => {
// eslint-disable-next-line global-require
require('fs-extra').__setMockFiles({
- '.storybook/main.js': `module.exports = ${JSON.stringify(main)};`,
+ [path.join('.storybook', 'main.js')]: `module.exports = ${JSON.stringify(main)};`,
});
const packageManager = {
retrievePackageJson: () => ({ dependencies: {}, devDependencies: {}, ...packageJson }),
diff --git a/lib/cli/src/repro-generators/configs.ts b/lib/cli/src/repro-generators/configs.ts
index c3b2f6e79660..d9d1238e6973 100644
--- a/lib/cli/src/repro-generators/configs.ts
+++ b/lib/cli/src/repro-generators/configs.ts
@@ -151,7 +151,6 @@ export const vue: Parameters = {
name: 'vue',
version: 'latest',
generator: [
- `echo '{"useTaobaoRegistry": false}' > ~/.vuerc`,
// Force npm otherwise we have a mess between Yarn 1 and Yarn 2
`npx -p @vue/cli@{{version}} vue create {{appName}} --default --packageManager=npm --no-git --force`,
].join(' && '),
@@ -163,7 +162,6 @@ export const vue3: Parameters = {
version: 'next',
// Vue CLI v4 utilizes webpack 4, and the 5-alpha uses webpack 5 so we force ^4 here
generator: [
- `echo '{"useTaobaoRegistry": false}' > ~/.vuerc`,
// Force npm otherwise we have a mess between Yarn 1 and Yarn 2
`npx -p @vue/cli@^4 vue create {{appName}} --preset=__default_vue_3__ --packageManager=npm --no-git --force`,
].join(' && '),
diff --git a/lib/cli/src/repro.ts b/lib/cli/src/repro.ts
index ca1f811425c4..1019e662b32f 100644
--- a/lib/cli/src/repro.ts
+++ b/lib/cli/src/repro.ts
@@ -118,11 +118,13 @@ export const repro = async ({
type: 'text',
message: 'Enter the output directory',
name: 'directory',
+ initial: selectedConfig.name,
+ validate: (directoryName) =>
+ fs.existsSync(directoryName)
+ ? `${directoryName} already exists. Please choose another name.`
+ : true,
});
selectedDirectory = directory;
- if (fs.existsSync(selectedDirectory)) {
- throw new Error(`🚨 Repro: ${selectedDirectory} already exists`);
- }
}
try {
diff --git a/lib/cli/src/versions.json b/lib/cli/src/versions.json
index 1156c47942c0..dc7e50455c3a 100644
--- a/lib/cli/src/versions.json
+++ b/lib/cli/src/versions.json
@@ -1,59 +1,59 @@
{
- "@storybook/addon-a11y": "6.4.0-rc.3",
- "@storybook/addon-actions": "6.4.0-rc.3",
- "@storybook/addon-backgrounds": "6.4.0-rc.3",
- "@storybook/addon-controls": "6.4.0-rc.3",
- "@storybook/addon-docs": "6.4.0-rc.3",
- "@storybook/addon-essentials": "6.4.0-rc.3",
- "@storybook/addon-interactions": "6.4.0-rc.3",
- "@storybook/addon-jest": "6.4.0-rc.3",
- "@storybook/addon-links": "6.4.0-rc.3",
- "@storybook/addon-storyshots": "6.4.0-rc.3",
- "@storybook/addon-storyshots-puppeteer": "6.4.0-rc.3",
- "@storybook/addon-storysource": "6.4.0-rc.3",
- "@storybook/addon-toolbars": "6.4.0-rc.3",
- "@storybook/addon-viewport": "6.4.0-rc.3",
- "@storybook/addons": "6.4.0-rc.3",
- "@storybook/angular": "6.4.0-rc.3",
- "@storybook/api": "6.4.0-rc.3",
- "@storybook/aurelia": "6.4.0-rc.3",
- "@storybook/builder-webpack4": "6.4.0-rc.3",
- "@storybook/builder-webpack5": "6.4.0-rc.3",
- "@storybook/channel-postmessage": "6.4.0-rc.3",
- "@storybook/channel-websocket": "6.4.0-rc.3",
- "@storybook/channels": "6.4.0-rc.3",
- "@storybook/cli": "6.4.0-rc.3",
- "@storybook/client-api": "6.4.0-rc.3",
- "@storybook/client-logger": "6.4.0-rc.3",
- "@storybook/codemod": "6.4.0-rc.3",
- "@storybook/components": "6.4.0-rc.3",
- "@storybook/core": "6.4.0-rc.3",
- "@storybook/core-client": "6.4.0-rc.3",
- "@storybook/core-common": "6.4.0-rc.3",
- "@storybook/core-events": "6.4.0-rc.3",
- "@storybook/core-server": "6.4.0-rc.3",
- "@storybook/csf-tools": "6.4.0-rc.3",
- "@storybook/ember": "6.4.0-rc.3",
- "@storybook/html": "6.4.0-rc.3",
- "@storybook/instrumenter": "6.4.0-rc.3",
- "@storybook/manager-webpack4": "6.4.0-rc.3",
- "@storybook/manager-webpack5": "6.4.0-rc.3",
- "@storybook/marionette": "6.4.0-rc.3",
- "@storybook/marko": "6.4.0-rc.3",
- "@storybook/mithril": "6.4.0-rc.3",
- "@storybook/node-logger": "6.4.0-rc.3",
- "@storybook/postinstall": "6.4.0-rc.3",
- "@storybook/preact": "6.4.0-rc.3",
- "@storybook/rax": "6.4.0-rc.3",
- "@storybook/react": "6.4.0-rc.3",
- "@storybook/riot": "6.4.0-rc.3",
- "@storybook/router": "6.4.0-rc.3",
- "@storybook/server": "6.4.0-rc.3",
- "@storybook/source-loader": "6.4.0-rc.3",
- "@storybook/svelte": "6.4.0-rc.3",
- "@storybook/theming": "6.4.0-rc.3",
- "@storybook/ui": "6.4.0-rc.3",
- "@storybook/vue": "6.4.0-rc.3",
- "@storybook/vue3": "6.4.0-rc.3",
- "@storybook/web-components": "6.4.0-rc.3"
+ "@storybook/addon-a11y": "6.5.0-alpha.5",
+ "@storybook/addon-actions": "6.5.0-alpha.5",
+ "@storybook/addon-backgrounds": "6.5.0-alpha.5",
+ "@storybook/addon-controls": "6.5.0-alpha.5",
+ "@storybook/addon-docs": "6.5.0-alpha.5",
+ "@storybook/addon-essentials": "6.5.0-alpha.5",
+ "@storybook/addon-interactions": "6.5.0-alpha.5",
+ "@storybook/addon-jest": "6.5.0-alpha.5",
+ "@storybook/addon-links": "6.5.0-alpha.5",
+ "@storybook/addon-storyshots": "6.5.0-alpha.5",
+ "@storybook/addon-storyshots-puppeteer": "6.5.0-alpha.5",
+ "@storybook/addon-storysource": "6.5.0-alpha.5",
+ "@storybook/addon-toolbars": "6.5.0-alpha.5",
+ "@storybook/addon-viewport": "6.5.0-alpha.5",
+ "@storybook/addons": "6.5.0-alpha.5",
+ "@storybook/angular": "6.5.0-alpha.5",
+ "@storybook/api": "6.5.0-alpha.5",
+ "@storybook/aurelia": "6.5.0-alpha.5",
+ "@storybook/builder-webpack4": "6.5.0-alpha.5",
+ "@storybook/builder-webpack5": "6.5.0-alpha.5",
+ "@storybook/channel-postmessage": "6.5.0-alpha.5",
+ "@storybook/channel-websocket": "6.5.0-alpha.5",
+ "@storybook/channels": "6.5.0-alpha.5",
+ "@storybook/cli": "6.5.0-alpha.5",
+ "@storybook/client-api": "6.5.0-alpha.5",
+ "@storybook/client-logger": "6.5.0-alpha.5",
+ "@storybook/codemod": "6.5.0-alpha.5",
+ "@storybook/components": "6.5.0-alpha.5",
+ "@storybook/core": "6.5.0-alpha.5",
+ "@storybook/core-client": "6.5.0-alpha.5",
+ "@storybook/core-common": "6.5.0-alpha.5",
+ "@storybook/core-events": "6.5.0-alpha.5",
+ "@storybook/core-server": "6.5.0-alpha.5",
+ "@storybook/csf-tools": "6.5.0-alpha.5",
+ "@storybook/ember": "6.5.0-alpha.5",
+ "@storybook/html": "6.5.0-alpha.5",
+ "@storybook/instrumenter": "6.5.0-alpha.5",
+ "@storybook/manager-webpack4": "6.5.0-alpha.5",
+ "@storybook/manager-webpack5": "6.5.0-alpha.5",
+ "@storybook/marionette": "6.5.0-alpha.5",
+ "@storybook/marko": "6.5.0-alpha.5",
+ "@storybook/mithril": "6.5.0-alpha.5",
+ "@storybook/node-logger": "6.5.0-alpha.5",
+ "@storybook/postinstall": "6.5.0-alpha.5",
+ "@storybook/preact": "6.5.0-alpha.5",
+ "@storybook/rax": "6.5.0-alpha.5",
+ "@storybook/react": "6.5.0-alpha.5",
+ "@storybook/riot": "6.5.0-alpha.5",
+ "@storybook/router": "6.5.0-alpha.5",
+ "@storybook/server": "6.5.0-alpha.5",
+ "@storybook/source-loader": "6.5.0-alpha.5",
+ "@storybook/svelte": "6.5.0-alpha.5",
+ "@storybook/theming": "6.5.0-alpha.5",
+ "@storybook/ui": "6.5.0-alpha.5",
+ "@storybook/vue": "6.5.0-alpha.5",
+ "@storybook/vue3": "6.5.0-alpha.5",
+ "@storybook/web-components": "6.5.0-alpha.5"
}
diff --git a/lib/client-api/package.json b/lib/client-api/package.json
index 73783a052627..ae80bab0c4da 100644
--- a/lib/client-api/package.json
+++ b/lib/client-api/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/client-api",
- "version": "6.4.0-rc.3",
+ "version": "6.5.0-alpha.5",
"description": "Storybook Client API",
"keywords": [
"storybook"
@@ -40,19 +40,19 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
- "@storybook/addons": "6.4.0-rc.3",
- "@storybook/channel-postmessage": "6.4.0-rc.3",
- "@storybook/channels": "6.4.0-rc.3",
- "@storybook/client-logger": "6.4.0-rc.3",
- "@storybook/core-events": "6.4.0-rc.3",
+ "@storybook/addons": "6.5.0-alpha.5",
+ "@storybook/channel-postmessage": "6.5.0-alpha.5",
+ "@storybook/channels": "6.5.0-alpha.5",
+ "@storybook/client-logger": "6.5.0-alpha.5",
+ "@storybook/core-events": "6.5.0-alpha.5",
"@storybook/csf": "0.0.2--canary.87bc651.0",
- "@storybook/store": "6.4.0-rc.3",
+ "@storybook/store": "6.5.0-alpha.5",
"@types/qs": "^6.9.5",
"@types/webpack-env": "^1.16.0",
"core-js": "^3.8.2",
"fast-deep-equal": "^3.1.3",
"global": "^4.4.0",
- "lodash": "^4.17.20",
+ "lodash": "^4.17.21",
"memoizerific": "^1.11.3",
"qs": "^6.10.0",
"regenerator-runtime": "^0.13.7",
@@ -68,6 +68,6 @@
"publishConfig": {
"access": "public"
},
- "gitHead": "f23a6daa88a2f051e2a94d803431ab3b3d11e26b",
+ "gitHead": "df18f2ad3794d61c59c6458f66f73635502b8963",
"sbmodern": "dist/modern/index.js"
}
diff --git a/lib/client-api/src/ClientApi.ts b/lib/client-api/src/ClientApi.ts
index 895e3a334312..964a1c7e68ef 100644
--- a/lib/client-api/src/ClientApi.ts
+++ b/lib/client-api/src/ClientApi.ts
@@ -316,7 +316,7 @@ export class ClientApi {
);
}
- const { decorators, loaders, ...storyParameters } = parameters;
+ const { decorators, loaders, component, args, argTypes, ...storyParameters } = parameters;
// eslint-disable-next-line no-underscore-dangle
const storyId = parameters.__id || toId(kind, storyName);
@@ -328,6 +328,9 @@ export class ClientApi {
parameters: { fileName, __id: storyId, ...storyParameters },
decorators,
loaders,
+ args,
+ argTypes,
+ component,
render: storyFn,
};
counter += 1;
@@ -358,12 +361,15 @@ Read more here: https://github.com/storybookjs/storybook/blob/master/MIGRATION.m
return api;
};
- api.addParameters = (parameters: Parameters) => {
+ api.addParameters = ({ component, args, argTypes, ...parameters }: Parameters) => {
if (hasAdded)
throw new Error(`You cannot add parameters after the first story for a kind.
Read more here: https://github.com/storybookjs/storybook/blob/master/MIGRATION.md#can-no-longer-add-decoratorsparameters-after-stories`);
meta.parameters = combineParameters(meta.parameters, parameters);
+ if (component) meta.component = component;
+ if (args) meta.args = { ...meta.args, ...args };
+ if (argTypes) meta.argTypes = { ...meta.argTypes, ...argTypes };
return api;
};
diff --git a/lib/client-api/src/StoryStoreFacade.ts b/lib/client-api/src/StoryStoreFacade.ts
index 1b51c68bda08..2a27797acb98 100644
--- a/lib/client-api/src/StoryStoreFacade.ts
+++ b/lib/client-api/src/StoryStoreFacade.ts
@@ -101,7 +101,7 @@ export class StoryStoreFacade {
> ${err.message}
- Are you using a V7-style sort function in V6 compatibilty mode?
+ Are you using a V7-style sort function in V6 compatibility mode?
More info: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#v7-style-story-sort
`);
diff --git a/lib/client-api/src/index.ts b/lib/client-api/src/index.ts
index ab73f6b88e51..6d1e77ef7370 100644
--- a/lib/client-api/src/index.ts
+++ b/lib/client-api/src/index.ts
@@ -12,8 +12,6 @@ export * from './types';
export * from './queryparams';
-// Typescript isn't happy that we are overwriting some types from store here
-// @ts-ignore
export * from '@storybook/store';
export {
diff --git a/lib/client-api/src/types.ts b/lib/client-api/src/types.ts
index 708f9c710048..fa4350c92f82 100644
--- a/lib/client-api/src/types.ts
+++ b/lib/client-api/src/types.ts
@@ -14,7 +14,7 @@ import {
StoryContext,
} from '@storybook/addons';
import { AnyFramework, StoryIdentifier, ProjectAnnotations } from '@storybook/csf';
-import { StoryStore, HooksContext } from '@storybook/store';
+import { StoryStore, HooksContext, RenderContext } from '@storybook/store';
export type {
SBType,
@@ -44,7 +44,7 @@ export interface StoryMetadata {
export type ArgTypesEnhancer = (context: StoryContext) => ArgTypes;
export type ArgsEnhancer = (context: StoryContext) => Args;
-export type StorySpecifier = StoryId | { name: StoryName; kind: StoryKind } | '*';
+type StorySpecifier = StoryId | { name: StoryName; kind: StoryKind } | '*';
export interface StoreSelectionSpecifier {
storySpecifier: StorySpecifier;
@@ -117,16 +117,4 @@ export interface GetStorybookKind {
stories: GetStorybookStory[];
}
-// This really belongs in lib/core, but that depends on lib/ui which (dev) depends on app/react
-// which needs this type. So we put it here to avoid the circular dependency problem.
-export type RenderContextWithoutStoryContext = StoreItem & {
- forceRender: boolean;
-
- showMain: () => void;
- showError: (error: { title: string; description: string }) => void;
- showException: (err: Error) => void;
-};
-
-export type RenderContext = RenderContextWithoutStoryContext & {
- storyContext: StoryContext;
-};
+export type RenderContextWithoutStoryContext = Omit;
diff --git a/lib/client-logger/package.json b/lib/client-logger/package.json
index 266671a3820e..9673c93c3aac 100644
--- a/lib/client-logger/package.json
+++ b/lib/client-logger/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/client-logger",
- "version": "6.4.0-rc.3",
+ "version": "6.5.0-alpha.5",
"description": "",
"keywords": [
"storybook"
@@ -46,6 +46,6 @@
"publishConfig": {
"access": "public"
},
- "gitHead": "f23a6daa88a2f051e2a94d803431ab3b3d11e26b",
+ "gitHead": "df18f2ad3794d61c59c6458f66f73635502b8963",
"sbmodern": "dist/modern/index.js"
}
diff --git a/lib/codemod/package.json b/lib/codemod/package.json
index d2e8b96ec634..38f972804160 100644
--- a/lib/codemod/package.json
+++ b/lib/codemod/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/codemod",
- "version": "6.4.0-rc.3",
+ "version": "6.5.0-alpha.5",
"description": "A collection of codemod scripts written with JSCodeshift",
"keywords": [
"storybook"
@@ -44,13 +44,13 @@
"@babel/types": "^7.12.11",
"@mdx-js/mdx": "^1.6.22",
"@storybook/csf": "0.0.2--canary.87bc651.0",
- "@storybook/csf-tools": "6.4.0-rc.3",
- "@storybook/node-logger": "6.4.0-rc.3",
+ "@storybook/csf-tools": "6.5.0-alpha.5",
+ "@storybook/node-logger": "6.5.0-alpha.5",
"core-js": "^3.8.2",
"cross-spawn": "^7.0.3",
"globby": "^11.0.2",
"jscodeshift": "^0.7.0",
- "lodash": "^4.17.20",
+ "lodash": "^4.17.21",
"prettier": "^2.2.1",
"recast": "^0.19.0",
"regenerator-runtime": "^0.13.7"
@@ -62,6 +62,6 @@
"publishConfig": {
"access": "public"
},
- "gitHead": "f23a6daa88a2f051e2a94d803431ab3b3d11e26b",
+ "gitHead": "df18f2ad3794d61c59c6458f66f73635502b8963",
"sbmodern": "dist/modern/index.js"
}
diff --git a/lib/codemod/src/transforms/csf-2-to-3.ts b/lib/codemod/src/transforms/csf-2-to-3.ts
index 08f4f4e79389..8ca8fddbb20f 100644
--- a/lib/codemod/src/transforms/csf-2-to-3.ts
+++ b/lib/codemod/src/transforms/csf-2-to-3.ts
@@ -104,36 +104,41 @@ function transform({ source }: { source: string }, api: any, options: { parser?:
return t.objectProperty(t.identifier(_rename(annotation)), val as t.Expression);
});
- const { init, id } = decl;
- // only replace arrow function expressions && template
- // ignore no-arg stories without annotations
- const template = getTemplateBindVariable(init);
- if ((!t.isArrowFunctionExpression(init) && !template) || isSimpleCSFStory(init, annotations)) {
- return;
- }
+ if (t.isVariableDeclarator(decl)) {
+ const { init, id } = decl;
+ // only replace arrow function expressions && template
+ // ignore no-arg stories without annotations
+ const template = getTemplateBindVariable(init);
+ if (
+ (!t.isArrowFunctionExpression(init) && !template) ||
+ isSimpleCSFStory(init, annotations)
+ ) {
+ return;
+ }
- // Remove the render function when we can hoist the template
- // const Template = (args) => ;
- // export const A = Template.bind({});
- let storyFn = template && csf._templates[template];
- if (!storyFn) storyFn = init;
-
- const keyId = t.identifier(key);
- // @ts-ignore
- const { typeAnnotation } = id;
- if (typeAnnotation) {
- keyId.typeAnnotation = typeAnnotation;
- }
+ // Remove the render function when we can hoist the template
+ // const Template = (args) => ;
+ // export const A = Template.bind({});
+ let storyFn = template && csf._templates[template];
+ if (!storyFn) storyFn = init;
+
+ const keyId = t.identifier(key);
+ // @ts-ignore
+ const { typeAnnotation } = id;
+ if (typeAnnotation) {
+ keyId.typeAnnotation = typeAnnotation;
+ }
- const renderAnnotation = isReactGlobalRenderFn(csf, storyFn)
- ? []
- : [t.objectProperty(t.identifier('render'), storyFn)];
+ const renderAnnotation = isReactGlobalRenderFn(csf, storyFn)
+ ? []
+ : [t.objectProperty(t.identifier('render'), storyFn)];
- objectExports[key] = t.exportNamedDeclaration(
- t.variableDeclaration('const', [
- t.variableDeclarator(keyId, t.objectExpression([...renderAnnotation, ...annotations])),
- ])
- );
+ objectExports[key] = t.exportNamedDeclaration(
+ t.variableDeclaration('const', [
+ t.variableDeclarator(keyId, t.objectExpression([...renderAnnotation, ...annotations])),
+ ])
+ );
+ }
});
const updatedBody = csf._ast.program.body.reduce((acc, stmt) => {
diff --git a/lib/components/package.json b/lib/components/package.json
index 40af6e03450c..29b706710f1f 100644
--- a/lib/components/package.json
+++ b/lib/components/package.json
@@ -1,6 +1,6 @@
{
"name": "@storybook/components",
- "version": "6.4.0-rc.3",
+ "version": "6.5.0-alpha.5",
"description": "Core Storybook Components",
"keywords": [
"storybook"
@@ -41,9 +41,9 @@
},
"dependencies": {
"@popperjs/core": "^2.6.0",
- "@storybook/client-logger": "6.4.0-rc.3",
+ "@storybook/client-logger": "6.5.0-alpha.5",
"@storybook/csf": "0.0.2--canary.87bc651.0",
- "@storybook/theming": "6.4.0-rc.3",
+ "@storybook/theming": "6.5.0-alpha.5",
"@types/color-convert": "^2.0.0",
"@types/overlayscrollbars": "^1.12.0",
"@types/react-syntax-highlighter": "11.0.5",
@@ -51,7 +51,7 @@
"core-js": "^3.8.2",
"fast-deep-equal": "^3.1.3",
"global": "^4.4.0",
- "lodash": "^4.17.20",
+ "lodash": "^4.17.21",
"markdown-to-jsx": "^7.1.3",
"memoizerific": "^1.11.3",
"overlayscrollbars": "^1.13.1",
@@ -76,6 +76,6 @@
"publishConfig": {
"access": "public"
},
- "gitHead": "f23a6daa88a2f051e2a94d803431ab3b3d11e26b",
+ "gitHead": "df18f2ad3794d61c59c6458f66f73635502b8963",
"sbmodern": "dist/modern/index.js"
}
diff --git a/lib/components/src/bar/button.tsx b/lib/components/src/bar/button.tsx
index a24b53f6bcd7..7282ec7a0a92 100644
--- a/lib/components/src/bar/button.tsx
+++ b/lib/components/src/bar/button.tsx
@@ -133,7 +133,9 @@ const IconPlaceholder = styled.div(({ theme }) => ({
}));
const IconButtonSkeletonWrapper = styled.div(() => ({
- padding: 5,
+ marginTop: 6,
+ padding: 7,
+ height: 28,
}));
export const IconButtonSkeleton = () => (
diff --git a/lib/components/src/blocks/ArgsTable/ArgRow.stories.tsx b/lib/components/src/blocks/ArgsTable/ArgRow.stories.tsx
index 39f7cab987ef..d6ffb2b42d3d 100644
--- a/lib/components/src/blocks/ArgsTable/ArgRow.stories.tsx
+++ b/lib/components/src/blocks/ArgsTable/ArgRow.stories.tsx
@@ -23,8 +23,6 @@ const Template = (args) => ;
const baseArgs = {
updateArgs: action('updateArgs'),
};
-export const Loading = Template.bind({});
-Loading.args = { isLoading: true };
export const String = Template.bind({});
String.args = {
diff --git a/lib/components/src/blocks/ArgsTable/ArgRow.tsx b/lib/components/src/blocks/ArgsTable/ArgRow.tsx
index 3087fe418efa..ab7c0800d357 100644
--- a/lib/components/src/blocks/ArgsTable/ArgRow.tsx
+++ b/lib/components/src/blocks/ArgsTable/ArgRow.tsx
@@ -8,7 +8,7 @@ import { ArgValue } from './ArgValue';
import { ArgControl, ArgControlProps } from './ArgControl';
import { codeCommon } from '../../typography/shared';
-interface ArgRowData {
+interface ArgRowProps {
row: ArgType;
arg: any;
updateArgs?: (args: Args) => void;
@@ -17,17 +17,6 @@ interface ArgRowData {
initialExpandedArgs?: boolean;
}
-interface ArgRowLoading {
- isLoading: true;
-}
-
-export const argRowLoadingData: ArgRowData = {
- row: { name: 'loading', description: 'loading' },
- arg: 0,
-};
-
-export type ArgRowProps = ArgRowData | ArgRowLoading;
-
const Name = styled.span({ fontWeight: 'bold' });
const Required = styled.span(({ theme }) => ({
@@ -84,9 +73,7 @@ const StyledTd = styled.td<{ expandable: boolean }>(({ theme, expandable }) => (
}));
export const ArgRow: FC = (props) => {
- // const isLoading = 'isLoading' in props;
- const { row, updateArgs, compact, expandable, initialExpandedArgs } =
- 'row' in props ? props : argRowLoadingData;
+ const { row, updateArgs, compact, expandable, initialExpandedArgs } = props;
const { name, description } = row;
const table = (row.table || {}) as TableAnnotation;
const type = table.type || row.type;
diff --git a/lib/components/src/blocks/ArgsTable/ArgsTable.stories.tsx b/lib/components/src/blocks/ArgsTable/ArgsTable.stories.tsx
index dc9bff0a1a11..0f0fb41b9011 100644
--- a/lib/components/src/blocks/ArgsTable/ArgsTable.stories.tsx
+++ b/lib/components/src/blocks/ArgsTable/ArgsTable.stories.tsx
@@ -29,6 +29,7 @@ const Template = (args) => ;
export const Loading = Template.bind({});
Loading.args = { isLoading: true };
+
export const Normal = Template.bind({});
Normal.args = {
rows: {
diff --git a/lib/components/src/blocks/ArgsTable/ArgsTable.tsx b/lib/components/src/blocks/ArgsTable/ArgsTable.tsx
index cb1a63a3144b..abeeb84973c5 100644
--- a/lib/components/src/blocks/ArgsTable/ArgsTable.tsx
+++ b/lib/components/src/blocks/ArgsTable/ArgsTable.tsx
@@ -3,14 +3,18 @@ import pickBy from 'lodash/pickBy';
import { styled, ignoreSsrWarning } from '@storybook/theming';
import { opacify, transparentize, darken, lighten } from 'polished';
import { Icons } from '../../icon/icon';
-import { ArgRow, argRowLoadingData } from './ArgRow';
+import { ArgRow } from './ArgRow';
import { SectionRow } from './SectionRow';
import { ArgType, ArgTypes, Args } from './types';
import { EmptyBlock } from '../EmptyBlock';
import { Link } from '../../typography/link/link';
import { ResetWrapper } from '../../typography/DocumentFormatting';
-export const TableWrapper = styled.table<{ compact?: boolean; inAddonPanel?: boolean }>(
+export const TableWrapper = styled.table<{
+ compact?: boolean;
+ inAddonPanel?: boolean;
+ isLoading?: boolean;
+}>(
({ theme, compact, inAddonPanel }) => ({
'&&': {
// Resets for cascading/system styles
@@ -183,7 +187,20 @@ export const TableWrapper = styled.table<{ compact?: boolean; inAddonPanel?: boo
},
// End finicky table styling
},
- })
+ }),
+ ({ isLoading, theme }) =>
+ isLoading
+ ? {
+ 'th span, td span, td button': {
+ display: 'inline',
+ backgroundColor: theme.appBorderColor,
+ animation: `${theme.animation.glow} 1.5s ease-in-out infinite`,
+ color: 'transparent',
+ boxShadow: 'none',
+ borderRadius: 0,
+ },
+ }
+ : {}
);
const ResetButton = styled.button(({ theme }) => ({
@@ -240,9 +257,8 @@ const sortFns: Record = {
Number(!!b.type?.required) - Number(!!a.type?.required) || a.name.localeCompare(b.name),
none: undefined,
};
-export interface ArgsTableData {
- rows: ArgTypes;
- args?: Args;
+
+export interface ArgsTableOptionProps {
updateArgs?: (args: Args) => void;
resetArgs?: (argNames?: string[]) => void;
compact?: boolean;
@@ -251,23 +267,39 @@ export interface ArgsTableData {
isLoading?: boolean;
sort?: SortType;
}
+export interface ArgsTableDataProps {
+ rows: ArgTypes;
+ args?: Args;
+}
export interface ArgsTableErrorProps {
error: ArgsTableError;
}
-interface ArgTableLoading {
+export interface ArgsTableLoadingProps {
isLoading: true;
}
-export const argTableLoadingData: ArgsTableData = {
+const rowLoadingData = (key: string) => ({
+ key,
+ name: 'propertyName',
+ description: 'This is a short description',
+ control: { type: 'text' },
+ table: {
+ type: { summary: 'summary' },
+ defaultValue: { summary: 'defaultValue' },
+ },
+});
+
+export const argsTableLoadingData: ArgsTableDataProps = {
rows: {
- row1: argRowLoadingData.row,
- row2: argRowLoadingData.row,
- row3: argRowLoadingData.row,
+ row1: rowLoadingData('row1'),
+ row2: rowLoadingData('row2'),
+ row3: rowLoadingData('row3'),
},
};
-export type ArgsTableProps = ArgsTableData | ArgsTableErrorProps | ArgTableLoading;
+export type ArgsTableProps = ArgsTableOptionProps &
+ (ArgsTableDataProps | ArgsTableErrorProps | ArgsTableLoadingProps);
type Rows = ArgType[];
type Subsection = Rows;
@@ -338,130 +370,6 @@ const groupRows = (rows: ArgType, sort: SortType) => {
return sorted;
};
-const SkeletonHeader = styled.div(({ theme }) => ({
- alignContent: 'stretch',
- display: 'flex',
- gap: 16,
- marginTop: 25,
- padding: '10px 20px',
-
- div: {
- animation: `${theme.animation.glow} 1.5s ease-in-out infinite`,
- background: theme.appBorderColor,
- flexShrink: 0,
- height: 20,
-
- '&:first-child, &:nth-child(4)': {
- width: '20%',
- },
-
- '&:nth-child(2)': {
- width: '30%',
- },
-
- '&:nth-child(3)': {
- flexGrow: 1,
- },
-
- '&:last-child': {
- width: 30,
- },
-
- '@media ( max-width: 500px )': {
- '&:nth-child( n + 4 )': {
- display: 'none',
- },
- },
- },
-}));
-
-const SkeletonBody = styled.div(({ theme }) => ({
- background: theme.background.content,
- boxShadow:
- theme.base === 'light'
- ? `rgba(0, 0, 0, 0.10) 0 1px 3px 1px,
- ${transparentize(0.035, theme.appBorderColor)} 0 0 0 1px`
- : `rgba(0, 0, 0, 0.20) 0 2px 5px 1px,
- ${opacify(0.05, theme.appBorderColor)} 0 0 0 1px`,
- borderRadius: theme.appBorderRadius,
-
- '> div': {
- alignContent: 'stretch',
- borderTopColor:
- theme.base === 'light'
- ? darken(0.1, theme.background.content)
- : lighten(0.05, theme.background.content),
- borderTopStyle: 'solid',
- borderTopWidth: 1,
- display: 'flex',
- gap: 16,
- padding: 20,
-
- '&:first-child': {
- borderTop: 0,
- },
- },
-
- '> div div': {
- animation: `${theme.animation.glow} 1.5s ease-in-out infinite`,
- background: theme.appBorderColor,
- flexShrink: 0,
- height: 20,
-
- '&:first-child': {
- width: '20%',
- },
-
- '&:nth-child(2)': {
- width: '30%',
- },
-
- '&:nth-child(3)': {
- flexGrow: 1,
- },
-
- '&:last-child': {
- width: 'calc(20% + 47px)',
-
- '@media ( max-width: 500px )': {
- display: 'none',
- },
- },
- },
-}));
-
-const Skeleton = () => (
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-);
-
/**
* Display the props for a component as a props table. Each row is a collection of
* ArgDefs, usually derived from docgen info for the component.
@@ -478,21 +386,16 @@ export const ArgsTable: FC = (props) => {
);
}
- const isLoading = 'isLoading' in props;
const {
- rows,
- args,
updateArgs,
resetArgs,
compact,
inAddonPanel,
initialExpandedArgs,
sort = 'none',
- } = 'rows' in props ? props : argTableLoadingData;
-
- if (isLoading) {
- return ;
- }
+ } = props;
+ const isLoading = 'isLoading' in props;
+ const { rows, args } = 'rows' in props ? props : argsTableLoadingData;
const groups = groupRows(
pickBy(rows, (row) => !row?.table?.disable),
@@ -523,25 +426,38 @@ export const ArgsTable: FC = (props) => {
return (
-
+
- Name
- {compact || Description }
- {compact || Default }
- {updateArgs && (
+
+ Name
+
+ {compact ? null : (
+
+ Description
+
+ )}
+ {compact ? null : (
+
+ Default
+
+ )}
+ {updateArgs ? (
Control{' '}
- {resetArgs && (
+ {!isLoading && resetArgs && (
resetArgs()} title="Reset controls">
)}
- )}
- {null}
+ ) : null}
diff --git a/lib/components/src/blocks/DocsPage.stories.tsx b/lib/components/src/blocks/DocsPage.stories.tsx
index 3b55d6ea3fe4..efbd4030a1b9 100644
--- a/lib/components/src/blocks/DocsPage.stories.tsx
+++ b/lib/components/src/blocks/DocsPage.stories.tsx
@@ -42,7 +42,7 @@ export const Loading = () => (
-
+
);
diff --git a/lib/components/src/blocks/Preview.tsx b/lib/components/src/blocks/Preview.tsx
index 1ee62bc0956a..1d142a66f4f9 100644
--- a/lib/components/src/blocks/Preview.tsx
+++ b/lib/components/src/blocks/Preview.tsx
@@ -20,6 +20,7 @@ import { Zoom } from '../Zoom/Zoom';
import { StorySkeleton } from '.';
export interface PreviewProps {
+ isLoading?: true;
isColumn?: boolean;
columns?: number;
withSource?: SourceProps;
@@ -191,6 +192,7 @@ const getLayout = (children: ReactElement[]): layout => {
* as a drop-down.
*/
export const Preview: FunctionComponent = ({
+ isLoading,
isColumn,
columns,
children,
@@ -254,6 +256,7 @@ export const Preview: FunctionComponent = ({
>
{withToolbar && (
setScale(scale * z)}
resetZoom={() => setScale(1)}
@@ -285,8 +288,15 @@ export const Preview: FunctionComponent = ({
);
};
+const StyledPreview = styled(Preview)(() => ({
+ '.docs-story': {
+ paddingTop: 32,
+ paddingBottom: 40,
+ },
+}));
+
export const PreviewSkeleton = () => (
-
+