@fluentui/react-badge 9.0.0-alpha.83 → 9.0.0-alpha.87
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.json +182 -8
- package/CHANGELOG.md +63 -8
- package/Spec.md +3 -47
- package/dist/react-badge.d.ts +73 -123
- package/lib/Badge.js.map +1 -1
- package/lib/CounterBadge.js.map +1 -1
- package/lib/PresenceBadge.js.map +1 -1
- package/lib/common/isConformant.js +2 -0
- package/lib/common/isConformant.js.map +1 -1
- package/lib/components/Badge/Badge.d.ts +6 -2
- package/lib/components/Badge/Badge.js.map +1 -1
- package/lib/components/Badge/Badge.types.d.ts +20 -32
- package/lib/components/Badge/Badge.types.js.map +1 -1
- package/lib/components/Badge/index.js.map +1 -1
- package/lib/components/Badge/renderBadge.js +3 -4
- package/lib/components/Badge/renderBadge.js.map +1 -1
- package/lib/components/Badge/useBadge.d.ts +1 -5
- package/lib/components/Badge/useBadge.js +29 -18
- package/lib/components/Badge/useBadge.js.map +1 -1
- package/lib/components/Badge/useBadgeStyles.js +5 -5
- package/lib/components/Badge/useBadgeStyles.js.map +1 -1
- package/lib/components/CounterBadge/CounterBadge.d.ts +1 -8
- package/lib/components/CounterBadge/CounterBadge.js.map +1 -1
- package/lib/components/CounterBadge/CounterBadge.types.d.ts +24 -38
- package/lib/components/CounterBadge/CounterBadge.types.js.map +1 -1
- package/lib/components/CounterBadge/index.js.map +1 -1
- package/lib/components/CounterBadge/useCounterBadge.d.ts +1 -5
- package/lib/components/CounterBadge/useCounterBadge.js +25 -19
- package/lib/components/CounterBadge/useCounterBadge.js.map +1 -1
- package/lib/components/CounterBadge/useCounterBadgeStyles.js +1 -1
- package/lib/components/CounterBadge/useCounterBadgeStyles.js.map +1 -1
- package/lib/components/PresenceBadge/DefaultPresenceBadgeIcons.js.map +1 -1
- package/lib/components/PresenceBadge/PresenceBadge.d.ts +6 -4
- package/lib/components/PresenceBadge/PresenceBadge.js.map +1 -1
- package/lib/components/PresenceBadge/PresenceBadge.types.d.ts +6 -17
- package/lib/components/PresenceBadge/PresenceBadge.types.js.map +1 -1
- package/lib/components/PresenceBadge/index.js.map +1 -1
- package/lib/components/PresenceBadge/usePresenceBadge.d.ts +1 -5
- package/lib/components/PresenceBadge/usePresenceBadge.js +15 -21
- package/lib/components/PresenceBadge/usePresenceBadge.js.map +1 -1
- package/lib/components/PresenceBadge/usePresenceBadgeStyles.js +1 -1
- package/lib/components/PresenceBadge/usePresenceBadgeStyles.js.map +1 -1
- package/lib/index.js.map +1 -1
- package/lib-commonjs/Badge.js.map +1 -1
- package/lib-commonjs/CounterBadge.js.map +1 -1
- package/lib-commonjs/PresenceBadge.js.map +1 -1
- package/lib-commonjs/common/isConformant.js +2 -0
- package/lib-commonjs/common/isConformant.js.map +1 -1
- package/lib-commonjs/components/Badge/Badge.d.ts +6 -2
- package/lib-commonjs/components/Badge/Badge.js.map +1 -1
- package/lib-commonjs/components/Badge/Badge.types.d.ts +20 -32
- package/lib-commonjs/components/Badge/Badge.types.js.map +1 -1
- package/lib-commonjs/components/Badge/index.js.map +1 -1
- package/lib-commonjs/components/Badge/renderBadge.js +2 -4
- package/lib-commonjs/components/Badge/renderBadge.js.map +1 -1
- package/lib-commonjs/components/Badge/useBadge.d.ts +1 -5
- package/lib-commonjs/components/Badge/useBadge.js +30 -19
- package/lib-commonjs/components/Badge/useBadge.js.map +1 -1
- package/lib-commonjs/components/Badge/useBadgeStyles.js +5 -5
- package/lib-commonjs/components/Badge/useBadgeStyles.js.map +1 -1
- package/lib-commonjs/components/CounterBadge/CounterBadge.d.ts +1 -8
- package/lib-commonjs/components/CounterBadge/CounterBadge.js.map +1 -1
- package/lib-commonjs/components/CounterBadge/CounterBadge.types.d.ts +24 -38
- package/lib-commonjs/components/CounterBadge/CounterBadge.types.js.map +1 -1
- package/lib-commonjs/components/CounterBadge/index.js.map +1 -1
- package/lib-commonjs/components/CounterBadge/useCounterBadge.d.ts +1 -5
- package/lib-commonjs/components/CounterBadge/useCounterBadge.js +27 -21
- package/lib-commonjs/components/CounterBadge/useCounterBadge.js.map +1 -1
- package/lib-commonjs/components/CounterBadge/useCounterBadgeStyles.js +1 -1
- package/lib-commonjs/components/CounterBadge/useCounterBadgeStyles.js.map +1 -1
- package/lib-commonjs/components/PresenceBadge/DefaultPresenceBadgeIcons.js.map +1 -1
- package/lib-commonjs/components/PresenceBadge/PresenceBadge.d.ts +6 -4
- package/lib-commonjs/components/PresenceBadge/PresenceBadge.js.map +1 -1
- package/lib-commonjs/components/PresenceBadge/PresenceBadge.types.d.ts +6 -17
- package/lib-commonjs/components/PresenceBadge/PresenceBadge.types.js.map +1 -1
- package/lib-commonjs/components/PresenceBadge/index.js.map +1 -1
- package/lib-commonjs/components/PresenceBadge/usePresenceBadge.d.ts +1 -5
- package/lib-commonjs/components/PresenceBadge/usePresenceBadge.js +16 -22
- package/lib-commonjs/components/PresenceBadge/usePresenceBadge.js.map +1 -1
- package/lib-commonjs/components/PresenceBadge/usePresenceBadgeStyles.js +1 -1
- package/lib-commonjs/components/PresenceBadge/usePresenceBadgeStyles.js.map +1 -1
- package/lib-commonjs/index.js.map +1 -1
- package/package.json +6 -6
- package/lib-amd/Badge.d.ts +0 -1
- package/lib-amd/Badge.js +0 -6
- package/lib-amd/Badge.js.map +0 -1
- package/lib-amd/CounterBadge.d.ts +0 -1
- package/lib-amd/CounterBadge.js +0 -6
- package/lib-amd/CounterBadge.js.map +0 -1
- package/lib-amd/PresenceBadge.d.ts +0 -1
- package/lib-amd/PresenceBadge.js +0 -6
- package/lib-amd/PresenceBadge.js.map +0 -1
- package/lib-amd/common/isConformant.d.ts +0 -4
- package/lib-amd/common/isConformant.js +0 -15
- package/lib-amd/common/isConformant.js.map +0 -1
- package/lib-amd/components/Badge/Badge.d.ts +0 -6
- package/lib-amd/components/Badge/Badge.js +0 -15
- package/lib-amd/components/Badge/Badge.js.map +0 -1
- package/lib-amd/components/Badge/Badge.types.d.ts +0 -47
- package/lib-amd/components/Badge/Badge.types.js +0 -5
- package/lib-amd/components/Badge/Badge.types.js.map +0 -1
- package/lib-amd/components/Badge/index.d.ts +0 -5
- package/lib-amd/components/Badge/index.js +0 -10
- package/lib-amd/components/Badge/index.js.map +0 -1
- package/lib-amd/components/Badge/renderBadge.d.ts +0 -2
- package/lib-amd/components/Badge/renderBadge.js +0 -14
- package/lib-amd/components/Badge/renderBadge.js.map +0 -1
- package/lib-amd/components/Badge/useBadge.d.ts +0 -10
- package/lib-amd/components/Badge/useBadge.js +0 -25
- package/lib-amd/components/Badge/useBadge.js.map +0 -1
- package/lib-amd/components/Badge/useBadgeStyles.d.ts +0 -5
- package/lib-amd/components/Badge/useBadgeStyles.js +0 -234
- package/lib-amd/components/Badge/useBadgeStyles.js.map +0 -1
- package/lib-amd/components/CounterBadge/CounterBadge.d.ts +0 -12
- package/lib-amd/components/CounterBadge/CounterBadge.js +0 -15
- package/lib-amd/components/CounterBadge/CounterBadge.js.map +0 -1
- package/lib-amd/components/CounterBadge/CounterBadge.types.d.ts +0 -55
- package/lib-amd/components/CounterBadge/CounterBadge.types.js +0 -5
- package/lib-amd/components/CounterBadge/CounterBadge.types.js.map +0 -1
- package/lib-amd/components/CounterBadge/index.d.ts +0 -4
- package/lib-amd/components/CounterBadge/index.js +0 -9
- package/lib-amd/components/CounterBadge/index.js.map +0 -1
- package/lib-amd/components/CounterBadge/useCounterBadge.d.ts +0 -10
- package/lib-amd/components/CounterBadge/useCounterBadge.js +0 -28
- package/lib-amd/components/CounterBadge/useCounterBadge.js.map +0 -1
- package/lib-amd/components/CounterBadge/useCounterBadgeStyles.d.ts +0 -5
- package/lib-amd/components/CounterBadge/useCounterBadgeStyles.js +0 -46
- package/lib-amd/components/CounterBadge/useCounterBadgeStyles.js.map +0 -1
- package/lib-amd/components/PresenceBadge/DefaultPresenceBadgeIcons.d.ts +0 -10
- package/lib-amd/components/PresenceBadge/DefaultPresenceBadgeIcons.js +0 -64
- package/lib-amd/components/PresenceBadge/DefaultPresenceBadgeIcons.js.map +0 -1
- package/lib-amd/components/PresenceBadge/PresenceBadge.d.ts +0 -8
- package/lib-amd/components/PresenceBadge/PresenceBadge.js +0 -15
- package/lib-amd/components/PresenceBadge/PresenceBadge.js.map +0 -1
- package/lib-amd/components/PresenceBadge/PresenceBadge.types.d.ts +0 -28
- package/lib-amd/components/PresenceBadge/PresenceBadge.types.js +0 -5
- package/lib-amd/components/PresenceBadge/PresenceBadge.types.js.map +0 -1
- package/lib-amd/components/PresenceBadge/index.d.ts +0 -4
- package/lib-amd/components/PresenceBadge/index.js +0 -9
- package/lib-amd/components/PresenceBadge/index.js.map +0 -1
- package/lib-amd/components/PresenceBadge/usePresenceBadge.d.ts +0 -10
- package/lib-amd/components/PresenceBadge/usePresenceBadge.js +0 -37
- package/lib-amd/components/PresenceBadge/usePresenceBadge.js.map +0 -1
- package/lib-amd/components/PresenceBadge/usePresenceBadgeStyles.d.ts +0 -5
- package/lib-amd/components/PresenceBadge/usePresenceBadgeStyles.js +0 -58
- package/lib-amd/components/PresenceBadge/usePresenceBadgeStyles.js.map +0 -1
- package/lib-amd/index.d.ts +0 -5
- package/lib-amd/index.js +0 -10
- package/lib-amd/index.js.map +0 -1
package/CHANGELOG.json
CHANGED
@@ -2,7 +2,181 @@
|
|
2
2
|
"name": "@fluentui/react-badge",
|
3
3
|
"entries": [
|
4
4
|
{
|
5
|
-
"date": "
|
5
|
+
"date": "Mon, 27 Sep 2021 08:04:28 GMT",
|
6
|
+
"tag": "@fluentui/react-badge_v9.0.0-alpha.87",
|
7
|
+
"version": "9.0.0-alpha.87",
|
8
|
+
"comments": {
|
9
|
+
"prerelease": [
|
10
|
+
{
|
11
|
+
"author": "lingfangao@hotmail.com",
|
12
|
+
"package": "@fluentui/react-badge",
|
13
|
+
"comment": "Revert to ObjectShorthandProps for slots to allow correct typing in Avatar",
|
14
|
+
"commit": "7a6d4d03fc1157272a6641fd05fc27f51ba1cc0e"
|
15
|
+
},
|
16
|
+
{
|
17
|
+
"author": "beachball",
|
18
|
+
"package": "@fluentui/react-badge",
|
19
|
+
"comment": "Bump @fluentui/react-make-styles to v9.0.0-alpha.73",
|
20
|
+
"commit": "7a6d4d03fc1157272a6641fd05fc27f51ba1cc0e"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"author": "beachball",
|
24
|
+
"package": "@fluentui/react-badge",
|
25
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-alpha.53",
|
26
|
+
"commit": "7a6d4d03fc1157272a6641fd05fc27f51ba1cc0e"
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"author": "beachball",
|
30
|
+
"package": "@fluentui/react-badge",
|
31
|
+
"comment": "Bump @fluentui/babel-make-styles to v9.0.0-alpha.55",
|
32
|
+
"commit": "7a6d4d03fc1157272a6641fd05fc27f51ba1cc0e"
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"author": "beachball",
|
36
|
+
"package": "@fluentui/react-badge",
|
37
|
+
"comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.48",
|
38
|
+
"commit": "7a6d4d03fc1157272a6641fd05fc27f51ba1cc0e"
|
39
|
+
},
|
40
|
+
{
|
41
|
+
"author": "beachball",
|
42
|
+
"package": "@fluentui/react-badge",
|
43
|
+
"comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-alpha.17",
|
44
|
+
"commit": "7a6d4d03fc1157272a6641fd05fc27f51ba1cc0e"
|
45
|
+
}
|
46
|
+
]
|
47
|
+
}
|
48
|
+
},
|
49
|
+
{
|
50
|
+
"date": "Fri, 24 Sep 2021 09:17:17 GMT",
|
51
|
+
"tag": "@fluentui/react-badge_v9.0.0-alpha.86",
|
52
|
+
"version": "9.0.0-alpha.86",
|
53
|
+
"comments": {
|
54
|
+
"prerelease": [
|
55
|
+
{
|
56
|
+
"author": "gcox@microsoft.com",
|
57
|
+
"package": "@fluentui/react-badge",
|
58
|
+
"comment": "Update BadgeProps for consistency",
|
59
|
+
"commit": "0d26909912889432060fd4c87b2f4a45017e1532"
|
60
|
+
},
|
61
|
+
{
|
62
|
+
"author": "beachball",
|
63
|
+
"package": "@fluentui/react-badge",
|
64
|
+
"comment": "Bump @fluentui/react-make-styles to v9.0.0-alpha.72",
|
65
|
+
"commit": "0d26909912889432060fd4c87b2f4a45017e1532"
|
66
|
+
},
|
67
|
+
{
|
68
|
+
"author": "beachball",
|
69
|
+
"package": "@fluentui/react-badge",
|
70
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-alpha.52",
|
71
|
+
"commit": "0d26909912889432060fd4c87b2f4a45017e1532"
|
72
|
+
},
|
73
|
+
{
|
74
|
+
"author": "beachball",
|
75
|
+
"package": "@fluentui/react-badge",
|
76
|
+
"comment": "Bump @fluentui/babel-make-styles to v9.0.0-alpha.54",
|
77
|
+
"commit": "0d26909912889432060fd4c87b2f4a45017e1532"
|
78
|
+
},
|
79
|
+
{
|
80
|
+
"author": "beachball",
|
81
|
+
"package": "@fluentui/react-badge",
|
82
|
+
"comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.47",
|
83
|
+
"commit": "0d26909912889432060fd4c87b2f4a45017e1532"
|
84
|
+
},
|
85
|
+
{
|
86
|
+
"author": "beachball",
|
87
|
+
"package": "@fluentui/react-badge",
|
88
|
+
"comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-alpha.16",
|
89
|
+
"commit": "0d26909912889432060fd4c87b2f4a45017e1532"
|
90
|
+
}
|
91
|
+
]
|
92
|
+
}
|
93
|
+
},
|
94
|
+
{
|
95
|
+
"date": "Thu, 23 Sep 2021 08:21:34 GMT",
|
96
|
+
"tag": "@fluentui/react-badge_v9.0.0-alpha.85",
|
97
|
+
"version": "9.0.0-alpha.85",
|
98
|
+
"comments": {
|
99
|
+
"prerelease": [
|
100
|
+
{
|
101
|
+
"author": "beachball",
|
102
|
+
"package": "@fluentui/react-badge",
|
103
|
+
"comment": "Bump @fluentui/react-make-styles to v9.0.0-alpha.71",
|
104
|
+
"commit": "95682da34c48813f7658032ae490d21d2f363b90"
|
105
|
+
},
|
106
|
+
{
|
107
|
+
"author": "beachball",
|
108
|
+
"package": "@fluentui/react-badge",
|
109
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-alpha.51",
|
110
|
+
"commit": "95682da34c48813f7658032ae490d21d2f363b90"
|
111
|
+
},
|
112
|
+
{
|
113
|
+
"author": "beachball",
|
114
|
+
"package": "@fluentui/react-badge",
|
115
|
+
"comment": "Bump @fluentui/babel-make-styles to v9.0.0-alpha.53",
|
116
|
+
"commit": "95682da34c48813f7658032ae490d21d2f363b90"
|
117
|
+
},
|
118
|
+
{
|
119
|
+
"author": "beachball",
|
120
|
+
"package": "@fluentui/react-badge",
|
121
|
+
"comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.46",
|
122
|
+
"commit": "95682da34c48813f7658032ae490d21d2f363b90"
|
123
|
+
},
|
124
|
+
{
|
125
|
+
"author": "beachball",
|
126
|
+
"package": "@fluentui/react-badge",
|
127
|
+
"comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-alpha.15",
|
128
|
+
"commit": "95682da34c48813f7658032ae490d21d2f363b90"
|
129
|
+
}
|
130
|
+
]
|
131
|
+
}
|
132
|
+
},
|
133
|
+
{
|
134
|
+
"date": "Wed, 22 Sep 2021 10:10:07 GMT",
|
135
|
+
"tag": "@fluentui/react-badge_v9.0.0-alpha.84",
|
136
|
+
"version": "9.0.0-alpha.84",
|
137
|
+
"comments": {
|
138
|
+
"prerelease": [
|
139
|
+
{
|
140
|
+
"author": "lingfangao@hotmail.com",
|
141
|
+
"package": "@fluentui/react-badge",
|
142
|
+
"comment": "refactor(Badge): Remove `mergeProps` and migrate to simple slots",
|
143
|
+
"commit": "bc3f1ec72fc7784a558b0dd6598ee0662f4649c1"
|
144
|
+
},
|
145
|
+
{
|
146
|
+
"author": "beachball",
|
147
|
+
"package": "@fluentui/react-badge",
|
148
|
+
"comment": "Bump @fluentui/react-make-styles to v9.0.0-alpha.70",
|
149
|
+
"commit": "bc3f1ec72fc7784a558b0dd6598ee0662f4649c1"
|
150
|
+
},
|
151
|
+
{
|
152
|
+
"author": "beachball",
|
153
|
+
"package": "@fluentui/react-badge",
|
154
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-alpha.50",
|
155
|
+
"commit": "bc3f1ec72fc7784a558b0dd6598ee0662f4649c1"
|
156
|
+
},
|
157
|
+
{
|
158
|
+
"author": "beachball",
|
159
|
+
"package": "@fluentui/react-badge",
|
160
|
+
"comment": "Bump @fluentui/babel-make-styles to v9.0.0-alpha.52",
|
161
|
+
"commit": "bc3f1ec72fc7784a558b0dd6598ee0662f4649c1"
|
162
|
+
},
|
163
|
+
{
|
164
|
+
"author": "beachball",
|
165
|
+
"package": "@fluentui/react-badge",
|
166
|
+
"comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.45",
|
167
|
+
"commit": "bc3f1ec72fc7784a558b0dd6598ee0662f4649c1"
|
168
|
+
},
|
169
|
+
{
|
170
|
+
"author": "beachball",
|
171
|
+
"package": "@fluentui/react-badge",
|
172
|
+
"comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-alpha.14",
|
173
|
+
"commit": "bc3f1ec72fc7784a558b0dd6598ee0662f4649c1"
|
174
|
+
}
|
175
|
+
]
|
176
|
+
}
|
177
|
+
},
|
178
|
+
{
|
179
|
+
"date": "Tue, 21 Sep 2021 07:42:34 GMT",
|
6
180
|
"tag": "@fluentui/react-badge_v9.0.0-alpha.83",
|
7
181
|
"version": "9.0.0-alpha.83",
|
8
182
|
"comments": {
|
@@ -11,37 +185,37 @@
|
|
11
185
|
"author": "gcox@microsoft.com",
|
12
186
|
"package": "@fluentui/react-badge",
|
13
187
|
"comment": "Updating to types over interfaces",
|
14
|
-
"commit": "
|
188
|
+
"commit": "363765ba3d08d2facbb97fb80ab54ff27ac714fd"
|
15
189
|
},
|
16
190
|
{
|
17
191
|
"author": "beachball",
|
18
192
|
"package": "@fluentui/react-badge",
|
19
193
|
"comment": "Bump @fluentui/react-make-styles to v9.0.0-alpha.69",
|
20
|
-
"commit": "
|
194
|
+
"commit": "363765ba3d08d2facbb97fb80ab54ff27ac714fd"
|
21
195
|
},
|
22
196
|
{
|
23
197
|
"author": "beachball",
|
24
198
|
"package": "@fluentui/react-badge",
|
25
199
|
"comment": "Bump @fluentui/react-theme to v9.0.0-alpha.23",
|
26
|
-
"commit": "
|
200
|
+
"commit": "363765ba3d08d2facbb97fb80ab54ff27ac714fd"
|
27
201
|
},
|
28
202
|
{
|
29
203
|
"author": "beachball",
|
30
204
|
"package": "@fluentui/react-badge",
|
31
205
|
"comment": "Bump @fluentui/babel-make-styles to v9.0.0-alpha.51",
|
32
|
-
"commit": "
|
206
|
+
"commit": "363765ba3d08d2facbb97fb80ab54ff27ac714fd"
|
33
207
|
},
|
34
208
|
{
|
35
209
|
"author": "beachball",
|
36
210
|
"package": "@fluentui/react-badge",
|
37
211
|
"comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.44",
|
38
|
-
"commit": "
|
212
|
+
"commit": "363765ba3d08d2facbb97fb80ab54ff27ac714fd"
|
39
213
|
},
|
40
214
|
{
|
41
215
|
"author": "beachball",
|
42
216
|
"package": "@fluentui/react-badge",
|
43
217
|
"comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-alpha.13",
|
44
|
-
"commit": "
|
218
|
+
"commit": "363765ba3d08d2facbb97fb80ab54ff27ac714fd"
|
45
219
|
}
|
46
220
|
],
|
47
221
|
"none": [
|
@@ -49,7 +223,7 @@
|
|
49
223
|
"author": "elcraig@microsoft.com",
|
50
224
|
"package": "@fluentui/react-badge",
|
51
225
|
"comment": "Remove unnecessary docCategory tags",
|
52
|
-
"commit": "
|
226
|
+
"commit": "363765ba3d08d2facbb97fb80ab54ff27ac714fd"
|
53
227
|
}
|
54
228
|
]
|
55
229
|
}
|
package/CHANGELOG.md
CHANGED
@@ -1,22 +1,77 @@
|
|
1
1
|
# Change Log - @fluentui/react-badge
|
2
2
|
|
3
|
-
This log was last generated on
|
3
|
+
This log was last generated on Mon, 27 Sep 2021 08:04:28 GMT and should not be manually modified.
|
4
4
|
|
5
5
|
<!-- Start content -->
|
6
6
|
|
7
|
+
## [9.0.0-alpha.87](https://github.com/microsoft/fluentui/tree/@fluentui/react-badge_v9.0.0-alpha.87)
|
8
|
+
|
9
|
+
Mon, 27 Sep 2021 08:04:28 GMT
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-badge_v9.0.0-alpha.86..@fluentui/react-badge_v9.0.0-alpha.87)
|
11
|
+
|
12
|
+
### Changes
|
13
|
+
|
14
|
+
- Revert to ObjectShorthandProps for slots to allow correct typing in Avatar ([commit](https://github.com/microsoft/fluentui/commit/7a6d4d03fc1157272a6641fd05fc27f51ba1cc0e) by lingfangao@hotmail.com)
|
15
|
+
- Bump @fluentui/react-make-styles to v9.0.0-alpha.73 ([commit](https://github.com/microsoft/fluentui/commit/7a6d4d03fc1157272a6641fd05fc27f51ba1cc0e) by beachball)
|
16
|
+
- Bump @fluentui/react-utilities to v9.0.0-alpha.53 ([commit](https://github.com/microsoft/fluentui/commit/7a6d4d03fc1157272a6641fd05fc27f51ba1cc0e) by beachball)
|
17
|
+
- Bump @fluentui/babel-make-styles to v9.0.0-alpha.55 ([commit](https://github.com/microsoft/fluentui/commit/7a6d4d03fc1157272a6641fd05fc27f51ba1cc0e) by beachball)
|
18
|
+
- Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.48 ([commit](https://github.com/microsoft/fluentui/commit/7a6d4d03fc1157272a6641fd05fc27f51ba1cc0e) by beachball)
|
19
|
+
- Bump @fluentui/react-conformance-make-styles to v9.0.0-alpha.17 ([commit](https://github.com/microsoft/fluentui/commit/7a6d4d03fc1157272a6641fd05fc27f51ba1cc0e) by beachball)
|
20
|
+
|
21
|
+
## [9.0.0-alpha.86](https://github.com/microsoft/fluentui/tree/@fluentui/react-badge_v9.0.0-alpha.86)
|
22
|
+
|
23
|
+
Fri, 24 Sep 2021 09:17:17 GMT
|
24
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-badge_v9.0.0-alpha.85..@fluentui/react-badge_v9.0.0-alpha.86)
|
25
|
+
|
26
|
+
### Changes
|
27
|
+
|
28
|
+
- Update BadgeProps for consistency ([PR #19950](https://github.com/microsoft/fluentui/pull/19950) by gcox@microsoft.com)
|
29
|
+
- Bump @fluentui/react-make-styles to v9.0.0-alpha.72 ([PR #19950](https://github.com/microsoft/fluentui/pull/19950) by beachball)
|
30
|
+
- Bump @fluentui/react-utilities to v9.0.0-alpha.52 ([PR #19950](https://github.com/microsoft/fluentui/pull/19950) by beachball)
|
31
|
+
- Bump @fluentui/babel-make-styles to v9.0.0-alpha.54 ([PR #19950](https://github.com/microsoft/fluentui/pull/19950) by beachball)
|
32
|
+
- Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.47 ([PR #19950](https://github.com/microsoft/fluentui/pull/19950) by beachball)
|
33
|
+
- Bump @fluentui/react-conformance-make-styles to v9.0.0-alpha.16 ([PR #19950](https://github.com/microsoft/fluentui/pull/19950) by beachball)
|
34
|
+
|
35
|
+
## [9.0.0-alpha.85](https://github.com/microsoft/fluentui/tree/@fluentui/react-badge_v9.0.0-alpha.85)
|
36
|
+
|
37
|
+
Thu, 23 Sep 2021 08:21:34 GMT
|
38
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-badge_v9.0.0-alpha.84..@fluentui/react-badge_v9.0.0-alpha.85)
|
39
|
+
|
40
|
+
### Changes
|
41
|
+
|
42
|
+
- Bump @fluentui/react-make-styles to v9.0.0-alpha.71 ([commit](https://github.com/microsoft/fluentui/commit/95682da34c48813f7658032ae490d21d2f363b90) by beachball)
|
43
|
+
- Bump @fluentui/react-utilities to v9.0.0-alpha.51 ([commit](https://github.com/microsoft/fluentui/commit/95682da34c48813f7658032ae490d21d2f363b90) by beachball)
|
44
|
+
- Bump @fluentui/babel-make-styles to v9.0.0-alpha.53 ([commit](https://github.com/microsoft/fluentui/commit/95682da34c48813f7658032ae490d21d2f363b90) by beachball)
|
45
|
+
- Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.46 ([commit](https://github.com/microsoft/fluentui/commit/95682da34c48813f7658032ae490d21d2f363b90) by beachball)
|
46
|
+
- Bump @fluentui/react-conformance-make-styles to v9.0.0-alpha.15 ([commit](https://github.com/microsoft/fluentui/commit/95682da34c48813f7658032ae490d21d2f363b90) by beachball)
|
47
|
+
|
48
|
+
## [9.0.0-alpha.84](https://github.com/microsoft/fluentui/tree/@fluentui/react-badge_v9.0.0-alpha.84)
|
49
|
+
|
50
|
+
Wed, 22 Sep 2021 10:10:07 GMT
|
51
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-badge_v9.0.0-alpha.83..@fluentui/react-badge_v9.0.0-alpha.84)
|
52
|
+
|
53
|
+
### Changes
|
54
|
+
|
55
|
+
- refactor(Badge): Remove `mergeProps` and migrate to simple slots ([commit](https://github.com/microsoft/fluentui/commit/bc3f1ec72fc7784a558b0dd6598ee0662f4649c1) by lingfangao@hotmail.com)
|
56
|
+
- Bump @fluentui/react-make-styles to v9.0.0-alpha.70 ([commit](https://github.com/microsoft/fluentui/commit/bc3f1ec72fc7784a558b0dd6598ee0662f4649c1) by beachball)
|
57
|
+
- Bump @fluentui/react-utilities to v9.0.0-alpha.50 ([commit](https://github.com/microsoft/fluentui/commit/bc3f1ec72fc7784a558b0dd6598ee0662f4649c1) by beachball)
|
58
|
+
- Bump @fluentui/babel-make-styles to v9.0.0-alpha.52 ([commit](https://github.com/microsoft/fluentui/commit/bc3f1ec72fc7784a558b0dd6598ee0662f4649c1) by beachball)
|
59
|
+
- Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.45 ([commit](https://github.com/microsoft/fluentui/commit/bc3f1ec72fc7784a558b0dd6598ee0662f4649c1) by beachball)
|
60
|
+
- Bump @fluentui/react-conformance-make-styles to v9.0.0-alpha.14 ([commit](https://github.com/microsoft/fluentui/commit/bc3f1ec72fc7784a558b0dd6598ee0662f4649c1) by beachball)
|
61
|
+
|
7
62
|
## [9.0.0-alpha.83](https://github.com/microsoft/fluentui/tree/@fluentui/react-badge_v9.0.0-alpha.83)
|
8
63
|
|
9
|
-
Tue, 21 Sep 2021 07:
|
64
|
+
Tue, 21 Sep 2021 07:42:34 GMT
|
10
65
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-badge_v9.0.0-alpha.82..@fluentui/react-badge_v9.0.0-alpha.83)
|
11
66
|
|
12
67
|
### Changes
|
13
68
|
|
14
|
-
- Updating to types over interfaces ([PR #
|
15
|
-
- Bump @fluentui/react-make-styles to v9.0.0-alpha.69 ([PR #
|
16
|
-
- Bump @fluentui/react-theme to v9.0.0-alpha.23 ([PR #
|
17
|
-
- Bump @fluentui/babel-make-styles to v9.0.0-alpha.51 ([PR #
|
18
|
-
- Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.44 ([PR #
|
19
|
-
- Bump @fluentui/react-conformance-make-styles to v9.0.0-alpha.13 ([PR #
|
69
|
+
- Updating to types over interfaces ([PR #19865](https://github.com/microsoft/fluentui/pull/19865) by gcox@microsoft.com)
|
70
|
+
- Bump @fluentui/react-make-styles to v9.0.0-alpha.69 ([PR #19865](https://github.com/microsoft/fluentui/pull/19865) by beachball)
|
71
|
+
- Bump @fluentui/react-theme to v9.0.0-alpha.23 ([PR #19865](https://github.com/microsoft/fluentui/pull/19865) by beachball)
|
72
|
+
- Bump @fluentui/babel-make-styles to v9.0.0-alpha.51 ([PR #19865](https://github.com/microsoft/fluentui/pull/19865) by beachball)
|
73
|
+
- Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.44 ([PR #19865](https://github.com/microsoft/fluentui/pull/19865) by beachball)
|
74
|
+
- Bump @fluentui/react-conformance-make-styles to v9.0.0-alpha.13 ([PR #19865](https://github.com/microsoft/fluentui/pull/19865) by beachball)
|
20
75
|
|
21
76
|
## [9.0.0-alpha.82](https://github.com/microsoft/fluentui/tree/@fluentui/react-badge_v9.0.0-alpha.82)
|
22
77
|
|
package/Spec.md
CHANGED
@@ -24,7 +24,7 @@ A badge is an additional visual descriptor for UI elements. It can be used to de
|
|
24
24
|
`Badge` can have several variations.
|
25
25
|
|
26
26
|
- Appearance: `default`, `rounded` and `circular`
|
27
|
-
- Size: `
|
27
|
+
- Size: `tiny`, `extra-small`, `small`, `medium`, `large`, `extra-large`.
|
28
28
|
- Styles: `filled`, `outline`, `ghost`, `tint`, `inverted filled`
|
29
29
|
|
30
30
|
## PROPS
|
@@ -34,7 +34,7 @@ type BadgeAppearance = 'filled' | 'outline' | 'ghost' | 'tint';
|
|
34
34
|
|
35
35
|
type BadgeShape = 'rounded' | 'square' | 'circular';
|
36
36
|
|
37
|
-
type BadgeSize = '
|
37
|
+
type BadgeSize = 'tiny' | 'extra-small' | 'small' | 'medium' | 'large' | 'extra-large';
|
38
38
|
|
39
39
|
type BadgeProps extends ComponentProps, React.HTMLAttributes<HTMLElement> {
|
40
40
|
/**
|
@@ -153,49 +153,5 @@ export type PresenceBadgeState = BadgeState & {
|
|
153
153
|
A Counter Badge is a visual indicator for numeric values such as tallies and scores.
|
154
154
|
|
155
155
|
```typescript
|
156
|
-
export type
|
157
|
-
|
158
|
-
export type CounterBadgeProps = Omit<BadgeProps, 'appearance' | 'shape'> & {
|
159
|
-
/**
|
160
|
-
* A Badge can be circular or rounded
|
161
|
-
* @defaultvalue circular
|
162
|
-
*/
|
163
|
-
shape?: Extract<BadgeShape, 'rounded' | 'circular'>;
|
164
|
-
|
165
|
-
/**
|
166
|
-
* A Badge can be filled, ghost
|
167
|
-
* @defaultvalue filled
|
168
|
-
*/
|
169
|
-
appearance?: Extract<BadgeAppearance, 'filled' | 'ghost'>;
|
170
|
-
|
171
|
-
/**
|
172
|
-
* A Badge can have color variations
|
173
|
-
* @defaultvalue accent
|
174
|
-
*/
|
175
|
-
color?: CounterBadgeColors;
|
176
|
-
|
177
|
-
/**
|
178
|
-
* Max number to be displayed
|
179
|
-
* @defaultvalue 99
|
180
|
-
*/
|
181
|
-
overflowCount?: number;
|
182
|
-
|
183
|
-
/**
|
184
|
-
* Value diplayed by the Badge
|
185
|
-
* @defaultvalue 0
|
186
|
-
*/
|
187
|
-
count?: number;
|
188
|
-
|
189
|
-
/**
|
190
|
-
* If the badge should be shown when count is 0
|
191
|
-
* @defaultvalue false
|
192
|
-
*/
|
193
|
-
showZero?: boolean;
|
194
|
-
|
195
|
-
/**
|
196
|
-
* If a dot badge should be displayed
|
197
|
-
* @defaultvalue false
|
198
|
-
*/
|
199
|
-
dot?: boolean;
|
200
|
-
};
|
156
|
+
export type CounterBadgeProps = Omit<BadgeProps, 'appearance' | 'shape'> & Partial<CounterBadgeCommons>;
|
201
157
|
```
|