@rescui/tab-list 0.14.2 → 0.14.4-RUI-239-Allow-collapse-text-inside-button-0fe433a8.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/_virtual/index.css.js +12 -7
- package/lib/_virtual/left.js +84 -14
- package/lib/_virtual/right.js +84 -14
- package/lib/index.css +105 -69
- package/lib/parts/separator.p.module.css.js +3 -3
- package/lib/parts/tab-list.p.module.css.js +16 -16
- package/lib/parts/tab.js +2 -1
- package/lib/parts/with-scroll-arrows.js +6 -2
- package/lib/parts/with-scroll-arrows.p.module.css.js +11 -11
- package/package.json +9 -9
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
var styles = {
|
|
2
|
-
"icon": "
|
|
3
|
-
"sizeXS": "
|
|
4
|
-
"sizeS": "
|
|
5
|
-
"sizeM": "
|
|
6
|
-
"sizeL": "
|
|
7
|
-
"light": "
|
|
8
|
-
"dark": "
|
|
2
|
+
"icon": "_icon_1yrim0e_4",
|
|
3
|
+
"sizeXS": "_sizeXS_1yrim0e_14",
|
|
4
|
+
"sizeS": "_sizeS_1yrim0e_18",
|
|
5
|
+
"sizeM": "_sizeM_1yrim0e_22",
|
|
6
|
+
"sizeL": "_sizeL_1yrim0e_26",
|
|
7
|
+
"light": "_light_1yrim0e_30",
|
|
8
|
+
"dark": "_dark_1yrim0e_34",
|
|
9
|
+
"allVariants": "_allVariants_1yrim0e_48",
|
|
10
|
+
"variant16": "_variant16_1yrim0e_53",
|
|
11
|
+
"variant20": "_variant20_1yrim0e_54",
|
|
12
|
+
"variant24": "_variant24_1yrim0e_55",
|
|
13
|
+
"variant28": "_variant28_1yrim0e_58"
|
|
9
14
|
};
|
|
10
15
|
export { styles as default };
|
package/lib/_virtual/left.js
CHANGED
|
@@ -9,28 +9,98 @@ const sizeStyles = {
|
|
|
9
9
|
"m": styles.sizeM,
|
|
10
10
|
"l": styles.sizeL
|
|
11
11
|
};
|
|
12
|
+
const Size = {
|
|
13
|
+
"xs": "xs",
|
|
14
|
+
"s": "s",
|
|
15
|
+
"m": "m",
|
|
16
|
+
"l": "l"
|
|
17
|
+
};
|
|
18
|
+
const LeftIcon16 = /*#__PURE__*/React.forwardRef((props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
19
|
+
viewBox: "0 0 16 16"
|
|
20
|
+
}, props, {
|
|
21
|
+
ref: ref
|
|
22
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
23
|
+
d: "M10.03 11.53a.75.75 0 0 0 0-1.06L7.56 8l2.47-2.47a.75.75 0 1 0-1.06-1.06l-3 3a.75.75 0 0 0 0 1.06l3 3a.75.75 0 0 0 1.06 0"
|
|
24
|
+
})));
|
|
25
|
+
LeftIcon16.displayName = 'LeftIcon16';
|
|
26
|
+
const LeftIcon20 = /*#__PURE__*/React.forwardRef((props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
27
|
+
viewBox: "0 0 20 20"
|
|
28
|
+
}, props, {
|
|
29
|
+
ref: ref
|
|
30
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
31
|
+
d: "M12.707 14.707a1 1 0 0 0 0-1.414L9.414 10l3.293-3.293a1 1 0 0 0-1.414-1.414l-4 4a1 1 0 0 0 0 1.414l4 4a1 1 0 0 0 1.414 0"
|
|
32
|
+
})));
|
|
33
|
+
LeftIcon20.displayName = 'LeftIcon20';
|
|
34
|
+
const LeftIcon24 = /*#__PURE__*/React.forwardRef((props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
35
|
+
viewBox: "0 0 24 24"
|
|
36
|
+
}, props, {
|
|
37
|
+
ref: ref
|
|
38
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
39
|
+
d: "M16.06 19.06a1.5 1.5 0 0 0 0-2.12L11.122 12l4.94-4.94a1.5 1.5 0 0 0-2.122-2.12l-6 6a1.5 1.5 0 0 0 0 2.12l6 6a1.5 1.5 0 0 0 2.122 0"
|
|
40
|
+
})));
|
|
41
|
+
LeftIcon24.displayName = 'LeftIcon24';
|
|
42
|
+
const LeftIcon28 = /*#__PURE__*/React.forwardRef((props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
43
|
+
viewBox: "0 0 28 28"
|
|
44
|
+
}, props, {
|
|
45
|
+
ref: ref
|
|
46
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
47
|
+
d: "M18.56 22.06a1.5 1.5 0 0 0 0-2.12L12.622 14l5.94-5.94a1.5 1.5 0 0 0-2.122-2.12l-7 7a1.5 1.5 0 0 0 0 2.12l7 7a1.5 1.5 0 0 0 2.122 0"
|
|
48
|
+
})));
|
|
49
|
+
LeftIcon28.displayName = 'LeftIcon28';
|
|
12
50
|
const LeftIcon = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
13
51
|
let {
|
|
14
52
|
theme,
|
|
15
|
-
size,
|
|
53
|
+
size: sizeFromProps = "m",
|
|
16
54
|
className,
|
|
55
|
+
style,
|
|
56
|
+
['data-render-all-sizes']: renderAllSizes = false,
|
|
17
57
|
...props
|
|
18
58
|
} = _ref;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
59
|
+
const size = sizeFromProps in Size ? sizeFromProps : "m";
|
|
60
|
+
const mainProps = { ...props,
|
|
61
|
+
className: cn(styles.icon, styles[theme], sizeStyles[size], renderAllSizes && styles.allVariants, className),
|
|
62
|
+
style: renderAllSizes ? {
|
|
63
|
+
'--rs-icon-ar-width': 28,
|
|
64
|
+
'--rs-icon-ar-height': 28,
|
|
65
|
+
...style
|
|
66
|
+
} : style,
|
|
67
|
+
ref
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
if (renderAllSizes) {
|
|
71
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
72
|
+
viewBox: "0 0 28 28"
|
|
73
|
+
}, mainProps), /*#__PURE__*/React.createElement(LeftIcon16, {
|
|
74
|
+
className: styles.variant16
|
|
75
|
+
}), /*#__PURE__*/React.createElement(LeftIcon20, {
|
|
76
|
+
className: styles.variant20
|
|
77
|
+
}), /*#__PURE__*/React.createElement(LeftIcon24, {
|
|
78
|
+
className: styles.variant24
|
|
79
|
+
}), /*#__PURE__*/React.createElement(LeftIcon28, {
|
|
80
|
+
className: styles.variant28
|
|
81
|
+
}));
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
if (size === Size['xs']) {
|
|
85
|
+
return /*#__PURE__*/React.createElement(LeftIcon16, mainProps);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
if (size === Size['s']) {
|
|
89
|
+
return /*#__PURE__*/React.createElement(LeftIcon20, mainProps);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
if (size === Size['m']) {
|
|
93
|
+
return /*#__PURE__*/React.createElement(LeftIcon24, mainProps);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
return /*#__PURE__*/React.createElement(LeftIcon28, mainProps);
|
|
27
97
|
});
|
|
98
|
+
LeftIcon.displayName = 'LeftIcon';
|
|
28
99
|
LeftIcon.propTypes = {
|
|
29
100
|
className: PropTypes.string,
|
|
30
101
|
theme: PropTypes.oneOf(["light", "dark"]),
|
|
31
|
-
size: PropTypes.oneOf(["xs", "s", "m", "l"])
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
size: "m"
|
|
102
|
+
size: PropTypes.oneOf(["xs", "s", "m", "l"]),
|
|
103
|
+
'data-render-all-sizes': PropTypes.bool,
|
|
104
|
+
style: PropTypes.object
|
|
35
105
|
};
|
|
36
|
-
export { LeftIcon as default };
|
|
106
|
+
export { Size, LeftIcon as default };
|
package/lib/_virtual/right.js
CHANGED
|
@@ -9,28 +9,98 @@ const sizeStyles = {
|
|
|
9
9
|
"m": styles.sizeM,
|
|
10
10
|
"l": styles.sizeL
|
|
11
11
|
};
|
|
12
|
+
const Size = {
|
|
13
|
+
"xs": "xs",
|
|
14
|
+
"s": "s",
|
|
15
|
+
"m": "m",
|
|
16
|
+
"l": "l"
|
|
17
|
+
};
|
|
18
|
+
const RightIcon16 = /*#__PURE__*/React.forwardRef((props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
19
|
+
viewBox: "0 0 16 16"
|
|
20
|
+
}, props, {
|
|
21
|
+
ref: ref
|
|
22
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
23
|
+
d: "M5.97 4.47a.75.75 0 0 0 0 1.06L8.44 8l-2.47 2.47a.75.75 0 1 0 1.06 1.06l3-3a.75.75 0 0 0 0-1.06l-3-3a.75.75 0 0 0-1.06 0"
|
|
24
|
+
})));
|
|
25
|
+
RightIcon16.displayName = 'RightIcon16';
|
|
26
|
+
const RightIcon20 = /*#__PURE__*/React.forwardRef((props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
27
|
+
viewBox: "0 0 20 20"
|
|
28
|
+
}, props, {
|
|
29
|
+
ref: ref
|
|
30
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
31
|
+
d: "M7.293 5.293a1 1 0 0 0 0 1.414L10.586 10l-3.293 3.293a1 1 0 1 0 1.414 1.414l4-4a1 1 0 0 0 0-1.414l-4-4a1 1 0 0 0-1.414 0"
|
|
32
|
+
})));
|
|
33
|
+
RightIcon20.displayName = 'RightIcon20';
|
|
34
|
+
const RightIcon24 = /*#__PURE__*/React.forwardRef((props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
35
|
+
viewBox: "0 0 24 24"
|
|
36
|
+
}, props, {
|
|
37
|
+
ref: ref
|
|
38
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
39
|
+
d: "M7.94 4.94a1.5 1.5 0 0 0 0 2.12L12.878 12l-4.94 4.94a1.5 1.5 0 0 0 2.122 2.12l6-6a1.5 1.5 0 0 0 0-2.12l-6-6a1.5 1.5 0 0 0-2.122 0"
|
|
40
|
+
})));
|
|
41
|
+
RightIcon24.displayName = 'RightIcon24';
|
|
42
|
+
const RightIcon28 = /*#__PURE__*/React.forwardRef((props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
43
|
+
viewBox: "0 0 28 28"
|
|
44
|
+
}, props, {
|
|
45
|
+
ref: ref
|
|
46
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
47
|
+
d: "M9.44 5.94a1.5 1.5 0 0 0 0 2.12L15.378 14l-5.94 5.94a1.5 1.5 0 0 0 2.122 2.12l7-7a1.5 1.5 0 0 0 0-2.12l-7-7a1.5 1.5 0 0 0-2.122 0"
|
|
48
|
+
})));
|
|
49
|
+
RightIcon28.displayName = 'RightIcon28';
|
|
12
50
|
const RightIcon = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
13
51
|
let {
|
|
14
52
|
theme,
|
|
15
|
-
size,
|
|
53
|
+
size: sizeFromProps = "m",
|
|
16
54
|
className,
|
|
55
|
+
style,
|
|
56
|
+
['data-render-all-sizes']: renderAllSizes = false,
|
|
17
57
|
...props
|
|
18
58
|
} = _ref;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
59
|
+
const size = sizeFromProps in Size ? sizeFromProps : "m";
|
|
60
|
+
const mainProps = { ...props,
|
|
61
|
+
className: cn(styles.icon, styles[theme], sizeStyles[size], renderAllSizes && styles.allVariants, className),
|
|
62
|
+
style: renderAllSizes ? {
|
|
63
|
+
'--rs-icon-ar-width': 28,
|
|
64
|
+
'--rs-icon-ar-height': 28,
|
|
65
|
+
...style
|
|
66
|
+
} : style,
|
|
67
|
+
ref
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
if (renderAllSizes) {
|
|
71
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
72
|
+
viewBox: "0 0 28 28"
|
|
73
|
+
}, mainProps), /*#__PURE__*/React.createElement(RightIcon16, {
|
|
74
|
+
className: styles.variant16
|
|
75
|
+
}), /*#__PURE__*/React.createElement(RightIcon20, {
|
|
76
|
+
className: styles.variant20
|
|
77
|
+
}), /*#__PURE__*/React.createElement(RightIcon24, {
|
|
78
|
+
className: styles.variant24
|
|
79
|
+
}), /*#__PURE__*/React.createElement(RightIcon28, {
|
|
80
|
+
className: styles.variant28
|
|
81
|
+
}));
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
if (size === Size['xs']) {
|
|
85
|
+
return /*#__PURE__*/React.createElement(RightIcon16, mainProps);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
if (size === Size['s']) {
|
|
89
|
+
return /*#__PURE__*/React.createElement(RightIcon20, mainProps);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
if (size === Size['m']) {
|
|
93
|
+
return /*#__PURE__*/React.createElement(RightIcon24, mainProps);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
return /*#__PURE__*/React.createElement(RightIcon28, mainProps);
|
|
27
97
|
});
|
|
98
|
+
RightIcon.displayName = 'RightIcon';
|
|
28
99
|
RightIcon.propTypes = {
|
|
29
100
|
className: PropTypes.string,
|
|
30
101
|
theme: PropTypes.oneOf(["light", "dark"]),
|
|
31
|
-
size: PropTypes.oneOf(["xs", "s", "m", "l"])
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
size: "m"
|
|
102
|
+
size: PropTypes.oneOf(["xs", "s", "m", "l"]),
|
|
103
|
+
'data-render-all-sizes': PropTypes.bool,
|
|
104
|
+
style: PropTypes.object
|
|
35
105
|
};
|
|
36
|
-
export { RightIcon as default };
|
|
106
|
+
export { Size, RightIcon as default };
|
package/lib/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._icon_1yrim0e_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_1yrim0e_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_1yrim0e_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_1yrim0e_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_1yrim0e_14{
|
|
36
36
|
--_rs-icons-height:16px;
|
|
37
37
|
}
|
|
38
|
-
.
|
|
38
|
+
._sizeS_1yrim0e_18{
|
|
39
39
|
--_rs-icons-height:20px;
|
|
40
40
|
}
|
|
41
|
-
.
|
|
41
|
+
._sizeM_1yrim0e_22{
|
|
42
42
|
--_rs-icons-height:24px;
|
|
43
43
|
}
|
|
44
|
-
.
|
|
44
|
+
._sizeL_1yrim0e_26{
|
|
45
45
|
--_rs-icons-height:28px;
|
|
46
46
|
}
|
|
47
|
-
.
|
|
47
|
+
._light_1yrim0e_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_1yrim0e_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,18 +60,54 @@
|
|
|
60
60
|
transform:rotate(360deg);
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
|
-
.
|
|
63
|
+
._allVariants_1yrim0e_48{
|
|
64
|
+
aspect-ratio:var(--rs-icon-ar-width, 1) / var(--rs-icon-ar-height, 1);
|
|
65
|
+
container:rs-icon / size;
|
|
66
|
+
}
|
|
67
|
+
._variant16_1yrim0e_53,
|
|
68
|
+
._variant20_1yrim0e_54,
|
|
69
|
+
._variant24_1yrim0e_55{
|
|
70
|
+
display:none;
|
|
71
|
+
}
|
|
72
|
+
._variant28_1yrim0e_58{
|
|
73
|
+
display:block;
|
|
74
|
+
}
|
|
75
|
+
@container rs-icon (max-height: 24px){
|
|
76
|
+
._variant24_1yrim0e_55{
|
|
77
|
+
display:block;
|
|
78
|
+
}
|
|
79
|
+
._variant28_1yrim0e_58{
|
|
80
|
+
display:none;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
@container rs-icon (max-height: 20px){
|
|
84
|
+
._variant20_1yrim0e_54{
|
|
85
|
+
display:block;
|
|
86
|
+
}
|
|
87
|
+
._variant24_1yrim0e_55{
|
|
88
|
+
display:none;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
@container rs-icon (max-height: 16px){
|
|
92
|
+
._variant16_1yrim0e_53{
|
|
93
|
+
display:block;
|
|
94
|
+
}
|
|
95
|
+
._variant20_1yrim0e_54{
|
|
96
|
+
display:none;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
._light_1sz0ox_7{
|
|
64
100
|
--rs-theme-dark:0;
|
|
65
101
|
}
|
|
66
|
-
.
|
|
102
|
+
._dark_1sz0ox_10{
|
|
67
103
|
--rs-theme-dark:1;
|
|
68
104
|
}
|
|
69
|
-
.
|
|
105
|
+
._sizeM_1sz0ox_14{
|
|
70
106
|
--_rs-tab-list-tab-vertical-padding:8px;
|
|
71
107
|
--_rs-tab-list-icon-size:24px;
|
|
72
108
|
--_rs-tab-list-icon-offset:4px;
|
|
73
109
|
}
|
|
74
|
-
.
|
|
110
|
+
._sizeM_1sz0ox_14 [data-rs-internal='tab-list__tab']{
|
|
75
111
|
--_rs-typography-letter-spacing:var(--rs-text-2-letter-spacing, 0.0015em);
|
|
76
112
|
--_rs-typography-text-transform:initial;
|
|
77
113
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -109,16 +145,16 @@
|
|
|
109
145
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
110
146
|
}
|
|
111
147
|
@media screen and (max-width: 640px){
|
|
112
|
-
.
|
|
148
|
+
._sizeM_1sz0ox_14 [data-rs-internal='tab-list__tab']{
|
|
113
149
|
--_rs-typography-text-2-sm-list-li-margin-top-from-text:12px;
|
|
114
150
|
}
|
|
115
151
|
}
|
|
116
|
-
.
|
|
152
|
+
._sizeL_1sz0ox_17{
|
|
117
153
|
--_rs-tab-list-tab-vertical-padding:12px;
|
|
118
154
|
--_rs-tab-list-icon-size:28px;
|
|
119
155
|
--_rs-tab-list-icon-offset:8px;
|
|
120
156
|
}
|
|
121
|
-
.
|
|
157
|
+
._sizeL_1sz0ox_17 [data-rs-internal='tab-list__tab']{
|
|
122
158
|
--_rs-typography-letter-spacing:var(--rs-text-1-letter-spacing, normal);
|
|
123
159
|
--_rs-typography-text-transform:initial;
|
|
124
160
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -156,28 +192,28 @@
|
|
|
156
192
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
157
193
|
}
|
|
158
194
|
@media screen and (max-width: 640px){
|
|
159
|
-
.
|
|
195
|
+
._sizeL_1sz0ox_17 [data-rs-internal='tab-list__tab']{
|
|
160
196
|
--_rs-typography-text-1-sm-list-li-margin-top-from-text:16px;
|
|
161
197
|
}
|
|
162
198
|
}
|
|
163
|
-
.
|
|
199
|
+
._classic_1sz0ox_21{
|
|
164
200
|
--_rs-tab-list-indicator-background:var(--_rs-color-primary);
|
|
165
201
|
}
|
|
166
|
-
.
|
|
202
|
+
._rock_1sz0ox_24{
|
|
167
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));
|
|
168
204
|
}
|
|
169
|
-
.
|
|
205
|
+
._sparse_1sz0ox_28{
|
|
170
206
|
--_rs-tab-list-tab-margin-left-or-initial:32px;
|
|
171
207
|
}
|
|
172
208
|
@media screen and (max-width: 640px){
|
|
173
|
-
.
|
|
209
|
+
._sparse_1sz0ox_28{
|
|
174
210
|
--_rs-tab-list-tab-margin-left-or-initial:24px;
|
|
175
211
|
}
|
|
176
212
|
}
|
|
177
|
-
.
|
|
213
|
+
._short_1sz0ox_32{
|
|
178
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));
|
|
179
215
|
}
|
|
180
|
-
.
|
|
216
|
+
._tabsContainer_1sz0ox_36{
|
|
181
217
|
--_rs-theme-dark:var(
|
|
182
218
|
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
183
219
|
var(--rs-theme-dark, 0)
|
|
@@ -187,7 +223,7 @@
|
|
|
187
223
|
--_rs-theme-light-coefficient:calc(1 - var(--_rs-theme-dark-coefficient));
|
|
188
224
|
}
|
|
189
225
|
@supports (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
190
|
-
.
|
|
226
|
+
._tabsContainer_1sz0ox_36{
|
|
191
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)));
|
|
192
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)));
|
|
193
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)));
|
|
@@ -196,7 +232,7 @@
|
|
|
196
232
|
}
|
|
197
233
|
}
|
|
198
234
|
@supports not (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
199
|
-
.
|
|
235
|
+
._tabsContainer_1sz0ox_36{
|
|
200
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);
|
|
201
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));
|
|
202
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));
|
|
@@ -204,15 +240,15 @@
|
|
|
204
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));
|
|
205
241
|
}
|
|
206
242
|
}
|
|
207
|
-
.
|
|
243
|
+
._tabsContainer_1sz0ox_36 {
|
|
208
244
|
--_rs-tab-list-tab-base-margin-left:24px;
|
|
209
245
|
}
|
|
210
246
|
@media screen and (max-width: 640px){
|
|
211
|
-
.
|
|
247
|
+
._tabsContainer_1sz0ox_36{
|
|
212
248
|
--_rs-tab-list-tab-base-margin-left:16px;
|
|
213
249
|
}
|
|
214
250
|
}
|
|
215
|
-
.
|
|
251
|
+
._tabsContainer_1sz0ox_36 {
|
|
216
252
|
--_rs-tab-list-tab-margin-left:var(
|
|
217
253
|
--_rs-tab-list-tab-margin-left-or-initial,
|
|
218
254
|
var(--_rs-tab-list-tab-base-margin-left)
|
|
@@ -222,7 +258,7 @@
|
|
|
222
258
|
|
|
223
259
|
display:flex;
|
|
224
260
|
}
|
|
225
|
-
.
|
|
261
|
+
._indicator_1sz0ox_46{
|
|
226
262
|
position:absolute;
|
|
227
263
|
z-index:3;
|
|
228
264
|
bottom:0;
|
|
@@ -235,16 +271,16 @@
|
|
|
235
271
|
transition:left 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, width 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
|
236
272
|
will-change:left, width;
|
|
237
273
|
}
|
|
238
|
-
.
|
|
274
|
+
._isIndicatorHidden_1sz0ox_60 ._indicator_1sz0ox_46{
|
|
239
275
|
display:none;
|
|
240
276
|
}
|
|
241
|
-
.
|
|
277
|
+
._iconLeft_1sz0ox_65{
|
|
242
278
|
--_rs-tab-list-tab-flex-direction:row;
|
|
243
279
|
}
|
|
244
|
-
.
|
|
280
|
+
._iconRight_1sz0ox_68{
|
|
245
281
|
--_rs-tab-list-tab-flex-direction:row-reverse;
|
|
246
282
|
}
|
|
247
|
-
.
|
|
283
|
+
._tab_1sz0ox_36{
|
|
248
284
|
--_rs-theme-dark:var(
|
|
249
285
|
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
250
286
|
var(--rs-theme-dark, 0)
|
|
@@ -254,7 +290,7 @@
|
|
|
254
290
|
--_rs-theme-light-coefficient:calc(1 - var(--_rs-theme-dark-coefficient));
|
|
255
291
|
}
|
|
256
292
|
@supports (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
257
|
-
.
|
|
293
|
+
._tab_1sz0ox_36{
|
|
258
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)));
|
|
259
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)));
|
|
260
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)));
|
|
@@ -263,7 +299,7 @@
|
|
|
263
299
|
}
|
|
264
300
|
}
|
|
265
301
|
@supports not (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
266
|
-
.
|
|
302
|
+
._tab_1sz0ox_36{
|
|
267
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);
|
|
268
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));
|
|
269
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));
|
|
@@ -271,7 +307,7 @@
|
|
|
271
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));
|
|
272
308
|
}
|
|
273
309
|
}
|
|
274
|
-
.
|
|
310
|
+
._tab_1sz0ox_36 {
|
|
275
311
|
letter-spacing:var(
|
|
276
312
|
--rs-text-base-letter-spacing,
|
|
277
313
|
var(--_rs-typography-letter-spacing)
|
|
@@ -315,19 +351,19 @@
|
|
|
315
351
|
-moz-osx-font-smoothing:inherit;
|
|
316
352
|
-webkit-appearance:none;
|
|
317
353
|
}
|
|
318
|
-
.
|
|
354
|
+
._tab_1sz0ox_36::-moz-focus-inner{
|
|
319
355
|
padding:0;
|
|
320
356
|
|
|
321
357
|
border:none;
|
|
322
358
|
}
|
|
323
|
-
.
|
|
324
|
-
.
|
|
325
|
-
.
|
|
359
|
+
._tab_1sz0ox_36:hover,
|
|
360
|
+
._tab_1sz0ox_36:active,
|
|
361
|
+
._tab_1sz0ox_36:focus{
|
|
326
362
|
outline:none;
|
|
327
363
|
|
|
328
364
|
text-decoration:none;
|
|
329
365
|
}
|
|
330
|
-
.
|
|
366
|
+
._tab_1sz0ox_36:after{
|
|
331
367
|
position:absolute;
|
|
332
368
|
bottom:0;
|
|
333
369
|
left:0;
|
|
@@ -340,18 +376,18 @@
|
|
|
340
376
|
|
|
341
377
|
background-color:transparent;
|
|
342
378
|
}
|
|
343
|
-
.
|
|
379
|
+
._tab_1sz0ox_36:focus[data-focus-method='key']:after{
|
|
344
380
|
opacity:0;
|
|
345
381
|
}
|
|
346
|
-
.
|
|
382
|
+
._tab_1sz0ox_36:hover{
|
|
347
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));
|
|
348
384
|
}
|
|
349
|
-
.
|
|
385
|
+
._tab_1sz0ox_36:hover:after{
|
|
350
386
|
height:1px;
|
|
351
387
|
|
|
352
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));
|
|
353
389
|
}
|
|
354
|
-
.
|
|
390
|
+
._tab_1sz0ox_36._selected_1sz0ox_159{
|
|
355
391
|
z-index:1;
|
|
356
392
|
|
|
357
393
|
cursor:default;
|
|
@@ -360,20 +396,20 @@
|
|
|
360
396
|
|
|
361
397
|
transition:color 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
|
362
398
|
}
|
|
363
|
-
.
|
|
399
|
+
._tab_1sz0ox_36._selected_1sz0ox_159:after{
|
|
364
400
|
height:2px;
|
|
365
401
|
|
|
366
402
|
background-color:var(--_rs-tab-list-indicator-background);
|
|
367
403
|
|
|
368
404
|
transition:background-color 0ms ease 300ms, height 0ms ease 300ms;
|
|
369
405
|
}
|
|
370
|
-
.
|
|
406
|
+
._tab_1sz0ox_36:focus[data-focus-method='key']{
|
|
371
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;
|
|
372
408
|
}
|
|
373
|
-
.
|
|
409
|
+
._tab_1sz0ox_36:first-child{
|
|
374
410
|
margin-left:0;
|
|
375
411
|
}
|
|
376
|
-
.
|
|
412
|
+
._tab_1sz0ox_36 ._icon_1sz0ox_65{
|
|
377
413
|
flex:0 0;
|
|
378
414
|
flex-basis:auto;
|
|
379
415
|
|
|
@@ -381,13 +417,13 @@
|
|
|
381
417
|
height:var(--_rs-tab-list-icon-size);
|
|
382
418
|
}
|
|
383
419
|
|
|
384
|
-
.
|
|
420
|
+
._light_3n771z_9{
|
|
385
421
|
--rs-theme-dark:0;
|
|
386
422
|
}
|
|
387
|
-
.
|
|
423
|
+
._dark_3n771z_12{
|
|
388
424
|
--rs-theme-dark:1;
|
|
389
425
|
}
|
|
390
|
-
.
|
|
426
|
+
._wrapper_3n771z_16{
|
|
391
427
|
--_rs-theme-dark:var(
|
|
392
428
|
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
393
429
|
var(--rs-theme-dark, 0)
|
|
@@ -399,14 +435,14 @@
|
|
|
399
435
|
|
|
400
436
|
display:flex;
|
|
401
437
|
}
|
|
402
|
-
.
|
|
438
|
+
._scrollable_3n771z_23{
|
|
403
439
|
display:flex;
|
|
404
440
|
overflow-x:scroll;
|
|
405
441
|
|
|
406
442
|
margin:-4px;
|
|
407
443
|
padding:4px;
|
|
408
444
|
}
|
|
409
|
-
.
|
|
445
|
+
._scrollable_3n771z_23::after{
|
|
410
446
|
display:block;
|
|
411
447
|
|
|
412
448
|
height:100%;
|
|
@@ -415,15 +451,15 @@
|
|
|
415
451
|
|
|
416
452
|
content:'';
|
|
417
453
|
}
|
|
418
|
-
.
|
|
454
|
+
._scrollable_3n771z_23 {
|
|
419
455
|
|
|
420
456
|
-ms-overflow-style:none;
|
|
421
457
|
scrollbar-width:none;
|
|
422
458
|
}
|
|
423
|
-
.
|
|
459
|
+
._scrollable_3n771z_23::-webkit-scrollbar{
|
|
424
460
|
display:none;
|
|
425
461
|
}
|
|
426
|
-
.
|
|
462
|
+
._arrow_3n771z_52{
|
|
427
463
|
position:absolute;
|
|
428
464
|
z-index:2;
|
|
429
465
|
top:50%;
|
|
@@ -443,20 +479,20 @@
|
|
|
443
479
|
transition:opacity 0.15s ease-out;
|
|
444
480
|
transform:translateY(-50%);
|
|
445
481
|
}
|
|
446
|
-
.
|
|
482
|
+
._arrow_3n771z_52._shown_3n771z_72{
|
|
447
483
|
opacity:1;
|
|
448
484
|
|
|
449
485
|
pointer-events:auto;
|
|
450
486
|
|
|
451
487
|
transition:opacity 0.15s ease-in;
|
|
452
488
|
}
|
|
453
|
-
.
|
|
489
|
+
._arrow_3n771z_52._arrowLeft_3n771z_80{
|
|
454
490
|
left:-5px;
|
|
455
491
|
}
|
|
456
|
-
.
|
|
492
|
+
._arrow_3n771z_52._arrowRight_3n771z_85{
|
|
457
493
|
right:-5px;
|
|
458
494
|
}
|
|
459
|
-
.
|
|
495
|
+
._withLeftArrow_3n771z_91{
|
|
460
496
|
-webkit-mask-image:linear-gradient(
|
|
461
497
|
to right,
|
|
462
498
|
rgba(0, 0, 0, 0) 0%,
|
|
@@ -470,7 +506,7 @@
|
|
|
470
506
|
black 56px
|
|
471
507
|
);
|
|
472
508
|
}
|
|
473
|
-
.
|
|
509
|
+
._withRightArrow_3n771z_100{
|
|
474
510
|
-webkit-mask-image:linear-gradient(
|
|
475
511
|
to left,
|
|
476
512
|
rgba(0, 0, 0, 0) 0%,
|
|
@@ -484,7 +520,7 @@
|
|
|
484
520
|
black 56px
|
|
485
521
|
);
|
|
486
522
|
}
|
|
487
|
-
.
|
|
523
|
+
._withLeftArrow_3n771z_91._withRightArrow_3n771z_100{
|
|
488
524
|
-webkit-mask-image:linear-gradient(
|
|
489
525
|
to right,
|
|
490
526
|
rgba(0, 0, 0, 0) 0%,
|
|
@@ -504,17 +540,17 @@
|
|
|
504
540
|
rgba(0, 0, 0, 0) 100%
|
|
505
541
|
);
|
|
506
542
|
}
|
|
507
|
-
.
|
|
543
|
+
._arrowButton_3n771z_121{
|
|
508
544
|
cursor:pointer;
|
|
509
545
|
}
|
|
510
546
|
|
|
511
|
-
.
|
|
547
|
+
._light_ghy5yn_4{
|
|
512
548
|
--rs-theme-dark:0;
|
|
513
549
|
}
|
|
514
|
-
.
|
|
550
|
+
._dark_ghy5yn_7{
|
|
515
551
|
--rs-theme-dark:1;
|
|
516
552
|
}
|
|
517
|
-
.
|
|
553
|
+
._separator_ghy5yn_11{
|
|
518
554
|
--_rs-theme-dark:var(
|
|
519
555
|
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
520
556
|
var(--rs-theme-dark, 0)
|
|
@@ -528,7 +564,7 @@
|
|
|
528
564
|
|
|
529
565
|
width:100%;
|
|
530
566
|
}
|
|
531
|
-
.
|
|
567
|
+
._separator_ghy5yn_11:after{
|
|
532
568
|
position:absolute;
|
|
533
569
|
right:0;
|
|
534
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_1sz0ox_7",
|
|
3
|
+
"dark": "_dark_1sz0ox_10",
|
|
4
|
+
"sizeM": "_sizeM_1sz0ox_14",
|
|
5
|
+
"sizeL": "_sizeL_1sz0ox_17",
|
|
6
|
+
"classic": "_classic_1sz0ox_21",
|
|
7
|
+
"rock": "_rock_1sz0ox_24",
|
|
8
|
+
"sparse": "_sparse_1sz0ox_28",
|
|
9
|
+
"short": "_short_1sz0ox_32",
|
|
10
|
+
"tabsContainer": "_tabsContainer_1sz0ox_36",
|
|
11
|
+
"indicator": "_indicator_1sz0ox_46",
|
|
12
|
+
"isIndicatorHidden": "_isIndicatorHidden_1sz0ox_60",
|
|
13
|
+
"iconLeft": "_iconLeft_1sz0ox_65",
|
|
14
|
+
"iconRight": "_iconRight_1sz0ox_68",
|
|
15
|
+
"tab": "_tab_1sz0ox_36",
|
|
16
|
+
"selected": "_selected_1sz0ox_159",
|
|
17
|
+
"icon": "_icon_1sz0ox_65"
|
|
18
18
|
};
|
|
19
19
|
export { styles as default };
|
package/lib/parts/tab.js
CHANGED
|
@@ -62,7 +62,8 @@ const Tab = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
62
62
|
"data-test": `tab${selected ? ' tab-selected' : ''}`,
|
|
63
63
|
"data-rs-internal": 'tab-list__tab'
|
|
64
64
|
}, icon && /*#__PURE__*/cloneElement(icon, {
|
|
65
|
-
className: cn(icon.props.className, styles.icon)
|
|
65
|
+
className: cn(icon.props.className, styles.icon),
|
|
66
|
+
'data-render-all-sizes': true
|
|
66
67
|
}), /*#__PURE__*/React.createElement("div", null, children));
|
|
67
68
|
});
|
|
68
69
|
Tab.displayName = 'Tab';
|
|
@@ -53,7 +53,9 @@ const withScrollArrows = function (WrappedComponent, CompareItem) {
|
|
|
53
53
|
mode: "clear",
|
|
54
54
|
notFocusable: true,
|
|
55
55
|
onClick: prepareDirectionScroller('left'),
|
|
56
|
-
icon: /*#__PURE__*/React.createElement(LeftIcon,
|
|
56
|
+
icon: /*#__PURE__*/React.createElement(LeftIcon, {
|
|
57
|
+
"data-render-all-sizes": true
|
|
58
|
+
}),
|
|
57
59
|
size: "s",
|
|
58
60
|
"data-e2e": e2eId ? `${e2eId}__left-arrow` : null,
|
|
59
61
|
"data-test": 'scrollable-list-arrow-left'
|
|
@@ -79,7 +81,9 @@ const withScrollArrows = function (WrappedComponent, CompareItem) {
|
|
|
79
81
|
mode: "clear",
|
|
80
82
|
notFocusable: true,
|
|
81
83
|
onClick: prepareDirectionScroller('right'),
|
|
82
|
-
icon: /*#__PURE__*/React.createElement(RightIcon,
|
|
84
|
+
icon: /*#__PURE__*/React.createElement(RightIcon, {
|
|
85
|
+
"data-render-all-sizes": true
|
|
86
|
+
}),
|
|
83
87
|
className: styles.arrowButton,
|
|
84
88
|
size: "s",
|
|
85
89
|
"data-e2e": e2eId ? `${e2eId}__right-arrow` : null,
|
|
@@ -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_3n771z_9",
|
|
3
|
+
"dark": "_dark_3n771z_12",
|
|
4
|
+
"wrapper": "_wrapper_3n771z_16",
|
|
5
|
+
"scrollable": "_scrollable_3n771z_23",
|
|
6
|
+
"arrow": "_arrow_3n771z_52",
|
|
7
|
+
"shown": "_shown_3n771z_72",
|
|
8
|
+
"arrowLeft": "_arrowLeft_3n771z_80",
|
|
9
|
+
"arrowRight": "_arrowRight_3n771z_85",
|
|
10
|
+
"withLeftArrow": "_withLeftArrow_3n771z_91",
|
|
11
|
+
"withRightArrow": "_withRightArrow_3n771z_100",
|
|
12
|
+
"arrowButton": "_arrowButton_3n771z_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.14.
|
|
3
|
+
"version": "0.14.4-RUI-239-Allow-collapse-text-inside-button-0fe433a8.0+0fe433a8",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "JetBrains",
|
|
@@ -16,8 +16,8 @@
|
|
|
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.4-RUI-239-Allow-collapse-text-inside-button-0fe433a8.0+0fe433a8",
|
|
20
|
+
"@rescui/use-resize-observer": "0.2.8-RUI-239-Allow-collapse-text-inside-button-0fe433a8.0+0fe433a8",
|
|
21
21
|
"classnames": "^2.2.6"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
@@ -26,16 +26,16 @@
|
|
|
26
26
|
"react": ">=16.8.0 <19"
|
|
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.9-RUI-239-Allow-collapse-text-inside-button-0fe433a8.0+0fe433a8",
|
|
30
|
+
"@rescui/postcss-preset-library": "0.2.2",
|
|
31
|
+
"@rescui/scripts": "0.4.0",
|
|
32
|
+
"@rescui/typography": "0.23.2-RUI-239-Allow-collapse-text-inside-button-0fe433a8.0+0fe433a8",
|
|
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": "0fe433a8b558a82a822caf687a9da723f44aa041"
|
|
41
41
|
}
|