@rescui/select 0.11.11-RUI-230-Update-icons-experiments-64b23ff1.22 → 0.11.11

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.
@@ -0,0 +1,36 @@
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 CheckIcon = /*#__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: "M8 20l-6-5.98 1.42-1.41L8 17.18l12.59-12.6L22 6 8 20z"
26
+ }));
27
+ });
28
+ CheckIcon.propTypes = {
29
+ className: PropTypes.string,
30
+ theme: PropTypes.oneOf(["light", "dark"]),
31
+ size: PropTypes.oneOf(["xs", "s", "m", "l"])
32
+ };
33
+ CheckIcon.defaultProps = {
34
+ size: "m"
35
+ };
36
+ export { CheckIcon as default };
@@ -0,0 +1,36 @@
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 CloseIcon = /*#__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: "M5.67 19.751l6.342-6.34 6.34 6.34 1.41-1.409-6.341-6.34 6.34-6.341-1.408-1.409-6.341 6.341L5.67 4.251 4.26 5.66l6.342 6.342-6.34 6.34 1.408 1.409z"
26
+ }));
27
+ });
28
+ CloseIcon.propTypes = {
29
+ className: PropTypes.string,
30
+ theme: PropTypes.oneOf(["light", "dark"]),
31
+ size: PropTypes.oneOf(["xs", "s", "m", "l"])
32
+ };
33
+ CloseIcon.defaultProps = {
34
+ size: "m"
35
+ };
36
+ export { CloseIcon as default };
@@ -0,0 +1,36 @@
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 DownIcon = /*#__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: "M19.004 9h-14l7 8 7-8z"
26
+ }));
27
+ });
28
+ DownIcon.propTypes = {
29
+ className: PropTypes.string,
30
+ theme: PropTypes.oneOf(["light", "dark"]),
31
+ size: PropTypes.oneOf(["xs", "s", "m", "l"])
32
+ };
33
+ DownIcon.defaultProps = {
34
+ size: "m"
35
+ };
36
+ export { DownIcon as default };
@@ -1,10 +1,10 @@
1
1
  var styles = {
2
- "icon": "_icon_585zsg_4",
3
- "sizeXS": "_sizeXS_585zsg_14",
4
- "sizeS": "_sizeS_585zsg_18",
5
- "sizeM": "_sizeM_585zsg_22",
6
- "sizeL": "_sizeL_585zsg_26",
7
- "light": "_light_585zsg_30",
8
- "dark": "_dark_585zsg_34"
2
+ "icon": "_icon_1p2plc6_4",
3
+ "sizeXS": "_sizeXS_1p2plc6_14",
4
+ "sizeS": "_sizeS_1p2plc6_18",
5
+ "sizeM": "_sizeM_1p2plc6_22",
6
+ "sizeL": "_sizeL_1p2plc6_26",
7
+ "light": "_light_1p2plc6_30",
8
+ "dark": "_dark_1p2plc6_34"
9
9
  };
10
10
  export { styles as default };
@@ -0,0 +1,44 @@
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 LoadingIcon = /*#__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("g", {
25
+ style: {
26
+ animation: "rs-icon-rotate 1s linear infinite",
27
+ transformOrigin: "center center"
28
+ }
29
+ }, /*#__PURE__*/React.createElement("path", {
30
+ opacity: 0.2,
31
+ d: "M12 2c5.523 0 10 4.477 10 10h-2a8 8 0 00-8-8V2z"
32
+ }), /*#__PURE__*/React.createElement("path", {
33
+ d: "M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10h-2a8 8 0 11-8-8V2z"
34
+ })));
35
+ });
36
+ LoadingIcon.propTypes = {
37
+ className: PropTypes.string,
38
+ theme: PropTypes.oneOf(["light", "dark"]),
39
+ size: PropTypes.oneOf(["xs", "s", "m", "l"])
40
+ };
41
+ LoadingIcon.defaultProps = {
42
+ size: "m"
43
+ };
44
+ export { LoadingIcon as default };
@@ -0,0 +1,36 @@
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 WarningIcon = /*#__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: "M2.769 20h18.363a.615.615 0 00.546-.891L12.504 2.8a.566.566 0 00-.989-.002C9.8 5.891 4.026 16.101 2.322 19.112A.61.61 0 002.77 20zm8.229-12h2v6h-2V8zm0 8h2v2h-2v-2z"
26
+ }));
27
+ });
28
+ WarningIcon.propTypes = {
29
+ className: PropTypes.string,
30
+ theme: PropTypes.oneOf(["light", "dark"]),
31
+ size: PropTypes.oneOf(["xs", "s", "m", "l"])
32
+ };
33
+ WarningIcon.defaultProps = {
34
+ size: "m"
35
+ };
36
+ export { WarningIcon as default };