@rescui/collapse 0.5.12-RUI-230-Update-icons-6919f9e4.29 → 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 -12
- package/lib/_virtual/plus.js +24 -17
- package/lib/_virtual/right.js +24 -17
- package/lib/collapse.p.module.css.js +32 -32
- package/lib/index.css +73 -73
- package/package.json +5 -5
|
@@ -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_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"
|
|
14
14
|
};
|
|
15
15
|
export { styles as default };
|
package/lib/_virtual/plus.js
CHANGED
|
@@ -15,31 +15,38 @@ const Size = {
|
|
|
15
15
|
"m": "m",
|
|
16
16
|
"l": "l"
|
|
17
17
|
};
|
|
18
|
-
|
|
19
|
-
const PlusIcon16 = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
18
|
+
const PlusIcon16 = /*#__PURE__*/React.forwardRef((props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
20
19
|
viewBox: "0 0 16 16"
|
|
21
|
-
}, props
|
|
20
|
+
}, props, {
|
|
21
|
+
ref: ref
|
|
22
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
22
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"
|
|
23
|
-
}));
|
|
24
|
-
|
|
25
|
-
const PlusIcon20 = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
24
|
+
})));
|
|
25
|
+
PlusIcon16.displayName = 'PlusIcon16';
|
|
26
|
+
const PlusIcon20 = /*#__PURE__*/React.forwardRef((props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
26
27
|
viewBox: "0 0 20 20"
|
|
27
|
-
}, props
|
|
28
|
+
}, props, {
|
|
29
|
+
ref: ref
|
|
30
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
28
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"
|
|
29
|
-
}));
|
|
30
|
-
|
|
31
|
-
const PlusIcon24 = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
32
|
+
})));
|
|
33
|
+
PlusIcon20.displayName = 'PlusIcon20';
|
|
34
|
+
const PlusIcon24 = /*#__PURE__*/React.forwardRef((props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
32
35
|
viewBox: "0 0 24 24"
|
|
33
|
-
}, props
|
|
36
|
+
}, props, {
|
|
37
|
+
ref: ref
|
|
38
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
34
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"
|
|
35
|
-
}));
|
|
36
|
-
|
|
37
|
-
const PlusIcon28 = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
40
|
+
})));
|
|
41
|
+
PlusIcon24.displayName = 'PlusIcon24';
|
|
42
|
+
const PlusIcon28 = /*#__PURE__*/React.forwardRef((props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
38
43
|
viewBox: "0 0 28 28"
|
|
39
|
-
}, props
|
|
44
|
+
}, props, {
|
|
45
|
+
ref: ref
|
|
46
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
40
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"
|
|
41
|
-
}));
|
|
42
|
-
|
|
48
|
+
})));
|
|
49
|
+
PlusIcon28.displayName = 'PlusIcon28';
|
|
43
50
|
const PlusIcon = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
44
51
|
let {
|
|
45
52
|
theme,
|
package/lib/_virtual/right.js
CHANGED
|
@@ -15,31 +15,38 @@ const Size = {
|
|
|
15
15
|
"m": "m",
|
|
16
16
|
"l": "l"
|
|
17
17
|
};
|
|
18
|
-
|
|
19
|
-
const RightIcon16 = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
18
|
+
const RightIcon16 = /*#__PURE__*/React.forwardRef((props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
20
19
|
viewBox: "0 0 16 16"
|
|
21
|
-
}, props
|
|
20
|
+
}, props, {
|
|
21
|
+
ref: ref
|
|
22
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
22
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"
|
|
23
|
-
}));
|
|
24
|
-
|
|
25
|
-
const RightIcon20 = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
24
|
+
})));
|
|
25
|
+
RightIcon16.displayName = 'RightIcon16';
|
|
26
|
+
const RightIcon20 = /*#__PURE__*/React.forwardRef((props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
26
27
|
viewBox: "0 0 20 20"
|
|
27
|
-
}, props
|
|
28
|
+
}, props, {
|
|
29
|
+
ref: ref
|
|
30
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
28
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"
|
|
29
|
-
}));
|
|
30
|
-
|
|
31
|
-
const RightIcon24 = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
32
|
+
})));
|
|
33
|
+
RightIcon20.displayName = 'RightIcon20';
|
|
34
|
+
const RightIcon24 = /*#__PURE__*/React.forwardRef((props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
32
35
|
viewBox: "0 0 24 24"
|
|
33
|
-
}, props
|
|
36
|
+
}, props, {
|
|
37
|
+
ref: ref
|
|
38
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
34
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"
|
|
35
|
-
}));
|
|
36
|
-
|
|
37
|
-
const RightIcon28 = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
40
|
+
})));
|
|
41
|
+
RightIcon24.displayName = 'RightIcon24';
|
|
42
|
+
const RightIcon28 = /*#__PURE__*/React.forwardRef((props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
38
43
|
viewBox: "0 0 28 28"
|
|
39
|
-
}, props
|
|
44
|
+
}, props, {
|
|
45
|
+
ref: ref
|
|
46
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
40
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"
|
|
41
|
-
}));
|
|
42
|
-
|
|
48
|
+
})));
|
|
49
|
+
RightIcon28.displayName = 'RightIcon28';
|
|
43
50
|
const RightIcon = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
44
51
|
let {
|
|
45
52
|
theme,
|
|
@@ -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,54 +60,54 @@
|
|
|
60
60
|
transform:rotate(360deg);
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
|
-
.
|
|
63
|
+
._allVariants_18715wb_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_18715wb_53,
|
|
68
|
+
._variant20_18715wb_54,
|
|
69
|
+
._variant24_18715wb_55{
|
|
70
70
|
display:none;
|
|
71
71
|
}
|
|
72
|
-
.
|
|
72
|
+
._variant28_18715wb_58{
|
|
73
73
|
display:block;
|
|
74
74
|
}
|
|
75
75
|
@container rs-icon (max-height: 24px){
|
|
76
|
-
.
|
|
76
|
+
._variant24_18715wb_55{
|
|
77
77
|
display:block;
|
|
78
78
|
}
|
|
79
|
-
.
|
|
79
|
+
._variant28_18715wb_58{
|
|
80
80
|
display:none;
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
83
|
@container rs-icon (max-height: 20px){
|
|
84
|
-
.
|
|
84
|
+
._variant20_18715wb_54{
|
|
85
85
|
display:block;
|
|
86
86
|
}
|
|
87
|
-
.
|
|
87
|
+
._variant24_18715wb_55{
|
|
88
88
|
display:none;
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
@container rs-icon (max-height: 16px){
|
|
92
|
-
.
|
|
92
|
+
._variant16_18715wb_53{
|
|
93
93
|
display:block;
|
|
94
94
|
}
|
|
95
|
-
.
|
|
95
|
+
._variant20_18715wb_54{
|
|
96
96
|
display:none;
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
|
-
.
|
|
99
|
+
._themeLight_xz0on0_6{
|
|
100
100
|
--rs-theme-dark:0;
|
|
101
101
|
}
|
|
102
|
-
.
|
|
102
|
+
._themeDark_xz0on0_9{
|
|
103
103
|
--rs-theme-dark:1;
|
|
104
104
|
}
|
|
105
|
-
.
|
|
105
|
+
._sizeS_xz0on0_13{
|
|
106
106
|
--_rs-collapse-vertical-padding:6px;
|
|
107
107
|
--_rs-collapse-horizontal-padding:8px;
|
|
108
108
|
--_rs-collapse-icon-size:20px;
|
|
109
109
|
}
|
|
110
|
-
.
|
|
110
|
+
._sizeS_xz0on0_13 > [data-rs-internal='collapse__button'] > [data-rs-internal='collapse__title']{
|
|
111
111
|
--_rs-typography-letter-spacing:var(--rs-h5-letter-spacing, normal);
|
|
112
112
|
--_rs-typography-text-transform:initial;
|
|
113
113
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
139
139
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
140
140
|
}
|
|
141
|
-
.
|
|
141
|
+
._sizeS_xz0on0_13 > [data-rs-internal='collapse__content']{
|
|
142
142
|
--_rs-typography-letter-spacing:var(--rs-text-3-letter-spacing, 0.0045em);
|
|
143
143
|
--_rs-typography-text-transform:initial;
|
|
144
144
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -172,12 +172,12 @@
|
|
|
172
172
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
173
173
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
174
174
|
}
|
|
175
|
-
.
|
|
175
|
+
._sizeM_xz0on0_16{
|
|
176
176
|
--_rs-collapse-vertical-padding:8px;
|
|
177
177
|
--_rs-collapse-horizontal-padding:8px;
|
|
178
178
|
--_rs-collapse-icon-size:24px;
|
|
179
179
|
}
|
|
180
|
-
.
|
|
180
|
+
._sizeM_xz0on0_16 > [data-rs-internal='collapse__button'] > [data-rs-internal='collapse__title']{
|
|
181
181
|
--_rs-typography-letter-spacing:var(--rs-h4-letter-spacing, normal);
|
|
182
182
|
--_rs-typography-text-transform:initial;
|
|
183
183
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -208,7 +208,7 @@
|
|
|
208
208
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
209
209
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
210
210
|
}
|
|
211
|
-
.
|
|
211
|
+
._sizeM_xz0on0_16 > [data-rs-internal='collapse__content']{
|
|
212
212
|
--_rs-typography-letter-spacing:var(--rs-text-2-letter-spacing, 0.0015em);
|
|
213
213
|
--_rs-typography-text-transform:initial;
|
|
214
214
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -246,16 +246,16 @@
|
|
|
246
246
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
247
247
|
}
|
|
248
248
|
@media screen and (max-width: 640px){
|
|
249
|
-
.
|
|
249
|
+
._sizeM_xz0on0_16 > [data-rs-internal='collapse__content']{
|
|
250
250
|
--_rs-typography-text-2-sm-list-li-margin-top-from-text:12px;
|
|
251
251
|
}
|
|
252
252
|
}
|
|
253
|
-
.
|
|
253
|
+
._sizeL_xz0on0_19{
|
|
254
254
|
--_rs-collapse-vertical-padding:12px;
|
|
255
255
|
--_rs-collapse-horizontal-padding:16px;
|
|
256
256
|
--_rs-collapse-icon-size:28px;
|
|
257
257
|
}
|
|
258
|
-
.
|
|
258
|
+
._sizeL_xz0on0_19 > [data-rs-internal='collapse__button'] > [data-rs-internal='collapse__title']{
|
|
259
259
|
--_rs-typography-letter-spacing:var(--rs-h3-letter-spacing, normal);
|
|
260
260
|
--_rs-typography-text-transform:initial;
|
|
261
261
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -286,7 +286,7 @@
|
|
|
286
286
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
287
287
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
288
288
|
}
|
|
289
|
-
.
|
|
289
|
+
._sizeL_xz0on0_19 > [data-rs-internal='collapse__content']{
|
|
290
290
|
--_rs-typography-letter-spacing:var(--rs-text-1-letter-spacing, normal);
|
|
291
291
|
--_rs-typography-text-transform:initial;
|
|
292
292
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -324,11 +324,11 @@
|
|
|
324
324
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
325
325
|
}
|
|
326
326
|
@media screen and (max-width: 640px){
|
|
327
|
-
.
|
|
327
|
+
._sizeL_xz0on0_19 > [data-rs-internal='collapse__content']{
|
|
328
328
|
--_rs-typography-text-1-sm-list-li-margin-top-from-text:16px;
|
|
329
329
|
}
|
|
330
330
|
}
|
|
331
|
-
.
|
|
331
|
+
._classic_xz0on0_23{
|
|
332
332
|
--_rs-collapse-active-theme-flip:0;
|
|
333
333
|
--_rs-collapse-active-background:rgba(
|
|
334
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),
|
|
@@ -342,7 +342,7 @@
|
|
|
342
342
|
);
|
|
343
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);
|
|
344
344
|
}
|
|
345
|
-
.
|
|
345
|
+
._rock_xz0on0_26{
|
|
346
346
|
--_rs-collapse-active-theme-flip:1;
|
|
347
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));
|
|
348
348
|
--_rs-collapse-active-border-bottom-to-padding-multiplier:1;
|
|
@@ -353,7 +353,7 @@
|
|
|
353
353
|
);
|
|
354
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);
|
|
355
355
|
}
|
|
356
|
-
.
|
|
356
|
+
._clear_xz0on0_29{
|
|
357
357
|
--_rs-collapse-active-theme-flip:0;
|
|
358
358
|
--_rs-collapse-active-background:transparent;
|
|
359
359
|
--_rs-collapse-active-border-bottom-to-padding-multiplier:0;
|
|
@@ -364,27 +364,27 @@
|
|
|
364
364
|
0.7
|
|
365
365
|
);
|
|
366
366
|
}
|
|
367
|
-
.
|
|
367
|
+
._hasBorderBottom_xz0on0_33{
|
|
368
368
|
--_rs-collapse-border-bottom-width-or-initial:1px;
|
|
369
369
|
}
|
|
370
|
-
.
|
|
370
|
+
._leftIcon_xz0on0_37{
|
|
371
371
|
--_rs-collapse-button-flex-direction:row;
|
|
372
372
|
--_rs-collapse-icon-margin:0 var(--_rs-collapse-horizontal-padding) 0 0;
|
|
373
373
|
--_rs-collapse-inner-wrapper-padding-left-base:calc(var(--_rs-collapse-horizontal-padding)*2 + var(--_rs-collapse-icon-size));
|
|
374
374
|
}
|
|
375
|
-
.
|
|
375
|
+
._rightIcon_xz0on0_40{
|
|
376
376
|
--_rs-collapse-button-flex-direction:row-reverse;
|
|
377
377
|
--_rs-collapse-icon-margin:0 0 0 var(--_rs-collapse-horizontal-padding);
|
|
378
378
|
--_rs-collapse-inner-wrapper-padding-left-base:var(
|
|
379
379
|
--_rs-collapse-horizontal-padding
|
|
380
380
|
);
|
|
381
381
|
}
|
|
382
|
-
.
|
|
382
|
+
._disableLeftPadding_xz0on0_44{
|
|
383
383
|
--_rs-collapse-inner-wrapper-padding-left-from-disable-left-padding-or-initial:var(
|
|
384
384
|
--_rs-collapse-horizontal-padding
|
|
385
385
|
);
|
|
386
386
|
}
|
|
387
|
-
.
|
|
387
|
+
._main_xz0on0_48{
|
|
388
388
|
--_rs-theme-dark:var(
|
|
389
389
|
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
390
390
|
var(--rs-theme-dark, 0)
|
|
@@ -394,7 +394,7 @@
|
|
|
394
394
|
--_rs-theme-light-coefficient:calc(1 - var(--_rs-theme-dark-coefficient));
|
|
395
395
|
}
|
|
396
396
|
@supports (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
397
|
-
.
|
|
397
|
+
._main_xz0on0_48{
|
|
398
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)));
|
|
399
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)));
|
|
400
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)));
|
|
@@ -403,7 +403,7 @@
|
|
|
403
403
|
}
|
|
404
404
|
}
|
|
405
405
|
@supports not (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
406
|
-
.
|
|
406
|
+
._main_xz0on0_48{
|
|
407
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);
|
|
408
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));
|
|
409
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));
|
|
@@ -411,7 +411,7 @@
|
|
|
411
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));
|
|
412
412
|
}
|
|
413
413
|
}
|
|
414
|
-
.
|
|
414
|
+
._main_xz0on0_48 {
|
|
415
415
|
--_rs-collapse-border-bottom-width:var(
|
|
416
416
|
--_rs-collapse-border-bottom-width-or-initial,
|
|
417
417
|
0px
|
|
@@ -426,9 +426,9 @@
|
|
|
426
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);
|
|
427
427
|
border-radius:var(--rs-collapse-border-radius, 0px);
|
|
428
428
|
}
|
|
429
|
-
.
|
|
430
|
-
.
|
|
431
|
-
.
|
|
429
|
+
._main_xz0on0_48._opening_xz0on0_59,
|
|
430
|
+
._main_xz0on0_48._opened_xz0on0_60,
|
|
431
|
+
._main_xz0on0_48._closing_xz0on0_61{
|
|
432
432
|
--rs-theme-flip:var(--_rs-collapse-active-theme-flip);
|
|
433
433
|
|
|
434
434
|
padding-bottom:calc(var(--_rs-collapse-border-bottom-width)*var(--_rs-collapse-active-border-bottom-to-padding-multiplier));
|
|
@@ -438,7 +438,7 @@
|
|
|
438
438
|
background:var(--_rs-collapse-active-background);
|
|
439
439
|
}
|
|
440
440
|
@media (hover: hover){
|
|
441
|
-
.
|
|
441
|
+
._main_xz0on0_48:hover{
|
|
442
442
|
--rs-theme-flip:var(--_rs-collapse-active-theme-flip);
|
|
443
443
|
|
|
444
444
|
padding-bottom:calc(var(--_rs-collapse-border-bottom-width)*var(--_rs-collapse-active-border-bottom-to-padding-multiplier));
|
|
@@ -448,7 +448,7 @@
|
|
|
448
448
|
background:var(--_rs-collapse-active-background);
|
|
449
449
|
}
|
|
450
450
|
}
|
|
451
|
-
.
|
|
451
|
+
._title_xz0on0_95{
|
|
452
452
|
letter-spacing:var(
|
|
453
453
|
--rs-text-base-letter-spacing,
|
|
454
454
|
var(--_rs-typography-letter-spacing)
|
|
@@ -465,7 +465,7 @@
|
|
|
465
465
|
|
|
466
466
|
color:inherit;
|
|
467
467
|
}
|
|
468
|
-
.
|
|
468
|
+
._content_xz0on0_103{
|
|
469
469
|
letter-spacing:var(
|
|
470
470
|
--rs-text-base-letter-spacing,
|
|
471
471
|
var(--_rs-typography-letter-spacing)
|
|
@@ -486,22 +486,22 @@
|
|
|
486
486
|
|
|
487
487
|
height:0;
|
|
488
488
|
}
|
|
489
|
-
.
|
|
489
|
+
._closed_xz0on0_111 > ._content_xz0on0_103{
|
|
490
490
|
display:none;
|
|
491
491
|
}
|
|
492
|
-
.
|
|
492
|
+
._opened_xz0on0_60 > ._content_xz0on0_103{
|
|
493
493
|
height:initial;
|
|
494
494
|
}
|
|
495
|
-
.
|
|
496
|
-
.
|
|
495
|
+
._opening_xz0on0_59 > ._content_xz0on0_103,
|
|
496
|
+
._closingTransition_xz0on0_120 > ._content_xz0on0_103{
|
|
497
497
|
overflow:hidden;
|
|
498
498
|
|
|
499
499
|
transition:height 300ms;
|
|
500
500
|
}
|
|
501
|
-
.
|
|
501
|
+
._innerWrapper_xz0on0_127{
|
|
502
502
|
padding:0 var(--_rs-collapse-horizontal-padding) var(--_rs-collapse-horizontal-padding) var(--_rs-collapse-inner-wrapper-padding-left);
|
|
503
503
|
}
|
|
504
|
-
.
|
|
504
|
+
._button_xz0on0_133{
|
|
505
505
|
color:var(
|
|
506
506
|
--rs-color-hard,
|
|
507
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))
|
|
@@ -534,24 +534,24 @@
|
|
|
534
534
|
-moz-osx-font-smoothing:inherit;
|
|
535
535
|
-webkit-appearance:none;
|
|
536
536
|
}
|
|
537
|
-
.
|
|
537
|
+
._button_xz0on0_133::-moz-focus-inner{
|
|
538
538
|
padding:0;
|
|
539
539
|
|
|
540
540
|
border:0;
|
|
541
541
|
}
|
|
542
|
-
.
|
|
542
|
+
._button_xz0on0_133:focus{
|
|
543
543
|
outline:none;
|
|
544
544
|
}
|
|
545
|
-
.
|
|
545
|
+
._button_xz0on0_133:focus[data-focus-method='key']{
|
|
546
546
|
box-shadow:var(--_rs-color-primary-t-dim) 0 0 0 4px;
|
|
547
547
|
}
|
|
548
548
|
@media (hover: hover){
|
|
549
|
-
.
|
|
549
|
+
._button_xz0on0_133:hover{
|
|
550
550
|
color:var(--_rs-collapse-button-hover-color);
|
|
551
551
|
background:var(--_rs-collapse-button-hover-background);
|
|
552
552
|
}
|
|
553
553
|
}
|
|
554
|
-
.
|
|
554
|
+
._icon_xz0on0_186{
|
|
555
555
|
position:relative;
|
|
556
556
|
top:0;
|
|
557
557
|
left:0;
|
|
@@ -567,34 +567,34 @@
|
|
|
567
567
|
|
|
568
568
|
will-change:transform;
|
|
569
569
|
}
|
|
570
|
-
.
|
|
571
|
-
.
|
|
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{
|
|
572
572
|
transform:rotate(45deg);
|
|
573
573
|
}
|
|
574
|
-
.
|
|
575
|
-
.
|
|
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{
|
|
576
576
|
transform:rotate(90deg);
|
|
577
577
|
}
|
|
578
|
-
.
|
|
578
|
+
._accordion_xz0on0_213{
|
|
579
579
|
display:flex;
|
|
580
580
|
flex-direction:column;
|
|
581
581
|
row-gap:var(--_rs-collapse-accordion-gap);
|
|
582
582
|
}
|
|
583
|
-
.
|
|
583
|
+
._accordionGap0_xz0on0_218{
|
|
584
584
|
--_rs-collapse-accordion-gap:0px;
|
|
585
585
|
}
|
|
586
|
-
.
|
|
586
|
+
._accordionGap8_xz0on0_221{
|
|
587
587
|
--_rs-collapse-accordion-gap:8px;
|
|
588
588
|
}
|
|
589
|
-
.
|
|
589
|
+
._accordionGap12_xz0on0_224{
|
|
590
590
|
--_rs-collapse-accordion-gap:12px;
|
|
591
591
|
}
|
|
592
|
-
.
|
|
592
|
+
._accordionGap16_xz0on0_227{
|
|
593
593
|
--_rs-collapse-accordion-gap:16px;
|
|
594
594
|
}
|
|
595
|
-
.
|
|
595
|
+
._accordionGap24_xz0on0_230{
|
|
596
596
|
--_rs-collapse-accordion-gap:24px;
|
|
597
597
|
}
|
|
598
|
-
.
|
|
598
|
+
._accordionGap32_xz0on0_233{
|
|
599
599
|
--_rs-collapse-accordion-gap:32px;
|
|
600
600
|
}
|
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
|
}
|