@univerjs/icons 1.5.0 → 1.7.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/activity-icon.cjs +67 -0
- package/dist/cjs/base.cjs +1 -0
- package/dist/cjs/foods-icon.cjs +58 -0
- package/dist/cjs/index.cjs +77 -0
- package/dist/cjs/nature-icon.cjs +45 -0
- package/dist/cjs/objects-icon.cjs +57 -0
- package/dist/cjs/people-icon.cjs +67 -0
- package/dist/cjs/places-icon.cjs +46 -0
- package/dist/cjs/random-icon.cjs +70 -0
- package/dist/cjs/recent-icon.cjs +47 -0
- package/dist/cjs/shape-background-color-double-icon.cjs +38 -0
- package/dist/cjs/shape-stroke-color-double-icon.cjs +38 -0
- package/dist/cjs/symbols-icon.cjs +66 -0
- package/dist/esm/activity-icon.d.ts +3 -0
- package/dist/esm/activity-icon.js +62 -0
- package/dist/esm/base.js +1 -0
- package/dist/esm/foods-icon.d.ts +3 -0
- package/dist/esm/foods-icon.js +53 -0
- package/dist/esm/index.d.ts +11 -0
- package/dist/esm/index.js +12 -1
- package/dist/esm/nature-icon.d.ts +3 -0
- package/dist/esm/nature-icon.js +40 -0
- package/dist/esm/objects-icon.d.ts +3 -0
- package/dist/esm/objects-icon.js +52 -0
- package/dist/esm/people-icon.d.ts +3 -0
- package/dist/esm/people-icon.js +62 -0
- package/dist/esm/places-icon.d.ts +3 -0
- package/dist/esm/places-icon.js +41 -0
- package/dist/esm/random-icon.d.ts +3 -0
- package/dist/esm/random-icon.js +65 -0
- package/dist/esm/recent-icon.d.ts +3 -0
- package/dist/esm/recent-icon.js +42 -0
- package/dist/esm/shape-background-color-double-icon.d.ts +3 -0
- package/dist/esm/shape-background-color-double-icon.js +33 -0
- package/dist/esm/shape-stroke-color-double-icon.d.ts +3 -0
- package/dist/esm/shape-stroke-color-double-icon.js +33 -0
- package/dist/esm/symbols-icon.d.ts +3 -0
- package/dist/esm/symbols-icon.js +61 -0
- package/package.json +2 -2
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { createElement, forwardRef } from "react";
|
|
2
|
+
import { IconBase } from "./base.js";
|
|
3
|
+
//#region ts/places-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": "path",
|
|
15
|
+
"attrs": {
|
|
16
|
+
"stroke": "currentColor",
|
|
17
|
+
"d": "M12.6 6.7C12.6 10.1 8 14.1 8 14.1C8 14.1 3.4 10.1 3.4 6.7C3.4 4.2 5.5 2.1 8 2.1C10.5 2.1 12.6 4.2 12.6 6.7Z",
|
|
18
|
+
"strokeLinejoin": "round",
|
|
19
|
+
"strokeWidth": 1.3
|
|
20
|
+
}
|
|
21
|
+
}, {
|
|
22
|
+
"tag": "circle",
|
|
23
|
+
"attrs": {
|
|
24
|
+
"cx": 8,
|
|
25
|
+
"cy": 6.7,
|
|
26
|
+
"r": 1.6,
|
|
27
|
+
"stroke": "currentColor",
|
|
28
|
+
"strokeWidth": 1.3
|
|
29
|
+
}
|
|
30
|
+
}]
|
|
31
|
+
};
|
|
32
|
+
const PlacesIcon = forwardRef(function PlacesIcon(props, ref) {
|
|
33
|
+
return createElement(IconBase, Object.assign({}, props, {
|
|
34
|
+
id: "places-icon",
|
|
35
|
+
ref,
|
|
36
|
+
icon: element
|
|
37
|
+
}));
|
|
38
|
+
});
|
|
39
|
+
PlacesIcon.displayName = "PlacesIcon";
|
|
40
|
+
//#endregion
|
|
41
|
+
export { PlacesIcon, PlacesIcon as default };
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { createElement, forwardRef } from "react";
|
|
2
|
+
import { IconBase } from "./base.js";
|
|
3
|
+
//#region ts/random-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": "path",
|
|
16
|
+
"attrs": {
|
|
17
|
+
"stroke": "currentColor",
|
|
18
|
+
"d": "M2.5 4.5H4.3C5.4 4.5 6.2 5.1 7 6.2L9.2 9.2C10 10.3 10.8 10.9 11.9 10.9H13.5",
|
|
19
|
+
"strokeLinecap": "round",
|
|
20
|
+
"strokeLinejoin": "round",
|
|
21
|
+
"strokeWidth": 1.3
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"tag": "path",
|
|
26
|
+
"attrs": {
|
|
27
|
+
"stroke": "currentColor",
|
|
28
|
+
"d": "M11.5 8.9L13.5 10.9L11.5 12.9",
|
|
29
|
+
"strokeLinecap": "round",
|
|
30
|
+
"strokeLinejoin": "round",
|
|
31
|
+
"strokeWidth": 1.3
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"tag": "path",
|
|
36
|
+
"attrs": {
|
|
37
|
+
"stroke": "currentColor",
|
|
38
|
+
"d": "M2.5 10.9H4.3C5.4 10.9 6.2 10.3 7 9.2L9.2 6.2C10 5.1 10.8 4.5 11.9 4.5H13.5",
|
|
39
|
+
"strokeLinecap": "round",
|
|
40
|
+
"strokeLinejoin": "round",
|
|
41
|
+
"strokeWidth": 1.3
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"tag": "path",
|
|
46
|
+
"attrs": {
|
|
47
|
+
"stroke": "currentColor",
|
|
48
|
+
"d": "M11.5 2.5L13.5 4.5L11.5 6.5",
|
|
49
|
+
"strokeLinecap": "round",
|
|
50
|
+
"strokeLinejoin": "round",
|
|
51
|
+
"strokeWidth": 1.3
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
]
|
|
55
|
+
};
|
|
56
|
+
const RandomIcon = forwardRef(function RandomIcon(props, ref) {
|
|
57
|
+
return createElement(IconBase, Object.assign({}, props, {
|
|
58
|
+
id: "random-icon",
|
|
59
|
+
ref,
|
|
60
|
+
icon: element
|
|
61
|
+
}));
|
|
62
|
+
});
|
|
63
|
+
RandomIcon.displayName = "RandomIcon";
|
|
64
|
+
//#endregion
|
|
65
|
+
export { RandomIcon, RandomIcon as default };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { createElement, forwardRef } from "react";
|
|
2
|
+
import { IconBase } from "./base.js";
|
|
3
|
+
//#region ts/recent-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": "circle",
|
|
15
|
+
"attrs": {
|
|
16
|
+
"cx": 8,
|
|
17
|
+
"cy": 8,
|
|
18
|
+
"r": 5.7,
|
|
19
|
+
"stroke": "currentColor",
|
|
20
|
+
"strokeWidth": 1.3
|
|
21
|
+
}
|
|
22
|
+
}, {
|
|
23
|
+
"tag": "path",
|
|
24
|
+
"attrs": {
|
|
25
|
+
"stroke": "currentColor",
|
|
26
|
+
"d": "M8 4.8V8.2L10.4 9.6",
|
|
27
|
+
"strokeLinecap": "round",
|
|
28
|
+
"strokeLinejoin": "round",
|
|
29
|
+
"strokeWidth": 1.3
|
|
30
|
+
}
|
|
31
|
+
}]
|
|
32
|
+
};
|
|
33
|
+
const RecentIcon = forwardRef(function RecentIcon(props, ref) {
|
|
34
|
+
return createElement(IconBase, Object.assign({}, props, {
|
|
35
|
+
id: "recent-icon",
|
|
36
|
+
ref,
|
|
37
|
+
icon: element
|
|
38
|
+
}));
|
|
39
|
+
});
|
|
40
|
+
RecentIcon.displayName = "RecentIcon";
|
|
41
|
+
//#endregion
|
|
42
|
+
export { RecentIcon, RecentIcon as default };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { createElement, forwardRef } from "react";
|
|
2
|
+
import { IconBase } from "./base.js";
|
|
3
|
+
//#region ts/shape-background-color-double-icon.tsx
|
|
4
|
+
const element = {
|
|
5
|
+
"tag": "svg",
|
|
6
|
+
"attrs": {
|
|
7
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
8
|
+
"viewBox": "0 0 16 16",
|
|
9
|
+
"width": "1em",
|
|
10
|
+
"height": "1em"
|
|
11
|
+
},
|
|
12
|
+
"children": [{
|
|
13
|
+
"tag": "circle",
|
|
14
|
+
"attrs": {
|
|
15
|
+
"cx": 8,
|
|
16
|
+
"cy": 8,
|
|
17
|
+
"r": 5.4,
|
|
18
|
+
"fill": "colorChannel1",
|
|
19
|
+
"stroke": "currentColor",
|
|
20
|
+
"strokeWidth": 1.2
|
|
21
|
+
}
|
|
22
|
+
}]
|
|
23
|
+
};
|
|
24
|
+
const ShapeBackgroundColorDoubleIcon = forwardRef(function ShapeBackgroundColorDoubleIcon(props, ref) {
|
|
25
|
+
return createElement(IconBase, Object.assign({}, props, {
|
|
26
|
+
id: "shape-background-color-double-icon",
|
|
27
|
+
ref,
|
|
28
|
+
icon: element
|
|
29
|
+
}));
|
|
30
|
+
});
|
|
31
|
+
ShapeBackgroundColorDoubleIcon.displayName = "ShapeBackgroundColorDoubleIcon";
|
|
32
|
+
//#endregion
|
|
33
|
+
export { ShapeBackgroundColorDoubleIcon, ShapeBackgroundColorDoubleIcon as default };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { createElement, forwardRef } from "react";
|
|
2
|
+
import { IconBase } from "./base.js";
|
|
3
|
+
//#region ts/shape-stroke-color-double-icon.tsx
|
|
4
|
+
const element = {
|
|
5
|
+
"tag": "svg",
|
|
6
|
+
"attrs": {
|
|
7
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
8
|
+
"viewBox": "0 0 16 16",
|
|
9
|
+
"width": "1em",
|
|
10
|
+
"height": "1em"
|
|
11
|
+
},
|
|
12
|
+
"children": [{
|
|
13
|
+
"tag": "circle",
|
|
14
|
+
"attrs": {
|
|
15
|
+
"cx": 8,
|
|
16
|
+
"cy": 8,
|
|
17
|
+
"r": 5.1,
|
|
18
|
+
"fill": "none",
|
|
19
|
+
"stroke": "colorChannel1",
|
|
20
|
+
"strokeWidth": 1.8
|
|
21
|
+
}
|
|
22
|
+
}]
|
|
23
|
+
};
|
|
24
|
+
const ShapeStrokeColorDoubleIcon = forwardRef(function ShapeStrokeColorDoubleIcon(props, ref) {
|
|
25
|
+
return createElement(IconBase, Object.assign({}, props, {
|
|
26
|
+
id: "shape-stroke-color-double-icon",
|
|
27
|
+
ref,
|
|
28
|
+
icon: element
|
|
29
|
+
}));
|
|
30
|
+
});
|
|
31
|
+
ShapeStrokeColorDoubleIcon.displayName = "ShapeStrokeColorDoubleIcon";
|
|
32
|
+
//#endregion
|
|
33
|
+
export { ShapeStrokeColorDoubleIcon, ShapeStrokeColorDoubleIcon as default };
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { createElement, forwardRef } from "react";
|
|
2
|
+
import { IconBase } from "./base.js";
|
|
3
|
+
//#region ts/symbols-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": "path",
|
|
16
|
+
"attrs": {
|
|
17
|
+
"stroke": "currentColor",
|
|
18
|
+
"d": "M6.4 2.8L5.5 13.2",
|
|
19
|
+
"strokeLinecap": "round",
|
|
20
|
+
"strokeWidth": 1.3
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"tag": "path",
|
|
25
|
+
"attrs": {
|
|
26
|
+
"stroke": "currentColor",
|
|
27
|
+
"d": "M10.5 2.8L9.6 13.2",
|
|
28
|
+
"strokeLinecap": "round",
|
|
29
|
+
"strokeWidth": 1.3
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"tag": "path",
|
|
34
|
+
"attrs": {
|
|
35
|
+
"stroke": "currentColor",
|
|
36
|
+
"d": "M3.1 6H13.1",
|
|
37
|
+
"strokeLinecap": "round",
|
|
38
|
+
"strokeWidth": 1.3
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"tag": "path",
|
|
43
|
+
"attrs": {
|
|
44
|
+
"stroke": "currentColor",
|
|
45
|
+
"d": "M2.9 10H12.9",
|
|
46
|
+
"strokeLinecap": "round",
|
|
47
|
+
"strokeWidth": 1.3
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
]
|
|
51
|
+
};
|
|
52
|
+
const SymbolsIcon = forwardRef(function SymbolsIcon(props, ref) {
|
|
53
|
+
return createElement(IconBase, Object.assign({}, props, {
|
|
54
|
+
id: "symbols-icon",
|
|
55
|
+
ref,
|
|
56
|
+
icon: element
|
|
57
|
+
}));
|
|
58
|
+
});
|
|
59
|
+
SymbolsIcon.displayName = "SymbolsIcon";
|
|
60
|
+
//#endregion
|
|
61
|
+
export { SymbolsIcon, SymbolsIcon as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs/icons",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.0",
|
|
4
4
|
"description": "React icons for Univer.",
|
|
5
5
|
"author": "DreamNum Co., Ltd. <developer@univer.ai>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"svg-parser": "^2.0.4",
|
|
46
46
|
"svgo": "^4.0.1",
|
|
47
47
|
"typescript": "^6.0.3",
|
|
48
|
-
"@univerjs/icons-svg": "1.
|
|
48
|
+
"@univerjs/icons-svg": "1.7.0"
|
|
49
49
|
},
|
|
50
50
|
"scripts": {
|
|
51
51
|
"build": "node --experimental-strip-types ./scripts/build/index.ts && tsc"
|