@pingux/astro 1.27.0-alpha.13 → 1.27.0-alpha.14

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.
@@ -1,20 +1,6 @@
1
- import _Object$defineProperty from "@babel/runtime-corejs3/core-js-stable/object/define-property";
2
- import _Object$defineProperties from "@babel/runtime-corejs3/core-js-stable/object/define-properties";
3
- import _Object$getOwnPropertyDescriptors from "@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors";
4
- import _forEachInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/for-each";
5
- import _Object$getOwnPropertyDescriptor from "@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor";
6
- import _filterInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/filter";
7
- import _Object$getOwnPropertySymbols from "@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols";
8
- import _Object$keys from "@babel/runtime-corejs3/core-js-stable/object/keys";
9
1
  import _regeneratorRuntime from "@babel/runtime-corejs3/regenerator";
10
2
  import _asyncToGenerator from "@babel/runtime-corejs3/helpers/esm/asyncToGenerator";
11
- import _defineProperty from "@babel/runtime-corejs3/helpers/esm/defineProperty";
12
3
  import _extends from "@babel/runtime-corejs3/helpers/esm/extends";
13
-
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
-
16
- 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; }
17
-
18
4
  import React from 'react';
19
5
  import userEvent from '@testing-library/user-event';
20
6
  import { Section } from '@react-stately/collections';
@@ -52,10 +38,6 @@ var defaultProps = {
52
38
  },
53
39
  items: items
54
40
  };
55
- var popoverProps = {
56
- maxWidth: '100px',
57
- 'data-testid': 'popover-container'
58
- };
59
41
  var defaultWithSectionsProps = {
60
42
  'data-testid': testEnvBreadcrumb,
61
43
  name: testName,
@@ -133,13 +115,6 @@ test('should display name', function () {
133
115
  getComponent();
134
116
  expect(screen.getByText(testName)).toBeInTheDocument();
135
117
  });
136
- test('should spread props into popover container', function () {
137
- getComponent(_objectSpread(_objectSpread({}, popoverProps), {}, {
138
- isDefaultOpen: true
139
- }));
140
- userEvent.click(screen.getByText(testSelectedItem));
141
- expect(screen.queryByTestId('popover-container')).toHaveStyle('max-width: 100px');
142
- });
143
118
  test('should display selectedItem', function () {
144
119
  getComponent();
145
120
  expect(screen.getByText(testSelectedItem)).toBeInTheDocument();
@@ -6,20 +6,13 @@ import PropTypes from 'prop-types';
6
6
  import Text from '../Text/Text';
7
7
  import Box from '../Box/Box';
8
8
  import { useDeprecationWarning } from '../../hooks';
9
- /**
10
- * A `Page Header` is a composed component using text and icon button.
11
- * The component is separated from the body and appears at the top.
12
- * For customization,
13
- * please see [Page Header](./?path=/story/recipes-page-header--default) recipe docs.
14
- */
15
-
16
9
  import { jsx as ___EmotionJSX } from "@emotion/react";
17
10
  var PageHeader = /*#__PURE__*/forwardRef(function (props, ref) {
18
11
  var title = props.title,
19
12
  children = props.children,
20
13
  others = _objectWithoutProperties(props, _excluded);
21
14
 
22
- useDeprecationWarning('The Page Header component will be deprecated in Astro-UI 2.0.0. Use Page Header recipe instead.');
15
+ useDeprecationWarning('The Page Header component will be deprecated in Astro-UI 2.0.0.');
23
16
  return ___EmotionJSX(Box, _extends({
24
17
  isRow: true,
25
18
  justifyContent: "space-between",
@@ -92,106 +92,44 @@ var items = [{
92
92
  avatar: AccountIcon,
93
93
  hasSeparator: false
94
94
  }];
95
- var sx = {
96
- wrapper: {
97
- px: 'lg',
98
- py: 'lg',
99
- bg: 'accent.99',
100
- height: '900px',
101
- overflowY: 'scroll'
102
- },
103
- searchField: {
104
- position: 'fixed',
105
- mb: 'sm',
106
- width: '400px'
107
- },
108
- listElementWrapper: {
109
- px: 'md',
110
- bg: 'accent.99',
111
- justifyContent: 'center'
112
- },
113
- separator: {
114
- bg: 'accent.90'
115
- },
116
- tabsWrapper: {
117
- px: 'lg',
118
- pt: 'xs'
119
- },
120
- iconButton: {
121
- position: 'absolute',
122
- top: 0,
123
- right: 0
124
- },
125
- itemLabel: {
126
- fontSize: 'sm',
127
- fontWeight: 3,
128
- lineHeight: '16px',
129
- mb: 'xs'
130
- },
131
- itemValue: {
132
- fontWeight: 0,
133
- lineHeight: '18px',
134
- variant: 'base',
135
- mb: 'md'
136
- },
137
- listElement: {
138
- wrapper: {
139
- minHeight: '60px'
140
- },
141
- iconWrapper: {
142
- mr: 'auto',
143
- alignItems: 'center'
144
- },
145
- icon: {
146
- mr: 'sm',
147
- alignSelf: 'center',
148
- color: 'accent.40'
149
- },
150
- avatar: {
151
- width: '25px',
152
- height: '25px',
153
- mr: 'md'
154
- },
155
- title: {
156
- alignSelf: 'start'
157
- },
158
- subtitle: {
159
- fontSize: 'sm',
160
- my: '1px',
161
- lineHeight: '16px',
162
- alignSelf: 'start'
163
- },
164
- menuWrapper: {
165
- alignSelf: 'center'
166
- }
167
- }
168
- };
169
95
 
170
96
  var ListElement = function ListElement(_ref) {
171
97
  var item = _ref.item,
172
98
  onClosePanel = _ref.onClosePanel;
173
99
  return ___EmotionJSX(Box, {
174
100
  isRow: true,
175
- sx: sx.listElement.wrapper
101
+ minHeight: "60px"
176
102
  }, ___EmotionJSX(Box, {
177
103
  isRow: true,
178
- sx: sx.listElement.iconWrapper
104
+ mr: "auto",
105
+ alignItems: "center"
179
106
  }, item.hasIcon ? ___EmotionJSX(Icon, {
180
107
  icon: item.avatar,
108
+ alignSelf: "center",
181
109
  size: 24,
182
- sx: sx.listElement.icon
110
+ mr: "sm",
111
+ color: "accent.40"
183
112
  }) : ___EmotionJSX(Avatar, {
184
- sx: sx.listElement.avatar,
113
+ mr: "md",
114
+ sx: {
115
+ width: '25px',
116
+ height: '25px'
117
+ },
185
118
  src: item.avatar
186
119
  }), ___EmotionJSX(Box, null, ___EmotionJSX(Text, {
187
120
  variant: "bodyStrong",
188
- sx: sx.listElement.title
121
+ alignSelf: "start"
189
122
  }, item.lastName, ", ", item.firstName), ___EmotionJSX(Text, {
123
+ sx: {
124
+ fontSize: 'sm',
125
+ my: '1px',
126
+ lineHeight: '16px'
127
+ },
190
128
  variant: "subtitle",
191
- sx: sx.listElement.subtitle
129
+ alignSelf: "start"
192
130
  }, item.email))), ___EmotionJSX(Box, {
193
131
  isRow: true,
194
- sx: sx.listElement.menuWrapper
132
+ alignSelf: "center"
195
133
  }, ___EmotionJSX(SwitchField, {
196
134
  "aria-label": "active user",
197
135
  isDefaultSelected: true,
@@ -248,7 +186,11 @@ export var Default = function Default() {
248
186
  };
249
187
 
250
188
  return ___EmotionJSX(Box, {
251
- sx: sx.wrapper
189
+ px: "lg",
190
+ py: "lg",
191
+ bg: "accent.99",
192
+ height: "900px",
193
+ overflowY: "scroll"
252
194
  }, ___EmotionJSX(SearchField, {
253
195
  position: "fixed",
254
196
  mb: "sm",
@@ -282,15 +224,18 @@ export var Default = function Default() {
282
224
  restoreFocus: true,
283
225
  autoFocus: true
284
226
  }, ___EmotionJSX(Box, {
285
- sx: sx.listElementWrapper
227
+ px: "md",
228
+ bg: "accent.99",
229
+ justifyContent: "center"
286
230
  }, ___EmotionJSX(ListElement, {
287
231
  item: selectedItemId >= 0 ? items[selectedItemId] : [],
288
232
  onClosePanel: closePanelHandler
289
233
  })), ___EmotionJSX(Separator, {
290
234
  margin: 0,
291
- sx: sx.separator
235
+ bg: "accent.90"
292
236
  }), ___EmotionJSX(Box, {
293
- sx: sx.tabsWrapper
237
+ px: "lg",
238
+ pt: "xs"
294
239
  }, ___EmotionJSX(Tabs, {
295
240
  tabListProps: {
296
241
  justifyContent: 'center'
@@ -304,33 +249,73 @@ export var Default = function Default() {
304
249
  title: "Profile"
305
250
  }, selectedItemId >= 0 && ___EmotionJSX(React.Fragment, null, ___EmotionJSX(IconButton, {
306
251
  variant: "inverted",
307
- sx: sx.iconButton
252
+ sx: {
253
+ position: 'absolute',
254
+ top: 0,
255
+ right: 0
256
+ }
308
257
  }, ___EmotionJSX(PencilIcon, {
309
258
  size: 20
310
259
  })), ___EmotionJSX(Text, {
311
- sx: sx.itemLabel,
312
- variant: "base"
260
+ sx: {
261
+ fontSize: 'sm',
262
+ fontWeight: 3,
263
+ lineHeight: '16px'
264
+ },
265
+ variant: "base",
266
+ mb: "xs"
313
267
  }, "Full Name"), ___EmotionJSX(Text, {
314
- sx: sx.itemValue,
315
- variant: "base"
268
+ sx: {
269
+ fontWeight: 0,
270
+ lineHeight: '18px'
271
+ },
272
+ variant: "base",
273
+ mb: "md"
316
274
  }, items[selectedItemId].firstName, " ", items[selectedItemId].lastName), ___EmotionJSX(Text, {
317
- sx: sx.itemLabel,
318
- variant: "base"
275
+ sx: {
276
+ fontSize: 'sm',
277
+ fontWeight: 3,
278
+ lineHeight: '16px'
279
+ },
280
+ variant: "base",
281
+ mb: "xs"
319
282
  }, "First Name"), ___EmotionJSX(Text, {
320
- sx: sx.itemValue,
321
- variant: "base"
283
+ sx: {
284
+ fontWeight: 0,
285
+ lineHeight: '18px'
286
+ },
287
+ variant: "base",
288
+ mb: "md"
322
289
  }, items[selectedItemId].firstName), ___EmotionJSX(Text, {
323
- sx: sx.itemLabel,
324
- variant: "base"
290
+ sx: {
291
+ fontSize: 'sm',
292
+ fontWeight: 3,
293
+ lineHeight: '16px'
294
+ },
295
+ variant: "base",
296
+ mb: "xs"
325
297
  }, "Last Name"), ___EmotionJSX(Text, {
326
- sx: sx.itemValue,
327
- variant: "base"
298
+ sx: {
299
+ fontWeight: 0,
300
+ lineHeight: '18px'
301
+ },
302
+ variant: "base",
303
+ mb: "md"
328
304
  }, items[selectedItemId].lastName), ___EmotionJSX(Text, {
329
- sx: sx.itemLabel,
330
- variant: "base"
305
+ sx: {
306
+ fontSize: 'sm',
307
+ fontWeight: 3,
308
+ lineHeight: '16px'
309
+ },
310
+ variant: "base",
311
+ mb: "xs"
331
312
  }, "Email"), ___EmotionJSX(Text, {
332
- sx: sx.itemValue,
333
- variant: "base"
313
+ sx: {
314
+ fontWeight: 0,
315
+ lineHeight: '18px'
316
+ },
317
+ variant: "base",
318
+ mb: "md"
334
319
  }, items[selectedItemId].email))), ___EmotionJSX(Tab, {
335
320
  title: "Group Memberships"
336
321
  }, ___EmotionJSX(Text, null, "Group Memberships")), ___EmotionJSX(Tab, {
@@ -7,39 +7,35 @@ import { jsx as ___EmotionJSX } from "@emotion/react";
7
7
  export default {
8
8
  title: 'Recipes/Selected Field Overlay'
9
9
  };
10
- var sx = {
11
- container: {
12
- padding: 'md',
13
- position: 'relative',
14
- borderWidth: 2,
15
- borderStyle: 'solid',
16
- borderColor: 'active',
17
- borderRadius: 4,
18
- cursor: 'pointer'
19
- },
20
- overlay: {
21
- position: 'absolute',
22
- width: '100%',
23
- height: '100%',
24
- top: 0,
25
- left: 0,
26
- alignItems: 'center',
27
- justifyContent: 'center',
28
- '&:focus': {
29
- outline: 'none'
30
- }
31
- }
32
- };
33
10
  export var Default = function Default() {
34
11
  return ___EmotionJSX(Box, {
35
- sx: sx.container
12
+ p: 15,
13
+ sx: {
14
+ position: 'relative',
15
+ borderWidth: 2,
16
+ borderStyle: 'solid',
17
+ borderColor: 'active',
18
+ borderRadius: 4,
19
+ cursor: 'pointer'
20
+ }
36
21
  }, ___EmotionJSX(TextField, {
37
22
  label: "Name",
38
23
  controlProps: {
39
24
  tabIndex: '-1'
40
25
  }
41
26
  }), ___EmotionJSX(Box, {
42
- sx: sx.overlay,
27
+ sx: {
28
+ position: 'absolute',
29
+ width: '100%',
30
+ height: '100%',
31
+ top: 0,
32
+ left: 0,
33
+ alignItems: 'center',
34
+ justifyContent: 'center',
35
+ '&:focus': {
36
+ outline: 'none'
37
+ }
38
+ },
43
39
  tabIndex: "0"
44
40
  }, ___EmotionJSX(Icon, {
45
41
  icon: VisibilityOffOutlineIcon,
@@ -104,79 +104,6 @@ var data = [{
104
104
  title: 'View a workflow'
105
105
  }]
106
106
  }];
107
- var sx = {
108
- iconContainer: {
109
- backgroundColor: 'accent.80',
110
- alignItems: 'center',
111
- justifyContent: 'center',
112
- mr: 'sm',
113
- borderRadius: '50%',
114
- zIndex: 3
115
- },
116
- headingSeparator: {
117
- flexGrow: 1,
118
- backgroundColor: 'accent.80',
119
- maxHeight: '100%',
120
- width: '6px !important',
121
- zIndex: 2,
122
- m: '0px 5px 0px 17px !important'
123
- },
124
- title: {
125
- fontSize: 'md',
126
- color: 'accent.30',
127
- lineHeight: '18px',
128
- fontWeight: '3',
129
- m: '12px 0px 28px 5px',
130
- maxWidth: '195px'
131
- },
132
- linkRowIconButton: {
133
- '&.is-pressed': {
134
- backgroundColor: 'transparent'
135
- },
136
- '&.is-pressed > svg > path': {
137
- fill: 'accent.30'
138
- },
139
- '&.is-hovered': {
140
- backgroundColor: 'transparent'
141
- }
142
- },
143
- linkRowIconSelected: {
144
- zIndex: 3,
145
- 'path': {
146
- fill: 'accent.30'
147
- }
148
- },
149
- linkRowIconNotSelected: {
150
- zIndex: 3,
151
- 'path': {
152
- fill: 'accent.80'
153
- }
154
- },
155
- linkRowSeparator: {
156
- flexGrow: 1,
157
- backgroundColor: 'accent.30',
158
- maxHeight: '100%',
159
- width: '1px !important',
160
- zIndex: 2,
161
- m: '-5px 5px -5px 11.5px !important'
162
- },
163
- linkRowText: {
164
- fontSize: 'md',
165
- color: '#163CE3',
166
- lineHeight: '18px',
167
- fontWeight: '0',
168
- m: '3px 0px 20px 10px',
169
- maxWidth: '140px'
170
- },
171
- container: {
172
- p: '15px 15px 0px 15px',
173
- width: '280px',
174
- backgroundColor: 'accent.95',
175
- borderRadius: '8px',
176
- zIndex: 1,
177
- boxShadow: '3px 8px 4px rgba(202, 206, 211, 0.36)'
178
- }
179
- };
180
107
 
181
108
  var Stage = function Stage(props) {
182
109
  var title = props.title,
@@ -212,7 +139,14 @@ var Stage = function Stage(props) {
212
139
  }, ___EmotionJSX(Box, null, ___EmotionJSX(Box, {
213
140
  minWidth: "39.5px",
214
141
  minHeight: "39.5px",
215
- sx: sx.iconContainer
142
+ sx: {
143
+ backgroundColor: 'accent.80',
144
+ alignItems: 'center',
145
+ justifyContent: 'center',
146
+ mr: '10px',
147
+ borderRadius: '50%',
148
+ zIndex: 3
149
+ }
216
150
  }, ___EmotionJSX(Icon, {
217
151
  icon: icon,
218
152
  color: "accent.40",
@@ -221,10 +155,24 @@ var Stage = function Stage(props) {
221
155
  zIndex: 3
222
156
  }
223
157
  })), !isLastStage && ___EmotionJSX(Separator, {
224
- sx: sx.headingSeparator,
158
+ sx: {
159
+ flexGrow: 1,
160
+ backgroundColor: 'accent.80',
161
+ maxHeight: '100%',
162
+ width: '6px !important',
163
+ zIndex: 2,
164
+ m: '0px 5px 0px 17px !important'
165
+ },
225
166
  orientation: "vertical"
226
167
  })), ___EmotionJSX(Box, null, ___EmotionJSX(Text, {
227
- sx: sx.title
168
+ sx: {
169
+ fontSize: '15px',
170
+ color: 'accent.30',
171
+ lineHeight: '18px',
172
+ fontWeight: '3',
173
+ m: '12px 0px 28px 5px',
174
+ maxWidth: '195px'
175
+ }
228
176
  }, title), ___EmotionJSX(Box, {
229
177
  pl: "0px",
230
178
  mb: "25px"
@@ -265,19 +213,53 @@ var LinkRow = function LinkRow(props) {
265
213
  }
266
214
  }, ___EmotionJSX(IconButton, {
267
215
  onPress: onIconPress,
268
- sx: sx.linkRowIconButton,
216
+ sx: {
217
+ '&.is-pressed': {
218
+ backgroundColor: 'transparent'
219
+ },
220
+ '&.is-pressed > svg > path': {
221
+ fill: 'accent.30'
222
+ },
223
+ '&.is-hovered': {
224
+ backgroundColor: 'transparent'
225
+ }
226
+ },
269
227
  "aria-label": "completed step icon indicator"
270
228
  }, ___EmotionJSX(Icon, {
271
229
  icon: isSelected ? CheckCircleIcon : RadioButtonIcon,
272
230
  size: isSelected ? '20px' : '18px',
273
- sx: isSelected ? sx.linkRowIconButton : sx.linkRowIconNotSelected
231
+ sx: isSelected ? {
232
+ zIndex: 3,
233
+ 'path': {
234
+ fill: 'accent.30'
235
+ }
236
+ } : {
237
+ zIndex: 3,
238
+ 'path': {
239
+ fill: 'accent.80'
240
+ }
241
+ }
274
242
  }))), !isLastLink && isLinkSelected && ___EmotionJSX(Separator, {
275
- sx: sx.linkRowSeparator,
243
+ sx: {
244
+ flexGrow: 1,
245
+ backgroundColor: 'accent.30',
246
+ maxHeight: '100%',
247
+ width: '1px !important',
248
+ zIndex: 2,
249
+ m: '-5px 5px -5px 11.5px !important'
250
+ },
276
251
  orientation: "vertical"
277
252
  })), ___EmotionJSX(Box, null, ___EmotionJSX(Link, {
278
253
  href: "https://www.pingidentity.com",
279
254
  target: "_blank",
280
- sx: sx.linkRowText
255
+ sx: {
256
+ fontSize: '15px',
257
+ color: '#163CE3',
258
+ lineHeight: '18px',
259
+ fontWeight: '0',
260
+ m: '3px 0px 20px 10px',
261
+ maxWidth: '140px'
262
+ }
281
263
  }, title)));
282
264
  };
283
265
 
@@ -285,7 +267,16 @@ export var Default = function Default() {
285
267
  // Open the `Story` addons tab to view the source code for full context.
286
268
  return ___EmotionJSX(Box, {
287
269
  as: "nav",
288
- sx: sx.container
270
+ backgroundColor: "accent.95",
271
+ width: "280px",
272
+ sx: {
273
+ p: '15px 15px 0px 15px',
274
+ width: '280px',
275
+ backgroundColor: 'accent.95',
276
+ borderRadius: '8px',
277
+ zIndex: 1,
278
+ boxShadow: '3px 8px 4px rgba(202, 206, 211, 0.36)'
279
+ }
289
280
  }, ___EmotionJSX(Box, {
290
281
  paddingLeft: "0px"
291
282
  }, _mapInstanceProperty(data).call(data, function (stage, index) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pingux/astro",
3
- "version": "1.27.0-alpha.13",
3
+ "version": "1.27.0-alpha.14",
4
4
  "description": "PingUX themeable React component library",
5
5
  "author": "ux-development@pingidentity.com",
6
6
  "license": "Apache-2.0",
@@ -1,73 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
4
-
5
- var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
6
-
7
- _Object$defineProperty(exports, "__esModule", {
8
- value: true
9
- });
10
-
11
- exports["default"] = exports.Default = void 0;
12
-
13
- var _react = _interopRequireDefault(require("react"));
14
-
15
- var _PlusIcon = _interopRequireDefault(require("mdi-react/PlusIcon"));
16
-
17
- var _index = require("../index");
18
-
19
- var _react2 = require("@emotion/react");
20
-
21
- var _default = {
22
- title: 'Recipes/Page Header'
23
- };
24
- exports["default"] = _default;
25
-
26
- var Default = function Default() {
27
- var heading = 'Title of the Page';
28
- var description = 'The description of the page. The description of the page. The description of the page. The description of the page. The description of the page. The description of the page. The description of the page. The description of the page. The description of the page.';
29
- return (0, _react2.jsx)(_index.Box, null, (0, _react2.jsx)(_index.Box, null, (0, _react2.jsx)(_index.Box, {
30
- align: "center",
31
- isRow: true,
32
- mb: "xs",
33
- role: "heading",
34
- "aria-level": "1"
35
- }, (0, _react2.jsx)(_index.Text, {
36
- variant: "title",
37
- fontWeight: 3
38
- }, heading), (0, _react2.jsx)(_index.Button, {
39
- variant: "inlinePrimary",
40
- ml: "sm"
41
- }, (0, _react2.jsx)(_index.Icon, {
42
- icon: _PlusIcon["default"],
43
- color: "white",
44
- size: 13,
45
- mr: "4px"
46
- }), "\xA0", "Add")), (0, _react2.jsx)(_index.Text, {
47
- variant: "bodyWeak"
48
- }, description)), (0, _react2.jsx)(_index.Box, {
49
- mt: "xl"
50
- }, (0, _react2.jsx)(_index.Box, {
51
- align: "center",
52
- isRow: true,
53
- mb: "xs",
54
- role: "heading",
55
- "aria-level": "1"
56
- }, (0, _react2.jsx)(_index.Text, {
57
- variant: "title",
58
- fontWeight: 3
59
- }, heading), (0, _react2.jsx)(_index.IconButton, {
60
- "aria-label": "icon button",
61
- ml: "sm",
62
- mt: "3px",
63
- variant: "inverted"
64
- }, (0, _react2.jsx)(_index.Icon, {
65
- icon: _PlusIcon["default"],
66
- color: "white",
67
- size: 13
68
- }))), (0, _react2.jsx)(_index.Text, {
69
- variant: "bodyWeak"
70
- }, description)));
71
- };
72
-
73
- exports.Default = Default;