@fluentui/react-badge 0.0.0-nightlyc9ccb6f37d20211122.1 → 0.0.0-nightlyd3bf09bf8120211201.1
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.json +93 -16
- package/CHANGELOG.md +29 -11
- package/dist/react-badge.d.ts +5 -5
- package/lib/components/Badge/Badge.types.d.ts +1 -1
- package/lib/components/Badge/useBadgeStyles.js +42 -30
- package/lib/components/Badge/useBadgeStyles.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/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/useBadgeStyles.js +41 -29
- package/lib-commonjs/components/Badge/useBadgeStyles.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
package/CHANGELOG.json
CHANGED
@@ -2,58 +2,135 @@
|
|
2
2
|
"name": "@fluentui/react-badge",
|
3
3
|
"entries": [
|
4
4
|
{
|
5
|
-
"date": "
|
6
|
-
"tag": "@fluentui/react-badge_v0.0.0-
|
7
|
-
"version": "0.0.0-
|
5
|
+
"date": "Wed, 01 Dec 2021 04:25:35 GMT",
|
6
|
+
"tag": "@fluentui/react-badge_v0.0.0-nightlyd3bf09bf8120211201.1",
|
7
|
+
"version": "0.0.0-nightlyd3bf09bf8120211201.1",
|
8
8
|
"comments": {
|
9
9
|
"prerelease": [
|
10
10
|
{
|
11
11
|
"author": "email not defined",
|
12
12
|
"package": "@fluentui/react-badge",
|
13
|
-
"commit": "
|
13
|
+
"commit": "40bec5fdab524f928e775fb2ed002822255eb2a7",
|
14
14
|
"comment": "Release nightly v9"
|
15
15
|
},
|
16
|
+
{
|
17
|
+
"author": "olfedias@microsoft.com",
|
18
|
+
"package": "@fluentui/react-badge",
|
19
|
+
"commit": "5a49512b8e33d5a588212069a1f2827b806d584c",
|
20
|
+
"comment": "update styles to not use CSS shorthands"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"author": "beachball",
|
24
|
+
"package": "@fluentui/react-badge",
|
25
|
+
"comment": "Bump @fluentui/react-make-styles to v0.0.0-nightlyd3bf09bf8120211201.1",
|
26
|
+
"commit": "40bec5fdab524f928e775fb2ed002822255eb2a7"
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"author": "beachball",
|
30
|
+
"package": "@fluentui/react-badge",
|
31
|
+
"comment": "Bump @fluentui/react-theme to v0.0.0-nightlyd3bf09bf8120211201.1",
|
32
|
+
"commit": "40bec5fdab524f928e775fb2ed002822255eb2a7"
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"author": "beachball",
|
36
|
+
"package": "@fluentui/react-badge",
|
37
|
+
"comment": "Bump @fluentui/react-utilities to v0.0.0-nightlyd3bf09bf8120211201.1",
|
38
|
+
"commit": "40bec5fdab524f928e775fb2ed002822255eb2a7"
|
39
|
+
},
|
40
|
+
{
|
41
|
+
"author": "beachball",
|
42
|
+
"package": "@fluentui/react-badge",
|
43
|
+
"comment": "Bump @fluentui/babel-make-styles to v0.0.0-nightlyd3bf09bf8120211201.1",
|
44
|
+
"commit": "40bec5fdab524f928e775fb2ed002822255eb2a7"
|
45
|
+
},
|
46
|
+
{
|
47
|
+
"author": "beachball",
|
48
|
+
"package": "@fluentui/react-badge",
|
49
|
+
"comment": "Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightlyd3bf09bf8120211201.1",
|
50
|
+
"commit": "40bec5fdab524f928e775fb2ed002822255eb2a7"
|
51
|
+
},
|
52
|
+
{
|
53
|
+
"author": "beachball",
|
54
|
+
"package": "@fluentui/react-badge",
|
55
|
+
"comment": "Bump @fluentui/react-conformance-make-styles to v0.0.0-nightlyd3bf09bf8120211201.1",
|
56
|
+
"commit": "40bec5fdab524f928e775fb2ed002822255eb2a7"
|
57
|
+
}
|
58
|
+
]
|
59
|
+
}
|
60
|
+
},
|
61
|
+
{
|
62
|
+
"date": "Thu, 25 Nov 2021 08:34:11 GMT",
|
63
|
+
"tag": "@fluentui/react-badge_v9.0.0-beta.4",
|
64
|
+
"version": "9.0.0-beta.4",
|
65
|
+
"comments": {
|
66
|
+
"none": [
|
67
|
+
{
|
68
|
+
"author": "lingfangao@hotmail.com",
|
69
|
+
"package": "@fluentui/react-badge",
|
70
|
+
"commit": "cc3fe8e29cbb4b9d03f26e9a06b58d7aa24ffb65",
|
71
|
+
"comment": "Migrate package to use solution style ts-config"
|
72
|
+
}
|
73
|
+
],
|
74
|
+
"prerelease": [
|
75
|
+
{
|
76
|
+
"author": "lingfangao@hotmail.com",
|
77
|
+
"package": "@fluentui/react-badge",
|
78
|
+
"commit": "6183f8ae46233d7ecec2a3d12e7348b7b41eea0c",
|
79
|
+
"comment": "various styling fixes for base Badge component"
|
80
|
+
},
|
16
81
|
{
|
17
82
|
"author": "lingfangao@hotmail.com",
|
18
83
|
"package": "@fluentui/react-badge",
|
19
84
|
"commit": "c5c66cb39e6906f506bf30c9e56c0839f10e2d51",
|
20
85
|
"comment": "Reduce colour set and align with base badge colours"
|
21
86
|
},
|
87
|
+
{
|
88
|
+
"author": "ololubek@microsoft.com",
|
89
|
+
"package": "@fluentui/react-badge",
|
90
|
+
"commit": "ecab13cfd6ac22657020db8f86eb89f952b0f953",
|
91
|
+
"comment": "update react-icons dependency"
|
92
|
+
},
|
93
|
+
{
|
94
|
+
"author": "lingfangao@hotmail.com",
|
95
|
+
"package": "@fluentui/react-badge",
|
96
|
+
"commit": "48e52fc91e41ab721c9842f8f68ac84ad569a851",
|
97
|
+
"comment": "Remove props and return correct presence icons"
|
98
|
+
},
|
22
99
|
{
|
23
100
|
"author": "beachball",
|
24
101
|
"package": "@fluentui/react-badge",
|
25
|
-
"comment": "Bump @fluentui/react-make-styles to
|
26
|
-
"commit": "
|
102
|
+
"comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.4",
|
103
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
27
104
|
},
|
28
105
|
{
|
29
106
|
"author": "beachball",
|
30
107
|
"package": "@fluentui/react-badge",
|
31
|
-
"comment": "Bump @fluentui/react-theme to
|
32
|
-
"commit": "
|
108
|
+
"comment": "Bump @fluentui/react-theme to v9.0.0-beta.4",
|
109
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
33
110
|
},
|
34
111
|
{
|
35
112
|
"author": "beachball",
|
36
113
|
"package": "@fluentui/react-badge",
|
37
|
-
"comment": "Bump @fluentui/react-utilities to
|
38
|
-
"commit": "
|
114
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-beta.4",
|
115
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
39
116
|
},
|
40
117
|
{
|
41
118
|
"author": "beachball",
|
42
119
|
"package": "@fluentui/react-badge",
|
43
|
-
"comment": "Bump @fluentui/babel-make-styles to
|
44
|
-
"commit": "
|
120
|
+
"comment": "Bump @fluentui/babel-make-styles to v9.0.0-beta.4",
|
121
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
45
122
|
},
|
46
123
|
{
|
47
124
|
"author": "beachball",
|
48
125
|
"package": "@fluentui/react-badge",
|
49
|
-
"comment": "Bump @fluentui/jest-serializer-make-styles to
|
50
|
-
"commit": "
|
126
|
+
"comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.4",
|
127
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
51
128
|
},
|
52
129
|
{
|
53
130
|
"author": "beachball",
|
54
131
|
"package": "@fluentui/react-badge",
|
55
|
-
"comment": "Bump @fluentui/react-conformance-make-styles to
|
56
|
-
"commit": "
|
132
|
+
"comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.4",
|
133
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
57
134
|
}
|
58
135
|
]
|
59
136
|
}
|
package/CHANGELOG.md
CHANGED
@@ -1,24 +1,42 @@
|
|
1
1
|
# Change Log - @fluentui/react-badge
|
2
2
|
|
3
|
-
This log was last generated on
|
3
|
+
This log was last generated on Wed, 01 Dec 2021 04:25:35 GMT and should not be manually modified.
|
4
4
|
|
5
5
|
<!-- Start content -->
|
6
6
|
|
7
|
-
## [0.0.0-
|
7
|
+
## [0.0.0-nightlyd3bf09bf8120211201.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-badge_v0.0.0-nightlyd3bf09bf8120211201.1)
|
8
8
|
|
9
|
-
|
10
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-badge_v9.0.0-beta.
|
9
|
+
Wed, 01 Dec 2021 04:25:35 GMT
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-badge_v9.0.0-beta.4..@fluentui/react-badge_v0.0.0-nightlyd3bf09bf8120211201.1)
|
11
11
|
|
12
12
|
### Changes
|
13
13
|
|
14
|
-
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/
|
14
|
+
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/40bec5fdab524f928e775fb2ed002822255eb2a7) by email not defined)
|
15
|
+
- update styles to not use CSS shorthands ([PR #20802](https://github.com/microsoft/fluentui/pull/20802) by olfedias@microsoft.com)
|
16
|
+
- Bump @fluentui/react-make-styles to v0.0.0-nightlyd3bf09bf8120211201.1 ([commit](https://github.com/microsoft/fluentui/commit/40bec5fdab524f928e775fb2ed002822255eb2a7) by beachball)
|
17
|
+
- Bump @fluentui/react-theme to v0.0.0-nightlyd3bf09bf8120211201.1 ([commit](https://github.com/microsoft/fluentui/commit/40bec5fdab524f928e775fb2ed002822255eb2a7) by beachball)
|
18
|
+
- Bump @fluentui/react-utilities to v0.0.0-nightlyd3bf09bf8120211201.1 ([commit](https://github.com/microsoft/fluentui/commit/40bec5fdab524f928e775fb2ed002822255eb2a7) by beachball)
|
19
|
+
- Bump @fluentui/babel-make-styles to v0.0.0-nightlyd3bf09bf8120211201.1 ([commit](https://github.com/microsoft/fluentui/commit/40bec5fdab524f928e775fb2ed002822255eb2a7) by beachball)
|
20
|
+
- Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightlyd3bf09bf8120211201.1 ([commit](https://github.com/microsoft/fluentui/commit/40bec5fdab524f928e775fb2ed002822255eb2a7) by beachball)
|
21
|
+
- Bump @fluentui/react-conformance-make-styles to v0.0.0-nightlyd3bf09bf8120211201.1 ([commit](https://github.com/microsoft/fluentui/commit/40bec5fdab524f928e775fb2ed002822255eb2a7) by beachball)
|
22
|
+
|
23
|
+
## [9.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-badge_v9.0.0-beta.4)
|
24
|
+
|
25
|
+
Thu, 25 Nov 2021 08:34:11 GMT
|
26
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-badge_v9.0.0-beta.3..@fluentui/react-badge_v9.0.0-beta.4)
|
27
|
+
|
28
|
+
### Changes
|
29
|
+
|
30
|
+
- various styling fixes for base Badge component ([PR #20693](https://github.com/microsoft/fluentui/pull/20693) by lingfangao@hotmail.com)
|
15
31
|
- Reduce colour set and align with base badge colours ([PR #20596](https://github.com/microsoft/fluentui/pull/20596) by lingfangao@hotmail.com)
|
16
|
-
-
|
17
|
-
-
|
18
|
-
- Bump @fluentui/react-
|
19
|
-
- Bump @fluentui/
|
20
|
-
- Bump @fluentui/
|
21
|
-
- Bump @fluentui/
|
32
|
+
- update react-icons dependency ([PR #20563](https://github.com/microsoft/fluentui/pull/20563) by ololubek@microsoft.com)
|
33
|
+
- Remove props and return correct presence icons ([PR #20630](https://github.com/microsoft/fluentui/pull/20630) by lingfangao@hotmail.com)
|
34
|
+
- Bump @fluentui/react-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
35
|
+
- Bump @fluentui/react-theme to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
36
|
+
- Bump @fluentui/react-utilities to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
37
|
+
- Bump @fluentui/babel-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
38
|
+
- Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
39
|
+
- Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
22
40
|
|
23
41
|
## [9.0.0-beta.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-badge_v9.0.0-beta.3)
|
24
42
|
|
package/dist/react-badge.d.ts
CHANGED
@@ -42,7 +42,7 @@ export declare type BadgeCommons = {
|
|
42
42
|
export declare type BadgeProps = ComponentProps<Partial<BadgeSlots>> & Partial<BadgeCommons>;
|
43
43
|
|
44
44
|
export declare type BadgeSlots = {
|
45
|
-
root: ObjectShorthandProps<React_2.HTMLAttributes<HTMLElement>>;
|
45
|
+
root: ObjectShorthandProps<Omit<React_2.HTMLAttributes<HTMLElement>, 'color'>>;
|
46
46
|
icon?: ObjectShorthandProps<React_2.HTMLAttributes<HTMLElement>>;
|
47
47
|
};
|
48
48
|
|
@@ -110,7 +110,7 @@ export declare const PresenceBadge: ForwardRefComponent<PresenceBadgeProps>;
|
|
110
110
|
|
111
111
|
export declare const presenceBadgeClassName = "fui-PresenceBadge";
|
112
112
|
|
113
|
-
export declare
|
113
|
+
export declare type PresenceBadgeCommons = {
|
114
114
|
/**
|
115
115
|
* Represents several status
|
116
116
|
* @default available
|
@@ -122,11 +122,11 @@ export declare interface PresenceBadgeCommons {
|
|
122
122
|
* @default false
|
123
123
|
*/
|
124
124
|
outOfOffice: boolean;
|
125
|
-
}
|
125
|
+
} & BadgeCommons;
|
126
126
|
|
127
|
-
export declare type PresenceBadgeProps =
|
127
|
+
export declare type PresenceBadgeProps = ComponentProps<Partial<Pick<BadgeSlots, 'root'>>> & Partial<Pick<PresenceBadgeCommons, 'status' | 'outOfOffice' | 'size'>>;
|
128
128
|
|
129
|
-
export declare type PresenceBadgeState =
|
129
|
+
export declare type PresenceBadgeState = PresenceBadgeCommons & ComponentState<BadgeSlots>;
|
130
130
|
|
131
131
|
export declare type PresenceBadgeStatus = 'busy' | 'outOfOffice' | 'away' | 'available' | 'offline' | 'doNotDisturb';
|
132
132
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import * as React from 'react';
|
2
2
|
import type { ComponentProps, ComponentState, ObjectShorthandProps } from '@fluentui/react-utilities';
|
3
3
|
export declare type BadgeSlots = {
|
4
|
-
root: ObjectShorthandProps<React.HTMLAttributes<HTMLElement>>;
|
4
|
+
root: ObjectShorthandProps<Omit<React.HTMLAttributes<HTMLElement>, 'color'>>;
|
5
5
|
icon?: ObjectShorthandProps<React.HTMLAttributes<HTMLElement>>;
|
6
6
|
};
|
7
7
|
export declare type BadgeCommons = {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { mergeClasses, __styles } from '@fluentui/react-make-styles';
|
1
|
+
import { shorthands, mergeClasses, __styles } from '@fluentui/react-make-styles';
|
2
2
|
export const badgeClassName = 'fui-Badge';
|
3
3
|
|
4
4
|
const useStyles = /*#__PURE__*/__styles({
|
@@ -40,13 +40,15 @@ const useStyles = /*#__PURE__*/__styles({
|
|
40
40
|
"Bqenvij": "fd461yt",
|
41
41
|
"z189sj": ["f1sgzk6v", "f1bg5zqg"],
|
42
42
|
"uwmqm3": ["f1bg5zqg", "f1sgzk6v"],
|
43
|
-
"
|
43
|
+
"i8kkvl": "f1q8lukm",
|
44
|
+
"Belr9w4": "f1ma2n7n",
|
44
45
|
"Be2twd7": "f1n0apg3"
|
45
46
|
},
|
46
47
|
"rootMedium": {
|
47
48
|
"Bqenvij": "fjamq6b",
|
48
49
|
"Bf4jedk": "f11u7vat",
|
49
|
-
"
|
50
|
+
"i8kkvl": "f1q8lukm",
|
51
|
+
"Belr9w4": "f1ma2n7n",
|
50
52
|
"z189sj": ["f19lj068", "f177v4lu"],
|
51
53
|
"uwmqm3": ["f177v4lu", "f19lj068"],
|
52
54
|
"Be2twd7": "fnmn6fi"
|
@@ -57,14 +59,16 @@ const useStyles = /*#__PURE__*/__styles({
|
|
57
59
|
"z189sj": ["f19lj068", "f177v4lu"],
|
58
60
|
"uwmqm3": ["f177v4lu", "f19lj068"],
|
59
61
|
"Be2twd7": "f1ugzwwg",
|
60
|
-
"
|
62
|
+
"i8kkvl": "fgfbwa2",
|
63
|
+
"Belr9w4": "f1y3hx6l"
|
61
64
|
},
|
62
65
|
"rootExtraLarge": {
|
63
66
|
"Bf4jedk": "fwbmr0d",
|
64
67
|
"Bqenvij": "f1d2rq10",
|
65
68
|
"z189sj": ["f11qrl6u", "fjlbh76"],
|
66
69
|
"uwmqm3": ["fjlbh76", "f11qrl6u"],
|
67
|
-
"
|
70
|
+
"i8kkvl": "fgfbwa2",
|
71
|
+
"Belr9w4": "f1y3hx6l",
|
68
72
|
"Be2twd7": "f1ugzwwg",
|
69
73
|
"B4j52fo": "f18zi460",
|
70
74
|
"Bekrc4i": ["f1wpluaz", "fsfsuhs"],
|
@@ -72,16 +76,25 @@ const useStyles = /*#__PURE__*/__styles({
|
|
72
76
|
"ibv6hh": ["fsfsuhs", "f1wpluaz"]
|
73
77
|
},
|
74
78
|
"rootRounded": {
|
75
|
-
"
|
79
|
+
"Bbmb7ep": ["f1aa9q02", "f16jpd5f"],
|
80
|
+
"Beyfa6y": ["f16jpd5f", "f1aa9q02"],
|
81
|
+
"B7oj6ja": ["f1jar5jt", "fyu767a"],
|
82
|
+
"Btl43ni": ["fyu767a", "f1jar5jt"]
|
76
83
|
},
|
77
84
|
"rootRoundedSmallToTiny": {
|
78
|
-
"
|
85
|
+
"Bbmb7ep": ["f1g3puop", "fi2rrw2"],
|
86
|
+
"Beyfa6y": ["fi2rrw2", "f1g3puop"],
|
87
|
+
"B7oj6ja": ["f1rstyi9", "f1s4nn1u"],
|
88
|
+
"Btl43ni": ["f1s4nn1u", "f1rstyi9"]
|
79
89
|
},
|
80
90
|
"rootCircular": {
|
81
|
-
"
|
91
|
+
"Bbmb7ep": ["fxyqdnz", "fib3qew"],
|
92
|
+
"Beyfa6y": ["fib3qew", "fxyqdnz"],
|
93
|
+
"B7oj6ja": ["f14p2bvz", "fdqj3q4"],
|
94
|
+
"Btl43ni": ["fdqj3q4", "f14p2bvz"]
|
82
95
|
},
|
83
96
|
"rootGhost": {
|
84
|
-
"
|
97
|
+
"De3pzq": "f3rmtva",
|
85
98
|
"icvyot": "f1ern45e",
|
86
99
|
"vrafjx": ["f1n71otn", "f1deefiw"],
|
87
100
|
"oivjwe": "f1h8hb77",
|
@@ -89,7 +102,7 @@ const useStyles = /*#__PURE__*/__styles({
|
|
89
102
|
"sj55zd": "f1817uup"
|
90
103
|
},
|
91
104
|
"rootOutline": {
|
92
|
-
"
|
105
|
+
"De3pzq": "f3rmtva",
|
93
106
|
"g2u3we": "f1vp46cd",
|
94
107
|
"h3c5rm": ["f1lxz1cr", "ff8nh0i"],
|
95
108
|
"B9xav0g": "fe9j8it",
|
@@ -99,10 +112,10 @@ const useStyles = /*#__PURE__*/__styles({
|
|
99
112
|
"rootTint": {
|
100
113
|
"De3pzq": "f16xkysk",
|
101
114
|
"sj55zd": "faj9fo0",
|
102
|
-
"g2u3we": "
|
103
|
-
"h3c5rm": ["
|
104
|
-
"B9xav0g": "
|
105
|
-
"zhjwy3": ["
|
115
|
+
"g2u3we": "f161y7kd",
|
116
|
+
"h3c5rm": ["f1c8dzaj", "f1sl6hi9"],
|
117
|
+
"B9xav0g": "f1619yhw",
|
118
|
+
"zhjwy3": ["f1sl6hi9", "f1c8dzaj"]
|
106
119
|
},
|
107
120
|
"rootFilledDanger": {
|
108
121
|
"De3pzq": "fdl5y0r",
|
@@ -133,10 +146,10 @@ const useStyles = /*#__PURE__*/__styles({
|
|
133
146
|
"rootFilledSevere": {
|
134
147
|
"De3pzq": "f1s438gw",
|
135
148
|
"sj55zd": "f1phragk",
|
136
|
-
"g2u3we": "
|
137
|
-
"h3c5rm": ["
|
138
|
-
"B9xav0g": "
|
139
|
-
"zhjwy3": ["
|
149
|
+
"g2u3we": "fghlq4f",
|
150
|
+
"h3c5rm": ["f1gn591s", "fjscplz"],
|
151
|
+
"B9xav0g": "fb073pr",
|
152
|
+
"zhjwy3": ["fjscplz", "f1gn591s"]
|
140
153
|
},
|
141
154
|
"rootOutlineSevere": {
|
142
155
|
"sj55zd": "f1l8vj45",
|
@@ -185,10 +198,10 @@ const useStyles = /*#__PURE__*/__styles({
|
|
185
198
|
"rootFilledSuccess": {
|
186
199
|
"De3pzq": "flxk52p",
|
187
200
|
"sj55zd": "f1phragk",
|
188
|
-
"g2u3we": "
|
189
|
-
"h3c5rm": ["
|
190
|
-
"B9xav0g": "
|
191
|
-
"zhjwy3": ["
|
201
|
+
"g2u3we": "fghlq4f",
|
202
|
+
"h3c5rm": ["f1gn591s", "fjscplz"],
|
203
|
+
"B9xav0g": "fb073pr",
|
204
|
+
"zhjwy3": ["fjscplz", "f1gn591s"]
|
192
205
|
},
|
193
206
|
"rootOutlineSuccess": {
|
194
207
|
"sj55zd": "f1sms7z7",
|
@@ -243,7 +256,6 @@ const useStyles = /*#__PURE__*/__styles({
|
|
243
256
|
"zhjwy3": ["fjscplz", "f1gn591s"]
|
244
257
|
},
|
245
258
|
"rootOutlineInformative": {
|
246
|
-
"De3pzq": "f1s438gw",
|
247
259
|
"sj55zd": "f11z005f",
|
248
260
|
"g2u3we": "f1o6yoc8",
|
249
261
|
"h3c5rm": ["fdav146", "f6dh4jx"],
|
@@ -270,11 +282,11 @@ const useStyles = /*#__PURE__*/__styles({
|
|
270
282
|
"zhjwy3": ["fjscplz", "f1gn591s"]
|
271
283
|
},
|
272
284
|
"rootOutlineSubtle": {
|
273
|
-
"sj55zd": "
|
274
|
-
"g2u3we": "
|
275
|
-
"h3c5rm": ["
|
276
|
-
"B9xav0g": "
|
277
|
-
"zhjwy3": ["
|
285
|
+
"sj55zd": "fqpbvvt",
|
286
|
+
"g2u3we": "fgtodeh",
|
287
|
+
"h3c5rm": ["fm9lria", "fvwj3xt"],
|
288
|
+
"B9xav0g": "f7asi1z",
|
289
|
+
"zhjwy3": ["fvwj3xt", "fm9lria"]
|
278
290
|
},
|
279
291
|
"rootTintSubtle": {
|
280
292
|
"De3pzq": "fxugw4r",
|
@@ -285,7 +297,7 @@ const useStyles = /*#__PURE__*/__styles({
|
|
285
297
|
"zhjwy3": ["fw35ms5", "f7pw515"]
|
286
298
|
},
|
287
299
|
"rootGhostSubtle": {
|
288
|
-
"sj55zd": "
|
300
|
+
"sj55zd": "fqpbvvt"
|
289
301
|
},
|
290
302
|
"icon": {
|
291
303
|
"mc9l5x": "f22iagw",
|
@@ -294,7 +306,7 @@ const useStyles = /*#__PURE__*/__styles({
|
|
294
306
|
"Bqenvij": "f1l02sjl"
|
295
307
|
}
|
296
308
|
}, {
|
297
|
-
"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;}", ".f1sgzk6v{padding-right:6px;}", ".f1bg5zqg{padding-left:6px;}", ".
|
309
|
+
"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;}", ".f1sgzk6v{padding-right:6px;}", ".f1bg5zqg{padding-left:6px;}", ".f1q8lukm{-webkit-column-gap:4px;column-gap:4px;}", ".f1ma2n7n{row-gap:4px;}", ".f1n0apg3{font-size:8px;}", ".fjamq6b{height:20px;}", ".f11u7vat{min-width:20px;}", ".f19lj068{padding-right:8px;}", ".f177v4lu{padding-left:8px;}", ".fnmn6fi{font-size:10px;}", ".f17fgpbq{min-width:24px;}", ".frvgh55{height:24px;}", ".f1ugzwwg{font-size:12px;}", ".fgfbwa2{-webkit-column-gap:6px;column-gap:6px;}", ".f1y3hx6l{row-gap:6px;}", ".fwbmr0d{min-width:32px;}", ".f1d2rq10{height:32px;}", ".f11qrl6u{padding-right:12px;}", ".fjlbh76{padding-left:12px;}", ".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);}", ".fkvqoq2{border-top-color:var(--colorPaletteRedForeground2);}", ".f1abpjw7{border-right-color:var(--colorPaletteRedForeground2);}", ".fzsnz0r{border-left-color:var(--colorPaletteRedForeground2);}", ".f9kvmvw{border-bottom-color:var(--colorPaletteRedForeground2);}", ".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);}", ".fnp0ra0{border-top-color:var(--colorNeutralForeground1);}", ".fanr40h{border-right-color:var(--colorNeutralForeground1);}", ".f1nwaeql{border-left-color:var(--colorNeutralForeground1);}", ".f15ntglx{border-bottom-color:var(--colorNeutralForeground1);}", ".f945g0u{background-color:var(--colorNeutralForeground3);}", ".f3vzo32{background-color:var(--colorNeutralBackground5);}", ".f11d4kpn{color:var(--colorNeutralForeground3);}", ".f11z005f{color:var(--colorNeutralBackground5);}", ".f1o6yoc8{border-top-color:var(--colorNeutralBackground5);}", ".fdav146{border-right-color:var(--colorNeutralBackground5);}", ".f6dh4jx{border-left-color:var(--colorNeutralBackground5);}", ".fhjohzm{border-bottom-color:var(--colorNeutralBackground5);}", ".f1ctqxl6{background-color:var(--colorNeutralBackground4);}", ".f68mrw8{border-top-color:var(--colorNeutralStroke2);}", ".f7pw515{border-right-color:var(--colorNeutralStroke2);}", ".fw35ms5{border-left-color:var(--colorNeutralStroke2);}", ".frpde29{border-bottom-color:var(--colorNeutralStroke2);}", ".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%;}"]
|
298
310
|
});
|
299
311
|
/**
|
300
312
|
* Applies style classnames to slots
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../src/components/Badge/useBadgeStyles.ts"],"names":[],"mappings":"AAAA,SAAS,
|
1
|
+
{"version":3,"sources":["../../../src/components/Badge/useBadgeStyles.ts"],"names":[],"mappings":"AAAA,SAAS,UAAT,EAAqB,YAArB,kBAAqD,6BAArD;AAGA,OAAO,MAAM,cAAc,GAAG,WAAvB;;AAEP,MAAM,SAAS,gBAAG;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;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;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;A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B,MAAM,CAAC,sBAtCJ,EAuCjC,MAAM,IAAI,aAAV,IAA2B,MAAM,CAAC,mBAvCD,EAwCjC,OAAO,IAAI,aAAX,IAA4B,MAAM,CAAC,oBAxCF,EAyCjC,QAAQ,IAAI,QAAZ,IAAwB,MAAM,CAAC,gBAzCE,EA0CjC,SAAS,IAAI,QAAb,IAAyB,MAAM,CAAC,iBA1CC,EA2CjC,MAAM,IAAI,QAAV,IAAsB,MAAM,CAAC,cA3CI,EA4CjC,OAAO,IAAI,QAAX,IAAuB,MAAM,CAAC,eA5CG,EA6CjC,KAAK,CAAC,IAAN,CAAW,SA7CsB,CAAnC;;AAgDA,MAAI,KAAK,CAAC,IAAV,EAAgB;AACd,IAAA,KAAK,CAAC,IAAN,CAAW,SAAX,GAAuB,YAAY,CAAC,MAAM,CAAC,IAAR,EAAc,KAAK,CAAC,IAAN,CAAW,SAAzB,CAAnC;AACD;;AAED,SAAO,KAAP;AACD,CAnEM","sourceRoot":""}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { mergeClasses, __styles } from '@fluentui/react-make-styles';
|
1
|
+
import { shorthands, mergeClasses, __styles } from '@fluentui/react-make-styles';
|
2
2
|
import { useBadgeStyles } from '../Badge/useBadgeStyles';
|
3
3
|
export const counterBadgeClassName = 'fui-CounterBadge';
|
4
4
|
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../src/components/CounterBadge/useCounterBadgeStyles.ts"],"names":[],"mappings":"AAAA,SAAS,
|
1
|
+
{"version":3,"sources":["../../../src/components/CounterBadge/useCounterBadgeStyles.ts"],"names":[],"mappings":"AAAA,SAAS,UAAT,EAAqB,YAArB,kBAAqD,6BAArD;AACA,SAAS,cAAT,QAA+B,yBAA/B;AAGA,OAAO,MAAM,qBAAqB,GAAG,kBAA9B;;AAEP,MAAM,SAAS,gBAAG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAcA;;AAEG;;;AACH,OAAO,MAAM,qBAAqB,GAAI,KAAD,IAAgD;AACnF,QAAM,MAAM,GAAG,SAAS,EAAxB;AACA,EAAA,KAAK,CAAC,IAAN,CAAW,SAAX,GAAuB,YAAY,CACjC,qBADiC,EAEjC,MAAM,CAAC,IAF0B,EAGjC,KAAK,CAAC,GAAN,IAAa,MAAM,CAAC,GAHa,EAIjC,CAAC,KAAK,CAAC,QAAP,IAAmB,KAAK,CAAC,KAAN,KAAgB,CAAnC,IAAwC,CAAC,KAAK,CAAC,GAA/C,IAAsD,MAAM,CAAC,IAJ5B,EAKjC,KAAK,CAAC,IAAN,CAAW,SALsB,CAAnC;AAOA,SAAO,cAAc,CAAC,KAAD,CAArB;AACD,CAVM","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>;
|