@fluentui/react-badge 0.0.0-nightlyed2d7c8d6320211111.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 +168 -16
- package/CHANGELOG.md +47 -11
- package/dist/react-badge.d.ts +12 -7
- 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/CounterBadge.types.d.ts +7 -2
- package/lib/components/CounterBadge/useCounterBadge.js.map +1 -1
- package/lib/components/CounterBadge/useCounterBadgeStyles.js +4 -35
- 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/CounterBadge.types.d.ts +7 -2
- package/lib-commonjs/components/CounterBadge/useCounterBadge.js.map +1 -1
- package/lib-commonjs/components/CounterBadge/useCounterBadgeStyles.js +3 -34
- 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 -10
- 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
@@ -1,37 +1,51 @@
|
|
1
1
|
import * as React from 'react';
|
2
2
|
import { resolveShorthand } from '@fluentui/react-utilities';
|
3
|
+
import { presenceAvailableFilled, presenceAvailableRegular, presenceAwayFilled, presenceBusyFilled, presenceDndFilled, presenceDndRegular, presenceOfflineRegular, presenceOofRegular, presenceUnknownRegular } from './presenceIcons';
|
3
4
|
import { useBadge } from '../Badge/index';
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
5
|
+
|
6
|
+
const iconMap = (status, outOfOffice, size) => {
|
7
|
+
switch (status) {
|
8
|
+
case 'available':
|
9
|
+
return outOfOffice ? presenceAvailableRegular[size] : presenceAvailableFilled[size];
|
10
|
+
|
11
|
+
case 'away':
|
12
|
+
return outOfOffice ? presenceOfflineRegular[size] : presenceAwayFilled[size];
|
13
|
+
|
14
|
+
case 'busy':
|
15
|
+
return outOfOffice ? presenceUnknownRegular[size] : presenceBusyFilled[size];
|
16
|
+
|
17
|
+
case 'doNotDisturb':
|
18
|
+
return outOfOffice ? presenceDndRegular[size] : presenceDndFilled[size];
|
19
|
+
|
20
|
+
case 'offline':
|
21
|
+
return presenceOfflineRegular[size];
|
22
|
+
|
23
|
+
case 'outOfOffice':
|
24
|
+
return presenceOofRegular[size];
|
25
|
+
}
|
26
|
+
};
|
14
27
|
/**
|
15
28
|
* Returns the props and state required to render the component
|
16
29
|
*/
|
17
30
|
|
18
31
|
|
19
32
|
export const usePresenceBadge = (props, ref) => {
|
20
|
-
var _a, _b
|
33
|
+
var _a, _b;
|
21
34
|
|
22
35
|
const state = { ...useBadge({
|
23
|
-
size: '
|
36
|
+
size: 'medium',
|
24
37
|
...props,
|
25
|
-
icon: resolveShorthand(
|
38
|
+
icon: resolveShorthand(undefined, {
|
26
39
|
required: true
|
27
40
|
})
|
28
41
|
}, ref),
|
29
42
|
status: (_a = props.status) !== null && _a !== void 0 ? _a : 'available',
|
30
43
|
outOfOffice: (_b = props.outOfOffice) !== null && _b !== void 0 ? _b : false
|
31
44
|
};
|
45
|
+
const IconElement = iconMap(state.status, state.outOfOffice, state.size);
|
32
46
|
|
33
|
-
if (
|
34
|
-
state.icon.children =
|
47
|
+
if (IconElement) {
|
48
|
+
state.icon.children = /*#__PURE__*/React.createElement(IconElement, null);
|
35
49
|
}
|
36
50
|
|
37
51
|
return state;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../src/components/PresenceBadge/usePresenceBadge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB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;AADsB,OAAZ;AAHxB,KADS,EAQT,GARS,CADqB;AAWhC,IAAA,MAAM,EAAE,CAAA,EAAA,GAAA,KAAK,CAAC,MAAN,MAAY,IAAZ,IAAY,EAAA,KAAA,KAAA,CAAZ,GAAY,EAAZ,GAAgB,WAXQ;AAYhC,IAAA,WAAW,EAAE,CAAA,EAAA,GAAA,KAAK,CAAC,WAAN,MAAiB,IAAjB,IAAiB,EAAA,KAAA,KAAA,CAAjB,GAAiB,EAAjB,GAAqB;AAZF,GAAlC;AAeA,QAAM,WAAW,GAAG,OAAO,CAAC,KAAK,CAAC,MAAP,EAAe,KAAK,CAAC,WAArB,EAAkC,KAAK,CAAC,IAAxC,CAA3B;;AACA,MAAI,WAAJ,EAAiB;AACf,IAAA,KAAK,CAAC,IAAN,CAAY,QAAZ,gBAAuB,KAAA,CAAA,aAAA,CAAC,WAAD,EAAY,IAAZ,CAAvB;AACD;;AAED,SAAO,KAAP;AACD,CAtBM","sourceRoot":""}
|
@@ -1,5 +1,4 @@
|
|
1
|
-
import { mergeClasses, __styles } from '@fluentui/react-make-styles';
|
2
|
-
import { useBadgeStyles } from '../../Badge';
|
1
|
+
import { mergeClasses, __styles, shorthands } from '@fluentui/react-make-styles';
|
3
2
|
export const presenceBadgeClassName = 'fui-PresenceBadge';
|
4
3
|
|
5
4
|
const useStyles = /*#__PURE__*/__styles({
|
@@ -8,56 +7,34 @@ const useStyles = /*#__PURE__*/__styles({
|
|
8
7
|
"z189sj": ["fhxju0i", "f1cnd47f"],
|
9
8
|
"Byoj8tv": "f1qch9an",
|
10
9
|
"uwmqm3": ["f1cnd47f", "fhxju0i"],
|
11
|
-
"
|
12
|
-
"
|
13
|
-
"
|
14
|
-
"
|
15
|
-
|
16
|
-
|
17
|
-
"
|
18
|
-
"
|
19
|
-
"
|
20
|
-
"
|
10
|
+
"mc9l5x": "ftuwxu6",
|
11
|
+
"B7ck84d": "f1ewtqcl",
|
12
|
+
"Bt984gj": "f122n59",
|
13
|
+
"Brf1p80": "f4d9j23",
|
14
|
+
"Bhmb4qv": "fb8jth9",
|
15
|
+
"Bbmb7ep": ["fqgqgel", "fchfifz"],
|
16
|
+
"Beyfa6y": ["fchfifz", "fqgqgel"],
|
17
|
+
"B7oj6ja": ["fc7b1hi", "f1dpx5h9"],
|
18
|
+
"Btl43ni": ["f1dpx5h9", "fc7b1hi"],
|
19
|
+
"De3pzq": "fxugw4r"
|
21
20
|
},
|
22
21
|
"statusBusy": {
|
23
|
-
"
|
24
|
-
"g2u3we": "f11ttmz8",
|
25
|
-
"h3c5rm": ["f1ratw88", "f459ikj"],
|
26
|
-
"B9xav0g": "fvovscg",
|
27
|
-
"zhjwy3": ["f459ikj", "f1ratw88"]
|
22
|
+
"sj55zd": "fvi85wt"
|
28
23
|
},
|
29
24
|
"statusAway": {
|
30
|
-
"
|
31
|
-
"g2u3we": "f1skk3ns",
|
32
|
-
"h3c5rm": ["f766wml", "f1rnrfqa"],
|
33
|
-
"B9xav0g": "fb8zvtn",
|
34
|
-
"zhjwy3": ["f1rnrfqa", "f766wml"]
|
25
|
+
"sj55zd": "f14k8a89"
|
35
26
|
},
|
36
27
|
"statusAvailable": {
|
37
|
-
"
|
38
|
-
"g2u3we": "f1t9i9vy",
|
39
|
-
"h3c5rm": ["f1r5awo9", "fnfhfy0"],
|
40
|
-
"B9xav0g": "fgfkvtu",
|
41
|
-
"zhjwy3": ["fnfhfy0", "f1r5awo9"]
|
28
|
+
"sj55zd": "fqa5hgp"
|
42
29
|
},
|
43
30
|
"statusOffline": {
|
44
|
-
"
|
45
|
-
"sj55zd": "f11d4kpn",
|
46
|
-
"g2u3we": "fi2z7s6",
|
47
|
-
"h3c5rm": ["f1agc6it", "f1sit5hz"],
|
48
|
-
"B9xav0g": "f9pok3v",
|
49
|
-
"zhjwy3": ["f1sit5hz", "f1agc6it"]
|
31
|
+
"sj55zd": "f11d4kpn"
|
50
32
|
},
|
51
33
|
"statusOutOfOffice": {
|
52
|
-
"
|
53
|
-
"sj55zd": "fdce8r3",
|
54
|
-
"g2u3we": "f161shwc",
|
55
|
-
"h3c5rm": ["fbde6ui", "f7rrh46"],
|
56
|
-
"B9xav0g": "f1yt3bcc",
|
57
|
-
"zhjwy3": ["f7rrh46", "fbde6ui"]
|
34
|
+
"sj55zd": "fdce8r3"
|
58
35
|
},
|
59
36
|
"outOfOffice": {
|
60
|
-
"
|
37
|
+
"sj55zd": "fr0bkrk"
|
61
38
|
},
|
62
39
|
"outOfOfficeAvailable": {
|
63
40
|
"sj55zd": "fqa5hgp"
|
@@ -67,9 +44,27 @@ const useStyles = /*#__PURE__*/__styles({
|
|
67
44
|
},
|
68
45
|
"outOfOfficeAway": {
|
69
46
|
"sj55zd": "f14k8a89"
|
47
|
+
},
|
48
|
+
"tiny": {
|
49
|
+
"Bubjx69": "f9ikmtg",
|
50
|
+
"a9b677": "f16dn6v3",
|
51
|
+
"B5pe6w7": "fab5kbq",
|
52
|
+
"p4uzdd": "f1ms1d91"
|
53
|
+
},
|
54
|
+
"large": {
|
55
|
+
"Bubjx69": "f9ikmtg",
|
56
|
+
"a9b677": "f64fuq3",
|
57
|
+
"B5pe6w7": "f1vfi1yj",
|
58
|
+
"p4uzdd": "f15s34gz"
|
59
|
+
},
|
60
|
+
"extraLarge": {
|
61
|
+
"Bubjx69": "f9ikmtg",
|
62
|
+
"a9b677": "f1w9dchk",
|
63
|
+
"B5pe6w7": "f14efy9b",
|
64
|
+
"p4uzdd": "fhipgdu"
|
70
65
|
}
|
71
66
|
}, {
|
72
|
-
"d": [".f1g0x7ka{padding-top:0;}", ".fhxju0i{padding-right:0;}", ".f1cnd47f{padding-left:0;}", ".f1qch9an{padding-bottom:0;}", ".
|
67
|
+
"d": [".f1g0x7ka{padding-top:0;}", ".fhxju0i{padding-right:0;}", ".f1cnd47f{padding-left:0;}", ".f1qch9an{padding-bottom:0;}", ".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;}", ".fb8jth9 span{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}", ".fqgqgel{border-bottom-right-radius:50%;}", ".fchfifz{border-bottom-left-radius:50%;}", ".fc7b1hi{border-top-right-radius:50%;}", ".f1dpx5h9{border-top-left-radius:50%;}", ".fxugw4r{background-color:var(--colorNeutralBackground1);}", ".fvi85wt{color:var(--colorPaletteRedBackground3);}", ".f14k8a89{color:var(--colorPaletteMarigoldBackground3);}", ".fqa5hgp{color:var(--colorPaletteLightGreenForeground3);}", ".f11d4kpn{color:var(--colorNeutralForeground3);}", ".fdce8r3{color:var(--colorPaletteBerryForeground3);}", ".fr0bkrk{color:var(--colorNeutralBackground1);}", ".f9ikmtg{aspect-ratio:1;}", ".f16dn6v3{width:6px;}", ".fab5kbq svg{width:6px!important;}", ".f1ms1d91 svg{height:6px!important;}", ".f64fuq3{width:20px;}", ".f1vfi1yj svg{width:20px!important;}", ".f15s34gz svg{height:20px!important;}", ".f1w9dchk{width:28px;}", ".f14efy9b svg{width:28px!important;}", ".fhipgdu svg{height:28px!important;}"]
|
73
68
|
});
|
74
69
|
/**
|
75
70
|
* Applies style classnames to slots
|
@@ -78,7 +73,7 @@ const useStyles = /*#__PURE__*/__styles({
|
|
78
73
|
|
79
74
|
export const usePresenceBadgeStyles = state => {
|
80
75
|
const styles = useStyles();
|
81
|
-
state.root.className = mergeClasses(presenceBadgeClassName, styles.root, (state.status === 'busy' || state.status === 'doNotDisturb') && styles.statusBusy, state.status === 'away' && styles.statusAway, state.status === 'available' && styles.statusAvailable, state.status === 'offline' && styles.statusOffline, state.status === 'outOfOffice' && styles.statusOutOfOffice, state.outOfOffice && styles.outOfOffice, state.outOfOffice && state.status === 'available' && styles.outOfOfficeAvailable, state.outOfOffice && (state.status === 'busy' || state.status === 'doNotDisturb') && styles.outOfOfficeBusy, state.outOfOffice && state.status === 'away' && styles.outOfOfficeAway,
|
82
|
-
return
|
76
|
+
state.root.className = mergeClasses(presenceBadgeClassName, styles.root, (state.status === 'busy' || state.status === 'doNotDisturb') && styles.statusBusy, state.status === 'away' && styles.statusAway, state.status === 'available' && styles.statusAvailable, state.status === 'offline' && styles.statusOffline, state.status === 'outOfOffice' && styles.statusOutOfOffice, state.outOfOffice && styles.outOfOffice, state.outOfOffice && state.status === 'available' && styles.outOfOfficeAvailable, state.outOfOffice && (state.status === 'busy' || state.status === 'doNotDisturb') && styles.outOfOfficeBusy, state.outOfOffice && state.status === 'away' && styles.outOfOfficeAway, state.outOfOffice && state.status === 'offline' && styles.statusOffline, state.outOfOffice && state.status === 'outOfOffice' && styles.statusOutOfOffice, state.size === 'tiny' && styles.tiny, state.size === 'large' && styles.large, state.size === 'extra-large' && styles.extraLarge, state.root.className);
|
77
|
+
return state;
|
83
78
|
};
|
84
79
|
//# sourceMappingURL=usePresenceBadgeStyles.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../src/components/PresenceBadge/usePresenceBadgeStyles.ts"],"names":[],"mappings":"AAAA,SAAS,YAAT,
|
1
|
+
{"version":3,"sources":["../../../src/components/PresenceBadge/usePresenceBadgeStyles.ts"],"names":[],"mappings":"AAAA,SAAS,YAAT,YAAmC,UAAnC,QAAqD,6BAArD;AAGA,OAAO,MAAM,sBAAsB,GAAG,mBAA/B;;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;AA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AAK,CAAC,IAAN,KAAe,MAAf,IAAyB,MAAM,CAAC,IAdC,EAejC,KAAK,CAAC,IAAN,KAAe,OAAf,IAA0B,MAAM,CAAC,KAfA,EAgBjC,KAAK,CAAC,IAAN,KAAe,aAAf,IAAgC,MAAM,CAAC,UAhBN,EAiBjC,KAAK,CAAC,IAAN,CAAW,SAjBsB,CAAnC;AAoBA,SAAO,KAAP;AACD,CAvBM","sourceRoot":""}
|
@@ -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 = {
|
@@ -14,7 +14,10 @@ const renderBadge = state => {
|
|
14
14
|
slots,
|
15
15
|
slotProps
|
16
16
|
} = react_utilities_1.getSlots(state, ['icon', 'root']);
|
17
|
-
return React.createElement(slots.root,
|
17
|
+
return React.createElement(slots.root, { ...slotProps.root
|
18
|
+
}, state.iconPosition === 'before' && React.createElement(slots.icon, { ...slotProps.icon
|
19
|
+
}), state.root.children, state.iconPosition === 'after' && React.createElement(slots.icon, { ...slotProps.icon
|
20
|
+
}));
|
18
21
|
};
|
19
22
|
|
20
23
|
exports.renderBadge = renderBadge;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../src/components/Badge/renderBadge.tsx"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,iBAAA,gBAAA,OAAA,CAAA,2BAAA,CAAA;;AAGO,MAAM,WAAW,GAAI,KAAD,IAAsB;AAC/C,QAAM;AAAE,IAAA,KAAF;AAAS,IAAA;AAAT,MAAuB,iBAAA,CAAA,QAAA,CAAqB,KAArB,EAA4B,CAAC,MAAD,EAAS,MAAT,CAA5B,CAA7B;AAEA,SACE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,
|
1
|
+
{"version":3,"sources":["../../../src/components/Badge/renderBadge.tsx"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,iBAAA,gBAAA,OAAA,CAAA,2BAAA,CAAA;;AAGO,MAAM,WAAW,GAAI,KAAD,IAAsB;AAC/C,QAAM;AAAE,IAAA,KAAF;AAAS,IAAA;AAAT,MAAuB,iBAAA,CAAA,QAAA,CAAqB,KAArB,EAA4B,CAAC,MAAD,EAAS,MAAT,CAA5B,CAA7B;AAEA,SACE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,GAAX,EACG,KAAK,CAAC,YAAN,KAAuB,QAAvB,IAAmC,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,IAAkC,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,GAAX,CAHrC,CADF;AAOD,CAVM;;AAAM,OAAA,CAAA,WAAA,GAAW,WAAX","sourceRoot":""}
|
@@ -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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';
|
33
|
+
/**
|
34
|
+
* Semantic colors for a counter badge
|
35
|
+
* @default brand
|
36
|
+
*/
|
37
|
+
color: Extract<BadgeProps['color'], 'brand' | 'danger' | 'important' | 'informative'>;
|
33
38
|
};
|
34
39
|
/**
|
35
40
|
* {@docCategory CounterBadge}
|
36
41
|
*/
|
37
|
-
export declare type CounterBadgeProps = Omit<BadgeProps, 'appearance' | 'shape'> & Partial<CounterBadgeCommons>;
|
42
|
+
export declare type CounterBadgeProps = Omit<BadgeProps, 'appearance' | 'shape' | 'color'> & Partial<CounterBadgeCommons>;
|
38
43
|
/**
|
39
44
|
* {@docCategory CounterBadge}
|
40
45
|
*/
|
41
|
-
export declare type CounterBadgeState = Omit<BadgeState, 'appearance' | 'shape'> & CounterBadgeCommons;
|
46
|
+
export declare type CounterBadgeState = Omit<BadgeState, 'appearance' | 'shape' | 'color'> & CounterBadgeCommons;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../src/components/CounterBadge/useCounterBadge.ts"],"names":[],"mappings":";;;;;;;AACA,MAAA,OAAA,gBAAA,OAAA,CAAA,gBAAA,CAAA;AAGA;;AAEG;;;AACI,MAAM,eAAe,GAAG,CAAC,KAAD,EAA2B,GAA3B,KAA6E;AAC1G,QAAM;AACJ,IAAA,KAAK,GAAG,UADJ;AAEJ,IAAA,UAAU,GAAG,QAFT;AAGJ,IAAA,QAAQ,GAAG,KAHP;AAIJ,IAAA,aAAa,GAAG,EAJZ;AAKJ,IAAA,KAAK,GAAG,CALJ;AAMJ,IAAA,GAAG,GAAG;AANF,MAOF,KAPJ;AASA,QAAM,KAAK,GAAsB,EAC/B,
|
1
|
+
{"version":3,"sources":["../../../src/components/CounterBadge/useCounterBadge.ts"],"names":[],"mappings":";;;;;;;AACA,MAAA,OAAA,gBAAA,OAAA,CAAA,gBAAA,CAAA;AAGA;;AAEG;;;AACI,MAAM,eAAe,GAAG,CAAC,KAAD,EAA2B,GAA3B,KAA6E;AAC1G,QAAM;AACJ,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