@rescui/checkbox 0.1.0 → 0.2.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/lib/index.css +123 -123
- package/lib/parts/checkbox.module.pcss.js +19 -19
- package/lib/parts/group-context.js +1 -1
- package/package.json +6 -6
package/lib/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._checkbox_15les2f_10{
|
|
2
2
|
display:inline-block;
|
|
3
3
|
outline:none;
|
|
4
4
|
text-align:left;
|
|
@@ -6,22 +6,22 @@
|
|
|
6
6
|
box-sizing:border-box;
|
|
7
7
|
position:relative;
|
|
8
8
|
}
|
|
9
|
-
.
|
|
9
|
+
._sizeS_15les2f_18{
|
|
10
10
|
padding:3px;
|
|
11
11
|
width:20px;
|
|
12
12
|
height:20px;
|
|
13
13
|
}
|
|
14
|
-
.
|
|
14
|
+
._sizeM_15les2f_24{
|
|
15
15
|
padding:3px;
|
|
16
16
|
width:24px;
|
|
17
17
|
height:24px;
|
|
18
18
|
}
|
|
19
|
-
.
|
|
19
|
+
._sizeL_15les2f_30{
|
|
20
20
|
padding:4px;
|
|
21
21
|
width:28px;
|
|
22
22
|
height:28px;
|
|
23
23
|
}
|
|
24
|
-
.
|
|
24
|
+
._errorMessage_15les2f_36{
|
|
25
25
|
letter-spacing:0.0045em;
|
|
26
26
|
color:rgba(25,25,28,0.7);
|
|
27
27
|
color:var(--rs-typography-color-average, rgba(25,25,28,0.7));
|
|
@@ -32,19 +32,19 @@
|
|
|
32
32
|
line-height:20px;
|
|
33
33
|
line-height:var(--rs-text-3-line-height, 20px);
|
|
34
34
|
}
|
|
35
|
-
._rs-reset-letter-
|
|
35
|
+
._rs-reset-letter-spacing_15les2f_1 ._errorMessage_15les2f_36{
|
|
36
36
|
letter-spacing:normal;
|
|
37
37
|
}
|
|
38
|
-
.
|
|
38
|
+
._errorMessage_15les2f_36 {
|
|
39
39
|
color:#F45C4A;
|
|
40
40
|
}
|
|
41
|
-
.
|
|
41
|
+
._errorMessage_15les2f_36._list_15les2f_40{
|
|
42
42
|
margin-bottom:12px;
|
|
43
43
|
}
|
|
44
|
-
.
|
|
44
|
+
._errorMessage_15les2f_36._single_15les2f_44{
|
|
45
45
|
margin-top:8px;
|
|
46
46
|
}
|
|
47
|
-
.
|
|
47
|
+
._input_15les2f_49{
|
|
48
48
|
position:absolute;
|
|
49
49
|
z-index:-1;
|
|
50
50
|
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
|
|
55
55
|
border:0;
|
|
56
56
|
}
|
|
57
|
-
.
|
|
57
|
+
._icon_15les2f_60{
|
|
58
58
|
display:inline-block;
|
|
59
59
|
float:left;
|
|
60
60
|
|
|
@@ -68,305 +68,305 @@
|
|
|
68
68
|
|
|
69
69
|
transition:border-width ease-out 100ms, border-color ease-out 100ms;
|
|
70
70
|
}
|
|
71
|
-
.
|
|
71
|
+
._enabled_15les2f_70 ._icon_15les2f_60{
|
|
72
72
|
cursor:pointer;
|
|
73
73
|
}
|
|
74
|
-
.
|
|
74
|
+
._sizeS_15les2f_18 ._icon_15les2f_60{
|
|
75
75
|
width:14px;
|
|
76
76
|
height:14px;
|
|
77
77
|
}
|
|
78
|
-
.
|
|
78
|
+
._sizeM_15les2f_24 ._icon_15les2f_60{
|
|
79
79
|
width:18px;
|
|
80
80
|
height:18px;
|
|
81
81
|
}
|
|
82
|
-
.
|
|
82
|
+
._sizeL_15les2f_30 ._icon_15les2f_60{
|
|
83
83
|
width:20px;
|
|
84
84
|
height:20px;
|
|
85
85
|
}
|
|
86
|
-
.
|
|
86
|
+
._sizeS_15les2f_18._indeterminate_15les2f_90 ._icon_15les2f_60{
|
|
87
87
|
border-width:6px 3px;
|
|
88
88
|
}
|
|
89
|
-
.
|
|
89
|
+
._sizeM_15les2f_24._indeterminate_15les2f_90 ._icon_15les2f_60{
|
|
90
90
|
border-width:8px 3px;
|
|
91
91
|
}
|
|
92
|
-
.
|
|
92
|
+
._sizeL_15les2f_30._indeterminate_15les2f_90 ._icon_15les2f_60{
|
|
93
93
|
border-width:9px 3px;
|
|
94
94
|
}
|
|
95
|
-
.
|
|
95
|
+
._sizeS_15les2f_18 ._input_15les2f_49:checked + ._icon_15les2f_60{
|
|
96
96
|
border-width:7px;
|
|
97
97
|
}
|
|
98
|
-
.
|
|
98
|
+
._sizeM_15les2f_24 ._input_15les2f_49:checked + ._icon_15les2f_60{
|
|
99
99
|
border-width:9px;
|
|
100
100
|
}
|
|
101
|
-
.
|
|
101
|
+
._sizeL_15les2f_30 ._input_15les2f_49:checked + ._icon_15les2f_60{
|
|
102
102
|
border-width:10px;
|
|
103
103
|
}
|
|
104
|
-
.
|
|
105
|
-
.
|
|
104
|
+
._disabled_15les2f_115 ._icon_15les2f_60,
|
|
105
|
+
._input_15les2f_49:disabled + ._icon_15les2f_60{
|
|
106
106
|
cursor:not-allowed;
|
|
107
107
|
pointer-events:none;
|
|
108
108
|
}
|
|
109
|
-
.
|
|
109
|
+
._icon_15les2f_60::after{
|
|
110
110
|
content:'';
|
|
111
111
|
position:absolute;
|
|
112
112
|
border-radius:0.1px;
|
|
113
113
|
}
|
|
114
|
-
.
|
|
114
|
+
._sizeS_15les2f_18 ._icon_15les2f_60::after{
|
|
115
115
|
top:3px;
|
|
116
116
|
right:3px;
|
|
117
117
|
bottom:3px;
|
|
118
118
|
left:3px;
|
|
119
119
|
}
|
|
120
|
-
.
|
|
120
|
+
._sizeM_15les2f_24 ._icon_15les2f_60::after{
|
|
121
121
|
top:3px;
|
|
122
122
|
right:3px;
|
|
123
123
|
bottom:3px;
|
|
124
124
|
left:3px;
|
|
125
125
|
}
|
|
126
|
-
.
|
|
126
|
+
._sizeL_15les2f_30 ._icon_15les2f_60::after{
|
|
127
127
|
top:4px;
|
|
128
128
|
right:4px;
|
|
129
129
|
bottom:4px;
|
|
130
130
|
left:4px;
|
|
131
131
|
}
|
|
132
|
-
.
|
|
132
|
+
._checkmark_15les2f_149{
|
|
133
133
|
position:absolute;
|
|
134
134
|
display:none;
|
|
135
135
|
|
|
136
136
|
fill:#FFFFFF;
|
|
137
137
|
}
|
|
138
|
-
.
|
|
138
|
+
._sizeS_15les2f_18 ._checkmark_15les2f_149{
|
|
139
139
|
top:3px;
|
|
140
140
|
left:3px;
|
|
141
141
|
|
|
142
142
|
width:14px;
|
|
143
143
|
height:14px;
|
|
144
144
|
}
|
|
145
|
-
.
|
|
145
|
+
._sizeM_15les2f_24 ._checkmark_15les2f_149{
|
|
146
146
|
top:3px;
|
|
147
147
|
left:3px;
|
|
148
148
|
|
|
149
149
|
width:18px;
|
|
150
150
|
height:18px;
|
|
151
151
|
}
|
|
152
|
-
.
|
|
152
|
+
._sizeL_15les2f_30 ._checkmark_15les2f_149{
|
|
153
153
|
top:4px;
|
|
154
154
|
left:4px;
|
|
155
155
|
|
|
156
156
|
width:20px;
|
|
157
157
|
height:20px;
|
|
158
158
|
}
|
|
159
|
-
.
|
|
159
|
+
._input_15les2f_49:checked + ._icon_15les2f_60 > ._checkmark_15les2f_149{
|
|
160
160
|
display:block;
|
|
161
161
|
}
|
|
162
|
-
.
|
|
162
|
+
._themeLight_15les2f_187._classic_15les2f_187 ._icon_15les2f_60{
|
|
163
163
|
border-color:rgba(25,25,28,0.4);
|
|
164
164
|
|
|
165
165
|
background:#FFFFFF;
|
|
166
166
|
}
|
|
167
|
-
.
|
|
168
|
-
.
|
|
169
|
-
.
|
|
167
|
+
._themeLight_15les2f_187._classic_15les2f_187._indeterminate_15les2f_90 ._icon_15les2f_60,
|
|
168
|
+
._themeLight_15les2f_187._classic_15les2f_187._indeterminate_15les2f_90 ._input_15les2f_49:hover + ._icon_15les2f_60,
|
|
169
|
+
._themeLight_15les2f_187._classic_15les2f_187._indeterminate_15les2f_90:hover ._icon_15les2f_60{
|
|
170
170
|
border-color:#167DFF;
|
|
171
171
|
border-color:var(--rs-color-primary-light-theme, #167DFF);
|
|
172
172
|
}
|
|
173
|
-
.
|
|
173
|
+
._themeLight_15les2f_187._classic_15les2f_187 ._input_15les2f_49:focus[data-focus-method='key'] + ._icon_15les2f_60{
|
|
174
174
|
border-color:#167DFF;
|
|
175
175
|
border-color:var(--rs-color-primary-light-theme, #167DFF);
|
|
176
176
|
}
|
|
177
|
-
.
|
|
177
|
+
._themeLight_15les2f_187._classic_15les2f_187 ._input_15les2f_49:checked + ._icon_15les2f_60{
|
|
178
178
|
border-color:#167DFF;
|
|
179
179
|
border-color:var(--rs-color-primary-light-theme, #167DFF);
|
|
180
180
|
}
|
|
181
|
-
.
|
|
182
|
-
.
|
|
181
|
+
._themeLight_15les2f_187._classic_15les2f_187._disabled_15les2f_115 ._icon_15les2f_60,
|
|
182
|
+
._themeLight_15les2f_187._classic_15les2f_187 ._input_15les2f_49:disabled + ._icon_15les2f_60{
|
|
183
183
|
border-color:rgba(25,25,28,0.2);
|
|
184
184
|
}
|
|
185
|
-
.
|
|
186
|
-
.
|
|
185
|
+
._themeLight_15les2f_187._classic_15les2f_187._error_15les2f_36 ._icon_15les2f_60,
|
|
186
|
+
._themeLight_15les2f_187._classic_15les2f_187 ._input_15les2f_49:invalid + ._icon_15les2f_60{
|
|
187
187
|
border-color:#F45C4A !important;
|
|
188
188
|
}
|
|
189
|
-
.
|
|
189
|
+
._themeDark_15les2f_220._classic_15les2f_187 ._icon_15les2f_60{
|
|
190
190
|
border-color:rgba(255,255,255,0.4);
|
|
191
191
|
background:#303033;
|
|
192
192
|
}
|
|
193
|
-
.
|
|
194
|
-
.
|
|
195
|
-
.
|
|
193
|
+
._themeDark_15les2f_220._classic_15les2f_187._indeterminate_15les2f_90 ._icon_15les2f_60,
|
|
194
|
+
._themeDark_15les2f_220._classic_15les2f_187._indeterminate_15les2f_90 ._input_15les2f_49:hover + ._icon_15les2f_60,
|
|
195
|
+
._themeDark_15les2f_220._classic_15les2f_187._indeterminate_15les2f_90:hover ._icon_15les2f_60{
|
|
196
196
|
border-color:#4CA6ff;
|
|
197
197
|
border-color:var(--rs-color-primary-dark-theme, #4CA6ff);
|
|
198
198
|
|
|
199
199
|
background-color:#FFFFFF;
|
|
200
200
|
}
|
|
201
|
-
.
|
|
201
|
+
._themeDark_15les2f_220._classic_15les2f_187 ._input_15les2f_49:focus[data-focus-method='key'] + ._icon_15les2f_60{
|
|
202
202
|
border-color:#4CA6ff;
|
|
203
203
|
border-color:var(--rs-color-primary-dark-theme, #4CA6ff);
|
|
204
204
|
}
|
|
205
|
-
.
|
|
205
|
+
._themeDark_15les2f_220._classic_15les2f_187 ._input_15les2f_49:checked + ._icon_15les2f_60{
|
|
206
206
|
border-color:#4CA6ff;
|
|
207
207
|
border-color:var(--rs-color-primary-dark-theme, #4CA6ff);
|
|
208
208
|
}
|
|
209
|
-
.
|
|
210
|
-
.
|
|
209
|
+
._themeDark_15les2f_220._classic_15les2f_187._disabled_15les2f_115 ._icon_15les2f_60,
|
|
210
|
+
._themeDark_15les2f_220._classic_15les2f_187 ._input_15les2f_49:disabled + ._icon_15les2f_60{
|
|
211
211
|
border-color:rgba(255,255,255,0.2);
|
|
212
212
|
background:#19191C;
|
|
213
213
|
}
|
|
214
|
-
.
|
|
214
|
+
._themeDark_15les2f_220._classic_15les2f_187._disabled_15les2f_115 ._icon_15les2f_60 ._checkmark_15les2f_149, ._themeDark_15les2f_220._classic_15les2f_187 ._input_15les2f_49:disabled + ._icon_15les2f_60 ._checkmark_15les2f_149{
|
|
215
215
|
fill:rgba(255,255,255,0.5)
|
|
216
216
|
}
|
|
217
|
-
.
|
|
218
|
-
.
|
|
217
|
+
._themeDark_15les2f_220._classic_15les2f_187._error_15les2f_36 ._icon_15les2f_60,
|
|
218
|
+
._themeDark_15les2f_220._classic_15les2f_187 ._input_15les2f_49:invalid + ._icon_15les2f_60{
|
|
219
219
|
border-color:#F45C4A !important;
|
|
220
220
|
}
|
|
221
|
-
label:hover .
|
|
222
|
-
.
|
|
223
|
-
.
|
|
224
|
-
.
|
|
221
|
+
label:hover ._sizeS_15les2f_18._themeLight_15les2f_187._classic_15les2f_187._enabled_15les2f_70 > ._icon_15les2f_60::after,
|
|
222
|
+
._sizeS_15les2f_18._themeLight_15les2f_187._classic_15les2f_187._enabled_15les2f_70:hover > ._icon_15les2f_60::after,
|
|
223
|
+
._sizeS_15les2f_18._themeLight_15les2f_187._classic_15les2f_187._enabled_15les2f_70 ._input_15les2f_49:focus[data-focus-method='key'] + ._icon_15les2f_60::after,
|
|
224
|
+
._sizeS_15les2f_18._themeLight_15les2f_187._classic_15les2f_187._enabled_15les2f_70 ._input_15les2f_49:active + ._icon_15les2f_60::after{
|
|
225
225
|
-webkit-box-shadow:0 0 0 3px rgba(22,125,255,0.2);
|
|
226
226
|
-webkit-box-shadow:0 0 0 3px var(--rs-color-primary-t-fog-light-theme, rgba(22,125,255,0.2));
|
|
227
227
|
box-shadow:0 0 0 3px rgba(22,125,255,0.2);
|
|
228
228
|
box-shadow:0 0 0 3px var(--rs-color-primary-t-fog-light-theme, rgba(22,125,255,0.2));
|
|
229
229
|
}
|
|
230
|
-
label:hover .
|
|
231
|
-
.
|
|
232
|
-
.
|
|
233
|
-
.
|
|
230
|
+
label:hover ._sizeS_15les2f_18._themeDark_15les2f_220._classic_15les2f_187._enabled_15les2f_70 > ._icon_15les2f_60::after,
|
|
231
|
+
._sizeS_15les2f_18._themeDark_15les2f_220._classic_15les2f_187._enabled_15les2f_70:hover > ._icon_15les2f_60::after,
|
|
232
|
+
._sizeS_15les2f_18._themeDark_15les2f_220._classic_15les2f_187._enabled_15les2f_70 ._input_15les2f_49:focus[data-focus-method='key'] + ._icon_15les2f_60::after,
|
|
233
|
+
._sizeS_15les2f_18._themeDark_15les2f_220._classic_15les2f_187._enabled_15les2f_70 ._input_15les2f_49:active + ._icon_15les2f_60::after{
|
|
234
234
|
-webkit-box-shadow:0 0 0 3px rgba(76,166,255,0.3);
|
|
235
235
|
-webkit-box-shadow:0 0 0 3px var(--rs-color-primary-t-fog-dark-theme, rgba(76,166,255,0.3));
|
|
236
236
|
box-shadow:0 0 0 3px rgba(76,166,255,0.3);
|
|
237
237
|
box-shadow:0 0 0 3px var(--rs-color-primary-t-fog-dark-theme, rgba(76,166,255,0.3))
|
|
238
238
|
}
|
|
239
|
-
label:hover .
|
|
240
|
-
.
|
|
241
|
-
.
|
|
242
|
-
.
|
|
239
|
+
label:hover ._sizeM_15les2f_24._themeLight_15les2f_187._classic_15les2f_187._enabled_15les2f_70 > ._icon_15les2f_60::after,
|
|
240
|
+
._sizeM_15les2f_24._themeLight_15les2f_187._classic_15les2f_187._enabled_15les2f_70:hover > ._icon_15les2f_60::after,
|
|
241
|
+
._sizeM_15les2f_24._themeLight_15les2f_187._classic_15les2f_187._enabled_15les2f_70 ._input_15les2f_49:focus[data-focus-method='key'] + ._icon_15les2f_60::after,
|
|
242
|
+
._sizeM_15les2f_24._themeLight_15les2f_187._classic_15les2f_187._enabled_15les2f_70 ._input_15les2f_49:active + ._icon_15les2f_60::after{
|
|
243
243
|
-webkit-box-shadow:0 0 0 3px rgba(22,125,255,0.2);
|
|
244
244
|
-webkit-box-shadow:0 0 0 3px var(--rs-color-primary-t-fog-light-theme, rgba(22,125,255,0.2));
|
|
245
245
|
box-shadow:0 0 0 3px rgba(22,125,255,0.2);
|
|
246
246
|
box-shadow:0 0 0 3px var(--rs-color-primary-t-fog-light-theme, rgba(22,125,255,0.2));
|
|
247
247
|
}
|
|
248
|
-
label:hover .
|
|
249
|
-
.
|
|
250
|
-
.
|
|
251
|
-
.
|
|
248
|
+
label:hover ._sizeM_15les2f_24._themeDark_15les2f_220._classic_15les2f_187._enabled_15les2f_70 > ._icon_15les2f_60::after,
|
|
249
|
+
._sizeM_15les2f_24._themeDark_15les2f_220._classic_15les2f_187._enabled_15les2f_70:hover > ._icon_15les2f_60::after,
|
|
250
|
+
._sizeM_15les2f_24._themeDark_15les2f_220._classic_15les2f_187._enabled_15les2f_70 ._input_15les2f_49:focus[data-focus-method='key'] + ._icon_15les2f_60::after,
|
|
251
|
+
._sizeM_15les2f_24._themeDark_15les2f_220._classic_15les2f_187._enabled_15les2f_70 ._input_15les2f_49:active + ._icon_15les2f_60::after{
|
|
252
252
|
-webkit-box-shadow:0 0 0 3px rgba(76,166,255,0.3);
|
|
253
253
|
-webkit-box-shadow:0 0 0 3px var(--rs-color-primary-t-fog-dark-theme, rgba(76,166,255,0.3));
|
|
254
254
|
box-shadow:0 0 0 3px rgba(76,166,255,0.3);
|
|
255
255
|
box-shadow:0 0 0 3px var(--rs-color-primary-t-fog-dark-theme, rgba(76,166,255,0.3))
|
|
256
256
|
}
|
|
257
|
-
label:hover .
|
|
258
|
-
.
|
|
259
|
-
.
|
|
260
|
-
.
|
|
257
|
+
label:hover ._sizeL_15les2f_30._themeLight_15les2f_187._classic_15les2f_187._enabled_15les2f_70 > ._icon_15les2f_60::after,
|
|
258
|
+
._sizeL_15les2f_30._themeLight_15les2f_187._classic_15les2f_187._enabled_15les2f_70:hover > ._icon_15les2f_60::after,
|
|
259
|
+
._sizeL_15les2f_30._themeLight_15les2f_187._classic_15les2f_187._enabled_15les2f_70 ._input_15les2f_49:focus[data-focus-method='key'] + ._icon_15les2f_60::after,
|
|
260
|
+
._sizeL_15les2f_30._themeLight_15les2f_187._classic_15les2f_187._enabled_15les2f_70 ._input_15les2f_49:active + ._icon_15les2f_60::after{
|
|
261
261
|
-webkit-box-shadow:0 0 0 4px rgba(22,125,255,0.2);
|
|
262
262
|
-webkit-box-shadow:0 0 0 4px var(--rs-color-primary-t-fog-light-theme, rgba(22,125,255,0.2));
|
|
263
263
|
box-shadow:0 0 0 4px rgba(22,125,255,0.2);
|
|
264
264
|
box-shadow:0 0 0 4px var(--rs-color-primary-t-fog-light-theme, rgba(22,125,255,0.2));
|
|
265
265
|
}
|
|
266
|
-
label:hover .
|
|
267
|
-
.
|
|
268
|
-
.
|
|
269
|
-
.
|
|
266
|
+
label:hover ._sizeL_15les2f_30._themeDark_15les2f_220._classic_15les2f_187._enabled_15les2f_70 > ._icon_15les2f_60::after,
|
|
267
|
+
._sizeL_15les2f_30._themeDark_15les2f_220._classic_15les2f_187._enabled_15les2f_70:hover > ._icon_15les2f_60::after,
|
|
268
|
+
._sizeL_15les2f_30._themeDark_15les2f_220._classic_15les2f_187._enabled_15les2f_70 ._input_15les2f_49:focus[data-focus-method='key'] + ._icon_15les2f_60::after,
|
|
269
|
+
._sizeL_15les2f_30._themeDark_15les2f_220._classic_15les2f_187._enabled_15les2f_70 ._input_15les2f_49:active + ._icon_15les2f_60::after{
|
|
270
270
|
-webkit-box-shadow:0 0 0 4px rgba(76,166,255,0.3);
|
|
271
271
|
-webkit-box-shadow:0 0 0 4px var(--rs-color-primary-t-fog-dark-theme, rgba(76,166,255,0.3));
|
|
272
272
|
box-shadow:0 0 0 4px rgba(76,166,255,0.3);
|
|
273
273
|
box-shadow:0 0 0 4px var(--rs-color-primary-t-fog-dark-theme, rgba(76,166,255,0.3))
|
|
274
274
|
}
|
|
275
|
-
.
|
|
275
|
+
._themeLight_15les2f_187._rock_15les2f_316 ._icon_15les2f_60{
|
|
276
276
|
border-color:rgba(25,25,28,0.4);
|
|
277
277
|
|
|
278
278
|
background:#FFFFFF;
|
|
279
279
|
}
|
|
280
|
-
.
|
|
281
|
-
.
|
|
282
|
-
.
|
|
280
|
+
._themeLight_15les2f_187._rock_15les2f_316._indeterminate_15les2f_90 ._icon_15les2f_60,
|
|
281
|
+
._themeLight_15les2f_187._rock_15les2f_316._indeterminate_15les2f_90 ._input_15les2f_49:hover + ._icon_15les2f_60,
|
|
282
|
+
._themeLight_15les2f_187._rock_15les2f_316._indeterminate_15les2f_90:hover ._icon_15les2f_60{
|
|
283
283
|
border-color:#19191C;
|
|
284
284
|
}
|
|
285
|
-
.
|
|
285
|
+
._themeLight_15les2f_187._rock_15les2f_316 ._input_15les2f_49:focus[data-focus-method='key'] + ._icon_15les2f_60{
|
|
286
286
|
border-color:#19191C;
|
|
287
287
|
}
|
|
288
|
-
.
|
|
288
|
+
._themeLight_15les2f_187._rock_15les2f_316 ._input_15les2f_49:checked + ._icon_15les2f_60{
|
|
289
289
|
border-color:#19191C;
|
|
290
290
|
}
|
|
291
|
-
.
|
|
292
|
-
.
|
|
291
|
+
._themeLight_15les2f_187._rock_15les2f_316._disabled_15les2f_115 ._icon_15les2f_60,
|
|
292
|
+
._themeLight_15les2f_187._rock_15les2f_316 ._input_15les2f_49:disabled + ._icon_15les2f_60{
|
|
293
293
|
border-color:rgba(25,25,28,0.2);
|
|
294
294
|
}
|
|
295
|
-
.
|
|
296
|
-
.
|
|
295
|
+
._themeLight_15les2f_187._rock_15les2f_316._error_15les2f_36 ._icon_15les2f_60,
|
|
296
|
+
._themeLight_15les2f_187._rock_15les2f_316 ._input_15les2f_49:invalid + ._icon_15les2f_60{
|
|
297
297
|
border-color:#F45C4A;
|
|
298
298
|
}
|
|
299
|
-
.
|
|
299
|
+
._themeDark_15les2f_220._rock_15les2f_316 ._checkmark_15les2f_149{
|
|
300
300
|
fill:#19191C;
|
|
301
301
|
}
|
|
302
|
-
.
|
|
302
|
+
._themeDark_15les2f_220._rock_15les2f_316 ._icon_15les2f_60{
|
|
303
303
|
border-color:rgba(255,255,255,0.4);
|
|
304
304
|
background:#303033;
|
|
305
305
|
}
|
|
306
|
-
.
|
|
307
|
-
.
|
|
308
|
-
.
|
|
306
|
+
._themeDark_15les2f_220._rock_15les2f_316._indeterminate_15les2f_90 ._icon_15les2f_60,
|
|
307
|
+
._themeDark_15les2f_220._rock_15les2f_316._indeterminate_15les2f_90 ._input_15les2f_49:hover + ._icon_15les2f_60,
|
|
308
|
+
._themeDark_15les2f_220._rock_15les2f_316._indeterminate_15les2f_90:hover ._icon_15les2f_60{
|
|
309
309
|
border-color:#FFFFFF;
|
|
310
310
|
|
|
311
311
|
background-color:#19191C;
|
|
312
312
|
}
|
|
313
|
-
.
|
|
313
|
+
._themeDark_15les2f_220._rock_15les2f_316 ._input_15les2f_49:focus[data-focus-method='key'] + ._icon_15les2f_60{
|
|
314
314
|
border-color:#FFFFFF;
|
|
315
315
|
}
|
|
316
|
-
.
|
|
316
|
+
._themeDark_15les2f_220._rock_15les2f_316 ._input_15les2f_49:checked + ._icon_15les2f_60{
|
|
317
317
|
border-color:#FFFFFF;
|
|
318
318
|
}
|
|
319
|
-
.
|
|
320
|
-
.
|
|
319
|
+
._themeDark_15les2f_220._rock_15les2f_316._disabled_15les2f_115 ._icon_15les2f_60,
|
|
320
|
+
._themeDark_15les2f_220._rock_15les2f_316 ._input_15les2f_49:disabled + ._icon_15les2f_60{
|
|
321
321
|
border-color:rgba(255,255,255,0.2);
|
|
322
322
|
background:#19191C;
|
|
323
323
|
}
|
|
324
|
-
.
|
|
324
|
+
._themeDark_15les2f_220._rock_15les2f_316._disabled_15les2f_115 ._icon_15les2f_60 ._checkmark_15les2f_149, ._themeDark_15les2f_220._rock_15les2f_316 ._input_15les2f_49:disabled + ._icon_15les2f_60 ._checkmark_15les2f_149{
|
|
325
325
|
fill:rgba(255,255,255,0.5)
|
|
326
326
|
}
|
|
327
|
-
.
|
|
328
|
-
.
|
|
327
|
+
._themeDark_15les2f_220._rock_15les2f_316._error_15les2f_36 ._icon_15les2f_60,
|
|
328
|
+
._themeDark_15les2f_220._rock_15les2f_316 ._input_15les2f_49:invalid + ._icon_15les2f_60{
|
|
329
329
|
border-color:#F45C4A;
|
|
330
330
|
}
|
|
331
|
-
label:hover .
|
|
332
|
-
.
|
|
333
|
-
.
|
|
334
|
-
.
|
|
331
|
+
label:hover ._sizeS_15les2f_18._themeLight_15les2f_187._rock_15les2f_316._enabled_15les2f_70 > ._icon_15les2f_60::after,
|
|
332
|
+
._sizeS_15les2f_18._themeLight_15les2f_187._rock_15les2f_316._enabled_15les2f_70:hover > ._icon_15les2f_60::after,
|
|
333
|
+
._sizeS_15les2f_18._themeLight_15les2f_187._rock_15les2f_316._enabled_15les2f_70 ._input_15les2f_49:focus[data-focus-method='key'] + ._icon_15les2f_60::after,
|
|
334
|
+
._sizeS_15les2f_18._themeLight_15les2f_187._rock_15les2f_316._enabled_15les2f_70 ._input_15les2f_49:active + ._icon_15les2f_60::after{
|
|
335
335
|
-webkit-box-shadow:0 0 0 3px rgba(25,25,28,0.1);
|
|
336
336
|
box-shadow:0 0 0 3px rgba(25,25,28,0.1);
|
|
337
337
|
}
|
|
338
|
-
label:hover .
|
|
339
|
-
.
|
|
340
|
-
.
|
|
341
|
-
.
|
|
338
|
+
label:hover ._sizeS_15les2f_18._themeDark_15les2f_220._rock_15les2f_316._enabled_15les2f_70 > ._icon_15les2f_60::after,
|
|
339
|
+
._sizeS_15les2f_18._themeDark_15les2f_220._rock_15les2f_316._enabled_15les2f_70:hover > ._icon_15les2f_60::after,
|
|
340
|
+
._sizeS_15les2f_18._themeDark_15les2f_220._rock_15les2f_316._enabled_15les2f_70 ._input_15les2f_49:focus[data-focus-method='key'] + ._icon_15les2f_60::after,
|
|
341
|
+
._sizeS_15les2f_18._themeDark_15les2f_220._rock_15les2f_316._enabled_15les2f_70 ._input_15les2f_49:active + ._icon_15les2f_60::after{
|
|
342
342
|
-webkit-box-shadow:0 0 0 3px rgba(255,255,255,0.1);
|
|
343
343
|
box-shadow:0 0 0 3px rgba(255,255,255,0.1);
|
|
344
344
|
}
|
|
345
|
-
label:hover .
|
|
346
|
-
.
|
|
347
|
-
.
|
|
348
|
-
.
|
|
345
|
+
label:hover ._sizeM_15les2f_24._themeLight_15les2f_187._rock_15les2f_316._enabled_15les2f_70 > ._icon_15les2f_60::after,
|
|
346
|
+
._sizeM_15les2f_24._themeLight_15les2f_187._rock_15les2f_316._enabled_15les2f_70:hover > ._icon_15les2f_60::after,
|
|
347
|
+
._sizeM_15les2f_24._themeLight_15les2f_187._rock_15les2f_316._enabled_15les2f_70 ._input_15les2f_49:focus[data-focus-method='key'] + ._icon_15les2f_60::after,
|
|
348
|
+
._sizeM_15les2f_24._themeLight_15les2f_187._rock_15les2f_316._enabled_15les2f_70 ._input_15les2f_49:active + ._icon_15les2f_60::after{
|
|
349
349
|
-webkit-box-shadow:0 0 0 3px rgba(25,25,28,0.1);
|
|
350
350
|
box-shadow:0 0 0 3px rgba(25,25,28,0.1);
|
|
351
351
|
}
|
|
352
|
-
label:hover .
|
|
353
|
-
.
|
|
354
|
-
.
|
|
355
|
-
.
|
|
352
|
+
label:hover ._sizeM_15les2f_24._themeDark_15les2f_220._rock_15les2f_316._enabled_15les2f_70 > ._icon_15les2f_60::after,
|
|
353
|
+
._sizeM_15les2f_24._themeDark_15les2f_220._rock_15les2f_316._enabled_15les2f_70:hover > ._icon_15les2f_60::after,
|
|
354
|
+
._sizeM_15les2f_24._themeDark_15les2f_220._rock_15les2f_316._enabled_15les2f_70 ._input_15les2f_49:focus[data-focus-method='key'] + ._icon_15les2f_60::after,
|
|
355
|
+
._sizeM_15les2f_24._themeDark_15les2f_220._rock_15les2f_316._enabled_15les2f_70 ._input_15les2f_49:active + ._icon_15les2f_60::after{
|
|
356
356
|
-webkit-box-shadow:0 0 0 3px rgba(255,255,255,0.1);
|
|
357
357
|
box-shadow:0 0 0 3px rgba(255,255,255,0.1);
|
|
358
358
|
}
|
|
359
|
-
label:hover .
|
|
360
|
-
.
|
|
361
|
-
.
|
|
362
|
-
.
|
|
359
|
+
label:hover ._sizeL_15les2f_30._themeLight_15les2f_187._rock_15les2f_316._enabled_15les2f_70 > ._icon_15les2f_60::after,
|
|
360
|
+
._sizeL_15les2f_30._themeLight_15les2f_187._rock_15les2f_316._enabled_15les2f_70:hover > ._icon_15les2f_60::after,
|
|
361
|
+
._sizeL_15les2f_30._themeLight_15les2f_187._rock_15les2f_316._enabled_15les2f_70 ._input_15les2f_49:focus[data-focus-method='key'] + ._icon_15les2f_60::after,
|
|
362
|
+
._sizeL_15les2f_30._themeLight_15les2f_187._rock_15les2f_316._enabled_15les2f_70 ._input_15les2f_49:active + ._icon_15les2f_60::after{
|
|
363
363
|
-webkit-box-shadow:0 0 0 4px rgba(25,25,28,0.1);
|
|
364
364
|
box-shadow:0 0 0 4px rgba(25,25,28,0.1);
|
|
365
365
|
}
|
|
366
|
-
label:hover .
|
|
367
|
-
.
|
|
368
|
-
.
|
|
369
|
-
.
|
|
366
|
+
label:hover ._sizeL_15les2f_30._themeDark_15les2f_220._rock_15les2f_316._enabled_15les2f_70 > ._icon_15les2f_60::after,
|
|
367
|
+
._sizeL_15les2f_30._themeDark_15les2f_220._rock_15les2f_316._enabled_15les2f_70:hover > ._icon_15les2f_60::after,
|
|
368
|
+
._sizeL_15les2f_30._themeDark_15les2f_220._rock_15les2f_316._enabled_15les2f_70 ._input_15les2f_49:focus[data-focus-method='key'] + ._icon_15les2f_60::after,
|
|
369
|
+
._sizeL_15les2f_30._themeDark_15les2f_220._rock_15les2f_316._enabled_15les2f_70 ._input_15les2f_49:active + ._icon_15les2f_60::after{
|
|
370
370
|
-webkit-box-shadow:0 0 0 4px rgba(255,255,255,0.1);
|
|
371
371
|
box-shadow:0 0 0 4px rgba(255,255,255,0.1);
|
|
372
372
|
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
var styles = {
|
|
2
|
-
"checkbox": "
|
|
3
|
-
"sizeS": "
|
|
4
|
-
"sizeM": "
|
|
5
|
-
"sizeL": "
|
|
6
|
-
"errorMessage": "
|
|
7
|
-
"rs-reset-letter-spacing": "_rs-reset-letter-
|
|
8
|
-
"list": "
|
|
9
|
-
"single": "
|
|
10
|
-
"input": "
|
|
11
|
-
"icon": "
|
|
12
|
-
"enabled": "
|
|
13
|
-
"indeterminate": "
|
|
14
|
-
"disabled": "
|
|
15
|
-
"checkmark": "
|
|
16
|
-
"themeLight": "
|
|
17
|
-
"classic": "
|
|
18
|
-
"error": "
|
|
19
|
-
"themeDark": "
|
|
20
|
-
"rock": "
|
|
2
|
+
"checkbox": "_checkbox_15les2f_10",
|
|
3
|
+
"sizeS": "_sizeS_15les2f_18",
|
|
4
|
+
"sizeM": "_sizeM_15les2f_24",
|
|
5
|
+
"sizeL": "_sizeL_15les2f_30",
|
|
6
|
+
"errorMessage": "_errorMessage_15les2f_36",
|
|
7
|
+
"rs-reset-letter-spacing": "_rs-reset-letter-spacing_15les2f_1",
|
|
8
|
+
"list": "_list_15les2f_40",
|
|
9
|
+
"single": "_single_15les2f_44",
|
|
10
|
+
"input": "_input_15les2f_49",
|
|
11
|
+
"icon": "_icon_15les2f_60",
|
|
12
|
+
"enabled": "_enabled_15les2f_70",
|
|
13
|
+
"indeterminate": "_indeterminate_15les2f_90",
|
|
14
|
+
"disabled": "_disabled_15les2f_115",
|
|
15
|
+
"checkmark": "_checkmark_15les2f_149",
|
|
16
|
+
"themeLight": "_themeLight_15les2f_187",
|
|
17
|
+
"classic": "_classic_15les2f_187",
|
|
18
|
+
"error": "_error_15les2f_36",
|
|
19
|
+
"themeDark": "_themeDark_15les2f_220",
|
|
20
|
+
"rock": "_rock_15les2f_316"
|
|
21
21
|
};
|
|
22
22
|
export default styles;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rescui/checkbox",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "JetBrains",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@babel/runtime-corejs3": "^7.14.0",
|
|
19
|
-
"@rescui/menu": "^0.
|
|
19
|
+
"@rescui/menu": "^0.2.0",
|
|
20
20
|
"classnames": "^2.2.6",
|
|
21
21
|
"core-js": "^3.9.1"
|
|
22
22
|
},
|
|
@@ -26,14 +26,14 @@
|
|
|
26
26
|
"react": ">=16.8.0 <18"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@rescui/colors": "^0.0.
|
|
29
|
+
"@rescui/colors": "^0.0.6",
|
|
30
30
|
"@rescui/postcss-preset-library": "^0.0.4",
|
|
31
|
-
"@rescui/scripts": "^0.1.
|
|
32
|
-
"@rescui/typography": "^0.
|
|
31
|
+
"@rescui/scripts": "^0.1.4",
|
|
32
|
+
"@rescui/typography": "^0.4.0",
|
|
33
33
|
"@rescui/visual-regression": "^0.0.1"
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|
|
36
36
|
"build": "rescui-scripts build"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "6b1d206de2641861028760d73f33dee214c07911"
|
|
39
39
|
}
|