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