@pingux/astro 2.161.1-alpha.2 → 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.
@@ -25,7 +25,9 @@ var RequirementsList = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref)
25
25
  var requirements = props.requirements,
26
26
  others = (0, _objectWithoutProperties2["default"])(props, _excluded);
27
27
  var _useGetTheme = (0, _hooks.useGetTheme)(),
28
- icons = _useGetTheme.icons;
28
+ icons = _useGetTheme.icons,
29
+ themeState = _useGetTheme.themeState;
30
+ var isOnyx = themeState.isOnyx;
29
31
  var SuccessCircle = icons.SuccessCircle,
30
32
  ErrorCircle = icons.ErrorCircle,
31
33
  WarningIcon = icons.WarningIcon,
@@ -75,7 +77,7 @@ var RequirementsList = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref)
75
77
  name: 'Empty Status Icon'
76
78
  },
77
79
  icon: DefaultCircle,
78
- color: "neutral.40",
80
+ color: isOnyx ? 'common.dark' : 'neutral.40',
79
81
  mr: "sm",
80
82
  size: "sm",
81
83
  "data-testid": "status-icon__".concat(status)
@@ -91,7 +93,7 @@ var RequirementsList = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref)
91
93
  width: "100%",
92
94
  as: "li"
93
95
  }, statusIconRender(req.status, (0, _kebabCase["default"])(req.name)), (0, _react2.jsx)(_Text["default"], {
94
- variant: "bodyWeak"
96
+ variant: "requirementsListText"
95
97
  }, req.name));
96
98
  };
97
99
  return (0, _react2.jsx)(_Box["default"], (0, _extends2["default"])({
@@ -1950,6 +1950,16 @@ export declare const text: {
1950
1950
  wordWrap: wordWrapText;
1951
1951
  wordBreak: wordBreak;
1952
1952
  };
1953
+ requirementsListText: {
1954
+ fontSize: string;
1955
+ color: string;
1956
+ fontFamily: string;
1957
+ display: string;
1958
+ overflowWrap: overflowWrap;
1959
+ maxWidth: string;
1960
+ wordWrap: wordWrapText;
1961
+ wordBreak: wordBreak;
1962
+ };
1953
1963
  searchNavTabLabel: {
1954
1964
  whiteSpace: string;
1955
1965
  fontSize: string;
@@ -274,6 +274,11 @@ var text = exports.text = _objectSpread(_objectSpread(_objectSpread({
274
274
  }),
275
275
  panelHeaderSubtext: _objectSpread(_objectSpread({}, listViewItemSubtext), textEllipsis),
276
276
  panelHeaderText: _objectSpread(_objectSpread({}, listViewItemText), textEllipsis),
277
+ requirementsListText: _objectSpread(_objectSpread({}, wordWrap), {}, {
278
+ fontSize: 'sm',
279
+ color: 'text.secondary',
280
+ fontFamily: 'standard'
281
+ }),
277
282
  searchNavTabLabel: searchNavTabLabel,
278
283
  sectionTitle: sectionTitle,
279
284
  subtitle: subtitle,
@@ -95,6 +95,9 @@ export declare const colors: {
95
95
  backgroundColor: string;
96
96
  headerColor: string;
97
97
  };
98
+ common: {
99
+ dark: string;
100
+ };
98
101
  neutral: {
99
102
  90: string;
100
103
  };
@@ -106,6 +106,9 @@ var iconWrapper = {
106
106
  lightIndigo: _colorTokens.nextGenColors['indigo-100']
107
107
  }
108
108
  };
109
+ var common = {
110
+ dark: '#C0C9D5'
111
+ };
109
112
  var backgroundBase = _colorTokens.nextGenColors['gray-900'];
110
113
  var backgroundSecondary = _colorTokens.nextGenColors['gray-900'];
111
114
  var backgroundCard = '#1a1e22';
@@ -157,5 +160,6 @@ var colors = exports.colors = _objectSpread(_objectSpread({
157
160
  backgroundHover: backgroundHover,
158
161
  font: font,
159
162
  badge: badge,
160
- codeEditor: codeEditor
163
+ codeEditor: codeEditor,
164
+ common: common
161
165
  });
@@ -266,6 +266,7 @@ declare const colors: {
266
266
  };
267
267
  border: string;
268
268
  hairline: string;
269
+ dark: string;
269
270
  };
270
271
  font: {
271
272
  base: string;
@@ -76,7 +76,7 @@ var critical = exports.critical = {
76
76
  light: _colorTokens.nextGenColors['red-100']
77
77
  };
78
78
  var success = exports.success = {
79
- bright: _colorTokens.nextGenColors['green-600'],
79
+ bright: _colorTokens.nextGenColors['green-500'],
80
80
  dark: _colorTokens.nextGenColors['green-800'],
81
81
  light: _colorTokens.nextGenColors['green-100']
82
82
  };
@@ -249,6 +249,7 @@ declare const _default: {
249
249
  };
250
250
  border: string;
251
251
  hairline: string;
252
+ dark: string;
252
253
  };
253
254
  font: {
254
255
  base: string;
@@ -1975,6 +1976,12 @@ declare const _default: {
1975
1976
  color: string;
1976
1977
  marginTop: string;
1977
1978
  };
1979
+ requirementsListText: {
1980
+ color: string;
1981
+ fontSize: string;
1982
+ fontWeight: number;
1983
+ lineHeight: string;
1984
+ };
1978
1985
  stepperTabContent: {
1979
1986
  fontSize: string;
1980
1987
  color: string;
@@ -116,6 +116,7 @@ export declare const nextGenColors: {
116
116
  };
117
117
  border: string;
118
118
  hairline: string;
119
+ dark: string;
119
120
  };
120
121
  font: {
121
122
  base: string;
@@ -122,7 +122,8 @@ var nextGenColors = exports.nextGenColors = {
122
122
  'secondary': '#f6f8fa'
123
123
  },
124
124
  'border': '#69788B',
125
- 'hairline': '#e7eef4'
125
+ 'hairline': '#e7eef4',
126
+ 'dark': '#324054'
126
127
  },
127
128
  'font': {
128
129
  'base': '#23282e',
@@ -31,6 +31,12 @@ 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
+ };
34
40
  stepperTabContent: {
35
41
  fontSize: string;
36
42
  color: string;
@@ -216,6 +216,12 @@ var text = exports.text = _objectSpread(_objectSpread({
216
216
  color: 'font.light',
217
217
  marginTop: '0px !important'
218
218
  },
219
+ requirementsListText: {
220
+ color: 'font.base',
221
+ fontSize: 'md',
222
+ fontWeight: 0,
223
+ lineHeight: 'body'
224
+ },
219
225
  stepperTabContent: stepperTabContent,
220
226
  stepperTabContentHeader: stepperTabContentHeader
221
227
  });
@@ -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({
@@ -267,6 +267,11 @@ export var text = _objectSpread(_objectSpread(_objectSpread({
267
267
  }),
268
268
  panelHeaderSubtext: _objectSpread(_objectSpread({}, listViewItemSubtext), textEllipsis),
269
269
  panelHeaderText: _objectSpread(_objectSpread({}, listViewItemText), textEllipsis),
270
+ requirementsListText: _objectSpread(_objectSpread({}, wordWrap), {}, {
271
+ fontSize: 'sm',
272
+ color: 'text.secondary',
273
+ fontFamily: 'standard'
274
+ }),
270
275
  searchNavTabLabel: searchNavTabLabel,
271
276
  sectionTitle: sectionTitle,
272
277
  subtitle: subtitle,
@@ -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
  });
@@ -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',
@@ -209,6 +209,12 @@ export var text = _objectSpread(_objectSpread({
209
209
  color: 'font.light',
210
210
  marginTop: '0px !important'
211
211
  },
212
+ requirementsListText: {
213
+ color: 'font.base',
214
+ fontSize: 'md',
215
+ fontWeight: 0,
216
+ lineHeight: 'body'
217
+ },
212
218
  stepperTabContent: stepperTabContent,
213
219
  stepperTabContentHeader: stepperTabContentHeader
214
220
  });