@cypress-design/react-statusicon 0.2.3 → 0.2.5
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/CHANGELOG.md +18 -0
- package/StatusIcon.rootstory.tsx +1 -1
- package/StatusIconReact.cy.tsx +5 -4
- package/dist/index.es.mjs +13 -13
- package/dist/index.es.mjs.map +1 -1
- package/dist/index.umd.js +13 -13
- package/dist/index.umd.js.map +1 -1
- package/package.json +26 -26
- package/rollup.config.mjs +3 -0
- package/rollup.config.js +0 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @cypress-design/react-statusicon
|
|
2
2
|
|
|
3
|
+
## 0.2.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#164](https://github.com/cypress-io/cypress-design/pull/164) [`4fd951a`](https://github.com/cypress-io/cypress-design/commit/4fd951a39335900da2508beef9b3565a6f8f9518) Thanks [@elevatebart](https://github.com/elevatebart)! - fix: update active buttons borders
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`4fd951a`](https://github.com/cypress-io/cypress-design/commit/4fd951a39335900da2508beef9b3565a6f8f9518), [`6f83f1a`](https://github.com/cypress-io/cypress-design/commit/6f83f1a427fc536d3dd7f8ad2e907716e6c7f833)]:
|
|
10
|
+
- @cypress-design/react-icon@0.17.2
|
|
11
|
+
- @cypress-design/icon-registry@0.20.2
|
|
12
|
+
|
|
13
|
+
## 0.2.4
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Updated dependencies [[`106b61a`](https://github.com/cypress-io/cypress-design/commit/106b61a97888f956a4c9d235fde5efb4243e1445), [`7b4f416`](https://github.com/cypress-io/cypress-design/commit/7b4f4162a0d150aa8cab7ec239faebb58c39464d)]:
|
|
18
|
+
- @cypress-design/icon-registry@0.20.0
|
|
19
|
+
- @cypress-design/react-icon@0.17.0
|
|
20
|
+
|
|
3
21
|
## 0.2.3
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
package/StatusIcon.rootstory.tsx
CHANGED
package/StatusIconReact.cy.tsx
CHANGED
|
@@ -6,10 +6,6 @@ import StatusIcon from './StatusIcon'
|
|
|
6
6
|
import StatusIconStory from './StatusIcon.rootstory'
|
|
7
7
|
|
|
8
8
|
describe('StatusIcon', () => {
|
|
9
|
-
it('renders', () => {
|
|
10
|
-
mount(<StatusIconStory />)
|
|
11
|
-
})
|
|
12
|
-
|
|
13
9
|
it('defaults to a variant that exists if the one provided does not exist', () => {
|
|
14
10
|
mount(
|
|
15
11
|
<div>
|
|
@@ -54,4 +50,9 @@ describe('StatusIcon', () => {
|
|
|
54
50
|
expect(this.firstIcon).to.eq(this.secondIcon)
|
|
55
51
|
})
|
|
56
52
|
})
|
|
53
|
+
|
|
54
|
+
it('renders', () => {
|
|
55
|
+
mount(<StatusIconStory />)
|
|
56
|
+
cy.percySnapshot()
|
|
57
|
+
})
|
|
57
58
|
})
|
package/dist/index.es.mjs
CHANGED
|
@@ -141,79 +141,79 @@ var statuses$3 = {
|
|
|
141
141
|
*/
|
|
142
142
|
var constStatuses = {
|
|
143
143
|
running: {
|
|
144
|
-
// <
|
|
144
|
+
// <tw-keep strokeColor="indigo-400" />
|
|
145
145
|
color: 'indigo-400',
|
|
146
146
|
use: 'Runs, specs, groups, test results',
|
|
147
147
|
variants: ['outline'],
|
|
148
|
-
// <
|
|
148
|
+
// <tw-keep fillColor="gray-100" />
|
|
149
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
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
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
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
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
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
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
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
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
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
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',
|