Skip to content

Commit 39a9f63

Browse files
committed
chore(deps): storybook to v9
1 parent 4deae74 commit 39a9f63

File tree

8 files changed

+783
-1643
lines changed

8 files changed

+783
-1643
lines changed

.storybook/main.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@ const config: StorybookConfig = {
55
addons: [
66
"@storybook/addon-onboarding",
77
"@storybook/addon-links",
8-
"@storybook/addon-essentials",
98
"@chromatic-com/storybook",
10-
"@storybook/addon-interactions",
9+
"@storybook/addon-docs"
1110
],
1211
framework: {
1312
name: "@storybook/nextjs",

.storybook/preview.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Preview } from "@storybook/react";
1+
import type { Preview } from "@storybook/nextjs";
22

33
const preview: Preview = {
44
parameters: {

package-lock.json

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

package.json

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -55,31 +55,27 @@
5555
"yup": "^1.6.1"
5656
},
5757
"devDependencies": {
58-
"@chromatic-com/storybook": "^3.0.0",
58+
"@chromatic-com/storybook": "^4.0.1",
5959
"@commitlint/cli": "^19.8.1",
6060
"@commitlint/config-conventional": "^19.8.1",
6161
"@playwright/test": "^1.53.0",
6262
"@release-it/conventional-changelog": "^8.0.1",
63-
"@storybook/addon-essentials": "^8.1.10",
64-
"@storybook/addon-interactions": "^8.1.10",
65-
"@storybook/addon-links": "^8.1.10",
66-
"@storybook/addon-onboarding": "^8.1.10",
67-
"@storybook/blocks": "^8.1.10",
68-
"@storybook/nextjs": "^8.1.10",
69-
"@storybook/react": "^8.1.10",
70-
"@storybook/test": "^8.1.10",
63+
"@storybook/addon-links": "^9.0.18",
64+
"@storybook/addon-onboarding": "^9.0.18",
65+
"@storybook/nextjs": "^9.0.18",
7166
"@types/js-cookie": "^3.0.6",
7267
"@typescript-eslint/eslint-plugin": "^7.0.0",
7368
"@typescript-eslint/parser": "^7.0.0",
7469
"eslint-config-prettier": "^10.0.0",
7570
"eslint-plugin-prettier": "^5.4.1",
76-
"eslint-plugin-storybook": "^0.12.0",
71+
"eslint-plugin-storybook": "^9.0.18",
7772
"husky": "^9.1.7",
7873
"hygen": "^6.2.11",
7974
"is-ci": "^4.1.0",
8075
"prettier": "^3.5.3",
8176
"release-it": "^17.1.1",
82-
"storybook": "^8.1.10"
77+
"storybook": "^9.0.18",
78+
"@storybook/addon-docs": "^9.0.18"
8379
},
8480
"release-it": {
8581
"git": {

src/components/form/autocomplete/form-autocomplete.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from "react";
2-
import { Meta, StoryFn } from "@storybook/react";
2+
import { Meta, StoryFn } from "@storybook/nextjs";
33
import { useForm, FormProvider } from "react-hook-form";
44
import FormAutocompleteInput, {
55
AutocompleteInputProps,

src/components/form/checkbox-boolean/form-checkbox-boolean.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from "react";
2-
import { Meta, StoryFn } from "@storybook/react";
2+
import { Meta, StoryFn } from "@storybook/nextjs";
33
import { useForm, FormProvider } from "react-hook-form";
44
import FormCheckboxBooleanInput, {
55
CheckboxBooleanInputProps,

src/components/form/checkbox/form-checkbox.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from "react";
2-
import { Meta, StoryFn } from "@storybook/react";
2+
import { Meta, StoryFn } from "@storybook/nextjs";
33
import { useForm, FormProvider } from "react-hook-form";
44
import FormCheckboxInput, { CheckboxInputProps } from "./form-checkbox";
55

src/components/form/switch/form-switch.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from "react";
2-
import { Meta, StoryFn } from "@storybook/react";
2+
import { Meta, StoryFn } from "@storybook/nextjs";
33
import { useForm, FormProvider } from "react-hook-form";
44
import FormSwitchInput, { SwitchInputProps } from "./form-switch";
55

0 commit comments

Comments
 (0)