@univerjs/icons-vue 1.24.0 → 1.26.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/checkbox-icon.cjs +57 -0
- package/dist/cjs/data-bar-icon.cjs +58 -0
- package/dist/cjs/date-picker-icon.cjs +68 -0
- package/dist/cjs/dropdown-list-icon.cjs +76 -0
- package/dist/cjs/expand-icon.cjs +46 -0
- package/dist/cjs/fountain-pen-icon.cjs +12 -20
- package/dist/cjs/index.cjs +49 -7
- package/dist/cjs/rating-icon.cjs +57 -0
- package/dist/cjs/shrink-icon.cjs +46 -0
- package/dist/esm/checkbox-icon.d.ts +18 -0
- package/dist/esm/checkbox-icon.js +52 -0
- package/dist/esm/data-bar-icon.d.ts +18 -0
- package/dist/esm/data-bar-icon.js +53 -0
- package/dist/esm/{fullscreen-icon.d.ts → date-picker-icon.d.ts} +2 -2
- package/dist/esm/date-picker-icon.js +63 -0
- package/dist/esm/dropdown-list-icon.d.ts +18 -0
- package/dist/esm/dropdown-list-icon.js +71 -0
- package/dist/esm/expand-icon.d.ts +18 -0
- package/dist/esm/expand-icon.js +41 -0
- package/dist/esm/fountain-pen-icon.js +12 -20
- package/dist/esm/index.d.ts +7 -1
- package/dist/esm/index.js +8 -2
- package/dist/esm/rating-icon.d.ts +18 -0
- package/dist/esm/rating-icon.js +52 -0
- package/dist/esm/shrink-icon.d.ts +18 -0
- package/dist/esm/shrink-icon.js +41 -0
- package/package.json +2 -2
- package/dist/cjs/fullscreen-icon.cjs +0 -66
- package/dist/esm/fullscreen-icon.js +0 -61
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { defineComponent, h } from "vue";
|
|
2
|
+
import { IconBase } from "./base.js";
|
|
3
|
+
//#region ts/rating-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": "rect",
|
|
15
|
+
"attrs": {
|
|
16
|
+
"width": 13,
|
|
17
|
+
"height": 13,
|
|
18
|
+
"x": 1.5,
|
|
19
|
+
"y": 1.5,
|
|
20
|
+
"stroke": "currentColor",
|
|
21
|
+
"stroke-width": 1.2,
|
|
22
|
+
"rx": 1.5
|
|
23
|
+
}
|
|
24
|
+
}, {
|
|
25
|
+
"tag": "path",
|
|
26
|
+
"attrs": {
|
|
27
|
+
"stroke": "currentColor",
|
|
28
|
+
"stroke-linecap": "round",
|
|
29
|
+
"stroke-linejoin": "round",
|
|
30
|
+
"stroke-width": 1.2,
|
|
31
|
+
"d": "M8 4L9.19 6.42L11.85 6.81L9.93 8.68L10.38 11.33L8 10.08L5.62 11.33L6.07 8.68L4.15 6.81L6.81 6.42L8 4Z"
|
|
32
|
+
}
|
|
33
|
+
}]
|
|
34
|
+
};
|
|
35
|
+
const RatingIcon = defineComponent({
|
|
36
|
+
name: "RatingIcon",
|
|
37
|
+
inheritAttrs: false,
|
|
38
|
+
props: { extend: {
|
|
39
|
+
type: Object,
|
|
40
|
+
default: void 0
|
|
41
|
+
} },
|
|
42
|
+
setup(props, { attrs }) {
|
|
43
|
+
return () => h(IconBase, {
|
|
44
|
+
...attrs,
|
|
45
|
+
extend: props.extend,
|
|
46
|
+
id: "rating-icon",
|
|
47
|
+
icon: element
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
//#endregion
|
|
52
|
+
export { RatingIcon, RatingIcon as default };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
import type { IExtendProps } from './base.js';
|
|
3
|
+
export declare const ShrinkIcon: 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 ShrinkIcon;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { defineComponent, h } from "vue";
|
|
2
|
+
import { IconBase } from "./base.js";
|
|
3
|
+
//#region ts/shrink-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-linecap": "round",
|
|
18
|
+
"stroke-linejoin": "round",
|
|
19
|
+
"stroke-width": 1.2,
|
|
20
|
+
"d": "M10 10L14 14M10 10V13.2M10 10H13.2M6 13.2V10H2.8M6 10L2 14M10 2.8V6H13.2M10 6L14 2M6 2.8V6H2.8M6 6L2 2"
|
|
21
|
+
}
|
|
22
|
+
}]
|
|
23
|
+
};
|
|
24
|
+
const ShrinkIcon = defineComponent({
|
|
25
|
+
name: "ShrinkIcon",
|
|
26
|
+
inheritAttrs: false,
|
|
27
|
+
props: { extend: {
|
|
28
|
+
type: Object,
|
|
29
|
+
default: void 0
|
|
30
|
+
} },
|
|
31
|
+
setup(props, { attrs }) {
|
|
32
|
+
return () => h(IconBase, {
|
|
33
|
+
...attrs,
|
|
34
|
+
extend: props.extend,
|
|
35
|
+
id: "shrink-icon",
|
|
36
|
+
icon: element
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
//#endregion
|
|
41
|
+
export { ShrinkIcon, ShrinkIcon as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs/icons-vue",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.26.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": "7.0.1-rc",
|
|
49
49
|
"vue": "^3.5.39",
|
|
50
|
-
"@univerjs/icons-svg": "1.
|
|
50
|
+
"@univerjs/icons-svg": "1.26.0"
|
|
51
51
|
},
|
|
52
52
|
"scripts": {
|
|
53
53
|
"build": "node --experimental-strip-types ./scripts/build/index.mts && tsc"
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
Object.defineProperties(exports, {
|
|
2
|
-
__esModule: { value: true },
|
|
3
|
-
[Symbol.toStringTag]: { value: "Module" }
|
|
4
|
-
});
|
|
5
|
-
let vue = require("vue");
|
|
6
|
-
let ts_base_js = require("./base.cjs");
|
|
7
|
-
//#region ts/fullscreen-icon.ts
|
|
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
|
-
{
|
|
19
|
-
"tag": "path",
|
|
20
|
-
"attrs": {
|
|
21
|
-
"fill": "currentColor",
|
|
22
|
-
"d": "M10.3999 1.9999C10.3999 1.66853 10.6685 1.3999 10.9999 1.3999H13.9999C14.3313 1.3999 14.5999 1.66853 14.5999 1.9999V4.9999C14.5999 5.33127 14.3313 5.5999 13.9999 5.5999C13.6685 5.5999 13.3999 5.33127 13.3999 4.9999V3.41428L11.0902 5.724C10.8559 5.95831 10.476 5.95831 10.2417 5.724C10.0073 5.48968 10.0073 5.10979 10.2417 4.87547L12.5172 2.5999H10.9999C10.6685 2.5999 10.3999 2.33127 10.3999 1.9999Z"
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
"tag": "path",
|
|
27
|
-
"attrs": {
|
|
28
|
-
"fill": "currentColor",
|
|
29
|
-
"d": "M10.2758 10.2436C10.5101 10.0093 10.89 10.0093 11.1244 10.2436L13.3999 12.5191V10.9999C13.3999 10.6685 13.6685 10.3999 13.9999 10.3999C14.3313 10.3999 14.5999 10.6685 14.5999 10.9999V13.9999C14.5999 14.3313 14.3313 14.5999 13.9999 14.5999H10.9999C10.6685 14.5999 10.3999 14.3313 10.3999 13.9999C10.3999 13.6685 10.6685 13.3999 10.9999 13.3999H12.5836L10.2758 11.0921C10.0415 10.8578 10.0415 10.4779 10.2758 10.2436Z"
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"tag": "path",
|
|
34
|
-
"attrs": {
|
|
35
|
-
"fill": "currentColor",
|
|
36
|
-
"d": "M5.75535 11.0943C5.99085 10.8611 5.99276 10.4812 5.75964 10.2458C5.52651 10.0103 5.14661 10.0083 4.91112 10.2415L2.5999 12.5295V10.9999C2.5999 10.6685 2.33127 10.3999 1.9999 10.3999C1.66853 10.3999 1.3999 10.6685 1.3999 10.9999V13.9999C1.3999 14.3313 1.66853 14.5999 1.9999 14.5999H4.9999C5.33127 14.5999 5.5999 14.3313 5.5999 13.9999C5.5999 13.6685 5.33127 13.3999 4.9999 13.3999H3.42632L5.75535 11.0943Z"
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"tag": "path",
|
|
41
|
-
"attrs": {
|
|
42
|
-
"fill": "currentColor",
|
|
43
|
-
"d": "M1.3999 1.9999C1.3999 1.91908 1.41588 1.842 1.44485 1.77163L1.56933 1.58204L1.5735 1.57779C1.63111 1.51959 1.69769 1.47566 1.76883 1.44601C1.83995 1.41631 1.91803 1.3999 1.99992 1.3999H4.9999C5.33127 1.3999 5.5999 1.66853 5.5999 1.9999C5.5999 2.33127 5.33127 2.5999 4.9999 2.5999H3.45884L5.75535 4.87333C5.99085 5.10646 5.99276 5.48636 5.75964 5.72185C5.52651 5.95735 5.14661 5.95927 4.91112 5.72614L2.5999 3.43815V4.9999C2.5999 5.33127 2.33127 5.5999 1.9999 5.5999C1.66853 5.5999 1.3999 5.33127 1.3999 4.9999V1.9999Z"
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
]
|
|
47
|
-
};
|
|
48
|
-
const FullscreenIcon = (0, vue.defineComponent)({
|
|
49
|
-
name: "FullscreenIcon",
|
|
50
|
-
inheritAttrs: false,
|
|
51
|
-
props: { extend: {
|
|
52
|
-
type: Object,
|
|
53
|
-
default: void 0
|
|
54
|
-
} },
|
|
55
|
-
setup(props, { attrs }) {
|
|
56
|
-
return () => (0, vue.h)(ts_base_js.IconBase, {
|
|
57
|
-
...attrs,
|
|
58
|
-
extend: props.extend,
|
|
59
|
-
id: "fullscreen-icon",
|
|
60
|
-
icon: element
|
|
61
|
-
});
|
|
62
|
-
}
|
|
63
|
-
});
|
|
64
|
-
//#endregion
|
|
65
|
-
exports.FullscreenIcon = FullscreenIcon;
|
|
66
|
-
exports.default = FullscreenIcon;
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { defineComponent, h } from "vue";
|
|
2
|
-
import { IconBase } from "./base.js";
|
|
3
|
-
//#region ts/fullscreen-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
|
-
"fill": "currentColor",
|
|
18
|
-
"d": "M10.3999 1.9999C10.3999 1.66853 10.6685 1.3999 10.9999 1.3999H13.9999C14.3313 1.3999 14.5999 1.66853 14.5999 1.9999V4.9999C14.5999 5.33127 14.3313 5.5999 13.9999 5.5999C13.6685 5.5999 13.3999 5.33127 13.3999 4.9999V3.41428L11.0902 5.724C10.8559 5.95831 10.476 5.95831 10.2417 5.724C10.0073 5.48968 10.0073 5.10979 10.2417 4.87547L12.5172 2.5999H10.9999C10.6685 2.5999 10.3999 2.33127 10.3999 1.9999Z"
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
"tag": "path",
|
|
23
|
-
"attrs": {
|
|
24
|
-
"fill": "currentColor",
|
|
25
|
-
"d": "M10.2758 10.2436C10.5101 10.0093 10.89 10.0093 11.1244 10.2436L13.3999 12.5191V10.9999C13.3999 10.6685 13.6685 10.3999 13.9999 10.3999C14.3313 10.3999 14.5999 10.6685 14.5999 10.9999V13.9999C14.5999 14.3313 14.3313 14.5999 13.9999 14.5999H10.9999C10.6685 14.5999 10.3999 14.3313 10.3999 13.9999C10.3999 13.6685 10.6685 13.3999 10.9999 13.3999H12.5836L10.2758 11.0921C10.0415 10.8578 10.0415 10.4779 10.2758 10.2436Z"
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
"tag": "path",
|
|
30
|
-
"attrs": {
|
|
31
|
-
"fill": "currentColor",
|
|
32
|
-
"d": "M5.75535 11.0943C5.99085 10.8611 5.99276 10.4812 5.75964 10.2458C5.52651 10.0103 5.14661 10.0083 4.91112 10.2415L2.5999 12.5295V10.9999C2.5999 10.6685 2.33127 10.3999 1.9999 10.3999C1.66853 10.3999 1.3999 10.6685 1.3999 10.9999V13.9999C1.3999 14.3313 1.66853 14.5999 1.9999 14.5999H4.9999C5.33127 14.5999 5.5999 14.3313 5.5999 13.9999C5.5999 13.6685 5.33127 13.3999 4.9999 13.3999H3.42632L5.75535 11.0943Z"
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"tag": "path",
|
|
37
|
-
"attrs": {
|
|
38
|
-
"fill": "currentColor",
|
|
39
|
-
"d": "M1.3999 1.9999C1.3999 1.91908 1.41588 1.842 1.44485 1.77163L1.56933 1.58204L1.5735 1.57779C1.63111 1.51959 1.69769 1.47566 1.76883 1.44601C1.83995 1.41631 1.91803 1.3999 1.99992 1.3999H4.9999C5.33127 1.3999 5.5999 1.66853 5.5999 1.9999C5.5999 2.33127 5.33127 2.5999 4.9999 2.5999H3.45884L5.75535 4.87333C5.99085 5.10646 5.99276 5.48636 5.75964 5.72185C5.52651 5.95735 5.14661 5.95927 4.91112 5.72614L2.5999 3.43815V4.9999C2.5999 5.33127 2.33127 5.5999 1.9999 5.5999C1.66853 5.5999 1.3999 5.33127 1.3999 4.9999V1.9999Z"
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
]
|
|
43
|
-
};
|
|
44
|
-
const FullscreenIcon = defineComponent({
|
|
45
|
-
name: "FullscreenIcon",
|
|
46
|
-
inheritAttrs: false,
|
|
47
|
-
props: { extend: {
|
|
48
|
-
type: Object,
|
|
49
|
-
default: void 0
|
|
50
|
-
} },
|
|
51
|
-
setup(props, { attrs }) {
|
|
52
|
-
return () => h(IconBase, {
|
|
53
|
-
...attrs,
|
|
54
|
-
extend: props.extend,
|
|
55
|
-
id: "fullscreen-icon",
|
|
56
|
-
icon: element
|
|
57
|
-
});
|
|
58
|
-
}
|
|
59
|
-
});
|
|
60
|
-
//#endregion
|
|
61
|
-
export { FullscreenIcon, FullscreenIcon as default };
|