@nstc-design/icons 0.0.1
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/dist/react/icons/IconBytedanceColor.d.ts +13 -0
- package/dist/react/icons/IconBytedanceColor.js +37 -0
- package/dist/react/icons/IconCheck.d.ts +13 -0
- package/dist/react/icons/IconCheck.js +37 -0
- package/dist/react/icons/IconCheckCircle.d.ts +13 -0
- package/dist/react/icons/IconCheckCircle.js +37 -0
- package/dist/react/icons/IconCheckSquare.d.ts +13 -0
- package/dist/react/icons/IconCheckSquare.js +37 -0
- package/dist/react/icons/IconClockCircle.d.ts +13 -0
- package/dist/react/icons/IconClockCircle.js +37 -0
- package/dist/react/icons/IconClose.d.ts +13 -0
- package/dist/react/icons/IconClose.js +37 -0
- package/dist/react/icons/IconCloseCircle.d.ts +13 -0
- package/dist/react/icons/IconCloseCircle.js +37 -0
- package/dist/react/icons/IconDemoDownload.d.ts +14 -0
- package/dist/react/icons/IconDemoDownload.js +38 -0
- package/dist/react/icons/IconDemoHome.d.ts +13 -0
- package/dist/react/icons/IconDemoHome.js +37 -0
- package/dist/react/icons/IconDemoSearch.d.ts +13 -0
- package/dist/react/icons/IconDemoSearch.js +37 -0
- package/dist/react/icons/IconDemoSettings.d.ts +13 -0
- package/dist/react/icons/IconDemoSettings.js +37 -0
- package/dist/react/icons/IconDemoUpload.d.ts +13 -0
- package/dist/react/icons/IconDemoUpload.js +37 -0
- package/dist/react/icons/IconDemoUser.d.ts +13 -0
- package/dist/react/icons/IconDemoUser.js +37 -0
- package/dist/react/icons/IconExclamation.d.ts +13 -0
- package/dist/react/icons/IconExclamation.js +37 -0
- package/dist/react/icons/IconExclamationCircle.d.ts +13 -0
- package/dist/react/icons/IconExclamationCircle.js +37 -0
- package/dist/react/icons/IconFaceBookCircleFill.d.ts +13 -0
- package/dist/react/icons/IconFaceBookCircleFill.js +37 -0
- package/dist/react/icons/IconFacebookSquareFill.d.ts +13 -0
- package/dist/react/icons/IconFacebookSquareFill.js +37 -0
- package/dist/react/icons/IconFileExcelColor.d.ts +13 -0
- package/dist/react/icons/IconFileExcelColor.js +37 -0
- package/dist/react/icons/IconFileImageColor.d.ts +13 -0
- package/dist/react/icons/IconFileImageColor.js +37 -0
- package/dist/react/icons/IconFilePdfColor.d.ts +13 -0
- package/dist/react/icons/IconFilePdfColor.js +37 -0
- package/dist/react/icons/IconFileUnknownColor.d.ts +13 -0
- package/dist/react/icons/IconFileUnknownColor.js +37 -0
- package/dist/react/icons/IconFileWordColor.d.ts +13 -0
- package/dist/react/icons/IconFileWordColor.js +37 -0
- package/dist/react/icons/IconFileZipColor.d.ts +13 -0
- package/dist/react/icons/IconFileZipColor.js +37 -0
- package/dist/react/icons/IconGoogleCircleFill.d.ts +13 -0
- package/dist/react/icons/IconGoogleCircleFill.js +37 -0
- package/dist/react/icons/IconInfo.d.ts +13 -0
- package/dist/react/icons/IconInfo.js +37 -0
- package/dist/react/icons/IconInfoCircle.d.ts +13 -0
- package/dist/react/icons/IconInfoCircle.js +37 -0
- package/dist/react/icons/IconLarkColor.d.ts +13 -0
- package/dist/react/icons/IconLarkColor.js +37 -0
- package/dist/react/icons/IconMinus.d.ts +13 -0
- package/dist/react/icons/IconMinus.js +37 -0
- package/dist/react/icons/IconMinusCircle.d.ts +13 -0
- package/dist/react/icons/IconMinusCircle.js +37 -0
- package/dist/react/icons/IconPlus.d.ts +13 -0
- package/dist/react/icons/IconPlus.js +37 -0
- package/dist/react/icons/IconPlusCircle.d.ts +13 -0
- package/dist/react/icons/IconPlusCircle.js +37 -0
- package/dist/react/icons/IconQqCircleFill.d.ts +13 -0
- package/dist/react/icons/IconQqCircleFill.js +37 -0
- package/dist/react/icons/IconQuestion.d.ts +13 -0
- package/dist/react/icons/IconQuestion.js +37 -0
- package/dist/react/icons/IconQuestionCircle.d.ts +13 -0
- package/dist/react/icons/IconQuestionCircle.js +37 -0
- package/dist/react/icons/IconStop.d.ts +13 -0
- package/dist/react/icons/IconStop.js +37 -0
- package/dist/react/icons/IconTiktokColor.d.ts +13 -0
- package/dist/react/icons/IconTiktokColor.js +37 -0
- package/dist/react/icons/IconTwitterCircleFill.d.ts +13 -0
- package/dist/react/icons/IconTwitterCircleFill.js +37 -0
- package/dist/react/icons/IconWeiboCircleFill.d.ts +13 -0
- package/dist/react/icons/IconWeiboCircleFill.js +37 -0
- package/dist/react/icons/IconXiguaColor.d.ts +13 -0
- package/dist/react/icons/IconXiguaColor.js +37 -0
- package/dist/react/index.d.ts +40 -0
- package/dist/react/index.js +41 -0
- package/dist/style.css +1 -0
- package/dist/vue/icons/IconBytedanceColor.d.ts +10 -0
- package/dist/vue/icons/IconBytedanceColor.js +35 -0
- package/dist/vue/icons/IconCheck.d.ts +10 -0
- package/dist/vue/icons/IconCheck.js +35 -0
- package/dist/vue/icons/IconCheckCircle.d.ts +10 -0
- package/dist/vue/icons/IconCheckCircle.js +35 -0
- package/dist/vue/icons/IconCheckSquare.d.ts +10 -0
- package/dist/vue/icons/IconCheckSquare.js +35 -0
- package/dist/vue/icons/IconClockCircle.d.ts +10 -0
- package/dist/vue/icons/IconClockCircle.js +35 -0
- package/dist/vue/icons/IconClose.d.ts +10 -0
- package/dist/vue/icons/IconClose.js +35 -0
- package/dist/vue/icons/IconCloseCircle.d.ts +10 -0
- package/dist/vue/icons/IconCloseCircle.js +35 -0
- package/dist/vue/icons/IconDemoDownload.d.ts +11 -0
- package/dist/vue/icons/IconDemoDownload.js +36 -0
- package/dist/vue/icons/IconDemoHome.d.ts +10 -0
- package/dist/vue/icons/IconDemoHome.js +35 -0
- package/dist/vue/icons/IconDemoSearch.d.ts +10 -0
- package/dist/vue/icons/IconDemoSearch.js +35 -0
- package/dist/vue/icons/IconDemoSettings.d.ts +10 -0
- package/dist/vue/icons/IconDemoSettings.js +35 -0
- package/dist/vue/icons/IconDemoUpload.d.ts +10 -0
- package/dist/vue/icons/IconDemoUpload.js +35 -0
- package/dist/vue/icons/IconDemoUser.d.ts +10 -0
- package/dist/vue/icons/IconDemoUser.js +35 -0
- package/dist/vue/icons/IconExclamation.d.ts +10 -0
- package/dist/vue/icons/IconExclamation.js +35 -0
- package/dist/vue/icons/IconExclamationCircle.d.ts +10 -0
- package/dist/vue/icons/IconExclamationCircle.js +35 -0
- package/dist/vue/icons/IconFaceBookCircleFill.d.ts +10 -0
- package/dist/vue/icons/IconFaceBookCircleFill.js +35 -0
- package/dist/vue/icons/IconFacebookSquareFill.d.ts +10 -0
- package/dist/vue/icons/IconFacebookSquareFill.js +35 -0
- package/dist/vue/icons/IconFileExcelColor.d.ts +10 -0
- package/dist/vue/icons/IconFileExcelColor.js +35 -0
- package/dist/vue/icons/IconFileImageColor.d.ts +10 -0
- package/dist/vue/icons/IconFileImageColor.js +35 -0
- package/dist/vue/icons/IconFilePdfColor.d.ts +10 -0
- package/dist/vue/icons/IconFilePdfColor.js +35 -0
- package/dist/vue/icons/IconFileUnknownColor.d.ts +10 -0
- package/dist/vue/icons/IconFileUnknownColor.js +35 -0
- package/dist/vue/icons/IconFileWordColor.d.ts +10 -0
- package/dist/vue/icons/IconFileWordColor.js +35 -0
- package/dist/vue/icons/IconFileZipColor.d.ts +10 -0
- package/dist/vue/icons/IconFileZipColor.js +35 -0
- package/dist/vue/icons/IconGoogleCircleFill.d.ts +10 -0
- package/dist/vue/icons/IconGoogleCircleFill.js +35 -0
- package/dist/vue/icons/IconInfo.d.ts +10 -0
- package/dist/vue/icons/IconInfo.js +35 -0
- package/dist/vue/icons/IconInfoCircle.d.ts +10 -0
- package/dist/vue/icons/IconInfoCircle.js +35 -0
- package/dist/vue/icons/IconLarkColor.d.ts +10 -0
- package/dist/vue/icons/IconLarkColor.js +35 -0
- package/dist/vue/icons/IconMinus.d.ts +10 -0
- package/dist/vue/icons/IconMinus.js +35 -0
- package/dist/vue/icons/IconMinusCircle.d.ts +10 -0
- package/dist/vue/icons/IconMinusCircle.js +35 -0
- package/dist/vue/icons/IconPlus.d.ts +10 -0
- package/dist/vue/icons/IconPlus.js +35 -0
- package/dist/vue/icons/IconPlusCircle.d.ts +10 -0
- package/dist/vue/icons/IconPlusCircle.js +35 -0
- package/dist/vue/icons/IconQqCircleFill.d.ts +10 -0
- package/dist/vue/icons/IconQqCircleFill.js +35 -0
- package/dist/vue/icons/IconQuestion.d.ts +10 -0
- package/dist/vue/icons/IconQuestion.js +35 -0
- package/dist/vue/icons/IconQuestionCircle.d.ts +10 -0
- package/dist/vue/icons/IconQuestionCircle.js +35 -0
- package/dist/vue/icons/IconStop.d.ts +10 -0
- package/dist/vue/icons/IconStop.js +35 -0
- package/dist/vue/icons/IconTiktokColor.d.ts +10 -0
- package/dist/vue/icons/IconTiktokColor.js +35 -0
- package/dist/vue/icons/IconTwitterCircleFill.d.ts +10 -0
- package/dist/vue/icons/IconTwitterCircleFill.js +35 -0
- package/dist/vue/icons/IconWeiboCircleFill.d.ts +10 -0
- package/dist/vue/icons/IconWeiboCircleFill.js +35 -0
- package/dist/vue/icons/IconXiguaColor.d.ts +10 -0
- package/dist/vue/icons/IconXiguaColor.js +35 -0
- package/dist/vue/index.d.ts +45 -0
- package/dist/vue/index.js +42 -0
- package/dist/vue/plugin.js +42 -0
- package/package.json +35 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { createElement, forwardRef } from "react";
|
|
2
|
+
|
|
3
|
+
const toSize = (size) => typeof size === "number" ? `${size}px` : size;
|
|
4
|
+
const joinClassNames = (...values) => values.filter(Boolean).join(" ");
|
|
5
|
+
export const IconDemoUser = forwardRef(function IconDemoUser(props, ref) {
|
|
6
|
+
const {
|
|
7
|
+
size = "1em",
|
|
8
|
+
color,
|
|
9
|
+
originColor = false,
|
|
10
|
+
button = false,
|
|
11
|
+
background = true,
|
|
12
|
+
className,
|
|
13
|
+
style,
|
|
14
|
+
...attributes
|
|
15
|
+
} = props;
|
|
16
|
+
const svgAttributes = { "viewBox": "0 0 24 24" };
|
|
17
|
+
const svgStyle = color === undefined ? style : { color, ...style };
|
|
18
|
+
const svg = createElement(
|
|
19
|
+
"svg",
|
|
20
|
+
button
|
|
21
|
+
? { ...svgAttributes, width: toSize(size), height: toSize(size), "aria-hidden": true }
|
|
22
|
+
: { ...attributes, ...svgAttributes, ref, width: toSize(size), height: toSize(size), className, style: svgStyle },
|
|
23
|
+
createElement("circle", { "cx": "12", "cy": "8", "r": "4" }), createElement("path", { "d": "M4 22a8 8 0 0 1 16 0" }),
|
|
24
|
+
);
|
|
25
|
+
if (!button) return svg;
|
|
26
|
+
return createElement(
|
|
27
|
+
"button",
|
|
28
|
+
{
|
|
29
|
+
...attributes,
|
|
30
|
+
ref,
|
|
31
|
+
type: attributes.type ?? "button",
|
|
32
|
+
className: joinClassNames("nstc-icon-button", background && "nstc-icon-button--background", className),
|
|
33
|
+
style: svgStyle,
|
|
34
|
+
},
|
|
35
|
+
svg,
|
|
36
|
+
);
|
|
37
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type * as React from "react";
|
|
2
|
+
|
|
3
|
+
export interface IconCommonProps {
|
|
4
|
+
size?: number | string;
|
|
5
|
+
color?: string;
|
|
6
|
+
originColor?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export type IconSvgProps = IconCommonProps & { button?: false; background?: never } & React.SVGProps<SVGSVGElement>;
|
|
9
|
+
export type IconButtonProps = IconCommonProps & { button: true; background?: boolean } & React.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
10
|
+
export declare const IconExclamation: {
|
|
11
|
+
(props: IconSvgProps & React.RefAttributes<SVGSVGElement>): React.ReactElement | null;
|
|
12
|
+
(props: IconButtonProps & React.RefAttributes<HTMLButtonElement>): React.ReactElement | null;
|
|
13
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { createElement, forwardRef } from "react";
|
|
2
|
+
|
|
3
|
+
const toSize = (size) => typeof size === "number" ? `${size}px` : size;
|
|
4
|
+
const joinClassNames = (...values) => values.filter(Boolean).join(" ");
|
|
5
|
+
export const IconExclamation = forwardRef(function IconExclamation(props, ref) {
|
|
6
|
+
const {
|
|
7
|
+
size = "1em",
|
|
8
|
+
color,
|
|
9
|
+
originColor = false,
|
|
10
|
+
button = false,
|
|
11
|
+
background = true,
|
|
12
|
+
className,
|
|
13
|
+
style,
|
|
14
|
+
...attributes
|
|
15
|
+
} = props;
|
|
16
|
+
const svgAttributes = { "fill": "none", "stroke": originColor ? "currentColor" : "currentColor", "strokeWidth": "4", "viewBox": "0 0 48 48", "xmlns": "http://www.w3.org/2000/svg" };
|
|
17
|
+
const svgStyle = color === undefined ? style : { color, ...style };
|
|
18
|
+
const svg = createElement(
|
|
19
|
+
"svg",
|
|
20
|
+
button
|
|
21
|
+
? { ...svgAttributes, width: toSize(size), height: toSize(size), "aria-hidden": true }
|
|
22
|
+
: { ...attributes, ...svgAttributes, ref, width: toSize(size), height: toSize(size), className, style: svgStyle },
|
|
23
|
+
createElement("path", { "d": "M23 9h2v21h-2z" }), createElement("path", { "d": "M23 9h2v21h-2z", "fill": originColor ? "currentColor" : "currentColor", "stroke": "none" }), createElement("path", { "d": "M23 37h2v2h-2z" }), createElement("path", { "d": "M23 37h2v2h-2z", "fill": originColor ? "currentColor" : "currentColor", "stroke": "none" }),
|
|
24
|
+
);
|
|
25
|
+
if (!button) return svg;
|
|
26
|
+
return createElement(
|
|
27
|
+
"button",
|
|
28
|
+
{
|
|
29
|
+
...attributes,
|
|
30
|
+
ref,
|
|
31
|
+
type: attributes.type ?? "button",
|
|
32
|
+
className: joinClassNames("nstc-icon-button", background && "nstc-icon-button--background", className),
|
|
33
|
+
style: svgStyle,
|
|
34
|
+
},
|
|
35
|
+
svg,
|
|
36
|
+
);
|
|
37
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type * as React from "react";
|
|
2
|
+
|
|
3
|
+
export interface IconCommonProps {
|
|
4
|
+
size?: number | string;
|
|
5
|
+
color?: string;
|
|
6
|
+
originColor?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export type IconSvgProps = IconCommonProps & { button?: false; background?: never } & React.SVGProps<SVGSVGElement>;
|
|
9
|
+
export type IconButtonProps = IconCommonProps & { button: true; background?: boolean } & React.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
10
|
+
export declare const IconExclamationCircle: {
|
|
11
|
+
(props: IconSvgProps & React.RefAttributes<SVGSVGElement>): React.ReactElement | null;
|
|
12
|
+
(props: IconButtonProps & React.RefAttributes<HTMLButtonElement>): React.ReactElement | null;
|
|
13
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { createElement, forwardRef } from "react";
|
|
2
|
+
|
|
3
|
+
const toSize = (size) => typeof size === "number" ? `${size}px` : size;
|
|
4
|
+
const joinClassNames = (...values) => values.filter(Boolean).join(" ");
|
|
5
|
+
export const IconExclamationCircle = forwardRef(function IconExclamationCircle(props, ref) {
|
|
6
|
+
const {
|
|
7
|
+
size = "1em",
|
|
8
|
+
color,
|
|
9
|
+
originColor = false,
|
|
10
|
+
button = false,
|
|
11
|
+
background = true,
|
|
12
|
+
className,
|
|
13
|
+
style,
|
|
14
|
+
...attributes
|
|
15
|
+
} = props;
|
|
16
|
+
const svgAttributes = { "fill": "none", "stroke": originColor ? "currentColor" : "currentColor", "strokeWidth": "4", "viewBox": "0 0 48 48", "xmlns": "http://www.w3.org/2000/svg" };
|
|
17
|
+
const svgStyle = color === undefined ? style : { color, ...style };
|
|
18
|
+
const svg = createElement(
|
|
19
|
+
"svg",
|
|
20
|
+
button
|
|
21
|
+
? { ...svgAttributes, width: toSize(size), height: toSize(size), "aria-hidden": true }
|
|
22
|
+
: { ...attributes, ...svgAttributes, ref, width: toSize(size), height: toSize(size), className, style: svgStyle },
|
|
23
|
+
createElement("path", { "d": "M24 28V14m0 16v4M6 24c0-9.941 8.059-18 18-18s18 8.059 18 18-8.059 18-18 18S6 33.941 6 24Z" }),
|
|
24
|
+
);
|
|
25
|
+
if (!button) return svg;
|
|
26
|
+
return createElement(
|
|
27
|
+
"button",
|
|
28
|
+
{
|
|
29
|
+
...attributes,
|
|
30
|
+
ref,
|
|
31
|
+
type: attributes.type ?? "button",
|
|
32
|
+
className: joinClassNames("nstc-icon-button", background && "nstc-icon-button--background", className),
|
|
33
|
+
style: svgStyle,
|
|
34
|
+
},
|
|
35
|
+
svg,
|
|
36
|
+
);
|
|
37
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type * as React from "react";
|
|
2
|
+
|
|
3
|
+
export interface IconCommonProps {
|
|
4
|
+
size?: number | string;
|
|
5
|
+
color?: string;
|
|
6
|
+
originColor?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export type IconSvgProps = IconCommonProps & { button?: false; background?: never } & React.SVGProps<SVGSVGElement>;
|
|
9
|
+
export type IconButtonProps = IconCommonProps & { button: true; background?: boolean } & React.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
10
|
+
export declare const IconFaceBookCircleFill: {
|
|
11
|
+
(props: IconSvgProps & React.RefAttributes<SVGSVGElement>): React.ReactElement | null;
|
|
12
|
+
(props: IconButtonProps & React.RefAttributes<HTMLButtonElement>): React.ReactElement | null;
|
|
13
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { createElement, forwardRef } from "react";
|
|
2
|
+
|
|
3
|
+
const toSize = (size) => typeof size === "number" ? `${size}px` : size;
|
|
4
|
+
const joinClassNames = (...values) => values.filter(Boolean).join(" ");
|
|
5
|
+
export const IconFaceBookCircleFill = forwardRef(function IconFaceBookCircleFill(props, ref) {
|
|
6
|
+
const {
|
|
7
|
+
size = "1em",
|
|
8
|
+
color,
|
|
9
|
+
originColor = false,
|
|
10
|
+
button = false,
|
|
11
|
+
background = true,
|
|
12
|
+
className,
|
|
13
|
+
style,
|
|
14
|
+
...attributes
|
|
15
|
+
} = props;
|
|
16
|
+
const svgAttributes = { "fill": "none", "stroke": originColor ? "currentColor" : "currentColor", "strokeWidth": "4", "viewBox": "0 0 48 48", "xmlns": "http://www.w3.org/2000/svg" };
|
|
17
|
+
const svgStyle = color === undefined ? style : { color, ...style };
|
|
18
|
+
const svg = createElement(
|
|
19
|
+
"svg",
|
|
20
|
+
button
|
|
21
|
+
? { ...svgAttributes, width: toSize(size), height: toSize(size), "aria-hidden": true }
|
|
22
|
+
: { ...attributes, ...svgAttributes, ref, width: toSize(size), height: toSize(size), className, style: svgStyle },
|
|
23
|
+
createElement("path", { "d": "M24 1C11.29 1 1 11.29 1 24s10.29 23 23 23 23-10.29 23-23S36.71 1 24 1m6.172 22.88H26.18v14.404h-5.931V23.88H17.22v-4.962h3.027V15.89c0-3.993 1.695-6.414 6.414-6.414h3.993v4.962h-2.421c-1.815 0-1.936.727-1.936 1.936v2.421h4.478l-.605 5.084z", "fill": originColor ? "currentColor" : "currentColor", "stroke": "none" }),
|
|
24
|
+
);
|
|
25
|
+
if (!button) return svg;
|
|
26
|
+
return createElement(
|
|
27
|
+
"button",
|
|
28
|
+
{
|
|
29
|
+
...attributes,
|
|
30
|
+
ref,
|
|
31
|
+
type: attributes.type ?? "button",
|
|
32
|
+
className: joinClassNames("nstc-icon-button", background && "nstc-icon-button--background", className),
|
|
33
|
+
style: svgStyle,
|
|
34
|
+
},
|
|
35
|
+
svg,
|
|
36
|
+
);
|
|
37
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type * as React from "react";
|
|
2
|
+
|
|
3
|
+
export interface IconCommonProps {
|
|
4
|
+
size?: number | string;
|
|
5
|
+
color?: string;
|
|
6
|
+
originColor?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export type IconSvgProps = IconCommonProps & { button?: false; background?: never } & React.SVGProps<SVGSVGElement>;
|
|
9
|
+
export type IconButtonProps = IconCommonProps & { button: true; background?: boolean } & React.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
10
|
+
export declare const IconFacebookSquareFill: {
|
|
11
|
+
(props: IconSvgProps & React.RefAttributes<SVGSVGElement>): React.ReactElement | null;
|
|
12
|
+
(props: IconButtonProps & React.RefAttributes<HTMLButtonElement>): React.ReactElement | null;
|
|
13
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { createElement, forwardRef } from "react";
|
|
2
|
+
|
|
3
|
+
const toSize = (size) => typeof size === "number" ? `${size}px` : size;
|
|
4
|
+
const joinClassNames = (...values) => values.filter(Boolean).join(" ");
|
|
5
|
+
export const IconFacebookSquareFill = forwardRef(function IconFacebookSquareFill(props, ref) {
|
|
6
|
+
const {
|
|
7
|
+
size = "1em",
|
|
8
|
+
color,
|
|
9
|
+
originColor = false,
|
|
10
|
+
button = false,
|
|
11
|
+
background = true,
|
|
12
|
+
className,
|
|
13
|
+
style,
|
|
14
|
+
...attributes
|
|
15
|
+
} = props;
|
|
16
|
+
const svgAttributes = { "fill": "none", "stroke": originColor ? "currentColor" : "currentColor", "strokeWidth": "4", "viewBox": "0 0 48 48", "xmlns": "http://www.w3.org/2000/svg" };
|
|
17
|
+
const svgStyle = color === undefined ? style : { color, ...style };
|
|
18
|
+
const svg = createElement(
|
|
19
|
+
"svg",
|
|
20
|
+
button
|
|
21
|
+
? { ...svgAttributes, width: toSize(size), height: toSize(size), "aria-hidden": true }
|
|
22
|
+
: { ...attributes, ...svgAttributes, ref, width: toSize(size), height: toSize(size), className, style: svgStyle },
|
|
23
|
+
createElement("path", { "d": "M43.125 2.475c.6 0 1.2.225 1.688.713.524.487.75 1.012.75 1.612v38.363c0 .6-.263 1.2-.75 1.612-.526.488-1.088.713-1.688.713H32.138V28.913h5.625l.825-6.563h-6.45v-4.275c0-2.137 1.087-3.225 3.3-3.225h3.374V9.263c-1.2-.225-2.85-.338-5.024-.338-2.513 0-4.5.75-6.038 2.25s-2.288 3.675-2.288 6.375v4.8h-5.625v6.563h5.625v16.575h-20.7c-.6 0-1.2-.225-1.612-.713-.487-.487-.712-1.012-.712-1.612V4.8c0-.6.224-1.2.712-1.612.488-.488 1.012-.713 1.613-.713z", "fill": originColor ? "currentColor" : "currentColor", "stroke": "none" }),
|
|
24
|
+
);
|
|
25
|
+
if (!button) return svg;
|
|
26
|
+
return createElement(
|
|
27
|
+
"button",
|
|
28
|
+
{
|
|
29
|
+
...attributes,
|
|
30
|
+
ref,
|
|
31
|
+
type: attributes.type ?? "button",
|
|
32
|
+
className: joinClassNames("nstc-icon-button", background && "nstc-icon-button--background", className),
|
|
33
|
+
style: svgStyle,
|
|
34
|
+
},
|
|
35
|
+
svg,
|
|
36
|
+
);
|
|
37
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type * as React from "react";
|
|
2
|
+
|
|
3
|
+
export interface IconCommonProps {
|
|
4
|
+
size?: number | string;
|
|
5
|
+
color?: string;
|
|
6
|
+
originColor?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export type IconSvgProps = IconCommonProps & { button?: false; background?: never } & React.SVGProps<SVGSVGElement>;
|
|
9
|
+
export type IconButtonProps = IconCommonProps & { button: true; background?: boolean } & React.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
10
|
+
export declare const IconFileExcelColor: {
|
|
11
|
+
(props: IconSvgProps & React.RefAttributes<SVGSVGElement>): React.ReactElement | null;
|
|
12
|
+
(props: IconButtonProps & React.RefAttributes<HTMLButtonElement>): React.ReactElement | null;
|
|
13
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { createElement, forwardRef } from "react";
|
|
2
|
+
|
|
3
|
+
const toSize = (size) => typeof size === "number" ? `${size}px` : size;
|
|
4
|
+
const joinClassNames = (...values) => values.filter(Boolean).join(" ");
|
|
5
|
+
export const IconFileExcelColor = forwardRef(function IconFileExcelColor(props, ref) {
|
|
6
|
+
const {
|
|
7
|
+
size = "1em",
|
|
8
|
+
color,
|
|
9
|
+
originColor = true,
|
|
10
|
+
button = false,
|
|
11
|
+
background = true,
|
|
12
|
+
className,
|
|
13
|
+
style,
|
|
14
|
+
...attributes
|
|
15
|
+
} = props;
|
|
16
|
+
const svgAttributes = { "fill": "none", "viewBox": "0 0 36 36", "xmlns": "http://www.w3.org/2000/svg" };
|
|
17
|
+
const svgStyle = color === undefined ? style : { color, ...style };
|
|
18
|
+
const svg = createElement(
|
|
19
|
+
"svg",
|
|
20
|
+
button
|
|
21
|
+
? { ...svgAttributes, width: toSize(size), height: toSize(size), "aria-hidden": true }
|
|
22
|
+
: { ...attributes, ...svgAttributes, ref, width: toSize(size), height: toSize(size), className, style: svgStyle },
|
|
23
|
+
createElement("g", { "clipPath": "url(#file-excel-color_svg__a)" }, createElement("path", { "d": "M6.3 1.8h19.381L33.3 9.483V30.6a3.6 3.6 0 0 1-3.6 3.6H6.3a3.6 3.6 0 0 1-3.6-3.6V5.4a3.6 3.6 0 0 1 3.6-3.6", "fill": originColor ? "#00a98b" : "currentColor" }), createElement("mask", { "height": "34", "id": "file-excel-color_svg__b", "maskUnits": "userSpaceOnUse", "width": "32", "x": "2", "y": "1" }, createElement("path", { "d": "M6.3 1.8h19.381L33.3 9.483V30.6a3.6 3.6 0 0 1-3.6 3.6H6.3a3.6 3.6 0 0 1-3.6-3.6V5.4a3.6 3.6 0 0 1 3.6-3.6", "fill": "#fff" })), createElement("g", { "mask": "url(#file-excel-color_svg__b)" }, createElement("g", { "filter": "url(#file-excel-color_svg__c)" }, createElement("path", { "d": "M26.329 6.107V1.8L34.2 9.707H29.93a3.6 3.6 0 0 1-3.6-3.6", "fill": originColor ? "#000" : "currentColor" })), createElement("path", { "d": "M26.329 6.107V1.8L34.2 9.707H29.93a3.6 3.6 0 0 1-3.6-3.6", "fill": originColor ? "#10ceac" : "currentColor" })), createElement("path", { "d": "M24.3 22.677 22.677 24.3 11.7 13.324l1.623-1.624zm-8.438-4.168 1.628 1.628-4.162 4.163-1.628-1.628zm8.438-5.181L20.126 17.5 18.5 15.874l4.174-4.174z", "fill": originColor ? "#fff" : "currentColor" })), createElement("defs", { }, createElement("clipPath", { "id": "file-excel-color_svg__a" }, createElement("path", { "d": "M0 0h36v36H0z", "fill": "#fff" })), createElement("filter", { "colorInterpolationFilters": "sRGB", "filterUnits": "userSpaceOnUse", "height": "20.867", "id": "file-excel-color_svg__c", "width": "20.831", "x": "19.849", "y": "-5.76" }, createElement("feFlood", { "floodOpacity": "0", "result": "BackgroundImageFix" }), createElement("feColorMatrix", { "in": "SourceAlpha", "result": "hardAlpha", "values": "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" }), createElement("feOffset", { "dy": "-1.08" }), createElement("feGaussianBlur", { "stdDeviation": "3.24" }), createElement("feColorMatrix", { "values": "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.4 0" }), createElement("feBlend", { "in2": "BackgroundImageFix", "result": "effect1_dropShadow_1743_1071" }), createElement("feBlend", { "in": "SourceGraphic", "in2": "effect1_dropShadow_1743_1071", "result": "shape" }))),
|
|
24
|
+
);
|
|
25
|
+
if (!button) return svg;
|
|
26
|
+
return createElement(
|
|
27
|
+
"button",
|
|
28
|
+
{
|
|
29
|
+
...attributes,
|
|
30
|
+
ref,
|
|
31
|
+
type: attributes.type ?? "button",
|
|
32
|
+
className: joinClassNames("nstc-icon-button", background && "nstc-icon-button--background", className),
|
|
33
|
+
style: svgStyle,
|
|
34
|
+
},
|
|
35
|
+
svg,
|
|
36
|
+
);
|
|
37
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type * as React from "react";
|
|
2
|
+
|
|
3
|
+
export interface IconCommonProps {
|
|
4
|
+
size?: number | string;
|
|
5
|
+
color?: string;
|
|
6
|
+
originColor?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export type IconSvgProps = IconCommonProps & { button?: false; background?: never } & React.SVGProps<SVGSVGElement>;
|
|
9
|
+
export type IconButtonProps = IconCommonProps & { button: true; background?: boolean } & React.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
10
|
+
export declare const IconFileImageColor: {
|
|
11
|
+
(props: IconSvgProps & React.RefAttributes<SVGSVGElement>): React.ReactElement | null;
|
|
12
|
+
(props: IconButtonProps & React.RefAttributes<HTMLButtonElement>): React.ReactElement | null;
|
|
13
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { createElement, forwardRef } from "react";
|
|
2
|
+
|
|
3
|
+
const toSize = (size) => typeof size === "number" ? `${size}px` : size;
|
|
4
|
+
const joinClassNames = (...values) => values.filter(Boolean).join(" ");
|
|
5
|
+
export const IconFileImageColor = forwardRef(function IconFileImageColor(props, ref) {
|
|
6
|
+
const {
|
|
7
|
+
size = "1em",
|
|
8
|
+
color,
|
|
9
|
+
originColor = true,
|
|
10
|
+
button = false,
|
|
11
|
+
background = true,
|
|
12
|
+
className,
|
|
13
|
+
style,
|
|
14
|
+
...attributes
|
|
15
|
+
} = props;
|
|
16
|
+
const svgAttributes = { "fill": "none", "viewBox": "0 0 36 36", "xmlns": "http://www.w3.org/2000/svg" };
|
|
17
|
+
const svgStyle = color === undefined ? style : { color, ...style };
|
|
18
|
+
const svg = createElement(
|
|
19
|
+
"svg",
|
|
20
|
+
button
|
|
21
|
+
? { ...svgAttributes, width: toSize(size), height: toSize(size), "aria-hidden": true }
|
|
22
|
+
: { ...attributes, ...svgAttributes, ref, width: toSize(size), height: toSize(size), className, style: svgStyle },
|
|
23
|
+
createElement("g", { "clipPath": "url(#file-image-color_svg__a)" }, createElement("path", { "d": "M6.3 1.8h19.381L33.3 9.483V30.6a3.6 3.6 0 0 1-3.6 3.6H6.3a3.6 3.6 0 0 1-3.6-3.6V5.4a3.6 3.6 0 0 1 3.6-3.6", "fill": originColor ? "#f1c44b" : "currentColor" }), createElement("mask", { "height": "34", "id": "file-image-color_svg__b", "maskUnits": "userSpaceOnUse", "width": "32", "x": "2", "y": "1" }, createElement("path", { "d": "M6.3 1.8h19.381L33.3 9.483V30.6a3.6 3.6 0 0 1-3.6 3.6H6.3a3.6 3.6 0 0 1-3.6-3.6V5.4a3.6 3.6 0 0 1 3.6-3.6", "fill": "#fff" })), createElement("g", { "mask": "url(#file-image-color_svg__b)" }, createElement("g", { "filter": "url(#file-image-color_svg__c)" }, createElement("path", { "d": "M25.654 5.881V1.8L33.3 9.481h-4.046a3.6 3.6 0 0 1-3.6-3.6", "fill": originColor ? "#000" : "currentColor" })), createElement("path", { "d": "M25.654 5.881V1.8L33.3 9.481h-4.046a3.6 3.6 0 0 1-3.6-3.6", "fill": originColor ? "#ffd973" : "currentColor" })), createElement("mask", { "height": "34", "id": "file-image-color_svg__d", "maskUnits": "userSpaceOnUse", "width": "32", "x": "2", "y": "1" }, createElement("path", { "d": "M6.3 1.8h19.381L33.3 9.483V30.6a3.6 3.6 0 0 1-3.6 3.6H6.3a3.6 3.6 0 0 1-3.6-3.6V5.4a3.6 3.6 0 0 1 3.6-3.6", "fill": "#fff" })), createElement("g", { "mask": "url(#file-image-color_svg__d)" }, createElement("path", { "d": "M22.641 22.648H11.54c-.053 0-.096-.046-.096-.103v-2.312q0-.03.014-.054l3.305-5.954a.092.092 0 0 1 .157-.012l4.5 5.917c.032.042.088.05.13.02l3.042-2.277c.063-.048.15.001.15.085l-.003 4.587c0 .057-.044.103-.097.103m1.042-8.473c0 1.476-1.7 2.556-3.25 1.388a.1.1 0 0 1-.022-.022c-1.168-1.55-.088-3.25 1.389-3.25a1.884 1.884 0 0 1 1.883 1.885z", "fill": originColor ? "#fff" : "currentColor" }))), createElement("defs", { }, createElement("clipPath", { "id": "file-image-color_svg__a" }, createElement("path", { "d": "M0 0h36v36H0z", "fill": "#fff" })), createElement("filter", { "colorInterpolationFilters": "sRGB", "filterUnits": "userSpaceOnUse", "height": "20.641", "id": "file-image-color_svg__c", "width": "20.606", "x": "19.174", "y": "-5.76" }, createElement("feFlood", { "floodOpacity": "0", "result": "BackgroundImageFix" }), createElement("feColorMatrix", { "in": "SourceAlpha", "result": "hardAlpha", "values": "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" }), createElement("feOffset", { "dy": "-1.08" }), createElement("feGaussianBlur", { "stdDeviation": "3.24" }), createElement("feColorMatrix", { "values": "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.4 0" }), createElement("feBlend", { "in2": "BackgroundImageFix", "result": "effect1_dropShadow_1743_1073" }), createElement("feBlend", { "in": "SourceGraphic", "in2": "effect1_dropShadow_1743_1073", "result": "shape" }))),
|
|
24
|
+
);
|
|
25
|
+
if (!button) return svg;
|
|
26
|
+
return createElement(
|
|
27
|
+
"button",
|
|
28
|
+
{
|
|
29
|
+
...attributes,
|
|
30
|
+
ref,
|
|
31
|
+
type: attributes.type ?? "button",
|
|
32
|
+
className: joinClassNames("nstc-icon-button", background && "nstc-icon-button--background", className),
|
|
33
|
+
style: svgStyle,
|
|
34
|
+
},
|
|
35
|
+
svg,
|
|
36
|
+
);
|
|
37
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type * as React from "react";
|
|
2
|
+
|
|
3
|
+
export interface IconCommonProps {
|
|
4
|
+
size?: number | string;
|
|
5
|
+
color?: string;
|
|
6
|
+
originColor?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export type IconSvgProps = IconCommonProps & { button?: false; background?: never } & React.SVGProps<SVGSVGElement>;
|
|
9
|
+
export type IconButtonProps = IconCommonProps & { button: true; background?: boolean } & React.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
10
|
+
export declare const IconFilePdfColor: {
|
|
11
|
+
(props: IconSvgProps & React.RefAttributes<SVGSVGElement>): React.ReactElement | null;
|
|
12
|
+
(props: IconButtonProps & React.RefAttributes<HTMLButtonElement>): React.ReactElement | null;
|
|
13
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { createElement, forwardRef } from "react";
|
|
2
|
+
|
|
3
|
+
const toSize = (size) => typeof size === "number" ? `${size}px` : size;
|
|
4
|
+
const joinClassNames = (...values) => values.filter(Boolean).join(" ");
|
|
5
|
+
export const IconFilePdfColor = forwardRef(function IconFilePdfColor(props, ref) {
|
|
6
|
+
const {
|
|
7
|
+
size = "1em",
|
|
8
|
+
color,
|
|
9
|
+
originColor = true,
|
|
10
|
+
button = false,
|
|
11
|
+
background = true,
|
|
12
|
+
className,
|
|
13
|
+
style,
|
|
14
|
+
...attributes
|
|
15
|
+
} = props;
|
|
16
|
+
const svgAttributes = { "fill": "none", "viewBox": "0 0 36 36", "xmlns": "http://www.w3.org/2000/svg" };
|
|
17
|
+
const svgStyle = color === undefined ? style : { color, ...style };
|
|
18
|
+
const svg = createElement(
|
|
19
|
+
"svg",
|
|
20
|
+
button
|
|
21
|
+
? { ...svgAttributes, width: toSize(size), height: toSize(size), "aria-hidden": true }
|
|
22
|
+
: { ...attributes, ...svgAttributes, ref, width: toSize(size), height: toSize(size), className, style: svgStyle },
|
|
23
|
+
createElement("g", { "clipPath": "url(#file-pdf-color_svg__a)" }, createElement("path", { "d": "M6.3 1.8h19.381L33.3 9.483V30.6a3.6 3.6 0 0 1-3.6 3.6H6.3a3.6 3.6 0 0 1-3.6-3.6V5.4a3.6 3.6 0 0 1 3.6-3.6", "fill": originColor ? "#ff662c" : "currentColor" }), createElement("mask", { "height": "34", "id": "file-pdf-color_svg__b", "maskUnits": "userSpaceOnUse", "width": "32", "x": "2", "y": "1" }, createElement("path", { "d": "M6.3 1.8h19.381L33.3 9.483V30.6a3.6 3.6 0 0 1-3.6 3.6H6.3a3.6 3.6 0 0 1-3.6-3.6V5.4a3.6 3.6 0 0 1 3.6-3.6", "fill": "#fff" })), createElement("g", { "mask": "url(#file-pdf-color_svg__b)" }, createElement("g", { "filter": "url(#file-pdf-color_svg__c)" }, createElement("path", { "d": "M25.654 5.881V1.8L33.3 9.481h-4.046a3.6 3.6 0 0 1-3.6-3.6", "fill": originColor ? "#000" : "currentColor" })), createElement("path", { "d": "M25.654 5.881V1.8L33.3 9.481h-4.046a3.6 3.6 0 0 1-3.6-3.6", "fill": originColor ? "#ff7f4e" : "currentColor" })), createElement("path", { "d": "M16.805 11.417v2.32l-.004 3.537h.004v2.32l-.004 4.063h-2.945v-12.24zm1.345 0c2.698 0 4.92.954 4.92 3.982 0 2.912-2.255 4.195-4.837 4.195h-.554v-2.32h.405c1.398 0 2.09-.643 2.122-1.79v-.085c0-1.234-.789-1.662-2.204-1.662h-.323v-2.32z", "fill": originColor ? "#fff" : "currentColor" })), createElement("defs", { }, createElement("clipPath", { "id": "file-pdf-color_svg__a" }, createElement("path", { "d": "M0 0h36v36H0z", "fill": "#fff" })), createElement("filter", { "colorInterpolationFilters": "sRGB", "filterUnits": "userSpaceOnUse", "height": "20.641", "id": "file-pdf-color_svg__c", "width": "20.606", "x": "19.174", "y": "-5.76" }, createElement("feFlood", { "floodOpacity": "0", "result": "BackgroundImageFix" }), createElement("feColorMatrix", { "in": "SourceAlpha", "result": "hardAlpha", "values": "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" }), createElement("feOffset", { "dy": "-1.08" }), createElement("feGaussianBlur", { "stdDeviation": "3.24" }), createElement("feColorMatrix", { "values": "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.4 0" }), createElement("feBlend", { "in2": "BackgroundImageFix", "result": "effect1_dropShadow_1743_1074" }), createElement("feBlend", { "in": "SourceGraphic", "in2": "effect1_dropShadow_1743_1074", "result": "shape" }))),
|
|
24
|
+
);
|
|
25
|
+
if (!button) return svg;
|
|
26
|
+
return createElement(
|
|
27
|
+
"button",
|
|
28
|
+
{
|
|
29
|
+
...attributes,
|
|
30
|
+
ref,
|
|
31
|
+
type: attributes.type ?? "button",
|
|
32
|
+
className: joinClassNames("nstc-icon-button", background && "nstc-icon-button--background", className),
|
|
33
|
+
style: svgStyle,
|
|
34
|
+
},
|
|
35
|
+
svg,
|
|
36
|
+
);
|
|
37
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type * as React from "react";
|
|
2
|
+
|
|
3
|
+
export interface IconCommonProps {
|
|
4
|
+
size?: number | string;
|
|
5
|
+
color?: string;
|
|
6
|
+
originColor?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export type IconSvgProps = IconCommonProps & { button?: false; background?: never } & React.SVGProps<SVGSVGElement>;
|
|
9
|
+
export type IconButtonProps = IconCommonProps & { button: true; background?: boolean } & React.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
10
|
+
export declare const IconFileUnknownColor: {
|
|
11
|
+
(props: IconSvgProps & React.RefAttributes<SVGSVGElement>): React.ReactElement | null;
|
|
12
|
+
(props: IconButtonProps & React.RefAttributes<HTMLButtonElement>): React.ReactElement | null;
|
|
13
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { createElement, forwardRef } from "react";
|
|
2
|
+
|
|
3
|
+
const toSize = (size) => typeof size === "number" ? `${size}px` : size;
|
|
4
|
+
const joinClassNames = (...values) => values.filter(Boolean).join(" ");
|
|
5
|
+
export const IconFileUnknownColor = forwardRef(function IconFileUnknownColor(props, ref) {
|
|
6
|
+
const {
|
|
7
|
+
size = "1em",
|
|
8
|
+
color,
|
|
9
|
+
originColor = true,
|
|
10
|
+
button = false,
|
|
11
|
+
background = true,
|
|
12
|
+
className,
|
|
13
|
+
style,
|
|
14
|
+
...attributes
|
|
15
|
+
} = props;
|
|
16
|
+
const svgAttributes = { "fill": "none", "viewBox": "0 0 36 36", "xmlns": "http://www.w3.org/2000/svg" };
|
|
17
|
+
const svgStyle = color === undefined ? style : { color, ...style };
|
|
18
|
+
const svg = createElement(
|
|
19
|
+
"svg",
|
|
20
|
+
button
|
|
21
|
+
? { ...svgAttributes, width: toSize(size), height: toSize(size), "aria-hidden": true }
|
|
22
|
+
: { ...attributes, ...svgAttributes, ref, width: toSize(size), height: toSize(size), className, style: svgStyle },
|
|
23
|
+
createElement("g", { "clipPath": "url(#file-unknown-color_svg__a)" }, createElement("path", { "d": "M6.3 1.8h19.381L33.3 9.483V30.6a3.6 3.6 0 0 1-3.6 3.6H6.3a3.6 3.6 0 0 1-3.6-3.6V5.4a3.6 3.6 0 0 1 3.6-3.6", "fill": originColor ? "#e5e6eb" : "currentColor" }), createElement("mask", { "height": "34", "id": "file-unknown-color_svg__b", "maskUnits": "userSpaceOnUse", "width": "32", "x": "2", "y": "1" }, createElement("path", { "d": "M6.3 1.8h19.381L33.3 9.483V30.6a3.6 3.6 0 0 1-3.6 3.6H6.3a3.6 3.6 0 0 1-3.6-3.6V5.4a3.6 3.6 0 0 1 3.6-3.6", "fill": "#fff" })), createElement("g", { "mask": "url(#file-unknown-color_svg__b)" }, createElement("g", { "filter": "url(#file-unknown-color_svg__c)" }, createElement("path", { "d": "M25.654 5.881V1.8L33.3 9.481h-4.046a3.6 3.6 0 0 1-3.6-3.6", "fill": originColor ? "#000" : "currentColor" })), createElement("path", { "d": "M25.654 5.881V1.8L33.3 9.481h-4.046a3.6 3.6 0 0 1-3.6-3.6", "fill": originColor ? "#f2f3f5" : "currentColor" }))), createElement("defs", { }, createElement("clipPath", { "id": "file-unknown-color_svg__a" }, createElement("path", { "d": "M0 0h36v36H0z", "fill": "#fff" })), createElement("filter", { "colorInterpolationFilters": "sRGB", "filterUnits": "userSpaceOnUse", "height": "20.641", "id": "file-unknown-color_svg__c", "width": "20.606", "x": "19.174", "y": "-5.76" }, createElement("feFlood", { "floodOpacity": "0", "result": "BackgroundImageFix" }), createElement("feColorMatrix", { "in": "SourceAlpha", "result": "hardAlpha", "values": "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" }), createElement("feOffset", { "dy": "-1.08" }), createElement("feGaussianBlur", { "stdDeviation": "3.24" }), createElement("feComposite", { "in2": "hardAlpha", "operator": "out" }), createElement("feColorMatrix", { "values": "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.4 0" }), createElement("feBlend", { "in2": "BackgroundImageFix", "result": "effect1_dropShadow_1743_1070" }), createElement("feBlend", { "in": "SourceGraphic", "in2": "effect1_dropShadow_1743_1070", "result": "shape" }))),
|
|
24
|
+
);
|
|
25
|
+
if (!button) return svg;
|
|
26
|
+
return createElement(
|
|
27
|
+
"button",
|
|
28
|
+
{
|
|
29
|
+
...attributes,
|
|
30
|
+
ref,
|
|
31
|
+
type: attributes.type ?? "button",
|
|
32
|
+
className: joinClassNames("nstc-icon-button", background && "nstc-icon-button--background", className),
|
|
33
|
+
style: svgStyle,
|
|
34
|
+
},
|
|
35
|
+
svg,
|
|
36
|
+
);
|
|
37
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type * as React from "react";
|
|
2
|
+
|
|
3
|
+
export interface IconCommonProps {
|
|
4
|
+
size?: number | string;
|
|
5
|
+
color?: string;
|
|
6
|
+
originColor?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export type IconSvgProps = IconCommonProps & { button?: false; background?: never } & React.SVGProps<SVGSVGElement>;
|
|
9
|
+
export type IconButtonProps = IconCommonProps & { button: true; background?: boolean } & React.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
10
|
+
export declare const IconFileWordColor: {
|
|
11
|
+
(props: IconSvgProps & React.RefAttributes<SVGSVGElement>): React.ReactElement | null;
|
|
12
|
+
(props: IconButtonProps & React.RefAttributes<HTMLButtonElement>): React.ReactElement | null;
|
|
13
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { createElement, forwardRef } from "react";
|
|
2
|
+
|
|
3
|
+
const toSize = (size) => typeof size === "number" ? `${size}px` : size;
|
|
4
|
+
const joinClassNames = (...values) => values.filter(Boolean).join(" ");
|
|
5
|
+
export const IconFileWordColor = forwardRef(function IconFileWordColor(props, ref) {
|
|
6
|
+
const {
|
|
7
|
+
size = "1em",
|
|
8
|
+
color,
|
|
9
|
+
originColor = true,
|
|
10
|
+
button = false,
|
|
11
|
+
background = true,
|
|
12
|
+
className,
|
|
13
|
+
style,
|
|
14
|
+
...attributes
|
|
15
|
+
} = props;
|
|
16
|
+
const svgAttributes = { "fill": "none", "viewBox": "0 0 36 36", "xmlns": "http://www.w3.org/2000/svg" };
|
|
17
|
+
const svgStyle = color === undefined ? style : { color, ...style };
|
|
18
|
+
const svg = createElement(
|
|
19
|
+
"svg",
|
|
20
|
+
button
|
|
21
|
+
? { ...svgAttributes, width: toSize(size), height: toSize(size), "aria-hidden": true }
|
|
22
|
+
: { ...attributes, ...svgAttributes, ref, width: toSize(size), height: toSize(size), className, style: svgStyle },
|
|
23
|
+
createElement("g", { "clipPath": "url(#file-word-color_svg__a)" }, createElement("path", { "d": "M6.3 1.8h19.381L33.3 9.483V30.6a3.6 3.6 0 0 1-3.6 3.6H6.3a3.6 3.6 0 0 1-3.6-3.6V5.4a3.6 3.6 0 0 1 3.6-3.6", "fill": originColor ? "#007aff" : "currentColor" }), createElement("mask", { "height": "34", "id": "file-word-color_svg__b", "maskUnits": "userSpaceOnUse", "width": "32", "x": "2", "y": "1" }, createElement("path", { "d": "M6.3 1.8h19.381L33.3 9.483V30.6a3.6 3.6 0 0 1-3.6 3.6H6.3a3.6 3.6 0 0 1-3.6-3.6V5.4a3.6 3.6 0 0 1 3.6-3.6", "fill": "#fff" })), createElement("g", { "mask": "url(#file-word-color_svg__b)" }, createElement("g", { "filter": "url(#file-word-color_svg__c)" }, createElement("path", { "d": "M25.654 5.881V1.8L33.3 9.481h-4.046a3.6 3.6 0 0 1-3.6-3.6", "fill": originColor ? "#000" : "currentColor" })), createElement("path", { "d": "M25.654 5.881V1.8L33.3 9.481h-4.046a3.6 3.6 0 0 1-3.6-3.6", "fill": originColor ? "#2e9aff" : "currentColor" })), createElement("path", { "d": "M13.591 22.274h3.074l.904-4.507c.153-.792.278-1.627.403-2.405h.07a30 30 0 0 0 .403 2.405l.932 4.506h3.129L24.3 11.927h-2.364l-.668 4.714c-.125 1.07-.264 2.17-.39 3.282h-.069c-.208-1.112-.39-2.225-.598-3.282l-1.084-4.714H17.04l-1.056 4.714a197 197 0 0 0-.613 3.282h-.055l-.417-3.282-.654-4.714H11.7z", "fill": originColor ? "#fff" : "currentColor" })), createElement("defs", { }, createElement("clipPath", { "id": "file-word-color_svg__a" }, createElement("path", { "d": "M0 0h36v36H0z", "fill": "#fff" })), createElement("filter", { "colorInterpolationFilters": "sRGB", "filterUnits": "userSpaceOnUse", "height": "20.641", "id": "file-word-color_svg__c", "width": "20.606", "x": "19.174", "y": "-5.76" }, createElement("feFlood", { "floodOpacity": "0", "result": "BackgroundImageFix" }), createElement("feColorMatrix", { "in": "SourceAlpha", "result": "hardAlpha", "values": "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" }), createElement("feOffset", { "dy": "-1.08" }), createElement("feGaussianBlur", { "stdDeviation": "3.24" }), createElement("feColorMatrix", { "values": "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.4 0" }), createElement("feBlend", { "in2": "BackgroundImageFix", "result": "effect1_dropShadow_1743_1075" }), createElement("feBlend", { "in": "SourceGraphic", "in2": "effect1_dropShadow_1743_1075", "result": "shape" }))),
|
|
24
|
+
);
|
|
25
|
+
if (!button) return svg;
|
|
26
|
+
return createElement(
|
|
27
|
+
"button",
|
|
28
|
+
{
|
|
29
|
+
...attributes,
|
|
30
|
+
ref,
|
|
31
|
+
type: attributes.type ?? "button",
|
|
32
|
+
className: joinClassNames("nstc-icon-button", background && "nstc-icon-button--background", className),
|
|
33
|
+
style: svgStyle,
|
|
34
|
+
},
|
|
35
|
+
svg,
|
|
36
|
+
);
|
|
37
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type * as React from "react";
|
|
2
|
+
|
|
3
|
+
export interface IconCommonProps {
|
|
4
|
+
size?: number | string;
|
|
5
|
+
color?: string;
|
|
6
|
+
originColor?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export type IconSvgProps = IconCommonProps & { button?: false; background?: never } & React.SVGProps<SVGSVGElement>;
|
|
9
|
+
export type IconButtonProps = IconCommonProps & { button: true; background?: boolean } & React.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
10
|
+
export declare const IconFileZipColor: {
|
|
11
|
+
(props: IconSvgProps & React.RefAttributes<SVGSVGElement>): React.ReactElement | null;
|
|
12
|
+
(props: IconButtonProps & React.RefAttributes<HTMLButtonElement>): React.ReactElement | null;
|
|
13
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { createElement, forwardRef } from "react";
|
|
2
|
+
|
|
3
|
+
const toSize = (size) => typeof size === "number" ? `${size}px` : size;
|
|
4
|
+
const joinClassNames = (...values) => values.filter(Boolean).join(" ");
|
|
5
|
+
export const IconFileZipColor = forwardRef(function IconFileZipColor(props, ref) {
|
|
6
|
+
const {
|
|
7
|
+
size = "1em",
|
|
8
|
+
color,
|
|
9
|
+
originColor = true,
|
|
10
|
+
button = false,
|
|
11
|
+
background = true,
|
|
12
|
+
className,
|
|
13
|
+
style,
|
|
14
|
+
...attributes
|
|
15
|
+
} = props;
|
|
16
|
+
const svgAttributes = { "fill": "none", "viewBox": "0 0 36 36", "xmlns": "http://www.w3.org/2000/svg" };
|
|
17
|
+
const svgStyle = color === undefined ? style : { color, ...style };
|
|
18
|
+
const svg = createElement(
|
|
19
|
+
"svg",
|
|
20
|
+
button
|
|
21
|
+
? { ...svgAttributes, width: toSize(size), height: toSize(size), "aria-hidden": true }
|
|
22
|
+
: { ...attributes, ...svgAttributes, ref, width: toSize(size), height: toSize(size), className, style: svgStyle },
|
|
23
|
+
createElement("path", { "clipRule": "evenodd", "d": "M6.3 1.8h19.368l7.615 7.683V30.6a3.6 3.6 0 0 1-3.6 3.6H6.3a3.6 3.6 0 0 1-3.6-3.6V5.4a3.6 3.6 0 0 1 3.6-3.6", "fill": originColor ? "#1252c2" : "currentColor", "fillRule": "evenodd" }), createElement("g", { "filter": "url(#file-zip-color_svg__a)", "transform": "translate(0 -5.76)" }, createElement("path", { "d": "M25.64 11.641V7.56l7.643 7.681H29.24a3.6 3.6 0 0 1-3.6-3.6", "fill": originColor ? "#000" : "currentColor" })), createElement("path", { "d": "M25.64 5.881V1.8l7.643 7.681H29.24a3.6 3.6 0 0 1-3.6-3.6", "fill": originColor ? "#629bfe" : "currentColor" }), createElement("path", { "clipRule": "evenodd", "d": "M9.69 1.8h3.496v3.497H9.69zm3.496 3.497h3.495v3.497h-3.496zM9.69 8.794h3.496v3.497H9.69zm3.496 3.497h3.495v6.995h-3.496zM9.69 15.79h3.496v3.497H9.69zm0 3.497h3.496v3.497H9.69zm3.496 0h3.495v3.497h-3.496z", "fill": originColor ? "#fff" : "currentColor", "fillRule": "evenodd" }), createElement("defs", { }, createElement("filter", { "colorInterpolationFilters": "sRGB", "filterUnits": "userSpaceOnUse", "height": "20.641", "id": "file-zip-color_svg__a", "width": "20.602", "x": "19.161", "y": "0" }, createElement("feFlood", { "floodOpacity": "0", "result": "BackgroundImageFix" }), createElement("feColorMatrix", { "in": "SourceAlpha", "result": "hardAlpha", "values": "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" }), createElement("feOffset", { "dy": "-1.08" }), createElement("feGaussianBlur", { "stdDeviation": "3.24" }), createElement("feColorMatrix", { "values": "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0" }), createElement("feBlend", { "in2": "BackgroundImageFix", "result": "effect1_dropShadow_1743_1072" }), createElement("feBlend", { "in": "SourceGraphic", "in2": "effect1_dropShadow_1743_1072", "result": "shape" }))),
|
|
24
|
+
);
|
|
25
|
+
if (!button) return svg;
|
|
26
|
+
return createElement(
|
|
27
|
+
"button",
|
|
28
|
+
{
|
|
29
|
+
...attributes,
|
|
30
|
+
ref,
|
|
31
|
+
type: attributes.type ?? "button",
|
|
32
|
+
className: joinClassNames("nstc-icon-button", background && "nstc-icon-button--background", className),
|
|
33
|
+
style: svgStyle,
|
|
34
|
+
},
|
|
35
|
+
svg,
|
|
36
|
+
);
|
|
37
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type * as React from "react";
|
|
2
|
+
|
|
3
|
+
export interface IconCommonProps {
|
|
4
|
+
size?: number | string;
|
|
5
|
+
color?: string;
|
|
6
|
+
originColor?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export type IconSvgProps = IconCommonProps & { button?: false; background?: never } & React.SVGProps<SVGSVGElement>;
|
|
9
|
+
export type IconButtonProps = IconCommonProps & { button: true; background?: boolean } & React.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
10
|
+
export declare const IconGoogleCircleFill: {
|
|
11
|
+
(props: IconSvgProps & React.RefAttributes<SVGSVGElement>): React.ReactElement | null;
|
|
12
|
+
(props: IconButtonProps & React.RefAttributes<HTMLButtonElement>): React.ReactElement | null;
|
|
13
|
+
};
|