@scalar/icons 0.4.4 → 0.4.6

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 CHANGED
@@ -45,7 +45,7 @@ This will also update / override the exports in the index file at `src/index.ts`
45
45
 
46
46
  ## Community
47
47
 
48
- We are API nerds. You too? Lets chat on Discord: <https://discord.gg/scalar>
48
+ We are API nerds. You too? Let's chat on Discord: <https://discord.gg/scalar>
49
49
 
50
50
  ## License
51
51
 
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
@@ -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.4",
13
+ "version": "0.4.6",
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": "^20.17.10",
41
+ "@types/node": "^22.9.0",
42
42
  "chalk": "^5.4.1",
43
43
  "vue": "^3.5.12"
44
44
  },
@@ -49,8 +49,8 @@
49
49
  "svglint": "^2.7.1",
50
50
  "vite": "5.4.19",
51
51
  "vite-svg-loader": "^5.1.0",
52
- "vitest": "^1.6.0",
53
- "@scalar/build-tooling": "0.2.3"
52
+ "vitest": "^1.6.1",
53
+ "@scalar/build-tooling": "0.2.4"
54
54
  },
55
55
  "scripts": {
56
56
  "build": "scalar-build-vite",