rdicons 0.1.0 → 0.2.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.
Files changed (2) hide show
  1. package/dist/cli.js +2 -1
  2. package/package.json +2 -2
package/dist/cli.js CHANGED
@@ -65,6 +65,7 @@ function propsString(o = {}) {
65
65
  if (o.color) p.push(`color="${o.color}"`);
66
66
  if (o.strokeWidth != null) p.push(`strokeWidth={${o.strokeWidth}}`);
67
67
  if (o.animate) p.push(o.animate === "hover" ? "animate" : `animate="${o.animate}"`);
68
+ if (o.animate && o.speed && o.speed !== 1) p.push(`speed={${o.speed}}`);
68
69
  return p.length ? " " + p.join(" ") : "";
69
70
  }
70
71
  function componentName(icon) {
@@ -124,7 +125,7 @@ export function Example() {
124
125
  }
125
126
 
126
127
  // src/cli.ts
127
- var VERSION = "0.1.0";
128
+ var VERSION = "0.2.0";
128
129
  var BASE = (process.env.RDICONS_URL || "https://rdicons.vimalbhatt.com").replace(/\/$/, "");
129
130
  var HELP = `rdicons ${VERSION}: add open-source icons to your project
130
131
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rdicons",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "rdicons command line: search 78,000+ open-source icons and add them to your project as SVG, JSX or TSX. Try: npx rdicons add lucide:house",
5
5
  "keywords": ["icons", "cli", "svg", "react", "tsx", "icon-generator", "lucide", "tabler", "rdicons"],
6
6
  "license": "MIT",
@@ -20,7 +20,7 @@
20
20
  },
21
21
  "devDependencies": {
22
22
  "@rdicons/core": "*",
23
- "tsup": "^8.5.0",
23
+ "tsup": "^9.0.0",
24
24
  "typescript": "^5.6.0"
25
25
  }
26
26
  }