@aloudata/aloudata-design 0.3.0-beta.1 → 0.3.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.
- package/es/Breadcrumb/style/index.less +11 -3
- package/es/Button/index.js +17 -2
- package/es/Button/style/index.less +41 -39
- package/es/Button/style/variables.less +9 -2
- package/es/Checkbox/style/index.less +19 -0
- package/es/Dropdown/Button.js +1 -1
- package/es/Form/style/index.less +8 -0
- package/es/Icon/antdIconfont.d.ts +4 -0
- package/es/Icon/antdIconfont.js +2 -0
- package/es/Icon/components/Icon.d.ts +32 -0
- package/es/Icon/components/Icon.js +27 -0
- package/es/Icon/components/createFromScripts.d.ts +1 -0
- package/es/Icon/components/createFromScripts.js +35 -0
- package/es/Icon/iconSvgs/arrows_right_sm.svg +3 -0
- package/es/Icon/icons/AddLine.d.ts +13 -0
- package/es/Icon/icons/AddLine.js +66 -0
- package/es/Icon/icons/AlertFill.d.ts +13 -0
- package/es/Icon/icons/AlertFill.js +73 -0
- package/es/Icon/icons/ArrowsDownLine.d.ts +13 -0
- package/es/Icon/icons/ArrowsDownLine.js +66 -0
- package/es/Icon/icons/CancelFill.d.ts +13 -0
- package/es/Icon/icons/CancelFill.js +73 -0
- package/es/Icon/icons/CheckFill.d.ts +13 -0
- package/es/Icon/icons/CheckFill.js +73 -0
- package/es/Icon/icons/CloseLine.d.ts +13 -0
- package/es/Icon/icons/CloseLine.js +66 -0
- package/es/Icon/icons/DatabaseLine.d.ts +13 -0
- package/es/Icon/icons/DatabaseLine.js +66 -0
- package/es/Icon/icons/Deleteline.d.ts +13 -0
- package/es/Icon/icons/Deleteline.js +66 -0
- package/es/Icon/icons/DownloadLine.d.ts +13 -0
- package/es/Icon/icons/DownloadLine.js +73 -0
- package/es/Icon/icons/ErrorFill.d.ts +13 -0
- package/es/Icon/icons/ErrorFill.js +73 -0
- package/es/Icon/icons/EyeOffLine.d.ts +13 -0
- package/es/Icon/icons/EyeOffLine.js +73 -0
- package/es/Icon/icons/EyeOnLine.d.ts +13 -0
- package/es/Icon/icons/EyeOnLine.js +66 -0
- package/es/Icon/icons/FileLine.d.ts +13 -0
- package/es/Icon/icons/FileLine.js +73 -0
- package/es/Icon/icons/HomeFill.d.ts +13 -0
- package/es/Icon/icons/HomeFill.js +73 -0
- package/es/Icon/icons/IconBase.withSpan.tpl +58 -0
- package/es/Icon/icons/LightningLine.d.ts +13 -0
- package/es/Icon/icons/LightningLine.js +66 -0
- package/es/Icon/icons/Loading.d.ts +13 -0
- package/es/Icon/icons/Loading.js +66 -0
- package/es/Icon/icons/More.d.ts +13 -0
- package/es/Icon/icons/More.js +66 -0
- package/es/Icon/icons/NewWindowsLine.d.ts +13 -0
- package/es/Icon/icons/NewWindowsLine.js +74 -0
- package/es/Icon/icons/SearchLine.d.ts +13 -0
- package/es/Icon/icons/SearchLine.js +73 -0
- package/es/Icon/icons/SortAscendingLine.d.ts +13 -0
- package/es/Icon/icons/SortAscendingLine.js +66 -0
- package/es/Icon/icons/SortDescendingLine.d.ts +13 -0
- package/es/Icon/icons/SortDescendingLine.js +66 -0
- package/es/Icon/icons/TextLine.d.ts +13 -0
- package/es/Icon/icons/TextLine.js +73 -0
- package/es/Icon/icons/UserLine.d.ts +13 -0
- package/es/Icon/icons/UserLine.js +73 -0
- package/es/Icon/icons/style.css +9 -0
- package/es/Icon/icons/style.css.d.ts +10 -0
- package/es/Icon/index.d.ts +2 -13
- package/es/Icon/index.js +2 -53
- package/es/Icon/index.less +9 -17
- package/es/Icon/style/index.d.ts +1 -0
- package/es/Icon/style/index.js +1 -0
- package/es/Icon/style/index.less +0 -0
- package/es/Input/components/Password/index.js +6 -5
- package/es/Input/style/index.less +1 -1
- package/es/InputNumber/style/index.less +88 -16
- package/es/Menu/style/index.less +4 -3
- package/es/Modal/index.js +6 -4
- package/es/Modal/style/index.less +3 -3
- package/es/Navigator/style/index.less +46 -5
- package/es/Select/index.d.ts +2 -1
- package/es/Select/index.js +2 -1
- package/es/Select/rc-select/Selector/MultipleSelector.js +2 -2
- package/es/Select/rc-select/hooks/useOptions.d.ts +1 -1
- package/es/Select/style/index.d.ts +0 -1
- package/es/Select/style/index.js +0 -1
- package/es/Select/style/index.less +81 -10
- package/es/Select/style/variables.less +20 -9
- package/es/Select/style/variables.less.d.ts +4 -1
- package/es/Select/utils/iconUtil.js +5 -10
- package/es/Table/Table.d.ts +0 -1
- package/es/Table/Table.js +20 -11
- package/es/Table/style/index.less +7 -0
- package/es/Tabs/index.d.ts +2 -1
- package/es/Tabs/index.js +10 -4
- package/es/Tabs/style/index.less +35 -1
- package/es/index.d.ts +1 -0
- package/es/index.js +2 -1
- package/es/style/index.less +1 -0
- package/es/style/themes/default/scrollBar.less +13 -0
- package/lib/Breadcrumb/style/index.less +11 -3
- package/lib/Button/index.js +18 -2
- package/lib/Button/style/index.less +41 -39
- package/lib/Button/style/variables.less +9 -2
- package/lib/Checkbox/style/index.less +19 -0
- package/lib/Dropdown/Button.js +1 -1
- package/lib/Form/style/index.less +8 -0
- package/lib/Icon/antdIconfont.d.ts +4 -0
- package/lib/Icon/antdIconfont.js +13 -0
- package/lib/Icon/components/Icon.d.ts +32 -0
- package/lib/Icon/components/Icon.js +38 -0
- package/lib/Icon/components/createFromScripts.d.ts +1 -0
- package/lib/Icon/components/createFromScripts.js +41 -0
- package/lib/Icon/iconSvgs/arrows_right_sm.svg +3 -0
- package/lib/Icon/icons/AddLine.d.ts +13 -0
- package/lib/Icon/icons/AddLine.js +83 -0
- package/lib/Icon/icons/AlertFill.d.ts +13 -0
- package/lib/Icon/icons/AlertFill.js +90 -0
- package/lib/Icon/icons/ArrowsDownLine.d.ts +13 -0
- package/lib/Icon/icons/ArrowsDownLine.js +83 -0
- package/lib/Icon/icons/CancelFill.d.ts +13 -0
- package/lib/Icon/icons/CancelFill.js +90 -0
- package/lib/Icon/icons/CheckFill.d.ts +13 -0
- package/lib/Icon/icons/CheckFill.js +90 -0
- package/lib/Icon/icons/CloseLine.d.ts +13 -0
- package/lib/Icon/icons/CloseLine.js +83 -0
- package/lib/Icon/icons/DatabaseLine.d.ts +13 -0
- package/lib/Icon/icons/DatabaseLine.js +83 -0
- package/lib/Icon/icons/Deleteline.d.ts +13 -0
- package/lib/Icon/icons/Deleteline.js +83 -0
- package/lib/Icon/icons/DownloadLine.d.ts +13 -0
- package/lib/Icon/icons/DownloadLine.js +90 -0
- package/lib/Icon/icons/ErrorFill.d.ts +13 -0
- package/lib/Icon/icons/ErrorFill.js +90 -0
- package/lib/Icon/icons/EyeOffLine.d.ts +13 -0
- package/lib/Icon/icons/EyeOffLine.js +90 -0
- package/lib/Icon/icons/EyeOnLine.d.ts +13 -0
- package/lib/Icon/icons/EyeOnLine.js +83 -0
- package/lib/Icon/icons/FileLine.d.ts +13 -0
- package/lib/Icon/icons/FileLine.js +90 -0
- package/lib/Icon/icons/HomeFill.d.ts +13 -0
- package/lib/Icon/icons/HomeFill.js +90 -0
- package/lib/Icon/icons/IconBase.withSpan.tpl +58 -0
- package/lib/Icon/icons/LightningLine.d.ts +13 -0
- package/lib/Icon/icons/LightningLine.js +83 -0
- package/lib/Icon/icons/Loading.d.ts +13 -0
- package/lib/Icon/icons/Loading.js +83 -0
- package/lib/Icon/icons/More.d.ts +13 -0
- package/lib/Icon/icons/More.js +83 -0
- package/lib/Icon/icons/NewWindowsLine.d.ts +13 -0
- package/lib/Icon/icons/NewWindowsLine.js +91 -0
- package/lib/Icon/icons/SearchLine.d.ts +13 -0
- package/lib/Icon/icons/SearchLine.js +90 -0
- package/lib/Icon/icons/SortAscendingLine.d.ts +13 -0
- package/lib/Icon/icons/SortAscendingLine.js +83 -0
- package/lib/Icon/icons/SortDescendingLine.d.ts +13 -0
- package/lib/Icon/icons/SortDescendingLine.js +83 -0
- package/lib/Icon/icons/TextLine.d.ts +13 -0
- package/lib/Icon/icons/TextLine.js +90 -0
- package/lib/Icon/icons/UserLine.d.ts +13 -0
- package/lib/Icon/icons/UserLine.js +90 -0
- package/lib/Icon/icons/style.css +9 -0
- package/lib/Icon/icons/style.css.d.ts +10 -0
- package/lib/Icon/index.d.ts +2 -13
- package/lib/Icon/index.js +2 -59
- package/lib/Icon/index.less +9 -17
- package/lib/Icon/style/index.d.ts +1 -0
- package/lib/Icon/style/index.js +1 -0
- package/lib/Icon/style/index.less +0 -0
- package/lib/Input/components/Password/index.js +7 -5
- package/lib/Input/style/index.less +1 -1
- package/lib/InputNumber/style/index.less +88 -16
- package/lib/Menu/style/index.less +4 -3
- package/lib/Modal/index.js +6 -4
- package/lib/Modal/style/index.less +3 -3
- package/lib/Navigator/style/index.less +46 -5
- package/lib/Select/index.d.ts +2 -1
- package/lib/Select/index.js +2 -1
- package/lib/Select/rc-select/Selector/MultipleSelector.js +2 -2
- package/lib/Select/rc-select/hooks/useOptions.d.ts +1 -1
- package/lib/Select/style/index.d.ts +0 -1
- package/lib/Select/style/index.js +0 -2
- package/lib/Select/style/index.less +81 -10
- package/lib/Select/style/variables.less +20 -9
- package/lib/Select/style/variables.less.d.ts +4 -1
- package/lib/Select/utils/iconUtil.js +5 -12
- package/lib/Table/Table.d.ts +0 -1
- package/lib/Table/Table.js +22 -12
- package/lib/Table/style/index.less +7 -0
- package/lib/Tabs/index.d.ts +2 -1
- package/lib/Tabs/index.js +11 -4
- package/lib/Tabs/style/index.less +35 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +8 -0
- package/lib/style/index.less +1 -0
- package/lib/style/themes/default/scrollBar.less +13 -0
- package/package.json +1 -1
- package/es/Icon/iconfont/demo.css +0 -539
- package/es/Icon/iconfont/demo_index.html +0 -720
- package/es/Icon/iconfont/iconfont.css +0 -109
- package/es/Icon/iconfont/iconfont.js +0 -46
- package/es/Icon/iconfont/iconfont.json +0 -170
- package/es/Icon/iconfont/iconfont.ttf +0 -0
- package/es/Icon/iconfont/iconfont.woff +0 -0
- package/es/Icon/iconfont/iconfont.woff2 +0 -0
- package/es/Table/components/Empty/empty-img.png +0 -0
- package/es/Table/components/Empty/index.d.ts +0 -4
- package/es/Table/components/Empty/index.js +0 -16
- package/es/Table/components/Empty/index.less +0 -24
- package/lib/Icon/iconfont/demo.css +0 -539
- package/lib/Icon/iconfont/demo_index.html +0 -720
- package/lib/Icon/iconfont/iconfont.css +0 -109
- package/lib/Icon/iconfont/iconfont.js +0 -48
- package/lib/Icon/iconfont/iconfont.json +0 -170
- package/lib/Icon/iconfont/iconfont.ttf +0 -0
- package/lib/Icon/iconfont/iconfont.woff +0 -0
- package/lib/Icon/iconfont/iconfont.woff2 +0 -0
- package/lib/Table/components/Empty/empty-img.png +0 -0
- package/lib/Table/components/Empty/index.d.ts +0 -4
- package/lib/Table/components/Empty/index.js +0 -30
- package/lib/Table/components/Empty/index.less +0 -24
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
var _excluded = ["size", "width", "height", "spin", "rtl", "color", "fill", "stroke", "className"];
|
|
2
|
+
|
|
3
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
4
|
+
|
|
5
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
6
|
+
|
|
7
|
+
import React, { useEffect, useRef } from 'react';
|
|
8
|
+
import styles from './style.css';
|
|
9
|
+
export default function ArrowsDownLine(props) {
|
|
10
|
+
var root = useRef(null);
|
|
11
|
+
|
|
12
|
+
var _props$size = props.size,
|
|
13
|
+
size = _props$size === void 0 ? '1em' : _props$size,
|
|
14
|
+
width = props.width,
|
|
15
|
+
height = props.height,
|
|
16
|
+
spin = props.spin,
|
|
17
|
+
rtl = props.rtl,
|
|
18
|
+
color = props.color,
|
|
19
|
+
fill = props.fill,
|
|
20
|
+
stroke = props.stroke,
|
|
21
|
+
className = props.className,
|
|
22
|
+
rest = _objectWithoutProperties(props, _excluded);
|
|
23
|
+
|
|
24
|
+
var _width = width || size;
|
|
25
|
+
|
|
26
|
+
var _height = height || size;
|
|
27
|
+
|
|
28
|
+
var _stroke = stroke || color;
|
|
29
|
+
|
|
30
|
+
var _fill = fill || color;
|
|
31
|
+
|
|
32
|
+
useEffect(function () {
|
|
33
|
+
if (!_fill) {
|
|
34
|
+
var _root$current;
|
|
35
|
+
|
|
36
|
+
(_root$current = root.current) === null || _root$current === void 0 ? void 0 : _root$current.querySelectorAll('[data-follow-fill]').forEach(function (item) {
|
|
37
|
+
item.setAttribute('fill', item.getAttribute('data-follow-fill') || '');
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
if (!_stroke) {
|
|
42
|
+
var _root$current2;
|
|
43
|
+
|
|
44
|
+
(_root$current2 = root.current) === null || _root$current2 === void 0 ? void 0 : _root$current2.querySelectorAll('[data-follow-stroke]').forEach(function (item) {
|
|
45
|
+
item.setAttribute('stroke', item.getAttribute('data-follow-stroke') || '');
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
}, [stroke, color, fill]);
|
|
49
|
+
return /*#__PURE__*/React.createElement("svg", Object.assign({
|
|
50
|
+
ref: root,
|
|
51
|
+
width: _width,
|
|
52
|
+
height: _height,
|
|
53
|
+
viewBox: "0 0 24 24",
|
|
54
|
+
preserveAspectRatio: "xMidYMid meet",
|
|
55
|
+
fill: "none",
|
|
56
|
+
role: "presentation",
|
|
57
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
58
|
+
className: "".concat(className || '', " ").concat(spin ? styles.spin : '', " ").concat(rtl ? styles.rtl : '').trim()
|
|
59
|
+
}, rest), /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("path", {
|
|
60
|
+
"data-follow-fill": "#001A33",
|
|
61
|
+
fillRule: "evenodd",
|
|
62
|
+
clipRule: "evenodd",
|
|
63
|
+
d: "M12.707 15.707a1 1 0 0 1-1.414 0l-6-6a1 1 0 0 1 1.414-1.414L12 13.586l5.293-5.293a1 1 0 1 1 1.414 1.414l-6 6Z",
|
|
64
|
+
fill: _fill
|
|
65
|
+
})));
|
|
66
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface IconProps extends React.SVGProps<SVGSVGElement> {
|
|
3
|
+
size?: string | number;
|
|
4
|
+
width?: string | number;
|
|
5
|
+
height?: string | number;
|
|
6
|
+
spin?: boolean;
|
|
7
|
+
rtl?: boolean;
|
|
8
|
+
color?: string;
|
|
9
|
+
fill?: string;
|
|
10
|
+
stroke?: string;
|
|
11
|
+
}
|
|
12
|
+
export default function CancelFill(props: IconProps): JSX.Element;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
var _excluded = ["size", "width", "height", "spin", "rtl", "color", "fill", "stroke", "className"];
|
|
2
|
+
|
|
3
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
4
|
+
|
|
5
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
6
|
+
|
|
7
|
+
import React, { useEffect, useRef } from 'react';
|
|
8
|
+
import styles from './style.css';
|
|
9
|
+
export default function CancelFill(props) {
|
|
10
|
+
var root = useRef(null);
|
|
11
|
+
|
|
12
|
+
var _props$size = props.size,
|
|
13
|
+
size = _props$size === void 0 ? '1em' : _props$size,
|
|
14
|
+
width = props.width,
|
|
15
|
+
height = props.height,
|
|
16
|
+
spin = props.spin,
|
|
17
|
+
rtl = props.rtl,
|
|
18
|
+
color = props.color,
|
|
19
|
+
fill = props.fill,
|
|
20
|
+
stroke = props.stroke,
|
|
21
|
+
className = props.className,
|
|
22
|
+
rest = _objectWithoutProperties(props, _excluded);
|
|
23
|
+
|
|
24
|
+
var _width = width || size;
|
|
25
|
+
|
|
26
|
+
var _height = height || size;
|
|
27
|
+
|
|
28
|
+
var _stroke = stroke || color;
|
|
29
|
+
|
|
30
|
+
var _fill = fill || color;
|
|
31
|
+
|
|
32
|
+
useEffect(function () {
|
|
33
|
+
if (!_fill) {
|
|
34
|
+
var _root$current;
|
|
35
|
+
|
|
36
|
+
(_root$current = root.current) === null || _root$current === void 0 ? void 0 : _root$current.querySelectorAll('[data-follow-fill]').forEach(function (item) {
|
|
37
|
+
item.setAttribute('fill', item.getAttribute('data-follow-fill') || '');
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
if (!_stroke) {
|
|
42
|
+
var _root$current2;
|
|
43
|
+
|
|
44
|
+
(_root$current2 = root.current) === null || _root$current2 === void 0 ? void 0 : _root$current2.querySelectorAll('[data-follow-stroke]').forEach(function (item) {
|
|
45
|
+
item.setAttribute('stroke', item.getAttribute('data-follow-stroke') || '');
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
}, [stroke, color, fill]);
|
|
49
|
+
return /*#__PURE__*/React.createElement("svg", Object.assign({
|
|
50
|
+
ref: root,
|
|
51
|
+
width: _width,
|
|
52
|
+
height: _height,
|
|
53
|
+
viewBox: "0 0 24 24",
|
|
54
|
+
preserveAspectRatio: "xMidYMid meet",
|
|
55
|
+
fill: "none",
|
|
56
|
+
role: "presentation",
|
|
57
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
58
|
+
className: "".concat(className || '', " ").concat(spin ? styles.spin : '', " ").concat(rtl ? styles.rtl : '').trim()
|
|
59
|
+
}, rest), /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("g", {
|
|
60
|
+
clipPath: "url(#56415__a)"
|
|
61
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
62
|
+
"data-follow-fill": "#001A33",
|
|
63
|
+
d: "M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0ZM6.343 6.343a1 1 0 0 1 1.414 0L12 10.586l4.243-4.243a1 1 0 1 1 1.414 1.414L13.414 12l4.243 4.243a1 1 0 1 1-1.414 1.414L12 13.414l-4.243 4.243a1 1 0 0 1-1.414-1.414L10.586 12 6.343 7.757a1 1 0 0 1 0-1.414Z",
|
|
64
|
+
clipRule: "evenodd",
|
|
65
|
+
fillRule: "evenodd",
|
|
66
|
+
fill: _fill
|
|
67
|
+
})), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
|
68
|
+
id: "56415__a"
|
|
69
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
70
|
+
fill: "#fff",
|
|
71
|
+
d: "M0 0h24v24H0z"
|
|
72
|
+
})))));
|
|
73
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface IconProps extends React.SVGProps<SVGSVGElement> {
|
|
3
|
+
size?: string | number;
|
|
4
|
+
width?: string | number;
|
|
5
|
+
height?: string | number;
|
|
6
|
+
spin?: boolean;
|
|
7
|
+
rtl?: boolean;
|
|
8
|
+
color?: string;
|
|
9
|
+
fill?: string;
|
|
10
|
+
stroke?: string;
|
|
11
|
+
}
|
|
12
|
+
export default function CheckFill(props: IconProps): JSX.Element;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
var _excluded = ["size", "width", "height", "spin", "rtl", "color", "fill", "stroke", "className"];
|
|
2
|
+
|
|
3
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
4
|
+
|
|
5
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
6
|
+
|
|
7
|
+
import React, { useEffect, useRef } from 'react';
|
|
8
|
+
import styles from './style.css';
|
|
9
|
+
export default function CheckFill(props) {
|
|
10
|
+
var root = useRef(null);
|
|
11
|
+
|
|
12
|
+
var _props$size = props.size,
|
|
13
|
+
size = _props$size === void 0 ? '1em' : _props$size,
|
|
14
|
+
width = props.width,
|
|
15
|
+
height = props.height,
|
|
16
|
+
spin = props.spin,
|
|
17
|
+
rtl = props.rtl,
|
|
18
|
+
color = props.color,
|
|
19
|
+
fill = props.fill,
|
|
20
|
+
stroke = props.stroke,
|
|
21
|
+
className = props.className,
|
|
22
|
+
rest = _objectWithoutProperties(props, _excluded);
|
|
23
|
+
|
|
24
|
+
var _width = width || size;
|
|
25
|
+
|
|
26
|
+
var _height = height || size;
|
|
27
|
+
|
|
28
|
+
var _stroke = stroke || color;
|
|
29
|
+
|
|
30
|
+
var _fill = fill || color;
|
|
31
|
+
|
|
32
|
+
useEffect(function () {
|
|
33
|
+
if (!_fill) {
|
|
34
|
+
var _root$current;
|
|
35
|
+
|
|
36
|
+
(_root$current = root.current) === null || _root$current === void 0 ? void 0 : _root$current.querySelectorAll('[data-follow-fill]').forEach(function (item) {
|
|
37
|
+
item.setAttribute('fill', item.getAttribute('data-follow-fill') || '');
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
if (!_stroke) {
|
|
42
|
+
var _root$current2;
|
|
43
|
+
|
|
44
|
+
(_root$current2 = root.current) === null || _root$current2 === void 0 ? void 0 : _root$current2.querySelectorAll('[data-follow-stroke]').forEach(function (item) {
|
|
45
|
+
item.setAttribute('stroke', item.getAttribute('data-follow-stroke') || '');
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
}, [stroke, color, fill]);
|
|
49
|
+
return /*#__PURE__*/React.createElement("svg", Object.assign({
|
|
50
|
+
ref: root,
|
|
51
|
+
width: _width,
|
|
52
|
+
height: _height,
|
|
53
|
+
viewBox: "0 0 24 24",
|
|
54
|
+
preserveAspectRatio: "xMidYMid meet",
|
|
55
|
+
fill: "none",
|
|
56
|
+
role: "presentation",
|
|
57
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
58
|
+
className: "".concat(className || '', " ").concat(spin ? styles.spin : '', " ").concat(rtl ? styles.rtl : '').trim()
|
|
59
|
+
}, rest), /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("g", {
|
|
60
|
+
clipPath: "url(#56418__a)"
|
|
61
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
62
|
+
"data-follow-fill": "#001A33",
|
|
63
|
+
d: "M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0Zm5.873 7.488a1 1 0 1 0-1.746-.976l-5.247 9.382-3.24-2.704a1 1 0 0 0-1.28 1.535l3.411 2.849a1.787 1.787 0 0 0 2.232.07c.215-.158.392-.36.52-.59v-.001l5.35-9.565Z",
|
|
64
|
+
clipRule: "evenodd",
|
|
65
|
+
fillRule: "evenodd",
|
|
66
|
+
fill: _fill
|
|
67
|
+
})), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
|
68
|
+
id: "56418__a"
|
|
69
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
70
|
+
fill: "#fff",
|
|
71
|
+
d: "M0 0h24v24H0z"
|
|
72
|
+
})))));
|
|
73
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface IconProps extends React.SVGProps<SVGSVGElement> {
|
|
3
|
+
size?: string | number;
|
|
4
|
+
width?: string | number;
|
|
5
|
+
height?: string | number;
|
|
6
|
+
spin?: boolean;
|
|
7
|
+
rtl?: boolean;
|
|
8
|
+
color?: string;
|
|
9
|
+
fill?: string;
|
|
10
|
+
stroke?: string;
|
|
11
|
+
}
|
|
12
|
+
export default function CloseLine(props: IconProps): JSX.Element;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
var _excluded = ["size", "width", "height", "spin", "rtl", "color", "fill", "stroke", "className"];
|
|
2
|
+
|
|
3
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
4
|
+
|
|
5
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
6
|
+
|
|
7
|
+
import React, { useEffect, useRef } from 'react';
|
|
8
|
+
import styles from './style.css';
|
|
9
|
+
export default function CloseLine(props) {
|
|
10
|
+
var root = useRef(null);
|
|
11
|
+
|
|
12
|
+
var _props$size = props.size,
|
|
13
|
+
size = _props$size === void 0 ? '1em' : _props$size,
|
|
14
|
+
width = props.width,
|
|
15
|
+
height = props.height,
|
|
16
|
+
spin = props.spin,
|
|
17
|
+
rtl = props.rtl,
|
|
18
|
+
color = props.color,
|
|
19
|
+
fill = props.fill,
|
|
20
|
+
stroke = props.stroke,
|
|
21
|
+
className = props.className,
|
|
22
|
+
rest = _objectWithoutProperties(props, _excluded);
|
|
23
|
+
|
|
24
|
+
var _width = width || size;
|
|
25
|
+
|
|
26
|
+
var _height = height || size;
|
|
27
|
+
|
|
28
|
+
var _stroke = stroke || color;
|
|
29
|
+
|
|
30
|
+
var _fill = fill || color;
|
|
31
|
+
|
|
32
|
+
useEffect(function () {
|
|
33
|
+
if (!_fill) {
|
|
34
|
+
var _root$current;
|
|
35
|
+
|
|
36
|
+
(_root$current = root.current) === null || _root$current === void 0 ? void 0 : _root$current.querySelectorAll('[data-follow-fill]').forEach(function (item) {
|
|
37
|
+
item.setAttribute('fill', item.getAttribute('data-follow-fill') || '');
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
if (!_stroke) {
|
|
42
|
+
var _root$current2;
|
|
43
|
+
|
|
44
|
+
(_root$current2 = root.current) === null || _root$current2 === void 0 ? void 0 : _root$current2.querySelectorAll('[data-follow-stroke]').forEach(function (item) {
|
|
45
|
+
item.setAttribute('stroke', item.getAttribute('data-follow-stroke') || '');
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
}, [stroke, color, fill]);
|
|
49
|
+
return /*#__PURE__*/React.createElement("svg", Object.assign({
|
|
50
|
+
ref: root,
|
|
51
|
+
width: _width,
|
|
52
|
+
height: _height,
|
|
53
|
+
viewBox: "0 0 24 24",
|
|
54
|
+
preserveAspectRatio: "xMidYMid meet",
|
|
55
|
+
fill: "none",
|
|
56
|
+
role: "presentation",
|
|
57
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
58
|
+
className: "".concat(className || '', " ").concat(spin ? styles.spin : '', " ").concat(rtl ? styles.rtl : '').trim()
|
|
59
|
+
}, rest), /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("path", {
|
|
60
|
+
"data-follow-fill": "#001A33",
|
|
61
|
+
d: "M3.707 2.293a1 1 0 0 0-1.414 1.414L10.586 12l-8.293 8.293a1 1 0 1 0 1.414 1.414L12 13.414l8.293 8.293a1 1 0 0 0 1.414-1.414L13.414 12l8.293-8.293a1 1 0 0 0-1.414-1.414L12 10.586 3.707 2.293Z",
|
|
62
|
+
clipRule: "evenodd",
|
|
63
|
+
fillRule: "evenodd",
|
|
64
|
+
fill: _fill
|
|
65
|
+
})));
|
|
66
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface IconProps extends React.SVGProps<SVGSVGElement> {
|
|
3
|
+
size?: string | number;
|
|
4
|
+
width?: string | number;
|
|
5
|
+
height?: string | number;
|
|
6
|
+
spin?: boolean;
|
|
7
|
+
rtl?: boolean;
|
|
8
|
+
color?: string;
|
|
9
|
+
fill?: string;
|
|
10
|
+
stroke?: string;
|
|
11
|
+
}
|
|
12
|
+
export default function DatabaseLine(props: IconProps): JSX.Element;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
var _excluded = ["size", "width", "height", "spin", "rtl", "color", "fill", "stroke", "className"];
|
|
2
|
+
|
|
3
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
4
|
+
|
|
5
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
6
|
+
|
|
7
|
+
import React, { useEffect, useRef } from 'react';
|
|
8
|
+
import styles from './style.css';
|
|
9
|
+
export default function DatabaseLine(props) {
|
|
10
|
+
var root = useRef(null);
|
|
11
|
+
|
|
12
|
+
var _props$size = props.size,
|
|
13
|
+
size = _props$size === void 0 ? '1em' : _props$size,
|
|
14
|
+
width = props.width,
|
|
15
|
+
height = props.height,
|
|
16
|
+
spin = props.spin,
|
|
17
|
+
rtl = props.rtl,
|
|
18
|
+
color = props.color,
|
|
19
|
+
fill = props.fill,
|
|
20
|
+
stroke = props.stroke,
|
|
21
|
+
className = props.className,
|
|
22
|
+
rest = _objectWithoutProperties(props, _excluded);
|
|
23
|
+
|
|
24
|
+
var _width = width || size;
|
|
25
|
+
|
|
26
|
+
var _height = height || size;
|
|
27
|
+
|
|
28
|
+
var _stroke = stroke || color;
|
|
29
|
+
|
|
30
|
+
var _fill = fill || color;
|
|
31
|
+
|
|
32
|
+
useEffect(function () {
|
|
33
|
+
if (!_fill) {
|
|
34
|
+
var _root$current;
|
|
35
|
+
|
|
36
|
+
(_root$current = root.current) === null || _root$current === void 0 ? void 0 : _root$current.querySelectorAll('[data-follow-fill]').forEach(function (item) {
|
|
37
|
+
item.setAttribute('fill', item.getAttribute('data-follow-fill') || '');
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
if (!_stroke) {
|
|
42
|
+
var _root$current2;
|
|
43
|
+
|
|
44
|
+
(_root$current2 = root.current) === null || _root$current2 === void 0 ? void 0 : _root$current2.querySelectorAll('[data-follow-stroke]').forEach(function (item) {
|
|
45
|
+
item.setAttribute('stroke', item.getAttribute('data-follow-stroke') || '');
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
}, [stroke, color, fill]);
|
|
49
|
+
return /*#__PURE__*/React.createElement("svg", Object.assign({
|
|
50
|
+
ref: root,
|
|
51
|
+
width: _width,
|
|
52
|
+
height: _height,
|
|
53
|
+
viewBox: "0 0 24 24",
|
|
54
|
+
preserveAspectRatio: "xMidYMid meet",
|
|
55
|
+
fill: "none",
|
|
56
|
+
role: "presentation",
|
|
57
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
58
|
+
className: "".concat(className || '', " ").concat(spin ? styles.spin : '', " ").concat(rtl ? styles.rtl : '').trim()
|
|
59
|
+
}, rest), /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("path", {
|
|
60
|
+
"data-follow-fill": "#001A33",
|
|
61
|
+
d: "M2.56 4.467C2.128 4.885 2 5.234 2 5.5c0 .266.128.615.56 1.033.435.42 1.116.845 2.04 1.223C6.444 8.511 9.06 9 12 9c2.94 0 5.556-.49 7.4-1.244.924-.378 1.605-.803 2.04-1.223.432-.418.56-.767.56-1.033 0-.266-.128-.615-.56-1.033-.435-.42-1.116-.845-2.04-1.223C17.555 2.489 14.94 2 12 2c-2.94 0-5.556.49-7.4 1.244-.924.378-1.605.803-2.04 1.223ZM1.17 3.03C.487 3.689 0 4.524 0 5.5v13.214c0 .966.506 1.777 1.187 2.404.68.626 1.608 1.144 2.672 1.558C5.992 23.507 8.87 24 12 24s6.008-.493 8.141-1.324c1.064-.414 1.992-.932 2.672-1.558.68-.627 1.187-1.438 1.187-2.404V5.5c0-.976-.488-1.811-1.17-2.47-.677-.656-1.607-1.201-2.673-1.638C18.019.518 15.135 0 12 0S5.981.518 3.843 1.392c-1.066.437-1.995.982-2.674 1.638ZM22 12V8.64c-.539.367-1.163.69-1.843.968C18.019 10.482 15.135 11 12 11s-6.019-.518-8.157-1.392A10.12 10.12 0 0 1 2 8.64V12c0 .15.081.424.516.798.432.372 1.116.751 2.048 1.09C6.419 14.563 9.048 15 12 15s5.581-.437 7.436-1.112c.932-.339 1.616-.718 2.048-1.09.435-.374.516-.647.516-.798ZM2 14.884a10.46 10.46 0 0 0 1.88.884C6.006 16.54 8.877 17 12 17c3.123 0 5.994-.459 8.12-1.232a10.375 10.375 0 0 0 1.88-.884v3.83c0 .218-.11.534-.542.932-.433.4-1.116.805-2.043 1.166C17.567 21.532 14.945 22 12 22c-2.946 0-5.567-.467-7.415-1.188-.927-.36-1.61-.766-2.043-1.166-.433-.398-.542-.714-.542-.932v-3.83Z",
|
|
62
|
+
clipRule: "evenodd",
|
|
63
|
+
fillRule: "evenodd",
|
|
64
|
+
fill: _fill
|
|
65
|
+
})));
|
|
66
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface IconProps extends React.SVGProps<SVGSVGElement> {
|
|
3
|
+
size?: string | number;
|
|
4
|
+
width?: string | number;
|
|
5
|
+
height?: string | number;
|
|
6
|
+
spin?: boolean;
|
|
7
|
+
rtl?: boolean;
|
|
8
|
+
color?: string;
|
|
9
|
+
fill?: string;
|
|
10
|
+
stroke?: string;
|
|
11
|
+
}
|
|
12
|
+
export default function Deleteline(props: IconProps): JSX.Element;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
var _excluded = ["size", "width", "height", "spin", "rtl", "color", "fill", "stroke", "className"];
|
|
2
|
+
|
|
3
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
4
|
+
|
|
5
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
6
|
+
|
|
7
|
+
import React, { useEffect, useRef } from 'react';
|
|
8
|
+
import styles from './style.css';
|
|
9
|
+
export default function Deleteline(props) {
|
|
10
|
+
var root = useRef(null);
|
|
11
|
+
|
|
12
|
+
var _props$size = props.size,
|
|
13
|
+
size = _props$size === void 0 ? '1em' : _props$size,
|
|
14
|
+
width = props.width,
|
|
15
|
+
height = props.height,
|
|
16
|
+
spin = props.spin,
|
|
17
|
+
rtl = props.rtl,
|
|
18
|
+
color = props.color,
|
|
19
|
+
fill = props.fill,
|
|
20
|
+
stroke = props.stroke,
|
|
21
|
+
className = props.className,
|
|
22
|
+
rest = _objectWithoutProperties(props, _excluded);
|
|
23
|
+
|
|
24
|
+
var _width = width || size;
|
|
25
|
+
|
|
26
|
+
var _height = height || size;
|
|
27
|
+
|
|
28
|
+
var _stroke = stroke || color;
|
|
29
|
+
|
|
30
|
+
var _fill = fill || color;
|
|
31
|
+
|
|
32
|
+
useEffect(function () {
|
|
33
|
+
if (!_fill) {
|
|
34
|
+
var _root$current;
|
|
35
|
+
|
|
36
|
+
(_root$current = root.current) === null || _root$current === void 0 ? void 0 : _root$current.querySelectorAll('[data-follow-fill]').forEach(function (item) {
|
|
37
|
+
item.setAttribute('fill', item.getAttribute('data-follow-fill') || '');
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
if (!_stroke) {
|
|
42
|
+
var _root$current2;
|
|
43
|
+
|
|
44
|
+
(_root$current2 = root.current) === null || _root$current2 === void 0 ? void 0 : _root$current2.querySelectorAll('[data-follow-stroke]').forEach(function (item) {
|
|
45
|
+
item.setAttribute('stroke', item.getAttribute('data-follow-stroke') || '');
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
}, [stroke, color, fill]);
|
|
49
|
+
return /*#__PURE__*/React.createElement("svg", Object.assign({
|
|
50
|
+
ref: root,
|
|
51
|
+
width: _width,
|
|
52
|
+
height: _height,
|
|
53
|
+
viewBox: "0 0 24 24",
|
|
54
|
+
preserveAspectRatio: "xMidYMid meet",
|
|
55
|
+
fill: "none",
|
|
56
|
+
role: "presentation",
|
|
57
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
58
|
+
className: "".concat(className || '', " ").concat(spin ? styles.spin : '', " ").concat(rtl ? styles.rtl : '').trim()
|
|
59
|
+
}, rest), /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("path", {
|
|
60
|
+
"data-follow-fill": "#001A33",
|
|
61
|
+
fillRule: "evenodd",
|
|
62
|
+
clipRule: "evenodd",
|
|
63
|
+
d: "M9.893 2.913A2.92 2.92 0 0 1 12 2a2.92 2.92 0 0 1 2.107.913c.53.552.85 1.296.889 2.087H9.004c.04-.791.359-1.535.889-2.087ZM7.003 5A5.251 5.251 0 0 1 8.45 1.528 4.92 4.92 0 0 1 12 0a4.92 4.92 0 0 1 3.55 1.528A5.251 5.251 0 0 1 16.997 5H22a1 1 0 1 1 0 2h-1v14.3c0 .73-.304 1.422-.83 1.925a2.82 2.82 0 0 1-1.948.775H5.778a2.82 2.82 0 0 1-1.948-.775A2.663 2.663 0 0 1 3 21.3V7H2a1 1 0 0 1 0-2h5.003ZM8 7H5v14.3c0 .17.07.344.212.48a.82.82 0 0 0 .566.22h12.444a.82.82 0 0 0 .566-.22.664.664 0 0 0 .212-.48V7H8Zm1.429 2a1 1 0 0 1 1 1v9a1 1 0 0 1-2 0v-9a1 1 0 0 1 1-1Zm6.142 1a1 1 0 1 0-2 0v9a1 1 0 1 0 2 0v-9Z",
|
|
64
|
+
fill: _fill
|
|
65
|
+
})));
|
|
66
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface IconProps extends React.SVGProps<SVGSVGElement> {
|
|
3
|
+
size?: string | number;
|
|
4
|
+
width?: string | number;
|
|
5
|
+
height?: string | number;
|
|
6
|
+
spin?: boolean;
|
|
7
|
+
rtl?: boolean;
|
|
8
|
+
color?: string;
|
|
9
|
+
fill?: string;
|
|
10
|
+
stroke?: string;
|
|
11
|
+
}
|
|
12
|
+
export default function DownloadLine(props: IconProps): JSX.Element;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
var _excluded = ["size", "width", "height", "spin", "rtl", "color", "fill", "stroke", "className"];
|
|
2
|
+
|
|
3
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
4
|
+
|
|
5
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
6
|
+
|
|
7
|
+
import React, { useEffect, useRef } from 'react';
|
|
8
|
+
import styles from './style.css';
|
|
9
|
+
export default function DownloadLine(props) {
|
|
10
|
+
var root = useRef(null);
|
|
11
|
+
|
|
12
|
+
var _props$size = props.size,
|
|
13
|
+
size = _props$size === void 0 ? '1em' : _props$size,
|
|
14
|
+
width = props.width,
|
|
15
|
+
height = props.height,
|
|
16
|
+
spin = props.spin,
|
|
17
|
+
rtl = props.rtl,
|
|
18
|
+
color = props.color,
|
|
19
|
+
fill = props.fill,
|
|
20
|
+
stroke = props.stroke,
|
|
21
|
+
className = props.className,
|
|
22
|
+
rest = _objectWithoutProperties(props, _excluded);
|
|
23
|
+
|
|
24
|
+
var _width = width || size;
|
|
25
|
+
|
|
26
|
+
var _height = height || size;
|
|
27
|
+
|
|
28
|
+
var _stroke = stroke || color;
|
|
29
|
+
|
|
30
|
+
var _fill = fill || color;
|
|
31
|
+
|
|
32
|
+
useEffect(function () {
|
|
33
|
+
if (!_fill) {
|
|
34
|
+
var _root$current;
|
|
35
|
+
|
|
36
|
+
(_root$current = root.current) === null || _root$current === void 0 ? void 0 : _root$current.querySelectorAll('[data-follow-fill]').forEach(function (item) {
|
|
37
|
+
item.setAttribute('fill', item.getAttribute('data-follow-fill') || '');
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
if (!_stroke) {
|
|
42
|
+
var _root$current2;
|
|
43
|
+
|
|
44
|
+
(_root$current2 = root.current) === null || _root$current2 === void 0 ? void 0 : _root$current2.querySelectorAll('[data-follow-stroke]').forEach(function (item) {
|
|
45
|
+
item.setAttribute('stroke', item.getAttribute('data-follow-stroke') || '');
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
}, [stroke, color, fill]);
|
|
49
|
+
return /*#__PURE__*/React.createElement("svg", Object.assign({
|
|
50
|
+
ref: root,
|
|
51
|
+
width: _width,
|
|
52
|
+
height: _height,
|
|
53
|
+
viewBox: "0 0 24 24",
|
|
54
|
+
preserveAspectRatio: "xMidYMid meet",
|
|
55
|
+
fill: "none",
|
|
56
|
+
role: "presentation",
|
|
57
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
58
|
+
className: "".concat(className || '', " ").concat(spin ? styles.spin : '', " ").concat(rtl ? styles.rtl : '').trim()
|
|
59
|
+
}, rest), /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("g", {
|
|
60
|
+
"data-follow-fill": "#001A33",
|
|
61
|
+
clipPath: "url(#56254__a)",
|
|
62
|
+
fill: _fill
|
|
63
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
64
|
+
d: "M13 1a1 1 0 1 0-2 0v12.43L7.237 9.323a1 1 0 0 0-1.474 1.352l5.494 5.994a.997.997 0 0 0 .72.33H12a1 1 0 0 0 .737-.324l5.5-6a1 1 0 1 0-1.474-1.352L13 13.43V1Z"
|
|
65
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
66
|
+
d: "M1 17a1 1 0 0 1 1 1v1.667c0 .614.247 1.205.693 1.644.446.44 1.054.689 1.692.689h15.23c.638 0 1.246-.25 1.692-.689.446-.439.693-1.03.693-1.644V18a1 1 0 1 1 2 0v1.667a4.308 4.308 0 0 1-1.29 3.07A4.412 4.412 0 0 1 19.615 24H4.385a4.411 4.411 0 0 1-3.095-1.264A4.308 4.308 0 0 1 0 19.666V18a1 1 0 0 1 1-1Z"
|
|
67
|
+
})), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
|
68
|
+
id: "56254__a"
|
|
69
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
70
|
+
fill: "#fff",
|
|
71
|
+
d: "M0 0h24v24H0z"
|
|
72
|
+
})))));
|
|
73
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface IconProps extends React.SVGProps<SVGSVGElement> {
|
|
3
|
+
size?: string | number;
|
|
4
|
+
width?: string | number;
|
|
5
|
+
height?: string | number;
|
|
6
|
+
spin?: boolean;
|
|
7
|
+
rtl?: boolean;
|
|
8
|
+
color?: string;
|
|
9
|
+
fill?: string;
|
|
10
|
+
stroke?: string;
|
|
11
|
+
}
|
|
12
|
+
export default function ErrorFill(props: IconProps): JSX.Element;
|
|
13
|
+
export {};
|