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