@univerjs/icons 1.12.0 → 1.14.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/arrow-left-icon.cjs +38 -0
- package/dist/cjs/boxplot-icon.cjs +30 -22
- package/dist/cjs/connection-line-icon.cjs +47 -0
- package/dist/cjs/crop-icon.cjs +1 -1
- package/dist/cjs/cursors-icon.cjs +37 -0
- package/dist/cjs/{warn-icon.cjs → exclamation-icon.cjs} +6 -6
- package/dist/cjs/export-icon.cjs +2 -2
- package/dist/cjs/fountain-pen-icon.cjs +77 -0
- package/dist/cjs/grip-horizontal-icon.cjs +84 -0
- package/dist/cjs/hand-icon.cjs +70 -0
- package/dist/cjs/import-icon.cjs +41 -0
- package/dist/cjs/index.cjs +134 -85
- package/dist/cjs/mermaid-diagram-icon.cjs +88 -0
- package/dist/cjs/mind-map-icon.cjs +67 -0
- package/dist/cjs/{more-function-icon.cjs → more-vertical-icon.cjs} +6 -6
- package/dist/cjs/paint-icon.cjs +76 -0
- package/dist/cjs/precise-selection-icon.cjs +41 -0
- package/dist/cjs/resources-icon.cjs +45 -0
- package/dist/cjs/ruler-icon.cjs +75 -0
- package/dist/cjs/show-dimensions-icon.cjs +111 -0
- package/dist/cjs/show-toolbar-icon.cjs +43 -0
- package/dist/cjs/sticky-note-icon.cjs +44 -0
- package/dist/cjs/{solve-icon.cjs → success-outline-icon.cjs} +6 -6
- package/dist/cjs/transitions-icon.cjs +68 -0
- package/dist/cjs/typography-icon.cjs +6 -6
- package/dist/esm/arrow-left-icon.d.ts +3 -0
- package/dist/esm/arrow-left-icon.js +33 -0
- package/dist/esm/boxplot-icon.js +30 -22
- package/dist/esm/connection-line-icon.d.ts +3 -0
- package/dist/esm/connection-line-icon.js +42 -0
- package/dist/esm/crop-icon.js +1 -1
- package/dist/esm/{mistake-icon.d.ts → cursors-icon.d.ts} +2 -2
- package/dist/esm/cursors-icon.js +32 -0
- package/dist/esm/exclamation-icon.d.ts +3 -0
- package/dist/esm/{warn-icon.js → exclamation-icon.js} +5 -5
- package/dist/esm/export-icon.js +2 -2
- package/dist/esm/fountain-pen-icon.d.ts +3 -0
- package/dist/esm/fountain-pen-icon.js +72 -0
- package/dist/esm/grip-horizontal-icon.d.ts +3 -0
- package/dist/esm/grip-horizontal-icon.js +79 -0
- package/dist/esm/{back-icon.d.ts → hand-icon.d.ts} +2 -2
- package/dist/esm/hand-icon.js +65 -0
- package/dist/esm/import-icon.d.ts +3 -0
- package/dist/esm/import-icon.js +36 -0
- package/dist/esm/index.d.ts +20 -13
- package/dist/esm/index.js +21 -14
- package/dist/esm/mermaid-diagram-icon.d.ts +3 -0
- package/dist/esm/mermaid-diagram-icon.js +83 -0
- package/dist/esm/{correct-icon.d.ts → mind-map-icon.d.ts} +2 -2
- package/dist/esm/mind-map-icon.js +62 -0
- package/dist/esm/{more-function-icon.d.ts → more-vertical-icon.d.ts} +2 -2
- package/dist/esm/{more-function-icon.js → more-vertical-icon.js} +5 -5
- package/dist/esm/{solve-icon.d.ts → paint-icon.d.ts} +2 -2
- 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/resources-icon.d.ts +3 -0
- package/dist/esm/resources-icon.js +40 -0
- package/dist/esm/{guide-icon.d.ts → ruler-icon.d.ts} +2 -2
- package/dist/esm/ruler-icon.js +70 -0
- package/dist/esm/show-dimensions-icon.d.ts +3 -0
- package/dist/esm/show-dimensions-icon.js +106 -0
- package/dist/esm/show-toolbar-icon.d.ts +3 -0
- package/dist/esm/show-toolbar-icon.js +38 -0
- package/dist/esm/{zoom-reduce-icon.d.ts → sticky-note-icon.d.ts} +2 -2
- package/dist/esm/sticky-note-icon.js +39 -0
- package/dist/esm/success-outline-icon.d.ts +3 -0
- package/dist/esm/{solve-icon.js → success-outline-icon.js} +5 -5
- package/dist/esm/transitions-icon.d.ts +3 -0
- package/dist/esm/transitions-icon.js +63 -0
- package/dist/esm/typography-icon.js +6 -6
- package/package.json +6 -6
- package/dist/cjs/back-icon.cjs +0 -35
- package/dist/cjs/correct-icon.cjs +0 -37
- package/dist/cjs/guide-icon.cjs +0 -37
- package/dist/cjs/left-icon.cjs +0 -37
- package/dist/cjs/mistake-icon.cjs +0 -35
- package/dist/cjs/more-icon.cjs +0 -37
- package/dist/cjs/resolved-icon.cjs +0 -37
- package/dist/cjs/zen-icon.cjs +0 -35
- package/dist/cjs/zoom-increase-icon.cjs +0 -35
- package/dist/cjs/zoom-reduce-icon.cjs +0 -37
- package/dist/esm/back-icon.js +0 -30
- package/dist/esm/correct-icon.js +0 -32
- package/dist/esm/guide-icon.js +0 -32
- package/dist/esm/left-icon.d.ts +0 -3
- package/dist/esm/left-icon.js +0 -32
- package/dist/esm/mistake-icon.js +0 -30
- package/dist/esm/more-icon.d.ts +0 -3
- package/dist/esm/more-icon.js +0 -32
- package/dist/esm/resolved-icon.d.ts +0 -3
- package/dist/esm/resolved-icon.js +0 -32
- package/dist/esm/warn-icon.d.ts +0 -3
- package/dist/esm/zen-icon.d.ts +0 -3
- package/dist/esm/zen-icon.js +0 -30
- package/dist/esm/zoom-increase-icon.d.ts +0 -3
- package/dist/esm/zoom-increase-icon.js +0 -30
- package/dist/esm/zoom-reduce-icon.js +0 -32
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { createElement, forwardRef } from "react";
|
|
2
|
+
import { IconBase } from "./base.js";
|
|
3
|
+
//#region ts/paint-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 20 20",
|
|
10
|
+
"width": "1em",
|
|
11
|
+
"height": "1em"
|
|
12
|
+
},
|
|
13
|
+
"children": [
|
|
14
|
+
{
|
|
15
|
+
"tag": "path",
|
|
16
|
+
"attrs": {
|
|
17
|
+
"stroke": "currentColor",
|
|
18
|
+
"d": "M12.1 3.4C11.4 3.2 10.7 3.1 10 3.1C5.9 3.1 2.6 6.3 2.6 10.2C2.6 14.1 5.8 17.2 9.8 17.2H11.5C12.4 17.2 13.1 16.5 13.1 15.7V14.8C13.1 14.1 13.7 13.5 14.4 13.5H15.2C16.4 13.5 17.3 12.5 17.3 11.3C17.3 10.2 16.7 9.2 15.8 8.8",
|
|
19
|
+
"strokeLinecap": "round",
|
|
20
|
+
"strokeLinejoin": "round",
|
|
21
|
+
"strokeWidth": 1.7
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"tag": "path",
|
|
26
|
+
"attrs": {
|
|
27
|
+
"stroke": "currentColor",
|
|
28
|
+
"d": "M17.5 2.7L9.5 13.6",
|
|
29
|
+
"strokeLinecap": "round",
|
|
30
|
+
"strokeWidth": 1.7
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"tag": "circle",
|
|
35
|
+
"attrs": {
|
|
36
|
+
"cx": 6.3,
|
|
37
|
+
"cy": 7.5,
|
|
38
|
+
"r": 1,
|
|
39
|
+
"fill": "currentColor"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"tag": "circle",
|
|
44
|
+
"attrs": {
|
|
45
|
+
"cx": 9.3,
|
|
46
|
+
"cy": 6,
|
|
47
|
+
"r": 1,
|
|
48
|
+
"fill": "currentColor"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"tag": "circle",
|
|
53
|
+
"attrs": {
|
|
54
|
+
"cx": 6.1,
|
|
55
|
+
"cy": 11.2,
|
|
56
|
+
"r": 1,
|
|
57
|
+
"fill": "currentColor"
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
]
|
|
61
|
+
};
|
|
62
|
+
const PaintIcon = forwardRef(function PaintIcon(props, ref) {
|
|
63
|
+
return createElement(IconBase, Object.assign({}, props, {
|
|
64
|
+
id: "paint-icon",
|
|
65
|
+
ref,
|
|
66
|
+
icon: element
|
|
67
|
+
}));
|
|
68
|
+
});
|
|
69
|
+
PaintIcon.displayName = "PaintIcon";
|
|
70
|
+
//#endregion
|
|
71
|
+
export { PaintIcon, PaintIcon as default };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { createElement, forwardRef } from "react";
|
|
2
|
+
import { IconBase } from "./base.js";
|
|
3
|
+
//#region ts/precise-selection-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": "M2.2 3.4C2.2 2.73726 2.73726 2.2 3.4 2.2H12.6C13.2627 2.2 13.8 2.73726 13.8 3.4V9.6C13.8 9.93137 13.5314 10.2 13.2 10.2C12.8686 10.2 12.6 9.93137 12.6 9.6V3.4H3.4V11.2H8.9C9.23137 11.2 9.5 11.4686 9.5 11.8C9.5 12.1314 9.23137 12.4 8.9 12.4H3.4C2.73726 12.4 2.2 11.8627 2.2 11.2V3.4Z"
|
|
18
|
+
}
|
|
19
|
+
}, {
|
|
20
|
+
"tag": "path",
|
|
21
|
+
"attrs": {
|
|
22
|
+
"fill": "currentColor",
|
|
23
|
+
"d": "M10.0699 9.56616C10.0326 9.34249 10.282 9.17561 10.4918 9.28357L14.0903 11.1366C14.3375 11.2639 14.2635 11.6182 13.9843 11.6469L12.3317 12.0609L11.1808 13.409C11.0443 13.6291 10.6918 13.566 10.6498 13.3136L10.0699 9.56616Z"
|
|
24
|
+
}
|
|
25
|
+
}]
|
|
26
|
+
};
|
|
27
|
+
const PreciseSelectionIcon = forwardRef(function PreciseSelectionIcon(props, ref) {
|
|
28
|
+
return createElement(IconBase, Object.assign({}, props, {
|
|
29
|
+
id: "precise-selection-icon",
|
|
30
|
+
ref,
|
|
31
|
+
icon: element
|
|
32
|
+
}));
|
|
33
|
+
});
|
|
34
|
+
PreciseSelectionIcon.displayName = "PreciseSelectionIcon";
|
|
35
|
+
//#endregion
|
|
36
|
+
export { PreciseSelectionIcon, PreciseSelectionIcon as default };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { createElement, forwardRef } from "react";
|
|
2
|
+
import { IconBase } from "./base.js";
|
|
3
|
+
//#region ts/resources-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": "M3.48256 2.14178C2.69945 2.14178 2.06461 2.77663 2.06461 3.55974V10.5584L4.97543 7.88934C5.4593 7.44577 6.19819 7.43344 6.69657 7.86065L9.06228 9.88839L10.6918 8.25883C11.1492 7.80147 11.8733 7.75006 12.3907 8.1381L13.935 9.29634V3.55974C13.935 2.77663 13.3002 2.14178 12.517 2.14178H3.48256ZM0.849805 3.55974C0.849805 2.10568 2.02851 0.926971 3.48256 0.926971H12.517C13.9711 0.926971 15.1498 2.10568 15.1498 3.55974V12.4404C15.1498 13.8944 13.9711 15.0731 12.517 15.0731H3.48256C2.02851 15.0731 0.849805 13.8944 0.849805 12.4404V3.55974ZM2.06461 12.1967V12.4404C2.06461 13.2235 2.69945 13.8583 3.48256 13.8583H12.517C13.3002 13.8583 13.935 13.2235 13.935 12.4404V10.8158L11.6618 9.11193C11.6258 9.0849 11.5754 9.08852 11.5436 9.12029L9.99146 10.6725L11.2145 11.7206C11.469 11.9388 11.4985 12.3215 11.2804 12.5761C11.0622 12.8306 10.6795 12.8601 10.4249 12.642L5.90596 8.7686C5.87127 8.73887 5.8198 8.73972 5.78611 8.7706L2.06461 12.1967Z",
|
|
18
|
+
"fillRule": "evenodd",
|
|
19
|
+
"clipRule": "evenodd"
|
|
20
|
+
}
|
|
21
|
+
}, {
|
|
22
|
+
"tag": "circle",
|
|
23
|
+
"attrs": {
|
|
24
|
+
"cx": 5.37,
|
|
25
|
+
"cy": 4.23,
|
|
26
|
+
"r": 1.08,
|
|
27
|
+
"fill": "currentColor"
|
|
28
|
+
}
|
|
29
|
+
}]
|
|
30
|
+
};
|
|
31
|
+
const ResourcesIcon = forwardRef(function ResourcesIcon(props, ref) {
|
|
32
|
+
return createElement(IconBase, Object.assign({}, props, {
|
|
33
|
+
id: "resources-icon",
|
|
34
|
+
ref,
|
|
35
|
+
icon: element
|
|
36
|
+
}));
|
|
37
|
+
});
|
|
38
|
+
ResourcesIcon.displayName = "ResourcesIcon";
|
|
39
|
+
//#endregion
|
|
40
|
+
export { ResourcesIcon, ResourcesIcon as default };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { IconProps } from './base.js';
|
|
2
|
-
export declare const
|
|
3
|
-
export default
|
|
2
|
+
export declare const RulerIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGElement>>;
|
|
3
|
+
export default RulerIcon;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { createElement, forwardRef } from "react";
|
|
2
|
+
import { IconBase } from "./base.js";
|
|
3
|
+
//#region ts/ruler-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.66398 10.5352L10.535 2.66418C10.822 2.37711 11.2874 2.37711 11.5745 2.66418L13.3359 4.42561C13.623 4.71269 13.623 5.17809 13.3359 5.46516L5.46494 13.3361C5.17787 13.6232 4.71246 13.6232 4.42539 13.3361L2.66398 11.5747C2.3769 11.2876 2.3769 10.8222 2.66398 10.5352Z",
|
|
19
|
+
"strokeLinejoin": "round",
|
|
20
|
+
"strokeWidth": 1.2
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"tag": "path",
|
|
25
|
+
"attrs": {
|
|
26
|
+
"stroke": "currentColor",
|
|
27
|
+
"d": "M8.24609 5.30664L9.1889 6.24945",
|
|
28
|
+
"strokeLinecap": "round",
|
|
29
|
+
"strokeWidth": 1.1
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"tag": "path",
|
|
34
|
+
"attrs": {
|
|
35
|
+
"stroke": "currentColor",
|
|
36
|
+
"d": "M6.83179 6.72095L7.7746 7.66376",
|
|
37
|
+
"strokeLinecap": "round",
|
|
38
|
+
"strokeWidth": 1.1
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"tag": "path",
|
|
43
|
+
"attrs": {
|
|
44
|
+
"stroke": "currentColor",
|
|
45
|
+
"d": "M5.41748 8.1355L6.36029 9.07831",
|
|
46
|
+
"strokeLinecap": "round",
|
|
47
|
+
"strokeWidth": 1.1
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"tag": "path",
|
|
52
|
+
"attrs": {
|
|
53
|
+
"stroke": "currentColor",
|
|
54
|
+
"d": "M9.6604 3.89233L11.0746 5.30655",
|
|
55
|
+
"strokeLinecap": "round",
|
|
56
|
+
"strokeWidth": 1.1
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
]
|
|
60
|
+
};
|
|
61
|
+
const RulerIcon = forwardRef(function RulerIcon(props, ref) {
|
|
62
|
+
return createElement(IconBase, Object.assign({}, props, {
|
|
63
|
+
id: "ruler-icon",
|
|
64
|
+
ref,
|
|
65
|
+
icon: element
|
|
66
|
+
}));
|
|
67
|
+
});
|
|
68
|
+
RulerIcon.displayName = "RulerIcon";
|
|
69
|
+
//#endregion
|
|
70
|
+
export { RulerIcon, RulerIcon as default };
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { createElement, forwardRef } from "react";
|
|
2
|
+
import { IconBase } from "./base.js";
|
|
3
|
+
//#region ts/show-dimensions-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": "M4.45 3.25H10.9",
|
|
19
|
+
"strokeLinecap": "round",
|
|
20
|
+
"strokeWidth": 1.3
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"tag": "path",
|
|
25
|
+
"attrs": {
|
|
26
|
+
"stroke": "currentColor",
|
|
27
|
+
"d": "M3.25 4.45V8.95",
|
|
28
|
+
"strokeLinecap": "round",
|
|
29
|
+
"strokeWidth": 1.3
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"tag": "path",
|
|
34
|
+
"attrs": {
|
|
35
|
+
"stroke": "currentColor",
|
|
36
|
+
"d": "M12.1 4.45V6.7",
|
|
37
|
+
"strokeLinecap": "round",
|
|
38
|
+
"strokeWidth": 1.3
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"tag": "path",
|
|
43
|
+
"attrs": {
|
|
44
|
+
"stroke": "currentColor",
|
|
45
|
+
"d": "M4.45 10H7.75",
|
|
46
|
+
"strokeLinecap": "round",
|
|
47
|
+
"strokeWidth": 1.3
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"tag": "rect",
|
|
52
|
+
"attrs": {
|
|
53
|
+
"width": 2.2,
|
|
54
|
+
"height": 2.2,
|
|
55
|
+
"x": 2.15,
|
|
56
|
+
"y": 2.15,
|
|
57
|
+
"stroke": "currentColor",
|
|
58
|
+
"rx": .18,
|
|
59
|
+
"strokeWidth": 1.2
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"tag": "rect",
|
|
64
|
+
"attrs": {
|
|
65
|
+
"width": 2.2,
|
|
66
|
+
"height": 2.2,
|
|
67
|
+
"x": 11,
|
|
68
|
+
"y": 2.15,
|
|
69
|
+
"stroke": "currentColor",
|
|
70
|
+
"rx": .18,
|
|
71
|
+
"strokeWidth": 1.2
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"tag": "rect",
|
|
76
|
+
"attrs": {
|
|
77
|
+
"width": 2.2,
|
|
78
|
+
"height": 2.2,
|
|
79
|
+
"x": 2.15,
|
|
80
|
+
"y": 8.9,
|
|
81
|
+
"stroke": "currentColor",
|
|
82
|
+
"rx": .18,
|
|
83
|
+
"strokeWidth": 1.2
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"tag": "path",
|
|
88
|
+
"attrs": {
|
|
89
|
+
"fill": "currentColor",
|
|
90
|
+
"d": "M12.55 8.2L12.92 9.1C13.13 9.16 13.33 9.24 13.51 9.36L14.42 8.99L14.97 9.94L14.19 10.53C14.21 10.65 14.22 10.78 14.22 10.9C14.22 11.02 14.21 11.15 14.19 11.27L14.97 11.86L14.42 12.81L13.51 12.44C13.33 12.56 13.13 12.64 12.92 12.7L12.55 13.6H11.45L11.08 12.7C10.87 12.64 10.67 12.56 10.49 12.44L9.58 12.81L9.03 11.86L9.81 11.27C9.79 11.15 9.78 11.02 9.78 10.9C9.78 10.78 9.79 10.65 9.81 10.53L9.03 9.94L9.58 8.99L10.49 9.36C10.67 9.24 10.87 9.16 11.08 9.1L11.45 8.2H12.55ZM12 11.7C12.4418 11.7 12.8 11.3418 12.8 10.9C12.8 10.4582 12.4418 10.1 12 10.1C11.5582 10.1 11.2 10.4582 11.2 10.9C11.2 11.3418 11.5582 11.7 12 11.7Z",
|
|
91
|
+
"fillRule": "evenodd",
|
|
92
|
+
"clipRule": "evenodd"
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
]
|
|
96
|
+
};
|
|
97
|
+
const ShowDimensionsIcon = forwardRef(function ShowDimensionsIcon(props, ref) {
|
|
98
|
+
return createElement(IconBase, Object.assign({}, props, {
|
|
99
|
+
id: "show-dimensions-icon",
|
|
100
|
+
ref,
|
|
101
|
+
icon: element
|
|
102
|
+
}));
|
|
103
|
+
});
|
|
104
|
+
ShowDimensionsIcon.displayName = "ShowDimensionsIcon";
|
|
105
|
+
//#endregion
|
|
106
|
+
export { ShowDimensionsIcon, ShowDimensionsIcon as default };
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { createElement, forwardRef } from "react";
|
|
2
|
+
import { IconBase } from "./base.js";
|
|
3
|
+
//#region ts/show-toolbar-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": "M2.5 3C1.94772 3 1.5 3.44772 1.5 4V12C1.5 12.5523 1.94772 13 2.5 13H13.5C14.0523 13 14.5 12.5523 14.5 12V4C14.5 3.44772 14.0523 3 13.5 3H2.5ZM2.8 4.3V11.7H13.2V4.3H2.8Z",
|
|
18
|
+
"fillRule": "evenodd",
|
|
19
|
+
"clipRule": "evenodd"
|
|
20
|
+
}
|
|
21
|
+
}, {
|
|
22
|
+
"tag": "path",
|
|
23
|
+
"attrs": {
|
|
24
|
+
"fill": "currentColor",
|
|
25
|
+
"d": "M9.6 5.8C9.6 5.46863 9.86863 5.2 10.2 5.2H11.7C12.0314 5.2 12.3 5.46863 12.3 5.8C12.3 6.13137 12.0314 6.4 11.7 6.4H10.2C9.86863 6.4 9.6 6.13137 9.6 5.8Z"
|
|
26
|
+
}
|
|
27
|
+
}]
|
|
28
|
+
};
|
|
29
|
+
const ShowToolbarIcon = forwardRef(function ShowToolbarIcon(props, ref) {
|
|
30
|
+
return createElement(IconBase, Object.assign({}, props, {
|
|
31
|
+
id: "show-toolbar-icon",
|
|
32
|
+
ref,
|
|
33
|
+
icon: element
|
|
34
|
+
}));
|
|
35
|
+
});
|
|
36
|
+
ShowToolbarIcon.displayName = "ShowToolbarIcon";
|
|
37
|
+
//#endregion
|
|
38
|
+
export { ShowToolbarIcon, ShowToolbarIcon as default };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { IconProps } from './base.js';
|
|
2
|
-
export declare const
|
|
3
|
-
export default
|
|
2
|
+
export declare const StickyNoteIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGElement>>;
|
|
3
|
+
export default StickyNoteIcon;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { createElement, forwardRef } from "react";
|
|
2
|
+
import { IconBase } from "./base.js";
|
|
3
|
+
//#region ts/sticky-note-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": "M2.39967 2.26669H13.5997C13.9679 2.26669 14.2663 2.56517 14.2663 2.93336V9.66669L9.66634 14.2667H2.39967C2.03148 14.2667 1.73301 13.9682 1.73301 13.6V2.93336C1.73301 2.56517 2.03148 2.26669 2.39967 2.26669Z",
|
|
18
|
+
"strokeLinecap": "round",
|
|
19
|
+
"strokeLinejoin": "round",
|
|
20
|
+
"strokeWidth": 1.35
|
|
21
|
+
}
|
|
22
|
+
}, {
|
|
23
|
+
"tag": "path",
|
|
24
|
+
"attrs": {
|
|
25
|
+
"fill": "currentColor",
|
|
26
|
+
"d": "M9.66634 14.2667V10.3334C9.66634 9.96517 9.96482 9.66669 10.333 9.66669H14.2663L9.66634 14.2667Z"
|
|
27
|
+
}
|
|
28
|
+
}]
|
|
29
|
+
};
|
|
30
|
+
const StickyNoteIcon = forwardRef(function StickyNoteIcon(props, ref) {
|
|
31
|
+
return createElement(IconBase, Object.assign({}, props, {
|
|
32
|
+
id: "sticky-note-icon",
|
|
33
|
+
ref,
|
|
34
|
+
icon: element
|
|
35
|
+
}));
|
|
36
|
+
});
|
|
37
|
+
StickyNoteIcon.displayName = "StickyNoteIcon";
|
|
38
|
+
//#endregion
|
|
39
|
+
export { StickyNoteIcon, StickyNoteIcon as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createElement, forwardRef } from "react";
|
|
2
2
|
import { IconBase } from "./base.js";
|
|
3
|
-
//#region ts/
|
|
3
|
+
//#region ts/success-outline-icon.tsx
|
|
4
4
|
const element = {
|
|
5
5
|
"tag": "svg",
|
|
6
6
|
"attrs": {
|
|
@@ -30,13 +30,13 @@ const element = {
|
|
|
30
30
|
}
|
|
31
31
|
}]
|
|
32
32
|
};
|
|
33
|
-
const
|
|
33
|
+
const SuccessOutlineIcon = forwardRef(function SuccessOutlineIcon(props, ref) {
|
|
34
34
|
return createElement(IconBase, Object.assign({}, props, {
|
|
35
|
-
id: "
|
|
35
|
+
id: "success-outline-icon",
|
|
36
36
|
ref,
|
|
37
37
|
icon: element
|
|
38
38
|
}));
|
|
39
39
|
});
|
|
40
|
-
|
|
40
|
+
SuccessOutlineIcon.displayName = "SuccessOutlineIcon";
|
|
41
41
|
//#endregion
|
|
42
|
-
export {
|
|
42
|
+
export { SuccessOutlineIcon, SuccessOutlineIcon as default };
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { createElement, forwardRef } from "react";
|
|
2
|
+
import { IconBase } from "./base.js";
|
|
3
|
+
//#region ts/transitions-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": "M7.92 2.93C8.88 2.16 10.16 1.82 11.45 2.08C13.73 2.57 15.17 4.81 14.7 7.07C14.41 8.39 13.53 9.44 12.4 9.99",
|
|
19
|
+
"strokeLinecap": "round",
|
|
20
|
+
"strokeWidth": 1.2
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"tag": "circle",
|
|
25
|
+
"attrs": {
|
|
26
|
+
"cx": 5.4,
|
|
27
|
+
"cy": 9.6,
|
|
28
|
+
"r": 4.3,
|
|
29
|
+
"stroke": "currentColor",
|
|
30
|
+
"strokeWidth": 1.2
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"tag": "path",
|
|
35
|
+
"attrs": {
|
|
36
|
+
"stroke": "currentColor",
|
|
37
|
+
"d": "M5.4 9.6L12.35 5.04",
|
|
38
|
+
"strokeLinecap": "round",
|
|
39
|
+
"strokeWidth": 1.2
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"tag": "path",
|
|
44
|
+
"attrs": {
|
|
45
|
+
"stroke": "currentColor",
|
|
46
|
+
"d": "M10.27 5.38L12.35 5.04L11.21 6.8",
|
|
47
|
+
"strokeLinecap": "round",
|
|
48
|
+
"strokeLinejoin": "round",
|
|
49
|
+
"strokeWidth": 1.2
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
]
|
|
53
|
+
};
|
|
54
|
+
const TransitionsIcon = forwardRef(function TransitionsIcon(props, ref) {
|
|
55
|
+
return createElement(IconBase, Object.assign({}, props, {
|
|
56
|
+
id: "transitions-icon",
|
|
57
|
+
ref,
|
|
58
|
+
icon: element
|
|
59
|
+
}));
|
|
60
|
+
});
|
|
61
|
+
TransitionsIcon.displayName = "TransitionsIcon";
|
|
62
|
+
//#endregion
|
|
63
|
+
export { TransitionsIcon, TransitionsIcon as default };
|
|
@@ -18,7 +18,7 @@ const element = {
|
|
|
18
18
|
"d": "M1.8 13.5L6.1 2.5L10.2 13.5",
|
|
19
19
|
"strokeLinecap": "round",
|
|
20
20
|
"strokeLinejoin": "round",
|
|
21
|
-
"strokeWidth": 1.
|
|
21
|
+
"strokeWidth": 1.35
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
{
|
|
@@ -27,7 +27,7 @@ const element = {
|
|
|
27
27
|
"stroke": "currentColor",
|
|
28
28
|
"d": "M3.7 9.4H8.2",
|
|
29
29
|
"strokeLinecap": "round",
|
|
30
|
-
"strokeWidth": 1.
|
|
30
|
+
"strokeWidth": 1.35
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
{
|
|
@@ -36,7 +36,7 @@ const element = {
|
|
|
36
36
|
"stroke": "currentColor",
|
|
37
37
|
"d": "M8.8 2.1H14.2",
|
|
38
38
|
"strokeLinecap": "round",
|
|
39
|
-
"strokeWidth": 1.
|
|
39
|
+
"strokeWidth": 1.2
|
|
40
40
|
}
|
|
41
41
|
},
|
|
42
42
|
{
|
|
@@ -45,7 +45,7 @@ const element = {
|
|
|
45
45
|
"stroke": "currentColor",
|
|
46
46
|
"d": "M10.2 5.9H14.2",
|
|
47
47
|
"strokeLinecap": "round",
|
|
48
|
-
"strokeWidth": 1.
|
|
48
|
+
"strokeWidth": 1.2
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
51
|
{
|
|
@@ -54,7 +54,7 @@ const element = {
|
|
|
54
54
|
"stroke": "currentColor",
|
|
55
55
|
"d": "M11.5 9.7H14.2",
|
|
56
56
|
"strokeLinecap": "round",
|
|
57
|
-
"strokeWidth": 1.
|
|
57
|
+
"strokeWidth": 1.2
|
|
58
58
|
}
|
|
59
59
|
},
|
|
60
60
|
{
|
|
@@ -63,7 +63,7 @@ const element = {
|
|
|
63
63
|
"stroke": "currentColor",
|
|
64
64
|
"d": "M12.7 13.5H14.2",
|
|
65
65
|
"strokeLinecap": "round",
|
|
66
|
-
"strokeWidth": 1.
|
|
66
|
+
"strokeWidth": 1.2
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs/icons",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.14.0",
|
|
4
4
|
"description": "React icons for Univer.",
|
|
5
5
|
"author": "DreamNum Co., Ltd. <developer@univer.ai>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -22,7 +22,7 @@
|
|
|
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
|
".": {
|
|
@@ -40,15 +40,15 @@
|
|
|
40
40
|
"react-dom": "*"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@types/node": "^
|
|
43
|
+
"@types/node": "^26.0.0",
|
|
44
44
|
"@types/svg-parser": "^2.0.6",
|
|
45
|
-
"rolldown": "1.1.
|
|
45
|
+
"rolldown": "1.1.2",
|
|
46
46
|
"svg-parser": "^2.0.4",
|
|
47
47
|
"svgo": "^4.0.1",
|
|
48
48
|
"typescript": "^6.0.3",
|
|
49
|
-
"@univerjs/icons-svg": "1.
|
|
49
|
+
"@univerjs/icons-svg": "1.14.0"
|
|
50
50
|
},
|
|
51
51
|
"scripts": {
|
|
52
|
-
"build": "node --experimental-strip-types ./scripts/build/index.
|
|
52
|
+
"build": "node --experimental-strip-types ./scripts/build/index.mts && tsc"
|
|
53
53
|
}
|
|
54
54
|
}
|
package/dist/cjs/back-icon.cjs
DELETED
|
@@ -1,35 +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/back-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": "M6.42416 4.42417C6.65847 4.18985 6.65847 3.80995 6.42416 3.57564C6.18984 3.34132 5.80994 3.34132 5.57563 3.57564L1.57564 7.57564C1.34132 7.80995 1.34132 8.18985 1.57564 8.42417L5.57563 12.4242C5.80994 12.6585 6.18984 12.6585 6.42416 12.4242C6.65847 12.1899 6.65847 11.81 6.42416 11.5756L3.44843 8.5999H14C14.3314 8.5999 14.6 8.33127 14.6 7.9999C14.6 7.66853 14.3314 7.3999 14 7.3999H3.44843L6.42416 4.42417Z"
|
|
22
|
-
}
|
|
23
|
-
}]
|
|
24
|
-
};
|
|
25
|
-
const BackIcon = (0, react.forwardRef)(function BackIcon(props, ref) {
|
|
26
|
-
return (0, react.createElement)(ts_base_js.IconBase, Object.assign({}, props, {
|
|
27
|
-
id: "back-icon",
|
|
28
|
-
ref,
|
|
29
|
-
icon: element
|
|
30
|
-
}));
|
|
31
|
-
});
|
|
32
|
-
BackIcon.displayName = "BackIcon";
|
|
33
|
-
//#endregion
|
|
34
|
-
exports.BackIcon = BackIcon;
|
|
35
|
-
exports.default = BackIcon;
|