@cypress-design/react-statusicon 1.0.1 → 2.0.0-next.0

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.
package/dist/index.umd.js CHANGED
@@ -3,7 +3,6 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var React = require('react');
6
- var constantsStatusicon = require('@cypress-design/constants-statusicon');
7
6
  var reactIcon = require('@cypress-design/react-icon');
8
7
  var iconRegistry = require('@cypress-design/icon-registry');
9
8
 
@@ -81,10 +80,871 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
81
80
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
82
81
  };
83
82
 
83
+ /**
84
+ * This "const" is used to create the list of statuses
85
+ */
86
+ // <tw-keep strokeColor="indigo-400" />
87
+ // <tw-keep fillColor="gray-100" />
88
+ // <tw-keep strokeColor="red-400" />
89
+ // <tw-keep fillColor="gray-100" />
90
+ // <tw-keep strokeColor="jade-400" />
91
+ // <tw-keep strokeColor="red-400" />
92
+ // <tw-keep strokeColor="gray-100" />
93
+ // <tw-keep strokeColor="gray-300" />
94
+ // <tw-keep strokeColor="gray-300" />
95
+ // <tw-keep strokeColor="orange-400" />
96
+ // <tw-keep strokeColor="orange-400" />
97
+ // <tw-keep strokeColor="orange-400" />
98
+ // <tw-keep strokeColor="orange-400" />
99
+ // <tw-keep strokeColor="gray-400" />
100
+ // <tw-keep strokeColor="gray-300" />
101
+ /**
102
+ * The status we have here, allow us to check the validity of the constant
103
+ */
104
+
105
+
106
+ const constStatuses = {
107
+ running: {
108
+ color: "indigo-400",
109
+ use: "Runs, specs, groups, test results",
110
+ variants: ["outline"],
111
+ secondaryColor: "gray-100"
112
+ },
113
+
114
+ failing: {
115
+ color: "red-400",
116
+ use: "Runs, specs, groups, test results",
117
+ variants: ["outline"],
118
+ secondaryColor: "gray-100"
119
+ },
120
+
121
+ passed: {
122
+ color: "jade-400",
123
+ use: "Runs, specs, groups, test results",
124
+ link: "https://docs.cypress.io/guides/core-concepts/writing-and-organizing-tests#Passed",
125
+ variants: ["outline", "simple", "solid"]
126
+ },
127
+
128
+ failed: {
129
+ color: "red-400",
130
+ use: "Runs, specs, groups, test results",
131
+ link: "https://docs.cypress.io/guides/core-concepts/writing-and-organizing-tests#Failed",
132
+ variants: ["outline", "simple", "solid"]
133
+ },
134
+
135
+ unclaimed: {
136
+ color: "gray-100",
137
+ use: "Specs",
138
+ variants: ["outline"]
139
+ },
140
+
141
+ placeholder: {
142
+ color: "gray-300",
143
+ use: "Placeholder",
144
+ variants: ["solid"]
145
+ },
146
+
147
+ cancelled: {
148
+ color: "gray-300",
149
+ use: "Runs, specs, groups, test results",
150
+ variants: ["outline", "solid"]
151
+ },
152
+
153
+ noTests: {
154
+ color: "orange-400",
155
+ use: "Runs, specs, groups",
156
+ variants: ["outline", "solid"]
157
+ },
158
+
159
+ errored: {
160
+ color: "orange-400",
161
+ use: "Runs, specs, groups, test results",
162
+ variants: ["outline", "solid"]
163
+ },
164
+
165
+ timedOut: {
166
+ color: "orange-400",
167
+ use: "Runs, specs, groups, test results",
168
+ variants: ["outline", "solid"]
169
+ },
170
+
171
+ overLimit: {
172
+ color: "orange-400",
173
+ use: "Runs, specs, groups",
174
+ link: "https://docs.cypress.io/faq/questions/dashboard-faq#What-happens-once-I-reach-the-test-results-limit",
175
+ variants: ["outline", "solid"]
176
+ },
177
+
178
+ skipped: {
179
+ color: "gray-400",
180
+ use: "Test results",
181
+ link: "https://docs.cypress.io/guides/core-concepts/writing-and-organizing-tests#Skipped",
182
+ variants: ["outline"]
183
+ },
184
+
185
+ pending: {
186
+ color: "gray-300",
187
+ use: "Test results",
188
+ link: "https://docs.cypress.io/guides/core-concepts/writing-and-organizing-tests#Pending",
189
+ variants: ["outline"]
190
+ }
191
+ };
192
+
193
+ const statuses$3 = constStatuses;
194
+
195
+ // THIS FILE IS AUTO GENERATED BY build-icons.mjs
196
+ /**
197
+ * All possible prop names for icon colors
198
+ */
199
+ const cyStatusCancelledOutlineX16 = {
200
+ name: 'statusCancelledOutlineX16',
201
+ data: `<path d="M6 8h4m-2 6A6 6 0 1 1 8 2a6 6 0 0 1 0 12Z" stroke="currentColor" class="icon-dark" stroke-width="2" stroke-linecap="round"/>`,
202
+ };
203
+ const cyStatusCancelledOutlineX24 = {
204
+ name: 'statusCancelledOutlineX24',
205
+ data: `<path d="M8 12h8m-4 9a9 9 0 1 1 0-18 9 9 0 0 1 0 18Z" stroke="currentColor" class="icon-dark" stroke-width="2" stroke-linecap="round"/>`,
206
+ };
207
+ const cyStatusCancelledSimpleX4 = {
208
+ name: 'statusCancelledSimpleX4',
209
+ data: `<circle cx="2" cy="2" r="1.5" stroke="currentColor" class="icon-dark"/>`,
210
+ };
211
+ const cyStatusCancelledSimpleX8 = {
212
+ name: 'statusCancelledSimpleX8',
213
+ data: `<path d="M1 4h6" stroke="currentColor" class="icon-dark" stroke-width="2" stroke-linecap="round"/>`,
214
+ };
215
+ const cyStatusCancelledSolidX12 = {
216
+ name: 'statusCancelledSolidX12',
217
+ data: `<path d="M2 6h8" stroke="currentColor" class="icon-dark" stroke-width="2" stroke-linecap="round"/>`,
218
+ };
219
+ const cyStatusCancelledSolidX16 = {
220
+ name: 'statusCancelledSolidX16',
221
+ data: `<path fill-rule="evenodd" clip-rule="evenodd" d="M1 8a7 7 0 1 0 14 0A7 7 0 0 0 1 8Zm4-1a1 1 0 0 0 0 2h6a1 1 0 1 0 0-2H5Z" fill="#AFB3C7"/>`,
222
+ };
223
+ const cyStatusCancelledSolidX24 = {
224
+ name: 'statusCancelledSolidX24',
225
+ data: `<path fill-rule="evenodd" clip-rule="evenodd" d="M2 12c0 5.523 4.477 10 10 10s10-4.477 10-10S17.523 2 12 2 2 6.477 2 12Zm6-1a1 1 0 1 0 0 2h8a1 1 0 1 0 0-2H8Z" fill="#AFB3C7"/>`,
226
+ };
227
+ const cyStatusErroredOutlineX16 = {
228
+ name: 'statusErroredOutlineX16',
229
+ data: `<path fill-rule="evenodd" clip-rule="evenodd" d="M2 8a6 6 0 1 1 12 0A6 6 0 0 1 2 8Zm6-8a8 8 0 1 0 0 16A8 8 0 0 0 8 0Zm1 5a1 1 0 0 0-2 0v3a1 1 0 0 0 2 0V5Zm-1 7a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z" fill="currentColor" class="icon-dark"/>`,
230
+ };
231
+ const cyStatusErroredOutlineX24 = {
232
+ name: 'statusErroredOutlineX24',
233
+ data: `<circle cx="12" cy="12" r="9" stroke="currentColor" class="icon-dark" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path fill-rule="evenodd" clip-rule="evenodd" d="M12 7a1 1 0 0 1 1 1v5a1 1 0 1 1-2 0V8a1 1 0 0 1 1-1Z" fill="currentColor" class="icon-dark"/><path d="M13 16a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z" fill="currentColor" class="icon-dark"/>`,
234
+ };
235
+ const cyStatusErroredSimpleX4 = {
236
+ name: 'statusErroredSimpleX4',
237
+ data: `<circle cx="2" cy="2" r="2" fill="currentColor" class="icon-dark"/>`,
238
+ };
239
+ const cyStatusErroredSimpleX8 = {
240
+ name: 'statusErroredSimpleX8',
241
+ data: `<path fill-rule="evenodd" clip-rule="evenodd" d="M4 0a1 1 0 0 1 1 1v3a1 1 0 0 1-2 0V1a1 1 0 0 1 1-1Z" fill="currentColor" class="icon-dark"/><path d="M5 7a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z" fill="currentColor" class="icon-dark"/>`,
242
+ };
243
+ const cyStatusErroredSolidX12 = {
244
+ name: 'statusErroredSolidX12',
245
+ data: `<path fill-rule="evenodd" clip-rule="evenodd" d="M6 1a1 1 0 0 1 1 1v5a1 1 0 0 1-2 0V2a1 1 0 0 1 1-1Z" fill="currentColor" class="icon-dark"/><path d="M7 10a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z" fill="currentColor" class="icon-dark"/>`,
246
+ };
247
+ const cyStatusErroredSolidX16 = {
248
+ name: 'statusErroredSolidX16',
249
+ data: `<path fill-rule="evenodd" clip-rule="evenodd" d="M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14ZM9 5a1 1 0 0 0-2 0v3a1 1 0 0 0 2 0V5Zm-1 7a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z" fill="currentColor" class="icon-dark"/>`,
250
+ };
251
+ const cyStatusErroredSolidX24 = {
252
+ name: 'statusErroredSolidX24',
253
+ data: `<path fill-rule="evenodd" clip-rule="evenodd" d="M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Zm1-14a1 1 0 1 0-2 0v5a1 1 0 1 0 2 0V8Zm-1 9a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z" fill="currentColor" class="icon-dark"/>`,
254
+ };
255
+ const cyStatusFailedOutlineX16 = {
256
+ name: 'statusFailedOutlineX16',
257
+ data: `<path d="M6.707 5.293a1 1 0 0 0-1.414 1.414l1.414-1.414Zm2.586 5.414a1 1 0 0 0 1.414-1.414l-1.414 1.414Zm1.414-4a1 1 0 0 0-1.414-1.414l1.414 1.414ZM5.293 9.293a1 1 0 0 0 1.414 1.414L5.293 9.293ZM13 8a5 5 0 0 1-5 5v2a7 7 0 0 0 7-7h-2Zm-5 5a5 5 0 0 1-5-5H1a7 7 0 0 0 7 7v-2ZM3 8a5 5 0 0 1 5-5V1a7 7 0 0 0-7 7h2Zm5-5a5 5 0 0 1 5 5h2a7 7 0 0 0-7-7v2ZM5.293 6.707l2 2 1.414-1.414-2-2-1.414 1.414Zm2 2 2 2 1.414-1.414-2-2-1.414 1.414Zm2-3.414-2 2 1.414 1.414 2-2-1.414-1.414Zm-2 2-2 2 1.414 1.414 2-2-1.414-1.414Z" fill="currentColor" class="icon-dark"/>`,
258
+ };
259
+ const cyStatusFailedOutlineX24 = {
260
+ name: 'statusFailedOutlineX24',
261
+ data: `<path d="M9.707 8.293a1 1 0 0 0-1.414 1.414l1.414-1.414Zm4.586 7.414a1 1 0 0 0 1.414-1.414l-1.414 1.414Zm1.414-6a1 1 0 0 0-1.414-1.414l1.414 1.414Zm-7.414 4.586a1 1 0 1 0 1.414 1.414l-1.414-1.414Zm0-4.586 3 3 1.414-1.414-3-3-1.414 1.414Zm3 3 3 3 1.414-1.414-3-3-1.414 1.414Zm3-4.414-3 3 1.414 1.414 3-3-1.414-1.414Zm-3 3-3 3 1.414 1.414 3-3-1.414-1.414ZM20 12a8 8 0 0 1-8 8v2c5.523 0 10-4.477 10-10h-2Zm-8 8a8 8 0 0 1-8-8H2c0 5.523 4.477 10 10 10v-2Zm-8-8a8 8 0 0 1 8-8V2C6.477 2 2 6.477 2 12h2Zm8-8a8 8 0 0 1 8 8h2c0-5.523-4.477-10-10-10v2Z" fill="currentColor" class="icon-dark"/>`,
262
+ };
263
+ const cyStatusFailedSimpleX12 = {
264
+ name: 'statusFailedSimpleX12',
265
+ data: `<path d="M3.707 2.293a1 1 0 0 0-1.414 1.414l1.414-1.414Zm4.586 7.414a1 1 0 0 0 1.414-1.414L8.293 9.707Zm1.414-6a1 1 0 0 0-1.414-1.414l1.414 1.414ZM2.293 8.293a1 1 0 0 0 1.414 1.414L2.293 8.293Zm0-4.586 6 6 1.414-1.414-6-6-1.414 1.414Zm6-1.414-6 6 1.414 1.414 6-6-1.414-1.414Z" fill="currentColor" class="icon-dark"/>`,
266
+ };
267
+ const cyStatusFailedSimpleX16 = {
268
+ name: 'statusFailedSimpleX16',
269
+ data: `<path d="M4.707 3.293a1 1 0 0 0-1.414 1.414l1.414-1.414Zm6.586 9.414a1 1 0 0 0 1.414-1.414l-1.414 1.414Zm1.414-8a1 1 0 0 0-1.414-1.414l1.414 1.414Zm-9.414 6.586a1 1 0 1 0 1.414 1.414l-1.414-1.414Zm0-6.586 4 4 1.414-1.414-4-4-1.414 1.414Zm4 4 4 4 1.414-1.414-4-4-1.414 1.414Zm4-5.414-4 4 1.414 1.414 4-4-1.414-1.414Zm-4 4-4 4 1.414 1.414 4-4-1.414-1.414Z" fill="currentColor" class="icon-dark"/>`,
270
+ };
271
+ const cyStatusFailedSimpleX24 = {
272
+ name: 'statusFailedSimpleX24',
273
+ data: `<path d="M6.707 5.293a1 1 0 0 0-1.414 1.414l1.414-1.414Zm10.586 13.414a1 1 0 0 0 1.414-1.414l-1.414 1.414Zm1.414-12a1 1 0 0 0-1.414-1.414l1.414 1.414ZM5.293 17.293a1 1 0 1 0 1.414 1.414l-1.414-1.414Zm0-10.586 6 6 1.414-1.414-6-6-1.414 1.414Zm6 6 6 6 1.414-1.414-6-6-1.414 1.414Zm6-7.414-6 6 1.414 1.414 6-6-1.414-1.414Zm-6 6-6 6 1.414 1.414 6-6-1.414-1.414Z" fill="currentColor" class="icon-dark"/>`,
274
+ };
275
+ const cyStatusFailedSimpleX4 = {
276
+ name: 'statusFailedSimpleX4',
277
+ data: `<circle cx="2" cy="2" r="2" fill="currentColor" class="icon-dark"/>`,
278
+ };
279
+ const cyStatusFailedSimpleX8 = {
280
+ name: 'statusFailedSimpleX8',
281
+ data: `<path d="M2.707 1.293a1 1 0 0 0-1.414 1.414l1.414-1.414Zm2.586 5.414a1 1 0 0 0 1.414-1.414L5.293 6.707Zm1.414-4a1 1 0 0 0-1.414-1.414l1.414 1.414ZM1.293 5.293a1 1 0 0 0 1.414 1.414L1.293 5.293Zm0-2.586 4 4 1.414-1.414-4-4-1.414 1.414Zm4-1.414-4 4 1.414 1.414 4-4-1.414-1.414Z" fill="currentColor" class="icon-dark"/>`,
282
+ };
283
+ const cyStatusFailedSolidX16 = {
284
+ name: 'statusFailedSolidX16',
285
+ data: `<circle cx="8" cy="8" r="7" fill="currentColor" class="icon-dark"/><path d="M6.707 5.293a1 1 0 0 0-1.414 1.414l1.414-1.414Zm2.586 5.414a1 1 0 0 0 1.414-1.414l-1.414 1.414Zm1.414-4a1 1 0 0 0-1.414-1.414l1.414 1.414ZM5.293 9.293a1 1 0 0 0 1.414 1.414L5.293 9.293Zm0-2.586 4 4 1.414-1.414-4-4-1.414 1.414Zm4-1.414-4 4 1.414 1.414 4-4-1.414-1.414Z" fill="#fff"/>`,
286
+ };
287
+ const cyStatusFailedSolidX24 = {
288
+ name: 'statusFailedSolidX24',
289
+ data: `<path fill-rule="evenodd" clip-rule="evenodd" d="M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10ZM9.707 8.293a1 1 0 0 0-1.414 1.414L10.586 12l-2.293 2.293a1 1 0 1 0 1.414 1.414L12 13.414l2.293 2.293a1 1 0 0 0 1.414-1.414L13.414 12l2.293-2.293a1 1 0 0 0-1.414-1.414L12 10.586 9.707 8.293Z" fill="currentColor" class="icon-dark"/>`,
290
+ };
291
+ const cyStatusFailingOutlineX16 = {
292
+ name: 'statusFailingOutlineX16',
293
+ data: `<path d="M6.707 5.293a1 1 0 0 0-1.414 1.414l1.414-1.414Zm2.586 5.414a1 1 0 0 0 1.414-1.414l-1.414 1.414Zm1.414-4a1 1 0 0 0-1.414-1.414l1.414 1.414ZM5.293 9.293a1 1 0 0 0 1.414 1.414L5.293 9.293Zm0-2.586 4 4 1.414-1.414-4-4-1.414 1.414Zm4-1.414-4 4 1.414 1.414 4-4-1.414-1.414Z" fill="currentColor" class="icon-dark"/><circle cx="8" cy="8" r="6" stroke="#E1E3ED" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon-light"/><circle cx="8" cy="8" r="6" stroke="currentColor" stroke-width="2" stroke-dasharray="10 28" stroke-linecap="round" stroke-linejoin="round" class="icon-dark"><animate attributeName="stroke-dashoffset" values="36.6;0" dur="1s" repeatCount="indefinite"/></circle>`,
294
+ };
295
+ const cyStatusFailingOutlineX24 = {
296
+ name: 'statusFailingOutlineX24',
297
+ data: `<path d="M9.707 8.293a1 1 0 0 0-1.414 1.414l1.414-1.414Zm4.586 7.414a1 1 0 0 0 1.414-1.414l-1.414 1.414Zm1.414-6a1 1 0 0 0-1.414-1.414l1.414 1.414Zm-7.414 4.586a1 1 0 1 0 1.414 1.414l-1.414-1.414Zm0-4.586 3 3 1.414-1.414-3-3-1.414 1.414Zm3 3 3 3 1.414-1.414-3-3-1.414 1.414Zm3-4.414-3 3 1.414 1.414 3-3-1.414-1.414Zm-3 3-3 3 1.414 1.414 3-3-1.414-1.414ZM20 12" fill="currentColor" class="icon-dark"/><circle cx="12" cy="12" r="9" stroke="#E1E3ED" stroke-width="2" class="icon-light"/><circle cx="12" cy="12" r="9" stroke="currentColor" stroke-width="2" stroke-dasharray="15 42" stroke-linecap="round" stroke-linejoin="round" class="icon-dark"><animate attributeName="stroke-dashoffset" values="57;0" dur="1s" repeatCount="indefinite"/></circle>`,
298
+ };
299
+ const cyStatusPassedOutlineX16 = {
300
+ name: 'statusPassedOutlineX16',
301
+ data: `<circle cx="8" cy="8" r="6" stroke="currentColor" class="icon-dark" stroke-width="2"/><path d="m10 6-2.5 4L6 8.5" stroke="currentColor" class="icon-dark" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>`,
302
+ };
303
+ const cyStatusPassedOutlineX24 = {
304
+ name: 'statusPassedOutlineX24',
305
+ data: `<path fill-rule="evenodd" clip-rule="evenodd" d="M4 12a8 8 0 1 1 16 0 8 8 0 0 1-16 0Zm8-10C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2Zm3.864 7.504a1 1 0 0 0-1.728-1.008l-2.846 4.88-1.583-1.583a1 1 0 0 0-1.414 1.414l2.5 2.5a1 1 0 0 0 1.57-.203l3.5-6Z" fill="currentColor" class="icon-dark"/>`,
306
+ };
307
+ const cyStatusPassedSimpleX12 = {
308
+ name: 'statusPassedSimpleX12',
309
+ data: `<path d="M9 3 5 9 3 6.5" stroke="currentColor" class="icon-dark" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>`,
310
+ };
311
+ const cyStatusPassedSimpleX16 = {
312
+ name: 'statusPassedSimpleX16',
313
+ data: `<path d="M4 8.667 7.333 12 12 4" stroke="currentColor" class="icon-dark" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>`,
314
+ };
315
+ const cyStatusPassedSimpleX24 = {
316
+ name: 'statusPassedSimpleX24',
317
+ data: `<path fill-rule="evenodd" clip-rule="evenodd" d="M15.504 8.136a1 1 0 0 1 .36 1.368l-3.5 6a1 1 0 0 1-1.571.203l-2.5-2.5a1 1 0 1 1 1.414-1.414l1.583 1.583 2.846-4.88a1 1 0 0 1 1.368-.36Z" fill="currentColor" class="icon-dark"/>`,
318
+ };
319
+ const cyStatusPassedSimpleX4 = {
320
+ name: 'statusPassedSimpleX4',
321
+ data: `<circle cx="2" cy="2" r="2" fill="currentColor" class="icon-dark"/>`,
322
+ };
323
+ const cyStatusPassedSimpleX8 = {
324
+ name: 'statusPassedSimpleX8',
325
+ data: `<path d="M6 2 3.5 6 2 4.5" stroke="currentColor" class="icon-dark" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>`,
326
+ };
327
+ const cyStatusPassedSolidX16 = {
328
+ name: 'statusPassedSolidX16',
329
+ data: `<circle cx="8" cy="8" r="7" fill="currentColor" class="icon-dark"/><path d="m10 6-2.5 4L6 8.5" stroke="#fff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>`,
330
+ };
331
+ const cyStatusPassedSolidX24 = {
332
+ name: 'statusPassedSolidX24',
333
+ data: `<path fill-rule="evenodd" clip-rule="evenodd" d="M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Zm3.864-12.496a1 1 0 0 0-1.728-1.008l-2.846 4.88-1.583-1.583a1 1 0 0 0-1.414 1.414l2.5 2.5a1 1 0 0 0 1.57-.203l3.5-6Z" fill="currentColor" class="icon-dark"/>`,
334
+ };
335
+ const cyStatusPendingOutlineX12 = {
336
+ name: 'statusPendingOutlineX12',
337
+ data: `<path d="M4.47 2.305a4 4 0 1 0 3.061 0" stroke="currentColor" class="icon-dark" stroke-width="2"/>`,
338
+ };
339
+ const cyStatusPendingOutlineX16 = {
340
+ name: 'statusPendingOutlineX16',
341
+ data: `<path d="M5.706 2.46a5.998 5.998 0 1 0 4.59 0" stroke="currentColor" class="icon-dark" stroke-width="2"/>`,
342
+ };
343
+ const cyStatusPendingOutlineX24 = {
344
+ name: 'statusPendingOutlineX24',
345
+ data: `<path d="M8.555 3.685a8.999 8.999 0 1 0 6.887 0" stroke="currentColor" class="icon-dark" stroke-width="2"/>`,
346
+ };
347
+ const cyStatusPendingSimpleX4 = {
348
+ name: 'statusPendingSimpleX4',
349
+ data: `<circle cx="2" cy="2" r="1.5" stroke="currentColor" class="icon-dark"/>`,
350
+ };
351
+ const cyStatusPendingSimpleX8 = {
352
+ name: 'statusPendingSimpleX8',
353
+ data: `<path d="M2.852 1.228a3 3 0 1 0 2.296 0" stroke="currentColor" class="icon-dark" stroke-width="2"/>`,
354
+ };
355
+ const cyStatusPlaceholderSimpleX4 = {
356
+ name: 'statusPlaceholderSimpleX4',
357
+ data: `<circle cx="2" cy="2" r="2" fill="currentColor" class="icon-dark"/>`,
358
+ };
359
+ const cyStatusPlaceholderSimpleX8 = {
360
+ name: 'statusPlaceholderSimpleX8',
361
+ data: `<circle cx="4" cy="4" r="3" fill="currentColor" class="icon-dark"/>`,
362
+ };
363
+ const cyStatusPlaceholderSolidX12 = {
364
+ name: 'statusPlaceholderSolidX12',
365
+ data: `<circle cx="6" cy="6" r="5" fill="currentColor" class="icon-dark"/>`,
366
+ };
367
+ const cyStatusPlaceholderSolidX16 = {
368
+ name: 'statusPlaceholderSolidX16',
369
+ data: `<circle cx="8" cy="8" r="7" fill="currentColor" class="icon-dark"/>`,
370
+ };
371
+ const cyStatusPlaceholderSolidX24 = {
372
+ name: 'statusPlaceholderSolidX24',
373
+ data: `<circle cx="12" cy="12" r="10" fill="currentColor" class="icon-dark"/>`,
374
+ };
375
+ const cyStatusQueuedOutlineX12 = {
376
+ name: 'statusQueuedOutlineX12',
377
+ data: `<circle cx="6" cy="6" r="4" stroke="currentColor" class="icon-dark" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>`,
378
+ };
379
+ const cyStatusQueuedOutlineX16 = {
380
+ name: 'statusQueuedOutlineX16',
381
+ data: `<circle cx="8" cy="8" r="6" stroke="currentColor" class="icon-dark" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>`,
382
+ };
383
+ const cyStatusQueuedOutlineX24 = {
384
+ name: 'statusQueuedOutlineX24',
385
+ data: `<circle cx="12" cy="12" r="9" stroke="currentColor" class="icon-dark" stroke-width="2"/>`,
386
+ };
387
+ const cyStatusQueuedSimpleX4 = {
388
+ name: 'statusQueuedSimpleX4',
389
+ data: `<circle cx="2" cy="2" r="1.5" stroke="currentColor" class="icon-dark"/>`,
390
+ };
391
+ const cyStatusQueuedSimpleX8 = {
392
+ name: 'statusQueuedSimpleX8',
393
+ data: `<circle cx="4" cy="4" r="3" stroke="currentColor" class="icon-dark" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>`,
394
+ };
395
+ const cyStatusRunningOutlineX12 = {
396
+ name: 'statusRunningOutlineX12',
397
+ data: `<circle cx="6" cy="6" r="4" stroke="#E1E3ED" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon-light"/><circle cx="6" cy="6" r="4" stroke="currentColor" stroke-width="2" stroke-dasharray="5 20" stroke-linecap="round" stroke-linejoin="round" class="icon-dark"><animate attributeName="stroke-dashoffset" values="25;0" dur="1s" repeatCount="indefinite"/></circle>`,
398
+ };
399
+ const cyStatusRunningOutlineX16 = {
400
+ name: 'statusRunningOutlineX16',
401
+ data: `<circle cx="8" cy="8" r="6" stroke="#E1E3ED" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon-light"/><circle cx="8" cy="8" r="6" stroke="currentColor" stroke-width="2" stroke-dasharray="10 28" stroke-linecap="round" stroke-linejoin="round" class="icon-dark"><animate attributeName="stroke-dashoffset" values="36.6;0" dur="1s" repeatCount="indefinite"/></circle>`,
402
+ };
403
+ const cyStatusRunningOutlineX24 = {
404
+ name: 'statusRunningOutlineX24',
405
+ data: `<circle cx="12" cy="12" r="9" stroke="#E1E3ED" stroke-width="2" class="icon-light"/><circle cx="12" cy="12" r="9" stroke="currentColor" stroke-width="2" stroke-dasharray="15 42" stroke-linecap="round" stroke-linejoin="round" class="icon-dark"><animate attributeName="stroke-dashoffset" values="57;0" dur="1s" repeatCount="indefinite"/></circle>`,
406
+ };
407
+ const cyStatusRunningSimpleX4 = {
408
+ name: 'statusRunningSimpleX4',
409
+ data: `<circle cx="2" cy="2" r="1.5" fill="#C5C9FD" stroke="currentColor" class="icon-dark-stroke icon-light-fill"><animate attributeName="stroke-width" values="2;1;2" dur="1.5s" repeatCount="indefinite"/><animate attributeName="r" values="1;1.5;1" dur="1.5s" repeatCount="indefinite"/></circle>`,
410
+ };
411
+ const cyStatusRunningSimpleX8 = {
412
+ name: 'statusRunningSimpleX8',
413
+ data: `<circle cx="4" cy="4" r="3" stroke="#E1E3ED" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon-light"/><circle cx="4" cy="4" r="3" stroke="currentColor" stroke-width="2" stroke-dasharray="5 14" stroke-linecap="round" stroke-linejoin="round" class="icon-dark"><animate attributeName="stroke-dashoffset" values="18.3;0" dur="1s" repeatCount="indefinite"/></circle>`,
414
+ };
415
+ const cyStatusSkippedOutlineX12 = {
416
+ name: 'statusSkippedOutlineX12',
417
+ data: `<path d="M3.172 8.828a4 4 0 0 0 5.656-5.656M3.172 8.828a4 4 0 0 1 5.656-5.656M3.172 8.828l5.656-5.656" stroke="currentColor" class="icon-dark" stroke-width="2"/>`,
418
+ };
419
+ const cyStatusSkippedOutlineX16 = {
420
+ name: 'statusSkippedOutlineX16',
421
+ data: `<path d="M3.757 12.243a6 6 0 1 0 8.486-8.486m-8.486 8.486a6 6 0 1 1 8.486-8.486m-8.486 8.486 8.486-8.486" stroke="currentColor" class="icon-dark" stroke-width="2"/>`,
422
+ };
423
+ const cyStatusSkippedOutlineX24 = {
424
+ name: 'statusSkippedOutlineX24',
425
+ data: `<path d="M5.636 18.364A9 9 0 0 0 18.364 5.636M5.636 18.364A9 9 0 0 1 18.364 5.636M5.636 18.364 18.364 5.636" stroke="currentColor" class="icon-dark" stroke-width="2"/>`,
426
+ };
427
+ const cyStatusSkippedSimpleX4 = {
428
+ name: 'statusSkippedSimpleX4',
429
+ data: `<circle cx="2" cy="2" r="1.5" stroke="currentColor" class="icon-dark"/>`,
430
+ };
431
+ const cyStatusSkippedSimpleX8 = {
432
+ name: 'statusSkippedSimpleX8',
433
+ data: `<path d="M1.879 6.121A3 3 0 0 0 6.12 1.88M1.88 6.12A3 3 0 1 1 6.12 1.88M1.88 6.12 6.12 1.88" stroke="currentColor" class="icon-dark" stroke-width="2"/>`,
434
+ };
435
+
436
+ typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
437
+ var e = new Error(message);
438
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
439
+ };
440
+
441
+ /** Detect free variable `global` from Node.js. */
442
+ var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
443
+
444
+ /** Detect free variable `self`. */
445
+ var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
446
+
447
+ /** Used as a reference to the global object. */
448
+ var root = freeGlobal || freeSelf || Function('return this')();
449
+
450
+ /** Built-in value references. */
451
+ var Symbol = root.Symbol;
452
+
453
+ /** Built-in value references. */
454
+ Symbol ? Symbol.toStringTag : undefined;
455
+
456
+ /** Built-in value references. */
457
+ Symbol ? Symbol.toStringTag : undefined;
458
+
459
+ /** Used to convert symbols to primitives and strings. */
460
+ var symbolProto = Symbol ? Symbol.prototype : undefined;
461
+ symbolProto ? symbolProto.toString : undefined;
462
+ const cyColors = {
463
+ jade: {
464
+ 50: '#E4FBF2',
465
+ 100: '#C2F1DE',
466
+ 200: '#A3E7CB',
467
+ 300: '#69D3A7',
468
+ 400: '#1FA971',
469
+ 500: '#00814D',
470
+ 600: '#005F39',
471
+ 700: '#00442A',
472
+ 800: '#003220',
473
+ 900: '#00291B',
474
+ 1000: '#00261A',
475
+ },
476
+ red: {
477
+ 50: '#FBEFF1',
478
+ 100: '#FAD9DF',
479
+ 200: '#F8C4CD',
480
+ 300: '#F59AA9',
481
+ 400: '#E45770',
482
+ 500: '#C62B49',
483
+ 600: '#9F1331',
484
+ 700: '#7A0723',
485
+ 800: '#5E021B',
486
+ 900: '#4F0018',
487
+ 1000: '#490018',
488
+ },
489
+ orange: {
490
+ 50: '#F5F4D7',
491
+ 100: '#F3ECB3',
492
+ 200: '#F1E08F',
493
+ 300: '#EDBB4A',
494
+ 400: '#DB7903',
495
+ 500: '#BD5800',
496
+ 600: '#963F00',
497
+ 700: '#702C00',
498
+ 800: '#521F00',
499
+ 900: '#411800',
500
+ 1000: '#391500',
501
+ },
502
+ indigo: {
503
+ 50: '#F0F1FF',
504
+ 100: '#DADDFE',
505
+ 200: '#C5C9FD',
506
+ 300: '#9AA2FC',
507
+ 400: '#6470F3',
508
+ 500: '#4956E3',
509
+ 600: '#3A46CC',
510
+ 700: '#2F3AB0',
511
+ 800: '#252E8F',
512
+ 900: '#1C236D',
513
+ 1000: '#151A50',
514
+ },
515
+ gray: {
516
+ 25: '#FAFAFC',
517
+ 50: '#F3F4FA',
518
+ 100: '#E1E3ED',
519
+ 200: '#D0D2E0',
520
+ 300: '#BFC2D4',
521
+ 400: '#AFB3C7',
522
+ 500: '#9095AD',
523
+ 600: '#747994',
524
+ 700: '#5A5F7A',
525
+ 800: '#434861',
526
+ 900: '#2E3247',
527
+ 950: '#25283C',
528
+ 1000: '#1B1E2E',
529
+ },
530
+ teal: {
531
+ 50: '#E0F6FA',
532
+ 100: '#B7E7F0',
533
+ 200: '#90D9E6',
534
+ 300: '#4BBFD2',
535
+ 400: '#0097A8',
536
+ 500: '#007780',
537
+ 600: '#00595D',
538
+ 700: '#004143',
539
+ 800: '#003131',
540
+ 900: '#002828',
541
+ 1000: '#002525',
542
+ },
543
+ purple: {
544
+ 50: '#F5F0FB',
545
+ 100: '#E9DDFA',
546
+ 200: '#DECBF8',
547
+ 300: '#C8A7F5',
548
+ 400: '#A06CE4',
549
+ 500: '#7F43C9',
550
+ 600: '#632AA6',
551
+ 700: '#4B1A83',
552
+ 800: '#3B1268',
553
+ 900: '#320E58',
554
+ 1000: '#2F0C52',
555
+ },
556
+ green: {
557
+ 50: '#F5F5D0',
558
+ 100: '#E7E8AB',
559
+ 200: '#DADC89',
560
+ 300: '#BDC44D',
561
+ 400: '#849706',
562
+ 500: '#5B7100',
563
+ 600: '#405500',
564
+ 700: '#2E4000',
565
+ 800: '#233200',
566
+ 900: '#1C2A00',
567
+ 1000: '#192500',
568
+ },
569
+ fuchsia: {
570
+ 50: '#FAEFFB',
571
+ 100: '#F7DAF9',
572
+ 200: '#F3C6F8',
573
+ 300: '#ED9FF4',
574
+ 400: '#D65FE3',
575
+ 500: '#B735C7',
576
+ 600: '#901CA2',
577
+ 700: '#6C0F7E',
578
+ 800: '#510862',
579
+ 900: '#400651',
580
+ 1000: '#39054A',
581
+ },
582
+ magenta: {
583
+ 50: '#FCEEF5',
584
+ 100: '#FADAEA',
585
+ 200: '#F9C5DF',
586
+ 300: '#F69ECA',
587
+ 400: '#E45DA3',
588
+ 500: '#C53282',
589
+ 600: '#9C1964',
590
+ 700: '#750C4D',
591
+ 800: '#59063D',
592
+ 900: '#490435',
593
+ 1000: '#420333',
594
+ },
595
+ };
596
+ ({
597
+ // TODO: are these actual concepts from the design system?
598
+ primary: Object.assign(Object.assign({}, cyColors.indigo), { DEFAULT: cyColors.indigo[500] }),
599
+ secondary: Object.assign(Object.assign({}, cyColors.indigo), { DEFAULT: cyColors.indigo[50] }),
600
+ error: Object.assign(Object.assign({}, cyColors.red), { DEFAULT: cyColors.red[400] }),
601
+ caution: Object.assign(Object.assign({}, cyColors.red), { DEFAULT: cyColors.red[500] }),
602
+ info: Object.assign(Object.assign({}, cyColors.indigo), { DEFAULT: cyColors.indigo[500] }),
603
+ warning: Object.assign(Object.assign({}, cyColors.orange), { DEFAULT: cyColors.orange[500] }),
604
+ 'warning-light': Object.assign(Object.assign({}, cyColors.orange), { DEFAULT: cyColors.orange[400] }),
605
+ success: Object.assign(Object.assign({}, cyColors.jade), { DEFAULT: cyColors.jade[400] }),
606
+ 'success-light': Object.assign(Object.assign({}, cyColors.jade), { DEFAULT: cyColors.jade[300] }),
607
+ confirm: Object.assign(Object.assign({}, cyColors.jade), { DEFAULT: cyColors.jade[500] }),
608
+ 'body-gray': Object.assign(Object.assign({}, cyColors.gray), { DEFAULT: cyColors.gray[600] }),
609
+ });
610
+
611
+ const statuses$2 = {
612
+ running: {
613
+ size4Icon: cyStatusRunningSimpleX4,
614
+ size8Icon: cyStatusRunningSimpleX8,
615
+ size12Icon: cyStatusRunningOutlineX12,
616
+ size16Icon: cyStatusRunningOutlineX16,
617
+ size24Icon: cyStatusRunningOutlineX24
618
+ },
619
+
620
+ failing: {
621
+ size4Icon: cyStatusRunningSimpleX4,
622
+ size8Icon: cyStatusRunningSimpleX8,
623
+ size12Icon: cyStatusRunningOutlineX12,
624
+ size16Icon: cyStatusFailingOutlineX16,
625
+ size24Icon: cyStatusFailingOutlineX24
626
+ },
627
+
628
+ passed: {
629
+ size4Icon: cyStatusPassedSimpleX4,
630
+ size8Icon: cyStatusPassedSimpleX8,
631
+ size12Icon: cyStatusPassedSimpleX12,
632
+ size16Icon: cyStatusPassedOutlineX16,
633
+ size24Icon: cyStatusPassedOutlineX24
634
+ },
635
+
636
+ failed: {
637
+ size4Icon: cyStatusFailedSimpleX4,
638
+ size8Icon: cyStatusFailedSimpleX8,
639
+ size12Icon: cyStatusFailedSimpleX12,
640
+ size16Icon: cyStatusFailedOutlineX16,
641
+ size24Icon: cyStatusFailedOutlineX24
642
+ },
643
+
644
+ unclaimed: {
645
+ size4Icon: cyStatusQueuedSimpleX4,
646
+ size8Icon: cyStatusQueuedSimpleX8,
647
+ size12Icon: cyStatusQueuedOutlineX12,
648
+ size16Icon: cyStatusQueuedOutlineX16,
649
+ size24Icon: cyStatusQueuedOutlineX24
650
+ },
651
+
652
+ placeholder: {
653
+ size4Icon: cyStatusPlaceholderSimpleX4,
654
+ size8Icon: cyStatusPlaceholderSimpleX8,
655
+ size12Icon: cyStatusPlaceholderSolidX12,
656
+ size16Icon: cyStatusPlaceholderSolidX16,
657
+ size24Icon: cyStatusPlaceholderSolidX24
658
+ },
659
+
660
+ cancelled: {
661
+ size4Icon: cyStatusCancelledSimpleX4,
662
+ size8Icon: cyStatusCancelledSimpleX8,
663
+ size12Icon: cyStatusCancelledSolidX12,
664
+ size16Icon: cyStatusCancelledOutlineX16,
665
+ size24Icon: cyStatusCancelledOutlineX24
666
+ },
667
+
668
+ noTests: {
669
+ size4Icon: cyStatusErroredSimpleX4,
670
+ size8Icon: cyStatusErroredSimpleX8,
671
+ size12Icon: cyStatusErroredSolidX12,
672
+ size16Icon: cyStatusErroredOutlineX16,
673
+ size24Icon: cyStatusErroredOutlineX24
674
+ },
675
+
676
+ errored: {
677
+ size4Icon: cyStatusErroredSimpleX4,
678
+ size8Icon: cyStatusErroredSimpleX8,
679
+ size12Icon: cyStatusErroredSolidX12,
680
+ size16Icon: cyStatusErroredOutlineX16,
681
+ size24Icon: cyStatusErroredOutlineX24
682
+ },
683
+
684
+ timedOut: {
685
+ size4Icon: cyStatusErroredSimpleX4,
686
+ size8Icon: cyStatusErroredSimpleX8,
687
+ size12Icon: cyStatusErroredSolidX12,
688
+ size16Icon: cyStatusErroredOutlineX16,
689
+ size24Icon: cyStatusErroredOutlineX24
690
+ },
691
+
692
+ overLimit: {
693
+ size4Icon: cyStatusErroredSimpleX4,
694
+ size8Icon: cyStatusErroredSimpleX8,
695
+ size12Icon: cyStatusErroredSolidX12,
696
+ size16Icon: cyStatusErroredOutlineX16,
697
+ size24Icon: cyStatusErroredOutlineX24
698
+ },
699
+
700
+ skipped: {
701
+ size4Icon: cyStatusSkippedSimpleX4,
702
+ size8Icon: cyStatusSkippedSimpleX8,
703
+ size12Icon: cyStatusSkippedOutlineX12,
704
+ size16Icon: cyStatusSkippedOutlineX16,
705
+ size24Icon: cyStatusSkippedOutlineX24
706
+ },
707
+
708
+ pending: {
709
+ size4Icon: cyStatusPendingSimpleX4,
710
+ size8Icon: cyStatusPendingSimpleX8,
711
+ size12Icon: cyStatusPendingOutlineX12,
712
+ size16Icon: cyStatusPendingOutlineX16,
713
+ size24Icon: cyStatusPendingOutlineX24
714
+ }
715
+ };
716
+
717
+ var outlineImports = /*#__PURE__*/Object.freeze({
718
+ __proto__: null,
719
+ statuses: statuses$2
720
+ });
721
+
722
+ const statuses$1 = {
723
+ running: {
724
+ size4Icon: cyStatusRunningSimpleX4,
725
+ size8Icon: cyStatusRunningSimpleX8,
726
+ size12Icon: cyStatusRunningOutlineX12,
727
+ size16Icon: cyStatusRunningOutlineX16,
728
+ size24Icon: cyStatusRunningOutlineX24
729
+ },
730
+
731
+ failing: {
732
+ size4Icon: cyStatusRunningSimpleX4,
733
+ size8Icon: cyStatusRunningSimpleX8,
734
+ size12Icon: cyStatusRunningOutlineX12,
735
+ size16Icon: cyStatusFailingOutlineX16,
736
+ size24Icon: cyStatusFailingOutlineX24
737
+ },
738
+
739
+ passed: {
740
+ size4Icon: cyStatusPassedSimpleX4,
741
+ size8Icon: cyStatusPassedSimpleX8,
742
+ size12Icon: cyStatusPassedSimpleX12,
743
+ size16Icon: cyStatusPassedSimpleX16,
744
+ size24Icon: cyStatusPassedSimpleX24
745
+ },
746
+
747
+ failed: {
748
+ size4Icon: cyStatusFailedSimpleX4,
749
+ size8Icon: cyStatusFailedSimpleX8,
750
+ size12Icon: cyStatusFailedSimpleX12,
751
+ size16Icon: cyStatusFailedSimpleX16,
752
+ size24Icon: cyStatusFailedSimpleX24
753
+ },
754
+
755
+ unclaimed: {
756
+ size4Icon: cyStatusQueuedSimpleX4,
757
+ size8Icon: cyStatusQueuedSimpleX8,
758
+ size12Icon: cyStatusQueuedOutlineX12,
759
+ size16Icon: cyStatusQueuedOutlineX16,
760
+ size24Icon: cyStatusQueuedOutlineX24
761
+ },
762
+
763
+ placeholder: {
764
+ size4Icon: cyStatusPlaceholderSimpleX4,
765
+ size8Icon: cyStatusPlaceholderSimpleX8,
766
+ size12Icon: cyStatusPlaceholderSolidX12,
767
+ size16Icon: cyStatusPlaceholderSolidX16,
768
+ size24Icon: cyStatusPlaceholderSolidX24
769
+ },
770
+
771
+ cancelled: {
772
+ size4Icon: cyStatusCancelledSimpleX4,
773
+ size8Icon: cyStatusCancelledSimpleX8,
774
+ size12Icon: cyStatusCancelledSolidX12,
775
+ size16Icon: cyStatusCancelledSolidX16,
776
+ size24Icon: cyStatusCancelledSolidX24
777
+ },
778
+
779
+ noTests: {
780
+ size4Icon: cyStatusErroredSimpleX4,
781
+ size8Icon: cyStatusErroredSimpleX8,
782
+ size12Icon: cyStatusErroredSolidX12,
783
+ size16Icon: cyStatusErroredSolidX16,
784
+ size24Icon: cyStatusErroredSolidX24
785
+ },
786
+
787
+ errored: {
788
+ size4Icon: cyStatusErroredSimpleX4,
789
+ size8Icon: cyStatusErroredSimpleX8,
790
+ size12Icon: cyStatusErroredSolidX12,
791
+ size16Icon: cyStatusErroredSolidX16,
792
+ size24Icon: cyStatusErroredSolidX24
793
+ },
794
+
795
+ timedOut: {
796
+ size4Icon: cyStatusErroredSimpleX4,
797
+ size8Icon: cyStatusErroredSimpleX8,
798
+ size12Icon: cyStatusErroredSolidX12,
799
+ size16Icon: cyStatusErroredSolidX16,
800
+ size24Icon: cyStatusErroredSolidX24
801
+ },
802
+
803
+ overLimit: {
804
+ size4Icon: cyStatusErroredSimpleX4,
805
+ size8Icon: cyStatusErroredSimpleX8,
806
+ size12Icon: cyStatusErroredSolidX12,
807
+ size16Icon: cyStatusErroredSolidX16,
808
+ size24Icon: cyStatusErroredSolidX24
809
+ },
810
+
811
+ skipped: {
812
+ size4Icon: cyStatusSkippedSimpleX4,
813
+ size8Icon: cyStatusSkippedSimpleX8,
814
+ size12Icon: cyStatusSkippedOutlineX12,
815
+ size16Icon: cyStatusSkippedOutlineX16,
816
+ size24Icon: cyStatusSkippedOutlineX24
817
+ },
818
+
819
+ pending: {
820
+ size4Icon: cyStatusPendingSimpleX4,
821
+ size8Icon: cyStatusPendingSimpleX8,
822
+ size12Icon: cyStatusPendingOutlineX12,
823
+ size16Icon: cyStatusPendingOutlineX16,
824
+ size24Icon: cyStatusPendingOutlineX24
825
+ }
826
+ };
827
+
828
+ var simpleImports = /*#__PURE__*/Object.freeze({
829
+ __proto__: null,
830
+ statuses: statuses$1
831
+ });
832
+
833
+ const statuses = {
834
+ running: {
835
+ size4Icon: cyStatusRunningSimpleX4,
836
+ size8Icon: cyStatusRunningSimpleX8,
837
+ size12Icon: cyStatusRunningOutlineX12,
838
+ size16Icon: cyStatusRunningOutlineX16,
839
+ size24Icon: cyStatusRunningOutlineX24
840
+ },
841
+
842
+ failing: {
843
+ size4Icon: cyStatusRunningSimpleX4,
844
+ size8Icon: cyStatusRunningSimpleX8,
845
+ size12Icon: cyStatusRunningOutlineX12,
846
+ size16Icon: cyStatusFailingOutlineX16,
847
+ size24Icon: cyStatusFailingOutlineX24
848
+ },
849
+
850
+ passed: {
851
+ size4Icon: cyStatusPassedSimpleX4,
852
+ size8Icon: cyStatusPassedSimpleX8,
853
+ size12Icon: cyStatusPassedSimpleX12,
854
+ size16Icon: cyStatusPassedSolidX16,
855
+ size24Icon: cyStatusPassedSolidX24
856
+ },
857
+
858
+ failed: {
859
+ size4Icon: cyStatusFailedSimpleX4,
860
+ size8Icon: cyStatusFailedSimpleX8,
861
+ size12Icon: cyStatusFailedSimpleX12,
862
+ size16Icon: cyStatusFailedSolidX16,
863
+ size24Icon: cyStatusFailedSolidX24
864
+ },
865
+
866
+ unclaimed: {
867
+ size4Icon: cyStatusQueuedSimpleX4,
868
+ size8Icon: cyStatusQueuedSimpleX8,
869
+ size12Icon: cyStatusQueuedOutlineX12,
870
+ size16Icon: cyStatusQueuedOutlineX16,
871
+ size24Icon: cyStatusQueuedOutlineX24
872
+ },
873
+
874
+ placeholder: {
875
+ size4Icon: cyStatusPlaceholderSimpleX4,
876
+ size8Icon: cyStatusPlaceholderSimpleX8,
877
+ size12Icon: cyStatusPlaceholderSolidX12,
878
+ size16Icon: cyStatusPlaceholderSolidX16,
879
+ size24Icon: cyStatusPlaceholderSolidX24
880
+ },
881
+
882
+ cancelled: {
883
+ size4Icon: cyStatusCancelledSimpleX4,
884
+ size8Icon: cyStatusCancelledSimpleX8,
885
+ size12Icon: cyStatusCancelledSolidX12,
886
+ size16Icon: cyStatusCancelledSolidX16,
887
+ size24Icon: cyStatusCancelledSolidX24
888
+ },
889
+
890
+ noTests: {
891
+ size4Icon: cyStatusErroredSimpleX4,
892
+ size8Icon: cyStatusErroredSimpleX8,
893
+ size12Icon: cyStatusErroredSolidX12,
894
+ size16Icon: cyStatusErroredSolidX16,
895
+ size24Icon: cyStatusErroredSolidX24
896
+ },
897
+
898
+ errored: {
899
+ size4Icon: cyStatusErroredSimpleX4,
900
+ size8Icon: cyStatusErroredSimpleX8,
901
+ size12Icon: cyStatusErroredSolidX12,
902
+ size16Icon: cyStatusErroredSolidX16,
903
+ size24Icon: cyStatusErroredSolidX24
904
+ },
905
+
906
+ timedOut: {
907
+ size4Icon: cyStatusErroredSimpleX4,
908
+ size8Icon: cyStatusErroredSimpleX8,
909
+ size12Icon: cyStatusErroredSolidX12,
910
+ size16Icon: cyStatusErroredSolidX16,
911
+ size24Icon: cyStatusErroredSolidX24
912
+ },
913
+
914
+ overLimit: {
915
+ size4Icon: cyStatusErroredSimpleX4,
916
+ size8Icon: cyStatusErroredSimpleX8,
917
+ size12Icon: cyStatusErroredSolidX12,
918
+ size16Icon: cyStatusErroredSolidX16,
919
+ size24Icon: cyStatusErroredSolidX24
920
+ },
921
+
922
+ skipped: {
923
+ size4Icon: cyStatusSkippedSimpleX4,
924
+ size8Icon: cyStatusSkippedSimpleX8,
925
+ size12Icon: cyStatusSkippedOutlineX12,
926
+ size16Icon: cyStatusSkippedOutlineX16,
927
+ size24Icon: cyStatusSkippedOutlineX24
928
+ },
929
+
930
+ pending: {
931
+ size4Icon: cyStatusPendingSimpleX4,
932
+ size8Icon: cyStatusPendingSimpleX8,
933
+ size12Icon: cyStatusPendingOutlineX12,
934
+ size16Icon: cyStatusPendingOutlineX16,
935
+ size24Icon: cyStatusPendingOutlineX24
936
+ }
937
+ };
938
+
939
+ var solidImports = /*#__PURE__*/Object.freeze({
940
+ __proto__: null,
941
+ statuses: statuses
942
+ });
943
+
84
944
  var compileProps = function (_a) {
85
945
  var status = _a.status, statuses = _a.statuses, className = _a.className, size = _a.size, variantName = _a.variantName;
86
946
  var statusInfo = status ? statuses[status] : statuses.placeholder;
87
- var iconInfo = status ? constantsStatusicon.statuses[status] : constantsStatusicon.statuses.placeholder;
947
+ var iconInfo = status ? statuses$3[status] : statuses$3.placeholder;
88
948
  var iconData = statusInfo["size".concat(size, "Icon")].data;
89
949
  var classes = "inline-block ".concat(className || '');
90
950
  var compiledClasses = iconRegistry.getComponentAttributes({
@@ -105,7 +965,7 @@ var OutlineStatusIcon = function (_a) {
105
965
  var _b = _a.size, size = _b === void 0 ? '24' : _b, _c = _a.status, status = _c === void 0 ? 'placeholder' : _c, rest = __rest(_a, ["size", "status"]);
106
966
  return React__namespace.createElement('svg', __assign(__assign({}, rest), compileProps({
107
967
  status: status,
108
- statuses: constantsStatusicon.outline.statuses,
968
+ statuses: outlineImports.statuses,
109
969
  className: rest.className,
110
970
  size: size,
111
971
  variantName: 'outline',
@@ -116,7 +976,7 @@ var SimpleStatusIcon = function (_a) {
116
976
  var _b = _a.size, size = _b === void 0 ? '24' : _b, _c = _a.status, status = _c === void 0 ? 'placeholder' : _c, rest = __rest(_a, ["size", "status"]);
117
977
  return React__namespace.createElement('svg', __assign(__assign({}, rest), compileProps({
118
978
  status: status,
119
- statuses: constantsStatusicon.simple.statuses,
979
+ statuses: simpleImports.statuses,
120
980
  className: rest.className,
121
981
  size: size,
122
982
  variantName: 'simple',
@@ -127,7 +987,7 @@ var SolidStatusIcon = function (_a) {
127
987
  var _b = _a.size, size = _b === void 0 ? '24' : _b, _c = _a.status, status = _c === void 0 ? 'placeholder' : _c, rest = __rest(_a, ["size", "status"]);
128
988
  return React__namespace.createElement('svg', __assign(__assign({}, rest), compileProps({
129
989
  status: status,
130
- statuses: constantsStatusicon.solid.statuses,
990
+ statuses: solidImports.statuses,
131
991
  className: rest.className,
132
992
  size: size,
133
993
  variantName: 'solid',