@pingux/astro 2.161.1-alpha.1 → 2.161.1-alpha.3

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 (34) hide show
  1. package/lib/cjs/components/RequirementsList/RequirementsList.js +5 -3
  2. package/lib/cjs/components/Stepper/Stepper.stories.js +23 -34
  3. package/lib/cjs/components/Stepper/Stepper.styles.js +1 -1
  4. package/lib/cjs/components/Text/Text.styles.d.ts +17 -0
  5. package/lib/cjs/components/Text/Text.styles.js +15 -1
  6. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/colors.d.ts +3 -0
  7. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/colors.js +5 -1
  8. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/stepper.d.ts +15 -0
  9. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/stepper.js +22 -0
  10. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/variants.d.ts +14 -0
  11. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/variants.js +2 -0
  12. package/lib/cjs/styles/themes/next-gen/colors/colors.d.ts +1 -0
  13. package/lib/cjs/styles/themes/next-gen/colors/colors.js +1 -1
  14. package/lib/cjs/styles/themes/next-gen/next-gen.d.ts +56 -32
  15. package/lib/cjs/styles/themes/next-gen/tokens/colorTokens.d.ts +1 -0
  16. package/lib/cjs/styles/themes/next-gen/tokens/colorTokens.js +2 -1
  17. package/lib/cjs/styles/themes/next-gen/variants/stepper.d.ts +38 -32
  18. package/lib/cjs/styles/themes/next-gen/variants/stepper.js +31 -24
  19. package/lib/cjs/styles/themes/next-gen/variants/text.d.ts +17 -0
  20. package/lib/cjs/styles/themes/next-gen/variants/text.js +17 -1
  21. package/lib/cjs/styles/themes/next-gen/variants/variants.d.ts +38 -32
  22. package/lib/components/RequirementsList/RequirementsList.js +5 -3
  23. package/lib/components/Stepper/Stepper.stories.js +23 -34
  24. package/lib/components/Stepper/Stepper.styles.js +1 -1
  25. package/lib/components/Text/Text.styles.js +15 -1
  26. package/lib/styles/themeOverrides/nextGenDarkMode/colors.js +5 -1
  27. package/lib/styles/themeOverrides/nextGenDarkMode/variants/stepper.js +15 -0
  28. package/lib/styles/themeOverrides/nextGenDarkMode/variants/variants.js +2 -0
  29. package/lib/styles/themes/next-gen/colors/colors.js +1 -1
  30. package/lib/styles/themes/next-gen/tokens/colorTokens.js +2 -1
  31. package/lib/styles/themes/next-gen/variants/stepper.js +31 -24
  32. package/lib/styles/themes/next-gen/variants/text.js +17 -1
  33. package/lib/tsconfig.lib.tsbuildinfo +1 -1
  34. package/package.json +1 -1
@@ -14,10 +14,12 @@ _Object$defineProperty(exports, "__esModule", {
14
14
  });
15
15
  exports["default"] = void 0;
16
16
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/defineProperty"));
17
+ var _spacing = _interopRequireDefault(require("../spacing"));
17
18
  function ownKeys(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
18
19
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys(Object(t), !0)).call(_context, function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
19
20
  var line = {
20
- mr: 'xs',
21
+ mx: "".concat(_spacing["default"].xs, " !important"),
22
+ maxWidth: '82px',
21
23
  borderBottomWidth: '2px',
22
24
  borderBottomColor: 'active',
23
25
  '&.is-inactive': {
@@ -39,32 +41,37 @@ var tab = {
39
41
  mr: 'xs'
40
42
  };
41
43
  var step = {
42
- active: _objectSpread(_objectSpread({
43
- backgroundColor: 'active',
44
- borderColor: 'active',
45
- color: 'backgroundBase'
46
- }, stepBase), {}, {
47
- '&:before': {
48
- content: '""',
49
- height: '24px',
50
- width: '24px',
51
- top: 0,
52
- left: 0,
53
- position: 'absolute',
54
- borderRadius: '100%',
55
- borderStyle: 'solid',
56
- borderColor: 'backgroundBase',
57
- borderWidth: '2px'
58
- }
59
- }),
44
+ active: {
45
+ '&.is-horizontal': _objectSpread(_objectSpread({
46
+ backgroundColor: 'active',
47
+ borderColor: 'active',
48
+ color: 'white'
49
+ }, stepBase), {}, {
50
+ '&:before': {
51
+ content: '""',
52
+ height: '24px',
53
+ width: '24px',
54
+ top: 0,
55
+ left: 0,
56
+ position: 'absolute',
57
+ borderRadius: '100%',
58
+ borderStyle: 'solid',
59
+ borderColor: 'backgroundBase',
60
+ borderWidth: '2px',
61
+ zIndex: 0
62
+ }
63
+ })
64
+ },
60
65
  completed: _objectSpread(_objectSpread({}, stepBase), {}, {
61
66
  borderColor: 'active'
62
67
  }),
63
- inactive: _objectSpread({
64
- backgroundColor: 'backgroundBase',
65
- borderColor: 'blue-200',
66
- color: 'active'
67
- }, stepBase)
68
+ inactive: {
69
+ '&.is-horizontal': _objectSpread({
70
+ backgroundColor: 'backgroundBase',
71
+ borderColor: 'blue-200',
72
+ color: 'active'
73
+ }, stepBase)
74
+ }
68
75
  };
69
76
  var _default = exports["default"] = {
70
77
  tab: tab,
@@ -31,6 +31,23 @@ export declare const text: {
31
31
  color: string;
32
32
  marginTop: string;
33
33
  };
34
+ requirementsListText: {
35
+ color: string;
36
+ fontSize: string;
37
+ fontWeight: number;
38
+ lineHeight: string;
39
+ };
40
+ stepperTabContent: {
41
+ fontSize: string;
42
+ color: string;
43
+ lineHeight: string;
44
+ };
45
+ stepperTabContentHeader: {
46
+ color: string;
47
+ fontSize: string;
48
+ fontWeight: number;
49
+ fontFamily: string;
50
+ };
34
51
  H1: {
35
52
  fontSize: string;
36
53
  fontWeight: number;
@@ -101,6 +101,14 @@ var buttonSubtitle = {
101
101
  fontSize: '13px',
102
102
  fontWeight: 2
103
103
  };
104
+ var stepperTabContent = {
105
+ fontSize: 'md',
106
+ color: 'font.base',
107
+ lineHeight: 'body'
108
+ };
109
+ var stepperTabContentHeader = _objectSpread(_objectSpread({}, hTags.H2), {}, {
110
+ color: 'font.base'
111
+ });
104
112
  var text = exports.text = _objectSpread(_objectSpread({
105
113
  base: {
106
114
  lineHeight: 'body'
@@ -207,5 +215,13 @@ var text = exports.text = _objectSpread(_objectSpread({
207
215
  lineHeight: 'body',
208
216
  color: 'font.light',
209
217
  marginTop: '0px !important'
210
- }
218
+ },
219
+ requirementsListText: {
220
+ color: 'font.base',
221
+ fontSize: 'md',
222
+ fontWeight: 0,
223
+ lineHeight: 'body'
224
+ },
225
+ stepperTabContent: stepperTabContent,
226
+ stepperTabContentHeader: stepperTabContentHeader
211
227
  });
@@ -1674,7 +1674,8 @@ declare const _default: {
1674
1674
  mr: string;
1675
1675
  };
1676
1676
  line: {
1677
- mr: string;
1677
+ mx: string;
1678
+ maxWidth: string;
1678
1679
  borderBottomWidth: string;
1679
1680
  borderBottomColor: string;
1680
1681
  '&.is-inactive': {
@@ -1684,29 +1685,32 @@ declare const _default: {
1684
1685
  };
1685
1686
  step: {
1686
1687
  active: {
1687
- '&:before': {
1688
- content: string;
1689
- height: string;
1690
- width: string;
1691
- top: number;
1692
- left: number;
1688
+ '&.is-horizontal': {
1689
+ '&:before': {
1690
+ content: string;
1691
+ height: string;
1692
+ width: string;
1693
+ top: number;
1694
+ left: number;
1695
+ position: string;
1696
+ borderRadius: string;
1697
+ borderStyle: string;
1698
+ borderColor: string;
1699
+ borderWidth: string;
1700
+ zIndex: number;
1701
+ };
1702
+ borderWidth: string;
1703
+ width: number;
1704
+ height: number;
1705
+ minWidth: number;
1706
+ minHeight: number;
1693
1707
  position: string;
1694
- borderRadius: string;
1695
- borderStyle: string;
1708
+ fontWeight: number;
1709
+ fontSize: string;
1710
+ backgroundColor: string;
1696
1711
  borderColor: string;
1697
- borderWidth: string;
1712
+ color: string;
1698
1713
  };
1699
- borderWidth: string;
1700
- width: number;
1701
- height: number;
1702
- minWidth: number;
1703
- minHeight: number;
1704
- position: string;
1705
- fontWeight: number;
1706
- fontSize: string;
1707
- backgroundColor: string;
1708
- borderColor: string;
1709
- color: string;
1710
1714
  };
1711
1715
  completed: {
1712
1716
  borderColor: string;
@@ -1720,17 +1724,19 @@ declare const _default: {
1720
1724
  fontSize: string;
1721
1725
  };
1722
1726
  inactive: {
1723
- borderWidth: string;
1724
- width: number;
1725
- height: number;
1726
- minWidth: number;
1727
- minHeight: number;
1728
- position: string;
1729
- fontWeight: number;
1730
- fontSize: string;
1731
- backgroundColor: string;
1732
- borderColor: string;
1733
- color: string;
1727
+ '&.is-horizontal': {
1728
+ borderWidth: string;
1729
+ width: number;
1730
+ height: number;
1731
+ minWidth: number;
1732
+ minHeight: number;
1733
+ position: string;
1734
+ fontWeight: number;
1735
+ fontSize: string;
1736
+ backgroundColor: string;
1737
+ borderColor: string;
1738
+ color: string;
1739
+ };
1734
1740
  };
1735
1741
  };
1736
1742
  };
@@ -13,7 +13,9 @@ var RequirementsList = /*#__PURE__*/forwardRef(function (props, ref) {
13
13
  var requirements = props.requirements,
14
14
  others = _objectWithoutProperties(props, _excluded);
15
15
  var _useGetTheme = useGetTheme(),
16
- icons = _useGetTheme.icons;
16
+ icons = _useGetTheme.icons,
17
+ themeState = _useGetTheme.themeState;
18
+ var isOnyx = themeState.isOnyx;
17
19
  var SuccessCircle = icons.SuccessCircle,
18
20
  ErrorCircle = icons.ErrorCircle,
19
21
  WarningIcon = icons.WarningIcon,
@@ -63,7 +65,7 @@ var RequirementsList = /*#__PURE__*/forwardRef(function (props, ref) {
63
65
  name: 'Empty Status Icon'
64
66
  },
65
67
  icon: DefaultCircle,
66
- color: "neutral.40",
68
+ color: isOnyx ? 'common.dark' : 'neutral.40',
67
69
  mr: "sm",
68
70
  size: "sm",
69
71
  "data-testid": "status-icon__".concat(status)
@@ -79,7 +81,7 @@ var RequirementsList = /*#__PURE__*/forwardRef(function (props, ref) {
79
81
  width: "100%",
80
82
  as: "li"
81
83
  }, statusIconRender(req.status, kebabCase(req.name)), ___EmotionJSX(Text, {
82
- variant: "bodyWeak"
84
+ variant: "requirementsListText"
83
85
  }, req.name));
84
86
  };
85
87
  return ___EmotionJSX(Box, _extends({
@@ -115,30 +115,27 @@ export var Default = function Default(args) {
115
115
  }, ___EmotionJSX(Box, {
116
116
  sx: sx.contentContainer
117
117
  }, ___EmotionJSX(Text, {
118
- fontSize: "lg",
119
- fontWeight: "3"
118
+ variant: "stepperTabContentHeader"
120
119
  }, "Duis Aute"), ___EmotionJSX(Text, {
121
- fontSize: "md"
120
+ variant: "stepperTabContent"
122
121
  }, "Quis autem vel eum iure reprehenderit qui in ea voluptate"))), ___EmotionJSX(Item, {
123
122
  key: "step2",
124
123
  textValue: "Lorem Ipsum"
125
124
  }, ___EmotionJSX(Box, {
126
125
  sx: sx.contentContainer
127
126
  }, ___EmotionJSX(Text, {
128
- fontSize: "lg",
129
- fontWeight: "3"
127
+ variant: "stepperTabContentHeader"
130
128
  }, "Lorem Ipsum"), ___EmotionJSX(Text, {
131
- fontSize: "md"
129
+ variant: "stepperTabContent"
132
130
  }, "Sed ut perspiciatis unde omnis"))), ___EmotionJSX(Item, {
133
131
  key: "step3",
134
132
  textValue: "Excepteur Sint"
135
133
  }, ___EmotionJSX(Box, {
136
134
  sx: sx.contentContainer
137
135
  }, ___EmotionJSX(Text, {
138
- fontSize: "lg",
139
- fontWeight: "3"
136
+ variant: "stepperTabContentHeader"
140
137
  }, "Excepteur Sint"), ___EmotionJSX(Text, {
141
- fontSize: "md"
138
+ variant: "stepperTabContent"
142
139
  }, "Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam"))));
143
140
  };
144
141
  export var DisabledToolTips = function DisabledToolTips(args) {
@@ -150,30 +147,27 @@ export var DisabledToolTips = function DisabledToolTips(args) {
150
147
  }, ___EmotionJSX(Box, {
151
148
  sx: sx.contentContainer
152
149
  }, ___EmotionJSX(Text, {
153
- fontSize: "lg",
154
- fontWeight: "3"
150
+ variant: "stepperTabContentHeader"
155
151
  }, "Duis Aute"), ___EmotionJSX(Text, {
156
- fontSize: "md"
152
+ variant: "stepperTabContent"
157
153
  }, "Quis autem vel eum iure reprehenderit qui in ea voluptate"))), ___EmotionJSX(Item, {
158
154
  key: "step2",
159
155
  textValue: "Lorem Ipsum"
160
156
  }, ___EmotionJSX(Box, {
161
157
  sx: sx.contentContainer
162
158
  }, ___EmotionJSX(Text, {
163
- fontSize: "lg",
164
- fontWeight: "3"
159
+ variant: "stepperTabContentHeader"
165
160
  }, "Lorem Ipsum"), ___EmotionJSX(Text, {
166
- fontSize: "md"
161
+ variant: "stepperTabContent"
167
162
  }, "Sed ut perspiciatis unde omnis"))), ___EmotionJSX(Item, {
168
163
  key: "step3",
169
164
  textValue: "Excepteur Sint"
170
165
  }, ___EmotionJSX(Box, {
171
166
  sx: sx.contentContainer
172
167
  }, ___EmotionJSX(Text, {
173
- fontSize: "lg",
174
- fontWeight: "3"
168
+ variant: "stepperTabContentHeader"
175
169
  }, "Excepteur Sint"), ___EmotionJSX(Text, {
176
- fontSize: "md"
170
+ variant: "stepperTabContent"
177
171
  }, "Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam"))));
178
172
  };
179
173
  Default.parameters = {
@@ -195,30 +189,27 @@ export var WithCustomTooltip = function WithCustomTooltip(args) {
195
189
  }, ___EmotionJSX(Box, {
196
190
  sx: sx.contentContainer
197
191
  }, ___EmotionJSX(Text, {
198
- fontSize: "lg",
199
- fontWeight: "3"
192
+ variant: "stepperTabContentHeader"
200
193
  }, "Duis Aute"), ___EmotionJSX(Text, {
201
- fontSize: "md"
194
+ variant: "stepperTabContent"
202
195
  }, "Quis autem vel eum iure reprehenderit qui in ea voluptate"))), ___EmotionJSX(Item, {
203
196
  key: "step2",
204
197
  textValue: "Lorem Ipsum"
205
198
  }, ___EmotionJSX(Box, {
206
199
  sx: sx.contentContainer
207
200
  }, ___EmotionJSX(Text, {
208
- fontSize: "lg",
209
- fontWeight: "3"
201
+ variant: "stepperTabContentHeader"
210
202
  }, "Lorem Ipsum"), ___EmotionJSX(Text, {
211
- fontSize: "md"
203
+ variant: "stepperTabContent"
212
204
  }, "Sed ut perspiciatis unde omnis"))), ___EmotionJSX(Item, {
213
205
  key: "step3",
214
206
  textValue: "Excepteur Sint"
215
207
  }, ___EmotionJSX(Box, {
216
208
  sx: sx.contentContainer
217
209
  }, ___EmotionJSX(Text, {
218
- fontSize: "lg",
219
- fontWeight: "3"
210
+ variant: "stepperTabContentHeader"
220
211
  }, "Excepteur Sint"), ___EmotionJSX(Text, {
221
- fontSize: "md"
212
+ variant: "stepperTabContent"
222
213
  }, "Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam"))));
223
214
  };
224
215
  export var ControlledStepper = function ControlledStepper() {
@@ -237,10 +228,9 @@ export var ControlledStepper = function ControlledStepper() {
237
228
  }, ___EmotionJSX(Box, {
238
229
  sx: sx.contentContainer
239
230
  }, ___EmotionJSX(Text, {
240
- fontSize: "lg",
241
- fontWeight: "3"
231
+ variant: "stepperTabContentHeader"
242
232
  }, item.title), ___EmotionJSX(Text, {
243
- fontSize: "md"
233
+ variant: "stepperTabContent"
244
234
  }, item.children)));
245
235
  });
246
236
  };
@@ -289,10 +279,9 @@ export var Panel = function Panel() {
289
279
  }, ___EmotionJSX(Box, {
290
280
  sx: sx.contentContainer
291
281
  }, ___EmotionJSX(Text, {
292
- fontSize: "lg",
293
- fontWeight: "3"
282
+ variant: "stepperTabContentHeader"
294
283
  }, item.title), ___EmotionJSX(Text, {
295
- fontSize: "md"
284
+ variant: "stepperTabContent"
296
285
  }, item.children)));
297
286
  })))
298
287
  );
@@ -316,7 +305,7 @@ export var VerticalStepper = function VerticalStepper() {
316
305
  }, ___EmotionJSX(Box, {
317
306
  sx: sx.verticalContentContainer
318
307
  }, ___EmotionJSX(Text, {
319
- fontSize: "md"
308
+ variant: "stepperTabContent"
320
309
  }, item.children)));
321
310
  });
322
311
  };
@@ -17,7 +17,7 @@ var wrapper = {
17
17
  var tabs = {
18
18
  outline: 'none',
19
19
  borderBottom: 'none',
20
- mb: 0,
20
+ mb: 'lg',
21
21
  justifyContent: 'center',
22
22
  '&.is-horizontal': {
23
23
  width: '100%'
@@ -163,6 +163,13 @@ var listViewItemExpandedText = {
163
163
  fontSize: 'md',
164
164
  color: 'text.primary'
165
165
  };
166
+ var stepperTabContent = {
167
+ fontSize: 'md'
168
+ };
169
+ var stepperTabContentHeader = {
170
+ fontSize: 'lg',
171
+ fontWeight: 3
172
+ };
166
173
  export var text = _objectSpread(_objectSpread(_objectSpread({
167
174
  base: base,
168
175
  bodyStrong: bodyStrong,
@@ -260,6 +267,11 @@ export var text = _objectSpread(_objectSpread(_objectSpread({
260
267
  }),
261
268
  panelHeaderSubtext: _objectSpread(_objectSpread({}, listViewItemSubtext), textEllipsis),
262
269
  panelHeaderText: _objectSpread(_objectSpread({}, listViewItemText), textEllipsis),
270
+ requirementsListText: _objectSpread(_objectSpread({}, wordWrap), {}, {
271
+ fontSize: 'sm',
272
+ color: 'text.secondary',
273
+ fontFamily: 'standard'
274
+ }),
263
275
  searchNavTabLabel: searchNavTabLabel,
264
276
  sectionTitle: sectionTitle,
265
277
  subtitle: subtitle,
@@ -281,5 +293,7 @@ export var text = _objectSpread(_objectSpread(_objectSpread({
281
293
  copyRightText: copyRightText,
282
294
  attachmentTitle: attachmentTitle,
283
295
  messagesText: _objectSpread({}, base),
284
- stepperLabel: stepperLabel
296
+ stepperLabel: stepperLabel,
297
+ stepperTabContent: stepperTabContent,
298
+ stepperTabContentHeader: stepperTabContentHeader
285
299
  });
@@ -99,6 +99,9 @@ var iconWrapper = {
99
99
  lightIndigo: nextGenColors['indigo-100']
100
100
  }
101
101
  };
102
+ var common = {
103
+ dark: '#C0C9D5'
104
+ };
102
105
  var backgroundBase = nextGenColors['gray-900'];
103
106
  var backgroundSecondary = nextGenColors['gray-900'];
104
107
  var backgroundCard = '#1a1e22';
@@ -150,5 +153,6 @@ export var colors = _objectSpread(_objectSpread({
150
153
  backgroundHover: backgroundHover,
151
154
  font: font,
152
155
  badge: badge,
153
- codeEditor: codeEditor
156
+ codeEditor: codeEditor,
157
+ common: common
154
158
  });
@@ -0,0 +1,15 @@
1
+ var step = {
2
+ active: {
3
+ '&.is-horizontal': {
4
+ color: 'black'
5
+ }
6
+ },
7
+ inactive: {
8
+ '&.is-horizontal': {
9
+ backgroundColor: 'black'
10
+ }
11
+ }
12
+ };
13
+ export default {
14
+ step: step
15
+ };
@@ -9,6 +9,7 @@ import { message } from './message';
9
9
  import { navBar } from './navbar';
10
10
  import rangeCalendar from './rangeCalendar';
11
11
  import skeleton from './skeleton';
12
+ import stepper from './stepper';
12
13
  var listBox = {
13
14
  container: {
14
15
  backgroundColor: 'backgroundBase',
@@ -182,6 +183,7 @@ export default {
182
183
  tab: tab,
183
184
  iconBadge: iconBadge,
184
185
  skeleton: skeleton,
186
+ stepper: stepper,
185
187
  footer: footer,
186
188
  tooltip: tooltip,
187
189
  popoverMenu: {
@@ -69,7 +69,7 @@ export var critical = {
69
69
  light: nextGenColors['red-100']
70
70
  };
71
71
  export var success = {
72
- bright: nextGenColors['green-600'],
72
+ bright: nextGenColors['green-500'],
73
73
  dark: nextGenColors['green-800'],
74
74
  light: nextGenColors['green-100']
75
75
  };
@@ -115,7 +115,8 @@ export var nextGenColors = {
115
115
  'secondary': '#f6f8fa'
116
116
  },
117
117
  'border': '#69788B',
118
- 'hairline': '#e7eef4'
118
+ 'hairline': '#e7eef4',
119
+ 'dark': '#324054'
119
120
  },
120
121
  'font': {
121
122
  'base': '#23282e',
@@ -9,8 +9,10 @@ import _Object$defineProperty from "@babel/runtime-corejs3/core-js-stable/object
9
9
  import _defineProperty from "@babel/runtime-corejs3/helpers/esm/defineProperty";
10
10
  function ownKeys(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
11
11
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
12
+ import spacing from '../spacing';
12
13
  var line = {
13
- mr: 'xs',
14
+ mx: "".concat(spacing.xs, " !important"),
15
+ maxWidth: '82px',
14
16
  borderBottomWidth: '2px',
15
17
  borderBottomColor: 'active',
16
18
  '&.is-inactive': {
@@ -32,32 +34,37 @@ var tab = {
32
34
  mr: 'xs'
33
35
  };
34
36
  var step = {
35
- active: _objectSpread(_objectSpread({
36
- backgroundColor: 'active',
37
- borderColor: 'active',
38
- color: 'backgroundBase'
39
- }, stepBase), {}, {
40
- '&:before': {
41
- content: '""',
42
- height: '24px',
43
- width: '24px',
44
- top: 0,
45
- left: 0,
46
- position: 'absolute',
47
- borderRadius: '100%',
48
- borderStyle: 'solid',
49
- borderColor: 'backgroundBase',
50
- borderWidth: '2px'
51
- }
52
- }),
37
+ active: {
38
+ '&.is-horizontal': _objectSpread(_objectSpread({
39
+ backgroundColor: 'active',
40
+ borderColor: 'active',
41
+ color: 'white'
42
+ }, stepBase), {}, {
43
+ '&:before': {
44
+ content: '""',
45
+ height: '24px',
46
+ width: '24px',
47
+ top: 0,
48
+ left: 0,
49
+ position: 'absolute',
50
+ borderRadius: '100%',
51
+ borderStyle: 'solid',
52
+ borderColor: 'backgroundBase',
53
+ borderWidth: '2px',
54
+ zIndex: 0
55
+ }
56
+ })
57
+ },
53
58
  completed: _objectSpread(_objectSpread({}, stepBase), {}, {
54
59
  borderColor: 'active'
55
60
  }),
56
- inactive: _objectSpread({
57
- backgroundColor: 'backgroundBase',
58
- borderColor: 'blue-200',
59
- color: 'active'
60
- }, stepBase)
61
+ inactive: {
62
+ '&.is-horizontal': _objectSpread({
63
+ backgroundColor: 'backgroundBase',
64
+ borderColor: 'blue-200',
65
+ color: 'active'
66
+ }, stepBase)
67
+ }
61
68
  };
62
69
  export default {
63
70
  tab: tab,
@@ -94,6 +94,14 @@ var buttonSubtitle = {
94
94
  fontSize: '13px',
95
95
  fontWeight: 2
96
96
  };
97
+ var stepperTabContent = {
98
+ fontSize: 'md',
99
+ color: 'font.base',
100
+ lineHeight: 'body'
101
+ };
102
+ var stepperTabContentHeader = _objectSpread(_objectSpread({}, hTags.H2), {}, {
103
+ color: 'font.base'
104
+ });
97
105
  export var text = _objectSpread(_objectSpread({
98
106
  base: {
99
107
  lineHeight: 'body'
@@ -200,5 +208,13 @@ export var text = _objectSpread(_objectSpread({
200
208
  lineHeight: 'body',
201
209
  color: 'font.light',
202
210
  marginTop: '0px !important'
203
- }
211
+ },
212
+ requirementsListText: {
213
+ color: 'font.base',
214
+ fontSize: 'md',
215
+ fontWeight: 0,
216
+ lineHeight: 'body'
217
+ },
218
+ stepperTabContent: stepperTabContent,
219
+ stepperTabContentHeader: stepperTabContentHeader
204
220
  });