diff --git a/.circleci/config.yml b/.circleci/config.yml index b384479d14ed..aa88ad7d9723 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -42,6 +42,19 @@ executors: environment: NODE_OPTIONS: --max_old_space_size=3076 resource_class: <> + sb_playwright: + parameters: + class: + description: The Resource class + type: enum + enum: ['small', 'medium', 'medium+', 'large', 'xlarge'] + default: 'medium' + working_directory: /tmp/storybook + docker: + - image: mcr.microsoft.com/playwright:v1.25.1-focal + environment: + NODE_OPTIONS: --max_old_space_size=3076 + resource_class: <> orbs: git-shallow-clone: guitarrapc/git-shallow-clone@2.0.3 @@ -195,13 +208,13 @@ jobs: name: running local registry command: | cd code - yarn local-registry --port 6000 --open + yarn local-registry --port 6001 --open background: true - run: name: Wait for registry command: | cd code - yarn wait-on http://localhost:6000 + yarn wait-on http://localhost:6001 - run: name: Run E2E (extended) tests command: | @@ -225,13 +238,13 @@ jobs: name: Running local registry command: | cd code - yarn local-registry --port 6000 --open + yarn local-registry --port 6001 --open background: true - run: name: Wait for registry command: | cd code - yarn wait-on http://localhost:6000 + yarn wait-on http://localhost:6001 - run: name: Run E2E (core) tests # Do not test CRA here because it's done in PnP part @@ -257,7 +270,7 @@ jobs: # executor: # class: large # name: sb_cypress_8_node_14 - # parallelism: 2 + # parallelism: 8 # steps: # - git-shallow-clone/checkout_advanced: # clone_options: '--depth 1 --verbose' @@ -265,41 +278,36 @@ jobs: # at: . # - run: # name: Running local registry - # command: yarn local-registry --port 6000 --open + # command: yarn local-registry --port 6001 --open # background: true # - run: # name: Wait for registry - # command: yarn wait-on http://localhost:6000 + # command: yarn wait-on http://localhost:6001 # - run: # name: Run smoke tests # command: yarn test:e2e-framework angular_modern_inline_rendering --test-runner --docs-mode # no_output_timeout: 5m cra-bench: executor: - class: medium - name: sb_cypress_8_node_14 + class: medium+ + name: sb_playwright working_directory: /tmp/storybook steps: - git-shallow-clone/checkout_advanced: clone_options: '--depth 1 --verbose' - attach_workspace: at: . - - run: - name: install playright - command: | - cd code - npx playwright install - run: name: Running local registry command: | cd code - yarn local-registry --port 6000 --open + yarn local-registry --port 6001 --open background: true - run: name: Wait for registry command: | cd code - yarn wait-on http://localhost:6000 + yarn wait-on http://localhost:6001 - run: name: set up cra repro, skip tests command: | @@ -309,7 +317,14 @@ jobs: name: Run @storybook/bench on repro command: | cd ./cra-bench - npx @storybook/bench@1.0.0--canary.11.52d1ee7.1 'echo noop' --label cra + npx -p @storybook/bench@1.0.0--canary.12.7cccdee.0 sb-bench 'echo noop' --label cra + - run: + name: prep artifacts + when: always + command: tar cvzf /tmp/sb-bench.tar.gz ./cra-bench + - store_artifacts: + path: /tmp/sb-bench.tar.gz + destination: sb-bench.tar.gz e2e-tests-pnp: executor: class: medium @@ -324,13 +339,13 @@ jobs: name: Running local registry command: | cd code - yarn local-registry --port 6000 --open + yarn local-registry --port 6001 --open background: true - run: name: Wait for registry command: | cd code - yarn wait-on http://localhost:6000 + yarn wait-on http://localhost:6001 - run: name: run e2e tests cra command: | @@ -462,7 +477,7 @@ jobs: executor: class: medium+ name: sb_node_14_browsers - parallelism: 2 + parallelism: 7 steps: - git-shallow-clone/checkout_advanced: clone_options: '--depth 1 --verbose' @@ -482,7 +497,7 @@ jobs: executor: class: medium+ name: sb_node_14_browsers - parallelism: 2 + parallelism: 7 steps: - git-shallow-clone/checkout_advanced: clone_options: '--depth 1 --verbose' @@ -498,7 +513,7 @@ jobs: executor: class: medium+ name: sb_node_14_browsers - parallelism: 2 + parallelism: 7 steps: - git-shallow-clone/checkout_advanced: clone_options: '--depth 1 --verbose' @@ -518,7 +533,7 @@ jobs: executor: class: medium+ name: sb_node_14_browsers - parallelism: 2 + parallelism: 7 steps: - git-shallow-clone/checkout_advanced: clone_options: '--depth 1 --verbose' @@ -534,7 +549,7 @@ jobs: executor: class: medium+ name: sb_node_14_browsers - parallelism: 2 + parallelism: 7 steps: - git-shallow-clone/checkout_advanced: clone_options: '--depth 1 --verbose' @@ -547,9 +562,10 @@ jobs: - store_test_results: path: code/test-results e2e-sandboxes: - docker: - - image: mcr.microsoft.com/playwright:v1.24.0-focal - parallelism: 2 + executor: + class: medium+ + name: sb_playwright + parallelism: 7 steps: - git-shallow-clone/checkout_advanced: clone_options: '--depth 1 --verbose' diff --git a/.github/workflows/generate-repros-next.yml b/.github/workflows/generate-repros-next.yml index 278c7c131def..43da2e6f8711 100644 --- a/.github/workflows/generate-repros-next.yml +++ b/.github/workflows/generate-repros-next.yml @@ -2,12 +2,12 @@ name: Generate and push repros to the next branch on: schedule: - - cron: "2 2 */1 * *" + - cron: '2 2 */1 * *' workflow_dispatch: # To remove when the branch will be merged push: branches: - - shilman/add-angular-repro-template + - vite-frameworks-xyz jobs: generate: @@ -15,6 +15,9 @@ jobs: env: YARN_ENABLE_IMMUTABLE_INSTALLS: false steps: + - uses: actions/setup-node@v2 + with: + node-version: 14 - uses: actions/checkout@v2 - name: Setup git user run: | @@ -26,7 +29,7 @@ jobs: run: yarn bootstrap --prep working-directory: ./code - name: Generate repros - run: yarn generate-repros-next + run: yarn generate-repros-next --local-registry working-directory: ./code - name: Publish repros to GitHub run: yarn publish-repros --remote=https://storybook-bot:${{ secrets.PAT_STORYBOOK_BOT}}@github.com/storybookjs/repro-templates-temp.git --push diff --git a/.github/workflows/generate-repros.yml b/.github/workflows/generate-repros.yml index d66fbbe37244..43b11ccfcce2 100644 --- a/.github/workflows/generate-repros.yml +++ b/.github/workflows/generate-repros.yml @@ -15,6 +15,9 @@ jobs: env: YARN_ENABLE_IMMUTABLE_INSTALLS: false steps: + - uses: actions/setup-node@v2 + with: + node-version: 14 - uses: actions/checkout@v2 - name: Setup git user run: | diff --git a/.gitignore b/.gitignore index c58cf821130c..540895b90ed1 100644 --- a/.gitignore +++ b/.gitignore @@ -9,7 +9,6 @@ dist junit.xml /repros /sandbox -/built-sandboxes .verdaccio-cache # Yarn stuff diff --git a/.ignore b/.ignore new file mode 100644 index 000000000000..df5f841665ca --- /dev/null +++ b/.ignore @@ -0,0 +1 @@ +!/sandbox \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 84a2a8635d95..376ca6e835a3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,171 @@ +## 7.0.0-alpha.31 (September 7, 2022) + +#### Maintenance + +- Doc blocks: Update ArgTable Reset button to use IconButton [#19052](https://github.com/storybooks/storybook/pull/19052) +- UI: Update a handful of icons [#19084](https://github.com/storybooks/storybook/pull/19084) +- Build: Update to latest nx [#19078](https://github.com/storybooks/storybook/pull/19078) +- Vite: Fix plugin types [#19095](https://github.com/storybooks/storybook/pull/19095) + +#### Dependency Upgrades + +- Chore: Remove unused dependencies in /lib [#19100](https://github.com/storybooks/storybook/pull/19100) + +## 7.0.0-alpha.30 (September 6, 2022) + +#### Bug Fixes + +- CLI: Fix include rendererAssets in npm bundle [#19115](https://github.com/storybooks/storybook/pull/19115) + +#### Maintenance + +- CLI: remove outdated comment in Angular starter [#19097](https://github.com/storybooks/storybook/pull/19097) + +#### Dependency Upgrades + +- Remove deprecated `stable` dependency [#19103](https://github.com/storybooks/storybook/pull/19103) +- Svelte: Update sveltedoc dependencies [#19111](https://github.com/storybooks/storybook/pull/19111) +- Deps: Remove core-js from most packages [#19098](https://github.com/storybooks/storybook/pull/19098) +- Deps: Upgrade react-element-to-jsx-string and react-inspector for React 18 [#19104](https://github.com/storybooks/storybook/pull/19104) + +## 7.0.0-alpha.29 (September 2, 2022) + +#### Bug Fixes + +- CLI/Vite: Don't add babel dependencies during init [#19088](https://github.com/storybooks/storybook/pull/19088) +- CLI: Fix sb init to use renderer assets instead of frameworks [#19091](https://github.com/storybooks/storybook/pull/19091) +- Core: Ensure if a docs render is torndown during preparation, it throws [#19071](https://github.com/storybooks/storybook/pull/19071) + +#### Maintenance + +- Addon-viewport: Move stories into addon [#19086](https://github.com/storybooks/storybook/pull/19086) +- Addon-backgrounds: Move stories into addon [#19085](https://github.com/storybooks/storybook/pull/19085) +- Addon-actions: Move stories into addon [#19082](https://github.com/storybooks/storybook/pull/19082) +- Build: Exit yarn bootstrap with nonzero code if failed [#19089](https://github.com/storybooks/storybook/pull/19089) +- Vite: cleanup custom plugins [#19087](https://github.com/storybooks/storybook/pull/19087) +- Build: Prefix generic addon stories in sandbox storybooks [#19092](https://github.com/storybooks/storybook/pull/19092) + +## 7.0.0-alpha.28 (September 2, 2022) + +#### Features + +- Vite: Automatically use vite.config.js [#19026](https://github.com/storybooks/storybook/pull/19026) + +#### Bug Fixes + +- CLI: Fix race condition in sb init [#19083](https://github.com/storybooks/storybook/pull/19083) +- Vite: Fix framework option checks, and SSv6 [#19062](https://github.com/storybooks/storybook/pull/19062) +- Core: Fix WebProjectAnnotations export in preview-web for back-compat [#19048](https://github.com/storybooks/storybook/pull/19048) + +#### Maintenance + +- Update to new TS reference format (?) [#19072](https://github.com/storybooks/storybook/pull/19072) +- Build: Conditionally force vite rebuilds in sandbox [#19063](https://github.com/storybooks/storybook/pull/19063) +- Build: Fix CRA bench [#19066](https://github.com/storybooks/storybook/pull/19066) + +## 7.0.0-alpha.27 (August 31, 2022) + +#### Features + +- Vite: Set `resolve.preserveSymlinks` based on env vars [#19039](https://github.com/storybooks/storybook/pull/19039) + +#### Bug Fixes + +- Core: Restore `/preview` etc package exports; return unresolved path from presets. [#19045](https://github.com/storybooks/storybook/pull/19045) + +#### Maintenance + +- Core: Add previewHead and previewBody to StorybookConfig interface [#19047](https://github.com/storybooks/storybook/pull/19047) +- Build: Fix the sb-bench CI step [#19029](https://github.com/storybooks/storybook/pull/19029) +- Remove sandbox from `.ignore` [#19040](https://github.com/storybooks/storybook/pull/19040) +- Build: Use new test runner with builtin junit [#19028](https://github.com/storybooks/storybook/pull/19028) + +#### Dependency Upgrades + +- Vite: Clean up framework dependencies / unused files [#19035](https://github.com/storybooks/storybook/pull/19035) + +## 7.0.0-alpha.26 (August 26, 2022) + +#### Features + +- CLI: Add react, vue3, and svelte vite to new-frameworks automigration [#19016](https://github.com/storybooks/storybook/pull/19016) +- Svelte: Add svelte-vite framework [#18978](https://github.com/storybooks/storybook/pull/18978) + +#### Bug Fixes + +- Core: Fix default story glob [#19018](https://github.com/storybooks/storybook/pull/19018) + +#### Dependency Upgrades + +- React-vite: update/cleanup dependencies [#19025](https://github.com/storybooks/storybook/pull/19025) +- Remove babel-loader from core-common [#19022](https://github.com/storybooks/storybook/pull/19022) + +## 7.0.0-alpha.25 (August 25, 2022) + +#### Features + +- Vite: Add builder-vite, react-vite, and vue3-vite [#19007](https://github.com/storybooks/storybook/pull/19007) + +#### Maintenance + +- CI: use runner with playwright installed for cra_bench [#18951](https://github.com/storybooks/storybook/pull/18951) +- Replace rollup-plugin-node-polyfills to analogs [#18975](https://github.com/storybooks/storybook/pull/18975) + +## 7.0.0-alpha.24 (August 24, 2022) + +#### Breaking changes + +- Preview: Rename Storybook DOM root IDs [#10638](https://github.com/storybooks/storybook/pull/10638) + +#### Features + +- Interactions: Add `step` function and support multiple levels of nesting [#18555](https://github.com/storybooks/storybook/pull/18555) + +#### Bug Fixes + +- Addon-docs: Fix canvas support expand code for non-story [#18808](https://github.com/storybooks/storybook/pull/18808) +- Components: Avoid including line numbers when copying the code [#18725](https://github.com/storybooks/storybook/pull/18725) +- Vue: Fix enum check in extractArgTypes [#18959](https://github.com/storybooks/storybook/pull/18959) +- Core: Fix frameworkOptions preset [#18979](https://github.com/storybooks/storybook/pull/18979) + +#### Maintenance + +- Addon-a11y: Remove achromatomaly color filter [#18852](https://github.com/storybooks/storybook/pull/18852) +- Build: Use ts-up to build core-webpack [#18912](https://github.com/storybooks/storybook/pull/18912) +- Build: Use ts-up to build addon-viewport [#18943](https://github.com/storybooks/storybook/pull/18943) +- Build: Improve generate-repros-next [#19001](https://github.com/storybooks/storybook/pull/19001) +- Examples: Remove refs in angular example [#18986](https://github.com/storybooks/storybook/pull/18986) +- Build: Use ts-up to build client-logger [#18893](https://github.com/storybooks/storybook/pull/18893) +- Generate-repros: Run local registry on `--local-registry` option [#18997](https://github.com/storybooks/storybook/pull/18997) +- Build: Remove unused bootstrap --cleanup [#18981](https://github.com/storybooks/storybook/pull/18981) +- CLI: Fix local repro publishing [#18977](https://github.com/storybooks/storybook/pull/18977) +- Build: Run verdaccio on 6001 to enable web UI [#18983](https://github.com/storybooks/storybook/pull/18983) +- CLI: determine whether to add interactive stories from `renderer` rather than `framework` [#18968](https://github.com/storybooks/storybook/pull/18968) +- CLI: Auto-accept migrations when running `generate-repros-next` [#18969](https://github.com/storybooks/storybook/pull/18969) + +## 7.0.0-alpha.23 (August 18, 2022) + +#### Features + +- UI: Polish canvas and sidebar for 7.0 [#18894](https://github.com/storybooks/storybook/pull/18894) + +#### Maintenance + +- Sandbox: Add ability to run from local repro [#18950](https://github.com/storybooks/storybook/pull/18950) +- Repros: Add ability to generate repros using local registry [#18948](https://github.com/storybooks/storybook/pull/18948) +- CLI: Move write/read package json into JsPackageManager [#18942](https://github.com/storybooks/storybook/pull/18942) + + +## 7.0.0-alpha.22 (August 18, 2022) + +Failed publish to npm + +## 7.0.0-alpha.21 (August 17, 2022) + +#### Maintenance + +- UI: Update every icon for v7 design [#18809](https://github.com/storybooks/storybook/pull/18809) + ## 7.0.0-alpha.20 (August 16, 2022) #### Features diff --git a/MIGRATION.md b/MIGRATION.md index 5098e5288318..c655a4a38ac8 100644 --- a/MIGRATION.md +++ b/MIGRATION.md @@ -3,6 +3,8 @@ - [From version 6.5.x to 7.0.0](#from-version-65x-to-700) - [Alpha release notes](#alpha-release-notes) - [Breaking changes](#breaking-changes) + - [`Story` type change to `StoryFn`, and the new `Story` type now refers to `StoryObj`](#story-type-change-to-storyfn-and-the-new-story-type-now-refers-to-storyobj) + - [Change of root html IDs](#change-of-root-html-ids) - [No more default export from `@storybook/addons`](#no-more-default-export-from-storybookaddons) - [Modern browser support](#modern-browser-support) - [No more configuration for manager](#no-more-configuration-for-manager) @@ -16,7 +18,9 @@ - [Docs modern inline rendering by default](#docs-modern-inline-rendering-by-default) - [Babel mode v7 by default](#babel-mode-v7-by-default) - [7.0 feature flags removed](#70-feature-flags-removed) + - [Vite builder uses vite config automatically](#vite-builder-uses-vite-config-automatically) - [Removed docs.getContainer and getPage parameters](#removed-docsgetcontainer-and-getpage-parameters) + - [Icons API changed](#icons-api-changed) - [Docs Changes](#docs-changes) - [Standalone docs files](#standalone-docs-files) - [Referencing stories in docs files](#referencing-stories-in-docs-files) @@ -234,6 +238,49 @@ In the meantime, these migration notes are the best available documentation on t ### Breaking changes +#### `Story` type change to `StoryFn`, and the new `Story` type now refers to `StoryObj` + +In 6.x you were able to do this: + +```js +import type { Story } from '@storybook/react'; + +export const MyStory: Story = () =>
; +``` + +But this will produce an error in 7.0 because `Story` is now a type that refers to the `StoryObj` type. +You must now use the new `StoryFn` type: + +```js +import type { StoryFn } from '@storybook/react'; + +export const MyStory: StoryFn = () =>
; +``` + +This change was done to improve the experience of writing CSF3 stories, which is the recommended way of writing stories in 7.0: + +```js +import type { Story } from '@storybook/react'; +import { Button, ButtonProps } from './Button'; + +export default { + component: Button, +}; + +export const Primary: Story = { + variant: 'primary', +}; +``` + +If you want to be explicit, you can also import `StoryObj` instead of `Story`, they are the same type. + +For Storybook for react users: We also changed `ComponentStory` to refer to `ComponentStoryObj` instead of `ComponentStoryFn`, so if you were using `ComponentStory` you should now import/use `ComponentStoryFn` instead. + +You can read more about the CSF3 format here: https://storybook.js.org/blog/component-story-format-3-0/ + +#### Change of root html IDs + +The root ID unto which storybook renders stories is renamed from `root` to `#storybook-root` to avoid conflicts with user's code. #### No more default export from `@storybook/addons` @@ -244,6 +291,7 @@ import { addons } from '@storybook/addons'; ``` The named export has been available since 6.0 or earlier, so your updated code will be backwards-compatible with older versions of Storybook. + #### Modern browser support Starting in storybook 7.0, storybook will no longer support IE11, amongst other legacy browser versions. @@ -253,10 +301,13 @@ This means code-features such as (but not limited to) `async/await`, arrow-funct Not just the runtime needs to support it, but some legacy loaders for webpack or other transpilation tools might need to be updated as well. For example certain versions of webpack 4 had parsers that could not parse the new syntax (e.g. optional chaining). Some addons or libraries might depended on this legacy browser support, and thus might break. You might get an error like: + ``` regeneratorRuntime is not defined ``` + To fix these errors, the addon will have to be re-released with a newer browser-target for transpilation. This often looks something like this (but it's dependent on the build system the addon uses): + ```js // babel.config.js module.exports = { @@ -272,7 +323,7 @@ module.exports = { }, ], ], -} +}; ``` Here's an example PR to one of the storybook addons: https://github.com/storybookjs/addon-coverage/pull/3 doing just that. @@ -380,10 +431,13 @@ In 7.0, frameworks also specify the builder to be used. For example, The current - `@storybook/html-webpack5` - `@storybook/preact-webpack5` - `@storybook/react-webpack5` +- `@storybook/react-vite` - `@storybook/server-webpack5` - `@storybook/svelte-webpack5` +- `@storybook/svelte-vite` - `@storybook/vue-webpack5` - `@storybook/vue3-webpack5` +- `@storybook/vue3-vite` - `@storybook/web-components-webpack5` We will be expanding this list over the course of the 7.0 development cycle. More info on the rationale here: [Frameworks RFC](https://www.notion.so/chromatic-ui/Frameworks-RFC-89f8aafe3f0941ceb4c24683859ed65c). @@ -464,10 +518,31 @@ In 7.0 we've removed the following feature flags: | `emotionAlias` | This flag is no longer needed and should be deleted. | | `breakingChangesV7` | This flag is no longer needed and should be deleted. | +#### Vite builder uses vite config automatically + +When using a [Vite-based framework](#framework-field-mandatory), Storybook will automatically use your `vite.config.(ctm)js` config file starting in 7.0. +Some settings will be overridden by storybook so that it can function properly, and the merged settings can be modified using `viteFinal` in `.storybook/main.js` (see the [Storybook Vite configuration docs](https://storybook.js.org/docs/react/builders/vite#configuration)). +If you were using `viteFinal` in 6.5 to simply merge in your project's standard vite config, you can now remove it. + #### Removed docs.getContainer and getPage parameters It is no longer possible to set `parameters.docs.getContainer()` and `getPage()`. Instead use `parameters.docs.container` or `parameters.docs.page` directly. +#### Icons API changed + +For addon authors who use the `Icons` component, its API has been updated in Storybook 7. + +```diff +export interface IconsProps extends ComponentProps { +- icon?: IconKey; +- symbol?: IconKey; ++ icon: IconType; ++ useSymbol?: boolean; +} +``` + +Full change here: https://github.com/storybookjs/storybook/pull/18809 + ### Docs Changes The information hierarchy of docs in Storybook has changed in 7.0. The main difference is that each docs is listed in the sidebar as a separate entry, rather than attached to individual stories. @@ -597,7 +672,9 @@ import * as previewAnnotations from '../.storybook/preview'; export default function App({ Component, pageProps }) { return ( - + ); @@ -721,7 +798,8 @@ import startCase from 'lodash/startCase'; addons.setConfig({ sidebar: { - renderLabel: ({ name, type }) => (type === 'story' ? name : startCase(name)), + renderLabel: ({ name, type }) => + type === 'story' ? name : startCase(name), }, }); ``` @@ -1148,7 +1226,11 @@ After: ```js // .storybook/main.js module.exports = { - staticDirs: ['../public', '../static', { from: '../foo/assets', to: '/assets' }], + staticDirs: [ + '../public', + '../static', + { from: '../foo/assets', to: '/assets' }, + ], }; ``` @@ -1696,13 +1778,17 @@ This breaking change only affects you if your stories actually use the context, Consider the following story that uses the context: ```js -export const Dummy = ({ parameters }) =>
{JSON.stringify(parameters)}
; +export const Dummy = ({ parameters }) => ( +
{JSON.stringify(parameters)}
+); ``` Here's an updated story for 6.0 that ignores the args object: ```js -export const Dummy = (_args, { parameters }) =>
{JSON.stringify(parameters)}
; +export const Dummy = (_args, { parameters }) => ( +
{JSON.stringify(parameters)}
+); ``` Alternatively, if you want to opt out of the new behavior, you can add the following to your `.storybook/preview.js` config: @@ -2122,7 +2208,7 @@ To configure a11y now, you have to specify configuration using story parameters, ```js export const parameters = { a11y: { - element: '#root', + element: "#storybook-root", config: {}, options: {}, manual: true, @@ -2492,7 +2578,9 @@ For example, here's how to sort by story ID using `storySort`: addParameters({ options: { storySort: (a, b) => - a[1].kind === b[1].kind ? 0 : a[1].id.localeCompare(b[1].id, undefined, { numeric: true }), + a[1].kind === b[1].kind + ? 0 + : a[1].id.localeCompare(b[1].id, undefined, { numeric: true }), }, }); ``` @@ -2538,7 +2626,9 @@ Storybook 5.1 relies on `core-js@^3.0.0` and therefore causes a conflict with An { "compilerOptions": { "paths": { - "core-js/es7/reflect": ["node_modules/core-js/proposals/reflect-metadata"], + "core-js/es7/reflect": [ + "node_modules/core-js/proposals/reflect-metadata" + ], "core-js/es6/*": ["node_modules/core-js/es"] } } diff --git a/README.md b/README.md index ffd1395b161d..208e9d42338f 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ It allows you to browse a component library, view the different states of each c ## Getting Started -Visit [Storybook's website](https://storybook.js.org) to learn more about Storybook, and to get started. +Visit [Storybook's website](https://storybook.js.org) to learn more about Storybook and to get started. ### Documentation @@ -127,12 +127,12 @@ For additional help, join us in the [Storybook Discord](https://discord.gg/story | [graphql](https://github.com/storybookjs/addon-graphql) | Query a GraphQL server within Storybook stories | | [jest](code/addons/jest/) | View the results of components' unit tests in Storybook | | [links](code/addons/links/) | Create links between stories | +| [measure](code/addons/measure/) | Visually inspect the layout and box model within the Storybook UI | +| [outline](code/addons/outline/) | Visuallly debug the CSS layout and alignment within the Storybook UI | | [query params](https://github.com/storybookjs/addon-queryparams) | Mock query params | | [storyshots](code/addons/storyshots/) | Snapshot testing for components in Storybook | | [storysource](code/addons/storysource/) | View the code of your stories within the Storybook UI | | [viewport](code/addons/viewport/) | Change display sizes and layouts for responsive components using Storybook | -| [outline](code/addons/outline/) | Visuallly debug the CSS layout and alignment within the Storybook UI | -| [measure](code/addons/measure/) | Visually inspect the layout and box model within the Storybook UI | See [Addon / Framework Support Table](https://storybook.js.org/docs/react/api/frameworks-feature-support) @@ -140,11 +140,11 @@ See [Addon / Framework Support Table](https://storybook.js.org/docs/react/api/fr | Addons | | | ---------------------------------------------------------------------------------- | ---------------------------------------------------------- | +| [contexts](https://storybook.js.org/addons/@storybook/addon-contexts/) | Addon for driving your components under dynamic contexts | | [info](https://github.com/storybookjs/deprecated-addons/tree/master/addons/info) | Annotate stories with extra component usage information | +| [knobs](https://github.com/storybookjs/addon-knobs) | Interactively edit component prop data in the Storybook UI | | [notes](https://github.com/storybookjs/deprecated-addons/tree/master/addons/notes) | Annotate Storybook stories with notes | -| [contexts](https://storybook.js.org/addons/@storybook/addon-contexts/) | Addon for driving your components under dynamic contexts | | [options](https://www.npmjs.com/package/@storybook/addon-options) | Customize the Storybook UI in code | -| [knobs](https://github.com/storybookjs/addon-knobs) | Interactively edit component prop data in the Storybook UI | In order to continue improving your experience, we have to eventually deprecate certain addons in favor of new, better tools. @@ -177,7 +177,7 @@ We welcome contributions to Storybook! - 📥 Pull requests and 🌟 Stars are always welcome. - Read our [contributing guide](CONTRIBUTING.md) to get started, - or find us on [Discord](https://discord.gg/storybook), we will take the time to guide you + or find us on [Discord](https://discord.gg/storybook), we will take the time to guide you. Looking for a first issue to tackle? diff --git a/code/.eslintrc.js b/code/.eslintrc.js index 1129908e7eb0..0e590a380807 100644 --- a/code/.eslintrc.js +++ b/code/.eslintrc.js @@ -101,5 +101,11 @@ module.exports = { 'jest/no-test-callback': 'off', // These aren't jest tests }, }, + { + files: ['**/builder-vite/input/iframe.html'], + rules: { + 'no-undef': 'off', // ignore "window" undef errors + }, + }, ], }; diff --git a/code/.vscode/settings.json b/code/.vscode/settings.json new file mode 100644 index 000000000000..25fa6215fdd3 --- /dev/null +++ b/code/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "typescript.tsdk": "node_modules/typescript/lib" +} diff --git a/code/__mocks__/inject-decorator.stories.txt b/code/__mocks__/inject-decorator.stories.txt index a8eb61d2f221..0b3ba7747b1c 100644 --- a/code/__mocks__/inject-decorator.stories.txt +++ b/code/__mocks__/inject-decorator.stories.txt @@ -1,7 +1,6 @@ import React from 'react'; import { storiesOf } from '@storybook/react'; import { withInfo } from '@storybook/addon-info'; -import { action } from '@storybook/addon-actions'; import { DocgenButton } from '../components/DocgenButton'; import FlowTypeButton from '../components/FlowTypeButton'; @@ -13,19 +12,19 @@ storiesOf('Addons|Info.React Docgen', module) 'Comments from PropType declarations', withInfo( 'Comments above the PropType declarations should be extracted from the React component file itself and rendered in the Info Addon prop table' - )(() => ) + )(() => ) ) .add( 'Comments from Flow declarations', withInfo( 'Comments above the Flow declarations should be extracted from the React component file itself and rendered in the Info Addon prop table' - )(() => ) + )(() => ) ) .add( 'Comments from component declaration', withInfo( 'Comments above the component declaration should be extracted from the React component file itself and rendered below the Info Addon heading' - )(() => ) + )(() => ) ); const markdownDescription = ` @@ -41,7 +40,7 @@ Maybe include a [link](http://storybook.js.org) to your project as well. storiesOf('Addons|Info.Markdown', module).add( 'Displays Markdown in description', - withInfo(markdownDescription)(() => ) + withInfo(markdownDescription)(() => ) ); storiesOf('Addons|Info.Options.inline', module).add( diff --git a/code/addons/a11y/README.md b/code/addons/a11y/README.md index 699c3ec15f74..a5c0375ba85f 100755 --- a/code/addons/a11y/README.md +++ b/code/addons/a11y/README.md @@ -175,7 +175,7 @@ export default { parameters: { a11y: { // optional selector which element to inspect - element: '#root', + element: '#storybook-root', // axe-core configurationOptions (https://github.com/dequelabs/axe-core/blob/develop/doc/API.md#parameters-1) config: {}, // axe-core optionsParameter (https://github.com/dequelabs/axe-core/blob/develop/doc/API.md#options-parameter) diff --git a/code/addons/a11y/package.json b/code/addons/a11y/package.json index 90a01ba89f2a..a4690ee11c34 100644 --- a/code/addons/a11y/package.json +++ b/code/addons/a11y/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-a11y", - "version": "7.0.0-alpha.20", + "version": "7.0.0-alpha.31", "description": "Test component compliance with web accessibility standards", "keywords": [ "a11y", @@ -41,7 +41,7 @@ "import": "./dist/preview.mjs", "types": "./dist/preview.d.ts" }, - "./register.js": { + "./register": { "require": "./dist/manager.js", "import": "./dist/manager.mjs", "types": "./dist/manager.d.ts" @@ -59,20 +59,19 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/addon-highlight": "7.0.0-alpha.20", - "@storybook/addons": "7.0.0-alpha.20", - "@storybook/api": "7.0.0-alpha.20", - "@storybook/channels": "7.0.0-alpha.20", - "@storybook/client-logger": "7.0.0-alpha.20", - "@storybook/components": "7.0.0-alpha.20", - "@storybook/core-events": "7.0.0-alpha.20", + "@storybook/addon-highlight": "7.0.0-alpha.31", + "@storybook/addons": "7.0.0-alpha.31", + "@storybook/api": "7.0.0-alpha.31", + "@storybook/channels": "7.0.0-alpha.31", + "@storybook/client-logger": "7.0.0-alpha.31", + "@storybook/components": "7.0.0-alpha.31", + "@storybook/core-events": "7.0.0-alpha.31", "@storybook/csf": "0.0.2--canary.0899bb7.0", - "@storybook/theming": "7.0.0-alpha.20", + "@storybook/theming": "7.0.0-alpha.31", "axe-core": "^4.2.0", - "core-js": "^3.8.2", "global": "^4.4.0", "lodash": "^4.17.21", "react-sizeme": "^3.0.1", @@ -105,7 +104,7 @@ "./src/preview.tsx" ] }, - "gitHead": "a6c00d2ebed21da54b4772b4a4f7fed9258f0ab4", + "gitHead": "02c013c33186479017098d532a18ff8654b91f1f", "storybook": { "displayName": "Accessibility", "icon": "https://user-images.githubusercontent.com/263385/101991665-47042f80-3c7c-11eb-8f00-64b5a18f498a.png", diff --git a/code/addons/a11y/src/a11yRunner.ts b/code/addons/a11y/src/a11yRunner.ts index 1f4fd7ddeab6..1d6bd8b2f148 100644 --- a/code/addons/a11y/src/a11yRunner.ts +++ b/code/addons/a11y/src/a11yRunner.ts @@ -36,7 +36,7 @@ const run = async (storyId: string) => { channel.emit(EVENTS.RUNNING); const axe = (await import('axe-core')).default; - const { element = '#root', config, options = {} } = input; + const { element = '#storybook-root', config, options = {} } = input; const htmlElement = document.querySelector(element); axe.reset(); if (config) { diff --git a/code/addons/a11y/src/components/ColorFilters.tsx b/code/addons/a11y/src/components/ColorFilters.tsx index 04c34088b7fd..24c82e9f95cb 100644 --- a/code/addons/a11y/src/components/ColorFilters.tsx +++ b/code/addons/a11y/src/components/ColorFilters.tsx @@ -52,13 +52,6 @@ export const Filters: React.FC> = (props) => ( values="0.299, 0.587, 0.114, 0, 0 0.299, 0.587, 0.114, 0, 0 0.299, 0.587, 0.114, 0, 0 0, 0, 0, 1, 0" /> - - - ); diff --git a/code/addons/a11y/src/components/Report/HighlightToggle.test.tsx b/code/addons/a11y/src/components/Report/HighlightToggle.test.tsx index cbfc33297db8..e488c33bc1b4 100644 --- a/code/addons/a11y/src/components/Report/HighlightToggle.test.tsx +++ b/code/addons/a11y/src/components/Report/HighlightToggle.test.tsx @@ -28,7 +28,9 @@ const defaultProviderValue = { describe('', () => { it('should render', () => { - const { container } = render(); + const { container } = render( + + ); expect(container.firstChild).toBeTruthy(); }); @@ -37,10 +39,10 @@ describe('', () => { - + ); const checkbox = getByRole('checkbox') as HTMLInputElement; @@ -52,10 +54,12 @@ describe('', () => { - + ); const checkbox = getByRole('checkbox') as HTMLInputElement; @@ -64,10 +68,10 @@ describe('', () => { describe('toggleHighlight', () => { it.each` - highlighted | elementsToHighlight | expected - ${[]} | ${['#root']} | ${true} - ${['#root']} | ${['#root']} | ${false} - ${['#root']} | ${['#root', '#root1']} | ${true} + highlighted | elementsToHighlight | expected + ${[]} | ${['#storybook-root']} | ${true} + ${['#storybook-root']} | ${['#storybook-root']} | ${false} + ${['#storybook-root']} | ${['#storybook-root', '#storybook-root1']} | ${true} `( 'should be triggered with $expected when highlighted is $highlighted and elementsToHighlight is $elementsToHighlight', ({ highlighted, elementsToHighlight, expected }) => { diff --git a/code/addons/a11y/src/components/Report/Item.tsx b/code/addons/a11y/src/components/Report/Item.tsx index 3861e9465409..48ae0ec3ded4 100644 --- a/code/addons/a11y/src/components/Report/Item.tsx +++ b/code/addons/a11y/src/components/Report/Item.tsx @@ -75,7 +75,7 @@ export const Item = (props: ItemProps) => { onToggle(!open)} role="button"> ( - + )); interface ActionLoggerProps { diff --git a/code/addons/actions/src/preview/action.ts b/code/addons/actions/src/preview/action.ts index 05c1f7bb5897..b0c874e41cbd 100644 --- a/code/addons/actions/src/preview/action.ts +++ b/code/addons/actions/src/preview/action.ts @@ -20,7 +20,7 @@ const isReactSyntheticEvent = (e: unknown): e is SyntheticEvent => const serializeArg = (a: T) => { if (isReactSyntheticEvent(a)) { const e: SyntheticEvent = Object.create( - // @ts-ignore + // @ts-expect-error (Converted from ts-ignore) a.constructor.prototype, Object.getOwnPropertyDescriptors(a) ); diff --git a/code/addons/actions/src/preview/withActions.ts b/code/addons/actions/src/preview/withActions.ts index c6e2c265a911..5aa7b60a3f28 100644 --- a/code/addons/actions/src/preview/withActions.ts +++ b/code/addons/actions/src/preview/withActions.ts @@ -43,7 +43,7 @@ const createHandlers = (actionsFn: (...arg: any[]) => object, ...handles: any[]) const applyEventHandlers = deprecate( (actionsFn: any, ...handles: any[]) => { - const root = document && document.getElementById('root'); + const root = document && document.getElementById('storybook-root'); useEffect(() => { if (root != null) { const handlers = createHandlers(actionsFn, ...handles); diff --git a/code/addons/actions/src/typings.d.ts b/code/addons/actions/src/typings.d.ts index 7361d8d2103a..74f6623d4787 100644 --- a/code/addons/actions/src/typings.d.ts +++ b/code/addons/actions/src/typings.d.ts @@ -1,4 +1,3 @@ // TODO: following packages need definition files or a TS migration declare module 'global'; -declare module 'react-inspector'; declare module 'uuid-browser/v4'; diff --git a/code/addons/actions/template/stories/argtype.stories.ts b/code/addons/actions/template/stories/argtype.stories.ts new file mode 100644 index 000000000000..bc1311bafdfe --- /dev/null +++ b/code/addons/actions/template/stories/argtype.stories.ts @@ -0,0 +1,26 @@ +import globalThis from 'global'; + +export default { + component: globalThis.Components.Button, + args: { + children: 'Click Me!', + }, + argTypes: { + onClick: {}, + }, + parameters: { + chromatic: { disable: true }, + actions: { argTypesRegex: '^on.*' }, + }, +}; + +export const String = { + argTypes: { + onClick: { action: 'clicked!' }, + }, +}; +export const Boolean = { + argTypes: { + onClick: { action: true }, + }, +}; diff --git a/code/addons/actions/template/stories/basics.stories.ts b/code/addons/actions/template/stories/basics.stories.ts new file mode 100644 index 000000000000..08e2fa743072 --- /dev/null +++ b/code/addons/actions/template/stories/basics.stories.ts @@ -0,0 +1,99 @@ +import globalThis from 'global'; + +import { action } from '@storybook/addon-actions'; + +export default { + component: globalThis.Components.Button, + args: { + children: 'Click Me!', + }, + parameters: { + chromatic: { disable: true }, + }, +}; + +export const Basic = { + args: { onClick: action('onClick') }, +}; + +export const TypeString = { + args: { onClick: () => action('onClick')('string') }, +}; +export const TypeBoolean = { + args: { onClick: () => action('onClick')(false) }, +}; +export const TypeObject = { + args: { onClick: () => action('onClick')({}) }, +}; +export const TypeNull = { + args: { onClick: () => action('onClick')(null) }, +}; +export const TypeUndefined = { + args: { onClick: () => action('onClick')(undefined) }, +}; +export const TypeNaN = { + args: { onClick: () => action('onClick')(NaN) }, +}; +export const TypeInfinity = { + args: { onClick: () => action('onClick')(Infinity) }, +}; +export const TypeMinusInfinity = { + args: { onClick: () => action('onClick')(-Infinity) }, +}; +export const TypeNumber = { + args: { onClick: () => action('onClick')(10000) }, +}; +export const TypeGlobal = { + args: { onClick: () => action('onClick')(globalThis) }, +}; +export const TypeSymbol = { + args: { onClick: () => action('onClick')(Symbol('MySymbol')) }, +}; +export const TypeRegExp = { + args: { onClick: () => action('onClick')(new RegExp('MyRegExp')) }, +}; +export const TypeArray = { + args: { onClick: () => action('onClick')(['a', 'b', 'c']) }, +}; +export const TypeClass = { + args: { onClick: () => action('onClick')(class MyClass {}) }, +}; +export const TypeFunction = { + args: { onClick: () => action('onClick')(function MyFunction() {}) }, +}; +export const TypeMultiple = { + args: { onClick: () => action('onClick')('string', true, false, null, undefined, [], {}) }, +}; + +export const Cyclical = { + args: { + onClick: () => + action('onClick')( + (() => { + const cyclical: Record = {}; + cyclical.cyclical = cyclical; + return cyclical; + })() + ), + }, +}; + +export const Reserved = { + args: { onClick: action('delete') }, +}; + +export const OptionPersist = { + args: { onClick: action('onClick', { clearOnStoryChange: false }) }, +}; +export const OptionDepth = { + args: { onClick: action('onClick', { depth: 2 }) }, +}; + +export const Disabled = { + args: { onClick: action('onCLick') }, + parameters: { + actions: { + disabled: true, + }, + }, +}; diff --git a/code/addons/actions/template/stories/basics.stories.tsx b/code/addons/actions/template/stories/basics.stories.tsx deleted file mode 100644 index 98cd1ee4952a..000000000000 --- a/code/addons/actions/template/stories/basics.stories.tsx +++ /dev/null @@ -1,14 +0,0 @@ -import globalThis from 'global'; - -import { action } from '@storybook/addon-actions'; - -export default { - component: globalThis.Components.Button, - args: { - children: 'Click Me!', - }, -}; - -export const BasicExample = { - args: { onClick: action('hello-world') }, -}; diff --git a/code/addons/actions/template/stories/configs.stories.ts b/code/addons/actions/template/stories/configs.stories.ts new file mode 100644 index 000000000000..b9ae404d4d34 --- /dev/null +++ b/code/addons/actions/template/stories/configs.stories.ts @@ -0,0 +1,36 @@ +import globalThis from 'global'; + +import { actions, configureActions } from '@storybook/addon-actions'; + +const configs = actions('actionA', 'actionB', 'actionC'); + +export default { + component: globalThis.Components.Button, + args: { + children: 'Click Me!', + }, + parameters: { + chromatic: { disable: true }, + }, +}; + +export const ActionA = { + args: { onClick: configs.actionA }, +}; +export const ActionB = { + args: { onClick: configs.actionB }, +}; +export const ActionC = { + args: { onClick: configs.actionC }, +}; + +export const ConfigureActions = { + args: { onClick: configs.actionA }, + decorators: [ + (storyFn: any) => { + configureActions({ depth: 2 }); + + return storyFn(); + }, + ], +}; diff --git a/code/addons/actions/template/stories/parameters.stories.ts b/code/addons/actions/template/stories/parameters.stories.ts new file mode 100644 index 000000000000..8ec8cb371865 --- /dev/null +++ b/code/addons/actions/template/stories/parameters.stories.ts @@ -0,0 +1,17 @@ +import globalThis from 'global'; + +export default { + component: globalThis.Components.Button, + args: { + children: 'Click Me!', + }, + parameters: { + chromatic: { disable: true }, + }, +}; + +export const Basic = { + parameters: { + handles: [{ click: 'clicked', contextmenu: 'right clicked' }], + }, +}; diff --git a/code/addons/backgrounds/package.json b/code/addons/backgrounds/package.json index e13d89a8143c..1e1617b66c4a 100644 --- a/code/addons/backgrounds/package.json +++ b/code/addons/backgrounds/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-backgrounds", - "version": "7.0.0-alpha.20", + "version": "7.0.0-alpha.31", "description": "Switch backgrounds to view components in different settings", "keywords": [ "addon", @@ -41,7 +41,7 @@ "import": "./dist/preview.mjs", "types": "./dist/preview.d.ts" }, - "./register.js": { + "./register": { "require": "./dist/manager.js", "import": "./dist/manager.mjs", "types": "./dist/manager.d.ts" @@ -59,17 +59,16 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/addons": "7.0.0-alpha.20", - "@storybook/api": "7.0.0-alpha.20", - "@storybook/client-logger": "7.0.0-alpha.20", - "@storybook/components": "7.0.0-alpha.20", - "@storybook/core-events": "7.0.0-alpha.20", + "@storybook/addons": "7.0.0-alpha.31", + "@storybook/api": "7.0.0-alpha.31", + "@storybook/client-logger": "7.0.0-alpha.31", + "@storybook/components": "7.0.0-alpha.31", + "@storybook/core-events": "7.0.0-alpha.31", "@storybook/csf": "0.0.2--canary.0899bb7.0", - "@storybook/theming": "7.0.0-alpha.20", - "core-js": "^3.8.2", + "@storybook/theming": "7.0.0-alpha.31", "global": "^4.4.0", "memoizerific": "^1.11.3", "ts-dedent": "^2.0.0", @@ -100,7 +99,7 @@ "./src/preview.tsx" ] }, - "gitHead": "a6c00d2ebed21da54b4772b4a4f7fed9258f0ab4", + "gitHead": "02c013c33186479017098d532a18ff8654b91f1f", "storybook": { "displayName": "Backgrounds", "icon": "https://user-images.githubusercontent.com/263385/101991667-479cc600-3c7c-11eb-96d3-410e936252e7.png", diff --git a/code/addons/backgrounds/template/stories/grid.stories.ts b/code/addons/backgrounds/template/stories/grid.stories.ts new file mode 100644 index 000000000000..f69be73bbfd7 --- /dev/null +++ b/code/addons/backgrounds/template/stories/grid.stories.ts @@ -0,0 +1,51 @@ +import globalThis from 'global'; + +export default { + component: globalThis.Components.Button, + args: { + children: 'Click Me!', + }, + parameters: { + backgrounds: { + grid: { + cellSize: 10, + cellAmount: 4, + opacity: 0.2, + }, + }, + chromatic: { disable: true }, + }, +}; + +export const Basic = { + parameters: {}, +}; + +export const Custom = { + parameters: { + backgrounds: { + grid: { + cellSize: 100, + cellAmount: 10, + opacity: 0.8, + }, + }, + }, +}; + +// Grid should have an offset of 0 when in fullscreen +export const Fullscreen = { + parameters: { + layout: 'fullscreen', + }, +}; + +export const Disabled = { + parameters: { + backgrounds: { + grid: { + disable: true, + }, + }, + }, +}; diff --git a/code/addons/backgrounds/template/stories/parameters.stories.ts b/code/addons/backgrounds/template/stories/parameters.stories.ts new file mode 100644 index 000000000000..5cf910225003 --- /dev/null +++ b/code/addons/backgrounds/template/stories/parameters.stories.ts @@ -0,0 +1,83 @@ +import globalThis from 'global'; + +const COLORS = [ + { name: 'red', value: '#FB001D' }, + { name: 'orange', value: '#FB8118' }, + { name: 'yellow', value: '#FCFF0C' }, + { name: 'green', value: '#1AB408' }, + { name: 'blue', value: '#0F0084' }, + { name: 'purple', value: '#620073' }, +]; + +export default { + component: globalThis.Components.Button, + args: { + children: 'Click Me!', + }, + parameters: { + backgrounds: { + values: COLORS, + }, + chromatic: { disable: true }, + }, +}; + +export const Basic = { + parameters: {}, +}; + +export const Default = { + parameters: { + backgrounds: { + default: COLORS[0].name, + }, + }, +}; + +export const StorySpecific = { + parameters: { + backgrounds: { + default: 'white', + values: [ + { name: 'white', value: '#F9F5F1' }, + { name: 'pink', value: '#F99CB4' }, + { name: 'teal', value: '#67CDE8' }, + { name: 'brown', value: '#4D2C10' }, + { name: 'black', value: '#000400' }, + ], + }, + }, +}; + +export const Gradient = { + backgrounds: { + default: 'gradient', + values: [ + { + name: 'gradient', + value: 'linear-gradient(90deg, #CA005E 0%, #863783 50%, #112396', + }, + ], + }, +}; + +const img = + 'PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgNTkwIDQ3NSIgZmlsbD0ibm9uZSI+CiAgPGcgaWQ9ImNvbXBvbmVudC1jb21wb3NpdGlvbiI+CiAgICA8bWFzayBpZD0iY29tcG9uZW50cyIgd2lkdGg9IjcxMSIgaGVpZ2h0PSI2NjciIHg9Ii01MiIgeT0iLTg2IiBtYXNrVW5pdHM9InVzZXJTcGFjZU9uVXNlIj4KICAgICAgPHBhdGggZmlsbD0iI2ZmZiIgZD0iTTY1OC4wMiAxODEuNDAzbC00NC4zMTItLjAwMS0uMDAxIDEzMi4xODVoNDQuMzEzdjQ1LjA2NmgtNDQuMzEybC0uMDAxIDEzMi45MzktODguNjI1LS4wMDEtLjAwMSA4OC42MjZoLTQ1LjA2NnYtNDQuMzEybC00NC4zMTItLjAwMXYtNDQuMzEzaC04Ny44NzJsLS4wMDEgNDQuMzEzLTQ0LjMxMi4wMDF2NDQuMzEyaC00NS4wNjZ2LTQ0LjMxM2gtNDQuMzEzdi00NC4zMTJsLTQzLjU1OC0uMDAxLS4wMDIgNDQuMzEzaC00NS4wNjZsLjAwMS00NC4zMTMtNDMuNTYuMDAxdjQ0LjMxMkgzNi44ODh2LTQ0LjMxM2wtNDMuNTYuMDAxdjg4LjYyNWgtNDUuMDY2VjM1Ny45aDQ0LjMxNHYtNDMuNTU5aC00NC4zMTN2LTQ1LjA2Nmg0NC4zMTNWMTM3LjA5aC00NC4zMTNWOTIuMDI0bDQ0LjMxMy0uMDAxVjQuMTUyaC00NC4zMTN2LTQ1LjA2NkgzNy42NFYzLjM5OEgyMTQuMTRsLS4wMDEtNDQuMzEyaDQ1LjA2NlYzLjM5OGgyMjAuODExbC0uMDAxLTg4LjYyNWg0NS4wNjZsLjAwMSA0NC4zMTNoNDQuMzEybC4wMDEgNDQuMzEyaDQ0LjMxMmwuMDAxIDg4LjYyNWg0NC4zMTJ2ODkuMzh6TTM2Ljg4OCAzNTcuOVYyMjUuNzE2aC00My41NnY0NC4zMTJoLTQ0LjMxMnY0My41Nmw0NC4zMTMtLjAwMVYzNTcuOWg0My41NnptMCA4OC42MjV2LTg3Ljg3MmgtODcuODcydjg3Ljg3Mmg4Ny44NzJ6bTAtMjIxLjU2M1Y5Mi43NzdoLTg3Ljg3MnY0My41Nmw0NC4zMTMtLjAwMXY4OC42MjZoNDMuNTU5ek04MS4yIDQ3LjcxMVY0LjE1SDM2Ljg4OFYtNDAuMTZoLTg3Ljg3MnY0My41Nmg0NC4zMTNWNDcuNzFIODEuMnpNMzYuODg4IDQ5MC44Mzl2LTQzLjU2aC04Ny44NzJ2MTMyLjE4NWg0My41NnYtODguNjI2bDQ0LjMxMi4wMDF6bTg4LjYyNi0zOTguMDYySDgxLjIwMVY0OC40NjRILTYuNjcxdjQzLjU2SDM3LjY0djQ0LjMxMmg4Ny44NzN2LTQzLjU2em0tLjAwMSAxMzIuMTg1di00My41NmwtNDQuMzEyLjAwMVYxMzcuMDlIMzcuNjR2MTMyLjE4NGg0My41NnYtNDQuMzEyaDQ0LjMxMnptMCAyNjUuODc2di00My41NTlIODEuMjAxdi00NC4zMTNIMzcuNjR2MTMyLjE4NWg0My41NnYtNDQuMzEzaDQ0LjMxMnptLjAwMS0xNzcuMjUxdi00My41NTlIMzcuNjQydjEzMi4xODVIODEuMnYtODguNjI2aDQ0LjMxM3ptODguNjI1LTEzMi45MzhsLjAwMS00My41NTlIODEuOTU1bC0uMDAxIDQzLjU1OWg0NC4zMTN2NDQuMzEzaDQzLjU1OXYtNDQuMzEzaDQ0LjMxM3ptMC04OC42MjVWNC4xNTJIODEuOTU0djQzLjU2bDg4LjYyNS0uMDAxLjAwMSA0NC4zMTJoNDMuNTU5em0wIDE3Ny4yNXYtNDMuNTU5SDgxLjk1NHY0My41NTlIMjE0LjE0em0wLTEzMi45Mzh2LTQzLjU2bC00NC4zMTMuMDAxVjQ4LjQ2NEg4MS45NTR2NDMuNTZoNDQuMzEzdjQ0LjMxMmg4Ny44NzJ6bS00NC4zMTMgMjY1Ljg3N3YtNDMuNTZoLTQ0LjMxM2wuMDAxLTQ0LjMxMmgtNDMuNTZ2MTMyLjE4NGw0My41NTkuMDAxdi00NC4zMTNoNDQuMzEzem00NC4zMTMtNDQuMzEzdi04Ny44NzJoLTg3Ljg3MlYzNTcuOWg4Ny44NzJ6bTAgODguNjI2di00My41NmgtODcuODcydjEzMi4xODVoNDMuNTU5di04OC42MjVoNDQuMzEzem04OC42MjYtMjY1Ljg3N2wtLjAwMS00My41NTloLTg3Ljg3MnY0NC4zMTNIMTcwLjU4djQzLjU1OWg4Ny44NzJ2LTQ0LjMxM2g0NC4zMTN6bTAgMzEwLjE4OXYtNDMuNTU5SDE3MC41OHY0My41NTloNDQuMzEybC4wMDEgNDQuMzEzaDQzLjU1OXYtNDQuMzEzaDQ0LjMxM3ptMC04Ny44NzJoLTQ0LjMxM3YtNDQuMzEzSDE3MC41OHY0My41Nmg0NC4zMTJsLjAwMSA0NC4zMTJoODcuODcydi00My41NTl6bTQ0LjMxMi0yMjIuMzE3bC4wMDEtODcuODcySDIxNC44OTJ2NDMuNTZsODguNjI2LS4wMDEuMDAxIDQ0LjMxM2g0My41NTh6TTMwMi43NjQgNDcuNzExVjQuMTVoLTQ0LjMxMmwtLjAwMS00NC4zMTJoLTQzLjU1OVY5Mi4wMjRsNDMuNTYtLjAwMVY0Ny43MWg0NC4zMTJ6bS00NC4zMTMgMjIxLjU2NGwuMDAxLTQzLjU2aC00My41NTl2NDMuNTU5bDQzLjU1OC4wMDF6bTg4LjYyNyA4OC42MjVsLS4wMDEtNDMuNTU5SDIxNC44OTNWMzU3LjloMTMyLjE4NXptLTg3Ljg3My04Ny44NzJoLTQ0LjMxM3Y0My41NTloODcuODcyVjE4MS40MDJsLTQzLjU1OS4wMDF2ODguNjI1ek0zOTEuMzkgNDcuNzExVjQuMTUxaC04Ny44NzJ2NDQuMzEzaC00NC4zMTN2NDMuNTZoODcuODcyVjQ3LjcxaDQ0LjMxM3ptLTg4LjYyNSAzNTQuNTAydi00My41NmgtNDMuNTZ2NDMuNTZoNDMuNTZ6bTQ0LjMxMiAxMzIuOTM4di04Ny44NzJoLTQzLjU1OXY0NC4zMTNoLTQ0LjMxM3Y4Ny44NzJoNDMuNTZsLS4wMDEtNDQuMzEzaDQ0LjMxM3ptNDQuMzEyLTEzMi45MzhsLjAwMS00My41NmgtODcuODcydjg3Ljg3Mmg0My41NTl2LTQ0LjMxMmg0NC4zMTJ6bTAtNDQuMzEzdi04Ny44NzJoLTQ0LjMxMnYtNDQuMzEzaC00My41NTh2ODcuODcyaDQ0LjMxMVYzNTcuOWg0My41NTl6bTQ0LjMxNC0xMzIuOTM4di00My41NkgzMDMuNTE4djQzLjU2aDQ0LjMxMmwuMDAxIDQ0LjMxMmg0My41NTl2LTQ0LjMxMmg0NC4zMTN6bTAgMjIxLjU2M1YzMTQuMzQxaC00My41NTlsLS4wMDEgODguNjI1aC00NC4zMTJsLS4wMDEgNDMuNTU5aDg3Ljg3M3ptNDQuMzEyIDQ0LjMxM3YtODcuODcyaC00My41NTl2NDQuMzEzSDM0Ny44M3Y0My41NTloMTMyLjE4NXptMC0zMTAuMTg5VjEzNy4wOUgzOTEuMzlWOTIuNzc3aC00My41NTl2ODcuODcyaDEzMi4xODR6bTAtODguNjI2VjQ4LjQ2NEgzNDcuODMxdjQzLjU2aDQ0LjMxMnY0NC4zMTJoNDMuNTZWOTIuMDI0aDQ0LjMxMnptLjAwMSAxNzcuMjUxbC0uMDAxLTg3Ljg3MWgtNDMuNTU5djQ0LjMxMmgtNDQuMzEydjg3Ljg3M2w0My41NTktLjAwMXYtNDQuMzEybDQ0LjMxMy0uMDAxem00NC4zMTItMTc3LjI1VjQuMTUySDM5Mi4xNDN2NDMuNTZsODguNjI2LS4wMDF2NDQuMzEzaDQzLjU1OXptNDQuMzEzIDg4LjYyNWwuMDAxLTQzLjU1OWgtNDQuMzE0VjkyLjc3N2gtODcuODcydjQzLjU1OWg0NC4zMTN2NDQuMzEzaDg3Ljg3MnpNNTI0LjMyOCAzNTcuOWwuMDAxLTQzLjU1OWgtNDQuMzE0bC4wMDEtNDQuMzEzaC00My41NmwuMDAxIDEzMi4xODQgNDMuNTU4LjAwMVYzNTcuOWg0NC4zMTN6bTAgMjIxLjU2NFY0NDcuMjc5aC00My41NTl2NDQuMzEzaC00NC4zMTN2NDMuNTU5aDQ0LjMxM3Y0NC4zMTNoNDMuNTU5em00NC4zMTMtODguNjI2di04Ny44NzJoLTQ0LjMxM3YtNDQuMzEybC00My41Ni0uMDAxLjAwMiA4Ny44NzIgNDQuMzExLjAwMXY0NC4zMTJoNDMuNTZ6bTAtNDQzLjEyN3YtODcuODcyaC00NC4zMTN2LTQ0LjMxM2gtNDMuNTU5VjMuMzk4aDQ0LjMxMmwuMDAxIDQ0LjMxM2g0My41NTl6bTAgMTc3LjI1MXYtNDMuNTU5aC04Ny44NzJ2MTMyLjE4NGg0My41NTl2LTg4LjYyNWg0NC4zMTN6bTQ0LjMxMy0xMzIuOTM4VjQuMTUyaC00My41NnY0NC4zMTJoLTQ0LjMxM3Y4Ny44NzJoNDMuNTZWOTIuMDI0aDQ0LjMxM3ptLS4wMDEgMzk4LjgxNFYzNTguNjU0aC04Ny44NzJ2NDMuNTU5aDQ0LjMxM3Y4OC42MjVoNDMuNTU5em0wLTIyMS41NjN2LTg3Ljg3MmgtNDMuNTU5djQ0LjMxMmwtNDQuMzEyLjAwMXY4Ny44NzFoNDMuNTU5di00NC4zMTJoNDQuMzEyem00NC4zMTMgODguNjI1di00My41NTloLTQ0LjMxM3YtNDQuMzEzaC00My41NTl2NDQuMzEzaC00NC4zMTJWMzU3LjloMTMyLjE4NHptMC0xNzcuMjUxVjkyLjc3N2gtODcuODcydjg3Ljg3Mmg4Ny44NzJ6Ij4KICAgICAgPC9wYXRoPgogICAgPC9tYXNrPgogICAgPGcgbWFzaz0idXJsKCNjb21wb25lbnRzKSI+CiAgICAgIDxyZWN0IHdpZHRoPSI1OTAiIGhlaWdodD0iNDc1IiBmaWxsPSJ1cmwoI2dyYWRpZW50LWZpbGwpIiBvcGFjaXR5PSIwLjc1Ij4KICAgICAgPC9yZWN0PgogICAgPC9nPgogIDwvZz4KICA8ZGVmcz4KICAgIDxjbGlwUGF0aCBpZD0id2luZG93LWNsaXAiPgogICAgICA8cGF0aCBmaWxsPSIjZmZmIiBkPSJNMCAwSDU4OFY0NTNIMHoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEgMjEpIj4KICAgICAgPC9wYXRoPgogICAgPC9jbGlwUGF0aD4KICAgIDxsaW5lYXJHcmFkaWVudCBpZD0iZ3JhZGllbnQtZmlsbCIgeDE9Ijc2IiB4Mj0iNTUzLjUiIHkxPSIyNjkiIHkyPSI0MTUiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj4KICAgICAgPHN0b3Agc3RvcC1jb2xvcj0iI0EyNEZCRCI+CiAgICAgIDwvc3RvcD4KICAgICAgPHN0b3Agb2Zmc2V0PSIwLjQ3NyIgc3RvcC1jb2xvcj0iIzM2N0VENiI+CiAgICAgIDwvc3RvcD4KICAgICAgPHN0b3Agb2Zmc2V0PSIwLjk4MiIgc3RvcC1jb2xvcj0iI0UxMjY0RCI+CiAgICAgIDwvc3RvcD4KICAgIDwvbGluZWFyR3JhZGllbnQ+CiAgPC9kZWZzPgo8L3N2Zz4K'; + +export const Image = { + backgrounds: { + default: 'component-driven', + values: [ + { + name: 'component-driven', + value: `#000 center / cover no-repeat url(data:image/svg+xml;base64,${img})`, + }, + ], + }, +}; + +export const Disabled = { + parameters: { + backgrounds: { disable: true }, + }, +}; diff --git a/code/addons/controls/package.json b/code/addons/controls/package.json index bcf7db55fe70..df83911f1d18 100644 --- a/code/addons/controls/package.json +++ b/code/addons/controls/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-controls", - "version": "7.0.0-alpha.20", + "version": "7.0.0-alpha.31", "description": "Interact with component inputs dynamically in the Storybook UI", "keywords": [ "addon", @@ -36,7 +36,7 @@ "import": "./dist/manager.mjs", "types": "./dist/manager.d.ts" }, - "./register.js": { + "./register": { "require": "./dist/manager.js", "import": "./dist/manager.mjs", "types": "./dist/manager.d.ts" @@ -54,20 +54,19 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/addons": "7.0.0-alpha.20", - "@storybook/api": "7.0.0-alpha.20", - "@storybook/blocks": "7.0.0-alpha.20", - "@storybook/client-logger": "7.0.0-alpha.20", - "@storybook/components": "7.0.0-alpha.20", - "@storybook/core-common": "7.0.0-alpha.20", + "@storybook/addons": "7.0.0-alpha.31", + "@storybook/api": "7.0.0-alpha.31", + "@storybook/blocks": "7.0.0-alpha.31", + "@storybook/client-logger": "7.0.0-alpha.31", + "@storybook/components": "7.0.0-alpha.31", + "@storybook/core-common": "7.0.0-alpha.31", "@storybook/csf": "0.0.2--canary.0899bb7.0", - "@storybook/node-logger": "7.0.0-alpha.20", - "@storybook/store": "7.0.0-alpha.20", - "@storybook/theming": "7.0.0-alpha.20", - "core-js": "^3.8.2", + "@storybook/node-logger": "7.0.0-alpha.31", + "@storybook/store": "7.0.0-alpha.31", + "@storybook/theming": "7.0.0-alpha.31", "lodash": "^4.17.21", "ts-dedent": "^2.0.0" }, @@ -93,7 +92,7 @@ ], "platform": "browser" }, - "gitHead": "a6c00d2ebed21da54b4772b4a4f7fed9258f0ab4", + "gitHead": "02c013c33186479017098d532a18ff8654b91f1f", "storybook": { "displayName": "Controls", "icon": "https://user-images.githubusercontent.com/263385/101991669-479cc600-3c7c-11eb-93d9-38b67e8371f2.png", diff --git a/code/addons/docs/angular/index.js b/code/addons/docs/angular/index.js index 3fd4c7ea527c..0236c45fec3a 100644 --- a/code/addons/docs/angular/index.js +++ b/code/addons/docs/angular/index.js @@ -2,6 +2,6 @@ /* global window */ export const setCompodocJson = (compodocJson) => { - // @ts-ignore + // @ts-expect-error (Converted from ts-ignore) window.__STORYBOOK_COMPODOC_JSON__ = compodocJson; }; diff --git a/code/addons/docs/package.json b/code/addons/docs/package.json index 86b83245b888..bd761d121c5d 100644 --- a/code/addons/docs/package.json +++ b/code/addons/docs/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-docs", - "version": "7.0.0-alpha.20", + "version": "7.0.0-alpha.31", "description": "Document component usage and properties in Markdown", "keywords": [ "addon", @@ -46,31 +46,30 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../../scripts/prepare.js" + "prep": "node ../../../scripts/prepare.js" }, "dependencies": { "@babel/plugin-transform-react-jsx": "^7.12.12", "@babel/preset-env": "^7.12.11", "@jest/transform": "^26.6.2", "@mdx-js/react": "^1.6.22", - "@storybook/addons": "7.0.0-alpha.20", - "@storybook/api": "7.0.0-alpha.20", - "@storybook/blocks": "7.0.0-alpha.20", - "@storybook/components": "7.0.0-alpha.20", - "@storybook/core-common": "7.0.0-alpha.20", - "@storybook/core-events": "7.0.0-alpha.20", + "@storybook/addons": "7.0.0-alpha.31", + "@storybook/api": "7.0.0-alpha.31", + "@storybook/blocks": "7.0.0-alpha.31", + "@storybook/components": "7.0.0-alpha.31", + "@storybook/core-common": "7.0.0-alpha.31", + "@storybook/core-events": "7.0.0-alpha.31", "@storybook/csf": "0.0.2--canary.0899bb7.0", - "@storybook/csf-tools": "7.0.0-alpha.20", - "@storybook/docs-tools": "7.0.0-alpha.20", + "@storybook/csf-tools": "7.0.0-alpha.31", + "@storybook/docs-tools": "7.0.0-alpha.31", "@storybook/mdx1-csf": "0.0.5-canary.13.9ce928a.0", - "@storybook/node-logger": "7.0.0-alpha.20", - "@storybook/postinstall": "7.0.0-alpha.20", - "@storybook/preview-web": "7.0.0-alpha.20", - "@storybook/source-loader": "7.0.0-alpha.20", - "@storybook/store": "7.0.0-alpha.20", - "@storybook/theming": "7.0.0-alpha.20", + "@storybook/node-logger": "7.0.0-alpha.31", + "@storybook/postinstall": "7.0.0-alpha.31", + "@storybook/preview-web": "7.0.0-alpha.31", + "@storybook/source-loader": "7.0.0-alpha.31", + "@storybook/store": "7.0.0-alpha.31", + "@storybook/theming": "7.0.0-alpha.31", "babel-loader": "^8.2.5", - "core-js": "^3.8.2", "dequal": "^2.0.2", "global": "^4.4.0", "lodash": "^4.17.21", @@ -104,7 +103,7 @@ "publishConfig": { "access": "public" }, - "gitHead": "a6c00d2ebed21da54b4772b4a4f7fed9258f0ab4", + "gitHead": "02c013c33186479017098d532a18ff8654b91f1f", "storybook": { "displayName": "Docs", "icon": "https://user-images.githubusercontent.com/263385/101991672-48355c80-3c7c-11eb-82d9-95fa12438f64.png", diff --git a/code/addons/docs/src/preset.ts b/code/addons/docs/src/preset.ts index 7a7ae8b2d971..9516671597cb 100644 --- a/code/addons/docs/src/preset.ts +++ b/code/addons/docs/src/preset.ts @@ -145,7 +145,7 @@ export async function webpack( export const storyIndexers = async (indexers: StoryIndexer[] | null) => { const mdxIndexer = async (fileName: string, opts: IndexerOptions) => { let code = (await fs.readFile(fileName, 'utf-8')).toString(); - // @ts-ignore + // @ts-expect-error (Converted from ts-ignore) const { compile } = global.FEATURES?.previewMdx2 ? await import('@storybook/mdx2-csf') : await import('@storybook/mdx1-csf'); diff --git a/code/addons/essentials/package.json b/code/addons/essentials/package.json index 35b341f11068..7fc695f34ddd 100644 --- a/code/addons/essentials/package.json +++ b/code/addons/essentials/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-essentials", - "version": "7.0.0-alpha.20", + "version": "7.0.0-alpha.31", "description": "Curated addons to bring out the best of Storybook", "keywords": [ "addon", @@ -30,28 +30,27 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../../scripts/prepare.js" + "prep": "node ../../../scripts/prepare.js" }, "dependencies": { - "@storybook/addon-actions": "7.0.0-alpha.20", - "@storybook/addon-backgrounds": "7.0.0-alpha.20", - "@storybook/addon-controls": "7.0.0-alpha.20", - "@storybook/addon-docs": "7.0.0-alpha.20", - "@storybook/addon-highlight": "7.0.0-alpha.20", - "@storybook/addon-measure": "7.0.0-alpha.20", - "@storybook/addon-outline": "7.0.0-alpha.20", - "@storybook/addon-toolbars": "7.0.0-alpha.20", - "@storybook/addon-viewport": "7.0.0-alpha.20", - "@storybook/addons": "7.0.0-alpha.20", - "@storybook/api": "7.0.0-alpha.20", - "@storybook/core-common": "7.0.0-alpha.20", - "@storybook/node-logger": "7.0.0-alpha.20", - "core-js": "^3.8.2", + "@storybook/addon-actions": "7.0.0-alpha.31", + "@storybook/addon-backgrounds": "7.0.0-alpha.31", + "@storybook/addon-controls": "7.0.0-alpha.31", + "@storybook/addon-docs": "7.0.0-alpha.31", + "@storybook/addon-highlight": "7.0.0-alpha.31", + "@storybook/addon-measure": "7.0.0-alpha.31", + "@storybook/addon-outline": "7.0.0-alpha.31", + "@storybook/addon-toolbars": "7.0.0-alpha.31", + "@storybook/addon-viewport": "7.0.0-alpha.31", + "@storybook/addons": "7.0.0-alpha.31", + "@storybook/api": "7.0.0-alpha.31", + "@storybook/core-common": "7.0.0-alpha.31", + "@storybook/node-logger": "7.0.0-alpha.31", "ts-dedent": "^2.0.0" }, "devDependencies": { "@babel/core": "^7.12.10", - "@storybook/vue": "7.0.0-alpha.20", + "@storybook/vue": "7.0.0-alpha.31", "@types/jest": "^26.0.16", "typescript": "~4.6.3" }, @@ -99,5 +98,5 @@ "publishConfig": { "access": "public" }, - "gitHead": "a6c00d2ebed21da54b4772b4a4f7fed9258f0ab4" + "gitHead": "02c013c33186479017098d532a18ff8654b91f1f" } diff --git a/code/addons/highlight/package.json b/code/addons/highlight/package.json index 380044aa37ca..d0df2b389a6f 100644 --- a/code/addons/highlight/package.json +++ b/code/addons/highlight/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-highlight", - "version": "7.0.0-alpha.20", + "version": "7.0.0-alpha.31", "description": "Highlight DOM nodes within your stories", "keywords": [ "storybook-addons", @@ -34,12 +34,11 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../../scripts/prepare.js" + "prep": "node ../../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "7.0.0-alpha.20", - "@storybook/core-events": "7.0.0-alpha.20", - "core-js": "^3.8.2", + "@storybook/addons": "7.0.0-alpha.31", + "@storybook/core-events": "7.0.0-alpha.31", "global": "^4.4.0" }, "devDependencies": { @@ -49,7 +48,7 @@ "publishConfig": { "access": "public" }, - "gitHead": "a6c00d2ebed21da54b4772b4a4f7fed9258f0ab4", + "gitHead": "02c013c33186479017098d532a18ff8654b91f1f", "sbmodern": "dist/modern/index.js", "storybook": { "displayName": "Highlight", diff --git a/code/addons/interactions/package.json b/code/addons/interactions/package.json index 5d51c7e2ba27..1f2148df8cff 100644 --- a/code/addons/interactions/package.json +++ b/code/addons/interactions/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-interactions", - "version": "7.0.0-alpha.20", + "version": "7.0.0-alpha.31", "description": "Automate, test and debug user interactions", "keywords": [ "storybook-addons", @@ -32,19 +32,19 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../../scripts/prepare.js" + "prep": "node ../../../scripts/prepare.js" }, "dependencies": { "@devtools-ds/object-inspector": "^1.1.2", - "@storybook/addons": "7.0.0-alpha.20", - "@storybook/api": "7.0.0-alpha.20", - "@storybook/client-logger": "7.0.0-alpha.20", - "@storybook/components": "7.0.0-alpha.20", - "@storybook/core-common": "7.0.0-alpha.20", - "@storybook/core-events": "7.0.0-alpha.20", + "@storybook/addons": "7.0.0-alpha.31", + "@storybook/api": "7.0.0-alpha.31", + "@storybook/client-logger": "7.0.0-alpha.31", + "@storybook/components": "7.0.0-alpha.31", + "@storybook/core-common": "7.0.0-alpha.31", + "@storybook/core-events": "7.0.0-alpha.31", "@storybook/csf": "0.0.2--canary.0899bb7.0", - "@storybook/instrumenter": "7.0.0-alpha.20", - "@storybook/theming": "7.0.0-alpha.20", + "@storybook/instrumenter": "7.0.0-alpha.31", + "@storybook/theming": "7.0.0-alpha.31", "core-js": "^3.8.2", "global": "^4.4.0", "jest-mock": "^27.0.6", @@ -72,7 +72,7 @@ "publishConfig": { "access": "public" }, - "gitHead": "a6c00d2ebed21da54b4772b4a4f7fed9258f0ab4", + "gitHead": "02c013c33186479017098d532a18ff8654b91f1f", "storybook": { "displayName": "Interactions", "unsupportedFrameworks": [ diff --git a/code/addons/interactions/src/Panel.test.ts b/code/addons/interactions/src/Panel.test.ts index 4e2903fd234e..06a1e7278120 100644 --- a/code/addons/interactions/src/Panel.test.ts +++ b/code/addons/interactions/src/Panel.test.ts @@ -7,19 +7,22 @@ describe('Panel', () => { { callId: 'story--id [4] findByText', status: CallStates.DONE, + ancestors: [], }, { callId: 'story--id [5] click', status: CallStates.DONE, + ancestors: [], }, { callId: 'story--id [6] waitFor', status: CallStates.DONE, + ancestors: [], }, { callId: 'story--id [6] waitFor [2] toHaveBeenCalledWith', - parentId: 'story--id [6] waitFor', status: CallStates.DONE, + ancestors: ['story--id [6] waitFor'], }, ]; const calls = new Map( @@ -27,6 +30,7 @@ describe('Panel', () => { { id: 'story--id [0] action', storyId: 'story--id', + ancestors: [], cursor: 0, path: [], method: 'action', @@ -37,6 +41,7 @@ describe('Panel', () => { { id: 'story--id [1] action', storyId: 'story--id', + ancestors: [], cursor: 1, path: [], method: 'action', @@ -47,6 +52,7 @@ describe('Panel', () => { { id: 'story--id [2] action', storyId: 'story--id', + ancestors: [], cursor: 2, path: [], method: 'action', @@ -57,6 +63,7 @@ describe('Panel', () => { { id: 'story--id [3] within', storyId: 'story--id', + ancestors: [], cursor: 3, path: [], method: 'within', @@ -67,6 +74,7 @@ describe('Panel', () => { { id: 'story--id [4] findByText', storyId: 'story--id', + ancestors: [], cursor: 4, path: [{ __callId__: 'story--id [3] within' }], method: 'findByText', @@ -77,6 +85,7 @@ describe('Panel', () => { { id: 'story--id [5] click', storyId: 'story--id', + ancestors: [], cursor: 5, path: ['userEvent'], method: 'click', @@ -86,8 +95,8 @@ describe('Panel', () => { }, { id: 'story--id [6] waitFor [0] expect', - parentId: 'story--id [6] waitFor', storyId: 'story--id', + ancestors: ['story--id [6] waitFor'], cursor: 0, path: [], method: 'expect', @@ -97,8 +106,8 @@ describe('Panel', () => { }, { id: 'story--id [6] waitFor [1] stringMatching', - parentId: 'story--id [6] waitFor', storyId: 'story--id', + ancestors: ['story--id [6] waitFor'], cursor: 1, path: ['expect'], method: 'stringMatching', @@ -108,8 +117,8 @@ describe('Panel', () => { }, { id: 'story--id [6] waitFor [2] toHaveBeenCalledWith', - parentId: 'story--id [6] waitFor', storyId: 'story--id', + ancestors: ['story--id [6] waitFor'], cursor: 2, path: [{ __callId__: 'story--id [6] waitFor [0] expect' }], method: 'toHaveBeenCalledWith', @@ -120,6 +129,7 @@ describe('Panel', () => { { id: 'story--id [6] waitFor', storyId: 'story--id', + ancestors: [], cursor: 6, path: [], method: 'waitFor', @@ -138,6 +148,7 @@ describe('Panel', () => { ...calls.get('story--id [4] findByText'), status: CallStates.DONE, childCallIds: undefined, + isHidden: false, isCollapsed: false, toggleCollapsed: expect.any(Function), }, @@ -145,6 +156,7 @@ describe('Panel', () => { ...calls.get('story--id [5] click'), status: CallStates.DONE, childCallIds: undefined, + isHidden: false, isCollapsed: false, toggleCollapsed: expect.any(Function), }, @@ -152,6 +164,7 @@ describe('Panel', () => { ...calls.get('story--id [6] waitFor'), status: CallStates.DONE, childCallIds: ['story--id [6] waitFor [2] toHaveBeenCalledWith'], + isHidden: false, isCollapsed: false, toggleCollapsed: expect.any(Function), }, @@ -159,13 +172,14 @@ describe('Panel', () => { ...calls.get('story--id [6] waitFor [2] toHaveBeenCalledWith'), status: CallStates.DONE, childCallIds: undefined, + isHidden: false, isCollapsed: false, toggleCollapsed: expect.any(Function), }, ]); }); - it('omits calls for which the parent is collapsed', () => { + it('hides calls for which the parent is collapsed', () => { const withCollapsed = new Set(['story--id [6] waitFor']); expect(getInteractions({ log, calls, collapsed: withCollapsed, setCollapsed })).toEqual([ @@ -173,16 +187,25 @@ describe('Panel', () => { ...calls.get('story--id [4] findByText'), childCallIds: undefined, isCollapsed: false, + isHidden: false, }), expect.objectContaining({ ...calls.get('story--id [5] click'), childCallIds: undefined, isCollapsed: false, + isHidden: false, }), expect.objectContaining({ ...calls.get('story--id [6] waitFor'), childCallIds: ['story--id [6] waitFor [2] toHaveBeenCalledWith'], isCollapsed: true, + isHidden: false, + }), + expect.objectContaining({ + ...calls.get('story--id [6] waitFor [2] toHaveBeenCalledWith'), + childCallIds: undefined, + isCollapsed: false, + isHidden: true, }), ]); }); diff --git a/code/addons/interactions/src/Panel.tsx b/code/addons/interactions/src/Panel.tsx index 960687f98956..2585c506f4d7 100644 --- a/code/addons/interactions/src/Panel.tsx +++ b/code/addons/interactions/src/Panel.tsx @@ -16,6 +16,7 @@ import { TabIcon, TabStatus } from './components/TabStatus'; interface Interaction extends Call { status: Call['status']; childCallIds: Call['id'][]; + isHidden: boolean; isCollapsed: boolean; toggleCollapsed: () => void; } @@ -43,16 +44,18 @@ export const getInteractions = ({ const callsById = new Map(); const childCallMap = new Map(); return log - .filter(({ callId, parentId }) => { - if (!parentId) return true; - childCallMap.set(parentId, (childCallMap.get(parentId) || []).concat(callId)); - return !collapsed.has(parentId); + .map(({ callId, ancestors, status }) => { + let isHidden = false; + ancestors.forEach((ancestor) => { + if (collapsed.has(ancestor)) isHidden = true; + childCallMap.set(ancestor, (childCallMap.get(ancestor) || []).concat(callId)); + }); + return { ...calls.get(callId), status, isHidden }; }) - .map(({ callId, status }) => ({ ...calls.get(callId), status } as Call)) .map((call) => { const status = call.status === CallStates.ERROR && - callsById.get(call.parentId)?.status === CallStates.ACTIVE + callsById.get(call.ancestors.slice(-1)[0])?.status === CallStates.ACTIVE ? CallStates.ACTIVE : call.status; callsById.set(call.id, { ...call, status }); @@ -84,7 +87,8 @@ export const Panel: React.FC<{ active: boolean }> = (props) => { const [interactions, setInteractions] = React.useState([]); const [interactionsCount, setInteractionsCount] = React.useState(); - // Calls are tracked in a ref so we don't needlessly rerender. + // Log and calls are tracked in a ref so we don't needlessly rerender. + const log = React.useRef([]); const calls = React.useRef>>(new Map()); const setCall = ({ status, ...call }: Call) => calls.current.set(call.id, call); @@ -110,6 +114,7 @@ export const Panel: React.FC<{ active: boolean }> = (props) => { setInteractions( getInteractions({ log: payload.logItems, calls: calls.current, collapsed, setCollapsed }) ); + log.current = payload.logItems; }, [STORY_RENDER_PHASE_CHANGED]: (event) => { setStoryId(event.storyId); @@ -124,7 +129,6 @@ export const Panel: React.FC<{ active: boolean }> = (props) => { setErrored(true); }, [PLAY_FUNCTION_THREW_EXCEPTION]: (e) => { - console.log('PLAY_FUNCTION_THREW_EXCEPTION'); if (e?.message !== IGNORED_EXCEPTION.message) setCaughtException(e); else setCaughtException(undefined); }, @@ -132,9 +136,15 @@ export const Panel: React.FC<{ active: boolean }> = (props) => { [collapsed] ); + React.useEffect(() => { + setInteractions( + getInteractions({ log: log.current, calls: calls.current, collapsed, setCollapsed }) + ); + }, [collapsed]); + React.useEffect(() => { if (isPlaying || isRerunAnimating) return; - setInteractionsCount(interactions.length); + setInteractionsCount(interactions.filter(({ method }) => method !== 'step').length); }, [interactions, isPlaying, isRerunAnimating]); const controls = React.useMemo( diff --git a/code/addons/interactions/src/components/AccountForm/addon-interactions.stories.mdx b/code/addons/interactions/src/components/AccountForm/addon-interactions.stories.mdx deleted file mode 100644 index 1930000cc9a1..000000000000 --- a/code/addons/interactions/src/components/AccountForm/addon-interactions.stories.mdx +++ /dev/null @@ -1,33 +0,0 @@ -import { Meta, Canvas, Story } from '@storybook/addon-docs'; -import { expect } from '@storybook/jest'; -import { within, waitFor, fireEvent, userEvent } from '@storybook/testing-library'; - -import { AccountForm } from './AccountForm'; - - - -## AccountForm - - - { - const { args, canvasElement } = context - const canvas = within(canvasElement) - - await userEvent.type(canvas.getByTestId('email'), 'username@email.com') - await userEvent.type(canvas.getByTestId('password1'), 'thepassword') - await userEvent.click(canvas.getByRole('button', { name: /create account/i })) - expect(args.onSubmit).not.toHaveBeenCalled() - }}/> - diff --git a/code/addons/interactions/src/components/AccountForm/addon-interactions.stories.tsx b/code/addons/interactions/src/components/AccountForm/addon-interactions.stories.tsx deleted file mode 100644 index 012938d1c79d..000000000000 --- a/code/addons/interactions/src/components/AccountForm/addon-interactions.stories.tsx +++ /dev/null @@ -1,225 +0,0 @@ -import { Story as CSF2Story, Meta, ComponentStoryObj } from '@storybook/react'; -import { expect } from '@storybook/jest'; -import { - within, - waitFor, - fireEvent, - userEvent, - waitForElementToBeRemoved, -} from '@storybook/testing-library'; -import React from 'react'; - -import { AccountForm } from './AccountForm'; - -export default { - title: 'Addons/Interactions/AccountForm', - component: AccountForm, - parameters: { - layout: 'centered', - theme: 'light', - options: { selectedPanel: 'storybook/interactions/panel' }, - }, - argTypes: { - onSubmit: { action: true }, - }, -} as Meta; - -type CSF3Story = ComponentStoryObj; - -export const Demo: CSF2Story = (args) => ( - -); - -Demo.play = async ({ args, canvasElement }) => { - await userEvent.click(within(canvasElement).getByRole('button')); - await expect(args.onSubmit).toHaveBeenCalledWith(expect.stringMatching(/([A-Z])\w+/gi)); - await expect([{ name: 'John', age: 42 }]).toEqual( - expect.arrayContaining([ - expect.objectContaining({ name: 'John' }), - expect.objectContaining({ age: 42 }), - ]) - ); -}; - -export const Exception = Demo.bind({}); -Exception.play = () => Demo.play(undefined as any); // deepscan-disable-line -Exception.parameters = { chromatic: { disableSnapshot: true } }; - -export const FindBy: CSF2Story = (args) => { - const [isLoading, setIsLoading] = React.useState(true); - React.useEffect(() => { - setTimeout(() => setIsLoading(false), 500); - }, []); - return isLoading ?
Loading...
: ; -}; -FindBy.play = async ({ canvasElement }) => { - const canvas = within(canvasElement); - await canvas.findByRole('button'); - await expect(true).toBe(true); -}; - -export const WaitFor: CSF2Story = (args) => ( - -); -WaitFor.play = async ({ args, canvasElement }) => { - await userEvent.click(await within(canvasElement).findByText('Click')); - await waitFor(async () => { - await expect(args.onSubmit).toHaveBeenCalledWith(expect.stringMatching(/([A-Z])\w+/gi)); - await expect(true).toBe(true); - }); -}; - -export const WaitForElementToBeRemoved: CSF2Story = () => { - const [isLoading, setIsLoading] = React.useState(true); - React.useEffect(() => { - setTimeout(() => setIsLoading(false), 1500); - }, []); - return isLoading ?
Loading...
: ; -}; -WaitForElementToBeRemoved.play = async ({ canvasElement }) => { - const canvas = within(canvasElement); - await waitForElementToBeRemoved(await canvas.findByText('Loading...'), { timeout: 2000 }); - const button = await canvas.findByText('Loaded!'); - await expect(button).toBeInTheDocument(); -}; - -export const WithLoaders: CSF2Story = (args, { loaded: { todo } }) => { - return ( - - ); -}; -WithLoaders.loaders = [ - async () => { - // long fake timeout - await new Promise((resolve) => setTimeout(resolve, 2000)); - - return { - todo: { - userId: 1, - id: 1, - title: 'delectus aut autem', - completed: false, - }, - }; - }, -]; -WithLoaders.play = async ({ args, canvasElement }) => { - const canvas = within(canvasElement); - const todoItem = await canvas.findByText('Todo: delectus aut autem'); - await userEvent.click(todoItem); - await expect(args.onSubmit).toHaveBeenCalledWith('delectus aut autem'); -}; - -export const Standard: CSF3Story = { - args: { passwordVerification: false }, -}; - -export const StandardEmailFilled: CSF3Story = { - ...Standard, - play: async ({ canvasElement }) => { - const canvas = within(canvasElement); - await fireEvent.change(canvas.getByTestId('email'), { - target: { - value: 'michael@chromatic.com', - }, - }); - }, -}; - -export const StandardEmailFailed: CSF3Story = { - ...Standard, - play: async ({ args, canvasElement }) => { - const canvas = within(canvasElement); - await userEvent.type(canvas.getByTestId('email'), 'gert@chromatic'); - await userEvent.type(canvas.getByTestId('password1'), 'supersecret'); - await userEvent.click(canvas.getByRole('button', { name: /create account/i })); - - await canvas.findByText('Please enter a correctly formatted email address'); - await expect(args.onSubmit).not.toHaveBeenCalled(); - }, -}; - -export const StandardEmailSuccess: CSF3Story = { - ...Standard, - play: async ({ args, canvasElement }) => { - const canvas = within(canvasElement); - await userEvent.type(canvas.getByTestId('email'), 'michael@chromatic.com'); - await userEvent.type(canvas.getByTestId('password1'), 'testpasswordthatwontfail'); - await userEvent.click(canvas.getByTestId('submit')); - - await waitFor(async () => { - await expect(args.onSubmit).toHaveBeenCalledTimes(1); - await expect(args.onSubmit).toHaveBeenCalledWith({ - email: 'michael@chromatic.com', - password: 'testpasswordthatwontfail', - }); - }); - }, -}; - -export const StandardPasswordFailed: CSF3Story = { - ...Standard, - play: async (context) => { - const canvas = within(context.canvasElement); - await StandardEmailFilled.play(context); - await userEvent.type(canvas.getByTestId('password1'), 'asdf'); - await userEvent.click(canvas.getByTestId('submit')); - }, -}; - -export const StandardFailHover: CSF3Story = { - ...StandardPasswordFailed, - play: async (context) => { - const canvas = within(context.canvasElement); - await StandardPasswordFailed.play(context); - await waitFor(async () => { - await userEvent.hover(canvas.getByTestId('password-error-info')); - }); - }, -}; - -export const Verification: CSF3Story = { - args: { passwordVerification: true }, - argTypes: { onSubmit: { action: 'clicked' } }, -}; - -export const VerificationPassword: CSF3Story = { - ...Verification, - play: async (context) => { - const canvas = within(context.canvasElement); - await StandardEmailFilled.play(context); - await userEvent.type(canvas.getByTestId('password1'), 'asdfasdf'); - await userEvent.click(canvas.getByTestId('submit')); - }, -}; - -export const VerificationPasswordMismatch: CSF3Story = { - ...Verification, - play: async (context) => { - const canvas = within(context.canvasElement); - await StandardEmailFilled.play(context); - await userEvent.type(canvas.getByTestId('password1'), 'asdfasdf'); - await userEvent.type(canvas.getByTestId('password2'), 'asdf1234'); - await userEvent.click(canvas.getByTestId('submit')); - }, -}; - -export const VerificationSuccess: CSF3Story = { - ...Verification, - play: async (context) => { - const canvas = within(context.canvasElement); - await StandardEmailFilled.play(context); - await new Promise((resolve) => setTimeout(resolve, 1000)); - await userEvent.type(canvas.getByTestId('password1'), 'helloyou', { delay: 50 }); - await new Promise((resolve) => setTimeout(resolve, 1000)); - await userEvent.type(canvas.getByTestId('password2'), 'helloyou', { delay: 50 }); - await new Promise((resolve) => setTimeout(resolve, 1000)); - await userEvent.click(canvas.getByTestId('submit')); - }, -}; diff --git a/code/addons/interactions/src/components/Interaction.stories.tsx b/code/addons/interactions/src/components/Interaction.stories.tsx index 06aaaba5f5b4..c1b38cafd63e 100644 --- a/code/addons/interactions/src/components/Interaction.stories.tsx +++ b/code/addons/interactions/src/components/Interaction.stories.tsx @@ -45,7 +45,7 @@ export const Done: Story = { export const WithParent: Story = { args: { - call: { ...getCalls(CallStates.DONE).slice(-1)[0], parentId: 'parent-id' }, + call: { ...getCalls(CallStates.DONE).slice(-1)[0], ancestors: ['parent-id'] }, }, }; diff --git a/code/addons/interactions/src/components/Interaction.tsx b/code/addons/interactions/src/components/Interaction.tsx index 92a60d4fa998..a982ad3d6fc3 100644 --- a/code/addons/interactions/src/components/Interaction.tsx +++ b/code/addons/interactions/src/components/Interaction.tsx @@ -32,7 +32,7 @@ const RowContainer = styled('div', { ? transparentize(0.93, theme.color.negative) : theme.background.warning, }), - paddingLeft: call.parentId ? 20 : 0, + paddingLeft: call.ancestors.length * 20, }), ({ theme, call, pausedAt }) => pausedAt === call.id && { @@ -56,9 +56,9 @@ const RowContainer = styled('div', { } ); -const RowHeader = styled.div<{ disabled: boolean }>(({ theme, disabled }) => ({ +const RowHeader = styled.div<{ isInteractive: boolean }>(({ theme, isInteractive }) => ({ display: 'flex', - '&:hover': disabled ? {} : { background: theme.background.hoverable }, + '&:hover': isInteractive ? {} : { background: theme.background.hoverable }, })); const RowLabel = styled('button', { @@ -130,6 +130,7 @@ export const Interaction = ({ controls, controlStates, childCallIds, + isHidden, isCollapsed, toggleCollapsed, pausedAt, @@ -139,18 +140,23 @@ export const Interaction = ({ controls: Controls; controlStates: ControlStates; childCallIds?: Call['id'][]; + isHidden: boolean; isCollapsed: boolean; toggleCollapsed: () => void; pausedAt?: Call['id']; }) => { const [isHovered, setIsHovered] = React.useState(false); + const isInteractive = !controlStates.goto || !call.interceptable || !!call.ancestors.length; + + if (isHidden) return null; + return ( - + controls.goto(call.id)} - disabled={!controlStates.goto || !call.interceptable || !!call.parentId} + disabled={isInteractive} onMouseEnter={() => controlStates.goto && setIsHovered(true)} onMouseLeave={() => controlStates.goto && setIsHovered(false)} > @@ -163,11 +169,7 @@ export const Interaction = ({ {childCallIds?.length > 0 && ( - } + tooltip={} > diff --git a/code/addons/interactions/src/components/InteractionsPanel.stories.tsx b/code/addons/interactions/src/components/InteractionsPanel.stories.tsx index 606f2cf22bf3..e71744d38be4 100644 --- a/code/addons/interactions/src/components/InteractionsPanel.stories.tsx +++ b/code/addons/interactions/src/components/InteractionsPanel.stories.tsx @@ -1,6 +1,5 @@ /* eslint-disable jest/no-standalone-expect */ import React from 'react'; -import { action } from '@storybook/addon-actions'; import type { ComponentStoryObj, ComponentMeta } from '@storybook/react'; import { CallStates } from '@storybook/instrumenter'; import { styled } from '@storybook/theming'; @@ -48,7 +47,7 @@ export default { fileName: 'addon-interactions.stories.tsx', hasException: false, isPlaying: false, - onScrollToEnd: action('onScrollToEnd'), + onScrollToEnd: () => {}, endRef: null, // prop for the AddonPanel used as wrapper of Panel active: true, @@ -122,7 +121,7 @@ export const Failed: Story = { }, }; -export const WithDebuggingDisabled: Story = { +export const NoDebugger: Story = { args: { controlStates: { ...SubnavStories.args.controlStates, debugger: false } }, }; diff --git a/code/addons/interactions/src/components/InteractionsPanel.tsx b/code/addons/interactions/src/components/InteractionsPanel.tsx index dee82be36ef4..71f8b83d882d 100644 --- a/code/addons/interactions/src/components/InteractionsPanel.tsx +++ b/code/addons/interactions/src/components/InteractionsPanel.tsx @@ -23,6 +23,7 @@ interface InteractionsPanelProps { interactions: (Call & { status?: CallStates; childCallIds: Call['id'][]; + isHidden: boolean; isCollapsed: boolean; toggleCollapsed: () => void; })[]; @@ -118,6 +119,7 @@ export const InteractionsPanel: React.FC = React.memo( controls={controls} controlStates={controlStates} childCallIds={call.childCallIds} + isHidden={call.isHidden} isCollapsed={call.isCollapsed} toggleCollapsed={call.toggleCollapsed} pausedAt={pausedAt} diff --git a/code/addons/interactions/src/components/List.tsx b/code/addons/interactions/src/components/List.tsx index d2b365fdeb93..af6005e13a86 100644 --- a/code/addons/interactions/src/components/List.tsx +++ b/code/addons/interactions/src/components/List.tsx @@ -68,7 +68,7 @@ export const ListItem: React.FC = ({ item }) => { onToggle(!open)} role="button"> ( /> + @@ -99,6 +100,7 @@ const calls: Call[] = [ { cursor: 0, id: '1', + ancestors: [], path: ['screen'], method: 'getByText', storyId: 'kind--story', @@ -109,6 +111,7 @@ const calls: Call[] = [ { cursor: 1, id: '2', + ancestors: [], path: ['userEvent'], method: 'click', storyId: 'kind--story', @@ -119,6 +122,7 @@ const calls: Call[] = [ { cursor: 2, id: '3', + ancestors: [], path: [], method: 'expect', storyId: 'kind--story', @@ -129,6 +133,7 @@ const calls: Call[] = [ { cursor: 3, id: '4', + ancestors: [], path: [{ __callId__: '3' }, 'not'], method: 'toBe', storyId: 'kind--story', @@ -139,6 +144,7 @@ const calls: Call[] = [ { cursor: 4, id: '5', + ancestors: [], path: ['jest'], method: 'fn', storyId: 'kind--story', @@ -149,6 +155,7 @@ const calls: Call[] = [ { cursor: 5, id: '6', + ancestors: [], path: [], method: 'expect', storyId: 'kind--story', @@ -159,6 +166,7 @@ const calls: Call[] = [ { cursor: 6, id: '7', + ancestors: [], path: ['expect'], method: 'stringMatching', storyId: 'kind--story', @@ -169,6 +177,7 @@ const calls: Call[] = [ { cursor: 7, id: '8', + ancestors: [], path: [{ __callId__: '6' }, 'not'], method: 'toHaveBeenCalledWith', storyId: 'kind--story', @@ -182,6 +191,17 @@ const calls: Call[] = [ interceptable: false, retain: false, }, + { + cursor: 8, + id: '9', + ancestors: [], + path: [], + method: 'step', + storyId: 'kind--story', + args: ['Custom step label', { __function__: { name: '' } }], + interceptable: true, + retain: false, + }, ]; const callsById = calls.reduce((acc, call) => { @@ -189,6 +209,7 @@ const callsById = calls.reduce((acc, call) => { return acc; }, new Map()); +export const Step = () => ; export const Simple = () => ; export const Nested = () => ; export const Chained = () => ; diff --git a/code/addons/interactions/src/components/MethodCall.tsx b/code/addons/interactions/src/components/MethodCall.tsx index e9a98602e783..c5e62c0caf69 100644 --- a/code/addons/interactions/src/components/MethodCall.tsx +++ b/code/addons/interactions/src/components/MethodCall.tsx @@ -383,6 +383,22 @@ export const OtherNode = ({ value }: { value: any }) => { return {stringify(value)}; }; +export const StepNode = ({ label }: { label: string }) => { + const colors = useThemeColors(); + const { typography } = useTheme(); + return ( + + {label} + + ); +}; + export const MethodCall = ({ call, callsById, @@ -393,7 +409,9 @@ export const MethodCall = ({ // Call might be undefined during initial render, can be safely ignored. if (!call) return null; - const colors = useThemeColors(); + if (call.method === 'step' && call.path.length === 0) { + return ; + } const path = call.path.flatMap((elem, index) => { // eslint-disable-next-line no-underscore-dangle @@ -416,6 +434,7 @@ export const MethodCall = ({ : [node]; }); + const colors = useThemeColors(); return ( <> {path} diff --git a/code/addons/interactions/src/components/StatusIcon.tsx b/code/addons/interactions/src/components/StatusIcon.tsx index 6a3f6d629f14..b223a3960521 100644 --- a/code/addons/interactions/src/components/StatusIcon.tsx +++ b/code/addons/interactions/src/components/StatusIcon.tsx @@ -6,8 +6,10 @@ import { styled } from '@storybook/theming'; import { transparentize } from 'polished'; import localTheme from '../theme'; -export interface StatusIconProps extends IconsProps { +export interface StatusIconProps { status: Call['status']; + useSymbol?: IconsProps['useSymbol']; + className?: string; } const { diff --git a/code/addons/interactions/src/examples/AccountFormInteractions/AccountFormInteractions.stories.mdx b/code/addons/interactions/src/examples/AccountFormInteractions/AccountFormInteractions.stories.mdx new file mode 100644 index 000000000000..4c97235008e3 --- /dev/null +++ b/code/addons/interactions/src/examples/AccountFormInteractions/AccountFormInteractions.stories.mdx @@ -0,0 +1,31 @@ +import { Meta, Canvas, Story } from '@storybook/addon-docs'; +import { expect } from '@storybook/jest'; +import { within, waitFor, fireEvent, userEvent, screen } from '@storybook/testing-library'; + +import { AccountForm } from './AccountFormInteractions'; + + + +## AccountForm + + + { + await userEvent.type(screen.getByTestId('email'), 'username@email.com'); + await userEvent.type(screen.getByTestId('password1'), 'thepassword'); + await userEvent.click(screen.getByRole('button', { name: /create account/i })); + await expect(args.onSubmit).not.toHaveBeenCalled(); + }} + /> + diff --git a/code/addons/interactions/src/examples/AccountFormInteractions/AccountFormInteractions.stories.tsx b/code/addons/interactions/src/examples/AccountFormInteractions/AccountFormInteractions.stories.tsx new file mode 100644 index 000000000000..34f84115113c --- /dev/null +++ b/code/addons/interactions/src/examples/AccountFormInteractions/AccountFormInteractions.stories.tsx @@ -0,0 +1,162 @@ +/* eslint-disable jest/no-standalone-expect */ +import { Meta, ComponentStoryObj } from '@storybook/react'; +import { expect } from '@storybook/jest'; +import { within, waitFor, fireEvent, userEvent } from '@storybook/testing-library'; + +import { AccountForm } from './AccountFormInteractions'; + +export default { + title: 'Addons/Interactions/Examples/AccountForm', + component: AccountForm, + parameters: { + layout: 'centered', + theme: 'light', + options: { selectedPanel: 'storybook/interactions/panel' }, + }, + argTypes: { + onSubmit: { action: true }, + }, +} as Meta; + +type CSF3Story = ComponentStoryObj; + +export const Standard: CSF3Story = { + args: { passwordVerification: false }, +}; + +export const StandardEmailFilled = { + ...Standard, + play: async ({ canvasElement, step }) => { + const canvas = within(canvasElement); + + await step('Enter email', async () => { + await fireEvent.change(canvas.getByTestId('email'), { + target: { value: 'michael@chromatic.com' }, + }); + }); + }, +}; + +export const StandardEmailFailed = { + ...Standard, + play: async ({ args, canvasElement, step }) => { + const canvas = within(canvasElement); + + await step('Enter email and password', async () => { + await userEvent.type(canvas.getByTestId('email'), 'gert@chromatic'); + await userEvent.type(canvas.getByTestId('password1'), 'supersecret'); + }); + + await step('Submit form', async () => { + await userEvent.click(canvas.getByRole('button', { name: /create account/i })); + }); + + await canvas.findByText('Please enter a correctly formatted email address'); + await expect(args.onSubmit).not.toHaveBeenCalled(); + }, +}; + +export const StandardEmailSuccess = { + ...Standard, + play: async ({ args, canvasElement, step }) => { + const canvas = within(canvasElement); + + await step('Enter email and password', async () => { + await userEvent.type(canvas.getByTestId('email'), 'michael@chromatic.com'); + await userEvent.type(canvas.getByTestId('password1'), 'testpasswordthatwontfail'); + }); + + await step('Submit form', async () => { + await userEvent.click(canvas.getByTestId('submit')); + }); + + await waitFor(async () => { + await expect(args.onSubmit).toHaveBeenCalledTimes(1); + await expect(args.onSubmit).toHaveBeenCalledWith({ + email: 'michael@chromatic.com', + password: 'testpasswordthatwontfail', + }); + }); + }, +}; + +export const StandardPasswordFailed = { + ...Standard, + play: async (context) => { + const canvas = within(context.canvasElement); + await StandardEmailFilled.play(context); + + await context.step('Enter password', async () => { + await userEvent.type(canvas.getByTestId('password1'), 'asdf'); + }); + + await context.step('Submit form', async () => { + await userEvent.click(canvas.getByTestId('submit')); + }); + }, +}; + +export const StandardFailHover = { + ...StandardPasswordFailed, + play: async (context) => { + const canvas = within(context.canvasElement); + await StandardPasswordFailed.play(context); + await waitFor(async () => { + await userEvent.hover(canvas.getByTestId('password-error-info')); + }); + }, +}; + +export const Verification = { + args: { passwordVerification: true }, + argTypes: { onSubmit: { action: 'clicked' } }, +}; + +export const VerificationPassword = { + ...Verification, + play: async (context) => { + const canvas = within(context.canvasElement); + await StandardEmailFilled.play(context); + await context.step('Enter password', async () => { + await userEvent.type(canvas.getByTestId('password1'), 'asdfasdf'); + }); + await context.step('Submit form', async () => { + await userEvent.click(canvas.getByTestId('submit')); + }); + }, +}; + +export const VerificationPasswordMismatch = { + ...Verification, + play: async (context) => { + const canvas = within(context.canvasElement); + await StandardEmailFilled.play(context); + await context.step('Enter passwords', async () => { + await userEvent.type(canvas.getByTestId('password1'), 'asdfasdf'); + await userEvent.type(canvas.getByTestId('password2'), 'asdf1234'); + }); + await context.step('Submit form', async () => { + await userEvent.click(canvas.getByTestId('submit')); + }); + }, +}; + +export const VerificationSuccess = { + ...Verification, + play: async (context) => { + const canvas = within(context.canvasElement); + await StandardEmailFilled.play(context); + + await context.step('Enter passwords', async () => { + await new Promise((resolve) => setTimeout(resolve, 1000)); + await userEvent.type(canvas.getByTestId('password1'), 'helloyou', { delay: 50 }); + await new Promise((resolve) => setTimeout(resolve, 1000)); + await userEvent.type(canvas.getByTestId('password2'), 'helloyou', { delay: 50 }); + }); + + await context.step('Submit form', async () => { + await new Promise((resolve) => setTimeout(resolve, 1000)); + await userEvent.click(canvas.getByTestId('submit')); + }); + }, +}; diff --git a/code/addons/interactions/src/components/AccountForm/AccountForm.tsx b/code/addons/interactions/src/examples/AccountFormInteractions/AccountFormInteractions.tsx similarity index 99% rename from code/addons/interactions/src/components/AccountForm/AccountForm.tsx rename to code/addons/interactions/src/examples/AccountFormInteractions/AccountFormInteractions.tsx index 683f711178e7..1e40d5bacb82 100644 --- a/code/addons/interactions/src/components/AccountForm/AccountForm.tsx +++ b/code/addons/interactions/src/examples/AccountFormInteractions/AccountFormInteractions.tsx @@ -490,7 +490,7 @@ const ErrorIcon = styled(Icons)(({ theme }) => ({ opacity: 0.8, marginRight: 6, marginLeft: 2, - marginTop: 1, + marginTop: 4, })); const ErrorTooltip = styled.div(({ theme }) => ({ diff --git a/code/addons/interactions/src/examples/Examples.stories.tsx b/code/addons/interactions/src/examples/Examples.stories.tsx new file mode 100644 index 000000000000..d16c086e61ee --- /dev/null +++ b/code/addons/interactions/src/examples/Examples.stories.tsx @@ -0,0 +1,126 @@ +/* eslint-disable jest/no-standalone-expect */ +import { Story, Meta } from '@storybook/react'; +import { expect } from '@storybook/jest'; +import { within, waitFor, userEvent, waitForElementToBeRemoved } from '@storybook/testing-library'; +import React from 'react'; + +export default { + title: 'Addons/Interactions/Examples', + parameters: { + layout: 'centered', + theme: 'light', + options: { selectedPanel: 'storybook/interactions/panel' }, + }, + argTypes: { + onSubmit: { action: true }, + }, +} as Meta; + +export const Assertions: Story = ({ onSubmit }) => ( + +); +Assertions.play = async ({ args, canvasElement }) => { + await userEvent.click(within(canvasElement).getByRole('button')); + await expect(args.onSubmit).toHaveBeenCalledWith(expect.stringMatching(/([A-Z])\w+/gi)); + await expect([{ name: 'John', age: 42 }]).toEqual( + expect.arrayContaining([ + expect.objectContaining({ name: 'John' }), + expect.objectContaining({ age: 42 }), + ]) + ); +}; + +export const FindBy: Story = () => { + const [isLoading, setIsLoading] = React.useState(true); + React.useEffect(() => { + setTimeout(() => setIsLoading(false), 500); + }, []); + return isLoading ?
Loading...
: ; +}; +FindBy.play = async ({ canvasElement }) => { + const canvas = within(canvasElement); + await canvas.findByRole('button'); + await expect(true).toBe(true); +}; + +export const WaitFor: Story = ({ onSubmit }) => ( + +); +WaitFor.play = async ({ args, canvasElement }) => { + await userEvent.click(await within(canvasElement).findByText('Click')); + await waitFor(async () => { + await expect(args.onSubmit).toHaveBeenCalledWith(expect.stringMatching(/([A-Z])\w+/gi)); + await expect(true).toBe(true); + }); +}; + +export const WaitForElementToBeRemoved: Story = () => { + const [isLoading, setIsLoading] = React.useState(true); + React.useEffect(() => { + setTimeout(() => setIsLoading(false), 1500); + }, []); + return isLoading ?
Loading...
: ; +}; +WaitForElementToBeRemoved.play = async ({ canvasElement }) => { + const canvas = within(canvasElement); + await waitForElementToBeRemoved(await canvas.findByText('Loading...'), { timeout: 2000 }); + const button = await canvas.findByText('Loaded!'); + await expect(button).not.toBeNull(); +}; + +export const WithLoaders: Story = ({ onSubmit }, { loaded: { todo } }) => { + return ( + + ); +}; +WithLoaders.loaders = [ + async () => { + // long fake timeout + await new Promise((resolve) => setTimeout(resolve, 2000)); + + return { + todo: { + userId: 1, + id: 1, + title: 'delectus aut autem', + completed: false, + }, + }; + }, +]; +WithLoaders.play = async ({ args, canvasElement }) => { + const canvas = within(canvasElement); + const todoItem = await canvas.findByText('Todo: delectus aut autem'); + await userEvent.click(todoItem); + await expect(args.onSubmit).toHaveBeenCalledWith('delectus aut autem'); +}; + +export const WithSteps: Story = ({ onSubmit }) => ( + +); +WithSteps.play = async ({ args, canvasElement, step }) => { + await step('Click button', async () => { + await userEvent.click(within(canvasElement).getByRole('button')); + + await step('Verify submit', async () => { + await expect(args.onSubmit).toHaveBeenCalledWith(expect.stringMatching(/([A-Z])\w+/gi)); + }); + + await step('Verify result', async () => { + await expect([{ name: 'John', age: 42 }]).toEqual( + expect.arrayContaining([ + expect.objectContaining({ name: 'John' }), + expect.objectContaining({ age: 42 }), + ]) + ); + }); + }); +}; diff --git a/code/addons/interactions/src/mocks/index.ts b/code/addons/interactions/src/mocks/index.ts index d42507545332..14066c7a0149 100644 --- a/code/addons/interactions/src/mocks/index.ts +++ b/code/addons/interactions/src/mocks/index.ts @@ -3,9 +3,22 @@ import { CallStates, Call } from '@storybook/instrumenter'; export const getCalls = (finalStatus: CallStates) => { const calls: Call[] = [ { - id: 'story--id [3] within', + id: 'story--id [3] step', + storyId: 'story--id', + cursor: 1, + ancestors: [], + path: [], + method: 'step', + args: ['Click button', { __function__: { name: '' } }], + interceptable: true, + retain: false, + status: CallStates.DONE, + }, + { + id: 'story--id [3] step [1] within', storyId: 'story--id', cursor: 3, + ancestors: ['story--id [3] step'], path: [], method: 'within', args: [{ __element__: { localName: 'div', id: 'root' } }], @@ -14,10 +27,11 @@ export const getCalls = (finalStatus: CallStates) => { status: CallStates.DONE, }, { - id: 'story--id [4] findByText', + id: 'story--id [3] step [2] findByText', storyId: 'story--id', cursor: 4, - path: [{ __callId__: 'story--id [3] within' }], + ancestors: ['story--id [3] step'], + path: [{ __callId__: 'story--id [3] step [1] within' }], method: 'findByText', args: ['Click'], interceptable: true, @@ -25,9 +39,10 @@ export const getCalls = (finalStatus: CallStates) => { status: CallStates.DONE, }, { - id: 'story--id [5] click', + id: 'story--id [3] step [3] click', storyId: 'story--id', cursor: 5, + ancestors: ['story--id [3] step'], path: ['userEvent'], method: 'click', args: [{ __element__: { localName: 'button', innerText: 'Click' } }], @@ -39,6 +54,7 @@ export const getCalls = (finalStatus: CallStates) => { id: 'story--id [6] waitFor', storyId: 'story--id', cursor: 6, + ancestors: [], path: [], method: 'waitFor', args: [{ __function__: { name: '' } }], @@ -48,9 +64,9 @@ export const getCalls = (finalStatus: CallStates) => { }, { id: 'story--id [6] waitFor [0] expect', - parentId: 'story--id [6] waitFor', storyId: 'story--id', cursor: 1, + ancestors: ['story--id [6] waitFor'], path: [], method: 'expect', args: [{ __function__: { name: 'handleSubmit' } }], @@ -60,9 +76,9 @@ export const getCalls = (finalStatus: CallStates) => { }, { id: 'story--id [6] waitFor [1] stringMatching', - parentId: 'story--id [6] waitFor', storyId: 'story--id', cursor: 2, + ancestors: ['story--id [6] waitFor'], path: ['expect'], method: 'stringMatching', args: [{ __regexp__: { flags: 'gi', source: '([A-Z])w+' } }], @@ -72,9 +88,9 @@ export const getCalls = (finalStatus: CallStates) => { }, { id: 'story--id [6] waitFor [2] toHaveBeenCalledWith', - parentId: 'story--id [6] waitFor', storyId: 'story--id', cursor: 3, + ancestors: ['story--id [6] waitFor'], path: [{ __callId__: 'story--id [6] waitFor [0] expect' }], method: 'toHaveBeenCalledWith', args: [{ __callId__: 'story--id [6] waitFor [1] stringMatching', retain: false }], @@ -86,6 +102,7 @@ export const getCalls = (finalStatus: CallStates) => { id: 'story--id [7] expect', storyId: 'story--id', cursor: 7, + ancestors: [], path: [], method: 'expect', args: [{ __function__: { name: 'handleReset' } }], @@ -97,6 +114,7 @@ export const getCalls = (finalStatus: CallStates) => { id: 'story--id [8] toHaveBeenCalled', storyId: 'story--id', cursor: 8, + ancestors: [], path: [{ __callId__: 'story--id [7] expect' }, 'not'], method: 'toHaveBeenCalled', args: [], @@ -121,9 +139,4 @@ export const getCalls = (finalStatus: CallStates) => { export const getInteractions = (finalStatus: CallStates) => getCalls(finalStatus) .filter((call) => call.interceptable) - .map((call, _, calls) => ({ - ...call, - childCallIds: calls.filter((c) => c.parentId === call.id).map((c) => c.id), - isCollapsed: false, - toggleCollapsed: () => {}, - })); + .map((call) => ({ ...call, childCallIds: [], isCollapsed: false, toggleCollapsed: () => {} })); diff --git a/code/addons/interactions/src/preset/preview.ts b/code/addons/interactions/src/preset/preview.ts index 662b4f4e5af2..41eadcf626f5 100644 --- a/code/addons/interactions/src/preset/preview.ts +++ b/code/addons/interactions/src/preset/preview.ts @@ -1,6 +1,12 @@ import { addons } from '@storybook/addons'; import { FORCE_REMOUNT, STORY_RENDER_PHASE_CHANGED } from '@storybook/core-events'; -import type { AnyFramework, ArgsEnhancer } from '@storybook/csf'; +import type { + AnyFramework, + ArgsEnhancer, + PlayFunction, + PlayFunctionContext, + StepLabel, +} from '@storybook/csf'; import { instrument } from '@storybook/instrumenter'; import { ModuleMocker } from 'jest-mock'; @@ -48,3 +54,8 @@ const addActionsFromArgTypes: ArgsEnhancer = ({ id, initialArgs }) addSpies(id, initialArgs); export const argsEnhancers = [addActionsFromArgTypes]; + +export const { step: runStep } = instrument( + { step: (label: StepLabel, play: PlayFunction, context: PlayFunctionContext) => play(context) }, + { intercept: true } +); diff --git a/code/addons/jest/package.json b/code/addons/jest/package.json index c0c7ee2b8d84..0c97d98fffd7 100644 --- a/code/addons/jest/package.json +++ b/code/addons/jest/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-jest", - "version": "7.0.0-alpha.20", + "version": "7.0.0-alpha.31", "description": "React storybook addon that show component jest report", "keywords": [ "addon", @@ -38,7 +38,7 @@ "import": "./dist/manager.mjs", "types": "./dist/manager.d.ts" }, - "./register.js": { + "./register": { "require": "./dist/manager.js", "import": "./dist/manager.mjs", "types": "./dist/manager.d.ts" @@ -56,16 +56,15 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/addons": "7.0.0-alpha.20", - "@storybook/api": "7.0.0-alpha.20", - "@storybook/client-logger": "7.0.0-alpha.20", - "@storybook/components": "7.0.0-alpha.20", - "@storybook/core-events": "7.0.0-alpha.20", - "@storybook/theming": "7.0.0-alpha.20", - "core-js": "^3.8.2", + "@storybook/addons": "7.0.0-alpha.31", + "@storybook/api": "7.0.0-alpha.31", + "@storybook/client-logger": "7.0.0-alpha.31", + "@storybook/components": "7.0.0-alpha.31", + "@storybook/core-events": "7.0.0-alpha.31", + "@storybook/theming": "7.0.0-alpha.31", "global": "^4.4.0", "react-sizeme": "^3.0.1", "upath": "^1.2.0" @@ -95,7 +94,7 @@ ], "platform": "browser" }, - "gitHead": "a6c00d2ebed21da54b4772b4a4f7fed9258f0ab4", + "gitHead": "02c013c33186479017098d532a18ff8654b91f1f", "storybook": { "displayName": "Jest", "icon": "https://pbs.twimg.com/profile_images/821713465245102080/mMtKIMax_400x400.jpg", diff --git a/code/addons/jest/src/components/Result.tsx b/code/addons/jest/src/components/Result.tsx index 1a82ed14b16e..3a53fad6b21c 100644 --- a/code/addons/jest/src/components/Result.tsx +++ b/code/addons/jest/src/components/Result.tsx @@ -65,7 +65,7 @@ export function Result(props: ResultProps) { {status === `failed` ? ( { }); test('returns null if filename is a module ID that cannot be inferred from', () => { - // @ts-ignore + // @ts-expect-error (Converted from ts-ignore) expect(defineJestParameter({ fileName: 1234 })).toBeNull(); }); }); diff --git a/code/addons/links/package.json b/code/addons/links/package.json index fb31fc388676..beb804d1ca01 100644 --- a/code/addons/links/package.json +++ b/code/addons/links/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-links", - "version": "7.0.0-alpha.20", + "version": "7.0.0-alpha.31", "description": "Link stories together to build demos and prototypes with your UI components", "keywords": [ "addon", @@ -42,7 +42,7 @@ "import": "./dist/react/index.mjs", "types": "./dist/react.d.ts" }, - "./register.js": { + "./register": { "require": "./dist/manager.js", "import": "./dist/manager.mjs", "types": "./dist/manager.d.ts" @@ -60,15 +60,14 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/addons": "7.0.0-alpha.20", - "@storybook/client-logger": "7.0.0-alpha.20", - "@storybook/core-events": "7.0.0-alpha.20", + "@storybook/addons": "7.0.0-alpha.31", + "@storybook/client-logger": "7.0.0-alpha.31", + "@storybook/core-events": "7.0.0-alpha.31", "@storybook/csf": "0.0.2--canary.0899bb7.0", - "@storybook/router": "7.0.0-alpha.20", - "core-js": "^3.8.2", + "@storybook/router": "7.0.0-alpha.31", "global": "^4.4.0", "prop-types": "^15.7.2", "ts-dedent": "^2.0.0" @@ -99,7 +98,7 @@ "./src/react/index.ts" ] }, - "gitHead": "a6c00d2ebed21da54b4772b4a4f7fed9258f0ab4", + "gitHead": "02c013c33186479017098d532a18ff8654b91f1f", "storybook": { "displayName": "Links", "icon": "https://user-images.githubusercontent.com/263385/101991673-48355c80-3c7c-11eb-9b6e-b627c96a75f6.png", diff --git a/code/addons/links/src/react/components/link.test.tsx b/code/addons/links/src/react/components/link.test.tsx index b2e75887549b..4d79589adbd0 100644 --- a/code/addons/links/src/react/components/link.test.tsx +++ b/code/addons/links/src/react/components/link.test.tsx @@ -14,7 +14,7 @@ jest.mock('global', () => ({ search: 'search', }, }, - // @ts-ignore + // @ts-expect-error (Converted from ts-ignore) window: global, __STORYBOOK_STORY_STORE__: { getSelection: jest.fn(() => ({ id: 1 })), diff --git a/code/addons/links/src/utils.test.ts b/code/addons/links/src/utils.test.ts index fb2126018bf6..26bdb4b2a832 100644 --- a/code/addons/links/src/utils.test.ts +++ b/code/addons/links/src/utils.test.ts @@ -5,9 +5,9 @@ import { linkTo, hrefTo } from './utils'; jest.mock('@storybook/addons'); jest.mock('global', () => ({ - // @ts-ignore + // @ts-expect-error (Converted from ts-ignore) document: global.document, - // @ts-ignore + // @ts-expect-error (Converted from ts-ignore) window: global, })); diff --git a/code/addons/links/src/utils.ts b/code/addons/links/src/utils.ts index 8b4adef0bf38..be551a896451 100644 --- a/code/addons/links/src/utils.ts +++ b/code/addons/links/src/utils.ts @@ -36,9 +36,9 @@ export const hrefTo = (title: ComponentTitle, name: StoryName): Promise return new Promise((resolve) => { const { location } = document; const query = parseQuery(location.search); - // @ts-ignore + // @ts-expect-error (Converted from ts-ignore) const existingId = [].concat(query.id)[0]; - // @ts-ignore + // @ts-expect-error (Converted from ts-ignore) const titleToLink = title || existingId.split('--', 2)[0]; const id = toId(titleToLink, name); const url = `${location.origin + location.pathname}?${Object.entries({ ...query, id }) diff --git a/code/addons/measure/package.json b/code/addons/measure/package.json index 411dc55dfdc3..8bb45d78a85b 100644 --- a/code/addons/measure/package.json +++ b/code/addons/measure/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-measure", - "version": "7.0.0-alpha.20", + "version": "7.0.0-alpha.31", "description": "Inspect layouts by visualizing the box model", "keywords": [ "storybook-addons", @@ -40,7 +40,7 @@ "import": "./dist/preview.mjs", "types": "./dist/preview.d.ts" }, - "./register.js": { + "./register": { "require": "./dist/manager.js", "import": "./dist/manager.mjs", "types": "./dist/manager.d.ts" @@ -58,16 +58,15 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/addons": "7.0.0-alpha.20", - "@storybook/api": "7.0.0-alpha.20", - "@storybook/client-logger": "7.0.0-alpha.20", - "@storybook/components": "7.0.0-alpha.20", - "@storybook/core-events": "7.0.0-alpha.20", + "@storybook/addons": "7.0.0-alpha.31", + "@storybook/api": "7.0.0-alpha.31", + "@storybook/client-logger": "7.0.0-alpha.31", + "@storybook/components": "7.0.0-alpha.31", + "@storybook/core-events": "7.0.0-alpha.31", "@storybook/csf": "0.0.2--canary.0899bb7.0", - "core-js": "^3.8.2", "global": "^4.4.0" }, "devDependencies": { @@ -95,7 +94,7 @@ "./src/preview.tsx" ] }, - "gitHead": "a6c00d2ebed21da54b4772b4a4f7fed9258f0ab4", + "gitHead": "02c013c33186479017098d532a18ff8654b91f1f", "storybook": { "displayName": "Measure", "unsupportedFrameworks": [ diff --git a/code/addons/outline/package.json b/code/addons/outline/package.json index 9d1439bc76b5..42c951e590e0 100644 --- a/code/addons/outline/package.json +++ b/code/addons/outline/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-outline", - "version": "7.0.0-alpha.20", + "version": "7.0.0-alpha.31", "description": "Outline all elements with CSS to help with layout placement and alignment", "keywords": [ "storybook-addons", @@ -43,7 +43,7 @@ "import": "./dist/preset/preview.mjs", "types": "./dist/preview.d.ts" }, - "./register.js": { + "./register": { "require": "./dist/manager.js", "import": "./dist/manager.mjs", "types": "./dist/manager.d.ts" @@ -61,16 +61,15 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/addons": "7.0.0-alpha.20", - "@storybook/api": "7.0.0-alpha.20", - "@storybook/client-logger": "7.0.0-alpha.20", - "@storybook/components": "7.0.0-alpha.20", - "@storybook/core-events": "7.0.0-alpha.20", + "@storybook/addons": "7.0.0-alpha.31", + "@storybook/api": "7.0.0-alpha.31", + "@storybook/client-logger": "7.0.0-alpha.31", + "@storybook/components": "7.0.0-alpha.31", + "@storybook/core-events": "7.0.0-alpha.31", "@storybook/csf": "0.0.2--canary.0899bb7.0", - "core-js": "^3.8.2", "global": "^4.4.0", "ts-dedent": "^2.0.0" }, @@ -99,7 +98,7 @@ "./src/preset/preview.tsx" ] }, - "gitHead": "a6c00d2ebed21da54b4772b4a4f7fed9258f0ab4", + "gitHead": "02c013c33186479017098d532a18ff8654b91f1f", "storybook": { "displayName": "Outline", "unsupportedFrameworks": [ diff --git a/code/addons/storyshots/storyshots-core/package.json b/code/addons/storyshots/storyshots-core/package.json index be87c4940c30..2ff27afe426c 100644 --- a/code/addons/storyshots/storyshots-core/package.json +++ b/code/addons/storyshots/storyshots-core/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-storyshots", - "version": "7.0.0-alpha.20", + "version": "7.0.0-alpha.31", "description": "Take a code snapshot of every story automatically with Jest", "keywords": [ "addon", @@ -33,17 +33,17 @@ "scripts": { "build-storybook": "sb build", "example": "jest storyshot.test", - "prepare": "node ../../../../scripts/prepare.js", + "prep": "node ../../../../scripts/prepare.js", "storybook": "yarn sb dev -p 6006" }, "dependencies": { "@jest/transform": "^26.6.2", - "@storybook/addons": "7.0.0-alpha.20", + "@storybook/addons": "7.0.0-alpha.31", "@storybook/babel-plugin-require-context-hook": "1.0.1", - "@storybook/client-api": "7.0.0-alpha.20", - "@storybook/core-client": "7.0.0-alpha.20", - "@storybook/core-common": "7.0.0-alpha.20", - "@storybook/core-webpack": "7.0.0-alpha.20", + "@storybook/client-api": "7.0.0-alpha.31", + "@storybook/core-client": "7.0.0-alpha.31", + "@storybook/core-common": "7.0.0-alpha.31", + "@storybook/core-webpack": "7.0.0-alpha.31", "@storybook/csf": "0.0.2--canary.0899bb7.0", "@types/glob": "^7.1.3", "@types/jest": "^26.0.16", @@ -62,11 +62,11 @@ "@angular/core": "^13.3.6", "@angular/platform-browser-dynamic": "^13.3.6", "@emotion/jest": "^11.8.0", - "@storybook/addon-docs": "7.0.0-alpha.20", - "@storybook/angular": "7.0.0-alpha.20", - "@storybook/react": "7.0.0-alpha.20", - "@storybook/vue": "7.0.0-alpha.20", - "@storybook/vue3": "7.0.0-alpha.20", + "@storybook/addon-docs": "7.0.0-alpha.31", + "@storybook/angular": "7.0.0-alpha.31", + "@storybook/react": "7.0.0-alpha.31", + "@storybook/vue": "7.0.0-alpha.31", + "@storybook/vue3": "7.0.0-alpha.31", "babel-loader": "^8.2.5", "enzyme": "^3.11.0", "enzyme-to-json": "^3.6.1", @@ -144,7 +144,7 @@ "publishConfig": { "access": "public" }, - "gitHead": "a6c00d2ebed21da54b4772b4a4f7fed9258f0ab4", + "gitHead": "02c013c33186479017098d532a18ff8654b91f1f", "storybook": { "displayName": "Storyshots", "icon": "https://user-images.githubusercontent.com/263385/101991676-48cdf300-3c7c-11eb-8aa1-944dab6ab29b.png", diff --git a/code/addons/storyshots/storyshots-core/src/api/ensureOptionsDefaults.ts b/code/addons/storyshots/storyshots-core/src/api/ensureOptionsDefaults.ts index 25adf62c8343..c5e01ed7afe6 100644 --- a/code/addons/storyshots/storyshots-core/src/api/ensureOptionsDefaults.ts +++ b/code/addons/storyshots/storyshots-core/src/api/ensureOptionsDefaults.ts @@ -25,7 +25,6 @@ function getIntegrityOptions({ integrityOptions }: StoryshotsOptions) { }; } -// @ts-ignore function ensureOptionsDefaults(options: StoryshotsOptions) { const { suite = 'Storyshots', diff --git a/code/addons/storyshots/storyshots-core/src/api/integrityTestTemplate.ts b/code/addons/storyshots/storyshots-core/src/api/integrityTestTemplate.ts index d2b13d5e9589..b4fb63b582ff 100644 --- a/code/addons/storyshots/storyshots-core/src/api/integrityTestTemplate.ts +++ b/code/addons/storyshots/storyshots-core/src/api/integrityTestTemplate.ts @@ -52,7 +52,7 @@ function integrityTest(integrityOptions: any, stories2snapsConverter: any) { const snapshotExtension = stories2snapsConverter.getSnapshotExtension(); const storyshots = glob.sync(`**/*${snapshotExtension}`, integrityOptions); - // @ts-ignore + // @ts-expect-error (Converted from ts-ignore) expect(storyshots).notToBeAbandoned(stories2snapsConverter); }); }); diff --git a/code/addons/storyshots/storyshots-core/src/frameworks/Loader.ts b/code/addons/storyshots/storyshots-core/src/frameworks/Loader.ts index 20ce598c423c..101f2e97735f 100644 --- a/code/addons/storyshots/storyshots-core/src/frameworks/Loader.ts +++ b/code/addons/storyshots/storyshots-core/src/frameworks/Loader.ts @@ -15,6 +15,7 @@ export interface ClientApi setAddon: ClientApiClass['setAddon']; addArgsEnhancer: ClientApiClass['addArgsEnhancer']; addArgTypesEnhancer: ClientApiClass['addArgTypesEnhancer']; + addStepRunner: ClientApiClass['addStepRunner']; raw: ClientApiClass['raw']; } diff --git a/code/addons/storyshots/storyshots-core/src/frameworks/configure.ts b/code/addons/storyshots/storyshots-core/src/frameworks/configure.ts index 670ecdfd63e6..ad64cdd91d69 100644 --- a/code/addons/storyshots/storyshots-core/src/frameworks/configure.ts +++ b/code/addons/storyshots/storyshots-core/src/frameworks/configure.ts @@ -113,8 +113,15 @@ function configure( if (preview) { // This is essentially the same code as lib/core/src/server/preview/virtualModuleEntry.template - const { parameters, decorators, globals, globalTypes, argsEnhancers, argTypesEnhancers } = - jest.requireActual(preview); + const { + parameters, + decorators, + globals, + globalTypes, + argsEnhancers, + argTypesEnhancers, + runStep, + } = jest.requireActual(preview); if (decorators) { decorators.forEach((decorator: DecoratorFunction) => @@ -124,6 +131,9 @@ function configure( if (parameters || globals || globalTypes) { storybook.addParameters({ ...parameters, globals, globalTypes }); } + if (runStep) { + storybook.addStepRunner(runStep); + } if (argsEnhancers) { argsEnhancers.forEach((enhancer: ArgsEnhancer) => storybook.addArgsEnhancer(enhancer as any) diff --git a/code/addons/storyshots/storyshots-core/src/frameworks/riot/renderTree.ts b/code/addons/storyshots/storyshots-core/src/frameworks/riot/renderTree.ts index e44e181e241c..c4f1ce24419d 100644 --- a/code/addons/storyshots/storyshots-core/src/frameworks/riot/renderTree.ts +++ b/code/addons/storyshots/storyshots-core/src/frameworks/riot/renderTree.ts @@ -6,7 +6,7 @@ const riotForStorybook = jest.requireActual('@storybook/riot'); function bootstrapADocumentAndReturnANode() { const rootElement = document.createElement('div'); - rootElement.id = 'root'; + rootElement.id = 'storybook-root'; document.body = document.createElement('body'); document.body.appendChild(rootElement); return rootElement; diff --git a/code/addons/storyshots/storyshots-core/src/frameworks/svelte/renderTree.ts b/code/addons/storyshots/storyshots-core/src/frameworks/svelte/renderTree.ts index cb073cd8287d..f1bfb62a3794 100644 --- a/code/addons/storyshots/storyshots-core/src/frameworks/svelte/renderTree.ts +++ b/code/addons/storyshots/storyshots-core/src/frameworks/svelte/renderTree.ts @@ -1,6 +1,5 @@ /* eslint-disable camelcase */ import global from 'global'; -// @ts-ignore import { set_current_component } from 'svelte/internal'; const { document } = global; diff --git a/code/addons/storyshots/storyshots-core/src/frameworks/vue/renderTree.ts b/code/addons/storyshots/storyshots-core/src/frameworks/vue/renderTree.ts index edc7fe643ee5..ac1f225ad7f9 100644 --- a/code/addons/storyshots/storyshots-core/src/frameworks/vue/renderTree.ts +++ b/code/addons/storyshots/storyshots-core/src/frameworks/vue/renderTree.ts @@ -1,4 +1,3 @@ -// @ts-ignore import Vue from 'vue'; // this is defined in @storybook/vue but not exported, @@ -14,7 +13,7 @@ function getRenderedTree(story: any) { }, }); - // @ts-ignore + // @ts-expect-error (Converted from ts-ignore) vm[VALUES] = story.initialArgs; return vm.$mount().$el; diff --git a/code/addons/storyshots/storyshots-core/stories/required_with_context/Button.stories.js b/code/addons/storyshots/storyshots-core/stories/required_with_context/Button.stories.js index 222fac0b19ca..5544d92516f8 100644 --- a/code/addons/storyshots/storyshots-core/stories/required_with_context/Button.stories.js +++ b/code/addons/storyshots/storyshots-core/stories/required_with_context/Button.stories.js @@ -1,6 +1,5 @@ import React from 'react'; -import { action } from '@storybook/addon-actions'; import { Button } from '../react-demo'; export default { @@ -11,10 +10,10 @@ export default { }, }; -export const WithText = () => ; +export const WithText = () => ; export const WithSomeEmoji = () => ( - - - -`; - -exports[`Storyshots Addons/Actions Component Output with EventEmitter 1`] = ` - - - - - -`; - -exports[`Storyshots Addons/Actions Story with template 1`] = ` - - - -`; - -exports[`Storyshots Addons/Actions Use action in method 1`] = ` - - - - - -`; diff --git a/code/examples/angular-cli/src/stories/addons/actions/addon-actions.stories.ts b/code/examples/angular-cli/src/stories/addons/actions/addon-actions.stories.ts deleted file mode 100644 index e262e4d1f050..000000000000 --- a/code/examples/angular-cli/src/stories/addons/actions/addon-actions.stories.ts +++ /dev/null @@ -1,46 +0,0 @@ -import { action } from '@storybook/addon-actions'; -import { Meta, StoryFn } from '@storybook/angular'; -import { Button } from '../../angular-demo'; - -export default { - component: Button, - title: 'Addons/Actions', -} as Meta; - -export const ComponentOutputWithEventEmitter: StoryFn = () => ({ - props: { - text: 'Button 🥁', - onClick: action('On click'), - }, -}); -ComponentOutputWithEventEmitter.storyName = 'Component Output with EventEmitter'; - -export const UseActionInMethod: StoryFn = () => ({ - props: { - text: 'Button 🥁', - onClick: (e) => { - console.log(e); - e.preventDefault(); - action('Action name')(e.target, 'Another arg'); - }, - }, -}); -UseActionInMethod.storyName = 'Use action in method'; - -export const StoryTemplate: StoryFn = () => ({ - template: ``, - props: { - onClick: action('On click'), - onOver: action('On over'), - }, -}); -StoryTemplate.storyName = 'Story with template'; - -export const ComponentOutputWithArgsTypes: StoryFn = (args) => ({ - props: { - text: 'Button 🥁', - ...args, - }, -}); -ComponentOutputWithArgsTypes.storyName = 'Component Output with ArgsTypes'; -ComponentOutputWithArgsTypes.argTypes = { onClick: { action: 'On click' } }; diff --git a/code/examples/angular-cli/src/stories/addons/backgrounds/__snapshots__/addon-background.stories.storyshot b/code/examples/angular-cli/src/stories/addons/backgrounds/__snapshots__/addon-background.stories.storyshot deleted file mode 100644 index 3a5cd4bec6fb..000000000000 --- a/code/examples/angular-cli/src/stories/addons/backgrounds/__snapshots__/addon-background.stories.storyshot +++ /dev/null @@ -1,37 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`Storyshots Addons / Backgrounds Overridden 1`] = ` - - - - - -`; - -exports[`Storyshots Addons / Backgrounds With Component 1`] = ` - - - - - -`; - -exports[`Storyshots Addons / Backgrounds With Template 1`] = ` - - - - - -`; diff --git a/code/examples/angular-cli/src/stories/addons/backgrounds/addon-background.stories.ts b/code/examples/angular-cli/src/stories/addons/backgrounds/addon-background.stories.ts deleted file mode 100644 index fcf5527877df..000000000000 --- a/code/examples/angular-cli/src/stories/addons/backgrounds/addon-background.stories.ts +++ /dev/null @@ -1,38 +0,0 @@ -import type { Meta, StoryFn } from '@storybook/angular'; -import { Button } from '../../angular-demo'; - -export default { - title: 'Addons / Backgrounds', - component: Button, - parameters: { - backgrounds: { - default: 'twitter', - values: [ - { name: 'twitter', value: '#00aced' }, - { name: 'facebook', value: '#3b5998' }, - ], - }, - }, -} as Meta; - -export const WithComponent: StoryFn = () => ({ - props: { text: 'Button' }, -}); - -export const WithTemplate: StoryFn = () => ({ - template: ``, - props: { text: 'Button' }, -}); - -export const Overridden = () => ({ - props: { text: 'This one should have different backgrounds' }, -}); -Overridden.parameters = { - backgrounds: { - default: 'pink', - values: [ - { name: 'pink', value: 'hotpink' }, - { name: 'blue', value: 'deepskyblue' }, - ], - }, -}; diff --git a/code/examples/angular-cli/src/stories/addons/docs/simple.stories.mdx b/code/examples/angular-cli/src/stories/addons/docs/simple.stories.mdx index e5ff203bcbdf..d60148f46b21 100644 --- a/code/examples/angular-cli/src/stories/addons/docs/simple.stories.mdx +++ b/code/examples/angular-cli/src/stories/addons/docs/simple.stories.mdx @@ -1,6 +1,5 @@ import { Story, Meta, ArgsTable, Source } from '@storybook/addon-docs'; import { Button } from '../.././angular-demo'; -import { action } from '@storybook/addon-actions'; @@ -21,7 +20,7 @@ import { action } from '@storybook/addon-actions'; {(args) => ({ props: { text: args.text, - onClick: action('clicked'), + onClick: () => {}, }, })} diff --git a/code/examples/angular-cli/src/stories/basics/angular-forms/customControlValueAccessor/custom-cva-component.stories.ts b/code/examples/angular-cli/src/stories/basics/angular-forms/customControlValueAccessor/custom-cva-component.stories.ts index d438e2cc08a5..c23f4f49f1b0 100644 --- a/code/examples/angular-cli/src/stories/basics/angular-forms/customControlValueAccessor/custom-cva-component.stories.ts +++ b/code/examples/angular-cli/src/stories/basics/angular-forms/customControlValueAccessor/custom-cva-component.stories.ts @@ -1,5 +1,4 @@ import { FormsModule } from '@angular/forms'; -import { action } from '@storybook/addon-actions'; import { moduleMetadata, Meta, StoryFn } from '@storybook/angular'; import { CustomCvaComponent } from './custom-cva.component'; @@ -21,7 +20,7 @@ export default { export const SimpleInput: StoryFn = () => ({ props: { ngModel: 'Type anything', - ngModelChange: action('ngModelChange'), + ngModelChange: () => {}, }, }); diff --git a/code/examples/angular-cli/src/stories/core/styles/story-styles.stories.ts b/code/examples/angular-cli/src/stories/core/styles/story-styles.stories.ts index 2d3d7f08737e..a8fb561efc94 100644 --- a/code/examples/angular-cli/src/stories/core/styles/story-styles.stories.ts +++ b/code/examples/angular-cli/src/stories/core/styles/story-styles.stories.ts @@ -1,5 +1,4 @@ import { Meta, moduleMetadata, StoryFn } from '@storybook/angular'; -import { action } from '@storybook/addon-actions'; import { Button } from '../../angular-demo'; export default { @@ -15,7 +14,7 @@ export const TemplateStory: StoryFn = () => ({ template: ``, props: { text: 'Button with custom styles', - onClick: action('log'), + onClick: () => {}, }, styles: [ ` diff --git a/code/examples/cra-kitchen-sink/.storybook/main.ts b/code/examples/cra-kitchen-sink/.storybook/main.ts index 85ff96ef9f23..1d5e852f231e 100644 --- a/code/examples/cra-kitchen-sink/.storybook/main.ts +++ b/code/examples/cra-kitchen-sink/.storybook/main.ts @@ -25,7 +25,7 @@ const mainConfig: StorybookConfig = { const resolvePlugins = config.resolve?.plugins; if (Array.isArray(resolvePlugins)) { resolvePlugins.forEach((p) => { - // @ts-ignore + // @ts-expect-error (Converted from ts-ignore) const appSrcs = p.appSrcs as unknown as string[]; if (Array.isArray(appSrcs)) { appSrcs.push(path.join(__dirname, '..', '..', '..')); diff --git a/code/examples/cra-kitchen-sink/package.json b/code/examples/cra-kitchen-sink/package.json index c1ada759e826..f14d706a1d7d 100644 --- a/code/examples/cra-kitchen-sink/package.json +++ b/code/examples/cra-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "cra-kitchen-sink", - "version": "7.0.0-alpha.20", + "version": "7.0.0-alpha.31", "private": true, "scripts": { "build": "react-scripts build", @@ -11,7 +11,7 @@ "test": "react-scripts test --env=jsdom" }, "dependencies": { - "@storybook/client-logger": "7.0.0-alpha.20", + "@storybook/client-logger": "7.0.0-alpha.31", "global": "^4.4.0", "prop-types": "^15.7.2", "react": "16.14.0", @@ -21,21 +21,21 @@ }, "devDependencies": { "@pmmmwh/react-refresh-webpack-plugin": "^0.5.5", - "@storybook/addon-a11y": "7.0.0-alpha.20", - "@storybook/addon-actions": "7.0.0-alpha.20", - "@storybook/addon-backgrounds": "7.0.0-alpha.20", - "@storybook/addon-docs": "7.0.0-alpha.20", - "@storybook/addon-highlight": "7.0.0-alpha.20", - "@storybook/addon-jest": "7.0.0-alpha.20", - "@storybook/addon-links": "7.0.0-alpha.20", - "@storybook/addon-storyshots": "7.0.0-alpha.20", - "@storybook/addons": "7.0.0-alpha.20", - "@storybook/builder-webpack5": "7.0.0-alpha.20", + "@storybook/addon-a11y": "7.0.0-alpha.31", + "@storybook/addon-actions": "7.0.0-alpha.31", + "@storybook/addon-backgrounds": "7.0.0-alpha.31", + "@storybook/addon-docs": "7.0.0-alpha.31", + "@storybook/addon-highlight": "7.0.0-alpha.31", + "@storybook/addon-jest": "7.0.0-alpha.31", + "@storybook/addon-links": "7.0.0-alpha.31", + "@storybook/addon-storyshots": "7.0.0-alpha.31", + "@storybook/addons": "7.0.0-alpha.31", + "@storybook/builder-webpack5": "7.0.0-alpha.31", "@storybook/preset-create-react-app": "^4.1.0", - "@storybook/react": "7.0.0-alpha.20", - "@storybook/react-webpack5": "7.0.0-alpha.20", - "@storybook/theming": "7.0.0-alpha.20", - "storybook": "7.0.0-alpha.20", + "@storybook/react": "7.0.0-alpha.31", + "@storybook/react-webpack5": "7.0.0-alpha.31", + "@storybook/theming": "7.0.0-alpha.31", + "storybook": "7.0.0-alpha.31", "webpack": "5" }, "storybook": { diff --git a/code/examples/cra-kitchen-sink/src/stories/button.stories.js b/code/examples/cra-kitchen-sink/src/stories/button.stories.js index 030fcde029c1..20d13f8770c1 100644 --- a/code/examples/cra-kitchen-sink/src/stories/button.stories.js +++ b/code/examples/cra-kitchen-sink/src/stories/button.stories.js @@ -1,5 +1,4 @@ import React from 'react'; -import { action } from '@storybook/addon-actions'; import { Button } from '../components/react-demo'; export default { @@ -7,7 +6,7 @@ export default { component: Button, }; -export const Story1 = () => ; +export const Story1 = () => ; Story1.storyName = 'with text'; Story1.parameters = { @@ -15,7 +14,7 @@ Story1.parameters = { }; export const Story2 = () => ( - ; +export const Basic = () => ; -export const Nested = (args) => ( - ); -Nested.args = { onClick: action('clicked', { depth: 1 }) }; diff --git a/code/examples/cra-kitchen-sink/src/stories/long-description.stories.js b/code/examples/cra-kitchen-sink/src/stories/long-description.stories.js index 7f3d794c7f3d..7fd35cd5122f 100644 --- a/code/examples/cra-kitchen-sink/src/stories/long-description.stories.js +++ b/code/examples/cra-kitchen-sink/src/stories/long-description.stories.js @@ -1,10 +1,9 @@ import React from 'react'; -import { action } from '@storybook/addon-actions'; import { Button } from '../components/react-demo'; export default { title: 'Some really long story kind description', }; -export const Story1 = () => ; +export const Story1 = () => ; Story1.storyName = 'with text'; diff --git a/code/examples/cra-ts-essentials/.storybook/main.ts b/code/examples/cra-ts-essentials/.storybook/main.ts index 01c95af66b35..77cba3e12bc6 100644 --- a/code/examples/cra-ts-essentials/.storybook/main.ts +++ b/code/examples/cra-ts-essentials/.storybook/main.ts @@ -12,6 +12,7 @@ const mainConfig: StorybookConfig = { viewport: false, }, }, + '@storybook/addon-interactions', ], logLevel: 'debug', // add monorepo root as a valid directory to import modules from @@ -19,7 +20,7 @@ const mainConfig: StorybookConfig = { const resolvePlugins = config.resolve?.plugins; if (Array.isArray(resolvePlugins)) { resolvePlugins.forEach((p) => { - // @ts-ignore + // @ts-expect-error (Converted from ts-ignore) const appSrcs = p.appSrcs as unknown as string[]; if (Array.isArray(appSrcs)) { appSrcs.push(path.join(__dirname, '..', '..', '..')); diff --git a/code/examples/cra-ts-essentials/package.json b/code/examples/cra-ts-essentials/package.json index 81d1531be4f3..df090383e69d 100644 --- a/code/examples/cra-ts-essentials/package.json +++ b/code/examples/cra-ts-essentials/package.json @@ -1,6 +1,6 @@ { "name": "cra-ts-essentials", - "version": "7.0.0-alpha.20", + "version": "7.0.0-alpha.31", "private": true, "scripts": { "build": "react-scripts build", @@ -23,8 +23,8 @@ ] }, "dependencies": { - "@storybook/components": "7.0.0-alpha.20", - "@storybook/theming": "7.0.0-alpha.20", + "@storybook/components": "7.0.0-alpha.31", + "@storybook/theming": "7.0.0-alpha.31", "@types/jest": "^26.0.16", "@types/node": "^14.14.20 || ^16.0.0", "@types/react": "^16.14.23", @@ -37,14 +37,15 @@ "typescript": "~4.6.3" }, "devDependencies": { - "@storybook/addon-essentials": "7.0.0-alpha.20", - "@storybook/addons": "7.0.0-alpha.20", - "@storybook/builder-webpack5": "7.0.0-alpha.20", + "@storybook/addon-essentials": "7.0.0-alpha.31", + "@storybook/addon-interactions": "7.0.0-alpha.31", + "@storybook/addons": "7.0.0-alpha.31", + "@storybook/builder-webpack5": "7.0.0-alpha.31", "@storybook/preset-create-react-app": "^4.1.0", - "@storybook/react": "7.0.0-alpha.20", - "@storybook/react-webpack5": "7.0.0-alpha.20", + "@storybook/react": "7.0.0-alpha.31", + "@storybook/react-webpack5": "7.0.0-alpha.31", "@storybook/testing-library": "^0.0.9", - "storybook": "7.0.0-alpha.20", + "storybook": "7.0.0-alpha.31", "ts-node": "^10.4.0", "webpack": "5" }, diff --git a/code/examples/cra-ts-essentials/src/stories/testing-react/components/Button.stories.tsx b/code/examples/cra-ts-essentials/src/stories/testing-react/components/Button.stories.tsx index 7dc7cabc6a55..d87e1e317baf 100644 --- a/code/examples/cra-ts-essentials/src/stories/testing-react/components/Button.stories.tsx +++ b/code/examples/cra-ts-essentials/src/stories/testing-react/components/Button.stories.tsx @@ -79,8 +79,10 @@ export const CSF3InputFieldFilled: CSF3Story = { render: () => { return ; }, - play: async ({ canvasElement }) => { + play: async ({ canvasElement, step }) => { const canvas = within(canvasElement); - await userEvent.type(canvas.getByTestId('input'), 'Hello world!'); + await step('Step label', async () => { + await userEvent.type(canvas.getByTestId('input'), 'Hello world!'); + }); }, }; diff --git a/code/examples/cra-ts-kitchen-sink/.storybook/main.ts b/code/examples/cra-ts-kitchen-sink/.storybook/main.ts index 471226181de3..aace39ecad7a 100644 --- a/code/examples/cra-ts-kitchen-sink/.storybook/main.ts +++ b/code/examples/cra-ts-kitchen-sink/.storybook/main.ts @@ -20,7 +20,7 @@ const mainConfig: StorybookConfig = { const resolvePlugins = config.resolve?.plugins; if (Array.isArray(resolvePlugins)) { resolvePlugins.forEach((p) => { - // @ts-ignore + // @ts-expect-error (Converted from ts-ignore) const appSrcs = p.appSrcs as unknown as string[]; if (Array.isArray(appSrcs)) { appSrcs.push(path.join(__dirname, '..', '..', '..')); diff --git a/code/examples/cra-ts-kitchen-sink/package.json b/code/examples/cra-ts-kitchen-sink/package.json index fd96d74e9cb0..50acf5d07eaf 100644 --- a/code/examples/cra-ts-kitchen-sink/package.json +++ b/code/examples/cra-ts-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "cra-ts-kitchen-sink", - "version": "7.0.0-alpha.20", + "version": "7.0.0-alpha.31", "private": true, "scripts": { "build": "react-scripts build", @@ -34,23 +34,23 @@ "typescript": "~4.6.3" }, "devDependencies": { - "@storybook/addon-a11y": "7.0.0-alpha.20", - "@storybook/addon-actions": "7.0.0-alpha.20", - "@storybook/addon-docs": "7.0.0-alpha.20", - "@storybook/addon-highlight": "7.0.0-alpha.20", - "@storybook/addon-links": "7.0.0-alpha.20", - "@storybook/addons": "7.0.0-alpha.20", - "@storybook/builder-webpack5": "7.0.0-alpha.20", + "@storybook/addon-a11y": "7.0.0-alpha.31", + "@storybook/addon-actions": "7.0.0-alpha.31", + "@storybook/addon-docs": "7.0.0-alpha.31", + "@storybook/addon-highlight": "7.0.0-alpha.31", + "@storybook/addon-links": "7.0.0-alpha.31", + "@storybook/addons": "7.0.0-alpha.31", + "@storybook/builder-webpack5": "7.0.0-alpha.31", "@storybook/preset-create-react-app": "^4.1.0", - "@storybook/react": "7.0.0-alpha.20", - "@storybook/react-webpack5": "7.0.0-alpha.20", + "@storybook/react": "7.0.0-alpha.31", + "@storybook/react-webpack5": "7.0.0-alpha.31", "@types/enzyme": "^3.10.8", "enzyme": "^3.11.0", "enzyme-adapter-react-16": "^1.9.1", "enzyme-to-json": "^3.6.1", "fork-ts-checker-webpack-plugin": "^7.2.6", "react-moment-proptypes": "^1.7.0", - "storybook": "7.0.0-alpha.20", + "storybook": "7.0.0-alpha.31", "ts-node": "^10.4.0", "webpack": "5" }, diff --git a/code/examples/cra-ts-kitchen-sink/src/components/Button.stories.tsx b/code/examples/cra-ts-kitchen-sink/src/components/Button.stories.tsx index a13b3e24399f..677c00b77219 100644 --- a/code/examples/cra-ts-kitchen-sink/src/components/Button.stories.tsx +++ b/code/examples/cra-ts-kitchen-sink/src/components/Button.stories.tsx @@ -1,5 +1,4 @@ import React from 'react'; -import { action } from '@storybook/addon-actions'; import Button, { Type } from './Button'; export default { @@ -9,7 +8,7 @@ export default { export const SimpleButton = () => { const x = 0; - return ; + return ; }; const typeOptions = { diff --git a/code/examples/cra-ts-kitchen-sink/src/stories/1-Button.stories.tsx b/code/examples/cra-ts-kitchen-sink/src/stories/1-Button.stories.tsx index 6b9a2d25e804..df60c8e704a0 100644 --- a/code/examples/cra-ts-kitchen-sink/src/stories/1-Button.stories.tsx +++ b/code/examples/cra-ts-kitchen-sink/src/stories/1-Button.stories.tsx @@ -1,5 +1,4 @@ import React from 'react'; -import { action } from '@storybook/addon-actions'; import { Button } from './Button'; export default { @@ -7,10 +6,10 @@ export default { component: Button, }; -export const Text = () => ; +export const Text = () => ; export const Emoji = () => ( - ); ButtonReactFC.defaultProps = { - // @ts-ignore onClick: null, }; @@ -26,7 +25,6 @@ export const ButtonFC: FC = ({ onClick, children }) => ( ); ButtonFC.defaultProps = { - // @ts-ignore onClick: null, }; @@ -37,6 +35,5 @@ export const ButtonFunctionComponent: FC = ({ onClick, children }) ); ButtonFunctionComponent.defaultProps = { - // @ts-ignore onClick: null, }; diff --git a/code/examples/cra-ts-kitchen-sink/src/stories/docgen-tests/types/ext.js b/code/examples/cra-ts-kitchen-sink/src/stories/docgen-tests/types/ext.js index 047b6b362bd3..11d0ad4810bb 100644 --- a/code/examples/cra-ts-kitchen-sink/src/stories/docgen-tests/types/ext.js +++ b/code/examples/cra-ts-kitchen-sink/src/stories/docgen-tests/types/ext.js @@ -1,4 +1,4 @@ -// @ts-ignore +// @ts-expect-error (Converted from ts-ignore) import PropTypes from 'prop-types'; export const PRESET_SHAPE = { diff --git a/code/examples/doc-blocks/.storybook/main.ts b/code/examples/doc-blocks/.storybook/main.ts index 4f50d98e6f67..0e8ffacb423b 100644 --- a/code/examples/doc-blocks/.storybook/main.ts +++ b/code/examples/doc-blocks/.storybook/main.ts @@ -8,10 +8,6 @@ const config: StorybookConfig = { channelOptions: { allowFunction: false, maxDepth: 10 }, disableTelemetry: true, }, - typescript: { - check: true, - checkOptions: {}, - }, features: { postcss: false, storyStoreV7: true, diff --git a/code/examples/doc-blocks/package.json b/code/examples/doc-blocks/package.json index d61238b26f02..b5d18781a750 100644 --- a/code/examples/doc-blocks/package.json +++ b/code/examples/doc-blocks/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/example-doc-blocks", - "version": "7.0.0-alpha.20", + "version": "7.0.0-alpha.31", "private": true, "scripts": { "build-storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true sb build", @@ -15,20 +15,20 @@ "@babel/preset-env": "^7.12.11", "@babel/preset-react": "^7.12.10", "@babel/preset-typescript": "^7.12.7", - "@storybook/addon-essentials": "7.0.0-alpha.20", - "@storybook/addon-storyshots": "7.0.0-alpha.20", - "@storybook/addon-storysource": "7.0.0-alpha.20", - "@storybook/addons": "7.0.0-alpha.20", - "@storybook/cli": "7.0.0-alpha.20", - "@storybook/components": "7.0.0-alpha.20", - "@storybook/react-webpack5": "7.0.0-alpha.20", - "@storybook/theming": "7.0.0-alpha.20", + "@storybook/addon-essentials": "7.0.0-alpha.31", + "@storybook/addon-storyshots": "7.0.0-alpha.31", + "@storybook/addon-storysource": "7.0.0-alpha.31", + "@storybook/addons": "7.0.0-alpha.31", + "@storybook/cli": "7.0.0-alpha.31", + "@storybook/components": "7.0.0-alpha.31", + "@storybook/react-webpack5": "7.0.0-alpha.31", + "@storybook/theming": "7.0.0-alpha.31", "@types/babel__preset-env": "^7", "@types/react": "^16.14.23", "@types/react-dom": "^16.9.14", "cross-env": "^7.0.3", "lodash": "^4.17.21", - "sb": "7.0.0-alpha.20", + "sb": "7.0.0-alpha.31", "typescript": "~4.6.3", "webpack": "5" }, diff --git a/code/examples/ember-cli/package.json b/code/examples/ember-cli/package.json index 388b46e3f009..476b80a0ab20 100644 --- a/code/examples/ember-cli/package.json +++ b/code/examples/ember-cli/package.json @@ -1,6 +1,6 @@ { "name": "ember-example", - "version": "7.0.0-alpha.20", + "version": "7.0.0-alpha.31", "private": true, "scripts": { "--build-storybook": "yarn storybook-prebuild && storybook build", @@ -17,19 +17,19 @@ "devDependencies": { "@babel/core": "^7.12.10", "@ember/optional-features": "^2.0.0", - "@storybook/addon-a11y": "7.0.0-alpha.20", - "@storybook/addon-actions": "7.0.0-alpha.20", - "@storybook/addon-backgrounds": "7.0.0-alpha.20", - "@storybook/addon-controls": "7.0.0-alpha.20", - "@storybook/addon-docs": "7.0.0-alpha.20", - "@storybook/addon-highlight": "7.0.0-alpha.20", - "@storybook/addon-links": "7.0.0-alpha.20", - "@storybook/addon-storysource": "7.0.0-alpha.20", - "@storybook/addon-viewport": "7.0.0-alpha.20", - "@storybook/addons": "7.0.0-alpha.20", - "@storybook/ember": "7.0.0-alpha.20", + "@storybook/addon-a11y": "7.0.0-alpha.31", + "@storybook/addon-actions": "7.0.0-alpha.31", + "@storybook/addon-backgrounds": "7.0.0-alpha.31", + "@storybook/addon-controls": "7.0.0-alpha.31", + "@storybook/addon-docs": "7.0.0-alpha.31", + "@storybook/addon-highlight": "7.0.0-alpha.31", + "@storybook/addon-links": "7.0.0-alpha.31", + "@storybook/addon-storysource": "7.0.0-alpha.31", + "@storybook/addon-viewport": "7.0.0-alpha.31", + "@storybook/addons": "7.0.0-alpha.31", + "@storybook/ember": "7.0.0-alpha.31", "@storybook/ember-cli-storybook": "^0.2.1", - "@storybook/source-loader": "7.0.0-alpha.20", + "@storybook/source-loader": "7.0.0-alpha.31", "babel-loader": "^8.2.5", "broccoli-asset-rev": "^3.0.0", "browserify-zlib": "^0.2.0", @@ -49,7 +49,7 @@ "loader.js": "^4.7.0", "os-browserify": "^0.3.0", "shx": "^0.3.2", - "storybook": "7.0.0-alpha.20", + "storybook": "7.0.0-alpha.31", "stream-browserify": "^3.0.0", "vm-browserify": "^1.1.2", "webpack": "5", diff --git a/code/examples/ember-cli/stories/addon-actions.stories.js b/code/examples/ember-cli/stories/addon-actions.stories.js deleted file mode 100644 index ce4b67a59eec..000000000000 --- a/code/examples/ember-cli/stories/addon-actions.stories.js +++ /dev/null @@ -1,18 +0,0 @@ -import { hbs } from 'ember-cli-htmlbars'; -import { action } from '@storybook/addon-actions'; - -export default { - title: 'Addon/Actions', - parameters: { - options: { - selectedPanel: 'storybook/actions/panel', - }, - }, -}; - -export const Button = () => ({ - template: hbs``, - context: { - onClick: action('clicked'), - }, -}); diff --git a/code/examples/ember-cli/stories/addon-backgrounds.stories.js b/code/examples/ember-cli/stories/addon-backgrounds.stories.js deleted file mode 100644 index 39d5848ce98b..000000000000 --- a/code/examples/ember-cli/stories/addon-backgrounds.stories.js +++ /dev/null @@ -1,26 +0,0 @@ -import { hbs } from 'ember-cli-htmlbars'; - -export default { - title: 'Addon/Backgrounds', - parameters: { - backgrounds: { - default: 'dark', - values: [ - { name: 'light', value: '#eeeeee' }, - { name: 'dark', value: '#222222' }, - ], - }, - }, -}; - -export const Story1 = () => ({ - template: hbs``, -}); - -Story1.storyName = 'story 1'; - -export const Story2 = () => ({ - template: hbs``, -}); - -Story2.storyName = 'story 2'; diff --git a/code/examples/ember-cli/stories/welcome-banner.stories.js b/code/examples/ember-cli/stories/welcome-banner.stories.js index 1128476813e1..516c90cb4af6 100644 --- a/code/examples/ember-cli/stories/welcome-banner.stories.js +++ b/code/examples/ember-cli/stories/welcome-banner.stories.js @@ -1,5 +1,4 @@ import { hbs } from 'ember-cli-htmlbars'; -import { action } from '@storybook/addon-actions'; export default { title: 'welcome-banner', @@ -23,7 +22,6 @@ export const Basic = (args) => ({ subTitleColor=subTitleColor title=title subtitle=subtitle - click=(action onClick) }} `, context: args, @@ -34,5 +32,4 @@ Basic.args = { subTitleColor: '#B8854F', title: 'Welcome to storybook', subtitle: 'This environment is completely editable', - onClick: action('clicked'), }; diff --git a/code/examples/external-docs/package.json b/code/examples/external-docs/package.json index 356f2080463f..df74f80233c1 100644 --- a/code/examples/external-docs/package.json +++ b/code/examples/external-docs/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/external-docs", - "version": "7.0.0-alpha.20", + "version": "7.0.0-alpha.31", "private": true, "scripts": { "build": "next build", @@ -11,15 +11,15 @@ "storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true storybook dev -p 9011 --no-manager-cache -c .storybook" }, "dependencies": { - "@storybook/addon-docs": "7.0.0-alpha.20", - "@storybook/addon-essentials": "7.0.0-alpha.20", - "@storybook/blocks": "7.0.0-alpha.20", - "@storybook/components": "7.0.0-alpha.20", + "@storybook/addon-docs": "7.0.0-alpha.31", + "@storybook/addon-essentials": "7.0.0-alpha.31", + "@storybook/blocks": "7.0.0-alpha.31", + "@storybook/components": "7.0.0-alpha.31", "@storybook/csf": "0.0.2--canary.0899bb7.0", - "@storybook/preview-web": "7.0.0-alpha.20", - "@storybook/react": "7.0.0-alpha.20", - "@storybook/react-webpack5": "7.0.0-alpha.20", - "@storybook/theming": "7.0.0-alpha.20", + "@storybook/preview-web": "7.0.0-alpha.31", + "@storybook/react": "7.0.0-alpha.31", + "@storybook/react-webpack5": "7.0.0-alpha.31", + "@storybook/theming": "7.0.0-alpha.31", "formik": "^2.2.9", "next": "^12.1.0", "nextra": "^1.1.0", @@ -38,7 +38,7 @@ "cross-env": "^7.0.3", "eslint": "8.7.0", "eslint-config-next": "12.0.8", - "storybook": "7.0.0-alpha.20", + "storybook": "7.0.0-alpha.31", "typescript": "~4.6.3", "webpack": "5" } diff --git a/code/examples/html-kitchen-sink/package.json b/code/examples/html-kitchen-sink/package.json index 3f7a99cef010..f63521ed91a4 100644 --- a/code/examples/html-kitchen-sink/package.json +++ b/code/examples/html-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "html-kitchen-sink", - "version": "7.0.0-alpha.20", + "version": "7.0.0-alpha.31", "private": true, "description": "", "keywords": [], @@ -13,31 +13,31 @@ "storybook": "storybook dev -p 9006 --no-manager-cache" }, "devDependencies": { - "@storybook/addon-a11y": "7.0.0-alpha.20", - "@storybook/addon-actions": "7.0.0-alpha.20", - "@storybook/addon-backgrounds": "7.0.0-alpha.20", - "@storybook/addon-controls": "7.0.0-alpha.20", - "@storybook/addon-docs": "7.0.0-alpha.20", - "@storybook/addon-highlight": "7.0.0-alpha.20", - "@storybook/addon-jest": "7.0.0-alpha.20", - "@storybook/addon-links": "7.0.0-alpha.20", + "@storybook/addon-a11y": "7.0.0-alpha.31", + "@storybook/addon-actions": "7.0.0-alpha.31", + "@storybook/addon-backgrounds": "7.0.0-alpha.31", + "@storybook/addon-controls": "7.0.0-alpha.31", + "@storybook/addon-docs": "7.0.0-alpha.31", + "@storybook/addon-highlight": "7.0.0-alpha.31", + "@storybook/addon-jest": "7.0.0-alpha.31", + "@storybook/addon-links": "7.0.0-alpha.31", "@storybook/addon-postcss": "^2.0.0", - "@storybook/addon-storyshots": "7.0.0-alpha.20", - "@storybook/addon-storysource": "7.0.0-alpha.20", - "@storybook/addon-viewport": "7.0.0-alpha.20", - "@storybook/addons": "7.0.0-alpha.20", - "@storybook/client-api": "7.0.0-alpha.20", - "@storybook/core-events": "7.0.0-alpha.20", - "@storybook/html": "7.0.0-alpha.20", - "@storybook/html-webpack5": "7.0.0-alpha.20", - "@storybook/source-loader": "7.0.0-alpha.20", + "@storybook/addon-storyshots": "7.0.0-alpha.31", + "@storybook/addon-storysource": "7.0.0-alpha.31", + "@storybook/addon-viewport": "7.0.0-alpha.31", + "@storybook/addons": "7.0.0-alpha.31", + "@storybook/client-api": "7.0.0-alpha.31", + "@storybook/core-events": "7.0.0-alpha.31", + "@storybook/html": "7.0.0-alpha.31", + "@storybook/html-webpack5": "7.0.0-alpha.31", + "@storybook/source-loader": "7.0.0-alpha.31", "autoprefixer": "^10.0.1", "eventemitter3": "^4.0.7", "format-json": "^1.0.3", "global": "^4.4.0", "postcss": "^8.2.4", "postcss-color-rebeccapurple": "^6.0.0", - "storybook": "7.0.0-alpha.20" + "storybook": "7.0.0-alpha.31" }, "storybook": { "chromatic": { diff --git a/code/examples/html-kitchen-sink/stories/addon-actions.stories.js b/code/examples/html-kitchen-sink/stories/addon-actions.stories.js deleted file mode 100644 index 1ed26062f388..000000000000 --- a/code/examples/html-kitchen-sink/stories/addon-actions.stories.js +++ /dev/null @@ -1,85 +0,0 @@ -import { withActions } from '@storybook/addon-actions'; - -const buttonStory = () => () => ``; - -export default { - title: 'Addons/Actions', -}; - -export const Story1 = buttonStory(); -Story1.storyName = 'Hello World'; - -Story1.parameters = { - actions: { - handles: ['click'], - }, -}; - -export const Story2 = buttonStory(); -Story2.storyName = 'Multiple actions'; - -Story2.parameters = { - actions: { - handles: ['click', 'contextmenu'], - }, -}; - -export const Story3 = buttonStory(); -Story3.storyName = 'Multiple actions + config'; - -Story3.parameters = { - actions: { - handles: ['click', 'contextmenu', { clearOnStoryChange: false }], - }, -}; - -export const Story4 = buttonStory(); -Story4.storyName = 'Multiple actions, object'; - -Story4.parameters = { - actions: { - handles: [{ click: 'clicked', contextmenu: 'right clicked' }], - }, -}; - -export const Story5 = () => ` -
- Clicks on this button will be logged: -
- `; -Story5.storyName = 'Multiple actions, selector'; - -Story5.parameters = { - actions: { - handles: [{ 'click .btn': 'clicked', contextmenu: 'right clicked' }], - }, -}; - -export const Story6 = buttonStory(); -Story6.storyName = 'Multiple actions, object + config'; - -Story6.parameters = { - actions: { - handles: [{ click: 'clicked', contextmenu: 'right clicked' }, { clearOnStoryChange: false }], - }, -}; - -export const DeprecatedDecoratorsStory1 = buttonStory(); -DeprecatedDecoratorsStory1.storyName = 'Deprecated decorators - Single action'; -DeprecatedDecoratorsStory1.decorators = [withActions('click')]; - -export const DeprecatedDecoratorsStory2 = buttonStory(); -DeprecatedDecoratorsStory2.storyName = 'Deprecated decorators - Multiple actions'; -DeprecatedDecoratorsStory2.decorators = [withActions('click', 'contextmenu')]; - -export const DeprecatedDecoratorsStory3 = buttonStory(); -DeprecatedDecoratorsStory3.storyName = 'Deprecated decorators - Multiple actions + config'; -DeprecatedDecoratorsStory3.decorators = [ - withActions('click', 'contextmenu', { clearOnStoryChange: false }), -]; - -export const DeprecatedDecoratorsStory4 = buttonStory(); -DeprecatedDecoratorsStory4.storyName = 'Deprecated decorators - Multiple actions, object'; -DeprecatedDecoratorsStory4.decorators = [ - withActions({ click: 'clicked', contextmenu: 'right clicked' }), -]; diff --git a/code/examples/html-kitchen-sink/stories/addon-backgrounds.stories.js b/code/examples/html-kitchen-sink/stories/addon-backgrounds.stories.js deleted file mode 100644 index 91b21d9d6c16..000000000000 --- a/code/examples/html-kitchen-sink/stories/addon-backgrounds.stories.js +++ /dev/null @@ -1,19 +0,0 @@ -export default { - title: 'Addons/Backgrounds', - parameters: { - backgrounds: { - default: 'dark', - values: [ - { name: 'light', value: '#eeeeee' }, - { name: 'dark', value: '#222222' }, - ], - }, - }, -}; - -export const Story1 = () => - 'You should be able to switch backgrounds for this story'; -Story1.storyName = 'story 1'; - -export const Story2 = () => 'This one too!'; -Story2.storyName = 'story 2'; diff --git a/code/examples/html-kitchen-sink/stories/addon-docs.stories.mdx b/code/examples/html-kitchen-sink/stories/addon-docs.stories.mdx index b844dc5e346d..8ac0ce1377da 100644 --- a/code/examples/html-kitchen-sink/stories/addon-docs.stories.mdx +++ b/code/examples/html-kitchen-sink/stories/addon-docs.stories.mdx @@ -1,5 +1,4 @@ import { Story, Canvas, Meta } from '@storybook/addon-docs'; -import { action } from '@storybook/addon-actions'; # Storybook Docs for HTML @@ -20,7 +19,6 @@ How you like them apples?! {() => { const btn = document.createElement('button'); btn.innerHTML = 'Hello Button'; - btn.addEventListener('click', action('Click')); return btn; }} diff --git a/code/examples/html-kitchen-sink/stories/button.stories.js b/code/examples/html-kitchen-sink/stories/button.stories.js index 11aef8777335..a8f079cafe0f 100644 --- a/code/examples/html-kitchen-sink/stories/button.stories.js +++ b/code/examples/html-kitchen-sink/stories/button.stories.js @@ -1,5 +1,4 @@ import global from 'global'; -import { action } from '@storybook/addon-actions'; import { useEffect } from '@storybook/client-api'; const { document } = global; @@ -15,7 +14,6 @@ export const Headings = () => export const Button = () => { const btn = document.createElement('button'); btn.innerHTML = 'Hello Button'; - btn.addEventListener('click', action('Click')); return btn; }; diff --git a/code/examples/official-storybook/manager.js b/code/examples/official-storybook/manager.js index 642d6e7bfb23..77104c4f6326 100644 --- a/code/examples/official-storybook/manager.js +++ b/code/examples/official-storybook/manager.js @@ -8,10 +8,11 @@ import addHeadWarning from './head-warning'; addHeadWarning('manager-head-not-loaded', 'Manager head not loaded'); const PrefixIcon = styled(Icons)(({ theme }) => ({ - marginRight: 8, + marginRight: 5, fontSize: 'inherit', - height: '1em', - width: '1em', + height: 12, + width: 12, + paddingTop: 1, display: 'inline', alignSelf: 'center', })); diff --git a/code/examples/official-storybook/package.json b/code/examples/official-storybook/package.json index 1b0b0278ca2e..32bd8aeddc0b 100644 --- a/code/examples/official-storybook/package.json +++ b/code/examples/official-storybook/package.json @@ -1,6 +1,6 @@ { "name": "official-storybook", - "version": "7.0.0-alpha.20", + "version": "7.0.0-alpha.31", "private": true, "scripts": { "build-storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true storybook build -c ./", @@ -13,33 +13,33 @@ "devDependencies": { "@emotion/jest": "^11.8.0", "@pmmmwh/react-refresh-webpack-plugin": "^0.5.5", - "@storybook/addon-a11y": "7.0.0-alpha.20", - "@storybook/addon-actions": "7.0.0-alpha.20", - "@storybook/addon-backgrounds": "7.0.0-alpha.20", - "@storybook/addon-controls": "7.0.0-alpha.20", - "@storybook/addon-docs": "7.0.0-alpha.20", - "@storybook/addon-highlight": "7.0.0-alpha.20", - "@storybook/addon-interactions": "7.0.0-alpha.20", - "@storybook/addon-jest": "7.0.0-alpha.20", - "@storybook/addon-links": "7.0.0-alpha.20", - "@storybook/addon-storyshots": "7.0.0-alpha.20", - "@storybook/addon-storyshots-puppeteer": "7.0.0-alpha.20", - "@storybook/addon-storysource": "7.0.0-alpha.20", - "@storybook/addon-toolbars": "7.0.0-alpha.20", - "@storybook/addon-viewport": "7.0.0-alpha.20", - "@storybook/addons": "7.0.0-alpha.20", - "@storybook/cli": "7.0.0-alpha.20", - "@storybook/components": "7.0.0-alpha.20", - "@storybook/core-events": "7.0.0-alpha.20", + "@storybook/addon-a11y": "7.0.0-alpha.31", + "@storybook/addon-actions": "7.0.0-alpha.31", + "@storybook/addon-backgrounds": "7.0.0-alpha.31", + "@storybook/addon-controls": "7.0.0-alpha.31", + "@storybook/addon-docs": "7.0.0-alpha.31", + "@storybook/addon-highlight": "7.0.0-alpha.31", + "@storybook/addon-interactions": "7.0.0-alpha.31", + "@storybook/addon-jest": "7.0.0-alpha.31", + "@storybook/addon-links": "7.0.0-alpha.31", + "@storybook/addon-storyshots": "7.0.0-alpha.31", + "@storybook/addon-storyshots-puppeteer": "7.0.0-alpha.31", + "@storybook/addon-storysource": "7.0.0-alpha.31", + "@storybook/addon-toolbars": "7.0.0-alpha.31", + "@storybook/addon-viewport": "7.0.0-alpha.31", + "@storybook/addons": "7.0.0-alpha.31", + "@storybook/cli": "7.0.0-alpha.31", + "@storybook/components": "7.0.0-alpha.31", + "@storybook/core-events": "7.0.0-alpha.31", "@storybook/design-system": "^5.4.7", "@storybook/jest": "^0.0.10", - "@storybook/node-logger": "7.0.0-alpha.20", - "@storybook/react": "7.0.0-alpha.20", - "@storybook/react-webpack5": "7.0.0-alpha.20", - "@storybook/router": "7.0.0-alpha.20", - "@storybook/source-loader": "7.0.0-alpha.20", + "@storybook/node-logger": "7.0.0-alpha.31", + "@storybook/react": "7.0.0-alpha.31", + "@storybook/react-webpack5": "7.0.0-alpha.31", + "@storybook/router": "7.0.0-alpha.31", + "@storybook/source-loader": "7.0.0-alpha.31", "@storybook/testing-library": "0.0.14-next.0", - "@storybook/theming": "7.0.0-alpha.20", + "@storybook/theming": "7.0.0-alpha.31", "@testing-library/dom": "^7.31.2", "@testing-library/user-event": "^13.1.9", "chromatic": "^6.0.2", @@ -55,7 +55,7 @@ "prop-types": "^15.7.2", "react": "16.14.0", "react-dom": "16.14.0", - "storybook": "7.0.0-alpha.20", + "storybook": "7.0.0-alpha.31", "terser-webpack-plugin": "^5.3.1", "uuid-browser": "^3.1.0", "webpack": "5" diff --git a/code/examples/official-storybook/preview.js b/code/examples/official-storybook/preview.js index 638d31b1af82..e4e0ef7fa7d9 100644 --- a/code/examples/official-storybook/preview.js +++ b/code/examples/official-storybook/preview.js @@ -72,6 +72,25 @@ const ThemeStack = styled.div( }) ); +const PlayFnNotice = styled.div( + { + position: 'absolute', + bottom: '1rem', + right: '1rem', + border: '1px solid #ccc', + borderRadius: '5px', + padding: '1rem', + fontSize: '12px', + '> *': { + display: 'block', + }, + }, + ({ theme }) => ({ + background: theme.background.app, + color: theme.color.defaultText, + }) +); + const ThemedSetRoot = () => { const theme = useTheme(); @@ -87,8 +106,9 @@ const ThemedSetRoot = () => { }; export const decorators = [ - (StoryFn, { globals, parameters }) => { - const theme = globals.theme || parameters.theme || (isChromatic() ? 'stacked' : 'light'); + (StoryFn, { globals, parameters, playFunction }) => { + const defaultTheme = isChromatic() && !playFunction ? 'stacked' : 'light'; + const theme = globals.theme || parameters.theme || defaultTheme; switch (theme) { case 'side-by-side': { @@ -137,6 +157,12 @@ export const decorators = [ + {!parameters.theme && isChromatic() && playFunction && ( + + Detected play function. + Rendering in a single theme + + )} ); diff --git a/code/examples/official-storybook/stories/addon-actions.stories.js b/code/examples/official-storybook/stories/addon-actions.stories.js deleted file mode 100644 index ae7ad1de5b38..000000000000 --- a/code/examples/official-storybook/stories/addon-actions.stories.js +++ /dev/null @@ -1,196 +0,0 @@ -/* eslint-disable react/prop-types */ -import global from 'global'; -import React, { Fragment } from 'react'; -import { action, actions, configureActions } from '@storybook/addon-actions'; -import { Form } from '@storybook/components'; - -const { window: globalWindow, File } = global; -const { Button } = Form; - -export default { - title: 'Addons/Actions', - parameters: { - options: { - selectedPanel: 'storybook/actions/panel', - }, - }, -}; - -export const ArgTypesExample = ({ onClick, onFocus }) => ( - -); - -ArgTypesExample.argTypes = { - onClick: { action: 'clicked!' }, - onFocus: { action: true }, -}; - -export const ArgTypesRegexExample = (args, context) => { - const { someFunction, onClick, onFocus } = args; - return ( - - ); -}; - -ArgTypesRegexExample.parameters = { actions: { argTypesRegex: '^on.*' } }; -ArgTypesRegexExample.argTypes = { someFunction: {}, onClick: {}, onFocus: {} }; - -export const BasicExample = () => ; - -BasicExample.storyName = 'Basic example'; - -export const MultipleActions = () => ( - -); - -MultipleActions.storyName = 'Multiple actions'; - -export const MultipleActionsConfig = () => ( - -); - -MultipleActionsConfig.storyName = 'Multiple actions + config'; - -export const MultipleActionsAsObject = () => ( - -); - -MultipleActionsAsObject.storyName = 'Multiple actions as object'; - -export const MultipleActionsObjectConfig = () => ( - -); - -MultipleActionsObjectConfig.storyName = 'Multiple actions, object + config'; - -export const CircularPayload = () => { - const circular = { foo: {} }; - circular.foo.circular = circular; - return ; -}; - -export const ReservedKeywordAsName = () => ; - -ReservedKeywordAsName.storyName = 'Reserved keyword as name'; - -export const AllTypes = () => { - function A() {} - function B() {} - - const bound = B.bind({}); - - let file; - try { - file = new File([''], 'filename.txt', { type: 'text/plain', lastModified: new Date() }); - } catch (error) { - file = error; - } - const reg = /fooBar/g; - - return ( - - - - - - - - - - - - - - - - - - - - - - - ); -}; - -AllTypes.storyName = 'All types'; - -export const ConfigureActionsDepth = () => { - configureActions({ - depth: 2, - }); - - return ( - - ); -}; - -export const PersistingTheActionLogger = () => ( - -

Moving away from this story will persist the action logger

- -
-); - -PersistingTheActionLogger.storyName = 'Persisting the action logger'; - -export const LimitActionOutput = () => { - configureActions({ - limit: 2, - }); - - return ( - - - - - ); -}; - -export const SkippedViaDisableTrue = () => ( - -); - -SkippedViaDisableTrue.storyName = 'skipped via disable:true'; - -SkippedViaDisableTrue.parameters = { - actions: { disable: true }, -}; diff --git a/code/examples/official-storybook/stories/addon-backgrounds.stories.js b/code/examples/official-storybook/stories/addon-backgrounds.stories.js deleted file mode 100644 index 3ad15dc5a00b..000000000000 --- a/code/examples/official-storybook/stories/addon-backgrounds.stories.js +++ /dev/null @@ -1,117 +0,0 @@ -import React from 'react'; - -import BaseButton from '../components/BaseButton'; - -export default { - title: 'Addons/Backgrounds', - parameters: { - backgrounds: { - default: 'dark', - values: [ - { name: 'white', value: '#ffffff' }, - { name: 'light', value: '#eeeeee' }, - { name: 'gray', value: '#cccccc' }, - { name: 'dark', value: '#222222' }, - { name: 'black', value: '#000000' }, - ], - }, - }, -}; - -const Template = (args) => ; - -export const Story1 = Template.bind({}); -Story1.args = { - label: 'You should be able to switch backgrounds for this story', -}; - -export const Story2 = Template.bind({}); -Story2.args = { - label: 'This one too!', -}; - -export const Overridden = Template.bind({}); -Overridden.args = { - label: 'This one should have different backgrounds', -}; -Overridden.parameters = { - backgrounds: { - default: 'blue', - values: [ - { name: 'pink', value: 'hotpink' }, - { name: 'blue', value: 'deepskyblue' }, - ], - }, -}; - -export const WithGradient = Template.bind({}); -WithGradient.args = { - label: 'This one should have a nice gradient', -}; -WithGradient.parameters = { - backgrounds: { - default: 'gradient', - values: [ - { - name: 'gradient', - value: - 'linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(9,9,121,1) 35%, rgba(0,212,255,1) 100%)', - }, - ], - }, -}; - -export const WithImage = Template.bind({}); -WithImage.args = { - label: 'This one should have an image background', -}; -WithImage.parameters = { - backgrounds: { - default: 'space', - values: [ - { - name: 'space', - value: 'url(https://cdn.pixabay.com/photo/2017/08/30/01/05/milky-way-2695569_960_720.jpg)', - }, - ], - }, -}; - -export const DisabledBackgrounds = Template.bind({}); -DisabledBackgrounds.args = { - label: 'This one should not use backgrounds', -}; -DisabledBackgrounds.parameters = { - backgrounds: { disable: true }, -}; - -export const DisabledGrid = Template.bind({}); -DisabledGrid.args = { - label: 'This one should not use grid', -}; -DisabledGrid.parameters = { - backgrounds: { - grid: { disable: true }, - }, -}; -export const GridCellProperties = Template.bind({}); -GridCellProperties.args = { - label: 'This one should have different grid properties', -}; -GridCellProperties.parameters = { - backgrounds: { - grid: { - cellSize: 10, - cellAmount: 4, - opacity: 0.2, - }, - }, -}; - -export const AlignedGridWhenFullScreen = Template.bind({}); -AlignedGridWhenFullScreen.args = { - label: 'Grid should have an offset of 0 when in fullscreen', -}; -AlignedGridWhenFullScreen.parameters = { - layout: 'fullscreen', -}; diff --git a/code/examples/official-storybook/stories/addon-docs/addon-docs-mdx.stories.mdx b/code/examples/official-storybook/stories/addon-docs/addon-docs-mdx.stories.mdx index e23e82ee2425..44ebc1911a3d 100644 --- a/code/examples/official-storybook/stories/addon-docs/addon-docs-mdx.stories.mdx +++ b/code/examples/official-storybook/stories/addon-docs/addon-docs-mdx.stories.mdx @@ -8,7 +8,6 @@ import { ColorItem, Meta, } from '@storybook/addon-docs'; -import { action } from '@storybook/addon-actions'; import styled from 'styled-components'; import { Button } from '../../components/react-demo'; import TsButton from '../../components/TsButton'; @@ -78,22 +77,22 @@ export const nonStory2 = () => ; // another one - + - + - + - + Plain text - + @@ -120,7 +119,7 @@ export const nonStory2 = () => ; // another one - + ## Configurable height @@ -192,10 +191,16 @@ Fixed layout requires custom `height` since it can't be determined. - + +### withSource="open" + + +

source open

+
+ ## Docs Disable diff --git a/code/examples/official-storybook/stories/addon-docs/ts-button.stories.tsx b/code/examples/official-storybook/stories/addon-docs/ts-button.stories.tsx index 2e0e56365274..e0a2b613a1a1 100644 --- a/code/examples/official-storybook/stories/addon-docs/ts-button.stories.tsx +++ b/code/examples/official-storybook/stories/addon-docs/ts-button.stories.tsx @@ -1,5 +1,4 @@ import * as React from 'react'; -import { action } from '@storybook/addon-actions'; import Button, { Type } from '../../components/TsButton'; export default { @@ -14,7 +13,7 @@ type Story = () => any; export const SimpleButton: Story = () => { const x = 0; - return ; + return ; }; const typeOptions = { diff --git a/code/examples/official-storybook/stories/addon-links/href.stories.js b/code/examples/official-storybook/stories/addon-links/href.stories.js index 64a912762d49..3f5e86ed4707 100644 --- a/code/examples/official-storybook/stories/addon-links/href.stories.js +++ b/code/examples/official-storybook/stories/addon-links/href.stories.js @@ -1,13 +1,12 @@ import React from 'react'; import { hrefTo } from '@storybook/addon-links'; -import { action } from '@storybook/addon-actions'; export default { title: 'Addons/Links/Href', }; export const Log = () => { - hrefTo('Addons/Links/Href', 'log').then((href) => action('URL of this story')(href)); + hrefTo('Addons/Links/Href', 'log'); return See action logger; }; diff --git a/code/examples/official-storybook/stories/addon-viewport/custom-default.stories.js b/code/examples/official-storybook/stories/addon-viewport/custom-default.stories.js deleted file mode 100644 index 8b6700546a25..000000000000 --- a/code/examples/official-storybook/stories/addon-viewport/custom-default.stories.js +++ /dev/null @@ -1,46 +0,0 @@ -import React from 'react'; -import { styled } from '@storybook/theming'; -import { INITIAL_VIEWPORTS } from '@storybook/addon-viewport'; - -const Panel = styled.div(); - -export default { - title: 'Addons/Viewport/Custom Default (Kindle Fire 2)', - parameters: { - viewport: { - viewports: { - ...INITIAL_VIEWPORTS, - kindleFire2: { - name: 'Kindle Fire 2', - styles: { - width: '600px', - height: '963px', - }, - }, - }, - }, - }, -}; - -export const Inherited = () => ( - - I've inherited Kindle Fire 2 viewport from my parent. - -); - -export const OverriddenViaWithViewportParameterizedDecorator = () => ( - - I respect my parents but I should be looking good on iPad. - -); -OverriddenViaWithViewportParameterizedDecorator.storyName = - 'Overridden via "withViewport" parameterized decorator'; -OverriddenViaWithViewportParameterizedDecorator.parameters = { - viewport: { defaultViewport: 'ipad' }, -}; - -export const Disabled = () => There should be no viewport selector in the toolbar; - -Disabled.parameters = { - viewport: { disable: true }, -}; diff --git a/code/examples/official-storybook/stories/addon-viewport/default.stories.js b/code/examples/official-storybook/stories/addon-viewport/default.stories.js deleted file mode 100644 index bdd2ee5ed7fe..000000000000 --- a/code/examples/official-storybook/stories/addon-viewport/default.stories.js +++ /dev/null @@ -1,18 +0,0 @@ -import React from 'react'; -import { styled } from '@storybook/theming'; -import { INITIAL_VIEWPORTS } from '@storybook/addon-viewport'; - -const Panel = styled.div(); - -export default { - title: 'Addons/Viewport', - parameters: { - viewport: { - viewports: INITIAL_VIEWPORTS, - }, - }, -}; -export const DefaultFn = () => ( - I don't have problems being rendered using the default viewport. -); -DefaultFn.storyName = 'default'; diff --git a/code/examples/official-storybook/stories/core/interleaved-exports.stories.js b/code/examples/official-storybook/stories/core/interleaved-exports.stories.js index 1acc88e83917..95c6661163ea 100644 --- a/code/examples/official-storybook/stories/core/interleaved-exports.stories.js +++ b/code/examples/official-storybook/stories/core/interleaved-exports.stories.js @@ -1,6 +1,5 @@ /* eslint-disable import/first,import/no-duplicates */ import React from 'react'; -import { action } from '@storybook/addon-actions'; export default { title: 'Core/Interleaved exports', @@ -9,8 +8,8 @@ export default { import { Welcome } from '../../components/react-demo'; -export const First = () => ; +export const First = () => {}} />; import { Button } from '../../components/react-demo'; -export const Second = () => ; +export const Second = () => ; diff --git a/code/examples/official-storybook/stories/demo/button.stories.js b/code/examples/official-storybook/stories/demo/button.stories.js index 8462ae2907cf..1eb7cd97d65a 100644 --- a/code/examples/official-storybook/stories/demo/button.stories.js +++ b/code/examples/official-storybook/stories/demo/button.stories.js @@ -1,5 +1,4 @@ import React, { useState } from 'react'; -import { action } from '@storybook/addon-actions'; import { Button } from '../../components/react-demo'; export default { @@ -16,11 +15,11 @@ export default { }, }; -export const WithText = () => ; +export const WithText = () => ; WithText.storyName = 'with text'; export const WithSomeEmoji = () => ( - + ## Emoji - ; diff --git a/code/examples/official-storybook/stories/title/CustomTitle.stories.js b/code/examples/official-storybook/stories/title/CustomTitle.stories.js index 1ff5710b11d1..12182a5d961e 100644 --- a/code/examples/official-storybook/stories/title/CustomTitle.stories.js +++ b/code/examples/official-storybook/stories/title/CustomTitle.stories.js @@ -8,4 +8,4 @@ export default { component: Button, }; -export const Basic = () => ; diff --git a/code/examples/preact-kitchen-sink/package.json b/code/examples/preact-kitchen-sink/package.json index db0289d49eed..0865aa844a98 100644 --- a/code/examples/preact-kitchen-sink/package.json +++ b/code/examples/preact-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "preact-example", - "version": "7.0.0-alpha.20", + "version": "7.0.0-alpha.31", "private": true, "scripts": { "build": "cross-env NODE_ENV=production webpack --progress --hide-modules", @@ -14,18 +14,18 @@ }, "devDependencies": { "@babel/core": "^7.12.10", - "@storybook/addon-a11y": "7.0.0-alpha.20", - "@storybook/addon-actions": "7.0.0-alpha.20", - "@storybook/addon-backgrounds": "7.0.0-alpha.20", - "@storybook/addon-highlight": "7.0.0-alpha.20", - "@storybook/addon-links": "7.0.0-alpha.20", - "@storybook/addon-storyshots": "7.0.0-alpha.20", - "@storybook/addon-storysource": "7.0.0-alpha.20", - "@storybook/addon-viewport": "7.0.0-alpha.20", - "@storybook/addons": "7.0.0-alpha.20", - "@storybook/preact": "7.0.0-alpha.20", - "@storybook/preact-webpack5": "7.0.0-alpha.20", - "@storybook/source-loader": "7.0.0-alpha.20", + "@storybook/addon-a11y": "7.0.0-alpha.31", + "@storybook/addon-actions": "7.0.0-alpha.31", + "@storybook/addon-backgrounds": "7.0.0-alpha.31", + "@storybook/addon-highlight": "7.0.0-alpha.31", + "@storybook/addon-links": "7.0.0-alpha.31", + "@storybook/addon-storyshots": "7.0.0-alpha.31", + "@storybook/addon-storysource": "7.0.0-alpha.31", + "@storybook/addon-viewport": "7.0.0-alpha.31", + "@storybook/addons": "7.0.0-alpha.31", + "@storybook/preact": "7.0.0-alpha.31", + "@storybook/preact-webpack5": "7.0.0-alpha.31", + "@storybook/source-loader": "7.0.0-alpha.31", "@types/prop-types": "^15.7.3", "@types/react": "^17", "@types/react-dom": "^17", @@ -38,7 +38,7 @@ "raw-loader": "^4.0.2", "react": "^17.0.2", "react-dom": "^17.0.2", - "storybook": "7.0.0-alpha.20", + "storybook": "7.0.0-alpha.31", "svg-url-loader": "^7.1.1", "webpack": "5", "webpack-dev-server": "^4.8.1" diff --git a/code/examples/preact-kitchen-sink/src/stories/addon-actions.stories.js b/code/examples/preact-kitchen-sink/src/stories/addon-actions.stories.js deleted file mode 100644 index 4694f4390372..000000000000 --- a/code/examples/preact-kitchen-sink/src/stories/addon-actions.stories.js +++ /dev/null @@ -1,53 +0,0 @@ -import { useState } from 'preact/hooks'; -import { action, actions } from '@storybook/addon-actions'; -import Button from '../Button'; - -export default { - title: 'Addons/Actions', -}; - -export const ActionOnly = () => { - const [clicks, setClicks] = useState(0); - const log = action('log'); - return ( - - ); -}; - -ActionOnly.storyName = 'Action only'; - -export const MultipleActions = () => ( - -); - -MultipleActions.storyName = 'Multiple actions'; - -export const MultipleActionsObject = () => ( - -); - -MultipleActionsObject.storyName = 'Multiple actions, object'; - -export const ActionAndMethod = () => ( - -); - -ActionAndMethod.storyName = 'Action and method'; diff --git a/code/examples/preact-kitchen-sink/src/stories/addon-backgrounds.stories.js b/code/examples/preact-kitchen-sink/src/stories/addon-backgrounds.stories.js deleted file mode 100644 index 6a6c1a3c1762..000000000000 --- a/code/examples/preact-kitchen-sink/src/stories/addon-backgrounds.stories.js +++ /dev/null @@ -1,25 +0,0 @@ -import Button from '../Button'; - -export default { - title: 'Addons/Backgrounds', - - parameters: { - backgrounds: { - default: 'facebook', - values: [ - { name: 'twitter', value: '#00aced' }, - { name: 'facebook', value: '#3b5998' }, - ], - }, - }, -}; - -export const Example1 = () => ( - -); - -Example1.storyName = 'Example 1'; - -export const Example2 = () => ; - -Example2.storyName = 'Example 2'; diff --git a/code/examples/preact-kitchen-sink/src/stories/button.stories.js b/code/examples/preact-kitchen-sink/src/stories/button.stories.js index 4194f4d8de92..12d6b51b4136 100644 --- a/code/examples/preact-kitchen-sink/src/stories/button.stories.js +++ b/code/examples/preact-kitchen-sink/src/stories/button.stories.js @@ -1,4 +1,3 @@ -import { action } from '@storybook/addon-actions'; import Button from '../Button'; export default { @@ -6,12 +5,12 @@ export default { component: Button, }; -export const WithText = () => ; +export const WithText = () => ; WithText.storyName = 'with text'; export const WithSomeEmoji = () => ( - `; exports[`Storyshots Custom Prefix/CustomTitle Basic 1`] = ` @@ -131,12 +132,12 @@ exports[`Storyshots Custom Prefix/CustomTitle Basic 1`] = ` .emotion-0 svg { display: inline-block; - height: 14px; - width: 14px; + height: 12px; + width: 12px; vertical-align: top; margin-right: 4px; - margin-top: -1px; - margin-bottom: -1px; + margin-top: 0; + margin-bottom: 0; pointer-events: none; } @@ -166,8 +167,9 @@ exports[`Storyshots Custom Prefix/CustomTitle Basic 1`] = ` `; exports[`Storyshots Demo/AccountForm Standard 1`] = ` diff --git a/code/examples/react-ts/src/title/AutoTitle.stories.js b/code/examples/react-ts/src/title/AutoTitle.stories.js index 125c1157c1c1..a7fcbf4a4e82 100644 --- a/code/examples/react-ts/src/title/AutoTitle.stories.js +++ b/code/examples/react-ts/src/title/AutoTitle.stories.js @@ -9,4 +9,4 @@ export default { component: Button, }; -export const Basic = () => ; diff --git a/code/examples/react-ts/src/title/CustomTitle.stories.js b/code/examples/react-ts/src/title/CustomTitle.stories.js index 1ff5710b11d1..12182a5d961e 100644 --- a/code/examples/react-ts/src/title/CustomTitle.stories.js +++ b/code/examples/react-ts/src/title/CustomTitle.stories.js @@ -8,4 +8,4 @@ export default { component: Button, }; -export const Basic = () => ; diff --git a/code/examples/server-kitchen-sink/package.json b/code/examples/server-kitchen-sink/package.json index 843084261e07..d68b83909e7b 100644 --- a/code/examples/server-kitchen-sink/package.json +++ b/code/examples/server-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "server-kitchen-sink", - "version": "7.0.0-alpha.20", + "version": "7.0.0-alpha.31", "private": true, "description": "", "keywords": [], @@ -14,15 +14,15 @@ "storybook": "SERVER_PORT=1137 storybook dev -p 9006 --quiet" }, "devDependencies": { - "@storybook/addon-a11y": "7.0.0-alpha.20", - "@storybook/addon-actions": "7.0.0-alpha.20", - "@storybook/addon-backgrounds": "7.0.0-alpha.20", - "@storybook/addon-controls": "7.0.0-alpha.20", - "@storybook/addon-highlight": "7.0.0-alpha.20", - "@storybook/addon-links": "7.0.0-alpha.20", - "@storybook/node-logger": "7.0.0-alpha.20", - "@storybook/server": "7.0.0-alpha.20", - "@storybook/server-webpack5": "7.0.0-alpha.20", + "@storybook/addon-a11y": "7.0.0-alpha.31", + "@storybook/addon-actions": "7.0.0-alpha.31", + "@storybook/addon-backgrounds": "7.0.0-alpha.31", + "@storybook/addon-controls": "7.0.0-alpha.31", + "@storybook/addon-highlight": "7.0.0-alpha.31", + "@storybook/addon-links": "7.0.0-alpha.31", + "@storybook/node-logger": "7.0.0-alpha.31", + "@storybook/server": "7.0.0-alpha.31", + "@storybook/server-webpack5": "7.0.0-alpha.31", "concurrently": "^5.3.0", "cors": "^2.8.5", "express": "~4.17.1", @@ -30,6 +30,6 @@ "nodemon": "^2.0.7", "pug": "^3.0.0", "safe-identifier": "^0.4.1", - "storybook": "7.0.0-alpha.20" + "storybook": "7.0.0-alpha.31" } } diff --git a/code/examples/standalone-preview/package.json b/code/examples/standalone-preview/package.json index 4da015571332..ebf056581239 100644 --- a/code/examples/standalone-preview/package.json +++ b/code/examples/standalone-preview/package.json @@ -1,20 +1,20 @@ { "name": "standalone-preview", - "version": "7.0.0-alpha.20", + "version": "7.0.0-alpha.31", "private": true, "scripts": { "storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true storybook dev -p 9011 -c ../official-storybook --no-manager-cache --preview-url=http://localhost:1337/external-iframe.html", "storybook-preview": "cross-env PREVIEW_URL=external-iframe.html parcel ./storybook.html --port 1337" }, "devDependencies": { - "@storybook/addon-docs": "7.0.0-alpha.20", - "@storybook/cli": "7.0.0-alpha.20", - "@storybook/react": "7.0.0-alpha.20", - "@storybook/react-webpack5": "7.0.0-alpha.20", + "@storybook/addon-docs": "7.0.0-alpha.31", + "@storybook/cli": "7.0.0-alpha.31", + "@storybook/react": "7.0.0-alpha.31", + "@storybook/react-webpack5": "7.0.0-alpha.31", "cross-env": "^7.0.3", "parcel": "2.0.1", "react": "16.14.0", "react-dom": "16.14.0", - "storybook": "7.0.0-alpha.20" + "storybook": "7.0.0-alpha.31" } } diff --git a/code/examples/standalone-preview/storybook.html b/code/examples/standalone-preview/storybook.html index ac1f9f1fe2cb..8982f5f79f68 100644 --- a/code/examples/standalone-preview/storybook.html +++ b/code/examples/standalone-preview/storybook.html @@ -7,8 +7,8 @@ -
-
+
+
diff --git a/code/examples/svelte-kitchen-sink/package.json b/code/examples/svelte-kitchen-sink/package.json index 137d71afbc3b..4be05d2e943d 100644 --- a/code/examples/svelte-kitchen-sink/package.json +++ b/code/examples/svelte-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "svelte-example", - "version": "7.0.0-alpha.20", + "version": "7.0.0-alpha.31", "private": true, "scripts": { "build-storybook": "storybook build", @@ -10,24 +10,24 @@ "global": "^4.4.0" }, "devDependencies": { - "@storybook/addon-a11y": "7.0.0-alpha.20", - "@storybook/addon-actions": "7.0.0-alpha.20", - "@storybook/addon-backgrounds": "7.0.0-alpha.20", - "@storybook/addon-controls": "7.0.0-alpha.20", - "@storybook/addon-docs": "7.0.0-alpha.20", - "@storybook/addon-highlight": "7.0.0-alpha.20", - "@storybook/addon-interactions": "7.0.0-alpha.20", - "@storybook/addon-links": "7.0.0-alpha.20", - "@storybook/addon-storyshots": "7.0.0-alpha.20", - "@storybook/addon-storysource": "7.0.0-alpha.20", - "@storybook/addon-viewport": "7.0.0-alpha.20", - "@storybook/addons": "7.0.0-alpha.20", + "@storybook/addon-a11y": "7.0.0-alpha.31", + "@storybook/addon-actions": "7.0.0-alpha.31", + "@storybook/addon-backgrounds": "7.0.0-alpha.31", + "@storybook/addon-controls": "7.0.0-alpha.31", + "@storybook/addon-docs": "7.0.0-alpha.31", + "@storybook/addon-highlight": "7.0.0-alpha.31", + "@storybook/addon-interactions": "7.0.0-alpha.31", + "@storybook/addon-links": "7.0.0-alpha.31", + "@storybook/addon-storyshots": "7.0.0-alpha.31", + "@storybook/addon-storysource": "7.0.0-alpha.31", + "@storybook/addon-viewport": "7.0.0-alpha.31", + "@storybook/addons": "7.0.0-alpha.31", "@storybook/jest": "^0.0.10", - "@storybook/source-loader": "7.0.0-alpha.20", - "@storybook/svelte": "7.0.0-alpha.20", - "@storybook/svelte-webpack5": "7.0.0-alpha.20", + "@storybook/source-loader": "7.0.0-alpha.31", + "@storybook/svelte": "7.0.0-alpha.31", + "@storybook/svelte-webpack5": "7.0.0-alpha.31", "@storybook/testing-library": "0.0.14-next.0", - "storybook": "7.0.0-alpha.20", + "storybook": "7.0.0-alpha.31", "svelte-jester": "^2.3.2", "svelte-preprocess": "^4.10.6" }, diff --git a/code/examples/svelte-kitchen-sink/src/stories/addon-actions.stories.js b/code/examples/svelte-kitchen-sink/src/stories/addon-actions.stories.js deleted file mode 100644 index 4cb15b8a702e..000000000000 --- a/code/examples/svelte-kitchen-sink/src/stories/addon-actions.stories.js +++ /dev/null @@ -1,19 +0,0 @@ -import { action } from '@storybook/addon-actions'; - -import Button from '../components/Button.svelte'; - -export default { - title: 'Addon/Actions', -}; - -export const ActionOnComponentMethod = () => ({ - Component: Button, - props: { - text: 'Custom text', - }, - on: { - click: action('I am logging in the actions tab too'), - }, -}); - -ActionOnComponentMethod.storyName = 'Action on component method'; diff --git a/code/examples/svelte-kitchen-sink/src/stories/addon-backgrounds.stories.js b/code/examples/svelte-kitchen-sink/src/stories/addon-backgrounds.stories.js deleted file mode 100644 index 24bf99802265..000000000000 --- a/code/examples/svelte-kitchen-sink/src/stories/addon-backgrounds.stories.js +++ /dev/null @@ -1,20 +0,0 @@ -import ButtonView from './views/ButtonView.svelte'; - -export default { - title: 'Addon/Backgrounds', - parameters: { - backgrounds: { - default: 'dark', - values: [ - { name: 'light', value: '#eeeeee' }, - { name: 'dark', value: '#222222' }, - ], - }, - }, -}; - -export const Story1 = () => ({ - Component: ButtonView, -}); - -Story1.storyName = 'story 1'; diff --git a/code/examples/svelte-kitchen-sink/src/stories/decorators.stories.js b/code/examples/svelte-kitchen-sink/src/stories/decorators.stories.js index ee442880e75d..221549146dcb 100644 --- a/code/examples/svelte-kitchen-sink/src/stories/decorators.stories.js +++ b/code/examples/svelte-kitchen-sink/src/stories/decorators.stories.js @@ -1,5 +1,4 @@ import { setContext } from 'svelte'; -import { action } from '@storybook/addon-actions'; import Context from '../components/Context.svelte'; import BorderDecorator from './BorderDecorator.svelte'; @@ -14,7 +13,7 @@ export default { export const Decorators = () => ({ on: { - click: action('I am logging in the actions tab'), + click: () => {}, }, }); Decorators.decorators = [ diff --git a/code/examples/vue-3-cli/.storybook/preview.ts b/code/examples/vue-3-cli/.storybook/preview.ts index fdfac1a1b9e6..4b162b588824 100644 --- a/code/examples/vue-3-cli/.storybook/preview.ts +++ b/code/examples/vue-3-cli/.storybook/preview.ts @@ -1,5 +1,5 @@ import { Parameters, setup } from '@storybook/vue3'; -// @ts-ignore +// @ts-expect-error (Converted from ts-ignore) import Button from '../src/stories/Button.vue'; // TODO: I'd like to be able to export rather than imperatively calling an imported function diff --git a/code/examples/vue-3-cli/package.json b/code/examples/vue-3-cli/package.json index 8693ebe591e5..5a8a0611e966 100644 --- a/code/examples/vue-3-cli/package.json +++ b/code/examples/vue-3-cli/package.json @@ -1,6 +1,6 @@ { "name": "vue-3-cli-example", - "version": "7.0.0-alpha.20", + "version": "7.0.0-alpha.31", "private": true, "scripts": { "build": "vue-cli-service build", @@ -9,26 +9,25 @@ "storybook": "storybook dev -p 6006 --no-manager-cache" }, "dependencies": { - "core-js": "^3.8.2", "vue": "^3.0.0" }, "devDependencies": { "@babel/core": "^7.12.10", - "@storybook/addon-actions": "7.0.0-alpha.20", - "@storybook/addon-essentials": "7.0.0-alpha.20", - "@storybook/addon-interactions": "7.0.0-alpha.20", - "@storybook/addon-links": "7.0.0-alpha.20", - "@storybook/addon-storyshots": "7.0.0-alpha.20", + "@storybook/addon-actions": "7.0.0-alpha.31", + "@storybook/addon-essentials": "7.0.0-alpha.31", + "@storybook/addon-interactions": "7.0.0-alpha.31", + "@storybook/addon-links": "7.0.0-alpha.31", + "@storybook/addon-storyshots": "7.0.0-alpha.31", "@storybook/jest": "^0.0.10", "@storybook/testing-library": "0.0.14-next.0", - "@storybook/vue3": "7.0.0-alpha.20", - "@storybook/vue3-webpack5": "7.0.0-alpha.20", + "@storybook/vue3": "7.0.0-alpha.31", + "@storybook/vue3-webpack5": "7.0.0-alpha.31", "@vue/cli-plugin-babel": "^5.0.4", "@vue/cli-plugin-typescript": "^5.0.4", "@vue/cli-service": "^5.0.4", "@vue/compiler-sfc": "^3.2.36", "babel-loader": "^8.2.5", - "storybook": "7.0.0-alpha.20", + "storybook": "7.0.0-alpha.31", "typescript": "~4.6.3", "vue-jest": "^5.0.0-alpha.8", "vue-loader": "^16.0.0" diff --git a/code/examples/vue-3-cli/src/stories/Button.vue b/code/examples/vue-3-cli/src/stories/Button.vue index b366548441ee..5a704e2d1bce 100644 --- a/code/examples/vue-3-cli/src/stories/Button.vue +++ b/code/examples/vue-3-cli/src/stories/Button.vue @@ -37,7 +37,7 @@ export default defineComponent({ emits: ['click'], - // @ts-ignore + // @ts-expect-error (Converted from ts-ignore) setup(props, { emit }) { props = reactive(props); return { diff --git a/code/examples/vue-3-cli/src/stories/DynamicHeading.stories.ts b/code/examples/vue-3-cli/src/stories/DynamicHeading.stories.ts index a0a94a7a1eb7..adb16e2bf414 100644 --- a/code/examples/vue-3-cli/src/stories/DynamicHeading.stories.ts +++ b/code/examples/vue-3-cli/src/stories/DynamicHeading.stories.ts @@ -15,7 +15,6 @@ export default { const story = storyFn(); // Vue 3 "Functional" component as decorator return () => { - // @ts-ignore // this is an unfortunate side-effect of having vue & vue3 in 1 repo return h('div', { style: 'border: 2px solid red' }, h(story)); }; }, @@ -27,7 +26,6 @@ export default { Make sure to pass the `args` the component expects to receive as the props! */ -// @ts-ignore // this is an unfortunate side-effect of having vue & vue3 in 1 repo const Template: StoryFn = (args, { argTypes }) => { const component: FunctionalComponent = () => h(DynamicHeading, args, 'Hello World!'); component.props = Object.keys(argTypes); diff --git a/code/examples/vue-3-cli/src/stories/OverrideArgs.vue b/code/examples/vue-3-cli/src/stories/OverrideArgs.vue index b98424b021fb..2c5728dc119b 100644 --- a/code/examples/vue-3-cli/src/stories/OverrideArgs.vue +++ b/code/examples/vue-3-cli/src/stories/OverrideArgs.vue @@ -23,7 +23,7 @@ export default { }, }, - // @ts-ignore + // @ts-expect-error (Converted from ts-ignore) setup(props, { emit }) { const classes = { 'storybook-button': true, diff --git a/code/examples/vue-cli/package.json b/code/examples/vue-cli/package.json index 0009d1426e28..00a33dc0b2fd 100644 --- a/code/examples/vue-cli/package.json +++ b/code/examples/vue-cli/package.json @@ -1,6 +1,6 @@ { "name": "vue-cli-example", - "version": "7.0.0-alpha.20", + "version": "7.0.0-alpha.31", "private": true, "scripts": { "build": "vue-cli-service build", @@ -9,22 +9,21 @@ "storybook": "storybook dev -p 9009 --no-manager-cache" }, "dependencies": { - "core-js": "^3.8.2", "vue": "^2.6.12", "vue-class-component": "^7.2.6", "vue-property-decorator": "^9.1.2" }, "devDependencies": { - "@storybook/addon-controls": "7.0.0-alpha.20", - "@storybook/addon-essentials": "7.0.0-alpha.20", + "@storybook/addon-controls": "7.0.0-alpha.31", + "@storybook/addon-essentials": "7.0.0-alpha.31", "@storybook/preset-scss": "^1.0.3", - "@storybook/source-loader": "7.0.0-alpha.20", - "@storybook/vue": "7.0.0-alpha.20", - "@storybook/vue-webpack5": "7.0.0-alpha.20", + "@storybook/source-loader": "7.0.0-alpha.31", + "@storybook/vue": "7.0.0-alpha.31", + "@storybook/vue-webpack5": "7.0.0-alpha.31", "@vue/cli-plugin-babel": "^5.0.4", "@vue/cli-plugin-typescript": "^5.0.4", "@vue/cli-service": "^5.0.4", - "storybook": "7.0.0-alpha.20", + "storybook": "7.0.0-alpha.31", "typescript": "~4.6.3", "vue-template-compiler": "^2.6.14" } diff --git a/code/examples/vue-kitchen-sink/package.json b/code/examples/vue-kitchen-sink/package.json index 620363008f76..75f08f61f8a6 100644 --- a/code/examples/vue-kitchen-sink/package.json +++ b/code/examples/vue-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "vue-example", - "version": "7.0.0-alpha.20", + "version": "7.0.0-alpha.31", "private": true, "scripts": { "build": "cross-env NODE_ENV=production webpack --progress --hide-modules", @@ -14,29 +14,29 @@ }, "devDependencies": { "@babel/core": "^7.12.10", - "@storybook/addon-a11y": "7.0.0-alpha.20", - "@storybook/addon-actions": "7.0.0-alpha.20", - "@storybook/addon-backgrounds": "7.0.0-alpha.20", - "@storybook/addon-controls": "7.0.0-alpha.20", - "@storybook/addon-docs": "7.0.0-alpha.20", - "@storybook/addon-highlight": "7.0.0-alpha.20", - "@storybook/addon-interactions": "7.0.0-alpha.20", - "@storybook/addon-links": "7.0.0-alpha.20", - "@storybook/addon-storyshots": "7.0.0-alpha.20", - "@storybook/addon-storysource": "7.0.0-alpha.20", - "@storybook/addon-viewport": "7.0.0-alpha.20", - "@storybook/addons": "7.0.0-alpha.20", + "@storybook/addon-a11y": "7.0.0-alpha.31", + "@storybook/addon-actions": "7.0.0-alpha.31", + "@storybook/addon-backgrounds": "7.0.0-alpha.31", + "@storybook/addon-controls": "7.0.0-alpha.31", + "@storybook/addon-docs": "7.0.0-alpha.31", + "@storybook/addon-highlight": "7.0.0-alpha.31", + "@storybook/addon-interactions": "7.0.0-alpha.31", + "@storybook/addon-links": "7.0.0-alpha.31", + "@storybook/addon-storyshots": "7.0.0-alpha.31", + "@storybook/addon-storysource": "7.0.0-alpha.31", + "@storybook/addon-viewport": "7.0.0-alpha.31", + "@storybook/addons": "7.0.0-alpha.31", "@storybook/jest": "^0.0.10", - "@storybook/source-loader": "7.0.0-alpha.20", + "@storybook/source-loader": "7.0.0-alpha.31", "@storybook/testing-library": "0.0.14-next.0", - "@storybook/vue": "7.0.0-alpha.20", - "@storybook/vue-webpack5": "7.0.0-alpha.20", + "@storybook/vue": "7.0.0-alpha.31", + "@storybook/vue-webpack5": "7.0.0-alpha.31", "@vue/babel-preset-jsx": "^1.2.4", "babel-loader": "^8.2.5", "cross-env": "^7.0.3", "file-loader": "^6.2.0", "prop-types": "^15.7.2", - "storybook": "7.0.0-alpha.20", + "storybook": "7.0.0-alpha.31", "svg-url-loader": "^7.1.1", "vue-loader": "^15.9.6", "vue-style-loader": "^4.1.3", diff --git a/code/examples/vue-kitchen-sink/src/stories/addon-actions.stories.js b/code/examples/vue-kitchen-sink/src/stories/addon-actions.stories.js deleted file mode 100644 index 2e0ac18b964c..000000000000 --- a/code/examples/vue-kitchen-sink/src/stories/addon-actions.stories.js +++ /dev/null @@ -1,42 +0,0 @@ -import { action, actions } from '@storybook/addon-actions'; - -export default { - title: 'Addon/Actions', -}; - -export const ActionOnly = () => ({ - template: 'Click me to log the action', - methods: { - log: action('log1'), - }, -}); - -ActionOnly.storyName = 'Action only'; - -export const MultipleActions = () => ({ - template: - '(Double) click me to log the action', - methods: actions('click', 'doubleclick'), -}); - -MultipleActions.storyName = 'Multiple actions'; - -export const MultipleActionsObject = () => ({ - template: - '(Double) click me to log the action', - methods: actions({ click: 'clicked', doubleclick: 'double clicked' }), -}); - -MultipleActionsObject.storyName = 'Multiple actions, object'; - -export const ActionAndMethod = () => ({ - template: 'Click me to log the action', - methods: { - log: (e) => { - e.preventDefault(); - action('log2')(e.target); - }, - }, -}); - -ActionAndMethod.storyName = 'Action and method'; diff --git a/code/examples/vue-kitchen-sink/src/stories/addon-backgrounds.stories.js b/code/examples/vue-kitchen-sink/src/stories/addon-backgrounds.stories.js deleted file mode 100644 index 5400daf8829e..000000000000 --- a/code/examples/vue-kitchen-sink/src/stories/addon-backgrounds.stories.js +++ /dev/null @@ -1,32 +0,0 @@ -export default { - title: 'Addon/Backgrounds', - parameters: { - backgrounds: { - default: 'dark', - values: [ - { name: 'light', value: '#eeeeee' }, - { name: 'dark', value: '#222222' }, - ], - }, - }, -}; - -export const Story1 = () => { - const content = 'You should be able to switch backgrounds for this story'; - - return { - template: ``, - }; -}; - -Story1.storyName = 'story 1'; - -export const Story2 = () => { - const content = 'This one too!'; - - return { - template: ``, - }; -}; - -Story2.storyName = 'story 2'; diff --git a/code/examples/vue-kitchen-sink/src/stories/custom-rendering.stories.js b/code/examples/vue-kitchen-sink/src/stories/custom-rendering.stories.js index b9a04272346e..dd03e934e7d4 100644 --- a/code/examples/vue-kitchen-sink/src/stories/custom-rendering.stories.js +++ b/code/examples/vue-kitchen-sink/src/stories/custom-rendering.stories.js @@ -1,5 +1,3 @@ -import Vuex from 'vuex'; -import { action } from '@storybook/addon-actions'; import { linkTo } from '@storybook/addon-links'; import MyButton from './Button.vue'; @@ -57,48 +55,6 @@ export const JSX = () => ({ }, }); -export const VuexActions = () => ({ - components: { MyButton }, - template: 'with vuex: {{ $store.state.count }}', - store: new Vuex.Store({ - state: { count: 0 }, - mutations: { - increment(state) { - state.count += 1; // eslint-disable-line - action('vuex state')(state); - }, - }, - }), - methods: { - log() { - this.$store.commit('increment'); - }, - }, -}); - -VuexActions.storyName = 'vuex + actions'; - -export const WhateverYouWant = () => ({ - components: { MyButton }, - template: 'with awesomeness: {{ $store.state.count }}', - store: new Vuex.Store({ - state: { count: 0 }, - mutations: { - increment(state) { - state.count += 1; // eslint-disable-line - action('vuex state')(state); - }, - }, - }), - methods: { - log() { - this.$store.commit('increment'); - }, - }, -}); - -WhateverYouWant.storyName = 'whatever you want'; - export const PreRegisteredComponent = () => ({ /* By pre-registering component in preview.js, * the need to register all components with each story is removed. diff --git a/code/examples/web-components-kitchen-sink/package.json b/code/examples/web-components-kitchen-sink/package.json index 52b6111d87b5..9af236a74427 100644 --- a/code/examples/web-components-kitchen-sink/package.json +++ b/code/examples/web-components-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "web-components-kitchen-sink", - "version": "7.0.0-alpha.20", + "version": "7.0.0-alpha.31", "private": true, "description": "", "keywords": [], diff --git a/code/examples/web-components-kitchen-sink/src/stories/addons/background/addon-background.stories.ts b/code/examples/web-components-kitchen-sink/src/stories/addons/background/addon-background.stories.ts deleted file mode 100644 index b799994ee2ad..000000000000 --- a/code/examples/web-components-kitchen-sink/src/stories/addons/background/addon-background.stories.ts +++ /dev/null @@ -1,30 +0,0 @@ -import { html } from 'lit'; -import type { Meta, StoryFn } from '@storybook/web-components'; - -export default { - title: 'Addons / Backgrounds', - parameters: { - backgrounds: { - default: 'twitter', - values: [ - { name: 'twitter', value: '#00aced' }, - { name: 'facebook', value: '#3b5998' }, - ], - }, - }, -} as Meta; - -const Template: StoryFn = () => html``; - -export const Default = Template.bind({}); - -export const Overridden = Template.bind({}); -Overridden.parameters = { - backgrounds: { - default: 'pink', - values: [ - { name: 'pink', value: 'hotpink' }, - { name: 'blue', value: 'deepskyblue' }, - ], - }, -}; diff --git a/code/examples/web-components-kitchen-sink/src/stories/addons/viewport/addon-viewport.stories.ts b/code/examples/web-components-kitchen-sink/src/stories/addons/viewport/addon-viewport.stories.ts deleted file mode 100644 index 6cd00ede64a3..000000000000 --- a/code/examples/web-components-kitchen-sink/src/stories/addons/viewport/addon-viewport.stories.ts +++ /dev/null @@ -1,55 +0,0 @@ -import { html } from 'lit'; -import type { Meta, StoryFn } from '@storybook/web-components'; -import { INITIAL_VIEWPORTS } from '@storybook/addon-viewport'; - -export default { - title: 'Addons / Viewport', - parameters: { - viewport: { - viewports: INITIAL_VIEWPORTS, - }, - }, -} as Meta; - -const Template: StoryFn<{ title: string }> = (args) => html`

${args.title}

`; - -export const Default = Template.bind({}); -Default.args = { - title: 'Click on the viewports icon on toolbar to make the viewport change', -}; - -export const CustomViewports = Template.bind({}); -CustomViewports.args = { - title: 'I am using a custom viewport for Kindle Fire 2', -}; -CustomViewports.parameters = { - viewport: { - viewports: { - kindleFire2: { - name: 'Kindle Fire 2', - styles: { - width: '600px', - height: '963px', - }, - }, - }, - defaultViewport: 'kindleFire2', - }, -}; - -export const Overriden = Template.bind({}); -Overriden.args = { - title: 'I have a different default viewport: ipad!', -}; -Overriden.storyName = 'Overridden via "defaultViewport" parameter'; -Overriden.parameters = { - viewport: { defaultViewport: 'ipad' }, -}; - -export const Disabled = Template.bind({}); -Disabled.args = { - title: 'I have disabled viewports addon', -}; -Disabled.parameters = { - viewport: { disable: true }, -}; diff --git a/code/frameworks/angular/package.json b/code/frameworks/angular/package.json index 507e4d372f51..d625191924ca 100644 --- a/code/frameworks/angular/package.json +++ b/code/frameworks/angular/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/angular", - "version": "7.0.0-alpha.20", + "version": "7.0.0-alpha.31", "description": "Storybook for Angular: Develop Angular components in isolation with hot reloading.", "keywords": [ "storybook", @@ -31,22 +31,22 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../../scripts/prepare.js" + "prep": "node ../../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "7.0.0-alpha.20", - "@storybook/api": "7.0.0-alpha.20", - "@storybook/builder-webpack5": "7.0.0-alpha.20", - "@storybook/client-logger": "7.0.0-alpha.20", - "@storybook/core-client": "7.0.0-alpha.20", - "@storybook/core-common": "7.0.0-alpha.20", - "@storybook/core-events": "7.0.0-alpha.20", - "@storybook/core-server": "7.0.0-alpha.20", + "@storybook/addons": "7.0.0-alpha.31", + "@storybook/api": "7.0.0-alpha.31", + "@storybook/builder-webpack5": "7.0.0-alpha.31", + "@storybook/client-logger": "7.0.0-alpha.31", + "@storybook/core-client": "7.0.0-alpha.31", + "@storybook/core-common": "7.0.0-alpha.31", + "@storybook/core-events": "7.0.0-alpha.31", + "@storybook/core-server": "7.0.0-alpha.31", "@storybook/csf": "0.0.2--canary.0899bb7.0", - "@storybook/docs-tools": "7.0.0-alpha.20", - "@storybook/node-logger": "7.0.0-alpha.20", + "@storybook/docs-tools": "7.0.0-alpha.31", + "@storybook/node-logger": "7.0.0-alpha.31", "@storybook/semver": "^7.3.2", - "@storybook/store": "7.0.0-alpha.20", + "@storybook/store": "7.0.0-alpha.31", "@types/node": "^14.14.20 || ^16.0.0", "@types/react": "^16.14.23", "@types/react-dom": "^16.9.14", @@ -84,7 +84,7 @@ "@angular/forms": "^13.3.6", "@angular/platform-browser": "^13.3.6", "@angular/platform-browser-dynamic": "^13.3.6", - "@nrwl/workspace": "^14.1.4", + "@nrwl/workspace": "14.6.1", "@types/autoprefixer": "^9.7.2", "@types/tmp": "^0.2.3", "cross-spawn": "^7.0.3", @@ -108,7 +108,7 @@ "@angular/platform-browser": ">=6.0.0", "@angular/platform-browser-dynamic": ">=6.0.0", "@babel/core": "*", - "@nrwl/workspace": ">=11.1.0", + "@nrwl/workspace": "14.6.1", "rxjs": "^6.0.0 || ^7.4.0", "typescript": "^4.0.0", "zone.js": "^0.8.29 || ^0.9.0 || ^0.10.0 || ^0.11.0" @@ -128,5 +128,5 @@ "access": "public" }, "builders": "dist/types/builders/builders.json", - "gitHead": "a6c00d2ebed21da54b4772b4a4f7fed9258f0ab4" + "gitHead": "02c013c33186479017098d532a18ff8654b91f1f" } diff --git a/code/frameworks/angular/src/client/angular-beta/RendererFactory.ts b/code/frameworks/angular/src/client/angular-beta/RendererFactory.ts index d781233c6364..888024d83614 100644 --- a/code/frameworks/angular/src/client/angular-beta/RendererFactory.ts +++ b/code/frameworks/angular/src/client/angular-beta/RendererFactory.ts @@ -44,17 +44,17 @@ export class RendererFactory { } export const getRenderType = (targetDOMNode: HTMLElement): RenderType => { - return targetDOMNode.id === 'root' ? 'canvas' : 'docs'; + return targetDOMNode.id === 'storybook-root' ? 'canvas' : 'docs'; }; export function clearRootHTMLElement(renderType: RenderType) { switch (renderType) { case 'canvas': - global.document.getElementById('docs-root').innerHTML = ''; + global.document.getElementById('storybook-docs').innerHTML = ''; break; case 'docs': - global.document.getElementById('root').innerHTML = ''; + global.document.getElementById('storybook-root').innerHTML = ''; break; default: break; diff --git a/code/frameworks/angular/src/client/angular/helpers.ts b/code/frameworks/angular/src/client/angular/helpers.ts index 21ca577b7fc8..a75f1c7d2a7c 100644 --- a/code/frameworks/angular/src/client/angular/helpers.ts +++ b/code/frameworks/angular/src/client/angular/helpers.ts @@ -1,4 +1,3 @@ -// @ts-ignore import global from 'global'; import { enableProdMode, NgModule, Component, NgModuleRef, Type, NgZone } from '@angular/core'; import { FormsModule } from '@angular/forms'; @@ -168,7 +167,7 @@ const initModule = (storyFn: PartialStoryFn) => { ); }; -const staticRoot = document.getElementById('root'); +const staticRoot = document.getElementById('storybook-root'); const insertDynamicRoot = () => { const app = document.createElement('storybook-dynamic-app-root'); staticRoot.innerHTML = ''; diff --git a/code/frameworks/angular/src/client/docs/angular-properties.test.ts b/code/frameworks/angular/src/client/docs/angular-properties.test.ts index 49c7f5661a66..a30cde917d60 100644 --- a/code/frameworks/angular/src/client/docs/angular-properties.test.ts +++ b/code/frameworks/angular/src/client/docs/angular-properties.test.ts @@ -6,7 +6,7 @@ import { sync as spawnSync } from 'cross-spawn'; import { findComponentByName, extractArgTypesFromData } from './compodoc'; -// @ts-ignore +// @ts-expect-error (Converted from ts-ignore) const { SNAPSHOT_OS } = global; // File hierarchy: __testfixtures__ / some-test-case / input.* diff --git a/code/frameworks/angular/src/client/docs/compodoc.ts b/code/frameworks/angular/src/client/docs/compodoc.ts index 7de806bce9ad..d8d16c2eb2aa 100644 --- a/code/frameworks/angular/src/client/docs/compodoc.ts +++ b/code/frameworks/angular/src/client/docs/compodoc.ts @@ -21,11 +21,11 @@ export const isMethod = (methodOrProp: Method | Property): methodOrProp is Metho }; export const setCompodocJson = (compodocJson: CompodocJson) => { - // @ts-ignore + // @ts-expect-error (Converted from ts-ignore) window.__STORYBOOK_COMPODOC_JSON__ = compodocJson; }; -// @ts-ignore +// @ts-expect-error (Converted from ts-ignore) export const getCompodocJson = (): CompodocJson => window.__STORYBOOK_COMPODOC_JSON__; export const checkValidComponentOrDirective = (component: Component | Directive) => { @@ -191,7 +191,6 @@ const extractDefaultValueFromComments = (property: Property, value: any) => { let commentValue = value; property.jsdoctags.forEach((tag: JsDocTag) => { if (['default', 'defaultvalue'].includes(tag.tagName.escapedText)) { - // @ts-ignore const dom = new window.DOMParser().parseFromString(tag.comment, 'text/html'); commentValue = dom.body.textContent; } diff --git a/code/frameworks/angular/src/server/angular-cli-webpack-older.ts b/code/frameworks/angular/src/server/angular-cli-webpack-older.ts index 81ea9a3de562..22519c2e4d4e 100644 --- a/code/frameworks/angular/src/server/angular-cli-webpack-older.ts +++ b/code/frameworks/angular/src/server/angular-cli-webpack-older.ts @@ -109,7 +109,6 @@ function mergeAngularCliWebpackConfig( // styleWebpackConfig.entry adds global style files to the webpack context const entry = [ ...(baseConfig.entry as string[]), - // @ts-ignore ...Object.values(cliStyleWebpackConfig.entry).reduce((acc, item) => acc.concat(item), []), ]; diff --git a/code/frameworks/angular/src/server/angular-devkit-build-webpack.ts b/code/frameworks/angular/src/server/angular-devkit-build-webpack.ts index 83a605db890c..6189812669bb 100644 --- a/code/frameworks/angular/src/server/angular-devkit-build-webpack.ts +++ b/code/frameworks/angular/src/server/angular-devkit-build-webpack.ts @@ -121,8 +121,6 @@ const buildWebpackConfigOptions = async ( sourceMap: {}, styles: [], // Deleted in angular 12. Keep for compatibility with versions lower than angular 12 - // eslint-disable-next-line @typescript-eslint/ban-ts-comment - // @ts-ignore lazyModules: [], // Project Options @@ -139,8 +137,7 @@ const buildWebpackConfigOptions = async ( statsJson: false, // Deleted in angular 12. Keep for compatibility with versions lower than angular 12 - // eslint-disable-next-line @typescript-eslint/ban-ts-comment - // @ts-ignore + // @ts-expect-error (Converted from ts-ignore) forkTypeChecker: false, }; diff --git a/code/frameworks/ember/package.json b/code/frameworks/ember/package.json index e72d3cbcd61c..aa7f6ff21287 100644 --- a/code/frameworks/ember/package.json +++ b/code/frameworks/ember/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/ember", - "version": "7.0.0-alpha.20", + "version": "7.0.0-alpha.31", "description": "Storybook for Ember: Develop Ember Component in isolation with Hot Reloading.", "homepage": "https://github.com/storybookjs/storybook/tree/main/frameworks/ember", "bugs": { @@ -27,15 +27,14 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../../scripts/prepare.js" + "prep": "node ../../../scripts/prepare.js" }, "dependencies": { - "@storybook/builder-webpack5": "7.0.0-alpha.20", - "@storybook/core-client": "7.0.0-alpha.20", - "@storybook/core-common": "7.0.0-alpha.20", - "@storybook/docs-tools": "7.0.0-alpha.20", - "@storybook/store": "7.0.0-alpha.20", - "core-js": "^3.8.2", + "@storybook/builder-webpack5": "7.0.0-alpha.31", + "@storybook/core-client": "7.0.0-alpha.31", + "@storybook/core-common": "7.0.0-alpha.31", + "@storybook/docs-tools": "7.0.0-alpha.31", + "@storybook/store": "7.0.0-alpha.31", "global": "^4.4.0", "react": "16.14.0", "react-dom": "16.14.0", @@ -58,5 +57,5 @@ "publishConfig": { "access": "public" }, - "gitHead": "a6c00d2ebed21da54b4772b4a4f7fed9258f0ab4" + "gitHead": "02c013c33186479017098d532a18ff8654b91f1f" } diff --git a/code/frameworks/ember/src/client/preview/render.ts b/code/frameworks/ember/src/client/preview/render.ts index 63b5a8936506..19d71d881cc9 100644 --- a/code/frameworks/ember/src/client/preview/render.ts +++ b/code/frameworks/ember/src/client/preview/render.ts @@ -1,13 +1,13 @@ import global from 'global'; import { dedent } from 'ts-dedent'; import type { RenderContext } from '@storybook/store'; -// @ts-ignore +// @ts-expect-error (Converted from ts-ignore) import Component from '@ember/component'; // eslint-disable-line import/no-unresolved import { OptionsArgs, EmberFramework } from './types'; const { window: globalWindow, document } = global; -const rootEl = document.getElementById('root'); +const rootEl = document.getElementById('storybook-root'); const config = globalWindow.require(`${globalWindow.STORYBOOK_NAME}/config/environment`); const app = globalWindow.require(`${globalWindow.STORYBOOK_NAME}/app`).default.create({ diff --git a/code/frameworks/html-webpack5/package.json b/code/frameworks/html-webpack5/package.json index ab502367bc20..4a145182d4b4 100644 --- a/code/frameworks/html-webpack5/package.json +++ b/code/frameworks/html-webpack5/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/html-webpack5", - "version": "7.0.0-alpha.20", + "version": "7.0.0-alpha.31", "description": "Storybook for HTML: View HTML snippets in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -47,15 +47,14 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/builder-webpack5": "7.0.0-alpha.20", - "@storybook/core-common": "7.0.0-alpha.20", - "@storybook/html": "7.0.0-alpha.20", - "@storybook/preset-html-webpack": "7.0.0-alpha.20", + "@storybook/builder-webpack5": "7.0.0-alpha.31", + "@storybook/core-common": "7.0.0-alpha.31", + "@storybook/html": "7.0.0-alpha.31", + "@storybook/preset-html-webpack": "7.0.0-alpha.31", "@types/node": "^14.14.20 || ^16.0.0", - "core-js": "^3.8.2", "global": "^4.4.0", "react": "16.14.0", "react-dom": "16.14.0" @@ -79,5 +78,5 @@ ], "platform": "node" }, - "gitHead": "a6c00d2ebed21da54b4772b4a4f7fed9258f0ab4" + "gitHead": "02c013c33186479017098d532a18ff8654b91f1f" } diff --git a/code/frameworks/preact-webpack5/package.json b/code/frameworks/preact-webpack5/package.json index cab8c09d0380..6e27a8fae773 100644 --- a/code/frameworks/preact-webpack5/package.json +++ b/code/frameworks/preact-webpack5/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/preact-webpack5", - "version": "7.0.0-alpha.20", + "version": "7.0.0-alpha.31", "description": "Storybook for Preact: Develop Preact Component in isolation.", "keywords": [ "storybook" @@ -47,15 +47,14 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/builder-webpack5": "7.0.0-alpha.20", - "@storybook/core-common": "7.0.0-alpha.20", - "@storybook/preact": "7.0.0-alpha.20", - "@storybook/preset-preact-webpack": "7.0.0-alpha.20", + "@storybook/builder-webpack5": "7.0.0-alpha.31", + "@storybook/core-common": "7.0.0-alpha.31", + "@storybook/preact": "7.0.0-alpha.31", + "@storybook/preset-preact-webpack": "7.0.0-alpha.31", "@types/node": "^14.14.20 || ^16.0.0", - "core-js": "^3.8.2", "react": "16.14.0", "react-dom": "16.14.0" }, @@ -80,5 +79,5 @@ ], "platform": "node" }, - "gitHead": "a6c00d2ebed21da54b4772b4a4f7fed9258f0ab4" + "gitHead": "02c013c33186479017098d532a18ff8654b91f1f" } diff --git a/code/frameworks/react-vite/README.md b/code/frameworks/react-vite/README.md new file mode 100644 index 000000000000..e8a35450aec9 --- /dev/null +++ b/code/frameworks/react-vite/README.md @@ -0,0 +1 @@ +# Storybook for React diff --git a/code/frameworks/react-vite/package.json b/code/frameworks/react-vite/package.json new file mode 100644 index 000000000000..40de694c6964 --- /dev/null +++ b/code/frameworks/react-vite/package.json @@ -0,0 +1,87 @@ +{ + "name": "@storybook/react-vite", + "version": "7.0.0-alpha.31", + "description": "Storybook for React and Vite: Develop React components in isolation with Hot Reloading.", + "keywords": [ + "storybook" + ], + "homepage": "https://github.com/storybookjs/storybook/tree/main/frameworks/react-vite", + "bugs": { + "url": "https://github.com/storybookjs/storybook/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/storybookjs/storybook.git", + "directory": "frameworks/react-vite" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/storybook" + }, + "license": "MIT", + "exports": { + ".": { + "require": "./dist/index.js", + "import": "./dist/index.mjs", + "types": "./dist/index.d.ts" + }, + "./preset": { + "require": "./dist/preset.js", + "import": "./dist/preset.mjs", + "types": "./dist/preset.d.ts" + }, + "./package.json": { + "require": "./package.json", + "import": "./package.json", + "types": "./package.json" + } + }, + "main": "dist/index.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", + "files": [ + "dist/**/*", + "types/**/*", + "README.md", + "*.js", + "*.d.ts" + ], + "scripts": { + "check": "tsc --noEmit", + "prep": "../../../scripts/prepare/bundle.ts" + }, + "dependencies": { + "@joshwooding/vite-plugin-react-docgen-typescript": "^0.0.5", + "@rollup/pluginutils": "^4.2.0", + "@storybook/builder-vite": "7.0.0-alpha.31", + "@storybook/react": "7.0.0-alpha.31", + "@vitejs/plugin-react": "^2.0.1", + "ast-types": "^0.14.2", + "magic-string": "^0.26.1", + "react-docgen": "^6.0.0-alpha.3", + "vite": "3" + }, + "devDependencies": { + "@types/node": "^14.14.20 || ^16.0.0", + "typescript": "~4.6.3", + "vite": "^3.1.0" + }, + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0 || ^18.0.0", + "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" + }, + "engines": { + "node": "^14.18 || >=16" + }, + "publishConfig": { + "access": "public" + }, + "bundler": { + "entries": [ + "./src/index.ts", + "./src/preset.ts" + ], + "platform": "node" + }, + "gitHead": "02c013c33186479017098d532a18ff8654b91f1f" +} diff --git a/code/frameworks/react-vite/preset.js b/code/frameworks/react-vite/preset.js new file mode 100644 index 000000000000..a83f95279e7f --- /dev/null +++ b/code/frameworks/react-vite/preset.js @@ -0,0 +1 @@ +module.exports = require('./dist/preset'); diff --git a/code/frameworks/react-vite/src/index.ts b/code/frameworks/react-vite/src/index.ts new file mode 100644 index 000000000000..73f50674eeac --- /dev/null +++ b/code/frameworks/react-vite/src/index.ts @@ -0,0 +1,2 @@ +export * from '@storybook/react'; +export type { StorybookConfig } from '@storybook/builder-vite'; diff --git a/code/frameworks/react-vite/src/plugins/docgen-handlers/actualNameHandler.ts b/code/frameworks/react-vite/src/plugins/docgen-handlers/actualNameHandler.ts new file mode 100644 index 000000000000..efa6717b47b2 --- /dev/null +++ b/code/frameworks/react-vite/src/plugins/docgen-handlers/actualNameHandler.ts @@ -0,0 +1,48 @@ +/** + * This is heavily based on the react-docgen `displayNameHandler` + * (https://github.com/reactjs/react-docgen/blob/26c90c0dd105bf83499a83826f2a6ff7a724620d/src/handlers/displayNameHandler.ts) + * but instead defines an `actualName` property on the generated docs that is taken first from the component's actual name. + * This addresses an issue where the name that the generated docs are stored under is incorrectly named with the `displayName` + * and not the component's actual name. + * + * This is inspired by `actualNameHandler` from https://github.com/storybookjs/babel-plugin-react-docgen, but is modified + * directly from displayNameHandler, using the same approach as babel-plugin-react-docgen. + */ + +import { namedTypes as t } from 'ast-types'; +import type { NodePath } from 'ast-types/lib/node-path'; +import { getNameOrValue, isReactForwardRefCall } from 'react-docgen/dist/utils'; +import type { Importer } from 'react-docgen/dist/parse'; +import type Documentation from 'react-docgen/dist/Documentation'; + +export default function actualNameHandler( + documentation: Documentation, + path: NodePath, + importer: Importer +): void { + if (t.ClassDeclaration.check(path.node) || t.FunctionDeclaration.check(path.node)) { + documentation.set('actualName', getNameOrValue(path.get('id'))); + } else if ( + t.ArrowFunctionExpression.check(path.node) || + t.FunctionExpression.check(path.node) || + isReactForwardRefCall(path, importer) + ) { + let currentPath = path; + while (currentPath.parent) { + if (t.VariableDeclarator.check(currentPath.parent.node)) { + documentation.set('actualName', getNameOrValue(currentPath.parent.get('id'))); + return; + } + if (t.AssignmentExpression.check(currentPath.parent.node)) { + const leftPath = currentPath.parent.get('left'); + if (t.Identifier.check(leftPath.node) || t.Literal.check(leftPath.node)) { + documentation.set('actualName', getNameOrValue(leftPath)); + return; + } + } + currentPath = currentPath.parent; + } + // Could not find an actual name + documentation.set('actualName', ''); + } +} diff --git a/code/frameworks/react-vite/src/plugins/react-docgen.ts b/code/frameworks/react-vite/src/plugins/react-docgen.ts new file mode 100644 index 000000000000..46a99b7d8881 --- /dev/null +++ b/code/frameworks/react-vite/src/plugins/react-docgen.ts @@ -0,0 +1,69 @@ +import path from 'path'; +import { createFilter } from '@rollup/pluginutils'; +import { + parse, + handlers as docgenHandlers, + resolver as docgenResolver, + importers as docgenImporters, +} from 'react-docgen'; +import type { DocumentationObject } from 'react-docgen/lib/Documentation'; +import MagicString from 'magic-string'; +import type { PluginOption } from 'vite'; +import actualNameHandler from './docgen-handlers/actualNameHandler'; + +type DocObj = DocumentationObject & { actualName: string }; + +// TODO: None of these are able to be overridden, so `default` is aspirational here. +const defaultHandlers = Object.values(docgenHandlers).map((handler) => handler); +const defaultResolver = docgenResolver.findAllExportedComponentDefinitions; +const defaultImporter = docgenImporters.makeFsImporter(); +const handlers = [...defaultHandlers, actualNameHandler]; + +type Options = { + include?: string | RegExp | (string | RegExp)[]; + exclude?: string | RegExp | (string | RegExp)[]; +}; + +export function reactDocgen({ + include = /\.(mjs|tsx?|jsx?)$/, + exclude = [/node_modules\/.*/], +}: Options = {}): PluginOption { + const cwd = process.cwd(); + const filter = createFilter(include, exclude); + + return { + name: 'storybook:react-docgen-plugin', + enforce: 'pre', + async transform(src: string, id: string) { + const relPath = path.relative(cwd, id); + if (!filter(relPath)) return; + + try { + // Since we're using `findAllExportedComponentDefinitions`, this will always be an array. + const docgenResults = parse(src, defaultResolver, handlers, { + importer: defaultImporter, + filename: id, + }) as DocObj[]; + const s = new MagicString(src); + + docgenResults.forEach((info) => { + const { actualName, ...docgenInfo } = info; + if (actualName) { + const docNode = JSON.stringify(docgenInfo); + s.append(`;${actualName}.__docgenInfo=${docNode}`); + } + }); + + // eslint-disable-next-line consistent-return + return { + code: s.toString(), + map: s.generateMap(), + }; + } catch (e) { + // Usually this is just an error from react-docgen that it couldn't find a component + // Only uncomment for troubleshooting + // console.error(e); + } + }, + }; +} diff --git a/code/frameworks/react-vite/src/preset.ts b/code/frameworks/react-vite/src/preset.ts new file mode 100644 index 000000000000..0abcdd4d9db8 --- /dev/null +++ b/code/frameworks/react-vite/src/preset.ts @@ -0,0 +1,50 @@ +/* eslint-disable global-require */ +import path from 'path'; +import fs from 'fs'; +import type { StorybookConfig, TypescriptOptions } from '@storybook/builder-vite'; + +export const addons: StorybookConfig['addons'] = ['@storybook/react']; + +export const core: StorybookConfig['core'] = { + builder: '@storybook/builder-vite', +}; + +export function readPackageJson(): Record | false { + const packageJsonPath = path.resolve('package.json'); + if (!fs.existsSync(packageJsonPath)) { + return false; + } + + const jsonContent = fs.readFileSync(packageJsonPath, 'utf8'); + return JSON.parse(jsonContent); +} + +export const viteFinal: StorybookConfig['viteFinal'] = async (config, { presets }) => { + const { plugins = [] } = config; + + const { reactDocgen, reactDocgenTypescriptOptions } = await presets.apply( + 'typescript', + {} as TypescriptOptions + ); + let typescriptPresent; + + try { + const pkgJson = readPackageJson(); + typescriptPresent = + pkgJson && (pkgJson.devDependencies?.typescript || pkgJson.dependencies?.typescript); + } catch (e) { + typescriptPresent = false; + } + + if (reactDocgen === 'react-docgen-typescript' && typescriptPresent) { + plugins.push( + require('@joshwooding/vite-plugin-react-docgen-typescript')(reactDocgenTypescriptOptions) + ); + } else if (reactDocgen) { + const { reactDocgen: docgenPlugin } = await import('./plugins/react-docgen'); + // Needs to run before the react plugin, so add to the front + plugins.unshift(docgenPlugin()); + } + + return config; +}; diff --git a/code/frameworks/react-vite/src/typings.d.ts b/code/frameworks/react-vite/src/typings.d.ts new file mode 100644 index 000000000000..94a00a8f317c --- /dev/null +++ b/code/frameworks/react-vite/src/typings.d.ts @@ -0,0 +1,43 @@ +// TODO: Replace, as soon as @types/react-dom 17.0.14 is used +// Source: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/fb0f14b7a35cde26ffaa82e7536c062e593e9ae6/types/react-dom/client.d.ts +declare module 'react-dom/client' { + import React = require('react'); + export interface HydrationOptions { + onHydrated?(suspenseInstance: Comment): void; + onDeleted?(suspenseInstance: Comment): void; + /** + * Prefix for `useId`. + */ + identifierPrefix?: string; + onRecoverableError?: (error: unknown) => void; + } + + export interface RootOptions { + /** + * Prefix for `useId`. + */ + identifierPrefix?: string; + onRecoverableError?: (error: unknown) => void; + } + + export interface Root { + render(children: React.ReactChild | Iterable): void; + unmount(): void; + } + + /** + * Replaces `ReactDOM.render` when the `.render` method is called and enables Concurrent Mode. + * + * @see https://reactjs.org/docs/concurrent-mode-reference.html#createroot + */ + export function createRoot( + container: Element | Document | DocumentFragment | Comment, + options?: RootOptions + ): Root; + + export function hydrateRoot( + container: Element | Document | DocumentFragment | Comment, + initialChildren: React.ReactChild | Iterable, + options?: HydrationOptions + ): Root; +} diff --git a/code/frameworks/react-vite/tsconfig.json b/code/frameworks/react-vite/tsconfig.json new file mode 100644 index 000000000000..534e4ddd108a --- /dev/null +++ b/code/frameworks/react-vite/tsconfig.json @@ -0,0 +1,10 @@ +{ + "extends": "../../tsconfig.json", + "compilerOptions": { + "rootDir": "./src", + "types": ["node"], + "resolveJsonModule": true + }, + "include": ["src/**/*"], + "exclude": ["src/**/*.test.*", "src/**/__testfixtures__/**"] +} diff --git a/code/frameworks/react-webpack5/package.json b/code/frameworks/react-webpack5/package.json index 118a18704880..b58323c9366b 100644 --- a/code/frameworks/react-webpack5/package.json +++ b/code/frameworks/react-webpack5/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/react-webpack5", - "version": "7.0.0-alpha.20", + "version": "7.0.0-alpha.31", "description": "Storybook for React: Develop React Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -48,14 +48,13 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/builder-webpack5": "7.0.0-alpha.20", - "@storybook/preset-react-webpack": "7.0.0-alpha.20", - "@storybook/react": "7.0.0-alpha.20", - "@types/node": "^14.14.20 || ^16.0.0", - "core-js": "^3.8.2" + "@storybook/builder-webpack5": "7.0.0-alpha.31", + "@storybook/preset-react-webpack": "7.0.0-alpha.31", + "@storybook/react": "7.0.0-alpha.31", + "@types/node": "^14.14.20 || ^16.0.0" }, "devDependencies": { "jest-specific-snapshot": "^4.0.0", @@ -87,5 +86,5 @@ ], "platform": "node" }, - "gitHead": "a6c00d2ebed21da54b4772b4a4f7fed9258f0ab4" + "gitHead": "02c013c33186479017098d532a18ff8654b91f1f" } diff --git a/code/frameworks/server-webpack5/package.json b/code/frameworks/server-webpack5/package.json index 15fe8555165b..8d15917de005 100644 --- a/code/frameworks/server-webpack5/package.json +++ b/code/frameworks/server-webpack5/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/server-webpack5", - "version": "7.0.0-alpha.20", + "version": "7.0.0-alpha.31", "description": "Storybook for Server: View HTML snippets from a server in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -47,15 +47,14 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/builder-webpack5": "7.0.0-alpha.20", - "@storybook/core-common": "7.0.0-alpha.20", - "@storybook/preset-server-webpack": "7.0.0-alpha.20", - "@storybook/server": "7.0.0-alpha.20", + "@storybook/builder-webpack5": "7.0.0-alpha.31", + "@storybook/core-common": "7.0.0-alpha.31", + "@storybook/preset-server-webpack": "7.0.0-alpha.31", + "@storybook/server": "7.0.0-alpha.31", "@types/node": "^14.14.20 || ^16.0.0", - "core-js": "^3.8.2", "react": "16.14.0", "react-dom": "16.14.0" }, @@ -75,5 +74,5 @@ ], "platform": "node" }, - "gitHead": "a6c00d2ebed21da54b4772b4a4f7fed9258f0ab4" + "gitHead": "02c013c33186479017098d532a18ff8654b91f1f" } diff --git a/code/frameworks/svelte-vite/README.md b/code/frameworks/svelte-vite/README.md new file mode 100644 index 000000000000..30a7c36ca01e --- /dev/null +++ b/code/frameworks/svelte-vite/README.md @@ -0,0 +1 @@ +# Storybook for Svelte diff --git a/code/frameworks/svelte-vite/package.json b/code/frameworks/svelte-vite/package.json new file mode 100644 index 000000000000..8a0bf51303a3 --- /dev/null +++ b/code/frameworks/svelte-vite/package.json @@ -0,0 +1,83 @@ +{ + "name": "@storybook/svelte-vite", + "version": "7.0.0-alpha.31", + "description": "Storybook for Svelte and Vite: Develop Svelte components in isolation with Hot Reloading.", + "keywords": [ + "storybook" + ], + "homepage": "https://github.com/storybookjs/storybook/tree/main/frameworks/svelte-vite", + "bugs": { + "url": "https://github.com/storybookjs/storybook/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/storybookjs/storybook.git", + "directory": "frameworks/svelte-vite" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/storybook" + }, + "license": "MIT", + "exports": { + ".": { + "require": "./dist/index.js", + "import": "./dist/index.mjs", + "types": "./dist/index.d.ts" + }, + "./preset": { + "require": "./dist/preset.js", + "import": "./dist/preset.mjs", + "types": "./dist/preset.d.ts" + }, + "./package.json": { + "require": "./package.json", + "import": "./package.json", + "types": "./package.json" + } + }, + "main": "dist/index.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", + "files": [ + "dist/**/*", + "types/**/*", + "README.md", + "*.js", + "*.d.ts" + ], + "scripts": { + "check": "tsc --noEmit", + "prep": "../../../scripts/prepare/bundle.ts" + }, + "dependencies": { + "@storybook/addon-svelte-csf": "^2.0.0", + "@storybook/builder-vite": "7.0.0-alpha.31", + "@storybook/node-logger": "7.0.0-alpha.31", + "@storybook/svelte": "7.0.0-alpha.31", + "@sveltejs/vite-plugin-svelte": "^1.0.0", + "magic-string": "^0.26.1", + "svelte": "^3.0.0", + "sveltedoc-parser": "^4.2.1", + "vite": "3" + }, + "devDependencies": { + "@types/node": "^14.14.20 || ^16.0.0", + "typescript": "~4.6.3", + "vite": "^3.1.0" + }, + "engines": { + "node": "^14.18 || >=16" + }, + "publishConfig": { + "access": "public" + }, + "bundler": { + "entries": [ + "./src/index.ts", + "./src/preset.ts" + ], + "platform": "node" + }, + "gitHead": "02c013c33186479017098d532a18ff8654b91f1f" +} diff --git a/code/frameworks/svelte-vite/preset.js b/code/frameworks/svelte-vite/preset.js new file mode 100644 index 000000000000..a83f95279e7f --- /dev/null +++ b/code/frameworks/svelte-vite/preset.js @@ -0,0 +1 @@ +module.exports = require('./dist/preset'); diff --git a/code/frameworks/svelte-vite/src/index.ts b/code/frameworks/svelte-vite/src/index.ts new file mode 100644 index 000000000000..34948740dd91 --- /dev/null +++ b/code/frameworks/svelte-vite/src/index.ts @@ -0,0 +1,2 @@ +export * from '@storybook/svelte'; +export type { StorybookConfig } from '@storybook/builder-vite'; diff --git a/code/frameworks/svelte-vite/src/plugins/csf-plugin.ts b/code/frameworks/svelte-vite/src/plugins/csf-plugin.ts new file mode 100644 index 000000000000..50b8603fbf77 --- /dev/null +++ b/code/frameworks/svelte-vite/src/plugins/csf-plugin.ts @@ -0,0 +1,59 @@ +import { getNameFromFilename } from '@storybook/addon-svelte-csf/dist/cjs/parser/svelte-stories-loader'; +import { readFileSync } from 'fs'; +import { extractStories } from '@storybook/addon-svelte-csf/dist/cjs/parser/extract-stories'; +import type { Options } from '@sveltejs/vite-plugin-svelte'; +import * as svelte from 'svelte/compiler'; +import MagicString from 'magic-string'; +import { createFilter } from 'vite'; + +const parser = require + .resolve('@storybook/addon-svelte-csf/dist/esm/parser/collect-stories') + .replace(/[/\\]/g, '/'); + +export default function csfPlugin(svelteOptions?: Options) { + const include = /\.stories\.svelte$/; + const filter = createFilter(include); + + return { + name: 'storybook:addon-svelte-csf-plugin', + enforce: 'post', + async transform(code: string, id: string) { + if (!filter(id)) return undefined; + + const s = new MagicString(code); + const component = getNameFromFilename(id); + let source = readFileSync(id).toString(); + if (svelteOptions && svelteOptions.preprocess) { + source = (await svelte.preprocess(source, svelteOptions.preprocess, { filename: id })).code; + } + const all = extractStories(source); + const { stories } = all; + const storyDef = Object.entries(stories) + .filter(([, def]) => !def.template) + .map(([id]) => `export const ${id} = __storiesMetaData.stories[${JSON.stringify(id)}];`) + .join('\n'); + + s.replace('export default', '// export default'); + + const namedExportsOrder = Object.entries(stories) + .filter(([, def]) => !def.template) + .map(([id]) => id); + + const output = [ + '', + `import parser from '${parser}';`, + `const __storiesMetaData = parser(${component}, ${JSON.stringify(all)});`, + 'export default __storiesMetaData.meta;', + `export const __namedExportsOrder = ${JSON.stringify(namedExportsOrder)};`, + storyDef, + ].join('\n'); + + s.append(output); + + return { + code: s.toString(), + map: s.generateMap({ hires: true, source: id }), + }; + }, + }; +} diff --git a/code/frameworks/svelte-vite/src/plugins/svelte-docgen.ts b/code/frameworks/svelte-vite/src/plugins/svelte-docgen.ts new file mode 100644 index 000000000000..07f4697e0729 --- /dev/null +++ b/code/frameworks/svelte-vite/src/plugins/svelte-docgen.ts @@ -0,0 +1,102 @@ +import type { PluginOption } from 'vite'; +import MagicString from 'magic-string'; +import path from 'path'; +import fs from 'fs'; +import svelteDoc from 'sveltedoc-parser'; +import type { SvelteParserOptions } from 'sveltedoc-parser'; +import { logger } from '@storybook/node-logger'; +import { preprocess } from 'svelte/compiler'; +import { createFilter } from 'vite'; + +// Most of the code here should probably be exported by @storybook/svelte and reused here. +// See: https://github.com/storybookjs/storybook/blob/next/app/svelte/src/server/svelte-docgen-loader.ts + +// From https://github.com/sveltejs/svelte/blob/8db3e8d0297e052556f0b6dde310ef6e197b8d18/src/compiler/compile/utils/get_name_from_filename.ts +// Copied because it is not exported from the compiler +function getNameFromFilename(filename: string) { + if (!filename) return null; + + const parts = filename.split(/[/\\]/).map(encodeURI); + + if (parts.length > 1) { + const indexMatch = parts[parts.length - 1].match(/^index(\.\w+)/); + if (indexMatch) { + parts.pop(); + parts[parts.length - 1] += indexMatch[1]; + } + } + + const base = parts + .pop() + ?.replace(/%/g, 'u') + .replace(/\.[^.]+$/, '') + .replace(/[^a-zA-Z_$0-9]+/g, '_') + .replace(/^_/, '') + .replace(/_$/, '') + .replace(/^(\d)/, '_$1'); + + if (!base) { + throw new Error(`Could not derive component name from file ${filename}`); + } + + return base[0].toUpperCase() + base.slice(1); +} + +export function svelteDocgen(svelteOptions: Record): PluginOption { + const cwd = process.cwd(); + const { preprocess: preprocessOptions, logDocgen = false } = svelteOptions; + const include = /\.(svelte)$/; + const filter = createFilter(include); + + return { + name: 'storybook:svelte-docgen-plugin', + async transform(src: string, id: string) { + if (!filter(id)) return undefined; + + const resource = path.relative(cwd, id); + + let docOptions; + if (preprocessOptions) { + const src = fs.readFileSync(resource).toString(); + + const { code: fileContent } = await preprocess(src, preprocessOptions, { + filename: resource, + }); + + docOptions = { + fileContent, + }; + } else { + docOptions = { filename: resource }; + } + + // set SvelteDoc options + const options: SvelteParserOptions = { + ...docOptions, + version: 3, + }; + + const s = new MagicString(src); + + try { + const componentDoc = await svelteDoc.parse(options); + // get filename for source content + const file = path.basename(resource); + + componentDoc.name = path.basename(file); + + const componentName = getNameFromFilename(resource); + s.append(`;${componentName}.__docgen = ${JSON.stringify(componentDoc)}`); + } catch (error: any) { + if (logDocgen) { + logger.error(error); + } + } + + return { + code: s.toString(), + map: s.generateMap({ hires: true, source: id }), + }; + }, + }; +} diff --git a/code/frameworks/svelte-vite/src/preset.ts b/code/frameworks/svelte-vite/src/preset.ts new file mode 100644 index 000000000000..8006514d2fde --- /dev/null +++ b/code/frameworks/svelte-vite/src/preset.ts @@ -0,0 +1,31 @@ +import path from 'path'; +import fs from 'fs'; +import type { StorybookConfig } from '@storybook/builder-vite'; +import { svelteDocgen } from './plugins/svelte-docgen'; + +export const addons: StorybookConfig['addons'] = ['@storybook/svelte']; + +export const core: StorybookConfig['core'] = { + builder: '@storybook/builder-vite', +}; + +export function readPackageJson(): Record | false { + const packageJsonPath = path.resolve('package.json'); + if (!fs.existsSync(packageJsonPath)) { + return false; + } + + const jsonContent = fs.readFileSync(packageJsonPath, 'utf8'); + return JSON.parse(jsonContent); +} + +export const viteFinal: StorybookConfig['viteFinal'] = async (config, { presets }) => { + const { plugins = [] } = config; + + plugins.push(svelteDocgen(config)); + + return { + ...config, + plugins, + }; +}; diff --git a/code/frameworks/svelte-vite/tsconfig.json b/code/frameworks/svelte-vite/tsconfig.json new file mode 100644 index 000000000000..534e4ddd108a --- /dev/null +++ b/code/frameworks/svelte-vite/tsconfig.json @@ -0,0 +1,10 @@ +{ + "extends": "../../tsconfig.json", + "compilerOptions": { + "rootDir": "./src", + "types": ["node"], + "resolveJsonModule": true + }, + "include": ["src/**/*"], + "exclude": ["src/**/*.test.*", "src/**/__testfixtures__/**"] +} diff --git a/code/frameworks/svelte-webpack5/package.json b/code/frameworks/svelte-webpack5/package.json index eef159eb6cf5..73c40a409a4b 100644 --- a/code/frameworks/svelte-webpack5/package.json +++ b/code/frameworks/svelte-webpack5/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/svelte-webpack5", - "version": "7.0.0-alpha.20", + "version": "7.0.0-alpha.31", "description": "Storybook for Svelte: Develop Svelte Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -48,14 +48,13 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/builder-webpack5": "7.0.0-alpha.20", - "@storybook/core-common": "7.0.0-alpha.20", - "@storybook/preset-svelte-webpack": "7.0.0-alpha.20", - "@storybook/svelte": "7.0.0-alpha.20", - "core-js": "^3.8.2", + "@storybook/builder-webpack5": "7.0.0-alpha.31", + "@storybook/core-common": "7.0.0-alpha.31", + "@storybook/preset-svelte-webpack": "7.0.0-alpha.31", + "@storybook/svelte": "7.0.0-alpha.31", "react": "16.14.0", "react-dom": "16.14.0" }, @@ -82,5 +81,5 @@ ], "platform": "node" }, - "gitHead": "a6c00d2ebed21da54b4772b4a4f7fed9258f0ab4" + "gitHead": "02c013c33186479017098d532a18ff8654b91f1f" } diff --git a/code/frameworks/vue-webpack5/package.json b/code/frameworks/vue-webpack5/package.json index d7202a378326..0985955d1d28 100644 --- a/code/frameworks/vue-webpack5/package.json +++ b/code/frameworks/vue-webpack5/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/vue-webpack5", - "version": "7.0.0-alpha.20", + "version": "7.0.0-alpha.31", "description": "Storybook for Vue: Develop Vue Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -47,15 +47,14 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/builder-webpack5": "7.0.0-alpha.20", - "@storybook/core-common": "7.0.0-alpha.20", - "@storybook/preset-vue-webpack": "7.0.0-alpha.20", - "@storybook/vue": "7.0.0-alpha.20", + "@storybook/builder-webpack5": "7.0.0-alpha.31", + "@storybook/core-common": "7.0.0-alpha.31", + "@storybook/preset-vue-webpack": "7.0.0-alpha.31", + "@storybook/vue": "7.0.0-alpha.31", "@types/node": "^14.14.20 || ^16.0.0", - "core-js": "^3.8.2", "react": "16.14.0", "react-dom": "16.14.0" }, @@ -86,5 +85,5 @@ ], "platform": "node" }, - "gitHead": "a6c00d2ebed21da54b4772b4a4f7fed9258f0ab4" + "gitHead": "02c013c33186479017098d532a18ff8654b91f1f" } diff --git a/code/frameworks/vue3-vite/README.md b/code/frameworks/vue3-vite/README.md new file mode 100644 index 000000000000..e8a35450aec9 --- /dev/null +++ b/code/frameworks/vue3-vite/README.md @@ -0,0 +1 @@ +# Storybook for React diff --git a/code/frameworks/vue3-vite/package.json b/code/frameworks/vue3-vite/package.json new file mode 100644 index 000000000000..7451a6895702 --- /dev/null +++ b/code/frameworks/vue3-vite/package.json @@ -0,0 +1,81 @@ +{ + "name": "@storybook/vue3-vite", + "version": "7.0.0-alpha.31", + "description": "Storybook for Vue3 and Vite: Develop Vue3 components in isolation with Hot Reloading.", + "keywords": [ + "storybook" + ], + "homepage": "https://github.com/storybookjs/storybook/tree/main/frameworks/vue3-vite", + "bugs": { + "url": "https://github.com/storybookjs/storybook/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/storybookjs/storybook.git", + "directory": "frameworks/vue3-vite" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/storybook" + }, + "license": "MIT", + "exports": { + ".": { + "require": "./dist/index.js", + "import": "./dist/index.mjs", + "types": "./dist/index.d.ts" + }, + "./preset": { + "require": "./dist/preset.js", + "import": "./dist/preset.mjs", + "types": "./dist/preset.d.ts" + }, + "./package.json": { + "require": "./package.json", + "import": "./package.json", + "types": "./package.json" + } + }, + "main": "dist/index.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", + "files": [ + "dist/**/*", + "types/**/*", + "README.md", + "*.js", + "*.d.ts" + ], + "scripts": { + "check": "tsc --noEmit", + "prep": "../../../scripts/prepare/bundle.ts" + }, + "dependencies": { + "@storybook/builder-vite": "7.0.0-alpha.31", + "@storybook/core-server": "7.0.0-alpha.31", + "@storybook/vue3": "7.0.0-alpha.31", + "@vitejs/plugin-vue": "^3.0.3", + "magic-string": "^0.26.1", + "vite": "3", + "vue-docgen-api": "^4.40.0" + }, + "devDependencies": { + "@types/node": "^14.14.20 || ^16.0.0", + "typescript": "~4.6.3", + "vite": "^3.1.0" + }, + "engines": { + "node": "^14.18 || >=16" + }, + "publishConfig": { + "access": "public" + }, + "bundler": { + "entries": [ + "./src/index.ts", + "./src/preset.ts" + ], + "platform": "node" + }, + "gitHead": "02c013c33186479017098d532a18ff8654b91f1f" +} diff --git a/code/frameworks/vue3-vite/preset.js b/code/frameworks/vue3-vite/preset.js new file mode 100644 index 000000000000..2e3d77f1dea6 --- /dev/null +++ b/code/frameworks/vue3-vite/preset.js @@ -0,0 +1,2 @@ +console.log('vue3-vite preset!') +module.exports = require('./dist/preset'); diff --git a/code/frameworks/vue3-vite/src/index.ts b/code/frameworks/vue3-vite/src/index.ts new file mode 100644 index 000000000000..5687914b4894 --- /dev/null +++ b/code/frameworks/vue3-vite/src/index.ts @@ -0,0 +1,2 @@ +export * from '@storybook/vue3'; +export type { StorybookConfig } from '@storybook/builder-vite'; diff --git a/code/frameworks/vue3-vite/src/plugins/vue-docgen.ts b/code/frameworks/vue3-vite/src/plugins/vue-docgen.ts new file mode 100644 index 000000000000..6bed6a1fed98 --- /dev/null +++ b/code/frameworks/vue3-vite/src/plugins/vue-docgen.ts @@ -0,0 +1,27 @@ +import { parse } from 'vue-docgen-api'; +import type { PluginOption } from 'vite'; +import { createFilter } from 'vite'; +import MagicString from 'magic-string'; + +export function vueDocgen(): PluginOption { + const include = /\.(vue)$/; + const filter = createFilter(include); + + return { + name: 'storybook:vue-docgen-plugin', + + async transform(src: string, id: string) { + if (!filter(id)) return undefined; + + const metaData = await parse(id); + const metaSource = JSON.stringify(metaData); + const s = new MagicString(src); + s.append(`;_sfc_main.__docgenInfo = ${metaSource}`); + + return { + code: s.toString(), + map: s.generateMap({ hires: true, source: id }), + }; + }, + }; +} diff --git a/code/frameworks/vue3-vite/src/preset.ts b/code/frameworks/vue3-vite/src/preset.ts new file mode 100644 index 000000000000..3f35bed8b1ce --- /dev/null +++ b/code/frameworks/vue3-vite/src/preset.ts @@ -0,0 +1,39 @@ +import path from 'path'; +import fs from 'fs'; +import type { StorybookConfig } from '@storybook/builder-vite'; +import { vueDocgen } from './plugins/vue-docgen'; + +export const addons: StorybookConfig['addons'] = ['@storybook/vue3']; + +export const core: StorybookConfig['core'] = { + builder: '@storybook/builder-vite', +}; + +export function readPackageJson(): Record | false { + const packageJsonPath = path.resolve('package.json'); + if (!fs.existsSync(packageJsonPath)) { + return false; + } + + const jsonContent = fs.readFileSync(packageJsonPath, 'utf8'); + return JSON.parse(jsonContent); +} + +export const viteFinal: StorybookConfig['viteFinal'] = async (config, { presets }) => { + const { plugins = [] } = config; + + plugins.push(vueDocgen()); + + const updated = { + ...config, + plugins, + resolve: { + ...config.resolve, + alias: { + ...config.resolve?.alias, + vue: 'vue/dist/vue.esm-bundler.js', + }, + }, + }; + return updated; +}; diff --git a/code/frameworks/vue3-vite/tsconfig.json b/code/frameworks/vue3-vite/tsconfig.json new file mode 100644 index 000000000000..534e4ddd108a --- /dev/null +++ b/code/frameworks/vue3-vite/tsconfig.json @@ -0,0 +1,10 @@ +{ + "extends": "../../tsconfig.json", + "compilerOptions": { + "rootDir": "./src", + "types": ["node"], + "resolveJsonModule": true + }, + "include": ["src/**/*"], + "exclude": ["src/**/*.test.*", "src/**/__testfixtures__/**"] +} diff --git a/code/frameworks/vue3-webpack5/package.json b/code/frameworks/vue3-webpack5/package.json index 12bdc4581aed..96b75925d562 100644 --- a/code/frameworks/vue3-webpack5/package.json +++ b/code/frameworks/vue3-webpack5/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/vue3-webpack5", - "version": "7.0.0-alpha.20", + "version": "7.0.0-alpha.31", "description": "Storybook for Vue 3: Develop Vue 3 Components in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -47,15 +47,14 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/builder-webpack5": "7.0.0-alpha.20", - "@storybook/core-common": "7.0.0-alpha.20", - "@storybook/preset-vue3-webpack": "7.0.0-alpha.20", - "@storybook/vue3": "7.0.0-alpha.20", + "@storybook/builder-webpack5": "7.0.0-alpha.31", + "@storybook/core-common": "7.0.0-alpha.31", + "@storybook/preset-vue3-webpack": "7.0.0-alpha.31", + "@storybook/vue3": "7.0.0-alpha.31", "@types/node": "^14.14.20 || ^16.0.0", - "core-js": "^3.8.2", "react": "16.14.0", "react-dom": "16.14.0" }, @@ -83,5 +82,5 @@ ], "platform": "node" }, - "gitHead": "a6c00d2ebed21da54b4772b4a4f7fed9258f0ab4" + "gitHead": "02c013c33186479017098d532a18ff8654b91f1f" } diff --git a/code/frameworks/web-components-webpack5/package.json b/code/frameworks/web-components-webpack5/package.json index 6fe34a17bc8e..d4829ae63e95 100644 --- a/code/frameworks/web-components-webpack5/package.json +++ b/code/frameworks/web-components-webpack5/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/web-components-webpack5", - "version": "7.0.0-alpha.20", + "version": "7.0.0-alpha.31", "description": "Storybook for web-components: View web components snippets in isolation with Hot Reloading.", "keywords": [ "lit-html", @@ -49,16 +49,15 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { "@babel/preset-env": "^7.12.11", - "@storybook/builder-webpack5": "7.0.0-alpha.20", - "@storybook/core-common": "7.0.0-alpha.20", - "@storybook/preset-web-components-webpack": "7.0.0-alpha.20", - "@storybook/web-components": "7.0.0-alpha.20", + "@storybook/builder-webpack5": "7.0.0-alpha.31", + "@storybook/core-common": "7.0.0-alpha.31", + "@storybook/preset-web-components-webpack": "7.0.0-alpha.31", + "@storybook/web-components": "7.0.0-alpha.31", "@types/node": "^14.14.20 || ^16.0.0", - "core-js": "^3.8.2", "react": "16.14.0", "react-dom": "16.14.0" }, @@ -82,5 +81,5 @@ ], "platform": "node" }, - "gitHead": "a6c00d2ebed21da54b4772b4a4f7fed9258f0ab4" + "gitHead": "02c013c33186479017098d532a18ff8654b91f1f" } diff --git a/code/jest.init.ts b/code/jest.init.ts index a505fe32a40a..8c49f8647736 100644 --- a/code/jest.init.ts +++ b/code/jest.init.ts @@ -3,11 +3,10 @@ import '@testing-library/jest-dom'; // setup file import { configure } from 'enzyme'; -// @ts-ignore +// @ts-expect-error (Converted from ts-ignore) import Adapter from 'enzyme-adapter-react-16'; -// @ts-ignore +// @ts-expect-error (Converted from ts-ignore) import regeneratorRuntime from 'regenerator-runtime'; -// @ts-ignore import registerRequireContextHook from '@storybook/babel-plugin-require-context-hook/register'; import EventEmitter from 'events'; @@ -25,9 +24,9 @@ const localStorageMock = { setItem: jest.fn().mockName('setItem'), clear: jest.fn().mockName('clear'), }; -// @ts-ignore +// @ts-expect-error (Converted from ts-ignore) global.localStorage = localStorageMock; -// @ts-ignore +// @ts-expect-error (Converted from ts-ignore) global.regeneratorRuntime = regeneratorRuntime; configure({ adapter: new Adapter() }); diff --git a/code/lerna.json b/code/lerna.json index 599aa6c26c94..a09aa096c7bf 100644 --- a/code/lerna.json +++ b/code/lerna.json @@ -2,5 +2,5 @@ "npmClient": "yarn", "useWorkspaces": true, "registry": "https://registry.npmjs.org", - "version": "7.0.0-alpha.20" + "version": "7.0.0-alpha.31" } diff --git a/code/lib/addons/package.json b/code/lib/addons/package.json index 9494b9a37656..aa090e25890f 100644 --- a/code/lib/addons/package.json +++ b/code/lib/addons/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addons", - "version": "7.0.0-alpha.20", + "version": "7.0.0-alpha.31", "description": "Storybook addons store", "keywords": [ "storybook" @@ -31,18 +31,16 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../../scripts/prepare.js" + "prep": "node ../../../scripts/prepare.js" }, "dependencies": { - "@storybook/api": "7.0.0-alpha.20", - "@storybook/channels": "7.0.0-alpha.20", - "@storybook/client-logger": "7.0.0-alpha.20", - "@storybook/core-events": "7.0.0-alpha.20", + "@storybook/api": "7.0.0-alpha.31", + "@storybook/channels": "7.0.0-alpha.31", + "@storybook/client-logger": "7.0.0-alpha.31", + "@storybook/core-events": "7.0.0-alpha.31", "@storybook/csf": "0.0.2--canary.0899bb7.0", - "@storybook/router": "7.0.0-alpha.20", - "@storybook/theming": "7.0.0-alpha.20", - "@types/webpack-env": "^1.16.4", - "core-js": "^3.8.2", + "@storybook/router": "7.0.0-alpha.31", + "@storybook/theming": "7.0.0-alpha.31", "global": "^4.4.0" }, "peerDependencies": { @@ -52,5 +50,5 @@ "publishConfig": { "access": "public" }, - "gitHead": "a6c00d2ebed21da54b4772b4a4f7fed9258f0ab4" + "gitHead": "02c013c33186479017098d532a18ff8654b91f1f" } diff --git a/code/lib/addons/src/hooks.ts b/code/lib/addons/src/hooks.ts index 540e3a871b36..f6b711184778 100644 --- a/code/lib/addons/src/hooks.ts +++ b/code/lib/addons/src/hooks.ts @@ -329,11 +329,11 @@ function useStateLike( ): [S, (update: ((prevState: S) => S) | S) => void] { const stateRef = useRefLike( name, - // @ts-ignore S type should never be function, but there's no way to tell that to TypeScript + // @ts-expect-error S type should never be function, but there's no way to tell that to TypeScript typeof initialState === 'function' ? initialState() : initialState ); const setState = (update: ((prevState: S) => S) | S) => { - // @ts-ignore S type should never be function, but there's no way to tell that to TypeScript + // @ts-expect-error S type should never be function, but there's no way to tell that to TypeScript stateRef.current = typeof update === 'function' ? update(stateRef.current) : update; triggerUpdate(); }; diff --git a/code/lib/addons/src/types.ts b/code/lib/addons/src/types.ts index 5ce1726388b5..6cb8f86f3aaf 100644 --- a/code/lib/addons/src/types.ts +++ b/code/lib/addons/src/types.ts @@ -36,11 +36,10 @@ export interface ArgType extends InputType { export type ArgTypes = { [key in keyof Partial]: ArgType; -} & - { - // for custom defined args - [key in string]: ArgType; - }; +} & { + // for custom defined args + [key in string]: ArgType; +}; export type Comparator = ((a: T, b: T) => boolean) | ((a: T, b: T) => number); export type StorySortMethod = 'configure' | 'alphabetical'; @@ -77,7 +76,8 @@ export type IndexEntry = StoryIndexEntry | DocsIndexEntry; // The `any` here is the story store's `StoreItem` record. Ideally we should probably only // pass a defined subset of that full data, but we pass it all so far :shrug: -export type StorySortComparator = Comparator<[StoryId, any, Parameters, Parameters]>; +export type IndexEntryLegacy = [StoryId, any, Parameters, Parameters]; +export type StorySortComparator = Comparator; export type StorySortParameter = StorySortComparator | StorySortObjectParameter; export type StorySortComparatorV7 = Comparator; export type StorySortParameterV7 = StorySortComparatorV7 | StorySortObjectParameter; diff --git a/code/lib/api/package.json b/code/lib/api/package.json index 3a14426f57f7..7aa1f99c10d2 100644 --- a/code/lib/api/package.json +++ b/code/lib/api/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/api", - "version": "7.0.0-alpha.20", + "version": "7.0.0-alpha.31", "description": "Core Storybook API & Context", "keywords": [ "storybook" @@ -29,17 +29,16 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../../scripts/prepare.js" + "prep": "node ../../../scripts/prepare.js" }, "dependencies": { - "@storybook/channels": "7.0.0-alpha.20", - "@storybook/client-logger": "7.0.0-alpha.20", - "@storybook/core-events": "7.0.0-alpha.20", + "@storybook/channels": "7.0.0-alpha.31", + "@storybook/client-logger": "7.0.0-alpha.31", + "@storybook/core-events": "7.0.0-alpha.31", "@storybook/csf": "0.0.2--canary.0899bb7.0", - "@storybook/router": "7.0.0-alpha.20", + "@storybook/router": "7.0.0-alpha.31", "@storybook/semver": "^7.3.2", - "@storybook/theming": "7.0.0-alpha.20", - "core-js": "^3.8.2", + "@storybook/theming": "7.0.0-alpha.31", "dequal": "^2.0.2", "global": "^4.4.0", "lodash": "^4.17.21", @@ -50,11 +49,11 @@ "util-deprecate": "^1.0.2" }, "devDependencies": { + "@jest/globals": "^26.6.2", + "@storybook/core-common": "7.0.0-alpha.31", "@types/lodash": "^4.14.167", "@types/qs": "^6", - "@types/semver": "^7.3.4", "flush-promises": "^1.0.2", - "preval.macro": "^5.0.0", "qs": "^6.10.1", "typescript": "~4.6.3" }, @@ -65,5 +64,5 @@ "publishConfig": { "access": "public" }, - "gitHead": "a6c00d2ebed21da54b4772b4a4f7fed9258f0ab4" + "gitHead": "02c013c33186479017098d532a18ff8654b91f1f" } diff --git a/code/lib/api/src/index.tsx b/code/lib/api/src/index.tsx index 26641a0b2f12..4c72559ce955 100644 --- a/code/lib/api/src/index.tsx +++ b/code/lib/api/src/index.tsx @@ -309,7 +309,7 @@ interface ManagerConsumerProps

{ const defaultFilter = (c: Combo) => c; function ManagerConsumer

({ - // @ts-ignore + // @ts-expect-error (Converted from ts-ignore) filter = defaultFilter, children, }: ManagerConsumerProps

): ReactElement { diff --git a/code/lib/api/src/lib/stories.ts b/code/lib/api/src/lib/stories.ts index 9be760fe3d8f..2019bc944ab1 100644 --- a/code/lib/api/src/lib/stories.ts +++ b/code/lib/api/src/lib/stories.ts @@ -519,6 +519,21 @@ export const transformStoryIndexToStoriesHash = ( .reduce(addItem, orphanHash); }; +export const addPreparedStories = (newHash: StoriesHash, oldHash?: StoriesHash) => { + if (!oldHash) return newHash; + + return Object.fromEntries( + Object.entries(newHash).map(([id, newEntry]) => { + const oldEntry = oldHash[id]; + if (newEntry.type === 'story' && oldEntry?.type === 'story' && oldEntry.prepared) { + return [id, { ...oldEntry, ...newEntry, prepared: true }]; + } + + return [id, newEntry]; + }) + ); +}; + export const getComponentLookupList = memoize(1)((hash: StoriesHash) => { return Object.entries(hash).reduce((acc, i) => { const value = i[1]; diff --git a/code/lib/api/src/modules/stories.ts b/code/lib/api/src/modules/stories.ts index ef1d5aa68641..3f6446e7a7e1 100644 --- a/code/lib/api/src/modules/stories.ts +++ b/code/lib/api/src/modules/stories.ts @@ -25,6 +25,7 @@ import { getStoriesLookupList, HashEntry, LeafEntry, + addPreparedStories, } from '../lib/stories'; import type { @@ -351,13 +352,16 @@ export const init: ModuleFn = ({ } }, setStoryList: async (storyIndex: StoryIndex) => { - const hash = transformStoryIndexToStoriesHash(storyIndex, { + const newHash = transformStoryIndexToStoriesHash(storyIndex, { provider, docsOptions, }); + // Now we need to patch in the existing prepared stories + const oldHash = store.getState().storiesHash; + await store.setState({ - storiesHash: hash, + storiesHash: addPreparedStories(newHash, oldHash), storiesConfigured: true, storiesFailed: null, }); diff --git a/code/lib/api/src/modules/versions.ts b/code/lib/api/src/modules/versions.ts index 594ba4c99920..703924ac80c0 100644 --- a/code/lib/api/src/modules/versions.ts +++ b/code/lib/api/src/modules/versions.ts @@ -1,5 +1,5 @@ import global from 'global'; -// @ts-ignore +// @ts-expect-error no typedefs import semver from '@storybook/semver'; import memoize from 'memoizerific'; diff --git a/code/lib/api/src/store.ts b/code/lib/api/src/store.ts index 22b83c036643..1f9cde676f34 100644 --- a/code/lib/api/src/store.ts +++ b/code/lib/api/src/store.ts @@ -4,7 +4,6 @@ import storeSetup from './lib/store-setup'; import type { State } from './index'; // setting up the store, overriding set and get to use telejson -// @ts-ignore storeSetup(store._); export const STORAGE_KEY = '@storybook/ui/store'; diff --git a/code/lib/api/src/tests/stories.test.ts b/code/lib/api/src/tests/stories.test.ts index 132a95733526..a686680e2b3d 100644 --- a/code/lib/api/src/tests/stories.test.ts +++ b/code/lib/api/src/tests/stories.test.ts @@ -1,4 +1,6 @@ -/// ; +/// ; +// Need to import jest as mockJest for annoying jest reasons. Is there a better way? +import { jest, jest as mockJest, it, describe, expect, beforeEach } from '@jest/globals'; import { STORY_ARGS_UPDATED, @@ -21,17 +23,17 @@ import { StoryEntry, SetStoriesStoryData, SetStoriesStory, StoryIndex } from '.. import type Store from '../store'; import { ModuleArgs } from '..'; -const mockStories: jest.MockedFunction<() => StoryIndex['entries']> = jest.fn(); +const mockStories = jest.fn(); jest.mock('../lib/events'); jest.mock('global', () => ({ - ...(jest.requireActual('global') as Record), - fetch: jest.fn(() => ({ json: () => ({ v: 4, entries: mockStories() }) })), + ...(mockJest.requireActual('global') as Record), + fetch: mockJest.fn(() => ({ json: () => ({ v: 4, entries: mockStories() }) })), FEATURES: { storyStoreV7: true }, CONFIG_TYPE: 'DEVELOPMENT', })); -const getEventMetadataMock = getEventMetadata as jest.MockedFunction; +const getEventMetadataMock = getEventMetadata as ReturnType; const mockIndex = { 'component-a--story-1': { @@ -58,7 +60,7 @@ function createMockStore(initialState = {}) { let state = initialState; return { getState: jest.fn(() => state), - setState: jest.fn((s) => { + setState: jest.fn((s: typeof state) => { state = { ...state, ...s }; return Promise.resolve(state); }), @@ -1195,6 +1197,47 @@ describe('stories API', () => { expect(Object.keys(storedStoriesHash)).toEqual(['component-a', 'component-a--story-1']); }); + it('retains prepared-ness of stories', async () => { + const navigate = jest.fn(); + const store = createMockStore(); + const fullAPI = Object.assign(new EventEmitter(), { + setStories: jest.fn(), + setOptions: jest.fn(), + }); + + const { api, init } = initStories({ store, navigate, provider, fullAPI } as any); + Object.assign(fullAPI, api); + + global.fetch.mockClear(); + await init(); + expect(global.fetch).toHaveBeenCalledTimes(1); + + fullAPI.emit(STORY_PREPARED, { + id: 'component-a--story-1', + parameters: { a: 'b' }, + args: { c: 'd' }, + }); + // Let the promise/await chain resolve + await new Promise((r) => setTimeout(r, 0)); + expect(store.getState().storiesHash['component-a--story-1'] as StoryEntry).toMatchObject({ + prepared: true, + parameters: { a: 'b' }, + args: { c: 'd' }, + }); + + global.fetch.mockClear(); + provider.serverChannel.emit(STORY_INDEX_INVALIDATED); + expect(global.fetch).toHaveBeenCalledTimes(1); + + // Let the promise/await chain resolve + await new Promise((r) => setTimeout(r, 0)); + expect(store.getState().storiesHash['component-a--story-1'] as StoryEntry).toMatchObject({ + prepared: true, + parameters: { a: 'b' }, + args: { c: 'd' }, + }); + }); + it('handles docs entries', async () => { mockStories.mockReset().mockReturnValue({ 'component-a--page': { diff --git a/code/lib/api/src/version.ts b/code/lib/api/src/version.ts index 4e28b620d922..7986f3e4db75 100644 --- a/code/lib/api/src/version.ts +++ b/code/lib/api/src/version.ts @@ -1 +1 @@ -export const version = '7.0.0-alpha.20'; +export const version = '7.0.0-alpha.31'; diff --git a/code/lib/blocks/package.json b/code/lib/blocks/package.json index 89ae9ce261be..fb6b98b3eb61 100644 --- a/code/lib/blocks/package.json +++ b/code/lib/blocks/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/blocks", - "version": "7.0.0-alpha.20", + "version": "7.0.0-alpha.31", "description": "Storybook Doc Blocks", "keywords": [ "storybook" @@ -38,21 +38,20 @@ "*.d.ts" ], "scripts": { - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/api": "7.0.0-alpha.20", - "@storybook/channels": "7.0.0-alpha.20", - "@storybook/client-logger": "7.0.0-alpha.20", - "@storybook/components": "7.0.0-alpha.20", - "@storybook/core-events": "7.0.0-alpha.20", + "@storybook/api": "7.0.0-alpha.31", + "@storybook/channels": "7.0.0-alpha.31", + "@storybook/client-logger": "7.0.0-alpha.31", + "@storybook/components": "7.0.0-alpha.31", + "@storybook/core-events": "7.0.0-alpha.31", "@storybook/csf": "0.0.2--canary.0899bb7.0", - "@storybook/docs-tools": "7.0.0-alpha.20", - "@storybook/preview-web": "7.0.0-alpha.20", - "@storybook/store": "7.0.0-alpha.20", - "@storybook/theming": "7.0.0-alpha.20", + "@storybook/docs-tools": "7.0.0-alpha.31", + "@storybook/preview-web": "7.0.0-alpha.31", + "@storybook/store": "7.0.0-alpha.31", + "@storybook/theming": "7.0.0-alpha.31", "color-convert": "^2.0.1", - "core-js": "^3.8.2", "dequal": "^2.0.2", "global": "^4.4.0", "lodash": "^4.17.21", @@ -64,7 +63,9 @@ "util-deprecate": "^1.0.2" }, "devDependencies": { - "@storybook/addons": "7.0.0-alpha.20" + "@storybook/addon-actions": "7.0.0-alpha.31", + "@storybook/addons": "7.0.0-alpha.31", + "@types/color-convert": "^2.0.0" }, "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.0.0" @@ -77,5 +78,5 @@ "./src/index.ts" ] }, - "gitHead": "a6c00d2ebed21da54b4772b4a4f7fed9258f0ab4" + "gitHead": "02c013c33186479017098d532a18ff8654b91f1f" } diff --git a/code/lib/blocks/src/blocks/Canvas.tsx b/code/lib/blocks/src/blocks/Canvas.tsx index 5c2225273384..3641b422911d 100644 --- a/code/lib/blocks/src/blocks/Canvas.tsx +++ b/code/lib/blocks/src/blocks/Canvas.tsx @@ -34,6 +34,7 @@ const getPreviewProps = ( previewProps: { ...props, withSource: getSourceProps({ code: decodeURI(mdxSource) }, docsContext, sourceContext), + isExpanded: sourceState === SourceState.OPEN, }, }; } diff --git a/code/lib/blocks/src/blocks/Props.tsx b/code/lib/blocks/src/blocks/Props.tsx index 9ce4b9a24f30..3bbaacf18eb8 100644 --- a/code/lib/blocks/src/blocks/Props.tsx +++ b/code/lib/blocks/src/blocks/Props.tsx @@ -13,7 +13,7 @@ export const Props = deprecate( ` ); -// @ts-ignore +// @ts-expect-error (Converted from ts-ignore) Props.defaultProps = { of: PRIMARY_STORY, }; diff --git a/code/lib/blocks/src/blocks/mdx.tsx b/code/lib/blocks/src/blocks/mdx.tsx index 0ef6a3e89fd4..60d507c228a5 100644 --- a/code/lib/blocks/src/blocks/mdx.tsx +++ b/code/lib/blocks/src/blocks/mdx.tsx @@ -53,7 +53,6 @@ function navigate(context: DocsContextProps, url: string) { context.channel.emit(NAVIGATE_URL, url); } -// @ts-ignore const A = components.a; interface AnchorInPageProps { @@ -124,7 +123,7 @@ const SUPPORTED_MDX_HEADERS = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6']; const OcticonHeaders = SUPPORTED_MDX_HEADERS.reduce( (acc, headerType) => ({ ...acc, - // @ts-ignore + // @ts-expect-error (Converted from ts-ignore) [headerType]: styled(components[headerType])({ '& svg': { visibility: 'hidden', @@ -159,7 +158,7 @@ const HeaderWithOcticonAnchor: FC = ({ }) => { const context = useContext(DocsContext); - // @ts-ignore + // @ts-expect-error (Converted from ts-ignore) const OcticonHeader = OcticonHeaders[as]; const hash = `#${id}`; @@ -213,7 +212,7 @@ export const HeaderMdx: FC = (props) => { ); } - // @ts-ignore + // @ts-expect-error (Converted from ts-ignore) const Header = components[as]; // Make sure it still work if "remark-slug" plugin is not present. @@ -223,7 +222,7 @@ export const HeaderMdx: FC = (props) => { export const HeadersMdx = SUPPORTED_MDX_HEADERS.reduce( (acc, headerType) => ({ ...acc, - // @ts-ignore + // @ts-expect-error (Converted from ts-ignore) [headerType]: (props: object) => , }), {} diff --git a/code/lib/blocks/src/components/ArgsTable/ArgsTable.tsx b/code/lib/blocks/src/components/ArgsTable/ArgsTable.tsx index 47292a5513bc..2b34084eebf1 100644 --- a/code/lib/blocks/src/components/ArgsTable/ArgsTable.tsx +++ b/code/lib/blocks/src/components/ArgsTable/ArgsTable.tsx @@ -4,7 +4,7 @@ import { styled } from '@storybook/theming'; import { opacify, transparentize, darken, lighten } from 'polished'; import { includeConditionalArg } from '@storybook/csf'; import { once } from '@storybook/client-logger'; -import { Icons, Link, ResetWrapper } from '@storybook/components'; +import { IconButton, Icons, Link, ResetWrapper } from '@storybook/components'; import { ArgRow } from './ArgRow'; import { SectionRow } from './SectionRow'; import { ArgType, ArgTypes, Args, Globals } from './types'; @@ -203,39 +203,9 @@ export const TableWrapper = styled.table<{ : {} ); -const ResetButton = styled.button(({ theme }) => ({ - border: 0, - borderRadius: '3em', - cursor: 'pointer', - display: 'inline-block', - overflow: 'hidden', - padding: '3px 8px', - transition: 'all 150ms ease-out', - verticalAlign: 'top', - userSelect: 'none', - margin: 0, - - backgroundColor: theme.base === 'light' ? '#EAF3FC' : theme.color.border, - boxShadow: - theme.base === 'light' - ? `${theme.color.border} 0 0 0 1px inset` - : `${theme.color.darker} 0 0 0 1px inset`, - color: theme.color.secondary, - - '&:hover': { - background: theme.base === 'light' ? darken(0.03, '#EAF3FC') : opacify(0.1, theme.color.border), - }, - - '&:focus': { - boxShadow: `${theme.color.secondary} 0 0 0 1px inset`, - outline: 'none', - }, - - svg: { - display: 'block', - height: 14, - width: 14, - }, +const StyledIconButton = styled(IconButton as any)(({ theme }) => ({ + color: theme.barTextColor, + margin: '-4px -12px -4px 0', })); const ControlHeadingWrapper = styled.span({ @@ -472,9 +442,9 @@ export const ArgsTable: FC = (props) => { Control{' '} {!isLoading && resetArgs && ( - resetArgs()} title="Reset controls"> + resetArgs()} title="Reset controls"> - + )} diff --git a/code/lib/blocks/src/components/ArgsTable/SectionRow.tsx b/code/lib/blocks/src/components/ArgsTable/SectionRow.tsx index 505de985bdec..e44e1b36bb32 100644 --- a/code/lib/blocks/src/components/ArgsTable/SectionRow.tsx +++ b/code/lib/blocks/src/components/ArgsTable/SectionRow.tsx @@ -96,7 +96,7 @@ export const SectionRow: FC = ({ }) => { const [expanded, setExpanded] = useState(initialExpanded); const Level = level === 'subsection' ? Subsection : Section; - // @ts-ignore + // @ts-expect-error (Converted from ts-ignore) const itemCount = children?.length || 0; const caption = level === 'subsection' ? `${itemCount} item${itemCount !== 1 ? 's' : ''}` : ''; const icon = expanded ? 'arrowdown' : 'arrowright'; diff --git a/code/lib/blocks/src/components/IFrame.tsx b/code/lib/blocks/src/components/IFrame.tsx index cbdd6c46423f..6c0bf97dea4d 100644 --- a/code/lib/blocks/src/components/IFrame.tsx +++ b/code/lib/blocks/src/components/IFrame.tsx @@ -54,7 +54,6 @@ export class IFrame extends Component { title={title} src={src} allowFullScreen={allowFullScreen} - // @ts-ignore loading="lazy" {...rest} /> diff --git a/code/lib/blocks/src/components/Preview.tsx b/code/lib/blocks/src/components/Preview.tsx index 6440ce8c7454..f07813bceed8 100644 --- a/code/lib/blocks/src/components/Preview.tsx +++ b/code/lib/blocks/src/components/Preview.tsx @@ -215,7 +215,7 @@ export const Preview: FC = ({ ); const actionItems = [...defaultActionItems, ...additionalActionItems]; - // @ts-ignore + // @ts-expect-error (Converted from ts-ignore) const layout = getLayout(Children.count(children) === 1 ? [children] : children); const { window: globalWindow } = global; diff --git a/code/lib/blocks/src/controls/react-editable-json-tree/JsonNodes.tsx b/code/lib/blocks/src/controls/react-editable-json-tree/JsonNodes.tsx index ac4273bd6ee1..406c6488cf2f 100644 --- a/code/lib/blocks/src/controls/react-editable-json-tree/JsonNodes.tsx +++ b/code/lib/blocks/src/controls/react-editable-json-tree/JsonNodes.tsx @@ -81,12 +81,12 @@ export class JsonAddValue extends Component any; } -// @ts-ignore +// @ts-expect-error (Converted from ts-ignore) JsonAddValue.defaultProps = { onlyValue: false, addButtonElement: , @@ -193,7 +193,7 @@ export class JsonArray extends Component { onChildUpdate(childKey: string, childData: any) { const { data, keyPath } = this.state; // Update data - // @ts-ignore + // @ts-expect-error (Converted from ts-ignore) data[childKey] = childData; // Put new data this.setState({ @@ -484,7 +484,7 @@ interface JsonArrayProps { onSubmitValueParser: (...args: any) => any; } -// @ts-ignore +// @ts-expect-error (Converted from ts-ignore) JsonArray.defaultProps = { keyPath: [], deep: 0, @@ -586,7 +586,7 @@ export class JsonFunctionValue extends Component any; } -// @ts-ignore +// @ts-expect-error (Converted from ts-ignore) JsonFunctionValue.defaultProps = { keyPath: [], deep: 0, @@ -1036,7 +1036,7 @@ interface JsonNodeProps { onSubmitValueParser: (...args: any) => any; } -/// @ts-ignore +/// @ts-expect-error (Converted from ts-ignore) JsonNode.defaultProps = { keyPath: [], deep: 0, @@ -1085,7 +1085,7 @@ export class JsonObject extends Component { onChildUpdate(childKey: string, childData: any) { const { data, keyPath } = this.state; // Update data - // @ts-ignore + // @ts-expect-error (Converted from ts-ignore) data[childKey] = childData; // Put new data this.setState({ @@ -1116,7 +1116,7 @@ export class JsonObject extends Component { beforeAddAction(key, keyPath, deep, newValue) .then(() => { // Update data - // @ts-ignore + // @ts-expect-error (Converted from ts-ignore) data[key] = newValue; this.setState({ data, @@ -1142,7 +1142,7 @@ export class JsonObject extends Component { return () => { const { beforeRemoveAction, logger } = this.props; const { data, keyPath, nextDeep: deep } = this.state; - // @ts-ignore + // @ts-expect-error (Converted from ts-ignore) const oldValue = data[key]; // Before Remove Action beforeRemoveAction(key, keyPath, deep, oldValue) @@ -1155,7 +1155,7 @@ export class JsonObject extends Component { type: deltaTypes.REMOVE_DELTA_TYPE, }; - // @ts-ignore + // @ts-expect-error (Converted from ts-ignore) delete data[key]; this.setState({ data }); @@ -1181,14 +1181,14 @@ export class JsonObject extends Component { const { data, keyPath, nextDeep: deep } = this.state; // Old value - // @ts-ignore + // @ts-expect-error (Converted from ts-ignore) const oldValue = data[key]; // Before update action beforeUpdateAction(key, keyPath, deep, oldValue, value) .then(() => { // Update value - // @ts-ignore + // @ts-expect-error (Converted from ts-ignore) data[key] = value; // Set state this.setState({ @@ -1385,7 +1385,7 @@ interface JsonObjectProps { onSubmitValueParser: (...args: any) => any; } -// @ts-ignore +// @ts-expect-error (Converted from ts-ignore) JsonObject.defaultProps = { keyPath: [], deep: 0, @@ -1487,7 +1487,7 @@ export class JsonValue extends Component { } refInput(node: any) { - // @ts-ignore + // @ts-expect-error (Converted from ts-ignore) this.state.inputRef = node; } @@ -1585,7 +1585,7 @@ interface JsonValueProps { onSubmitValueParser: (...args: any) => any; } -// @ts-ignore +// @ts-expect-error (Converted from ts-ignore) JsonValue.defaultProps = { keyPath: [], deep: 0, diff --git a/code/lib/blocks/src/controls/react-editable-json-tree/index.tsx b/code/lib/blocks/src/controls/react-editable-json-tree/index.tsx index 71df7597010e..1ba04c791112 100644 --- a/code/lib/blocks/src/controls/react-editable-json-tree/index.tsx +++ b/code/lib/blocks/src/controls/react-editable-json-tree/index.tsx @@ -74,12 +74,12 @@ export class JsonTree extends Component { } let inputElementFunction = inputElement; if (inputElement && getObjectType(inputElement) !== 'Function') { - // @ts-ignore + // @ts-expect-error (Converted from ts-ignore) inputElementFunction = () => inputElement; } let textareaElementFunction = textareaElement; if (textareaElement && getObjectType(textareaElement) !== 'Function') { - // @ts-ignore + // @ts-expect-error (Converted from ts-ignore) textareaElementFunction = () => textareaElement; } @@ -140,7 +140,7 @@ interface JsonTreeProps { onSubmitValueParser?: (...args: any) => any; } -// @ts-ignore +// @ts-expect-error (Converted from ts-ignore) JsonTree.defaultProps = { rootName: 'root', isCollapsed: (keyPath, deep) => deep !== -1, diff --git a/code/lib/builder-manager/README.md b/code/lib/builder-manager/README.md index 0c6fc3084a83..54e0611cb703 100644 --- a/code/lib/builder-manager/README.md +++ b/code/lib/builder-manager/README.md @@ -1,3 +1,12 @@ # Manager-Builder -TODO +> NOTE: Do not use this package unless you know what you are doing. + +This package is used internally by Storybook to create the manager side (UI) of Storybook. + +This package uses `esbuild` to bundle the manager-side of addons, and prepare it for modern, ESM supporting browsers. + +Each addon is bundled into a separate file, and the manager is responsible for loading them. +If a `manager.*` file exists in the config dir (e.g. `.storybook`), it's also bundled, and loaded in the browser. + +Additionally, this package also will add the manager ui via the `@storybook/ui` package, which is already built by `esbuild` in our build process before publishing. diff --git a/code/lib/builder-manager/package.json b/code/lib/builder-manager/package.json index 0f6ff512ea3e..6a303e3b1021 100644 --- a/code/lib/builder-manager/package.json +++ b/code/lib/builder-manager/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/builder-manager", - "version": "7.0.0-alpha.20", + "version": "7.0.0-alpha.31", "description": "Storybook manager builder", "keywords": [ "storybook" @@ -38,23 +38,23 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { "@fal-works/esbuild-plugin-global-externals": "^2.1.2", - "@storybook/core-common": "7.0.0-alpha.20", - "@storybook/node-logger": "7.0.0-alpha.20", - "@storybook/ui": "7.0.0-alpha.20", + "@storybook/core-common": "7.0.0-alpha.31", + "@storybook/node-logger": "7.0.0-alpha.31", + "@storybook/ui": "7.0.0-alpha.31", "@types/ejs": "^3.1.1", "@yarnpkg/esbuild-plugin-pnp": "^3.0.0-rc.10", "browser-assert": "^1.2.1", - "chalk": "^4.1.0", "ejs": "^3.1.8", "esbuild": "^0.14.48", "esbuild-plugin-alias": "^0.2.1", "express": "^4.17.1", "fs-extra": "^9.0.1", - "rollup-plugin-node-polyfills": "^0.2.1" + "process": "^0.11.10", + "util": "^0.12.4" }, "devDependencies": { "typescript": "~4.6.3" @@ -68,5 +68,5 @@ ], "platform": "node" }, - "gitHead": "a6c00d2ebed21da54b4772b4a4f7fed9258f0ab4" + "gitHead": "02c013c33186479017098d532a18ff8654b91f1f" } diff --git a/code/lib/builder-manager/src/index.ts b/code/lib/builder-manager/src/index.ts index 9b1d96323265..753c2dd3acf5 100644 --- a/code/lib/builder-manager/src/index.ts +++ b/code/lib/builder-manager/src/index.ts @@ -60,8 +60,8 @@ export const getConfig: ManagerBuilder['getConfig'] = async (options) => { legalComments: 'external', plugins: [ aliasPlugin({ - process: require.resolve('rollup-plugin-node-polyfills/polyfills/process-es6.js'), - util: require.resolve('rollup-plugin-node-polyfills/polyfills/util.js'), + process: require.resolve('process/browser.js'), + util: require.resolve('util/util.js'), assert: require.resolve('browser-assert'), }), globalExternals(definitions), diff --git a/code/lib/builder-manager/templates/template.ejs b/code/lib/builder-manager/templates/template.ejs index 046d109199ee..d513ace5dd3f 100644 --- a/code/lib/builder-manager/templates/template.ejs +++ b/code/lib/builder-manager/templates/template.ejs @@ -2,16 +2,16 @@ + <%= typeof title !== 'undefined'? title : 'Storybook'%> <% if (typeof head !== 'undefined') { %> <%- head %> <% } %> - + @@ -19,11 +19,9 @@ <% files.css.forEach(file => { %> <% }); %> -

-
<% if (typeof globals !== 'undefined' && Object.keys(globals).length) { %> <% } %> - + <% files.js.forEach(file => { %> - + <% }); %> diff --git a/code/lib/builder-vite/README.md b/code/lib/builder-vite/README.md new file mode 100644 index 000000000000..88d077113f2d --- /dev/null +++ b/code/lib/builder-vite/README.md @@ -0,0 +1,225 @@ +# Storybook builder for Vite + +Build your stories with [vite](https://vitejs.dev/) for fast startup times and near-instant HMR. + +# Table of Contents + +- [Migration from storybook-builder-vite](#migration-from-storybook-builder-vite) +- [Installation](#installation) +- [Usage](#usage) + - [Getting started with Vite and Storybook (on a new project)](#getting-started-with-vite-and-storybook-on-a-new-project) + - [Migration from webpack / CRA](#migration-from-webpack--cra) + - [Customize Vite config](#customize-vite-config) + - [Svelte Customization](#svelte-customization) + - [TypeScript](#typescript) + - [React Docgen](#react-docgen) + - [Note about working directory](#note-about-working-directory) +- [Known issues](#known-issues) +- [Contributing](#contributing) + - [About this codebase](#about-this-codebase) + +## Migration from storybook-builder-vite + +This project has moved from `storybook-builder-vite` to `@storybook/builder-vite` as part of a larger effort to improve Vite support in Storybook. To automatically migrate your existing project, you can run + +```bash +npx sb@next automigrate +``` + +To manually migrate: + +1. Remove `storybook-builder-vite` from your `package.json` dependencies +2. Install `@storybook/builder-vite` +3. Update your `core.builder` setting in `.storybook/main.js` to `@storybook/builder-vite`. + +## Installation + +Requirements: + +- Vite 3.0 or newer (for Vite v2 (2.5+), use `@storybook/builder-vite@0.1.x`) +- Storybook 6.4.0 or newer (for storybook 6.3, use `storybook-builder-vite@0.1.16`) + +```bash +npm install @storybook/builder-vite --save-dev +``` + +or + +```bash +yarn add --dev @storybook/builder-vite +``` + +or + +```bash +pnpm add --save-dev @storybook/builder-vite +``` + +Note: when using `pnpm`, you may need to enable [shamefully-hoist](https://pnpm.io/npmrc#shamefully-hoist), until https://github.com/storybookjs/builder-vite/issues/55 can be fixed. + +## Usage + +In your `main.js` configuration file, +set `core: { builder: "@storybook/builder-vite" }`. + +> For autoreload of react stories to work, they need to have a `.stories.tsx` or `.stories.jsx` file suffix. +> See also [#53](https://github.com/storybookjs/builder-vite/pull/53) + +The builder supports both development mode in Storybook, and building a static production version. + +### Getting started with Vite and Storybook (on a new project) + +See https://vitejs.dev/guide/#scaffolding-your-first-vite-project, + +``` +npm create vite@latest # follow the prompts +npx sb init --builder @storybook/builder-vite && npm run storybook +``` + +### Migration from webpack / CRA + +1. Install `vite` and `@storybook/builder-vite` +2. Remove any explicit project dependencies on `webpack`, `react-scripts`, and any other webpack plugins or loaders. +3. If you were previously using `@storybook/manager-webpack5`, you'll need to remove it, since currently the vite builder only works with `manager-webpack4`, which is the default and does not need to be installed manually. Also remove `@storybook/builder-webpack5` or `@storybook/builder-webpack4` if they are installed. +4. Set `core: { builder: "@storybook/builder-vite" }` in your `.storybook/main.js` file. +5. Remove storybook webpack cache (`rm -rf node_modules/.cache`) +6. Update your `/public/index.html` file for vite (be sure there are no `%PUBLIC_URL%` inside it, which is a CRA variable) +7. Be sure that any files containing JSX syntax use a `.jsx` or `.tsx` file extension, which [vite requires](https://vitejs.dev/guide/features.html#jsx). This includes `.storybook/preview.jsx` if it contains JSX syntax. +8. If you are using `@storybook/addon-interactions`, for now you'll need to add a [workaround](https://github.com/storybookjs/storybook/issues/18399) for jest-mock relying on the node `global` variable by creating a `.storybook/preview-head.html` file containing the following: + +```html + +``` + +9. Start up your storybook using the same `yarn storybook` or `npm run storybook` commands you are used to. + +For other details about the differences between vite and webpack projects, be sure to read through the [vite documentation](https://vitejs.dev/). + +### Customize Vite config + +The builder will _not_ read your `vite.config.js` file by default. + +In `.storybook/main.js` (or whatever your Storybook config file is named) +you can override the Vite config: + +```javascript +// use `mergeConfig` to recursively merge Vite options +const { mergeConfig } = require('vite'); + +module.exports = { + async viteFinal(config, { configType }) { + // return the customized config + return mergeConfig(config, { + // customize the Vite config here + resolve: { + alias: { foo: 'bar' }, + }, + }); + }, + // ... other options here +}; +``` + +The `viteFinal` function will give you `config` which is +the builder's own Vite config. You can tweak this as you want, +for example to set up aliases, add new plugins etc. + +The `configType` variable will be either `"DEVELOPMENT"` or `"PRODUCTION"`. + +The function should return the updated Vite configuration. + +### Svelte Customization + +When using this builder with Svelte, your `.storybook/main.js` (or equivalent) +can contain a `svelteOptions` object to pass custom options to +[`vite-plugin-svelte`](https://github.com/sveltejs/vite-plugin-svelte/tree/main/packages/vite-plugin-svelte): + +```javascript +const preprocess = require('svelte-preprocess'); + +module.exports = { + svelteOptions: { + preprocess: preprocess({ + typescript: true, + postcss: true, + sourceMap: true, + }), + }, +}; +``` + +### TypeScript + +Configure your `.storybook/main.ts` to use TypeScript: + +```typescript +import type { StorybookViteConfig } from '@storybook/builder-vite'; + +const config: StorybookViteConfig = { + // other storybook options..., + async viteFinal(config, options) { + // modify and return config + }, +}; + +export default config; +``` + +Or alternatively, you can use named exports: + +```typescript +import type { ViteFinal } from '@storybook/builder-vite'; + +export const viteFinal: ViteFinal = async (config, options) => { + // modify and return config +}; +``` + +See [Customize Vite config](#customize-vite-config) for details about using `viteFinal`. + +### React Docgen + +Docgen is used in Storybook to populate the props table in docs view, the controls panel, and for several other addons. Docgen is supported in vue and react, and there are two docgen options when using react, `react-docgen` and `react-docgen-typescript`. You can learn more about the pros/cons of each in [this gist](https://gist.github.com/shilman/036313ffa3af52ca986b375d90ea46b0). By default, if we find a `typescript` dependency in your `package.json` file, we will assume you're using typescript and will choose `react-docgen-typescript`. You can change this by setting the `typescript.reactDocgen` option in your `.storybook/main.js` file: + +```javascript +module.exports = { + typescript: { + reactDocgen: 'react-docgen` + } +} +``` + +If you're using TypeScript, we encourage you to experiment and see which option works better for your project. + +### Note about working directory + +The builder will by default enable Vite's [server.fs.strict](https://vitejs.dev/config/#server-fs-strict) +option, for increased security. The default project `root` is set to the parent directory of the +storybook configuration directory. This can be overridden in viteFinal. + +## Known issues + +- HMR: saving a story file does not hot-module-reload, a full reload happens instead. HMR works correctly when saving component files. + +## Contributing + +The Vite builder cannot build itself. +Are you willing to contribute? We are especially looking for vue and svelte experts, as the current maintainers are react users. + +https://github.com/storybookjs/builder-vite/issues/11 + +Have a look at the GitHub issues for known bugs. If you find any new bugs, +feel free to create an issue or send a pull request! + +Please read the [How to contribute](/CONTRIBUTING.md) guide. + +### About this codebase + +The code is a monorepo with the core `@storybook/builder-vite` package, +and examples (like `examples/react`) to test the builder implementation. + +Similar to the main storybook monorepo, you need yarn to develop this builder, because the project is organized as yarn workspaces. +This lets you write new code in the core builder package, and instantly use them from +the example packages. diff --git a/code/lib/builder-vite/input/iframe.html b/code/lib/builder-vite/input/iframe.html new file mode 100644 index 000000000000..abb2f1373a15 --- /dev/null +++ b/code/lib/builder-vite/input/iframe.html @@ -0,0 +1,30 @@ + + + + + + <!-- [TITLE HERE] --> + + + + + + +
+
+ + + diff --git a/code/lib/builder-vite/input/react-dom-client-placeholder.js b/code/lib/builder-vite/input/react-dom-client-placeholder.js new file mode 100644 index 000000000000..ac58bff7de38 --- /dev/null +++ b/code/lib/builder-vite/input/react-dom-client-placeholder.js @@ -0,0 +1,3 @@ +// This file is to work around https://github.com/vitejs/vite/issues/6007 +// For react < 18 projects, where `react-dom/client` does not exist, yet is +// conditionally imported by @storybook/react. diff --git a/code/lib/builder-vite/package.json b/code/lib/builder-vite/package.json new file mode 100644 index 000000000000..d990fce7b5c3 --- /dev/null +++ b/code/lib/builder-vite/package.json @@ -0,0 +1,59 @@ +{ + "name": "@storybook/builder-vite", + "version": "7.0.0-alpha.31", + "description": "A plugin to run and build Storybooks with Vite", + "homepage": "https://github.com/storybookjs/storybook/tree/main/code/lib/builder-vite/#readme", + "repository": { + "type": "git", + "url": "https://github.com/storybookjs/storybook.git", + "directory": "code/lib/builder-vite" + }, + "license": "MIT", + "author": "Eirik Sletteberg", + "main": "dist/cjs/index.js", + "module": "dist/esm/index.js", + "types": "dist/types/index.d.ts", + "scripts": { + "check": "tsc --noEmit", + "prep": "node ../../../scripts/prepare.js" + }, + "dependencies": { + "@joshwooding/vite-plugin-react-docgen-typescript": "0.0.5", + "@storybook/addons": "7.0.0-alpha.31", + "@storybook/channel-postmessage": "7.0.0-alpha.31", + "@storybook/channel-websocket": "7.0.0-alpha.31", + "@storybook/client-api": "7.0.0-alpha.31", + "@storybook/client-logger": "7.0.0-alpha.31", + "@storybook/core-common": "7.0.0-alpha.31", + "@storybook/mdx1-csf": "0.0.5-canary.13.9ce928a.0", + "@storybook/node-logger": "7.0.0-alpha.31", + "@storybook/preview-web": "7.0.0-alpha.31", + "@storybook/source-loader": "7.0.0-alpha.31", + "@vitejs/plugin-react": "^2.0.0", + "es-module-lexer": "^0.9.3", + "glob": "^7.2.0", + "glob-promise": "^4.2.0", + "magic-string": "^0.26.1", + "slash": "^3.0.0", + "vite": "3" + }, + "devDependencies": { + "@storybook/mdx2-csf": "^0.0.3", + "@types/express": "^4.17.13", + "@types/node": "^17.0.23", + "typescript": "~4.6.3", + "vite": "^3.1.0" + }, + "peerDependencies": { + "@storybook/mdx2-csf": "^0.0.3" + }, + "peerDependenciesMeta": { + "@storybook/mdx2-csf": { + "optional": true + } + }, + "publishConfig": { + "access": "public" + }, + "gitHead": "02c013c33186479017098d532a18ff8654b91f1f" +} diff --git a/code/lib/builder-vite/src/build.ts b/code/lib/builder-vite/src/build.ts new file mode 100644 index 000000000000..5333c56f7b2c --- /dev/null +++ b/code/lib/builder-vite/src/build.ts @@ -0,0 +1,19 @@ +import { build as viteBuild } from 'vite'; +import { commonConfig } from './vite-config'; + +import type { ExtendedOptions } from './types'; + +export async function build(options: ExtendedOptions) { + const { presets } = options; + + const config = await commonConfig(options, 'build'); + config.build = { + outDir: options.outputDir, + emptyOutDir: false, // do not clean before running Vite build - Storybook has already added assets in there! + sourcemap: true, + }; + + const finalConfig = await presets.apply('viteFinal', config, options); + + await viteBuild(finalConfig); +} diff --git a/code/lib/builder-vite/src/codegen-entries.ts b/code/lib/builder-vite/src/codegen-entries.ts new file mode 100644 index 000000000000..7cdbb0eb4c8d --- /dev/null +++ b/code/lib/builder-vite/src/codegen-entries.ts @@ -0,0 +1,43 @@ +import { loadPreviewOrConfigFile } from '@storybook/core-common'; +import type { Options } from '@storybook/core-common'; +import slash from 'slash'; +import { normalizePath } from 'vite'; +import type { ExtendedOptions } from './types'; +import { listStories } from './list-stories'; + +const absoluteFilesToImport = (files: string[], name: string) => + files.map((el, i) => `import ${name ? `* as ${name}_${i} from ` : ''}'/@fs/${normalizePath(el)}'`).join('\n'); + +export async function generateVirtualStoryEntryCode(options: ExtendedOptions) { + const storyEntries = await listStories(options); + const resolveMap = storyEntries.reduce>( + (prev, entry) => ({ ...prev, [entry]: entry.replace(slash(process.cwd()), '.') }), + {} + ); + const modules = storyEntries.map((entry, i) => `${JSON.stringify(entry)}: story_${i}`).join(','); + + return ` + ${absoluteFilesToImport(storyEntries, 'story')} + + function loadable(key) { + return {${modules}}[key]; + } + + Object.assign(loadable, { + keys: () => (${JSON.stringify(Object.keys(resolveMap))}), + resolve: (key) => (${JSON.stringify(resolveMap)}[key]) + }); + + export function configStories(configure) { + configure(loadable, { hot: import.meta.hot }, false); + } + `.trim(); +} + +export async function generatePreviewEntryCode({ configDir }: Options) { + const previewFile = loadPreviewOrConfigFile({ configDir }); + if (!previewFile) return ''; + + return `import * as preview from '${slash(previewFile)}'; + export default preview;`; +} diff --git a/code/lib/builder-vite/src/codegen-iframe-script.ts b/code/lib/builder-vite/src/codegen-iframe-script.ts new file mode 100644 index 000000000000..4a473faa437b --- /dev/null +++ b/code/lib/builder-vite/src/codegen-iframe-script.ts @@ -0,0 +1,120 @@ +import { isAbsolute, resolve } from 'path'; +import { getFrameworkName } from '@storybook/core-common'; +import { virtualPreviewFile, virtualStoriesFile } from './virtual-file-names'; +import { transformAbsPath } from './utils/transform-abs-path'; +import type { ExtendedOptions } from './types'; + +export async function generateIframeScriptCode(options: ExtendedOptions) { + const { presets } = options; + const frameworkName = await getFrameworkName(options); + const presetEntries = await presets.apply('config', [], options); + const previewEntries = await presets.apply('previewEntries', [], options); + const absolutePreviewEntries = previewEntries.map((entry) => + isAbsolute(entry) ? entry : resolve(entry) + ); + const configEntries = [...presetEntries, ...absolutePreviewEntries].filter(Boolean); + + const absoluteFilesToImport = (files: string[], name: string) => + files + .map((el, i) => `import ${name ? `* as ${name}_${i} from ` : ''}'${transformAbsPath(el)}'`) + .join('\n'); + + const importArray = (name: string, length: number) => + new Array(length).fill(0).map((_, i) => `${name}_${i}`); + + // noinspection UnnecessaryLocalVariableJS + /** @todo Inline variable and remove `noinspection` */ + // language=JavaScript + const code = ` + // Ensure that the client API is initialized by the framework before any other iframe code + // is loaded. That way our client-apis can assume the existence of the API+store + import { configure } from '${frameworkName}'; + + import * as clientApi from "@storybook/client-api"; + import { logger } from '@storybook/client-logger'; + ${absoluteFilesToImport(configEntries, 'config')} + import * as preview from '${virtualPreviewFile}'; + import { configStories } from '${virtualStoriesFile}'; + + const { + addDecorator, + addParameters, + addLoader, + addArgTypesEnhancer, + addArgsEnhancer, + setGlobalRender, + } = clientApi; + + const configs = [${importArray('config', configEntries.length) + .concat('preview.default') + .join(',')}].filter(Boolean) + + configs.forEach(config => { + Object.keys(config).forEach((key) => { + const value = config[key]; + switch (key) { + case 'args': { + if (typeof clientApi.addArgs !== "undefined") { + return clientApi.addArgs(value); + } else { + return logger.warn( + "Could not add global args. Please open an issue in storybookjs/builder-vite." + ); + } + } + case 'argTypes': { + if (typeof clientApi.addArgTypes !== "undefined") { + return clientApi.addArgTypes(value); + } else { + return logger.warn( + "Could not add global argTypes. Please open an issue in storybookjs/builder-vite." + ); + } + } + case 'decorators': { + return value.forEach((decorator) => addDecorator(decorator, false)); + } + case 'loaders': { + return value.forEach((loader) => addLoader(loader, false)); + } + case 'parameters': { + return addParameters({ ...value }, false); + } + case 'argTypesEnhancers': { + return value.forEach((enhancer) => addArgTypesEnhancer(enhancer)); + } + case 'argsEnhancers': { + return value.forEach((enhancer) => addArgsEnhancer(enhancer)) + } + case 'render': { + return setGlobalRender(value) + } + case 'globals': + case 'globalTypes': { + const v = {}; + v[key] = value; + return addParameters(v, false); + } + case 'decorateStory': + case 'applyDecorators': + case 'renderToDOM': { + return null; // This key is not handled directly in v6 mode. + } + default: { + // eslint-disable-next-line prefer-template + return console.log(key + ' was not supported :( !'); + } + } + }); + }) + + /* TODO: not quite sure what to do with this, to fix HMR + if (import.meta.hot) { + import.meta.hot.accept(); + } + */ + + configStories(configure); + `.trim(); + return code; +} diff --git a/code/lib/builder-vite/src/codegen-importfn-script.ts b/code/lib/builder-vite/src/codegen-importfn-script.ts new file mode 100644 index 000000000000..958ca5c59efd --- /dev/null +++ b/code/lib/builder-vite/src/codegen-importfn-script.ts @@ -0,0 +1,56 @@ +import * as path from 'path'; +import { normalizePath } from 'vite'; +import type { Options } from '@storybook/core-common'; +import { logger } from '@storybook/node-logger'; + +import { listStories } from './list-stories'; + +/** + * This file is largely based on https://github.com/storybookjs/storybook/blob/d1195cbd0c61687f1720fefdb772e2f490a46584/lib/core-common/src/utils/to-importFn.ts + */ + +/** + * Paths get passed either with no leading './' - e.g. `src/Foo.stories.js`, + * or with a leading `../` (etc), e.g. `../src/Foo.stories.js`. + * We want to deal in importPaths relative to the working dir, so we normalize + */ +function toImportPath(relativePath: string) { + return relativePath.startsWith('../') ? relativePath : `./${relativePath}`; +} + +/** + * This function takes an array of stories and creates a mapping between the stories' relative paths + * to the working directory and their dynamic imports. The import is done in an asynchronous function + * to delay loading. It then creates a function, `importFn(path)`, which resolves a path to an import + * function and this is called by Storybook to fetch a story dynamically when needed. + * @param stories An array of absolute story paths. + */ +async function toImportFn(stories: string[]) { + const objectEntries = stories.map((file) => { + const ext = path.extname(file); + const relativePath = normalizePath(path.relative(process.cwd(), file)); + if (!['.js', '.jsx', '.ts', '.tsx', '.mdx'].includes(ext)) { + logger.warn(`Cannot process ${ext} file with storyStoreV7: ${relativePath}`); + } + + return ` '${toImportPath(relativePath)}': async () => import('/@fs/${file}')`; + }); + + return ` + const importers = { + ${objectEntries.join(',\n')} + }; + + export async function importFn(path) { + return importers[path](); + } + `; +} + +export async function generateImportFnScriptCode(options: Options) { + // First we need to get an array of stories and their absolute paths. + const stories = await listStories(options); + + // We can then call toImportFn to create a function that can be used to load each story dynamically. + return (await toImportFn(stories)).trim(); +} diff --git a/code/lib/builder-vite/src/codegen-modern-iframe-script.ts b/code/lib/builder-vite/src/codegen-modern-iframe-script.ts new file mode 100644 index 000000000000..94aa05ad6092 --- /dev/null +++ b/code/lib/builder-vite/src/codegen-modern-iframe-script.ts @@ -0,0 +1,76 @@ +import { isAbsolute, resolve } from 'path'; +import { loadPreviewOrConfigFile, getFrameworkName } from '@storybook/core-common'; +import { virtualStoriesFile, virtualAddonSetupFile } from './virtual-file-names'; +import { transformAbsPath } from './utils/transform-abs-path'; +import type { ExtendedOptions } from './types'; + +export async function generateModernIframeScriptCode(options: ExtendedOptions) { + const { presets, configDir } = options; + const frameworkName = await getFrameworkName(options); + + const previewOrConfigFile = loadPreviewOrConfigFile({ configDir }); + const presetEntries = await presets.apply('config', [], options); + const previewEntries = await presets.apply('previewEntries', [], options); + const absolutePreviewEntries = previewEntries.map((entry) => + isAbsolute(entry) ? entry : resolve(entry) + ); + const configEntries = [...presetEntries, ...absolutePreviewEntries, previewOrConfigFile] + .filter(Boolean) + .map((configEntry) => transformAbsPath(configEntry as string)); + + const generateHMRHandler = (frameworkName: string): string => { + // Web components are not compatible with HMR, so disable HMR, reload page instead. + if (frameworkName === '@storybook/web-components-vite') { + return ` + if (import.meta.hot) { + import.meta.hot.decline(); + }`.trim(); + } + + return ` + if (import.meta.hot) { + import.meta.hot.accept('${virtualStoriesFile}', (newModule) => { + // importFn has changed so we need to patch the new one in + preview.onStoriesChanged({ importFn: newModule.importFn }); + }); + + import.meta.hot.accept(${JSON.stringify(configEntries)}, ([...newConfigEntries]) => { + const newGetProjectAnnotations = () => composeConfigs(newConfigEntries); + + // getProjectAnnotations has changed so we need to patch the new one in + preview.onGetProjectAnnotationsChanged({ getProjectAnnotations: newGetProjectAnnotations }); + }); + }`.trim(); + }; + + /** + * This code is largely taken from https://github.com/storybookjs/storybook/blob/d1195cbd0c61687f1720fefdb772e2f490a46584/lib/builder-webpack4/src/preview/virtualModuleModernEntry.js.handlebars + * Some small tweaks were made to `getProjectAnnotations` (since `import()` needs to be resolved asynchronously) + * and the HMR implementation has been tweaked to work with Vite. + * @todo Inline variable and remove `noinspection` + */ + const code = ` + import { composeConfigs, PreviewWeb } from '@storybook/preview-web'; + import { ClientApi } from '@storybook/client-api'; + import '${virtualAddonSetupFile}'; + import { importFn } from '${virtualStoriesFile}'; + + const getProjectAnnotations = async () => { + const configs = await Promise.all([${configEntries + .map((configEntry) => `import('${configEntry}')`) + .join(',\n')}]) + return composeConfigs(configs); + } + + const preview = new PreviewWeb(); + + window.__STORYBOOK_PREVIEW__ = preview; + window.__STORYBOOK_STORY_STORE__ = preview.storyStore; + window.__STORYBOOK_CLIENT_API__ = new ClientApi({ storyStore: preview.storyStore }); + + preview.initialize({ importFn, getProjectAnnotations }); + + ${generateHMRHandler(frameworkName)}; + `.trim(); + return code; +} diff --git a/code/lib/builder-vite/src/codegen-set-addon-channel.ts b/code/lib/builder-vite/src/codegen-set-addon-channel.ts new file mode 100644 index 000000000000..f00e3d83e1e3 --- /dev/null +++ b/code/lib/builder-vite/src/codegen-set-addon-channel.ts @@ -0,0 +1,18 @@ +export function generateAddonSetupCode() { + return ` + import { createChannel as createPostMessageChannel } from '@storybook/channel-postmessage'; + import { createChannel as createWebSocketChannel } from '@storybook/channel-websocket'; + import { addons } from '@storybook/addons'; + + const channel = createPostMessageChannel({ page: 'preview' }); + addons.setChannel(channel); + window.__STORYBOOK_ADDONS_CHANNEL__ = channel; + + const { SERVER_CHANNEL_URL } = globalThis; + if (SERVER_CHANNEL_URL) { + const serverChannel = createWebSocketChannel({ url: SERVER_CHANNEL_URL }); + addons.setServerChannel(serverChannel); + window.__STORYBOOK_SERVER_CHANNEL__ = serverChannel; + } + `.trim(); +} diff --git a/code/lib/builder-vite/src/declarations/extract-stories.d.ts b/code/lib/builder-vite/src/declarations/extract-stories.d.ts new file mode 100644 index 000000000000..2731f657cc5e --- /dev/null +++ b/code/lib/builder-vite/src/declarations/extract-stories.d.ts @@ -0,0 +1,18 @@ +/** + * @see https://github.com/storybookjs/addon-svelte-csf/blob/f72b8f28dabbb99c92e12d0170d3c1db4397ee7c/src/parser/extract-stories.ts + */ +declare module '@storybook/addon-svelte-csf/dist/cjs/parser/extract-stories' { + interface StoryDef { + name: string; + template: boolean; + source: string; + hasArgs: boolean; + } + + interface StoriesDef { + stories: Record; + allocatedIds: string[]; + } + + function extractStories(component: string): { stories: StoriesDef; allocatedIds: string[] }; +} diff --git a/code/lib/builder-vite/src/declarations/svetle-stories-loader.d.ts b/code/lib/builder-vite/src/declarations/svetle-stories-loader.d.ts new file mode 100644 index 000000000000..1ae04708af52 --- /dev/null +++ b/code/lib/builder-vite/src/declarations/svetle-stories-loader.d.ts @@ -0,0 +1,7 @@ +/** + * @see https://github.com/storybookjs/addon-svelte-csf/blob/f72b8f28dabbb99c92e12d0170d3c1db4397ee7c/src/parser/svelte-stories-loader.ts + * @see https://github.com/sveltejs/svelte/blob/deed340cf5d9c278f9a0605297ad6e4a3a1579d9/src/compiler/compile/utils/get_name_from_filename.ts + */ +declare module '@storybook/addon-svelte-csf/dist/cjs/parser/svelte-stories-loader' { + function getNameFromFilename(filename: string): string; +} diff --git a/code/lib/builder-vite/src/envs.ts b/code/lib/builder-vite/src/envs.ts new file mode 100644 index 000000000000..7ebead6aab45 --- /dev/null +++ b/code/lib/builder-vite/src/envs.ts @@ -0,0 +1,47 @@ +import { stringifyEnvs } from '@storybook/core-common'; + +import type { UserConfig } from 'vite'; +import type { EnvsRaw } from './types'; + +// Allowed env variables on the client +const allowedEnvVariables = [ + 'STORYBOOK', + // Vite `import.meta.env` default variables + // @see https://github.com/vitejs/vite/blob/6b8d94dca2a1a8b4952e3e3fcd0aed1aedb94215/packages/vite/types/importMeta.d.ts#L68-L75 + 'BASE_URL', + 'MODE', + 'DEV', + 'PROD', + 'SSR', +]; + +/** + * Customized version of stringifyProcessEnvs from @storybook/core-common which + * uses import.meta.env instead of process.env and checks for allowed variables. + */ +export function stringifyProcessEnvs(raw: EnvsRaw, envPrefix: UserConfig['envPrefix']) { + const updatedRaw: EnvsRaw = {}; + const envs = Object.entries(raw).reduce( + (acc: EnvsRaw, [key, value]) => { + // Only add allowed values OR values from array OR string started with allowed prefixes + if ( + allowedEnvVariables.includes(key) || + (Array.isArray(envPrefix) && !!envPrefix.find((prefix) => key.startsWith(prefix))) || + (typeof envPrefix === 'string' && key.startsWith(envPrefix)) + ) { + acc[`import.meta.env.${key}`] = JSON.stringify(value); + updatedRaw[key] = value; + } + return acc; + }, + { + // Default fallback + 'process.env.XSTORYBOOK_EXAMPLE_APP': '""', + } + ); + // support destructuring like + // const { foo } = import.meta.env; + envs['import.meta.env'] = JSON.stringify(stringifyEnvs(updatedRaw)); + + return envs; +} diff --git a/code/lib/builder-vite/src/index.ts b/code/lib/builder-vite/src/index.ts new file mode 100644 index 000000000000..bb3b5dc1f98b --- /dev/null +++ b/code/lib/builder-vite/src/index.ts @@ -0,0 +1,97 @@ +// noinspection JSUnusedGlobalSymbols + +import * as fs from 'fs'; +import * as path from 'path'; +import type { + Builder, + StorybookConfig as StorybookBaseConfig, + Options, +} from '@storybook/core-common'; +import type { RequestHandler, Request, Response } from 'express'; +import type { InlineConfig, UserConfig, ViteDevServer } from 'vite'; +import { transformIframeHtml } from './transform-iframe-html'; +import { createViteServer } from './vite-server'; +import { build as viteBuild } from './build'; +import type { ExtendedOptions } from './types'; + +export type { TypescriptOptions } from '@storybook/core-common'; + +// Storybook's Stats are optional Webpack related property +export type ViteStats = { + toJson: () => any; +}; + +export type ViteBuilder = Builder; + +export type ViteFinal = ( + config: InlineConfig, + options: Options +) => InlineConfig | Promise; + +export type StorybookConfig = StorybookBaseConfig & { + viteFinal?: ViteFinal; +}; + +function iframeMiddleware(options: ExtendedOptions, server: ViteDevServer): RequestHandler { + return async (req, res, next) => { + if (!req.url.match(/^\/iframe\.html($|\?)/)) { + next(); + return; + } + + // We need to handle `html-proxy` params for style tag HMR https://github.com/storybookjs/builder-vite/issues/266#issuecomment-1055677865 + // e.g. /iframe.html?html-proxy&index=0.css + if (req.query['html-proxy'] !== undefined) { + next(); + return; + } + + const indexHtml = fs.readFileSync( + path.resolve(__dirname, '../..', 'input', 'iframe.html'), + 'utf-8' + ); + const generated = await transformIframeHtml(indexHtml, options); + const transformed = await server.transformIndexHtml('/iframe.html', generated); + res.setHeader('Content-Type', 'text/html'); + res.status(200).send(transformed); + }; +} + +export const start: ViteBuilder['start'] = async ({ + startTime, + options, + router, + server: devServer, +}) => { + const server = await createViteServer(options as ExtendedOptions, devServer); + + // Just mock this endpoint (which is really Webpack-specific) so we don't get spammed with 404 in browser devtools + // TODO: we should either show some sort of progress from Vite, or just try to disable the whole Loader in the Manager UI. + router.get('/progress', (req: Request, res: Response) => { + res.header('Cache-Control', 'no-cache'); + res.header('Content-Type', 'text/event-stream'); + }); + + router.use(iframeMiddleware(options as ExtendedOptions, server)); + router.use(server.middlewares); + + async function bail(e?: Error): Promise { + try { + return await server.close(); + } catch (err) { + console.warn('unable to close vite server'); + } + + throw e; + } + + return { + bail, + stats: { toJson: () => null }, + totalTime: process.hrtime(startTime), + }; +}; + +export const build: ViteBuilder['build'] = async ({ options }) => { + return viteBuild(options as ExtendedOptions); +}; diff --git a/code/lib/builder-vite/src/list-stories.ts b/code/lib/builder-vite/src/list-stories.ts new file mode 100644 index 000000000000..08be02004df1 --- /dev/null +++ b/code/lib/builder-vite/src/list-stories.ts @@ -0,0 +1,20 @@ +import * as path from 'path'; +import { promise as glob } from 'glob-promise'; +import { normalizeStories } from '@storybook/core-common'; + +import type { Options } from '@storybook/core-common'; + +export async function listStories(options: Options) { + return ( + await Promise.all( + normalizeStories(await options.presets.apply('stories', [], options), { + configDir: options.configDir, + workingDir: options.configDir, + }).map(({ directory, files }) => { + const pattern = path.join(directory, files); + + return glob(path.isAbsolute(pattern) ? pattern : path.join(options.configDir, pattern)); + }) + ) + ).reduce((carry, stories) => carry.concat(stories), []); +} diff --git a/code/lib/builder-vite/src/optimizeDeps.ts b/code/lib/builder-vite/src/optimizeDeps.ts new file mode 100644 index 000000000000..1ee4070dff6a --- /dev/null +++ b/code/lib/builder-vite/src/optimizeDeps.ts @@ -0,0 +1,123 @@ +import * as path from 'path'; +import { normalizePath, resolveConfig } from 'vite'; +import type { InlineConfig as ViteInlineConfig } from 'vite'; +import { listStories } from './list-stories'; + +import type { ExtendedOptions } from './types'; + +const INCLUDE_CANDIDATES = [ + '@base2/pretty-print-object', + '@emotion/core', + '@emotion/is-prop-valid', + '@emotion/styled', + '@mdx-js/react', + '@storybook/addon-docs > acorn-jsx', + '@storybook/addon-docs', + '@storybook/addons', + '@storybook/channel-postmessage', + '@storybook/channel-websocket', + '@storybook/client-api', + '@storybook/client-logger', + '@storybook/core/client', + '@storybook/csf', + '@storybook/preview-web', + '@storybook/react > acorn-jsx', + '@storybook/react', + '@storybook/svelte', + '@storybook/vue3', + 'acorn-jsx', + 'acorn-walk', + 'acorn', + 'airbnb-js-shims', + 'ansi-to-html', + 'axe-core', + 'color-convert', + 'deep-object-diff', + 'doctrine', + 'emotion-theming', + 'escodegen', + 'estraverse', + 'fast-deep-equal', + 'global', + 'html-tags', + 'isobject', + 'jest-mock', + 'loader-utils', + 'lodash/cloneDeep', + 'lodash/isFunction', + 'lodash/isPlainObject', + 'lodash/isString', + 'lodash/mapKeys', + 'lodash/mapValues', + 'lodash/pick', + 'lodash/pickBy', + 'lodash/startCase', + 'lodash/throttle', + 'lodash/uniq', + 'markdown-to-jsx', + 'memoizerific', + 'overlayscrollbars', + 'polished', + 'prettier/parser-babel', + 'prettier/parser-flow', + 'prettier/parser-typescript', + 'prop-types', + 'qs', + 'react-dom', + 'react-dom/client', + 'react-fast-compare', + 'react-is', + 'react-textarea-autosize', + 'react', + 'react/jsx-runtime', + 'refractor/core', + 'refractor/lang/bash.js', + 'refractor/lang/css.js', + 'refractor/lang/graphql.js', + 'refractor/lang/js-extras.js', + 'refractor/lang/json.js', + 'refractor/lang/jsx.js', + 'refractor/lang/markdown.js', + 'refractor/lang/markup.js', + 'refractor/lang/tsx.js', + 'refractor/lang/typescript.js', + 'refractor/lang/yaml.js', + 'regenerator-runtime/runtime.js', + 'slash', + 'store2', + 'synchronous-promise', + 'telejson', + 'ts-dedent', + 'unfetch', + 'util-deprecate', + 'uuid-browser/v4', + 'vue', + 'warning', +]; + +/** + * Helper function which allows us to `filter` with an async predicate. Uses Promise.all for performance. + */ +const asyncFilter = async (arr: string[], predicate: (val: string) => Promise) => + Promise.all(arr.map(predicate)).then((results) => arr.filter((_v, index) => results[index])); + +export async function getOptimizeDeps(config: ViteInlineConfig, options: ExtendedOptions) { + const { root = process.cwd() } = config; + const absoluteStories = await listStories(options); + const stories = absoluteStories.map((storyPath) => normalizePath(path.relative(root, storyPath))); + // TODO: check if resolveConfig takes a lot of time, possible optimizations here + const resolvedConfig = await resolveConfig(config, 'serve', 'development'); + + // This function converts ids which might include ` > ` to a real path, if it exists on disk. + // See https://github.com/vitejs/vite/blob/67d164392e8e9081dc3f0338c4b4b8eea6c5f7da/packages/vite/src/node/optimizer/index.ts#L182-L199 + const resolve = resolvedConfig.createResolver({ asSrc: false }); + const include = await asyncFilter(INCLUDE_CANDIDATES, async (id) => Boolean(await resolve(id))); + + return { + // We don't need to resolve the glob since vite supports globs for entries. + entries: stories, + // We need Vite to precompile these dependencies, because they contain non-ESM code that would break + // if we served it directly to the browser. + include, + }; +} diff --git a/code/lib/builder-vite/src/plugins/code-generator-plugin.ts b/code/lib/builder-vite/src/plugins/code-generator-plugin.ts new file mode 100644 index 000000000000..e93e0da96e13 --- /dev/null +++ b/code/lib/builder-vite/src/plugins/code-generator-plugin.ts @@ -0,0 +1,152 @@ +/* eslint-disable no-param-reassign */ + +import * as fs from 'fs'; +import * as path from 'path'; +import { mergeConfig } from 'vite'; +import type { Plugin } from 'vite'; +import { transformIframeHtml } from '../transform-iframe-html'; +import { generateIframeScriptCode } from '../codegen-iframe-script'; +import { generateModernIframeScriptCode } from '../codegen-modern-iframe-script'; +import { generateImportFnScriptCode } from '../codegen-importfn-script'; +import { generateVirtualStoryEntryCode, generatePreviewEntryCode } from '../codegen-entries'; +import { generateAddonSetupCode } from '../codegen-set-addon-channel'; + +import type { ExtendedOptions } from '../types'; + +import { + virtualAddonSetupFile, + virtualFileId, + virtualPreviewFile, + virtualStoriesFile, +} from '../virtual-file-names'; + +export function codeGeneratorPlugin(options: ExtendedOptions): Plugin { + const iframePath = path.resolve(__dirname, '../../..', 'input', 'iframe.html'); + let iframeId: string; + + // noinspection JSUnusedGlobalSymbols + return { + name: 'storybook:code-generator-plugin', + enforce: 'pre', + configureServer(server) { + // invalidate the whole vite-app.js script on every file change. + // (this might be a little too aggressive?) + server.watcher.on('change', () => { + const appModule = server.moduleGraph.getModuleById(virtualFileId); + if (appModule) { + server.moduleGraph.invalidateModule(appModule); + } + const storiesModule = server.moduleGraph.getModuleById(virtualStoriesFile); + if (storiesModule) { + server.moduleGraph.invalidateModule(storiesModule); + } + }); + + // Adding new story files is not covered by the change event above. So we need to detect this and trigger + // HMR to update the importFn. + server.watcher.on('add', (path) => { + // TODO maybe use the stories declaration in main + if (/\.stories\.([tj])sx?$/.test(path) || /\.(story|stories).mdx$/.test(path)) { + // We need to emit a change event to trigger HMR + server.watcher.emit('change', virtualStoriesFile); + } + }); + }, + config(config, { command }) { + // If we are building the static distribution, add iframe.html as an entry. + // In development mode, it's not an entry - instead, we use an express middleware + // to serve iframe.html. The reason is that Vite's dev server (at the time of writing) + // does not support virtual files as entry points. + if (command === 'build') { + if (!config.build) { + config.build = {}; + } + config.build.rollupOptions = { + ...config.build.rollupOptions, + input: iframePath, + }; + } + + // Detect if react 18 is installed. If not, alias it to a virtual placeholder file. + try { + require.resolve('react-dom/client', { paths: [config.root || process.cwd()] }); + } catch (e) { + if (isNodeError(e) && e.code === 'MODULE_NOT_FOUND') { + config.resolve = mergeConfig(config.resolve ?? {}, { + alias: { + 'react-dom/client': path.resolve( + __dirname, + '../../..', + 'input', + 'react-dom-client-placeholder.js' + ), + }, + }); + } + } + }, + configResolved(config) { + iframeId = `${config.root}/iframe.html`; + }, + resolveId(source) { + if (source === virtualFileId) { + return virtualFileId; + } + if (source === iframePath) { + return iframeId; + } + if (source === virtualStoriesFile) { + return virtualStoriesFile; + } + if (source === virtualPreviewFile) { + return virtualPreviewFile; + } + if (source === virtualAddonSetupFile) { + return virtualAddonSetupFile; + } + return undefined; + }, + async load(id) { + const storyStoreV7 = options.features?.storyStoreV7; + if (id === virtualStoriesFile) { + if (storyStoreV7) { + return generateImportFnScriptCode(options); + } + return generateVirtualStoryEntryCode(options); + } + + if (id === virtualAddonSetupFile) { + return generateAddonSetupCode(); + } + + if (id === virtualPreviewFile && !storyStoreV7) { + return generatePreviewEntryCode(options); + } + + if (id === virtualFileId) { + if (storyStoreV7) { + return generateModernIframeScriptCode(options); + } + return generateIframeScriptCode(options); + } + + if (id === iframeId) { + return fs.readFileSync( + path.resolve(__dirname, '../../..', 'input', 'iframe.html'), + 'utf-8' + ); + } + + return undefined; + }, + async transformIndexHtml(html, ctx) { + if (ctx.path !== '/iframe.html') { + return undefined; + } + return transformIframeHtml(html, options); + }, + }; +} + +// Refines an error received from 'catch' to be a NodeJS exception +const isNodeError = (error: unknown): error is NodeJS.ErrnoException => error instanceof Error; diff --git a/code/lib/builder-vite/src/plugins/index.ts b/code/lib/builder-vite/src/plugins/index.ts new file mode 100644 index 000000000000..735c60aa86fa --- /dev/null +++ b/code/lib/builder-vite/src/plugins/index.ts @@ -0,0 +1,5 @@ +export * from './inject-export-order-plugin'; +export * from './mdx-plugin'; +export * from './strip-story-hmr-boundaries'; +export * from './code-generator-plugin'; +export * from './source-loader-plugin'; diff --git a/code/lib/builder-vite/src/plugins/inject-export-order-plugin.ts b/code/lib/builder-vite/src/plugins/inject-export-order-plugin.ts new file mode 100644 index 000000000000..743043f7427c --- /dev/null +++ b/code/lib/builder-vite/src/plugins/inject-export-order-plugin.ts @@ -0,0 +1,32 @@ +import { parse } from 'es-module-lexer'; +import MagicString from 'magic-string'; +import { createFilter } from 'vite'; + +const include = [/\.stories\.([tj])sx?$/, /(stories|story).mdx$/]; +const filter = createFilter(include); + +export const injectExportOrderPlugin = { + name: 'storybook:inject-export-order-plugin', + // This should only run after the typescript has been transpiled + enforce: 'post', + async transform(code: string, id: string) { + if (!filter(id)) return undefined; + + // TODO: Maybe convert `injectExportOrderPlugin` to function that returns object, + // and run `await init;` once and then call `parse()` without `await`, + // instead of calling `await parse()` every time. + const [, exports] = await parse(code); + + if (exports.includes('__namedExportsOrder')) { + // user has defined named exports already + return undefined; + } + const s = new MagicString(code); + const orderedExports = exports.filter((e) => e !== 'default'); + s.append(`;export const __namedExportsOrder = ${JSON.stringify(orderedExports)};`); + return { + code: s.toString(), + map: s.generateMap({ hires: true, source: id }), + }; + }, +}; diff --git a/code/lib/builder-vite/src/plugins/mdx-plugin.ts b/code/lib/builder-vite/src/plugins/mdx-plugin.ts new file mode 100644 index 000000000000..03fea305fb56 --- /dev/null +++ b/code/lib/builder-vite/src/plugins/mdx-plugin.ts @@ -0,0 +1,88 @@ +import type { Options } from '@storybook/core-common'; +import type { Plugin } from 'vite'; +import { createFilter } from 'vite'; + +const isStorybookMdx = (id: string) => id.endsWith('stories.mdx') || id.endsWith('story.mdx'); + +function injectRenderer(code: string, mdx2: boolean) { + if (mdx2) { + return ` + import React from 'react'; + ${code} + `; + } + + return ` + /* @jsx mdx */ + import React from 'react'; + import { mdx } from '@mdx-js/react'; + ${code} + `; +} + +/** + * Storybook uses two different loaders when dealing with MDX: + * + * - *stories.mdx and *story.mdx are compiled with the CSF compiler + * - *.mdx are compiled with the MDX compiler directly + * + * @see https://github.com/storybookjs/storybook/blob/next/addons/docs/docs/recipes.md#csf-stories-with-arbitrary-mdx + */ +export function mdxPlugin(options: Options): Plugin { + const { features } = options; + + let reactRefresh: Plugin | undefined; + const include = /\.mdx?$/; + const filter = createFilter(include); + + return { + name: 'storybook:mdx-plugin', + enforce: 'pre', + configResolved({ plugins }) { + // @vitejs/plugin-react-refresh has been upgraded to @vitejs/plugin-react, + // and the name of the plugin performing `transform` has been changed from 'react-refresh' to 'vite:react-babel', + // to be compatible, we need to look for both plugin name. + // We should also look for the other plugins names exported from @vitejs/plugin-react in case there are some internal refactors. + const reactRefreshPlugins = plugins.filter( + (p) => + p.name === 'react-refresh' || + p.name === 'vite:react-babel' || + p.name === 'vite:react-refresh' || + p.name === 'vite:react-jsx' + ); + reactRefresh = reactRefreshPlugins.find((p) => p.transform); + }, + async transform(src, id, options) { + if (!filter(id)) return undefined; + + // @ts-expect-error typescript doesn't think compile exists, but it does. + const { compile } = features?.previewMdx2 + ? await import('@storybook/mdx2-csf') + : await import('@storybook/mdx1-csf'); + + const mdxCode = String(await compile(src, { skipCsf: !isStorybookMdx(id) })); + + const modifiedCode = injectRenderer(mdxCode, Boolean(features?.previewMdx2)); + + // Hooks in recent rollup versions can be functions or objects, and though react hasn't changed, the typescript defs have + const rTransform = reactRefresh?.transform; + const transform = rTransform && 'handler' in rTransform ? rTransform.handler : rTransform; + + // It's safe to disable this, because we know it'll be there, since we added it ourselves. + // eslint-disable-next-line @typescript-eslint/no-non-null-assertion + const result = await transform!.call(this, modifiedCode, `${id}.jsx`, options); + + if (!result) return modifiedCode; + + if (typeof result === 'string') return result; + + const { code, map: resultMap } = result; + + return { + code, + map: + !resultMap || typeof resultMap === 'string' ? resultMap : { ...resultMap, sources: [id] }, + }; + }, + }; +} diff --git a/code/lib/builder-vite/src/plugins/source-loader-plugin.ts b/code/lib/builder-vite/src/plugins/source-loader-plugin.ts new file mode 100644 index 000000000000..b33bf7207169 --- /dev/null +++ b/code/lib/builder-vite/src/plugins/source-loader-plugin.ts @@ -0,0 +1,103 @@ +import type { Plugin } from 'vite'; +import sourceLoaderTransform from '@storybook/source-loader'; +import MagicString from 'magic-string'; +import type { ExtendedOptions } from '../types'; + +const storyPattern = /\.stories\.[jt]sx?$/; +const storySourcePattern = /var __STORY__ = "(.*)"/; +const storySourceReplacement = '--STORY_SOURCE_REPLACEMENT--'; + +const mockClassLoader = (id: string) => ({ + // eslint-disable-next-line no-console + emitWarning: (message: string) => console.warn(message), + resourcePath: id, +}); + +// HACK: Until we can support only node 15+ and use string.prototype.replaceAll +const replaceAll = (str: string, search: string, replacement: string) => { + return str.split(search).join(replacement); +}; + +export function sourceLoaderPlugin(config: ExtendedOptions): Plugin | Plugin[] { + if (config.configType === 'DEVELOPMENT') { + return { + name: 'storybook:source-loader-plugin', + enforce: 'pre', + async transform(src: string, id: string) { + if (id.match(storyPattern)) { + const code: string = await sourceLoaderTransform.call(mockClassLoader(id), src); + const s = new MagicString(src); + // Entirely replace with new code + s.overwrite(0, src.length, code); + + return { + code: s.toString(), + map: s.generateMap({ hires: true, source: id }), + }; + } + return undefined; + }, + }; + } + + // In production, we need to be fancier, to avoid vite:define plugin from replacing values inside the `__STORY__` string + const storySources = new WeakMap>(); + + return [ + { + name: 'storybook-vite-source-loader-plugin', + enforce: 'pre', + buildStart() { + storySources.set(config, new Map()); + }, + async transform(src: string, id: string) { + if (id.match(storyPattern)) { + let code: string = await sourceLoaderTransform.call(mockClassLoader(id), src); + const [_, sourceString] = code.match(storySourcePattern) ?? [null, null]; + if (sourceString) { + const map = storySources.get(config); + map?.set(id, sourceString); + + // Remove story source so that it is not processed by vite:define plugin + code = replaceAll(code, sourceString, storySourceReplacement); + } + + const s = new MagicString(src); + // Entirely replace with new code + s.overwrite(0, src.length, code); + + return { + code: s.toString(), + map: s.generateMap(), + }; + } + return undefined; + }, + }, + { + name: 'storybook-vite-source-loader-plugin-post', + enforce: 'post', + buildStart() { + storySources.set(config, new Map()); + }, + async transform(src: string, id: string) { + if (id.match(storyPattern)) { + const s = new MagicString(src); + const map = storySources.get(config); + const storySourceStatement = map?.get(id); + // Put the previously-extracted source back in + if (storySourceStatement) { + const newCode = replaceAll(src, storySourceReplacement, storySourceStatement); + s.overwrite(0, src.length, newCode); + } + + return { + code: s.toString(), + map: s.generateMap(), + }; + } + return undefined; + }, + }, + ]; +} diff --git a/code/lib/builder-vite/src/plugins/strip-story-hmr-boundaries.ts b/code/lib/builder-vite/src/plugins/strip-story-hmr-boundaries.ts new file mode 100644 index 000000000000..46ca7045e6d5 --- /dev/null +++ b/code/lib/builder-vite/src/plugins/strip-story-hmr-boundaries.ts @@ -0,0 +1,27 @@ +import type { Plugin } from 'vite'; +import { createFilter } from 'vite'; +import MagicString from 'magic-string'; + +/** + * This plugin removes HMR `accept` calls in story files. Stories should not be treated + * as hmr boundaries, but vite has a bug which causes them to be treated as boundaries + * (https://github.com/vitejs/vite/issues/9869). + */ +export function stripStoryHMRBoundary(): Plugin { + const filter = createFilter(/\.stories\.([tj])sx?$/); + return { + name: 'storybook:strip-hmr-boundary-plugin', + enforce: 'post', + async transform(src: string, id: string) { + if (!filter(id)) return undefined; + + const s = new MagicString(src); + s.replace(/import\.meta\.hot\.accept\(\);/, ''); + + return { + code: s.toString(), + map: s.generateMap({ hires: true, source: id }), + }; + }, + }; +} diff --git a/code/lib/builder-vite/src/transform-iframe-html.ts b/code/lib/builder-vite/src/transform-iframe-html.ts new file mode 100644 index 000000000000..a7bc35cf840a --- /dev/null +++ b/code/lib/builder-vite/src/transform-iframe-html.ts @@ -0,0 +1,39 @@ +import { normalizeStories } from '@storybook/core-common'; +import type { CoreConfig, DocsOptions } from '@storybook/core-common'; +import type { ExtendedOptions } from './types'; + +export type PreviewHtml = string | undefined; + +export async function transformIframeHtml(html: string, options: ExtendedOptions) { + const { configType, features, presets, serverChannelUrl, title } = options; + const frameworkOptions = await presets.apply | null>('frameworkOptions'); + const headHtmlSnippet = await presets.apply('previewHead'); + const bodyHtmlSnippet = await presets.apply('previewBody'); + const logLevel = await presets.apply('logLevel', undefined); + const docsOptions = await presets.apply('docs'); + + const coreOptions = await presets.apply('core'); + const stories = normalizeStories(await options.presets.apply('stories', [], options), { + configDir: options.configDir, + workingDir: process.cwd(), + }).map((specifier) => ({ + ...specifier, + importPathMatcher: specifier.importPathMatcher.source, + })); + + return html + .replace('', title || 'Storybook') + .replace('[CONFIG_TYPE HERE]', configType || '') + .replace('[LOGLEVEL HERE]', logLevel || '') + .replace(`'[FRAMEWORK_OPTIONS HERE]'`, JSON.stringify(frameworkOptions)) + .replace( + `'[CHANNEL_OPTIONS HERE]'`, + JSON.stringify(coreOptions && coreOptions.channelOptions ? coreOptions.channelOptions : {}) + ) + .replace(`'[FEATURES HERE]'`, JSON.stringify(features || {})) + .replace(`'[STORIES HERE]'`, JSON.stringify(stories || {})) + .replace(`'[DOCS_OPTIONS HERE]'`, JSON.stringify(docsOptions || {})) + .replace(`'[SERVER_CHANNEL_URL HERE]'`, JSON.stringify(serverChannelUrl)) + .replace('', headHtmlSnippet || '') + .replace('', bodyHtmlSnippet || ''); +} diff --git a/code/lib/builder-vite/src/types/envs-raw.type.ts b/code/lib/builder-vite/src/types/envs-raw.type.ts new file mode 100644 index 000000000000..cb62e513aacd --- /dev/null +++ b/code/lib/builder-vite/src/types/envs-raw.type.ts @@ -0,0 +1 @@ +export type EnvsRaw = Record; diff --git a/code/lib/builder-vite/src/types/extended-options.type.ts b/code/lib/builder-vite/src/types/extended-options.type.ts new file mode 100644 index 000000000000..cc3d6503b3f5 --- /dev/null +++ b/code/lib/builder-vite/src/types/extended-options.type.ts @@ -0,0 +1,8 @@ +import type { Options } from '@storybook/core-common'; + +// Using instead of `Record` to provide better aware of used options +type IframeOptions = { + title: string; +}; + +export type ExtendedOptions = Options & IframeOptions; diff --git a/code/lib/builder-vite/src/types/index.ts b/code/lib/builder-vite/src/types/index.ts new file mode 100644 index 000000000000..e50c278bbd1e --- /dev/null +++ b/code/lib/builder-vite/src/types/index.ts @@ -0,0 +1,2 @@ +export * from './envs-raw.type'; +export * from './extended-options.type'; diff --git a/code/lib/builder-vite/src/utils/transform-abs-path.ts b/code/lib/builder-vite/src/utils/transform-abs-path.ts new file mode 100644 index 000000000000..bd8c89f8fbc3 --- /dev/null +++ b/code/lib/builder-vite/src/utils/transform-abs-path.ts @@ -0,0 +1,11 @@ +import path from 'path'; +import { normalizePath } from 'vite'; + +// We need to convert from an absolute path, to a traditional node module import path, +// so that vite can correctly pre-bundle/optimize +export function transformAbsPath(absPath: string) { + const splits = absPath.split(`node_modules${path.sep}`); + // Return everything after the final "node_modules/" + const module = normalizePath(splits[splits.length - 1]); + return module; +} diff --git a/code/lib/builder-vite/src/virtual-file-names.ts b/code/lib/builder-vite/src/virtual-file-names.ts new file mode 100644 index 000000000000..0da0c5517dec --- /dev/null +++ b/code/lib/builder-vite/src/virtual-file-names.ts @@ -0,0 +1,4 @@ +export const virtualFileId = '/virtual:/@storybook/builder-vite/vite-app.js'; +export const virtualStoriesFile = '/virtual:/@storybook/builder-vite/storybook-stories.js'; +export const virtualPreviewFile = '/virtual:/@storybook/builder-vite/preview-entry.js'; +export const virtualAddonSetupFile = '/virtual:/@storybook/builder-vite/setup-addons.js'; diff --git a/code/lib/builder-vite/src/vite-config.ts b/code/lib/builder-vite/src/vite-config.ts new file mode 100644 index 000000000000..ccc58b27dfc6 --- /dev/null +++ b/code/lib/builder-vite/src/vite-config.ts @@ -0,0 +1,112 @@ +import * as path from 'path'; +import fs from 'fs'; +import { loadConfigFromFile, mergeConfig } from 'vite'; +import type { + ConfigEnv, + InlineConfig as ViteInlineConfig, + PluginOption, + UserConfig as ViteConfig, +} from 'vite'; +import viteReact from '@vitejs/plugin-react'; +import { isPreservingSymlinks, getFrameworkName } from '@storybook/core-common'; +import { stringifyProcessEnvs } from './envs'; +import { + codeGeneratorPlugin, + injectExportOrderPlugin, + mdxPlugin, + stripStoryHMRBoundary, +} from './plugins'; +import type { ExtendedOptions, EnvsRaw } from './types'; + +export type PluginConfigType = 'build' | 'development'; + +export function readPackageJson(): Record | false { + const packageJsonPath = path.resolve('package.json'); + if (!fs.existsSync(packageJsonPath)) { + return false; + } + + const jsonContent = fs.readFileSync(packageJsonPath, 'utf8'); + return JSON.parse(jsonContent); +} + +const configEnvServe: ConfigEnv = { + mode: 'development', + command: 'serve', + ssrBuild: false, +}; + +const configEnvBuild: ConfigEnv = { + mode: 'production', + command: 'build', + ssrBuild: false, +}; + +// Vite config that is common to development and production mode +export async function commonConfig( + options: ExtendedOptions, + _type: PluginConfigType +): Promise { + const { presets } = options; + const configEnv = _type === 'development' ? configEnvServe : configEnvBuild; + + const { config: userConfig = {} } = (await loadConfigFromFile(configEnv)) ?? {}; + + const sbConfig = { + configFile: false, + cacheDir: 'node_modules/.vite-storybook', + root: path.resolve(options.configDir, '..'), + plugins: await pluginConfig(options), + resolve: { preserveSymlinks: isPreservingSymlinks() }, + // If an envPrefix is specified in the vite config, add STORYBOOK_ to it, + // otherwise, add VITE_ and STORYBOOK_ so that vite doesn't lose its default. + envPrefix: userConfig.envPrefix ? 'STORYBOOK_' : ['VITE_', 'STORYBOOK_'], + }; + + const config: ViteConfig = mergeConfig(userConfig, sbConfig); + + // Sanitize environment variables if needed + const envsRaw = await presets.apply>('env'); + if (Object.keys(envsRaw).length) { + // Stringify env variables after getting `envPrefix` from the config + const envs = stringifyProcessEnvs(envsRaw, config.envPrefix); + config.define = { + ...config.define, + ...envs, + }; + } + + return config; +} + +export async function pluginConfig(options: ExtendedOptions) { + const frameworkName = await getFrameworkName(options); + + const plugins = [ + codeGeneratorPlugin(options), + // sourceLoaderPlugin(options), + mdxPlugin(options), + injectExportOrderPlugin, + stripStoryHMRBoundary(), + ] as PluginOption[]; + + // We need the react plugin here to support MDX in non-react projects. + if (frameworkName !== '@storybook/react-vite') { + plugins.push(viteReact({ exclude: [/\.stories\.([tj])sx?$/, /node_modules/, /\.([tj])sx?$/] })); + } + + // TODO: framework doesn't exist, should move into framework when/if built + if (frameworkName === '@storybook/preact-vite') { + // eslint-disable-next-line global-require + plugins.push(require('@preact/preset-vite').default()); + } + + // TODO: framework doesn't exist, should move into framework when/if built + if (frameworkName === '@storybook/glimmerx-vite') { + // eslint-disable-next-line global-require, import/extensions + const plugin = require('vite-plugin-glimmerx/index.cjs'); + plugins.push(plugin.default()); + } + + return plugins; +} diff --git a/code/lib/builder-vite/src/vite-server.ts b/code/lib/builder-vite/src/vite-server.ts new file mode 100644 index 000000000000..a8a1b35b1d46 --- /dev/null +++ b/code/lib/builder-vite/src/vite-server.ts @@ -0,0 +1,30 @@ +import type { Server } from 'http'; +import { createServer } from 'vite'; +import { commonConfig } from './vite-config'; +import type { ExtendedOptions } from './types'; +import { getOptimizeDeps } from './optimizeDeps'; + +export async function createViteServer(options: ExtendedOptions, devServer: Server) { + const { presets } = options; + + const config = await commonConfig(options, 'development'); + + // Set up dev server + config.server = { + middlewareMode: true, + hmr: { + port: options.port, + server: devServer, + }, + fs: { + strict: true, + }, + }; + config.appType = 'custom'; + + // TODO: find a way to avoid having to do this in a separate step. + config.optimizeDeps = await getOptimizeDeps(config, options); + + const finalConfig = await presets.apply('viteFinal', config, options); + return createServer(finalConfig); +} diff --git a/code/lib/builder-vite/tsconfig.json b/code/lib/builder-vite/tsconfig.json new file mode 100644 index 000000000000..76d943e5d483 --- /dev/null +++ b/code/lib/builder-vite/tsconfig.json @@ -0,0 +1,10 @@ +{ + "extends": "../../tsconfig.json", + "compilerOptions": { + "strict": true, + "resolveJsonModule": true, + "skipLibCheck": true + }, + "include": ["src/**/*"], + "exclude": ["src/**/*.test.*", "src/**/__testfixtures__/**"] +} diff --git a/code/lib/builder-webpack5/package.json b/code/lib/builder-webpack5/package.json index 8cea7d42b409..7397227e6eff 100644 --- a/code/lib/builder-webpack5/package.json +++ b/code/lib/builder-webpack5/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/builder-webpack5", - "version": "7.0.0-alpha.20", + "version": "7.0.0-alpha.31", "description": "Storybook framework-agnostic API", "keywords": [ "storybook" @@ -30,42 +30,38 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../../scripts/prepare.js" + "prep": "node ../../../scripts/prepare.js" }, "dependencies": { "@babel/core": "^7.12.10", - "@storybook/addons": "7.0.0-alpha.20", - "@storybook/api": "7.0.0-alpha.20", - "@storybook/channel-postmessage": "7.0.0-alpha.20", - "@storybook/channel-websocket": "7.0.0-alpha.20", - "@storybook/channels": "7.0.0-alpha.20", - "@storybook/client-api": "7.0.0-alpha.20", - "@storybook/client-logger": "7.0.0-alpha.20", - "@storybook/components": "7.0.0-alpha.20", - "@storybook/core-common": "7.0.0-alpha.20", - "@storybook/core-events": "7.0.0-alpha.20", - "@storybook/core-webpack": "7.0.0-alpha.20", - "@storybook/node-logger": "7.0.0-alpha.20", - "@storybook/preview-web": "7.0.0-alpha.20", - "@storybook/router": "7.0.0-alpha.20", + "@storybook/addons": "7.0.0-alpha.31", + "@storybook/api": "7.0.0-alpha.31", + "@storybook/channel-postmessage": "7.0.0-alpha.31", + "@storybook/channel-websocket": "7.0.0-alpha.31", + "@storybook/channels": "7.0.0-alpha.31", + "@storybook/client-api": "7.0.0-alpha.31", + "@storybook/client-logger": "7.0.0-alpha.31", + "@storybook/components": "7.0.0-alpha.31", + "@storybook/core-common": "7.0.0-alpha.31", + "@storybook/core-events": "7.0.0-alpha.31", + "@storybook/core-webpack": "7.0.0-alpha.31", + "@storybook/node-logger": "7.0.0-alpha.31", + "@storybook/preview-web": "7.0.0-alpha.31", + "@storybook/router": "7.0.0-alpha.31", "@storybook/semver": "^7.3.2", - "@storybook/store": "7.0.0-alpha.20", - "@storybook/theming": "7.0.0-alpha.20", + "@storybook/store": "7.0.0-alpha.31", + "@storybook/theming": "7.0.0-alpha.31", "@types/node": "^14.0.10 || ^16.0.0", "babel-loader": "^8.2.5", "babel-plugin-named-exports-order": "^0.0.2", "browser-assert": "^1.2.1", "case-sensitive-paths-webpack-plugin": "^2.4.0", - "core-js": "^3.8.2", "css-loader": "^6.7.1", "fork-ts-checker-webpack-plugin": "^7.2.8", - "glob": "^7.1.6", - "glob-promise": "^3.4.0", "global": "^4.4.0", "html-webpack-plugin": "^5.5.0", "path-browserify": "^1.0.1", "process": "^0.11.10", - "stable": "^0.1.8", "style-loader": "^3.3.1", "terser-webpack-plugin": "^5.3.1", "ts-dedent": "^2.0.0", @@ -95,5 +91,5 @@ "publishConfig": { "access": "public" }, - "gitHead": "a6c00d2ebed21da54b4772b4a4f7fed9258f0ab4" + "gitHead": "02c013c33186479017098d532a18ff8654b91f1f" } diff --git a/code/lib/builder-webpack5/src/index.ts b/code/lib/builder-webpack5/src/index.ts index 2d33a372308c..3d8090d1b01e 100644 --- a/code/lib/builder-webpack5/src/index.ts +++ b/code/lib/builder-webpack5/src/index.ts @@ -41,7 +41,7 @@ export const getConfig: WebpackBuilder['getConfig'] = async (options) => { const { presets } = options; const typescriptOptions = await presets.apply('typescript', {}, options); const babelOptions = await presets.apply('babel', {}, { ...options, typescriptOptions }); - const framework = await presets.apply('framework', {}, options); + const frameworkOptions = await presets.apply('frameworkOptions'); return presets.apply( 'webpack', @@ -50,7 +50,7 @@ export const getConfig: WebpackBuilder['getConfig'] = async (options) => { ...options, babelOptions, typescriptOptions, - frameworkOptions: typeof framework === 'string' ? {} : framework?.options, + frameworkOptions, } ) as any; }; @@ -72,7 +72,7 @@ export const bail: WebpackBuilder['bail'] = async () => { } // we wait for the compiler to finish it's work, so it's command-line output doesn't interfere return new Promise((res, rej) => { - // @ts-ignore + // @ts-expect-error (Converted from ts-ignore) if (process && compilation) { try { compilation.close(() => res()); @@ -219,7 +219,7 @@ const builder: BuilderFunction = async function* builderGeneratorFn({ startTime, logger.trace({ message: '=> Preview built', time: process.hrtime(startTime) }); if (stats && stats.hasWarnings()) { - // @ts-ignore + // @ts-expect-error (Converted from ts-ignore) stats .toJson({ warnings: true } as StatsOptions) .warnings.forEach((e) => logger.warn(e.message)); diff --git a/code/lib/builder-webpack5/src/presets/custom-webpack-preset.ts b/code/lib/builder-webpack5/src/presets/custom-webpack-preset.ts index 879dcc598107..c9b6957578e2 100644 --- a/code/lib/builder-webpack5/src/presets/custom-webpack-preset.ts +++ b/code/lib/builder-webpack5/src/presets/custom-webpack-preset.ts @@ -8,7 +8,7 @@ import { loadCustomWebpackConfig } from '@storybook/core-webpack'; import { createDefaultWebpackConfig } from '../preview/base-webpack.config'; export async function webpack(config: Configuration, options: Options) { - // @ts-ignore + // @ts-expect-error (Converted from ts-ignore) const { configDir, configType, presets, webpackConfig } = options; const coreOptions = await presets.apply('core'); diff --git a/code/lib/builder-webpack5/src/preview/iframe-webpack.config.ts b/code/lib/builder-webpack5/src/preview/iframe-webpack.config.ts index bd00d68d7c64..2f87df8615fb 100644 --- a/code/lib/builder-webpack5/src/preview/iframe-webpack.config.ts +++ b/code/lib/builder-webpack5/src/preview/iframe-webpack.config.ts @@ -1,9 +1,8 @@ import path from 'path'; -import { dedent } from 'ts-dedent'; import { DefinePlugin, HotModuleReplacementPlugin, ProgressPlugin, ProvidePlugin } from 'webpack'; import type { Configuration } from 'webpack'; import HtmlWebpackPlugin from 'html-webpack-plugin'; -// @ts-ignore // -- this has typings for webpack4 in it, won't work +// @ts-expect-error // -- this has typings for webpack4 in it, won't work import CaseSensitivePathsPlugin from 'case-sensitive-paths-webpack-plugin'; import TerserWebpackPlugin from 'terser-webpack-plugin'; import VirtualModulePlugin from 'webpack-virtual-modules'; @@ -17,6 +16,8 @@ import { normalizeStories, readTemplate, loadPreviewOrConfigFile, + isPreservingSymlinks, + getFrameworkName, } from '@storybook/core-common'; import { toRequireContextString, toImportFn } from '@storybook/core-webpack'; import type { BuilderOptions, TypescriptOptions } from '../types'; @@ -66,15 +67,7 @@ export default async ( serverChannelUrl, } = options; - const framework = await presets.apply('framework', undefined); - if (!framework) { - throw new Error(dedent` - You must to specify a framework in '.storybook/main.js' config. - - https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#framework-field-mandatory - `); - } - const frameworkName = typeof framework === 'string' ? framework : framework.name; + const frameworkName = await getFrameworkName(options); const frameworkOptions = await presets.apply('frameworkOptions'); const isProd = configType === 'PRODUCTION'; @@ -168,10 +161,6 @@ export default async ( const shouldCheckTs = typescriptOptions.check && !typescriptOptions.skipBabel; const tsCheckOptions = typescriptOptions.checkOptions || {}; - const { NODE_OPTIONS, NODE_PRESERVE_SYMLINKS } = process.env; - const isPreservingSymlinks = - !!NODE_PRESERVE_SYMLINKS || NODE_OPTIONS?.includes('--preserve-symlinks'); - return { name: 'preview', mode: isProd ? 'production' : 'development', @@ -194,6 +183,10 @@ export default async ( { message: /export '\S+' was not found in 'global'/, }, + { + message: + /require function is used in a way in which dependencies cannot be statically extracted/, + }, ], plugins: [ Object.keys(virtualModuleMapping).length > 0 @@ -275,7 +268,7 @@ export default async ( }, // Set webpack to resolve symlinks based on whether the user has asked node to. // This feels like it should be default out-of-the-box in webpack :shrug: - symlinks: !isPreservingSymlinks, + symlinks: !isPreservingSymlinks(), }, optimization: { splitChunks: { diff --git a/code/lib/builder-webpack5/src/preview/virtualModuleEntry.template.js b/code/lib/builder-webpack5/src/preview/virtualModuleEntry.template.js index 1e3f319f27ce..b667a36248a0 100644 --- a/code/lib/builder-webpack5/src/preview/virtualModuleEntry.template.js +++ b/code/lib/builder-webpack5/src/preview/virtualModuleEntry.template.js @@ -5,6 +5,7 @@ import { addLoader, addArgs, addArgTypes, + addStepRunner, addArgsEnhancer, addArgTypesEnhancer, setGlobalRender, @@ -49,6 +50,9 @@ Object.keys(config).forEach((key) => { case 'renderToDOM': { return null; // This key is not handled directly in v6 mode. } + case 'runStep': { + return addStepRunner(value); + } default: { // eslint-disable-next-line prefer-template return console.log(key + ' was not supported :( !'); diff --git a/code/lib/channel-postmessage/package.json b/code/lib/channel-postmessage/package.json index cf040416574d..2eae78e44a42 100644 --- a/code/lib/channel-postmessage/package.json +++ b/code/lib/channel-postmessage/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/channel-postmessage", - "version": "7.0.0-alpha.20", + "version": "7.0.0-alpha.31", "description": "", "keywords": [ "storybook" @@ -31,13 +31,12 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../../scripts/prepare.js" + "prep": "node ../../../scripts/prepare.js" }, "dependencies": { - "@storybook/channels": "7.0.0-alpha.20", - "@storybook/client-logger": "7.0.0-alpha.20", - "@storybook/core-events": "7.0.0-alpha.20", - "core-js": "^3.8.2", + "@storybook/channels": "7.0.0-alpha.31", + "@storybook/client-logger": "7.0.0-alpha.31", + "@storybook/core-events": "7.0.0-alpha.31", "global": "^4.4.0", "qs": "^6.10.0", "telejson": "^6.0.8" @@ -48,5 +47,5 @@ "publishConfig": { "access": "public" }, - "gitHead": "a6c00d2ebed21da54b4772b4a4f7fed9258f0ab4" + "gitHead": "02c013c33186479017098d532a18ff8654b91f1f" } diff --git a/code/lib/channel-websocket/package.json b/code/lib/channel-websocket/package.json index fec6dac9763b..72aa08c77c81 100644 --- a/code/lib/channel-websocket/package.json +++ b/code/lib/channel-websocket/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/channel-websocket", - "version": "7.0.0-alpha.20", + "version": "7.0.0-alpha.31", "description": "", "keywords": [ "storybook" @@ -31,12 +31,11 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../../scripts/prepare.js" + "prep": "node ../../../scripts/prepare.js" }, "dependencies": { - "@storybook/channels": "7.0.0-alpha.20", - "@storybook/client-logger": "7.0.0-alpha.20", - "core-js": "^3.8.2", + "@storybook/channels": "7.0.0-alpha.31", + "@storybook/client-logger": "7.0.0-alpha.31", "global": "^4.4.0", "telejson": "^6.0.8" }, @@ -46,5 +45,5 @@ "publishConfig": { "access": "public" }, - "gitHead": "a6c00d2ebed21da54b4772b4a4f7fed9258f0ab4" + "gitHead": "02c013c33186479017098d532a18ff8654b91f1f" } diff --git a/code/lib/channel-websocket/src/index.ts b/code/lib/channel-websocket/src/index.ts index 87b5cce0b903..fb5628be5032 100644 --- a/code/lib/channel-websocket/src/index.ts +++ b/code/lib/channel-websocket/src/index.ts @@ -85,3 +85,6 @@ export function createChannel({ const transport = new WebsocketTransport({ url, onError }); return new Channel({ transport, async }); } + +// backwards compat with builder-vite +export default createChannel; diff --git a/code/lib/channels/package.json b/code/lib/channels/package.json index fdea6ce50a3b..c2d3c57eea07 100644 --- a/code/lib/channels/package.json +++ b/code/lib/channels/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/channels", - "version": "7.0.0-alpha.20", + "version": "7.0.0-alpha.31", "description": "", "keywords": [ "storybook" @@ -39,10 +39,9 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "core-js": "^3.8.2", "ts-dedent": "^2.0.0", "util-deprecate": "^1.0.2" }, @@ -57,5 +56,5 @@ "./src/index.ts" ] }, - "gitHead": "a6c00d2ebed21da54b4772b4a4f7fed9258f0ab4" + "gitHead": "02c013c33186479017098d532a18ff8654b91f1f" } diff --git a/code/lib/channels/src/index.test.ts b/code/lib/channels/src/index.test.ts index 08ae656bb1ca..0efa9f5931bd 100644 --- a/code/lib/channels/src/index.test.ts +++ b/code/lib/channels/src/index.test.ts @@ -103,7 +103,7 @@ describe('Channel', () => { listenerOutputData = data; }); const sendSpy = jest.fn(); - // @ts-ignore + // @ts-expect-error (Converted from ts-ignore) channel.transport.send = sendSpy; channel.emit(eventName, ...listenerInputData); expect(listenerOutputData).toEqual(listenerInputData); diff --git a/code/lib/cli-sb/package.json b/code/lib/cli-sb/package.json index 5122fac0f568..2cea68974c19 100644 --- a/code/lib/cli-sb/package.json +++ b/code/lib/cli-sb/package.json @@ -1,6 +1,6 @@ { "name": "sb", - "version": "7.0.0-alpha.20", + "version": "7.0.0-alpha.31", "description": "Storybook CLI", "keywords": [ "storybook" @@ -22,10 +22,10 @@ "bin": "./index.js", "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../../scripts/prepare.js" + "prep": "node ../../../scripts/prepare.js" }, "dependencies": { - "@storybook/cli": "7.0.0-alpha.20" + "@storybook/cli": "7.0.0-alpha.31" }, "devDependencies": { "typescript": "~4.6.3" @@ -33,5 +33,5 @@ "publishConfig": { "access": "public" }, - "gitHead": "a6c00d2ebed21da54b4772b4a4f7fed9258f0ab4" + "gitHead": "02c013c33186479017098d532a18ff8654b91f1f" } diff --git a/code/lib/cli-storybook/package.json b/code/lib/cli-storybook/package.json index 3d7b341a176c..f094ee331102 100644 --- a/code/lib/cli-storybook/package.json +++ b/code/lib/cli-storybook/package.json @@ -1,6 +1,6 @@ { "name": "storybook", - "version": "7.0.0-alpha.20", + "version": "7.0.0-alpha.31", "description": "Storybook CLI", "keywords": [ "storybook" @@ -25,10 +25,10 @@ }, "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../../scripts/prepare.js" + "prep": "node ../../../scripts/prepare.js" }, "dependencies": { - "@storybook/cli": "7.0.0-alpha.20" + "@storybook/cli": "7.0.0-alpha.31" }, "devDependencies": { "typescript": "~4.6.3" @@ -36,5 +36,5 @@ "publishConfig": { "access": "public" }, - "gitHead": "a6c00d2ebed21da54b4772b4a4f7fed9258f0ab4" + "gitHead": "02c013c33186479017098d532a18ff8654b91f1f" } diff --git a/code/lib/cli/.babelrc.json b/code/lib/cli/.babelrc.json index ffec5b09f395..89a2815442ec 100644 --- a/code/lib/cli/.babelrc.json +++ b/code/lib/cli/.babelrc.json @@ -12,7 +12,7 @@ ] ], "ignore": [ - "./src/frameworks", + "./src/rendererAssets", "./src/generators/**/template", "./src/generators/**/template-csf", "./src/generators/**/template-csf-ts", diff --git a/code/lib/cli/package.json b/code/lib/cli/package.json index 8170321b4ed7..81af6e4b29e0 100644 --- a/code/lib/cli/package.json +++ b/code/lib/cli/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/cli", - "version": "7.0.0-alpha.20", + "version": "7.0.0-alpha.31", "description": "Storybook's CLI - easiest method of adding storybook to your projects", "keywords": [ "cli", @@ -22,13 +22,6 @@ }, "license": "MIT", "author": "Storybook Team", - "typesVersions": { - "<3.8": { - "*": [ - "ts3.4/*" - ] - } - }, "bin": { "getstorybook": "./bin/index.js", "sb": "./bin/index.js" @@ -36,25 +29,26 @@ "files": [ "bin/**/*", "dist/**/*", + "rendererAssets/**/*", "README.md", "*.js", "*.d.ts" ], "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../../scripts/prepare.js", + "prep": "node ../../../scripts/prepare.js", "test": "jest test/**/*.test.js" }, "dependencies": { "@babel/core": "^7.12.10", "@babel/preset-env": "^7.12.11", - "@storybook/codemod": "7.0.0-alpha.20", - "@storybook/core-common": "7.0.0-alpha.20", - "@storybook/core-server": "7.0.0-alpha.20", - "@storybook/csf-tools": "7.0.0-alpha.20", - "@storybook/node-logger": "7.0.0-alpha.20", + "@storybook/codemod": "7.0.0-alpha.31", + "@storybook/core-common": "7.0.0-alpha.31", + "@storybook/core-server": "7.0.0-alpha.31", + "@storybook/csf-tools": "7.0.0-alpha.31", + "@storybook/node-logger": "7.0.0-alpha.31", "@storybook/semver": "^7.3.2", - "@storybook/telemetry": "7.0.0-alpha.20", + "@storybook/telemetry": "7.0.0-alpha.31", "boxen": "^5.1.2", "chalk": "^4.1.0", "commander": "^6.2.1", @@ -68,9 +62,7 @@ "fs-extra": "^9.0.1", "get-port": "^5.1.1", "globby": "^11.0.2", - "js-yaml": "^3.14.1", "jscodeshift": "^0.13.1", - "json5": "^2.1.3", "leven": "^3.1.0", "prompts": "^2.4.0", "puppeteer-core": "^2.1.1", @@ -81,7 +73,7 @@ "update-notifier": "^5.0.1" }, "devDependencies": { - "@storybook/client-api": "7.0.0-alpha.20", + "@storybook/client-api": "7.0.0-alpha.31", "@types/cross-spawn": "^6.0.2", "@types/degit": "^2.8.3", "@types/prompts": "^2.0.9", @@ -96,5 +88,5 @@ "publishConfig": { "access": "public" }, - "gitHead": "a6c00d2ebed21da54b4772b4a4f7fed9258f0ab4" + "gitHead": "02c013c33186479017098d532a18ff8654b91f1f" } diff --git a/code/lib/cli/frameworks/.eslintrc.json b/code/lib/cli/rendererAssets/.eslintrc.json similarity index 100% rename from code/lib/cli/frameworks/.eslintrc.json rename to code/lib/cli/rendererAssets/.eslintrc.json diff --git a/code/lib/cli/frameworks/angular/Button.stories.ts b/code/lib/cli/rendererAssets/angular/Button.stories.ts similarity index 92% rename from code/lib/cli/frameworks/angular/Button.stories.ts rename to code/lib/cli/rendererAssets/angular/Button.stories.ts index 8a83fd736fc3..1a4d6894f9a7 100644 --- a/code/lib/cli/frameworks/angular/Button.stories.ts +++ b/code/lib/cli/rendererAssets/angular/Button.stories.ts @@ -1,4 +1,3 @@ -// also exported from '@storybook/angular' if you can deal with breaking changes in 6.1 import type { Meta, StoryFn } from '@storybook/angular'; import Button from './button.component'; diff --git a/code/lib/cli/frameworks/angular/Header.stories.ts b/code/lib/cli/rendererAssets/angular/Header.stories.ts similarity index 100% rename from code/lib/cli/frameworks/angular/Header.stories.ts rename to code/lib/cli/rendererAssets/angular/Header.stories.ts diff --git a/code/lib/cli/frameworks/angular/Page.stories.ts b/code/lib/cli/rendererAssets/angular/Page.stories.ts similarity index 100% rename from code/lib/cli/frameworks/angular/Page.stories.ts rename to code/lib/cli/rendererAssets/angular/Page.stories.ts diff --git a/code/lib/cli/frameworks/angular/User.ts b/code/lib/cli/rendererAssets/angular/User.ts similarity index 100% rename from code/lib/cli/frameworks/angular/User.ts rename to code/lib/cli/rendererAssets/angular/User.ts diff --git a/code/lib/cli/frameworks/angular/button.component.ts b/code/lib/cli/rendererAssets/angular/button.component.ts similarity index 100% rename from code/lib/cli/frameworks/angular/button.component.ts rename to code/lib/cli/rendererAssets/angular/button.component.ts diff --git a/code/lib/cli/frameworks/angular/header.component.ts b/code/lib/cli/rendererAssets/angular/header.component.ts similarity index 100% rename from code/lib/cli/frameworks/angular/header.component.ts rename to code/lib/cli/rendererAssets/angular/header.component.ts diff --git a/code/lib/cli/frameworks/angular/page.component.ts b/code/lib/cli/rendererAssets/angular/page.component.ts similarity index 100% rename from code/lib/cli/frameworks/angular/page.component.ts rename to code/lib/cli/rendererAssets/angular/page.component.ts diff --git a/code/lib/cli/frameworks/aurelia/1-Button.stories.ts b/code/lib/cli/rendererAssets/aurelia/1-Button.stories.ts similarity index 100% rename from code/lib/cli/frameworks/aurelia/1-Button.stories.ts rename to code/lib/cli/rendererAssets/aurelia/1-Button.stories.ts diff --git a/code/lib/cli/frameworks/aurelia/button.ts b/code/lib/cli/rendererAssets/aurelia/button.ts similarity index 100% rename from code/lib/cli/frameworks/aurelia/button.ts rename to code/lib/cli/rendererAssets/aurelia/button.ts diff --git a/code/lib/cli/frameworks/common/Introduction.stories.mdx b/code/lib/cli/rendererAssets/common/Introduction.stories.mdx similarity index 100% rename from code/lib/cli/frameworks/common/Introduction.stories.mdx rename to code/lib/cli/rendererAssets/common/Introduction.stories.mdx diff --git a/code/lib/cli/frameworks/common/assets/code-brackets.svg b/code/lib/cli/rendererAssets/common/assets/code-brackets.svg similarity index 100% rename from code/lib/cli/frameworks/common/assets/code-brackets.svg rename to code/lib/cli/rendererAssets/common/assets/code-brackets.svg diff --git a/code/lib/cli/frameworks/common/assets/colors.svg b/code/lib/cli/rendererAssets/common/assets/colors.svg similarity index 100% rename from code/lib/cli/frameworks/common/assets/colors.svg rename to code/lib/cli/rendererAssets/common/assets/colors.svg diff --git a/code/lib/cli/frameworks/common/assets/comments.svg b/code/lib/cli/rendererAssets/common/assets/comments.svg similarity index 100% rename from code/lib/cli/frameworks/common/assets/comments.svg rename to code/lib/cli/rendererAssets/common/assets/comments.svg diff --git a/code/lib/cli/frameworks/common/assets/direction.svg b/code/lib/cli/rendererAssets/common/assets/direction.svg similarity index 100% rename from code/lib/cli/frameworks/common/assets/direction.svg rename to code/lib/cli/rendererAssets/common/assets/direction.svg diff --git a/code/lib/cli/frameworks/common/assets/flow.svg b/code/lib/cli/rendererAssets/common/assets/flow.svg similarity index 100% rename from code/lib/cli/frameworks/common/assets/flow.svg rename to code/lib/cli/rendererAssets/common/assets/flow.svg diff --git a/code/lib/cli/frameworks/common/assets/plugin.svg b/code/lib/cli/rendererAssets/common/assets/plugin.svg similarity index 100% rename from code/lib/cli/frameworks/common/assets/plugin.svg rename to code/lib/cli/rendererAssets/common/assets/plugin.svg diff --git a/code/lib/cli/frameworks/common/assets/repo.svg b/code/lib/cli/rendererAssets/common/assets/repo.svg similarity index 100% rename from code/lib/cli/frameworks/common/assets/repo.svg rename to code/lib/cli/rendererAssets/common/assets/repo.svg diff --git a/code/lib/cli/frameworks/common/assets/stackalt.svg b/code/lib/cli/rendererAssets/common/assets/stackalt.svg similarity index 100% rename from code/lib/cli/frameworks/common/assets/stackalt.svg rename to code/lib/cli/rendererAssets/common/assets/stackalt.svg diff --git a/code/lib/cli/frameworks/common/button.css b/code/lib/cli/rendererAssets/common/button.css similarity index 100% rename from code/lib/cli/frameworks/common/button.css rename to code/lib/cli/rendererAssets/common/button.css diff --git a/code/lib/cli/frameworks/common/header.css b/code/lib/cli/rendererAssets/common/header.css similarity index 100% rename from code/lib/cli/frameworks/common/header.css rename to code/lib/cli/rendererAssets/common/header.css diff --git a/code/lib/cli/frameworks/common/page.css b/code/lib/cli/rendererAssets/common/page.css similarity index 100% rename from code/lib/cli/frameworks/common/page.css rename to code/lib/cli/rendererAssets/common/page.css diff --git a/code/lib/cli/frameworks/ember/1-Button.stories.js b/code/lib/cli/rendererAssets/ember/1-Button.stories.js similarity index 100% rename from code/lib/cli/frameworks/ember/1-Button.stories.js rename to code/lib/cli/rendererAssets/ember/1-Button.stories.js diff --git a/code/lib/cli/frameworks/html/js/Button.js b/code/lib/cli/rendererAssets/html/js/Button.js similarity index 100% rename from code/lib/cli/frameworks/html/js/Button.js rename to code/lib/cli/rendererAssets/html/js/Button.js diff --git a/code/lib/cli/frameworks/html/js/Button.stories.js b/code/lib/cli/rendererAssets/html/js/Button.stories.js similarity index 100% rename from code/lib/cli/frameworks/html/js/Button.stories.js rename to code/lib/cli/rendererAssets/html/js/Button.stories.js diff --git a/code/lib/cli/frameworks/html/js/Header.js b/code/lib/cli/rendererAssets/html/js/Header.js similarity index 100% rename from code/lib/cli/frameworks/html/js/Header.js rename to code/lib/cli/rendererAssets/html/js/Header.js diff --git a/code/lib/cli/frameworks/html/js/Header.stories.js b/code/lib/cli/rendererAssets/html/js/Header.stories.js similarity index 100% rename from code/lib/cli/frameworks/html/js/Header.stories.js rename to code/lib/cli/rendererAssets/html/js/Header.stories.js diff --git a/code/lib/cli/frameworks/html/js/Page.js b/code/lib/cli/rendererAssets/html/js/Page.js similarity index 100% rename from code/lib/cli/frameworks/html/js/Page.js rename to code/lib/cli/rendererAssets/html/js/Page.js diff --git a/code/lib/cli/frameworks/html/js/Page.stories.js b/code/lib/cli/rendererAssets/html/js/Page.stories.js similarity index 100% rename from code/lib/cli/frameworks/html/js/Page.stories.js rename to code/lib/cli/rendererAssets/html/js/Page.stories.js diff --git a/code/lib/cli/frameworks/html/ts/Button.stories.ts b/code/lib/cli/rendererAssets/html/ts/Button.stories.ts similarity index 100% rename from code/lib/cli/frameworks/html/ts/Button.stories.ts rename to code/lib/cli/rendererAssets/html/ts/Button.stories.ts diff --git a/code/lib/cli/frameworks/html/ts/Button.ts b/code/lib/cli/rendererAssets/html/ts/Button.ts similarity index 100% rename from code/lib/cli/frameworks/html/ts/Button.ts rename to code/lib/cli/rendererAssets/html/ts/Button.ts diff --git a/code/lib/cli/frameworks/html/ts/Header.stories.ts b/code/lib/cli/rendererAssets/html/ts/Header.stories.ts similarity index 100% rename from code/lib/cli/frameworks/html/ts/Header.stories.ts rename to code/lib/cli/rendererAssets/html/ts/Header.stories.ts diff --git a/code/lib/cli/frameworks/html/ts/Header.ts b/code/lib/cli/rendererAssets/html/ts/Header.ts similarity index 100% rename from code/lib/cli/frameworks/html/ts/Header.ts rename to code/lib/cli/rendererAssets/html/ts/Header.ts diff --git a/code/lib/cli/frameworks/html/ts/Page.stories.ts b/code/lib/cli/rendererAssets/html/ts/Page.stories.ts similarity index 100% rename from code/lib/cli/frameworks/html/ts/Page.stories.ts rename to code/lib/cli/rendererAssets/html/ts/Page.stories.ts diff --git a/code/lib/cli/frameworks/html/ts/Page.ts b/code/lib/cli/rendererAssets/html/ts/Page.ts similarity index 100% rename from code/lib/cli/frameworks/html/ts/Page.ts rename to code/lib/cli/rendererAssets/html/ts/Page.ts diff --git a/code/lib/cli/frameworks/marionette/index.stories.js b/code/lib/cli/rendererAssets/marionette/index.stories.js similarity index 100% rename from code/lib/cli/frameworks/marionette/index.stories.js rename to code/lib/cli/rendererAssets/marionette/index.stories.js diff --git a/code/lib/cli/frameworks/marko/1-Button.stories.js b/code/lib/cli/rendererAssets/marko/1-Button.stories.js similarity index 100% rename from code/lib/cli/frameworks/marko/1-Button.stories.js rename to code/lib/cli/rendererAssets/marko/1-Button.stories.js diff --git a/code/lib/cli/frameworks/marko/Button.marko b/code/lib/cli/rendererAssets/marko/Button.marko similarity index 100% rename from code/lib/cli/frameworks/marko/Button.marko rename to code/lib/cli/rendererAssets/marko/Button.marko diff --git a/code/lib/cli/frameworks/mithril/Button.js b/code/lib/cli/rendererAssets/mithril/Button.js similarity index 100% rename from code/lib/cli/frameworks/mithril/Button.js rename to code/lib/cli/rendererAssets/mithril/Button.js diff --git a/code/lib/cli/frameworks/mithril/Button.stories.js b/code/lib/cli/rendererAssets/mithril/Button.stories.js similarity index 100% rename from code/lib/cli/frameworks/mithril/Button.stories.js rename to code/lib/cli/rendererAssets/mithril/Button.stories.js diff --git a/code/lib/cli/frameworks/mithril/Header.js b/code/lib/cli/rendererAssets/mithril/Header.js similarity index 100% rename from code/lib/cli/frameworks/mithril/Header.js rename to code/lib/cli/rendererAssets/mithril/Header.js diff --git a/code/lib/cli/frameworks/mithril/Header.stories.js b/code/lib/cli/rendererAssets/mithril/Header.stories.js similarity index 100% rename from code/lib/cli/frameworks/mithril/Header.stories.js rename to code/lib/cli/rendererAssets/mithril/Header.stories.js diff --git a/code/lib/cli/frameworks/mithril/Page.js b/code/lib/cli/rendererAssets/mithril/Page.js similarity index 100% rename from code/lib/cli/frameworks/mithril/Page.js rename to code/lib/cli/rendererAssets/mithril/Page.js diff --git a/code/lib/cli/frameworks/mithril/Page.stories.js b/code/lib/cli/rendererAssets/mithril/Page.stories.js similarity index 100% rename from code/lib/cli/frameworks/mithril/Page.stories.js rename to code/lib/cli/rendererAssets/mithril/Page.stories.js diff --git a/code/lib/cli/frameworks/preact/Button.jsx b/code/lib/cli/rendererAssets/preact/Button.jsx similarity index 100% rename from code/lib/cli/frameworks/preact/Button.jsx rename to code/lib/cli/rendererAssets/preact/Button.jsx diff --git a/code/lib/cli/frameworks/preact/Button.stories.jsx b/code/lib/cli/rendererAssets/preact/Button.stories.jsx similarity index 100% rename from code/lib/cli/frameworks/preact/Button.stories.jsx rename to code/lib/cli/rendererAssets/preact/Button.stories.jsx diff --git a/code/lib/cli/frameworks/preact/Header.jsx b/code/lib/cli/rendererAssets/preact/Header.jsx similarity index 100% rename from code/lib/cli/frameworks/preact/Header.jsx rename to code/lib/cli/rendererAssets/preact/Header.jsx diff --git a/code/lib/cli/frameworks/preact/Header.stories.jsx b/code/lib/cli/rendererAssets/preact/Header.stories.jsx similarity index 100% rename from code/lib/cli/frameworks/preact/Header.stories.jsx rename to code/lib/cli/rendererAssets/preact/Header.stories.jsx diff --git a/code/lib/cli/frameworks/preact/Page.jsx b/code/lib/cli/rendererAssets/preact/Page.jsx similarity index 100% rename from code/lib/cli/frameworks/preact/Page.jsx rename to code/lib/cli/rendererAssets/preact/Page.jsx diff --git a/code/lib/cli/frameworks/preact/Page.stories.jsx b/code/lib/cli/rendererAssets/preact/Page.stories.jsx similarity index 100% rename from code/lib/cli/frameworks/preact/Page.stories.jsx rename to code/lib/cli/rendererAssets/preact/Page.stories.jsx diff --git a/code/lib/cli/frameworks/rax/Button.js b/code/lib/cli/rendererAssets/rax/Button.js similarity index 100% rename from code/lib/cli/frameworks/rax/Button.js rename to code/lib/cli/rendererAssets/rax/Button.js diff --git a/code/lib/cli/frameworks/rax/Button.stories.js b/code/lib/cli/rendererAssets/rax/Button.stories.js similarity index 100% rename from code/lib/cli/frameworks/rax/Button.stories.js rename to code/lib/cli/rendererAssets/rax/Button.stories.js diff --git a/code/lib/cli/frameworks/rax/Header.js b/code/lib/cli/rendererAssets/rax/Header.js similarity index 100% rename from code/lib/cli/frameworks/rax/Header.js rename to code/lib/cli/rendererAssets/rax/Header.js diff --git a/code/lib/cli/frameworks/rax/Header.stories.js b/code/lib/cli/rendererAssets/rax/Header.stories.js similarity index 100% rename from code/lib/cli/frameworks/rax/Header.stories.js rename to code/lib/cli/rendererAssets/rax/Header.stories.js diff --git a/code/lib/cli/frameworks/rax/Page.js b/code/lib/cli/rendererAssets/rax/Page.js similarity index 100% rename from code/lib/cli/frameworks/rax/Page.js rename to code/lib/cli/rendererAssets/rax/Page.js diff --git a/code/lib/cli/frameworks/rax/Page.stories.js b/code/lib/cli/rendererAssets/rax/Page.stories.js similarity index 100% rename from code/lib/cli/frameworks/rax/Page.stories.js rename to code/lib/cli/rendererAssets/rax/Page.stories.js diff --git a/code/lib/cli/frameworks/react/js/Button.jsx b/code/lib/cli/rendererAssets/react/js/Button.jsx similarity index 100% rename from code/lib/cli/frameworks/react/js/Button.jsx rename to code/lib/cli/rendererAssets/react/js/Button.jsx diff --git a/code/lib/cli/frameworks/react/js/Button.stories.jsx b/code/lib/cli/rendererAssets/react/js/Button.stories.jsx similarity index 100% rename from code/lib/cli/frameworks/react/js/Button.stories.jsx rename to code/lib/cli/rendererAssets/react/js/Button.stories.jsx diff --git a/code/lib/cli/frameworks/react/js/Header.jsx b/code/lib/cli/rendererAssets/react/js/Header.jsx similarity index 100% rename from code/lib/cli/frameworks/react/js/Header.jsx rename to code/lib/cli/rendererAssets/react/js/Header.jsx diff --git a/code/lib/cli/frameworks/react/js/Header.stories.jsx b/code/lib/cli/rendererAssets/react/js/Header.stories.jsx similarity index 100% rename from code/lib/cli/frameworks/react/js/Header.stories.jsx rename to code/lib/cli/rendererAssets/react/js/Header.stories.jsx diff --git a/code/lib/cli/frameworks/react/js/Page.jsx b/code/lib/cli/rendererAssets/react/js/Page.jsx similarity index 100% rename from code/lib/cli/frameworks/react/js/Page.jsx rename to code/lib/cli/rendererAssets/react/js/Page.jsx diff --git a/code/lib/cli/frameworks/react/js/Page.stories.jsx b/code/lib/cli/rendererAssets/react/js/Page.stories.jsx similarity index 100% rename from code/lib/cli/frameworks/react/js/Page.stories.jsx rename to code/lib/cli/rendererAssets/react/js/Page.stories.jsx diff --git a/code/lib/cli/frameworks/react/ts/Button.stories.tsx b/code/lib/cli/rendererAssets/react/ts/Button.stories.tsx similarity index 100% rename from code/lib/cli/frameworks/react/ts/Button.stories.tsx rename to code/lib/cli/rendererAssets/react/ts/Button.stories.tsx diff --git a/code/lib/cli/frameworks/react/ts/Button.tsx b/code/lib/cli/rendererAssets/react/ts/Button.tsx similarity index 100% rename from code/lib/cli/frameworks/react/ts/Button.tsx rename to code/lib/cli/rendererAssets/react/ts/Button.tsx diff --git a/code/lib/cli/frameworks/react/ts/Header.stories.tsx b/code/lib/cli/rendererAssets/react/ts/Header.stories.tsx similarity index 100% rename from code/lib/cli/frameworks/react/ts/Header.stories.tsx rename to code/lib/cli/rendererAssets/react/ts/Header.stories.tsx diff --git a/code/lib/cli/frameworks/react/ts/Header.tsx b/code/lib/cli/rendererAssets/react/ts/Header.tsx similarity index 100% rename from code/lib/cli/frameworks/react/ts/Header.tsx rename to code/lib/cli/rendererAssets/react/ts/Header.tsx diff --git a/code/lib/cli/frameworks/react/ts/Page.stories.tsx b/code/lib/cli/rendererAssets/react/ts/Page.stories.tsx similarity index 100% rename from code/lib/cli/frameworks/react/ts/Page.stories.tsx rename to code/lib/cli/rendererAssets/react/ts/Page.stories.tsx diff --git a/code/lib/cli/frameworks/react/ts/Page.tsx b/code/lib/cli/rendererAssets/react/ts/Page.tsx similarity index 100% rename from code/lib/cli/frameworks/react/ts/Page.tsx rename to code/lib/cli/rendererAssets/react/ts/Page.tsx diff --git a/code/lib/cli/frameworks/riot/1-Button.stories.js b/code/lib/cli/rendererAssets/riot/1-Button.stories.js similarity index 100% rename from code/lib/cli/frameworks/riot/1-Button.stories.js rename to code/lib/cli/rendererAssets/riot/1-Button.stories.js diff --git a/code/lib/cli/frameworks/riot/MyButton.tag b/code/lib/cli/rendererAssets/riot/MyButton.tag similarity index 100% rename from code/lib/cli/frameworks/riot/MyButton.tag rename to code/lib/cli/rendererAssets/riot/MyButton.tag diff --git a/code/lib/cli/frameworks/server/button.stories.json b/code/lib/cli/rendererAssets/server/button.stories.json similarity index 100% rename from code/lib/cli/frameworks/server/button.stories.json rename to code/lib/cli/rendererAssets/server/button.stories.json diff --git a/code/lib/cli/frameworks/server/header.stories.json b/code/lib/cli/rendererAssets/server/header.stories.json similarity index 100% rename from code/lib/cli/frameworks/server/header.stories.json rename to code/lib/cli/rendererAssets/server/header.stories.json diff --git a/code/lib/cli/frameworks/server/page.stories.json b/code/lib/cli/rendererAssets/server/page.stories.json similarity index 100% rename from code/lib/cli/frameworks/server/page.stories.json rename to code/lib/cli/rendererAssets/server/page.stories.json diff --git a/code/lib/cli/frameworks/svelte/Button.stories.js b/code/lib/cli/rendererAssets/svelte/Button.stories.js similarity index 100% rename from code/lib/cli/frameworks/svelte/Button.stories.js rename to code/lib/cli/rendererAssets/svelte/Button.stories.js diff --git a/code/lib/cli/frameworks/svelte/Button.svelte b/code/lib/cli/rendererAssets/svelte/Button.svelte similarity index 100% rename from code/lib/cli/frameworks/svelte/Button.svelte rename to code/lib/cli/rendererAssets/svelte/Button.svelte diff --git a/code/lib/cli/frameworks/svelte/Header.stories.js b/code/lib/cli/rendererAssets/svelte/Header.stories.js similarity index 100% rename from code/lib/cli/frameworks/svelte/Header.stories.js rename to code/lib/cli/rendererAssets/svelte/Header.stories.js diff --git a/code/lib/cli/frameworks/svelte/Header.svelte b/code/lib/cli/rendererAssets/svelte/Header.svelte similarity index 100% rename from code/lib/cli/frameworks/svelte/Header.svelte rename to code/lib/cli/rendererAssets/svelte/Header.svelte diff --git a/code/lib/cli/frameworks/svelte/Page.stories.js b/code/lib/cli/rendererAssets/svelte/Page.stories.js similarity index 100% rename from code/lib/cli/frameworks/svelte/Page.stories.js rename to code/lib/cli/rendererAssets/svelte/Page.stories.js diff --git a/code/lib/cli/frameworks/svelte/Page.svelte b/code/lib/cli/rendererAssets/svelte/Page.svelte similarity index 100% rename from code/lib/cli/frameworks/svelte/Page.svelte rename to code/lib/cli/rendererAssets/svelte/Page.svelte diff --git a/code/lib/cli/frameworks/vue/Button.stories.js b/code/lib/cli/rendererAssets/vue/Button.stories.js similarity index 100% rename from code/lib/cli/frameworks/vue/Button.stories.js rename to code/lib/cli/rendererAssets/vue/Button.stories.js diff --git a/code/lib/cli/frameworks/vue/Button.vue b/code/lib/cli/rendererAssets/vue/Button.vue similarity index 100% rename from code/lib/cli/frameworks/vue/Button.vue rename to code/lib/cli/rendererAssets/vue/Button.vue diff --git a/code/lib/cli/frameworks/vue/Header.stories.js b/code/lib/cli/rendererAssets/vue/Header.stories.js similarity index 100% rename from code/lib/cli/frameworks/vue/Header.stories.js rename to code/lib/cli/rendererAssets/vue/Header.stories.js diff --git a/code/lib/cli/frameworks/vue/Header.vue b/code/lib/cli/rendererAssets/vue/Header.vue similarity index 100% rename from code/lib/cli/frameworks/vue/Header.vue rename to code/lib/cli/rendererAssets/vue/Header.vue diff --git a/code/lib/cli/frameworks/vue/Page.stories.js b/code/lib/cli/rendererAssets/vue/Page.stories.js similarity index 100% rename from code/lib/cli/frameworks/vue/Page.stories.js rename to code/lib/cli/rendererAssets/vue/Page.stories.js diff --git a/code/lib/cli/frameworks/vue/Page.vue b/code/lib/cli/rendererAssets/vue/Page.vue similarity index 100% rename from code/lib/cli/frameworks/vue/Page.vue rename to code/lib/cli/rendererAssets/vue/Page.vue diff --git a/code/lib/cli/frameworks/vue3/Button.stories.js b/code/lib/cli/rendererAssets/vue3/Button.stories.js similarity index 100% rename from code/lib/cli/frameworks/vue3/Button.stories.js rename to code/lib/cli/rendererAssets/vue3/Button.stories.js diff --git a/code/lib/cli/frameworks/vue3/Button.vue b/code/lib/cli/rendererAssets/vue3/Button.vue similarity index 100% rename from code/lib/cli/frameworks/vue3/Button.vue rename to code/lib/cli/rendererAssets/vue3/Button.vue diff --git a/code/lib/cli/frameworks/vue3/Header.stories.js b/code/lib/cli/rendererAssets/vue3/Header.stories.js similarity index 100% rename from code/lib/cli/frameworks/vue3/Header.stories.js rename to code/lib/cli/rendererAssets/vue3/Header.stories.js diff --git a/code/lib/cli/frameworks/vue3/Header.vue b/code/lib/cli/rendererAssets/vue3/Header.vue similarity index 100% rename from code/lib/cli/frameworks/vue3/Header.vue rename to code/lib/cli/rendererAssets/vue3/Header.vue diff --git a/code/lib/cli/frameworks/vue3/Page.stories.js b/code/lib/cli/rendererAssets/vue3/Page.stories.js similarity index 100% rename from code/lib/cli/frameworks/vue3/Page.stories.js rename to code/lib/cli/rendererAssets/vue3/Page.stories.js diff --git a/code/lib/cli/frameworks/vue3/Page.vue b/code/lib/cli/rendererAssets/vue3/Page.vue similarity index 100% rename from code/lib/cli/frameworks/vue3/Page.vue rename to code/lib/cli/rendererAssets/vue3/Page.vue diff --git a/code/lib/cli/frameworks/web-components/js/Button.js b/code/lib/cli/rendererAssets/web-components/js/Button.js similarity index 100% rename from code/lib/cli/frameworks/web-components/js/Button.js rename to code/lib/cli/rendererAssets/web-components/js/Button.js diff --git a/code/lib/cli/frameworks/web-components/js/Button.stories.js b/code/lib/cli/rendererAssets/web-components/js/Button.stories.js similarity index 100% rename from code/lib/cli/frameworks/web-components/js/Button.stories.js rename to code/lib/cli/rendererAssets/web-components/js/Button.stories.js diff --git a/code/lib/cli/frameworks/web-components/js/Header.js b/code/lib/cli/rendererAssets/web-components/js/Header.js similarity index 100% rename from code/lib/cli/frameworks/web-components/js/Header.js rename to code/lib/cli/rendererAssets/web-components/js/Header.js diff --git a/code/lib/cli/frameworks/web-components/js/Header.stories.js b/code/lib/cli/rendererAssets/web-components/js/Header.stories.js similarity index 100% rename from code/lib/cli/frameworks/web-components/js/Header.stories.js rename to code/lib/cli/rendererAssets/web-components/js/Header.stories.js diff --git a/code/lib/cli/frameworks/web-components/js/Page.js b/code/lib/cli/rendererAssets/web-components/js/Page.js similarity index 100% rename from code/lib/cli/frameworks/web-components/js/Page.js rename to code/lib/cli/rendererAssets/web-components/js/Page.js diff --git a/code/lib/cli/frameworks/web-components/js/Page.stories.js b/code/lib/cli/rendererAssets/web-components/js/Page.stories.js similarity index 100% rename from code/lib/cli/frameworks/web-components/js/Page.stories.js rename to code/lib/cli/rendererAssets/web-components/js/Page.stories.js diff --git a/code/lib/cli/frameworks/web-components/ts/Button.stories.ts b/code/lib/cli/rendererAssets/web-components/ts/Button.stories.ts similarity index 100% rename from code/lib/cli/frameworks/web-components/ts/Button.stories.ts rename to code/lib/cli/rendererAssets/web-components/ts/Button.stories.ts diff --git a/code/lib/cli/frameworks/web-components/ts/Button.ts b/code/lib/cli/rendererAssets/web-components/ts/Button.ts similarity index 100% rename from code/lib/cli/frameworks/web-components/ts/Button.ts rename to code/lib/cli/rendererAssets/web-components/ts/Button.ts diff --git a/code/lib/cli/frameworks/web-components/ts/Header.stories.ts b/code/lib/cli/rendererAssets/web-components/ts/Header.stories.ts similarity index 100% rename from code/lib/cli/frameworks/web-components/ts/Header.stories.ts rename to code/lib/cli/rendererAssets/web-components/ts/Header.stories.ts diff --git a/code/lib/cli/frameworks/web-components/ts/Header.ts b/code/lib/cli/rendererAssets/web-components/ts/Header.ts similarity index 100% rename from code/lib/cli/frameworks/web-components/ts/Header.ts rename to code/lib/cli/rendererAssets/web-components/ts/Header.ts diff --git a/code/lib/cli/frameworks/web-components/ts/Page.stories.ts b/code/lib/cli/rendererAssets/web-components/ts/Page.stories.ts similarity index 100% rename from code/lib/cli/frameworks/web-components/ts/Page.stories.ts rename to code/lib/cli/rendererAssets/web-components/ts/Page.stories.ts diff --git a/code/lib/cli/frameworks/web-components/ts/Page.ts b/code/lib/cli/rendererAssets/web-components/ts/Page.ts similarity index 100% rename from code/lib/cli/frameworks/web-components/ts/Page.ts rename to code/lib/cli/rendererAssets/web-components/ts/Page.ts diff --git a/code/lib/cli/src/.eslintrc.js b/code/lib/cli/src/.eslintrc.js index 5eff5c56025e..e52ac7f901d5 100644 --- a/code/lib/cli/src/.eslintrc.js +++ b/code/lib/cli/src/.eslintrc.js @@ -23,7 +23,7 @@ module.exports = { }, }, { - files: 'frameworks/**/*', + files: 'rendererAssets/**/*', env: { browser: true, }, diff --git a/code/lib/cli/src/automigrate/fixes/builder-vite.ts b/code/lib/cli/src/automigrate/fixes/builder-vite.ts index df264724180e..05d15aa1a36f 100644 --- a/code/lib/cli/src/automigrate/fixes/builder-vite.ts +++ b/code/lib/cli/src/automigrate/fixes/builder-vite.ts @@ -5,7 +5,7 @@ import { ConfigFile, readConfig, writeConfig } from '@storybook/csf-tools'; import { getStorybookInfo } from '@storybook/core-common'; import { Fix } from '../types'; -import { PackageJson, writePackageJson } from '../../js-package-manager'; +import { PackageJson } from '../../js-package-manager'; const logger = console; @@ -70,7 +70,7 @@ export const builderVite: Fix = { if (!dryRun) { delete dependencies['storybook-builder-vite']; delete devDependencies['storybook-builder-vite']; - writePackageJson(packageJson); + packageManager.writePackageJson(packageJson); } logger.info(`Adding '@storybook/builder-vite' as dev dependency`); diff --git a/code/lib/cli/src/automigrate/fixes/eslint-plugin.ts b/code/lib/cli/src/automigrate/fixes/eslint-plugin.ts index 668349594cc1..1a83c18c91b7 100644 --- a/code/lib/cli/src/automigrate/fixes/eslint-plugin.ts +++ b/code/lib/cli/src/automigrate/fixes/eslint-plugin.ts @@ -36,9 +36,8 @@ export const eslintPlugin: Fix = { return null; } - const config = getStorybookInfo(packageJson); + const { mainConfig } = getStorybookInfo(packageJson); - const { mainConfig } = config; if (!mainConfig) { logger.warn('Unable to find storybook main.js config, skipping'); return null; diff --git a/code/lib/cli/src/automigrate/fixes/mainjsFramework.ts b/code/lib/cli/src/automigrate/fixes/mainjsFramework.ts index 935f134367fd..9c48c9b58227 100644 --- a/code/lib/cli/src/automigrate/fixes/mainjsFramework.ts +++ b/code/lib/cli/src/automigrate/fixes/mainjsFramework.ts @@ -19,6 +19,8 @@ export const mainjsFramework: Fix = { async check({ packageManager }) { const packageJson = packageManager.retrievePackageJson(); + + // FIXME: use renderer in SB7? const { mainConfig, framework, version: storybookVersion } = getStorybookInfo(packageJson); if (!mainConfig) { diff --git a/code/lib/cli/src/automigrate/fixes/new-frameworks.test.ts b/code/lib/cli/src/automigrate/fixes/new-frameworks.test.ts index 482389d3bf8e..e0ec4dca05bc 100644 --- a/code/lib/cli/src/automigrate/fixes/new-frameworks.test.ts +++ b/code/lib/cli/src/automigrate/fixes/new-frameworks.test.ts @@ -84,14 +84,19 @@ describe('new-frameworks fix', () => { ).resolves.toBeFalsy(); }); - // TODO: once we have vite frameworks e.g. @storybook/react-vite, then we should remove this test - it('in sb 7 with vite', async () => { - const packageJson = { dependencies: { '@storybook/react': '^7.0.0' } }; + // TODO: once we have a @storybook/vue-vite framework, we should remove this test + it('in sb 7 with vue and vite', async () => { + const packageJson = { + dependencies: { + '@storybook/vue': '^7.0.0', + '@storybook/builder-vite': 'x.y.z', + }, + }; await expect( checkNewFrameworks({ packageJson, main: { - framework: '@storybook/react', + framework: '@storybook/vue', core: { builder: '@storybook/builder-vite', }, @@ -99,6 +104,27 @@ describe('new-frameworks fix', () => { }) ).resolves.toBeFalsy(); }); + + it('in sb 7 with vite < 3', async () => { + const packageJson = { + dependencies: { + '@storybook/react': '^7.0.0', + '@storybook/builder-vite': 'x.y.z', + vite: '^2.0.0', + }, + }; + await expect( + checkNewFrameworks({ + packageJson, + main: { + framework: '@storybook/react', + core: { + builder: '@storybook/builder-vite', + }, + }, + }) + ).rejects.toBeTruthy(); + }); }); describe('sb >= 7', () => { @@ -150,6 +176,7 @@ describe('new-frameworks fix', () => { }) ); }); + it('should update only builders in @storybook/angular', async () => { const packageJson = { dependencies: { @@ -193,37 +220,33 @@ describe('new-frameworks fix', () => { }) ); }); - }); - // TODO: enable this once Vite is supported - // eslint-disable-next-line jest/no-disabled-tests - it.skip('should update to @storybook/react-vite', async () => { - const packageJson = { - dependencies: { - '@storybook/react': '^7.0.0-alpha.0', - '@storybook/builder-vite': '^0.0.2', - }, - }; - await expect( - checkNewFrameworks({ - packageJson, - main: { - framework: '@storybook/react', - core: { - builder: '@storybook/builder-vite', - }, + it('should update to @storybook/react-vite', async () => { + const packageJson = { + dependencies: { + '@storybook/react': '^7.0.0-alpha.0', + '@storybook/builder-vite': '^0.0.2', + vite: '3.0.0', }, - }) - ).resolves.toEqual( - expect.objectContaining({ - dependenciesToAdd: '@storybook/react-vite', - dependenciesToRemove: [ - '@storybook/react', - 'storybook-builder-vite', - '@storybook/builder-vite', - ], - }) - ); + }; + await expect( + checkNewFrameworks({ + packageJson, + main: { + framework: '@storybook/react', + core: { + builder: '@storybook/builder-vite', + }, + }, + }) + ).resolves.toEqual( + expect.objectContaining({ + frameworkPackage: '@storybook/react-vite', + dependenciesToAdd: ['@storybook/react-vite'], + dependenciesToRemove: ['@storybook/builder-vite', '@storybook/react'], + }) + ); + }); }); }); }); diff --git a/code/lib/cli/src/automigrate/fixes/new-frameworks.ts b/code/lib/cli/src/automigrate/fixes/new-frameworks.ts index 24864113d31f..fae11338f7b4 100644 --- a/code/lib/cli/src/automigrate/fixes/new-frameworks.ts +++ b/code/lib/cli/src/automigrate/fixes/new-frameworks.ts @@ -10,7 +10,7 @@ import { getStorybookVersionSpecifier } from '../../helpers'; const logger = console; -const packagesMap = { +const packagesMap: Record = { '@storybook/react': { webpack5: '@storybook/react-webpack5', vite: '@storybook/react-vite', @@ -26,7 +26,8 @@ const packagesMap = { }, '@storybook/vue': { webpack5: '@storybook/vue-webpack5', - vite: '@storybook/vue-vite', + // TODO: bring this back if we ever want to support vue 2 + vite. Else delete this! + // vite: '@storybook/vue-vite', }, '@storybook/vue3': { webpack5: '@storybook/vue3-webpack5', @@ -34,6 +35,7 @@ const packagesMap = { }, '@storybook/svelte': { webpack5: '@storybook/svelte-webpack5', + // TODO: bring this back once we have the svelte-vite package vite: '@storybook/svelte-vite', }, '@storybook/web-components': { @@ -87,8 +89,8 @@ export const newFrameworks: Fix = { const packageJson = packageManager.retrievePackageJson(); const allDeps = { ...packageJson.dependencies, ...packageJson.devDependencies }; - const config = getStorybookInfo(packageJson); - const { mainConfig, version: storybookVersion, framework } = config; + // FIXME: update to use renderer instead of framework + const { mainConfig, version: storybookVersion, framework } = getStorybookInfo(packageJson); if (!mainConfig) { logger.warn('Unable to find storybook main.js config, skipping'); return null; @@ -127,9 +129,22 @@ export const newFrameworks: Fix = { options: main.getFieldValue(['core', 'builder', 'options']) || {}, } as const; - // TODO: once we have vite frameworks e.g. @storybook/react-vite, then we support it here - // and remove ['storybook-builder-vite', '@storybook/builder-vite'] from deps - if (builderInfo.name === 'vite') { + const newFrameworkPackage = packagesMap[frameworkPackage][builderInfo.name]; + + // not all frameworks support vite yet e.g. Svelte + if (!newFrameworkPackage) { + return null; + } + + if (allDeps.vite && semver.lt(semver.coerce(allDeps.vite).version, '3.0.0')) { + logger.warn(dedent` + ❌ Detected Vite ${ + allDeps.vite + }, which is unsupported in Storybook 7.0, so the ${chalk.cyan( + 'newFrameworks' + )} fix will be skipped. + Please upgrade vite to 3.0.0 or higher and rerun this automigration with "npx storybook@future automigrate". + `); return null; } @@ -140,9 +155,10 @@ export const newFrameworks: Fix = { '@storybook/manager-webpack5', '@storybook/builder-webpack4', '@storybook/manager-webpack4', + '@storybook/builder-vite', + 'storybook-builder-vite', ].filter((dep) => allDeps[dep]); - const newFrameworkPackage = packagesMap[frameworkPackage][builderInfo.name]; const dependenciesToAdd = []; // some frameworks didn't change e.g. Angular, Ember diff --git a/code/lib/cli/src/detect.test.ts b/code/lib/cli/src/detect.test.ts index 9d83e30be6bb..6caf23f682e3 100644 --- a/code/lib/cli/src/detect.test.ts +++ b/code/lib/cli/src/detect.test.ts @@ -275,22 +275,23 @@ const MOCK_FRAMEWORK_FILES: { describe('Detect', () => { it(`should return type HTML if html option is passed`, () => { (readPackageJson as jest.Mock).mockImplementation(() => true); - expect(detect({ html: true })).toBe(ProjectType.HTML); + expect(detect({ dependencies: {} }, { html: true })).toBe(ProjectType.HTML); }); it(`should return type UNDETECTED if neither packageJson or bowerJson exist`, () => { (readPackageJson as jest.Mock).mockImplementation(() => false); (getBowerJson as jest.Mock).mockImplementation(() => false); - expect(detect()).toBe(ProjectType.UNDETECTED); + expect(detect(undefined)).toBe(ProjectType.UNDETECTED); }); it(`should return language typescript if the dependency is present`, () => { - (readPackageJson as jest.Mock).mockImplementation(() => ({ - dependencies: { - typescript: '1.0.0', - }, - })); - expect(detectLanguage()).toBe(SupportedLanguage.TYPESCRIPT); + expect( + detectLanguage({ + dependencies: { + typescript: '1.0.0', + }, + }) + ).toBe(SupportedLanguage.TYPESCRIPT); }); it(`should return language javascript by default`, () => { diff --git a/code/lib/cli/src/detect.ts b/code/lib/cli/src/detect.ts index d6b5269db697..cf207cc08130 100644 --- a/code/lib/cli/src/detect.ts +++ b/code/lib/cli/src/detect.ts @@ -13,12 +13,7 @@ import { CoreBuilder, } from './project_types'; import { getBowerJson, paddedLog } from './helpers'; -import { - PackageJson, - readPackageJson, - JsPackageManager, - PackageJsonWithMaybeDeps, -} from './js-package-manager'; +import { PackageJson, JsPackageManager, PackageJsonWithMaybeDeps } from './js-package-manager'; import { detectNextJS } from './detect-nextjs'; const viteConfigFiles = ['vite.config.ts', 'vite.config.js', 'vite.config.mjs']; @@ -153,14 +148,9 @@ export function isStorybookInstalled( return false; } -export function detectLanguage() { +export function detectLanguage(packageJson?: PackageJson) { let language = SupportedLanguage.JAVASCRIPT; - let packageJson; - try { - packageJson = readPackageJson(); - } catch (err) { - // - } + const bowerJson = getBowerJson(); if (!packageJson && !bowerJson) { return language; @@ -173,13 +163,10 @@ export function detectLanguage() { return language; } -export function detect(options: { force?: boolean; html?: boolean } = {}) { - let packageJson; - try { - packageJson = readPackageJson(); - } catch (err) { - // - } +export function detect( + packageJson: PackageJson, + options: { force?: boolean; html?: boolean } = {} +) { const bowerJson = getBowerJson(); if (!packageJson && !bowerJson) { diff --git a/code/lib/cli/src/generators/PREACT/index.ts b/code/lib/cli/src/generators/PREACT/index.ts index 2144c8f4d0f6..432060fe1dd2 100644 --- a/code/lib/cli/src/generators/PREACT/index.ts +++ b/code/lib/cli/src/generators/PREACT/index.ts @@ -2,9 +2,7 @@ import { baseGenerator } from '../baseGenerator'; import { Generator } from '../types'; const generator: Generator = async (packageManager, npmOptions, options) => { - await baseGenerator(packageManager, npmOptions, options, 'preact', { - extraPackages: ['core-js'], - }); + await baseGenerator(packageManager, npmOptions, options, 'preact'); }; export default generator; diff --git a/code/lib/cli/src/generators/RAX/index.ts b/code/lib/cli/src/generators/RAX/index.ts index 82230e673a20..02ce74816455 100644 --- a/code/lib/cli/src/generators/RAX/index.ts +++ b/code/lib/cli/src/generators/RAX/index.ts @@ -1,6 +1,5 @@ import { baseGenerator } from '../baseGenerator'; import { Generator } from '../types'; -import { writePackageJson } from '../../js-package-manager'; const generator: Generator = async (packageManager, npmOptions, options) => { const [latestRaxVersion] = await packageManager.getVersions('rax'); @@ -17,7 +16,7 @@ const generator: Generator = async (packageManager, npmOptions, options) => { packageJson.dependencies['rax-text'] = packageJson.dependencies['rax-text'] || raxVersion; packageJson.dependencies['rax-view'] = packageJson.dependencies['rax-view'] || raxVersion; - writePackageJson(packageJson); + packageManager.writePackageJson(packageJson); await baseGenerator(packageManager, npmOptions, options, 'rax', { extraPackages: ['rax'], diff --git a/code/lib/cli/src/generators/baseGenerator.ts b/code/lib/cli/src/generators/baseGenerator.ts index d87e1b919fdc..910bbf64a720 100644 --- a/code/lib/cli/src/generators/baseGenerator.ts +++ b/code/lib/cli/src/generators/baseGenerator.ts @@ -51,6 +51,7 @@ const getFrameworkDetails = ( builder?: string; framework?: string; renderer?: string; + rendererId: SupportedRenderers; } => { const frameworkPackage = `@storybook/${renderer}-${builder}`; const frameworkPackagePath = pnp ? wrapForPnp(frameworkPackage) : frameworkPackage; @@ -68,6 +69,7 @@ const getFrameworkDetails = ( return { packages: [rendererPackage], framework: rendererPackagePath, + rendererId: 'angular', type: 'framework', }; } @@ -76,6 +78,7 @@ const getFrameworkDetails = ( return { packages: [frameworkPackage], framework: frameworkPackagePath, + rendererId: renderer, type: 'framework', }; } @@ -85,6 +88,7 @@ const getFrameworkDetails = ( packages: [rendererPackage, builderPackage], builder: builderPackagePath, renderer: rendererPackagePath, + rendererId: renderer, type: 'renderer', }; } @@ -96,8 +100,8 @@ const getFrameworkDetails = ( const stripVersions = (addons: string[]) => addons.map((addon) => getPackageDetails(addon)[0]); -const hasInteractiveStories = (framework: SupportedRenderers) => - ['react', 'angular', 'preact', 'svelte', 'vue', 'vue3', 'html'].includes(framework); +const hasInteractiveStories = (rendererId: SupportedRenderers) => + ['react', 'angular', 'preact', 'svelte', 'vue', 'vue3', 'html'].includes(rendererId); export async function baseGenerator( packageManager: JsPackageManager, @@ -121,6 +125,15 @@ export async function baseGenerator( ...options, }; + const { + packages: frameworkPackages, + type, + renderer: rendererInclude, // deepscan-disable-line UNUSED_DECL + rendererId, + framework: frameworkInclude, + builder: builderInclude, + } = getFrameworkDetails(renderer, builder, pnp); + // added to main.js const addons = [ '@storybook/addon-links', @@ -134,7 +147,7 @@ export async function baseGenerator( ...extraAddonPackages, ]; - if (hasInteractiveStories(renderer)) { + if (hasInteractiveStories(rendererId)) { addons.push('@storybook/addon-interactions'); addonPackages.push('@storybook/addon-interactions', '@storybook/testing-library'); } @@ -148,14 +161,6 @@ export async function baseGenerator( const installedDependencies = new Set( Object.keys({ ...packageJson.dependencies, ...packageJson.devDependencies }) ); - const { - packages: frameworkPackages, - type, - // @ts-ignore - renderer: rendererInclude, // deepscan-disable-line UNUSED_DECL - framework: frameworkInclude, - builder: builderInclude, - } = getFrameworkDetails(renderer, builder, pnp); // TODO: We need to start supporting this at some point if (type === 'renderer') { @@ -170,6 +175,7 @@ export async function baseGenerator( const packages = [ 'storybook', + `@storybook/${renderer}`, ...frameworkPackages, ...addonPackages, ...extraPackages, @@ -202,11 +208,11 @@ export async function baseGenerator( await configurePreview(renderer, options.commonJs); if (addComponents) { - copyComponents(renderer, language); + await copyComponents(renderer, language); } // FIXME: temporary workaround for https://github.com/storybookjs/storybook/issues/17516 - if (frameworkPackages.includes('@storybook/builder-vite')) { + if (frameworkPackages.find((pkg) => pkg.match(/^@storybook\/.*-vite$/))) { const previewHead = dedent` + + diff --git a/code/renderers/svelte/template/components/button.css b/code/renderers/svelte/template/components/button.css new file mode 100644 index 000000000000..dc91dc76370b --- /dev/null +++ b/code/renderers/svelte/template/components/button.css @@ -0,0 +1,30 @@ +.storybook-button { + font-family: 'Nunito Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; + font-weight: 700; + border: 0; + border-radius: 3em; + cursor: pointer; + display: inline-block; + line-height: 1; +} +.storybook-button--primary { + color: white; + background-color: #1ea7fd; +} +.storybook-button--secondary { + color: #333; + background-color: transparent; + box-shadow: rgba(0, 0, 0, 0.15) 0px 0px 0px 1px inset; +} +.storybook-button--small { + font-size: 12px; + padding: 10px 16px; +} +.storybook-button--medium { + font-size: 14px; + padding: 11px 20px; +} +.storybook-button--large { + font-size: 16px; + padding: 12px 24px; +} diff --git a/code/renderers/svelte/template/components/index.js b/code/renderers/svelte/template/components/index.js new file mode 100644 index 000000000000..d2e5d492126f --- /dev/null +++ b/code/renderers/svelte/template/components/index.js @@ -0,0 +1,5 @@ +import globalThis from 'global'; + +import Button from './Button.svelte'; + +globalThis.Components = { Button }; diff --git a/code/renderers/vue/package.json b/code/renderers/vue/package.json index 651c6c2afbc1..f947d0f01e11 100644 --- a/code/renderers/vue/package.json +++ b/code/renderers/vue/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/vue", - "version": "7.0.0-alpha.20", + "version": "7.0.0-alpha.31", "description": "Storybook Vue renderer", "keywords": [ "storybook" @@ -47,16 +47,15 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/addons": "7.0.0-alpha.20", - "@storybook/client-logger": "7.0.0-alpha.20", - "@storybook/core-client": "7.0.0-alpha.20", + "@storybook/addons": "7.0.0-alpha.31", + "@storybook/client-logger": "7.0.0-alpha.31", + "@storybook/core-client": "7.0.0-alpha.31", "@storybook/csf": "0.0.2--canary.0899bb7.0", - "@storybook/docs-tools": "7.0.0-alpha.20", - "@storybook/store": "7.0.0-alpha.20", - "core-js": "^3.8.2", + "@storybook/docs-tools": "7.0.0-alpha.31", + "@storybook/store": "7.0.0-alpha.31", "global": "^4.4.0", "react": "16.14.0", "react-dom": "16.14.0", @@ -85,5 +84,5 @@ ], "platform": "browser" }, - "gitHead": "a6c00d2ebed21da54b4772b4a4f7fed9258f0ab4" + "gitHead": "02c013c33186479017098d532a18ff8654b91f1f" } diff --git a/code/renderers/vue/src/decorateStory.ts b/code/renderers/vue/src/decorateStory.ts index 735cc1b0c118..9ef7a2d34be9 100644 --- a/code/renderers/vue/src/decorateStory.ts +++ b/code/renderers/vue/src/decorateStory.ts @@ -22,22 +22,22 @@ function prepare( return null; } - // @ts-ignore + // @ts-expect-error (Converted from ts-ignore) // eslint-disable-next-line no-underscore-dangle if (!story._isVue) { if (innerStory) { story.components = { ...(story.components || {}), story: innerStory }; } story = Vue.extend(story); - // @ts-ignore // https://github.com/storybookjs/storybook/pull/7578#discussion_r307984824 + // @ts-expect-error // https://github.com/storybookjs/storybook/pull/7578#discussion_r307984824 } else if (story.options[WRAPS]) { return story as VueConstructor; } return Vue.extend({ - // @ts-ignore // https://github.com/storybookjs/storybook/pull/7578#discussion_r307985279 + // @ts-expect-error // https://github.com/storybookjs/storybook/pull/7578#discussion_r307985279 [WRAPS]: story, - // @ts-ignore // https://github.com/storybookjs/storybook/pull/7578#discussion_r307984824 + // @ts-expect-error // https://github.com/storybookjs/storybook/pull/7578#discussion_r307984824 [VALUES]: { ...(innerStory ? innerStory.options[VALUES] : {}), ...extractProps(story) }, functional: true, render(h, { data, parent, children }) { @@ -45,7 +45,7 @@ function prepare( story, { ...data, - // @ts-ignore // https://github.com/storybookjs/storybook/pull/7578#discussion_r307986196 + // @ts-expect-error // https://github.com/storybookjs/storybook/pull/7578#discussion_r307986196 props: { ...(data.props || {}), ...parent.$root[VALUES] }, }, children diff --git a/code/renderers/vue/src/docs/extractArgTypes.ts b/code/renderers/vue/src/docs/extractArgTypes.ts index d2838be75cd9..509b1439d3a4 100644 --- a/code/renderers/vue/src/docs/extractArgTypes.ts +++ b/code/renderers/vue/src/docs/extractArgTypes.ts @@ -11,7 +11,7 @@ const SECTIONS = ['props', 'events', 'slots', 'methods']; function isEnum(propDef: PropDef, docgenInfo: DocgenInfo): false | PropDef { // cast as any, since "values" doesn't exist in DocgenInfo type const { type, values } = docgenInfo as any; - const matched = Array.isArray(values) && values.length && type?.name !== 'enum'; + const matched = Array.isArray(values) && values.length && type?.name === 'enum'; if (!matched) { return false; diff --git a/code/renderers/vue/src/globals.ts b/code/renderers/vue/src/globals.ts index 59cd596fcbee..e80d65427f47 100644 --- a/code/renderers/vue/src/globals.ts +++ b/code/renderers/vue/src/globals.ts @@ -1,4 +1,4 @@ -// @ts-ignore +// @ts-expect-error (Converted from ts-ignore) import global from 'global'; const { window: globalWindow } = global; diff --git a/code/renderers/vue/src/render.ts b/code/renderers/vue/src/render.ts index b44e14d34a20..22fec5d8bdbf 100644 --- a/code/renderers/vue/src/render.ts +++ b/code/renderers/vue/src/render.ts @@ -32,21 +32,17 @@ const getRoot = (domElement: Element): Instance => { }, data() { return { - // @ts-ignore [COMPONENT]: undefined, [VALUES]: {}, }; }, - // @ts-ignore render(h) { - // @ts-ignore map.set(domElement, instance); const children = this[COMPONENT] ? [h(this[COMPONENT])] : undefined; - return h('div', { attrs: { id: 'root' } }, children); + return h('div', { attrs: { id: 'storybook-root' } }, children); }, }); - // @ts-ignore return instance; }; @@ -67,8 +63,7 @@ export const render: ArgsStoryFn = (props, context) => { // if there is a name property, we either use it or preprend with sb- in case it's an invalid name if (component.name) { - // eslint-disable-next-line @typescript-eslint/ban-ts-comment - // @ts-ignore isReservedTag is an internal function from Vue, might be changed in future releases + // @ts-expect-error isReservedTag is an internal function from Vue, might be changed in future releases const isReservedTag = Vue.config.isReservedTag && Vue.config.isReservedTag(component.name); componentName = isReservedTag ? `sb-${component.name}` : component.name; @@ -117,7 +112,7 @@ export function renderToDOM( root[COMPONENT] = element; } - // @ts-ignore https://github.com/storybookjs/storrybook/pull/7578#discussion_r307986139 + // @ts-expect-error https://github.com/storybookjs/storrybook/pull/7578#discussion_r307986139 root[VALUES] = { ...element.options[VALUES], ...args }; if (!map.has(domElement)) { diff --git a/code/renderers/vue/src/util.ts b/code/renderers/vue/src/util.ts index 91fa05edabf8..1ef5ac83b39f 100644 --- a/code/renderers/vue/src/util.ts +++ b/code/renderers/vue/src/util.ts @@ -17,7 +17,7 @@ function resolveDefault({ type, default: def }: any) { } export function extractProps(component: VueConstructor) { - // @ts-ignore this options business seems not good according to the types + // @ts-expect-error this options business seems not good according to the types return Object.entries(component.options.props || {}) .map(([name, prop]) => ({ [name]: resolveDefault(prop) })) .reduce((wrap, prop) => ({ ...wrap, ...prop }), {}); diff --git a/code/renderers/vue3/package.json b/code/renderers/vue3/package.json index f772b2f25f5f..c123bfc44e91 100644 --- a/code/renderers/vue3/package.json +++ b/code/renderers/vue3/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/vue3", - "version": "7.0.0-alpha.20", + "version": "7.0.0-alpha.31", "description": "Storybook Vue 3 renderer", "keywords": [ "storybook" @@ -40,7 +40,6 @@ "module": "dist/index.mjs", "types": "dist/index.d.ts", "files": [ - "bin/**/*", "dist/**/*", "README.md", "*.js", @@ -48,15 +47,14 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/addons": "7.0.0-alpha.20", - "@storybook/core-client": "7.0.0-alpha.20", + "@storybook/addons": "7.0.0-alpha.31", + "@storybook/core-client": "7.0.0-alpha.31", "@storybook/csf": "0.0.2--canary.0899bb7.0", - "@storybook/docs-tools": "7.0.0-alpha.20", - "@storybook/store": "7.0.0-alpha.20", - "core-js": "^3.8.2", + "@storybook/docs-tools": "7.0.0-alpha.31", + "@storybook/store": "7.0.0-alpha.31", "global": "^4.4.0", "react": "16.14.0", "react-dom": "16.14.0", @@ -65,7 +63,7 @@ "devDependencies": { "@digitak/esrun": "^3.2.2", "typescript": "~4.6.3", - "vue": "3.0.0" + "vue": "^3.0.0" }, "peerDependencies": { "@babel/core": "*", @@ -85,5 +83,5 @@ ], "platform": "browser" }, - "gitHead": "a6c00d2ebed21da54b4772b4a4f7fed9258f0ab4" + "gitHead": "02c013c33186479017098d532a18ff8654b91f1f" } diff --git a/code/renderers/vue3/preview.js b/code/renderers/vue3/preview.js index fe48d8883ba4..f00f03b4e2e4 100644 --- a/code/renderers/vue3/preview.js +++ b/code/renderers/vue3/preview.js @@ -1 +1 @@ -export * from './dist/config'; +export * from './dist/config.mjs'; diff --git a/code/renderers/vue3/src/globals.ts b/code/renderers/vue3/src/globals.ts index 2e6bd7ad85df..ab2c948bafd1 100644 --- a/code/renderers/vue3/src/globals.ts +++ b/code/renderers/vue3/src/globals.ts @@ -1,4 +1,4 @@ -// @ts-ignore +// @ts-expect-error (Converted from ts-ignore) import global from 'global'; const { window: globalWindow } = global; diff --git a/code/renderers/vue3/src/render.ts b/code/renderers/vue3/src/render.ts index 94e1158583ec..f6e08da07c64 100644 --- a/code/renderers/vue3/src/render.ts +++ b/code/renderers/vue3/src/render.ts @@ -57,7 +57,7 @@ export function renderToDOM( showMain(); if (map.has(domElement)) { - map.get(domElement).unmount(domElement); + map.get(domElement).unmount(); } storybookApp.mount(domElement); diff --git a/code/renderers/vue3/template/components/Button.vue b/code/renderers/vue3/template/components/Button.vue new file mode 100644 index 000000000000..b35d40db56b3 --- /dev/null +++ b/code/renderers/vue3/template/components/Button.vue @@ -0,0 +1,52 @@ + + + diff --git a/code/renderers/vue3/template/components/button.css b/code/renderers/vue3/template/components/button.css new file mode 100644 index 000000000000..dc91dc76370b --- /dev/null +++ b/code/renderers/vue3/template/components/button.css @@ -0,0 +1,30 @@ +.storybook-button { + font-family: 'Nunito Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; + font-weight: 700; + border: 0; + border-radius: 3em; + cursor: pointer; + display: inline-block; + line-height: 1; +} +.storybook-button--primary { + color: white; + background-color: #1ea7fd; +} +.storybook-button--secondary { + color: #333; + background-color: transparent; + box-shadow: rgba(0, 0, 0, 0.15) 0px 0px 0px 1px inset; +} +.storybook-button--small { + font-size: 12px; + padding: 10px 16px; +} +.storybook-button--medium { + font-size: 14px; + padding: 11px 20px; +} +.storybook-button--large { + font-size: 16px; + padding: 12px 24px; +} diff --git a/code/renderers/vue3/template/components/index.js b/code/renderers/vue3/template/components/index.js new file mode 100644 index 000000000000..bcf11c4fef18 --- /dev/null +++ b/code/renderers/vue3/template/components/index.js @@ -0,0 +1,5 @@ +import globalThis from 'global'; + +import Button from './Button.vue'; + +globalThis.Components = { Button }; diff --git a/code/renderers/web-components/package.json b/code/renderers/web-components/package.json index 3d7db15f728f..3cf434f2452a 100644 --- a/code/renderers/web-components/package.json +++ b/code/renderers/web-components/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/web-components", - "version": "7.0.0-alpha.20", + "version": "7.0.0-alpha.31", "description": "Storybook web-components renderer", "keywords": [ "lit-html", @@ -49,18 +49,17 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "../../../scripts/prepare/bundle.ts" + "prep": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@storybook/addons": "7.0.0-alpha.20", - "@storybook/api": "7.0.0-alpha.20", - "@storybook/client-logger": "7.0.0-alpha.20", - "@storybook/core-client": "7.0.0-alpha.20", + "@storybook/addons": "7.0.0-alpha.31", + "@storybook/api": "7.0.0-alpha.31", + "@storybook/client-logger": "7.0.0-alpha.31", + "@storybook/core-client": "7.0.0-alpha.31", "@storybook/csf": "0.0.2--canary.0899bb7.0", - "@storybook/docs-tools": "7.0.0-alpha.20", - "@storybook/preview-web": "7.0.0-alpha.20", - "@storybook/store": "7.0.0-alpha.20", - "core-js": "^3.8.2", + "@storybook/docs-tools": "7.0.0-alpha.31", + "@storybook/preview-web": "7.0.0-alpha.31", + "@storybook/store": "7.0.0-alpha.31", "global": "^4.4.0", "react": "16.14.0", "react-dom": "16.14.0", @@ -86,5 +85,5 @@ ], "platform": "browser" }, - "gitHead": "a6c00d2ebed21da54b4772b4a4f7fed9258f0ab4" + "gitHead": "02c013c33186479017098d532a18ff8654b91f1f" } diff --git a/code/renderers/web-components/src/docs/__testfixtures__/lit-element-demo-card/input.js b/code/renderers/web-components/src/docs/__testfixtures__/lit-element-demo-card/input.js index 2856e5980397..c6b473069c87 100644 --- a/code/renderers/web-components/src/docs/__testfixtures__/lit-element-demo-card/input.js +++ b/code/renderers/web-components/src/docs/__testfixtures__/lit-element-demo-card/input.js @@ -1,5 +1,5 @@ /* eslint-disable import/no-unresolved */ -// @ts-ignore +// @ts-expect-error (Converted from ts-ignore) import global from 'global'; import { LitElement, html, css } from 'lit-element'; diff --git a/code/renderers/web-components/src/docs/custom-elements.test.ts b/code/renderers/web-components/src/docs/custom-elements.test.ts index 6f28b30dbc46..89bcc338473a 100644 --- a/code/renderers/web-components/src/docs/custom-elements.test.ts +++ b/code/renderers/web-components/src/docs/custom-elements.test.ts @@ -1,5 +1,5 @@ /* eslint-disable no-underscore-dangle */ -// @ts-ignore +// @ts-expect-error (Converted from ts-ignore) import global from 'global'; import { extractArgTypes } from './custom-elements'; diff --git a/code/renderers/web-components/src/framework-api.ts b/code/renderers/web-components/src/framework-api.ts index a72b94cbcef2..3f1d6c37385a 100644 --- a/code/renderers/web-components/src/framework-api.ts +++ b/code/renderers/web-components/src/framework-api.ts @@ -30,16 +30,16 @@ export function isValidMetaData(customElements: any) { * @param customElements any for now as spec is not super stable yet */ export function setCustomElements(customElements: any) { - // @ts-ignore + // @ts-expect-error (Converted from ts-ignore) window.__STORYBOOK_CUSTOM_ELEMENTS__ = customElements; } export function setCustomElementsManifest(customElements: any) { - // @ts-ignore + // @ts-expect-error (Converted from ts-ignore) window.__STORYBOOK_CUSTOM_ELEMENTS_MANIFEST__ = customElements; } export function getCustomElements() { - // @ts-ignore + // @ts-expect-error (Converted from ts-ignore) return window.__STORYBOOK_CUSTOM_ELEMENTS__ || window.__STORYBOOK_CUSTOM_ELEMENTS_MANIFEST__; } diff --git a/code/renderers/web-components/src/globals.ts b/code/renderers/web-components/src/globals.ts index 4fcf455937c1..30001b894cf2 100644 --- a/code/renderers/web-components/src/globals.ts +++ b/code/renderers/web-components/src/globals.ts @@ -1,4 +1,4 @@ -// @ts-ignore +// @ts-expect-error (Converted from ts-ignore) import global from 'global'; const { window: globalWindow } = global; diff --git a/code/renderers/web-components/src/index.ts b/code/renderers/web-components/src/index.ts index 85a17dca3663..e0a88fea3b48 100644 --- a/code/renderers/web-components/src/index.ts +++ b/code/renderers/web-components/src/index.ts @@ -1,4 +1,4 @@ -// @ts-ignore +// @ts-expect-error (Converted from ts-ignore) import global from 'global'; const { window, EventSource } = global; diff --git a/code/renderers/web-components/src/render.ts b/code/renderers/web-components/src/render.ts index 795706a972c5..8347d2002397 100644 --- a/code/renderers/web-components/src/render.ts +++ b/code/renderers/web-components/src/render.ts @@ -1,5 +1,5 @@ /* eslint-disable no-param-reassign */ -// @ts-ignore +// @ts-expect-error (Converted from ts-ignore) import global from 'global'; import { dedent } from 'ts-dedent'; diff --git a/code/workspace.json b/code/workspace.json index f5f67f24ee49..54ce50462e8e 100644 --- a/code/workspace.json +++ b/code/workspace.json @@ -1,118 +1,495 @@ { "version": 2, "projects": { - "@storybook/addon-a11y": { "root": "addons/a11y", "type": "library" }, - "@storybook/addon-actions": { "root": "addons/actions", "type": "library" }, - "@storybook/addon-backgrounds": { "root": "addons/backgrounds", "type": "library" }, - "@storybook/addon-controls": { "root": "addons/controls", "type": "library" }, - "@storybook/addon-docs": { "root": "addons/docs", "type": "library" }, - "@storybook/addon-essentials": { "root": "addons/essentials", "type": "library" }, - "@storybook/addon-highlight": { "root": "addons/highlight", "type": "library" }, - "@storybook/addon-interactions": { "root": "addons/interactions", "type": "library" }, - "@storybook/addon-jest": { "root": "addons/jest", "type": "library" }, - "@storybook/addon-links": { "root": "addons/links", "type": "library" }, - "@storybook/addon-measure": { "root": "addons/measure", "type": "library" }, - "@storybook/addon-outline": { "root": "addons/outline", "type": "library" }, + "@storybook/addon-a11y": { + "root": "addons/a11y", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/addon-actions": { + "root": "addons/actions", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/addon-backgrounds": { + "root": "addons/backgrounds", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/addon-controls": { + "root": "addons/controls", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/addon-docs": { + "root": "addons/docs", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/addon-essentials": { + "root": "addons/essentials", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/addon-highlight": { + "root": "addons/highlight", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/addon-interactions": { + "root": "addons/interactions", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/addon-jest": { + "root": "addons/jest", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/addon-links": { + "root": "addons/links", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/addon-measure": { + "root": "addons/measure", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/addon-outline": { + "root": "addons/outline", + "type": "library", + "implicitDependencies": [] + }, "@storybook/addon-storyshots": { "root": "addons/storyshots/storyshots-core", - "type": "library" + "type": "library", + "implicitDependencies": [] }, "@storybook/addon-storyshots-puppeteer": { "root": "addons/storyshots/storyshots-puppeteer", - "type": "library" - }, - "@storybook/addon-storysource": { "root": "addons/storysource", "type": "library" }, - "@storybook/addon-toolbars": { "root": "addons/toolbars", "type": "library" }, - "@storybook/addon-viewport": { "root": "addons/viewport", "type": "library" }, - - "@storybook/angular": { "root": "frameworks/angular", "type": "library" }, - "@storybook/docs-tools": { "root": "lib/docs-tools", "type": "library" }, - "@storybook/ember": { "root": "frameworks/ember", "type": "library" }, - "@storybook/html-webpack5": { "root": "frameworks/html-webpack5", "type": "library" }, - "@storybook/builder-manager": { "root": "lib/builder-manager", "type": "library" }, - "@storybook/preact-webpack5": { "root": "frameworks/preact-webpack5", "type": "library" }, - "@storybook/react-webpack5": { "root": "frameworks/react-webpack5", "type": "library" }, - "@storybook/server-webpack5": { "root": "frameworks/server-webpack5", "type": "library" }, - "@storybook/svelte-webpack5": { "root": "frameworks/svelte-webpack5", "type": "library" }, - "@storybook/vue-webpack5": { "root": "frameworks/vue-webpack5", "type": "library" }, - "@storybook/vue3-webpack5": { "root": "frameworks/vue3-webpack5", "type": "library" }, + "type": "library", + "implicitDependencies": [] + }, + "@storybook/addon-storysource": { + "root": "addons/storysource", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/addon-toolbars": { + "root": "addons/toolbars", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/addon-viewport": { + "root": "addons/viewport", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/addons": { + "root": "lib/addons", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/angular": { + "root": "frameworks/angular", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/api": { + "root": "lib/api", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/blocks": { + "root": "lib/blocks", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/builder-manager": { + "root": "lib/builder-manager", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/builder-vite": { + "root": "lib/builder-vite", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/builder-webpack5": { + "root": "lib/builder-webpack5", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/channel-postmessage": { + "root": "lib/channel-postmessage", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/channel-websocket": { + "root": "lib/channel-websocket", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/channels": { + "root": "lib/channels", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/cli": { + "root": "lib/cli", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/client-api": { + "root": "lib/client-api", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/client-logger": { + "root": "lib/client-logger", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/codemod": { + "root": "lib/codemod", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/components": { + "root": "lib/components", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/core-client": { + "root": "lib/core-client", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/core-common": { + "root": "lib/core-common", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/core-events": { + "root": "lib/core-events", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/core-server": { + "root": "lib/core-server", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/core-vite": { + "root": "lib/core-vite", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/core-webpack": { + "root": "lib/core-webpack", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/csf-tools": { + "root": "lib/csf-tools", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/docs-tools": { + "root": "lib/docs-tools", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/ember": { + "root": "frameworks/ember", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/example-doc-blocks": { + "root": "examples/doc-blocks", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/example-react-ts": { + "root": "examples/react-ts", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/external-docs": { + "root": "examples/external-docs", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/html": { + "root": "renderers/html", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/html-webpack5": { + "root": "frameworks/html-webpack5", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/instrumenter": { + "root": "lib/instrumenter", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/node-logger": { + "root": "lib/node-logger", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/postinstall": { + "root": "lib/postinstall", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/preact": { + "root": "renderers/preact", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/preact-webpack5": { + "root": "frameworks/preact-webpack5", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/preset-html-webpack": { + "root": "presets/html-webpack", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/preset-preact-webpack": { + "root": "presets/preact-webpack", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/preset-react-webpack": { + "root": "presets/react-webpack", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/preset-server-webpack": { + "root": "presets/server-webpack", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/preset-svelte-webpack": { + "root": "presets/svelte-webpack", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/preset-vue-webpack": { + "root": "presets/vue-webpack", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/preset-vue3-webpack": { + "root": "presets/vue3-webpack", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/preset-web-components-webpack": { + "root": "presets/web-components-webpack", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/preview-web": { + "root": "lib/preview-web", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/react": { + "root": "renderers/react", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/react-vite": { + "root": "frameworks/react-vite", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/react-webpack5": { + "root": "frameworks/react-webpack5", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/router": { + "root": "lib/router", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/server": { + "root": "renderers/server", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/server-webpack5": { + "root": "frameworks/server-webpack5", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/source-loader": { + "root": "lib/source-loader", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/store": { + "root": "lib/store", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/svelte": { + "root": "renderers/svelte", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/svelte-vite": { + "root": "frameworks/svelte-vite", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/svelte-webpack5": { + "root": "frameworks/svelte-webpack5", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/telemetry": { + "root": "lib/telemetry", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/theming": { + "root": "lib/theming", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/ui": { + "root": "lib/ui", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/vue": { + "root": "renderers/vue", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/vue-webpack5": { + "root": "frameworks/vue-webpack5", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/vue3": { + "root": "renderers/vue3", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/vue3-vite": { + "root": "frameworks/vue3-vite", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/vue3-webpack5": { + "root": "frameworks/vue3-webpack5", + "type": "library", + "implicitDependencies": [] + }, + "@storybook/web-components": { + "root": "renderers/web-components", + "type": "library", + "implicitDependencies": [] + }, "@storybook/web-components-webpack5": { "root": "frameworks/web-components-webpack5", - "type": "library" - }, - "@storybook/core-webpack": { "root": "lib/core-webpack", "type": "library" }, - - "angular-cli": { "root": "examples/angular-cli", "type": "library" }, - "cra-kitchen-sink": { "root": "examples/cra-kitchen-sink", "type": "library" }, - "cra-ts-essentials": { "root": "examples/cra-ts-essentials", "type": "library" }, - "cra-ts-kitchen-sink": { "root": "examples/cra-ts-kitchen-sink", "type": "library" }, - "ember-example": { "root": "examples/ember-cli", "type": "library" }, - "html-kitchen-sink": { "root": "examples/html-kitchen-sink", "type": "library" }, - "official-storybook": { "root": "examples/official-storybook", "type": "library" }, - "preact-example": { "root": "examples/preact-kitchen-sink", "type": "library" }, - "@storybook/example-react-ts": { "root": "examples/react-ts", "type": "library" }, - "server-kitchen-sink": { "root": "examples/server-kitchen-sink", "type": "library" }, - "standalone-preview": { "root": "examples/standalone-preview", "type": "library" }, - "svelte-example": { "root": "examples/svelte-kitchen-sink", "type": "library" }, - "vue-3-cli-example": { "root": "examples/vue-3-cli", "type": "library" }, - "vue-cli-example": { "root": "examples/vue-cli", "type": "library" }, - "vue-example": { "root": "examples/vue-kitchen-sink", "type": "library" }, + "type": "library", + "implicitDependencies": [] + }, + "angular-cli": { + "root": "examples/angular-cli", + "type": "library", + "implicitDependencies": [] + }, + "cra-kitchen-sink": { + "root": "examples/cra-kitchen-sink", + "type": "library", + "implicitDependencies": [] + }, + "cra-ts-essentials": { + "root": "examples/cra-ts-essentials", + "type": "library", + "implicitDependencies": [] + }, + "cra-ts-kitchen-sink": { + "root": "examples/cra-ts-kitchen-sink", + "type": "library", + "implicitDependencies": [] + }, + "ember-example": { + "root": "examples/ember-cli", + "type": "library", + "implicitDependencies": [] + }, + "html-kitchen-sink": { + "root": "examples/html-kitchen-sink", + "type": "library", + "implicitDependencies": [] + }, + "official-storybook": { + "root": "examples/official-storybook", + "type": "library", + "implicitDependencies": [] + }, + "preact-example": { + "root": "examples/preact-kitchen-sink", + "type": "library", + "implicitDependencies": [] + }, + "sb": { + "root": "lib/cli-sb", + "type": "library", + "implicitDependencies": [] + }, + "server-kitchen-sink": { + "root": "examples/server-kitchen-sink", + "type": "library", + "implicitDependencies": [] + }, + "standalone-preview": { + "root": "examples/standalone-preview", + "type": "library", + "implicitDependencies": [] + }, + "storybook": { + "root": "lib/cli-storybook", + "type": "library", + "implicitDependencies": [] + }, + "svelte-example": { + "root": "examples/svelte-kitchen-sink", + "type": "library", + "implicitDependencies": [] + }, + "vue-3-cli-example": { + "root": "examples/vue-3-cli", + "type": "library", + "implicitDependencies": [] + }, + "vue-cli-example": { + "root": "examples/vue-cli", + "type": "library", + "implicitDependencies": [] + }, + "vue-example": { + "root": "examples/vue-kitchen-sink", + "type": "library", + "implicitDependencies": [] + }, "web-components-kitchen-sink": { "root": "examples/web-components-kitchen-sink", - "type": "library" - }, - "@storybook/external-docs": { "root": "examples/external-docs", "type": "library" }, - "@storybook/example-doc-blocks": { "root": "examples/doc-blocks", "type": "library" }, - - "@storybook/addons": { "root": "lib/addons", "type": "library" }, - "@storybook/api": { "root": "lib/api", "type": "library" }, - "@storybook/builder-webpack5": { "root": "lib/builder-webpack5", "type": "library" }, - "@storybook/channel-postmessage": { "root": "lib/channel-postmessage", "type": "library" }, - "@storybook/channel-websocket": { "root": "lib/channel-websocket", "type": "library" }, - "@storybook/channels": { "root": "lib/channels", "type": "library" }, - "@storybook/cli": { "root": "lib/cli", "type": "library" }, - "sb": { "root": "lib/cli-sb", "type": "library" }, - "storybook": { "root": "lib/cli-storybook", "type": "library" }, - "@storybook/client-api": { "root": "lib/client-api", "type": "library" }, - "@storybook/client-logger": { "root": "lib/client-logger", "type": "library" }, - "@storybook/codemod": { "root": "lib/codemod", "type": "library" }, - "@storybook/components": { "root": "lib/components", "type": "library" }, - "@storybook/core-client": { "root": "lib/core-client", "type": "library" }, - "@storybook/core-common": { "root": "lib/core-common", "type": "library" }, - "@storybook/core-events": { "root": "lib/core-events", "type": "library" }, - "@storybook/core-server": { "root": "lib/core-server", "type": "library" }, - "@storybook/instrumenter": { "root": "lib/instrumenter", "type": "library" }, - "@storybook/node-logger": { "root": "lib/node-logger", "type": "library" }, - "@storybook/postinstall": { "root": "lib/postinstall", "type": "library" }, - "@storybook/router": { "root": "lib/router", "type": "library" }, - "@storybook/source-loader": { "root": "lib/source-loader", "type": "library" }, - "@storybook/store": { "root": "lib/store", "type": "library" }, - "@storybook/telemetry": { "root": "lib/telemetry", "type": "library" }, - "@storybook/theming": { "root": "lib/theming", "type": "library" }, - "@storybook/csf-tools": { "root": "lib/csf-tools", "type": "library" }, - "@storybook/ui": { "root": "lib/ui", "type": "library" }, - "@storybook/preview-web": { "root": "lib/preview-web", "type": "library" }, - "@storybook/blocks": { "root": "lib/blocks", "type": "library" }, - - "@storybook/preset-html-webpack": { "root": "presets/html-webpack", "type": "library" }, - "@storybook/preset-preact-webpack": { "root": "presets/preact-webpack", "type": "library" }, - "@storybook/preset-react-webpack": { "root": "presets/react-webpack", "type": "library" }, - "@storybook/preset-server-webpack": { "root": "presets/server-webpack", "type": "library" }, - "@storybook/preset-svelte-webpack": { "root": "presets/svelte-webpack", "type": "library" }, - "@storybook/preset-vue-webpack": { "root": "presets/vue-webpack", "type": "library" }, - "@storybook/preset-vue3-webpack": { "root": "presets/vue3-webpack", "type": "library" }, - "@storybook/preset-web-components-webpack": { - "root": "presets/web-components-webpack", - "type": "library" - }, - - "@storybook/html": { "root": "renderers/html", "type": "library" }, - "@storybook/preact": { "root": "renderers/preact", "type": "library" }, - "@storybook/react": { "root": "renderers/react", "type": "library" }, - "@storybook/server": { "root": "renderers/server", "type": "library" }, - "@storybook/svelte": { "root": "renderers/svelte", "type": "library" }, - "@storybook/vue": { "root": "renderers/vue", "type": "library" }, - "@storybook/vue3": { "root": "renderers/vue3", "type": "library" }, - "@storybook/web-components": { "root": "renderers/web-components", "type": "library" } + "type": "library", + "implicitDependencies": [] + } } } diff --git a/code/yarn.lock b/code/yarn.lock index 9d98e70f6a3c..7151741a7735 100644 --- a/code/yarn.lock +++ b/code/yarn.lock @@ -16,6 +16,13 @@ __metadata: languageName: node linkType: hard +"@adobe/css-tools@npm:^4.0.1": + version: 4.0.1 + resolution: "@adobe/css-tools@npm:4.0.1" + checksum: daabd77ae881e4d6fe218c370d1d10fb95a5b7b437fc2f61d8b8aae68a20dfadc7954df88772404b0eb4c50dd8ad0f5c5721f1064a1dd0635536cd2cb16f92b6 + languageName: node + linkType: hard + "@aduh95/viz.js@npm:^3.1.0": version: 3.7.0 resolution: "@aduh95/viz.js@npm:3.7.0" @@ -361,19 +368,19 @@ __metadata: linkType: hard "@axe-core/puppeteer@npm:^4.2.0": - version: 4.4.3 - resolution: "@axe-core/puppeteer@npm:4.4.3" + version: 4.4.4 + resolution: "@axe-core/puppeteer@npm:4.4.4" dependencies: - axe-core: ^4.4.1 + axe-core: ^4.4.2 peerDependencies: - puppeteer: ">=1.10.0 <= 13" - checksum: 9c5602676c075ccc1e1602cc9c426823467472caa86a62b142c8e09604064e87f89b757c907166ea3c78fd41428d0ba8b26fadb62af7f3250014d6551c7e6543 + puppeteer: ">=1.10.0 <= 16" + checksum: 4e0f802725509499665e186e1420f25e124767d41388498399adaaee90f7c7e8c186fae3806f8b2a10b57aace67e4b394c5ba8d3265a13807e03b80c6011d300 languageName: node linkType: hard "@babel/cli@npm:^7.17.6": - version: 7.18.9 - resolution: "@babel/cli@npm:7.18.9" + version: 7.18.10 + resolution: "@babel/cli@npm:7.18.10" dependencies: "@jridgewell/trace-mapping": ^0.3.8 "@nicolo-ribaudo/chokidar-2": 2.1.8-no-fsevents.3 @@ -381,7 +388,7 @@ __metadata: commander: ^4.0.1 convert-source-map: ^1.1.0 fs-readdir-recursive: ^1.1.0 - glob: ^7.0.0 + glob: ^7.2.0 make-dir: ^2.1.0 slash: ^2.0.0 peerDependencies: @@ -394,7 +401,7 @@ __metadata: bin: babel: ./bin/babel.js babel-external-helpers: ./bin/babel-external-helpers.js - checksum: 24a18d405118c6b63832857fa23757b59ee37f9bb8b8a91ce88335d90ac2d04f67c6b74ee3f1833b25721cec95bbfef2092b184b907b59163f2d51d93a971179 + checksum: f1abd28e271e7047653253383cb898d0c09b7a7d012efe057328a6b70808aefcce79ee76a21373a1d86c0211261100299c83ba55cea36f9fbd6efc27490761c9 languageName: node linkType: hard @@ -416,10 +423,10 @@ __metadata: languageName: node linkType: hard -"@babel/compat-data@npm:^7.13.11, @babel/compat-data@npm:^7.16.8, @babel/compat-data@npm:^7.18.8": - version: 7.18.8 - resolution: "@babel/compat-data@npm:7.18.8" - checksum: b82a9f61e194bd6e5267899a2697902a9bb965a042a7b3986fe30ea234d3217b702c6a6aa4ddb2d1bfad337208170b5b1f816881a46d4eece6c1806bdbba3978 +"@babel/compat-data@npm:^7.16.8, @babel/compat-data@npm:^7.17.7, @babel/compat-data@npm:^7.18.8, @babel/compat-data@npm:^7.19.0": + version: 7.19.0 + resolution: "@babel/compat-data@npm:7.19.0" + checksum: 8f47613f082fe8990bab19fe93ab7d2d8ee52a44b011589ee5ab6979f1ef8772f2db07e5bb502aad289783ecbd825899b94833f5e5e5f07831e0308b9c485856 languageName: node linkType: hard @@ -493,26 +500,26 @@ __metadata: languageName: node linkType: hard -"@babel/core@npm:^7.1.0, @babel/core@npm:^7.11.1, @babel/core@npm:^7.11.5, @babel/core@npm:^7.12.0, @babel/core@npm:^7.12.10, @babel/core@npm:^7.12.16, @babel/core@npm:^7.12.3, @babel/core@npm:^7.12.9, @babel/core@npm:^7.13.16, @babel/core@npm:^7.16.0, @babel/core@npm:^7.17.2, @babel/core@npm:^7.17.5, @babel/core@npm:^7.3.4, @babel/core@npm:^7.7.2, @babel/core@npm:^7.7.5, @babel/core@npm:^7.8.0": - version: 7.18.9 - resolution: "@babel/core@npm:7.18.9" +"@babel/core@npm:^7.1.0, @babel/core@npm:^7.11.1, @babel/core@npm:^7.11.5, @babel/core@npm:^7.11.6, @babel/core@npm:^7.12.0, @babel/core@npm:^7.12.10, @babel/core@npm:^7.12.16, @babel/core@npm:^7.12.3, @babel/core@npm:^7.12.9, @babel/core@npm:^7.13.16, @babel/core@npm:^7.16.0, @babel/core@npm:^7.17.2, @babel/core@npm:^7.17.5, @babel/core@npm:^7.18.13, @babel/core@npm:^7.3.4, @babel/core@npm:^7.7.2, @babel/core@npm:^7.7.5, @babel/core@npm:^7.8.0": + version: 7.19.0 + resolution: "@babel/core@npm:7.19.0" dependencies: "@ampproject/remapping": ^2.1.0 "@babel/code-frame": ^7.18.6 - "@babel/generator": ^7.18.9 - "@babel/helper-compilation-targets": ^7.18.9 - "@babel/helper-module-transforms": ^7.18.9 - "@babel/helpers": ^7.18.9 - "@babel/parser": ^7.18.9 - "@babel/template": ^7.18.6 - "@babel/traverse": ^7.18.9 - "@babel/types": ^7.18.9 + "@babel/generator": ^7.19.0 + "@babel/helper-compilation-targets": ^7.19.0 + "@babel/helper-module-transforms": ^7.19.0 + "@babel/helpers": ^7.19.0 + "@babel/parser": ^7.19.0 + "@babel/template": ^7.18.10 + "@babel/traverse": ^7.19.0 + "@babel/types": ^7.19.0 convert-source-map: ^1.7.0 debug: ^4.1.0 gensync: ^1.0.0-beta.2 json5: ^2.2.1 semver: ^6.3.0 - checksum: fc0f9d56798987a1422ce3f074cc3bed2bb7b0cce73aa861783c7487394dc29812db5db9e299c9efa1cda31ba630aabd7921defc61a358e2a07afa85b0c4f919 + checksum: 0200e66829fbb36a831c0ed39907b791b830a474b23207a169bd3cb871d01a8e8bfa8a4507315ea2a260e492b6a58d5cd5f38ced9868b5a96ecc1308f6541126 languageName: node linkType: hard @@ -541,14 +548,14 @@ __metadata: languageName: node linkType: hard -"@babel/generator@npm:^7.12.11, @babel/generator@npm:^7.12.5, @babel/generator@npm:^7.16.8, @babel/generator@npm:^7.18.9, @babel/generator@npm:^7.4.0, @babel/generator@npm:^7.7.2, @babel/generator@npm:^7.8.7": - version: 7.18.9 - resolution: "@babel/generator@npm:7.18.9" +"@babel/generator@npm:^7.12.11, @babel/generator@npm:^7.12.5, @babel/generator@npm:^7.16.8, @babel/generator@npm:^7.19.0, @babel/generator@npm:^7.4.0, @babel/generator@npm:^7.7.2, @babel/generator@npm:^7.8.7": + version: 7.19.0 + resolution: "@babel/generator@npm:7.19.0" dependencies: - "@babel/types": ^7.18.9 + "@babel/types": ^7.19.0 "@jridgewell/gen-mapping": ^0.3.2 jsesc: ^2.5.1 - checksum: 8fb777551ad13fd6e2b6b96487c3a4b6e903b77664e96435add5a348a85f99dda21efb709b0eaad0fc2acf4769799fea59426d3b6b9ec383a50d2e686b8fe525 + checksum: 84308049e15851ef33d361a6d4e4847b169d9cf490633e5820adbcba95dc9b837afc7aeee5ccac6f0bf883a88cb5a84b64c45a68d07c24da8f47b1ddd5d1652e languageName: node linkType: hard @@ -580,86 +587,66 @@ __metadata: languageName: node linkType: hard -"@babel/helper-compilation-targets@npm:^7.12.0, @babel/helper-compilation-targets@npm:^7.12.16, @babel/helper-compilation-targets@npm:^7.13.0, @babel/helper-compilation-targets@npm:^7.16.7, @babel/helper-compilation-targets@npm:^7.18.9": - version: 7.18.9 - resolution: "@babel/helper-compilation-targets@npm:7.18.9" +"@babel/helper-compilation-targets@npm:^7.12.0, @babel/helper-compilation-targets@npm:^7.12.16, @babel/helper-compilation-targets@npm:^7.16.7, @babel/helper-compilation-targets@npm:^7.17.7, @babel/helper-compilation-targets@npm:^7.18.9, @babel/helper-compilation-targets@npm:^7.19.0": + version: 7.19.0 + resolution: "@babel/helper-compilation-targets@npm:7.19.0" dependencies: - "@babel/compat-data": ^7.18.8 + "@babel/compat-data": ^7.19.0 "@babel/helper-validator-option": ^7.18.6 browserslist: ^4.20.2 semver: ^6.3.0 peerDependencies: "@babel/core": ^7.0.0 - checksum: f4c851a7301288028bec5650bf3fa4e60c467015cd07a2ce2cde4df4bdbf97537c787727dbfd142fa24222bf214cdd0106408543af6ec73639064b886bc0b381 + checksum: c7831f1943e19eb6ad6fb582d01e8691316105dc4fa0e1882a14e9d4f01ae396a2e97606a724713ac58d0af44aa313efdbc8b2e0266a2f42c3b3ae1a9638a4f0 languageName: node linkType: hard -"@babel/helper-create-class-features-plugin@npm:^7.18.6, @babel/helper-create-class-features-plugin@npm:^7.18.9": - version: 7.18.9 - resolution: "@babel/helper-create-class-features-plugin@npm:7.18.9" +"@babel/helper-create-class-features-plugin@npm:^7.18.6, @babel/helper-create-class-features-plugin@npm:^7.19.0": + version: 7.19.0 + resolution: "@babel/helper-create-class-features-plugin@npm:7.19.0" dependencies: "@babel/helper-annotate-as-pure": ^7.18.6 "@babel/helper-environment-visitor": ^7.18.9 - "@babel/helper-function-name": ^7.18.9 + "@babel/helper-function-name": ^7.19.0 "@babel/helper-member-expression-to-functions": ^7.18.9 "@babel/helper-optimise-call-expression": ^7.18.6 "@babel/helper-replace-supers": ^7.18.9 "@babel/helper-split-export-declaration": ^7.18.6 peerDependencies: "@babel/core": ^7.0.0 - checksum: a5a10eaa776963c1a93a986f6f6f97d6c522f1c1bb168afae5f35ca1e569f29ecd4b81d70c3d0c41cccae22b5bf8c52a79210537892b9ce6981ddc2b1f835920 + checksum: f61b98942d40d904e697c14fb24f30975c639f7d40e011a80b22fb22f5e423abe857ad7bba56318592a268420426d82c94a9193e8f761a8cd0717080549ca7ac languageName: node linkType: hard -"@babel/helper-create-regexp-features-plugin@npm:^7.18.6": - version: 7.18.6 - resolution: "@babel/helper-create-regexp-features-plugin@npm:7.18.6" +"@babel/helper-create-regexp-features-plugin@npm:^7.18.6, @babel/helper-create-regexp-features-plugin@npm:^7.19.0": + version: 7.19.0 + resolution: "@babel/helper-create-regexp-features-plugin@npm:7.19.0" dependencies: "@babel/helper-annotate-as-pure": ^7.18.6 regexpu-core: ^5.1.0 peerDependencies: "@babel/core": ^7.0.0 - checksum: 5151ae268376d9cd9a5fd97263dc2cf21f2c5043076331c9d0b4e4d7bbf8ae83ed1b0d366c5ddcb17c06329f9ed38e10e75b1dbc2dc040bbfab7d5604eada886 - languageName: node - linkType: hard - -"@babel/helper-define-polyfill-provider@npm:^0.1.5": - version: 0.1.5 - resolution: "@babel/helper-define-polyfill-provider@npm:0.1.5" - dependencies: - "@babel/helper-compilation-targets": ^7.13.0 - "@babel/helper-module-imports": ^7.12.13 - "@babel/helper-plugin-utils": ^7.13.0 - "@babel/traverse": ^7.13.0 - debug: ^4.1.1 - lodash.debounce: ^4.0.8 - resolve: ^1.14.2 - semver: ^6.1.2 - peerDependencies: - "@babel/core": ^7.4.0-0 - checksum: b83aa728cc2fd4882a82ce67c300407024a05adc3f88c461a02438b2ab50c66e711f8ba36ef622637eb7af4d40aaafa0d70e77e0da9adc5710f190a686082f94 + checksum: 30621e5bb6646cc68cd3504fe8e126fcc7efe0da8bafaf52f7ab3b347c6ad0d84dc2e16b1bef4b5c39f9ba44dfde2f64ad9d8f0942450ac46eb81abb1bda759a languageName: node linkType: hard -"@babel/helper-define-polyfill-provider@npm:^0.3.1": - version: 0.3.1 - resolution: "@babel/helper-define-polyfill-provider@npm:0.3.1" +"@babel/helper-define-polyfill-provider@npm:^0.3.1, @babel/helper-define-polyfill-provider@npm:^0.3.2": + version: 0.3.2 + resolution: "@babel/helper-define-polyfill-provider@npm:0.3.2" dependencies: - "@babel/helper-compilation-targets": ^7.13.0 - "@babel/helper-module-imports": ^7.12.13 - "@babel/helper-plugin-utils": ^7.13.0 - "@babel/traverse": ^7.13.0 + "@babel/helper-compilation-targets": ^7.17.7 + "@babel/helper-plugin-utils": ^7.16.7 debug: ^4.1.1 lodash.debounce: ^4.0.8 resolve: ^1.14.2 semver: ^6.1.2 peerDependencies: "@babel/core": ^7.4.0-0 - checksum: 1daf68e594bd7d32429693c4083e3cda78f34ebc8b716f54a8bb65b5786a88653e7e0182f98099473599f7717e0da3e96afe1b7f04c420465f3a4c43b2663389 + checksum: b4cfce62a1e847d3d3d5a5a5e5f315a53b1665fb57bca59b1f34a4baaeda2639a0304fc26032c414f977a028002289123334cf9b99305e69026a6026c0105c94 languageName: node linkType: hard -"@babel/helper-environment-visitor@npm:^7.18.6, @babel/helper-environment-visitor@npm:^7.18.9": +"@babel/helper-environment-visitor@npm:^7.18.9": version: 7.18.9 resolution: "@babel/helper-environment-visitor@npm:7.18.9" checksum: a69dd50ea91d8143b899a40ca7a387fa84dbaa02e606d8692188c7c59bd4007bcd632c189f7b7dab72cb7a016e159557a6fccf7093ab9b584d87cf2ea8cf36b7 @@ -675,13 +662,13 @@ __metadata: languageName: node linkType: hard -"@babel/helper-function-name@npm:^7.18.9": - version: 7.18.9 - resolution: "@babel/helper-function-name@npm:7.18.9" +"@babel/helper-function-name@npm:^7.18.9, @babel/helper-function-name@npm:^7.19.0": + version: 7.19.0 + resolution: "@babel/helper-function-name@npm:7.19.0" dependencies: - "@babel/template": ^7.18.6 - "@babel/types": ^7.18.9 - checksum: 8ca19a36b2b4d6ec4bc19c885b4db38930a4fe21e4737f9f38698709e2fad2609b2645572662efea5f6251c84b1d4dc7e2dfde6e64c224b6c2dbe3b925e2c26d + "@babel/template": ^7.18.10 + "@babel/types": ^7.19.0 + checksum: a4181d23274d926df3a8032fb2ff210b8a27c83fedd9e7bd148a6877cb4070be4caf69ddae1bf29447e1e84da807ff769a31ca661ef55ecd4d4d672073a68c48 languageName: node linkType: hard @@ -712,19 +699,19 @@ __metadata: languageName: node linkType: hard -"@babel/helper-module-transforms@npm:^7.12.1, @babel/helper-module-transforms@npm:^7.16.7, @babel/helper-module-transforms@npm:^7.18.6, @babel/helper-module-transforms@npm:^7.18.9": - version: 7.18.9 - resolution: "@babel/helper-module-transforms@npm:7.18.9" +"@babel/helper-module-transforms@npm:^7.12.1, @babel/helper-module-transforms@npm:^7.16.7, @babel/helper-module-transforms@npm:^7.18.6, @babel/helper-module-transforms@npm:^7.19.0": + version: 7.19.0 + resolution: "@babel/helper-module-transforms@npm:7.19.0" dependencies: "@babel/helper-environment-visitor": ^7.18.9 "@babel/helper-module-imports": ^7.18.6 "@babel/helper-simple-access": ^7.18.6 "@babel/helper-split-export-declaration": ^7.18.6 "@babel/helper-validator-identifier": ^7.18.6 - "@babel/template": ^7.18.6 - "@babel/traverse": ^7.18.9 - "@babel/types": ^7.18.9 - checksum: 68cf02fc0848c5fc991ac0e77b1b10152696b18b02a17cc09cabd78df7575644a5198ba633023ea85e7a5149c6d3f211b86ffe7f7367ca2a1c197f4b77e97d2c + "@babel/template": ^7.18.10 + "@babel/traverse": ^7.19.0 + "@babel/types": ^7.19.0 + checksum: 8a36ad46a144cf779e300e4a620c46ddad27d68353769d522c220731c8f33d8823ae9a6c9e207b330ecb1d044180ad8f7c129f1191ccf09fae978cddcb31061b languageName: node linkType: hard @@ -744,14 +731,14 @@ __metadata: languageName: node linkType: hard -"@babel/helper-plugin-utils@npm:^7.0.0, @babel/helper-plugin-utils@npm:^7.10.4, @babel/helper-plugin-utils@npm:^7.12.13, @babel/helper-plugin-utils@npm:^7.13.0, @babel/helper-plugin-utils@npm:^7.14.5, @babel/helper-plugin-utils@npm:^7.16.7, @babel/helper-plugin-utils@npm:^7.18.6, @babel/helper-plugin-utils@npm:^7.18.9, @babel/helper-plugin-utils@npm:^7.8.0, @babel/helper-plugin-utils@npm:^7.8.3": - version: 7.18.9 - resolution: "@babel/helper-plugin-utils@npm:7.18.9" - checksum: cefb9032c901abc536a34a4b741ea440e46b3251ddc1abf3ef8b3a673ef1b343f856b1faa5c78ad73fc44c97b143d6531a63c0420e4c3c8959571ea2eabeba62 +"@babel/helper-plugin-utils@npm:^7.0.0, @babel/helper-plugin-utils@npm:^7.10.4, @babel/helper-plugin-utils@npm:^7.12.13, @babel/helper-plugin-utils@npm:^7.14.5, @babel/helper-plugin-utils@npm:^7.16.7, @babel/helper-plugin-utils@npm:^7.18.6, @babel/helper-plugin-utils@npm:^7.18.9, @babel/helper-plugin-utils@npm:^7.19.0, @babel/helper-plugin-utils@npm:^7.8.0, @babel/helper-plugin-utils@npm:^7.8.3": + version: 7.19.0 + resolution: "@babel/helper-plugin-utils@npm:7.19.0" + checksum: 9ae9c09cf7e3b6023be2bb66f3ca3b5fa8c2b21b58bd09819d494fcd7ab2a1844056c8dfd609ffb474e3c857a1bc979fa7a60931b0c71d69a3e939ba724498ac languageName: node linkType: hard -"@babel/helper-remap-async-to-generator@npm:^7.16.8, @babel/helper-remap-async-to-generator@npm:^7.18.6": +"@babel/helper-remap-async-to-generator@npm:^7.16.8, @babel/helper-remap-async-to-generator@npm:^7.18.6, @babel/helper-remap-async-to-generator@npm:^7.18.9": version: 7.18.9 resolution: "@babel/helper-remap-async-to-generator@npm:7.18.9" dependencies: @@ -805,6 +792,13 @@ __metadata: languageName: node linkType: hard +"@babel/helper-string-parser@npm:^7.18.10": + version: 7.18.10 + resolution: "@babel/helper-string-parser@npm:7.18.10" + checksum: d32cba5466806e79a8e6242773619fd72dd504e5f432752811c143e7d721c18c5143322a583f18ea0e8ba579de8a5ea32552dc79ef14f76fb2990d5b71fa06ef + languageName: node + linkType: hard + "@babel/helper-validator-identifier@npm:^7.18.6": version: 7.18.6 resolution: "@babel/helper-validator-identifier@npm:7.18.6" @@ -820,25 +814,25 @@ __metadata: linkType: hard "@babel/helper-wrap-function@npm:^7.18.9": - version: 7.18.9 - resolution: "@babel/helper-wrap-function@npm:7.18.9" + version: 7.19.0 + resolution: "@babel/helper-wrap-function@npm:7.19.0" dependencies: - "@babel/helper-function-name": ^7.18.9 - "@babel/template": ^7.18.6 - "@babel/traverse": ^7.18.9 - "@babel/types": ^7.18.9 - checksum: 347533c5cb9641a4a9c622b208e31401fe2575854518314558dbe17d4d3b962c9101447a7009fc2297996fd6531abc153425c22aabf52695b0f3a3e12656eeb9 + "@babel/helper-function-name": ^7.19.0 + "@babel/template": ^7.18.10 + "@babel/traverse": ^7.19.0 + "@babel/types": ^7.19.0 + checksum: ea08ce61cdce9e5de8c279e2a71700b1ba4c78713292ab775563d24bd3ec6891f97b1d37b7193264bd5deafe6237a0c721ef2cbbe103cda69d98a1748c752f2a languageName: node linkType: hard -"@babel/helpers@npm:^7.12.5, @babel/helpers@npm:^7.16.7, @babel/helpers@npm:^7.18.9, @babel/helpers@npm:^7.8.4": - version: 7.18.9 - resolution: "@babel/helpers@npm:7.18.9" +"@babel/helpers@npm:^7.12.5, @babel/helpers@npm:^7.16.7, @babel/helpers@npm:^7.19.0, @babel/helpers@npm:^7.8.4": + version: 7.19.0 + resolution: "@babel/helpers@npm:7.19.0" dependencies: - "@babel/template": ^7.18.6 - "@babel/traverse": ^7.18.9 - "@babel/types": ^7.18.9 - checksum: 9008e38a476d7ea45647a33e547fda424b766a59d295d9321a0179d60d1c5aa71f22a0e5420cead42ef6107d0f4e1cf509cfef2f94b7650e74dffb36f1b04578 + "@babel/template": ^7.18.10 + "@babel/traverse": ^7.19.0 + "@babel/types": ^7.19.0 + checksum: 810d9b7927d56b2e2dad07b899d0503bf6d1fa9fa84df9dccb2283509033f1eb494c48ad1e67516293f6c40e16ae8c3528402e6c9060119bb987665396606a6e languageName: node linkType: hard @@ -853,12 +847,12 @@ __metadata: languageName: node linkType: hard -"@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.11.5, @babel/parser@npm:^7.12.11, @babel/parser@npm:^7.12.7, @babel/parser@npm:^7.13.12, @babel/parser@npm:^7.13.16, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.16.12, @babel/parser@npm:^7.16.4, @babel/parser@npm:^7.16.7, @babel/parser@npm:^7.18.4, @babel/parser@npm:^7.18.6, @babel/parser@npm:^7.18.9, @babel/parser@npm:^7.4.3, @babel/parser@npm:^7.4.5, @babel/parser@npm:^7.6.0, @babel/parser@npm:^7.7.0, @babel/parser@npm:^7.8.6, @babel/parser@npm:^7.8.7, @babel/parser@npm:^7.9.6": - version: 7.18.9 - resolution: "@babel/parser@npm:7.18.9" +"@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.11.5, @babel/parser@npm:^7.12.11, @babel/parser@npm:^7.12.7, @babel/parser@npm:^7.13.12, @babel/parser@npm:^7.13.16, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.16.12, @babel/parser@npm:^7.16.4, @babel/parser@npm:^7.16.7, @babel/parser@npm:^7.18.10, @babel/parser@npm:^7.18.4, @babel/parser@npm:^7.19.0, @babel/parser@npm:^7.4.3, @babel/parser@npm:^7.4.5, @babel/parser@npm:^7.6.0, @babel/parser@npm:^7.7.0, @babel/parser@npm:^7.8.6, @babel/parser@npm:^7.8.7, @babel/parser@npm:^7.9.6": + version: 7.19.0 + resolution: "@babel/parser@npm:7.19.0" bin: parser: ./bin/babel-parser.js - checksum: 787f81a4f33feae0d113e869e95b47086820a7bb64d4e8d1c522c1b44ee14dd782aa0ff5ea51e032d1685af63d1fc86a279f860f9bbcb519d775c3388cdd1643 + checksum: 89d0bf982434e3b08a8c6dbef8762b1bf8f96dae0301e1bce74ecb02b3a63c204e7db62887f594220ddece0d95e3abcb9815e5901e087610a57531d52f1f3457 languageName: node linkType: hard @@ -899,21 +893,21 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-proposal-async-generator-functions@npm:^7.16.8, @babel/plugin-proposal-async-generator-functions@npm:^7.18.6": - version: 7.18.6 - resolution: "@babel/plugin-proposal-async-generator-functions@npm:7.18.6" +"@babel/plugin-proposal-async-generator-functions@npm:^7.16.8, @babel/plugin-proposal-async-generator-functions@npm:^7.19.0": + version: 7.19.0 + resolution: "@babel/plugin-proposal-async-generator-functions@npm:7.19.0" dependencies: - "@babel/helper-environment-visitor": ^7.18.6 - "@babel/helper-plugin-utils": ^7.18.6 - "@babel/helper-remap-async-to-generator": ^7.18.6 + "@babel/helper-environment-visitor": ^7.18.9 + "@babel/helper-plugin-utils": ^7.19.0 + "@babel/helper-remap-async-to-generator": ^7.18.9 "@babel/plugin-syntax-async-generators": ^7.8.4 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: f5ffade285a50fedf0f7e8ada16aac9b4992e43ee1977aa28f871bd514fb0c023f45b07374dd53c880968b5e736afe60de8705f203ec28532cb105d2c66b35a2 + checksum: b1746804ec1704d2898bf5c5c9074b218c18c2c6458961b9ee7adb2a14e4a704d0ea6db67c239e8064bca6f2ad3e7a5cb8d0ce79779f1bbca9554a63e018efa2 languageName: node linkType: hard -"@babel/plugin-proposal-class-properties@npm:^7.1.0, @babel/plugin-proposal-class-properties@npm:^7.12.1, @babel/plugin-proposal-class-properties@npm:^7.12.13, @babel/plugin-proposal-class-properties@npm:^7.13.0, @babel/plugin-proposal-class-properties@npm:^7.16.0, @babel/plugin-proposal-class-properties@npm:^7.16.5, @babel/plugin-proposal-class-properties@npm:^7.16.7, @babel/plugin-proposal-class-properties@npm:^7.18.6": +"@babel/plugin-proposal-class-properties@npm:^7.1.0, @babel/plugin-proposal-class-properties@npm:^7.12.13, @babel/plugin-proposal-class-properties@npm:^7.13.0, @babel/plugin-proposal-class-properties@npm:^7.16.0, @babel/plugin-proposal-class-properties@npm:^7.16.5, @babel/plugin-proposal-class-properties@npm:^7.16.7, @babel/plugin-proposal-class-properties@npm:^7.18.6": version: 7.18.6 resolution: "@babel/plugin-proposal-class-properties@npm:7.18.6" dependencies: @@ -938,18 +932,18 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-proposal-decorators@npm:^7.12.12, @babel/plugin-proposal-decorators@npm:^7.12.13, @babel/plugin-proposal-decorators@npm:^7.13.5, @babel/plugin-proposal-decorators@npm:^7.16.4, @babel/plugin-proposal-decorators@npm:^7.17.2": - version: 7.18.9 - resolution: "@babel/plugin-proposal-decorators@npm:7.18.9" +"@babel/plugin-proposal-decorators@npm:^7.12.13, @babel/plugin-proposal-decorators@npm:^7.13.5, @babel/plugin-proposal-decorators@npm:^7.16.4, @babel/plugin-proposal-decorators@npm:^7.17.2": + version: 7.19.0 + resolution: "@babel/plugin-proposal-decorators@npm:7.19.0" dependencies: - "@babel/helper-create-class-features-plugin": ^7.18.9 - "@babel/helper-plugin-utils": ^7.18.9 + "@babel/helper-create-class-features-plugin": ^7.19.0 + "@babel/helper-plugin-utils": ^7.19.0 "@babel/helper-replace-supers": ^7.18.9 "@babel/helper-split-export-declaration": ^7.18.6 - "@babel/plugin-syntax-decorators": ^7.18.6 + "@babel/plugin-syntax-decorators": ^7.19.0 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 9defb120be5b635f674814d4437ba95a8a71bcafc0143253c784111cdfa6cd4620520d1beeae477e3be9af1dc74bde87d820dd634db9c2c6b3afbc858a509d73 + checksum: 7e63983c640b1aeef73101e25c41b52a55ec90de21bd7c3ec03b4bc782ca16f6998e57f6c6b239e28e11fc5a0137878d6262ed69ceb0a540e53384d66a7f548c languageName: node linkType: hard @@ -965,15 +959,15 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-proposal-export-default-from@npm:^7.12.1, @babel/plugin-proposal-export-default-from@npm:^7.16.7": - version: 7.18.9 - resolution: "@babel/plugin-proposal-export-default-from@npm:7.18.9" +"@babel/plugin-proposal-export-default-from@npm:^7.16.7": + version: 7.18.10 + resolution: "@babel/plugin-proposal-export-default-from@npm:7.18.10" dependencies: "@babel/helper-plugin-utils": ^7.18.9 "@babel/plugin-syntax-export-default-from": ^7.18.6 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 9201fd42ba86d6073dd683709d8c792cea142e236652b509c2b35bcfbd8b60b1920d884018b18694c7bce89123c2b45918eec178f21f9db56adf0358125178bd + checksum: 9ac33f8784e7a6ad0e74dabc5f45ff3aff06b57154e83f3e7fa867c45653820ec4796bf87af886bfebbf4d0762fa9efa8bfa03f7485710bbdca1c595bf698a58 languageName: node linkType: hard @@ -1013,7 +1007,7 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-proposal-nullish-coalescing-operator@npm:^7.12.1, @babel/plugin-proposal-nullish-coalescing-operator@npm:^7.13.8, @babel/plugin-proposal-nullish-coalescing-operator@npm:^7.16.0, @babel/plugin-proposal-nullish-coalescing-operator@npm:^7.16.7, @babel/plugin-proposal-nullish-coalescing-operator@npm:^7.18.6": +"@babel/plugin-proposal-nullish-coalescing-operator@npm:^7.13.8, @babel/plugin-proposal-nullish-coalescing-operator@npm:^7.16.0, @babel/plugin-proposal-nullish-coalescing-operator@npm:^7.16.7, @babel/plugin-proposal-nullish-coalescing-operator@npm:^7.18.6": version: 7.18.6 resolution: "@babel/plugin-proposal-nullish-coalescing-operator@npm:7.18.6" dependencies: @@ -1050,7 +1044,7 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-proposal-object-rest-spread@npm:^7.12.1, @babel/plugin-proposal-object-rest-spread@npm:^7.16.7, @babel/plugin-proposal-object-rest-spread@npm:^7.17.3, @babel/plugin-proposal-object-rest-spread@npm:^7.18.9": +"@babel/plugin-proposal-object-rest-spread@npm:^7.16.7, @babel/plugin-proposal-object-rest-spread@npm:^7.17.3, @babel/plugin-proposal-object-rest-spread@npm:^7.18.9": version: 7.18.9 resolution: "@babel/plugin-proposal-object-rest-spread@npm:7.18.9" dependencies: @@ -1077,7 +1071,7 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-proposal-optional-chaining@npm:^7.12.7, @babel/plugin-proposal-optional-chaining@npm:^7.13.12, @babel/plugin-proposal-optional-chaining@npm:^7.16.0, @babel/plugin-proposal-optional-chaining@npm:^7.16.7, @babel/plugin-proposal-optional-chaining@npm:^7.18.9": +"@babel/plugin-proposal-optional-chaining@npm:^7.13.12, @babel/plugin-proposal-optional-chaining@npm:^7.16.0, @babel/plugin-proposal-optional-chaining@npm:^7.16.7, @babel/plugin-proposal-optional-chaining@npm:^7.18.9": version: 7.18.9 resolution: "@babel/plugin-proposal-optional-chaining@npm:7.18.9" dependencies: @@ -1090,7 +1084,7 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-proposal-private-methods@npm:^7.12.1, @babel/plugin-proposal-private-methods@npm:^7.16.0, @babel/plugin-proposal-private-methods@npm:^7.16.11, @babel/plugin-proposal-private-methods@npm:^7.16.5, @babel/plugin-proposal-private-methods@npm:^7.18.6": +"@babel/plugin-proposal-private-methods@npm:^7.16.0, @babel/plugin-proposal-private-methods@npm:^7.16.11, @babel/plugin-proposal-private-methods@npm:^7.16.5, @babel/plugin-proposal-private-methods@npm:^7.18.6": version: 7.18.6 resolution: "@babel/plugin-proposal-private-methods@npm:7.18.6" dependencies: @@ -1102,7 +1096,7 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-proposal-private-property-in-object@npm:^7.12.1, @babel/plugin-proposal-private-property-in-object@npm:^7.16.0, @babel/plugin-proposal-private-property-in-object@npm:^7.16.5, @babel/plugin-proposal-private-property-in-object@npm:^7.16.7, @babel/plugin-proposal-private-property-in-object@npm:^7.18.6": +"@babel/plugin-proposal-private-property-in-object@npm:^7.16.0, @babel/plugin-proposal-private-property-in-object@npm:^7.16.5, @babel/plugin-proposal-private-property-in-object@npm:^7.16.7, @babel/plugin-proposal-private-property-in-object@npm:^7.18.6": version: 7.18.6 resolution: "@babel/plugin-proposal-private-property-in-object@npm:7.18.6" dependencies: @@ -1172,14 +1166,14 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-syntax-decorators@npm:^7.18.6": - version: 7.18.6 - resolution: "@babel/plugin-syntax-decorators@npm:7.18.6" +"@babel/plugin-syntax-decorators@npm:^7.19.0": + version: 7.19.0 + resolution: "@babel/plugin-syntax-decorators@npm:7.19.0" dependencies: - "@babel/helper-plugin-utils": ^7.18.6 + "@babel/helper-plugin-utils": ^7.19.0 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 115877c3cb4288c2dbebd2e22cfab7ee7e38cfad96cb38d14b1358893a36ef14ca5e16efa31319dcc4468217f53732e5cf20b385a9e210db6509c569d9b94343 + checksum: 5b3fb71592fe91c68f13dbe7285471adb144583dd80f2274954250501e3f362ebfdab482f8886857f03c8b970c428a572ccbc3a59e2439f6ab92ec0d91c3874b languageName: node linkType: hard @@ -1271,7 +1265,7 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-syntax-jsx@npm:^7.0.0, @babel/plugin-syntax-jsx@npm:^7.12.13, @babel/plugin-syntax-jsx@npm:^7.18.6, @babel/plugin-syntax-jsx@npm:^7.2.0": +"@babel/plugin-syntax-jsx@npm:^7.0.0, @babel/plugin-syntax-jsx@npm:^7.12.13, @babel/plugin-syntax-jsx@npm:^7.17.12, @babel/plugin-syntax-jsx@npm:^7.18.6, @babel/plugin-syntax-jsx@npm:^7.2.0": version: 7.18.6 resolution: "@babel/plugin-syntax-jsx@npm:7.18.6" dependencies: @@ -1381,7 +1375,7 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-arrow-functions@npm:^7.12.1, @babel/plugin-transform-arrow-functions@npm:^7.16.7, @babel/plugin-transform-arrow-functions@npm:^7.18.6": +"@babel/plugin-transform-arrow-functions@npm:^7.16.7, @babel/plugin-transform-arrow-functions@npm:^7.18.6": version: 7.18.6 resolution: "@babel/plugin-transform-arrow-functions@npm:7.18.6" dependencies: @@ -1429,7 +1423,7 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-block-scoping@npm:^7.12.12, @babel/plugin-transform-block-scoping@npm:^7.16.7, @babel/plugin-transform-block-scoping@npm:^7.18.9, @babel/plugin-transform-block-scoping@npm:^7.8.3": +"@babel/plugin-transform-block-scoping@npm:^7.16.7, @babel/plugin-transform-block-scoping@npm:^7.18.9, @babel/plugin-transform-block-scoping@npm:^7.8.3": version: 7.18.9 resolution: "@babel/plugin-transform-block-scoping@npm:7.18.9" dependencies: @@ -1440,21 +1434,22 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-classes@npm:^7.12.1, @babel/plugin-transform-classes@npm:^7.16.7, @babel/plugin-transform-classes@npm:^7.18.9": - version: 7.18.9 - resolution: "@babel/plugin-transform-classes@npm:7.18.9" +"@babel/plugin-transform-classes@npm:^7.16.7, @babel/plugin-transform-classes@npm:^7.19.0": + version: 7.19.0 + resolution: "@babel/plugin-transform-classes@npm:7.19.0" dependencies: "@babel/helper-annotate-as-pure": ^7.18.6 + "@babel/helper-compilation-targets": ^7.19.0 "@babel/helper-environment-visitor": ^7.18.9 - "@babel/helper-function-name": ^7.18.9 + "@babel/helper-function-name": ^7.19.0 "@babel/helper-optimise-call-expression": ^7.18.6 - "@babel/helper-plugin-utils": ^7.18.9 + "@babel/helper-plugin-utils": ^7.19.0 "@babel/helper-replace-supers": ^7.18.9 "@babel/helper-split-export-declaration": ^7.18.6 globals: ^11.1.0 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 792a8dae7dacb3e50021a40c3bb1a928dc9a2c37b3e766c64e7f8e0ab9995c83a74c3e3924f729dc8090185d556851399b99426908f5480f35e43d1ae4b452c2 + checksum: 843db7da466b6e40f9da96827051d970ed7800c1acccb24b702ddc8b05e87cfbbbf53bd4b0f3ffd5b8365db03ea97a5cd6e9efc3ec176a7697a1a4601d7071e8 languageName: node linkType: hard @@ -1469,14 +1464,14 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-destructuring@npm:^7.12.1, @babel/plugin-transform-destructuring@npm:^7.16.7, @babel/plugin-transform-destructuring@npm:^7.17.3, @babel/plugin-transform-destructuring@npm:^7.18.9": - version: 7.18.9 - resolution: "@babel/plugin-transform-destructuring@npm:7.18.9" +"@babel/plugin-transform-destructuring@npm:^7.16.7, @babel/plugin-transform-destructuring@npm:^7.17.3, @babel/plugin-transform-destructuring@npm:^7.18.13": + version: 7.18.13 + resolution: "@babel/plugin-transform-destructuring@npm:7.18.13" dependencies: "@babel/helper-plugin-utils": ^7.18.9 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: d894fa122d71e77117957be0fac3d2a7099d2abfae8768f09c0513123ccbf701881f9546204569473b846374b2e72eac0e9bbe7d442e6871bc25e6d20a8b6669 + checksum: fd6ccf9242d9d12f3d42d0a274aa668608d8805675e72729e04b2fafa9a6613872d548847f8c9359629a0a00ab0a433385e173e99f00991161afb9c577c3bfe0 languageName: node linkType: hard @@ -1516,18 +1511,18 @@ __metadata: linkType: hard "@babel/plugin-transform-flow-strip-types@npm:^7.16.0, @babel/plugin-transform-flow-strip-types@npm:^7.18.6": - version: 7.18.9 - resolution: "@babel/plugin-transform-flow-strip-types@npm:7.18.9" + version: 7.19.0 + resolution: "@babel/plugin-transform-flow-strip-types@npm:7.19.0" dependencies: - "@babel/helper-plugin-utils": ^7.18.9 + "@babel/helper-plugin-utils": ^7.19.0 "@babel/plugin-syntax-flow": ^7.18.6 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 5c5b2c40e78a6c8c0dcca835c9eb0e3255ceab17d2f56888250651709ad371ce3c47ac527e6b567328e4522e5b6269f5e1840bdc2277ad39cb6ce4ef1a2cef27 + checksum: 9b330e14f9e570c33ad7c99d3b250cfa8272df542dcb0cdbd8ad3c62668b651c8c0ca643063ad68a7bebb73b492cc3335a6e6276a48b82f949565c58d614be26 languageName: node linkType: hard -"@babel/plugin-transform-for-of@npm:^7.12.1, @babel/plugin-transform-for-of@npm:^7.16.7, @babel/plugin-transform-for-of@npm:^7.18.8": +"@babel/plugin-transform-for-of@npm:^7.16.7, @babel/plugin-transform-for-of@npm:^7.18.8": version: 7.18.8 resolution: "@babel/plugin-transform-for-of@npm:7.18.8" dependencies: @@ -1600,18 +1595,18 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-modules-systemjs@npm:^7.16.7, @babel/plugin-transform-modules-systemjs@npm:^7.18.9": - version: 7.18.9 - resolution: "@babel/plugin-transform-modules-systemjs@npm:7.18.9" +"@babel/plugin-transform-modules-systemjs@npm:^7.16.7, @babel/plugin-transform-modules-systemjs@npm:^7.19.0": + version: 7.19.0 + resolution: "@babel/plugin-transform-modules-systemjs@npm:7.19.0" dependencies: "@babel/helper-hoist-variables": ^7.18.6 - "@babel/helper-module-transforms": ^7.18.9 - "@babel/helper-plugin-utils": ^7.18.9 + "@babel/helper-module-transforms": ^7.19.0 + "@babel/helper-plugin-utils": ^7.19.0 "@babel/helper-validator-identifier": ^7.18.6 babel-plugin-dynamic-import-node: ^2.3.3 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: ab1e10be15a96c9cdaa05f954d5983523c627e9f701c0989fedf9bff8ff5873461f3035a73e87e4546a31b163897c6f36c5c567d4c1c3edc24ec395d56462715 + checksum: 45e3529ddb53c222f806d225dac725366f2c80863b2f19ee2d794b71cd8b799e62743dffa241593848b7333f36ede712872a4997bf9d803d9e27e8a5f259573e languageName: node linkType: hard @@ -1627,15 +1622,15 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-named-capturing-groups-regex@npm:^7.16.8, @babel/plugin-transform-named-capturing-groups-regex@npm:^7.18.6": - version: 7.18.6 - resolution: "@babel/plugin-transform-named-capturing-groups-regex@npm:7.18.6" +"@babel/plugin-transform-named-capturing-groups-regex@npm:^7.16.8, @babel/plugin-transform-named-capturing-groups-regex@npm:^7.19.0": + version: 7.19.0 + resolution: "@babel/plugin-transform-named-capturing-groups-regex@npm:7.19.0" dependencies: - "@babel/helper-create-regexp-features-plugin": ^7.18.6 - "@babel/helper-plugin-utils": ^7.18.6 + "@babel/helper-create-regexp-features-plugin": ^7.19.0 + "@babel/helper-plugin-utils": ^7.19.0 peerDependencies: "@babel/core": ^7.0.0 - checksum: 6695fc0469fa2dbe8133e36f8f5a281fc67a2b565481a13f5f50b95f86f4967d36c2ef8244d2ade09c0adbcd5dc98fddf8d61dd4bb56d6953c0523d11d9e0e5a + checksum: c164af90bc77ec21ffa7700725fe1c6bcc165c56f43ea65390f33a0d160574a917158901935814a529311bcdcffe358a8278d641dd7201da55f53a85b9c24ffd languageName: node linkType: hard @@ -1696,13 +1691,13 @@ __metadata: linkType: hard "@babel/plugin-transform-react-constant-elements@npm:^7.12.1": - version: 7.18.9 - resolution: "@babel/plugin-transform-react-constant-elements@npm:7.18.9" + version: 7.18.12 + resolution: "@babel/plugin-transform-react-constant-elements@npm:7.18.12" dependencies: "@babel/helper-plugin-utils": ^7.18.9 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: afa27957f54722208090eb53c0f2229c6f45046e8fe9d1b494775e4baf651209e80614ec82c4dd499e6e181fec36bba855f68113050951e0c5ad9257ce2612c5 + checksum: 5982513369837038d6cfa17a6c85e029462c1cdc30843a3d5056b738d0ba90f35a01a552e546fabdf67a9333a2092863a2c8493a97e8baf9660c6ee2051a2bed languageName: node linkType: hard @@ -1728,18 +1723,40 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-react-jsx@npm:^7.12.12, @babel/plugin-transform-react-jsx@npm:^7.18.6": +"@babel/plugin-transform-react-jsx-self@npm:^7.18.6": + version: 7.18.6 + resolution: "@babel/plugin-transform-react-jsx-self@npm:7.18.6" + dependencies: + "@babel/helper-plugin-utils": ^7.18.6 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 3fb17ae87eb264f77c5d1b30f4687f863f849bf4e8892159aee8e6bd069ff66d909f378dffdb7e6e157f9424cfbfe7c48e884aceac39e33f6a8abbdb04f83303 + languageName: node + linkType: hard + +"@babel/plugin-transform-react-jsx-source@npm:^7.18.6": version: 7.18.6 - resolution: "@babel/plugin-transform-react-jsx@npm:7.18.6" + resolution: "@babel/plugin-transform-react-jsx-source@npm:7.18.6" + dependencies: + "@babel/helper-plugin-utils": ^7.18.6 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: af95477936a29f6c8c33277d6f1c8484309f7c8ddd2cb19a8e90d0ea944eb6a988d2ba21f4b9948918aa801cd0aaddbae6cea57a076f8cae2126fd5a43dbf57a + languageName: node + linkType: hard + +"@babel/plugin-transform-react-jsx@npm:^7.12.12, @babel/plugin-transform-react-jsx@npm:^7.18.10, @babel/plugin-transform-react-jsx@npm:^7.18.6": + version: 7.19.0 + resolution: "@babel/plugin-transform-react-jsx@npm:7.19.0" dependencies: "@babel/helper-annotate-as-pure": ^7.18.6 "@babel/helper-module-imports": ^7.18.6 - "@babel/helper-plugin-utils": ^7.18.6 + "@babel/helper-plugin-utils": ^7.19.0 "@babel/plugin-syntax-jsx": ^7.18.6 - "@babel/types": ^7.18.6 + "@babel/types": ^7.19.0 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 4c42c4b65aaa16b0ae50fdc0499ea7905e7ee36cc674f605a45a4c6619e6934bc4ee8cce123240d54abea3a10835827645be973eed85f9bc1c30a02ca07dc73d + checksum: ee0b44e67a3e4aa4046ee24c39c3eb241d206857f4f5f639f24698f67d393a86ee2964326c14c7c2cb920d56b3687dca277ba07a4662d254844b2d2676e42370 languageName: node linkType: hard @@ -1795,22 +1812,22 @@ __metadata: linkType: hard "@babel/plugin-transform-runtime@npm:^7.12.15, @babel/plugin-transform-runtime@npm:^7.13.9, @babel/plugin-transform-runtime@npm:^7.16.4": - version: 7.18.9 - resolution: "@babel/plugin-transform-runtime@npm:7.18.9" + version: 7.18.10 + resolution: "@babel/plugin-transform-runtime@npm:7.18.10" dependencies: "@babel/helper-module-imports": ^7.18.6 "@babel/helper-plugin-utils": ^7.18.9 - babel-plugin-polyfill-corejs2: ^0.3.1 - babel-plugin-polyfill-corejs3: ^0.5.2 - babel-plugin-polyfill-regenerator: ^0.3.1 + babel-plugin-polyfill-corejs2: ^0.3.2 + babel-plugin-polyfill-corejs3: ^0.5.3 + babel-plugin-polyfill-regenerator: ^0.4.0 semver: ^6.3.0 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 4583d800f715d14bf71b5ee3db29e23fddda31c80c27160dda7ecb7e77d859ed337b1c47242380d1f3a8acf37dc360bd6ffd4dd29744749c1181a8d8c3ad6a25 + checksum: 156410efc22ca5105bafad83d257758d25da80d3820eaa73ae2d9db4dfaf66bed308479c88ebff795bd5a963dd50572ca5857fe4adc04fbabb2d9abbfb6f8dcf languageName: node linkType: hard -"@babel/plugin-transform-shorthand-properties@npm:^7.12.1, @babel/plugin-transform-shorthand-properties@npm:^7.16.7, @babel/plugin-transform-shorthand-properties@npm:^7.18.6": +"@babel/plugin-transform-shorthand-properties@npm:^7.16.7, @babel/plugin-transform-shorthand-properties@npm:^7.18.6": version: 7.18.6 resolution: "@babel/plugin-transform-shorthand-properties@npm:7.18.6" dependencies: @@ -1821,15 +1838,15 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-spread@npm:^7.12.1, @babel/plugin-transform-spread@npm:^7.16.7, @babel/plugin-transform-spread@npm:^7.18.9": - version: 7.18.9 - resolution: "@babel/plugin-transform-spread@npm:7.18.9" +"@babel/plugin-transform-spread@npm:^7.16.7, @babel/plugin-transform-spread@npm:^7.19.0": + version: 7.19.0 + resolution: "@babel/plugin-transform-spread@npm:7.19.0" dependencies: - "@babel/helper-plugin-utils": ^7.18.9 + "@babel/helper-plugin-utils": ^7.19.0 "@babel/helper-skip-transparent-expression-wrappers": ^7.18.9 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: b208ba03d2e0f4e49d0e634f31ded67cd4a76fafc53838e674b535eb993b2a03a4a87717a241ff5c44d41164b74493d197378811a757965cf9bbc95f32aaab2a + checksum: 3dea53dab5a25ab8d319dece5dd49824e9e637b886175d0255530dde41331c09d4de8ac64099c4ba8574832303af2f65220b7fd52c63173147b62e0fc7e2e913 languageName: node linkType: hard @@ -1867,15 +1884,15 @@ __metadata: linkType: hard "@babel/plugin-transform-typescript@npm:^7.13.0, @babel/plugin-transform-typescript@npm:^7.18.6": - version: 7.18.8 - resolution: "@babel/plugin-transform-typescript@npm:7.18.8" + version: 7.19.0 + resolution: "@babel/plugin-transform-typescript@npm:7.19.0" dependencies: - "@babel/helper-create-class-features-plugin": ^7.18.6 - "@babel/helper-plugin-utils": ^7.18.6 + "@babel/helper-create-class-features-plugin": ^7.19.0 + "@babel/helper-plugin-utils": ^7.19.0 "@babel/plugin-syntax-typescript": ^7.18.6 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: f4a4a1c079297bd5bbd4e96c000b7a1e838da3268460eaee8b523278b9a5611a3701494bcee1c5555bc9b6c93de0a73e7b907181172cc4960ff16488f2e952da + checksum: 04973305fc498dba165bcd31cac871f36733cfd6235a275b13b09178ec3c446ccad22a3cd9d3d22d18033ded1e74cb0531140de011350b4b2f4164997311b6b1 languageName: node linkType: hard @@ -1891,14 +1908,14 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-unicode-escapes@npm:^7.16.7, @babel/plugin-transform-unicode-escapes@npm:^7.18.6": - version: 7.18.6 - resolution: "@babel/plugin-transform-unicode-escapes@npm:7.18.6" +"@babel/plugin-transform-unicode-escapes@npm:^7.16.7, @babel/plugin-transform-unicode-escapes@npm:^7.18.10": + version: 7.18.10 + resolution: "@babel/plugin-transform-unicode-escapes@npm:7.18.10" dependencies: - "@babel/helper-plugin-utils": ^7.18.6 + "@babel/helper-plugin-utils": ^7.18.9 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: d28fdde094209002d2a0bc6242abd7e768802f809acac89ea2aa88b61ab5103548e4822740f00cf0fc76f2e12fadc0a06a01661fa1805e0338d3350b18b5f7ce + checksum: 1587c3497549a4ad1b75d5b63f1d6ced839d4078dc7df3b5df362c8669f3e9cbed975d5c55632bf8c574847d8df03553851e1b85d1e81a568fdfd2466fcd4198 languageName: node linkType: hard @@ -2009,16 +2026,16 @@ __metadata: linkType: hard "@babel/preset-env@npm:^7.11.0, @babel/preset-env@npm:^7.12.1, @babel/preset-env@npm:^7.12.11, @babel/preset-env@npm:^7.12.16, @babel/preset-env@npm:^7.16.11, @babel/preset-env@npm:^7.16.4, @babel/preset-env@npm:^7.16.5, @babel/preset-env@npm:^7.17.10": - version: 7.18.9 - resolution: "@babel/preset-env@npm:7.18.9" + version: 7.19.0 + resolution: "@babel/preset-env@npm:7.19.0" dependencies: - "@babel/compat-data": ^7.18.8 - "@babel/helper-compilation-targets": ^7.18.9 - "@babel/helper-plugin-utils": ^7.18.9 + "@babel/compat-data": ^7.19.0 + "@babel/helper-compilation-targets": ^7.19.0 + "@babel/helper-plugin-utils": ^7.19.0 "@babel/helper-validator-option": ^7.18.6 "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": ^7.18.6 "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": ^7.18.9 - "@babel/plugin-proposal-async-generator-functions": ^7.18.6 + "@babel/plugin-proposal-async-generator-functions": ^7.19.0 "@babel/plugin-proposal-class-properties": ^7.18.6 "@babel/plugin-proposal-class-static-block": ^7.18.6 "@babel/plugin-proposal-dynamic-import": ^7.18.6 @@ -2052,9 +2069,9 @@ __metadata: "@babel/plugin-transform-async-to-generator": ^7.18.6 "@babel/plugin-transform-block-scoped-functions": ^7.18.6 "@babel/plugin-transform-block-scoping": ^7.18.9 - "@babel/plugin-transform-classes": ^7.18.9 + "@babel/plugin-transform-classes": ^7.19.0 "@babel/plugin-transform-computed-properties": ^7.18.9 - "@babel/plugin-transform-destructuring": ^7.18.9 + "@babel/plugin-transform-destructuring": ^7.18.13 "@babel/plugin-transform-dotall-regex": ^7.18.6 "@babel/plugin-transform-duplicate-keys": ^7.18.9 "@babel/plugin-transform-exponentiation-operator": ^7.18.6 @@ -2064,9 +2081,9 @@ __metadata: "@babel/plugin-transform-member-expression-literals": ^7.18.6 "@babel/plugin-transform-modules-amd": ^7.18.6 "@babel/plugin-transform-modules-commonjs": ^7.18.6 - "@babel/plugin-transform-modules-systemjs": ^7.18.9 + "@babel/plugin-transform-modules-systemjs": ^7.19.0 "@babel/plugin-transform-modules-umd": ^7.18.6 - "@babel/plugin-transform-named-capturing-groups-regex": ^7.18.6 + "@babel/plugin-transform-named-capturing-groups-regex": ^7.19.0 "@babel/plugin-transform-new-target": ^7.18.6 "@babel/plugin-transform-object-super": ^7.18.6 "@babel/plugin-transform-parameters": ^7.18.8 @@ -2074,22 +2091,22 @@ __metadata: "@babel/plugin-transform-regenerator": ^7.18.6 "@babel/plugin-transform-reserved-words": ^7.18.6 "@babel/plugin-transform-shorthand-properties": ^7.18.6 - "@babel/plugin-transform-spread": ^7.18.9 + "@babel/plugin-transform-spread": ^7.19.0 "@babel/plugin-transform-sticky-regex": ^7.18.6 "@babel/plugin-transform-template-literals": ^7.18.9 "@babel/plugin-transform-typeof-symbol": ^7.18.9 - "@babel/plugin-transform-unicode-escapes": ^7.18.6 + "@babel/plugin-transform-unicode-escapes": ^7.18.10 "@babel/plugin-transform-unicode-regex": ^7.18.6 "@babel/preset-modules": ^0.1.5 - "@babel/types": ^7.18.9 - babel-plugin-polyfill-corejs2: ^0.3.1 - babel-plugin-polyfill-corejs3: ^0.5.2 - babel-plugin-polyfill-regenerator: ^0.3.1 + "@babel/types": ^7.19.0 + babel-plugin-polyfill-corejs2: ^0.3.2 + babel-plugin-polyfill-corejs3: ^0.5.3 + babel-plugin-polyfill-regenerator: ^0.4.0 core-js-compat: ^3.22.1 semver: ^6.3.0 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 536c6e2c44fabc98434de2014477220b6284d3fa1f1edf615b092e5e213544fc42c97b2fbac4ccb282875d5587cc5dac3438e62999c03031859688bb6c063a38 + checksum: e46f4dfad19e6cc307150bf380b12e033054a2eb001344585f0b67977568ff386ea6381cac802fa4347a83accd5bd7500f185b0d6650ccd4e128df7bc72d1a8d languageName: node linkType: hard @@ -2150,7 +2167,7 @@ __metadata: languageName: node linkType: hard -"@babel/register@npm:^7.12.1, @babel/register@npm:^7.13.16": +"@babel/register@npm:^7.13.16": version: 7.18.9 resolution: "@babel/register@npm:7.18.9" dependencies: @@ -2166,12 +2183,12 @@ __metadata: linkType: hard "@babel/runtime-corejs3@npm:^7.10.2": - version: 7.18.9 - resolution: "@babel/runtime-corejs3@npm:7.18.9" + version: 7.19.0 + resolution: "@babel/runtime-corejs3@npm:7.19.0" dependencies: core-js-pure: ^3.20.2 regenerator-runtime: ^0.13.4 - checksum: 5218e4df9b52b60231afa1e3f5c0e54d6c2167a466d1ecbc1603b19c7a6f73fb755d4bd021f87f3706d704029f7cd2e20a13445dd3b0a62886bb3b041fc6623d + checksum: cd852856cf78025c57579d1067831dcfec9e6d144a8f51078076af9792cfd24a9a866d28cd04c5ab7d3173d9db5afbdba3351639fd75979ef9f5da315522ffad languageName: node linkType: hard @@ -2202,12 +2219,12 @@ __metadata: languageName: node linkType: hard -"@babel/runtime@npm:^7.0.0, @babel/runtime@npm:^7.1.2, @babel/runtime@npm:^7.10.2, @babel/runtime@npm:^7.10.5, @babel/runtime@npm:^7.11.2, @babel/runtime@npm:^7.12.13, @babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.13.10, @babel/runtime@npm:^7.14.8, @babel/runtime@npm:^7.16.3, @babel/runtime@npm:^7.17.2, @babel/runtime@npm:^7.17.8, @babel/runtime@npm:^7.18.3, @babel/runtime@npm:^7.3.1, @babel/runtime@npm:^7.5.0, @babel/runtime@npm:^7.7.2, @babel/runtime@npm:^7.7.6, @babel/runtime@npm:^7.8.4, @babel/runtime@npm:^7.9.2": - version: 7.18.9 - resolution: "@babel/runtime@npm:7.18.9" +"@babel/runtime@npm:^7.1.2, @babel/runtime@npm:^7.10.2, @babel/runtime@npm:^7.10.5, @babel/runtime@npm:^7.11.2, @babel/runtime@npm:^7.12.13, @babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.14.8, @babel/runtime@npm:^7.16.3, @babel/runtime@npm:^7.17.2, @babel/runtime@npm:^7.17.8, @babel/runtime@npm:^7.18.3, @babel/runtime@npm:^7.18.9, @babel/runtime@npm:^7.3.1, @babel/runtime@npm:^7.5.0, @babel/runtime@npm:^7.7.2, @babel/runtime@npm:^7.7.6, @babel/runtime@npm:^7.8.4, @babel/runtime@npm:^7.9.2": + version: 7.19.0 + resolution: "@babel/runtime@npm:7.19.0" dependencies: regenerator-runtime: ^0.13.4 - checksum: f996fca79e2cd3c80289c2655e95358254f0437ca28cf10ec4343498dd4a59002fc506d5ce6f37019f1a961e8f26ce43523844ee5a87412d32c17a8ef2f608ee + checksum: 42d4f11d6a5bfcf5a3d05346e7f1aef79a53b9e1968b4dc54a0682df60284300c97de3be63f4d5dd47b404d3a1022a8a57444b5d150822ec8974757de7233f6e languageName: node linkType: hard @@ -2242,42 +2259,43 @@ __metadata: languageName: node linkType: hard -"@babel/template@npm:^7.0.0, @babel/template@npm:^7.12.7, @babel/template@npm:^7.16.7, @babel/template@npm:^7.18.6, @babel/template@npm:^7.3.3, @babel/template@npm:^7.4.0, @babel/template@npm:^7.7.0, @babel/template@npm:^7.8.6": - version: 7.18.6 - resolution: "@babel/template@npm:7.18.6" +"@babel/template@npm:^7.0.0, @babel/template@npm:^7.12.7, @babel/template@npm:^7.16.7, @babel/template@npm:^7.18.10, @babel/template@npm:^7.3.3, @babel/template@npm:^7.4.0, @babel/template@npm:^7.7.0, @babel/template@npm:^7.8.6": + version: 7.18.10 + resolution: "@babel/template@npm:7.18.10" dependencies: "@babel/code-frame": ^7.18.6 - "@babel/parser": ^7.18.6 - "@babel/types": ^7.18.6 - checksum: 9fc04d4e68d77d5988931ad53d2b3b42763e25d21208fc4d04ebc873853d7659ac7d4af05d229cf4e9906af39ea4726533f1a712717e66b27a570d26961f4984 + "@babel/parser": ^7.18.10 + "@babel/types": ^7.18.10 + checksum: d807944427b8899125e71687d2f631731e44a64a155d39e479ff9d1eaf5341de78c5c19cf64d3341bd676e16f779f13b588aac0ec75bf65f822d8936ee227490 languageName: node linkType: hard -"@babel/traverse@npm:^7.0.0, @babel/traverse@npm:^7.1.0, @babel/traverse@npm:^7.1.6, @babel/traverse@npm:^7.12.11, @babel/traverse@npm:^7.12.9, @babel/traverse@npm:^7.13.0, @babel/traverse@npm:^7.16.10, @babel/traverse@npm:^7.18.9, @babel/traverse@npm:^7.4.3, @babel/traverse@npm:^7.4.5, @babel/traverse@npm:^7.7.0, @babel/traverse@npm:^7.7.2, @babel/traverse@npm:^7.8.6": - version: 7.18.9 - resolution: "@babel/traverse@npm:7.18.9" +"@babel/traverse@npm:^7.0.0, @babel/traverse@npm:^7.1.0, @babel/traverse@npm:^7.1.6, @babel/traverse@npm:^7.12.11, @babel/traverse@npm:^7.12.9, @babel/traverse@npm:^7.16.10, @babel/traverse@npm:^7.18.9, @babel/traverse@npm:^7.19.0, @babel/traverse@npm:^7.4.3, @babel/traverse@npm:^7.4.5, @babel/traverse@npm:^7.7.0, @babel/traverse@npm:^7.7.2, @babel/traverse@npm:^7.8.6": + version: 7.19.0 + resolution: "@babel/traverse@npm:7.19.0" dependencies: "@babel/code-frame": ^7.18.6 - "@babel/generator": ^7.18.9 + "@babel/generator": ^7.19.0 "@babel/helper-environment-visitor": ^7.18.9 - "@babel/helper-function-name": ^7.18.9 + "@babel/helper-function-name": ^7.19.0 "@babel/helper-hoist-variables": ^7.18.6 "@babel/helper-split-export-declaration": ^7.18.6 - "@babel/parser": ^7.18.9 - "@babel/types": ^7.18.9 + "@babel/parser": ^7.19.0 + "@babel/types": ^7.19.0 debug: ^4.1.0 globals: ^11.1.0 - checksum: b7d272a4df6667e59bf451d0477af521305e3e781b64eeec4a5a39e559c1bcbfca853f7e5da7451b6499558edb76a03ac8bc4850bbc43c185a8719d10657420a + checksum: ea982dfe9b6edfbbb3314fd5bf2ed146937c90e70ddb90b54d6c2c2d77a2099287686485aba9a732134d0d1e587642d72b396b94bad9f54d8dec052302d4bb61 languageName: node linkType: hard -"@babel/types@npm:^7.0.0, @babel/types@npm:^7.11.5, @babel/types@npm:^7.12.11, @babel/types@npm:^7.12.6, @babel/types@npm:^7.12.7, @babel/types@npm:^7.13.12, @babel/types@npm:^7.16.7, @babel/types@npm:^7.16.8, @babel/types@npm:^7.18.6, @babel/types@npm:^7.18.9, @babel/types@npm:^7.2.0, @babel/types@npm:^7.3.0, @babel/types@npm:^7.3.3, @babel/types@npm:^7.4.0, @babel/types@npm:^7.4.4, @babel/types@npm:^7.6.1, @babel/types@npm:^7.7.0, @babel/types@npm:^7.7.2, @babel/types@npm:^7.8.3, @babel/types@npm:^7.8.6, @babel/types@npm:^7.8.7, @babel/types@npm:^7.9.6": - version: 7.18.9 - resolution: "@babel/types@npm:7.18.9" +"@babel/types@npm:^7.0.0, @babel/types@npm:^7.11.5, @babel/types@npm:^7.12.11, @babel/types@npm:^7.12.6, @babel/types@npm:^7.12.7, @babel/types@npm:^7.16.7, @babel/types@npm:^7.16.8, @babel/types@npm:^7.18.10, @babel/types@npm:^7.18.6, @babel/types@npm:^7.18.8, @babel/types@npm:^7.18.9, @babel/types@npm:^7.19.0, @babel/types@npm:^7.2.0, @babel/types@npm:^7.3.0, @babel/types@npm:^7.3.3, @babel/types@npm:^7.4.0, @babel/types@npm:^7.4.4, @babel/types@npm:^7.6.1, @babel/types@npm:^7.7.0, @babel/types@npm:^7.7.2, @babel/types@npm:^7.8.3, @babel/types@npm:^7.8.6, @babel/types@npm:^7.8.7, @babel/types@npm:^7.9.6": + version: 7.19.0 + resolution: "@babel/types@npm:7.19.0" dependencies: + "@babel/helper-string-parser": ^7.18.10 "@babel/helper-validator-identifier": ^7.18.6 to-fast-properties: ^2.0.0 - checksum: 4391ac535976ffca0b55403e6b50f6c1cbdae116b02693b10853e0e3f7d888deaf0bbd7c097d6dabf256607aa6648df990d7423e2d89f50aa551e7a5fa3067df + checksum: 36b9360aa2d29fe515963b7c7014de3d66eb8c17315d00c65d82ab46b44482d5ba898aa3b5bc84887e6304b5456f2dbfe46e21851ca514f98106d8d47fbc3a0f languageName: node linkType: hard @@ -2422,19 +2440,19 @@ __metadata: languageName: node linkType: hard -"@csstools/postcss-cascade-layers@npm:^1.0.4": - version: 1.0.5 - resolution: "@csstools/postcss-cascade-layers@npm:1.0.5" +"@csstools/postcss-cascade-layers@npm:^1.0.6": + version: 1.0.6 + resolution: "@csstools/postcss-cascade-layers@npm:1.0.6" dependencies: "@csstools/selector-specificity": ^2.0.2 postcss-selector-parser: ^6.0.10 peerDependencies: postcss: ^8.2 - checksum: 07bd538de3332dabfcdc0498a870244a956e5eac1748cd7c8f8523af11e7c44a0a6cfa208fa5852d239eaa84adab60437275f7785482922d8e8371693fa0583f + checksum: 1225076da359bc38a05eadee559ab3cf0e2af318b2904c6bd81545ec53585c0a92c4e145478a0d832c1d6d8563cd3af293a960df18023de7deae4dd1a31f6cd1 languageName: node linkType: hard -"@csstools/postcss-color-function@npm:^1.1.0": +"@csstools/postcss-color-function@npm:^1.1.1": version: 1.1.1 resolution: "@csstools/postcss-color-function@npm:1.1.1" dependencies: @@ -2446,7 +2464,7 @@ __metadata: languageName: node linkType: hard -"@csstools/postcss-font-format-keywords@npm:^1.0.0": +"@csstools/postcss-font-format-keywords@npm:^1.0.1": version: 1.0.1 resolution: "@csstools/postcss-font-format-keywords@npm:1.0.1" dependencies: @@ -2457,7 +2475,7 @@ __metadata: languageName: node linkType: hard -"@csstools/postcss-hwb-function@npm:^1.0.1": +"@csstools/postcss-hwb-function@npm:^1.0.2": version: 1.0.2 resolution: "@csstools/postcss-hwb-function@npm:1.0.2" dependencies: @@ -2468,7 +2486,7 @@ __metadata: languageName: node linkType: hard -"@csstools/postcss-ic-unit@npm:^1.0.0": +"@csstools/postcss-ic-unit@npm:^1.0.1": version: 1.0.1 resolution: "@csstools/postcss-ic-unit@npm:1.0.1" dependencies: @@ -2480,7 +2498,7 @@ __metadata: languageName: node linkType: hard -"@csstools/postcss-is-pseudo-class@npm:^2.0.6": +"@csstools/postcss-is-pseudo-class@npm:^2.0.7": version: 2.0.7 resolution: "@csstools/postcss-is-pseudo-class@npm:2.0.7" dependencies: @@ -2492,7 +2510,18 @@ __metadata: languageName: node linkType: hard -"@csstools/postcss-normalize-display-values@npm:^1.0.0": +"@csstools/postcss-nested-calc@npm:^1.0.0": + version: 1.0.0 + resolution: "@csstools/postcss-nested-calc@npm:1.0.0" + dependencies: + postcss-value-parser: ^4.2.0 + peerDependencies: + postcss: ^8.2 + checksum: b737ed55581282c9c23b65e6b6fbc7be26f354f384c617f1f73cc252f5d9f4b3386f9b3eef5267efc84452c329895dd438864b6e4f46b0fc7d37045e00a4408c + languageName: node + linkType: hard + +"@csstools/postcss-normalize-display-values@npm:^1.0.1": version: 1.0.1 resolution: "@csstools/postcss-normalize-display-values@npm:1.0.1" dependencies: @@ -2503,7 +2532,7 @@ __metadata: languageName: node linkType: hard -"@csstools/postcss-oklab-function@npm:^1.1.0": +"@csstools/postcss-oklab-function@npm:^1.1.1": version: 1.1.1 resolution: "@csstools/postcss-oklab-function@npm:1.1.1" dependencies: @@ -2526,7 +2555,7 @@ __metadata: languageName: node linkType: hard -"@csstools/postcss-stepped-value-functions@npm:^1.0.0": +"@csstools/postcss-stepped-value-functions@npm:^1.0.1": version: 1.0.1 resolution: "@csstools/postcss-stepped-value-functions@npm:1.0.1" dependencies: @@ -2537,7 +2566,18 @@ __metadata: languageName: node linkType: hard -"@csstools/postcss-trigonometric-functions@npm:^1.0.1": +"@csstools/postcss-text-decoration-shorthand@npm:^1.0.0": + version: 1.0.0 + resolution: "@csstools/postcss-text-decoration-shorthand@npm:1.0.0" + dependencies: + postcss-value-parser: ^4.2.0 + peerDependencies: + postcss: ^8.2 + checksum: 1aadbc9d7966af0bc7d459cdf34d9814e721635210d1082df277ea623820d6119058d519f6f0f027ec03026793568c7c7adf831479faafc6ff8de76a3d866a31 + languageName: node + linkType: hard + +"@csstools/postcss-trigonometric-functions@npm:^1.0.2": version: 1.0.2 resolution: "@csstools/postcss-trigonometric-functions@npm:1.0.2" dependencies: @@ -2548,7 +2588,7 @@ __metadata: languageName: node linkType: hard -"@csstools/postcss-unset-value@npm:^1.0.1": +"@csstools/postcss-unset-value@npm:^1.0.2": version: 1.0.2 resolution: "@csstools/postcss-unset-value@npm:1.0.2" peerDependencies: @@ -2601,8 +2641,8 @@ __metadata: linkType: hard "@cypress/webpack-preprocessor@npm:^5.9.1": - version: 5.12.0 - resolution: "@cypress/webpack-preprocessor@npm:5.12.0" + version: 5.12.2 + resolution: "@cypress/webpack-preprocessor@npm:5.12.2" dependencies: bluebird: 3.7.1 debug: ^4.3.2 @@ -2612,7 +2652,7 @@ __metadata: "@babel/preset-env": ^7.0.0 babel-loader: ^8.0.2 webpack: ^4 || ^5 - checksum: 529e7d39bd4d3194892e696ccbe58105ed4e4caa8c60c2679c06a81227052fd9c309f760a633fcc441962b3406cd5e5c97aae0b264f197369663fa67ae6d161e + checksum: d295234d9802b6aaf37014fdcc7199d799e68d746c42f180b59f0f586f76ac91527b2570cbb29a6987a7bf59bd8f6a196c352e3e4f3948ff1625e1d58a61ce7a languageName: node linkType: hard @@ -2693,22 +2733,22 @@ __metadata: linkType: hard "@digitak/esrun@npm:^3.2.2": - version: 3.2.8 - resolution: "@digitak/esrun@npm:3.2.8" + version: 3.2.11 + resolution: "@digitak/esrun@npm:3.2.11" dependencies: "@digitak/grubber": ^3.1.1 chokidar: ^3.5.1 esbuild: ^0.14.47 bin: esrun: bin.js - checksum: 1f18617923f6cb623291f79c462ae48c7d0d2fe0d548ed054a59e975114ef411cc14e73812ba22a20087c33a0c4459a5ee9b2d4c650684c84caed3fd94b505b5 + checksum: ec3fa94e6d77b757b25d5f9c614c7a3e2f1145d54a73f7e4af2a8e45bda0d7bfcfa4d9d8c0b2f59ae6e1de63e42a202ecc76ae85c544ae6166235afaac922805 languageName: node linkType: hard "@digitak/grubber@npm:^3.1.1": - version: 3.1.2 - resolution: "@digitak/grubber@npm:3.1.2" - checksum: 80b463d77b94949064da81ffb8af6eb53a9787d33b700ea248feebf6eecb4ac39c5d12c627bd5c1c8fa4e77136852c276d1c6b953738e00efe621e222bc1f788 + version: 3.1.3 + resolution: "@digitak/grubber@npm:3.1.3" + checksum: c6d4570af921e006f7db0bab5c0f156a6238a0eda817df2029f2aade622ccc9c9923ba457a70eaa55b315c4940392a81b1af5133b3fa75c6c600f4eb25fbe70b languageName: node linkType: hard @@ -2719,7 +2759,7 @@ __metadata: languageName: node linkType: hard -"@discoveryjs/json-ext@npm:^0.5.0, @discoveryjs/json-ext@npm:^0.5.3": +"@discoveryjs/json-ext@npm:^0.5.0, @discoveryjs/json-ext@npm:^0.5.3, @discoveryjs/json-ext@npm:^0.5.7": version: 0.5.7 resolution: "@discoveryjs/json-ext@npm:0.5.7" checksum: e10f1b02b78e4812646ddf289b7d9f2cb567d336c363b266bd50cd223cf3de7c2c74018d91cd2613041568397ef3a4a2b500aba588c6e5bd78c38374ba68f38c @@ -2754,17 +2794,17 @@ __metadata: languageName: node linkType: hard -"@emotion/babel-plugin@npm:^11.7.1, @emotion/babel-plugin@npm:^11.7.2": - version: 11.9.2 - resolution: "@emotion/babel-plugin@npm:11.9.2" +"@emotion/babel-plugin@npm:^11.10.0, @emotion/babel-plugin@npm:^11.7.2": + version: 11.10.2 + resolution: "@emotion/babel-plugin@npm:11.10.2" dependencies: - "@babel/helper-module-imports": ^7.12.13 - "@babel/plugin-syntax-jsx": ^7.12.13 - "@babel/runtime": ^7.13.10 - "@emotion/hash": ^0.8.0 - "@emotion/memoize": ^0.7.5 - "@emotion/serialize": ^1.0.2 - babel-plugin-macros: ^2.6.1 + "@babel/helper-module-imports": ^7.16.7 + "@babel/plugin-syntax-jsx": ^7.17.12 + "@babel/runtime": ^7.18.3 + "@emotion/hash": ^0.9.0 + "@emotion/memoize": ^0.8.0 + "@emotion/serialize": ^1.1.0 + babel-plugin-macros: ^3.1.0 convert-source-map: ^1.5.0 escape-string-regexp: ^4.0.0 find-root: ^1.1.0 @@ -2772,37 +2812,37 @@ __metadata: stylis: 4.0.13 peerDependencies: "@babel/core": ^7.0.0 - checksum: 337d683a657f14fd9f30a50561794e9b7b986c4dfa3de4747defb38f7f352eedae56bf73b1ff6e315f05e938b7e6c11e100c3a1485722d9bcdc4018f32b9b9a1 + checksum: 571876a4b1445c07c1a54721ab5ae72dbe4194586bceacf2b1891dce5e86755bff7e84c00af9fd047d8b96bf6a407ad8d6fcc2c788174857f84ec3c316c5c35c languageName: node linkType: hard -"@emotion/cache@npm:^11.7.1, @emotion/cache@npm:^11.9.3": - version: 11.9.3 - resolution: "@emotion/cache@npm:11.9.3" +"@emotion/cache@npm:^11.10.0, @emotion/cache@npm:^11.7.1": + version: 11.10.3 + resolution: "@emotion/cache@npm:11.10.3" dependencies: - "@emotion/memoize": ^0.7.4 - "@emotion/sheet": ^1.1.1 - "@emotion/utils": ^1.0.0 - "@emotion/weak-memoize": ^0.2.5 + "@emotion/memoize": ^0.8.0 + "@emotion/sheet": ^1.2.0 + "@emotion/utils": ^1.2.0 + "@emotion/weak-memoize": ^0.3.0 stylis: 4.0.13 - checksum: 8592bc55bfe331ce8bd1bc4900a0fec801dc916d191400b8a4b10551ca37b05d3a21aa53cddd23929469f9e5361ef0591b03b6963da66cfe5d282df82e26e0a6 + checksum: 5dde04418566adbd0c83042acb1b85f354dc40bad83e33f951694a36d00559ceea2dfcf533b9d9381f1bb5df8dbb436a94725b6558762da7c83f3171f1c0dbbe languageName: node linkType: hard -"@emotion/css-prettifier@npm:^1.0.1": - version: 1.0.1 - resolution: "@emotion/css-prettifier@npm:1.0.1" +"@emotion/css-prettifier@npm:^1.1.0": + version: 1.1.0 + resolution: "@emotion/css-prettifier@npm:1.1.0" dependencies: - "@emotion/memoize": ^0.7.4 + "@emotion/memoize": ^0.8.0 stylis: 4.0.13 - checksum: bb5490433ede97e344ec7b374308cbb793d271d9044565bb735e1adf8ad28e2376e837bb020d7d58772ffeaee3360bced225c8bbc92f8c64b5b91bc9a56490c4 + checksum: 0ca881d7096678de456ed74ca2a28ed7f7a473829f7b91f8d9480d1404afb14f36adfbe8a5f789ef7cfabd08ac3dd9aa56d6285babd6b6ed031f2e92dc23fe1b languageName: node linkType: hard -"@emotion/hash@npm:^0.8.0": - version: 0.8.0 - resolution: "@emotion/hash@npm:0.8.0" - checksum: 706303d35d416217cd7eb0d36dbda4627bb8bdf4a32ea387e8dd99be11b8e0a998e10af21216e8a5fade518ad955ff06aa8890f20e694ce3a038ae7fc1000556 +"@emotion/hash@npm:^0.9.0": + version: 0.9.0 + resolution: "@emotion/hash@npm:0.9.0" + checksum: 0910d3e9ec46cc780f691c96fb6f6f67b4f080b50ecf4f441bc4b33b5906e28099f530a368fe0b31c6bad38a857ac44df3c36f8978be603789d71330ac01af12 languageName: node linkType: hard @@ -2815,21 +2855,21 @@ __metadata: languageName: node linkType: hard -"@emotion/is-prop-valid@npm:^1.1.2, @emotion/is-prop-valid@npm:^1.1.3": - version: 1.1.3 - resolution: "@emotion/is-prop-valid@npm:1.1.3" +"@emotion/is-prop-valid@npm:^1.1.2, @emotion/is-prop-valid@npm:^1.2.0": + version: 1.2.0 + resolution: "@emotion/is-prop-valid@npm:1.2.0" dependencies: - "@emotion/memoize": ^0.7.4 - checksum: 29b57699b1db1d6f0efdc86a65d161ffd7e715c17c14884fdbc31562c28166d0814284e3e79865bf1ffa21ca84aca3fa2a4b0d6cb68cde3c6b85faf16fa1727f + "@emotion/memoize": ^0.8.0 + checksum: 098bfde166ddbc3ad635157dff8dd8b90ceb5ee2804b3dbc9ffbffcac33955390d6c6e94dc36b1fde8c90f49dc1e1359dfdcd967906b006a3966382dbe8cc90b languageName: node linkType: hard "@emotion/jest@npm:^11.8.0": - version: 11.9.4 - resolution: "@emotion/jest@npm:11.9.4" + version: 11.10.0 + resolution: "@emotion/jest@npm:11.10.0" dependencies: - "@babel/runtime": ^7.13.10 - "@emotion/css-prettifier": ^1.0.1 + "@babel/runtime": ^7.18.3 + "@emotion/css-prettifier": ^1.1.0 chalk: ^4.1.0 specificity: ^0.4.1 stylis: 4.0.13 @@ -2841,7 +2881,7 @@ __metadata: optional: true enzyme-to-json: optional: true - checksum: 9a4649153cd8cbc87ced484e3c399c81daeaddb61f801c30f7b1fb1973794f4bda0a32e86dac0000f4d1490baeb7ff6226553cf0795a4eb3a8a7f04db764d10d + checksum: d1d566e3958fb17d1bc3fe37b398546bdfc92666a34c0281a27108d7630219af0c90ec05633ec7fc55794a5f714d517d1ee9489435620b40ec9982136ad6e16a languageName: node linkType: hard @@ -2852,23 +2892,24 @@ __metadata: languageName: node linkType: hard -"@emotion/memoize@npm:^0.7.4, @emotion/memoize@npm:^0.7.5": - version: 0.7.5 - resolution: "@emotion/memoize@npm:0.7.5" - checksum: 28d061ec9fb9b8c495d58b4e2dcc62207d75d4e8d8f4e6a0b42342d6e7c649d41461e807363d1a0a2c33d2235f6ee59dd6394fbec88b7da65e3d5852fc34387e +"@emotion/memoize@npm:^0.8.0": + version: 0.8.0 + resolution: "@emotion/memoize@npm:0.8.0" + checksum: 246087ec09b32b295af67a094253831f398aabd953d03d14f186acb8607ed2a755e944f5e20b5ccebb461f15c2e5ccbf8fe977bcf3be951cf10961c504e1e65b languageName: node linkType: hard "@emotion/react@npm:^11.8.1": - version: 11.9.3 - resolution: "@emotion/react@npm:11.9.3" - dependencies: - "@babel/runtime": ^7.13.10 - "@emotion/babel-plugin": ^11.7.1 - "@emotion/cache": ^11.9.3 - "@emotion/serialize": ^1.0.4 - "@emotion/utils": ^1.1.0 - "@emotion/weak-memoize": ^0.2.5 + version: 11.10.4 + resolution: "@emotion/react@npm:11.10.4" + dependencies: + "@babel/runtime": ^7.18.3 + "@emotion/babel-plugin": ^11.10.0 + "@emotion/cache": ^11.10.0 + "@emotion/serialize": ^1.1.0 + "@emotion/use-insertion-effect-with-fallbacks": ^1.0.0 + "@emotion/utils": ^1.2.0 + "@emotion/weak-memoize": ^0.3.0 hoist-non-react-statics: ^3.3.1 peerDependencies: "@babel/core": ^7.0.0 @@ -2878,39 +2919,40 @@ __metadata: optional: true "@types/react": optional: true - checksum: f32dbae3110d4c391d6ec51d8c3d86235303d858c8ebf1e90b3d35bcadeb73c0f4557e73ba824e9dbf7f269d0413bc2877e3f4bc2e2b1157b08fbb10b51e18eb + checksum: da447676d10050b14534f9e903d8a058d4cdfa82f58caf4da5c150a55b2019a8b45187989085faa4b075db92f7df7abe188eb76fe5377a57516631ccf299367b languageName: node linkType: hard -"@emotion/serialize@npm:^1.0.2, @emotion/serialize@npm:^1.0.4": - version: 1.0.4 - resolution: "@emotion/serialize@npm:1.0.4" +"@emotion/serialize@npm:^1.1.0": + version: 1.1.0 + resolution: "@emotion/serialize@npm:1.1.0" dependencies: - "@emotion/hash": ^0.8.0 - "@emotion/memoize": ^0.7.4 - "@emotion/unitless": ^0.7.5 - "@emotion/utils": ^1.0.0 + "@emotion/hash": ^0.9.0 + "@emotion/memoize": ^0.8.0 + "@emotion/unitless": ^0.8.0 + "@emotion/utils": ^1.2.0 csstype: ^3.0.2 - checksum: ad2d5aba32177ae305918ccebd1e7a8d1d2886dc2083d9a031853169f9713012aee998ddd8a3d62d63eade1cfa4c077de5b260ed664a77583428d3df65dd193a + checksum: a122fc4c34425bc76d0c72b14c8e0617ccc72709fbbed695c506ca493dc478df15eba0c1ec45807e7dd248430b2e0dbf8ba8fe9035832087138e0f8e51ac4100 languageName: node linkType: hard -"@emotion/sheet@npm:^1.1.1": - version: 1.1.1 - resolution: "@emotion/sheet@npm:1.1.1" - checksum: be65c618965123b9012eb9535e256a6ba172bd67389f91de8a38dd4db00bed2534e8f5a2b22e2ab2fabb41946259bedc1c18c09acd24021490484aeed9bb1f90 +"@emotion/sheet@npm:^1.2.0": + version: 1.2.0 + resolution: "@emotion/sheet@npm:1.2.0" + checksum: 8d759a5211e09ef260604fd97737641b00c4bc476974202f298dfc0ad3b1c42838b512ad55547296d0082a50ce9be68251a276d7d0cf97c93a53d287a087a1e5 languageName: node linkType: hard "@emotion/styled@npm:^11.8.1": - version: 11.9.3 - resolution: "@emotion/styled@npm:11.9.3" + version: 11.10.4 + resolution: "@emotion/styled@npm:11.10.4" dependencies: - "@babel/runtime": ^7.13.10 - "@emotion/babel-plugin": ^11.7.1 - "@emotion/is-prop-valid": ^1.1.3 - "@emotion/serialize": ^1.0.4 - "@emotion/utils": ^1.1.0 + "@babel/runtime": ^7.18.3 + "@emotion/babel-plugin": ^11.10.0 + "@emotion/is-prop-valid": ^1.2.0 + "@emotion/serialize": ^1.1.0 + "@emotion/use-insertion-effect-with-fallbacks": ^1.0.0 + "@emotion/utils": ^1.2.0 peerDependencies: "@babel/core": ^7.0.0 "@emotion/react": ^11.0.0-rc.0 @@ -2920,28 +2962,51 @@ __metadata: optional: true "@types/react": optional: true - checksum: 0f80eecde2a36cc1bc7065232ead9b4a4a9cba9a48fa8c508c8ae5cdcbfef36cce997f8087f47b008301f9b63ede76e5e43d2e7264a5a0548b8d179c492a41bc + checksum: 8067243991d31025967e993410298ca4c558e05e3b99e319d2734b022478001ac5b0fae7a010ba7fd5a74b762d264a17e5bddffbe09841c19857ab9b077077f3 languageName: node linkType: hard -"@emotion/unitless@npm:^0.7.0, @emotion/unitless@npm:^0.7.5": +"@emotion/unitless@npm:^0.7.0": version: 0.7.5 resolution: "@emotion/unitless@npm:0.7.5" checksum: 4d0d94f53cb97b4481bbfa394953e1899a0b877644642ba9dd7247c27eb8c48e14e22aeb11411d7d9874685ad85dd5fb5b50eb78c6d8840eb56a84b92dcef2f4 languageName: node linkType: hard -"@emotion/utils@npm:^1.0.0, @emotion/utils@npm:^1.1.0": - version: 1.1.0 - resolution: "@emotion/utils@npm:1.1.0" - checksum: 4659bb4c447fa8c5303fae5cae829c22ce29ba0d9e0a8fb1f3f33b8bfd9304a435af327abccbf133040eeb1771a572fad3e68decd267e26459b8ea6ea1f2ba68 +"@emotion/unitless@npm:^0.8.0": + version: 0.8.0 + resolution: "@emotion/unitless@npm:0.8.0" + checksum: 1f2cfb7c0ccb83c20b1c6d8d92a74a93da4b2a440f9a0d49ded08647faf299065a2ffde17e1335920fa10397b85f8635bbfe14f3cd29222a59ea81d978478072 languageName: node linkType: hard -"@emotion/weak-memoize@npm:^0.2.5": - version: 0.2.5 - resolution: "@emotion/weak-memoize@npm:0.2.5" - checksum: cabfaaecabbb407d323098afc0bb2dd2ec9aaea0672f8f2c54b84b99d5f8cc680356cf166583fd5593330ceef29f2c26554c2c65dff06c0a8f5f8c7da69d89f1 +"@emotion/use-insertion-effect-with-fallbacks@npm:^1.0.0": + version: 1.0.0 + resolution: "@emotion/use-insertion-effect-with-fallbacks@npm:1.0.0" + peerDependencies: + react: ">=16.8.0" + checksum: 0c5fbd36a4f416a5abaf428ba3dca6e79018c4c74016ecb4e3991a11cf8b5dbd306d7770fee09692971335e33f97e3b555deda595e5ae7831841505078bd07d7 + languageName: node + linkType: hard + +"@emotion/utils@npm:^1.2.0": + version: 1.2.0 + resolution: "@emotion/utils@npm:1.2.0" + checksum: 7051cec83bb49688549667484058d3a19a30001fa3692c23f7a2e727c05121f952854e1196feb9ece4fa36914705ebf474edba833a2178bdc133c654b5e3ca7d + languageName: node + linkType: hard + +"@emotion/weak-memoize@npm:^0.3.0": + version: 0.3.0 + resolution: "@emotion/weak-memoize@npm:0.3.0" + checksum: 1771687cc3b3280371de12698f1b78756c64654fc7d15ce76e1fb5d4adf9fd49d4411e41276bbfd5b521ef9cef647196aa9dca26f936c466fb80bf48491fa844 + languageName: node + linkType: hard + +"@esbuild/linux-loong64@npm:0.14.54": + version: 0.14.54 + resolution: "@esbuild/linux-loong64@npm:0.14.54" + conditions: os=linux & cpu=loong64 languageName: node linkType: hard @@ -3221,7 +3286,7 @@ __metadata: languageName: node linkType: hard -"@jest/console@npm:^28.1.3": +"@jest/console@npm:^28.1.1, @jest/console@npm:^28.1.3": version: 28.1.3 resolution: "@jest/console@npm:28.1.3" dependencies: @@ -3360,6 +3425,34 @@ __metadata: languageName: node linkType: hard +"@jest/expect-utils@npm:^28.1.3": + version: 28.1.3 + resolution: "@jest/expect-utils@npm:28.1.3" + dependencies: + jest-get-type: ^28.0.2 + checksum: 6cb424bf24c9a20d7420601fb5599a563f09c1771cc8df3399a291f77f3cb512cfa06e6b0bce23b8b078d333d2713572fae298c6a017ca9bbe26d6b05f7bae46 + languageName: node + linkType: hard + +"@jest/expect-utils@npm:^29.0.2": + version: 29.0.2 + resolution: "@jest/expect-utils@npm:29.0.2" + dependencies: + jest-get-type: ^29.0.0 + checksum: 170125c120659bd0e4aeb59e1e162f9aba96374e1e3487f43ecce25fbd401d5a8c76f91b84e4bf05f38cac69fa0b745024f2b6f6cc89d6e81497fac4d630fe36 + languageName: node + linkType: hard + +"@jest/expect@npm:^28.1.3": + version: 28.1.3 + resolution: "@jest/expect@npm:28.1.3" + dependencies: + expect: ^28.1.3 + jest-snapshot: ^28.1.3 + checksum: 6000cd5322bca35b9e920a822f3e093d01d646508e5eb639f0a2577f203f15143315b93e79e412525e7312a2290e1bac979b26f6417ebaf50799a3a38eb6d011 + languageName: node + linkType: hard + "@jest/fake-timers@npm:^24.9.0": version: 24.9.0 resolution: "@jest/fake-timers@npm:24.9.0" @@ -3435,41 +3528,52 @@ __metadata: languageName: node linkType: hard -"@jest/reporters@npm:27.5.1, @jest/reporters@npm:^27.5.1": - version: 27.5.1 - resolution: "@jest/reporters@npm:27.5.1" +"@jest/globals@npm:^28.1.3": + version: 28.1.3 + resolution: "@jest/globals@npm:28.1.3" + dependencies: + "@jest/environment": ^28.1.3 + "@jest/expect": ^28.1.3 + "@jest/types": ^28.1.3 + checksum: de95367a5e7312b643bfa5f6ac760fbfa4ac626abec11444702bc08506c32e9da44fc5ad5bf3049115b0757533cb0f4b90be3eb7fcea5d4ef06c31fe8ed0b579 + languageName: node + linkType: hard + +"@jest/reporters@npm:28.1.1": + version: 28.1.1 + resolution: "@jest/reporters@npm:28.1.1" dependencies: "@bcoe/v8-coverage": ^0.2.3 - "@jest/console": ^27.5.1 - "@jest/test-result": ^27.5.1 - "@jest/transform": ^27.5.1 - "@jest/types": ^27.5.1 + "@jest/console": ^28.1.1 + "@jest/test-result": ^28.1.1 + "@jest/transform": ^28.1.1 + "@jest/types": ^28.1.1 + "@jridgewell/trace-mapping": ^0.3.7 "@types/node": "*" chalk: ^4.0.0 collect-v8-coverage: ^1.0.0 exit: ^0.1.2 - glob: ^7.1.2 + glob: ^7.1.3 graceful-fs: ^4.2.9 istanbul-lib-coverage: ^3.0.0 istanbul-lib-instrument: ^5.1.0 istanbul-lib-report: ^3.0.0 istanbul-lib-source-maps: ^4.0.0 istanbul-reports: ^3.1.3 - jest-haste-map: ^27.5.1 - jest-resolve: ^27.5.1 - jest-util: ^27.5.1 - jest-worker: ^27.5.1 + jest-message-util: ^28.1.1 + jest-util: ^28.1.1 + jest-worker: ^28.1.1 slash: ^3.0.0 - source-map: ^0.6.0 string-length: ^4.0.1 + strip-ansi: ^6.0.0 terminal-link: ^2.0.0 - v8-to-istanbul: ^8.1.0 + v8-to-istanbul: ^9.0.0 peerDependencies: node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 peerDependenciesMeta: node-notifier: optional: true - checksum: fd66b17ca8af0464759d12525cfd84ae87403132da61f18ee76a2f07ecd64427797f7ad6e56d338ffa9f956cce153444edf1e5775093e9be2903aaf4d0e049bc + checksum: b3f7049fa53471fa413dade6b87cd2ba812d3ad5b4cb6d52c21f01572e944af736f4aaf82650d7827a9216f7cf1617db21d1fffd837144a515ef5ae8ea91bab1 languageName: node linkType: hard @@ -3509,6 +3613,44 @@ __metadata: languageName: node linkType: hard +"@jest/reporters@npm:^27.5.1": + version: 27.5.1 + resolution: "@jest/reporters@npm:27.5.1" + dependencies: + "@bcoe/v8-coverage": ^0.2.3 + "@jest/console": ^27.5.1 + "@jest/test-result": ^27.5.1 + "@jest/transform": ^27.5.1 + "@jest/types": ^27.5.1 + "@types/node": "*" + chalk: ^4.0.0 + collect-v8-coverage: ^1.0.0 + exit: ^0.1.2 + glob: ^7.1.2 + graceful-fs: ^4.2.9 + istanbul-lib-coverage: ^3.0.0 + istanbul-lib-instrument: ^5.1.0 + istanbul-lib-report: ^3.0.0 + istanbul-lib-source-maps: ^4.0.0 + istanbul-reports: ^3.1.3 + jest-haste-map: ^27.5.1 + jest-resolve: ^27.5.1 + jest-util: ^27.5.1 + jest-worker: ^27.5.1 + slash: ^3.0.0 + source-map: ^0.6.0 + string-length: ^4.0.1 + terminal-link: ^2.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: fd66b17ca8af0464759d12525cfd84ae87403132da61f18ee76a2f07ecd64427797f7ad6e56d338ffa9f956cce153444edf1e5775093e9be2903aaf4d0e049bc + languageName: node + linkType: hard + "@jest/schemas@npm:^28.1.3": version: 28.1.3 resolution: "@jest/schemas@npm:28.1.3" @@ -3518,6 +3660,15 @@ __metadata: languageName: node linkType: hard +"@jest/schemas@npm:^29.0.0": + version: 29.0.0 + resolution: "@jest/schemas@npm:29.0.0" + dependencies: + "@sinclair/typebox": ^0.24.1 + checksum: 08c2f6b0237f52ab9448eb6633561ee1e499871082ac41a51b581e91571f6da317b4be0529307caf4cb3fd50798f7c096665db6bb2b5dde999a2c0c08b8775c9 + languageName: node + linkType: hard + "@jest/source-map@npm:^24.9.0": version: 24.9.0 resolution: "@jest/source-map@npm:24.9.0" @@ -3551,15 +3702,26 @@ __metadata: languageName: node linkType: hard -"@jest/test-result@npm:27.5.1, @jest/test-result@npm:^27.5.1": - version: 27.5.1 - resolution: "@jest/test-result@npm:27.5.1" +"@jest/source-map@npm:^28.1.2": + version: 28.1.2 + resolution: "@jest/source-map@npm:28.1.2" dependencies: - "@jest/console": ^27.5.1 - "@jest/types": ^27.5.1 + "@jridgewell/trace-mapping": ^0.3.13 + callsites: ^3.0.0 + graceful-fs: ^4.2.9 + checksum: 535036de941aa98bff1c46a77fb2e98ec1f78f5b101a8c8b3c1a7e3e863a1a71ea3aef111afc4ef9d44c39b4e7e7c8384412d0a685138a92c6d522fdb8cd5b3b + languageName: node + linkType: hard + +"@jest/test-result@npm:28.1.1": + version: 28.1.1 + resolution: "@jest/test-result@npm:28.1.1" + dependencies: + "@jest/console": ^28.1.1 + "@jest/types": ^28.1.1 "@types/istanbul-lib-coverage": ^2.0.0 collect-v8-coverage: ^1.0.0 - checksum: 4fb8cbefda8f645c57e2fc0d0df169b0bf5f6cb456b42dc09f5138595b736e800d8d83e3fd36a47fd801a2359988c841792d7fc46784bec908c88b39b6581749 + checksum: f79c3324b15e0afe761720b263c864540ac65a356fb40646fe2c6a11cba49417d61ff1e3efef579ad495c69596d88bcf1f8e74c28345300aa9438bbcd39229b1 languageName: node linkType: hard @@ -3586,7 +3748,19 @@ __metadata: languageName: node linkType: hard -"@jest/test-result@npm:^28.1.3": +"@jest/test-result@npm:^27.5.1": + version: 27.5.1 + resolution: "@jest/test-result@npm:27.5.1" + dependencies: + "@jest/console": ^27.5.1 + "@jest/types": ^27.5.1 + "@types/istanbul-lib-coverage": ^2.0.0 + collect-v8-coverage: ^1.0.0 + checksum: 4fb8cbefda8f645c57e2fc0d0df169b0bf5f6cb456b42dc09f5138595b736e800d8d83e3fd36a47fd801a2359988c841792d7fc46784bec908c88b39b6581749 + languageName: node + linkType: hard + +"@jest/test-result@npm:^28.1.1, @jest/test-result@npm:^28.1.3": version: 28.1.3 resolution: "@jest/test-result@npm:28.1.3" dependencies: @@ -3623,6 +3797,18 @@ __metadata: languageName: node linkType: hard +"@jest/test-sequencer@npm:^28.1.1": + version: 28.1.3 + resolution: "@jest/test-sequencer@npm:28.1.3" + dependencies: + "@jest/test-result": ^28.1.3 + graceful-fs: ^4.2.9 + jest-haste-map: ^28.1.3 + slash: ^3.0.0 + checksum: 7401537789902edc9c0cf2333a5052e8f8d936aa45ac4074fa1dc0af928c8a53e4b21802019bc4b6c01a66be2aba6d9aaa04ab97c6729a123476d9cf4f69eace + languageName: node + linkType: hard + "@jest/transform@npm:^24.9.0": version: 24.9.0 resolution: "@jest/transform@npm:24.9.0" @@ -3693,6 +3879,29 @@ __metadata: languageName: node linkType: hard +"@jest/transform@npm:^28.1.1, @jest/transform@npm:^28.1.3": + version: 28.1.3 + resolution: "@jest/transform@npm:28.1.3" + dependencies: + "@babel/core": ^7.11.6 + "@jest/types": ^28.1.3 + "@jridgewell/trace-mapping": ^0.3.13 + babel-plugin-istanbul: ^6.1.1 + chalk: ^4.0.0 + convert-source-map: ^1.4.0 + fast-json-stable-stringify: ^2.0.0 + graceful-fs: ^4.2.9 + jest-haste-map: ^28.1.3 + jest-regex-util: ^28.0.2 + jest-util: ^28.1.3 + micromatch: ^4.0.4 + pirates: ^4.0.4 + slash: ^3.0.0 + write-file-atomic: ^4.0.1 + checksum: d4211fb30ad17a450a86ab1af488762742b00480c4f76684ba0ad9b2ffc34a0d309a922514775de36a5b74aa8e22ec833e38600565dbbd0596a041fbe9ecf44c + languageName: node + linkType: hard + "@jest/types@npm:^24.9.0": version: 24.9.0 resolution: "@jest/types@npm:24.9.0" @@ -3742,7 +3951,7 @@ __metadata: languageName: node linkType: hard -"@jest/types@npm:^28.1.3": +"@jest/types@npm:^28.1.1, @jest/types@npm:^28.1.3": version: 28.1.3 resolution: "@jest/types@npm:28.1.3" dependencies: @@ -3756,6 +3965,36 @@ __metadata: languageName: node linkType: hard +"@jest/types@npm:^29.0.2": + version: 29.0.2 + resolution: "@jest/types@npm:29.0.2" + dependencies: + "@jest/schemas": ^29.0.0 + "@types/istanbul-lib-coverage": ^2.0.0 + "@types/istanbul-reports": ^3.0.0 + "@types/node": "*" + "@types/yargs": ^17.0.8 + chalk: ^4.0.0 + checksum: f817dc8447f3b2273a60ed7bfcbe1ba2386383e5c88198ac9f6214b2b7a0f27bdf5696aba95f2d473555a6510b343aa28180f59a2d06baed1740cb8d6a94bfc1 + languageName: node + linkType: hard + +"@joshwooding/vite-plugin-react-docgen-typescript@npm:0.0.5, @joshwooding/vite-plugin-react-docgen-typescript@npm:^0.0.5": + version: 0.0.5 + resolution: "@joshwooding/vite-plugin-react-docgen-typescript@npm:0.0.5" + dependencies: + "@rollup/pluginutils": ^4.2.1 + glob: ^7.2.0 + glob-promise: ^4.2.0 + magic-string: ^0.26.1 + react-docgen-typescript: ^2.1.1 + peerDependencies: + typescript: ">= 4.3.x" + vite: ">2.0.0-0" + checksum: 075dc5a98122e66ef4203550fb4050a283a0c889d55cce729219b0707ddc703162c07dafd188363e398bdbd5c3604aa9b310d845c37402dffb284ff1669394e1 + languageName: node + linkType: hard + "@jridgewell/gen-mapping@npm:^0.1.0": version: 0.1.1 resolution: "@jridgewell/gen-mapping@npm:0.1.1" @@ -3818,13 +4057,13 @@ __metadata: languageName: node linkType: hard -"@jridgewell/trace-mapping@npm:^0.3.12, @jridgewell/trace-mapping@npm:^0.3.7, @jridgewell/trace-mapping@npm:^0.3.8, @jridgewell/trace-mapping@npm:^0.3.9": - version: 0.3.14 - resolution: "@jridgewell/trace-mapping@npm:0.3.14" +"@jridgewell/trace-mapping@npm:^0.3.12, @jridgewell/trace-mapping@npm:^0.3.13, @jridgewell/trace-mapping@npm:^0.3.14, @jridgewell/trace-mapping@npm:^0.3.7, @jridgewell/trace-mapping@npm:^0.3.8, @jridgewell/trace-mapping@npm:^0.3.9": + version: 0.3.15 + resolution: "@jridgewell/trace-mapping@npm:0.3.15" dependencies: "@jridgewell/resolve-uri": ^3.0.3 "@jridgewell/sourcemap-codec": ^1.4.10 - checksum: 54824bf17cc25b741c434f24ded7bcc5a2fd1f67da009829266eb2eb04152883f5f13e0e6ca0392e59a2bb7db4fe2930e105c9488827a2b78c78eb6253c3c9d1 + checksum: 2de2dc1ec5038b1e5470b04c32713a690d4439e1174ff761af332798cb940b3f2846393b2775fd31a9bcaa931df7e462dbb1b7aef8e3c9fd254afa4f81b7da17 languageName: node linkType: hard @@ -4708,14 +4947,14 @@ __metadata: linkType: hard "@mdx-js/loader@npm:^2.0.0-next.9": - version: 2.1.2 - resolution: "@mdx-js/loader@npm:2.1.2" + version: 2.1.3 + resolution: "@mdx-js/loader@npm:2.1.3" dependencies: "@mdx-js/mdx": ^2.0.0 source-map: ^0.7.0 peerDependencies: webpack: ">=4" - checksum: 7ca947bceb6bd9d845f204ea395ec45ed632520fdecfeee7db48cedb3644e2cae2058f18f5238dc1cb959c0c9fec8f2d79ec4f5823b842a71ca4f72fa9ef6a2f + checksum: a253c8b1ee24601fbc1b8e0a0567879e6c304351e5d34c7489932a999b6bd2e91021b61e4e59ef41ac1927b3727ae599299d30ff146bb2a67313b78073920ee7 languageName: node linkType: hard @@ -4747,14 +4986,14 @@ __metadata: linkType: hard "@mdx-js/mdx@npm:^2.0.0": - version: 2.1.2 - resolution: "@mdx-js/mdx@npm:2.1.2" + version: 2.1.3 + resolution: "@mdx-js/mdx@npm:2.1.3" dependencies: - "@types/estree-jsx": ^0.0.1 + "@types/estree-jsx": ^1.0.0 "@types/mdx": ^2.0.0 - astring: ^1.6.0 estree-util-build-jsx: ^2.0.0 estree-util-is-identifier-name: ^2.0.0 + estree-util-to-js: ^1.1.0 estree-walker: ^3.0.0 hast-util-to-estree: ^2.0.0 markdown-extensions: ^1.0.0 @@ -4767,7 +5006,7 @@ __metadata: unist-util-stringify-position: ^3.0.0 unist-util-visit: ^4.0.0 vfile: ^5.0.0 - checksum: 5c4c1a5aa8020e52ae31f2e55bfa99e42bf0ba8c40f9664dfe7a5ca5cc123629841b8ff8965cc49e6b5efc1de69704ccf772f1b2032a6598cbe21f6590d9e204 + checksum: 88af4abae71729b9252eb77ee7bc7ce117862b4957d0f663dbe48fc8965080ba19d53438dc1e6f189f2fb08472cc4270e4f7261645c777a30624c357a422cb77 languageName: node linkType: hard @@ -4808,52 +5047,52 @@ __metadata: languageName: node linkType: hard -"@msgpackr-extract/msgpackr-extract-darwin-arm64@npm:2.0.2": - version: 2.0.2 - resolution: "@msgpackr-extract/msgpackr-extract-darwin-arm64@npm:2.0.2" +"@msgpackr-extract/msgpackr-extract-darwin-arm64@npm:2.1.2": + version: 2.1.2 + resolution: "@msgpackr-extract/msgpackr-extract-darwin-arm64@npm:2.1.2" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@msgpackr-extract/msgpackr-extract-darwin-x64@npm:2.0.2": - version: 2.0.2 - resolution: "@msgpackr-extract/msgpackr-extract-darwin-x64@npm:2.0.2" +"@msgpackr-extract/msgpackr-extract-darwin-x64@npm:2.1.2": + version: 2.1.2 + resolution: "@msgpackr-extract/msgpackr-extract-darwin-x64@npm:2.1.2" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@msgpackr-extract/msgpackr-extract-linux-arm64@npm:2.0.2": - version: 2.0.2 - resolution: "@msgpackr-extract/msgpackr-extract-linux-arm64@npm:2.0.2" +"@msgpackr-extract/msgpackr-extract-linux-arm64@npm:2.1.2": + version: 2.1.2 + resolution: "@msgpackr-extract/msgpackr-extract-linux-arm64@npm:2.1.2" conditions: os=linux & cpu=arm64 languageName: node linkType: hard -"@msgpackr-extract/msgpackr-extract-linux-arm@npm:2.0.2": - version: 2.0.2 - resolution: "@msgpackr-extract/msgpackr-extract-linux-arm@npm:2.0.2" +"@msgpackr-extract/msgpackr-extract-linux-arm@npm:2.1.2": + version: 2.1.2 + resolution: "@msgpackr-extract/msgpackr-extract-linux-arm@npm:2.1.2" conditions: os=linux & cpu=arm languageName: node linkType: hard -"@msgpackr-extract/msgpackr-extract-linux-x64@npm:2.0.2": - version: 2.0.2 - resolution: "@msgpackr-extract/msgpackr-extract-linux-x64@npm:2.0.2" +"@msgpackr-extract/msgpackr-extract-linux-x64@npm:2.1.2": + version: 2.1.2 + resolution: "@msgpackr-extract/msgpackr-extract-linux-x64@npm:2.1.2" conditions: os=linux & cpu=x64 languageName: node linkType: hard -"@msgpackr-extract/msgpackr-extract-win32-x64@npm:2.0.2": - version: 2.0.2 - resolution: "@msgpackr-extract/msgpackr-extract-win32-x64@npm:2.0.2" +"@msgpackr-extract/msgpackr-extract-win32-x64@npm:2.1.2": + version: 2.1.2 + resolution: "@msgpackr-extract/msgpackr-extract-win32-x64@npm:2.1.2" conditions: os=win32 & cpu=x64 languageName: node linkType: hard -"@next/env@npm:12.2.2": - version: 12.2.2 - resolution: "@next/env@npm:12.2.2" - checksum: b31eca5436e2ee818576c7af70f89a295149881f9f7c20e1e77e765fb50d08e16ddab02cb52fac4c7ec5789fba246219558966a1516ac14c94dab1f086e91f8e +"@next/env@npm:12.2.5": + version: 12.2.5 + resolution: "@next/env@npm:12.2.5" + checksum: 359aeabfbe0967a023cd43754c6197c62ae3ba45fa971b64eda90c118b5bc3fdb0cccfa08a700134fb764a0d541aebe7c6cc1b40386f3602a8f5429ac9c47206 languageName: node linkType: hard @@ -4866,93 +5105,93 @@ __metadata: languageName: node linkType: hard -"@next/swc-android-arm-eabi@npm:12.2.2": - version: 12.2.2 - resolution: "@next/swc-android-arm-eabi@npm:12.2.2" +"@next/swc-android-arm-eabi@npm:12.2.5": + version: 12.2.5 + resolution: "@next/swc-android-arm-eabi@npm:12.2.5" conditions: os=android & cpu=arm languageName: node linkType: hard -"@next/swc-android-arm64@npm:12.2.2": - version: 12.2.2 - resolution: "@next/swc-android-arm64@npm:12.2.2" +"@next/swc-android-arm64@npm:12.2.5": + version: 12.2.5 + resolution: "@next/swc-android-arm64@npm:12.2.5" conditions: os=android & cpu=arm64 languageName: node linkType: hard -"@next/swc-darwin-arm64@npm:12.2.2": - version: 12.2.2 - resolution: "@next/swc-darwin-arm64@npm:12.2.2" +"@next/swc-darwin-arm64@npm:12.2.5": + version: 12.2.5 + resolution: "@next/swc-darwin-arm64@npm:12.2.5" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@next/swc-darwin-x64@npm:12.2.2": - version: 12.2.2 - resolution: "@next/swc-darwin-x64@npm:12.2.2" +"@next/swc-darwin-x64@npm:12.2.5": + version: 12.2.5 + resolution: "@next/swc-darwin-x64@npm:12.2.5" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@next/swc-freebsd-x64@npm:12.2.2": - version: 12.2.2 - resolution: "@next/swc-freebsd-x64@npm:12.2.2" +"@next/swc-freebsd-x64@npm:12.2.5": + version: 12.2.5 + resolution: "@next/swc-freebsd-x64@npm:12.2.5" conditions: os=freebsd & cpu=x64 languageName: node linkType: hard -"@next/swc-linux-arm-gnueabihf@npm:12.2.2": - version: 12.2.2 - resolution: "@next/swc-linux-arm-gnueabihf@npm:12.2.2" +"@next/swc-linux-arm-gnueabihf@npm:12.2.5": + version: 12.2.5 + resolution: "@next/swc-linux-arm-gnueabihf@npm:12.2.5" conditions: os=linux & cpu=arm languageName: node linkType: hard -"@next/swc-linux-arm64-gnu@npm:12.2.2": - version: 12.2.2 - resolution: "@next/swc-linux-arm64-gnu@npm:12.2.2" +"@next/swc-linux-arm64-gnu@npm:12.2.5": + version: 12.2.5 + resolution: "@next/swc-linux-arm64-gnu@npm:12.2.5" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard -"@next/swc-linux-arm64-musl@npm:12.2.2": - version: 12.2.2 - resolution: "@next/swc-linux-arm64-musl@npm:12.2.2" +"@next/swc-linux-arm64-musl@npm:12.2.5": + version: 12.2.5 + resolution: "@next/swc-linux-arm64-musl@npm:12.2.5" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard -"@next/swc-linux-x64-gnu@npm:12.2.2": - version: 12.2.2 - resolution: "@next/swc-linux-x64-gnu@npm:12.2.2" +"@next/swc-linux-x64-gnu@npm:12.2.5": + version: 12.2.5 + resolution: "@next/swc-linux-x64-gnu@npm:12.2.5" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard -"@next/swc-linux-x64-musl@npm:12.2.2": - version: 12.2.2 - resolution: "@next/swc-linux-x64-musl@npm:12.2.2" +"@next/swc-linux-x64-musl@npm:12.2.5": + version: 12.2.5 + resolution: "@next/swc-linux-x64-musl@npm:12.2.5" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard -"@next/swc-win32-arm64-msvc@npm:12.2.2": - version: 12.2.2 - resolution: "@next/swc-win32-arm64-msvc@npm:12.2.2" +"@next/swc-win32-arm64-msvc@npm:12.2.5": + version: 12.2.5 + resolution: "@next/swc-win32-arm64-msvc@npm:12.2.5" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@next/swc-win32-ia32-msvc@npm:12.2.2": - version: 12.2.2 - resolution: "@next/swc-win32-ia32-msvc@npm:12.2.2" +"@next/swc-win32-ia32-msvc@npm:12.2.5": + version: 12.2.5 + resolution: "@next/swc-win32-ia32-msvc@npm:12.2.5" conditions: os=win32 & cpu=ia32 languageName: node linkType: hard -"@next/swc-win32-x64-msvc@npm:12.2.2": - version: 12.2.2 - resolution: "@next/swc-win32-x64-msvc@npm:12.2.2" +"@next/swc-win32-x64-msvc@npm:12.2.5": + version: 12.2.5 + resolution: "@next/swc-win32-x64-msvc@npm:12.2.5" conditions: os=win32 & cpu=x64 languageName: node linkType: hard @@ -5050,12 +5289,12 @@ __metadata: linkType: hard "@npmcli/fs@npm:^2.1.0": - version: 2.1.1 - resolution: "@npmcli/fs@npm:2.1.1" + version: 2.1.2 + resolution: "@npmcli/fs@npm:2.1.2" dependencies: "@gar/promisify": ^1.1.3 semver: ^7.3.5 - checksum: a553c45cef26b846170ee10c04a177d915aaf3ac128ac4ff7e4afb2619aad4b4aef37a945f1e6bfdeaf60a56dec0a3fd75031e082ea0b930182a50bf648ca09b + checksum: c50d087733d0d8df23be24f700f104b19922a28677aa66fdbe06ff6af6431cc4a5bb1e27683cbc661a5dafa9bafdc603e6a0378121506dfcd394b2b6dd76a187 languageName: node linkType: hard @@ -5098,12 +5337,12 @@ __metadata: linkType: hard "@npmcli/move-file@npm:^2.0.0": - version: 2.0.0 - resolution: "@npmcli/move-file@npm:2.0.0" + version: 2.0.1 + resolution: "@npmcli/move-file@npm:2.0.1" dependencies: mkdirp: ^1.0.4 rimraf: ^3.0.2 - checksum: 3a1920e02fa05c1c06c63b7a9614f440403942ce849cc59a2b2aed3e29f2871c4009fdf17de29d84bea3c43f2c370fbcf78d8bcb051339939eaf7cdcb7fb7132 + checksum: 11b2151e6d1de6f6eb23128de5aa8a429fd9097d839a5190cb77aa47a6b627022c42d50fa7c47a00f1c9f8f0c1560092b09b061855d293fa0741a2a94cfb174d languageName: node linkType: hard @@ -5135,105 +5374,59 @@ __metadata: languageName: node linkType: hard -"@nrwl/cli@npm:12.3.4": - version: 12.3.4 - resolution: "@nrwl/cli@npm:12.3.4" - dependencies: - "@nrwl/tao": 12.3.4 - chalk: 4.1.0 - v8-compile-cache: 2.3.0 - yargs: 15.4.1 - yargs-parser: 20.0.0 - bin: - nx: bin/nx.js - checksum: 2d8f6101856ee036a4b38e86d5e2f28f35e1cc7807e63666e986b3370c23642eacfcbf842c4fcb2922ae446c7f6ed85aa827b78fa3cf79c1da76bb519f64484a - languageName: node - linkType: hard - -"@nrwl/devkit@npm:12.3.4": - version: 12.3.4 - resolution: "@nrwl/devkit@npm:12.3.4" +"@nrwl/cli@npm:14.6.1": + version: 14.6.1 + resolution: "@nrwl/cli@npm:14.6.1" dependencies: - "@nrwl/tao": 12.3.4 - ejs: ^3.1.5 - ignore: ^5.0.4 - semver: 7.3.4 - strip-json-comments: ^3.1.1 - tslib: ^2.0.0 - checksum: 6246b1faa97e72d48e5cb7b9fecf5d4f4edaf4c40471845430dd8b2cd1bd731bfc39d2e4a0da2f6a7b106d0cac9cc3aefaa29c982ba94c981d04202dbd0afb81 + nx: 14.6.1 + checksum: b1595e7346d3806f7f0fd55f0371ba9461201c62e1734484b6a4982e39174320712faba88c41069ac41399966a89e68c43e0527812b122020a3f50b173bf00d8 languageName: node linkType: hard -"@nrwl/devkit@npm:14.4.3": - version: 14.4.3 - resolution: "@nrwl/devkit@npm:14.4.3" +"@nrwl/devkit@npm:14.6.1": + version: 14.6.1 + resolution: "@nrwl/devkit@npm:14.6.1" dependencies: + "@phenomnomnominal/tsquery": 4.1.1 ejs: ^3.1.7 ignore: ^5.0.4 - rxjs: ^6.5.4 semver: 7.3.4 tslib: ^2.3.0 peerDependencies: nx: ">= 13.10 <= 15" - checksum: bcf0c152ad9a76abd1cb922597c44a70d37c0bb6aedafe95e606b7fae3d10e4aaa665f5e3b02762b399ebe3470a1ec854e98c31ca9d30a05586aecc3206e929c + checksum: 6cee651f3decb259a8f955e9dcf59f4fc58fd5bc71b8a2295edb9ed06a0e77a413c79af79ad2148299d502f3631b217da792f5e4cd57f9d39fdb73f84703f2f5 languageName: node linkType: hard -"@nrwl/jest@npm:12.3.4": - version: 12.3.4 - resolution: "@nrwl/jest@npm:12.3.4" +"@nrwl/jest@npm:14.6.1": + version: 14.6.1 + resolution: "@nrwl/jest@npm:14.6.1" dependencies: - "@nrwl/devkit": 12.3.4 - jest-resolve: ^26.6.2 - rxjs: ^6.5.4 - strip-json-comments: ^3.1.1 - tslib: ^2.0.0 - checksum: a14796c6a5c4ec0460590d1bf519d2bca1b8bfcc1a223c033a7ec9fc552314dcc2bb56392c44297c9cd55329f5a0808797e0db617acc8658ff37de833b611ba5 - languageName: node - linkType: hard - -"@nrwl/jest@npm:14.4.3": - version: 14.4.3 - resolution: "@nrwl/jest@npm:14.4.3" - dependencies: - "@jest/reporters": 27.5.1 - "@jest/test-result": 27.5.1 - "@nrwl/devkit": 14.4.3 + "@jest/reporters": 28.1.1 + "@jest/test-result": 28.1.1 + "@nrwl/devkit": 14.6.1 "@phenomnomnominal/tsquery": 4.1.1 chalk: 4.1.0 dotenv: ~10.0.0 identity-obj-proxy: 3.0.0 - jest-config: 27.5.1 - jest-resolve: 27.5.1 - jest-util: 27.5.1 + jest-config: 28.1.1 + jest-resolve: 28.1.1 + jest-util: 28.1.1 resolve.exports: 1.1.0 rxjs: ^6.5.4 tslib: ^2.3.0 - checksum: 81fd036f57a62c4415fb7e45484951d2e9d23caee25a0a132ecec021cf4e50ec419d788f93936da1ecca895f472f2bceb8c1c8880079fc97079961caac55cb88 + checksum: f4b11439a12e436208c793de7b3d368d1147456370cc4aaa7422bd801ce3b3e3b60b72bab0c4c4c2604252acc1177cd7274ca815a61d28d54d6524a324c1c3d5 languageName: node linkType: hard -"@nrwl/linter@npm:12.3.4": - version: 12.3.4 - resolution: "@nrwl/linter@npm:12.3.4" +"@nrwl/linter@npm:14.6.1": + version: 14.6.1 + resolution: "@nrwl/linter@npm:14.6.1" dependencies: - "@nrwl/devkit": 12.3.4 - glob: 7.1.4 - minimatch: 3.0.4 - tmp: ~0.2.1 - tslib: ^2.0.0 - checksum: a0bca2cdfc24705d54a8c377d770e86618680643d14e987af9a1739611865dc356c987db531cd0ee2429bfc46c291a0b8c39f77267dc4c65d977d002ff73dadd - languageName: node - linkType: hard - -"@nrwl/linter@npm:14.4.3": - version: 14.4.3 - resolution: "@nrwl/linter@npm:14.4.3" - dependencies: - "@nrwl/devkit": 14.4.3 - "@nrwl/jest": 14.4.3 + "@nrwl/devkit": 14.6.1 + "@nrwl/jest": 14.6.1 "@phenomnomnominal/tsquery": 4.1.1 - nx: 14.4.3 + nx: 14.6.1 tmp: ~0.2.1 tslib: ^2.3.0 peerDependencies: @@ -5241,98 +5434,45 @@ __metadata: peerDependenciesMeta: eslint: optional: true - checksum: a7c2fe522cca2829ea3d7593ec7cf640d1d3c0c8a39b79c20bc7e333acc8ba834290563c8bfdf82ecb6b0a21bba4a50aac617c641c7ece1805245cd913138ebb + checksum: cc6e37a0a1601cd012f3a766c2a7669d814c42a0c7f32afabd4b5b7e9941770bae562a7c437985ae139e0c9ef1f0f88bb56c27090337ff918579c968842ad982 languageName: node linkType: hard -"@nrwl/nx-cloud@npm:12.1.1": - version: 12.1.1 - resolution: "@nrwl/nx-cloud@npm:12.1.1" +"@nrwl/nx-cloud@npm:14.6.0": + version: 14.6.0 + resolution: "@nrwl/nx-cloud@npm:14.6.0" dependencies: axios: ^0.21.1 chalk: 4.1.0 + dotenv: ~10.0.0 node-machine-id: ^1.1.12 - rxjs: 6.5.5 strip-json-comments: ^3.1.1 - tar: 5.0.5 - uuid: ^3.3.3 + tar: 6.1.11 + yargs-parser: ">=21.0.1" bin: nx-cloud: bin/nx-cloud.js - checksum: 0ece114978bb4bb04381a62910151f1e7f5977ac795ce15b1f1c12abea89d2d5893650dadc489db124ed291dabee436de103ac660180aa454f7c73793f5c8a96 + checksum: a9f766fa01fd90ddada823ec205e866e8d486ae699378a99ca0fb98de14ffa006d98f2197495fbac235f2b3fdc69e4eaeda0c524ede7dfe69d7c6ab56f13aa51 languageName: node linkType: hard -"@nrwl/tao@npm:12.3.4": - version: 12.3.4 - resolution: "@nrwl/tao@npm:12.3.4" +"@nrwl/tao@npm:14.6.1": + version: 14.6.1 + resolution: "@nrwl/tao@npm:14.6.1" dependencies: - chalk: 4.1.0 - enquirer: ~2.3.6 - fs-extra: ^9.1.0 - rxjs: ^6.5.4 - rxjs-for-await: 0.0.2 - semver: 7.3.4 - strip-json-comments: ^3.1.1 - tmp: ~0.2.1 - tslib: ^2.0.0 - yargs-parser: 20.0.0 - bin: - tao: index.js - checksum: 43e47e57fb34dfb6fe430eeed28ee9ddc4376fdf4a2d1fc8b8013b619020d13a9c055c5c9d435bbf75e5a2f64573455a4683610008166ee2e204db4a9d1e7b39 - languageName: node - linkType: hard - -"@nrwl/tao@npm:14.4.3": - version: 14.4.3 - resolution: "@nrwl/tao@npm:14.4.3" - dependencies: - nx: 14.4.3 + nx: 14.6.1 bin: tao: index.js - checksum: bd3de3135f26ab74b25c74a48f871ceca1624c35f7b96a5450e3501c8d6f3f41a26db39b478c0226d8c9e32d28f488d927082ef7d7f755d8fd14b4219b968a1a + checksum: 881593c6ff55ebaf085f36f9bba67bca4713d7381516473ee7bf9a9859e032ac0335d0f4e4850cb47ecb6929c6d9d970a10806e29e4321c181dac0142f26daa2 languageName: node linkType: hard -"@nrwl/workspace@npm:12.3.4": - version: 12.3.4 - resolution: "@nrwl/workspace@npm:12.3.4" +"@nrwl/workspace@npm:14.6.1": + version: 14.6.1 + resolution: "@nrwl/workspace@npm:14.6.1" dependencies: - "@nrwl/cli": 12.3.4 - "@nrwl/devkit": 12.3.4 - "@nrwl/jest": 12.3.4 - "@nrwl/linter": 12.3.4 - chalk: 4.1.0 - cosmiconfig: ^4.0.0 - dotenv: 8.2.0 - enquirer: ~2.3.6 - flat: ^5.0.2 - fs-extra: ^9.1.0 - glob: 7.1.4 - ignore: ^5.0.4 - minimatch: 3.0.4 - npm-run-all: ^4.1.5 - open: ^7.4.2 - resolve: 1.17.0 - rxjs: ^6.5.4 - semver: 7.3.4 - strip-json-comments: ^3.1.1 - tmp: ~0.2.1 - tslib: ^2.0.0 - yargs: 15.4.1 - yargs-parser: 20.0.0 - peerDependencies: - prettier: ^2.0.4 - checksum: 94e494bd3c648b817356596deee94f215bafaecf68a9b2ce45bb46926dba580397392349744c6885254a5c7a20ec3597bc87f0acfb59eb098c5f397ac9d5ed12 - languageName: node - linkType: hard - -"@nrwl/workspace@npm:^14.1.4": - version: 14.4.3 - resolution: "@nrwl/workspace@npm:14.4.3" - dependencies: - "@nrwl/devkit": 14.4.3 - "@nrwl/jest": 14.4.3 - "@nrwl/linter": 14.4.3 + "@nrwl/devkit": 14.6.1 + "@nrwl/jest": 14.6.1 + "@nrwl/linter": 14.6.1 "@parcel/watcher": 2.0.4 chalk: 4.1.0 chokidar: ^3.5.1 @@ -5347,7 +5487,7 @@ __metadata: ignore: ^5.0.4 minimatch: 3.0.5 npm-run-path: ^4.0.1 - nx: 14.4.3 + nx: 14.6.1 open: ^8.4.0 rxjs: ^6.5.4 semver: 7.3.4 @@ -5360,7 +5500,7 @@ __metadata: peerDependenciesMeta: prettier: optional: true - checksum: 023d702d065c9318b66c06ffbd247a2dc5ee2210dba7d2ba07984f8eddc4ef545a446ae6de737326360e32d24ab20e6074066f2304996ec1418641af001d7fc9 + checksum: 573cd6ed892ac397a137d079a847e85efe849ecab7d77aca6595baba4bdd53e9bf34eed200ce1f3847c22e3bf106e11426e34faab6ea017b52a1e685d1d1b16d languageName: node linkType: hard @@ -5424,10 +5564,10 @@ __metadata: languageName: node linkType: hard -"@octokit/openapi-types@npm:^12.10.0": - version: 12.10.1 - resolution: "@octokit/openapi-types@npm:12.10.1" - checksum: d2d4df57ae148fd880db039b9303eb26627d2e310c4f6d9ec3d75bbd0b0f1d83c98157858d1f85ddfaf60a796c72fe360e3739b6b3758c9b9651d862854d8196 +"@octokit/openapi-types@npm:^12.11.0": + version: 12.11.0 + resolution: "@octokit/openapi-types@npm:12.11.0" + checksum: b3bb3684d9686ef948d8805ab56f85818f36e4cb64ef97b8e48dc233efefef22fe0bddd9da705fb628ea618a1bebd62b3d81b09a3f7dce9522f124d998041896 languageName: node linkType: hard @@ -5448,13 +5588,13 @@ __metadata: linkType: hard "@octokit/plugin-paginate-rest@npm:^2.16.8, @octokit/plugin-paginate-rest@npm:^2.2.0": - version: 2.21.2 - resolution: "@octokit/plugin-paginate-rest@npm:2.21.2" + version: 2.21.3 + resolution: "@octokit/plugin-paginate-rest@npm:2.21.3" dependencies: - "@octokit/types": ^6.39.0 + "@octokit/types": ^6.40.0 peerDependencies: - "@octokit/core": ">=4" - checksum: f40c50df8fc8d84e2e0ffb2310c7c5fe96abb918bc325860fa1662f4314b2be64b9197cbd4f4f106217cedb6d18f32cb94645163dcd48d483d3123d9642bfee6 + "@octokit/core": ">=2" + checksum: a16f7ed56db00ea9b72f77735e8d9463ddc84d017cb95c2767026c60a209f7c4176502c592847cf61613eb2f25dafe8d5437c01ad296660ebbfb2c821ef805e9 languageName: node linkType: hard @@ -5610,118 +5750,118 @@ __metadata: languageName: node linkType: hard -"@octokit/types@npm:^6.0.3, @octokit/types@npm:^6.16.1, @octokit/types@npm:^6.39.0": - version: 6.40.0 - resolution: "@octokit/types@npm:6.40.0" +"@octokit/types@npm:^6.0.3, @octokit/types@npm:^6.16.1, @octokit/types@npm:^6.39.0, @octokit/types@npm:^6.40.0": + version: 6.41.0 + resolution: "@octokit/types@npm:6.41.0" dependencies: - "@octokit/openapi-types": ^12.10.0 - checksum: 88a227dbf7f42a3e408ef433d8e0160dc2e72ee29faa1de4e10d61d249bd712ff1b535003887ed953d9675655e4eea0177a6a20a58fbed8cdd2c29915843ab15 + "@octokit/openapi-types": ^12.11.0 + checksum: 81cfa58e5524bf2e233d75a346e625fd6e02a7b919762c6ddb523ad6fb108943ef9d34c0298ff3c5a44122e449d9038263bc22959247fd6ff8894a48888ac705 languageName: node linkType: hard -"@parcel/bundler-default@npm:2.6.2": - version: 2.6.2 - resolution: "@parcel/bundler-default@npm:2.6.2" +"@parcel/bundler-default@npm:2.7.0": + version: 2.7.0 + resolution: "@parcel/bundler-default@npm:2.7.0" dependencies: - "@parcel/diagnostic": 2.6.2 - "@parcel/hash": 2.6.2 - "@parcel/plugin": 2.6.2 - "@parcel/utils": 2.6.2 + "@parcel/diagnostic": 2.7.0 + "@parcel/hash": 2.7.0 + "@parcel/plugin": 2.7.0 + "@parcel/utils": 2.7.0 nullthrows: ^1.1.1 - checksum: 244a262d2fff4b16972796c876efdd6ca98d7a0e01eb6cb92788063fc767b4d1fb6f0593fc7a1daebc5b20fd5bcfe1c51eec78327e7c52f19f03c67cd1a4ad86 + checksum: cf65722fbdb8ae355233f21ec85433dca6e804a4db27091143eb61aae6769df37b46208c8969594f23a33887ee08fdac9af1dfe9be9dc222378fc77568bbd446 languageName: node linkType: hard -"@parcel/cache@npm:2.6.2": - version: 2.6.2 - resolution: "@parcel/cache@npm:2.6.2" +"@parcel/cache@npm:2.7.0": + version: 2.7.0 + resolution: "@parcel/cache@npm:2.7.0" dependencies: - "@parcel/fs": 2.6.2 - "@parcel/logger": 2.6.2 - "@parcel/utils": 2.6.2 + "@parcel/fs": 2.7.0 + "@parcel/logger": 2.7.0 + "@parcel/utils": 2.7.0 lmdb: 2.5.2 peerDependencies: - "@parcel/core": ^2.6.2 - checksum: 0bb04bb25235610caf6fcb377b7af18507f9819504d51a750a8f8278e0e517323444062a601a6476c33c57c2342669647b9e045f88cac413bdfa5807aefa83e7 + "@parcel/core": ^2.7.0 + checksum: 50206359a485c315faa96325d6583ae8ea8558451daac2c289c9d089181536feecb831f03148803f9e8f0e9424a2bffc98bd67280404acd2e2fe565026748945 languageName: node linkType: hard -"@parcel/codeframe@npm:2.6.2": - version: 2.6.2 - resolution: "@parcel/codeframe@npm:2.6.2" +"@parcel/codeframe@npm:2.7.0": + version: 2.7.0 + resolution: "@parcel/codeframe@npm:2.7.0" dependencies: chalk: ^4.1.0 - checksum: 7ed1a401173ebc7ea2370c0df74ae02f7ef9a1594ee04d4843420e6261f75f15761859264095ff820e6c293f32bf50039be117f77bf6526ba9c4f785e5b03654 + checksum: 80907cb89895d41a58f39255788206cd259c4fbbd49d1282b0cc1ea22c0d6b4fd302b5aa1aa52e8df9df3128c4601c55b74550b688a39b693633871b3f923333 languageName: node linkType: hard -"@parcel/compressor-raw@npm:2.6.2": - version: 2.6.2 - resolution: "@parcel/compressor-raw@npm:2.6.2" +"@parcel/compressor-raw@npm:2.7.0": + version: 2.7.0 + resolution: "@parcel/compressor-raw@npm:2.7.0" dependencies: - "@parcel/plugin": 2.6.2 - checksum: cb9f7f944ecbb96c589766d059f819f883f79c46a754713d7d85f9fc2966bc1da6447347b729b46bc35d6fd734fe315cba02296fae05db1256446557f95c9b64 + "@parcel/plugin": 2.7.0 + checksum: db0001a354d18d9bc9837371611493f9ecee9e41dab1624b1ebabcce910b9204ed457dbca679e083a513e6b359053c5ec1e5614d7a0d1bd0a13e49285afa2d40 languageName: node linkType: hard "@parcel/config-default@npm:^2.0.1": - version: 2.6.2 - resolution: "@parcel/config-default@npm:2.6.2" - dependencies: - "@parcel/bundler-default": 2.6.2 - "@parcel/compressor-raw": 2.6.2 - "@parcel/namer-default": 2.6.2 - "@parcel/optimizer-css": 2.6.2 - "@parcel/optimizer-htmlnano": 2.6.2 - "@parcel/optimizer-image": 2.6.2 - "@parcel/optimizer-svgo": 2.6.2 - "@parcel/optimizer-terser": 2.6.2 - "@parcel/packager-css": 2.6.2 - "@parcel/packager-html": 2.6.2 - "@parcel/packager-js": 2.6.2 - "@parcel/packager-raw": 2.6.2 - "@parcel/packager-svg": 2.6.2 - "@parcel/reporter-dev-server": 2.6.2 - "@parcel/resolver-default": 2.6.2 - "@parcel/runtime-browser-hmr": 2.6.2 - "@parcel/runtime-js": 2.6.2 - "@parcel/runtime-react-refresh": 2.6.2 - "@parcel/runtime-service-worker": 2.6.2 - "@parcel/transformer-babel": 2.6.2 - "@parcel/transformer-css": 2.6.2 - "@parcel/transformer-html": 2.6.2 - "@parcel/transformer-image": 2.6.2 - "@parcel/transformer-js": 2.6.2 - "@parcel/transformer-json": 2.6.2 - "@parcel/transformer-postcss": 2.6.2 - "@parcel/transformer-posthtml": 2.6.2 - "@parcel/transformer-raw": 2.6.2 - "@parcel/transformer-react-refresh-wrap": 2.6.2 - "@parcel/transformer-svg": 2.6.2 - peerDependencies: - "@parcel/core": ^2.6.2 - checksum: 6e176fd0f948ecd6019a2518e1664941e73b4575303da430e59e742603cd854d34ff0b5879b39bf49298e115978057af3d23813470c72f4d7c2a3279ce9c3366 + version: 2.7.0 + resolution: "@parcel/config-default@npm:2.7.0" + dependencies: + "@parcel/bundler-default": 2.7.0 + "@parcel/compressor-raw": 2.7.0 + "@parcel/namer-default": 2.7.0 + "@parcel/optimizer-css": 2.7.0 + "@parcel/optimizer-htmlnano": 2.7.0 + "@parcel/optimizer-image": 2.7.0 + "@parcel/optimizer-svgo": 2.7.0 + "@parcel/optimizer-terser": 2.7.0 + "@parcel/packager-css": 2.7.0 + "@parcel/packager-html": 2.7.0 + "@parcel/packager-js": 2.7.0 + "@parcel/packager-raw": 2.7.0 + "@parcel/packager-svg": 2.7.0 + "@parcel/reporter-dev-server": 2.7.0 + "@parcel/resolver-default": 2.7.0 + "@parcel/runtime-browser-hmr": 2.7.0 + "@parcel/runtime-js": 2.7.0 + "@parcel/runtime-react-refresh": 2.7.0 + "@parcel/runtime-service-worker": 2.7.0 + "@parcel/transformer-babel": 2.7.0 + "@parcel/transformer-css": 2.7.0 + "@parcel/transformer-html": 2.7.0 + "@parcel/transformer-image": 2.7.0 + "@parcel/transformer-js": 2.7.0 + "@parcel/transformer-json": 2.7.0 + "@parcel/transformer-postcss": 2.7.0 + "@parcel/transformer-posthtml": 2.7.0 + "@parcel/transformer-raw": 2.7.0 + "@parcel/transformer-react-refresh-wrap": 2.7.0 + "@parcel/transformer-svg": 2.7.0 + peerDependencies: + "@parcel/core": ^2.7.0 + checksum: 74a3445cfae9f975f3330ae3b536b1a857986e1a6ad6c5cb8fb58d057c78c97b7ce7265c530697501c5ca2b299bed0680bde2d71d46aebff3d005a1defab4469 languageName: node linkType: hard "@parcel/core@npm:^2.0.1": - version: 2.6.2 - resolution: "@parcel/core@npm:2.6.2" + version: 2.7.0 + resolution: "@parcel/core@npm:2.7.0" dependencies: "@mischnic/json-sourcemap": ^0.1.0 - "@parcel/cache": 2.6.2 - "@parcel/diagnostic": 2.6.2 - "@parcel/events": 2.6.2 - "@parcel/fs": 2.6.2 - "@parcel/graph": 2.6.2 - "@parcel/hash": 2.6.2 - "@parcel/logger": 2.6.2 - "@parcel/package-manager": 2.6.2 - "@parcel/plugin": 2.6.2 + "@parcel/cache": 2.7.0 + "@parcel/diagnostic": 2.7.0 + "@parcel/events": 2.7.0 + "@parcel/fs": 2.7.0 + "@parcel/graph": 2.7.0 + "@parcel/hash": 2.7.0 + "@parcel/logger": 2.7.0 + "@parcel/package-manager": 2.7.0 + "@parcel/plugin": 2.7.0 "@parcel/source-map": ^2.0.0 - "@parcel/types": 2.6.2 - "@parcel/utils": 2.6.2 - "@parcel/workers": 2.6.2 + "@parcel/types": 2.7.0 + "@parcel/utils": 2.7.0 + "@parcel/workers": 2.7.0 abortcontroller-polyfill: ^1.1.9 base-x: ^3.0.8 browserslist: ^4.6.6 @@ -5732,78 +5872,78 @@ __metadata: msgpackr: ^1.5.4 nullthrows: ^1.1.1 semver: ^5.7.1 - checksum: 98d4a573bf2ac4ce66562c2ac5f68427a53ace19da80e5c0b497144e530d5e6f04ebe307d86e1d38a9accc920bb56b26af752c4f928220d0c704228d8438482a + checksum: 86c0b9d75eb5fabde912c77eab4d8313bd9cf13d8ed9df958c70ffd5bb8d979e0e3d43a2650caddb8636082922f5f910aea1439796965f52bbe91998b5eafc32 languageName: node linkType: hard -"@parcel/css-darwin-arm64@npm:1.12.0": - version: 1.12.0 - resolution: "@parcel/css-darwin-arm64@npm:1.12.0" +"@parcel/css-darwin-arm64@npm:1.13.1": + version: 1.13.1 + resolution: "@parcel/css-darwin-arm64@npm:1.13.1" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@parcel/css-darwin-x64@npm:1.12.0": - version: 1.12.0 - resolution: "@parcel/css-darwin-x64@npm:1.12.0" +"@parcel/css-darwin-x64@npm:1.13.1": + version: 1.13.1 + resolution: "@parcel/css-darwin-x64@npm:1.13.1" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@parcel/css-linux-arm-gnueabihf@npm:1.12.0": - version: 1.12.0 - resolution: "@parcel/css-linux-arm-gnueabihf@npm:1.12.0" +"@parcel/css-linux-arm-gnueabihf@npm:1.13.1": + version: 1.13.1 + resolution: "@parcel/css-linux-arm-gnueabihf@npm:1.13.1" conditions: os=linux & cpu=arm languageName: node linkType: hard -"@parcel/css-linux-arm64-gnu@npm:1.12.0": - version: 1.12.0 - resolution: "@parcel/css-linux-arm64-gnu@npm:1.12.0" +"@parcel/css-linux-arm64-gnu@npm:1.13.1": + version: 1.13.1 + resolution: "@parcel/css-linux-arm64-gnu@npm:1.13.1" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard -"@parcel/css-linux-arm64-musl@npm:1.12.0": - version: 1.12.0 - resolution: "@parcel/css-linux-arm64-musl@npm:1.12.0" +"@parcel/css-linux-arm64-musl@npm:1.13.1": + version: 1.13.1 + resolution: "@parcel/css-linux-arm64-musl@npm:1.13.1" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard -"@parcel/css-linux-x64-gnu@npm:1.12.0": - version: 1.12.0 - resolution: "@parcel/css-linux-x64-gnu@npm:1.12.0" +"@parcel/css-linux-x64-gnu@npm:1.13.1": + version: 1.13.1 + resolution: "@parcel/css-linux-x64-gnu@npm:1.13.1" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard -"@parcel/css-linux-x64-musl@npm:1.12.0": - version: 1.12.0 - resolution: "@parcel/css-linux-x64-musl@npm:1.12.0" +"@parcel/css-linux-x64-musl@npm:1.13.1": + version: 1.13.1 + resolution: "@parcel/css-linux-x64-musl@npm:1.13.1" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard -"@parcel/css-win32-x64-msvc@npm:1.12.0": - version: 1.12.0 - resolution: "@parcel/css-win32-x64-msvc@npm:1.12.0" +"@parcel/css-win32-x64-msvc@npm:1.13.1": + version: 1.13.1 + resolution: "@parcel/css-win32-x64-msvc@npm:1.13.1" conditions: os=win32 & cpu=x64 languageName: node linkType: hard -"@parcel/css@npm:^1.10.1": - version: 1.12.0 - resolution: "@parcel/css@npm:1.12.0" - dependencies: - "@parcel/css-darwin-arm64": 1.12.0 - "@parcel/css-darwin-x64": 1.12.0 - "@parcel/css-linux-arm-gnueabihf": 1.12.0 - "@parcel/css-linux-arm64-gnu": 1.12.0 - "@parcel/css-linux-arm64-musl": 1.12.0 - "@parcel/css-linux-x64-gnu": 1.12.0 - "@parcel/css-linux-x64-musl": 1.12.0 - "@parcel/css-win32-x64-msvc": 1.12.0 +"@parcel/css@npm:^1.12.2": + version: 1.13.1 + resolution: "@parcel/css@npm:1.13.1" + dependencies: + "@parcel/css-darwin-arm64": 1.13.1 + "@parcel/css-darwin-x64": 1.13.1 + "@parcel/css-linux-arm-gnueabihf": 1.13.1 + "@parcel/css-linux-arm64-gnu": 1.13.1 + "@parcel/css-linux-arm64-musl": 1.13.1 + "@parcel/css-linux-x64-gnu": 1.13.1 + "@parcel/css-linux-x64-musl": 1.13.1 + "@parcel/css-win32-x64-msvc": 1.13.1 detect-libc: ^1.0.3 dependenciesMeta: "@parcel/css-darwin-arm64": @@ -5822,341 +5962,341 @@ __metadata: optional: true "@parcel/css-win32-x64-msvc": optional: true - checksum: b2985f502a53da6ef68dd3d04130b9d595860c63980db4108dc28703e1b55f597d406c5de15fa2be92994b27c525598375e675a6965d19865e4e0132355a1636 + checksum: 6a3f242d820cf69bd3fc8fc8760dec772e875404d352e55f6fc37cd30382308ce9c552bfc94d7d90b4693f3b443fbdeed9f1bc999480558e4dcd337ea05c34f3 languageName: node linkType: hard -"@parcel/diagnostic@npm:2.6.2, @parcel/diagnostic@npm:^2.0.1": - version: 2.6.2 - resolution: "@parcel/diagnostic@npm:2.6.2" +"@parcel/diagnostic@npm:2.7.0, @parcel/diagnostic@npm:^2.0.1": + version: 2.7.0 + resolution: "@parcel/diagnostic@npm:2.7.0" dependencies: "@mischnic/json-sourcemap": ^0.1.0 nullthrows: ^1.1.1 - checksum: 9944d2af549bc7ba43932c10710c35f19bb30cb531714bfb600824da92af10a1f251b41631cdebf9f3c7c39c7ab11fa06f87a647acbb25511a20a90ce5a754c9 + checksum: b1a88d298fb76aad766381d240ae823e9559736ea9241850604b921b4e449af2bd2d0a33b48229f208e960f769bd792b75b4807a73227655252d3da4e4243f98 languageName: node linkType: hard -"@parcel/events@npm:2.6.2, @parcel/events@npm:^2.0.1": - version: 2.6.2 - resolution: "@parcel/events@npm:2.6.2" - checksum: e1d79dffc2d10d5367451a458f3d3d14fa149980a27362def69ba3f3ffb1afedf582efdb521bc2ac33dec3cf11809693fe419f8edcb947d655ebdb9b75d6b4ed +"@parcel/events@npm:2.7.0, @parcel/events@npm:^2.0.1": + version: 2.7.0 + resolution: "@parcel/events@npm:2.7.0" + checksum: 389b7aa672235d690c398845f421f6a2327411d0932a3c66fd25bc5e608388424c95aca362f171b759c041d470c3c22a710b007a0c03063fd7ccacecf588ad0e languageName: node linkType: hard -"@parcel/fs-search@npm:2.6.2": - version: 2.6.2 - resolution: "@parcel/fs-search@npm:2.6.2" +"@parcel/fs-search@npm:2.7.0": + version: 2.7.0 + resolution: "@parcel/fs-search@npm:2.7.0" dependencies: detect-libc: ^1.0.3 - checksum: f078f24f2938cd2824e0f4892c3437c638d20f3da6f822d74d5c62e57459b5414f08afc88af51bb988d297b037d767d5a57f84d209174c07189018d3174a98b4 + checksum: 9999cee151f88c6a46cce91177df81c3abd9f8285461e424f2d8c3b47ce4fc3e646b71c5d36af99509bceabb5af307903d3aab8f363745bdb7dc9c291f62520c languageName: node linkType: hard -"@parcel/fs@npm:2.6.2, @parcel/fs@npm:^2.0.1": - version: 2.6.2 - resolution: "@parcel/fs@npm:2.6.2" +"@parcel/fs@npm:2.7.0, @parcel/fs@npm:^2.0.1": + version: 2.7.0 + resolution: "@parcel/fs@npm:2.7.0" dependencies: - "@parcel/fs-search": 2.6.2 - "@parcel/types": 2.6.2 - "@parcel/utils": 2.6.2 + "@parcel/fs-search": 2.7.0 + "@parcel/types": 2.7.0 + "@parcel/utils": 2.7.0 "@parcel/watcher": ^2.0.0 - "@parcel/workers": 2.6.2 + "@parcel/workers": 2.7.0 peerDependencies: - "@parcel/core": ^2.6.2 - checksum: 605e8cadd1c937a43f2669cbf68287264077673a0ccdd8fb506872e4fafbce186cab72657e7fc5e618a883879e56f788bb83891a5ce8bba76ae4e61f56b28214 + "@parcel/core": ^2.7.0 + checksum: 32000df7d443688a7edae194b07fe675fec0e1543d318adabb9610e5f3fedef60d491521ebc5270c2f243c2b2080904e0a9a931b25401ec2dfbf09881f03e507 languageName: node linkType: hard -"@parcel/graph@npm:2.6.2": - version: 2.6.2 - resolution: "@parcel/graph@npm:2.6.2" +"@parcel/graph@npm:2.7.0": + version: 2.7.0 + resolution: "@parcel/graph@npm:2.7.0" dependencies: - "@parcel/utils": 2.6.2 + "@parcel/utils": 2.7.0 nullthrows: ^1.1.1 - checksum: 29082e80ffcc2e945a5357c0eda3bb32094f080439e266a745bf37653469dd669cc58f770ac21f4bfa46632877efa8e640a8f543468041db1070fd25f007ba52 + checksum: 559d89605e001f0c2d8e0b20dc06155193bd505f9742dd3bd16e9b854d7f3cc6fc40ed539447930ead0a01fbeb5a6d3d23952bc5524e62be100194546f117764 languageName: node linkType: hard -"@parcel/hash@npm:2.6.2": - version: 2.6.2 - resolution: "@parcel/hash@npm:2.6.2" +"@parcel/hash@npm:2.7.0": + version: 2.7.0 + resolution: "@parcel/hash@npm:2.7.0" dependencies: detect-libc: ^1.0.3 xxhash-wasm: ^0.4.2 - checksum: 79ab7d03325ca81f6d72d954e2ada52bc32319f9d88564a959e53217be5c5ed47e6e4d619db3c4d13f52f1794c7819251cf9052b87bbc9b5267131557036e452 + checksum: 36e8a6546316fdca86bb184e356df9f326c6385de5a9c271de9186442fd8836d9b618f3f195670bc709332c3557eec203f7dff865f5ec95ca01e2e3b51b4ad5c languageName: node linkType: hard -"@parcel/logger@npm:2.6.2, @parcel/logger@npm:^2.0.1": - version: 2.6.2 - resolution: "@parcel/logger@npm:2.6.2" +"@parcel/logger@npm:2.7.0, @parcel/logger@npm:^2.0.1": + version: 2.7.0 + resolution: "@parcel/logger@npm:2.7.0" dependencies: - "@parcel/diagnostic": 2.6.2 - "@parcel/events": 2.6.2 - checksum: b21fcfe55515712b3089ecc10a16c9c465f4f0734e8a7b13e275b4ab8e7218a0e4c1c161202b13251b82f615e478e834fd95d3018a7e25699f1d2361d07be677 + "@parcel/diagnostic": 2.7.0 + "@parcel/events": 2.7.0 + checksum: cdeac5bb94c655f5dee6cb8673b24c43637514d84b0d808ef43cc1426da84749e4afb79a1b18dcc17eec28e7de70b6b760d7011f4de90ec0111ab2572c36eea8 languageName: node linkType: hard -"@parcel/markdown-ansi@npm:2.6.2": - version: 2.6.2 - resolution: "@parcel/markdown-ansi@npm:2.6.2" +"@parcel/markdown-ansi@npm:2.7.0": + version: 2.7.0 + resolution: "@parcel/markdown-ansi@npm:2.7.0" dependencies: chalk: ^4.1.0 - checksum: 87369502e32956ce81af59b86fa20106e0487ee352d1a98167347ff3daf2bf5de13d1017113f63ad6f25941e371e5102a61dfb1b009c8344334d9ad291b138da + checksum: 4e5db8d413283d359f9980b04d19f89ee04d9b2943b12f001578f42e1a45aae99afd4d94a3a4d4841b12db3cd50e732191761c861da8be286abd2f3c46c73155 languageName: node linkType: hard -"@parcel/namer-default@npm:2.6.2": - version: 2.6.2 - resolution: "@parcel/namer-default@npm:2.6.2" +"@parcel/namer-default@npm:2.7.0": + version: 2.7.0 + resolution: "@parcel/namer-default@npm:2.7.0" dependencies: - "@parcel/diagnostic": 2.6.2 - "@parcel/plugin": 2.6.2 + "@parcel/diagnostic": 2.7.0 + "@parcel/plugin": 2.7.0 nullthrows: ^1.1.1 - checksum: 595f9a84610d166e28382323fd50426f1f525afa85e845824d78bf10d478b2d8b20c954b4d86ef1fc007fb8e4d467e0415d15768bfa6d2189973e3d0f17938a0 + checksum: fbe7f5f29e08a79e8e6a13379241185d00a1aa712d66c6d731a4fae2ae9263d94247f65ca6d230cfcaad7979206fb0b8ce455a71502275a5acf94f104a4015fb languageName: node linkType: hard -"@parcel/node-resolver-core@npm:2.6.2": - version: 2.6.2 - resolution: "@parcel/node-resolver-core@npm:2.6.2" +"@parcel/node-resolver-core@npm:2.7.0": + version: 2.7.0 + resolution: "@parcel/node-resolver-core@npm:2.7.0" dependencies: - "@parcel/diagnostic": 2.6.2 - "@parcel/utils": 2.6.2 + "@parcel/diagnostic": 2.7.0 + "@parcel/utils": 2.7.0 nullthrows: ^1.1.1 semver: ^5.7.1 - checksum: 3296cdcd16da61fc24da0bebbda7c93bbb508ac7fd78128621390f4c64b9275e1dfdf33563797f46210db5720fa446c6e823164c9fc2d521fd967181e779b97a + checksum: 0bf6d67c801b1d5812e7510d566da2d8518fffc9667b59a34d6129fda026b107402ff3d98da6b47b187b4bad7d3caab49b3a8fe36965d94a59013fbb2cdd5f04 languageName: node linkType: hard -"@parcel/optimizer-css@npm:2.6.2": - version: 2.6.2 - resolution: "@parcel/optimizer-css@npm:2.6.2" +"@parcel/optimizer-css@npm:2.7.0": + version: 2.7.0 + resolution: "@parcel/optimizer-css@npm:2.7.0" dependencies: - "@parcel/css": ^1.10.1 - "@parcel/diagnostic": 2.6.2 - "@parcel/plugin": 2.6.2 + "@parcel/css": ^1.12.2 + "@parcel/diagnostic": 2.7.0 + "@parcel/plugin": 2.7.0 "@parcel/source-map": ^2.0.0 - "@parcel/utils": 2.6.2 + "@parcel/utils": 2.7.0 browserslist: ^4.6.6 nullthrows: ^1.1.1 - checksum: e9495cd45e1ff3b1f500245facdbe3e23059c422b8e1ac46198aa63624be8f39b0f2e039a6038fd7fbc0a88c5a58b72e9b7aa3271f5dd99d9f4b9ea1d3718dcb + checksum: a6af5fc085827f5fbce56635225ae0f4ef11a1059300fad740ebf221360bd9e2196e8e7f87c746ddcc38520a3873bc5abe6fdd9220e6e42bacea82e5b4e0187c languageName: node linkType: hard -"@parcel/optimizer-htmlnano@npm:2.6.2": - version: 2.6.2 - resolution: "@parcel/optimizer-htmlnano@npm:2.6.2" +"@parcel/optimizer-htmlnano@npm:2.7.0": + version: 2.7.0 + resolution: "@parcel/optimizer-htmlnano@npm:2.7.0" dependencies: - "@parcel/plugin": 2.6.2 + "@parcel/plugin": 2.7.0 htmlnano: ^2.0.0 nullthrows: ^1.1.1 posthtml: ^0.16.5 svgo: ^2.4.0 - checksum: 75f5820ba58d979e732b9e48338d1c2df39feb3ab21ebf32120c06f35f43a65d0ef7a255c449fd9aa409d6b60be2f6ecd1a2ae08f191848340ba21ec1b5d448a + checksum: f3f070d1a0f76208e5023cbe738e4ffb3598be142f41efd35bf651ce679716c3d640f690ed878676509a333348e6c48d8f978738676ea90ba0f4400aa2ec6b50 languageName: node linkType: hard -"@parcel/optimizer-image@npm:2.6.2": - version: 2.6.2 - resolution: "@parcel/optimizer-image@npm:2.6.2" +"@parcel/optimizer-image@npm:2.7.0": + version: 2.7.0 + resolution: "@parcel/optimizer-image@npm:2.7.0" dependencies: - "@parcel/diagnostic": 2.6.2 - "@parcel/plugin": 2.6.2 - "@parcel/utils": 2.6.2 - "@parcel/workers": 2.6.2 + "@parcel/diagnostic": 2.7.0 + "@parcel/plugin": 2.7.0 + "@parcel/utils": 2.7.0 + "@parcel/workers": 2.7.0 detect-libc: ^1.0.3 - checksum: e0633c00b36c4d0f0b07a686c59b8daa376ba355f137579f96619cd68f3645f5b44bb304464d4b0a3c047822cbde9eecdd5c942942e0860420643d4f8e2437b1 + checksum: e52692ef95895ff057eb7bb2ccc201b39fac541156993e58155ab3f886966853454e9138a4c7701e2cca6e81bf16405fd8a347fc1169cdf70ec92bcd7d5e3065 languageName: node linkType: hard -"@parcel/optimizer-svgo@npm:2.6.2": - version: 2.6.2 - resolution: "@parcel/optimizer-svgo@npm:2.6.2" +"@parcel/optimizer-svgo@npm:2.7.0": + version: 2.7.0 + resolution: "@parcel/optimizer-svgo@npm:2.7.0" dependencies: - "@parcel/diagnostic": 2.6.2 - "@parcel/plugin": 2.6.2 - "@parcel/utils": 2.6.2 + "@parcel/diagnostic": 2.7.0 + "@parcel/plugin": 2.7.0 + "@parcel/utils": 2.7.0 svgo: ^2.4.0 - checksum: a7b6b1807c7c1b5561e6d2146247da6bf85eae00f43632f9b09692eb0b305edd1b7006a226a7663918022c370161c93f4879245814279ca1ea792b71780caa82 + checksum: 3fcc272735197eabfc9a1c217fe6409ad85757ede7a831361538104f2d9fff514cad1155a6eafc6e249840b423018177181d8690a9eb23a1c3c7351a70ee6737 languageName: node linkType: hard -"@parcel/optimizer-terser@npm:2.6.2": - version: 2.6.2 - resolution: "@parcel/optimizer-terser@npm:2.6.2" +"@parcel/optimizer-terser@npm:2.7.0": + version: 2.7.0 + resolution: "@parcel/optimizer-terser@npm:2.7.0" dependencies: - "@parcel/diagnostic": 2.6.2 - "@parcel/plugin": 2.6.2 + "@parcel/diagnostic": 2.7.0 + "@parcel/plugin": 2.7.0 "@parcel/source-map": ^2.0.0 - "@parcel/utils": 2.6.2 + "@parcel/utils": 2.7.0 nullthrows: ^1.1.1 terser: ^5.2.0 - checksum: 41a1521402d51e4eef3e04d13dc80a785c01e7539a3cf10a6fdaed793c0510fcc98889a7b50fd3ef8742522be04a620d9b1608438e989925abbfc517b223c562 + checksum: 1008cc336cc4ade4d777a58448248f4186334bbf2e7938ec836c04778b2a9f2e5eaeaf7ba856eda004da126b4f639407784eef79b49a8f61de720d6bd10ea3ce languageName: node linkType: hard -"@parcel/package-manager@npm:2.6.2, @parcel/package-manager@npm:^2.0.1": - version: 2.6.2 - resolution: "@parcel/package-manager@npm:2.6.2" - dependencies: - "@parcel/diagnostic": 2.6.2 - "@parcel/fs": 2.6.2 - "@parcel/logger": 2.6.2 - "@parcel/types": 2.6.2 - "@parcel/utils": 2.6.2 - "@parcel/workers": 2.6.2 +"@parcel/package-manager@npm:2.7.0, @parcel/package-manager@npm:^2.0.1": + version: 2.7.0 + resolution: "@parcel/package-manager@npm:2.7.0" + dependencies: + "@parcel/diagnostic": 2.7.0 + "@parcel/fs": 2.7.0 + "@parcel/logger": 2.7.0 + "@parcel/types": 2.7.0 + "@parcel/utils": 2.7.0 + "@parcel/workers": 2.7.0 semver: ^5.7.1 peerDependencies: - "@parcel/core": ^2.6.2 - checksum: 042bdc279fd89f097a29a313d0310c4e70748ca373e6afac7612d2078d56fd58d8bfc52bfcc2d71515076d996a348962eab6093d9827cfbdf2840140c8d556ad + "@parcel/core": ^2.7.0 + checksum: cbf69e0cd24485346e0b80bf2056c971d2cf25398afea00840bf34582694f725d8e0548aae76ce6dbbc0a8b543418ce7fb2138072d5d1c18433b03e472cfac85 languageName: node linkType: hard -"@parcel/packager-css@npm:2.6.2": - version: 2.6.2 - resolution: "@parcel/packager-css@npm:2.6.2" +"@parcel/packager-css@npm:2.7.0": + version: 2.7.0 + resolution: "@parcel/packager-css@npm:2.7.0" dependencies: - "@parcel/plugin": 2.6.2 + "@parcel/plugin": 2.7.0 "@parcel/source-map": ^2.0.0 - "@parcel/utils": 2.6.2 + "@parcel/utils": 2.7.0 nullthrows: ^1.1.1 - checksum: a6e43c400a9a86791f3a36e45cada3d4d8e8c93c9756ebdd58ca0fd0751f7cbeb47d6a9207c7bc3718757d7a608dcfe9f83c69073e90f9e3a6f8cb3b3afbb16e + checksum: 596395574c513ae182e16479877cee1cd9097f7978bc107f5d58b9b8ce0738c55b1a0d911636c3629857d570828ca37af0ea05885c1d32f2735320bc1301af54 languageName: node linkType: hard -"@parcel/packager-html@npm:2.6.2": - version: 2.6.2 - resolution: "@parcel/packager-html@npm:2.6.2" +"@parcel/packager-html@npm:2.7.0": + version: 2.7.0 + resolution: "@parcel/packager-html@npm:2.7.0" dependencies: - "@parcel/plugin": 2.6.2 - "@parcel/types": 2.6.2 - "@parcel/utils": 2.6.2 + "@parcel/plugin": 2.7.0 + "@parcel/types": 2.7.0 + "@parcel/utils": 2.7.0 nullthrows: ^1.1.1 posthtml: ^0.16.5 - checksum: 57700c130c9e8fa7b8ec3213f72fd578cf848447913ce80cd73d4e6b58fa2988dd1c6502341547dc77d15e221b4d44d9e4ae1e7fcf2ae0f2154fee4e479c2f95 + checksum: 282d99892182a8a16d05f5345c5c4d6ede8c848dd8c609709d07c410c7d3a7a16acb73eab177a284e15a7df8adbc5a40a40ecfcd46f86212e14b5b1a6be2f9bf languageName: node linkType: hard -"@parcel/packager-js@npm:2.6.2": - version: 2.6.2 - resolution: "@parcel/packager-js@npm:2.6.2" +"@parcel/packager-js@npm:2.7.0": + version: 2.7.0 + resolution: "@parcel/packager-js@npm:2.7.0" dependencies: - "@parcel/diagnostic": 2.6.2 - "@parcel/hash": 2.6.2 - "@parcel/plugin": 2.6.2 + "@parcel/diagnostic": 2.7.0 + "@parcel/hash": 2.7.0 + "@parcel/plugin": 2.7.0 "@parcel/source-map": ^2.0.0 - "@parcel/utils": 2.6.2 + "@parcel/utils": 2.7.0 globals: ^13.2.0 nullthrows: ^1.1.1 - checksum: 27695f08b029e3bb31675c789240c54c9bbe104db37fb8f537aaf475a53f0905296a4268a8db5ace082bd04dfd772ed348ca3dc8c9cdcebc3b16372548eb2b02 + checksum: e89810f379805ee5728d7c63e3072abbf68c4660a3360b47e093e591e320a1739f88733c532faea7f1582e020d45b9565c7a537fdb9d899477ee668f2be2b29b languageName: node linkType: hard -"@parcel/packager-raw@npm:2.6.2": - version: 2.6.2 - resolution: "@parcel/packager-raw@npm:2.6.2" +"@parcel/packager-raw@npm:2.7.0": + version: 2.7.0 + resolution: "@parcel/packager-raw@npm:2.7.0" dependencies: - "@parcel/plugin": 2.6.2 - checksum: cd82b6ff37a1f5f37154648fc8b3a759e888006e6fd2641c04adc6ba0cfde7b17e444273b29c678d57dc9ff02bde1fb70d3283fef38753acf4eeb1cb762d15ed + "@parcel/plugin": 2.7.0 + checksum: 1cc152684f651b8a7f934deb6bd2668f85f79f39256fcace4a9f243b5b9481a0d56f075ff4bf0f8138ada449fa04985e3a9f65e4c8a1839e6d228c3c27834d08 languageName: node linkType: hard -"@parcel/packager-svg@npm:2.6.2": - version: 2.6.2 - resolution: "@parcel/packager-svg@npm:2.6.2" +"@parcel/packager-svg@npm:2.7.0": + version: 2.7.0 + resolution: "@parcel/packager-svg@npm:2.7.0" dependencies: - "@parcel/plugin": 2.6.2 - "@parcel/types": 2.6.2 - "@parcel/utils": 2.6.2 + "@parcel/plugin": 2.7.0 + "@parcel/types": 2.7.0 + "@parcel/utils": 2.7.0 posthtml: ^0.16.4 - checksum: 8d57b48b33298434f484bf7bb30f9e10925dea57c01312188de6ebae7e78a114c1add5255ec415d29139aca93058ce2eb7bf51aeeb3460eae8f10c719fef216d + checksum: 5743832e492faf8548c9b05a3b98bcdf15c92a27d3f1ee440f58c906408606cc268426a24e858950abe98501a92e2f6b976149d1c5daac31227d3c17354a767b languageName: node linkType: hard -"@parcel/plugin@npm:2.6.2": - version: 2.6.2 - resolution: "@parcel/plugin@npm:2.6.2" +"@parcel/plugin@npm:2.7.0": + version: 2.7.0 + resolution: "@parcel/plugin@npm:2.7.0" dependencies: - "@parcel/types": 2.6.2 - checksum: f662896f6cbf4fdc4987dc6e96f9f035242ae62c786003c86a3c7c7ece7542f8e93e98f8ba54af1b4fcd9c205acc5df8121386281c9bd99b8ac087645523437b + "@parcel/types": 2.7.0 + checksum: c7860291d1d4d09d73d45b40355198fa58197526541f5e6614025410997c94913cc8f0ac6a66a5e6fdcf8a39eb407bc46227788854fb4b83d7395419628da6aa languageName: node linkType: hard "@parcel/reporter-cli@npm:^2.0.1": - version: 2.6.2 - resolution: "@parcel/reporter-cli@npm:2.6.2" + version: 2.7.0 + resolution: "@parcel/reporter-cli@npm:2.7.0" dependencies: - "@parcel/plugin": 2.6.2 - "@parcel/types": 2.6.2 - "@parcel/utils": 2.6.2 + "@parcel/plugin": 2.7.0 + "@parcel/types": 2.7.0 + "@parcel/utils": 2.7.0 chalk: ^4.1.0 term-size: ^2.2.1 - checksum: da90091a5d3585897a2cc2139c6880766bb132d9fe3cc6de9e5029593fe15f8c889ea730bb8a10dfcc6669e54d1e621231f2cb5f4b6bf168fbea64108f3ec19d + checksum: c0cca1f366ed70d21865eaad4cda1da543f7521bdeadcf7e69040ef0fab6b73cc6f7697b1db0f5d9b886884669bf1a58506f182d471a0bd86e129a3895cf5961 languageName: node linkType: hard -"@parcel/reporter-dev-server@npm:2.6.2, @parcel/reporter-dev-server@npm:^2.0.1": - version: 2.6.2 - resolution: "@parcel/reporter-dev-server@npm:2.6.2" +"@parcel/reporter-dev-server@npm:2.7.0, @parcel/reporter-dev-server@npm:^2.0.1": + version: 2.7.0 + resolution: "@parcel/reporter-dev-server@npm:2.7.0" dependencies: - "@parcel/plugin": 2.6.2 - "@parcel/utils": 2.6.2 - checksum: b7df7522052b88824756e9c915ccb89a13da22c37e2c3f7116f93ed0850e33c379aeeee36044daed3ae58890a6ca60e68ae4058ee6bdcd43b4254205b43be519 + "@parcel/plugin": 2.7.0 + "@parcel/utils": 2.7.0 + checksum: c7b434b16e28ad2959f30fd8e441295bbb84db1e86725f6464462a15c9fe0c0187148ca2caf7f7eb5d05656d93d525b4a19e1f5965976338de967bb848627490 languageName: node linkType: hard -"@parcel/resolver-default@npm:2.6.2": - version: 2.6.2 - resolution: "@parcel/resolver-default@npm:2.6.2" +"@parcel/resolver-default@npm:2.7.0": + version: 2.7.0 + resolution: "@parcel/resolver-default@npm:2.7.0" dependencies: - "@parcel/node-resolver-core": 2.6.2 - "@parcel/plugin": 2.6.2 - checksum: b904a0baf1752f8ff9f672a455cc3a60e365fecc86542e8ef3ff93d0e89268e55f63281da227ebf3fa9e52fdb3a49f55868597102af75d7f2c99bdd8636b7aba + "@parcel/node-resolver-core": 2.7.0 + "@parcel/plugin": 2.7.0 + checksum: 6ee1c82d284718e3fb24e0ebad27e889bb81904ba2a4930a8c1194b5cffb49dd0e120bd304945b07e0e05f0728e169be60e2aa32870511aca988d9056eba17dc languageName: node linkType: hard -"@parcel/runtime-browser-hmr@npm:2.6.2": - version: 2.6.2 - resolution: "@parcel/runtime-browser-hmr@npm:2.6.2" +"@parcel/runtime-browser-hmr@npm:2.7.0": + version: 2.7.0 + resolution: "@parcel/runtime-browser-hmr@npm:2.7.0" dependencies: - "@parcel/plugin": 2.6.2 - "@parcel/utils": 2.6.2 - checksum: e5e559037a4df454575efe6b54ccd4819d8bf4658a263f0af4dac81b82c696618bad4228b869c9bd41db6375436b935ae0abe5f2cc051f223d1099567e1d0521 + "@parcel/plugin": 2.7.0 + "@parcel/utils": 2.7.0 + checksum: c93ad5a3c5f9794c7d1469e58901b60fdebe678a0205189d1866ef18224dbe24911eb6666a4c079463b1b7e0aaa993c5ccb0827e1e9dda0cb24d1fd17c6e4fd0 languageName: node linkType: hard -"@parcel/runtime-js@npm:2.6.2": - version: 2.6.2 - resolution: "@parcel/runtime-js@npm:2.6.2" +"@parcel/runtime-js@npm:2.7.0": + version: 2.7.0 + resolution: "@parcel/runtime-js@npm:2.7.0" dependencies: - "@parcel/plugin": 2.6.2 - "@parcel/utils": 2.6.2 + "@parcel/plugin": 2.7.0 + "@parcel/utils": 2.7.0 nullthrows: ^1.1.1 - checksum: 46aafc84ccd1332307bfc31f1c3f7ea8349eb544ce27233042753d78772b8dd9e15046e3f89bb39d5bca73a0b43d5ed4305096d1427feddeebb1666ac0b9dfa8 + checksum: 8d07cdff4df51add101b0a4e8540986999a0e9f84f62649e6f91a70839d30a05b25796fa3ce1d255fd5d1a76a3d9b50e2e68a855a6fe1b658c718d75115db2f1 languageName: node linkType: hard -"@parcel/runtime-react-refresh@npm:2.6.2": - version: 2.6.2 - resolution: "@parcel/runtime-react-refresh@npm:2.6.2" +"@parcel/runtime-react-refresh@npm:2.7.0": + version: 2.7.0 + resolution: "@parcel/runtime-react-refresh@npm:2.7.0" dependencies: - "@parcel/plugin": 2.6.2 - "@parcel/utils": 2.6.2 + "@parcel/plugin": 2.7.0 + "@parcel/utils": 2.7.0 react-error-overlay: 6.0.9 react-refresh: ^0.9.0 - checksum: a29aff51d814fd37b86dba8c64e87cbfe153eafc8300b60696eefda076d121f069ba5f5914fa9f8c8cc71070e05163cbbca7bf92e93d351cfbb967a21871976a + checksum: 3189261ef8bf67321fc9b19edec284ec291b515bd77c4f37198efe08751f570fc80b59d2cb396ac81399ffcba91b0f48c3f4e58ddb96e98e9cc03fce85f368a6 languageName: node linkType: hard -"@parcel/runtime-service-worker@npm:2.6.2": - version: 2.6.2 - resolution: "@parcel/runtime-service-worker@npm:2.6.2" +"@parcel/runtime-service-worker@npm:2.7.0": + version: 2.7.0 + resolution: "@parcel/runtime-service-worker@npm:2.7.0" dependencies: - "@parcel/plugin": 2.6.2 - "@parcel/utils": 2.6.2 + "@parcel/plugin": 2.7.0 + "@parcel/utils": 2.7.0 nullthrows: ^1.1.1 - checksum: 7b8b42434287fddafe0f7389156179ac02e360713d8f09122f57786e0fee170b20117461e44a27b67f4a62d1d4e60163442b11dceeb6ec84edfb5fe508c90a74 + checksum: 2bd445476a147b9d27742ee4d34f539cf0258f27992fbde80cd2f8f9b1710bce1c702f13e05e3b039ee305d7240bead2714222734e7a07c172b5a457c70d1f46 languageName: node linkType: hard @@ -6169,75 +6309,76 @@ __metadata: languageName: node linkType: hard -"@parcel/transformer-babel@npm:2.6.2": - version: 2.6.2 - resolution: "@parcel/transformer-babel@npm:2.6.2" +"@parcel/transformer-babel@npm:2.7.0": + version: 2.7.0 + resolution: "@parcel/transformer-babel@npm:2.7.0" dependencies: - "@parcel/diagnostic": 2.6.2 - "@parcel/plugin": 2.6.2 + "@parcel/diagnostic": 2.7.0 + "@parcel/plugin": 2.7.0 "@parcel/source-map": ^2.0.0 - "@parcel/utils": 2.6.2 + "@parcel/utils": 2.7.0 browserslist: ^4.6.6 json5: ^2.2.0 nullthrows: ^1.1.1 semver: ^5.7.0 - checksum: 770b7c44a873c2aee1263c069c0bea439066a65ac03fad6ed59aeb520d91e673ff06767d9becab6edaa614a2165972b6b8341fd5e8fa1dde016fcbd10d72c44c + checksum: f176804e6d62584bfca47a0a367402ac96f769cbd1de7593efb91ab85407cd68bfa95d80ceb45e4aa232091450c948546b597fb89e7c0075b25bc9867d3f3f0a languageName: node linkType: hard -"@parcel/transformer-css@npm:2.6.2": - version: 2.6.2 - resolution: "@parcel/transformer-css@npm:2.6.2" +"@parcel/transformer-css@npm:2.7.0": + version: 2.7.0 + resolution: "@parcel/transformer-css@npm:2.7.0" dependencies: - "@parcel/css": ^1.10.1 - "@parcel/diagnostic": 2.6.2 - "@parcel/plugin": 2.6.2 + "@parcel/css": ^1.12.2 + "@parcel/diagnostic": 2.7.0 + "@parcel/plugin": 2.7.0 "@parcel/source-map": ^2.0.0 - "@parcel/utils": 2.6.2 + "@parcel/utils": 2.7.0 browserslist: ^4.6.6 nullthrows: ^1.1.1 - checksum: dd38a0b0c9063b62bd15473be5a9a6e7241320ff050188a811ff24e865c5ec64e66aa6228b647bc1a1f6d7828eb3746c432943434dab323ebcbccab53a76cc52 + checksum: 2e4c74fd56c7468802b4131606a264a1f88d4a815fd3428c757ad61f826643a042cd062b889b27fd005af9ac12336f1f61efef784fd5776721357877e034e698 languageName: node linkType: hard -"@parcel/transformer-html@npm:2.6.2": - version: 2.6.2 - resolution: "@parcel/transformer-html@npm:2.6.2" +"@parcel/transformer-html@npm:2.7.0": + version: 2.7.0 + resolution: "@parcel/transformer-html@npm:2.7.0" dependencies: - "@parcel/diagnostic": 2.6.2 - "@parcel/hash": 2.6.2 - "@parcel/plugin": 2.6.2 + "@parcel/diagnostic": 2.7.0 + "@parcel/hash": 2.7.0 + "@parcel/plugin": 2.7.0 nullthrows: ^1.1.1 posthtml: ^0.16.5 posthtml-parser: ^0.10.1 posthtml-render: ^3.0.0 semver: ^5.7.1 - checksum: 1119575980b4c1335b3d8a148902fdf4e712b0242b31688d7c2d091ae8a9d8e350f30d7a5a0ab7d7dc10b27dfc1a894b2f92b3b9d4c3e7fa903a913aa17c2d4c + checksum: 92a4094e0c04349b8b31c6a93edc20797e5f663c36184ff252e9fe63e3b3c810fd9a5cbedb74c391b32a3e8d823cb580c6251c99cc85d08fe17898021ab459ff languageName: node linkType: hard -"@parcel/transformer-image@npm:2.6.2": - version: 2.6.2 - resolution: "@parcel/transformer-image@npm:2.6.2" +"@parcel/transformer-image@npm:2.7.0": + version: 2.7.0 + resolution: "@parcel/transformer-image@npm:2.7.0" dependencies: - "@parcel/plugin": 2.6.2 - "@parcel/workers": 2.6.2 + "@parcel/plugin": 2.7.0 + "@parcel/utils": 2.7.0 + "@parcel/workers": 2.7.0 nullthrows: ^1.1.1 peerDependencies: - "@parcel/core": ^2.6.2 - checksum: 91dea732d876228b2736c47160904983bf3624fe228d6337b16bb107b9f0a5866a6015a5d4f5c22336cafed14534ccc768d27e2f10ef8cff579cfd5004d3da6f + "@parcel/core": ^2.7.0 + checksum: 565a50f769fed4a5d636338ec8213106bcecd883e6f6c6e9fac25a6d7ed41aed47114c14defaa4a74b0ac3bdaaaf97eb0d807a18b84a48e100a2145e8ee2bcfd languageName: node linkType: hard -"@parcel/transformer-js@npm:2.6.2": - version: 2.6.2 - resolution: "@parcel/transformer-js@npm:2.6.2" +"@parcel/transformer-js@npm:2.7.0": + version: 2.7.0 + resolution: "@parcel/transformer-js@npm:2.7.0" dependencies: - "@parcel/diagnostic": 2.6.2 - "@parcel/plugin": 2.6.2 + "@parcel/diagnostic": 2.7.0 + "@parcel/plugin": 2.7.0 "@parcel/source-map": ^2.0.0 - "@parcel/utils": 2.6.2 - "@parcel/workers": 2.6.2 + "@parcel/utils": 2.7.0 + "@parcel/workers": 2.7.0 "@swc/helpers": ^0.4.2 browserslist: ^4.6.6 detect-libc: ^1.0.3 @@ -6245,115 +6386,115 @@ __metadata: regenerator-runtime: ^0.13.7 semver: ^5.7.1 peerDependencies: - "@parcel/core": ^2.6.2 - checksum: e96fc7c49d6892d3f02c28ecbaf8f9624cc64a491d70451e66349f4f3e0ae6054ba7563f054272d60174e171b2c26c04367b98d662f37162e1a153254f06c10d + "@parcel/core": ^2.7.0 + checksum: 4c84b79f02dbe0b812417052ee6bf5988275c7b1956fa58de34909550726eb03bfb4f78e34e49a8bf3c1119582f61d158d06db1b0c2dadf6f1db25f6b4c267cb languageName: node linkType: hard -"@parcel/transformer-json@npm:2.6.2": - version: 2.6.2 - resolution: "@parcel/transformer-json@npm:2.6.2" +"@parcel/transformer-json@npm:2.7.0": + version: 2.7.0 + resolution: "@parcel/transformer-json@npm:2.7.0" dependencies: - "@parcel/plugin": 2.6.2 + "@parcel/plugin": 2.7.0 json5: ^2.2.0 - checksum: 801ed3ab8c893fc85e23c2062c630fa2046edfd13b5ad27dc09eba41ce26c8737326f8490806580d928880b49c04f7210d6b8ae589f2d26b86d5eb6b02525617 + checksum: 9de5b460d7ca4574e4f58e28c4e9b5aefab20ba97a9c83e0dabf374378ebfe313e371f07a35b2e177f53b51878daa9c3025d24efcc201dedb806f2086f7c2074 languageName: node linkType: hard -"@parcel/transformer-postcss@npm:2.6.2": - version: 2.6.2 - resolution: "@parcel/transformer-postcss@npm:2.6.2" +"@parcel/transformer-postcss@npm:2.7.0": + version: 2.7.0 + resolution: "@parcel/transformer-postcss@npm:2.7.0" dependencies: - "@parcel/diagnostic": 2.6.2 - "@parcel/hash": 2.6.2 - "@parcel/plugin": 2.6.2 - "@parcel/utils": 2.6.2 + "@parcel/diagnostic": 2.7.0 + "@parcel/hash": 2.7.0 + "@parcel/plugin": 2.7.0 + "@parcel/utils": 2.7.0 clone: ^2.1.1 nullthrows: ^1.1.1 postcss-value-parser: ^4.2.0 semver: ^5.7.1 - checksum: 5f06c8dd17fbb0b5adc9c63abd99e907d7ccbfc2f4e42956801c481c3680160cc9b632452dcf9571611fe7fe4207f370b9aacf568f68d28c751fc83d0f2c9367 + checksum: e0de8b5afdd2dcac5a1303c2a835b75522551d29d6b1b2529e999d68530996c0b923e3d174980494c662ee42ab59b4293c892136b2c992af3b4e5d0eac43d511 languageName: node linkType: hard -"@parcel/transformer-posthtml@npm:2.6.2": - version: 2.6.2 - resolution: "@parcel/transformer-posthtml@npm:2.6.2" +"@parcel/transformer-posthtml@npm:2.7.0": + version: 2.7.0 + resolution: "@parcel/transformer-posthtml@npm:2.7.0" dependencies: - "@parcel/plugin": 2.6.2 - "@parcel/utils": 2.6.2 + "@parcel/plugin": 2.7.0 + "@parcel/utils": 2.7.0 nullthrows: ^1.1.1 posthtml: ^0.16.5 posthtml-parser: ^0.10.1 posthtml-render: ^3.0.0 semver: ^5.7.1 - checksum: ada6b9027103cb90f701afe76dfe6ea2d798ebda6f060edad267a127d99bd15bb3cab9018e0d105a92fec985fff632784103f17cdb1c4960fd847886a5245cde + checksum: 717817c4aa303f81476daf2cee675f481fb4b558fa9eafad31f4afa3a6b3f5628d00237c2a2e081428f8d8c3f3f126b48259eb3f7f6c66f9d0c093d73ce28bc8 languageName: node linkType: hard -"@parcel/transformer-raw@npm:2.6.2": - version: 2.6.2 - resolution: "@parcel/transformer-raw@npm:2.6.2" +"@parcel/transformer-raw@npm:2.7.0": + version: 2.7.0 + resolution: "@parcel/transformer-raw@npm:2.7.0" dependencies: - "@parcel/plugin": 2.6.2 - checksum: 2dfaf031f4793ff27dd5370475cbc0106f61406009ac3d4be039731be1428b56d5d41ed365098ab511a05a24c2e3042d5c59b3f85a4097cce0fcdbb04341f6fd + "@parcel/plugin": 2.7.0 + checksum: 0ebdcce175022da0e5fe01b612f41182ed0c505f4ef5b05a1ef222627a8259e0394f3c756e5512954982bd104540478ae7fc112ae1d85d970e9366c0c32ebbd7 languageName: node linkType: hard -"@parcel/transformer-react-refresh-wrap@npm:2.6.2": - version: 2.6.2 - resolution: "@parcel/transformer-react-refresh-wrap@npm:2.6.2" +"@parcel/transformer-react-refresh-wrap@npm:2.7.0": + version: 2.7.0 + resolution: "@parcel/transformer-react-refresh-wrap@npm:2.7.0" dependencies: - "@parcel/plugin": 2.6.2 - "@parcel/utils": 2.6.2 + "@parcel/plugin": 2.7.0 + "@parcel/utils": 2.7.0 react-refresh: ^0.9.0 - checksum: a5213381f7ab82417bde5ff4431973e9710e32d2409457b3caba2b79cc1ed297569004551a8b6c380c930ee2b2bd8a2fefec56e3e5e3d4ce051c20c63e782c9b + checksum: 81b3dd38d76ae371a2a546c3cea89bf464e7c6f227c08032b9224b98e7266d99c60cb56e401ce9d12fdd8ac180a6f35ba0d35092f876fad6e6caefc49181f944 languageName: node linkType: hard -"@parcel/transformer-svg@npm:2.6.2": - version: 2.6.2 - resolution: "@parcel/transformer-svg@npm:2.6.2" +"@parcel/transformer-svg@npm:2.7.0": + version: 2.7.0 + resolution: "@parcel/transformer-svg@npm:2.7.0" dependencies: - "@parcel/diagnostic": 2.6.2 - "@parcel/hash": 2.6.2 - "@parcel/plugin": 2.6.2 + "@parcel/diagnostic": 2.7.0 + "@parcel/hash": 2.7.0 + "@parcel/plugin": 2.7.0 nullthrows: ^1.1.1 posthtml: ^0.16.5 posthtml-parser: ^0.10.1 posthtml-render: ^3.0.0 semver: ^5.7.1 - checksum: da70ed004277f559fec9b5a8d758931dbad5cf8898943a16ac73cc9a39ecf234d4bac8b8b3b39d9057ad59a234aba60ed21f15cc26656f00538502b89bd63084 + checksum: a3d9a3676ef27334b43bfb392c82b845e32a2d502ba4bb5b925496b0260c8f026b7a431c63f3f375f592243186fd6553b1845da2e49bd7310bd2d1059315ed10 languageName: node linkType: hard -"@parcel/types@npm:2.6.2": - version: 2.6.2 - resolution: "@parcel/types@npm:2.6.2" +"@parcel/types@npm:2.7.0": + version: 2.7.0 + resolution: "@parcel/types@npm:2.7.0" dependencies: - "@parcel/cache": 2.6.2 - "@parcel/diagnostic": 2.6.2 - "@parcel/fs": 2.6.2 - "@parcel/package-manager": 2.6.2 + "@parcel/cache": 2.7.0 + "@parcel/diagnostic": 2.7.0 + "@parcel/fs": 2.7.0 + "@parcel/package-manager": 2.7.0 "@parcel/source-map": ^2.0.0 - "@parcel/workers": 2.6.2 + "@parcel/workers": 2.7.0 utility-types: ^3.10.0 - checksum: 15c491f93e18ee05ae23c0946cb71ccd549891073db7b495e9ee537b9880f54af55eebf1730a6c552fd7f3b813b59a247b7ad93a5b6207810486909d092c2ba3 + checksum: eb0fbe46f5c35325fab14e05f67b3b6257dc33c801aefb90150069a0cdb9af366329008eba88feef2e2dfaf19f7058b0f8c00d80c5554142ddef918bb9601dc1 languageName: node linkType: hard -"@parcel/utils@npm:2.6.2, @parcel/utils@npm:^2.0.1": - version: 2.6.2 - resolution: "@parcel/utils@npm:2.6.2" +"@parcel/utils@npm:2.7.0, @parcel/utils@npm:^2.0.1": + version: 2.7.0 + resolution: "@parcel/utils@npm:2.7.0" dependencies: - "@parcel/codeframe": 2.6.2 - "@parcel/diagnostic": 2.6.2 - "@parcel/hash": 2.6.2 - "@parcel/logger": 2.6.2 - "@parcel/markdown-ansi": 2.6.2 + "@parcel/codeframe": 2.7.0 + "@parcel/diagnostic": 2.7.0 + "@parcel/hash": 2.7.0 + "@parcel/logger": 2.7.0 + "@parcel/markdown-ansi": 2.7.0 "@parcel/source-map": ^2.0.0 chalk: ^4.1.0 - checksum: 6e31037e7e7d2e6525a4b32df3c51bdc807f1bdfac47676d260ff50d8bb86928ede1ebe26b44ce0ea478d377fefc55226dcce8db087329ed353eeb6c71f32d1d + checksum: 59db0f90c832e6ccf75c21d642c126e81f8ccfa591056c2b2c399e42bb0fcff0d5fedf84d0582f31fda414c7dc06194a7ce946739b583273dd641f4e51984562 languageName: node linkType: hard @@ -6379,19 +6520,19 @@ __metadata: languageName: node linkType: hard -"@parcel/workers@npm:2.6.2": - version: 2.6.2 - resolution: "@parcel/workers@npm:2.6.2" +"@parcel/workers@npm:2.7.0": + version: 2.7.0 + resolution: "@parcel/workers@npm:2.7.0" dependencies: - "@parcel/diagnostic": 2.6.2 - "@parcel/logger": 2.6.2 - "@parcel/types": 2.6.2 - "@parcel/utils": 2.6.2 + "@parcel/diagnostic": 2.7.0 + "@parcel/logger": 2.7.0 + "@parcel/types": 2.7.0 + "@parcel/utils": 2.7.0 chrome-trace-event: ^1.0.2 nullthrows: ^1.1.1 peerDependencies: - "@parcel/core": ^2.6.2 - checksum: ecc0ade7bce62617d3ed59a1d702e97732affba93f71a44443ea4473452d92ae178d1e58e35fc8e76e1e9aa916569d623254f3bb6ce405d332b7d87b92f26029 + "@parcel/core": ^2.7.0 + checksum: 60e0f4b43e9a62a6fb41fd0a81645d5156ceb9716d0a7a4bab0351ae74406ad03fdff9266864880dc55b83af24f48e39dd9e8a1f858528ddce936f497bb936fe languageName: node linkType: hard @@ -6407,14 +6548,14 @@ __metadata: linkType: hard "@playwright/test@npm:^1.24.2": - version: 1.24.2 - resolution: "@playwright/test@npm:1.24.2" + version: 1.25.2 + resolution: "@playwright/test@npm:1.25.2" dependencies: "@types/node": "*" - playwright-core: 1.24.2 + playwright-core: 1.25.2 bin: playwright: cli.js - checksum: 87e943149510fd7ad1369b7e1c07b67a86f31f09c0a2ddf61c48b0e7f56f8f9542b8541d2aed9e8e08b7c3aa93459329f5af01337e00f8136202ecf93fb3ffd9 + checksum: 3f94187d3943c2ac10a120b5ba7858526806d1f31afee4b65ec93d2e870d54ace662fd473538a644a9eb5ce61071e4dc12f7b737847d253e1f2a45deed1ad143 languageName: node linkType: hard @@ -6465,9 +6606,9 @@ __metadata: linkType: hard "@popperjs/core@npm:^2.5.4, @popperjs/core@npm:^2.6.0": - version: 2.11.5 - resolution: "@popperjs/core@npm:2.11.5" - checksum: 1253c23004dbd69a48f6d0c2febbb9fca2173deab2bdb1d34f46f9870f913b121e7d113a852088544bb2ec175ff6db645169ffc84fad6febc1b533fa052804e1 + version: 2.11.6 + resolution: "@popperjs/core@npm:2.11.6" + checksum: 90b1361ab1a19cd351e482a88cb6cf13cf25973e20797bf9b97223e64b87bde8d9668ab2f33be24475e2a092d362ac256c361b16ea4e4ab5b21f2aeaef5f9bb7 languageName: node linkType: hard @@ -6588,8 +6729,8 @@ __metadata: linkType: hard "@rollup/plugin-typescript@npm:^8.3.0": - version: 8.3.3 - resolution: "@rollup/plugin-typescript@npm:8.3.3" + version: 8.5.0 + resolution: "@rollup/plugin-typescript@npm:8.5.0" dependencies: "@rollup/pluginutils": ^3.1.0 resolve: ^1.17.0 @@ -6600,7 +6741,7 @@ __metadata: peerDependenciesMeta: tslib: optional: true - checksum: ae12ceb66f89b1974cc3fe8067ea32dc4368ddc402d1fb8f2c688860c3b34f2ade5729aac9804a3cc622cfd9bb0237649820cb3e5c59685d69ddb7a686124557 + checksum: 5754571abadf915244bc5b6c62f8aa3f7fe43009a3e9b5a174e11b7f635efbaf379f87fa169914be959d38bea675ab61d380d394d3da637a27f46471f9e47ab6 languageName: node linkType: hard @@ -6617,6 +6758,16 @@ __metadata: languageName: node linkType: hard +"@rollup/pluginutils@npm:^4.2.0, @rollup/pluginutils@npm:^4.2.1": + version: 4.2.1 + resolution: "@rollup/pluginutils@npm:4.2.1" + dependencies: + estree-walker: ^2.0.1 + picomatch: ^2.2.2 + checksum: 3ee56b2c8f1ed8dfd0a92631da1af3a2dfdd0321948f089b3752b4de1b54dc5076701eadd0e5fc18bd191b77af594ac1db6279e83951238ba16bf8a414c64c48 + languageName: node + linkType: hard + "@rushstack/eslint-patch@npm:^1.0.8, @rushstack/eslint-patch@npm:^1.1.0": version: 1.1.4 resolution: "@rushstack/eslint-patch@npm:1.1.4" @@ -6659,9 +6810,9 @@ __metadata: linkType: hard "@sinclair/typebox@npm:^0.24.1": - version: 0.24.20 - resolution: "@sinclair/typebox@npm:0.24.20" - checksum: c1e69fae5f226407a834c225cf078daf6a39126f8513d9a140d103b1f7a24218397c37f33b73a78f26505b5278ccb6bde00e400a64f09cd4cbf481eae9729a85 + version: 0.24.38 + resolution: "@sinclair/typebox@npm:0.24.38" + checksum: db1317e03b4371ce593174c7156c217786a878c7b9f256b73618fcd21b1cad6e0230765b0000b60f9b55bde67004348971cae5a56b9b7f2bc86c8c899857e602 languageName: node linkType: hard @@ -6731,6 +6882,13 @@ __metadata: languageName: node linkType: hard +"@socket.io/component-emitter@npm:~3.1.0": + version: 3.1.0 + resolution: "@socket.io/component-emitter@npm:3.1.0" + checksum: b838ccccf74c36fa7d3ed89a7efb5858cba1a84db4d08250c2fc44d8235140f10d31875bde71517d8503cb3fb08fcd34d3b7a3d0d89058ca3f74f7c816f0fb9c + languageName: node + linkType: hard + "@soda/friendly-errors-webpack-plugin@npm:^1.8.0": version: 1.8.1 resolution: "@soda/friendly-errors-webpack-plugin@npm:1.8.1" @@ -6752,22 +6910,21 @@ __metadata: languageName: node linkType: hard -"@storybook/addon-a11y@7.0.0-alpha.20, @storybook/addon-a11y@workspace:*, @storybook/addon-a11y@workspace:addons/a11y": +"@storybook/addon-a11y@7.0.0-alpha.31, @storybook/addon-a11y@workspace:*, @storybook/addon-a11y@workspace:addons/a11y": version: 0.0.0-use.local resolution: "@storybook/addon-a11y@workspace:addons/a11y" dependencies: - "@storybook/addon-highlight": 7.0.0-alpha.20 - "@storybook/addons": 7.0.0-alpha.20 - "@storybook/api": 7.0.0-alpha.20 - "@storybook/channels": 7.0.0-alpha.20 - "@storybook/client-logger": 7.0.0-alpha.20 - "@storybook/components": 7.0.0-alpha.20 - "@storybook/core-events": 7.0.0-alpha.20 + "@storybook/addon-highlight": 7.0.0-alpha.31 + "@storybook/addons": 7.0.0-alpha.31 + "@storybook/api": 7.0.0-alpha.31 + "@storybook/channels": 7.0.0-alpha.31 + "@storybook/client-logger": 7.0.0-alpha.31 + "@storybook/components": 7.0.0-alpha.31 + "@storybook/core-events": 7.0.0-alpha.31 "@storybook/csf": 0.0.2--canary.0899bb7.0 - "@storybook/theming": 7.0.0-alpha.20 + "@storybook/theming": 7.0.0-alpha.31 "@testing-library/react": ^11.2.2 axe-core: ^4.2.0 - core-js: ^3.8.2 global: ^4.4.0 lodash: ^4.17.21 react-sizeme: ^3.0.1 @@ -6785,25 +6942,24 @@ __metadata: languageName: unknown linkType: soft -"@storybook/addon-actions@7.0.0-alpha.20, @storybook/addon-actions@workspace:*, @storybook/addon-actions@workspace:addons/actions": +"@storybook/addon-actions@7.0.0-alpha.31, @storybook/addon-actions@workspace:*, @storybook/addon-actions@workspace:addons/actions": version: 0.0.0-use.local resolution: "@storybook/addon-actions@workspace:addons/actions" dependencies: - "@storybook/addons": 7.0.0-alpha.20 - "@storybook/api": 7.0.0-alpha.20 - "@storybook/client-logger": 7.0.0-alpha.20 - "@storybook/components": 7.0.0-alpha.20 - "@storybook/core-events": 7.0.0-alpha.20 + "@storybook/addons": 7.0.0-alpha.31 + "@storybook/api": 7.0.0-alpha.31 + "@storybook/client-logger": 7.0.0-alpha.31 + "@storybook/components": 7.0.0-alpha.31 + "@storybook/core-events": 7.0.0-alpha.31 "@storybook/csf": 0.0.2--canary.0899bb7.0 - "@storybook/theming": 7.0.0-alpha.20 + "@storybook/theming": 7.0.0-alpha.31 "@types/lodash": ^4.14.167 - core-js: ^3.8.2 dequal: ^2.0.2 global: ^4.4.0 lodash: ^4.17.21 polished: ^4.2.2 prop-types: ^15.7.2 - react-inspector: ^5.1.0 + react-inspector: ^6.0.0 telejson: ^6.0.8 ts-dedent: ^2.0.0 typescript: ~4.6.3 @@ -6820,18 +6976,17 @@ __metadata: languageName: unknown linkType: soft -"@storybook/addon-backgrounds@7.0.0-alpha.20, @storybook/addon-backgrounds@workspace:*, @storybook/addon-backgrounds@workspace:addons/backgrounds": +"@storybook/addon-backgrounds@7.0.0-alpha.31, @storybook/addon-backgrounds@workspace:*, @storybook/addon-backgrounds@workspace:addons/backgrounds": version: 0.0.0-use.local resolution: "@storybook/addon-backgrounds@workspace:addons/backgrounds" dependencies: - "@storybook/addons": 7.0.0-alpha.20 - "@storybook/api": 7.0.0-alpha.20 - "@storybook/client-logger": 7.0.0-alpha.20 - "@storybook/components": 7.0.0-alpha.20 - "@storybook/core-events": 7.0.0-alpha.20 + "@storybook/addons": 7.0.0-alpha.31 + "@storybook/api": 7.0.0-alpha.31 + "@storybook/client-logger": 7.0.0-alpha.31 + "@storybook/components": 7.0.0-alpha.31 + "@storybook/core-events": 7.0.0-alpha.31 "@storybook/csf": 0.0.2--canary.0899bb7.0 - "@storybook/theming": 7.0.0-alpha.20 - core-js: ^3.8.2 + "@storybook/theming": 7.0.0-alpha.31 global: ^4.4.0 memoizerific: ^1.11.3 ts-dedent: ^2.0.0 @@ -6848,21 +7003,20 @@ __metadata: languageName: unknown linkType: soft -"@storybook/addon-controls@7.0.0-alpha.20, @storybook/addon-controls@workspace:*, @storybook/addon-controls@workspace:addons/controls": +"@storybook/addon-controls@7.0.0-alpha.31, @storybook/addon-controls@workspace:*, @storybook/addon-controls@workspace:addons/controls": version: 0.0.0-use.local resolution: "@storybook/addon-controls@workspace:addons/controls" dependencies: - "@storybook/addons": 7.0.0-alpha.20 - "@storybook/api": 7.0.0-alpha.20 - "@storybook/blocks": 7.0.0-alpha.20 - "@storybook/client-logger": 7.0.0-alpha.20 - "@storybook/components": 7.0.0-alpha.20 - "@storybook/core-common": 7.0.0-alpha.20 + "@storybook/addons": 7.0.0-alpha.31 + "@storybook/api": 7.0.0-alpha.31 + "@storybook/blocks": 7.0.0-alpha.31 + "@storybook/client-logger": 7.0.0-alpha.31 + "@storybook/components": 7.0.0-alpha.31 + "@storybook/core-common": 7.0.0-alpha.31 "@storybook/csf": 0.0.2--canary.0899bb7.0 - "@storybook/node-logger": 7.0.0-alpha.20 - "@storybook/store": 7.0.0-alpha.20 - "@storybook/theming": 7.0.0-alpha.20 - core-js: ^3.8.2 + "@storybook/node-logger": 7.0.0-alpha.31 + "@storybook/store": 7.0.0-alpha.31 + "@storybook/theming": 7.0.0-alpha.31 lodash: ^4.17.21 ts-dedent: ^2.0.0 peerDependencies: @@ -6876,7 +7030,7 @@ __metadata: languageName: unknown linkType: soft -"@storybook/addon-docs@7.0.0-alpha.20, @storybook/addon-docs@workspace:*, @storybook/addon-docs@workspace:addons/docs": +"@storybook/addon-docs@7.0.0-alpha.31, @storybook/addon-docs@workspace:*, @storybook/addon-docs@workspace:addons/docs": version: 0.0.0-use.local resolution: "@storybook/addon-docs@workspace:addons/docs" dependencies: @@ -6885,26 +7039,25 @@ __metadata: "@babel/preset-env": ^7.12.11 "@jest/transform": ^26.6.2 "@mdx-js/react": ^1.6.22 - "@storybook/addons": 7.0.0-alpha.20 - "@storybook/api": 7.0.0-alpha.20 - "@storybook/blocks": 7.0.0-alpha.20 - "@storybook/components": 7.0.0-alpha.20 - "@storybook/core-common": 7.0.0-alpha.20 - "@storybook/core-events": 7.0.0-alpha.20 + "@storybook/addons": 7.0.0-alpha.31 + "@storybook/api": 7.0.0-alpha.31 + "@storybook/blocks": 7.0.0-alpha.31 + "@storybook/components": 7.0.0-alpha.31 + "@storybook/core-common": 7.0.0-alpha.31 + "@storybook/core-events": 7.0.0-alpha.31 "@storybook/csf": 0.0.2--canary.0899bb7.0 - "@storybook/csf-tools": 7.0.0-alpha.20 - "@storybook/docs-tools": 7.0.0-alpha.20 + "@storybook/csf-tools": 7.0.0-alpha.31 + "@storybook/docs-tools": 7.0.0-alpha.31 "@storybook/mdx1-csf": 0.0.5-canary.13.9ce928a.0 "@storybook/mdx2-csf": 0.0.4-canary.14.04ffbe8.0 - "@storybook/node-logger": 7.0.0-alpha.20 - "@storybook/postinstall": 7.0.0-alpha.20 - "@storybook/preview-web": 7.0.0-alpha.20 - "@storybook/source-loader": 7.0.0-alpha.20 - "@storybook/store": 7.0.0-alpha.20 - "@storybook/theming": 7.0.0-alpha.20 + "@storybook/node-logger": 7.0.0-alpha.31 + "@storybook/postinstall": 7.0.0-alpha.31 + "@storybook/preview-web": 7.0.0-alpha.31 + "@storybook/source-loader": 7.0.0-alpha.31 + "@storybook/store": 7.0.0-alpha.31 + "@storybook/theming": 7.0.0-alpha.31 "@types/util-deprecate": ^1.0.0 babel-loader: ^8.2.5 - core-js: ^3.8.2 dequal: ^2.0.2 global: ^4.4.0 lodash: ^4.17.21 @@ -6927,27 +7080,26 @@ __metadata: languageName: unknown linkType: soft -"@storybook/addon-essentials@7.0.0-alpha.20, @storybook/addon-essentials@workspace:*, @storybook/addon-essentials@workspace:addons/essentials": +"@storybook/addon-essentials@7.0.0-alpha.31, @storybook/addon-essentials@workspace:*, @storybook/addon-essentials@workspace:addons/essentials": version: 0.0.0-use.local resolution: "@storybook/addon-essentials@workspace:addons/essentials" dependencies: "@babel/core": ^7.12.10 - "@storybook/addon-actions": 7.0.0-alpha.20 - "@storybook/addon-backgrounds": 7.0.0-alpha.20 - "@storybook/addon-controls": 7.0.0-alpha.20 - "@storybook/addon-docs": 7.0.0-alpha.20 - "@storybook/addon-highlight": 7.0.0-alpha.20 - "@storybook/addon-measure": 7.0.0-alpha.20 - "@storybook/addon-outline": 7.0.0-alpha.20 - "@storybook/addon-toolbars": 7.0.0-alpha.20 - "@storybook/addon-viewport": 7.0.0-alpha.20 - "@storybook/addons": 7.0.0-alpha.20 - "@storybook/api": 7.0.0-alpha.20 - "@storybook/core-common": 7.0.0-alpha.20 - "@storybook/node-logger": 7.0.0-alpha.20 - "@storybook/vue": 7.0.0-alpha.20 + "@storybook/addon-actions": 7.0.0-alpha.31 + "@storybook/addon-backgrounds": 7.0.0-alpha.31 + "@storybook/addon-controls": 7.0.0-alpha.31 + "@storybook/addon-docs": 7.0.0-alpha.31 + "@storybook/addon-highlight": 7.0.0-alpha.31 + "@storybook/addon-measure": 7.0.0-alpha.31 + "@storybook/addon-outline": 7.0.0-alpha.31 + "@storybook/addon-toolbars": 7.0.0-alpha.31 + "@storybook/addon-viewport": 7.0.0-alpha.31 + "@storybook/addons": 7.0.0-alpha.31 + "@storybook/api": 7.0.0-alpha.31 + "@storybook/core-common": 7.0.0-alpha.31 + "@storybook/node-logger": 7.0.0-alpha.31 + "@storybook/vue": 7.0.0-alpha.31 "@types/jest": ^26.0.16 - core-js: ^3.8.2 ts-dedent: ^2.0.0 typescript: ~4.6.3 peerDependencies: @@ -6980,35 +7132,34 @@ __metadata: languageName: unknown linkType: soft -"@storybook/addon-highlight@7.0.0-alpha.20, @storybook/addon-highlight@workspace:*, @storybook/addon-highlight@workspace:addons/highlight": +"@storybook/addon-highlight@7.0.0-alpha.31, @storybook/addon-highlight@workspace:*, @storybook/addon-highlight@workspace:addons/highlight": version: 0.0.0-use.local resolution: "@storybook/addon-highlight@workspace:addons/highlight" dependencies: - "@storybook/addons": 7.0.0-alpha.20 - "@storybook/core-events": 7.0.0-alpha.20 + "@storybook/addons": 7.0.0-alpha.31 + "@storybook/core-events": 7.0.0-alpha.31 "@types/webpack-env": ^1.16.0 - core-js: ^3.8.2 global: ^4.4.0 typescript: ~4.6.3 languageName: unknown linkType: soft -"@storybook/addon-interactions@7.0.0-alpha.20, @storybook/addon-interactions@workspace:*, @storybook/addon-interactions@workspace:addons/interactions": +"@storybook/addon-interactions@7.0.0-alpha.31, @storybook/addon-interactions@workspace:*, @storybook/addon-interactions@workspace:addons/interactions": version: 0.0.0-use.local resolution: "@storybook/addon-interactions@workspace:addons/interactions" dependencies: "@devtools-ds/object-inspector": ^1.1.2 - "@storybook/addons": 7.0.0-alpha.20 - "@storybook/api": 7.0.0-alpha.20 - "@storybook/client-logger": 7.0.0-alpha.20 - "@storybook/components": 7.0.0-alpha.20 - "@storybook/core-common": 7.0.0-alpha.20 - "@storybook/core-events": 7.0.0-alpha.20 + "@storybook/addons": 7.0.0-alpha.31 + "@storybook/api": 7.0.0-alpha.31 + "@storybook/client-logger": 7.0.0-alpha.31 + "@storybook/components": 7.0.0-alpha.31 + "@storybook/core-common": 7.0.0-alpha.31 + "@storybook/core-events": 7.0.0-alpha.31 "@storybook/csf": 0.0.2--canary.0899bb7.0 - "@storybook/instrumenter": 7.0.0-alpha.20 + "@storybook/instrumenter": 7.0.0-alpha.31 "@storybook/jest": ^0.0.10 "@storybook/testing-library": 0.0.14-next.0 - "@storybook/theming": 7.0.0-alpha.20 + "@storybook/theming": 7.0.0-alpha.31 core-js: ^3.8.2 formik: ^2.2.9 global: ^4.4.0 @@ -7027,17 +7178,16 @@ __metadata: languageName: unknown linkType: soft -"@storybook/addon-jest@7.0.0-alpha.20, @storybook/addon-jest@workspace:*, @storybook/addon-jest@workspace:addons/jest": +"@storybook/addon-jest@7.0.0-alpha.31, @storybook/addon-jest@workspace:*, @storybook/addon-jest@workspace:addons/jest": version: 0.0.0-use.local resolution: "@storybook/addon-jest@workspace:addons/jest" dependencies: - "@storybook/addons": 7.0.0-alpha.20 - "@storybook/api": 7.0.0-alpha.20 - "@storybook/client-logger": 7.0.0-alpha.20 - "@storybook/components": 7.0.0-alpha.20 - "@storybook/core-events": 7.0.0-alpha.20 - "@storybook/theming": 7.0.0-alpha.20 - core-js: ^3.8.2 + "@storybook/addons": 7.0.0-alpha.31 + "@storybook/api": 7.0.0-alpha.31 + "@storybook/client-logger": 7.0.0-alpha.31 + "@storybook/components": 7.0.0-alpha.31 + "@storybook/core-events": 7.0.0-alpha.31 + "@storybook/theming": 7.0.0-alpha.31 global: ^4.4.0 react-sizeme: ^3.0.1 typescript: ~4.6.3 @@ -7053,16 +7203,15 @@ __metadata: languageName: unknown linkType: soft -"@storybook/addon-links@7.0.0-alpha.20, @storybook/addon-links@workspace:*, @storybook/addon-links@workspace:addons/links": +"@storybook/addon-links@7.0.0-alpha.31, @storybook/addon-links@workspace:*, @storybook/addon-links@workspace:addons/links": version: 0.0.0-use.local resolution: "@storybook/addon-links@workspace:addons/links" dependencies: - "@storybook/addons": 7.0.0-alpha.20 - "@storybook/client-logger": 7.0.0-alpha.20 - "@storybook/core-events": 7.0.0-alpha.20 + "@storybook/addons": 7.0.0-alpha.31 + "@storybook/client-logger": 7.0.0-alpha.31 + "@storybook/core-events": 7.0.0-alpha.31 "@storybook/csf": 0.0.2--canary.0899bb7.0 - "@storybook/router": 7.0.0-alpha.20 - core-js: ^3.8.2 + "@storybook/router": 7.0.0-alpha.31 global: ^4.4.0 prop-types: ^15.7.2 ts-dedent: ^2.0.0 @@ -7078,17 +7227,16 @@ __metadata: languageName: unknown linkType: soft -"@storybook/addon-measure@7.0.0-alpha.20, @storybook/addon-measure@workspace:*, @storybook/addon-measure@workspace:addons/measure": +"@storybook/addon-measure@7.0.0-alpha.31, @storybook/addon-measure@workspace:*, @storybook/addon-measure@workspace:addons/measure": version: 0.0.0-use.local resolution: "@storybook/addon-measure@workspace:addons/measure" dependencies: - "@storybook/addons": 7.0.0-alpha.20 - "@storybook/api": 7.0.0-alpha.20 - "@storybook/client-logger": 7.0.0-alpha.20 - "@storybook/components": 7.0.0-alpha.20 - "@storybook/core-events": 7.0.0-alpha.20 + "@storybook/addons": 7.0.0-alpha.31 + "@storybook/api": 7.0.0-alpha.31 + "@storybook/client-logger": 7.0.0-alpha.31 + "@storybook/components": 7.0.0-alpha.31 + "@storybook/core-events": 7.0.0-alpha.31 "@storybook/csf": 0.0.2--canary.0899bb7.0 - core-js: ^3.8.2 global: ^4.4.0 typescript: ~4.6.3 peerDependencies: @@ -7102,17 +7250,16 @@ __metadata: languageName: unknown linkType: soft -"@storybook/addon-outline@7.0.0-alpha.20, @storybook/addon-outline@workspace:*, @storybook/addon-outline@workspace:addons/outline": +"@storybook/addon-outline@7.0.0-alpha.31, @storybook/addon-outline@workspace:*, @storybook/addon-outline@workspace:addons/outline": version: 0.0.0-use.local resolution: "@storybook/addon-outline@workspace:addons/outline" dependencies: - "@storybook/addons": 7.0.0-alpha.20 - "@storybook/api": 7.0.0-alpha.20 - "@storybook/client-logger": 7.0.0-alpha.20 - "@storybook/components": 7.0.0-alpha.20 - "@storybook/core-events": 7.0.0-alpha.20 + "@storybook/addons": 7.0.0-alpha.31 + "@storybook/api": 7.0.0-alpha.31 + "@storybook/client-logger": 7.0.0-alpha.31 + "@storybook/components": 7.0.0-alpha.31 + "@storybook/core-events": 7.0.0-alpha.31 "@storybook/csf": 0.0.2--canary.0899bb7.0 - core-js: ^3.8.2 global: ^4.4.0 ts-dedent: ^2.0.0 typescript: ~4.6.3 @@ -7140,20 +7287,19 @@ __metadata: languageName: node linkType: hard -"@storybook/addon-storyshots-puppeteer@7.0.0-alpha.20, @storybook/addon-storyshots-puppeteer@workspace:*, @storybook/addon-storyshots-puppeteer@workspace:addons/storyshots/storyshots-puppeteer": +"@storybook/addon-storyshots-puppeteer@7.0.0-alpha.31, @storybook/addon-storyshots-puppeteer@workspace:*, @storybook/addon-storyshots-puppeteer@workspace:addons/storyshots/storyshots-puppeteer": version: 0.0.0-use.local resolution: "@storybook/addon-storyshots-puppeteer@workspace:addons/storyshots/storyshots-puppeteer" dependencies: "@axe-core/puppeteer": ^4.2.0 "@storybook/csf": 0.0.2--canary.0899bb7.0 - "@storybook/node-logger": 7.0.0-alpha.20 + "@storybook/node-logger": 7.0.0-alpha.31 "@types/jest-image-snapshot": ^4.1.3 "@types/puppeteer": ^5.4.0 - core-js: ^3.8.2 jest-image-snapshot: ^4.3.0 puppeteer: ^2.0.0 || ^3.0.0 peerDependencies: - "@storybook/addon-storyshots": 7.0.0-alpha.20 + "@storybook/addon-storyshots": 7.0.0-alpha.31 puppeteer: ">=2.0.0" peerDependenciesMeta: puppeteer: @@ -7161,7 +7307,7 @@ __metadata: languageName: unknown linkType: soft -"@storybook/addon-storyshots@7.0.0-alpha.20, @storybook/addon-storyshots@workspace:*, @storybook/addon-storyshots@workspace:addons/storyshots/storyshots-core": +"@storybook/addon-storyshots@7.0.0-alpha.31, @storybook/addon-storyshots@workspace:*, @storybook/addon-storyshots@workspace:addons/storyshots/storyshots-core": version: 0.0.0-use.local resolution: "@storybook/addon-storyshots@workspace:addons/storyshots/storyshots-core" dependencies: @@ -7169,18 +7315,18 @@ __metadata: "@angular/platform-browser-dynamic": ^13.3.6 "@emotion/jest": ^11.8.0 "@jest/transform": ^26.6.2 - "@storybook/addon-docs": 7.0.0-alpha.20 - "@storybook/addons": 7.0.0-alpha.20 - "@storybook/angular": 7.0.0-alpha.20 + "@storybook/addon-docs": 7.0.0-alpha.31 + "@storybook/addons": 7.0.0-alpha.31 + "@storybook/angular": 7.0.0-alpha.31 "@storybook/babel-plugin-require-context-hook": 1.0.1 - "@storybook/client-api": 7.0.0-alpha.20 - "@storybook/core-client": 7.0.0-alpha.20 - "@storybook/core-common": 7.0.0-alpha.20 - "@storybook/core-webpack": 7.0.0-alpha.20 + "@storybook/client-api": 7.0.0-alpha.31 + "@storybook/core-client": 7.0.0-alpha.31 + "@storybook/core-common": 7.0.0-alpha.31 + "@storybook/core-webpack": 7.0.0-alpha.31 "@storybook/csf": 0.0.2--canary.0899bb7.0 - "@storybook/react": 7.0.0-alpha.20 - "@storybook/vue": 7.0.0-alpha.20 - "@storybook/vue3": 7.0.0-alpha.20 + "@storybook/react": 7.0.0-alpha.31 + "@storybook/vue": 7.0.0-alpha.31 + "@storybook/vue3": 7.0.0-alpha.31 "@types/glob": ^7.1.3 "@types/jest": ^26.0.16 "@types/jest-specific-snapshot": ^0.5.3 @@ -7251,20 +7397,19 @@ __metadata: languageName: unknown linkType: soft -"@storybook/addon-storysource@7.0.0-alpha.20, @storybook/addon-storysource@workspace:*, @storybook/addon-storysource@workspace:addons/storysource": +"@storybook/addon-storysource@7.0.0-alpha.31, @storybook/addon-storysource@workspace:*, @storybook/addon-storysource@workspace:addons/storysource": version: 0.0.0-use.local resolution: "@storybook/addon-storysource@workspace:addons/storysource" dependencies: - "@storybook/addons": 7.0.0-alpha.20 - "@storybook/api": 7.0.0-alpha.20 - "@storybook/client-logger": 7.0.0-alpha.20 - "@storybook/components": 7.0.0-alpha.20 - "@storybook/router": 7.0.0-alpha.20 - "@storybook/source-loader": 7.0.0-alpha.20 - "@storybook/theming": 7.0.0-alpha.20 + "@storybook/addons": 7.0.0-alpha.31 + "@storybook/api": 7.0.0-alpha.31 + "@storybook/client-logger": 7.0.0-alpha.31 + "@storybook/components": 7.0.0-alpha.31 + "@storybook/router": 7.0.0-alpha.31 + "@storybook/source-loader": 7.0.0-alpha.31 + "@storybook/theming": 7.0.0-alpha.31 "@types/react": ^16.14.23 "@types/react-syntax-highlighter": 11.0.5 - core-js: ^3.8.2 estraverse: ^5.2.0 prop-types: ^15.7.2 react-syntax-highlighter: ^15.5.0 @@ -7280,16 +7425,31 @@ __metadata: languageName: unknown linkType: soft -"@storybook/addon-toolbars@7.0.0-alpha.20, @storybook/addon-toolbars@workspace:*, @storybook/addon-toolbars@workspace:addons/toolbars": +"@storybook/addon-svelte-csf@npm:^2.0.0": + version: 2.0.7 + resolution: "@storybook/addon-svelte-csf@npm:2.0.7" + dependencies: + ts-dedent: ^2.0.0 + peerDependencies: + "@storybook/svelte": ">=6.4.20" + svelte: ^3.46.6 + svelte-loader: ^3.1.2 + peerDependenciesMeta: + svelte-loader: + optional: true + checksum: 93a1412ed0a886aeb584249e8e37fbb2079e6e361bfbb464bb5cd2d6d4b6e73db13aebac3ff3c78c5c3d4b80a8c124e3603f7dc33c97ffb7873ad0392bfb057a + languageName: node + linkType: hard + +"@storybook/addon-toolbars@7.0.0-alpha.31, @storybook/addon-toolbars@workspace:*, @storybook/addon-toolbars@workspace:addons/toolbars": version: 0.0.0-use.local resolution: "@storybook/addon-toolbars@workspace:addons/toolbars" dependencies: - "@storybook/addons": 7.0.0-alpha.20 - "@storybook/api": 7.0.0-alpha.20 - "@storybook/client-logger": 7.0.0-alpha.20 - "@storybook/components": 7.0.0-alpha.20 - "@storybook/theming": 7.0.0-alpha.20 - core-js: ^3.8.2 + "@storybook/addons": 7.0.0-alpha.31 + "@storybook/api": 7.0.0-alpha.31 + "@storybook/client-logger": 7.0.0-alpha.31 + "@storybook/components": 7.0.0-alpha.31 + "@storybook/theming": 7.0.0-alpha.31 typescript: ~4.6.3 peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 @@ -7302,17 +7462,16 @@ __metadata: languageName: unknown linkType: soft -"@storybook/addon-viewport@7.0.0-alpha.20, @storybook/addon-viewport@workspace:*, @storybook/addon-viewport@workspace:addons/viewport": +"@storybook/addon-viewport@7.0.0-alpha.31, @storybook/addon-viewport@workspace:*, @storybook/addon-viewport@workspace:addons/viewport": version: 0.0.0-use.local resolution: "@storybook/addon-viewport@workspace:addons/viewport" dependencies: - "@storybook/addons": 7.0.0-alpha.20 - "@storybook/api": 7.0.0-alpha.20 - "@storybook/client-logger": 7.0.0-alpha.20 - "@storybook/components": 7.0.0-alpha.20 - "@storybook/core-events": 7.0.0-alpha.20 - "@storybook/theming": 7.0.0-alpha.20 - core-js: ^3.8.2 + "@storybook/addons": 7.0.0-alpha.31 + "@storybook/api": 7.0.0-alpha.31 + "@storybook/client-logger": 7.0.0-alpha.31 + "@storybook/components": 7.0.0-alpha.31 + "@storybook/core-events": 7.0.0-alpha.31 + "@storybook/theming": 7.0.0-alpha.31 global: ^4.4.0 memoizerific: ^1.11.3 prop-types: ^15.7.2 @@ -7328,19 +7487,17 @@ __metadata: languageName: unknown linkType: soft -"@storybook/addons@7.0.0-alpha.20, @storybook/addons@workspace:*, @storybook/addons@workspace:lib/addons": +"@storybook/addons@7.0.0-alpha.31, @storybook/addons@workspace:*, @storybook/addons@workspace:lib/addons": version: 0.0.0-use.local resolution: "@storybook/addons@workspace:lib/addons" dependencies: - "@storybook/api": 7.0.0-alpha.20 - "@storybook/channels": 7.0.0-alpha.20 - "@storybook/client-logger": 7.0.0-alpha.20 - "@storybook/core-events": 7.0.0-alpha.20 + "@storybook/api": 7.0.0-alpha.31 + "@storybook/channels": 7.0.0-alpha.31 + "@storybook/client-logger": 7.0.0-alpha.31 + "@storybook/core-events": 7.0.0-alpha.31 "@storybook/csf": 0.0.2--canary.0899bb7.0 - "@storybook/router": 7.0.0-alpha.20 - "@storybook/theming": 7.0.0-alpha.20 - "@types/webpack-env": ^1.16.4 - core-js: ^3.8.2 + "@storybook/router": 7.0.0-alpha.31 + "@storybook/theming": 7.0.0-alpha.31 global: ^4.4.0 peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 @@ -7348,17 +7505,17 @@ __metadata: languageName: unknown linkType: soft -"@storybook/addons@npm:6.5.9": - version: 6.5.9 - resolution: "@storybook/addons@npm:6.5.9" +"@storybook/addons@npm:6.5.10": + version: 6.5.10 + resolution: "@storybook/addons@npm:6.5.10" dependencies: - "@storybook/api": 6.5.9 - "@storybook/channels": 6.5.9 - "@storybook/client-logger": 6.5.9 - "@storybook/core-events": 6.5.9 + "@storybook/api": 6.5.10 + "@storybook/channels": 6.5.10 + "@storybook/client-logger": 6.5.10 + "@storybook/core-events": 6.5.10 "@storybook/csf": 0.0.2--canary.4566f4d.1 - "@storybook/router": 6.5.9 - "@storybook/theming": 6.5.9 + "@storybook/router": 6.5.10 + "@storybook/theming": 6.5.10 "@types/webpack-env": ^1.16.0 core-js: ^3.8.2 global: ^4.4.0 @@ -7366,11 +7523,11 @@ __metadata: peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - checksum: 3ee3e61abc7bff6b481374597cc6717936685222b187d173462483d77d9b284fe5650e9764f7232ae80678e4718440d712f182c01c16887d53c77a1abe262616 + checksum: 5a251420e585d75197302b50063da9fb1fd90bd3d106c69913c06b5d48383cb8d08ef34139c2689343e22e2db3c4616b3f48e04d375b8e3d77c1c114dcb5b217 languageName: node linkType: hard -"@storybook/angular@7.0.0-alpha.20, @storybook/angular@workspace:*, @storybook/angular@workspace:frameworks/angular": +"@storybook/angular@7.0.0-alpha.31, @storybook/angular@workspace:*, @storybook/angular@workspace:frameworks/angular": version: 0.0.0-use.local resolution: "@storybook/angular@workspace:frameworks/angular" dependencies: @@ -7386,20 +7543,20 @@ __metadata: "@angular/forms": ^13.3.6 "@angular/platform-browser": ^13.3.6 "@angular/platform-browser-dynamic": ^13.3.6 - "@nrwl/workspace": ^14.1.4 - "@storybook/addons": 7.0.0-alpha.20 - "@storybook/api": 7.0.0-alpha.20 - "@storybook/builder-webpack5": 7.0.0-alpha.20 - "@storybook/client-logger": 7.0.0-alpha.20 - "@storybook/core-client": 7.0.0-alpha.20 - "@storybook/core-common": 7.0.0-alpha.20 - "@storybook/core-events": 7.0.0-alpha.20 - "@storybook/core-server": 7.0.0-alpha.20 + "@nrwl/workspace": 14.6.1 + "@storybook/addons": 7.0.0-alpha.31 + "@storybook/api": 7.0.0-alpha.31 + "@storybook/builder-webpack5": 7.0.0-alpha.31 + "@storybook/client-logger": 7.0.0-alpha.31 + "@storybook/core-client": 7.0.0-alpha.31 + "@storybook/core-common": 7.0.0-alpha.31 + "@storybook/core-events": 7.0.0-alpha.31 + "@storybook/core-server": 7.0.0-alpha.31 "@storybook/csf": 0.0.2--canary.0899bb7.0 - "@storybook/docs-tools": 7.0.0-alpha.20 - "@storybook/node-logger": 7.0.0-alpha.20 + "@storybook/docs-tools": 7.0.0-alpha.31 + "@storybook/node-logger": 7.0.0-alpha.31 "@storybook/semver": ^7.3.2 - "@storybook/store": 7.0.0-alpha.20 + "@storybook/store": 7.0.0-alpha.31 "@types/autoprefixer": ^9.7.2 "@types/node": ^14.14.20 || ^16.0.0 "@types/react": ^16.14.23 @@ -7444,7 +7601,7 @@ __metadata: "@angular/platform-browser": ">=6.0.0" "@angular/platform-browser-dynamic": ">=6.0.0" "@babel/core": "*" - "@nrwl/workspace": ">=11.1.0" + "@nrwl/workspace": 14.6.1 rxjs: ^6.0.0 || ^7.4.0 typescript: ^4.0.0 zone.js: ^0.8.29 || ^0.9.0 || ^0.10.0 || ^0.11.0 @@ -7456,27 +7613,26 @@ __metadata: languageName: unknown linkType: soft -"@storybook/api@7.0.0-alpha.20, @storybook/api@workspace:*, @storybook/api@workspace:lib/api": +"@storybook/api@7.0.0-alpha.31, @storybook/api@workspace:*, @storybook/api@workspace:lib/api": version: 0.0.0-use.local resolution: "@storybook/api@workspace:lib/api" dependencies: - "@storybook/channels": 7.0.0-alpha.20 - "@storybook/client-logger": 7.0.0-alpha.20 - "@storybook/core-events": 7.0.0-alpha.20 + "@jest/globals": ^26.6.2 + "@storybook/channels": 7.0.0-alpha.31 + "@storybook/client-logger": 7.0.0-alpha.31 + "@storybook/core-common": 7.0.0-alpha.31 + "@storybook/core-events": 7.0.0-alpha.31 "@storybook/csf": 0.0.2--canary.0899bb7.0 - "@storybook/router": 7.0.0-alpha.20 + "@storybook/router": 7.0.0-alpha.31 "@storybook/semver": ^7.3.2 - "@storybook/theming": 7.0.0-alpha.20 + "@storybook/theming": 7.0.0-alpha.31 "@types/lodash": ^4.14.167 "@types/qs": ^6 - "@types/semver": ^7.3.4 - core-js: ^3.8.2 dequal: ^2.0.2 flush-promises: ^1.0.2 global: ^4.4.0 lodash: ^4.17.21 memoizerific: ^1.11.3 - preval.macro: ^5.0.0 qs: ^6.10.1 store2: ^2.12.0 telejson: ^6.0.8 @@ -7489,17 +7645,17 @@ __metadata: languageName: unknown linkType: soft -"@storybook/api@npm:6.5.9": - version: 6.5.9 - resolution: "@storybook/api@npm:6.5.9" +"@storybook/api@npm:6.5.10": + version: 6.5.10 + resolution: "@storybook/api@npm:6.5.10" dependencies: - "@storybook/channels": 6.5.9 - "@storybook/client-logger": 6.5.9 - "@storybook/core-events": 6.5.9 + "@storybook/channels": 6.5.10 + "@storybook/client-logger": 6.5.10 + "@storybook/core-events": 6.5.10 "@storybook/csf": 0.0.2--canary.4566f4d.1 - "@storybook/router": 6.5.9 + "@storybook/router": 6.5.10 "@storybook/semver": ^7.3.2 - "@storybook/theming": 6.5.9 + "@storybook/theming": 6.5.10 core-js: ^3.8.2 fast-deep-equal: ^3.1.3 global: ^4.4.0 @@ -7513,7 +7669,7 @@ __metadata: peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - checksum: 6f3aaed66c27715740397ff80a01fda1e363e75165c90cb5f50e4effc00e91b2d1f58b506d2279e83a905f794988e9aaaa75d5b7380c192c954f8c6520368d67 + checksum: 77f8caf4a5039f3009b4d08ce2bf97a5bc87e149b8c3719033b116868aa4d6919be49dc8a4412c5977f1a0b34c9f23057774f75f42f244801ec373f873521102 languageName: node linkType: hard @@ -7524,23 +7680,24 @@ __metadata: languageName: node linkType: hard -"@storybook/blocks@7.0.0-alpha.20, @storybook/blocks@workspace:*, @storybook/blocks@workspace:lib/blocks": +"@storybook/blocks@7.0.0-alpha.31, @storybook/blocks@workspace:*, @storybook/blocks@workspace:lib/blocks": version: 0.0.0-use.local resolution: "@storybook/blocks@workspace:lib/blocks" dependencies: - "@storybook/addons": 7.0.0-alpha.20 - "@storybook/api": 7.0.0-alpha.20 - "@storybook/channels": 7.0.0-alpha.20 - "@storybook/client-logger": 7.0.0-alpha.20 - "@storybook/components": 7.0.0-alpha.20 - "@storybook/core-events": 7.0.0-alpha.20 + "@storybook/addon-actions": 7.0.0-alpha.31 + "@storybook/addons": 7.0.0-alpha.31 + "@storybook/api": 7.0.0-alpha.31 + "@storybook/channels": 7.0.0-alpha.31 + "@storybook/client-logger": 7.0.0-alpha.31 + "@storybook/components": 7.0.0-alpha.31 + "@storybook/core-events": 7.0.0-alpha.31 "@storybook/csf": 0.0.2--canary.0899bb7.0 - "@storybook/docs-tools": 7.0.0-alpha.20 - "@storybook/preview-web": 7.0.0-alpha.20 - "@storybook/store": 7.0.0-alpha.20 - "@storybook/theming": 7.0.0-alpha.20 + "@storybook/docs-tools": 7.0.0-alpha.31 + "@storybook/preview-web": 7.0.0-alpha.31 + "@storybook/store": 7.0.0-alpha.31 + "@storybook/theming": 7.0.0-alpha.31 + "@types/color-convert": ^2.0.0 color-convert: ^2.0.1 - core-js: ^3.8.2 dequal: ^2.0.2 global: ^4.4.0 lodash: ^4.17.21 @@ -7555,50 +7712,84 @@ __metadata: languageName: unknown linkType: soft -"@storybook/builder-manager@7.0.0-alpha.20, @storybook/builder-manager@workspace:lib/builder-manager": +"@storybook/builder-manager@7.0.0-alpha.31, @storybook/builder-manager@workspace:*, @storybook/builder-manager@workspace:lib/builder-manager": version: 0.0.0-use.local resolution: "@storybook/builder-manager@workspace:lib/builder-manager" dependencies: "@fal-works/esbuild-plugin-global-externals": ^2.1.2 - "@storybook/core-common": 7.0.0-alpha.20 - "@storybook/node-logger": 7.0.0-alpha.20 - "@storybook/ui": 7.0.0-alpha.20 + "@storybook/core-common": 7.0.0-alpha.31 + "@storybook/node-logger": 7.0.0-alpha.31 + "@storybook/ui": 7.0.0-alpha.31 "@types/ejs": ^3.1.1 "@yarnpkg/esbuild-plugin-pnp": ^3.0.0-rc.10 browser-assert: ^1.2.1 - chalk: ^4.1.0 ejs: ^3.1.8 esbuild: ^0.14.48 esbuild-plugin-alias: ^0.2.1 express: ^4.17.1 fs-extra: ^9.0.1 - rollup-plugin-node-polyfills: ^0.2.1 + process: ^0.11.10 + typescript: ~4.6.3 + util: ^0.12.4 + languageName: unknown + linkType: soft + +"@storybook/builder-vite@7.0.0-alpha.31, @storybook/builder-vite@workspace:*, @storybook/builder-vite@workspace:lib/builder-vite": + version: 0.0.0-use.local + resolution: "@storybook/builder-vite@workspace:lib/builder-vite" + dependencies: + "@joshwooding/vite-plugin-react-docgen-typescript": 0.0.5 + "@storybook/addons": 7.0.0-alpha.31 + "@storybook/channel-postmessage": 7.0.0-alpha.31 + "@storybook/channel-websocket": 7.0.0-alpha.31 + "@storybook/client-api": 7.0.0-alpha.31 + "@storybook/client-logger": 7.0.0-alpha.31 + "@storybook/core-common": 7.0.0-alpha.31 + "@storybook/mdx1-csf": 0.0.5-canary.13.9ce928a.0 + "@storybook/mdx2-csf": ^0.0.3 + "@storybook/node-logger": 7.0.0-alpha.31 + "@storybook/preview-web": 7.0.0-alpha.31 + "@storybook/source-loader": 7.0.0-alpha.31 + "@types/express": ^4.17.13 + "@types/node": ^17.0.23 + "@vitejs/plugin-react": ^2.0.0 + es-module-lexer: ^0.9.3 + glob: ^7.2.0 + glob-promise: ^4.2.0 + magic-string: ^0.26.1 + slash: ^3.0.0 typescript: ~4.6.3 + vite: ^3.1.0 + peerDependencies: + "@storybook/mdx2-csf": ^0.0.3 + peerDependenciesMeta: + "@storybook/mdx2-csf": + optional: true languageName: unknown linkType: soft -"@storybook/builder-webpack5@7.0.0-alpha.20, @storybook/builder-webpack5@workspace:lib/builder-webpack5": +"@storybook/builder-webpack5@7.0.0-alpha.31, @storybook/builder-webpack5@workspace:*, @storybook/builder-webpack5@workspace:lib/builder-webpack5": version: 0.0.0-use.local resolution: "@storybook/builder-webpack5@workspace:lib/builder-webpack5" dependencies: "@babel/core": ^7.12.10 - "@storybook/addons": 7.0.0-alpha.20 - "@storybook/api": 7.0.0-alpha.20 - "@storybook/channel-postmessage": 7.0.0-alpha.20 - "@storybook/channel-websocket": 7.0.0-alpha.20 - "@storybook/channels": 7.0.0-alpha.20 - "@storybook/client-api": 7.0.0-alpha.20 - "@storybook/client-logger": 7.0.0-alpha.20 - "@storybook/components": 7.0.0-alpha.20 - "@storybook/core-common": 7.0.0-alpha.20 - "@storybook/core-events": 7.0.0-alpha.20 - "@storybook/core-webpack": 7.0.0-alpha.20 - "@storybook/node-logger": 7.0.0-alpha.20 - "@storybook/preview-web": 7.0.0-alpha.20 - "@storybook/router": 7.0.0-alpha.20 + "@storybook/addons": 7.0.0-alpha.31 + "@storybook/api": 7.0.0-alpha.31 + "@storybook/channel-postmessage": 7.0.0-alpha.31 + "@storybook/channel-websocket": 7.0.0-alpha.31 + "@storybook/channels": 7.0.0-alpha.31 + "@storybook/client-api": 7.0.0-alpha.31 + "@storybook/client-logger": 7.0.0-alpha.31 + "@storybook/components": 7.0.0-alpha.31 + "@storybook/core-common": 7.0.0-alpha.31 + "@storybook/core-events": 7.0.0-alpha.31 + "@storybook/core-webpack": 7.0.0-alpha.31 + "@storybook/node-logger": 7.0.0-alpha.31 + "@storybook/preview-web": 7.0.0-alpha.31 + "@storybook/router": 7.0.0-alpha.31 "@storybook/semver": ^7.3.2 - "@storybook/store": 7.0.0-alpha.20 - "@storybook/theming": 7.0.0-alpha.20 + "@storybook/store": 7.0.0-alpha.31 + "@storybook/theming": 7.0.0-alpha.31 "@types/node": ^14.0.10 || ^16.0.0 "@types/terser-webpack-plugin": ^5.2.0 "@types/webpack-dev-middleware": ^5.3.0 @@ -7608,16 +7799,12 @@ __metadata: babel-plugin-named-exports-order: ^0.0.2 browser-assert: ^1.2.1 case-sensitive-paths-webpack-plugin: ^2.4.0 - core-js: ^3.8.2 css-loader: ^6.7.1 fork-ts-checker-webpack-plugin: ^7.2.8 - glob: ^7.1.6 - glob-promise: ^3.4.0 global: ^4.4.0 html-webpack-plugin: ^5.5.0 path-browserify: ^1.0.1 process: ^0.11.10 - stable: ^0.1.8 style-loader: ^3.3.1 terser-webpack-plugin: ^5.3.1 ts-dedent: ^2.0.0 @@ -7637,14 +7824,13 @@ __metadata: languageName: unknown linkType: soft -"@storybook/channel-postmessage@7.0.0-alpha.20, @storybook/channel-postmessage@workspace:*, @storybook/channel-postmessage@workspace:lib/channel-postmessage": +"@storybook/channel-postmessage@7.0.0-alpha.31, @storybook/channel-postmessage@workspace:*, @storybook/channel-postmessage@workspace:lib/channel-postmessage": version: 0.0.0-use.local resolution: "@storybook/channel-postmessage@workspace:lib/channel-postmessage" dependencies: - "@storybook/channels": 7.0.0-alpha.20 - "@storybook/client-logger": 7.0.0-alpha.20 - "@storybook/core-events": 7.0.0-alpha.20 - core-js: ^3.8.2 + "@storybook/channels": 7.0.0-alpha.31 + "@storybook/client-logger": 7.0.0-alpha.31 + "@storybook/core-events": 7.0.0-alpha.31 global: ^4.4.0 qs: ^6.10.0 telejson: ^6.0.8 @@ -7652,55 +7838,53 @@ __metadata: languageName: unknown linkType: soft -"@storybook/channel-websocket@7.0.0-alpha.20, @storybook/channel-websocket@workspace:*, @storybook/channel-websocket@workspace:lib/channel-websocket": +"@storybook/channel-websocket@7.0.0-alpha.31, @storybook/channel-websocket@workspace:*, @storybook/channel-websocket@workspace:lib/channel-websocket": version: 0.0.0-use.local resolution: "@storybook/channel-websocket@workspace:lib/channel-websocket" dependencies: - "@storybook/channels": 7.0.0-alpha.20 - "@storybook/client-logger": 7.0.0-alpha.20 - core-js: ^3.8.2 + "@storybook/channels": 7.0.0-alpha.31 + "@storybook/client-logger": 7.0.0-alpha.31 global: ^4.4.0 telejson: ^6.0.8 typescript: ~4.6.3 languageName: unknown linkType: soft -"@storybook/channels@7.0.0-alpha.20, @storybook/channels@workspace:*, @storybook/channels@workspace:lib/channels": +"@storybook/channels@7.0.0-alpha.31, @storybook/channels@workspace:*, @storybook/channels@workspace:lib/channels": version: 0.0.0-use.local resolution: "@storybook/channels@workspace:lib/channels" dependencies: - core-js: ^3.8.2 ts-dedent: ^2.0.0 typescript: ~4.6.3 util-deprecate: ^1.0.2 languageName: unknown linkType: soft -"@storybook/channels@npm:6.5.9": - version: 6.5.9 - resolution: "@storybook/channels@npm:6.5.9" +"@storybook/channels@npm:6.5.10": + version: 6.5.10 + resolution: "@storybook/channels@npm:6.5.10" dependencies: core-js: ^3.8.2 ts-dedent: ^2.0.0 util-deprecate: ^1.0.2 - checksum: 3011663b754fe9028076b2a27573c6ca2040eb227918c315b9e6ea4d23298b1ac305e26aa4e89c02c9120ddd475d0f49d42bcb287b84cb37953c5f99606c3ed1 + checksum: 9326d73ac80c7e13fe706ce7b37ecfbf0e260d5502fbe539b6d4aeeb03dc12ae0115530195d303d30e944792651757d94450ff892050ce986af19dd34347a793 languageName: node linkType: hard -"@storybook/cli@7.0.0-alpha.20, @storybook/cli@workspace:*, @storybook/cli@workspace:lib/cli": +"@storybook/cli@7.0.0-alpha.31, @storybook/cli@workspace:*, @storybook/cli@workspace:lib/cli": version: 0.0.0-use.local resolution: "@storybook/cli@workspace:lib/cli" dependencies: "@babel/core": ^7.12.10 "@babel/preset-env": ^7.12.11 - "@storybook/client-api": 7.0.0-alpha.20 - "@storybook/codemod": 7.0.0-alpha.20 - "@storybook/core-common": 7.0.0-alpha.20 - "@storybook/core-server": 7.0.0-alpha.20 - "@storybook/csf-tools": 7.0.0-alpha.20 - "@storybook/node-logger": 7.0.0-alpha.20 + "@storybook/client-api": 7.0.0-alpha.31 + "@storybook/codemod": 7.0.0-alpha.31 + "@storybook/core-common": 7.0.0-alpha.31 + "@storybook/core-server": 7.0.0-alpha.31 + "@storybook/csf-tools": 7.0.0-alpha.31 + "@storybook/node-logger": 7.0.0-alpha.31 "@storybook/semver": ^7.3.2 - "@storybook/telemetry": 7.0.0-alpha.20 + "@storybook/telemetry": 7.0.0-alpha.31 "@types/cross-spawn": ^6.0.2 "@types/degit": ^2.8.3 "@types/prompts": ^2.0.9 @@ -7721,9 +7905,7 @@ __metadata: fs-extra: ^9.0.1 get-port: ^5.1.1 globby: ^11.0.2 - js-yaml: ^3.14.1 jscodeshift: ^0.13.1 - json5: ^2.1.3 leven: ^3.1.0 prompts: ^2.4.0 puppeteer-core: ^2.1.1 @@ -7739,26 +7921,19 @@ __metadata: languageName: unknown linkType: soft -"@storybook/client-api@7.0.0-alpha.20, @storybook/client-api@workspace:*, @storybook/client-api@workspace:lib/client-api": +"@storybook/client-api@7.0.0-alpha.31, @storybook/client-api@workspace:*, @storybook/client-api@workspace:lib/client-api": version: 0.0.0-use.local resolution: "@storybook/client-api@workspace:lib/client-api" dependencies: - "@storybook/addons": 7.0.0-alpha.20 - "@storybook/channel-postmessage": 7.0.0-alpha.20 - "@storybook/channels": 7.0.0-alpha.20 - "@storybook/client-logger": 7.0.0-alpha.20 - "@storybook/core-events": 7.0.0-alpha.20 + "@storybook/addons": 7.0.0-alpha.31 + "@storybook/client-logger": 7.0.0-alpha.31 + "@storybook/core-common": 7.0.0-alpha.31 "@storybook/csf": 0.0.2--canary.0899bb7.0 - "@storybook/store": 7.0.0-alpha.20 + "@storybook/store": 7.0.0-alpha.31 "@types/qs": ^6.9.5 "@types/webpack-env": ^1.16.4 - core-js: ^3.8.2 - dequal: ^2.0.2 global: ^4.4.0 - lodash: ^4.17.21 - memoizerific: ^1.11.3 qs: ^6.10.0 - store2: ^2.12.0 synchronous-promise: ^2.0.15 ts-dedent: ^2.0.0 typescript: ~4.6.3 @@ -7769,36 +7944,34 @@ __metadata: languageName: unknown linkType: soft -"@storybook/client-logger@7.0.0-alpha.20, @storybook/client-logger@workspace:*, @storybook/client-logger@workspace:lib/client-logger": +"@storybook/client-logger@7.0.0-alpha.31, @storybook/client-logger@workspace:*, @storybook/client-logger@workspace:lib/client-logger": version: 0.0.0-use.local resolution: "@storybook/client-logger@workspace:lib/client-logger" dependencies: - core-js: ^3.8.2 global: ^4.4.0 typescript: ~4.6.3 languageName: unknown linkType: soft -"@storybook/client-logger@npm:6.5.9, @storybook/client-logger@npm:^6.4.0, @storybook/client-logger@npm:^6.4.0 || >=6.5.0-0": - version: 6.5.9 - resolution: "@storybook/client-logger@npm:6.5.9" +"@storybook/client-logger@npm:6.5.10, @storybook/client-logger@npm:^6.4.0, @storybook/client-logger@npm:^6.4.0 || >=6.5.0-0": + version: 6.5.10 + resolution: "@storybook/client-logger@npm:6.5.10" dependencies: core-js: ^3.8.2 global: ^4.4.0 - checksum: 764aacff6859c2cfe93f90498504e6628d8c7606490f1eec835639e21f177b10f0e93cad605dadf0ca6e08f6d5e62153597de6c80570ae65d76b4c71b6884e09 + checksum: 57d558b501ba0ae5586937f69dea8a61c2ed6a01cd46dac97a59a1a3288a029aae3a3b904a542679a40617a419a28176daeec60051cec124a504e0db88beabf3 languageName: node linkType: hard -"@storybook/codemod@7.0.0-alpha.20, @storybook/codemod@workspace:*, @storybook/codemod@workspace:lib/codemod": +"@storybook/codemod@7.0.0-alpha.31, @storybook/codemod@workspace:*, @storybook/codemod@workspace:lib/codemod": version: 0.0.0-use.local resolution: "@storybook/codemod@workspace:lib/codemod" dependencies: "@babel/types": ^7.12.11 "@mdx-js/mdx": ^1.6.22 "@storybook/csf": 0.0.2--canary.0899bb7.0 - "@storybook/csf-tools": 7.0.0-alpha.20 - "@storybook/node-logger": 7.0.0-alpha.20 - core-js: ^3.8.2 + "@storybook/csf-tools": 7.0.0-alpha.31 + "@storybook/node-logger": 7.0.0-alpha.31 cross-spawn: ^7.0.3 globby: ^11.0.2 jest: ^26.6.3 @@ -7811,36 +7984,23 @@ __metadata: languageName: unknown linkType: soft -"@storybook/components@7.0.0-alpha.20, @storybook/components@workspace:*, @storybook/components@workspace:lib/components": +"@storybook/components@7.0.0-alpha.31, @storybook/components@workspace:*, @storybook/components@workspace:lib/components": version: 0.0.0-use.local resolution: "@storybook/components@workspace:lib/components" dependencies: "@popperjs/core": ^2.6.0 - "@storybook/client-logger": 7.0.0-alpha.20 + "@storybook/client-logger": 7.0.0-alpha.31 "@storybook/csf": 0.0.2--canary.0899bb7.0 - "@storybook/theming": 7.0.0-alpha.20 - "@testing-library/jest-dom": ^5.16.4 - "@types/color-convert": ^2.0.0 - "@types/lodash": ^4.14.182 + "@storybook/theming": 7.0.0-alpha.31 "@types/overlayscrollbars": ^1.12.0 - "@types/qs": ^6.9.7 "@types/react-syntax-highlighter": 11.0.5 "@types/util-deprecate": ^1.0.0 - color-convert: ^2.0.1 - core-js: ^3.8.2 css: ^3.0.0 - dequal: ^2.0.2 global: ^4.4.0 - jest: ^26.6.3 - lodash: ^4.17.21 - markdown-to-jsx: ^7.1.3 memoizerific: ^1.11.3 overlayscrollbars: ^1.13.1 polished: ^4.2.2 prettier: ">=2.2.1 <=2.3.0" - prop-types: ^15.7.2 - qs: ^6.10.0 - react-colorful: ^5.1.2 react-popper-tooltip: ^3.1.1 react-syntax-highlighter: ^15.4.5 react-textarea-autosize: ^8.3.0 @@ -7853,27 +8013,22 @@ __metadata: languageName: unknown linkType: soft -"@storybook/core-client@7.0.0-alpha.20, @storybook/core-client@workspace:lib/core-client": +"@storybook/core-client@7.0.0-alpha.31, @storybook/core-client@workspace:*, @storybook/core-client@workspace:lib/core-client": version: 0.0.0-use.local resolution: "@storybook/core-client@workspace:lib/core-client" dependencies: - "@storybook/addons": 7.0.0-alpha.20 - "@storybook/channel-postmessage": 7.0.0-alpha.20 - "@storybook/channel-websocket": 7.0.0-alpha.20 - "@storybook/client-api": 7.0.0-alpha.20 - "@storybook/client-logger": 7.0.0-alpha.20 - "@storybook/core-events": 7.0.0-alpha.20 + "@storybook/addons": 7.0.0-alpha.31 + "@storybook/channel-postmessage": 7.0.0-alpha.31 + "@storybook/channel-websocket": 7.0.0-alpha.31 + "@storybook/client-api": 7.0.0-alpha.31 + "@storybook/client-logger": 7.0.0-alpha.31 + "@storybook/core-events": 7.0.0-alpha.31 "@storybook/csf": 0.0.2--canary.0899bb7.0 - "@storybook/preview-web": 7.0.0-alpha.20 - "@storybook/store": 7.0.0-alpha.20 - "@storybook/ui": 7.0.0-alpha.20 - ansi-to-html: ^0.6.11 - core-js: ^3.8.2 + "@storybook/preview-web": 7.0.0-alpha.31 + "@storybook/store": 7.0.0-alpha.31 + "@storybook/ui": 7.0.0-alpha.31 global: ^4.4.0 - lodash: ^4.17.21 - qs: ^6.10.0 regenerator-runtime: ^0.13.7 - ts-dedent: ^2.0.0 typescript: ~4.6.3 util-deprecate: ^1.0.2 peerDependenciesMeta: @@ -7882,47 +8037,20 @@ __metadata: languageName: unknown linkType: soft -"@storybook/core-common@7.0.0-alpha.20, @storybook/core-common@workspace:lib/core-common": +"@storybook/core-common@7.0.0-alpha.31, @storybook/core-common@workspace:*, @storybook/core-common@workspace:lib/core-common": version: 0.0.0-use.local resolution: "@storybook/core-common@workspace:lib/core-common" dependencies: "@babel/core": ^7.12.10 - "@babel/plugin-proposal-class-properties": ^7.12.1 - "@babel/plugin-proposal-decorators": ^7.12.12 - "@babel/plugin-proposal-export-default-from": ^7.12.1 - "@babel/plugin-proposal-nullish-coalescing-operator": ^7.12.1 - "@babel/plugin-proposal-object-rest-spread": ^7.12.1 - "@babel/plugin-proposal-optional-chaining": ^7.12.7 - "@babel/plugin-proposal-private-methods": ^7.12.1 - "@babel/plugin-proposal-private-property-in-object": ^7.12.1 - "@babel/plugin-syntax-dynamic-import": ^7.8.3 - "@babel/plugin-transform-arrow-functions": ^7.12.1 - "@babel/plugin-transform-block-scoping": ^7.12.12 - "@babel/plugin-transform-classes": ^7.12.1 - "@babel/plugin-transform-destructuring": ^7.12.1 - "@babel/plugin-transform-for-of": ^7.12.1 - "@babel/plugin-transform-parameters": ^7.12.1 - "@babel/plugin-transform-shorthand-properties": ^7.12.1 - "@babel/plugin-transform-spread": ^7.12.1 - "@babel/preset-env": ^7.12.11 - "@babel/preset-react": ^7.12.10 - "@babel/preset-typescript": ^7.12.7 - "@babel/register": ^7.12.1 "@storybook/csf": 0.0.2--canary.0899bb7.0 - "@storybook/node-logger": 7.0.0-alpha.20 - "@storybook/semver": ^7.3.2 + "@storybook/node-logger": 7.0.0-alpha.31 "@types/babel__core": ^7.0.0 - "@types/compression": ^1.7.0 "@types/express": ^4.7.0 "@types/mock-fs": ^4.13.0 "@types/node": ^14.0.10 || ^16.0.0 "@types/picomatch": ^2.3.0 "@types/pretty-hrtime": ^1.0.0 - babel-loader: ^8.2.5 - babel-plugin-macros: ^3.0.1 - babel-plugin-polyfill-corejs3: ^0.1.0 chalk: ^4.1.0 - core-js: ^3.8.2 esbuild: ^0.14.48 esbuild-register: ^3.3.3 express: ^4.17.1 @@ -7931,7 +8059,6 @@ __metadata: fs-extra: ^9.0.1 glob: ^7.1.6 handlebars: ^4.7.7 - json5: ^2.1.3 lazy-universal-dotenv: ^3.0.1 mock-fs: ^4.13.0 picomatch: ^2.3.0 @@ -7953,42 +8080,41 @@ __metadata: languageName: unknown linkType: soft -"@storybook/core-events@7.0.0-alpha.20, @storybook/core-events@workspace:*, @storybook/core-events@workspace:lib/core-events": +"@storybook/core-events@7.0.0-alpha.31, @storybook/core-events@workspace:*, @storybook/core-events@workspace:lib/core-events": version: 0.0.0-use.local resolution: "@storybook/core-events@workspace:lib/core-events" dependencies: - core-js: ^3.8.2 typescript: ~4.6.3 languageName: unknown linkType: soft -"@storybook/core-events@npm:6.5.9": - version: 6.5.9 - resolution: "@storybook/core-events@npm:6.5.9" +"@storybook/core-events@npm:6.5.10": + version: 6.5.10 + resolution: "@storybook/core-events@npm:6.5.10" dependencies: core-js: ^3.8.2 - checksum: 5d9eb651ef528330bebe9048eec61d4e3af29fabcf3cc8d7572a94f199e2220dfa738c19d65a761de5ec377d7933316af5eb2bfd0dc8c4027cd7dd57951552bd + checksum: e6220fd670d09d36e7a677b31e541aa36496226b70b26966f44bc80840c9d5a1ff9e66a396ddf93771a572f7a6102a3e508293c27f5d91f2dad48b3a63bb09c6 languageName: node linkType: hard -"@storybook/core-server@7.0.0-alpha.20, @storybook/core-server@workspace:lib/core-server": +"@storybook/core-server@7.0.0-alpha.31, @storybook/core-server@workspace:*, @storybook/core-server@workspace:lib/core-server": version: 0.0.0-use.local resolution: "@storybook/core-server@workspace:lib/core-server" dependencies: "@aw-web-design/x-default-browser": 1.4.88 "@discoveryjs/json-ext": ^0.5.3 - "@storybook/builder-manager": 7.0.0-alpha.20 - "@storybook/builder-webpack5": 7.0.0-alpha.20 - "@storybook/core-client": 7.0.0-alpha.20 - "@storybook/core-common": 7.0.0-alpha.20 - "@storybook/core-events": 7.0.0-alpha.20 + "@storybook/builder-manager": 7.0.0-alpha.31 + "@storybook/builder-webpack5": 7.0.0-alpha.31 + "@storybook/core-client": 7.0.0-alpha.31 + "@storybook/core-common": 7.0.0-alpha.31 + "@storybook/core-events": 7.0.0-alpha.31 "@storybook/csf": 0.0.2--canary.0899bb7.0 - "@storybook/csf-tools": 7.0.0-alpha.20 + "@storybook/csf-tools": 7.0.0-alpha.31 "@storybook/docs-mdx": 0.0.1-canary.12433cf.0 - "@storybook/node-logger": 7.0.0-alpha.20 + "@storybook/node-logger": 7.0.0-alpha.31 "@storybook/semver": ^7.3.2 - "@storybook/store": 7.0.0-alpha.20 - "@storybook/telemetry": 7.0.0-alpha.20 + "@storybook/store": 7.0.0-alpha.31 + "@storybook/telemetry": 7.0.0-alpha.31 "@types/compression": ^1.7.0 "@types/ip": ^1.1.0 "@types/node": ^14.0.10 || ^16.0.0 @@ -8000,15 +8126,14 @@ __metadata: boxen: ^5.1.2 chalk: ^4.1.0 cli-table3: ^0.6.1 - commander: ^6.2.1 compression: ^1.7.4 - core-js: ^3.8.2 detect-port: ^1.3.0 express: ^4.17.1 fs-extra: ^9.0.1 global: ^4.4.0 globby: ^11.0.2 ip: ^2.0.0 + jest-os-detection: ^1.3.1 jest-specific-snapshot: ^4.0.0 lodash: ^4.17.21 node-fetch: ^2.6.7 @@ -8020,8 +8145,8 @@ __metadata: slash: ^3.0.0 telejson: ^6.0.8 ts-dedent: ^2.0.0 + ts-jest: ^26.4.4 typescript: ~4.6.3 - util-deprecate: ^1.0.2 watchpack: ^2.2.0 webpack: 5 ws: ^8.2.3 @@ -8036,36 +8161,31 @@ __metadata: languageName: unknown linkType: soft -"@storybook/core-webpack@7.0.0-alpha.20, @storybook/core-webpack@workspace:*, @storybook/core-webpack@workspace:lib/core-webpack": +"@storybook/core-webpack@7.0.0-alpha.31, @storybook/core-webpack@workspace:*, @storybook/core-webpack@workspace:lib/core-webpack": version: 0.0.0-use.local resolution: "@storybook/core-webpack@workspace:lib/core-webpack" dependencies: - "@storybook/core-common": 7.0.0-alpha.20 - "@storybook/node-logger": 7.0.0-alpha.20 + "@storybook/core-common": 7.0.0-alpha.31 + "@storybook/node-logger": 7.0.0-alpha.31 "@types/node": ^14.0.10 || ^16.0.0 - core-js: ^3.8.2 ts-dedent: ^2.0.0 typescript: ~4.6.3 + webpack: 5 languageName: unknown linkType: soft -"@storybook/csf-tools@7.0.0-alpha.20, @storybook/csf-tools@workspace:*, @storybook/csf-tools@workspace:lib/csf-tools": +"@storybook/csf-tools@7.0.0-alpha.31, @storybook/csf-tools@workspace:*, @storybook/csf-tools@workspace:lib/csf-tools": version: 0.0.0-use.local resolution: "@storybook/csf-tools@workspace:lib/csf-tools" dependencies: - "@babel/core": ^7.12.10 "@babel/generator": ^7.12.11 "@babel/parser": ^7.12.11 - "@babel/plugin-transform-react-jsx": ^7.12.12 - "@babel/preset-env": ^7.12.11 "@babel/traverse": ^7.12.11 "@babel/types": ^7.12.11 "@storybook/csf": 0.0.2--canary.0899bb7.0 - "@storybook/mdx2-csf": ^0.0.3 "@types/fs-extra": ^9.0.6 core-js: ^3.8.2 fs-extra: ^9.0.1 - global: ^4.4.0 js-yaml: ^3.14.1 ts-dedent: ^2.0.0 typescript: ~4.6.3 @@ -8134,14 +8254,13 @@ __metadata: languageName: node linkType: hard -"@storybook/docs-tools@7.0.0-alpha.20, @storybook/docs-tools@workspace:*, @storybook/docs-tools@workspace:lib/docs-tools": +"@storybook/docs-tools@7.0.0-alpha.31, @storybook/docs-tools@workspace:*, @storybook/docs-tools@workspace:lib/docs-tools": version: 0.0.0-use.local resolution: "@storybook/docs-tools@workspace:lib/docs-tools" dependencies: "@babel/core": ^7.12.10 "@storybook/csf": 0.0.2--canary.0899bb7.0 - "@storybook/store": 7.0.0-alpha.20 - core-js: ^3.8.2 + "@storybook/store": 7.0.0-alpha.31 doctrine: ^3.0.0 jest-specific-snapshot: ^4.0.0 lodash: ^4.17.21 @@ -8162,16 +8281,15 @@ __metadata: languageName: node linkType: hard -"@storybook/ember@7.0.0-alpha.20, @storybook/ember@workspace:*, @storybook/ember@workspace:frameworks/ember": +"@storybook/ember@7.0.0-alpha.31, @storybook/ember@workspace:*, @storybook/ember@workspace:frameworks/ember": version: 0.0.0-use.local resolution: "@storybook/ember@workspace:frameworks/ember" dependencies: - "@storybook/builder-webpack5": 7.0.0-alpha.20 - "@storybook/core-client": 7.0.0-alpha.20 - "@storybook/core-common": 7.0.0-alpha.20 - "@storybook/docs-tools": 7.0.0-alpha.20 - "@storybook/store": 7.0.0-alpha.20 - core-js: ^3.8.2 + "@storybook/builder-webpack5": 7.0.0-alpha.31 + "@storybook/core-client": 7.0.0-alpha.31 + "@storybook/core-common": 7.0.0-alpha.31 + "@storybook/docs-tools": 7.0.0-alpha.31 + "@storybook/store": 7.0.0-alpha.31 global: ^4.4.0 react: 16.14.0 react-dom: 16.14.0 @@ -8203,14 +8321,14 @@ __metadata: "@babel/preset-env": ^7.12.11 "@babel/preset-react": ^7.12.10 "@babel/preset-typescript": ^7.12.7 - "@storybook/addon-essentials": 7.0.0-alpha.20 - "@storybook/addon-storyshots": 7.0.0-alpha.20 - "@storybook/addon-storysource": 7.0.0-alpha.20 - "@storybook/addons": 7.0.0-alpha.20 - "@storybook/cli": 7.0.0-alpha.20 - "@storybook/components": 7.0.0-alpha.20 - "@storybook/react-webpack5": 7.0.0-alpha.20 - "@storybook/theming": 7.0.0-alpha.20 + "@storybook/addon-essentials": 7.0.0-alpha.31 + "@storybook/addon-storyshots": 7.0.0-alpha.31 + "@storybook/addon-storysource": 7.0.0-alpha.31 + "@storybook/addons": 7.0.0-alpha.31 + "@storybook/cli": 7.0.0-alpha.31 + "@storybook/components": 7.0.0-alpha.31 + "@storybook/react-webpack5": 7.0.0-alpha.31 + "@storybook/theming": 7.0.0-alpha.31 "@types/babel__preset-env": ^7 "@types/react": ^16.14.23 "@types/react-dom": ^16.9.14 @@ -8218,7 +8336,7 @@ __metadata: lodash: ^4.17.21 react: 16.14.0 react-dom: 16.14.0 - sb: 7.0.0-alpha.20 + sb: 7.0.0-alpha.31 typescript: ~4.6.3 webpack: 5 languageName: unknown @@ -8231,15 +8349,15 @@ __metadata: "@babel/preset-env": ^7.12.11 "@babel/preset-react": ^7.12.10 "@babel/preset-typescript": ^7.12.7 - "@storybook/addon-essentials": 7.0.0-alpha.20 - "@storybook/addon-storyshots": 7.0.0-alpha.20 - "@storybook/addon-storysource": 7.0.0-alpha.20 - "@storybook/addons": 7.0.0-alpha.20 - "@storybook/cli": 7.0.0-alpha.20 - "@storybook/components": 7.0.0-alpha.20 - "@storybook/react": 7.0.0-alpha.20 - "@storybook/react-webpack5": 7.0.0-alpha.20 - "@storybook/theming": 7.0.0-alpha.20 + "@storybook/addon-essentials": 7.0.0-alpha.31 + "@storybook/addon-storyshots": 7.0.0-alpha.31 + "@storybook/addon-storysource": 7.0.0-alpha.31 + "@storybook/addons": 7.0.0-alpha.31 + "@storybook/cli": 7.0.0-alpha.31 + "@storybook/components": 7.0.0-alpha.31 + "@storybook/react": 7.0.0-alpha.31 + "@storybook/react-webpack5": 7.0.0-alpha.31 + "@storybook/theming": 7.0.0-alpha.31 "@testing-library/dom": ^7.31.2 "@testing-library/react": 12.1.2 "@testing-library/user-event": ^13.1.9 @@ -8252,7 +8370,7 @@ __metadata: prop-types: 15.7.2 react: 16.14.0 react-dom: 16.14.0 - storybook: 7.0.0-alpha.20 + storybook: 7.0.0-alpha.31 typescript: ~4.6.3 webpack: 5 languageName: unknown @@ -8272,15 +8390,15 @@ __metadata: resolution: "@storybook/external-docs@workspace:examples/external-docs" dependencies: "@babel/preset-env": ^7.17.10 - "@storybook/addon-docs": 7.0.0-alpha.20 - "@storybook/addon-essentials": 7.0.0-alpha.20 - "@storybook/blocks": 7.0.0-alpha.20 - "@storybook/components": 7.0.0-alpha.20 + "@storybook/addon-docs": 7.0.0-alpha.31 + "@storybook/addon-essentials": 7.0.0-alpha.31 + "@storybook/blocks": 7.0.0-alpha.31 + "@storybook/components": 7.0.0-alpha.31 "@storybook/csf": 0.0.2--canary.0899bb7.0 - "@storybook/preview-web": 7.0.0-alpha.20 - "@storybook/react": 7.0.0-alpha.20 - "@storybook/react-webpack5": 7.0.0-alpha.20 - "@storybook/theming": 7.0.0-alpha.20 + "@storybook/preview-web": 7.0.0-alpha.31 + "@storybook/react": 7.0.0-alpha.31 + "@storybook/react-webpack5": 7.0.0-alpha.31 + "@storybook/theming": 7.0.0-alpha.31 "@testing-library/dom": ^7.31.2 "@testing-library/user-event": ^13.1.9 "@types/babel__preset-env": ^7 @@ -8296,22 +8414,21 @@ __metadata: prop-types: ^15.8.1 react: 16.14.0 react-dom: 16.14.0 - storybook: 7.0.0-alpha.20 + storybook: 7.0.0-alpha.31 typescript: ~4.6.3 webpack: 5 languageName: unknown linkType: soft -"@storybook/html-webpack5@7.0.0-alpha.20, @storybook/html-webpack5@workspace:*, @storybook/html-webpack5@workspace:frameworks/html-webpack5": +"@storybook/html-webpack5@7.0.0-alpha.31, @storybook/html-webpack5@workspace:*, @storybook/html-webpack5@workspace:frameworks/html-webpack5": version: 0.0.0-use.local resolution: "@storybook/html-webpack5@workspace:frameworks/html-webpack5" dependencies: - "@storybook/builder-webpack5": 7.0.0-alpha.20 - "@storybook/core-common": 7.0.0-alpha.20 - "@storybook/html": 7.0.0-alpha.20 - "@storybook/preset-html-webpack": 7.0.0-alpha.20 + "@storybook/builder-webpack5": 7.0.0-alpha.31 + "@storybook/core-common": 7.0.0-alpha.31 + "@storybook/html": 7.0.0-alpha.31 + "@storybook/preset-html-webpack": 7.0.0-alpha.31 "@types/node": ^14.14.20 || ^16.0.0 - core-js: ^3.8.2 global: ^4.4.0 react: 16.14.0 react-dom: 16.14.0 @@ -8321,17 +8438,16 @@ __metadata: languageName: unknown linkType: soft -"@storybook/html@7.0.0-alpha.20, @storybook/html@workspace:*, @storybook/html@workspace:renderers/html": +"@storybook/html@7.0.0-alpha.31, @storybook/html@workspace:*, @storybook/html@workspace:renderers/html": version: 0.0.0-use.local resolution: "@storybook/html@workspace:renderers/html" dependencies: - "@storybook/addons": 7.0.0-alpha.20 - "@storybook/core-client": 7.0.0-alpha.20 + "@storybook/addons": 7.0.0-alpha.31 + "@storybook/core-client": 7.0.0-alpha.31 "@storybook/csf": 0.0.2--canary.0899bb7.0 - "@storybook/docs-tools": 7.0.0-alpha.20 - "@storybook/preview-web": 7.0.0-alpha.20 - "@storybook/store": 7.0.0-alpha.20 - core-js: ^3.8.2 + "@storybook/docs-tools": 7.0.0-alpha.31 + "@storybook/preview-web": 7.0.0-alpha.31 + "@storybook/store": 7.0.0-alpha.31 global: ^4.4.0 react: 16.14.0 react-dom: 16.14.0 @@ -8342,13 +8458,13 @@ __metadata: languageName: unknown linkType: soft -"@storybook/instrumenter@7.0.0-alpha.20, @storybook/instrumenter@workspace:*, @storybook/instrumenter@workspace:lib/instrumenter": +"@storybook/instrumenter@7.0.0-alpha.31, @storybook/instrumenter@workspace:*, @storybook/instrumenter@workspace:lib/instrumenter": version: 0.0.0-use.local resolution: "@storybook/instrumenter@workspace:lib/instrumenter" dependencies: - "@storybook/addons": 7.0.0-alpha.20 - "@storybook/client-logger": 7.0.0-alpha.20 - "@storybook/core-events": 7.0.0-alpha.20 + "@storybook/addons": 7.0.0-alpha.31 + "@storybook/client-logger": 7.0.0-alpha.31 + "@storybook/core-events": 7.0.0-alpha.31 core-js: ^3.8.2 global: ^4.4.0 typescript: ~4.6.3 @@ -8356,15 +8472,15 @@ __metadata: linkType: soft "@storybook/instrumenter@npm:^6.4.0, @storybook/instrumenter@npm:^6.4.0 || >=6.5.0-0": - version: 6.5.9 - resolution: "@storybook/instrumenter@npm:6.5.9" + version: 6.5.10 + resolution: "@storybook/instrumenter@npm:6.5.10" dependencies: - "@storybook/addons": 6.5.9 - "@storybook/client-logger": 6.5.9 - "@storybook/core-events": 6.5.9 + "@storybook/addons": 6.5.10 + "@storybook/client-logger": 6.5.10 + "@storybook/core-events": 6.5.10 core-js: ^3.8.2 global: ^4.4.0 - checksum: df6e535759540c09cb0addd65250121a10767ea7f43d6452417208eb09f565250f52c4417c707c964b61da063ee06d15c7aa3baaa86a0a585768fc94cdb8f31d + checksum: c29f70f2d2f776f31ec77a45bddc20d29cc38a70e74a2e500ba37c8db49866755ac04b0197ecc693eaa6a46debbc7fe2bccdabb5ebdd90bc4304e5d4e11366e3 languageName: node linkType: hard @@ -8460,14 +8576,13 @@ __metadata: languageName: node linkType: hard -"@storybook/node-logger@7.0.0-alpha.20, @storybook/node-logger@workspace:*, @storybook/node-logger@workspace:lib/node-logger": +"@storybook/node-logger@7.0.0-alpha.31, @storybook/node-logger@workspace:*, @storybook/node-logger@workspace:lib/node-logger": version: 0.0.0-use.local resolution: "@storybook/node-logger@workspace:lib/node-logger" dependencies: "@types/npmlog": ^4.1.2 "@types/pretty-hrtime": ^1.0.0 chalk: ^4.1.0 - core-js: ^3.8.2 npmlog: ^5.0.1 pretty-hrtime: ^1.0.3 typescript: ~4.6.3 @@ -8475,23 +8590,22 @@ __metadata: linkType: soft "@storybook/node-logger@npm:^6.1.14": - version: 6.5.9 - resolution: "@storybook/node-logger@npm:6.5.9" + version: 6.5.10 + resolution: "@storybook/node-logger@npm:6.5.10" dependencies: "@types/npmlog": ^4.1.2 chalk: ^4.1.0 core-js: ^3.8.2 npmlog: ^5.0.1 pretty-hrtime: ^1.0.3 - checksum: fecbd08d347926cb1a428a7454481c8e372b6b761fe762bf98b85ce6b0764f7dcb0d77fe4c1bbcf441385d201f3db1b95111b39475bc27da2baa0c7435d0b149 + checksum: 6e96de76ca02f1358312ee749f29127f20430207bfb7670a9bf330c130042a949ef7fb9d02d0f7699f1c9682ed2ae89b6052d5efdb8326ac907a2d0d6fafe666 languageName: node linkType: hard -"@storybook/postinstall@7.0.0-alpha.20, @storybook/postinstall@workspace:*, @storybook/postinstall@workspace:lib/postinstall": +"@storybook/postinstall@7.0.0-alpha.31, @storybook/postinstall@workspace:*, @storybook/postinstall@workspace:lib/postinstall": version: 0.0.0-use.local resolution: "@storybook/postinstall@workspace:lib/postinstall" dependencies: - core-js: ^3.8.2 jest: ^26.6.3 jest-specific-snapshot: ^4.0.0 jscodeshift: ^0.13.1 @@ -8499,16 +8613,15 @@ __metadata: languageName: unknown linkType: soft -"@storybook/preact-webpack5@7.0.0-alpha.20, @storybook/preact-webpack5@workspace:*, @storybook/preact-webpack5@workspace:frameworks/preact-webpack5": +"@storybook/preact-webpack5@7.0.0-alpha.31, @storybook/preact-webpack5@workspace:*, @storybook/preact-webpack5@workspace:frameworks/preact-webpack5": version: 0.0.0-use.local resolution: "@storybook/preact-webpack5@workspace:frameworks/preact-webpack5" dependencies: - "@storybook/builder-webpack5": 7.0.0-alpha.20 - "@storybook/core-common": 7.0.0-alpha.20 - "@storybook/preact": 7.0.0-alpha.20 - "@storybook/preset-preact-webpack": 7.0.0-alpha.20 + "@storybook/builder-webpack5": 7.0.0-alpha.31 + "@storybook/core-common": 7.0.0-alpha.31 + "@storybook/preact": 7.0.0-alpha.31 + "@storybook/preset-preact-webpack": 7.0.0-alpha.31 "@types/node": ^14.14.20 || ^16.0.0 - core-js: ^3.8.2 preact: ^10.5.13 react: 16.14.0 react-dom: 16.14.0 @@ -8519,15 +8632,14 @@ __metadata: languageName: unknown linkType: soft -"@storybook/preact@7.0.0-alpha.20, @storybook/preact@workspace:*, @storybook/preact@workspace:renderers/preact": +"@storybook/preact@7.0.0-alpha.31, @storybook/preact@workspace:*, @storybook/preact@workspace:renderers/preact": version: 0.0.0-use.local resolution: "@storybook/preact@workspace:renderers/preact" dependencies: - "@storybook/addons": 7.0.0-alpha.20 - "@storybook/core-client": 7.0.0-alpha.20 + "@storybook/addons": 7.0.0-alpha.31 + "@storybook/core-client": 7.0.0-alpha.31 "@storybook/csf": 0.0.2--canary.0899bb7.0 - "@storybook/store": 7.0.0-alpha.20 - core-js: ^3.8.2 + "@storybook/store": 7.0.0-alpha.31 global: ^4.4.0 preact: ^10.5.13 react: 16.14.0 @@ -8558,13 +8670,12 @@ __metadata: languageName: node linkType: hard -"@storybook/preset-html-webpack@7.0.0-alpha.20, @storybook/preset-html-webpack@workspace:*, @storybook/preset-html-webpack@workspace:presets/html-webpack": +"@storybook/preset-html-webpack@7.0.0-alpha.31, @storybook/preset-html-webpack@workspace:*, @storybook/preset-html-webpack@workspace:presets/html-webpack": version: 0.0.0-use.local resolution: "@storybook/preset-html-webpack@workspace:presets/html-webpack" dependencies: - "@storybook/core-webpack": 7.0.0-alpha.20 + "@storybook/core-webpack": 7.0.0-alpha.31 "@types/node": ^14.14.20 || ^16.0.0 - core-js: ^3.8.2 html-loader: ^3.1.0 react: 16.14.0 react-dom: 16.14.0 @@ -8575,14 +8686,13 @@ __metadata: languageName: unknown linkType: soft -"@storybook/preset-preact-webpack@7.0.0-alpha.20, @storybook/preset-preact-webpack@workspace:*, @storybook/preset-preact-webpack@workspace:presets/preact-webpack": +"@storybook/preset-preact-webpack@7.0.0-alpha.31, @storybook/preset-preact-webpack@workspace:*, @storybook/preset-preact-webpack@workspace:presets/preact-webpack": version: 0.0.0-use.local resolution: "@storybook/preset-preact-webpack@workspace:presets/preact-webpack" dependencies: "@babel/plugin-transform-react-jsx": ^7.12.12 - "@storybook/core-webpack": 7.0.0-alpha.20 + "@storybook/core-webpack": 7.0.0-alpha.31 "@types/node": ^14.14.20 || ^16.0.0 - core-js: ^3.8.2 preact: ^10.5.13 react: 16.14.0 react-dom: 16.14.0 @@ -8593,24 +8703,23 @@ __metadata: languageName: unknown linkType: soft -"@storybook/preset-react-webpack@7.0.0-alpha.20, @storybook/preset-react-webpack@workspace:*, @storybook/preset-react-webpack@workspace:presets/react-webpack": +"@storybook/preset-react-webpack@7.0.0-alpha.31, @storybook/preset-react-webpack@workspace:*, @storybook/preset-react-webpack@workspace:presets/react-webpack": version: 0.0.0-use.local resolution: "@storybook/preset-react-webpack@workspace:presets/react-webpack" dependencies: "@babel/preset-flow": ^7.12.1 "@babel/preset-react": ^7.12.10 "@pmmmwh/react-refresh-webpack-plugin": ^0.5.5 - "@storybook/core-webpack": 7.0.0-alpha.20 - "@storybook/docs-tools": 7.0.0-alpha.20 - "@storybook/node-logger": 7.0.0-alpha.20 - "@storybook/react": 7.0.0-alpha.20 + "@storybook/core-webpack": 7.0.0-alpha.31 + "@storybook/docs-tools": 7.0.0-alpha.31 + "@storybook/node-logger": 7.0.0-alpha.31 + "@storybook/react": 7.0.0-alpha.31 "@storybook/react-docgen-typescript-plugin": 1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0 "@storybook/semver": ^7.3.2 "@types/node": ^14.14.20 || ^16.0.0 "@types/util-deprecate": ^1.0.0 babel-plugin-add-react-displayname: ^0.0.5 babel-plugin-react-docgen: ^4.2.1 - core-js: ^3.8.2 fs-extra: ^9.0.1 react-refresh: ^0.11.0 typescript: ~4.6.3 @@ -8640,15 +8749,14 @@ __metadata: languageName: node linkType: hard -"@storybook/preset-server-webpack@7.0.0-alpha.20, @storybook/preset-server-webpack@workspace:*, @storybook/preset-server-webpack@workspace:presets/server-webpack": +"@storybook/preset-server-webpack@7.0.0-alpha.31, @storybook/preset-server-webpack@workspace:*, @storybook/preset-server-webpack@workspace:presets/server-webpack": version: 0.0.0-use.local resolution: "@storybook/preset-server-webpack@workspace:presets/server-webpack" dependencies: - "@storybook/core-server": 7.0.0-alpha.20 - "@storybook/core-webpack": 7.0.0-alpha.20 - "@storybook/server": 7.0.0-alpha.20 + "@storybook/core-server": 7.0.0-alpha.31 + "@storybook/core-webpack": 7.0.0-alpha.31 + "@storybook/server": 7.0.0-alpha.31 "@types/node": ^14.14.20 || ^16.0.0 - core-js: ^3.8.2 fs-extra: ^9.0.1 global: ^4.4.0 jest-specific-snapshot: ^4.0.0 @@ -8662,18 +8770,17 @@ __metadata: languageName: unknown linkType: soft -"@storybook/preset-svelte-webpack@7.0.0-alpha.20, @storybook/preset-svelte-webpack@workspace:*, @storybook/preset-svelte-webpack@workspace:presets/svelte-webpack": +"@storybook/preset-svelte-webpack@7.0.0-alpha.31, @storybook/preset-svelte-webpack@workspace:*, @storybook/preset-svelte-webpack@workspace:presets/svelte-webpack": version: 0.0.0-use.local resolution: "@storybook/preset-svelte-webpack@workspace:presets/svelte-webpack" dependencies: - "@storybook/core-webpack": 7.0.0-alpha.20 - "@storybook/node-logger": 7.0.0-alpha.20 - core-js: ^3.8.2 + "@storybook/core-webpack": 7.0.0-alpha.31 + "@storybook/node-logger": 7.0.0-alpha.31 react: 16.14.0 react-dom: 16.14.0 svelte: ^3.31.2 svelte-loader: ^3.1.2 - sveltedoc-parser: 4.1.0 + sveltedoc-parser: ^4.2.1 ts-dedent: ^2.0.0 typescript: ~4.6.3 peerDependencies: @@ -8683,14 +8790,13 @@ __metadata: languageName: unknown linkType: soft -"@storybook/preset-vue-webpack@7.0.0-alpha.20, @storybook/preset-vue-webpack@workspace:*, @storybook/preset-vue-webpack@workspace:presets/vue-webpack": +"@storybook/preset-vue-webpack@7.0.0-alpha.31, @storybook/preset-vue-webpack@workspace:*, @storybook/preset-vue-webpack@workspace:presets/vue-webpack": version: 0.0.0-use.local resolution: "@storybook/preset-vue-webpack@workspace:presets/vue-webpack" dependencies: - "@storybook/core-webpack": 7.0.0-alpha.20 - "@storybook/docs-tools": 7.0.0-alpha.20 + "@storybook/core-webpack": 7.0.0-alpha.31 + "@storybook/docs-tools": 7.0.0-alpha.31 "@types/node": ^14.14.20 || ^16.0.0 - core-js: ^3.8.2 react: 16.14.0 react-dom: 16.14.0 ts-loader: ^9.2.8 @@ -8711,15 +8817,14 @@ __metadata: languageName: unknown linkType: soft -"@storybook/preset-vue3-webpack@7.0.0-alpha.20, @storybook/preset-vue3-webpack@workspace:*, @storybook/preset-vue3-webpack@workspace:presets/vue3-webpack": +"@storybook/preset-vue3-webpack@7.0.0-alpha.31, @storybook/preset-vue3-webpack@workspace:*, @storybook/preset-vue3-webpack@workspace:presets/vue3-webpack": version: 0.0.0-use.local resolution: "@storybook/preset-vue3-webpack@workspace:presets/vue3-webpack" dependencies: - "@storybook/core-webpack": 7.0.0-alpha.20 - "@storybook/docs-tools": 7.0.0-alpha.20 + "@storybook/core-webpack": 7.0.0-alpha.31 + "@storybook/docs-tools": 7.0.0-alpha.31 "@types/node": ^14.14.20 || ^16.0.0 "@vue/compiler-sfc": ^3.2.33 - core-js: ^3.8.2 react: 16.14.0 react-dom: 16.14.0 ts-loader: ^9.2.8 @@ -8737,18 +8842,17 @@ __metadata: languageName: unknown linkType: soft -"@storybook/preset-web-components-webpack@7.0.0-alpha.20, @storybook/preset-web-components-webpack@workspace:*, @storybook/preset-web-components-webpack@workspace:presets/web-components-webpack": +"@storybook/preset-web-components-webpack@7.0.0-alpha.31, @storybook/preset-web-components-webpack@workspace:*, @storybook/preset-web-components-webpack@workspace:presets/web-components-webpack": version: 0.0.0-use.local resolution: "@storybook/preset-web-components-webpack@workspace:presets/web-components-webpack" dependencies: "@babel/plugin-syntax-dynamic-import": ^7.8.3 "@babel/plugin-syntax-import-meta": ^7.10.4 "@babel/preset-env": ^7.12.11 - "@storybook/core-webpack": 7.0.0-alpha.20 + "@storybook/core-webpack": 7.0.0-alpha.31 "@types/node": ^14.14.20 || ^16.0.0 babel-loader: ^7.0.0 || ^8.0.0 babel-plugin-bundled-import-meta: ^0.3.1 - core-js: ^3.8.2 lit-html: 2.0.2 react: 16.14.0 react-dom: 16.14.0 @@ -8758,24 +8862,25 @@ __metadata: languageName: unknown linkType: soft -"@storybook/preview-web@7.0.0-alpha.20, @storybook/preview-web@workspace:*, @storybook/preview-web@workspace:lib/preview-web": +"@storybook/preview-web@7.0.0-alpha.31, @storybook/preview-web@workspace:*, @storybook/preview-web@workspace:lib/preview-web": version: 0.0.0-use.local resolution: "@storybook/preview-web@workspace:lib/preview-web" dependencies: - "@storybook/addons": 7.0.0-alpha.20 - "@storybook/channel-postmessage": 7.0.0-alpha.20 - "@storybook/channels": 7.0.0-alpha.20 - "@storybook/client-logger": 7.0.0-alpha.20 - "@storybook/core-events": 7.0.0-alpha.20 + "@storybook/addons": 7.0.0-alpha.31 + "@storybook/channel-postmessage": 7.0.0-alpha.31 + "@storybook/channels": 7.0.0-alpha.31 + "@storybook/client-logger": 7.0.0-alpha.31 + "@storybook/core-events": 7.0.0-alpha.31 "@storybook/csf": 0.0.2--canary.0899bb7.0 - "@storybook/store": 7.0.0-alpha.20 + "@storybook/store": 7.0.0-alpha.31 ansi-to-html: ^0.6.11 - core-js: ^3.8.2 global: ^4.4.0 lodash: ^4.17.21 qs: ^6.10.0 + react: 16.14.0 synchronous-promise: ^2.0.15 ts-dedent: ^2.0.0 + ts-jest: ^28.0.8 typescript: ~4.6.3 util-deprecate: ^1.0.2 languageName: unknown @@ -8799,15 +8904,35 @@ __metadata: languageName: node linkType: hard -"@storybook/react-webpack5@7.0.0-alpha.20, @storybook/react-webpack5@workspace:*, @storybook/react-webpack5@workspace:frameworks/react-webpack5": +"@storybook/react-vite@workspace:*, @storybook/react-vite@workspace:frameworks/react-vite": + version: 0.0.0-use.local + resolution: "@storybook/react-vite@workspace:frameworks/react-vite" + dependencies: + "@joshwooding/vite-plugin-react-docgen-typescript": ^0.0.5 + "@rollup/pluginutils": ^4.2.0 + "@storybook/builder-vite": 7.0.0-alpha.31 + "@storybook/react": 7.0.0-alpha.31 + "@types/node": ^14.14.20 || ^16.0.0 + "@vitejs/plugin-react": ^2.0.1 + ast-types: ^0.14.2 + magic-string: ^0.26.1 + react-docgen: ^6.0.0-alpha.3 + typescript: ~4.6.3 + vite: ^3.1.0 + peerDependencies: + react: ^16.8.0 || ^17.0.0 || ^18.0.0 + react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 + languageName: unknown + linkType: soft + +"@storybook/react-webpack5@7.0.0-alpha.31, @storybook/react-webpack5@workspace:*, @storybook/react-webpack5@workspace:frameworks/react-webpack5": version: 0.0.0-use.local resolution: "@storybook/react-webpack5@workspace:frameworks/react-webpack5" dependencies: - "@storybook/builder-webpack5": 7.0.0-alpha.20 - "@storybook/preset-react-webpack": 7.0.0-alpha.20 - "@storybook/react": 7.0.0-alpha.20 + "@storybook/builder-webpack5": 7.0.0-alpha.31 + "@storybook/preset-react-webpack": 7.0.0-alpha.31 + "@storybook/react": 7.0.0-alpha.31 "@types/node": ^14.14.20 || ^16.0.0 - core-js: ^3.8.2 jest-specific-snapshot: ^4.0.0 typescript: ~4.6.3 peerDependencies: @@ -8822,38 +8947,37 @@ __metadata: languageName: unknown linkType: soft -"@storybook/react@7.0.0-alpha.20, @storybook/react@workspace:*, @storybook/react@workspace:renderers/react": +"@storybook/react@7.0.0-alpha.31, @storybook/react@workspace:*, @storybook/react@workspace:renderers/react": version: 0.0.0-use.local resolution: "@storybook/react@workspace:renderers/react" dependencies: "@babel/core": ^7.11.5 - "@storybook/addons": 7.0.0-alpha.20 - "@storybook/client-logger": 7.0.0-alpha.20 - "@storybook/core-client": 7.0.0-alpha.20 + "@storybook/addons": 7.0.0-alpha.31 + "@storybook/client-logger": 7.0.0-alpha.31 + "@storybook/core-client": 7.0.0-alpha.31 "@storybook/csf": 0.0.2--canary.0899bb7.0 - "@storybook/docs-tools": 7.0.0-alpha.20 - "@storybook/store": 7.0.0-alpha.20 + "@storybook/docs-tools": 7.0.0-alpha.31 + "@storybook/store": 7.0.0-alpha.31 "@types/estree": ^0.0.51 "@types/node": ^14.14.20 || ^16.0.0 "@types/util-deprecate": ^1.0.0 acorn: ^7.4.1 acorn-jsx: ^5.3.1 acorn-walk: ^7.2.0 - core-js: ^3.8.2 escodegen: ^2.0.0 global: ^4.4.0 html-tags: ^3.1.0 + jest-specific-snapshot: ^4.0.0 lodash: ^4.17.21 prop-types: ^15.7.2 - react-element-to-jsx-string: ^14.3.4 + react-element-to-jsx-string: ^15.0.0 + require-from-string: ^2.0.2 ts-dedent: ^2.0.0 typescript: ~4.6.3 util-deprecate: ^1.0.2 peerDependencies: - jest-specific-snapshot: ^4.0.0 react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - require-from-string: ^2.0.2 peerDependenciesMeta: typescript: optional: true @@ -8888,10 +9012,9 @@ __metadata: "@emotion/jest": ^11.8.0 "@linear/sdk": ^1.21.0 "@nicolo-ribaudo/chokidar-2": ^2.1.8 - "@nrwl/cli": 12.3.4 - "@nrwl/nx-cloud": 12.1.1 - "@nrwl/tao": 12.3.4 - "@nrwl/workspace": 12.3.4 + "@nrwl/cli": 14.6.1 + "@nrwl/nx-cloud": 14.6.0 + "@nrwl/workspace": 14.6.1 "@playwright/test": ^1.24.2 "@rollup/plugin-babel": ^5.3.1 "@rollup/plugin-commonjs": ^21.0.1 @@ -8920,6 +9043,9 @@ __metadata: "@storybook/api": "workspace:*" "@storybook/babel-plugin-require-context-hook": 1.0.1 "@storybook/blocks": "workspace:*" + "@storybook/builder-manager": "workspace:*" + "@storybook/builder-vite": "workspace:*" + "@storybook/builder-webpack5": "workspace:*" "@storybook/channel-postmessage": "workspace:*" "@storybook/channel-websocket": "workspace:*" "@storybook/channels": "workspace:*" @@ -8928,7 +9054,10 @@ __metadata: "@storybook/client-logger": "workspace:*" "@storybook/codemod": "workspace:*" "@storybook/components": "workspace:*" + "@storybook/core-client": "workspace:*" + "@storybook/core-common": "workspace:*" "@storybook/core-events": "workspace:*" + "@storybook/core-server": "workspace:*" "@storybook/core-webpack": "workspace:*" "@storybook/csf-tools": "workspace:*" "@storybook/docs-tools": "workspace:*" @@ -8953,6 +9082,7 @@ __metadata: "@storybook/preset-web-components-webpack": "workspace:*" "@storybook/preview-web": "workspace:*" "@storybook/react": "workspace:*" + "@storybook/react-vite": "workspace:*" "@storybook/react-webpack5": "workspace:*" "@storybook/router": "workspace:*" "@storybook/semver": ^7.3.2 @@ -8969,6 +9099,7 @@ __metadata: "@storybook/vue": "workspace:*" "@storybook/vue-webpack5": "workspace:*" "@storybook/vue3": "workspace:*" + "@storybook/vue3-vite": "workspace:*" "@storybook/vue3-webpack5": "workspace:*" "@storybook/web-components": "workspace:*" "@storybook/web-components-webpack5": "workspace:*" @@ -9010,11 +9141,9 @@ __metadata: codecov: ^3.8.1 commander: ^6.2.1 concurrently: ^5.3.0 - core-js: ^3.21.1 cross-env: ^7.0.3 cypress: 8.7.0 danger: ^10.6.2 - del-cli: ^4.0.1 detect-port: ^1.3.0 dts-bundle-generator: ^6.2.0 ejs-lint: ^1.2.2 @@ -9056,10 +9185,12 @@ __metadata: node-fetch: ^2.6.1 node-gyp: ^8.4.0 npmlog: ^5.0.1 + nx: 14.6.1 p-limit: ^3.1.0 playwright: ^1.24.2 postcss-loader: ^6.2.1 - prettier: ">=2.2.1 <=2.3.0" + prettier: 2.7.1 + process: ^0.11.10 prompts: ^2.4.0 puppeteer: ^2.1.1 raf: ^3.4.1 @@ -9072,7 +9203,6 @@ __metadata: rollup: ^2.60.2 rollup-plugin-extensions: ^0.1.0 rollup-plugin-jsx: ^1.0.3 - rollup-plugin-node-polyfills: ^0.2.1 rollup-plugin-terser: ^7.0.2 serve-static: ^1.14.1 shelljs: ^0.8.5 @@ -9084,8 +9214,9 @@ __metadata: ts-jest: ^26.4.4 ts-loader: ^9.2.8 ts-node: ^10.4.0 - tsup: ^6.1.2 - typescript: ~4.6.3 + tsup: ^6.2.2 + typescript: 4.7.4 + util: ^0.12.4 verdaccio: ^4.10.0 verdaccio-auth-memory: ^9.7.2 wait-on: ^5.2.1 @@ -9101,10 +9232,6 @@ __metadata: optional: true "@cypress/webpack-preprocessor": optional: true - core-js: - built: false - core-js-pure: - built: false cypress: optional: true ejs: @@ -9135,19 +9262,16 @@ __metadata: languageName: unknown linkType: soft -"@storybook/router@7.0.0-alpha.20, @storybook/router@workspace:*, @storybook/router@workspace:lib/router": +"@storybook/router@7.0.0-alpha.31, @storybook/router@workspace:*, @storybook/router@workspace:lib/router": version: 0.0.0-use.local resolution: "@storybook/router@workspace:lib/router" dependencies: - "@storybook/client-logger": 7.0.0-alpha.20 - core-js: ^3.8.2 + "@storybook/client-logger": 7.0.0-alpha.31 dequal: ^2.0.2 global: ^4.4.0 - history: 5.0.0 lodash: ^4.17.21 memoizerific: ^1.11.3 qs: ^6.10.0 - react-router: 6.0.2 react-router-dom: 6.0.2 ts-dedent: ^2.0.0 ts-node: ^10.4.0 @@ -9158,11 +9282,11 @@ __metadata: languageName: unknown linkType: soft -"@storybook/router@npm:6.5.9": - version: 6.5.9 - resolution: "@storybook/router@npm:6.5.9" +"@storybook/router@npm:6.5.10": + version: 6.5.10 + resolution: "@storybook/router@npm:6.5.10" dependencies: - "@storybook/client-logger": 6.5.9 + "@storybook/client-logger": 6.5.10 core-js: ^3.8.2 memoizerific: ^1.11.3 qs: ^6.10.0 @@ -9170,7 +9294,7 @@ __metadata: peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - checksum: 765977adbcaa1d06958489bd1316056c35f712f04c603a3848ed04dea3155f65369a085759913ccf19ffda3de41d429f455fbc330c3bcf7b3fdc65e9a3ddd320 + checksum: 204383ca78609db39ce7a573be4c5b446a6e6989e792623821d3f1487ebbbf7402fbec2f27e338051cd2209d7b690cde54506429baebfa8618178195f451a32c languageName: node linkType: hard @@ -9186,32 +9310,30 @@ __metadata: languageName: node linkType: hard -"@storybook/server-webpack5@7.0.0-alpha.20, @storybook/server-webpack5@workspace:*, @storybook/server-webpack5@workspace:frameworks/server-webpack5": +"@storybook/server-webpack5@7.0.0-alpha.31, @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" dependencies: - "@storybook/builder-webpack5": 7.0.0-alpha.20 - "@storybook/core-common": 7.0.0-alpha.20 - "@storybook/preset-server-webpack": 7.0.0-alpha.20 - "@storybook/server": 7.0.0-alpha.20 + "@storybook/builder-webpack5": 7.0.0-alpha.31 + "@storybook/core-common": 7.0.0-alpha.31 + "@storybook/preset-server-webpack": 7.0.0-alpha.31 + "@storybook/server": 7.0.0-alpha.31 "@types/node": ^14.14.20 || ^16.0.0 - core-js: ^3.8.2 react: 16.14.0 react-dom: 16.14.0 typescript: ~4.6.3 languageName: unknown linkType: soft -"@storybook/server@7.0.0-alpha.20, @storybook/server@workspace:*, @storybook/server@workspace:renderers/server": +"@storybook/server@7.0.0-alpha.31, @storybook/server@workspace:*, @storybook/server@workspace:renderers/server": version: 0.0.0-use.local resolution: "@storybook/server@workspace:renderers/server" dependencies: - "@storybook/addons": 7.0.0-alpha.20 - "@storybook/core-client": 7.0.0-alpha.20 + "@storybook/addons": 7.0.0-alpha.31 + "@storybook/core-client": 7.0.0-alpha.31 "@storybook/csf": 0.0.2--canary.0899bb7.0 - "@storybook/preview-web": 7.0.0-alpha.20 - "@storybook/store": 7.0.0-alpha.20 - core-js: ^3.8.2 + "@storybook/preview-web": 7.0.0-alpha.31 + "@storybook/store": 7.0.0-alpha.31 global: ^4.4.0 react: 16.14.0 react-dom: 16.14.0 @@ -9220,16 +9342,13 @@ __metadata: languageName: unknown linkType: soft -"@storybook/source-loader@7.0.0-alpha.20, @storybook/source-loader@workspace:*, @storybook/source-loader@workspace:lib/source-loader": +"@storybook/source-loader@7.0.0-alpha.31, @storybook/source-loader@workspace:*, @storybook/source-loader@workspace:lib/source-loader": version: 0.0.0-use.local resolution: "@storybook/source-loader@workspace:lib/source-loader" dependencies: - "@storybook/addons": 7.0.0-alpha.20 - "@storybook/client-logger": 7.0.0-alpha.20 "@storybook/csf": 0.0.2--canary.0899bb7.0 - core-js: ^3.8.2 estraverse: ^5.2.0 - global: ^4.4.0 + jest-specific-snapshot: ^4.0.0 lodash: ^4.17.21 prettier: ">=2.2.1 <=2.3.0" typescript: ~4.6.3 @@ -9239,21 +9358,19 @@ __metadata: languageName: unknown linkType: soft -"@storybook/store@7.0.0-alpha.20, @storybook/store@workspace:*, @storybook/store@workspace:lib/store": +"@storybook/store@7.0.0-alpha.31, @storybook/store@workspace:*, @storybook/store@workspace:lib/store": version: 0.0.0-use.local resolution: "@storybook/store@workspace:lib/store" dependencies: - "@storybook/addons": 7.0.0-alpha.20 - "@storybook/client-logger": 7.0.0-alpha.20 - "@storybook/core-events": 7.0.0-alpha.20 + "@storybook/addons": 7.0.0-alpha.31 + "@storybook/client-logger": 7.0.0-alpha.31 + "@storybook/core-events": 7.0.0-alpha.31 "@storybook/csf": 0.0.2--canary.0899bb7.0 - core-js: ^3.8.2 dequal: ^2.0.2 global: ^4.4.0 lodash: ^4.17.21 memoizerific: ^1.11.3 slash: ^3.0.0 - stable: ^0.1.8 synchronous-promise: ^2.0.15 ts-dedent: ^2.0.0 typescript: ~4.6.3 @@ -9264,15 +9381,32 @@ __metadata: languageName: unknown linkType: soft -"@storybook/svelte-webpack5@7.0.0-alpha.20, @storybook/svelte-webpack5@workspace:*, @storybook/svelte-webpack5@workspace:frameworks/svelte-webpack5": +"@storybook/svelte-vite@workspace:frameworks/svelte-vite": + version: 0.0.0-use.local + resolution: "@storybook/svelte-vite@workspace:frameworks/svelte-vite" + dependencies: + "@storybook/addon-svelte-csf": ^2.0.0 + "@storybook/builder-vite": 7.0.0-alpha.31 + "@storybook/node-logger": 7.0.0-alpha.31 + "@storybook/svelte": 7.0.0-alpha.31 + "@sveltejs/vite-plugin-svelte": ^1.0.0 + "@types/node": ^14.14.20 || ^16.0.0 + magic-string: ^0.26.1 + svelte: ^3.0.0 + sveltedoc-parser: ^4.2.1 + typescript: ~4.6.3 + vite: ^3.1.0 + languageName: unknown + linkType: soft + +"@storybook/svelte-webpack5@7.0.0-alpha.31, @storybook/svelte-webpack5@workspace:*, @storybook/svelte-webpack5@workspace:frameworks/svelte-webpack5": version: 0.0.0-use.local resolution: "@storybook/svelte-webpack5@workspace:frameworks/svelte-webpack5" dependencies: - "@storybook/builder-webpack5": 7.0.0-alpha.20 - "@storybook/core-common": 7.0.0-alpha.20 - "@storybook/preset-svelte-webpack": 7.0.0-alpha.20 - "@storybook/svelte": 7.0.0-alpha.20 - core-js: ^3.8.2 + "@storybook/builder-webpack5": 7.0.0-alpha.31 + "@storybook/core-common": 7.0.0-alpha.31 + "@storybook/preset-svelte-webpack": 7.0.0-alpha.31 + "@storybook/svelte": 7.0.0-alpha.31 react: 16.14.0 react-dom: 16.14.0 svelte: ^3.48.0 @@ -9285,22 +9419,21 @@ __metadata: languageName: unknown linkType: soft -"@storybook/svelte@7.0.0-alpha.20, @storybook/svelte@workspace:*, @storybook/svelte@workspace:renderers/svelte": +"@storybook/svelte@7.0.0-alpha.31, @storybook/svelte@workspace:*, @storybook/svelte@workspace:renderers/svelte": version: 0.0.0-use.local resolution: "@storybook/svelte@workspace:renderers/svelte" dependencies: - "@storybook/addons": 7.0.0-alpha.20 - "@storybook/client-logger": 7.0.0-alpha.20 - "@storybook/core-client": 7.0.0-alpha.20 + "@storybook/addons": 7.0.0-alpha.31 + "@storybook/client-logger": 7.0.0-alpha.31 + "@storybook/core-client": 7.0.0-alpha.31 "@storybook/csf": 0.0.2--canary.0899bb7.0 - "@storybook/docs-tools": 7.0.0-alpha.20 - "@storybook/store": 7.0.0-alpha.20 - core-js: ^3.8.2 + "@storybook/docs-tools": 7.0.0-alpha.31 + "@storybook/store": 7.0.0-alpha.31 global: ^4.4.0 react: 16.14.0 react-dom: 16.14.0 svelte: ^3.31.2 - sveltedoc-parser: 4.1.0 + sveltedoc-parser: ^4.2.1 typescript: ~4.6.3 peerDependencies: "@babel/core": "*" @@ -9308,18 +9441,16 @@ __metadata: languageName: unknown linkType: soft -"@storybook/telemetry@7.0.0-alpha.20, @storybook/telemetry@workspace:*, @storybook/telemetry@workspace:lib/telemetry": +"@storybook/telemetry@7.0.0-alpha.31, @storybook/telemetry@workspace:*, @storybook/telemetry@workspace:lib/telemetry": version: 0.0.0-use.local resolution: "@storybook/telemetry@workspace:lib/telemetry" dependencies: - "@storybook/client-logger": 7.0.0-alpha.20 - "@storybook/core-common": 7.0.0-alpha.20 + "@storybook/client-logger": 7.0.0-alpha.31 + "@storybook/core-common": 7.0.0-alpha.31 chalk: ^4.1.0 - core-js: ^3.8.2 detect-package-manager: ^2.0.1 fetch-retry: ^5.0.2 fs-extra: ^9.0.1 - global: ^4.4.0 isomorphic-unfetch: ^3.1.0 nanoid: ^3.3.1 read-pkg-up: ^7.0.1 @@ -9353,7 +9484,7 @@ __metadata: languageName: node linkType: hard -"@storybook/theming@7.0.0-alpha.20, @storybook/theming@workspace:*, @storybook/theming@workspace:lib/theming": +"@storybook/theming@7.0.0-alpha.31, @storybook/theming@workspace:*, @storybook/theming@workspace:lib/theming": version: 0.0.0-use.local resolution: "@storybook/theming@workspace:lib/theming" dependencies: @@ -9361,17 +9492,15 @@ __metadata: "@emotion/is-prop-valid": ^1.1.2 "@emotion/react": ^11.8.1 "@emotion/styled": ^11.8.1 - "@storybook/client-logger": 7.0.0-alpha.20 + "@storybook/client-logger": 7.0.0-alpha.31 "@types/fs-extra": ^9.0.6 "@types/node": ^14.14.20 || ^16.0.0 - core-js: ^3.8.2 deep-object-diff: ^1.1.0 fs-extra: ^9.0.1 global: ^4.4.0 memoizerific: ^1.11.3 polished: ^4.2.2 ts-dedent: ^2.0.0 - ts-node: ^10.4.0 typescript: ~4.6.3 peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 @@ -9379,46 +9508,42 @@ __metadata: languageName: unknown linkType: soft -"@storybook/theming@npm:6.5.9": - version: 6.5.9 - resolution: "@storybook/theming@npm:6.5.9" +"@storybook/theming@npm:6.5.10": + version: 6.5.10 + resolution: "@storybook/theming@npm:6.5.10" dependencies: - "@storybook/client-logger": 6.5.9 + "@storybook/client-logger": 6.5.10 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: 28b2626ab2ef4396d3e8d0fad651bf13b323318028e7b01a99c9b999f368655d7aa78dd8154396753828746d934cfbaee1575c890307893d6a3cca9655c9a60e + checksum: 4204427df565835125042fbd47f04a58166d000d56dcf88988d3e06e6a668eb01a92847f34e3881089af016b511a14cd331af36d9652bda234fe02b178f4e3a0 languageName: node linkType: hard -"@storybook/ui@7.0.0-alpha.20, @storybook/ui@workspace:*, @storybook/ui@workspace:lib/ui": +"@storybook/ui@7.0.0-alpha.31, @storybook/ui@workspace:*, @storybook/ui@workspace:lib/ui": version: 0.0.0-use.local resolution: "@storybook/ui@workspace:lib/ui" dependencies: - "@babel/core": ^7.12.10 "@fal-works/esbuild-plugin-global-externals": ^2.1.2 - "@storybook/addons": 7.0.0-alpha.20 - "@storybook/api": 7.0.0-alpha.20 - "@storybook/channel-postmessage": 7.0.0-alpha.20 - "@storybook/channel-websocket": 7.0.0-alpha.20 - "@storybook/channels": 7.0.0-alpha.20 - "@storybook/client-logger": 7.0.0-alpha.20 - "@storybook/components": 7.0.0-alpha.20 - "@storybook/core-events": 7.0.0-alpha.20 + "@storybook/addons": 7.0.0-alpha.31 + "@storybook/api": 7.0.0-alpha.31 + "@storybook/channel-postmessage": 7.0.0-alpha.31 + "@storybook/channel-websocket": 7.0.0-alpha.31 + "@storybook/channels": 7.0.0-alpha.31 + "@storybook/client-logger": 7.0.0-alpha.31 + "@storybook/components": 7.0.0-alpha.31 + "@storybook/core-events": 7.0.0-alpha.31 "@storybook/csf": 0.0.2--canary.0899bb7.0 - "@storybook/router": 7.0.0-alpha.20 + "@storybook/router": 7.0.0-alpha.31 "@storybook/semver": ^7.3.2 - "@storybook/theming": 7.0.0-alpha.20 + "@storybook/theming": 7.0.0-alpha.31 "@testing-library/react": ^11.2.2 copy-to-clipboard: ^3.3.1 - core-js: ^3.8.2 - core-js-pure: ^3.8.2 downshift: ^6.0.15 enzyme: ^3.11.0 - flush-promises: ^1.0.2 fs-extra: ^9.0.1 fuse.js: ^3.6.1 global: ^4.4.0 @@ -9437,20 +9562,18 @@ __metadata: store2: ^2.12.0 ts-dedent: ^2.0.0 typescript: ~4.6.3 - util: ^0.12.4 languageName: unknown linkType: soft -"@storybook/vue-webpack5@7.0.0-alpha.20, @storybook/vue-webpack5@workspace:*, @storybook/vue-webpack5@workspace:frameworks/vue-webpack5": +"@storybook/vue-webpack5@7.0.0-alpha.31, @storybook/vue-webpack5@workspace:*, @storybook/vue-webpack5@workspace:frameworks/vue-webpack5": version: 0.0.0-use.local resolution: "@storybook/vue-webpack5@workspace:frameworks/vue-webpack5" dependencies: - "@storybook/builder-webpack5": 7.0.0-alpha.20 - "@storybook/core-common": 7.0.0-alpha.20 - "@storybook/preset-vue-webpack": 7.0.0-alpha.20 - "@storybook/vue": 7.0.0-alpha.20 + "@storybook/builder-webpack5": 7.0.0-alpha.31 + "@storybook/core-common": 7.0.0-alpha.31 + "@storybook/preset-vue-webpack": 7.0.0-alpha.31 + "@storybook/vue": 7.0.0-alpha.31 "@types/node": ^14.14.20 || ^16.0.0 - core-js: ^3.8.2 react: 16.14.0 react-dom: 16.14.0 typescript: ~4.6.3 @@ -9467,17 +9590,32 @@ __metadata: languageName: unknown linkType: soft -"@storybook/vue3-webpack5@7.0.0-alpha.20, @storybook/vue3-webpack5@workspace:*, @storybook/vue3-webpack5@workspace:frameworks/vue3-webpack5": +"@storybook/vue3-vite@workspace:*, @storybook/vue3-vite@workspace:frameworks/vue3-vite": + version: 0.0.0-use.local + resolution: "@storybook/vue3-vite@workspace:frameworks/vue3-vite" + dependencies: + "@storybook/builder-vite": 7.0.0-alpha.31 + "@storybook/core-server": 7.0.0-alpha.31 + "@storybook/vue3": 7.0.0-alpha.31 + "@types/node": ^14.14.20 || ^16.0.0 + "@vitejs/plugin-vue": ^3.0.3 + magic-string: ^0.26.1 + typescript: ~4.6.3 + vite: ^3.1.0 + vue-docgen-api: ^4.40.0 + languageName: unknown + linkType: soft + +"@storybook/vue3-webpack5@7.0.0-alpha.31, @storybook/vue3-webpack5@workspace:*, @storybook/vue3-webpack5@workspace:frameworks/vue3-webpack5": version: 0.0.0-use.local resolution: "@storybook/vue3-webpack5@workspace:frameworks/vue3-webpack5" dependencies: - "@storybook/builder-webpack5": 7.0.0-alpha.20 - "@storybook/core-common": 7.0.0-alpha.20 - "@storybook/preset-vue3-webpack": 7.0.0-alpha.20 - "@storybook/vue3": 7.0.0-alpha.20 + "@storybook/builder-webpack5": 7.0.0-alpha.31 + "@storybook/core-common": 7.0.0-alpha.31 + "@storybook/preset-vue3-webpack": 7.0.0-alpha.31 + "@storybook/vue3": 7.0.0-alpha.31 "@types/node": ^14.14.20 || ^16.0.0 "@vue/compiler-sfc": 3.0.0 - core-js: ^3.8.2 react: 16.14.0 react-dom: 16.14.0 typescript: ~4.6.3 @@ -9490,23 +9628,22 @@ __metadata: languageName: unknown linkType: soft -"@storybook/vue3@7.0.0-alpha.20, @storybook/vue3@workspace:*, @storybook/vue3@workspace:renderers/vue3": +"@storybook/vue3@7.0.0-alpha.31, @storybook/vue3@workspace:*, @storybook/vue3@workspace:renderers/vue3": version: 0.0.0-use.local resolution: "@storybook/vue3@workspace:renderers/vue3" dependencies: "@digitak/esrun": ^3.2.2 - "@storybook/addons": 7.0.0-alpha.20 - "@storybook/core-client": 7.0.0-alpha.20 + "@storybook/addons": 7.0.0-alpha.31 + "@storybook/core-client": 7.0.0-alpha.31 "@storybook/csf": 0.0.2--canary.0899bb7.0 - "@storybook/docs-tools": 7.0.0-alpha.20 - "@storybook/store": 7.0.0-alpha.20 - core-js: ^3.8.2 + "@storybook/docs-tools": 7.0.0-alpha.31 + "@storybook/store": 7.0.0-alpha.31 global: ^4.4.0 react: 16.14.0 react-dom: 16.14.0 ts-dedent: ^2.0.0 typescript: ~4.6.3 - vue: 3.0.0 + vue: ^3.0.0 peerDependencies: "@babel/core": "*" babel-loader: ^7.0.0 || ^8.0.0 @@ -9514,17 +9651,16 @@ __metadata: languageName: unknown linkType: soft -"@storybook/vue@7.0.0-alpha.20, @storybook/vue@workspace:*, @storybook/vue@workspace:renderers/vue": +"@storybook/vue@7.0.0-alpha.31, @storybook/vue@workspace:*, @storybook/vue@workspace:renderers/vue": version: 0.0.0-use.local resolution: "@storybook/vue@workspace:renderers/vue" dependencies: - "@storybook/addons": 7.0.0-alpha.20 - "@storybook/client-logger": 7.0.0-alpha.20 - "@storybook/core-client": 7.0.0-alpha.20 + "@storybook/addons": 7.0.0-alpha.31 + "@storybook/client-logger": 7.0.0-alpha.31 + "@storybook/core-client": 7.0.0-alpha.31 "@storybook/csf": 0.0.2--canary.0899bb7.0 - "@storybook/docs-tools": 7.0.0-alpha.20 - "@storybook/store": 7.0.0-alpha.20 - core-js: ^3.8.2 + "@storybook/docs-tools": 7.0.0-alpha.31 + "@storybook/store": 7.0.0-alpha.31 global: ^4.4.0 react: 16.14.0 react-dom: 16.14.0 @@ -9544,12 +9680,11 @@ __metadata: resolution: "@storybook/web-components-webpack5@workspace:frameworks/web-components-webpack5" dependencies: "@babel/preset-env": ^7.12.11 - "@storybook/builder-webpack5": 7.0.0-alpha.20 - "@storybook/core-common": 7.0.0-alpha.20 - "@storybook/preset-web-components-webpack": 7.0.0-alpha.20 - "@storybook/web-components": 7.0.0-alpha.20 + "@storybook/builder-webpack5": 7.0.0-alpha.31 + "@storybook/core-common": 7.0.0-alpha.31 + "@storybook/preset-web-components-webpack": 7.0.0-alpha.31 + "@storybook/web-components": 7.0.0-alpha.31 "@types/node": ^14.14.20 || ^16.0.0 - core-js: ^3.8.2 lit-html: 2.0.2 react: 16.14.0 react-dom: 16.14.0 @@ -9559,19 +9694,18 @@ __metadata: languageName: unknown linkType: soft -"@storybook/web-components@7.0.0-alpha.20, @storybook/web-components@workspace:*, @storybook/web-components@workspace:renderers/web-components": +"@storybook/web-components@7.0.0-alpha.31, @storybook/web-components@workspace:*, @storybook/web-components@workspace:renderers/web-components": version: 0.0.0-use.local resolution: "@storybook/web-components@workspace:renderers/web-components" dependencies: - "@storybook/addons": 7.0.0-alpha.20 - "@storybook/api": 7.0.0-alpha.20 - "@storybook/client-logger": 7.0.0-alpha.20 - "@storybook/core-client": 7.0.0-alpha.20 + "@storybook/addons": 7.0.0-alpha.31 + "@storybook/api": 7.0.0-alpha.31 + "@storybook/client-logger": 7.0.0-alpha.31 + "@storybook/core-client": 7.0.0-alpha.31 "@storybook/csf": 0.0.2--canary.0899bb7.0 - "@storybook/docs-tools": 7.0.0-alpha.20 - "@storybook/preview-web": 7.0.0-alpha.20 - "@storybook/store": 7.0.0-alpha.20 - core-js: ^3.8.2 + "@storybook/docs-tools": 7.0.0-alpha.31 + "@storybook/preview-web": 7.0.0-alpha.31 + "@storybook/store": 7.0.0-alpha.31 global: ^4.4.0 lit-html: 2.0.2 react: 16.14.0 @@ -9602,6 +9736,27 @@ __metadata: languageName: node linkType: hard +"@sveltejs/vite-plugin-svelte@npm:^1.0.0": + version: 1.0.5 + resolution: "@sveltejs/vite-plugin-svelte@npm:1.0.5" + dependencies: + "@rollup/pluginutils": ^4.2.1 + debug: ^4.3.4 + deepmerge: ^4.2.2 + kleur: ^4.1.5 + magic-string: ^0.26.3 + svelte-hmr: ^0.14.12 + peerDependencies: + diff-match-patch: ^1.0.5 + svelte: ^3.44.0 + vite: ^3.0.0 + peerDependenciesMeta: + diff-match-patch: + optional: true + checksum: 7116b8ab40239958b1800c5175e16af2ef3625e2ef40b31bb8e17416abcc617615c5a86b8aaa72cdbae99a4ba49bd6990fca93b530f2c020e6d5f5e0cce8f480 + languageName: node + linkType: hard + "@svgr/babel-plugin-add-jsx-attribute@npm:^5.4.0": version: 5.4.0 resolution: "@svgr/babel-plugin-add-jsx-attribute@npm:5.4.0" @@ -9733,21 +9888,21 @@ __metadata: languageName: node linkType: hard -"@swc/helpers@npm:0.4.2": - version: 0.4.2 - resolution: "@swc/helpers@npm:0.4.2" +"@swc/helpers@npm:0.4.3": + version: 0.4.3 + resolution: "@swc/helpers@npm:0.4.3" dependencies: tslib: ^2.4.0 - checksum: 8dc23813599516bb82141c438394be613f169cd5acd683358e057b5f57903fa1765da8096beec19dd83814bea58904cbe5e26c8f722a0b02d3141f6a2bed33c1 + checksum: d9c5f24184b99461d9519dbe21681b18323fe20a8ab5d6fc9cc6f5b0255435f6f1ce4fa91ebcd6b701148b1d69f067f0333b0d27113ce7e7f0891cd56a20677b languageName: node linkType: hard "@swc/helpers@npm:^0.4.2": - version: 0.4.3 - resolution: "@swc/helpers@npm:0.4.3" + version: 0.4.11 + resolution: "@swc/helpers@npm:0.4.11" dependencies: tslib: ^2.4.0 - checksum: d9c5f24184b99461d9519dbe21681b18323fe20a8ab5d6fc9cc6f5b0255435f6f1ce4fa91ebcd6b701148b1d69f067f0333b0d27113ce7e7f0891cd56a20677b + checksum: 8806dda1f3cc243d80b1270405142563ed425350f9f4c7cfdd84967ead094878a3135b7ca1185052af0faef99982e57bb22e7f5fa80f1e9a3dab20e9e1051dfc languageName: node linkType: hard @@ -9777,8 +9932,8 @@ __metadata: linkType: hard "@testing-library/dom@npm:^8.0.0, @testing-library/dom@npm:^8.3.0": - version: 8.16.0 - resolution: "@testing-library/dom@npm:8.16.0" + version: 8.17.1 + resolution: "@testing-library/dom@npm:8.17.1" dependencies: "@babel/code-frame": ^7.10.4 "@babel/runtime": ^7.12.5 @@ -9788,24 +9943,24 @@ __metadata: dom-accessibility-api: ^0.5.9 lz-string: ^1.4.4 pretty-format: ^27.0.2 - checksum: 4a4b7e2ee1d3543b2935e60a0d85ac041ebe36fc6fbb3cbdf86898cd9947410ca75ad78f88e91b6eb146fb76f3ef102a1e24495761e1a5b8fe60aa82d3edd874 + checksum: 2db3a96a7694ba06056fea41474aa47ad6e82b21d4bcb2a34c7655692dc5a51a21b0b90fe3b9d4be1aa2340e18a9911bf129e4e8a134131acbc44f4b48caa28b languageName: node linkType: hard -"@testing-library/jest-dom@npm:^5.11.9, @testing-library/jest-dom@npm:^5.16.2, @testing-library/jest-dom@npm:^5.16.4": - version: 5.16.4 - resolution: "@testing-library/jest-dom@npm:5.16.4" +"@testing-library/jest-dom@npm:^5.11.9, @testing-library/jest-dom@npm:^5.16.2": + version: 5.16.5 + resolution: "@testing-library/jest-dom@npm:5.16.5" dependencies: + "@adobe/css-tools": ^4.0.1 "@babel/runtime": ^7.9.2 "@types/testing-library__jest-dom": ^5.9.1 aria-query: ^5.0.0 chalk: ^3.0.0 - css: ^3.0.0 css.escape: ^1.5.1 dom-accessibility-api: ^0.5.6 lodash: ^4.17.15 redent: ^3.0.0 - checksum: c34016bbc4865f8f9912d62ac63b409b87e785ff281a50f6eae8c1bc2364963c0831541da8a185bbd8b5964a6e3371fb623c339e8128d84706eb06f93f145801 + checksum: 0925fda78096cca355d164d5358b84b9371c4fb6ba60ce60c2263446ac6d9c6aaca75e2792cdb42699fe78c379924c53db672a3510361b577ebb89a0c6e1c629 languageName: node linkType: hard @@ -9933,7 +10088,7 @@ __metadata: languageName: node linkType: hard -"@types/babel__core@npm:^7.0.0, @types/babel__core@npm:^7.1.12, @types/babel__core@npm:^7.1.14, @types/babel__core@npm:^7.1.7": +"@types/babel__core@npm:^7.0.0, @types/babel__core@npm:^7.1.14, @types/babel__core@npm:^7.1.7": version: 7.1.19 resolution: "@types/babel__core@npm:7.1.19" dependencies: @@ -9973,11 +10128,11 @@ __metadata: linkType: hard "@types/babel__traverse@npm:*, @types/babel__traverse@npm:^7.0.4, @types/babel__traverse@npm:^7.0.6": - version: 7.17.1 - resolution: "@types/babel__traverse@npm:7.17.1" + version: 7.18.1 + resolution: "@types/babel__traverse@npm:7.18.1" dependencies: "@babel/types": ^7.3.0 - checksum: 2ec77e5307473c1accc1cb7fe65332fe4c873374cde16ffdc631951372be9fdffbb9fe9d7251efdff52ae4f73634f4bff80d808cb90513abbeb61945c02e1866 + checksum: f9bd5c16c1a178489394235826e3793da6be2f50fe9abd3ce29b6a53a554575d88d20a4a377a4d9e8cab4a25243bc4dc8b9b68d9f65dc212b8e0a7ccaf5f10e8 languageName: node linkType: hard @@ -10017,9 +10172,9 @@ __metadata: linkType: hard "@types/chai@npm:*, @types/chai@npm:^4.2.9": - version: 4.3.1 - resolution: "@types/chai@npm:4.3.1" - checksum: 1735099ea33e22ee18885de48d6961e9d030adea046a07b8a89f5e02a364c85ab0519fde9aeb81e49b7edfbcf8d7534db8fbff59e2e45643b83ea520a7d2c390 + version: 4.3.3 + resolution: "@types/chai@npm:4.3.3" + checksum: 4129cb6119d65166cc082cecca97ddcf7d24785a4a55de2e06f3f1dc4c9543340168833ebdbc16685838cdea388854badc1453393dc90597725decfc20e05aff languageName: node linkType: hard @@ -10048,13 +10203,6 @@ __metadata: languageName: node linkType: hard -"@types/component-emitter@npm:^1.2.10": - version: 1.2.11 - resolution: "@types/component-emitter@npm:1.2.11" - checksum: 1d1b9d028db7cd0758751976a44dfdf47dbbabaec90a6be21f9d863a7b990050a5a776489e56a575021d7b79b014e6dded259ca36df07dd9a95c71f5a67c578b - languageName: node - linkType: hard - "@types/compression@npm:^1.7.0": version: 1.7.2 resolution: "@types/compression@npm:1.7.2" @@ -10097,13 +10245,6 @@ __metadata: languageName: node linkType: hard -"@types/core-js@npm:^2.5.4": - version: 2.5.5 - resolution: "@types/core-js@npm:2.5.5" - checksum: 3ad6081d5ef92bc1a30e055a0846101924251f664d5293b997e3bdc2ef1ba8b961333227c34f1f462d353876455e7a299a07db95febae388ba862f998cd8a4e9 - languageName: node - linkType: hard - "@types/cors@npm:^2.8.12": version: 2.8.12 resolution: "@types/cors@npm:2.8.12" @@ -10185,25 +10326,25 @@ __metadata: linkType: hard "@types/eslint@npm:*, @types/eslint@npm:^7.29.0 || ^8.4.1": - version: 8.4.5 - resolution: "@types/eslint@npm:8.4.5" + version: 8.4.6 + resolution: "@types/eslint@npm:8.4.6" dependencies: "@types/estree": "*" "@types/json-schema": "*" - checksum: 81d4f9920d0ef0f694555fefe8c8b5f81cd0dfe52f4455afdc63eb724bbb0e033fc19a8bc580fb5674b6fbc8be2a2a516c370f020bbd3dd0d309cb716b1c70d6 + checksum: 0f11bc8623ec4238ad999d7a1d05d57e28c962c0b127b3e632b9f9ba72dc882f45aa84191c6b4e19db65d4f31ee46841eea6b44cad91e08ff8dfb69da4ee4b88 languageName: node linkType: hard -"@types/estree-jsx@npm:^0.0.1": - version: 0.0.1 - resolution: "@types/estree-jsx@npm:0.0.1" +"@types/estree-jsx@npm:^1.0.0": + version: 1.0.0 + resolution: "@types/estree-jsx@npm:1.0.0" dependencies: "@types/estree": "*" - checksum: b506c1dbfe3e01fdc8229f050bfad254dfd86d3e862defab1ad948a0d9d18ec173a65a576b2b4ab2f3a6989b487754068d3891fb0c202e99300f9f6d78f182e0 + checksum: faca4c8924cbc36095e11ac7677dce1875583cf8ea99b67911affbbcc2a06ef99e585c02fc7160e55406d3c127b447df5a8ba3b23c211e5bbaad45dd278cde97 languageName: node linkType: hard -"@types/estree@npm:*": +"@types/estree@npm:*, @types/estree@npm:^1.0.0": version: 1.0.0 resolution: "@types/estree@npm:1.0.0" checksum: 4e73ff606bf7c7ccdaa66092de650c410a4ad2ecc388fdbed8242cac9dbcad72407e1ceff041b7da691babb02ff74ab885d6231fb09368fdd1eabbf1b5253d49 @@ -10225,13 +10366,13 @@ __metadata: linkType: hard "@types/express-serve-static-core@npm:*, @types/express-serve-static-core@npm:^4.17.18": - version: 4.17.29 - resolution: "@types/express-serve-static-core@npm:4.17.29" + version: 4.17.30 + resolution: "@types/express-serve-static-core@npm:4.17.30" dependencies: "@types/node": "*" "@types/qs": "*" "@types/range-parser": "*" - checksum: 6b63bb05adcc496adf0b7c54d3f05a0b42127ebe9b9b895befb34e2d813a9008f07ea1e80688326e7d34dea4eb659b1853bc5611384f7a71c8547343ed1661cc + checksum: e2e42223370357ec7a97ee6311f5485f7a8a2def62b9e831cb9e1341538b492da6cd5900588b46fb57f7c95a4bd4167d4ad41cbe673fa4050e3fea979b3ce06a languageName: node linkType: hard @@ -10274,7 +10415,17 @@ __metadata: languageName: node linkType: hard -"@types/glob@npm:*, @types/glob@npm:^7.1.1, @types/glob@npm:^7.1.3": +"@types/glob@npm:*": + version: 8.0.0 + resolution: "@types/glob@npm:8.0.0" + dependencies: + "@types/minimatch": "*" + "@types/node": "*" + checksum: 7a906724c49cbb7e9279a0ddb7051ba39e1944924d5a0cadce7b2656b138465351b5d658cb5658be1964b865464fa66eb3a4a2f3e19ceb4559a4f3d52e08e055 + languageName: node + linkType: hard + +"@types/glob@npm:^7.1.1, @types/glob@npm:^7.1.3": version: 7.2.0 resolution: "@types/glob@npm:7.2.0" dependencies: @@ -10284,7 +10435,7 @@ __metadata: languageName: node linkType: hard -"@types/graceful-fs@npm:^4.1.2": +"@types/graceful-fs@npm:^4.1.2, @types/graceful-fs@npm:^4.1.3": version: 4.1.5 resolution: "@types/graceful-fs@npm:4.1.5" dependencies: @@ -10390,12 +10541,12 @@ __metadata: linkType: hard "@types/jest@npm:*, @types/jest@npm:>=26.0.0": - version: 28.1.6 - resolution: "@types/jest@npm:28.1.6" + version: 29.0.0 + resolution: "@types/jest@npm:29.0.0" dependencies: - jest-matcher-utils: ^28.0.0 - pretty-format: ^28.0.0 - checksum: d9af6da4b25f4a62c8f0d92feecdb62fc673308e0bfad63fefb3212693e9e6c6af8641b94fbdc90a7957b8eced3146cafa5a16dc613705890690874cc5300dd9 + expect: ^29.0.0 + pretty-format: ^29.0.0 + checksum: 86cdb71397b6c353ab8752adde6bd494a0340b22e01598e2cccfc8ce76f5824cd702188436b369457f6d9ac8b68d84d9adeabf971bbc2006ab3c62f140765d0a languageName: node linkType: hard @@ -10460,10 +10611,10 @@ __metadata: languageName: node linkType: hard -"@types/lodash@npm:^4.14.167, @types/lodash@npm:^4.14.182": - version: 4.14.182 - resolution: "@types/lodash@npm:4.14.182" - checksum: d6bd4789dfb3be631d5e3277e6a1be5becb21440f3364f5d15b982c2e6b6bb1f8048d46fc5bff5ef0f90bebaf4d07c49b2919ba369d07af72d3beb3fea70c61a +"@types/lodash@npm:^4.14.167": + version: 4.14.184 + resolution: "@types/lodash@npm:4.14.184" + checksum: 35e81d477603b319179b335b839865f7bc837afcfd08b5fedfe7e01a0a0f192599f7567ffa45dbf95bfa793f1e9f9bc4666f57f47f0b00fe171e857b9178aed9 languageName: node linkType: hard @@ -10497,14 +10648,21 @@ __metadata: languageName: node linkType: hard -"@types/mime@npm:^1": - version: 1.3.2 - resolution: "@types/mime@npm:1.3.2" - checksum: 61d144e5170c6cdf6de334ec0ee4bb499b1a0fb0233834a9e8cec6d289b0e3042bedf35cbc1c995d71a247635770dae3f13a9ddae69098bb54b933429bc08d35 +"@types/mime@npm:*": + version: 3.0.1 + resolution: "@types/mime@npm:3.0.1" + checksum: c4c0fc89042822a3b5ffd6ef0da7006513454ee8376ffa492372d17d2925a4e4b1b194c977b718c711df38b33eb9d06deb5dbf9f851bcfb7e5e65f06b2a87f97 + languageName: node + linkType: hard + +"@types/minimatch@npm:*": + version: 5.1.2 + resolution: "@types/minimatch@npm:5.1.2" + checksum: 83cf1c11748891b714e129de0585af4c55dd4c2cafb1f1d5233d79246e5e1e19d1b5ad9e8db449667b3ffa2b6c80125c429dbee1054e9efb45758dbc4e118562 languageName: node linkType: hard -"@types/minimatch@npm:*, @types/minimatch@npm:^3.0.3": +"@types/minimatch@npm:^3.0.3": version: 3.0.5 resolution: "@types/minimatch@npm:3.0.5" checksum: a1a19ba342d6f39b569510f621ae4bbe972dc9378d15e9a5e47904c440ee60744f5b09225bc73be1c6490e3a9c938eee69eb53debf55ce1f15761201aa965f97 @@ -10551,28 +10709,28 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:*, @types/node@npm:>= 8, @types/node@npm:>=10.0.0": - version: 18.0.6 - resolution: "@types/node@npm:18.0.6" - checksum: 720178d0c14aa4fc20db299f1446163fbe8b5d97ed54ab697135ab5685352e468f99735d319a081b55436bf66ed8a84ea234876317ca4b71998be9e09c1ef170 +"@types/node@npm:*, @types/node@npm:>= 8, @types/node@npm:>=10.0.0, @types/node@npm:^18.6.3": + version: 18.7.15 + resolution: "@types/node@npm:18.7.15" + checksum: e9b4a79220482430cc3826b66db6b540d2a5733b07c9ec565eb82cdbaea2d699810f7fb719f1474fffb930653277c8c8f839208d0a05a96b80c17283dd451fdd languageName: node linkType: hard "@types/node@npm:^14.0.10 || ^16.0.0, @types/node@npm:^14.14.20 || ^16.0.0": - version: 16.11.45 - resolution: "@types/node@npm:16.11.45" - checksum: aed8bc8cf929fdb9f1a5afd942bd496c127c36c300f41e46d1e7f3f9e32db1b6f4a9dbf3e13bbdb681c58782bf659caecde40060ba2a193d153e055d7bb4093e + version: 16.11.57 + resolution: "@types/node@npm:16.11.57" + checksum: 6c2d1d9601586f040b9c4794dbdf7b507a8b3055e8153eb4a6031fda010079ec49612aa146d297bf7186868b05c7dcca99daf942a6e2dda4347115876d3f8f09 languageName: node linkType: hard "@types/node@npm:^14.14.31": - version: 14.18.22 - resolution: "@types/node@npm:14.18.22" - checksum: 6ade9441d9ad57c1a32351f57ca81a9f721809fb91574fd214fcedcf4d60c24194db412d35f3bdfa8ad94b2fbcc38aaa417e9602dbdb649d4c84d6a54342f924 + version: 14.18.27 + resolution: "@types/node@npm:14.18.27" + checksum: a7eb0707ece5537b77e0e4541159f4fad0dcc42364f53d3f02c95358be324072100e67a55b5767af4ab74295791beff7d8b21b372bdaeac847073cc7c5a1a344 languageName: node linkType: hard -"@types/node@npm:^17.0": +"@types/node@npm:^17.0.23": version: 17.0.45 resolution: "@types/node@npm:17.0.45" checksum: 0db377133d709b33a47892581a21a41cd7958f22723a3cc6c71d55ac018121382de42fbfc7970d5ae3e7819dbe5f40e1c6a5174aedf7e7964e9cb8fa72b580b0 @@ -10645,9 +10803,9 @@ __metadata: linkType: hard "@types/prettier@npm:^2.0.0, @types/prettier@npm:^2.1.5": - version: 2.6.3 - resolution: "@types/prettier@npm:2.6.3" - checksum: ac51e59ef24793d7e747483c417706d62408ef406962e077ff89d10f009e42ab7bf0452d9a406493fd5bc37b4f1b71f507b045d775083d6987526bc7a74f01ea + version: 2.7.0 + resolution: "@types/prettier@npm:2.7.0" + checksum: 7416351864a6cd41fdb79683b720dc1b6bdc59da81edb52a85674135b385ef6e1a49c7780b0fe9fba2c5383df4ab195769d3cfc9e3a4f831e5bab4143ed5dd38 languageName: node linkType: hard @@ -10743,7 +10901,7 @@ __metadata: languageName: node linkType: hard -"@types/qs@npm:*, @types/qs@npm:^6, @types/qs@npm:^6.9.5, @types/qs@npm:^6.9.7": +"@types/qs@npm:*, @types/qs@npm:^6, @types/qs@npm:^6.9.5": version: 6.9.7 resolution: "@types/qs@npm:6.9.7" checksum: 157eb05f4c75790b0ebdcf7b0547ff117feabc8cda03c3cac3d3ea82bb19a1912e76a411df3eb0bdd01026a9770f07bc0e7e3fbe39ebb31c1be4564c16be35f1 @@ -10794,24 +10952,24 @@ __metadata: linkType: hard "@types/react@npm:*, @types/react@npm:^16, @types/react@npm:^16.14.23": - version: 16.14.28 - resolution: "@types/react@npm:16.14.28" + version: 16.14.31 + resolution: "@types/react@npm:16.14.31" dependencies: "@types/prop-types": "*" "@types/scheduler": "*" csstype: ^3.0.2 - checksum: 9f9c2ab60c7f82fd81264810052c12e7cf8224a77a14afeef89598594b0c9c12531dc1b2f32d7297e56432b67dddbc0338605b66238820db94a4d757047a060a + checksum: 52efdefacd0f9a4b70322d488af9a1c3f80f56a896db4a9d371cafab5248c9c9e9c2977955716f825c3af4aebbf6f365cf709dc205b6d2c89aa22edaebcafe0f languageName: node linkType: hard "@types/react@npm:^17, @types/react@npm:^17.0.39": - version: 17.0.47 - resolution: "@types/react@npm:17.0.47" + version: 17.0.49 + resolution: "@types/react@npm:17.0.49" dependencies: "@types/prop-types": "*" "@types/scheduler": "*" csstype: ^3.0.2 - checksum: 110ebdc1bc5524e4698ed653b86084cb78b338df7d23042752d13253eb3ed5a291462a4f93d8bdceb1237330b4b0c7e9c65bf9ab39c341a54d7da3d703f76010 + checksum: a189cc86a9205b5c818377a32b5092041154ed60f250e0347c0e9f6840a87d7e55a0efdf9e1eb2ff8a50fafc67bfa83621478778e03220255c1c68dc98dd840f languageName: node linkType: hard @@ -10874,9 +11032,9 @@ __metadata: linkType: hard "@types/semver@npm:^7.3.4": - version: 7.3.10 - resolution: "@types/semver@npm:7.3.10" - checksum: 3d496351cb7b6c7ace6a6173ce9717c12c9ba36bd4c049b2adb236ca4d9d8ac9b867799672ba815efb9cd401dac51e731584e8ace99716f42146859f5c57c06f + version: 7.3.12 + resolution: "@types/semver@npm:7.3.12" + checksum: bd76432b8f58f6d853d0aa938377d7da623b21ae477797940cc84445203669b7acea042c66336976db3c26a7c27e8afc71707fec01ec1d83d5e4d191ea008182 languageName: node linkType: hard @@ -10899,12 +11057,12 @@ __metadata: linkType: hard "@types/serve-static@npm:*, @types/serve-static@npm:^1.13.10, @types/serve-static@npm:^1.13.8": - version: 1.13.10 - resolution: "@types/serve-static@npm:1.13.10" + version: 1.15.0 + resolution: "@types/serve-static@npm:1.15.0" dependencies: - "@types/mime": ^1 + "@types/mime": "*" "@types/node": "*" - checksum: 7f3de245cbb11f3a9d7977b6e763585c6022ebfc079fa746f8d824411bb6b343521c1cff5407edc0d5196f4b7d6fea431fb36455843f4a6717d295c235065cf2 + checksum: 2bdf7561c74175cc57c912d360fe763af0fc77a078f67d22cb515fa5b23db937314ffe1b5f96ca77c5e9de55b9d94277b7a3d288ff07067d6b2f83d004027430 languageName: node linkType: hard @@ -11030,11 +11188,11 @@ __metadata: linkType: hard "@types/uglify-js@npm:*": - version: 3.16.0 - resolution: "@types/uglify-js@npm:3.16.0" + version: 3.17.0 + resolution: "@types/uglify-js@npm:3.17.0" dependencies: source-map: ^0.6.1 - checksum: 6a209f3741f379654713077fa88b1b1f7e824450816bd03b70e3e51a2faf7ad6eb045b8a6d645c9cc857e8c4823615e284f009ae4e8efeca7c28b8064b2d0b32 + checksum: ee6d4a8ff6b1dcc080638c0380f54fccd00fd577100a37375b7f365bc78c2f328564132abba494963bcce11d6a6a2b54c2cdb3eb31b18556d26cafa9eb223fd8 languageName: node linkType: hard @@ -11079,9 +11237,9 @@ __metadata: linkType: hard "@types/webpack-env@npm:^1.15.2, @types/webpack-env@npm:^1.16.0, @types/webpack-env@npm:^1.16.4, @types/webpack-env@npm:^1.17.0": - version: 1.17.0 - resolution: "@types/webpack-env@npm:1.17.0" - checksum: 306cd550d6f799322fe2be2dba90f587ecbf2b6a848025007e4507835ee0730597c61b2e1818b74d3f73c2e0eaefef95b7f67635cbac4b981108f84a8b826e9c + version: 1.18.0 + resolution: "@types/webpack-env@npm:1.18.0" + checksum: ac2e91b025ea31b98b0271ccb40da789c5b54693c1efb18265a54c03b303b750501f080a44e99d7ce0a5422d68d535e600e851df4b8f2240444eca7ac3159719 languageName: node linkType: hard @@ -11181,11 +11339,11 @@ __metadata: linkType: hard "@types/yargs@npm:^17.0.8": - version: 17.0.10 - resolution: "@types/yargs@npm:17.0.10" + version: 17.0.12 + resolution: "@types/yargs@npm:17.0.12" dependencies: "@types/yargs-parser": "*" - checksum: eb46d2c0dc7b3e1ccbf5a06ac217dc761ec8b9817c1fe6a15474476f86e90abc29c693f33221c28b0f20fa5f3028f44a0b1f040fc9f91f0124b9a88a7d2462a7 + checksum: a0ba2dde56b4e5cd9666c6119ed5c519d5efa838ef37d1ce4b5d08643c3edd827b2b584a43daf6cb09a891d9171706f61aeffc235bf81079d50f470fd73751d3 languageName: node linkType: hard @@ -11199,12 +11357,12 @@ __metadata: linkType: hard "@typescript-eslint/eslint-plugin@npm:^5.15.0": - version: 5.30.7 - resolution: "@typescript-eslint/eslint-plugin@npm:5.30.7" + version: 5.36.2 + resolution: "@typescript-eslint/eslint-plugin@npm:5.36.2" dependencies: - "@typescript-eslint/scope-manager": 5.30.7 - "@typescript-eslint/type-utils": 5.30.7 - "@typescript-eslint/utils": 5.30.7 + "@typescript-eslint/scope-manager": 5.36.2 + "@typescript-eslint/type-utils": 5.36.2 + "@typescript-eslint/utils": 5.36.2 debug: ^4.3.4 functional-red-black-tree: ^1.0.1 ignore: ^5.2.0 @@ -11217,7 +11375,7 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 45a65caf3a0d53ca5f71a533d45b2a5c9256bb62572b49d409332ffa6b00036337bc0d2f165c994d3abb96a74e4e790b2d31a3bc46b02332b671c74ccd6e2bb2 + checksum: d76a3c99d84509085b1e3c06488266a12c86c0645410b8f34cc1b92df4d58d45797dad398baf54a435e33aba7b1db9789f710a89457fbb23f56b13bd0baae089 languageName: node linkType: hard @@ -11238,19 +11396,19 @@ __metadata: linkType: hard "@typescript-eslint/parser@npm:^5.15.0": - version: 5.30.7 - resolution: "@typescript-eslint/parser@npm:5.30.7" + version: 5.36.2 + resolution: "@typescript-eslint/parser@npm:5.36.2" dependencies: - "@typescript-eslint/scope-manager": 5.30.7 - "@typescript-eslint/types": 5.30.7 - "@typescript-eslint/typescript-estree": 5.30.7 + "@typescript-eslint/scope-manager": 5.36.2 + "@typescript-eslint/types": 5.36.2 + "@typescript-eslint/typescript-estree": 5.36.2 debug: ^4.3.4 peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 peerDependenciesMeta: typescript: optional: true - checksum: f8bbb2206faae7f2278bc7c684db027772dc9f7f52ae39ec4a3ab1d8cef59b9f5ea763a117a2b923c1cdbf3ff0b870dfe7d6e6fd63b95fe255ff7c34c026ecc4 + checksum: 3a840dc72e3051b64cd030f64a539e6f239b72a06b75999b6133b3b17885fdf5066a7c316989fe7c85dfa4d164064d365e2e88a77ec56db65eea3609f3647f42 languageName: node linkType: hard @@ -11264,21 +11422,22 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:5.30.7": - version: 5.30.7 - resolution: "@typescript-eslint/scope-manager@npm:5.30.7" +"@typescript-eslint/scope-manager@npm:5.36.2": + version: 5.36.2 + resolution: "@typescript-eslint/scope-manager@npm:5.36.2" dependencies: - "@typescript-eslint/types": 5.30.7 - "@typescript-eslint/visitor-keys": 5.30.7 - checksum: 09f42220251149660724577ea4d90c8a8289dff1ca519c977a5be515aeef93a88d577a48c03d6c095c87818046fdc81f9ec0846e5e5741b85b9dd3c51d3a6218 + "@typescript-eslint/types": 5.36.2 + "@typescript-eslint/visitor-keys": 5.36.2 + checksum: 64b2427a7f10fb10b3782b82fb0ee45cd79d1a11d2ebac6e08390fc765617894b278e544ee1326ba7ad3dbd3dadcb2cdfc83468660660fda183f86ebf0d5e276 languageName: node linkType: hard -"@typescript-eslint/type-utils@npm:5.30.7": - version: 5.30.7 - resolution: "@typescript-eslint/type-utils@npm:5.30.7" +"@typescript-eslint/type-utils@npm:5.36.2": + version: 5.36.2 + resolution: "@typescript-eslint/type-utils@npm:5.36.2" dependencies: - "@typescript-eslint/utils": 5.30.7 + "@typescript-eslint/typescript-estree": 5.36.2 + "@typescript-eslint/utils": 5.36.2 debug: ^4.3.4 tsutils: ^3.21.0 peerDependencies: @@ -11286,7 +11445,7 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 1427004f2991d8f949dcf3984b31ec01701ec2175fb63a279c643581759e1d746bebf94b4e0d5f950928a9cab93e9f7045426a7595c8fa846c1ab1648b2d7f81 + checksum: 1b22a2b7386153e8788d91f0fc38c18d81480eae537de8afccb14f957bf1b5d992e2a26cbd1782645f331f3b9717e4d0c6df117bcf78ca7703e8dc6bd0da920d languageName: node linkType: hard @@ -11297,10 +11456,10 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/types@npm:5.30.7": - version: 5.30.7 - resolution: "@typescript-eslint/types@npm:5.30.7" - checksum: 2e6401d6b82ef5924a6c96450911c6193627aed16eac0c5b3b89c22f8944c171cb651c26133e2c7c907cb418abfa16861980d976249caec58a86424c4fd84b4f +"@typescript-eslint/types@npm:5.36.2": + version: 5.36.2 + resolution: "@typescript-eslint/types@npm:5.36.2" + checksum: 73202539d7c759697b458bcf230678e3a37abfd05c4e7a2affff88671f12d0fe045cc6cd272c065fbacdb9759cbdf5b31bcf9c9cc807cdaeb381cbb058768540 languageName: node linkType: hard @@ -11322,12 +11481,12 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:5.30.7": - version: 5.30.7 - resolution: "@typescript-eslint/typescript-estree@npm:5.30.7" +"@typescript-eslint/typescript-estree@npm:5.36.2": + version: 5.36.2 + resolution: "@typescript-eslint/typescript-estree@npm:5.36.2" dependencies: - "@typescript-eslint/types": 5.30.7 - "@typescript-eslint/visitor-keys": 5.30.7 + "@typescript-eslint/types": 5.36.2 + "@typescript-eslint/visitor-keys": 5.36.2 debug: ^4.3.4 globby: ^11.1.0 is-glob: ^4.0.3 @@ -11336,23 +11495,23 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 9b004137db86a03534dca5f4b4e2fdb0b298c80849e28107b19277004d5c6b0adf75486461df37ba54a3a2a8da8a6814b6da51cf42c9548f2ee622a015fa840c + checksum: a887f2515528bd09fded97f723b8d309feb667a32f209d490835913a4ea3afb52b1b1231410c6fa6f19de89723b67631982aa9c89d0a4c0e977ebe514dcf4de1 languageName: node linkType: hard -"@typescript-eslint/utils@npm:5.30.7, @typescript-eslint/utils@npm:^5.13.0": - version: 5.30.7 - resolution: "@typescript-eslint/utils@npm:5.30.7" +"@typescript-eslint/utils@npm:5.36.2, @typescript-eslint/utils@npm:^5.13.0": + version: 5.36.2 + resolution: "@typescript-eslint/utils@npm:5.36.2" dependencies: "@types/json-schema": ^7.0.9 - "@typescript-eslint/scope-manager": 5.30.7 - "@typescript-eslint/types": 5.30.7 - "@typescript-eslint/typescript-estree": 5.30.7 + "@typescript-eslint/scope-manager": 5.36.2 + "@typescript-eslint/types": 5.36.2 + "@typescript-eslint/typescript-estree": 5.36.2 eslint-scope: ^5.1.1 eslint-utils: ^3.0.0 peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 - checksum: d720229c332743e2a20ed92428ce667420e6b7ceb68713cc928fa6e96013d4b5fa8f0f9732c4846ad64106a6a0c44e742ce7515243e0c916c38df0ebd3709715 + checksum: 9fc774aee1ba6d8d126bd79f11387a7e105a06e4109a10a2f6d576ab7347a19a43f8629b5e93cd3b5ea5004c94067b7abd3aa45fd50866492d97ef9965b9f06e languageName: node linkType: hard @@ -11366,13 +11525,13 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/visitor-keys@npm:5.30.7": - version: 5.30.7 - resolution: "@typescript-eslint/visitor-keys@npm:5.30.7" +"@typescript-eslint/visitor-keys@npm:5.36.2": + version: 5.36.2 + resolution: "@typescript-eslint/visitor-keys@npm:5.36.2" dependencies: - "@typescript-eslint/types": 5.30.7 + "@typescript-eslint/types": 5.36.2 eslint-visitor-keys: ^3.3.0 - checksum: 7f19651aafb4a9aa470347d9c864aa6404c39deee0b5d66ff5915b422ed6d6d708467e5d63da91c3df3f6cc4454136ebd0f08bb25d019ec8ca48fe9caf9eef6f + checksum: 4c904f61dc28c433059c45bdae62d3d3be9c35099343235fbe96193ccbf8484b57e527e2bf2d0e299e8b136980787e7ad1f4efb93b8b093bd24dafad874a0c18 languageName: node linkType: hard @@ -11435,10 +11594,37 @@ __metadata: languageName: node linkType: hard -"@vue/babel-helper-vue-jsx-merge-props@npm:^1.2.1": - version: 1.2.1 - resolution: "@vue/babel-helper-vue-jsx-merge-props@npm:1.2.1" - checksum: adefa7dbeb793aba0acded979b83136b63b8c25d76c2a6875df9cc95b75b440efdd2f769579ca636fc26ed0229a16129680e5d5edb36816d4d8ffcf8ebacd61e +"@vitejs/plugin-react@npm:^2.0.0, @vitejs/plugin-react@npm:^2.0.1": + version: 2.1.0 + resolution: "@vitejs/plugin-react@npm:2.1.0" + dependencies: + "@babel/core": ^7.18.13 + "@babel/plugin-transform-react-jsx": ^7.18.10 + "@babel/plugin-transform-react-jsx-development": ^7.18.6 + "@babel/plugin-transform-react-jsx-self": ^7.18.6 + "@babel/plugin-transform-react-jsx-source": ^7.18.6 + magic-string: ^0.26.2 + react-refresh: ^0.14.0 + peerDependencies: + vite: ^3.0.0 + checksum: e63e973e4de450e55215d5de705a388c1d72f08bacae44810225386fbed2ec49f8257603e9f86c2d6aa443e4b36d9f10a4d39b5aa2f566ed682d01836ddf65c8 + languageName: node + linkType: hard + +"@vitejs/plugin-vue@npm:^3.0.3": + version: 3.1.0 + resolution: "@vitejs/plugin-vue@npm:3.1.0" + peerDependencies: + vite: ^3.0.0 + vue: ^3.2.25 + checksum: 21d473aa078ddd2443ad86c74fb9b15f215af631c93761a6a72107c724e9ab26565c4a491c5c345ee77d6f43fd6b2ed4ba76515a29c8f44480ce3fab8d4a4070 + languageName: node + linkType: hard + +"@vue/babel-helper-vue-jsx-merge-props@npm:^1.4.0": + version: 1.4.0 + resolution: "@vue/babel-helper-vue-jsx-merge-props@npm:1.4.0" + checksum: 176a75390b5d41599ecc9120a155a3a85b0559afc8b3aa32555c758c6c17e38a7373b068c3e74f9ba314e61529de8a75d262efe4bd441dfa35b531072ce30e4c languageName: node linkType: hard @@ -11466,19 +11652,19 @@ __metadata: languageName: node linkType: hard -"@vue/babel-plugin-transform-vue-jsx@npm:^1.2.1": - version: 1.2.1 - resolution: "@vue/babel-plugin-transform-vue-jsx@npm:1.2.1" +"@vue/babel-plugin-transform-vue-jsx@npm:^1.4.0": + version: 1.4.0 + resolution: "@vue/babel-plugin-transform-vue-jsx@npm:1.4.0" dependencies: "@babel/helper-module-imports": ^7.0.0 "@babel/plugin-syntax-jsx": ^7.2.0 - "@vue/babel-helper-vue-jsx-merge-props": ^1.2.1 + "@vue/babel-helper-vue-jsx-merge-props": ^1.4.0 html-tags: ^2.0.0 lodash.kebabcase: ^4.1.1 svg-tags: ^1.0.0 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 6eecf13ddf379a36444f495554ebbcd88a3d8c51d8c7e7b373c3f433044cd9402b4702ab143a878a11fd0159a585db62a0f84a536454b5a5308aa6f0bab0c9c9 + checksum: 791d0f252947f634bebe975816e0c17a4bf942460492bcde5dd8c663819949c2c54181712154470adbe7d023016ae989ab886ac6ac7519674e53b714ee690525 languageName: node linkType: hard @@ -11516,97 +11702,97 @@ __metadata: linkType: hard "@vue/babel-preset-jsx@npm:^1.1.2, @vue/babel-preset-jsx@npm:^1.2.4": - version: 1.3.0 - resolution: "@vue/babel-preset-jsx@npm:1.3.0" + version: 1.4.0 + resolution: "@vue/babel-preset-jsx@npm:1.4.0" dependencies: - "@vue/babel-helper-vue-jsx-merge-props": ^1.2.1 - "@vue/babel-plugin-transform-vue-jsx": ^1.2.1 - "@vue/babel-sugar-composition-api-inject-h": ^1.3.0 - "@vue/babel-sugar-composition-api-render-instance": ^1.3.0 - "@vue/babel-sugar-functional-vue": ^1.2.2 - "@vue/babel-sugar-inject-h": ^1.2.2 - "@vue/babel-sugar-v-model": ^1.3.0 - "@vue/babel-sugar-v-on": ^1.3.0 + "@vue/babel-helper-vue-jsx-merge-props": ^1.4.0 + "@vue/babel-plugin-transform-vue-jsx": ^1.4.0 + "@vue/babel-sugar-composition-api-inject-h": ^1.4.0 + "@vue/babel-sugar-composition-api-render-instance": ^1.4.0 + "@vue/babel-sugar-functional-vue": ^1.4.0 + "@vue/babel-sugar-inject-h": ^1.4.0 + "@vue/babel-sugar-v-model": ^1.4.0 + "@vue/babel-sugar-v-on": ^1.4.0 peerDependencies: "@babel/core": ^7.0.0-0 - vue: 2.x + vue: "*" peerDependenciesMeta: vue: optional: true - checksum: 982611294a67b490b6780d16d6c8cf524cb3affd490025a32fe8bb84e0810105c82a47b331d5cf630748b93c07820cc549d6e3bcd3fc7f35c63eafc06c2a7fb4 + checksum: 20ab15ccd012788f81f656f4671bfce2216e39ee6e0d6e9f3beb6ddc26150fe9505efd92fc62238dc67eb98d8adc548fe077fa6a68c39003014156e2a3b6c641 languageName: node linkType: hard -"@vue/babel-sugar-composition-api-inject-h@npm:^1.3.0": - version: 1.3.0 - resolution: "@vue/babel-sugar-composition-api-inject-h@npm:1.3.0" +"@vue/babel-sugar-composition-api-inject-h@npm:^1.4.0": + version: 1.4.0 + resolution: "@vue/babel-sugar-composition-api-inject-h@npm:1.4.0" dependencies: "@babel/plugin-syntax-jsx": ^7.2.0 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 13a039f36a36bf40ed74c7c48d111e53270135cd8658a92901e4dcdf86901a440af2323f2ed2c11cdbdcfb23291cae5fea3de1430cec1698fdeeae8a19456422 + checksum: c8b1fd5693ef99ba5358a954db0208588760022d9591006467f15da21b14b7e1f679a290e9ff0deca54696f22a63d799715d9305a7e48de4762cfc6337e6fe78 languageName: node linkType: hard -"@vue/babel-sugar-composition-api-render-instance@npm:^1.3.0": - version: 1.3.0 - resolution: "@vue/babel-sugar-composition-api-render-instance@npm:1.3.0" +"@vue/babel-sugar-composition-api-render-instance@npm:^1.4.0": + version: 1.4.0 + resolution: "@vue/babel-sugar-composition-api-render-instance@npm:1.4.0" dependencies: "@babel/plugin-syntax-jsx": ^7.2.0 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: c818487478ce9e33b126e2958b99200702cfca221e4204eea8c057e279f6cd86d213f4bba7774bcd4287e4766c0e49043c724ed740c20cf660f0b707ba012a48 + checksum: 3ef9cd71b721557a56259f20320c457165802cad60d957d21fdabb4e8fabf2e55a7851ea8f4382278bf0e0bbec27a64700f5c668bf16993124f2b58dc3bf2376 languageName: node linkType: hard -"@vue/babel-sugar-functional-vue@npm:^1.2.2": - version: 1.2.2 - resolution: "@vue/babel-sugar-functional-vue@npm:1.2.2" +"@vue/babel-sugar-functional-vue@npm:^1.4.0": + version: 1.4.0 + resolution: "@vue/babel-sugar-functional-vue@npm:1.4.0" dependencies: "@babel/plugin-syntax-jsx": ^7.2.0 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: e6d683cd80dc4be462acc41378fdc13e1e4eb810d4d6b85b5d3f01af2117744fe488209a3d87e43a3586e0bd58acc5f86a7bc441ffb0187df92d523b540550c2 + checksum: 2e2c470ea31bc0f2a2b82f37406ddf02387b0e6b0e14d6905b989e956d0727283375f8147bd1d71afa138277b8380ff6b5d1d3e9639a420fdd9ffdb520d1d70e languageName: node linkType: hard -"@vue/babel-sugar-inject-h@npm:^1.2.2": - version: 1.2.2 - resolution: "@vue/babel-sugar-inject-h@npm:1.2.2" +"@vue/babel-sugar-inject-h@npm:^1.4.0": + version: 1.4.0 + resolution: "@vue/babel-sugar-inject-h@npm:1.4.0" dependencies: "@babel/plugin-syntax-jsx": ^7.2.0 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 271b0860c1d9911b7ea1c6f842f0feb8961bac70dab20621fb6eb9d8ac7c3f13ae7b9c2f562db48e73d19814d059c3c463389ba96fd41dc2017c32de4caf7726 + checksum: 364823f4d4b122c7740de2e9d6e50dbdd25f5c55b7cd2053e10c388543bf536ada26b038669388727d333277009f3a404aac15658aef0f017890c60a8e0115c1 languageName: node linkType: hard -"@vue/babel-sugar-v-model@npm:^1.3.0": - version: 1.3.0 - resolution: "@vue/babel-sugar-v-model@npm:1.3.0" +"@vue/babel-sugar-v-model@npm:^1.4.0": + version: 1.4.0 + resolution: "@vue/babel-sugar-v-model@npm:1.4.0" dependencies: "@babel/plugin-syntax-jsx": ^7.2.0 - "@vue/babel-helper-vue-jsx-merge-props": ^1.2.1 - "@vue/babel-plugin-transform-vue-jsx": ^1.2.1 + "@vue/babel-helper-vue-jsx-merge-props": ^1.4.0 + "@vue/babel-plugin-transform-vue-jsx": ^1.4.0 camelcase: ^5.0.0 html-tags: ^2.0.0 svg-tags: ^1.0.0 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: a85e7c4cb3951551c9863c37b85a1444dda461c01606cb80caedc729458d6d8bb28da3b5f90d0e4082c5ccba55bcd6625af85c1e10e9be51bd9c0224633af27d + checksum: 10cf44f2e7699487b1aeaa093ffa2721f0f046cdb958261e2df53fe82e39bf3e59bddcbbca527f69f7db97e518e40e55ec0314357052b84d8f948bce76aaa676 languageName: node linkType: hard -"@vue/babel-sugar-v-on@npm:^1.3.0": - version: 1.3.0 - resolution: "@vue/babel-sugar-v-on@npm:1.3.0" +"@vue/babel-sugar-v-on@npm:^1.4.0": + version: 1.4.0 + resolution: "@vue/babel-sugar-v-on@npm:1.4.0" dependencies: "@babel/plugin-syntax-jsx": ^7.2.0 - "@vue/babel-plugin-transform-vue-jsx": ^1.2.1 + "@vue/babel-plugin-transform-vue-jsx": ^1.4.0 camelcase: ^5.0.0 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: bc167e556730a4b165583aa8ede60bf2cfba63c7ece3811ac1005c9feb94ff8fb15df8863297095c7d6841dd6bde7bb1243cb72718d0bf29aff16b43f3bf6c9d + checksum: 2b60535a7cf27574bbfb36777181ce11d76081b96ac8ac1a71e341146a8a2d7f83a1400ada1e2b54023fa1ec90e9d1c0ff2f353870401c70b74fe988844f6c9b languageName: node linkType: hard @@ -11799,15 +11985,15 @@ __metadata: languageName: node linkType: hard -"@vue/compiler-core@npm:3.2.37": - version: 3.2.37 - resolution: "@vue/compiler-core@npm:3.2.37" +"@vue/compiler-core@npm:3.2.38": + version: 3.2.38 + resolution: "@vue/compiler-core@npm:3.2.38" dependencies: "@babel/parser": ^7.16.4 - "@vue/shared": 3.2.37 + "@vue/shared": 3.2.38 estree-walker: ^2.0.2 source-map: ^0.6.1 - checksum: d50c7cb75d3229a10f02eac1b899300a0413f586f0c1eebe4cd931cfd1a709308c93211e7fb1b995c66c68cbdf3fd934ad23d967af6c156f72fdc84ad195e136 + checksum: 8830f7cde022280d6645cdda384c0b402ccf1d9f40ec3d9e7df9638016b09d86a8919ca6288329e45dbc5d943c0654ef0a04a760d071f7a7a3fd17533064fd4c languageName: node linkType: hard @@ -11821,24 +12007,24 @@ __metadata: languageName: node linkType: hard -"@vue/compiler-dom@npm:3.2.37, @vue/compiler-dom@npm:^3.2.0": - version: 3.2.37 - resolution: "@vue/compiler-dom@npm:3.2.37" +"@vue/compiler-dom@npm:3.2.38, @vue/compiler-dom@npm:^3.2.0": + version: 3.2.38 + resolution: "@vue/compiler-dom@npm:3.2.38" dependencies: - "@vue/compiler-core": 3.2.37 - "@vue/shared": 3.2.37 - checksum: e50ac1deff28acdc92247606daacc852055a0915839ff467c18bccc0c988ae252982547dc1bc0f07d41bedc8eea25961e5caa6ccbb7eef123a35a3e02c542929 + "@vue/compiler-core": 3.2.38 + "@vue/shared": 3.2.38 + checksum: b5e06be6d3268ad26c650f6e23b9c325cae2788aba23e1a7370c1f9cf971b70252395dec9d63eeb0cdbdb5b4d035adbe1e922dc22a6c925070d27cee99676964 languageName: node linkType: hard -"@vue/compiler-sfc@npm:2.7.7": - version: 2.7.7 - resolution: "@vue/compiler-sfc@npm:2.7.7" +"@vue/compiler-sfc@npm:2.7.10": + version: 2.7.10 + resolution: "@vue/compiler-sfc@npm:2.7.10" dependencies: "@babel/parser": ^7.18.4 postcss: ^8.4.14 source-map: ^0.6.1 - checksum: 1148125fbe27f2150f7a42d67e52f00aa06bd95a036446329cae459916f389ed6a4198ee25bb6f7821930fb362db636272694681f5a36ee2943adce2414a2a56 + checksum: 54118cc771e18ae2804aa39c2bcca889f7758bfb85392d96a9b94a494a3b6c12fc00984eb0ae8ef861dcedf6481e0933dd9774211ef9c2579fe7a7e7ffe97876 languageName: node linkType: hard @@ -11868,21 +12054,21 @@ __metadata: languageName: node linkType: hard -"@vue/compiler-sfc@npm:3.2.37, @vue/compiler-sfc@npm:^3.2.0, @vue/compiler-sfc@npm:^3.2.33, @vue/compiler-sfc@npm:^3.2.36": - version: 3.2.37 - resolution: "@vue/compiler-sfc@npm:3.2.37" +"@vue/compiler-sfc@npm:3.2.38, @vue/compiler-sfc@npm:^3.2.0, @vue/compiler-sfc@npm:^3.2.33, @vue/compiler-sfc@npm:^3.2.36": + version: 3.2.38 + resolution: "@vue/compiler-sfc@npm:3.2.38" dependencies: "@babel/parser": ^7.16.4 - "@vue/compiler-core": 3.2.37 - "@vue/compiler-dom": 3.2.37 - "@vue/compiler-ssr": 3.2.37 - "@vue/reactivity-transform": 3.2.37 - "@vue/shared": 3.2.37 + "@vue/compiler-core": 3.2.38 + "@vue/compiler-dom": 3.2.38 + "@vue/compiler-ssr": 3.2.38 + "@vue/reactivity-transform": 3.2.38 + "@vue/shared": 3.2.38 estree-walker: ^2.0.2 magic-string: ^0.25.7 postcss: ^8.1.10 source-map: ^0.6.1 - checksum: 08d4c0d837a8ee29547c77ba855ca313920267b00b51288907d3932ea99bd835b8a1e61753a5bc1ca870d1b49744611c0b741fdb7b084eb7f5fc63424d5fcb32 + checksum: 8e4b6e6db3d1522b4d907914406e90daf5d87e99bd1da3cb29a076acd2c06747bb7f6f62bec1ffa4fb0722148efea3b7cc5e58738592133ed5f7a3514d6f540f languageName: node linkType: hard @@ -11896,13 +12082,13 @@ __metadata: languageName: node linkType: hard -"@vue/compiler-ssr@npm:3.2.37": - version: 3.2.37 - resolution: "@vue/compiler-ssr@npm:3.2.37" +"@vue/compiler-ssr@npm:3.2.38": + version: 3.2.38 + resolution: "@vue/compiler-ssr@npm:3.2.38" dependencies: - "@vue/compiler-dom": 3.2.37 - "@vue/shared": 3.2.37 - checksum: f92a843b94df90f10082bc712527bb61e4ab3780d44eff0c048a802837f0b8105147dbd2311f621a7a17f258e3ceaa781cb89d5bf91134f749af9f0998f9b937 + "@vue/compiler-dom": 3.2.38 + "@vue/shared": 3.2.38 + checksum: 519ecb24f324f3ad9b5941852ceb51892d099f5cdbd42e508e0993e5766cd8acc85649fd3e7410f18c16c8136828aa3329f4144d400bccd0835d242b05fe1172 languageName: node linkType: hard @@ -11926,16 +12112,16 @@ __metadata: languageName: node linkType: hard -"@vue/reactivity-transform@npm:3.2.37": - version: 3.2.37 - resolution: "@vue/reactivity-transform@npm:3.2.37" +"@vue/reactivity-transform@npm:3.2.38": + version: 3.2.38 + resolution: "@vue/reactivity-transform@npm:3.2.38" dependencies: "@babel/parser": ^7.16.4 - "@vue/compiler-core": 3.2.37 - "@vue/shared": 3.2.37 + "@vue/compiler-core": 3.2.38 + "@vue/shared": 3.2.38 estree-walker: ^2.0.2 magic-string: ^0.25.7 - checksum: 5868beef6efff1fa20496e2e4a3aad461389f773bb8ae1285932a461541471a1e6085f9ce1372b4fd25caa1b61acb762998a9dc4b83ee471ccafd76009dcfc32 + checksum: 562168e01bbd3bc2b43c9c9308a5e278e5b78f4bc611940d8452c470224f9437661117ef97c103a5ba4a58b548fe2597b915db9fa9d2a4ce314d7f871772465a languageName: node linkType: hard @@ -11948,12 +12134,12 @@ __metadata: languageName: node linkType: hard -"@vue/reactivity@npm:3.2.37": - version: 3.2.37 - resolution: "@vue/reactivity@npm:3.2.37" +"@vue/reactivity@npm:3.2.38": + version: 3.2.38 + resolution: "@vue/reactivity@npm:3.2.38" dependencies: - "@vue/shared": 3.2.37 - checksum: c071fc40e3b29af5758b321c875b427fce8f953877e6c32b71facd4f0a761388cbf5d762a4c90d0e2e7bfb4b33febeea4985d2c0ceeaab9ef1b4c5fc21928e38 + "@vue/shared": 3.2.38 + checksum: 867fc400bc408e254145d89d11d8556c6feb1c047ebde8bbf5bbaff9b24ebb8eb5e321e304d3b2d1f597b1036e563a2060cdae2971f1e31d0e25b2a87111900f languageName: node linkType: hard @@ -11967,13 +12153,13 @@ __metadata: languageName: node linkType: hard -"@vue/runtime-core@npm:3.2.37": - version: 3.2.37 - resolution: "@vue/runtime-core@npm:3.2.37" +"@vue/runtime-core@npm:3.2.38": + version: 3.2.38 + resolution: "@vue/runtime-core@npm:3.2.38" dependencies: - "@vue/reactivity": 3.2.37 - "@vue/shared": 3.2.37 - checksum: b08fe2d0db843a50862e8b57d147020f09058ffc9490c1a257b0a3778b146febf764dfc9d16423eba1be78c71d57fd08702125ed7e3ac4f6e1b4c1a0e012d36b + "@vue/reactivity": 3.2.38 + "@vue/shared": 3.2.38 + checksum: 14f64891d1eff0a61c53648c8835319c6115d5268b7743d72fd5c5f7379b99f7cb199cc54bb4a697a3fffd2971c08b7a8fdc814b4cc9ba38d74d6ff2e615c926 languageName: node linkType: hard @@ -11988,26 +12174,26 @@ __metadata: languageName: node linkType: hard -"@vue/runtime-dom@npm:3.2.37": - version: 3.2.37 - resolution: "@vue/runtime-dom@npm:3.2.37" +"@vue/runtime-dom@npm:3.2.38": + version: 3.2.38 + resolution: "@vue/runtime-dom@npm:3.2.38" dependencies: - "@vue/runtime-core": 3.2.37 - "@vue/shared": 3.2.37 + "@vue/runtime-core": 3.2.38 + "@vue/shared": 3.2.38 csstype: ^2.6.8 - checksum: cfcdf830c0a123e4366f8c77dd1181ad8a372d815bc2fb94c0207dbde667eb2200b347f93e1023bde0ed92acdfc82118432703f76d8e6743d9d952ded3ff5b42 + checksum: b197e3b8272da89468ecb875936d20c81a61341de9e760286f3bd57cd4cc33d33851c8780a475697f9cc48635c2559d813838bdd894ea400929eea45847f2aa1 languageName: node linkType: hard -"@vue/server-renderer@npm:3.2.37": - version: 3.2.37 - resolution: "@vue/server-renderer@npm:3.2.37" +"@vue/server-renderer@npm:3.2.38": + version: 3.2.38 + resolution: "@vue/server-renderer@npm:3.2.38" dependencies: - "@vue/compiler-ssr": 3.2.37 - "@vue/shared": 3.2.37 + "@vue/compiler-ssr": 3.2.38 + "@vue/shared": 3.2.38 peerDependencies: - vue: 3.2.37 - checksum: 1946cce6178da88f4e276454818c554df5f3223086f62cd28ad54a893470c56618c73aadae9b68a2745ced284637f7724513f62eca87b7ed3557a18f772b5afa + vue: 3.2.38 + checksum: c6067b1bbfc8cab924725cf3fdb86568313b578439c75f0c1e2b06d38a1893679b0c469dd56518f8940d306b7920a7df4b201b9182d7a5edfee383fa16b310c2 languageName: node linkType: hard @@ -12018,10 +12204,10 @@ __metadata: languageName: node linkType: hard -"@vue/shared@npm:3.2.37": - version: 3.2.37 - resolution: "@vue/shared@npm:3.2.37" - checksum: f1ffbe5e72a2f673641948ebd1864e9898da8718a6c2a95cd37387a3b9797a10f5d4a402a36da6b13846ee31d106fd4f2e08ee51787e85147e54c519fdbb001a +"@vue/shared@npm:3.2.38": + version: 3.2.38 + resolution: "@vue/shared@npm:3.2.38" + checksum: 435bbecaf77227d10e2fe05c4a589644d5cbfa22b6b4d8b0f770b7f608ed568447f779064867990231046f6181e27a50a7e8425a6b9a60d0f25d82b2bc96f6b3 languageName: node linkType: hard @@ -12266,13 +12452,13 @@ __metadata: linkType: hard "@yarnpkg/esbuild-plugin-pnp@npm:^3.0.0-rc.10": - version: 3.0.0-rc.12 - resolution: "@yarnpkg/esbuild-plugin-pnp@npm:3.0.0-rc.12" + version: 3.0.0-rc.15 + resolution: "@yarnpkg/esbuild-plugin-pnp@npm:3.0.0-rc.15" dependencies: - tslib: ^1.13.0 + tslib: ^2.4.0 peerDependencies: esbuild: ">=0.10.0" - checksum: 58d33bf525faca84a0f71d0710e8a0f4cfdcf22f54f0acc64e27d7f261e692c3f7199684d9c6a18c557245b817832ac10f92122f8161324b213b7a0354f8b055 + checksum: 5095bc316862971add31ca1fadb0095b6ad15f25120f6ab3a06086bb6a7be93c2f3c45bff80d5976689fc89b0e9bf82bd3d410e205c852739874d32d050c4e57 languageName: node linkType: hard @@ -12411,7 +12597,7 @@ __metadata: languageName: node linkType: hard -"acorn-jsx@npm:^5.0.0, acorn-jsx@npm:^5.2.0, acorn-jsx@npm:^5.3.1": +"acorn-jsx@npm:^5.0.0, acorn-jsx@npm:^5.3.1": version: 5.3.2 resolution: "acorn-jsx@npm:5.3.2" peerDependencies: @@ -12470,7 +12656,7 @@ __metadata: languageName: node linkType: hard -"acorn@npm:^7.0.0, acorn@npm:^7.1.0, acorn@npm:^7.1.1, acorn@npm:^7.3.1, acorn@npm:^7.4.0, acorn@npm:^7.4.1": +"acorn@npm:^7.0.0, acorn@npm:^7.1.0, acorn@npm:^7.1.1, acorn@npm:^7.4.0, acorn@npm:^7.4.1": version: 7.4.1 resolution: "acorn@npm:7.4.1" bin: @@ -12479,12 +12665,12 @@ __metadata: languageName: node linkType: hard -"acorn@npm:^8.0.0, acorn@npm:^8.0.4, acorn@npm:^8.0.5, acorn@npm:^8.2.4, acorn@npm:^8.4.1, acorn@npm:^8.5.0": - version: 8.7.1 - resolution: "acorn@npm:8.7.1" +"acorn@npm:^8.0.0, acorn@npm:^8.0.4, acorn@npm:^8.0.5, acorn@npm:^8.2.4, acorn@npm:^8.4.1, acorn@npm:^8.5.0, acorn@npm:^8.6.0, acorn@npm:^8.7.1": + version: 8.8.0 + resolution: "acorn@npm:8.8.0" bin: acorn: bin/acorn - checksum: d9ff126ba128ac56fd5c54a4295e68bf95b923d1ce728152d9dd1980bd9f35eaac5771c0072a840ee6296323c3c9891186cd29c7541579dcb5b4d4c74bfef379 + checksum: 5efce4f59554e0ab766f32932cba34b86cc2ecdf24fcd27463beff41d8a1b1b9575c21f92c1b9f7f82b93374a9d5aed33c91f93e2d0cb1bdf3f1e06ec131e816 languageName: node linkType: hard @@ -12699,29 +12885,27 @@ __metadata: "@angular/platform-browser-dynamic": ^13.3.6 "@compodoc/compodoc": ^1.1.18 "@ngrx/store": ^13.2.0 - "@storybook/addon-a11y": 7.0.0-alpha.20 - "@storybook/addon-actions": 7.0.0-alpha.20 - "@storybook/addon-backgrounds": 7.0.0-alpha.20 - "@storybook/addon-controls": 7.0.0-alpha.20 - "@storybook/addon-docs": 7.0.0-alpha.20 - "@storybook/addon-highlight": 7.0.0-alpha.20 - "@storybook/addon-interactions": 7.0.0-alpha.20 - "@storybook/addon-jest": 7.0.0-alpha.20 - "@storybook/addon-links": 7.0.0-alpha.20 - "@storybook/addon-storyshots": 7.0.0-alpha.20 - "@storybook/addon-storysource": 7.0.0-alpha.20 - "@storybook/addons": 7.0.0-alpha.20 - "@storybook/angular": 7.0.0-alpha.20 + "@storybook/addon-a11y": 7.0.0-alpha.31 + "@storybook/addon-actions": 7.0.0-alpha.31 + "@storybook/addon-backgrounds": 7.0.0-alpha.31 + "@storybook/addon-controls": 7.0.0-alpha.31 + "@storybook/addon-docs": 7.0.0-alpha.31 + "@storybook/addon-highlight": 7.0.0-alpha.31 + "@storybook/addon-interactions": 7.0.0-alpha.31 + "@storybook/addon-jest": 7.0.0-alpha.31 + "@storybook/addon-links": 7.0.0-alpha.31 + "@storybook/addon-storyshots": 7.0.0-alpha.31 + "@storybook/addon-storysource": 7.0.0-alpha.31 + "@storybook/addons": 7.0.0-alpha.31 + "@storybook/angular": 7.0.0-alpha.31 "@storybook/babel-plugin-require-context-hook": 1.0.1 "@storybook/jest": ^0.0.10 - "@storybook/source-loader": 7.0.0-alpha.20 + "@storybook/source-loader": 7.0.0-alpha.31 "@storybook/testing-library": 0.0.14-next.0 - "@types/core-js": ^2.5.4 "@types/jest": ^26.0.16 "@types/node": ^14.14.20 || ^16.0.0 "@types/sass": ^1 "@webcomponents/custom-elements": ^1.4.3 - core-js: ^3.8.2 global: ^4.4.0 jasmine-core: ~3.6.0 jasmine-spec-reporter: ~5.0.2 @@ -12730,7 +12914,7 @@ __metadata: protractor: ~7.0.0 rxjs: ^6.6.7 sass: ^1.43.4 - storybook: 7.0.0-alpha.20 + storybook: 7.0.0-alpha.31 storybook-addon-angular-ivy: ^0.0.1 telejson: ^6.0.8 ts-jest: ^26.4.4 @@ -12996,12 +13180,12 @@ __metadata: linkType: hard "are-we-there-yet@npm:^3.0.0": - version: 3.0.0 - resolution: "are-we-there-yet@npm:3.0.0" + version: 3.0.1 + resolution: "are-we-there-yet@npm:3.0.1" dependencies: delegates: ^1.0.0 readable-stream: ^3.6.0 - checksum: 91cd4ad8a914437720bd726a36304ae279209fb13ce0f7e183ae752ae6d0070b56717a06a96b186728f9e74cb90837e5ee167a717119367b0ff3c4d2cef389ff + checksum: 8373f289ba42e4b5ec713bb585acdac14b5702c75f2a458dc985b9e4fa5762bc5b46b40a21b72418a3ed0cfb5e35bdc317ef1ae132f3035f633d581dd03168c3 languageName: node linkType: hard @@ -13070,9 +13254,9 @@ __metadata: linkType: hard "aria-query@npm:^5.0.0": - version: 5.0.0 - resolution: "aria-query@npm:5.0.0" - checksum: d8508a793e70bc8ef793c6df0adae1b337b60cd978974931e1a405e30b1356c822355950c9ad58271ea0353608a47d3b3a317667850d9c0ce227b0e88a8b2371 + version: 5.0.2 + resolution: "aria-query@npm:5.0.2" + checksum: fe1ce894c408b58a6bc9c905c7400ccf278944b1cc67be9766124324f1a2a78afdb07b90569faa2420a4f360dca7f641d3511ef42871b857b8079ac856a3b1bd languageName: node linkType: hard @@ -13366,6 +13550,15 @@ __metadata: languageName: node linkType: hard +"ast-types@npm:0.15.2": + version: 0.15.2 + resolution: "ast-types@npm:0.15.2" + dependencies: + tslib: ^2.0.1 + checksum: 5b26e3656e9e8d1db8c8d14971d0cb88ca0138aacce72171cb4cd4555fc8dc53c07e821c568e57fe147366931708fefd25cb9d7e880d42ce9cb569947844c962 + languageName: node + linkType: hard + "ast-types@npm:0.9.6": version: 0.9.6 resolution: "ast-types@npm:0.9.6" @@ -13387,7 +13580,7 @@ __metadata: languageName: node linkType: hard -"astring@npm:^1.6.0": +"astring@npm:^1.8.0": version: 1.8.3 resolution: "astring@npm:1.8.3" bin: @@ -13458,7 +13651,7 @@ __metadata: languageName: node linkType: hard -"async@npm:^2.4.1, async@npm:^2.6.2": +"async@npm:^2.4.1, async@npm:^2.6.4": version: 2.6.4 resolution: "async@npm:2.6.4" dependencies: @@ -13518,12 +13711,12 @@ __metadata: languageName: node linkType: hard -"autoprefixer@npm:^10.0.1, autoprefixer@npm:^10.2.4, autoprefixer@npm:^10.4.2, autoprefixer@npm:^10.4.7": - version: 10.4.7 - resolution: "autoprefixer@npm:10.4.7" +"autoprefixer@npm:^10.0.1, autoprefixer@npm:^10.2.4, autoprefixer@npm:^10.4.2, autoprefixer@npm:^10.4.8": + version: 10.4.8 + resolution: "autoprefixer@npm:10.4.8" dependencies: - browserslist: ^4.20.3 - caniuse-lite: ^1.0.30001335 + browserslist: ^4.21.3 + caniuse-lite: ^1.0.30001373 fraction.js: ^4.2.0 normalize-range: ^0.1.2 picocolors: ^1.0.0 @@ -13532,7 +13725,7 @@ __metadata: postcss: ^8.1.0 bin: autoprefixer: bin/autoprefixer - checksum: 80efba20a1884598098eb718c625020f3d234a285e562997c17a5f78560b307b0494051b8851b03862e58a78bafc9e4c9c0d1828293e438a22c935834b6d629e + checksum: 4dabc6166053831fbd786df493b07fe553cb68753815c3e9c775c514c8fafb1877c7330150e36a88944ce50196da1c47ff26fcb208a1a84956aa07276cc74f47 languageName: node linkType: hard @@ -13581,7 +13774,7 @@ __metadata: languageName: node linkType: hard -"axe-core@npm:^4.2.0, axe-core@npm:^4.4.1, axe-core@npm:^4.4.2": +"axe-core@npm:^4.2.0, axe-core@npm:^4.4.2, axe-core@npm:^4.4.3": version: 4.4.3 resolution: "axe-core@npm:4.4.3" checksum: 01ed3d23b86f48c595e7a077ca472b35b53e6b76e93996e91d8447f0ab68d7a5318534af6cb5e60ffd575f75ac742570192dc3de7223493bbeee9acaf2f6c520 @@ -13665,6 +13858,23 @@ __metadata: languageName: node linkType: hard +"babel-jest@npm:^28.1.1": + version: 28.1.3 + resolution: "babel-jest@npm:28.1.3" + dependencies: + "@jest/transform": ^28.1.3 + "@types/babel__core": ^7.1.14 + babel-plugin-istanbul: ^6.1.1 + babel-preset-jest: ^28.1.3 + chalk: ^4.0.0 + graceful-fs: ^4.2.9 + slash: ^3.0.0 + peerDependencies: + "@babel/core": ^7.8.0 + checksum: 612a6317c176d2d890d9e7c5fc1379a6b2aca784522c1242db9dbcc6e18f2cdaa793e3d649346d37333576b37953fadd53a415787e32ec0fac8b79c35aaafd11 + languageName: node + linkType: hard + "babel-loader@npm:8.2.5, babel-loader@npm:^7.0.0 || ^8.0.0, babel-loader@npm:^8.2.2, babel-loader@npm:^8.2.3, babel-loader@npm:^8.2.5": version: 8.2.5 resolution: "babel-loader@npm:8.2.5" @@ -13824,7 +14034,19 @@ __metadata: languageName: node linkType: hard -"babel-plugin-macros@npm:^2.6.1, babel-plugin-macros@npm:^2.8.0": +"babel-plugin-jest-hoist@npm:^28.1.3": + version: 28.1.3 + resolution: "babel-plugin-jest-hoist@npm:28.1.3" + dependencies: + "@babel/template": ^7.3.3 + "@babel/types": ^7.3.3 + "@types/babel__core": ^7.1.14 + "@types/babel__traverse": ^7.0.6 + checksum: 4a47f1673bdfcc15b0968d5577119b1abc6eb199a2d627be56c60872fba7b65455cbc7d631896d33e6ec27831bf43600a1d66616d3bc3a37a8784c1596339eeb + languageName: node + linkType: hard + +"babel-plugin-macros@npm:^2.8.0": version: 2.8.0 resolution: "babel-plugin-macros@npm:2.8.0" dependencies: @@ -13888,44 +14110,32 @@ __metadata: languageName: node linkType: hard -"babel-plugin-polyfill-corejs2@npm:^0.3.0, babel-plugin-polyfill-corejs2@npm:^0.3.1": - version: 0.3.1 - resolution: "babel-plugin-polyfill-corejs2@npm:0.3.1" +"babel-plugin-polyfill-corejs2@npm:^0.3.0, babel-plugin-polyfill-corejs2@npm:^0.3.2": + version: 0.3.2 + resolution: "babel-plugin-polyfill-corejs2@npm:0.3.2" dependencies: - "@babel/compat-data": ^7.13.11 - "@babel/helper-define-polyfill-provider": ^0.3.1 + "@babel/compat-data": ^7.17.7 + "@babel/helper-define-polyfill-provider": ^0.3.2 semver: ^6.1.1 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 55b9394c954eed189b43b2c92c8fa1a0f811bcfced63aee741d26e9df8c8f4e18ec278a5353015afb66b47833d2dd2597e5e1c54310774416ebc67ec34ae8410 - languageName: node - linkType: hard - -"babel-plugin-polyfill-corejs3@npm:^0.1.0": - version: 0.1.7 - resolution: "babel-plugin-polyfill-corejs3@npm:0.1.7" - dependencies: - "@babel/helper-define-polyfill-provider": ^0.1.5 - core-js-compat: ^3.8.1 - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: d31c7f0c210994593e2cc57d202ada8539cbbff1a112f52aa3607c8c9ba23b64e03fa52fbdc243dccbce8b8052f29f8d541bc4151e3055738cb03647708c0f42 + checksum: 704c9cefc0c447a8bc6376a51ba81829429cc1a92459ed089b8832829063ccabd64df81e9c10dd369353e345f75a342343ffac0db43a546ad48c2f9751d2916e languageName: node linkType: hard -"babel-plugin-polyfill-corejs3@npm:^0.5.0, babel-plugin-polyfill-corejs3@npm:^0.5.2": - version: 0.5.2 - resolution: "babel-plugin-polyfill-corejs3@npm:0.5.2" +"babel-plugin-polyfill-corejs3@npm:^0.5.0, babel-plugin-polyfill-corejs3@npm:^0.5.3": + version: 0.5.3 + resolution: "babel-plugin-polyfill-corejs3@npm:0.5.3" dependencies: - "@babel/helper-define-polyfill-provider": ^0.3.1 + "@babel/helper-define-polyfill-provider": ^0.3.2 core-js-compat: ^3.21.0 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 4b6c36934e1b80629abcb35a8b2e0749e9f3df5ba911447a1726b30ff6eeb76e5858b83477e844abf33fea25da2220e820a1d7a10035d88f63c98544d1d66723 + checksum: 87f9eb8be5e8e115b930624c8e3e91b5396eca8d563120b0cd03853960addf587fd4cab8776ecf3a59ec94a774f214f2321a96c354a667a62fa2dc5eb122eaa0 languageName: node linkType: hard -"babel-plugin-polyfill-regenerator@npm:^0.3.0, babel-plugin-polyfill-regenerator@npm:^0.3.1": +"babel-plugin-polyfill-regenerator@npm:^0.3.0": version: 0.3.1 resolution: "babel-plugin-polyfill-regenerator@npm:0.3.1" dependencies: @@ -13936,15 +14146,14 @@ __metadata: languageName: node linkType: hard -"babel-plugin-preval@npm:^5.0.0": - version: 5.1.0 - resolution: "babel-plugin-preval@npm:5.1.0" +"babel-plugin-polyfill-regenerator@npm:^0.4.0": + version: 0.4.0 + resolution: "babel-plugin-polyfill-regenerator@npm:0.4.0" dependencies: - "@babel/runtime": ^7.12.5 - "@types/babel__core": ^7.1.12 - babel-plugin-macros: ^3.0.1 - require-from-string: ^2.0.2 - checksum: d40814ca18f24df818a87e71ad8c1dc559cf69c0e44218bb9f5aef24680431a04e4bad8e96dc2679282b50b16a55c9597e37130d6bd5489b3eddab97d020ae5e + "@babel/helper-define-polyfill-provider": ^0.3.2 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: b5a8837e41bf6767c6f68fb37459363c84b54e40e787f8b6461cb32fe13d16b6d6ca380bf2f941e521c48d4be41ec10ee42c9f3cdb9433b8885929d808a598e5 languageName: node linkType: hard @@ -14043,6 +14252,18 @@ __metadata: languageName: node linkType: hard +"babel-preset-jest@npm:^28.1.3": + version: 28.1.3 + resolution: "babel-preset-jest@npm:28.1.3" + dependencies: + babel-plugin-jest-hoist: ^28.1.3 + babel-preset-current-node-syntax: ^1.0.0 + peerDependencies: + "@babel/core": ^7.0.0 + checksum: b30f4102012f9474be4649ea8dba848614ae995418173c5d4a0e606785f03320aea1e8889b5f163f0336c06d5901100b47cd77a45c54fcbf149ff06ad4fa907c + languageName: node + linkType: hard + "babel-preset-react-app@npm:^10.0.1": version: 10.0.1 resolution: "babel-preset-react-app@npm:10.0.1" @@ -14415,14 +14636,14 @@ __metadata: linkType: hard "bonjour-service@npm:^1.0.11": - version: 1.0.13 - resolution: "bonjour-service@npm:1.0.13" + version: 1.0.14 + resolution: "bonjour-service@npm:1.0.14" dependencies: array-flatten: ^2.1.2 dns-equal: ^1.0.0 fast-deep-equal: ^3.1.3 multicast-dns: ^7.2.5 - checksum: 7cf20e24fa233dda79fd637785827cec3f7ea1c4ba4dbecb878e1d50c11c021f411217f0efe0ede74daa9765390222156be07c0e5b9b5945d3c942a3377dba37 + checksum: 1c90164ac8c54eec34d1c19c4167c94d0fec037a781a445dd85bd506ef2afde29e39e57452db767687f2d0921f60ab2576209e706571ed3df3c6ab964a3309b7 languageName: node linkType: hard @@ -15154,17 +15375,17 @@ __metadata: languageName: node linkType: hard -"browserslist@npm:^4.0.0, browserslist@npm:^4.12.0, browserslist@npm:^4.14.5, browserslist@npm:^4.16.3, browserslist@npm:^4.16.6, browserslist@npm:^4.18.1, browserslist@npm:^4.19.1, browserslist@npm:^4.20.2, browserslist@npm:^4.20.3, browserslist@npm:^4.21.0, browserslist@npm:^4.21.2, browserslist@npm:^4.6.6, browserslist@npm:^4.9.1": - version: 4.21.2 - resolution: "browserslist@npm:4.21.2" +"browserslist@npm:^4.0.0, browserslist@npm:^4.12.0, browserslist@npm:^4.14.5, browserslist@npm:^4.16.3, browserslist@npm:^4.16.6, browserslist@npm:^4.18.1, browserslist@npm:^4.19.1, browserslist@npm:^4.20.2, browserslist@npm:^4.20.3, browserslist@npm:^4.21.3, browserslist@npm:^4.6.6, browserslist@npm:^4.9.1": + version: 4.21.3 + resolution: "browserslist@npm:4.21.3" dependencies: - caniuse-lite: ^1.0.30001366 - electron-to-chromium: ^1.4.188 + caniuse-lite: ^1.0.30001370 + electron-to-chromium: ^1.4.202 node-releases: ^2.0.6 - update-browserslist-db: ^1.0.4 + update-browserslist-db: ^1.0.5 bin: browserslist: cli.js - checksum: 216fc277813ef9691b1959d24937d30dd97cbb0a0b5cb2fed1b16f6b2e868a928845636d5775478aa632984213e168d4846327d9b7bc578cddbd12304d9ff3f0 + checksum: 1012070e49470b1e2bfd7b376ba0990a2f01be25ca8a0cc3bc7bd5307ca13f664efc63bbf23f60304777e592c7c931e37ed19df0623a284c5f9d7cf573c26239 languageName: node linkType: hard @@ -15271,7 +15492,7 @@ __metadata: languageName: node linkType: hard -"builtin-modules@npm:^3.0.0, builtin-modules@npm:^3.1.0": +"builtin-modules@npm:^3.1.0, builtin-modules@npm:^3.3.0": version: 3.3.0 resolution: "builtin-modules@npm:3.3.0" checksum: 2cb3448b4f7306dc853632a4fcddc95e8d4e4b9868c139400027b71938fc6806d4ff44007deffb362ac85724bd40c2c6452fb6a0aa4531650eeddb98d8e5ee8a @@ -15285,14 +15506,14 @@ __metadata: languageName: node linkType: hard -"bundle-require@npm:^3.0.2": - version: 3.0.4 - resolution: "bundle-require@npm:3.0.4" +"bundle-require@npm:^3.1.0": + version: 3.1.0 + resolution: "bundle-require@npm:3.1.0" dependencies: load-tsconfig: ^0.2.0 peerDependencies: esbuild: ">=0.13" - checksum: f66f821f61b6fb914524ce5ad8488e16006fc045837bb36fdf6bf4eabaa9bed3dc3a5618f1d4b3a96fe17780046713ac663caebd8b5a170439f9da28a5e0c8a5 + checksum: 6bd8f68caeb191dfa7348d9da75f9599989babf335c67c8dc1a5372c773967c76010bdd8971cae19c6bc807e82a540314cb89abfbe6fa1d9c27e14e093b6d0ec languageName: node linkType: hard @@ -15384,9 +15605,9 @@ __metadata: linkType: hard "cac@npm:^6.7.12": - version: 6.7.12 - resolution: "cac@npm:6.7.12" - checksum: 8e80007301876ca51ceb515722cc6ebb752982b1a70db93f4bacc9cdf9114cefb9e36f1908160ee78795667c629aa6c03bc5c9d80862aa54b63d3554526a07de + version: 6.7.14 + resolution: "cac@npm:6.7.14" + checksum: 4ee06aaa7bab8981f0d54e5f5f9d4adcd64058e9697563ce336d8a3878ed018ee18ebe5359b2430eceae87e0758e62ea2019c3f52ae6e211b1bd2e133856cd10 languageName: node linkType: hard @@ -15440,8 +15661,8 @@ __metadata: linkType: hard "cacache@npm:^16.1.0": - version: 16.1.1 - resolution: "cacache@npm:16.1.1" + version: 16.1.3 + resolution: "cacache@npm:16.1.3" dependencies: "@npmcli/fs": ^2.1.0 "@npmcli/move-file": ^2.0.0 @@ -15460,8 +15681,8 @@ __metadata: rimraf: ^3.0.2 ssri: ^9.0.0 tar: ^6.1.11 - unique-filename: ^1.1.1 - checksum: 8f257699d9bfe41c40340522cb4920ce88b35d07ea7733f92c5e56ead390ae43468035627385a3d6019ad89dd96e8bc3eeca646980290921406ec1fa9199ba7d + unique-filename: ^2.0.0 + checksum: cdf6836e1c457d2a5616abcaf5d8240c0346b1f5bd6fdb8866b9d84b6dff0b54e973226dc11e0d099f35394213d24860d1989c8358d2a41b39eb912b3000e749 languageName: node linkType: hard @@ -15633,18 +15854,6 @@ __metadata: languageName: node linkType: hard -"camelcase-keys@npm:^7.0.0": - version: 7.0.2 - resolution: "camelcase-keys@npm:7.0.2" - dependencies: - camelcase: ^6.3.0 - map-obj: ^4.1.0 - quick-lru: ^5.1.1 - type-fest: ^1.2.1 - checksum: ae86a51168643e9e8a2f2c7bfa17850729979ec3dafc5253056a7d97931cbb0e3ef5b4185e59d54b7a56c54405dee2874b0c82033498d8626e512ff9034cb05c - languageName: node - linkType: hard - "camelcase@npm:^2.0.0": version: 2.1.1 resolution: "camelcase@npm:2.1.1" @@ -15666,7 +15875,7 @@ __metadata: languageName: node linkType: hard -"camelcase@npm:^6.0.0, camelcase@npm:^6.2.0, camelcase@npm:^6.2.1, camelcase@npm:^6.3.0": +"camelcase@npm:^6.0.0, camelcase@npm:^6.2.0, camelcase@npm:^6.2.1": version: 6.3.0 resolution: "camelcase@npm:6.3.0" checksum: 0d701658219bd3116d12da3eab31acddb3f9440790c0792e0d398f0a520a6a4058018e546862b6fba89d7ae990efaeb97da71e1913e9ebf5a8b5621a3d55c710 @@ -15703,10 +15912,10 @@ __metadata: languageName: node linkType: hard -"caniuse-lite@npm:^1.0.0, caniuse-lite@npm:^1.0.30001109, caniuse-lite@npm:^1.0.30001299, caniuse-lite@npm:^1.0.30001332, caniuse-lite@npm:^1.0.30001335, caniuse-lite@npm:^1.0.30001366": - version: 1.0.30001368 - resolution: "caniuse-lite@npm:1.0.30001368" - checksum: 663f4f56eb6d5e52239cfff3b2ffeb1ee28e4789f6f780ce35a03a7c011bf77717a1cdd49c18c8da51c4c21bed6857db5fe0f83ea5d00bff5782ff5ebdd88012 +"caniuse-lite@npm:^1.0.0, caniuse-lite@npm:^1.0.30001109, caniuse-lite@npm:^1.0.30001299, caniuse-lite@npm:^1.0.30001332, caniuse-lite@npm:^1.0.30001370, caniuse-lite@npm:^1.0.30001373": + version: 1.0.30001390 + resolution: "caniuse-lite@npm:1.0.30001390" + checksum: f431c705f3a3d17e594bc11e643b20a924ed8f5a352d55b1be29b7be1dab6da37761d095441878c5f2f07e908ff2239eeec75a3a0b30b6f4393f69277fd32849 languageName: node linkType: hard @@ -16018,7 +16227,7 @@ __metadata: languageName: node linkType: hard -"chownr@npm:^1.1.1, chownr@npm:^1.1.2, chownr@npm:^1.1.3, chownr@npm:^1.1.4": +"chownr@npm:^1.1.1, chownr@npm:^1.1.2, chownr@npm:^1.1.4": version: 1.1.4 resolution: "chownr@npm:1.1.4" checksum: ed57952a84cc0c802af900cf7136de643d3aba2eecb59d29344bc2f3f9bf703a301b9d84cdc71f82c3ffc9ccde831b0d92f5b45f91727d6c9da62f23aef9d9db @@ -16033,15 +16242,16 @@ __metadata: linkType: hard "chromatic@npm:^6.0.2": - version: 6.7.0 - resolution: "chromatic@npm:6.7.0" + version: 6.9.0 + resolution: "chromatic@npm:6.9.0" dependencies: + "@discoveryjs/json-ext": ^0.5.7 "@types/webpack-env": ^1.17.0 bin: chroma: bin/main.cjs chromatic: bin/main.cjs chromatic-cli: bin/main.cjs - checksum: 84be3315fe0949ab56bd6502c7428ec2a7d8633260391538a2dba2b3e614baa832b872640a06b6958d489f5bfa2fbba8c8a1fdd8b43b47842138b7a828314634 + checksum: fcf8d9466d1aca336b83d110dc62f3dccbef3f628fa8e1442a04af3f9593ba0c999bf685d963b2d02968c851e171be5f9b42618130974c3f4adf4284c4eefdfe languageName: node linkType: hard @@ -16209,13 +16419,20 @@ __metadata: languageName: node linkType: hard -"cli-spinners@npm:2.6.1, cli-spinners@npm:^2.0.0, cli-spinners@npm:^2.5.0": +"cli-spinners@npm:2.6.1": version: 2.6.1 resolution: "cli-spinners@npm:2.6.1" checksum: 6abcdfef59aa68e6b51376d87d257f9120a0a7120a39dd21633702d24797decb6dc747dff2217c88732710db892b5053c5c672d221b6c4d13bbcb5372e203596 languageName: node linkType: hard +"cli-spinners@npm:^2.0.0, cli-spinners@npm:^2.5.0": + version: 2.7.0 + resolution: "cli-spinners@npm:2.7.0" + checksum: 5c781ace5c8f304ae4d138837f19cf88f03a97de3c3e388f9d1d6434146f06f6ce2a161d6237b3bb86448a05fbcbb20084f3fea96077e42a655b273e39c6f08d + languageName: node + linkType: hard + "cli-table3@npm:^0.6.1, cli-table3@npm:~0.6.0": version: 0.6.2 resolution: "cli-table3@npm:0.6.2" @@ -16410,9 +16627,9 @@ __metadata: linkType: hard "code-block-writer@npm:^11.0.0": - version: 11.0.2 - resolution: "code-block-writer@npm:11.0.2" - checksum: e0430e442ea36010bedccb69d45bec3d479161811e8e99bf0e635deecd54664bbdb33ac8375871b1b1f7e44d0fdaaf25dcc37c6d3a76847401022ba83567bc7a + version: 11.0.3 + resolution: "code-block-writer@npm:11.0.3" + checksum: 12fe4c02152a2b607e8913b39dcc31dcb5240f7c8933a3335d4e42a5418af409bf7ed454c80d6d8c12f9c59bb685dd88f9467874b46be62236dfbed446d03fd6 languageName: node linkType: hard @@ -16504,9 +16721,9 @@ __metadata: linkType: hard "colord@npm:^2.9.1": - version: 2.9.2 - resolution: "colord@npm:2.9.2" - checksum: ff2de0fa956526abfc6d08ddb5696b09659fac26dc40917e7eed006689cc5181447fad819ccef3b8e73cbe1be056074b1422a2a84831515678022cbc49cc699c + version: 2.9.3 + resolution: "colord@npm:2.9.3" + checksum: 9699e956894d8996b28c686afe8988720785f476f59335c80ce852ded76ab3ebe252703aec53d9bef54f6219aea6b960fb3d9a8300058a1d0c0d4026460cd110 languageName: node linkType: hard @@ -16695,7 +16912,7 @@ __metadata: languageName: node linkType: hard -"component-emitter@npm:^1.2.1, component-emitter@npm:~1.3.0": +"component-emitter@npm:^1.2.1": version: 1.3.0 resolution: "component-emitter@npm:1.3.0" checksum: 68774a0a3754fb6c0ba53c2e88886dfbd0c773931066abb1d7fd1b0c893b2a838d8f088ab4dca1f18cc1a4fc2e6932019eba3ded2d931b5ba2241ce40e93a24f @@ -17107,11 +17324,11 @@ __metadata: linkType: hard "copy-to-clipboard@npm:^3.3.1": - version: 3.3.1 - resolution: "copy-to-clipboard@npm:3.3.1" + version: 3.3.2 + resolution: "copy-to-clipboard@npm:3.3.2" dependencies: toggle-selection: ^1.0.6 - checksum: cc38a2a07ec22b1b60c6bd1648a21178fade4d972b43e4c2570f36f8df59ca2b7e9f8a6125d271cf2927367d3ec4012c92deaf244c12cd79509244d5c7f0f4dd + checksum: 295b987e47d3e89a421db4a6060276167bee0f14245e0e447613c060a9af806610a2958a0b9bc4512c7329a1d38fb4baf903979b443c63b03d2bc9968ce66ab6 languageName: node linkType: hard @@ -17147,20 +17364,20 @@ __metadata: languageName: node linkType: hard -"core-js-compat@npm:^3.20.2, core-js-compat@npm:^3.21.0, core-js-compat@npm:^3.22.1, core-js-compat@npm:^3.8.1, core-js-compat@npm:^3.8.3": - version: 3.23.5 - resolution: "core-js-compat@npm:3.23.5" +"core-js-compat@npm:^3.20.2, core-js-compat@npm:^3.21.0, core-js-compat@npm:^3.22.1, core-js-compat@npm:^3.8.3": + version: 3.25.0 + resolution: "core-js-compat@npm:3.25.0" dependencies: - browserslist: ^4.21.2 + browserslist: ^4.21.3 semver: 7.0.0 - checksum: 43755c1363135b850c6c35ef8f7d49edf276dd4fea36ec3855d2ef4e356b950d2349a6382288d20db00fa84ec063bdf52e70c638c0522d46a5478cd1e4c88265 + checksum: 09aa99d4007fcf689b22d67d25049661db0051dea319d045b7b4c740f6a0fdee585428036078185861947b3e7fa71f1a5d09134532e461c43275fd8af297cd12 languageName: node linkType: hard -"core-js-pure@npm:^3.20.2, core-js-pure@npm:^3.8.1, core-js-pure@npm:^3.8.2": - version: 3.23.5 - resolution: "core-js-pure@npm:3.23.5" - checksum: c63d48ba02dcb334846c34e7defa2f1472e4d67a455dcc4b574db096a6e19f8bceb79fe78ba8fe85a608516f90a8f72d572cf0131b2e2661af6d186ad84c5921 +"core-js-pure@npm:^3.20.2, core-js-pure@npm:^3.8.1": + version: 3.25.0 + resolution: "core-js-pure@npm:3.25.0" + checksum: 987639f66d06ca514fa33a0691231d31bf834dd4521c659be20dea7d4c23edb4b4e5305d78f3b45c3221c3041ea770e80f14cfddde191e4bc5ef18a87cae90a0 languageName: node linkType: hard @@ -17178,10 +17395,10 @@ __metadata: languageName: node linkType: hard -"core-js@npm:^3.0.4, core-js@npm:^3.19.2, core-js@npm:^3.21.1, core-js@npm:^3.6.5, core-js@npm:^3.8.2, core-js@npm:^3.8.3": - version: 3.23.5 - resolution: "core-js@npm:3.23.5" - checksum: ab9b483ede285b3949e2411f9190d147ac589d111b0aa3a4b2999a1bf2755b3e930529c2a22ff550efd4fc154c7cfae700bee858dedff905a09f35ddbcc6425f +"core-js@npm:^3.0.4, core-js@npm:^3.19.2, core-js@npm:^3.6.5, core-js@npm:^3.8.2, core-js@npm:^3.8.3": + version: 3.25.0 + resolution: "core-js@npm:3.25.0" + checksum: 471c2706eaca7aca8c9021fdc714f818c27dc9a1d8e429dbad9f4e8e41884f74d32f2862951044c7b531d99c9b4cf32829790a478ffe21bcac9100afb3222096 languageName: node linkType: hard @@ -17225,18 +17442,6 @@ __metadata: languageName: node linkType: hard -"cosmiconfig@npm:^4.0.0": - version: 4.0.0 - resolution: "cosmiconfig@npm:4.0.0" - dependencies: - is-directory: ^0.3.1 - js-yaml: ^3.9.0 - parse-json: ^4.0.0 - require-from-string: ^2.0.1 - checksum: e4596d290d9690ca5123677f153a57279441bf74f148e303fc33b137553b65defc96c0ffa5d762f79a870fa6c4b3be32245d038e20bf881d3de0c50653a931da - languageName: node - linkType: hard - "cosmiconfig@npm:^5.1.0": version: 5.2.1 resolution: "cosmiconfig@npm:5.2.1" @@ -17280,28 +17485,28 @@ __metadata: resolution: "cra-kitchen-sink@workspace:examples/cra-kitchen-sink" dependencies: "@pmmmwh/react-refresh-webpack-plugin": ^0.5.5 - "@storybook/addon-a11y": 7.0.0-alpha.20 - "@storybook/addon-actions": 7.0.0-alpha.20 - "@storybook/addon-backgrounds": 7.0.0-alpha.20 - "@storybook/addon-docs": 7.0.0-alpha.20 - "@storybook/addon-highlight": 7.0.0-alpha.20 - "@storybook/addon-jest": 7.0.0-alpha.20 - "@storybook/addon-links": 7.0.0-alpha.20 - "@storybook/addon-storyshots": 7.0.0-alpha.20 - "@storybook/addons": 7.0.0-alpha.20 - "@storybook/builder-webpack5": 7.0.0-alpha.20 - "@storybook/client-logger": 7.0.0-alpha.20 + "@storybook/addon-a11y": 7.0.0-alpha.31 + "@storybook/addon-actions": 7.0.0-alpha.31 + "@storybook/addon-backgrounds": 7.0.0-alpha.31 + "@storybook/addon-docs": 7.0.0-alpha.31 + "@storybook/addon-highlight": 7.0.0-alpha.31 + "@storybook/addon-jest": 7.0.0-alpha.31 + "@storybook/addon-links": 7.0.0-alpha.31 + "@storybook/addon-storyshots": 7.0.0-alpha.31 + "@storybook/addons": 7.0.0-alpha.31 + "@storybook/builder-webpack5": 7.0.0-alpha.31 + "@storybook/client-logger": 7.0.0-alpha.31 "@storybook/preset-create-react-app": ^4.1.0 - "@storybook/react": 7.0.0-alpha.20 - "@storybook/react-webpack5": 7.0.0-alpha.20 - "@storybook/theming": 7.0.0-alpha.20 + "@storybook/react": 7.0.0-alpha.31 + "@storybook/react-webpack5": 7.0.0-alpha.31 + "@storybook/theming": 7.0.0-alpha.31 global: ^4.4.0 prop-types: ^15.7.2 react: 16.14.0 react-dom: 16.14.0 react-lifecycles-compat: ^3.0.4 react-scripts: ^5.0.1 - storybook: 7.0.0-alpha.20 + storybook: 7.0.0-alpha.31 webpack: 5 languageName: unknown linkType: soft @@ -17310,15 +17515,16 @@ __metadata: version: 0.0.0-use.local resolution: "cra-ts-essentials@workspace:examples/cra-ts-essentials" dependencies: - "@storybook/addon-essentials": 7.0.0-alpha.20 - "@storybook/addons": 7.0.0-alpha.20 - "@storybook/builder-webpack5": 7.0.0-alpha.20 - "@storybook/components": 7.0.0-alpha.20 + "@storybook/addon-essentials": 7.0.0-alpha.31 + "@storybook/addon-interactions": 7.0.0-alpha.31 + "@storybook/addons": 7.0.0-alpha.31 + "@storybook/builder-webpack5": 7.0.0-alpha.31 + "@storybook/components": 7.0.0-alpha.31 "@storybook/preset-create-react-app": ^4.1.0 - "@storybook/react": 7.0.0-alpha.20 - "@storybook/react-webpack5": 7.0.0-alpha.20 + "@storybook/react": 7.0.0-alpha.31 + "@storybook/react-webpack5": 7.0.0-alpha.31 "@storybook/testing-library": ^0.0.9 - "@storybook/theming": 7.0.0-alpha.20 + "@storybook/theming": 7.0.0-alpha.31 "@types/jest": ^26.0.16 "@types/node": ^14.14.20 || ^16.0.0 "@types/react": ^16.14.23 @@ -17328,7 +17534,7 @@ __metadata: react: 16.14.0 react-dom: 16.14.0 react-scripts: ^5.0.1 - storybook: 7.0.0-alpha.20 + storybook: 7.0.0-alpha.31 ts-node: ^10.4.0 typescript: ~4.6.3 webpack: 5 @@ -17339,16 +17545,16 @@ __metadata: version: 0.0.0-use.local resolution: "cra-ts-kitchen-sink@workspace:examples/cra-ts-kitchen-sink" dependencies: - "@storybook/addon-a11y": 7.0.0-alpha.20 - "@storybook/addon-actions": 7.0.0-alpha.20 - "@storybook/addon-docs": 7.0.0-alpha.20 - "@storybook/addon-highlight": 7.0.0-alpha.20 - "@storybook/addon-links": 7.0.0-alpha.20 - "@storybook/addons": 7.0.0-alpha.20 - "@storybook/builder-webpack5": 7.0.0-alpha.20 + "@storybook/addon-a11y": 7.0.0-alpha.31 + "@storybook/addon-actions": 7.0.0-alpha.31 + "@storybook/addon-docs": 7.0.0-alpha.31 + "@storybook/addon-highlight": 7.0.0-alpha.31 + "@storybook/addon-links": 7.0.0-alpha.31 + "@storybook/addons": 7.0.0-alpha.31 + "@storybook/builder-webpack5": 7.0.0-alpha.31 "@storybook/preset-create-react-app": ^4.1.0 - "@storybook/react": 7.0.0-alpha.20 - "@storybook/react-webpack5": 7.0.0-alpha.20 + "@storybook/react": 7.0.0-alpha.31 + "@storybook/react-webpack5": 7.0.0-alpha.31 "@types/enzyme": ^3.10.8 "@types/jest": 25.2.3 "@types/node": ^14.14.20 || ^16.0.0 @@ -17363,7 +17569,7 @@ __metadata: react-dom: 16.14.0 react-moment-proptypes: ^1.7.0 react-scripts: ^5.0.1 - storybook: 7.0.0-alpha.20 + storybook: 7.0.0-alpha.31 ts-node: ^10.4.0 typescript: ~4.6.3 webpack: 5 @@ -17414,7 +17620,7 @@ __metadata: languageName: node linkType: hard -"cross-spawn@npm:^6.0.0, cross-spawn@npm:^6.0.5": +"cross-spawn@npm:^6.0.0": version: 6.0.5 resolution: "cross-spawn@npm:6.0.5" dependencies: @@ -17482,11 +17688,11 @@ __metadata: linkType: hard "css-declaration-sorter@npm:^6.3.0": - version: 6.3.0 - resolution: "css-declaration-sorter@npm:6.3.0" + version: 6.3.1 + resolution: "css-declaration-sorter@npm:6.3.1" peerDependencies: postcss: ^8.0.9 - checksum: 57dfcccd44955a098412b354c749e5544cecca94d640f835752fde7b0b6bf7fa2ba14cd31dbf3afb7e5c5590ff315b67df434ec3bc70c2cf6286db15f578de45 + checksum: fc9aa675736eb1c8fc20fd9b8b6abb483c0344a6f1c659d1a9292596bbfe26150a8745a6da23bfa82b0c8a979b6a9ba5d235da0663873f39da1ca42b06caa5c9 languageName: node linkType: hard @@ -17725,10 +17931,10 @@ __metadata: languageName: node linkType: hard -"cssdb@npm:^6.6.3": - version: 6.6.3 - resolution: "cssdb@npm:6.6.3" - checksum: a8bd55c609f1c08c2d69c11e846d054f700557bbfcf6a4dc5676a7ff4d7f32c719aa3b6197533ba3af47168109d4de95619299655a0565cc3b439d1bfb770949 +"cssdb@npm:^7.0.1": + version: 7.0.1 + resolution: "cssdb@npm:7.0.1" + checksum: f01b20bc2fbd23b79a88661602b0023186b242920c2fa87fdee4a934b783fde378a75b466bf0ec9503dab90deacdab2870802f88046f510221024debd5fb3377 languageName: node linkType: hard @@ -17790,15 +17996,15 @@ __metadata: linkType: hard "cssnano@npm:^5.0.0, cssnano@npm:^5.0.6": - version: 5.1.12 - resolution: "cssnano@npm:5.1.12" + version: 5.1.13 + resolution: "cssnano@npm:5.1.13" dependencies: cssnano-preset-default: ^5.2.12 lilconfig: ^2.0.3 yaml: ^1.10.2 peerDependencies: postcss: ^8.2.15 - checksum: fb1acb2b914d2d5f02fe1f79e3d13cea9424e4409490e402a113775fe42ec0f8d75f69bcd51340633801dc2688173663ccafa0f2e9dafbb65d3ac350da962c75 + checksum: 69f9649365040b174f7c8ac87e3a9fd939c689288dcb02b5cfa130f1f895d0741ee41462d351132952df2d5395754979b28759e1a38c4691680cf4039a4efe8e languageName: node linkType: hard @@ -18083,9 +18289,9 @@ __metadata: linkType: hard "date-fns@npm:^2.0.1": - version: 2.28.0 - resolution: "date-fns@npm:2.28.0" - checksum: ecdacd36326e7f5f8c4f1e78ae931a8997109f1c841f5163053b866585ca899521b0e7a114eeb48a9fe5135a550787bd4bbd8baa321cded0b4d823f847889a80 + version: 2.29.2 + resolution: "date-fns@npm:2.29.2" + checksum: 731880219eb69f53ab8bdaf6b77eb6ac7e26478319d5e08d0d1bc663e8addc7ddabce8050fd385a735d448c48224789442d31d18313060f5d9a77db80132f935 languageName: node linkType: hard @@ -18104,9 +18310,9 @@ __metadata: linkType: hard "dayjs@npm:^1.10.4": - version: 1.11.4 - resolution: "dayjs@npm:1.11.4" - checksum: 60331f315fb2cfb36b4593b2a205023482db104758912b60593ca911f6ba7990f06215d65f168607ebec264b4ba3571e465d3d2893ad02a9f5573adb63525a32 + version: 1.11.5 + resolution: "dayjs@npm:1.11.5" + checksum: 1d719b3c821254cbcee93879030c581dee41249ba9b825119881a941656bb885554b03094e2265c2f646945a4e23c3f05a6af5b4ff4d5a51c3e0e962669ee94b languageName: node linkType: hard @@ -18159,7 +18365,7 @@ __metadata: languageName: node linkType: hard -"debug@npm:^3.0.1, debug@npm:^3.1.0, debug@npm:^3.1.1, debug@npm:^3.2.6, debug@npm:^3.2.7": +"debug@npm:^3.0.1, debug@npm:^3.1.0, debug@npm:^3.2.6, debug@npm:^3.2.7": version: 3.2.7 resolution: "debug@npm:3.2.7" dependencies: @@ -18201,17 +18407,10 @@ __metadata: languageName: node linkType: hard -"decamelize@npm:^5.0.0": - version: 5.0.1 - resolution: "decamelize@npm:5.0.1" - checksum: 3da71022bc1e85487810fa0833138effb599fa331ca21e179650e93a765d0c4dabeb1ecdd6ad1474fa0bacd2457953c63ea335afb6e53b35f2b4bf779514e2a3 - languageName: node - linkType: hard - "decimal.js@npm:^10.2.1, decimal.js@npm:^10.3.1": - version: 10.3.1 - resolution: "decimal.js@npm:10.3.1" - checksum: 510964a02a4102eb55173bf3f4f853f8d9184ab3f660b28163d4aab45f2f41ebfde6f71806afef7be59da10d6488db75613b6f4cbbda49d6ba198ad7b56e81cf + version: 10.4.0 + resolution: "decimal.js@npm:10.4.0" + checksum: 36c8700cf177e84e7c4093a1b607dd703381890e4829845977d1b2fb32db3533c65a3c43ae2a7514c45451e1d8b7a2aeb59a2793ddff3b3b130840a702f22aed languageName: node linkType: hard @@ -18481,19 +18680,6 @@ __metadata: languageName: node linkType: hard -"del-cli@npm:^4.0.1": - version: 4.0.1 - resolution: "del-cli@npm:4.0.1" - dependencies: - del: ^6.0.0 - meow: ^10.1.0 - bin: - del: cli.js - del-cli: cli.js - checksum: 01d314de214e7d96159f99d385186d90a71e0494a9262d98b8da15d144a22b894e0fae4d99d7c707cf3a50990f0513263c0e5b5b72ce5ad92f1ab1c7140e0f70 - languageName: node - linkType: hard - "del@npm:^2.2.0": version: 2.2.2 resolution: "del@npm:2.2.2" @@ -18765,6 +18951,13 @@ __metadata: languageName: node linkType: hard +"diff-sequences@npm:^29.0.0": + version: 29.0.0 + resolution: "diff-sequences@npm:29.0.0" + checksum: 345f899af91ef981c4b02adb1d41ed001eb74743120ffdb751c942b39e8cbf37ece60d7c120977ef7ce48538d60f5a63b17e7d13e6797e4c5dcd91d2fe5cd215 + languageName: node + linkType: hard + "diff@npm:^4.0.1, diff@npm:^4.0.2": version: 4.0.2 resolution: "diff@npm:4.0.2" @@ -19012,7 +19205,7 @@ __metadata: languageName: node linkType: hard -"dommatrix@npm:^1.0.1": +"dommatrix@npm:^1.0.3": version: 1.0.3 resolution: "dommatrix@npm:1.0.3" checksum: 498e630888ba138c1d140cbb25ca8dbd9ed747486aa0693dcc7a8318f910e4791d6b0fa4ef4c383c419b72e119fa2c26d9ee15a3c7b0e8088979cf02092e2a18 @@ -19020,9 +19213,9 @@ __metadata: linkType: hard "dompurify@npm:^2.2.6": - version: 2.3.10 - resolution: "dompurify@npm:2.3.10" - checksum: 602b9e23b2653c0757b9ed862ec5523df6211f5a97b47bbc7ea243c0945fa9637fe3b07b7d7a950b70471259b6aae3f50c1707f3418b29ec98f2dc8b946df6dc + version: 2.4.0 + resolution: "dompurify@npm:2.4.0" + checksum: b091e8f1a5106a7bcfc9947ea654a91e1c7fc28c9264578c0ccca3527d62f4ec9b6df8cfd91b3c21696d5182950a37b1b79e3c5d669256c7730107cb6d9c64f1 languageName: node linkType: hard @@ -19102,13 +19295,6 @@ __metadata: languageName: node linkType: hard -"dotenv@npm:8.2.0": - version: 8.2.0 - resolution: "dotenv@npm:8.2.0" - checksum: b6a07a2c400b13ad4e59c34e4682256e6bb846469781a3963b36861ee608ed312e6125c4a7635a9edcf957bb294a6966e218f0e26b82ff0bda9184211d4bc141 - languageName: node - linkType: hard - "dotenv@npm:^10.0.0, dotenv@npm:~10.0.0": version: 10.0.0 resolution: "dotenv@npm:10.0.0" @@ -19150,8 +19336,8 @@ __metadata: linkType: hard "downshift@npm:^6.0.15": - version: 6.1.7 - resolution: "downshift@npm:6.1.7" + version: 6.1.9 + resolution: "downshift@npm:6.1.9" dependencies: "@babel/runtime": ^7.14.8 compute-scroll-into-view: ^1.0.17 @@ -19160,7 +19346,7 @@ __metadata: tslib: ^2.3.0 peerDependencies: react: ">=16.12.0" - checksum: d1c3c0071c5916c696db90987cf9c6b685aa5964a3c3cd4f9d3b6ade5007779066b5e81af2e05d1d6c4c3806f13df7e2fac5423a096ffcc0640e96e43f7e3f34 + checksum: 49de4337054971d8ec1c7fc9643dd298f2eb3ead5ed032563c09cc6b0ee0fe0c84e94020c52e4bf1795bc5cb81bce1ca481cbb715fb8ad7bcbf0105bd6dd9edc languageName: node linkType: hard @@ -19175,14 +19361,14 @@ __metadata: linkType: hard "dts-bundle-generator@npm:^6.2.0": - version: 6.12.0 - resolution: "dts-bundle-generator@npm:6.12.0" + version: 6.13.0 + resolution: "dts-bundle-generator@npm:6.13.0" dependencies: typescript: ">=3.0.1" yargs: ^17.2.1 bin: dts-bundle-generator: dist/bin/dts-bundle-generator.js - checksum: 5eb97bc7b3d4aa3979641adb131371fca767dc57bcaa0296f1505ef263e31ed47d4d3e25fcb89fbb570152116314d1f5d4a9ad0f1b1b1d5ce9b91a216223f28e + checksum: 10dad909da40fb81db6caf131a0ea1b354d76f78feeb68eaacdf3a6897d02f8bbfb5215fadc5386fcc982ce63d2d4b66252b73d4f4b652a1039ec3b1c7562147 languageName: node linkType: hard @@ -19311,7 +19497,7 @@ __metadata: languageName: node linkType: hard -"ejs@npm:^3.1.5, ejs@npm:^3.1.6, ejs@npm:^3.1.7, ejs@npm:^3.1.8": +"ejs@npm:^3.1.6, ejs@npm:^3.1.7, ejs@npm:^3.1.8": version: 3.1.8 resolution: "ejs@npm:3.1.8" dependencies: @@ -19322,10 +19508,10 @@ __metadata: languageName: node linkType: hard -"electron-to-chromium@npm:^1.4.188": - version: 1.4.196 - resolution: "electron-to-chromium@npm:1.4.196" - checksum: e4443dfe719090d04fb182a7380aeb4a872cddd21360220d97e3b2ca40c05cfcf3fea92d513d70bb493b4c6f57c1afe8714ad56b11a18268bfd0f2648136054e +"electron-to-chromium@npm:^1.4.202": + version: 1.4.243 + resolution: "electron-to-chromium@npm:1.4.243" + checksum: 4f3daad145f56998717e29129d89f6f50ee4170245ca7ae34a31c30258699084f5970fb905ac83a04a5b9418394f38c330921fac33c648067d31cd3e6d1b7da2 languageName: node linkType: hard @@ -19706,19 +19892,19 @@ __metadata: dependencies: "@babel/core": ^7.12.10 "@ember/optional-features": ^2.0.0 - "@storybook/addon-a11y": 7.0.0-alpha.20 - "@storybook/addon-actions": 7.0.0-alpha.20 - "@storybook/addon-backgrounds": 7.0.0-alpha.20 - "@storybook/addon-controls": 7.0.0-alpha.20 - "@storybook/addon-docs": 7.0.0-alpha.20 - "@storybook/addon-highlight": 7.0.0-alpha.20 - "@storybook/addon-links": 7.0.0-alpha.20 - "@storybook/addon-storysource": 7.0.0-alpha.20 - "@storybook/addon-viewport": 7.0.0-alpha.20 - "@storybook/addons": 7.0.0-alpha.20 - "@storybook/ember": 7.0.0-alpha.20 + "@storybook/addon-a11y": 7.0.0-alpha.31 + "@storybook/addon-actions": 7.0.0-alpha.31 + "@storybook/addon-backgrounds": 7.0.0-alpha.31 + "@storybook/addon-controls": 7.0.0-alpha.31 + "@storybook/addon-docs": 7.0.0-alpha.31 + "@storybook/addon-highlight": 7.0.0-alpha.31 + "@storybook/addon-links": 7.0.0-alpha.31 + "@storybook/addon-storysource": 7.0.0-alpha.31 + "@storybook/addon-viewport": 7.0.0-alpha.31 + "@storybook/addons": 7.0.0-alpha.31 + "@storybook/ember": 7.0.0-alpha.31 "@storybook/ember-cli-storybook": ^0.2.1 - "@storybook/source-loader": 7.0.0-alpha.20 + "@storybook/source-loader": 7.0.0-alpha.31 babel-loader: ^8.2.5 broccoli-asset-rev: ^3.0.0 browserify-zlib: ^0.2.0 @@ -19740,7 +19926,7 @@ __metadata: loader.js: ^4.7.0 os-browserify: ^0.3.0 shx: ^0.3.2 - storybook: 7.0.0-alpha.20 + storybook: 7.0.0-alpha.31 stream-browserify: ^3.0.0 vm-browserify: ^1.1.2 webpack: 5 @@ -19976,7 +20162,7 @@ __metadata: languageName: node linkType: hard -"enhanced-resolve@npm:^5.0.0, enhanced-resolve@npm:^5.7.0, enhanced-resolve@npm:^5.9.3": +"enhanced-resolve@npm:^5.0.0, enhanced-resolve@npm:^5.10.0, enhanced-resolve@npm:^5.7.0": version: 5.10.0 resolution: "enhanced-resolve@npm:5.10.0" dependencies: @@ -20023,10 +20209,10 @@ __metadata: languageName: node linkType: hard -"entities@npm:^4.2.0, entities@npm:^4.3.0": - version: 4.3.1 - resolution: "entities@npm:4.3.1" - checksum: 48401fa6f63e0dddce9f78bf9989d2ae2314564a86406d5176e5bd8912b0dc210b785e81125bd61ed5763e2f39940d530ebe6857ab577604f30c9a29ededca59 +"entities@npm:^4.2.0, entities@npm:^4.3.0, entities@npm:^4.4.0": + version: 4.4.0 + resolution: "entities@npm:4.4.0" + checksum: b7971419897622d3996bbbff99249e166caaaf3ea95d3841d6dc5d3bf315f133b649fbe932623e3cc527d871112e7563a8284e24f23e472126aa90c4e9c3215b languageName: node linkType: hard @@ -20236,14 +20422,14 @@ __metadata: linkType: hard "es-abstract@npm:^1.17.2, es-abstract@npm:^1.19.0, es-abstract@npm:^1.19.1, es-abstract@npm:^1.19.2, es-abstract@npm:^1.19.4, es-abstract@npm:^1.19.5, es-abstract@npm:^1.20.0, es-abstract@npm:^1.20.1": - version: 1.20.1 - resolution: "es-abstract@npm:1.20.1" + version: 1.20.2 + resolution: "es-abstract@npm:1.20.2" dependencies: call-bind: ^1.0.2 es-to-primitive: ^1.2.1 function-bind: ^1.1.1 function.prototype.name: ^1.1.5 - get-intrinsic: ^1.1.1 + get-intrinsic: ^1.1.2 get-symbol-description: ^1.0.0 has: ^1.0.3 has-property-descriptors: ^1.0.0 @@ -20255,14 +20441,14 @@ __metadata: is-shared-array-buffer: ^1.0.2 is-string: ^1.0.7 is-weakref: ^1.0.2 - object-inspect: ^1.12.0 + object-inspect: ^1.12.2 object-keys: ^1.1.1 - object.assign: ^4.1.2 + object.assign: ^4.1.4 regexp.prototype.flags: ^1.4.3 string.prototype.trimend: ^1.0.5 string.prototype.trimstart: ^1.0.5 unbox-primitive: ^1.0.2 - checksum: 1598f86d4e778032ef2be6ca573202689e08f8262121aff7fdb54682d9170465d49a10197db0704d4b71249ab95a1804f1666a19ac839f271c120d4662889060 + checksum: 86c68bbbb286a5d6bd4a9fdf04f4a9e664c84cd51e4b91d35ec8bfe674e5b34c3fbc6c7ac231a13ae24c82cac63405ca43162c7be7161bf339a9055830830374 languageName: node linkType: hard @@ -20273,7 +20459,7 @@ __metadata: languageName: node linkType: hard -"es-module-lexer@npm:^0.9.0": +"es-module-lexer@npm:^0.9.0, es-module-lexer@npm:^0.9.3": version: 0.9.3 resolution: "es-module-lexer@npm:0.9.3" checksum: be77d73aee709fdc68d22b9938da81dfee3bc45e8d601629258643fe5bfdab253d6e2540035e035cfa8cf52a96366c1c19b46bcc23b4507b1d44e5907d2e7f6c @@ -20300,18 +20486,18 @@ __metadata: languageName: node linkType: hard -"es5-ext@npm:^0.10.35, es5-ext@npm:^0.10.50, es5-ext@npm:~0.10.14": - version: 0.10.61 - resolution: "es5-ext@npm:0.10.61" +"es5-ext@npm:^0.10.35, es5-ext@npm:^0.10.50, es5-ext@npm:^0.10.62, es5-ext@npm:~0.10.14": + version: 0.10.62 + resolution: "es5-ext@npm:0.10.62" dependencies: es6-iterator: ^2.0.3 es6-symbol: ^3.1.3 next-tick: ^1.1.0 - checksum: fceee484bbf3d7b064b8b3b9ad9095fa64e8736de322f8b48abd162f215bdd503390a3bb8c3cdeebae619825111f7eff83e1e4400fe232733da027ade8e1823e + checksum: 72dfbec5e4bce24754be9f2c2a1c67c01de3fe000103c115f52891f6a51f44a59674c40a1f6bd2390fcd43987746dccb76efafea91c7bb6295bdca8d63ba3db4 languageName: node linkType: hard -"es6-iterator@npm:^2.0.3, es6-iterator@npm:~2.0.1": +"es6-iterator@npm:^2.0.3, es6-iterator@npm:~2.0.1, es6-iterator@npm:~2.0.3": version: 2.0.3 resolution: "es6-iterator@npm:2.0.3" dependencies: @@ -20360,25 +20546,16 @@ __metadata: linkType: hard "es6-set@npm:^0.1.5, es6-set@npm:~0.1.5": - version: 0.1.5 - resolution: "es6-set@npm:0.1.5" - dependencies: - d: 1 - es5-ext: ~0.10.14 - es6-iterator: ~2.0.1 - es6-symbol: 3.1.1 - event-emitter: ~0.3.5 - checksum: a1fe925f77bd529b7b5135ca1a8bc9ff378fa0e3fd9686f3ac1b8e87eb00fbffc100e81a3c44262cd324cbfcc772d7a75ca5471e3fb24247ac85c5beb6af0d14 - languageName: node - linkType: hard - -"es6-symbol@npm:3.1.1": - version: 3.1.1 - resolution: "es6-symbol@npm:3.1.1" + version: 0.1.6 + resolution: "es6-set@npm:0.1.6" dependencies: - d: 1 - es5-ext: ~0.10.14 - checksum: eb4ec788a99dc2c04e5e9abd90f478991425a881eced99a7165eada0c832bfc9a8fbb76b688c3c3b6e103f94d23e8e19addf9cf18abb537fb918d066d5ce1d7f + d: ^1.0.1 + es5-ext: ^0.10.62 + es6-iterator: ~2.0.3 + es6-symbol: ^3.1.3 + event-emitter: ^0.3.5 + type: ^2.7.2 + checksum: 50416775e45350b5c55b35aeb18dc25e6c2017af0ec056336b8e9e7c57e73d8342df398557909e815c523779628c842fbf1b0126c4483a9fbf42b0414358866a languageName: node linkType: hard @@ -20392,109 +20569,109 @@ __metadata: languageName: node linkType: hard -"esbuild-android-64@npm:0.14.49": - version: 0.14.49 - resolution: "esbuild-android-64@npm:0.14.49" +"esbuild-android-64@npm:0.14.54": + version: 0.14.54 + resolution: "esbuild-android-64@npm:0.14.54" conditions: os=android & cpu=x64 languageName: node linkType: hard -"esbuild-android-arm64@npm:0.14.49": - version: 0.14.49 - resolution: "esbuild-android-arm64@npm:0.14.49" +"esbuild-android-arm64@npm:0.14.54": + version: 0.14.54 + resolution: "esbuild-android-arm64@npm:0.14.54" conditions: os=android & cpu=arm64 languageName: node linkType: hard -"esbuild-darwin-64@npm:0.14.49": - version: 0.14.49 - resolution: "esbuild-darwin-64@npm:0.14.49" +"esbuild-darwin-64@npm:0.14.54": + version: 0.14.54 + resolution: "esbuild-darwin-64@npm:0.14.54" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"esbuild-darwin-arm64@npm:0.14.49": - version: 0.14.49 - resolution: "esbuild-darwin-arm64@npm:0.14.49" +"esbuild-darwin-arm64@npm:0.14.54": + version: 0.14.54 + resolution: "esbuild-darwin-arm64@npm:0.14.54" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"esbuild-freebsd-64@npm:0.14.49": - version: 0.14.49 - resolution: "esbuild-freebsd-64@npm:0.14.49" +"esbuild-freebsd-64@npm:0.14.54": + version: 0.14.54 + resolution: "esbuild-freebsd-64@npm:0.14.54" conditions: os=freebsd & cpu=x64 languageName: node linkType: hard -"esbuild-freebsd-arm64@npm:0.14.49": - version: 0.14.49 - resolution: "esbuild-freebsd-arm64@npm:0.14.49" +"esbuild-freebsd-arm64@npm:0.14.54": + version: 0.14.54 + resolution: "esbuild-freebsd-arm64@npm:0.14.54" conditions: os=freebsd & cpu=arm64 languageName: node linkType: hard -"esbuild-linux-32@npm:0.14.49": - version: 0.14.49 - resolution: "esbuild-linux-32@npm:0.14.49" +"esbuild-linux-32@npm:0.14.54": + version: 0.14.54 + resolution: "esbuild-linux-32@npm:0.14.54" conditions: os=linux & cpu=ia32 languageName: node linkType: hard -"esbuild-linux-64@npm:0.14.49": - version: 0.14.49 - resolution: "esbuild-linux-64@npm:0.14.49" +"esbuild-linux-64@npm:0.14.54": + version: 0.14.54 + resolution: "esbuild-linux-64@npm:0.14.54" conditions: os=linux & cpu=x64 languageName: node linkType: hard -"esbuild-linux-arm64@npm:0.14.49": - version: 0.14.49 - resolution: "esbuild-linux-arm64@npm:0.14.49" +"esbuild-linux-arm64@npm:0.14.54": + version: 0.14.54 + resolution: "esbuild-linux-arm64@npm:0.14.54" conditions: os=linux & cpu=arm64 languageName: node linkType: hard -"esbuild-linux-arm@npm:0.14.49": - version: 0.14.49 - resolution: "esbuild-linux-arm@npm:0.14.49" +"esbuild-linux-arm@npm:0.14.54": + version: 0.14.54 + resolution: "esbuild-linux-arm@npm:0.14.54" conditions: os=linux & cpu=arm languageName: node linkType: hard -"esbuild-linux-mips64le@npm:0.14.49": - version: 0.14.49 - resolution: "esbuild-linux-mips64le@npm:0.14.49" +"esbuild-linux-mips64le@npm:0.14.54": + version: 0.14.54 + resolution: "esbuild-linux-mips64le@npm:0.14.54" conditions: os=linux & cpu=mips64el languageName: node linkType: hard -"esbuild-linux-ppc64le@npm:0.14.49": - version: 0.14.49 - resolution: "esbuild-linux-ppc64le@npm:0.14.49" +"esbuild-linux-ppc64le@npm:0.14.54": + version: 0.14.54 + resolution: "esbuild-linux-ppc64le@npm:0.14.54" conditions: os=linux & cpu=ppc64 languageName: node linkType: hard -"esbuild-linux-riscv64@npm:0.14.49": - version: 0.14.49 - resolution: "esbuild-linux-riscv64@npm:0.14.49" +"esbuild-linux-riscv64@npm:0.14.54": + version: 0.14.54 + resolution: "esbuild-linux-riscv64@npm:0.14.54" conditions: os=linux & cpu=riscv64 languageName: node linkType: hard -"esbuild-linux-s390x@npm:0.14.49": - version: 0.14.49 - resolution: "esbuild-linux-s390x@npm:0.14.49" +"esbuild-linux-s390x@npm:0.14.54": + version: 0.14.54 + resolution: "esbuild-linux-s390x@npm:0.14.54" conditions: os=linux & cpu=s390x languageName: node linkType: hard "esbuild-loader@npm:^2.19.0": - version: 2.19.0 - resolution: "esbuild-loader@npm:2.19.0" + version: 2.20.0 + resolution: "esbuild-loader@npm:2.20.0" dependencies: - esbuild: ^0.14.39 + esbuild: ^0.15.6 joycon: ^3.0.1 json5: ^2.2.0 loader-utils: ^2.0.0 @@ -20502,20 +20679,20 @@ __metadata: webpack-sources: ^2.2.0 peerDependencies: webpack: ^4.40.0 || ^5.0.0 - checksum: 309b4bd169ffd1d743ad7099182323a179dec789cd5eb4f5f0258c1c13034a154917679e2402bfcedd90c9b03d06d773e97fe4aa1056274dc43d30633c5707e1 + checksum: 42c3d4ae00409048020079c6a28b70bd21e708624550941b32aa3c673ef58de4c080b23f32d48908eac164631a404cc2f6b0a325c7cff93369a163b86f787894 languageName: node linkType: hard -"esbuild-netbsd-64@npm:0.14.49": - version: 0.14.49 - resolution: "esbuild-netbsd-64@npm:0.14.49" +"esbuild-netbsd-64@npm:0.14.54": + version: 0.14.54 + resolution: "esbuild-netbsd-64@npm:0.14.54" conditions: os=netbsd & cpu=x64 languageName: node linkType: hard -"esbuild-openbsd-64@npm:0.14.49": - version: 0.14.49 - resolution: "esbuild-openbsd-64@npm:0.14.49" +"esbuild-openbsd-64@npm:0.14.54": + version: 0.14.54 + resolution: "esbuild-openbsd-64@npm:0.14.54" conditions: os=openbsd & cpu=x64 languageName: node linkType: hard @@ -20536,9 +20713,9 @@ __metadata: languageName: node linkType: hard -"esbuild-sunos-64@npm:0.14.49": - version: 0.14.49 - resolution: "esbuild-sunos-64@npm:0.14.49" +"esbuild-sunos-64@npm:0.14.54": + version: 0.14.54 + resolution: "esbuild-sunos-64@npm:0.14.54" conditions: os=sunos & cpu=x64 languageName: node linkType: hard @@ -20553,60 +20730,63 @@ __metadata: linkType: hard "esbuild-wasm@npm:>=0.13.8": - version: 0.14.49 - resolution: "esbuild-wasm@npm:0.14.49" + version: 0.15.7 + resolution: "esbuild-wasm@npm:0.15.7" bin: esbuild: bin/esbuild - checksum: c5b90a38d8869e02508f5bc3ab6fd689f57a15a11d564eb400b45ed4a3006c02e558cafc8cfba2f732c51c29a372eec92f1a5a5055cf770101fd26a403fd2da7 + checksum: c80c5664dbe6925b891cce63a05307b94e42cd494d30f763ef6d2325e718e482ee5556564707b37c5a5e0d3489974864eda0905375bd3d40932bd64e68cb2781 languageName: node linkType: hard -"esbuild-windows-32@npm:0.14.49": - version: 0.14.49 - resolution: "esbuild-windows-32@npm:0.14.49" +"esbuild-windows-32@npm:0.14.54": + version: 0.14.54 + resolution: "esbuild-windows-32@npm:0.14.54" conditions: os=win32 & cpu=ia32 languageName: node linkType: hard -"esbuild-windows-64@npm:0.14.49": - version: 0.14.49 - resolution: "esbuild-windows-64@npm:0.14.49" +"esbuild-windows-64@npm:0.14.54": + version: 0.14.54 + resolution: "esbuild-windows-64@npm:0.14.54" conditions: os=win32 & cpu=x64 languageName: node linkType: hard -"esbuild-windows-arm64@npm:0.14.49": - version: 0.14.49 - resolution: "esbuild-windows-arm64@npm:0.14.49" +"esbuild-windows-arm64@npm:0.14.54": + version: 0.14.54 + resolution: "esbuild-windows-arm64@npm:0.14.54" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard "esbuild@npm:^0.14.48": - version: 0.14.49 - resolution: "esbuild@npm:0.14.49" - dependencies: - esbuild-android-64: 0.14.49 - esbuild-android-arm64: 0.14.49 - esbuild-darwin-64: 0.14.49 - esbuild-darwin-arm64: 0.14.49 - esbuild-freebsd-64: 0.14.49 - esbuild-freebsd-arm64: 0.14.49 - esbuild-linux-32: 0.14.49 - esbuild-linux-64: 0.14.49 - esbuild-linux-arm: 0.14.49 - esbuild-linux-arm64: 0.14.49 - esbuild-linux-mips64le: 0.14.49 - esbuild-linux-ppc64le: 0.14.49 - esbuild-linux-riscv64: 0.14.49 - esbuild-linux-s390x: 0.14.49 - esbuild-netbsd-64: 0.14.49 - esbuild-openbsd-64: 0.14.49 - esbuild-sunos-64: 0.14.49 - esbuild-windows-32: 0.14.49 - esbuild-windows-64: 0.14.49 - esbuild-windows-arm64: 0.14.49 + version: 0.14.54 + resolution: "esbuild@npm:0.14.54" + dependencies: + "@esbuild/linux-loong64": 0.14.54 + esbuild-android-64: 0.14.54 + esbuild-android-arm64: 0.14.54 + esbuild-darwin-64: 0.14.54 + esbuild-darwin-arm64: 0.14.54 + esbuild-freebsd-64: 0.14.54 + esbuild-freebsd-arm64: 0.14.54 + esbuild-linux-32: 0.14.54 + esbuild-linux-64: 0.14.54 + esbuild-linux-arm: 0.14.54 + esbuild-linux-arm64: 0.14.54 + esbuild-linux-mips64le: 0.14.54 + esbuild-linux-ppc64le: 0.14.54 + esbuild-linux-riscv64: 0.14.54 + esbuild-linux-s390x: 0.14.54 + esbuild-netbsd-64: 0.14.54 + esbuild-openbsd-64: 0.14.54 + esbuild-sunos-64: 0.14.54 + esbuild-windows-32: 0.14.54 + esbuild-windows-64: 0.14.54 + esbuild-windows-arm64: 0.14.54 dependenciesMeta: + "@esbuild/linux-loong64": + optional: true esbuild-android-64: optional: true esbuild-android-arm64: @@ -20649,7 +20829,7 @@ __metadata: optional: true bin: esbuild: bin/esbuild - checksum: 20430a370781008020f5966dd4cf7c8a8bcf7c99a100f8c4cc9461db75df4b0ca5670ad7d6c7cf7df3c90e5e6a3d3fdce827619f912f44f89f3d09bb25044219 + checksum: 1df3cf7c5175ebee284fd027f287385a07ce8a0f0460a4412881aeff707577d91e55302f220ee8397b3b5aa17f4ceeb80eac16f36fc676532ff1b744e5965f2d languageName: node linkType: hard @@ -20870,12 +21050,14 @@ __metadata: linkType: hard "eslint-module-utils@npm:^2.7.3": - version: 2.7.3 - resolution: "eslint-module-utils@npm:2.7.3" + version: 2.7.4 + resolution: "eslint-module-utils@npm:2.7.4" dependencies: debug: ^3.2.7 - find-up: ^2.1.0 - checksum: d04498ed7d320fe49a8b510c408bbc6f5ebd56f492ad362a2516984583a179432af13c337240af0260de04b15c3d148c9eb6d88e7c29db411989edbbedc922a5 + peerDependenciesMeta: + eslint: + optional: true + checksum: a14368a03d01824e4780e76df08460bbd5dcbf9d58944faf8660079559d169ab2b163b9b1b21fa2955c31c76f4ad348fdcde1bf0ef50cda7e14b89f6257b0eda languageName: node linkType: hard @@ -20988,25 +21170,25 @@ __metadata: linkType: hard "eslint-plugin-jsx-a11y@npm:^6.2.1, eslint-plugin-jsx-a11y@npm:^6.5.1": - version: 6.6.0 - resolution: "eslint-plugin-jsx-a11y@npm:6.6.0" + version: 6.6.1 + resolution: "eslint-plugin-jsx-a11y@npm:6.6.1" dependencies: - "@babel/runtime": ^7.18.3 + "@babel/runtime": ^7.18.9 aria-query: ^4.2.2 array-includes: ^3.1.5 ast-types-flow: ^0.0.7 - axe-core: ^4.4.2 + axe-core: ^4.4.3 axobject-query: ^2.2.0 damerau-levenshtein: ^1.0.8 emoji-regex: ^9.2.2 has: ^1.0.3 - jsx-ast-utils: ^3.3.1 + jsx-ast-utils: ^3.3.2 language-tags: ^1.0.5 minimatch: ^3.1.2 semver: ^6.3.0 peerDependencies: eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 - checksum: 1a0482b65409d95f51e233f611233d4cab5728dac36f567f3daf70900289eccc4c638bf4794c6d123a6d637b1a501a60c93e99a7828b4ed87cd7347fc0e0b55b + checksum: 7095a78f538e92d046ff67ba27a6b8ba75e7baba273cda348ed2893018b4cce0628fe85e5bf529251f394cd61b21d7a172c697b296e3917cc170f80f6419e9b3 languageName: node linkType: hard @@ -21035,8 +21217,8 @@ __metadata: linkType: hard "eslint-plugin-react@npm:^7.19.0, eslint-plugin-react@npm:^7.22.0, eslint-plugin-react@npm:^7.27.0, eslint-plugin-react@npm:^7.27.1": - version: 7.30.1 - resolution: "eslint-plugin-react@npm:7.30.1" + version: 7.31.7 + resolution: "eslint-plugin-react@npm:7.31.7" dependencies: array-includes: ^3.1.5 array.prototype.flatmap: ^1.3.0 @@ -21054,7 +21236,7 @@ __metadata: string.prototype.matchall: ^4.0.7 peerDependencies: eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 - checksum: da8189b16723fca914756bc24f76c158fc24c19ba02574081e67d2349db19285747700ec7f6110c2d2f4b427b800f5eef78167f633354fde7895b45179075653 + checksum: 2bf81b5ce6dde691df6a27f1464f73f7a0af85fadf25041299fd38fc7aeb38272a2dba05af12299b9926fad5813f2c8c60b5707fb248b2103862c389b81f62ce languageName: node linkType: hard @@ -21072,13 +21254,13 @@ __metadata: linkType: hard "eslint-plugin-testing-library@npm:^5.0.1": - version: 5.5.1 - resolution: "eslint-plugin-testing-library@npm:5.5.1" + version: 5.6.2 + resolution: "eslint-plugin-testing-library@npm:5.6.2" dependencies: "@typescript-eslint/utils": ^5.13.0 peerDependencies: eslint: ^7.5.0 || ^8.0.0 - checksum: f6d2a5c8ac89ea026c4bf9f9096dfe13026bf7715cd49b571e69bf5166c980adfb17ce0ac65406042026dd50c8192380d50b9ab5f9691f4aa22c6f70a14d6c5c + checksum: 9011f1e249aed8782ac162a66022f6922429f6bfa4268c071f9711a20b97345c8b08b2b6f25d77c6f9b78194acf6f7c843891bf202014a76bc2b24debe53f875 languageName: node linkType: hard @@ -21126,7 +21308,7 @@ __metadata: languageName: node linkType: hard -"eslint-visitor-keys@npm:^3.0.0, eslint-visitor-keys@npm:^3.3.0": +"eslint-visitor-keys@npm:^3.0.0, eslint-visitor-keys@npm:^3.1.0, eslint-visitor-keys@npm:^3.3.0": version: 3.3.0 resolution: "eslint-visitor-keys@npm:3.3.0" checksum: fc6a9b5bdee8d90e35e7564fd9db10fdf507a2c089a4f0d4d3dd091f7f4ac6790547c8b1b7a760642ef819f875ef86dd5bcb8cdf01b0775f57a699f4e6a20a18 @@ -21206,14 +21388,14 @@ __metadata: languageName: node linkType: hard -"espree@npm:7.2.0": - version: 7.2.0 - resolution: "espree@npm:7.2.0" +"espree@npm:9.2.0": + version: 9.2.0 + resolution: "espree@npm:9.2.0" dependencies: - acorn: ^7.3.1 - acorn-jsx: ^5.2.0 - eslint-visitor-keys: ^1.3.0 - checksum: c18d11a61f6fbd402773c1fd073b3d92bcf8d56456a62bed3ba1be154383b1fbec7987c069b79077cda19e4c477eb6671e2d3feafebb303d507c75b3a0ed558f + acorn: ^8.6.0 + acorn-jsx: ^5.3.1 + eslint-visitor-keys: ^3.1.0 + checksum: fa0acceb6bf151193b873379ba8ee3771c93ce3b656aeb9fe4a36adcf170e315925096e8addddd2d347ae6026ab18febc5892e314e6b109b61a9c3be75f88dc0 languageName: node linkType: hard @@ -21356,22 +21538,22 @@ __metadata: linkType: hard "estree-util-attach-comments@npm:^2.0.0": - version: 2.0.1 - resolution: "estree-util-attach-comments@npm:2.0.1" + version: 2.1.0 + resolution: "estree-util-attach-comments@npm:2.1.0" dependencies: - "@types/estree": ^0.0.51 - checksum: 7162fc2a13cbd0f8bbb050d0cf33c8fa41c63d827910088a80aa956624522db1a74c6b362e02c8d913517a59afadee08c60f12459df6c49b197eac239d9d102b + "@types/estree": ^1.0.0 + checksum: 168dc114faf40077f5deaa3cc19e8ed2b0e11f257b952a2f1416161c42f2b94735bcf2bdf478985c2f09f790a0f9c82a8a2b49dfd4743197d5b5d89e4aed902c languageName: node linkType: hard "estree-util-build-jsx@npm:^2.0.0": - version: 2.1.0 - resolution: "estree-util-build-jsx@npm:2.1.0" + version: 2.2.0 + resolution: "estree-util-build-jsx@npm:2.2.0" dependencies: - "@types/estree-jsx": ^0.0.1 + "@types/estree-jsx": ^1.0.0 estree-util-is-identifier-name: ^2.0.0 estree-walker: ^3.0.0 - checksum: 7b6a5980f5b373d6788309089681e76b075eff31de4b31135d22a00fa73d81030a1c34f8eb792ceae5bb4cd566d4678440fe1de59292733d08fc4bfc92b7608e + checksum: 99dccb857132519001e9fa71e059f2fab6d43b8bebe10f5955da68e2cb0dcac49722091a8638ae8f3af592b4020696a9c440bbab3b5a1ac547cde3fe6d2c2d8b languageName: node linkType: hard @@ -21382,13 +21564,24 @@ __metadata: languageName: node linkType: hard -"estree-util-visit@npm:^1.0.0": +"estree-util-to-js@npm:^1.1.0": version: 1.1.0 - resolution: "estree-util-visit@npm:1.1.0" + resolution: "estree-util-to-js@npm:1.1.0" + dependencies: + "@types/estree-jsx": ^1.0.0 + astring: ^1.8.0 + source-map: ^0.7.0 + checksum: be9b1cc609f1d3dc060bbf1ee0162323a1959996919dceedf1235d2dea290d57c3eb349c92d5d84dc91875ce01931f255a735a5847a57c341871a3b482e908aa + languageName: node + linkType: hard + +"estree-util-visit@npm:^1.0.0": + version: 1.2.0 + resolution: "estree-util-visit@npm:1.2.0" dependencies: - "@types/estree-jsx": ^0.0.1 + "@types/estree-jsx": ^1.0.0 "@types/unist": ^2.0.0 - checksum: dbbe08dbe7ac4a30376c4fa555915e364a2da844631d75e16d5b39dd82801e724ed713516adcbb9b831ab1e29a5be839bb2f6423c6eebc2e64b26e8e2d6d369c + checksum: c0c2331d31ea3eebebc85eea4e556f5ca1bcced1d1005e07b771c9b60e0b93b3c9a7cff28a3c5d9a72eefd4a003ac1fb062bfd71b79992bc261475235bd17518 languageName: node linkType: hard @@ -21399,13 +21592,6 @@ __metadata: languageName: node linkType: hard -"estree-walker@npm:^0.6.1": - version: 0.6.1 - resolution: "estree-walker@npm:0.6.1" - checksum: 6dabc855faa04a1ffb17b6a9121b6008ba75ab5a163ad9dc3d7fca05cfda374c5f5e91418d783496620ca75e99a73c40874d8b75f23b4117508cc8bde78e7b41 - languageName: node - linkType: hard - "estree-walker@npm:^1.0.1": version: 1.0.1 resolution: "estree-walker@npm:1.0.1" @@ -21448,7 +21634,7 @@ __metadata: languageName: node linkType: hard -"event-emitter@npm:~0.3.5": +"event-emitter@npm:^0.3.5, event-emitter@npm:~0.3.5": version: 0.3.5 resolution: "event-emitter@npm:0.3.5" dependencies: @@ -21510,9 +21696,9 @@ __metadata: linkType: hard "eventemitter2@npm:^6.4.3": - version: 6.4.6 - resolution: "eventemitter2@npm:6.4.6" - checksum: 5f5e28d5c86080991ae87fc1a4679d56a4e988ba4aeb47159a6e5c3bead4ba200b6733950290ae8e6d8dd08a59cfbebef56c27eef00a22b49bbe12d4b6dd3482 + version: 6.4.8 + resolution: "eventemitter2@npm:6.4.8" + checksum: a0c93cf931dac6380f59f2b6c6fc8e799285552440a3e3c66c93985500ae3b407f35c6ae5ad48ae70d045ea57ca2003790e1dc3e85f63b02c7047bbffb68ef98 languageName: node linkType: hard @@ -21705,6 +21891,32 @@ __metadata: languageName: node linkType: hard +"expect@npm:^28.1.3": + version: 28.1.3 + resolution: "expect@npm:28.1.3" + dependencies: + "@jest/expect-utils": ^28.1.3 + jest-get-type: ^28.0.2 + jest-matcher-utils: ^28.1.3 + jest-message-util: ^28.1.3 + jest-util: ^28.1.3 + checksum: fce8aa5462294fc7a32b17eef697e9999989b383e62f88b76e69badc59d4abb231dd6131aebaf27c4683be2fb0aa345e125bf2f15545e30a31dc85ec98673608 + languageName: node + linkType: hard + +"expect@npm:^29.0.0": + version: 29.0.2 + resolution: "expect@npm:29.0.2" + dependencies: + "@jest/expect-utils": ^29.0.2 + jest-get-type: ^29.0.0 + jest-matcher-utils: ^29.0.2 + jest-message-util: ^29.0.2 + jest-util: ^29.0.2 + checksum: 3147ea90c9e26517b1d111a3426f9447c262eb00a37b2cd55d1190e4a285742fc51cbbdbaa882c5fb0b877802a28812bd2f990fee4ec763631eb93eac887214c + languageName: node + linkType: hard + "express@npm:4.17.1": version: 4.17.1 resolution: "express@npm:4.17.1" @@ -21840,11 +22052,11 @@ __metadata: linkType: hard "ext@npm:^1.1.2": - version: 1.6.0 - resolution: "ext@npm:1.6.0" + version: 1.7.0 + resolution: "ext@npm:1.7.0" dependencies: - type: ^2.5.0 - checksum: d6ff29ca86fbe4e69743d10702ece124e0239faa435a6c3b2833282787b9eace2c8cbf5d8439d0c85312255d5472d251bf3cd4c4d1b9de8f8a8090e6b43db948 + type: ^2.7.2 + checksum: a8e5f34e12214e9eee3a4af3b5c9d05ba048f28996450975b369fc86e5d0ef13b6df0615f892f5396a9c65d616213c25ec5b0ad17ef42eac4a500512a19da6c7 languageName: node linkType: hard @@ -22091,9 +22303,9 @@ __metadata: linkType: hard "fastest-levenshtein@npm:^1.0.12": - version: 1.0.14 - resolution: "fastest-levenshtein@npm:1.0.14" - checksum: c206947d3da9de570291bbf835f317866f6080e4372846d55b5f313078fc570332d3f40be12e66ed577c724d8654d9dd6ab36a15f178a426a3d45b4f5e24a3d8 + version: 1.0.16 + resolution: "fastest-levenshtein@npm:1.0.16" + checksum: 7e3d8ae812a7f4fdf8cad18e9cde436a39addf266a5986f653ea0d81e0de0900f50c0f27c6d5aff3f686bcb48acbd45be115ae2216f36a6a13a7dbbf5cad878b languageName: node linkType: hard @@ -22568,16 +22780,16 @@ __metadata: linkType: hard "flatted@npm:^3.1.0": - version: 3.2.6 - resolution: "flatted@npm:3.2.6" - checksum: cc86d6c699de3557ede84ae31d4a23f24f7800fd40904e1a1645f9a6a8f23d0267a0661fcbde801e7f36e065a481a512cb2ed53d150280d2049abd0a876d4e8b + version: 3.2.7 + resolution: "flatted@npm:3.2.7" + checksum: 207a87c7abfc1ea6928ea16bac84f9eaa6d44d365620ece419e5c41cf44a5e9902b4c1f59c9605771b10e4565a0cb46e99d78e0464e8aabb42c97de880642257 languageName: node linkType: hard "flow-parser@npm:0.*": - version: 0.183.0 - resolution: "flow-parser@npm:0.183.0" - checksum: fab6dd7f9994f5ffe9d092f5f57d6e790608e7188910b38e235240302c8271e41ea41498adc3fee633ec106783a4c8dfc2312307f1fda7c90e6e6114cad40be3 + version: 0.186.0 + resolution: "flow-parser@npm:0.186.0" + checksum: 4f8c476cd64ab1df9eb67338a29ee3c6c32fd8fb8f72dc16703d2f18812be3c307084faf9b9d266b8ff653247cb1573351193edee86e156ae2e1bce17b4bd507 languageName: node linkType: hard @@ -23227,7 +23439,7 @@ __metadata: languageName: node linkType: hard -"get-intrinsic@npm:^1.0.2, get-intrinsic@npm:^1.1.0, get-intrinsic@npm:^1.1.1": +"get-intrinsic@npm:^1.0.2, get-intrinsic@npm:^1.1.0, get-intrinsic@npm:^1.1.1, get-intrinsic@npm:^1.1.2": version: 1.1.2 resolution: "get-intrinsic@npm:1.1.2" dependencies: @@ -23531,14 +23743,14 @@ __metadata: languageName: node linkType: hard -"glob-promise@npm:^3.4.0": - version: 3.4.0 - resolution: "glob-promise@npm:3.4.0" +"glob-promise@npm:^4.2.0": + version: 4.2.2 + resolution: "glob-promise@npm:4.2.2" dependencies: - "@types/glob": "*" + "@types/glob": ^7.1.3 peerDependencies: - glob: "*" - checksum: 8862e309f46a97c9491d35900257c9174f72b8358a8f485cdba88eb2d5b0f9cf496dfe635711bbd871e89165f50ec3acd435cbef5bfc5efbc14508abced778ac + glob: ^7.1.6 + checksum: 3eb01bed2901539365df6a4d27800afb8788840647d01f9bf3500b3de756597f2ff4b8c823971ace34db228c83159beca459dc42a70968d4e9c8200ed2cc96bd languageName: node linkType: hard @@ -24272,10 +24484,11 @@ __metadata: linkType: hard "hast-util-to-estree@npm:^2.0.0, hast-util-to-estree@npm:^2.0.2": - version: 2.0.2 - resolution: "hast-util-to-estree@npm:2.0.2" + version: 2.1.0 + resolution: "hast-util-to-estree@npm:2.1.0" dependencies: - "@types/estree-jsx": ^0.0.1 + "@types/estree": ^1.0.0 + "@types/estree-jsx": ^1.0.0 "@types/hast": ^2.0.0 "@types/unist": ^2.0.0 comma-separated-tokens: ^2.0.0 @@ -24289,7 +24502,7 @@ __metadata: style-to-object: ^0.3.0 unist-util-position: ^4.0.0 zwitch: ^2.0.0 - checksum: 4297170fdc93618c3dc76018d83015c9bda5313eab148d57f1c1d861dac3d67079cd9e108788c85fb1231fd9eb57d103421560857dcd18dafca69c1ea958c9f3 + checksum: 23bff70dd554b2ba29d6c4933621655c5345168c68a6600819c67279316fb1356d8580744d609f2ccbc6ee5d3d6fdedf719b913e112f66b65fe3ccf597d56b92 languageName: node linkType: hard @@ -24418,15 +24631,6 @@ __metadata: 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.3.0 resolution: "history@npm:5.3.0" @@ -24558,31 +24762,31 @@ __metadata: version: 0.0.0-use.local resolution: "html-kitchen-sink@workspace:examples/html-kitchen-sink" dependencies: - "@storybook/addon-a11y": 7.0.0-alpha.20 - "@storybook/addon-actions": 7.0.0-alpha.20 - "@storybook/addon-backgrounds": 7.0.0-alpha.20 - "@storybook/addon-controls": 7.0.0-alpha.20 - "@storybook/addon-docs": 7.0.0-alpha.20 - "@storybook/addon-highlight": 7.0.0-alpha.20 - "@storybook/addon-jest": 7.0.0-alpha.20 - "@storybook/addon-links": 7.0.0-alpha.20 + "@storybook/addon-a11y": 7.0.0-alpha.31 + "@storybook/addon-actions": 7.0.0-alpha.31 + "@storybook/addon-backgrounds": 7.0.0-alpha.31 + "@storybook/addon-controls": 7.0.0-alpha.31 + "@storybook/addon-docs": 7.0.0-alpha.31 + "@storybook/addon-highlight": 7.0.0-alpha.31 + "@storybook/addon-jest": 7.0.0-alpha.31 + "@storybook/addon-links": 7.0.0-alpha.31 "@storybook/addon-postcss": ^2.0.0 - "@storybook/addon-storyshots": 7.0.0-alpha.20 - "@storybook/addon-storysource": 7.0.0-alpha.20 - "@storybook/addon-viewport": 7.0.0-alpha.20 - "@storybook/addons": 7.0.0-alpha.20 - "@storybook/client-api": 7.0.0-alpha.20 - "@storybook/core-events": 7.0.0-alpha.20 - "@storybook/html": 7.0.0-alpha.20 - "@storybook/html-webpack5": 7.0.0-alpha.20 - "@storybook/source-loader": 7.0.0-alpha.20 + "@storybook/addon-storyshots": 7.0.0-alpha.31 + "@storybook/addon-storysource": 7.0.0-alpha.31 + "@storybook/addon-viewport": 7.0.0-alpha.31 + "@storybook/addons": 7.0.0-alpha.31 + "@storybook/client-api": 7.0.0-alpha.31 + "@storybook/core-events": 7.0.0-alpha.31 + "@storybook/html": 7.0.0-alpha.31 + "@storybook/html-webpack5": 7.0.0-alpha.31 + "@storybook/source-loader": 7.0.0-alpha.31 autoprefixer: ^10.0.1 eventemitter3: ^4.0.7 format-json: ^1.0.3 global: ^4.4.0 postcss: ^8.2.4 postcss-color-rebeccapurple: ^6.0.0 - storybook: 7.0.0-alpha.20 + storybook: 7.0.0-alpha.31 languageName: unknown linkType: soft @@ -25102,11 +25306,11 @@ __metadata: linkType: hard "i18next@npm:^21.6.11": - version: 21.8.14 - resolution: "i18next@npm:21.8.14" + version: 21.9.1 + resolution: "i18next@npm:21.9.1" dependencies: "@babel/runtime": ^7.17.2 - checksum: f627c1f6abd3be534aecfa0cec5bf90a44506b5c50b20d993b51bf8c356a82fc7ecdd7e8015884925568b4816aae7f8938e245191292e8c5bc1a5a7e08d2966e + checksum: 9acdb7cd16d07b0639a233d4c66ac2e7e53ee718232d7fffcaac3ccb7a3c002bbf8b92cd06cd234e86cc1ae05585ab298f4b9f1fb14bfca7e08e2f5248a5f878 languageName: node linkType: hard @@ -25153,10 +25357,10 @@ __metadata: languageName: node linkType: hard -"idb@npm:^6.1.4": - version: 6.1.5 - resolution: "idb@npm:6.1.5" - checksum: 189dfe760ea66780e02c68cb14d2eccdfb18996176c604a85fa987b90fbb613d224cd90fdc0f700378dd4c1abaf1175d22eb149ab7aef5f90e2e1a8787d8f3b9 +"idb@npm:^7.0.1": + version: 7.0.2 + resolution: "idb@npm:7.0.2" + checksum: cbb15125f03e0d96393a9eceb805a9caf8f4b04ad28c591b1fbe61c7f45d24ef7d038200a1ef9b0d909cf38b64912a8cf4c858ba7a1a10344871f9b9af4a2ab1 languageName: node linkType: hard @@ -25372,13 +25576,6 @@ __metadata: languageName: node linkType: hard -"indent-string@npm:^5.0.0": - version: 5.0.0 - resolution: "indent-string@npm:5.0.0" - checksum: 8ee77b57d92e71745e133f6f444d6fa3ed503ad0e1bcd7e80c8da08b42375c07117128d670589725ed07b1978065803fa86318c309ba45415b7fe13e7f170220 - languageName: node - linkType: hard - "infer-owner@npm:^1.0.3, infer-owner@npm:^1.0.4": version: 1.0.4 resolution: "infer-owner@npm:1.0.4" @@ -25775,11 +25972,11 @@ __metadata: linkType: hard "is-builtin-module@npm:^3.1.0": - version: 3.1.0 - resolution: "is-builtin-module@npm:3.1.0" + version: 3.2.0 + resolution: "is-builtin-module@npm:3.2.0" dependencies: - builtin-modules: ^3.0.0 - checksum: 3e6c74d1af635bfcb95474aabb1b626bbf816c47719acab99e97eae7771a7b600df2241fddead1fc610c6c3e6c3c43f59b7964fcf3c8d4d94cd78928b3e71bfd + builtin-modules: ^3.3.0 + checksum: dd911ba5b5e9615d4da19fad3bbd839bcce8f279b28e094ff0883147a70e36fa4fd2d2aebc85886585106f8fc11d45ca60234afc4e3fa261ad58f013a26d3f1a languageName: node linkType: hard @@ -25813,11 +26010,11 @@ __metadata: linkType: hard "is-core-module@npm:^2.5.0, is-core-module@npm:^2.8.1, is-core-module@npm:^2.9.0": - version: 2.9.0 - resolution: "is-core-module@npm:2.9.0" + version: 2.10.0 + resolution: "is-core-module@npm:2.10.0" dependencies: has: ^1.0.3 - checksum: 056fe4c5f9f383dc1c1b0dc3250c300880b9b1e17e1885077d64a1667926ecc11ba696776597616bfd2fd7f87c7476c01b127a0c842b4821bee2414d0e296e6e + checksum: af7c3b24cb3375688a84306dcfa71c9305fd03af6548aaeb51ed345f85abafe22e071835b3a5f4bb1e87b434404410ec31ee45749f617a7acf2a4dcb9f677ae7 languageName: node linkType: hard @@ -25900,16 +26097,6 @@ __metadata: languageName: node linkType: hard -"is-dom@npm:^1.0.0": - version: 1.1.0 - resolution: "is-dom@npm:1.1.0" - dependencies: - is-object: ^1.0.1 - is-window: ^1.0.2 - checksum: 0645d388bed188e827b4440af7c2f4c454ad6e6fd4c395d46eae404ca8b64f1bb45e3f33f1a60fbc7f59ca10fb0e5351589b49b3d3bac1b3c5aeec70e2e5be07 - languageName: node - linkType: hard - "is-empty@npm:^1.0.0": version: 1.2.0 resolution: "is-empty@npm:1.2.0" @@ -26450,13 +26637,6 @@ __metadata: languageName: node linkType: hard -"is-window@npm:^1.0.2": - version: 1.0.2 - resolution: "is-window@npm:1.0.2" - checksum: f954f21c9fce64e6c72f8a908c3aaefa8fd6d1ef819acdfa1be007de70e5424bd2ac774950b38b523fd8ff4b581899efc1156cc6b0505040072e8ff25e57ec18 - languageName: node - linkType: hard - "is-windows@npm:^1.0.0, is-windows@npm:^1.0.1, is-windows@npm:^1.0.2": version: 1.0.2 resolution: "is-windows@npm:1.0.2" @@ -26784,6 +26964,33 @@ __metadata: languageName: node linkType: hard +"jest-circus@npm:^28.1.1": + version: 28.1.3 + resolution: "jest-circus@npm:28.1.3" + dependencies: + "@jest/environment": ^28.1.3 + "@jest/expect": ^28.1.3 + "@jest/test-result": ^28.1.3 + "@jest/types": ^28.1.3 + "@types/node": "*" + chalk: ^4.0.0 + co: ^4.6.0 + dedent: ^0.7.0 + is-generator-fn: ^2.0.0 + jest-each: ^28.1.3 + jest-matcher-utils: ^28.1.3 + jest-message-util: ^28.1.3 + jest-runtime: ^28.1.3 + jest-snapshot: ^28.1.3 + jest-util: ^28.1.3 + p-limit: ^3.1.0 + pretty-format: ^28.1.3 + slash: ^3.0.0 + stack-utils: ^2.0.3 + checksum: 6f20ff8b5f100c7bafb6f71a2bd42e81804f0af848d628864508340239c56957a731bcdd83dba3e962a81c1f05ce9daa4ecee207a02e0ec73a908a2ec62f1f19 + languageName: node + linkType: hard + "jest-cli@npm:^26.6.3": version: 26.6.3 resolution: "jest-cli@npm:26.6.3" @@ -26834,40 +27041,41 @@ __metadata: languageName: node linkType: hard -"jest-config@npm:27.5.1, jest-config@npm:^27.5.1": - version: 27.5.1 - resolution: "jest-config@npm:27.5.1" +"jest-config@npm:28.1.1": + version: 28.1.1 + resolution: "jest-config@npm:28.1.1" dependencies: - "@babel/core": ^7.8.0 - "@jest/test-sequencer": ^27.5.1 - "@jest/types": ^27.5.1 - babel-jest: ^27.5.1 + "@babel/core": ^7.11.6 + "@jest/test-sequencer": ^28.1.1 + "@jest/types": ^28.1.1 + babel-jest: ^28.1.1 chalk: ^4.0.0 ci-info: ^3.2.0 deepmerge: ^4.2.2 - glob: ^7.1.1 + glob: ^7.1.3 graceful-fs: ^4.2.9 - jest-circus: ^27.5.1 - jest-environment-jsdom: ^27.5.1 - jest-environment-node: ^27.5.1 - jest-get-type: ^27.5.1 - jest-jasmine2: ^27.5.1 - jest-regex-util: ^27.5.1 - jest-resolve: ^27.5.1 - jest-runner: ^27.5.1 - jest-util: ^27.5.1 - jest-validate: ^27.5.1 + jest-circus: ^28.1.1 + jest-environment-node: ^28.1.1 + jest-get-type: ^28.0.2 + jest-regex-util: ^28.0.2 + jest-resolve: ^28.1.1 + jest-runner: ^28.1.1 + jest-util: ^28.1.1 + jest-validate: ^28.1.1 micromatch: ^4.0.4 parse-json: ^5.2.0 - pretty-format: ^27.5.1 + pretty-format: ^28.1.1 slash: ^3.0.0 strip-json-comments: ^3.1.1 peerDependencies: + "@types/node": "*" ts-node: ">=9.0.0" peerDependenciesMeta: + "@types/node": + optional: true ts-node: optional: true - checksum: 28867b165f0e25b711a2ade5f261a1b1606b476704ff68a50688eaf3b9c853f69542645cc7e0dab38079ed74e3acc99e38628faf736c1739e44fc869c62c6051 + checksum: 24590b094cb2678ba51d8ab270c465f1598a374588a4b4e7dd63fef2a86d2c3a52fea4943b3e41e5864bc30997908f0b602e503199e54c65894c625b31f4bc5b languageName: node linkType: hard @@ -26902,6 +27110,43 @@ __metadata: languageName: node linkType: hard +"jest-config@npm:^27.5.1": + version: 27.5.1 + resolution: "jest-config@npm:27.5.1" + dependencies: + "@babel/core": ^7.8.0 + "@jest/test-sequencer": ^27.5.1 + "@jest/types": ^27.5.1 + babel-jest: ^27.5.1 + chalk: ^4.0.0 + ci-info: ^3.2.0 + deepmerge: ^4.2.2 + glob: ^7.1.1 + graceful-fs: ^4.2.9 + jest-circus: ^27.5.1 + jest-environment-jsdom: ^27.5.1 + jest-environment-node: ^27.5.1 + jest-get-type: ^27.5.1 + jest-jasmine2: ^27.5.1 + jest-regex-util: ^27.5.1 + jest-resolve: ^27.5.1 + jest-runner: ^27.5.1 + jest-util: ^27.5.1 + jest-validate: ^27.5.1 + micromatch: ^4.0.4 + parse-json: ^5.2.0 + pretty-format: ^27.5.1 + slash: ^3.0.0 + strip-json-comments: ^3.1.1 + peerDependencies: + ts-node: ">=9.0.0" + peerDependenciesMeta: + ts-node: + optional: true + checksum: 28867b165f0e25b711a2ade5f261a1b1606b476704ff68a50688eaf3b9c853f69542645cc7e0dab38079ed74e3acc99e38628faf736c1739e44fc869c62c6051 + languageName: node + linkType: hard + "jest-diff@npm:^25.2.1": version: 25.5.0 resolution: "jest-diff@npm:25.5.0" @@ -26950,6 +27195,18 @@ __metadata: languageName: node linkType: hard +"jest-diff@npm:^29.0.2": + version: 29.0.2 + resolution: "jest-diff@npm:29.0.2" + dependencies: + chalk: ^4.0.0 + diff-sequences: ^29.0.0 + jest-get-type: ^29.0.0 + pretty-format: ^29.0.2 + checksum: 7c515cb4dbae844f2eef386145cb157ad5cc3128b1f22db2f1857e558c430989ec6ae7422c2456aca79b43288b3b3a703564ca81ab0f8121651cfbf2fff20db5 + languageName: node + linkType: hard + "jest-docblock@npm:^26.0.0": version: 26.0.0 resolution: "jest-docblock@npm:26.0.0" @@ -26968,6 +27225,15 @@ __metadata: languageName: node linkType: hard +"jest-docblock@npm:^28.1.1": + version: 28.1.1 + resolution: "jest-docblock@npm:28.1.1" + dependencies: + detect-newline: ^3.0.0 + checksum: 147b7e537ff025c0be2909192c56fb9bfda09bc2603075491798bd0315d503687efa7c75131f2909a0fde30af9dc309b7ef58eb21413e2380c471b3db133949a + languageName: node + linkType: hard + "jest-each@npm:^26.6.2": version: 26.6.2 resolution: "jest-each@npm:26.6.2" @@ -26994,6 +27260,19 @@ __metadata: languageName: node linkType: hard +"jest-each@npm:^28.1.3": + version: 28.1.3 + resolution: "jest-each@npm:28.1.3" + dependencies: + "@jest/types": ^28.1.3 + chalk: ^4.0.0 + jest-get-type: ^28.0.2 + jest-util: ^28.1.3 + pretty-format: ^28.1.3 + checksum: 63e1ecf86297085527b369a517af3dba8614937adc1870de041f6f0c3d5dff4d60d94be32949cf9945d9ce401bd28bea2c5efa9e090c39777cfd1627b71d6bc7 + languageName: node + linkType: hard + "jest-environment-enzyme@npm:^7.1.2": version: 7.1.2 resolution: "jest-environment-enzyme@npm:7.1.2" @@ -27106,6 +27385,20 @@ __metadata: languageName: node linkType: hard +"jest-environment-node@npm:^28.1.1, jest-environment-node@npm:^28.1.3": + version: 28.1.3 + resolution: "jest-environment-node@npm:28.1.3" + dependencies: + "@jest/environment": ^28.1.3 + "@jest/fake-timers": ^28.1.3 + "@jest/types": ^28.1.3 + "@types/node": "*" + jest-mock: ^28.1.3 + jest-util: ^28.1.3 + checksum: d7d313ee28d6063f0740cf5dd94f3ae206f0897ac8e562e52159ec1b26c24233c75893b3cbf1b885dcc8abb50e82a20d07f77c28917be8fd20156dd15602892f + languageName: node + linkType: hard + "jest-enzyme@npm:^7.1.2": version: 7.1.2 resolution: "jest-enzyme@npm:7.1.2" @@ -27148,6 +27441,13 @@ __metadata: languageName: node linkType: hard +"jest-get-type@npm:^29.0.0": + version: 29.0.0 + resolution: "jest-get-type@npm:29.0.0" + checksum: 953a32cef3034764c0e2ac53e8192fe1fa3e5e56465086f0b57cd1a45aebbfceecca1f8cf890004be41b99fa7c4585b3c183a2dee5017c088a8a5b760dca31d0 + languageName: node + linkType: hard + "jest-haste-map@npm:^24.9.0": version: 24.9.0 resolution: "jest-haste-map@npm:24.9.0" @@ -27220,6 +27520,29 @@ __metadata: languageName: node linkType: hard +"jest-haste-map@npm:^28.1.1, jest-haste-map@npm:^28.1.3": + version: 28.1.3 + resolution: "jest-haste-map@npm:28.1.3" + dependencies: + "@jest/types": ^28.1.3 + "@types/graceful-fs": ^4.1.3 + "@types/node": "*" + anymatch: ^3.0.3 + fb-watchman: ^2.0.0 + fsevents: ^2.3.2 + graceful-fs: ^4.2.9 + jest-regex-util: ^28.0.2 + jest-util: ^28.1.3 + jest-worker: ^28.1.3 + micromatch: ^4.0.4 + walker: ^1.0.8 + dependenciesMeta: + fsevents: + optional: true + checksum: 6a2beedd31f5d67b508d57fbfdd8858cfbd2f59a61737fc74cac4b9f60120faeda8c40189afba331324b08e10bc2281521292cdb6713fb3cab7770828f4e83d9 + languageName: node + linkType: hard + "jest-image-snapshot@npm:^4.3.0": version: 4.5.1 resolution: "jest-image-snapshot@npm:4.5.1" @@ -27322,6 +27645,16 @@ __metadata: languageName: node linkType: hard +"jest-leak-detector@npm:^28.1.3": + version: 28.1.3 + resolution: "jest-leak-detector@npm:28.1.3" + dependencies: + jest-get-type: ^28.0.2 + pretty-format: ^28.1.3 + checksum: 038cca2fa8cb24ede34834308c86eca40a6c20f02ad5b81d059072c444c421c60058c2610107bd6a50043ef3fe6283d63ddb0946dea4d2a8a874ceb1281a009e + languageName: node + linkType: hard + "jest-matcher-utils@npm:^26.6.2": version: 26.6.2 resolution: "jest-matcher-utils@npm:26.6.2" @@ -27346,7 +27679,7 @@ __metadata: languageName: node linkType: hard -"jest-matcher-utils@npm:^28.0.0": +"jest-matcher-utils@npm:^28.1.3": version: 28.1.3 resolution: "jest-matcher-utils@npm:28.1.3" dependencies: @@ -27358,6 +27691,18 @@ __metadata: languageName: node linkType: hard +"jest-matcher-utils@npm:^29.0.2": + version: 29.0.2 + resolution: "jest-matcher-utils@npm:29.0.2" + dependencies: + chalk: ^4.0.0 + jest-diff: ^29.0.2 + jest-get-type: ^29.0.0 + pretty-format: ^29.0.2 + checksum: dbf3f75fff853085c64b923434271d1d4db864dd6a2b0c620b12e0af2293bc21fb5ab645df34b601711b2345ff85554dc5be03db0a1996a1cf372d4938785134 + languageName: node + linkType: hard + "jest-message-util@npm:^24.9.0": version: 24.9.0 resolution: "jest-message-util@npm:24.9.0" @@ -27408,7 +27753,7 @@ __metadata: languageName: node linkType: hard -"jest-message-util@npm:^28.1.3": +"jest-message-util@npm:^28.1.1, jest-message-util@npm:^28.1.3": version: 28.1.3 resolution: "jest-message-util@npm:28.1.3" dependencies: @@ -27425,6 +27770,23 @@ __metadata: languageName: node linkType: hard +"jest-message-util@npm:^29.0.2": + version: 29.0.2 + resolution: "jest-message-util@npm:29.0.2" + dependencies: + "@babel/code-frame": ^7.12.13 + "@jest/types": ^29.0.2 + "@types/stack-utils": ^2.0.0 + chalk: ^4.0.0 + graceful-fs: ^4.2.9 + micromatch: ^4.0.4 + pretty-format: ^29.0.2 + slash: ^3.0.0 + stack-utils: ^2.0.3 + checksum: 03ac5e1e5c32e2a92d6c671bea0445640ee2485eb6578946219a0deb20cce147700986b432eda17419fe4a890f3ad6ae8f204242cd670fc2b0ea35e47aa6739d + languageName: node + linkType: hard + "jest-mock@npm:^24.0.0, jest-mock@npm:^24.9.0": version: 24.9.0 resolution: "jest-mock@npm:24.9.0" @@ -27484,8 +27846,8 @@ __metadata: linkType: hard "jest-preset-angular@npm:^12.0.0": - version: 12.2.0 - resolution: "jest-preset-angular@npm:12.2.0" + version: 12.2.2 + resolution: "jest-preset-angular@npm:12.2.2" dependencies: bs-logger: ^0.2.6 esbuild: ">=0.13.8" @@ -27503,7 +27865,7 @@ __metadata: dependenciesMeta: esbuild: optional: true - checksum: 0ff9576d8ba6ed87b1ce1a005a1a831e9afeae50b8a203cff4211d248f4f665bda274ce3d5015945079fa2b3a9f90f01c244cfc468cefc6b244d44c5123bb659 + checksum: 3ae0d3cd203e464eb18e46c060f74c789803edc6d88994ac89eab7b475470f5428077ebb0205a94ce60d71d053f5824e58cabf42da96d0a380059d23aa7fa122 languageName: node linkType: hard @@ -27549,7 +27911,7 @@ __metadata: languageName: node linkType: hard -"jest-regex-util@npm:^28.0.0": +"jest-regex-util@npm:^28.0.0, jest-regex-util@npm:^28.0.2": version: 28.0.2 resolution: "jest-regex-util@npm:28.0.2" checksum: d79d255b8a2217bdb0b638cbb5e61a41ab788e62a6217fce5276ab9763c1327b9e0a4f10ebdb230c76848125aa9cc97c8751cfad15db7ec0441d44acfbaf5084 @@ -27578,21 +27940,20 @@ __metadata: languageName: node linkType: hard -"jest-resolve@npm:27.5.1, jest-resolve@npm:^27.4.2, jest-resolve@npm:^27.5.1": - version: 27.5.1 - resolution: "jest-resolve@npm:27.5.1" +"jest-resolve@npm:28.1.1": + version: 28.1.1 + resolution: "jest-resolve@npm:28.1.1" dependencies: - "@jest/types": ^27.5.1 chalk: ^4.0.0 graceful-fs: ^4.2.9 - jest-haste-map: ^27.5.1 + jest-haste-map: ^28.1.1 jest-pnp-resolver: ^1.2.2 - jest-util: ^27.5.1 - jest-validate: ^27.5.1 + jest-util: ^28.1.1 + jest-validate: ^28.1.1 resolve: ^1.20.0 resolve.exports: ^1.1.0 slash: ^3.0.0 - checksum: 5f9577e424346881964683f22472bd12bd9cfd70e49cb1800ccd31f2e88b0985ed353ca5cc7fb02de9093be2c733ab32de526c99a1192455ddb167afe916efd1 + checksum: 3e58e75ff90b54a24039689e407b59688f2495d18e2ae15e686cdf9c8a7e745b1ab292741afdac0f166a28b8a6e538c5dde3efb5a0b223da6e6a259fd74ccde4 languageName: node linkType: hard @@ -27612,6 +27973,41 @@ __metadata: languageName: node linkType: hard +"jest-resolve@npm:^27.4.2, jest-resolve@npm:^27.5.1": + version: 27.5.1 + resolution: "jest-resolve@npm:27.5.1" + dependencies: + "@jest/types": ^27.5.1 + chalk: ^4.0.0 + graceful-fs: ^4.2.9 + jest-haste-map: ^27.5.1 + jest-pnp-resolver: ^1.2.2 + jest-util: ^27.5.1 + jest-validate: ^27.5.1 + resolve: ^1.20.0 + resolve.exports: ^1.1.0 + slash: ^3.0.0 + checksum: 5f9577e424346881964683f22472bd12bd9cfd70e49cb1800ccd31f2e88b0985ed353ca5cc7fb02de9093be2c733ab32de526c99a1192455ddb167afe916efd1 + languageName: node + linkType: hard + +"jest-resolve@npm:^28.1.1, jest-resolve@npm:^28.1.3": + version: 28.1.3 + resolution: "jest-resolve@npm:28.1.3" + dependencies: + chalk: ^4.0.0 + graceful-fs: ^4.2.9 + jest-haste-map: ^28.1.3 + jest-pnp-resolver: ^1.2.2 + jest-util: ^28.1.3 + jest-validate: ^28.1.3 + resolve: ^1.20.0 + resolve.exports: ^1.1.0 + slash: ^3.0.0 + checksum: 3d37b33137266eadc9febb5c8f6ab59030818bf4cc426cf013e260a79189d49e48dee004a796ce48d631e1353bc03463bd630f55ce01af0cffef73c3d23d6f91 + languageName: node + linkType: hard + "jest-runner@npm:^26.6.3": version: 26.6.3 resolution: "jest-runner@npm:26.6.3" @@ -27669,6 +28065,35 @@ __metadata: languageName: node linkType: hard +"jest-runner@npm:^28.1.1": + version: 28.1.3 + resolution: "jest-runner@npm:28.1.3" + dependencies: + "@jest/console": ^28.1.3 + "@jest/environment": ^28.1.3 + "@jest/test-result": ^28.1.3 + "@jest/transform": ^28.1.3 + "@jest/types": ^28.1.3 + "@types/node": "*" + chalk: ^4.0.0 + emittery: ^0.10.2 + graceful-fs: ^4.2.9 + jest-docblock: ^28.1.1 + jest-environment-node: ^28.1.3 + jest-haste-map: ^28.1.3 + jest-leak-detector: ^28.1.3 + jest-message-util: ^28.1.3 + jest-resolve: ^28.1.3 + jest-runtime: ^28.1.3 + jest-util: ^28.1.3 + jest-watcher: ^28.1.3 + jest-worker: ^28.1.3 + p-limit: ^3.1.0 + source-map-support: 0.5.13 + checksum: 423dd2b4d7c61e27572bb558f68ac838f94927131626e709489636224593d274ad7b8ced6c7abecd2c0075ac9d01bf4e7ef09f1a60c495f66ad855f093575ced + languageName: node + linkType: hard + "jest-runtime@npm:^26.6.3": version: 26.6.3 resolution: "jest-runtime@npm:26.6.3" @@ -27736,6 +28161,36 @@ __metadata: languageName: node linkType: hard +"jest-runtime@npm:^28.1.3": + version: 28.1.3 + resolution: "jest-runtime@npm:28.1.3" + dependencies: + "@jest/environment": ^28.1.3 + "@jest/fake-timers": ^28.1.3 + "@jest/globals": ^28.1.3 + "@jest/source-map": ^28.1.2 + "@jest/test-result": ^28.1.3 + "@jest/transform": ^28.1.3 + "@jest/types": ^28.1.3 + chalk: ^4.0.0 + cjs-module-lexer: ^1.0.0 + collect-v8-coverage: ^1.0.0 + execa: ^5.0.0 + glob: ^7.1.3 + graceful-fs: ^4.2.9 + jest-haste-map: ^28.1.3 + jest-message-util: ^28.1.3 + jest-mock: ^28.1.3 + jest-regex-util: ^28.0.2 + jest-resolve: ^28.1.3 + jest-snapshot: ^28.1.3 + jest-util: ^28.1.3 + slash: ^3.0.0 + strip-bom: ^4.0.0 + checksum: f315b5dafd1af501afb643b274311fc906cd27236ba87bc004cf0494619fd4fad70bbc8d1b30a7335a17531367cefac0b0941cfd35c255d6ce4aecd686e76508 + languageName: node + linkType: hard + "jest-serializer-html@npm:^7.0.0": version: 7.1.0 resolution: "jest-serializer-html@npm:7.1.0" @@ -27826,6 +28281,37 @@ __metadata: languageName: node linkType: hard +"jest-snapshot@npm:^28.1.3": + version: 28.1.3 + resolution: "jest-snapshot@npm:28.1.3" + dependencies: + "@babel/core": ^7.11.6 + "@babel/generator": ^7.7.2 + "@babel/plugin-syntax-typescript": ^7.7.2 + "@babel/traverse": ^7.7.2 + "@babel/types": ^7.3.3 + "@jest/expect-utils": ^28.1.3 + "@jest/transform": ^28.1.3 + "@jest/types": ^28.1.3 + "@types/babel__traverse": ^7.0.6 + "@types/prettier": ^2.1.5 + babel-preset-current-node-syntax: ^1.0.0 + chalk: ^4.0.0 + expect: ^28.1.3 + graceful-fs: ^4.2.9 + jest-diff: ^28.1.3 + jest-get-type: ^28.0.2 + jest-haste-map: ^28.1.3 + jest-matcher-utils: ^28.1.3 + jest-message-util: ^28.1.3 + jest-util: ^28.1.3 + natural-compare: ^1.4.0 + pretty-format: ^28.1.3 + semver: ^7.3.5 + checksum: 2dcf7a7e7a2ffff8decfab61e4a9b7c333ad4766a21cfb77d63d5bd01c298df31c511ac5c0754715e280e4cdeae9ca91f2c765c86e8764a59c142063bcc8dee6 + languageName: node + linkType: hard + "jest-specific-snapshot@npm:^4.0.0": version: 4.0.0 resolution: "jest-specific-snapshot@npm:4.0.0" @@ -27848,17 +28334,17 @@ __metadata: languageName: node linkType: hard -"jest-util@npm:27.5.1, jest-util@npm:^27.5.1": - version: 27.5.1 - resolution: "jest-util@npm:27.5.1" +"jest-util@npm:28.1.1": + version: 28.1.1 + resolution: "jest-util@npm:28.1.1" dependencies: - "@jest/types": ^27.5.1 + "@jest/types": ^28.1.1 "@types/node": "*" chalk: ^4.0.0 ci-info: ^3.2.0 graceful-fs: ^4.2.9 picomatch: ^2.2.3 - checksum: 0f60cd2a2e09a6646ccd4ff489f1970282c0694724104979e897bd5164f91204726f5408572bf5e759d09e59d5c4e4dc65a643d2b630e06a10402bba07bf2a2e + checksum: 24f311d1b0c46f7ae9f37b020ee2932551d27882256b259768d3ce9915b43861808f1a40711344c4e567013858f11e11fc9ca19509e2c17810310e927185c705 languageName: node linkType: hard @@ -27896,7 +28382,21 @@ __metadata: languageName: node linkType: hard -"jest-util@npm:^28.0.0, jest-util@npm:^28.1.3": +"jest-util@npm:^27.5.1": + version: 27.5.1 + resolution: "jest-util@npm:27.5.1" + dependencies: + "@jest/types": ^27.5.1 + "@types/node": "*" + chalk: ^4.0.0 + ci-info: ^3.2.0 + graceful-fs: ^4.2.9 + picomatch: ^2.2.3 + checksum: 0f60cd2a2e09a6646ccd4ff489f1970282c0694724104979e897bd5164f91204726f5408572bf5e759d09e59d5c4e4dc65a643d2b630e06a10402bba07bf2a2e + languageName: node + linkType: hard + +"jest-util@npm:^28.0.0, jest-util@npm:^28.1.1, jest-util@npm:^28.1.3": version: 28.1.3 resolution: "jest-util@npm:28.1.3" dependencies: @@ -27910,6 +28410,20 @@ __metadata: languageName: node linkType: hard +"jest-util@npm:^29.0.2": + version: 29.0.2 + resolution: "jest-util@npm:29.0.2" + dependencies: + "@jest/types": ^29.0.2 + "@types/node": "*" + chalk: ^4.0.0 + ci-info: ^3.2.0 + graceful-fs: ^4.2.9 + picomatch: ^2.2.3 + checksum: eb76e9e9cb60c2e2d68bc198a83fba8fd366464b35040f71ec4214816a5f83be71bb459f6842152992f8688136a8f4cfb1a9e0ffdc846842106dc0ec54f85d70 + languageName: node + linkType: hard + "jest-validate@npm:^26.6.2": version: 26.6.2 resolution: "jest-validate@npm:26.6.2" @@ -27938,6 +28452,20 @@ __metadata: languageName: node linkType: hard +"jest-validate@npm:^28.1.1, jest-validate@npm:^28.1.3": + version: 28.1.3 + resolution: "jest-validate@npm:28.1.3" + dependencies: + "@jest/types": ^28.1.3 + camelcase: ^6.2.0 + chalk: ^4.0.0 + jest-get-type: ^28.0.2 + leven: ^3.1.0 + pretty-format: ^28.1.3 + checksum: 57a69c560f7ea8b69d0b26fb895f43de1e46f361c512cb74495b17a10d2999a341dba6a83b67dd3d8899a86242662db113ef8f3e0bc5cbf032a9982535b378e0 + languageName: node + linkType: hard + "jest-vue-preprocessor@npm:^1.7.1": version: 1.7.1 resolution: "jest-vue-preprocessor@npm:1.7.1" @@ -28017,7 +28545,7 @@ __metadata: languageName: node linkType: hard -"jest-watcher@npm:^28.0.0": +"jest-watcher@npm:^28.0.0, jest-watcher@npm:^28.1.3": version: 28.1.3 resolution: "jest-watcher@npm:28.1.3" dependencies: @@ -28065,7 +28593,7 @@ __metadata: languageName: node linkType: hard -"jest-worker@npm:^28.0.2": +"jest-worker@npm:^28.0.2, jest-worker@npm:^28.1.1, jest-worker@npm:^28.1.3": version: 28.1.3 resolution: "jest-worker@npm:28.1.3" dependencies: @@ -28153,9 +28681,9 @@ __metadata: linkType: hard "jquery@npm:^3.5.0": - version: 3.6.0 - resolution: "jquery@npm:3.6.0" - checksum: 45a63f8376a8918087c0277b2394dd382fcacff765c41ccbb5009a9336f8c971bf41c6a0519062edc1dff6333d96959c3a3ec55c95eb6c94d5372253d6cbf82f + version: 3.6.1 + resolution: "jquery@npm:3.6.1" + checksum: 5867ba6c9f4eecb8e55965288799b2569f83cdac5f97602d6ae17959c3ff17e728dc7c6f75e607e00d235bfb41d6c730b61953a0052046e67784e2fb5edd151c languageName: node linkType: hard @@ -28187,7 +28715,7 @@ __metadata: languageName: node linkType: hard -"js-yaml@npm:3.14.1, js-yaml@npm:^3.13.1, js-yaml@npm:^3.14.0, js-yaml@npm:^3.14.1, js-yaml@npm:^3.2.5, js-yaml@npm:^3.2.7, js-yaml@npm:^3.6.1, js-yaml@npm:^3.9.0": +"js-yaml@npm:3.14.1, js-yaml@npm:^3.13.1, js-yaml@npm:^3.14.0, js-yaml@npm:^3.14.1, js-yaml@npm:^3.2.5, js-yaml@npm:^3.2.7, js-yaml@npm:^3.6.1": version: 3.14.1 resolution: "js-yaml@npm:3.14.1" dependencies: @@ -28541,7 +29069,7 @@ __metadata: languageName: node linkType: hard -"json5@npm:2.x, json5@npm:^2.0.0, json5@npm:^2.1.0, json5@npm:^2.1.2, json5@npm:^2.1.3, json5@npm:^2.2.0, json5@npm:^2.2.1": +"json5@npm:2.x, json5@npm:^2.0.0, json5@npm:^2.1.0, json5@npm:^2.1.2, json5@npm:^2.2.0, json5@npm:^2.2.1": version: 2.2.1 resolution: "json5@npm:2.2.1" bin: @@ -28578,9 +29106,9 @@ __metadata: linkType: hard "jsonc-parser@npm:^3.0.0": - version: 3.1.0 - resolution: "jsonc-parser@npm:3.1.0" - checksum: c39b66b96c4ecb269187f4cd24fb3400b43d944eb023f5df9d9f4ab87cd396e26541d521b22379621458156badaf96a2520a75511e14fc15be8ad33eb88cbc91 + version: 3.2.0 + resolution: "jsonc-parser@npm:3.2.0" + checksum: 5a12d4d04dad381852476872a29dcee03a57439574e4181d91dca71904fcdcc5e8e4706c0a68a2c61ad9810e1e1c5806b5100d52d3e727b78f5cdc595401045b languageName: node linkType: hard @@ -28709,13 +29237,13 @@ __metadata: languageName: node linkType: hard -"jsx-ast-utils@npm:^2.4.1 || ^3.0.0, jsx-ast-utils@npm:^3.3.1": - version: 3.3.2 - resolution: "jsx-ast-utils@npm:3.3.2" +"jsx-ast-utils@npm:^2.4.1 || ^3.0.0, jsx-ast-utils@npm:^3.3.2": + version: 3.3.3 + resolution: "jsx-ast-utils@npm:3.3.3" dependencies: array-includes: ^3.1.5 - object.assign: ^4.1.2 - checksum: 97aa29b544aafbf46574b63a2e27f172f88d2b4f6180034a4908efddeffaa1ac3108063f59af39bfb549ed6f0aa84ddbb81d21ad3f487b273dc1d08dc55d4e69 + object.assign: ^4.1.3 + checksum: fb69ce100931e50d42c8f72a01495b7d090064824ce481cf7746449609c148a29aae6984624cf9066ac14bdf7978f8774461e120d5b50fa90b3bfe0a0e21ff77 languageName: node linkType: hard @@ -28731,14 +29259,14 @@ __metadata: linkType: hard "jszip@npm:^3.1.3": - version: 3.10.0 - resolution: "jszip@npm:3.10.0" + version: 3.10.1 + resolution: "jszip@npm:3.10.1" dependencies: lie: ~3.3.0 pako: ~1.0.2 readable-stream: ~2.3.6 setimmediate: ^1.0.5 - checksum: 4b38746e353d4d73406fbe29c3bc3659f92b4ee7f93e4c677fc86ea72e3e967354a4cc51dfa47698fc32880e83a9c6e17d892806321d02a469a2dc7408f6ef21 + checksum: 58e01ec9c4960383fb8b38dd5f67b83ccc1ec215bf74c8a5b32f42b6e5fb79fada5176842a11409c4051b5b94275044851814a31076bf49e1be218d3ef57c863 languageName: node linkType: hard @@ -28845,7 +29373,7 @@ __metadata: languageName: node linkType: hard -"kleur@npm:^4.0.3": +"kleur@npm:^4.0.3, kleur@npm:^4.1.5": version: 4.1.5 resolution: "kleur@npm:4.1.5" checksum: e9de6cb49657b6fa70ba2d1448fd3d691a5c4370d8f7bbf1c2f64c24d461270f2117e1b0afe8cb3114f13bbd8e51de158c2a224953960331904e636a5e4c0f2a @@ -28904,21 +29432,21 @@ __metadata: linkType: hard "launch-editor-middleware@npm:^2.2.1": - version: 2.4.0 - resolution: "launch-editor-middleware@npm:2.4.0" + version: 2.6.0 + resolution: "launch-editor-middleware@npm:2.6.0" dependencies: - launch-editor: ^2.4.0 - checksum: e79d39aac0192ea350dc6b933b3a683b5f43413c5e182c4a5451cb9738ab8497e0657a6b087f30f67a89398af21162e4b818559c0fb90b36861dd5af5e5caa77 + launch-editor: ^2.6.0 + checksum: 9c909198ce9e6f6c45168acde7fedb702e301418f05d7d9ca0e78c3851e873c9b51cc4c8fb22cf9c2d21d7c1661fb58e6b3b58ca20282a4fdaafbd1d9fe22a1a languageName: node linkType: hard -"launch-editor@npm:^2.2.1, launch-editor@npm:^2.4.0": - version: 2.4.0 - resolution: "launch-editor@npm:2.4.0" +"launch-editor@npm:^2.2.1, launch-editor@npm:^2.6.0": + version: 2.6.0 + resolution: "launch-editor@npm:2.6.0" dependencies: picocolors: ^1.0.0 - shell-quote: ^1.6.1 - checksum: 160590586d92d777b43f08a1d7858860070c25c86a3cec6e12fbb74161c09d9583af6afe57fc3f8817d1b51bc0737227f801cdf845592cfcc13bd50c997fa2da + shell-quote: ^1.7.3 + checksum: 4802b9569d8a1d477f8279a994094b415d89eb39dadbc568193bc366d64ac13827c8860539ee336fa6135a06596a9b8c8265cebac35c3fa36a2214d0eea38890 languageName: node linkType: hard @@ -29208,7 +29736,7 @@ __metadata: languageName: node linkType: hard -"lilconfig@npm:^2.0.3, lilconfig@npm:^2.0.5": +"lilconfig@npm:^2.0.3, lilconfig@npm:^2.0.5, lilconfig@npm:^2.0.6": version: 2.0.6 resolution: "lilconfig@npm:2.0.6" checksum: 52bcb478586c629a78b9b06de72de897cd6d771725e70ee91ec16605721afebf43cf54b4d20b6bf904ca70877ddd9531b9578494c694072d1573a6d4aba1545a @@ -30062,9 +30590,9 @@ __metadata: linkType: hard "lru-cache@npm:^7.7.1": - version: 7.13.1 - resolution: "lru-cache@npm:7.13.1" - checksum: 72034557cdb0d2ae32e5c1db928ee32b6d2b3a3e7b5aae2860f4f4c7272fefd4ebc5292a9df1dde10d07a78517836c49d84d8b101df13c100343bba80839c6cf + version: 7.14.0 + resolution: "lru-cache@npm:7.14.0" + checksum: 88f1a8c2fd3bafc69121104740dcebc71e4ace97fb03f0ccf3b7d52df7dc10eedb78951af74f08437cf5fdb8c50d5956a0bcc944a073540f027efd8357f87cd1 languageName: node linkType: hard @@ -30134,7 +30662,7 @@ __metadata: languageName: node linkType: hard -"magic-string@npm:^0.25.0, magic-string@npm:^0.25.3, magic-string@npm:^0.25.7": +"magic-string@npm:^0.25.0, magic-string@npm:^0.25.7": version: 0.25.9 resolution: "magic-string@npm:0.25.9" dependencies: @@ -30143,12 +30671,12 @@ __metadata: languageName: node linkType: hard -"magic-string@npm:^0.26.0": - version: 0.26.2 - resolution: "magic-string@npm:0.26.2" +"magic-string@npm:^0.26.0, magic-string@npm:^0.26.1, magic-string@npm:^0.26.2, magic-string@npm:^0.26.3": + version: 0.26.3 + resolution: "magic-string@npm:0.26.3" dependencies: sourcemap-codec: ^1.4.8 - checksum: abffa31439bccebdce3554ae496331c130af4d97f8cb96f4753ef5a4b7d5eb03d346107a0673b55187d7cbd67eb512ddc4424f82849a297dba571769896053ca + checksum: 9393155a0f2054baa6c178c0c9ff8e20590a0c182d76e39c220e0e35cab346c0440f81a19bca1d1a4d0c7c9910c71f11bf24b12c753cf722f0ef4c988d652fe7 languageName: node linkType: hard @@ -30188,8 +30716,8 @@ __metadata: linkType: hard "make-fetch-happen@npm:^10.0.1, make-fetch-happen@npm:^10.0.3": - version: 10.2.0 - resolution: "make-fetch-happen@npm:10.2.0" + version: 10.2.1 + resolution: "make-fetch-happen@npm:10.2.1" dependencies: agentkeepalive: ^4.2.1 cacache: ^16.1.0 @@ -30207,7 +30735,7 @@ __metadata: promise-retry: ^2.0.1 socks-proxy-agent: ^7.0.0 ssri: ^9.0.0 - checksum: ec51ded78f2d47be39aab4c4c1091e1850cf32b66472e252fc8927e26ad393c5c582178a95d5e77153566e9b2584909f2a7427ca5963f034b8ff0ba9c9f6518d + checksum: 28ec392f63ab93511f400839dcee83107eeecfaad737d1e8487ea08b4332cd89a8f3319584222edd9f6f1d0833cf516691469496d46491863f9e88c658013949 languageName: node linkType: hard @@ -30284,7 +30812,7 @@ __metadata: languageName: node linkType: hard -"map-obj@npm:^4.0.0, map-obj@npm:^4.1.0": +"map-obj@npm:^4.0.0": version: 4.3.0 resolution: "map-obj@npm:4.3.0" checksum: 1c19e1c88513c8abdab25c316367154c6a0a6a0f77e3e8c391bb7c0e093aefed293f539d026dc013d86219e5e4c25f23b0003ea588be2101ccd757bacc12d43b @@ -30430,11 +30958,11 @@ __metadata: linkType: hard "marked@npm:^4.0.12": - version: 4.0.18 - resolution: "marked@npm:4.0.18" + version: 4.1.0 + resolution: "marked@npm:4.1.0" bin: marked: bin/marked.js - checksum: 19be43882da313db65ef13f54d4bc1f250844a9183e0936ada920fc7792aad1b8652c1c5ec9bba5bc242da43edda93eb3ee4f03033fcfe3bbedbfb62dc836d65 + checksum: 6cabf22cf3a2f9eac8ddf1222adccf4da4210f3ce5caa75e712dcacc337cbf4810301ea946128882a34114389555b125d2b6ab59648d08d65480ecf7c53de432 languageName: node linkType: hard @@ -30616,23 +31144,23 @@ __metadata: linkType: hard "mdast-util-mdx-expression@npm:^1.0.0": - version: 1.2.1 - resolution: "mdast-util-mdx-expression@npm:1.2.1" + version: 1.3.0 + resolution: "mdast-util-mdx-expression@npm:1.3.0" dependencies: - "@types/estree-jsx": ^0.0.1 + "@types/estree-jsx": ^1.0.0 "@types/hast": ^2.0.0 "@types/mdast": ^3.0.0 mdast-util-from-markdown: ^1.0.0 mdast-util-to-markdown: ^1.0.0 - checksum: 9e52e46ca870dc4906248706ce8a810bc34a789e049070950ebf836ec513aaee71d20c9b9663d73782b1b67076d56c9a8974b06b65bfd0d4618e81a62c3442d5 + checksum: 3fb390191bc347c2c8e460fd2961091032e1196878177f586a714a13a3569e0656ace194f952a813aa1bf713dc0bc4f8079f53f6dfddb377bf0aba3895726a04 languageName: node linkType: hard "mdast-util-mdx-jsx@npm:^2.0.0": - version: 2.0.2 - resolution: "mdast-util-mdx-jsx@npm:2.0.2" + version: 2.1.0 + resolution: "mdast-util-mdx-jsx@npm:2.1.0" dependencies: - "@types/estree-jsx": ^0.0.1 + "@types/estree-jsx": ^1.0.0 "@types/hast": ^2.0.0 "@types/mdast": ^3.0.0 ccount: ^2.0.0 @@ -30642,7 +31170,7 @@ __metadata: unist-util-remove-position: ^4.0.0 unist-util-stringify-position: ^3.0.0 vfile-message: ^3.0.0 - checksum: 5045a76357ae0cb1242df918705327d4499824f7347551fd118eed30e68d793fed15b244ae50fd20b1207f38d92c715287558eed7d970aa4ece21331c01603af + checksum: a6e152a6f3f45e149a4a0047636691e5389c4e7e855503869e1c204e297a201175732b33b816f756d35394463c712af11e33a10e6ee9082115b57c6a931d62e7 languageName: node linkType: hard @@ -30658,15 +31186,15 @@ __metadata: linkType: hard "mdast-util-mdxjs-esm@npm:^1.0.0": - version: 1.2.1 - resolution: "mdast-util-mdxjs-esm@npm:1.2.1" + version: 1.3.0 + resolution: "mdast-util-mdxjs-esm@npm:1.3.0" dependencies: - "@types/estree-jsx": ^0.0.1 + "@types/estree-jsx": ^1.0.0 "@types/hast": ^2.0.0 "@types/mdast": ^3.0.0 mdast-util-from-markdown: ^1.0.0 mdast-util-to-markdown: ^1.0.0 - checksum: a9279b918906c58d627649a324750ff5bb294b8c41ae7ddddf4d62e1ce0ee7774bebca387e47e76b2e3d0ad4172d83f59ea48a35b5a98ef71f49716ae4117c82 + checksum: 55ca3f7fd7b65445107fae2e2c4c539de385ef9db3e0708e8eba5925274523bbeb9883d62e4886f8c68bf78ef3ed122c893eb292095bb8e76b07712d0f73ed22 languageName: node linkType: hard @@ -30687,8 +31215,8 @@ __metadata: linkType: hard "mdast-util-to-hast@npm:^12.1.0": - version: 12.1.2 - resolution: "mdast-util-to-hast@npm:12.1.2" + version: 12.2.1 + resolution: "mdast-util-to-hast@npm:12.2.1" dependencies: "@types/hast": ^2.0.0 "@types/mdast": ^3.0.0 @@ -30701,7 +31229,7 @@ __metadata: unist-util-generated: ^2.0.0 unist-util-position: ^4.0.0 unist-util-visit: ^4.0.0 - checksum: 9fa8c038201e63c06feddb93ed852e4c008662f539be93e7905e0f18826de801dfe71f803b4ec1e5a4e74ad87c50ed86ea2a2d4598cfbdf399dda7538a794116 + checksum: 16cc4c2ed6798cb07a125383bf83e8c1de6bc7cd5ded38bc44f90607675fce755392ef8f75dbcd740efd0df5fcc1856a9cd80305bee62256e1c0fbf720b3c53a languageName: node linkType: hard @@ -30833,33 +31361,6 @@ __metadata: languageName: node linkType: hard -"memorystream@npm:^0.3.1": - version: 0.3.1 - resolution: "memorystream@npm:0.3.1" - checksum: 4bd164657711d9747ff5edb0508b2944414da3464b7fe21ac5c67cf35bba975c4b446a0124bd0f9a8be54cfc18faf92e92bd77563a20328b1ccf2ff04e9f39b9 - languageName: node - linkType: hard - -"meow@npm:^10.1.0": - version: 10.1.3 - resolution: "meow@npm:10.1.3" - dependencies: - "@types/minimist": ^1.2.2 - camelcase-keys: ^7.0.0 - decamelize: ^5.0.0 - decamelize-keys: ^1.1.0 - hard-rejection: ^2.1.0 - minimist-options: 4.1.0 - normalize-package-data: ^3.0.2 - read-pkg-up: ^8.0.0 - redent: ^4.0.0 - trim-newlines: ^4.0.2 - type-fest: ^1.2.2 - yargs-parser: ^20.2.9 - checksum: 83370487875a4280268fcffc0d979ce4f90c1c020c6f5523890a5aae363712c00e1f692a81a625b289801a1555f8a2a7101521af498ef89de575aab53c54ef24 - languageName: node - linkType: hard - "meow@npm:^3.3.0": version: 3.7.0 resolution: "meow@npm:3.7.0" @@ -31290,17 +31791,17 @@ __metadata: linkType: hard "micromark-util-events-to-acorn@npm:^1.0.0": - version: 1.1.0 - resolution: "micromark-util-events-to-acorn@npm:1.1.0" + version: 1.2.0 + resolution: "micromark-util-events-to-acorn@npm:1.2.0" dependencies: "@types/acorn": ^4.0.0 - "@types/estree": ^0.0.51 + "@types/estree": ^1.0.0 estree-util-visit: ^1.0.0 micromark-util-types: ^1.0.0 uvu: ^0.5.0 vfile-location: ^4.0.0 vfile-message: ^3.0.0 - checksum: 5e05937ad5b6d9be9a3148e7d93cb1ddb6fc501e62c46f2f8abb3f1e360f36fcc48ca8fb53ed0ea6c3dd40732c8ade2d86561d896154fa0add855b88493b0ed4 + checksum: 7802cf8db0206a2b55a29e8c933677efb1d190c8c16eb0aaed8e2a4f5aa22bab47095aa2e68bccc66a6eaf3161a9bddac08be4dc3e0069502cb77d2eadf54c90 languageName: node linkType: hard @@ -31519,7 +32020,7 @@ __metadata: languageName: node linkType: hard -"min-indent@npm:^1.0.0, min-indent@npm:^1.0.1": +"min-indent@npm:^1.0.0": version: 1.0.1 resolution: "min-indent@npm:1.0.1" checksum: 7e207bd5c20401b292de291f02913230cb1163abca162044f7db1d951fa245b174dc00869d40dd9a9f32a885ad6a5f3e767ee104cf278f399cb4e92d3f582d5c @@ -31651,8 +32152,8 @@ __metadata: linkType: hard "minipass-fetch@npm:^2.0.3": - version: 2.1.0 - resolution: "minipass-fetch@npm:2.1.0" + version: 2.1.2 + resolution: "minipass-fetch@npm:2.1.2" dependencies: encoding: ^0.1.13 minipass: ^3.1.6 @@ -31661,7 +32162,7 @@ __metadata: dependenciesMeta: encoding: optional: true - checksum: 42c033fc1dfc245bd0d673922780dd68b769d3f9f973aeea2f03dd9fe37854a0a2892aa86c4db67e8179d2a271437212027419a866b91e5e2345fc56f9d1f71e + checksum: 33ab2c5bdb3d91b9cb8bc6ae42d7418f4f00f7f7beae14b3bb21ea18f9224e792f560a6e17b6f1be12bbeb70dbe99a269f4204c60e5d99130a0777b153505c43 languageName: node linkType: hard @@ -31713,11 +32214,11 @@ __metadata: linkType: hard "minipass@npm:^3.0.0, minipass@npm:^3.1.0, minipass@npm:^3.1.1, minipass@npm:^3.1.3, minipass@npm:^3.1.6": - version: 3.3.4 - resolution: "minipass@npm:3.3.4" + version: 3.3.5 + resolution: "minipass@npm:3.3.5" dependencies: yallist: ^4.0.0 - checksum: 942522f16a60b651de81031a095149206ebb8647f7d029f5eb4eed23b04e4f872a93ffec5f7dceb6defb00fa80cc413dd5aa1131471a480a24d7167f8264a273 + checksum: f1bb39af4d6ce60f8a1e02e7ef7f09fffd882c83decb7edd5cb1711b6eff93b34833d1845b7883864f8fca2d2498b62c882fec735deff759c91444bf6e821266 languageName: node linkType: hard @@ -31730,7 +32231,7 @@ __metadata: languageName: node linkType: hard -"minizlib@npm:^2.0.0, minizlib@npm:^2.1.0, minizlib@npm:^2.1.1, minizlib@npm:^2.1.2": +"minizlib@npm:^2.0.0, minizlib@npm:^2.1.1, minizlib@npm:^2.1.2": version: 2.1.2 resolution: "minizlib@npm:2.1.2" dependencies: @@ -31804,7 +32305,7 @@ __metadata: languageName: node linkType: hard -"mkdirp@npm:^0.5.0, mkdirp@npm:^0.5.1, mkdirp@npm:^0.5.4, mkdirp@npm:^0.5.5, mkdirp@npm:~0.5.1": +"mkdirp@npm:^0.5.0, mkdirp@npm:^0.5.1, mkdirp@npm:^0.5.4, mkdirp@npm:^0.5.5, mkdirp@npm:^0.5.6, mkdirp@npm:~0.5.1": version: 0.5.6 resolution: "mkdirp@npm:0.5.6" dependencies: @@ -31961,17 +32462,17 @@ __metadata: linkType: hard "msgpackr-extract@npm:^2.0.2": - version: 2.0.2 - resolution: "msgpackr-extract@npm:2.0.2" - dependencies: - "@msgpackr-extract/msgpackr-extract-darwin-arm64": 2.0.2 - "@msgpackr-extract/msgpackr-extract-darwin-x64": 2.0.2 - "@msgpackr-extract/msgpackr-extract-linux-arm": 2.0.2 - "@msgpackr-extract/msgpackr-extract-linux-arm64": 2.0.2 - "@msgpackr-extract/msgpackr-extract-linux-x64": 2.0.2 - "@msgpackr-extract/msgpackr-extract-win32-x64": 2.0.2 + version: 2.1.2 + resolution: "msgpackr-extract@npm:2.1.2" + dependencies: + "@msgpackr-extract/msgpackr-extract-darwin-arm64": 2.1.2 + "@msgpackr-extract/msgpackr-extract-darwin-x64": 2.1.2 + "@msgpackr-extract/msgpackr-extract-linux-arm": 2.1.2 + "@msgpackr-extract/msgpackr-extract-linux-arm64": 2.1.2 + "@msgpackr-extract/msgpackr-extract-linux-x64": 2.1.2 + "@msgpackr-extract/msgpackr-extract-win32-x64": 2.1.2 node-gyp: latest - node-gyp-build-optional-packages: 5.0.2 + node-gyp-build-optional-packages: 5.0.3 dependenciesMeta: "@msgpackr-extract/msgpackr-extract-darwin-arm64": optional: true @@ -31985,19 +32486,21 @@ __metadata: optional: true "@msgpackr-extract/msgpackr-extract-win32-x64": optional: true - checksum: dab2246a8c66a860d94fe3ad3632fe6c13fac1613a47d9a12953c790cde8ee932107808ec5c4e59eaac2176563987838206b2756fc5c27188d3c7a2f58e64323 + bin: + download-msgpackr-prebuilds: bin/download-prebuilds.js + checksum: 1fc1e951d66030cb064fac25cd356a5322eb19d82ad892d180fcc05d07a05e04f470f7ff8dbf27c33c7298aa6b30408683c9e99bb32fa65e1d840c2dc4830a78 languageName: node linkType: hard "msgpackr@npm:^1.5.4": - version: 1.6.1 - resolution: "msgpackr@npm:1.6.1" + version: 1.6.2 + resolution: "msgpackr@npm:1.6.2" dependencies: msgpackr-extract: ^2.0.2 dependenciesMeta: msgpackr-extract: optional: true - checksum: 2c2e19db882c022157a7b0213f475a0529a89f2125160998b967ab9951dc5af990e7afd925161e7f914b01c33c0885165ee490591ea2e643e3aabc41dd2abb22 + checksum: 9fc8f3d0aa1ce9d0c21ed23a2855edc3ab636c592ff2d4c29cbd8bbcc8aa5641d6a6986e537eafae61cff0d8601fdb8b879dd80c6c61d0aba61dd9f292b13fba languageName: node linkType: hard @@ -32223,28 +32726,28 @@ __metadata: linkType: hard "next@npm:^12.1.0": - version: 12.2.2 - resolution: "next@npm:12.2.2" - dependencies: - "@next/env": 12.2.2 - "@next/swc-android-arm-eabi": 12.2.2 - "@next/swc-android-arm64": 12.2.2 - "@next/swc-darwin-arm64": 12.2.2 - "@next/swc-darwin-x64": 12.2.2 - "@next/swc-freebsd-x64": 12.2.2 - "@next/swc-linux-arm-gnueabihf": 12.2.2 - "@next/swc-linux-arm64-gnu": 12.2.2 - "@next/swc-linux-arm64-musl": 12.2.2 - "@next/swc-linux-x64-gnu": 12.2.2 - "@next/swc-linux-x64-musl": 12.2.2 - "@next/swc-win32-arm64-msvc": 12.2.2 - "@next/swc-win32-ia32-msvc": 12.2.2 - "@next/swc-win32-x64-msvc": 12.2.2 - "@swc/helpers": 0.4.2 + version: 12.2.5 + resolution: "next@npm:12.2.5" + dependencies: + "@next/env": 12.2.5 + "@next/swc-android-arm-eabi": 12.2.5 + "@next/swc-android-arm64": 12.2.5 + "@next/swc-darwin-arm64": 12.2.5 + "@next/swc-darwin-x64": 12.2.5 + "@next/swc-freebsd-x64": 12.2.5 + "@next/swc-linux-arm-gnueabihf": 12.2.5 + "@next/swc-linux-arm64-gnu": 12.2.5 + "@next/swc-linux-arm64-musl": 12.2.5 + "@next/swc-linux-x64-gnu": 12.2.5 + "@next/swc-linux-x64-musl": 12.2.5 + "@next/swc-win32-arm64-msvc": 12.2.5 + "@next/swc-win32-ia32-msvc": 12.2.5 + "@next/swc-win32-x64-msvc": 12.2.5 + "@swc/helpers": 0.4.3 caniuse-lite: ^1.0.30001332 - postcss: 8.4.5 - styled-jsx: 5.0.2 - use-sync-external-store: 1.1.0 + postcss: 8.4.14 + styled-jsx: 5.0.4 + use-sync-external-store: 1.2.0 peerDependencies: fibers: ">= 3.1.0" node-sass: ^6.0.0 || ^7.0.0 @@ -32287,7 +32790,7 @@ __metadata: optional: true bin: next: dist/bin/next - checksum: 12f227a2a8e67a0ac1c960daf24871c2d35cea34c49b127487755245c80f5d3088bc4a8a759a950d2a30fb18b241855515fe81d5c4b406dd7982654acdb4bba7 + checksum: 7ecd475fa65c379a3247154e641d096b2b1be86d4d88248f9e20ca18b2fb93526d3573c18a023e3b27932fa18453e9a19fbe085bfbdd7f84485e84c26dfd163b languageName: node linkType: hard @@ -32422,6 +32925,17 @@ __metadata: languageName: node linkType: hard +"node-fetch@npm:3.2.8": + version: 3.2.8 + resolution: "node-fetch@npm:3.2.8" + dependencies: + data-uri-to-buffer: ^4.0.0 + fetch-blob: ^3.1.4 + formdata-polyfill: ^4.0.10 + checksum: 9984fc1de39d2c05bb42e5795b85a63c20069632b28f8dab97e84b4d4720b995ff87cc5f8c49691c65cbaab3d10af89590002aeecd8844e6dccd0b4be1223ec7 + languageName: node + linkType: hard + "node-fetch@npm:^2.5.0, node-fetch@npm:^2.6.0, node-fetch@npm:^2.6.1, node-fetch@npm:^2.6.7": version: 2.6.7 resolution: "node-fetch@npm:2.6.7" @@ -32436,17 +32950,6 @@ __metadata: languageName: node linkType: hard -"node-fetch@npm:^3.2.6": - version: 3.2.9 - resolution: "node-fetch@npm:3.2.9" - dependencies: - data-uri-to-buffer: ^4.0.0 - fetch-blob: ^3.1.4 - formdata-polyfill: ^4.0.10 - checksum: 05882a725c9a8bb497b9cb67eec378688f6ba48093c68c8a8793851e03ea3bb27b1255a4915b84cb8a5c318516ff924f22ee2e041016145b66e1da5b9f9212cc - languageName: node - linkType: hard - "node-forge@npm:^1": version: 1.3.1 resolution: "node-forge@npm:1.3.1" @@ -32454,17 +32957,6 @@ __metadata: languageName: node linkType: hard -"node-gyp-build-optional-packages@npm:5.0.2": - version: 5.0.2 - resolution: "node-gyp-build-optional-packages@npm:5.0.2" - bin: - node-gyp-build-optional: optional.js - node-gyp-build-optional-packages: bin.js - node-gyp-build-test: build-test.js - checksum: 073bfb4650cb6777b68aa8d8c2e01097b010e64545bb22133bdae144873c9b76c2288f3e7fb8e938eeecc8502ba7d5e67ca35af0be2b563faad54970e9771217 - languageName: node - linkType: hard - "node-gyp-build-optional-packages@npm:5.0.3": version: 5.0.3 resolution: "node-gyp-build-optional-packages@npm:5.0.3" @@ -32701,7 +33193,7 @@ __metadata: languageName: node linkType: hard -"normalize-package-data@npm:^3.0.0, normalize-package-data@npm:^3.0.2": +"normalize-package-data@npm:^3.0.0": version: 3.0.3 resolution: "normalize-package-data@npm:3.0.3" dependencies: @@ -32887,27 +33379,6 @@ __metadata: languageName: node linkType: hard -"npm-run-all@npm:^4.1.5": - version: 4.1.5 - resolution: "npm-run-all@npm:4.1.5" - dependencies: - ansi-styles: ^3.2.1 - chalk: ^2.4.1 - cross-spawn: ^6.0.5 - memorystream: ^0.3.1 - minimatch: ^3.0.4 - pidtree: ^0.3.0 - read-pkg: ^3.0.0 - shell-quote: ^1.6.1 - string.prototype.padend: ^3.0.0 - bin: - npm-run-all: bin/npm-run-all/index.js - run-p: bin/run-p/index.js - run-s: bin/run-s/index.js - checksum: 736ee39bd35454d3efaa4a2e53eba6c523e2e17fba21a18edcce6b221f5cab62000bef16bb6ae8aff9e615831e6b0eb25ab51d52d60e6fa6f4ea880e4c6d31f4 - languageName: node - linkType: hard - "npm-run-path@npm:^2.0.0": version: 2.0.2 resolution: "npm-run-path@npm:2.0.2" @@ -33011,18 +33482,18 @@ __metadata: linkType: hard "nwsapi@npm:^2.0.7, nwsapi@npm:^2.0.9, nwsapi@npm:^2.2.0": - version: 2.2.1 - resolution: "nwsapi@npm:2.2.1" - checksum: 1412f557f5acb72a15dcc59374b7c917f1c65c7d56c6c542da69afc7756ab3e99fe9744302f92a699f600cf664e3ce5de08e74e2aedacd836cd5b7a889136e23 + version: 2.2.2 + resolution: "nwsapi@npm:2.2.2" + checksum: f7c4fedb0dc0786204ee99f440e9827d6e01a0c0322e93b5c9a9a382dd0bd9650d98ca3d1967a77554e3ec1f9a46a20cfea80a41fb00e91c5101c53d8b2c9aed languageName: node linkType: hard -"nx@npm:14.4.3": - version: 14.4.3 - resolution: "nx@npm:14.4.3" +"nx@npm:14.6.1": + version: 14.6.1 + resolution: "nx@npm:14.6.1" dependencies: - "@nrwl/cli": 14.4.3 - "@nrwl/tao": 14.4.3 + "@nrwl/cli": 14.6.1 + "@nrwl/tao": 14.6.1 "@parcel/watcher": 2.0.4 chalk: 4.1.0 chokidar: ^3.5.1 @@ -33061,7 +33532,7 @@ __metadata: optional: true bin: nx: bin/nx.js - checksum: 9130bcbfcf8bdf7d99ce0725271486c7bed291b279d67489bcb37ea4d28ceb7c25518a22553a34f94f28b4bcd6448f2ea74b76201605b1d2cae6e3a5bbc6199e + checksum: 9f448a1f0e171d8b735a9a6e6930b8b199183ff9e224e6b6acac8ecd64d2eaf67261dca86a848befc96c60134096377f9d20b96b8c2829d658622603a718a01d languageName: node linkType: hard @@ -33118,7 +33589,7 @@ __metadata: languageName: node linkType: hard -"object-inspect@npm:^1.12.0, object-inspect@npm:^1.6.0, object-inspect@npm:^1.7.0, object-inspect@npm:^1.9.0": +"object-inspect@npm:^1.12.2, object-inspect@npm:^1.6.0, object-inspect@npm:^1.7.0, object-inspect@npm:^1.9.0": version: 1.12.2 resolution: "object-inspect@npm:1.12.2" checksum: e1bd625f4c44a2f733bd69cfccce6469f71333fb09c6de151f4f346c16d658ef7555727b12652c108e20c2afb908ae7cd165f52ca53745a1d6cbf228cdb46ebe @@ -33151,15 +33622,15 @@ __metadata: languageName: node linkType: hard -"object.assign@npm:^4.1.0, object.assign@npm:^4.1.2": - version: 4.1.2 - resolution: "object.assign@npm:4.1.2" +"object.assign@npm:^4.1.0, object.assign@npm:^4.1.2, object.assign@npm:^4.1.3, object.assign@npm:^4.1.4": + version: 4.1.4 + resolution: "object.assign@npm:4.1.4" dependencies: - call-bind: ^1.0.0 - define-properties: ^1.1.3 - has-symbols: ^1.0.1 + call-bind: ^1.0.2 + define-properties: ^1.1.4 + has-symbols: ^1.0.3 object-keys: ^1.1.1 - checksum: ee0e796fad8952f05644d11632f046dc4b424f9a41d3816e11a612163b12a873c800456be9acdaec6221b72590ab5267e5fe4bf4cf1c67f88b05f82f133ac829 + checksum: 2f286118c023e557757620e647b02e7c88d3d417e0c568fca0820de8ec9cca68928304854d5b03e99763eddad6e78a6716e2930f7e6372e4b9b843f3fd3056f3 languageName: node linkType: hard @@ -33254,33 +33725,33 @@ __metadata: dependencies: "@emotion/jest": ^11.8.0 "@pmmmwh/react-refresh-webpack-plugin": ^0.5.5 - "@storybook/addon-a11y": 7.0.0-alpha.20 - "@storybook/addon-actions": 7.0.0-alpha.20 - "@storybook/addon-backgrounds": 7.0.0-alpha.20 - "@storybook/addon-controls": 7.0.0-alpha.20 - "@storybook/addon-docs": 7.0.0-alpha.20 - "@storybook/addon-highlight": 7.0.0-alpha.20 - "@storybook/addon-interactions": 7.0.0-alpha.20 - "@storybook/addon-jest": 7.0.0-alpha.20 - "@storybook/addon-links": 7.0.0-alpha.20 - "@storybook/addon-storyshots": 7.0.0-alpha.20 - "@storybook/addon-storyshots-puppeteer": 7.0.0-alpha.20 - "@storybook/addon-storysource": 7.0.0-alpha.20 - "@storybook/addon-toolbars": 7.0.0-alpha.20 - "@storybook/addon-viewport": 7.0.0-alpha.20 - "@storybook/addons": 7.0.0-alpha.20 - "@storybook/cli": 7.0.0-alpha.20 - "@storybook/components": 7.0.0-alpha.20 - "@storybook/core-events": 7.0.0-alpha.20 + "@storybook/addon-a11y": 7.0.0-alpha.31 + "@storybook/addon-actions": 7.0.0-alpha.31 + "@storybook/addon-backgrounds": 7.0.0-alpha.31 + "@storybook/addon-controls": 7.0.0-alpha.31 + "@storybook/addon-docs": 7.0.0-alpha.31 + "@storybook/addon-highlight": 7.0.0-alpha.31 + "@storybook/addon-interactions": 7.0.0-alpha.31 + "@storybook/addon-jest": 7.0.0-alpha.31 + "@storybook/addon-links": 7.0.0-alpha.31 + "@storybook/addon-storyshots": 7.0.0-alpha.31 + "@storybook/addon-storyshots-puppeteer": 7.0.0-alpha.31 + "@storybook/addon-storysource": 7.0.0-alpha.31 + "@storybook/addon-toolbars": 7.0.0-alpha.31 + "@storybook/addon-viewport": 7.0.0-alpha.31 + "@storybook/addons": 7.0.0-alpha.31 + "@storybook/cli": 7.0.0-alpha.31 + "@storybook/components": 7.0.0-alpha.31 + "@storybook/core-events": 7.0.0-alpha.31 "@storybook/design-system": ^5.4.7 "@storybook/jest": ^0.0.10 - "@storybook/node-logger": 7.0.0-alpha.20 - "@storybook/react": 7.0.0-alpha.20 - "@storybook/react-webpack5": 7.0.0-alpha.20 - "@storybook/router": 7.0.0-alpha.20 - "@storybook/source-loader": 7.0.0-alpha.20 + "@storybook/node-logger": 7.0.0-alpha.31 + "@storybook/react": 7.0.0-alpha.31 + "@storybook/react-webpack5": 7.0.0-alpha.31 + "@storybook/router": 7.0.0-alpha.31 + "@storybook/source-loader": 7.0.0-alpha.31 "@storybook/testing-library": 0.0.14-next.0 - "@storybook/theming": 7.0.0-alpha.20 + "@storybook/theming": 7.0.0-alpha.31 "@testing-library/dom": ^7.31.2 "@testing-library/user-event": ^13.1.9 chromatic: ^6.0.2 @@ -33296,7 +33767,7 @@ __metadata: prop-types: ^15.7.2 react: 16.14.0 react-dom: 16.14.0 - storybook: 7.0.0-alpha.20 + storybook: 7.0.0-alpha.31 terser-webpack-plugin: ^5.3.1 uuid-browser: ^3.1.0 webpack: 5 @@ -33368,7 +33839,7 @@ __metadata: languageName: node linkType: hard -"open@npm:^7.0.3, open@npm:^7.4.2": +"open@npm:^7.0.3": version: 7.4.2 resolution: "open@npm:7.4.2" dependencies: @@ -33979,7 +34450,7 @@ __metadata: languageName: node linkType: hard -"parse-path@npm:^4.0.4": +"parse-path@npm:^4.0.0": version: 4.0.4 resolution: "parse-path@npm:4.0.4" dependencies: @@ -33992,14 +34463,14 @@ __metadata: linkType: hard "parse-url@npm:^6.0.0": - version: 6.0.2 - resolution: "parse-url@npm:6.0.2" + version: 6.0.5 + resolution: "parse-url@npm:6.0.5" dependencies: is-ssh: ^1.3.0 normalize-url: ^6.1.0 - parse-path: ^4.0.4 + parse-path: ^4.0.0 protocols: ^1.4.0 - checksum: 6cbd150a2a89d4ea03985fa29a5e04c484a24945cec7f7fa9ad3615438896337e79f75bbf556a4c99a1893b4c9be2fd31435cf22e8067c3c95c5cce39b306585 + checksum: b57884955daa61e1a610414e0754c0565e118127b1a4ad0f5c2247c8351dc23abbe3b56c64aa35ee2d9fd04189faed8e416c9a1269b2880a436c0a67906c222c languageName: node linkType: hard @@ -34070,11 +34541,11 @@ __metadata: linkType: hard "parse5@npm:^7.0.0": - version: 7.0.0 - resolution: "parse5@npm:7.0.0" + version: 7.1.1 + resolution: "parse5@npm:7.1.1" dependencies: - entities: ^4.3.0 - checksum: 10fc17755a7b81279da53988f56d2d0d8b1b832dd1c4df14e2f25d4f15cd363e9ee781428785da3780b32114c8e9eec11a2b68e00e0cea16e9ee839756118c41 + entities: ^4.4.0 + checksum: 20d4ffb1eccad4a2d6c320d2d98b07814f43ab7762e11ffea247b0d54981646f99eeba4da16e06c568877e532ca32a6b5c5e4fafc4eb87daf890957050482435 languageName: node linkType: hard @@ -34167,7 +34638,7 @@ __metadata: languageName: node linkType: hard -"path-parse@npm:^1.0.6, path-parse@npm:^1.0.7": +"path-parse@npm:^1.0.7": version: 1.0.7 resolution: "path-parse@npm:1.0.7" checksum: 11ce261f9d294cc7a58d6a574b7f1b935842355ec66fba3c3fd79e0f036462eaf07d0aa95bb74ff432f9afef97ce1926c720988c6a7451d8a584930ae7de86e1 @@ -34252,17 +34723,17 @@ __metadata: linkType: hard "pdfjs-dist@npm:^2.12.313": - version: 2.14.305 - resolution: "pdfjs-dist@npm:2.14.305" + version: 2.16.105 + resolution: "pdfjs-dist@npm:2.16.105" dependencies: - dommatrix: ^1.0.1 + dommatrix: ^1.0.3 web-streams-polyfill: ^3.2.1 peerDependencies: worker-loader: ^3.0.8 peerDependenciesMeta: worker-loader: optional: true - checksum: c91d9b1e4fd9e55abb2a4864df928c3adc96f5280864131256adcf8b10fface549a275a46d9f911b58b04447e367113bfe890d64660a8f0d6809d044a88fbfe7 + checksum: 903a2d95fb3b8a2ec66fb3164813e6181512a144abc39b7f87a735fbcf3384b1d2ee3c6ed8dde70bfbe87c8ae5f87fea8c799c22a2ebe2669ed8573bc076d1f6 languageName: node linkType: hard @@ -34323,15 +34794,6 @@ __metadata: languageName: node linkType: hard -"pidtree@npm:^0.3.0": - version: 0.3.1 - resolution: "pidtree@npm:0.3.1" - bin: - pidtree: bin/pidtree.js - checksum: cd69b0182f749f45ab48584e3442c48c5dc4512502c18d5b0147a33b042c41a4db4269b9ce2f7c48f11833ee5e79d81f5ebc6f7bf8372d4ea55726f60dc505a1 - languageName: node - linkType: hard - "pify@npm:^2.0.0, pify@npm:^2.2.0, pify@npm:^2.3.0": version: 2.3.0 resolution: "pify@npm:2.3.0" @@ -34461,23 +34923,23 @@ __metadata: languageName: node linkType: hard -"playwright-core@npm:1.24.2": - version: 1.24.2 - resolution: "playwright-core@npm:1.24.2" +"playwright-core@npm:1.25.2": + version: 1.25.2 + resolution: "playwright-core@npm:1.25.2" bin: playwright: cli.js - checksum: ecd60ece818f1d57bf34685dd812c56f3b8cf7d8ca8e14074e1743fac56387f16791121901b34cf519d3ef5f9360968656ab661c7b589e55500144eb2cf69448 + checksum: 9c5fb23220a824e755d9bca4055ba85fe08538722f0837b9012505a76f387103eee4e30e4cebe0d704904b5e7a5d9d33cfc3f67181d6fd1a8488cb5ffbeb469b languageName: node linkType: hard "playwright@npm:^1.24.2": - version: 1.24.2 - resolution: "playwright@npm:1.24.2" + version: 1.25.2 + resolution: "playwright@npm:1.25.2" dependencies: - playwright-core: 1.24.2 + playwright-core: 1.25.2 bin: playwright: cli.js - checksum: c5e4cfd57f8030f15e019c101c867a5ce3f1d12c3a6d8a32a9fb34897746470faced7935d5cc920c85082c0aec0bcf5bb23174ba55f6eabf942d38707a40d1f0 + checksum: f8c5647dd680dd6f15d1f7bb19f2afec9a62b7331721b0860b3777bb8f1e653fa2fb737a8e79564557805505c0d8e255fbdedb2c1cc9dd219f1b8c1f7141a744 languageName: node linkType: hard @@ -34560,13 +35022,13 @@ __metadata: linkType: hard "portfinder@npm:^1.0.25, portfinder@npm:^1.0.26, portfinder@npm:^1.0.28": - version: 1.0.28 - resolution: "portfinder@npm:1.0.28" + version: 1.0.32 + resolution: "portfinder@npm:1.0.32" dependencies: - async: ^2.6.2 - debug: ^3.1.1 - mkdirp: ^0.5.5 - checksum: fefd3d65a6464b498e0e9b4a4b82f29489441bb1892a3350403cfdf6e591e583d9e75bac1c6ae8ca2cdf1a942ae18890831a0a855bb1bb977678acdf9e5a560f + async: ^2.6.4 + debug: ^3.2.7 + mkdirp: ^0.5.6 + checksum: cef8b567b78aabccc59fe8e103bac8b394bb45a6a69be626608f099f454124c775aaf47b274c006332c07ab3f501cde55e49aaeb9d49d78d90362d776a565cbf languageName: node linkType: hard @@ -34577,7 +35039,7 @@ __metadata: languageName: node linkType: hard -"postcss-attribute-case-insensitive@npm:^5.0.0, postcss-attribute-case-insensitive@npm:^5.0.1": +"postcss-attribute-case-insensitive@npm:^5.0.0, postcss-attribute-case-insensitive@npm:^5.0.2": version: 5.0.2 resolution: "postcss-attribute-case-insensitive@npm:5.0.2" dependencies: @@ -34621,7 +35083,7 @@ __metadata: languageName: node linkType: hard -"postcss-color-functional-notation@npm:^4.2.1, postcss-color-functional-notation@npm:^4.2.3": +"postcss-color-functional-notation@npm:^4.2.1, postcss-color-functional-notation@npm:^4.2.4": version: 4.2.4 resolution: "postcss-color-functional-notation@npm:4.2.4" dependencies: @@ -34653,7 +35115,7 @@ __metadata: languageName: node linkType: hard -"postcss-color-rebeccapurple@npm:^7.0.2, postcss-color-rebeccapurple@npm:^7.1.0": +"postcss-color-rebeccapurple@npm:^7.0.2, postcss-color-rebeccapurple@npm:^7.1.1": version: 7.1.1 resolution: "postcss-color-rebeccapurple@npm:7.1.1" dependencies: @@ -34723,7 +35185,7 @@ __metadata: languageName: node linkType: hard -"postcss-dir-pseudo-class@npm:^6.0.3, postcss-dir-pseudo-class@npm:^6.0.4": +"postcss-dir-pseudo-class@npm:^6.0.3, postcss-dir-pseudo-class@npm:^6.0.5": version: 6.0.5 resolution: "postcss-dir-pseudo-class@npm:6.0.5" dependencies: @@ -34770,7 +35232,7 @@ __metadata: languageName: node linkType: hard -"postcss-double-position-gradients@npm:^3.0.4, postcss-double-position-gradients@npm:^3.1.1": +"postcss-double-position-gradients@npm:^3.0.4, postcss-double-position-gradients@npm:^3.1.2": version: 3.1.2 resolution: "postcss-double-position-gradients@npm:3.1.2" dependencies: @@ -34833,7 +35295,7 @@ __metadata: languageName: node linkType: hard -"postcss-gap-properties@npm:^3.0.2, postcss-gap-properties@npm:^3.0.3": +"postcss-gap-properties@npm:^3.0.2, postcss-gap-properties@npm:^3.0.5": version: 3.0.5 resolution: "postcss-gap-properties@npm:3.0.5" peerDependencies: @@ -34842,7 +35304,7 @@ __metadata: languageName: node linkType: hard -"postcss-image-set-function@npm:^4.0.4, postcss-image-set-function@npm:^4.0.6": +"postcss-image-set-function@npm:^4.0.4, postcss-image-set-function@npm:^4.0.7": version: 4.0.7 resolution: "postcss-image-set-function@npm:4.0.7" dependencies: @@ -34899,7 +35361,7 @@ __metadata: languageName: node linkType: hard -"postcss-lab-function@npm:^4.0.3, postcss-lab-function@npm:^4.2.0": +"postcss-lab-function@npm:^4.0.3, postcss-lab-function@npm:^4.2.1": version: 4.2.1 resolution: "postcss-lab-function@npm:4.2.1" dependencies: @@ -35164,7 +35626,7 @@ __metadata: languageName: node linkType: hard -"postcss-nesting@npm:^10.1.2, postcss-nesting@npm:^10.1.9": +"postcss-nesting@npm:^10.1.10, postcss-nesting@npm:^10.1.2": version: 10.1.10 resolution: "postcss-nesting@npm:10.1.10" dependencies: @@ -35308,7 +35770,7 @@ __metadata: languageName: node linkType: hard -"postcss-overflow-shorthand@npm:^3.0.2, postcss-overflow-shorthand@npm:^3.0.3": +"postcss-overflow-shorthand@npm:^3.0.2, postcss-overflow-shorthand@npm:^3.0.4": version: 3.0.4 resolution: "postcss-overflow-shorthand@npm:3.0.4" dependencies: @@ -35328,7 +35790,7 @@ __metadata: languageName: node linkType: hard -"postcss-place@npm:^7.0.3, postcss-place@npm:^7.0.4": +"postcss-place@npm:^7.0.3, postcss-place@npm:^7.0.5": version: 7.0.5 resolution: "postcss-place@npm:7.0.5" dependencies: @@ -35383,63 +35845,65 @@ __metadata: linkType: hard "postcss-preset-env@npm:^7.0.1": - version: 7.7.2 - resolution: "postcss-preset-env@npm:7.7.2" - dependencies: - "@csstools/postcss-cascade-layers": ^1.0.4 - "@csstools/postcss-color-function": ^1.1.0 - "@csstools/postcss-font-format-keywords": ^1.0.0 - "@csstools/postcss-hwb-function": ^1.0.1 - "@csstools/postcss-ic-unit": ^1.0.0 - "@csstools/postcss-is-pseudo-class": ^2.0.6 - "@csstools/postcss-normalize-display-values": ^1.0.0 - "@csstools/postcss-oklab-function": ^1.1.0 + version: 7.8.1 + resolution: "postcss-preset-env@npm:7.8.1" + dependencies: + "@csstools/postcss-cascade-layers": ^1.0.6 + "@csstools/postcss-color-function": ^1.1.1 + "@csstools/postcss-font-format-keywords": ^1.0.1 + "@csstools/postcss-hwb-function": ^1.0.2 + "@csstools/postcss-ic-unit": ^1.0.1 + "@csstools/postcss-is-pseudo-class": ^2.0.7 + "@csstools/postcss-nested-calc": ^1.0.0 + "@csstools/postcss-normalize-display-values": ^1.0.1 + "@csstools/postcss-oklab-function": ^1.1.1 "@csstools/postcss-progressive-custom-properties": ^1.3.0 - "@csstools/postcss-stepped-value-functions": ^1.0.0 - "@csstools/postcss-trigonometric-functions": ^1.0.1 - "@csstools/postcss-unset-value": ^1.0.1 - autoprefixer: ^10.4.7 - browserslist: ^4.21.0 + "@csstools/postcss-stepped-value-functions": ^1.0.1 + "@csstools/postcss-text-decoration-shorthand": ^1.0.0 + "@csstools/postcss-trigonometric-functions": ^1.0.2 + "@csstools/postcss-unset-value": ^1.0.2 + autoprefixer: ^10.4.8 + browserslist: ^4.21.3 css-blank-pseudo: ^3.0.3 css-has-pseudo: ^3.0.4 css-prefers-color-scheme: ^6.0.3 - cssdb: ^6.6.3 - postcss-attribute-case-insensitive: ^5.0.1 + cssdb: ^7.0.1 + postcss-attribute-case-insensitive: ^5.0.2 postcss-clamp: ^4.1.0 - postcss-color-functional-notation: ^4.2.3 + postcss-color-functional-notation: ^4.2.4 postcss-color-hex-alpha: ^8.0.4 - postcss-color-rebeccapurple: ^7.1.0 + postcss-color-rebeccapurple: ^7.1.1 postcss-custom-media: ^8.0.2 postcss-custom-properties: ^12.1.8 postcss-custom-selectors: ^6.0.3 - postcss-dir-pseudo-class: ^6.0.4 - postcss-double-position-gradients: ^3.1.1 + postcss-dir-pseudo-class: ^6.0.5 + postcss-double-position-gradients: ^3.1.2 postcss-env-function: ^4.0.6 postcss-focus-visible: ^6.0.4 postcss-focus-within: ^5.0.4 postcss-font-variant: ^5.0.0 - postcss-gap-properties: ^3.0.3 - postcss-image-set-function: ^4.0.6 + postcss-gap-properties: ^3.0.5 + postcss-image-set-function: ^4.0.7 postcss-initial: ^4.0.1 - postcss-lab-function: ^4.2.0 + postcss-lab-function: ^4.2.1 postcss-logical: ^5.0.4 postcss-media-minmax: ^5.0.0 - postcss-nesting: ^10.1.9 + postcss-nesting: ^10.1.10 postcss-opacity-percentage: ^1.1.2 - postcss-overflow-shorthand: ^3.0.3 + postcss-overflow-shorthand: ^3.0.4 postcss-page-break: ^3.0.4 - postcss-place: ^7.0.4 - postcss-pseudo-class-any-link: ^7.1.5 + postcss-place: ^7.0.5 + postcss-pseudo-class-any-link: ^7.1.6 postcss-replace-overflow-wrap: ^4.0.0 - postcss-selector-not: ^6.0.0 + postcss-selector-not: ^6.0.1 postcss-value-parser: ^4.2.0 peerDependencies: postcss: ^8.2 - checksum: 75c9423b1ee4316ec3c01352f30a2ab6d29458c2836d52ef57437968237022f1994f1b537be8614a8a1b45de799f573966334616b50fe814ef45b4d82a509fe2 + checksum: 298880ddfae3148e8877450b02266f8c7799c97f65e820aafeb5ffba8ec7f37bb88f8ca84bcd3b76f0e1c3051d90800da9dad578ec73539057064094c9ece24e languageName: node linkType: hard -"postcss-pseudo-class-any-link@npm:^7.0.2, postcss-pseudo-class-any-link@npm:^7.1.5": +"postcss-pseudo-class-any-link@npm:^7.0.2, postcss-pseudo-class-any-link@npm:^7.1.6": version: 7.1.6 resolution: "postcss-pseudo-class-any-link@npm:7.1.6" dependencies: @@ -35493,7 +35957,7 @@ __metadata: languageName: node linkType: hard -"postcss-selector-not@npm:^6.0.0": +"postcss-selector-not@npm:^6.0.1": version: 6.0.1 resolution: "postcss-selector-not@npm:6.0.1" dependencies: @@ -35573,6 +36037,17 @@ __metadata: languageName: node linkType: hard +"postcss@npm:8.4.14": + version: 8.4.14 + resolution: "postcss@npm:8.4.14" + dependencies: + nanoid: ^3.3.4 + picocolors: ^1.0.0 + source-map-js: ^1.0.2 + checksum: 2a4cfa28e2f1bfd358313501f7771bd596e494487c7b735c492e2f8b1faf493d24fcb43e2e6ad825863fc65a77abb949ca8f228602ae46a022f02dc812c4ac8b + languageName: node + linkType: hard + "postcss@npm:8.4.5": version: 8.4.5 resolution: "postcss@npm:8.4.5" @@ -35584,14 +36059,14 @@ __metadata: languageName: node linkType: hard -"postcss@npm:^8.1.10, postcss@npm:^8.2.14, postcss@npm:^8.2.15, postcss@npm:^8.2.4, postcss@npm:^8.2.6, postcss@npm:^8.3.5, postcss@npm:^8.3.7, postcss@npm:^8.4.14, postcss@npm:^8.4.4, postcss@npm:^8.4.7": - version: 8.4.14 - resolution: "postcss@npm:8.4.14" +"postcss@npm:^8.1.10, postcss@npm:^8.2.14, postcss@npm:^8.2.15, postcss@npm:^8.2.4, postcss@npm:^8.2.6, postcss@npm:^8.3.5, postcss@npm:^8.3.7, postcss@npm:^8.4.14, postcss@npm:^8.4.16, postcss@npm:^8.4.4, postcss@npm:^8.4.7": + version: 8.4.16 + resolution: "postcss@npm:8.4.16" dependencies: nanoid: ^3.3.4 picocolors: ^1.0.0 source-map-js: ^1.0.2 - checksum: 2a4cfa28e2f1bfd358313501f7771bd596e494487c7b735c492e2f8b1faf493d24fcb43e2e6ad825863fc65a77abb949ca8f228602ae46a022f02dc812c4ac8b + checksum: 971e10b5492ffce3d30e39ffba1b4f135d0c751bf774493babe4cb89ddb4995aabb2ce290f48bbf1d9ae60016a6ad492535e614b22b15322f977c7744e800fa2 languageName: node linkType: hard @@ -35662,18 +36137,18 @@ __metadata: resolution: "preact-example@workspace:examples/preact-kitchen-sink" dependencies: "@babel/core": ^7.12.10 - "@storybook/addon-a11y": 7.0.0-alpha.20 - "@storybook/addon-actions": 7.0.0-alpha.20 - "@storybook/addon-backgrounds": 7.0.0-alpha.20 - "@storybook/addon-highlight": 7.0.0-alpha.20 - "@storybook/addon-links": 7.0.0-alpha.20 - "@storybook/addon-storyshots": 7.0.0-alpha.20 - "@storybook/addon-storysource": 7.0.0-alpha.20 - "@storybook/addon-viewport": 7.0.0-alpha.20 - "@storybook/addons": 7.0.0-alpha.20 - "@storybook/preact": 7.0.0-alpha.20 - "@storybook/preact-webpack5": 7.0.0-alpha.20 - "@storybook/source-loader": 7.0.0-alpha.20 + "@storybook/addon-a11y": 7.0.0-alpha.31 + "@storybook/addon-actions": 7.0.0-alpha.31 + "@storybook/addon-backgrounds": 7.0.0-alpha.31 + "@storybook/addon-highlight": 7.0.0-alpha.31 + "@storybook/addon-links": 7.0.0-alpha.31 + "@storybook/addon-storyshots": 7.0.0-alpha.31 + "@storybook/addon-storysource": 7.0.0-alpha.31 + "@storybook/addon-viewport": 7.0.0-alpha.31 + "@storybook/addons": 7.0.0-alpha.31 + "@storybook/preact": 7.0.0-alpha.31 + "@storybook/preact-webpack5": 7.0.0-alpha.31 + "@storybook/source-loader": 7.0.0-alpha.31 "@types/prop-types": ^15.7.3 "@types/react": ^17 "@types/react-dom": ^17 @@ -35688,7 +36163,7 @@ __metadata: raw-loader: ^4.0.2 react: ^17.0.2 react-dom: ^17.0.2 - storybook: 7.0.0-alpha.20 + storybook: 7.0.0-alpha.31 svg-url-loader: ^7.1.1 webpack: 5 webpack-dev-server: ^4.8.1 @@ -35707,13 +36182,13 @@ __metadata: linkType: hard "preact-render-to-string@npm:^5.1.19": - version: 5.2.1 - resolution: "preact-render-to-string@npm:5.2.1" + version: 5.2.3 + resolution: "preact-render-to-string@npm:5.2.3" dependencies: pretty-format: ^3.8.0 peerDependencies: preact: ">=10" - checksum: 81fd59eeaa5f1b810536e6eab41cb98fe5911b96319f49f859f503c61608f81c5dd84e45f819590022ea7fea4b5c89d96fb0131be0d44f0f7d5c738a69607207 + checksum: c7695dd034a2dc50e3fd44621fd55e2d41854ab0abbcbc833a81feb3593a22a011596049de5a2486f71483323467a827adc7d6077cbbb1d154c0089fd8ab4cd7 languageName: node linkType: hard @@ -35727,9 +36202,9 @@ __metadata: linkType: hard "preact@npm:^10.5.13": - version: 10.10.0 - resolution: "preact@npm:10.10.0" - checksum: ec464e59aed31810a4c8a914284ca8888dc23541d90bea07321113a54a12c98c7352b58068e0deeab4b141cb61302365cb80b6d76f0fbee485113de5feb4b141 + version: 10.10.6 + resolution: "preact@npm:10.10.6" + checksum: c2d645285dd02f76cc0e1eb461ee5e530d290a3cadc1059da47d067e6d3e04ed4dd057679ab0b8d076f6136a85a935be8f8437fc9713ae863937cc800283ee47 languageName: node linkType: hard @@ -35763,21 +36238,21 @@ __metadata: languageName: node linkType: hard -"prettier@npm:>=2.2.1 <=2.3.0": - version: 2.3.0 - resolution: "prettier@npm:2.3.0" +"prettier@npm:2.7.1, prettier@npm:^1.18.2 || ^2.0.0": + version: 2.7.1 + resolution: "prettier@npm:2.7.1" bin: prettier: bin-prettier.js - checksum: b9f434af2f25a37aad0b133894827e980885eb8bf317444c9dde0401ed2c7f463f9996d691f5ee5a0a4450ab46a894cd6557516b561e2522821522ce1f4c6668 + checksum: 359d2b7ecf36bd52924a48331cae506d335f18637fde6c686212f952b9ce678ce9f554a80571049b36ec2897a8a6c40094b776dea371cc5c04c481cf5b78504b languageName: node linkType: hard -"prettier@npm:^1.18.2 || ^2.0.0": - version: 2.7.1 - resolution: "prettier@npm:2.7.1" +"prettier@npm:>=2.2.1 <=2.3.0": + version: 2.3.0 + resolution: "prettier@npm:2.3.0" bin: prettier: bin-prettier.js - checksum: 359d2b7ecf36bd52924a48331cae506d335f18637fde6c686212f952b9ce678ce9f554a80571049b36ec2897a8a6c40094b776dea371cc5c04c481cf5b78504b + checksum: b9f434af2f25a37aad0b133894827e980885eb8bf317444c9dde0401ed2c7f463f9996d691f5ee5a0a4450ab46a894cd6557516b561e2522821522ce1f4c6668 languageName: node linkType: hard @@ -35833,7 +36308,7 @@ __metadata: languageName: node linkType: hard -"pretty-format@npm:^28.0.0, pretty-format@npm:^28.1.3": +"pretty-format@npm:^28.0.0, pretty-format@npm:^28.1.1, pretty-format@npm:^28.1.3": version: 28.1.3 resolution: "pretty-format@npm:28.1.3" dependencies: @@ -35845,6 +36320,17 @@ __metadata: languageName: node linkType: hard +"pretty-format@npm:^29.0.0, pretty-format@npm:^29.0.2": + version: 29.0.2 + resolution: "pretty-format@npm:29.0.2" + dependencies: + "@jest/schemas": ^29.0.0 + ansi-styles: ^5.0.0 + react-is: ^18.0.0 + checksum: 35e942285ab11cc873256817d7a542e0776d05c8eea869a6ed40c94d36dd0e28cbbc269788dc19d8e6eb12d717d74f7b423b57be86306385839786780f2e0a51 + languageName: node + linkType: hard + "pretty-format@npm:^3.5.1, pretty-format@npm:^3.8.0": version: 3.8.0 resolution: "pretty-format@npm:3.8.0" @@ -35871,15 +36357,6 @@ __metadata: languageName: node linkType: hard -"preval.macro@npm:^5.0.0": - version: 5.0.0 - resolution: "preval.macro@npm:5.0.0" - dependencies: - babel-plugin-preval: ^5.0.0 - checksum: cee971359aa216190928bfff3c9b58f01b536bd6ded216f6f59b6f5405cfe32bb9535238d0e32afa7e68c0d0688e2cef5e894e19063c4a648d92c734fe218f6f - languageName: node - linkType: hard - "printf@npm:^0.6.1": version: 0.6.1 resolution: "printf@npm:0.6.1" @@ -35909,9 +36386,9 @@ __metadata: linkType: hard "prismjs@npm:^1.27.0": - version: 1.28.0 - resolution: "prismjs@npm:1.28.0" - checksum: bf879309e74188b424cf8bb3962f9df9e7004a71f44f82a3cfbd26f884c9a0bb91f529db79503c1bc0b570ed7b94a10c3303153642da533c1e10f51779c0617f + version: 1.29.0 + resolution: "prismjs@npm:1.29.0" + checksum: d906c4c4d01b446db549b4f57f72d5d7e6ccaca04ecc670fb85cea4d4b1acc1283e945a9cbc3d81819084a699b382f970e02f9d1378e14af9808d366d9ed7ec6 languageName: node linkType: hard @@ -36032,11 +36509,11 @@ __metadata: linkType: hard "promise@npm:^8.1.0": - version: 8.1.0 - resolution: "promise@npm:8.1.0" + version: 8.2.0 + resolution: "promise@npm:8.2.0" dependencies: asap: ~2.0.6 - checksum: bd6594e66b200a0c5aa18b46502e859d5abe7daeae2f9edaaf4e440628e6f960158ca0b9a12763d845ea7532e832566eee6fcceaa52b6862cc90908a51c4eca8 + checksum: 058589c7b2ded3ddb7db0d3f3771e0814f73fc5181786ad338bb090e95e1aa93e2a07cb9b7ece53b45b619026c77508442959c867d951634215e73e75da0d02f languageName: node linkType: hard @@ -36081,7 +36558,7 @@ __metadata: languageName: node linkType: hard -"prop-types@npm:^15.0.0, prop-types@npm:^15.5.10, prop-types@npm:^15.5.4, prop-types@npm:^15.6.1, prop-types@npm:^15.6.2, prop-types@npm:^15.7.2, prop-types@npm:^15.8.1": +"prop-types@npm:^15.5.10, prop-types@npm:^15.5.4, prop-types@npm:^15.6.1, prop-types@npm:^15.6.2, prop-types@npm:^15.7.2, prop-types@npm:^15.8.1": version: 15.8.1 resolution: "prop-types@npm:15.8.1" dependencies: @@ -36580,6 +37057,13 @@ __metadata: languageName: node linkType: hard +"querystringify@npm:^2.1.1": + version: 2.2.0 + resolution: "querystringify@npm:2.2.0" + checksum: 3258bc3dbdf322ff2663619afe5947c7926a6ef5fb78ad7d384602974c467fadfc8272af44f5eb8cddd0d011aae8fabf3a929a8eee4b86edcc0a21e6bd10f9aa + languageName: node + linkType: hard + "queue-microtask@npm:^1.2.2": version: 1.2.3 resolution: "queue-microtask@npm:1.2.3" @@ -36775,12 +37259,12 @@ __metadata: linkType: hard "react-colorful@npm:^5.1.2": - version: 5.5.1 - resolution: "react-colorful@npm:5.5.1" + version: 5.6.1 + resolution: "react-colorful@npm:5.6.1" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" - checksum: f5991c675f82d204d73638b49077d710934cc1e6a47f95a6fc8a14761d926bd416346cedc7ac4da98a942561e053b675fa0ab0d52120ec9fbdb25027502d2dde + checksum: 48eb73cf71e10841c2a61b6b06ab81da9fffa9876134c239bfdebcf348ce2a47e56b146338e35dfb03512c85966bfc9a53844fc56bc50154e71f8daee59ff6f0 languageName: node linkType: hard @@ -36845,6 +37329,26 @@ __metadata: languageName: node linkType: hard +"react-docgen@npm:^6.0.0-alpha.3": + version: 6.0.0-alpha.3 + resolution: "react-docgen@npm:6.0.0-alpha.3" + dependencies: + "@babel/core": ^7.7.5 + "@babel/generator": ^7.12.11 + ast-types: ^0.14.2 + commander: ^2.19.0 + doctrine: ^3.0.0 + estree-to-babel: ^3.1.0 + neo-async: ^2.6.1 + node-dir: ^0.1.10 + resolve: ^1.17.0 + strip-indent: ^3.0.0 + bin: + react-docgen: bin/react-docgen.js + checksum: 284bba5528d5e9084c3ed36b2d2fec8fc5d55f3fb8ca544ec3a0d1ab98c39001ecb7db6e03a1088b82eb3d750c1343cde2fc9b7729540277eda40e10f38912d8 + languageName: node + linkType: hard + "react-dom@npm:16.14.0, react-dom@npm:^16.14.0, react-dom@npm:^16.8.0": version: 16.14.0 resolution: "react-dom@npm:16.14.0" @@ -36885,17 +37389,17 @@ __metadata: languageName: node linkType: hard -"react-element-to-jsx-string@npm:^14.3.4": - version: 14.3.4 - resolution: "react-element-to-jsx-string@npm:14.3.4" +"react-element-to-jsx-string@npm:^15.0.0": + version: 15.0.0 + resolution: "react-element-to-jsx-string@npm:15.0.0" dependencies: "@base2/pretty-print-object": 1.0.1 is-plain-object: 5.0.0 - react-is: 17.0.2 + react-is: 18.1.0 peerDependencies: - react: ^0.14.8 || ^15.0.1 || ^16.0.0 || ^17.0.1 - react-dom: ^0.14.8 || ^15.0.1 || ^16.0.0 || ^17.0.1 - checksum: 4ead664b2e26e76af57c9ce2f2a46e79fda1d3a408afb5f34d03357d195b7f41a1a86bb9286b6d6ba76c9c2611fe56bc038665cf27fdb56f571d235ddfce9ffb + react: ^0.14.8 || ^15.0.1 || ^16.0.0 || ^17.0.1 || ^18.0.0 + react-dom: ^0.14.8 || ^15.0.1 || ^16.0.0 || ^17.0.1 || ^18.0.0 + checksum: 0d60a0ea758529c32a706d0c69d70b69fb94de3c46442fffdee34f08f51ffceddbb5395b41dfd1565895653e9f60f98ca525835be9d5db1f16d6b22be12f4cd4 languageName: node linkType: hard @@ -36962,23 +37466,19 @@ __metadata: languageName: node linkType: hard -"react-inspector@npm:^5.1.0": - version: 5.1.1 - resolution: "react-inspector@npm:5.1.1" - dependencies: - "@babel/runtime": ^7.0.0 - is-dom: ^1.0.0 - prop-types: ^15.0.0 +"react-inspector@npm:^6.0.0": + version: 6.0.1 + resolution: "react-inspector@npm:6.0.1" peerDependencies: - react: ^16.8.4 || ^17.0.0 - checksum: 64282953f1e9318501ae9ff64dc955845fce0b543577fcc5b6a5cf786d9a1872edadc5df5821d830a8510ecf629e9a220b323e5cd45b091508939f71ea332239 + react: ^16.8.4 || ^17.0.0 || ^18.0.0 + checksum: 34b0ba6e8c718aa0bbde3bc325531bc94b1e536eb226579e57cb912065693ff70611308c8e567c8e5703b0513655eb5258e5c3ac447e6a5003a44559abc84fa7 languageName: node linkType: hard -"react-is@npm:17.0.2, react-is@npm:^17.0.1, react-is@npm:^17.0.2": - version: 17.0.2 - resolution: "react-is@npm:17.0.2" - checksum: 2bdb6b93fbb1820b024b496042cce405c57e2f85e777c9aabd55f9b26d145408f9f74f5934676ffdc46f3dcff656d78413a6e43968e7b3f92eea35b3052e9053 +"react-is@npm:18.1.0": + version: 18.1.0 + resolution: "react-is@npm:18.1.0" + checksum: 558874e4c3bd9805a9294426e090919ee6901be3ab07f80b997c36b5a01a8d691112802e7438d146f6c82fd6495d8c030f276ef05ec3410057f8740a8d723f8c languageName: node linkType: hard @@ -36989,6 +37489,13 @@ __metadata: languageName: node linkType: hard +"react-is@npm:^17.0.1, react-is@npm:^17.0.2": + version: 17.0.2 + resolution: "react-is@npm:17.0.2" + checksum: 2bdb6b93fbb1820b024b496042cce405c57e2f85e777c9aabd55f9b26d145408f9f74f5934676ffdc46f3dcff656d78413a6e43968e7b3f92eea35b3052e9053 + languageName: node + linkType: hard + "react-is@npm:^18.0.0": version: 18.2.0 resolution: "react-is@npm:18.2.0" @@ -37101,6 +37608,13 @@ __metadata: languageName: node linkType: hard +"react-refresh@npm:^0.14.0": + version: 0.14.0 + resolution: "react-refresh@npm:0.14.0" + checksum: b8ae07ad153357d77830928a7f1fc2df837aabefee907fa273ba04c7643f3b860e986f1d4b7ada9b721c8d79b8c24b5b911a314a1a2398b105f1b13d19ea2b8d + languageName: node + linkType: hard + "react-refresh@npm:^0.9.0": version: 0.9.0 resolution: "react-refresh@npm:0.9.0" @@ -37373,17 +37887,6 @@ __metadata: languageName: node linkType: hard -"read-pkg-up@npm:^8.0.0": - version: 8.0.0 - resolution: "read-pkg-up@npm:8.0.0" - dependencies: - find-up: ^5.0.0 - read-pkg: ^6.0.0 - type-fest: ^1.0.1 - checksum: cf3905ccbe5cd602f23192cc7ca65ed17561bab117eadb9aed817441d5bfc6b9a11215c2a3e9505f501d046818f3c4180dbea61fa83c42083e0b4e407d5cc745 - languageName: node - linkType: hard - "read-pkg@npm:^1.0.0": version: 1.1.0 resolution: "read-pkg@npm:1.1.0" @@ -37429,18 +37932,6 @@ __metadata: languageName: node linkType: hard -"read-pkg@npm:^6.0.0": - version: 6.0.0 - resolution: "read-pkg@npm:6.0.0" - dependencies: - "@types/normalize-package-data": ^2.4.0 - normalize-package-data: ^3.0.2 - parse-json: ^5.2.0 - type-fest: ^1.0.1 - checksum: b51ee5eed75324f4fac34c9a40b5e4b403de4c532242be01959c9bbdb1ff9db1c6c2aefaba569622fec49d1ead866e97ba856ab145f6e11039b11f7bec1318ba - languageName: node - linkType: hard - "read@npm:1, read@npm:~1.0.1": version: 1.0.7 resolution: "read@npm:1.0.7" @@ -37546,15 +38037,15 @@ __metadata: languageName: node linkType: hard -"recast@npm:0.20.5, recast@npm:^0.20.4": - version: 0.20.5 - resolution: "recast@npm:0.20.5" +"recast@npm:0.21.1": + version: 0.21.1 + resolution: "recast@npm:0.21.1" dependencies: - ast-types: 0.14.2 + ast-types: 0.15.2 esprima: ~4.0.0 source-map: ~0.6.1 tslib: ^2.0.1 - checksum: 7810216ff36c7376eddd66d3ce6b2df421305fdc983f2122711837911712177d52d804419655e1f29d4bb93016c178cffe442af410bdcf726050ca19af6fed32 + checksum: f3e103a21594dc3ef1d481f81be327d349798e7d1b9a57cecfac5d4cadc59e3865b12a28f364f7191e158b16c9deaf6cb3341953d591fe63d22e4ad5b6a995dd languageName: node linkType: hard @@ -37594,6 +38085,18 @@ __metadata: languageName: node linkType: hard +"recast@npm:^0.20.4": + version: 0.20.5 + resolution: "recast@npm:0.20.5" + dependencies: + ast-types: 0.14.2 + esprima: ~4.0.0 + source-map: ~0.6.1 + tslib: ^2.0.1 + checksum: 7810216ff36c7376eddd66d3ce6b2df421305fdc983f2122711837911712177d52d804419655e1f29d4bb93016c178cffe442af410bdcf726050ca19af6fed32 + languageName: node + linkType: hard + "rechoir@npm:^0.6.2": version: 0.6.2 resolution: "rechoir@npm:0.6.2" @@ -37651,16 +38154,6 @@ __metadata: languageName: node linkType: hard -"redent@npm:^4.0.0": - version: 4.0.0 - resolution: "redent@npm:4.0.0" - dependencies: - indent-string: ^5.0.0 - strip-indent: ^4.0.0 - checksum: a9b640c8f4b2b5b26a1a908706475ff404dd50a97d6f094bc3c59717be922622927cc7d601d4ae2857d897ad243fd979bd76d751a0481cee8be7024e5fb4c662 - languageName: node - linkType: hard - "redeyed@npm:~1.0.0": version: 1.0.1 resolution: "redeyed@npm:1.0.1" @@ -38164,12 +38657,12 @@ __metadata: linkType: hard "remark-mdx@npm:^2.0.0": - version: 2.1.2 - resolution: "remark-mdx@npm:2.1.2" + version: 2.1.3 + resolution: "remark-mdx@npm:2.1.3" dependencies: mdast-util-mdx: ^2.0.0 micromark-extension-mdxjs: ^1.0.0 - checksum: 41777ee96d6c5e6ddc71ee66e46a862cb1920bcb3f18de15d7fbd08f294136cb4f3cb31941856ae4fcbbb8a893ea3ba5ed7ca293d44c4b3476eff52af87f0212 + checksum: d3985f70424bf07005486aef845664c735d94c9ea98de966b50e93a2d3686a0d88bac6f6e75b851ef53bcf52a13fa6f5fb38a35269b3dfa67daaeea7d3ecb82a languageName: node linkType: hard @@ -38544,7 +39037,7 @@ __metadata: languageName: node linkType: hard -"require-from-string@npm:^2.0.1, require-from-string@npm:^2.0.2": +"require-from-string@npm:^2.0.2": version: 2.0.2 resolution: "require-from-string@npm:2.0.2" checksum: aaa267e0c5b022fc5fd4eef49d8285086b15f2a1c54b28240fdf03599cbd9c26049fee3eab894f2e1f6ca65e513b030a7c264201e3f005601e80c49fb2937ce2 @@ -38730,15 +39223,6 @@ __metadata: languageName: node linkType: hard -"resolve@npm:1.17.0": - version: 1.17.0 - resolution: "resolve@npm:1.17.0" - dependencies: - path-parse: ^1.0.6 - checksum: 4e6c76cc1a7b08bff637b092ce035d7901465067915605bc5a23ac0c10fe42ec205fc209d5d5f7a5f27f37ce71d687def7f656bbb003631cd46a8374f55ec73d - languageName: node - linkType: hard - "resolve@npm:1.22.0": version: 1.22.0 resolution: "resolve@npm:1.22.0" @@ -38785,15 +39269,6 @@ __metadata: languageName: node linkType: hard -"resolve@patch:resolve@1.17.0#~builtin": - version: 1.17.0 - resolution: "resolve@patch:resolve@npm%3A1.17.0#~builtin::version=1.17.0&hash=07638b" - dependencies: - path-parse: ^1.0.6 - checksum: e072e52be3c3dbfd086761115db4a5136753e7aefc0e665e66e7307ddcd9d6b740274516055c74aee44921625e95993f03570450aa310b8d73b1c9daa056c4cd - languageName: node - linkType: hard - "resolve@patch:resolve@1.22.0#~builtin": version: 1.22.0 resolution: "resolve@patch:resolve@npm%3A1.22.0#~builtin::version=1.22.0&hash=07638b" @@ -38958,17 +39433,6 @@ __metadata: languageName: node linkType: hard -"rollup-plugin-inject@npm:^3.0.0": - version: 3.0.2 - resolution: "rollup-plugin-inject@npm:3.0.2" - dependencies: - estree-walker: ^0.6.1 - magic-string: ^0.25.3 - rollup-pluginutils: ^2.8.1 - checksum: 35b9d955039b56b43750a9e458bb51b7956b048b6d3ca57b1f03462aa5a0cb176d1b677d95e909b64eee4e9adf73c02f569ad8c0ab5aafdec818ff51700c114c - languageName: node - linkType: hard - "rollup-plugin-jsx@npm:^1.0.3": version: 1.0.3 resolution: "rollup-plugin-jsx@npm:1.0.3" @@ -38980,15 +39444,6 @@ __metadata: languageName: node linkType: hard -"rollup-plugin-node-polyfills@npm:^0.2.1": - version: 0.2.1 - resolution: "rollup-plugin-node-polyfills@npm:0.2.1" - dependencies: - rollup-plugin-inject: ^3.0.0 - checksum: 30f9e09cbbf979b1212e0c455d74c3a061994fc19ddf160da4634b11377222cea5903a5ba05db66be849f550cde9ffc80ecbfcfb48544045d08bfc408501417d - languageName: node - linkType: hard - "rollup-plugin-terser@npm:^7.0.0, rollup-plugin-terser@npm:^7.0.2": version: 7.0.2 resolution: "rollup-plugin-terser@npm:7.0.2" @@ -39013,18 +39468,23 @@ __metadata: languageName: node linkType: hard -"rollup-pluginutils@npm:^2.8.1": - version: 2.8.2 - resolution: "rollup-pluginutils@npm:2.8.2" +"rollup@npm:^2.43.1, rollup@npm:^2.60.2, rollup@npm:^2.74.1": + version: 2.79.0 + resolution: "rollup@npm:2.79.0" dependencies: - estree-walker: ^0.6.1 - checksum: 20947bec5a5dd68b5c5c8423911e6e7c0ad834c451f1a929b1f4e2bc08836ad3f1a722ef2bfcbeca921870a0a283f13f064a317dc7a6768496e98c9a641ba290 + fsevents: ~2.3.2 + dependenciesMeta: + fsevents: + optional: true + bin: + rollup: dist/bin/rollup + checksum: dbabfe69bf370422de4356cbfd2611ff11efb69ceb52ade5567b752d728b4882a9db49434c978ba9d7be439967ad8832db4f7d4c7366dbaa668783a7fa8e2676 languageName: node linkType: hard -"rollup@npm:^2.43.1, rollup@npm:^2.60.2, rollup@npm:^2.74.1": - version: 2.77.0 - resolution: "rollup@npm:2.77.0" +"rollup@npm:~2.78.0": + version: 2.78.1 + resolution: "rollup@npm:2.78.1" dependencies: fsevents: ~2.3.2 dependenciesMeta: @@ -39032,7 +39492,7 @@ __metadata: optional: true bin: rollup: dist/bin/rollup - checksum: a6607fb98c712eb5f078372886d887e4d0b15197121e42aba7c6db1087d39dfb598c3aeefd14646c1ea705a23fc61cb5665a10f969c043a0a85c8199c2fc2298 + checksum: ae24b886adee31455ec030736b113f84628a4f74106ea47ebf666fa5c7eac23f49b7d15acb5b5ee47671f3e184fb1c8b05946e5c76eb889a1dafaf5c75c9b70a languageName: node linkType: hard @@ -39092,24 +39552,6 @@ __metadata: languageName: node linkType: hard -"rxjs-for-await@npm:0.0.2": - version: 0.0.2 - resolution: "rxjs-for-await@npm:0.0.2" - peerDependencies: - rxjs: ^6.0.0 - checksum: 20f98281b1e9f7bf9c0da52f58e9d1404e875c71cf124a7672da2e43654b27e869aaf39fab60fed41d012cc6b8724206beb1156b506e9a7b9a8962d8b4ab9671 - languageName: node - linkType: hard - -"rxjs@npm:6.5.5": - version: 6.5.5 - resolution: "rxjs@npm:6.5.5" - dependencies: - tslib: ^1.9.0 - checksum: 0b2f83892734c65b1682ddfc2616155a615d4b7f67e993cb459dbaaeedaad7878d5014dc0abb7a0da50b4c01ec8d3c1bca05bbb36260523dd18b7a7181a56bb5 - languageName: node - linkType: hard - "rxjs@npm:6.6.7, rxjs@npm:^6.4.0, rxjs@npm:^6.5.2, rxjs@npm:^6.5.4, rxjs@npm:^6.6.0, rxjs@npm:^6.6.3, rxjs@npm:^6.6.7": version: 6.6.7 resolution: "rxjs@npm:6.6.7" @@ -39294,15 +39736,15 @@ __metadata: linkType: hard "sass@npm:^1.43.4": - version: 1.53.0 - resolution: "sass@npm:1.53.0" + version: 1.54.8 + resolution: "sass@npm:1.54.8" dependencies: chokidar: ">=3.0.0 <4.0.0" immutable: ^4.0.0 source-map-js: ">=0.6.2 <2.0.0" bin: sass: sass.js - checksum: 7242194d40f94789d908d2e62982267ea6728a9682e161f38fbf5b959af935acc0f085f13e6e4510795f309eb08552ba6e8e82b85be2bf6128d6740c2fd6caa7 + checksum: d3580078c3093dc2fd69550a41a6d3f3fc03dd81aae77fe2e4f77b20d57e3d84682e5e935c80d82c13dd44d24c8a96fda215bea1543e7762cc84456441d22749 languageName: node linkType: hard @@ -39340,11 +39782,11 @@ __metadata: languageName: node linkType: hard -"sb@7.0.0-alpha.20, sb@workspace:lib/cli-sb": +"sb@7.0.0-alpha.31, sb@workspace:lib/cli-sb": version: 0.0.0-use.local resolution: "sb@workspace:lib/cli-sb" dependencies: - "@storybook/cli": 7.0.0-alpha.20 + "@storybook/cli": 7.0.0-alpha.31 typescript: ~4.6.3 bin: sb: ./index.js @@ -39487,11 +39929,11 @@ __metadata: linkType: hard "selfsigned@npm:^2.0.0, selfsigned@npm:^2.0.1": - version: 2.0.1 - resolution: "selfsigned@npm:2.0.1" + version: 2.1.1 + resolution: "selfsigned@npm:2.1.1" dependencies: node-forge: ^1 - checksum: 3f5d5b88f072db51d1c8184db571a466c5a60d46f888dee62b7396c9c27a10cc98c151fde5441140da29abc493a82530666911468d3a57bd8c6d81b8e6a8f830 + checksum: 4a2509c8a5bd49c3630a799de66b317352b52746bec981133d4f8098365da35d2344f0fbedf14aacf2cd1e88682048e2df11ad9dc59331d3b1c0a5ec3e6e16ad languageName: node linkType: hard @@ -39718,15 +40160,15 @@ __metadata: version: 0.0.0-use.local resolution: "server-kitchen-sink@workspace:examples/server-kitchen-sink" dependencies: - "@storybook/addon-a11y": 7.0.0-alpha.20 - "@storybook/addon-actions": 7.0.0-alpha.20 - "@storybook/addon-backgrounds": 7.0.0-alpha.20 - "@storybook/addon-controls": 7.0.0-alpha.20 - "@storybook/addon-highlight": 7.0.0-alpha.20 - "@storybook/addon-links": 7.0.0-alpha.20 - "@storybook/node-logger": 7.0.0-alpha.20 - "@storybook/server": 7.0.0-alpha.20 - "@storybook/server-webpack5": 7.0.0-alpha.20 + "@storybook/addon-a11y": 7.0.0-alpha.31 + "@storybook/addon-actions": 7.0.0-alpha.31 + "@storybook/addon-backgrounds": 7.0.0-alpha.31 + "@storybook/addon-controls": 7.0.0-alpha.31 + "@storybook/addon-highlight": 7.0.0-alpha.31 + "@storybook/addon-links": 7.0.0-alpha.31 + "@storybook/node-logger": 7.0.0-alpha.31 + "@storybook/server": 7.0.0-alpha.31 + "@storybook/server-webpack5": 7.0.0-alpha.31 concurrently: ^5.3.0 cors: ^2.8.5 express: ~4.17.1 @@ -39734,7 +40176,7 @@ __metadata: nodemon: ^2.0.7 pug: ^3.0.0 safe-identifier: ^0.4.1 - storybook: 7.0.0-alpha.20 + storybook: 7.0.0-alpha.31 languageName: unknown linkType: soft @@ -39840,7 +40282,7 @@ __metadata: languageName: node linkType: hard -"shell-quote@npm:^1.6.1, shell-quote@npm:^1.7.3": +"shell-quote@npm:^1.7.3": version: 1.7.3 resolution: "shell-quote@npm:1.7.3" checksum: cf997c325f49c4393a859074f1ee9ca3da7d9e1940225bab24a86f0266504c7d7e356b83f13c74932cb243d53125b5c8c57b714017c53490bf1fe10540422014 @@ -40056,28 +40498,27 @@ __metadata: languageName: node linkType: hard -"socket.io-parser@npm:~4.0.4": - version: 4.0.5 - resolution: "socket.io-parser@npm:4.0.5" +"socket.io-parser@npm:~4.2.0": + version: 4.2.1 + resolution: "socket.io-parser@npm:4.2.1" dependencies: - "@types/component-emitter": ^1.2.10 - component-emitter: ~1.3.0 + "@socket.io/component-emitter": ~3.1.0 debug: ~4.3.1 - checksum: 9db9d2d190b6b0b3e5b0e830b6068219929280fbaa348d155ead420a1f4f3f43a9cacd628dda93ac09295f74fd2aa48447b2c53c00deb4f9204146e9bd43c594 + checksum: d59530de3fe1d0e5ce680e266940eef60a4a8faa9a8036914ab05760ba9efb4a05e3f44ede1be37f2698ffa2fad8860f2ba46cf69c64a9e52fb6a0ec11252dfd languageName: node linkType: hard "socket.io@npm:^4.1.2": - version: 4.5.1 - resolution: "socket.io@npm:4.5.1" + version: 4.5.2 + resolution: "socket.io@npm:4.5.2" dependencies: accepts: ~1.3.4 base64id: ~2.0.0 debug: ~4.3.2 engine.io: ~6.2.0 socket.io-adapter: ~2.4.0 - socket.io-parser: ~4.0.4 - checksum: 16a57d816d0bf993489997b692ab9d3a9cdde83dee39e5b3700d6cbbce838b791df985a66012daf5d90d8359466959f9b575fe691f1b379ef9eec6854a38360f + socket.io-parser: ~4.2.0 + checksum: 6b17ed97ec6d99499b7eed2ba8e57846b3528096b2f57a6289ca28931d8929c4a0605f7d0c1941db86f89eb93e52b127be850fad057c826b50a7d05e11c24369 languageName: node linkType: hard @@ -40258,6 +40699,16 @@ __metadata: languageName: node linkType: hard +"source-map-support@npm:0.5.13": + version: 0.5.13 + resolution: "source-map-support@npm:0.5.13" + dependencies: + buffer-from: ^1.0.0 + source-map: ^0.6.0 + checksum: 137539f8c453fa0f496ea42049ab5da4569f96781f6ac8e5bfda26937be9494f4e8891f523c5f98f0e85f71b35d74127a00c46f83f6a4f54672b58d53202565e + languageName: node + linkType: hard + "source-map-support@npm:0.5.21, source-map-support@npm:^0.5.16, source-map-support@npm:^0.5.5, source-map-support@npm:^0.5.6, source-map-support@npm:~0.5.12, source-map-support@npm:~0.5.20": version: 0.5.21 resolution: "source-map-support@npm:0.5.21" @@ -40428,9 +40879,9 @@ __metadata: linkType: hard "spdx-license-ids@npm:^3.0.0": - version: 3.0.11 - resolution: "spdx-license-ids@npm:3.0.11" - checksum: 6c53cfdb3417e80fd612341319f1296507f797e0387e144047f547c378d9d38d6032ec342de42ef7883256f6690b2fca9889979d0dd015a61dc49b323f9b379b + version: 3.0.12 + resolution: "spdx-license-ids@npm:3.0.12" + checksum: b749db2fdecf4ac1893b8e4c435c3bfe5247af9cb412a3cd8375c8bc5a24ad7f3c4263dfe0fc04701f98613f189787700f1deac3e9272c96dfaffc01826c2d0f languageName: node linkType: hard @@ -40643,15 +41094,15 @@ __metadata: version: 0.0.0-use.local resolution: "standalone-preview@workspace:examples/standalone-preview" dependencies: - "@storybook/addon-docs": 7.0.0-alpha.20 - "@storybook/cli": 7.0.0-alpha.20 - "@storybook/react": 7.0.0-alpha.20 - "@storybook/react-webpack5": 7.0.0-alpha.20 + "@storybook/addon-docs": 7.0.0-alpha.31 + "@storybook/cli": 7.0.0-alpha.31 + "@storybook/react": 7.0.0-alpha.31 + "@storybook/react-webpack5": 7.0.0-alpha.31 cross-env: ^7.0.3 parcel: 2.0.1 react: 16.14.0 react-dom: 16.14.0 - storybook: 7.0.0-alpha.20 + storybook: 7.0.0-alpha.31 languageName: unknown linkType: soft @@ -40747,11 +41198,11 @@ __metadata: languageName: node linkType: hard -"storybook@7.0.0-alpha.20, storybook@workspace:lib/cli-storybook": +"storybook@7.0.0-alpha.31, storybook@workspace:lib/cli-storybook": version: 0.0.0-use.local resolution: "storybook@workspace:lib/cli-storybook" dependencies: - "@storybook/cli": 7.0.0-alpha.20 + "@storybook/cli": 7.0.0-alpha.31 typescript: ~4.6.3 bin: sb: ./index.js @@ -40944,17 +41395,6 @@ __metadata: languageName: node linkType: hard -"string.prototype.padend@npm:^3.0.0": - version: 3.1.3 - resolution: "string.prototype.padend@npm:3.1.3" - dependencies: - call-bind: ^1.0.2 - define-properties: ^1.1.3 - es-abstract: ^1.19.1 - checksum: c713de3b48f6c773c72012dfad99d3865e714d9c9f8ea8656852b21a9bf5d6ccbcbf553e14ef2b6cbdff45db935103322a1fab87dfda8021fd8c8af432195aeb - languageName: node - linkType: hard - "string.prototype.trim@npm:^1.2.1": version: 1.2.6 resolution: "string.prototype.trim@npm:1.2.6" @@ -41184,15 +41624,6 @@ __metadata: languageName: node linkType: hard -"strip-indent@npm:^4.0.0": - version: 4.0.0 - resolution: "strip-indent@npm:4.0.0" - dependencies: - min-indent: ^1.0.1 - checksum: 6b1fb4e22056867f5c9e7a6f3f45922d9a2436cac758607d58aeaac0d3b16ec40b1c43317de7900f1b8dd7a4107352fa47fb960f2c23566538c51e8585c8870e - languageName: node - linkType: hard - "strip-json-comments@npm:^2.0.0, strip-json-comments@npm:~2.0.1": version: 2.0.1 resolution: "strip-json-comments@npm:2.0.1" @@ -41297,9 +41728,9 @@ __metadata: languageName: node linkType: hard -"styled-jsx@npm:5.0.2": - version: 5.0.2 - resolution: "styled-jsx@npm:5.0.2" +"styled-jsx@npm:5.0.4": + version: 5.0.4 + resolution: "styled-jsx@npm:5.0.4" peerDependencies: react: ">= 16.8.0 || 17.x.x || ^18.0.0-0" peerDependenciesMeta: @@ -41307,7 +41738,7 @@ __metadata: optional: true babel-plugin-macros: optional: true - checksum: 0e90717d2e6a1f7846a21cd4a98498a9379df24e81902bb100b8b0ab865cb7cd5bdfb9f03c72c50b32fd7fbc5531c94b7ca08ac55683b3d7a0318764aa5ac1a4 + checksum: b9b6448139a505be3db00fae820b370e4ab3fe9594edae470ebf1683e9f6638230a53f697b93b52ff68b7213404c0d655e4e3d0edaeada3f27069bf6bafb1b8e languageName: node linkType: hard @@ -41384,8 +41815,8 @@ __metadata: linkType: hard "sucrase@npm:^3.20.3": - version: 3.24.0 - resolution: "sucrase@npm:3.24.0" + version: 3.25.0 + resolution: "sucrase@npm:3.25.0" dependencies: commander: ^4.0.0 glob: 7.1.6 @@ -41396,7 +41827,7 @@ __metadata: bin: sucrase: bin/sucrase sucrase-node: bin/sucrase-node - checksum: 51a653baf6a2524b5d46da33126ccd4a83d1eb871e82ce2b45f1a7bf2507f8f175b152ae46fb81ec5a1af4a37132cf7dacfb340a9d38c0914a36e6acf811f1bb + checksum: a5521ee9d43b12cb7313a08ffe8a7b8732ddd2640bf6c79171a0dd42d052ca81cf1191e1681a7d0219ed98e9280e16a748ede7980c4fb82844928b805930d07a languageName: node linkType: hard @@ -41472,12 +41903,12 @@ __metadata: linkType: hard "supports-hyperlinks@npm:^2.0.0": - version: 2.2.0 - resolution: "supports-hyperlinks@npm:2.2.0" + version: 2.3.0 + resolution: "supports-hyperlinks@npm:2.3.0" dependencies: has-flag: ^4.0.0 supports-color: ^7.0.0 - checksum: 022677b8891c75bfdab99cf471248ddc823c666c6d5811fbee1257d502cdfb0047c5a3b3fd34854da7b688716af921470abdeabbe80fb035ae1157f457134b48 + checksum: 4057f0d86afb056cd799602f72d575b8fdd79001c5894bcb691176f14e870a687e7981e50bc1484980e8b688c6d5bcd4931e1609816abb5a7dc1486b7babf6a1 languageName: node linkType: hard @@ -41499,31 +41930,31 @@ __metadata: version: 0.0.0-use.local resolution: "svelte-example@workspace:examples/svelte-kitchen-sink" dependencies: - "@storybook/addon-a11y": 7.0.0-alpha.20 - "@storybook/addon-actions": 7.0.0-alpha.20 - "@storybook/addon-backgrounds": 7.0.0-alpha.20 - "@storybook/addon-controls": 7.0.0-alpha.20 - "@storybook/addon-docs": 7.0.0-alpha.20 - "@storybook/addon-highlight": 7.0.0-alpha.20 - "@storybook/addon-interactions": 7.0.0-alpha.20 - "@storybook/addon-links": 7.0.0-alpha.20 - "@storybook/addon-storyshots": 7.0.0-alpha.20 - "@storybook/addon-storysource": 7.0.0-alpha.20 - "@storybook/addon-viewport": 7.0.0-alpha.20 - "@storybook/addons": 7.0.0-alpha.20 + "@storybook/addon-a11y": 7.0.0-alpha.31 + "@storybook/addon-actions": 7.0.0-alpha.31 + "@storybook/addon-backgrounds": 7.0.0-alpha.31 + "@storybook/addon-controls": 7.0.0-alpha.31 + "@storybook/addon-docs": 7.0.0-alpha.31 + "@storybook/addon-highlight": 7.0.0-alpha.31 + "@storybook/addon-interactions": 7.0.0-alpha.31 + "@storybook/addon-links": 7.0.0-alpha.31 + "@storybook/addon-storyshots": 7.0.0-alpha.31 + "@storybook/addon-storysource": 7.0.0-alpha.31 + "@storybook/addon-viewport": 7.0.0-alpha.31 + "@storybook/addons": 7.0.0-alpha.31 "@storybook/jest": ^0.0.10 - "@storybook/source-loader": 7.0.0-alpha.20 - "@storybook/svelte": 7.0.0-alpha.20 - "@storybook/svelte-webpack5": 7.0.0-alpha.20 + "@storybook/source-loader": 7.0.0-alpha.31 + "@storybook/svelte": 7.0.0-alpha.31 + "@storybook/svelte-webpack5": 7.0.0-alpha.31 "@storybook/testing-library": 0.0.14-next.0 global: ^4.4.0 - storybook: 7.0.0-alpha.20 + storybook: 7.0.0-alpha.31 svelte-jester: ^2.3.2 svelte-preprocess: ^4.10.6 languageName: unknown linkType: soft -"svelte-hmr@npm:^0.14.2": +"svelte-hmr@npm:^0.14.12, svelte-hmr@npm:^0.14.2": version: 0.14.12 resolution: "svelte-hmr@npm:0.14.12" peerDependencies: @@ -41604,21 +42035,21 @@ __metadata: languageName: node linkType: hard -"svelte@npm:^3.31.2, svelte@npm:^3.48.0": - version: 3.49.0 - resolution: "svelte@npm:3.49.0" - checksum: 22bf1a252911c03fcbb840c89e02493af29304c8920e67cb2d63bb9477892dd7babd2fdeed9147328e72ba38211427e0658831b89ef63563415091b643fb116d +"svelte@npm:^3.0.0, svelte@npm:^3.31.2, svelte@npm:^3.48.0": + version: 3.50.0 + resolution: "svelte@npm:3.50.0" + checksum: fe004a6a7470f62ec1dd69a6520e476dae641c515ff66b2cc40eb7f66cd815a1f9d3b0e8c02c9736f1e3c73af6e4aa311631f1d59b71e60787d64dd2639dd1f8 languageName: node linkType: hard -"sveltedoc-parser@npm:4.1.0": - version: 4.1.0 - resolution: "sveltedoc-parser@npm:4.1.0" +"sveltedoc-parser@npm:^4.2.1": + version: 4.3.1 + resolution: "sveltedoc-parser@npm:4.3.1" dependencies: - eslint: 7.6.0 - espree: 7.2.0 + eslint: 8.4.1 + espree: 9.2.0 htmlparser2-svelte: 4.1.0 - checksum: f89eba8437cb8827de7d4bee603a487b7feecb3ce6e99f2ef9a45aa38f53ded04a8e48ccd79bf89a2970f3f6aaca4125d8414350edee494a773bbe75754305d4 + checksum: 38e0258956fcf1bbe2ecc61286b73e96eedbec62e236c6b3adfc7055a4b2b50034b99f887a9e5eaccac233a87ccbc9434abe156f6a3ef25a640dcb54a4b99f46 languageName: node linkType: hard @@ -41723,9 +42154,9 @@ __metadata: linkType: hard "synchronous-promise@npm:^2.0.15": - version: 2.0.15 - resolution: "synchronous-promise@npm:2.0.15" - checksum: 967778e7570dc496d7630a89db3bada38876574797c9b272ee50f6ecd7afcebf450268b4bb48a84274d213ab9fd4865dbcc6edeb279f9ecaddf189d5446cbe43 + version: 2.0.16 + resolution: "synchronous-promise@npm:2.0.16" + checksum: b0cbad61b24b36ab1a8c6ac5b10335ad7c1a006b69bf5e73e5de9a141a54abaef20b4b808a9939e81dc52cf27f4c4c7a62e90cec42a0005efda712618985ba5a languageName: node linkType: hard @@ -41752,8 +42183,8 @@ __metadata: linkType: hard "tailwindcss@npm:^3.0.2": - version: 3.1.6 - resolution: "tailwindcss@npm:3.1.6" + version: 3.1.8 + resolution: "tailwindcss@npm:3.1.8" dependencies: arg: ^5.0.2 chokidar: ^3.5.3 @@ -41764,7 +42195,7 @@ __metadata: fast-glob: ^3.2.11 glob-parent: ^6.0.2 is-glob: ^4.0.3 - lilconfig: ^2.0.5 + lilconfig: ^2.0.6 normalize-path: ^3.0.0 object-hash: ^3.0.0 picocolors: ^1.0.0 @@ -41782,7 +42213,7 @@ __metadata: bin: tailwind: lib/cli.js tailwindcss: lib/cli.js - checksum: deef81a12da2a50c104fd4734339a5f8df9acf6760dc07c13237f18294e5148283cef1edc25ee20f2266ca2a5160187a973906e94686fafeb5af0681b89f0d43 + checksum: feddb9fcd2c7a8613df18d626dcf0e60d85e68dfcb1874297ba3dee46824992aacb8123fe5f4cc7de7ccdccbb97c2257a849d56f6d31a1e1f68417ce49dca639 languageName: node linkType: hard @@ -41853,17 +42284,17 @@ __metadata: languageName: node linkType: hard -"tar@npm:5.0.5": - version: 5.0.5 - resolution: "tar@npm:5.0.5" +"tar@npm:6.1.11, tar@npm:^6.0.2, tar@npm:^6.1.0, tar@npm:^6.1.11, tar@npm:^6.1.2": + version: 6.1.11 + resolution: "tar@npm:6.1.11" dependencies: - chownr: ^1.1.3 + chownr: ^2.0.0 fs-minipass: ^2.0.0 minipass: ^3.0.0 - minizlib: ^2.1.0 - mkdirp: ^0.5.0 + minizlib: ^2.1.1 + mkdirp: ^1.0.3 yallist: ^4.0.0 - checksum: 3ca8d5e8e9f30dd0480d726c26b15ddb50ee91b9c8a6e65f139beaca11423db03197951d786033a1b15a45fd315383afff31a93d56e6331c4e972cef46688b05 + checksum: 5a016f5330f43815420797b87ade578e2ea60affd47439c988a3fc8f7bb6b36450d627c31ba6a839346fae248b4c8c12bb06bb0716211f37476838c7eff91f05 languageName: node linkType: hard @@ -41882,20 +42313,6 @@ __metadata: languageName: node linkType: hard -"tar@npm:^6.0.2, tar@npm:^6.1.0, tar@npm:^6.1.11, tar@npm:^6.1.2": - version: 6.1.11 - resolution: "tar@npm:6.1.11" - dependencies: - chownr: ^2.0.0 - fs-minipass: ^2.0.0 - minipass: ^3.0.0 - minizlib: ^2.1.1 - mkdirp: ^1.0.3 - yallist: ^4.0.0 - checksum: 5a016f5330f43815420797b87ade578e2ea60affd47439c988a3fc8f7bb6b36450d627c31ba6a839346fae248b4c8c12bb06bb0716211f37476838c7eff91f05 - languageName: node - linkType: hard - "teeny-request@npm:7.0.1": version: 7.0.1 resolution: "teeny-request@npm:7.0.1" @@ -42002,14 +42419,14 @@ __metadata: linkType: hard "terser-webpack-plugin@npm:*, terser-webpack-plugin@npm:^5.1.1, terser-webpack-plugin@npm:^5.1.3, terser-webpack-plugin@npm:^5.2.5, terser-webpack-plugin@npm:^5.3.1": - version: 5.3.3 - resolution: "terser-webpack-plugin@npm:5.3.3" + version: 5.3.6 + resolution: "terser-webpack-plugin@npm:5.3.6" dependencies: - "@jridgewell/trace-mapping": ^0.3.7 + "@jridgewell/trace-mapping": ^0.3.14 jest-worker: ^27.4.5 schema-utils: ^3.1.1 serialize-javascript: ^6.0.0 - terser: ^5.7.2 + terser: ^5.14.1 peerDependencies: webpack: ^5.1.0 peerDependenciesMeta: @@ -42019,11 +42436,11 @@ __metadata: optional: true uglify-js: optional: true - checksum: deb1e4ebc7dd832acfb63b4c9e81e4120493464f6178c8539337f6a7b5d4c25171e8ce20397b35b5f95b6b39d183991e87733e7f73cd77656da81ec22afbbd66 + checksum: 75ac4de6f95e62667166572b1db9f54ef163f02a7f9234549239d1a42462a5a0df67a821d791e1eb105a5a6e02941a5b03c271c56a886a508b83b90c2d52863e languageName: node linkType: hard -"terser@npm:5.14.2, terser@npm:^5.0.0, terser@npm:^5.10.0, terser@npm:^5.2.0, terser@npm:^5.7.2": +"terser@npm:5.14.2": version: 5.14.2 resolution: "terser@npm:5.14.2" dependencies: @@ -42050,6 +42467,20 @@ __metadata: languageName: node linkType: hard +"terser@npm:^5.0.0, terser@npm:^5.10.0, terser@npm:^5.14.1, terser@npm:^5.2.0": + version: 5.15.0 + resolution: "terser@npm:5.15.0" + dependencies: + "@jridgewell/source-map": ^0.3.2 + acorn: ^8.5.0 + commander: ^2.20.0 + source-map-support: ~0.5.20 + bin: + terser: bin/terser + checksum: fa138abc700f2d8670d2212465b618c91b84089a7bb4c84b3337933b0b29c6bf0164e192fbaa39924927aa503f7b4bfefd13b66a5b76762cee62cef55a12ba2e + languageName: node + linkType: hard + "test-exclude@npm:^5.2.3": version: 5.2.3 resolution: "test-exclude@npm:5.2.3" @@ -42074,8 +42505,8 @@ __metadata: linkType: hard "testem@npm:^3.2.0": - version: 3.8.0 - resolution: "testem@npm:3.8.0" + version: 3.9.0 + resolution: "testem@npm:3.9.0" dependencies: "@xmldom/xmldom": ^0.8.0 backbone: ^1.1.2 @@ -42108,7 +42539,7 @@ __metadata: tmp: 0.0.33 bin: testem: testem.js - checksum: e4100f9934c55872010412045f0e785a1749395c0058a2318448f2bd7657d5facc9d4d69c72e1571273296bc49f031df23bf12e7f3ac4e258c06189b683138eb + checksum: ee249735f80750c5c13ffaec978826e8163bc25569c4c841beee754de07f83d9002e7b9d7f27e72c11ee379e9f659cd978dd0686466a7635f56895112ae16c7c languageName: node linkType: hard @@ -42304,8 +42735,8 @@ __metadata: linkType: hard "title@npm:^3.4.2": - version: 3.4.4 - resolution: "title@npm:3.4.4" + version: 3.5.3 + resolution: "title@npm:3.5.3" dependencies: arg: 1.0.0 chalk: 2.3.0 @@ -42313,7 +42744,7 @@ __metadata: titleize: 1.0.0 bin: title: bin/title.js - checksum: 988c42c03f4c634ce691732fee216cb2368f7eb24ed2681ea9fe0231781fb2f3c558f769533d5dbd4d208f1ce432a5596b937ce2e326ad62965e7b6ef98d2dba + checksum: 9334ff46f49c215a108adbb3ab39bd946dfd1a669b999ad173ff61aa7598a17718f954462d8ebf8fb3ea643b5c37f2f7a163310d186acb18a101c028248d3b15 languageName: node linkType: hard @@ -42512,13 +42943,14 @@ __metadata: linkType: hard "tough-cookie@npm:>=0.12.0, tough-cookie@npm:^4.0.0": - version: 4.0.0 - resolution: "tough-cookie@npm:4.0.0" + version: 4.1.2 + resolution: "tough-cookie@npm:4.1.2" dependencies: psl: ^1.1.33 punycode: ^2.1.1 - universalify: ^0.1.2 - checksum: 8ecd1f1ff1fa1d2c04f5e8533ae61d9b43062279aa62d7daf52a16fd99643fa569ae38464b6ae3f3fe1aa2184cee1539ff2066120eb95b9ac9684e8047b0ea3c + universalify: ^0.2.0 + url-parse: ^1.5.3 + checksum: 1f9d97bc9ff22b41e107eca4a146064f916e567b5557795dbfe742f098557ba1101b8f7c4e02ac785236663f7f086c37dc595a5b9813ef8fb27f8d800dc9eb9b languageName: node linkType: hard @@ -42673,13 +43105,6 @@ __metadata: languageName: node linkType: hard -"trim-newlines@npm:^4.0.2": - version: 4.0.2 - resolution: "trim-newlines@npm:4.0.2" - checksum: 48d022e9d14f27cf8b71983691af61cd8ce511d159ed0962452d2fa23f58298398d905e1ff982566f9034f93df3ef676868c1c14d13bcd849e7500dbfbd6101b - languageName: node - linkType: hard - "trim-repeated@npm:^1.0.0": version: 1.0.0 resolution: "trim-repeated@npm:1.0.0" @@ -42768,9 +43193,9 @@ __metadata: languageName: node linkType: hard -"ts-jest@npm:^28.0.0": - version: 28.0.7 - resolution: "ts-jest@npm:28.0.7" +"ts-jest@npm:^28.0.0, ts-jest@npm:^28.0.8": + version: 28.0.8 + resolution: "ts-jest@npm:28.0.8" dependencies: bs-logger: 0.x fast-json-stable-stringify: 2.x @@ -42797,7 +43222,7 @@ __metadata: optional: true bin: ts-jest: cli.js - checksum: 48dd79d34b33f0a3474414c78040f8c0252d965d556ac6014f9888e8a65e3ee56f98244c29e8d7965b2a15f208848c3fc555a4c44b8ab98ff1c68f4f1ff8eae9 + checksum: 4f6d7c8dbf6deaf56f4490ae819071077e8ed30c1a3c87c7d2e21b3103e6d12aaa53d2776cb5c947bac3f3a05cd9f8dea2aedc4c6550c14fbf639c1368a0fbc9 languageName: node linkType: hard @@ -42930,7 +43355,7 @@ __metadata: languageName: node linkType: hard -"tslib@npm:^1.10.0, tslib@npm:^1.13.0, tslib@npm:^1.8.1, tslib@npm:^1.9.0, tslib@npm:^1.9.3": +"tslib@npm:^1.10.0, tslib@npm:^1.8.1, tslib@npm:^1.9.0, tslib@npm:^1.9.3": version: 1.14.1 resolution: "tslib@npm:1.14.1" checksum: 69ae09c49eea644bc5ebe1bca4fa4cc2c82b7b3e02f43b84bd891504edf66dbc6b2ec0eef31a957042de2269139e4acff911e6d186a258fb14069cd7f6febce2 @@ -42951,15 +43376,15 @@ __metadata: languageName: node linkType: hard -"tsup@npm:^6.1.2": - version: 6.1.3 - resolution: "tsup@npm:6.1.3" +"tsup@npm:^6.2.2": + version: 6.2.3 + resolution: "tsup@npm:6.2.3" dependencies: - bundle-require: ^3.0.2 + bundle-require: ^3.1.0 cac: ^6.7.12 chokidar: ^3.5.1 debug: ^4.3.1 - esbuild: ^0.14.25 + esbuild: ^0.15.1 execa: ^5.0.0 globby: ^11.0.3 joycon: ^3.0.1 @@ -42983,7 +43408,7 @@ __metadata: bin: tsup: dist/cli-default.js tsup-node: dist/cli-node.js - checksum: d5f04c5610a39c34b125a12aeae4af259f1b5f219acfcd1787e735b60cf737ca52906fae538d8e41280558b5093f594d31654f0f2ea9a7d90b223404bc97d83b + checksum: b346d50ba32b79946936629252a202fda7d4eef0bac76380819a69c882939f51cb2e2875ea314e27ee4370e06ca10edded6f4f50a309945b255d21cbaee1b720 languageName: node linkType: hard @@ -43102,17 +43527,10 @@ __metadata: languageName: node linkType: hard -"type-fest@npm:^1.0.1, type-fest@npm:^1.2.1, type-fest@npm:^1.2.2": - version: 1.4.0 - resolution: "type-fest@npm:1.4.0" - checksum: a3c0f4ee28ff6ddf800d769eafafcdeab32efa38763c1a1b8daeae681920f6e345d7920bf277245235561d8117dab765cb5f829c76b713b4c9de0998a5397141 - languageName: node - linkType: hard - "type-fest@npm:^2.17.0": - version: 2.17.0 - resolution: "type-fest@npm:2.17.0" - checksum: e7707e5c27213919483011d127f333432d82d06b697ca0577cc828b53d384372b4308d3294e849b0111a34fdc7adf5bdef58c5ffa80aa36d19e9851b2a8d9970 + version: 2.19.0 + resolution: "type-fest@npm:2.19.0" + checksum: a5a7ecf2e654251613218c215c7493574594951c08e52ab9881c9df6a6da0aeca7528c213c622bc374b4e0cb5c443aa3ab758da4e3c959783ce884c3194e12cb languageName: node linkType: hard @@ -43133,10 +43551,10 @@ __metadata: languageName: node linkType: hard -"type@npm:^2.5.0": - version: 2.6.0 - resolution: "type@npm:2.6.0" - checksum: d08063a1c3415140d0b6fd17ede55f373cdd6c5503776693ad5ead574a06404823374d62d6233e43bc30ec22f596b790cbb8661429bed75a75dab986b506ac60 +"type@npm:^2.7.2": + version: 2.7.2 + resolution: "type@npm:2.7.2" + checksum: 84c2382788fe24e0bc3d64c0c181820048f672b0f06316aa9c7bdb373f8a09f8b5404f4e856bc4539fb931f2f08f2adc4c53f6c08c9c0314505d70c29a1289e1 languageName: node linkType: hard @@ -43198,11 +43616,11 @@ __metadata: linkType: hard "uglify-js@npm:^3.1.4": - version: 3.16.2 - resolution: "uglify-js@npm:3.16.2" + version: 3.17.0 + resolution: "uglify-js@npm:3.17.0" bin: uglifyjs: bin/uglifyjs - checksum: 43eb0b3db922873129daed4e6d1037c45195088c2fbfb5ce805a2873c75201452dabcb68f066ccebccf251bf2a34dec072b1fdcd6ac88b3a62655f285d1f0f23 + checksum: 92a4ff1a26135eb124b4fc0b0d7c18ae5115f1c11927bb3a2530f60e2d3f8f256b8ce2186dd9fe432612f980d8a6ca096c9c723dce368bd44f7b9f24a2b4c4cd languageName: node linkType: hard @@ -43467,6 +43885,15 @@ __metadata: languageName: node linkType: hard +"unique-filename@npm:^2.0.0": + version: 2.0.1 + resolution: "unique-filename@npm:2.0.1" + dependencies: + unique-slug: ^3.0.0 + checksum: 55d95cd670c4a86117ebc34d394936d712d43b56db6bc511f9ca00f666373818bf9f075fb0ab76bcbfaf134592ef26bb75aad20786c1ff1ceba4457eaba90fb8 + languageName: node + linkType: hard + "unique-slug@npm:^2.0.0": version: 2.0.2 resolution: "unique-slug@npm:2.0.2" @@ -43476,6 +43903,15 @@ __metadata: languageName: node linkType: hard +"unique-slug@npm:^3.0.0": + version: 3.0.0 + resolution: "unique-slug@npm:3.0.0" + dependencies: + imurmurhash: ^0.1.4 + checksum: 617240eb921af803b47d322d75a71a363dacf2e56c29ae5d1404fad85f64f4ec81ef10ee4fd79215d0202cbe1e5a653edb0558d59c9c81d3bd538c2d58e4c026 + languageName: node + linkType: hard + "unique-stream@npm:^2.2.1": version: 2.3.1 resolution: "unique-stream@npm:2.3.1" @@ -43629,13 +44065,13 @@ __metadata: languageName: node linkType: hard -"unist-util-visit-parents@npm:^5.0.0": - version: 5.1.0 - resolution: "unist-util-visit-parents@npm:5.1.0" +"unist-util-visit-parents@npm:^5.1.1": + version: 5.1.1 + resolution: "unist-util-visit-parents@npm:5.1.1" dependencies: "@types/unist": ^2.0.0 unist-util-is: ^5.0.0 - checksum: c659295f1a77ea1fa2bd48fdba53d2248db75656b69d499413214592bd164b664eae2491a7df46b1a71420c2c8f8c94277b7d0c98760717a9b067d604c51e1db + checksum: 9d1c7c905a8018d87d85dfd0d98dbbe7f580a3661def247b4c5248b0c4c50c5d9a77d266bc132252379145a133aa4d94b5099c7de93ac27dea5d88447c9f58b1 languageName: node linkType: hard @@ -43651,13 +44087,13 @@ __metadata: linkType: hard "unist-util-visit@npm:^4.0.0": - version: 4.1.0 - resolution: "unist-util-visit@npm:4.1.0" + version: 4.1.1 + resolution: "unist-util-visit@npm:4.1.1" dependencies: "@types/unist": ^2.0.0 unist-util-is: ^5.0.0 - unist-util-visit-parents: ^5.0.0 - checksum: d41895b776bf480bc5554fb0efdc0e490ddf8d7e8ae561669e84435cd106db79ab44f3f1cddda8a2094514327d55effbbc86b1a2062ff09865e556dd84c91455 + unist-util-visit-parents: ^5.1.1 + checksum: 4a32c6c03a0c99bbde289eafda89c2162d42b846f857eef569bceb9e76c71d84e97a3133be10f652e29fd0ff4eab52960d395d1a044ed5235350fd1b71c8790d languageName: node linkType: hard @@ -43696,13 +44132,20 @@ __metadata: languageName: node linkType: hard -"universalify@npm:^0.1.0, universalify@npm:^0.1.2": +"universalify@npm:^0.1.0": version: 0.1.2 resolution: "universalify@npm:0.1.2" checksum: e70e0339f6b36f34c9816f6bf9662372bd241714dc77508d231d08386d94f2c4aa1ba1318614f92015f40d45aae1b9075cd30bd490efbe39387b60a76ca3f045 languageName: node linkType: hard +"universalify@npm:^0.2.0": + version: 0.2.0 + resolution: "universalify@npm:0.2.0" + checksum: cedbe4d4ca3967edf24c0800cfc161c5a15e240dac28e3ce575c689abc11f2c81ccc6532c8752af3b40f9120fb5e454abecd359e164f4f6aa44c29cd37e194fe + languageName: node + linkType: hard + "universalify@npm:^2.0.0": version: 2.0.0 resolution: "universalify@npm:2.0.0" @@ -43764,9 +44207,9 @@ __metadata: languageName: node linkType: hard -"update-browserslist-db@npm:^1.0.4": - version: 1.0.5 - resolution: "update-browserslist-db@npm:1.0.5" +"update-browserslist-db@npm:^1.0.5": + version: 1.0.7 + resolution: "update-browserslist-db@npm:1.0.7" dependencies: escalade: ^3.1.1 picocolors: ^1.0.0 @@ -43774,7 +44217,7 @@ __metadata: browserslist: ">= 4.21.0" bin: browserslist-lint: cli.js - checksum: c587343bffa5895335778129cebb0b4d1ec219f5f7441d06919ce182c225a0f22d3000e037a3ace857167d6ae9a9d86eb37fc9ca125e180a3c8ccd4b35cd5194 + checksum: 1590cf572c55827f7feee0124af408eaf6322dfb21097ec987867668222db64f29933ce5dbb563c8f2bd64a57953a1eaa5426623c2025532fb22ee6f40583668 languageName: node linkType: hard @@ -43832,6 +44275,16 @@ __metadata: languageName: node linkType: hard +"url-parse@npm:^1.5.3": + version: 1.5.10 + resolution: "url-parse@npm:1.5.10" + dependencies: + querystringify: ^2.1.1 + requires-port: ^1.0.0 + checksum: bd5aa9389f896974beb851c112f63b466505a04b4807cea2e5a3b7092f6fbb75316f0491ea84e44f66fed55f1b440df5195d7e3a8203f64fcefa19d182f5be87 + languageName: node + linkType: hard + "url-regex@npm:^5.0.0": version: 5.0.0 resolution: "url-regex@npm:5.0.0" @@ -43901,12 +44354,12 @@ __metadata: languageName: node linkType: hard -"use-sync-external-store@npm:1.1.0": - version: 1.1.0 - resolution: "use-sync-external-store@npm:1.1.0" +"use-sync-external-store@npm:1.2.0": + version: 1.2.0 + resolution: "use-sync-external-store@npm:1.2.0" peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 - checksum: 4f522e7f10c85a705358640f3d487f261e34cef4dd80c8f167d246a79fb8768c4fffde2f1155f44406e0ee5eb6703eb487539738d7eb7a0bbd6195fe01e5dbae + checksum: ac4814e5592524f242921157e791b022efe36e451fe0d4fd4d204322d5433a4fc300d63b0ade5185f8e0735ded044c70bcf6d2352db0f74d097a238cebd2da02 languageName: node linkType: hard @@ -44296,6 +44749,38 @@ __metadata: languageName: node linkType: hard +"vite@npm:^3.1.0": + version: 3.1.0 + resolution: "vite@npm:3.1.0" + dependencies: + esbuild: ^0.15.6 + fsevents: ~2.3.2 + postcss: ^8.4.16 + resolve: ^1.22.1 + rollup: ~2.78.0 + peerDependencies: + less: "*" + sass: "*" + stylus: "*" + terser: ^5.4.0 + dependenciesMeta: + fsevents: + optional: true + peerDependenciesMeta: + less: + optional: true + sass: + optional: true + stylus: + optional: true + terser: + optional: true + bin: + vite: bin/vite.js + checksum: 38c1a495226ebda7a3f2b341152dc01cb13cbe014a0f834c0bae2f29a6a4fefa3a18587a8d787e25e0ebbd4874da2506a87e3e37b959b26ee8a22983fed2a9e0 + languageName: node + linkType: hard + "vlq@npm:^0.2.1": version: 0.2.3 resolution: "vlq@npm:0.2.3" @@ -44331,9 +44816,9 @@ __metadata: linkType: hard "vscode-languageserver-textdocument@npm:^1.0.1": - version: 1.0.5 - resolution: "vscode-languageserver-textdocument@npm:1.0.5" - checksum: 17f9f3eb52fbe5f0d750ab152623a93424b24a28a349fd9576c967423306156a8c1964c92ad15ce2b09b79f3ebd5666f23bc115d14675e3c5a66a0e3f038d655 + version: 1.0.7 + resolution: "vscode-languageserver-textdocument@npm:1.0.7" + checksum: 6bda397d117b3d5bdf636a5fa29bdfc29c288dd748eb6636722caa1408cfc38d51d522a96a9162c529e9c33cb4b9c55cc8b4c5e417b00297ff0e5a1f21fe0ce6 languageName: node linkType: hard @@ -44345,9 +44830,9 @@ __metadata: linkType: hard "vscode-nls@npm:^5.0.0": - version: 5.0.1 - resolution: "vscode-nls@npm:5.0.1" - checksum: 71a29725c1f873692bbfd87579a546a24ebe8e2d26d428cfc4122301a81ac2987e7d50dfaba8103c3c4f8e4e0d7f0d7dc563df756df3d1b1399845372b683227 + version: 5.2.0 + resolution: "vscode-nls@npm:5.2.0" + checksum: dc9e48f58ebbc807f435d351008813a2ea0c9432d51e778bcac9163c0642f929ddb518411ad654e775ce31e24d6acfa8fb7db8893c05b42c2019894e08b050f9 languageName: node linkType: hard @@ -44363,22 +44848,21 @@ __metadata: resolution: "vue-3-cli-example@workspace:examples/vue-3-cli" dependencies: "@babel/core": ^7.12.10 - "@storybook/addon-actions": 7.0.0-alpha.20 - "@storybook/addon-essentials": 7.0.0-alpha.20 - "@storybook/addon-interactions": 7.0.0-alpha.20 - "@storybook/addon-links": 7.0.0-alpha.20 - "@storybook/addon-storyshots": 7.0.0-alpha.20 + "@storybook/addon-actions": 7.0.0-alpha.31 + "@storybook/addon-essentials": 7.0.0-alpha.31 + "@storybook/addon-interactions": 7.0.0-alpha.31 + "@storybook/addon-links": 7.0.0-alpha.31 + "@storybook/addon-storyshots": 7.0.0-alpha.31 "@storybook/jest": ^0.0.10 "@storybook/testing-library": 0.0.14-next.0 - "@storybook/vue3": 7.0.0-alpha.20 - "@storybook/vue3-webpack5": 7.0.0-alpha.20 + "@storybook/vue3": 7.0.0-alpha.31 + "@storybook/vue3-webpack5": 7.0.0-alpha.31 "@vue/cli-plugin-babel": ^5.0.4 "@vue/cli-plugin-typescript": ^5.0.4 "@vue/cli-service": ^5.0.4 "@vue/compiler-sfc": ^3.2.36 babel-loader: ^8.2.5 - core-js: ^3.8.2 - storybook: 7.0.0-alpha.20 + storybook: 7.0.0-alpha.31 typescript: ~4.6.3 vue: ^3.0.0 vue-jest: ^5.0.0-alpha.8 @@ -44399,17 +44883,16 @@ __metadata: version: 0.0.0-use.local resolution: "vue-cli-example@workspace:examples/vue-cli" dependencies: - "@storybook/addon-controls": 7.0.0-alpha.20 - "@storybook/addon-essentials": 7.0.0-alpha.20 + "@storybook/addon-controls": 7.0.0-alpha.31 + "@storybook/addon-essentials": 7.0.0-alpha.31 "@storybook/preset-scss": ^1.0.3 - "@storybook/source-loader": 7.0.0-alpha.20 - "@storybook/vue": 7.0.0-alpha.20 - "@storybook/vue-webpack5": 7.0.0-alpha.20 + "@storybook/source-loader": 7.0.0-alpha.31 + "@storybook/vue": 7.0.0-alpha.31 + "@storybook/vue-webpack5": 7.0.0-alpha.31 "@vue/cli-plugin-babel": ^5.0.4 "@vue/cli-plugin-typescript": ^5.0.4 "@vue/cli-service": ^5.0.4 - core-js: ^3.8.2 - storybook: 7.0.0-alpha.20 + storybook: 7.0.0-alpha.31 typescript: ~4.6.3 vue: ^2.6.12 vue-class-component: ^7.2.6 @@ -44418,22 +44901,22 @@ __metadata: languageName: unknown linkType: soft -"vue-docgen-api@npm:^4.44.23, vue-docgen-api@npm:^4.46.0": - version: 4.47.0 - resolution: "vue-docgen-api@npm:4.47.0" +"vue-docgen-api@npm:^4.40.0, vue-docgen-api@npm:^4.44.23, vue-docgen-api@npm:^4.46.0": + version: 4.52.0 + resolution: "vue-docgen-api@npm:4.52.0" dependencies: "@babel/parser": ^7.13.12 - "@babel/types": ^7.13.12 + "@babel/types": ^7.18.8 "@vue/compiler-dom": ^3.2.0 "@vue/compiler-sfc": ^3.2.0 ast-types: 0.14.2 hash-sum: ^1.0.2 lru-cache: ^4.1.5 pug: ^3.0.2 - recast: 0.20.5 + recast: 0.21.1 ts-map: ^1.0.3 - vue-inbrowser-compiler-utils: ^4.44.23 - checksum: cc03b03eb2c3e3ec47dba7efb7fc03306d24244a68d0d6a58ad6ee138986f80a37fedfd29e27e922935dee23e7d93a22577fb91823f30b2a208581889e2edaa2 + vue-inbrowser-compiler-independent-utils: ^4.52.0 + checksum: 38e7d44205a6fc14fc28c98e77f89fee5167ef0ad59e9083fcf17f8b9fb9e7aa20941a107b6b67fa7f9bfbf5bf0159925ac750b4d99ee06154e01a2695bf58ad languageName: node linkType: hard @@ -44457,29 +44940,29 @@ __metadata: resolution: "vue-example@workspace:examples/vue-kitchen-sink" dependencies: "@babel/core": ^7.12.10 - "@storybook/addon-a11y": 7.0.0-alpha.20 - "@storybook/addon-actions": 7.0.0-alpha.20 - "@storybook/addon-backgrounds": 7.0.0-alpha.20 - "@storybook/addon-controls": 7.0.0-alpha.20 - "@storybook/addon-docs": 7.0.0-alpha.20 - "@storybook/addon-highlight": 7.0.0-alpha.20 - "@storybook/addon-interactions": 7.0.0-alpha.20 - "@storybook/addon-links": 7.0.0-alpha.20 - "@storybook/addon-storyshots": 7.0.0-alpha.20 - "@storybook/addon-storysource": 7.0.0-alpha.20 - "@storybook/addon-viewport": 7.0.0-alpha.20 - "@storybook/addons": 7.0.0-alpha.20 + "@storybook/addon-a11y": 7.0.0-alpha.31 + "@storybook/addon-actions": 7.0.0-alpha.31 + "@storybook/addon-backgrounds": 7.0.0-alpha.31 + "@storybook/addon-controls": 7.0.0-alpha.31 + "@storybook/addon-docs": 7.0.0-alpha.31 + "@storybook/addon-highlight": 7.0.0-alpha.31 + "@storybook/addon-interactions": 7.0.0-alpha.31 + "@storybook/addon-links": 7.0.0-alpha.31 + "@storybook/addon-storyshots": 7.0.0-alpha.31 + "@storybook/addon-storysource": 7.0.0-alpha.31 + "@storybook/addon-viewport": 7.0.0-alpha.31 + "@storybook/addons": 7.0.0-alpha.31 "@storybook/jest": ^0.0.10 - "@storybook/source-loader": 7.0.0-alpha.20 + "@storybook/source-loader": 7.0.0-alpha.31 "@storybook/testing-library": 0.0.14-next.0 - "@storybook/vue": 7.0.0-alpha.20 - "@storybook/vue-webpack5": 7.0.0-alpha.20 + "@storybook/vue": 7.0.0-alpha.31 + "@storybook/vue-webpack5": 7.0.0-alpha.31 "@vue/babel-preset-jsx": ^1.2.4 babel-loader: ^8.2.5 cross-env: ^7.0.3 file-loader: ^6.2.0 prop-types: ^15.7.2 - storybook: 7.0.0-alpha.20 + storybook: 7.0.0-alpha.31 svg-url-loader: ^7.1.1 vue: ^2.6.12 vue-loader: ^15.9.6 @@ -44498,24 +44981,12 @@ __metadata: languageName: node linkType: hard -"vue-inbrowser-compiler-demi@npm:^4.45.0": - version: 4.45.0 - resolution: "vue-inbrowser-compiler-demi@npm:4.45.0" - peerDependencies: - vue: ">=2" - checksum: 11fb15d284570912cdd016f080418c6366625e6d901d87ba14a4bb1fb90176c1d1cb23b4e3496522a170441a4a15f14758457a3069203d42ba1e737a86e077f4 - languageName: node - linkType: hard - -"vue-inbrowser-compiler-utils@npm:^4.44.23": - version: 4.46.0 - resolution: "vue-inbrowser-compiler-utils@npm:4.46.0" - dependencies: - camelcase: ^5.3.1 - vue-inbrowser-compiler-demi: ^4.45.0 +"vue-inbrowser-compiler-independent-utils@npm:^4.52.0": + version: 4.54.1 + resolution: "vue-inbrowser-compiler-independent-utils@npm:4.54.1" peerDependencies: vue: ">=2" - checksum: 5c312869eeaf2cf284f81cfb830104b009fffd35692037489aacb0139e4ec0848b761d21fd9094d362ff52944b1fc99325ea6547c6633854b181a4e6ee940a78 + checksum: ff5f83f3c6c603215fa9928715a186edbfdd7939537906388970eef23a85b1b41ab1d959ce7e8b3f4c8c15a9a80efd9c251dcdca14fc3b6786e48111c66b7bf9 languageName: node linkType: hard @@ -44601,12 +45072,12 @@ __metadata: linkType: hard "vue-template-compiler@npm:^2.6.12, vue-template-compiler@npm:^2.6.14": - version: 2.7.7 - resolution: "vue-template-compiler@npm:2.7.7" + version: 2.7.10 + resolution: "vue-template-compiler@npm:2.7.10" dependencies: de-indent: ^1.0.2 he: ^1.2.0 - checksum: ce24eb5b59c4054d2d6487e849662efe711021802c2257ce344776e2a22be7544e7c4e02d86049fc694f0640bcaa3c231738eda950d53984e41d80a4ea8e4d22 + checksum: aaffcb60f7999d97dea0e020b9aa881f8e9560c8e6a6752da53c3a26ae3df5fd5ea5b7170f08a10a198d0d0c298506a9515a15961f5060a1dcab638d5e0b0628 languageName: node linkType: hard @@ -44629,25 +45100,25 @@ __metadata: linkType: hard "vue@npm:^2.6.12": - version: 2.7.7 - resolution: "vue@npm:2.7.7" + version: 2.7.10 + resolution: "vue@npm:2.7.10" dependencies: - "@vue/compiler-sfc": 2.7.7 + "@vue/compiler-sfc": 2.7.10 csstype: ^3.1.0 - checksum: 7dc03163e6bc1febdccd4c762ddbc28261cbbcc30bb2743a8d71ded2a5b843678b4332212a57e23c8a615a600ee456c20e37a71192cdf69a4fc432e328735336 + checksum: b01d8370dc7b4018aa0ddf9838ea1f0536f7c3ae3a88b6585ac8e72fc9951f25f4bc793d27bc2f6fdaf63836f7d16167f3a4aad3402b2b839a882772e90c7f2c languageName: node linkType: hard "vue@npm:^3.0.0, vue@npm:^3.2.33": - version: 3.2.37 - resolution: "vue@npm:3.2.37" + version: 3.2.38 + resolution: "vue@npm:3.2.38" dependencies: - "@vue/compiler-dom": 3.2.37 - "@vue/compiler-sfc": 3.2.37 - "@vue/runtime-dom": 3.2.37 - "@vue/server-renderer": 3.2.37 - "@vue/shared": 3.2.37 - checksum: b4e4d051452d284de89788b748596210950d08a805f3a5b9c4709ee6ddebb818d95439046a8fd8188fac7fba2d2746aad734d22ae8aa11b2991e11d63afde4be + "@vue/compiler-dom": 3.2.38 + "@vue/compiler-sfc": 3.2.38 + "@vue/runtime-dom": 3.2.38 + "@vue/server-renderer": 3.2.38 + "@vue/shared": 3.2.38 + checksum: 54f6425bd29da94063a62bbd7b07759e7f9230bcfd3e5be042ed72f11801ba864e0ae7094e6734261ec0570cd89b8dd9b6c9639e3400ff208c71ba53c36eb2ce languageName: node linkType: hard @@ -44756,7 +45227,7 @@ __metadata: languageName: node linkType: hard -"walker@npm:^1.0.7, walker@npm:~1.0.5": +"walker@npm:^1.0.7, walker@npm:^1.0.8, walker@npm:~1.0.5": version: 1.0.8 resolution: "walker@npm:1.0.8" dependencies: @@ -44775,18 +45246,17 @@ __metadata: linkType: hard "watch-detector@npm:^1.0.0": - version: 1.0.1 - resolution: "watch-detector@npm:1.0.1" + version: 1.0.2 + resolution: "watch-detector@npm:1.0.2" dependencies: heimdalljs-logger: ^0.1.10 - semver: ^6.3.0 silent-error: ^1.1.1 tmp: ^0.1.0 - checksum: e9484a7eee1a22780c4b3f4620d1603ac3f07de63acb7a461d785a5dcd910e2b31331fae3fba6cb57f8bb6198786be339cd51c8be8364ec71ade2292d31c239c + checksum: 3f6c76948218c86bf8700f4a36811d43ddbd61e86ba1147a62d47faeb79c00e3884719bd31a6049e8fddef60dc04e7bce68e9b9639d127ccbbd81245c1f76593 languageName: node linkType: hard -"watchpack@npm:^2.2.0, watchpack@npm:^2.3.1": +"watchpack@npm:^2.2.0, watchpack@npm:^2.4.0": version: 2.4.0 resolution: "watchpack@npm:2.4.0" dependencies: @@ -44917,8 +45387,8 @@ __metadata: linkType: hard "webpack-bundle-analyzer@npm:^4.4.0": - version: 4.5.0 - resolution: "webpack-bundle-analyzer@npm:4.5.0" + version: 4.6.1 + resolution: "webpack-bundle-analyzer@npm:4.6.1" dependencies: acorn: ^8.0.4 acorn-walk: ^8.0.0 @@ -44931,7 +45401,7 @@ __metadata: ws: ^7.3.1 bin: webpack-bundle-analyzer: lib/bin/analyzer.js - checksum: 5130be9fa58645e412e9824f98bd961afe540b9918951ddc87b688f3e176f4a101fcb16a304c74f0d1ddd9f2528ec2fa44bcfcea3fe07635fa9af0e3104644aa + checksum: 55dcf917bfbf52a688703bc636810df6bdb30981b65066291ab86ce3f359925f52a07cc43d38a841aa579d313516e0b5dd86814daf4fda6f8aaba89a4e7bcd6a languageName: node linkType: hard @@ -45053,8 +45523,8 @@ __metadata: linkType: hard "webpack-dev-server@npm:^4.6.0, webpack-dev-server@npm:^4.7.3, webpack-dev-server@npm:^4.8.1": - version: 4.9.3 - resolution: "webpack-dev-server@npm:4.9.3" + version: 4.10.1 + resolution: "webpack-dev-server@npm:4.10.1" dependencies: "@types/bonjour": ^3.5.9 "@types/connect-history-api-fallback": ^1.3.5 @@ -45092,19 +45562,18 @@ __metadata: optional: true bin: webpack-dev-server: bin/webpack-dev-server.js - checksum: 2fdc02b3f6cd44b13f8a062da56f999decd2df596c05dd212248c808f310ee77d5809919e5846a4f28fb02d062abfbef1b984f48260ed2a6e493ff2b9cb75231 + checksum: d2e0681f7b74fb8e014940e9efa1390928e2763dd15e09a7db1510928138c9fd746971f8af710ec52ce4370012a04e4d76153f718b7f46cee7bb58a1ac84fe35 languageName: node linkType: hard "webpack-hot-middleware@npm:^2.25.1": - version: 2.25.1 - resolution: "webpack-hot-middleware@npm:2.25.1" + version: 2.25.2 + resolution: "webpack-hot-middleware@npm:2.25.2" dependencies: ansi-html-community: 0.0.8 html-entities: ^2.1.0 - querystring: ^0.2.0 strip-ansi: ^6.0.0 - checksum: 2b8cc2841d6168c5e9f0edd116289fb441039e8de784baf375b1156883a860ee0917a3498b8198f47ad056dd90cdd8eb053253127a0f923c76b18fa7987d0c05 + checksum: dc7cef3b3b06aeeaa925a3514a8f5ab110ec42c7a423d9f2c3fd31d96ac54e2837647f01f9169e1fddbda64c3ff962bb8b6eda184a53f2d09cd7deaa03c6f422 languageName: node linkType: hard @@ -45180,19 +45649,19 @@ __metadata: linkType: hard "webpack@npm:5": - version: 5.73.0 - resolution: "webpack@npm:5.73.0" + version: 5.74.0 + resolution: "webpack@npm:5.74.0" dependencies: "@types/eslint-scope": ^3.7.3 "@types/estree": ^0.0.51 "@webassemblyjs/ast": 1.11.1 "@webassemblyjs/wasm-edit": 1.11.1 "@webassemblyjs/wasm-parser": 1.11.1 - acorn: ^8.4.1 + acorn: ^8.7.1 acorn-import-assertions: ^1.7.6 browserslist: ^4.14.5 chrome-trace-event: ^1.0.2 - enhanced-resolve: ^5.9.3 + enhanced-resolve: ^5.10.0 es-module-lexer: ^0.9.0 eslint-scope: 5.1.1 events: ^3.2.0 @@ -45205,14 +45674,14 @@ __metadata: schema-utils: ^3.1.0 tapable: ^2.1.1 terser-webpack-plugin: ^5.1.3 - watchpack: ^2.3.1 + watchpack: ^2.4.0 webpack-sources: ^3.2.3 peerDependenciesMeta: webpack-cli: optional: true bin: webpack: bin/webpack.js - checksum: 761add2395e37c7bd0b0727bea327496b8a2f5a702b29bd4907f9e80f6e7ea17ecdeefabf0683fdefe1148f725cd51eb81c4a73b4646eda9eb1a8d1a74ac8cae + checksum: a5f9eeb36edfa3fe1fc31950706080521fe2ada9706ce8205b817164ab3f6b207cc42023fb61e09687e7f0f252871c6c1a8b0f1a638a4a065c30f6bc460c68f9 languageName: node linkType: hard @@ -45487,28 +45956,28 @@ __metadata: languageName: node linkType: hard -"workbox-background-sync@npm:6.5.3": - version: 6.5.3 - resolution: "workbox-background-sync@npm:6.5.3" +"workbox-background-sync@npm:6.5.4": + version: 6.5.4 + resolution: "workbox-background-sync@npm:6.5.4" dependencies: - idb: ^6.1.4 - workbox-core: 6.5.3 - checksum: f10d6a36ac8f5a506c4f527068577f435ebd72c6076ca32e988c92c627d9d5721417a7369c3de210ed08a25cca5dec30798ace313e2b7f9d99422eeb6d9310f8 + idb: ^7.0.1 + workbox-core: 6.5.4 + checksum: 4d1431c19fb1bb07f5ce31e286f0d62de908b813857f3d2e5048c21cafb318a41a1ae0cf135545bc6053f6d4c487951f4c232241c47caab37908a70e87d3fa30 languageName: node linkType: hard -"workbox-broadcast-update@npm:6.5.3": - version: 6.5.3 - resolution: "workbox-broadcast-update@npm:6.5.3" +"workbox-broadcast-update@npm:6.5.4": + version: 6.5.4 + resolution: "workbox-broadcast-update@npm:6.5.4" dependencies: - workbox-core: 6.5.3 - checksum: 09a09f398a2383769ece41197fec95b6d12f7d7573b87d13e1ad461346a036b1fea4d8f1961d8c121dd023bbeb3a972b9e7ac6d98e8e2412eb878900a28c9479 + workbox-core: 6.5.4 + checksum: fa7164d4b11ce2ff7922a84fef836b432147b49dd04b9afa543908d035245c394707d87a15faf2ea2c28c76b5d6ae9db6600b01faa734a2d29b3aa4543a8baab languageName: node linkType: hard -"workbox-build@npm:6.5.3": - version: 6.5.3 - resolution: "workbox-build@npm:6.5.3" +"workbox-build@npm:6.5.4": + version: 6.5.4 + resolution: "workbox-build@npm:6.5.4" dependencies: "@apideck/better-ajv-errors": ^0.3.1 "@babel/core": ^7.11.1 @@ -45532,163 +46001,163 @@ __metadata: strip-comments: ^2.0.1 tempy: ^0.6.0 upath: ^1.2.0 - workbox-background-sync: 6.5.3 - workbox-broadcast-update: 6.5.3 - workbox-cacheable-response: 6.5.3 - workbox-core: 6.5.3 - workbox-expiration: 6.5.3 - workbox-google-analytics: 6.5.3 - workbox-navigation-preload: 6.5.3 - workbox-precaching: 6.5.3 - workbox-range-requests: 6.5.3 - workbox-recipes: 6.5.3 - workbox-routing: 6.5.3 - workbox-strategies: 6.5.3 - workbox-streams: 6.5.3 - workbox-sw: 6.5.3 - workbox-window: 6.5.3 - checksum: 968ff825df265f282658b91a76438a4f0dbb1a4a708b92e329aa8a966acf16d910089911ab9838a1041f30a07656954930705cb0200803f15095a9a6347998c6 - languageName: node - linkType: hard - -"workbox-cacheable-response@npm:6.5.3": - version: 6.5.3 - resolution: "workbox-cacheable-response@npm:6.5.3" + workbox-background-sync: 6.5.4 + workbox-broadcast-update: 6.5.4 + workbox-cacheable-response: 6.5.4 + workbox-core: 6.5.4 + workbox-expiration: 6.5.4 + workbox-google-analytics: 6.5.4 + workbox-navigation-preload: 6.5.4 + workbox-precaching: 6.5.4 + workbox-range-requests: 6.5.4 + workbox-recipes: 6.5.4 + workbox-routing: 6.5.4 + workbox-strategies: 6.5.4 + workbox-streams: 6.5.4 + workbox-sw: 6.5.4 + workbox-window: 6.5.4 + checksum: aaded320ecb1f2f40439accbe7445a31fe72185ee976bbb7d79cc4ef9339407ec137b8a13a927394206783f5548d2b2e1bed597ca1af4b00d5e19d632871ead4 + languageName: node + linkType: hard + +"workbox-cacheable-response@npm:6.5.4": + version: 6.5.4 + resolution: "workbox-cacheable-response@npm:6.5.4" dependencies: - workbox-core: 6.5.3 - checksum: 4080606da47b6ff9bf4edb7b82cfe9a0cec38b7127eb15a4ab142f736a7b0972dbd1b0b61dd6c905ebb32dd0ed7b80e34d33e3abef10896ea2fb1e5776de688d + workbox-core: 6.5.4 + checksum: 5a464881f254b6ebea1055412e4b90861e9d987ed7167b9fcdebfbd79af72d678979a2dcf0c62a3db2afcabb320c23ba691db25031ac057e3badd6cc4f80a6e9 languageName: node linkType: hard -"workbox-core@npm:6.5.3": - version: 6.5.3 - resolution: "workbox-core@npm:6.5.3" - checksum: f8bf4f95f18671dace75e849227b6cb2597e022dc685d30bfefd7e0c8e6d7a4aff7f8ea1367b7443e559806c132952d34b1fbf0382aab4763294d01b2319d2cf +"workbox-core@npm:6.5.4": + version: 6.5.4 + resolution: "workbox-core@npm:6.5.4" + checksum: dac894674219035316e3354955343cf7eec4b014a58712cb6139c3c97e4b7c40265403b15d339f8a318304193340485d9a0757255c88cb23d2e6a59b55224a41 languageName: node linkType: hard -"workbox-expiration@npm:6.5.3": - version: 6.5.3 - resolution: "workbox-expiration@npm:6.5.3" +"workbox-expiration@npm:6.5.4": + version: 6.5.4 + resolution: "workbox-expiration@npm:6.5.4" dependencies: - idb: ^6.1.4 - workbox-core: 6.5.3 - checksum: 2be2f7323bea8a9677c56c7e207de70aaa7c16ea7a9f4fb1bc86a404b4e881fe454c99705aaf358d0d5389e98d6d4e94c22ea60e6693b75139cec19738110d60 + idb: ^7.0.1 + workbox-core: 6.5.4 + checksum: f8cf8e694e44d5b8ac2b25f224c716c2d277b54775d6b92323aeb74de36adee80fb46a0140431d6a1adc36b33791f6737eaaf54996ea995def70aff9c1d64492 languageName: node linkType: hard -"workbox-google-analytics@npm:6.5.3": - version: 6.5.3 - resolution: "workbox-google-analytics@npm:6.5.3" +"workbox-google-analytics@npm:6.5.4": + version: 6.5.4 + resolution: "workbox-google-analytics@npm:6.5.4" dependencies: - workbox-background-sync: 6.5.3 - workbox-core: 6.5.3 - workbox-routing: 6.5.3 - workbox-strategies: 6.5.3 - checksum: 59d5ee18079a858ef8b9de0ca0358d5fbee11970fba243186d33917aa64436e4771318943d7a3b332323cbadc28c23eb8b2baff4c47b849884453166e8b65710 + workbox-background-sync: 6.5.4 + workbox-core: 6.5.4 + workbox-routing: 6.5.4 + workbox-strategies: 6.5.4 + checksum: 88640d5efb12d697eb1cd8d04caa9c23b5a48308138aeea24d5726b02b47ece6efe0bd07154d1243f6322b918ed55bf05ed927298fc3bb755545627e8644019f languageName: node linkType: hard -"workbox-navigation-preload@npm:6.5.3": - version: 6.5.3 - resolution: "workbox-navigation-preload@npm:6.5.3" +"workbox-navigation-preload@npm:6.5.4": + version: 6.5.4 + resolution: "workbox-navigation-preload@npm:6.5.4" dependencies: - workbox-core: 6.5.3 - checksum: 886571d2bc30087f29ce7093d73fb4d8f776b64fc1d5ad664ae1f274c071d0c193369467d113a82859224461b089751990aed75097d3129ff491a9dae3c9c406 + workbox-core: 6.5.4 + checksum: ec9bda6ef4e7031fb3544d9ca187588b1c53b89e16ab2efa55ec6a179b1cce0638d23612d70e71a0767489cb5a3edfc168713285157b832f64da16ab6d195f5e languageName: node linkType: hard -"workbox-precaching@npm:6.5.3": - version: 6.5.3 - resolution: "workbox-precaching@npm:6.5.3" +"workbox-precaching@npm:6.5.4": + version: 6.5.4 + resolution: "workbox-precaching@npm:6.5.4" dependencies: - workbox-core: 6.5.3 - workbox-routing: 6.5.3 - workbox-strategies: 6.5.3 - checksum: 3862990b7ad1d27b83945734289c0c8f90cd57523bfc5a01f441b0049d95053c04f49d105065701b7b920c02e88f6c51dbe518b1a2b71f3018d866e3e1da728c + workbox-core: 6.5.4 + workbox-routing: 6.5.4 + workbox-strategies: 6.5.4 + checksum: 25913c0adc8d48827e53677593e01e7ce9daa9cd8b340c36eb013dbbf617ab1ba5789612309c3e94d297a30afcb86688b0f6f21757dd2832a67df1fef0ef3e61 languageName: node linkType: hard -"workbox-range-requests@npm:6.5.3": - version: 6.5.3 - resolution: "workbox-range-requests@npm:6.5.3" +"workbox-range-requests@npm:6.5.4": + version: 6.5.4 + resolution: "workbox-range-requests@npm:6.5.4" dependencies: - workbox-core: 6.5.3 - checksum: 6498adc6d339a1c3319bb18ecf4029dc3426da8f7ee649723af922052e2302a2f7b92e5c80657120e95947f23b4e081a9acf8fdf60f6559f598e8697f66829c8 + workbox-core: 6.5.4 + checksum: 603b1379d3222666e36bda4fc5094d0e13ea3d5b7eb43bc4f8ab3711c525a3f0e65bd0a90fc8a1aa9af1a9a363f25e8c863f2caabbbf21e056f9492395474d47 languageName: node linkType: hard -"workbox-recipes@npm:6.5.3": - version: 6.5.3 - resolution: "workbox-recipes@npm:6.5.3" +"workbox-recipes@npm:6.5.4": + version: 6.5.4 + resolution: "workbox-recipes@npm:6.5.4" dependencies: - workbox-cacheable-response: 6.5.3 - workbox-core: 6.5.3 - workbox-expiration: 6.5.3 - workbox-precaching: 6.5.3 - workbox-routing: 6.5.3 - workbox-strategies: 6.5.3 - checksum: ebe8bf512613981c6b5b386c9c443d77e4ce1c77b03e65f4370c1ee36fc713ceb96fe0d60a8a653740ee114be6766bbd9d97924d71d4264ea74f041d175c672b + workbox-cacheable-response: 6.5.4 + workbox-core: 6.5.4 + workbox-expiration: 6.5.4 + workbox-precaching: 6.5.4 + workbox-routing: 6.5.4 + workbox-strategies: 6.5.4 + checksum: 541efdb3f9f6cea485eb3938d5147b697b8ede0eb002ccdcec26ed132c35b9a0b1677d44b9f66f05ae2788bb59892002eb81c2a151788a12831292a393c9b08c languageName: node linkType: hard -"workbox-routing@npm:6.5.3": - version: 6.5.3 - resolution: "workbox-routing@npm:6.5.3" +"workbox-routing@npm:6.5.4": + version: 6.5.4 + resolution: "workbox-routing@npm:6.5.4" dependencies: - workbox-core: 6.5.3 - checksum: e883780e4eae87077460a1e68ea3fe889039e0bb7a4aafcb620a51cfcab5431c294c8947f2654e35d5a29b0cc84bc1e06121babc95d51b725baa84197733eb81 + workbox-core: 6.5.4 + checksum: a6b75c287408b1db457bbc8971bc4edb96c1a89141ecbd2ad241c7142d230bae31d7257b267a1a9d2a608d72fc8167d65af114d8e3ac0b4744785110408a1710 languageName: node linkType: hard -"workbox-strategies@npm:6.5.3": - version: 6.5.3 - resolution: "workbox-strategies@npm:6.5.3" +"workbox-strategies@npm:6.5.4": + version: 6.5.4 + resolution: "workbox-strategies@npm:6.5.4" dependencies: - workbox-core: 6.5.3 - checksum: b57ace4408ae1800708987e78704dcb8ee0ae0acdb8245b6a4d54d182331594c2faa7d3aa9a2cd3b2fad199213b6229738237f52340c1802c4c15d9f5bf565be + workbox-core: 6.5.4 + checksum: a57b69ae7fc14f172d4b9d5e2835ce36d345a8bac149cf6b8bafb60c1fd20fc46f511ef7b1322c0474628947875251f43d3331f8627fd6950f1c3ec262f5c98c languageName: node linkType: hard -"workbox-streams@npm:6.5.3": - version: 6.5.3 - resolution: "workbox-streams@npm:6.5.3" +"workbox-streams@npm:6.5.4": + version: 6.5.4 + resolution: "workbox-streams@npm:6.5.4" dependencies: - workbox-core: 6.5.3 - workbox-routing: 6.5.3 - checksum: cbad03d101484079cb1d28a2b9b77eb7025b190230bf18993508be71231f710f897946fd9a398eed157e5c8bc3a05ec4e465bc7bcb3d883d5366a4c0d41f6175 + workbox-core: 6.5.4 + workbox-routing: 6.5.4 + checksum: d69ad8aad0e6aefb660aa9e5ac32b80abd5fe145b8bc878d3419873dc48702b61f9de49130a2e0e1e5f51998f53df27bc4c05ae29597b45fc8ad6bb424fceaea languageName: node linkType: hard -"workbox-sw@npm:6.5.3": - version: 6.5.3 - resolution: "workbox-sw@npm:6.5.3" - checksum: 4683a6b0db20dd0ae9fac69d55b15d0e74ef4a912a74808356b5d6cece5555d639bb73adf16f8ff87677279a703494e84aa358e72b7e14513f4d5840805302d6 +"workbox-sw@npm:6.5.4": + version: 6.5.4 + resolution: "workbox-sw@npm:6.5.4" + checksum: 2d276e8436ab98d8edd94683f4f5bd62aff97403499a8489132f2bb724812cdecfe8fd0d826116737c2a675eacdccc1c01d963e7bb451ee87b1af60ae39ed816 languageName: node linkType: hard "workbox-webpack-plugin@npm:^6.4.1": - version: 6.5.3 - resolution: "workbox-webpack-plugin@npm:6.5.3" + version: 6.5.4 + resolution: "workbox-webpack-plugin@npm:6.5.4" dependencies: fast-json-stable-stringify: ^2.1.0 pretty-bytes: ^5.4.1 upath: ^1.2.0 webpack-sources: ^1.4.3 - workbox-build: 6.5.3 + workbox-build: 6.5.4 peerDependencies: webpack: ^4.4.0 || ^5.9.0 - checksum: 7f00b1c67e8f3e151457dab0f58861a10ee6df2067fd003b2b3388d736eb867aebdd113b00bbe1cd5f14fe26d9f4e8eaa27edc39bce3968460dc408ccfb46c29 + checksum: f0faee823267386b3b7643b2e281beb576f64456c573d6f01a4da8a9295c8a6008a7b46d60d09d5271f61cdb8eaf67a2b63f92e8c994497f1535ccfe69a70457 languageName: node linkType: hard -"workbox-window@npm:6.5.3": - version: 6.5.3 - resolution: "workbox-window@npm:6.5.3" +"workbox-window@npm:6.5.4": + version: 6.5.4 + resolution: "workbox-window@npm:6.5.4" dependencies: "@types/trusted-types": ^2.0.2 - workbox-core: 6.5.3 - checksum: de6a3b2d114902296d979081ffcda59e49ac6242792212957daa94f439dc4851659e8af858d1dac70e383100381d818ac68c19f443b15fb787e6bc11d28f55ca + workbox-core: 6.5.4 + checksum: fd5ed15563025d76fe70a6d62413e380de160fd8c033c22d6827e5256edaac7362b2955ce42f2188cde100f881727840be78d057c533b8dd3696c6a7c7b36031 languageName: node linkType: hard @@ -45811,6 +46280,16 @@ __metadata: languageName: node linkType: hard +"write-file-atomic@npm:^4.0.1": + version: 4.0.2 + resolution: "write-file-atomic@npm:4.0.2" + dependencies: + imurmurhash: ^0.1.4 + signal-exit: ^3.0.7 + checksum: a2c282c95ef5d8e1c27b335ae897b5eca00e85590d92a3fd69a437919b7b93ff36a69ea04145da55829d2164e724bc62202cdb5f4b208b425aba0807889375c7 + languageName: node + linkType: hard + "write-json-file@npm:^2.2.0": version: 2.3.0 resolution: "write-json-file@npm:2.3.0" @@ -46069,13 +46548,6 @@ __metadata: languageName: node linkType: hard -"yargs-parser@npm:20.0.0": - version: 20.0.0 - resolution: "yargs-parser@npm:20.0.0" - checksum: 57737f9a5a16907513928aa4307641b04d0686543b9c31d827f26f3013715b3d6e32334022924ddf1b3b82170a4eb2393eae47dca38db3ed5659637a3afd1157 - languageName: node - linkType: hard - "yargs-parser@npm:20.x, yargs-parser@npm:^20.2.2, yargs-parser@npm:^20.2.3, yargs-parser@npm:^20.2.9": version: 20.2.9 resolution: "yargs-parser@npm:20.2.9" @@ -46083,13 +46555,20 @@ __metadata: languageName: node linkType: hard -"yargs-parser@npm:21.0.1, yargs-parser@npm:^21.0.0, yargs-parser@npm:^21.0.1": +"yargs-parser@npm:21.0.1": version: 21.0.1 resolution: "yargs-parser@npm:21.0.1" checksum: 384ca19e113a053bb7858cf47f891e630c10ea6ad91f9ad7cae84ea1cdfb09b155a2d0fa97b51116ee6f01e038faaa6c46964953afecd453fa64a761bb87475f languageName: node linkType: hard +"yargs-parser@npm:>=21.0.1, yargs-parser@npm:^21.0.0, yargs-parser@npm:^21.0.1": + version: 21.1.1 + resolution: "yargs-parser@npm:21.1.1" + checksum: f84b5e48169479d2f402239c59f084cfd1c3acc197a05c59b98bab067452e6b3ea46d4dd8ba2985ba7b3d32a343d77df0debd6b343e5dae3da2aab2cdf5886b2 + languageName: node + linkType: hard + "yargs-parser@npm:^13.1.2": version: 13.1.2 resolution: "yargs-parser@npm:13.1.2" @@ -46120,25 +46599,6 @@ __metadata: languageName: node linkType: hard -"yargs@npm:15.4.1, yargs@npm:^15.3.1, yargs@npm:^15.4.1": - version: 15.4.1 - resolution: "yargs@npm:15.4.1" - dependencies: - cliui: ^6.0.0 - decamelize: ^1.2.0 - find-up: ^4.1.0 - get-caller-file: ^2.0.1 - require-directory: ^2.1.1 - require-main-filename: ^2.0.0 - set-blocking: ^2.0.0 - string-width: ^4.2.0 - which-module: ^2.0.0 - y18n: ^4.0.0 - yargs-parser: ^18.1.2 - checksum: f1ca680c974333a5822732825cca7e95306c5a1e7750eb7b973ce6dc4f97a6b0a8837203c8b194f461969bfe1fb1176d1d423036635285f6010b392fa498ab2d - languageName: node - linkType: hard - "yargs@npm:^13.3.0": version: 13.3.2 resolution: "yargs@npm:13.3.2" @@ -46176,6 +46636,25 @@ __metadata: languageName: node linkType: hard +"yargs@npm:^15.3.1, yargs@npm:^15.4.1": + version: 15.4.1 + resolution: "yargs@npm:15.4.1" + dependencies: + cliui: ^6.0.0 + decamelize: ^1.2.0 + find-up: ^4.1.0 + get-caller-file: ^2.0.1 + require-directory: ^2.1.1 + require-main-filename: ^2.0.0 + set-blocking: ^2.0.0 + string-width: ^4.2.0 + which-module: ^2.0.0 + y18n: ^4.0.0 + yargs-parser: ^18.1.2 + checksum: f1ca680c974333a5822732825cca7e95306c5a1e7750eb7b973ce6dc4f97a6b0a8837203c8b194f461969bfe1fb1176d1d423036635285f6010b392fa498ab2d + languageName: node + linkType: hard + "yargs@npm:^16.0.0, yargs@npm:^16.2.0": version: 16.2.0 resolution: "yargs@npm:16.2.0" @@ -46257,11 +46736,11 @@ __metadata: linkType: hard "zone.js@npm:~0.11.4": - version: 0.11.6 - resolution: "zone.js@npm:0.11.6" + version: 0.11.8 + resolution: "zone.js@npm:0.11.8" dependencies: tslib: ^2.3.0 - checksum: e5d10f6f3b8a590d9861802cc3bfe1ddef6ca293ab7ceb626fd7d1523d235a3b56937b1e3f2efb12bd47d52a3bc616bdd7ccd0981e30bb304a5e844744476b34 + checksum: f77d5a84bd358e2df43d52221fcee32a8113ef2d794f2b673029b50d4d7e69cefb09c08b659295196166d7bd9d39ef5541702594791de77280a03a234a6f79a9 languageName: node linkType: hard @@ -46280,24 +46759,24 @@ __metadata: linkType: hard "zx@npm:^7.0.3": - version: 7.0.7 - resolution: "zx@npm:7.0.7" + version: 7.0.8 + resolution: "zx@npm:7.0.8" dependencies: "@types/fs-extra": ^9.0.13 "@types/minimist": ^1.2.2 - "@types/node": ^17.0 + "@types/node": ^18.6.3 "@types/ps-tree": ^1.1.2 "@types/which": ^2.0.1 chalk: ^5.0.1 fs-extra: ^10.1.0 globby: ^13.1.2 minimist: ^1.2.6 - node-fetch: ^3.2.6 + node-fetch: 3.2.8 ps-tree: ^1.2.0 which: ^2.0.2 yaml: ^2.1.1 bin: zx: build/cli.js - checksum: 7be44cbffce7d5a1a46321e709b3499ebdc0b015af1503b72e05d3d3a5ca5ff2f3855ba45f0761a3bc3debf7f149002b2d78584dba7c0a03efb9082a6cc0d32b + checksum: f19878d2725fd77de7dd47317b84b272a4f8f5337a5836d84494a8ab6783f0c5347bd08be2f1c26a0b4767d458526fa103a770aa07694bc689ada50264d02785 languageName: node linkType: hard diff --git a/docs/.prettierrc b/docs/.prettierrc new file mode 100644 index 000000000000..d033feea7ad5 --- /dev/null +++ b/docs/.prettierrc @@ -0,0 +1,8 @@ +{ + "printWidth": 100, + "tabWidth": 2, + "bracketSpacing": true, + "trailingComma": "es5", + "singleQuote": true, + "arrowParens": "always" +} diff --git a/docs/contribute/code.md b/docs/contribute/code.md index 0aca843f604c..5f05bf4dcd75 100644 --- a/docs/contribute/code.md +++ b/docs/contribute/code.md @@ -4,6 +4,11 @@ title: 'Code contributions' Contribute a new feature or bug fix to [Storybook's monorepo](https://github.com/storybookjs/storybook). This page outlines how to get your environment set up to contribute code. +## Prerequisites + +- Ensure you have node version 14 installed (suggestion: v14.18.1). +- Ensure if you are using Windows to use the Windows Subsystem for Linux (WSL). + ## Initial setup Start by [forking](https://docs.github.com/en/github/getting-started-with-github/quickstart/fork-a-repo) the Storybook monorepo and cloning it locally. @@ -12,7 +17,7 @@ Start by [forking](https://docs.github.com/en/github/getting-started-with-github git clone https://github.com/your-username/storybook.git ``` -Navigate to the `storybook` directory and install the required dependencies with the following commands: +Navigate to the `storybook/code` directory and install the required dependencies with the following commands: ```shell yarn && yarn bootstrap --core @@ -101,7 +106,7 @@ Unit tests ensure that Storybook doesn't break accidentally. If your code can re Storybook's monorepo is set up to rely on end-to-end testing with [Cypress](https://www.cypress.io/) during CI. To help with testing, we encourage running this test suite before submitting your contribution. Detailed below are some steps you can take: 1. Ensure you have Storybook successfully built in your local branch (i.e., run `yarn bootstrap --core`) -2. Open a terminal and run `yarn local-registry --port 6000 --open --publish` to publish Storybook's packages into a local registry. +2. Open a terminal and run `yarn local-registry --port 6001 --open --publish` to publish Storybook's packages into a local registry. 3. In a second terminal, set up a reproduction using the local registry and run the Cypress tests with `yarn test:e2e-framework`. ## Submit a pull request diff --git a/docs/essentials/interactions.md b/docs/essentials/interactions.md index 7cfaf8f462ea..a5b47696596a 100644 --- a/docs/essentials/interactions.md +++ b/docs/essentials/interactions.md @@ -67,7 +67,7 @@ Make sure to import the Storybook wrappers for Jest and Testing Library rather t -The above example uses the `canvasElement` to scope your element queries to the current story. It's essential if you want your play functions to eventually be compatible with Storybook Docs, which renders multiple components on the same page. +The above example uses the `canvasElement` to scope your element queries to the current story. It's essential if you want your play functions to eventually be compatible with Storybook Docs, which renders multiple components on the same page. Additionally, the `step` function can be used to create labeled groups of interactions. While you can refer to the [Testing Library documentation](https://testing-library.com/docs/) for details on how to use it, there's an important detail that's different when using the Storybook wrapper: **method invocations must be `await`-ed**. It allows you to step back and forth through your interactions using the debugger. diff --git a/docs/faq.md b/docs/faq.md index fe91b55ce3f2..b7375d2b331b 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -226,41 +226,9 @@ With the release of version 5.3, we've updated how you can write your stories mo ### What icons are available for my toolbar or my addon? With the [`@storybook/components`](https://www.npmjs.com/package/@storybook/components) package, you get a set of icons that you can use to customize your UI. Use the table below as a reference while writing your addon or defining your Storybook global types. -Go through this [story](https://5a375b97f4b14f0020b0cda3-wbeulgbetj.chromatic.com/?path=/story/basics-icon--labels) to see how the icons look. - -| accessibility | accessibilityalt | add | admin | alert | -| -------------- | ---------------- | ------------ | ------------ | ------------- | -| arrowdown | arrowleft | arrowleftalt | arrowright | arrowrightalt | -| arrowup | back | basket | batchaccept | batchdeny | -| beaker | bell | bitbucket | book | bookmark | -| bookmarkhollow | bottombar | box | branch | browser | -| button | calendar | camera | category | certificate | -| check | chevrondown | chromatic | circle | circlehollow | -| close | closeAlt | cog | collapse | comment | -| commit | compass | component | contrast | copy | -| cpu | credit | cross | dashboard | database | -| delete | discord | docchart | doclist | document | -| download | edit | ellipsis | email | expand | -| expandalt | eye | eyeclose | facebook | facehappy | -| faceneutral | facesad | filter | flag | folder | -| form | gdrive | github | gitlab | globe | -| google | graphbar | graphline | graphql | grid | -| grow | heart | hearthollow | home | hourglass | -| info | key | lightning | lightningoff | link | -| listunordered | location | lock | markup | medium | -| memory | menu | merge | mirror | mobile | -| nut | outbox | outline | paintbrush | paperclip | -| paragraph | phone | photo | pin | play | -| plus | power | print | proceed | profile | -| pullrequest | question | redirect | redux | reply | -| repository | requestchange | rss | search | share | -| sharealt | shield | sidebar | sidebaralt | speaker | -| star | starhollow | stop | structure | subtract | -| support | switchalt | sync | tablet | thumbsup | -| time | timer | transfer | trash | twitter | -| undo | unfold | unlock | upload | user | -| useradd | useralt | users | video | watch | -| wrench | youtube | zoom | zoomout | zoomreset | +Go through this [story](https://main--5a375b97f4b14f0020b0cda3.chromatic.com/?path=/story/basics-icon--labels) to see how the icons look. + + ### I see a "No Preview" error with a Storybook production build diff --git a/docs/sharing/storybook-composition.md b/docs/sharing/storybook-composition.md index 2ccb5570bc8b..96dc76b0c41f 100644 --- a/docs/sharing/storybook-composition.md +++ b/docs/sharing/storybook-composition.md @@ -30,12 +30,12 @@ In your [`.storybook/main.js`](../configure/overview.md#configure-story-renderin
- 💡 Limitation: Addons in composed Storybooks will not work as they normally do in non-composed Storybook. + 💡 Limitation: Addons in composed Storybooks will not work as they normally do in a non-composed Storybook.
## Compose local Storybooks -You can also compose multiple Storybooks that are running locally. For instance, if you have a React Storybook and a Angular Storybook running on different ports you can update your configuration file (i.e., `.storybook/main.js`) and reference them; +You can also compose multiple Storybooks that are running locally. For instance, if you have a React Storybook and an Angular Storybook running on different ports, you can update your configuration file (i.e., `.storybook/main.js`) and reference them; @@ -47,11 +47,11 @@ You can also compose multiple Storybooks that are running locally. For instance, -Adding this configuration will combine both the React and Angular Storybooks into your current one. When either of these changes, you’ll see the changes being applied automatically. Enabling you to develop both frameworks in sync. +Adding this configuration will combine React and Angular Storybooks into your current one. You’ll see the changes being applied automatically when either of these changes. Enabling you to develop both frameworks in sync. ## Compose Storybooks per environment -You can also compose Storybooks based on the current development environment (e.g, development, staging, production). For instance if the project you're working on has already a published Storybook, but also includes a version with cutting edge features not yet released you can adjust the composition based on that. For example: +You can also compose Storybooks based on the current development environment (e.g., development, staging, production). For instance, if the project you're working on already has a published Storybook but also includes a version with cutting-edge features not yet released, you can adjust the composition based on that. For example: @@ -69,9 +69,45 @@ You can also compose Storybooks based on the current development environment (e.
-### Improve your Storybook composition +## Improve your Storybook composition -So far we've seen how we can use composition with local or published Storybooks. One thing worth mentioning as your Storybook will grow in time with your own stories, or through composition with other Storybooks, is that you can optimize the deployment process by including the following command in your workflow, run from your project root: +So far, we've seen how we can use composition with local or published Storybooks. As your Storybook will grow in time with your stories or through composition with other Storybooks, you can optimize the deployment process using various methods. + +### With feature flags + +If you're using Storybook 6.4, or higher, you can optimize your composition via the `buildStoriesJson` feature flag, allowing you to generate a `stories.json` file with the required information, providing you with a seamless integration without the need for additional dependencies. For example: + + + + + + + +
+ +💡 If you already enabled automatic code splitting via the [`storyStoreV7`](https://storybook.js.org/docs/react/builders/webpack#code-splitting), you won't need this flag as it will automatically generate the `stories.json` file. + +
+ +When you compose a Storybook featuring this flag, it will use the information retrieved from the file to populate the UI with your composed Storybook stories automatically. Here's an example of the output generated by the `stories.json` file: + + + + + + + +### With the CLI + +If you're working with an outdated Storybook version or have a project-specific requirement that prevents you from enabling the `buildStoriesJson` feature flag. In that case, you can use Storybook's CLI to automatically generate the `stories.json` file when you deploy your Storybook. For example: ```shell npx storybook extract @@ -79,11 +115,11 @@ npx storybook extract
-`storybook extract` uses [Puppeteer](https://www.npmjs.com/package/puppeteer), which downloads and installs Chromium. Set the environment `SB_CHROMIUM_PATH` to configure your local Chromium installation. +💡 `storybook extract` uses [Puppeteer](https://www.npmjs.com/package/puppeteer), which downloads and installs Chromium. Set the environment `SB_CHROMIUM_PATH` to configure your local Chromium installation.
-Running this command will generate a `stories.json` file in the default build directory (`storybook-static`) with the information related to your Storybook. Here’s an example of the file contents: +Although a good approach to improve composition, it comes with a cost, as it will require an additional dependency being added and increased build times. Once it finishes executing, it will generate a `stories.json` file in the default build directory (`storybook-static`) with the information related to your Storybook. Here’s an example of the file contents: @@ -97,16 +133,16 @@ Running this command will generate a `stories.json` file in the default build di Linking to a Storybook deployed using this approach will yield all the stories and other relevant information displayed in the UI. -If you need, you can also add additional arguments to this command. For instance, if you want to generate the stories.json file into a custom directory you can use the following: +If you need, you can also add additional arguments to this command. For instance, if you want to generate the stories.json file into a custom directory, you can use the following: ```shell npx storybook extract my-built-storybook-directory my-other-directory/stories.json ``` -When executed it will lookup a built Storybook in the `my-built-storybook-directory` and create the `stories.json` file in the `my-other-directory` with all the necessary information. +When executed, it will look up a built Storybook in the `my-built-storybook-directory` and create the `stories.json` file in the `my-other-directory` with all the necessary information.
-💡 If you need to use the arguments, you’ll need to include both of them or the command will fail. +💡 If you need to use the arguments, you’ll need to include both of them, or the command will fail.
diff --git a/docs/snippets/angular/storybook-addon-a11y-story-config.mdx.mdx b/docs/snippets/angular/storybook-addon-a11y-story-config.mdx.mdx index 87e00b06da36..6c27c2d3020f 100644 --- a/docs/snippets/angular/storybook-addon-a11y-story-config.mdx.mdx +++ b/docs/snippets/angular/storybook-addon-a11y-story-config.mdx.mdx @@ -19,7 +19,7 @@ import { MyComponent } from './MyComponent.component'; name="ExampleStory" parameters={{ a11y: { - element: '#root', + element: '#storybook-root', config: { rules: [ { diff --git a/docs/snippets/angular/storybook-addon-a11y-story-config.ts.mdx b/docs/snippets/angular/storybook-addon-a11y-story-config.ts.mdx index d313210c5e0d..55ee745937cf 100644 --- a/docs/snippets/angular/storybook-addon-a11y-story-config.ts.mdx +++ b/docs/snippets/angular/storybook-addon-a11y-story-config.ts.mdx @@ -17,7 +17,7 @@ export default { export const ExampleStory: Story = { parameters: { a11y: { - element: '#root', + element: '#storybook-root', config: { rules: [ { diff --git a/docs/snippets/common/storybook-addon-a11y-component-config.js.mdx b/docs/snippets/common/storybook-addon-a11y-component-config.js.mdx index a6c58919fb8b..128f94ade462 100644 --- a/docs/snippets/common/storybook-addon-a11y-component-config.js.mdx +++ b/docs/snippets/common/storybook-addon-a11y-component-config.js.mdx @@ -13,7 +13,7 @@ export default { parameters: { a11y: { // Optional selector to inspect - element: '#root', + element: '#storybook-root', config: { rules: [ { diff --git a/docs/snippets/common/storybook-addon-a11y-component-config.mdx.mdx b/docs/snippets/common/storybook-addon-a11y-component-config.mdx.mdx index b3fef6f2c27d..62dfd2ac8dee 100644 --- a/docs/snippets/common/storybook-addon-a11y-component-config.mdx.mdx +++ b/docs/snippets/common/storybook-addon-a11y-component-config.mdx.mdx @@ -11,7 +11,7 @@ import { MyComponent } from './MyComponent'; parameters={{ a11y: { // Optional selector to inspect - element: '#root', + element: '#storybook-root', config: { rules: [ { diff --git a/docs/snippets/common/storybook-addon-a11y-global-config.js.mdx b/docs/snippets/common/storybook-addon-a11y-global-config.js.mdx index 22e59b2a76de..2cb61b3b69e7 100644 --- a/docs/snippets/common/storybook-addon-a11y-global-config.js.mdx +++ b/docs/snippets/common/storybook-addon-a11y-global-config.js.mdx @@ -4,7 +4,7 @@ export const parameters = { a11y: { // Optional selector to inspect - element: '#root', + element: '#storybook-root', config: { rules: [ { diff --git a/docs/snippets/common/storybook-addon-essentials-install.npm.js.mdx b/docs/snippets/common/storybook-addon-essentials-install.npm.js.mdx index a693fd458d6b..f1cf79da64a3 100644 --- a/docs/snippets/common/storybook-addon-essentials-install.npm.js.mdx +++ b/docs/snippets/common/storybook-addon-essentials-install.npm.js.mdx @@ -1,3 +1,3 @@ ```shell -npm install @storybook/addon-actions --save-dev -``` \ No newline at end of file +npm install @storybook/addon-essentials --save-dev +``` diff --git a/docs/snippets/common/storybook-enable-buildstoriesjson.js.mdx b/docs/snippets/common/storybook-enable-buildstoriesjson.js.mdx new file mode 100644 index 000000000000..3adc209f2834 --- /dev/null +++ b/docs/snippets/common/storybook-enable-buildstoriesjson.js.mdx @@ -0,0 +1,13 @@ +```js +// .storybook/main.js + +module.exports = { + stories: [], + addons: [ + // Other Storybook addons + ], + features: { + buildStoriesJson: true, // 👈 Enable this to build the stories.json file + }, +}; +``` \ No newline at end of file diff --git a/docs/snippets/common/storybook-interactions-play-function.js.mdx b/docs/snippets/common/storybook-interactions-play-function.js.mdx index c4751ebd30d9..dafb7dde0e51 100644 --- a/docs/snippets/common/storybook-interactions-play-function.js.mdx +++ b/docs/snippets/common/storybook-interactions-play-function.js.mdx @@ -20,13 +20,18 @@ export default { }; export const Submitted = { - play: async () => { + play: async ({ args, canvasElement, step }) => { // Starts querying the component from its root element const canvas = within(canvasElement); - await userEvent.type(canvas.getByTestId('email'), 'hi@example.com'); - await userEvent.type(canvas.getByTestId('password'), 'supersecret'); - await userEvent.click(canvas.getByRole('button')); + await step('Enter credentials', async () => { + await userEvent.type(canvas.getByTestId('email'), 'hi@example.com'); + await userEvent.type(canvas.getByTestId('password'), 'supersecret'); + }); + + await step('Submit form', async () => { + await userEvent.click(canvas.getByRole('button')); + }); await waitFor(() => expect(args.onSubmit).toHaveBeenCalled()); }, diff --git a/docs/snippets/common/storybook-interactions-step-function.js.mdx b/docs/snippets/common/storybook-interactions-step-function.js.mdx new file mode 100644 index 000000000000..7ef59f7d482c --- /dev/null +++ b/docs/snippets/common/storybook-interactions-step-function.js.mdx @@ -0,0 +1,14 @@ +```js +Submitted.play = async ({ args, canvasElement, step }) => { + const canvas = within(canvasElement); + + await step('Enter email and password', async () => { + await userEvent.type(canvas.getByTestId('email'), 'hi@example.com'); + await userEvent.type(canvas.getByTestId('password'), 'supersecret'); + }); + + await step('Submit form', async () => { + await userEvent.click(canvas.getByRole('button')); + }); +}; +``` diff --git a/docs/snippets/common/storybook-storiesjsonflag-result.json.mdx b/docs/snippets/common/storybook-storiesjsonflag-result.json.mdx new file mode 100644 index 000000000000..02674afd4e92 --- /dev/null +++ b/docs/snippets/common/storybook-storiesjsonflag-result.json.mdx @@ -0,0 +1,33 @@ +```json +{ + "v": 3, + "stories": { + "components-mycomponent--simple": { + "id": "components-mycomponent--simple", + "title": "Components/MyComponent", + "name": "Simple", + "importPath": "./src/components/MyComponent.stories.jsx", + "kind": "Components/MyComponent", + "story": "Simple", + "parameters": { + "__id": "components-mycomponent--simple", + "docsOnly": false, + "fileName": "./src/components/MyComponent.stories.jsx" + } + }, + "components-myothercomponent--simple": { + "id": "components-myothercomponent--simple", + "title": "Components/MyOtherComponent", + "name": "Simple", + "importPath": "./src/components/MyOtherComponent.stories.jsx", + "kind": "Example/Button", + "story": "Simple", + "parameters": { + "__id": "components-myothercomponent--simple", + "docsOnly": false, + "fileName": "./src/components/MyOtherComponent.stories.jsx" + } + } + } +} +``` \ No newline at end of file diff --git a/docs/snippets/common/storybook-test-runner-a11y-config.js.mdx b/docs/snippets/common/storybook-test-runner-a11y-config.js.mdx index ff00bf746dc7..23677beb5495 100644 --- a/docs/snippets/common/storybook-test-runner-a11y-config.js.mdx +++ b/docs/snippets/common/storybook-test-runner-a11y-config.js.mdx @@ -12,7 +12,7 @@ module.exports = { await injectAxe(page); }, async postRender(page) { - await checkA11y(page, '#root', { + await checkA11y(page, '#storybook-root', { detailedReport: true, detailedReportOptions: { html: true, diff --git a/docs/snippets/common/storybook-test-runner-a11y-config.ts.mdx b/docs/snippets/common/storybook-test-runner-a11y-config.ts.mdx index d9f9ac2b4b5a..131a81b3a47b 100644 --- a/docs/snippets/common/storybook-test-runner-a11y-config.ts.mdx +++ b/docs/snippets/common/storybook-test-runner-a11y-config.ts.mdx @@ -14,7 +14,7 @@ const a11yConfig: TestRunnerConfig = { await injectAxe(page); }, async postRender(page) { - await checkA11y(page, '#root', { + await checkA11y(page, '#storybook-root', { detailedReport: true, detailedReportOptions: { html: true, diff --git a/docs/snippets/common/storybook-test-runner-install.npm.js.mdx b/docs/snippets/common/storybook-test-runner-install.npm.js.mdx index 50b39891c2b2..3d0adeb617dd 100644 --- a/docs/snippets/common/storybook-test-runner-install.npm.js.mdx +++ b/docs/snippets/common/storybook-test-runner-install.npm.js.mdx @@ -1,3 +1,3 @@ ```shell -npm install @storybook/test-runner jest@27 --save-dev -``` \ No newline at end of file +npm install @storybook/test-runner --save-dev +``` diff --git a/docs/snippets/common/storybook-test-runner-install.yarn.js.mdx b/docs/snippets/common/storybook-test-runner-install.yarn.js.mdx index 79840bb5b1b7..21e4620e8113 100644 --- a/docs/snippets/common/storybook-test-runner-install.yarn.js.mdx +++ b/docs/snippets/common/storybook-test-runner-install.yarn.js.mdx @@ -1,3 +1,3 @@ ```shell -yarn add --dev @storybook/test-runner jest@27 -``` \ No newline at end of file +yarn add --dev @storybook/test-runner +``` diff --git a/docs/snippets/react/storybook-addon-a11y-story-config.js.mdx b/docs/snippets/react/storybook-addon-a11y-story-config.js.mdx index 7fb87ca1156c..bc5dc1ac8d32 100644 --- a/docs/snippets/react/storybook-addon-a11y-story-config.js.mdx +++ b/docs/snippets/react/storybook-addon-a11y-story-config.js.mdx @@ -15,7 +15,7 @@ export default { export const ExampleStory = { parameters: { a11y: { - element: '#root', + element: '#storybook-root', config: { rules: [ { diff --git a/docs/snippets/react/storybook-addon-a11y-story-config.mdx.mdx b/docs/snippets/react/storybook-addon-a11y-story-config.mdx.mdx index 42224490b34c..af2b5bd04a2a 100644 --- a/docs/snippets/react/storybook-addon-a11y-story-config.mdx.mdx +++ b/docs/snippets/react/storybook-addon-a11y-story-config.mdx.mdx @@ -13,7 +13,7 @@ import { MyComponent } from './MyComponent'; name="ExampleStory" parameters={{ a11y: { - element: '#root', + element: '#storybook-root', config: { rules: [ { diff --git a/docs/snippets/react/storybook-addon-a11y-story-config.ts.mdx b/docs/snippets/react/storybook-addon-a11y-story-config.ts.mdx index 827b8b19eb75..1742a2bc2885 100644 --- a/docs/snippets/react/storybook-addon-a11y-story-config.ts.mdx +++ b/docs/snippets/react/storybook-addon-a11y-story-config.ts.mdx @@ -19,7 +19,7 @@ export default { export const ExampleStory: ComponentStoryObj = { parameters: { a11y: { - element: '#root', + element: '#storybook-root', config: { rules: [ { diff --git a/docs/snippets/svelte/storybook-addon-a11y-story-config.js.mdx b/docs/snippets/svelte/storybook-addon-a11y-story-config.js.mdx index 580d26aa0768..c961cdc9007d 100644 --- a/docs/snippets/svelte/storybook-addon-a11y-story-config.js.mdx +++ b/docs/snippets/svelte/storybook-addon-a11y-story-config.js.mdx @@ -24,7 +24,7 @@ export const ExampleStory = { }), parameters: { a11y: { - element: '#root', + element: '#storybook-root', config: { rules: [ { diff --git a/docs/snippets/svelte/storybook-addon-a11y-story-config.mdx.mdx b/docs/snippets/svelte/storybook-addon-a11y-story-config.mdx.mdx index 77ffa3d57120..f32a167da128 100644 --- a/docs/snippets/svelte/storybook-addon-a11y-story-config.mdx.mdx +++ b/docs/snippets/svelte/storybook-addon-a11y-story-config.mdx.mdx @@ -19,7 +19,7 @@ import MyComponent from './MyComponent.svelte'; name="ExampleStory" parameters={{ a11y: { - element: '#root', + element: '#storybook-root', config: { rules: [ { diff --git a/docs/snippets/vue/storybook-addon-a11y-story-config.js.mdx b/docs/snippets/vue/storybook-addon-a11y-story-config.js.mdx index 76609c6f8423..7099aee15897 100644 --- a/docs/snippets/vue/storybook-addon-a11y-story-config.js.mdx +++ b/docs/snippets/vue/storybook-addon-a11y-story-config.js.mdx @@ -24,7 +24,7 @@ export const ExampleStory = { }), parameters: { a11y: { - element: '#root', + element: '#storybook-root', config: { rules: [ { diff --git a/docs/snippets/vue/storybook-addon-a11y-story-config.mdx.mdx b/docs/snippets/vue/storybook-addon-a11y-story-config.mdx.mdx index e41bc9806563..18e69aecbeee 100644 --- a/docs/snippets/vue/storybook-addon-a11y-story-config.mdx.mdx +++ b/docs/snippets/vue/storybook-addon-a11y-story-config.mdx.mdx @@ -19,7 +19,7 @@ import MyComponent from './MyComponent.vue'; name="ExampleStory" parameters={{ a11y: { - element: '#root', + element: '#storybook-root', config: { rules: [ { diff --git a/docs/writing-docs/doc-block-argstable.md b/docs/writing-docs/doc-block-argstable.md index 5d850af92567..7260d261030e 100644 --- a/docs/writing-docs/doc-block-argstable.md +++ b/docs/writing-docs/doc-block-argstable.md @@ -73,8 +73,8 @@ Below is an abridged table and example featuring the available options. | Field | Description | |--------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| `name` | The name of the property.
`argTypes: { label: {} }` | -| `type.name` | Sets a type for the property.
`argTypes: { label: { name: 'number' } }` | +| `name` | The name of the property.
`argTypes: { label: { name: 'Something' } }` | +| `type.name` | Sets a type for the property.
`argTypes: { label: { type: { name: 'number' } } }` | | `type.required` | Sets the property as optional or required.
`argTypes: { label: { type: { required: true } }` | | `description` | Sets a Markdown description for the property.
`argTypes: { label: { description: 'Something' } }` | | `table.type.summary` | Provide a short version of the type.
`argTypes: { label: { table: { type: { summary: 'a short summary' } }}}` | diff --git a/docs/writing-stories/decorators.md b/docs/writing-stories/decorators.md index 5e82aee932a5..a9e57a736518 100644 --- a/docs/writing-stories/decorators.md +++ b/docs/writing-stories/decorators.md @@ -37,7 +37,7 @@ Some components require a “harness” to render in a useful way. For instance, ## “Context” for mocking -Framework-specific libraries (e.g., [Styled Components](https://styled-components.com/), [Fortawesome](https://github.com/FortAwesome/vue-fontawesome) for Vue, Angular's [localize](https://angular.io/api/localize)) may require additional configuration to render correctly in Storybook. +Framework-specific libraries (e.g., [Styled Components](https://styled-components.com/), [Fontawesome](https://github.com/FortAwesome/vue-fontawesome) for Vue, Angular's [localize](https://angular.io/api/localize)) may require additional configuration to render correctly in Storybook. For example, if you're working with React's Styled Components and your components use themes, add a single global decorator to [`.storybook/preview.js`](../configure/overview.md#configure-story-rendering) to enable them. With Vue, extend Storybook's application and register your library. Or with Angular, add the package into your `polyfills.ts` and import it: diff --git a/docs/writing-tests/interaction-testing.md b/docs/writing-tests/interaction-testing.md index d4d74ea0ca48..9d13650d8c4a 100644 --- a/docs/writing-tests/interaction-testing.md +++ b/docs/writing-tests/interaction-testing.md @@ -81,7 +81,7 @@ Once the story loads in the UI, it simulates the user's behavior and verifies th /> -## API for user-events +### API for user-events Under the hood, Storybook’s interaction addon mirrors Testing Library’s [`user-events`](https://testing-library.com/docs/user-event/intro/) API. If you’re familiar with [Testing Library](https://testing-library.com/), you should be at home in Storybook. @@ -99,6 +99,24 @@ Below is an abridged API for user-event. For more, check out the [official user- | `type` | Writes text inside inputs, or textareas
`userEvent.type(await within(canvasElement).getByRole('my-input'),'Some text');` | | `unhover` | Unhovers out of element
`userEvent.unhover(await within(canvasElement).getByLabelText(/Example/i));` | +### Group interactions with the `step` function + +For complex flows, it can be worthwhile to group sets of related interactions together using the `step` function. This allows you to provide a custom label that describes a set of interactions: + + + + + + + +This will show your interactions nested in a collapsible group: + +![Interaction testing with labeled steps](./storybook-addon-interactions-steps.png) + ### Interactive debugger If you check your interactions panel, you'll see the step-by-step flow. It also offers a handy set of UI controls to pause, resume, rewind, and step through each interaction. diff --git a/docs/writing-tests/storybook-addon-interactions-steps.png b/docs/writing-tests/storybook-addon-interactions-steps.png new file mode 100644 index 000000000000..0438e58678d4 Binary files /dev/null and b/docs/writing-tests/storybook-addon-interactions-steps.png differ diff --git a/docs/writing-tests/test-runner.md b/docs/writing-tests/test-runner.md index e72bd8205454..9f1c75915f83 100644 --- a/docs/writing-tests/test-runner.md +++ b/docs/writing-tests/test-runner.md @@ -13,7 +13,7 @@ These tests run in a live browser and can be executed via the [command line](#cl The test-runner is a standalone, framework-agnostic utility that runs parallel to your Storybook. You will need to take some additional steps to set it up properly. Detailed below is our recommendation to configure and execute it. -Run the following command to install it and the required dependencies. +Run the following command to install it. diff --git a/scripts/bootstrap.js b/scripts/bootstrap.js index 0ebde0341041..70e9dfc499f8 100755 --- a/scripts/bootstrap.js +++ b/scripts/bootstrap.js @@ -54,7 +54,7 @@ function run() { }); log.info(prefix, name); - command(); + return command(); }, }); @@ -74,9 +74,9 @@ function run() { defaultValue: true, option: '--prep', command: () => { - log.info(prefix, 'prepare'); - spawn( - `nx run-many --target="prepare" --all --parallel --exclude=@storybook/addon-storyshots,@storybook/addon-storyshots-puppeteer -- --reset` + log.info(prefix, 'prep'); + return spawn( + `nx run-many --target="prep" --all --parallel --exclude=@storybook/addon-storyshots,@storybook/addon-storyshots-puppeteer -- --reset` ); }, order: 2, @@ -86,31 +86,22 @@ function run() { defaultValue: true, option: '--retry', command: () => { - log.info(prefix, 'prepare'); - spawn( - `nx run-many --target=prepare --all --parallel --only-failed ${ + log.info(prefix, 'prep'); + return spawn( + `nx run-many --target="prep" --all --parallel --only-failed ${ process.env.CI ? `--max-parallel=${maxConcurrentTasks}` : '' }` ); }, order: 1, }), - cleanup: createTask({ - name: `Remove compiled dist directories ${chalk.gray('(cleanup)')}`, - defaultValue: false, - option: '--cleanup', - command: () => { - spawn('npm run clean:dist'); - }, - order: 0, - }), reset: createTask({ name: `Clean repository ${chalk.red('(reset)')}`, defaultValue: false, option: '--reset', command: () => { log.info(prefix, 'git clean'); - spawn(`node -r esm ${join(__dirname, 'reset.js')}`); + return spawn(`node -r esm ${join(__dirname, 'reset.js')}`); }, order: 0, }), @@ -120,7 +111,7 @@ function run() { option: '--install', command: () => { const command = process.env.CI ? `yarn install --immutable` : `yarn install`; - spawn(command); + return spawn(command); }, order: 1, }), @@ -130,8 +121,8 @@ function run() { option: '--build', command: () => { log.info(prefix, 'build'); - spawn( - `nx run-many --target="prepare" --all --parallel=8 ${ + return spawn( + `nx run-many --target="prep" --all --parallel=8 ${ process.env.CI ? `--max-parallel=${maxConcurrentTasks}` : '' } -- --reset --optimized` ); @@ -143,7 +134,7 @@ function run() { defaultValue: false, option: '--reg', command: () => { - spawn('yarn local-registry --publish --open --port 6000'); + return spawn('yarn local-registry --publish --open --port 6001'); }, order: 11, }), @@ -152,7 +143,7 @@ function run() { defaultValue: false, option: '--dev', command: () => { - spawn('yarn build'); + return spawn('yarn build'); }, order: 9, }), @@ -161,7 +152,7 @@ function run() { const groups = { main: ['prep', 'core'], buildtasks: ['install', 'build'], - devtasks: ['dev', 'registry', 'cleanup', 'reset'], + devtasks: ['dev', 'registry', 'reset'], }; Object.keys(tasks) @@ -243,7 +234,10 @@ function run() { list .sort((a, b) => a.order - b.order) .forEach((key) => { - key.command(); + const result = key.command(); + if (result && 'status' in result && result.status !== 0) { + process.exit(result.status); + } }); process.stdout.write('\x07'); } diff --git a/scripts/build-package.js b/scripts/build-package.js index f9df57b1f7c2..70468be2e0ea 100644 --- a/scripts/build-package.js +++ b/scripts/build-package.js @@ -113,7 +113,7 @@ async function run() { } selection?.filter(Boolean).forEach(async (v) => { - const commmand = (await readJSON(resolve(v.location, 'package.json'))).scripts.prepare; + const commmand = (await readJSON(resolve(v.location, 'package.json'))).scripts.prep; const cwd = resolve(__dirname, '..', 'code', v.location); const sub = require('execa').command( `${commmand}${watchMode ? ' --watch' : ''}${prodMode ? ' --optimized' : ''}`, diff --git a/scripts/check-package.js b/scripts/check-package.js index 1b9e0f2f4256..42fac6081ed7 100644 --- a/scripts/check-package.js +++ b/scripts/check-package.js @@ -5,7 +5,7 @@ const { resolve } = require('path'); const { readJSON } = require('fs-extra'); const getStorybookPackages = async () => { - const workspaceJSON = await readJSON(resolve(__dirname, '..', 'workspace.json')); + const workspaceJSON = await readJSON(resolve(__dirname, '..', 'code', 'workspace.json')); return Object.entries(workspaceJSON.projects).map(([k, v]) => ({ location: v.root, name: k, diff --git a/scripts/dts-localize.ts b/scripts/dts-localize.ts index 05108ca5523f..d9e92f28e690 100644 --- a/scripts/dts-localize.ts +++ b/scripts/dts-localize.ts @@ -173,7 +173,7 @@ export const run = async (entrySourceFiles: string[], outputPath: string, option (ts.isImportDeclaration(node) || ts.isExportDeclaration(node)) && node.moduleSpecifier !== undefined ) { - // @ts-ignore + // @ts-expect-error (Converted from ts-ignore) const target: string = node.moduleSpecifier.text; let currentSourceFile = ''; let referencedSourceFile = ''; @@ -198,7 +198,7 @@ export const run = async (entrySourceFiles: string[], outputPath: string, option referencedSourceFile ); - // @ts-ignore + // @ts-expect-error (Converted from ts-ignore) node.moduleSpecifier = ts.factory.createStringLiteral(replacementPath); return true; @@ -231,7 +231,7 @@ export const run = async (entrySourceFiles: string[], outputPath: string, option referencedSourceFile ); - // @ts-ignore + // @ts-expect-error (Converted from ts-ignore) node.argument = ts.factory.createStringLiteral(replacementPath); return true; diff --git a/scripts/next-repro-generators/generate-repros.ts b/scripts/next-repro-generators/generate-repros.ts index 5d2f66dfff22..29f36516ed82 100755 --- a/scripts/next-repro-generators/generate-repros.ts +++ b/scripts/next-repro-generators/generate-repros.ts @@ -1,25 +1,52 @@ /* eslint-disable no-console */ import { join, relative } from 'path'; -import program from 'commander'; import { command } from 'execa'; import type { Options as ExecaOptions } from 'execa'; import pLimit from 'p-limit'; import prettyTime from 'pretty-hrtime'; import { copy, emptyDir, ensureDir, rename, writeFile } from 'fs-extra'; +import { program } from 'commander'; +import { AbortController } from 'node-abort-controller'; + import reproTemplates from '../../code/lib/cli/src/repro-templates'; +import storybookVersions from '../../code/lib/cli/src/versions'; +import { JsPackageManagerFactory } from '../../code/lib/cli/src/js-package-manager/JsPackageManagerFactory'; -// @ts-ignore +// @ts-expect-error (Converted from ts-ignore) import { maxConcurrentTasks } from '../utils/concurrency'; import { localizeYarnConfigFiles, setupYarn } from './utils/yarn'; import { GeneratorConfig } from './utils/types'; import { getStackblitzUrl, renderTemplate } from './utils/template'; +import { JsPackageManager } from '../../code/lib/cli/src/js-package-manager'; +import { servePackages } from '../utils/serve-packages'; +import { publish } from '../tasks/publish'; const OUTPUT_DIRECTORY = join(__dirname, '..', '..', 'repros'); const BEFORE_DIR_NAME = 'before-storybook'; const AFTER_DIR_NAME = 'after-storybook'; -const addStorybook = async (baseDir: string) => { +const sbInit = async (cwd: string) => { + const sbCliBinaryPath = join(__dirname, `../../code/lib/cli/bin/index.js`); + console.log(`🎁 Installing storybook`); + const env = { STORYBOOK_DISABLE_TELEMETRY: 'true' }; + await runCommand(`${sbCliBinaryPath} init --yes`, { cwd, env }); +}; + +const LOCAL_REGISTRY_URL = 'http://localhost:6001'; +const withLocalRegistry = async (packageManager: JsPackageManager, action: () => Promise) => { + const prevUrl = packageManager.getRegistryURL(); + try { + console.log(`📦 Configuring local registry: ${LOCAL_REGISTRY_URL}`); + packageManager.setRegistryURL(LOCAL_REGISTRY_URL); + await action(); + } finally { + console.log(`📦 Restoring registry: ${prevUrl}`); + packageManager.setRegistryURL(prevUrl); + } +}; + +const addStorybook = async (baseDir: string, localRegistry: boolean) => { const beforeDir = join(baseDir, BEFORE_DIR_NAME); const afterDir = join(baseDir, AFTER_DIR_NAME); const tmpDir = join(baseDir, 'tmp'); @@ -29,14 +56,16 @@ const addStorybook = async (baseDir: string) => { await copy(beforeDir, tmpDir); - const sbCliBinaryPath = join(__dirname, `../../code/lib/cli/bin/index.js`); - await runCommand(`${sbCliBinaryPath} init`, { - cwd: tmpDir, - env: { - STORYBOOK_DISABLE_TELEMETRY: 'true', - }, - }); + const packageManager = JsPackageManagerFactory.getPackageManager(false, tmpDir); + if (localRegistry) { + await withLocalRegistry(packageManager, async () => { + packageManager.addPackageResolutions(storybookVersions); + await sbInit(tmpDir); + }); + } else { + await sbInit(tmpDir); + } await rename(tmpDir, afterDir); }; @@ -68,12 +97,23 @@ const addDocumentation = async ( await writeFile(join(afterDir, 'README.md'), contents); }; -const runGenerators = async (generators: (GeneratorConfig & { dirName: string })[]) => { +const runGenerators = async ( + generators: (GeneratorConfig & { dirName: string })[], + localRegistry = true +) => { console.log(`🤹‍♂️ Generating repros with a concurrency of ${maxConcurrentTasks}`); const limit = pLimit(maxConcurrentTasks); - return Promise.all( + let controller: AbortController; + if (localRegistry) { + // @ts-expect-error (Converted from ts-ignore) + await publish.run(); + console.log(`⚙️ Starting local registry: ${LOCAL_REGISTRY_URL}`); + controller = await servePackages({ debug: true }); + } + + await Promise.all( generators.map(({ dirName, name, script }) => limit(async () => { const time = process.hrtime(); @@ -91,7 +131,7 @@ const runGenerators = async (generators: (GeneratorConfig & { dirName: string }) await localizeYarnConfigFiles(baseDir, beforeDir); - await addStorybook(baseDir); + await addStorybook(baseDir, localRegistry); await addDocumentation(baseDir, { name, dirName }); @@ -104,21 +144,50 @@ const runGenerators = async (generators: (GeneratorConfig & { dirName: string }) }) ) ); + + if (controller) { + console.log(`🛑 Stopping local registry: ${LOCAL_REGISTRY_URL}`); + controller.abort(); + console.log(`✅ Stopped`); + } + + // FIXME: Kill dangling processes. For some reason in CI, + // the abort signal gets executed but the child process kill + // does not succeed?!? + process.exit(0); }; -const generate = async () => { - runGenerators( - Object.entries(reproTemplates).map(([dirName, configuration]) => ({ +const generate = async ({ + template, + localRegistry, +}: { + template?: string; + localRegistry?: boolean; +}) => { + const generatorConfigs = Object.entries(reproTemplates) + .map(([dirName, configuration]) => ({ dirName, ...configuration, })) - ); -}; + .filter(({ dirName }) => { + if (template) { + return dirName === template; + } -program.description('Create a reproduction from a set of possible templates'); -program.parse(process.argv); + return true; + }); + + runGenerators(generatorConfigs, localRegistry); +}; -generate().catch((e) => { - console.trace(e); - process.exit(1); -}); +program + .description('Create a reproduction from a set of possible templates') + .option('--template