@fluentui/react-badge 9.0.0-rc.7 → 9.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (91) hide show
  1. package/CHANGELOG.json +262 -1
  2. package/CHANGELOG.md +190 -102
  3. package/MIGRATION.md +59 -0
  4. package/README.md +40 -2
  5. package/Spec.md +11 -74
  6. package/dist/index.d.ts +38 -54
  7. package/{lib → dist}/tsdoc-metadata.json +0 -0
  8. package/lib/components/Badge/Badge.js.map +1 -1
  9. package/lib/components/Badge/Badge.types.js.map +1 -1
  10. package/lib/components/Badge/renderBadge.js.map +1 -1
  11. package/lib/components/Badge/useBadge.js +0 -1
  12. package/lib/components/Badge/useBadge.js.map +1 -1
  13. package/lib/components/Badge/useBadgeStyles.js +0 -5
  14. package/lib/components/Badge/useBadgeStyles.js.map +1 -1
  15. package/lib/components/CounterBadge/CounterBadge.js.map +1 -1
  16. package/lib/components/CounterBadge/CounterBadge.types.js.map +1 -1
  17. package/lib/components/CounterBadge/useCounterBadge.js +1 -2
  18. package/lib/components/CounterBadge/useCounterBadge.js.map +1 -1
  19. package/lib/components/CounterBadge/useCounterBadgeStyles.js +0 -5
  20. package/lib/components/CounterBadge/useCounterBadgeStyles.js.map +1 -1
  21. package/lib/components/PresenceBadge/PresenceBadge.js.map +1 -1
  22. package/lib/components/PresenceBadge/PresenceBadge.types.js.map +1 -1
  23. package/lib/components/PresenceBadge/presenceIcons.js.map +1 -1
  24. package/lib/components/PresenceBadge/usePresenceBadge.js +20 -7
  25. package/lib/components/PresenceBadge/usePresenceBadge.js.map +1 -1
  26. package/lib/components/PresenceBadge/usePresenceBadgeStyles.js +10 -6
  27. package/lib/components/PresenceBadge/usePresenceBadgeStyles.js.map +1 -1
  28. package/lib/index.js +3 -6
  29. package/lib/index.js.map +1 -1
  30. package/lib-commonjs/components/Badge/Badge.js.map +1 -1
  31. package/lib-commonjs/components/Badge/renderBadge.js.map +1 -1
  32. package/lib-commonjs/components/Badge/useBadge.js +0 -1
  33. package/lib-commonjs/components/Badge/useBadge.js.map +1 -1
  34. package/lib-commonjs/components/Badge/useBadgeStyles.js +1 -6
  35. package/lib-commonjs/components/Badge/useBadgeStyles.js.map +1 -1
  36. package/lib-commonjs/components/CounterBadge/CounterBadge.js.map +1 -1
  37. package/lib-commonjs/components/CounterBadge/useCounterBadge.js +1 -2
  38. package/lib-commonjs/components/CounterBadge/useCounterBadge.js.map +1 -1
  39. package/lib-commonjs/components/CounterBadge/useCounterBadgeStyles.js +1 -6
  40. package/lib-commonjs/components/CounterBadge/useCounterBadgeStyles.js.map +1 -1
  41. package/lib-commonjs/components/PresenceBadge/PresenceBadge.js.map +1 -1
  42. package/lib-commonjs/components/PresenceBadge/presenceIcons.js.map +1 -1
  43. package/lib-commonjs/components/PresenceBadge/usePresenceBadge.js +20 -7
  44. package/lib-commonjs/components/PresenceBadge/usePresenceBadge.js.map +1 -1
  45. package/lib-commonjs/components/PresenceBadge/usePresenceBadgeStyles.js +11 -7
  46. package/lib-commonjs/components/PresenceBadge/usePresenceBadgeStyles.js.map +1 -1
  47. package/lib-commonjs/index.js +1 -22
  48. package/lib-commonjs/index.js.map +1 -1
  49. package/package.json +10 -12
  50. package/lib/Badge.d.ts +0 -1
  51. package/lib/CounterBadge.d.ts +0 -1
  52. package/lib/PresenceBadge.d.ts +0 -1
  53. package/lib/components/Badge/Badge.d.ts +0 -6
  54. package/lib/components/Badge/Badge.types.d.ts +0 -34
  55. package/lib/components/Badge/index.d.ts +0 -5
  56. package/lib/components/Badge/renderBadge.d.ts +0 -2
  57. package/lib/components/Badge/useBadge.d.ts +0 -6
  58. package/lib/components/Badge/useBadgeStyles.d.ts +0 -11
  59. package/lib/components/CounterBadge/CounterBadge.d.ts +0 -6
  60. package/lib/components/CounterBadge/CounterBadge.types.d.ts +0 -41
  61. package/lib/components/CounterBadge/index.d.ts +0 -4
  62. package/lib/components/CounterBadge/useCounterBadge.d.ts +0 -6
  63. package/lib/components/CounterBadge/useCounterBadgeStyles.d.ts +0 -12
  64. package/lib/components/PresenceBadge/PresenceBadge.d.ts +0 -6
  65. package/lib/components/PresenceBadge/PresenceBadge.types.d.ts +0 -19
  66. package/lib/components/PresenceBadge/index.d.ts +0 -4
  67. package/lib/components/PresenceBadge/presenceIcons.d.ts +0 -11
  68. package/lib/components/PresenceBadge/usePresenceBadge.d.ts +0 -6
  69. package/lib/components/PresenceBadge/usePresenceBadgeStyles.d.ts +0 -12
  70. package/lib/index.d.ts +0 -6
  71. package/lib-commonjs/Badge.d.ts +0 -1
  72. package/lib-commonjs/CounterBadge.d.ts +0 -1
  73. package/lib-commonjs/PresenceBadge.d.ts +0 -1
  74. package/lib-commonjs/components/Badge/Badge.d.ts +0 -6
  75. package/lib-commonjs/components/Badge/Badge.types.d.ts +0 -34
  76. package/lib-commonjs/components/Badge/index.d.ts +0 -5
  77. package/lib-commonjs/components/Badge/renderBadge.d.ts +0 -2
  78. package/lib-commonjs/components/Badge/useBadge.d.ts +0 -6
  79. package/lib-commonjs/components/Badge/useBadgeStyles.d.ts +0 -11
  80. package/lib-commonjs/components/CounterBadge/CounterBadge.d.ts +0 -6
  81. package/lib-commonjs/components/CounterBadge/CounterBadge.types.d.ts +0 -41
  82. package/lib-commonjs/components/CounterBadge/index.d.ts +0 -4
  83. package/lib-commonjs/components/CounterBadge/useCounterBadge.d.ts +0 -6
  84. package/lib-commonjs/components/CounterBadge/useCounterBadgeStyles.d.ts +0 -12
  85. package/lib-commonjs/components/PresenceBadge/PresenceBadge.d.ts +0 -6
  86. package/lib-commonjs/components/PresenceBadge/PresenceBadge.types.d.ts +0 -19
  87. package/lib-commonjs/components/PresenceBadge/index.d.ts +0 -4
  88. package/lib-commonjs/components/PresenceBadge/presenceIcons.d.ts +0 -11
  89. package/lib-commonjs/components/PresenceBadge/usePresenceBadge.d.ts +0 -6
  90. package/lib-commonjs/components/PresenceBadge/usePresenceBadgeStyles.d.ts +0 -12
  91. package/lib-commonjs/index.d.ts +0 -6
package/CHANGELOG.json CHANGED
@@ -2,7 +2,268 @@
2
2
  "name": "@fluentui/react-badge",
3
3
  "entries": [
4
4
  {
5
- "date": "Wed, 04 May 2022 13:24:22 GMT",
5
+ "date": "Tue, 28 Jun 2022 15:09:31 GMT",
6
+ "tag": "@fluentui/react-badge_v9.0.0",
7
+ "version": "9.0.0",
8
+ "comments": {
9
+ "none": [
10
+ {
11
+ "author": "gcox@microsoft.com",
12
+ "package": "@fluentui/react-badge",
13
+ "commit": "328f900d4308598b83cbf1fde4f83ea74024d620",
14
+ "comment": "docs: Updated badge descriptions to be specific."
15
+ },
16
+ {
17
+ "author": "mgodbolt@microsoft.com",
18
+ "package": "@fluentui/react-badge",
19
+ "commit": "1822a0c64a0106f41b2c8e6c3b00804f1c78d72a",
20
+ "comment": "chore: Change story entry point to index.stories.tsx"
21
+ }
22
+ ],
23
+ "patch": [
24
+ {
25
+ "author": "lingfangao@hotmail.com",
26
+ "package": "@fluentui/react-badge",
27
+ "commit": "c7b1348bdad7aa883c29bfbc96ef2a32e6ebc7dd",
28
+ "comment": "feat: Initial 9.0.0 release"
29
+ },
30
+ {
31
+ "author": "beachball",
32
+ "package": "@fluentui/react-badge",
33
+ "comment": "Bump @fluentui/react-theme to v9.0.0",
34
+ "commit": "ba6c5d651559b91c815429c9a9357c4d5a390f3e"
35
+ },
36
+ {
37
+ "author": "beachball",
38
+ "package": "@fluentui/react-badge",
39
+ "comment": "Bump @fluentui/react-utilities to v9.0.0",
40
+ "commit": "ba6c5d651559b91c815429c9a9357c4d5a390f3e"
41
+ },
42
+ {
43
+ "author": "beachball",
44
+ "package": "@fluentui/react-badge",
45
+ "comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.9",
46
+ "commit": "ba6c5d651559b91c815429c9a9357c4d5a390f3e"
47
+ }
48
+ ],
49
+ "prerelease": [
50
+ {
51
+ "author": "Humberto.Morimoto@microsoft.com",
52
+ "package": "@fluentui/react-badge",
53
+ "commit": "bd64779b7d68775260b587f10265d64b916f6140",
54
+ "comment": "README, spec and migration guide cleanup."
55
+ },
56
+ {
57
+ "author": "lingfangao@hotmail.com",
58
+ "package": "@fluentui/react-badge",
59
+ "commit": "675acea49c97f10837ddee9b8c4350ca27750125",
60
+ "comment": "Bump Griffel dependencies"
61
+ },
62
+ {
63
+ "author": "lingfangao@hotmail.com",
64
+ "package": "@fluentui/react-badge",
65
+ "commit": "e0aabd850b15adf9c151ebd4e332f7c50ad6cfdf",
66
+ "comment": "Update 9.0.0-rc dependencies to use caret range"
67
+ },
68
+ {
69
+ "author": "sarah.higley@microsoft.com",
70
+ "package": "@fluentui/react-badge",
71
+ "commit": "ba2c12557fea137cf744c65c296c0d50c06ed5ce",
72
+ "comment": "PresenceBadge accessibility: fix placement of aria-label, sort out Avatar usage and examples"
73
+ },
74
+ {
75
+ "author": "olfedias@microsoft.com",
76
+ "package": "@fluentui/react-badge",
77
+ "commit": "82bd30dd41ad58df1f325e9b721200ed15d674a2",
78
+ "comment": "chore: Update @fluentui/react-icons to latest version"
79
+ }
80
+ ]
81
+ }
82
+ },
83
+ {
84
+ "date": "Thu, 23 Jun 2022 14:25:31 GMT",
85
+ "tag": "@fluentui/react-badge_v9.0.0-rc.13",
86
+ "version": "9.0.0-rc.13",
87
+ "comments": {
88
+ "prerelease": [
89
+ {
90
+ "author": "beachball",
91
+ "package": "@fluentui/react-badge",
92
+ "comment": "Bump @fluentui/react-theme to v9.0.0-rc.10",
93
+ "commit": "b00790b7a0ea1473d8c3cc49c7ca0088002957ed"
94
+ }
95
+ ]
96
+ }
97
+ },
98
+ {
99
+ "date": "Tue, 31 May 2022 21:28:36 GMT",
100
+ "tag": "@fluentui/react-badge_v9.0.0-rc.12",
101
+ "version": "9.0.0-rc.12",
102
+ "comments": {
103
+ "prerelease": [
104
+ {
105
+ "author": "olfedias@microsoft.com",
106
+ "package": "@fluentui/react-badge",
107
+ "commit": "0a5e9fa77a72eecafdd07034ccdc0b95fd49877c",
108
+ "comment": "chore: Update Griffel to latest version"
109
+ },
110
+ {
111
+ "author": "beachball",
112
+ "package": "@fluentui/react-badge",
113
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-rc.10",
114
+ "commit": "335ebfcfd47005003901b5e319782bfe9ccd89fd"
115
+ },
116
+ {
117
+ "author": "beachball",
118
+ "package": "@fluentui/react-badge",
119
+ "comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.8",
120
+ "commit": "335ebfcfd47005003901b5e319782bfe9ccd89fd"
121
+ }
122
+ ]
123
+ }
124
+ },
125
+ {
126
+ "date": "Thu, 26 May 2022 21:01:22 GMT",
127
+ "tag": "@fluentui/react-badge_v9.0.0-rc.11",
128
+ "version": "9.0.0-rc.11",
129
+ "comments": {
130
+ "prerelease": [
131
+ {
132
+ "author": "mgodbolt@microsoft.com",
133
+ "package": "@fluentui/react-badge",
134
+ "commit": "7c773e3f3f4a8991fee6af46277504378dbdf197",
135
+ "comment": "remove aria-hidden from badge"
136
+ }
137
+ ]
138
+ }
139
+ },
140
+ {
141
+ "date": "Mon, 23 May 2022 18:56:41 GMT",
142
+ "tag": "@fluentui/react-badge_v9.0.0-rc.10",
143
+ "version": "9.0.0-rc.10",
144
+ "comments": {
145
+ "prerelease": [
146
+ {
147
+ "author": "esteban.230@hotmail.com",
148
+ "package": "@fluentui/react-badge",
149
+ "commit": "5ed22515a7542b432ed694f22606ac3718d501cb",
150
+ "comment": "Removing <componentName>ClassName exports."
151
+ },
152
+ {
153
+ "author": "seanmonahan@microsoft.com",
154
+ "package": "@fluentui/react-badge",
155
+ "commit": "5ed22515a7542b432ed694f22606ac3718d501cb",
156
+ "comment": "BREAKING: update string unions to use spinal-case"
157
+ },
158
+ {
159
+ "author": "beachball",
160
+ "package": "@fluentui/react-badge",
161
+ "comment": "Bump @fluentui/react-theme to v9.0.0-rc.9",
162
+ "commit": "d4f80b17690e962d6a24e68959608d1ffe84aef6"
163
+ },
164
+ {
165
+ "author": "beachball",
166
+ "package": "@fluentui/react-badge",
167
+ "comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.7",
168
+ "commit": "d4f80b17690e962d6a24e68959608d1ffe84aef6"
169
+ }
170
+ ]
171
+ }
172
+ },
173
+ {
174
+ "date": "Mon, 23 May 2022 12:14:01 GMT",
175
+ "tag": "@fluentui/react-badge_v9.0.0-rc.9",
176
+ "version": "9.0.0-rc.9",
177
+ "comments": {
178
+ "none": [
179
+ {
180
+ "author": "tristan.watanabe@gmail.com",
181
+ "package": "@fluentui/react-badge",
182
+ "commit": "2769e4b68c65eb8e06cf15384f51059e819b1fc5",
183
+ "comment": "react-badge: Move to new common folder."
184
+ }
185
+ ],
186
+ "prerelease": [
187
+ {
188
+ "author": "olfedias@microsoft.com",
189
+ "package": "@fluentui/react-badge",
190
+ "commit": "60804cec07a495b8a5d1fc66338bf0443b212144",
191
+ "comment": "chore: Update Griffel to latest version"
192
+ },
193
+ {
194
+ "author": "tristan.watanabe@gmail.com",
195
+ "package": "@fluentui/react-badge",
196
+ "commit": "2e5bf6decb7ac952a490a1cb626f0c6d0a064e4b",
197
+ "comment": "react-badge: ship rolluped only dts."
198
+ },
199
+ {
200
+ "author": "sarah.higley@microsoft.com",
201
+ "package": "@fluentui/react-badge",
202
+ "commit": "3c97b3754e1f5f77672c3ceb9886de43a462ccb6",
203
+ "comment": "remove commons types from badges"
204
+ },
205
+ {
206
+ "author": "mgodbolt@microsoft.com",
207
+ "package": "@fluentui/react-badge",
208
+ "commit": "b25c126f876408124bbb717da7778cd0936e67a4",
209
+ "comment": "pass in icon props to presence badge icon slot, and use default strings"
210
+ },
211
+ {
212
+ "author": "olfedias@microsoft.com",
213
+ "package": "@fluentui/react-badge",
214
+ "commit": "f120fe9160ad7311a87af0cfacd8d2fb26275e34",
215
+ "comment": "chore: Update Griffel to latest version"
216
+ },
217
+ {
218
+ "author": "beachball",
219
+ "package": "@fluentui/react-badge",
220
+ "comment": "Bump @fluentui/react-theme to v9.0.0-rc.8",
221
+ "commit": "8d58f08997acf595e3eb7f628123e7fa7830c394"
222
+ },
223
+ {
224
+ "author": "beachball",
225
+ "package": "@fluentui/react-badge",
226
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-rc.9",
227
+ "commit": "8d58f08997acf595e3eb7f628123e7fa7830c394"
228
+ },
229
+ {
230
+ "author": "beachball",
231
+ "package": "@fluentui/react-badge",
232
+ "comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.6",
233
+ "commit": "8d58f08997acf595e3eb7f628123e7fa7830c394"
234
+ }
235
+ ]
236
+ }
237
+ },
238
+ {
239
+ "date": "Thu, 05 May 2022 18:26:30 GMT",
240
+ "tag": "@fluentui/react-badge_v9.0.0-rc.8",
241
+ "version": "9.0.0-rc.8",
242
+ "comments": {
243
+ "prerelease": [
244
+ {
245
+ "author": "beachball",
246
+ "package": "@fluentui/react-badge",
247
+ "comment": "Bump @fluentui/react-theme to v9.0.0-rc.7",
248
+ "commit": "c5abb9c480ac94d12aa644d68d30773d77f2a159"
249
+ },
250
+ {
251
+ "author": "beachball",
252
+ "package": "@fluentui/react-badge",
253
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-rc.8",
254
+ "commit": "c5abb9c480ac94d12aa644d68d30773d77f2a159"
255
+ },
256
+ {
257
+ "author": "beachball",
258
+ "package": "@fluentui/react-badge",
259
+ "comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.5",
260
+ "commit": "c5abb9c480ac94d12aa644d68d30773d77f2a159"
261
+ }
262
+ ]
263
+ }
264
+ },
265
+ {
266
+ "date": "Wed, 04 May 2022 13:26:54 GMT",
6
267
  "tag": "@fluentui/react-badge_v9.0.0-rc.7",
7
268
  "version": "9.0.0-rc.7",
8
269
  "comments": {