@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.
Files changed (217) hide show
  1. package/es/Breadcrumb/style/index.less +11 -3
  2. package/es/Button/index.js +17 -2
  3. package/es/Button/style/index.less +41 -39
  4. package/es/Button/style/variables.less +9 -2
  5. package/es/Checkbox/style/index.less +19 -0
  6. package/es/Dropdown/Button.js +1 -1
  7. package/es/Form/style/index.less +8 -0
  8. package/es/Icon/antdIconfont.d.ts +4 -0
  9. package/es/Icon/antdIconfont.js +2 -0
  10. package/es/Icon/components/Icon.d.ts +32 -0
  11. package/es/Icon/components/Icon.js +27 -0
  12. package/es/Icon/components/createFromScripts.d.ts +1 -0
  13. package/es/Icon/components/createFromScripts.js +35 -0
  14. package/es/Icon/iconSvgs/arrows_right_sm.svg +3 -0
  15. package/es/Icon/icons/AddLine.d.ts +13 -0
  16. package/es/Icon/icons/AddLine.js +66 -0
  17. package/es/Icon/icons/AlertFill.d.ts +13 -0
  18. package/es/Icon/icons/AlertFill.js +73 -0
  19. package/es/Icon/icons/ArrowsDownLine.d.ts +13 -0
  20. package/es/Icon/icons/ArrowsDownLine.js +66 -0
  21. package/es/Icon/icons/CancelFill.d.ts +13 -0
  22. package/es/Icon/icons/CancelFill.js +73 -0
  23. package/es/Icon/icons/CheckFill.d.ts +13 -0
  24. package/es/Icon/icons/CheckFill.js +73 -0
  25. package/es/Icon/icons/CloseLine.d.ts +13 -0
  26. package/es/Icon/icons/CloseLine.js +66 -0
  27. package/es/Icon/icons/DatabaseLine.d.ts +13 -0
  28. package/es/Icon/icons/DatabaseLine.js +66 -0
  29. package/es/Icon/icons/Deleteline.d.ts +13 -0
  30. package/es/Icon/icons/Deleteline.js +66 -0
  31. package/es/Icon/icons/DownloadLine.d.ts +13 -0
  32. package/es/Icon/icons/DownloadLine.js +73 -0
  33. package/es/Icon/icons/ErrorFill.d.ts +13 -0
  34. package/es/Icon/icons/ErrorFill.js +73 -0
  35. package/es/Icon/icons/EyeOffLine.d.ts +13 -0
  36. package/es/Icon/icons/EyeOffLine.js +73 -0
  37. package/es/Icon/icons/EyeOnLine.d.ts +13 -0
  38. package/es/Icon/icons/EyeOnLine.js +66 -0
  39. package/es/Icon/icons/FileLine.d.ts +13 -0
  40. package/es/Icon/icons/FileLine.js +73 -0
  41. package/es/Icon/icons/HomeFill.d.ts +13 -0
  42. package/es/Icon/icons/HomeFill.js +73 -0
  43. package/es/Icon/icons/IconBase.withSpan.tpl +58 -0
  44. package/es/Icon/icons/LightningLine.d.ts +13 -0
  45. package/es/Icon/icons/LightningLine.js +66 -0
  46. package/es/Icon/icons/Loading.d.ts +13 -0
  47. package/es/Icon/icons/Loading.js +66 -0
  48. package/es/Icon/icons/More.d.ts +13 -0
  49. package/es/Icon/icons/More.js +66 -0
  50. package/es/Icon/icons/NewWindowsLine.d.ts +13 -0
  51. package/es/Icon/icons/NewWindowsLine.js +74 -0
  52. package/es/Icon/icons/SearchLine.d.ts +13 -0
  53. package/es/Icon/icons/SearchLine.js +73 -0
  54. package/es/Icon/icons/SortAscendingLine.d.ts +13 -0
  55. package/es/Icon/icons/SortAscendingLine.js +66 -0
  56. package/es/Icon/icons/SortDescendingLine.d.ts +13 -0
  57. package/es/Icon/icons/SortDescendingLine.js +66 -0
  58. package/es/Icon/icons/TextLine.d.ts +13 -0
  59. package/es/Icon/icons/TextLine.js +73 -0
  60. package/es/Icon/icons/UserLine.d.ts +13 -0
  61. package/es/Icon/icons/UserLine.js +73 -0
  62. package/es/Icon/icons/style.css +9 -0
  63. package/es/Icon/icons/style.css.d.ts +10 -0
  64. package/es/Icon/index.d.ts +2 -13
  65. package/es/Icon/index.js +2 -53
  66. package/es/Icon/index.less +9 -17
  67. package/es/Icon/style/index.d.ts +1 -0
  68. package/es/Icon/style/index.js +1 -0
  69. package/es/Icon/style/index.less +0 -0
  70. package/es/Input/components/Password/index.js +6 -5
  71. package/es/Input/style/index.less +1 -1
  72. package/es/InputNumber/style/index.less +88 -16
  73. package/es/Menu/style/index.less +4 -3
  74. package/es/Modal/index.js +6 -4
  75. package/es/Modal/style/index.less +3 -3
  76. package/es/Navigator/style/index.less +46 -5
  77. package/es/Select/index.d.ts +2 -1
  78. package/es/Select/index.js +2 -1
  79. package/es/Select/rc-select/Selector/MultipleSelector.js +2 -2
  80. package/es/Select/rc-select/hooks/useOptions.d.ts +1 -1
  81. package/es/Select/style/index.d.ts +0 -1
  82. package/es/Select/style/index.js +0 -1
  83. package/es/Select/style/index.less +81 -10
  84. package/es/Select/style/variables.less +20 -9
  85. package/es/Select/style/variables.less.d.ts +4 -1
  86. package/es/Select/utils/iconUtil.js +5 -10
  87. package/es/Table/Table.d.ts +0 -1
  88. package/es/Table/Table.js +20 -11
  89. package/es/Table/style/index.less +7 -0
  90. package/es/Tabs/index.d.ts +2 -1
  91. package/es/Tabs/index.js +10 -4
  92. package/es/Tabs/style/index.less +35 -1
  93. package/es/index.d.ts +1 -0
  94. package/es/index.js +2 -1
  95. package/es/style/index.less +1 -0
  96. package/es/style/themes/default/scrollBar.less +13 -0
  97. package/lib/Breadcrumb/style/index.less +11 -3
  98. package/lib/Button/index.js +18 -2
  99. package/lib/Button/style/index.less +41 -39
  100. package/lib/Button/style/variables.less +9 -2
  101. package/lib/Checkbox/style/index.less +19 -0
  102. package/lib/Dropdown/Button.js +1 -1
  103. package/lib/Form/style/index.less +8 -0
  104. package/lib/Icon/antdIconfont.d.ts +4 -0
  105. package/lib/Icon/antdIconfont.js +13 -0
  106. package/lib/Icon/components/Icon.d.ts +32 -0
  107. package/lib/Icon/components/Icon.js +38 -0
  108. package/lib/Icon/components/createFromScripts.d.ts +1 -0
  109. package/lib/Icon/components/createFromScripts.js +41 -0
  110. package/lib/Icon/iconSvgs/arrows_right_sm.svg +3 -0
  111. package/lib/Icon/icons/AddLine.d.ts +13 -0
  112. package/lib/Icon/icons/AddLine.js +83 -0
  113. package/lib/Icon/icons/AlertFill.d.ts +13 -0
  114. package/lib/Icon/icons/AlertFill.js +90 -0
  115. package/lib/Icon/icons/ArrowsDownLine.d.ts +13 -0
  116. package/lib/Icon/icons/ArrowsDownLine.js +83 -0
  117. package/lib/Icon/icons/CancelFill.d.ts +13 -0
  118. package/lib/Icon/icons/CancelFill.js +90 -0
  119. package/lib/Icon/icons/CheckFill.d.ts +13 -0
  120. package/lib/Icon/icons/CheckFill.js +90 -0
  121. package/lib/Icon/icons/CloseLine.d.ts +13 -0
  122. package/lib/Icon/icons/CloseLine.js +83 -0
  123. package/lib/Icon/icons/DatabaseLine.d.ts +13 -0
  124. package/lib/Icon/icons/DatabaseLine.js +83 -0
  125. package/lib/Icon/icons/Deleteline.d.ts +13 -0
  126. package/lib/Icon/icons/Deleteline.js +83 -0
  127. package/lib/Icon/icons/DownloadLine.d.ts +13 -0
  128. package/lib/Icon/icons/DownloadLine.js +90 -0
  129. package/lib/Icon/icons/ErrorFill.d.ts +13 -0
  130. package/lib/Icon/icons/ErrorFill.js +90 -0
  131. package/lib/Icon/icons/EyeOffLine.d.ts +13 -0
  132. package/lib/Icon/icons/EyeOffLine.js +90 -0
  133. package/lib/Icon/icons/EyeOnLine.d.ts +13 -0
  134. package/lib/Icon/icons/EyeOnLine.js +83 -0
  135. package/lib/Icon/icons/FileLine.d.ts +13 -0
  136. package/lib/Icon/icons/FileLine.js +90 -0
  137. package/lib/Icon/icons/HomeFill.d.ts +13 -0
  138. package/lib/Icon/icons/HomeFill.js +90 -0
  139. package/lib/Icon/icons/IconBase.withSpan.tpl +58 -0
  140. package/lib/Icon/icons/LightningLine.d.ts +13 -0
  141. package/lib/Icon/icons/LightningLine.js +83 -0
  142. package/lib/Icon/icons/Loading.d.ts +13 -0
  143. package/lib/Icon/icons/Loading.js +83 -0
  144. package/lib/Icon/icons/More.d.ts +13 -0
  145. package/lib/Icon/icons/More.js +83 -0
  146. package/lib/Icon/icons/NewWindowsLine.d.ts +13 -0
  147. package/lib/Icon/icons/NewWindowsLine.js +91 -0
  148. package/lib/Icon/icons/SearchLine.d.ts +13 -0
  149. package/lib/Icon/icons/SearchLine.js +90 -0
  150. package/lib/Icon/icons/SortAscendingLine.d.ts +13 -0
  151. package/lib/Icon/icons/SortAscendingLine.js +83 -0
  152. package/lib/Icon/icons/SortDescendingLine.d.ts +13 -0
  153. package/lib/Icon/icons/SortDescendingLine.js +83 -0
  154. package/lib/Icon/icons/TextLine.d.ts +13 -0
  155. package/lib/Icon/icons/TextLine.js +90 -0
  156. package/lib/Icon/icons/UserLine.d.ts +13 -0
  157. package/lib/Icon/icons/UserLine.js +90 -0
  158. package/lib/Icon/icons/style.css +9 -0
  159. package/lib/Icon/icons/style.css.d.ts +10 -0
  160. package/lib/Icon/index.d.ts +2 -13
  161. package/lib/Icon/index.js +2 -59
  162. package/lib/Icon/index.less +9 -17
  163. package/lib/Icon/style/index.d.ts +1 -0
  164. package/lib/Icon/style/index.js +1 -0
  165. package/lib/Icon/style/index.less +0 -0
  166. package/lib/Input/components/Password/index.js +7 -5
  167. package/lib/Input/style/index.less +1 -1
  168. package/lib/InputNumber/style/index.less +88 -16
  169. package/lib/Menu/style/index.less +4 -3
  170. package/lib/Modal/index.js +6 -4
  171. package/lib/Modal/style/index.less +3 -3
  172. package/lib/Navigator/style/index.less +46 -5
  173. package/lib/Select/index.d.ts +2 -1
  174. package/lib/Select/index.js +2 -1
  175. package/lib/Select/rc-select/Selector/MultipleSelector.js +2 -2
  176. package/lib/Select/rc-select/hooks/useOptions.d.ts +1 -1
  177. package/lib/Select/style/index.d.ts +0 -1
  178. package/lib/Select/style/index.js +0 -2
  179. package/lib/Select/style/index.less +81 -10
  180. package/lib/Select/style/variables.less +20 -9
  181. package/lib/Select/style/variables.less.d.ts +4 -1
  182. package/lib/Select/utils/iconUtil.js +5 -12
  183. package/lib/Table/Table.d.ts +0 -1
  184. package/lib/Table/Table.js +22 -12
  185. package/lib/Table/style/index.less +7 -0
  186. package/lib/Tabs/index.d.ts +2 -1
  187. package/lib/Tabs/index.js +11 -4
  188. package/lib/Tabs/style/index.less +35 -1
  189. package/lib/index.d.ts +1 -0
  190. package/lib/index.js +8 -0
  191. package/lib/style/index.less +1 -0
  192. package/lib/style/themes/default/scrollBar.less +13 -0
  193. package/package.json +1 -1
  194. package/es/Icon/iconfont/demo.css +0 -539
  195. package/es/Icon/iconfont/demo_index.html +0 -720
  196. package/es/Icon/iconfont/iconfont.css +0 -109
  197. package/es/Icon/iconfont/iconfont.js +0 -46
  198. package/es/Icon/iconfont/iconfont.json +0 -170
  199. package/es/Icon/iconfont/iconfont.ttf +0 -0
  200. package/es/Icon/iconfont/iconfont.woff +0 -0
  201. package/es/Icon/iconfont/iconfont.woff2 +0 -0
  202. package/es/Table/components/Empty/empty-img.png +0 -0
  203. package/es/Table/components/Empty/index.d.ts +0 -4
  204. package/es/Table/components/Empty/index.js +0 -16
  205. package/es/Table/components/Empty/index.less +0 -24
  206. package/lib/Icon/iconfont/demo.css +0 -539
  207. package/lib/Icon/iconfont/demo_index.html +0 -720
  208. package/lib/Icon/iconfont/iconfont.css +0 -109
  209. package/lib/Icon/iconfont/iconfont.js +0 -48
  210. package/lib/Icon/iconfont/iconfont.json +0 -170
  211. package/lib/Icon/iconfont/iconfont.ttf +0 -0
  212. package/lib/Icon/iconfont/iconfont.woff +0 -0
  213. package/lib/Icon/iconfont/iconfont.woff2 +0 -0
  214. package/lib/Table/components/Empty/empty-img.png +0 -0
  215. package/lib/Table/components/Empty/index.d.ts +0 -4
  216. package/lib/Table/components/Empty/index.js +0 -30
  217. 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 More(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: "M14 3a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm0 9a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm-2 11a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z",
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 NewWindowsLine(props: IconProps): JSX.Element;
13
+ export {};
@@ -0,0 +1,74 @@
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 NewWindowsLine(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: "M18.71 5.295a.995.995 0 0 1 .29.702V11a1 1 0 1 1-2 0V8.414l-5.293 5.293a1 1 0 0 1-1.414-1.414L15.586 7H13a1 1 0 1 1 0-2h5a1 1 0 0 1 .705.29l.004.005Z",
62
+ fill: _fill
63
+ }), /*#__PURE__*/React.createElement("path", {
64
+ "data-follow-fill": "#001A33",
65
+ d: "M24 16.3a2.7 2.7 0 0 1-2.7 2.7H7.7A2.7 2.7 0 0 1 5 16.3V2.7A2.7 2.7 0 0 1 7.7 0h13.6A2.7 2.7 0 0 1 24 2.7v13.6Zm-2.7.7a.7.7 0 0 0 .7-.7V2.7a.7.7 0 0 0-.7-.7H7.7a.7.7 0 0 0-.7.7v13.6a.7.7 0 0 0 .7.7h13.6Z",
66
+ clipRule: "evenodd",
67
+ fillRule: "evenodd",
68
+ fill: _fill
69
+ }), /*#__PURE__*/React.createElement("path", {
70
+ "data-follow-fill": "#001A33",
71
+ d: "M1 5a1 1 0 0 1 1 1v15.3a.7.7 0 0 0 .7.7H18a1 1 0 1 1 0 2H2.7A2.7 2.7 0 0 1 0 21.3V6a1 1 0 0 1 1-1Z",
72
+ fill: _fill
73
+ })));
74
+ }
@@ -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 SearchLine(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 SearchLine(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(#56044__a)"
61
+ }, /*#__PURE__*/React.createElement("path", {
62
+ "data-follow-fill": "#001A33",
63
+ fillRule: "evenodd",
64
+ clipRule: "evenodd",
65
+ d: "M2 10a8 8 0 1 1 16 0 8 8 0 0 1-16 0Zm8-10C4.477 0 0 4.477 0 10s4.477 10 10 10a9.959 9.959 0 0 0 6.329-2.257l5.964 5.964a1 1 0 1 0 1.414-1.414l-5.964-5.964A9.959 9.959 0 0 0 20 10c0-5.523-4.477-10-10-10Z",
66
+ fill: _fill
67
+ })), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
68
+ id: "56044__a"
69
+ }, /*#__PURE__*/React.createElement("path", {
70
+ d: "M0 0h24v24H0z",
71
+ fill: "#fff"
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 SortAscendingLine(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 SortAscendingLine(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: "M11 5.414 6.707 9.707a1 1 0 0 1-1.414-1.414l6-6a.996.996 0 0 1 1.414 0l6 6a1 1 0 0 1-1.414 1.414L13 5.414V21a1 1 0 1 1-2 0V5.414Z",
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 SortDescendingLine(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 SortDescendingLine(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: "m13 18.586 4.293-4.293a1 1 0 0 1 1.414 1.414l-6 6a.997.997 0 0 1-1.414 0l-6-6a1 1 0 1 1 1.414-1.414L11 18.586V3a1 1 0 1 1 2 0v15.586Z",
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 TextLine(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 TextLine(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(#562cc__a)"
61
+ }, /*#__PURE__*/React.createElement("path", {
62
+ "data-follow-fill": "#001A33",
63
+ fillRule: "evenodd",
64
+ clipRule: "evenodd",
65
+ d: "M7 5.778 4.49 13h5.02L7 5.778Zm-5.055 14.55L3.795 15h6.41l1.85 5.328a1 1 0 1 0 1.89-.656L8.563 4.182a1.809 1.809 0 0 0-.557-.816A1.582 1.582 0 0 0 7 3c-.382 0-.732.14-1.006.366a1.809 1.809 0 0 0-.557.816L.055 19.672a1 1 0 0 0 1.89.656ZM19 13a3 3 0 1 0 0 6 3 3 0 0 0 0-6Zm0-2c1.126 0 2.164.372 3 1a1 1 0 0 1 2 0v8a1 1 0 0 1-2 0 5 5 0 1 1-3-9Z",
66
+ fill: _fill
67
+ })), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
68
+ id: "562cc__a"
69
+ }, /*#__PURE__*/React.createElement("path", {
70
+ d: "M0 0h24v24H0z",
71
+ fill: "#fff"
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 UserLine(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 UserLine(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(#56361__a)"
61
+ }, /*#__PURE__*/React.createElement("path", {
62
+ "data-follow-fill": "#001A33",
63
+ d: "M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10a9.964 9.964 0 0 1-2.627 6.756A9.242 9.242 0 0 0 16.51 16.2 9.09 9.09 0 0 0 12 15a9.09 9.09 0 0 0-4.51 1.2 9.242 9.242 0 0 0-2.863 2.556A9.964 9.964 0 0 1 2 12Zm4.128 8.095A9.955 9.955 0 0 0 12 22a9.955 9.955 0 0 0 5.872-1.904 7.247 7.247 0 0 0-2.354-2.16A7.09 7.09 0 0 0 12 17a7.09 7.09 0 0 0-3.518.937 7.247 7.247 0 0 0-2.354 2.158ZM12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0Zm0 6a3 3 0 1 0 0 6 3 3 0 0 0 0-6ZM7 9a5 5 0 1 1 10 0A5 5 0 0 1 7 9Z",
64
+ clipRule: "evenodd",
65
+ fillRule: "evenodd",
66
+ fill: _fill
67
+ })), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
68
+ id: "56361__a"
69
+ }, /*#__PURE__*/React.createElement("path", {
70
+ fill: "#fff",
71
+ d: "M0 0h24v24H0z"
72
+ })))));
73
+ }
@@ -0,0 +1,9 @@
1
+ .spin,.spin svg {animation: iconpark-spin 1s infinite linear;}
2
+ .rtl,.rtl svg {transform: scaleX(-1);}
3
+ .spin.rtl,.spin.rtl svg {animation: iconpark-spin-rtl 1s infinite linear;}
4
+ @keyframes iconpark-spin {
5
+ 0% { -webkit-transform: rotate(0); transform: rotate(0);} 100% {-webkit-transform: rotate(360deg); transform: rotate(360deg);}
6
+ }
7
+ @keyframes iconpark-spin-rtl {
8
+ 0% {-webkit-transform: scaleX(-1) rotate(0); transform: scaleX(-1) rotate(0);} 100% {-webkit-transform: scaleX(-1) rotate(360deg); transform: scaleX(-1) rotate(360deg);}
9
+ }
@@ -0,0 +1,10 @@
1
+ // This file is automatically generated.
2
+ // Please do not change this file!
3
+ interface CssExports {
4
+ 'iconpark-spin': string;
5
+ 'iconpark-spin-rtl': string;
6
+ 'rtl': string;
7
+ 'spin': string;
8
+ }
9
+ export const cssExports: CssExports;
10
+ export default cssExports;
@@ -1,14 +1,3 @@
1
- import React from 'react';
2
- import { IconFontProps } from '@ant-design/icons/lib/components/IconFont';
3
- import { createFromIconfontCN } from '@ant-design/icons';
4
- declare const Icon: (props: IIconProps) => JSX.Element;
1
+ import Icon from './components/Icon';
2
+ export type { IBaseIconProps } from './components/Icon';
5
3
  export default Icon;
6
- export type { IconFontProps };
7
- export { createFromIconfontCN };
8
- export interface IIconProps extends Omit<IconFontProps, 'size'> {
9
- className?: string;
10
- size?: number | string;
11
- style?: React.CSSProperties;
12
- color?: string;
13
- type: string;
14
- }