Skip to content

Commit 27a29f7

Browse files
Merge pull request #3151 from liam-hq/renovate/major-storybook-monorepo
chore(deps): update storybook monorepo to v9 (major)
2 parents 1259fe7 + cd285ea commit 27a29f7

File tree

52 files changed

+451
-844
lines changed

Some content is hidden

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

52 files changed

+451
-844
lines changed

frontend/apps/app/components/SessionDetailPage/components/Chat/Chat.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { aBuildingSchemaVersion } from '@liam-hq/db'
22
import { aSchema } from '@liam-hq/schema'
3-
import type { Meta, StoryObj } from '@storybook/react'
3+
import type { Meta, StoryObj } from '@storybook/nextjs'
44
import { HttpResponse, http } from 'msw'
55
import { aTypicalConversation } from '../../factories'
66
import { AnimatedChatDemo } from './AnimatedChatDemo'

frontend/apps/app/components/SessionDetailPage/components/Chat/NewSessionButton/NewSessionButton.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 { NewSessionButton } from './NewSessionButton'
33

44
const meta = {

frontend/apps/app/components/SessionDetailPage/components/Chat/ThreadListButton/ThreadListButton.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 { ThreadListButton } from './ThreadListButton'
33

44
const meta = {

frontend/apps/app/components/SessionDetailPage/components/Chat/components/ChatInput/ChatInput.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 { ChatInput } from './ChatInput'
33

44
const dummySchema = {

frontend/apps/app/components/SessionDetailPage/components/Chat/components/ChatInput/CtaBar.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 { CtaBar } from './CtaBar'
33

44
const meta = {

frontend/apps/app/components/SessionDetailPage/components/Chat/components/ChatInput/components/MentionSuggestor/MentionSuggestor.stories.tsx

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1-
import type { Meta, StoryObj } from '@storybook/react'
2-
import { type KeyboardEvent, useRef, useState } from 'react'
1+
import type { Meta, StoryObj } from '@storybook/nextjs'
2+
import {
3+
type ComponentProps,
4+
type KeyboardEvent,
5+
useRef,
6+
useState,
7+
} from 'react'
38
import { MentionSuggestor } from './MentionSuggestor'
49

510
const meta = {
@@ -136,7 +141,7 @@ export const SchemaMention: Story = {
136141
schema,
137142
onSelect: () => {},
138143
},
139-
render: (args) => {
144+
render: (args: ComponentProps<typeof MentionSuggestor>) => {
140145
const [input, setInput] = useState(args.input)
141146
const [cursorPos, setcursorPos] = useState(args.cursorPos)
142147
const [selected, setSelected] = useState<string | null>(null)
@@ -198,7 +203,7 @@ export const LimitedItems: Story = {
198203
schema,
199204
onSelect: () => {},
200205
},
201-
render: (args) => {
206+
render: (args: ComponentProps<typeof MentionSuggestor>) => {
202207
const [input, setInput] = useState(args.input)
203208
const [cursorPos, setcursorPos] = useState(args.cursorPos)
204209
const [selected, setSelected] = useState<string | null>(null)

frontend/apps/app/components/SessionDetailPage/components/Chat/components/ChatInput/components/SendButton/SendButton.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 { SendButton } from './SendButton'
44

frontend/apps/app/components/SessionDetailPage/components/Chat/components/TimelineItem/components/AgentMessage/AgentMessage.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
type MessageOption,
44
MessageOptionButtons,

frontend/apps/app/components/SessionDetailPage/components/Chat/components/TimelineItem/components/AgentMessage/components/AgentAvatar/AgentAvatars.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 styles from './AgentAvatars.stories.module.css'
33
import { DBAgent } from './DbAgent'
44
import { PMAgent } from './PmAgent'

frontend/apps/app/components/SessionDetailPage/components/Chat/components/TimelineItem/components/AgentMessage/components/MessageOptionButtons/MessageOptionButton.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 { MessageOptionButton } from './MessageOptionButton'
33

44
const meta = {

0 commit comments

Comments
 (0)