@fluentui/react-badge 9.1.4 → 9.1.6
Sign up to get free protection for your applications and to get access to all the features.
- package/.swcrc +30 -0
- package/CHANGELOG.json +73 -1
- package/CHANGELOG.md +27 -2
- package/lib/Badge.js.map +1 -1
- package/lib/CounterBadge.js.map +1 -1
- package/lib/PresenceBadge.js.map +1 -1
- package/lib/components/Badge/Badge.js.map +1 -1
- 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 +1 -7
- package/lib/components/Badge/renderBadge.js.map +1 -1
- package/lib/components/Badge/useBadge.js +1 -0
- package/lib/components/Badge/useBadge.js.map +1 -1
- package/lib/components/Badge/useBadgeStyles.js.map +1 -1
- package/lib/components/CounterBadge/CounterBadge.js.map +1 -1
- package/lib/components/CounterBadge/CounterBadge.types.js.map +1 -1
- package/lib/components/CounterBadge/index.js.map +1 -1
- package/lib/components/CounterBadge/useCounterBadge.js +1 -0
- package/lib/components/CounterBadge/useCounterBadge.js.map +1 -1
- package/lib/components/CounterBadge/useCounterBadgeStyles.js.map +1 -1
- package/lib/components/PresenceBadge/PresenceBadge.js.map +1 -1
- package/lib/components/PresenceBadge/PresenceBadge.types.js.map +1 -1
- package/lib/components/PresenceBadge/index.js.map +1 -1
- package/lib/components/PresenceBadge/presenceIcons.js +34 -41
- package/lib/components/PresenceBadge/presenceIcons.js.map +1 -1
- package/lib/components/PresenceBadge/usePresenceBadge.js +2 -2
- 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 +5 -4
- package/lib-commonjs/Badge.js.map +1 -1
- package/lib-commonjs/CounterBadge.js +5 -4
- package/lib-commonjs/CounterBadge.js.map +1 -1
- package/lib-commonjs/PresenceBadge.js +5 -4
- package/lib-commonjs/PresenceBadge.js.map +1 -1
- package/lib-commonjs/components/Badge/Badge.js +19 -20
- package/lib-commonjs/components/Badge/Badge.js.map +1 -1
- package/lib-commonjs/components/Badge/Badge.types.js +3 -2
- package/lib-commonjs/components/Badge/Badge.types.js.map +1 -1
- package/lib-commonjs/components/Badge/index.js +8 -7
- package/lib-commonjs/components/Badge/index.js.map +1 -1
- package/lib-commonjs/components/Badge/renderBadge.js +13 -19
- package/lib-commonjs/components/Badge/renderBadge.js.map +1 -1
- package/lib-commonjs/components/Badge/useBadge.js +29 -34
- package/lib-commonjs/components/Badge/useBadge.js.map +1 -1
- package/lib-commonjs/components/Badge/useBadgeStyles.js +608 -310
- package/lib-commonjs/components/Badge/useBadgeStyles.js.map +1 -1
- package/lib-commonjs/components/CounterBadge/CounterBadge.js +19 -20
- package/lib-commonjs/components/CounterBadge/CounterBadge.js.map +1 -1
- package/lib-commonjs/components/CounterBadge/CounterBadge.types.js +3 -2
- package/lib-commonjs/components/CounterBadge/CounterBadge.types.js.map +1 -1
- package/lib-commonjs/components/CounterBadge/index.js +8 -7
- package/lib-commonjs/components/CounterBadge/index.js.map +1 -1
- package/lib-commonjs/components/CounterBadge/useCounterBadge.js +24 -30
- package/lib-commonjs/components/CounterBadge/useCounterBadge.js.map +1 -1
- package/lib-commonjs/components/CounterBadge/useCounterBadgeStyles.js +54 -34
- package/lib-commonjs/components/CounterBadge/useCounterBadgeStyles.js.map +1 -1
- package/lib-commonjs/components/PresenceBadge/PresenceBadge.js +19 -20
- package/lib-commonjs/components/PresenceBadge/PresenceBadge.js.map +1 -1
- package/lib-commonjs/components/PresenceBadge/PresenceBadge.types.js +3 -2
- package/lib-commonjs/components/PresenceBadge/PresenceBadge.types.js.map +1 -1
- package/lib-commonjs/components/PresenceBadge/index.js +8 -7
- package/lib-commonjs/components/PresenceBadge/index.js.map +1 -1
- package/lib-commonjs/components/PresenceBadge/presenceIcons.js +146 -134
- package/lib-commonjs/components/PresenceBadge/presenceIcons.js.map +1 -1
- package/lib-commonjs/components/PresenceBadge/usePresenceBadge.js +61 -65
- package/lib-commonjs/components/PresenceBadge/usePresenceBadge.js.map +1 -1
- package/lib-commonjs/components/PresenceBadge/usePresenceBadgeStyles.js +102 -78
- package/lib-commonjs/components/PresenceBadge/usePresenceBadgeStyles.js.map +1 -1
- package/lib-commonjs/index.js +28 -85
- package/lib-commonjs/index.js.map +1 -1
- package/package.json +9 -8
- package/lib-amd/Badge.js +0 -6
- package/lib-amd/Badge.js.map +0 -1
- package/lib-amd/CounterBadge.js +0 -6
- package/lib-amd/CounterBadge.js.map +0 -1
- package/lib-amd/PresenceBadge.js +0 -6
- package/lib-amd/PresenceBadge.js.map +0 -1
- package/lib-amd/components/Badge/Badge.js +0 -17
- package/lib-amd/components/Badge/Badge.js.map +0 -1
- 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.js +0 -9
- package/lib-amd/components/Badge/index.js.map +0 -1
- 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.js +0 -27
- package/lib-amd/components/Badge/useBadge.js.map +0 -1
- package/lib-amd/components/Badge/useBadgeStyles.js +0 -212
- package/lib-amd/components/Badge/useBadgeStyles.js.map +0 -1
- package/lib-amd/components/CounterBadge/CounterBadge.js +0 -17
- package/lib-amd/components/CounterBadge/CounterBadge.js.map +0 -1
- 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.js +0 -9
- package/lib-amd/components/CounterBadge/index.js.map +0 -1
- package/lib-amd/components/CounterBadge/useCounterBadge.js +0 -18
- package/lib-amd/components/CounterBadge/useCounterBadge.js.map +0 -1
- package/lib-amd/components/CounterBadge/useCounterBadgeStyles.js +0 -28
- package/lib-amd/components/CounterBadge/useCounterBadgeStyles.js.map +0 -1
- package/lib-amd/components/PresenceBadge/PresenceBadge.js +0 -17
- package/lib-amd/components/PresenceBadge/PresenceBadge.js.map +0 -1
- 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.js +0 -9
- package/lib-amd/components/PresenceBadge/index.js.map +0 -1
- package/lib-amd/components/PresenceBadge/presenceIcons.js +0 -146
- package/lib-amd/components/PresenceBadge/presenceIcons.js.map +0 -1
- package/lib-amd/components/PresenceBadge/usePresenceBadge.js +0 -53
- package/lib-amd/components/PresenceBadge/usePresenceBadge.js.map +0 -1
- package/lib-amd/components/PresenceBadge/usePresenceBadgeStyles.js +0 -101
- package/lib-amd/components/PresenceBadge/usePresenceBadgeStyles.js.map +0 -1
- package/lib-amd/index.js +0 -19
- package/lib-amd/index.js.map +0 -1
@@ -1,322 +1,620 @@
|
|
1
1
|
"use strict";
|
2
|
-
|
3
2
|
Object.defineProperty(exports, "__esModule", {
|
4
|
-
|
3
|
+
value: true
|
4
|
+
});
|
5
|
+
function _export(target, all) {
|
6
|
+
for(var name in all)Object.defineProperty(target, name, {
|
7
|
+
enumerable: true,
|
8
|
+
get: all[name]
|
9
|
+
});
|
10
|
+
}
|
11
|
+
_export(exports, {
|
12
|
+
badgeClassNames: ()=>badgeClassNames,
|
13
|
+
useBadgeStyles_unstable: ()=>useBadgeStyles_unstable
|
5
14
|
});
|
6
|
-
|
7
|
-
const
|
8
|
-
const
|
9
|
-
|
10
|
-
|
11
|
-
icon: 'fui-Badge__icon'
|
15
|
+
const _react = require("@griffel/react");
|
16
|
+
const _reactTheme = require("@fluentui/react-theme");
|
17
|
+
const badgeClassNames = {
|
18
|
+
root: 'fui-Badge',
|
19
|
+
icon: 'fui-Badge__icon'
|
12
20
|
};
|
13
21
|
// The text content of the badge has additional horizontal padding, but there is no `text` slot to add that padding to.
|
14
22
|
// Instead, add extra padding to the root, and a negative margin on the icon to "remove" the extra padding on the icon.
|
15
|
-
const textPadding =
|
16
|
-
const useRootClassName = /*#__PURE__*/
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
23
|
+
const textPadding = _reactTheme.tokens.spacingHorizontalXXS;
|
24
|
+
const useRootClassName = /*#__PURE__*/ (0, _react["__resetStyles"])("r1iycov", "r115jdol", [
|
25
|
+
".r1iycov{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;box-sizing:border-box;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center;position:relative;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase200);height:20px;min-width:20px;padding:0 calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));border-radius:var(--borderRadiusCircular);border-color:var(--colorTransparentStroke);}",
|
26
|
+
".r1iycov::after{content:\"\";position:absolute;top:0;left:0;bottom:0;right:0;border-style:solid;border-color:inherit;border-width:var(--strokeWidthThin);border-radius:inherit;}",
|
27
|
+
".r115jdol{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;box-sizing:border-box;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center;position:relative;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase200);height:20px;min-width:20px;padding:0 calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));border-radius:var(--borderRadiusCircular);border-color:var(--colorTransparentStroke);}",
|
28
|
+
".r115jdol::after{content:\"\";position:absolute;top:0;right:0;bottom:0;left:0;border-style:solid;border-color:inherit;border-width:var(--strokeWidthThin);border-radius:inherit;}"
|
29
|
+
]);
|
30
|
+
const useRootStyles = /*#__PURE__*/ (0, _react["__styles"])({
|
31
|
+
fontSmallToTiny: {
|
32
|
+
Bahqtrf: "fk6fouc",
|
33
|
+
Be2twd7: "f13mqy1h",
|
34
|
+
Bhrd7zp: "fl43uef",
|
35
|
+
Bg96gwp: "fcpl73t"
|
36
|
+
},
|
37
|
+
tiny: {
|
38
|
+
a9b677: "f16dn6v3",
|
39
|
+
Bqenvij: "f3mu39s",
|
40
|
+
Be2twd7: "f130uwy9",
|
41
|
+
Bg96gwp: "fod1mrr",
|
42
|
+
Bf4jedk: "f18p0k4z",
|
43
|
+
z8tnut: "f1q8r6hh",
|
44
|
+
z189sj: [
|
45
|
+
"fio2s09",
|
46
|
+
"fkiw60q"
|
47
|
+
],
|
48
|
+
Byoj8tv: "f9yu9nh",
|
49
|
+
uwmqm3: [
|
50
|
+
"fkiw60q",
|
51
|
+
"fio2s09"
|
52
|
+
]
|
53
|
+
},
|
54
|
+
"extra-small": {
|
55
|
+
a9b677: "fpd43o0",
|
56
|
+
Bqenvij: "f30q22z",
|
57
|
+
Be2twd7: "f1tccstq",
|
58
|
+
Bg96gwp: "f1y3arg5",
|
59
|
+
Bf4jedk: "f18p0k4z",
|
60
|
+
z8tnut: "f1q8r6hh",
|
61
|
+
z189sj: [
|
62
|
+
"fio2s09",
|
63
|
+
"fkiw60q"
|
64
|
+
],
|
65
|
+
Byoj8tv: "f9yu9nh",
|
66
|
+
uwmqm3: [
|
67
|
+
"fkiw60q",
|
68
|
+
"fio2s09"
|
69
|
+
]
|
70
|
+
},
|
71
|
+
small: {
|
72
|
+
Bf4jedk: "fq2vo04",
|
73
|
+
Bqenvij: "fd461yt",
|
74
|
+
z8tnut: "f1g0x7ka",
|
75
|
+
z189sj: [
|
76
|
+
"fps1v9c",
|
77
|
+
"f17ae1jz"
|
78
|
+
],
|
79
|
+
Byoj8tv: "f1qch9an",
|
80
|
+
uwmqm3: [
|
81
|
+
"f17ae1jz",
|
82
|
+
"fps1v9c"
|
83
|
+
]
|
84
|
+
},
|
85
|
+
medium: {},
|
86
|
+
large: {
|
87
|
+
Bf4jedk: "f17fgpbq",
|
88
|
+
Bqenvij: "frvgh55",
|
89
|
+
z8tnut: "f1g0x7ka",
|
90
|
+
z189sj: [
|
91
|
+
"f17a92cs",
|
92
|
+
"f1pe0i86"
|
93
|
+
],
|
94
|
+
Byoj8tv: "f1qch9an",
|
95
|
+
uwmqm3: [
|
96
|
+
"f1pe0i86",
|
97
|
+
"f17a92cs"
|
98
|
+
]
|
99
|
+
},
|
100
|
+
"extra-large": {
|
101
|
+
Bf4jedk: "fwbmr0d",
|
102
|
+
Bqenvij: "f1d2rq10",
|
103
|
+
z8tnut: "f1g0x7ka",
|
104
|
+
z189sj: [
|
105
|
+
"fqznh8f",
|
106
|
+
"f1xile11"
|
107
|
+
],
|
108
|
+
Byoj8tv: "f1qch9an",
|
109
|
+
uwmqm3: [
|
110
|
+
"f1xile11",
|
111
|
+
"fqznh8f"
|
112
|
+
]
|
113
|
+
},
|
114
|
+
square: {
|
115
|
+
Bbmb7ep: [
|
116
|
+
"fzi6hpg",
|
117
|
+
"fyowgf4"
|
118
|
+
],
|
119
|
+
Beyfa6y: [
|
120
|
+
"fyowgf4",
|
121
|
+
"fzi6hpg"
|
122
|
+
],
|
123
|
+
B7oj6ja: [
|
124
|
+
"f3fg2lr",
|
125
|
+
"f13av6d4"
|
126
|
+
],
|
127
|
+
Btl43ni: [
|
128
|
+
"f13av6d4",
|
129
|
+
"f3fg2lr"
|
130
|
+
]
|
131
|
+
},
|
132
|
+
rounded: {
|
133
|
+
Bbmb7ep: [
|
134
|
+
"f1aa9q02",
|
135
|
+
"f16jpd5f"
|
136
|
+
],
|
137
|
+
Beyfa6y: [
|
138
|
+
"f16jpd5f",
|
139
|
+
"f1aa9q02"
|
140
|
+
],
|
141
|
+
B7oj6ja: [
|
142
|
+
"f1jar5jt",
|
143
|
+
"fyu767a"
|
144
|
+
],
|
145
|
+
Btl43ni: [
|
146
|
+
"fyu767a",
|
147
|
+
"f1jar5jt"
|
148
|
+
]
|
149
|
+
},
|
150
|
+
roundedSmallToTiny: {
|
151
|
+
Bbmb7ep: [
|
152
|
+
"f1g3puop",
|
153
|
+
"fi2rrw2"
|
154
|
+
],
|
155
|
+
Beyfa6y: [
|
156
|
+
"fi2rrw2",
|
157
|
+
"f1g3puop"
|
158
|
+
],
|
159
|
+
B7oj6ja: [
|
160
|
+
"f1rstyi9",
|
161
|
+
"f1s4nn1u"
|
162
|
+
],
|
163
|
+
Btl43ni: [
|
164
|
+
"f1s4nn1u",
|
165
|
+
"f1rstyi9"
|
166
|
+
]
|
167
|
+
},
|
168
|
+
circular: {},
|
169
|
+
borderGhost: {
|
170
|
+
ap17g6: "f10ludwy"
|
171
|
+
},
|
172
|
+
filled: {},
|
173
|
+
"filled-brand": {
|
174
|
+
De3pzq: "ffp7eso",
|
175
|
+
sj55zd: "f1phragk"
|
176
|
+
},
|
177
|
+
"filled-danger": {
|
178
|
+
De3pzq: "fdl5y0r",
|
179
|
+
sj55zd: "f1phragk"
|
180
|
+
},
|
181
|
+
"filled-important": {
|
182
|
+
De3pzq: "f1c73kur",
|
183
|
+
sj55zd: "fr0bkrk"
|
184
|
+
},
|
185
|
+
"filled-informative": {
|
186
|
+
De3pzq: "f3vzo32",
|
187
|
+
sj55zd: "f11d4kpn"
|
188
|
+
},
|
189
|
+
"filled-severe": {
|
190
|
+
De3pzq: "f1s438gw",
|
191
|
+
sj55zd: "f1phragk"
|
192
|
+
},
|
193
|
+
"filled-subtle": {
|
194
|
+
De3pzq: "fxugw4r",
|
195
|
+
sj55zd: "f19n0e5"
|
196
|
+
},
|
197
|
+
"filled-success": {
|
198
|
+
De3pzq: "flxk52p",
|
199
|
+
sj55zd: "f1phragk"
|
200
|
+
},
|
201
|
+
"filled-warning": {
|
202
|
+
De3pzq: "ffq97bm",
|
203
|
+
sj55zd: "ff5vbop"
|
204
|
+
},
|
205
|
+
ghost: {},
|
206
|
+
"ghost-brand": {
|
207
|
+
sj55zd: "f16muhyy"
|
208
|
+
},
|
209
|
+
"ghost-danger": {
|
210
|
+
sj55zd: "f1whyuy6"
|
211
|
+
},
|
212
|
+
"ghost-important": {
|
213
|
+
sj55zd: "f19n0e5"
|
214
|
+
},
|
215
|
+
"ghost-informative": {
|
216
|
+
sj55zd: "f11d4kpn"
|
217
|
+
},
|
218
|
+
"ghost-severe": {
|
219
|
+
sj55zd: "f1l8vj45"
|
220
|
+
},
|
221
|
+
"ghost-subtle": {
|
222
|
+
sj55zd: "fonrgv7"
|
223
|
+
},
|
224
|
+
"ghost-success": {
|
225
|
+
sj55zd: "f1m7fhi8"
|
226
|
+
},
|
227
|
+
"ghost-warning": {
|
228
|
+
sj55zd: "fpti2h4"
|
229
|
+
},
|
230
|
+
outline: {
|
231
|
+
g2u3we: "f23ftbb",
|
232
|
+
h3c5rm: [
|
233
|
+
"f1gkuv52",
|
234
|
+
"f1p1bl80"
|
235
|
+
],
|
236
|
+
B9xav0g: "fioka3i",
|
237
|
+
zhjwy3: [
|
238
|
+
"f1p1bl80",
|
239
|
+
"f1gkuv52"
|
240
|
+
]
|
241
|
+
},
|
242
|
+
"outline-brand": {
|
243
|
+
sj55zd: "f16muhyy"
|
244
|
+
},
|
245
|
+
"outline-danger": {
|
246
|
+
sj55zd: "f1whyuy6",
|
247
|
+
g2u3we: "fyqpifd",
|
248
|
+
h3c5rm: [
|
249
|
+
"f3ukxca",
|
250
|
+
"f1k7dugc"
|
251
|
+
],
|
252
|
+
B9xav0g: "f1njxb2b",
|
253
|
+
zhjwy3: [
|
254
|
+
"f1k7dugc",
|
255
|
+
"f3ukxca"
|
256
|
+
]
|
257
|
+
},
|
258
|
+
"outline-important": {
|
259
|
+
sj55zd: "f11d4kpn",
|
260
|
+
g2u3we: "fq0vr37",
|
261
|
+
h3c5rm: [
|
262
|
+
"f1byw159",
|
263
|
+
"f11cr0be"
|
264
|
+
],
|
265
|
+
B9xav0g: "f1c1zstj",
|
266
|
+
zhjwy3: [
|
267
|
+
"f11cr0be",
|
268
|
+
"f1byw159"
|
269
|
+
]
|
270
|
+
},
|
271
|
+
"outline-informative": {
|
272
|
+
sj55zd: "f11d4kpn",
|
273
|
+
g2u3we: "f68mrw8",
|
274
|
+
h3c5rm: [
|
275
|
+
"f7pw515",
|
276
|
+
"fw35ms5"
|
277
|
+
],
|
278
|
+
B9xav0g: "frpde29",
|
279
|
+
zhjwy3: [
|
280
|
+
"fw35ms5",
|
281
|
+
"f7pw515"
|
282
|
+
]
|
283
|
+
},
|
284
|
+
"outline-severe": {
|
285
|
+
sj55zd: "f1l8vj45"
|
286
|
+
},
|
287
|
+
"outline-subtle": {
|
288
|
+
sj55zd: "fonrgv7"
|
289
|
+
},
|
290
|
+
"outline-success": {
|
291
|
+
sj55zd: "f1m7fhi8",
|
292
|
+
g2u3we: "f1mmhl11",
|
293
|
+
h3c5rm: [
|
294
|
+
"f1tjpp2f",
|
295
|
+
"f1ocn5n7"
|
296
|
+
],
|
297
|
+
B9xav0g: "f1gjv25d",
|
298
|
+
zhjwy3: [
|
299
|
+
"f1ocn5n7",
|
300
|
+
"f1tjpp2f"
|
301
|
+
]
|
302
|
+
},
|
303
|
+
"outline-warning": {
|
304
|
+
sj55zd: "fpti2h4"
|
305
|
+
},
|
306
|
+
tint: {},
|
307
|
+
"tint-brand": {
|
308
|
+
De3pzq: "f16xkysk",
|
309
|
+
sj55zd: "faj9fo0",
|
310
|
+
g2u3we: "f161y7kd",
|
311
|
+
h3c5rm: [
|
312
|
+
"f1c8dzaj",
|
313
|
+
"f1sl6hi9"
|
314
|
+
],
|
315
|
+
B9xav0g: "f1619yhw",
|
316
|
+
zhjwy3: [
|
317
|
+
"f1sl6hi9",
|
318
|
+
"f1c8dzaj"
|
319
|
+
]
|
320
|
+
},
|
321
|
+
"tint-danger": {
|
322
|
+
De3pzq: "ff0poqj",
|
323
|
+
sj55zd: "f1hcrxcs",
|
324
|
+
g2u3we: "f1oqjm8o",
|
325
|
+
h3c5rm: [
|
326
|
+
"fkgrb8g",
|
327
|
+
"frb5wm0"
|
328
|
+
],
|
329
|
+
B9xav0g: "f1iai1ph",
|
330
|
+
zhjwy3: [
|
331
|
+
"frb5wm0",
|
332
|
+
"fkgrb8g"
|
333
|
+
]
|
334
|
+
},
|
335
|
+
"tint-important": {
|
336
|
+
De3pzq: "f945g0u",
|
337
|
+
sj55zd: "fr0bkrk",
|
338
|
+
g2u3we: "fghlq4f",
|
339
|
+
h3c5rm: [
|
340
|
+
"f1gn591s",
|
341
|
+
"fjscplz"
|
342
|
+
],
|
343
|
+
B9xav0g: "fb073pr",
|
344
|
+
zhjwy3: [
|
345
|
+
"fjscplz",
|
346
|
+
"f1gn591s"
|
347
|
+
]
|
348
|
+
},
|
349
|
+
"tint-informative": {
|
350
|
+
De3pzq: "f1ctqxl6",
|
351
|
+
sj55zd: "f11d4kpn",
|
352
|
+
g2u3we: "f68mrw8",
|
353
|
+
h3c5rm: [
|
354
|
+
"f7pw515",
|
355
|
+
"fw35ms5"
|
356
|
+
],
|
357
|
+
B9xav0g: "frpde29",
|
358
|
+
zhjwy3: [
|
359
|
+
"fw35ms5",
|
360
|
+
"f7pw515"
|
361
|
+
]
|
362
|
+
},
|
363
|
+
"tint-severe": {
|
364
|
+
De3pzq: "f1xzsg4",
|
365
|
+
sj55zd: "f1k5f75o",
|
366
|
+
g2u3we: "fxy9dsj",
|
367
|
+
h3c5rm: [
|
368
|
+
"f54u6j2",
|
369
|
+
"fcm23ze"
|
370
|
+
],
|
371
|
+
B9xav0g: "f4vf0uq",
|
372
|
+
zhjwy3: [
|
373
|
+
"fcm23ze",
|
374
|
+
"f54u6j2"
|
375
|
+
]
|
376
|
+
},
|
377
|
+
"tint-subtle": {
|
378
|
+
De3pzq: "fxugw4r",
|
379
|
+
sj55zd: "f11d4kpn",
|
380
|
+
g2u3we: "f68mrw8",
|
381
|
+
h3c5rm: [
|
382
|
+
"f7pw515",
|
383
|
+
"fw35ms5"
|
384
|
+
],
|
385
|
+
B9xav0g: "frpde29",
|
386
|
+
zhjwy3: [
|
387
|
+
"fw35ms5",
|
388
|
+
"f7pw515"
|
389
|
+
]
|
390
|
+
},
|
391
|
+
"tint-success": {
|
392
|
+
De3pzq: "f2vsrz6",
|
393
|
+
sj55zd: "ffmvakt",
|
394
|
+
g2u3we: "fdmic9h",
|
395
|
+
h3c5rm: [
|
396
|
+
"f196y6m",
|
397
|
+
"fetptd8"
|
398
|
+
],
|
399
|
+
B9xav0g: "f1pev5xq",
|
400
|
+
zhjwy3: [
|
401
|
+
"fetptd8",
|
402
|
+
"f196y6m"
|
403
|
+
]
|
404
|
+
},
|
405
|
+
"tint-warning": {
|
406
|
+
De3pzq: "f10s6hli",
|
407
|
+
sj55zd: "f42v8de",
|
408
|
+
g2u3we: "fn9i3n",
|
409
|
+
h3c5rm: [
|
410
|
+
"f1aw8cx4",
|
411
|
+
"f51if14"
|
412
|
+
],
|
413
|
+
B9xav0g: "fvq8iai",
|
414
|
+
zhjwy3: [
|
415
|
+
"f51if14",
|
416
|
+
"f1aw8cx4"
|
417
|
+
]
|
418
|
+
}
|
262
419
|
}, {
|
263
|
-
|
420
|
+
d: [
|
421
|
+
".fk6fouc{font-family:var(--fontFamilyBase);}",
|
422
|
+
".f13mqy1h{font-size:var(--fontSizeBase100);}",
|
423
|
+
".fl43uef{font-weight:var(--fontWeightSemibold);}",
|
424
|
+
".fcpl73t{line-height:var(--lineHeightBase100);}",
|
425
|
+
".f16dn6v3{width:6px;}",
|
426
|
+
".f3mu39s{height:6px;}",
|
427
|
+
".f130uwy9{font-size:4px;}",
|
428
|
+
".fod1mrr{line-height:4px;}",
|
429
|
+
".f18p0k4z{min-width:unset;}",
|
430
|
+
".f1q8r6hh{padding-top:unset;}",
|
431
|
+
".fio2s09{padding-right:unset;}",
|
432
|
+
".fkiw60q{padding-left:unset;}",
|
433
|
+
".f9yu9nh{padding-bottom:unset;}",
|
434
|
+
".fpd43o0{width:10px;}",
|
435
|
+
".f30q22z{height:10px;}",
|
436
|
+
".f1tccstq{font-size:6px;}",
|
437
|
+
".f1y3arg5{line-height:6px;}",
|
438
|
+
".fq2vo04{min-width:16px;}",
|
439
|
+
".fd461yt{height:16px;}",
|
440
|
+
".f1g0x7ka{padding-top:0;}",
|
441
|
+
".fps1v9c{padding-right:calc(var(--spacingHorizontalXXS) + var(--spacingHorizontalXXS));}",
|
442
|
+
".f17ae1jz{padding-left:calc(var(--spacingHorizontalXXS) + var(--spacingHorizontalXXS));}",
|
443
|
+
".f1qch9an{padding-bottom:0;}",
|
444
|
+
".f17fgpbq{min-width:24px;}",
|
445
|
+
".frvgh55{height:24px;}",
|
446
|
+
".f17a92cs{padding-right:calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));}",
|
447
|
+
".f1pe0i86{padding-left:calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));}",
|
448
|
+
".fwbmr0d{min-width:32px;}",
|
449
|
+
".f1d2rq10{height:32px;}",
|
450
|
+
".fqznh8f{padding-right:calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",
|
451
|
+
".f1xile11{padding-left:calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",
|
452
|
+
".fzi6hpg{border-bottom-right-radius:var(--borderRadiusNone);}",
|
453
|
+
".fyowgf4{border-bottom-left-radius:var(--borderRadiusNone);}",
|
454
|
+
".f3fg2lr{border-top-right-radius:var(--borderRadiusNone);}",
|
455
|
+
".f13av6d4{border-top-left-radius:var(--borderRadiusNone);}",
|
456
|
+
".f1aa9q02{border-bottom-right-radius:var(--borderRadiusMedium);}",
|
457
|
+
".f16jpd5f{border-bottom-left-radius:var(--borderRadiusMedium);}",
|
458
|
+
".f1jar5jt{border-top-right-radius:var(--borderRadiusMedium);}",
|
459
|
+
".fyu767a{border-top-left-radius:var(--borderRadiusMedium);}",
|
460
|
+
".f1g3puop{border-bottom-right-radius:var(--borderRadiusSmall);}",
|
461
|
+
".fi2rrw2{border-bottom-left-radius:var(--borderRadiusSmall);}",
|
462
|
+
".f1rstyi9{border-top-right-radius:var(--borderRadiusSmall);}",
|
463
|
+
".f1s4nn1u{border-top-left-radius:var(--borderRadiusSmall);}",
|
464
|
+
".f10ludwy::after{display:none;}",
|
465
|
+
".ffp7eso{background-color:var(--colorBrandBackground);}",
|
466
|
+
".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",
|
467
|
+
".fdl5y0r{background-color:var(--colorPaletteRedBackground3);}",
|
468
|
+
".f1c73kur{background-color:var(--colorNeutralForeground1);}",
|
469
|
+
".fr0bkrk{color:var(--colorNeutralBackground1);}",
|
470
|
+
".f3vzo32{background-color:var(--colorNeutralBackground5);}",
|
471
|
+
".f11d4kpn{color:var(--colorNeutralForeground3);}",
|
472
|
+
".f1s438gw{background-color:var(--colorPaletteDarkOrangeBackground3);}",
|
473
|
+
".fxugw4r{background-color:var(--colorNeutralBackground1);}",
|
474
|
+
".f19n0e5{color:var(--colorNeutralForeground1);}",
|
475
|
+
".flxk52p{background-color:var(--colorPaletteGreenBackground3);}",
|
476
|
+
".ffq97bm{background-color:var(--colorPaletteYellowBackground3);}",
|
477
|
+
".ff5vbop{color:var(--colorNeutralForeground1Static);}",
|
478
|
+
".f16muhyy{color:var(--colorBrandForeground1);}",
|
479
|
+
".f1whyuy6{color:var(--colorPaletteRedForeground3);}",
|
480
|
+
".f1l8vj45{color:var(--colorPaletteDarkOrangeForeground3);}",
|
481
|
+
".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",
|
482
|
+
".f1m7fhi8{color:var(--colorPaletteGreenForeground3);}",
|
483
|
+
".fpti2h4{color:var(--colorPaletteYellowForeground2);}",
|
484
|
+
".f23ftbb{border-top-color:currentColor;}",
|
485
|
+
".f1gkuv52{border-right-color:currentColor;}",
|
486
|
+
".f1p1bl80{border-left-color:currentColor;}",
|
487
|
+
".fioka3i{border-bottom-color:currentColor;}",
|
488
|
+
".fyqpifd{border-top-color:var(--colorPaletteRedBorder2);}",
|
489
|
+
".f3ukxca{border-right-color:var(--colorPaletteRedBorder2);}",
|
490
|
+
".f1k7dugc{border-left-color:var(--colorPaletteRedBorder2);}",
|
491
|
+
".f1njxb2b{border-bottom-color:var(--colorPaletteRedBorder2);}",
|
492
|
+
".fq0vr37{border-top-color:var(--colorNeutralStrokeAccessible);}",
|
493
|
+
".f1byw159{border-right-color:var(--colorNeutralStrokeAccessible);}",
|
494
|
+
".f11cr0be{border-left-color:var(--colorNeutralStrokeAccessible);}",
|
495
|
+
".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",
|
496
|
+
".f68mrw8{border-top-color:var(--colorNeutralStroke2);}",
|
497
|
+
".f7pw515{border-right-color:var(--colorNeutralStroke2);}",
|
498
|
+
".fw35ms5{border-left-color:var(--colorNeutralStroke2);}",
|
499
|
+
".frpde29{border-bottom-color:var(--colorNeutralStroke2);}",
|
500
|
+
".f1mmhl11{border-top-color:var(--colorPaletteGreenBorder2);}",
|
501
|
+
".f1tjpp2f{border-right-color:var(--colorPaletteGreenBorder2);}",
|
502
|
+
".f1ocn5n7{border-left-color:var(--colorPaletteGreenBorder2);}",
|
503
|
+
".f1gjv25d{border-bottom-color:var(--colorPaletteGreenBorder2);}",
|
504
|
+
".f16xkysk{background-color:var(--colorBrandBackground2);}",
|
505
|
+
".faj9fo0{color:var(--colorBrandForeground2);}",
|
506
|
+
".f161y7kd{border-top-color:var(--colorBrandStroke2);}",
|
507
|
+
".f1c8dzaj{border-right-color:var(--colorBrandStroke2);}",
|
508
|
+
".f1sl6hi9{border-left-color:var(--colorBrandStroke2);}",
|
509
|
+
".f1619yhw{border-bottom-color:var(--colorBrandStroke2);}",
|
510
|
+
".ff0poqj{background-color:var(--colorPaletteRedBackground1);}",
|
511
|
+
".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",
|
512
|
+
".f1oqjm8o{border-top-color:var(--colorPaletteRedBorder1);}",
|
513
|
+
".fkgrb8g{border-right-color:var(--colorPaletteRedBorder1);}",
|
514
|
+
".frb5wm0{border-left-color:var(--colorPaletteRedBorder1);}",
|
515
|
+
".f1iai1ph{border-bottom-color:var(--colorPaletteRedBorder1);}",
|
516
|
+
".f945g0u{background-color:var(--colorNeutralForeground3);}",
|
517
|
+
".fghlq4f{border-top-color:var(--colorTransparentStroke);}",
|
518
|
+
".f1gn591s{border-right-color:var(--colorTransparentStroke);}",
|
519
|
+
".fjscplz{border-left-color:var(--colorTransparentStroke);}",
|
520
|
+
".fb073pr{border-bottom-color:var(--colorTransparentStroke);}",
|
521
|
+
".f1ctqxl6{background-color:var(--colorNeutralBackground4);}",
|
522
|
+
".f1xzsg4{background-color:var(--colorPaletteDarkOrangeBackground1);}",
|
523
|
+
".f1k5f75o{color:var(--colorPaletteDarkOrangeForeground1);}",
|
524
|
+
".fxy9dsj{border-top-color:var(--colorPaletteDarkOrangeBorder1);}",
|
525
|
+
".f54u6j2{border-right-color:var(--colorPaletteDarkOrangeBorder1);}",
|
526
|
+
".fcm23ze{border-left-color:var(--colorPaletteDarkOrangeBorder1);}",
|
527
|
+
".f4vf0uq{border-bottom-color:var(--colorPaletteDarkOrangeBorder1);}",
|
528
|
+
".f2vsrz6{background-color:var(--colorPaletteGreenBackground1);}",
|
529
|
+
".ffmvakt{color:var(--colorPaletteGreenForeground1);}",
|
530
|
+
".fdmic9h{border-top-color:var(--colorPaletteGreenBorder1);}",
|
531
|
+
".f196y6m{border-right-color:var(--colorPaletteGreenBorder1);}",
|
532
|
+
".fetptd8{border-left-color:var(--colorPaletteGreenBorder1);}",
|
533
|
+
".f1pev5xq{border-bottom-color:var(--colorPaletteGreenBorder1);}",
|
534
|
+
".f10s6hli{background-color:var(--colorPaletteYellowBackground1);}",
|
535
|
+
".f42v8de{color:var(--colorPaletteYellowForeground1);}",
|
536
|
+
".fn9i3n{border-top-color:var(--colorPaletteYellowBorder1);}",
|
537
|
+
".f1aw8cx4{border-right-color:var(--colorPaletteYellowBorder1);}",
|
538
|
+
".f51if14{border-left-color:var(--colorPaletteYellowBorder1);}",
|
539
|
+
".fvq8iai{border-bottom-color:var(--colorPaletteYellowBorder1);}"
|
540
|
+
]
|
264
541
|
});
|
265
|
-
const useIconRootClassName = /*#__PURE__*/
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
542
|
+
const useIconRootClassName = /*#__PURE__*/ (0, _react["__resetStyles"])("rttl5z0", null, [
|
543
|
+
".rttl5z0{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;line-height:1;margin:0 calc(-1 * var(--spacingHorizontalXXS));font-size:12px;}"
|
544
|
+
]);
|
545
|
+
const useIconStyles = /*#__PURE__*/ (0, _react["__styles"])({
|
546
|
+
beforeText: {
|
547
|
+
t21cq0: [
|
548
|
+
"f1t8l4o1",
|
549
|
+
"f11juvx6"
|
550
|
+
]
|
551
|
+
},
|
552
|
+
afterText: {
|
553
|
+
Frg6f3: [
|
554
|
+
"f11juvx6",
|
555
|
+
"f1t8l4o1"
|
556
|
+
]
|
557
|
+
},
|
558
|
+
beforeTextXL: {
|
559
|
+
t21cq0: [
|
560
|
+
"f1rs9grm",
|
561
|
+
"f1kwmkpi"
|
562
|
+
]
|
563
|
+
},
|
564
|
+
afterTextXL: {
|
565
|
+
Frg6f3: [
|
566
|
+
"f1kwmkpi",
|
567
|
+
"f1rs9grm"
|
568
|
+
]
|
569
|
+
},
|
570
|
+
tiny: {
|
571
|
+
Be2twd7: "f1tccstq"
|
572
|
+
},
|
573
|
+
"extra-small": {
|
574
|
+
Be2twd7: "fnmn6fi"
|
575
|
+
},
|
576
|
+
small: {
|
577
|
+
Be2twd7: "f1ugzwwg"
|
578
|
+
},
|
579
|
+
medium: {},
|
580
|
+
large: {
|
581
|
+
Be2twd7: "f4ybsrx"
|
582
|
+
},
|
583
|
+
"extra-large": {
|
584
|
+
Be2twd7: "fe5j1ua"
|
585
|
+
}
|
295
586
|
}, {
|
296
|
-
|
587
|
+
d: [
|
588
|
+
".f1t8l4o1{margin-right:calc(var(--spacingHorizontalXXS) + var(--spacingHorizontalXXS));}",
|
589
|
+
".f11juvx6{margin-left:calc(var(--spacingHorizontalXXS) + var(--spacingHorizontalXXS));}",
|
590
|
+
".f1rs9grm{margin-right:calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));}",
|
591
|
+
".f1kwmkpi{margin-left:calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));}",
|
592
|
+
".f1tccstq{font-size:6px;}",
|
593
|
+
".fnmn6fi{font-size:10px;}",
|
594
|
+
".f1ugzwwg{font-size:12px;}",
|
595
|
+
".f4ybsrx{font-size:16px;}",
|
596
|
+
".fe5j1ua{font-size:20px;}"
|
597
|
+
]
|
297
598
|
});
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
const
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
}
|
599
|
+
const useBadgeStyles_unstable = (state)=>{
|
600
|
+
const rootClassName = useRootClassName();
|
601
|
+
const rootStyles = useRootStyles();
|
602
|
+
const smallToTiny = state.size === 'small' || state.size === 'extra-small' || state.size === 'tiny';
|
603
|
+
state.root.className = (0, _react.mergeClasses)(badgeClassNames.root, rootClassName, smallToTiny && rootStyles.fontSmallToTiny, rootStyles[state.size], rootStyles[state.shape], state.shape === 'rounded' && smallToTiny && rootStyles.roundedSmallToTiny, state.appearance === 'ghost' && rootStyles.borderGhost, rootStyles[state.appearance], rootStyles[`${state.appearance}-${state.color}`], state.root.className);
|
604
|
+
const iconRootClassName = useIconRootClassName();
|
605
|
+
const iconStyles = useIconStyles();
|
606
|
+
if (state.icon) {
|
607
|
+
let iconPositionClass;
|
608
|
+
if (state.root.children) {
|
609
|
+
if (state.size === 'extra-large') {
|
610
|
+
iconPositionClass = state.iconPosition === 'after' ? iconStyles.afterTextXL : iconStyles.beforeTextXL;
|
611
|
+
} else {
|
612
|
+
iconPositionClass = state.iconPosition === 'after' ? iconStyles.afterText : iconStyles.beforeText;
|
613
|
+
}
|
614
|
+
}
|
615
|
+
state.icon.className = (0, _react.mergeClasses)(badgeClassNames.icon, iconRootClassName, iconPositionClass, iconStyles[state.size], state.icon.className);
|
316
616
|
}
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
};
|
321
|
-
exports.useBadgeStyles_unstable = useBadgeStyles_unstable;
|
617
|
+
return state;
|
618
|
+
}; //# sourceMappingURL=useBadgeStyles.js.map
|
619
|
+
|
322
620
|
//# sourceMappingURL=useBadgeStyles.js.map
|