@univerjs/icons-vue 1.46.0 → 1.47.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 (76) hide show
  1. package/dist/cjs/arrow-down-icon.cjs +6 -5
  2. package/dist/cjs/arrow-left-icon.cjs +6 -6
  3. package/dist/cjs/arrow-right-icon.cjs +6 -5
  4. package/dist/cjs/arrow-tilt-down-icon.cjs +6 -5
  5. package/dist/cjs/arrow-tilt-up-icon.cjs +6 -5
  6. package/dist/cjs/arrow-up-icon.cjs +6 -5
  7. package/dist/cjs/calendar-icon.cjs +19 -36
  8. package/dist/cjs/check-mark-icon.cjs +5 -4
  9. package/dist/cjs/close-icon.cjs +5 -2
  10. package/dist/cjs/delete-icon.cjs +9 -31
  11. package/dist/cjs/formula-fraction-icon.cjs +4 -5
  12. package/dist/cjs/grid-icon.cjs +18 -15
  13. package/dist/cjs/grid-outline-icon.cjs +48 -6
  14. package/dist/cjs/home-icon.cjs +5 -4
  15. package/dist/cjs/increase-icon.cjs +5 -2
  16. package/dist/cjs/index.cjs +42 -0
  17. package/dist/cjs/more-down-icon.cjs +5 -4
  18. package/dist/cjs/more-left-icon.cjs +6 -5
  19. package/dist/cjs/more-right-icon.cjs +5 -4
  20. package/dist/cjs/more-up-icon.cjs +5 -4
  21. package/dist/cjs/redo-icon.cjs +5 -2
  22. package/dist/cjs/search-icon.cjs +17 -6
  23. package/dist/cjs/shape-combine-icon.cjs +56 -0
  24. package/dist/cjs/shape-fragment-icon.cjs +74 -0
  25. package/dist/cjs/shape-intersect-icon.cjs +89 -0
  26. package/dist/cjs/shape-merge-icon.cjs +59 -0
  27. package/dist/cjs/shape-subtract-icon.cjs +71 -0
  28. package/dist/cjs/shape-union-icon.cjs +55 -0
  29. package/dist/cjs/show-toolbar-icon.cjs +17 -15
  30. package/dist/cjs/success-outline-icon.cjs +15 -14
  31. package/dist/cjs/table-icon.cjs +18 -15
  32. package/dist/cjs/undo-icon.cjs +5 -2
  33. package/dist/cjs/zoom-in-icon.cjs +17 -12
  34. package/dist/cjs/zoom-out-icon.cjs +17 -12
  35. package/dist/esm/arrow-down-icon.js +6 -5
  36. package/dist/esm/arrow-left-icon.js +6 -6
  37. package/dist/esm/arrow-right-icon.js +6 -5
  38. package/dist/esm/arrow-tilt-down-icon.js +6 -5
  39. package/dist/esm/arrow-tilt-up-icon.js +6 -5
  40. package/dist/esm/arrow-up-icon.js +6 -5
  41. package/dist/esm/calendar-icon.js +19 -36
  42. package/dist/esm/check-mark-icon.js +5 -4
  43. package/dist/esm/close-icon.js +5 -2
  44. package/dist/esm/delete-icon.js +9 -31
  45. package/dist/esm/formula-fraction-icon.js +4 -5
  46. package/dist/esm/grid-icon.js +18 -15
  47. package/dist/esm/grid-outline-icon.js +48 -6
  48. package/dist/esm/home-icon.js +5 -4
  49. package/dist/esm/increase-icon.js +5 -2
  50. package/dist/esm/index.d.ts +6 -0
  51. package/dist/esm/index.js +7 -1
  52. package/dist/esm/more-down-icon.js +5 -4
  53. package/dist/esm/more-left-icon.js +6 -5
  54. package/dist/esm/more-right-icon.js +5 -4
  55. package/dist/esm/more-up-icon.js +5 -4
  56. package/dist/esm/redo-icon.js +5 -2
  57. package/dist/esm/search-icon.js +17 -6
  58. package/dist/esm/shape-combine-icon.d.ts +27 -0
  59. package/dist/esm/shape-combine-icon.js +51 -0
  60. package/dist/esm/shape-fragment-icon.d.ts +27 -0
  61. package/dist/esm/shape-fragment-icon.js +69 -0
  62. package/dist/esm/shape-intersect-icon.d.ts +27 -0
  63. package/dist/esm/shape-intersect-icon.js +84 -0
  64. package/dist/esm/shape-merge-icon.d.ts +27 -0
  65. package/dist/esm/shape-merge-icon.js +54 -0
  66. package/dist/esm/shape-subtract-icon.d.ts +27 -0
  67. package/dist/esm/shape-subtract-icon.js +66 -0
  68. package/dist/esm/shape-union-icon.d.ts +27 -0
  69. package/dist/esm/shape-union-icon.js +50 -0
  70. package/dist/esm/show-toolbar-icon.js +17 -15
  71. package/dist/esm/success-outline-icon.js +15 -14
  72. package/dist/esm/table-icon.js +18 -15
  73. package/dist/esm/undo-icon.js +5 -2
  74. package/dist/esm/zoom-in-icon.js +17 -12
  75. package/dist/esm/zoom-out-icon.js +17 -12
  76. package/package.json +4 -4
@@ -0,0 +1,66 @@
1
+ import { defineComponent, h } from "vue";
2
+ import { IconBase } from "./base.js";
3
+ //#region ts/shape-subtract-icon.ts
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": "g",
15
+ "attrs": {
16
+ "stroke": "currentColor",
17
+ "stroke-linecap": "round",
18
+ "stroke-linejoin": "round",
19
+ "stroke-width": 1.2
20
+ },
21
+ "children": [{
22
+ "tag": "rect",
23
+ "attrs": {
24
+ "width": 8,
25
+ "height": 8,
26
+ "x": 6,
27
+ "y": 6,
28
+ "stroke-dasharray": "1.5 2",
29
+ "opacity": .45,
30
+ "rx": 1.2
31
+ }
32
+ }, {
33
+ "tag": "path",
34
+ "attrs": {
35
+ "fill": "currentColor",
36
+ "fill-opacity": .16,
37
+ "d": "M3.2 2H8.8A1.2 1.2 0 0 1 10 3.2V6H6V10H3.2A1.2 1.2 0 0 1 2 8.8V3.2A1.2 1.2 0 0 1 3.2 2Z"
38
+ }
39
+ }]
40
+ }]
41
+ };
42
+ const ShapeSubtractIcon = defineComponent({
43
+ name: "ShapeSubtractIcon",
44
+ inheritAttrs: false,
45
+ props: {
46
+ preserveStrokeWidth: {
47
+ type: Boolean,
48
+ default: false
49
+ },
50
+ extend: {
51
+ type: Object,
52
+ default: void 0
53
+ }
54
+ },
55
+ setup(props, { attrs }) {
56
+ return () => h(IconBase, {
57
+ ...attrs,
58
+ preserveStrokeWidth: props.preserveStrokeWidth,
59
+ extend: props.extend,
60
+ id: "shape-subtract-icon",
61
+ icon: element
62
+ });
63
+ }
64
+ });
65
+ //#endregion
66
+ export { ShapeSubtractIcon, ShapeSubtractIcon as default };
@@ -0,0 +1,27 @@
1
+ import type { PropType } from 'vue';
2
+ import type { IExtendProps } from './base.js';
3
+ export declare const ShapeUnionIcon: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ preserveStrokeWidth: {
5
+ type: BooleanConstructor;
6
+ default: boolean;
7
+ };
8
+ extend: {
9
+ type: PropType<IExtendProps>;
10
+ default: undefined;
11
+ };
12
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
13
+ [key: string]: any;
14
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
15
+ preserveStrokeWidth: {
16
+ type: BooleanConstructor;
17
+ default: boolean;
18
+ };
19
+ extend: {
20
+ type: PropType<IExtendProps>;
21
+ default: undefined;
22
+ };
23
+ }>> & Readonly<{}>, {
24
+ preserveStrokeWidth: boolean;
25
+ extend: IExtendProps;
26
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
27
+ export default ShapeUnionIcon;
@@ -0,0 +1,50 @@
1
+ import { defineComponent, h } from "vue";
2
+ import { IconBase } from "./base.js";
3
+ //#region ts/shape-union-icon.ts
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
+ "fill-opacity": .16,
18
+ "stroke": "currentColor",
19
+ "stroke-linecap": "round",
20
+ "stroke-linejoin": "round",
21
+ "stroke-width": 1.2,
22
+ "d": "M3.2 2H8.8A1.2 1.2 0 0 1 10 3.2V6H12.8A1.2 1.2 0 0 1 14 7.2V12.8A1.2 1.2 0 0 1 12.8 14H7.2A1.2 1.2 0 0 1 6 12.8V10H3.2A1.2 1.2 0 0 1 2 8.8V3.2A1.2 1.2 0 0 1 3.2 2Z"
23
+ }
24
+ }]
25
+ };
26
+ const ShapeUnionIcon = defineComponent({
27
+ name: "ShapeUnionIcon",
28
+ inheritAttrs: false,
29
+ props: {
30
+ preserveStrokeWidth: {
31
+ type: Boolean,
32
+ default: false
33
+ },
34
+ extend: {
35
+ type: Object,
36
+ default: void 0
37
+ }
38
+ },
39
+ setup(props, { attrs }) {
40
+ return () => h(IconBase, {
41
+ ...attrs,
42
+ preserveStrokeWidth: props.preserveStrokeWidth,
43
+ extend: props.extend,
44
+ id: "shape-union-icon",
45
+ icon: element
46
+ });
47
+ }
48
+ });
49
+ //#endregion
50
+ export { ShapeUnionIcon, ShapeUnionIcon as default };
@@ -11,24 +11,26 @@ const element = {
11
11
  "height": "1em"
12
12
  },
13
13
  "children": [{
14
- "tag": "rect",
15
- "attrs": {
16
- "width": 11.7,
17
- "height": 8.7,
18
- "x": 2.15,
19
- "y": 3.65,
20
- "stroke": "currentColor",
21
- "stroke-width": 1.3,
22
- "rx": .35
23
- }
24
- }, {
25
- "tag": "path",
14
+ "tag": "g",
26
15
  "attrs": {
27
16
  "stroke": "currentColor",
28
17
  "stroke-linecap": "round",
29
- "stroke-width": 1.2,
30
- "d": "M10.2 5.8H11.7"
31
- }
18
+ "stroke-linejoin": "round",
19
+ "stroke-width": 1.2
20
+ },
21
+ "children": [{
22
+ "tag": "rect",
23
+ "attrs": {
24
+ "width": 12.4,
25
+ "height": 8.8,
26
+ "x": 1.8,
27
+ "y": 3.6,
28
+ "rx": 1.2
29
+ }
30
+ }, {
31
+ "tag": "path",
32
+ "attrs": { "d": "M10.2 5.8H11.7" }
33
+ }]
32
34
  }]
33
35
  };
34
36
  const ShowToolbarIcon = defineComponent({
@@ -6,28 +6,29 @@ const element = {
6
6
  "attrs": {
7
7
  "xmlns": "http://www.w3.org/2000/svg",
8
8
  "fill": "none",
9
- "viewBox": "0 0 17 17",
9
+ "viewBox": "0 0 16 16",
10
10
  "width": "1em",
11
11
  "height": "1em"
12
12
  },
13
13
  "children": [{
14
- "tag": "circle",
15
- "attrs": {
16
- "cx": 8.73,
17
- "cy": 8.4,
18
- "r": 6.4,
19
- "stroke": "currentColor",
20
- "stroke-width": 1.2
21
- }
22
- }, {
23
- "tag": "path",
14
+ "tag": "g",
24
15
  "attrs": {
25
16
  "stroke": "currentColor",
26
17
  "stroke-linecap": "round",
27
18
  "stroke-linejoin": "round",
28
- "stroke-width": 1.2,
29
- "d": "M6.02637 8.40356L8.02637 10.4036L12.0264 6.40356"
30
- }
19
+ "stroke-width": 1.2
20
+ },
21
+ "children": [{
22
+ "tag": "circle",
23
+ "attrs": {
24
+ "cx": 8,
25
+ "cy": 8,
26
+ "r": 6.4
27
+ }
28
+ }, {
29
+ "tag": "path",
30
+ "attrs": { "d": "M5.3 8L7.3 10L11.3 6" }
31
+ }]
31
32
  }]
32
33
  };
33
34
  const SuccessOutlineIcon = defineComponent({
@@ -11,23 +11,26 @@ const element = {
11
11
  "height": "1em"
12
12
  },
13
13
  "children": [{
14
- "tag": "rect",
14
+ "tag": "g",
15
15
  "attrs": {
16
- "width": 12.4,
17
- "height": 12.4,
18
- "x": 1.8,
19
- "y": 1.8,
20
16
  "stroke": "currentColor",
21
- "stroke-width": 1.2,
22
- "rx": 1.8
23
- }
24
- }, {
25
- "tag": "path",
26
- "attrs": {
27
- "stroke": "currentColor",
28
- "stroke-width": 1.2,
29
- "d": "M1.8 5.6H14.2M5.6 1.8V14.2"
30
- }
17
+ "stroke-linecap": "round",
18
+ "stroke-linejoin": "round",
19
+ "stroke-width": 1.2
20
+ },
21
+ "children": [{
22
+ "tag": "rect",
23
+ "attrs": {
24
+ "width": 12.4,
25
+ "height": 12.4,
26
+ "x": 1.8,
27
+ "y": 1.8,
28
+ "rx": 1.2
29
+ }
30
+ }, {
31
+ "tag": "path",
32
+ "attrs": { "d": "M1.8 6H14.2M6 1.8V14.2" }
33
+ }]
31
34
  }]
32
35
  };
33
36
  const TableIcon = defineComponent({
@@ -13,8 +13,11 @@ const element = {
13
13
  "children": [{
14
14
  "tag": "path",
15
15
  "attrs": {
16
- "fill": "currentColor",
17
- "d": "M4.72365 2.72206C4.97524 2.50641 5.00437 2.12763 4.78872 1.87603C4.57306 1.62444 4.19428 1.59531 3.94269 1.81097L1.61333 3.80761C1.48281 3.91768 1.3999 4.08241 1.3999 4.2665C1.3999 4.41745 1.45564 4.55538 1.54766 4.66083C1.55661 4.67109 1.56594 4.68108 1.57563 4.69077L3.9089 7.02411C4.14321 7.25842 4.52311 7.25843 4.75743 7.02412C4.99175 6.78981 4.99175 6.40991 4.75744 6.17559L3.44839 4.8665H9.36337C11.5909 4.8665 13.3967 6.67229 13.3967 8.89984C13.3967 11.1274 11.5909 12.9332 9.36337 12.9332H3.99937C3.668 12.9332 3.39937 13.2018 3.39937 13.5332C3.39937 13.8645 3.668 14.1332 3.99937 14.1332H9.36337C12.2537 14.1332 14.5967 11.7901 14.5967 8.89984C14.5967 6.00955 12.2537 3.6665 9.36337 3.6665H3.62183L4.72365 2.72206Z"
16
+ "stroke": "currentColor",
17
+ "stroke-linecap": "round",
18
+ "stroke-linejoin": "round",
19
+ "stroke-width": 1.2,
20
+ "d": "M4.33 2.27L2 4.27L4.33 6.6M2 4.27H9.36A4.63 4.63 0 0 1 9.36 13.53H4"
18
21
  }
19
22
  }]
20
23
  };
@@ -11,19 +11,24 @@ const element = {
11
11
  "height": "1em"
12
12
  },
13
13
  "children": [{
14
- "tag": "path",
14
+ "tag": "g",
15
15
  "attrs": {
16
- "fill": "currentColor",
17
- "d": "M8.04883 5.38216C8.04883 5.01397 7.75035 4.71549 7.38216 4.71549C7.01397 4.71549 6.71549 5.01397 6.71549 5.38216V6.71897L5.3865 6.7207C5.01831 6.72117 4.72022 7.02004 4.7207 7.38823C4.72118 7.75642 5.02005 8.05451 5.38824 8.05403L6.71549 8.0523V9.38216C6.71549 9.75035 7.01397 10.0488 7.38216 10.0488C7.75035 10.0488 8.04883 9.75035 8.04883 9.38216V8.05056L9.38304 8.04883C9.75123 8.04835 10.0493 7.74948 10.0488 7.38129C10.0484 7.0131 9.74949 6.71502 9.3813 6.7155L8.04883 6.71723V5.38216Z"
18
- }
19
- }, {
20
- "tag": "path",
21
- "attrs": {
22
- "fill": "currentColor",
23
- "fill-rule": "evenodd",
24
- "d": "M7.38216 1.04883C3.88437 1.04883 1.04883 3.88437 1.04883 7.38216C1.04883 10.88 3.88437 13.7155 7.38216 13.7155C8.89089 13.7155 10.2764 13.1879 11.3643 12.3072L13.813 14.7559C14.0733 15.0162 14.4954 15.0162 14.7558 14.7559C15.0161 14.4955 15.0161 14.0734 14.7558 13.8131L12.3071 11.3644C13.1879 10.2765 13.7155 8.89095 13.7155 7.38216C13.7155 3.88437 10.88 1.04883 7.38216 1.04883ZM2.38216 7.38216C2.38216 4.62075 4.62075 2.38216 7.38216 2.38216C10.1436 2.38216 12.3822 4.62075 12.3822 7.38216C12.3822 10.1436 10.1436 12.3822 7.38216 12.3822C4.62075 12.3822 2.38216 10.1436 2.38216 7.38216Z",
25
- "clip-rule": "evenodd"
26
- }
16
+ "stroke": "currentColor",
17
+ "stroke-linecap": "round",
18
+ "stroke-linejoin": "round",
19
+ "stroke-width": 1.2
20
+ },
21
+ "children": [{
22
+ "tag": "circle",
23
+ "attrs": {
24
+ "cx": 7,
25
+ "cy": 7,
26
+ "r": 5.2
27
+ }
28
+ }, {
29
+ "tag": "path",
30
+ "attrs": { "d": "M10.8 10.8L14.2 14.2M5 7H9M7 5V9" }
31
+ }]
27
32
  }]
28
33
  };
29
34
  const ZoomInIcon = defineComponent({
@@ -11,19 +11,24 @@ const element = {
11
11
  "height": "1em"
12
12
  },
13
13
  "children": [{
14
- "tag": "path",
14
+ "tag": "g",
15
15
  "attrs": {
16
- "fill": "currentColor",
17
- "d": "M4.71549 7.38216C4.71549 7.01397 5.01397 6.71549 5.38216 6.71549H9.38216C9.75035 6.71549 10.0488 7.01397 10.0488 7.38216C10.0488 7.75035 9.75035 8.04883 9.38216 8.04883H5.38216C5.01397 8.04883 4.71549 7.75035 4.71549 7.38216Z"
18
- }
19
- }, {
20
- "tag": "path",
21
- "attrs": {
22
- "fill": "currentColor",
23
- "fill-rule": "evenodd",
24
- "d": "M1.04883 7.38216C1.04883 3.88437 3.88437 1.04883 7.38216 1.04883C10.88 1.04883 13.7155 3.88437 13.7155 7.38216C13.7155 8.89095 13.1879 10.2765 12.3071 11.3644L14.7558 13.8131C15.0161 14.0734 15.0161 14.4955 14.7558 14.7559C14.4954 15.0162 14.0733 15.0162 13.813 14.7559L11.3643 12.3072C10.2764 13.1879 8.89089 13.7155 7.38216 13.7155C3.88437 13.7155 1.04883 10.88 1.04883 7.38216ZM7.38216 2.38216C4.62075 2.38216 2.38216 4.62075 2.38216 7.38216C2.38216 10.1436 4.62075 12.3822 7.38216 12.3822C10.1436 12.3822 12.3822 10.1436 12.3822 7.38216C12.3822 4.62075 10.1436 2.38216 7.38216 2.38216Z",
25
- "clip-rule": "evenodd"
26
- }
16
+ "stroke": "currentColor",
17
+ "stroke-linecap": "round",
18
+ "stroke-linejoin": "round",
19
+ "stroke-width": 1.2
20
+ },
21
+ "children": [{
22
+ "tag": "circle",
23
+ "attrs": {
24
+ "cx": 7,
25
+ "cy": 7,
26
+ "r": 5.2
27
+ }
28
+ }, {
29
+ "tag": "path",
30
+ "attrs": { "d": "M10.8 10.8L14.2 14.2M5 7H9" }
31
+ }]
27
32
  }]
28
33
  };
29
34
  const ZoomOutIcon = defineComponent({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs/icons-vue",
3
- "version": "1.46.0",
3
+ "version": "1.47.0",
4
4
  "description": "Vue icons for Univer.",
5
5
  "author": "DreamNum Co., Ltd. <developer@univer.ai>",
6
6
  "license": "MIT",
@@ -40,10 +40,10 @@
40
40
  "vue": "^3.0.0"
41
41
  },
42
42
  "devDependencies": {
43
- "@types/node": "^26.6.2",
43
+ "@types/node": "^26.6.5",
44
44
  "@types/svg-parser": "^2.0.6",
45
- "@univerjs/icons-svg": "1.46.0",
46
- "rolldown": "1.2.9",
45
+ "@univerjs/icons-svg": "1.47.0",
46
+ "rolldown": "1.2.13",
47
47
  "svg-parser": "^2.1.0",
48
48
  "svgo": "^4.1.0",
49
49
  "typescript": "7.0.2",