@rescui/tab-list 0.7.14 → 0.8.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 +111 -85
- package/lib/parts/deep-map.d.ts +1 -1
- package/lib/parts/deep-map.js +9 -2
- package/lib/parts/separator.p.module.css.js +3 -3
- package/lib/parts/tab-list.p.module.css.js +18 -18
- package/lib/parts/tab.d.ts +11 -2
- package/lib/parts/tab.js +34 -13
- package/lib/parts/use-scrollable-list.js +37 -25
- package/lib/parts/with-scroll-arrows.js +2 -1
- package/lib/parts/with-scroll-arrows.p.module.css.js +10 -10
- package/package.json +7 -7
package/lib/index.css
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
.
|
|
1
|
+
._wrapper_ihnvl0_9{
|
|
2
2
|
position:relative;
|
|
3
3
|
}
|
|
4
|
-
.
|
|
4
|
+
._tabsContainer_ihnvl0_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_ihnvl0_19{
|
|
14
14
|
position:absolute;
|
|
15
15
|
z-index:3;
|
|
16
16
|
bottom:0;
|
|
@@ -23,21 +23,21 @@
|
|
|
23
23
|
transition:left 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, width 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
|
24
24
|
will-change:left, width;
|
|
25
25
|
}
|
|
26
|
-
.
|
|
26
|
+
._light_ihnvl0_31._classic_ihnvl0_31 ._indicator_ihnvl0_19{
|
|
27
27
|
background-color:#6B57FF;
|
|
28
28
|
background-color:var(--rs-color-primary-light-theme, #6B57FF);
|
|
29
29
|
}
|
|
30
|
-
.
|
|
30
|
+
._dark_ihnvl0_35._classic_ihnvl0_31 ._indicator_ihnvl0_19{
|
|
31
31
|
background-color:#8473FF;
|
|
32
32
|
background-color:var(--rs-color-primary-dark-theme, #8473FF);
|
|
33
33
|
}
|
|
34
|
-
.
|
|
34
|
+
._light_ihnvl0_31._rock_ihnvl0_39 ._indicator_ihnvl0_19{
|
|
35
35
|
background-color:#19191C;
|
|
36
36
|
}
|
|
37
|
-
.
|
|
37
|
+
._dark_ihnvl0_35._rock_ihnvl0_39 ._indicator_ihnvl0_19{
|
|
38
38
|
background-color:#FFFFFF;
|
|
39
39
|
}
|
|
40
|
-
.
|
|
40
|
+
._tab_ihnvl0_13{
|
|
41
41
|
position:relative;
|
|
42
42
|
|
|
43
43
|
display:-webkit-box;
|
|
@@ -57,21 +57,43 @@
|
|
|
57
57
|
-ms-flex-align:center;
|
|
58
58
|
align-items:center;
|
|
59
59
|
|
|
60
|
+
margin:0;
|
|
61
|
+
padding:0;
|
|
62
|
+
|
|
63
|
+
border:none;
|
|
64
|
+
|
|
60
65
|
outline:none;
|
|
61
66
|
|
|
62
67
|
list-style:none;
|
|
63
68
|
|
|
64
69
|
cursor:pointer;
|
|
65
70
|
white-space:nowrap;
|
|
71
|
+
text-decoration:none;
|
|
72
|
+
|
|
73
|
+
color:inherit;
|
|
74
|
+
background:transparent;
|
|
75
|
+
-webkit-box-shadow:none;
|
|
76
|
+
box-shadow:none;
|
|
77
|
+
|
|
78
|
+
font:inherit;
|
|
79
|
+
line-height:normal;
|
|
80
|
+
-webkit-font-smoothing:inherit;
|
|
81
|
+
-moz-osx-font-smoothing:inherit;
|
|
82
|
+
-webkit-appearance:none;
|
|
66
83
|
}
|
|
67
|
-
.
|
|
68
|
-
|
|
69
|
-
|
|
84
|
+
._tab_ihnvl0_13::-moz-focus-inner{
|
|
85
|
+
padding:0;
|
|
86
|
+
|
|
87
|
+
border:none;
|
|
88
|
+
}
|
|
89
|
+
._tab_ihnvl0_13:hover,
|
|
90
|
+
._tab_ihnvl0_13:active,
|
|
91
|
+
._tab_ihnvl0_13:focus{
|
|
70
92
|
outline:none;
|
|
71
93
|
|
|
72
94
|
text-decoration:none;
|
|
73
95
|
}
|
|
74
|
-
.
|
|
96
|
+
._tab_ihnvl0_13:after{
|
|
75
97
|
position:absolute;
|
|
76
98
|
bottom:0;
|
|
77
99
|
left:0;
|
|
@@ -83,31 +105,35 @@
|
|
|
83
105
|
|
|
84
106
|
background-color:transparent;
|
|
85
107
|
}
|
|
86
|
-
.
|
|
108
|
+
._tab_ihnvl0_13:after:focus[data-focus-method='key']{
|
|
87
109
|
opacity:0;
|
|
88
110
|
}
|
|
89
|
-
.
|
|
111
|
+
._tab_ihnvl0_13:hover:after{
|
|
90
112
|
height:1px;
|
|
91
113
|
}
|
|
92
|
-
.
|
|
114
|
+
._sizeM_ihnvl0_125 ._tab_ihnvl0_13{
|
|
93
115
|
letter-spacing:0.0015em;
|
|
94
116
|
font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
|
|
95
117
|
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));
|
|
118
|
+
-webkit-font-feature-settings:"kern", "liga", "calt";
|
|
119
|
+
font-feature-settings:"kern", "liga", "calt";
|
|
96
120
|
font-size:16px;
|
|
97
121
|
font-size:var(--rs-text-2-font-size, 16px);
|
|
98
122
|
font-weight:400;
|
|
99
123
|
line-height:24px;
|
|
100
124
|
line-height:var(--rs-text-2-line-height, 24px);
|
|
101
125
|
}
|
|
102
|
-
._rs-reset-letter-
|
|
126
|
+
._rs-reset-letter-spacing_ihnvl0_1 ._sizeM_ihnvl0_125 ._tab_ihnvl0_13{
|
|
103
127
|
letter-spacing:normal;
|
|
104
128
|
}
|
|
105
|
-
.
|
|
129
|
+
._sizeM_ihnvl0_125 ._tab_ihnvl0_13 {
|
|
106
130
|
padding:8px 0;
|
|
107
131
|
}
|
|
108
|
-
.
|
|
132
|
+
._sizeL_ihnvl0_130 ._tab_ihnvl0_13{
|
|
109
133
|
font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
|
|
110
134
|
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));
|
|
135
|
+
-webkit-font-feature-settings:"kern", "liga", "calt";
|
|
136
|
+
font-feature-settings:"kern", "liga", "calt";
|
|
111
137
|
font-size:19px;
|
|
112
138
|
font-size:var(--rs-text-1-font-size, 19px);
|
|
113
139
|
font-weight:normal;
|
|
@@ -115,37 +141,37 @@
|
|
|
115
141
|
line-height:var(--rs-text-1-line-height, 28px);
|
|
116
142
|
padding:12px 0;
|
|
117
143
|
}
|
|
118
|
-
.
|
|
144
|
+
._innerOffsetM_ihnvl0_135 ._tab_ihnvl0_13{
|
|
119
145
|
margin-left:24px;
|
|
120
146
|
}
|
|
121
147
|
@media screen and (max-width: 640px){
|
|
122
|
-
.
|
|
148
|
+
._innerOffsetM_ihnvl0_135 ._tab_ihnvl0_13{
|
|
123
149
|
margin-left:16px
|
|
124
150
|
}
|
|
125
151
|
}
|
|
126
|
-
.
|
|
152
|
+
._innerOffsetL_ihnvl0_143 ._tab_ihnvl0_13{
|
|
127
153
|
margin-left:32px;
|
|
128
154
|
}
|
|
129
155
|
@media screen and (max-width: 640px){
|
|
130
|
-
.
|
|
156
|
+
._innerOffsetL_ihnvl0_143 ._tab_ihnvl0_13{
|
|
131
157
|
margin-left:24px
|
|
132
158
|
}
|
|
133
159
|
}
|
|
134
|
-
.
|
|
160
|
+
._light_ihnvl0_31 ._tab_ihnvl0_13{
|
|
135
161
|
color:rgba(25,25,28,0.7);
|
|
136
162
|
}
|
|
137
|
-
.
|
|
163
|
+
._dark_ihnvl0_35 ._tab_ihnvl0_13{
|
|
138
164
|
color:rgba(255,255,255,0.7);
|
|
139
165
|
}
|
|
140
|
-
.
|
|
166
|
+
._light_ihnvl0_31 ._tab_ihnvl0_13._short_ihnvl0_159{
|
|
141
167
|
-webkit-box-shadow:inset 0 -1px 0 rgba(25,25,28,0.3);
|
|
142
168
|
box-shadow:inset 0 -1px 0 rgba(25,25,28,0.3);
|
|
143
169
|
}
|
|
144
|
-
.
|
|
170
|
+
._dark_ihnvl0_35 ._tab_ihnvl0_13._short_ihnvl0_159{
|
|
145
171
|
-webkit-box-shadow:inset 0 -1px 0 rgba(255,255,255,0.4);
|
|
146
172
|
box-shadow:inset 0 -1px 0 rgba(255,255,255,0.4);
|
|
147
173
|
}
|
|
148
|
-
.
|
|
174
|
+
._tab_ihnvl0_13._selected_ihnvl0_167{
|
|
149
175
|
z-index:1;
|
|
150
176
|
|
|
151
177
|
cursor:default;
|
|
@@ -154,110 +180,110 @@
|
|
|
154
180
|
|
|
155
181
|
transition:color 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
|
156
182
|
}
|
|
157
|
-
.
|
|
183
|
+
._tab_ihnvl0_13._selected_ihnvl0_167:after{
|
|
158
184
|
height:2px;
|
|
159
185
|
|
|
160
186
|
-webkit-transition:background-color 0ms ease 300ms, height 0ms ease 300ms;
|
|
161
187
|
|
|
162
188
|
transition:background-color 0ms ease 300ms, height 0ms ease 300ms;
|
|
163
189
|
}
|
|
164
|
-
.
|
|
190
|
+
._light_ihnvl0_31 ._tab_ihnvl0_13:hover{
|
|
165
191
|
color:#19191C;
|
|
166
192
|
}
|
|
167
|
-
.
|
|
193
|
+
._light_ihnvl0_31 ._tab_ihnvl0_13:hover:after{
|
|
168
194
|
background-color:#19191C;
|
|
169
195
|
}
|
|
170
|
-
.
|
|
196
|
+
._dark_ihnvl0_35 ._tab_ihnvl0_13:hover{
|
|
171
197
|
color:#FFFFFF;
|
|
172
198
|
}
|
|
173
|
-
.
|
|
199
|
+
._dark_ihnvl0_35 ._tab_ihnvl0_13:hover:after{
|
|
174
200
|
background-color:#FFFFFF;
|
|
175
201
|
}
|
|
176
|
-
.
|
|
202
|
+
._light_ihnvl0_31._rock_ihnvl0_39 ._tab_ihnvl0_13._selected_ihnvl0_167{
|
|
177
203
|
color:#19191C;
|
|
178
204
|
}
|
|
179
|
-
.
|
|
205
|
+
._light_ihnvl0_31._rock_ihnvl0_39 ._tab_ihnvl0_13._selected_ihnvl0_167:after{
|
|
180
206
|
background-color:#19191C;
|
|
181
207
|
}
|
|
182
|
-
.
|
|
208
|
+
._dark_ihnvl0_35._rock_ihnvl0_39 ._tab_ihnvl0_13._selected_ihnvl0_167{
|
|
183
209
|
color:#FFFFFF;
|
|
184
210
|
}
|
|
185
|
-
.
|
|
211
|
+
._dark_ihnvl0_35._rock_ihnvl0_39 ._tab_ihnvl0_13._selected_ihnvl0_167:after{
|
|
186
212
|
background-color:#FFFFFF;
|
|
187
213
|
}
|
|
188
|
-
.
|
|
214
|
+
._light_ihnvl0_31._classic_ihnvl0_31 ._tab_ihnvl0_13._selected_ihnvl0_167{
|
|
189
215
|
color:#6B57FF;
|
|
190
216
|
color:var(--rs-color-primary-light-theme, #6B57FF);
|
|
191
217
|
}
|
|
192
|
-
.
|
|
218
|
+
._light_ihnvl0_31._classic_ihnvl0_31 ._tab_ihnvl0_13._selected_ihnvl0_167:after{
|
|
193
219
|
background-color:#6B57FF;
|
|
194
220
|
background-color:var(--rs-color-primary-light-theme, #6B57FF);
|
|
195
221
|
}
|
|
196
|
-
.
|
|
222
|
+
._dark_ihnvl0_35._classic_ihnvl0_31 ._tab_ihnvl0_13._selected_ihnvl0_167{
|
|
197
223
|
color:#8473FF;
|
|
198
224
|
color:var(--rs-color-primary-dark-theme, #8473FF);
|
|
199
225
|
}
|
|
200
|
-
.
|
|
226
|
+
._dark_ihnvl0_35._classic_ihnvl0_31 ._tab_ihnvl0_13._selected_ihnvl0_167:after{
|
|
201
227
|
background-color:#8473FF;
|
|
202
228
|
background-color:var(--rs-color-primary-dark-theme, #8473FF);
|
|
203
229
|
}
|
|
204
|
-
.
|
|
205
|
-
-webkit-box-shadow:inset #8979ff 0
|
|
206
|
-
-webkit-box-shadow:inset var(--rs-color-primary-dim-light-theme, #8979ff) 0
|
|
207
|
-
box-shadow:inset #8979ff 0
|
|
208
|
-
box-shadow:inset var(--rs-color-primary-dim-light-theme, #8979ff) 0
|
|
230
|
+
._light_ihnvl0_31 ._tab_ihnvl0_13:focus[data-focus-method='key']{
|
|
231
|
+
-webkit-box-shadow:inset #8979ff 0 -4px 0 0, inset #8979ff 0 4px 0 0, #8979ff -4px 0 0 0, #8979ff 4px 0 0 0;
|
|
232
|
+
-webkit-box-shadow:inset var(--rs-color-primary-dim-light-theme, #8979ff) 0 -4px 0 0, inset var(--rs-color-primary-dim-light-theme, #8979ff) 0 4px 0 0, var(--rs-color-primary-dim-light-theme, #8979ff) -4px 0 0 0, var(--rs-color-primary-dim-light-theme, #8979ff) 4px 0 0 0;
|
|
233
|
+
box-shadow:inset #8979ff 0 -4px 0 0, inset #8979ff 0 4px 0 0, #8979ff -4px 0 0 0, #8979ff 4px 0 0 0;
|
|
234
|
+
box-shadow:inset var(--rs-color-primary-dim-light-theme, #8979ff) 0 -4px 0 0, inset var(--rs-color-primary-dim-light-theme, #8979ff) 0 4px 0 0, var(--rs-color-primary-dim-light-theme, #8979ff) -4px 0 0 0, var(--rs-color-primary-dim-light-theme, #8979ff) 4px 0 0 0;
|
|
209
235
|
}
|
|
210
|
-
.
|
|
236
|
+
._light_ihnvl0_31 ._tab_ihnvl0_13:focus[data-focus-method='key']:after{
|
|
211
237
|
opacity:0;
|
|
212
238
|
}
|
|
213
|
-
.
|
|
214
|
-
-webkit-box-shadow:inset #6f61d2 0
|
|
215
|
-
-webkit-box-shadow:inset var(--rs-color-primary-dim-dark-theme, #6f61d2) 0
|
|
216
|
-
box-shadow:inset #6f61d2 0
|
|
217
|
-
box-shadow:inset var(--rs-color-primary-dim-dark-theme, #6f61d2) 0
|
|
239
|
+
._dark_ihnvl0_35 ._tab_ihnvl0_13:focus[data-focus-method='key']{
|
|
240
|
+
-webkit-box-shadow:inset #6f61d2 0 -4px 0 0, inset #6f61d2 0 4px 0 0, #6f61d2 -4px 0 0 0, #6f61d2 4px 0 0 0;
|
|
241
|
+
-webkit-box-shadow:inset var(--rs-color-primary-dim-dark-theme, #6f61d2) 0 -4px 0 0, inset var(--rs-color-primary-dim-dark-theme, #6f61d2) 0 4px 0 0, var(--rs-color-primary-dim-dark-theme, #6f61d2) -4px 0 0 0, var(--rs-color-primary-dim-dark-theme, #6f61d2) 4px 0 0 0;
|
|
242
|
+
box-shadow:inset #6f61d2 0 -4px 0 0, inset #6f61d2 0 4px 0 0, #6f61d2 -4px 0 0 0, #6f61d2 4px 0 0 0;
|
|
243
|
+
box-shadow:inset var(--rs-color-primary-dim-dark-theme, #6f61d2) 0 -4px 0 0, inset var(--rs-color-primary-dim-dark-theme, #6f61d2) 0 4px 0 0, var(--rs-color-primary-dim-dark-theme, #6f61d2) -4px 0 0 0, var(--rs-color-primary-dim-dark-theme, #6f61d2) 4px 0 0 0;
|
|
218
244
|
}
|
|
219
|
-
.
|
|
245
|
+
._dark_ihnvl0_35 ._tab_ihnvl0_13:focus[data-focus-method='key']:after{
|
|
220
246
|
opacity:0;
|
|
221
247
|
}
|
|
222
|
-
.
|
|
223
|
-
.
|
|
248
|
+
._innerOffsetL_ihnvl0_143 ._tab_ihnvl0_13:first-child,
|
|
249
|
+
._innerOffsetM_ihnvl0_135 ._tab_ihnvl0_13:first-child{
|
|
224
250
|
margin-left:0;
|
|
225
251
|
}
|
|
226
252
|
@media screen and (max-width: 640px){
|
|
227
|
-
.
|
|
228
|
-
.
|
|
253
|
+
._innerOffsetL_ihnvl0_143 ._tab_ihnvl0_13:first-child,
|
|
254
|
+
._innerOffsetM_ihnvl0_135 ._tab_ihnvl0_13:first-child{
|
|
229
255
|
margin-left:0
|
|
230
256
|
}
|
|
231
257
|
}
|
|
232
|
-
.
|
|
258
|
+
._icon_ihnvl0_269{
|
|
233
259
|
-webkit-box-flex:0;
|
|
234
260
|
-ms-flex:0 0;
|
|
235
261
|
flex:0 0;
|
|
236
262
|
-ms-flex-preferred-size:auto;
|
|
237
263
|
flex-basis:auto;
|
|
238
264
|
}
|
|
239
|
-
.
|
|
265
|
+
._sizeM_ihnvl0_125 ._icon_ihnvl0_269{
|
|
240
266
|
width:24px;
|
|
241
267
|
height:24px;
|
|
242
268
|
}
|
|
243
|
-
.
|
|
269
|
+
._sizeL_ihnvl0_130 ._icon_ihnvl0_269{
|
|
244
270
|
width:28px;
|
|
245
271
|
height:28px;
|
|
246
272
|
}
|
|
247
|
-
.
|
|
273
|
+
._sizeM_ihnvl0_125 ._icon_ihnvl0_269._iconLeft_ihnvl0_283{
|
|
248
274
|
margin-right:4px;
|
|
249
275
|
}
|
|
250
|
-
.
|
|
276
|
+
._sizeL_ihnvl0_130 ._icon_ihnvl0_269._iconLeft_ihnvl0_283{
|
|
251
277
|
margin-right:8px;
|
|
252
278
|
}
|
|
253
|
-
.
|
|
279
|
+
._sizeM_ihnvl0_125 ._icon_ihnvl0_269._iconRight_ihnvl0_291{
|
|
254
280
|
margin-left:4px;
|
|
255
281
|
}
|
|
256
|
-
.
|
|
282
|
+
._sizeL_ihnvl0_130 ._icon_ihnvl0_269._iconRight_ihnvl0_291{
|
|
257
283
|
margin-left:8px;
|
|
258
284
|
}
|
|
259
285
|
|
|
260
|
-
.
|
|
286
|
+
._wrapper_16l3bnl_4{
|
|
261
287
|
position:relative;
|
|
262
288
|
|
|
263
289
|
display:-webkit-box;
|
|
@@ -266,7 +292,7 @@
|
|
|
266
292
|
|
|
267
293
|
display:flex;
|
|
268
294
|
}
|
|
269
|
-
.
|
|
295
|
+
._scrollable_16l3bnl_10{
|
|
270
296
|
display:-webkit-box;
|
|
271
297
|
display:-ms-flexbox;
|
|
272
298
|
display:flex;
|
|
@@ -275,7 +301,7 @@
|
|
|
275
301
|
margin:-4px;
|
|
276
302
|
padding:4px;
|
|
277
303
|
}
|
|
278
|
-
.
|
|
304
|
+
._scrollable_16l3bnl_10::after{
|
|
279
305
|
display:block;
|
|
280
306
|
|
|
281
307
|
height:100%;
|
|
@@ -284,15 +310,15 @@
|
|
|
284
310
|
|
|
285
311
|
content:'';
|
|
286
312
|
}
|
|
287
|
-
.
|
|
313
|
+
._scrollable_16l3bnl_10 {
|
|
288
314
|
|
|
289
315
|
-ms-overflow-style:none;
|
|
290
316
|
scrollbar-width:none;
|
|
291
317
|
}
|
|
292
|
-
.
|
|
318
|
+
._scrollable_16l3bnl_10::-webkit-scrollbar{
|
|
293
319
|
display:none;
|
|
294
320
|
}
|
|
295
|
-
.
|
|
321
|
+
._arrowShadow_16l3bnl_39{
|
|
296
322
|
position:absolute;
|
|
297
323
|
top:0;
|
|
298
324
|
|
|
@@ -302,7 +328,7 @@
|
|
|
302
328
|
|
|
303
329
|
pointer-events:none;
|
|
304
330
|
}
|
|
305
|
-
.
|
|
331
|
+
._arrowShadow_16l3bnl_39::before{
|
|
306
332
|
position:absolute;
|
|
307
333
|
|
|
308
334
|
display:block;
|
|
@@ -316,7 +342,7 @@
|
|
|
316
342
|
|
|
317
343
|
box-shadow:0 0 12px 12px currentColor;
|
|
318
344
|
}
|
|
319
|
-
.
|
|
345
|
+
._arrow_16l3bnl_39{
|
|
320
346
|
position:absolute;
|
|
321
347
|
z-index:2;
|
|
322
348
|
top:50%;
|
|
@@ -342,15 +368,15 @@
|
|
|
342
368
|
-webkit-transform:translateY(-50%);
|
|
343
369
|
transform:translateY(-50%);
|
|
344
370
|
}
|
|
345
|
-
.
|
|
371
|
+
._light_16l3bnl_82 ._arrow_16l3bnl_39{
|
|
346
372
|
color:#FFFFFF;
|
|
347
373
|
background-color:#FFFFFF;
|
|
348
374
|
}
|
|
349
|
-
.
|
|
375
|
+
._dark_16l3bnl_86 ._arrow_16l3bnl_39{
|
|
350
376
|
color:#19191C;
|
|
351
377
|
background-color:#19191C;
|
|
352
378
|
}
|
|
353
|
-
.
|
|
379
|
+
._arrow_16l3bnl_39._shown_16l3bnl_91{
|
|
354
380
|
opacity:1;
|
|
355
381
|
|
|
356
382
|
pointer-events:auto;
|
|
@@ -359,36 +385,36 @@
|
|
|
359
385
|
|
|
360
386
|
transition:opacity 0.15s ease-in;
|
|
361
387
|
}
|
|
362
|
-
.
|
|
388
|
+
._arrow_16l3bnl_39._arrowLeft_16l3bnl_99{
|
|
363
389
|
left:-5px;
|
|
364
390
|
}
|
|
365
|
-
.
|
|
391
|
+
._arrow_16l3bnl_39._arrowLeft_16l3bnl_99 ._arrowShadow_16l3bnl_39{
|
|
366
392
|
right:-24px;
|
|
367
393
|
}
|
|
368
|
-
.
|
|
394
|
+
._arrow_16l3bnl_39._arrowLeft_16l3bnl_99 ._arrowShadow_16l3bnl_39::before{
|
|
369
395
|
left:-100%;
|
|
370
396
|
}
|
|
371
|
-
.
|
|
397
|
+
._arrow_16l3bnl_39._arrowRight_16l3bnl_112{
|
|
372
398
|
right:-5px;
|
|
373
399
|
}
|
|
374
|
-
.
|
|
400
|
+
._arrow_16l3bnl_39._arrowRight_16l3bnl_112 ._arrowShadow_16l3bnl_39{
|
|
375
401
|
left:-24px;
|
|
376
402
|
}
|
|
377
|
-
.
|
|
403
|
+
._arrow_16l3bnl_39._arrowRight_16l3bnl_112 ._arrowShadow_16l3bnl_39::before{
|
|
378
404
|
right:-100%;
|
|
379
405
|
}
|
|
380
|
-
.
|
|
406
|
+
._arrowButton_16l3bnl_126{
|
|
381
407
|
cursor:pointer;
|
|
382
408
|
}
|
|
383
409
|
|
|
384
|
-
.
|
|
410
|
+
._separator_18den48_3{
|
|
385
411
|
position:relative;
|
|
386
412
|
z-index:2;
|
|
387
413
|
|
|
388
414
|
width:100%;
|
|
389
415
|
}
|
|
390
416
|
|
|
391
|
-
.
|
|
417
|
+
._separator_18den48_3:after{
|
|
392
418
|
position:absolute;
|
|
393
419
|
right:0;
|
|
394
420
|
bottom:0;
|
|
@@ -398,9 +424,9 @@
|
|
|
398
424
|
|
|
399
425
|
content:'';
|
|
400
426
|
}
|
|
401
|
-
.
|
|
427
|
+
._light_18den48_22:after{
|
|
402
428
|
background-color:rgba(25,25,28,0.3);
|
|
403
429
|
}
|
|
404
|
-
.
|
|
430
|
+
._dark_18den48_28:after{
|
|
405
431
|
background-color:rgba(255,255,255,0.4);
|
|
406
432
|
}
|
package/lib/parts/deep-map.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export declare function deepMap(children: React.ReactNode, fn: (child: React.ReactNode) => React.ReactNode):
|
|
2
|
+
export declare function deepMap(children: React.ReactNode, fn: (child: React.ReactNode) => React.ReactNode): React.ReactNode;
|
package/lib/parts/deep-map.js
CHANGED
|
@@ -4,7 +4,8 @@ import React, { isValidElement, cloneElement } from 'react';
|
|
|
4
4
|
function deepMap(children, fn) {
|
|
5
5
|
var _context;
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
var processChild = function processChild(child) {
|
|
8
|
+
var i = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
|
|
8
9
|
var returnChild = child;
|
|
9
10
|
|
|
10
11
|
if (! /*#__PURE__*/isValidElement(returnChild)) {
|
|
@@ -19,7 +20,13 @@ function deepMap(children, fn) {
|
|
|
19
20
|
}
|
|
20
21
|
|
|
21
22
|
return fn(returnChild);
|
|
22
|
-
}
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
if ( /*#__PURE__*/isValidElement(children)) {
|
|
26
|
+
return processChild(children);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
return _mapInstanceProperty(_context = React.Children).call(_context, children, processChild);
|
|
23
30
|
}
|
|
24
31
|
|
|
25
32
|
export { deepMap };
|
|
@@ -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_ihnvl0_9",
|
|
3
|
+
"tabsContainer": "_tabsContainer_ihnvl0_13",
|
|
4
|
+
"indicator": "_indicator_ihnvl0_19",
|
|
5
|
+
"light": "_light_ihnvl0_31",
|
|
6
|
+
"classic": "_classic_ihnvl0_31",
|
|
7
|
+
"dark": "_dark_ihnvl0_35",
|
|
8
|
+
"rock": "_rock_ihnvl0_39",
|
|
9
|
+
"tab": "_tab_ihnvl0_13",
|
|
10
|
+
"sizeM": "_sizeM_ihnvl0_125",
|
|
11
|
+
"rs-reset-letter-spacing": "_rs-reset-letter-spacing_ihnvl0_1",
|
|
12
|
+
"sizeL": "_sizeL_ihnvl0_130",
|
|
13
|
+
"innerOffsetM": "_innerOffsetM_ihnvl0_135",
|
|
14
|
+
"innerOffsetL": "_innerOffsetL_ihnvl0_143",
|
|
15
|
+
"short": "_short_ihnvl0_159",
|
|
16
|
+
"selected": "_selected_ihnvl0_167",
|
|
17
|
+
"icon": "_icon_ihnvl0_269",
|
|
18
|
+
"iconLeft": "_iconLeft_ihnvl0_283",
|
|
19
|
+
"iconRight": "_iconRight_ihnvl0_291"
|
|
20
20
|
};
|
|
21
21
|
export { styles as default };
|
package/lib/parts/tab.d.ts
CHANGED
|
@@ -1,17 +1,23 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { TabListValueType } from './tab-list-context';
|
|
3
3
|
export declare type TabIconPosition = 'left' | 'right';
|
|
4
|
-
export declare type
|
|
4
|
+
export declare type TabExplicitProps = {
|
|
5
5
|
className?: string;
|
|
6
6
|
value?: TabListValueType;
|
|
7
7
|
/** @ignore */
|
|
8
8
|
itemId?: number;
|
|
9
9
|
/** @ignore */
|
|
10
|
+
onClick?: React.MouseEventHandler<HTMLElement>;
|
|
11
|
+
/** @ignore */
|
|
10
12
|
onFocus?: React.FocusEventHandler<HTMLElement>;
|
|
11
13
|
/** @ignore */
|
|
12
14
|
onMouseDown?: React.MouseEventHandler<HTMLElement>;
|
|
15
|
+
/** @ignore */
|
|
16
|
+
onKeyDown?: React.KeyboardEventHandler<HTMLElement>;
|
|
13
17
|
/** Identifier for e2e tests */
|
|
14
18
|
'data-e2e'?: string;
|
|
19
|
+
/** Href for link-type Tab */
|
|
20
|
+
href?: string;
|
|
15
21
|
children?: React.ReactNode;
|
|
16
22
|
} & ({
|
|
17
23
|
/** Additional icon */
|
|
@@ -22,5 +28,8 @@ export declare type TabProps = {
|
|
|
22
28
|
icon?: never;
|
|
23
29
|
iconPosition?: never;
|
|
24
30
|
});
|
|
25
|
-
declare
|
|
31
|
+
declare type TabButtonProps = TabExplicitProps & React.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
32
|
+
declare type TabAnchorProps = TabExplicitProps & React.AnchorHTMLAttributes<HTMLAnchorElement>;
|
|
33
|
+
export declare type TabProps = TabButtonProps | TabAnchorProps;
|
|
34
|
+
declare const Tab: React.ForwardRefExoticComponent<TabProps & React.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
|
|
26
35
|
export default Tab;
|
package/lib/parts/tab.js
CHANGED
|
@@ -5,9 +5,9 @@ import _Object$getOwnPropertySymbols from "@babel/runtime-corejs3/core-js-stable
|
|
|
5
5
|
import _filterInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/filter";
|
|
6
6
|
import _Object$getOwnPropertyDescriptor from "@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor";
|
|
7
7
|
import _Object$getOwnPropertyDescriptors from "@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors";
|
|
8
|
-
import _defineProperty from "@babel/runtime-corejs3/helpers/esm/defineProperty";
|
|
9
8
|
import _objectWithoutProperties from "@babel/runtime-corejs3/helpers/esm/objectWithoutProperties";
|
|
10
|
-
|
|
9
|
+
import _defineProperty from "@babel/runtime-corejs3/helpers/esm/defineProperty";
|
|
10
|
+
var _excluded = ["value", "className", "children", "icon", "iconPosition", "itemId", "onClick", "onKeyDown", "data-e2e"];
|
|
11
11
|
|
|
12
12
|
function ownKeys(object, enumerableOnly) { var keys = _Object$keys(object); if (_Object$getOwnPropertySymbols) { var symbols = _Object$getOwnPropertySymbols(object); enumerableOnly && (symbols = _filterInstanceProperty(symbols).call(symbols, function (sym) { return _Object$getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
13
13
|
|
|
@@ -18,6 +18,20 @@ import PropTypes from 'prop-types';
|
|
|
18
18
|
import cn from 'classnames';
|
|
19
19
|
import styles from './tab-list.p.module.css.js';
|
|
20
20
|
import { useTabListContext } from './tab-list-context.js';
|
|
21
|
+
var TabTag = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
22
|
+
if (typeof props.href !== 'undefined') {
|
|
23
|
+
return /*#__PURE__*/React.createElement("a", _objectSpread({
|
|
24
|
+
ref: ref
|
|
25
|
+
}, props), props.children);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
return /*#__PURE__*/React.createElement("button", _objectSpread(_objectSpread({
|
|
29
|
+
ref: ref
|
|
30
|
+
}, props), {}, {
|
|
31
|
+
type: "button"
|
|
32
|
+
}), props.children);
|
|
33
|
+
});
|
|
34
|
+
TabTag.displayName = 'TabTag';
|
|
21
35
|
var Tab = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
22
36
|
var _cn;
|
|
23
37
|
|
|
@@ -28,8 +42,8 @@ var Tab = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
28
42
|
_ref$iconPosition = _ref.iconPosition,
|
|
29
43
|
iconPosition = _ref$iconPosition === void 0 ? 'left' : _ref$iconPosition,
|
|
30
44
|
itemId = _ref.itemId,
|
|
31
|
-
|
|
32
|
-
|
|
45
|
+
_onClick = _ref.onClick,
|
|
46
|
+
_onKeyDown = _ref.onKeyDown,
|
|
33
47
|
e2eId = _ref['data-e2e'],
|
|
34
48
|
restProps = _objectWithoutProperties(_ref, _excluded);
|
|
35
49
|
|
|
@@ -41,16 +55,23 @@ var Tab = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
41
55
|
var selected = itemId === selectedId;
|
|
42
56
|
var isRenderLeftIcon = icon && iconPosition === 'left';
|
|
43
57
|
var isRenderRightIcon = icon && iconPosition === 'right';
|
|
44
|
-
return /*#__PURE__*/React.createElement(
|
|
58
|
+
return /*#__PURE__*/React.createElement(TabTag, _objectSpread(_objectSpread({}, restProps), {}, {
|
|
45
59
|
className: cn(styles.tab, (_cn = {}, _defineProperty(_cn, styles.selected, selected), _defineProperty(_cn, styles.short, short), _cn), className),
|
|
46
|
-
onClick: function onClick() {
|
|
47
|
-
|
|
60
|
+
onClick: function onClick(e) {
|
|
61
|
+
if (_onClick) {
|
|
62
|
+
_onClick(e);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
onChange(value);
|
|
48
66
|
},
|
|
49
|
-
onFocus: onFocus,
|
|
50
|
-
onMouseDown: onMouseDown,
|
|
51
67
|
onKeyDown: function onKeyDown(e) {
|
|
52
|
-
if (e.key === '
|
|
53
|
-
|
|
68
|
+
if (e.key === ' ') {
|
|
69
|
+
e.target.click();
|
|
70
|
+
e.preventDefault();
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
if (_onKeyDown) {
|
|
74
|
+
_onKeyDown(e);
|
|
54
75
|
}
|
|
55
76
|
},
|
|
56
77
|
role: "tab",
|
|
@@ -72,7 +93,7 @@ Tab.propTypes = {
|
|
|
72
93
|
value: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.symbol, PropTypes.object]),
|
|
73
94
|
'data-e2e': PropTypes.string,
|
|
74
95
|
itemId: PropTypes.number,
|
|
75
|
-
|
|
76
|
-
|
|
96
|
+
onClick: PropTypes.func,
|
|
97
|
+
onKeyDown: PropTypes.func
|
|
77
98
|
};
|
|
78
99
|
export { Tab as default };
|
|
@@ -1,5 +1,22 @@
|
|
|
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";
|
|
1
7
|
import _slicedToArray from "@babel/runtime-corejs3/helpers/esm/slicedToArray";
|
|
2
|
-
import
|
|
8
|
+
import _defineProperty from "@babel/runtime-corejs3/helpers/esm/defineProperty";
|
|
9
|
+
import _objectWithoutProperties from "@babel/runtime-corejs3/helpers/esm/objectWithoutProperties";
|
|
10
|
+
var _excluded = ["child", "itemId", "childValue", "ref"],
|
|
11
|
+
_excluded2 = ["value", "onFocus"];
|
|
12
|
+
import "core-js/modules/es.object.to-string.js";
|
|
13
|
+
import "core-js/modules/es.promise.js";
|
|
14
|
+
|
|
15
|
+
function ownKeys(object, enumerableOnly) { var keys = _Object$keys(object); if (_Object$getOwnPropertySymbols) { var symbols = _Object$getOwnPropertySymbols(object); enumerableOnly && (symbols = _filterInstanceProperty(symbols).call(symbols, function (sym) { return _Object$getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
16
|
+
|
|
17
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : _Object$getOwnPropertyDescriptors ? Object.defineProperties(target, _Object$getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, _Object$getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
18
|
+
|
|
19
|
+
import React, { useRef, useState, useCallback, useMemo, useEffect, cloneElement } from 'react';
|
|
3
20
|
import { deepMap } from './deep-map.js';
|
|
4
21
|
import { useResizeObserver } from './use-resize-observer.js'; // arrow (32) + shadow (10) + shadow blur (~8) + item focus outline (4)
|
|
5
22
|
|
|
@@ -9,16 +26,14 @@ function patchItemIfNeeded(_ref) {
|
|
|
9
26
|
var child = _ref.child,
|
|
10
27
|
itemId = _ref.itemId,
|
|
11
28
|
childValue = _ref.childValue,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
return /*#__PURE__*/cloneElement(child, {
|
|
29
|
+
ref = _ref.ref,
|
|
30
|
+
restProps = _objectWithoutProperties(_ref, _excluded);
|
|
31
|
+
|
|
32
|
+
return /*#__PURE__*/cloneElement(child, _objectSpread({
|
|
16
33
|
itemId: itemId,
|
|
17
34
|
value: childValue,
|
|
18
|
-
ref: ref
|
|
19
|
-
|
|
20
|
-
onMouseDown: onMouseDown
|
|
21
|
-
});
|
|
35
|
+
ref: ref
|
|
36
|
+
}, restProps));
|
|
22
37
|
}
|
|
23
38
|
|
|
24
39
|
function calculateArrowsVisibility(scrollContainerEl) {
|
|
@@ -139,9 +154,12 @@ var useScrollableList = function useScrollableList(_ref2) {
|
|
|
139
154
|
var currentSelectedItemId = null;
|
|
140
155
|
var items = deepMap(children, function (child) {
|
|
141
156
|
if (child.type === CompareItem) {
|
|
142
|
-
var
|
|
143
|
-
|
|
144
|
-
|
|
157
|
+
var _child$props = child.props,
|
|
158
|
+
_child$props$value = _child$props.value,
|
|
159
|
+
childValue = _child$props$value === void 0 ? counter : _child$props$value,
|
|
160
|
+
onFocusFromProps = _child$props.onFocus,
|
|
161
|
+
restProps = _objectWithoutProperties(_child$props, _excluded2);
|
|
162
|
+
|
|
145
163
|
var hasAlreadySelectedItem = currentSelectedItemId === null;
|
|
146
164
|
var isSelectedItem = hasAlreadySelectedItem && compareValues(value, childValue);
|
|
147
165
|
|
|
@@ -149,10 +167,11 @@ var useScrollableList = function useScrollableList(_ref2) {
|
|
|
149
167
|
currentSelectedItemId = counter;
|
|
150
168
|
}
|
|
151
169
|
|
|
152
|
-
var patchedItem = patchItemIfNeeded({
|
|
170
|
+
var patchedItem = patchItemIfNeeded(_objectSpread(_objectSpread({
|
|
153
171
|
child: child,
|
|
154
172
|
itemId: counter,
|
|
155
|
-
childValue: childValue
|
|
173
|
+
childValue: childValue
|
|
174
|
+
}, restProps), {}, {
|
|
156
175
|
onFocus: function onFocus(e) {
|
|
157
176
|
if (onFocusFromProps) {
|
|
158
177
|
onFocusFromProps(e);
|
|
@@ -160,23 +179,16 @@ var useScrollableList = function useScrollableList(_ref2) {
|
|
|
160
179
|
|
|
161
180
|
_onFocus(e);
|
|
162
181
|
},
|
|
163
|
-
onMouseDown: function onMouseDown(e) {
|
|
164
|
-
if (onMouseDownFromProps) {
|
|
165
|
-
onMouseDownFromProps(e);
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
e.preventDefault();
|
|
169
|
-
},
|
|
170
182
|
ref: isSelectedItem ? activeNodeRef : null
|
|
171
|
-
});
|
|
183
|
+
}));
|
|
172
184
|
counter += 1;
|
|
173
185
|
return patchedItem;
|
|
174
186
|
} else {
|
|
175
187
|
return child;
|
|
176
188
|
}
|
|
177
189
|
});
|
|
178
|
-
return [items, currentSelectedItemId];
|
|
179
|
-
}, [children, value, compareValues]),
|
|
190
|
+
return [React.Children.toArray(items), currentSelectedItemId];
|
|
191
|
+
}, [children, value, compareValues, _onFocus, CompareItem]),
|
|
180
192
|
_useMemo2 = _slicedToArray(_useMemo, 2),
|
|
181
193
|
childrenWithValues = _useMemo2[0],
|
|
182
194
|
selectedId = _useMemo2[1];
|
|
@@ -203,7 +215,7 @@ var useScrollableList = function useScrollableList(_ref2) {
|
|
|
203
215
|
}
|
|
204
216
|
|
|
205
217
|
setShowArrows(calculateArrowsVisibility(scrollableRef.current));
|
|
206
|
-
}, [
|
|
218
|
+
}, []);
|
|
207
219
|
var onPartsResize = useCallback(function () {
|
|
208
220
|
var scrollableEl = scrollableRef.current;
|
|
209
221
|
|
|
@@ -86,7 +86,8 @@ var withScrollArrows = function withScrollArrows(WrappedComponent, CompareItem)
|
|
|
86
86
|
className: styles.arrowShadow
|
|
87
87
|
})), /*#__PURE__*/React.createElement("div", {
|
|
88
88
|
className: styles.scrollable,
|
|
89
|
-
ref: scrollableRef
|
|
89
|
+
ref: scrollableRef,
|
|
90
|
+
tabIndex: -1
|
|
90
91
|
}, /*#__PURE__*/React.createElement(WrappedComponent, _objectSpread({
|
|
91
92
|
selectedId: selectedId,
|
|
92
93
|
activeNodeRef: activeNodeRef,
|
|
@@ -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_16l3bnl_4",
|
|
3
|
+
"scrollable": "_scrollable_16l3bnl_10",
|
|
4
|
+
"arrowShadow": "_arrowShadow_16l3bnl_39",
|
|
5
|
+
"arrow": "_arrow_16l3bnl_39",
|
|
6
|
+
"light": "_light_16l3bnl_82",
|
|
7
|
+
"dark": "_dark_16l3bnl_86",
|
|
8
|
+
"shown": "_shown_16l3bnl_91",
|
|
9
|
+
"arrowLeft": "_arrowLeft_16l3bnl_99",
|
|
10
|
+
"arrowRight": "_arrowRight_16l3bnl_112",
|
|
11
|
+
"arrowButton": "_arrowButton_16l3bnl_126"
|
|
12
12
|
};
|
|
13
13
|
export { styles as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rescui/tab-list",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.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.7.
|
|
21
|
-
"@rescui/icons": "^0.10.
|
|
20
|
+
"@rescui/button": "^0.7.5",
|
|
21
|
+
"@rescui/icons": "^0.10.3",
|
|
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.1.
|
|
31
|
+
"@rescui/colors": "^0.1.5",
|
|
32
32
|
"@rescui/postcss-preset-library": "^0.1.0",
|
|
33
33
|
"@rescui/scripts": "^0.1.7",
|
|
34
|
-
"@rescui/typography": "^0.8.
|
|
35
|
-
"@rescui/visual-regression": "^0.0.
|
|
34
|
+
"@rescui/typography": "^0.8.3",
|
|
35
|
+
"@rescui/visual-regression": "^0.0.4"
|
|
36
36
|
},
|
|
37
37
|
"scripts": {
|
|
38
38
|
"build": "rescui-scripts build"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "20a2d86279a96ad1375a69513d550bdc983f9616"
|
|
41
41
|
}
|