@scalar/icons 0.4.3 → 0.4.5
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/types.d.ts +7 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +2 -2
package/dist/types.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { Component } from 'vue';
|
|
1
2
|
/**
|
|
2
3
|
* The weight of the icon.
|
|
3
4
|
*
|
|
@@ -21,4 +22,10 @@ export type ScalarIconProps = {
|
|
|
21
22
|
*/
|
|
22
23
|
weight?: ScalarIconWeight;
|
|
23
24
|
};
|
|
25
|
+
/**
|
|
26
|
+
* A ScalarIcon* component
|
|
27
|
+
*
|
|
28
|
+
* Useful for when you want to pass a ScalarIcon component as prop
|
|
29
|
+
*/
|
|
30
|
+
export type ScalarIconComponent = Component<ScalarIconProps>;
|
|
24
31
|
//# sourceMappingURL=types.d.ts.map
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS,CAAA;AAEzF;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;;;OAIG;IACH,MAAM,CAAC,EAAE,gBAAgB,CAAA;CAC1B,CAAA"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AAEpC;;;;GAIG;AACH,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS,CAAA;AAEzF;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;;;OAIG;IACH,MAAM,CAAC,EAAE,gBAAgB,CAAA;CAC1B,CAAA;AAED;;;;GAIG;AACH,MAAM,MAAM,mBAAmB,GAAG,SAAS,CAAC,eAAe,CAAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"url": "git+https://github.com/scalar/scalar.git",
|
|
11
11
|
"directory": "packages/icons"
|
|
12
12
|
},
|
|
13
|
-
"version": "0.4.
|
|
13
|
+
"version": "0.4.5",
|
|
14
14
|
"engines": {
|
|
15
15
|
"node": ">=20"
|
|
16
16
|
},
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"module": "./dist/index.js",
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@phosphor-icons/core": "^2.1.1",
|
|
41
|
-
"@types/node": "^
|
|
41
|
+
"@types/node": "^22.9.0",
|
|
42
42
|
"chalk": "^5.4.1",
|
|
43
43
|
"vue": "^3.5.12"
|
|
44
44
|
},
|