@pingux/astro 2.14.0 → 2.14.1-alpha.1

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.
@@ -42,10 +42,6 @@ var container = {
42
42
  borderBottomColor: 'line.light'
43
43
  }
44
44
  };
45
- var styledListItem = _objectSpread(_objectSpread({}, container), {}, {
46
- padding: 0,
47
- minHeight: 0
48
- });
49
45
  var linkedViewContainer = _objectSpread(_objectSpread({}, container), {}, {
50
46
  minHeight: '75px',
51
47
  height: '76px',
@@ -75,9 +71,50 @@ var linkedViewContainer = _objectSpread(_objectSpread({}, container), {}, {
75
71
  }
76
72
  }
77
73
  });
74
+ var styledContainer = {
75
+ m: '1px',
76
+ minHeight: '72px',
77
+ '&.is-hovered': {
78
+ bg: 'white',
79
+ cursor: 'pointer'
80
+ }
81
+ };
82
+ var styledListItem = _objectSpread(_objectSpread({}, container), {}, {
83
+ minHeight: 0,
84
+ padding: 0
85
+ });
86
+ var controls = {
87
+ alignItems: 'center',
88
+ alignSelf: 'center',
89
+ flexShrink: 0,
90
+ ml: 'auto',
91
+ pr: 'sm'
92
+ };
93
+ var iconWrapper = {
94
+ cursor: 'pointer',
95
+ display: 'flex',
96
+ flex: '1 1 0px',
97
+ ml: 'md'
98
+ };
99
+ var imageWrapper = _objectSpread(_objectSpread({}, iconWrapper), {}, {
100
+ ml: 'sm'
101
+ });
102
+ var leftOfDataWrapper = _objectSpread(_objectSpread({}, iconWrapper), {}, {
103
+ ml: 0
104
+ });
105
+ var rightOfData = {
106
+ alignSelf: 'center',
107
+ flexShrink: 0
108
+ };
78
109
  var _default = {
79
110
  container: container,
111
+ controls: controls,
112
+ iconWrapper: iconWrapper,
113
+ imageWrapper: imageWrapper,
114
+ leftOfDataWrapper: leftOfDataWrapper,
80
115
  linkedViewContainer: linkedViewContainer,
116
+ rightOfData: rightOfData,
117
+ styledContainer: styledContainer,
81
118
  styledListItem: styledListItem
82
119
  };
83
120
  exports["default"] = _default;
@@ -21,9 +21,9 @@ export declare const text: {
21
21
  overflowWrap: string;
22
22
  };
23
23
  bodyStrong: {
24
- fontWeight: number;
25
24
  color: string;
26
25
  fontFamily: string;
26
+ fontWeight: number;
27
27
  display: string;
28
28
  overflowWrap: string;
29
29
  maxWidth: string;
@@ -181,12 +181,12 @@ export declare const text: {
181
181
  wordBreak: string;
182
182
  };
183
183
  listTitle: {
184
+ textOverflow: string;
185
+ overflow: string;
186
+ whiteSpace: string;
184
187
  fontSize: string;
185
188
  fontWeight: number;
186
189
  color: string;
187
- whiteSpace: string;
188
- overflow: string;
189
- textOverflow: string;
190
190
  display: string;
191
191
  overflowWrap: string;
192
192
  maxWidth: string;
@@ -194,12 +194,44 @@ export declare const text: {
194
194
  wordBreak: string;
195
195
  };
196
196
  listSubtitle: {
197
+ textOverflow: string;
198
+ overflow: string;
199
+ whiteSpace: string;
197
200
  fontSize: string;
198
201
  fontWeight: number;
199
202
  color: string;
200
- whiteSpace: string;
203
+ display: string;
204
+ overflowWrap: string;
205
+ maxWidth: string;
206
+ wordWrap: string;
207
+ wordBreak: string;
208
+ };
209
+ listViewItemSubtext: {
210
+ alignSelf: string;
211
+ fontSize: string;
212
+ lineHeight: string;
213
+ my: string;
214
+ textOverflow: string;
201
215
  overflow: string;
216
+ whiteSpace: string;
217
+ color: string;
218
+ fontFamily: string;
219
+ fontWeight: number;
220
+ display: string;
221
+ overflowWrap: string;
222
+ maxWidth: string;
223
+ wordWrap: string;
224
+ wordBreak: string;
225
+ };
226
+ listViewItemText: {
227
+ alignSelf: string;
228
+ fontSize: string;
202
229
  textOverflow: string;
230
+ overflow: string;
231
+ whiteSpace: string;
232
+ color: string;
233
+ fontFamily: string;
234
+ fontWeight: number;
203
235
  display: string;
204
236
  overflowWrap: string;
205
237
  maxWidth: string;
@@ -223,9 +255,9 @@ export declare const text: {
223
255
  wordBreak: string;
224
256
  };
225
257
  subtitle: {
226
- fontWeight: number;
227
258
  color: string;
228
259
  fontFamily: string;
260
+ fontWeight: number;
229
261
  display: string;
230
262
  overflowWrap: string;
231
263
  maxWidth: string;
@@ -268,9 +300,9 @@ export declare const text: {
268
300
  wordBreak: string;
269
301
  };
270
302
  textEllipsis: {
271
- whiteSpace: string;
272
- overflow: string;
273
303
  textOverflow: string;
304
+ overflow: string;
305
+ whiteSpace: string;
274
306
  };
275
307
  title: {
276
308
  fontSize: string;
@@ -74,13 +74,34 @@ var itemTitle = _objectSpread(_objectSpread({}, wordWrap), {}, {
74
74
  color: 'text.primary',
75
75
  fontFamily: 'standard'
76
76
  });
77
+ var bodyStrong = _objectSpread(_objectSpread({}, wordWrap), {}, {
78
+ color: 'text.primary',
79
+ fontFamily: 'standard',
80
+ fontWeight: 1
81
+ });
82
+ var subtitle = _objectSpread(_objectSpread({}, wordWrap), {}, {
83
+ color: 'text.secondary',
84
+ fontFamily: 'standard',
85
+ fontWeight: 0
86
+ });
87
+ var textEllipsis = {
88
+ textOverflow: 'ellipsis',
89
+ overflow: 'hidden',
90
+ whiteSpace: 'nowrap'
91
+ };
92
+ var listViewItemText = _objectSpread(_objectSpread(_objectSpread({}, bodyStrong), textEllipsis), {}, {
93
+ alignSelf: 'start',
94
+ fontSize: 'md'
95
+ });
96
+ var listViewItemSubtext = _objectSpread(_objectSpread(_objectSpread({}, subtitle), textEllipsis), {}, {
97
+ alignSelf: 'start',
98
+ fontSize: 'sm',
99
+ lineHeight: '16px',
100
+ my: '1px'
101
+ });
77
102
  var text = {
78
103
  base: base,
79
- bodyStrong: _objectSpread(_objectSpread({}, wordWrap), {}, {
80
- fontWeight: 1,
81
- color: 'text.primary',
82
- fontFamily: 'standard'
83
- }),
104
+ bodyStrong: bodyStrong,
84
105
  bodyWeak: _objectSpread(_objectSpread({}, wordWrap), {}, {
85
106
  fontSize: 'sm',
86
107
  color: 'text.secondary',
@@ -152,30 +173,22 @@ var text = {
152
173
  listTitle: _objectSpread(_objectSpread({}, wordWrap), {}, {
153
174
  fontSize: 'md',
154
175
  fontWeight: 1,
155
- color: 'text.primary',
156
- whiteSpace: 'nowrap',
157
- overflow: 'hidden',
158
- textOverflow: 'ellipsis'
159
- }),
176
+ color: 'text.primary'
177
+ }, textEllipsis),
160
178
  listSubtitle: _objectSpread(_objectSpread({}, wordWrap), {}, {
161
179
  fontSize: 'sm',
162
180
  fontWeight: 0,
163
- color: 'text.secondary',
164
- whiteSpace: 'nowrap',
165
- overflow: 'hidden',
166
- textOverflow: 'ellipsis'
167
- }),
181
+ color: 'text.secondary'
182
+ }, textEllipsis),
183
+ listViewItemSubtext: listViewItemSubtext,
184
+ listViewItemText: listViewItemText,
168
185
  placeholder: {
169
186
  fontWeight: -1,
170
187
  color: 'text.secondary',
171
188
  fontFamily: 'standard'
172
189
  },
173
190
  sectionTitle: sectionTitle,
174
- subtitle: _objectSpread(_objectSpread({}, wordWrap), {}, {
175
- fontWeight: 0,
176
- color: 'text.secondary',
177
- fontFamily: 'standard'
178
- }),
191
+ subtitle: subtitle,
179
192
  tabLabel: tabLabel,
180
193
  tableData: _objectSpread(_objectSpread({}, wordWrap), {}, {
181
194
  fontSize: 'sm',
@@ -183,11 +196,7 @@ var text = {
183
196
  color: 'text.primary',
184
197
  fontFamily: 'standard'
185
198
  }),
186
- textEllipsis: {
187
- whiteSpace: 'nowrap',
188
- overflow: 'hidden',
189
- textOverflow: 'ellipsis'
190
- },
199
+ textEllipsis: textEllipsis,
191
200
  title: title
192
201
  };
193
202
  exports.text = text;
@@ -1,15 +1,9 @@
1
1
  "use strict";
2
2
 
3
3
  var _typeof = require("@babel/runtime-corejs3/helpers/typeof");
4
- var _Object$keys = require("@babel/runtime-corejs3/core-js-stable/object/keys");
5
- var _Object$getOwnPropertySymbols = require("@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols");
6
- var _filterInstanceProperty = require("@babel/runtime-corejs3/core-js-stable/instance/filter");
7
- var _Object$getOwnPropertyDescriptor = require("@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor");
8
- var _forEachInstanceProperty = require("@babel/runtime-corejs3/core-js-stable/instance/for-each");
9
- var _Object$getOwnPropertyDescriptors = require("@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors");
10
- var _Object$defineProperties = require("@babel/runtime-corejs3/core-js-stable/object/define-properties");
11
- var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
12
4
  var _WeakMap = require("@babel/runtime-corejs3/core-js-stable/weak-map");
5
+ var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
6
+ var _Object$getOwnPropertyDescriptor = require("@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor");
13
7
  var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
14
8
  _Object$defineProperty(exports, "__esModule", {
15
9
  value: true
@@ -18,7 +12,6 @@ exports["default"] = exports.LIST_ITEM_ICON = void 0;
18
12
  var _concat = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/concat"));
19
13
  var _extends2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/extends"));
20
14
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/objectWithoutProperties"));
21
- var _defineProperty2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/defineProperty"));
22
15
  var _react = _interopRequireWildcard(require("react"));
23
16
  var _interactions = require("@react-aria/interactions");
24
17
  var _hooks = require("../../hooks");
@@ -28,62 +21,6 @@ var _react2 = require("@emotion/react");
28
21
  var _excluded = ["children", "className", "data", "isHovered", "isSelected", "linkProps", "onHoverChange", "onHoverEnd", "onHoverStart", "slots"];
29
22
  function _getRequireWildcardCache(nodeInterop) { if (typeof _WeakMap !== "function") return null; var cacheBabelInterop = new _WeakMap(); var cacheNodeInterop = new _WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
30
23
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = _Object$defineProperty && _Object$getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? _Object$getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { _Object$defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
31
- function ownKeys(object, enumerableOnly) { var keys = _Object$keys(object); if (_Object$getOwnPropertySymbols) { var symbols = _Object$getOwnPropertySymbols(object); enumerableOnly && (symbols = _filterInstanceProperty(symbols).call(symbols, function (sym) { return _Object$getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
32
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var _context3, _context4; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? _forEachInstanceProperty(_context3 = ownKeys(Object(source), !0)).call(_context3, function (key) { (0, _defineProperty2["default"])(target, key, source[key]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(target, _Object$getOwnPropertyDescriptors(source)) : _forEachInstanceProperty(_context4 = ownKeys(Object(source))).call(_context4, function (key) { _Object$defineProperty(target, key, _Object$getOwnPropertyDescriptor(source, key)); }); } return target; }
33
- var truncate = {
34
- textOverflow: 'ellipsis',
35
- overflow: 'hidden',
36
- whiteSpace: 'nowrap'
37
- };
38
- var sx = {
39
- container: {
40
- m: 1,
41
- minHeight: 72,
42
- '&.is-hovered': {
43
- bg: 'white',
44
- cursor: 'pointer'
45
- }
46
- },
47
- controls: {
48
- alignSelf: 'center',
49
- ml: 'auto',
50
- pr: 'sm',
51
- flexShrink: 0
52
- },
53
- data: {
54
- alignItems: 'center'
55
- },
56
- icon: {
57
- width: 25,
58
- color: 'accent.40'
59
- },
60
- image: {
61
- width: 35
62
- },
63
- rightOfData: {
64
- alignSelf: 'center',
65
- ml: 'sm'
66
- },
67
- subtitle: _objectSpread(_objectSpread({}, truncate), {}, {
68
- alignSelf: 'start',
69
- fontSize: 'sm',
70
- lineHeight: '16px',
71
- my: '1px'
72
- }),
73
- text: {
74
- ml: 'md'
75
- },
76
- title: _objectSpread(_objectSpread({}, truncate), {}, {
77
- alignSelf: 'start',
78
- fontSize: 'md'
79
- }),
80
- wrapper: {
81
- cursor: 'pointer',
82
- display: 'flex',
83
- flex: '1 1 0px',
84
- ml: 'md'
85
- }
86
- };
87
24
  var LIST_ITEM_ICON = '-list-item-icon';
88
25
  exports.LIST_ITEM_ICON = LIST_ITEM_ICON;
89
26
  var ListViewItem = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
@@ -116,22 +53,15 @@ var ListViewItem = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
116
53
  isSelected: isSelected
117
54
  }),
118
55
  classNames = _useStatusClasses.classNames;
119
- var iff = function iff(condition, then, otherwise) {
120
- return condition ? then : otherwise;
56
+ var getWrapperVariant = function getWrapperVariant() {
57
+ if (slots !== null && slots !== void 0 && slots.leftOfData) return 'listViewItem.leftOfDataWrapper';
58
+ if (image && !icon) return 'listViewItem.imageWrapper';
59
+ return 'listViewItem.iconWrapper';
121
60
  };
122
- var wrapperStyles = slots !== null && slots !== void 0 && slots.leftOfData ? _objectSpread(_objectSpread({}, sx.wrapper), {}, {
123
- ml: 0
124
- }) : iff(!icon && image, _objectSpread(_objectSpread({}, sx.wrapper), {}, {
125
- ml: 10
126
- }), sx.wrapper);
127
- var textStyles = slots !== null && slots !== void 0 && slots.leftOfData ? _objectSpread(_objectSpread({}, sx.text), {}, {
128
- ml: 0
129
- }) : iff(!icon && image, _objectSpread(_objectSpread({}, sx.wrapper), {}, {
130
- ml: 10
131
- }), sx.wrapper);
132
61
  var renderIcon = icon && (0, _react2.jsx)(_index.Box, {
133
- sx: sx.icon
62
+ width: "25px"
134
63
  }, (0, _react2.jsx)(_index.Icon, {
64
+ color: "accent.40",
135
65
  icon: icon,
136
66
  size: "md",
137
67
  title: {
@@ -140,7 +70,7 @@ var ListViewItem = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
140
70
  }
141
71
  }));
142
72
  var renderImage = !icon && image && (0, _react2.jsx)(_index.Box, {
143
- sx: sx.image
73
+ width: "35px"
144
74
  }, (0, _react2.jsx)(_index.Image, {
145
75
  src: image.src,
146
76
  alt: image.alt,
@@ -148,32 +78,28 @@ var ListViewItem = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
148
78
  }));
149
79
  var renderData = (0, _react2.jsx)(_index.Box, {
150
80
  isRow: true,
151
- sx: sx.data
81
+ alignItems: "center"
152
82
  }, (slots === null || slots === void 0 ? void 0 : slots.leftOfData) || renderIcon || renderImage, (0, _react2.jsx)(_index.Box, {
153
- sx: textStyles
83
+ variant: getWrapperVariant()
154
84
  }, text && (0, _react2.jsx)(_index.Text, {
155
- variant: "bodyStrong",
156
- sx: sx.title
85
+ variant: "listViewItemText"
157
86
  }, text), subtext && (0, _react2.jsx)(_index.Text, {
158
- variant: "subtitle",
159
- sx: sx.subtitle
87
+ variant: "listViewItemSubtext"
160
88
  }, subtext)));
161
89
  return (0, _react2.jsx)(_index.Box, (0, _extends2["default"])({
162
90
  className: classNames,
163
91
  ref: ref,
164
- sx: sx.container
92
+ variant: "listViewItem.styledContainer"
165
93
  }, hoverProps, others), (0, _react2.jsx)(_index.Box, {
166
94
  isRow: true,
167
- sx: wrapperStyles
95
+ variant: getWrapperVariant()
168
96
  }, renderData, (slots === null || slots === void 0 ? void 0 : slots.rightOfData) && (0, _react2.jsx)(_index.Box, {
169
97
  isRow: true,
170
- alignSelf: "center",
171
- flexShrink: 0
98
+ variant: "listViewItem.rightOfData"
172
99
  }, slots.rightOfData), (0, _react2.jsx)(_index.Box, {
173
100
  isRow: true,
174
101
  gap: "sm",
175
- alignItems: "center",
176
- sx: sx.controls
102
+ variant: "listViewItem.controls"
177
103
  }, children)));
178
104
  });
179
105
  ListViewItem.propTypes = _listViewItemAttributes.listViewItemPropTypes;
@@ -18,7 +18,6 @@ var _react = _interopRequireWildcard(require("react"));
18
18
  var _AddIcon = _interopRequireDefault(require("@pingux/mdi-react/AddIcon"));
19
19
  var _AlertCircleIcon = _interopRequireDefault(require("@pingux/mdi-react/AlertCircleIcon"));
20
20
  var _CogsIcon = _interopRequireDefault(require("@pingux/mdi-react/CogsIcon"));
21
- var _CreateIcon = _interopRequireDefault(require("@pingux/mdi-react/CreateIcon"));
22
21
  var _DeleteIcon = _interopRequireDefault(require("@pingux/mdi-react/DeleteIcon"));
23
22
  var _uuid = require("uuid");
24
23
  var _index = require("../index");
@@ -36,33 +35,26 @@ var sx = {
36
35
  position: 'absolute',
37
36
  right: '4px',
38
37
  top: '4px',
39
- fill: '#A31300'
40
- },
41
- attributeMappingTitle: {
42
- fontSize: 'lg',
43
- lineHeight: '21px',
44
- fontWeight: 3,
45
- color: 'text.primary'
46
- },
47
- attributeMappingTitleWrapper: {
48
- marginBottom: 'md',
49
- alignItems: 'center'
38
+ fill: 'critical.bright'
50
39
  },
51
40
  badge: {
52
- width: 'xx',
53
- height: '22px',
54
41
  alignSelf: 'center',
55
- minWidth: 'fit-content',
56
42
  border: '1px solid',
57
43
  borderColor: 'neutral.80',
58
- backgroundColor: 'white !important',
59
- marginLeft: 8,
44
+ backgroundColor: 'white',
45
+ marginLeft: 'sm',
60
46
  '& span': {
61
- fontSize: 'sm',
62
47
  lineHeight: 1,
63
- color: '#253746'
48
+ color: 'text.primary'
64
49
  }
65
50
  },
51
+ container: {
52
+ px: 'sm',
53
+ pt: 'sm',
54
+ pb: 'lg',
55
+ width: '450px',
56
+ backgroundColor: 'accent.99'
57
+ },
66
58
  calloutSx: {
67
59
  width: '450px',
68
60
  marginBottom: 'xs',
@@ -71,11 +63,6 @@ var sx = {
71
63
  createIconButton: {
72
64
  marginLeft: 'xs'
73
65
  },
74
- defaultFieldsWrapperBox: {
75
- padding: '10px 10px 24px 10px',
76
- width: '450px',
77
- backgroundColor: 'accent.99'
78
- },
79
66
  fieldColumnTitle: {
80
67
  fontWeight: 3,
81
68
  fontSize: 'md',
@@ -90,13 +77,8 @@ var sx = {
90
77
  marginTop: 'sm'
91
78
  },
92
79
  separator: {
93
- width: '21px',
80
+ width: '20px',
94
81
  margin: '0 2px'
95
- },
96
- tooltipBox: {
97
- marginLeft: 'xs',
98
- height: 'md',
99
- width: 'md'
100
82
  }
101
83
  };
102
84
  var editSx = {
@@ -165,7 +147,6 @@ var editSx = {
165
147
  var helperTextId = (0, _uuid.v4)();
166
148
  var Row = function Row(props) {
167
149
  var withBadge = props.withBadge,
168
- withTooltip = props.withTooltip,
169
150
  withError = props.withError,
170
151
  leftValue = props.leftValue,
171
152
  rightValue = props.rightValue;
@@ -213,35 +194,11 @@ var Row = function Row(props) {
213
194
  }), withBadge && (0, _react2.jsx)(_index.Badge, {
214
195
  label: "Required",
215
196
  sx: sx.badge
216
- }), withTooltip && (0, _react2.jsx)(_index.Box, {
217
- sx: sx.tooltipBox
218
- }, (0, _react2.jsx)(_index.HelpHint, {
219
- tooltipProps: {
220
- direction: 'bottom'
221
- }
222
- }, "Population set to default")));
223
- };
224
- var Title = function Title() {
225
- return (0, _react2.jsx)(_index.Box, {
226
- isRow: true,
227
- sx: sx.attributeMappingTitleWrapper
228
- }, (0, _react2.jsx)(_index.Text, {
229
- sx: sx.attributeMappingTitle
230
- }, "Attribute Mapping"), (0, _react2.jsx)(_index.Box, null, (0, _react2.jsx)(_index.IconButton, {
231
- sx: sx.createIconButton,
232
- variant: "inverted",
233
- "aria-label": "edit header button"
234
- }, (0, _react2.jsx)(_index.Icon, {
235
- icon: _CreateIcon["default"],
236
- size: "sm",
237
- title: {
238
- name: 'Create Icon'
239
- }
240
- }))));
197
+ }));
241
198
  };
242
199
  var Display = function Display() {
243
- return (0, _react2.jsx)(_index.Box, null, (0, _react2.jsx)(Title, null), (0, _react2.jsx)(_index.Box, {
244
- sx: sx.defaultFieldsWrapperBox
200
+ return (0, _react2.jsx)(_index.Box, null, (0, _react2.jsx)(_index.Box, {
201
+ sx: sx.container
245
202
  }, (0, _react2.jsx)(_index.Box, {
246
203
  isRow: true,
247
204
  sx: {
@@ -251,27 +208,23 @@ var Display = function Display() {
251
208
  sx: sx.fieldColumnTitleWrapper
252
209
  }, (0, _react2.jsx)(_index.Text, {
253
210
  sx: sx.fieldColumnTitle
254
- }, "PingOne")), (0, _react2.jsx)(_index.Box, {
211
+ }, "Application")), (0, _react2.jsx)(_index.Box, {
255
212
  sx: sx.fieldColumnTitleWrapper
256
213
  }, (0, _react2.jsx)(_index.Text, {
257
214
  sx: sx.fieldColumnTitle
258
- }, "Google Suites"))), (0, _react2.jsx)(_index.Separator, null), (0, _react2.jsx)(Row, {
215
+ }, "PingOne"))), (0, _react2.jsx)(_index.Separator, null), (0, _react2.jsx)(Row, {
259
216
  withBadge: true,
260
- leftValue: "UserId",
261
- rightValue: "mdorey"
217
+ leftValue: "username",
218
+ rightValue: "User ID"
262
219
  }), (0, _react2.jsx)(Row, {
263
- leftValue: "givenName",
264
- rightValue: "firstName"
220
+ leftValue: "firstName",
221
+ rightValue: "Given Name"
265
222
  }), (0, _react2.jsx)(Row, {
266
- leftValue: "familyName",
267
- rightValue: "lastName"
223
+ leftValue: "lastName",
224
+ rightValue: "Family Name"
268
225
  }), (0, _react2.jsx)(Row, {
269
- withTooltip: true,
270
226
  leftValue: "population",
271
- rightValue: "population"
272
- }), (0, _react2.jsx)(Row, {
273
- leftValue: "password",
274
- rightValue: "password"
227
+ rightValue: "Population"
275
228
  })));
276
229
  };
277
230
  exports.Display = Display;
@@ -283,7 +236,7 @@ Display.parameters = {
283
236
  };
284
237
  var DisplayWithError = function DisplayWithError() {
285
238
  var withError = true;
286
- return (0, _react2.jsx)(_index.Box, null, (0, _react2.jsx)(Title, null), (0, _react2.jsx)(_index.Callout, {
239
+ return (0, _react2.jsx)(_index.Box, null, (0, _react2.jsx)(_index.Callout, {
287
240
  status: _statuses["default"].ERROR,
288
241
  sx: sx.calloutSx
289
242
  }, (0, _react2.jsx)(_index.Text, null, "You\u2019ve got problems. Allow me to tell you about them in some detail so that you can address them.", (0, _react2.jsx)(_index.Link, {
@@ -292,7 +245,7 @@ var DisplayWithError = function DisplayWithError() {
292
245
  "aria-label": "".concat(_statuses["default"].ERROR, "-callout"),
293
246
  variant: "app"
294
247
  }, ' ', "Read More"))), (0, _react2.jsx)(_index.Box, {
295
- sx: sx.defaultFieldsWrapperBox
248
+ sx: sx.container
296
249
  }, (0, _react2.jsx)(_index.Box, {
297
250
  isRow: true,
298
251
  sx: {
@@ -302,22 +255,24 @@ var DisplayWithError = function DisplayWithError() {
302
255
  sx: sx.fieldColumnTitleWrapper
303
256
  }, (0, _react2.jsx)(_index.Text, {
304
257
  sx: sx.fieldColumnTitle
305
- }, "PingOne")), (0, _react2.jsx)(_index.Box, {
258
+ }, "Application")), (0, _react2.jsx)(_index.Box, {
306
259
  sx: sx.fieldColumnTitleWrapper
307
260
  }, (0, _react2.jsx)(_index.Text, {
308
261
  sx: sx.fieldColumnTitle
309
- }, "Google Suites"))), (0, _react2.jsx)(_index.Separator, null), (0, _react2.jsx)(Row, {
262
+ }, "PingOne"))), (0, _react2.jsx)(_index.Separator, null), (0, _react2.jsx)(Row, {
310
263
  withBadge: true,
311
- leftValue: "UserId",
312
- rightValue: "mdorey"
264
+ leftValue: "username",
265
+ rightValue: "User ID"
313
266
  }), (0, _react2.jsx)(Row, {
314
- withError: withError,
315
- leftValue: "givenName",
316
- rightValue: "firstName"
267
+ leftValue: "firstName",
268
+ rightValue: "Given Name"
269
+ }), (0, _react2.jsx)(Row, {
270
+ leftValue: "lastName",
271
+ rightValue: "Family Name"
317
272
  }), (0, _react2.jsx)(Row, {
318
273
  withError: withError,
319
- leftValue: "familyName",
320
- rightValue: "lastName"
274
+ leftValue: "population",
275
+ rightValue: "Population"
321
276
  })));
322
277
  };
323
278
  exports.DisplayWithError = DisplayWithError;
@@ -35,10 +35,6 @@ var container = {
35
35
  borderBottomColor: 'line.light'
36
36
  }
37
37
  };
38
- var styledListItem = _objectSpread(_objectSpread({}, container), {}, {
39
- padding: 0,
40
- minHeight: 0
41
- });
42
38
  var linkedViewContainer = _objectSpread(_objectSpread({}, container), {}, {
43
39
  minHeight: '75px',
44
40
  height: '76px',
@@ -68,8 +64,49 @@ var linkedViewContainer = _objectSpread(_objectSpread({}, container), {}, {
68
64
  }
69
65
  }
70
66
  });
67
+ var styledContainer = {
68
+ m: '1px',
69
+ minHeight: '72px',
70
+ '&.is-hovered': {
71
+ bg: 'white',
72
+ cursor: 'pointer'
73
+ }
74
+ };
75
+ var styledListItem = _objectSpread(_objectSpread({}, container), {}, {
76
+ minHeight: 0,
77
+ padding: 0
78
+ });
79
+ var controls = {
80
+ alignItems: 'center',
81
+ alignSelf: 'center',
82
+ flexShrink: 0,
83
+ ml: 'auto',
84
+ pr: 'sm'
85
+ };
86
+ var iconWrapper = {
87
+ cursor: 'pointer',
88
+ display: 'flex',
89
+ flex: '1 1 0px',
90
+ ml: 'md'
91
+ };
92
+ var imageWrapper = _objectSpread(_objectSpread({}, iconWrapper), {}, {
93
+ ml: 'sm'
94
+ });
95
+ var leftOfDataWrapper = _objectSpread(_objectSpread({}, iconWrapper), {}, {
96
+ ml: 0
97
+ });
98
+ var rightOfData = {
99
+ alignSelf: 'center',
100
+ flexShrink: 0
101
+ };
71
102
  export default {
72
103
  container: container,
104
+ controls: controls,
105
+ iconWrapper: iconWrapper,
106
+ imageWrapper: imageWrapper,
107
+ leftOfDataWrapper: leftOfDataWrapper,
73
108
  linkedViewContainer: linkedViewContainer,
109
+ rightOfData: rightOfData,
110
+ styledContainer: styledContainer,
74
111
  styledListItem: styledListItem
75
112
  };
@@ -65,13 +65,34 @@ var itemTitle = _objectSpread(_objectSpread({}, wordWrap), {}, {
65
65
  color: 'text.primary',
66
66
  fontFamily: 'standard'
67
67
  });
68
+ var bodyStrong = _objectSpread(_objectSpread({}, wordWrap), {}, {
69
+ color: 'text.primary',
70
+ fontFamily: 'standard',
71
+ fontWeight: 1
72
+ });
73
+ var subtitle = _objectSpread(_objectSpread({}, wordWrap), {}, {
74
+ color: 'text.secondary',
75
+ fontFamily: 'standard',
76
+ fontWeight: 0
77
+ });
78
+ var textEllipsis = {
79
+ textOverflow: 'ellipsis',
80
+ overflow: 'hidden',
81
+ whiteSpace: 'nowrap'
82
+ };
83
+ var listViewItemText = _objectSpread(_objectSpread(_objectSpread({}, bodyStrong), textEllipsis), {}, {
84
+ alignSelf: 'start',
85
+ fontSize: 'md'
86
+ });
87
+ var listViewItemSubtext = _objectSpread(_objectSpread(_objectSpread({}, subtitle), textEllipsis), {}, {
88
+ alignSelf: 'start',
89
+ fontSize: 'sm',
90
+ lineHeight: '16px',
91
+ my: '1px'
92
+ });
68
93
  export var text = {
69
94
  base: base,
70
- bodyStrong: _objectSpread(_objectSpread({}, wordWrap), {}, {
71
- fontWeight: 1,
72
- color: 'text.primary',
73
- fontFamily: 'standard'
74
- }),
95
+ bodyStrong: bodyStrong,
75
96
  bodyWeak: _objectSpread(_objectSpread({}, wordWrap), {}, {
76
97
  fontSize: 'sm',
77
98
  color: 'text.secondary',
@@ -143,30 +164,22 @@ export var text = {
143
164
  listTitle: _objectSpread(_objectSpread({}, wordWrap), {}, {
144
165
  fontSize: 'md',
145
166
  fontWeight: 1,
146
- color: 'text.primary',
147
- whiteSpace: 'nowrap',
148
- overflow: 'hidden',
149
- textOverflow: 'ellipsis'
150
- }),
167
+ color: 'text.primary'
168
+ }, textEllipsis),
151
169
  listSubtitle: _objectSpread(_objectSpread({}, wordWrap), {}, {
152
170
  fontSize: 'sm',
153
171
  fontWeight: 0,
154
- color: 'text.secondary',
155
- whiteSpace: 'nowrap',
156
- overflow: 'hidden',
157
- textOverflow: 'ellipsis'
158
- }),
172
+ color: 'text.secondary'
173
+ }, textEllipsis),
174
+ listViewItemSubtext: listViewItemSubtext,
175
+ listViewItemText: listViewItemText,
159
176
  placeholder: {
160
177
  fontWeight: -1,
161
178
  color: 'text.secondary',
162
179
  fontFamily: 'standard'
163
180
  },
164
181
  sectionTitle: sectionTitle,
165
- subtitle: _objectSpread(_objectSpread({}, wordWrap), {}, {
166
- fontWeight: 0,
167
- color: 'text.secondary',
168
- fontFamily: 'standard'
169
- }),
182
+ subtitle: subtitle,
170
183
  tabLabel: tabLabel,
171
184
  tableData: _objectSpread(_objectSpread({}, wordWrap), {}, {
172
185
  fontSize: 'sm',
@@ -174,10 +187,6 @@ export var text = {
174
187
  color: 'text.primary',
175
188
  fontFamily: 'standard'
176
189
  }),
177
- textEllipsis: {
178
- whiteSpace: 'nowrap',
179
- overflow: 'hidden',
180
- textOverflow: 'ellipsis'
181
- },
190
+ textEllipsis: textEllipsis,
182
191
  title: title
183
192
  };
@@ -1,78 +1,13 @@
1
- import _Object$keys from "@babel/runtime-corejs3/core-js-stable/object/keys";
2
- import _Object$getOwnPropertySymbols from "@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols";
3
- import _filterInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/filter";
4
- import _Object$getOwnPropertyDescriptor from "@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor";
5
- import _forEachInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/for-each";
6
- import _Object$getOwnPropertyDescriptors from "@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors";
7
- import _Object$defineProperties from "@babel/runtime-corejs3/core-js-stable/object/define-properties";
8
- import _Object$defineProperty from "@babel/runtime-corejs3/core-js-stable/object/define-property";
9
1
  import _extends from "@babel/runtime-corejs3/helpers/esm/extends";
10
2
  import _objectWithoutProperties from "@babel/runtime-corejs3/helpers/esm/objectWithoutProperties";
11
- import _defineProperty from "@babel/runtime-corejs3/helpers/esm/defineProperty";
12
3
  var _excluded = ["children", "className", "data", "isHovered", "isSelected", "linkProps", "onHoverChange", "onHoverEnd", "onHoverStart", "slots"];
13
4
  import _concatInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/concat";
14
- function ownKeys(object, enumerableOnly) { var keys = _Object$keys(object); if (_Object$getOwnPropertySymbols) { var symbols = _Object$getOwnPropertySymbols(object); enumerableOnly && (symbols = _filterInstanceProperty(symbols).call(symbols, function (sym) { return _Object$getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
15
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var _context3, _context4; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? _forEachInstanceProperty(_context3 = ownKeys(Object(source), !0)).call(_context3, function (key) { _defineProperty(target, key, source[key]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(target, _Object$getOwnPropertyDescriptors(source)) : _forEachInstanceProperty(_context4 = ownKeys(Object(source))).call(_context4, function (key) { _Object$defineProperty(target, key, _Object$getOwnPropertyDescriptor(source, key)); }); } return target; }
16
5
  import React, { forwardRef } from 'react';
17
6
  import { useHover } from '@react-aria/interactions';
18
7
  import { useStatusClasses } from '../../hooks';
19
8
  import { Box, Icon, Image, Text } from '../../index';
20
9
  import { listViewItemPropTypes } from './listViewItemAttributes';
21
10
  import { jsx as ___EmotionJSX } from "@emotion/react";
22
- var truncate = {
23
- textOverflow: 'ellipsis',
24
- overflow: 'hidden',
25
- whiteSpace: 'nowrap'
26
- };
27
- var sx = {
28
- container: {
29
- m: 1,
30
- minHeight: 72,
31
- '&.is-hovered': {
32
- bg: 'white',
33
- cursor: 'pointer'
34
- }
35
- },
36
- controls: {
37
- alignSelf: 'center',
38
- ml: 'auto',
39
- pr: 'sm',
40
- flexShrink: 0
41
- },
42
- data: {
43
- alignItems: 'center'
44
- },
45
- icon: {
46
- width: 25,
47
- color: 'accent.40'
48
- },
49
- image: {
50
- width: 35
51
- },
52
- rightOfData: {
53
- alignSelf: 'center',
54
- ml: 'sm'
55
- },
56
- subtitle: _objectSpread(_objectSpread({}, truncate), {}, {
57
- alignSelf: 'start',
58
- fontSize: 'sm',
59
- lineHeight: '16px',
60
- my: '1px'
61
- }),
62
- text: {
63
- ml: 'md'
64
- },
65
- title: _objectSpread(_objectSpread({}, truncate), {}, {
66
- alignSelf: 'start',
67
- fontSize: 'md'
68
- }),
69
- wrapper: {
70
- cursor: 'pointer',
71
- display: 'flex',
72
- flex: '1 1 0px',
73
- ml: 'md'
74
- }
75
- };
76
11
  export var LIST_ITEM_ICON = '-list-item-icon';
77
12
  var ListViewItem = /*#__PURE__*/forwardRef(function (_ref, ref) {
78
13
  var _context, _context2;
@@ -104,22 +39,15 @@ var ListViewItem = /*#__PURE__*/forwardRef(function (_ref, ref) {
104
39
  isSelected: isSelected
105
40
  }),
106
41
  classNames = _useStatusClasses.classNames;
107
- var iff = function iff(condition, then, otherwise) {
108
- return condition ? then : otherwise;
42
+ var getWrapperVariant = function getWrapperVariant() {
43
+ if (slots !== null && slots !== void 0 && slots.leftOfData) return 'listViewItem.leftOfDataWrapper';
44
+ if (image && !icon) return 'listViewItem.imageWrapper';
45
+ return 'listViewItem.iconWrapper';
109
46
  };
110
- var wrapperStyles = slots !== null && slots !== void 0 && slots.leftOfData ? _objectSpread(_objectSpread({}, sx.wrapper), {}, {
111
- ml: 0
112
- }) : iff(!icon && image, _objectSpread(_objectSpread({}, sx.wrapper), {}, {
113
- ml: 10
114
- }), sx.wrapper);
115
- var textStyles = slots !== null && slots !== void 0 && slots.leftOfData ? _objectSpread(_objectSpread({}, sx.text), {}, {
116
- ml: 0
117
- }) : iff(!icon && image, _objectSpread(_objectSpread({}, sx.wrapper), {}, {
118
- ml: 10
119
- }), sx.wrapper);
120
47
  var renderIcon = icon && ___EmotionJSX(Box, {
121
- sx: sx.icon
48
+ width: "25px"
122
49
  }, ___EmotionJSX(Icon, {
50
+ color: "accent.40",
123
51
  icon: icon,
124
52
  size: "md",
125
53
  title: {
@@ -128,7 +56,7 @@ var ListViewItem = /*#__PURE__*/forwardRef(function (_ref, ref) {
128
56
  }
129
57
  }));
130
58
  var renderImage = !icon && image && ___EmotionJSX(Box, {
131
- sx: sx.image
59
+ width: "35px"
132
60
  }, ___EmotionJSX(Image, {
133
61
  src: image.src,
134
62
  alt: image.alt,
@@ -136,32 +64,28 @@ var ListViewItem = /*#__PURE__*/forwardRef(function (_ref, ref) {
136
64
  }));
137
65
  var renderData = ___EmotionJSX(Box, {
138
66
  isRow: true,
139
- sx: sx.data
67
+ alignItems: "center"
140
68
  }, (slots === null || slots === void 0 ? void 0 : slots.leftOfData) || renderIcon || renderImage, ___EmotionJSX(Box, {
141
- sx: textStyles
69
+ variant: getWrapperVariant()
142
70
  }, text && ___EmotionJSX(Text, {
143
- variant: "bodyStrong",
144
- sx: sx.title
71
+ variant: "listViewItemText"
145
72
  }, text), subtext && ___EmotionJSX(Text, {
146
- variant: "subtitle",
147
- sx: sx.subtitle
73
+ variant: "listViewItemSubtext"
148
74
  }, subtext)));
149
75
  return ___EmotionJSX(Box, _extends({
150
76
  className: classNames,
151
77
  ref: ref,
152
- sx: sx.container
78
+ variant: "listViewItem.styledContainer"
153
79
  }, hoverProps, others), ___EmotionJSX(Box, {
154
80
  isRow: true,
155
- sx: wrapperStyles
81
+ variant: getWrapperVariant()
156
82
  }, renderData, (slots === null || slots === void 0 ? void 0 : slots.rightOfData) && ___EmotionJSX(Box, {
157
83
  isRow: true,
158
- alignSelf: "center",
159
- flexShrink: 0
84
+ variant: "listViewItem.rightOfData"
160
85
  }, slots.rightOfData), ___EmotionJSX(Box, {
161
86
  isRow: true,
162
87
  gap: "sm",
163
- alignItems: "center",
164
- sx: sx.controls
88
+ variant: "listViewItem.controls"
165
89
  }, children)));
166
90
  });
167
91
  ListViewItem.propTypes = listViewItemPropTypes;
@@ -7,10 +7,9 @@ import React, { memo, useEffect, useRef, useState } from 'react';
7
7
  import AddIcon from '@pingux/mdi-react/AddIcon';
8
8
  import AlertCircleIcon from '@pingux/mdi-react/AlertCircleIcon';
9
9
  import CogsIcon from '@pingux/mdi-react/CogsIcon';
10
- import CreateIcon from '@pingux/mdi-react/CreateIcon';
11
10
  import DeleteIcon from '@pingux/mdi-react/DeleteIcon';
12
11
  import { v4 as uuid } from 'uuid';
13
- import { Badge, Box, Button, Callout, ComboBoxField, HelpHint, Icon, IconButton, Item, Link, ScrollBox, Separator, Text, TextField } from '../index';
12
+ import { Badge, Box, Button, Callout, ComboBoxField, Icon, IconButton, Item, Link, ScrollBox, Separator, Text, TextField } from '../index';
14
13
  import { FIGMA_LINKS } from '../utils/designUtils/figmaLinks.js';
15
14
  import statuses from '../utils/devUtils/constants/statuses';
16
15
  import { jsx as ___EmotionJSX } from "@emotion/react";
@@ -22,33 +21,26 @@ var sx = {
22
21
  position: 'absolute',
23
22
  right: '4px',
24
23
  top: '4px',
25
- fill: '#A31300'
26
- },
27
- attributeMappingTitle: {
28
- fontSize: 'lg',
29
- lineHeight: '21px',
30
- fontWeight: 3,
31
- color: 'text.primary'
32
- },
33
- attributeMappingTitleWrapper: {
34
- marginBottom: 'md',
35
- alignItems: 'center'
24
+ fill: 'critical.bright'
36
25
  },
37
26
  badge: {
38
- width: 'xx',
39
- height: '22px',
40
27
  alignSelf: 'center',
41
- minWidth: 'fit-content',
42
28
  border: '1px solid',
43
29
  borderColor: 'neutral.80',
44
- backgroundColor: 'white !important',
45
- marginLeft: 8,
30
+ backgroundColor: 'white',
31
+ marginLeft: 'sm',
46
32
  '& span': {
47
- fontSize: 'sm',
48
33
  lineHeight: 1,
49
- color: '#253746'
34
+ color: 'text.primary'
50
35
  }
51
36
  },
37
+ container: {
38
+ px: 'sm',
39
+ pt: 'sm',
40
+ pb: 'lg',
41
+ width: '450px',
42
+ backgroundColor: 'accent.99'
43
+ },
52
44
  calloutSx: {
53
45
  width: '450px',
54
46
  marginBottom: 'xs',
@@ -57,11 +49,6 @@ var sx = {
57
49
  createIconButton: {
58
50
  marginLeft: 'xs'
59
51
  },
60
- defaultFieldsWrapperBox: {
61
- padding: '10px 10px 24px 10px',
62
- width: '450px',
63
- backgroundColor: 'accent.99'
64
- },
65
52
  fieldColumnTitle: {
66
53
  fontWeight: 3,
67
54
  fontSize: 'md',
@@ -76,13 +63,8 @@ var sx = {
76
63
  marginTop: 'sm'
77
64
  },
78
65
  separator: {
79
- width: '21px',
66
+ width: '20px',
80
67
  margin: '0 2px'
81
- },
82
- tooltipBox: {
83
- marginLeft: 'xs',
84
- height: 'md',
85
- width: 'md'
86
68
  }
87
69
  };
88
70
  var editSx = {
@@ -151,7 +133,6 @@ var editSx = {
151
133
  var helperTextId = uuid();
152
134
  var Row = function Row(props) {
153
135
  var withBadge = props.withBadge,
154
- withTooltip = props.withTooltip,
155
136
  withError = props.withError,
156
137
  leftValue = props.leftValue,
157
138
  rightValue = props.rightValue;
@@ -199,35 +180,11 @@ var Row = function Row(props) {
199
180
  }), withBadge && ___EmotionJSX(Badge, {
200
181
  label: "Required",
201
182
  sx: sx.badge
202
- }), withTooltip && ___EmotionJSX(Box, {
203
- sx: sx.tooltipBox
204
- }, ___EmotionJSX(HelpHint, {
205
- tooltipProps: {
206
- direction: 'bottom'
207
- }
208
- }, "Population set to default")));
209
- };
210
- var Title = function Title() {
211
- return ___EmotionJSX(Box, {
212
- isRow: true,
213
- sx: sx.attributeMappingTitleWrapper
214
- }, ___EmotionJSX(Text, {
215
- sx: sx.attributeMappingTitle
216
- }, "Attribute Mapping"), ___EmotionJSX(Box, null, ___EmotionJSX(IconButton, {
217
- sx: sx.createIconButton,
218
- variant: "inverted",
219
- "aria-label": "edit header button"
220
- }, ___EmotionJSX(Icon, {
221
- icon: CreateIcon,
222
- size: "sm",
223
- title: {
224
- name: 'Create Icon'
225
- }
226
- }))));
183
+ }));
227
184
  };
228
185
  export var Display = function Display() {
229
- return ___EmotionJSX(Box, null, ___EmotionJSX(Title, null), ___EmotionJSX(Box, {
230
- sx: sx.defaultFieldsWrapperBox
186
+ return ___EmotionJSX(Box, null, ___EmotionJSX(Box, {
187
+ sx: sx.container
231
188
  }, ___EmotionJSX(Box, {
232
189
  isRow: true,
233
190
  sx: {
@@ -237,27 +194,23 @@ export var Display = function Display() {
237
194
  sx: sx.fieldColumnTitleWrapper
238
195
  }, ___EmotionJSX(Text, {
239
196
  sx: sx.fieldColumnTitle
240
- }, "PingOne")), ___EmotionJSX(Box, {
197
+ }, "Application")), ___EmotionJSX(Box, {
241
198
  sx: sx.fieldColumnTitleWrapper
242
199
  }, ___EmotionJSX(Text, {
243
200
  sx: sx.fieldColumnTitle
244
- }, "Google Suites"))), ___EmotionJSX(Separator, null), ___EmotionJSX(Row, {
201
+ }, "PingOne"))), ___EmotionJSX(Separator, null), ___EmotionJSX(Row, {
245
202
  withBadge: true,
246
- leftValue: "UserId",
247
- rightValue: "mdorey"
203
+ leftValue: "username",
204
+ rightValue: "User ID"
248
205
  }), ___EmotionJSX(Row, {
249
- leftValue: "givenName",
250
- rightValue: "firstName"
206
+ leftValue: "firstName",
207
+ rightValue: "Given Name"
251
208
  }), ___EmotionJSX(Row, {
252
- leftValue: "familyName",
253
- rightValue: "lastName"
209
+ leftValue: "lastName",
210
+ rightValue: "Family Name"
254
211
  }), ___EmotionJSX(Row, {
255
- withTooltip: true,
256
212
  leftValue: "population",
257
- rightValue: "population"
258
- }), ___EmotionJSX(Row, {
259
- leftValue: "password",
260
- rightValue: "password"
213
+ rightValue: "Population"
261
214
  })));
262
215
  };
263
216
  Display.parameters = {
@@ -268,7 +221,7 @@ Display.parameters = {
268
221
  };
269
222
  export var DisplayWithError = function DisplayWithError() {
270
223
  var withError = true;
271
- return ___EmotionJSX(Box, null, ___EmotionJSX(Title, null), ___EmotionJSX(Callout, {
224
+ return ___EmotionJSX(Box, null, ___EmotionJSX(Callout, {
272
225
  status: statuses.ERROR,
273
226
  sx: sx.calloutSx
274
227
  }, ___EmotionJSX(Text, null, "You\u2019ve got problems. Allow me to tell you about them in some detail so that you can address them.", ___EmotionJSX(Link, {
@@ -277,7 +230,7 @@ export var DisplayWithError = function DisplayWithError() {
277
230
  "aria-label": "".concat(statuses.ERROR, "-callout"),
278
231
  variant: "app"
279
232
  }, ' ', "Read More"))), ___EmotionJSX(Box, {
280
- sx: sx.defaultFieldsWrapperBox
233
+ sx: sx.container
281
234
  }, ___EmotionJSX(Box, {
282
235
  isRow: true,
283
236
  sx: {
@@ -287,22 +240,24 @@ export var DisplayWithError = function DisplayWithError() {
287
240
  sx: sx.fieldColumnTitleWrapper
288
241
  }, ___EmotionJSX(Text, {
289
242
  sx: sx.fieldColumnTitle
290
- }, "PingOne")), ___EmotionJSX(Box, {
243
+ }, "Application")), ___EmotionJSX(Box, {
291
244
  sx: sx.fieldColumnTitleWrapper
292
245
  }, ___EmotionJSX(Text, {
293
246
  sx: sx.fieldColumnTitle
294
- }, "Google Suites"))), ___EmotionJSX(Separator, null), ___EmotionJSX(Row, {
247
+ }, "PingOne"))), ___EmotionJSX(Separator, null), ___EmotionJSX(Row, {
295
248
  withBadge: true,
296
- leftValue: "UserId",
297
- rightValue: "mdorey"
249
+ leftValue: "username",
250
+ rightValue: "User ID"
298
251
  }), ___EmotionJSX(Row, {
299
- withError: withError,
300
- leftValue: "givenName",
301
- rightValue: "firstName"
252
+ leftValue: "firstName",
253
+ rightValue: "Given Name"
254
+ }), ___EmotionJSX(Row, {
255
+ leftValue: "lastName",
256
+ rightValue: "Family Name"
302
257
  }), ___EmotionJSX(Row, {
303
258
  withError: withError,
304
- leftValue: "familyName",
305
- rightValue: "lastName"
259
+ leftValue: "population",
260
+ rightValue: "Population"
306
261
  })));
307
262
  };
308
263
  export var Edit = function Edit() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pingux/astro",
3
- "version": "2.14.0",
3
+ "version": "2.14.1-alpha.1",
4
4
  "description": "React component library for Ping Identity's design system",
5
5
  "repository": {
6
6
  "type": "git",