@pingux/astro 2.163.1-alpha.5 → 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.
Files changed (23) hide show
  1. package/lib/cjs/components/ListViewItem/ListViewItem.stories.js +50 -19
  2. package/lib/cjs/hooks/useGetTheme/useGetTheme.d.ts +12 -0
  3. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/customProperties/index.d.ts +6 -0
  4. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/customProperties/index.js +7 -1
  5. package/lib/cjs/styles/themes/astro/customProperties/index.d.ts +6 -0
  6. package/lib/cjs/styles/themes/astro/customProperties/index.js +6 -0
  7. package/lib/cjs/styles/themes/next-gen/customProperties/index.d.ts +6 -0
  8. package/lib/cjs/styles/themes/next-gen/customProperties/index.js +7 -0
  9. package/lib/cjs/styles/themes/next-gen/next-gen.d.ts +1 -0
  10. package/lib/cjs/styles/themes/next-gen/variants/badges.js +1 -1
  11. package/lib/cjs/styles/themes/next-gen/variants/listview.d.ts +1 -1
  12. package/lib/cjs/styles/themes/next-gen/variants/listview.js +1 -1
  13. package/lib/cjs/styles/themes/next-gen/variants/text.d.ts +1 -0
  14. package/lib/cjs/styles/themes/next-gen/variants/text.js +2 -1
  15. package/lib/components/ListViewItem/ListViewItem.stories.js +52 -21
  16. package/lib/styles/themeOverrides/nextGenDarkMode/customProperties/index.js +7 -1
  17. package/lib/styles/themes/astro/customProperties/index.js +6 -0
  18. package/lib/styles/themes/next-gen/customProperties/index.js +7 -0
  19. package/lib/styles/themes/next-gen/variants/badges.js +1 -1
  20. package/lib/styles/themes/next-gen/variants/listview.js +1 -1
  21. package/lib/styles/themes/next-gen/variants/text.js +2 -1
  22. package/lib/tsconfig.lib.tsbuildinfo +1 -1
  23. 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 _FormSelectIcon = _interopRequireDefault(require("@pingux/mdi-react/FormSelectIcon"));
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: 'green'
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: 'pink'
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.pingImg,
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: _FormSelectIcon["default"],
120
+ icon: _AccountIcon["default"],
121
121
  text: 'Fons Vernall'
122
122
  },
123
123
  iconWrapperProps: {
124
124
  size: 'sm',
125
- color: 'orange'
125
+ color: 'blue'
126
126
  }
127
- }, (0, _react2.jsx)(_.ListViewItemEditButton, {
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
- bg: "active"
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: 'teal'
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
- mx: "sm",
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: _FormSelectIcon["default"]
244
+ icon: _ClockOutlineIcon["default"]
229
245
  },
230
246
  iconWrapperProps: {
231
247
  size: 'sm',
232
- color: 'purple'
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
- bg: "active"
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: 'orange'
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
  });
@@ -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"]);
@@ -2126,6 +2126,7 @@ declare const _default: {
2126
2126
  fontSize: string;
2127
2127
  lineHeight: string;
2128
2128
  color: string;
2129
+ mt: number;
2129
2130
  };
2130
2131
  itemTitle: {
2131
2132
  fontWeight: number;
@@ -46,7 +46,7 @@ var baseBadge = _objectSpread({
46
46
  alignItems: 'center',
47
47
  justifyContent: 'center',
48
48
  py: '.25em',
49
- px: '.4em',
49
+ px: '.34em',
50
50
  borderRadius: '4px',
51
51
  maxHeight: '18px',
52
52
  minHeight: '18px',
@@ -1,4 +1,4 @@
1
- export declare const focusBoxShadow = "0 0 0 3px inset #1a73e8";
1
+ export declare const focusBoxShadow = "0 0 0 2px inset #1a73e8";
2
2
  export declare const borderRadius = "16px";
3
3
  export declare const listViewItem: {
4
4
  rightOfData: {
@@ -5,7 +5,7 @@ _Object$defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
7
  exports.listViewItem = exports.listView = exports.lisViewItemChart = exports.focusBoxShadow = exports.borderRadius = void 0;
8
- var focusBoxShadow = exports.focusBoxShadow = '0 0 0 3px inset #1a73e8';
8
+ var focusBoxShadow = exports.focusBoxShadow = '0 0 0 2px inset #1a73e8';
9
9
  var borderRadius = exports.borderRadius = '16px';
10
10
  var listViewItem = exports.listViewItem = {
11
11
  rightOfData: {
@@ -180,6 +180,7 @@ export declare const text: {
180
180
  fontSize: string;
181
181
  lineHeight: string;
182
182
  color: string;
183
+ mt: number;
183
184
  };
184
185
  itemTitle: {
185
186
  fontWeight: number;
@@ -160,7 +160,8 @@ var text = exports.text = _objectSpread(_objectSpread({
160
160
  listViewItemSubtext: {
161
161
  fontSize: 'md',
162
162
  lineHeight: 'body',
163
- color: 'gray-700'
163
+ color: 'font.light',
164
+ mt: 0
164
165
  },
165
166
  itemTitle: {
166
167
  fontWeight: 2,
@@ -1,12 +1,12 @@
1
1
  import React, { useRef } from 'react';
2
2
  import { Item } from 'react-stately';
3
3
  import AccountIcon from '@pingux/mdi-react/AccountIcon';
4
- import FormSelectIcon from '@pingux/mdi-react/FormSelectIcon';
4
+ import ClockOutlineIcon from '@pingux/mdi-react/ClockOutlineIcon';
5
5
  import DocsLayout from '../../../.storybook/storybookDocsLayout';
6
- import { Badge, Box, ListViewItem, ListViewItemChart, ListViewItemEditButton, ListViewItemMenu, ListViewItemSwitchField, Separator, Text } from '../..';
6
+ import { Badge, Box, ListViewItem, ListViewItemChart, ListViewItemMenu, ListViewItemSwitchField, Separator, Text } from '../..';
7
7
  import { useGetTheme } from '../../hooks';
8
8
  import { FIGMA_LINKS } from '../../utils/designUtils/figmaLinks';
9
- import { pingImg } from '../../utils/devUtils/constants/images';
9
+ import { userImagePanelHeader } from '../../utils/devUtils/constants/images';
10
10
  import { chartData } from './controls/chart/chartData';
11
11
  import ListViewItemReadMe from './ListViewItem.mdx';
12
12
  import { listViewItemArgTypes } from './listViewItemAttributes';
@@ -54,7 +54,7 @@ export var Default = function Default() {
54
54
  },
55
55
  iconWrapperProps: {
56
56
  size: 'sm',
57
- color: 'green'
57
+ color: 'blue'
58
58
  }
59
59
  }));
60
60
  };
@@ -73,7 +73,7 @@ export var WithSubtext = function WithSubtext() {
73
73
  },
74
74
  iconWrapperProps: {
75
75
  size: 'sm',
76
- color: 'pink'
76
+ color: 'blue'
77
77
  }
78
78
  }));
79
79
  };
@@ -87,7 +87,7 @@ export var WithImage = function WithImage() {
87
87
  return ___EmotionJSX(Wrapper, null, ___EmotionJSX(ListViewItem, {
88
88
  data: {
89
89
  image: {
90
- src: pingImg,
90
+ src: userImagePanelHeader,
91
91
  alt: 'avatar',
92
92
  'aria-label': 'avatar'
93
93
  },
@@ -105,16 +105,14 @@ WithImage.parameters = {
105
105
  export var WithControls = function WithControls() {
106
106
  return ___EmotionJSX(Wrapper, null, ___EmotionJSX(ListViewItem, {
107
107
  data: {
108
- icon: FormSelectIcon,
108
+ icon: AccountIcon,
109
109
  text: 'Fons Vernall'
110
110
  },
111
111
  iconWrapperProps: {
112
112
  size: 'sm',
113
- color: 'orange'
113
+ color: 'blue'
114
114
  }
115
- }, ___EmotionJSX(ListViewItemEditButton, {
116
- "aria-label": "edit-icon"
117
- }), ___EmotionJSX(ListViewItemSwitchField, {
115
+ }, ___EmotionJSX(ListViewItemSwitchField, {
118
116
  "aria-label": "active user"
119
117
  }), ___EmotionJSX(ListViewItemMenu, null, ___EmotionJSX(Item, {
120
118
  key: "enable"
@@ -131,15 +129,30 @@ WithControls.parameters = {
131
129
  }
132
130
  };
133
131
  export var WithRightOfDataSlot = function WithRightOfDataSlot() {
132
+ var _useGetTheme2 = useGetTheme(),
133
+ _useGetTheme2$badgeSt = _useGetTheme2.badgeStyles,
134
+ blueBg = _useGetTheme2$badgeSt.blueBg,
135
+ greyBg = _useGetTheme2$badgeSt.greyBg,
136
+ blueText = _useGetTheme2$badgeSt.blueText,
137
+ greyText = _useGetTheme2$badgeSt.greyText;
134
138
  var renderRightOfData = ___EmotionJSX(Box, {
135
139
  isRow: true,
136
140
  gap: "sm",
137
141
  ml: "sm"
138
142
  }, ___EmotionJSX(Badge, {
139
- label: "Label"
143
+ label: "Label",
144
+ textColor: greyText,
145
+ bg: greyBg,
146
+ sx: {
147
+ minWidth: 'unset'
148
+ }
140
149
  }), ___EmotionJSX(Badge, {
141
150
  label: "Label",
142
- bg: "active"
151
+ textColor: blueText,
152
+ bg: blueBg,
153
+ sx: {
154
+ minWidth: 'unset'
155
+ }
143
156
  }));
144
157
  return ___EmotionJSX(Wrapper, null, ___EmotionJSX(ListViewItem, {
145
158
  data: {
@@ -149,7 +162,7 @@ export var WithRightOfDataSlot = function WithRightOfDataSlot() {
149
162
  },
150
163
  iconWrapperProps: {
151
164
  size: 'sm',
152
- color: 'teal'
165
+ color: 'blue'
153
166
  },
154
167
  slots: {
155
168
  rightOfData: renderRightOfData
@@ -170,11 +183,14 @@ WithRightOfDataSlot.parameters = {
170
183
  };
171
184
  export var WithLeftOfDataSlot = function WithLeftOfDataSlot() {
172
185
  var renderLeftOfData = ___EmotionJSX(Box, {
173
- mx: "sm",
186
+ pr: "md",
187
+ pl: "lg",
174
188
  minWidth: 35
175
189
  }, ___EmotionJSX(Text, {
176
190
  pr: 3,
177
- variant: "H3"
191
+ variant: "H3",
192
+ fontSize: "md",
193
+ fontWeight: "3"
178
194
  }, "Ping"));
179
195
  return ___EmotionJSX(Wrapper, null, ___EmotionJSX(ListViewItem, {
180
196
  data: {
@@ -213,11 +229,11 @@ export var WithCharts = function WithCharts() {
213
229
  data: {
214
230
  text: 'Kangaroo',
215
231
  subtext: 'kangaroo@example.com',
216
- icon: FormSelectIcon
232
+ icon: ClockOutlineIcon
217
233
  },
218
234
  iconWrapperProps: {
219
235
  size: 'sm',
220
- color: 'purple'
236
+ color: 'green'
221
237
  }
222
238
  }, ___EmotionJSX(ListViewItemChart, {
223
239
  containerRef: containerRef,
@@ -245,15 +261,30 @@ WithCharts.parameters = {
245
261
  }
246
262
  };
247
263
  export var WithExtraLongText = function WithExtraLongText() {
264
+ var _useGetTheme3 = useGetTheme(),
265
+ _useGetTheme3$badgeSt = _useGetTheme3.badgeStyles,
266
+ blueBg = _useGetTheme3$badgeSt.blueBg,
267
+ greyBg = _useGetTheme3$badgeSt.greyBg,
268
+ blueText = _useGetTheme3$badgeSt.blueText,
269
+ greyText = _useGetTheme3$badgeSt.greyText;
248
270
  var renderRightOfData = ___EmotionJSX(Box, {
249
271
  isRow: true,
250
272
  gap: "sm",
251
273
  mx: "sm"
252
274
  }, ___EmotionJSX(Badge, {
253
- label: "Label"
275
+ label: "Label",
276
+ textColor: greyText,
277
+ bg: greyBg,
278
+ sx: {
279
+ minWidth: 'unset'
280
+ }
254
281
  }), ___EmotionJSX(Badge, {
255
282
  label: "Label",
256
- bg: "active"
283
+ textColor: blueText,
284
+ bg: blueBg,
285
+ sx: {
286
+ minWidth: 'unset'
287
+ }
257
288
  }));
258
289
  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';
259
290
  return ___EmotionJSX(Wrapper, null, ___EmotionJSX(ListViewItem, {
@@ -264,7 +295,7 @@ export var WithExtraLongText = function WithExtraLongText() {
264
295
  },
265
296
  iconWrapperProps: {
266
297
  size: 'sm',
267
- color: 'orange'
298
+ color: 'blue'
268
299
  },
269
300
  slots: {
270
301
  rightOfData: renderRightOfData
@@ -18,5 +18,11 @@ export var nextGenDarkThemeValues = _objectSpread(_objectSpread({}, nextGenTheme
18
18
  backgroundBaseColor: backgroundBaseColor,
19
19
  iFrameContentDivBackgroundColor: iFrameContentDivBackgroundColor,
20
20
  icons: icons,
21
- defaultIconColor: defaultIconColor
21
+ defaultIconColor: defaultIconColor,
22
+ badgeStyles: {
23
+ blueBg: '#1A73E8',
24
+ greyBg: '#F6F8FA',
25
+ blueText: '#000000',
26
+ greyText: '#000000'
27
+ }
22
28
  });
@@ -39,5 +39,11 @@ export var astroThemeValues = {
39
39
  defaultIconSize: defaultIconSize,
40
40
  calendarIconSize: calendarIconSize,
41
41
  buttonLoaderSize: buttonLoaderSize,
42
+ badgeStyles: {
43
+ blueBg: '#4462ed',
44
+ greyBg: '#253746',
45
+ blueText: '#FFFFFF',
46
+ greyText: '#FFFFFF'
47
+ },
42
48
  linkSelectFieldWidth: linkSelectFieldWidth
43
49
  };
@@ -21,6 +21,12 @@ var iFrameContentDivBackgroundColor = backgroundBaseColor;
21
21
  var defaultIconColor = 'gray-800';
22
22
  var defaultIconSize = 'md';
23
23
  var buttonLoaderSize = 'sm';
24
+ var badgeStyles = {
25
+ blueBg: '#EAF2FD',
26
+ greyBg: '#455469',
27
+ blueText: '#155CBA',
28
+ greyText: '#FFFFFF'
29
+ };
24
30
  var linkSelectFieldWidth = '12em';
25
31
  var calendarIconSize = 'sm';
26
32
  export var nextGenThemeValues = _objectSpread({
@@ -38,5 +44,6 @@ export var nextGenThemeValues = _objectSpread({
38
44
  defaultIconSize: defaultIconSize,
39
45
  calendarIconSize: calendarIconSize,
40
46
  buttonLoaderSize: buttonLoaderSize,
47
+ badgeStyles: badgeStyles,
41
48
  linkSelectFieldWidth: linkSelectFieldWidth
42
49
  }, customSizes);
@@ -39,7 +39,7 @@ var baseBadge = _objectSpread({
39
39
  alignItems: 'center',
40
40
  justifyContent: 'center',
41
41
  py: '.25em',
42
- px: '.4em',
42
+ px: '.34em',
43
43
  borderRadius: '4px',
44
44
  maxHeight: '18px',
45
45
  minHeight: '18px',
@@ -1,4 +1,4 @@
1
- export var focusBoxShadow = '0 0 0 3px inset #1a73e8';
1
+ export var focusBoxShadow = '0 0 0 2px inset #1a73e8';
2
2
  export var borderRadius = '16px';
3
3
  export var listViewItem = {
4
4
  rightOfData: {
@@ -153,7 +153,8 @@ export var text = _objectSpread(_objectSpread({
153
153
  listViewItemSubtext: {
154
154
  fontSize: 'md',
155
155
  lineHeight: 'body',
156
- color: 'gray-700'
156
+ color: 'font.light',
157
+ mt: 0
157
158
  },
158
159
  itemTitle: {
159
160
  fontWeight: 2,