@rescui/switcher 0.3.4 → 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_15rgjqe_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_15rgjqe_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_15rgjqe_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_15rgjqe_24{
26
+ ._sizeL_17gxdx9_24{
27
27
  border-radius:36px;
28
28
  }
29
- ._sizeXS_15rgjqe_28{
29
+ ._sizeXS_17gxdx9_28{
30
30
  border-radius:4px;
31
31
  }
32
- ._option_15rgjqe_32{
32
+ ._option_17gxdx9_32{
33
33
  position:relative;
34
34
  -webkit-appearance:none;
35
35
  -moz-appearance:none;
@@ -49,10 +49,12 @@
49
49
 
50
50
  background:transparent;
51
51
  }
52
- ._sizeL_15rgjqe_24 ._option_15rgjqe_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));
56
+ -webkit-font-feature-settings:"kern", "liga", "calt";
57
+ font-feature-settings:"kern", "liga", "calt";
56
58
  font-size:19px;
57
59
  font-size:var(--rs-text-1-font-size, 19px);
58
60
  font-weight:normal;
@@ -60,106 +62,112 @@
60
62
  line-height:var(--rs-text-1-line-height, 28px);
61
63
  border-radius:36px;
62
64
  }
63
- ._sizeM_15rgjqe_55 ._option_15rgjqe_32{
65
+ ._sizeM_17gxdx9_55 ._option_17gxdx9_32{
64
66
  padding:8px 24px;
65
67
  letter-spacing:0.0015em;
66
68
  font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
67
69
  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));
70
+ -webkit-font-feature-settings:"kern", "liga", "calt";
71
+ font-feature-settings:"kern", "liga", "calt";
68
72
  font-size:16px;
69
73
  font-size:var(--rs-text-2-font-size, 16px);
70
74
  font-weight:400;
71
75
  line-height:24px;
72
76
  line-height:var(--rs-text-2-line-height, 24px);
73
77
  }
74
- ._rs-reset-letter-spacing_15rgjqe_1 ._sizeM_15rgjqe_55 ._option_15rgjqe_32{
78
+ ._rs-reset-letter-spacing_17gxdx9_1 ._sizeM_17gxdx9_55 ._option_17gxdx9_32{
75
79
  letter-spacing:normal;
76
80
  }
77
- ._sizeS_15rgjqe_60 ._option_15rgjqe_32{
81
+ ._sizeS_17gxdx9_60 ._option_17gxdx9_32{
78
82
  padding:6px 16px;
79
83
  letter-spacing:0.0015em;
80
84
  font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
81
85
  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));
86
+ -webkit-font-feature-settings:"kern", "liga", "calt";
87
+ font-feature-settings:"kern", "liga", "calt";
82
88
  font-size:16px;
83
89
  font-size:var(--rs-text-2-font-size, 16px);
84
90
  font-weight:400;
85
91
  line-height:24px;
86
92
  line-height:var(--rs-text-2-line-height, 24px);
87
93
  }
88
- ._rs-reset-letter-spacing_15rgjqe_1 ._sizeS_15rgjqe_60 ._option_15rgjqe_32{
94
+ ._rs-reset-letter-spacing_17gxdx9_1 ._sizeS_17gxdx9_60 ._option_17gxdx9_32{
89
95
  letter-spacing:normal;
90
96
  }
91
- ._sizeXS_15rgjqe_28 ._option_15rgjqe_32{
97
+ ._sizeXS_17gxdx9_28 ._option_17gxdx9_32{
92
98
  padding:2px 12px;
93
99
  letter-spacing:0.0045em;
94
100
  font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
95
101
  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));
102
+ -webkit-font-feature-settings:"kern", "liga", "calt";
103
+ font-feature-settings:"kern", "liga", "calt";
96
104
  font-size:13px;
97
105
  font-size:var(--rs-text-3-font-size, 13px);
98
106
  line-height:20px;
99
107
  line-height:var(--rs-text-3-line-height, 20px);
100
108
  }
101
- ._rs-reset-letter-spacing_15rgjqe_1 ._sizeXS_15rgjqe_28 ._option_15rgjqe_32{
109
+ ._rs-reset-letter-spacing_17gxdx9_1 ._sizeXS_17gxdx9_28 ._option_17gxdx9_32{
102
110
  letter-spacing:normal;
103
111
  }
104
- ._sizeXS_15rgjqe_28 ._option_15rgjqe_32 {
112
+ ._sizeXS_17gxdx9_28 ._option_17gxdx9_32 {
105
113
  border-radius:4px;
106
114
  }
107
- ._disabled_15rgjqe_71 ._option_15rgjqe_32{
115
+ ._disabled_17gxdx9_71 ._option_17gxdx9_32{
108
116
  cursor:not-allowed;
109
117
  pointer-events:none;
110
118
  }
111
- ._themeLight_15rgjqe_16 ._option_15rgjqe_32{
119
+ ._themeLight_17gxdx9_16 ._option_17gxdx9_32{
112
120
  color:#19191C;
113
121
  }
114
- ._themeLight_15rgjqe_16 ._option_15rgjqe_32:focus[data-focus-method='key']{
122
+ ._themeLight_17gxdx9_16 ._option_17gxdx9_32:focus[data-focus-method='key']{
115
123
  -webkit-box-shadow:rgba(107, 87, 255, 0.8) 0 0 0 4px;
116
124
  -webkit-box-shadow:var(--rs-color-primary-t-dim-light-theme, rgba(107, 87, 255, 0.8)) 0 0 0 4px;
117
125
  box-shadow:rgba(107, 87, 255, 0.8) 0 0 0 4px;
118
126
  box-shadow:var(--rs-color-primary-t-dim-light-theme, rgba(107, 87, 255, 0.8)) 0 0 0 4px;
119
127
  }
120
- ._themeLight_15rgjqe_16 ._option_15rgjqe_32._selected_15rgjqe_84:hover, ._themeLight_15rgjqe_16 ._option_15rgjqe_32._selected_15rgjqe_84:active{
128
+ ._themeLight_17gxdx9_16 ._option_17gxdx9_32._selected_17gxdx9_84:hover, ._themeLight_17gxdx9_16 ._option_17gxdx9_32._selected_17gxdx9_84:active{
121
129
  background:transparent;
122
130
  cursor:default;
123
131
  }
124
- ._themeLight_15rgjqe_16._modeClassic_15rgjqe_92 ._option_15rgjqe_32:hover{
132
+ ._themeLight_17gxdx9_16._modeClassic_17gxdx9_92 ._option_17gxdx9_32:hover{
125
133
  background:rgba(107, 87, 255,0.2);
126
134
  background:var(--rs-color-primary-t-fog-light-theme, rgba(107, 87, 255,0.2));
127
135
  }
128
- ._themeLight_15rgjqe_16._modeRock_15rgjqe_98 ._option_15rgjqe_32:hover{
136
+ ._themeLight_17gxdx9_16._modeRock_17gxdx9_98 ._option_17gxdx9_32:hover{
129
137
  background:rgba(25,25,28,0.1);
130
138
  }
131
- ._disabled_15rgjqe_71._themeLight_15rgjqe_16 ._option_15rgjqe_32,
132
- ._disabled_15rgjqe_71._themeLight_15rgjqe_16 ._option_15rgjqe_32._selected_15rgjqe_84{
139
+ ._disabled_17gxdx9_71._themeLight_17gxdx9_16 ._option_17gxdx9_32,
140
+ ._disabled_17gxdx9_71._themeLight_17gxdx9_16 ._option_17gxdx9_32._selected_17gxdx9_84{
133
141
  color:rgba(25,25,28,0.4);
134
142
  }
135
- ._themeDark_15rgjqe_20 ._option_15rgjqe_32{
143
+ ._themeDark_17gxdx9_20 ._option_17gxdx9_32{
136
144
  color:#FFFFFF;
137
145
  }
138
- ._themeDark_15rgjqe_20 ._option_15rgjqe_32:hover{
146
+ ._themeDark_17gxdx9_20 ._option_17gxdx9_32:hover{
139
147
  background:rgba(255,255,255,0.1);
140
148
  }
141
- ._themeDark_15rgjqe_20 ._option_15rgjqe_32:focus[data-focus-method='key']{
149
+ ._themeDark_17gxdx9_20 ._option_17gxdx9_32:focus[data-focus-method='key']{
142
150
  -webkit-box-shadow:rgba(132, 115, 255,0.8) 0 0 0 4px;
143
151
  -webkit-box-shadow:var(--rs-color-primary-t-dim-dark-theme, rgba(132, 115, 255,0.8)) 0 0 0 4px;
144
152
  box-shadow:rgba(132, 115, 255,0.8) 0 0 0 4px;
145
153
  box-shadow:var(--rs-color-primary-t-dim-dark-theme, rgba(132, 115, 255,0.8)) 0 0 0 4px;
146
154
  }
147
- ._themeDark_15rgjqe_20 ._option_15rgjqe_32._selected_15rgjqe_84:hover, ._themeDark_15rgjqe_20 ._option_15rgjqe_32._selected_15rgjqe_84:active{
155
+ ._themeDark_17gxdx9_20 ._option_17gxdx9_32._selected_17gxdx9_84:hover, ._themeDark_17gxdx9_20 ._option_17gxdx9_32._selected_17gxdx9_84:active{
148
156
  background:transparent;
149
157
  cursor:default;
150
158
  }
151
- ._themeDark_15rgjqe_20._modeClassic_15rgjqe_92 ._option_15rgjqe_32:hover{
159
+ ._themeDark_17gxdx9_20._modeClassic_17gxdx9_92 ._option_17gxdx9_32:hover{
152
160
  background:rgba(132, 115, 255,0.3);
153
161
  background:var(--rs-color-primary-t-fog-dark-theme, rgba(132, 115, 255,0.3));
154
162
  }
155
- ._themeDark_15rgjqe_20._modeRock_15rgjqe_98 ._option_15rgjqe_32:hover{
163
+ ._themeDark_17gxdx9_20._modeRock_17gxdx9_98 ._option_17gxdx9_32:hover{
156
164
  background:rgba(255,255,255,0.1);
157
165
  }
158
- ._disabled_15rgjqe_71._themeDark_15rgjqe_20 ._option_15rgjqe_32,
159
- ._disabled_15rgjqe_71._themeDark_15rgjqe_20 ._option_15rgjqe_32._selected_15rgjqe_84{
166
+ ._disabled_17gxdx9_71._themeDark_17gxdx9_20 ._option_17gxdx9_32,
167
+ ._disabled_17gxdx9_71._themeDark_17gxdx9_20 ._option_17gxdx9_32._selected_17gxdx9_84{
160
168
  color:rgba(255,255,255,0.2);
161
169
  }
162
- ._mark_15rgjqe_145{
170
+ ._mark_17gxdx9_145{
163
171
  position:absolute;
164
172
  top:0;
165
173
  bottom:0;
@@ -170,29 +178,29 @@
170
178
  -webkit-transition:all 0.3s;
171
179
  transition:all 0.3s;
172
180
  }
173
- ._themeLight_15rgjqe_16._modeClassic_15rgjqe_92 ._mark_15rgjqe_145{
181
+ ._themeLight_17gxdx9_16._modeClassic_17gxdx9_92 ._mark_17gxdx9_145{
174
182
  border:solid 2px #6B57FF;
175
183
  border:solid 2px var(--rs-color-primary-light-theme, #6B57FF);
176
184
  }
177
- ._themeDark_15rgjqe_20._modeClassic_15rgjqe_92 ._mark_15rgjqe_145{
185
+ ._themeDark_17gxdx9_20._modeClassic_17gxdx9_92 ._mark_17gxdx9_145{
178
186
  border:solid 2px #8473FF;
179
187
  border:solid 2px var(--rs-color-primary-dark-theme, #8473FF);
180
188
  }
181
- ._themeLight_15rgjqe_16._modeRock_15rgjqe_98 ._mark_15rgjqe_145{
189
+ ._themeLight_17gxdx9_16._modeRock_17gxdx9_98 ._mark_17gxdx9_145{
182
190
  border:solid 2px #19191C;
183
191
  }
184
- ._themeDark_15rgjqe_20._modeRock_15rgjqe_98 ._mark_15rgjqe_145{
192
+ ._themeDark_17gxdx9_20._modeRock_17gxdx9_98 ._mark_17gxdx9_145{
185
193
  border:solid 2px #FFFFFF;
186
194
  }
187
- ._sizeL_15rgjqe_24 ._mark_15rgjqe_145{
195
+ ._sizeL_17gxdx9_24 ._mark_17gxdx9_145{
188
196
  border-radius:36px;
189
197
  }
190
- ._sizeXS_15rgjqe_28 ._mark_15rgjqe_145{
198
+ ._sizeXS_17gxdx9_28 ._mark_17gxdx9_145{
191
199
  border-radius:4px;
192
200
  }
193
- ._themeLight_15rgjqe_16._disabled_15rgjqe_71 ._mark_15rgjqe_145{
201
+ ._themeLight_17gxdx9_16._disabled_17gxdx9_71 ._mark_17gxdx9_145{
194
202
  border:solid 2px rgba(25,25,28,0.4);
195
203
  }
196
- ._themeDark_15rgjqe_20._disabled_15rgjqe_71 ._mark_15rgjqe_145{
204
+ ._themeDark_17gxdx9_20._disabled_17gxdx9_71 ._mark_17gxdx9_145{
197
205
  border:solid 2px rgba(255,255,255,0.2);
198
206
  }
@@ -1,17 +1,17 @@
1
1
  var styles = {
2
- "switcher": "_switcher_15rgjqe_4",
3
- "themeLight": "_themeLight_15rgjqe_16",
4
- "themeDark": "_themeDark_15rgjqe_20",
5
- "sizeL": "_sizeL_15rgjqe_24",
6
- "sizeXS": "_sizeXS_15rgjqe_28",
7
- "option": "_option_15rgjqe_32",
8
- "sizeM": "_sizeM_15rgjqe_55",
9
- "rs-reset-letter-spacing": "_rs-reset-letter-spacing_15rgjqe_1",
10
- "sizeS": "_sizeS_15rgjqe_60",
11
- "disabled": "_disabled_15rgjqe_71",
12
- "selected": "_selected_15rgjqe_84",
13
- "modeClassic": "_modeClassic_15rgjqe_92",
14
- "modeRock": "_modeRock_15rgjqe_98",
15
- "mark": "_mark_15rgjqe_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.4",
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.1"
31
+ "@rescui/typography": "^0.8.3"
32
32
  },
33
33
  "scripts": {
34
34
  "build": "rescui-scripts build"
35
35
  },
36
- "gitHead": "171f3f3ab932e9819d381600180e5588790cdc53"
36
+ "gitHead": "20a2d86279a96ad1375a69513d550bdc983f9616"
37
37
  }