@rappel-ui/svg-icons 1.0.24 → 1.0.26

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 (118) hide show
  1. package/cjs/composables/index.js +1 -1
  2. package/cjs/composables/use-slot-node/index.js +1 -0
  3. package/cjs/create-icon.d.ts +2 -2
  4. package/cjs/get-async-icon.js +1 -1
  5. package/cjs/icon-names.d.ts +1 -1
  6. package/cjs/icon-names.js +1 -1
  7. package/cjs/index.d.ts +5 -0
  8. package/cjs/index.js +1 -1
  9. package/cjs/src/arrow-backward.d.ts +2 -2
  10. package/cjs/src/arrow-down.d.ts +2 -2
  11. package/cjs/src/arrow-downward.d.ts +2 -2
  12. package/cjs/src/arrow-forward.d.ts +2 -2
  13. package/cjs/src/arrow-left.d.ts +2 -2
  14. package/cjs/src/arrow-right.d.ts +2 -2
  15. package/cjs/src/arrow-up.d.ts +2 -2
  16. package/cjs/src/arrow-upward.d.ts +2 -2
  17. package/cjs/src/check-circle.d.ts +2 -2
  18. package/cjs/src/check-fill.d.ts +2 -2
  19. package/cjs/src/check-fill.js +1 -1
  20. package/cjs/src/check.d.ts +2 -2
  21. package/cjs/src/close-circle.d.ts +2 -2
  22. package/cjs/src/close-fill.d.ts +2 -2
  23. package/cjs/src/close-short.d.ts +2 -2
  24. package/cjs/src/close.d.ts +2 -2
  25. package/cjs/src/copy-closure.d.ts +2 -2
  26. package/cjs/src/copy.d.ts +2 -2
  27. package/cjs/src/delete.d.ts +2 -2
  28. package/cjs/src/exclam-fill.d.ts +2 -2
  29. package/cjs/src/exclam.d.ts +2 -2
  30. package/cjs/src/help.d.ts +2 -2
  31. package/cjs/src/info-circle.d.ts +2 -2
  32. package/cjs/src/info-fill.d.ts +2 -2
  33. package/cjs/src/loading.d.ts +2 -2
  34. package/cjs/src/more-dot-circle-horizontal.d.ts +2 -2
  35. package/cjs/src/more-dot-circle-outline-horizontal.d.ts +2 -2
  36. package/cjs/src/more-dot-circle-outline-vertical.d.ts +2 -2
  37. package/cjs/src/more-dot-circle.d.ts +2 -2
  38. package/cjs/src/more-dot-square-horizontal.d.ts +2 -2
  39. package/cjs/src/more-dot-square.d.ts +2 -2
  40. package/cjs/src/more-line.d.ts +2 -2
  41. package/cjs/src/play.d.ts +33 -0
  42. package/cjs/src/play.js +1 -0
  43. package/cjs/src/search-bold.d.ts +2 -2
  44. package/cjs/src/search.d.ts +2 -2
  45. package/cjs/src/star-fill.d.ts +2 -2
  46. package/cjs/src/star.d.ts +2 -2
  47. package/cjs/src/triangle-backward-fill.d.ts +33 -0
  48. package/cjs/src/triangle-backward-fill.js +1 -0
  49. package/cjs/src/triangle-downward-fill.d.ts +33 -0
  50. package/cjs/src/triangle-downward-fill.js +1 -0
  51. package/cjs/src/triangle-forward-fill.d.ts +33 -0
  52. package/cjs/src/triangle-forward-fill.js +1 -0
  53. package/cjs/src/triangle-upward-fill.d.ts +33 -0
  54. package/cjs/src/triangle-upward-fill.js +1 -0
  55. package/cjs/utils/vue/index.js +1 -1
  56. package/dist/index.umd.js +1 -1
  57. package/es/composables/index.mjs +1 -0
  58. package/es/composables/use-slot-node/index.mjs +1 -0
  59. package/es/create-icon.d.ts +2 -2
  60. package/es/get-async-icon.mjs +49 -43
  61. package/es/icon-names.d.ts +1 -1
  62. package/es/icon-names.mjs +1 -1
  63. package/es/index.d.ts +5 -0
  64. package/es/index.mjs +6 -1
  65. package/es/src/arrow-backward.d.ts +2 -2
  66. package/es/src/arrow-down.d.ts +2 -2
  67. package/es/src/arrow-downward.d.ts +2 -2
  68. package/es/src/arrow-forward.d.ts +2 -2
  69. package/es/src/arrow-left.d.ts +2 -2
  70. package/es/src/arrow-right.d.ts +2 -2
  71. package/es/src/arrow-up.d.ts +2 -2
  72. package/es/src/arrow-upward.d.ts +2 -2
  73. package/es/src/check-circle.d.ts +2 -2
  74. package/es/src/check-fill.d.ts +2 -2
  75. package/es/src/check-fill.mjs +4 -2
  76. package/es/src/check.d.ts +2 -2
  77. package/es/src/close-circle.d.ts +2 -2
  78. package/es/src/close-fill.d.ts +2 -2
  79. package/es/src/close-fill.mjs +1 -0
  80. package/es/src/close-short.d.ts +2 -2
  81. package/es/src/close.d.ts +2 -2
  82. package/es/src/copy-closure.d.ts +2 -2
  83. package/es/src/copy.d.ts +2 -2
  84. package/es/src/delete.d.ts +2 -2
  85. package/es/src/exclam-fill.d.ts +2 -2
  86. package/es/src/exclam-fill.mjs +1 -0
  87. package/es/src/exclam.d.ts +2 -2
  88. package/es/src/help.d.ts +2 -2
  89. package/es/src/info-circle.d.ts +2 -2
  90. package/es/src/info-fill.d.ts +2 -2
  91. package/es/src/info-fill.mjs +1 -0
  92. package/es/src/loading.d.ts +2 -2
  93. package/es/src/more-dot-circle-horizontal.d.ts +2 -2
  94. package/es/src/more-dot-circle-outline-horizontal.d.ts +2 -2
  95. package/es/src/more-dot-circle-outline-vertical.d.ts +2 -2
  96. package/es/src/more-dot-circle.d.ts +2 -2
  97. package/es/src/more-dot-square-horizontal.d.ts +2 -2
  98. package/es/src/more-dot-square.d.ts +2 -2
  99. package/es/src/more-line.d.ts +2 -2
  100. package/es/src/play.d.ts +33 -0
  101. package/es/src/play.mjs +9 -0
  102. package/es/src/search-bold.d.ts +2 -2
  103. package/es/src/search.d.ts +2 -2
  104. package/es/src/star-fill.d.ts +2 -2
  105. package/es/src/star-fill.mjs +1 -0
  106. package/es/src/star.d.ts +2 -2
  107. package/es/src/triangle-backward-fill.d.ts +33 -0
  108. package/es/src/triangle-backward-fill.mjs +9 -0
  109. package/es/src/triangle-downward-fill.d.ts +33 -0
  110. package/es/src/triangle-downward-fill.mjs +9 -0
  111. package/es/src/triangle-forward-fill.d.ts +33 -0
  112. package/es/src/triangle-forward-fill.mjs +9 -0
  113. package/es/src/triangle-upward-fill.d.ts +33 -0
  114. package/es/src/triangle-upward-fill.mjs +9 -0
  115. package/es/utils/vue/index.mjs +4 -1
  116. package/package.json +1 -1
  117. package/cjs/_virtual/_rolldown_dynamic_import_helper.js +0 -1
  118. package/es/_virtual/_rolldown_dynamic_import_helper.mjs +0 -9
@@ -1,6 +1,6 @@
1
1
  export declare const StarFill: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
2
  size: {
3
- type: (StringConstructor | NumberConstructor)[];
3
+ type: (NumberConstructor | StringConstructor)[];
4
4
  default: string;
5
5
  };
6
6
  color: {
@@ -15,7 +15,7 @@ export declare const StarFill: import('vue').DefineComponent<import('vue').Extra
15
15
  [key: string]: any;
16
16
  }>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
17
17
  size: {
18
- type: (StringConstructor | NumberConstructor)[];
18
+ type: (NumberConstructor | StringConstructor)[];
19
19
  default: string;
20
20
  };
21
21
  color: {
@@ -1,4 +1,5 @@
1
1
  import { createIcon as e } from "../create-icon.mjs";
2
+ //#region src/star-fill.ts
2
3
  var t = e({
3
4
  name: "star-fill",
4
5
  path: "M12 1L15 8.86L23.41 9.29L16.86 14.58L19.05 22.71L12 18.11L4.95 22.71L7.14 14.58L0.59 9.29L9 8.86L12 1",
package/es/src/star.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  export declare const Star: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
2
  size: {
3
- type: (StringConstructor | NumberConstructor)[];
3
+ type: (NumberConstructor | StringConstructor)[];
4
4
  default: string;
5
5
  };
6
6
  color: {
@@ -15,7 +15,7 @@ export declare const Star: import('vue').DefineComponent<import('vue').ExtractPr
15
15
  [key: string]: any;
16
16
  }>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
17
17
  size: {
18
- type: (StringConstructor | NumberConstructor)[];
18
+ type: (NumberConstructor | StringConstructor)[];
19
19
  default: string;
20
20
  };
21
21
  color: {
@@ -0,0 +1,33 @@
1
+ export declare const TriangleBackwardFill: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ size: {
3
+ type: (NumberConstructor | StringConstructor)[];
4
+ default: string;
5
+ };
6
+ color: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ };
10
+ spin: {
11
+ type: BooleanConstructor;
12
+ default: boolean;
13
+ };
14
+ }>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
15
+ [key: string]: any;
16
+ }>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
17
+ size: {
18
+ type: (NumberConstructor | StringConstructor)[];
19
+ default: string;
20
+ };
21
+ color: {
22
+ type: StringConstructor;
23
+ default: string;
24
+ };
25
+ spin: {
26
+ type: BooleanConstructor;
27
+ default: boolean;
28
+ };
29
+ }>> & Readonly<{}>, {
30
+ size: string | number;
31
+ spin: boolean;
32
+ color: string;
33
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any> | undefined;
@@ -0,0 +1,9 @@
1
+ import { createIcon as e } from "../create-icon.mjs";
2
+ //#region src/triangle-backward-fill.ts
3
+ var t = e({
4
+ name: "triangle-backward-fill",
5
+ path: "M8 5L15 12L8 19L8 5Z",
6
+ fill: "currentColor"
7
+ });
8
+ //#endregion
9
+ export { t as TriangleBackwardFill };
@@ -0,0 +1,33 @@
1
+ export declare const TriangleDownwardFill: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ size: {
3
+ type: (NumberConstructor | StringConstructor)[];
4
+ default: string;
5
+ };
6
+ color: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ };
10
+ spin: {
11
+ type: BooleanConstructor;
12
+ default: boolean;
13
+ };
14
+ }>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
15
+ [key: string]: any;
16
+ }>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
17
+ size: {
18
+ type: (NumberConstructor | StringConstructor)[];
19
+ default: string;
20
+ };
21
+ color: {
22
+ type: StringConstructor;
23
+ default: string;
24
+ };
25
+ spin: {
26
+ type: BooleanConstructor;
27
+ default: boolean;
28
+ };
29
+ }>> & Readonly<{}>, {
30
+ size: string | number;
31
+ spin: boolean;
32
+ color: string;
33
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any> | undefined;
@@ -0,0 +1,9 @@
1
+ import { createIcon as e } from "../create-icon.mjs";
2
+ //#region src/triangle-downward-fill.ts
3
+ var t = e({
4
+ name: "triangle-downward-fill",
5
+ path: "M5 9L12 16L19 9L5 9Z",
6
+ fill: "currentColor"
7
+ });
8
+ //#endregion
9
+ export { t as TriangleDownwardFill };
@@ -0,0 +1,33 @@
1
+ export declare const TriangleForwardFill: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ size: {
3
+ type: (NumberConstructor | StringConstructor)[];
4
+ default: string;
5
+ };
6
+ color: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ };
10
+ spin: {
11
+ type: BooleanConstructor;
12
+ default: boolean;
13
+ };
14
+ }>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
15
+ [key: string]: any;
16
+ }>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
17
+ size: {
18
+ type: (NumberConstructor | StringConstructor)[];
19
+ default: string;
20
+ };
21
+ color: {
22
+ type: StringConstructor;
23
+ default: string;
24
+ };
25
+ spin: {
26
+ type: BooleanConstructor;
27
+ default: boolean;
28
+ };
29
+ }>> & Readonly<{}>, {
30
+ size: string | number;
31
+ spin: boolean;
32
+ color: string;
33
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any> | undefined;
@@ -0,0 +1,9 @@
1
+ import { createIcon as e } from "../create-icon.mjs";
2
+ //#region src/triangle-forward-fill.ts
3
+ var t = e({
4
+ name: "triangle-forward-fill",
5
+ path: "M15 5L8 12L15 19L15 5Z",
6
+ fill: "currentColor"
7
+ });
8
+ //#endregion
9
+ export { t as TriangleForwardFill };
@@ -0,0 +1,33 @@
1
+ export declare const TriangleUpwardFill: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ size: {
3
+ type: (NumberConstructor | StringConstructor)[];
4
+ default: string;
5
+ };
6
+ color: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ };
10
+ spin: {
11
+ type: BooleanConstructor;
12
+ default: boolean;
13
+ };
14
+ }>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
15
+ [key: string]: any;
16
+ }>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
17
+ size: {
18
+ type: (NumberConstructor | StringConstructor)[];
19
+ default: string;
20
+ };
21
+ color: {
22
+ type: StringConstructor;
23
+ default: string;
24
+ };
25
+ spin: {
26
+ type: BooleanConstructor;
27
+ default: boolean;
28
+ };
29
+ }>> & Readonly<{}>, {
30
+ size: string | number;
31
+ spin: boolean;
32
+ color: string;
33
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any> | undefined;
@@ -0,0 +1,9 @@
1
+ import { createIcon as e } from "../create-icon.mjs";
2
+ //#region src/triangle-upward-fill.ts
3
+ var t = e({
4
+ name: "triangle-upward-fill",
5
+ path: "M5 16L12 9L19 16L5 16Z",
6
+ fill: "currentColor"
7
+ });
8
+ //#endregion
9
+ export { t as TriangleUpwardFill };
@@ -3,7 +3,10 @@ import { warn as e } from "vue";
3
3
  var t = (t, n) => {
4
4
  if (!t) return t;
5
5
  if (t.install = (n) => {
6
- t.name ? n.component(t.name, t) : e("can't find the component name, use defineOptions() to configure it", t);
6
+ if (t.name) {
7
+ if (n.component(t.name)) return;
8
+ n.component(t.name, t);
9
+ } else e("can't find the component name, use defineOptions() to configure it", t);
7
10
  }, n) for (let [e, r] of Object.entries(n)) t[e] = r, r.install = (e) => {
8
11
  e.component(r.name, r);
9
12
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rappel-ui/svg-icons",
3
- "version": "1.0.24",
3
+ "version": "1.0.26",
4
4
  "type": "module",
5
5
  "description": "A Svg Icon Library for Vue3",
6
6
  "main": "./cjs/index.js",
@@ -1 +0,0 @@
1
- var e=(e,t,n)=>{let r=t.lastIndexOf(`?`),i=e[r===-1||r<t.lastIndexOf(`/`)?t:t.slice(0,r)];return i?typeof i==`function`?i():Promise.resolve(i):new Promise((e,r)=>{(typeof queueMicrotask==`function`?queueMicrotask:setTimeout)(r.bind(null,Error(`Unknown variable dynamic import: `+t+(t.split(`/`).length===n?``:`. Note that variables only represent file names one level deep.`))))})};exports.default=e;
@@ -1,9 +0,0 @@
1
- //#region \0rolldown_dynamic_import_helper.js
2
- var e = (e, t, n) => {
3
- let r = t.lastIndexOf("?"), i = e[r === -1 || r < t.lastIndexOf("/") ? t : t.slice(0, r)];
4
- return i ? typeof i == "function" ? i() : Promise.resolve(i) : new Promise((e, r) => {
5
- (typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(r.bind(null, /* @__PURE__ */ Error("Unknown variable dynamic import: " + t + (t.split("/").length === n ? "" : ". Note that variables only represent file names one level deep."))));
6
- });
7
- };
8
- //#endregion
9
- export { e as default };