@fluentui/react-badge 9.0.0-rc.8 → 9.0.1

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