@rescui/collapse 0.5.1-RUI-201-Support-css-modules-in-typography-6efea65f.18 → 0.5.2-RUI-198-Support-different-hardness-for-headings-in-mixins-api-48b1e9e1.18
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/add-outline.js +37 -0
- package/lib/_virtual/index.css.js +10 -0
- package/lib/_virtual/right.js +37 -0
- package/lib/collapse.js +2 -1
- package/lib/collapse.p.module.css.js +32 -32
- package/lib/index.css +140 -61
- package/lib/public-api.p.css +24 -6
- package/lib/public-api.pcss +24 -6
- package/package.json +6 -7
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import _extends from '@babel/runtime-corejs3/helpers/esm/extends';
|
|
2
|
+
import _objectWithoutProperties from '@babel/runtime-corejs3/helpers/esm/objectWithoutProperties';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import PropTypes from 'prop-types';
|
|
5
|
+
import cn from 'classnames';
|
|
6
|
+
import styles from './index.css.js';
|
|
7
|
+
var _excluded = ["theme", "size", "className"];
|
|
8
|
+
var sizeStyles = {
|
|
9
|
+
"xs": styles.sizeXS,
|
|
10
|
+
"s": styles.sizeS,
|
|
11
|
+
"m": styles.sizeM,
|
|
12
|
+
"l": styles.sizeL
|
|
13
|
+
};
|
|
14
|
+
var AddOutlineIcon = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
15
|
+
var theme = _ref.theme,
|
|
16
|
+
size = _ref.size,
|
|
17
|
+
className = _ref.className,
|
|
18
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
19
|
+
|
|
20
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
21
|
+
viewBox: "0 0 24 24"
|
|
22
|
+
}, props, {
|
|
23
|
+
className: cn(styles.icon, styles[theme], sizeStyles[size], className),
|
|
24
|
+
ref: ref
|
|
25
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
26
|
+
d: "M12.997 3h-2v8H3v2h7.997v8h2v-8H21v-2h-8.003V3z"
|
|
27
|
+
}));
|
|
28
|
+
});
|
|
29
|
+
AddOutlineIcon.propTypes = {
|
|
30
|
+
className: PropTypes.string,
|
|
31
|
+
theme: PropTypes.oneOf(["light", "dark"]),
|
|
32
|
+
size: PropTypes.oneOf(["xs", "s", "m", "l"])
|
|
33
|
+
};
|
|
34
|
+
AddOutlineIcon.defaultProps = {
|
|
35
|
+
size: "m"
|
|
36
|
+
};
|
|
37
|
+
export { AddOutlineIcon as default };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
var styles = {
|
|
2
|
+
"icon": "_icon_9r22zb_4",
|
|
3
|
+
"sizeXS": "_sizeXS_9r22zb_14",
|
|
4
|
+
"sizeS": "_sizeS_9r22zb_18",
|
|
5
|
+
"sizeM": "_sizeM_9r22zb_22",
|
|
6
|
+
"sizeL": "_sizeL_9r22zb_26",
|
|
7
|
+
"light": "_light_9r22zb_30",
|
|
8
|
+
"dark": "_dark_9r22zb_34"
|
|
9
|
+
};
|
|
10
|
+
export { styles as default };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import _extends from '@babel/runtime-corejs3/helpers/esm/extends';
|
|
2
|
+
import _objectWithoutProperties from '@babel/runtime-corejs3/helpers/esm/objectWithoutProperties';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import PropTypes from 'prop-types';
|
|
5
|
+
import cn from 'classnames';
|
|
6
|
+
import styles from './index.css.js';
|
|
7
|
+
var _excluded = ["theme", "size", "className"];
|
|
8
|
+
var sizeStyles = {
|
|
9
|
+
"xs": styles.sizeXS,
|
|
10
|
+
"s": styles.sizeS,
|
|
11
|
+
"m": styles.sizeM,
|
|
12
|
+
"l": styles.sizeL
|
|
13
|
+
};
|
|
14
|
+
var RightIcon = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
15
|
+
var theme = _ref.theme,
|
|
16
|
+
size = _ref.size,
|
|
17
|
+
className = _ref.className,
|
|
18
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
19
|
+
|
|
20
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
21
|
+
viewBox: "0 0 24 24"
|
|
22
|
+
}, props, {
|
|
23
|
+
className: cn(styles.icon, styles[theme], sizeStyles[size], className),
|
|
24
|
+
ref: ref
|
|
25
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
26
|
+
d: "M9.004 19l8-7-8-7v14z"
|
|
27
|
+
}));
|
|
28
|
+
});
|
|
29
|
+
RightIcon.propTypes = {
|
|
30
|
+
className: PropTypes.string,
|
|
31
|
+
theme: PropTypes.oneOf(["light", "dark"]),
|
|
32
|
+
size: PropTypes.oneOf(["xs", "s", "m", "l"])
|
|
33
|
+
};
|
|
34
|
+
RightIcon.defaultProps = {
|
|
35
|
+
size: "m"
|
|
36
|
+
};
|
|
37
|
+
export { RightIcon as default };
|
package/lib/collapse.js
CHANGED
|
@@ -18,9 +18,10 @@ import "core-js/modules/web.dom-collections.for-each.js";
|
|
|
18
18
|
import React, { useRef, useContext, useState, useEffect } from 'react';
|
|
19
19
|
import cn from 'classnames';
|
|
20
20
|
import PropTypes from 'prop-types';
|
|
21
|
-
import { RightIcon, AddOutlineIcon } from '@rescui/icons';
|
|
22
21
|
import { useThemeWithUndefined, ThemeProvider } from '@rescui/ui-contexts';
|
|
23
22
|
import { useResizeObserver } from '@rescui/use-resize-observer';
|
|
23
|
+
import RightIcon from './_virtual/right.js';
|
|
24
|
+
import AddOutlineIcon from './_virtual/add-outline.js';
|
|
24
25
|
import { collapseContext } from './context.js';
|
|
25
26
|
import { useCollapseState, COLLAPSE_STATES, useStartedClosing } from './use-collapse-state.js';
|
|
26
27
|
import styles from './collapse.p.module.css.js';
|
|
@@ -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_1codb61_6",
|
|
3
|
+
"themeDark": "_themeDark_1codb61_9",
|
|
4
|
+
"sizeS": "_sizeS_1codb61_13",
|
|
5
|
+
"sizeM": "_sizeM_1codb61_16",
|
|
6
|
+
"sizeL": "_sizeL_1codb61_19",
|
|
7
|
+
"classic": "_classic_1codb61_23",
|
|
8
|
+
"rock": "_rock_1codb61_26",
|
|
9
|
+
"clear": "_clear_1codb61_29",
|
|
10
|
+
"hasBorderBottom": "_hasBorderBottom_1codb61_33",
|
|
11
|
+
"leftIcon": "_leftIcon_1codb61_37",
|
|
12
|
+
"rightIcon": "_rightIcon_1codb61_40",
|
|
13
|
+
"disableLeftPadding": "_disableLeftPadding_1codb61_44",
|
|
14
|
+
"main": "_main_1codb61_48",
|
|
15
|
+
"opening": "_opening_1codb61_59",
|
|
16
|
+
"opened": "_opened_1codb61_60",
|
|
17
|
+
"closing": "_closing_1codb61_61",
|
|
18
|
+
"title": "_title_1codb61_95",
|
|
19
|
+
"content": "_content_1codb61_103",
|
|
20
|
+
"closed": "_closed_1codb61_111",
|
|
21
|
+
"closingTransition": "_closingTransition_1codb61_120",
|
|
22
|
+
"innerWrapper": "_innerWrapper_1codb61_127",
|
|
23
|
+
"button": "_button_1codb61_133",
|
|
24
|
+
"icon": "_icon_1codb61_186",
|
|
25
|
+
"iconPlus": "_iconPlus_1codb61_202",
|
|
26
|
+
"iconArrow": "_iconArrow_1codb61_207",
|
|
27
|
+
"accordion": "_accordion_1codb61_213",
|
|
28
|
+
"accordionGap0": "_accordionGap0_1codb61_218",
|
|
29
|
+
"accordionGap8": "_accordionGap8_1codb61_221",
|
|
30
|
+
"accordionGap12": "_accordionGap12_1codb61_224",
|
|
31
|
+
"accordionGap16": "_accordionGap16_1codb61_227",
|
|
32
|
+
"accordionGap24": "_accordionGap24_1codb61_230",
|
|
33
|
+
"accordionGap32": "_accordionGap32_1codb61_233"
|
|
34
34
|
};
|
|
35
35
|
export { styles as default };
|
package/lib/index.css
CHANGED
|
@@ -1,15 +1,89 @@
|
|
|
1
|
-
.
|
|
1
|
+
._icon_9r22zb_4{
|
|
2
|
+
--_rs-theme-dark:var(
|
|
3
|
+
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
4
|
+
var(--rs-theme-dark, 0)
|
|
5
|
+
);
|
|
6
|
+
--_rs-theme-flip:var(--rs-theme-flip, 0);
|
|
7
|
+
--_rs-theme-dark-coefficient:calc(var(--_rs-theme-dark)*(1 - var(--_rs-theme-flip)) + var(--_rs-theme-flip)*(1 - var(--_rs-theme-dark)));
|
|
8
|
+
--_rs-theme-light-coefficient:calc(1 - var(--_rs-theme-dark-coefficient));
|
|
9
|
+
}
|
|
10
|
+
@supports (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
11
|
+
._icon_9r22zb_4{
|
|
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
|
+
--_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
|
+
--_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)));
|
|
15
|
+
--_rs-color-primary-t-dim:color-mix(in srgb, var(--rs-color-primary-t-dim-light-theme, rgba(107, 87, 255, 0.8)) calc(100%*var(--_rs-theme-light-coefficient, 1)), var(--rs-color-primary-t-dim-dark-theme, rgba(132, 115, 255,0.8)) calc(100%*var(--_rs-theme-dark-coefficient, 0)));
|
|
16
|
+
--_rs-color-primary-t-fog:color-mix(in srgb, var(--rs-color-primary-t-fog-light-theme, rgba(107, 87, 255,0.2)) calc(100%*var(--_rs-theme-light-coefficient, 1)), var(--rs-color-primary-t-fog-dark-theme, rgba(132, 115, 255,0.3)) calc(100%*var(--_rs-theme-dark-coefficient, 0)));
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
@supports not (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
20
|
+
._icon_9r22zb_4{
|
|
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
|
+
--_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
|
+
--_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));
|
|
24
|
+
--_rs-color-primary-t-dim: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, 0.8);
|
|
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
|
+
}
|
|
27
|
+
}
|
|
28
|
+
._icon_9r22zb_4{
|
|
29
|
+
|
|
30
|
+
fill:var(--_rs-icons-themed-fill-or-initial, currentcolor);
|
|
31
|
+
|
|
32
|
+
width:auto;
|
|
33
|
+
height:var(--_rs-icons-height);
|
|
34
|
+
}
|
|
35
|
+
._sizeXS_9r22zb_14{
|
|
36
|
+
--_rs-icons-height:16px;
|
|
37
|
+
}
|
|
38
|
+
._sizeS_9r22zb_18{
|
|
39
|
+
--_rs-icons-height:20px;
|
|
40
|
+
}
|
|
41
|
+
._sizeM_9r22zb_22{
|
|
42
|
+
--_rs-icons-height:24px;
|
|
43
|
+
}
|
|
44
|
+
._sizeL_9r22zb_26{
|
|
45
|
+
--_rs-icons-height:28px;
|
|
46
|
+
}
|
|
47
|
+
._light_9r22zb_30{
|
|
48
|
+
--rs-theme-dark:0;
|
|
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
|
+
}
|
|
51
|
+
._dark_9r22zb_34{
|
|
52
|
+
--rs-theme-dark:1;
|
|
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
|
+
}
|
|
55
|
+
@-webkit-keyframes rs-icon-rotate{
|
|
56
|
+
from{
|
|
57
|
+
-webkit-transform:rotate(0deg);
|
|
58
|
+
transform:rotate(0deg);
|
|
59
|
+
}
|
|
60
|
+
to{
|
|
61
|
+
-webkit-transform:rotate(360deg);
|
|
62
|
+
transform:rotate(360deg);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
@keyframes rs-icon-rotate{
|
|
66
|
+
from{
|
|
67
|
+
-webkit-transform:rotate(0deg);
|
|
68
|
+
transform:rotate(0deg);
|
|
69
|
+
}
|
|
70
|
+
to{
|
|
71
|
+
-webkit-transform:rotate(360deg);
|
|
72
|
+
transform:rotate(360deg);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
._themeLight_1codb61_6{
|
|
2
76
|
--rs-theme-dark:0;
|
|
3
77
|
}
|
|
4
|
-
.
|
|
78
|
+
._themeDark_1codb61_9{
|
|
5
79
|
--rs-theme-dark:1;
|
|
6
80
|
}
|
|
7
|
-
.
|
|
81
|
+
._sizeS_1codb61_13{
|
|
8
82
|
--_rs-collapse-vertical-padding:6px;
|
|
9
83
|
--_rs-collapse-horizontal-padding:8px;
|
|
10
84
|
--_rs-collapse-icon-size:20px;
|
|
11
85
|
}
|
|
12
|
-
.
|
|
86
|
+
._sizeS_1codb61_13 > [data-rs-internal='collapse__button'] > [data-rs-internal='collapse__title']{
|
|
13
87
|
--_rs-typography-letter-spacing:normal;
|
|
14
88
|
--_rs-typography-text-transform:initial;
|
|
15
89
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -26,9 +100,12 @@
|
|
|
26
100
|
);
|
|
27
101
|
--_rs-typography-line-height:var(--rs-h5-line-height, 20px);
|
|
28
102
|
--_rs-typography-base-color:var(
|
|
103
|
+
--_rs-typography-heading-hardness-color,
|
|
104
|
+
var(
|
|
29
105
|
--rs-color-hard,
|
|
30
106
|
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))
|
|
31
|
-
)
|
|
107
|
+
)
|
|
108
|
+
);
|
|
32
109
|
--_rs-typography-text-auto-offset:0;
|
|
33
110
|
--_rs-typography-ul-list-li-padding-left:initial;
|
|
34
111
|
--_rs-typography-ol-list-li-padding-left:initial;
|
|
@@ -37,7 +114,7 @@
|
|
|
37
114
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
38
115
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
39
116
|
}
|
|
40
|
-
.
|
|
117
|
+
._sizeS_1codb61_13 > [data-rs-internal='collapse__content']{
|
|
41
118
|
--_rs-typography-letter-spacing:0.0045em;
|
|
42
119
|
--_rs-typography-text-transform:initial;
|
|
43
120
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -71,12 +148,12 @@
|
|
|
71
148
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
72
149
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
73
150
|
}
|
|
74
|
-
.
|
|
151
|
+
._sizeM_1codb61_16{
|
|
75
152
|
--_rs-collapse-vertical-padding:8px;
|
|
76
153
|
--_rs-collapse-horizontal-padding:8px;
|
|
77
154
|
--_rs-collapse-icon-size:24px;
|
|
78
155
|
}
|
|
79
|
-
.
|
|
156
|
+
._sizeM_1codb61_16 > [data-rs-internal='collapse__button'] > [data-rs-internal='collapse__title']{
|
|
80
157
|
--_rs-typography-letter-spacing:normal;
|
|
81
158
|
--_rs-typography-text-transform:initial;
|
|
82
159
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -93,9 +170,12 @@
|
|
|
93
170
|
);
|
|
94
171
|
--_rs-typography-line-height:var(--rs-h4-line-height, 24px);
|
|
95
172
|
--_rs-typography-base-color:var(
|
|
173
|
+
--_rs-typography-heading-hardness-color,
|
|
174
|
+
var(
|
|
96
175
|
--rs-color-hard,
|
|
97
176
|
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))
|
|
98
|
-
)
|
|
177
|
+
)
|
|
178
|
+
);
|
|
99
179
|
--_rs-typography-text-auto-offset:0;
|
|
100
180
|
--_rs-typography-ul-list-li-padding-left:initial;
|
|
101
181
|
--_rs-typography-ol-list-li-padding-left:initial;
|
|
@@ -104,7 +184,7 @@
|
|
|
104
184
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
105
185
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
106
186
|
}
|
|
107
|
-
.
|
|
187
|
+
._sizeM_1codb61_16 > [data-rs-internal='collapse__content']{
|
|
108
188
|
--_rs-typography-letter-spacing:0.0015em;
|
|
109
189
|
--_rs-typography-text-transform:initial;
|
|
110
190
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -139,16 +219,16 @@
|
|
|
139
219
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
140
220
|
}
|
|
141
221
|
@media screen and (max-width: 640px){
|
|
142
|
-
.
|
|
222
|
+
._sizeM_1codb61_16 > [data-rs-internal='collapse__content']{
|
|
143
223
|
--_rs-typography-list-li-margin-top-from-text:12px;
|
|
144
224
|
}
|
|
145
225
|
}
|
|
146
|
-
.
|
|
226
|
+
._sizeL_1codb61_19{
|
|
147
227
|
--_rs-collapse-vertical-padding:12px;
|
|
148
228
|
--_rs-collapse-horizontal-padding:16px;
|
|
149
229
|
--_rs-collapse-icon-size:28px;
|
|
150
230
|
}
|
|
151
|
-
.
|
|
231
|
+
._sizeL_1codb61_19 > [data-rs-internal='collapse__button'] > [data-rs-internal='collapse__title']{
|
|
152
232
|
--_rs-typography-letter-spacing:normal;
|
|
153
233
|
--_rs-typography-text-transform:initial;
|
|
154
234
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -165,9 +245,12 @@
|
|
|
165
245
|
);
|
|
166
246
|
--_rs-typography-line-height:var(--rs-h3-line-height, 28px);
|
|
167
247
|
--_rs-typography-base-color:var(
|
|
248
|
+
--_rs-typography-heading-hardness-color,
|
|
249
|
+
var(
|
|
168
250
|
--rs-color-hard,
|
|
169
251
|
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))
|
|
170
|
-
)
|
|
252
|
+
)
|
|
253
|
+
);
|
|
171
254
|
--_rs-typography-text-auto-offset:0;
|
|
172
255
|
--_rs-typography-ul-list-li-padding-left:initial;
|
|
173
256
|
--_rs-typography-ol-list-li-padding-left:initial;
|
|
@@ -176,7 +259,7 @@
|
|
|
176
259
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
177
260
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
178
261
|
}
|
|
179
|
-
.
|
|
262
|
+
._sizeL_1codb61_19 > [data-rs-internal='collapse__content']{
|
|
180
263
|
--_rs-typography-letter-spacing:normal;
|
|
181
264
|
--_rs-typography-text-transform:initial;
|
|
182
265
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -211,11 +294,11 @@
|
|
|
211
294
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
212
295
|
}
|
|
213
296
|
@media screen and (max-width: 640px){
|
|
214
|
-
.
|
|
297
|
+
._sizeL_1codb61_19 > [data-rs-internal='collapse__content']{
|
|
215
298
|
--_rs-typography-list-li-margin-top-from-text:16px;
|
|
216
299
|
}
|
|
217
300
|
}
|
|
218
|
-
.
|
|
301
|
+
._classic_1codb61_23{
|
|
219
302
|
--_rs-collapse-active-theme-flip:0;
|
|
220
303
|
--_rs-collapse-active-background:rgba(
|
|
221
304
|
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),
|
|
@@ -229,7 +312,7 @@
|
|
|
229
312
|
);
|
|
230
313
|
--_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);
|
|
231
314
|
}
|
|
232
|
-
.
|
|
315
|
+
._rock_1codb61_26{
|
|
233
316
|
--_rs-collapse-active-theme-flip:1;
|
|
234
317
|
--_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));
|
|
235
318
|
--_rs-collapse-active-border-bottom-to-padding-multiplier:1;
|
|
@@ -240,7 +323,7 @@
|
|
|
240
323
|
);
|
|
241
324
|
--_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);
|
|
242
325
|
}
|
|
243
|
-
.
|
|
326
|
+
._clear_1codb61_29{
|
|
244
327
|
--_rs-collapse-active-theme-flip:0;
|
|
245
328
|
--_rs-collapse-active-background:transparent;
|
|
246
329
|
--_rs-collapse-active-border-bottom-to-padding-multiplier:0;
|
|
@@ -251,27 +334,27 @@
|
|
|
251
334
|
0.7
|
|
252
335
|
);
|
|
253
336
|
}
|
|
254
|
-
.
|
|
337
|
+
._hasBorderBottom_1codb61_33{
|
|
255
338
|
--_rs-collapse-border-bottom-width-or-initial:1px;
|
|
256
339
|
}
|
|
257
|
-
.
|
|
340
|
+
._leftIcon_1codb61_37{
|
|
258
341
|
--_rs-collapse-button-flex-direction:row;
|
|
259
342
|
--_rs-collapse-icon-margin:0 var(--_rs-collapse-horizontal-padding) 0 0;
|
|
260
343
|
--_rs-collapse-inner-wrapper-padding-left-base:calc(var(--_rs-collapse-horizontal-padding)*2 + var(--_rs-collapse-icon-size));
|
|
261
344
|
}
|
|
262
|
-
.
|
|
345
|
+
._rightIcon_1codb61_40{
|
|
263
346
|
--_rs-collapse-button-flex-direction:row-reverse;
|
|
264
347
|
--_rs-collapse-icon-margin:0 0 0 var(--_rs-collapse-horizontal-padding);
|
|
265
348
|
--_rs-collapse-inner-wrapper-padding-left-base:var(
|
|
266
349
|
--_rs-collapse-horizontal-padding
|
|
267
350
|
);
|
|
268
351
|
}
|
|
269
|
-
.
|
|
352
|
+
._disableLeftPadding_1codb61_44{
|
|
270
353
|
--_rs-collapse-inner-wrapper-padding-left-from-disable-left-padding-or-initial:var(
|
|
271
354
|
--_rs-collapse-horizontal-padding
|
|
272
355
|
);
|
|
273
356
|
}
|
|
274
|
-
.
|
|
357
|
+
._main_1codb61_48{
|
|
275
358
|
--_rs-theme-dark:var(
|
|
276
359
|
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
277
360
|
var(--rs-theme-dark, 0)
|
|
@@ -281,7 +364,7 @@
|
|
|
281
364
|
--_rs-theme-light-coefficient:calc(1 - var(--_rs-theme-dark-coefficient));
|
|
282
365
|
}
|
|
283
366
|
@supports (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
284
|
-
.
|
|
367
|
+
._main_1codb61_48{
|
|
285
368
|
--_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)));
|
|
286
369
|
--_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)));
|
|
287
370
|
--_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)));
|
|
@@ -290,7 +373,7 @@
|
|
|
290
373
|
}
|
|
291
374
|
}
|
|
292
375
|
@supports not (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
293
|
-
.
|
|
376
|
+
._main_1codb61_48{
|
|
294
377
|
--_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);
|
|
295
378
|
--_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));
|
|
296
379
|
--_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));
|
|
@@ -298,7 +381,7 @@
|
|
|
298
381
|
--_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));
|
|
299
382
|
}
|
|
300
383
|
}
|
|
301
|
-
.
|
|
384
|
+
._main_1codb61_48 {
|
|
302
385
|
--_rs-collapse-border-bottom-width:var(
|
|
303
386
|
--_rs-collapse-border-bottom-width-or-initial,
|
|
304
387
|
0px
|
|
@@ -313,9 +396,9 @@
|
|
|
313
396
|
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);
|
|
314
397
|
border-radius:var(--rs-collapse-border-radius, 0px);
|
|
315
398
|
}
|
|
316
|
-
.
|
|
317
|
-
.
|
|
318
|
-
.
|
|
399
|
+
._main_1codb61_48._opening_1codb61_59,
|
|
400
|
+
._main_1codb61_48._opened_1codb61_60,
|
|
401
|
+
._main_1codb61_48._closing_1codb61_61{
|
|
319
402
|
--rs-theme-flip:var(--_rs-collapse-active-theme-flip);
|
|
320
403
|
|
|
321
404
|
padding-bottom:calc(var(--_rs-collapse-border-bottom-width)*var(--_rs-collapse-active-border-bottom-to-padding-multiplier));
|
|
@@ -325,7 +408,7 @@
|
|
|
325
408
|
background:var(--_rs-collapse-active-background);
|
|
326
409
|
}
|
|
327
410
|
@media (hover: hover){
|
|
328
|
-
.
|
|
411
|
+
._main_1codb61_48:hover{
|
|
329
412
|
--rs-theme-flip:var(--_rs-collapse-active-theme-flip);
|
|
330
413
|
|
|
331
414
|
padding-bottom:calc(var(--_rs-collapse-border-bottom-width)*var(--_rs-collapse-active-border-bottom-to-padding-multiplier));
|
|
@@ -335,7 +418,7 @@
|
|
|
335
418
|
background:var(--_rs-collapse-active-background);
|
|
336
419
|
}
|
|
337
420
|
}
|
|
338
|
-
.
|
|
421
|
+
._title_1codb61_95{
|
|
339
422
|
letter-spacing:var(
|
|
340
423
|
--rs-text-base-letter-spacing,
|
|
341
424
|
var(--_rs-typography-letter-spacing)
|
|
@@ -357,7 +440,7 @@
|
|
|
357
440
|
|
|
358
441
|
color:inherit;
|
|
359
442
|
}
|
|
360
|
-
.
|
|
443
|
+
._content_1codb61_103{
|
|
361
444
|
letter-spacing:var(
|
|
362
445
|
--rs-text-base-letter-spacing,
|
|
363
446
|
var(--_rs-typography-letter-spacing)
|
|
@@ -370,7 +453,7 @@
|
|
|
370
453
|
font-variant-numeric:var(--_rs-typography-font-variant-numeric);
|
|
371
454
|
-webkit-font-feature-settings:'kern', 'liga', 'calt';
|
|
372
455
|
font-feature-settings:'kern', 'liga', 'calt';
|
|
373
|
-
|
|
456
|
+
color:var(
|
|
374
457
|
--rs-color-hard,
|
|
375
458
|
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))
|
|
376
459
|
);
|
|
@@ -378,28 +461,26 @@
|
|
|
378
461
|
will-change:height;
|
|
379
462
|
|
|
380
463
|
height:0;
|
|
381
|
-
|
|
382
|
-
color:var(--_rs-typography-hardness-color);
|
|
383
464
|
}
|
|
384
|
-
.
|
|
465
|
+
._closed_1codb61_111 > ._content_1codb61_103{
|
|
385
466
|
display:none;
|
|
386
467
|
}
|
|
387
|
-
.
|
|
468
|
+
._opened_1codb61_60 > ._content_1codb61_103{
|
|
388
469
|
height:initial;
|
|
389
470
|
}
|
|
390
|
-
.
|
|
391
|
-
.
|
|
471
|
+
._opening_1codb61_59 > ._content_1codb61_103,
|
|
472
|
+
._closingTransition_1codb61_120 > ._content_1codb61_103{
|
|
392
473
|
overflow:hidden;
|
|
393
474
|
|
|
394
475
|
-webkit-transition:height 300ms;
|
|
395
476
|
|
|
396
477
|
transition:height 300ms;
|
|
397
478
|
}
|
|
398
|
-
.
|
|
479
|
+
._innerWrapper_1codb61_127{
|
|
399
480
|
padding:0 var(--_rs-collapse-horizontal-padding) var(--_rs-collapse-horizontal-padding) var(--_rs-collapse-inner-wrapper-padding-left);
|
|
400
481
|
}
|
|
401
|
-
.
|
|
402
|
-
|
|
482
|
+
._button_1codb61_133{
|
|
483
|
+
color:var(
|
|
403
484
|
--rs-color-hard,
|
|
404
485
|
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))
|
|
405
486
|
);
|
|
@@ -431,8 +512,6 @@
|
|
|
431
512
|
cursor:pointer;
|
|
432
513
|
text-align:left;
|
|
433
514
|
|
|
434
|
-
color:var(--_rs-typography-hardness-color);
|
|
435
|
-
|
|
436
515
|
background:transparent;
|
|
437
516
|
|
|
438
517
|
font:inherit;
|
|
@@ -443,25 +522,25 @@
|
|
|
443
522
|
-moz-osx-font-smoothing:inherit;
|
|
444
523
|
-webkit-appearance:none;
|
|
445
524
|
}
|
|
446
|
-
.
|
|
525
|
+
._button_1codb61_133::-moz-focus-inner{
|
|
447
526
|
padding:0;
|
|
448
527
|
|
|
449
528
|
border:0;
|
|
450
529
|
}
|
|
451
|
-
.
|
|
530
|
+
._button_1codb61_133:focus{
|
|
452
531
|
outline:none;
|
|
453
532
|
}
|
|
454
|
-
.
|
|
533
|
+
._button_1codb61_133:focus[data-focus-method='key']{
|
|
455
534
|
-webkit-box-shadow:var(--_rs-color-primary-t-dim) 0 0 0 4px;
|
|
456
535
|
box-shadow:var(--_rs-color-primary-t-dim) 0 0 0 4px;
|
|
457
536
|
}
|
|
458
537
|
@media (hover: hover){
|
|
459
|
-
.
|
|
538
|
+
._button_1codb61_133:hover{
|
|
460
539
|
color:var(--_rs-collapse-button-hover-color);
|
|
461
540
|
background:var(--_rs-collapse-button-hover-background);
|
|
462
541
|
}
|
|
463
542
|
}
|
|
464
|
-
.
|
|
543
|
+
._icon_1codb61_186{
|
|
465
544
|
position:relative;
|
|
466
545
|
top:0;
|
|
467
546
|
left:0;
|
|
@@ -488,17 +567,17 @@
|
|
|
488
567
|
|
|
489
568
|
will-change:transform;
|
|
490
569
|
}
|
|
491
|
-
.
|
|
492
|
-
.
|
|
570
|
+
._opening_1codb61_59._iconPlus_1codb61_202 > ._button_1codb61_133 > ._icon_1codb61_186,
|
|
571
|
+
._opened_1codb61_60._iconPlus_1codb61_202 > ._button_1codb61_133 > ._icon_1codb61_186{
|
|
493
572
|
-webkit-transform:rotate(45deg);
|
|
494
573
|
transform:rotate(45deg);
|
|
495
574
|
}
|
|
496
|
-
.
|
|
497
|
-
.
|
|
575
|
+
._opening_1codb61_59._iconArrow_1codb61_207 > ._button_1codb61_133 > ._icon_1codb61_186,
|
|
576
|
+
._opened_1codb61_60._iconArrow_1codb61_207 > ._button_1codb61_133 > ._icon_1codb61_186{
|
|
498
577
|
-webkit-transform:rotate(90deg);
|
|
499
578
|
transform:rotate(90deg);
|
|
500
579
|
}
|
|
501
|
-
.
|
|
580
|
+
._accordion_1codb61_213{
|
|
502
581
|
display:-webkit-box;
|
|
503
582
|
display:-ms-flexbox;
|
|
504
583
|
display:flex;
|
|
@@ -508,21 +587,21 @@
|
|
|
508
587
|
flex-direction:column;
|
|
509
588
|
row-gap:var(--_rs-collapse-accordion-gap);
|
|
510
589
|
}
|
|
511
|
-
.
|
|
590
|
+
._accordionGap0_1codb61_218{
|
|
512
591
|
--_rs-collapse-accordion-gap:0px;
|
|
513
592
|
}
|
|
514
|
-
.
|
|
593
|
+
._accordionGap8_1codb61_221{
|
|
515
594
|
--_rs-collapse-accordion-gap:8px;
|
|
516
595
|
}
|
|
517
|
-
.
|
|
596
|
+
._accordionGap12_1codb61_224{
|
|
518
597
|
--_rs-collapse-accordion-gap:12px;
|
|
519
598
|
}
|
|
520
|
-
.
|
|
599
|
+
._accordionGap16_1codb61_227{
|
|
521
600
|
--_rs-collapse-accordion-gap:16px;
|
|
522
601
|
}
|
|
523
|
-
.
|
|
602
|
+
._accordionGap24_1codb61_230{
|
|
524
603
|
--_rs-collapse-accordion-gap:24px;
|
|
525
604
|
}
|
|
526
|
-
.
|
|
605
|
+
._accordionGap32_1codb61_233{
|
|
527
606
|
--_rs-collapse-accordion-gap:32px;
|
|
528
607
|
}
|
package/lib/public-api.p.css
CHANGED
|
@@ -21,9 +21,12 @@
|
|
|
21
21
|
);
|
|
22
22
|
--_rs-typography-line-height:var(--rs-h5-line-height, 20px);
|
|
23
23
|
--_rs-typography-base-color:var(
|
|
24
|
+
--_rs-typography-heading-hardness-color,
|
|
25
|
+
var(
|
|
24
26
|
--rs-color-hard,
|
|
25
27
|
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))
|
|
26
|
-
)
|
|
28
|
+
)
|
|
29
|
+
);
|
|
27
30
|
--_rs-typography-text-auto-offset:0;
|
|
28
31
|
--_rs-typography-ul-list-li-padding-left:initial;
|
|
29
32
|
--_rs-typography-ol-list-li-padding-left:initial;
|
|
@@ -90,9 +93,12 @@
|
|
|
90
93
|
);
|
|
91
94
|
--_rs-typography-line-height:var(--rs-h4-line-height, 24px);
|
|
92
95
|
--_rs-typography-base-color:var(
|
|
96
|
+
--_rs-typography-heading-hardness-color,
|
|
97
|
+
var(
|
|
93
98
|
--rs-color-hard,
|
|
94
99
|
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))
|
|
95
|
-
)
|
|
100
|
+
)
|
|
101
|
+
);
|
|
96
102
|
--_rs-typography-text-auto-offset:0;
|
|
97
103
|
--_rs-typography-ul-list-li-padding-left:initial;
|
|
98
104
|
--_rs-typography-ol-list-li-padding-left:initial;
|
|
@@ -164,9 +170,12 @@
|
|
|
164
170
|
);
|
|
165
171
|
--_rs-typography-line-height:var(--rs-h3-line-height, 28px);
|
|
166
172
|
--_rs-typography-base-color:var(
|
|
173
|
+
--_rs-typography-heading-hardness-color,
|
|
174
|
+
var(
|
|
167
175
|
--rs-color-hard,
|
|
168
176
|
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))
|
|
169
|
-
)
|
|
177
|
+
)
|
|
178
|
+
);
|
|
170
179
|
--_rs-typography-text-auto-offset:0;
|
|
171
180
|
--_rs-typography-ul-list-li-padding-left:initial;
|
|
172
181
|
--_rs-typography-ol-list-li-padding-left:initial;
|
|
@@ -302,9 +311,12 @@
|
|
|
302
311
|
);
|
|
303
312
|
--_rs-typography-line-height:var(--rs-h5-line-height, 20px);
|
|
304
313
|
--_rs-typography-base-color:var(
|
|
314
|
+
--_rs-typography-heading-hardness-color,
|
|
315
|
+
var(
|
|
305
316
|
--rs-color-hard,
|
|
306
317
|
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))
|
|
307
|
-
)
|
|
318
|
+
)
|
|
319
|
+
);
|
|
308
320
|
--_rs-typography-text-auto-offset:0;
|
|
309
321
|
--_rs-typography-ul-list-li-padding-left:initial;
|
|
310
322
|
--_rs-typography-ol-list-li-padding-left:initial;
|
|
@@ -371,9 +383,12 @@
|
|
|
371
383
|
);
|
|
372
384
|
--_rs-typography-line-height:var(--rs-h4-line-height, 24px);
|
|
373
385
|
--_rs-typography-base-color:var(
|
|
386
|
+
--_rs-typography-heading-hardness-color,
|
|
387
|
+
var(
|
|
374
388
|
--rs-color-hard,
|
|
375
389
|
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))
|
|
376
|
-
)
|
|
390
|
+
)
|
|
391
|
+
);
|
|
377
392
|
--_rs-typography-text-auto-offset:0;
|
|
378
393
|
--_rs-typography-ul-list-li-padding-left:initial;
|
|
379
394
|
--_rs-typography-ol-list-li-padding-left:initial;
|
|
@@ -445,9 +460,12 @@
|
|
|
445
460
|
);
|
|
446
461
|
--_rs-typography-line-height:var(--rs-h3-line-height, 28px);
|
|
447
462
|
--_rs-typography-base-color:var(
|
|
463
|
+
--_rs-typography-heading-hardness-color,
|
|
464
|
+
var(
|
|
448
465
|
--rs-color-hard,
|
|
449
466
|
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))
|
|
450
|
-
)
|
|
467
|
+
)
|
|
468
|
+
);
|
|
451
469
|
--_rs-typography-text-auto-offset:0;
|
|
452
470
|
--_rs-typography-ul-list-li-padding-left:initial;
|
|
453
471
|
--_rs-typography-ol-list-li-padding-left:initial;
|
package/lib/public-api.pcss
CHANGED
|
@@ -21,9 +21,12 @@
|
|
|
21
21
|
);
|
|
22
22
|
--_rs-typography-line-height:var(--rs-h5-line-height, 20px);
|
|
23
23
|
--_rs-typography-base-color:var(
|
|
24
|
+
--_rs-typography-heading-hardness-color,
|
|
25
|
+
var(
|
|
24
26
|
--rs-color-hard,
|
|
25
27
|
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))
|
|
26
|
-
)
|
|
28
|
+
)
|
|
29
|
+
);
|
|
27
30
|
--_rs-typography-text-auto-offset:0;
|
|
28
31
|
--_rs-typography-ul-list-li-padding-left:initial;
|
|
29
32
|
--_rs-typography-ol-list-li-padding-left:initial;
|
|
@@ -90,9 +93,12 @@
|
|
|
90
93
|
);
|
|
91
94
|
--_rs-typography-line-height:var(--rs-h4-line-height, 24px);
|
|
92
95
|
--_rs-typography-base-color:var(
|
|
96
|
+
--_rs-typography-heading-hardness-color,
|
|
97
|
+
var(
|
|
93
98
|
--rs-color-hard,
|
|
94
99
|
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))
|
|
95
|
-
)
|
|
100
|
+
)
|
|
101
|
+
);
|
|
96
102
|
--_rs-typography-text-auto-offset:0;
|
|
97
103
|
--_rs-typography-ul-list-li-padding-left:initial;
|
|
98
104
|
--_rs-typography-ol-list-li-padding-left:initial;
|
|
@@ -164,9 +170,12 @@
|
|
|
164
170
|
);
|
|
165
171
|
--_rs-typography-line-height:var(--rs-h3-line-height, 28px);
|
|
166
172
|
--_rs-typography-base-color:var(
|
|
173
|
+
--_rs-typography-heading-hardness-color,
|
|
174
|
+
var(
|
|
167
175
|
--rs-color-hard,
|
|
168
176
|
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))
|
|
169
|
-
)
|
|
177
|
+
)
|
|
178
|
+
);
|
|
170
179
|
--_rs-typography-text-auto-offset:0;
|
|
171
180
|
--_rs-typography-ul-list-li-padding-left:initial;
|
|
172
181
|
--_rs-typography-ol-list-li-padding-left:initial;
|
|
@@ -302,9 +311,12 @@
|
|
|
302
311
|
);
|
|
303
312
|
--_rs-typography-line-height:var(--rs-h5-line-height, 20px);
|
|
304
313
|
--_rs-typography-base-color:var(
|
|
314
|
+
--_rs-typography-heading-hardness-color,
|
|
315
|
+
var(
|
|
305
316
|
--rs-color-hard,
|
|
306
317
|
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))
|
|
307
|
-
)
|
|
318
|
+
)
|
|
319
|
+
);
|
|
308
320
|
--_rs-typography-text-auto-offset:0;
|
|
309
321
|
--_rs-typography-ul-list-li-padding-left:initial;
|
|
310
322
|
--_rs-typography-ol-list-li-padding-left:initial;
|
|
@@ -371,9 +383,12 @@
|
|
|
371
383
|
);
|
|
372
384
|
--_rs-typography-line-height:var(--rs-h4-line-height, 24px);
|
|
373
385
|
--_rs-typography-base-color:var(
|
|
386
|
+
--_rs-typography-heading-hardness-color,
|
|
387
|
+
var(
|
|
374
388
|
--rs-color-hard,
|
|
375
389
|
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))
|
|
376
|
-
)
|
|
390
|
+
)
|
|
391
|
+
);
|
|
377
392
|
--_rs-typography-text-auto-offset:0;
|
|
378
393
|
--_rs-typography-ul-list-li-padding-left:initial;
|
|
379
394
|
--_rs-typography-ol-list-li-padding-left:initial;
|
|
@@ -445,9 +460,12 @@
|
|
|
445
460
|
);
|
|
446
461
|
--_rs-typography-line-height:var(--rs-h3-line-height, 28px);
|
|
447
462
|
--_rs-typography-base-color:var(
|
|
463
|
+
--_rs-typography-heading-hardness-color,
|
|
464
|
+
var(
|
|
448
465
|
--rs-color-hard,
|
|
449
466
|
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))
|
|
450
|
-
)
|
|
467
|
+
)
|
|
468
|
+
);
|
|
451
469
|
--_rs-typography-text-auto-offset:0;
|
|
452
470
|
--_rs-typography-ul-list-li-padding-left:initial;
|
|
453
471
|
--_rs-typography-ol-list-li-padding-left:initial;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rescui/collapse",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.2-RUI-198-Support-different-hardness-for-headings-in-mixins-api-48b1e9e1.18+48b1e9e1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "JetBrains",
|
|
@@ -15,8 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@babel/runtime-corejs3": "^7.14.0",
|
|
18
|
-
"@rescui/
|
|
19
|
-
"@rescui/use-resize-observer": "0.2.1-RUI-201-Support-css-modules-in-typography-6efea65f.28+6efea65f",
|
|
18
|
+
"@rescui/use-resize-observer": "0.2.1-RUI-198-Support-different-hardness-for-headings-in-mixins-api-48b1e9e1.41+48b1e9e1",
|
|
20
19
|
"classnames": "^2.2.6",
|
|
21
20
|
"core-js": "^3.9.1"
|
|
22
21
|
},
|
|
@@ -26,9 +25,9 @@
|
|
|
26
25
|
"react": ">=16.8.0 <19"
|
|
27
26
|
},
|
|
28
27
|
"devDependencies": {
|
|
29
|
-
"@rescui/colors": "0.2.1-RUI-
|
|
30
|
-
"@rescui/scripts": "0.3.
|
|
31
|
-
"@rescui/typography": "0.16.
|
|
28
|
+
"@rescui/colors": "0.2.1-RUI-198-Support-different-hardness-for-headings-in-mixins-api-48b1e9e1.41+48b1e9e1",
|
|
29
|
+
"@rescui/scripts": "0.3.2",
|
|
30
|
+
"@rescui/typography": "0.16.3-RUI-198-Support-different-hardness-for-headings-in-mixins-api-48b1e9e1.18+48b1e9e1",
|
|
32
31
|
"@rescui/visual-regression": "0.1.2",
|
|
33
32
|
"@types/classnames": "^2.2.11"
|
|
34
33
|
},
|
|
@@ -37,5 +36,5 @@
|
|
|
37
36
|
"build-pcss-api": "rescui-scripts build-pcss-api --file public-api.p.css"
|
|
38
37
|
},
|
|
39
38
|
"nx": {},
|
|
40
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "48b1e9e1ea4e38ec28a5bc9f9be82e5b69f7fe44"
|
|
41
40
|
}
|