@univerjs/icons-vue 1.8.0 → 1.10.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/callout-icon.cjs +8 -14
- package/dist/cjs/flip-horizontal-icon.cjs +94 -0
- package/dist/cjs/flip-vertical-icon.cjs +94 -0
- package/dist/cjs/index.cjs +42 -0
- package/dist/cjs/shape-format-setting-icon.cjs +85 -0
- package/dist/cjs/slideshow-play-icon.cjs +75 -0
- package/dist/cjs/slideshow-theme-icon.cjs +111 -0
- package/dist/cjs/typography-icon.cjs +93 -0
- package/dist/esm/callout-icon.js +8 -14
- package/dist/esm/flip-horizontal-icon.d.ts +18 -0
- package/dist/esm/flip-horizontal-icon.js +89 -0
- package/dist/esm/flip-vertical-icon.d.ts +18 -0
- package/dist/esm/flip-vertical-icon.js +89 -0
- package/dist/esm/index.d.ts +6 -0
- package/dist/esm/index.js +7 -1
- package/dist/esm/shape-format-setting-icon.d.ts +18 -0
- package/dist/esm/shape-format-setting-icon.js +80 -0
- package/dist/esm/slideshow-play-icon.d.ts +18 -0
- package/dist/esm/slideshow-play-icon.js +70 -0
- package/dist/esm/slideshow-theme-icon.d.ts +18 -0
- package/dist/esm/slideshow-theme-icon.js +106 -0
- package/dist/esm/typography-icon.d.ts +18 -0
- package/dist/esm/typography-icon.js +88 -0
- package/package.json +2 -2
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { defineComponent, h } from "vue";
|
|
2
|
+
import { IconBase } from "./base.js";
|
|
3
|
+
//#region ts/slideshow-theme-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": "M12.9 4V3.8C12.9 3.19249 12.4075 2.7 11.8 2.7H3.2C2.59249 2.7 2.1 3.19249 2.1 3.8V9.4C2.1 10.0075 2.59249 10.5 3.2 10.5H11.8C12.4075 10.5 12.9 10.0075 12.9 9.4"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"tag": "path",
|
|
25
|
+
"attrs": {
|
|
26
|
+
"stroke": "currentColor",
|
|
27
|
+
"stroke-linecap": "round",
|
|
28
|
+
"stroke-width": 1.3,
|
|
29
|
+
"d": "M4.6 5.3H8.4"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"tag": "path",
|
|
34
|
+
"attrs": {
|
|
35
|
+
"stroke": "currentColor",
|
|
36
|
+
"stroke-linecap": "round",
|
|
37
|
+
"stroke-width": 1.3,
|
|
38
|
+
"d": "M4.6 7.7H7.1"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"tag": "path",
|
|
43
|
+
"attrs": {
|
|
44
|
+
"stroke": "currentColor",
|
|
45
|
+
"stroke-linecap": "round",
|
|
46
|
+
"stroke-width": 1.3,
|
|
47
|
+
"d": "M8 10.5V12.7"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"tag": "path",
|
|
52
|
+
"attrs": {
|
|
53
|
+
"stroke": "currentColor",
|
|
54
|
+
"stroke-linecap": "round",
|
|
55
|
+
"stroke-width": 1.3,
|
|
56
|
+
"d": "M5.6 13.4H10.4"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"tag": "rect",
|
|
61
|
+
"attrs": {
|
|
62
|
+
"width": 4.5,
|
|
63
|
+
"height": 4.5,
|
|
64
|
+
"x": 9.4,
|
|
65
|
+
"y": 4.5,
|
|
66
|
+
"stroke": "currentColor",
|
|
67
|
+
"stroke-width": 1.2,
|
|
68
|
+
"rx": .9
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"tag": "path",
|
|
73
|
+
"attrs": {
|
|
74
|
+
"stroke": "currentColor",
|
|
75
|
+
"stroke-width": 1.2,
|
|
76
|
+
"d": "M9.4 6.75H13.9"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"tag": "path",
|
|
81
|
+
"attrs": {
|
|
82
|
+
"stroke": "currentColor",
|
|
83
|
+
"stroke-width": 1.2,
|
|
84
|
+
"d": "M11.65 4.5V9"
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
]
|
|
88
|
+
};
|
|
89
|
+
const SlideshowThemeIcon = defineComponent({
|
|
90
|
+
name: "SlideshowThemeIcon",
|
|
91
|
+
inheritAttrs: false,
|
|
92
|
+
props: { extend: {
|
|
93
|
+
type: Object,
|
|
94
|
+
default: void 0
|
|
95
|
+
} },
|
|
96
|
+
setup(props, { attrs }) {
|
|
97
|
+
return () => h(IconBase, {
|
|
98
|
+
...attrs,
|
|
99
|
+
extend: props.extend,
|
|
100
|
+
id: "slideshow-theme-icon",
|
|
101
|
+
icon: element
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
});
|
|
105
|
+
//#endregion
|
|
106
|
+
export { SlideshowThemeIcon, SlideshowThemeIcon as default };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
import type { IExtendProps } from './base.js';
|
|
3
|
+
export declare const TypographyIcon: 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 TypographyIcon;
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { defineComponent, h } from "vue";
|
|
2
|
+
import { IconBase } from "./base.js";
|
|
3
|
+
//#region ts/typography-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.8,
|
|
21
|
+
"d": "M1.8 13.5L6.1 2.5L10.2 13.5"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"tag": "path",
|
|
26
|
+
"attrs": {
|
|
27
|
+
"stroke": "currentColor",
|
|
28
|
+
"stroke-linecap": "round",
|
|
29
|
+
"stroke-width": 1.8,
|
|
30
|
+
"d": "M3.7 9.4H8.2"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"tag": "path",
|
|
35
|
+
"attrs": {
|
|
36
|
+
"stroke": "currentColor",
|
|
37
|
+
"stroke-linecap": "round",
|
|
38
|
+
"stroke-width": 1.4,
|
|
39
|
+
"d": "M8.8 2.1H14.2"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"tag": "path",
|
|
44
|
+
"attrs": {
|
|
45
|
+
"stroke": "currentColor",
|
|
46
|
+
"stroke-linecap": "round",
|
|
47
|
+
"stroke-width": 1.4,
|
|
48
|
+
"d": "M10.2 5.9H14.2"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"tag": "path",
|
|
53
|
+
"attrs": {
|
|
54
|
+
"stroke": "currentColor",
|
|
55
|
+
"stroke-linecap": "round",
|
|
56
|
+
"stroke-width": 1.4,
|
|
57
|
+
"d": "M11.5 9.7H14.2"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"tag": "path",
|
|
62
|
+
"attrs": {
|
|
63
|
+
"stroke": "currentColor",
|
|
64
|
+
"stroke-linecap": "round",
|
|
65
|
+
"stroke-width": 1.4,
|
|
66
|
+
"d": "M12.7 13.5H14.2"
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
]
|
|
70
|
+
};
|
|
71
|
+
const TypographyIcon = defineComponent({
|
|
72
|
+
name: "TypographyIcon",
|
|
73
|
+
inheritAttrs: false,
|
|
74
|
+
props: { extend: {
|
|
75
|
+
type: Object,
|
|
76
|
+
default: void 0
|
|
77
|
+
} },
|
|
78
|
+
setup(props, { attrs }) {
|
|
79
|
+
return () => h(IconBase, {
|
|
80
|
+
...attrs,
|
|
81
|
+
extend: props.extend,
|
|
82
|
+
id: "typography-icon",
|
|
83
|
+
icon: element
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
});
|
|
87
|
+
//#endregion
|
|
88
|
+
export { TypographyIcon, TypographyIcon as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs/icons-vue",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.10.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.
|
|
50
|
+
"@univerjs/icons-svg": "1.10.0"
|
|
51
51
|
},
|
|
52
52
|
"scripts": {
|
|
53
53
|
"build": "node --experimental-strip-types ./scripts/build/index.ts && tsc"
|