@cypress-design/react-statusicon 0.2.5 → 0.3.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 +12 -0
- package/CHANGELOG.md +19 -0
- package/StatusIcon.tsx +3 -3
- package/StatusIconReact.cy.tsx +1 -1
- package/dist/constants.d.ts +7 -7
- package/dist/constants.d.ts.map +1 -1
- package/dist/index.es.mjs +63 -62
- package/dist/index.es.mjs.map +1 -1
- package/dist/index.umd.js +67 -67
- package/dist/index.umd.js.map +1 -1
- package/dist/react/StatusIcon.d.ts +1 -1
- package/dist/react/StatusIcon.d.ts.map +1 -1
- package/dist/react/{OutlineStatusIcon.d.ts → _OutlineStatusIcon.d.ts} +1 -1
- package/dist/react/_OutlineStatusIcon.d.ts.map +1 -0
- package/dist/react/{SimpleStatusIcon.d.ts → _SimpleStatusIcon.d.ts} +1 -1
- package/dist/react/_SimpleStatusIcon.d.ts.map +1 -0
- package/dist/react/{SolidStatusIcon.d.ts → _SolidStatusIcon.d.ts} +1 -1
- package/dist/react/_SolidStatusIcon.d.ts.map +1 -0
- package/dist/react/index.d.ts +3 -3
- package/dist/react/index.d.ts.map +1 -1
- package/index.ts +3 -3
- package/package.json +6 -3
- package/tsconfig.json +3 -0
- package/StatusIcon.stories.mdx +0 -134
- package/dist/react/OutlineStatusIcon.d.ts.map +0 -1
- package/dist/react/SimpleStatusIcon.d.ts.map +0 -1
- package/dist/react/SolidStatusIcon.d.ts.map +0 -1
- /package/{OutlineStatusIcon.ts → _OutlineStatusIcon.ts} +0 -0
- /package/{SimpleStatusIcon.ts → _SimpleStatusIcon.ts} +0 -0
- /package/{SolidStatusIcon.ts → _SolidStatusIcon.ts} +0 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
$ yarn build:module && yarn build:types
|
|
2
|
+
$ rollup -c ./rollup.config.mjs
|
|
3
|
+
[36m
|
|
4
|
+
[1m./index.ts[22m → [1m./dist/index.umd.js, ./dist/index.es.mjs[22m...[39m
|
|
5
|
+
[1m[33m(!) Mixing named and default exports[39m[22m
|
|
6
|
+
[90mhttps://rollupjs.org/configuration-options/#output-exports[39m
|
|
7
|
+
[1mThe following entry modules are using named and default exports together:[22m
|
|
8
|
+
index.ts
|
|
9
|
+
|
|
10
|
+
Consumers of your bundle will have to use chunk.default to access their default export, which may not be what you want. Use `output.exports: "named"` to disable this warning.
|
|
11
|
+
[32mcreated [1m./dist/index.umd.js, ./dist/index.es.mjs[22m in [1m28.4s[22m[39m
|
|
12
|
+
$ tsc --project ./tsconfig.build.json
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @cypress-design/react-statusicon
|
|
2
2
|
|
|
3
|
+
## 0.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#178](https://github.com/cypress-io/cypress-design/pull/178) [`d0de778`](https://github.com/cypress-io/cypress-design/commit/d0de77843adb87d8f4804219c6dca8f45b15c650) Thanks [@elevatebart](https://github.com/elevatebart)! - deliver new docs and improved components
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [[`18399c7`](https://github.com/cypress-io/cypress-design/commit/18399c72a52288c67af0935384430d4e4cd24251), [`d0de778`](https://github.com/cypress-io/cypress-design/commit/d0de77843adb87d8f4804219c6dca8f45b15c650)]:
|
|
12
|
+
- @cypress-design/react-icon@0.19.0
|
|
13
|
+
- @cypress-design/icon-registry@0.21.0
|
|
14
|
+
|
|
15
|
+
## 0.2.6
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Updated dependencies [[`d6fd350`](https://github.com/cypress-io/cypress-design/commit/d6fd350232984e5eff26c76ca29e235c58da0982)]:
|
|
20
|
+
- @cypress-design/react-icon@0.18.0
|
|
21
|
+
|
|
3
22
|
## 0.2.5
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
package/StatusIcon.tsx
CHANGED
|
@@ -2,9 +2,9 @@ import * as React from 'react'
|
|
|
2
2
|
import { SVGProps } from 'react'
|
|
3
3
|
import type { Variant, Size } from '../constants'
|
|
4
4
|
import { statuses } from '../constants'
|
|
5
|
-
import OutlineStatusIcon from './
|
|
6
|
-
import SimpleStatusIcon from './
|
|
7
|
-
import SolidStatusIcon from './
|
|
5
|
+
import OutlineStatusIcon from './_OutlineStatusIcon'
|
|
6
|
+
import SimpleStatusIcon from './_SimpleStatusIcon'
|
|
7
|
+
import SolidStatusIcon from './_SolidStatusIcon'
|
|
8
8
|
|
|
9
9
|
export type StatusIconProps = {
|
|
10
10
|
/**
|
package/StatusIconReact.cy.tsx
CHANGED
package/dist/constants.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import type { WindiColor } from '@cypress-design/icon-registry';
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
|
|
2
|
+
export type Variant = 'outline' | 'simple' | 'solid';
|
|
3
|
+
export type Size = '4' | '8' | '12' | '16' | '24';
|
|
4
|
+
type StatusInfo = {
|
|
5
5
|
color: WindiColor;
|
|
6
6
|
link?: string;
|
|
7
7
|
use: string;
|
|
8
8
|
variants: readonly Variant[];
|
|
9
9
|
secondaryColor?: WindiColor;
|
|
10
10
|
};
|
|
11
|
-
export
|
|
11
|
+
export type IconContents = {
|
|
12
12
|
name: string;
|
|
13
13
|
data: string;
|
|
14
14
|
};
|
|
15
|
-
export
|
|
15
|
+
export type IconSet = {
|
|
16
16
|
size4Icon: IconContents;
|
|
17
17
|
size8Icon: IconContents;
|
|
18
18
|
size12Icon: IconContents;
|
|
@@ -90,12 +90,12 @@ declare const constStatuses: {
|
|
|
90
90
|
readonly variants: readonly ["outline"];
|
|
91
91
|
};
|
|
92
92
|
};
|
|
93
|
-
export
|
|
93
|
+
export type statusTypes = keyof typeof constStatuses;
|
|
94
94
|
/**
|
|
95
95
|
* The status we have here, allow us to check the validity of the constant
|
|
96
96
|
*/
|
|
97
97
|
export declare const statuses: Record<statusTypes, StatusInfo>;
|
|
98
|
-
export
|
|
98
|
+
export type VariantStatusIconProps = {
|
|
99
99
|
size: Size;
|
|
100
100
|
/**
|
|
101
101
|
If there is no status provided, a placeholder icon will be shown
|
package/dist/constants.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAA;AAC/D,
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAA;AAC/D,MAAM,MAAM,OAAO,GAAG,SAAS,GAAG,QAAQ,GAAG,OAAO,CAAA;AACpD,MAAM,MAAM,IAAI,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AAEjD,KAAK,UAAU,GAAG;IAChB,KAAK,EAAE,UAAU,CAAA;IACjB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,GAAG,EAAE,MAAM,CAAA;IACX,QAAQ,EAAE,SAAS,OAAO,EAAE,CAAA;IAC5B,cAAc,CAAC,EAAE,UAAU,CAAA;CAC5B,CAAA;AAED,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;CACb,CAAA;AAED,MAAM,MAAM,OAAO,GAAG;IACpB,SAAS,EAAE,YAAY,CAAA;IACvB,SAAS,EAAE,YAAY,CAAA;IACvB,UAAU,EAAE,YAAY,CAAA;IACxB,UAAU,EAAE,YAAY,CAAA;IACxB,UAAU,EAAE,YAAY,CAAA;CACzB,CAAA;AAED;;GAEG;AACH,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgFT,CAAA;AAEV,MAAM,MAAM,WAAW,GAAG,MAAM,OAAO,aAAa,CAAA;AAEpD;;GAEG;AACH,eAAO,MAAM,QAAQ,EAAE,MAAM,CAAC,WAAW,EAAE,UAAU,CAAiB,CAAA;AAEtE,MAAM,MAAM,sBAAsB,GAAG;IACnC,IAAI,EAAE,IAAI,CAAA;IACV;;MAEE;IACF,MAAM,CAAC,EAAE,MAAM,OAAO,QAAQ,GAAG,IAAI,GAAG,SAAS,CAAA;CAClD,CAAA"}
|
package/dist/index.es.mjs
CHANGED
|
@@ -55,85 +55,85 @@ var statuses$3 = {
|
|
|
55
55
|
size8Icon: cyStatusRunningSimpleX8,
|
|
56
56
|
size12Icon: cyStatusRunningOutlineX12,
|
|
57
57
|
size16Icon: cyStatusRunningOutlineX16,
|
|
58
|
-
size24Icon: cyStatusRunningOutlineX24
|
|
58
|
+
size24Icon: cyStatusRunningOutlineX24,
|
|
59
59
|
},
|
|
60
60
|
passed: {
|
|
61
61
|
size4Icon: cyStatusPassedSimpleX4,
|
|
62
62
|
size8Icon: cyStatusPassedSimpleX8,
|
|
63
63
|
size12Icon: cyStatusPassedSimpleX12,
|
|
64
64
|
size16Icon: cyStatusPassedOutlineX16,
|
|
65
|
-
size24Icon: cyStatusPassedOutlineX24
|
|
65
|
+
size24Icon: cyStatusPassedOutlineX24,
|
|
66
66
|
},
|
|
67
67
|
failed: {
|
|
68
68
|
size4Icon: cyStatusFailedSimpleX4,
|
|
69
69
|
size8Icon: cyStatusFailedSimpleX8,
|
|
70
70
|
size12Icon: cyStatusFailedSimpleX12,
|
|
71
71
|
size16Icon: cyStatusFailedOutlineX16,
|
|
72
|
-
size24Icon: cyStatusFailedOutlineX24
|
|
72
|
+
size24Icon: cyStatusFailedOutlineX24,
|
|
73
73
|
},
|
|
74
74
|
unclaimed: {
|
|
75
75
|
size4Icon: cyStatusQueuedSimpleX4,
|
|
76
76
|
size8Icon: cyStatusQueuedSimpleX8,
|
|
77
77
|
size12Icon: cyStatusQueuedOutlineX12,
|
|
78
78
|
size16Icon: cyStatusQueuedOutlineX16,
|
|
79
|
-
size24Icon: cyStatusQueuedOutlineX24
|
|
79
|
+
size24Icon: cyStatusQueuedOutlineX24,
|
|
80
80
|
},
|
|
81
81
|
placeholder: {
|
|
82
82
|
size4Icon: cyStatusPlaceholderSimpleX4,
|
|
83
83
|
size8Icon: cyStatusPlaceholderSimpleX8,
|
|
84
84
|
size12Icon: cyStatusPlaceholderSolidX12,
|
|
85
85
|
size16Icon: cyStatusPlaceholderSolidX16,
|
|
86
|
-
size24Icon: cyStatusPlaceholderSolidX24
|
|
86
|
+
size24Icon: cyStatusPlaceholderSolidX24,
|
|
87
87
|
},
|
|
88
88
|
cancelled: {
|
|
89
89
|
size4Icon: cyStatusCancelledSimpleX4,
|
|
90
90
|
size8Icon: cyStatusCancelledSimpleX8,
|
|
91
91
|
size12Icon: cyStatusCancelledSolidX12,
|
|
92
92
|
size16Icon: cyStatusCancelledOutlineX16,
|
|
93
|
-
size24Icon: cyStatusCancelledOutlineX24
|
|
93
|
+
size24Icon: cyStatusCancelledOutlineX24,
|
|
94
94
|
},
|
|
95
95
|
noTests: {
|
|
96
96
|
size4Icon: cyStatusErroredSimpleX4,
|
|
97
97
|
size8Icon: cyStatusErroredSimpleX8,
|
|
98
98
|
size12Icon: cyStatusErroredSolidX12,
|
|
99
99
|
size16Icon: cyStatusErroredOutlineX16,
|
|
100
|
-
size24Icon: cyStatusErroredOutlineX24
|
|
100
|
+
size24Icon: cyStatusErroredOutlineX24,
|
|
101
101
|
},
|
|
102
102
|
errored: {
|
|
103
103
|
size4Icon: cyStatusErroredSimpleX4,
|
|
104
104
|
size8Icon: cyStatusErroredSimpleX8,
|
|
105
105
|
size12Icon: cyStatusErroredSolidX12,
|
|
106
106
|
size16Icon: cyStatusErroredOutlineX16,
|
|
107
|
-
size24Icon: cyStatusErroredOutlineX24
|
|
107
|
+
size24Icon: cyStatusErroredOutlineX24,
|
|
108
108
|
},
|
|
109
109
|
timedOut: {
|
|
110
110
|
size4Icon: cyStatusErroredSimpleX4,
|
|
111
111
|
size8Icon: cyStatusErroredSimpleX8,
|
|
112
112
|
size12Icon: cyStatusErroredSolidX12,
|
|
113
113
|
size16Icon: cyStatusErroredOutlineX16,
|
|
114
|
-
size24Icon: cyStatusErroredOutlineX24
|
|
114
|
+
size24Icon: cyStatusErroredOutlineX24,
|
|
115
115
|
},
|
|
116
116
|
overLimit: {
|
|
117
117
|
size4Icon: cyStatusErroredSimpleX4,
|
|
118
118
|
size8Icon: cyStatusErroredSimpleX8,
|
|
119
119
|
size12Icon: cyStatusErroredSolidX12,
|
|
120
120
|
size16Icon: cyStatusErroredOutlineX16,
|
|
121
|
-
size24Icon: cyStatusErroredOutlineX24
|
|
121
|
+
size24Icon: cyStatusErroredOutlineX24,
|
|
122
122
|
},
|
|
123
123
|
skipped: {
|
|
124
124
|
size4Icon: cyStatusSkippedSimpleX4,
|
|
125
125
|
size8Icon: cyStatusSkippedSimpleX8,
|
|
126
126
|
size12Icon: cyStatusSkippedOutlineX12,
|
|
127
127
|
size16Icon: cyStatusSkippedOutlineX16,
|
|
128
|
-
size24Icon: cyStatusSkippedOutlineX24
|
|
128
|
+
size24Icon: cyStatusSkippedOutlineX24,
|
|
129
129
|
},
|
|
130
130
|
pending: {
|
|
131
131
|
size4Icon: cyStatusPendingSimpleX4,
|
|
132
132
|
size8Icon: cyStatusPendingSimpleX8,
|
|
133
133
|
size12Icon: cyStatusPendingOutlineX12,
|
|
134
134
|
size16Icon: cyStatusPendingOutlineX16,
|
|
135
|
-
size24Icon: cyStatusPendingOutlineX24
|
|
136
|
-
}
|
|
135
|
+
size24Icon: cyStatusPendingOutlineX24,
|
|
136
|
+
},
|
|
137
137
|
};
|
|
138
138
|
|
|
139
139
|
/**
|
|
@@ -146,79 +146,79 @@ var constStatuses = {
|
|
|
146
146
|
use: 'Runs, specs, groups, test results',
|
|
147
147
|
variants: ['outline'],
|
|
148
148
|
// <tw-keep fillColor="gray-100" />
|
|
149
|
-
secondaryColor: 'gray-100'
|
|
149
|
+
secondaryColor: 'gray-100',
|
|
150
150
|
},
|
|
151
151
|
passed: {
|
|
152
152
|
// <tw-keep strokeColor="jade-400" />
|
|
153
153
|
color: 'jade-400',
|
|
154
154
|
use: 'Runs, specs, groups, test results',
|
|
155
155
|
link: 'https://docs.cypress.io/guides/core-concepts/writing-and-organizing-tests#Passed',
|
|
156
|
-
variants: ['outline', 'simple', 'solid']
|
|
156
|
+
variants: ['outline', 'simple', 'solid'],
|
|
157
157
|
},
|
|
158
158
|
failed: {
|
|
159
159
|
// <tw-keep strokeColor="red-400" />
|
|
160
160
|
color: 'red-400',
|
|
161
161
|
use: 'Runs, specs, groups, test results',
|
|
162
162
|
link: 'https://docs.cypress.io/guides/core-concepts/writing-and-organizing-tests#Failed',
|
|
163
|
-
variants: ['outline', 'simple', 'solid']
|
|
163
|
+
variants: ['outline', 'simple', 'solid'],
|
|
164
164
|
},
|
|
165
165
|
unclaimed: {
|
|
166
166
|
// <tw-keep strokeColor="gray-100" />
|
|
167
167
|
color: 'gray-100',
|
|
168
168
|
use: 'Specs',
|
|
169
|
-
variants: ['outline']
|
|
169
|
+
variants: ['outline'],
|
|
170
170
|
},
|
|
171
171
|
placeholder: {
|
|
172
172
|
// <tw-keep strokeColor="gray-300" />
|
|
173
173
|
color: 'gray-300',
|
|
174
174
|
use: 'Placeholder',
|
|
175
|
-
variants: ['solid']
|
|
175
|
+
variants: ['solid'],
|
|
176
176
|
},
|
|
177
177
|
cancelled: {
|
|
178
178
|
// <tw-keep strokeColor="gray-300" />
|
|
179
179
|
color: 'gray-300',
|
|
180
180
|
use: 'Runs, specs, groups, test results',
|
|
181
|
-
variants: ['outline', 'solid']
|
|
181
|
+
variants: ['outline', 'solid'],
|
|
182
182
|
},
|
|
183
183
|
noTests: {
|
|
184
184
|
// <tw-keep strokeColor="orange-400" />
|
|
185
185
|
color: 'orange-400',
|
|
186
186
|
use: 'Runs, specs, groups',
|
|
187
|
-
variants: ['outline', 'solid']
|
|
187
|
+
variants: ['outline', 'solid'],
|
|
188
188
|
},
|
|
189
189
|
errored: {
|
|
190
190
|
// <tw-keep strokeColor="orange-400" />
|
|
191
191
|
color: 'orange-400',
|
|
192
192
|
use: 'Runs, specs, groups, test results',
|
|
193
|
-
variants: ['outline', 'solid']
|
|
193
|
+
variants: ['outline', 'solid'],
|
|
194
194
|
},
|
|
195
195
|
timedOut: {
|
|
196
196
|
// <tw-keep strokeColor="orange-400" />
|
|
197
197
|
color: 'orange-400',
|
|
198
198
|
use: 'Runs, specs, groups, test results',
|
|
199
|
-
variants: ['outline', 'solid']
|
|
199
|
+
variants: ['outline', 'solid'],
|
|
200
200
|
},
|
|
201
201
|
overLimit: {
|
|
202
202
|
// <tw-keep strokeColor="orange-400" />
|
|
203
203
|
color: 'orange-400',
|
|
204
204
|
use: 'Runs, specs, groups',
|
|
205
205
|
link: 'https://docs.cypress.io/faq/questions/dashboard-faq#What-happens-once-I-reach-the-test-results-limit',
|
|
206
|
-
variants: ['outline', 'solid']
|
|
206
|
+
variants: ['outline', 'solid'],
|
|
207
207
|
},
|
|
208
208
|
skipped: {
|
|
209
209
|
// <tw-keep strokeColor="gray-400" />
|
|
210
210
|
color: 'gray-400',
|
|
211
211
|
use: 'Test results',
|
|
212
212
|
link: 'https://docs.cypress.io/guides/core-concepts/writing-and-organizing-tests#Skipped',
|
|
213
|
-
variants: ['outline']
|
|
213
|
+
variants: ['outline'],
|
|
214
214
|
},
|
|
215
215
|
pending: {
|
|
216
216
|
// <tw-keep strokeColor="gray-300" />
|
|
217
217
|
color: 'gray-300',
|
|
218
218
|
use: 'Test results',
|
|
219
219
|
link: 'https://docs.cypress.io/guides/core-concepts/writing-and-organizing-tests#Pending',
|
|
220
|
-
variants: ['outline']
|
|
221
|
-
}
|
|
220
|
+
variants: ['outline'],
|
|
221
|
+
},
|
|
222
222
|
};
|
|
223
223
|
/**
|
|
224
224
|
* The status we have here, allow us to check the validity of the constant
|
|
@@ -272,8 +272,8 @@ var compileReactIconProperties = function (_a) {
|
|
|
272
272
|
}
|
|
273
273
|
return newAttributes;
|
|
274
274
|
}, {});
|
|
275
|
-
var componentProps = __assign({ width: size, height: size, viewBox: "0 0 "
|
|
276
|
-
__html: body
|
|
275
|
+
var componentProps = __assign({ width: size, height: size, viewBox: "0 0 ".concat(size, " ").concat(size), fill: 'none', dangerouslySetInnerHTML: {
|
|
276
|
+
__html: body,
|
|
277
277
|
} }, filteredAttributes);
|
|
278
278
|
if (attributes.className) {
|
|
279
279
|
compiledClasses.push(attributes.className);
|
|
@@ -284,25 +284,26 @@ var compileReactIconProperties = function (_a) {
|
|
|
284
284
|
return componentProps;
|
|
285
285
|
};
|
|
286
286
|
|
|
287
|
+
|
|
287
288
|
/* <windicss-keep class=""> */
|
|
288
289
|
|
|
289
290
|
var compileProps = function (_a) {
|
|
290
291
|
var status = _a.status, statuses = _a.statuses, className = _a.className, size = _a.size;
|
|
291
292
|
var statusInfo = status ? statuses[status] : statuses.placeholder;
|
|
292
293
|
var iconInfo = status ? statuses$2[status] : statuses$2.placeholder;
|
|
293
|
-
var _b = statusInfo["size"
|
|
294
|
-
var classes = "inline-block "
|
|
294
|
+
var _b = statusInfo["size".concat(size, "Icon")], iconData = _b.data, name = _b.name;
|
|
295
|
+
var classes = "inline-block ".concat(className || '');
|
|
295
296
|
var compiledClasses = getComponentAttributes({
|
|
296
297
|
name: name,
|
|
297
298
|
strokeColor: iconInfo.color,
|
|
298
299
|
size: size,
|
|
299
300
|
availableSizes: [size],
|
|
300
|
-
fillColor: iconInfo.secondaryColor
|
|
301
|
+
fillColor: iconInfo.secondaryColor,
|
|
301
302
|
}).compiledClasses;
|
|
302
303
|
return compileReactIconProperties({
|
|
303
304
|
body: iconData,
|
|
304
305
|
compiledClasses: __spreadArray(__spreadArray([], compiledClasses, true), [classes], false),
|
|
305
|
-
size: size
|
|
306
|
+
size: size,
|
|
306
307
|
});
|
|
307
308
|
};
|
|
308
309
|
|
|
@@ -312,7 +313,7 @@ var OutlineStatusIcon = function (_a) {
|
|
|
312
313
|
status: status,
|
|
313
314
|
statuses: statuses$3,
|
|
314
315
|
className: rest.className,
|
|
315
|
-
size: size
|
|
316
|
+
size: size,
|
|
316
317
|
})));
|
|
317
318
|
};
|
|
318
319
|
|
|
@@ -322,85 +323,85 @@ var statuses$1 = {
|
|
|
322
323
|
size8Icon: cyStatusRunningSimpleX8,
|
|
323
324
|
size12Icon: cyStatusRunningOutlineX12,
|
|
324
325
|
size16Icon: cyStatusRunningOutlineX16,
|
|
325
|
-
size24Icon: cyStatusRunningOutlineX24
|
|
326
|
+
size24Icon: cyStatusRunningOutlineX24,
|
|
326
327
|
},
|
|
327
328
|
passed: {
|
|
328
329
|
size4Icon: cyStatusPassedSimpleX4,
|
|
329
330
|
size8Icon: cyStatusPassedSimpleX8,
|
|
330
331
|
size12Icon: cyStatusPassedSimpleX12,
|
|
331
332
|
size16Icon: cyStatusPassedSimpleX16,
|
|
332
|
-
size24Icon: cyStatusPassedSimpleX24
|
|
333
|
+
size24Icon: cyStatusPassedSimpleX24,
|
|
333
334
|
},
|
|
334
335
|
failed: {
|
|
335
336
|
size4Icon: cyStatusFailedSimpleX4,
|
|
336
337
|
size8Icon: cyStatusFailedSimpleX8,
|
|
337
338
|
size12Icon: cyStatusFailedSimpleX12,
|
|
338
339
|
size16Icon: cyStatusFailedSimpleX16,
|
|
339
|
-
size24Icon: cyStatusFailedSimpleX24
|
|
340
|
+
size24Icon: cyStatusFailedSimpleX24,
|
|
340
341
|
},
|
|
341
342
|
unclaimed: {
|
|
342
343
|
size4Icon: cyStatusQueuedSimpleX4,
|
|
343
344
|
size8Icon: cyStatusQueuedSimpleX8,
|
|
344
345
|
size12Icon: cyStatusQueuedOutlineX12,
|
|
345
346
|
size16Icon: cyStatusQueuedOutlineX16,
|
|
346
|
-
size24Icon: cyStatusQueuedOutlineX24
|
|
347
|
+
size24Icon: cyStatusQueuedOutlineX24,
|
|
347
348
|
},
|
|
348
349
|
placeholder: {
|
|
349
350
|
size4Icon: cyStatusPlaceholderSimpleX4,
|
|
350
351
|
size8Icon: cyStatusPlaceholderSimpleX8,
|
|
351
352
|
size12Icon: cyStatusPlaceholderSolidX12,
|
|
352
353
|
size16Icon: cyStatusPlaceholderSolidX16,
|
|
353
|
-
size24Icon: cyStatusPlaceholderSolidX24
|
|
354
|
+
size24Icon: cyStatusPlaceholderSolidX24,
|
|
354
355
|
},
|
|
355
356
|
cancelled: {
|
|
356
357
|
size4Icon: cyStatusCancelledSimpleX4,
|
|
357
358
|
size8Icon: cyStatusCancelledSimpleX8,
|
|
358
359
|
size12Icon: cyStatusCancelledSolidX12,
|
|
359
360
|
size16Icon: cyStatusCancelledSolidX16,
|
|
360
|
-
size24Icon: cyStatusCancelledSolidX24
|
|
361
|
+
size24Icon: cyStatusCancelledSolidX24,
|
|
361
362
|
},
|
|
362
363
|
noTests: {
|
|
363
364
|
size4Icon: cyStatusErroredSimpleX4,
|
|
364
365
|
size8Icon: cyStatusErroredSimpleX8,
|
|
365
366
|
size12Icon: cyStatusErroredSolidX12,
|
|
366
367
|
size16Icon: cyStatusErroredSolidX16,
|
|
367
|
-
size24Icon: cyStatusErroredSolidX24
|
|
368
|
+
size24Icon: cyStatusErroredSolidX24,
|
|
368
369
|
},
|
|
369
370
|
errored: {
|
|
370
371
|
size4Icon: cyStatusErroredSimpleX4,
|
|
371
372
|
size8Icon: cyStatusErroredSimpleX8,
|
|
372
373
|
size12Icon: cyStatusErroredSolidX12,
|
|
373
374
|
size16Icon: cyStatusErroredSolidX16,
|
|
374
|
-
size24Icon: cyStatusErroredSolidX24
|
|
375
|
+
size24Icon: cyStatusErroredSolidX24,
|
|
375
376
|
},
|
|
376
377
|
timedOut: {
|
|
377
378
|
size4Icon: cyStatusErroredSimpleX4,
|
|
378
379
|
size8Icon: cyStatusErroredSimpleX8,
|
|
379
380
|
size12Icon: cyStatusErroredSolidX12,
|
|
380
381
|
size16Icon: cyStatusErroredSolidX16,
|
|
381
|
-
size24Icon: cyStatusErroredSolidX24
|
|
382
|
+
size24Icon: cyStatusErroredSolidX24,
|
|
382
383
|
},
|
|
383
384
|
overLimit: {
|
|
384
385
|
size4Icon: cyStatusErroredSimpleX4,
|
|
385
386
|
size8Icon: cyStatusErroredSimpleX8,
|
|
386
387
|
size12Icon: cyStatusErroredSolidX12,
|
|
387
388
|
size16Icon: cyStatusErroredSolidX16,
|
|
388
|
-
size24Icon: cyStatusErroredSolidX24
|
|
389
|
+
size24Icon: cyStatusErroredSolidX24,
|
|
389
390
|
},
|
|
390
391
|
skipped: {
|
|
391
392
|
size4Icon: cyStatusSkippedSimpleX4,
|
|
392
393
|
size8Icon: cyStatusSkippedSimpleX8,
|
|
393
394
|
size12Icon: cyStatusSkippedOutlineX12,
|
|
394
395
|
size16Icon: cyStatusSkippedOutlineX16,
|
|
395
|
-
size24Icon: cyStatusSkippedOutlineX24
|
|
396
|
+
size24Icon: cyStatusSkippedOutlineX24,
|
|
396
397
|
},
|
|
397
398
|
pending: {
|
|
398
399
|
size4Icon: cyStatusPendingSimpleX4,
|
|
399
400
|
size8Icon: cyStatusPendingSimpleX8,
|
|
400
401
|
size12Icon: cyStatusPendingOutlineX12,
|
|
401
402
|
size16Icon: cyStatusPendingOutlineX16,
|
|
402
|
-
size24Icon: cyStatusPendingOutlineX24
|
|
403
|
-
}
|
|
403
|
+
size24Icon: cyStatusPendingOutlineX24,
|
|
404
|
+
},
|
|
404
405
|
};
|
|
405
406
|
|
|
406
407
|
var SimpleStatusIcon = function (_a) {
|
|
@@ -409,7 +410,7 @@ var SimpleStatusIcon = function (_a) {
|
|
|
409
410
|
status: status,
|
|
410
411
|
statuses: statuses$1,
|
|
411
412
|
className: rest.className,
|
|
412
|
-
size: size
|
|
413
|
+
size: size,
|
|
413
414
|
})));
|
|
414
415
|
};
|
|
415
416
|
|
|
@@ -419,85 +420,85 @@ var statuses = {
|
|
|
419
420
|
size8Icon: cyStatusRunningSimpleX8,
|
|
420
421
|
size12Icon: cyStatusRunningOutlineX12,
|
|
421
422
|
size16Icon: cyStatusRunningOutlineX16,
|
|
422
|
-
size24Icon: cyStatusRunningOutlineX24
|
|
423
|
+
size24Icon: cyStatusRunningOutlineX24,
|
|
423
424
|
},
|
|
424
425
|
passed: {
|
|
425
426
|
size4Icon: cyStatusPassedSimpleX4,
|
|
426
427
|
size8Icon: cyStatusPassedSimpleX8,
|
|
427
428
|
size12Icon: cyStatusPassedSimpleX12,
|
|
428
429
|
size16Icon: cyStatusPassedSolidX16,
|
|
429
|
-
size24Icon: cyStatusPassedSolidX24
|
|
430
|
+
size24Icon: cyStatusPassedSolidX24,
|
|
430
431
|
},
|
|
431
432
|
failed: {
|
|
432
433
|
size4Icon: cyStatusFailedSimpleX4,
|
|
433
434
|
size8Icon: cyStatusFailedSimpleX8,
|
|
434
435
|
size12Icon: cyStatusFailedSimpleX12,
|
|
435
436
|
size16Icon: cyStatusFailedSolidX16,
|
|
436
|
-
size24Icon: cyStatusFailedSolidX24
|
|
437
|
+
size24Icon: cyStatusFailedSolidX24,
|
|
437
438
|
},
|
|
438
439
|
unclaimed: {
|
|
439
440
|
size4Icon: cyStatusQueuedSimpleX4,
|
|
440
441
|
size8Icon: cyStatusQueuedSimpleX8,
|
|
441
442
|
size12Icon: cyStatusQueuedOutlineX12,
|
|
442
443
|
size16Icon: cyStatusQueuedOutlineX16,
|
|
443
|
-
size24Icon: cyStatusQueuedOutlineX24
|
|
444
|
+
size24Icon: cyStatusQueuedOutlineX24,
|
|
444
445
|
},
|
|
445
446
|
placeholder: {
|
|
446
447
|
size4Icon: cyStatusPlaceholderSimpleX4,
|
|
447
448
|
size8Icon: cyStatusPlaceholderSimpleX8,
|
|
448
449
|
size12Icon: cyStatusPlaceholderSolidX12,
|
|
449
450
|
size16Icon: cyStatusPlaceholderSolidX16,
|
|
450
|
-
size24Icon: cyStatusPlaceholderSolidX24
|
|
451
|
+
size24Icon: cyStatusPlaceholderSolidX24,
|
|
451
452
|
},
|
|
452
453
|
cancelled: {
|
|
453
454
|
size4Icon: cyStatusCancelledSimpleX4,
|
|
454
455
|
size8Icon: cyStatusCancelledSimpleX8,
|
|
455
456
|
size12Icon: cyStatusCancelledSolidX12,
|
|
456
457
|
size16Icon: cyStatusCancelledSolidX16,
|
|
457
|
-
size24Icon: cyStatusCancelledSolidX24
|
|
458
|
+
size24Icon: cyStatusCancelledSolidX24,
|
|
458
459
|
},
|
|
459
460
|
noTests: {
|
|
460
461
|
size4Icon: cyStatusErroredSimpleX4,
|
|
461
462
|
size8Icon: cyStatusErroredSimpleX8,
|
|
462
463
|
size12Icon: cyStatusErroredSolidX12,
|
|
463
464
|
size16Icon: cyStatusErroredSolidX16,
|
|
464
|
-
size24Icon: cyStatusErroredSolidX24
|
|
465
|
+
size24Icon: cyStatusErroredSolidX24,
|
|
465
466
|
},
|
|
466
467
|
errored: {
|
|
467
468
|
size4Icon: cyStatusErroredSimpleX4,
|
|
468
469
|
size8Icon: cyStatusErroredSimpleX8,
|
|
469
470
|
size12Icon: cyStatusErroredSolidX12,
|
|
470
471
|
size16Icon: cyStatusErroredSolidX16,
|
|
471
|
-
size24Icon: cyStatusErroredSolidX24
|
|
472
|
+
size24Icon: cyStatusErroredSolidX24,
|
|
472
473
|
},
|
|
473
474
|
timedOut: {
|
|
474
475
|
size4Icon: cyStatusErroredSimpleX4,
|
|
475
476
|
size8Icon: cyStatusErroredSimpleX8,
|
|
476
477
|
size12Icon: cyStatusErroredSolidX12,
|
|
477
478
|
size16Icon: cyStatusErroredSolidX16,
|
|
478
|
-
size24Icon: cyStatusErroredSolidX24
|
|
479
|
+
size24Icon: cyStatusErroredSolidX24,
|
|
479
480
|
},
|
|
480
481
|
overLimit: {
|
|
481
482
|
size4Icon: cyStatusErroredSimpleX4,
|
|
482
483
|
size8Icon: cyStatusErroredSimpleX8,
|
|
483
484
|
size12Icon: cyStatusErroredSolidX12,
|
|
484
485
|
size16Icon: cyStatusErroredSolidX16,
|
|
485
|
-
size24Icon: cyStatusErroredSolidX24
|
|
486
|
+
size24Icon: cyStatusErroredSolidX24,
|
|
486
487
|
},
|
|
487
488
|
skipped: {
|
|
488
489
|
size4Icon: cyStatusSkippedSimpleX4,
|
|
489
490
|
size8Icon: cyStatusSkippedSimpleX8,
|
|
490
491
|
size12Icon: cyStatusSkippedOutlineX12,
|
|
491
492
|
size16Icon: cyStatusSkippedOutlineX16,
|
|
492
|
-
size24Icon: cyStatusSkippedOutlineX24
|
|
493
|
+
size24Icon: cyStatusSkippedOutlineX24,
|
|
493
494
|
},
|
|
494
495
|
pending: {
|
|
495
496
|
size4Icon: cyStatusPendingSimpleX4,
|
|
496
497
|
size8Icon: cyStatusPendingSimpleX8,
|
|
497
498
|
size12Icon: cyStatusPendingOutlineX12,
|
|
498
499
|
size16Icon: cyStatusPendingOutlineX16,
|
|
499
|
-
size24Icon: cyStatusPendingOutlineX24
|
|
500
|
-
}
|
|
500
|
+
size24Icon: cyStatusPendingOutlineX24,
|
|
501
|
+
},
|
|
501
502
|
};
|
|
502
503
|
|
|
503
504
|
var SolidStatusIcon = function (_a) {
|
|
@@ -506,7 +507,7 @@ var SolidStatusIcon = function (_a) {
|
|
|
506
507
|
status: status,
|
|
507
508
|
statuses: statuses,
|
|
508
509
|
className: rest.className,
|
|
509
|
-
size: size
|
|
510
|
+
size: size,
|
|
510
511
|
})));
|
|
511
512
|
};
|
|
512
513
|
|
|
@@ -522,6 +523,6 @@ var StatusIcon = function (_a) {
|
|
|
522
523
|
};
|
|
523
524
|
|
|
524
525
|
export { OutlineStatusIcon, SimpleStatusIcon, SolidStatusIcon, StatusIcon as default };
|
|
526
|
+
//# sourceMappingURL=index.es.mjs.map
|
|
525
527
|
|
|
526
528
|
/* <windicss-keep class="outline inline-block icon-dark-indigo-400 icon-light-gray-100 icon-dark-jade-400 icon-dark-red-400 icon-dark-gray-100 icon-dark-gray-300 icon-dark-orange-400 icon-dark-gray-400"> */
|
|
527
|
-
//# sourceMappingURL=index.es.mjs.map
|