@pingux/astro 2.163.1-alpha.4 → 2.163.1-alpha.6
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/ListViewItem/ListViewItem.stories.js +50 -19
- package/lib/cjs/hooks/useGetTheme/useGetTheme.d.ts +12 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/customProperties/index.d.ts +6 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/customProperties/index.js +7 -1
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/badges.d.ts +16 -11
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/badges.js +25 -21
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/variants.d.ts +7 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/variants.js +12 -5
- package/lib/cjs/styles/themes/astro/customProperties/index.d.ts +6 -0
- package/lib/cjs/styles/themes/astro/customProperties/index.js +6 -0
- package/lib/cjs/styles/themes/next-gen/colors/colors.d.ts +1 -0
- package/lib/cjs/styles/themes/next-gen/customProperties/index.d.ts +6 -0
- package/lib/cjs/styles/themes/next-gen/customProperties/index.js +7 -0
- package/lib/cjs/styles/themes/next-gen/next-gen.d.ts +47 -25
- package/lib/cjs/styles/themes/next-gen/tokens/colorTokens.d.ts +1 -0
- package/lib/cjs/styles/themes/next-gen/tokens/colorTokens.js +2 -1
- package/lib/cjs/styles/themes/next-gen/variants/badges.d.ts +31 -25
- package/lib/cjs/styles/themes/next-gen/variants/badges.js +14 -13
- package/lib/cjs/styles/themes/next-gen/variants/listview.d.ts +1 -1
- package/lib/cjs/styles/themes/next-gen/variants/listview.js +1 -1
- package/lib/cjs/styles/themes/next-gen/variants/text.d.ts +1 -0
- package/lib/cjs/styles/themes/next-gen/variants/text.js +2 -1
- package/lib/cjs/styles/themes/next-gen/variants/variants.d.ts +14 -0
- package/lib/cjs/styles/themes/next-gen/variants/variants.js +16 -2
- package/lib/components/ListViewItem/ListViewItem.stories.js +52 -21
- package/lib/styles/themeOverrides/nextGenDarkMode/customProperties/index.js +7 -1
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/badges.js +25 -21
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/variants.js +12 -5
- package/lib/styles/themes/astro/customProperties/index.js +6 -0
- package/lib/styles/themes/next-gen/customProperties/index.js +7 -0
- package/lib/styles/themes/next-gen/tokens/colorTokens.js +2 -1
- package/lib/styles/themes/next-gen/variants/badges.js +14 -13
- package/lib/styles/themes/next-gen/variants/listview.js +1 -1
- package/lib/styles/themes/next-gen/variants/text.js +2 -1
- package/lib/styles/themes/next-gen/variants/variants.js +16 -2
- package/lib/tsconfig.lib.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -12,7 +12,7 @@ exports["default"] = exports.WithSubtext = exports.WithRightOfDataSlot = exports
|
|
|
12
12
|
var _react = _interopRequireWildcard(require("react"));
|
|
13
13
|
var _reactStately = require("react-stately");
|
|
14
14
|
var _AccountIcon = _interopRequireDefault(require("@pingux/mdi-react/AccountIcon"));
|
|
15
|
-
var
|
|
15
|
+
var _ClockOutlineIcon = _interopRequireDefault(require("@pingux/mdi-react/ClockOutlineIcon"));
|
|
16
16
|
var _storybookDocsLayout = _interopRequireDefault(require("../../../.storybook/storybookDocsLayout"));
|
|
17
17
|
var _ = require("../..");
|
|
18
18
|
var _hooks = require("../../hooks");
|
|
@@ -66,7 +66,7 @@ var Default = exports.Default = function Default() {
|
|
|
66
66
|
},
|
|
67
67
|
iconWrapperProps: {
|
|
68
68
|
size: 'sm',
|
|
69
|
-
color: '
|
|
69
|
+
color: 'blue'
|
|
70
70
|
}
|
|
71
71
|
}));
|
|
72
72
|
};
|
|
@@ -85,7 +85,7 @@ var WithSubtext = exports.WithSubtext = function WithSubtext() {
|
|
|
85
85
|
},
|
|
86
86
|
iconWrapperProps: {
|
|
87
87
|
size: 'sm',
|
|
88
|
-
color: '
|
|
88
|
+
color: 'blue'
|
|
89
89
|
}
|
|
90
90
|
}));
|
|
91
91
|
};
|
|
@@ -99,7 +99,7 @@ var WithImage = exports.WithImage = function WithImage() {
|
|
|
99
99
|
return (0, _react2.jsx)(Wrapper, null, (0, _react2.jsx)(_.ListViewItem, {
|
|
100
100
|
data: {
|
|
101
101
|
image: {
|
|
102
|
-
src: _images.
|
|
102
|
+
src: _images.userImagePanelHeader,
|
|
103
103
|
alt: 'avatar',
|
|
104
104
|
'aria-label': 'avatar'
|
|
105
105
|
},
|
|
@@ -117,16 +117,14 @@ WithImage.parameters = {
|
|
|
117
117
|
var WithControls = exports.WithControls = function WithControls() {
|
|
118
118
|
return (0, _react2.jsx)(Wrapper, null, (0, _react2.jsx)(_.ListViewItem, {
|
|
119
119
|
data: {
|
|
120
|
-
icon:
|
|
120
|
+
icon: _AccountIcon["default"],
|
|
121
121
|
text: 'Fons Vernall'
|
|
122
122
|
},
|
|
123
123
|
iconWrapperProps: {
|
|
124
124
|
size: 'sm',
|
|
125
|
-
color: '
|
|
125
|
+
color: 'blue'
|
|
126
126
|
}
|
|
127
|
-
}, (0, _react2.jsx)(_.
|
|
128
|
-
"aria-label": "edit-icon"
|
|
129
|
-
}), (0, _react2.jsx)(_.ListViewItemSwitchField, {
|
|
127
|
+
}, (0, _react2.jsx)(_.ListViewItemSwitchField, {
|
|
130
128
|
"aria-label": "active user"
|
|
131
129
|
}), (0, _react2.jsx)(_.ListViewItemMenu, null, (0, _react2.jsx)(_reactStately.Item, {
|
|
132
130
|
key: "enable"
|
|
@@ -143,15 +141,30 @@ WithControls.parameters = {
|
|
|
143
141
|
}
|
|
144
142
|
};
|
|
145
143
|
var WithRightOfDataSlot = exports.WithRightOfDataSlot = function WithRightOfDataSlot() {
|
|
144
|
+
var _useGetTheme2 = (0, _hooks.useGetTheme)(),
|
|
145
|
+
_useGetTheme2$badgeSt = _useGetTheme2.badgeStyles,
|
|
146
|
+
blueBg = _useGetTheme2$badgeSt.blueBg,
|
|
147
|
+
greyBg = _useGetTheme2$badgeSt.greyBg,
|
|
148
|
+
blueText = _useGetTheme2$badgeSt.blueText,
|
|
149
|
+
greyText = _useGetTheme2$badgeSt.greyText;
|
|
146
150
|
var renderRightOfData = (0, _react2.jsx)(_.Box, {
|
|
147
151
|
isRow: true,
|
|
148
152
|
gap: "sm",
|
|
149
153
|
ml: "sm"
|
|
150
154
|
}, (0, _react2.jsx)(_.Badge, {
|
|
151
|
-
label: "Label"
|
|
155
|
+
label: "Label",
|
|
156
|
+
textColor: greyText,
|
|
157
|
+
bg: greyBg,
|
|
158
|
+
sx: {
|
|
159
|
+
minWidth: 'unset'
|
|
160
|
+
}
|
|
152
161
|
}), (0, _react2.jsx)(_.Badge, {
|
|
153
162
|
label: "Label",
|
|
154
|
-
|
|
163
|
+
textColor: blueText,
|
|
164
|
+
bg: blueBg,
|
|
165
|
+
sx: {
|
|
166
|
+
minWidth: 'unset'
|
|
167
|
+
}
|
|
155
168
|
}));
|
|
156
169
|
return (0, _react2.jsx)(Wrapper, null, (0, _react2.jsx)(_.ListViewItem, {
|
|
157
170
|
data: {
|
|
@@ -161,7 +174,7 @@ var WithRightOfDataSlot = exports.WithRightOfDataSlot = function WithRightOfData
|
|
|
161
174
|
},
|
|
162
175
|
iconWrapperProps: {
|
|
163
176
|
size: 'sm',
|
|
164
|
-
color: '
|
|
177
|
+
color: 'blue'
|
|
165
178
|
},
|
|
166
179
|
slots: {
|
|
167
180
|
rightOfData: renderRightOfData
|
|
@@ -182,11 +195,14 @@ WithRightOfDataSlot.parameters = {
|
|
|
182
195
|
};
|
|
183
196
|
var WithLeftOfDataSlot = exports.WithLeftOfDataSlot = function WithLeftOfDataSlot() {
|
|
184
197
|
var renderLeftOfData = (0, _react2.jsx)(_.Box, {
|
|
185
|
-
|
|
198
|
+
pr: "md",
|
|
199
|
+
pl: "lg",
|
|
186
200
|
minWidth: 35
|
|
187
201
|
}, (0, _react2.jsx)(_.Text, {
|
|
188
202
|
pr: 3,
|
|
189
|
-
variant: "H3"
|
|
203
|
+
variant: "H3",
|
|
204
|
+
fontSize: "md",
|
|
205
|
+
fontWeight: "3"
|
|
190
206
|
}, "Ping"));
|
|
191
207
|
return (0, _react2.jsx)(Wrapper, null, (0, _react2.jsx)(_.ListViewItem, {
|
|
192
208
|
data: {
|
|
@@ -225,11 +241,11 @@ var WithCharts = exports.WithCharts = function WithCharts() {
|
|
|
225
241
|
data: {
|
|
226
242
|
text: 'Kangaroo',
|
|
227
243
|
subtext: 'kangaroo@example.com',
|
|
228
|
-
icon:
|
|
244
|
+
icon: _ClockOutlineIcon["default"]
|
|
229
245
|
},
|
|
230
246
|
iconWrapperProps: {
|
|
231
247
|
size: 'sm',
|
|
232
|
-
color: '
|
|
248
|
+
color: 'green'
|
|
233
249
|
}
|
|
234
250
|
}, (0, _react2.jsx)(_.ListViewItemChart, {
|
|
235
251
|
containerRef: containerRef,
|
|
@@ -257,15 +273,30 @@ WithCharts.parameters = {
|
|
|
257
273
|
}
|
|
258
274
|
};
|
|
259
275
|
var WithExtraLongText = exports.WithExtraLongText = function WithExtraLongText() {
|
|
276
|
+
var _useGetTheme3 = (0, _hooks.useGetTheme)(),
|
|
277
|
+
_useGetTheme3$badgeSt = _useGetTheme3.badgeStyles,
|
|
278
|
+
blueBg = _useGetTheme3$badgeSt.blueBg,
|
|
279
|
+
greyBg = _useGetTheme3$badgeSt.greyBg,
|
|
280
|
+
blueText = _useGetTheme3$badgeSt.blueText,
|
|
281
|
+
greyText = _useGetTheme3$badgeSt.greyText;
|
|
260
282
|
var renderRightOfData = (0, _react2.jsx)(_.Box, {
|
|
261
283
|
isRow: true,
|
|
262
284
|
gap: "sm",
|
|
263
285
|
mx: "sm"
|
|
264
286
|
}, (0, _react2.jsx)(_.Badge, {
|
|
265
|
-
label: "Label"
|
|
287
|
+
label: "Label",
|
|
288
|
+
textColor: greyText,
|
|
289
|
+
bg: greyBg,
|
|
290
|
+
sx: {
|
|
291
|
+
minWidth: 'unset'
|
|
292
|
+
}
|
|
266
293
|
}), (0, _react2.jsx)(_.Badge, {
|
|
267
294
|
label: "Label",
|
|
268
|
-
|
|
295
|
+
textColor: blueText,
|
|
296
|
+
bg: blueBg,
|
|
297
|
+
sx: {
|
|
298
|
+
minWidth: 'unset'
|
|
299
|
+
}
|
|
269
300
|
}));
|
|
270
301
|
var longText = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum';
|
|
271
302
|
return (0, _react2.jsx)(Wrapper, null, (0, _react2.jsx)(_.ListViewItem, {
|
|
@@ -276,7 +307,7 @@ var WithExtraLongText = exports.WithExtraLongText = function WithExtraLongText()
|
|
|
276
307
|
},
|
|
277
308
|
iconWrapperProps: {
|
|
278
309
|
size: 'sm',
|
|
279
|
-
color: '
|
|
310
|
+
color: 'blue'
|
|
280
311
|
},
|
|
281
312
|
slots: {
|
|
282
313
|
rightOfData: renderRightOfData
|
|
@@ -80,6 +80,12 @@ declare const useGetTheme: () => {
|
|
|
80
80
|
defaultIconSize: import("../..").IconSize;
|
|
81
81
|
calendarIconSize: import("../..").IconSize;
|
|
82
82
|
buttonLoaderSize: import("../..").LoaderSize;
|
|
83
|
+
badgeStyles: {
|
|
84
|
+
blueBg: string;
|
|
85
|
+
greyBg: string;
|
|
86
|
+
blueText: string;
|
|
87
|
+
greyText: string;
|
|
88
|
+
};
|
|
83
89
|
linkSelectFieldWidth: string;
|
|
84
90
|
themeState: {
|
|
85
91
|
isAstro: boolean;
|
|
@@ -134,6 +140,12 @@ declare const useGetTheme: () => {
|
|
|
134
140
|
WarningIcon: import("@pingux/mdi-react").MdiReactIconComponentType;
|
|
135
141
|
};
|
|
136
142
|
defaultIconColor: string;
|
|
143
|
+
badgeStyles: {
|
|
144
|
+
blueBg: string;
|
|
145
|
+
greyBg: string;
|
|
146
|
+
blueText: string;
|
|
147
|
+
greyText: string;
|
|
148
|
+
};
|
|
137
149
|
copyButtonSize: import("../..").IconSize;
|
|
138
150
|
breadcrumbIconSize: import("../..").IconSize;
|
|
139
151
|
breadcrumbIconMargin: string;
|
|
@@ -44,6 +44,12 @@ export declare const nextGenDarkThemeValues: {
|
|
|
44
44
|
WarningIcon: import("@pingux/mdi-react").MdiReactIconComponentType;
|
|
45
45
|
};
|
|
46
46
|
defaultIconColor: string;
|
|
47
|
+
badgeStyles: {
|
|
48
|
+
blueBg: string;
|
|
49
|
+
greyBg: string;
|
|
50
|
+
blueText: string;
|
|
51
|
+
greyText: string;
|
|
52
|
+
};
|
|
47
53
|
copyButtonSize: import("../../../..").IconSize;
|
|
48
54
|
breadcrumbIconSize: import("../../../..").IconSize;
|
|
49
55
|
breadcrumbIconMargin: string;
|
|
@@ -25,5 +25,11 @@ var nextGenDarkThemeValues = exports.nextGenDarkThemeValues = _objectSpread(_obj
|
|
|
25
25
|
backgroundBaseColor: backgroundBaseColor,
|
|
26
26
|
iFrameContentDivBackgroundColor: iFrameContentDivBackgroundColor,
|
|
27
27
|
icons: _icons["default"],
|
|
28
|
-
defaultIconColor: defaultIconColor
|
|
28
|
+
defaultIconColor: defaultIconColor,
|
|
29
|
+
badgeStyles: {
|
|
30
|
+
blueBg: '#1A73E8',
|
|
31
|
+
greyBg: '#F6F8FA',
|
|
32
|
+
blueText: '#000000',
|
|
33
|
+
greyText: '#000000'
|
|
34
|
+
}
|
|
29
35
|
});
|
|
@@ -50,45 +50,50 @@ declare const badges: {
|
|
|
50
50
|
backgroundColor: string;
|
|
51
51
|
color: string;
|
|
52
52
|
};
|
|
53
|
-
|
|
53
|
+
countBadge: {
|
|
54
54
|
backgroundColor: string;
|
|
55
55
|
'& span': {
|
|
56
56
|
color: string;
|
|
57
57
|
};
|
|
58
58
|
};
|
|
59
|
-
|
|
59
|
+
countNeutral: {
|
|
60
60
|
backgroundColor: string;
|
|
61
|
-
paddingRight: string;
|
|
62
|
-
pl: string;
|
|
63
61
|
'& span': {
|
|
64
|
-
fontSize: string;
|
|
65
62
|
color: string;
|
|
66
|
-
fontWeight: number;
|
|
67
63
|
};
|
|
68
64
|
};
|
|
69
|
-
|
|
65
|
+
selectedItemBadge: {
|
|
70
66
|
backgroundColor: string;
|
|
71
67
|
'& span': {
|
|
72
68
|
color: string;
|
|
73
69
|
};
|
|
74
70
|
};
|
|
75
|
-
|
|
71
|
+
readOnlyBadge: {
|
|
72
|
+
color: string;
|
|
76
73
|
backgroundColor: string;
|
|
74
|
+
borderColor: string;
|
|
77
75
|
'& span': {
|
|
78
76
|
color: string;
|
|
79
77
|
};
|
|
80
78
|
};
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
79
|
+
readOnlyFieldBadge: {
|
|
80
|
+
color: string;
|
|
81
|
+
backgroundColor: string;
|
|
82
|
+
borderColor: string;
|
|
84
83
|
'& span': {
|
|
85
84
|
color: string;
|
|
86
85
|
};
|
|
86
|
+
};
|
|
87
|
+
itemBadgeWithSlot: {
|
|
87
88
|
'& svg': {
|
|
88
89
|
path: {
|
|
89
90
|
fill: string;
|
|
90
91
|
};
|
|
91
92
|
};
|
|
93
|
+
backgroundColor: string;
|
|
94
|
+
'& span': {
|
|
95
|
+
color: string;
|
|
96
|
+
};
|
|
92
97
|
};
|
|
93
98
|
errorCalloutBadge: {
|
|
94
99
|
backgroundColor: string;
|
|
@@ -64,18 +64,35 @@ var countNeutral = {
|
|
|
64
64
|
color: 'white'
|
|
65
65
|
}
|
|
66
66
|
};
|
|
67
|
-
var
|
|
68
|
-
|
|
69
|
-
|
|
67
|
+
var readOnlyBadge = {
|
|
68
|
+
color: 'gray-100',
|
|
69
|
+
backgroundColor: '#23282E !important',
|
|
70
|
+
borderColor: 'border.attachment',
|
|
70
71
|
'& span': {
|
|
71
72
|
color: 'gray-100'
|
|
72
|
-
}
|
|
73
|
+
}
|
|
74
|
+
};
|
|
75
|
+
var readOnlyFieldBadge = {
|
|
76
|
+
color: 'gray-100',
|
|
77
|
+
backgroundColor: '#23282E !important',
|
|
78
|
+
borderColor: 'border.attachment',
|
|
79
|
+
'& span': {
|
|
80
|
+
color: 'gray-100'
|
|
81
|
+
}
|
|
82
|
+
};
|
|
83
|
+
var selectedItemBadge = {
|
|
84
|
+
backgroundColor: '#155CBA !important',
|
|
85
|
+
'& span': {
|
|
86
|
+
color: 'gray-100'
|
|
87
|
+
}
|
|
88
|
+
};
|
|
89
|
+
var itemBadgeWithSlot = _objectSpread(_objectSpread({}, selectedItemBadge), {}, {
|
|
73
90
|
'& svg': {
|
|
74
91
|
path: {
|
|
75
92
|
fill: 'gray-100'
|
|
76
93
|
}
|
|
77
94
|
}
|
|
78
|
-
};
|
|
95
|
+
});
|
|
79
96
|
var badges = {
|
|
80
97
|
baseBadge: baseBadge,
|
|
81
98
|
primary: primary,
|
|
@@ -90,24 +107,11 @@ var badges = {
|
|
|
90
107
|
criticalStatusBadge: criticalStatusBadge,
|
|
91
108
|
healthyStatusBadge: healthyStatusBadge,
|
|
92
109
|
secondaryStatusBadge: secondaryStatusBadge,
|
|
93
|
-
readOnlyFieldBadge: {
|
|
94
|
-
backgroundColor: '#F6F8FA !important',
|
|
95
|
-
'& span': {
|
|
96
|
-
color: 'black'
|
|
97
|
-
}
|
|
98
|
-
},
|
|
99
|
-
selectedItemBadge: {
|
|
100
|
-
backgroundColor: '#1a73e8 !important',
|
|
101
|
-
paddingRight: '0px !important',
|
|
102
|
-
pl: '10px',
|
|
103
|
-
'& span': {
|
|
104
|
-
fontSize: '14px',
|
|
105
|
-
color: 'gray-400',
|
|
106
|
-
fontWeight: 400
|
|
107
|
-
}
|
|
108
|
-
},
|
|
109
110
|
countBadge: countBadge,
|
|
110
111
|
countNeutral: countNeutral,
|
|
112
|
+
selectedItemBadge: selectedItemBadge,
|
|
113
|
+
readOnlyBadge: readOnlyBadge,
|
|
114
|
+
readOnlyFieldBadge: readOnlyFieldBadge,
|
|
111
115
|
itemBadgeWithSlot: itemBadgeWithSlot,
|
|
112
116
|
errorCalloutBadge: {
|
|
113
117
|
backgroundColor: '#23282e !important',
|
|
@@ -423,6 +423,7 @@ declare const _default: {
|
|
|
423
423
|
borderRadius: string;
|
|
424
424
|
};
|
|
425
425
|
option: {
|
|
426
|
+
color: string;
|
|
426
427
|
'&.is-focused': {
|
|
427
428
|
color: string;
|
|
428
429
|
bg: string;
|
|
@@ -434,6 +435,12 @@ declare const _default: {
|
|
|
434
435
|
color: string;
|
|
435
436
|
};
|
|
436
437
|
};
|
|
438
|
+
'&.is-condensed': {
|
|
439
|
+
color: string;
|
|
440
|
+
'&.is-focused': {
|
|
441
|
+
color: string;
|
|
442
|
+
};
|
|
443
|
+
};
|
|
437
444
|
'&.is-focus-visible': {
|
|
438
445
|
zIndex: number;
|
|
439
446
|
};
|
|
@@ -26,15 +26,22 @@ var listBox = {
|
|
|
26
26
|
borderRadius: '4px'
|
|
27
27
|
},
|
|
28
28
|
option: {
|
|
29
|
+
color: 'gray-400',
|
|
29
30
|
'&.is-focused': {
|
|
30
|
-
color: '
|
|
31
|
-
bg: '
|
|
31
|
+
color: 'gray-200',
|
|
32
|
+
bg: '#2C323A'
|
|
32
33
|
},
|
|
33
34
|
'&.is-selected': {
|
|
34
|
-
color: '
|
|
35
|
-
bg: '
|
|
35
|
+
color: 'gray-200',
|
|
36
|
+
bg: '#2C323A',
|
|
36
37
|
'&.is-focused': {
|
|
37
|
-
color: '
|
|
38
|
+
color: 'gray-200'
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
'&.is-condensed': {
|
|
42
|
+
color: 'gray-400',
|
|
43
|
+
'&.is-focused': {
|
|
44
|
+
color: 'gray-200'
|
|
38
45
|
}
|
|
39
46
|
},
|
|
40
47
|
'&.is-focus-visible': {
|
|
@@ -74,5 +74,11 @@ export declare const astroThemeValues: {
|
|
|
74
74
|
defaultIconSize: IconSize;
|
|
75
75
|
calendarIconSize: IconSize;
|
|
76
76
|
buttonLoaderSize: LoaderSize;
|
|
77
|
+
badgeStyles: {
|
|
78
|
+
blueBg: string;
|
|
79
|
+
greyBg: string;
|
|
80
|
+
blueText: string;
|
|
81
|
+
greyText: string;
|
|
82
|
+
};
|
|
77
83
|
linkSelectFieldWidth: string;
|
|
78
84
|
};
|
|
@@ -51,5 +51,11 @@ var astroThemeValues = exports.astroThemeValues = {
|
|
|
51
51
|
defaultIconSize: defaultIconSize,
|
|
52
52
|
calendarIconSize: calendarIconSize,
|
|
53
53
|
buttonLoaderSize: buttonLoaderSize,
|
|
54
|
+
badgeStyles: {
|
|
55
|
+
blueBg: '#4462ed',
|
|
56
|
+
greyBg: '#253746',
|
|
57
|
+
blueText: '#FFFFFF',
|
|
58
|
+
greyText: '#FFFFFF'
|
|
59
|
+
},
|
|
54
60
|
linkSelectFieldWidth: linkSelectFieldWidth
|
|
55
61
|
};
|
|
@@ -84,5 +84,11 @@ export declare const nextGenThemeValues: {
|
|
|
84
84
|
defaultIconSize: IconSize;
|
|
85
85
|
calendarIconSize: IconSize;
|
|
86
86
|
buttonLoaderSize: LoaderSize;
|
|
87
|
+
badgeStyles: {
|
|
88
|
+
blueBg: string;
|
|
89
|
+
greyBg: string;
|
|
90
|
+
blueText: string;
|
|
91
|
+
greyText: string;
|
|
92
|
+
};
|
|
87
93
|
linkSelectFieldWidth: string;
|
|
88
94
|
};
|
|
@@ -31,6 +31,12 @@ var iFrameContentDivBackgroundColor = backgroundBaseColor;
|
|
|
31
31
|
var defaultIconColor = 'gray-800';
|
|
32
32
|
var defaultIconSize = 'md';
|
|
33
33
|
var buttonLoaderSize = 'sm';
|
|
34
|
+
var badgeStyles = {
|
|
35
|
+
blueBg: '#EAF2FD',
|
|
36
|
+
greyBg: '#455469',
|
|
37
|
+
blueText: '#155CBA',
|
|
38
|
+
greyText: '#FFFFFF'
|
|
39
|
+
};
|
|
34
40
|
var linkSelectFieldWidth = '12em';
|
|
35
41
|
var calendarIconSize = 'sm';
|
|
36
42
|
var nextGenThemeValues = exports.nextGenThemeValues = _objectSpread({
|
|
@@ -48,5 +54,6 @@ var nextGenThemeValues = exports.nextGenThemeValues = _objectSpread({
|
|
|
48
54
|
defaultIconSize: defaultIconSize,
|
|
49
55
|
calendarIconSize: calendarIconSize,
|
|
50
56
|
buttonLoaderSize: buttonLoaderSize,
|
|
57
|
+
badgeStyles: badgeStyles,
|
|
51
58
|
linkSelectFieldWidth: linkSelectFieldWidth
|
|
52
59
|
}, _customSizes["default"]);
|