@rescui/switcher 0.1.3 → 0.1.4
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 +39 -39
- package/lib/index.module.pcss.js +14 -14
- package/package.json +3 -3
package/lib/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._switcher_1rsg9c6_4{
|
|
2
2
|
|
|
3
3
|
position:relative;
|
|
4
4
|
|
|
@@ -16,21 +16,21 @@
|
|
|
16
16
|
|
|
17
17
|
background:transparent;
|
|
18
18
|
}
|
|
19
|
-
.
|
|
19
|
+
._themeLight_1rsg9c6_17{
|
|
20
20
|
-webkit-box-shadow:inset rgba(25,25,28,0.4) 0 0 0 1px;
|
|
21
21
|
box-shadow:inset rgba(25,25,28,0.4) 0 0 0 1px;
|
|
22
22
|
}
|
|
23
|
-
.
|
|
23
|
+
._themeDark_1rsg9c6_21{
|
|
24
24
|
-webkit-box-shadow:inset rgba(255,255,255,0.5) 0 0 0 1px;
|
|
25
25
|
box-shadow:inset rgba(255,255,255,0.5) 0 0 0 1px;
|
|
26
26
|
}
|
|
27
|
-
.
|
|
27
|
+
._sizeL_1rsg9c6_25{
|
|
28
28
|
border-radius:36px;
|
|
29
29
|
}
|
|
30
|
-
.
|
|
30
|
+
._sizeXS_1rsg9c6_29{
|
|
31
31
|
border-radius:4px;
|
|
32
32
|
}
|
|
33
|
-
.
|
|
33
|
+
._option_1rsg9c6_33{
|
|
34
34
|
position:relative;
|
|
35
35
|
-webkit-appearance:none;
|
|
36
36
|
-moz-appearance:none;
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
|
|
51
51
|
background:transparent;
|
|
52
52
|
}
|
|
53
|
-
.
|
|
53
|
+
._sizeL_1rsg9c6_25 ._option_1rsg9c6_33{
|
|
54
54
|
padding:12px 32px;
|
|
55
55
|
color:rgba(25,25,28,0.7);
|
|
56
56
|
color:var(--rs-typography-color-average, rgba(25,25,28,0.7));
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
line-height:var(--rs-text-1-line-height, 28px);
|
|
64
64
|
border-radius:36px;
|
|
65
65
|
}
|
|
66
|
-
.
|
|
66
|
+
._sizeM_1rsg9c6_56 ._option_1rsg9c6_33{
|
|
67
67
|
padding:8px 24px;
|
|
68
68
|
letter-spacing:0.0015em;
|
|
69
69
|
color:rgba(25,25,28,0.7);
|
|
@@ -76,10 +76,10 @@
|
|
|
76
76
|
line-height:24px;
|
|
77
77
|
line-height:var(--rs-text-2-line-height, 24px);
|
|
78
78
|
}
|
|
79
|
-
._rs-reset-letter-
|
|
79
|
+
._rs-reset-letter-spacing_1rsg9c6_1 ._sizeM_1rsg9c6_56 ._option_1rsg9c6_33{
|
|
80
80
|
letter-spacing:normal;
|
|
81
81
|
}
|
|
82
|
-
.
|
|
82
|
+
._sizeS_1rsg9c6_61 ._option_1rsg9c6_33{
|
|
83
83
|
padding:6px 16px;
|
|
84
84
|
letter-spacing:0.0015em;
|
|
85
85
|
color:rgba(25,25,28,0.7);
|
|
@@ -92,10 +92,10 @@
|
|
|
92
92
|
line-height:24px;
|
|
93
93
|
line-height:var(--rs-text-2-line-height, 24px);
|
|
94
94
|
}
|
|
95
|
-
._rs-reset-letter-
|
|
95
|
+
._rs-reset-letter-spacing_1rsg9c6_1 ._sizeS_1rsg9c6_61 ._option_1rsg9c6_33{
|
|
96
96
|
letter-spacing:normal;
|
|
97
97
|
}
|
|
98
|
-
.
|
|
98
|
+
._sizeXS_1rsg9c6_29 ._option_1rsg9c6_33{
|
|
99
99
|
padding:2px 12px;
|
|
100
100
|
letter-spacing:0.0045em;
|
|
101
101
|
color:rgba(25,25,28,0.7);
|
|
@@ -107,68 +107,68 @@
|
|
|
107
107
|
line-height:20px;
|
|
108
108
|
line-height:var(--rs-text-3-line-height, 20px);
|
|
109
109
|
}
|
|
110
|
-
._rs-reset-letter-
|
|
110
|
+
._rs-reset-letter-spacing_1rsg9c6_1 ._sizeXS_1rsg9c6_29 ._option_1rsg9c6_33{
|
|
111
111
|
letter-spacing:normal;
|
|
112
112
|
}
|
|
113
|
-
.
|
|
113
|
+
._sizeXS_1rsg9c6_29 ._option_1rsg9c6_33 {
|
|
114
114
|
border-radius:4px;
|
|
115
115
|
}
|
|
116
|
-
.
|
|
116
|
+
._disabled_1rsg9c6_72 ._option_1rsg9c6_33{
|
|
117
117
|
cursor:not-allowed;
|
|
118
118
|
pointer-events:none;
|
|
119
119
|
}
|
|
120
|
-
.
|
|
120
|
+
._themeLight_1rsg9c6_17 ._option_1rsg9c6_33{
|
|
121
121
|
color:#19191C;
|
|
122
122
|
}
|
|
123
|
-
.
|
|
123
|
+
._themeLight_1rsg9c6_17 ._option_1rsg9c6_33:focus[data-focus-method='key']{
|
|
124
124
|
-webkit-box-shadow:rgba(22,125,255,0.8) 0 0 0 4px;
|
|
125
125
|
-webkit-box-shadow:var(--rs-color-primary-t-dim-light-theme, rgba(22,125,255,0.8)) 0 0 0 4px;
|
|
126
126
|
box-shadow:rgba(22,125,255,0.8) 0 0 0 4px;
|
|
127
127
|
box-shadow:var(--rs-color-primary-t-dim-light-theme, rgba(22,125,255,0.8)) 0 0 0 4px;
|
|
128
128
|
}
|
|
129
|
-
.
|
|
129
|
+
._themeLight_1rsg9c6_17 ._option_1rsg9c6_33._selected_1rsg9c6_85:hover, ._themeLight_1rsg9c6_17 ._option_1rsg9c6_33._selected_1rsg9c6_85:active{
|
|
130
130
|
background:transparent;
|
|
131
131
|
cursor:default;
|
|
132
132
|
}
|
|
133
|
-
.
|
|
133
|
+
._themeLight_1rsg9c6_17._modeClassic_1rsg9c6_93 ._option_1rsg9c6_33:hover{
|
|
134
134
|
background:rgba(22,125,255,0.2);
|
|
135
135
|
background:var(--rs-color-primary-t-fog-light-theme, rgba(22,125,255,0.2));
|
|
136
136
|
}
|
|
137
|
-
.
|
|
137
|
+
._themeLight_1rsg9c6_17._modeRock_1rsg9c6_99 ._option_1rsg9c6_33:hover{
|
|
138
138
|
background:rgba(25,25,28,0.1);
|
|
139
139
|
}
|
|
140
|
-
.
|
|
141
|
-
.
|
|
140
|
+
._disabled_1rsg9c6_72._themeLight_1rsg9c6_17 ._option_1rsg9c6_33,
|
|
141
|
+
._disabled_1rsg9c6_72._themeLight_1rsg9c6_17 ._option_1rsg9c6_33._selected_1rsg9c6_85{
|
|
142
142
|
color:rgba(25,25,28,0.4);
|
|
143
143
|
}
|
|
144
|
-
.
|
|
144
|
+
._themeDark_1rsg9c6_21 ._option_1rsg9c6_33{
|
|
145
145
|
color:#FFFFFF;
|
|
146
146
|
}
|
|
147
|
-
.
|
|
147
|
+
._themeDark_1rsg9c6_21 ._option_1rsg9c6_33:hover{
|
|
148
148
|
background:rgba(255,255,255,0.1);
|
|
149
149
|
}
|
|
150
|
-
.
|
|
150
|
+
._themeDark_1rsg9c6_21 ._option_1rsg9c6_33:focus[data-focus-method='key']{
|
|
151
151
|
-webkit-box-shadow:rgba(76,166,255,0.8) 0 0 0 4px;
|
|
152
152
|
-webkit-box-shadow:var(--rs-color-primary-t-dim-dark-theme, rgba(76,166,255,0.8)) 0 0 0 4px;
|
|
153
153
|
box-shadow:rgba(76,166,255,0.8) 0 0 0 4px;
|
|
154
154
|
box-shadow:var(--rs-color-primary-t-dim-dark-theme, rgba(76,166,255,0.8)) 0 0 0 4px;
|
|
155
155
|
}
|
|
156
|
-
.
|
|
156
|
+
._themeDark_1rsg9c6_21 ._option_1rsg9c6_33._selected_1rsg9c6_85:hover, ._themeDark_1rsg9c6_21 ._option_1rsg9c6_33._selected_1rsg9c6_85:active{
|
|
157
157
|
background:transparent;
|
|
158
158
|
cursor:default;
|
|
159
159
|
}
|
|
160
|
-
.
|
|
160
|
+
._themeDark_1rsg9c6_21._modeClassic_1rsg9c6_93 ._option_1rsg9c6_33:hover{
|
|
161
161
|
background:rgba(76,166,255,0.3);
|
|
162
162
|
background:var(--rs-color-primary-t-fog-dark-theme, rgba(76,166,255,0.3));
|
|
163
163
|
}
|
|
164
|
-
.
|
|
164
|
+
._themeDark_1rsg9c6_21._modeRock_1rsg9c6_99 ._option_1rsg9c6_33:hover{
|
|
165
165
|
background:rgba(255,255,255,0.1);
|
|
166
166
|
}
|
|
167
|
-
.
|
|
168
|
-
.
|
|
167
|
+
._disabled_1rsg9c6_72._themeDark_1rsg9c6_21 ._option_1rsg9c6_33,
|
|
168
|
+
._disabled_1rsg9c6_72._themeDark_1rsg9c6_21 ._option_1rsg9c6_33._selected_1rsg9c6_85{
|
|
169
169
|
color:rgba(255,255,255,0.2);
|
|
170
170
|
}
|
|
171
|
-
.
|
|
171
|
+
._mark_1rsg9c6_146{
|
|
172
172
|
position:absolute;
|
|
173
173
|
top:0;
|
|
174
174
|
bottom:0;
|
|
@@ -179,29 +179,29 @@
|
|
|
179
179
|
-webkit-transition:all 0.3s;
|
|
180
180
|
transition:all 0.3s;
|
|
181
181
|
}
|
|
182
|
-
.
|
|
182
|
+
._themeLight_1rsg9c6_17._modeClassic_1rsg9c6_93 ._mark_1rsg9c6_146{
|
|
183
183
|
border:solid 2px #167DFF;
|
|
184
184
|
border:solid 2px var(--rs-color-primary-light-theme, #167DFF);
|
|
185
185
|
}
|
|
186
|
-
.
|
|
186
|
+
._themeDark_1rsg9c6_21._modeClassic_1rsg9c6_93 ._mark_1rsg9c6_146{
|
|
187
187
|
border:solid 2px #4CA6ff;
|
|
188
188
|
border:solid 2px var(--rs-color-primary-dark-theme, #4CA6ff);
|
|
189
189
|
}
|
|
190
|
-
.
|
|
190
|
+
._themeLight_1rsg9c6_17._modeRock_1rsg9c6_99 ._mark_1rsg9c6_146{
|
|
191
191
|
border:solid 2px #19191C;
|
|
192
192
|
}
|
|
193
|
-
.
|
|
193
|
+
._themeDark_1rsg9c6_21._modeRock_1rsg9c6_99 ._mark_1rsg9c6_146{
|
|
194
194
|
border:solid 2px #FFFFFF;
|
|
195
195
|
}
|
|
196
|
-
.
|
|
196
|
+
._sizeL_1rsg9c6_25 ._mark_1rsg9c6_146{
|
|
197
197
|
border-radius:36px;
|
|
198
198
|
}
|
|
199
|
-
.
|
|
199
|
+
._sizeXS_1rsg9c6_29 ._mark_1rsg9c6_146{
|
|
200
200
|
border-radius:4px;
|
|
201
201
|
}
|
|
202
|
-
.
|
|
202
|
+
._themeLight_1rsg9c6_17._disabled_1rsg9c6_72 ._mark_1rsg9c6_146{
|
|
203
203
|
border:solid 2px rgba(25,25,28,0.4);
|
|
204
204
|
}
|
|
205
|
-
.
|
|
205
|
+
._themeDark_1rsg9c6_21._disabled_1rsg9c6_72 ._mark_1rsg9c6_146{
|
|
206
206
|
border:solid 2px rgba(255,255,255,0.2);
|
|
207
207
|
}
|
package/lib/index.module.pcss.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
var styles = {
|
|
2
|
-
"switcher": "
|
|
3
|
-
"themeLight": "
|
|
4
|
-
"themeDark": "
|
|
5
|
-
"sizeL": "
|
|
6
|
-
"sizeXS": "
|
|
7
|
-
"option": "
|
|
8
|
-
"sizeM": "
|
|
9
|
-
"rs-reset-letter-spacing": "_rs-reset-letter-
|
|
10
|
-
"sizeS": "
|
|
11
|
-
"disabled": "
|
|
12
|
-
"selected": "
|
|
13
|
-
"modeClassic": "
|
|
14
|
-
"modeRock": "
|
|
15
|
-
"mark": "
|
|
2
|
+
"switcher": "_switcher_1rsg9c6_4",
|
|
3
|
+
"themeLight": "_themeLight_1rsg9c6_17",
|
|
4
|
+
"themeDark": "_themeDark_1rsg9c6_21",
|
|
5
|
+
"sizeL": "_sizeL_1rsg9c6_25",
|
|
6
|
+
"sizeXS": "_sizeXS_1rsg9c6_29",
|
|
7
|
+
"option": "_option_1rsg9c6_33",
|
|
8
|
+
"sizeM": "_sizeM_1rsg9c6_56",
|
|
9
|
+
"rs-reset-letter-spacing": "_rs-reset-letter-spacing_1rsg9c6_1",
|
|
10
|
+
"sizeS": "_sizeS_1rsg9c6_61",
|
|
11
|
+
"disabled": "_disabled_1rsg9c6_72",
|
|
12
|
+
"selected": "_selected_1rsg9c6_85",
|
|
13
|
+
"modeClassic": "_modeClassic_1rsg9c6_93",
|
|
14
|
+
"modeRock": "_modeRock_1rsg9c6_99",
|
|
15
|
+
"mark": "_mark_1rsg9c6_146"
|
|
16
16
|
};
|
|
17
17
|
export default styles;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rescui/switcher",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "JetBrains",
|
|
@@ -28,10 +28,10 @@
|
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@rescui/colors": "^0.0.6",
|
|
30
30
|
"@rescui/scripts": "^0.1.4",
|
|
31
|
-
"@rescui/typography": "^0.
|
|
31
|
+
"@rescui/typography": "^0.5.0"
|
|
32
32
|
},
|
|
33
33
|
"scripts": {
|
|
34
34
|
"build": "rescui-scripts build"
|
|
35
35
|
},
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "f07b6abc886028f74f129d1d7bfbf8fcfa5825af"
|
|
37
37
|
}
|