1
1
// Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
3
- exports [` Badge should have the correct circle styles 1` ] = `
3
+ exports [` Badge rendering color variations should render with danger colors 1` ] = `
4
4
.circuit-0 {
5
+ border - radius : 100px ;
6
+ color : #FFFFFF ;
7
+ cursor : default ;
8
+ padding : 0 8px ;
9
+ font - size : 12px ;
10
+ line - height : 20px ;
11
+ text - transform : uppercase ;
12
+ - webkit - user - select : none ;
13
+ - moz - user - select : none ;
14
+ - ms - user - select : none ;
15
+ user - select : none ;
5
16
background - color : #FF7559 ;
17
+ }
18
+
19
+ <div
20
+ className = " circuit-0 circuit-1"
21
+ color = " danger"
22
+ />
23
+ ` ;
24
+
25
+ exports [` Badge rendering color variations should render with primary colors 1` ] = `
26
+ .circuit-0 {
27
+ border - radius : 100px ;
28
+ color : #FFFFFF ;
29
+ cursor : default ;
30
+ padding : 0 8px ;
31
+ font - size : 12px ;
32
+ line - height : 20px ;
33
+ text - transform : uppercase ;
34
+ - webkit - user - select : none ;
35
+ - moz - user - select : none ;
36
+ - ms - user - select : none ;
37
+ user - select : none ;
38
+ background - color : #3388FF ;
39
+ }
40
+
41
+ <div
42
+ className = " circuit-0 circuit-1"
43
+ color = " primary"
44
+ />
45
+ ` ;
46
+
47
+ exports [` Badge rendering color variations should render with success colors 1` ] = `
48
+ .circuit-0 {
49
+ border - radius : 100px ;
50
+ color : #FFFFFF ;
51
+ cursor : default ;
52
+ padding : 0 8px ;
53
+ font - size : 12px ;
54
+ line - height : 20px ;
55
+ text - transform : uppercase ;
56
+ - webkit - user - select : none ;
57
+ - moz - user - select : none ;
58
+ - ms - user - select : none ;
59
+ user - select : none ;
60
+ background - color : #62DE76 ;
61
+ }
62
+
63
+ <div
64
+ className = " circuit-0 circuit-1"
65
+ color = " success"
66
+ />
67
+ ` ;
68
+
69
+ exports [` Badge rendering color variations should render with warning colors 1` ] = `
70
+ .circuit-0 {
71
+ border - radius : 100px ;
72
+ color : #FFFFFF ;
73
+ cursor : default ;
74
+ padding : 0 8px ;
75
+ font - size : 12px ;
76
+ line - height : 20px ;
77
+ text - transform : uppercase ;
78
+ - webkit - user - select : none ;
79
+ - moz - user - select : none ;
80
+ - ms - user - select : none ;
81
+ user - select : none ;
82
+ background - color : #FFC859 ;
83
+ }
84
+
85
+ <div
86
+ className = " circuit-0 circuit-1"
87
+ color = " warning"
88
+ />
89
+ ` ;
90
+
91
+ exports [` Badge should have hover/active styles only when the onClick handler is provided 1` ] = `
92
+ .circuit-0 {
93
+ border - radius : 100px ;
94
+ color : #FFFFFF ;
95
+ cursor : pointer ;
96
+ padding : 0 8px ;
97
+ font - size : 12px ;
98
+ line - height : 20px ;
99
+ text - transform : uppercase ;
100
+ - webkit - user - select : none ;
101
+ - moz - user - select : none ;
102
+ - ms - user - select : none ;
103
+ user - select : none ;
104
+ background - color : #9DA7B1 ;
105
+ }
106
+
107
+ .circuit-0:hover {
108
+ background - color : #5C656F ;
109
+ }
110
+
111
+ .circuit-0:active {
112
+ background - color : #212933 ;
113
+ }
114
+
115
+ <div
116
+ className = " circuit-0 circuit-1"
117
+ color = " neutral"
118
+ onClick = { [Function ]}
119
+ />
120
+ ` ;
121
+
122
+ exports [` Badge should have the correct circle styles 1` ] = `
123
+ .circuit-0 {
6
124
border - radius : 100px ;
7
125
color : #FFFFFF ;
8
126
cursor : default ;
@@ -14,6 +132,7 @@ exports[`Badge should have the correct circle styles 1`] = `
14
132
- moz - user - select : none ;
15
133
- ms - user - select : none ;
16
134
user - select : none ;
135
+ background - color : #9DA7B1 ;
17
136
display : - webkit - box ;
18
137
display : - webkit - flex ;
19
138
display : - ms - flexbox ;
@@ -30,23 +149,14 @@ exports[`Badge should have the correct circle styles 1`] = `
30
149
width : 24px ;
31
150
}
32
151
33
- .circuit-0:hover {
34
- background - color : #D55A41 ;
35
- }
36
-
37
- .circuit-0:active {
38
- background - color : #A73D28 ;
39
- }
40
-
41
152
<div
42
153
className = " circuit-0 circuit-1"
43
- onClick = { [ Function ] }
154
+ color = " neutral "
44
155
/>
45
156
` ;
46
157
47
158
exports [` Badge should render with default styles 1` ] = `
48
159
.circuit-0 {
49
- background - color : #FF7559 ;
50
160
border - radius : 100px ;
51
161
color : #FFFFFF ;
52
162
cursor : default ;
@@ -58,18 +168,11 @@ exports[`Badge should render with default styles 1`] = `
58
168
- moz - user - select : none ;
59
169
- ms - user - select : none ;
60
170
user - select : none ;
61
- }
62
-
63
- .circuit-0:hover {
64
- background - color : #D55A41 ;
65
- }
66
-
67
- .circuit-0:active {
68
- background - color : #A73D28 ;
171
+ background - color : #9DA7B1 ;
69
172
}
70
173
71
174
<div
72
175
className = " circuit-0 circuit-1"
73
- onClick = { [ Function ] }
176
+ color = " neutral "
74
177
/>
75
178
` ;
0 commit comments