@rescui/input 0.11.13-RUI-230-Update-icons-experiments-f88ab661.14 → 0.11.13-RUI-230-Update-icons-experiments-64b23ff1.22
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 +7 -7
- package/lib/_virtual/index.js +76 -0
- package/lib/_virtual/index2.js +76 -0
- package/lib/_virtual/index3.js +92 -0
- package/lib/index.css +127 -127
- package/lib/input.js +2 -2
- package/lib/input.p.module.css.js +28 -28
- package/lib/parts/right-icons.js +1 -1
- package/package.json +6 -6
- package/lib/_virtual/close.js +0 -36
- package/lib/_virtual/loading.js +0 -44
- package/lib/_virtual/warning.js +0 -36
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
var styles = {
|
|
2
|
-
"icon": "
|
|
3
|
-
"sizeXS": "
|
|
4
|
-
"sizeS": "
|
|
5
|
-
"sizeM": "
|
|
6
|
-
"sizeL": "
|
|
7
|
-
"light": "
|
|
8
|
-
"dark": "
|
|
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"
|
|
9
9
|
};
|
|
10
10
|
export { styles as default };
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import _extends from '@babel/runtime-corejs3/helpers/esm/extends';
|
|
2
|
+
import React__default 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 CloseIcon = /*#__PURE__*/React__default.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__default.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__default.createElement("path", {
|
|
33
|
+
d: "M2.47 2.47a.75.75 0 0 1 1.06 0L8 6.94l4.47-4.47a.75.75 0 1 1 1.06 1.06L9.06 8l4.47 4.47a.75.75 0 1 1-1.06 1.06L8 9.06l-4.47 4.47a.75.75 0 0 1-1.06-1.06L6.94 8 2.47 3.53a.75.75 0 0 1 0-1.06"
|
|
34
|
+
}));
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
if (size === Size['s']) {
|
|
38
|
+
return /*#__PURE__*/React__default.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__default.createElement("path", {
|
|
44
|
+
d: "M3.293 3.293a1 1 0 0 1 1.414 0L10 8.586l5.293-5.293a1 1 0 1 1 1.414 1.414L11.414 10l5.293 5.293a1 1 0 0 1-1.414 1.414L10 11.414l-5.293 5.293a1 1 0 0 1-1.414-1.414L8.586 10 3.293 4.707a1 1 0 0 1 0-1.414"
|
|
45
|
+
}));
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
if (size === Size['m']) {
|
|
49
|
+
return /*#__PURE__*/React__default.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__default.createElement("path", {
|
|
55
|
+
d: "M3.44 3.44a1.5 1.5 0 0 1 2.12 0L12 9.878l6.44-6.44a1.5 1.5 0 0 1 2.12 2.122L14.122 12l6.44 6.44a1.5 1.5 0 0 1-2.122 2.12L12 14.122l-6.44 6.44a1.5 1.5 0 0 1-2.12-2.122L9.878 12l-6.44-6.44a1.5 1.5 0 0 1 0-2.12"
|
|
56
|
+
}));
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
return /*#__PURE__*/React__default.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__default.createElement("path", {
|
|
65
|
+
d: "M4.44 4.44a1.5 1.5 0 0 1 2.12 0L14 11.878l7.44-7.44a1.5 1.5 0 0 1 2.12 2.122L16.122 14l7.44 7.44a1.5 1.5 0 0 1-2.122 2.12L14 16.122l-7.44 7.44a1.5 1.5 0 0 1-2.12-2.122L11.878 14l-7.44-7.44a1.5 1.5 0 0 1 0-2.12"
|
|
66
|
+
}));
|
|
67
|
+
});
|
|
68
|
+
CloseIcon.propTypes = {
|
|
69
|
+
className: PropTypes.string,
|
|
70
|
+
theme: PropTypes.oneOf(["light", "dark"]),
|
|
71
|
+
size: PropTypes.oneOf(["xs", "s", "m", "l"])
|
|
72
|
+
};
|
|
73
|
+
CloseIcon.defaultProps = {
|
|
74
|
+
size: "m"
|
|
75
|
+
};
|
|
76
|
+
export { CloseIcon, Size, CloseIcon as default };
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import _extends from '@babel/runtime-corejs3/helpers/esm/extends';
|
|
2
|
+
import React__default 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 WarningIcon = /*#__PURE__*/React__default.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__default.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__default.createElement("path", {
|
|
33
|
+
d: "m6.303 1.989-5.027 8.874C.483 12.263 1.494 14 3.103 14h9.793c1.609 0 2.62-1.736 1.827-3.137L9.696 1.99C8.949.67 7.05.67 6.303 1.989M8 12a1 1 0 1 1 0-2 1 1 0 0 1 0 2m0-8a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-1 0v-4A.5.5 0 0 1 8 4"
|
|
34
|
+
}));
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
if (size === Size['s']) {
|
|
38
|
+
return /*#__PURE__*/React__default.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__default.createElement("path", {
|
|
44
|
+
d: "m8.042 3.141-5.8 10.24C1.327 14.997 2.494 17 4.35 17h11.3c1.856 0 3.023-2.003 2.108-3.62l-5.8-10.239c-.862-1.521-3.054-1.521-3.916 0M10 5.25a.75.75 0 0 1 .75.75v5a.75.75 0 0 1-1.5 0V6a.75.75 0 0 1 .75-.75m0 9.25a1 1 0 1 1 0-2 1 1 0 0 1 0 2"
|
|
45
|
+
}));
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
if (size === Size['m']) {
|
|
49
|
+
return /*#__PURE__*/React__default.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__default.createElement("path", {
|
|
55
|
+
d: "m9.52 3.446-7.346 12.97C1.014 18.463 2.492 21 4.844 21h14.312c2.352 0 3.83-2.537 2.67-4.584L14.48 3.446c-1.092-1.928-3.868-1.928-4.96 0M12 7a1 1 0 0 1 1 1v5a1 1 0 1 1-2 0V8a1 1 0 0 1 1-1m0 11a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3"
|
|
56
|
+
}));
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
return /*#__PURE__*/React__default.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__default.createElement("path", {
|
|
65
|
+
d: "M11.26 4.598 3.14 18.933C1.858 21.195 3.492 24 6.09 24h15.82c2.599 0 4.232-2.805 2.951-5.067l-8.12-14.335c-1.207-2.13-4.275-2.13-5.481 0M14 8a1 1 0 0 1 1 1v6a1 1 0 1 1-2 0V9a1 1 0 0 1 1-1m0 12a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3"
|
|
66
|
+
}));
|
|
67
|
+
});
|
|
68
|
+
WarningIcon.propTypes = {
|
|
69
|
+
className: PropTypes.string,
|
|
70
|
+
theme: PropTypes.oneOf(["light", "dark"]),
|
|
71
|
+
size: PropTypes.oneOf(["xs", "s", "m", "l"])
|
|
72
|
+
};
|
|
73
|
+
WarningIcon.defaultProps = {
|
|
74
|
+
size: "m"
|
|
75
|
+
};
|
|
76
|
+
export { Size, WarningIcon, WarningIcon as default };
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import _extends from '@babel/runtime-corejs3/helpers/esm/extends';
|
|
2
|
+
import React__default 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 LoadingIcon = /*#__PURE__*/React__default.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__default.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__default.createElement("path", {
|
|
33
|
+
d: "M8 3.25a4.75 4.75 0 1 0 4.686 3.968.75.75 0 1 1 1.48-.245q.083.503.084 1.027a6.25 6.25 0 1 1-5.223-6.166.75.75 0 0 1-.245 1.48A5 5 0 0 0 8 3.25",
|
|
34
|
+
style: {
|
|
35
|
+
animation: "rs-icon-rotate 1s linear infinite",
|
|
36
|
+
transformOrigin: "center center"
|
|
37
|
+
}
|
|
38
|
+
}));
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
if (size === Size['s']) {
|
|
42
|
+
return /*#__PURE__*/React__default.createElement("svg", _extends({
|
|
43
|
+
viewBox: "0 0 20 20"
|
|
44
|
+
}, props, {
|
|
45
|
+
className: cn(styles.icon, styles[theme], sizeStyles[size], className),
|
|
46
|
+
ref: ref
|
|
47
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
48
|
+
d: "M10 4a6 6 0 1 0 5.92 5.012 1 1 0 0 1 1.972-.326Q18 9.329 18 10a8 8 0 1 1-6.686-7.892 1 1 0 0 1-.326 1.973A6 6 0 0 0 10 4",
|
|
49
|
+
style: {
|
|
50
|
+
animation: "rs-icon-rotate 1s linear infinite",
|
|
51
|
+
transformOrigin: "center center"
|
|
52
|
+
}
|
|
53
|
+
}));
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
if (size === Size['m']) {
|
|
57
|
+
return /*#__PURE__*/React__default.createElement("svg", _extends({
|
|
58
|
+
viewBox: "0 0 24 24"
|
|
59
|
+
}, props, {
|
|
60
|
+
className: cn(styles.icon, styles[theme], sizeStyles[size], className),
|
|
61
|
+
ref: ref
|
|
62
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
63
|
+
d: "M12 6a6 6 0 1 0 5.92 5.012 1.5 1.5 0 0 1 2.959-.49q.12.724.121 1.478a9 9 0 1 1-7.522-8.879 1.5 1.5 0 0 1-.49 2.96Q12.508 6 12 6",
|
|
64
|
+
style: {
|
|
65
|
+
animation: "rs-icon-rotate 1s linear infinite",
|
|
66
|
+
transformOrigin: "center center"
|
|
67
|
+
}
|
|
68
|
+
}));
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
return /*#__PURE__*/React__default.createElement("svg", _extends({
|
|
72
|
+
viewBox: "0 0 28 28"
|
|
73
|
+
}, props, {
|
|
74
|
+
className: cn(styles.icon, styles[theme], sizeStyles[size], className),
|
|
75
|
+
ref: ref
|
|
76
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
77
|
+
d: "M14 6.5a7.5 7.5 0 1 0 7.399 6.265 1.5 1.5 0 0 1 2.96-.49q.14.844.141 1.725c0 5.799-4.701 10.5-10.5 10.5S3.5 19.799 3.5 14 8.201 3.5 14 3.5q.813 0 1.595.12a1.5 1.5 0 0 1-.453 2.966A7.6 7.6 0 0 0 14 6.5",
|
|
78
|
+
style: {
|
|
79
|
+
animation: "rs-icon-rotate 1s linear infinite",
|
|
80
|
+
transformOrigin: "center center"
|
|
81
|
+
}
|
|
82
|
+
}));
|
|
83
|
+
});
|
|
84
|
+
LoadingIcon.propTypes = {
|
|
85
|
+
className: PropTypes.string,
|
|
86
|
+
theme: PropTypes.oneOf(["light", "dark"]),
|
|
87
|
+
size: PropTypes.oneOf(["xs", "s", "m", "l"])
|
|
88
|
+
};
|
|
89
|
+
LoadingIcon.defaultProps = {
|
|
90
|
+
size: "m"
|
|
91
|
+
};
|
|
92
|
+
export { LoadingIcon, Size, LoadingIcon as default };
|
package/lib/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._icon_585zsg_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_585zsg_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_585zsg_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_585zsg_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_585zsg_14{
|
|
36
36
|
--_rs-icons-height:16px;
|
|
37
37
|
}
|
|
38
|
-
.
|
|
38
|
+
._sizeS_585zsg_18{
|
|
39
39
|
--_rs-icons-height:20px;
|
|
40
40
|
}
|
|
41
|
-
.
|
|
41
|
+
._sizeM_585zsg_22{
|
|
42
42
|
--_rs-icons-height:24px;
|
|
43
43
|
}
|
|
44
|
-
.
|
|
44
|
+
._sizeL_585zsg_26{
|
|
45
45
|
--_rs-icons-height:28px;
|
|
46
46
|
}
|
|
47
|
-
.
|
|
47
|
+
._light_585zsg_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_585zsg_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,20 +60,20 @@
|
|
|
60
60
|
transform:rotate(360deg);
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
|
-
.
|
|
63
|
+
._light_ddqhmx_8{
|
|
64
64
|
--rs-theme-dark:0;
|
|
65
65
|
}
|
|
66
|
-
.
|
|
66
|
+
._dark_ddqhmx_11{
|
|
67
67
|
--rs-theme-dark:1;
|
|
68
68
|
}
|
|
69
|
-
.
|
|
69
|
+
._sizeS_ddqhmx_15{
|
|
70
70
|
--_rs-input-vertical-padding:6px;
|
|
71
71
|
--_rs-input-horizontal-padding:8px;
|
|
72
72
|
--_rs-input-parts-offset:4px;
|
|
73
73
|
--_rs-input-icon-offset:8px;
|
|
74
74
|
--_rs-input-icon-size:20px;
|
|
75
75
|
}
|
|
76
|
-
.
|
|
76
|
+
._sizeS_ddqhmx_15 [data-rs-internal='input__inner']::-moz-placeholder{
|
|
77
77
|
--_rs-typography-letter-spacing:var(--rs-text-3-letter-spacing, 0.0045em);
|
|
78
78
|
--_rs-typography-text-transform:initial;
|
|
79
79
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -107,10 +107,10 @@
|
|
|
107
107
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
108
108
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
109
109
|
}
|
|
110
|
-
.
|
|
111
|
-
.
|
|
112
|
-
.
|
|
113
|
-
.
|
|
110
|
+
._sizeS_ddqhmx_15 [data-rs-internal='input__label'],
|
|
111
|
+
._sizeS_ddqhmx_15 [data-rs-internal='input__inner'],
|
|
112
|
+
._sizeS_ddqhmx_15 [data-rs-internal='input__inner']::placeholder,
|
|
113
|
+
._sizeS_ddqhmx_15 [data-rs-internal='input__suffix']{
|
|
114
114
|
--_rs-typography-letter-spacing:var(--rs-text-3-letter-spacing, 0.0045em);
|
|
115
115
|
--_rs-typography-text-transform:initial;
|
|
116
116
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
145
145
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
146
146
|
}
|
|
147
|
-
.
|
|
147
|
+
._sizeS_ddqhmx_15 [data-rs-internal='input__bold-label']{
|
|
148
148
|
--_rs-typography-letter-spacing:var(--rs-h5-letter-spacing, normal);
|
|
149
149
|
--_rs-typography-text-transform:initial;
|
|
150
150
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -175,7 +175,7 @@
|
|
|
175
175
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
176
176
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
177
177
|
}
|
|
178
|
-
.
|
|
178
|
+
._sizeS_ddqhmx_15 [data-rs-internal='input__note']{
|
|
179
179
|
--_rs-typography-letter-spacing:var(--rs-text-3-letter-spacing, 0.0045em);
|
|
180
180
|
--_rs-typography-text-transform:initial;
|
|
181
181
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -209,7 +209,7 @@
|
|
|
209
209
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
210
210
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
211
211
|
}
|
|
212
|
-
.
|
|
212
|
+
._sizeS_ddqhmx_15 [data-rs-internal='input__error-message']{
|
|
213
213
|
--_rs-typography-letter-spacing:var(--rs-h5-letter-spacing, normal);
|
|
214
214
|
--_rs-typography-text-transform:initial;
|
|
215
215
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -240,17 +240,17 @@
|
|
|
240
240
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
241
241
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
242
242
|
}
|
|
243
|
-
.
|
|
243
|
+
._sizeS_ddqhmx_15 [data-rs-internal='input__error-icon']:not(html){
|
|
244
244
|
--_rs-icons-height:20px;
|
|
245
245
|
}
|
|
246
|
-
.
|
|
246
|
+
._sizeM_ddqhmx_18{
|
|
247
247
|
--_rs-input-vertical-padding:8px;
|
|
248
248
|
--_rs-input-horizontal-padding:8px;
|
|
249
249
|
--_rs-input-parts-offset:8px;
|
|
250
250
|
--_rs-input-icon-offset:8px;
|
|
251
251
|
--_rs-input-icon-size:24px;
|
|
252
252
|
}
|
|
253
|
-
.
|
|
253
|
+
._sizeM_ddqhmx_18 [data-rs-internal='input__inner']::-moz-placeholder{
|
|
254
254
|
--_rs-typography-letter-spacing:var(--rs-text-2-letter-spacing, 0.0015em);
|
|
255
255
|
--_rs-typography-text-transform:initial;
|
|
256
256
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -285,14 +285,14 @@
|
|
|
285
285
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
286
286
|
}
|
|
287
287
|
@media screen and (max-width: 640px){
|
|
288
|
-
.
|
|
288
|
+
._sizeM_ddqhmx_18 [data-rs-internal='input__inner']::-moz-placeholder{
|
|
289
289
|
--_rs-typography-list-li-margin-top-from-text:12px;
|
|
290
290
|
}
|
|
291
291
|
}
|
|
292
|
-
.
|
|
293
|
-
.
|
|
294
|
-
.
|
|
295
|
-
.
|
|
292
|
+
._sizeM_ddqhmx_18 [data-rs-internal='input__label'],
|
|
293
|
+
._sizeM_ddqhmx_18 [data-rs-internal='input__inner'],
|
|
294
|
+
._sizeM_ddqhmx_18 [data-rs-internal='input__inner']::placeholder,
|
|
295
|
+
._sizeM_ddqhmx_18 [data-rs-internal='input__suffix']{
|
|
296
296
|
--_rs-typography-letter-spacing:var(--rs-text-2-letter-spacing, 0.0015em);
|
|
297
297
|
--_rs-typography-text-transform:initial;
|
|
298
298
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -327,14 +327,14 @@
|
|
|
327
327
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
328
328
|
}
|
|
329
329
|
@media screen and (max-width: 640px){
|
|
330
|
-
.
|
|
331
|
-
.
|
|
332
|
-
.
|
|
333
|
-
.
|
|
330
|
+
._sizeM_ddqhmx_18 [data-rs-internal='input__label'],
|
|
331
|
+
._sizeM_ddqhmx_18 [data-rs-internal='input__inner'],
|
|
332
|
+
._sizeM_ddqhmx_18 [data-rs-internal='input__inner']::placeholder,
|
|
333
|
+
._sizeM_ddqhmx_18 [data-rs-internal='input__suffix']{
|
|
334
334
|
--_rs-typography-list-li-margin-top-from-text:12px;
|
|
335
335
|
}
|
|
336
336
|
}
|
|
337
|
-
.
|
|
337
|
+
._sizeM_ddqhmx_18 [data-rs-internal='input__bold-label']{
|
|
338
338
|
--_rs-typography-letter-spacing:var(--rs-h4-letter-spacing, normal);
|
|
339
339
|
--_rs-typography-text-transform:initial;
|
|
340
340
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -365,7 +365,7 @@
|
|
|
365
365
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
366
366
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
367
367
|
}
|
|
368
|
-
.
|
|
368
|
+
._sizeM_ddqhmx_18 [data-rs-internal='input__note']{
|
|
369
369
|
--_rs-typography-letter-spacing:var(--rs-text-3-letter-spacing, 0.0045em);
|
|
370
370
|
--_rs-typography-text-transform:initial;
|
|
371
371
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -399,7 +399,7 @@
|
|
|
399
399
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
400
400
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
401
401
|
}
|
|
402
|
-
.
|
|
402
|
+
._sizeM_ddqhmx_18 [data-rs-internal='input__error-message']{
|
|
403
403
|
--_rs-typography-letter-spacing:var(--rs-h5-letter-spacing, normal);
|
|
404
404
|
--_rs-typography-text-transform:initial;
|
|
405
405
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -430,17 +430,17 @@
|
|
|
430
430
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
431
431
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
432
432
|
}
|
|
433
|
-
.
|
|
433
|
+
._sizeM_ddqhmx_18 [data-rs-internal='input__error-icon']:not(html){
|
|
434
434
|
--_rs-icons-height:20px;
|
|
435
435
|
}
|
|
436
|
-
.
|
|
436
|
+
._sizeL_ddqhmx_21{
|
|
437
437
|
--_rs-input-vertical-padding:12px;
|
|
438
438
|
--_rs-input-horizontal-padding:16px;
|
|
439
439
|
--_rs-input-parts-offset:8px;
|
|
440
440
|
--_rs-input-icon-offset:16px;
|
|
441
441
|
--_rs-input-icon-size:28px;
|
|
442
442
|
}
|
|
443
|
-
.
|
|
443
|
+
._sizeL_ddqhmx_21 [data-rs-internal='input__inner']::-moz-placeholder{
|
|
444
444
|
--_rs-typography-letter-spacing:var(--rs-text-1-letter-spacing, normal);
|
|
445
445
|
--_rs-typography-text-transform:initial;
|
|
446
446
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -475,14 +475,14 @@
|
|
|
475
475
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
476
476
|
}
|
|
477
477
|
@media screen and (max-width: 640px){
|
|
478
|
-
.
|
|
478
|
+
._sizeL_ddqhmx_21 [data-rs-internal='input__inner']::-moz-placeholder{
|
|
479
479
|
--_rs-typography-list-li-margin-top-from-text:16px;
|
|
480
480
|
}
|
|
481
481
|
}
|
|
482
|
-
.
|
|
483
|
-
.
|
|
484
|
-
.
|
|
485
|
-
.
|
|
482
|
+
._sizeL_ddqhmx_21 [data-rs-internal='input__label'],
|
|
483
|
+
._sizeL_ddqhmx_21 [data-rs-internal='input__inner'],
|
|
484
|
+
._sizeL_ddqhmx_21 [data-rs-internal='input__inner']::placeholder,
|
|
485
|
+
._sizeL_ddqhmx_21 [data-rs-internal='input__suffix']{
|
|
486
486
|
--_rs-typography-letter-spacing:var(--rs-text-1-letter-spacing, normal);
|
|
487
487
|
--_rs-typography-text-transform:initial;
|
|
488
488
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -517,14 +517,14 @@
|
|
|
517
517
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
518
518
|
}
|
|
519
519
|
@media screen and (max-width: 640px){
|
|
520
|
-
.
|
|
521
|
-
.
|
|
522
|
-
.
|
|
523
|
-
.
|
|
520
|
+
._sizeL_ddqhmx_21 [data-rs-internal='input__label'],
|
|
521
|
+
._sizeL_ddqhmx_21 [data-rs-internal='input__inner'],
|
|
522
|
+
._sizeL_ddqhmx_21 [data-rs-internal='input__inner']::placeholder,
|
|
523
|
+
._sizeL_ddqhmx_21 [data-rs-internal='input__suffix']{
|
|
524
524
|
--_rs-typography-list-li-margin-top-from-text:16px;
|
|
525
525
|
}
|
|
526
526
|
}
|
|
527
|
-
.
|
|
527
|
+
._sizeL_ddqhmx_21 [data-rs-internal='input__bold-label']{
|
|
528
528
|
--_rs-typography-letter-spacing:var(--rs-h3-letter-spacing, normal);
|
|
529
529
|
--_rs-typography-text-transform:initial;
|
|
530
530
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -555,7 +555,7 @@
|
|
|
555
555
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
556
556
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
557
557
|
}
|
|
558
|
-
.
|
|
558
|
+
._sizeL_ddqhmx_21 [data-rs-internal='input__note']{
|
|
559
559
|
--_rs-typography-letter-spacing:var(--rs-text-2-letter-spacing, 0.0015em);
|
|
560
560
|
--_rs-typography-text-transform:initial;
|
|
561
561
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -590,11 +590,11 @@
|
|
|
590
590
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
591
591
|
}
|
|
592
592
|
@media screen and (max-width: 640px){
|
|
593
|
-
.
|
|
593
|
+
._sizeL_ddqhmx_21 [data-rs-internal='input__note']{
|
|
594
594
|
--_rs-typography-list-li-margin-top-from-text:12px;
|
|
595
595
|
}
|
|
596
596
|
}
|
|
597
|
-
.
|
|
597
|
+
._sizeL_ddqhmx_21 [data-rs-internal='input__error-message']{
|
|
598
598
|
--_rs-typography-letter-spacing:var(--rs-h4-letter-spacing, normal);
|
|
599
599
|
--_rs-typography-text-transform:initial;
|
|
600
600
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -625,10 +625,10 @@
|
|
|
625
625
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
626
626
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
627
627
|
}
|
|
628
|
-
.
|
|
628
|
+
._sizeL_ddqhmx_21 [data-rs-internal='input__error-icon']:not(html){
|
|
629
629
|
--_rs-icons-height:24px;
|
|
630
630
|
}
|
|
631
|
-
.
|
|
631
|
+
._classic_ddqhmx_25{
|
|
632
632
|
--_rs-input-focused-enabled-wrapper-border-width:2px;
|
|
633
633
|
--_rs-input-focused-enabled-wrapper-background:rgb(
|
|
634
634
|
calc(255 - var(--_rs-theme-dark-coefficient, 0)*184), calc(255 - var(--_rs-theme-dark-coefficient, 0)*184), calc(255 - var(--_rs-theme-dark-coefficient, 0)*182)
|
|
@@ -678,7 +678,7 @@
|
|
|
678
678
|
0.5
|
|
679
679
|
);
|
|
680
680
|
}
|
|
681
|
-
.
|
|
681
|
+
._rock_ddqhmx_28{
|
|
682
682
|
--_rs-input-focused-enabled-wrapper-border-width:0px;
|
|
683
683
|
--_rs-input-focused-enabled-wrapper-background:rgb(
|
|
684
684
|
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)
|
|
@@ -710,7 +710,7 @@
|
|
|
710
710
|
);
|
|
711
711
|
--_rs-input-error-focused-suffix-color:rgba(255,255,255,0.7);
|
|
712
712
|
}
|
|
713
|
-
.
|
|
713
|
+
._container_ddqhmx_32{
|
|
714
714
|
--_rs-theme-dark:var(
|
|
715
715
|
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
716
716
|
var(--rs-theme-dark, 0)
|
|
@@ -720,7 +720,7 @@
|
|
|
720
720
|
--_rs-theme-light-coefficient:calc(1 - var(--_rs-theme-dark-coefficient));
|
|
721
721
|
}
|
|
722
722
|
@supports (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
723
|
-
.
|
|
723
|
+
._container_ddqhmx_32{
|
|
724
724
|
--_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)));
|
|
725
725
|
--_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)));
|
|
726
726
|
--_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)));
|
|
@@ -729,7 +729,7 @@
|
|
|
729
729
|
}
|
|
730
730
|
}
|
|
731
731
|
@supports not (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
732
|
-
.
|
|
732
|
+
._container_ddqhmx_32{
|
|
733
733
|
--_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);
|
|
734
734
|
--_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));
|
|
735
735
|
--_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));
|
|
@@ -737,11 +737,11 @@
|
|
|
737
737
|
--_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));
|
|
738
738
|
}
|
|
739
739
|
}
|
|
740
|
-
.
|
|
740
|
+
._container_ddqhmx_32 {
|
|
741
741
|
|
|
742
742
|
display:block;
|
|
743
743
|
}
|
|
744
|
-
.
|
|
744
|
+
._wrapper_ddqhmx_39{
|
|
745
745
|
--_rs-input-border-width:1px;
|
|
746
746
|
|
|
747
747
|
display:flex;
|
|
@@ -752,27 +752,27 @@
|
|
|
752
752
|
|
|
753
753
|
background-color:rgb(calc(255 - var(--_rs-theme-dark-coefficient, 0)*207), calc(255 - var(--_rs-theme-dark-coefficient, 0)*207), calc(255 - var(--_rs-theme-dark-coefficient, 0)*204));
|
|
754
754
|
}
|
|
755
|
-
.
|
|
755
|
+
._disabled_ddqhmx_51 ._wrapper_ddqhmx_39{
|
|
756
756
|
cursor:auto;
|
|
757
757
|
|
|
758
758
|
background-color:rgb(calc(244 - var(--_rs-theme-dark-coefficient, 0)*219), calc(244 - var(--_rs-theme-dark-coefficient, 0)*219), calc(244 - var(--_rs-theme-dark-coefficient, 0)*216));
|
|
759
759
|
}
|
|
760
|
-
.
|
|
760
|
+
._error_ddqhmx_57 ._wrapper_ddqhmx_39{
|
|
761
761
|
--_rs-input-border-width:2px;
|
|
762
762
|
|
|
763
763
|
border-color:#F45C4A;
|
|
764
764
|
}
|
|
765
|
-
.
|
|
765
|
+
._enabled_ddqhmx_63._filled_ddqhmx_63 ._wrapper_ddqhmx_39{
|
|
766
766
|
border-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), 0.3);
|
|
767
767
|
}
|
|
768
768
|
@media (hover: hover){
|
|
769
|
-
.
|
|
769
|
+
._enabled_ddqhmx_63:hover ._wrapper_ddqhmx_39{
|
|
770
770
|
border-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), 0.5);
|
|
771
771
|
|
|
772
772
|
background-color:rgb(calc(255 - var(--_rs-theme-dark-coefficient, 0)*184), calc(255 - var(--_rs-theme-dark-coefficient, 0)*184), calc(255 - var(--_rs-theme-dark-coefficient, 0)*182));
|
|
773
773
|
}
|
|
774
774
|
}
|
|
775
|
-
.
|
|
775
|
+
._enabled_ddqhmx_63._focused_ddqhmx_75 ._wrapper_ddqhmx_39{
|
|
776
776
|
--_rs-input-border-width:var(
|
|
777
777
|
--_rs-input-focused-enabled-wrapper-border-width
|
|
778
778
|
);
|
|
@@ -782,18 +782,18 @@
|
|
|
782
782
|
background-color:var(--_rs-input-focused-enabled-wrapper-background);
|
|
783
783
|
}
|
|
784
784
|
@media (hover: hover){
|
|
785
|
-
.
|
|
785
|
+
._error_ddqhmx_57._enabled_ddqhmx_63:hover ._wrapper_ddqhmx_39{
|
|
786
786
|
border-color:#F45C4A;
|
|
787
787
|
}
|
|
788
788
|
}
|
|
789
|
-
.
|
|
790
|
-
.
|
|
789
|
+
._error_ddqhmx_57._enabled_ddqhmx_63._focused_ddqhmx_75 ._wrapper_ddqhmx_39,
|
|
790
|
+
._error_ddqhmx_57._enabled_ddqhmx_63._filled_ddqhmx_63 ._wrapper_ddqhmx_39{
|
|
791
791
|
border-color:#F45C4A;
|
|
792
792
|
}
|
|
793
|
-
.
|
|
793
|
+
._error_ddqhmx_57._enabled_ddqhmx_63._focused_ddqhmx_75 ._wrapper_ddqhmx_39{
|
|
794
794
|
background:var(--_rs-input-error-focused-enabled-wrapper-background);
|
|
795
795
|
}
|
|
796
|
-
.
|
|
796
|
+
._field_ddqhmx_101{
|
|
797
797
|
display:flex;
|
|
798
798
|
|
|
799
799
|
flex:1 1 auto;
|
|
@@ -802,7 +802,7 @@
|
|
|
802
802
|
|
|
803
803
|
padding:calc(var(--_rs-input-vertical-padding) - var(--_rs-input-border-width)) calc(var(--_rs-input-horizontal-padding) - var(--_rs-input-border-width));
|
|
804
804
|
}
|
|
805
|
-
.
|
|
805
|
+
._inner_ddqhmx_114{
|
|
806
806
|
letter-spacing:var(
|
|
807
807
|
--rs-text-base-letter-spacing,
|
|
808
808
|
var(--_rs-typography-letter-spacing)
|
|
@@ -815,26 +815,26 @@
|
|
|
815
815
|
font-variant-numeric:var(--_rs-typography-font-variant-numeric);
|
|
816
816
|
font-feature-settings:'kern', 'liga', 'calt';
|
|
817
817
|
}
|
|
818
|
-
.
|
|
818
|
+
._inner_ddqhmx_114::-ms-clear{
|
|
819
819
|
display:none;
|
|
820
820
|
|
|
821
821
|
width:0;
|
|
822
822
|
height:0;
|
|
823
823
|
}
|
|
824
|
-
.
|
|
824
|
+
._dark_ddqhmx_11 ._inner_ddqhmx_114{
|
|
825
825
|
color-scheme:dark;
|
|
826
826
|
}
|
|
827
827
|
@container style(--_rs-theme-dark-coefficient: 1){
|
|
828
|
-
.
|
|
828
|
+
._inner_ddqhmx_114{
|
|
829
829
|
color-scheme:dark
|
|
830
830
|
}
|
|
831
831
|
}
|
|
832
832
|
@container style(--_rs-theme-dark-coefficient: 0){
|
|
833
|
-
.
|
|
833
|
+
._inner_ddqhmx_114{
|
|
834
834
|
color-scheme:light
|
|
835
835
|
}
|
|
836
836
|
}
|
|
837
|
-
.
|
|
837
|
+
._inner_ddqhmx_114 {
|
|
838
838
|
|
|
839
839
|
display:block;
|
|
840
840
|
|
|
@@ -856,20 +856,20 @@
|
|
|
856
856
|
-moz-appearance:none;
|
|
857
857
|
appearance:none;
|
|
858
858
|
}
|
|
859
|
-
.
|
|
859
|
+
._inner_ddqhmx_114:focus{
|
|
860
860
|
outline:none;
|
|
861
861
|
}
|
|
862
|
-
.
|
|
863
|
-
.
|
|
862
|
+
._disabled_ddqhmx_51 ._inner_ddqhmx_114,
|
|
863
|
+
._inner_ddqhmx_114:disabled{
|
|
864
864
|
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), 0.7);
|
|
865
865
|
}
|
|
866
|
-
.
|
|
866
|
+
._focused_ddqhmx_75 ._inner_ddqhmx_114{
|
|
867
867
|
color:var(--_rs-input-focused-inner-color);
|
|
868
868
|
}
|
|
869
|
-
.
|
|
869
|
+
._error_ddqhmx_57._focused_ddqhmx_75 ._inner_ddqhmx_114{
|
|
870
870
|
color:var(--_rs-input-error-focused-inner-color);
|
|
871
871
|
}
|
|
872
|
-
.
|
|
872
|
+
._inner_ddqhmx_114::-moz-placeholder{
|
|
873
873
|
letter-spacing:var(
|
|
874
874
|
--rs-text-base-letter-spacing,
|
|
875
875
|
var(--_rs-typography-letter-spacing)
|
|
@@ -885,13 +885,13 @@
|
|
|
885
885
|
|
|
886
886
|
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), 0.5);
|
|
887
887
|
}
|
|
888
|
-
.
|
|
888
|
+
._focused_ddqhmx_75 ._inner_ddqhmx_114::-moz-placeholder{
|
|
889
889
|
color:var(--_rs-input-focused-inner-placeholder-color);
|
|
890
890
|
}
|
|
891
|
-
.
|
|
891
|
+
._error_ddqhmx_57._focused_ddqhmx_75 ._inner_ddqhmx_114::-moz-placeholder{
|
|
892
892
|
color:var(--_rs-input-error-focused-inner-placeholder-color);
|
|
893
893
|
}
|
|
894
|
-
.
|
|
894
|
+
._inner_ddqhmx_114::placeholder{
|
|
895
895
|
letter-spacing:var(
|
|
896
896
|
--rs-text-base-letter-spacing,
|
|
897
897
|
var(--_rs-typography-letter-spacing)
|
|
@@ -907,45 +907,45 @@
|
|
|
907
907
|
|
|
908
908
|
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), 0.5);
|
|
909
909
|
}
|
|
910
|
-
.
|
|
910
|
+
._focused_ddqhmx_75 ._inner_ddqhmx_114::placeholder{
|
|
911
911
|
color:var(--_rs-input-focused-inner-placeholder-color);
|
|
912
912
|
}
|
|
913
|
-
.
|
|
913
|
+
._error_ddqhmx_57._focused_ddqhmx_75 ._inner_ddqhmx_114::placeholder{
|
|
914
914
|
color:var(--_rs-input-error-focused-inner-placeholder-color);
|
|
915
915
|
}
|
|
916
|
-
.
|
|
916
|
+
._inner_ddqhmx_114:-moz-ui-invalid{
|
|
917
917
|
box-shadow:none;
|
|
918
918
|
}
|
|
919
|
-
.
|
|
919
|
+
._inner_ddqhmx_114:-moz-ui-invalid:-moz-focusring{
|
|
920
920
|
box-shadow:none;
|
|
921
921
|
}
|
|
922
|
-
.
|
|
923
|
-
.
|
|
924
|
-
.
|
|
925
|
-
.
|
|
922
|
+
._inner_ddqhmx_114:-webkit-autofill,
|
|
923
|
+
._inner_ddqhmx_114:-webkit-autofill:hover,
|
|
924
|
+
._inner_ddqhmx_114:-webkit-autofill:active,
|
|
925
|
+
._inner_ddqhmx_114:-webkit-autofill:focus{
|
|
926
926
|
-webkit-box-shadow:0 0 0 1000px 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)) inset;
|
|
927
927
|
|
|
928
928
|
transition-delay:9999s;
|
|
929
929
|
-webkit-text-fill-color: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));
|
|
930
930
|
}
|
|
931
|
-
.
|
|
931
|
+
._focused_ddqhmx_75 ._inner_ddqhmx_114:-webkit-autofill, ._focused_ddqhmx_75 ._inner_ddqhmx_114:-webkit-autofill:hover, ._focused_ddqhmx_75 ._inner_ddqhmx_114:-webkit-autofill:active, ._focused_ddqhmx_75 ._inner_ddqhmx_114:-webkit-autofill:focus{
|
|
932
932
|
-webkit-box-shadow:0 0 0 1000px var(--_rs-input-focused-autofill-box-shadow) inset;
|
|
933
933
|
-webkit-text-fill-color:var(--_rs-input-focused-autofill-color);
|
|
934
934
|
}
|
|
935
|
-
.
|
|
935
|
+
._error_ddqhmx_57._focused_ddqhmx_75 ._inner_ddqhmx_114:-webkit-autofill, ._error_ddqhmx_57._focused_ddqhmx_75 ._inner_ddqhmx_114:-webkit-autofill:hover, ._error_ddqhmx_57._focused_ddqhmx_75 ._inner_ddqhmx_114:-webkit-autofill:active, ._error_ddqhmx_57._focused_ddqhmx_75 ._inner_ddqhmx_114:-webkit-autofill:focus{
|
|
936
936
|
-webkit-box-shadow:0 0 0 1000px var(--_rs-input-error-focused-autofill-box-shadow) inset;
|
|
937
937
|
-webkit-text-fill-color:var(--_rs-input-error-focused-autofill-color);
|
|
938
938
|
}
|
|
939
|
-
.
|
|
939
|
+
._offSystemMicroelements_ddqhmx_229 ._inner_ddqhmx_114{
|
|
940
940
|
-moz-appearance:textfield;
|
|
941
941
|
}
|
|
942
|
-
.
|
|
943
|
-
.
|
|
942
|
+
._offSystemMicroelements_ddqhmx_229 ._inner_ddqhmx_114::-webkit-outer-spin-button,
|
|
943
|
+
._offSystemMicroelements_ddqhmx_229 ._inner_ddqhmx_114::-webkit-inner-spin-button{
|
|
944
944
|
margin:0;
|
|
945
945
|
-webkit-appearance:none;
|
|
946
946
|
appearance:none;
|
|
947
947
|
}
|
|
948
|
-
.
|
|
948
|
+
._iconWrapper_ddqhmx_239{
|
|
949
949
|
--_rs-input-icon-overlap:calc(var(--_rs-input-vertical-padding) - var(--_rs-input-border-width));
|
|
950
950
|
|
|
951
951
|
display:inline-flex;
|
|
@@ -958,15 +958,15 @@
|
|
|
958
958
|
|
|
959
959
|
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), 0.7);
|
|
960
960
|
}
|
|
961
|
-
.
|
|
961
|
+
._iconWrapper_ddqhmx_239._action_ddqhmx_254{
|
|
962
962
|
position:relative;
|
|
963
963
|
|
|
964
964
|
cursor:pointer;
|
|
965
965
|
}
|
|
966
|
-
.
|
|
966
|
+
._iconWrapper_ddqhmx_239._action_ddqhmx_254:focus{
|
|
967
967
|
outline:none;
|
|
968
968
|
}
|
|
969
|
-
.
|
|
969
|
+
._iconWrapper_ddqhmx_239._action_ddqhmx_254::before{
|
|
970
970
|
position:absolute;
|
|
971
971
|
top:-4px;
|
|
972
972
|
right:-4px;
|
|
@@ -981,56 +981,56 @@
|
|
|
981
981
|
content:'';
|
|
982
982
|
pointer-events:none;
|
|
983
983
|
}
|
|
984
|
-
.
|
|
984
|
+
._iconWrapper_ddqhmx_239._action_ddqhmx_254:focus[data-focus-method='key']::before{
|
|
985
985
|
display:block;
|
|
986
986
|
}
|
|
987
|
-
.
|
|
987
|
+
._disabled_ddqhmx_51 ._iconWrapper_ddqhmx_239{
|
|
988
988
|
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), 0.5);
|
|
989
989
|
}
|
|
990
|
-
.
|
|
990
|
+
._disabled_ddqhmx_51 ._iconWrapper_ddqhmx_239._action_ddqhmx_254{
|
|
991
991
|
pointer-events:none;
|
|
992
992
|
}
|
|
993
|
-
.
|
|
993
|
+
._iconWrapper_ddqhmx_239._right_ddqhmx_292{
|
|
994
994
|
margin-left:var(--_rs-input-icon-offset);
|
|
995
995
|
}
|
|
996
|
-
.
|
|
996
|
+
._iconWrapper_ddqhmx_239._left_ddqhmx_296{
|
|
997
997
|
margin-right:var(--_rs-input-icon-offset);
|
|
998
998
|
}
|
|
999
|
-
.
|
|
999
|
+
._focused_ddqhmx_75 ._iconWrapper_ddqhmx_239{
|
|
1000
1000
|
color:var(--_rs-input-focused-icon-color);
|
|
1001
1001
|
}
|
|
1002
|
-
.
|
|
1002
|
+
._error_ddqhmx_57._focused_ddqhmx_75 ._iconWrapper_ddqhmx_239{
|
|
1003
1003
|
color:var(--_rs-input-error-focused-icon-color);
|
|
1004
1004
|
}
|
|
1005
1005
|
@media (hover: hover){
|
|
1006
|
-
.
|
|
1006
|
+
._enabled_ddqhmx_63 ._iconWrapper_ddqhmx_239._action_ddqhmx_254:hover{
|
|
1007
1007
|
color: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));
|
|
1008
1008
|
}
|
|
1009
1009
|
|
|
1010
|
-
.
|
|
1010
|
+
._enabled_ddqhmx_63._focused_ddqhmx_75 ._iconWrapper_ddqhmx_239._action_ddqhmx_254:hover{
|
|
1011
1011
|
color:var(--_rs-input-focused-icon-accent-color);
|
|
1012
1012
|
}
|
|
1013
1013
|
|
|
1014
|
-
.
|
|
1014
|
+
._enabled_ddqhmx_63._error_ddqhmx_57._focused_ddqhmx_75 ._iconWrapper_ddqhmx_239._action_ddqhmx_254:hover{
|
|
1015
1015
|
color:var(--_rs-input-error-focused-icon-accent-color);
|
|
1016
1016
|
}
|
|
1017
1017
|
}
|
|
1018
|
-
.
|
|
1018
|
+
._enabled_ddqhmx_63 ._iconWrapper_ddqhmx_239._action_ddqhmx_254:focus[data-focus-method='key']{
|
|
1019
1019
|
color: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));
|
|
1020
1020
|
}
|
|
1021
|
-
.
|
|
1021
|
+
._enabled_ddqhmx_63._focused_ddqhmx_75 ._iconWrapper_ddqhmx_239._action_ddqhmx_254:focus[data-focus-method='key']{
|
|
1022
1022
|
color:var(--_rs-input-focused-icon-accent-color);
|
|
1023
1023
|
}
|
|
1024
|
-
.
|
|
1024
|
+
._enabled_ddqhmx_63._error_ddqhmx_57._focused_ddqhmx_75 ._iconWrapper_ddqhmx_239._action_ddqhmx_254:focus[data-focus-method='key']{
|
|
1025
1025
|
color:var(--_rs-input-error-focused-icon-accent-color);
|
|
1026
1026
|
}
|
|
1027
|
-
.
|
|
1027
|
+
._iconWrapper_ddqhmx_239 ._icon_ddqhmx_239{
|
|
1028
1028
|
fill:currentColor;
|
|
1029
1029
|
|
|
1030
1030
|
width:auto;
|
|
1031
1031
|
height:var(--_rs-input-icon-size);
|
|
1032
1032
|
}
|
|
1033
|
-
.
|
|
1033
|
+
._divider_ddqhmx_342{
|
|
1034
1034
|
display:block;
|
|
1035
1035
|
|
|
1036
1036
|
width:1px;
|
|
@@ -1039,10 +1039,10 @@
|
|
|
1039
1039
|
|
|
1040
1040
|
background: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);
|
|
1041
1041
|
}
|
|
1042
|
-
.
|
|
1042
|
+
._focused_ddqhmx_75 ._divider_ddqhmx_342{
|
|
1043
1043
|
background:var(--_rs-input-focused-divider-background);
|
|
1044
1044
|
}
|
|
1045
|
-
.
|
|
1045
|
+
._suffix_ddqhmx_356{
|
|
1046
1046
|
letter-spacing:var(
|
|
1047
1047
|
--rs-text-base-letter-spacing,
|
|
1048
1048
|
var(--_rs-typography-letter-spacing)
|
|
@@ -1061,13 +1061,13 @@
|
|
|
1061
1061
|
|
|
1062
1062
|
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), 0.5);
|
|
1063
1063
|
}
|
|
1064
|
-
.
|
|
1064
|
+
._focused_ddqhmx_75 ._suffix_ddqhmx_356{
|
|
1065
1065
|
color:var(--_rs-input-focused-suffix-color);
|
|
1066
1066
|
}
|
|
1067
|
-
.
|
|
1067
|
+
._error_ddqhmx_57._focused_ddqhmx_75 ._suffix_ddqhmx_356{
|
|
1068
1068
|
color:var(--_rs-input-error-focused-suffix-color);
|
|
1069
1069
|
}
|
|
1070
|
-
.
|
|
1070
|
+
._errorMessage_ddqhmx_376{
|
|
1071
1071
|
letter-spacing:var(
|
|
1072
1072
|
--rs-text-base-letter-spacing,
|
|
1073
1073
|
var(--_rs-typography-letter-spacing)
|
|
@@ -1089,12 +1089,12 @@
|
|
|
1089
1089
|
-moz-column-gap:8px;
|
|
1090
1090
|
column-gap:8px;
|
|
1091
1091
|
}
|
|
1092
|
-
.
|
|
1092
|
+
._errorIcon_ddqhmx_388{
|
|
1093
1093
|
flex:0 0 auto;
|
|
1094
1094
|
|
|
1095
1095
|
color:#F45C4A;
|
|
1096
1096
|
}
|
|
1097
|
-
.
|
|
1097
|
+
._note_ddqhmx_394{
|
|
1098
1098
|
letter-spacing:var(
|
|
1099
1099
|
--rs-text-base-letter-spacing,
|
|
1100
1100
|
var(--_rs-typography-letter-spacing)
|
|
@@ -1113,13 +1113,13 @@
|
|
|
1113
1113
|
|
|
1114
1114
|
margin-top:var(--_rs-input-parts-offset);
|
|
1115
1115
|
}
|
|
1116
|
-
.
|
|
1116
|
+
._disabled_ddqhmx_51 ._note_ddqhmx_394{
|
|
1117
1117
|
color:var(
|
|
1118
1118
|
--rs-color-pale,
|
|
1119
1119
|
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.5)
|
|
1120
1120
|
);
|
|
1121
1121
|
}
|
|
1122
|
-
.
|
|
1122
|
+
._label_ddqhmx_405{
|
|
1123
1123
|
letter-spacing:var(
|
|
1124
1124
|
--rs-text-base-letter-spacing,
|
|
1125
1125
|
var(--_rs-typography-letter-spacing)
|
|
@@ -1138,7 +1138,7 @@
|
|
|
1138
1138
|
|
|
1139
1139
|
margin-bottom:var(--_rs-input-parts-offset);
|
|
1140
1140
|
}
|
|
1141
|
-
.
|
|
1141
|
+
._disabled_ddqhmx_51 ._label_ddqhmx_405{
|
|
1142
1142
|
color:var(
|
|
1143
1143
|
--rs-color-pale,
|
|
1144
1144
|
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.5)
|
package/lib/input.js
CHANGED
|
@@ -2,8 +2,8 @@ import * as React from 'react';
|
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import cn from 'classnames';
|
|
4
4
|
import { useThemeWithUndefined } from '@rescui/ui-contexts';
|
|
5
|
-
import CloseIcon from './_virtual/
|
|
6
|
-
import WarningIcon from './_virtual/
|
|
5
|
+
import { CloseIcon } from './_virtual/index.js';
|
|
6
|
+
import { WarningIcon } from './_virtual/index2.js';
|
|
7
7
|
import styles from './input.p.module.css.js';
|
|
8
8
|
import { RightIcons } from './parts/right-icons.js';
|
|
9
9
|
import { CustomIcon } from './parts/custom-icon.js';
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
var styles = {
|
|
2
|
-
"light": "
|
|
3
|
-
"dark": "
|
|
4
|
-
"sizeS": "
|
|
5
|
-
"sizeM": "
|
|
6
|
-
"sizeL": "
|
|
7
|
-
"classic": "
|
|
8
|
-
"rock": "
|
|
9
|
-
"container": "
|
|
10
|
-
"wrapper": "
|
|
11
|
-
"disabled": "
|
|
12
|
-
"error": "
|
|
13
|
-
"enabled": "
|
|
14
|
-
"filled": "
|
|
15
|
-
"focused": "
|
|
16
|
-
"field": "
|
|
17
|
-
"inner": "
|
|
18
|
-
"offSystemMicroelements": "
|
|
19
|
-
"iconWrapper": "
|
|
20
|
-
"action": "
|
|
21
|
-
"right": "
|
|
22
|
-
"left": "
|
|
23
|
-
"icon": "
|
|
24
|
-
"divider": "
|
|
25
|
-
"suffix": "
|
|
26
|
-
"errorMessage": "
|
|
27
|
-
"errorIcon": "
|
|
28
|
-
"note": "
|
|
29
|
-
"label": "
|
|
2
|
+
"light": "_light_ddqhmx_8",
|
|
3
|
+
"dark": "_dark_ddqhmx_11",
|
|
4
|
+
"sizeS": "_sizeS_ddqhmx_15",
|
|
5
|
+
"sizeM": "_sizeM_ddqhmx_18",
|
|
6
|
+
"sizeL": "_sizeL_ddqhmx_21",
|
|
7
|
+
"classic": "_classic_ddqhmx_25",
|
|
8
|
+
"rock": "_rock_ddqhmx_28",
|
|
9
|
+
"container": "_container_ddqhmx_32",
|
|
10
|
+
"wrapper": "_wrapper_ddqhmx_39",
|
|
11
|
+
"disabled": "_disabled_ddqhmx_51",
|
|
12
|
+
"error": "_error_ddqhmx_57",
|
|
13
|
+
"enabled": "_enabled_ddqhmx_63",
|
|
14
|
+
"filled": "_filled_ddqhmx_63",
|
|
15
|
+
"focused": "_focused_ddqhmx_75",
|
|
16
|
+
"field": "_field_ddqhmx_101",
|
|
17
|
+
"inner": "_inner_ddqhmx_114",
|
|
18
|
+
"offSystemMicroelements": "_offSystemMicroelements_ddqhmx_229",
|
|
19
|
+
"iconWrapper": "_iconWrapper_ddqhmx_239",
|
|
20
|
+
"action": "_action_ddqhmx_254",
|
|
21
|
+
"right": "_right_ddqhmx_292",
|
|
22
|
+
"left": "_left_ddqhmx_296",
|
|
23
|
+
"icon": "_icon_ddqhmx_239",
|
|
24
|
+
"divider": "_divider_ddqhmx_342",
|
|
25
|
+
"suffix": "_suffix_ddqhmx_356",
|
|
26
|
+
"errorMessage": "_errorMessage_ddqhmx_376",
|
|
27
|
+
"errorIcon": "_errorIcon_ddqhmx_388",
|
|
28
|
+
"note": "_note_ddqhmx_394",
|
|
29
|
+
"label": "_label_ddqhmx_405"
|
|
30
30
|
};
|
|
31
31
|
export { styles as default };
|
package/lib/parts/right-icons.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import cn from 'classnames';
|
|
3
|
-
import LoadingIcon from '../_virtual/
|
|
3
|
+
import { LoadingIcon } from '../_virtual/index3.js';
|
|
4
4
|
import styles from '../input.p.module.css.js';
|
|
5
5
|
import { CustomIcon } from './custom-icon.js'; // eslint-disable-next-line complexity
|
|
6
6
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rescui/input",
|
|
3
|
-
"version": "0.11.13-RUI-230-Update-icons-experiments-
|
|
3
|
+
"version": "0.11.13-RUI-230-Update-icons-experiments-64b23ff1.22+64b23ff1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "JetBrains",
|
|
@@ -23,12 +23,12 @@
|
|
|
23
23
|
"react": ">=16.8.0 <19"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@rescui/colors": "0.2.7-RUI-230-Update-icons-experiments-
|
|
27
|
-
"@rescui/icons": "0.16.15-RUI-230-Update-icons-experiments-
|
|
26
|
+
"@rescui/colors": "0.2.7-RUI-230-Update-icons-experiments-64b23ff1.46+64b23ff1",
|
|
27
|
+
"@rescui/icons": "0.16.15-RUI-230-Update-icons-experiments-64b23ff1.22+64b23ff1",
|
|
28
28
|
"@rescui/postcss-preset-library": "0.2.2",
|
|
29
29
|
"@rescui/scripts": "0.3.5",
|
|
30
|
-
"@rescui/tooltip": "0.9.3-RUI-230-Update-icons-experiments-
|
|
31
|
-
"@rescui/typography": "0.21.1-RUI-230-Update-icons-experiments-
|
|
30
|
+
"@rescui/tooltip": "0.9.3-RUI-230-Update-icons-experiments-64b23ff1.22+64b23ff1",
|
|
31
|
+
"@rescui/typography": "0.21.1-RUI-230-Update-icons-experiments-64b23ff1.22+64b23ff1",
|
|
32
32
|
"@rescui/visual-regression": "0.1.2",
|
|
33
33
|
"@types/classnames": "^2.2.11"
|
|
34
34
|
},
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"build-pcss-api": "rescui-scripts build-pcss-api --file public-api.p.css"
|
|
38
38
|
},
|
|
39
39
|
"nx": {},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "64b23ff1d1e0d31e634a11f576360c4ec297561b"
|
|
41
41
|
}
|
package/lib/_virtual/close.js
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import _extends from '@babel/runtime-corejs3/helpers/esm/extends';
|
|
2
|
-
import React__default 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__default.forwardRef((_ref, ref) => {
|
|
13
|
-
let {
|
|
14
|
-
theme,
|
|
15
|
-
size,
|
|
16
|
-
className,
|
|
17
|
-
...props
|
|
18
|
-
} = _ref;
|
|
19
|
-
return /*#__PURE__*/React__default.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__default.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 };
|
package/lib/_virtual/loading.js
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import _extends from '@babel/runtime-corejs3/helpers/esm/extends';
|
|
2
|
-
import React__default 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__default.forwardRef((_ref, ref) => {
|
|
13
|
-
let {
|
|
14
|
-
theme,
|
|
15
|
-
size,
|
|
16
|
-
className,
|
|
17
|
-
...props
|
|
18
|
-
} = _ref;
|
|
19
|
-
return /*#__PURE__*/React__default.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__default.createElement("g", {
|
|
25
|
-
style: {
|
|
26
|
-
animation: "rs-icon-rotate 1s linear infinite",
|
|
27
|
-
transformOrigin: "center center"
|
|
28
|
-
}
|
|
29
|
-
}, /*#__PURE__*/React__default.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__default.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 };
|
package/lib/_virtual/warning.js
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import _extends from '@babel/runtime-corejs3/helpers/esm/extends';
|
|
2
|
-
import React__default 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__default.forwardRef((_ref, ref) => {
|
|
13
|
-
let {
|
|
14
|
-
theme,
|
|
15
|
-
size,
|
|
16
|
-
className,
|
|
17
|
-
...props
|
|
18
|
-
} = _ref;
|
|
19
|
-
return /*#__PURE__*/React__default.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__default.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 };
|