@rescui/tab-list 0.14.6 → 0.14.7-RUI-247-Make-packets-react-19-ready-c06b3c96.4
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 +12 -12
- package/lib/index.css +80 -80
- package/lib/parts/separator.p.module.css.js +3 -3
- package/lib/parts/tab-list-context.js +1 -0
- package/lib/parts/tab-list.p.module.css.js +16 -16
- package/lib/parts/tab-separator.js +1 -0
- package/lib/parts/tab.js +1 -0
- package/lib/parts/use-indicator.js +1 -0
- package/lib/parts/use-scrollable-list.js +1 -0
- package/lib/parts/with-scroll-arrows.js +1 -0
- package/lib/parts/with-scroll-arrows.p.module.css.js +11 -11
- package/lib/tab-list.js +1 -0
- package/package.json +11 -11
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
var styles = {
|
|
2
|
-
"icon": "
|
|
3
|
-
"sizeXS": "
|
|
4
|
-
"sizeS": "
|
|
5
|
-
"sizeM": "
|
|
6
|
-
"sizeL": "
|
|
7
|
-
"light": "
|
|
8
|
-
"dark": "
|
|
9
|
-
"allVariants": "
|
|
10
|
-
"variant16": "
|
|
11
|
-
"variant20": "
|
|
12
|
-
"variant24": "
|
|
13
|
-
"variant28": "
|
|
2
|
+
"icon": "_icon_ef3vq_4",
|
|
3
|
+
"sizeXS": "_sizeXS_ef3vq_14",
|
|
4
|
+
"sizeS": "_sizeS_ef3vq_18",
|
|
5
|
+
"sizeM": "_sizeM_ef3vq_22",
|
|
6
|
+
"sizeL": "_sizeL_ef3vq_26",
|
|
7
|
+
"light": "_light_ef3vq_30",
|
|
8
|
+
"dark": "_dark_ef3vq_34",
|
|
9
|
+
"allVariants": "_allVariants_ef3vq_48",
|
|
10
|
+
"variant16": "_variant16_ef3vq_53",
|
|
11
|
+
"variant20": "_variant20_ef3vq_54",
|
|
12
|
+
"variant24": "_variant24_ef3vq_55",
|
|
13
|
+
"variant28": "_variant28_ef3vq_58"
|
|
14
14
|
};
|
|
15
15
|
export { styles as default };
|
package/lib/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._icon_ef3vq_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_ef3vq_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_ef3vq_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_ef3vq_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_ef3vq_14{
|
|
36
36
|
--_rs-icons-height:16px;
|
|
37
37
|
}
|
|
38
|
-
.
|
|
38
|
+
._sizeS_ef3vq_18{
|
|
39
39
|
--_rs-icons-height:20px;
|
|
40
40
|
}
|
|
41
|
-
.
|
|
41
|
+
._sizeM_ef3vq_22{
|
|
42
42
|
--_rs-icons-height:24px;
|
|
43
43
|
}
|
|
44
|
-
.
|
|
44
|
+
._sizeL_ef3vq_26{
|
|
45
45
|
--_rs-icons-height:28px;
|
|
46
46
|
}
|
|
47
|
-
.
|
|
47
|
+
._light_ef3vq_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_ef3vq_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,54 +60,54 @@
|
|
|
60
60
|
transform:rotate(360deg);
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
|
-
.
|
|
63
|
+
._allVariants_ef3vq_48{
|
|
64
64
|
aspect-ratio:var(--rs-icon-ar-width, 1) / var(--rs-icon-ar-height, 1);
|
|
65
65
|
container:rs-icon / size;
|
|
66
66
|
}
|
|
67
|
-
.
|
|
68
|
-
.
|
|
69
|
-
.
|
|
67
|
+
._variant16_ef3vq_53,
|
|
68
|
+
._variant20_ef3vq_54,
|
|
69
|
+
._variant24_ef3vq_55{
|
|
70
70
|
display:none;
|
|
71
71
|
}
|
|
72
|
-
.
|
|
72
|
+
._variant28_ef3vq_58{
|
|
73
73
|
display:block;
|
|
74
74
|
}
|
|
75
75
|
@container rs-icon (max-height: 24px){
|
|
76
|
-
.
|
|
76
|
+
._variant24_ef3vq_55{
|
|
77
77
|
display:block;
|
|
78
78
|
}
|
|
79
|
-
.
|
|
79
|
+
._variant28_ef3vq_58{
|
|
80
80
|
display:none;
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
83
|
@container rs-icon (max-height: 20px){
|
|
84
|
-
.
|
|
84
|
+
._variant20_ef3vq_54{
|
|
85
85
|
display:block;
|
|
86
86
|
}
|
|
87
|
-
.
|
|
87
|
+
._variant24_ef3vq_55{
|
|
88
88
|
display:none;
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
@container rs-icon (max-height: 16px){
|
|
92
|
-
.
|
|
92
|
+
._variant16_ef3vq_53{
|
|
93
93
|
display:block;
|
|
94
94
|
}
|
|
95
|
-
.
|
|
95
|
+
._variant20_ef3vq_54{
|
|
96
96
|
display:none;
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
|
-
.
|
|
99
|
+
._light_zxr5xl_7{
|
|
100
100
|
--rs-theme-dark:0;
|
|
101
101
|
}
|
|
102
|
-
.
|
|
102
|
+
._dark_zxr5xl_10{
|
|
103
103
|
--rs-theme-dark:1;
|
|
104
104
|
}
|
|
105
|
-
.
|
|
105
|
+
._sizeM_zxr5xl_14{
|
|
106
106
|
--_rs-tab-list-tab-vertical-padding:8px;
|
|
107
107
|
--_rs-tab-list-icon-size:24px;
|
|
108
108
|
--_rs-tab-list-icon-offset:4px;
|
|
109
109
|
}
|
|
110
|
-
.
|
|
110
|
+
._sizeM_zxr5xl_14 [data-rs-internal='tab-list__tab']{
|
|
111
111
|
--_rs-typography-letter-spacing:var(--rs-text-2-letter-spacing, 0.0015em);
|
|
112
112
|
--_rs-typography-text-transform:initial;
|
|
113
113
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -145,16 +145,16 @@
|
|
|
145
145
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
146
146
|
}
|
|
147
147
|
@media screen and (max-width: 640px){
|
|
148
|
-
.
|
|
148
|
+
._sizeM_zxr5xl_14 [data-rs-internal='tab-list__tab']{
|
|
149
149
|
--_rs-typography-text-2-sm-list-li-margin-top-from-text:12px;
|
|
150
150
|
}
|
|
151
151
|
}
|
|
152
|
-
.
|
|
152
|
+
._sizeL_zxr5xl_17{
|
|
153
153
|
--_rs-tab-list-tab-vertical-padding:12px;
|
|
154
154
|
--_rs-tab-list-icon-size:28px;
|
|
155
155
|
--_rs-tab-list-icon-offset:8px;
|
|
156
156
|
}
|
|
157
|
-
.
|
|
157
|
+
._sizeL_zxr5xl_17 [data-rs-internal='tab-list__tab']{
|
|
158
158
|
--_rs-typography-letter-spacing:var(--rs-text-1-letter-spacing, normal);
|
|
159
159
|
--_rs-typography-text-transform:initial;
|
|
160
160
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -192,28 +192,28 @@
|
|
|
192
192
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
193
193
|
}
|
|
194
194
|
@media screen and (max-width: 640px){
|
|
195
|
-
.
|
|
195
|
+
._sizeL_zxr5xl_17 [data-rs-internal='tab-list__tab']{
|
|
196
196
|
--_rs-typography-text-1-sm-list-li-margin-top-from-text:16px;
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
|
-
.
|
|
199
|
+
._classic_zxr5xl_21{
|
|
200
200
|
--_rs-tab-list-indicator-background:var(--_rs-color-primary);
|
|
201
201
|
}
|
|
202
|
-
.
|
|
202
|
+
._rock_zxr5xl_24{
|
|
203
203
|
--_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));
|
|
204
204
|
}
|
|
205
|
-
.
|
|
205
|
+
._sparse_zxr5xl_28{
|
|
206
206
|
--_rs-tab-list-tab-margin-left-or-initial:32px;
|
|
207
207
|
}
|
|
208
208
|
@media screen and (max-width: 640px){
|
|
209
|
-
.
|
|
209
|
+
._sparse_zxr5xl_28{
|
|
210
210
|
--_rs-tab-list-tab-margin-left-or-initial:24px;
|
|
211
211
|
}
|
|
212
212
|
}
|
|
213
|
-
.
|
|
213
|
+
._short_zxr5xl_32{
|
|
214
214
|
--_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));
|
|
215
215
|
}
|
|
216
|
-
.
|
|
216
|
+
._tabsContainer_zxr5xl_36{
|
|
217
217
|
--_rs-theme-dark:var(
|
|
218
218
|
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
219
219
|
var(--rs-theme-dark, 0)
|
|
@@ -223,7 +223,7 @@
|
|
|
223
223
|
--_rs-theme-light-coefficient:calc(1 - var(--_rs-theme-dark-coefficient));
|
|
224
224
|
}
|
|
225
225
|
@supports (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
226
|
-
.
|
|
226
|
+
._tabsContainer_zxr5xl_36{
|
|
227
227
|
--_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)));
|
|
228
228
|
--_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)));
|
|
229
229
|
--_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)));
|
|
@@ -232,7 +232,7 @@
|
|
|
232
232
|
}
|
|
233
233
|
}
|
|
234
234
|
@supports not (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
235
|
-
.
|
|
235
|
+
._tabsContainer_zxr5xl_36{
|
|
236
236
|
--_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);
|
|
237
237
|
--_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));
|
|
238
238
|
--_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));
|
|
@@ -240,15 +240,15 @@
|
|
|
240
240
|
--_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));
|
|
241
241
|
}
|
|
242
242
|
}
|
|
243
|
-
.
|
|
243
|
+
._tabsContainer_zxr5xl_36 {
|
|
244
244
|
--_rs-tab-list-tab-base-margin-left:24px;
|
|
245
245
|
}
|
|
246
246
|
@media screen and (max-width: 640px){
|
|
247
|
-
.
|
|
247
|
+
._tabsContainer_zxr5xl_36{
|
|
248
248
|
--_rs-tab-list-tab-base-margin-left:16px;
|
|
249
249
|
}
|
|
250
250
|
}
|
|
251
|
-
.
|
|
251
|
+
._tabsContainer_zxr5xl_36 {
|
|
252
252
|
--_rs-tab-list-tab-margin-left:var(
|
|
253
253
|
--_rs-tab-list-tab-margin-left-or-initial,
|
|
254
254
|
var(--_rs-tab-list-tab-base-margin-left)
|
|
@@ -258,7 +258,7 @@
|
|
|
258
258
|
|
|
259
259
|
display:flex;
|
|
260
260
|
}
|
|
261
|
-
.
|
|
261
|
+
._indicator_zxr5xl_46{
|
|
262
262
|
position:absolute;
|
|
263
263
|
z-index:3;
|
|
264
264
|
bottom:0;
|
|
@@ -271,16 +271,16 @@
|
|
|
271
271
|
transition:left 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, width 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
|
272
272
|
will-change:left, width;
|
|
273
273
|
}
|
|
274
|
-
.
|
|
274
|
+
._isIndicatorHidden_zxr5xl_60 ._indicator_zxr5xl_46{
|
|
275
275
|
display:none;
|
|
276
276
|
}
|
|
277
|
-
.
|
|
277
|
+
._iconLeft_zxr5xl_65{
|
|
278
278
|
--_rs-tab-list-tab-flex-direction:row;
|
|
279
279
|
}
|
|
280
|
-
.
|
|
280
|
+
._iconRight_zxr5xl_68{
|
|
281
281
|
--_rs-tab-list-tab-flex-direction:row-reverse;
|
|
282
282
|
}
|
|
283
|
-
.
|
|
283
|
+
._tab_zxr5xl_36{
|
|
284
284
|
--_rs-theme-dark:var(
|
|
285
285
|
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
286
286
|
var(--rs-theme-dark, 0)
|
|
@@ -290,7 +290,7 @@
|
|
|
290
290
|
--_rs-theme-light-coefficient:calc(1 - var(--_rs-theme-dark-coefficient));
|
|
291
291
|
}
|
|
292
292
|
@supports (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
293
|
-
.
|
|
293
|
+
._tab_zxr5xl_36{
|
|
294
294
|
--_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)));
|
|
295
295
|
--_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)));
|
|
296
296
|
--_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)));
|
|
@@ -299,7 +299,7 @@
|
|
|
299
299
|
}
|
|
300
300
|
}
|
|
301
301
|
@supports not (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
302
|
-
.
|
|
302
|
+
._tab_zxr5xl_36{
|
|
303
303
|
--_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);
|
|
304
304
|
--_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));
|
|
305
305
|
--_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));
|
|
@@ -307,7 +307,7 @@
|
|
|
307
307
|
--_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));
|
|
308
308
|
}
|
|
309
309
|
}
|
|
310
|
-
.
|
|
310
|
+
._tab_zxr5xl_36 {
|
|
311
311
|
letter-spacing:var(
|
|
312
312
|
--rs-text-base-letter-spacing,
|
|
313
313
|
var(--_rs-typography-letter-spacing)
|
|
@@ -351,19 +351,19 @@
|
|
|
351
351
|
-moz-osx-font-smoothing:inherit;
|
|
352
352
|
-webkit-appearance:none;
|
|
353
353
|
}
|
|
354
|
-
.
|
|
354
|
+
._tab_zxr5xl_36::-moz-focus-inner{
|
|
355
355
|
padding:0;
|
|
356
356
|
|
|
357
357
|
border:none;
|
|
358
358
|
}
|
|
359
|
-
.
|
|
360
|
-
.
|
|
361
|
-
.
|
|
359
|
+
._tab_zxr5xl_36:hover,
|
|
360
|
+
._tab_zxr5xl_36:active,
|
|
361
|
+
._tab_zxr5xl_36:focus{
|
|
362
362
|
outline:none;
|
|
363
363
|
|
|
364
364
|
text-decoration:none;
|
|
365
365
|
}
|
|
366
|
-
.
|
|
366
|
+
._tab_zxr5xl_36:after{
|
|
367
367
|
position:absolute;
|
|
368
368
|
bottom:0;
|
|
369
369
|
left:0;
|
|
@@ -376,18 +376,18 @@
|
|
|
376
376
|
|
|
377
377
|
background-color:transparent;
|
|
378
378
|
}
|
|
379
|
-
.
|
|
379
|
+
._tab_zxr5xl_36:focus[data-focus-method='key']:after{
|
|
380
380
|
opacity:0;
|
|
381
381
|
}
|
|
382
|
-
.
|
|
382
|
+
._tab_zxr5xl_36:hover{
|
|
383
383
|
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
384
|
}
|
|
385
|
-
.
|
|
385
|
+
._tab_zxr5xl_36:hover:after{
|
|
386
386
|
height:1px;
|
|
387
387
|
|
|
388
388
|
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));
|
|
389
389
|
}
|
|
390
|
-
.
|
|
390
|
+
._tab_zxr5xl_36._selected_zxr5xl_159{
|
|
391
391
|
z-index:1;
|
|
392
392
|
|
|
393
393
|
cursor:default;
|
|
@@ -396,20 +396,20 @@
|
|
|
396
396
|
|
|
397
397
|
transition:color 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
|
398
398
|
}
|
|
399
|
-
.
|
|
399
|
+
._tab_zxr5xl_36._selected_zxr5xl_159:after{
|
|
400
400
|
height:2px;
|
|
401
401
|
|
|
402
402
|
background-color:var(--_rs-tab-list-indicator-background);
|
|
403
403
|
|
|
404
404
|
transition:background-color 0ms ease 300ms, height 0ms ease 300ms;
|
|
405
405
|
}
|
|
406
|
-
.
|
|
406
|
+
._tab_zxr5xl_36:focus[data-focus-method='key']{
|
|
407
407
|
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
408
|
}
|
|
409
|
-
.
|
|
409
|
+
._tab_zxr5xl_36:first-child{
|
|
410
410
|
margin-left:0;
|
|
411
411
|
}
|
|
412
|
-
.
|
|
412
|
+
._tab_zxr5xl_36 ._icon_zxr5xl_65{
|
|
413
413
|
flex:0 0;
|
|
414
414
|
flex-basis:auto;
|
|
415
415
|
|
|
@@ -417,13 +417,13 @@
|
|
|
417
417
|
height:var(--_rs-tab-list-icon-size);
|
|
418
418
|
}
|
|
419
419
|
|
|
420
|
-
.
|
|
420
|
+
._light_1mwdyin_9{
|
|
421
421
|
--rs-theme-dark:0;
|
|
422
422
|
}
|
|
423
|
-
.
|
|
423
|
+
._dark_1mwdyin_12{
|
|
424
424
|
--rs-theme-dark:1;
|
|
425
425
|
}
|
|
426
|
-
.
|
|
426
|
+
._wrapper_1mwdyin_16{
|
|
427
427
|
--_rs-theme-dark:var(
|
|
428
428
|
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
429
429
|
var(--rs-theme-dark, 0)
|
|
@@ -435,14 +435,14 @@
|
|
|
435
435
|
|
|
436
436
|
display:flex;
|
|
437
437
|
}
|
|
438
|
-
.
|
|
438
|
+
._scrollable_1mwdyin_23{
|
|
439
439
|
display:flex;
|
|
440
440
|
overflow-x:scroll;
|
|
441
441
|
|
|
442
442
|
margin:-4px;
|
|
443
443
|
padding:4px;
|
|
444
444
|
}
|
|
445
|
-
.
|
|
445
|
+
._scrollable_1mwdyin_23::after{
|
|
446
446
|
display:block;
|
|
447
447
|
|
|
448
448
|
height:100%;
|
|
@@ -451,15 +451,15 @@
|
|
|
451
451
|
|
|
452
452
|
content:'';
|
|
453
453
|
}
|
|
454
|
-
.
|
|
454
|
+
._scrollable_1mwdyin_23 {
|
|
455
455
|
|
|
456
456
|
-ms-overflow-style:none;
|
|
457
457
|
scrollbar-width:none;
|
|
458
458
|
}
|
|
459
|
-
.
|
|
459
|
+
._scrollable_1mwdyin_23::-webkit-scrollbar{
|
|
460
460
|
display:none;
|
|
461
461
|
}
|
|
462
|
-
.
|
|
462
|
+
._arrow_1mwdyin_52{
|
|
463
463
|
position:absolute;
|
|
464
464
|
z-index:2;
|
|
465
465
|
top:50%;
|
|
@@ -479,20 +479,20 @@
|
|
|
479
479
|
transition:opacity 0.15s ease-out;
|
|
480
480
|
transform:translateY(-50%);
|
|
481
481
|
}
|
|
482
|
-
.
|
|
482
|
+
._arrow_1mwdyin_52._shown_1mwdyin_72{
|
|
483
483
|
opacity:1;
|
|
484
484
|
|
|
485
485
|
pointer-events:auto;
|
|
486
486
|
|
|
487
487
|
transition:opacity 0.15s ease-in;
|
|
488
488
|
}
|
|
489
|
-
.
|
|
489
|
+
._arrow_1mwdyin_52._arrowLeft_1mwdyin_80{
|
|
490
490
|
left:-5px;
|
|
491
491
|
}
|
|
492
|
-
.
|
|
492
|
+
._arrow_1mwdyin_52._arrowRight_1mwdyin_85{
|
|
493
493
|
right:-5px;
|
|
494
494
|
}
|
|
495
|
-
.
|
|
495
|
+
._withLeftArrow_1mwdyin_91{
|
|
496
496
|
-webkit-mask-image:linear-gradient(
|
|
497
497
|
to right,
|
|
498
498
|
rgba(0, 0, 0, 0) 0%,
|
|
@@ -506,7 +506,7 @@
|
|
|
506
506
|
black 56px
|
|
507
507
|
);
|
|
508
508
|
}
|
|
509
|
-
.
|
|
509
|
+
._withRightArrow_1mwdyin_100{
|
|
510
510
|
-webkit-mask-image:linear-gradient(
|
|
511
511
|
to left,
|
|
512
512
|
rgba(0, 0, 0, 0) 0%,
|
|
@@ -520,7 +520,7 @@
|
|
|
520
520
|
black 56px
|
|
521
521
|
);
|
|
522
522
|
}
|
|
523
|
-
.
|
|
523
|
+
._withLeftArrow_1mwdyin_91._withRightArrow_1mwdyin_100{
|
|
524
524
|
-webkit-mask-image:linear-gradient(
|
|
525
525
|
to right,
|
|
526
526
|
rgba(0, 0, 0, 0) 0%,
|
|
@@ -540,17 +540,17 @@
|
|
|
540
540
|
rgba(0, 0, 0, 0) 100%
|
|
541
541
|
);
|
|
542
542
|
}
|
|
543
|
-
.
|
|
543
|
+
._arrowButton_1mwdyin_121{
|
|
544
544
|
cursor:pointer;
|
|
545
545
|
}
|
|
546
546
|
|
|
547
|
-
.
|
|
547
|
+
._light_lgl2jr_4{
|
|
548
548
|
--rs-theme-dark:0;
|
|
549
549
|
}
|
|
550
|
-
.
|
|
550
|
+
._dark_lgl2jr_7{
|
|
551
551
|
--rs-theme-dark:1;
|
|
552
552
|
}
|
|
553
|
-
.
|
|
553
|
+
._separator_lgl2jr_11{
|
|
554
554
|
--_rs-theme-dark:var(
|
|
555
555
|
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
556
556
|
var(--rs-theme-dark, 0)
|
|
@@ -564,7 +564,7 @@
|
|
|
564
564
|
|
|
565
565
|
width:100%;
|
|
566
566
|
}
|
|
567
|
-
.
|
|
567
|
+
._separator_lgl2jr_11:after{
|
|
568
568
|
position:absolute;
|
|
569
569
|
right:0;
|
|
570
570
|
bottom:0;
|
|
@@ -1,19 +1,19 @@
|
|
|
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
|
-
"isIndicatorHidden": "
|
|
13
|
-
"iconLeft": "
|
|
14
|
-
"iconRight": "
|
|
15
|
-
"tab": "
|
|
16
|
-
"selected": "
|
|
17
|
-
"icon": "
|
|
2
|
+
"light": "_light_zxr5xl_7",
|
|
3
|
+
"dark": "_dark_zxr5xl_10",
|
|
4
|
+
"sizeM": "_sizeM_zxr5xl_14",
|
|
5
|
+
"sizeL": "_sizeL_zxr5xl_17",
|
|
6
|
+
"classic": "_classic_zxr5xl_21",
|
|
7
|
+
"rock": "_rock_zxr5xl_24",
|
|
8
|
+
"sparse": "_sparse_zxr5xl_28",
|
|
9
|
+
"short": "_short_zxr5xl_32",
|
|
10
|
+
"tabsContainer": "_tabsContainer_zxr5xl_36",
|
|
11
|
+
"indicator": "_indicator_zxr5xl_46",
|
|
12
|
+
"isIndicatorHidden": "_isIndicatorHidden_zxr5xl_60",
|
|
13
|
+
"iconLeft": "_iconLeft_zxr5xl_65",
|
|
14
|
+
"iconRight": "_iconRight_zxr5xl_68",
|
|
15
|
+
"tab": "_tab_zxr5xl_36",
|
|
16
|
+
"selected": "_selected_zxr5xl_159",
|
|
17
|
+
"icon": "_icon_zxr5xl_65"
|
|
18
18
|
};
|
|
19
19
|
export { styles as default };
|
package/lib/parts/tab.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
1
2
|
import React, { useRef, useState, useCallback, useMemo, useEffect, cloneElement } from 'react';
|
|
2
3
|
import { useResizeObserver } from '@rescui/use-resize-observer';
|
|
3
4
|
import { deepMap } from './deep-map.js'; // arrow (32) + shadow (10) + shadow blur (~8) + item focus outline (4)
|
|
@@ -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_1mwdyin_9",
|
|
3
|
+
"dark": "_dark_1mwdyin_12",
|
|
4
|
+
"wrapper": "_wrapper_1mwdyin_16",
|
|
5
|
+
"scrollable": "_scrollable_1mwdyin_23",
|
|
6
|
+
"arrow": "_arrow_1mwdyin_52",
|
|
7
|
+
"shown": "_shown_1mwdyin_72",
|
|
8
|
+
"arrowLeft": "_arrowLeft_1mwdyin_80",
|
|
9
|
+
"arrowRight": "_arrowRight_1mwdyin_85",
|
|
10
|
+
"withLeftArrow": "_withLeftArrow_1mwdyin_91",
|
|
11
|
+
"withRightArrow": "_withRightArrow_1mwdyin_100",
|
|
12
|
+
"arrowButton": "_arrowButton_1mwdyin_121"
|
|
13
13
|
};
|
|
14
14
|
export { styles as default };
|
package/lib/tab-list.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rescui/tab-list",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.7-RUI-247-Make-packets-react-19-ready-c06b3c96.4+c06b3c96",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "JetBrains",
|
|
@@ -16,26 +16,26 @@
|
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@babel/runtime-corejs3": "^7.26.0",
|
|
19
|
-
"@rescui/button": "
|
|
20
|
-
"@rescui/use-resize-observer": "
|
|
19
|
+
"@rescui/button": "0.21.7-RUI-247-Make-packets-react-19-ready-c06b3c96.4+c06b3c96",
|
|
20
|
+
"@rescui/use-resize-observer": "0.2.9-RUI-247-Make-packets-react-19-ready-c06b3c96.4+c06b3c96",
|
|
21
21
|
"classnames": "^2.2.6"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
24
|
"@rescui/ui-contexts": "^0.5.0",
|
|
25
|
-
"prop-types": "^15
|
|
26
|
-
"react": ">=16.8.0 <
|
|
25
|
+
"prop-types": "^15",
|
|
26
|
+
"react": ">=16.8.0 <20"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@rescui/colors": "
|
|
30
|
-
"@rescui/postcss-preset-library": "
|
|
31
|
-
"@rescui/scripts": "
|
|
32
|
-
"@rescui/typography": "
|
|
33
|
-
"@rescui/visual-regression": "
|
|
29
|
+
"@rescui/colors": "0.2.10-RUI-247-Make-packets-react-19-ready-c06b3c96.4+c06b3c96",
|
|
30
|
+
"@rescui/postcss-preset-library": "0.2.2",
|
|
31
|
+
"@rescui/scripts": "0.5.0",
|
|
32
|
+
"@rescui/typography": "0.23.3-RUI-247-Make-packets-react-19-ready-c06b3c96.4+c06b3c96",
|
|
33
|
+
"@rescui/visual-regression": "0.1.2"
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|
|
36
36
|
"build": "rescui-scripts build && yarn run build-pcss-api",
|
|
37
37
|
"build-pcss-api": "rescui-scripts build-pcss-api --file public-api.p.css"
|
|
38
38
|
},
|
|
39
39
|
"nx": {},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "c06b3c969a1e66ca4bb7a6b7f3f2e77746682f13"
|
|
41
41
|
}
|