@fluentui/react-avatar 9.0.3 → 9.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (104) hide show
  1. package/CHANGELOG.json +253 -7
  2. package/CHANGELOG.md +56 -8
  3. package/README-AvatarGroup.md +63 -39
  4. package/SPEC-AvatarGroup.md +103 -85
  5. package/dist/index.d.ts +117 -40
  6. package/lib/AvatarGroupPopover.js +2 -0
  7. package/lib/AvatarGroupPopover.js.map +1 -0
  8. package/lib/components/Avatar/useAvatar.js +3 -7
  9. package/lib/components/Avatar/useAvatar.js.map +1 -1
  10. package/lib/components/Avatar/useAvatarStyles.js +27 -5
  11. package/lib/components/Avatar/useAvatarStyles.js.map +1 -1
  12. package/lib/components/AvatarGroup/AvatarGroup.js +4 -2
  13. package/lib/components/AvatarGroup/AvatarGroup.js.map +1 -1
  14. package/lib/components/AvatarGroup/AvatarGroup.types.js.map +1 -1
  15. package/lib/components/AvatarGroup/index.js +1 -0
  16. package/lib/components/AvatarGroup/index.js.map +1 -1
  17. package/lib/components/AvatarGroup/renderAvatarGroup.js +5 -31
  18. package/lib/components/AvatarGroup/renderAvatarGroup.js.map +1 -1
  19. package/lib/components/AvatarGroup/useAvatarGroup.js +4 -62
  20. package/lib/components/AvatarGroup/useAvatarGroup.js.map +1 -1
  21. package/lib/components/AvatarGroup/useAvatarGroupContextValues.js +14 -0
  22. package/lib/components/AvatarGroup/useAvatarGroupContextValues.js.map +1 -0
  23. package/lib/components/AvatarGroup/useAvatarGroupStyles.js +5 -265
  24. package/lib/components/AvatarGroup/useAvatarGroupStyles.js.map +1 -1
  25. package/lib/components/AvatarGroupItem/AvatarGroupItem.js +1 -1
  26. package/lib/components/AvatarGroupItem/AvatarGroupItem.js.map +1 -1
  27. package/lib/components/AvatarGroupItem/AvatarGroupItem.types.js.map +1 -1
  28. package/lib/components/AvatarGroupItem/useAvatarGroupItem.js +10 -11
  29. package/lib/components/AvatarGroupItem/useAvatarGroupItem.js.map +1 -1
  30. package/lib/components/AvatarGroupItem/useAvatarGroupItemStyles.js +51 -59
  31. package/lib/components/AvatarGroupItem/useAvatarGroupItemStyles.js.map +1 -1
  32. package/lib/components/AvatarGroupPopover/AvatarGroupPopover.js +16 -0
  33. package/lib/components/AvatarGroupPopover/AvatarGroupPopover.js.map +1 -0
  34. package/lib/components/AvatarGroupPopover/AvatarGroupPopover.types.js +2 -0
  35. package/lib/components/AvatarGroupPopover/AvatarGroupPopover.types.js.map +1 -0
  36. package/lib/components/AvatarGroupPopover/index.js +6 -0
  37. package/lib/components/AvatarGroupPopover/index.js.map +1 -0
  38. package/lib/components/AvatarGroupPopover/renderAvatarGroupPopover.js +23 -0
  39. package/lib/components/AvatarGroupPopover/renderAvatarGroupPopover.js.map +1 -0
  40. package/lib/components/AvatarGroupPopover/useAvatarGroupPopover.js +102 -0
  41. package/lib/components/AvatarGroupPopover/useAvatarGroupPopover.js.map +1 -0
  42. package/lib/components/AvatarGroupPopover/useAvatarGroupPopoverContextValues.js +10 -0
  43. package/lib/components/AvatarGroupPopover/useAvatarGroupPopoverContextValues.js.map +1 -0
  44. package/lib/components/AvatarGroupPopover/useAvatarGroupPopoverStyles.js +307 -0
  45. package/lib/components/AvatarGroupPopover/useAvatarGroupPopoverStyles.js.map +1 -0
  46. package/lib/contexts/AvatarGroupContext.js +7 -3
  47. package/lib/contexts/AvatarGroupContext.js.map +1 -1
  48. package/lib/index.js +4 -2
  49. package/lib/index.js.map +1 -1
  50. package/lib/utils/index.js +1 -0
  51. package/lib/utils/index.js.map +1 -1
  52. package/lib/utils/partitionAvatarGroupItems.js +30 -0
  53. package/lib/utils/partitionAvatarGroupItems.js.map +1 -0
  54. package/lib-commonjs/AvatarGroupPopover.js +10 -0
  55. package/lib-commonjs/AvatarGroupPopover.js.map +1 -0
  56. package/lib-commonjs/components/Avatar/useAvatar.js +2 -7
  57. package/lib-commonjs/components/Avatar/useAvatar.js.map +1 -1
  58. package/lib-commonjs/components/Avatar/useAvatarStyles.js +27 -5
  59. package/lib-commonjs/components/Avatar/useAvatarStyles.js.map +1 -1
  60. package/lib-commonjs/components/AvatarGroup/AvatarGroup.js +5 -2
  61. package/lib-commonjs/components/AvatarGroup/AvatarGroup.js.map +1 -1
  62. package/lib-commonjs/components/AvatarGroup/index.js +2 -0
  63. package/lib-commonjs/components/AvatarGroup/index.js.map +1 -1
  64. package/lib-commonjs/components/AvatarGroup/renderAvatarGroup.js +4 -32
  65. package/lib-commonjs/components/AvatarGroup/renderAvatarGroup.js.map +1 -1
  66. package/lib-commonjs/components/AvatarGroup/useAvatarGroup.js +3 -64
  67. package/lib-commonjs/components/AvatarGroup/useAvatarGroup.js.map +1 -1
  68. package/lib-commonjs/components/AvatarGroup/useAvatarGroupContextValues.js +23 -0
  69. package/lib-commonjs/components/AvatarGroup/useAvatarGroupContextValues.js.map +1 -0
  70. package/lib-commonjs/components/AvatarGroup/useAvatarGroupStyles.js +3 -265
  71. package/lib-commonjs/components/AvatarGroup/useAvatarGroupStyles.js.map +1 -1
  72. package/lib-commonjs/components/AvatarGroupItem/AvatarGroupItem.js +2 -2
  73. package/lib-commonjs/components/AvatarGroupItem/AvatarGroupItem.js.map +1 -1
  74. package/lib-commonjs/components/AvatarGroupItem/useAvatarGroupItem.js +8 -9
  75. package/lib-commonjs/components/AvatarGroupItem/useAvatarGroupItem.js.map +1 -1
  76. package/lib-commonjs/components/AvatarGroupItem/useAvatarGroupItemStyles.js +52 -60
  77. package/lib-commonjs/components/AvatarGroupItem/useAvatarGroupItemStyles.js.map +1 -1
  78. package/lib-commonjs/components/AvatarGroupPopover/AvatarGroupPopover.js +29 -0
  79. package/lib-commonjs/components/AvatarGroupPopover/AvatarGroupPopover.js.map +1 -0
  80. package/lib-commonjs/{contexts/AvatarGroupContext.types.js → components/AvatarGroupPopover/AvatarGroupPopover.types.js} +1 -1
  81. package/lib-commonjs/{contexts/AvatarGroupContext.types.js.map → components/AvatarGroupPopover/AvatarGroupPopover.types.js.map} +0 -0
  82. package/lib-commonjs/components/AvatarGroupPopover/index.js +18 -0
  83. package/lib-commonjs/components/AvatarGroupPopover/index.js.map +1 -0
  84. package/lib-commonjs/components/AvatarGroupPopover/renderAvatarGroupPopover.js +36 -0
  85. package/lib-commonjs/components/AvatarGroupPopover/renderAvatarGroupPopover.js.map +1 -0
  86. package/lib-commonjs/components/AvatarGroupPopover/useAvatarGroupPopover.js +118 -0
  87. package/lib-commonjs/components/AvatarGroupPopover/useAvatarGroupPopover.js.map +1 -0
  88. package/lib-commonjs/components/AvatarGroupPopover/useAvatarGroupPopoverContextValues.js +19 -0
  89. package/lib-commonjs/components/AvatarGroupPopover/useAvatarGroupPopoverContextValues.js.map +1 -0
  90. package/lib-commonjs/components/AvatarGroupPopover/useAvatarGroupPopoverStyles.js +321 -0
  91. package/lib-commonjs/components/AvatarGroupPopover/useAvatarGroupPopoverStyles.js.map +1 -0
  92. package/lib-commonjs/contexts/AvatarGroupContext.js +10 -3
  93. package/lib-commonjs/contexts/AvatarGroupContext.js.map +1 -1
  94. package/lib-commonjs/index.js +61 -1
  95. package/lib-commonjs/index.js.map +1 -1
  96. package/lib-commonjs/utils/index.js +10 -1
  97. package/lib-commonjs/utils/index.js.map +1 -1
  98. package/lib-commonjs/utils/partitionAvatarGroupItems.js +39 -0
  99. package/lib-commonjs/utils/partitionAvatarGroupItems.js.map +1 -0
  100. package/package.json +16 -13
  101. package/MIGRATION-AvatarGroup.md +0 -35
  102. package/dist/tsdoc-metadata.json +0 -11
  103. package/lib/contexts/AvatarGroupContext.types.js +0 -2
  104. package/lib/contexts/AvatarGroupContext.types.js.map +0 -1
package/CHANGELOG.json CHANGED
@@ -2,7 +2,253 @@
2
2
  "name": "@fluentui/react-avatar",
3
3
  "entries": [
4
4
  {
5
- "date": "Thu, 14 Jul 2022 21:18:43 GMT",
5
+ "date": "Thu, 15 Sep 2022 09:45:10 GMT",
6
+ "tag": "@fluentui/react-avatar_v9.1.0",
7
+ "version": "9.1.0",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "esteban.230@hotmail.com",
12
+ "package": "@fluentui/react-avatar",
13
+ "commit": "5baea110a12d6c161c36b19b5b6768eeaa8370de",
14
+ "comment": "chore: Change content to render as ul and list item to render as li."
15
+ },
16
+ {
17
+ "author": "esteban.230@hotmail.com",
18
+ "package": "@fluentui/react-avatar",
19
+ "commit": "abc61d6bf47190f96b5e32ed3b7df4b77614caaf",
20
+ "comment": "chore: Cleaning up use of AvatarGroup context."
21
+ },
22
+ {
23
+ "author": "behowell@microsoft.com",
24
+ "package": "@fluentui/react-avatar",
25
+ "commit": "e598325b985cad3e5057f00893e0176416edd292",
26
+ "comment": "refactor: Replace useMergedEventCallbacks utility with mergeCallbacks"
27
+ },
28
+ {
29
+ "author": "esteban.230@hotmail.com",
30
+ "package": "@fluentui/react-avatar",
31
+ "commit": "4de0899dd07982aabdc611b1837bf9acfca44efc",
32
+ "comment": "fix: Making PopoverSurface focusable, moving Overflow aria-label to PopoverSurface, and moving content styles to PopoverSurface."
33
+ },
34
+ {
35
+ "author": "esteban.230@hotmail.com",
36
+ "package": "@fluentui/react-avatar",
37
+ "commit": "a66448342c1f3e6a6911404486aef904529988c4",
38
+ "comment": "fix: Set aria-hidden to AvatarGroupItem's label."
39
+ },
40
+ {
41
+ "author": "olfedias@microsoft.com",
42
+ "package": "@fluentui/react-avatar",
43
+ "commit": "e610024474cfe5d45f61501a8b6a21daf4c794a2",
44
+ "comment": "chore: Update Griffel to latest version"
45
+ },
46
+ {
47
+ "author": "miroslav.stastny@microsoft.com",
48
+ "package": "@fluentui/react-avatar",
49
+ "commit": "0137f992b99b3b8ec927be8f7aef751d27cd5830",
50
+ "comment": "fix: Rename colorNeutralForegroundInvertedStatic token to colorNeutralForegroundStaticInverted"
51
+ },
52
+ {
53
+ "author": "esteban.230@hotmail.com",
54
+ "package": "@fluentui/react-avatar",
55
+ "commit": "1542e766427a7f0b1ee122d507b7f50ebcb51a3c",
56
+ "comment": "chore: Update tests and add e2e tests."
57
+ },
58
+ {
59
+ "author": "seanmonahan@microsoft.com",
60
+ "package": "@fluentui/react-avatar",
61
+ "commit": "1d0a72865a151962362aa3e5054ac9bf8178f09c",
62
+ "comment": "fix: update color tokens"
63
+ },
64
+ {
65
+ "author": "lingfangao@hotmail.com",
66
+ "package": "@fluentui/react-avatar",
67
+ "commit": "a606fbedcf7d618d1a48706a5e15c26c4cd85ba6",
68
+ "comment": "chore: fix no-context-default-value lint violations for cxe"
69
+ }
70
+ ],
71
+ "none": [
72
+ {
73
+ "author": "esteban.230@hotmail.com",
74
+ "package": "@fluentui/react-avatar",
75
+ "commit": "c5249ee380c5e17651b5122a716fcf5e4c477ad1",
76
+ "comment": "docs: Updating AvatarGroup's migration guide."
77
+ },
78
+ {
79
+ "author": "martinhochel@microsoft.com",
80
+ "package": "@fluentui/react-avatar",
81
+ "commit": "ba9444d594f3a960cc590eae5237c08bf7c5a07f",
82
+ "comment": "chore: consume cypress.config from it's package boundary"
83
+ },
84
+ {
85
+ "author": "martinhochel@microsoft.com",
86
+ "package": "@fluentui/react-avatar",
87
+ "commit": "e6cf183695d6d67a24e038c49a876224e5ed35e5",
88
+ "comment": "chore: update package scaffold"
89
+ },
90
+ {
91
+ "author": "esteban.230@hotmail.com",
92
+ "package": "@fluentui/react-avatar",
93
+ "commit": "ab54d44126b26316d662551bbdd93bf5b044b022",
94
+ "comment": "docs: Update spec to match implementation, add best practices, and update README."
95
+ },
96
+ {
97
+ "author": "martinhochel@microsoft.com",
98
+ "package": "@fluentui/react-avatar",
99
+ "commit": "16aa65dcae8f75c6a221225fd0eb43800650ac66",
100
+ "comment": "docs: re-generate api.md files"
101
+ }
102
+ ],
103
+ "minor": [
104
+ {
105
+ "author": "esteban.230@hotmail.com",
106
+ "package": "@fluentui/react-avatar",
107
+ "commit": "66762e1ca870a21db46b72c9b0848c5b107b8e09",
108
+ "comment": "feat: Adding functionality to AvatarGroupOverflow and updating AvatarGroup to use AvatarGroupOverflow."
109
+ },
110
+ {
111
+ "author": "esteban.230@hotmail.com",
112
+ "package": "@fluentui/react-avatar",
113
+ "commit": "84e2b1a8b1e8d2e9008297b6c35c76231ae3a31c",
114
+ "comment": "chore: Renaming AvatarGroupOverflow to AvatarGroupPopover."
115
+ },
116
+ {
117
+ "author": "esteban.230@hotmail.com",
118
+ "package": "@fluentui/react-avatar",
119
+ "commit": "27a3480f5361aa5d99f8978817d8395d9037e3b7",
120
+ "comment": "feat: Add pie layout implementation."
121
+ },
122
+ {
123
+ "author": "beachball",
124
+ "package": "@fluentui/react-avatar",
125
+ "comment": "Bump @fluentui/react-badge to v9.0.5",
126
+ "commit": "a33448fe4a0f4117686c378f80b893d1406d95a8"
127
+ },
128
+ {
129
+ "author": "beachball",
130
+ "package": "@fluentui/react-avatar",
131
+ "comment": "Bump @fluentui/react-context-selector to v9.0.3",
132
+ "commit": "a33448fe4a0f4117686c378f80b893d1406d95a8"
133
+ },
134
+ {
135
+ "author": "beachball",
136
+ "package": "@fluentui/react-avatar",
137
+ "comment": "Bump @fluentui/react-popover to v9.1.0",
138
+ "commit": "a33448fe4a0f4117686c378f80b893d1406d95a8"
139
+ },
140
+ {
141
+ "author": "beachball",
142
+ "package": "@fluentui/react-avatar",
143
+ "comment": "Bump @fluentui/react-shared-contexts to v9.0.1",
144
+ "commit": "a33448fe4a0f4117686c378f80b893d1406d95a8"
145
+ },
146
+ {
147
+ "author": "beachball",
148
+ "package": "@fluentui/react-avatar",
149
+ "comment": "Bump @fluentui/react-tabster to v9.1.1",
150
+ "commit": "a33448fe4a0f4117686c378f80b893d1406d95a8"
151
+ },
152
+ {
153
+ "author": "beachball",
154
+ "package": "@fluentui/react-avatar",
155
+ "comment": "Bump @fluentui/react-theme to v9.1.0",
156
+ "commit": "a33448fe4a0f4117686c378f80b893d1406d95a8"
157
+ },
158
+ {
159
+ "author": "beachball",
160
+ "package": "@fluentui/react-avatar",
161
+ "comment": "Bump @fluentui/react-tooltip to v9.0.5",
162
+ "commit": "a33448fe4a0f4117686c378f80b893d1406d95a8"
163
+ },
164
+ {
165
+ "author": "beachball",
166
+ "package": "@fluentui/react-avatar",
167
+ "comment": "Bump @fluentui/react-utilities to v9.1.0",
168
+ "commit": "a33448fe4a0f4117686c378f80b893d1406d95a8"
169
+ },
170
+ {
171
+ "author": "beachball",
172
+ "package": "@fluentui/react-avatar",
173
+ "comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.13",
174
+ "commit": "a33448fe4a0f4117686c378f80b893d1406d95a8"
175
+ }
176
+ ]
177
+ }
178
+ },
179
+ {
180
+ "date": "Wed, 03 Aug 2022 16:03:37 GMT",
181
+ "tag": "@fluentui/react-avatar_v9.0.4",
182
+ "version": "9.0.4",
183
+ "comments": {
184
+ "none": [
185
+ {
186
+ "author": "bernardo.sunderhus@gmail.com",
187
+ "package": "@fluentui/react-avatar",
188
+ "commit": "d966ea3d9169f2e8d69f0d2a4daf86fe4ca328d6",
189
+ "comment": "disables eslint rule @fluentui/no-context-default-value for local component context"
190
+ },
191
+ {
192
+ "author": "lingfangao@hotmail.com",
193
+ "package": "@fluentui/react-avatar",
194
+ "commit": "99cc385631d04a76ee10ebc143cb9fecd99640b6",
195
+ "comment": "chore: Add `prerelease` as disallowed changetype for 9.0.0 packages"
196
+ },
197
+ {
198
+ "author": "esteban.230@hotmail.com",
199
+ "package": "@fluentui/react-avatar",
200
+ "commit": "8d120219d3605abf8feff95eaff52ab01851618e",
201
+ "comment": "chore: Creating AvatarGroupOverflow component boilerplate."
202
+ }
203
+ ],
204
+ "patch": [
205
+ {
206
+ "author": "sarah.higley@microsoft.com",
207
+ "package": "@fluentui/react-avatar",
208
+ "commit": "c66808887bcd7fd150c22eda462b325075742694",
209
+ "comment": "bugfix: add reduced motion styles for avatar, spinner, switch, and input focus styles"
210
+ },
211
+ {
212
+ "author": "miroslav.stastny@microsoft.com",
213
+ "package": "@fluentui/react-avatar",
214
+ "commit": "08563664778fd80284561d3c9d254307a0a32362",
215
+ "comment": "chore: Bump Griffel dependencies"
216
+ },
217
+ {
218
+ "author": "beachball",
219
+ "package": "@fluentui/react-avatar",
220
+ "comment": "Bump @fluentui/react-badge to v9.0.4",
221
+ "commit": "ee4a8be0d0831a6615f878f98db6a97cc61a802d"
222
+ },
223
+ {
224
+ "author": "beachball",
225
+ "package": "@fluentui/react-avatar",
226
+ "comment": "Bump @fluentui/react-popover to v9.0.4",
227
+ "commit": "ee4a8be0d0831a6615f878f98db6a97cc61a802d"
228
+ },
229
+ {
230
+ "author": "beachball",
231
+ "package": "@fluentui/react-avatar",
232
+ "comment": "Bump @fluentui/react-tabster to v9.1.0",
233
+ "commit": "ee4a8be0d0831a6615f878f98db6a97cc61a802d"
234
+ },
235
+ {
236
+ "author": "beachball",
237
+ "package": "@fluentui/react-avatar",
238
+ "comment": "Bump @fluentui/react-tooltip to v9.0.4",
239
+ "commit": "ee4a8be0d0831a6615f878f98db6a97cc61a802d"
240
+ },
241
+ {
242
+ "author": "beachball",
243
+ "package": "@fluentui/react-avatar",
244
+ "comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.12",
245
+ "commit": "ee4a8be0d0831a6615f878f98db6a97cc61a802d"
246
+ }
247
+ ]
248
+ }
249
+ },
250
+ {
251
+ "date": "Thu, 14 Jul 2022 21:21:08 GMT",
6
252
  "tag": "@fluentui/react-avatar_v9.0.3",
7
253
  "version": "9.0.3",
8
254
  "comments": {
@@ -17,37 +263,37 @@
17
263
  "author": "beachball",
18
264
  "package": "@fluentui/react-avatar",
19
265
  "comment": "Bump @fluentui/react-badge to v9.0.3",
20
- "commit": "802bc4e3730a88b0fc61b5bf42ef7fc6b6543fe2"
266
+ "commit": "79b513146194367544160f364b0a7dd749ed93e4"
21
267
  },
22
268
  {
23
269
  "author": "beachball",
24
270
  "package": "@fluentui/react-avatar",
25
271
  "comment": "Bump @fluentui/react-context-selector to v9.0.2",
26
- "commit": "802bc4e3730a88b0fc61b5bf42ef7fc6b6543fe2"
272
+ "commit": "79b513146194367544160f364b0a7dd749ed93e4"
27
273
  },
28
274
  {
29
275
  "author": "beachball",
30
276
  "package": "@fluentui/react-avatar",
31
277
  "comment": "Bump @fluentui/react-popover to v9.0.3",
32
- "commit": "802bc4e3730a88b0fc61b5bf42ef7fc6b6543fe2"
278
+ "commit": "79b513146194367544160f364b0a7dd749ed93e4"
33
279
  },
34
280
  {
35
281
  "author": "beachball",
36
282
  "package": "@fluentui/react-avatar",
37
283
  "comment": "Bump @fluentui/react-tabster to v9.0.3",
38
- "commit": "802bc4e3730a88b0fc61b5bf42ef7fc6b6543fe2"
284
+ "commit": "79b513146194367544160f364b0a7dd749ed93e4"
39
285
  },
40
286
  {
41
287
  "author": "beachball",
42
288
  "package": "@fluentui/react-avatar",
43
289
  "comment": "Bump @fluentui/react-tooltip to v9.0.3",
44
- "commit": "802bc4e3730a88b0fc61b5bf42ef7fc6b6543fe2"
290
+ "commit": "79b513146194367544160f364b0a7dd749ed93e4"
45
291
  },
46
292
  {
47
293
  "author": "beachball",
48
294
  "package": "@fluentui/react-avatar",
49
295
  "comment": "Bump @fluentui/react-utilities to v9.0.2",
50
- "commit": "802bc4e3730a88b0fc61b5bf42ef7fc6b6543fe2"
296
+ "commit": "79b513146194367544160f364b0a7dd749ed93e4"
51
297
  }
52
298
  ]
53
299
  }
package/CHANGELOG.md CHANGED
@@ -1,23 +1,71 @@
1
1
  # Change Log - @fluentui/react-avatar
2
2
 
3
- This log was last generated on Thu, 14 Jul 2022 21:18:43 GMT and should not be manually modified.
3
+ This log was last generated on Thu, 15 Sep 2022 09:45:10 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [9.1.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-avatar_v9.1.0)
8
+
9
+ Thu, 15 Sep 2022 09:45:10 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-avatar_v9.0.4..@fluentui/react-avatar_v9.1.0)
11
+
12
+ ### Minor changes
13
+
14
+ - feat: Adding functionality to AvatarGroupOverflow and updating AvatarGroup to use AvatarGroupOverflow. ([PR #24115](https://github.com/microsoft/fluentui/pull/24115) by esteban.230@hotmail.com)
15
+ - chore: Renaming AvatarGroupOverflow to AvatarGroupPopover. ([PR #24338](https://github.com/microsoft/fluentui/pull/24338) by esteban.230@hotmail.com)
16
+ - feat: Add pie layout implementation. ([PR #24241](https://github.com/microsoft/fluentui/pull/24241) by esteban.230@hotmail.com)
17
+ - Bump @fluentui/react-badge to v9.0.5 ([PR #24808](https://github.com/microsoft/fluentui/pull/24808) by beachball)
18
+ - Bump @fluentui/react-context-selector to v9.0.3 ([PR #24808](https://github.com/microsoft/fluentui/pull/24808) by beachball)
19
+ - Bump @fluentui/react-popover to v9.1.0 ([PR #24808](https://github.com/microsoft/fluentui/pull/24808) by beachball)
20
+ - Bump @fluentui/react-shared-contexts to v9.0.1 ([PR #24808](https://github.com/microsoft/fluentui/pull/24808) by beachball)
21
+ - Bump @fluentui/react-tabster to v9.1.1 ([PR #24808](https://github.com/microsoft/fluentui/pull/24808) by beachball)
22
+ - Bump @fluentui/react-theme to v9.1.0 ([PR #24808](https://github.com/microsoft/fluentui/pull/24808) by beachball)
23
+ - Bump @fluentui/react-tooltip to v9.0.5 ([PR #24808](https://github.com/microsoft/fluentui/pull/24808) by beachball)
24
+ - Bump @fluentui/react-utilities to v9.1.0 ([PR #24808](https://github.com/microsoft/fluentui/pull/24808) by beachball)
25
+ - Bump @fluentui/react-conformance-griffel to v9.0.0-beta.13 ([PR #24808](https://github.com/microsoft/fluentui/pull/24808) by beachball)
26
+
27
+ ### Patches
28
+
29
+ - chore: Change content to render as ul and list item to render as li. ([PR #24347](https://github.com/microsoft/fluentui/pull/24347) by esteban.230@hotmail.com)
30
+ - chore: Cleaning up use of AvatarGroup context. ([PR #24459](https://github.com/microsoft/fluentui/pull/24459) by esteban.230@hotmail.com)
31
+ - refactor: Replace useMergedEventCallbacks utility with mergeCallbacks ([PR #24152](https://github.com/microsoft/fluentui/pull/24152) by behowell@microsoft.com)
32
+ - fix: Making PopoverSurface focusable, moving Overflow aria-label to PopoverSurface, and moving content styles to PopoverSurface. ([PR #24417](https://github.com/microsoft/fluentui/pull/24417) by esteban.230@hotmail.com)
33
+ - fix: Set aria-hidden to AvatarGroupItem's label. ([PR #24359](https://github.com/microsoft/fluentui/pull/24359) by esteban.230@hotmail.com)
34
+ - chore: Update Griffel to latest version ([PR #24221](https://github.com/microsoft/fluentui/pull/24221) by olfedias@microsoft.com)
35
+ - fix: Rename colorNeutralForegroundInvertedStatic token to colorNeutralForegroundStaticInverted ([PR #24611](https://github.com/microsoft/fluentui/pull/24611) by miroslav.stastny@microsoft.com)
36
+ - chore: Update tests and add e2e tests. ([PR #24348](https://github.com/microsoft/fluentui/pull/24348) by esteban.230@hotmail.com)
37
+ - fix: update color tokens ([PR #24027](https://github.com/microsoft/fluentui/pull/24027) by seanmonahan@microsoft.com)
38
+ - chore: fix no-context-default-value lint violations for cxe ([PR #24277](https://github.com/microsoft/fluentui/pull/24277) by lingfangao@hotmail.com)
39
+
40
+ ## [9.0.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-avatar_v9.0.4)
41
+
42
+ Wed, 03 Aug 2022 16:03:37 GMT
43
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-avatar_v9.0.3..@fluentui/react-avatar_v9.0.4)
44
+
45
+ ### Patches
46
+
47
+ - bugfix: add reduced motion styles for avatar, spinner, switch, and input focus styles ([PR #23788](https://github.com/microsoft/fluentui/pull/23788) by sarah.higley@microsoft.com)
48
+ - chore: Bump Griffel dependencies ([PR #24114](https://github.com/microsoft/fluentui/pull/24114) by miroslav.stastny@microsoft.com)
49
+ - Bump @fluentui/react-badge to v9.0.4 ([PR #24131](https://github.com/microsoft/fluentui/pull/24131) by beachball)
50
+ - Bump @fluentui/react-popover to v9.0.4 ([PR #24131](https://github.com/microsoft/fluentui/pull/24131) by beachball)
51
+ - Bump @fluentui/react-tabster to v9.1.0 ([PR #24131](https://github.com/microsoft/fluentui/pull/24131) by beachball)
52
+ - Bump @fluentui/react-tooltip to v9.0.4 ([PR #24131](https://github.com/microsoft/fluentui/pull/24131) by beachball)
53
+ - Bump @fluentui/react-conformance-griffel to v9.0.0-beta.12 ([PR #24131](https://github.com/microsoft/fluentui/pull/24131) by beachball)
54
+
7
55
  ## [9.0.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-avatar_v9.0.3)
8
56
 
9
- Thu, 14 Jul 2022 21:18:43 GMT
57
+ Thu, 14 Jul 2022 21:21:08 GMT
10
58
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-avatar_v9.0.2..@fluentui/react-avatar_v9.0.3)
11
59
 
12
60
  ### Patches
13
61
 
14
62
  - fix: Fixing bad version bump of @fluentui/react-utilities. ([PR #23920](https://github.com/microsoft/fluentui/pull/23920) by Humberto.Morimoto@microsoft.com)
15
- - Bump @fluentui/react-badge to v9.0.3 ([PR #23920](https://github.com/microsoft/fluentui/pull/23920) by beachball)
16
- - Bump @fluentui/react-context-selector to v9.0.2 ([PR #23920](https://github.com/microsoft/fluentui/pull/23920) by beachball)
17
- - Bump @fluentui/react-popover to v9.0.3 ([PR #23920](https://github.com/microsoft/fluentui/pull/23920) by beachball)
18
- - Bump @fluentui/react-tabster to v9.0.3 ([PR #23920](https://github.com/microsoft/fluentui/pull/23920) by beachball)
19
- - Bump @fluentui/react-tooltip to v9.0.3 ([PR #23920](https://github.com/microsoft/fluentui/pull/23920) by beachball)
20
- - Bump @fluentui/react-utilities to v9.0.2 ([PR #23920](https://github.com/microsoft/fluentui/pull/23920) by beachball)
63
+ - Bump @fluentui/react-badge to v9.0.3 ([PR #23918](https://github.com/microsoft/fluentui/pull/23918) by beachball)
64
+ - Bump @fluentui/react-context-selector to v9.0.2 ([PR #23918](https://github.com/microsoft/fluentui/pull/23918) by beachball)
65
+ - Bump @fluentui/react-popover to v9.0.3 ([PR #23918](https://github.com/microsoft/fluentui/pull/23918) by beachball)
66
+ - Bump @fluentui/react-tabster to v9.0.3 ([PR #23918](https://github.com/microsoft/fluentui/pull/23918) by beachball)
67
+ - Bump @fluentui/react-tooltip to v9.0.3 ([PR #23918](https://github.com/microsoft/fluentui/pull/23918) by beachball)
68
+ - Bump @fluentui/react-utilities to v9.0.2 ([PR #23918](https://github.com/microsoft/fluentui/pull/23918) by beachball)
21
69
 
22
70
  ## [9.0.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-avatar_v9.0.2)
23
71
 
@@ -1,39 +1,63 @@
1
- # @fluentui/react-avatar
2
-
3
- **React AvatarGroup component for [Fluent UI](https://dev.microsoft.com/fluentui)**
4
-
5
- The AvatarGroup component represents a group of multiple people or entities by taking care of the arrangement of individual Avatars in a spread, stack, or pie layout.
6
-
7
- ## STATUS: WIP 🚧
8
-
9
- These are not production-ready components and **should never be used in product**. This space is useful for testing new components whose APIs might change before final release.
10
-
11
- ## Usage
12
-
13
- To import AvatarGroup and AvatarGroupItem:
14
-
15
- ```js
16
- import { AvatarGroup, AvatarGroupItem } from '@fluentui/react-avatar';
17
- ```
18
-
19
- Once the AvatarGroup component graduates to a production release, the component will be available at:
20
-
21
- ```js
22
- import { AvatarGroup, AvatarGroupItem } from '@fluentui/react-components';
23
- ```
24
-
25
- ### Examples
26
-
27
- ```jsx
28
- <AvatarGroup>
29
- <AvatarGroupItem name="Katri Athokas" />
30
- <AvatarGroupItem name="Elvia Atkins" />
31
- <AvatarGroupItem name="Cameron Evans" />
32
- <AvatarGroupItem name="Wanda Howard" />
33
- <AvatarGroupItem name="Mona Kane" />
34
- <AvatarGroupItem name="Allan Munger" />
35
- <AvatarGroupItem name="Daisy Phillips" />
36
- <AvatarGroupItem name="Robert Tolbert" />
37
- <AvatarGroupItem name="Kevin Sturgis" />
38
- </AvatarGroup>
39
- ```
1
+ # @fluentui/react-avatar
2
+
3
+ **React AvatarGroup component for [Fluent UI](https://react.fluentui.dev)**
4
+
5
+ The AvatarGroup component represents a group of multiple people or entities by taking care of the arrangement of individual Avatars in a spread, stack, or pie layout.
6
+
7
+ ## STATUS: WIP 🚧
8
+
9
+ These are not production-ready components and **should never be used in product**. This space is useful for testing new components whose APIs might change before final release.
10
+
11
+ ## Usage
12
+
13
+ To import AvatarGroup, AvatarGroupItem, AvatarGroupPopover, and partitionAvatarGroupItems:
14
+
15
+ ```js
16
+ import { AvatarGroup, AvatarGroupItem, AvatarGroupPopover, partitionAvatarGroupItems } from '@fluentui/react-avatar';
17
+ ```
18
+
19
+ Once the AvatarGroup component graduates to a production release, the component will be available at:
20
+
21
+ ```js
22
+ import {
23
+ AvatarGroup,
24
+ AvatarGroupItem,
25
+ AvatarGroupPopover,
26
+ partitionAvatarGroupItems,
27
+ } from '@fluentui/react-components';
28
+ ```
29
+
30
+ ### Examples
31
+
32
+ ```jsx
33
+ const names = [
34
+ 'Johnie McConnell',
35
+ 'Allan Munger',
36
+ 'Erik Nason',
37
+ 'Kristin Patterson',
38
+ 'Daisy Phillips',
39
+ 'Carole Poland',
40
+ 'Carlos Slattery',
41
+ 'Robert Tolbert',
42
+ 'Kevin Sturgis',
43
+ 'Charlotte Waltson',
44
+ 'Elliot Woodward',
45
+ ];
46
+
47
+ const AvatarGroup = () => {
48
+ const { inlineItems, overflowItems } = partitionAvatarGroupItems({ items: names });
49
+
50
+ return (
51
+ <AvatarGroup {...props}>
52
+ {inlineItems.map(name => (
53
+ <AvatarGroupItem name={name} key={name} />
54
+ ))}
55
+ <AvatarGroupPopover>
56
+ {overflowItems.map(name => (
57
+ <AvatarGroupItem name={name} key={name} />
58
+ ))}
59
+ </AvatarGroupPopover>
60
+ </AvatarGroup>
61
+ );
62
+ };
63
+ ```