@fluentui/react-badge 0.0.0-nightlyc9ccb6f37d20211122.1 → 0.0.0-nightlyf1be0a972820211214.1
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.json +111 -16
- package/CHANGELOG.md +32 -11
- package/dist/react-badge.d.ts +5 -5
- package/lib/components/Badge/Badge.types.d.ts +1 -1
- package/lib/components/Badge/renderBadge.js +4 -1
- package/lib/components/Badge/renderBadge.js.map +1 -1
- package/lib/components/Badge/useBadgeStyles.js +73 -53
- package/lib/components/Badge/useBadgeStyles.js.map +1 -1
- package/lib/components/CounterBadge/useCounterBadgeStyles.js +3 -5
- package/lib/components/CounterBadge/useCounterBadgeStyles.js.map +1 -1
- package/lib/components/PresenceBadge/PresenceBadge.types.d.ts +6 -5
- package/lib/components/PresenceBadge/presenceIcons.d.ts +11 -0
- package/lib/components/PresenceBadge/presenceIcons.js +128 -0
- package/lib/components/PresenceBadge/presenceIcons.js.map +1 -0
- package/lib/components/PresenceBadge/usePresenceBadge.js +29 -15
- package/lib/components/PresenceBadge/usePresenceBadge.js.map +1 -1
- package/lib/components/PresenceBadge/usePresenceBadgeStyles.js +38 -43
- package/lib/components/PresenceBadge/usePresenceBadgeStyles.js.map +1 -1
- package/lib-commonjs/components/Badge/Badge.types.d.ts +1 -1
- package/lib-commonjs/components/Badge/renderBadge.js +4 -1
- package/lib-commonjs/components/Badge/renderBadge.js.map +1 -1
- package/lib-commonjs/components/Badge/useBadgeStyles.js +72 -52
- package/lib-commonjs/components/Badge/useBadgeStyles.js.map +1 -1
- package/lib-commonjs/components/CounterBadge/useCounterBadgeStyles.js +2 -4
- package/lib-commonjs/components/CounterBadge/useCounterBadgeStyles.js.map +1 -1
- package/lib-commonjs/components/PresenceBadge/PresenceBadge.types.d.ts +6 -5
- package/lib-commonjs/components/PresenceBadge/presenceIcons.d.ts +11 -0
- package/lib-commonjs/components/PresenceBadge/presenceIcons.js +136 -0
- package/lib-commonjs/components/PresenceBadge/presenceIcons.js.map +1 -0
- package/lib-commonjs/components/PresenceBadge/usePresenceBadge.js +28 -14
- package/lib-commonjs/components/PresenceBadge/usePresenceBadge.js.map +1 -1
- package/lib-commonjs/components/PresenceBadge/usePresenceBadgeStyles.js +37 -43
- package/lib-commonjs/components/PresenceBadge/usePresenceBadgeStyles.js.map +1 -1
- package/package.json +11 -9
- package/lib/common/isConformant.d.ts +0 -4
- package/lib/common/isConformant.js +0 -13
- package/lib/common/isConformant.js.map +0 -1
- package/lib/components/PresenceBadge/DefaultPresenceBadgeIcons.d.ts +0 -10
- package/lib/components/PresenceBadge/DefaultPresenceBadgeIcons.js +0 -98
- package/lib/components/PresenceBadge/DefaultPresenceBadgeIcons.js.map +0 -1
- package/lib-commonjs/common/isConformant.d.ts +0 -4
- package/lib-commonjs/common/isConformant.js +0 -24
- package/lib-commonjs/common/isConformant.js.map +0 -1
- package/lib-commonjs/components/PresenceBadge/DefaultPresenceBadgeIcons.d.ts +0 -10
- package/lib-commonjs/components/PresenceBadge/DefaultPresenceBadgeIcons.js +0 -113
- package/lib-commonjs/components/PresenceBadge/DefaultPresenceBadgeIcons.js.map +0 -1
@@ -46,33 +46,45 @@ const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
|
|
46
46
|
"rootSmall": {
|
47
47
|
"Bf4jedk": "fq2vo04",
|
48
48
|
"Bqenvij": "fd461yt",
|
49
|
-
"
|
50
|
-
"
|
51
|
-
"
|
49
|
+
"z8tnut": "fq1loh5",
|
50
|
+
"z189sj": ["f12huiiw", "f161knb0"],
|
51
|
+
"Byoj8tv": "futqtb8",
|
52
|
+
"uwmqm3": ["f161knb0", "f12huiiw"],
|
53
|
+
"i8kkvl": "f1q8lukm",
|
54
|
+
"Belr9w4": "f1ma2n7n",
|
52
55
|
"Be2twd7": "f1n0apg3"
|
53
56
|
},
|
54
57
|
"rootMedium": {
|
55
58
|
"Bqenvij": "fjamq6b",
|
56
59
|
"Bf4jedk": "f11u7vat",
|
57
|
-
"
|
58
|
-
"
|
59
|
-
"
|
60
|
+
"i8kkvl": "f1q8lukm",
|
61
|
+
"Belr9w4": "f1ma2n7n",
|
62
|
+
"z8tnut": "f10ra9hq",
|
63
|
+
"z189sj": ["f8wuabp", "fycuoez"],
|
64
|
+
"Byoj8tv": "f1y2xyjm",
|
65
|
+
"uwmqm3": ["fycuoez", "f8wuabp"],
|
60
66
|
"Be2twd7": "fnmn6fi"
|
61
67
|
},
|
62
68
|
"rootLarge": {
|
63
69
|
"Bf4jedk": "f17fgpbq",
|
64
70
|
"Bqenvij": "frvgh55",
|
65
|
-
"
|
66
|
-
"
|
71
|
+
"z8tnut": "f10ra9hq",
|
72
|
+
"z189sj": ["f8wuabp", "fycuoez"],
|
73
|
+
"Byoj8tv": "f1y2xyjm",
|
74
|
+
"uwmqm3": ["fycuoez", "f8wuabp"],
|
67
75
|
"Be2twd7": "f1ugzwwg",
|
68
|
-
"
|
76
|
+
"i8kkvl": "f1q8lukm",
|
77
|
+
"Belr9w4": "f1ma2n7n"
|
69
78
|
},
|
70
79
|
"rootExtraLarge": {
|
71
80
|
"Bf4jedk": "fwbmr0d",
|
72
81
|
"Bqenvij": "f1d2rq10",
|
73
|
-
"
|
74
|
-
"
|
75
|
-
"
|
82
|
+
"z8tnut": "f1xp5gbu",
|
83
|
+
"z189sj": ["f1sgzk6v", "f1bg5zqg"],
|
84
|
+
"Byoj8tv": "f1d7kygh",
|
85
|
+
"uwmqm3": ["f1bg5zqg", "f1sgzk6v"],
|
86
|
+
"i8kkvl": "fgfbwa2",
|
87
|
+
"Belr9w4": "f1y3hx6l",
|
76
88
|
"Be2twd7": "f1ugzwwg",
|
77
89
|
"B4j52fo": "f18zi460",
|
78
90
|
"Bekrc4i": ["f1wpluaz", "fsfsuhs"],
|
@@ -80,16 +92,25 @@ const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
|
|
80
92
|
"ibv6hh": ["fsfsuhs", "f1wpluaz"]
|
81
93
|
},
|
82
94
|
"rootRounded": {
|
83
|
-
"
|
95
|
+
"Bbmb7ep": ["f1aa9q02", "f16jpd5f"],
|
96
|
+
"Beyfa6y": ["f16jpd5f", "f1aa9q02"],
|
97
|
+
"B7oj6ja": ["f1jar5jt", "fyu767a"],
|
98
|
+
"Btl43ni": ["fyu767a", "f1jar5jt"]
|
84
99
|
},
|
85
100
|
"rootRoundedSmallToTiny": {
|
86
|
-
"
|
101
|
+
"Bbmb7ep": ["f1g3puop", "fi2rrw2"],
|
102
|
+
"Beyfa6y": ["fi2rrw2", "f1g3puop"],
|
103
|
+
"B7oj6ja": ["f1rstyi9", "f1s4nn1u"],
|
104
|
+
"Btl43ni": ["f1s4nn1u", "f1rstyi9"]
|
87
105
|
},
|
88
106
|
"rootCircular": {
|
89
|
-
"
|
107
|
+
"Bbmb7ep": ["fxyqdnz", "fib3qew"],
|
108
|
+
"Beyfa6y": ["fib3qew", "fxyqdnz"],
|
109
|
+
"B7oj6ja": ["f14p2bvz", "fdqj3q4"],
|
110
|
+
"Btl43ni": ["fdqj3q4", "f14p2bvz"]
|
90
111
|
},
|
91
112
|
"rootGhost": {
|
92
|
-
"
|
113
|
+
"De3pzq": "f3rmtva",
|
93
114
|
"icvyot": "f1ern45e",
|
94
115
|
"vrafjx": ["f1n71otn", "f1deefiw"],
|
95
116
|
"oivjwe": "f1h8hb77",
|
@@ -97,7 +118,7 @@ const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
|
|
97
118
|
"sj55zd": "f1817uup"
|
98
119
|
},
|
99
120
|
"rootOutline": {
|
100
|
-
"
|
121
|
+
"De3pzq": "f3rmtva",
|
101
122
|
"g2u3we": "f1vp46cd",
|
102
123
|
"h3c5rm": ["f1lxz1cr", "ff8nh0i"],
|
103
124
|
"B9xav0g": "fe9j8it",
|
@@ -107,10 +128,10 @@ const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
|
|
107
128
|
"rootTint": {
|
108
129
|
"De3pzq": "f16xkysk",
|
109
130
|
"sj55zd": "faj9fo0",
|
110
|
-
"g2u3we": "
|
111
|
-
"h3c5rm": ["
|
112
|
-
"B9xav0g": "
|
113
|
-
"zhjwy3": ["
|
131
|
+
"g2u3we": "f161y7kd",
|
132
|
+
"h3c5rm": ["f1c8dzaj", "f1sl6hi9"],
|
133
|
+
"B9xav0g": "f1619yhw",
|
134
|
+
"zhjwy3": ["f1sl6hi9", "f1c8dzaj"]
|
114
135
|
},
|
115
136
|
"rootFilledDanger": {
|
116
137
|
"De3pzq": "fdl5y0r",
|
@@ -130,10 +151,10 @@ const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
|
|
130
151
|
"rootTintDanger": {
|
131
152
|
"De3pzq": "ff0poqj",
|
132
153
|
"sj55zd": "f1hcrxcs",
|
133
|
-
"g2u3we": "
|
134
|
-
"h3c5rm": ["
|
135
|
-
"B9xav0g": "
|
136
|
-
"zhjwy3": ["
|
154
|
+
"g2u3we": "f1oqjm8o",
|
155
|
+
"h3c5rm": ["fkgrb8g", "frb5wm0"],
|
156
|
+
"B9xav0g": "f1iai1ph",
|
157
|
+
"zhjwy3": ["frb5wm0", "fkgrb8g"]
|
137
158
|
},
|
138
159
|
"rootGhostDanger": {
|
139
160
|
"sj55zd": "f1whyuy6"
|
@@ -141,10 +162,10 @@ const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
|
|
141
162
|
"rootFilledSevere": {
|
142
163
|
"De3pzq": "f1s438gw",
|
143
164
|
"sj55zd": "f1phragk",
|
144
|
-
"g2u3we": "
|
145
|
-
"h3c5rm": ["
|
146
|
-
"B9xav0g": "
|
147
|
-
"zhjwy3": ["
|
165
|
+
"g2u3we": "fghlq4f",
|
166
|
+
"h3c5rm": ["f1gn591s", "fjscplz"],
|
167
|
+
"B9xav0g": "fb073pr",
|
168
|
+
"zhjwy3": ["fjscplz", "f1gn591s"]
|
148
169
|
},
|
149
170
|
"rootOutlineSevere": {
|
150
171
|
"sj55zd": "f1l8vj45",
|
@@ -193,10 +214,10 @@ const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
|
|
193
214
|
"rootFilledSuccess": {
|
194
215
|
"De3pzq": "flxk52p",
|
195
216
|
"sj55zd": "f1phragk",
|
196
|
-
"g2u3we": "
|
197
|
-
"h3c5rm": ["
|
198
|
-
"B9xav0g": "
|
199
|
-
"zhjwy3": ["
|
217
|
+
"g2u3we": "fghlq4f",
|
218
|
+
"h3c5rm": ["f1gn591s", "fjscplz"],
|
219
|
+
"B9xav0g": "fb073pr",
|
220
|
+
"zhjwy3": ["fjscplz", "f1gn591s"]
|
200
221
|
},
|
201
222
|
"rootOutlineSuccess": {
|
202
223
|
"sj55zd": "f1sms7z7",
|
@@ -225,11 +246,11 @@ const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
|
|
225
246
|
"zhjwy3": ["fjscplz", "f1gn591s"]
|
226
247
|
},
|
227
248
|
"rootOutlineImportant": {
|
228
|
-
"sj55zd": "
|
229
|
-
"g2u3we": "
|
230
|
-
"h3c5rm": ["
|
231
|
-
"B9xav0g": "
|
232
|
-
"zhjwy3": ["
|
249
|
+
"sj55zd": "f11d4kpn",
|
250
|
+
"g2u3we": "fq0vr37",
|
251
|
+
"h3c5rm": ["f1byw159", "f11cr0be"],
|
252
|
+
"B9xav0g": "f1c1zstj",
|
253
|
+
"zhjwy3": ["f11cr0be", "f1byw159"]
|
233
254
|
},
|
234
255
|
"rootTintImportant": {
|
235
256
|
"De3pzq": "f945g0u",
|
@@ -251,12 +272,11 @@ const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
|
|
251
272
|
"zhjwy3": ["fjscplz", "f1gn591s"]
|
252
273
|
},
|
253
274
|
"rootOutlineInformative": {
|
254
|
-
"
|
255
|
-
"
|
256
|
-
"
|
257
|
-
"
|
258
|
-
"
|
259
|
-
"zhjwy3": ["f6dh4jx", "fdav146"]
|
275
|
+
"sj55zd": "f11d4kpn",
|
276
|
+
"g2u3we": "f68mrw8",
|
277
|
+
"h3c5rm": ["f7pw515", "fw35ms5"],
|
278
|
+
"B9xav0g": "frpde29",
|
279
|
+
"zhjwy3": ["fw35ms5", "f7pw515"]
|
260
280
|
},
|
261
281
|
"rootTintInformative": {
|
262
282
|
"De3pzq": "f1ctqxl6",
|
@@ -267,7 +287,7 @@ const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
|
|
267
287
|
"zhjwy3": ["fw35ms5", "f7pw515"]
|
268
288
|
},
|
269
289
|
"rootGhostInformative": {
|
270
|
-
"sj55zd": "
|
290
|
+
"sj55zd": "f11d4kpn"
|
271
291
|
},
|
272
292
|
"rootFilledSubtle": {
|
273
293
|
"De3pzq": "fxugw4r",
|
@@ -278,11 +298,11 @@ const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
|
|
278
298
|
"zhjwy3": ["fjscplz", "f1gn591s"]
|
279
299
|
},
|
280
300
|
"rootOutlineSubtle": {
|
281
|
-
"sj55zd": "
|
282
|
-
"g2u3we": "
|
283
|
-
"h3c5rm": ["
|
284
|
-
"B9xav0g": "
|
285
|
-
"zhjwy3": ["
|
301
|
+
"sj55zd": "fqpbvvt",
|
302
|
+
"g2u3we": "fgtodeh",
|
303
|
+
"h3c5rm": ["fm9lria", "fvwj3xt"],
|
304
|
+
"B9xav0g": "f7asi1z",
|
305
|
+
"zhjwy3": ["fvwj3xt", "fm9lria"]
|
286
306
|
},
|
287
307
|
"rootTintSubtle": {
|
288
308
|
"De3pzq": "fxugw4r",
|
@@ -293,7 +313,7 @@ const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
|
|
293
313
|
"zhjwy3": ["fw35ms5", "f7pw515"]
|
294
314
|
},
|
295
315
|
"rootGhostSubtle": {
|
296
|
-
"sj55zd": "
|
316
|
+
"sj55zd": "fqpbvvt"
|
297
317
|
},
|
298
318
|
"icon": {
|
299
319
|
"mc9l5x": "f22iagw",
|
@@ -302,7 +322,7 @@ const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
|
|
302
322
|
"Bqenvij": "f1l02sjl"
|
303
323
|
}
|
304
324
|
}, {
|
305
|
-
"d": [".ftuwxu6{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;}", ".f1ewtqcl{box-sizing:border-box;}", ".f122n59{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}", ".f4d9j23{-webkit-box-pack:center;-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center;}", ".ffp7eso{background-color:var(--colorBrandBackground);}", ".f1vp46cd{border-top-color:var(--colorBrandBackground);}", ".f1lxz1cr{border-right-color:var(--colorBrandBackground);}", ".ff8nh0i{border-left-color:var(--colorBrandBackground);}", ".fe9j8it{border-bottom-color:var(--colorBrandBackground);}", ".f1phragk{color:var(--colorNeutralForegroundOnBrand);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}", ".f192inf7{border-top-width:var(--strokeWidthThin);}", ".f5tn483{border-right-width:var(--strokeWidthThin);}", ".f1ojsxk5{border-left-width:var(--strokeWidthThin);}", ".f1vxd6vx{border-bottom-width:var(--strokeWidthThin);}", ".fzkkow9{border-top-style:solid;}", ".fcdblym{border-right-style:solid;}", ".fjik90z{border-left-style:solid;}", ".fg706s2{border-bottom-style:solid;}", ".fk6fouc{font-family:var(--fontFamilyBase);}", ".f10pi13n{position:relative;}", ".f16dn6v3{width:6px;}", ".f3mu39s{height:6px;}", ".f130uwy9{font-size:4px;}", ".fpd43o0{width:10px;}", ".f30q22z{height:10px;}", ".f1tccstq{font-size:6px;}", ".fq2vo04{min-width:16px;}", ".fd461yt{height:16px;}", ".
|
325
|
+
"d": [".ftuwxu6{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;}", ".f1ewtqcl{box-sizing:border-box;}", ".f122n59{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}", ".f4d9j23{-webkit-box-pack:center;-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center;}", ".ffp7eso{background-color:var(--colorBrandBackground);}", ".f1vp46cd{border-top-color:var(--colorBrandBackground);}", ".f1lxz1cr{border-right-color:var(--colorBrandBackground);}", ".ff8nh0i{border-left-color:var(--colorBrandBackground);}", ".fe9j8it{border-bottom-color:var(--colorBrandBackground);}", ".f1phragk{color:var(--colorNeutralForegroundOnBrand);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}", ".f192inf7{border-top-width:var(--strokeWidthThin);}", ".f5tn483{border-right-width:var(--strokeWidthThin);}", ".f1ojsxk5{border-left-width:var(--strokeWidthThin);}", ".f1vxd6vx{border-bottom-width:var(--strokeWidthThin);}", ".fzkkow9{border-top-style:solid;}", ".fcdblym{border-right-style:solid;}", ".fjik90z{border-left-style:solid;}", ".fg706s2{border-bottom-style:solid;}", ".fk6fouc{font-family:var(--fontFamilyBase);}", ".f10pi13n{position:relative;}", ".f16dn6v3{width:6px;}", ".f3mu39s{height:6px;}", ".f130uwy9{font-size:4px;}", ".fpd43o0{width:10px;}", ".f30q22z{height:10px;}", ".f1tccstq{font-size:6px;}", ".fq2vo04{min-width:16px;}", ".fd461yt{height:16px;}", ".fq1loh5{padding-top:2px;}", ".f12huiiw{padding-right:2px;}", ".f161knb0{padding-left:2px;}", ".futqtb8{padding-bottom:2px;}", ".f1q8lukm{-webkit-column-gap:4px;column-gap:4px;}", ".f1ma2n7n{row-gap:4px;}", ".f1n0apg3{font-size:8px;}", ".fjamq6b{height:20px;}", ".f11u7vat{min-width:20px;}", ".f10ra9hq{padding-top:4px;}", ".f8wuabp{padding-right:4px;}", ".fycuoez{padding-left:4px;}", ".f1y2xyjm{padding-bottom:4px;}", ".fnmn6fi{font-size:10px;}", ".f17fgpbq{min-width:24px;}", ".frvgh55{height:24px;}", ".f1ugzwwg{font-size:12px;}", ".fwbmr0d{min-width:32px;}", ".f1d2rq10{height:32px;}", ".f1xp5gbu{padding-top:6px;}", ".f1sgzk6v{padding-right:6px;}", ".f1bg5zqg{padding-left:6px;}", ".f1d7kygh{padding-bottom:6px;}", ".fgfbwa2{-webkit-column-gap:6px;column-gap:6px;}", ".f1y3hx6l{row-gap:6px;}", ".f18zi460{border-top-width:var(--strokeWidthThick);}", ".f1wpluaz{border-right-width:var(--strokeWidthThick);}", ".fsfsuhs{border-left-width:var(--strokeWidthThick);}", ".fmklw6v{border-bottom-width:var(--strokeWidthThick);}", ".f1aa9q02{border-bottom-right-radius:var(--borderRadiusMedium);}", ".f16jpd5f{border-bottom-left-radius:var(--borderRadiusMedium);}", ".f1jar5jt{border-top-right-radius:var(--borderRadiusMedium);}", ".fyu767a{border-top-left-radius:var(--borderRadiusMedium);}", ".f1g3puop{border-bottom-right-radius:var(--borderRadiusSmall);}", ".fi2rrw2{border-bottom-left-radius:var(--borderRadiusSmall);}", ".f1rstyi9{border-top-right-radius:var(--borderRadiusSmall);}", ".f1s4nn1u{border-top-left-radius:var(--borderRadiusSmall);}", ".fxyqdnz{border-bottom-right-radius:99px;}", ".fib3qew{border-bottom-left-radius:99px;}", ".f14p2bvz{border-top-right-radius:99px;}", ".fdqj3q4{border-top-left-radius:99px;}", ".f3rmtva{background-color:transparent;}", ".f1ern45e{border-top-style:none;}", ".f1n71otn{border-right-style:none;}", ".f1deefiw{border-left-style:none;}", ".f1h8hb77{border-bottom-style:none;}", ".f1817uup{color:var(--colorBrandBackground);}", ".f16xkysk{background-color:var(--colorBrandBackground2);}", ".faj9fo0{color:var(--colorBrandForeground2);}", ".f161y7kd{border-top-color:var(--colorBrandStroke2);}", ".f1c8dzaj{border-right-color:var(--colorBrandStroke2);}", ".f1sl6hi9{border-left-color:var(--colorBrandStroke2);}", ".f1619yhw{border-bottom-color:var(--colorBrandStroke2);}", ".fdl5y0r{background-color:var(--colorPaletteRedBackground3);}", ".f11ttmz8{border-top-color:var(--colorPaletteRedBackground3);}", ".f1ratw88{border-right-color:var(--colorPaletteRedBackground3);}", ".f459ikj{border-left-color:var(--colorPaletteRedBackground3);}", ".fvovscg{border-bottom-color:var(--colorPaletteRedBackground3);}", ".f1whyuy6{color:var(--colorPaletteRedForeground3);}", ".f1tg094z{border-top-color:var(--colorPaletteRedForeground3);}", ".f19abfc5{border-right-color:var(--colorPaletteRedForeground3);}", ".f1cj97ds{border-left-color:var(--colorPaletteRedForeground3);}", ".f1i5u4jy{border-bottom-color:var(--colorPaletteRedForeground3);}", ".ff0poqj{background-color:var(--colorPaletteRedBackground1);}", ".f1hcrxcs{color:var(--colorPaletteRedForeground1);}", ".f1oqjm8o{border-top-color:var(--colorPaletteRedBorder1);}", ".fkgrb8g{border-right-color:var(--colorPaletteRedBorder1);}", ".frb5wm0{border-left-color:var(--colorPaletteRedBorder1);}", ".f1iai1ph{border-bottom-color:var(--colorPaletteRedBorder1);}", ".f1s438gw{background-color:var(--colorPaletteDarkOrangeBackground3);}", ".fghlq4f{border-top-color:var(--colorTransparentStroke);}", ".f1gn591s{border-right-color:var(--colorTransparentStroke);}", ".fjscplz{border-left-color:var(--colorTransparentStroke);}", ".fb073pr{border-bottom-color:var(--colorTransparentStroke);}", ".f1l8vj45{color:var(--colorPaletteDarkOrangeForeground3);}", ".f1wahxdx{border-top-color:var(--colorPaletteDarkOrangeForeground3);}", ".fpbzgcg{border-right-color:var(--colorPaletteDarkOrangeForeground3);}", ".f1g7u8zt{border-left-color:var(--colorPaletteDarkOrangeForeground3);}", ".f1wrnc4t{border-bottom-color:var(--colorPaletteDarkOrangeForeground3);}", ".f1xzsg4{background-color:var(--colorPaletteDarkOrangeBackground1);}", ".f1k5f75o{color:var(--colorPaletteDarkOrangeForeground1);}", ".f18s257e{border-top-color:var(--colorPaletteDarkOrangeForeground2);}", ".f13ptu4t{border-right-color:var(--colorPaletteDarkOrangeForeground2);}", ".fiwx4jo{border-left-color:var(--colorPaletteDarkOrangeForeground2);}", ".f1geyuz0{border-bottom-color:var(--colorPaletteDarkOrangeForeground2);}", ".ffq97bm{background-color:var(--colorPaletteYellowBackground3);}", ".f19n0e5{color:var(--colorNeutralForeground1);}", ".f1gyeiz5{border-top-color:var(--colorPaletteYellowBackground3);}", ".f1jnj1iq{border-right-color:var(--colorPaletteYellowBackground3);}", ".fd1epeu{border-left-color:var(--colorPaletteYellowBackground3);}", ".f102bkgo{border-bottom-color:var(--colorPaletteYellowBackground3);}", ".fpti2h4{color:var(--colorPaletteYellowForeground2);}", ".fbahunb{border-top-color:var(--colorPaletteYellowForeground2);}", ".fa2hcp6{border-right-color:var(--colorPaletteYellowForeground2);}", ".f1cr20yc{border-left-color:var(--colorPaletteYellowForeground2);}", ".f1fbl5g1{border-bottom-color:var(--colorPaletteYellowForeground2);}", ".f10s6hli{background-color:var(--colorPaletteYellowBackground1);}", ".f1e2bpek{border-top-color:var(--colorPaletteYellowBackground2);}", ".fnu3uvp{border-right-color:var(--colorPaletteYellowBackground2);}", ".fdpwmi9{border-left-color:var(--colorPaletteYellowBackground2);}", ".fk8fs0c{border-bottom-color:var(--colorPaletteYellowBackground2);}", ".flxk52p{background-color:var(--colorPaletteGreenBackground3);}", ".f1sms7z7{color:var(--colorPaletteGreenForeground2);}", ".f7obisw{border-top-color:var(--colorPaletteGreenForeground2);}", ".f108f34s{border-right-color:var(--colorPaletteGreenForeground2);}", ".f1chpoyh{border-left-color:var(--colorPaletteGreenForeground2);}", ".f1xtovf2{border-bottom-color:var(--colorPaletteGreenForeground2);}", ".f2vsrz6{background-color:var(--colorPaletteGreenBackground1);}", ".ffmvakt{color:var(--colorPaletteGreenForeground1);}", ".f3m3qtd{border-top-color:var(--colorPaletteGreenBackground2);}", ".f1bjyn17{border-right-color:var(--colorPaletteGreenBackground2);}", ".fksln3n{border-left-color:var(--colorPaletteGreenBackground2);}", ".frg4y0o{border-bottom-color:var(--colorPaletteGreenBackground2);}", ".f1m7fhi8{color:var(--colorPaletteGreenForeground3);}", ".f1c73kur{background-color:var(--colorNeutralForeground1);}", ".fr0bkrk{color:var(--colorNeutralBackground1);}", ".f11d4kpn{color:var(--colorNeutralForeground3);}", ".fq0vr37{border-top-color:var(--colorNeutralStrokeAccessible);}", ".f1byw159{border-right-color:var(--colorNeutralStrokeAccessible);}", ".f11cr0be{border-left-color:var(--colorNeutralStrokeAccessible);}", ".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}", ".f945g0u{background-color:var(--colorNeutralForeground3);}", ".f3vzo32{background-color:var(--colorNeutralBackground5);}", ".f68mrw8{border-top-color:var(--colorNeutralStroke2);}", ".f7pw515{border-right-color:var(--colorNeutralStroke2);}", ".fw35ms5{border-left-color:var(--colorNeutralStroke2);}", ".frpde29{border-bottom-color:var(--colorNeutralStroke2);}", ".f1ctqxl6{background-color:var(--colorNeutralBackground4);}", ".fxugw4r{background-color:var(--colorNeutralBackground1);}", ".fqpbvvt{color:var(--colorNeutralForegroundInverted);}", ".fgtodeh{border-top-color:var(--colorNeutralForegroundInverted);}", ".fm9lria{border-right-color:var(--colorNeutralForegroundInverted);}", ".fvwj3xt{border-left-color:var(--colorNeutralForegroundInverted);}", ".f7asi1z{border-bottom-color:var(--colorNeutralForegroundInverted);}", ".f22iagw{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}", ".fxe27oy{-webkit-align-content:center;-ms-flex-line-pack:center;align-content:center;}", ".f1l02sjl{height:100%;}"]
|
306
326
|
});
|
307
327
|
/**
|
308
328
|
* Applies style classnames to slots
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../src/components/Badge/useBadgeStyles.ts"],"names":[],"mappings":";;;;;;;AAAA,MAAA,mBAAA,gBAAA,OAAA,CAAA,6BAAA,CAAA;;AAGa,OAAA,CAAA,cAAA,GAAiB,WAAjB;;AAEb,MAAM,SAAS,gBAAG,mBAAA,SAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;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AAM,IAAI,WAAV,IAAyB,MAAM,CAAC,iBAnCX,EAoCrB,OAAO,IAAI,WAAX,IAA0B,MAAM,CAAC,kBApCZ,EAqCrB,QAAQ,IAAI,aAAZ,IAA6B,MAAM,CAAC,qBArCf,EAsCrB,SAAS,IAAI,aAAb,IAA8B,MAAM,CAAC,sBAtChB,EAuCrB,MAAM,IAAI,aAAV,IAA2B,MAAM,CAAC,mBAvCb,EAwCrB,OAAO,IAAI,aAAX,IAA4B,MAAM,CAAC,oBAxCd,EAyCrB,QAAQ,IAAI,QAAZ,IAAwB,MAAM,CAAC,gBAzCV,EA0CrB,SAAS,IAAI,QAAb,IAAyB,MAAM,CAAC,iBA1CX,EA2CrB,MAAM,IAAI,QAAV,IAAsB,MAAM,CAAC,cA3CR,EA4CrB,OAAO,IAAI,QAAX,IAAuB,MAAM,CAAC,eA5CT,EA6CrB,KAAK,CAAC,IAAN,CAAW,SA7CU,CAAvB;;AAgDA,MAAI,KAAK,CAAC,IAAV,EAAgB;AACd,IAAA,KAAK,CAAC,IAAN,CAAW,SAAX,GAAuB,mBAAA,CAAA,YAAA,CAAa,MAAM,CAAC,IAApB,EAA0B,KAAK,CAAC,IAAN,CAAW,SAArC,CAAvB;AACD;;AAED,SAAO,KAAP;AACD,CAnEM;;AAAM,OAAA,CAAA,cAAA,GAAc,cAAd","sourceRoot":""}
|
@@ -12,10 +12,8 @@ const useBadgeStyles_1 = /*#__PURE__*/require("../Badge/useBadgeStyles");
|
|
12
12
|
exports.counterBadgeClassName = 'fui-CounterBadge';
|
13
13
|
|
14
14
|
const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
|
15
|
-
"root": {
|
16
|
-
"Bf4jedk": "fgfkb25"
|
17
|
-
},
|
18
15
|
"dot": {
|
16
|
+
"Bf4jedk": "fgfkb25",
|
19
17
|
"a9b677": "f16dn6v3",
|
20
18
|
"Bqenvij": "f3mu39s",
|
21
19
|
"z8tnut": "f1g0x7ka",
|
@@ -36,7 +34,7 @@ const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
|
|
36
34
|
|
37
35
|
const useCounterBadgeStyles = state => {
|
38
36
|
const styles = useStyles();
|
39
|
-
state.root.className = react_make_styles_1.mergeClasses(exports.counterBadgeClassName,
|
37
|
+
state.root.className = react_make_styles_1.mergeClasses(exports.counterBadgeClassName, state.dot && styles.dot, !state.showZero && state.count === 0 && !state.dot && styles.hide, state.root.className);
|
40
38
|
return useBadgeStyles_1.useBadgeStyles(state);
|
41
39
|
};
|
42
40
|
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../src/components/CounterBadge/useCounterBadgeStyles.ts"],"names":[],"mappings":";;;;;;;AAAA,MAAA,mBAAA,gBAAA,OAAA,CAAA,6BAAA,CAAA;;AACA,MAAA,gBAAA,gBAAA,OAAA,CAAA,yBAAA,CAAA;;AAGa,OAAA,CAAA,qBAAA,GAAwB,kBAAxB;;AAEb,MAAM,SAAS,gBAAG,mBAAA,SAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA
|
1
|
+
{"version":3,"sources":["../../../src/components/CounterBadge/useCounterBadgeStyles.ts"],"names":[],"mappings":";;;;;;;AAAA,MAAA,mBAAA,gBAAA,OAAA,CAAA,6BAAA,CAAA;;AACA,MAAA,gBAAA,gBAAA,OAAA,CAAA,yBAAA,CAAA;;AAGa,OAAA,CAAA,qBAAA,GAAwB,kBAAxB;;AAEb,MAAM,SAAS,gBAAG,mBAAA,SAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAYA;;AAEG;;;AACI,MAAM,qBAAqB,GAAI,KAAD,IAAgD;AACnF,QAAM,MAAM,GAAG,SAAS,EAAxB;AACA,EAAA,KAAK,CAAC,IAAN,CAAW,SAAX,GAAuB,mBAAA,CAAA,YAAA,CACrB,OAAA,CAAA,qBADqB,EAErB,KAAK,CAAC,GAAN,IAAa,MAAM,CAAC,GAFC,EAGrB,CAAC,KAAK,CAAC,QAAP,IAAmB,KAAK,CAAC,KAAN,KAAgB,CAAnC,IAAwC,CAAC,KAAK,CAAC,GAA/C,IAAsD,MAAM,CAAC,IAHxC,EAIrB,KAAK,CAAC,IAAN,CAAW,SAJU,CAAvB;AAMA,SAAO,gBAAA,CAAA,cAAA,CAAe,KAAf,CAAP;AACD,CATM;;AAAM,OAAA,CAAA,qBAAA,GAAqB,qBAArB","sourceRoot":""}
|
@@ -1,6 +1,7 @@
|
|
1
|
-
import type {
|
1
|
+
import type { ComponentProps, ComponentState } from '@fluentui/react-utilities';
|
2
|
+
import type { BadgeCommons, BadgeSlots } from '../Badge/index';
|
2
3
|
export declare type PresenceBadgeStatus = 'busy' | 'outOfOffice' | 'away' | 'available' | 'offline' | 'doNotDisturb';
|
3
|
-
export
|
4
|
+
export declare type PresenceBadgeCommons = {
|
4
5
|
/**
|
5
6
|
* Represents several status
|
6
7
|
* @default available
|
@@ -12,6 +13,6 @@ export interface PresenceBadgeCommons {
|
|
12
13
|
* @default false
|
13
14
|
*/
|
14
15
|
outOfOffice: boolean;
|
15
|
-
}
|
16
|
-
export declare type PresenceBadgeProps =
|
17
|
-
export declare type PresenceBadgeState =
|
16
|
+
} & BadgeCommons;
|
17
|
+
export declare type PresenceBadgeProps = ComponentProps<Partial<Pick<BadgeSlots, 'root'>>> & Partial<Pick<PresenceBadgeCommons, 'status' | 'outOfOffice' | 'size'>>;
|
18
|
+
export declare type PresenceBadgeState = PresenceBadgeCommons & ComponentState<BadgeSlots>;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import * as React from 'react';
|
2
|
+
import type { PresenceBadgeState } from './PresenceBadge.types';
|
3
|
+
export declare const presenceAwayFilled: Record<PresenceBadgeState['size'], React.FunctionComponent | null>;
|
4
|
+
export declare const presenceAvailableRegular: Record<PresenceBadgeState['size'], React.FunctionComponent | null>;
|
5
|
+
export declare const presenceAvailableFilled: Record<PresenceBadgeState['size'], React.FunctionComponent | null>;
|
6
|
+
export declare const presenceBusyFilled: Record<PresenceBadgeState['size'], React.FunctionComponent | null>;
|
7
|
+
export declare const presenceDndFilled: Record<PresenceBadgeState['size'], React.FunctionComponent | null>;
|
8
|
+
export declare const presenceDndRegular: Record<PresenceBadgeState['size'], React.FunctionComponent | null>;
|
9
|
+
export declare const presenceOofRegular: Record<PresenceBadgeState['size'], React.FunctionComponent | null>;
|
10
|
+
export declare const presenceOfflineRegular: Record<PresenceBadgeState['size'], React.FunctionComponent | null>;
|
11
|
+
export declare const presenceUnknownRegular: Record<PresenceBadgeState['size'], React.FunctionComponent | null>;
|
@@ -0,0 +1,136 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.presenceUnknownRegular = exports.presenceOfflineRegular = exports.presenceOofRegular = exports.presenceDndRegular = exports.presenceDndFilled = exports.presenceBusyFilled = exports.presenceAvailableFilled = exports.presenceAvailableRegular = exports.presenceAwayFilled = void 0;
|
7
|
+
|
8
|
+
const react_icons_1 = /*#__PURE__*/require("@fluentui/react-icons");
|
9
|
+
|
10
|
+
exports.presenceAwayFilled = {
|
11
|
+
// FIXME not all presence icon sizes are available
|
12
|
+
// https://github.com/microsoft/fluentui/issues/20650
|
13
|
+
tiny: react_icons_1.PresenceAway10Filled,
|
14
|
+
'extra-small': react_icons_1.PresenceAway10Filled,
|
15
|
+
small: react_icons_1.PresenceAway12Filled,
|
16
|
+
medium: react_icons_1.PresenceAway16Filled,
|
17
|
+
// FIXME not all presence icon sizes are available
|
18
|
+
// https://github.com/microsoft/fluentui/issues/20650
|
19
|
+
large: react_icons_1.PresenceAway16Filled,
|
20
|
+
// FIXME not all presence icon sizes are available
|
21
|
+
// https://github.com/microsoft/fluentui/issues/20650
|
22
|
+
'extra-large': react_icons_1.PresenceAway16Filled
|
23
|
+
};
|
24
|
+
exports.presenceAvailableRegular = {
|
25
|
+
// FIXME not all presence icon sizes are available
|
26
|
+
// https://github.com/microsoft/fluentui/issues/20650
|
27
|
+
tiny: react_icons_1.PresenceAvailable10Regular,
|
28
|
+
'extra-small': react_icons_1.PresenceAvailable10Regular,
|
29
|
+
small: react_icons_1.PresenceAvailable12Regular,
|
30
|
+
medium: react_icons_1.PresenceAvailable16Regular,
|
31
|
+
// FIXME not all presence icon sizes are available
|
32
|
+
// https://github.com/microsoft/fluentui/issues/20650
|
33
|
+
large: react_icons_1.PresenceAvailable16Regular,
|
34
|
+
// FIXME not all presence icon sizes are available
|
35
|
+
// https://github.com/microsoft/fluentui/issues/20650
|
36
|
+
'extra-large': react_icons_1.PresenceAvailable16Regular
|
37
|
+
};
|
38
|
+
exports.presenceAvailableFilled = {
|
39
|
+
// FIXME not all presence icon sizes are available
|
40
|
+
// https://github.com/microsoft/fluentui/issues/20650
|
41
|
+
tiny: react_icons_1.PresenceAvailable10Filled,
|
42
|
+
'extra-small': react_icons_1.PresenceAvailable10Filled,
|
43
|
+
small: react_icons_1.PresenceAvailable12Filled,
|
44
|
+
medium: react_icons_1.PresenceAvailable16Filled,
|
45
|
+
// FIXME not all presence icon sizes are available
|
46
|
+
// https://github.com/microsoft/fluentui/issues/20650
|
47
|
+
large: react_icons_1.PresenceAvailable16Filled,
|
48
|
+
// FIXME not all presence icon sizes are available
|
49
|
+
// https://github.com/microsoft/fluentui/issues/20650
|
50
|
+
'extra-large': react_icons_1.PresenceAvailable16Filled
|
51
|
+
};
|
52
|
+
exports.presenceBusyFilled = {
|
53
|
+
// FIXME not all presence icon sizes are available
|
54
|
+
// https://github.com/microsoft/fluentui/issues/20650
|
55
|
+
tiny: react_icons_1.PresenceBusy10Filled,
|
56
|
+
'extra-small': react_icons_1.PresenceBusy10Filled,
|
57
|
+
small: react_icons_1.PresenceBusy12Filled,
|
58
|
+
medium: react_icons_1.PresenceBusy16Filled,
|
59
|
+
// FIXME not all presence icon sizes are available
|
60
|
+
// https://github.com/microsoft/fluentui/issues/20650
|
61
|
+
large: react_icons_1.PresenceBusy16Filled,
|
62
|
+
// FIXME not all presence icon sizes are available
|
63
|
+
// https://github.com/microsoft/fluentui/issues/20650
|
64
|
+
'extra-large': react_icons_1.PresenceBusy16Filled
|
65
|
+
};
|
66
|
+
exports.presenceDndFilled = {
|
67
|
+
// FIXME not all presence icon sizes are available
|
68
|
+
// https://github.com/microsoft/fluentui/issues/20650
|
69
|
+
tiny: react_icons_1.PresenceDnd10Filled,
|
70
|
+
'extra-small': react_icons_1.PresenceDnd10Filled,
|
71
|
+
small: react_icons_1.PresenceDnd12Filled,
|
72
|
+
medium: react_icons_1.PresenceDnd16Filled,
|
73
|
+
// FIXME not all presence icon sizes are available
|
74
|
+
// https://github.com/microsoft/fluentui/issues/20650
|
75
|
+
large: react_icons_1.PresenceDnd16Filled,
|
76
|
+
// FIXME not all presence icon sizes are available
|
77
|
+
// https://github.com/microsoft/fluentui/issues/20650
|
78
|
+
'extra-large': react_icons_1.PresenceDnd16Filled
|
79
|
+
};
|
80
|
+
exports.presenceDndRegular = {
|
81
|
+
// FIXME not all presence icon sizes are available
|
82
|
+
// https://github.com/microsoft/fluentui/issues/20650
|
83
|
+
tiny: react_icons_1.PresenceDnd10Regular,
|
84
|
+
'extra-small': react_icons_1.PresenceDnd10Regular,
|
85
|
+
small: react_icons_1.PresenceDnd12Regular,
|
86
|
+
medium: react_icons_1.PresenceDnd16Regular,
|
87
|
+
// FIXME not all presence icon sizes are available
|
88
|
+
// https://github.com/microsoft/fluentui/issues/20650
|
89
|
+
large: react_icons_1.PresenceDnd16Regular,
|
90
|
+
// FIXME not all presence icon sizes are available
|
91
|
+
// https://github.com/microsoft/fluentui/issues/20650
|
92
|
+
'extra-large': react_icons_1.PresenceDnd16Regular
|
93
|
+
};
|
94
|
+
exports.presenceOofRegular = {
|
95
|
+
// FIXME not all presence icon sizes are available
|
96
|
+
// https://github.com/microsoft/fluentui/issues/20650
|
97
|
+
tiny: react_icons_1.PresenceOof10Regular,
|
98
|
+
'extra-small': react_icons_1.PresenceOof10Regular,
|
99
|
+
small: react_icons_1.PresenceOof12Regular,
|
100
|
+
medium: react_icons_1.PresenceOof16Regular,
|
101
|
+
// FIXME not all presence icon sizes are available
|
102
|
+
// https://github.com/microsoft/fluentui/issues/20650
|
103
|
+
large: react_icons_1.PresenceOof16Regular,
|
104
|
+
// FIXME not all presence icon sizes are available
|
105
|
+
// https://github.com/microsoft/fluentui/issues/20650
|
106
|
+
'extra-large': react_icons_1.PresenceOof16Regular
|
107
|
+
};
|
108
|
+
exports.presenceOfflineRegular = {
|
109
|
+
// FIXME not all presence icon sizes are available
|
110
|
+
// https://github.com/microsoft/fluentui/issues/20650
|
111
|
+
tiny: react_icons_1.PresenceOffline10Regular,
|
112
|
+
'extra-small': react_icons_1.PresenceOffline10Regular,
|
113
|
+
small: react_icons_1.PresenceOffline12Regular,
|
114
|
+
medium: react_icons_1.PresenceOffline16Regular,
|
115
|
+
// FIXME not all presence icon sizes are available
|
116
|
+
// https://github.com/microsoft/fluentui/issues/20650
|
117
|
+
large: react_icons_1.PresenceOffline16Regular,
|
118
|
+
// FIXME not all presence icon sizes are available
|
119
|
+
// https://github.com/microsoft/fluentui/issues/20650
|
120
|
+
'extra-large': react_icons_1.PresenceOffline16Regular
|
121
|
+
};
|
122
|
+
exports.presenceUnknownRegular = {
|
123
|
+
// FIXME not all presence icon sizes are available
|
124
|
+
// https://github.com/microsoft/fluentui/issues/20650
|
125
|
+
tiny: react_icons_1.PresenceUnknown10Regular,
|
126
|
+
'extra-small': react_icons_1.PresenceUnknown10Regular,
|
127
|
+
small: react_icons_1.PresenceUnknown12Regular,
|
128
|
+
medium: react_icons_1.PresenceUnknown16Regular,
|
129
|
+
// FIXME not all presence icon sizes are available
|
130
|
+
// https://github.com/microsoft/fluentui/issues/20650
|
131
|
+
large: react_icons_1.PresenceUnknown16Regular,
|
132
|
+
// FIXME not all presence icon sizes are available
|
133
|
+
// https://github.com/microsoft/fluentui/issues/20650
|
134
|
+
'extra-large': react_icons_1.PresenceUnknown16Regular
|
135
|
+
};
|
136
|
+
//# sourceMappingURL=presenceIcons.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../../src/components/PresenceBadge/presenceIcons.ts"],"names":[],"mappings":";;;;;;;AACA,MAAA,aAAA,gBAAA,OAAA,CAAA,uBAAA,CAAA;;AA+Ba,OAAA,CAAA,kBAAA,GAAyF;AACpG;AACA;AACA,EAAA,IAAI,EAAE,aAAA,CAAA,oBAH8F;AAIpG,iBAAe,aAAA,CAAA,oBAJqF;AAKpG,EAAA,KAAK,EAAE,aAAA,CAAA,oBAL6F;AAMpG,EAAA,MAAM,EAAE,aAAA,CAAA,oBAN4F;AAOpG;AACA;AACA,EAAA,KAAK,EAAE,aAAA,CAAA,oBAT6F;AAUpG;AACA;AACA,iBAAe,aAAA,CAAA;AAZqF,CAAzF;AAeA,OAAA,CAAA,wBAAA,GAA+F;AAC1G;AACA;AACA,EAAA,IAAI,EAAE,aAAA,CAAA,0BAHoG;AAI1G,iBAAe,aAAA,CAAA,0BAJ2F;AAK1G,EAAA,KAAK,EAAE,aAAA,CAAA,0BALmG;AAM1G,EAAA,MAAM,EAAE,aAAA,CAAA,0BANkG;AAO1G;AACA;AACA,EAAA,KAAK,EAAE,aAAA,CAAA,0BATmG;AAU1G;AACA;AACA,iBAAe,aAAA,CAAA;AAZ2F,CAA/F;AAeA,OAAA,CAAA,uBAAA,GAA8F;AACzG;AACA;AACA,EAAA,IAAI,EAAE,aAAA,CAAA,yBAHmG;AAIzG,iBAAe,aAAA,CAAA,yBAJ0F;AAKzG,EAAA,KAAK,EAAE,aAAA,CAAA,yBALkG;AAMzG,EAAA,MAAM,EAAE,aAAA,CAAA,yBANiG;AAOzG;AACA;AACA,EAAA,KAAK,EAAE,aAAA,CAAA,yBATkG;AAUzG;AACA;AACA,iBAAe,aAAA,CAAA;AAZ0F,CAA9F;AAeA,OAAA,CAAA,k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A,CAAA;AAZqF,CAAzF;AAeA,OAAA,CAAA,sBAAA,GAA6F;AACxG;AACA;AACA,EAAA,IAAI,EAAE,aAAA,CAAA,wBAHkG;AAIxG,iBAAe,aAAA,CAAA,wBAJyF;AAKxG,EAAA,KAAK,EAAE,aAAA,CAAA,wBALiG;AAMxG,EAAA,MAAM,EAAE,aAAA,CAAA,wBANgG;AAOxG;AACA;AACA,EAAA,KAAK,EAAE,aAAA,CAAA,wBATiG;AAUxG;AACA;AACA,iBAAe,aAAA,CAAA;AAZyF,CAA7F;AAeA,OAAA,CAAA,sBAAA,GAA6F;AACxG;AACA;AACA,EAAA,IAAI,EAAE,aAAA,CAAA,wBAHkG;AAIxG,iBAAe,aAAA,CAAA,wBAJyF;AAKxG,EAAA,KAAK,EAAE,aAAA,CAAA,wBALiG;AAMxG,EAAA,MAAM,EAAE,aAAA,CAAA,wBANgG;AAOxG;AACA;AACA,EAAA,KAAK,EAAE,aAAA,CAAA,wBATiG;AAUxG;AACA;AACA,iBAAe,aAAA,CAAA;AAZyF,CAA7F","sourceRoot":""}
|
@@ -9,39 +9,53 @@ const React = /*#__PURE__*/require("react");
|
|
9
9
|
|
10
10
|
const react_utilities_1 = /*#__PURE__*/require("@fluentui/react-utilities");
|
11
11
|
|
12
|
+
const presenceIcons_1 = /*#__PURE__*/require("./presenceIcons");
|
13
|
+
|
12
14
|
const index_1 = /*#__PURE__*/require("../Badge/index");
|
13
15
|
|
14
|
-
const
|
16
|
+
const iconMap = (status, outOfOffice, size) => {
|
17
|
+
switch (status) {
|
18
|
+
case 'available':
|
19
|
+
return outOfOffice ? presenceIcons_1.presenceAvailableRegular[size] : presenceIcons_1.presenceAvailableFilled[size];
|
15
20
|
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
21
|
+
case 'away':
|
22
|
+
return outOfOffice ? presenceIcons_1.presenceOfflineRegular[size] : presenceIcons_1.presenceAwayFilled[size];
|
23
|
+
|
24
|
+
case 'busy':
|
25
|
+
return outOfOffice ? presenceIcons_1.presenceUnknownRegular[size] : presenceIcons_1.presenceBusyFilled[size];
|
26
|
+
|
27
|
+
case 'doNotDisturb':
|
28
|
+
return outOfOffice ? presenceIcons_1.presenceDndRegular[size] : presenceIcons_1.presenceDndFilled[size];
|
29
|
+
|
30
|
+
case 'offline':
|
31
|
+
return presenceIcons_1.presenceOfflineRegular[size];
|
32
|
+
|
33
|
+
case 'outOfOffice':
|
34
|
+
return presenceIcons_1.presenceOofRegular[size];
|
35
|
+
}
|
36
|
+
};
|
24
37
|
/**
|
25
38
|
* Returns the props and state required to render the component
|
26
39
|
*/
|
27
40
|
|
28
41
|
|
29
42
|
const usePresenceBadge = (props, ref) => {
|
30
|
-
var _a, _b
|
43
|
+
var _a, _b;
|
31
44
|
|
32
45
|
const state = { ...index_1.useBadge({
|
33
|
-
size: '
|
46
|
+
size: 'medium',
|
34
47
|
...props,
|
35
|
-
icon: react_utilities_1.resolveShorthand(
|
48
|
+
icon: react_utilities_1.resolveShorthand(undefined, {
|
36
49
|
required: true
|
37
50
|
})
|
38
51
|
}, ref),
|
39
52
|
status: (_a = props.status) !== null && _a !== void 0 ? _a : 'available',
|
40
53
|
outOfOffice: (_b = props.outOfOffice) !== null && _b !== void 0 ? _b : false
|
41
54
|
};
|
55
|
+
const IconElement = iconMap(state.status, state.outOfOffice, state.size);
|
42
56
|
|
43
|
-
if (
|
44
|
-
state.icon.children =
|
57
|
+
if (IconElement) {
|
58
|
+
state.icon.children = React.createElement(IconElement, null);
|
45
59
|
}
|
46
60
|
|
47
61
|
return state;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../src/components/PresenceBadge/usePresenceBadge.tsx"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,iBAAA,gBAAA,OAAA,CAAA,2BAAA,CAAA;;AACA,MAAA,
|
1
|
+
{"version":3,"sources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