@univerjs/icons-vue 1.6.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.
@@ -0,0 +1,49 @@
1
+ import { defineComponent, h } from "vue";
2
+ import { IconBase } from "./base.js";
3
+ //#region ts/places-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
+ "stroke": "currentColor",
17
+ "stroke-linejoin": "round",
18
+ "stroke-width": 1.3,
19
+ "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"
20
+ }
21
+ }, {
22
+ "tag": "circle",
23
+ "attrs": {
24
+ "cx": 8,
25
+ "cy": 6.7,
26
+ "r": 1.6,
27
+ "stroke": "currentColor",
28
+ "stroke-width": 1.3
29
+ }
30
+ }]
31
+ };
32
+ const PlacesIcon = defineComponent({
33
+ name: "PlacesIcon",
34
+ inheritAttrs: false,
35
+ props: { extend: {
36
+ type: Object,
37
+ default: void 0
38
+ } },
39
+ setup(props, { attrs }) {
40
+ return () => h(IconBase, {
41
+ ...attrs,
42
+ extend: props.extend,
43
+ id: "places-icon",
44
+ icon: element
45
+ });
46
+ }
47
+ });
48
+ //#endregion
49
+ export { PlacesIcon, PlacesIcon as default };
@@ -0,0 +1,18 @@
1
+ import type { PropType } from 'vue';
2
+ import type { IExtendProps } from './base.js';
3
+ export declare const RandomIcon: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ extend: {
5
+ type: PropType<IExtendProps>;
6
+ default: undefined;
7
+ };
8
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
9
+ [key: string]: any;
10
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
11
+ extend: {
12
+ type: PropType<IExtendProps>;
13
+ default: undefined;
14
+ };
15
+ }>> & Readonly<{}>, {
16
+ extend: IExtendProps;
17
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
18
+ export default RandomIcon;
@@ -0,0 +1,73 @@
1
+ import { defineComponent, h } from "vue";
2
+ import { IconBase } from "./base.js";
3
+ //#region ts/random-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
+ {
15
+ "tag": "path",
16
+ "attrs": {
17
+ "stroke": "currentColor",
18
+ "stroke-linecap": "round",
19
+ "stroke-linejoin": "round",
20
+ "stroke-width": 1.3,
21
+ "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"
22
+ }
23
+ },
24
+ {
25
+ "tag": "path",
26
+ "attrs": {
27
+ "stroke": "currentColor",
28
+ "stroke-linecap": "round",
29
+ "stroke-linejoin": "round",
30
+ "stroke-width": 1.3,
31
+ "d": "M11.5 8.9L13.5 10.9L11.5 12.9"
32
+ }
33
+ },
34
+ {
35
+ "tag": "path",
36
+ "attrs": {
37
+ "stroke": "currentColor",
38
+ "stroke-linecap": "round",
39
+ "stroke-linejoin": "round",
40
+ "stroke-width": 1.3,
41
+ "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"
42
+ }
43
+ },
44
+ {
45
+ "tag": "path",
46
+ "attrs": {
47
+ "stroke": "currentColor",
48
+ "stroke-linecap": "round",
49
+ "stroke-linejoin": "round",
50
+ "stroke-width": 1.3,
51
+ "d": "M11.5 2.5L13.5 4.5L11.5 6.5"
52
+ }
53
+ }
54
+ ]
55
+ };
56
+ const RandomIcon = defineComponent({
57
+ name: "RandomIcon",
58
+ inheritAttrs: false,
59
+ props: { extend: {
60
+ type: Object,
61
+ default: void 0
62
+ } },
63
+ setup(props, { attrs }) {
64
+ return () => h(IconBase, {
65
+ ...attrs,
66
+ extend: props.extend,
67
+ id: "random-icon",
68
+ icon: element
69
+ });
70
+ }
71
+ });
72
+ //#endregion
73
+ export { RandomIcon, RandomIcon as default };
@@ -0,0 +1,18 @@
1
+ import type { PropType } from 'vue';
2
+ import type { IExtendProps } from './base.js';
3
+ export declare const RecentIcon: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ extend: {
5
+ type: PropType<IExtendProps>;
6
+ default: undefined;
7
+ };
8
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
9
+ [key: string]: any;
10
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
11
+ extend: {
12
+ type: PropType<IExtendProps>;
13
+ default: undefined;
14
+ };
15
+ }>> & Readonly<{}>, {
16
+ extend: IExtendProps;
17
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
18
+ export default RecentIcon;
@@ -0,0 +1,50 @@
1
+ import { defineComponent, h } from "vue";
2
+ import { IconBase } from "./base.js";
3
+ //#region ts/recent-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": "circle",
15
+ "attrs": {
16
+ "cx": 8,
17
+ "cy": 8,
18
+ "r": 5.7,
19
+ "stroke": "currentColor",
20
+ "stroke-width": 1.3
21
+ }
22
+ }, {
23
+ "tag": "path",
24
+ "attrs": {
25
+ "stroke": "currentColor",
26
+ "stroke-linecap": "round",
27
+ "stroke-linejoin": "round",
28
+ "stroke-width": 1.3,
29
+ "d": "M8 4.8V8.2L10.4 9.6"
30
+ }
31
+ }]
32
+ };
33
+ const RecentIcon = defineComponent({
34
+ name: "RecentIcon",
35
+ inheritAttrs: false,
36
+ props: { extend: {
37
+ type: Object,
38
+ default: void 0
39
+ } },
40
+ setup(props, { attrs }) {
41
+ return () => h(IconBase, {
42
+ ...attrs,
43
+ extend: props.extend,
44
+ id: "recent-icon",
45
+ icon: element
46
+ });
47
+ }
48
+ });
49
+ //#endregion
50
+ export { RecentIcon, RecentIcon as default };
@@ -0,0 +1,18 @@
1
+ import type { PropType } from 'vue';
2
+ import type { IExtendProps } from './base.js';
3
+ export declare const SymbolsIcon: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ extend: {
5
+ type: PropType<IExtendProps>;
6
+ default: undefined;
7
+ };
8
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
9
+ [key: string]: any;
10
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
11
+ extend: {
12
+ type: PropType<IExtendProps>;
13
+ default: undefined;
14
+ };
15
+ }>> & Readonly<{}>, {
16
+ extend: IExtendProps;
17
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
18
+ export default SymbolsIcon;
@@ -0,0 +1,69 @@
1
+ import { defineComponent, h } from "vue";
2
+ import { IconBase } from "./base.js";
3
+ //#region ts/symbols-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
+ {
15
+ "tag": "path",
16
+ "attrs": {
17
+ "stroke": "currentColor",
18
+ "stroke-linecap": "round",
19
+ "stroke-width": 1.3,
20
+ "d": "M6.4 2.8L5.5 13.2"
21
+ }
22
+ },
23
+ {
24
+ "tag": "path",
25
+ "attrs": {
26
+ "stroke": "currentColor",
27
+ "stroke-linecap": "round",
28
+ "stroke-width": 1.3,
29
+ "d": "M10.5 2.8L9.6 13.2"
30
+ }
31
+ },
32
+ {
33
+ "tag": "path",
34
+ "attrs": {
35
+ "stroke": "currentColor",
36
+ "stroke-linecap": "round",
37
+ "stroke-width": 1.3,
38
+ "d": "M3.1 6H13.1"
39
+ }
40
+ },
41
+ {
42
+ "tag": "path",
43
+ "attrs": {
44
+ "stroke": "currentColor",
45
+ "stroke-linecap": "round",
46
+ "stroke-width": 1.3,
47
+ "d": "M2.9 10H12.9"
48
+ }
49
+ }
50
+ ]
51
+ };
52
+ const SymbolsIcon = defineComponent({
53
+ name: "SymbolsIcon",
54
+ inheritAttrs: false,
55
+ props: { extend: {
56
+ type: Object,
57
+ default: void 0
58
+ } },
59
+ setup(props, { attrs }) {
60
+ return () => h(IconBase, {
61
+ ...attrs,
62
+ extend: props.extend,
63
+ id: "symbols-icon",
64
+ icon: element
65
+ });
66
+ }
67
+ });
68
+ //#endregion
69
+ export { SymbolsIcon, SymbolsIcon as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs/icons-vue",
3
- "version": "1.6.0",
3
+ "version": "1.7.0",
4
4
  "description": "Vue icons for Univer.",
5
5
  "author": "DreamNum Co., Ltd. <developer@univer.ai>",
6
6
  "license": "MIT",
@@ -47,7 +47,7 @@
47
47
  "svgo": "^4.0.1",
48
48
  "typescript": "^6.0.3",
49
49
  "vue": "^3.5.35",
50
- "@univerjs/icons-svg": "1.6.0"
50
+ "@univerjs/icons-svg": "1.7.0"
51
51
  },
52
52
  "scripts": {
53
53
  "build": "node --experimental-strip-types ./scripts/build/index.ts && tsc"