@rescui/collapse 0.5.12-RUI-230-Update-icons-0bd4e5fc.9 → 0.5.12-RUI-230-Update-icons-6919f9e4.29

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.
@@ -1,10 +1,15 @@
1
1
  var styles = {
2
- "icon": "_icon_7axx9h_4",
3
- "sizeXS": "_sizeXS_7axx9h_14",
4
- "sizeS": "_sizeS_7axx9h_18",
5
- "sizeM": "_sizeM_7axx9h_22",
6
- "sizeL": "_sizeL_7axx9h_26",
7
- "light": "_light_7axx9h_30",
8
- "dark": "_dark_7axx9h_34"
2
+ "icon": "_icon_1ymr40l_4",
3
+ "sizeXS": "_sizeXS_1ymr40l_14",
4
+ "sizeS": "_sizeS_1ymr40l_18",
5
+ "sizeM": "_sizeM_1ymr40l_22",
6
+ "sizeL": "_sizeL_1ymr40l_26",
7
+ "light": "_light_1ymr40l_30",
8
+ "dark": "_dark_1ymr40l_34",
9
+ "allVariants": "_allVariants_1ymr40l_48",
10
+ "variant16": "_variant16_1ymr40l_53",
11
+ "variant20": "_variant20_1ymr40l_54",
12
+ "variant24": "_variant24_1ymr40l_55",
13
+ "variant28": "_variant28_1ymr40l_58"
9
14
  };
10
15
  export { styles as default };
@@ -0,0 +1,99 @@
1
+ import _extends from '@babel/runtime-corejs3/helpers/esm/extends';
2
+ import React from 'react';
3
+ import PropTypes from 'prop-types';
4
+ import cn from 'classnames';
5
+ import styles from './index.css.js';
6
+ const sizeStyles = {
7
+ "xs": styles.sizeXS,
8
+ "s": styles.sizeS,
9
+ "m": styles.sizeM,
10
+ "l": styles.sizeL
11
+ };
12
+ const Size = {
13
+ "xs": "xs",
14
+ "s": "s",
15
+ "m": "m",
16
+ "l": "l"
17
+ };
18
+
19
+ const PlusIcon16 = props => /*#__PURE__*/React.createElement("svg", _extends({
20
+ viewBox: "0 0 16 16"
21
+ }, props), /*#__PURE__*/React.createElement("path", {
22
+ 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({
26
+ viewBox: "0 0 20 20"
27
+ }, props), /*#__PURE__*/React.createElement("path", {
28
+ 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
+ viewBox: "0 0 24 24"
33
+ }, props), /*#__PURE__*/React.createElement("path", {
34
+ 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({
38
+ viewBox: "0 0 28 28"
39
+ }, props), /*#__PURE__*/React.createElement("path", {
40
+ 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
+
43
+ const PlusIcon = /*#__PURE__*/React.forwardRef((_ref, ref) => {
44
+ let {
45
+ theme,
46
+ size: sizeFromProps = "m",
47
+ className,
48
+ style,
49
+ ['data-render-all-sizes']: renderAllSizes = false,
50
+ ...props
51
+ } = _ref;
52
+ const size = sizeFromProps in Size ? sizeFromProps : "m";
53
+ const mainProps = { ...props,
54
+ className: cn(styles.icon, styles[theme], sizeStyles[size], renderAllSizes && styles.allVariants, className),
55
+ style: renderAllSizes ? {
56
+ '--rs-icon-ar-width': 28,
57
+ '--rs-icon-ar-height': 28,
58
+ ...style
59
+ } : style,
60
+ ref
61
+ };
62
+
63
+ if (renderAllSizes) {
64
+ return /*#__PURE__*/React.createElement("svg", _extends({
65
+ viewBox: "0 0 28 28"
66
+ }, mainProps), /*#__PURE__*/React.createElement(PlusIcon16, {
67
+ className: styles.variant16
68
+ }), /*#__PURE__*/React.createElement(PlusIcon20, {
69
+ className: styles.variant20
70
+ }), /*#__PURE__*/React.createElement(PlusIcon24, {
71
+ className: styles.variant24
72
+ }), /*#__PURE__*/React.createElement(PlusIcon28, {
73
+ className: styles.variant28
74
+ }));
75
+ }
76
+
77
+ if (size === Size['xs']) {
78
+ return /*#__PURE__*/React.createElement(PlusIcon16, mainProps);
79
+ }
80
+
81
+ if (size === Size['s']) {
82
+ return /*#__PURE__*/React.createElement(PlusIcon20, mainProps);
83
+ }
84
+
85
+ if (size === Size['m']) {
86
+ return /*#__PURE__*/React.createElement(PlusIcon24, mainProps);
87
+ }
88
+
89
+ return /*#__PURE__*/React.createElement(PlusIcon28, mainProps);
90
+ });
91
+ PlusIcon.displayName = 'PlusIcon';
92
+ PlusIcon.propTypes = {
93
+ className: PropTypes.string,
94
+ theme: PropTypes.oneOf(["light", "dark"]),
95
+ size: PropTypes.oneOf(["xs", "s", "m", "l"]),
96
+ 'data-render-all-sizes': PropTypes.bool,
97
+ style: PropTypes.object
98
+ };
99
+ export { Size, PlusIcon as default };
@@ -15,62 +15,85 @@ const Size = {
15
15
  "m": "m",
16
16
  "l": "l"
17
17
  };
18
+
19
+ const RightIcon16 = props => /*#__PURE__*/React.createElement("svg", _extends({
20
+ viewBox: "0 0 16 16"
21
+ }, props), /*#__PURE__*/React.createElement("path", {
22
+ 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({
26
+ viewBox: "0 0 20 20"
27
+ }, props), /*#__PURE__*/React.createElement("path", {
28
+ 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
+ viewBox: "0 0 24 24"
33
+ }, props), /*#__PURE__*/React.createElement("path", {
34
+ 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({
38
+ viewBox: "0 0 28 28"
39
+ }, props), /*#__PURE__*/React.createElement("path", {
40
+ 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
+
18
43
  const RightIcon = /*#__PURE__*/React.forwardRef((_ref, ref) => {
19
44
  let {
20
45
  theme,
21
- size,
46
+ size: sizeFromProps = "m",
22
47
  className,
48
+ style,
49
+ ['data-render-all-sizes']: renderAllSizes = false,
23
50
  ...props
24
51
  } = _ref;
52
+ const size = sizeFromProps in Size ? sizeFromProps : "m";
53
+ const mainProps = { ...props,
54
+ className: cn(styles.icon, styles[theme], sizeStyles[size], renderAllSizes && styles.allVariants, className),
55
+ style: renderAllSizes ? {
56
+ '--rs-icon-ar-width': 28,
57
+ '--rs-icon-ar-height': 28,
58
+ ...style
59
+ } : style,
60
+ ref
61
+ };
25
62
 
26
- if (size === Size['xs']) {
63
+ if (renderAllSizes) {
27
64
  return /*#__PURE__*/React.createElement("svg", _extends({
28
- viewBox: "0 0 16 16"
29
- }, props, {
30
- className: cn(styles.icon, styles[theme], sizeStyles[size], className),
31
- ref: ref
32
- }), /*#__PURE__*/React.createElement("path", {
33
- 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"
65
+ viewBox: "0 0 28 28"
66
+ }, mainProps), /*#__PURE__*/React.createElement(RightIcon16, {
67
+ className: styles.variant16
68
+ }), /*#__PURE__*/React.createElement(RightIcon20, {
69
+ className: styles.variant20
70
+ }), /*#__PURE__*/React.createElement(RightIcon24, {
71
+ className: styles.variant24
72
+ }), /*#__PURE__*/React.createElement(RightIcon28, {
73
+ className: styles.variant28
34
74
  }));
35
75
  }
36
76
 
77
+ if (size === Size['xs']) {
78
+ return /*#__PURE__*/React.createElement(RightIcon16, mainProps);
79
+ }
80
+
37
81
  if (size === Size['s']) {
38
- return /*#__PURE__*/React.createElement("svg", _extends({
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
- }));
82
+ return /*#__PURE__*/React.createElement(RightIcon20, mainProps);
46
83
  }
47
84
 
48
85
  if (size === Size['m']) {
49
- return /*#__PURE__*/React.createElement("svg", _extends({
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
- }));
86
+ return /*#__PURE__*/React.createElement(RightIcon24, mainProps);
57
87
  }
58
88
 
59
- return /*#__PURE__*/React.createElement("svg", _extends({
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
- }));
89
+ return /*#__PURE__*/React.createElement(RightIcon28, mainProps);
67
90
  });
91
+ RightIcon.displayName = 'RightIcon';
68
92
  RightIcon.propTypes = {
69
93
  className: PropTypes.string,
70
94
  theme: PropTypes.oneOf(["light", "dark"]),
71
- size: PropTypes.oneOf(["xs", "s", "m", "l"])
72
- };
73
- RightIcon.defaultProps = {
74
- size: "m"
95
+ size: PropTypes.oneOf(["xs", "s", "m", "l"]),
96
+ 'data-render-all-sizes': PropTypes.bool,
97
+ style: PropTypes.object
75
98
  };
76
99
  export { Size, RightIcon as default };
package/lib/collapse.js CHANGED
@@ -4,7 +4,7 @@ import PropTypes from 'prop-types';
4
4
  import { useThemeWithUndefined, ThemeProvider } from '@rescui/ui-contexts';
5
5
  import { useResizeObserver } from '@rescui/use-resize-observer';
6
6
  import RightIcon from './_virtual/right.js';
7
- import AddOutlineIcon from './_virtual/add-outline.js';
7
+ import PlusIcon from './_virtual/plus.js';
8
8
  import { collapseContext } from './context.js';
9
9
  import { useCollapseState, COLLAPSE_STATES, useStartedClosing } from './use-collapse-state.js';
10
10
  import styles from './collapse.p.module.css.js';
@@ -101,7 +101,7 @@ const Collapse = /*#__PURE__*/React.forwardRef( // eslint-disable-next-line comp
101
101
  contentRef
102
102
  } = useStartedClosing(collapseState);
103
103
  const isRightIcon = icon === 'right-plus';
104
- const Icon = icon === 'arrow' ? RightIcon : AddOutlineIcon;
104
+ const Icon = icon === 'arrow' ? RightIcon : PlusIcon;
105
105
 
106
106
  const toggleOpened = () => {
107
107
  if (toggleActiveKey) {
@@ -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": "_themeLight_1jz80fv_6",
3
- "themeDark": "_themeDark_1jz80fv_9",
4
- "sizeS": "_sizeS_1jz80fv_13",
5
- "sizeM": "_sizeM_1jz80fv_16",
6
- "sizeL": "_sizeL_1jz80fv_19",
7
- "classic": "_classic_1jz80fv_23",
8
- "rock": "_rock_1jz80fv_26",
9
- "clear": "_clear_1jz80fv_29",
10
- "hasBorderBottom": "_hasBorderBottom_1jz80fv_33",
11
- "leftIcon": "_leftIcon_1jz80fv_37",
12
- "rightIcon": "_rightIcon_1jz80fv_40",
13
- "disableLeftPadding": "_disableLeftPadding_1jz80fv_44",
14
- "main": "_main_1jz80fv_48",
15
- "opening": "_opening_1jz80fv_59",
16
- "opened": "_opened_1jz80fv_60",
17
- "closing": "_closing_1jz80fv_61",
18
- "title": "_title_1jz80fv_95",
19
- "content": "_content_1jz80fv_103",
20
- "closed": "_closed_1jz80fv_111",
21
- "closingTransition": "_closingTransition_1jz80fv_120",
22
- "innerWrapper": "_innerWrapper_1jz80fv_127",
23
- "button": "_button_1jz80fv_133",
24
- "icon": "_icon_1jz80fv_186",
25
- "iconPlus": "_iconPlus_1jz80fv_202",
26
- "iconArrow": "_iconArrow_1jz80fv_207",
27
- "accordion": "_accordion_1jz80fv_213",
28
- "accordionGap0": "_accordionGap0_1jz80fv_218",
29
- "accordionGap8": "_accordionGap8_1jz80fv_221",
30
- "accordionGap12": "_accordionGap12_1jz80fv_224",
31
- "accordionGap16": "_accordionGap16_1jz80fv_227",
32
- "accordionGap24": "_accordionGap24_1jz80fv_230",
33
- "accordionGap32": "_accordionGap32_1jz80fv_233"
2
+ "themeLight": "_themeLight_16b7piq_6",
3
+ "themeDark": "_themeDark_16b7piq_9",
4
+ "sizeS": "_sizeS_16b7piq_13",
5
+ "sizeM": "_sizeM_16b7piq_16",
6
+ "sizeL": "_sizeL_16b7piq_19",
7
+ "classic": "_classic_16b7piq_23",
8
+ "rock": "_rock_16b7piq_26",
9
+ "clear": "_clear_16b7piq_29",
10
+ "hasBorderBottom": "_hasBorderBottom_16b7piq_33",
11
+ "leftIcon": "_leftIcon_16b7piq_37",
12
+ "rightIcon": "_rightIcon_16b7piq_40",
13
+ "disableLeftPadding": "_disableLeftPadding_16b7piq_44",
14
+ "main": "_main_16b7piq_48",
15
+ "opening": "_opening_16b7piq_59",
16
+ "opened": "_opened_16b7piq_60",
17
+ "closing": "_closing_16b7piq_61",
18
+ "title": "_title_16b7piq_95",
19
+ "content": "_content_16b7piq_103",
20
+ "closed": "_closed_16b7piq_111",
21
+ "closingTransition": "_closingTransition_16b7piq_120",
22
+ "innerWrapper": "_innerWrapper_16b7piq_127",
23
+ "button": "_button_16b7piq_133",
24
+ "icon": "_icon_16b7piq_186",
25
+ "iconPlus": "_iconPlus_16b7piq_202",
26
+ "iconArrow": "_iconArrow_16b7piq_207",
27
+ "accordion": "_accordion_16b7piq_213",
28
+ "accordionGap0": "_accordionGap0_16b7piq_218",
29
+ "accordionGap8": "_accordionGap8_16b7piq_221",
30
+ "accordionGap12": "_accordionGap12_16b7piq_224",
31
+ "accordionGap16": "_accordionGap16_16b7piq_227",
32
+ "accordionGap24": "_accordionGap24_16b7piq_230",
33
+ "accordionGap32": "_accordionGap32_16b7piq_233"
34
34
  };
35
35
  export { styles as default };
package/lib/index.css CHANGED
@@ -1,4 +1,4 @@
1
- ._icon_7axx9h_4{
1
+ ._icon_1ymr40l_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
- ._icon_7axx9h_4{
11
+ ._icon_1ymr40l_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
- ._icon_7axx9h_4{
20
+ ._icon_1ymr40l_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
- ._icon_7axx9h_4{
28
+ ._icon_1ymr40l_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
- ._sizeXS_7axx9h_14{
35
+ ._sizeXS_1ymr40l_14{
36
36
  --_rs-icons-height:16px;
37
37
  }
38
- ._sizeS_7axx9h_18{
38
+ ._sizeS_1ymr40l_18{
39
39
  --_rs-icons-height:20px;
40
40
  }
41
- ._sizeM_7axx9h_22{
41
+ ._sizeM_1ymr40l_22{
42
42
  --_rs-icons-height:24px;
43
43
  }
44
- ._sizeL_7axx9h_26{
44
+ ._sizeL_1ymr40l_26{
45
45
  --_rs-icons-height:28px;
46
46
  }
47
- ._light_7axx9h_30{
47
+ ._light_1ymr40l_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
- ._dark_7axx9h_34{
51
+ ._dark_1ymr40l_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
- ._themeLight_1jz80fv_6{
63
+ ._allVariants_1ymr40l_48{
64
+ aspect-ratio:var(--rs-icon-ar-width, 1) / var(--rs-icon-ar-height, 1);
65
+ container:rs-icon / size;
66
+ }
67
+ ._variant16_1ymr40l_53,
68
+ ._variant20_1ymr40l_54,
69
+ ._variant24_1ymr40l_55{
70
+ display:none;
71
+ }
72
+ ._variant28_1ymr40l_58{
73
+ display:block;
74
+ }
75
+ @container rs-icon (max-height: 24px){
76
+ ._variant24_1ymr40l_55{
77
+ display:block;
78
+ }
79
+ ._variant28_1ymr40l_58{
80
+ display:none;
81
+ }
82
+ }
83
+ @container rs-icon (max-height: 20px){
84
+ ._variant20_1ymr40l_54{
85
+ display:block;
86
+ }
87
+ ._variant24_1ymr40l_55{
88
+ display:none;
89
+ }
90
+ }
91
+ @container rs-icon (max-height: 16px){
92
+ ._variant16_1ymr40l_53{
93
+ display:block;
94
+ }
95
+ ._variant20_1ymr40l_54{
96
+ display:none;
97
+ }
98
+ }
99
+ ._themeLight_16b7piq_6{
64
100
  --rs-theme-dark:0;
65
101
  }
66
- ._themeDark_1jz80fv_9{
102
+ ._themeDark_16b7piq_9{
67
103
  --rs-theme-dark:1;
68
104
  }
69
- ._sizeS_1jz80fv_13{
105
+ ._sizeS_16b7piq_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
- ._sizeS_1jz80fv_13 > [data-rs-internal='collapse__button'] > [data-rs-internal='collapse__title']{
110
+ ._sizeS_16b7piq_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
- ._sizeS_1jz80fv_13 > [data-rs-internal='collapse__content']{
141
+ ._sizeS_16b7piq_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
- ._sizeM_1jz80fv_16{
175
+ ._sizeM_16b7piq_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
- ._sizeM_1jz80fv_16 > [data-rs-internal='collapse__button'] > [data-rs-internal='collapse__title']{
180
+ ._sizeM_16b7piq_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
- ._sizeM_1jz80fv_16 > [data-rs-internal='collapse__content']{
211
+ ._sizeM_16b7piq_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:16px;
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
- ._sizeM_1jz80fv_16 > [data-rs-internal='collapse__content']{
211
- --_rs-typography-list-li-margin-top-from-text:12px;
249
+ ._sizeM_16b7piq_16 > [data-rs-internal='collapse__content']{
250
+ --_rs-typography-text-2-sm-list-li-margin-top-from-text:12px;
212
251
  }
213
252
  }
214
- ._sizeL_1jz80fv_19{
253
+ ._sizeL_16b7piq_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
- ._sizeL_1jz80fv_19 > [data-rs-internal='collapse__button'] > [data-rs-internal='collapse__title']{
258
+ ._sizeL_16b7piq_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
- ._sizeL_1jz80fv_19 > [data-rs-internal='collapse__content']{
289
+ ._sizeL_16b7piq_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:24px;
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
- ._sizeL_1jz80fv_19 > [data-rs-internal='collapse__content']{
286
- --_rs-typography-list-li-margin-top-from-text:16px;
327
+ ._sizeL_16b7piq_19 > [data-rs-internal='collapse__content']{
328
+ --_rs-typography-text-1-sm-list-li-margin-top-from-text:16px;
287
329
  }
288
330
  }
289
- ._classic_1jz80fv_23{
331
+ ._classic_16b7piq_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
- ._rock_1jz80fv_26{
345
+ ._rock_16b7piq_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
- ._clear_1jz80fv_29{
356
+ ._clear_16b7piq_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
- ._hasBorderBottom_1jz80fv_33{
367
+ ._hasBorderBottom_16b7piq_33{
326
368
  --_rs-collapse-border-bottom-width-or-initial:1px;
327
369
  }
328
- ._leftIcon_1jz80fv_37{
370
+ ._leftIcon_16b7piq_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
- ._rightIcon_1jz80fv_40{
375
+ ._rightIcon_16b7piq_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
- ._disableLeftPadding_1jz80fv_44{
382
+ ._disableLeftPadding_16b7piq_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
- ._main_1jz80fv_48{
387
+ ._main_16b7piq_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
- ._main_1jz80fv_48{
397
+ ._main_16b7piq_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
- ._main_1jz80fv_48{
406
+ ._main_16b7piq_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
- ._main_1jz80fv_48 {
414
+ ._main_16b7piq_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
- ._main_1jz80fv_48._opening_1jz80fv_59,
388
- ._main_1jz80fv_48._opened_1jz80fv_60,
389
- ._main_1jz80fv_48._closing_1jz80fv_61{
429
+ ._main_16b7piq_48._opening_16b7piq_59,
430
+ ._main_16b7piq_48._opened_16b7piq_60,
431
+ ._main_16b7piq_48._closing_16b7piq_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
- ._main_1jz80fv_48:hover{
441
+ ._main_16b7piq_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
- ._title_1jz80fv_95{
451
+ ._title_16b7piq_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
- ._content_1jz80fv_103{
468
+ ._content_16b7piq_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
- ._closed_1jz80fv_111 > ._content_1jz80fv_103{
489
+ ._closed_16b7piq_111 > ._content_16b7piq_103{
448
490
  display:none;
449
491
  }
450
- ._opened_1jz80fv_60 > ._content_1jz80fv_103{
492
+ ._opened_16b7piq_60 > ._content_16b7piq_103{
451
493
  height:initial;
452
494
  }
453
- ._opening_1jz80fv_59 > ._content_1jz80fv_103,
454
- ._closingTransition_1jz80fv_120 > ._content_1jz80fv_103{
495
+ ._opening_16b7piq_59 > ._content_16b7piq_103,
496
+ ._closingTransition_16b7piq_120 > ._content_16b7piq_103{
455
497
  overflow:hidden;
456
498
 
457
499
  transition:height 300ms;
458
500
  }
459
- ._innerWrapper_1jz80fv_127{
501
+ ._innerWrapper_16b7piq_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
- ._button_1jz80fv_133{
504
+ ._button_16b7piq_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
- ._button_1jz80fv_133::-moz-focus-inner{
537
+ ._button_16b7piq_133::-moz-focus-inner{
496
538
  padding:0;
497
539
 
498
540
  border:0;
499
541
  }
500
- ._button_1jz80fv_133:focus{
542
+ ._button_16b7piq_133:focus{
501
543
  outline:none;
502
544
  }
503
- ._button_1jz80fv_133:focus[data-focus-method='key']{
545
+ ._button_16b7piq_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
- ._button_1jz80fv_133:hover{
549
+ ._button_16b7piq_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
- ._icon_1jz80fv_186{
554
+ ._icon_16b7piq_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
- ._opening_1jz80fv_59._iconPlus_1jz80fv_202 > ._button_1jz80fv_133 > ._icon_1jz80fv_186,
529
- ._opened_1jz80fv_60._iconPlus_1jz80fv_202 > ._button_1jz80fv_133 > ._icon_1jz80fv_186{
570
+ ._opening_16b7piq_59._iconPlus_16b7piq_202 > ._button_16b7piq_133 > ._icon_16b7piq_186,
571
+ ._opened_16b7piq_60._iconPlus_16b7piq_202 > ._button_16b7piq_133 > ._icon_16b7piq_186{
530
572
  transform:rotate(45deg);
531
573
  }
532
- ._opening_1jz80fv_59._iconArrow_1jz80fv_207 > ._button_1jz80fv_133 > ._icon_1jz80fv_186,
533
- ._opened_1jz80fv_60._iconArrow_1jz80fv_207 > ._button_1jz80fv_133 > ._icon_1jz80fv_186{
574
+ ._opening_16b7piq_59._iconArrow_16b7piq_207 > ._button_16b7piq_133 > ._icon_16b7piq_186,
575
+ ._opened_16b7piq_60._iconArrow_16b7piq_207 > ._button_16b7piq_133 > ._icon_16b7piq_186{
534
576
  transform:rotate(90deg);
535
577
  }
536
- ._accordion_1jz80fv_213{
578
+ ._accordion_16b7piq_213{
537
579
  display:flex;
538
580
  flex-direction:column;
539
581
  row-gap:var(--_rs-collapse-accordion-gap);
540
582
  }
541
- ._accordionGap0_1jz80fv_218{
583
+ ._accordionGap0_16b7piq_218{
542
584
  --_rs-collapse-accordion-gap:0px;
543
585
  }
544
- ._accordionGap8_1jz80fv_221{
586
+ ._accordionGap8_16b7piq_221{
545
587
  --_rs-collapse-accordion-gap:8px;
546
588
  }
547
- ._accordionGap12_1jz80fv_224{
589
+ ._accordionGap12_16b7piq_224{
548
590
  --_rs-collapse-accordion-gap:12px;
549
591
  }
550
- ._accordionGap16_1jz80fv_227{
592
+ ._accordionGap16_16b7piq_227{
551
593
  --_rs-collapse-accordion-gap:16px;
552
594
  }
553
- ._accordionGap24_1jz80fv_230{
595
+ ._accordionGap24_16b7piq_230{
554
596
  --_rs-collapse-accordion-gap:24px;
555
597
  }
556
- ._accordionGap32_1jz80fv_233{
598
+ ._accordionGap32_16b7piq_233{
557
599
  --_rs-collapse-accordion-gap:32px;
558
600
  }
@@ -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:16px;
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:24px;
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:16px;
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:24px;
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
  }
@@ -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:16px;
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:24px;
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:16px;
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:24px;
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-0bd4e5fc.9+0bd4e5fc",
3
+ "version": "0.5.12-RUI-230-Update-icons-6919f9e4.29+6919f9e4",
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-0bd4e5fc.33+0bd4e5fc",
19
+ "@rescui/use-resize-observer": "0.2.6-RUI-230-Update-icons-6919f9e4.53+6919f9e4",
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-0bd4e5fc.33+0bd4e5fc",
28
+ "@rescui/colors": "0.2.7-RUI-230-Update-icons-6919f9e4.53+6919f9e4",
29
29
  "@rescui/scripts": "0.3.5",
30
- "@rescui/typography": "0.21.1-RUI-230-Update-icons-0bd4e5fc.9+0bd4e5fc",
30
+ "@rescui/typography": "0.21.1-RUI-230-Update-icons-6919f9e4.29+6919f9e4",
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": "0bd4e5fc55bc38b4b8a80a5dcbdb036720dc9676"
39
+ "gitHead": "6919f9e47242359e9341826175a53441c8c70f75"
40
40
  }
@@ -1,84 +0,0 @@
1
- import _extends from '@babel/runtime-corejs3/helpers/esm/extends';
2
- import React from 'react';
3
- import PropTypes from 'prop-types';
4
- import cn from 'classnames';
5
- import styles from './index.css.js';
6
- const sizeStyles = {
7
- "xs": styles.sizeXS,
8
- "s": styles.sizeS,
9
- "m": styles.sizeM,
10
- "l": styles.sizeL
11
- };
12
- const Size = {
13
- "xs": "xs",
14
- "s": "s",
15
- "m": "m",
16
- "l": "l"
17
- };
18
- const AddOutlineIcon = /*#__PURE__*/React.forwardRef((_ref, ref) => {
19
- let {
20
- theme,
21
- size,
22
- className,
23
- ...props
24
- } = _ref;
25
-
26
- if (size === Size['xs']) {
27
- return /*#__PURE__*/React.createElement("svg", _extends({
28
- viewBox: "0 0 16 16"
29
- }, props, {
30
- className: cn(styles.icon, styles[theme], sizeStyles[size], className),
31
- ref: ref
32
- }), /*#__PURE__*/React.createElement("path", {
33
- d: "M8.5 4.5a.5.5 0 0 0-1 0v3h-3a.5.5 0 0 0 0 1h3v3a.5.5 0 0 0 1 0v-3h3a.5.5 0 0 0 0-1h-3z"
34
- }), /*#__PURE__*/React.createElement("path", {
35
- d: "M2 3.75C2 2.784 2.784 2 3.75 2h8.5c.966 0 1.75.784 1.75 1.75v8.5A1.75 1.75 0 0 1 12.25 14h-8.5A1.75 1.75 0 0 1 2 12.25zM3.75 3a.75.75 0 0 0-.75.75v8.5c0 .414.336.75.75.75h8.5a.75.75 0 0 0 .75-.75v-8.5a.75.75 0 0 0-.75-.75z"
36
- }));
37
- }
38
-
39
- if (size === Size['s']) {
40
- return /*#__PURE__*/React.createElement("svg", _extends({
41
- viewBox: "0 0 20 20"
42
- }, props, {
43
- className: cn(styles.icon, styles[theme], sizeStyles[size], className),
44
- ref: ref
45
- }), /*#__PURE__*/React.createElement("path", {
46
- d: "M10.75 6a.75.75 0 0 0-1.5 0v3.25H6a.75.75 0 0 0 0 1.5h3.25V14a.75.75 0 0 0 1.5 0v-3.25H14a.75.75 0 0 0 0-1.5h-3.25z"
47
- }), /*#__PURE__*/React.createElement("path", {
48
- d: "M3 5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2zm2-.5a.5.5 0 0 0-.5.5v10a.5.5 0 0 0 .5.5h10a.5.5 0 0 0 .5-.5V5a.5.5 0 0 0-.5-.5z"
49
- }));
50
- }
51
-
52
- if (size === Size['m']) {
53
- return /*#__PURE__*/React.createElement("svg", _extends({
54
- viewBox: "0 0 24 24"
55
- }, props, {
56
- className: cn(styles.icon, styles[theme], sizeStyles[size], className),
57
- ref: ref
58
- }), /*#__PURE__*/React.createElement("path", {
59
- d: "M13 8a1 1 0 1 0-2 0v3H8a1 1 0 1 0 0 2h3v3a1 1 0 1 0 2 0v-3h3a1 1 0 1 0 0-2h-3z"
60
- }), /*#__PURE__*/React.createElement("path", {
61
- d: "M3 5.5A2.5 2.5 0 0 1 5.5 3h13A2.5 2.5 0 0 1 21 5.5v13a2.5 2.5 0 0 1-2.5 2.5h-13A2.5 2.5 0 0 1 3 18.5zM5.5 5a.5.5 0 0 0-.5.5v13a.5.5 0 0 0 .5.5h13a.5.5 0 0 0 .5-.5v-13a.5.5 0 0 0-.5-.5z"
62
- }));
63
- }
64
-
65
- return /*#__PURE__*/React.createElement("svg", _extends({
66
- viewBox: "0 0 28 28"
67
- }, props, {
68
- className: cn(styles.icon, styles[theme], sizeStyles[size], className),
69
- ref: ref
70
- }), /*#__PURE__*/React.createElement("path", {
71
- d: "M15 9a1 1 0 1 0-2 0v4H9a1 1 0 1 0 0 2h4v4a1 1 0 1 0 2 0v-4h4a1 1 0 1 0 0-2h-4z"
72
- }), /*#__PURE__*/React.createElement("path", {
73
- d: "M4 7a3 3 0 0 1 3-3h14a3 3 0 0 1 3 3v14a3 3 0 0 1-3 3H7a3 3 0 0 1-3-3zm3-1a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1z"
74
- }));
75
- });
76
- AddOutlineIcon.propTypes = {
77
- className: PropTypes.string,
78
- theme: PropTypes.oneOf(["light", "dark"]),
79
- size: PropTypes.oneOf(["xs", "s", "m", "l"])
80
- };
81
- AddOutlineIcon.defaultProps = {
82
- size: "m"
83
- };
84
- export { Size, AddOutlineIcon as default };