@rescui/collapse 0.5.12-RUI-230-Update-icons-7e73b1a0.23 → 0.5.12-RUI-230-Update-icons-1bfaa24e.31
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/plus.js +66 -36
- package/lib/_virtual/right.js +66 -36
- package/lib/collapse.js +2 -1
- package/lib/collapse.p.module.css.js +32 -32
- package/lib/index.css +108 -66
- package/lib/public-api.p.css +20 -8
- package/lib/public-api.pcss +20 -8
- package/package.json +5 -5
|
@@ -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_18715wb_4",
|
|
3
|
+
"sizeXS": "_sizeXS_18715wb_14",
|
|
4
|
+
"sizeS": "_sizeS_18715wb_18",
|
|
5
|
+
"sizeM": "_sizeM_18715wb_22",
|
|
6
|
+
"sizeL": "_sizeL_18715wb_26",
|
|
7
|
+
"light": "_light_18715wb_30",
|
|
8
|
+
"dark": "_dark_18715wb_34",
|
|
9
|
+
"allVariants": "_allVariants_18715wb_48",
|
|
10
|
+
"variant16": "_variant16_18715wb_53",
|
|
11
|
+
"variant20": "_variant20_18715wb_54",
|
|
12
|
+
"variant24": "_variant24_18715wb_55",
|
|
13
|
+
"variant28": "_variant28_18715wb_58"
|
|
9
14
|
};
|
|
10
15
|
export { styles as default };
|
package/lib/_virtual/plus.js
CHANGED
|
@@ -15,62 +15,92 @@ const Size = {
|
|
|
15
15
|
"m": "m",
|
|
16
16
|
"l": "l"
|
|
17
17
|
};
|
|
18
|
+
const PlusIcon16 = /*#__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: "M8 1.75a.75.75 0 0 1 .75.75v4.75h4.75a.75.75 0 0 1 0 1.5H8.75v4.75a.75.75 0 0 1-1.5 0V8.75H2.5a.75.75 0 0 1 0-1.5h4.75V2.5A.75.75 0 0 1 8 1.75"
|
|
24
|
+
})));
|
|
25
|
+
PlusIcon16.displayName = 'PlusIcon16';
|
|
26
|
+
const PlusIcon20 = /*#__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: "M10 3a1 1 0 0 1 1 1v5h5a1 1 0 1 1 0 2h-5v5a1 1 0 1 1-2 0v-5H4a1 1 0 1 1 0-2h5V4a1 1 0 0 1 1-1"
|
|
32
|
+
})));
|
|
33
|
+
PlusIcon20.displayName = 'PlusIcon20';
|
|
34
|
+
const PlusIcon24 = /*#__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: "M12.5 3A1.5 1.5 0 0 1 14 4.5V10h5.5a1.5 1.5 0 0 1 0 3H14v5.5a1.5 1.5 0 0 1-3 0V13H5.5a1.5 1.5 0 0 1 0-3H11V4.5A1.5 1.5 0 0 1 12.5 3"
|
|
40
|
+
})));
|
|
41
|
+
PlusIcon24.displayName = 'PlusIcon24';
|
|
42
|
+
const PlusIcon28 = /*#__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: "M14.5 4A1.5 1.5 0 0 1 16 5.5V12h6.5a1.5 1.5 0 0 1 0 3H16v6.5a1.5 1.5 0 0 1-3 0V15H6.5a1.5 1.5 0 0 1 0-3H13V5.5A1.5 1.5 0 0 1 14.5 4"
|
|
48
|
+
})));
|
|
49
|
+
PlusIcon28.displayName = 'PlusIcon28';
|
|
18
50
|
const PlusIcon = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
19
51
|
let {
|
|
20
52
|
theme,
|
|
21
|
-
size,
|
|
53
|
+
size: sizeFromProps = "m",
|
|
22
54
|
className,
|
|
55
|
+
style,
|
|
56
|
+
['data-render-all-sizes']: renderAllSizes = false,
|
|
23
57
|
...props
|
|
24
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
|
+
};
|
|
25
69
|
|
|
26
|
-
if (
|
|
70
|
+
if (renderAllSizes) {
|
|
27
71
|
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
28
|
-
viewBox: "0 0
|
|
29
|
-
},
|
|
30
|
-
className:
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
72
|
+
viewBox: "0 0 28 28"
|
|
73
|
+
}, mainProps), /*#__PURE__*/React.createElement(PlusIcon16, {
|
|
74
|
+
className: styles.variant16
|
|
75
|
+
}), /*#__PURE__*/React.createElement(PlusIcon20, {
|
|
76
|
+
className: styles.variant20
|
|
77
|
+
}), /*#__PURE__*/React.createElement(PlusIcon24, {
|
|
78
|
+
className: styles.variant24
|
|
79
|
+
}), /*#__PURE__*/React.createElement(PlusIcon28, {
|
|
80
|
+
className: styles.variant28
|
|
34
81
|
}));
|
|
35
82
|
}
|
|
36
83
|
|
|
84
|
+
if (size === Size['xs']) {
|
|
85
|
+
return /*#__PURE__*/React.createElement(PlusIcon16, mainProps);
|
|
86
|
+
}
|
|
87
|
+
|
|
37
88
|
if (size === Size['s']) {
|
|
38
|
-
return /*#__PURE__*/React.createElement(
|
|
39
|
-
viewBox: "0 0 20 20"
|
|
40
|
-
}, props, {
|
|
41
|
-
className: cn(styles.icon, styles[theme], sizeStyles[size], className),
|
|
42
|
-
ref: ref
|
|
43
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
44
|
-
d: "M10 3a1 1 0 0 1 1 1v5h5a1 1 0 1 1 0 2h-5v5a1 1 0 1 1-2 0v-5H4a1 1 0 1 1 0-2h5V4a1 1 0 0 1 1-1"
|
|
45
|
-
}));
|
|
89
|
+
return /*#__PURE__*/React.createElement(PlusIcon20, mainProps);
|
|
46
90
|
}
|
|
47
91
|
|
|
48
92
|
if (size === Size['m']) {
|
|
49
|
-
return /*#__PURE__*/React.createElement(
|
|
50
|
-
viewBox: "0 0 24 24"
|
|
51
|
-
}, props, {
|
|
52
|
-
className: cn(styles.icon, styles[theme], sizeStyles[size], className),
|
|
53
|
-
ref: ref
|
|
54
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
55
|
-
d: "M12.5 3A1.5 1.5 0 0 1 14 4.5V10h5.5a1.5 1.5 0 0 1 0 3H14v5.5a1.5 1.5 0 0 1-3 0V13H5.5a1.5 1.5 0 0 1 0-3H11V4.5A1.5 1.5 0 0 1 12.5 3"
|
|
56
|
-
}));
|
|
93
|
+
return /*#__PURE__*/React.createElement(PlusIcon24, mainProps);
|
|
57
94
|
}
|
|
58
95
|
|
|
59
|
-
return /*#__PURE__*/React.createElement(
|
|
60
|
-
viewBox: "0 0 28 28"
|
|
61
|
-
}, props, {
|
|
62
|
-
className: cn(styles.icon, styles[theme], sizeStyles[size], className),
|
|
63
|
-
ref: ref
|
|
64
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
65
|
-
d: "M14.5 4A1.5 1.5 0 0 1 16 5.5V12h6.5a1.5 1.5 0 0 1 0 3H16v6.5a1.5 1.5 0 0 1-3 0V15H6.5a1.5 1.5 0 0 1 0-3H13V5.5A1.5 1.5 0 0 1 14.5 4"
|
|
66
|
-
}));
|
|
96
|
+
return /*#__PURE__*/React.createElement(PlusIcon28, mainProps);
|
|
67
97
|
});
|
|
98
|
+
PlusIcon.displayName = 'PlusIcon';
|
|
68
99
|
PlusIcon.propTypes = {
|
|
69
100
|
className: PropTypes.string,
|
|
70
101
|
theme: PropTypes.oneOf(["light", "dark"]),
|
|
71
|
-
size: PropTypes.oneOf(["xs", "s", "m", "l"])
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
size: "m"
|
|
102
|
+
size: PropTypes.oneOf(["xs", "s", "m", "l"]),
|
|
103
|
+
'data-render-all-sizes': PropTypes.bool,
|
|
104
|
+
style: PropTypes.object
|
|
75
105
|
};
|
|
76
106
|
export { Size, PlusIcon as default };
|
package/lib/_virtual/right.js
CHANGED
|
@@ -15,62 +15,92 @@ const Size = {
|
|
|
15
15
|
"m": "m",
|
|
16
16
|
"l": "l"
|
|
17
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';
|
|
18
50
|
const RightIcon = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
19
51
|
let {
|
|
20
52
|
theme,
|
|
21
|
-
size,
|
|
53
|
+
size: sizeFromProps = "m",
|
|
22
54
|
className,
|
|
55
|
+
style,
|
|
56
|
+
['data-render-all-sizes']: renderAllSizes = false,
|
|
23
57
|
...props
|
|
24
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
|
+
};
|
|
25
69
|
|
|
26
|
-
if (
|
|
70
|
+
if (renderAllSizes) {
|
|
27
71
|
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
28
|
-
viewBox: "0 0
|
|
29
|
-
},
|
|
30
|
-
className:
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
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
|
|
34
81
|
}));
|
|
35
82
|
}
|
|
36
83
|
|
|
84
|
+
if (size === Size['xs']) {
|
|
85
|
+
return /*#__PURE__*/React.createElement(RightIcon16, mainProps);
|
|
86
|
+
}
|
|
87
|
+
|
|
37
88
|
if (size === Size['s']) {
|
|
38
|
-
return /*#__PURE__*/React.createElement(
|
|
39
|
-
viewBox: "0 0 20 20"
|
|
40
|
-
}, props, {
|
|
41
|
-
className: cn(styles.icon, styles[theme], sizeStyles[size], className),
|
|
42
|
-
ref: ref
|
|
43
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
44
|
-
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"
|
|
45
|
-
}));
|
|
89
|
+
return /*#__PURE__*/React.createElement(RightIcon20, mainProps);
|
|
46
90
|
}
|
|
47
91
|
|
|
48
92
|
if (size === Size['m']) {
|
|
49
|
-
return /*#__PURE__*/React.createElement(
|
|
50
|
-
viewBox: "0 0 24 24"
|
|
51
|
-
}, props, {
|
|
52
|
-
className: cn(styles.icon, styles[theme], sizeStyles[size], className),
|
|
53
|
-
ref: ref
|
|
54
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
55
|
-
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"
|
|
56
|
-
}));
|
|
93
|
+
return /*#__PURE__*/React.createElement(RightIcon24, mainProps);
|
|
57
94
|
}
|
|
58
95
|
|
|
59
|
-
return /*#__PURE__*/React.createElement(
|
|
60
|
-
viewBox: "0 0 28 28"
|
|
61
|
-
}, props, {
|
|
62
|
-
className: cn(styles.icon, styles[theme], sizeStyles[size], className),
|
|
63
|
-
ref: ref
|
|
64
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
65
|
-
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"
|
|
66
|
-
}));
|
|
96
|
+
return /*#__PURE__*/React.createElement(RightIcon28, mainProps);
|
|
67
97
|
});
|
|
98
|
+
RightIcon.displayName = 'RightIcon';
|
|
68
99
|
RightIcon.propTypes = {
|
|
69
100
|
className: PropTypes.string,
|
|
70
101
|
theme: PropTypes.oneOf(["light", "dark"]),
|
|
71
|
-
size: PropTypes.oneOf(["xs", "s", "m", "l"])
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
size: "m"
|
|
102
|
+
size: PropTypes.oneOf(["xs", "s", "m", "l"]),
|
|
103
|
+
'data-render-all-sizes': PropTypes.bool,
|
|
104
|
+
style: PropTypes.object
|
|
75
105
|
};
|
|
76
106
|
export { Size, RightIcon as default };
|
package/lib/collapse.js
CHANGED
|
@@ -133,7 +133,8 @@ const Collapse = /*#__PURE__*/React.forwardRef( // eslint-disable-next-line comp
|
|
|
133
133
|
className: styles.button,
|
|
134
134
|
onClick: toggleOpened
|
|
135
135
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
136
|
-
className: styles.icon
|
|
136
|
+
className: styles.icon,
|
|
137
|
+
"data-render-all-sizes": true
|
|
137
138
|
}), /*#__PURE__*/React.createElement("span", {
|
|
138
139
|
className: cn(styles.title),
|
|
139
140
|
"data-rs-internal": "collapse__title"
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
var styles = {
|
|
2
|
-
"themeLight": "
|
|
3
|
-
"themeDark": "
|
|
4
|
-
"sizeS": "
|
|
5
|
-
"sizeM": "
|
|
6
|
-
"sizeL": "
|
|
7
|
-
"classic": "
|
|
8
|
-
"rock": "
|
|
9
|
-
"clear": "
|
|
10
|
-
"hasBorderBottom": "
|
|
11
|
-
"leftIcon": "
|
|
12
|
-
"rightIcon": "
|
|
13
|
-
"disableLeftPadding": "
|
|
14
|
-
"main": "
|
|
15
|
-
"opening": "
|
|
16
|
-
"opened": "
|
|
17
|
-
"closing": "
|
|
18
|
-
"title": "
|
|
19
|
-
"content": "
|
|
20
|
-
"closed": "
|
|
21
|
-
"closingTransition": "
|
|
22
|
-
"innerWrapper": "
|
|
23
|
-
"button": "
|
|
24
|
-
"icon": "
|
|
25
|
-
"iconPlus": "
|
|
26
|
-
"iconArrow": "
|
|
27
|
-
"accordion": "
|
|
28
|
-
"accordionGap0": "
|
|
29
|
-
"accordionGap8": "
|
|
30
|
-
"accordionGap12": "
|
|
31
|
-
"accordionGap16": "
|
|
32
|
-
"accordionGap24": "
|
|
33
|
-
"accordionGap32": "
|
|
2
|
+
"themeLight": "_themeLight_xz0on0_6",
|
|
3
|
+
"themeDark": "_themeDark_xz0on0_9",
|
|
4
|
+
"sizeS": "_sizeS_xz0on0_13",
|
|
5
|
+
"sizeM": "_sizeM_xz0on0_16",
|
|
6
|
+
"sizeL": "_sizeL_xz0on0_19",
|
|
7
|
+
"classic": "_classic_xz0on0_23",
|
|
8
|
+
"rock": "_rock_xz0on0_26",
|
|
9
|
+
"clear": "_clear_xz0on0_29",
|
|
10
|
+
"hasBorderBottom": "_hasBorderBottom_xz0on0_33",
|
|
11
|
+
"leftIcon": "_leftIcon_xz0on0_37",
|
|
12
|
+
"rightIcon": "_rightIcon_xz0on0_40",
|
|
13
|
+
"disableLeftPadding": "_disableLeftPadding_xz0on0_44",
|
|
14
|
+
"main": "_main_xz0on0_48",
|
|
15
|
+
"opening": "_opening_xz0on0_59",
|
|
16
|
+
"opened": "_opened_xz0on0_60",
|
|
17
|
+
"closing": "_closing_xz0on0_61",
|
|
18
|
+
"title": "_title_xz0on0_95",
|
|
19
|
+
"content": "_content_xz0on0_103",
|
|
20
|
+
"closed": "_closed_xz0on0_111",
|
|
21
|
+
"closingTransition": "_closingTransition_xz0on0_120",
|
|
22
|
+
"innerWrapper": "_innerWrapper_xz0on0_127",
|
|
23
|
+
"button": "_button_xz0on0_133",
|
|
24
|
+
"icon": "_icon_xz0on0_186",
|
|
25
|
+
"iconPlus": "_iconPlus_xz0on0_202",
|
|
26
|
+
"iconArrow": "_iconArrow_xz0on0_207",
|
|
27
|
+
"accordion": "_accordion_xz0on0_213",
|
|
28
|
+
"accordionGap0": "_accordionGap0_xz0on0_218",
|
|
29
|
+
"accordionGap8": "_accordionGap8_xz0on0_221",
|
|
30
|
+
"accordionGap12": "_accordionGap12_xz0on0_224",
|
|
31
|
+
"accordionGap16": "_accordionGap16_xz0on0_227",
|
|
32
|
+
"accordionGap24": "_accordionGap24_xz0on0_230",
|
|
33
|
+
"accordionGap32": "_accordionGap32_xz0on0_233"
|
|
34
34
|
};
|
|
35
35
|
export { styles as default };
|
package/lib/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._icon_18715wb_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_18715wb_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_18715wb_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_18715wb_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_18715wb_14{
|
|
36
36
|
--_rs-icons-height:16px;
|
|
37
37
|
}
|
|
38
|
-
.
|
|
38
|
+
._sizeS_18715wb_18{
|
|
39
39
|
--_rs-icons-height:20px;
|
|
40
40
|
}
|
|
41
|
-
.
|
|
41
|
+
._sizeM_18715wb_22{
|
|
42
42
|
--_rs-icons-height:24px;
|
|
43
43
|
}
|
|
44
|
-
.
|
|
44
|
+
._sizeL_18715wb_26{
|
|
45
45
|
--_rs-icons-height:28px;
|
|
46
46
|
}
|
|
47
|
-
.
|
|
47
|
+
._light_18715wb_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_18715wb_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_18715wb_48{
|
|
64
|
+
aspect-ratio:var(--rs-icon-ar-width, 1) / var(--rs-icon-ar-height, 1);
|
|
65
|
+
container:rs-icon / size;
|
|
66
|
+
}
|
|
67
|
+
._variant16_18715wb_53,
|
|
68
|
+
._variant20_18715wb_54,
|
|
69
|
+
._variant24_18715wb_55{
|
|
70
|
+
display:none;
|
|
71
|
+
}
|
|
72
|
+
._variant28_18715wb_58{
|
|
73
|
+
display:block;
|
|
74
|
+
}
|
|
75
|
+
@container rs-icon (max-height: 24px){
|
|
76
|
+
._variant24_18715wb_55{
|
|
77
|
+
display:block;
|
|
78
|
+
}
|
|
79
|
+
._variant28_18715wb_58{
|
|
80
|
+
display:none;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
@container rs-icon (max-height: 20px){
|
|
84
|
+
._variant20_18715wb_54{
|
|
85
|
+
display:block;
|
|
86
|
+
}
|
|
87
|
+
._variant24_18715wb_55{
|
|
88
|
+
display:none;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
@container rs-icon (max-height: 16px){
|
|
92
|
+
._variant16_18715wb_53{
|
|
93
|
+
display:block;
|
|
94
|
+
}
|
|
95
|
+
._variant20_18715wb_54{
|
|
96
|
+
display:none;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
._themeLight_xz0on0_6{
|
|
64
100
|
--rs-theme-dark:0;
|
|
65
101
|
}
|
|
66
|
-
.
|
|
102
|
+
._themeDark_xz0on0_9{
|
|
67
103
|
--rs-theme-dark:1;
|
|
68
104
|
}
|
|
69
|
-
.
|
|
105
|
+
._sizeS_xz0on0_13{
|
|
70
106
|
--_rs-collapse-vertical-padding:6px;
|
|
71
107
|
--_rs-collapse-horizontal-padding:8px;
|
|
72
108
|
--_rs-collapse-icon-size:20px;
|
|
73
109
|
}
|
|
74
|
-
.
|
|
110
|
+
._sizeS_xz0on0_13 > [data-rs-internal='collapse__button'] > [data-rs-internal='collapse__title']{
|
|
75
111
|
--_rs-typography-letter-spacing:var(--rs-h5-letter-spacing, normal);
|
|
76
112
|
--_rs-typography-text-transform:initial;
|
|
77
113
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -102,7 +138,7 @@
|
|
|
102
138
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
103
139
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
104
140
|
}
|
|
105
|
-
.
|
|
141
|
+
._sizeS_xz0on0_13 > [data-rs-internal='collapse__content']{
|
|
106
142
|
--_rs-typography-letter-spacing:var(--rs-text-3-letter-spacing, 0.0045em);
|
|
107
143
|
--_rs-typography-text-transform:initial;
|
|
108
144
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -136,12 +172,12 @@
|
|
|
136
172
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
137
173
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
138
174
|
}
|
|
139
|
-
.
|
|
175
|
+
._sizeM_xz0on0_16{
|
|
140
176
|
--_rs-collapse-vertical-padding:8px;
|
|
141
177
|
--_rs-collapse-horizontal-padding:8px;
|
|
142
178
|
--_rs-collapse-icon-size:24px;
|
|
143
179
|
}
|
|
144
|
-
.
|
|
180
|
+
._sizeM_xz0on0_16 > [data-rs-internal='collapse__button'] > [data-rs-internal='collapse__title']{
|
|
145
181
|
--_rs-typography-letter-spacing:var(--rs-h4-letter-spacing, normal);
|
|
146
182
|
--_rs-typography-text-transform:initial;
|
|
147
183
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -172,7 +208,7 @@
|
|
|
172
208
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
173
209
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
174
210
|
}
|
|
175
|
-
.
|
|
211
|
+
._sizeM_xz0on0_16 > [data-rs-internal='collapse__content']{
|
|
176
212
|
--_rs-typography-letter-spacing:var(--rs-text-2-letter-spacing, 0.0015em);
|
|
177
213
|
--_rs-typography-text-transform:initial;
|
|
178
214
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -201,22 +237,25 @@
|
|
|
201
237
|
--_rs-typography-text-auto-offset:16px;
|
|
202
238
|
--_rs-typography-ul-list-li-padding-left:22px;
|
|
203
239
|
--_rs-typography-ol-list-li-padding-left:26px;
|
|
204
|
-
--_rs-typography-list-li-margin-top-from-text:
|
|
240
|
+
--_rs-typography-list-li-margin-top-from-text:var(
|
|
241
|
+
--_rs-typography-text-2-sm-list-li-margin-top-from-text,
|
|
242
|
+
16px
|
|
243
|
+
);
|
|
205
244
|
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
206
245
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
207
246
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
208
247
|
}
|
|
209
248
|
@media screen and (max-width: 640px){
|
|
210
|
-
.
|
|
211
|
-
--_rs-typography-list-li-margin-top-from-text:12px;
|
|
249
|
+
._sizeM_xz0on0_16 > [data-rs-internal='collapse__content']{
|
|
250
|
+
--_rs-typography-text-2-sm-list-li-margin-top-from-text:12px;
|
|
212
251
|
}
|
|
213
252
|
}
|
|
214
|
-
.
|
|
253
|
+
._sizeL_xz0on0_19{
|
|
215
254
|
--_rs-collapse-vertical-padding:12px;
|
|
216
255
|
--_rs-collapse-horizontal-padding:16px;
|
|
217
256
|
--_rs-collapse-icon-size:28px;
|
|
218
257
|
}
|
|
219
|
-
.
|
|
258
|
+
._sizeL_xz0on0_19 > [data-rs-internal='collapse__button'] > [data-rs-internal='collapse__title']{
|
|
220
259
|
--_rs-typography-letter-spacing:var(--rs-h3-letter-spacing, normal);
|
|
221
260
|
--_rs-typography-text-transform:initial;
|
|
222
261
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -247,7 +286,7 @@
|
|
|
247
286
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
248
287
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
249
288
|
}
|
|
250
|
-
.
|
|
289
|
+
._sizeL_xz0on0_19 > [data-rs-internal='collapse__content']{
|
|
251
290
|
--_rs-typography-letter-spacing:var(--rs-text-1-letter-spacing, normal);
|
|
252
291
|
--_rs-typography-text-transform:initial;
|
|
253
292
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -276,17 +315,20 @@
|
|
|
276
315
|
--_rs-typography-text-auto-offset:32px;
|
|
277
316
|
--_rs-typography-ul-list-li-padding-left:26px;
|
|
278
317
|
--_rs-typography-ol-list-li-padding-left:32px;
|
|
279
|
-
--_rs-typography-list-li-margin-top-from-text:
|
|
318
|
+
--_rs-typography-list-li-margin-top-from-text:var(
|
|
319
|
+
--_rs-typography-text-1-sm-list-li-margin-top-from-text,
|
|
320
|
+
24px
|
|
321
|
+
);
|
|
280
322
|
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
281
323
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
282
324
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
283
325
|
}
|
|
284
326
|
@media screen and (max-width: 640px){
|
|
285
|
-
.
|
|
286
|
-
--_rs-typography-list-li-margin-top-from-text:16px;
|
|
327
|
+
._sizeL_xz0on0_19 > [data-rs-internal='collapse__content']{
|
|
328
|
+
--_rs-typography-text-1-sm-list-li-margin-top-from-text:16px;
|
|
287
329
|
}
|
|
288
330
|
}
|
|
289
|
-
.
|
|
331
|
+
._classic_xz0on0_23{
|
|
290
332
|
--_rs-collapse-active-theme-flip:0;
|
|
291
333
|
--_rs-collapse-active-background:rgba(
|
|
292
334
|
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),
|
|
@@ -300,7 +342,7 @@
|
|
|
300
342
|
);
|
|
301
343
|
--_rs-collapse-button-hover-color: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), 1);
|
|
302
344
|
}
|
|
303
|
-
.
|
|
345
|
+
._rock_xz0on0_26{
|
|
304
346
|
--_rs-collapse-active-theme-flip:1;
|
|
305
347
|
--_rs-collapse-active-background:rgb(calc(255 - var(--_rs-theme-dark-coefficient, 0)*230), calc(255 - var(--_rs-theme-dark-coefficient, 0)*230), calc(255 - var(--_rs-theme-dark-coefficient, 0)*227));
|
|
306
348
|
--_rs-collapse-active-border-bottom-to-padding-multiplier:1;
|
|
@@ -311,7 +353,7 @@
|
|
|
311
353
|
);
|
|
312
354
|
--_rs-collapse-button-hover-color: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), 1);
|
|
313
355
|
}
|
|
314
|
-
.
|
|
356
|
+
._clear_xz0on0_29{
|
|
315
357
|
--_rs-collapse-active-theme-flip:0;
|
|
316
358
|
--_rs-collapse-active-background:transparent;
|
|
317
359
|
--_rs-collapse-active-border-bottom-to-padding-multiplier:0;
|
|
@@ -322,27 +364,27 @@
|
|
|
322
364
|
0.7
|
|
323
365
|
);
|
|
324
366
|
}
|
|
325
|
-
.
|
|
367
|
+
._hasBorderBottom_xz0on0_33{
|
|
326
368
|
--_rs-collapse-border-bottom-width-or-initial:1px;
|
|
327
369
|
}
|
|
328
|
-
.
|
|
370
|
+
._leftIcon_xz0on0_37{
|
|
329
371
|
--_rs-collapse-button-flex-direction:row;
|
|
330
372
|
--_rs-collapse-icon-margin:0 var(--_rs-collapse-horizontal-padding) 0 0;
|
|
331
373
|
--_rs-collapse-inner-wrapper-padding-left-base:calc(var(--_rs-collapse-horizontal-padding)*2 + var(--_rs-collapse-icon-size));
|
|
332
374
|
}
|
|
333
|
-
.
|
|
375
|
+
._rightIcon_xz0on0_40{
|
|
334
376
|
--_rs-collapse-button-flex-direction:row-reverse;
|
|
335
377
|
--_rs-collapse-icon-margin:0 0 0 var(--_rs-collapse-horizontal-padding);
|
|
336
378
|
--_rs-collapse-inner-wrapper-padding-left-base:var(
|
|
337
379
|
--_rs-collapse-horizontal-padding
|
|
338
380
|
);
|
|
339
381
|
}
|
|
340
|
-
.
|
|
382
|
+
._disableLeftPadding_xz0on0_44{
|
|
341
383
|
--_rs-collapse-inner-wrapper-padding-left-from-disable-left-padding-or-initial:var(
|
|
342
384
|
--_rs-collapse-horizontal-padding
|
|
343
385
|
);
|
|
344
386
|
}
|
|
345
|
-
.
|
|
387
|
+
._main_xz0on0_48{
|
|
346
388
|
--_rs-theme-dark:var(
|
|
347
389
|
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
348
390
|
var(--rs-theme-dark, 0)
|
|
@@ -352,7 +394,7 @@
|
|
|
352
394
|
--_rs-theme-light-coefficient:calc(1 - var(--_rs-theme-dark-coefficient));
|
|
353
395
|
}
|
|
354
396
|
@supports (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
355
|
-
.
|
|
397
|
+
._main_xz0on0_48{
|
|
356
398
|
--_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)));
|
|
357
399
|
--_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)));
|
|
358
400
|
--_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)));
|
|
@@ -361,7 +403,7 @@
|
|
|
361
403
|
}
|
|
362
404
|
}
|
|
363
405
|
@supports not (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
364
|
-
.
|
|
406
|
+
._main_xz0on0_48{
|
|
365
407
|
--_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);
|
|
366
408
|
--_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));
|
|
367
409
|
--_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));
|
|
@@ -369,7 +411,7 @@
|
|
|
369
411
|
--_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));
|
|
370
412
|
}
|
|
371
413
|
}
|
|
372
|
-
.
|
|
414
|
+
._main_xz0on0_48 {
|
|
373
415
|
--_rs-collapse-border-bottom-width:var(
|
|
374
416
|
--_rs-collapse-border-bottom-width-or-initial,
|
|
375
417
|
0px
|
|
@@ -384,9 +426,9 @@
|
|
|
384
426
|
border-bottom:var(--_rs-collapse-border-bottom-width) solid 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), 0.2);
|
|
385
427
|
border-radius:var(--rs-collapse-border-radius, 0px);
|
|
386
428
|
}
|
|
387
|
-
.
|
|
388
|
-
.
|
|
389
|
-
.
|
|
429
|
+
._main_xz0on0_48._opening_xz0on0_59,
|
|
430
|
+
._main_xz0on0_48._opened_xz0on0_60,
|
|
431
|
+
._main_xz0on0_48._closing_xz0on0_61{
|
|
390
432
|
--rs-theme-flip:var(--_rs-collapse-active-theme-flip);
|
|
391
433
|
|
|
392
434
|
padding-bottom:calc(var(--_rs-collapse-border-bottom-width)*var(--_rs-collapse-active-border-bottom-to-padding-multiplier));
|
|
@@ -396,7 +438,7 @@
|
|
|
396
438
|
background:var(--_rs-collapse-active-background);
|
|
397
439
|
}
|
|
398
440
|
@media (hover: hover){
|
|
399
|
-
.
|
|
441
|
+
._main_xz0on0_48:hover{
|
|
400
442
|
--rs-theme-flip:var(--_rs-collapse-active-theme-flip);
|
|
401
443
|
|
|
402
444
|
padding-bottom:calc(var(--_rs-collapse-border-bottom-width)*var(--_rs-collapse-active-border-bottom-to-padding-multiplier));
|
|
@@ -406,7 +448,7 @@
|
|
|
406
448
|
background:var(--_rs-collapse-active-background);
|
|
407
449
|
}
|
|
408
450
|
}
|
|
409
|
-
.
|
|
451
|
+
._title_xz0on0_95{
|
|
410
452
|
letter-spacing:var(
|
|
411
453
|
--rs-text-base-letter-spacing,
|
|
412
454
|
var(--_rs-typography-letter-spacing)
|
|
@@ -423,7 +465,7 @@
|
|
|
423
465
|
|
|
424
466
|
color:inherit;
|
|
425
467
|
}
|
|
426
|
-
.
|
|
468
|
+
._content_xz0on0_103{
|
|
427
469
|
letter-spacing:var(
|
|
428
470
|
--rs-text-base-letter-spacing,
|
|
429
471
|
var(--_rs-typography-letter-spacing)
|
|
@@ -444,22 +486,22 @@
|
|
|
444
486
|
|
|
445
487
|
height:0;
|
|
446
488
|
}
|
|
447
|
-
.
|
|
489
|
+
._closed_xz0on0_111 > ._content_xz0on0_103{
|
|
448
490
|
display:none;
|
|
449
491
|
}
|
|
450
|
-
.
|
|
492
|
+
._opened_xz0on0_60 > ._content_xz0on0_103{
|
|
451
493
|
height:initial;
|
|
452
494
|
}
|
|
453
|
-
.
|
|
454
|
-
.
|
|
495
|
+
._opening_xz0on0_59 > ._content_xz0on0_103,
|
|
496
|
+
._closingTransition_xz0on0_120 > ._content_xz0on0_103{
|
|
455
497
|
overflow:hidden;
|
|
456
498
|
|
|
457
499
|
transition:height 300ms;
|
|
458
500
|
}
|
|
459
|
-
.
|
|
501
|
+
._innerWrapper_xz0on0_127{
|
|
460
502
|
padding:0 var(--_rs-collapse-horizontal-padding) var(--_rs-collapse-horizontal-padding) var(--_rs-collapse-inner-wrapper-padding-left);
|
|
461
503
|
}
|
|
462
|
-
.
|
|
504
|
+
._button_xz0on0_133{
|
|
463
505
|
color:var(
|
|
464
506
|
--rs-color-hard,
|
|
465
507
|
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))
|
|
@@ -492,24 +534,24 @@
|
|
|
492
534
|
-moz-osx-font-smoothing:inherit;
|
|
493
535
|
-webkit-appearance:none;
|
|
494
536
|
}
|
|
495
|
-
.
|
|
537
|
+
._button_xz0on0_133::-moz-focus-inner{
|
|
496
538
|
padding:0;
|
|
497
539
|
|
|
498
540
|
border:0;
|
|
499
541
|
}
|
|
500
|
-
.
|
|
542
|
+
._button_xz0on0_133:focus{
|
|
501
543
|
outline:none;
|
|
502
544
|
}
|
|
503
|
-
.
|
|
545
|
+
._button_xz0on0_133:focus[data-focus-method='key']{
|
|
504
546
|
box-shadow:var(--_rs-color-primary-t-dim) 0 0 0 4px;
|
|
505
547
|
}
|
|
506
548
|
@media (hover: hover){
|
|
507
|
-
.
|
|
549
|
+
._button_xz0on0_133:hover{
|
|
508
550
|
color:var(--_rs-collapse-button-hover-color);
|
|
509
551
|
background:var(--_rs-collapse-button-hover-background);
|
|
510
552
|
}
|
|
511
553
|
}
|
|
512
|
-
.
|
|
554
|
+
._icon_xz0on0_186{
|
|
513
555
|
position:relative;
|
|
514
556
|
top:0;
|
|
515
557
|
left:0;
|
|
@@ -525,34 +567,34 @@
|
|
|
525
567
|
|
|
526
568
|
will-change:transform;
|
|
527
569
|
}
|
|
528
|
-
.
|
|
529
|
-
.
|
|
570
|
+
._opening_xz0on0_59._iconPlus_xz0on0_202 > ._button_xz0on0_133 > ._icon_xz0on0_186,
|
|
571
|
+
._opened_xz0on0_60._iconPlus_xz0on0_202 > ._button_xz0on0_133 > ._icon_xz0on0_186{
|
|
530
572
|
transform:rotate(45deg);
|
|
531
573
|
}
|
|
532
|
-
.
|
|
533
|
-
.
|
|
574
|
+
._opening_xz0on0_59._iconArrow_xz0on0_207 > ._button_xz0on0_133 > ._icon_xz0on0_186,
|
|
575
|
+
._opened_xz0on0_60._iconArrow_xz0on0_207 > ._button_xz0on0_133 > ._icon_xz0on0_186{
|
|
534
576
|
transform:rotate(90deg);
|
|
535
577
|
}
|
|
536
|
-
.
|
|
578
|
+
._accordion_xz0on0_213{
|
|
537
579
|
display:flex;
|
|
538
580
|
flex-direction:column;
|
|
539
581
|
row-gap:var(--_rs-collapse-accordion-gap);
|
|
540
582
|
}
|
|
541
|
-
.
|
|
583
|
+
._accordionGap0_xz0on0_218{
|
|
542
584
|
--_rs-collapse-accordion-gap:0px;
|
|
543
585
|
}
|
|
544
|
-
.
|
|
586
|
+
._accordionGap8_xz0on0_221{
|
|
545
587
|
--_rs-collapse-accordion-gap:8px;
|
|
546
588
|
}
|
|
547
|
-
.
|
|
589
|
+
._accordionGap12_xz0on0_224{
|
|
548
590
|
--_rs-collapse-accordion-gap:12px;
|
|
549
591
|
}
|
|
550
|
-
.
|
|
592
|
+
._accordionGap16_xz0on0_227{
|
|
551
593
|
--_rs-collapse-accordion-gap:16px;
|
|
552
594
|
}
|
|
553
|
-
.
|
|
595
|
+
._accordionGap24_xz0on0_230{
|
|
554
596
|
--_rs-collapse-accordion-gap:24px;
|
|
555
597
|
}
|
|
556
|
-
.
|
|
598
|
+
._accordionGap32_xz0on0_233{
|
|
557
599
|
--_rs-collapse-accordion-gap:32px;
|
|
558
600
|
}
|
package/lib/public-api.p.css
CHANGED
|
@@ -136,14 +136,17 @@
|
|
|
136
136
|
--_rs-typography-text-auto-offset:16px;
|
|
137
137
|
--_rs-typography-ul-list-li-padding-left:22px;
|
|
138
138
|
--_rs-typography-ol-list-li-padding-left:26px;
|
|
139
|
-
--_rs-typography-list-li-margin-top-from-text:
|
|
139
|
+
--_rs-typography-list-li-margin-top-from-text:var(
|
|
140
|
+
--_rs-typography-text-2-sm-list-li-margin-top-from-text,
|
|
141
|
+
16px
|
|
142
|
+
);
|
|
140
143
|
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
141
144
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
142
145
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
143
146
|
}
|
|
144
147
|
@media screen and (max-width: 640px){
|
|
145
148
|
&[class] > [data-rs-internal='collapse__content']{
|
|
146
|
-
--_rs-typography-list-li-margin-top-from-text:12px;
|
|
149
|
+
--_rs-typography-text-2-sm-list-li-margin-top-from-text:12px;
|
|
147
150
|
}
|
|
148
151
|
}
|
|
149
152
|
}
|
|
@@ -213,14 +216,17 @@
|
|
|
213
216
|
--_rs-typography-text-auto-offset:32px;
|
|
214
217
|
--_rs-typography-ul-list-li-padding-left:26px;
|
|
215
218
|
--_rs-typography-ol-list-li-padding-left:32px;
|
|
216
|
-
--_rs-typography-list-li-margin-top-from-text:
|
|
219
|
+
--_rs-typography-list-li-margin-top-from-text:var(
|
|
220
|
+
--_rs-typography-text-1-sm-list-li-margin-top-from-text,
|
|
221
|
+
24px
|
|
222
|
+
);
|
|
217
223
|
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
218
224
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
219
225
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
220
226
|
}
|
|
221
227
|
@media screen and (max-width: 640px){
|
|
222
228
|
&[class] > [data-rs-internal='collapse__content']{
|
|
223
|
-
--_rs-typography-list-li-margin-top-from-text:16px;
|
|
229
|
+
--_rs-typography-text-1-sm-list-li-margin-top-from-text:16px;
|
|
224
230
|
}
|
|
225
231
|
}
|
|
226
232
|
}
|
|
@@ -426,14 +432,17 @@
|
|
|
426
432
|
--_rs-typography-text-auto-offset:16px;
|
|
427
433
|
--_rs-typography-ul-list-li-padding-left:22px;
|
|
428
434
|
--_rs-typography-ol-list-li-padding-left:26px;
|
|
429
|
-
--_rs-typography-list-li-margin-top-from-text:
|
|
435
|
+
--_rs-typography-list-li-margin-top-from-text:var(
|
|
436
|
+
--_rs-typography-text-2-sm-list-li-margin-top-from-text,
|
|
437
|
+
16px
|
|
438
|
+
);
|
|
430
439
|
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
431
440
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
432
441
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
433
442
|
}
|
|
434
443
|
@media screen and (max-width: 640px){
|
|
435
444
|
& [data-rs-internal="collapse__collapse"] > [data-rs-internal='collapse__content']{
|
|
436
|
-
--_rs-typography-list-li-margin-top-from-text:12px;
|
|
445
|
+
--_rs-typography-text-2-sm-list-li-margin-top-from-text:12px;
|
|
437
446
|
}
|
|
438
447
|
}
|
|
439
448
|
}
|
|
@@ -503,14 +512,17 @@
|
|
|
503
512
|
--_rs-typography-text-auto-offset:32px;
|
|
504
513
|
--_rs-typography-ul-list-li-padding-left:26px;
|
|
505
514
|
--_rs-typography-ol-list-li-padding-left:32px;
|
|
506
|
-
--_rs-typography-list-li-margin-top-from-text:
|
|
515
|
+
--_rs-typography-list-li-margin-top-from-text:var(
|
|
516
|
+
--_rs-typography-text-1-sm-list-li-margin-top-from-text,
|
|
517
|
+
24px
|
|
518
|
+
);
|
|
507
519
|
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
508
520
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
509
521
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
510
522
|
}
|
|
511
523
|
@media screen and (max-width: 640px){
|
|
512
524
|
& [data-rs-internal="collapse__collapse"] > [data-rs-internal='collapse__content']{
|
|
513
|
-
--_rs-typography-list-li-margin-top-from-text:16px;
|
|
525
|
+
--_rs-typography-text-1-sm-list-li-margin-top-from-text:16px;
|
|
514
526
|
}
|
|
515
527
|
}
|
|
516
528
|
}
|
package/lib/public-api.pcss
CHANGED
|
@@ -136,14 +136,17 @@
|
|
|
136
136
|
--_rs-typography-text-auto-offset:16px;
|
|
137
137
|
--_rs-typography-ul-list-li-padding-left:22px;
|
|
138
138
|
--_rs-typography-ol-list-li-padding-left:26px;
|
|
139
|
-
--_rs-typography-list-li-margin-top-from-text:
|
|
139
|
+
--_rs-typography-list-li-margin-top-from-text:var(
|
|
140
|
+
--_rs-typography-text-2-sm-list-li-margin-top-from-text,
|
|
141
|
+
16px
|
|
142
|
+
);
|
|
140
143
|
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
141
144
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
142
145
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
143
146
|
}
|
|
144
147
|
@media screen and (max-width: 640px){
|
|
145
148
|
&[class] > [data-rs-internal='collapse__content']{
|
|
146
|
-
--_rs-typography-list-li-margin-top-from-text:12px;
|
|
149
|
+
--_rs-typography-text-2-sm-list-li-margin-top-from-text:12px;
|
|
147
150
|
}
|
|
148
151
|
}
|
|
149
152
|
}
|
|
@@ -213,14 +216,17 @@
|
|
|
213
216
|
--_rs-typography-text-auto-offset:32px;
|
|
214
217
|
--_rs-typography-ul-list-li-padding-left:26px;
|
|
215
218
|
--_rs-typography-ol-list-li-padding-left:32px;
|
|
216
|
-
--_rs-typography-list-li-margin-top-from-text:
|
|
219
|
+
--_rs-typography-list-li-margin-top-from-text:var(
|
|
220
|
+
--_rs-typography-text-1-sm-list-li-margin-top-from-text,
|
|
221
|
+
24px
|
|
222
|
+
);
|
|
217
223
|
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
218
224
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
219
225
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
220
226
|
}
|
|
221
227
|
@media screen and (max-width: 640px){
|
|
222
228
|
&[class] > [data-rs-internal='collapse__content']{
|
|
223
|
-
--_rs-typography-list-li-margin-top-from-text:16px;
|
|
229
|
+
--_rs-typography-text-1-sm-list-li-margin-top-from-text:16px;
|
|
224
230
|
}
|
|
225
231
|
}
|
|
226
232
|
}
|
|
@@ -426,14 +432,17 @@
|
|
|
426
432
|
--_rs-typography-text-auto-offset:16px;
|
|
427
433
|
--_rs-typography-ul-list-li-padding-left:22px;
|
|
428
434
|
--_rs-typography-ol-list-li-padding-left:26px;
|
|
429
|
-
--_rs-typography-list-li-margin-top-from-text:
|
|
435
|
+
--_rs-typography-list-li-margin-top-from-text:var(
|
|
436
|
+
--_rs-typography-text-2-sm-list-li-margin-top-from-text,
|
|
437
|
+
16px
|
|
438
|
+
);
|
|
430
439
|
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
431
440
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
432
441
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
433
442
|
}
|
|
434
443
|
@media screen and (max-width: 640px){
|
|
435
444
|
& [data-rs-internal="collapse__collapse"] > [data-rs-internal='collapse__content']{
|
|
436
|
-
--_rs-typography-list-li-margin-top-from-text:12px;
|
|
445
|
+
--_rs-typography-text-2-sm-list-li-margin-top-from-text:12px;
|
|
437
446
|
}
|
|
438
447
|
}
|
|
439
448
|
}
|
|
@@ -503,14 +512,17 @@
|
|
|
503
512
|
--_rs-typography-text-auto-offset:32px;
|
|
504
513
|
--_rs-typography-ul-list-li-padding-left:26px;
|
|
505
514
|
--_rs-typography-ol-list-li-padding-left:32px;
|
|
506
|
-
--_rs-typography-list-li-margin-top-from-text:
|
|
515
|
+
--_rs-typography-list-li-margin-top-from-text:var(
|
|
516
|
+
--_rs-typography-text-1-sm-list-li-margin-top-from-text,
|
|
517
|
+
24px
|
|
518
|
+
);
|
|
507
519
|
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
508
520
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
509
521
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
510
522
|
}
|
|
511
523
|
@media screen and (max-width: 640px){
|
|
512
524
|
& [data-rs-internal="collapse__collapse"] > [data-rs-internal='collapse__content']{
|
|
513
|
-
--_rs-typography-list-li-margin-top-from-text:16px;
|
|
525
|
+
--_rs-typography-text-1-sm-list-li-margin-top-from-text:16px;
|
|
514
526
|
}
|
|
515
527
|
}
|
|
516
528
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rescui/collapse",
|
|
3
|
-
"version": "0.5.12-RUI-230-Update-icons-
|
|
3
|
+
"version": "0.5.12-RUI-230-Update-icons-1bfaa24e.31+1bfaa24e",
|
|
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/use-resize-observer": "0.2.6-RUI-230-Update-icons-
|
|
19
|
+
"@rescui/use-resize-observer": "0.2.6-RUI-230-Update-icons-1bfaa24e.55+1bfaa24e",
|
|
20
20
|
"classnames": "^2.2.6"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
"react": ">=16.8.0 <19"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@rescui/colors": "0.2.7-RUI-230-Update-icons-
|
|
28
|
+
"@rescui/colors": "0.2.7-RUI-230-Update-icons-1bfaa24e.55+1bfaa24e",
|
|
29
29
|
"@rescui/scripts": "0.3.5",
|
|
30
|
-
"@rescui/typography": "0.21.1-RUI-230-Update-icons-
|
|
30
|
+
"@rescui/typography": "0.21.1-RUI-230-Update-icons-1bfaa24e.31+1bfaa24e",
|
|
31
31
|
"@rescui/visual-regression": "0.1.2",
|
|
32
32
|
"@types/classnames": "^2.2.11"
|
|
33
33
|
},
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
"build-pcss-api": "rescui-scripts build-pcss-api --file public-api.p.css"
|
|
37
37
|
},
|
|
38
38
|
"nx": {},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "1bfaa24e81b1a94b625304e660d29d1b3eb3d71d"
|
|
40
40
|
}
|