File tree Expand file tree Collapse file tree
packages/react-components/react-headless-components-preview/library Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ {
2+ "type" : " patch" ,
3+ "comment" : " fix: use global focusgroup typing for MenuListState instead of a local intersection" ,
4+ "packageName" : " @fluentui/react-headless-components-preview" ,
5+ "email" : " dmytrokirpa@microsoft.com" ,
6+ "dependentChangeType" : " patch"
7+ }
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ import { MenuItemSwitchState } from '@fluentui/react-menu';
3535import type { MenuListContextValues } from ' @fluentui/react-menu' ;
3636import { MenuListProps } from ' @fluentui/react-menu' ;
3737import { MenuListSlots } from ' @fluentui/react-menu' ;
38- import type { MenuListState as MenuListState_2 } from ' @fluentui/react-menu' ;
38+ import { MenuListState } from ' @fluentui/react-menu' ;
3939import { MenuOpenChangeData } from ' @fluentui/react-menu' ;
4040import { MenuOpenEvent } from ' @fluentui/react-menu' ;
4141import { MenuPopoverProps } from ' @fluentui/react-menu' ;
@@ -166,12 +166,7 @@ export { MenuListProps }
166166
167167export { MenuListSlots }
168168
169- // @public (undocumented)
170- export type MenuListState = MenuListState_2 & {
171- root: {
172- focusgroup? : string ;
173- };
174- };
169+ export { MenuListState }
175170
176171export { MenuOpenChangeData }
177172
@@ -228,7 +223,7 @@ export { renderMenuItemRadio }
228223export { renderMenuItemSwitch }
229224
230225// @public (undocumented)
231- export const renderMenuList: (state : MenuListState_2 , contextValues : MenuListContextValues ) => JSXElement ;
226+ export const renderMenuList: (state : MenuListState , contextValues : MenuListContextValues ) => JSXElement ;
232227
233228// @public (undocumented)
234229export const renderMenuPopover: (state : MenuPopoverState ) => JSXElement ;
Original file line number Diff line number Diff line change 1- import type { MenuListState as MenuListBaseState } from '@fluentui/react-menu' ;
2-
31export type {
2+ MenuListState ,
43 MenuListProps ,
54 MenuListSlots ,
65 MenuCheckedValueChangeData ,
76 MenuCheckedValueChangeEvent ,
87} from '@fluentui/react-menu' ;
9-
10- export type MenuListState = MenuListBaseState & {
11- root : {
12- focusgroup ?: string ;
13- } ;
14- } ;
You can’t perform that action at this time.
0 commit comments