diff --git a/packages/dify-ui/src/dialog/index.stories.tsx b/packages/dify-ui/src/dialog/index.stories.tsx index d113a80293d..d171d862a9f 100644 --- a/packages/dify-ui/src/dialog/index.stories.tsx +++ b/packages/dify-ui/src/dialog/index.stories.tsx @@ -19,8 +19,8 @@ import { Field, FieldControl, FieldDescription, FieldError, FieldLabel } from '. import { Form } from '../form' import { Input } from '../input' import { + ScrollArea, ScrollAreaContent, - ScrollAreaRoot, ScrollAreaScrollbar, ScrollAreaThumb, ScrollAreaViewport, @@ -334,7 +334,7 @@ const OutsideScrollingContentDemo = () => { - + { - + @@ -418,11 +418,11 @@ const InsideScrollingContentDemo = () => { title="Release notes" description="Highlights from the latest workspace update." /> - + @@ -431,7 +431,7 @@ const InsideScrollingContentDemo = () => { - + setOpen(false)} /> diff --git a/packages/dify-ui/src/drawer/index.stories.tsx b/packages/dify-ui/src/drawer/index.stories.tsx index 1f7264f1719..8ddcc1ddf16 100644 --- a/packages/dify-ui/src/drawer/index.stories.tsx +++ b/packages/dify-ui/src/drawer/index.stories.tsx @@ -23,8 +23,8 @@ import { Button } from '../button' import { cn } from '../cn' import { Input } from '../input' import { + ScrollArea, ScrollAreaContent, - ScrollAreaRoot, ScrollAreaScrollbar, ScrollAreaThumb, ScrollAreaViewport, @@ -723,16 +723,19 @@ export const MobileNavigation: Story = { - - +