@rescui/switcher 0.3.5 → 0.3.6

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 CHANGED
@@ -1,4 +1,4 @@
1
- ._switcher_f27dmz_4{
1
+ ._switcher_17gxdx9_4{
2
2
  position:relative;
3
3
 
4
4
  display:-webkit-inline-box;
@@ -15,21 +15,21 @@
15
15
 
16
16
  background:transparent;
17
17
  }
18
- ._themeLight_f27dmz_16{
18
+ ._themeLight_17gxdx9_16{
19
19
  -webkit-box-shadow:inset rgba(25,25,28,0.4) 0 0 0 1px;
20
20
  box-shadow:inset rgba(25,25,28,0.4) 0 0 0 1px;
21
21
  }
22
- ._themeDark_f27dmz_20{
22
+ ._themeDark_17gxdx9_20{
23
23
  -webkit-box-shadow:inset rgba(255,255,255,0.5) 0 0 0 1px;
24
24
  box-shadow:inset rgba(255,255,255,0.5) 0 0 0 1px;
25
25
  }
26
- ._sizeL_f27dmz_24{
26
+ ._sizeL_17gxdx9_24{
27
27
  border-radius:36px;
28
28
  }
29
- ._sizeXS_f27dmz_28{
29
+ ._sizeXS_17gxdx9_28{
30
30
  border-radius:4px;
31
31
  }
32
- ._option_f27dmz_32{
32
+ ._option_17gxdx9_32{
33
33
  position:relative;
34
34
  -webkit-appearance:none;
35
35
  -moz-appearance:none;
@@ -49,7 +49,7 @@
49
49
 
50
50
  background:transparent;
51
51
  }
52
- ._sizeL_f27dmz_24 ._option_f27dmz_32{
52
+ ._sizeL_17gxdx9_24 ._option_17gxdx9_32{
53
53
  padding:12px 32px;
54
54
  font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
55
55
  font-family:var(--rs-font-family-ui, var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif));
@@ -62,7 +62,7 @@
62
62
  line-height:var(--rs-text-1-line-height, 28px);
63
63
  border-radius:36px;
64
64
  }
65
- ._sizeM_f27dmz_55 ._option_f27dmz_32{
65
+ ._sizeM_17gxdx9_55 ._option_17gxdx9_32{
66
66
  padding:8px 24px;
67
67
  letter-spacing:0.0015em;
68
68
  font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
@@ -75,10 +75,10 @@
75
75
  line-height:24px;
76
76
  line-height:var(--rs-text-2-line-height, 24px);
77
77
  }
78
- ._rs-reset-letter-spacing_f27dmz_1 ._sizeM_f27dmz_55 ._option_f27dmz_32{
78
+ ._rs-reset-letter-spacing_17gxdx9_1 ._sizeM_17gxdx9_55 ._option_17gxdx9_32{
79
79
  letter-spacing:normal;
80
80
  }
81
- ._sizeS_f27dmz_60 ._option_f27dmz_32{
81
+ ._sizeS_17gxdx9_60 ._option_17gxdx9_32{
82
82
  padding:6px 16px;
83
83
  letter-spacing:0.0015em;
84
84
  font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
@@ -91,10 +91,10 @@
91
91
  line-height:24px;
92
92
  line-height:var(--rs-text-2-line-height, 24px);
93
93
  }
94
- ._rs-reset-letter-spacing_f27dmz_1 ._sizeS_f27dmz_60 ._option_f27dmz_32{
94
+ ._rs-reset-letter-spacing_17gxdx9_1 ._sizeS_17gxdx9_60 ._option_17gxdx9_32{
95
95
  letter-spacing:normal;
96
96
  }
97
- ._sizeXS_f27dmz_28 ._option_f27dmz_32{
97
+ ._sizeXS_17gxdx9_28 ._option_17gxdx9_32{
98
98
  padding:2px 12px;
99
99
  letter-spacing:0.0045em;
100
100
  font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
@@ -106,68 +106,68 @@
106
106
  line-height:20px;
107
107
  line-height:var(--rs-text-3-line-height, 20px);
108
108
  }
109
- ._rs-reset-letter-spacing_f27dmz_1 ._sizeXS_f27dmz_28 ._option_f27dmz_32{
109
+ ._rs-reset-letter-spacing_17gxdx9_1 ._sizeXS_17gxdx9_28 ._option_17gxdx9_32{
110
110
  letter-spacing:normal;
111
111
  }
112
- ._sizeXS_f27dmz_28 ._option_f27dmz_32 {
112
+ ._sizeXS_17gxdx9_28 ._option_17gxdx9_32 {
113
113
  border-radius:4px;
114
114
  }
115
- ._disabled_f27dmz_71 ._option_f27dmz_32{
115
+ ._disabled_17gxdx9_71 ._option_17gxdx9_32{
116
116
  cursor:not-allowed;
117
117
  pointer-events:none;
118
118
  }
119
- ._themeLight_f27dmz_16 ._option_f27dmz_32{
119
+ ._themeLight_17gxdx9_16 ._option_17gxdx9_32{
120
120
  color:#19191C;
121
121
  }
122
- ._themeLight_f27dmz_16 ._option_f27dmz_32:focus[data-focus-method='key']{
122
+ ._themeLight_17gxdx9_16 ._option_17gxdx9_32:focus[data-focus-method='key']{
123
123
  -webkit-box-shadow:rgba(107, 87, 255, 0.8) 0 0 0 4px;
124
124
  -webkit-box-shadow:var(--rs-color-primary-t-dim-light-theme, rgba(107, 87, 255, 0.8)) 0 0 0 4px;
125
125
  box-shadow:rgba(107, 87, 255, 0.8) 0 0 0 4px;
126
126
  box-shadow:var(--rs-color-primary-t-dim-light-theme, rgba(107, 87, 255, 0.8)) 0 0 0 4px;
127
127
  }
128
- ._themeLight_f27dmz_16 ._option_f27dmz_32._selected_f27dmz_84:hover, ._themeLight_f27dmz_16 ._option_f27dmz_32._selected_f27dmz_84:active{
128
+ ._themeLight_17gxdx9_16 ._option_17gxdx9_32._selected_17gxdx9_84:hover, ._themeLight_17gxdx9_16 ._option_17gxdx9_32._selected_17gxdx9_84:active{
129
129
  background:transparent;
130
130
  cursor:default;
131
131
  }
132
- ._themeLight_f27dmz_16._modeClassic_f27dmz_92 ._option_f27dmz_32:hover{
132
+ ._themeLight_17gxdx9_16._modeClassic_17gxdx9_92 ._option_17gxdx9_32:hover{
133
133
  background:rgba(107, 87, 255,0.2);
134
134
  background:var(--rs-color-primary-t-fog-light-theme, rgba(107, 87, 255,0.2));
135
135
  }
136
- ._themeLight_f27dmz_16._modeRock_f27dmz_98 ._option_f27dmz_32:hover{
136
+ ._themeLight_17gxdx9_16._modeRock_17gxdx9_98 ._option_17gxdx9_32:hover{
137
137
  background:rgba(25,25,28,0.1);
138
138
  }
139
- ._disabled_f27dmz_71._themeLight_f27dmz_16 ._option_f27dmz_32,
140
- ._disabled_f27dmz_71._themeLight_f27dmz_16 ._option_f27dmz_32._selected_f27dmz_84{
139
+ ._disabled_17gxdx9_71._themeLight_17gxdx9_16 ._option_17gxdx9_32,
140
+ ._disabled_17gxdx9_71._themeLight_17gxdx9_16 ._option_17gxdx9_32._selected_17gxdx9_84{
141
141
  color:rgba(25,25,28,0.4);
142
142
  }
143
- ._themeDark_f27dmz_20 ._option_f27dmz_32{
143
+ ._themeDark_17gxdx9_20 ._option_17gxdx9_32{
144
144
  color:#FFFFFF;
145
145
  }
146
- ._themeDark_f27dmz_20 ._option_f27dmz_32:hover{
146
+ ._themeDark_17gxdx9_20 ._option_17gxdx9_32:hover{
147
147
  background:rgba(255,255,255,0.1);
148
148
  }
149
- ._themeDark_f27dmz_20 ._option_f27dmz_32:focus[data-focus-method='key']{
149
+ ._themeDark_17gxdx9_20 ._option_17gxdx9_32:focus[data-focus-method='key']{
150
150
  -webkit-box-shadow:rgba(132, 115, 255,0.8) 0 0 0 4px;
151
151
  -webkit-box-shadow:var(--rs-color-primary-t-dim-dark-theme, rgba(132, 115, 255,0.8)) 0 0 0 4px;
152
152
  box-shadow:rgba(132, 115, 255,0.8) 0 0 0 4px;
153
153
  box-shadow:var(--rs-color-primary-t-dim-dark-theme, rgba(132, 115, 255,0.8)) 0 0 0 4px;
154
154
  }
155
- ._themeDark_f27dmz_20 ._option_f27dmz_32._selected_f27dmz_84:hover, ._themeDark_f27dmz_20 ._option_f27dmz_32._selected_f27dmz_84:active{
155
+ ._themeDark_17gxdx9_20 ._option_17gxdx9_32._selected_17gxdx9_84:hover, ._themeDark_17gxdx9_20 ._option_17gxdx9_32._selected_17gxdx9_84:active{
156
156
  background:transparent;
157
157
  cursor:default;
158
158
  }
159
- ._themeDark_f27dmz_20._modeClassic_f27dmz_92 ._option_f27dmz_32:hover{
159
+ ._themeDark_17gxdx9_20._modeClassic_17gxdx9_92 ._option_17gxdx9_32:hover{
160
160
  background:rgba(132, 115, 255,0.3);
161
161
  background:var(--rs-color-primary-t-fog-dark-theme, rgba(132, 115, 255,0.3));
162
162
  }
163
- ._themeDark_f27dmz_20._modeRock_f27dmz_98 ._option_f27dmz_32:hover{
163
+ ._themeDark_17gxdx9_20._modeRock_17gxdx9_98 ._option_17gxdx9_32:hover{
164
164
  background:rgba(255,255,255,0.1);
165
165
  }
166
- ._disabled_f27dmz_71._themeDark_f27dmz_20 ._option_f27dmz_32,
167
- ._disabled_f27dmz_71._themeDark_f27dmz_20 ._option_f27dmz_32._selected_f27dmz_84{
166
+ ._disabled_17gxdx9_71._themeDark_17gxdx9_20 ._option_17gxdx9_32,
167
+ ._disabled_17gxdx9_71._themeDark_17gxdx9_20 ._option_17gxdx9_32._selected_17gxdx9_84{
168
168
  color:rgba(255,255,255,0.2);
169
169
  }
170
- ._mark_f27dmz_145{
170
+ ._mark_17gxdx9_145{
171
171
  position:absolute;
172
172
  top:0;
173
173
  bottom:0;
@@ -178,29 +178,29 @@
178
178
  -webkit-transition:all 0.3s;
179
179
  transition:all 0.3s;
180
180
  }
181
- ._themeLight_f27dmz_16._modeClassic_f27dmz_92 ._mark_f27dmz_145{
181
+ ._themeLight_17gxdx9_16._modeClassic_17gxdx9_92 ._mark_17gxdx9_145{
182
182
  border:solid 2px #6B57FF;
183
183
  border:solid 2px var(--rs-color-primary-light-theme, #6B57FF);
184
184
  }
185
- ._themeDark_f27dmz_20._modeClassic_f27dmz_92 ._mark_f27dmz_145{
185
+ ._themeDark_17gxdx9_20._modeClassic_17gxdx9_92 ._mark_17gxdx9_145{
186
186
  border:solid 2px #8473FF;
187
187
  border:solid 2px var(--rs-color-primary-dark-theme, #8473FF);
188
188
  }
189
- ._themeLight_f27dmz_16._modeRock_f27dmz_98 ._mark_f27dmz_145{
189
+ ._themeLight_17gxdx9_16._modeRock_17gxdx9_98 ._mark_17gxdx9_145{
190
190
  border:solid 2px #19191C;
191
191
  }
192
- ._themeDark_f27dmz_20._modeRock_f27dmz_98 ._mark_f27dmz_145{
192
+ ._themeDark_17gxdx9_20._modeRock_17gxdx9_98 ._mark_17gxdx9_145{
193
193
  border:solid 2px #FFFFFF;
194
194
  }
195
- ._sizeL_f27dmz_24 ._mark_f27dmz_145{
195
+ ._sizeL_17gxdx9_24 ._mark_17gxdx9_145{
196
196
  border-radius:36px;
197
197
  }
198
- ._sizeXS_f27dmz_28 ._mark_f27dmz_145{
198
+ ._sizeXS_17gxdx9_28 ._mark_17gxdx9_145{
199
199
  border-radius:4px;
200
200
  }
201
- ._themeLight_f27dmz_16._disabled_f27dmz_71 ._mark_f27dmz_145{
201
+ ._themeLight_17gxdx9_16._disabled_17gxdx9_71 ._mark_17gxdx9_145{
202
202
  border:solid 2px rgba(25,25,28,0.4);
203
203
  }
204
- ._themeDark_f27dmz_20._disabled_f27dmz_71 ._mark_f27dmz_145{
204
+ ._themeDark_17gxdx9_20._disabled_17gxdx9_71 ._mark_17gxdx9_145{
205
205
  border:solid 2px rgba(255,255,255,0.2);
206
206
  }
@@ -1,17 +1,17 @@
1
1
  var styles = {
2
- "switcher": "_switcher_f27dmz_4",
3
- "themeLight": "_themeLight_f27dmz_16",
4
- "themeDark": "_themeDark_f27dmz_20",
5
- "sizeL": "_sizeL_f27dmz_24",
6
- "sizeXS": "_sizeXS_f27dmz_28",
7
- "option": "_option_f27dmz_32",
8
- "sizeM": "_sizeM_f27dmz_55",
9
- "rs-reset-letter-spacing": "_rs-reset-letter-spacing_f27dmz_1",
10
- "sizeS": "_sizeS_f27dmz_60",
11
- "disabled": "_disabled_f27dmz_71",
12
- "selected": "_selected_f27dmz_84",
13
- "modeClassic": "_modeClassic_f27dmz_92",
14
- "modeRock": "_modeRock_f27dmz_98",
15
- "mark": "_mark_f27dmz_145"
2
+ "switcher": "_switcher_17gxdx9_4",
3
+ "themeLight": "_themeLight_17gxdx9_16",
4
+ "themeDark": "_themeDark_17gxdx9_20",
5
+ "sizeL": "_sizeL_17gxdx9_24",
6
+ "sizeXS": "_sizeXS_17gxdx9_28",
7
+ "option": "_option_17gxdx9_32",
8
+ "sizeM": "_sizeM_17gxdx9_55",
9
+ "rs-reset-letter-spacing": "_rs-reset-letter-spacing_17gxdx9_1",
10
+ "sizeS": "_sizeS_17gxdx9_60",
11
+ "disabled": "_disabled_17gxdx9_71",
12
+ "selected": "_selected_17gxdx9_84",
13
+ "modeClassic": "_modeClassic_17gxdx9_92",
14
+ "modeRock": "_modeRock_17gxdx9_98",
15
+ "mark": "_mark_17gxdx9_145"
16
16
  };
17
17
  export { styles as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rescui/switcher",
3
- "version": "0.3.5",
3
+ "version": "0.3.6",
4
4
  "description": "",
5
5
  "license": "Apache-2.0",
6
6
  "author": "JetBrains",
@@ -26,12 +26,12 @@
26
26
  "react": ">=16.8.0 <18"
27
27
  },
28
28
  "devDependencies": {
29
- "@rescui/colors": "^0.1.4",
29
+ "@rescui/colors": "^0.1.5",
30
30
  "@rescui/scripts": "^0.1.7",
31
- "@rescui/typography": "^0.8.2"
31
+ "@rescui/typography": "^0.8.3"
32
32
  },
33
33
  "scripts": {
34
34
  "build": "rescui-scripts build"
35
35
  },
36
- "gitHead": "399d5bcaf892b517a4b5d8108d509ed6549629f2"
36
+ "gitHead": "20a2d86279a96ad1375a69513d550bdc983f9616"
37
37
  }