@arco-iconbox/react-bioos 0.0.3 → 0.0.5
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/cjs/IconCalendar/index.d.ts +4 -0
- package/cjs/IconCalendar/index.js +59 -0
- package/cjs/IconCaretDown/index.d.ts +4 -0
- package/cjs/IconCaretDown/index.js +59 -0
- package/cjs/IconCaretUp/index.d.ts +4 -0
- package/cjs/IconCaretUp/index.js +59 -0
- package/cjs/IconClose2/index.d.ts +4 -0
- package/cjs/IconClose2/index.js +59 -0
- package/cjs/IconDown2/index.d.ts +4 -0
- package/cjs/IconDown2/index.js +59 -0
- package/cjs/IconDownload/index.d.ts +4 -0
- package/cjs/IconDownload/index.js +59 -0
- package/cjs/IconDragDotVertical/index.d.ts +4 -0
- package/cjs/IconDragDotVertical/index.js +59 -0
- package/cjs/IconEye/index.d.ts +4 -0
- package/cjs/IconEye/index.js +59 -0
- package/cjs/IconEyeInvisible/index.d.ts +4 -0
- package/cjs/IconEyeInvisible/index.js +59 -0
- package/cjs/IconLink/index.d.ts +4 -0
- package/cjs/IconLink/index.js +63 -0
- package/cjs/IconLoading2/index.d.ts +4 -0
- package/cjs/IconLoading2/index.js +59 -0
- package/cjs/IconMore2/index.d.ts +4 -0
- package/cjs/IconMore2/index.js +59 -0
- package/cjs/IconPlus2/index.d.ts +4 -0
- package/cjs/IconPlus2/index.js +59 -0
- package/cjs/IconQuestionCircle/index.d.ts +4 -0
- package/cjs/IconQuestionCircle/index.js +59 -0
- package/cjs/IconSaveFile/index.d.ts +4 -0
- package/cjs/IconSaveFile/index.js +59 -0
- package/cjs/IconToBottom/index.d.ts +4 -0
- package/cjs/IconToBottom/index.js +59 -0
- package/cjs/index.d.ts +16 -0
- package/cjs/index.js +34 -1
- package/dist/icon.min.js +1 -1
- package/esm/IconCalendar/index.d.ts +4 -0
- package/esm/IconCalendar/index.js +34 -0
- package/esm/IconCaretDown/index.d.ts +4 -0
- package/esm/IconCaretDown/index.js +34 -0
- package/esm/IconCaretUp/index.d.ts +4 -0
- package/esm/IconCaretUp/index.js +34 -0
- package/esm/IconClose2/index.d.ts +4 -0
- package/esm/IconClose2/index.js +34 -0
- package/esm/IconDown2/index.d.ts +4 -0
- package/esm/IconDown2/index.js +34 -0
- package/esm/IconDownload/index.d.ts +4 -0
- package/esm/IconDownload/index.js +34 -0
- package/esm/IconDragDotVertical/index.d.ts +4 -0
- package/esm/IconDragDotVertical/index.js +34 -0
- package/esm/IconEye/index.d.ts +4 -0
- package/esm/IconEye/index.js +34 -0
- package/esm/IconEyeInvisible/index.d.ts +4 -0
- package/esm/IconEyeInvisible/index.js +34 -0
- package/esm/IconLink/index.d.ts +4 -0
- package/esm/IconLink/index.js +38 -0
- package/esm/IconLoading2/index.d.ts +4 -0
- package/esm/IconLoading2/index.js +34 -0
- package/esm/IconMore2/index.d.ts +4 -0
- package/esm/IconMore2/index.js +34 -0
- package/esm/IconPlus2/index.d.ts +4 -0
- package/esm/IconPlus2/index.js +34 -0
- package/esm/IconQuestionCircle/index.d.ts +4 -0
- package/esm/IconQuestionCircle/index.js +34 -0
- package/esm/IconSaveFile/index.d.ts +4 -0
- package/esm/IconSaveFile/index.js +34 -0
- package/esm/IconToBottom/index.d.ts +4 -0
- package/esm/IconToBottom/index.js +34 -0
- package/esm/index.d.ts +16 -0
- package/esm/index.js +16 -0
- package/package.json +1 -1
- package/src/IconCalendar/index.tsx +15 -0
- package/src/IconCaretDown/index.tsx +15 -0
- package/src/IconCaretUp/index.tsx +15 -0
- package/src/IconClose2/index.tsx +15 -0
- package/src/IconDown2/index.tsx +15 -0
- package/src/IconDownload/index.tsx +15 -0
- package/src/IconDragDotVertical/index.tsx +15 -0
- package/src/IconEye/index.tsx +15 -0
- package/src/IconEyeInvisible/index.tsx +15 -0
- package/src/IconLink/index.tsx +15 -0
- package/src/IconLoading2/index.tsx +15 -0
- package/src/IconMore2/index.tsx +15 -0
- package/src/IconPlus2/index.tsx +15 -0
- package/src/IconQuestionCircle/index.tsx +15 -0
- package/src/IconSaveFile/index.tsx +15 -0
- package/src/IconToBottom/index.tsx +15 -0
- package/src/index.ts +16 -0
- package/umd/IconCalendar/index.d.ts +4 -0
- package/umd/IconCalendar/index.js +69 -0
- package/umd/IconCaretDown/index.d.ts +4 -0
- package/umd/IconCaretDown/index.js +69 -0
- package/umd/IconCaretUp/index.d.ts +4 -0
- package/umd/IconCaretUp/index.js +69 -0
- package/umd/IconClose2/index.d.ts +4 -0
- package/umd/IconClose2/index.js +69 -0
- package/umd/IconDown2/index.d.ts +4 -0
- package/umd/IconDown2/index.js +69 -0
- package/umd/IconDownload/index.d.ts +4 -0
- package/umd/IconDownload/index.js +69 -0
- package/umd/IconDragDotVertical/index.d.ts +4 -0
- package/umd/IconDragDotVertical/index.js +69 -0
- package/umd/IconEye/index.d.ts +4 -0
- package/umd/IconEye/index.js +69 -0
- package/umd/IconEyeInvisible/index.d.ts +4 -0
- package/umd/IconEyeInvisible/index.js +69 -0
- package/umd/IconLink/index.d.ts +4 -0
- package/umd/IconLink/index.js +73 -0
- package/umd/IconLoading2/index.d.ts +4 -0
- package/umd/IconLoading2/index.js +69 -0
- package/umd/IconMore2/index.d.ts +4 -0
- package/umd/IconMore2/index.js +69 -0
- package/umd/IconPlus2/index.d.ts +4 -0
- package/umd/IconPlus2/index.js +69 -0
- package/umd/IconQuestionCircle/index.d.ts +4 -0
- package/umd/IconQuestionCircle/index.js +69 -0
- package/umd/IconSaveFile/index.d.ts +4 -0
- package/umd/IconSaveFile/index.js +69 -0
- package/umd/IconToBottom/index.d.ts +4 -0
- package/umd/IconToBottom/index.js +69 -0
- package/umd/index.d.ts +16 -0
- package/umd/index.js +34 -2
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
13
|
+
var t = {};
|
|
14
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
15
|
+
t[p] = s[p];
|
|
16
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
17
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
18
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
19
|
+
t[p[i]] = s[p[i]];
|
|
20
|
+
}
|
|
21
|
+
return t;
|
|
22
|
+
};
|
|
23
|
+
import React, { useContext } from 'react';
|
|
24
|
+
import { Context } from '../context';
|
|
25
|
+
function IconSaveFileComponent(props, ref) {
|
|
26
|
+
var prefixFromContext = useContext(Context).prefix;
|
|
27
|
+
var _a = props.className, className = _a === void 0 ? '' : _a, prefixFromProps = props.prefix, _b = props.width, width = _b === void 0 ? '1em' : _b, _c = props.height, height = _c === void 0 ? '1em' : _c, _d = props.useCurrentColor, useCurrentColor = _d === void 0 ? true : _d, spin = props.spin, rest = __rest(props, ["className", "prefix", "width", "height", "useCurrentColor", "spin"]);
|
|
28
|
+
var prefix = prefixFromProps || prefixFromContext || 'bioos';
|
|
29
|
+
var loadingKls = spin ? " ".concat(prefix, "-icon-loading") : '';
|
|
30
|
+
return React.createElement("svg", __assign({ className: "".concat(prefix, "-icon ").concat(prefix, "-icon-save-file").concat(loadingKls, " ").concat(className), width: width, height: height, viewBox: "0 0 48 48", fill: useCurrentColor ? 'currentColor' : '#000', xmlns: "http://www.w3.org/2000/svg" }, rest, { ref: ref }),
|
|
31
|
+
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M32.38 4a4 4 0 012.832 1.175l7.62 7.64A4 4 0 0144 15.64V42a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2h26.38zM12 8H8v32h32V16.83a2 2 0 00-.584-1.412l-6.81-6.83A2 2 0 0031.19 8H31v14a2 2 0 01-2 2H14a2 2 0 01-2-2V8zm15 0H16v12h3.999L20 14a1 1 0 011-1h2a1 1 0 011 1v6h3V8z" }));
|
|
32
|
+
}
|
|
33
|
+
var IconSaveFile = React.forwardRef(IconSaveFileComponent);
|
|
34
|
+
export default IconSaveFile;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
13
|
+
var t = {};
|
|
14
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
15
|
+
t[p] = s[p];
|
|
16
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
17
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
18
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
19
|
+
t[p[i]] = s[p[i]];
|
|
20
|
+
}
|
|
21
|
+
return t;
|
|
22
|
+
};
|
|
23
|
+
import React, { useContext } from 'react';
|
|
24
|
+
import { Context } from '../context';
|
|
25
|
+
function IconToBottomComponent(props, ref) {
|
|
26
|
+
var prefixFromContext = useContext(Context).prefix;
|
|
27
|
+
var _a = props.className, className = _a === void 0 ? '' : _a, prefixFromProps = props.prefix, _b = props.width, width = _b === void 0 ? '1em' : _b, _c = props.height, height = _c === void 0 ? '1em' : _c, _d = props.useCurrentColor, useCurrentColor = _d === void 0 ? true : _d, spin = props.spin, rest = __rest(props, ["className", "prefix", "width", "height", "useCurrentColor", "spin"]);
|
|
28
|
+
var prefix = prefixFromProps || prefixFromContext || 'bioos';
|
|
29
|
+
var loadingKls = spin ? " ".concat(prefix, "-icon-loading") : '';
|
|
30
|
+
return React.createElement("svg", __assign({ className: "".concat(prefix, "-icon ").concat(prefix, "-icon-to-bottom").concat(loadingKls, " ").concat(className), width: width, height: height, viewBox: "0 0 48 48", fill: useCurrentColor ? 'currentColor' : '#000', xmlns: "http://www.w3.org/2000/svg" }, rest, { ref: ref }),
|
|
31
|
+
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M22 25V5a1 1 0 011-1h2a1 1 0 011 1v20h5.982c1.191 0 1.838 1.394 1.068 2.304l-7.981 9.433a1.4 1.4 0 01-2.138 0l-7.981-9.433c-.77-.91-.123-2.304 1.069-2.304H22zm21 15a1 1 0 011 1v2a1 1 0 01-1 1H5a1 1 0 01-1-1v-2a1 1 0 011-1h38z" }));
|
|
32
|
+
}
|
|
33
|
+
var IconToBottom = React.forwardRef(IconToBottomComponent);
|
|
34
|
+
export default IconToBottom;
|
package/esm/index.d.ts
CHANGED
|
@@ -396,4 +396,20 @@ export { default as IconSend3 } from './IconSend3';
|
|
|
396
396
|
export { default as IconFileOpen } from './IconFileOpen';
|
|
397
397
|
export { default as IconFileClosed } from './IconFileClosed';
|
|
398
398
|
export { default as IconExitMode } from './IconExitMode';
|
|
399
|
+
export { default as IconToBottom } from './IconToBottom';
|
|
400
|
+
export { default as IconEye } from './IconEye';
|
|
401
|
+
export { default as IconDragDotVertical } from './IconDragDotVertical';
|
|
402
|
+
export { default as IconQuestionCircle } from './IconQuestionCircle';
|
|
403
|
+
export { default as IconEyeInvisible } from './IconEyeInvisible';
|
|
404
|
+
export { default as IconPlus2 } from './IconPlus2';
|
|
405
|
+
export { default as IconCaretUp } from './IconCaretUp';
|
|
406
|
+
export { default as IconDown2 } from './IconDown2';
|
|
407
|
+
export { default as IconCaretDown } from './IconCaretDown';
|
|
408
|
+
export { default as IconLoading2 } from './IconLoading2';
|
|
409
|
+
export { default as IconLink } from './IconLink';
|
|
410
|
+
export { default as IconDownload } from './IconDownload';
|
|
411
|
+
export { default as IconCalendar } from './IconCalendar';
|
|
412
|
+
export { default as IconClose2 } from './IconClose2';
|
|
413
|
+
export { default as IconMore2 } from './IconMore2';
|
|
414
|
+
export { default as IconSaveFile } from './IconSaveFile';
|
|
399
415
|
export * from './type';
|
package/esm/index.js
CHANGED
|
@@ -396,4 +396,20 @@ export { default as IconSend3 } from './IconSend3';
|
|
|
396
396
|
export { default as IconFileOpen } from './IconFileOpen';
|
|
397
397
|
export { default as IconFileClosed } from './IconFileClosed';
|
|
398
398
|
export { default as IconExitMode } from './IconExitMode';
|
|
399
|
+
export { default as IconToBottom } from './IconToBottom';
|
|
400
|
+
export { default as IconEye } from './IconEye';
|
|
401
|
+
export { default as IconDragDotVertical } from './IconDragDotVertical';
|
|
402
|
+
export { default as IconQuestionCircle } from './IconQuestionCircle';
|
|
403
|
+
export { default as IconEyeInvisible } from './IconEyeInvisible';
|
|
404
|
+
export { default as IconPlus2 } from './IconPlus2';
|
|
405
|
+
export { default as IconCaretUp } from './IconCaretUp';
|
|
406
|
+
export { default as IconDown2 } from './IconDown2';
|
|
407
|
+
export { default as IconCaretDown } from './IconCaretDown';
|
|
408
|
+
export { default as IconLoading2 } from './IconLoading2';
|
|
409
|
+
export { default as IconLink } from './IconLink';
|
|
410
|
+
export { default as IconDownload } from './IconDownload';
|
|
411
|
+
export { default as IconCalendar } from './IconCalendar';
|
|
412
|
+
export { default as IconClose2 } from './IconClose2';
|
|
413
|
+
export { default as IconMore2 } from './IconMore2';
|
|
414
|
+
export { default as IconSaveFile } from './IconSaveFile';
|
|
399
415
|
export * from './type';
|
package/package.json
CHANGED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React, { ForwardedRef, useContext } from 'react';
|
|
2
|
+
import { OriginIconProps } from '../type';
|
|
3
|
+
import { Context } from '../context';
|
|
4
|
+
|
|
5
|
+
function IconCalendarComponent(props: OriginIconProps, ref: ForwardedRef<SVGSVGElement>) {
|
|
6
|
+
const { prefix: prefixFromContext } = useContext(Context);
|
|
7
|
+
const { className = '', prefix: prefixFromProps, width = '1em', height = '1em', useCurrentColor = true, spin, ...rest } = props;
|
|
8
|
+
|
|
9
|
+
const prefix = prefixFromProps || prefixFromContext || 'bioos';
|
|
10
|
+
const loadingKls = spin ? ` ${prefix}-icon-loading` : '';
|
|
11
|
+
return <svg className={`${prefix}-icon ${prefix}-icon-calendar${loadingKls} ${className}`} width={width} height={height} viewBox="0 0 48 48" fill={useCurrentColor ? 'currentColor' : '#000'} xmlns="http://www.w3.org/2000/svg" {...rest} ref={ref}><path fillRule="evenodd" clipRule="evenodd" d="M15 3a1 1 0 011 1v2h16V4a1 1 0 011-1h2a1 1 0 011 1v2h6c1.105 0 2 .945 2 2.111V41.89C44 43.055 43.105 44 42 44H6c-1.105 0-2-.945-2-2.111V8.11C4 6.945 4.895 6 6 6h5.999L12 4a1 1 0 011-1h2zm25 21H8v16h32V24zM11.999 10H8v10h32V10h-4v2a1 1 0 01-1 1h-2a1 1 0 01-1-1v-2H16v2a1 1 0 01-1 1h-2a1 1 0 01-1-1l-.001-2z"/></svg>;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
const IconCalendar = React.forwardRef(IconCalendarComponent);
|
|
15
|
+
export default IconCalendar;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React, { ForwardedRef, useContext } from 'react';
|
|
2
|
+
import { OriginIconProps } from '../type';
|
|
3
|
+
import { Context } from '../context';
|
|
4
|
+
|
|
5
|
+
function IconCaretDownComponent(props: OriginIconProps, ref: ForwardedRef<SVGSVGElement>) {
|
|
6
|
+
const { prefix: prefixFromContext } = useContext(Context);
|
|
7
|
+
const { className = '', prefix: prefixFromProps, width = '1em', height = '1em', useCurrentColor = true, spin, ...rest } = props;
|
|
8
|
+
|
|
9
|
+
const prefix = prefixFromProps || prefixFromContext || 'bioos';
|
|
10
|
+
const loadingKls = spin ? ` ${prefix}-icon-loading` : '';
|
|
11
|
+
return <svg className={`${prefix}-icon ${prefix}-icon-caret-down${loadingKls} ${className}`} width={width} height={height} viewBox="0 0 48 48" fill={useCurrentColor ? 'currentColor' : '#000'} xmlns="http://www.w3.org/2000/svg" {...rest} ref={ref}><path d="M8.4 17.648A1 1 0 019.162 16h29.676a1 1 0 01.761 1.648L24.762 35.104a1 1 0 01-1.524 0L8.4 17.648z"/></svg>;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
const IconCaretDown = React.forwardRef(IconCaretDownComponent);
|
|
15
|
+
export default IconCaretDown;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React, { ForwardedRef, useContext } from 'react';
|
|
2
|
+
import { OriginIconProps } from '../type';
|
|
3
|
+
import { Context } from '../context';
|
|
4
|
+
|
|
5
|
+
function IconCaretUpComponent(props: OriginIconProps, ref: ForwardedRef<SVGSVGElement>) {
|
|
6
|
+
const { prefix: prefixFromContext } = useContext(Context);
|
|
7
|
+
const { className = '', prefix: prefixFromProps, width = '1em', height = '1em', useCurrentColor = true, spin, ...rest } = props;
|
|
8
|
+
|
|
9
|
+
const prefix = prefixFromProps || prefixFromContext || 'bioos';
|
|
10
|
+
const loadingKls = spin ? ` ${prefix}-icon-loading` : '';
|
|
11
|
+
return <svg className={`${prefix}-icon ${prefix}-icon-caret-up${loadingKls} ${className}`} width={width} height={height} viewBox="0 0 48 48" fill={useCurrentColor ? 'currentColor' : '#000'} xmlns="http://www.w3.org/2000/svg" {...rest} ref={ref}><path d="M8.4 30.352A1 1 0 009.162 32h29.676a1 1 0 00.761-1.648L24.762 12.896a1 1 0 00-1.524 0L8.4 30.352z"/></svg>;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
const IconCaretUp = React.forwardRef(IconCaretUpComponent);
|
|
15
|
+
export default IconCaretUp;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React, { ForwardedRef, useContext } from 'react';
|
|
2
|
+
import { OriginIconProps } from '../type';
|
|
3
|
+
import { Context } from '../context';
|
|
4
|
+
|
|
5
|
+
function IconClose2Component(props: OriginIconProps, ref: ForwardedRef<SVGSVGElement>) {
|
|
6
|
+
const { prefix: prefixFromContext } = useContext(Context);
|
|
7
|
+
const { className = '', prefix: prefixFromProps, width = '1em', height = '1em', useCurrentColor = true, spin, ...rest } = props;
|
|
8
|
+
|
|
9
|
+
const prefix = prefixFromProps || prefixFromContext || 'bioos';
|
|
10
|
+
const loadingKls = spin ? ` ${prefix}-icon-loading` : '';
|
|
11
|
+
return <svg className={`${prefix}-icon ${prefix}-icon-close2${loadingKls} ${className}`} width={width} height={height} viewBox="0 0 48 48" fill={useCurrentColor ? 'currentColor' : '#000'} xmlns="http://www.w3.org/2000/svg" {...rest} ref={ref}><path fillRule="evenodd" clipRule="evenodd" d="M23.886 20.957L37.32 7.522a1 1 0 011.414 0l1.414 1.414a1 1 0 010 1.415L26.714 23.786 40.149 37.22a1 1 0 010 1.414l-1.414 1.414a1 1 0 01-1.414 0L23.886 26.614 10.45 40.049a1 1 0 01-1.414 0l-1.414-1.414a1 1 0 010-1.414l13.435-13.435L7.622 10.35a1 1 0 010-1.415l1.414-1.414a1 1 0 011.414 0l13.436 13.435z"/></svg>;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
const IconClose2 = React.forwardRef(IconClose2Component);
|
|
15
|
+
export default IconClose2;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React, { ForwardedRef, useContext } from 'react';
|
|
2
|
+
import { OriginIconProps } from '../type';
|
|
3
|
+
import { Context } from '../context';
|
|
4
|
+
|
|
5
|
+
function IconDown2Component(props: OriginIconProps, ref: ForwardedRef<SVGSVGElement>) {
|
|
6
|
+
const { prefix: prefixFromContext } = useContext(Context);
|
|
7
|
+
const { className = '', prefix: prefixFromProps, width = '1em', height = '1em', useCurrentColor = true, spin, ...rest } = props;
|
|
8
|
+
|
|
9
|
+
const prefix = prefixFromProps || prefixFromContext || 'bioos';
|
|
10
|
+
const loadingKls = spin ? ` ${prefix}-icon-loading` : '';
|
|
11
|
+
return <svg className={`${prefix}-icon ${prefix}-icon-down2${loadingKls} ${className}`} width={width} height={height} viewBox="0 0 48 48" fill={useCurrentColor ? 'currentColor' : '#000'} xmlns="http://www.w3.org/2000/svg" {...rest} ref={ref}><path fillRule="evenodd" clipRule="evenodd" d="M24 31.728l16.264-16.264a1 1 0 011.414 0l1.414 1.415a1 1 0 010 1.414L25.414 35.971a2 2 0 01-2.828 0L4.908 18.293a1 1 0 010-1.414l1.414-1.415a1 1 0 011.415 0L24 31.728z"/></svg>;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
const IconDown2 = React.forwardRef(IconDown2Component);
|
|
15
|
+
export default IconDown2;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React, { ForwardedRef, useContext } from 'react';
|
|
2
|
+
import { OriginIconProps } from '../type';
|
|
3
|
+
import { Context } from '../context';
|
|
4
|
+
|
|
5
|
+
function IconDownloadComponent(props: OriginIconProps, ref: ForwardedRef<SVGSVGElement>) {
|
|
6
|
+
const { prefix: prefixFromContext } = useContext(Context);
|
|
7
|
+
const { className = '', prefix: prefixFromProps, width = '1em', height = '1em', useCurrentColor = true, spin, ...rest } = props;
|
|
8
|
+
|
|
9
|
+
const prefix = prefixFromProps || prefixFromContext || 'bioos';
|
|
10
|
+
const loadingKls = spin ? ` ${prefix}-icon-loading` : '';
|
|
11
|
+
return <svg className={`${prefix}-icon ${prefix}-icon-download${loadingKls} ${className}`} width={width} height={height} viewBox="0 0 48 48" fill={useCurrentColor ? 'currentColor' : '#000'} xmlns="http://www.w3.org/2000/svg" {...rest} ref={ref}><path fillRule="evenodd" clipRule="evenodd" d="M9 36a1 1 0 011 1v3h28v-3a1 1 0 011-1h2a1 1 0 011 1v5a2 2 0 01-2 2H8a2 2 0 01-2-2v-5a1 1 0 011-1h2zM23 5h2a1 1 0 01.993.883L26 6v22.071l6.02-6.02a1 1 0 011.32-.084l.095.084 1.414 1.414a1 1 0 01.084 1.32l-.084.094-9.9 9.9a1 1 0 01-1.32.083l-.093-.084-9.9-9.9a1 1 0 01-.083-1.32l.083-.093 1.414-1.415a1 1 0 011.32-.083l.095.084 5.534 5.535L22 6a1 1 0 01.883-.993L23 5h2-2z"/></svg>;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
const IconDownload = React.forwardRef(IconDownloadComponent);
|
|
15
|
+
export default IconDownload;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React, { ForwardedRef, useContext } from 'react';
|
|
2
|
+
import { OriginIconProps } from '../type';
|
|
3
|
+
import { Context } from '../context';
|
|
4
|
+
|
|
5
|
+
function IconDragDotVerticalComponent(props: OriginIconProps, ref: ForwardedRef<SVGSVGElement>) {
|
|
6
|
+
const { prefix: prefixFromContext } = useContext(Context);
|
|
7
|
+
const { className = '', prefix: prefixFromProps, width = '1em', height = '1em', useCurrentColor = true, spin, ...rest } = props;
|
|
8
|
+
|
|
9
|
+
const prefix = prefixFromProps || prefixFromContext || 'bioos';
|
|
10
|
+
const loadingKls = spin ? ` ${prefix}-icon-loading` : '';
|
|
11
|
+
return <svg className={`${prefix}-icon ${prefix}-icon-drag-dot-vertical${loadingKls} ${className}`} width={width} height={height} viewBox="0 0 48 48" fill={useCurrentColor ? 'currentColor' : '#000'} xmlns="http://www.w3.org/2000/svg" {...rest} ref={ref}><path fillRule="evenodd" clipRule="evenodd" d="M32 35a1 1 0 011 1v4a1 1 0 01-1 1h-4a1 1 0 01-1-1v-4a1 1 0 011-1h4zm-12 0a1 1 0 011 1v4a1 1 0 01-1 1h-4a1 1 0 01-1-1v-4a1 1 0 011-1h4zm8-14h4a1 1 0 011 1v4a1 1 0 01-1 1h-4a1 1 0 01-1-1v-4a1 1 0 011-1zm-12 0h4a1 1 0 011 1v4a1 1 0 01-1 1h-4a1 1 0 01-1-1v-4a1 1 0 011-1zM32 7a1 1 0 011 1v4a1 1 0 01-1 1h-4a1 1 0 01-1-1V8a1 1 0 011-1h4zM20 7a1 1 0 011 1v4a1 1 0 01-1 1h-4a1 1 0 01-1-1V8a1 1 0 011-1h4z"/></svg>;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
const IconDragDotVertical = React.forwardRef(IconDragDotVerticalComponent);
|
|
15
|
+
export default IconDragDotVertical;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React, { ForwardedRef, useContext } from 'react';
|
|
2
|
+
import { OriginIconProps } from '../type';
|
|
3
|
+
import { Context } from '../context';
|
|
4
|
+
|
|
5
|
+
function IconEyeComponent(props: OriginIconProps, ref: ForwardedRef<SVGSVGElement>) {
|
|
6
|
+
const { prefix: prefixFromContext } = useContext(Context);
|
|
7
|
+
const { className = '', prefix: prefixFromProps, width = '1em', height = '1em', useCurrentColor = true, spin, ...rest } = props;
|
|
8
|
+
|
|
9
|
+
const prefix = prefixFromProps || prefixFromContext || 'bioos';
|
|
10
|
+
const loadingKls = spin ? ` ${prefix}-icon-loading` : '';
|
|
11
|
+
return <svg className={`${prefix}-icon ${prefix}-icon-eye${loadingKls} ${className}`} width={width} height={height} viewBox="0 0 48 48" fill={useCurrentColor ? 'currentColor' : '#000'} xmlns="http://www.w3.org/2000/svg" {...rest} ref={ref}><path fillRule="evenodd" clipRule="evenodd" d="M23.97 37C30.446 37 36.44 32.88 42 23.974 36.584 15.099 30.602 11 23.97 11 17.34 11 11.378 15.097 6 23.974 11.521 32.883 17.496 37 23.97 37zm-.003-30c8.043 0 14.965 4.916 20.767 14.748l.355.61.373.664a2 2 0 01-.01 1.957l-.4.694C39.037 35.891 32.01 41 23.966 41c-7.886 0-14.78-4.913-20.677-14.74l-.285-.48a49.45 49.45 0 01-.354-.615l-.108-.19a2 2 0 01-.01-1.948l.337-.607.18-.316C8.856 12.034 15.829 7 23.967 7zM24 16a8 8 0 100 16 8 8 0 000-16zm0 4a4 4 0 110 8 4 4 0 010-8z"/></svg>;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
const IconEye = React.forwardRef(IconEyeComponent);
|
|
15
|
+
export default IconEye;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React, { ForwardedRef, useContext } from 'react';
|
|
2
|
+
import { OriginIconProps } from '../type';
|
|
3
|
+
import { Context } from '../context';
|
|
4
|
+
|
|
5
|
+
function IconEyeInvisibleComponent(props: OriginIconProps, ref: ForwardedRef<SVGSVGElement>) {
|
|
6
|
+
const { prefix: prefixFromContext } = useContext(Context);
|
|
7
|
+
const { className = '', prefix: prefixFromProps, width = '1em', height = '1em', useCurrentColor = true, spin, ...rest } = props;
|
|
8
|
+
|
|
9
|
+
const prefix = prefixFromProps || prefixFromContext || 'bioos';
|
|
10
|
+
const loadingKls = spin ? ` ${prefix}-icon-loading` : '';
|
|
11
|
+
return <svg className={`${prefix}-icon ${prefix}-icon-eye-invisible${loadingKls} ${className}`} width={width} height={height} viewBox="0 0 48 48" fill={useCurrentColor ? 'currentColor' : '#000'} xmlns="http://www.w3.org/2000/svg" {...rest} ref={ref}><path fillRule="evenodd" clipRule="evenodd" d="M6.536 3.707l38.183 38.184a1 1 0 010 1.414l-1.414 1.414a1 1 0 01-1.414 0L3.707 6.535a1 1 0 010-1.414l1.414-1.414a1 1 0 011.415 0zm1.46 11.357l2.614 2.614C9.027 19.42 7.49 21.514 6 23.974 11.521 32.883 17.496 37 23.97 37c1.724 0 3.414-.292 5.07-.888l3.008 3.006C29.477 40.373 26.785 41 23.968 41 15.497 41 8.175 35.334 2 24.004c1.871-3.53 3.87-6.51 5.995-8.94zM23.966 7C32.603 7 39.947 12.668 46 24.004c-1.916 3.49-3.939 6.443-6.068 8.859l-2.615-2.616c1.594-1.739 3.155-3.825 4.683-6.273C36.584 15.099 30.602 11 23.97 11c-1.73 0-3.412.278-5.051.848l-3.021-3.02A18.482 18.482 0 0123.968 7zm-7.919 16.119l8.833 8.833a8 8 0 01-8.833-8.833zM24 16a8 8 0 017.952 8.881l-8.833-8.833c.29-.032.583-.048.881-.048z"/></svg>;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
const IconEyeInvisible = React.forwardRef(IconEyeInvisibleComponent);
|
|
15
|
+
export default IconEyeInvisible;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React, { ForwardedRef, useContext } from 'react';
|
|
2
|
+
import { OriginIconProps } from '../type';
|
|
3
|
+
import { Context } from '../context';
|
|
4
|
+
|
|
5
|
+
function IconLinkComponent(props: OriginIconProps, ref: ForwardedRef<SVGSVGElement>) {
|
|
6
|
+
const { prefix: prefixFromContext } = useContext(Context);
|
|
7
|
+
const { className = '', prefix: prefixFromProps, width = '1em', height = '1em', useCurrentColor = true, spin, ...rest } = props;
|
|
8
|
+
|
|
9
|
+
const prefix = prefixFromProps || prefixFromContext || 'bioos';
|
|
10
|
+
const loadingKls = spin ? ` ${prefix}-icon-loading` : '';
|
|
11
|
+
return <svg className={`${prefix}-icon ${prefix}-icon-link${loadingKls} ${className}`} width={width} height={height} viewBox="0 0 48 48" fill={useCurrentColor ? 'currentColor' : '#000'} xmlns="http://www.w3.org/2000/svg" {...rest} ref={ref}><g clipPath="url(#svg_1250057c52__svg_2a304a1348__clip0)"><path fillRule="evenodd" clipRule="evenodd" d="M39.333 20.284c3.475-4.292 2.814-10.59-1.478-14.065-4.292-3.476-10.59-2.814-14.065 1.478l-5.664 6.995c-3.476 4.292-2.814 10.589 1.478 14.064a10.001 10.001 0 002.433 1.456l2.704-3.338a6 6 0 01-3.506-9.665l5.663-6.994a6 6 0 019.326 7.552l-3.597 4.441a6.97 6.97 0 011.116 3.123l.173 1.643 5.417-6.69zm-11.848-1.225a10.004 10.004 0 00-2.433-1.456l-2.704 3.339a6 6 0 013.506 9.665L20.191 37.6a6 6 0 01-9.326-7.552l3.597-4.442a6.968 6.968 0 01-1.116-3.122l-.173-1.644-5.417 6.69c-3.475 4.293-2.814 10.59 1.478 14.065 4.293 3.476 10.59 2.814 14.065-1.478l5.664-6.994c3.476-4.293 2.814-10.59-1.478-14.065z"/></g><defs><clipPath id="svg_1250057c52__svg_2a304a1348__clip0"><path d="M0 0h48v48H0z"/></clipPath></defs></svg>;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
const IconLink = React.forwardRef(IconLinkComponent);
|
|
15
|
+
export default IconLink;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React, { ForwardedRef, useContext } from 'react';
|
|
2
|
+
import { OriginIconProps } from '../type';
|
|
3
|
+
import { Context } from '../context';
|
|
4
|
+
|
|
5
|
+
function IconLoading2Component(props: OriginIconProps, ref: ForwardedRef<SVGSVGElement>) {
|
|
6
|
+
const { prefix: prefixFromContext } = useContext(Context);
|
|
7
|
+
const { className = '', prefix: prefixFromProps, width = '1em', height = '1em', useCurrentColor = true, spin, ...rest } = props;
|
|
8
|
+
|
|
9
|
+
const prefix = prefixFromProps || prefixFromContext || 'bioos';
|
|
10
|
+
const loadingKls = spin ? ` ${prefix}-icon-loading` : '';
|
|
11
|
+
return <svg className={`${prefix}-icon ${prefix}-icon-loading2${loadingKls} ${className}`} width={width} height={height} fill={useCurrentColor ? 'currentColor' : '#000'} viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg" {...rest} ref={ref}><path fillRule="evenodd" clipRule="evenodd" d="M24 6C14.059 6 6 14.059 6 24s8.059 18 18 18 18-8.059 18-18h4c0 12.15-9.85 22-22 22S2 36.15 2 24 11.85 2 24 2v4z"/></svg>;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
const IconLoading2 = React.forwardRef(IconLoading2Component);
|
|
15
|
+
export default IconLoading2;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React, { ForwardedRef, useContext } from 'react';
|
|
2
|
+
import { OriginIconProps } from '../type';
|
|
3
|
+
import { Context } from '../context';
|
|
4
|
+
|
|
5
|
+
function IconMore2Component(props: OriginIconProps, ref: ForwardedRef<SVGSVGElement>) {
|
|
6
|
+
const { prefix: prefixFromContext } = useContext(Context);
|
|
7
|
+
const { className = '', prefix: prefixFromProps, width = '1em', height = '1em', useCurrentColor = true, spin, ...rest } = props;
|
|
8
|
+
|
|
9
|
+
const prefix = prefixFromProps || prefixFromContext || 'bioos';
|
|
10
|
+
const loadingKls = spin ? ` ${prefix}-icon-loading` : '';
|
|
11
|
+
return <svg className={`${prefix}-icon ${prefix}-icon-more2${loadingKls} ${className}`} width={width} height={height} viewBox="0 0 48 48" fill={useCurrentColor ? 'currentColor' : '#000'} xmlns="http://www.w3.org/2000/svg" {...rest} ref={ref}><path fillRule="evenodd" clipRule="evenodd" d="M35 21h6v6h-6v-6zm-22 0v6H7v-6h6zm14 0v6h-6v-6h6z"/></svg>;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
const IconMore2 = React.forwardRef(IconMore2Component);
|
|
15
|
+
export default IconMore2;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React, { ForwardedRef, useContext } from 'react';
|
|
2
|
+
import { OriginIconProps } from '../type';
|
|
3
|
+
import { Context } from '../context';
|
|
4
|
+
|
|
5
|
+
function IconPlus2Component(props: OriginIconProps, ref: ForwardedRef<SVGSVGElement>) {
|
|
6
|
+
const { prefix: prefixFromContext } = useContext(Context);
|
|
7
|
+
const { className = '', prefix: prefixFromProps, width = '1em', height = '1em', useCurrentColor = true, spin, ...rest } = props;
|
|
8
|
+
|
|
9
|
+
const prefix = prefixFromProps || prefixFromContext || 'bioos';
|
|
10
|
+
const loadingKls = spin ? ` ${prefix}-icon-loading` : '';
|
|
11
|
+
return <svg className={`${prefix}-icon ${prefix}-icon-plus2${loadingKls} ${className}`} width={width} height={height} viewBox="0 0 48 48" fill={useCurrentColor ? 'currentColor' : '#000'} xmlns="http://www.w3.org/2000/svg" {...rest} ref={ref}><path fillRule="evenodd" clipRule="evenodd" d="M24.718 4c.446 0 .608.046.77.134.163.087.291.215.378.378.088.163.134.324.134.77V22h16.718c.446 0 .607.046.77.134.163.087.291.215.378.378.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 01-.378.378c-.163.088-.324.134-.77.134H26L26 42.718c0 .446-.046.607-.134.77a.908.908 0 01-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 01-.378-.378c-.088-.163-.134-.324-.134-.77L21.999 26 5.282 26c-.446 0-.607-.046-.77-.134a.908.908 0 01-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 01.378-.378c.163-.088.324-.134.77-.134L22 21.999V5.282c0-.446.046-.607.134-.77a.908.908 0 01.378-.378c.162-.088.324-.134.77-.134h1.436z"/></svg>;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
const IconPlus2 = React.forwardRef(IconPlus2Component);
|
|
15
|
+
export default IconPlus2;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React, { ForwardedRef, useContext } from 'react';
|
|
2
|
+
import { OriginIconProps } from '../type';
|
|
3
|
+
import { Context } from '../context';
|
|
4
|
+
|
|
5
|
+
function IconQuestionCircleComponent(props: OriginIconProps, ref: ForwardedRef<SVGSVGElement>) {
|
|
6
|
+
const { prefix: prefixFromContext } = useContext(Context);
|
|
7
|
+
const { className = '', prefix: prefixFromProps, width = '1em', height = '1em', useCurrentColor = true, spin, ...rest } = props;
|
|
8
|
+
|
|
9
|
+
const prefix = prefixFromProps || prefixFromContext || 'bioos';
|
|
10
|
+
const loadingKls = spin ? ` ${prefix}-icon-loading` : '';
|
|
11
|
+
return <svg className={`${prefix}-icon ${prefix}-icon-question-circle${loadingKls} ${className}`} width={width} height={height} viewBox="0 0 48 48" fill={useCurrentColor ? 'currentColor' : '#000'} xmlns="http://www.w3.org/2000/svg" {...rest} ref={ref}><path fillRule="evenodd" clipRule="evenodd" d="M24 2c12.15 0 22 9.85 22 22s-9.85 22-22 22S2 36.15 2 24 11.85 2 24 2zm0 4C14.059 6 6 14.059 6 24s8.059 18 18 18 18-8.059 18-18S33.941 6 24 6zm1 26a1 1 0 011 1v2a1 1 0 01-1 1h-2a1 1 0 01-1-1v-2a1 1 0 011-1h2zm-1.284-20c2.377 0 4.352.576 5.925 1.727C31.214 14.88 32 16.584 32 18.845c0 1.386-.342 2.553-1.026 3.502-.4.576-1.167 1.311-2.303 2.207l-1.12.88c-.61.48-1.016 1.04-1.216 1.679-.054.175-.102.499-.143.974a1 1 0 01-.996.913h-2.24a1 1 0 01-1-1l.002-.046.003-.046c.129-1.392.267-2.273.414-2.642.273-.688.978-1.48 2.114-2.375l1.152-.912c.379-.288 2.33-1.662 2.33-2.878 0-1.217-.212-1.665-.823-2.332-.61-.668-1.986-.883-3.227-.883-1.22 0-2.263.324-2.773 1.145a5.78 5.78 0 00-.569 1.2 4.18 4.18 0 00-.146.614 1 1 0 01-.985.831h-2.355a1 1 0 01-1-1l.002-.056.005-.057c.025-.223.051-.41.078-.557.39-2.172 1.377-3.768 2.962-4.79 1.241-.81 2.767-1.216 4.576-1.216z"/></svg>;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
const IconQuestionCircle = React.forwardRef(IconQuestionCircleComponent);
|
|
15
|
+
export default IconQuestionCircle;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React, { ForwardedRef, useContext } from 'react';
|
|
2
|
+
import { OriginIconProps } from '../type';
|
|
3
|
+
import { Context } from '../context';
|
|
4
|
+
|
|
5
|
+
function IconSaveFileComponent(props: OriginIconProps, ref: ForwardedRef<SVGSVGElement>) {
|
|
6
|
+
const { prefix: prefixFromContext } = useContext(Context);
|
|
7
|
+
const { className = '', prefix: prefixFromProps, width = '1em', height = '1em', useCurrentColor = true, spin, ...rest } = props;
|
|
8
|
+
|
|
9
|
+
const prefix = prefixFromProps || prefixFromContext || 'bioos';
|
|
10
|
+
const loadingKls = spin ? ` ${prefix}-icon-loading` : '';
|
|
11
|
+
return <svg className={`${prefix}-icon ${prefix}-icon-save-file${loadingKls} ${className}`} width={width} height={height} viewBox="0 0 48 48" fill={useCurrentColor ? 'currentColor' : '#000'} xmlns="http://www.w3.org/2000/svg" {...rest} ref={ref}><path fillRule="evenodd" clipRule="evenodd" d="M32.38 4a4 4 0 012.832 1.175l7.62 7.64A4 4 0 0144 15.64V42a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2h26.38zM12 8H8v32h32V16.83a2 2 0 00-.584-1.412l-6.81-6.83A2 2 0 0031.19 8H31v14a2 2 0 01-2 2H14a2 2 0 01-2-2V8zm15 0H16v12h3.999L20 14a1 1 0 011-1h2a1 1 0 011 1v6h3V8z"/></svg>;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
const IconSaveFile = React.forwardRef(IconSaveFileComponent);
|
|
15
|
+
export default IconSaveFile;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React, { ForwardedRef, useContext } from 'react';
|
|
2
|
+
import { OriginIconProps } from '../type';
|
|
3
|
+
import { Context } from '../context';
|
|
4
|
+
|
|
5
|
+
function IconToBottomComponent(props: OriginIconProps, ref: ForwardedRef<SVGSVGElement>) {
|
|
6
|
+
const { prefix: prefixFromContext } = useContext(Context);
|
|
7
|
+
const { className = '', prefix: prefixFromProps, width = '1em', height = '1em', useCurrentColor = true, spin, ...rest } = props;
|
|
8
|
+
|
|
9
|
+
const prefix = prefixFromProps || prefixFromContext || 'bioos';
|
|
10
|
+
const loadingKls = spin ? ` ${prefix}-icon-loading` : '';
|
|
11
|
+
return <svg className={`${prefix}-icon ${prefix}-icon-to-bottom${loadingKls} ${className}`} width={width} height={height} viewBox="0 0 48 48" fill={useCurrentColor ? 'currentColor' : '#000'} xmlns="http://www.w3.org/2000/svg" {...rest} ref={ref}><path fillRule="evenodd" clipRule="evenodd" d="M22 25V5a1 1 0 011-1h2a1 1 0 011 1v20h5.982c1.191 0 1.838 1.394 1.068 2.304l-7.981 9.433a1.4 1.4 0 01-2.138 0l-7.981-9.433c-.77-.91-.123-2.304 1.069-2.304H22zm21 15a1 1 0 011 1v2a1 1 0 01-1 1H5a1 1 0 01-1-1v-2a1 1 0 011-1h38z"/></svg>;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
const IconToBottom = React.forwardRef(IconToBottomComponent);
|
|
15
|
+
export default IconToBottom;
|
package/src/index.ts
CHANGED
|
@@ -396,5 +396,21 @@ export { default as IconSend3 } from './IconSend3';
|
|
|
396
396
|
export { default as IconFileOpen } from './IconFileOpen';
|
|
397
397
|
export { default as IconFileClosed } from './IconFileClosed';
|
|
398
398
|
export { default as IconExitMode } from './IconExitMode';
|
|
399
|
+
export { default as IconToBottom } from './IconToBottom';
|
|
400
|
+
export { default as IconEye } from './IconEye';
|
|
401
|
+
export { default as IconDragDotVertical } from './IconDragDotVertical';
|
|
402
|
+
export { default as IconQuestionCircle } from './IconQuestionCircle';
|
|
403
|
+
export { default as IconEyeInvisible } from './IconEyeInvisible';
|
|
404
|
+
export { default as IconPlus2 } from './IconPlus2';
|
|
405
|
+
export { default as IconCaretUp } from './IconCaretUp';
|
|
406
|
+
export { default as IconDown2 } from './IconDown2';
|
|
407
|
+
export { default as IconCaretDown } from './IconCaretDown';
|
|
408
|
+
export { default as IconLoading2 } from './IconLoading2';
|
|
409
|
+
export { default as IconLink } from './IconLink';
|
|
410
|
+
export { default as IconDownload } from './IconDownload';
|
|
411
|
+
export { default as IconCalendar } from './IconCalendar';
|
|
412
|
+
export { default as IconClose2 } from './IconClose2';
|
|
413
|
+
export { default as IconMore2 } from './IconMore2';
|
|
414
|
+
export { default as IconSaveFile } from './IconSaveFile';
|
|
399
415
|
|
|
400
416
|
export * from './type';
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
15
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
16
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
17
|
+
}
|
|
18
|
+
Object.defineProperty(o, k2, desc);
|
|
19
|
+
}) : (function(o, m, k, k2) {
|
|
20
|
+
if (k2 === undefined) k2 = k;
|
|
21
|
+
o[k2] = m[k];
|
|
22
|
+
}));
|
|
23
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
24
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
25
|
+
}) : function(o, v) {
|
|
26
|
+
o["default"] = v;
|
|
27
|
+
});
|
|
28
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
36
|
+
var t = {};
|
|
37
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
38
|
+
t[p] = s[p];
|
|
39
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
40
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
41
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
42
|
+
t[p[i]] = s[p[i]];
|
|
43
|
+
}
|
|
44
|
+
return t;
|
|
45
|
+
};
|
|
46
|
+
(function (factory) {
|
|
47
|
+
if (typeof module === "object" && typeof module.exports === "object") {
|
|
48
|
+
var v = factory(require, exports);
|
|
49
|
+
if (v !== undefined) module.exports = v;
|
|
50
|
+
}
|
|
51
|
+
else if (typeof define === "function" && define.amd) {
|
|
52
|
+
define(["require", "exports", "react", "../context"], factory);
|
|
53
|
+
}
|
|
54
|
+
})(function (require, exports) {
|
|
55
|
+
"use strict";
|
|
56
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
57
|
+
var react_1 = __importStar(require("react"));
|
|
58
|
+
var context_1 = require("../context");
|
|
59
|
+
function IconCalendarComponent(props, ref) {
|
|
60
|
+
var prefixFromContext = (0, react_1.useContext)(context_1.Context).prefix;
|
|
61
|
+
var _a = props.className, className = _a === void 0 ? '' : _a, prefixFromProps = props.prefix, _b = props.width, width = _b === void 0 ? '1em' : _b, _c = props.height, height = _c === void 0 ? '1em' : _c, _d = props.useCurrentColor, useCurrentColor = _d === void 0 ? true : _d, spin = props.spin, rest = __rest(props, ["className", "prefix", "width", "height", "useCurrentColor", "spin"]);
|
|
62
|
+
var prefix = prefixFromProps || prefixFromContext || 'bioos';
|
|
63
|
+
var loadingKls = spin ? " ".concat(prefix, "-icon-loading") : '';
|
|
64
|
+
return react_1.default.createElement("svg", __assign({ className: "".concat(prefix, "-icon ").concat(prefix, "-icon-calendar").concat(loadingKls, " ").concat(className), width: width, height: height, viewBox: "0 0 48 48", fill: useCurrentColor ? 'currentColor' : '#000', xmlns: "http://www.w3.org/2000/svg" }, rest, { ref: ref }),
|
|
65
|
+
react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M15 3a1 1 0 011 1v2h16V4a1 1 0 011-1h2a1 1 0 011 1v2h6c1.105 0 2 .945 2 2.111V41.89C44 43.055 43.105 44 42 44H6c-1.105 0-2-.945-2-2.111V8.11C4 6.945 4.895 6 6 6h5.999L12 4a1 1 0 011-1h2zm25 21H8v16h32V24zM11.999 10H8v10h32V10h-4v2a1 1 0 01-1 1h-2a1 1 0 01-1-1v-2H16v2a1 1 0 01-1 1h-2a1 1 0 01-1-1l-.001-2z" }));
|
|
66
|
+
}
|
|
67
|
+
var IconCalendar = react_1.default.forwardRef(IconCalendarComponent);
|
|
68
|
+
exports.default = IconCalendar;
|
|
69
|
+
});
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
15
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
16
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
17
|
+
}
|
|
18
|
+
Object.defineProperty(o, k2, desc);
|
|
19
|
+
}) : (function(o, m, k, k2) {
|
|
20
|
+
if (k2 === undefined) k2 = k;
|
|
21
|
+
o[k2] = m[k];
|
|
22
|
+
}));
|
|
23
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
24
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
25
|
+
}) : function(o, v) {
|
|
26
|
+
o["default"] = v;
|
|
27
|
+
});
|
|
28
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
36
|
+
var t = {};
|
|
37
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
38
|
+
t[p] = s[p];
|
|
39
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
40
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
41
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
42
|
+
t[p[i]] = s[p[i]];
|
|
43
|
+
}
|
|
44
|
+
return t;
|
|
45
|
+
};
|
|
46
|
+
(function (factory) {
|
|
47
|
+
if (typeof module === "object" && typeof module.exports === "object") {
|
|
48
|
+
var v = factory(require, exports);
|
|
49
|
+
if (v !== undefined) module.exports = v;
|
|
50
|
+
}
|
|
51
|
+
else if (typeof define === "function" && define.amd) {
|
|
52
|
+
define(["require", "exports", "react", "../context"], factory);
|
|
53
|
+
}
|
|
54
|
+
})(function (require, exports) {
|
|
55
|
+
"use strict";
|
|
56
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
57
|
+
var react_1 = __importStar(require("react"));
|
|
58
|
+
var context_1 = require("../context");
|
|
59
|
+
function IconCaretDownComponent(props, ref) {
|
|
60
|
+
var prefixFromContext = (0, react_1.useContext)(context_1.Context).prefix;
|
|
61
|
+
var _a = props.className, className = _a === void 0 ? '' : _a, prefixFromProps = props.prefix, _b = props.width, width = _b === void 0 ? '1em' : _b, _c = props.height, height = _c === void 0 ? '1em' : _c, _d = props.useCurrentColor, useCurrentColor = _d === void 0 ? true : _d, spin = props.spin, rest = __rest(props, ["className", "prefix", "width", "height", "useCurrentColor", "spin"]);
|
|
62
|
+
var prefix = prefixFromProps || prefixFromContext || 'bioos';
|
|
63
|
+
var loadingKls = spin ? " ".concat(prefix, "-icon-loading") : '';
|
|
64
|
+
return react_1.default.createElement("svg", __assign({ className: "".concat(prefix, "-icon ").concat(prefix, "-icon-caret-down").concat(loadingKls, " ").concat(className), width: width, height: height, viewBox: "0 0 48 48", fill: useCurrentColor ? 'currentColor' : '#000', xmlns: "http://www.w3.org/2000/svg" }, rest, { ref: ref }),
|
|
65
|
+
react_1.default.createElement("path", { d: "M8.4 17.648A1 1 0 019.162 16h29.676a1 1 0 01.761 1.648L24.762 35.104a1 1 0 01-1.524 0L8.4 17.648z" }));
|
|
66
|
+
}
|
|
67
|
+
var IconCaretDown = react_1.default.forwardRef(IconCaretDownComponent);
|
|
68
|
+
exports.default = IconCaretDown;
|
|
69
|
+
});
|