@rescui/tab-list 0.12.7 → 0.12.9
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.
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
var styles = {
|
|
2
|
-
"icon": "
|
|
3
|
-
"sizeXS": "
|
|
4
|
-
"sizeS": "
|
|
5
|
-
"sizeM": "
|
|
6
|
-
"sizeL": "
|
|
7
|
-
"light": "
|
|
8
|
-
"dark": "
|
|
2
|
+
"icon": "_icon_19gc9kz_4",
|
|
3
|
+
"sizeXS": "_sizeXS_19gc9kz_14",
|
|
4
|
+
"sizeS": "_sizeS_19gc9kz_18",
|
|
5
|
+
"sizeM": "_sizeM_19gc9kz_22",
|
|
6
|
+
"sizeL": "_sizeL_19gc9kz_26",
|
|
7
|
+
"light": "_light_19gc9kz_30",
|
|
8
|
+
"dark": "_dark_19gc9kz_34"
|
|
9
9
|
};
|
|
10
10
|
export { styles as default };
|
package/lib/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._icon_19gc9kz_4{
|
|
2
2
|
--_rs-theme-dark:var(
|
|
3
3
|
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
4
4
|
var(--rs-theme-dark, 0)
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
--_rs-theme-light-coefficient:calc(1 - var(--_rs-theme-dark-coefficient));
|
|
9
9
|
}
|
|
10
10
|
@supports (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
11
|
-
.
|
|
11
|
+
._icon_19gc9kz_4{
|
|
12
12
|
--_rs-color-primary:color-mix(in srgb, var(--rs-color-primary-light-theme, #6B57FF) calc(100%*var(--_rs-theme-light-coefficient, 1)), var(--rs-color-primary-dark-theme, #8473FF) calc(100%*var(--_rs-theme-dark-coefficient, 0)));
|
|
13
13
|
--_rs-color-primary-dim:color-mix(in srgb, var(--rs-color-primary-dim-light-theme, #8979ff) calc(100%*var(--_rs-theme-light-coefficient, 1)), var(--rs-color-primary-dim-dark-theme, #6f61d2) calc(100%*var(--_rs-theme-dark-coefficient, 0)));
|
|
14
14
|
--_rs-color-primary-fog:color-mix(in srgb, var(--rs-color-primary-fog-light-theme, #e1ddff) calc(100%*var(--_rs-theme-light-coefficient, 1)), var(--rs-color-primary-fog-dark-theme, #2e2b49) calc(100%*var(--_rs-theme-dark-coefficient, 0)));
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
@supports not (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
20
|
-
.
|
|
20
|
+
._icon_19gc9kz_4{
|
|
21
21
|
--_rs-color-primary:rgb(calc(var(--_rs-theme-light-coefficient, 1)*107 + var(--_rs-theme-dark-coefficient, 0)*132), calc(var(--_rs-theme-light-coefficient, 1)*87 + var(--_rs-theme-dark-coefficient, 0)*115), 255);
|
|
22
22
|
--_rs-color-primary-dim:rgb(calc(var(--_rs-theme-light-coefficient, 1)*137 + var(--_rs-theme-dark-coefficient, 0)*111), calc(var(--_rs-theme-light-coefficient, 1)*121 + var(--_rs-theme-dark-coefficient, 0)*97), calc(var(--_rs-theme-light-coefficient, 1)*255 + var(--_rs-theme-dark-coefficient, 0)*210));
|
|
23
23
|
--_rs-color-primary-fog:rgb(calc(var(--_rs-theme-light-coefficient, 1)*225 + var(--_rs-theme-dark-coefficient, 0)*46), calc(var(--_rs-theme-light-coefficient, 1)*221 + var(--_rs-theme-dark-coefficient, 0)*43), calc(var(--_rs-theme-light-coefficient, 1)*255 + var(--_rs-theme-dark-coefficient, 0)*73));
|
|
@@ -25,30 +25,30 @@
|
|
|
25
25
|
--_rs-color-primary-t-fog:rgba(calc(var(--_rs-theme-light-coefficient, 1)*107 + var(--_rs-theme-dark-coefficient, 0)*132), calc(var(--_rs-theme-light-coefficient, 1)*87 + var(--_rs-theme-dark-coefficient, 0)*115), 255, calc(var(--_rs-theme-light-coefficient, 1)*0.2 + var(--_rs-theme-dark-coefficient, 0)*0.3));
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
|
-
.
|
|
28
|
+
._icon_19gc9kz_4{
|
|
29
29
|
|
|
30
30
|
fill:var(--_rs-icons-themed-fill-or-initial, currentcolor);
|
|
31
31
|
|
|
32
32
|
width:auto;
|
|
33
33
|
height:var(--_rs-icons-height);
|
|
34
34
|
}
|
|
35
|
-
.
|
|
35
|
+
._sizeXS_19gc9kz_14{
|
|
36
36
|
--_rs-icons-height:16px;
|
|
37
37
|
}
|
|
38
|
-
.
|
|
38
|
+
._sizeS_19gc9kz_18{
|
|
39
39
|
--_rs-icons-height:20px;
|
|
40
40
|
}
|
|
41
|
-
.
|
|
41
|
+
._sizeM_19gc9kz_22{
|
|
42
42
|
--_rs-icons-height:24px;
|
|
43
43
|
}
|
|
44
|
-
.
|
|
44
|
+
._sizeL_19gc9kz_26{
|
|
45
45
|
--_rs-icons-height:28px;
|
|
46
46
|
}
|
|
47
|
-
.
|
|
47
|
+
._light_19gc9kz_30{
|
|
48
48
|
--rs-theme-dark:0;
|
|
49
49
|
--_rs-icons-themed-fill-or-initial:rgb(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227));
|
|
50
50
|
}
|
|
51
|
-
.
|
|
51
|
+
._dark_19gc9kz_34{
|
|
52
52
|
--rs-theme-dark:1;
|
|
53
53
|
--_rs-icons-themed-fill-or-initial:rgb(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227));
|
|
54
54
|
}
|
|
@@ -72,18 +72,18 @@
|
|
|
72
72
|
transform:rotate(360deg);
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
|
-
.
|
|
75
|
+
._light_hmhwxs_7{
|
|
76
76
|
--rs-theme-dark:0;
|
|
77
77
|
}
|
|
78
|
-
.
|
|
78
|
+
._dark_hmhwxs_10{
|
|
79
79
|
--rs-theme-dark:1;
|
|
80
80
|
}
|
|
81
|
-
.
|
|
81
|
+
._sizeM_hmhwxs_14{
|
|
82
82
|
--_rs-tab-list-tab-vertical-padding:8px;
|
|
83
83
|
--_rs-tab-list-icon-size:24px;
|
|
84
84
|
--_rs-tab-list-icon-offset:4px;
|
|
85
85
|
}
|
|
86
|
-
.
|
|
86
|
+
._sizeM_hmhwxs_14 [data-rs-internal='tab-list__tab']{
|
|
87
87
|
--_rs-typography-letter-spacing:0.0015em;
|
|
88
88
|
--_rs-typography-text-transform:initial;
|
|
89
89
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -118,16 +118,16 @@
|
|
|
118
118
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
119
119
|
}
|
|
120
120
|
@media screen and (max-width: 640px){
|
|
121
|
-
.
|
|
121
|
+
._sizeM_hmhwxs_14 [data-rs-internal='tab-list__tab']{
|
|
122
122
|
--_rs-typography-list-li-margin-top-from-text:12px;
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
|
-
.
|
|
125
|
+
._sizeL_hmhwxs_17{
|
|
126
126
|
--_rs-tab-list-tab-vertical-padding:12px;
|
|
127
127
|
--_rs-tab-list-icon-size:28px;
|
|
128
128
|
--_rs-tab-list-icon-offset:8px;
|
|
129
129
|
}
|
|
130
|
-
.
|
|
130
|
+
._sizeL_hmhwxs_17 [data-rs-internal='tab-list__tab']{
|
|
131
131
|
--_rs-typography-letter-spacing:normal;
|
|
132
132
|
--_rs-typography-text-transform:initial;
|
|
133
133
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -162,30 +162,30 @@
|
|
|
162
162
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
163
163
|
}
|
|
164
164
|
@media screen and (max-width: 640px){
|
|
165
|
-
.
|
|
165
|
+
._sizeL_hmhwxs_17 [data-rs-internal='tab-list__tab']{
|
|
166
166
|
--_rs-typography-list-li-margin-top-from-text:16px;
|
|
167
167
|
}
|
|
168
168
|
}
|
|
169
|
-
.
|
|
169
|
+
._classic_hmhwxs_21{
|
|
170
170
|
--_rs-tab-list-indicator-background:var(--_rs-color-primary);
|
|
171
171
|
--_rs-tab-list-tab-selected-color:var(--_rs-color-primary);
|
|
172
172
|
}
|
|
173
|
-
.
|
|
173
|
+
._rock_hmhwxs_24{
|
|
174
174
|
--_rs-tab-list-indicator-background:rgb(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227));
|
|
175
175
|
--_rs-tab-list-tab-selected-color:rgb(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227));
|
|
176
176
|
}
|
|
177
|
-
.
|
|
177
|
+
._sparse_hmhwxs_28{
|
|
178
178
|
--_rs-tab-list-tab-margin-left-or-initial:32px;
|
|
179
179
|
}
|
|
180
180
|
@media screen and (max-width: 640px){
|
|
181
|
-
.
|
|
181
|
+
._sparse_hmhwxs_28{
|
|
182
182
|
--_rs-tab-list-tab-margin-left-or-initial:24px;
|
|
183
183
|
}
|
|
184
184
|
}
|
|
185
|
-
.
|
|
185
|
+
._short_hmhwxs_32{
|
|
186
186
|
--_rs-tab-list-tab-box-shadow:inset 0 -1px 0 rgba(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227), calc(0.3 + var(--_rs-theme-dark-coefficient)*0.1));
|
|
187
187
|
}
|
|
188
|
-
.
|
|
188
|
+
._tabsContainer_hmhwxs_36{
|
|
189
189
|
--_rs-theme-dark:var(
|
|
190
190
|
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
191
191
|
var(--rs-theme-dark, 0)
|
|
@@ -195,7 +195,7 @@
|
|
|
195
195
|
--_rs-theme-light-coefficient:calc(1 - var(--_rs-theme-dark-coefficient));
|
|
196
196
|
}
|
|
197
197
|
@supports (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
198
|
-
.
|
|
198
|
+
._tabsContainer_hmhwxs_36{
|
|
199
199
|
--_rs-color-primary:color-mix(in srgb, var(--rs-color-primary-light-theme, #6B57FF) calc(100%*var(--_rs-theme-light-coefficient, 1)), var(--rs-color-primary-dark-theme, #8473FF) calc(100%*var(--_rs-theme-dark-coefficient, 0)));
|
|
200
200
|
--_rs-color-primary-dim:color-mix(in srgb, var(--rs-color-primary-dim-light-theme, #8979ff) calc(100%*var(--_rs-theme-light-coefficient, 1)), var(--rs-color-primary-dim-dark-theme, #6f61d2) calc(100%*var(--_rs-theme-dark-coefficient, 0)));
|
|
201
201
|
--_rs-color-primary-fog:color-mix(in srgb, var(--rs-color-primary-fog-light-theme, #e1ddff) calc(100%*var(--_rs-theme-light-coefficient, 1)), var(--rs-color-primary-fog-dark-theme, #2e2b49) calc(100%*var(--_rs-theme-dark-coefficient, 0)));
|
|
@@ -204,7 +204,7 @@
|
|
|
204
204
|
}
|
|
205
205
|
}
|
|
206
206
|
@supports not (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
207
|
-
.
|
|
207
|
+
._tabsContainer_hmhwxs_36{
|
|
208
208
|
--_rs-color-primary:rgb(calc(var(--_rs-theme-light-coefficient, 1)*107 + var(--_rs-theme-dark-coefficient, 0)*132), calc(var(--_rs-theme-light-coefficient, 1)*87 + var(--_rs-theme-dark-coefficient, 0)*115), 255);
|
|
209
209
|
--_rs-color-primary-dim:rgb(calc(var(--_rs-theme-light-coefficient, 1)*137 + var(--_rs-theme-dark-coefficient, 0)*111), calc(var(--_rs-theme-light-coefficient, 1)*121 + var(--_rs-theme-dark-coefficient, 0)*97), calc(var(--_rs-theme-light-coefficient, 1)*255 + var(--_rs-theme-dark-coefficient, 0)*210));
|
|
210
210
|
--_rs-color-primary-fog:rgb(calc(var(--_rs-theme-light-coefficient, 1)*225 + var(--_rs-theme-dark-coefficient, 0)*46), calc(var(--_rs-theme-light-coefficient, 1)*221 + var(--_rs-theme-dark-coefficient, 0)*43), calc(var(--_rs-theme-light-coefficient, 1)*255 + var(--_rs-theme-dark-coefficient, 0)*73));
|
|
@@ -212,15 +212,15 @@
|
|
|
212
212
|
--_rs-color-primary-t-fog:rgba(calc(var(--_rs-theme-light-coefficient, 1)*107 + var(--_rs-theme-dark-coefficient, 0)*132), calc(var(--_rs-theme-light-coefficient, 1)*87 + var(--_rs-theme-dark-coefficient, 0)*115), 255, calc(var(--_rs-theme-light-coefficient, 1)*0.2 + var(--_rs-theme-dark-coefficient, 0)*0.3));
|
|
213
213
|
}
|
|
214
214
|
}
|
|
215
|
-
.
|
|
215
|
+
._tabsContainer_hmhwxs_36 {
|
|
216
216
|
--_rs-tab-list-tab-base-margin-left:24px;
|
|
217
217
|
}
|
|
218
218
|
@media screen and (max-width: 640px){
|
|
219
|
-
.
|
|
219
|
+
._tabsContainer_hmhwxs_36{
|
|
220
220
|
--_rs-tab-list-tab-base-margin-left:16px;
|
|
221
221
|
}
|
|
222
222
|
}
|
|
223
|
-
.
|
|
223
|
+
._tabsContainer_hmhwxs_36 {
|
|
224
224
|
--_rs-tab-list-tab-margin-left:var(
|
|
225
225
|
--_rs-tab-list-tab-margin-left-or-initial,
|
|
226
226
|
var(--_rs-tab-list-tab-base-margin-left)
|
|
@@ -234,7 +234,7 @@
|
|
|
234
234
|
|
|
235
235
|
display:flex;
|
|
236
236
|
}
|
|
237
|
-
.
|
|
237
|
+
._indicator_hmhwxs_46{
|
|
238
238
|
position:absolute;
|
|
239
239
|
z-index:3;
|
|
240
240
|
bottom:0;
|
|
@@ -249,13 +249,13 @@
|
|
|
249
249
|
transition:left 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, width 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
|
250
250
|
will-change:left, width;
|
|
251
251
|
}
|
|
252
|
-
.
|
|
252
|
+
._iconLeft_hmhwxs_61{
|
|
253
253
|
--_rs-tab-list-tab-flex-direction:row;
|
|
254
254
|
}
|
|
255
|
-
.
|
|
255
|
+
._iconRight_hmhwxs_64{
|
|
256
256
|
--_rs-tab-list-tab-flex-direction:row-reverse;
|
|
257
257
|
}
|
|
258
|
-
.
|
|
258
|
+
._tab_hmhwxs_36{
|
|
259
259
|
--_rs-theme-dark:var(
|
|
260
260
|
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
261
261
|
var(--rs-theme-dark, 0)
|
|
@@ -265,7 +265,7 @@
|
|
|
265
265
|
--_rs-theme-light-coefficient:calc(1 - var(--_rs-theme-dark-coefficient));
|
|
266
266
|
}
|
|
267
267
|
@supports (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
268
|
-
.
|
|
268
|
+
._tab_hmhwxs_36{
|
|
269
269
|
--_rs-color-primary:color-mix(in srgb, var(--rs-color-primary-light-theme, #6B57FF) calc(100%*var(--_rs-theme-light-coefficient, 1)), var(--rs-color-primary-dark-theme, #8473FF) calc(100%*var(--_rs-theme-dark-coefficient, 0)));
|
|
270
270
|
--_rs-color-primary-dim:color-mix(in srgb, var(--rs-color-primary-dim-light-theme, #8979ff) calc(100%*var(--_rs-theme-light-coefficient, 1)), var(--rs-color-primary-dim-dark-theme, #6f61d2) calc(100%*var(--_rs-theme-dark-coefficient, 0)));
|
|
271
271
|
--_rs-color-primary-fog:color-mix(in srgb, var(--rs-color-primary-fog-light-theme, #e1ddff) calc(100%*var(--_rs-theme-light-coefficient, 1)), var(--rs-color-primary-fog-dark-theme, #2e2b49) calc(100%*var(--_rs-theme-dark-coefficient, 0)));
|
|
@@ -274,7 +274,7 @@
|
|
|
274
274
|
}
|
|
275
275
|
}
|
|
276
276
|
@supports not (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
277
|
-
.
|
|
277
|
+
._tab_hmhwxs_36{
|
|
278
278
|
--_rs-color-primary:rgb(calc(var(--_rs-theme-light-coefficient, 1)*107 + var(--_rs-theme-dark-coefficient, 0)*132), calc(var(--_rs-theme-light-coefficient, 1)*87 + var(--_rs-theme-dark-coefficient, 0)*115), 255);
|
|
279
279
|
--_rs-color-primary-dim:rgb(calc(var(--_rs-theme-light-coefficient, 1)*137 + var(--_rs-theme-dark-coefficient, 0)*111), calc(var(--_rs-theme-light-coefficient, 1)*121 + var(--_rs-theme-dark-coefficient, 0)*97), calc(var(--_rs-theme-light-coefficient, 1)*255 + var(--_rs-theme-dark-coefficient, 0)*210));
|
|
280
280
|
--_rs-color-primary-fog:rgb(calc(var(--_rs-theme-light-coefficient, 1)*225 + var(--_rs-theme-dark-coefficient, 0)*46), calc(var(--_rs-theme-light-coefficient, 1)*221 + var(--_rs-theme-dark-coefficient, 0)*43), calc(var(--_rs-theme-light-coefficient, 1)*255 + var(--_rs-theme-dark-coefficient, 0)*73));
|
|
@@ -282,7 +282,7 @@
|
|
|
282
282
|
--_rs-color-primary-t-fog:rgba(calc(var(--_rs-theme-light-coefficient, 1)*107 + var(--_rs-theme-dark-coefficient, 0)*132), calc(var(--_rs-theme-light-coefficient, 1)*87 + var(--_rs-theme-dark-coefficient, 0)*115), 255, calc(var(--_rs-theme-light-coefficient, 1)*0.2 + var(--_rs-theme-dark-coefficient, 0)*0.3));
|
|
283
283
|
}
|
|
284
284
|
}
|
|
285
|
-
.
|
|
285
|
+
._tab_hmhwxs_36 {
|
|
286
286
|
letter-spacing:var(
|
|
287
287
|
--rs-text-base-letter-spacing,
|
|
288
288
|
var(--_rs-typography-letter-spacing)
|
|
@@ -295,12 +295,6 @@
|
|
|
295
295
|
font-variant-numeric:var(--_rs-typography-font-variant-numeric);
|
|
296
296
|
-webkit-font-feature-settings:'kern', 'liga', 'calt';
|
|
297
297
|
font-feature-settings:'kern', 'liga', 'calt';
|
|
298
|
-
}
|
|
299
|
-
._tab_adazr6_36 > p:not(:nth-child(1)),
|
|
300
|
-
._tab_adazr6_36 > pre:not(:nth-child(1)){
|
|
301
|
-
padding-top:var(--_rs-typography-auto-offset-or-initial);
|
|
302
|
-
}
|
|
303
|
-
._tab_adazr6_36 {
|
|
304
298
|
|
|
305
299
|
position:relative;
|
|
306
300
|
|
|
@@ -347,19 +341,19 @@
|
|
|
347
341
|
-moz-osx-font-smoothing:inherit;
|
|
348
342
|
-webkit-appearance:none;
|
|
349
343
|
}
|
|
350
|
-
.
|
|
344
|
+
._tab_hmhwxs_36::-moz-focus-inner{
|
|
351
345
|
padding:0;
|
|
352
346
|
|
|
353
347
|
border:none;
|
|
354
348
|
}
|
|
355
|
-
.
|
|
356
|
-
.
|
|
357
|
-
.
|
|
349
|
+
._tab_hmhwxs_36:hover,
|
|
350
|
+
._tab_hmhwxs_36:active,
|
|
351
|
+
._tab_hmhwxs_36:focus{
|
|
358
352
|
outline:none;
|
|
359
353
|
|
|
360
354
|
text-decoration:none;
|
|
361
355
|
}
|
|
362
|
-
.
|
|
356
|
+
._tab_hmhwxs_36:after{
|
|
363
357
|
position:absolute;
|
|
364
358
|
bottom:0;
|
|
365
359
|
left:0;
|
|
@@ -371,18 +365,18 @@
|
|
|
371
365
|
|
|
372
366
|
background-color:transparent;
|
|
373
367
|
}
|
|
374
|
-
.
|
|
368
|
+
._tab_hmhwxs_36:focus[data-focus-method='key']:after{
|
|
375
369
|
opacity:0;
|
|
376
370
|
}
|
|
377
|
-
.
|
|
371
|
+
._tab_hmhwxs_36:hover{
|
|
378
372
|
color:rgb(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227));
|
|
379
373
|
}
|
|
380
|
-
.
|
|
374
|
+
._tab_hmhwxs_36:hover:after{
|
|
381
375
|
height:1px;
|
|
382
376
|
|
|
383
377
|
background-color:rgb(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227));
|
|
384
378
|
}
|
|
385
|
-
.
|
|
379
|
+
._tab_hmhwxs_36._selected_hmhwxs_154{
|
|
386
380
|
z-index:1;
|
|
387
381
|
|
|
388
382
|
cursor:default;
|
|
@@ -393,7 +387,7 @@
|
|
|
393
387
|
|
|
394
388
|
transition:color 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
|
395
389
|
}
|
|
396
|
-
.
|
|
390
|
+
._tab_hmhwxs_36._selected_hmhwxs_154:after{
|
|
397
391
|
height:2px;
|
|
398
392
|
|
|
399
393
|
background-color:var(--_rs-tab-list-indicator-background);
|
|
@@ -402,14 +396,14 @@
|
|
|
402
396
|
|
|
403
397
|
transition:background-color 0ms ease 300ms, height 0ms ease 300ms;
|
|
404
398
|
}
|
|
405
|
-
.
|
|
399
|
+
._tab_hmhwxs_36:focus[data-focus-method='key']{
|
|
406
400
|
-webkit-box-shadow:inset var(--_rs-color-primary-dim) 0 -4px 0 0, inset var(--_rs-color-primary-dim) 0 4px 0 0, var(--_rs-color-primary-dim) -4px 0 0 0, var(--_rs-color-primary-dim) 4px 0 0 0;
|
|
407
401
|
box-shadow:inset var(--_rs-color-primary-dim) 0 -4px 0 0, inset var(--_rs-color-primary-dim) 0 4px 0 0, var(--_rs-color-primary-dim) -4px 0 0 0, var(--_rs-color-primary-dim) 4px 0 0 0;
|
|
408
402
|
}
|
|
409
|
-
.
|
|
403
|
+
._tab_hmhwxs_36:first-child{
|
|
410
404
|
margin-left:0;
|
|
411
405
|
}
|
|
412
|
-
.
|
|
406
|
+
._tab_hmhwxs_36 ._icon_hmhwxs_61{
|
|
413
407
|
-webkit-box-flex:0;
|
|
414
408
|
-ms-flex:0 0;
|
|
415
409
|
flex:0 0;
|
|
@@ -420,13 +414,13 @@
|
|
|
420
414
|
height:var(--_rs-tab-list-icon-size);
|
|
421
415
|
}
|
|
422
416
|
|
|
423
|
-
.
|
|
417
|
+
._light_tv1glf_9{
|
|
424
418
|
--rs-theme-dark:0;
|
|
425
419
|
}
|
|
426
|
-
.
|
|
420
|
+
._dark_tv1glf_12{
|
|
427
421
|
--rs-theme-dark:1;
|
|
428
422
|
}
|
|
429
|
-
.
|
|
423
|
+
._wrapper_tv1glf_16{
|
|
430
424
|
--_rs-theme-dark:var(
|
|
431
425
|
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
432
426
|
var(--rs-theme-dark, 0)
|
|
@@ -442,7 +436,7 @@
|
|
|
442
436
|
|
|
443
437
|
display:flex;
|
|
444
438
|
}
|
|
445
|
-
.
|
|
439
|
+
._scrollable_tv1glf_23{
|
|
446
440
|
display:-webkit-box;
|
|
447
441
|
display:-ms-flexbox;
|
|
448
442
|
display:flex;
|
|
@@ -451,7 +445,7 @@
|
|
|
451
445
|
margin:-4px;
|
|
452
446
|
padding:4px;
|
|
453
447
|
}
|
|
454
|
-
.
|
|
448
|
+
._scrollable_tv1glf_23::after{
|
|
455
449
|
display:block;
|
|
456
450
|
|
|
457
451
|
height:100%;
|
|
@@ -460,15 +454,15 @@
|
|
|
460
454
|
|
|
461
455
|
content:'';
|
|
462
456
|
}
|
|
463
|
-
.
|
|
457
|
+
._scrollable_tv1glf_23 {
|
|
464
458
|
|
|
465
459
|
-ms-overflow-style:none;
|
|
466
460
|
scrollbar-width:none;
|
|
467
461
|
}
|
|
468
|
-
.
|
|
462
|
+
._scrollable_tv1glf_23::-webkit-scrollbar{
|
|
469
463
|
display:none;
|
|
470
464
|
}
|
|
471
|
-
.
|
|
465
|
+
._arrow_tv1glf_52{
|
|
472
466
|
position:absolute;
|
|
473
467
|
z-index:2;
|
|
474
468
|
top:50%;
|
|
@@ -497,7 +491,7 @@
|
|
|
497
491
|
-webkit-transform:translateY(-50%);
|
|
498
492
|
transform:translateY(-50%);
|
|
499
493
|
}
|
|
500
|
-
.
|
|
494
|
+
._arrow_tv1glf_52._shown_tv1glf_72{
|
|
501
495
|
opacity:1;
|
|
502
496
|
|
|
503
497
|
pointer-events:auto;
|
|
@@ -506,13 +500,13 @@
|
|
|
506
500
|
|
|
507
501
|
transition:opacity 0.15s ease-in;
|
|
508
502
|
}
|
|
509
|
-
.
|
|
503
|
+
._arrow_tv1glf_52._arrowLeft_tv1glf_80{
|
|
510
504
|
left:-5px;
|
|
511
505
|
}
|
|
512
|
-
.
|
|
506
|
+
._arrow_tv1glf_52._arrowRight_tv1glf_85{
|
|
513
507
|
right:-5px;
|
|
514
508
|
}
|
|
515
|
-
.
|
|
509
|
+
._withLeftArrow_tv1glf_91{
|
|
516
510
|
-webkit-mask-image:-webkit-gradient(
|
|
517
511
|
linear,
|
|
518
512
|
left top, right top,
|
|
@@ -540,7 +534,7 @@
|
|
|
540
534
|
black 56px
|
|
541
535
|
);
|
|
542
536
|
}
|
|
543
|
-
.
|
|
537
|
+
._withRightArrow_tv1glf_100{
|
|
544
538
|
-webkit-mask-image:-webkit-gradient(
|
|
545
539
|
linear,
|
|
546
540
|
right top, left top,
|
|
@@ -568,7 +562,7 @@
|
|
|
568
562
|
black 56px
|
|
569
563
|
);
|
|
570
564
|
}
|
|
571
|
-
.
|
|
565
|
+
._withLeftArrow_tv1glf_91._withRightArrow_tv1glf_100{
|
|
572
566
|
-webkit-mask-image:-webkit-gradient(
|
|
573
567
|
linear,
|
|
574
568
|
left top, right top,
|
|
@@ -608,17 +602,17 @@
|
|
|
608
602
|
rgba(0, 0, 0, 0) 100%
|
|
609
603
|
);
|
|
610
604
|
}
|
|
611
|
-
.
|
|
605
|
+
._arrowButton_tv1glf_121{
|
|
612
606
|
cursor:pointer;
|
|
613
607
|
}
|
|
614
608
|
|
|
615
|
-
.
|
|
609
|
+
._light_19k9xgb_4{
|
|
616
610
|
--rs-theme-dark:0;
|
|
617
611
|
}
|
|
618
|
-
.
|
|
612
|
+
._dark_19k9xgb_7{
|
|
619
613
|
--rs-theme-dark:1;
|
|
620
614
|
}
|
|
621
|
-
.
|
|
615
|
+
._separator_19k9xgb_11{
|
|
622
616
|
--_rs-theme-dark:var(
|
|
623
617
|
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
624
618
|
var(--rs-theme-dark, 0)
|
|
@@ -632,7 +626,7 @@
|
|
|
632
626
|
|
|
633
627
|
width:100%;
|
|
634
628
|
}
|
|
635
|
-
.
|
|
629
|
+
._separator_19k9xgb_11:after{
|
|
636
630
|
position:absolute;
|
|
637
631
|
right:0;
|
|
638
632
|
bottom:0;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
var styles = {
|
|
2
|
-
"light": "
|
|
3
|
-
"dark": "
|
|
4
|
-
"sizeM": "
|
|
5
|
-
"sizeL": "
|
|
6
|
-
"classic": "
|
|
7
|
-
"rock": "
|
|
8
|
-
"sparse": "
|
|
9
|
-
"short": "
|
|
10
|
-
"tabsContainer": "
|
|
11
|
-
"indicator": "
|
|
12
|
-
"iconLeft": "
|
|
13
|
-
"iconRight": "
|
|
14
|
-
"tab": "
|
|
15
|
-
"selected": "
|
|
16
|
-
"icon": "
|
|
2
|
+
"light": "_light_hmhwxs_7",
|
|
3
|
+
"dark": "_dark_hmhwxs_10",
|
|
4
|
+
"sizeM": "_sizeM_hmhwxs_14",
|
|
5
|
+
"sizeL": "_sizeL_hmhwxs_17",
|
|
6
|
+
"classic": "_classic_hmhwxs_21",
|
|
7
|
+
"rock": "_rock_hmhwxs_24",
|
|
8
|
+
"sparse": "_sparse_hmhwxs_28",
|
|
9
|
+
"short": "_short_hmhwxs_32",
|
|
10
|
+
"tabsContainer": "_tabsContainer_hmhwxs_36",
|
|
11
|
+
"indicator": "_indicator_hmhwxs_46",
|
|
12
|
+
"iconLeft": "_iconLeft_hmhwxs_61",
|
|
13
|
+
"iconRight": "_iconRight_hmhwxs_64",
|
|
14
|
+
"tab": "_tab_hmhwxs_36",
|
|
15
|
+
"selected": "_selected_hmhwxs_154",
|
|
16
|
+
"icon": "_icon_hmhwxs_61"
|
|
17
17
|
};
|
|
18
18
|
export { styles as default };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
var styles = {
|
|
2
|
-
"light": "
|
|
3
|
-
"dark": "
|
|
4
|
-
"wrapper": "
|
|
5
|
-
"scrollable": "
|
|
6
|
-
"arrow": "
|
|
7
|
-
"shown": "
|
|
8
|
-
"arrowLeft": "
|
|
9
|
-
"arrowRight": "
|
|
10
|
-
"withLeftArrow": "
|
|
11
|
-
"withRightArrow": "
|
|
12
|
-
"arrowButton": "
|
|
2
|
+
"light": "_light_tv1glf_9",
|
|
3
|
+
"dark": "_dark_tv1glf_12",
|
|
4
|
+
"wrapper": "_wrapper_tv1glf_16",
|
|
5
|
+
"scrollable": "_scrollable_tv1glf_23",
|
|
6
|
+
"arrow": "_arrow_tv1glf_52",
|
|
7
|
+
"shown": "_shown_tv1glf_72",
|
|
8
|
+
"arrowLeft": "_arrowLeft_tv1glf_80",
|
|
9
|
+
"arrowRight": "_arrowRight_tv1glf_85",
|
|
10
|
+
"withLeftArrow": "_withLeftArrow_tv1glf_91",
|
|
11
|
+
"withRightArrow": "_withRightArrow_tv1glf_100",
|
|
12
|
+
"arrowButton": "_arrowButton_tv1glf_121"
|
|
13
13
|
};
|
|
14
14
|
export { styles as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rescui/tab-list",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.9",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "JetBrains",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@babel/runtime-corejs3": "^7.14.0",
|
|
18
18
|
"@juggle/resize-observer": "3.3.0",
|
|
19
|
-
"@rescui/button": "^0.16.
|
|
19
|
+
"@rescui/button": "^0.16.3",
|
|
20
20
|
"classnames": "^2.2.6",
|
|
21
21
|
"core-js": "^3.9.1"
|
|
22
22
|
},
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
"react": ">=16.8.0 <19"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@rescui/colors": "^0.2.
|
|
29
|
+
"@rescui/colors": "^0.2.4",
|
|
30
30
|
"@rescui/postcss-preset-library": "^0.2.1",
|
|
31
|
-
"@rescui/scripts": "^0.3.
|
|
32
|
-
"@rescui/typography": "^0.
|
|
31
|
+
"@rescui/scripts": "^0.3.4",
|
|
32
|
+
"@rescui/typography": "^0.18.0",
|
|
33
33
|
"@rescui/visual-regression": "^0.1.2"
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"build-pcss-api": "rescui-scripts build-pcss-api --file public-api.p.css"
|
|
38
38
|
},
|
|
39
39
|
"nx": {},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "ac2efc85e94cfd6b9bae29c2829d38b6bd608474"
|
|
41
41
|
}
|