-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(react-avatar): Rename AvatarGroupOverflow to AvatarGroupPopover (…
- Loading branch information
1 parent
27a3480
commit 84e2b1a
Showing
24 changed files
with
133 additions
and
130 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
change/@fluentui-react-avatar-56d4ba21-e41a-42df-b101-f774986c8319.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"type": "minor", | ||
"comment": "chore: Renaming AvatarGroupOverflow to AvatarGroupPopover.", | ||
"packageName": "@fluentui/react-avatar", | ||
"email": "[email protected]", | ||
"dependentChangeType": "patch" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
packages/react-components/react-avatar/src/AvatarGroupOverflow.ts
This file was deleted.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
packages/react-components/react-avatar/src/AvatarGroupPopover.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export * from './components/AvatarGroupPopover/index'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 0 additions & 19 deletions
19
.../react-components/react-avatar/src/components/AvatarGroupOverflow/AvatarGroupOverflow.tsx
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
packages/react-components/react-avatar/src/components/AvatarGroupOverflow/index.ts
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
...es/react-components/react-avatar/src/components/AvatarGroupPopover/AvatarGroupPopover.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import * as React from 'react'; | ||
import { renderAvatarGroupPopover_unstable } from './renderAvatarGroupPopover'; | ||
import { useAvatarGroupPopoverContextValues } from './useAvatarGroupPopoverContextValues'; | ||
import { useAvatarGroupPopover_unstable } from './useAvatarGroupPopover'; | ||
import { useAvatarGroupPopoverStyles_unstable } from './useAvatarGroupPopoverStyles'; | ||
import type { AvatarGroupPopoverProps } from './AvatarGroupPopover.types'; | ||
|
||
/** | ||
* The AvatarGroupPopover component provides a button with a Popover containing the children provided. | ||
*/ | ||
export const AvatarGroupPopover: React.FC<AvatarGroupPopoverProps> = props => { | ||
const state = useAvatarGroupPopover_unstable(props); | ||
const contextValues = useAvatarGroupPopoverContextValues(state); | ||
|
||
useAvatarGroupPopoverStyles_unstable(state); | ||
return renderAvatarGroupPopover_unstable(state, contextValues); | ||
}; | ||
|
||
AvatarGroupPopover.displayName = 'AvatarGroupPopover'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
packages/react-components/react-avatar/src/components/AvatarGroupPopover/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
export * from './AvatarGroupPopover'; | ||
export * from './AvatarGroupPopover.types'; | ||
export * from './renderAvatarGroupPopover'; | ||
export * from './useAvatarGroupPopover'; | ||
export * from './useAvatarGroupPopoverStyles'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...ow/useAvatarGroupOverflowContextValues.ts → ...ver/useAvatarGroupPopoverContextValues.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.