@univerjs/icons-vue 1.6.0 → 1.8.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 (40) hide show
  1. package/dist/cjs/activity-icon.cjs +75 -0
  2. package/dist/cjs/callout-icon.cjs +74 -0
  3. package/dist/cjs/code-block-icon.cjs +78 -0
  4. package/dist/cjs/foods-icon.cjs +66 -0
  5. package/dist/cjs/index.cjs +84 -0
  6. package/dist/cjs/nature-icon.cjs +53 -0
  7. package/dist/cjs/objects-icon.cjs +65 -0
  8. package/dist/cjs/people-icon.cjs +75 -0
  9. package/dist/cjs/places-icon.cjs +54 -0
  10. package/dist/cjs/quote-icon.cjs +49 -0
  11. package/dist/cjs/random-icon.cjs +78 -0
  12. package/dist/cjs/recent-icon.cjs +55 -0
  13. package/dist/cjs/symbols-icon.cjs +74 -0
  14. package/dist/esm/activity-icon.d.ts +18 -0
  15. package/dist/esm/activity-icon.js +70 -0
  16. package/dist/esm/callout-icon.d.ts +18 -0
  17. package/dist/esm/callout-icon.js +69 -0
  18. package/dist/esm/code-block-icon.d.ts +18 -0
  19. package/dist/esm/code-block-icon.js +73 -0
  20. package/dist/esm/foods-icon.d.ts +18 -0
  21. package/dist/esm/foods-icon.js +61 -0
  22. package/dist/esm/index.d.ts +12 -0
  23. package/dist/esm/index.js +13 -1
  24. package/dist/esm/nature-icon.d.ts +18 -0
  25. package/dist/esm/nature-icon.js +48 -0
  26. package/dist/esm/objects-icon.d.ts +18 -0
  27. package/dist/esm/objects-icon.js +60 -0
  28. package/dist/esm/people-icon.d.ts +18 -0
  29. package/dist/esm/people-icon.js +70 -0
  30. package/dist/esm/places-icon.d.ts +18 -0
  31. package/dist/esm/places-icon.js +49 -0
  32. package/dist/esm/quote-icon.d.ts +18 -0
  33. package/dist/esm/quote-icon.js +44 -0
  34. package/dist/esm/random-icon.d.ts +18 -0
  35. package/dist/esm/random-icon.js +73 -0
  36. package/dist/esm/recent-icon.d.ts +18 -0
  37. package/dist/esm/recent-icon.js +50 -0
  38. package/dist/esm/symbols-icon.d.ts +18 -0
  39. package/dist/esm/symbols-icon.js +69 -0
  40. package/package.json +2 -2
@@ -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.8.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.8.0"
51
51
  },
52
52
  "scripts": {
53
53
  "build": "node --experimental-strip-types ./scripts/build/index.ts && tsc"