Skip to content

Commit dea5774

Browse files
committed
update storybook
1 parent be62c5d commit dea5774

File tree

111 files changed

+287
-733
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

111 files changed

+287
-733
lines changed

apps/dashboard/.storybook/main.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,8 @@ const config: StorybookConfig = {
1313
addons: [
1414
getAbsolutePath("@storybook/addon-onboarding"),
1515
getAbsolutePath("@storybook/addon-links"),
16-
getAbsolutePath("@storybook/addon-essentials"),
1716
getAbsolutePath("@chromatic-com/storybook"),
18-
getAbsolutePath("@storybook/addon-interactions"),
17+
getAbsolutePath("@storybook/addon-docs"),
1918
],
2019
framework: {
2120
name: getAbsolutePath("@storybook/nextjs"),

apps/dashboard/.storybook/preview.tsx

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
import "../src/global.css";
33
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
44
import { MoonIcon, SunIcon } from "lucide-react";

apps/dashboard/package.json

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -109,19 +109,14 @@
109109
},
110110
"devDependencies": {
111111
"@chakra-ui/cli": "^2.4.1",
112-
"@chromatic-com/storybook": "3.2.6",
112+
"@chromatic-com/storybook": "4.0.0",
113113
"@next/bundle-analyzer": "15.3.3",
114114
"@next/eslint-plugin-next": "15.3.3",
115115
"@playwright/test": "1.53.0",
116-
"@storybook/addon-essentials": "8.6.14",
117-
"@storybook/addon-interactions": "8.6.14",
118-
"@storybook/addon-links": "8.6.14",
119-
"@storybook/addon-onboarding": "8.6.14",
120-
"@storybook/addon-viewport": "8.6.14",
121-
"@storybook/blocks": "8.6.14",
122-
"@storybook/nextjs": "8.6.14",
123-
"@storybook/react": "8.6.14",
124-
"@storybook/test": "8.6.14",
116+
"@storybook/addon-docs": "^9.0.8",
117+
"@storybook/addon-links": "9.0.8",
118+
"@storybook/addon-onboarding": "9.0.8",
119+
"@storybook/nextjs": "9.0.8",
125120
"@types/color": "4.2.0",
126121
"@types/node": "22.14.1",
127122
"@types/papaparse": "^5.3.16",
@@ -139,11 +134,11 @@
139134
"eslint": "8.57.0",
140135
"eslint-config-biome": "1.9.4",
141136
"eslint-plugin-react-compiler": "19.0.0-beta-e993439-20250405",
142-
"eslint-plugin-storybook": "0.12.0",
137+
"eslint-plugin-storybook": "9.0.8",
143138
"knip": "5.60.2",
144139
"next-sitemap": "^4.2.3",
145140
"postcss": "8.5.3",
146-
"storybook": "8.6.14",
141+
"storybook": "9.0.8",
147142
"tailwindcss": "3.4.17",
148143
"typescript": "5.8.3"
149144
}

apps/dashboard/src/@/actions/createTeam.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
"use server";
22
import "server-only";
33

4-
import { randomBytes } from "node:crypto";
54
import type { Team } from "@/api/team";
65
import { format } from "date-fns";
6+
import { bytesToString } from "thirdweb/utils";
77
import { getAuthToken } from "../../app/(app)/api/lib/getAuthToken";
88
import { NEXT_PUBLIC_THIRDWEB_API_HOST } from "../constants/public-envs";
99

@@ -29,7 +29,9 @@ export async function createTeam(options?: {
2929
body: JSON.stringify({
3030
name:
3131
options?.name ?? `Your Projects ${format(new Date(), "MMM d yyyy")}`,
32-
slug: options?.slug ?? randomBytes(20).toString("hex"),
32+
slug:
33+
options?.slug ??
34+
bytesToString(global.crypto.getRandomValues(new Uint8Array(20))),
3335
billingEmail: null,
3436
image: null,
3537
}),

apps/dashboard/src/@/components/blocks/Avatars/GradientAvatar.stories.tsx

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

apps/dashboard/src/@/components/blocks/Avatars/ProjectAvatar.stories.tsx

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

apps/dashboard/src/@/components/blocks/DangerSettingCard.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Meta, StoryObj } from "@storybook/react";
1+
import type { Meta, StoryObj } from "@storybook/nextjs";
22
import { BadgeContainer } from "../../../stories/utils";
33
import { DangerSettingCard } from "./DangerSettingCard";
44

apps/dashboard/src/@/components/blocks/Img.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Meta, StoryObj } from "@storybook/react";
1+
import type { Meta, StoryObj } from "@storybook/nextjs";
22
import { ImageIcon } from "lucide-react";
33
import { useState } from "react";
44
import { BadgeContainer } from "../../../stories/utils";

apps/dashboard/src/@/components/blocks/MultiNetworkSelector.stories.tsx

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

apps/dashboard/src/@/components/blocks/SettingsCard.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Meta, StoryObj } from "@storybook/react";
1+
import type { Meta, StoryObj } from "@storybook/nextjs";
22
import { BadgeContainer } from "../../../stories/utils";
33
import { SettingsCard } from "./SettingsCard";
44

apps/dashboard/src/@/components/blocks/SidebarLayout.stories.tsx

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

44
const meta = {

apps/dashboard/src/@/components/blocks/SingleNetworkSelector.stories.tsx

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

apps/dashboard/src/@/components/blocks/TokenSelector.stories.tsx

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

apps/dashboard/src/@/components/blocks/UpsellBannerCard.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Meta, StoryObj } from "@storybook/react";
1+
import type { Meta, StoryObj } from "@storybook/nextjs";
22
import { ArrowRightIcon, RocketIcon, StarIcon } from "lucide-react";
33
import { BadgeContainer } from "../../../stories/utils";
44
import { UpsellBannerCard } from "./UpsellBannerCard";

apps/dashboard/src/@/components/blocks/code-segment.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
SelectTrigger,
77
SelectValue,
88
} from "@/components/ui/select";
9-
import type { Meta, StoryObj } from "@storybook/react";
9+
import type { Meta, StoryObj } from "@storybook/nextjs";
1010
import { useState } from "react";
1111
import { BadgeContainer } from "stories/utils";
1212
import { type CodeEnvironment, CodeSegment } from "./code-segment.client";

apps/dashboard/src/@/components/blocks/drop-zone/drop-zone.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Meta, StoryObj } from "@storybook/react";
1+
import type { Meta, StoryObj } from "@storybook/nextjs";
22
import { DropZone } from "./drop-zone";
33

44
const meta = {

apps/dashboard/src/@/components/blocks/multi-select.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Meta, StoryObj } from "@storybook/react";
1+
import type { Meta, StoryObj } from "@storybook/nextjs";
22
import { useMemo, useState } from "react";
33
import { BadgeContainer } from "../../../stories/utils";
44
import { MultiSelect } from "./multi-select";

apps/dashboard/src/@/components/blocks/multi-step-status/multi-step-status.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Meta, StoryObj } from "@storybook/react";
1+
import type { Meta, StoryObj } from "@storybook/nextjs";
22
import { MultiStepStatus } from "./multi-step-status";
33

44
const meta = {

apps/dashboard/src/@/components/blocks/select-with-search.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Meta, StoryObj } from "@storybook/react";
1+
import type { Meta, StoryObj } from "@storybook/nextjs";
22
import { useMemo, useState } from "react";
33
import { BadgeContainer } from "../../../stories/utils";
44
import { SelectWithSearch } from "./select-with-search";

apps/dashboard/src/@/components/pagination-buttons.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Meta, StoryObj } from "@storybook/react";
1+
import type { Meta, StoryObj } from "@storybook/nextjs";
22
import { useState } from "react";
33
import { BadgeContainer } from "stories/utils";
44
import { PaginationButtons } from "./pagination-buttons";

apps/dashboard/src/@/components/ui/button.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Button } from "@/components/ui/button";
2-
import type { Meta, StoryObj } from "@storybook/react";
2+
import type { Meta, StoryObj } from "@storybook/nextjs";
33
import { StarIcon } from "lucide-react";
44
import { BadgeContainer } from "../../../stories/utils";
55

apps/dashboard/src/@/components/ui/code/code.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Meta, StoryObj } from "@storybook/react";
1+
import type { Meta, StoryObj } from "@storybook/nextjs";
22
import { BadgeContainer } from "stories/utils";
33
import { CodeClient } from "./code.client";
44

apps/dashboard/src/@/components/ui/code/plaintext-code.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Meta, StoryObj } from "@storybook/react";
1+
import type { Meta, StoryObj } from "@storybook/nextjs";
22
import { BadgeContainer } from "stories/utils";
33
import { PlainTextCodeBlock } from "./plaintext-code";
44

apps/dashboard/src/@/components/ui/select.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
SelectTrigger,
88
SelectValue,
99
} from "@/components/ui/select";
10-
import type { Meta, StoryObj } from "@storybook/react";
10+
import type { Meta, StoryObj } from "@storybook/nextjs";
1111
import { BadgeContainer } from "../../../stories/utils";
1212

1313
const meta = {

apps/dashboard/src/@/components/ui/table.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
TableHeader,
99
TableRow,
1010
} from "@/components/ui/table";
11-
import type { Meta, StoryObj } from "@storybook/react";
11+
import type { Meta, StoryObj } from "@storybook/nextjs";
1212
import Link from "next/link";
1313
import { BadgeContainer } from "../../../stories/utils";
1414
import { cn } from "../../lib/utils";

apps/dashboard/src/app/(app)/(dashboard)/(chain)/[chain_id]/[contractAddress]/modules/components/batchMetadata.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Checkbox } from "@/components/ui/checkbox";
2-
import type { Meta, StoryObj } from "@storybook/react";
2+
import type { Meta, StoryObj } from "@storybook/nextjs";
33
import { useMutation } from "@tanstack/react-query";
44
import type { TransactionError } from "contexts/error-handler";
55
import { useState } from "react";

apps/dashboard/src/app/(app)/(dashboard)/(chain)/[chain_id]/[contractAddress]/modules/components/claimable.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
SelectTrigger,
77
SelectValue,
88
} from "@/components/ui/select";
9-
import type { Meta, StoryObj } from "@storybook/react";
9+
import type { Meta, StoryObj } from "@storybook/nextjs";
1010
import { useMutation } from "@tanstack/react-query";
1111
import { subDays } from "date-fns";
1212
import { useState } from "react";

apps/dashboard/src/app/(app)/(dashboard)/(chain)/[chain_id]/[contractAddress]/modules/components/mintable.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
SelectTrigger,
88
SelectValue,
99
} from "@/components/ui/select";
10-
import type { Meta, StoryObj } from "@storybook/react";
10+
import type { Meta, StoryObj } from "@storybook/nextjs";
1111
import { useMutation } from "@tanstack/react-query";
1212
import { useState } from "react";
1313
import { toast } from "sonner";

apps/dashboard/src/app/(app)/(dashboard)/(chain)/[chain_id]/[contractAddress]/modules/components/module-card.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Checkbox } from "@/components/ui/checkbox";
2-
import type { Meta, StoryObj } from "@storybook/react";
2+
import type { Meta, StoryObj } from "@storybook/nextjs";
33
import { useMutation } from "@tanstack/react-query";
44
import { useState } from "react";
55
import { BadgeContainer, storybookThirdwebClient } from "stories/utils";

apps/dashboard/src/app/(app)/(dashboard)/(chain)/[chain_id]/[contractAddress]/modules/components/openEditionMetadata.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Checkbox } from "@/components/ui/checkbox";
2-
import type { Meta, StoryObj } from "@storybook/react";
2+
import type { Meta, StoryObj } from "@storybook/nextjs";
33
import { useMutation } from "@tanstack/react-query";
44
import { useState } from "react";
55
import { toast } from "sonner";

apps/dashboard/src/app/(app)/(dashboard)/(chain)/[chain_id]/[contractAddress]/modules/components/royalty.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Checkbox } from "@/components/ui/checkbox";
2-
import type { Meta, StoryObj } from "@storybook/react";
2+
import type { Meta, StoryObj } from "@storybook/nextjs";
33
import { useMutation } from "@tanstack/react-query";
44
import { useState } from "react";
55
import { toast } from "sonner";

apps/dashboard/src/app/(app)/(dashboard)/(chain)/[chain_id]/[contractAddress]/modules/components/transferable.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Checkbox } from "@/components/ui/checkbox";
2-
import type { Meta, StoryObj } from "@storybook/react";
2+
import type { Meta, StoryObj } from "@storybook/nextjs";
33
import { useMutation } from "@tanstack/react-query";
44
import { useState } from "react";
55
import { toast } from "sonner";

apps/dashboard/src/app/(app)/(dashboard)/(chain)/[chain_id]/[contractAddress]/overview/components/LatestEvents.stories.tsx

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

44
const meta: Meta<typeof LatestEventsUI> = {

apps/dashboard/src/app/(app)/(dashboard)/(chain)/[chain_id]/[contractAddress]/overview/components/PermissionsTable.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Meta, StoryObj } from "@storybook/react";
1+
import type { Meta, StoryObj } from "@storybook/nextjs";
22
import { ThirdwebProvider } from "thirdweb/react";
33
import { PermissionsTableUI } from "./PermissionsTable";
44

apps/dashboard/src/app/(app)/(dashboard)/(chain)/[chain_id]/[contractAddress]/public-pages/erc20/_components/ContractHeader.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Meta, StoryObj } from "@storybook/react";
1+
import type { Meta, StoryObj } from "@storybook/nextjs";
22
import { storybookThirdwebClient } from "stories/utils";
33
import { getContract } from "thirdweb";
44
import type { ChainMetadata } from "thirdweb/chains";

apps/dashboard/src/app/(app)/(dashboard)/(chain)/[chain_id]/[contractAddress]/public-pages/erc20/_components/claim-tokens/claim-tokens-ui.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Meta, StoryObj } from "@storybook/react";
1+
import type { Meta, StoryObj } from "@storybook/nextjs";
22
import { storybookThirdwebClient } from "stories/utils";
33
import { getContract } from "thirdweb";
44
import { baseSepolia } from "thirdweb/chains";

apps/dashboard/src/app/(app)/account/components/AccountHeaderUI.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Button } from "@/components/ui/button";
2-
import type { Meta, StoryObj } from "@storybook/react";
2+
import type { Meta, StoryObj } from "@storybook/nextjs";
33
import { teamsAndProjectsStub } from "stories/stubs";
44
import {
55
BadgeContainer,

apps/dashboard/src/app/(app)/account/overview/AccountTeamsUI.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Meta, StoryObj } from "@storybook/react";
1+
import type { Meta, StoryObj } from "@storybook/nextjs";
22
import { teamStub } from "stories/stubs";
33
import {
44
BadgeContainer,

apps/dashboard/src/app/(app)/account/settings/AccountSettingsPageUI.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
SelectTrigger,
88
SelectValue,
99
} from "@/components/ui/select";
10-
import type { Meta, StoryObj } from "@storybook/react";
10+
import type { Meta, StoryObj } from "@storybook/nextjs";
1111
import { useState } from "react";
1212
import { mobileViewport, storybookThirdwebClient } from "stories/utils";
1313
import { AccountSettingsPageUI } from "./AccountSettingsPageUI";

apps/dashboard/src/app/(app)/account/wallets/LinkWalletsUI.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { LinkedWallet } from "@/api/linked-wallets";
2-
import type { Meta, StoryObj } from "@storybook/react";
2+
import type { Meta, StoryObj } from "@storybook/nextjs";
33
import {
44
BadgeContainer,
55
mobileViewport,

apps/dashboard/src/app/(app)/join/team/[team_slug]/[invite_id]/JoinTeamPage.stories.tsx

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

44
const meta = {

apps/dashboard/src/app/(app)/login/onboarding/LinkWalletPrompt/LinkWalletPrompt.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Meta, StoryObj } from "@storybook/react";
1+
import type { Meta, StoryObj } from "@storybook/nextjs";
22
import { storybookLog } from "../../../../../stories/utils";
33
import { AccountOnboardingLayout } from "../onboarding-layout";
44
import { LinkWalletPrompt } from "./LinkWalletPrompt";

apps/dashboard/src/app/(app)/login/onboarding/LoginOrSignup/LoginOrSignup.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Meta, StoryObj } from "@storybook/react";
1+
import type { Meta, StoryObj } from "@storybook/nextjs";
22
import { storybookLog } from "stories/utils";
33
import { AccountOnboardingLayout } from "../onboarding-layout";
44
import { LoginOrSignup } from "./LoginOrSignup";

apps/dashboard/src/app/(app)/login/onboarding/VerifyEmail/VerifyEmail.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Meta, StoryObj } from "@storybook/react";
1+
import type { Meta, StoryObj } from "@storybook/nextjs";
22
import { newAccountStub } from "stories/stubs";
33
import { storybookLog } from "stories/utils";
44
import { AccountOnboardingLayout } from "../onboarding-layout";

apps/dashboard/src/app/(app)/login/onboarding/account-onboarding.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Meta, StoryObj } from "@storybook/react";
1+
import type { Meta, StoryObj } from "@storybook/nextjs";
22
import { newAccountStub, teamStub } from "../../../../stories/stubs";
33
import { storybookLog } from "../../../../stories/utils";
44
import { AccountOnboardingUI } from "./account-onboarding-ui";

apps/dashboard/src/app/(app)/login/onboarding/team-onboarding/InviteTeamMembers.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { Team } from "@/api/team";
2-
import type { Meta, StoryObj } from "@storybook/react";
2+
import type { Meta, StoryObj } from "@storybook/nextjs";
33
import { teamStub } from "stories/stubs";
44
import { storybookLog, storybookThirdwebClient } from "stories/utils";
55
import { TeamOnboardingLayout } from "../onboarding-layout";

apps/dashboard/src/app/(app)/login/onboarding/team-onboarding/TeamInfoForm.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Meta, StoryObj } from "@storybook/react";
1+
import type { Meta, StoryObj } from "@storybook/nextjs";
22
import { teamStub } from "stories/stubs";
33
import { storybookLog, storybookThirdwebClient } from "stories/utils";
44
import { TeamOnboardingLayout } from "../onboarding-layout";

apps/dashboard/src/app/(app)/team/[team_slug]/(team)/_components/BillingAlertBanner.stories.tsx

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

apps/dashboard/src/app/(app)/team/[team_slug]/(team)/~/ecosystem/[slug]/(active)/analytics/components/EcosystemWalletUsersChartCard.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Meta, StoryObj } from "@storybook/react";
1+
import type { Meta, StoryObj } from "@storybook/nextjs";
22
import type { EcosystemWalletStats } from "types/analytics";
33
import { EcosystemWalletUsersChartCard } from "./EcosystemWalletUsersChartCard";
44

apps/dashboard/src/app/(app)/team/[team_slug]/(team)/~/settings/billing/components/PlanInfoCard.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { Team } from "@/api/team";
2-
import type { Meta, StoryObj } from "@storybook/react";
2+
import type { Meta, StoryObj } from "@storybook/nextjs";
33
import { addDays } from "date-fns";
44
import { teamStub, teamSubscriptionsStub } from "stories/stubs";
55
import { BadgeContainer } from "stories/utils";

apps/dashboard/src/app/(app)/team/[team_slug]/(team)/~/settings/general/GeneralSettingsPage.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Meta, StoryObj } from "@storybook/react";
1+
import type { Meta, StoryObj } from "@storybook/nextjs";
22
import { teamStub } from "stories/stubs";
33
import { storybookThirdwebClient } from "stories/utils";
44
import {

apps/dashboard/src/app/(app)/team/[team_slug]/(team)/~/settings/general/Sidebar.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Meta, StoryObj } from "@storybook/react";
1+
import type { Meta, StoryObj } from "@storybook/nextjs";
22
import { teamStub } from "stories/stubs";
33
import {
44
BadgeContainer,

0 commit comments

Comments
 (0)