From 697cf088696187d463dbfc7f9f9a16fa7853b58b Mon Sep 17 00:00:00 2001 From: jonniebigodes Date: Wed, 27 Dec 2023 20:47:00 +0000 Subject: [PATCH 1/3] Docs: Remove Vue 2 from documentation --- README.md | 2 +- code/addons/controls/README.md | 2 - code/addons/docs/README.md | 4 +- code/addons/docs/common/README.md | 2 +- code/addons/docs/docs/docspage.md | 2 +- code/addons/docs/docs/faq.md | 4 +- code/addons/docs/docs/mdx.md | 2 +- code/addons/docs/docs/multiframework.md | 4 +- code/addons/docs/docs/props-tables.md | 6 +- code/addons/docs/docs/recipes.md | 2 +- code/addons/docs/docs/theming.md | 2 +- code/addons/toolbars/README.md | 2 +- code/builders/builder-vite/README.md | 4 +- code/frameworks/vue3-vite/README.md | 4 +- code/frameworks/vue3-webpack5/README.md | 4 +- code/lib/core-server/README.md | 2 +- code/lib/preview-api/README-core-client.md | 2 +- code/presets/vue3-webpack/README.md | 4 +- docs/api/arg-types.md | 2 +- docs/api/csf.md | 10 --- docs/builders/vite.md | 2 +- docs/configure/frameworks-feature-support.md | 90 +++++++++---------- docs/configure/frameworks.md | 8 +- docs/configure/images-and-assets.md | 2 - docs/configure/telemetry.md | 4 +- docs/configure/upgrading.md | 22 +++++ docs/contribute/code.md | 2 +- docs/contribute/framework.md | 2 +- docs/contribute/new-snippets.md | 4 +- docs/essentials/controls.md | 2 - docs/faq.md | 18 +++- docs/get-started/install.md | 23 ++++- docs/get-started/setup.md | 8 -- docs/get-started/whats-a-story.md | 2 - docs/get-started/why-storybook.md | 4 +- .../init-command-specific-version.npx.js.mdx | 3 + .../init-command-specific-version.pnpm.js.mdx | 3 + .../init-command-specific-version.yarn.js.mdx | 3 + ...pgrade-command-specific-version.npx.js.mdx | 3 + ...grade-command-specific-version.pnpm.js.mdx | 3 + ...grade-command-specific-version.yarn.js.mdx | 3 + .../vue/addon-highlight-reset.ts-4-9.mdx | 1 - .../snippets/vue/addon-highlight-reset.ts.mdx | 1 - .../button-component-with-proptypes.2.js.mdx | 31 ------- .../button-component-with-proptypes.2.ts.mdx | 30 ------- docs/snippets/vue/button-group-story.2.js.mdx | 29 ------ .../vue/button-group-story.2.ts-4-9.mdx | 29 ------ docs/snippets/vue/button-group-story.2.ts.mdx | 29 ------ .../vue/button-implementation.2.js.mdx | 53 ----------- .../vue/button-implementation.2.ts.mdx | 54 ----------- .../vue/button-story-auto-docs.ts.mdx | 1 - .../button-story-click-handler-args.2.js.mdx | 23 ----- ...tton-story-click-handler-args.2.ts-4-9.mdx | 28 ------ .../button-story-click-handler-args.2.ts.mdx | 28 ------ ...n-story-click-handler-simplificated.js.mdx | 8 +- ...ory-click-handler-simplificated.ts-4-9.mdx | 8 +- ...n-story-click-handler-simplificated.ts.mdx | 8 +- .../vue/button-story-click-handler.2.js.mdx | 21 ----- .../button-story-click-handler.2.ts-4-9.mdx | 26 ------ .../vue/button-story-click-handler.2.ts.mdx | 26 ------ ...on-story-component-args-primary.ts-4-9.mdx | 1 - ...button-story-component-args-primary.ts.mdx | 1 - ...utton-story-component-decorator.ts-4-9.mdx | 1 - .../button-story-component-decorator.ts.mdx | 1 - .../vue/button-story-decorator.ts-4-9.mdx | 1 - .../vue/button-story-decorator.ts.mdx | 1 - ...y-default-export-with-component.ts-4-9.mdx | 1 - ...story-default-export-with-component.ts.mdx | 1 - .../vue/button-story-rename-story.ts-4-9.mdx | 1 - .../vue/button-story-rename-story.ts.mdx | 1 - .../vue/button-story-using-args.2.js.mdx | 50 ----------- .../vue/button-story-using-args.2.ts-4-9.mdx | 55 ------------ .../vue/button-story-using-args.2.ts.mdx | 55 ------------ ...button-story-with-addon-example.ts-4-9.mdx | 1 - .../button-story-with-addon-example.ts.mdx | 1 - .../vue/button-story-with-args.2.js.mdx | 26 ------ .../vue/button-story-with-args.2.ts-4-9.mdx | 31 ------- .../vue/button-story-with-args.2.ts.mdx | 31 ------- .../button-story-with-blue-args.ts-4-9.mdx | 1 - .../vue/button-story-with-blue-args.ts.mdx | 1 - .../vue/button-story-with-emojis.ts-4-9.mdx | 1 - .../vue/button-story-with-emojis.ts.mdx | 1 - docs/snippets/vue/button-story.ts-4-9.mdx | 1 - docs/snippets/vue/button-story.ts.mdx | 1 - .../component-story-figma-integration.js.mdx | 4 - ...mponent-story-figma-integration.ts-4-9.mdx | 5 -- .../component-story-figma-integration.ts.mdx | 5 -- ...component-story-highlight-addon.ts-4-9.mdx | 1 - .../component-story-highlight-addon.ts.mdx | 1 - ...omponent-story-static-asset-cdn.ts-4-9.mdx | 1 - .../component-story-static-asset-cdn.ts.mdx | 1 - ...nt-story-static-asset-with-import.2.js.mdx | 30 ------- ...tory-static-asset-with-import.2.ts-4-9.mdx | 34 ------- ...nt-story-static-asset-with-import.2.ts.mdx | 35 -------- ...ory-static-asset-without-import.ts-4-9.mdx | 1 - ...t-story-static-asset-without-import.ts.mdx | 1 - ...omponent-story-with-accessibility.2.js.mdx | 38 -------- ...nent-story-with-accessibility.2.ts-4-9.mdx | 42 --------- ...omponent-story-with-accessibility.2.ts.mdx | 42 --------- ...omponent-story-with-accessibility.3.js.mdx | 14 --- ...nent-story-with-accessibility.3.ts-4-9.mdx | 14 --- ...ory-with-custom-render-function.ts-4-9.mdx | 1 - ...t-story-with-custom-render-function.ts.mdx | 1 - .../vue/csf-2-example-starter.2.js.mdx | 17 ---- .../vue/csf-2-example-starter.2.ts.mdx | 19 ---- .../snippets/vue/csf-2-example-story.2.js.mdx | 10 --- .../snippets/vue/csf-2-example-story.2.ts.mdx | 10 --- .../vue/csf-3-example-render.2.js.mdx | 12 --- .../vue/csf-3-example-render.2.ts.mdx | 12 --- .../highlight-addon-custom-style.ts-4-9.mdx | 1 - .../vue/highlight-addon-custom-style.ts.mdx | 1 - docs/snippets/vue/histogram-story.2.js.mdx | 28 ------ .../snippets/vue/histogram-story.2.ts-4-9.mdx | 33 ------- docs/snippets/vue/histogram-story.2.ts.mdx | 33 ------- .../vue/list-story-expanded.ts-4-9.mdx | 1 - docs/snippets/vue/list-story-expanded.ts.mdx | 1 - .../vue/list-story-reuse-data.2.js.mdx | 35 -------- .../vue/list-story-reuse-data.2.ts-4-9.mdx | 40 --------- .../vue/list-story-reuse-data.2.ts.mdx | 40 --------- .../vue/list-story-starter.ts-4-9.mdx | 5 +- docs/snippets/vue/list-story-starter.ts.mdx | 1 - .../snippets/vue/list-story-template.2.js.mdx | 49 ---------- .../vue/list-story-template.2.ts-4-9.mdx | 56 ------------ .../snippets/vue/list-story-template.2.ts.mdx | 56 ------------ .../vue/list-story-unchecked.2.js.mdx | 33 ------- .../vue/list-story-unchecked.2.ts-4-9.mdx | 39 -------- .../vue/list-story-unchecked.2.ts.mdx | 39 -------- .../login-form-with-play-function.ts-4-9.mdx | 1 - .../vue/login-form-with-play-function.ts.mdx | 1 - ...component-story-basic-and-props.ts-4-9.mdx | 1 - .../my-component-story-basic-and-props.ts.mdx | 1 - ...component-story-configure-viewports.js.mdx | 4 - ...onent-story-configure-viewports.ts-4-9.mdx | 5 -- ...component-story-configure-viewports.ts.mdx | 5 -- ...-component-story-use-globaltype.ts-4-9.mdx | 1 - .../my-component-story-use-globaltype.ts.mdx | 1 - ...y-component-story-with-nonstory.ts-4-9.mdx | 1 - .../my-component-story-with-nonstory.ts.mdx | 1 - docs/snippets/vue/page-story-slots.2.js.mdx | 26 ------ .../vue/page-story-slots.2.ts-4-9.mdx | 35 -------- docs/snippets/vue/page-story-slots.2.ts.mdx | 35 -------- docs/snippets/vue/page-story.2.-ts-4-9.mdx | 33 ------- docs/snippets/vue/page-story.2.js.mdx | 28 ------ docs/snippets/vue/page-story.2.ts.mdx | 33 ------- .../vue/simple-page-implementation.2.js.mdx | 39 -------- .../vue/storybook-addon-a11y-disable.js.mdx | 4 - .../storybook-addon-a11y-disable.ts-4-9.mdx | 5 -- .../vue/storybook-addon-a11y-disable.ts.mdx | 5 -- .../storybook-addon-a11y-story-config.js.mdx | 4 - ...orybook-addon-a11y-story-config.ts-4-9.mdx | 5 -- .../storybook-addon-a11y-story-config.ts.mdx | 5 -- .../storybook-preview-global-decorator.ts.mdx | 1 - ...hoc-component-decorator.component-2.js.mdx | 23 ----- ...hoc-component-decorator.component-2.ts.mdx | 27 ------ ...ew-with-library-decorator.library-2.js.mdx | 19 ---- ...ew-with-library-decorator.library-2.ts.mdx | 23 ----- ...review-with-mixin-decorator.mixin-2.js.mdx | 19 ---- ...review-with-mixin-decorator.mixin-2.ts.mdx | 23 ----- ...ook-testing-addon-optional-config.2.js.mdx | 10 --- .../your-component-with-decorator.ts-4-9.mdx | 1 - .../vue/your-component-with-decorator.ts.mdx | 1 - docs/snippets/vue/your-component.2.js.mdx | 26 ------ docs/snippets/vue/your-component.2.ts-4-9.mdx | 31 ------- docs/snippets/vue/your-component.2.ts.mdx | 31 ------- docs/writing-stories/args.md | 6 -- .../build-pages-with-storybook.md | 1 - docs/writing-stories/decorators.md | 8 +- docs/writing-stories/index.md | 6 -- .../stories-for-multiple-components.md | 4 - docs/writing-stories/typescript.md | 7 +- docs/writing-tests/accessibility-testing.md | 2 - .../storyshots-migration-guide.md | 2 +- docs/writing-tests/test-coverage.md | 2 +- 173 files changed, 169 insertions(+), 2202 deletions(-) create mode 100644 docs/snippets/common/init-command-specific-version.npx.js.mdx create mode 100644 docs/snippets/common/init-command-specific-version.pnpm.js.mdx create mode 100644 docs/snippets/common/init-command-specific-version.yarn.js.mdx create mode 100644 docs/snippets/common/upgrade-command-specific-version.npx.js.mdx create mode 100644 docs/snippets/common/upgrade-command-specific-version.pnpm.js.mdx create mode 100644 docs/snippets/common/upgrade-command-specific-version.yarn.js.mdx delete mode 100644 docs/snippets/vue/button-component-with-proptypes.2.js.mdx delete mode 100644 docs/snippets/vue/button-component-with-proptypes.2.ts.mdx delete mode 100644 docs/snippets/vue/button-group-story.2.js.mdx delete mode 100644 docs/snippets/vue/button-group-story.2.ts-4-9.mdx delete mode 100644 docs/snippets/vue/button-group-story.2.ts.mdx delete mode 100644 docs/snippets/vue/button-implementation.2.js.mdx delete mode 100644 docs/snippets/vue/button-implementation.2.ts.mdx delete mode 100644 docs/snippets/vue/button-story-click-handler-args.2.js.mdx delete mode 100644 docs/snippets/vue/button-story-click-handler-args.2.ts-4-9.mdx delete mode 100644 docs/snippets/vue/button-story-click-handler-args.2.ts.mdx delete mode 100644 docs/snippets/vue/button-story-click-handler.2.js.mdx delete mode 100644 docs/snippets/vue/button-story-click-handler.2.ts-4-9.mdx delete mode 100644 docs/snippets/vue/button-story-click-handler.2.ts.mdx delete mode 100644 docs/snippets/vue/button-story-using-args.2.js.mdx delete mode 100644 docs/snippets/vue/button-story-using-args.2.ts-4-9.mdx delete mode 100644 docs/snippets/vue/button-story-using-args.2.ts.mdx delete mode 100644 docs/snippets/vue/button-story-with-args.2.js.mdx delete mode 100644 docs/snippets/vue/button-story-with-args.2.ts-4-9.mdx delete mode 100644 docs/snippets/vue/button-story-with-args.2.ts.mdx delete mode 100644 docs/snippets/vue/component-story-static-asset-with-import.2.js.mdx delete mode 100644 docs/snippets/vue/component-story-static-asset-with-import.2.ts-4-9.mdx delete mode 100644 docs/snippets/vue/component-story-static-asset-with-import.2.ts.mdx delete mode 100644 docs/snippets/vue/component-story-with-accessibility.2.js.mdx delete mode 100644 docs/snippets/vue/component-story-with-accessibility.2.ts-4-9.mdx delete mode 100644 docs/snippets/vue/component-story-with-accessibility.2.ts.mdx delete mode 100644 docs/snippets/vue/csf-2-example-starter.2.js.mdx delete mode 100644 docs/snippets/vue/csf-2-example-starter.2.ts.mdx delete mode 100644 docs/snippets/vue/csf-2-example-story.2.js.mdx delete mode 100644 docs/snippets/vue/csf-2-example-story.2.ts.mdx delete mode 100644 docs/snippets/vue/csf-3-example-render.2.js.mdx delete mode 100644 docs/snippets/vue/csf-3-example-render.2.ts.mdx delete mode 100644 docs/snippets/vue/histogram-story.2.js.mdx delete mode 100644 docs/snippets/vue/histogram-story.2.ts-4-9.mdx delete mode 100644 docs/snippets/vue/histogram-story.2.ts.mdx delete mode 100644 docs/snippets/vue/list-story-reuse-data.2.js.mdx delete mode 100644 docs/snippets/vue/list-story-reuse-data.2.ts-4-9.mdx delete mode 100644 docs/snippets/vue/list-story-reuse-data.2.ts.mdx delete mode 100644 docs/snippets/vue/list-story-template.2.js.mdx delete mode 100644 docs/snippets/vue/list-story-template.2.ts-4-9.mdx delete mode 100644 docs/snippets/vue/list-story-template.2.ts.mdx delete mode 100644 docs/snippets/vue/list-story-unchecked.2.js.mdx delete mode 100644 docs/snippets/vue/list-story-unchecked.2.ts-4-9.mdx delete mode 100644 docs/snippets/vue/list-story-unchecked.2.ts.mdx delete mode 100644 docs/snippets/vue/page-story-slots.2.js.mdx delete mode 100644 docs/snippets/vue/page-story-slots.2.ts-4-9.mdx delete mode 100644 docs/snippets/vue/page-story-slots.2.ts.mdx delete mode 100644 docs/snippets/vue/page-story.2.-ts-4-9.mdx delete mode 100644 docs/snippets/vue/page-story.2.js.mdx delete mode 100644 docs/snippets/vue/page-story.2.ts.mdx delete mode 100644 docs/snippets/vue/simple-page-implementation.2.js.mdx delete mode 100644 docs/snippets/vue/storybook-preview-with-hoc-component-decorator.component-2.js.mdx delete mode 100644 docs/snippets/vue/storybook-preview-with-hoc-component-decorator.component-2.ts.mdx delete mode 100644 docs/snippets/vue/storybook-preview-with-library-decorator.library-2.js.mdx delete mode 100644 docs/snippets/vue/storybook-preview-with-library-decorator.library-2.ts.mdx delete mode 100644 docs/snippets/vue/storybook-preview-with-mixin-decorator.mixin-2.js.mdx delete mode 100644 docs/snippets/vue/storybook-preview-with-mixin-decorator.mixin-2.ts.mdx delete mode 100644 docs/snippets/vue/storybook-testing-addon-optional-config.2.js.mdx delete mode 100644 docs/snippets/vue/your-component.2.js.mdx delete mode 100644 docs/snippets/vue/your-component.2.ts-4-9.mdx delete mode 100644 docs/snippets/vue/your-component.2.ts.mdx diff --git a/README.md b/README.md index 7c174bdcc250..8067ec3d6446 100644 --- a/README.md +++ b/README.md @@ -101,7 +101,7 @@ For additional help, share your issue in [the repo's GitHub Discussions](https:/ | -------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | | [React](code/renderers/react) | [![Storybook demo](https://img.shields.io/npm/v/@storybook/react/latest?style=flat-square&color=blue&label)](https://next--630511d655df72125520f051.chromatic.com/) | [![React](https://img.shields.io/npm/dm/@storybook/react?style=flat-square&color=eee)](code/renderers/react) | | [Angular](code/frameworks/angular/) | [![Storybook demo](https://img.shields.io/npm/v/@storybook/angular/latest?style=flat-square&color=blue&label)](https://next--6322ce6af69825592bbb28fc.chromatic.com/) | [![Angular](https://img.shields.io/npm/dm/@storybook/angular?style=flat-square&color=eee)](code/frameworks/angular/) | -| [Vue](code/renderers/vue) | [![Storybook demo](https://img.shields.io/npm/v/@storybook/vue/latest?style=flat-square&color=blue&label)](https://next--630513346a8e284ae244d415.chromatic.com/) | [![Vue](https://img.shields.io/npm/dm/@storybook/vue?style=flat-square&color=eee)](code/renderers/vue) | +| [Vue 3](code/renderers/vue3) | [![Storybook demo](https://img.shields.io/npm/v/@storybook/vue/latest?style=flat-square&color=blue&label)](https://next--630513346a8e284ae244d415.chromatic.com/) | [![Vue](https://img.shields.io/npm/dm/@storybook/vue?style=flat-square&color=eee)](code/renderers/vue) | | [Web components](code/renderers/web-components) | [![Storybook demo](https://img.shields.io/npm/v/@storybook/web-components/latest?style=flat-square&color=blue&label)](https://next--638db5bf49adfdfe8cf545e0.chromatic.com/) | [![Svelte](https://img.shields.io/npm/dm/@storybook/web-components?style=flat-square&color=eee)](code/renderers/web-components) | | [React Native](https://github.com/storybookjs/react-native) | [![](https://img.shields.io/npm/v/@storybook/react-native/latest?style=flat-square&color=blue&label)](/) | [![React Native](https://img.shields.io/npm/dm/@storybook/react-native?style=flat-square&color=eee)](https://github.com/storybookjs/react-native) | | [HTML](code/renderers/html) | [![Storybook demo](https://img.shields.io/npm/v/@storybook/html/latest?style=flat-square&color=blue&label)](https://next--63dd39a158cf6fc05199b4bb.chromatic.com/) | [![HTML](https://img.shields.io/npm/dm/@storybook/html?style=flat-square&color=eee)](code/renderers/html) | diff --git a/code/addons/controls/README.md b/code/addons/controls/README.md index 1d3a8ae3797b..08c39343d1f4 100644 --- a/code/addons/controls/README.md +++ b/code/addons/controls/README.md @@ -209,5 +209,3 @@ export const Template = (args) =>