@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.
Files changed (34) hide show
  1. package/dist/cjs/database-function-icon.cjs +49 -0
  2. package/dist/cjs/date-function-icon.cjs +71 -0
  3. package/dist/cjs/engineering-function-icon.cjs +49 -0
  4. package/dist/cjs/financial-function-icon.cjs +49 -0
  5. package/dist/cjs/index.cjs +70 -0
  6. package/dist/cjs/information-function-icon.cjs +48 -0
  7. package/dist/cjs/logical-function-icon.cjs +49 -0
  8. package/dist/cjs/lookup-function-icon.cjs +70 -0
  9. package/dist/cjs/math-function-icon.cjs +49 -0
  10. package/dist/cjs/statistical-function-icon.cjs +49 -0
  11. package/dist/cjs/text-function-icon.cjs +49 -0
  12. package/dist/esm/database-function-icon.d.ts +3 -0
  13. package/dist/esm/database-function-icon.js +44 -0
  14. package/dist/esm/date-function-icon.d.ts +3 -0
  15. package/dist/esm/date-function-icon.js +66 -0
  16. package/dist/esm/engineering-function-icon.d.ts +3 -0
  17. package/dist/esm/engineering-function-icon.js +44 -0
  18. package/dist/esm/financial-function-icon.d.ts +3 -0
  19. package/dist/esm/financial-function-icon.js +44 -0
  20. package/dist/esm/index.d.ts +10 -0
  21. package/dist/esm/index.js +11 -1
  22. package/dist/esm/information-function-icon.d.ts +3 -0
  23. package/dist/esm/information-function-icon.js +43 -0
  24. package/dist/esm/logical-function-icon.d.ts +3 -0
  25. package/dist/esm/logical-function-icon.js +44 -0
  26. package/dist/esm/lookup-function-icon.d.ts +3 -0
  27. package/dist/esm/lookup-function-icon.js +65 -0
  28. package/dist/esm/math-function-icon.d.ts +3 -0
  29. package/dist/esm/math-function-icon.js +44 -0
  30. package/dist/esm/statistical-function-icon.d.ts +3 -0
  31. package/dist/esm/statistical-function-icon.js +44 -0
  32. package/dist/esm/text-function-icon.d.ts +3 -0
  33. package/dist/esm/text-function-icon.js +44 -0
  34. 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,3 @@
1
+ import type { IconProps } from './base.js';
2
+ export declare const StatisticalFunctionIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGElement>>;
3
+ export default StatisticalFunctionIcon;
@@ -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,3 @@
1
+ import type { IconProps } from './base.js';
2
+ export declare const TextFunctionIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGElement>>;
3
+ export default TextFunctionIcon;
@@ -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.22.0",
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.22.0"
49
+ "@univerjs/icons-svg": "1.23.0"
50
50
  },
51
51
  "scripts": {
52
52
  "build": "node --experimental-strip-types ./scripts/build/index.mts && tsc"