@veltra/icons 1.1.14 → 1.1.18

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 (121) hide show
  1. package/AGENTS.md +29 -36
  2. package/CHANGELOG.md +16 -0
  3. package/dist/index.d.ts +177 -157
  4. package/dist/index.js +177 -157
  5. package/dist/index.js.map +1 -1
  6. package/dist/normal.d.ts +166 -146
  7. package/dist/normal.js +166 -146
  8. package/dist/vue/normal/auto-complete.js +33 -0
  9. package/dist/vue/normal/auto-complete.js.map +1 -0
  10. package/dist/vue/normal/auto-complete.vue.d.ts +8 -0
  11. package/dist/vue/normal/cascader.js +48 -0
  12. package/dist/vue/normal/cascader.js.map +1 -0
  13. package/dist/vue/normal/cascader.vue.d.ts +8 -0
  14. package/dist/vue/normal/checkbox.js +35 -0
  15. package/dist/vue/normal/checkbox.js.map +1 -0
  16. package/dist/vue/normal/checkbox.vue.d.ts +8 -0
  17. package/dist/vue/normal/date-picker.js +19 -0
  18. package/dist/vue/normal/date-picker.js.map +1 -0
  19. package/dist/vue/normal/date-picker.vue.d.ts +8 -0
  20. package/dist/vue/normal/date-range-picker.js +44 -0
  21. package/dist/vue/normal/date-range-picker.js.map +1 -0
  22. package/dist/vue/normal/date-range-picker.vue.d.ts +8 -0
  23. package/dist/vue/normal/edit-pen.js.map +1 -1
  24. package/dist/vue/normal/file-picker.js +32 -0
  25. package/dist/vue/normal/file-picker.js.map +1 -0
  26. package/dist/vue/normal/file-picker.vue.d.ts +8 -0
  27. package/dist/vue/normal/form.js +33 -0
  28. package/dist/vue/normal/form.js.map +1 -0
  29. package/dist/vue/normal/form.vue.d.ts +8 -0
  30. package/dist/vue/normal/input.js +33 -0
  31. package/dist/vue/normal/input.js.map +1 -0
  32. package/dist/vue/normal/input.vue.d.ts +8 -0
  33. package/dist/vue/normal/multi-select.js +56 -0
  34. package/dist/vue/normal/multi-select.js.map +1 -0
  35. package/dist/vue/normal/multi-select.vue.d.ts +8 -0
  36. package/dist/vue/normal/multi-tree-select.js +52 -0
  37. package/dist/vue/normal/multi-tree-select.js.map +1 -0
  38. package/dist/vue/normal/multi-tree-select.vue.d.ts +8 -0
  39. package/dist/vue/normal/number-input.js +35 -0
  40. package/dist/vue/normal/number-input.js.map +1 -0
  41. package/dist/vue/normal/number-input.vue.d.ts +8 -0
  42. package/dist/vue/normal/number-range-input.js +48 -0
  43. package/dist/vue/normal/number-range-input.js.map +1 -0
  44. package/dist/vue/normal/number-range-input.vue.d.ts +8 -0
  45. package/dist/vue/normal/password-input.js +48 -0
  46. package/dist/vue/normal/password-input.js.map +1 -0
  47. package/dist/vue/normal/password-input.vue.d.ts +8 -0
  48. package/dist/vue/normal/radio.js +31 -0
  49. package/dist/vue/normal/radio.js.map +1 -0
  50. package/dist/vue/normal/radio.vue.d.ts +8 -0
  51. package/dist/vue/normal/select.js +35 -0
  52. package/dist/vue/normal/select.js.map +1 -0
  53. package/dist/vue/normal/select.vue.d.ts +8 -0
  54. package/dist/vue/normal/slider.js +29 -0
  55. package/dist/vue/normal/slider.js.map +1 -0
  56. package/dist/vue/normal/slider.vue.d.ts +8 -0
  57. package/dist/vue/normal/switch.js +33 -0
  58. package/dist/vue/normal/switch.js.map +1 -0
  59. package/dist/vue/normal/switch.vue.d.ts +8 -0
  60. package/dist/vue/normal/table.js +33 -0
  61. package/dist/vue/normal/table.js.map +1 -0
  62. package/dist/vue/normal/table.vue.d.ts +8 -0
  63. package/dist/vue/normal/textarea.js +33 -0
  64. package/dist/vue/normal/textarea.js.map +1 -0
  65. package/dist/vue/normal/textarea.vue.d.ts +8 -0
  66. package/dist/vue/normal/tree-select.js +46 -0
  67. package/dist/vue/normal/tree-select.js.map +1 -0
  68. package/dist/vue/normal/tree-select.vue.d.ts +8 -0
  69. package/dist/vue/normal/user-circle.js.map +1 -1
  70. package/dist/vue/normal/video-play.js.map +1 -1
  71. package/package.json +3 -4
  72. package/scripts/format-svg.ts +8 -3
  73. package/scripts/gen-icon-barrels.ts +6 -3
  74. package/scripts/gen-vue-icons.ts +16 -5
  75. package/scripts/rename-svg-icons.ts +6 -3
  76. package/src/normal.ts +20 -0
  77. package/src/svg/normal/auto-complete.svg +1 -0
  78. package/src/svg/normal/cascader.svg +1 -0
  79. package/src/svg/normal/checkbox.svg +1 -0
  80. package/src/svg/normal/date-picker.svg +1 -0
  81. package/src/svg/normal/date-range-picker.svg +1 -0
  82. package/src/svg/normal/file-picker.svg +1 -0
  83. package/src/svg/normal/form.svg +1 -0
  84. package/src/svg/normal/input.svg +1 -0
  85. package/src/svg/normal/multi-select.svg +1 -0
  86. package/src/svg/normal/multi-tree-select.svg +1 -0
  87. package/src/svg/normal/number-input.svg +1 -0
  88. package/src/svg/normal/number-range-input.svg +1 -0
  89. package/src/svg/normal/password-input.svg +1 -0
  90. package/src/svg/normal/radio.svg +1 -0
  91. package/src/svg/normal/select.svg +1 -0
  92. package/src/svg/normal/slider.svg +1 -0
  93. package/src/svg/normal/switch.svg +1 -0
  94. package/src/svg/normal/table.svg +1 -0
  95. package/src/svg/normal/textarea.svg +1 -0
  96. package/src/svg/normal/tree-select.svg +1 -0
  97. package/src/vue/normal/auto-complete.vue +19 -0
  98. package/src/vue/normal/cascader.vue +36 -0
  99. package/src/vue/normal/checkbox.vue +26 -0
  100. package/src/vue/normal/date-picker.vue +23 -0
  101. package/src/vue/normal/date-range-picker.vue +20 -0
  102. package/src/vue/normal/file-picker.vue +23 -0
  103. package/src/vue/normal/form.vue +24 -0
  104. package/src/vue/normal/input.vue +19 -0
  105. package/src/vue/normal/multi-select.vue +28 -0
  106. package/src/vue/normal/multi-tree-select.vue +24 -0
  107. package/src/vue/normal/number-input.vue +26 -0
  108. package/src/vue/normal/number-range-input.vue +36 -0
  109. package/src/vue/normal/password-input.vue +21 -0
  110. package/src/vue/normal/radio.vue +10 -0
  111. package/src/vue/normal/select.vue +26 -0
  112. package/src/vue/normal/slider.vue +10 -0
  113. package/src/vue/normal/switch.vue +19 -0
  114. package/src/vue/normal/table.vue +24 -0
  115. package/src/vue/normal/textarea.vue +19 -0
  116. package/src/vue/normal/tree-select.vue +24 -0
  117. package/vite.config.ts +17 -0
  118. package/.turbo/turbo-build.log +0 -527
  119. package/.turbo/turbo-check-types.log +0 -1
  120. package/scripts/build-vue-icons.ts +0 -25
  121. package/tsconfig.tsbuildinfo +0 -1
@@ -0,0 +1,26 @@
1
+ <!-- @veltra/icons generated sha256:68b112d42af5f61d gen:4 source:src/svg/normal/checkbox.svg -->
2
+ <script setup lang="ts">
3
+ defineOptions({ name: 'Checkbox' })
4
+ </script>
5
+ <template>
6
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
7
+ <rect
8
+ width="12"
9
+ height="12"
10
+ x="2"
11
+ y="2"
12
+ fill="none"
13
+ stroke="currentColor"
14
+ stroke-width="1.2"
15
+ rx="2"
16
+ />
17
+ <path
18
+ fill="none"
19
+ stroke="currentColor"
20
+ stroke-linecap="round"
21
+ stroke-linejoin="round"
22
+ stroke-width="1.2"
23
+ d="m5 8 2 2 4-4"
24
+ />
25
+ </svg>
26
+ </template>
@@ -0,0 +1,23 @@
1
+ <!-- @veltra/icons generated sha256:3bd9f277858a7ac2 gen:4 source:src/svg/normal/date-picker.svg -->
2
+ <script setup lang="ts">
3
+ defineOptions({ name: 'DatePicker' })
4
+ </script>
5
+ <template>
6
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
7
+ <rect
8
+ width="12"
9
+ height="11"
10
+ x="2"
11
+ y="3"
12
+ fill="none"
13
+ stroke="currentColor"
14
+ stroke-width="1.2"
15
+ rx="1.5"
16
+ />
17
+ <path stroke="currentColor" stroke-linecap="round" stroke-width="1.2" d="M2 7h12M5 1v3m6-3v3" />
18
+ <circle cx="5" cy="9.5" r=".6" fill="currentColor" />
19
+ <circle cx="8" cy="9.5" r=".6" fill="currentColor" />
20
+ <circle cx="11" cy="9.5" r=".6" fill="currentColor" />
21
+ <circle cx="5" cy="12" r=".6" fill="currentColor" />
22
+ </svg>
23
+ </template>
@@ -0,0 +1,20 @@
1
+ <!-- @veltra/icons generated sha256:1fc711637f6db902 gen:4 source:src/svg/normal/date-range-picker.svg -->
2
+ <script setup lang="ts">
3
+ defineOptions({ name: 'DateRangePicker' })
4
+ </script>
5
+ <template>
6
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
7
+ <rect
8
+ width="14"
9
+ height="11"
10
+ x="1"
11
+ y="3"
12
+ fill="none"
13
+ stroke="currentColor"
14
+ stroke-width="1.2"
15
+ rx="1.5"
16
+ />
17
+ <path stroke="currentColor" stroke-linecap="round" stroke-width="1.2" d="M1 7h14M4 1v3m8-3v3" />
18
+ <rect width="8" height="2" x="4" y="9.5" fill="currentColor" rx="1" />
19
+ </svg>
20
+ </template>
@@ -0,0 +1,23 @@
1
+ <!-- @veltra/icons generated sha256:4a04ae7666ad8aba gen:4 source:src/svg/normal/file-picker.svg -->
2
+ <script setup lang="ts">
3
+ defineOptions({ name: 'FilePicker' })
4
+ </script>
5
+ <template>
6
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
7
+ <path
8
+ fill="none"
9
+ stroke="currentColor"
10
+ stroke-linejoin="round"
11
+ stroke-width="1.2"
12
+ d="M1.5 3.5v9A1.5 1.5 0 0 0 3 14h10a1.5 1.5 0 0 0 1.5-1.5V5A1.5 1.5 0 0 0 13 3.5H8L6.5 2H3a1.5 1.5 0 0 0-1.5 1.5z"
13
+ />
14
+ <path
15
+ fill="none"
16
+ stroke="currentColor"
17
+ stroke-linecap="round"
18
+ stroke-linejoin="round"
19
+ stroke-width="1.2"
20
+ d="M8 6.5V11M6 8.5l2-2 2 2"
21
+ />
22
+ </svg>
23
+ </template>
@@ -0,0 +1,24 @@
1
+ <!-- @veltra/icons generated sha256:20012f8d7f6c23c8 gen:4 source:src/svg/normal/form.svg -->
2
+ <script setup lang="ts">
3
+ defineOptions({ name: 'Form' })
4
+ </script>
5
+ <template>
6
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
7
+ <rect
8
+ width="14"
9
+ height="10"
10
+ x="1"
11
+ y="3"
12
+ fill="none"
13
+ stroke="currentColor"
14
+ stroke-width="1.2"
15
+ rx="1.5"
16
+ />
17
+ <path
18
+ stroke="currentColor"
19
+ stroke-linecap="round"
20
+ stroke-width="1.2"
21
+ d="M3.5 6h2m2 0h5m-9 4h2m2 0h5"
22
+ />
23
+ </svg>
24
+ </template>
@@ -0,0 +1,19 @@
1
+ <!-- @veltra/icons generated sha256:e44db37b1da5de90 gen:4 source:src/svg/normal/input.svg -->
2
+ <script setup lang="ts">
3
+ defineOptions({ name: 'Input' })
4
+ </script>
5
+ <template>
6
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
7
+ <rect
8
+ width="14"
9
+ height="8"
10
+ x="1"
11
+ y="4"
12
+ fill="none"
13
+ stroke="currentColor"
14
+ stroke-width="1.2"
15
+ rx="1.5"
16
+ />
17
+ <path stroke="currentColor" stroke-linecap="round" stroke-width="1.2" d="M4 6v4" />
18
+ </svg>
19
+ </template>
@@ -0,0 +1,28 @@
1
+ <!-- @veltra/icons generated sha256:6f191e3005232311 gen:4 source:src/svg/normal/multi-select.svg -->
2
+ <script setup lang="ts">
3
+ defineOptions({ name: 'MultiSelect' })
4
+ </script>
5
+ <template>
6
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
7
+ <rect
8
+ width="14"
9
+ height="8"
10
+ x="1"
11
+ y="4"
12
+ fill="none"
13
+ stroke="currentColor"
14
+ stroke-width="1.2"
15
+ rx="1.5"
16
+ />
17
+ <rect width="3" height="4" x="3" y="6" fill="none" stroke="currentColor" rx="1" />
18
+ <rect width="3" height="4" x="7" y="6" fill="none" stroke="currentColor" rx="1" />
19
+ <path
20
+ fill="none"
21
+ stroke="currentColor"
22
+ stroke-linecap="round"
23
+ stroke-linejoin="round"
24
+ stroke-width="1.2"
25
+ d="m11.5 7.5 1 1 1-1"
26
+ />
27
+ </svg>
28
+ </template>
@@ -0,0 +1,24 @@
1
+ <!-- @veltra/icons generated sha256:64979963b9c5fe7a gen:4 source:src/svg/normal/multi-tree-select.svg -->
2
+ <script setup lang="ts">
3
+ defineOptions({ name: 'MultiTreeSelect' })
4
+ </script>
5
+ <template>
6
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
7
+ <path
8
+ stroke="currentColor"
9
+ stroke-linecap="round"
10
+ stroke-width="1.2"
11
+ d="M3 2v12m0-8h3m-3 5h3"
12
+ />
13
+ <rect width="3" height="3" x="7" y="4.5" fill="none" stroke="currentColor" rx=".5" />
14
+ <rect width="3" height="3" x="7" y="9.5" fill="none" stroke="currentColor" rx=".5" />
15
+ <path
16
+ fill="none"
17
+ stroke="currentColor"
18
+ stroke-linecap="round"
19
+ stroke-linejoin="round"
20
+ stroke-width="1.2"
21
+ d="m12.5 7.5 1 1 1-1"
22
+ />
23
+ </svg>
24
+ </template>
@@ -0,0 +1,26 @@
1
+ <!-- @veltra/icons generated sha256:90df099f6bf6ba91 gen:4 source:src/svg/normal/number-input.svg -->
2
+ <script setup lang="ts">
3
+ defineOptions({ name: 'NumberInput' })
4
+ </script>
5
+ <template>
6
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
7
+ <rect
8
+ width="14"
9
+ height="8"
10
+ x="1"
11
+ y="4"
12
+ fill="none"
13
+ stroke="currentColor"
14
+ stroke-width="1.2"
15
+ rx="1.5"
16
+ />
17
+ <path
18
+ fill="none"
19
+ stroke="currentColor"
20
+ stroke-linecap="round"
21
+ stroke-linejoin="round"
22
+ stroke-width="1.2"
23
+ d="m4.2 7.2.8-.7V10m3-3c0-.6.5-1.1 1.1-1.1s1.1.5 1.1 1.1c0 .5-.3.9-.6 1.2L8 10h3"
24
+ />
25
+ </svg>
26
+ </template>
@@ -0,0 +1,36 @@
1
+ <!-- @veltra/icons generated sha256:f854bb4a31875425 gen:4 source:src/svg/normal/number-range-input.svg -->
2
+ <script setup lang="ts">
3
+ defineOptions({ name: 'NumberRangeInput' })
4
+ </script>
5
+ <template>
6
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
7
+ <rect
8
+ width="6"
9
+ height="8"
10
+ x="1"
11
+ y="4"
12
+ fill="none"
13
+ stroke="currentColor"
14
+ stroke-width="1.2"
15
+ rx="1.5"
16
+ />
17
+ <rect
18
+ width="6"
19
+ height="8"
20
+ x="9"
21
+ y="4"
22
+ fill="none"
23
+ stroke="currentColor"
24
+ stroke-width="1.2"
25
+ rx="1.5"
26
+ />
27
+ <path
28
+ fill="none"
29
+ stroke="currentColor"
30
+ stroke-linecap="round"
31
+ stroke-linejoin="round"
32
+ stroke-width="1.2"
33
+ d="M7.5 8h1m-5.3-.8.8-.7V10m9-2.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0V10"
34
+ />
35
+ </svg>
36
+ </template>
@@ -0,0 +1,21 @@
1
+ <!-- @veltra/icons generated sha256:26fbc60c392e90d3 gen:4 source:src/svg/normal/password-input.svg -->
2
+ <script setup lang="ts">
3
+ defineOptions({ name: 'PasswordInput' })
4
+ </script>
5
+ <template>
6
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
7
+ <rect
8
+ width="14"
9
+ height="8"
10
+ x="1"
11
+ y="4"
12
+ fill="none"
13
+ stroke="currentColor"
14
+ stroke-width="1.2"
15
+ rx="1.5"
16
+ />
17
+ <circle cx="5" cy="8" r="1" fill="currentColor" />
18
+ <circle cx="8" cy="8" r="1" fill="currentColor" />
19
+ <circle cx="11" cy="8" r="1" fill="currentColor" />
20
+ </svg>
21
+ </template>
@@ -0,0 +1,10 @@
1
+ <!-- @veltra/icons generated sha256:319c6022d6eb6d16 gen:4 source:src/svg/normal/radio.svg -->
2
+ <script setup lang="ts">
3
+ defineOptions({ name: 'Radio' })
4
+ </script>
5
+ <template>
6
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
7
+ <circle cx="8" cy="8" r="6" fill="none" stroke="currentColor" stroke-width="1.2" />
8
+ <circle cx="8" cy="8" r="2.5" fill="currentColor" />
9
+ </svg>
10
+ </template>
@@ -0,0 +1,26 @@
1
+ <!-- @veltra/icons generated sha256:4d8d6103d6221efb gen:4 source:src/svg/normal/select.svg -->
2
+ <script setup lang="ts">
3
+ defineOptions({ name: 'Select' })
4
+ </script>
5
+ <template>
6
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
7
+ <rect
8
+ width="14"
9
+ height="8"
10
+ x="1"
11
+ y="4"
12
+ fill="none"
13
+ stroke="currentColor"
14
+ stroke-width="1.2"
15
+ rx="1.5"
16
+ />
17
+ <path
18
+ fill="none"
19
+ stroke="currentColor"
20
+ stroke-linecap="round"
21
+ stroke-linejoin="round"
22
+ stroke-width="1.2"
23
+ d="M10.5 7.5 12 9l1.5-1.5"
24
+ />
25
+ </svg>
26
+ </template>
@@ -0,0 +1,10 @@
1
+ <!-- @veltra/icons generated sha256:7e3fc8da8ac04f05 gen:4 source:src/svg/normal/slider.svg -->
2
+ <script setup lang="ts">
3
+ defineOptions({ name: 'Slider' })
4
+ </script>
5
+ <template>
6
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
7
+ <path stroke="currentColor" stroke-linecap="round" stroke-width="1.2" d="M1.5 8h13" />
8
+ <circle cx="6" cy="8" r="2.2" fill="currentColor" />
9
+ </svg>
10
+ </template>
@@ -0,0 +1,19 @@
1
+ <!-- @veltra/icons generated sha256:f1c7a278d1335bcc gen:4 source:src/svg/normal/switch.svg -->
2
+ <script setup lang="ts">
3
+ defineOptions({ name: 'Switch' })
4
+ </script>
5
+ <template>
6
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
7
+ <rect
8
+ width="14"
9
+ height="8"
10
+ x="1"
11
+ y="4"
12
+ fill="none"
13
+ stroke="currentColor"
14
+ stroke-width="1.2"
15
+ rx="4"
16
+ />
17
+ <circle cx="11" cy="8" r="2.2" fill="currentColor" />
18
+ </svg>
19
+ </template>
@@ -0,0 +1,24 @@
1
+ <!-- @veltra/icons generated sha256:060a9fb4049065ce gen:4 source:src/svg/normal/table.svg -->
2
+ <script setup lang="ts">
3
+ defineOptions({ name: 'Table' })
4
+ </script>
5
+ <template>
6
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
7
+ <rect
8
+ width="14"
9
+ height="14"
10
+ x="1"
11
+ y="1"
12
+ fill="none"
13
+ stroke="currentColor"
14
+ stroke-width="1.2"
15
+ rx="2"
16
+ />
17
+ <path
18
+ stroke="currentColor"
19
+ stroke-linecap="round"
20
+ stroke-width="1.2"
21
+ d="M1 5h14M1 10h14M5 1v14"
22
+ />
23
+ </svg>
24
+ </template>
@@ -0,0 +1,19 @@
1
+ <!-- @veltra/icons generated sha256:114c772c658f8671 gen:4 source:src/svg/normal/textarea.svg -->
2
+ <script setup lang="ts">
3
+ defineOptions({ name: 'Textarea' })
4
+ </script>
5
+ <template>
6
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
7
+ <rect
8
+ width="14"
9
+ height="12"
10
+ x="1"
11
+ y="2"
12
+ fill="none"
13
+ stroke="currentColor"
14
+ stroke-width="1.2"
15
+ rx="1.5"
16
+ />
17
+ <path stroke="currentColor" stroke-linecap="round" stroke-width="1.2" d="M4 5.5h8m-8 3h5" />
18
+ </svg>
19
+ </template>
@@ -0,0 +1,24 @@
1
+ <!-- @veltra/icons generated sha256:c2686fb6a1b34f86 gen:4 source:src/svg/normal/tree-select.svg -->
2
+ <script setup lang="ts">
3
+ defineOptions({ name: 'TreeSelect' })
4
+ </script>
5
+ <template>
6
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
7
+ <path
8
+ stroke="currentColor"
9
+ stroke-linecap="round"
10
+ stroke-width="1.2"
11
+ d="M3 2v12m0-8h4m-4 5h4"
12
+ />
13
+ <circle cx="9" cy="6" r="1" fill="currentColor" />
14
+ <circle cx="9" cy="11" r="1" fill="currentColor" />
15
+ <path
16
+ fill="none"
17
+ stroke="currentColor"
18
+ stroke-linecap="round"
19
+ stroke-linejoin="round"
20
+ stroke-width="1.2"
21
+ d="m12 7.5 1 1 1-1"
22
+ />
23
+ </svg>
24
+ </template>
package/vite.config.ts ADDED
@@ -0,0 +1,17 @@
1
+ import unpluginVue from 'unplugin-vue/rolldown'
2
+ import { defineConfig } from 'vite-plus'
3
+
4
+ export default defineConfig({
5
+ pack: {
6
+ entry: ['src/index.ts', 'src/normal.ts', 'src/colorful.ts'],
7
+ platform: 'browser',
8
+ format: ['esm'],
9
+ unbundle: true,
10
+ sourcemap: true,
11
+ clean: true,
12
+ treeshake: true,
13
+ deps: { neverBundle: ['vue'] },
14
+ dts: { vue: true },
15
+ plugins: [unpluginVue({ isProduction: true })]
16
+ }
17
+ })