@opentiny/tiny-robot-svgs 0.1.0-alpha.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/README.md ADDED
@@ -0,0 +1,18 @@
1
+
2
+ # tiny-robot-svgs
3
+
4
+ 管理 svg 资源,提供 SVG 图标组件
5
+
6
+
7
+ ### 使用
8
+
9
+ ```vue
10
+ <script setup>
11
+ import { IconXxx } from '@opentiny/tiny-robot-svgs'
12
+ </script>
13
+
14
+ <template>
15
+ <IconXxx class="icon-xxx-style"></IconXxx>
16
+ </template>
17
+
18
+ ```
@@ -0,0 +1,74 @@
1
+ import { createElementBlock as r, openBlock as s, createElementVNode as t } from "vue";
2
+ const u = {
3
+ name: "IconCancelFullScreen"
4
+ }, i = (n, c) => {
5
+ const e = n.__vccOpts || n;
6
+ for (const [l, o] of c)
7
+ e[l] = o;
8
+ return e;
9
+ }, w = {
10
+ version: "1.1",
11
+ id: "图层_1",
12
+ xmlns: "http://www.w3.org/2000/svg",
13
+ "xmlns:xlink": "http://www.w3.org/1999/xlink",
14
+ x: "0px",
15
+ y: "0px",
16
+ viewBox: "0 0 132 132",
17
+ style: { "enable-background": "new 0 0 132 132" },
18
+ "xml:space": "preserve"
19
+ };
20
+ function x(n, c, e, l, o, p) {
21
+ return s(), r("svg", w, c[0] || (c[0] = [
22
+ t("rect", {
23
+ style: { fill: "none" },
24
+ width: "132",
25
+ height: "132"
26
+ }, null, -1),
27
+ t("path", {
28
+ style: { fill: "currentColor" },
29
+ d: `M96.2,64.8c2.3,0,4.1-1.8,4.1-4.1s-1.8-4.1-4.1-4.1H81.3l20.6-20.7c1.5-1.4,1.6-3.7,0.4-5.4l-0.4-0.4
30
+ c-1.5-1.6-4-1.7-5.6-0.2c-0.1,0.1-0.1,0.1-0.2,0.2L75.6,50.6V36c0-2-1.4-3.7-3.4-4.1h-0.7c-2.3,0-4.1,1.8-4.1,4.1v21.8
31
+ c0,4.1,3.3,7.4,7.4,7.4L96.2,64.8z M30.2,101.9c1.5,1.6,4,1.6,5.6,0.2c0.1-0.1,0.1-0.1,0.2-0.2l20.5-20.5V96c0,2,1.4,3.7,3.4,4.1
32
+ h0.7c2.3,0,4.1-1.8,4.1-4.1V74.2c0-4.1-3.3-7.4-7.4-7.4H35.8c-2.3,0-4.1,1.8-4.1,4.1s1.8,4.1,4.1,4.1h14.9L30.1,95.8
33
+ c-1.3,1.6-1.3,3.8,0,5.4L30.2,101.9z M33,20.6h66c6.8,0,12.4,5.5,12.4,12.4v66c0,6.8-5.5,12.4-12.4,12.4H33
34
+ c-6.8,0-12.4-5.5-12.4-12.4V33C20.6,26.2,26.2,20.6,33,20.6z M33,12.4c-11.4,0-20.6,9.2-20.6,20.6v66c0,11.4,9.2,20.6,20.6,20.6h66
35
+ c11.4,0,20.6-9.2,20.6-20.6V33c0-11.4-9.2-20.6-20.6-20.6H33z`
36
+ }, null, -1)
37
+ ]));
38
+ }
39
+ const d = /* @__PURE__ */ i(u, [["render", x]]), h = {
40
+ name: "IconFullScreen"
41
+ }, a = {
42
+ version: "1.1",
43
+ id: "图层_1",
44
+ xmlns: "http://www.w3.org/2000/svg",
45
+ "xmlns:xlink": "http://www.w3.org/1999/xlink",
46
+ x: "0px",
47
+ y: "0px",
48
+ viewBox: "0 0 132 132",
49
+ style: { "enable-background": "new 0 0 132 132" },
50
+ "xml:space": "preserve"
51
+ };
52
+ function v(n, c, e, l, o, p) {
53
+ return s(), r("svg", a, c[0] || (c[0] = [
54
+ t("rect", {
55
+ style: { fill: "none" },
56
+ width: "132",
57
+ height: "132"
58
+ }, null, -1),
59
+ t("path", {
60
+ style: { fill: "currentColor" },
61
+ d: `M74.2,28.9c-2.3,0-4.1,1.8-4.1,4.1s1.8,4.1,4.1,4.1h14.9L68.6,57.8c-1.5,1.4-1.7,3.7-0.4,5.4l0.4,0.5
62
+ c1.7,1.6,4.2,1.6,5.9,0l20.5-20.5v14.7c0,2,1.4,3.7,3.4,4H99c2.3,0,4.1-1.8,4.1-4.1V36.3c0-4.1-3.3-7.4-7.4-7.4H74.2z M63.4,68.4
63
+ c-1.6-1.6-4.2-1.6-5.9,0L37.1,88.9V74.2c0-2-1.4-3.7-3.4-4H33c-2.3,0-4.1,1.8-4.1,4.1v21.4c0,4.1,3.3,7.4,7.4,7.4h21.5
64
+ c2.3,0,4.1-1.8,4.1-4.1S60.1,95,57.8,95H42.8l20.6-20.7c1.3-1.6,1.3-3.8,0-5.4V68.4z M33,20.6h66c6.8,0,12.4,5.5,12.4,12.4v66
65
+ c0,6.8-5.5,12.4-12.4,12.4H33c-6.8,0-12.4-5.5-12.4-12.4V33C20.6,26.2,26.2,20.6,33,20.6z M33,12.4c-11.4,0-20.6,9.2-20.6,20.6v66
66
+ c0,11.4,9.2,20.6,20.6,20.6h66c11.4,0,20.6-9.2,20.6-20.6V33c0-11.4-9.2-20.6-20.6-20.6H33z`
67
+ }, null, -1)
68
+ ]));
69
+ }
70
+ const m = /* @__PURE__ */ i(h, [["render", v]]);
71
+ export {
72
+ d as IconCancelFullScreen,
73
+ m as IconFullScreen
74
+ };
package/package.json ADDED
@@ -0,0 +1,43 @@
1
+ {
2
+ "name": "@opentiny/tiny-robot-svgs",
3
+ "version": "0.1.0-alpha.0",
4
+ "publishConfig": {
5
+ "access": "public"
6
+ },
7
+ "type": "module",
8
+ "module": "dist/tiny-robot-svgs.js",
9
+ "types": "dist/types/index.d.ts",
10
+ "files": [
11
+ "dist"
12
+ ],
13
+ "sideEffects": false,
14
+ "scripts": {
15
+ "dev": "vite",
16
+ "build": "vue-tsc && vite build",
17
+ "prebuild": "npm run convert",
18
+ "type-check": "vue-tsc --noEmit",
19
+ "convert": "tsx ./scripts/convert.ts -F"
20
+ },
21
+ "keywords": [
22
+ "svg",
23
+ "icons",
24
+ "vue"
25
+ ],
26
+ "description": "SVG图标组件库",
27
+ "devDependencies": {
28
+ "@svgr/core": "^8.1.0",
29
+ "@types/node": "^20.10.5",
30
+ "@vitejs/plugin-vue": "^5.2.1",
31
+ "@vue/tsconfig": "^0.7.0",
32
+ "esbuild": "0.21.5",
33
+ "ts-node": "^10.9.2",
34
+ "tsx": "^4.19.3",
35
+ "typescript": "~5.7.2",
36
+ "vite": "^5.0.8",
37
+ "vue-tsc": "^2.2.4"
38
+ },
39
+ "peerDependencies": {
40
+ "vue": ">=3.0.0"
41
+ },
42
+ "gitHead": "726b80c0db74ae929e450edb6a7af9fbb8f0fe45"
43
+ }