Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] next from storybookjs:next #70

Merged
merged 94 commits into from
Aug 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
94 commits
Select commit Hold shift + click to select a range
1a80218
Futher updates to #28716
kylegach Aug 9, 2024
aa6d2f0
Remove TK
kylegach Aug 9, 2024
cb78a41
Address feedback
kylegach Aug 12, 2024
838b611
Further updates
kylegach Aug 14, 2024
abc0550
Typo
kylegach Aug 15, 2024
99d5104
Merge branch 'next' into update-story-globals-docs
kylegach Aug 15, 2024
b96bce0
Address comments
kylegach Aug 15, 2024
0e7489b
Merge branch 'next' into update-story-globals-docs
kylegach Aug 15, 2024
017f52f
Merge branch 'next' into update-story-globals-docs
kylegach Aug 22, 2024
333266c
Address feedback
kylegach Aug 22, 2024
df80522
Rename interaction test -> component test
kylegach Aug 22, 2024
57022a0
Re-order sidebar
kylegach Aug 22, 2024
4419ab2
sync `@testing-library/jest-dom` to `6.5.0`
JReinhold Aug 26, 2024
51037f2
deduplicate babel use in core
ndelangen Aug 26, 2024
1c9c4f8
fix compile
ndelangen Aug 26, 2024
2d4acc7
fix checks
ndelangen Aug 26, 2024
6673f58
fix lockfile
ndelangen Aug 26, 2024
b270b8d
fixes
ndelangen Aug 26, 2024
95727b8
restructure
ndelangen Aug 26, 2024
4561267
fix
ndelangen Aug 26, 2024
24f6fc0
Only log Next.js message when dealing with a Next.js project
ghengeveld Aug 26, 2024
68f60a0
ensure no duplicate babel en csf-tools
ndelangen Aug 26, 2024
19abb9b
disable linting reports
ndelangen Aug 26, 2024
896e3f0
Also create workspace file if there's a Vite config file, and extend …
ghengeveld Aug 26, 2024
db7ff48
Merge pull request #28971 from storybookjs/jeppe/fix-testing-library-…
JReinhold Aug 26, 2024
f0b4254
streamline prettier import
ndelangen Aug 26, 2024
5d7b868
Merge branch 'next' into norbert/babel-dedup-core
ndelangen Aug 26, 2024
0ad2fb5
fix
ndelangen Aug 26, 2024
f1ad2f6
minimize changes
ndelangen Aug 26, 2024
abc38f2
minimize changes
ndelangen Aug 26, 2024
f73a7df
Merge branch 'next' into update-story-globals-docs
kylegach Aug 26, 2024
1ebcb33
Merge pull request #28856 from storybookjs/update-story-globals-docs
kylegach Aug 26, 2024
d768c02
patch babel traverse types to be compatible with our dts bundler
ndelangen Aug 27, 2024
c8f7b67
improve meta file generation
ndelangen Aug 27, 2024
5664b53
make prettier optional
ndelangen Aug 27, 2024
701c99b
add TODO comment
ndelangen Aug 27, 2024
c8decc2
Merge branch 'next' into norbert/babel-dedup-core
ndelangen Aug 27, 2024
d3d6fd2
Remove (disable) isolate option because it sometimes doesn't show sto…
ghengeveld Aug 27, 2024
d109914
Addon Vitest: Fix postinstall file types
shilman Aug 27, 2024
ad31d48
Support JSX file extensions as well
ghengeveld Aug 27, 2024
5147e88
CLI: Fix dedent import in package managers
shilman Aug 27, 2024
740ed80
Merge pull request #28978 from storybookjs/shilman/fix-vitest-postins…
shilman Aug 27, 2024
2b0cd99
Merge pull request #28980 from storybookjs/shilman/fix-cli-dedent-import
shilman Aug 27, 2024
02ba82a
Merge branch 'next' into vitest-addon-fixes
kasperpeulen Aug 27, 2024
1de6e6f
Merge pull request #28972 from storybookjs/norbert/babel-dedup-core
ndelangen Aug 27, 2024
534fb2b
Use relative path from workspace to vite.config in extends path
ghengeveld Aug 27, 2024
c564df9
Merge pull request #28975 from storybookjs/vitest-addon-fixes
kasperpeulen Aug 27, 2024
e7bea85
make prettier a normal dependency of core again.
ndelangen Aug 27, 2024
438ce2c
Write changelog for 8.3.0-alpha.10 [skip ci]
storybook-bot Aug 27, 2024
c109493
Merge pull request #28982 from storybookjs/version-non-patch-from-8.3…
shilman Aug 27, 2024
87c3757
Bump version from "8.3.0-alpha.9" to "8.3.0-alpha.10" [skip ci]
storybook-bot Aug 27, 2024
27d871c
Builder-Vite: Fix 'condition node never be used' warning
valentinpalkovic Aug 28, 2024
3416d19
CLI: Update spawn options in proxy.ts to support Windows
valentinpalkovic Aug 28, 2024
d51101a
Merge pull request #28989 from storybookjs/valentin/fix-vite-warning-…
valentinpalkovic Aug 28, 2024
a400b02
Merge pull request #28990 from storybookjs/valentin/windows-fix-enoen…
valentinpalkovic Aug 28, 2024
5e4d9ae
Addon Vitest: Fix tests potentially not existing in non-isolate mode
yannbf Aug 28, 2024
9782906
Next.js: Fix wrong Next.js framework reference
valentinpalkovic Aug 28, 2024
ebd3a98
Next.js-Vite: Update next and vite-plugin-storybook-nextjs dependencies
valentinpalkovic Aug 28, 2024
dbcb31c
Next.js-Vite: Streamline Next.js dir option
valentinpalkovic Aug 28, 2024
35a0cd9
Merge pull request #28994 from storybookjs/valentin/widen-nextjs-requ…
shilman Aug 28, 2024
81bac5a
Clarify requirements of Next.js with Vite
kylegach Aug 28, 2024
e870b9d
Merge pull request #28996 from storybookjs/docs-nextjs-vite-version
kylegach Aug 28, 2024
7d7acc4
fix lint
yannbf Aug 28, 2024
c0f25c1
Merge pull request #28993 from storybookjs/yann/fix-isolate-false-issue
yannbf Aug 28, 2024
c9e5de1
Write changelog for 8.3.0-alpha.11 [skip ci]
storybook-bot Aug 28, 2024
ef411ce
Merge pull request #28991 from storybookjs/version-non-patch-from-8.3…
shilman Aug 29, 2024
7d6aa6b
Bump version from "8.3.0-alpha.10" to "8.3.0-alpha.11" [skip ci]
storybook-bot Aug 29, 2024
0a810d1
Merge branch 'next' into valentin/fix-wrong-nextjs-framework-reference
ndelangen Aug 29, 2024
4440fd4
Write changelog for 8.3.0-beta.0 [skip ci]
storybook-bot Aug 29, 2024
e670cae
Add description to empty 8.3.0-beta.0 release
JReinhold Aug 29, 2024
9d82c6a
Update docs/versions/next.json
JReinhold Aug 29, 2024
fca0922
Merge pull request #28999 from storybookjs/version-non-patch-from-8.3…
JReinhold Aug 29, 2024
d8b6ce8
Bump version from "8.3.0-alpha.11" to "8.3.0-beta.0" [skip ci]
storybook-bot Aug 29, 2024
aaad62c
ConfigFile: Fix `as const satisfies` modifiers
shilman Aug 29, 2024
bd3373e
Merge branch 'next' into shilan/fix-configfile-as-const-satisfies
shilman Aug 29, 2024
980f463
Fix typo
shilman Aug 29, 2024
7ffcc6e
improve migration notes for globals project
ndelangen Aug 29, 2024
0e0ac1c
add link to docs for how to set feature flags.
ndelangen Aug 29, 2024
77c37c8
Merge pull request #29000 from storybookjs/shilan/fix-configfile-as-c…
shilman Aug 29, 2024
76dd5eb
Merge pull request #29001 from storybookjs/norbert/improve-migration-…
ndelangen Aug 29, 2024
18695e2
Merge branch 'next' into rename-to-component-test
kylegach Aug 29, 2024
9e3d644
Address feedback
kylegach Aug 29, 2024
373ccbd
Merge pull request #28958 from storybookjs/rename-to-component-test
kylegach Aug 29, 2024
db3b97b
move util to regular dependency
ndelangen Aug 30, 2024
504bb6a
Merge pull request #29008 from storybookjs/norbert/ensure-util-availa…
JReinhold Aug 30, 2024
a70b069
Vue3: Add vite plugin for portable stories
yannbf Aug 29, 2024
744f259
review comments
yannbf Aug 29, 2024
f82fdf9
Merge pull request #28995 from storybookjs/valentin/nextjs-streamline…
valentinpalkovic Aug 30, 2024
ccc136c
Fix linting
valentinpalkovic Aug 30, 2024
69a737f
Merge pull request #29004 from storybookjs/yann/add-vue3-vite-plugin
yannbf Aug 30, 2024
849fb20
Merge pull request #28992 from storybookjs/valentin/fix-wrong-nextjs-…
valentinpalkovic Aug 30, 2024
288862b
Write changelog for 8.3.0-beta.1 [skip ci]
storybook-bot Aug 30, 2024
3ff8151
Merge pull request #29002 from storybookjs/version-non-patch-from-8.3…
JReinhold Aug 30, 2024
acd2b70
Bump version from "8.3.0-beta.0" to "8.3.0-beta.1" [skip ci]
storybook-bot Aug 30, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,4 @@ code/.nx/cache
code/.vite-inspect
.nx/cache
!**/fixtures/**/yarn.lock
code/core/report
26 changes: 26 additions & 0 deletions CHANGELOG.prerelease.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,29 @@
## 8.3.0-beta.1

- ConfigFile: Fix `as const satisfies` modifiers - [#29000](https://github.com/storybookjs/storybook/pull/29000), thanks @shilman!
- Core: Move `util` to regular dependency - [#29008](https://github.com/storybookjs/storybook/pull/29008), thanks @ndelangen!
- Next.js-Vite: Streamline Next.js dir option - [#28995](https://github.com/storybookjs/storybook/pull/28995), thanks @valentinpalkovic!
- Next.js: Fix wrong Next.js framework reference - [#28992](https://github.com/storybookjs/storybook/pull/28992), thanks @valentinpalkovic!
- Vue3: Add vite plugin for portable stories - [#29004](https://github.com/storybookjs/storybook/pull/29004), thanks @yannbf!

## 8.3.0-beta.0

Empty release identical to `v8.3.0-alpha.11`

## 8.3.0-alpha.11

- Addon Vitest: Fix tests potentially not existing in non-isolate mode - [#28993](https://github.com/storybookjs/storybook/pull/28993), thanks @yannbf!
- Builder-Vite: Fix 'condition node never be used' warning - [#28989](https://github.com/storybookjs/storybook/pull/28989), thanks @valentinpalkovic!
- CLI: Update spawn options in proxy.ts to support Windows - [#28990](https://github.com/storybookjs/storybook/pull/28990), thanks @valentinpalkovic!
- Next.js-Vite: Update next and vite-plugin-storybook-nextjs dependencies - [#28994](https://github.com/storybookjs/storybook/pull/28994), thanks @valentinpalkovic!

## 8.3.0-alpha.10

- Addon Vitest: Fix postinstall file types - [#28978](https://github.com/storybookjs/storybook/pull/28978), thanks @shilman!
- CLI: Fix dedent import in package managers - [#28980](https://github.com/storybookjs/storybook/pull/28980), thanks @shilman!
- Core: De-duplicate babel use in core - [#28972](https://github.com/storybookjs/storybook/pull/28972), thanks @ndelangen!
- Vitest: Fix add command - [#28975](https://github.com/storybookjs/storybook/pull/28975), thanks @ghengeveld!

## 8.3.0-alpha.9

- Addon Viewport: Add default options via parameters - [#28944](https://github.com/storybookjs/storybook/pull/28944), thanks @ndelangen!
Expand Down
142 changes: 84 additions & 58 deletions MIGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,17 +105,17 @@
- [Tab addons cannot manually route, Tool addons can filter their visibility via tabId](#tab-addons-cannot-manually-route-tool-addons-can-filter-their-visibility-via-tabid)
- [Removed `config` preset](#removed-config-preset-1)
- [From version 7.5.0 to 7.6.0](#from-version-750-to-760)
- [CommonJS with Vite is deprecated](#commonjs-with-vite-is-deprecated)
- [Using implicit actions during rendering is deprecated](#using-implicit-actions-during-rendering-is-deprecated)
- [typescript.skipBabel deprecated](#typescriptskipbabel-deprecated)
- [Primary doc block accepts of prop](#primary-doc-block-accepts-of-prop)
- [Addons no longer need a peer dependency on React](#addons-no-longer-need-a-peer-dependency-on-react)
- [CommonJS with Vite is deprecated](#commonjs-with-vite-is-deprecated)
- [Using implicit actions during rendering is deprecated](#using-implicit-actions-during-rendering-is-deprecated)
- [typescript.skipBabel deprecated](#typescriptskipbabel-deprecated)
- [Primary doc block accepts of prop](#primary-doc-block-accepts-of-prop)
- [Addons no longer need a peer dependency on React](#addons-no-longer-need-a-peer-dependency-on-react)
- [From version 7.4.0 to 7.5.0](#from-version-740-to-750)
- [`storyStoreV6` and `storiesOf` is deprecated](#storystorev6-and-storiesof-is-deprecated)
- [`storyIndexers` is replaced with `experimental_indexers`](#storyindexers-is-replaced-with-experimental_indexers)
- [`storyStoreV6` and `storiesOf` is deprecated](#storystorev6-and-storiesof-is-deprecated)
- [`storyIndexers` is replaced with `experimental_indexers`](#storyindexers-is-replaced-with-experimental_indexers)
- [From version 7.0.0 to 7.2.0](#from-version-700-to-720)
- [Addon API is more type-strict](#addon-api-is-more-type-strict)
- [Addon-controls hideNoControlsWarning parameter is deprecated](#addon-controls-hidenocontrolswarning-parameter-is-deprecated)
- [Addon API is more type-strict](#addon-api-is-more-type-strict)
- [Addon-controls hideNoControlsWarning parameter is deprecated](#addon-controls-hidenocontrolswarning-parameter-is-deprecated)
- [From version 6.5.x to 7.0.0](#from-version-65x-to-700)
- [7.0 breaking changes](#70-breaking-changes)
- [Dropped support for Node 15 and below](#dropped-support-for-node-15-and-below)
Expand All @@ -141,7 +141,7 @@
- [Deploying build artifacts](#deploying-build-artifacts)
- [Dropped support for file URLs](#dropped-support-for-file-urls)
- [Serving with nginx](#serving-with-nginx)
- [Ignore story files from node_modules](#ignore-story-files-from-node_modules)
- [Ignore story files from node\_modules](#ignore-story-files-from-node_modules)
- [7.0 Core changes](#70-core-changes)
- [7.0 feature flags removed](#70-feature-flags-removed)
- [Story context is prepared before for supporting fine grained updates](#story-context-is-prepared-before-for-supporting-fine-grained-updates)
Expand All @@ -155,7 +155,7 @@
- [Addon-interactions: Interactions debugger is now default](#addon-interactions-interactions-debugger-is-now-default)
- [7.0 Vite changes](#70-vite-changes)
- [Vite builder uses Vite config automatically](#vite-builder-uses-vite-config-automatically)
- [Vite cache moved to node_modules/.cache/.vite-storybook](#vite-cache-moved-to-node_modulescachevite-storybook)
- [Vite cache moved to node\_modules/.cache/.vite-storybook](#vite-cache-moved-to-node_modulescachevite-storybook)
- [7.0 Webpack changes](#70-webpack-changes)
- [Webpack4 support discontinued](#webpack4-support-discontinued)
- [Babel mode v7 exclusively](#babel-mode-v7-exclusively)
Expand Down Expand Up @@ -205,7 +205,7 @@
- [Dropped addon-docs manual babel configuration](#dropped-addon-docs-manual-babel-configuration)
- [Dropped addon-docs manual configuration](#dropped-addon-docs-manual-configuration)
- [Autoplay in docs](#autoplay-in-docs)
- [Removed STORYBOOK_REACT_CLASSES global](#removed-storybook_react_classes-global)
- [Removed STORYBOOK\_REACT\_CLASSES global](#removed-storybook_react_classes-global)
- [7.0 Deprecations and default changes](#70-deprecations-and-default-changes)
- [storyStoreV7 enabled by default](#storystorev7-enabled-by-default)
- [`Story` type deprecated](#story-type-deprecated)
Expand Down Expand Up @@ -428,85 +428,111 @@ These APIs allowed addons to render arbitrary content in the Storybook sidebar.

### New parameters format for addon backgrounds

The `addon-backgrounds` addon now uses a new format for parameters. The `backgrounds` parameter is now an object with a `values` key that contains the background values.
> [!NOTE]
> You need to set the feature flag `backgroundsStoryGlobals` to `true` in your `.storybook/main.ts` to use the new format and set the value with `globals`.
>
> See here how to set feature flags: https://storybook.js.org/docs/api/main-config/main-config-features

> ! You need to set the feature flag `backgroundsStoryGlobals` to `true` in your `.storybook/main.ts` to use the new format.
The `addon-backgrounds` addon now uses a new format for configuring its list of selectable backgrounds.
The `backgrounds` parameter is now an object with an `options` property.
This `options` object is a key-value pair where the key is used when setting the global value, the value is an object with a `name` and `value` property.

```diff
// .storybook/preview.js
export const parameters = {
backgrounds: {
- values: [
- { name: 'twitter', value: '#00aced' },
- { name: 'facebook', value: '#3b5998' },
- ],
+ options: {
+ twitter: { name: 'twitter', value: '#00aced' },
+ facebook: { name: 'facebook', value: '#3b5998' },
+ },
- values: [
- { name: 'twitter', value: '#00aced' },
- { name: 'facebook', value: '#3b5998' },
- ],
+ options: {
+ twitter: { name: 'Twitter', value: '#00aced' },
+ facebook: { name: 'Facebook', value: '#3b5998' },
+ },
},
};
```

Setting an override value should now be done via a `globals` property on your component/meta or story itself:

```ts
```diff
// Button.stories.ts
export default {
component: Button,
globals: {
backgrounds: { value: "twitter" },
},
- parameters: {
- backgrounds: {
- default: "twitter",
- },
- },
+ globals: {
+ backgrounds: { value: "twitter" },
+ },
};
```

This locks that story to the `twitter` background, it cannot be changed by the addon UI.

### New parameters format for addon viewport

> ! You need to set the feature flag `viewportStoryGlobals` to `true` in your `.storybook/main.ts` to use the new format.
> [!NOTE]
> You need to set the feature flag `viewportStoryGlobals` to `true` in your `.storybook/main.ts` to use the new format and set the value with `globals`.
>
> See here how to set feature flags: https://storybook.js.org/docs/api/main-config/main-config-features

The `addon-viewport` addon now uses a new format for parameters. The `viewport` parameter is now an object with a `viewports` key that contains the viewport values.
The `addon-viewport` addon now uses a new format for configuring its list of selectable viewports.
The `viewport` parameter is now an object with an `options` property.
This `options` object is a key-value pair where the key is used when setting the global value, the value is an object with a `name` and `styles` property.
The `styles` property is an object with a `width` and a `height` property.

```diff
// .storybook/preview.js
export const parameters = {
viewport: {
- viewports: {
- iphone5: {
- name: 'phone',
- styles: {
- width: '320px',
- height: '568px',
- },
- },
- viewports: {
- iphone5: {
- name: 'phone',
- styles: {
- width: '320px',
- height: '568px',
- },
- },
+ options: {
+ iphone5: {
+ name: 'phone',
+ styles: {
+ width: '320px',
+ height: '568px',
+ },
+ },
+ },
- },
+ options: {
+ iphone5: {
+ name: 'phone',
+ styles: {
+ width: '320px',
+ height: '568px',
+ },
+ },
+ },
},
};
```

Setting an override value should now be done via a `globals` property on your component/meta or story itself:
Setting an override value should now be done via a `globals` property on your component/meta or story itself.
Also note the change from `defaultOrientation: "landscape"` to `isRotated: true`.

```ts
```diff
// Button.stories.ts
export default {
component: Button,
globals: {
viewport: { value: "phone" },
},
- parameters: {
- viewport: {
- defaultViewport: "iphone5",
- defaultOrientation: "landscape",
- },
- },
+ globals: {
+ viewport: {
+ value: "iphone5",
+ isRotated: true,
+ },
+ },
};
```

This locks that story to the `phone` viewport, it cannot be changed by the addon UI.
This locks that story to the `iphone5` viewport in landscape orientation, it cannot be changed by the addon UI.

## From version 8.1.x to 8.2.x

Expand Down Expand Up @@ -2497,13 +2523,13 @@ This means also, that there is no root ngModule anymore. Previously you were abl
For example, if you want to configure BrowserAnimationModule in your stories, please extract the necessary providers the following way and provide them via the `applicationConfig` decorator:

```js
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { importProvidersFrom } from '@angular/core';
import { applicationConfig, Meta, StoryObj } from '@storybook/angular';
import {ExampleComponent} from './example.component';
import { BrowserAnimationsModule } from "@angular/platform-browser/animations";
import { importProvidersFrom } from "@angular/core";
import { applicationConfig, Meta, StoryObj } from "@storybook/angular";
import { ExampleComponent } from "./example.component";

const meta: Meta = {
title: 'Example',
title: "Example",
component: ExampleComponent,
decorators: [
// Define application-wide providers with the applicationConfig decorator
Expand All @@ -2519,14 +2545,14 @@ const meta: Meta = {

export default meta;

type Story = StoryObj<typeof ExampleComponent>
type Story = StoryObj<typeof ExampleComponent>;

export const Default: Story = {
render: () => ({
// Define application-wide providers directly in the render function
applicationConfig: {
providers: [importProvidersFrom(BrowserAnimationsModule)],
}
},
}),
};
```
Expand Down
3 changes: 2 additions & 1 deletion code/.eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ ember-output
!.eslintrc-markdown.js
!.storybook
core/assets
core/src/core-server/utils/__search-files-tests__
core/src/core-server/utils/__search-files-tests__
core/report
3 changes: 2 additions & 1 deletion code/.prettierignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
*.mdx

/.nx/cache
/.nx/cache
core/report

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions code/addons/a11y/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-a11y",
"version": "8.3.0-alpha.9",
"version": "8.3.0-beta.1",
"description": "Test component compliance with web accessibility standards",
"keywords": [
"a11y",
Expand Down Expand Up @@ -29,8 +29,7 @@
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js",
"node": "./dist/index.js"
"require": "./dist/index.js"
},
"./preview": {
"types": "./dist/preview.d.ts",
Expand Down
5 changes: 2 additions & 3 deletions code/addons/actions/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-actions",
"version": "8.3.0-alpha.9",
"version": "8.3.0-beta.1",
"description": "Get UI feedback when an action is performed on an interactive element",
"keywords": [
"storybook",
Expand All @@ -25,8 +25,7 @@
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js",
"node": "./dist/index.js"
"require": "./dist/index.js"
},
"./decorator": {
"types": "./dist/decorator.d.ts",
Expand Down
5 changes: 2 additions & 3 deletions code/addons/backgrounds/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-backgrounds",
"version": "8.3.0-alpha.9",
"version": "8.3.0-beta.1",
"description": "Switch backgrounds to view components in different settings",
"keywords": [
"addon",
Expand Down Expand Up @@ -29,8 +29,7 @@
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js",
"node": "./dist/index.js"
"require": "./dist/index.js"
},
"./preview": {
"types": "./dist/preview.d.ts",
Expand Down
5 changes: 2 additions & 3 deletions code/addons/controls/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-controls",
"version": "8.3.0-alpha.9",
"version": "8.3.0-beta.1",
"description": "Interact with component inputs dynamically in the Storybook UI",
"keywords": [
"addon",
Expand Down Expand Up @@ -29,8 +29,7 @@
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js",
"node": "./dist/index.js"
"require": "./dist/index.js"
},
"./manager": "./dist/manager.js",
"./register": "./dist/manager.js",
Expand Down
5 changes: 2 additions & 3 deletions code/addons/docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-docs",
"version": "8.3.0-alpha.9",
"version": "8.3.0-beta.1",
"description": "Document component usage and properties in Markdown",
"keywords": [
"addon",
Expand Down Expand Up @@ -28,8 +28,7 @@
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js",
"node": "./dist/index.js"
"require": "./dist/index.js"
},
"./preview": {
"types": "./dist/preview.d.ts",
Expand Down
Loading
Loading