@rescui/tab-list 0.3.0 → 0.6.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 +83 -467
- package/lib/index.d.ts +0 -2
- package/lib/index.js +0 -2
- package/lib/parts/separator.module.pcss.js +3 -3
- package/lib/parts/tab-list-context.js +1 -0
- package/lib/parts/tab-list.module.pcss.js +18 -18
- package/lib/parts/with-scroll-arrows.module.pcss.js +10 -10
- package/package.json +7 -7
- package/lib/parts/chip-list-context.d.ts +0 -8
- package/lib/parts/chip-list-context.js +0 -11
- package/lib/parts/chip-list.d.ts +0 -32
- package/lib/parts/chip-list.js +0 -58
- package/lib/parts/chip-list.module.pcss.js +0 -21
- package/lib/parts/chip.d.ts +0 -26
- package/lib/parts/chip.js +0 -81
package/lib/index.css
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
.
|
|
1
|
+
._wrapper_1v89lst_9{
|
|
2
2
|
position:relative;
|
|
3
3
|
}
|
|
4
|
-
.
|
|
4
|
+
._tabsContainer_1v89lst_13{
|
|
5
5
|
position:relative;
|
|
6
6
|
|
|
7
7
|
display:-webkit-box;
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
display:flex;
|
|
12
12
|
}
|
|
13
|
-
.
|
|
13
|
+
._indicator_1v89lst_19{
|
|
14
14
|
position:absolute;
|
|
15
15
|
z-index:3;
|
|
16
16
|
bottom:0;
|
|
@@ -25,21 +25,21 @@
|
|
|
25
25
|
width 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
|
26
26
|
will-change:left, width;
|
|
27
27
|
}
|
|
28
|
-
.
|
|
28
|
+
._light_1v89lst_31._classic_1v89lst_31 ._indicator_1v89lst_19{
|
|
29
29
|
background-color:#167DFF;
|
|
30
30
|
background-color:var(--rs-color-primary-light-theme, #167DFF);
|
|
31
31
|
}
|
|
32
|
-
.
|
|
32
|
+
._dark_1v89lst_35._classic_1v89lst_31 ._indicator_1v89lst_19{
|
|
33
33
|
background-color:#4CA6ff;
|
|
34
34
|
background-color:var(--rs-color-primary-dark-theme, #4CA6ff);
|
|
35
35
|
}
|
|
36
|
-
.
|
|
36
|
+
._light_1v89lst_31._rock_1v89lst_39 ._indicator_1v89lst_19{
|
|
37
37
|
background-color:#19191C;
|
|
38
38
|
}
|
|
39
|
-
.
|
|
39
|
+
._dark_1v89lst_35._rock_1v89lst_39 ._indicator_1v89lst_19{
|
|
40
40
|
background-color:#FFFFFF;
|
|
41
41
|
}
|
|
42
|
-
.
|
|
42
|
+
._tab_1v89lst_13{
|
|
43
43
|
position:relative;
|
|
44
44
|
|
|
45
45
|
display:-webkit-box;
|
|
@@ -66,14 +66,14 @@
|
|
|
66
66
|
cursor:pointer;
|
|
67
67
|
white-space:nowrap;
|
|
68
68
|
}
|
|
69
|
-
.
|
|
70
|
-
.
|
|
71
|
-
.
|
|
69
|
+
._tab_1v89lst_13:hover,
|
|
70
|
+
._tab_1v89lst_13:active,
|
|
71
|
+
._tab_1v89lst_13:focus{
|
|
72
72
|
outline:none;
|
|
73
73
|
|
|
74
74
|
text-decoration:none;
|
|
75
75
|
}
|
|
76
|
-
.
|
|
76
|
+
._tab_1v89lst_13:after{
|
|
77
77
|
position:absolute;
|
|
78
78
|
bottom:0;
|
|
79
79
|
left:0;
|
|
@@ -85,13 +85,13 @@
|
|
|
85
85
|
|
|
86
86
|
background-color:transparent;
|
|
87
87
|
}
|
|
88
|
-
.
|
|
88
|
+
._tab_1v89lst_13:after:focus[data-focus-method='key']{
|
|
89
89
|
opacity:0;
|
|
90
90
|
}
|
|
91
|
-
.
|
|
91
|
+
._tab_1v89lst_13:hover:after{
|
|
92
92
|
height:1px;
|
|
93
93
|
}
|
|
94
|
-
.
|
|
94
|
+
._sizeM_1v89lst_99 ._tab_1v89lst_13{
|
|
95
95
|
letter-spacing:0.0015em;
|
|
96
96
|
color:rgba(25,25,28,0.7);
|
|
97
97
|
color:var(--rs-typography-color-average, rgba(25,25,28,0.7));
|
|
@@ -103,13 +103,13 @@
|
|
|
103
103
|
line-height:24px;
|
|
104
104
|
line-height:var(--rs-text-2-line-height, 24px);
|
|
105
105
|
}
|
|
106
|
-
._rs-reset-letter-
|
|
106
|
+
._rs-reset-letter-spacing_1v89lst_1 ._sizeM_1v89lst_99 ._tab_1v89lst_13{
|
|
107
107
|
letter-spacing:normal;
|
|
108
108
|
}
|
|
109
|
-
.
|
|
109
|
+
._sizeM_1v89lst_99 ._tab_1v89lst_13 {
|
|
110
110
|
padding:8px 0;
|
|
111
111
|
}
|
|
112
|
-
.
|
|
112
|
+
._sizeL_1v89lst_104 ._tab_1v89lst_13{
|
|
113
113
|
color:rgba(25,25,28,0.7);
|
|
114
114
|
color:var(--rs-typography-color-average, rgba(25,25,28,0.7));
|
|
115
115
|
font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
|
|
@@ -121,37 +121,37 @@
|
|
|
121
121
|
line-height:var(--rs-text-1-line-height, 28px);
|
|
122
122
|
padding:12px 0;
|
|
123
123
|
}
|
|
124
|
-
.
|
|
124
|
+
._innerOffsetM_1v89lst_109 ._tab_1v89lst_13{
|
|
125
125
|
margin-left:24px;
|
|
126
126
|
}
|
|
127
127
|
@media screen and (max-width: 640px){
|
|
128
|
-
.
|
|
128
|
+
._innerOffsetM_1v89lst_109 ._tab_1v89lst_13{
|
|
129
129
|
margin-left:16px
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
|
-
.
|
|
132
|
+
._innerOffsetL_1v89lst_117 ._tab_1v89lst_13{
|
|
133
133
|
margin-left:32px;
|
|
134
134
|
}
|
|
135
135
|
@media screen and (max-width: 640px){
|
|
136
|
-
.
|
|
136
|
+
._innerOffsetL_1v89lst_117 ._tab_1v89lst_13{
|
|
137
137
|
margin-left:24px
|
|
138
138
|
}
|
|
139
139
|
}
|
|
140
|
-
.
|
|
140
|
+
._light_1v89lst_31 ._tab_1v89lst_13{
|
|
141
141
|
color:rgba(25,25,28,0.7);
|
|
142
142
|
}
|
|
143
|
-
.
|
|
143
|
+
._dark_1v89lst_35 ._tab_1v89lst_13{
|
|
144
144
|
color:rgba(255,255,255,0.7);
|
|
145
145
|
}
|
|
146
|
-
.
|
|
146
|
+
._light_1v89lst_31 ._tab_1v89lst_13._short_1v89lst_133{
|
|
147
147
|
-webkit-box-shadow:inset 0 -1px 0 rgba(25,25,28,0.3);
|
|
148
148
|
box-shadow:inset 0 -1px 0 rgba(25,25,28,0.3);
|
|
149
149
|
}
|
|
150
|
-
.
|
|
150
|
+
._dark_1v89lst_35 ._tab_1v89lst_13._short_1v89lst_133{
|
|
151
151
|
-webkit-box-shadow:inset 0 -1px 0 rgba(255,255,255,0.4);
|
|
152
152
|
box-shadow:inset 0 -1px 0 rgba(255,255,255,0.4);
|
|
153
153
|
}
|
|
154
|
-
.
|
|
154
|
+
._tab_1v89lst_13._selected_1v89lst_141{
|
|
155
155
|
z-index:1;
|
|
156
156
|
|
|
157
157
|
cursor:default;
|
|
@@ -160,102 +160,110 @@
|
|
|
160
160
|
|
|
161
161
|
transition:color 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
|
162
162
|
}
|
|
163
|
-
.
|
|
163
|
+
._tab_1v89lst_13._selected_1v89lst_141:after{
|
|
164
164
|
height:2px;
|
|
165
165
|
|
|
166
166
|
-webkit-transition:background-color 0ms ease 300ms, height 0ms ease 300ms;
|
|
167
167
|
|
|
168
168
|
transition:background-color 0ms ease 300ms, height 0ms ease 300ms;
|
|
169
169
|
}
|
|
170
|
-
.
|
|
170
|
+
._light_1v89lst_31 ._tab_1v89lst_13:hover{
|
|
171
171
|
color:#19191C;
|
|
172
172
|
}
|
|
173
|
-
.
|
|
173
|
+
._light_1v89lst_31 ._tab_1v89lst_13:hover:after{
|
|
174
174
|
background-color:#19191C;
|
|
175
175
|
}
|
|
176
|
-
.
|
|
176
|
+
._dark_1v89lst_35 ._tab_1v89lst_13:hover{
|
|
177
177
|
color:#FFFFFF;
|
|
178
178
|
}
|
|
179
|
-
.
|
|
179
|
+
._dark_1v89lst_35 ._tab_1v89lst_13:hover:after{
|
|
180
180
|
background-color:#FFFFFF;
|
|
181
181
|
}
|
|
182
|
-
.
|
|
182
|
+
._light_1v89lst_31._rock_1v89lst_39 ._tab_1v89lst_13._selected_1v89lst_141{
|
|
183
183
|
color:#19191C;
|
|
184
184
|
}
|
|
185
|
-
.
|
|
185
|
+
._light_1v89lst_31._rock_1v89lst_39 ._tab_1v89lst_13._selected_1v89lst_141:after{
|
|
186
186
|
background-color:#19191C;
|
|
187
187
|
}
|
|
188
|
-
.
|
|
188
|
+
._dark_1v89lst_35._rock_1v89lst_39 ._tab_1v89lst_13._selected_1v89lst_141{
|
|
189
189
|
color:#FFFFFF;
|
|
190
190
|
}
|
|
191
|
-
.
|
|
191
|
+
._dark_1v89lst_35._rock_1v89lst_39 ._tab_1v89lst_13._selected_1v89lst_141:after{
|
|
192
192
|
background-color:#FFFFFF;
|
|
193
193
|
}
|
|
194
|
-
.
|
|
194
|
+
._light_1v89lst_31._classic_1v89lst_31 ._tab_1v89lst_13._selected_1v89lst_141{
|
|
195
195
|
color:#167DFF;
|
|
196
196
|
color:var(--rs-color-primary-light-theme, #167DFF);
|
|
197
197
|
}
|
|
198
|
-
.
|
|
198
|
+
._light_1v89lst_31._classic_1v89lst_31 ._tab_1v89lst_13._selected_1v89lst_141:after{
|
|
199
199
|
background-color:#167DFF;
|
|
200
200
|
background-color:var(--rs-color-primary-light-theme, #167DFF);
|
|
201
201
|
}
|
|
202
|
-
.
|
|
202
|
+
._dark_1v89lst_35._classic_1v89lst_31 ._tab_1v89lst_13._selected_1v89lst_141{
|
|
203
203
|
color:#4CA6ff;
|
|
204
204
|
color:var(--rs-color-primary-dark-theme, #4CA6ff);
|
|
205
205
|
}
|
|
206
|
-
.
|
|
206
|
+
._dark_1v89lst_35._classic_1v89lst_31 ._tab_1v89lst_13._selected_1v89lst_141:after{
|
|
207
207
|
background-color:#4CA6ff;
|
|
208
208
|
background-color:var(--rs-color-primary-dark-theme, #4CA6ff);
|
|
209
209
|
}
|
|
210
|
-
.
|
|
210
|
+
._light_1v89lst_31 ._tab_1v89lst_13:focus[data-focus-method='key']{
|
|
211
211
|
-webkit-box-shadow:inset #4597ff 0 -4px 0 0, inset #4597ff 0 4px 0 0, #4597ff -4px 0 0 0, #4597ff 4px 0 0 0;
|
|
212
212
|
-webkit-box-shadow:inset var(--rs-color-primary-dim-light-theme, #4597ff) 0 -4px 0 0, inset var(--rs-color-primary-dim-light-theme, #4597ff) 0 4px 0 0, var(--rs-color-primary-dim-light-theme, #4597ff) -4px 0 0 0, var(--rs-color-primary-dim-light-theme, #4597ff) 4px 0 0 0;
|
|
213
213
|
box-shadow:inset #4597ff 0 -4px 0 0, inset #4597ff 0 4px 0 0, #4597ff -4px 0 0 0, #4597ff 4px 0 0 0;
|
|
214
214
|
box-shadow:inset var(--rs-color-primary-dim-light-theme, #4597ff) 0 -4px 0 0, inset var(--rs-color-primary-dim-light-theme, #4597ff) 0 4px 0 0, var(--rs-color-primary-dim-light-theme, #4597ff) -4px 0 0 0, var(--rs-color-primary-dim-light-theme, #4597ff) 4px 0 0 0;
|
|
215
215
|
}
|
|
216
|
-
.
|
|
216
|
+
._light_1v89lst_31 ._tab_1v89lst_13:focus[data-focus-method='key']:after{
|
|
217
217
|
opacity:0;
|
|
218
218
|
}
|
|
219
|
-
.
|
|
219
|
+
._dark_1v89lst_35 ._tab_1v89lst_13:focus[data-focus-method='key']{
|
|
220
220
|
-webkit-box-shadow:inset #428ad2 0 -4px 0 0, inset #428ad2 0 4px 0 0, #428ad2 -4px 0 0 0, #428ad2 4px 0 0 0;
|
|
221
221
|
-webkit-box-shadow:inset var(--rs-color-primary-dim-dark-theme, #428ad2) 0 -4px 0 0, inset var(--rs-color-primary-dim-dark-theme, #428ad2) 0 4px 0 0, var(--rs-color-primary-dim-dark-theme, #428ad2) -4px 0 0 0, var(--rs-color-primary-dim-dark-theme, #428ad2) 4px 0 0 0;
|
|
222
222
|
box-shadow:inset #428ad2 0 -4px 0 0, inset #428ad2 0 4px 0 0, #428ad2 -4px 0 0 0, #428ad2 4px 0 0 0;
|
|
223
223
|
box-shadow:inset var(--rs-color-primary-dim-dark-theme, #428ad2) 0 -4px 0 0, inset var(--rs-color-primary-dim-dark-theme, #428ad2) 0 4px 0 0, var(--rs-color-primary-dim-dark-theme, #428ad2) -4px 0 0 0, var(--rs-color-primary-dim-dark-theme, #428ad2) 4px 0 0 0;
|
|
224
224
|
}
|
|
225
|
-
.
|
|
225
|
+
._dark_1v89lst_35 ._tab_1v89lst_13:focus[data-focus-method='key']:after{
|
|
226
226
|
opacity:0;
|
|
227
227
|
}
|
|
228
|
-
.
|
|
229
|
-
.
|
|
228
|
+
._innerOffsetL_1v89lst_117 ._tab_1v89lst_13:first-of-type,
|
|
229
|
+
._innerOffsetM_1v89lst_109 ._tab_1v89lst_13:first-of-type{
|
|
230
230
|
margin-left:0;
|
|
231
231
|
}
|
|
232
232
|
@media screen and (max-width: 640px){
|
|
233
|
-
.
|
|
234
|
-
.
|
|
233
|
+
._innerOffsetL_1v89lst_117 ._tab_1v89lst_13:first-of-type,
|
|
234
|
+
._innerOffsetM_1v89lst_109 ._tab_1v89lst_13:first-of-type{
|
|
235
235
|
margin-left:0
|
|
236
236
|
}
|
|
237
237
|
}
|
|
238
|
-
.
|
|
238
|
+
._icon_1v89lst_239{
|
|
239
239
|
-webkit-box-flex:0;
|
|
240
240
|
-ms-flex:0 0;
|
|
241
241
|
flex:0 0;
|
|
242
242
|
-ms-flex-preferred-size:auto;
|
|
243
243
|
flex-basis:auto;
|
|
244
244
|
}
|
|
245
|
-
.
|
|
245
|
+
._sizeM_1v89lst_99 ._icon_1v89lst_239{
|
|
246
|
+
width:24px;
|
|
247
|
+
height:24px;
|
|
248
|
+
}
|
|
249
|
+
._sizeL_1v89lst_104 ._icon_1v89lst_239{
|
|
250
|
+
width:28px;
|
|
251
|
+
height:28px;
|
|
252
|
+
}
|
|
253
|
+
._sizeM_1v89lst_99 ._icon_1v89lst_239._iconLeft_1v89lst_253{
|
|
246
254
|
margin-right:4px;
|
|
247
255
|
}
|
|
248
|
-
.
|
|
256
|
+
._sizeL_1v89lst_104 ._icon_1v89lst_239._iconLeft_1v89lst_253{
|
|
249
257
|
margin-right:8px;
|
|
250
258
|
}
|
|
251
|
-
.
|
|
259
|
+
._sizeM_1v89lst_99 ._icon_1v89lst_239._iconRight_1v89lst_261{
|
|
252
260
|
margin-left:4px;
|
|
253
261
|
}
|
|
254
|
-
.
|
|
262
|
+
._sizeL_1v89lst_104 ._icon_1v89lst_239._iconRight_1v89lst_261{
|
|
255
263
|
margin-left:8px;
|
|
256
264
|
}
|
|
257
265
|
|
|
258
|
-
.
|
|
266
|
+
._wrapper_12klgsx_4{
|
|
259
267
|
position:relative;
|
|
260
268
|
|
|
261
269
|
display:-webkit-box;
|
|
@@ -264,7 +272,7 @@
|
|
|
264
272
|
|
|
265
273
|
display:flex;
|
|
266
274
|
}
|
|
267
|
-
.
|
|
275
|
+
._scrollable_12klgsx_10{
|
|
268
276
|
display:-webkit-box;
|
|
269
277
|
display:-ms-flexbox;
|
|
270
278
|
display:flex;
|
|
@@ -273,7 +281,7 @@
|
|
|
273
281
|
margin:-4px;
|
|
274
282
|
padding:4px;
|
|
275
283
|
}
|
|
276
|
-
.
|
|
284
|
+
._scrollable_12klgsx_10::after{
|
|
277
285
|
display:block;
|
|
278
286
|
|
|
279
287
|
height:100%;
|
|
@@ -282,15 +290,15 @@
|
|
|
282
290
|
|
|
283
291
|
content:'';
|
|
284
292
|
}
|
|
285
|
-
.
|
|
293
|
+
._scrollable_12klgsx_10 {
|
|
286
294
|
|
|
287
295
|
-ms-overflow-style:none;
|
|
288
296
|
scrollbar-width:none;
|
|
289
297
|
}
|
|
290
|
-
.
|
|
298
|
+
._scrollable_12klgsx_10::-webkit-scrollbar{
|
|
291
299
|
display:none;
|
|
292
300
|
}
|
|
293
|
-
.
|
|
301
|
+
._arrowShadow_12klgsx_39{
|
|
294
302
|
position:absolute;
|
|
295
303
|
top:0;
|
|
296
304
|
|
|
@@ -300,7 +308,7 @@
|
|
|
300
308
|
|
|
301
309
|
pointer-events:none;
|
|
302
310
|
}
|
|
303
|
-
.
|
|
311
|
+
._arrowShadow_12klgsx_39::before{
|
|
304
312
|
position:absolute;
|
|
305
313
|
|
|
306
314
|
display:block;
|
|
@@ -314,7 +322,7 @@
|
|
|
314
322
|
|
|
315
323
|
box-shadow:0 0 12px 12px currentColor;
|
|
316
324
|
}
|
|
317
|
-
.
|
|
325
|
+
._arrow_12klgsx_39{
|
|
318
326
|
position:absolute;
|
|
319
327
|
z-index:2;
|
|
320
328
|
top:50%;
|
|
@@ -340,15 +348,15 @@
|
|
|
340
348
|
-webkit-transform:translateY(-50%);
|
|
341
349
|
transform:translateY(-50%);
|
|
342
350
|
}
|
|
343
|
-
.
|
|
351
|
+
._light_12klgsx_82 ._arrow_12klgsx_39{
|
|
344
352
|
color:#FFFFFF;
|
|
345
353
|
background-color:#FFFFFF;
|
|
346
354
|
}
|
|
347
|
-
.
|
|
355
|
+
._dark_12klgsx_86 ._arrow_12klgsx_39{
|
|
348
356
|
color:#19191C;
|
|
349
357
|
background-color:#19191C;
|
|
350
358
|
}
|
|
351
|
-
.
|
|
359
|
+
._arrow_12klgsx_39._shown_12klgsx_91{
|
|
352
360
|
opacity:1;
|
|
353
361
|
|
|
354
362
|
pointer-events:auto;
|
|
@@ -357,36 +365,36 @@
|
|
|
357
365
|
|
|
358
366
|
transition:opacity 0.15s ease-in;
|
|
359
367
|
}
|
|
360
|
-
.
|
|
368
|
+
._arrow_12klgsx_39._arrowLeft_12klgsx_99{
|
|
361
369
|
left:-5px;
|
|
362
370
|
}
|
|
363
|
-
.
|
|
371
|
+
._arrow_12klgsx_39._arrowLeft_12klgsx_99 ._arrowShadow_12klgsx_39{
|
|
364
372
|
right:-24px;
|
|
365
373
|
}
|
|
366
|
-
.
|
|
374
|
+
._arrow_12klgsx_39._arrowLeft_12klgsx_99 ._arrowShadow_12klgsx_39::before{
|
|
367
375
|
left:-100%;
|
|
368
376
|
}
|
|
369
|
-
.
|
|
377
|
+
._arrow_12klgsx_39._arrowRight_12klgsx_112{
|
|
370
378
|
right:-5px;
|
|
371
379
|
}
|
|
372
|
-
.
|
|
380
|
+
._arrow_12klgsx_39._arrowRight_12klgsx_112 ._arrowShadow_12klgsx_39{
|
|
373
381
|
left:-24px;
|
|
374
382
|
}
|
|
375
|
-
.
|
|
383
|
+
._arrow_12klgsx_39._arrowRight_12klgsx_112 ._arrowShadow_12klgsx_39::before{
|
|
376
384
|
right:-100%;
|
|
377
385
|
}
|
|
378
|
-
.
|
|
386
|
+
._arrowButton_12klgsx_126{
|
|
379
387
|
cursor:pointer;
|
|
380
388
|
}
|
|
381
389
|
|
|
382
|
-
.
|
|
390
|
+
._separator_lvjb12_3{
|
|
383
391
|
position:relative;
|
|
384
392
|
z-index:2;
|
|
385
393
|
|
|
386
394
|
width:100%;
|
|
387
395
|
}
|
|
388
396
|
|
|
389
|
-
.
|
|
397
|
+
._separator_lvjb12_3:after{
|
|
390
398
|
position:absolute;
|
|
391
399
|
right:0;
|
|
392
400
|
bottom:0;
|
|
@@ -396,401 +404,9 @@
|
|
|
396
404
|
|
|
397
405
|
content:'';
|
|
398
406
|
}
|
|
399
|
-
.
|
|
407
|
+
._light_lvjb12_22:after{
|
|
400
408
|
background-color:rgba(25,25,28,0.3);
|
|
401
409
|
}
|
|
402
|
-
.
|
|
410
|
+
._dark_lvjb12_28:after{
|
|
403
411
|
background-color:rgba(255,255,255,0.4);
|
|
404
412
|
}
|
|
405
|
-
|
|
406
|
-
._chipsContainer_1e679dn_9{
|
|
407
|
-
position:relative;
|
|
408
|
-
|
|
409
|
-
display:-webkit-box;
|
|
410
|
-
|
|
411
|
-
display:-ms-flexbox;
|
|
412
|
-
|
|
413
|
-
display:flex;
|
|
414
|
-
}
|
|
415
|
-
._chip_1e679dn_9{
|
|
416
|
-
position:relative;
|
|
417
|
-
z-index:1;
|
|
418
|
-
|
|
419
|
-
display:-webkit-inline-box;
|
|
420
|
-
|
|
421
|
-
display:-ms-inline-flexbox;
|
|
422
|
-
|
|
423
|
-
display:inline-flex;
|
|
424
|
-
overflow:hidden;
|
|
425
|
-
-ms-flex-negative:0;
|
|
426
|
-
flex-shrink:0;
|
|
427
|
-
-webkit-box-flex:0;
|
|
428
|
-
-ms-flex-positive:0;
|
|
429
|
-
flex-grow:0;
|
|
430
|
-
-ms-flex-preferred-size:initial;
|
|
431
|
-
flex-basis:initial;
|
|
432
|
-
-webkit-box-align:center;
|
|
433
|
-
-ms-flex-align:center;
|
|
434
|
-
align-items:center;
|
|
435
|
-
|
|
436
|
-
-webkit-box-sizing:border-box;
|
|
437
|
-
|
|
438
|
-
box-sizing:border-box;
|
|
439
|
-
|
|
440
|
-
border-style:solid;
|
|
441
|
-
|
|
442
|
-
outline:none;
|
|
443
|
-
|
|
444
|
-
cursor:pointer;
|
|
445
|
-
text-align:center;
|
|
446
|
-
white-space:nowrap;
|
|
447
|
-
text-decoration:none;
|
|
448
|
-
|
|
449
|
-
background:transparent;
|
|
450
|
-
|
|
451
|
-
-webkit-transition:color 100ms, background-color 100ms, border-color 100ms;
|
|
452
|
-
|
|
453
|
-
transition:color 100ms, background-color 100ms, border-color 100ms;
|
|
454
|
-
}
|
|
455
|
-
._chip_1e679dn_9:hover,
|
|
456
|
-
._chip_1e679dn_9:focus,
|
|
457
|
-
._chip_1e679dn_9:active{
|
|
458
|
-
outline:none;
|
|
459
|
-
|
|
460
|
-
text-decoration:none;
|
|
461
|
-
}
|
|
462
|
-
._light_1e679dn_49 ._chip_1e679dn_9:focus[data-focus-method='key']{
|
|
463
|
-
-webkit-box-shadow:rgba(22,125,255,0.8) 0 0 0 4px;
|
|
464
|
-
-webkit-box-shadow:var(--rs-color-primary-t-dim-light-theme, rgba(22,125,255,0.8)) 0 0 0 4px;
|
|
465
|
-
box-shadow:rgba(22,125,255,0.8) 0 0 0 4px;
|
|
466
|
-
box-shadow:var(--rs-color-primary-t-dim-light-theme, rgba(22,125,255,0.8)) 0 0 0 4px;
|
|
467
|
-
}
|
|
468
|
-
._dark_1e679dn_54 ._chip_1e679dn_9:focus[data-focus-method='key']{
|
|
469
|
-
-webkit-box-shadow:rgba(76,166,255,0.8) 0 0 0 4px;
|
|
470
|
-
-webkit-box-shadow:var(--rs-color-primary-t-dim-dark-theme, rgba(76,166,255,0.8)) 0 0 0 4px;
|
|
471
|
-
box-shadow:rgba(76,166,255,0.8) 0 0 0 4px;
|
|
472
|
-
box-shadow:var(--rs-color-primary-t-dim-dark-theme, rgba(76,166,255,0.8)) 0 0 0 4px;
|
|
473
|
-
}
|
|
474
|
-
._sizeXs_1e679dn_1 ._chip_1e679dn_9 {
|
|
475
|
-
padding: 1px 15px;
|
|
476
|
-
border-width: 1px;
|
|
477
|
-
}
|
|
478
|
-
._sizeS_1e679dn_63 ._chip_1e679dn_9 {
|
|
479
|
-
padding: 5px 15px;
|
|
480
|
-
border-width: 1px;
|
|
481
|
-
}
|
|
482
|
-
._sizeM_1e679dn_69 ._chip_1e679dn_9 {
|
|
483
|
-
padding: 7px 23px;
|
|
484
|
-
border-width: 1px;
|
|
485
|
-
}
|
|
486
|
-
._sizeL_1e679dn_75 ._chip_1e679dn_9 {
|
|
487
|
-
padding: 11px 31px;
|
|
488
|
-
border-width: 1px;
|
|
489
|
-
}
|
|
490
|
-
._sizeXs_1e679dn_1 ._chip_1e679dn_9._selected_1e679dn_59 {
|
|
491
|
-
padding: 0px 14px;
|
|
492
|
-
border-width: 2px;
|
|
493
|
-
}
|
|
494
|
-
._sizeS_1e679dn_63 ._chip_1e679dn_9._selected_1e679dn_59 {
|
|
495
|
-
padding: 4px 14px;
|
|
496
|
-
border-width: 2px;
|
|
497
|
-
}
|
|
498
|
-
._sizeM_1e679dn_69 ._chip_1e679dn_9._selected_1e679dn_59 {
|
|
499
|
-
padding: 6px 22px;
|
|
500
|
-
border-width: 2px;
|
|
501
|
-
}
|
|
502
|
-
._sizeL_1e679dn_75 ._chip_1e679dn_9._selected_1e679dn_59 {
|
|
503
|
-
padding: 10px 30px;
|
|
504
|
-
border-width: 2px;
|
|
505
|
-
}
|
|
506
|
-
._sizeXs_1e679dn_1 ._chip_1e679dn_9._withoutText_1e679dn_60 {
|
|
507
|
-
padding: 1px 1px;
|
|
508
|
-
border-width: 1px;
|
|
509
|
-
}
|
|
510
|
-
._sizeS_1e679dn_63 ._chip_1e679dn_9._withoutText_1e679dn_60 {
|
|
511
|
-
padding: 5px 5px;
|
|
512
|
-
border-width: 1px;
|
|
513
|
-
}
|
|
514
|
-
._sizeM_1e679dn_69 ._chip_1e679dn_9._withoutText_1e679dn_60 {
|
|
515
|
-
padding: 7px 7px;
|
|
516
|
-
border-width: 1px;
|
|
517
|
-
}
|
|
518
|
-
._sizeL_1e679dn_75 ._chip_1e679dn_9._withoutText_1e679dn_60 {
|
|
519
|
-
padding: 11px 11px;
|
|
520
|
-
border-width: 1px;
|
|
521
|
-
}
|
|
522
|
-
._sizeXs_1e679dn_1 ._chip_1e679dn_9._selected_1e679dn_59._withoutText_1e679dn_60 {
|
|
523
|
-
padding: 0px 0px;
|
|
524
|
-
border-width: 2px;
|
|
525
|
-
}
|
|
526
|
-
._sizeS_1e679dn_63 ._chip_1e679dn_9._selected_1e679dn_59._withoutText_1e679dn_60 {
|
|
527
|
-
padding: 4px 4px;
|
|
528
|
-
border-width: 2px;
|
|
529
|
-
}
|
|
530
|
-
._sizeM_1e679dn_69 ._chip_1e679dn_9._selected_1e679dn_59._withoutText_1e679dn_60 {
|
|
531
|
-
padding: 6px 6px;
|
|
532
|
-
border-width: 2px;
|
|
533
|
-
}
|
|
534
|
-
._sizeL_1e679dn_75 ._chip_1e679dn_9._selected_1e679dn_59._withoutText_1e679dn_60 {
|
|
535
|
-
padding: 10px 10px;
|
|
536
|
-
border-width: 2px;
|
|
537
|
-
}
|
|
538
|
-
._sizeS_1e679dn_63 ._chip_1e679dn_9{
|
|
539
|
-
letter-spacing:0.0045em;
|
|
540
|
-
color:rgba(25,25,28,0.7);
|
|
541
|
-
color:var(--rs-typography-color-average, rgba(25,25,28,0.7));
|
|
542
|
-
font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
|
|
543
|
-
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));
|
|
544
|
-
font-size:13px;
|
|
545
|
-
font-size:var(--rs-text-3-font-size, 13px);
|
|
546
|
-
line-height:20px;
|
|
547
|
-
line-height:var(--rs-text-3-line-height, 20px);
|
|
548
|
-
}
|
|
549
|
-
._rs-reset-letter-spacing_1e679dn_1 ._sizeS_1e679dn_63 ._chip_1e679dn_9{
|
|
550
|
-
letter-spacing:normal;
|
|
551
|
-
}
|
|
552
|
-
._sizeS_1e679dn_63 ._chip_1e679dn_9 {
|
|
553
|
-
|
|
554
|
-
border-radius:24px;
|
|
555
|
-
}
|
|
556
|
-
._sizeM_1e679dn_69 ._chip_1e679dn_9{
|
|
557
|
-
letter-spacing:0.0015em;
|
|
558
|
-
color:rgba(25,25,28,0.7);
|
|
559
|
-
color:var(--rs-typography-color-average, rgba(25,25,28,0.7));
|
|
560
|
-
font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
|
|
561
|
-
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));
|
|
562
|
-
font-size:16px;
|
|
563
|
-
font-size:var(--rs-text-2-font-size, 16px);
|
|
564
|
-
font-weight:400;
|
|
565
|
-
line-height:24px;
|
|
566
|
-
line-height:var(--rs-text-2-line-height, 24px);
|
|
567
|
-
}
|
|
568
|
-
._rs-reset-letter-spacing_1e679dn_1 ._sizeM_1e679dn_69 ._chip_1e679dn_9{
|
|
569
|
-
letter-spacing:normal;
|
|
570
|
-
}
|
|
571
|
-
._sizeM_1e679dn_69 ._chip_1e679dn_9 {
|
|
572
|
-
|
|
573
|
-
border-radius:24px;
|
|
574
|
-
}
|
|
575
|
-
._sizeL_1e679dn_75 ._chip_1e679dn_9{
|
|
576
|
-
color:rgba(25,25,28,0.7);
|
|
577
|
-
color:var(--rs-typography-color-average, rgba(25,25,28,0.7));
|
|
578
|
-
font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
|
|
579
|
-
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));
|
|
580
|
-
font-size:19px;
|
|
581
|
-
font-size:var(--rs-text-1-font-size, 19px);
|
|
582
|
-
font-weight:normal;
|
|
583
|
-
line-height:28px;
|
|
584
|
-
line-height:var(--rs-text-1-line-height, 28px);
|
|
585
|
-
|
|
586
|
-
border-radius:36px;
|
|
587
|
-
}
|
|
588
|
-
._light_1e679dn_49._rock_1e679dn_81 ._chip_1e679dn_9{
|
|
589
|
-
color:#19191C;
|
|
590
|
-
border-color:rgba(25,25,28,0.3);
|
|
591
|
-
}
|
|
592
|
-
._light_1e679dn_49._rock_1e679dn_81 ._chip_1e679dn_9:focus{
|
|
593
|
-
color:#19191C;
|
|
594
|
-
border-color:rgba(25,25,28,0.3);
|
|
595
|
-
}
|
|
596
|
-
@media screen and (-ms-high-contrast: active),(-ms-high-contrast: none),(hover: hover){
|
|
597
|
-
._light_1e679dn_49._rock_1e679dn_81 ._chip_1e679dn_9:hover{
|
|
598
|
-
color:#19191C;
|
|
599
|
-
border-color:rgba(25,25,28,0.3);
|
|
600
|
-
|
|
601
|
-
background:rgba(25,25,28,0.1);
|
|
602
|
-
}
|
|
603
|
-
}
|
|
604
|
-
._light_1e679dn_49._rock_1e679dn_81 ._chip_1e679dn_9:active{
|
|
605
|
-
color:#19191C;
|
|
606
|
-
border-color:#19191C;
|
|
607
|
-
|
|
608
|
-
background:rgba(25,25,28,0.1);
|
|
609
|
-
}
|
|
610
|
-
._light_1e679dn_49._rock_1e679dn_81 ._chip_1e679dn_9._selected_1e679dn_59{
|
|
611
|
-
color:#19191C;
|
|
612
|
-
border-color:#19191C;
|
|
613
|
-
}
|
|
614
|
-
._dark_1e679dn_54._rock_1e679dn_81 ._chip_1e679dn_9{
|
|
615
|
-
color:#FFFFFF;
|
|
616
|
-
border-color:rgba(255,255,255,0.3);
|
|
617
|
-
}
|
|
618
|
-
._dark_1e679dn_54._rock_1e679dn_81 ._chip_1e679dn_9:focus{
|
|
619
|
-
color:#FFFFFF;
|
|
620
|
-
border-color:rgba(255,255,255,0.4);
|
|
621
|
-
}
|
|
622
|
-
@media screen and (-ms-high-contrast: active),(-ms-high-contrast: none),(hover: hover){
|
|
623
|
-
._dark_1e679dn_54._rock_1e679dn_81 ._chip_1e679dn_9:hover{
|
|
624
|
-
color:#FFFFFF;
|
|
625
|
-
border-color:rgba(255,255,255,0.4);
|
|
626
|
-
|
|
627
|
-
background:rgba(255,255,255,0.1);
|
|
628
|
-
}
|
|
629
|
-
}
|
|
630
|
-
._dark_1e679dn_54._rock_1e679dn_81 ._chip_1e679dn_9:active{
|
|
631
|
-
color:#FFFFFF;
|
|
632
|
-
border-color:#FFFFFF;
|
|
633
|
-
|
|
634
|
-
background:rgba(255,255,255,0.1);
|
|
635
|
-
}
|
|
636
|
-
._dark_1e679dn_54._rock_1e679dn_81 ._chip_1e679dn_9._selected_1e679dn_59{
|
|
637
|
-
color:#FFFFFF;
|
|
638
|
-
border-color:#FFFFFF;
|
|
639
|
-
}
|
|
640
|
-
._light_1e679dn_49._classic_1e679dn_143 ._chip_1e679dn_9{
|
|
641
|
-
color:#19191C;
|
|
642
|
-
border-color:rgba(25,25,28,0.3);
|
|
643
|
-
}
|
|
644
|
-
._light_1e679dn_49._classic_1e679dn_143 ._chip_1e679dn_9:focus{
|
|
645
|
-
color:#19191C;
|
|
646
|
-
border-color:rgba(25,25,28,0.3);
|
|
647
|
-
}
|
|
648
|
-
@media screen and (-ms-high-contrast: active),(-ms-high-contrast: none),(hover: hover){
|
|
649
|
-
._light_1e679dn_49._classic_1e679dn_143 ._chip_1e679dn_9:hover{
|
|
650
|
-
color:#19191C;
|
|
651
|
-
border-color:rgba(25,25,28,0.3);
|
|
652
|
-
|
|
653
|
-
background:rgba(22,125,255,0.2);
|
|
654
|
-
|
|
655
|
-
background:var(--rs-color-primary-t-fog-light-theme, rgba(22,125,255,0.2));
|
|
656
|
-
}
|
|
657
|
-
}
|
|
658
|
-
._light_1e679dn_49._classic_1e679dn_143 ._chip_1e679dn_9:active{
|
|
659
|
-
color:#19191C;
|
|
660
|
-
border-color:#167DFF;
|
|
661
|
-
border-color:var(--rs-color-primary-light-theme, #167DFF);
|
|
662
|
-
|
|
663
|
-
background:rgba(22,125,255,0.2);
|
|
664
|
-
|
|
665
|
-
background:var(--rs-color-primary-t-fog-light-theme, rgba(22,125,255,0.2));
|
|
666
|
-
}
|
|
667
|
-
._light_1e679dn_49._classic_1e679dn_143 ._chip_1e679dn_9._selected_1e679dn_59{
|
|
668
|
-
color:#19191C;
|
|
669
|
-
border-color:#167DFF;
|
|
670
|
-
border-color:var(--rs-color-primary-light-theme, #167DFF);
|
|
671
|
-
}
|
|
672
|
-
._dark_1e679dn_54._classic_1e679dn_143 ._chip_1e679dn_9{
|
|
673
|
-
color:#FFFFFF;
|
|
674
|
-
border-color:rgba(255,255,255,0.3);
|
|
675
|
-
}
|
|
676
|
-
._dark_1e679dn_54._classic_1e679dn_143 ._chip_1e679dn_9:focus{
|
|
677
|
-
color:#FFFFFF;
|
|
678
|
-
border-color:rgba(255,255,255,0.4);
|
|
679
|
-
}
|
|
680
|
-
@media screen and (-ms-high-contrast: active),(-ms-high-contrast: none),(hover: hover){
|
|
681
|
-
._dark_1e679dn_54._classic_1e679dn_143 ._chip_1e679dn_9:hover{
|
|
682
|
-
color:#FFFFFF;
|
|
683
|
-
border-color:rgba(255,255,255,0.4);
|
|
684
|
-
|
|
685
|
-
background:rgba(76,166,255,0.3);
|
|
686
|
-
|
|
687
|
-
background:var(--rs-color-primary-t-fog-dark-theme, rgba(76,166,255,0.3));
|
|
688
|
-
}
|
|
689
|
-
}
|
|
690
|
-
._dark_1e679dn_54._classic_1e679dn_143 ._chip_1e679dn_9:active{
|
|
691
|
-
color:#FFFFFF;
|
|
692
|
-
border-color:#4CA6ff;
|
|
693
|
-
border-color:var(--rs-color-primary-dark-theme, #4CA6ff);
|
|
694
|
-
|
|
695
|
-
background:rgba(76,166,255,0.3);
|
|
696
|
-
|
|
697
|
-
background:var(--rs-color-primary-t-fog-dark-theme, rgba(76,166,255,0.3));
|
|
698
|
-
}
|
|
699
|
-
._dark_1e679dn_54._classic_1e679dn_143 ._chip_1e679dn_9._selected_1e679dn_59{
|
|
700
|
-
color:#FFFFFF;
|
|
701
|
-
border-color:#4CA6ff;
|
|
702
|
-
border-color:var(--rs-color-primary-dark-theme, #4CA6ff);
|
|
703
|
-
}
|
|
704
|
-
._innerOffsetM_1e679dn_205 ._chip_1e679dn_9{
|
|
705
|
-
margin-left:8px;
|
|
706
|
-
}
|
|
707
|
-
@media screen and (max-width: 640px){
|
|
708
|
-
._innerOffsetM_1e679dn_205 ._chip_1e679dn_9{
|
|
709
|
-
margin-left:8px
|
|
710
|
-
}
|
|
711
|
-
}
|
|
712
|
-
._innerOffsetL_1e679dn_213 ._chip_1e679dn_9{
|
|
713
|
-
margin-left:16px;
|
|
714
|
-
}
|
|
715
|
-
@media screen and (max-width: 640px){
|
|
716
|
-
._innerOffsetL_1e679dn_213 ._chip_1e679dn_9{
|
|
717
|
-
margin-left:8px
|
|
718
|
-
}
|
|
719
|
-
}
|
|
720
|
-
._innerOffsetL_1e679dn_213 ._chip_1e679dn_9:first-of-type,
|
|
721
|
-
._innerOffsetM_1e679dn_205 ._chip_1e679dn_9:first-of-type{
|
|
722
|
-
margin-left:0;
|
|
723
|
-
}
|
|
724
|
-
@media screen and (max-width: 640px){
|
|
725
|
-
._innerOffsetL_1e679dn_213 ._chip_1e679dn_9:first-of-type,
|
|
726
|
-
._innerOffsetM_1e679dn_205 ._chip_1e679dn_9:first-of-type{
|
|
727
|
-
margin-left:0
|
|
728
|
-
}
|
|
729
|
-
}
|
|
730
|
-
._icon_1e679dn_231{
|
|
731
|
-
-webkit-box-flex:0;
|
|
732
|
-
-ms-flex:0 0;
|
|
733
|
-
flex:0 0;
|
|
734
|
-
-ms-flex-preferred-size:auto;
|
|
735
|
-
flex-basis:auto;
|
|
736
|
-
}
|
|
737
|
-
._sizeXs_1e679dn_1 ._icon_1e679dn_231._iconLeft_1e679dn_235 {
|
|
738
|
-
width: 20px;
|
|
739
|
-
height: 20px;
|
|
740
|
-
min-width: 20px;
|
|
741
|
-
min-height: 20px;
|
|
742
|
-
margin: 0 8px 0 -2px;
|
|
743
|
-
}
|
|
744
|
-
._sizeS_1e679dn_63 ._icon_1e679dn_231._iconLeft_1e679dn_235 {
|
|
745
|
-
width: 20px;
|
|
746
|
-
height: 20px;
|
|
747
|
-
min-width: 20px;
|
|
748
|
-
min-height: 20px;
|
|
749
|
-
margin: 0 8px 0 -2px;
|
|
750
|
-
}
|
|
751
|
-
._sizeM_1e679dn_69 ._icon_1e679dn_231._iconLeft_1e679dn_235 {
|
|
752
|
-
width: 24px;
|
|
753
|
-
height: 24px;
|
|
754
|
-
min-width: 24px;
|
|
755
|
-
min-height: 24px;
|
|
756
|
-
margin: 0 16px 0 -2px;
|
|
757
|
-
}
|
|
758
|
-
._sizeL_1e679dn_75 ._icon_1e679dn_231._iconLeft_1e679dn_235 {
|
|
759
|
-
width: 32px;
|
|
760
|
-
height: 32px;
|
|
761
|
-
min-width: 32px;
|
|
762
|
-
min-height: 32px;
|
|
763
|
-
margin: 0 20px 0 -2px;
|
|
764
|
-
}
|
|
765
|
-
._sizeXs_1e679dn_1 ._icon_1e679dn_231._iconRight_1e679dn_236 {
|
|
766
|
-
width: 20px;
|
|
767
|
-
height: 20px;
|
|
768
|
-
min-width: 20px;
|
|
769
|
-
min-height: 20px;
|
|
770
|
-
margin: 0 -2px 0 8px;
|
|
771
|
-
}
|
|
772
|
-
._sizeS_1e679dn_63 ._icon_1e679dn_231._iconRight_1e679dn_236 {
|
|
773
|
-
width: 20px;
|
|
774
|
-
height: 20px;
|
|
775
|
-
min-width: 20px;
|
|
776
|
-
min-height: 20px;
|
|
777
|
-
margin: 0 -2px 0 8px;
|
|
778
|
-
}
|
|
779
|
-
._sizeM_1e679dn_69 ._icon_1e679dn_231._iconRight_1e679dn_236 {
|
|
780
|
-
width: 24px;
|
|
781
|
-
height: 24px;
|
|
782
|
-
min-width: 24px;
|
|
783
|
-
min-height: 24px;
|
|
784
|
-
margin: 0 -2px 0 16px;
|
|
785
|
-
}
|
|
786
|
-
._sizeL_1e679dn_75 ._icon_1e679dn_231._iconRight_1e679dn_236 {
|
|
787
|
-
width: 32px;
|
|
788
|
-
height: 32px;
|
|
789
|
-
min-width: 32px;
|
|
790
|
-
min-height: 32px;
|
|
791
|
-
margin: 0 -2px 0 20px;
|
|
792
|
-
}
|
|
793
|
-
._withoutText_1e679dn_60 ._icon_1e679dn_231._iconRight_1e679dn_236,
|
|
794
|
-
._withoutText_1e679dn_60 ._icon_1e679dn_231._iconLeft_1e679dn_235{
|
|
795
|
-
margin:0;
|
|
796
|
-
}
|
package/lib/index.d.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
1
|
export { default as TabList } from './tab-list';
|
|
2
2
|
export { default as TabSeparator } from './parts/tab-separator';
|
|
3
3
|
export { default as Tab } from './parts/tab';
|
|
4
|
-
export { default as ChipList } from './parts/chip-list';
|
|
5
|
-
export { default as Chip } from './parts/chip';
|
package/lib/index.js
CHANGED
|
@@ -2,5 +2,3 @@ import './index.css';
|
|
|
2
2
|
export { TabList } from './tab-list.js';
|
|
3
3
|
export { default as TabSeparator } from './parts/tab-separator.js';
|
|
4
4
|
export { default as Tab } from './parts/tab.js';
|
|
5
|
-
export { ChipList } from './parts/chip-list.js';
|
|
6
|
-
export { default as Chip } from './parts/chip.js';
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
var styles = {
|
|
2
|
-
"wrapper": "
|
|
3
|
-
"tabsContainer": "
|
|
4
|
-
"indicator": "
|
|
5
|
-
"light": "
|
|
6
|
-
"classic": "
|
|
7
|
-
"dark": "
|
|
8
|
-
"rock": "
|
|
9
|
-
"tab": "
|
|
10
|
-
"sizeM": "
|
|
11
|
-
"rs-reset-letter-spacing": "_rs-reset-letter-
|
|
12
|
-
"sizeL": "
|
|
13
|
-
"innerOffsetM": "
|
|
14
|
-
"innerOffsetL": "
|
|
15
|
-
"short": "
|
|
16
|
-
"selected": "
|
|
17
|
-
"icon": "
|
|
18
|
-
"iconLeft": "
|
|
19
|
-
"iconRight": "
|
|
2
|
+
"wrapper": "_wrapper_1v89lst_9",
|
|
3
|
+
"tabsContainer": "_tabsContainer_1v89lst_13",
|
|
4
|
+
"indicator": "_indicator_1v89lst_19",
|
|
5
|
+
"light": "_light_1v89lst_31",
|
|
6
|
+
"classic": "_classic_1v89lst_31",
|
|
7
|
+
"dark": "_dark_1v89lst_35",
|
|
8
|
+
"rock": "_rock_1v89lst_39",
|
|
9
|
+
"tab": "_tab_1v89lst_13",
|
|
10
|
+
"sizeM": "_sizeM_1v89lst_99",
|
|
11
|
+
"rs-reset-letter-spacing": "_rs-reset-letter-spacing_1v89lst_1",
|
|
12
|
+
"sizeL": "_sizeL_1v89lst_104",
|
|
13
|
+
"innerOffsetM": "_innerOffsetM_1v89lst_109",
|
|
14
|
+
"innerOffsetL": "_innerOffsetL_1v89lst_117",
|
|
15
|
+
"short": "_short_1v89lst_133",
|
|
16
|
+
"selected": "_selected_1v89lst_141",
|
|
17
|
+
"icon": "_icon_1v89lst_239",
|
|
18
|
+
"iconLeft": "_iconLeft_1v89lst_253",
|
|
19
|
+
"iconRight": "_iconRight_1v89lst_261"
|
|
20
20
|
};
|
|
21
21
|
export default styles;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
var styles = {
|
|
2
|
-
"wrapper": "
|
|
3
|
-
"scrollable": "
|
|
4
|
-
"arrowShadow": "
|
|
5
|
-
"arrow": "
|
|
6
|
-
"light": "
|
|
7
|
-
"dark": "
|
|
8
|
-
"shown": "
|
|
9
|
-
"arrowLeft": "
|
|
10
|
-
"arrowRight": "
|
|
11
|
-
"arrowButton": "
|
|
2
|
+
"wrapper": "_wrapper_12klgsx_4",
|
|
3
|
+
"scrollable": "_scrollable_12klgsx_10",
|
|
4
|
+
"arrowShadow": "_arrowShadow_12klgsx_39",
|
|
5
|
+
"arrow": "_arrow_12klgsx_39",
|
|
6
|
+
"light": "_light_12klgsx_82",
|
|
7
|
+
"dark": "_dark_12klgsx_86",
|
|
8
|
+
"shown": "_shown_12klgsx_91",
|
|
9
|
+
"arrowLeft": "_arrowLeft_12klgsx_99",
|
|
10
|
+
"arrowRight": "_arrowRight_12klgsx_112",
|
|
11
|
+
"arrowButton": "_arrowButton_12klgsx_126"
|
|
12
12
|
};
|
|
13
13
|
export default styles;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rescui/tab-list",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "JetBrains",
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@babel/runtime-corejs3": "^7.14.0",
|
|
19
19
|
"@juggle/resize-observer": "3.3.0",
|
|
20
|
-
"@rescui/button": "^0.
|
|
21
|
-
"@rescui/icons": "^0.
|
|
20
|
+
"@rescui/button": "^0.5.0",
|
|
21
|
+
"@rescui/icons": "^0.5.1",
|
|
22
22
|
"classnames": "^2.2.6",
|
|
23
23
|
"core-js": "^3.9.1"
|
|
24
24
|
},
|
|
@@ -28,14 +28,14 @@
|
|
|
28
28
|
"react": ">=16.8.0 <18"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@rescui/colors": "^0.0.
|
|
31
|
+
"@rescui/colors": "^0.0.6",
|
|
32
32
|
"@rescui/postcss-preset-library": "^0.0.4",
|
|
33
|
-
"@rescui/scripts": "^0.1.
|
|
34
|
-
"@rescui/typography": "^0.
|
|
33
|
+
"@rescui/scripts": "^0.1.4",
|
|
34
|
+
"@rescui/typography": "^0.5.0",
|
|
35
35
|
"@rescui/visual-regression": "^0.0.1"
|
|
36
36
|
},
|
|
37
37
|
"scripts": {
|
|
38
38
|
"build": "rescui-scripts build"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "0303dab2dea78cc6ba3a4970148de62fca11a225"
|
|
41
41
|
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare type ChipListValueType = string | number | symbol;
|
|
3
|
-
export declare type ChipListContextType = {
|
|
4
|
-
onChange: (value: ChipListValueType) => void;
|
|
5
|
-
selectedId?: number;
|
|
6
|
-
};
|
|
7
|
-
export declare const ChipListContext: import("react").Context<ChipListContextType>;
|
|
8
|
-
export declare const useChipListContext: () => ChipListContextType;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { createContext, useContext } from 'react';
|
|
2
|
-
var ChipListContext = /*#__PURE__*/createContext({
|
|
3
|
-
onChange: function onChange() {},
|
|
4
|
-
selectedId: 0
|
|
5
|
-
});
|
|
6
|
-
|
|
7
|
-
var useChipListContext = function useChipListContext() {
|
|
8
|
-
return useContext(ChipListContext);
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
export { ChipListContext, useChipListContext };
|
package/lib/parts/chip-list.d.ts
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Theme } from '@rescui/ui-contexts';
|
|
3
|
-
import { ChipListValueType } from './chip-list-context';
|
|
4
|
-
export declare type ChipListSizeType = 'l' | 'm' | 's';
|
|
5
|
-
export declare type ChipListModeType = 'classic' | 'rock';
|
|
6
|
-
export declare type InnerChipListProps = {
|
|
7
|
-
className?: string;
|
|
8
|
-
size?: ChipListSizeType;
|
|
9
|
-
/** Increase inner horizontal offset between the chips. */
|
|
10
|
-
sparse?: boolean;
|
|
11
|
-
theme: Theme;
|
|
12
|
-
mode?: ChipListModeType;
|
|
13
|
-
value: ChipListValueType;
|
|
14
|
-
onChange: (value: ChipListValueType) => void;
|
|
15
|
-
children: React.ReactNode;
|
|
16
|
-
/** Identifier for e2e tests */
|
|
17
|
-
'data-e2e'?: string;
|
|
18
|
-
selectedId?: number;
|
|
19
|
-
activeNodeRef?: React.MutableRefObject<HTMLElement>;
|
|
20
|
-
containerRef?: React.MutableRefObject<HTMLDivElement>;
|
|
21
|
-
};
|
|
22
|
-
export declare const ChipList: {
|
|
23
|
-
<OT extends ChipListValueType>({ compareValues, value, onChange, children, theme: themeFromProps, arrowBackgroundColor, ["data-e2e"]: e2eId, ...restProps }: React.PropsWithChildren<import("./with-scroll-arrows").WithScrollArrowsProps<OT> & {
|
|
24
|
-
size?: ChipListSizeType;
|
|
25
|
-
sparse?: boolean;
|
|
26
|
-
className?: string;
|
|
27
|
-
mode?: ChipListModeType;
|
|
28
|
-
'data-e2e'?: string;
|
|
29
|
-
}>): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
30
|
-
displayName: string;
|
|
31
|
-
};
|
|
32
|
-
export default ChipList;
|
package/lib/parts/chip-list.js
DELETED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
3
|
-
import cn from 'classnames';
|
|
4
|
-
import Chip from './chip.js';
|
|
5
|
-
import { ChipListContext } from './chip-list-context.js';
|
|
6
|
-
import { withScrollArrows } from './with-scroll-arrows.js';
|
|
7
|
-
import styles from './chip-list.module.pcss.js';
|
|
8
|
-
var STYLES_SIZES = {
|
|
9
|
-
s: styles.sizeS,
|
|
10
|
-
m: styles.sizeM,
|
|
11
|
-
l: styles.sizeL
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
var InnerChipList = function InnerChipList(_ref) {
|
|
15
|
-
var _ref$size = _ref.size,
|
|
16
|
-
size = _ref$size === void 0 ? 'm' : _ref$size,
|
|
17
|
-
_ref$sparse = _ref.sparse,
|
|
18
|
-
sparse = _ref$sparse === void 0 ? false : _ref$sparse,
|
|
19
|
-
className = _ref.className,
|
|
20
|
-
_ref$mode = _ref.mode,
|
|
21
|
-
mode = _ref$mode === void 0 ? 'classic' : _ref$mode,
|
|
22
|
-
theme = _ref.theme,
|
|
23
|
-
onChange = _ref.onChange,
|
|
24
|
-
children = _ref.children,
|
|
25
|
-
selectedId = _ref.selectedId,
|
|
26
|
-
containerRef = _ref.containerRef,
|
|
27
|
-
e2eId = _ref['data-e2e'];
|
|
28
|
-
return /*#__PURE__*/React.createElement(ChipListContext.Provider, {
|
|
29
|
-
value: {
|
|
30
|
-
onChange: onChange,
|
|
31
|
-
selectedId: selectedId
|
|
32
|
-
}
|
|
33
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
34
|
-
className: cn(styles.chipsContainer, styles[theme], styles[mode], STYLES_SIZES[size], sparse ? styles.innerOffsetL : styles.innerOffsetM, className),
|
|
35
|
-
"data-e2e": e2eId ? "".concat(e2eId, "__chips-container") : null,
|
|
36
|
-
"data-test": 'chip-list',
|
|
37
|
-
ref: containerRef
|
|
38
|
-
}, children));
|
|
39
|
-
};
|
|
40
|
-
|
|
41
|
-
InnerChipList.displayName = 'ChipList';
|
|
42
|
-
var ChipList = withScrollArrows(InnerChipList, Chip, 'calc(100% + 8px)'); // eslint-disable-next-line @typescript-eslint/ban-ts-ignore
|
|
43
|
-
// @ts-ignore
|
|
44
|
-
|
|
45
|
-
ChipList.propTypes = {
|
|
46
|
-
size: PropTypes.oneOf(['s', 'm', 'l']),
|
|
47
|
-
sparse: PropTypes.bool,
|
|
48
|
-
theme: PropTypes.oneOf(['light', 'dark']),
|
|
49
|
-
className: PropTypes.string,
|
|
50
|
-
mode: PropTypes.oneOf(['classic', 'rock']),
|
|
51
|
-
value: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.symbol]),
|
|
52
|
-
onChange: PropTypes.func,
|
|
53
|
-
compareValues: PropTypes.func,
|
|
54
|
-
arrowBackgroundColor: PropTypes.string,
|
|
55
|
-
'data-e2e': PropTypes.string
|
|
56
|
-
};
|
|
57
|
-
export default ChipList;
|
|
58
|
-
export { ChipList };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
var styles = {
|
|
2
|
-
"chipsContainer": "_chipsContainer_1e679dn_9",
|
|
3
|
-
"chip": "_chip_1e679dn_9",
|
|
4
|
-
"light": "_light_1e679dn_49",
|
|
5
|
-
"dark": "_dark_1e679dn_54",
|
|
6
|
-
"sizeXs": "_sizeXs_1e679dn_1",
|
|
7
|
-
"sizeS": "_sizeS_1e679dn_63",
|
|
8
|
-
"sizeM": "_sizeM_1e679dn_69",
|
|
9
|
-
"sizeL": "_sizeL_1e679dn_75",
|
|
10
|
-
"selected": "_selected_1e679dn_59",
|
|
11
|
-
"withoutText": "_withoutText_1e679dn_60",
|
|
12
|
-
"rs-reset-letter-spacing": "_rs-reset-letter-spacing_1e679dn_1",
|
|
13
|
-
"rock": "_rock_1e679dn_81",
|
|
14
|
-
"classic": "_classic_1e679dn_143",
|
|
15
|
-
"innerOffsetM": "_innerOffsetM_1e679dn_205",
|
|
16
|
-
"innerOffsetL": "_innerOffsetL_1e679dn_213",
|
|
17
|
-
"icon": "_icon_1e679dn_231",
|
|
18
|
-
"iconLeft": "_iconLeft_1e679dn_235",
|
|
19
|
-
"iconRight": "_iconRight_1e679dn_236"
|
|
20
|
-
};
|
|
21
|
-
export default styles;
|
package/lib/parts/chip.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ChipListValueType } from './chip-list-context';
|
|
3
|
-
export declare type ChipIconPosition = 'left' | 'right';
|
|
4
|
-
export declare type ChipProps = {
|
|
5
|
-
className?: string;
|
|
6
|
-
value?: ChipListValueType;
|
|
7
|
-
/** @ignore */
|
|
8
|
-
itemId?: number;
|
|
9
|
-
/** @ignore */
|
|
10
|
-
onFocus?: React.FocusEventHandler<HTMLElement>;
|
|
11
|
-
/** @ignore */
|
|
12
|
-
onMouseDown?: React.MouseEventHandler<HTMLElement>;
|
|
13
|
-
/** Identifier for e2e tests */
|
|
14
|
-
'data-e2e'?: string;
|
|
15
|
-
children?: React.ReactNode;
|
|
16
|
-
} & ({
|
|
17
|
-
/** Additional icon */
|
|
18
|
-
icon: React.ReactNode;
|
|
19
|
-
/** Additional icon position */
|
|
20
|
-
iconPosition?: ChipIconPosition;
|
|
21
|
-
} | {
|
|
22
|
-
icon?: never;
|
|
23
|
-
iconPosition?: never;
|
|
24
|
-
});
|
|
25
|
-
declare const Chip: React.ForwardRefExoticComponent<ChipProps & React.RefAttributes<HTMLDivElement>>;
|
|
26
|
-
export default Chip;
|
package/lib/parts/chip.js
DELETED
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import "core-js/modules/web.dom-collections.for-each.js";
|
|
2
|
-
import _Object$keys from "@babel/runtime-corejs3/core-js-stable/object/keys";
|
|
3
|
-
import _Object$getOwnPropertySymbols from "@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols";
|
|
4
|
-
import _filterInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/filter";
|
|
5
|
-
import _Object$getOwnPropertyDescriptor from "@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor";
|
|
6
|
-
import _Object$getOwnPropertyDescriptors from "@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors";
|
|
7
|
-
import _defineProperty from "@babel/runtime-corejs3/helpers/esm/defineProperty";
|
|
8
|
-
import _objectWithoutProperties from "@babel/runtime-corejs3/helpers/esm/objectWithoutProperties";
|
|
9
|
-
var _excluded = ["value", "className", "children", "icon", "iconPosition", "itemId", "onFocus", "onMouseDown", "data-e2e"];
|
|
10
|
-
|
|
11
|
-
function ownKeys(object, enumerableOnly) { var keys = _Object$keys(object); if (_Object$getOwnPropertySymbols) { var symbols = _Object$getOwnPropertySymbols(object); if (enumerableOnly) { symbols = _filterInstanceProperty(symbols).call(symbols, function (sym) { return _Object$getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
12
|
-
|
|
13
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (_Object$getOwnPropertyDescriptors) { Object.defineProperties(target, _Object$getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, _Object$getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
14
|
-
|
|
15
|
-
import React, { forwardRef, cloneElement } from 'react';
|
|
16
|
-
import PropTypes from 'prop-types';
|
|
17
|
-
import cn from 'classnames';
|
|
18
|
-
import styles from './chip-list.module.pcss.js';
|
|
19
|
-
import { useChipListContext } from './chip-list-context.js'; // check for ignored jsx values and empty string, more info https://reactjs.org/docs/jsx-in-depth.html#booleans-null-and-undefined-are-ignored
|
|
20
|
-
|
|
21
|
-
var isWithoutChildren = function isWithoutChildren(children) {
|
|
22
|
-
return children === null || typeof children === 'undefined' || children === false || children === true || children === '';
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
var Chip = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
26
|
-
var _cn;
|
|
27
|
-
|
|
28
|
-
var value = _ref.value,
|
|
29
|
-
className = _ref.className,
|
|
30
|
-
children = _ref.children,
|
|
31
|
-
icon = _ref.icon,
|
|
32
|
-
_ref$iconPosition = _ref.iconPosition,
|
|
33
|
-
iconPosition = _ref$iconPosition === void 0 ? 'left' : _ref$iconPosition,
|
|
34
|
-
itemId = _ref.itemId,
|
|
35
|
-
onFocus = _ref.onFocus,
|
|
36
|
-
onMouseDown = _ref.onMouseDown,
|
|
37
|
-
e2eId = _ref['data-e2e'],
|
|
38
|
-
restProps = _objectWithoutProperties(_ref, _excluded);
|
|
39
|
-
|
|
40
|
-
var _useChipListContext = useChipListContext(),
|
|
41
|
-
onChange = _useChipListContext.onChange,
|
|
42
|
-
selectedId = _useChipListContext.selectedId;
|
|
43
|
-
|
|
44
|
-
var selected = itemId === selectedId;
|
|
45
|
-
var isRenderLeftIcon = icon && iconPosition === 'left';
|
|
46
|
-
var isRenderRightIcon = icon && iconPosition === 'right';
|
|
47
|
-
return /*#__PURE__*/React.createElement("div", _objectSpread(_objectSpread({}, restProps), {}, {
|
|
48
|
-
className: cn(styles.chip, (_cn = {}, _defineProperty(_cn, styles.selected, selected), _defineProperty(_cn, styles.withoutText, isWithoutChildren(children)), _cn), className),
|
|
49
|
-
onClick: function onClick() {
|
|
50
|
-
return onChange(value);
|
|
51
|
-
},
|
|
52
|
-
onKeyDown: function onKeyDown(e) {
|
|
53
|
-
if (e.key === 'Enter') {
|
|
54
|
-
onChange(value);
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
role: "tab",
|
|
58
|
-
tabIndex: 0,
|
|
59
|
-
ref: ref,
|
|
60
|
-
onFocus: onFocus,
|
|
61
|
-
onMouseDown: onMouseDown,
|
|
62
|
-
"data-e2e": e2eId,
|
|
63
|
-
"data-test": "chip".concat(selected ? ' chip-selected' : '')
|
|
64
|
-
}), isRenderLeftIcon && /*#__PURE__*/cloneElement(icon, {
|
|
65
|
-
className: cn(icon.props.className, styles.icon, styles.iconLeft)
|
|
66
|
-
}), /*#__PURE__*/React.createElement("div", null, children), isRenderRightIcon && /*#__PURE__*/cloneElement(icon, {
|
|
67
|
-
className: cn(icon.props.className, styles.icon, styles.iconRight)
|
|
68
|
-
}));
|
|
69
|
-
});
|
|
70
|
-
Chip.displayName = 'Chip';
|
|
71
|
-
Chip.propTypes = {
|
|
72
|
-
className: PropTypes.string,
|
|
73
|
-
icon: PropTypes.node,
|
|
74
|
-
iconPosition: PropTypes.oneOf(['left', 'right']),
|
|
75
|
-
value: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.symbol]),
|
|
76
|
-
'data-e2e': PropTypes.string,
|
|
77
|
-
itemId: PropTypes.number,
|
|
78
|
-
onFocus: PropTypes.func,
|
|
79
|
-
onMouseDown: PropTypes.func
|
|
80
|
-
};
|
|
81
|
-
export default Chip;
|