@pingux/astro 2.136.1-alpha.3 → 2.137.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/components/Badge/Badge.stories.js +72 -69
- package/lib/cjs/components/Badge/Badge.styles.d.ts +1 -14
- package/lib/cjs/components/Badge/Badge.styles.js +3 -8
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/colors.js +5 -4
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/badges.d.ts +71 -54
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/badges.js +99 -52
- package/lib/cjs/styles/themes/next-gen/colors/colors.d.ts +10 -1
- package/lib/cjs/styles/themes/next-gen/colors/colors.js +11 -4
- package/lib/cjs/styles/themes/next-gen/convertedComponentList.d.ts +0 -1
- package/lib/cjs/styles/themes/next-gen/convertedComponentList.js +0 -1
- package/lib/cjs/styles/themes/next-gen/next-gen.d.ts +686 -29
- package/lib/cjs/styles/themes/next-gen/variants/badges.d.ts +597 -4
- package/lib/cjs/styles/themes/next-gen/variants/badges.js +90 -37
- package/lib/cjs/styles/themes/next-gen/variants/button.d.ts +60 -0
- package/lib/cjs/styles/themes/next-gen/variants/button.js +21 -0
- package/lib/cjs/styles/themes/next-gen/variants/variants.d.ts +0 -208
- package/lib/cjs/styles/themes/next-gen/variants/variants.js +2 -90
- package/lib/components/Badge/Badge.stories.js +72 -69
- package/lib/components/Badge/Badge.styles.js +3 -8
- package/lib/styles/themeOverrides/nextGenDarkMode/colors.js +5 -4
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/badges.js +99 -52
- package/lib/styles/themes/next-gen/colors/colors.js +9 -3
- package/lib/styles/themes/next-gen/convertedComponentList.js +0 -1
- package/lib/styles/themes/next-gen/variants/badges.js +90 -37
- package/lib/styles/themes/next-gen/variants/button.js +21 -0
- package/lib/styles/themes/next-gen/variants/variants.js +1 -83
- package/package.json +1 -1
@@ -12,10 +12,12 @@ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime-corejs3/hel
|
|
12
12
|
var _map = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/map"));
|
13
13
|
var _react = _interopRequireDefault(require("react"));
|
14
14
|
var _CloseIcon = _interopRequireDefault(require("@pingux/mdi-react/CloseIcon"));
|
15
|
-
var
|
16
|
-
var
|
15
|
+
var _CogIcon = _interopRequireDefault(require("@pingux/mdi-react/CogIcon"));
|
16
|
+
var _PencilOutlineIcon = _interopRequireDefault(require("@pingux/mdi-react/PencilOutlineIcon"));
|
17
|
+
var _PlusCircleMultipleOutlineIcon = _interopRequireDefault(require("@pingux/mdi-react/PlusCircleMultipleOutlineIcon"));
|
17
18
|
var _storybookAddonDesigns = require("storybook-addon-designs");
|
18
19
|
var _storybookDocsLayout = _interopRequireDefault(require("../../../.storybook/storybookDocsLayout"));
|
20
|
+
var _hooks = require("../../hooks");
|
19
21
|
var _index = require("../../index");
|
20
22
|
var _colors = require("../../styles/colors");
|
21
23
|
var _figmaLinks = require("../../utils/designUtils/figmaLinks.ts");
|
@@ -66,44 +68,10 @@ var _default = {
|
|
66
68
|
page: function page() {
|
67
69
|
return (0, _react2.jsx)(_react["default"].Fragment, null, (0, _react2.jsx)(_Badge["default"], null), (0, _react2.jsx)(_storybookDocsLayout["default"], null));
|
68
70
|
}
|
69
|
-
},
|
70
|
-
codesandbox: {
|
71
|
-
mapComponent: {
|
72
|
-
'@pingux/astro': ['Badge', 'Box', 'Icon', 'IconButton']
|
73
|
-
}
|
74
71
|
}
|
75
72
|
}
|
76
73
|
};
|
77
74
|
exports["default"] = _default;
|
78
|
-
var VariableIcon = function VariableIcon(props) {
|
79
|
-
return (0, _react2.jsx)("svg", (0, _extends2["default"])({
|
80
|
-
width: "16",
|
81
|
-
height: "16",
|
82
|
-
viewBox: "0 0 16 16",
|
83
|
-
fill: "none",
|
84
|
-
xmlns: "http://www.w3.org/2000/svg",
|
85
|
-
"aria-labelledby": "variable-icon-title"
|
86
|
-
}, props), (0, _react2.jsx)("title", {
|
87
|
-
id: "variable-icon-title"
|
88
|
-
}, "Variable Icon"), (0, _react2.jsx)("g", {
|
89
|
-
clipPath: "url(#clip0_709_18965)"
|
90
|
-
}, (0, _react2.jsx)("circle", {
|
91
|
-
cx: "8",
|
92
|
-
cy: "8",
|
93
|
-
r: "7.5",
|
94
|
-
fill: "white",
|
95
|
-
stroke: "#7AC7F2"
|
96
|
-
}), (0, _react2.jsx)("path", {
|
97
|
-
d: "M11.5042 4.25C12.0833 5.37917 12.3125 6.68333 12.1667 8C12.0833 9.31667 11.625 10.6208 10.8458 11.75L10.2083 11.3333C10.8792 10.3208 11.2708 9.16667 11.3333 8C11.475 6.83333 11.2875 5.67917 10.7917 4.66667L11.5042 4.25ZM5.15416 4.25L5.79166 4.66667C5.12083 5.67917 4.72916 6.83333 4.66666 8C4.525 9.16667 4.71666 10.3208 5.20833 11.3333L4.50416 11.75C3.92083 10.6208 3.6875 9.32083 3.83333 8C3.91666 6.68333 4.375 5.37917 5.15416 4.25ZM8.03333 7.45L9 6.10417H10.0542L8.47916 8.1875L9.39583 10.2375H8.45416L7.87916 8.83333L6.86666 10.2208H5.81666L7.44166 8.0875L6.55416 6.10417H7.5L8.03333 7.45Z",
|
98
|
-
fill: "#7AC7F2"
|
99
|
-
})), (0, _react2.jsx)("defs", null, (0, _react2.jsx)("clipPath", {
|
100
|
-
id: "clip0_709_18965"
|
101
|
-
}, (0, _react2.jsx)("rect", {
|
102
|
-
width: "16",
|
103
|
-
height: "16",
|
104
|
-
fill: "white"
|
105
|
-
}))));
|
106
|
-
};
|
107
75
|
var Default = function Default(_ref5) {
|
108
76
|
var args = (0, _extends2["default"])({}, ((0, _objectDestructuringEmpty2["default"])(_ref5), _ref5));
|
109
77
|
return (0, _react2.jsx)(_index.Badge, (0, _extends2["default"])({
|
@@ -137,66 +105,103 @@ CountBadge.parameters = {
|
|
137
105
|
}
|
138
106
|
};
|
139
107
|
var BadgeWithCustomColors = function BadgeWithCustomColors(args) {
|
108
|
+
var _useGetTheme = (0, _hooks.useGetTheme)(),
|
109
|
+
isOnyx = _useGetTheme.themeState.isOnyx;
|
110
|
+
var bg = isOnyx ? 'indigo-100' : 'green';
|
111
|
+
var textColor = isOnyx ? 'cyan-800' : 'white';
|
140
112
|
return (0, _react2.jsx)(_index.Badge, (0, _extends2["default"])({}, args, {
|
141
113
|
label: "Custom Colors",
|
142
|
-
bg:
|
143
|
-
textColor:
|
114
|
+
bg: bg,
|
115
|
+
textColor: textColor,
|
116
|
+
sx: {
|
117
|
+
color: textColor
|
118
|
+
}
|
144
119
|
}));
|
145
120
|
};
|
146
121
|
exports.BadgeWithCustomColors = BadgeWithCustomColors;
|
147
122
|
var BadgeWithIcon = function BadgeWithIcon() {
|
148
|
-
|
123
|
+
var _useGetTheme2 = (0, _hooks.useGetTheme)(),
|
124
|
+
isOnyx = _useGetTheme2.themeState.isOnyx;
|
125
|
+
return (0, _react2.jsx)(_index.Box, {
|
126
|
+
gap: "10px"
|
127
|
+
}, !isOnyx ? (0, _react2.jsx)(_react["default"].Fragment, null, (0, _react2.jsx)(_index.Badge, {
|
149
128
|
label: "Badge with Icon Button",
|
150
|
-
bg: "navy"
|
129
|
+
bg: "navy",
|
130
|
+
textColor: "white"
|
131
|
+
}, (0, _react2.jsx)(_index.IconButton, {
|
132
|
+
"aria-label": "Setting Badge with Icon Button",
|
133
|
+
variant: "inverted",
|
134
|
+
ml: "xs"
|
135
|
+
}, (0, _react2.jsx)(_index.Icon, {
|
136
|
+
icon: _CogIcon["default"],
|
137
|
+
size: "14px",
|
138
|
+
title: {
|
139
|
+
name: 'Setting Icon'
|
140
|
+
}
|
141
|
+
}))), (0, _react2.jsx)(_index.Badge, {
|
142
|
+
label: "Badge with Icon Button"
|
151
143
|
}, (0, _react2.jsx)(_index.IconButton, {
|
152
144
|
"aria-label": "Clear Badge with Icon Button",
|
153
|
-
variant: "inverted"
|
145
|
+
variant: "inverted",
|
146
|
+
ml: "xs"
|
154
147
|
}, (0, _react2.jsx)(_index.Icon, {
|
155
148
|
icon: _CloseIcon["default"],
|
156
|
-
ml: "xs",
|
157
149
|
size: "14px",
|
158
150
|
title: {
|
159
151
|
name: 'Clear Icon'
|
160
152
|
}
|
161
|
-
}))), (0, _react2.jsx)(
|
162
|
-
|
163
|
-
|
153
|
+
}))), (0, _react2.jsx)(_index.Badge, {
|
154
|
+
label: "Badge with Icon",
|
155
|
+
bg: "green",
|
156
|
+
textColor: "white"
|
157
|
+
}, (0, _react2.jsx)(_index.Icon, {
|
158
|
+
icon: _PencilOutlineIcon["default"],
|
159
|
+
ml: "xs",
|
160
|
+
size: "14px",
|
161
|
+
color: "white",
|
162
|
+
"aria-hidden": "true",
|
163
|
+
focusable: "false",
|
164
|
+
title: {
|
165
|
+
name: 'Edit Icon'
|
166
|
+
}
|
167
|
+
}))) : (0, _react2.jsx)(_react["default"].Fragment, null, (0, _react2.jsx)(_index.Badge, {
|
168
|
+
label: "Badge with Icon Button",
|
169
|
+
variant: "primary"
|
170
|
+
}, (0, _react2.jsx)(_index.IconButton, {
|
171
|
+
"aria-label": "Setting Badge with Icon Button",
|
172
|
+
ml: "xs"
|
173
|
+
}, (0, _react2.jsx)(_index.Icon, {
|
174
|
+
icon: _CogIcon["default"],
|
175
|
+
size: "xxs",
|
176
|
+
title: {
|
177
|
+
name: 'Setting Icon'
|
164
178
|
}
|
165
|
-
}), (0, _react2.jsx)(_index.Badge, {
|
179
|
+
}))), (0, _react2.jsx)(_index.Badge, {
|
166
180
|
label: "Badge with Icon Button"
|
167
181
|
}, (0, _react2.jsx)(_index.IconButton, {
|
168
182
|
"aria-label": "Clear Badge with Icon Button",
|
169
|
-
|
183
|
+
ml: "xs"
|
170
184
|
}, (0, _react2.jsx)(_index.Icon, {
|
171
|
-
icon:
|
172
|
-
|
173
|
-
size: "14px",
|
185
|
+
icon: _CloseIcon["default"],
|
186
|
+
size: "xxs",
|
174
187
|
title: {
|
175
|
-
name: '
|
176
|
-
}
|
177
|
-
}))), (0, _react2.jsx)("div", {
|
178
|
-
style: {
|
179
|
-
padding: '5px'
|
188
|
+
name: 'Clear Icon'
|
180
189
|
}
|
181
|
-
}), (0, _react2.jsx)(_index.Badge, {
|
190
|
+
}))), (0, _react2.jsx)(_index.Badge, {
|
182
191
|
label: "Badge with Icon",
|
183
|
-
|
192
|
+
variant: "success"
|
184
193
|
}, (0, _react2.jsx)(_index.Icon, {
|
185
|
-
icon:
|
194
|
+
icon: _PencilOutlineIcon["default"],
|
186
195
|
ml: "xs",
|
187
196
|
size: "14px",
|
188
|
-
color: "white",
|
189
197
|
"aria-hidden": "true",
|
190
198
|
focusable: "false",
|
191
199
|
title: {
|
192
|
-
name: '
|
200
|
+
name: 'Edit Icon'
|
193
201
|
}
|
194
|
-
})));
|
202
|
+
}))));
|
195
203
|
};
|
196
204
|
exports.BadgeWithIcon = BadgeWithIcon;
|
197
|
-
BadgeWithIcon.parameters = {
|
198
|
-
codesandbox: false
|
199
|
-
};
|
200
205
|
var BadgeWithLeftSlotAndIcon = function BadgeWithLeftSlotAndIcon() {
|
201
206
|
return (0, _react2.jsx)(_index.Badge, {
|
202
207
|
label: "Badge with Icon Button and Left Slot",
|
@@ -204,8 +209,9 @@ var BadgeWithLeftSlotAndIcon = function BadgeWithLeftSlotAndIcon() {
|
|
204
209
|
variant: "itemBadgeWithSlot",
|
205
210
|
slots: {
|
206
211
|
leftIcon: (0, _react2.jsx)(_index.Icon, {
|
207
|
-
icon:
|
208
|
-
size: 16
|
212
|
+
icon: _PlusCircleMultipleOutlineIcon["default"],
|
213
|
+
size: 16,
|
214
|
+
color: "text.primary"
|
209
215
|
})
|
210
216
|
}
|
211
217
|
}, (0, _react2.jsx)(_index.IconButton, {
|
@@ -220,9 +226,6 @@ var BadgeWithLeftSlotAndIcon = function BadgeWithLeftSlotAndIcon() {
|
|
220
226
|
})));
|
221
227
|
};
|
222
228
|
exports.BadgeWithLeftSlotAndIcon = BadgeWithLeftSlotAndIcon;
|
223
|
-
BadgeWithLeftSlotAndIcon.parameters = {
|
224
|
-
codesandbox: false
|
225
|
-
};
|
226
229
|
var StatusBadgeVariants = function StatusBadgeVariants(_ref6) {
|
227
230
|
var args = (0, _extends2["default"])({}, ((0, _objectDestructuringEmpty2["default"])(_ref6), _ref6));
|
228
231
|
return (0, _react2.jsx)(_index.Box, null, (0, _react2.jsx)(_index.Badge, (0, _extends2["default"])({}, args, {
|
@@ -99,7 +99,6 @@ declare const _default: {
|
|
99
99
|
borderColor: string;
|
100
100
|
backgroundColor: string;
|
101
101
|
border: string;
|
102
|
-
height: string;
|
103
102
|
'& span': {
|
104
103
|
color: string;
|
105
104
|
};
|
@@ -184,6 +183,7 @@ declare const _default: {
|
|
184
183
|
backgroundColor: string;
|
185
184
|
'& span': {
|
186
185
|
fontWeight: number;
|
186
|
+
color: string;
|
187
187
|
};
|
188
188
|
cursor: string;
|
189
189
|
p: string;
|
@@ -279,7 +279,6 @@ declare const _default: {
|
|
279
279
|
borderColor: string;
|
280
280
|
backgroundColor: string;
|
281
281
|
border: string;
|
282
|
-
height: string;
|
283
282
|
'& span': {
|
284
283
|
color: string;
|
285
284
|
};
|
@@ -310,9 +309,6 @@ declare const _default: {
|
|
310
309
|
backgroundColor: string;
|
311
310
|
outline: string;
|
312
311
|
outlineColor: string;
|
313
|
-
'& span': {
|
314
|
-
color: string;
|
315
|
-
};
|
316
312
|
cursor: string;
|
317
313
|
p: string;
|
318
314
|
alignItems: string;
|
@@ -383,7 +379,6 @@ declare const _default: {
|
|
383
379
|
};
|
384
380
|
errorCalloutBadge: {
|
385
381
|
borderColor: string;
|
386
|
-
height: string;
|
387
382
|
backgroundColor: string;
|
388
383
|
border: string;
|
389
384
|
'& span': {
|
@@ -414,7 +409,6 @@ declare const _default: {
|
|
414
409
|
};
|
415
410
|
infoCalloutBadge: {
|
416
411
|
borderColor: string;
|
417
|
-
height: string;
|
418
412
|
backgroundColor: string;
|
419
413
|
border: string;
|
420
414
|
'& span': {
|
@@ -608,7 +602,6 @@ declare const _default: {
|
|
608
602
|
};
|
609
603
|
successCalloutBadge: {
|
610
604
|
borderColor: string;
|
611
|
-
height: string;
|
612
605
|
backgroundColor: string;
|
613
606
|
border: string;
|
614
607
|
'& span': {
|
@@ -639,7 +632,6 @@ declare const _default: {
|
|
639
632
|
};
|
640
633
|
warningCalloutBadge: {
|
641
634
|
borderColor: string;
|
642
|
-
height: string;
|
643
635
|
backgroundColor: string;
|
644
636
|
border: string;
|
645
637
|
'& span': {
|
@@ -672,7 +664,6 @@ declare const _default: {
|
|
672
664
|
borderColor: string;
|
673
665
|
backgroundColor: string;
|
674
666
|
border: string;
|
675
|
-
height: string;
|
676
667
|
'& span': {
|
677
668
|
color: string;
|
678
669
|
};
|
@@ -703,7 +694,6 @@ declare const _default: {
|
|
703
694
|
borderColor: string;
|
704
695
|
backgroundColor: string;
|
705
696
|
border: string;
|
706
|
-
height: string;
|
707
697
|
'& span': {
|
708
698
|
color: string;
|
709
699
|
};
|
@@ -734,7 +724,6 @@ declare const _default: {
|
|
734
724
|
borderColor: string;
|
735
725
|
backgroundColor: string;
|
736
726
|
border: string;
|
737
|
-
height: string;
|
738
727
|
'& span': {
|
739
728
|
color: string;
|
740
729
|
};
|
@@ -768,7 +757,6 @@ declare const _default: {
|
|
768
757
|
'& span': {
|
769
758
|
color: string;
|
770
759
|
};
|
771
|
-
height: string;
|
772
760
|
'& button': {
|
773
761
|
ml: string;
|
774
762
|
mr: string;
|
@@ -787,7 +775,6 @@ declare const _default: {
|
|
787
775
|
fontWeight: number;
|
788
776
|
};
|
789
777
|
invertedRemovableBadge: {
|
790
|
-
height: string;
|
791
778
|
'& span': {
|
792
779
|
color: string;
|
793
780
|
};
|
@@ -45,10 +45,7 @@ exports.baseBadge = baseBadge;
|
|
45
45
|
var defaultBadge = _objectSpread(_objectSpread({}, baseBadge), {}, {
|
46
46
|
backgroundColor: 'white !important',
|
47
47
|
outline: '1px solid',
|
48
|
-
outlineColor: 'neutral.80'
|
49
|
-
'& span': {
|
50
|
-
color: 'text.primary'
|
51
|
-
}
|
48
|
+
outlineColor: 'neutral.80'
|
52
49
|
});
|
53
50
|
var multivaluesBadge = _objectSpread(_objectSpread({}, baseBadge), {}, {
|
54
51
|
alignSelf: 'center',
|
@@ -158,11 +155,11 @@ var countNeutral = _objectSpread(_objectSpread({}, countDefault), {}, {
|
|
158
155
|
var convenienceDefault = _objectSpread(_objectSpread({}, baseBadge), {}, {
|
159
156
|
backgroundColor: '#4462ED !important',
|
160
157
|
'& span': {
|
161
|
-
fontWeight: 1
|
158
|
+
fontWeight: 1,
|
159
|
+
color: 'white'
|
162
160
|
}
|
163
161
|
});
|
164
162
|
var calloutBadge = _objectSpread(_objectSpread({}, baseBadge), {}, {
|
165
|
-
height: '21px',
|
166
163
|
backgroundColor: '#FFF !important',
|
167
164
|
border: 'solid 1px',
|
168
165
|
'& span': {
|
@@ -183,7 +180,6 @@ var infoCalloutBadge = _objectSpread(_objectSpread({}, calloutBadge), {}, {
|
|
183
180
|
});
|
184
181
|
var statusBadge = _objectSpread(_objectSpread({}, baseBadge), {}, {
|
185
182
|
border: 'solid 1px',
|
186
|
-
height: '21px',
|
187
183
|
'& span': {
|
188
184
|
color: 'text.primary'
|
189
185
|
}
|
@@ -209,7 +205,6 @@ var secondaryStatusBadge = _objectSpread(_objectSpread({}, statusBadge), {}, {
|
|
209
205
|
backgroundColor: '#F7F8FD !important'
|
210
206
|
});
|
211
207
|
var invertedRemovableBadge = _objectSpread(_objectSpread({}, baseBadge), {}, {
|
212
|
-
height: '21px',
|
213
208
|
'& span': {
|
214
209
|
color: 'white'
|
215
210
|
},
|
@@ -25,6 +25,9 @@ var overrides = {
|
|
25
25
|
disabled: '#30373f'
|
26
26
|
};
|
27
27
|
exports.overrides = overrides;
|
28
|
+
var font = {
|
29
|
+
base: _colorTokens.nextGenColors['gray-100']
|
30
|
+
};
|
28
31
|
var hoverDark = _chromaJs["default"].mix('#23282e', 'white', 0.04, 'rgb').hex();
|
29
32
|
var border = {
|
30
33
|
base: _chromaJs["default"].mix('#23282e', 'white', 0.15, 'rgb').hex(),
|
@@ -34,7 +37,7 @@ var border = {
|
|
34
37
|
attachment: '#39414b'
|
35
38
|
};
|
36
39
|
var badge = {
|
37
|
-
background: _colorTokens.nextGenColors['gray-
|
40
|
+
background: _colorTokens.nextGenColors['gray-800'],
|
38
41
|
textColor: _colorTokens.nextGenColors['gray-100']
|
39
42
|
};
|
40
43
|
var iconWrapper = {
|
@@ -112,9 +115,7 @@ var colors = _objectSpread(_objectSpread({
|
|
112
115
|
card: '#1a1e22',
|
113
116
|
hover: hoverDark
|
114
117
|
},
|
115
|
-
font:
|
116
|
-
base: _colorTokens.nextGenColors['gray-100']
|
117
|
-
},
|
118
|
+
font: font,
|
118
119
|
badge: badge
|
119
120
|
});
|
120
121
|
exports.colors = colors;
|
@@ -1,101 +1,118 @@
|
|
1
1
|
declare const badges: {
|
2
|
+
baseBadge: {
|
3
|
+
color: string;
|
4
|
+
};
|
2
5
|
primary: {
|
3
6
|
backgroundColor: string;
|
4
|
-
|
5
|
-
color: string;
|
6
|
-
};
|
7
|
+
color: string;
|
7
8
|
};
|
8
9
|
secondary: {
|
10
|
+
backgroundColor: string;
|
11
|
+
color: string;
|
12
|
+
};
|
13
|
+
success: {
|
14
|
+
backgroundColor: string;
|
15
|
+
color: string;
|
16
|
+
};
|
17
|
+
danger: {
|
18
|
+
backgroundColor: string;
|
19
|
+
color: string;
|
20
|
+
};
|
21
|
+
warning: {
|
22
|
+
backgroundColor: string;
|
23
|
+
color: string;
|
24
|
+
};
|
25
|
+
info: {
|
26
|
+
backgroundColor: string;
|
27
|
+
color: string;
|
28
|
+
};
|
29
|
+
dark: {
|
30
|
+
backgroundColor: string;
|
31
|
+
color: string;
|
32
|
+
};
|
33
|
+
activeStatusBadge: {
|
34
|
+
backgroundColor: string;
|
35
|
+
color: string;
|
36
|
+
};
|
37
|
+
warningStatusBadge: {
|
38
|
+
backgroundColor: string;
|
39
|
+
color: string;
|
40
|
+
};
|
41
|
+
criticalStatusBadge: {
|
42
|
+
backgroundColor: string;
|
43
|
+
color: string;
|
44
|
+
};
|
45
|
+
healthyStatusBadge: {
|
46
|
+
backgroundColor: string;
|
47
|
+
color: string;
|
48
|
+
};
|
49
|
+
secondaryStatusBadge: {
|
50
|
+
backgroundColor: string;
|
51
|
+
color: string;
|
52
|
+
};
|
53
|
+
readOnlyFieldBadge: {
|
9
54
|
backgroundColor: string;
|
10
55
|
'& span': {
|
11
56
|
color: string;
|
12
|
-
fontSize: string;
|
13
|
-
fontWeight: number;
|
14
57
|
};
|
15
|
-
alignItems: string;
|
16
|
-
justifyContent: string;
|
17
|
-
py: string;
|
18
|
-
px: string;
|
19
|
-
borderRadius: string;
|
20
|
-
fontSize: string;
|
21
|
-
alignSelf: string;
|
22
|
-
display: string;
|
23
|
-
width: string;
|
24
58
|
};
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
px: string;
|
30
|
-
borderRadius: string;
|
31
|
-
fontSize: string;
|
32
|
-
alignSelf: string;
|
33
|
-
display: string;
|
34
|
-
width: string;
|
59
|
+
selectedItemBadge: {
|
60
|
+
backgroundColor: string;
|
61
|
+
paddingRight: string;
|
62
|
+
pl: string;
|
35
63
|
'& span': {
|
36
64
|
fontSize: string;
|
65
|
+
color: string;
|
37
66
|
fontWeight: number;
|
38
67
|
};
|
39
68
|
};
|
40
|
-
|
69
|
+
countBadge: {
|
41
70
|
backgroundColor: string;
|
42
71
|
'& span': {
|
43
72
|
color: string;
|
44
73
|
};
|
45
74
|
};
|
46
|
-
|
75
|
+
countNeutral: {
|
47
76
|
backgroundColor: string;
|
48
77
|
'& span': {
|
49
78
|
color: string;
|
50
79
|
};
|
51
80
|
};
|
52
|
-
|
81
|
+
itemBadgeWithSlot: {
|
82
|
+
bg: string;
|
83
|
+
fontWeight: number;
|
84
|
+
'& span': {
|
85
|
+
color: string;
|
86
|
+
};
|
87
|
+
'& svg': {
|
88
|
+
path: {
|
89
|
+
fill: string;
|
90
|
+
};
|
91
|
+
};
|
92
|
+
};
|
93
|
+
errorCalloutBadge: {
|
53
94
|
backgroundColor: string;
|
54
95
|
'& span': {
|
55
96
|
color: string;
|
56
97
|
};
|
57
98
|
};
|
58
|
-
|
99
|
+
infoCalloutBadge: {
|
59
100
|
backgroundColor: string;
|
60
101
|
'& span': {
|
61
|
-
fontSize: string;
|
62
|
-
fontWeight: number;
|
63
102
|
color: string;
|
64
103
|
};
|
65
|
-
alignItems: string;
|
66
|
-
justifyContent: string;
|
67
|
-
py: string;
|
68
|
-
px: string;
|
69
|
-
borderRadius: string;
|
70
|
-
fontSize: string;
|
71
|
-
alignSelf: string;
|
72
|
-
display: string;
|
73
|
-
width: string;
|
74
104
|
};
|
75
|
-
|
105
|
+
successCalloutBadge: {
|
76
106
|
backgroundColor: string;
|
77
107
|
'& span': {
|
78
108
|
color: string;
|
79
109
|
};
|
80
110
|
};
|
81
|
-
|
111
|
+
warningCalloutBadge: {
|
82
112
|
backgroundColor: string;
|
83
|
-
paddingRight: string;
|
84
|
-
pl: string;
|
85
113
|
'& span': {
|
86
|
-
fontSize: string;
|
87
114
|
color: string;
|
88
|
-
fontWeight: number;
|
89
115
|
};
|
90
|
-
alignItems: string;
|
91
|
-
justifyContent: string;
|
92
|
-
py: string;
|
93
|
-
px: string;
|
94
|
-
borderRadius: string;
|
95
|
-
fontSize: string;
|
96
|
-
alignSelf: string;
|
97
|
-
display: string;
|
98
|
-
width: string;
|
99
116
|
};
|
100
117
|
};
|
101
118
|
export default badges;
|