premium-react-loaders 2.3.0 → 3.0.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 (134) hide show
  1. package/README.md +45 -3
  2. package/dist/components/bounce/BouncingBalls.d.ts +15 -0
  3. package/dist/components/bounce/BouncingBalls.d.ts.map +1 -0
  4. package/dist/components/bounce/BouncingDots.d.ts +15 -0
  5. package/dist/components/bounce/BouncingDots.d.ts.map +1 -0
  6. package/dist/components/bounce/index.d.ts +3 -0
  7. package/dist/components/bounce/index.d.ts.map +1 -0
  8. package/dist/components/index.d.ts +5 -0
  9. package/dist/components/index.d.ts.map +1 -1
  10. package/dist/components/infinity/InfinityLoader.d.ts +15 -0
  11. package/dist/components/infinity/InfinityLoader.d.ts.map +1 -0
  12. package/dist/components/infinity/MobiusLoader.d.ts +15 -0
  13. package/dist/components/infinity/MobiusLoader.d.ts.map +1 -0
  14. package/dist/components/infinity/index.d.ts +3 -0
  15. package/dist/components/infinity/index.d.ts.map +1 -0
  16. package/dist/components/orbit/AtomLoader.d.ts +15 -0
  17. package/dist/components/orbit/AtomLoader.d.ts.map +1 -0
  18. package/dist/components/orbit/OrbitDots.d.ts +15 -0
  19. package/dist/components/orbit/OrbitDots.d.ts.map +1 -0
  20. package/dist/components/orbit/OrbitRings.d.ts +15 -0
  21. package/dist/components/orbit/OrbitRings.d.ts.map +1 -0
  22. package/dist/components/orbit/index.d.ts +4 -0
  23. package/dist/components/orbit/index.d.ts.map +1 -0
  24. package/dist/components/shimmer/ShimmerBox.d.ts +15 -0
  25. package/dist/components/shimmer/ShimmerBox.d.ts.map +1 -0
  26. package/dist/components/shimmer/ShimmerButton.d.ts +15 -0
  27. package/dist/components/shimmer/ShimmerButton.d.ts.map +1 -0
  28. package/dist/components/shimmer/ShimmerText.d.ts +15 -0
  29. package/dist/components/shimmer/ShimmerText.d.ts.map +1 -0
  30. package/dist/components/shimmer/index.d.ts +4 -0
  31. package/dist/components/shimmer/index.d.ts.map +1 -0
  32. package/dist/components/text/LoadingText.d.ts +16 -0
  33. package/dist/components/text/LoadingText.d.ts.map +1 -0
  34. package/dist/components/text/index.d.ts +2 -0
  35. package/dist/components/text/index.d.ts.map +1 -0
  36. package/dist/hooks/useEnhancedLoader.d.ts.map +1 -1
  37. package/dist/index.cjs +22 -0
  38. package/dist/index.js +22 -0
  39. package/dist/index10.cjs +1 -1
  40. package/dist/index10.js +1 -1
  41. package/dist/index11.cjs +1 -1
  42. package/dist/index11.js +1 -1
  43. package/dist/index12.cjs +1 -1
  44. package/dist/index12.js +1 -1
  45. package/dist/index13.cjs +1 -1
  46. package/dist/index13.js +1 -1
  47. package/dist/index14.cjs +1 -1
  48. package/dist/index14.js +1 -1
  49. package/dist/index15.cjs +1 -1
  50. package/dist/index15.js +1 -1
  51. package/dist/index16.cjs +1 -1
  52. package/dist/index16.js +1 -1
  53. package/dist/index17.cjs +1 -1
  54. package/dist/index17.js +1 -1
  55. package/dist/index18.cjs +1 -1
  56. package/dist/index18.js +1 -1
  57. package/dist/index19.cjs +1 -1
  58. package/dist/index19.js +1 -1
  59. package/dist/index20.cjs +1 -1
  60. package/dist/index20.js +1 -1
  61. package/dist/index21.cjs +1 -1
  62. package/dist/index21.js +1 -1
  63. package/dist/index22.cjs +1 -1
  64. package/dist/index22.js +1 -1
  65. package/dist/index23.cjs +1 -1
  66. package/dist/index23.js +1 -1
  67. package/dist/index24.cjs +1 -1
  68. package/dist/index24.js +1 -1
  69. package/dist/index25.cjs +1 -1
  70. package/dist/index25.js +1 -1
  71. package/dist/index26.cjs +1 -1
  72. package/dist/index26.js +1 -1
  73. package/dist/index27.cjs +1 -1
  74. package/dist/index27.js +1 -1
  75. package/dist/index28.cjs +1 -1
  76. package/dist/index28.js +1 -1
  77. package/dist/index29.cjs +1 -1
  78. package/dist/index29.js +1 -1
  79. package/dist/index30.cjs +1 -1
  80. package/dist/index30.js +1 -1
  81. package/dist/index31.cjs +1 -1
  82. package/dist/index31.js +1 -1
  83. package/dist/index32.cjs +1 -1
  84. package/dist/index32.js +1 -1
  85. package/dist/index33.cjs +1 -1
  86. package/dist/index33.js +1 -1
  87. package/dist/index34.cjs +1 -1
  88. package/dist/index34.js +1 -1
  89. package/dist/index36.cjs +90 -119
  90. package/dist/index36.js +91 -120
  91. package/dist/index37.cjs +113 -0
  92. package/dist/index37.js +113 -0
  93. package/dist/index38.cjs +169 -0
  94. package/dist/index38.js +169 -0
  95. package/dist/index39.cjs +97 -0
  96. package/dist/index39.js +97 -0
  97. package/dist/index40.cjs +90 -0
  98. package/dist/index40.js +90 -0
  99. package/dist/index41.cjs +139 -0
  100. package/dist/index41.js +139 -0
  101. package/dist/index42.cjs +82 -0
  102. package/dist/index42.js +82 -0
  103. package/dist/index43.cjs +110 -0
  104. package/dist/index43.js +110 -0
  105. package/dist/index44.cjs +135 -0
  106. package/dist/index44.js +135 -0
  107. package/dist/index45.cjs +106 -0
  108. package/dist/index45.js +106 -0
  109. package/dist/index46.cjs +158 -0
  110. package/dist/index46.js +158 -0
  111. package/dist/index47.cjs +125 -0
  112. package/dist/index47.js +125 -0
  113. package/dist/index7.cjs +1 -1
  114. package/dist/index7.js +1 -1
  115. package/dist/index8.cjs +1 -1
  116. package/dist/index8.js +1 -1
  117. package/dist/index9.cjs +1 -1
  118. package/dist/index9.js +1 -1
  119. package/dist/premium-react-loaders.css +217 -0
  120. package/dist/types/bounce.d.ts +41 -0
  121. package/dist/types/bounce.d.ts.map +1 -0
  122. package/dist/types/hooks.d.ts +4 -0
  123. package/dist/types/hooks.d.ts.map +1 -1
  124. package/dist/types/index.d.ts +5 -0
  125. package/dist/types/index.d.ts.map +1 -1
  126. package/dist/types/infinity.d.ts +35 -0
  127. package/dist/types/infinity.d.ts.map +1 -0
  128. package/dist/types/orbit.d.ts +50 -0
  129. package/dist/types/orbit.d.ts.map +1 -0
  130. package/dist/types/shimmer.d.ts +52 -0
  131. package/dist/types/shimmer.d.ts.map +1 -0
  132. package/dist/types/text.d.ts +27 -0
  133. package/dist/types/text.d.ts.map +1 -0
  134. package/package.json +1 -1
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Premium React Loaders
2
2
 
3
- A comprehensive collection of **28 premium, production-ready loading components** for React applications. Built with TypeScript and custom CSS for maximum flexibility and zero configuration.
3
+ A comprehensive collection of **40 premium, production-ready loading components** for React applications. Built with TypeScript and custom CSS for maximum flexibility and zero configuration.
4
4
 
5
5
  [![npm version](https://img.shields.io/npm/v/premium-react-loaders.svg)](https://www.npmjs.com/package/premium-react-loaders)
6
6
  [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
@@ -11,11 +11,11 @@ A comprehensive collection of **28 premium, production-ready loading components*
11
11
 
12
12
  📚 **[Storybook Documentation](https://docs.premium-react-loaders.ishansasika.dev/)** - Detailed component documentation and examples
13
13
 
14
- See all 28 components in action with interactive examples and customization options.
14
+ See all 40 components in action with interactive examples and customization options.
15
15
 
16
16
  ## Features
17
17
 
18
- - **28 Premium Components** across 7 categories (Skeleton, Spinner, Progress, Pulse, Overlay, Button, Status)
18
+ - **40 Premium Components** across 13 categories (Skeleton, Spinner, Progress, Pulse, Overlay, Button, Status, Transition, Shimmer, Orbit, Bounce, Infinity, Text)
19
19
  - **Global Theming** - ThemeProvider for app-wide customization ✨ *New in v2.1.0*
20
20
  - **Smart Loading UX** - useLoader hook with delay, minDuration, and autoHide ✨ *New in v2.1.0*
21
21
  - **Enhanced CSS Variables** - Comprehensive theming with dark mode support ✨ *New in v2.1.0*
@@ -178,6 +178,48 @@ Animated indicators for success and error states:
178
178
  - **SuccessCheckmark** - Animated checkmark with optional circle background
179
179
  - **ErrorIndicator** - Animated X mark with optional shake effect and circle background
180
180
 
181
+ ### Transition Components (1 component) ✨ *New in v2.3.0*
182
+
183
+ Smooth transitions between loading and loaded states:
184
+
185
+ - **LoaderTransition** - Animated transitions between loading and content states with multiple animation types (fade, slide, scale)
186
+
187
+ ### Shimmer Components (3 components) ✨ *New in v3.0.0*
188
+
189
+ Shimmer effect placeholders with directional animations:
190
+
191
+ - **ShimmerBox** - Shimmer container with customizable direction (left-to-right, right-to-left, top-to-bottom, bottom-to-top)
192
+ - **ShimmerText** - Multi-line text shimmer placeholder
193
+ - **ShimmerButton** - Button placeholder with shimmer effect
194
+
195
+ ### Orbit Components (3 components) ✨ *New in v3.0.0*
196
+
197
+ Orbital and atomic animations:
198
+
199
+ - **OrbitDots** - Dots orbiting around a central point
200
+ - **OrbitRings** - Concentric rotating rings
201
+ - **AtomLoader** - Electron-like orbital animation with nucleus
202
+
203
+ ### Bounce Components (2 components) ✨ *New in v3.0.0*
204
+
205
+ Physics-based bouncing loaders:
206
+
207
+ - **BouncingDots** - Dots with physics-based bounce animation
208
+ - **BouncingBalls** - 3D bouncing balls with shadow and squash effects
209
+
210
+ ### Infinity Components (2 components) ✨ *New in v3.0.0*
211
+
212
+ Continuous loop animations:
213
+
214
+ - **InfinityLoader** - Figure-8 infinity symbol animation with optional traveling dot
215
+ - **MobiusLoader** - Segmented ribbon loop with twist effect
216
+
217
+ ### Text Components (1 component) ✨ *New in v3.0.0*
218
+
219
+ Animated loading text:
220
+
221
+ - **LoadingText** - Animated loading text with multiple animation styles (dots, fade, bounce, wave)
222
+
181
223
  ## Usage Examples
182
224
 
183
225
  ### Skeleton Components
@@ -0,0 +1,15 @@
1
+ import { BouncingBallsProps } from '../../types';
2
+ /**
3
+ * BouncingBalls - 3D-style bouncing balls with physics
4
+ *
5
+ * Balls bouncing with squash, stretch, and shadow effects for a realistic feel.
6
+ *
7
+ * @example
8
+ * ```tsx
9
+ * <BouncingBalls color="#3b82f6" />
10
+ * <BouncingBalls ballCount={4} shadow squash />
11
+ * <BouncingBalls ballSize={16} bounceHeight={2} />
12
+ * ```
13
+ */
14
+ export declare const BouncingBalls: import('react').ForwardRefExoticComponent<BouncingBallsProps & import('react').RefAttributes<HTMLDivElement>>;
15
+ //# sourceMappingURL=BouncingBalls.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BouncingBalls.d.ts","sourceRoot":"","sources":["../../../src/components/bounce/BouncingBalls.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAQjD;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,aAAa,+GA2GzB,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { BouncingDotsProps } from '../../types';
2
+ /**
3
+ * BouncingDots - Dots bouncing with physics-based easing
4
+ *
5
+ * Multiple dots bouncing up and down with a natural elastic feel.
6
+ *
7
+ * @example
8
+ * ```tsx
9
+ * <BouncingDots color="#3b82f6" />
10
+ * <BouncingDots dotCount={5} dotSize={12} />
11
+ * <BouncingDots bounceHeight={1.5} staggerDelay={100} />
12
+ * ```
13
+ */
14
+ export declare const BouncingDots: import('react').ForwardRefExoticComponent<BouncingDotsProps & import('react').RefAttributes<HTMLDivElement>>;
15
+ //# sourceMappingURL=BouncingDots.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BouncingDots.d.ts","sourceRoot":"","sources":["../../../src/components/bounce/BouncingDots.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAQhD;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,YAAY,8GA+ExB,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { BouncingDots } from './BouncingDots';
2
+ export { BouncingBalls } from './BouncingBalls';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/bounce/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC"}
@@ -6,4 +6,9 @@ export * from './overlay';
6
6
  export * from './button';
7
7
  export * from './status';
8
8
  export * from './transition';
9
+ export * from './shimmer';
10
+ export * from './orbit';
11
+ export * from './bounce';
12
+ export * from './infinity';
13
+ export * from './text';
9
14
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AACA,cAAc,YAAY,CAAC;AAG3B,cAAc,WAAW,CAAC;AAG1B,cAAc,YAAY,CAAC;AAG3B,cAAc,SAAS,CAAC;AAGxB,cAAc,WAAW,CAAC;AAG1B,cAAc,UAAU,CAAC;AAGzB,cAAc,UAAU,CAAC;AAGzB,cAAc,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AACA,cAAc,YAAY,CAAC;AAG3B,cAAc,WAAW,CAAC;AAG1B,cAAc,YAAY,CAAC;AAG3B,cAAc,SAAS,CAAC;AAGxB,cAAc,WAAW,CAAC;AAG1B,cAAc,UAAU,CAAC;AAGzB,cAAc,UAAU,CAAC;AAGzB,cAAc,cAAc,CAAC;AAG7B,cAAc,WAAW,CAAC;AAG1B,cAAc,SAAS,CAAC;AAGxB,cAAc,UAAU,CAAC;AAGzB,cAAc,YAAY,CAAC;AAG3B,cAAc,QAAQ,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { InfinityLoaderProps } from '../../types';
2
+ /**
3
+ * InfinityLoader - Classic infinity symbol animation
4
+ *
5
+ * A smooth infinity (figure-8) path animation with optional traveling dot.
6
+ *
7
+ * @example
8
+ * ```tsx
9
+ * <InfinityLoader color="#3b82f6" />
10
+ * <InfinityLoader showDot gradient />
11
+ * <InfinityLoader thickness={4} size="lg" />
12
+ * ```
13
+ */
14
+ export declare const InfinityLoader: import('react').ForwardRefExoticComponent<InfinityLoaderProps & import('react').RefAttributes<HTMLDivElement>>;
15
+ //# sourceMappingURL=InfinityLoader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InfinityLoader.d.ts","sourceRoot":"","sources":["../../../src/components/infinity/InfinityLoader.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AASlD;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,cAAc,gHAmI1B,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { MobiusLoaderProps } from '../../types';
2
+ /**
3
+ * MobiusLoader - Möbius strip-style continuous loop
4
+ *
5
+ * A ribbon-like loader that creates a continuous looping effect.
6
+ *
7
+ * @example
8
+ * ```tsx
9
+ * <MobiusLoader color="#3b82f6" />
10
+ * <MobiusLoader segments={8} twist />
11
+ * <MobiusLoader ribbonWidth={6} thickness={2} />
12
+ * ```
13
+ */
14
+ export declare const MobiusLoader: import('react').ForwardRefExoticComponent<MobiusLoaderProps & import('react').RefAttributes<HTMLDivElement>>;
15
+ //# sourceMappingURL=MobiusLoader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MobiusLoader.d.ts","sourceRoot":"","sources":["../../../src/components/infinity/MobiusLoader.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAShD;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,YAAY,8GAwGxB,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { InfinityLoader } from './InfinityLoader';
2
+ export { MobiusLoader } from './MobiusLoader';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/infinity/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { AtomLoaderProps } from '../../types';
2
+ /**
3
+ * AtomLoader - Electron-like orbital animation
4
+ *
5
+ * Electrons orbiting around a nucleus, reminiscent of an atom.
6
+ *
7
+ * @example
8
+ * ```tsx
9
+ * <AtomLoader size={60} color="#3b82f6" />
10
+ * <AtomLoader orbits={4} showNucleus />
11
+ * <AtomLoader nucleusSize={12} electronSize={6} />
12
+ * ```
13
+ */
14
+ export declare const AtomLoader: import('react').ForwardRefExoticComponent<AtomLoaderProps & import('react').RefAttributes<HTMLDivElement>>;
15
+ //# sourceMappingURL=AtomLoader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AtomLoader.d.ts","sourceRoot":"","sources":["../../../src/components/orbit/AtomLoader.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAS9C;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,UAAU,4GAqItB,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { OrbitDotsProps } from '../../types';
2
+ /**
3
+ * OrbitDots - Dots orbiting around a center point
4
+ *
5
+ * Multiple dots rotating in a circular path.
6
+ *
7
+ * @example
8
+ * ```tsx
9
+ * <OrbitDots size={60} color="#3b82f6" />
10
+ * <OrbitDots dotCount={6} dotSize={6} speed="fast" />
11
+ * <OrbitDots stagger color="#10b981" />
12
+ * ```
13
+ */
14
+ export declare const OrbitDots: import('react').ForwardRefExoticComponent<OrbitDotsProps & import('react').RefAttributes<HTMLDivElement>>;
15
+ //# sourceMappingURL=OrbitDots.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OrbitDots.d.ts","sourceRoot":"","sources":["../../../src/components/orbit/OrbitDots.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAS7C;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,SAAS,2GA2FrB,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { OrbitRingsProps } from '../../types';
2
+ /**
3
+ * OrbitRings - Concentric rings with rotation animation
4
+ *
5
+ * Multiple rings rotating at different speeds, creating a hypnotic effect.
6
+ *
7
+ * @example
8
+ * ```tsx
9
+ * <OrbitRings size={60} color="#3b82f6" />
10
+ * <OrbitRings ringCount={4} alternate />
11
+ * <OrbitRings thickness={3} ringGap={8} />
12
+ * ```
13
+ */
14
+ export declare const OrbitRings: import('react').ForwardRefExoticComponent<OrbitRingsProps & import('react').RefAttributes<HTMLDivElement>>;
15
+ //# sourceMappingURL=OrbitRings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OrbitRings.d.ts","sourceRoot":"","sources":["../../../src/components/orbit/OrbitRings.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAS9C;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,UAAU,4GAyFtB,CAAC"}
@@ -0,0 +1,4 @@
1
+ export { OrbitDots } from './OrbitDots';
2
+ export { OrbitRings } from './OrbitRings';
3
+ export { AtomLoader } from './AtomLoader';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/orbit/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { ShimmerBoxProps } from '../../types';
2
+ /**
3
+ * ShimmerBox - A versatile shimmer effect container
4
+ *
5
+ * A box with a continuous shimmer animation, perfect for placeholder content.
6
+ *
7
+ * @example
8
+ * ```tsx
9
+ * <ShimmerBox width={200} height={150} />
10
+ * <ShimmerBox width="100%" aspectRatio="16/9" />
11
+ * <ShimmerBox width={100} height={100} borderRadius="50%" />
12
+ * ```
13
+ */
14
+ export declare const ShimmerBox: import('react').ForwardRefExoticComponent<ShimmerBoxProps & import('react').RefAttributes<HTMLDivElement>>;
15
+ //# sourceMappingURL=ShimmerBox.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ShimmerBox.d.ts","sourceRoot":"","sources":["../../../src/components/shimmer/ShimmerBox.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAQ9C;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,UAAU,4GA2FtB,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { ShimmerButtonProps } from '../../types';
2
+ /**
3
+ * ShimmerButton - Button placeholder with shimmer animation
4
+ *
5
+ * A button-shaped shimmer placeholder, perfect for loading states in button areas.
6
+ *
7
+ * @example
8
+ * ```tsx
9
+ * <ShimmerButton width={120} />
10
+ * <ShimmerButton width={150} showIcon iconPosition="left" />
11
+ * <ShimmerButton variant="outline" width="100%" />
12
+ * ```
13
+ */
14
+ export declare const ShimmerButton: import('react').ForwardRefExoticComponent<ShimmerButtonProps & import('react').RefAttributes<HTMLDivElement>>;
15
+ //# sourceMappingURL=ShimmerButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ShimmerButton.d.ts","sourceRoot":"","sources":["../../../src/components/shimmer/ShimmerButton.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAQjD;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,aAAa,+GAiKzB,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { ShimmerTextProps } from '../../types';
2
+ /**
3
+ * ShimmerText - Text placeholder with shimmer animation
4
+ *
5
+ * Multiple lines of shimmer placeholders to represent text content.
6
+ *
7
+ * @example
8
+ * ```tsx
9
+ * <ShimmerText lines={3} />
10
+ * <ShimmerText lines={4} lastLineWidth="60%" />
11
+ * <ShimmerText width="100%" height={16} lineGap={8} />
12
+ * ```
13
+ */
14
+ export declare const ShimmerText: import('react').ForwardRefExoticComponent<ShimmerTextProps & import('react').RefAttributes<HTMLDivElement>>;
15
+ //# sourceMappingURL=ShimmerText.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ShimmerText.d.ts","sourceRoot":"","sources":["../../../src/components/shimmer/ShimmerText.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAQ/C;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,WAAW,6GA8GvB,CAAC"}
@@ -0,0 +1,4 @@
1
+ export { ShimmerBox } from './ShimmerBox';
2
+ export { ShimmerText } from './ShimmerText';
3
+ export { ShimmerButton } from './ShimmerButton';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/shimmer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC"}
@@ -0,0 +1,16 @@
1
+ import { LoadingTextProps } from '../../types';
2
+ /**
3
+ * LoadingText - Animated loading text with ellipsis
4
+ *
5
+ * Customizable "Loading..." text with various animation styles.
6
+ *
7
+ * @example
8
+ * ```tsx
9
+ * <LoadingText />
10
+ * <LoadingText text="Please wait" animation="fade" />
11
+ * <LoadingText text="Processing" dotCount={4} color="#3b82f6" />
12
+ * <LoadingText animation="bounce" fontSize={18} />
13
+ * ```
14
+ */
15
+ export declare const LoadingText: import('react').ForwardRefExoticComponent<LoadingTextProps & import('react').RefAttributes<HTMLDivElement>>;
16
+ //# sourceMappingURL=LoadingText.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LoadingText.d.ts","sourceRoot":"","sources":["../../../src/components/text/LoadingText.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAQ/C;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,WAAW,6GAiLvB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { LoadingText } from './LoadingText';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/text/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"useEnhancedLoader.d.ts","sourceRoot":"","sources":["../../src/hooks/useEnhancedLoader.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,eAAe,EAAsC,MAAM,gBAAgB,CAAC;AAE5G;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0DG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,GAAE,gBAAqB,GAAG,eAAe,CAkUjF"}
1
+ {"version":3,"file":"useEnhancedLoader.d.ts","sourceRoot":"","sources":["../../src/hooks/useEnhancedLoader.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,eAAe,EAAsC,MAAM,gBAAgB,CAAC;AAE5G;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0DG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,GAAE,gBAAqB,GAAG,eAAe,CAuVjF"}
package/dist/index.cjs CHANGED
@@ -34,6 +34,17 @@ const ButtonSpinner = require("./index32.cjs");
34
34
  const SuccessCheckmark = require("./index33.cjs");
35
35
  const ErrorIndicator = require("./index34.cjs");
36
36
  const LoaderTransition = require("./index35.cjs");
37
+ const ShimmerBox = require("./index36.cjs");
38
+ const ShimmerText = require("./index37.cjs");
39
+ const ShimmerButton = require("./index38.cjs");
40
+ const OrbitDots = require("./index39.cjs");
41
+ const OrbitRings = require("./index40.cjs");
42
+ const AtomLoader = require("./index41.cjs");
43
+ const BouncingDots = require("./index42.cjs");
44
+ const BouncingBalls = require("./index43.cjs");
45
+ const InfinityLoader = require("./index44.cjs");
46
+ const MobiusLoader = require("./index45.cjs");
47
+ const LoadingText = require("./index46.cjs");
37
48
  const version = "2.1.0";
38
49
  exports.cn = classNames.cn;
39
50
  exports.getAnimationDuration = colors.getAnimationDuration;
@@ -70,4 +81,15 @@ exports.ButtonSpinner = ButtonSpinner.ButtonSpinner;
70
81
  exports.SuccessCheckmark = SuccessCheckmark.SuccessCheckmark;
71
82
  exports.ErrorIndicator = ErrorIndicator.ErrorIndicator;
72
83
  exports.LoaderTransition = LoaderTransition.LoaderTransition;
84
+ exports.ShimmerBox = ShimmerBox.ShimmerBox;
85
+ exports.ShimmerText = ShimmerText.ShimmerText;
86
+ exports.ShimmerButton = ShimmerButton.ShimmerButton;
87
+ exports.OrbitDots = OrbitDots.OrbitDots;
88
+ exports.OrbitRings = OrbitRings.OrbitRings;
89
+ exports.AtomLoader = AtomLoader.AtomLoader;
90
+ exports.BouncingDots = BouncingDots.BouncingDots;
91
+ exports.BouncingBalls = BouncingBalls.BouncingBalls;
92
+ exports.InfinityLoader = InfinityLoader.InfinityLoader;
93
+ exports.MobiusLoader = MobiusLoader.MobiusLoader;
94
+ exports.LoadingText = LoadingText.LoadingText;
73
95
  exports.version = version;
package/dist/index.js CHANGED
@@ -32,12 +32,31 @@ import { ButtonSpinner } from "./index32.js";
32
32
  import { SuccessCheckmark } from "./index33.js";
33
33
  import { ErrorIndicator } from "./index34.js";
34
34
  import { LoaderTransition } from "./index35.js";
35
+ import { ShimmerBox } from "./index36.js";
36
+ import { ShimmerText } from "./index37.js";
37
+ import { ShimmerButton } from "./index38.js";
38
+ import { OrbitDots } from "./index39.js";
39
+ import { OrbitRings } from "./index40.js";
40
+ import { AtomLoader } from "./index41.js";
41
+ import { BouncingDots } from "./index42.js";
42
+ import { BouncingBalls } from "./index43.js";
43
+ import { InfinityLoader } from "./index44.js";
44
+ import { MobiusLoader } from "./index45.js";
45
+ import { LoadingText } from "./index46.js";
35
46
  const version = "2.1.0";
36
47
  export {
48
+ AtomLoader,
49
+ BouncingBalls,
50
+ BouncingDots,
37
51
  ButtonSpinner,
38
52
  ErrorIndicator,
53
+ InfinityLoader,
39
54
  LoaderOverlay,
40
55
  LoaderTransition,
56
+ LoadingText,
57
+ MobiusLoader,
58
+ OrbitDots,
59
+ OrbitRings,
41
60
  ProgressBar,
42
61
  ProgressCircle,
43
62
  ProgressRing,
@@ -45,6 +64,9 @@ export {
45
64
  PulseBars,
46
65
  PulseDots,
47
66
  PulseWave,
67
+ ShimmerBox,
68
+ ShimmerButton,
69
+ ShimmerText,
48
70
  Skeleton,
49
71
  SkeletonAvatar,
50
72
  SkeletonCard,
package/dist/index10.cjs CHANGED
@@ -3,7 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const react = require("react");
5
5
  const Skeleton = require("./index7.cjs");
6
- const hooks = require("./index36.cjs");
6
+ const hooks = require("./index47.cjs");
7
7
  const SkeletonImage = react.forwardRef(
8
8
  ({
9
9
  width = "100%",
package/dist/index10.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { forwardRef } from "react";
3
3
  import { Skeleton } from "./index7.js";
4
- import { useLoaderVisibility } from "./index36.js";
4
+ import { useLoaderVisibility } from "./index47.js";
5
5
  const SkeletonImage = forwardRef(
6
6
  ({
7
7
  width = "100%",
package/dist/index11.cjs CHANGED
@@ -4,7 +4,7 @@ const jsxRuntime = require("react/jsx-runtime");
4
4
  const react = require("react");
5
5
  const Skeleton = require("./index7.cjs");
6
6
  const SkeletonAvatar = require("./index9.cjs");
7
- const hooks = require("./index36.cjs");
7
+ const hooks = require("./index47.cjs");
8
8
  const classNames = require("./index3.cjs");
9
9
  const SkeletonCard = react.forwardRef(
10
10
  ({
package/dist/index11.js CHANGED
@@ -2,7 +2,7 @@ import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import { forwardRef } from "react";
3
3
  import { Skeleton } from "./index7.js";
4
4
  import { SkeletonAvatar } from "./index9.js";
5
- import { useLoaderVisibility } from "./index36.js";
5
+ import { useLoaderVisibility } from "./index47.js";
6
6
  import { cn } from "./index3.js";
7
7
  const SkeletonCard = forwardRef(
8
8
  ({
package/dist/index12.cjs CHANGED
@@ -3,7 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const react = require("react");
5
5
  const Skeleton = require("./index7.cjs");
6
- const hooks = require("./index36.cjs");
6
+ const hooks = require("./index47.cjs");
7
7
  const colors = require("./index4.cjs");
8
8
  const classNames = require("./index3.cjs");
9
9
  const SkeletonList = react.forwardRef(
package/dist/index12.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { forwardRef } from "react";
3
3
  import { Skeleton } from "./index7.js";
4
- import { useLoaderVisibility } from "./index36.js";
4
+ import { useLoaderVisibility } from "./index47.js";
5
5
  import { normalizeSize } from "./index4.js";
6
6
  import { cn } from "./index3.js";
7
7
  const SkeletonList = forwardRef(
package/dist/index13.cjs CHANGED
@@ -3,7 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const react = require("react");
5
5
  const Skeleton = require("./index7.cjs");
6
- const hooks = require("./index36.cjs");
6
+ const hooks = require("./index47.cjs");
7
7
  const classNames = require("./index3.cjs");
8
8
  const SkeletonTable = react.forwardRef(
9
9
  ({
package/dist/index13.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import { forwardRef } from "react";
3
3
  import { Skeleton } from "./index7.js";
4
- import { useLoaderVisibility } from "./index36.js";
4
+ import { useLoaderVisibility } from "./index47.js";
5
5
  import { cn } from "./index3.js";
6
6
  const SkeletonTable = forwardRef(
7
7
  ({
package/dist/index14.cjs CHANGED
@@ -5,7 +5,7 @@ const react = require("react");
5
5
  const Skeleton = require("./index7.cjs");
6
6
  const SkeletonText = require("./index8.cjs");
7
7
  const SkeletonAvatar = require("./index9.cjs");
8
- const hooks = require("./index36.cjs");
8
+ const hooks = require("./index47.cjs");
9
9
  const classNames = require("./index3.cjs");
10
10
  const SkeletonPage = react.forwardRef(
11
11
  ({
package/dist/index14.js CHANGED
@@ -3,7 +3,7 @@ import { forwardRef } from "react";
3
3
  import { Skeleton } from "./index7.js";
4
4
  import { SkeletonText } from "./index8.js";
5
5
  import { SkeletonAvatar } from "./index9.js";
6
- import { useLoaderVisibility } from "./index36.js";
6
+ import { useLoaderVisibility } from "./index47.js";
7
7
  import { cn } from "./index3.js";
8
8
  const SkeletonPage = forwardRef(
9
9
  ({
package/dist/index15.cjs CHANGED
@@ -3,7 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const react = require("react");
5
5
  const Skeleton = require("./index7.cjs");
6
- const hooks = require("./index36.cjs");
6
+ const hooks = require("./index47.cjs");
7
7
  const colors = require("./index4.cjs");
8
8
  const classNames = require("./index3.cjs");
9
9
  const SkeletonForm = react.forwardRef(
package/dist/index15.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import { forwardRef } from "react";
3
3
  import { Skeleton } from "./index7.js";
4
- import { useLoaderVisibility } from "./index36.js";
4
+ import { useLoaderVisibility } from "./index47.js";
5
5
  import { normalizeSize } from "./index4.js";
6
6
  import { cn } from "./index3.js";
7
7
  const SkeletonForm = forwardRef(
package/dist/index16.cjs CHANGED
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const react = require("react");
5
- const hooks = require("./index36.cjs");
5
+ const hooks = require("./index47.cjs");
6
6
  const classNames = require("./index3.cjs");
7
7
  const colors = require("./index4.cjs");
8
8
  const SpinnerCircle = react.forwardRef(
package/dist/index16.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { forwardRef } from "react";
3
- import { useReducedMotion, useLoaderVisibility, getEffectiveDuration } from "./index36.js";
3
+ import { useReducedMotion, useLoaderVisibility, getEffectiveDuration } from "./index47.js";
4
4
  import { cn } from "./index3.js";
5
5
  import { normalizeSize } from "./index4.js";
6
6
  const SpinnerCircle = forwardRef(
package/dist/index17.cjs CHANGED
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const react = require("react");
5
- const hooks = require("./index36.cjs");
5
+ const hooks = require("./index47.cjs");
6
6
  const classNames = require("./index3.cjs");
7
7
  const colors = require("./index4.cjs");
8
8
  const SpinnerRing = react.forwardRef(
package/dist/index17.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { forwardRef } from "react";
3
- import { useReducedMotion, useLoaderVisibility, getEffectiveDuration } from "./index36.js";
3
+ import { useReducedMotion, useLoaderVisibility, getEffectiveDuration } from "./index47.js";
4
4
  import { cn } from "./index3.js";
5
5
  import { normalizeSize } from "./index4.js";
6
6
  const SpinnerRing = forwardRef(
package/dist/index18.cjs CHANGED
@@ -3,7 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const react = require("react");
5
5
  const colors = require("./index4.cjs");
6
- const hooks = require("./index36.cjs");
6
+ const hooks = require("./index47.cjs");
7
7
  const classNames = require("./index3.cjs");
8
8
  const SpinnerDots = react.forwardRef(
9
9
  ({
package/dist/index18.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { forwardRef } from "react";
3
3
  import { normalizeSize, parseSizeToNumber } from "./index4.js";
4
- import { useReducedMotion, useLoaderVisibility, getEffectiveDuration } from "./index36.js";
4
+ import { useReducedMotion, useLoaderVisibility, getEffectiveDuration } from "./index47.js";
5
5
  import { cn } from "./index3.js";
6
6
  const SpinnerDots = forwardRef(
7
7
  ({