aliveicon 1.0.2 → 1.0.3

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/cjs/index.js CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("framer-motion");exports.ClockIcon=({size:o=48,color:i="blue",className:s="",onClick:t})=>e.jsxs(r.motion.svg,{onClick:t,className:`w-[${o}px] h-[${o}px] ${s}`,viewBox:"0 0 24 24",fill:"none",stroke:i,strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",animate:{rotate:360},transition:{repeat:1/0,duration:10,ease:"linear"},children:[e.jsx("circle",{cx:"12",cy:"12",r:"10"}),e.jsx("polyline",{points:"12 6 12 12 16 14"})]});
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("framer-motion");exports.ClockIcon=({size:o=24,color:t="currentColor",className:i=""})=>e.jsxs(r.motion.svg,{className:i,width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",initial:{rotate:0},animate:{rotate:360},transition:{repeat:1/0,duration:4,ease:"linear"},children:[e.jsx("circle",{cx:"12",cy:"12",r:"10"}),e.jsx("polyline",{points:"12 6 12 12 16 14"})]});
2
2
  //# sourceMappingURL=index.js.map
package/dist/esm/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import{jsxs as e,jsx as o}from"react/jsx-runtime";import{motion as r}from"framer-motion";const i=({size:i=48,color:n="blue",className:t="",onClick:a})=>e(r.svg,{onClick:a,className:`w-[${i}px] h-[${i}px] ${t}`,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",animate:{rotate:360},transition:{repeat:1/0,duration:10,ease:"linear"},children:[o("circle",{cx:"12",cy:"12",r:"10"}),o("polyline",{points:"12 6 12 12 16 14"})]});export{i as ClockIcon};
1
+ import{jsxs as e,jsx as r}from"react/jsx-runtime";import{motion as o}from"framer-motion";const t=({size:t=24,color:i="currentColor",className:n=""})=>e(o.svg,{className:n,width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",initial:{rotate:0},animate:{rotate:360},transition:{repeat:1/0,duration:4,ease:"linear"},children:[r("circle",{cx:"12",cy:"12",r:"10"}),r("polyline",{points:"12 6 12 12 16 14"})]});export{t as ClockIcon};
2
2
  //# sourceMappingURL=index.js.map
@@ -1,9 +1,8 @@
1
- import React from 'react';
1
+ import React from "react";
2
2
  type Props = {
3
3
  size?: number;
4
4
  color?: string;
5
5
  className?: string;
6
- onClick?: () => void;
7
6
  };
8
7
  export declare const ClockIcon: React.FC<Props>;
9
8
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aliveicon",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "This is a project for animated icons library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -32,12 +32,13 @@
32
32
  "homepage": "https://github.com/Hemang-patel-9/aliveicon#readme",
33
33
  "dependencies": {
34
34
  "framer-motion": "^10.0.0",
35
- "react": "19.0.0",
35
+ "react": "^19.1.0",
36
+ "react-dom": "^19.1.0",
36
37
  "tailwindcss": "^4.1.6"
37
38
  },
38
39
  "peerDependencies": {
39
- "react": "^18.0.0 || ^19.0.0",
40
- "react-dom": "^18.0.0 || ^19.0.0",
40
+ "react": "^19.1.0",
41
+ "react-dom": "^19.1.0",
41
42
  "framer-motion": "^10.0.0"
42
43
  },
43
44
  "devDependencies": {
@@ -55,8 +56,8 @@
55
56
  "rollup-plugin-terser": "^7.0.2",
56
57
  "rollup-plugin-typescript2": "^0.36.0",
57
58
  "typescript": "^5.8.3",
58
- "react": "^19.0.0",
59
- "react-dom": "^19.0.0",
59
+ "react": "^19.1.0",
60
+ "react-dom": "^19.1.0",
60
61
  "framer-motion": "^10.0.0"
61
62
  }
62
63
  }