premium-react-loaders 2.3.1 → 3.1.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.
- package/README.md +87 -3
- package/dist/components/3d/CubeSpinner.d.ts +21 -0
- package/dist/components/3d/CubeSpinner.d.ts.map +1 -0
- package/dist/components/3d/FlipCard.d.ts +21 -0
- package/dist/components/3d/FlipCard.d.ts.map +1 -0
- package/dist/components/3d/Helix.d.ts +23 -0
- package/dist/components/3d/Helix.d.ts.map +1 -0
- package/dist/components/3d/PerspectiveRing.d.ts +21 -0
- package/dist/components/3d/PerspectiveRing.d.ts.map +1 -0
- package/dist/components/3d/PlaneRotate.d.ts +21 -0
- package/dist/components/3d/PlaneRotate.d.ts.map +1 -0
- package/dist/components/3d/index.d.ts +6 -0
- package/dist/components/3d/index.d.ts.map +1 -0
- package/dist/components/accessibility/LiveRegion.d.ts +34 -0
- package/dist/components/accessibility/LiveRegion.d.ts.map +1 -0
- package/dist/components/accessibility/index.d.ts +2 -0
- package/dist/components/accessibility/index.d.ts.map +1 -0
- package/dist/components/bounce/BouncingBalls.d.ts +15 -0
- package/dist/components/bounce/BouncingBalls.d.ts.map +1 -0
- package/dist/components/bounce/BouncingDots.d.ts +15 -0
- package/dist/components/bounce/BouncingDots.d.ts.map +1 -0
- package/dist/components/bounce/index.d.ts +3 -0
- package/dist/components/bounce/index.d.ts.map +1 -0
- package/dist/components/index.d.ts +8 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/infinity/InfinityLoader.d.ts +15 -0
- package/dist/components/infinity/InfinityLoader.d.ts.map +1 -0
- package/dist/components/infinity/MobiusLoader.d.ts +15 -0
- package/dist/components/infinity/MobiusLoader.d.ts.map +1 -0
- package/dist/components/infinity/index.d.ts +3 -0
- package/dist/components/infinity/index.d.ts.map +1 -0
- package/dist/components/orbit/AtomLoader.d.ts +15 -0
- package/dist/components/orbit/AtomLoader.d.ts.map +1 -0
- package/dist/components/orbit/OrbitDots.d.ts +15 -0
- package/dist/components/orbit/OrbitDots.d.ts.map +1 -0
- package/dist/components/orbit/OrbitRings.d.ts +15 -0
- package/dist/components/orbit/OrbitRings.d.ts.map +1 -0
- package/dist/components/orbit/index.d.ts +4 -0
- package/dist/components/orbit/index.d.ts.map +1 -0
- package/dist/components/shimmer/ShimmerBox.d.ts +15 -0
- package/dist/components/shimmer/ShimmerBox.d.ts.map +1 -0
- package/dist/components/shimmer/ShimmerButton.d.ts +15 -0
- package/dist/components/shimmer/ShimmerButton.d.ts.map +1 -0
- package/dist/components/shimmer/ShimmerText.d.ts +15 -0
- package/dist/components/shimmer/ShimmerText.d.ts.map +1 -0
- package/dist/components/shimmer/index.d.ts +4 -0
- package/dist/components/shimmer/index.d.ts.map +1 -0
- package/dist/components/skeleton/DataTableSkeleton.d.ts +25 -0
- package/dist/components/skeleton/DataTableSkeleton.d.ts.map +1 -0
- package/dist/components/skeleton/SmartSkeleton.d.ts +23 -0
- package/dist/components/skeleton/SmartSkeleton.d.ts.map +1 -0
- package/dist/components/skeleton/index.d.ts +2 -0
- package/dist/components/skeleton/index.d.ts.map +1 -1
- package/dist/components/smart/FormFieldLoader.d.ts +22 -0
- package/dist/components/smart/FormFieldLoader.d.ts.map +1 -0
- package/dist/components/smart/index.d.ts +2 -0
- package/dist/components/smart/index.d.ts.map +1 -0
- package/dist/components/text/LoadingText.d.ts +16 -0
- package/dist/components/text/LoadingText.d.ts.map +1 -0
- package/dist/components/text/index.d.ts +2 -0
- package/dist/components/text/index.d.ts.map +1 -0
- package/dist/hooks/index.d.ts +6 -0
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/useLoadingAnalytics.d.ts +101 -0
- package/dist/hooks/useLoadingAnalytics.d.ts.map +1 -0
- package/dist/hooks/useLoadingOrchestrator.d.ts +104 -0
- package/dist/hooks/useLoadingOrchestrator.d.ts.map +1 -0
- package/dist/hooks/useSmartLoader.d.ts +98 -0
- package/dist/hooks/useSmartLoader.d.ts.map +1 -0
- package/dist/index.cjs +60 -20
- package/dist/index.js +60 -20
- package/dist/index10.cjs +1 -1
- package/dist/index10.js +1 -1
- package/dist/index11.cjs +1 -1
- package/dist/index11.js +1 -1
- package/dist/index12.cjs +1 -1
- package/dist/index12.js +1 -1
- package/dist/index13.cjs +1 -1
- package/dist/index13.js +1 -1
- package/dist/index14.cjs +1 -1
- package/dist/index14.js +1 -1
- package/dist/index15.cjs +1 -1
- package/dist/index15.js +1 -1
- package/dist/index16.cjs +131 -66
- package/dist/index16.js +132 -67
- package/dist/index17.cjs +245 -30
- package/dist/index17.js +246 -31
- package/dist/index18.cjs +24 -36
- package/dist/index18.js +24 -36
- package/dist/index19.cjs +19 -21
- package/dist/index19.js +19 -21
- package/dist/index20.cjs +25 -20
- package/dist/index20.js +25 -20
- package/dist/index21.cjs +22 -32
- package/dist/index21.js +22 -32
- package/dist/index22.cjs +26 -35
- package/dist/index22.js +28 -37
- package/dist/index23.cjs +40 -76
- package/dist/index23.js +42 -78
- package/dist/index24.cjs +53 -102
- package/dist/index24.js +54 -103
- package/dist/index25.cjs +46 -80
- package/dist/index25.js +47 -81
- package/dist/index26.cjs +105 -103
- package/dist/index26.js +107 -105
- package/dist/index27.cjs +108 -27
- package/dist/index27.js +111 -30
- package/dist/index28.cjs +104 -36
- package/dist/index28.js +106 -38
- package/dist/index29.cjs +22 -30
- package/dist/index29.js +23 -31
- package/dist/index30.cjs +30 -32
- package/dist/index30.js +31 -33
- package/dist/index31.cjs +49 -52
- package/dist/index31.js +50 -53
- package/dist/index32.cjs +37 -108
- package/dist/index32.js +38 -109
- package/dist/index33.cjs +54 -72
- package/dist/index33.js +55 -73
- package/dist/index34.cjs +112 -80
- package/dist/index34.js +112 -80
- package/dist/index35.cjs +78 -145
- package/dist/index35.js +80 -147
- package/dist/index36.cjs +112 -120
- package/dist/index36.js +113 -121
- package/dist/index37.cjs +167 -0
- package/dist/index37.js +167 -0
- package/dist/index38.cjs +96 -0
- package/dist/index38.js +96 -0
- package/dist/index39.cjs +113 -0
- package/dist/index39.js +113 -0
- package/dist/index40.cjs +169 -0
- package/dist/index40.js +169 -0
- package/dist/index41.cjs +97 -0
- package/dist/index41.js +97 -0
- package/dist/index42.cjs +90 -0
- package/dist/index42.js +90 -0
- package/dist/index43.cjs +139 -0
- package/dist/index43.js +139 -0
- package/dist/index44.cjs +82 -0
- package/dist/index44.js +82 -0
- package/dist/index45.cjs +110 -0
- package/dist/index45.js +110 -0
- package/dist/index46.cjs +135 -0
- package/dist/index46.js +135 -0
- package/dist/index47.cjs +106 -0
- package/dist/index47.js +106 -0
- package/dist/index48.cjs +158 -0
- package/dist/index48.js +158 -0
- package/dist/index49.cjs +167 -0
- package/dist/index49.js +167 -0
- package/dist/index50.cjs +110 -0
- package/dist/index50.js +110 -0
- package/dist/index51.cjs +112 -0
- package/dist/index51.js +112 -0
- package/dist/index52.cjs +144 -0
- package/dist/index52.js +144 -0
- package/dist/index53.cjs +112 -0
- package/dist/index53.js +112 -0
- package/dist/index54.cjs +189 -0
- package/dist/index54.js +189 -0
- package/dist/index55.cjs +53 -0
- package/dist/index55.js +53 -0
- package/dist/index56.cjs +125 -0
- package/dist/index56.js +125 -0
- package/dist/index7.cjs +1 -1
- package/dist/index7.js +1 -1
- package/dist/index8.cjs +1 -1
- package/dist/index8.js +1 -1
- package/dist/index9.cjs +1 -1
- package/dist/index9.js +1 -1
- package/dist/premium-react-loaders.css +357 -0
- package/dist/types/3d.d.ts +85 -0
- package/dist/types/3d.d.ts.map +1 -0
- package/dist/types/accessibility.d.ts +35 -0
- package/dist/types/accessibility.d.ts.map +1 -0
- package/dist/types/bounce.d.ts +41 -0
- package/dist/types/bounce.d.ts.map +1 -0
- package/dist/types/index.d.ts +8 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/infinity.d.ts +35 -0
- package/dist/types/infinity.d.ts.map +1 -0
- package/dist/types/orbit.d.ts +50 -0
- package/dist/types/orbit.d.ts.map +1 -0
- package/dist/types/shimmer.d.ts +52 -0
- package/dist/types/shimmer.d.ts.map +1 -0
- package/dist/types/smart.d.ts +63 -0
- package/dist/types/smart.d.ts.map +1 -0
- package/dist/types/text.d.ts +27 -0
- package/dist/types/text.d.ts.map +1 -0
- package/dist/utils/accessibility.d.ts +67 -0
- package/dist/utils/accessibility.d.ts.map +1 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -1
- 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 **
|
|
3
|
+
A comprehensive collection of **50+ premium, production-ready loading components** for React applications. Built with TypeScript and custom CSS for maximum flexibility and zero configuration.
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/premium-react-loaders)
|
|
6
6
|
[](https://opensource.org/licenses/MIT)
|
|
@@ -11,11 +11,15 @@ A comprehensive collection of **29 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
|
|
14
|
+
See all 50+ components in action with interactive examples and customization options.
|
|
15
15
|
|
|
16
16
|
## Features
|
|
17
17
|
|
|
18
|
-
- **
|
|
18
|
+
- **50+ Premium Components** across 15 categories (Skeleton, Spinner, Progress, Pulse, Overlay, Button, Status, Transition, Shimmer, Orbit, Bounce, Infinity, Text, 3D, Smart)
|
|
19
|
+
- **6 Powerful Hooks** - useLoader, useEnhancedLoader, useLoadingOrchestrator, useLoadingAnalytics, useSmartLoader, useTheme ✨ *New in v3.1.0*
|
|
20
|
+
- **3D Loaders** - Immersive 3D animations with CSS transforms ✨ *New in v3.1.0*
|
|
21
|
+
- **Smart Components** - Context-aware skeletons and form field loaders ✨ *New in v3.1.0*
|
|
22
|
+
- **Accessibility First** - LiveRegion component and announcement system ✨ *New in v3.1.0*
|
|
19
23
|
- **Global Theming** - ThemeProvider for app-wide customization ✨ *New in v2.1.0*
|
|
20
24
|
- **Smart Loading UX** - useLoader hook with delay, minDuration, and autoHide ✨ *New in v2.1.0*
|
|
21
25
|
- **Enhanced CSS Variables** - Comprehensive theming with dark mode support ✨ *New in v2.1.0*
|
|
@@ -178,6 +182,86 @@ Animated indicators for success and error states:
|
|
|
178
182
|
- **SuccessCheckmark** - Animated checkmark with optional circle background
|
|
179
183
|
- **ErrorIndicator** - Animated X mark with optional shake effect and circle background
|
|
180
184
|
|
|
185
|
+
### Transition Components (1 component) ✨ *New in v2.3.0*
|
|
186
|
+
|
|
187
|
+
Smooth transitions between loading and loaded states:
|
|
188
|
+
|
|
189
|
+
- **LoaderTransition** - Animated transitions between loading and content states with multiple animation types (fade, slide, scale)
|
|
190
|
+
|
|
191
|
+
### Shimmer Components (3 components) ✨ *New in v3.0.0*
|
|
192
|
+
|
|
193
|
+
Shimmer effect placeholders with directional animations:
|
|
194
|
+
|
|
195
|
+
- **ShimmerBox** - Shimmer container with customizable direction (left-to-right, right-to-left, top-to-bottom, bottom-to-top)
|
|
196
|
+
- **ShimmerText** - Multi-line text shimmer placeholder
|
|
197
|
+
- **ShimmerButton** - Button placeholder with shimmer effect
|
|
198
|
+
|
|
199
|
+
### Orbit Components (3 components) ✨ *New in v3.0.0*
|
|
200
|
+
|
|
201
|
+
Orbital and atomic animations:
|
|
202
|
+
|
|
203
|
+
- **OrbitDots** - Dots orbiting around a central point
|
|
204
|
+
- **OrbitRings** - Concentric rotating rings
|
|
205
|
+
- **AtomLoader** - Electron-like orbital animation with nucleus
|
|
206
|
+
|
|
207
|
+
### Bounce Components (2 components) ✨ *New in v3.0.0*
|
|
208
|
+
|
|
209
|
+
Physics-based bouncing loaders:
|
|
210
|
+
|
|
211
|
+
- **BouncingDots** - Dots with physics-based bounce animation
|
|
212
|
+
- **BouncingBalls** - 3D bouncing balls with shadow and squash effects
|
|
213
|
+
|
|
214
|
+
### Infinity Components (2 components) ✨ *New in v3.0.0*
|
|
215
|
+
|
|
216
|
+
Continuous loop animations:
|
|
217
|
+
|
|
218
|
+
- **InfinityLoader** - Figure-8 infinity symbol animation with optional traveling dot
|
|
219
|
+
- **MobiusLoader** - Segmented ribbon loop with twist effect
|
|
220
|
+
|
|
221
|
+
### Text Components (1 component) ✨ *New in v3.0.0*
|
|
222
|
+
|
|
223
|
+
Animated loading text:
|
|
224
|
+
|
|
225
|
+
- **LoadingText** - Animated loading text with multiple animation styles (dots, fade, bounce, wave)
|
|
226
|
+
|
|
227
|
+
### 3D Components (5 components) ✨ *New in v3.1.0*
|
|
228
|
+
|
|
229
|
+
Immersive 3D loaders with perspective transforms:
|
|
230
|
+
|
|
231
|
+
- **CubeSpinner** - Rotating 3D cube with customizable faces and rotation axes (x, y, z, diagonal)
|
|
232
|
+
- **FlipCard** - 3D card flip animation with horizontal/vertical modes
|
|
233
|
+
- **PlaneRotate** - Multiple rotating planes in 3D space with synchronized/staggered modes
|
|
234
|
+
- **Helix** - DNA-like spiral animation with particles and optional connecting lines
|
|
235
|
+
- **PerspectiveRing** - 3D ring with tilt angle, shadow effects, and depth perception
|
|
236
|
+
|
|
237
|
+
### Smart Components (3 components) ✨ *New in v3.1.0*
|
|
238
|
+
|
|
239
|
+
Intelligent, context-aware loading placeholders:
|
|
240
|
+
|
|
241
|
+
- **SmartSkeleton** - Auto-detecting skeleton that analyzes content type (text, image, card, list, table, form)
|
|
242
|
+
- **FormFieldLoader** - Loading states for form inputs (text, select, checkbox, radio, textarea, file)
|
|
243
|
+
- **DataTableSkeleton** - Advanced table skeleton with headers, sorting, filtering, pagination, and selection
|
|
244
|
+
|
|
245
|
+
### Accessibility Components (1 component) ✨ *New in v3.1.0*
|
|
246
|
+
|
|
247
|
+
Screen reader support and ARIA announcements:
|
|
248
|
+
|
|
249
|
+
- **LiveRegion** - ARIA live region for screen reader announcements with configurable politeness levels
|
|
250
|
+
|
|
251
|
+
## Hooks
|
|
252
|
+
|
|
253
|
+
### Loading State Management
|
|
254
|
+
|
|
255
|
+
- **useLoader** - Basic loading state with delay, minDuration, and autoHide *(v2.1.0+)*
|
|
256
|
+
- **useEnhancedLoader** - Advanced loading with retry logic, success/error states, and history *(v2.3.0+)*
|
|
257
|
+
- **useLoadingOrchestrator** - Manage multiple loading tasks with dependencies ✨ *New in v3.1.0*
|
|
258
|
+
- **useLoadingAnalytics** - Track loading performance metrics and user experience ✨ *New in v3.1.0*
|
|
259
|
+
- **useSmartLoader** - Intelligent loader with connection detection and progress estimation ✨ *New in v3.1.0*
|
|
260
|
+
|
|
261
|
+
### Theming
|
|
262
|
+
|
|
263
|
+
- **useTheme** - Access global theme configuration *(v2.1.0+)*
|
|
264
|
+
|
|
181
265
|
## Usage Examples
|
|
182
266
|
|
|
183
267
|
### Skeleton Components
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { CubeSpinnerProps } from '../../types';
|
|
2
|
+
/**
|
|
3
|
+
* CubeSpinner - 3D rotating cube loader with perspective
|
|
4
|
+
*
|
|
5
|
+
* A visually striking 3D cube that rotates in space with customizable face colors,
|
|
6
|
+
* rotation axis, and optional wireframe edges.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```tsx
|
|
10
|
+
* <CubeSpinner size={60} />
|
|
11
|
+
* <CubeSpinner size="lg" rotationAxis="diagonal" />
|
|
12
|
+
* <CubeSpinner
|
|
13
|
+
* size={80}
|
|
14
|
+
* faceColors={['#ef4444', '#f59e0b', '#10b981', '#3b82f6', '#8b5cf6', '#ec4899']}
|
|
15
|
+
* showEdges
|
|
16
|
+
* edgeColor="#000000"
|
|
17
|
+
* />
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
export declare const CubeSpinner: import('react').ForwardRefExoticComponent<CubeSpinnerProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
21
|
+
//# sourceMappingURL=CubeSpinner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CubeSpinner.d.ts","sourceRoot":"","sources":["../../../src/components/3d/CubeSpinner.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAS/C;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,WAAW,6GA0JvB,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { FlipCardProps } from '../../types';
|
|
2
|
+
/**
|
|
3
|
+
* FlipCard - 3D card flip loader
|
|
4
|
+
*
|
|
5
|
+
* A card that flips between front and back faces in 3D space,
|
|
6
|
+
* with customizable colors and flip direction.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```tsx
|
|
10
|
+
* <FlipCard width={100} height={60} />
|
|
11
|
+
* <FlipCard
|
|
12
|
+
* width={120}
|
|
13
|
+
* height={80}
|
|
14
|
+
* direction="vertical"
|
|
15
|
+
* frontColor="#3b82f6"
|
|
16
|
+
* backColor="#8b5cf6"
|
|
17
|
+
* />
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
export declare const FlipCard: import('react').ForwardRefExoticComponent<FlipCardProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
21
|
+
//# sourceMappingURL=FlipCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FlipCard.d.ts","sourceRoot":"","sources":["../../../src/components/3d/FlipCard.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAS5C;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,QAAQ,0GAsGpB,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { HelixProps } from '../../types';
|
|
2
|
+
/**
|
|
3
|
+
* Helix - DNA-like spiral loader with 3D depth
|
|
4
|
+
*
|
|
5
|
+
* Creates a mesmerizing helix/spiral animation with particles rotating
|
|
6
|
+
* in a 3D spiral pattern, reminiscent of DNA structure.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```tsx
|
|
10
|
+
* <Helix size={80} />
|
|
11
|
+
* <Helix
|
|
12
|
+
* size={100}
|
|
13
|
+
* particleCount={16}
|
|
14
|
+
* radius={30}
|
|
15
|
+
* height={120}
|
|
16
|
+
* turns={2}
|
|
17
|
+
* direction="down"
|
|
18
|
+
* showLines
|
|
19
|
+
* />
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare const Helix: import('react').ForwardRefExoticComponent<HelixProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
23
|
+
//# sourceMappingURL=Helix.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Helix.d.ts","sourceRoot":"","sources":["../../../src/components/3d/Helix.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAUzC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,KAAK,uGA4IjB,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { PerspectiveRingProps } from '../../types';
|
|
2
|
+
/**
|
|
3
|
+
* PerspectiveRing - 3D ring with perspective and shadow
|
|
4
|
+
*
|
|
5
|
+
* A ring that appears to rotate in 3D space with adjustable tilt,
|
|
6
|
+
* creating depth perception with optional shadow effects.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```tsx
|
|
10
|
+
* <PerspectiveRing size={80} />
|
|
11
|
+
* <PerspectiveRing
|
|
12
|
+
* size={100}
|
|
13
|
+
* tilt={60}
|
|
14
|
+
* thickness={8}
|
|
15
|
+
* showShadow
|
|
16
|
+
* segments={12}
|
|
17
|
+
* />
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
export declare const PerspectiveRing: import('react').ForwardRefExoticComponent<PerspectiveRingProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
21
|
+
//# sourceMappingURL=PerspectiveRing.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PerspectiveRing.d.ts","sourceRoot":"","sources":["../../../src/components/3d/PerspectiveRing.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AASnD;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,eAAe,iHA6G3B,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { PlaneRotateProps } from '../../types';
|
|
2
|
+
/**
|
|
3
|
+
* PlaneRotate - Multiple rotating planes in 3D space
|
|
4
|
+
*
|
|
5
|
+
* Creates a mesmerizing effect with multiple semi-transparent planes
|
|
6
|
+
* rotating in 3D space with different timing patterns.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```tsx
|
|
10
|
+
* <PlaneRotate size={60} />
|
|
11
|
+
* <PlaneRotate
|
|
12
|
+
* size={80}
|
|
13
|
+
* planeCount={4}
|
|
14
|
+
* rotationType="staggered"
|
|
15
|
+
* spacing={8}
|
|
16
|
+
* opacity={0.7}
|
|
17
|
+
* />
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
export declare const PlaneRotate: import('react').ForwardRefExoticComponent<PlaneRotateProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
21
|
+
//# sourceMappingURL=PlaneRotate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PlaneRotate.d.ts","sourceRoot":"","sources":["../../../src/components/3d/PlaneRotate.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAS/C;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,WAAW,6GAkHvB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/3d/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { LiveRegionProps } from '../../types';
|
|
2
|
+
/**
|
|
3
|
+
* LiveRegion - Accessible announcements for screen readers
|
|
4
|
+
*
|
|
5
|
+
* An ARIA live region that announces messages to screen readers without
|
|
6
|
+
* disrupting the visual interface. Useful for loading state updates,
|
|
7
|
+
* progress announcements, and status changes.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```tsx
|
|
11
|
+
* // Polite announcement (waits for user to finish current task)
|
|
12
|
+
* <LiveRegion
|
|
13
|
+
* message="Loading data..."
|
|
14
|
+
* politeness="polite"
|
|
15
|
+
* clearAfter={3000}
|
|
16
|
+
* />
|
|
17
|
+
*
|
|
18
|
+
* // Assertive announcement (interrupts immediately)
|
|
19
|
+
* <LiveRegion
|
|
20
|
+
* message="Error: Failed to load data"
|
|
21
|
+
* politeness="assertive"
|
|
22
|
+
* atomic
|
|
23
|
+
* />
|
|
24
|
+
*
|
|
25
|
+
* // Progress updates
|
|
26
|
+
* <LiveRegion
|
|
27
|
+
* message={`Loading ${progress}% complete`}
|
|
28
|
+
* politeness="polite"
|
|
29
|
+
* clearAfter={1000}
|
|
30
|
+
* />
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
export declare const LiveRegion: import('react').ForwardRefExoticComponent<LiveRegionProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
34
|
+
//# sourceMappingURL=LiveRegion.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LiveRegion.d.ts","sourceRoot":"","sources":["../../../src/components/accessibility/LiveRegion.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAG9C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,eAAO,MAAM,UAAU,4GAwDtB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/accessibility/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -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 @@
|
|
|
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,12 @@ 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';
|
|
14
|
+
export * from './3d';
|
|
15
|
+
export * from './smart';
|
|
16
|
+
export * from './accessibility';
|
|
9
17
|
//# 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;AAGvB,cAAc,MAAM,CAAC;AAGrB,cAAc,SAAS,CAAC;AAGxB,cAAc,iBAAiB,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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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,25 @@
|
|
|
1
|
+
import { DataTableSkeletonProps } from '../../types';
|
|
2
|
+
/**
|
|
3
|
+
* DataTableSkeleton - Advanced table skeleton with features
|
|
4
|
+
*
|
|
5
|
+
* Comprehensive table loading placeholder with support for headers, sorting,
|
|
6
|
+
* filtering, pagination, row selection, and action columns.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```tsx
|
|
10
|
+
* <DataTableSkeleton rows={5} columns={4} />
|
|
11
|
+
* <DataTableSkeleton
|
|
12
|
+
* rows={10}
|
|
13
|
+
* columns={6}
|
|
14
|
+
* showHeader
|
|
15
|
+
* showSortIndicators
|
|
16
|
+
* showFilters
|
|
17
|
+
* showPagination
|
|
18
|
+
* showSelection
|
|
19
|
+
* showActions
|
|
20
|
+
* striped
|
|
21
|
+
* />
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
export declare const DataTableSkeleton: import('react').ForwardRefExoticComponent<DataTableSkeletonProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
25
|
+
//# sourceMappingURL=DataTableSkeleton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataTableSkeleton.d.ts","sourceRoot":"","sources":["../../../src/components/skeleton/DataTableSkeleton.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAIrD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,iBAAiB,mHA4R7B,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { SmartSkeletonProps } from '../../types';
|
|
2
|
+
/**
|
|
3
|
+
* SmartSkeleton - Intelligent skeleton with auto-detection
|
|
4
|
+
*
|
|
5
|
+
* Automatically detects content layout and generates appropriate skeleton variant,
|
|
6
|
+
* or uses explicit content type for predictable rendering.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```tsx
|
|
10
|
+
* // Explicit content type
|
|
11
|
+
* <SmartSkeleton contentType="card" />
|
|
12
|
+
* <SmartSkeleton contentType="table" itemCount={5} />
|
|
13
|
+
*
|
|
14
|
+
* // Auto-detection from reference element
|
|
15
|
+
* <SmartSkeleton
|
|
16
|
+
* contentType="auto"
|
|
17
|
+
* referenceElement={containerRef.current}
|
|
18
|
+
* detectionStrategy="mixed"
|
|
19
|
+
* />
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare const SmartSkeleton: import('react').ForwardRefExoticComponent<SmartSkeletonProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
23
|
+
//# sourceMappingURL=SmartSkeleton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SmartSkeleton.d.ts","sourceRoot":"","sources":["../../../src/components/skeleton/SmartSkeleton.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAQjD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,aAAa,+GAkKzB,CAAC"}
|
|
@@ -7,4 +7,6 @@ export { SkeletonList } from './SkeletonList';
|
|
|
7
7
|
export { SkeletonTable } from './SkeletonTable';
|
|
8
8
|
export { SkeletonPage } from './SkeletonPage';
|
|
9
9
|
export { SkeletonForm } from './SkeletonForm';
|
|
10
|
+
export { SmartSkeleton } from './SmartSkeleton';
|
|
11
|
+
export { DataTableSkeleton } from './DataTableSkeleton';
|
|
10
12
|
//# sourceMappingURL=index.d.ts.map
|