@univerjs/icons 1.11.0 → 1.13.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/cursors-icon.cjs +37 -0
- package/dist/cjs/export-icon.cjs +2 -2
- package/dist/cjs/grip-horizontal-icon.cjs +84 -0
- package/dist/cjs/import-icon.cjs +41 -0
- package/dist/cjs/index.cjs +71 -29
- package/dist/cjs/mermaid-diagram-icon.cjs +88 -0
- package/dist/cjs/paint-icon.cjs +76 -0
- package/dist/cjs/precise-selection-icon.cjs +41 -0
- package/dist/cjs/{progress-0-icon.cjs → progress-0-double-icon.cjs} +6 -6
- package/dist/cjs/{progress-100-icon.cjs → progress-100-double-icon.cjs} +6 -6
- package/dist/cjs/{progress-25-icon.cjs → progress-25-double-icon.cjs} +6 -6
- package/dist/cjs/{progress-50-icon.cjs → progress-50-double-icon.cjs} +6 -6
- package/dist/cjs/{progress-75-icon.cjs → progress-75-double-icon.cjs} +6 -6
- package/dist/cjs/show-dimensions-icon.cjs +111 -0
- package/dist/cjs/show-toolbar-icon.cjs +43 -0
- package/dist/esm/cursors-icon.d.ts +3 -0
- package/dist/esm/cursors-icon.js +32 -0
- package/dist/esm/export-icon.js +2 -2
- package/dist/esm/grip-horizontal-icon.d.ts +3 -0
- package/dist/esm/grip-horizontal-icon.js +79 -0
- package/dist/esm/import-icon.d.ts +3 -0
- package/dist/esm/import-icon.js +36 -0
- package/dist/esm/index.d.ts +13 -7
- package/dist/esm/index.js +14 -8
- package/dist/esm/mermaid-diagram-icon.d.ts +3 -0
- package/dist/esm/mermaid-diagram-icon.js +83 -0
- package/dist/esm/paint-icon.d.ts +3 -0
- package/dist/esm/paint-icon.js +71 -0
- package/dist/esm/precise-selection-icon.d.ts +3 -0
- package/dist/esm/precise-selection-icon.js +36 -0
- package/dist/esm/progress-0-double-icon.d.ts +3 -0
- package/dist/esm/{progress-0-icon.js → progress-0-double-icon.js} +5 -5
- package/dist/esm/progress-100-double-icon.d.ts +3 -0
- package/dist/esm/{progress-100-icon.js → progress-100-double-icon.js} +5 -5
- package/dist/esm/progress-25-double-icon.d.ts +3 -0
- package/dist/esm/{progress-25-icon.js → progress-25-double-icon.js} +5 -5
- package/dist/esm/progress-50-double-icon.d.ts +3 -0
- package/dist/esm/{progress-50-icon.js → progress-50-double-icon.js} +5 -5
- package/dist/esm/progress-75-double-icon.d.ts +3 -0
- package/dist/esm/{progress-75-icon.js → progress-75-double-icon.js} +5 -5
- package/dist/esm/show-dimensions-icon.d.ts +3 -0
- package/dist/esm/show-dimensions-icon.js +106 -0
- package/dist/esm/{progress-100-icon.d.ts → show-toolbar-icon.d.ts} +2 -2
- package/dist/esm/show-toolbar-icon.js +38 -0
- package/package.json +8 -7
- package/dist/cjs/more-icon.cjs +0 -37
- package/dist/cjs/sequence-icon.cjs +0 -72
- package/dist/esm/more-icon.d.ts +0 -3
- package/dist/esm/more-icon.js +0 -32
- package/dist/esm/progress-0-icon.d.ts +0 -3
- package/dist/esm/progress-25-icon.d.ts +0 -3
- package/dist/esm/progress-50-icon.d.ts +0 -3
- package/dist/esm/progress-75-icon.d.ts +0 -3
- package/dist/esm/sequence-icon.d.ts +0 -3
- package/dist/esm/sequence-icon.js +0 -67
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs/icons",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.13.0",
|
|
4
4
|
"description": "React icons for Univer.",
|
|
5
5
|
"author": "DreamNum Co., Ltd. <developer@univer.ai>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -22,12 +22,13 @@
|
|
|
22
22
|
"type": "module",
|
|
23
23
|
"sideEffects": false,
|
|
24
24
|
"imports": {
|
|
25
|
-
"#build/*": "./scripts/build/*.
|
|
25
|
+
"#build/*": "./scripts/build/*.mts"
|
|
26
26
|
},
|
|
27
27
|
"exports": {
|
|
28
28
|
".": {
|
|
29
|
+
"types": "./dist/esm/index.d.ts",
|
|
29
30
|
"import": "./dist/esm/index.js",
|
|
30
|
-
"require": "./dist/cjs/index.
|
|
31
|
+
"require": "./dist/cjs/index.cjs"
|
|
31
32
|
}
|
|
32
33
|
},
|
|
33
34
|
"main": "dist/esm/index.js",
|
|
@@ -39,15 +40,15 @@
|
|
|
39
40
|
"react-dom": "*"
|
|
40
41
|
},
|
|
41
42
|
"devDependencies": {
|
|
42
|
-
"@types/node": "^
|
|
43
|
+
"@types/node": "^26.0.0",
|
|
43
44
|
"@types/svg-parser": "^2.0.6",
|
|
44
|
-
"rolldown": "1.1.
|
|
45
|
+
"rolldown": "1.1.2",
|
|
45
46
|
"svg-parser": "^2.0.4",
|
|
46
47
|
"svgo": "^4.0.1",
|
|
47
48
|
"typescript": "^6.0.3",
|
|
48
|
-
"@univerjs/icons-svg": "1.
|
|
49
|
+
"@univerjs/icons-svg": "1.13.0"
|
|
49
50
|
},
|
|
50
51
|
"scripts": {
|
|
51
|
-
"build": "node --experimental-strip-types ./scripts/build/index.
|
|
52
|
+
"build": "node --experimental-strip-types ./scripts/build/index.mts && tsc"
|
|
52
53
|
}
|
|
53
54
|
}
|
package/dist/cjs/more-icon.cjs
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
Object.defineProperties(exports, {
|
|
2
|
-
__esModule: { value: true },
|
|
3
|
-
[Symbol.toStringTag]: { value: "Module" }
|
|
4
|
-
});
|
|
5
|
-
let react = require("react");
|
|
6
|
-
let ts_base_js = require("./base.js");
|
|
7
|
-
//#region ts/more-icon.tsx
|
|
8
|
-
const element = {
|
|
9
|
-
"tag": "svg",
|
|
10
|
-
"attrs": {
|
|
11
|
-
"xmlns": "http://www.w3.org/2000/svg",
|
|
12
|
-
"fill": "none",
|
|
13
|
-
"viewBox": "0 0 16 16",
|
|
14
|
-
"width": "1em",
|
|
15
|
-
"height": "1em"
|
|
16
|
-
},
|
|
17
|
-
"children": [{
|
|
18
|
-
"tag": "path",
|
|
19
|
-
"attrs": {
|
|
20
|
-
"fill": "currentColor",
|
|
21
|
-
"d": "M5.90913 3.57564C6.14345 3.34132 6.52335 3.34132 6.75766 3.57564L10.7577 7.57564C10.992 7.80995 10.992 8.18985 10.7577 8.42417L6.75766 12.4242C6.52335 12.6585 6.14345 12.6585 5.90913 12.4242C5.67482 12.1899 5.67482 11.81 5.90913 11.5756L9.48487 7.9999L5.90913 4.42417C5.67482 4.18985 5.67482 3.80995 5.90913 3.57564Z",
|
|
22
|
-
"fillRule": "evenodd",
|
|
23
|
-
"clipRule": "evenodd"
|
|
24
|
-
}
|
|
25
|
-
}]
|
|
26
|
-
};
|
|
27
|
-
const MoreIcon = (0, react.forwardRef)(function MoreIcon(props, ref) {
|
|
28
|
-
return (0, react.createElement)(ts_base_js.IconBase, Object.assign({}, props, {
|
|
29
|
-
id: "more-icon",
|
|
30
|
-
ref,
|
|
31
|
-
icon: element
|
|
32
|
-
}));
|
|
33
|
-
});
|
|
34
|
-
MoreIcon.displayName = "MoreIcon";
|
|
35
|
-
//#endregion
|
|
36
|
-
exports.MoreIcon = MoreIcon;
|
|
37
|
-
exports.default = MoreIcon;
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
Object.defineProperties(exports, {
|
|
2
|
-
__esModule: { value: true },
|
|
3
|
-
[Symbol.toStringTag]: { value: "Module" }
|
|
4
|
-
});
|
|
5
|
-
let react = require("react");
|
|
6
|
-
let ts_base_js = require("./base.js");
|
|
7
|
-
//#region ts/sequence-icon.tsx
|
|
8
|
-
const element = {
|
|
9
|
-
"tag": "svg",
|
|
10
|
-
"attrs": {
|
|
11
|
-
"xmlns": "http://www.w3.org/2000/svg",
|
|
12
|
-
"fill": "none",
|
|
13
|
-
"viewBox": "0 0 16 16",
|
|
14
|
-
"width": "1em",
|
|
15
|
-
"height": "1em"
|
|
16
|
-
},
|
|
17
|
-
"children": [
|
|
18
|
-
{
|
|
19
|
-
"tag": "path",
|
|
20
|
-
"attrs": {
|
|
21
|
-
"fill": "currentColor",
|
|
22
|
-
"d": "M6 5C6.55228 5 7 4.55228 7 4C7 3.44772 6.55228 3 6 3C5.44772 3 5 3.44772 5 4C5 4.55228 5.44772 5 6 5Z"
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
"tag": "path",
|
|
27
|
-
"attrs": {
|
|
28
|
-
"fill": "currentColor",
|
|
29
|
-
"d": "M6 9C6.55228 9 7 8.55229 7 8C7 7.44772 6.55228 7 6 7C5.44772 7 5 7.44772 5 8C5 8.55229 5.44772 9 6 9Z"
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"tag": "path",
|
|
34
|
-
"attrs": {
|
|
35
|
-
"fill": "currentColor",
|
|
36
|
-
"d": "M7 12C7 12.5523 6.55228 13 6 13C5.44772 13 5 12.5523 5 12C5 11.4477 5.44772 11 6 11C6.55228 11 7 11.4477 7 12Z"
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"tag": "path",
|
|
41
|
-
"attrs": {
|
|
42
|
-
"fill": "currentColor",
|
|
43
|
-
"d": "M10 5C10.5523 5 11 4.55228 11 4C11 3.44772 10.5523 3 10 3C9.44771 3 9 3.44772 9 4C9 4.55228 9.44771 5 10 5Z"
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
"tag": "path",
|
|
48
|
-
"attrs": {
|
|
49
|
-
"fill": "currentColor",
|
|
50
|
-
"d": "M11 8C11 8.55229 10.5523 9 10 9C9.44771 9 9 8.55229 9 8C9 7.44772 9.44771 7 10 7C10.5523 7 11 7.44772 11 8Z"
|
|
51
|
-
}
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"tag": "path",
|
|
55
|
-
"attrs": {
|
|
56
|
-
"fill": "currentColor",
|
|
57
|
-
"d": "M10 13C10.5523 13 11 12.5523 11 12C11 11.4477 10.5523 11 10 11C9.44771 11 9 11.4477 9 12C9 12.5523 9.44771 13 10 13Z"
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
]
|
|
61
|
-
};
|
|
62
|
-
const SequenceIcon = (0, react.forwardRef)(function SequenceIcon(props, ref) {
|
|
63
|
-
return (0, react.createElement)(ts_base_js.IconBase, Object.assign({}, props, {
|
|
64
|
-
id: "sequence-icon",
|
|
65
|
-
ref,
|
|
66
|
-
icon: element
|
|
67
|
-
}));
|
|
68
|
-
});
|
|
69
|
-
SequenceIcon.displayName = "SequenceIcon";
|
|
70
|
-
//#endregion
|
|
71
|
-
exports.SequenceIcon = SequenceIcon;
|
|
72
|
-
exports.default = SequenceIcon;
|
package/dist/esm/more-icon.d.ts
DELETED
package/dist/esm/more-icon.js
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { createElement, forwardRef } from "react";
|
|
2
|
-
import { IconBase } from "./base.js";
|
|
3
|
-
//#region ts/more-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
|
-
"fill": "currentColor",
|
|
17
|
-
"d": "M5.90913 3.57564C6.14345 3.34132 6.52335 3.34132 6.75766 3.57564L10.7577 7.57564C10.992 7.80995 10.992 8.18985 10.7577 8.42417L6.75766 12.4242C6.52335 12.6585 6.14345 12.6585 5.90913 12.4242C5.67482 12.1899 5.67482 11.81 5.90913 11.5756L9.48487 7.9999L5.90913 4.42417C5.67482 4.18985 5.67482 3.80995 5.90913 3.57564Z",
|
|
18
|
-
"fillRule": "evenodd",
|
|
19
|
-
"clipRule": "evenodd"
|
|
20
|
-
}
|
|
21
|
-
}]
|
|
22
|
-
};
|
|
23
|
-
const MoreIcon = forwardRef(function MoreIcon(props, ref) {
|
|
24
|
-
return createElement(IconBase, Object.assign({}, props, {
|
|
25
|
-
id: "more-icon",
|
|
26
|
-
ref,
|
|
27
|
-
icon: element
|
|
28
|
-
}));
|
|
29
|
-
});
|
|
30
|
-
MoreIcon.displayName = "MoreIcon";
|
|
31
|
-
//#endregion
|
|
32
|
-
export { MoreIcon, MoreIcon as default };
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { createElement, forwardRef } from "react";
|
|
2
|
-
import { IconBase } from "./base.js";
|
|
3
|
-
//#region ts/sequence-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
|
-
"fill": "currentColor",
|
|
18
|
-
"d": "M6 5C6.55228 5 7 4.55228 7 4C7 3.44772 6.55228 3 6 3C5.44772 3 5 3.44772 5 4C5 4.55228 5.44772 5 6 5Z"
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
"tag": "path",
|
|
23
|
-
"attrs": {
|
|
24
|
-
"fill": "currentColor",
|
|
25
|
-
"d": "M6 9C6.55228 9 7 8.55229 7 8C7 7.44772 6.55228 7 6 7C5.44772 7 5 7.44772 5 8C5 8.55229 5.44772 9 6 9Z"
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
"tag": "path",
|
|
30
|
-
"attrs": {
|
|
31
|
-
"fill": "currentColor",
|
|
32
|
-
"d": "M7 12C7 12.5523 6.55228 13 6 13C5.44772 13 5 12.5523 5 12C5 11.4477 5.44772 11 6 11C6.55228 11 7 11.4477 7 12Z"
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"tag": "path",
|
|
37
|
-
"attrs": {
|
|
38
|
-
"fill": "currentColor",
|
|
39
|
-
"d": "M10 5C10.5523 5 11 4.55228 11 4C11 3.44772 10.5523 3 10 3C9.44771 3 9 3.44772 9 4C9 4.55228 9.44771 5 10 5Z"
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"tag": "path",
|
|
44
|
-
"attrs": {
|
|
45
|
-
"fill": "currentColor",
|
|
46
|
-
"d": "M11 8C11 8.55229 10.5523 9 10 9C9.44771 9 9 8.55229 9 8C9 7.44772 9.44771 7 10 7C10.5523 7 11 7.44772 11 8Z"
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
"tag": "path",
|
|
51
|
-
"attrs": {
|
|
52
|
-
"fill": "currentColor",
|
|
53
|
-
"d": "M10 13C10.5523 13 11 12.5523 11 12C11 11.4477 10.5523 11 10 11C9.44771 11 9 11.4477 9 12C9 12.5523 9.44771 13 10 13Z"
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
]
|
|
57
|
-
};
|
|
58
|
-
const SequenceIcon = forwardRef(function SequenceIcon(props, ref) {
|
|
59
|
-
return createElement(IconBase, Object.assign({}, props, {
|
|
60
|
-
id: "sequence-icon",
|
|
61
|
-
ref,
|
|
62
|
-
icon: element
|
|
63
|
-
}));
|
|
64
|
-
});
|
|
65
|
-
SequenceIcon.displayName = "SequenceIcon";
|
|
66
|
-
//#endregion
|
|
67
|
-
export { SequenceIcon, SequenceIcon as default };
|