@rescui/tab-list 0.13.8 → 0.13.10
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/_virtual/index.css.js +7 -7
- package/lib/index.css +70 -70
- package/lib/parts/separator.p.module.css.js +3 -3
- package/lib/parts/tab-list.p.module.css.js +15 -15
- package/lib/parts/with-scroll-arrows.p.module.css.js +11 -11
- package/lib/public-api.p.css +2 -2
- package/lib/public-api.pcss +2 -2
- package/package.json +4 -4
|
@@ -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_19xlij7_4",
|
|
3
|
+
"sizeXS": "_sizeXS_19xlij7_14",
|
|
4
|
+
"sizeS": "_sizeS_19xlij7_18",
|
|
5
|
+
"sizeM": "_sizeM_19xlij7_22",
|
|
6
|
+
"sizeL": "_sizeL_19xlij7_26",
|
|
7
|
+
"light": "_light_19xlij7_30",
|
|
8
|
+
"dark": "_dark_19xlij7_34"
|
|
9
9
|
};
|
|
10
10
|
export { styles as default };
|
package/lib/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._icon_19xlij7_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_19xlij7_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_19xlij7_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_19xlij7_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_19xlij7_14{
|
|
36
36
|
--_rs-icons-height:16px;
|
|
37
37
|
}
|
|
38
|
-
.
|
|
38
|
+
._sizeS_19xlij7_18{
|
|
39
39
|
--_rs-icons-height:20px;
|
|
40
40
|
}
|
|
41
|
-
.
|
|
41
|
+
._sizeM_19xlij7_22{
|
|
42
42
|
--_rs-icons-height:24px;
|
|
43
43
|
}
|
|
44
|
-
.
|
|
44
|
+
._sizeL_19xlij7_26{
|
|
45
45
|
--_rs-icons-height:28px;
|
|
46
46
|
}
|
|
47
|
-
.
|
|
47
|
+
._light_19xlij7_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_19xlij7_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
|
}
|
|
@@ -60,19 +60,19 @@
|
|
|
60
60
|
transform:rotate(360deg);
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
|
-
.
|
|
63
|
+
._light_1u9u4ls_7{
|
|
64
64
|
--rs-theme-dark:0;
|
|
65
65
|
}
|
|
66
|
-
.
|
|
66
|
+
._dark_1u9u4ls_10{
|
|
67
67
|
--rs-theme-dark:1;
|
|
68
68
|
}
|
|
69
|
-
.
|
|
69
|
+
._sizeM_1u9u4ls_14{
|
|
70
70
|
--_rs-tab-list-tab-vertical-padding:8px;
|
|
71
71
|
--_rs-tab-list-icon-size:24px;
|
|
72
72
|
--_rs-tab-list-icon-offset:4px;
|
|
73
73
|
}
|
|
74
|
-
.
|
|
75
|
-
--_rs-typography-letter-spacing:0.0015em;
|
|
74
|
+
._sizeM_1u9u4ls_14 [data-rs-internal='tab-list__tab']{
|
|
75
|
+
--_rs-typography-letter-spacing:var(--rs-text-2-letter-spacing, 0.0015em);
|
|
76
76
|
--_rs-typography-text-transform:initial;
|
|
77
77
|
--_rs-typography-font-variant-numeric:initial;
|
|
78
78
|
--_rs-typography-font-family:var(
|
|
@@ -106,17 +106,17 @@
|
|
|
106
106
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
107
107
|
}
|
|
108
108
|
@media screen and (max-width: 640px){
|
|
109
|
-
.
|
|
109
|
+
._sizeM_1u9u4ls_14 [data-rs-internal='tab-list__tab']{
|
|
110
110
|
--_rs-typography-list-li-margin-top-from-text:12px;
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
|
-
.
|
|
113
|
+
._sizeL_1u9u4ls_17{
|
|
114
114
|
--_rs-tab-list-tab-vertical-padding:12px;
|
|
115
115
|
--_rs-tab-list-icon-size:28px;
|
|
116
116
|
--_rs-tab-list-icon-offset:8px;
|
|
117
117
|
}
|
|
118
|
-
.
|
|
119
|
-
--_rs-typography-letter-spacing:normal;
|
|
118
|
+
._sizeL_1u9u4ls_17 [data-rs-internal='tab-list__tab']{
|
|
119
|
+
--_rs-typography-letter-spacing:var(--rs-text-1-letter-spacing, normal);
|
|
120
120
|
--_rs-typography-text-transform:initial;
|
|
121
121
|
--_rs-typography-font-variant-numeric:initial;
|
|
122
122
|
--_rs-typography-font-family:var(
|
|
@@ -150,28 +150,28 @@
|
|
|
150
150
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
151
151
|
}
|
|
152
152
|
@media screen and (max-width: 640px){
|
|
153
|
-
.
|
|
153
|
+
._sizeL_1u9u4ls_17 [data-rs-internal='tab-list__tab']{
|
|
154
154
|
--_rs-typography-list-li-margin-top-from-text:16px;
|
|
155
155
|
}
|
|
156
156
|
}
|
|
157
|
-
.
|
|
157
|
+
._classic_1u9u4ls_21{
|
|
158
158
|
--_rs-tab-list-indicator-background:var(--_rs-color-primary);
|
|
159
159
|
}
|
|
160
|
-
.
|
|
160
|
+
._rock_1u9u4ls_24{
|
|
161
161
|
--_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));
|
|
162
162
|
}
|
|
163
|
-
.
|
|
163
|
+
._sparse_1u9u4ls_28{
|
|
164
164
|
--_rs-tab-list-tab-margin-left-or-initial:32px;
|
|
165
165
|
}
|
|
166
166
|
@media screen and (max-width: 640px){
|
|
167
|
-
.
|
|
167
|
+
._sparse_1u9u4ls_28{
|
|
168
168
|
--_rs-tab-list-tab-margin-left-or-initial:24px;
|
|
169
169
|
}
|
|
170
170
|
}
|
|
171
|
-
.
|
|
171
|
+
._short_1u9u4ls_32{
|
|
172
172
|
--_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));
|
|
173
173
|
}
|
|
174
|
-
.
|
|
174
|
+
._tabsContainer_1u9u4ls_36{
|
|
175
175
|
--_rs-theme-dark:var(
|
|
176
176
|
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
177
177
|
var(--rs-theme-dark, 0)
|
|
@@ -181,7 +181,7 @@
|
|
|
181
181
|
--_rs-theme-light-coefficient:calc(1 - var(--_rs-theme-dark-coefficient));
|
|
182
182
|
}
|
|
183
183
|
@supports (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
184
|
-
.
|
|
184
|
+
._tabsContainer_1u9u4ls_36{
|
|
185
185
|
--_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)));
|
|
186
186
|
--_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)));
|
|
187
187
|
--_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)));
|
|
@@ -190,7 +190,7 @@
|
|
|
190
190
|
}
|
|
191
191
|
}
|
|
192
192
|
@supports not (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
193
|
-
.
|
|
193
|
+
._tabsContainer_1u9u4ls_36{
|
|
194
194
|
--_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);
|
|
195
195
|
--_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));
|
|
196
196
|
--_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));
|
|
@@ -198,15 +198,15 @@
|
|
|
198
198
|
--_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));
|
|
199
199
|
}
|
|
200
200
|
}
|
|
201
|
-
.
|
|
201
|
+
._tabsContainer_1u9u4ls_36 {
|
|
202
202
|
--_rs-tab-list-tab-base-margin-left:24px;
|
|
203
203
|
}
|
|
204
204
|
@media screen and (max-width: 640px){
|
|
205
|
-
.
|
|
205
|
+
._tabsContainer_1u9u4ls_36{
|
|
206
206
|
--_rs-tab-list-tab-base-margin-left:16px;
|
|
207
207
|
}
|
|
208
208
|
}
|
|
209
|
-
.
|
|
209
|
+
._tabsContainer_1u9u4ls_36 {
|
|
210
210
|
--_rs-tab-list-tab-margin-left:var(
|
|
211
211
|
--_rs-tab-list-tab-margin-left-or-initial,
|
|
212
212
|
var(--_rs-tab-list-tab-base-margin-left)
|
|
@@ -216,7 +216,7 @@
|
|
|
216
216
|
|
|
217
217
|
display:flex;
|
|
218
218
|
}
|
|
219
|
-
.
|
|
219
|
+
._indicator_1u9u4ls_46{
|
|
220
220
|
position:absolute;
|
|
221
221
|
z-index:3;
|
|
222
222
|
bottom:0;
|
|
@@ -229,13 +229,13 @@
|
|
|
229
229
|
transition:left 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, width 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
|
230
230
|
will-change:left, width;
|
|
231
231
|
}
|
|
232
|
-
.
|
|
232
|
+
._iconLeft_1u9u4ls_61{
|
|
233
233
|
--_rs-tab-list-tab-flex-direction:row;
|
|
234
234
|
}
|
|
235
|
-
.
|
|
235
|
+
._iconRight_1u9u4ls_64{
|
|
236
236
|
--_rs-tab-list-tab-flex-direction:row-reverse;
|
|
237
237
|
}
|
|
238
|
-
.
|
|
238
|
+
._tab_1u9u4ls_36{
|
|
239
239
|
--_rs-theme-dark:var(
|
|
240
240
|
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
241
241
|
var(--rs-theme-dark, 0)
|
|
@@ -245,7 +245,7 @@
|
|
|
245
245
|
--_rs-theme-light-coefficient:calc(1 - var(--_rs-theme-dark-coefficient));
|
|
246
246
|
}
|
|
247
247
|
@supports (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
248
|
-
.
|
|
248
|
+
._tab_1u9u4ls_36{
|
|
249
249
|
--_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)));
|
|
250
250
|
--_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)));
|
|
251
251
|
--_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)));
|
|
@@ -254,7 +254,7 @@
|
|
|
254
254
|
}
|
|
255
255
|
}
|
|
256
256
|
@supports not (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
257
|
-
.
|
|
257
|
+
._tab_1u9u4ls_36{
|
|
258
258
|
--_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);
|
|
259
259
|
--_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));
|
|
260
260
|
--_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));
|
|
@@ -262,7 +262,7 @@
|
|
|
262
262
|
--_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));
|
|
263
263
|
}
|
|
264
264
|
}
|
|
265
|
-
.
|
|
265
|
+
._tab_1u9u4ls_36 {
|
|
266
266
|
letter-spacing:var(
|
|
267
267
|
--rs-text-base-letter-spacing,
|
|
268
268
|
var(--_rs-typography-letter-spacing)
|
|
@@ -306,19 +306,19 @@
|
|
|
306
306
|
-moz-osx-font-smoothing:inherit;
|
|
307
307
|
-webkit-appearance:none;
|
|
308
308
|
}
|
|
309
|
-
.
|
|
309
|
+
._tab_1u9u4ls_36::-moz-focus-inner{
|
|
310
310
|
padding:0;
|
|
311
311
|
|
|
312
312
|
border:none;
|
|
313
313
|
}
|
|
314
|
-
.
|
|
315
|
-
.
|
|
316
|
-
.
|
|
314
|
+
._tab_1u9u4ls_36:hover,
|
|
315
|
+
._tab_1u9u4ls_36:active,
|
|
316
|
+
._tab_1u9u4ls_36:focus{
|
|
317
317
|
outline:none;
|
|
318
318
|
|
|
319
319
|
text-decoration:none;
|
|
320
320
|
}
|
|
321
|
-
.
|
|
321
|
+
._tab_1u9u4ls_36:after{
|
|
322
322
|
position:absolute;
|
|
323
323
|
bottom:0;
|
|
324
324
|
left:0;
|
|
@@ -330,18 +330,18 @@
|
|
|
330
330
|
|
|
331
331
|
background-color:transparent;
|
|
332
332
|
}
|
|
333
|
-
.
|
|
333
|
+
._tab_1u9u4ls_36:focus[data-focus-method='key']:after{
|
|
334
334
|
opacity:0;
|
|
335
335
|
}
|
|
336
|
-
.
|
|
336
|
+
._tab_1u9u4ls_36:hover{
|
|
337
337
|
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));
|
|
338
338
|
}
|
|
339
|
-
.
|
|
339
|
+
._tab_1u9u4ls_36:hover:after{
|
|
340
340
|
height:1px;
|
|
341
341
|
|
|
342
342
|
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));
|
|
343
343
|
}
|
|
344
|
-
.
|
|
344
|
+
._tab_1u9u4ls_36._selected_1u9u4ls_154{
|
|
345
345
|
z-index:1;
|
|
346
346
|
|
|
347
347
|
cursor:default;
|
|
@@ -350,20 +350,20 @@
|
|
|
350
350
|
|
|
351
351
|
transition:color 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
|
352
352
|
}
|
|
353
|
-
.
|
|
353
|
+
._tab_1u9u4ls_36._selected_1u9u4ls_154:after{
|
|
354
354
|
height:2px;
|
|
355
355
|
|
|
356
356
|
background-color:var(--_rs-tab-list-indicator-background);
|
|
357
357
|
|
|
358
358
|
transition:background-color 0ms ease 300ms, height 0ms ease 300ms;
|
|
359
359
|
}
|
|
360
|
-
.
|
|
360
|
+
._tab_1u9u4ls_36:focus[data-focus-method='key']{
|
|
361
361
|
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;
|
|
362
362
|
}
|
|
363
|
-
.
|
|
363
|
+
._tab_1u9u4ls_36:first-child{
|
|
364
364
|
margin-left:0;
|
|
365
365
|
}
|
|
366
|
-
.
|
|
366
|
+
._tab_1u9u4ls_36 ._icon_1u9u4ls_61{
|
|
367
367
|
flex:0 0;
|
|
368
368
|
flex-basis:auto;
|
|
369
369
|
|
|
@@ -371,13 +371,13 @@
|
|
|
371
371
|
height:var(--_rs-tab-list-icon-size);
|
|
372
372
|
}
|
|
373
373
|
|
|
374
|
-
.
|
|
374
|
+
._light_1yetdxv_9{
|
|
375
375
|
--rs-theme-dark:0;
|
|
376
376
|
}
|
|
377
|
-
.
|
|
377
|
+
._dark_1yetdxv_12{
|
|
378
378
|
--rs-theme-dark:1;
|
|
379
379
|
}
|
|
380
|
-
.
|
|
380
|
+
._wrapper_1yetdxv_16{
|
|
381
381
|
--_rs-theme-dark:var(
|
|
382
382
|
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
383
383
|
var(--rs-theme-dark, 0)
|
|
@@ -389,14 +389,14 @@
|
|
|
389
389
|
|
|
390
390
|
display:flex;
|
|
391
391
|
}
|
|
392
|
-
.
|
|
392
|
+
._scrollable_1yetdxv_23{
|
|
393
393
|
display:flex;
|
|
394
394
|
overflow-x:scroll;
|
|
395
395
|
|
|
396
396
|
margin:-4px;
|
|
397
397
|
padding:4px;
|
|
398
398
|
}
|
|
399
|
-
.
|
|
399
|
+
._scrollable_1yetdxv_23::after{
|
|
400
400
|
display:block;
|
|
401
401
|
|
|
402
402
|
height:100%;
|
|
@@ -405,15 +405,15 @@
|
|
|
405
405
|
|
|
406
406
|
content:'';
|
|
407
407
|
}
|
|
408
|
-
.
|
|
408
|
+
._scrollable_1yetdxv_23 {
|
|
409
409
|
|
|
410
410
|
-ms-overflow-style:none;
|
|
411
411
|
scrollbar-width:none;
|
|
412
412
|
}
|
|
413
|
-
.
|
|
413
|
+
._scrollable_1yetdxv_23::-webkit-scrollbar{
|
|
414
414
|
display:none;
|
|
415
415
|
}
|
|
416
|
-
.
|
|
416
|
+
._arrow_1yetdxv_52{
|
|
417
417
|
position:absolute;
|
|
418
418
|
z-index:2;
|
|
419
419
|
top:50%;
|
|
@@ -433,20 +433,20 @@
|
|
|
433
433
|
transition:opacity 0.15s ease-out;
|
|
434
434
|
transform:translateY(-50%);
|
|
435
435
|
}
|
|
436
|
-
.
|
|
436
|
+
._arrow_1yetdxv_52._shown_1yetdxv_72{
|
|
437
437
|
opacity:1;
|
|
438
438
|
|
|
439
439
|
pointer-events:auto;
|
|
440
440
|
|
|
441
441
|
transition:opacity 0.15s ease-in;
|
|
442
442
|
}
|
|
443
|
-
.
|
|
443
|
+
._arrow_1yetdxv_52._arrowLeft_1yetdxv_80{
|
|
444
444
|
left:-5px;
|
|
445
445
|
}
|
|
446
|
-
.
|
|
446
|
+
._arrow_1yetdxv_52._arrowRight_1yetdxv_85{
|
|
447
447
|
right:-5px;
|
|
448
448
|
}
|
|
449
|
-
.
|
|
449
|
+
._withLeftArrow_1yetdxv_91{
|
|
450
450
|
-webkit-mask-image:linear-gradient(
|
|
451
451
|
to right,
|
|
452
452
|
rgba(0, 0, 0, 0) 0%,
|
|
@@ -460,7 +460,7 @@
|
|
|
460
460
|
black 56px
|
|
461
461
|
);
|
|
462
462
|
}
|
|
463
|
-
.
|
|
463
|
+
._withRightArrow_1yetdxv_100{
|
|
464
464
|
-webkit-mask-image:linear-gradient(
|
|
465
465
|
to left,
|
|
466
466
|
rgba(0, 0, 0, 0) 0%,
|
|
@@ -474,7 +474,7 @@
|
|
|
474
474
|
black 56px
|
|
475
475
|
);
|
|
476
476
|
}
|
|
477
|
-
.
|
|
477
|
+
._withLeftArrow_1yetdxv_91._withRightArrow_1yetdxv_100{
|
|
478
478
|
-webkit-mask-image:linear-gradient(
|
|
479
479
|
to right,
|
|
480
480
|
rgba(0, 0, 0, 0) 0%,
|
|
@@ -494,17 +494,17 @@
|
|
|
494
494
|
rgba(0, 0, 0, 0) 100%
|
|
495
495
|
);
|
|
496
496
|
}
|
|
497
|
-
.
|
|
497
|
+
._arrowButton_1yetdxv_121{
|
|
498
498
|
cursor:pointer;
|
|
499
499
|
}
|
|
500
500
|
|
|
501
|
-
.
|
|
501
|
+
._light_1l9h2iz_4{
|
|
502
502
|
--rs-theme-dark:0;
|
|
503
503
|
}
|
|
504
|
-
.
|
|
504
|
+
._dark_1l9h2iz_7{
|
|
505
505
|
--rs-theme-dark:1;
|
|
506
506
|
}
|
|
507
|
-
.
|
|
507
|
+
._separator_1l9h2iz_11{
|
|
508
508
|
--_rs-theme-dark:var(
|
|
509
509
|
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
510
510
|
var(--rs-theme-dark, 0)
|
|
@@ -518,7 +518,7 @@
|
|
|
518
518
|
|
|
519
519
|
width:100%;
|
|
520
520
|
}
|
|
521
|
-
.
|
|
521
|
+
._separator_1l9h2iz_11:after{
|
|
522
522
|
position:absolute;
|
|
523
523
|
right:0;
|
|
524
524
|
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_1u9u4ls_7",
|
|
3
|
+
"dark": "_dark_1u9u4ls_10",
|
|
4
|
+
"sizeM": "_sizeM_1u9u4ls_14",
|
|
5
|
+
"sizeL": "_sizeL_1u9u4ls_17",
|
|
6
|
+
"classic": "_classic_1u9u4ls_21",
|
|
7
|
+
"rock": "_rock_1u9u4ls_24",
|
|
8
|
+
"sparse": "_sparse_1u9u4ls_28",
|
|
9
|
+
"short": "_short_1u9u4ls_32",
|
|
10
|
+
"tabsContainer": "_tabsContainer_1u9u4ls_36",
|
|
11
|
+
"indicator": "_indicator_1u9u4ls_46",
|
|
12
|
+
"iconLeft": "_iconLeft_1u9u4ls_61",
|
|
13
|
+
"iconRight": "_iconRight_1u9u4ls_64",
|
|
14
|
+
"tab": "_tab_1u9u4ls_36",
|
|
15
|
+
"selected": "_selected_1u9u4ls_154",
|
|
16
|
+
"icon": "_icon_1u9u4ls_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_1yetdxv_9",
|
|
3
|
+
"dark": "_dark_1yetdxv_12",
|
|
4
|
+
"wrapper": "_wrapper_1yetdxv_16",
|
|
5
|
+
"scrollable": "_scrollable_1yetdxv_23",
|
|
6
|
+
"arrow": "_arrow_1yetdxv_52",
|
|
7
|
+
"shown": "_shown_1yetdxv_72",
|
|
8
|
+
"arrowLeft": "_arrowLeft_1yetdxv_80",
|
|
9
|
+
"arrowRight": "_arrowRight_1yetdxv_85",
|
|
10
|
+
"withLeftArrow": "_withLeftArrow_1yetdxv_91",
|
|
11
|
+
"withRightArrow": "_withRightArrow_1yetdxv_100",
|
|
12
|
+
"arrowButton": "_arrowButton_1yetdxv_121"
|
|
13
13
|
};
|
|
14
14
|
export { styles as default };
|
package/lib/public-api.p.css
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
--_rs-tab-list-icon-offset:4px;
|
|
6
6
|
}
|
|
7
7
|
&:not(html) [data-rs-internal='tab-list__tab']{
|
|
8
|
-
--_rs-typography-letter-spacing:0.0015em;
|
|
8
|
+
--_rs-typography-letter-spacing:var(--rs-text-2-letter-spacing, 0.0015em);
|
|
9
9
|
--_rs-typography-text-transform:initial;
|
|
10
10
|
--_rs-typography-font-variant-numeric:initial;
|
|
11
11
|
--_rs-typography-font-family:var(
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
--_rs-tab-list-icon-offset:8px;
|
|
52
52
|
}
|
|
53
53
|
&:not(html) [data-rs-internal='tab-list__tab']{
|
|
54
|
-
--_rs-typography-letter-spacing:normal;
|
|
54
|
+
--_rs-typography-letter-spacing:var(--rs-text-1-letter-spacing, normal);
|
|
55
55
|
--_rs-typography-text-transform:initial;
|
|
56
56
|
--_rs-typography-font-variant-numeric:initial;
|
|
57
57
|
--_rs-typography-font-family:var(
|
package/lib/public-api.pcss
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
--_rs-tab-list-icon-offset:4px;
|
|
6
6
|
}
|
|
7
7
|
&:not(html) [data-rs-internal='tab-list__tab']{
|
|
8
|
-
--_rs-typography-letter-spacing:0.0015em;
|
|
8
|
+
--_rs-typography-letter-spacing:var(--rs-text-2-letter-spacing, 0.0015em);
|
|
9
9
|
--_rs-typography-text-transform:initial;
|
|
10
10
|
--_rs-typography-font-variant-numeric:initial;
|
|
11
11
|
--_rs-typography-font-family:var(
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
--_rs-tab-list-icon-offset:8px;
|
|
52
52
|
}
|
|
53
53
|
&:not(html) [data-rs-internal='tab-list__tab']{
|
|
54
|
-
--_rs-typography-letter-spacing:normal;
|
|
54
|
+
--_rs-typography-letter-spacing:var(--rs-text-1-letter-spacing, normal);
|
|
55
55
|
--_rs-typography-text-transform:initial;
|
|
56
56
|
--_rs-typography-font-variant-numeric:initial;
|
|
57
57
|
--_rs-typography-font-family:var(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rescui/tab-list",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.10",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "JetBrains",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@babel/runtime-corejs3": "^7.26.0",
|
|
18
|
-
"@rescui/button": "^0.20.
|
|
18
|
+
"@rescui/button": "^0.20.2",
|
|
19
19
|
"@rescui/use-resize-observer": "^0.2.5",
|
|
20
20
|
"classnames": "^2.2.6"
|
|
21
21
|
},
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@rescui/colors": "^0.2.6",
|
|
29
29
|
"@rescui/postcss-preset-library": "^0.2.2",
|
|
30
30
|
"@rescui/scripts": "^0.3.5",
|
|
31
|
-
"@rescui/typography": "^0.
|
|
31
|
+
"@rescui/typography": "^0.21.0",
|
|
32
32
|
"@rescui/visual-regression": "^0.1.2"
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
"build-pcss-api": "rescui-scripts build-pcss-api --file public-api.p.css"
|
|
37
37
|
},
|
|
38
38
|
"nx": {},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "1643043a602c3434ef3b73c895188e9f5819f357"
|
|
40
40
|
}
|