@@ -6,12 +6,12 @@ import { expect, userEvent, within } from 'storybook/test';
66
77import { Autocomplete } from '../src/Autocomplete' ;
88import { Button } from '../src/Button' ;
9- import { Dialog , DialogTrigger } from '../src/Dialog' ;
9+ import { Dialog } from '../src/Dialog' ;
1010import { Group } from '../src/Group' ;
1111import { IconButton } from '../src/IconButton' ;
1212import { Input } from '../src/Input' ;
1313import { ListBox , ListBoxItem } from '../src/ListBox' ;
14- import { Menu , MenuItem } from '../src/Menu' ;
14+ import { Menu , MenuItem , MenuTrigger } from '../src/Menu' ;
1515import { Popover } from '../src/Popover' ;
1616import { SearchField } from '../src/SearchField' ;
1717
@@ -45,7 +45,7 @@ export const Example: Story = {
4545 ] ;
4646
4747 return (
48- < DialogTrigger >
48+ < MenuTrigger >
4949 < Button > Trigger</ Button >
5050 < Popover placement = "bottom start" >
5151 < Dialog aria-label = "dialog with autocomplete" >
@@ -73,7 +73,7 @@ export const Example: Story = {
7373 </ Autocomplete >
7474 </ Dialog >
7575 </ Popover >
76- </ DialogTrigger >
76+ </ MenuTrigger >
7777 ) ;
7878 } ,
7979 ...open ,
@@ -89,7 +89,7 @@ export const ListBoxExample: Story = {
8989 ] ;
9090
9191 return (
92- < DialogTrigger >
92+ < MenuTrigger >
9393 < Button > Trigger</ Button >
9494 < Popover placement = "bottom start" >
9595 < Dialog aria-label = "dialog with autocomplete" >
@@ -118,7 +118,7 @@ export const ListBoxExample: Story = {
118118 </ Autocomplete >
119119 </ Dialog >
120120 </ Popover >
121- </ DialogTrigger >
121+ </ MenuTrigger >
122122 ) ;
123123 } ,
124124 ...open ,
0 commit comments