@univerjs/icons 1.22.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/index.cjs +70 -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/index.d.ts +10 -0
- package/dist/esm/index.js +11 -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/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"
|