@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
package/CHANGELOG.json
CHANGED
@@ -2,58 +2,153 @@
|
|
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": "Tue, 14 Dec 2021 04:16:15 GMT",
|
6
|
+
"tag": "@fluentui/react-badge_v0.0.0-nightlyf1be0a972820211214.1",
|
7
|
+
"version": "0.0.0-nightlyf1be0a972820211214.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": "3bda806f2deef1997fc6c070450a4a7aacb036ca",
|
14
14
|
"comment": "Release nightly v9"
|
15
15
|
},
|
16
|
+
{
|
17
|
+
"author": "ololubek@microsoft.com",
|
18
|
+
"package": "@fluentui/react-badge",
|
19
|
+
"commit": "7cb2a5d8db1b6a1ddb638aa82d5815ab5ae84e69",
|
20
|
+
"comment": "(fix): Update react-icons dependency to latest version"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"author": "olfedias@microsoft.com",
|
24
|
+
"package": "@fluentui/react-badge",
|
25
|
+
"commit": "5a49512b8e33d5a588212069a1f2827b806d584c",
|
26
|
+
"comment": "update styles to not use CSS shorthands"
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"author": "lingfangao@hotmail.com",
|
30
|
+
"package": "@fluentui/react-badge",
|
31
|
+
"commit": "4e5e955acede0fc79334ef90a563de4bd35ee231",
|
32
|
+
"comment": "fix: use updated tokens for ghost and outline variants"
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"author": "lingfangao@hotmail.com",
|
36
|
+
"package": "@fluentui/react-badge",
|
37
|
+
"commit": "4e7acd7ff3c437663de70206416d3c19b6a87cfa",
|
38
|
+
"comment": "fix: Add uniform padding and modify gaps"
|
39
|
+
},
|
40
|
+
{
|
41
|
+
"author": "beachball",
|
42
|
+
"package": "@fluentui/react-badge",
|
43
|
+
"comment": "Bump @fluentui/react-make-styles to v0.0.0-nightlyf1be0a972820211214.1",
|
44
|
+
"commit": "3bda806f2deef1997fc6c070450a4a7aacb036ca"
|
45
|
+
},
|
46
|
+
{
|
47
|
+
"author": "beachball",
|
48
|
+
"package": "@fluentui/react-badge",
|
49
|
+
"comment": "Bump @fluentui/react-theme to v0.0.0-nightlyf1be0a972820211214.1",
|
50
|
+
"commit": "3bda806f2deef1997fc6c070450a4a7aacb036ca"
|
51
|
+
},
|
52
|
+
{
|
53
|
+
"author": "beachball",
|
54
|
+
"package": "@fluentui/react-badge",
|
55
|
+
"comment": "Bump @fluentui/react-utilities to v0.0.0-nightlyf1be0a972820211214.1",
|
56
|
+
"commit": "3bda806f2deef1997fc6c070450a4a7aacb036ca"
|
57
|
+
},
|
58
|
+
{
|
59
|
+
"author": "beachball",
|
60
|
+
"package": "@fluentui/react-badge",
|
61
|
+
"comment": "Bump @fluentui/babel-make-styles to v0.0.0-nightlyf1be0a972820211214.1",
|
62
|
+
"commit": "3bda806f2deef1997fc6c070450a4a7aacb036ca"
|
63
|
+
},
|
64
|
+
{
|
65
|
+
"author": "beachball",
|
66
|
+
"package": "@fluentui/react-badge",
|
67
|
+
"comment": "Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightlyf1be0a972820211214.1",
|
68
|
+
"commit": "3bda806f2deef1997fc6c070450a4a7aacb036ca"
|
69
|
+
},
|
70
|
+
{
|
71
|
+
"author": "beachball",
|
72
|
+
"package": "@fluentui/react-badge",
|
73
|
+
"comment": "Bump @fluentui/react-conformance-make-styles to v0.0.0-nightlyf1be0a972820211214.1",
|
74
|
+
"commit": "3bda806f2deef1997fc6c070450a4a7aacb036ca"
|
75
|
+
}
|
76
|
+
]
|
77
|
+
}
|
78
|
+
},
|
79
|
+
{
|
80
|
+
"date": "Thu, 25 Nov 2021 08:34:11 GMT",
|
81
|
+
"tag": "@fluentui/react-badge_v9.0.0-beta.4",
|
82
|
+
"version": "9.0.0-beta.4",
|
83
|
+
"comments": {
|
84
|
+
"none": [
|
85
|
+
{
|
86
|
+
"author": "lingfangao@hotmail.com",
|
87
|
+
"package": "@fluentui/react-badge",
|
88
|
+
"commit": "cc3fe8e29cbb4b9d03f26e9a06b58d7aa24ffb65",
|
89
|
+
"comment": "Migrate package to use solution style ts-config"
|
90
|
+
}
|
91
|
+
],
|
92
|
+
"prerelease": [
|
93
|
+
{
|
94
|
+
"author": "lingfangao@hotmail.com",
|
95
|
+
"package": "@fluentui/react-badge",
|
96
|
+
"commit": "6183f8ae46233d7ecec2a3d12e7348b7b41eea0c",
|
97
|
+
"comment": "various styling fixes for base Badge component"
|
98
|
+
},
|
16
99
|
{
|
17
100
|
"author": "lingfangao@hotmail.com",
|
18
101
|
"package": "@fluentui/react-badge",
|
19
102
|
"commit": "c5c66cb39e6906f506bf30c9e56c0839f10e2d51",
|
20
103
|
"comment": "Reduce colour set and align with base badge colours"
|
21
104
|
},
|
105
|
+
{
|
106
|
+
"author": "ololubek@microsoft.com",
|
107
|
+
"package": "@fluentui/react-badge",
|
108
|
+
"commit": "ecab13cfd6ac22657020db8f86eb89f952b0f953",
|
109
|
+
"comment": "update react-icons dependency"
|
110
|
+
},
|
111
|
+
{
|
112
|
+
"author": "lingfangao@hotmail.com",
|
113
|
+
"package": "@fluentui/react-badge",
|
114
|
+
"commit": "48e52fc91e41ab721c9842f8f68ac84ad569a851",
|
115
|
+
"comment": "Remove props and return correct presence icons"
|
116
|
+
},
|
22
117
|
{
|
23
118
|
"author": "beachball",
|
24
119
|
"package": "@fluentui/react-badge",
|
25
|
-
"comment": "Bump @fluentui/react-make-styles to
|
26
|
-
"commit": "
|
120
|
+
"comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.4",
|
121
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
27
122
|
},
|
28
123
|
{
|
29
124
|
"author": "beachball",
|
30
125
|
"package": "@fluentui/react-badge",
|
31
|
-
"comment": "Bump @fluentui/react-theme to
|
32
|
-
"commit": "
|
126
|
+
"comment": "Bump @fluentui/react-theme to v9.0.0-beta.4",
|
127
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
33
128
|
},
|
34
129
|
{
|
35
130
|
"author": "beachball",
|
36
131
|
"package": "@fluentui/react-badge",
|
37
|
-
"comment": "Bump @fluentui/react-utilities to
|
38
|
-
"commit": "
|
132
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-beta.4",
|
133
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
39
134
|
},
|
40
135
|
{
|
41
136
|
"author": "beachball",
|
42
137
|
"package": "@fluentui/react-badge",
|
43
|
-
"comment": "Bump @fluentui/babel-make-styles to
|
44
|
-
"commit": "
|
138
|
+
"comment": "Bump @fluentui/babel-make-styles to v9.0.0-beta.4",
|
139
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
45
140
|
},
|
46
141
|
{
|
47
142
|
"author": "beachball",
|
48
143
|
"package": "@fluentui/react-badge",
|
49
|
-
"comment": "Bump @fluentui/jest-serializer-make-styles to
|
50
|
-
"commit": "
|
144
|
+
"comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.4",
|
145
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
51
146
|
},
|
52
147
|
{
|
53
148
|
"author": "beachball",
|
54
149
|
"package": "@fluentui/react-badge",
|
55
|
-
"comment": "Bump @fluentui/react-conformance-make-styles to
|
56
|
-
"commit": "
|
150
|
+
"comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.4",
|
151
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
57
152
|
}
|
58
153
|
]
|
59
154
|
}
|
package/CHANGELOG.md
CHANGED
@@ -1,24 +1,45 @@
|
|
1
1
|
# Change Log - @fluentui/react-badge
|
2
2
|
|
3
|
-
This log was last generated on
|
3
|
+
This log was last generated on Tue, 14 Dec 2021 04:16:15 GMT and should not be manually modified.
|
4
4
|
|
5
5
|
<!-- Start content -->
|
6
6
|
|
7
|
-
## [0.0.0-
|
7
|
+
## [0.0.0-nightlyf1be0a972820211214.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-badge_v0.0.0-nightlyf1be0a972820211214.1)
|
8
8
|
|
9
|
-
|
10
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-badge_v9.0.0-beta.
|
9
|
+
Tue, 14 Dec 2021 04:16:15 GMT
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-badge_v9.0.0-beta.4..@fluentui/react-badge_v0.0.0-nightlyf1be0a972820211214.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/3bda806f2deef1997fc6c070450a4a7aacb036ca) by email not defined)
|
15
|
+
- (fix): Update react-icons dependency to latest version ([PR #20943](https://github.com/microsoft/fluentui/pull/20943) by ololubek@microsoft.com)
|
16
|
+
- update styles to not use CSS shorthands ([PR #20802](https://github.com/microsoft/fluentui/pull/20802) by olfedias@microsoft.com)
|
17
|
+
- fix: use updated tokens for ghost and outline variants ([PR #20893](https://github.com/microsoft/fluentui/pull/20893) by lingfangao@hotmail.com)
|
18
|
+
- fix: Add uniform padding and modify gaps ([PR #20974](https://github.com/microsoft/fluentui/pull/20974) by lingfangao@hotmail.com)
|
19
|
+
- Bump @fluentui/react-make-styles to v0.0.0-nightlyf1be0a972820211214.1 ([commit](https://github.com/microsoft/fluentui/commit/3bda806f2deef1997fc6c070450a4a7aacb036ca) by beachball)
|
20
|
+
- Bump @fluentui/react-theme to v0.0.0-nightlyf1be0a972820211214.1 ([commit](https://github.com/microsoft/fluentui/commit/3bda806f2deef1997fc6c070450a4a7aacb036ca) by beachball)
|
21
|
+
- Bump @fluentui/react-utilities to v0.0.0-nightlyf1be0a972820211214.1 ([commit](https://github.com/microsoft/fluentui/commit/3bda806f2deef1997fc6c070450a4a7aacb036ca) by beachball)
|
22
|
+
- Bump @fluentui/babel-make-styles to v0.0.0-nightlyf1be0a972820211214.1 ([commit](https://github.com/microsoft/fluentui/commit/3bda806f2deef1997fc6c070450a4a7aacb036ca) by beachball)
|
23
|
+
- Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightlyf1be0a972820211214.1 ([commit](https://github.com/microsoft/fluentui/commit/3bda806f2deef1997fc6c070450a4a7aacb036ca) by beachball)
|
24
|
+
- Bump @fluentui/react-conformance-make-styles to v0.0.0-nightlyf1be0a972820211214.1 ([commit](https://github.com/microsoft/fluentui/commit/3bda806f2deef1997fc6c070450a4a7aacb036ca) by beachball)
|
25
|
+
|
26
|
+
## [9.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-badge_v9.0.0-beta.4)
|
27
|
+
|
28
|
+
Thu, 25 Nov 2021 08:34:11 GMT
|
29
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-badge_v9.0.0-beta.3..@fluentui/react-badge_v9.0.0-beta.4)
|
30
|
+
|
31
|
+
### Changes
|
32
|
+
|
33
|
+
- various styling fixes for base Badge component ([PR #20693](https://github.com/microsoft/fluentui/pull/20693) by lingfangao@hotmail.com)
|
15
34
|
- 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/
|
35
|
+
- update react-icons dependency ([PR #20563](https://github.com/microsoft/fluentui/pull/20563) by ololubek@microsoft.com)
|
36
|
+
- Remove props and return correct presence icons ([PR #20630](https://github.com/microsoft/fluentui/pull/20630) by lingfangao@hotmail.com)
|
37
|
+
- Bump @fluentui/react-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
38
|
+
- Bump @fluentui/react-theme to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
39
|
+
- Bump @fluentui/react-utilities to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
40
|
+
- Bump @fluentui/babel-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
41
|
+
- Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
42
|
+
- Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
22
43
|
|
23
44
|
## [9.0.0-beta.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-badge_v9.0.0-beta.3)
|
24
45
|
|
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 = {
|
@@ -5,6 +5,9 @@ export const renderBadge = state => {
|
|
5
5
|
slots,
|
6
6
|
slotProps
|
7
7
|
} = getSlots(state, ['icon', 'root']);
|
8
|
-
return /*#__PURE__*/React.createElement(slots.root,
|
8
|
+
return /*#__PURE__*/React.createElement(slots.root, { ...slotProps.root
|
9
|
+
}, state.iconPosition === 'before' && /*#__PURE__*/React.createElement(slots.icon, { ...slotProps.icon
|
10
|
+
}), state.root.children, state.iconPosition === 'after' && /*#__PURE__*/React.createElement(slots.icon, { ...slotProps.icon
|
11
|
+
}));
|
9
12
|
};
|
10
13
|
//# sourceMappingURL=renderBadge.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../src/components/Badge/renderBadge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,QAAT,QAAyB,2BAAzB;AAGA,OAAO,MAAM,WAAW,GAAI,KAAD,IAAsB;AAC/C,QAAM;AAAE,IAAA,KAAF;AAAS,IAAA;AAAT,MAAuB,QAAQ,CAAa,KAAb,EAAoB,CAAC,MAAD,EAAS,MAAT,CAApB,CAArC;AAEA,sBACE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,
|
1
|
+
{"version":3,"sources":["../../../src/components/Badge/renderBadge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,QAAT,QAAyB,2BAAzB;AAGA,OAAO,MAAM,WAAW,GAAI,KAAD,IAAsB;AAC/C,QAAM;AAAE,IAAA,KAAF;AAAS,IAAA;AAAT,MAAuB,QAAQ,CAAa,KAAb,EAAoB,CAAC,MAAD,EAAS,MAAT,CAApB,CAArC;AAEA,sBACE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,GAAX,EACG,KAAK,CAAC,YAAN,KAAuB,QAAvB,iBAAmC,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,GAAX,CADtC,EAEG,KAAK,CAAC,IAAN,CAAW,QAFd,EAGG,KAAK,CAAC,YAAN,KAAuB,OAAvB,iBAAkC,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,GAAX,CAHrC,CADF;AAOD,CAVM","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
|
export const badgeClassName = 'fui-Badge';
|
3
3
|
|
4
4
|
const useStyles = /*#__PURE__*/__styles({
|
@@ -38,33 +38,45 @@ const useStyles = /*#__PURE__*/__styles({
|
|
38
38
|
"rootSmall": {
|
39
39
|
"Bf4jedk": "fq2vo04",
|
40
40
|
"Bqenvij": "fd461yt",
|
41
|
-
"
|
42
|
-
"
|
43
|
-
"
|
41
|
+
"z8tnut": "fq1loh5",
|
42
|
+
"z189sj": ["f12huiiw", "f161knb0"],
|
43
|
+
"Byoj8tv": "futqtb8",
|
44
|
+
"uwmqm3": ["f161knb0", "f12huiiw"],
|
45
|
+
"i8kkvl": "f1q8lukm",
|
46
|
+
"Belr9w4": "f1ma2n7n",
|
44
47
|
"Be2twd7": "f1n0apg3"
|
45
48
|
},
|
46
49
|
"rootMedium": {
|
47
50
|
"Bqenvij": "fjamq6b",
|
48
51
|
"Bf4jedk": "f11u7vat",
|
49
|
-
"
|
50
|
-
"
|
51
|
-
"
|
52
|
+
"i8kkvl": "f1q8lukm",
|
53
|
+
"Belr9w4": "f1ma2n7n",
|
54
|
+
"z8tnut": "f10ra9hq",
|
55
|
+
"z189sj": ["f8wuabp", "fycuoez"],
|
56
|
+
"Byoj8tv": "f1y2xyjm",
|
57
|
+
"uwmqm3": ["fycuoez", "f8wuabp"],
|
52
58
|
"Be2twd7": "fnmn6fi"
|
53
59
|
},
|
54
60
|
"rootLarge": {
|
55
61
|
"Bf4jedk": "f17fgpbq",
|
56
62
|
"Bqenvij": "frvgh55",
|
57
|
-
"
|
58
|
-
"
|
63
|
+
"z8tnut": "f10ra9hq",
|
64
|
+
"z189sj": ["f8wuabp", "fycuoez"],
|
65
|
+
"Byoj8tv": "f1y2xyjm",
|
66
|
+
"uwmqm3": ["fycuoez", "f8wuabp"],
|
59
67
|
"Be2twd7": "f1ugzwwg",
|
60
|
-
"
|
68
|
+
"i8kkvl": "f1q8lukm",
|
69
|
+
"Belr9w4": "f1ma2n7n"
|
61
70
|
},
|
62
71
|
"rootExtraLarge": {
|
63
72
|
"Bf4jedk": "fwbmr0d",
|
64
73
|
"Bqenvij": "f1d2rq10",
|
65
|
-
"
|
66
|
-
"
|
67
|
-
"
|
74
|
+
"z8tnut": "f1xp5gbu",
|
75
|
+
"z189sj": ["f1sgzk6v", "f1bg5zqg"],
|
76
|
+
"Byoj8tv": "f1d7kygh",
|
77
|
+
"uwmqm3": ["f1bg5zqg", "f1sgzk6v"],
|
78
|
+
"i8kkvl": "fgfbwa2",
|
79
|
+
"Belr9w4": "f1y3hx6l",
|
68
80
|
"Be2twd7": "f1ugzwwg",
|
69
81
|
"B4j52fo": "f18zi460",
|
70
82
|
"Bekrc4i": ["f1wpluaz", "fsfsuhs"],
|
@@ -72,16 +84,25 @@ const useStyles = /*#__PURE__*/__styles({
|
|
72
84
|
"ibv6hh": ["fsfsuhs", "f1wpluaz"]
|
73
85
|
},
|
74
86
|
"rootRounded": {
|
75
|
-
"
|
87
|
+
"Bbmb7ep": ["f1aa9q02", "f16jpd5f"],
|
88
|
+
"Beyfa6y": ["f16jpd5f", "f1aa9q02"],
|
89
|
+
"B7oj6ja": ["f1jar5jt", "fyu767a"],
|
90
|
+
"Btl43ni": ["fyu767a", "f1jar5jt"]
|
76
91
|
},
|
77
92
|
"rootRoundedSmallToTiny": {
|
78
|
-
"
|
93
|
+
"Bbmb7ep": ["f1g3puop", "fi2rrw2"],
|
94
|
+
"Beyfa6y": ["fi2rrw2", "f1g3puop"],
|
95
|
+
"B7oj6ja": ["f1rstyi9", "f1s4nn1u"],
|
96
|
+
"Btl43ni": ["f1s4nn1u", "f1rstyi9"]
|
79
97
|
},
|
80
98
|
"rootCircular": {
|
81
|
-
"
|
99
|
+
"Bbmb7ep": ["fxyqdnz", "fib3qew"],
|
100
|
+
"Beyfa6y": ["fib3qew", "fxyqdnz"],
|
101
|
+
"B7oj6ja": ["f14p2bvz", "fdqj3q4"],
|
102
|
+
"Btl43ni": ["fdqj3q4", "f14p2bvz"]
|
82
103
|
},
|
83
104
|
"rootGhost": {
|
84
|
-
"
|
105
|
+
"De3pzq": "f3rmtva",
|
85
106
|
"icvyot": "f1ern45e",
|
86
107
|
"vrafjx": ["f1n71otn", "f1deefiw"],
|
87
108
|
"oivjwe": "f1h8hb77",
|
@@ -89,7 +110,7 @@ const useStyles = /*#__PURE__*/__styles({
|
|
89
110
|
"sj55zd": "f1817uup"
|
90
111
|
},
|
91
112
|
"rootOutline": {
|
92
|
-
"
|
113
|
+
"De3pzq": "f3rmtva",
|
93
114
|
"g2u3we": "f1vp46cd",
|
94
115
|
"h3c5rm": ["f1lxz1cr", "ff8nh0i"],
|
95
116
|
"B9xav0g": "fe9j8it",
|
@@ -99,10 +120,10 @@ const useStyles = /*#__PURE__*/__styles({
|
|
99
120
|
"rootTint": {
|
100
121
|
"De3pzq": "f16xkysk",
|
101
122
|
"sj55zd": "faj9fo0",
|
102
|
-
"g2u3we": "
|
103
|
-
"h3c5rm": ["
|
104
|
-
"B9xav0g": "
|
105
|
-
"zhjwy3": ["
|
123
|
+
"g2u3we": "f161y7kd",
|
124
|
+
"h3c5rm": ["f1c8dzaj", "f1sl6hi9"],
|
125
|
+
"B9xav0g": "f1619yhw",
|
126
|
+
"zhjwy3": ["f1sl6hi9", "f1c8dzaj"]
|
106
127
|
},
|
107
128
|
"rootFilledDanger": {
|
108
129
|
"De3pzq": "fdl5y0r",
|
@@ -122,10 +143,10 @@ const useStyles = /*#__PURE__*/__styles({
|
|
122
143
|
"rootTintDanger": {
|
123
144
|
"De3pzq": "ff0poqj",
|
124
145
|
"sj55zd": "f1hcrxcs",
|
125
|
-
"g2u3we": "
|
126
|
-
"h3c5rm": ["
|
127
|
-
"B9xav0g": "
|
128
|
-
"zhjwy3": ["
|
146
|
+
"g2u3we": "f1oqjm8o",
|
147
|
+
"h3c5rm": ["fkgrb8g", "frb5wm0"],
|
148
|
+
"B9xav0g": "f1iai1ph",
|
149
|
+
"zhjwy3": ["frb5wm0", "fkgrb8g"]
|
129
150
|
},
|
130
151
|
"rootGhostDanger": {
|
131
152
|
"sj55zd": "f1whyuy6"
|
@@ -133,10 +154,10 @@ const useStyles = /*#__PURE__*/__styles({
|
|
133
154
|
"rootFilledSevere": {
|
134
155
|
"De3pzq": "f1s438gw",
|
135
156
|
"sj55zd": "f1phragk",
|
136
|
-
"g2u3we": "
|
137
|
-
"h3c5rm": ["
|
138
|
-
"B9xav0g": "
|
139
|
-
"zhjwy3": ["
|
157
|
+
"g2u3we": "fghlq4f",
|
158
|
+
"h3c5rm": ["f1gn591s", "fjscplz"],
|
159
|
+
"B9xav0g": "fb073pr",
|
160
|
+
"zhjwy3": ["fjscplz", "f1gn591s"]
|
140
161
|
},
|
141
162
|
"rootOutlineSevere": {
|
142
163
|
"sj55zd": "f1l8vj45",
|
@@ -185,10 +206,10 @@ const useStyles = /*#__PURE__*/__styles({
|
|
185
206
|
"rootFilledSuccess": {
|
186
207
|
"De3pzq": "flxk52p",
|
187
208
|
"sj55zd": "f1phragk",
|
188
|
-
"g2u3we": "
|
189
|
-
"h3c5rm": ["
|
190
|
-
"B9xav0g": "
|
191
|
-
"zhjwy3": ["
|
209
|
+
"g2u3we": "fghlq4f",
|
210
|
+
"h3c5rm": ["f1gn591s", "fjscplz"],
|
211
|
+
"B9xav0g": "fb073pr",
|
212
|
+
"zhjwy3": ["fjscplz", "f1gn591s"]
|
192
213
|
},
|
193
214
|
"rootOutlineSuccess": {
|
194
215
|
"sj55zd": "f1sms7z7",
|
@@ -217,11 +238,11 @@ const useStyles = /*#__PURE__*/__styles({
|
|
217
238
|
"zhjwy3": ["fjscplz", "f1gn591s"]
|
218
239
|
},
|
219
240
|
"rootOutlineImportant": {
|
220
|
-
"sj55zd": "
|
221
|
-
"g2u3we": "
|
222
|
-
"h3c5rm": ["
|
223
|
-
"B9xav0g": "
|
224
|
-
"zhjwy3": ["
|
241
|
+
"sj55zd": "f11d4kpn",
|
242
|
+
"g2u3we": "fq0vr37",
|
243
|
+
"h3c5rm": ["f1byw159", "f11cr0be"],
|
244
|
+
"B9xav0g": "f1c1zstj",
|
245
|
+
"zhjwy3": ["f11cr0be", "f1byw159"]
|
225
246
|
},
|
226
247
|
"rootTintImportant": {
|
227
248
|
"De3pzq": "f945g0u",
|
@@ -243,12 +264,11 @@ const useStyles = /*#__PURE__*/__styles({
|
|
243
264
|
"zhjwy3": ["fjscplz", "f1gn591s"]
|
244
265
|
},
|
245
266
|
"rootOutlineInformative": {
|
246
|
-
"
|
247
|
-
"
|
248
|
-
"
|
249
|
-
"
|
250
|
-
"
|
251
|
-
"zhjwy3": ["f6dh4jx", "fdav146"]
|
267
|
+
"sj55zd": "f11d4kpn",
|
268
|
+
"g2u3we": "f68mrw8",
|
269
|
+
"h3c5rm": ["f7pw515", "fw35ms5"],
|
270
|
+
"B9xav0g": "frpde29",
|
271
|
+
"zhjwy3": ["fw35ms5", "f7pw515"]
|
252
272
|
},
|
253
273
|
"rootTintInformative": {
|
254
274
|
"De3pzq": "f1ctqxl6",
|
@@ -259,7 +279,7 @@ const useStyles = /*#__PURE__*/__styles({
|
|
259
279
|
"zhjwy3": ["fw35ms5", "f7pw515"]
|
260
280
|
},
|
261
281
|
"rootGhostInformative": {
|
262
|
-
"sj55zd": "
|
282
|
+
"sj55zd": "f11d4kpn"
|
263
283
|
},
|
264
284
|
"rootFilledSubtle": {
|
265
285
|
"De3pzq": "fxugw4r",
|
@@ -270,11 +290,11 @@ const useStyles = /*#__PURE__*/__styles({
|
|
270
290
|
"zhjwy3": ["fjscplz", "f1gn591s"]
|
271
291
|
},
|
272
292
|
"rootOutlineSubtle": {
|
273
|
-
"sj55zd": "
|
274
|
-
"g2u3we": "
|
275
|
-
"h3c5rm": ["
|
276
|
-
"B9xav0g": "
|
277
|
-
"zhjwy3": ["
|
293
|
+
"sj55zd": "fqpbvvt",
|
294
|
+
"g2u3we": "fgtodeh",
|
295
|
+
"h3c5rm": ["fm9lria", "fvwj3xt"],
|
296
|
+
"B9xav0g": "f7asi1z",
|
297
|
+
"zhjwy3": ["fvwj3xt", "fm9lria"]
|
278
298
|
},
|
279
299
|
"rootTintSubtle": {
|
280
300
|
"De3pzq": "fxugw4r",
|
@@ -285,7 +305,7 @@ const useStyles = /*#__PURE__*/__styles({
|
|
285
305
|
"zhjwy3": ["fw35ms5", "f7pw515"]
|
286
306
|
},
|
287
307
|
"rootGhostSubtle": {
|
288
|
-
"sj55zd": "
|
308
|
+
"sj55zd": "fqpbvvt"
|
289
309
|
},
|
290
310
|
"icon": {
|
291
311
|
"mc9l5x": "f22iagw",
|
@@ -294,7 +314,7 @@ const useStyles = /*#__PURE__*/__styles({
|
|
294
314
|
"Bqenvij": "f1l02sjl"
|
295
315
|
}
|
296
316
|
}, {
|
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;}", ".
|
317
|
+
"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%;}"]
|
298
318
|
});
|
299
319
|
/**
|
300
320
|
* 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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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
|
|
5
5
|
const useStyles = /*#__PURE__*/__styles({
|
6
|
-
"root": {
|
7
|
-
"Bf4jedk": "fgfkb25"
|
8
|
-
},
|
9
6
|
"dot": {
|
7
|
+
"Bf4jedk": "fgfkb25",
|
10
8
|
"a9b677": "f16dn6v3",
|
11
9
|
"Bqenvij": "f3mu39s",
|
12
10
|
"z8tnut": "f1g0x7ka",
|
@@ -27,7 +25,7 @@ const useStyles = /*#__PURE__*/__styles({
|
|
27
25
|
|
28
26
|
export const useCounterBadgeStyles = state => {
|
29
27
|
const styles = useStyles();
|
30
|
-
state.root.className = mergeClasses(counterBadgeClassName,
|
28
|
+
state.root.className = mergeClasses(counterBadgeClassName, state.dot && styles.dot, !state.showZero && state.count === 0 && !state.dot && styles.hide, state.root.className);
|
31
29
|
return useBadgeStyles(state);
|
32
30
|
};
|
33
31
|
//# sourceMappingURL=useCounterBadgeStyles.js.map
|