@rescui/tab-list 0.15.7 → 0.16.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 -12
- package/lib/_virtual/left-outline.js +106 -0
- package/lib/_virtual/right-outline.js +106 -0
- package/lib/index.css +81 -81
- package/lib/parts/separator.p.module.css.js +3 -3
- package/lib/parts/tab-list.p.module.css.js +16 -16
- package/lib/parts/with-scroll-arrows.js +4 -4
- package/lib/parts/with-scroll-arrows.p.module.css.js +11 -11
- package/package.json +3 -3
- package/lib/_virtual/left.js +0 -106
- package/lib/_virtual/right.js +0 -106
|
@@ -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_gpkxqm_4",
|
|
3
|
+
"sizeXS": "_sizeXS_gpkxqm_14",
|
|
4
|
+
"sizeS": "_sizeS_gpkxqm_18",
|
|
5
|
+
"sizeM": "_sizeM_gpkxqm_22",
|
|
6
|
+
"sizeL": "_sizeL_gpkxqm_26",
|
|
7
|
+
"light": "_light_gpkxqm_30",
|
|
8
|
+
"dark": "_dark_gpkxqm_34",
|
|
9
|
+
"allVariants": "_allVariants_gpkxqm_48",
|
|
10
|
+
"variant16": "_variant16_gpkxqm_53",
|
|
11
|
+
"variant20": "_variant20_gpkxqm_54",
|
|
12
|
+
"variant24": "_variant24_gpkxqm_55",
|
|
13
|
+
"variant28": "_variant28_gpkxqm_58"
|
|
14
14
|
};
|
|
15
15
|
export { styles as default };
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import _extends from '@babel/runtime-corejs3/helpers/esm/extends';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import PropTypes from 'prop-types';
|
|
4
|
+
import cn from 'classnames';
|
|
5
|
+
import styles from './index.css.js';
|
|
6
|
+
const sizeStyles = {
|
|
7
|
+
"xs": styles.sizeXS,
|
|
8
|
+
"s": styles.sizeS,
|
|
9
|
+
"m": styles.sizeM,
|
|
10
|
+
"l": styles.sizeL
|
|
11
|
+
};
|
|
12
|
+
const Size = {
|
|
13
|
+
"xs": "xs",
|
|
14
|
+
"s": "s",
|
|
15
|
+
"m": "m",
|
|
16
|
+
"l": "l"
|
|
17
|
+
};
|
|
18
|
+
const LeftOutlineIcon16 = /*#__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: "M9.854 11.354a.5.5 0 0 0 0-.708L7.207 8l2.647-2.646a.5.5 0 0 0-.708-.708l-3 3a.5.5 0 0 0 0 .708l3 3a.5.5 0 0 0 .708 0"
|
|
24
|
+
})));
|
|
25
|
+
LeftOutlineIcon16.displayName = 'LeftOutlineIcon16';
|
|
26
|
+
const LeftOutlineIcon20 = /*#__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.53 14.53a.75.75 0 0 0 0-1.06L9.06 10l3.47-3.47a.75.75 0 0 0-1.06-1.06l-4 4a.75.75 0 0 0 0 1.06l4 4a.75.75 0 0 0 1.06 0"
|
|
32
|
+
})));
|
|
33
|
+
LeftOutlineIcon20.displayName = 'LeftOutlineIcon20';
|
|
34
|
+
const LeftOutlineIcon24 = /*#__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: "M15.707 18.707a1 1 0 0 0 0-1.414L10.414 12l5.293-5.293a1 1 0 0 0-1.414-1.414l-6 6a1 1 0 0 0 0 1.414l6 6a1 1 0 0 0 1.414 0"
|
|
40
|
+
})));
|
|
41
|
+
LeftOutlineIcon24.displayName = 'LeftOutlineIcon24';
|
|
42
|
+
const LeftOutlineIcon28 = /*#__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.207 21.707a1 1 0 0 0 0-1.414L11.914 14l6.293-6.293a1 1 0 0 0-1.414-1.414l-7 7a1 1 0 0 0 0 1.414l7 7a1 1 0 0 0 1.414 0"
|
|
48
|
+
})));
|
|
49
|
+
LeftOutlineIcon28.displayName = 'LeftOutlineIcon28';
|
|
50
|
+
const LeftOutlineIcon = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
51
|
+
let {
|
|
52
|
+
theme,
|
|
53
|
+
size: sizeFromProps = "m",
|
|
54
|
+
className,
|
|
55
|
+
style,
|
|
56
|
+
['data-render-all-sizes']: renderAllSizes = false,
|
|
57
|
+
...props
|
|
58
|
+
} = _ref;
|
|
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(LeftOutlineIcon16, {
|
|
74
|
+
className: styles.variant16
|
|
75
|
+
}), /*#__PURE__*/React.createElement(LeftOutlineIcon20, {
|
|
76
|
+
className: styles.variant20
|
|
77
|
+
}), /*#__PURE__*/React.createElement(LeftOutlineIcon24, {
|
|
78
|
+
className: styles.variant24
|
|
79
|
+
}), /*#__PURE__*/React.createElement(LeftOutlineIcon28, {
|
|
80
|
+
className: styles.variant28
|
|
81
|
+
}));
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
if (size === Size['xs']) {
|
|
85
|
+
return /*#__PURE__*/React.createElement(LeftOutlineIcon16, mainProps);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
if (size === Size['s']) {
|
|
89
|
+
return /*#__PURE__*/React.createElement(LeftOutlineIcon20, mainProps);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
if (size === Size['m']) {
|
|
93
|
+
return /*#__PURE__*/React.createElement(LeftOutlineIcon24, mainProps);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
return /*#__PURE__*/React.createElement(LeftOutlineIcon28, mainProps);
|
|
97
|
+
});
|
|
98
|
+
LeftOutlineIcon.displayName = 'LeftOutlineIcon';
|
|
99
|
+
LeftOutlineIcon.propTypes = {
|
|
100
|
+
className: PropTypes.string,
|
|
101
|
+
theme: PropTypes.oneOf(["light", "dark"]),
|
|
102
|
+
size: PropTypes.oneOf(["xs", "s", "m", "l"]),
|
|
103
|
+
'data-render-all-sizes': PropTypes.bool,
|
|
104
|
+
style: PropTypes.object
|
|
105
|
+
};
|
|
106
|
+
export { Size, LeftOutlineIcon as default };
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import _extends from '@babel/runtime-corejs3/helpers/esm/extends';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import PropTypes from 'prop-types';
|
|
4
|
+
import cn from 'classnames';
|
|
5
|
+
import styles from './index.css.js';
|
|
6
|
+
const sizeStyles = {
|
|
7
|
+
"xs": styles.sizeXS,
|
|
8
|
+
"s": styles.sizeS,
|
|
9
|
+
"m": styles.sizeM,
|
|
10
|
+
"l": styles.sizeL
|
|
11
|
+
};
|
|
12
|
+
const Size = {
|
|
13
|
+
"xs": "xs",
|
|
14
|
+
"s": "s",
|
|
15
|
+
"m": "m",
|
|
16
|
+
"l": "l"
|
|
17
|
+
};
|
|
18
|
+
const RightOutlineIcon16 = /*#__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: "M6.146 4.646a.5.5 0 0 0 0 .708L8.793 8l-2.647 2.646a.5.5 0 0 0 .708.708l3-3a.5.5 0 0 0 0-.708l-3-3a.5.5 0 0 0-.708 0"
|
|
24
|
+
})));
|
|
25
|
+
RightOutlineIcon16.displayName = 'RightOutlineIcon16';
|
|
26
|
+
const RightOutlineIcon20 = /*#__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.47 5.47a.75.75 0 0 0 0 1.06L10.94 10l-3.47 3.47a.75.75 0 1 0 1.06 1.06l4-4a.75.75 0 0 0 0-1.06l-4-4a.75.75 0 0 0-1.06 0"
|
|
32
|
+
})));
|
|
33
|
+
RightOutlineIcon20.displayName = 'RightOutlineIcon20';
|
|
34
|
+
const RightOutlineIcon24 = /*#__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: "M8.293 5.293a1 1 0 0 0 0 1.414L13.586 12l-5.293 5.293a1 1 0 1 0 1.414 1.414l6-6a1 1 0 0 0 0-1.414l-6-6a1 1 0 0 0-1.414 0"
|
|
40
|
+
})));
|
|
41
|
+
RightOutlineIcon24.displayName = 'RightOutlineIcon24';
|
|
42
|
+
const RightOutlineIcon28 = /*#__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.793 6.293a1 1 0 0 0 0 1.414L16.086 14l-6.293 6.293a1 1 0 1 0 1.414 1.414l7-7a1 1 0 0 0 0-1.414l-7-7a1 1 0 0 0-1.414 0"
|
|
48
|
+
})));
|
|
49
|
+
RightOutlineIcon28.displayName = 'RightOutlineIcon28';
|
|
50
|
+
const RightOutlineIcon = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
51
|
+
let {
|
|
52
|
+
theme,
|
|
53
|
+
size: sizeFromProps = "m",
|
|
54
|
+
className,
|
|
55
|
+
style,
|
|
56
|
+
['data-render-all-sizes']: renderAllSizes = false,
|
|
57
|
+
...props
|
|
58
|
+
} = _ref;
|
|
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(RightOutlineIcon16, {
|
|
74
|
+
className: styles.variant16
|
|
75
|
+
}), /*#__PURE__*/React.createElement(RightOutlineIcon20, {
|
|
76
|
+
className: styles.variant20
|
|
77
|
+
}), /*#__PURE__*/React.createElement(RightOutlineIcon24, {
|
|
78
|
+
className: styles.variant24
|
|
79
|
+
}), /*#__PURE__*/React.createElement(RightOutlineIcon28, {
|
|
80
|
+
className: styles.variant28
|
|
81
|
+
}));
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
if (size === Size['xs']) {
|
|
85
|
+
return /*#__PURE__*/React.createElement(RightOutlineIcon16, mainProps);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
if (size === Size['s']) {
|
|
89
|
+
return /*#__PURE__*/React.createElement(RightOutlineIcon20, mainProps);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
if (size === Size['m']) {
|
|
93
|
+
return /*#__PURE__*/React.createElement(RightOutlineIcon24, mainProps);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
return /*#__PURE__*/React.createElement(RightOutlineIcon28, mainProps);
|
|
97
|
+
});
|
|
98
|
+
RightOutlineIcon.displayName = 'RightOutlineIcon';
|
|
99
|
+
RightOutlineIcon.propTypes = {
|
|
100
|
+
className: PropTypes.string,
|
|
101
|
+
theme: PropTypes.oneOf(["light", "dark"]),
|
|
102
|
+
size: PropTypes.oneOf(["xs", "s", "m", "l"]),
|
|
103
|
+
'data-render-all-sizes': PropTypes.bool,
|
|
104
|
+
style: PropTypes.object
|
|
105
|
+
};
|
|
106
|
+
export { Size, RightOutlineIcon as default };
|
package/lib/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._icon_gpkxqm_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_gpkxqm_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_gpkxqm_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_gpkxqm_4{
|
|
29
29
|
|
|
30
30
|
fill:var(--_rs-icons-themed-fill-or-initial, currentcolor);
|
|
31
31
|
|
|
32
32
|
width:var(--rs-icons-width, auto);
|
|
33
33
|
height:var(--rs-icons-height, var(--_rs-icons-height));
|
|
34
34
|
}
|
|
35
|
-
.
|
|
35
|
+
._sizeXS_gpkxqm_14{
|
|
36
36
|
--_rs-icons-height:16px;
|
|
37
37
|
}
|
|
38
|
-
.
|
|
38
|
+
._sizeS_gpkxqm_18{
|
|
39
39
|
--_rs-icons-height:20px;
|
|
40
40
|
}
|
|
41
|
-
.
|
|
41
|
+
._sizeM_gpkxqm_22{
|
|
42
42
|
--_rs-icons-height:24px;
|
|
43
43
|
}
|
|
44
|
-
.
|
|
44
|
+
._sizeL_gpkxqm_26{
|
|
45
45
|
--_rs-icons-height:28px;
|
|
46
46
|
}
|
|
47
|
-
.
|
|
47
|
+
._light_gpkxqm_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_gpkxqm_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_gpkxqm_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_gpkxqm_53,
|
|
68
|
+
._variant20_gpkxqm_54,
|
|
69
|
+
._variant24_gpkxqm_55{
|
|
70
70
|
display:none;
|
|
71
71
|
}
|
|
72
|
-
.
|
|
72
|
+
._variant28_gpkxqm_58{
|
|
73
73
|
display:block;
|
|
74
74
|
}
|
|
75
75
|
@container rs-icon (max-height: 24px){
|
|
76
|
-
.
|
|
76
|
+
._variant24_gpkxqm_55{
|
|
77
77
|
display:block;
|
|
78
78
|
}
|
|
79
|
-
.
|
|
79
|
+
._variant28_gpkxqm_58{
|
|
80
80
|
display:none;
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
83
|
@container rs-icon (max-height: 20px){
|
|
84
|
-
.
|
|
84
|
+
._variant20_gpkxqm_54{
|
|
85
85
|
display:block;
|
|
86
86
|
}
|
|
87
|
-
.
|
|
87
|
+
._variant24_gpkxqm_55{
|
|
88
88
|
display:none;
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
@container rs-icon (max-height: 16px){
|
|
92
|
-
.
|
|
92
|
+
._variant16_gpkxqm_53{
|
|
93
93
|
display:block;
|
|
94
94
|
}
|
|
95
|
-
.
|
|
95
|
+
._variant20_gpkxqm_54{
|
|
96
96
|
display:none;
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
|
-
.
|
|
99
|
+
._light_17dcfc3_7{
|
|
100
100
|
--rs-theme-dark:0;
|
|
101
101
|
}
|
|
102
|
-
.
|
|
102
|
+
._dark_17dcfc3_10{
|
|
103
103
|
--rs-theme-dark:1;
|
|
104
104
|
}
|
|
105
|
-
.
|
|
105
|
+
._sizeM_17dcfc3_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_17dcfc3_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_17dcfc3_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_17dcfc3_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_17dcfc3_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_17dcfc3_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_17dcfc3_21{
|
|
200
200
|
--_rs-tab-list-indicator-background:var(--_rs-color-primary);
|
|
201
201
|
}
|
|
202
|
-
.
|
|
202
|
+
._rock_17dcfc3_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_17dcfc3_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_17dcfc3_28{
|
|
210
210
|
--_rs-tab-list-tab-margin-left-or-initial:24px;
|
|
211
211
|
}
|
|
212
212
|
}
|
|
213
|
-
.
|
|
213
|
+
._short_17dcfc3_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_17dcfc3_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_17dcfc3_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_17dcfc3_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_17dcfc3_36 {
|
|
244
244
|
--_rs-tab-list-tab-base-margin-left:24px;
|
|
245
245
|
}
|
|
246
246
|
@media screen and (max-width: 640px){
|
|
247
|
-
.
|
|
247
|
+
._tabsContainer_17dcfc3_36{
|
|
248
248
|
--_rs-tab-list-tab-base-margin-left:16px;
|
|
249
249
|
}
|
|
250
250
|
}
|
|
251
|
-
.
|
|
251
|
+
._tabsContainer_17dcfc3_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_17dcfc3_46{
|
|
262
262
|
position:absolute;
|
|
263
263
|
z-index:3;
|
|
264
264
|
bottom:0;
|
|
@@ -271,17 +271,17 @@
|
|
|
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
|
-
.
|
|
275
|
-
[data-calculating-scrollable="true"] .
|
|
274
|
+
._isIndicatorHidden_17dcfc3_60 ._indicator_17dcfc3_46,
|
|
275
|
+
[data-calculating-scrollable="true"] ._indicator_17dcfc3_46{
|
|
276
276
|
display:none;
|
|
277
277
|
}
|
|
278
|
-
.
|
|
278
|
+
._iconLeft_17dcfc3_66{
|
|
279
279
|
--_rs-tab-list-tab-flex-direction:row;
|
|
280
280
|
}
|
|
281
|
-
.
|
|
281
|
+
._iconRight_17dcfc3_69{
|
|
282
282
|
--_rs-tab-list-tab-flex-direction:row-reverse;
|
|
283
283
|
}
|
|
284
|
-
.
|
|
284
|
+
._tab_17dcfc3_36{
|
|
285
285
|
--_rs-theme-dark:var(
|
|
286
286
|
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
287
287
|
var(--rs-theme-dark, 0)
|
|
@@ -291,7 +291,7 @@
|
|
|
291
291
|
--_rs-theme-light-coefficient:calc(1 - var(--_rs-theme-dark-coefficient));
|
|
292
292
|
}
|
|
293
293
|
@supports (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
294
|
-
.
|
|
294
|
+
._tab_17dcfc3_36{
|
|
295
295
|
--_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)));
|
|
296
296
|
--_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)));
|
|
297
297
|
--_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)));
|
|
@@ -300,7 +300,7 @@
|
|
|
300
300
|
}
|
|
301
301
|
}
|
|
302
302
|
@supports not (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
303
|
-
.
|
|
303
|
+
._tab_17dcfc3_36{
|
|
304
304
|
--_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);
|
|
305
305
|
--_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));
|
|
306
306
|
--_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));
|
|
@@ -308,7 +308,7 @@
|
|
|
308
308
|
--_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));
|
|
309
309
|
}
|
|
310
310
|
}
|
|
311
|
-
.
|
|
311
|
+
._tab_17dcfc3_36 {
|
|
312
312
|
letter-spacing:var(
|
|
313
313
|
--rs-text-base-letter-spacing,
|
|
314
314
|
var(--_rs-typography-letter-spacing)
|
|
@@ -352,19 +352,19 @@
|
|
|
352
352
|
-moz-osx-font-smoothing:inherit;
|
|
353
353
|
-webkit-appearance:none;
|
|
354
354
|
}
|
|
355
|
-
.
|
|
355
|
+
._tab_17dcfc3_36::-moz-focus-inner{
|
|
356
356
|
padding:0;
|
|
357
357
|
|
|
358
358
|
border:none;
|
|
359
359
|
}
|
|
360
|
-
.
|
|
361
|
-
.
|
|
362
|
-
.
|
|
360
|
+
._tab_17dcfc3_36:hover,
|
|
361
|
+
._tab_17dcfc3_36:active,
|
|
362
|
+
._tab_17dcfc3_36:focus{
|
|
363
363
|
outline:none;
|
|
364
364
|
|
|
365
365
|
text-decoration:none;
|
|
366
366
|
}
|
|
367
|
-
.
|
|
367
|
+
._tab_17dcfc3_36:after{
|
|
368
368
|
position:absolute;
|
|
369
369
|
bottom:0;
|
|
370
370
|
left:0;
|
|
@@ -377,18 +377,18 @@
|
|
|
377
377
|
|
|
378
378
|
background-color:transparent;
|
|
379
379
|
}
|
|
380
|
-
.
|
|
380
|
+
._tab_17dcfc3_36:focus[data-focus-method='key']:after{
|
|
381
381
|
opacity:0;
|
|
382
382
|
}
|
|
383
|
-
.
|
|
383
|
+
._tab_17dcfc3_36:hover{
|
|
384
384
|
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));
|
|
385
385
|
}
|
|
386
|
-
.
|
|
386
|
+
._tab_17dcfc3_36:hover:after{
|
|
387
387
|
height:1px;
|
|
388
388
|
|
|
389
389
|
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));
|
|
390
390
|
}
|
|
391
|
-
.
|
|
391
|
+
._tab_17dcfc3_36._selected_17dcfc3_160{
|
|
392
392
|
z-index:1;
|
|
393
393
|
|
|
394
394
|
cursor:default;
|
|
@@ -397,20 +397,20 @@
|
|
|
397
397
|
|
|
398
398
|
transition:color 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
|
399
399
|
}
|
|
400
|
-
.
|
|
400
|
+
._tab_17dcfc3_36._selected_17dcfc3_160:after{
|
|
401
401
|
height:2px;
|
|
402
402
|
|
|
403
403
|
background-color:var(--_rs-tab-list-indicator-background);
|
|
404
404
|
|
|
405
405
|
transition:background-color 0ms ease 300ms, height 0ms ease 300ms;
|
|
406
406
|
}
|
|
407
|
-
.
|
|
407
|
+
._tab_17dcfc3_36:focus[data-focus-method='key']{
|
|
408
408
|
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;
|
|
409
409
|
}
|
|
410
|
-
.
|
|
410
|
+
._tab_17dcfc3_36:first-child{
|
|
411
411
|
margin-left:0;
|
|
412
412
|
}
|
|
413
|
-
.
|
|
413
|
+
._tab_17dcfc3_36 ._icon_17dcfc3_66{
|
|
414
414
|
flex:0 0;
|
|
415
415
|
flex-basis:auto;
|
|
416
416
|
|
|
@@ -418,13 +418,13 @@
|
|
|
418
418
|
height:var(--_rs-tab-list-icon-size);
|
|
419
419
|
}
|
|
420
420
|
|
|
421
|
-
.
|
|
421
|
+
._light_1cob1la_9{
|
|
422
422
|
--rs-theme-dark:0;
|
|
423
423
|
}
|
|
424
|
-
.
|
|
424
|
+
._dark_1cob1la_12{
|
|
425
425
|
--rs-theme-dark:1;
|
|
426
426
|
}
|
|
427
|
-
.
|
|
427
|
+
._wrapper_1cob1la_16{
|
|
428
428
|
--_rs-theme-dark:var(
|
|
429
429
|
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
430
430
|
var(--rs-theme-dark, 0)
|
|
@@ -436,14 +436,14 @@
|
|
|
436
436
|
|
|
437
437
|
display:flex;
|
|
438
438
|
}
|
|
439
|
-
.
|
|
439
|
+
._scrollable_1cob1la_23{
|
|
440
440
|
display:flex;
|
|
441
441
|
overflow-x:scroll;
|
|
442
442
|
|
|
443
443
|
margin:-4px;
|
|
444
444
|
padding:4px;
|
|
445
445
|
}
|
|
446
|
-
.
|
|
446
|
+
._scrollable_1cob1la_23::after{
|
|
447
447
|
display:block;
|
|
448
448
|
|
|
449
449
|
height:100%;
|
|
@@ -452,15 +452,15 @@
|
|
|
452
452
|
|
|
453
453
|
content:'';
|
|
454
454
|
}
|
|
455
|
-
.
|
|
455
|
+
._scrollable_1cob1la_23 {
|
|
456
456
|
|
|
457
457
|
-ms-overflow-style:none;
|
|
458
458
|
scrollbar-width:none;
|
|
459
459
|
}
|
|
460
|
-
.
|
|
460
|
+
._scrollable_1cob1la_23::-webkit-scrollbar{
|
|
461
461
|
display:none;
|
|
462
462
|
}
|
|
463
|
-
.
|
|
463
|
+
._arrow_1cob1la_52{
|
|
464
464
|
position:absolute;
|
|
465
465
|
z-index:2;
|
|
466
466
|
top:50%;
|
|
@@ -480,20 +480,20 @@
|
|
|
480
480
|
transition:opacity 0.15s ease-out;
|
|
481
481
|
transform:translateY(-50%);
|
|
482
482
|
}
|
|
483
|
-
.
|
|
483
|
+
._arrow_1cob1la_52._shown_1cob1la_72{
|
|
484
484
|
opacity:1;
|
|
485
485
|
|
|
486
486
|
pointer-events:auto;
|
|
487
487
|
|
|
488
488
|
transition:opacity 0.15s ease-in;
|
|
489
489
|
}
|
|
490
|
-
.
|
|
490
|
+
._arrow_1cob1la_52._arrowLeft_1cob1la_80{
|
|
491
491
|
left:-5px;
|
|
492
492
|
}
|
|
493
|
-
.
|
|
493
|
+
._arrow_1cob1la_52._arrowRight_1cob1la_85{
|
|
494
494
|
right:-5px;
|
|
495
495
|
}
|
|
496
|
-
.
|
|
496
|
+
._withLeftArrow_1cob1la_91{
|
|
497
497
|
-webkit-mask-image:linear-gradient(
|
|
498
498
|
to right,
|
|
499
499
|
rgba(0, 0, 0, 0) 0%,
|
|
@@ -507,7 +507,7 @@
|
|
|
507
507
|
black 56px
|
|
508
508
|
);
|
|
509
509
|
}
|
|
510
|
-
.
|
|
510
|
+
._withRightArrow_1cob1la_100{
|
|
511
511
|
-webkit-mask-image:linear-gradient(
|
|
512
512
|
to left,
|
|
513
513
|
rgba(0, 0, 0, 0) 0%,
|
|
@@ -521,7 +521,7 @@
|
|
|
521
521
|
black 56px
|
|
522
522
|
);
|
|
523
523
|
}
|
|
524
|
-
.
|
|
524
|
+
._withLeftArrow_1cob1la_91._withRightArrow_1cob1la_100{
|
|
525
525
|
-webkit-mask-image:linear-gradient(
|
|
526
526
|
to right,
|
|
527
527
|
rgba(0, 0, 0, 0) 0%,
|
|
@@ -541,17 +541,17 @@
|
|
|
541
541
|
rgba(0, 0, 0, 0) 100%
|
|
542
542
|
);
|
|
543
543
|
}
|
|
544
|
-
.
|
|
544
|
+
._arrowButton_1cob1la_121{
|
|
545
545
|
cursor:pointer;
|
|
546
546
|
}
|
|
547
547
|
|
|
548
|
-
.
|
|
548
|
+
._light_1cjxaye_4{
|
|
549
549
|
--rs-theme-dark:0;
|
|
550
550
|
}
|
|
551
|
-
.
|
|
551
|
+
._dark_1cjxaye_7{
|
|
552
552
|
--rs-theme-dark:1;
|
|
553
553
|
}
|
|
554
|
-
.
|
|
554
|
+
._separator_1cjxaye_11{
|
|
555
555
|
--_rs-theme-dark:var(
|
|
556
556
|
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
557
557
|
var(--rs-theme-dark, 0)
|
|
@@ -565,7 +565,7 @@
|
|
|
565
565
|
|
|
566
566
|
width:100%;
|
|
567
567
|
}
|
|
568
|
-
.
|
|
568
|
+
._separator_1cjxaye_11:after{
|
|
569
569
|
position:absolute;
|
|
570
570
|
right:0;
|
|
571
571
|
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_17dcfc3_7",
|
|
3
|
+
"dark": "_dark_17dcfc3_10",
|
|
4
|
+
"sizeM": "_sizeM_17dcfc3_14",
|
|
5
|
+
"sizeL": "_sizeL_17dcfc3_17",
|
|
6
|
+
"classic": "_classic_17dcfc3_21",
|
|
7
|
+
"rock": "_rock_17dcfc3_24",
|
|
8
|
+
"sparse": "_sparse_17dcfc3_28",
|
|
9
|
+
"short": "_short_17dcfc3_32",
|
|
10
|
+
"tabsContainer": "_tabsContainer_17dcfc3_36",
|
|
11
|
+
"indicator": "_indicator_17dcfc3_46",
|
|
12
|
+
"isIndicatorHidden": "_isIndicatorHidden_17dcfc3_60",
|
|
13
|
+
"iconLeft": "_iconLeft_17dcfc3_66",
|
|
14
|
+
"iconRight": "_iconRight_17dcfc3_69",
|
|
15
|
+
"tab": "_tab_17dcfc3_36",
|
|
16
|
+
"selected": "_selected_17dcfc3_160",
|
|
17
|
+
"icon": "_icon_17dcfc3_66"
|
|
18
18
|
};
|
|
19
19
|
export { styles as default };
|
|
@@ -3,8 +3,8 @@ import React from 'react';
|
|
|
3
3
|
import cn from 'classnames';
|
|
4
4
|
import { Button } from '@rescui/button';
|
|
5
5
|
import { useThemeWithUndefined } from '@rescui/ui-contexts';
|
|
6
|
-
import
|
|
7
|
-
import
|
|
6
|
+
import LeftOutlineIcon from '../_virtual/left-outline.js';
|
|
7
|
+
import RightOutlineIcon from '../_virtual/right-outline.js';
|
|
8
8
|
import { useScrollableList } from './use-scrollable-list.js';
|
|
9
9
|
import styles from './with-scroll-arrows.p.module.css.js';
|
|
10
10
|
|
|
@@ -54,7 +54,7 @@ const withScrollArrows = function (WrappedComponent, CompareItem) {
|
|
|
54
54
|
mode: "clear",
|
|
55
55
|
notFocusable: true,
|
|
56
56
|
onClick: prepareDirectionScroller('left'),
|
|
57
|
-
icon: /*#__PURE__*/React.createElement(
|
|
57
|
+
icon: /*#__PURE__*/React.createElement(LeftOutlineIcon, {
|
|
58
58
|
"data-render-all-sizes": true
|
|
59
59
|
}),
|
|
60
60
|
size: "s",
|
|
@@ -82,7 +82,7 @@ const withScrollArrows = function (WrappedComponent, CompareItem) {
|
|
|
82
82
|
mode: "clear",
|
|
83
83
|
notFocusable: true,
|
|
84
84
|
onClick: prepareDirectionScroller('right'),
|
|
85
|
-
icon: /*#__PURE__*/React.createElement(
|
|
85
|
+
icon: /*#__PURE__*/React.createElement(RightOutlineIcon, {
|
|
86
86
|
"data-render-all-sizes": true
|
|
87
87
|
}),
|
|
88
88
|
className: styles.arrowButton,
|
|
@@ -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_1cob1la_9",
|
|
3
|
+
"dark": "_dark_1cob1la_12",
|
|
4
|
+
"wrapper": "_wrapper_1cob1la_16",
|
|
5
|
+
"scrollable": "_scrollable_1cob1la_23",
|
|
6
|
+
"arrow": "_arrow_1cob1la_52",
|
|
7
|
+
"shown": "_shown_1cob1la_72",
|
|
8
|
+
"arrowLeft": "_arrowLeft_1cob1la_80",
|
|
9
|
+
"arrowRight": "_arrowRight_1cob1la_85",
|
|
10
|
+
"withLeftArrow": "_withLeftArrow_1cob1la_91",
|
|
11
|
+
"withRightArrow": "_withRightArrow_1cob1la_100",
|
|
12
|
+
"arrowButton": "_arrowButton_1cob1la_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.
|
|
3
|
+
"version": "0.16.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "JetBrains",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@babel/runtime-corejs3": "^7.26.0",
|
|
19
|
-
"@rescui/button": "^0.
|
|
19
|
+
"@rescui/button": "^0.23.0",
|
|
20
20
|
"@rescui/use-resize-observer": "^0.3.0",
|
|
21
21
|
"classnames": "^2.2.6"
|
|
22
22
|
},
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"build-pcss-api": "rescui-scripts build-pcss-api --file public-api.p.css"
|
|
38
38
|
},
|
|
39
39
|
"nx": {},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "66c499bb620ffa7b651301dfb24dbb4e5782435d"
|
|
41
41
|
}
|
package/lib/_virtual/left.js
DELETED
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
import _extends from '@babel/runtime-corejs3/helpers/esm/extends';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import PropTypes from 'prop-types';
|
|
4
|
-
import cn from 'classnames';
|
|
5
|
-
import styles from './index.css.js';
|
|
6
|
-
const sizeStyles = {
|
|
7
|
-
"xs": styles.sizeXS,
|
|
8
|
-
"s": styles.sizeS,
|
|
9
|
-
"m": styles.sizeM,
|
|
10
|
-
"l": styles.sizeL
|
|
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';
|
|
50
|
-
const LeftIcon = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
51
|
-
let {
|
|
52
|
-
theme,
|
|
53
|
-
size: sizeFromProps = "m",
|
|
54
|
-
className,
|
|
55
|
-
style,
|
|
56
|
-
['data-render-all-sizes']: renderAllSizes = false,
|
|
57
|
-
...props
|
|
58
|
-
} = _ref;
|
|
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);
|
|
97
|
-
});
|
|
98
|
-
LeftIcon.displayName = 'LeftIcon';
|
|
99
|
-
LeftIcon.propTypes = {
|
|
100
|
-
className: PropTypes.string,
|
|
101
|
-
theme: PropTypes.oneOf(["light", "dark"]),
|
|
102
|
-
size: PropTypes.oneOf(["xs", "s", "m", "l"]),
|
|
103
|
-
'data-render-all-sizes': PropTypes.bool,
|
|
104
|
-
style: PropTypes.object
|
|
105
|
-
};
|
|
106
|
-
export { Size, LeftIcon as default };
|
package/lib/_virtual/right.js
DELETED
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
import _extends from '@babel/runtime-corejs3/helpers/esm/extends';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import PropTypes from 'prop-types';
|
|
4
|
-
import cn from 'classnames';
|
|
5
|
-
import styles from './index.css.js';
|
|
6
|
-
const sizeStyles = {
|
|
7
|
-
"xs": styles.sizeXS,
|
|
8
|
-
"s": styles.sizeS,
|
|
9
|
-
"m": styles.sizeM,
|
|
10
|
-
"l": styles.sizeL
|
|
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';
|
|
50
|
-
const RightIcon = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
51
|
-
let {
|
|
52
|
-
theme,
|
|
53
|
-
size: sizeFromProps = "m",
|
|
54
|
-
className,
|
|
55
|
-
style,
|
|
56
|
-
['data-render-all-sizes']: renderAllSizes = false,
|
|
57
|
-
...props
|
|
58
|
-
} = _ref;
|
|
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);
|
|
97
|
-
});
|
|
98
|
-
RightIcon.displayName = 'RightIcon';
|
|
99
|
-
RightIcon.propTypes = {
|
|
100
|
-
className: PropTypes.string,
|
|
101
|
-
theme: PropTypes.oneOf(["light", "dark"]),
|
|
102
|
-
size: PropTypes.oneOf(["xs", "s", "m", "l"]),
|
|
103
|
-
'data-render-all-sizes': PropTypes.bool,
|
|
104
|
-
style: PropTypes.object
|
|
105
|
-
};
|
|
106
|
-
export { Size, RightIcon as default };
|