ai-react-animations 1.1.1 → 1.1.2

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.
@@ -6,7 +6,7 @@ import { useEffect, useState } from 'react';
6
6
  * Relatable user scenario: AI reading, processing, delivering results
7
7
  */
8
8
 
9
- export default function AiCreating({ isLoading, onComplete, size = 'md' }) {
9
+ function AiCreating({ isLoading, onComplete, size = 'md' }) {
10
10
  const [stage, setStage] = useState('idle');
11
11
 
12
12
  useEffect(() => {
@@ -131,3 +131,5 @@ export default function AiCreating({ isLoading, onComplete, size = 'md' }) {
131
131
  </div>
132
132
  );
133
133
  }
134
+
135
+ export default AiCreating;
@@ -7,7 +7,7 @@ const iconMap = {
7
7
  zap: Zap,
8
8
  };
9
9
 
10
- export function AiCreating2({
10
+ function AiCreating2({
11
11
  isLoading,
12
12
  onComplete,
13
13
  message = "Creating your plan...",
@@ -181,4 +181,5 @@ export function AiCreating2({
181
181
  );
182
182
  }
183
183
 
184
- export default AiCreating2;
184
+
185
+ export default AiCreating2;
package/dist/index.mjs CHANGED
@@ -13,7 +13,7 @@ import { Sparkles, Brain, Zap } from 'lucide-react';
13
13
  * Relatable user scenario: AI reading, processing, delivering results
14
14
  */
15
15
 
16
- export default function AiCreating({ isLoading, onComplete, size = 'md' }) {
16
+ function AiCreating({ isLoading, onComplete, size = 'md' }) {
17
17
  const [stage, setStage] = useState('idle');
18
18
 
19
19
  useEffect(() => {
@@ -147,7 +147,7 @@ const iconMap = {
147
147
  zap: Zap,
148
148
  };
149
149
 
150
- export function AiCreating2({
150
+ function AiCreating2({
151
151
  isLoading,
152
152
  onComplete,
153
153
  message = "Creating your plan...",
@@ -321,7 +321,7 @@ export function AiCreating2({
321
321
  );
322
322
  }
323
323
 
324
- export default AiCreating2;
325
324
 
326
325
 
327
326
  export { AiCreating, AiCreating2 };
327
+ export default AiCreating;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-react-animations",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "Beautiful AI loading animation components for React/Next.js. Shows AI processing states with friendly robot character.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",