diff --git a/.gitignore b/.gitignore
index cdef5b1ac8cb..e36944229f1c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,6 +3,7 @@ node_modules
.idea
*.iml
*.sw*
+!.swcrc
dist
*.DS_Store
.cache
diff --git a/code/.gitignore b/code/.gitignore
index e57a79e7046b..2a1fc46598f8 100644
--- a/code/.gitignore
+++ b/code/.gitignore
@@ -3,6 +3,7 @@ node_modules
.idea
*.iml
*.sw*
+!.swcrc
npm-shrinkwrap.json
dist
.tern-port
diff --git a/code/.swcrc b/code/.swcrc
new file mode 100644
index 000000000000..0f49911d3870
--- /dev/null
+++ b/code/.swcrc
@@ -0,0 +1,24 @@
+{
+ "$schema": "https://json.schemastore.org/swcrc",
+ "jsc": {
+ "parser": {
+ "syntax": "typescript",
+ "tsx": true
+ },
+ "transform": {
+ "react": {
+ "runtime": "classic",
+ "pragma": "React.createElement",
+ "pragmaFrag": "React.Fragment",
+ "throwIfNamespace": false,
+ "development": false
+ }
+ },
+ "target": "es2020",
+ "loose": false,
+ "externalHelpers": false,
+ // Requires v1.2.50 or upper and requires target to be es2016 or upper.
+ "keepClassNames": false
+ },
+ "minify": false
+}
\ No newline at end of file
diff --git a/code/addons/interactions/package.json b/code/addons/interactions/package.json
index 888c4e4c45b8..c38952a08e2f 100644
--- a/code/addons/interactions/package.json
+++ b/code/addons/interactions/package.json
@@ -88,8 +88,8 @@
},
"devDependencies": {
"@devtools-ds/object-inspector": "^1.1.2",
- "@storybook/jest": "^0.0.10",
- "@storybook/testing-library": "0.0.14-next.0",
+ "@storybook/jest": "next",
+ "@storybook/testing-library": "next",
"@types/node": "^16.0.0",
"formik": "^2.2.9",
"typescript": "~4.9.3"
diff --git a/code/addons/storyshots/storyshots-core/stories/exported_metadata/preview.js b/code/addons/storyshots/storyshots-core/stories/exported_metadata/preview.jsx
similarity index 100%
rename from code/addons/storyshots/storyshots-core/stories/exported_metadata/preview.js
rename to code/addons/storyshots/storyshots-core/stories/exported_metadata/preview.jsx
diff --git a/code/jest.config.base.js b/code/jest.config.base.js
index dd8850d0115c..5c0d0c19ea1e 100644
--- a/code/jest.config.base.js
+++ b/code/jest.config.base.js
@@ -24,23 +24,9 @@ module.exports = {
path.resolve('./__mocks__/fileMock.js'),
'\\.(css|scss|stylesheet)$': path.resolve('./__mocks__/styleMock.js'),
'\\.(md)$': path.resolve('./__mocks__/htmlMock.js'),
-
- // core-js v2 to v3 mapping
- 'core-js/modules/es6.(.*)': 'core-js/modules/es.$1',
- 'core-js/modules/es7.(.*)': 'core-js/modules/esnext.$1',
- 'core-js/library/fn/(.*)': `core-js/features/$1`,
- 'core-js/es5/(.*)': `core-js/es/$1`,
- 'core-js/es6/(.*)': `core-js/es/$1`,
- 'core-js/es7/reflect': `core-js/proposals/reflect-metadata`,
- 'core-js/es7/(.*)': `core-js/proposals/$1`,
- 'core-js/object$/': `core-js/es/object`,
- 'core-js/object/(.*)': `core-js/es/object/$1`,
- 'babel-runtime/core-js/(.*)': `core-js/es/$1`,
- // 'babel-runtime/core-js/object/assign'
- 'core-js/library/fn/object/assign': 'core-js/es/object/assign',
},
transform: {
- '^.+\\.[jt]sx?$': path.resolve('../scripts/utils/jest-transform-js.js'),
+ '^.+\\.(t|j)sx?$': '@swc/jest',
'^.+\\.mdx$': '@storybook/addon-docs/jest-transform-mdx',
},
transformIgnorePatterns: ['/node_modules/(?!@angular|rxjs|nanoid|uuid|lit-html|@mdx-js)'],
diff --git a/code/lib/codemod/src/transforms/__tests__/csf-2-to-3.test.ts b/code/lib/codemod/src/transforms/__tests__/csf-2-to-3.test.ts
index 3bf91f5b830b..1df59763c64b 100644
--- a/code/lib/codemod/src/transforms/__tests__/csf-2-to-3.test.ts
+++ b/code/lib/codemod/src/transforms/__tests__/csf-2-to-3.test.ts
@@ -1,4 +1,4 @@
-import { describe, it, expect } from '@jest/globals';
+// import { describe, it, expect } from '@jest/globals';
import { dedent } from 'ts-dedent';
import _transform from '../csf-2-to-3';
diff --git a/code/lib/manager-api/src/tests/stories.test.ts b/code/lib/manager-api/src/tests/stories.test.ts
index 02ec87a6800c..3de43baf5931 100644
--- a/code/lib/manager-api/src/tests/stories.test.ts
+++ b/code/lib/manager-api/src/tests/stories.test.ts
@@ -1,6 +1,4 @@
/// ;
-// Need to import jest as mockJest for annoying jest reasons. Is there a better way?
-import { jest, it, describe, expect, beforeEach } from '@jest/globals';
import {
STORY_ARGS_UPDATED,
@@ -34,7 +32,7 @@ function mockChannel() {
return new Channel({ transport });
}
-const mockGetEntries = jest.fn<() => StoryIndex['entries']>();
+const mockGetEntries = jest.fn();
jest.mock('../lib/events');
jest.mock('@storybook/global', () => ({
@@ -90,7 +88,7 @@ beforeEach(() => {
provider.serverChannel = mockChannel();
mockGetEntries.mockReset().mockReturnValue(mockEntries);
- (global.fetch as ReturnType>).mockReset().mockReturnValue(
+ (global.fetch as jest.Mock>).mockReset().mockReturnValue(
Promise.resolve({
status: 200,
ok: true,
@@ -567,7 +565,7 @@ describe('stories API', () => {
const store = createMockStore({});
const fullAPI = Object.assign(new EventEmitter(), {});
- (global.fetch as ReturnType>).mockReturnValue(
+ (global.fetch as jest.Mock>).mockReturnValue(
Promise.resolve({
status: 500,
text: async () => new Error('sorting error'),
@@ -593,13 +591,11 @@ describe('stories API', () => {
const { api, init } = initStories({ store, navigate, provider, fullAPI } as any);
Object.assign(fullAPI, api);
- (global.fetch as ReturnType>).mockClear();
+ (global.fetch as jest.Mock>).mockClear();
await init();
- expect(global.fetch as ReturnType>).toHaveBeenCalledTimes(
- 1
- );
+ expect(global.fetch as jest.Mock>).toHaveBeenCalledTimes(1);
- (global.fetch as ReturnType>).mockClear();
+ (global.fetch as jest.Mock>).mockClear();
mockGetEntries.mockReturnValueOnce({
'component-a--story-1': {
type: 'story',
diff --git a/code/lib/preview-api/src/modules/preview-web/PreviewWeb.integration.test.ts b/code/lib/preview-api/src/modules/preview-web/PreviewWeb.integration.test.ts
index ecfcd58af4c0..5edd59f6f4ed 100644
--- a/code/lib/preview-api/src/modules/preview-web/PreviewWeb.integration.test.ts
+++ b/code/lib/preview-api/src/modules/preview-web/PreviewWeb.integration.test.ts
@@ -5,7 +5,6 @@
import React from 'react';
import { global } from '@storybook/global';
import type { RenderContext } from '@storybook/types';
-import { expect } from '@jest/globals';
import { addons, mockChannel as createMockChannel } from '../addons';
import { PreviewWeb } from './PreviewWeb';
diff --git a/code/lib/preview-api/src/modules/preview-web/PreviewWeb.test.ts b/code/lib/preview-api/src/modules/preview-web/PreviewWeb.test.ts
index 9503858ac003..5fee6c1d0453 100644
--- a/code/lib/preview-api/src/modules/preview-web/PreviewWeb.test.ts
+++ b/code/lib/preview-api/src/modules/preview-web/PreviewWeb.test.ts
@@ -2,7 +2,6 @@
* @jest-environment jsdom
*/
-import { jest, jest as mockJest, it, describe, beforeEach, afterEach, expect } from '@jest/globals';
import { global } from '@storybook/global';
import merge from 'lodash/merge';
import {
@@ -61,8 +60,8 @@ const mockStoryIndex = jest.fn(() => storyIndex);
let mockFetchResult: any;
jest.mock('@storybook/global', () => ({
global: {
- ...(mockJest.requireActual('@storybook/global') as any),
- history: { replaceState: mockJest.fn() },
+ ...(jest.requireActual('@storybook/global') as any),
+ history: { replaceState: jest.fn() },
document: {
location: {
pathname: 'pathname',
@@ -99,7 +98,6 @@ const createGate = (): [Promise, (_?: any) => void] => {
// a timer, so we need to first setImmediate (to get past the resolution), then run the timers
// Probably jest modern timers do this but they aren't working for some bizarre reason.
async function waitForSetCurrentStory() {
- // @ts-expect-error (Argument of type '{ doNotFake: string[]; }' is not assignable to parameter of type '"modern" | "legacy" | undefined'. ts(2345)))
jest.useFakeTimers({ doNotFake: ['setTimeout'] });
await new Promise((r) => setTimeout(r, 0));
jest.runAllTimers();
@@ -140,9 +138,7 @@ beforeEach(() => {
addons.setServerChannel(createMockChannel());
mockFetchResult = { status: 200, json: mockStoryIndex, text: () => 'error text' };
- // @ts-expect-error (Property 'mocked' does not exist on type 'Jest'. Did you mean 'mock'? ts(2551))
jest.mocked(WebView.prototype).prepareForDocs.mockReturnValue('docs-element' as any);
- // @ts-expect-error (Property 'mocked' does not exist on type 'Jest'. Did you mean 'mock'? ts(2551))
jest.mocked(WebView.prototype).prepareForStory.mockReturnValue('story-element' as any);
});
diff --git a/code/lib/preview-api/src/modules/preview-web/render/StandaloneDocsRender.test.ts b/code/lib/preview-api/src/modules/preview-web/render/StandaloneDocsRender.test.ts
index d93f1918a32a..a5bf147acfe6 100644
--- a/code/lib/preview-api/src/modules/preview-web/render/StandaloneDocsRender.test.ts
+++ b/code/lib/preview-api/src/modules/preview-web/render/StandaloneDocsRender.test.ts
@@ -1,4 +1,3 @@
-import { jest, describe, it, expect } from '@jest/globals';
import { Channel } from '@storybook/channels';
import type { Renderer, StandaloneDocsIndexEntry } from '@storybook/types';
import type { StoryStore } from '../../store';
diff --git a/code/lib/preview-api/src/modules/preview-web/render/StoryRender.test.ts b/code/lib/preview-api/src/modules/preview-web/render/StoryRender.test.ts
index 7cebb7ca1e2b..d40adca995f0 100644
--- a/code/lib/preview-api/src/modules/preview-web/render/StoryRender.test.ts
+++ b/code/lib/preview-api/src/modules/preview-web/render/StoryRender.test.ts
@@ -1,4 +1,3 @@
-import { jest, describe, it, expect } from '@jest/globals';
import { Channel } from '@storybook/channels';
import type { Renderer, StoryIndexEntry } from '@storybook/types';
import type { StoryStore } from '../../store';
diff --git a/code/lib/preview-api/src/modules/preview-web/render/TemplateDocsRender.test.ts b/code/lib/preview-api/src/modules/preview-web/render/TemplateDocsRender.test.ts
index 1ed78212c3f2..895f954abfa7 100644
--- a/code/lib/preview-api/src/modules/preview-web/render/TemplateDocsRender.test.ts
+++ b/code/lib/preview-api/src/modules/preview-web/render/TemplateDocsRender.test.ts
@@ -1,4 +1,3 @@
-import { jest, describe, it, expect } from '@jest/globals';
import { Channel } from '@storybook/channels';
import type { Renderer, TemplateDocsIndexEntry } from '@storybook/types';
import type { StoryStore } from '../../store';
diff --git a/code/package.json b/code/package.json
index 33cc7af63a1d..5f9768805a44 100644
--- a/code/package.json
+++ b/code/package.json
@@ -179,7 +179,7 @@
"@storybook/html-vite": "workspace:*",
"@storybook/html-webpack5": "workspace:*",
"@storybook/instrumenter": "workspace:*",
- "@storybook/jest": "^0.0.10",
+ "@storybook/jest": "next",
"@storybook/linter-config": "^2.5.0",
"@storybook/manager": "workspace:*",
"@storybook/manager-api": "workspace:*",
@@ -210,7 +210,7 @@
"@storybook/svelte": "workspace:*",
"@storybook/svelte-webpack5": "workspace:*",
"@storybook/telemetry": "workspace:*",
- "@storybook/testing-library": "0.0.14-next.0",
+ "@storybook/testing-library": "next",
"@storybook/theming": "workspace:*",
"@storybook/types": "workspace:*",
"@storybook/vue": "workspace:*",
@@ -222,6 +222,7 @@
"@storybook/web-components-vite": "workspace:*",
"@storybook/web-components-webpack5": "workspace:*",
"@swc/core": "^1.3.23",
+ "@swc/jest": "^0.2.24",
"@testing-library/dom": "^7.29.4",
"@testing-library/jest-dom": "^5.11.9",
"@testing-library/react": "^11.2.2",
@@ -247,7 +248,6 @@
"@vitejs/plugin-react": "^2.1.0",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.1.0",
- "babel-jest": "^29.3.1",
"babel-loader": "^8.3.0",
"chromatic": "6.11.2",
"codecov": "^3.8.1",
diff --git a/code/ui/manager/src/settings/shortcuts.test.js b/code/ui/manager/src/settings/shortcuts.test.tsx
similarity index 76%
rename from code/ui/manager/src/settings/shortcuts.test.js
rename to code/ui/manager/src/settings/shortcuts.test.tsx
index 730df69161a7..8e92195335af 100644
--- a/code/ui/manager/src/settings/shortcuts.test.js
+++ b/code/ui/manager/src/settings/shortcuts.test.tsx
@@ -14,7 +14,7 @@ const shortcutKeys = {
search: ['/'],
focusNav: ['1'],
focusIframe: ['2'],
-};
+} as any;
const makeActions = () => ({
setShortcut: jest.fn(),
@@ -48,7 +48,9 @@ describe('ShortcutsScreen', () => {
const comp = shallow();
const instance = comp.instance();
+ // @ts-expect-error (please let's get rid of enzyme)
instance.onFocus('toolbar')();
+ // @ts-expect-error (please let's get rid of enzyme)
expect(comp.state('shortcutKeys').toolbar.shortcut).toBeNull();
expect(comp.state('activeFeature')).toBe('toolbar');
});
@@ -59,9 +61,12 @@ describe('ShortcutsScreen', () => {
const actions = makeActions();
const comp = shallow();
const instance = comp.instance();
+ // @ts-expect-error (please let's get rid of enzyme)
instance.onFocus('focusIframe')();
+ // @ts-expect-error (please let's get rid of enzyme)
instance.onKeyDown({ isShift: true, key: 'Shift' });
expect(actions.setShortcut).not.toHaveBeenCalled();
+ // @ts-expect-error (please let's get rid of enzyme)
expect(comp.state('shortcutKeys').focusIframe.shortcut).toBeNull();
});
@@ -69,10 +74,14 @@ describe('ShortcutsScreen', () => {
const actions = makeActions();
const comp = shallow();
const instance = comp.instance();
+ // @ts-expect-error (please let's get rid of enzyme)
instance.onFocus('focusIframe')();
+ // @ts-expect-error (please let's get rid of enzyme)
instance.onKeyDown({ key: 'P' });
expect(actions.setShortcut).not.toHaveBeenCalled();
+ // @ts-expect-error (please let's get rid of enzyme)
expect(comp.state('shortcutKeys').focusIframe.shortcut).toEqual(['P']);
+ // @ts-expect-error (please let's get rid of enzyme)
expect(comp.state('shortcutKeys').focusIframe.error).toBe(false);
});
@@ -80,10 +89,14 @@ describe('ShortcutsScreen', () => {
const actions = makeActions();
const comp = shallow();
const instance = comp.instance();
+ // @ts-expect-error (please let's get rid of enzyme)
instance.onFocus('focusIframe')();
+ // @ts-expect-error (please let's get rid of enzyme)
instance.onKeyDown({ key: 'F' });
expect(actions.setShortcut).not.toHaveBeenCalled();
+ // @ts-expect-error (please let's get rid of enzyme)
expect(comp.state('shortcutKeys').focusIframe.shortcut).toEqual(['F']);
+ // @ts-expect-error (please let's get rid of enzyme)
expect(comp.state('shortcutKeys').focusIframe.error).toBe(true);
});
});
@@ -93,12 +106,16 @@ describe('ShortcutsScreen', () => {
const actions = makeActions();
const comp = shallow();
const instance = comp.instance();
+ // @ts-expect-error (please let's get rid of enzyme)
instance.onFocus('focusIframe')();
+ // @ts-expect-error (please let's get rid of enzyme)
await instance.onBlur();
expect(actions.setShortcut).not.toHaveBeenCalled();
expect(actions.restoreDefaultShortcut).toHaveBeenCalledWith('focusIframe');
+ // @ts-expect-error (please let's get rid of enzyme)
expect(comp.state('shortcutKeys').focusIframe.shortcut).toEqual(['2']);
+ // @ts-expect-error (please let's get rid of enzyme)
expect(comp.state('shortcutKeys').focusIframe.error).toBe(false);
});
@@ -106,13 +123,18 @@ describe('ShortcutsScreen', () => {
const actions = makeActions();
const comp = shallow();
const instance = comp.instance();
+ // @ts-expect-error (please let's get rid of enzyme)
instance.onFocus('focusIframe')();
+ // @ts-expect-error (please let's get rid of enzyme)
instance.onKeyDown({ key: 'F' });
+ // @ts-expect-error (please let's get rid of enzyme)
await instance.onBlur();
expect(actions.setShortcut).not.toHaveBeenCalled();
expect(actions.restoreDefaultShortcut).toHaveBeenCalledWith('focusIframe');
+ // @ts-expect-error (please let's get rid of enzyme)
expect(comp.state('shortcutKeys').focusIframe.shortcut).toEqual(['2']);
+ // @ts-expect-error (please let's get rid of enzyme)
expect(comp.state('shortcutKeys').focusIframe.error).toBe(false);
});
@@ -120,12 +142,17 @@ describe('ShortcutsScreen', () => {
const actions = makeActions();
const comp = shallow();
const instance = comp.instance();
+ // @ts-expect-error (please let's get rid of enzyme)
instance.onFocus('focusIframe')();
+ // @ts-expect-error (please let's get rid of enzyme)
instance.onKeyDown({ key: 'P' });
+ // @ts-expect-error (please let's get rid of enzyme)
instance.onBlur();
expect(actions.setShortcut).toHaveBeenCalledWith('focusIframe', ['P']);
+ // @ts-expect-error (please let's get rid of enzyme)
expect(comp.state('shortcutKeys').focusIframe.shortcut).toEqual(['P']);
+ // @ts-expect-error (please let's get rid of enzyme)
expect(comp.state('shortcutKeys').focusIframe.error).toBe(false);
});
});
@@ -135,10 +162,13 @@ describe('ShortcutsScreen', () => {
const actions = makeActions();
const comp = shallow();
const instance = comp.instance();
+ // @ts-expect-error (please let's get rid of enzyme)
instance.onFocus('focusIframe')();
+ // @ts-expect-error (please let's get rid of enzyme)
instance.onKeyDown({ key: 'P' });
await comp.find('#restoreDefaultsHotkeys').simulate('click');
+ // @ts-expect-error (please let's get rid of enzyme)
expect(comp.state('shortcutKeys').focusIframe.shortcut).toEqual(['2']);
});
});
diff --git a/code/yarn.lock b/code/yarn.lock
index f6a83540a452..37097a1687eb 100644
--- a/code/yarn.lock
+++ b/code/yarn.lock
@@ -3016,6 +3016,15 @@ __metadata:
languageName: node
linkType: hard
+"@jest/create-cache-key-function@npm:^27.4.2":
+ version: 27.5.1
+ resolution: "@jest/create-cache-key-function@npm:27.5.1"
+ dependencies:
+ "@jest/types": ^27.5.1
+ checksum: 1890ac93fad852e0a98c31de1e5f2c548974aefd36e838d27b70834dda1654a153ed6a52258447ebacfd47463e9bdb83750631bee827797c7b9973c083998a96
+ languageName: node
+ linkType: hard
+
"@jest/environment@npm:^26.6.2":
version: 26.6.2
resolution: "@jest/environment@npm:26.6.2"
@@ -5438,10 +5447,10 @@ __metadata:
"@storybook/core-events": 7.0.0-beta.13
"@storybook/global": ^5.0.0
"@storybook/instrumenter": 7.0.0-beta.13
- "@storybook/jest": ^0.0.10
+ "@storybook/jest": next
"@storybook/manager-api": 7.0.0-beta.13
"@storybook/preview-api": 7.0.0-beta.13
- "@storybook/testing-library": 0.0.14-next.0
+ "@storybook/testing-library": next
"@storybook/theming": 7.0.0-beta.13
"@storybook/types": 7.0.0-beta.13
"@types/node": ^16.0.0
@@ -5757,28 +5766,6 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/addons@npm:6.5.15":
- version: 6.5.15
- resolution: "@storybook/addons@npm:6.5.15"
- dependencies:
- "@storybook/api": 6.5.15
- "@storybook/channels": 6.5.15
- "@storybook/client-logger": 6.5.15
- "@storybook/core-events": 6.5.15
- "@storybook/csf": 0.0.2--canary.4566f4d.1
- "@storybook/router": 6.5.15
- "@storybook/theming": 6.5.15
- "@types/webpack-env": ^1.16.0
- core-js: ^3.8.2
- global: ^4.4.0
- regenerator-runtime: ^0.13.7
- peerDependencies:
- react: ^16.8.0 || ^17.0.0 || ^18.0.0
- react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0
- checksum: 11ccd0bb415731fc532925e7ac00363d3ceca37074490c80736c23e081c33c122ec0c6d21f04cbce31d6c2f09080309a471051d6f834637bf96f426f35aa1925
- languageName: node
- linkType: hard
-
"@storybook/angular@7.0.0-beta.13, @storybook/angular@workspace:*, @storybook/angular@workspace:frameworks/angular":
version: 0.0.0-use.local
resolution: "@storybook/angular@workspace:frameworks/angular"
@@ -5868,34 +5855,6 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/api@npm:6.5.15":
- version: 6.5.15
- resolution: "@storybook/api@npm:6.5.15"
- dependencies:
- "@storybook/channels": 6.5.15
- "@storybook/client-logger": 6.5.15
- "@storybook/core-events": 6.5.15
- "@storybook/csf": 0.0.2--canary.4566f4d.1
- "@storybook/router": 6.5.15
- "@storybook/semver": ^7.3.2
- "@storybook/theming": 6.5.15
- core-js: ^3.8.2
- fast-deep-equal: ^3.1.3
- global: ^4.4.0
- lodash: ^4.17.21
- memoizerific: ^1.11.3
- regenerator-runtime: ^0.13.7
- store2: ^2.12.0
- telejson: ^6.0.8
- ts-dedent: ^2.0.0
- util-deprecate: ^1.0.2
- peerDependencies:
- react: ^16.8.0 || ^17.0.0 || ^18.0.0
- react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0
- checksum: 64dc745f58739799d02e44bdf5ad8f1fcb418e27046a94d8dd8bc0d434fb9938efc3c638332c68bf8d09db8e291a07ef8e4af01fdb67acac0e24f43583742dd4
- languageName: node
- linkType: hard
-
"@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"
@@ -6125,17 +6084,6 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/channels@npm:6.5.15":
- version: 6.5.15
- resolution: "@storybook/channels@npm:6.5.15"
- dependencies:
- core-js: ^3.8.2
- ts-dedent: ^2.0.0
- util-deprecate: ^1.0.2
- checksum: 6510df456471ea574181d6bbd306e4f1742a0437b45935bc164ee6e638018cf3b66e709925d2bd1b741a38bd1c48df86d497079a68f40b08d83f10e8ac6bf65e
- languageName: node
- linkType: hard
-
"@storybook/channels@npm:7.0.0-beta.12":
version: 7.0.0-beta.12
resolution: "@storybook/channels@npm:7.0.0-beta.12"
@@ -6220,16 +6168,6 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/client-logger@npm:6.5.15, @storybook/client-logger@npm:^6.4.0":
- version: 6.5.15
- resolution: "@storybook/client-logger@npm:6.5.15"
- dependencies:
- core-js: ^3.8.2
- global: ^4.4.0
- checksum: 00754c471cbc527cc6d01dd8c87ab21e5d4c44f46ec6bae23e3f1271a83d6e39b939e5b6c5d0dc638eeeab0938bf2bd0130c6c73b78476264be75999d402fd50
- languageName: node
- linkType: hard
-
"@storybook/client-logger@npm:7.0.0-beta.12":
version: 7.0.0-beta.12
resolution: "@storybook/client-logger@npm:7.0.0-beta.12"
@@ -6248,6 +6186,15 @@ __metadata:
languageName: node
linkType: hard
+"@storybook/client-logger@npm:next":
+ version: 7.0.0-beta.13
+ resolution: "@storybook/client-logger@npm:7.0.0-beta.13"
+ dependencies:
+ "@storybook/global": ^5.0.0
+ checksum: 7707d6cda7494336b494bfe92c7a43e0c5566f66606545b635613c17898422bc548502ca53c8d0f3aea6bcdb62a30e0179848c2bde588e0e90e2a3f55771d684
+ languageName: node
+ linkType: hard
+
"@storybook/codemod@7.0.0-beta.13, @storybook/codemod@workspace:*, @storybook/codemod@workspace:lib/codemod":
version: 0.0.0-use.local
resolution: "@storybook/codemod@workspace:lib/codemod"
@@ -6371,15 +6318,6 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/core-events@npm:6.5.15":
- version: 6.5.15
- resolution: "@storybook/core-events@npm:6.5.15"
- dependencies:
- core-js: ^3.8.2
- checksum: b790913be35a67e65b565ac6ef3c56ef5940916f1e5b850c65f8acb155ac6365f1fc752b10a29fa853e58581e4eb7e9a75624ace2eb427c7deedee258500c905
- languageName: node
- linkType: hard
-
"@storybook/core-events@npm:7.0.0-beta.12":
version: 7.0.0-beta.12
resolution: "@storybook/core-events@npm:7.0.0-beta.12"
@@ -6493,15 +6431,6 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/csf@npm:0.0.2--canary.4566f4d.1":
- version: 0.0.2--canary.4566f4d.1
- resolution: "@storybook/csf@npm:0.0.2--canary.4566f4d.1"
- dependencies:
- lodash: ^4.17.15
- checksum: dc0fe9940a47fbba9762275083816953da07a188f0315a631c307716b16a7073586a4d229df6b177dfb4b01604667e2bb24c13d6bfcb137d2f4d306874a590f4
- languageName: node
- linkType: hard
-
"@storybook/csf@npm:^0.0.1":
version: 0.0.1
resolution: "@storybook/csf@npm:0.0.1"
@@ -6662,28 +6591,29 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/instrumenter@npm:^6.4.0":
- version: 6.5.15
- resolution: "@storybook/instrumenter@npm:6.5.15"
+"@storybook/instrumenter@npm:next":
+ version: 7.0.0-beta.13
+ resolution: "@storybook/instrumenter@npm:7.0.0-beta.13"
dependencies:
- "@storybook/addons": 6.5.15
- "@storybook/client-logger": 6.5.15
- "@storybook/core-events": 6.5.15
+ "@storybook/channels": 7.0.0-beta.13
+ "@storybook/client-logger": 7.0.0-beta.13
+ "@storybook/core-events": 7.0.0-beta.13
+ "@storybook/global": ^5.0.0
+ "@storybook/preview-api": 7.0.0-beta.13
core-js: ^3.8.2
- global: ^4.4.0
- checksum: 9b4937d2d58c5634db16989bf6ec2f72e9d6b662549e6baa497df4e7daec1f72c0ce986123dba57622b60d394a841d26dcd7ccae7d299e1fcaa812ee80a6d577
+ checksum: aeefe99fa9bc2fe9f1cfa848a9f09e3888e38d2fba35cee02bc64ebaa31a080b70477d021b9a9b7b5cefa3c01b44ad93ef5d89715ebdea4428fe02845c6378b7
languageName: node
linkType: hard
-"@storybook/jest@npm:^0.0.10":
- version: 0.0.10
- resolution: "@storybook/jest@npm:0.0.10"
+"@storybook/jest@npm:next":
+ version: 0.0.11-next.0
+ resolution: "@storybook/jest@npm:0.0.11-next.0"
dependencies:
"@storybook/expect": storybook-jest
- "@storybook/instrumenter": ^6.4.0
+ "@storybook/instrumenter": next
"@testing-library/jest-dom": ^5.16.2
jest-mock: ^27.3.0
- checksum: f27be53e528adc39718654d6144328ff853bae22fd183a20ed03262ed39ce89fc57715dab91bad62ae663c36899bbb4d9dd2fbc9d5249f1f7cde52b11172e672
+ checksum: 36699b8ce63b2cd288f2c5af1bbea1773513da5bb97e05c58ed2194de0a4d7dffaeb699057701e51fab21fb09d5f79635565c182c082233efa8fa1e0bfa16253
languageName: node
linkType: hard
@@ -7384,7 +7314,7 @@ __metadata:
"@storybook/html-vite": "workspace:*"
"@storybook/html-webpack5": "workspace:*"
"@storybook/instrumenter": "workspace:*"
- "@storybook/jest": ^0.0.10
+ "@storybook/jest": next
"@storybook/linter-config": ^2.5.0
"@storybook/manager": "workspace:*"
"@storybook/manager-api": "workspace:*"
@@ -7415,7 +7345,7 @@ __metadata:
"@storybook/svelte": "workspace:*"
"@storybook/svelte-webpack5": "workspace:*"
"@storybook/telemetry": "workspace:*"
- "@storybook/testing-library": 0.0.14-next.0
+ "@storybook/testing-library": next
"@storybook/theming": "workspace:*"
"@storybook/types": "workspace:*"
"@storybook/vue": "workspace:*"
@@ -7427,6 +7357,7 @@ __metadata:
"@storybook/web-components-vite": "workspace:*"
"@storybook/web-components-webpack5": "workspace:*"
"@swc/core": ^1.3.23
+ "@swc/jest": ^0.2.24
"@testing-library/dom": ^7.29.4
"@testing-library/jest-dom": ^5.11.9
"@testing-library/react": ^11.2.2
@@ -7452,7 +7383,6 @@ __metadata:
"@vitejs/plugin-react": ^2.1.0
babel-core: ^7.0.0-bridge.0
babel-eslint: ^10.1.0
- babel-jest: ^29.3.1
babel-loader: ^8.3.0
chromatic: 6.11.2
codecov: ^3.8.1
@@ -7569,22 +7499,6 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/router@npm:6.5.15":
- version: 6.5.15
- resolution: "@storybook/router@npm:6.5.15"
- dependencies:
- "@storybook/client-logger": 6.5.15
- core-js: ^3.8.2
- memoizerific: ^1.11.3
- qs: ^6.10.0
- regenerator-runtime: ^0.13.7
- peerDependencies:
- react: ^16.8.0 || ^17.0.0 || ^18.0.0
- react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0
- checksum: a5b0bd7c7bf8fb180ee45f2734d76082cf7d17dde0f8f6e90c2e64c60d06cca163536fa15489c4e5234b5d50be7cd459cf2dde5ee74a5c1e3c934ab236b53998
- languageName: node
- linkType: hard
-
"@storybook/router@npm:7.0.0-beta.12":
version: 7.0.0-beta.12
resolution: "@storybook/router@npm:7.0.0-beta.12"
@@ -7599,18 +7513,6 @@ __metadata:
languageName: node
linkType: hard
-"@storybook/semver@npm:^7.3.2":
- version: 7.3.2
- resolution: "@storybook/semver@npm:7.3.2"
- dependencies:
- core-js: ^3.6.5
- find-up: ^4.1.0
- bin:
- semver: bin/semver.js
- checksum: f90e0c714d694330e9664af96ff7c3806c10981d6754e839caf59cd6791bf38c050caf98b19e97f7b059fd8521217f5f70b941a79b68a40b485e054d46343791
- languageName: node
- linkType: hard
-
"@storybook/server-webpack5@workspace:*, @storybook/server-webpack5@workspace:frameworks/server-webpack5":
version: 0.0.0-use.local
resolution: "@storybook/server-webpack5@workspace:frameworks/server-webpack5"
@@ -7762,16 +7664,16 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/testing-library@npm:0.0.14-next.0":
- version: 0.0.14-next.0
- resolution: "@storybook/testing-library@npm:0.0.14-next.0"
+"@storybook/testing-library@npm:next":
+ version: 0.0.14-next.1
+ resolution: "@storybook/testing-library@npm:0.0.14-next.1"
dependencies:
- "@storybook/client-logger": ^6.4.0
- "@storybook/instrumenter": ^6.4.0
+ "@storybook/client-logger": next
+ "@storybook/instrumenter": next
"@testing-library/dom": ^8.3.0
"@testing-library/user-event": ^13.2.1
ts-dedent: ^2.2.0
- checksum: fd10ebddd305743f4388ad939b90fed155b6c3a755e96a73f72d38d9afe2546a22be0c9a5d83b8b6d91742dd7be5d2e7dfcbbd630b2fa97e4ef7dde00f0824b0
+ checksum: 0d386dd136c5f6a5e695247eb7c7fa10182cb73150aae9744d6b7197c6cd049dfeffbbe192c06131858a346726b80e6fa28e8ac7a0f0012759f6f092b219cd61
languageName: node
linkType: hard
@@ -7800,21 +7702,6 @@ __metadata:
languageName: unknown
linkType: soft
-"@storybook/theming@npm:6.5.15":
- version: 6.5.15
- resolution: "@storybook/theming@npm:6.5.15"
- dependencies:
- "@storybook/client-logger": 6.5.15
- core-js: ^3.8.2
- memoizerific: ^1.11.3
- regenerator-runtime: ^0.13.7
- peerDependencies:
- react: ^16.8.0 || ^17.0.0 || ^18.0.0
- react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0
- checksum: d342bedbdc0f2254ea68cb2ea201d25e2d40f4e0a549e8d0a7722ba78af11a8e86fd82f178a852df3065c25c62c10516e0c00d52d9aabb625d0b334c61a3699e
- languageName: node
- linkType: hard
-
"@storybook/theming@npm:7.0.0-beta.12":
version: 7.0.0-beta.12
resolution: "@storybook/theming@npm:7.0.0-beta.12"
@@ -8208,6 +8095,18 @@ __metadata:
languageName: node
linkType: hard
+"@swc/jest@npm:^0.2.24":
+ version: 0.2.24
+ resolution: "@swc/jest@npm:0.2.24"
+ dependencies:
+ "@jest/create-cache-key-function": ^27.4.2
+ jsonc-parser: ^3.2.0
+ peerDependencies:
+ "@swc/core": "*"
+ checksum: 62d9bfe8895e003b7dc360c19106b8eca72d9e9ea4769bc7b60de76cb6e398274fdd383cec9fc9344ca8cb76b18e8063c7182997da2c1d057b8a127c542e6b8f
+ languageName: node
+ linkType: hard
+
"@testing-library/dom@npm:^7.28.1, @testing-library/dom@npm:^7.29.4":
version: 7.31.2
resolution: "@testing-library/dom@npm:7.31.2"
@@ -8640,13 +8539,6 @@ __metadata:
languageName: node
linkType: hard
-"@types/is-function@npm:^1.0.0":
- version: 1.0.1
- resolution: "@types/is-function@npm:1.0.1"
- checksum: 3bd8cf70ef103141bf6bb0404bca6887766615bb655f967a0e46cf301e277b59eaeab8b91ce117331ce5c7c8875050796d06c25bf3da4531e3a4514269373c3c
- languageName: node
- linkType: hard
-
"@types/istanbul-lib-coverage@npm:*, @types/istanbul-lib-coverage@npm:^2.0.0, @types/istanbul-lib-coverage@npm:^2.0.1":
version: 2.0.4
resolution: "@types/istanbul-lib-coverage@npm:2.0.4"
@@ -13614,7 +13506,7 @@ __metadata:
languageName: node
linkType: hard
-"core-js@npm:^3.0.4, core-js@npm:^3.6.5, core-js@npm:^3.8.2":
+"core-js@npm:^3.0.4, core-js@npm:^3.8.2":
version: 3.26.1
resolution: "core-js@npm:3.26.1"
checksum: 82d36c6f54fc0349998fa7fc67d200ba272f1cd1674c6786dc17f9d259d6555fc05662044528eae73ad6e90f71d503ab5c060ad4745492ef804308209f9aec13
@@ -19880,13 +19772,6 @@ __metadata:
languageName: node
linkType: hard
-"is-function@npm:^1.0.2":
- version: 1.0.2
- resolution: "is-function@npm:1.0.2"
- checksum: c55289042a0e828a773f1245e2652e0c029efacc78ebe03e61787746fda74e2c41006cd908f20b53c36e45f9e75464475a4b2d68b17f4c7b9f8018bcaec42f9e
- languageName: node
- linkType: hard
-
"is-generator-fn@npm:^2.0.0":
version: 2.1.0
resolution: "is-generator-fn@npm:2.1.0"
@@ -20069,7 +19954,7 @@ __metadata:
languageName: node
linkType: hard
-"is-regex@npm:^1.0.3, is-regex@npm:^1.0.4, is-regex@npm:^1.0.5, is-regex@npm:^1.1.0, is-regex@npm:^1.1.2, is-regex@npm:^1.1.4":
+"is-regex@npm:^1.0.3, is-regex@npm:^1.0.4, is-regex@npm:^1.0.5, is-regex@npm:^1.1.0, is-regex@npm:^1.1.4":
version: 1.1.4
resolution: "is-regex@npm:1.1.4"
dependencies:
@@ -20300,13 +20185,6 @@ __metadata:
languageName: node
linkType: hard
-"isobject@npm:^4.0.0":
- version: 4.0.0
- resolution: "isobject@npm:4.0.0"
- checksum: 8efcda03af98cbb193737e30ffb77c71ca4e97dbf919f7aacec44b7410a166fa4e9fd71232bf5b00a919f98b5747ae359dbb5a5bc4195c93f6291423b9707df6
- languageName: node
- linkType: hard
-
"isomorphic-unfetch@npm:^3.1.0":
version: 3.1.0
resolution: "isomorphic-unfetch@npm:3.1.0"
@@ -21862,7 +21740,7 @@ __metadata:
languageName: node
linkType: hard
-"jsonc-parser@npm:^3.0.0":
+"jsonc-parser@npm:^3.0.0, jsonc-parser@npm:^3.2.0":
version: 3.2.0
resolution: "jsonc-parser@npm:3.2.0"
checksum: 5a12d4d04dad381852476872a29dcee03a57439574e4181d91dca71904fcdcc5e8e4706c0a68a2c61ad9810e1e1c5806b5100d52d3e727b78f5cdc595401045b
@@ -28019,7 +27897,7 @@ __metadata:
languageName: node
linkType: hard
-"regenerator-runtime@npm:^0.13.11, regenerator-runtime@npm:^0.13.2, regenerator-runtime@npm:^0.13.4, regenerator-runtime@npm:^0.13.7":
+"regenerator-runtime@npm:^0.13.11, regenerator-runtime@npm:^0.13.2, regenerator-runtime@npm:^0.13.4":
version: 0.13.11
resolution: "regenerator-runtime@npm:0.13.11"
checksum: 12b069dc774001fbb0014f6a28f11c09ebfe3c0d984d88c9bced77fdb6fedbacbca434d24da9ae9371bfbf23f754869307fb51a4c98a8b8b18e5ef748677ca24
@@ -30416,7 +30294,7 @@ __metadata:
languageName: node
linkType: hard
-"store2@npm:^2.12.0, store2@npm:^2.14.2":
+"store2@npm:^2.14.2":
version: 2.14.2
resolution: "store2@npm:2.14.2"
checksum: 2f27c3eaa7207b81410e170e7c41379816d22c1566308a9d97fbf853c4facff531fcb2a85f085c7503c578736570972f747c26018ebeaba7d1341fb82a7b6d52
@@ -31208,22 +31086,6 @@ __metadata:
languageName: node
linkType: hard
-"telejson@npm:^6.0.8":
- version: 6.0.8
- resolution: "telejson@npm:6.0.8"
- dependencies:
- "@types/is-function": ^1.0.0
- global: ^4.4.0
- is-function: ^1.0.2
- is-regex: ^1.1.2
- is-symbol: ^1.0.3
- isobject: ^4.0.0
- lodash: ^4.17.21
- memoizerific: ^1.11.3
- checksum: b9b723259504a24eae3343ca2c1020fd74e748dc7d6e532ca8171d8c3f678418f06708e2332c452480a9c8d56f8abe01e33b9e1ca3153a7bcd7640cdbfa3317b
- languageName: node
- linkType: hard
-
"telejson@npm:^7.0.3":
version: 7.0.4
resolution: "telejson@npm:7.0.4"
diff --git a/scripts/package.json b/scripts/package.json
index 4aab7d77ce73..5a72f92d4799 100644
--- a/scripts/package.json
+++ b/scripts/package.json
@@ -52,7 +52,7 @@
"@storybook/eslint-config-storybook": "^3.1.2",
"@storybook/jest": "^0.0.10",
"@storybook/linter-config": "^3.1.2",
- "@storybook/testing-library": "0.0.14-next.0",
+ "@storybook/testing-library": "next",
"@swc/core": "^1.3.23",
"@testing-library/dom": "^7.29.4",
"@testing-library/jest-dom": "^5.11.9",
@@ -78,7 +78,6 @@
"@typescript-eslint/experimental-utils": "^5.45.0",
"@typescript-eslint/parser": "^5.45.0",
"babel-eslint": "^10.1.0",
- "babel-jest": "^29.3.1",
"babel-loader": "^8.3.0",
"boxen": "^5.1.2",
"chalk": "^4.1.0",
diff --git a/scripts/utils/jest-transform-js.js b/scripts/utils/jest-transform-js.js
deleted file mode 100644
index beb458216df9..000000000000
--- a/scripts/utils/jest-transform-js.js
+++ /dev/null
@@ -1,6 +0,0 @@
-const path = require('path');
-const babelJest = require('babel-jest');
-
-module.exports = babelJest.createTransformer({
- configFile: path.resolve(__dirname, '..', '.babelrc'),
-});
diff --git a/scripts/utils/jest-transform-ts.js b/scripts/utils/jest-transform-ts.js
deleted file mode 100644
index 9fbd7c766509..000000000000
--- a/scripts/utils/jest-transform-ts.js
+++ /dev/null
@@ -1,10 +0,0 @@
-const tsTransformer = require('jest-preset-angular/preprocessor');
-const babelTransformer = require('./jest-transform-js');
-
-module.exports.process = function transform(src, path, config, transformOptions) {
- const tsResult = tsTransformer.process(src, path, config, transformOptions);
- const jsPath = path.replace('.ts', '.js');
- const source = typeof tsResult === 'string' ? tsResult : tsResult.code;
-
- return babelTransformer.process(source, jsPath, config, transformOptions);
-};
diff --git a/scripts/yarn.lock b/scripts/yarn.lock
index 57771574b7e0..baf2d3e4528c 100644
--- a/scripts/yarn.lock
+++ b/scripts/yarn.lock
@@ -77,7 +77,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/core@npm:^7.11.6, @babel/core@npm:^7.12.3, @babel/core@npm:^7.17.5, @babel/core@npm:^7.20.2":
+"@babel/core@npm:^7.11.6, @babel/core@npm:^7.12.10, @babel/core@npm:^7.12.3, @babel/core@npm:^7.17.5, @babel/core@npm:^7.20.2":
version: 7.20.5
resolution: "@babel/core@npm:7.20.5"
dependencies:
@@ -3005,6 +3005,20 @@ __metadata:
languageName: node
linkType: hard
+"@storybook/channel-postmessage@npm:7.0.0-beta.13":
+ version: 7.0.0-beta.13
+ resolution: "@storybook/channel-postmessage@npm:7.0.0-beta.13"
+ dependencies:
+ "@storybook/channels": 7.0.0-beta.13
+ "@storybook/client-logger": 7.0.0-beta.13
+ "@storybook/core-events": 7.0.0-beta.13
+ "@storybook/global": ^5.0.0
+ qs: ^6.10.0
+ telejson: ^7.0.3
+ checksum: ceff9b76a59b93aceef9b36cadc935ec78f7a6686185da9cc19f3d58595ec43b8fa989772f1cdc1244094773311aeefe96fabc085d64d8c45b93d4a1ef5f9ce7
+ languageName: node
+ linkType: hard
+
"@storybook/channels@npm:6.5.14":
version: 6.5.14
resolution: "@storybook/channels@npm:6.5.14"
@@ -3016,7 +3030,14 @@ __metadata:
languageName: node
linkType: hard
-"@storybook/client-logger@npm:6.5.14, @storybook/client-logger@npm:^6.4.0":
+"@storybook/channels@npm:7.0.0-beta.13":
+ version: 7.0.0-beta.13
+ resolution: "@storybook/channels@npm:7.0.0-beta.13"
+ checksum: 97a5b95160b8f4f3addae0f7e32173f443465b3972f570525ff49016afb424089fc53b6775618e8d637203981f7efd11646c3552ab1fbf8966a7c14f49fc6260
+ languageName: node
+ linkType: hard
+
+"@storybook/client-logger@npm:6.5.14":
version: 6.5.14
resolution: "@storybook/client-logger@npm:6.5.14"
dependencies:
@@ -3026,6 +3047,15 @@ __metadata:
languageName: node
linkType: hard
+"@storybook/client-logger@npm:7.0.0-beta.13, @storybook/client-logger@npm:next":
+ version: 7.0.0-beta.13
+ resolution: "@storybook/client-logger@npm:7.0.0-beta.13"
+ dependencies:
+ "@storybook/global": ^5.0.0
+ checksum: 7707d6cda7494336b494bfe92c7a43e0c5566f66606545b635613c17898422bc548502ca53c8d0f3aea6bcdb62a30e0179848c2bde588e0e90e2a3f55771d684
+ languageName: node
+ linkType: hard
+
"@storybook/core-events@npm:6.5.14":
version: 6.5.14
resolution: "@storybook/core-events@npm:6.5.14"
@@ -3035,6 +3065,13 @@ __metadata:
languageName: node
linkType: hard
+"@storybook/core-events@npm:7.0.0-beta.13":
+ version: 7.0.0-beta.13
+ resolution: "@storybook/core-events@npm:7.0.0-beta.13"
+ checksum: d186f5be6e761ae5e1c82a422fc2a6d39baca8be8e5acf7a65974935e33acdc3891e9f814f8d71031caaee12ba059f24d074f9725af684e8af07acfa105fcd43
+ languageName: node
+ linkType: hard
+
"@storybook/csf@npm:0.0.2--canary.4566f4d.1":
version: 0.0.2--canary.4566f4d.1
resolution: "@storybook/csf@npm:0.0.2--canary.4566f4d.1"
@@ -3053,6 +3090,17 @@ __metadata:
languageName: node
linkType: hard
+"@storybook/csf@npm:next":
+ version: 0.0.2-next.8
+ resolution: "@storybook/csf@npm:0.0.2-next.8"
+ dependencies:
+ expect-type: ^0.14.2
+ lodash: ^4.17.15
+ type-fest: ^2.19.0
+ checksum: 86f5599c030b87cbab6fa5e4b4a9ef1aeed5e838b993b2bae5f0fc50d79ae80d5cfbf2590a05bae0a95068ef77eec88d8c102072d63c77745afe74f91cfa03a3
+ languageName: node
+ linkType: hard
+
"@storybook/eslint-config-storybook@npm:^3.1.2":
version: 3.1.2
resolution: "@storybook/eslint-config-storybook@npm:3.1.2"
@@ -3071,6 +3119,13 @@ __metadata:
languageName: node
linkType: hard
+"@storybook/global@npm:^5.0.0":
+ version: 5.0.0
+ resolution: "@storybook/global@npm:5.0.0"
+ checksum: 8f1b61dcdd3a89584540896e659af2ecc700bc740c16909a7be24ac19127ea213324de144a141f7caf8affaed017d064fea0618d453afbe027cf60f54b4a6d0b
+ languageName: node
+ linkType: hard
+
"@storybook/instrumenter@npm:^6.4.0":
version: 6.5.14
resolution: "@storybook/instrumenter@npm:6.5.14"
@@ -3084,6 +3139,20 @@ __metadata:
languageName: node
linkType: hard
+"@storybook/instrumenter@npm:next":
+ version: 7.0.0-beta.13
+ resolution: "@storybook/instrumenter@npm:7.0.0-beta.13"
+ dependencies:
+ "@storybook/channels": 7.0.0-beta.13
+ "@storybook/client-logger": 7.0.0-beta.13
+ "@storybook/core-events": 7.0.0-beta.13
+ "@storybook/global": ^5.0.0
+ "@storybook/preview-api": 7.0.0-beta.13
+ core-js: ^3.8.2
+ checksum: aeefe99fa9bc2fe9f1cfa848a9f09e3888e38d2fba35cee02bc64ebaa31a080b70477d021b9a9b7b5cefa3c01b44ad93ef5d89715ebdea4428fe02845c6378b7
+ languageName: node
+ linkType: hard
+
"@storybook/jest@npm:^0.0.10":
version: 0.0.10
resolution: "@storybook/jest@npm:0.0.10"
@@ -3123,6 +3192,30 @@ __metadata:
languageName: node
linkType: hard
+"@storybook/preview-api@npm:7.0.0-beta.13":
+ version: 7.0.0-beta.13
+ resolution: "@storybook/preview-api@npm:7.0.0-beta.13"
+ dependencies:
+ "@storybook/channel-postmessage": 7.0.0-beta.13
+ "@storybook/channels": 7.0.0-beta.13
+ "@storybook/client-logger": 7.0.0-beta.13
+ "@storybook/core-events": 7.0.0-beta.13
+ "@storybook/csf": next
+ "@storybook/global": ^5.0.0
+ "@storybook/types": 7.0.0-beta.13
+ "@types/qs": ^6.9.5
+ dequal: ^2.0.2
+ lodash: ^4.17.21
+ memoizerific: ^1.11.3
+ qs: ^6.10.0
+ slash: ^3.0.0
+ synchronous-promise: ^2.0.15
+ ts-dedent: ^2.0.0
+ util-deprecate: ^1.0.2
+ checksum: faa4cce65d03b21ce7802838fa7e000ab28ab2674e0d82185c58c54ad1d79eff00a5d1ac059d5a0aab50af205e83b0f43bcd53538ae5f8285fbe0ff2a0a301c5
+ languageName: node
+ linkType: hard
+
"@storybook/router@npm:6.5.14":
version: 6.5.14
resolution: "@storybook/router@npm:6.5.14"
@@ -3157,7 +3250,7 @@ __metadata:
"@storybook/eslint-config-storybook": ^3.1.2
"@storybook/jest": ^0.0.10
"@storybook/linter-config": ^3.1.2
- "@storybook/testing-library": 0.0.14-next.0
+ "@storybook/testing-library": next
"@swc/core": ^1.3.23
"@testing-library/dom": ^7.29.4
"@testing-library/jest-dom": ^5.11.9
@@ -3184,7 +3277,6 @@ __metadata:
"@typescript-eslint/experimental-utils": ^5.45.0
"@typescript-eslint/parser": ^5.45.0
babel-eslint: ^10.1.0
- babel-jest: ^29.3.1
babel-loader: ^8.3.0
boxen: ^5.1.2
chalk: ^4.1.0
@@ -3287,16 +3379,16 @@ __metadata:
languageName: node
linkType: hard
-"@storybook/testing-library@npm:0.0.14-next.0":
- version: 0.0.14-next.0
- resolution: "@storybook/testing-library@npm:0.0.14-next.0"
+"@storybook/testing-library@npm:next":
+ version: 0.0.14-next.1
+ resolution: "@storybook/testing-library@npm:0.0.14-next.1"
dependencies:
- "@storybook/client-logger": ^6.4.0
- "@storybook/instrumenter": ^6.4.0
+ "@storybook/client-logger": next
+ "@storybook/instrumenter": next
"@testing-library/dom": ^8.3.0
"@testing-library/user-event": ^13.2.1
ts-dedent: ^2.2.0
- checksum: fd10ebddd305743f4388ad939b90fed155b6c3a755e96a73f72d38d9afe2546a22be0c9a5d83b8b6d91742dd7be5d2e7dfcbbd630b2fa97e4ef7dde00f0824b0
+ checksum: 0d386dd136c5f6a5e695247eb7c7fa10182cb73150aae9744d6b7197c6cd049dfeffbbe192c06131858a346726b80e6fa28e8ac7a0f0012759f6f092b219cd61
languageName: node
linkType: hard
@@ -3315,6 +3407,20 @@ __metadata:
languageName: node
linkType: hard
+"@storybook/types@npm:7.0.0-beta.13":
+ version: 7.0.0-beta.13
+ resolution: "@storybook/types@npm:7.0.0-beta.13"
+ dependencies:
+ "@babel/core": ^7.12.10
+ "@storybook/channels": 7.0.0-beta.13
+ "@types/babel__core": ^7.0.0
+ "@types/express": ^4.7.0
+ express: ^4.17.3
+ file-system-cache: ^2.0.0
+ checksum: 59414ddb0e4a531ed78e7fb7dbab7b4f5008ecd338d3c9b474a2c936926d60e4e0c570ac59ffd483789d133b04f17958affd8aef24781ebf2f54a3bc78990d58
+ languageName: node
+ linkType: hard
+
"@stroncium/procfs@npm:^1.2.1":
version: 1.2.1
resolution: "@stroncium/procfs@npm:1.2.1"
@@ -3567,7 +3673,7 @@ __metadata:
languageName: node
linkType: hard
-"@types/babel__core@npm:^7.1.14":
+"@types/babel__core@npm:^7.0.0, @types/babel__core@npm:^7.1.14":
version: 7.1.20
resolution: "@types/babel__core@npm:7.1.20"
dependencies:
@@ -3685,7 +3791,7 @@ __metadata:
languageName: node
linkType: hard
-"@types/express@npm:^4.17.11":
+"@types/express@npm:^4.17.11, @types/express@npm:^4.7.0":
version: 4.17.15
resolution: "@types/express@npm:4.17.15"
dependencies:
@@ -3921,7 +4027,7 @@ __metadata:
languageName: node
linkType: hard
-"@types/qs@npm:*":
+"@types/qs@npm:*, @types/qs@npm:^6.9.5":
version: 6.9.7
resolution: "@types/qs@npm:6.9.7"
checksum: 157eb05f4c75790b0ebdcf7b0547ff117feabc8cda03c3cac3d3ea82bb19a1912e76a411df3eb0bdd01026a9770f07bc0e7e3fbe39ebb31c1be4564c16be35f1
@@ -6793,6 +6899,13 @@ __metadata:
languageName: node
linkType: hard
+"dequal@npm:^2.0.2":
+ version: 2.0.3
+ resolution: "dequal@npm:2.0.3"
+ checksum: f98860cdf58b64991ae10205137c0e97d384c3a4edc7f807603887b7c4b850af1224a33d88012009f150861cbee4fa2d322c4cc04b9313bee312e47f6ecaa888
+ languageName: node
+ linkType: hard
+
"destroy@npm:1.2.0":
version: 1.2.0
resolution: "destroy@npm:1.2.0"
@@ -8371,6 +8484,13 @@ __metadata:
languageName: node
linkType: hard
+"expect-type@npm:^0.14.2":
+ version: 0.14.2
+ resolution: "expect-type@npm:0.14.2"
+ checksum: 862d5cb25a07b1dc26032ceeab2975f047e641175db2d3bbb34cee73ed8c04ca5e93457cc59ddf5006ddd7a694eb0e0bf2537512caa41e533a2044ed9d13a775
+ languageName: node
+ linkType: hard
+
"expect@npm:^28.1.3":
version: 28.1.3
resolution: "expect@npm:28.1.3"
@@ -8689,6 +8809,16 @@ __metadata:
languageName: node
linkType: hard
+"file-system-cache@npm:^2.0.0":
+ version: 2.0.1
+ resolution: "file-system-cache@npm:2.0.1"
+ dependencies:
+ fs-extra: ^10.1.0
+ ramda: ^0.28.0
+ checksum: 1efe6fdd02835d9810565ed4e5c5f2c383014d0439771779335ab4fefa4cf03f673415fe8140c40f50ca31ee135f373aefa82def079c6caaab8963a09e7fd0fd
+ languageName: node
+ linkType: hard
+
"filelist@npm:^1.0.1":
version: 1.0.4
resolution: "filelist@npm:1.0.4"
@@ -14673,6 +14803,13 @@ __metadata:
languageName: node
linkType: hard
+"ramda@npm:^0.28.0":
+ version: 0.28.0
+ resolution: "ramda@npm:0.28.0"
+ checksum: 0f9dc0cc3b0432ff047f1e2a5e58860c531a84574674c0f52fef535efc6e1e07fa3851102fff3da7dd551a592c743f6f6fa521379a6aa5fe50266f8af8f0b570
+ languageName: node
+ linkType: hard
+
"randexp@npm:0.4.6":
version: 0.4.6
resolution: "randexp@npm:0.4.6"
@@ -16609,6 +16746,13 @@ __metadata:
languageName: node
linkType: hard
+"synchronous-promise@npm:^2.0.15":
+ version: 2.0.16
+ resolution: "synchronous-promise@npm:2.0.16"
+ checksum: b0cbad61b24b36ab1a8c6ac5b10335ad7c1a006b69bf5e73e5de9a141a54abaef20b4b808a9939e81dc52cf27f4c4c7a62e90cec42a0005efda712618985ba5a
+ languageName: node
+ linkType: hard
+
"syntax-error@npm:^1.1.6":
version: 1.4.0
resolution: "syntax-error@npm:1.4.0"
@@ -16695,6 +16839,15 @@ __metadata:
languageName: node
linkType: hard
+"telejson@npm:^7.0.3":
+ version: 7.0.4
+ resolution: "telejson@npm:7.0.4"
+ dependencies:
+ memoizerific: ^1.11.3
+ checksum: c23c2b6baf3f1c195f7c0b0c34e8c53b490e42324cde06fab52a8de9216ef0b59af81d396b882a47cbe8c0cebc9563e45a3d52a50a5e0b45cddfbf2bab94ce86
+ languageName: node
+ linkType: hard
+
"temp-dir@npm:^2.0.0":
version: 2.0.0
resolution: "temp-dir@npm:2.0.0"
@@ -17195,6 +17348,13 @@ __metadata:
languageName: node
linkType: hard
+"type-fest@npm:^2.19.0":
+ version: 2.19.0
+ resolution: "type-fest@npm:2.19.0"
+ checksum: a5a7ecf2e654251613218c215c7493574594951c08e52ab9881c9df6a6da0aeca7528c213c622bc374b4e0cb5c443aa3ab758da4e3c959783ce884c3194e12cb
+ languageName: node
+ linkType: hard
+
"type-fest@npm:^3.0.0, type-fest@npm:^3.4.0":
version: 3.4.0
resolution: "type-fest@npm:3.4.0"