Skip to content

Commit c2bda30

Browse files
authored
chore(deps): update storybook to v9.1.0 (#6441)
1 parent f8fd50d commit c2bda30

File tree

8 files changed

+94
-402
lines changed

8 files changed

+94
-402
lines changed

package-lock.json

Lines changed: 84 additions & 144 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/react/package.json

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -129,13 +129,11 @@
129129
"@rollup/plugin-terser": "0.4.4",
130130
"@rollup/plugin-typescript": "12.1.4",
131131
"@rollup/plugin-virtual": "3.0.2",
132-
"@storybook/addon-a11y": "^9.0.17",
133-
"@storybook/addon-docs": "^9.0.17",
134-
"@storybook/addon-links": "^9.0.17",
135-
"@storybook/csf": "^0.1.13",
132+
"@storybook/addon-a11y": "^9.1.0",
133+
"@storybook/addon-docs": "^9.1.0",
134+
"@storybook/addon-links": "^9.1.0",
136135
"@storybook/icons": "^1.4.0",
137-
"@storybook/react-vite": "^9.0.17",
138-
"@storybook/source-loader": "^8.4.7",
136+
"@storybook/react-vite": "^9.1.0",
139137
"@testing-library/dom": "^10.4.0",
140138
"@testing-library/jest-dom": "^6.4.5",
141139
"@testing-library/react": "^16.3.0",
@@ -201,7 +199,7 @@
201199
"rollup-plugin-postcss": "4.0.2",
202200
"rollup-plugin-visualizer": "6.0.3",
203201
"semver": "7.7.1",
204-
"storybook": "^9.0.17",
202+
"storybook": "^9.1.0",
205203
"styled-components": "5.3.11",
206204
"terser": "5.36.0",
207205
"ts-toolbelt": "9.6.0",
@@ -239,4 +237,4 @@
239237
"optional": true
240238
}
241239
}
242-
}
240+
}

packages/react/src/DataTable/storyHelpers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type {InputType} from '@storybook/csf'
1+
import type {InputType} from 'storybook/internal/csf'
22

33
// Keeping this generic because we can't know how many columns there will be,
44
// so we can't know all the possible width keys (for example. 'colWidth1')

packages/react/src/Link/__tests__/__snapshots__/Link.test.tsx.snap

Lines changed: 0 additions & 41 deletions
This file was deleted.

packages/react/src/Popover/__snapshots__/Popover.test.tsx.snap

Lines changed: 0 additions & 205 deletions
This file was deleted.

packages/react/src/Stack/Stack.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type {Meta, StoryObj} from '@storybook/react-vite'
22
import {Stack} from '../Stack'
33
import type {ResponsiveValue} from '../hooks/useResponsiveValue'
4-
import type {InputType} from '@storybook/csf'
4+
import type {InputType} from 'storybook/internal/csf'
55

66
type Story = StoryObj<typeof Stack>
77

packages/react/src/utils/form-story-helpers.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import type React from 'react'
22
import type {CheckboxGroup, FormControl} from '../index'
33
import type {ComponentProps} from './types'
44
import type {ArgTypes} from '@storybook/react'
5-
import type {InputType} from '@storybook/csf'
5+
import type {InputType} from 'storybook/internal/csf'
66

77
type CheckboxOrRadioGroupWrapperArgs = ComponentProps<typeof CheckboxGroup>
88
type CheckboxOrRadioGroupLabelArgs = ComponentProps<typeof CheckboxGroup.Label> & {

packages/react/src/utils/story-helpers.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import type React from 'react'
22
import type {CheckboxGroup, FormControl} from '../index'
33
import type {ComponentProps} from './types'
44
import type {ArgTypes} from '@storybook/react'
5-
import type {InputType} from '@storybook/csf'
5+
import type {InputType} from 'storybook/internal/csf'
66
import type {Icon} from '@primer/octicons-react'
77

88
type CheckboxOrRadioGroupWrapperArgs = ComponentProps<typeof CheckboxGroup>

0 commit comments

Comments
 (0)