@rescui/collapse 0.5.14 → 0.5.16-RUI-239-Allow-collapse-text-inside-button-0fe433a8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,10 +1,15 @@
1
1
  var styles = {
2
- "icon": "_icon_afka1x_4",
3
- "sizeXS": "_sizeXS_afka1x_14",
4
- "sizeS": "_sizeS_afka1x_18",
5
- "sizeM": "_sizeM_afka1x_22",
6
- "sizeL": "_sizeL_afka1x_26",
7
- "light": "_light_afka1x_30",
8
- "dark": "_dark_afka1x_34"
2
+ "icon": "_icon_1yrim0e_4",
3
+ "sizeXS": "_sizeXS_1yrim0e_14",
4
+ "sizeS": "_sizeS_1yrim0e_18",
5
+ "sizeM": "_sizeM_1yrim0e_22",
6
+ "sizeL": "_sizeL_1yrim0e_26",
7
+ "light": "_light_1yrim0e_30",
8
+ "dark": "_dark_1yrim0e_34",
9
+ "allVariants": "_allVariants_1yrim0e_48",
10
+ "variant16": "_variant16_1yrim0e_53",
11
+ "variant20": "_variant20_1yrim0e_54",
12
+ "variant24": "_variant24_1yrim0e_55",
13
+ "variant28": "_variant28_1yrim0e_58"
9
14
  };
10
15
  export { styles as default };
@@ -0,0 +1,106 @@
1
+ import _extends from '@babel/runtime-corejs3/helpers/esm/extends';
2
+ import React from 'react';
3
+ import PropTypes from 'prop-types';
4
+ import cn from 'classnames';
5
+ import styles from './index.css.js';
6
+ const sizeStyles = {
7
+ "xs": styles.sizeXS,
8
+ "s": styles.sizeS,
9
+ "m": styles.sizeM,
10
+ "l": styles.sizeL
11
+ };
12
+ const Size = {
13
+ "xs": "xs",
14
+ "s": "s",
15
+ "m": "m",
16
+ "l": "l"
17
+ };
18
+ const PlusIcon16 = /*#__PURE__*/React.forwardRef((props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
19
+ viewBox: "0 0 16 16"
20
+ }, props, {
21
+ ref: ref
22
+ }), /*#__PURE__*/React.createElement("path", {
23
+ d: "M8 1.75a.75.75 0 0 1 .75.75v4.75h4.75a.75.75 0 0 1 0 1.5H8.75v4.75a.75.75 0 0 1-1.5 0V8.75H2.5a.75.75 0 0 1 0-1.5h4.75V2.5A.75.75 0 0 1 8 1.75"
24
+ })));
25
+ PlusIcon16.displayName = 'PlusIcon16';
26
+ const PlusIcon20 = /*#__PURE__*/React.forwardRef((props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
27
+ viewBox: "0 0 20 20"
28
+ }, props, {
29
+ ref: ref
30
+ }), /*#__PURE__*/React.createElement("path", {
31
+ d: "M10 3a1 1 0 0 1 1 1v5h5a1 1 0 1 1 0 2h-5v5a1 1 0 1 1-2 0v-5H4a1 1 0 1 1 0-2h5V4a1 1 0 0 1 1-1"
32
+ })));
33
+ PlusIcon20.displayName = 'PlusIcon20';
34
+ const PlusIcon24 = /*#__PURE__*/React.forwardRef((props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
35
+ viewBox: "0 0 24 24"
36
+ }, props, {
37
+ ref: ref
38
+ }), /*#__PURE__*/React.createElement("path", {
39
+ d: "M12.5 3A1.5 1.5 0 0 1 14 4.5V10h5.5a1.5 1.5 0 0 1 0 3H14v5.5a1.5 1.5 0 0 1-3 0V13H5.5a1.5 1.5 0 0 1 0-3H11V4.5A1.5 1.5 0 0 1 12.5 3"
40
+ })));
41
+ PlusIcon24.displayName = 'PlusIcon24';
42
+ const PlusIcon28 = /*#__PURE__*/React.forwardRef((props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
43
+ viewBox: "0 0 28 28"
44
+ }, props, {
45
+ ref: ref
46
+ }), /*#__PURE__*/React.createElement("path", {
47
+ d: "M14.5 4A1.5 1.5 0 0 1 16 5.5V12h6.5a1.5 1.5 0 0 1 0 3H16v6.5a1.5 1.5 0 0 1-3 0V15H6.5a1.5 1.5 0 0 1 0-3H13V5.5A1.5 1.5 0 0 1 14.5 4"
48
+ })));
49
+ PlusIcon28.displayName = 'PlusIcon28';
50
+ const PlusIcon = /*#__PURE__*/React.forwardRef((_ref, ref) => {
51
+ let {
52
+ theme,
53
+ size: sizeFromProps = "m",
54
+ className,
55
+ style,
56
+ ['data-render-all-sizes']: renderAllSizes = false,
57
+ ...props
58
+ } = _ref;
59
+ const size = sizeFromProps in Size ? sizeFromProps : "m";
60
+ const mainProps = { ...props,
61
+ className: cn(styles.icon, styles[theme], sizeStyles[size], renderAllSizes && styles.allVariants, className),
62
+ style: renderAllSizes ? {
63
+ '--rs-icon-ar-width': 28,
64
+ '--rs-icon-ar-height': 28,
65
+ ...style
66
+ } : style,
67
+ ref
68
+ };
69
+
70
+ if (renderAllSizes) {
71
+ return /*#__PURE__*/React.createElement("svg", _extends({
72
+ viewBox: "0 0 28 28"
73
+ }, mainProps), /*#__PURE__*/React.createElement(PlusIcon16, {
74
+ className: styles.variant16
75
+ }), /*#__PURE__*/React.createElement(PlusIcon20, {
76
+ className: styles.variant20
77
+ }), /*#__PURE__*/React.createElement(PlusIcon24, {
78
+ className: styles.variant24
79
+ }), /*#__PURE__*/React.createElement(PlusIcon28, {
80
+ className: styles.variant28
81
+ }));
82
+ }
83
+
84
+ if (size === Size['xs']) {
85
+ return /*#__PURE__*/React.createElement(PlusIcon16, mainProps);
86
+ }
87
+
88
+ if (size === Size['s']) {
89
+ return /*#__PURE__*/React.createElement(PlusIcon20, mainProps);
90
+ }
91
+
92
+ if (size === Size['m']) {
93
+ return /*#__PURE__*/React.createElement(PlusIcon24, mainProps);
94
+ }
95
+
96
+ return /*#__PURE__*/React.createElement(PlusIcon28, mainProps);
97
+ });
98
+ PlusIcon.displayName = 'PlusIcon';
99
+ PlusIcon.propTypes = {
100
+ className: PropTypes.string,
101
+ theme: PropTypes.oneOf(["light", "dark"]),
102
+ size: PropTypes.oneOf(["xs", "s", "m", "l"]),
103
+ 'data-render-all-sizes': PropTypes.bool,
104
+ style: PropTypes.object
105
+ };
106
+ export { Size, PlusIcon as default };
@@ -9,28 +9,98 @@ const sizeStyles = {
9
9
  "m": styles.sizeM,
10
10
  "l": styles.sizeL
11
11
  };
12
+ const Size = {
13
+ "xs": "xs",
14
+ "s": "s",
15
+ "m": "m",
16
+ "l": "l"
17
+ };
18
+ const RightIcon16 = /*#__PURE__*/React.forwardRef((props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
19
+ viewBox: "0 0 16 16"
20
+ }, props, {
21
+ ref: ref
22
+ }), /*#__PURE__*/React.createElement("path", {
23
+ d: "M5.97 4.47a.75.75 0 0 0 0 1.06L8.44 8l-2.47 2.47a.75.75 0 1 0 1.06 1.06l3-3a.75.75 0 0 0 0-1.06l-3-3a.75.75 0 0 0-1.06 0"
24
+ })));
25
+ RightIcon16.displayName = 'RightIcon16';
26
+ const RightIcon20 = /*#__PURE__*/React.forwardRef((props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
27
+ viewBox: "0 0 20 20"
28
+ }, props, {
29
+ ref: ref
30
+ }), /*#__PURE__*/React.createElement("path", {
31
+ d: "M7.293 5.293a1 1 0 0 0 0 1.414L10.586 10l-3.293 3.293a1 1 0 1 0 1.414 1.414l4-4a1 1 0 0 0 0-1.414l-4-4a1 1 0 0 0-1.414 0"
32
+ })));
33
+ RightIcon20.displayName = 'RightIcon20';
34
+ const RightIcon24 = /*#__PURE__*/React.forwardRef((props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
35
+ viewBox: "0 0 24 24"
36
+ }, props, {
37
+ ref: ref
38
+ }), /*#__PURE__*/React.createElement("path", {
39
+ d: "M7.94 4.94a1.5 1.5 0 0 0 0 2.12L12.878 12l-4.94 4.94a1.5 1.5 0 0 0 2.122 2.12l6-6a1.5 1.5 0 0 0 0-2.12l-6-6a1.5 1.5 0 0 0-2.122 0"
40
+ })));
41
+ RightIcon24.displayName = 'RightIcon24';
42
+ const RightIcon28 = /*#__PURE__*/React.forwardRef((props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
43
+ viewBox: "0 0 28 28"
44
+ }, props, {
45
+ ref: ref
46
+ }), /*#__PURE__*/React.createElement("path", {
47
+ d: "M9.44 5.94a1.5 1.5 0 0 0 0 2.12L15.378 14l-5.94 5.94a1.5 1.5 0 0 0 2.122 2.12l7-7a1.5 1.5 0 0 0 0-2.12l-7-7a1.5 1.5 0 0 0-2.122 0"
48
+ })));
49
+ RightIcon28.displayName = 'RightIcon28';
12
50
  const RightIcon = /*#__PURE__*/React.forwardRef((_ref, ref) => {
13
51
  let {
14
52
  theme,
15
- size,
53
+ size: sizeFromProps = "m",
16
54
  className,
55
+ style,
56
+ ['data-render-all-sizes']: renderAllSizes = false,
17
57
  ...props
18
58
  } = _ref;
19
- return /*#__PURE__*/React.createElement("svg", _extends({
20
- viewBox: "0 0 24 24"
21
- }, props, {
22
- className: cn(styles.icon, styles[theme], sizeStyles[size], className),
23
- ref: ref
24
- }), /*#__PURE__*/React.createElement("path", {
25
- d: "M9.004 19l8-7-8-7v14z"
26
- }));
59
+ const size = sizeFromProps in Size ? sizeFromProps : "m";
60
+ const mainProps = { ...props,
61
+ className: cn(styles.icon, styles[theme], sizeStyles[size], renderAllSizes && styles.allVariants, className),
62
+ style: renderAllSizes ? {
63
+ '--rs-icon-ar-width': 28,
64
+ '--rs-icon-ar-height': 28,
65
+ ...style
66
+ } : style,
67
+ ref
68
+ };
69
+
70
+ if (renderAllSizes) {
71
+ return /*#__PURE__*/React.createElement("svg", _extends({
72
+ viewBox: "0 0 28 28"
73
+ }, mainProps), /*#__PURE__*/React.createElement(RightIcon16, {
74
+ className: styles.variant16
75
+ }), /*#__PURE__*/React.createElement(RightIcon20, {
76
+ className: styles.variant20
77
+ }), /*#__PURE__*/React.createElement(RightIcon24, {
78
+ className: styles.variant24
79
+ }), /*#__PURE__*/React.createElement(RightIcon28, {
80
+ className: styles.variant28
81
+ }));
82
+ }
83
+
84
+ if (size === Size['xs']) {
85
+ return /*#__PURE__*/React.createElement(RightIcon16, mainProps);
86
+ }
87
+
88
+ if (size === Size['s']) {
89
+ return /*#__PURE__*/React.createElement(RightIcon20, mainProps);
90
+ }
91
+
92
+ if (size === Size['m']) {
93
+ return /*#__PURE__*/React.createElement(RightIcon24, mainProps);
94
+ }
95
+
96
+ return /*#__PURE__*/React.createElement(RightIcon28, mainProps);
27
97
  });
98
+ RightIcon.displayName = 'RightIcon';
28
99
  RightIcon.propTypes = {
29
100
  className: PropTypes.string,
30
101
  theme: PropTypes.oneOf(["light", "dark"]),
31
- size: PropTypes.oneOf(["xs", "s", "m", "l"])
32
- };
33
- RightIcon.defaultProps = {
34
- size: "m"
102
+ size: PropTypes.oneOf(["xs", "s", "m", "l"]),
103
+ 'data-render-all-sizes': PropTypes.bool,
104
+ style: PropTypes.object
35
105
  };
36
- export { RightIcon as default };
106
+ 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_axpybf_6",
3
- "themeDark": "_themeDark_axpybf_9",
4
- "sizeS": "_sizeS_axpybf_13",
5
- "sizeM": "_sizeM_axpybf_16",
6
- "sizeL": "_sizeL_axpybf_19",
7
- "classic": "_classic_axpybf_23",
8
- "rock": "_rock_axpybf_26",
9
- "clear": "_clear_axpybf_29",
10
- "hasBorderBottom": "_hasBorderBottom_axpybf_33",
11
- "leftIcon": "_leftIcon_axpybf_37",
12
- "rightIcon": "_rightIcon_axpybf_40",
13
- "disableLeftPadding": "_disableLeftPadding_axpybf_44",
14
- "main": "_main_axpybf_48",
15
- "opening": "_opening_axpybf_59",
16
- "opened": "_opened_axpybf_60",
17
- "closing": "_closing_axpybf_61",
18
- "title": "_title_axpybf_95",
19
- "content": "_content_axpybf_103",
20
- "closed": "_closed_axpybf_111",
21
- "closingTransition": "_closingTransition_axpybf_120",
22
- "innerWrapper": "_innerWrapper_axpybf_127",
23
- "button": "_button_axpybf_133",
24
- "icon": "_icon_axpybf_186",
25
- "iconPlus": "_iconPlus_axpybf_202",
26
- "iconArrow": "_iconArrow_axpybf_207",
27
- "accordion": "_accordion_axpybf_213",
28
- "accordionGap0": "_accordionGap0_axpybf_218",
29
- "accordionGap8": "_accordionGap8_axpybf_221",
30
- "accordionGap12": "_accordionGap12_axpybf_224",
31
- "accordionGap16": "_accordionGap16_axpybf_227",
32
- "accordionGap24": "_accordionGap24_axpybf_230",
33
- "accordionGap32": "_accordionGap32_axpybf_233"
2
+ "themeLight": "_themeLight_1xpq2nd_6",
3
+ "themeDark": "_themeDark_1xpq2nd_9",
4
+ "sizeS": "_sizeS_1xpq2nd_13",
5
+ "sizeM": "_sizeM_1xpq2nd_16",
6
+ "sizeL": "_sizeL_1xpq2nd_19",
7
+ "classic": "_classic_1xpq2nd_23",
8
+ "rock": "_rock_1xpq2nd_26",
9
+ "clear": "_clear_1xpq2nd_29",
10
+ "hasBorderBottom": "_hasBorderBottom_1xpq2nd_33",
11
+ "leftIcon": "_leftIcon_1xpq2nd_37",
12
+ "rightIcon": "_rightIcon_1xpq2nd_40",
13
+ "disableLeftPadding": "_disableLeftPadding_1xpq2nd_44",
14
+ "main": "_main_1xpq2nd_48",
15
+ "opening": "_opening_1xpq2nd_59",
16
+ "opened": "_opened_1xpq2nd_60",
17
+ "closing": "_closing_1xpq2nd_61",
18
+ "title": "_title_1xpq2nd_95",
19
+ "content": "_content_1xpq2nd_103",
20
+ "closed": "_closed_1xpq2nd_111",
21
+ "closingTransition": "_closingTransition_1xpq2nd_120",
22
+ "innerWrapper": "_innerWrapper_1xpq2nd_127",
23
+ "button": "_button_1xpq2nd_133",
24
+ "icon": "_icon_1xpq2nd_186",
25
+ "iconPlus": "_iconPlus_1xpq2nd_202",
26
+ "iconArrow": "_iconArrow_1xpq2nd_207",
27
+ "accordion": "_accordion_1xpq2nd_213",
28
+ "accordionGap0": "_accordionGap0_1xpq2nd_218",
29
+ "accordionGap8": "_accordionGap8_1xpq2nd_221",
30
+ "accordionGap12": "_accordionGap12_1xpq2nd_224",
31
+ "accordionGap16": "_accordionGap16_1xpq2nd_227",
32
+ "accordionGap24": "_accordionGap24_1xpq2nd_230",
33
+ "accordionGap32": "_accordionGap32_1xpq2nd_233"
34
34
  };
35
35
  export { styles as default };
package/lib/index.css CHANGED
@@ -1,4 +1,4 @@
1
- ._icon_afka1x_4{
1
+ ._icon_1yrim0e_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_afka1x_4{
11
+ ._icon_1yrim0e_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_afka1x_4{
20
+ ._icon_1yrim0e_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_afka1x_4{
28
+ ._icon_1yrim0e_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_afka1x_14{
35
+ ._sizeXS_1yrim0e_14{
36
36
  --_rs-icons-height:16px;
37
37
  }
38
- ._sizeS_afka1x_18{
38
+ ._sizeS_1yrim0e_18{
39
39
  --_rs-icons-height:20px;
40
40
  }
41
- ._sizeM_afka1x_22{
41
+ ._sizeM_1yrim0e_22{
42
42
  --_rs-icons-height:24px;
43
43
  }
44
- ._sizeL_afka1x_26{
44
+ ._sizeL_1yrim0e_26{
45
45
  --_rs-icons-height:28px;
46
46
  }
47
- ._light_afka1x_30{
47
+ ._light_1yrim0e_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_afka1x_34{
51
+ ._dark_1yrim0e_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_axpybf_6{
63
+ ._allVariants_1yrim0e_48{
64
+ aspect-ratio:var(--rs-icon-ar-width, 1) / var(--rs-icon-ar-height, 1);
65
+ container:rs-icon / size;
66
+ }
67
+ ._variant16_1yrim0e_53,
68
+ ._variant20_1yrim0e_54,
69
+ ._variant24_1yrim0e_55{
70
+ display:none;
71
+ }
72
+ ._variant28_1yrim0e_58{
73
+ display:block;
74
+ }
75
+ @container rs-icon (max-height: 24px){
76
+ ._variant24_1yrim0e_55{
77
+ display:block;
78
+ }
79
+ ._variant28_1yrim0e_58{
80
+ display:none;
81
+ }
82
+ }
83
+ @container rs-icon (max-height: 20px){
84
+ ._variant20_1yrim0e_54{
85
+ display:block;
86
+ }
87
+ ._variant24_1yrim0e_55{
88
+ display:none;
89
+ }
90
+ }
91
+ @container rs-icon (max-height: 16px){
92
+ ._variant16_1yrim0e_53{
93
+ display:block;
94
+ }
95
+ ._variant20_1yrim0e_54{
96
+ display:none;
97
+ }
98
+ }
99
+ ._themeLight_1xpq2nd_6{
64
100
  --rs-theme-dark:0;
65
101
  }
66
- ._themeDark_axpybf_9{
102
+ ._themeDark_1xpq2nd_9{
67
103
  --rs-theme-dark:1;
68
104
  }
69
- ._sizeS_axpybf_13{
105
+ ._sizeS_1xpq2nd_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_axpybf_13 > [data-rs-internal='collapse__button'] > [data-rs-internal='collapse__title']{
110
+ ._sizeS_1xpq2nd_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_axpybf_13 > [data-rs-internal='collapse__content']{
141
+ ._sizeS_1xpq2nd_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_axpybf_16{
175
+ ._sizeM_1xpq2nd_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_axpybf_16 > [data-rs-internal='collapse__button'] > [data-rs-internal='collapse__title']{
180
+ ._sizeM_1xpq2nd_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_axpybf_16 > [data-rs-internal='collapse__content']{
211
+ ._sizeM_1xpq2nd_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;
@@ -210,16 +246,16 @@
210
246
  --_rs-typography-link-border-bottom-width-from-text:1px;
211
247
  }
212
248
  @media screen and (max-width: 640px){
213
- ._sizeM_axpybf_16 > [data-rs-internal='collapse__content']{
249
+ ._sizeM_1xpq2nd_16 > [data-rs-internal='collapse__content']{
214
250
  --_rs-typography-text-2-sm-list-li-margin-top-from-text:12px;
215
251
  }
216
252
  }
217
- ._sizeL_axpybf_19{
253
+ ._sizeL_1xpq2nd_19{
218
254
  --_rs-collapse-vertical-padding:12px;
219
255
  --_rs-collapse-horizontal-padding:16px;
220
256
  --_rs-collapse-icon-size:28px;
221
257
  }
222
- ._sizeL_axpybf_19 > [data-rs-internal='collapse__button'] > [data-rs-internal='collapse__title']{
258
+ ._sizeL_1xpq2nd_19 > [data-rs-internal='collapse__button'] > [data-rs-internal='collapse__title']{
223
259
  --_rs-typography-letter-spacing:var(--rs-h3-letter-spacing, normal);
224
260
  --_rs-typography-text-transform:initial;
225
261
  --_rs-typography-font-variant-numeric:initial;
@@ -250,7 +286,7 @@
250
286
  --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
251
287
  --_rs-typography-link-border-bottom-width-from-text:2px;
252
288
  }
253
- ._sizeL_axpybf_19 > [data-rs-internal='collapse__content']{
289
+ ._sizeL_1xpq2nd_19 > [data-rs-internal='collapse__content']{
254
290
  --_rs-typography-letter-spacing:var(--rs-text-1-letter-spacing, normal);
255
291
  --_rs-typography-text-transform:initial;
256
292
  --_rs-typography-font-variant-numeric:initial;
@@ -288,11 +324,11 @@
288
324
  --_rs-typography-link-border-bottom-width-from-text:1px;
289
325
  }
290
326
  @media screen and (max-width: 640px){
291
- ._sizeL_axpybf_19 > [data-rs-internal='collapse__content']{
327
+ ._sizeL_1xpq2nd_19 > [data-rs-internal='collapse__content']{
292
328
  --_rs-typography-text-1-sm-list-li-margin-top-from-text:16px;
293
329
  }
294
330
  }
295
- ._classic_axpybf_23{
331
+ ._classic_1xpq2nd_23{
296
332
  --_rs-collapse-active-theme-flip:0;
297
333
  --_rs-collapse-active-background:rgba(
298
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),
@@ -306,7 +342,7 @@
306
342
  );
307
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);
308
344
  }
309
- ._rock_axpybf_26{
345
+ ._rock_1xpq2nd_26{
310
346
  --_rs-collapse-active-theme-flip:1;
311
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));
312
348
  --_rs-collapse-active-border-bottom-to-padding-multiplier:1;
@@ -317,7 +353,7 @@
317
353
  );
318
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);
319
355
  }
320
- ._clear_axpybf_29{
356
+ ._clear_1xpq2nd_29{
321
357
  --_rs-collapse-active-theme-flip:0;
322
358
  --_rs-collapse-active-background:transparent;
323
359
  --_rs-collapse-active-border-bottom-to-padding-multiplier:0;
@@ -328,27 +364,27 @@
328
364
  0.7
329
365
  );
330
366
  }
331
- ._hasBorderBottom_axpybf_33{
367
+ ._hasBorderBottom_1xpq2nd_33{
332
368
  --_rs-collapse-border-bottom-width-or-initial:1px;
333
369
  }
334
- ._leftIcon_axpybf_37{
370
+ ._leftIcon_1xpq2nd_37{
335
371
  --_rs-collapse-button-flex-direction:row;
336
372
  --_rs-collapse-icon-margin:0 var(--_rs-collapse-horizontal-padding) 0 0;
337
373
  --_rs-collapse-inner-wrapper-padding-left-base:calc(var(--_rs-collapse-horizontal-padding)*2 + var(--_rs-collapse-icon-size));
338
374
  }
339
- ._rightIcon_axpybf_40{
375
+ ._rightIcon_1xpq2nd_40{
340
376
  --_rs-collapse-button-flex-direction:row-reverse;
341
377
  --_rs-collapse-icon-margin:0 0 0 var(--_rs-collapse-horizontal-padding);
342
378
  --_rs-collapse-inner-wrapper-padding-left-base:var(
343
379
  --_rs-collapse-horizontal-padding
344
380
  );
345
381
  }
346
- ._disableLeftPadding_axpybf_44{
382
+ ._disableLeftPadding_1xpq2nd_44{
347
383
  --_rs-collapse-inner-wrapper-padding-left-from-disable-left-padding-or-initial:var(
348
384
  --_rs-collapse-horizontal-padding
349
385
  );
350
386
  }
351
- ._main_axpybf_48{
387
+ ._main_1xpq2nd_48{
352
388
  --_rs-theme-dark:var(
353
389
  --_rs-internal-force-theme-dark-consult-rescui-before-using,
354
390
  var(--rs-theme-dark, 0)
@@ -358,7 +394,7 @@
358
394
  --_rs-theme-light-coefficient:calc(1 - var(--_rs-theme-dark-coefficient));
359
395
  }
360
396
  @supports (color: color-mix(in srgb, #fff 50%, #000 50%)){
361
- ._main_axpybf_48{
397
+ ._main_1xpq2nd_48{
362
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)));
363
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)));
364
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)));
@@ -367,7 +403,7 @@
367
403
  }
368
404
  }
369
405
  @supports not (color: color-mix(in srgb, #fff 50%, #000 50%)){
370
- ._main_axpybf_48{
406
+ ._main_1xpq2nd_48{
371
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);
372
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));
373
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));
@@ -375,7 +411,7 @@
375
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));
376
412
  }
377
413
  }
378
- ._main_axpybf_48 {
414
+ ._main_1xpq2nd_48 {
379
415
  --_rs-collapse-border-bottom-width:var(
380
416
  --_rs-collapse-border-bottom-width-or-initial,
381
417
  0px
@@ -390,9 +426,9 @@
390
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);
391
427
  border-radius:var(--rs-collapse-border-radius, 0px);
392
428
  }
393
- ._main_axpybf_48._opening_axpybf_59,
394
- ._main_axpybf_48._opened_axpybf_60,
395
- ._main_axpybf_48._closing_axpybf_61{
429
+ ._main_1xpq2nd_48._opening_1xpq2nd_59,
430
+ ._main_1xpq2nd_48._opened_1xpq2nd_60,
431
+ ._main_1xpq2nd_48._closing_1xpq2nd_61{
396
432
  --rs-theme-flip:var(--_rs-collapse-active-theme-flip);
397
433
 
398
434
  padding-bottom:calc(var(--_rs-collapse-border-bottom-width)*var(--_rs-collapse-active-border-bottom-to-padding-multiplier));
@@ -402,7 +438,7 @@
402
438
  background:var(--_rs-collapse-active-background);
403
439
  }
404
440
  @media (hover: hover){
405
- ._main_axpybf_48:hover{
441
+ ._main_1xpq2nd_48:hover{
406
442
  --rs-theme-flip:var(--_rs-collapse-active-theme-flip);
407
443
 
408
444
  padding-bottom:calc(var(--_rs-collapse-border-bottom-width)*var(--_rs-collapse-active-border-bottom-to-padding-multiplier));
@@ -412,7 +448,7 @@
412
448
  background:var(--_rs-collapse-active-background);
413
449
  }
414
450
  }
415
- ._title_axpybf_95{
451
+ ._title_1xpq2nd_95{
416
452
  letter-spacing:var(
417
453
  --rs-text-base-letter-spacing,
418
454
  var(--_rs-typography-letter-spacing)
@@ -429,7 +465,7 @@
429
465
 
430
466
  color:inherit;
431
467
  }
432
- ._content_axpybf_103{
468
+ ._content_1xpq2nd_103{
433
469
  letter-spacing:var(
434
470
  --rs-text-base-letter-spacing,
435
471
  var(--_rs-typography-letter-spacing)
@@ -450,22 +486,22 @@
450
486
 
451
487
  height:0;
452
488
  }
453
- ._closed_axpybf_111 > ._content_axpybf_103{
489
+ ._closed_1xpq2nd_111 > ._content_1xpq2nd_103{
454
490
  display:none;
455
491
  }
456
- ._opened_axpybf_60 > ._content_axpybf_103{
492
+ ._opened_1xpq2nd_60 > ._content_1xpq2nd_103{
457
493
  height:initial;
458
494
  }
459
- ._opening_axpybf_59 > ._content_axpybf_103,
460
- ._closingTransition_axpybf_120 > ._content_axpybf_103{
495
+ ._opening_1xpq2nd_59 > ._content_1xpq2nd_103,
496
+ ._closingTransition_1xpq2nd_120 > ._content_1xpq2nd_103{
461
497
  overflow:hidden;
462
498
 
463
499
  transition:height 300ms;
464
500
  }
465
- ._innerWrapper_axpybf_127{
501
+ ._innerWrapper_1xpq2nd_127{
466
502
  padding:0 var(--_rs-collapse-horizontal-padding) var(--_rs-collapse-horizontal-padding) var(--_rs-collapse-inner-wrapper-padding-left);
467
503
  }
468
- ._button_axpybf_133{
504
+ ._button_1xpq2nd_133{
469
505
  color:var(
470
506
  --rs-color-hard,
471
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))
@@ -498,24 +534,24 @@
498
534
  -moz-osx-font-smoothing:inherit;
499
535
  -webkit-appearance:none;
500
536
  }
501
- ._button_axpybf_133::-moz-focus-inner{
537
+ ._button_1xpq2nd_133::-moz-focus-inner{
502
538
  padding:0;
503
539
 
504
540
  border:0;
505
541
  }
506
- ._button_axpybf_133:focus{
542
+ ._button_1xpq2nd_133:focus{
507
543
  outline:none;
508
544
  }
509
- ._button_axpybf_133:focus[data-focus-method='key']{
545
+ ._button_1xpq2nd_133:focus[data-focus-method='key']{
510
546
  box-shadow:var(--_rs-color-primary-t-dim) 0 0 0 4px;
511
547
  }
512
548
  @media (hover: hover){
513
- ._button_axpybf_133:hover{
549
+ ._button_1xpq2nd_133:hover{
514
550
  color:var(--_rs-collapse-button-hover-color);
515
551
  background:var(--_rs-collapse-button-hover-background);
516
552
  }
517
553
  }
518
- ._icon_axpybf_186{
554
+ ._icon_1xpq2nd_186{
519
555
  position:relative;
520
556
  top:0;
521
557
  left:0;
@@ -531,34 +567,34 @@
531
567
 
532
568
  will-change:transform;
533
569
  }
534
- ._opening_axpybf_59._iconPlus_axpybf_202 > ._button_axpybf_133 > ._icon_axpybf_186,
535
- ._opened_axpybf_60._iconPlus_axpybf_202 > ._button_axpybf_133 > ._icon_axpybf_186{
570
+ ._opening_1xpq2nd_59._iconPlus_1xpq2nd_202 > ._button_1xpq2nd_133 > ._icon_1xpq2nd_186,
571
+ ._opened_1xpq2nd_60._iconPlus_1xpq2nd_202 > ._button_1xpq2nd_133 > ._icon_1xpq2nd_186{
536
572
  transform:rotate(45deg);
537
573
  }
538
- ._opening_axpybf_59._iconArrow_axpybf_207 > ._button_axpybf_133 > ._icon_axpybf_186,
539
- ._opened_axpybf_60._iconArrow_axpybf_207 > ._button_axpybf_133 > ._icon_axpybf_186{
574
+ ._opening_1xpq2nd_59._iconArrow_1xpq2nd_207 > ._button_1xpq2nd_133 > ._icon_1xpq2nd_186,
575
+ ._opened_1xpq2nd_60._iconArrow_1xpq2nd_207 > ._button_1xpq2nd_133 > ._icon_1xpq2nd_186{
540
576
  transform:rotate(90deg);
541
577
  }
542
- ._accordion_axpybf_213{
578
+ ._accordion_1xpq2nd_213{
543
579
  display:flex;
544
580
  flex-direction:column;
545
581
  row-gap:var(--_rs-collapse-accordion-gap);
546
582
  }
547
- ._accordionGap0_axpybf_218{
583
+ ._accordionGap0_1xpq2nd_218{
548
584
  --_rs-collapse-accordion-gap:0px;
549
585
  }
550
- ._accordionGap8_axpybf_221{
586
+ ._accordionGap8_1xpq2nd_221{
551
587
  --_rs-collapse-accordion-gap:8px;
552
588
  }
553
- ._accordionGap12_axpybf_224{
589
+ ._accordionGap12_1xpq2nd_224{
554
590
  --_rs-collapse-accordion-gap:12px;
555
591
  }
556
- ._accordionGap16_axpybf_227{
592
+ ._accordionGap16_1xpq2nd_227{
557
593
  --_rs-collapse-accordion-gap:16px;
558
594
  }
559
- ._accordionGap24_axpybf_230{
595
+ ._accordionGap24_1xpq2nd_230{
560
596
  --_rs-collapse-accordion-gap:24px;
561
597
  }
562
- ._accordionGap32_axpybf_233{
598
+ ._accordionGap32_1xpq2nd_233{
563
599
  --_rs-collapse-accordion-gap:32px;
564
600
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rescui/collapse",
3
- "version": "0.5.14",
3
+ "version": "0.5.16-RUI-239-Allow-collapse-text-inside-button-0fe433a8.0+0fe433a8",
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",
19
+ "@rescui/use-resize-observer": "0.2.8-RUI-239-Allow-collapse-text-inside-button-0fe433a8.0+0fe433a8",
20
20
  "classnames": "^2.2.6"
21
21
  },
22
22
  "peerDependencies": {
@@ -25,10 +25,10 @@
25
25
  "react": ">=16.8.0 <19"
26
26
  },
27
27
  "devDependencies": {
28
- "@rescui/colors": "^0.2.7",
29
- "@rescui/scripts": "^0.3.5",
30
- "@rescui/typography": "^0.23.0",
31
- "@rescui/visual-regression": "^0.1.2",
28
+ "@rescui/colors": "0.2.9-RUI-239-Allow-collapse-text-inside-button-0fe433a8.0+0fe433a8",
29
+ "@rescui/scripts": "0.4.0",
30
+ "@rescui/typography": "0.23.2-RUI-239-Allow-collapse-text-inside-button-0fe433a8.0+0fe433a8",
31
+ "@rescui/visual-regression": "0.1.2",
32
32
  "@types/classnames": "^2.2.11"
33
33
  },
34
34
  "scripts": {
@@ -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": "f9a0228790b099e343e9017980e7635c12815bda"
39
+ "gitHead": "0fe433a8b558a82a822caf687a9da723f44aa041"
40
40
  }
@@ -1,36 +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 AddOutlineIcon = /*#__PURE__*/React.forwardRef((_ref, ref) => {
13
- let {
14
- theme,
15
- size,
16
- className,
17
- ...props
18
- } = _ref;
19
- return /*#__PURE__*/React.createElement("svg", _extends({
20
- viewBox: "0 0 24 24"
21
- }, props, {
22
- className: cn(styles.icon, styles[theme], sizeStyles[size], className),
23
- ref: ref
24
- }), /*#__PURE__*/React.createElement("path", {
25
- d: "M12.997 3h-2v8H3v2h7.997v8h2v-8H21v-2h-8.003V3z"
26
- }));
27
- });
28
- AddOutlineIcon.propTypes = {
29
- className: PropTypes.string,
30
- theme: PropTypes.oneOf(["light", "dark"]),
31
- size: PropTypes.oneOf(["xs", "s", "m", "l"])
32
- };
33
- AddOutlineIcon.defaultProps = {
34
- size: "m"
35
- };
36
- export { AddOutlineIcon as default };