-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ContextualMenu: Migrate existing ContextualMenu code to react-next #12992
Changes from 1 commit
5954a4c
1664ea2
dab5287
93eb810
83ff894
537b1f4
c4c9a53
33700a8
daa95bb
944aac0
1d470ad
8e90350
eeb7729
4bded52
29005c4
bac92b4
ae77f60
2e7e1a5
71a3621
8fe4134
1530cce
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -4,7 +4,7 @@ import { IFocusZoneProps } from '../../FocusZone'; | |||||
import { IIconProps } from '@fluentui/react-next/lib/Icon'; | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
import { ICalloutProps, ICalloutContentStyleProps, Target } from '../../Callout'; | ||||||
import { ITheme, IStyle } from '../../Styling'; | ||||||
import { IButtonStyles } from '../../Button'; | ||||||
import { IButtonStyles } from '@fluentui/react-next/lib/compat/Button'; | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
import { IRefObject, IBaseProps, IRectangle, IRenderFunction, IStyleFunctionOrObject } from '../../Utilities'; | ||||||
import { IWithResponsiveModeState } from 'office-ui-fabric-react/lib/utilities/decorators/withResponsiveMode'; | ||||||
import { IContextualMenuClassNames, IMenuItemClassNames } from './ContextualMenu.classNames'; | ||||||
|
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -3,7 +3,7 @@ import { IContextualMenuItem } from './ContextualMenu.types'; | |||||
import { IMenuItemClassNames } from './ContextualMenu.classNames'; | ||||||
import { IStyle, ITheme } from '../../Styling'; | ||||||
import { IRefObject, IStyleFunctionOrObject } from '../../Utilities'; | ||||||
import { IButtonStyles } from '../../Button'; | ||||||
import { IButtonStyles } from '@fluentui/react-next/lib/compat/Button'; | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
||||||
/** | ||||||
* {@docCategory ContextualMenu} | ||||||
|
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -1,11 +1,10 @@ | ||||||
import * as React from 'react'; | ||||||
import { Position } from 'office-ui-fabric-react/lib/utilities/positioning'; | ||||||
import { IButtonStyles } from '@fluentui/react-next/lib/compat/Button'; | ||||||
import { IButtonStyles, IButtonProps } from '@fluentui/react-next/lib/compat/Button'; | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
import { IIconProps } from '../../Icon'; | ||||||
import { ITheme, IStyle } from '../../Styling'; | ||||||
import { ISpinButtonClassNames } from './SpinButton.classNames'; | ||||||
import { KeyboardSpinDirection } from './SpinButton'; | ||||||
import { IButtonStyles, IButtonProps } from '../../Button'; | ||||||
import { IKeytipProps } from '../../Keytip'; | ||||||
import { IRefObject } from '../../Utilities'; | ||||||
|
||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.