@univerjs/icons 1.21.0 → 1.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/database-function-icon.cjs +49 -0
- package/dist/cjs/date-function-icon.cjs +71 -0
- package/dist/cjs/engineering-function-icon.cjs +49 -0
- package/dist/cjs/financial-function-icon.cjs +49 -0
- package/dist/cjs/formula-accent-icon.cjs +53 -0
- package/dist/cjs/formula-bracket-icon.cjs +58 -0
- package/dist/cjs/formula-fraction-icon.cjs +53 -0
- package/dist/cjs/formula-function-icon.cjs +58 -0
- package/dist/cjs/formula-integral-icon.cjs +58 -0
- package/dist/cjs/formula-large-operator-icon.cjs +65 -0
- package/dist/cjs/formula-limit-logarithm-icon.cjs +72 -0
- package/dist/cjs/formula-matrix-icon.cjs +68 -0
- package/dist/cjs/formula-operator-icon.cjs +43 -0
- package/dist/cjs/formula-radical-icon.cjs +62 -0
- package/dist/cjs/formula-script-icon.cjs +41 -0
- package/dist/cjs/index.cjs +147 -0
- package/dist/cjs/information-function-icon.cjs +48 -0
- package/dist/cjs/logical-function-icon.cjs +49 -0
- package/dist/cjs/lookup-function-icon.cjs +70 -0
- package/dist/cjs/math-function-icon.cjs +49 -0
- package/dist/cjs/statistical-function-icon.cjs +49 -0
- package/dist/cjs/text-function-icon.cjs +49 -0
- package/dist/esm/database-function-icon.d.ts +3 -0
- package/dist/esm/database-function-icon.js +44 -0
- package/dist/esm/date-function-icon.d.ts +3 -0
- package/dist/esm/date-function-icon.js +66 -0
- package/dist/esm/engineering-function-icon.d.ts +3 -0
- package/dist/esm/engineering-function-icon.js +44 -0
- package/dist/esm/financial-function-icon.d.ts +3 -0
- package/dist/esm/financial-function-icon.js +44 -0
- package/dist/esm/formula-accent-icon.d.ts +3 -0
- package/dist/esm/formula-accent-icon.js +48 -0
- package/dist/esm/formula-bracket-icon.d.ts +3 -0
- package/dist/esm/formula-bracket-icon.js +53 -0
- package/dist/esm/formula-fraction-icon.d.ts +3 -0
- package/dist/esm/formula-fraction-icon.js +48 -0
- package/dist/esm/formula-function-icon.d.ts +3 -0
- package/dist/esm/formula-function-icon.js +53 -0
- package/dist/esm/formula-integral-icon.d.ts +3 -0
- package/dist/esm/formula-integral-icon.js +53 -0
- package/dist/esm/formula-large-operator-icon.d.ts +3 -0
- package/dist/esm/formula-large-operator-icon.js +60 -0
- package/dist/esm/formula-limit-logarithm-icon.d.ts +3 -0
- package/dist/esm/formula-limit-logarithm-icon.js +67 -0
- package/dist/esm/formula-matrix-icon.d.ts +3 -0
- package/dist/esm/formula-matrix-icon.js +63 -0
- package/dist/esm/formula-operator-icon.d.ts +3 -0
- package/dist/esm/formula-operator-icon.js +38 -0
- package/dist/esm/formula-radical-icon.d.ts +3 -0
- package/dist/esm/formula-radical-icon.js +57 -0
- package/dist/esm/formula-script-icon.d.ts +3 -0
- package/dist/esm/formula-script-icon.js +36 -0
- package/dist/esm/index.d.ts +21 -0
- package/dist/esm/index.js +22 -1
- package/dist/esm/information-function-icon.d.ts +3 -0
- package/dist/esm/information-function-icon.js +43 -0
- package/dist/esm/logical-function-icon.d.ts +3 -0
- package/dist/esm/logical-function-icon.js +44 -0
- package/dist/esm/lookup-function-icon.d.ts +3 -0
- package/dist/esm/lookup-function-icon.js +65 -0
- package/dist/esm/math-function-icon.d.ts +3 -0
- package/dist/esm/math-function-icon.js +44 -0
- package/dist/esm/statistical-function-icon.d.ts +3 -0
- package/dist/esm/statistical-function-icon.js +44 -0
- package/dist/esm/text-function-icon.d.ts +3 -0
- package/dist/esm/text-function-icon.js +44 -0
- package/package.json +2 -2
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { createElement, forwardRef } from "react";
|
|
2
|
+
import { IconBase } from "./base.js";
|
|
3
|
+
//#region ts/logical-function-icon.tsx
|
|
4
|
+
const element = {
|
|
5
|
+
"tag": "svg",
|
|
6
|
+
"attrs": {
|
|
7
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
8
|
+
"fill": "none",
|
|
9
|
+
"viewBox": "0 0 16 16",
|
|
10
|
+
"width": "1em",
|
|
11
|
+
"height": "1em"
|
|
12
|
+
},
|
|
13
|
+
"children": [{
|
|
14
|
+
"tag": "rect",
|
|
15
|
+
"attrs": {
|
|
16
|
+
"width": 11.2,
|
|
17
|
+
"height": 13.2,
|
|
18
|
+
"x": 2.4,
|
|
19
|
+
"y": 1.4,
|
|
20
|
+
"stroke": "currentColor",
|
|
21
|
+
"rx": 1.6,
|
|
22
|
+
"strokeWidth": 1.2
|
|
23
|
+
}
|
|
24
|
+
}, {
|
|
25
|
+
"tag": "path",
|
|
26
|
+
"attrs": {
|
|
27
|
+
"stroke": "currentColor",
|
|
28
|
+
"d": "M5 12H11M6.35 5.45C6.35 4.4 7.05 3.78 8.05 3.78C9.05 3.78 9.75 4.4 9.75 5.3C9.75 6.08 9.28 6.48 8.68 6.88C8.2 7.2 8 7.6 8 8.18M8 9.75H8.01",
|
|
29
|
+
"strokeLinecap": "round",
|
|
30
|
+
"strokeLinejoin": "round",
|
|
31
|
+
"strokeWidth": 1.2
|
|
32
|
+
}
|
|
33
|
+
}]
|
|
34
|
+
};
|
|
35
|
+
const LogicalFunctionIcon = forwardRef(function LogicalFunctionIcon(props, ref) {
|
|
36
|
+
return createElement(IconBase, Object.assign({}, props, {
|
|
37
|
+
id: "logical-function-icon",
|
|
38
|
+
ref,
|
|
39
|
+
icon: element
|
|
40
|
+
}));
|
|
41
|
+
});
|
|
42
|
+
LogicalFunctionIcon.displayName = "LogicalFunctionIcon";
|
|
43
|
+
//#endregion
|
|
44
|
+
export { LogicalFunctionIcon, LogicalFunctionIcon as default };
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { createElement, forwardRef } from "react";
|
|
2
|
+
import { IconBase } from "./base.js";
|
|
3
|
+
//#region ts/lookup-function-icon.tsx
|
|
4
|
+
const element = {
|
|
5
|
+
"tag": "svg",
|
|
6
|
+
"attrs": {
|
|
7
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
8
|
+
"fill": "none",
|
|
9
|
+
"viewBox": "0 0 16 16",
|
|
10
|
+
"width": "1em",
|
|
11
|
+
"height": "1em"
|
|
12
|
+
},
|
|
13
|
+
"children": [
|
|
14
|
+
{
|
|
15
|
+
"tag": "rect",
|
|
16
|
+
"attrs": {
|
|
17
|
+
"width": 11.2,
|
|
18
|
+
"height": 13.2,
|
|
19
|
+
"x": 2.4,
|
|
20
|
+
"y": 1.4,
|
|
21
|
+
"stroke": "currentColor",
|
|
22
|
+
"rx": 1.6,
|
|
23
|
+
"strokeWidth": 1.2
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"tag": "path",
|
|
28
|
+
"attrs": {
|
|
29
|
+
"stroke": "currentColor",
|
|
30
|
+
"d": "M5 12H11",
|
|
31
|
+
"strokeLinecap": "round",
|
|
32
|
+
"strokeWidth": 1.2
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"tag": "circle",
|
|
37
|
+
"attrs": {
|
|
38
|
+
"cx": 7.35,
|
|
39
|
+
"cy": 6.8,
|
|
40
|
+
"r": 2.25,
|
|
41
|
+
"stroke": "currentColor",
|
|
42
|
+
"strokeWidth": 1.2
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"tag": "path",
|
|
47
|
+
"attrs": {
|
|
48
|
+
"stroke": "currentColor",
|
|
49
|
+
"d": "M9 8.45L10.65 10.1",
|
|
50
|
+
"strokeLinecap": "round",
|
|
51
|
+
"strokeWidth": 1.2
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
]
|
|
55
|
+
};
|
|
56
|
+
const LookupFunctionIcon = forwardRef(function LookupFunctionIcon(props, ref) {
|
|
57
|
+
return createElement(IconBase, Object.assign({}, props, {
|
|
58
|
+
id: "lookup-function-icon",
|
|
59
|
+
ref,
|
|
60
|
+
icon: element
|
|
61
|
+
}));
|
|
62
|
+
});
|
|
63
|
+
LookupFunctionIcon.displayName = "LookupFunctionIcon";
|
|
64
|
+
//#endregion
|
|
65
|
+
export { LookupFunctionIcon, LookupFunctionIcon as default };
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { createElement, forwardRef } from "react";
|
|
2
|
+
import { IconBase } from "./base.js";
|
|
3
|
+
//#region ts/math-function-icon.tsx
|
|
4
|
+
const element = {
|
|
5
|
+
"tag": "svg",
|
|
6
|
+
"attrs": {
|
|
7
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
8
|
+
"fill": "none",
|
|
9
|
+
"viewBox": "0 0 16 16",
|
|
10
|
+
"width": "1em",
|
|
11
|
+
"height": "1em"
|
|
12
|
+
},
|
|
13
|
+
"children": [{
|
|
14
|
+
"tag": "rect",
|
|
15
|
+
"attrs": {
|
|
16
|
+
"width": 11.2,
|
|
17
|
+
"height": 13.2,
|
|
18
|
+
"x": 2.4,
|
|
19
|
+
"y": 1.4,
|
|
20
|
+
"stroke": "currentColor",
|
|
21
|
+
"rx": 1.6,
|
|
22
|
+
"strokeWidth": 1.2
|
|
23
|
+
}
|
|
24
|
+
}, {
|
|
25
|
+
"tag": "path",
|
|
26
|
+
"attrs": {
|
|
27
|
+
"stroke": "currentColor",
|
|
28
|
+
"d": "M5 12H11M5.1 7.6H6.1L7 9.7L8.35 4.9H10.9",
|
|
29
|
+
"strokeLinecap": "round",
|
|
30
|
+
"strokeLinejoin": "round",
|
|
31
|
+
"strokeWidth": 1.2
|
|
32
|
+
}
|
|
33
|
+
}]
|
|
34
|
+
};
|
|
35
|
+
const MathFunctionIcon = forwardRef(function MathFunctionIcon(props, ref) {
|
|
36
|
+
return createElement(IconBase, Object.assign({}, props, {
|
|
37
|
+
id: "math-function-icon",
|
|
38
|
+
ref,
|
|
39
|
+
icon: element
|
|
40
|
+
}));
|
|
41
|
+
});
|
|
42
|
+
MathFunctionIcon.displayName = "MathFunctionIcon";
|
|
43
|
+
//#endregion
|
|
44
|
+
export { MathFunctionIcon, MathFunctionIcon as default };
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { createElement, forwardRef } from "react";
|
|
2
|
+
import { IconBase } from "./base.js";
|
|
3
|
+
//#region ts/statistical-function-icon.tsx
|
|
4
|
+
const element = {
|
|
5
|
+
"tag": "svg",
|
|
6
|
+
"attrs": {
|
|
7
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
8
|
+
"fill": "none",
|
|
9
|
+
"viewBox": "0 0 16 16",
|
|
10
|
+
"width": "1em",
|
|
11
|
+
"height": "1em"
|
|
12
|
+
},
|
|
13
|
+
"children": [{
|
|
14
|
+
"tag": "rect",
|
|
15
|
+
"attrs": {
|
|
16
|
+
"width": 11.2,
|
|
17
|
+
"height": 13.2,
|
|
18
|
+
"x": 2.4,
|
|
19
|
+
"y": 1.4,
|
|
20
|
+
"stroke": "currentColor",
|
|
21
|
+
"rx": 1.6,
|
|
22
|
+
"strokeWidth": 1.2
|
|
23
|
+
}
|
|
24
|
+
}, {
|
|
25
|
+
"tag": "path",
|
|
26
|
+
"attrs": {
|
|
27
|
+
"stroke": "currentColor",
|
|
28
|
+
"d": "M5 12H11M5.5 9.7V7.8M8 9.7V5M10.5 9.7V6.5M5 9.7H11",
|
|
29
|
+
"strokeLinecap": "round",
|
|
30
|
+
"strokeLinejoin": "round",
|
|
31
|
+
"strokeWidth": 1.2
|
|
32
|
+
}
|
|
33
|
+
}]
|
|
34
|
+
};
|
|
35
|
+
const StatisticalFunctionIcon = forwardRef(function StatisticalFunctionIcon(props, ref) {
|
|
36
|
+
return createElement(IconBase, Object.assign({}, props, {
|
|
37
|
+
id: "statistical-function-icon",
|
|
38
|
+
ref,
|
|
39
|
+
icon: element
|
|
40
|
+
}));
|
|
41
|
+
});
|
|
42
|
+
StatisticalFunctionIcon.displayName = "StatisticalFunctionIcon";
|
|
43
|
+
//#endregion
|
|
44
|
+
export { StatisticalFunctionIcon, StatisticalFunctionIcon as default };
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { createElement, forwardRef } from "react";
|
|
2
|
+
import { IconBase } from "./base.js";
|
|
3
|
+
//#region ts/text-function-icon.tsx
|
|
4
|
+
const element = {
|
|
5
|
+
"tag": "svg",
|
|
6
|
+
"attrs": {
|
|
7
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
8
|
+
"fill": "none",
|
|
9
|
+
"viewBox": "0 0 16 16",
|
|
10
|
+
"width": "1em",
|
|
11
|
+
"height": "1em"
|
|
12
|
+
},
|
|
13
|
+
"children": [{
|
|
14
|
+
"tag": "rect",
|
|
15
|
+
"attrs": {
|
|
16
|
+
"width": 11.2,
|
|
17
|
+
"height": 13.2,
|
|
18
|
+
"x": 2.4,
|
|
19
|
+
"y": 1.4,
|
|
20
|
+
"stroke": "currentColor",
|
|
21
|
+
"rx": 1.6,
|
|
22
|
+
"strokeWidth": 1.2
|
|
23
|
+
}
|
|
24
|
+
}, {
|
|
25
|
+
"tag": "path",
|
|
26
|
+
"attrs": {
|
|
27
|
+
"stroke": "currentColor",
|
|
28
|
+
"d": "M5 12H11M5.3 4.4H10.7M8 4.4V9.6M6.6 9.6H9.4",
|
|
29
|
+
"strokeLinecap": "round",
|
|
30
|
+
"strokeLinejoin": "round",
|
|
31
|
+
"strokeWidth": 1.2
|
|
32
|
+
}
|
|
33
|
+
}]
|
|
34
|
+
};
|
|
35
|
+
const TextFunctionIcon = forwardRef(function TextFunctionIcon(props, ref) {
|
|
36
|
+
return createElement(IconBase, Object.assign({}, props, {
|
|
37
|
+
id: "text-function-icon",
|
|
38
|
+
ref,
|
|
39
|
+
icon: element
|
|
40
|
+
}));
|
|
41
|
+
});
|
|
42
|
+
TextFunctionIcon.displayName = "TextFunctionIcon";
|
|
43
|
+
//#endregion
|
|
44
|
+
export { TextFunctionIcon, TextFunctionIcon as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs/icons",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.23.0",
|
|
4
4
|
"description": "React icons for Univer.",
|
|
5
5
|
"author": "DreamNum Co., Ltd. <developer@univer.ai>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"svg-parser": "^2.0.4",
|
|
47
47
|
"svgo": "^4.0.1",
|
|
48
48
|
"typescript": "7.0.1-rc",
|
|
49
|
-
"@univerjs/icons-svg": "1.
|
|
49
|
+
"@univerjs/icons-svg": "1.23.0"
|
|
50
50
|
},
|
|
51
51
|
"scripts": {
|
|
52
52
|
"build": "node --experimental-strip-types ./scripts/build/index.mts && tsc"
|