premium-react-loaders 2.1.0 → 2.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.
- package/README.md +59 -3
- package/dist/components/button/ButtonSpinner.d.ts +25 -0
- package/dist/components/button/ButtonSpinner.d.ts.map +1 -0
- package/dist/components/button/index.d.ts +2 -0
- package/dist/components/button/index.d.ts.map +1 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/status/ErrorIndicator.d.ts +32 -0
- package/dist/components/status/ErrorIndicator.d.ts.map +1 -0
- package/dist/components/status/SuccessCheckmark.d.ts +31 -0
- package/dist/components/status/SuccessCheckmark.d.ts.map +1 -0
- package/dist/components/status/index.d.ts +3 -0
- package/dist/components/status/index.d.ts.map +1 -0
- package/dist/index.cjs +6 -0
- package/dist/index.js +6 -0
- 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 +1 -1
- package/dist/index16.js +1 -1
- package/dist/index17.cjs +1 -1
- package/dist/index17.js +1 -1
- package/dist/index18.cjs +1 -1
- package/dist/index18.js +1 -1
- package/dist/index19.cjs +1 -1
- package/dist/index19.js +1 -1
- package/dist/index20.cjs +1 -1
- package/dist/index20.js +1 -1
- package/dist/index21.cjs +1 -1
- package/dist/index21.js +1 -1
- package/dist/index22.cjs +1 -1
- package/dist/index22.js +1 -1
- package/dist/index23.cjs +1 -1
- package/dist/index23.js +1 -1
- package/dist/index24.cjs +1 -1
- package/dist/index24.js +1 -1
- package/dist/index25.cjs +1 -1
- package/dist/index25.js +1 -1
- package/dist/index26.cjs +1 -1
- package/dist/index26.js +1 -1
- package/dist/index27.cjs +1 -1
- package/dist/index27.js +1 -1
- package/dist/index28.cjs +1 -1
- package/dist/index28.js +1 -1
- package/dist/index29.cjs +1 -1
- package/dist/index29.js +1 -1
- package/dist/index30.cjs +1 -1
- package/dist/index30.js +1 -1
- package/dist/index31.cjs +1 -1
- package/dist/index31.js +1 -1
- package/dist/index32.cjs +143 -119
- package/dist/index32.js +144 -120
- package/dist/index33.cjs +100 -0
- package/dist/index33.js +100 -0
- package/dist/index34.cjs +117 -0
- package/dist/index34.js +117 -0
- package/dist/index35.cjs +125 -0
- package/dist/index35.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 +140 -0
- package/dist/types/button.d.ts +31 -0
- package/dist/types/button.d.ts.map +1 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/status.d.ts +34 -0
- package/dist/types/status.d.ts.map +1 -0
- 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 **28 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,11 @@ A comprehensive collection of **25 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 28 components in action with interactive examples and customization options.
|
|
15
15
|
|
|
16
16
|
## Features
|
|
17
17
|
|
|
18
|
-
- **
|
|
18
|
+
- **28 Premium Components** across 7 categories (Skeleton, Spinner, Progress, Pulse, Overlay, Button, Status)
|
|
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*
|
|
@@ -165,6 +165,19 @@ Wrapper component for displaying loaders over content:
|
|
|
165
165
|
|
|
166
166
|
- **LoaderOverlay** - Displays any loader over content with backdrop (full-screen or container-relative)
|
|
167
167
|
|
|
168
|
+
### Button Components (1 component) ✨ *New in v2.2.0*
|
|
169
|
+
|
|
170
|
+
Specialized loaders for button loading states:
|
|
171
|
+
|
|
172
|
+
- **ButtonSpinner** - Compact spinner optimized for buttons with multiple variants (circle, dots, bars) and positioning options
|
|
173
|
+
|
|
174
|
+
### Status Components (2 components) ✨ *New in v2.2.0*
|
|
175
|
+
|
|
176
|
+
Animated indicators for success and error states:
|
|
177
|
+
|
|
178
|
+
- **SuccessCheckmark** - Animated checkmark with optional circle background
|
|
179
|
+
- **ErrorIndicator** - Animated X mark with optional shake effect and circle background
|
|
180
|
+
|
|
168
181
|
## Usage Examples
|
|
169
182
|
|
|
170
183
|
### Skeleton Components
|
|
@@ -337,6 +350,49 @@ import { SpinnerCircle, ProgressBar, PulseDots } from 'premium-react-loaders';
|
|
|
337
350
|
<PulseDots size="md" reverse />
|
|
338
351
|
```
|
|
339
352
|
|
|
353
|
+
### New in v2.2.0
|
|
354
|
+
|
|
355
|
+
**Button Loaders** - Specialized spinners for button states:
|
|
356
|
+
|
|
357
|
+
```tsx
|
|
358
|
+
import { ButtonSpinner } from 'premium-react-loaders';
|
|
359
|
+
|
|
360
|
+
// Inside a button
|
|
361
|
+
<button style={{ padding: '10px 20px', backgroundColor: '#3b82f6', color: 'white' }}>
|
|
362
|
+
<ButtonSpinner variant="circle" size={16} color="white">
|
|
363
|
+
Submit Form
|
|
364
|
+
</ButtonSpinner>
|
|
365
|
+
</button>
|
|
366
|
+
|
|
367
|
+
// Different variants
|
|
368
|
+
<ButtonSpinner variant="dots" position="right">Next</ButtonSpinner>
|
|
369
|
+
<ButtonSpinner variant="bars" showContent={false}>Loading</ButtonSpinner>
|
|
370
|
+
```
|
|
371
|
+
|
|
372
|
+
**Status Indicators** - Show success and error states with smooth animations:
|
|
373
|
+
|
|
374
|
+
```tsx
|
|
375
|
+
import { SuccessCheckmark, ErrorIndicator } from 'premium-react-loaders';
|
|
376
|
+
|
|
377
|
+
// Success state
|
|
378
|
+
<SuccessCheckmark
|
|
379
|
+
visible={isSuccess}
|
|
380
|
+
showCircle
|
|
381
|
+
fillCircle
|
|
382
|
+
size={64}
|
|
383
|
+
color="#10b981"
|
|
384
|
+
/>
|
|
385
|
+
|
|
386
|
+
// Error state with shake
|
|
387
|
+
<ErrorIndicator
|
|
388
|
+
visible={hasError}
|
|
389
|
+
showCircle
|
|
390
|
+
shake
|
|
391
|
+
size={64}
|
|
392
|
+
color="#ef4444"
|
|
393
|
+
/>
|
|
394
|
+
```
|
|
395
|
+
|
|
340
396
|
### New in v2.1.0
|
|
341
397
|
|
|
342
398
|
**Global Theming** - Customize all loaders from one place:
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ButtonSpinnerProps } from '../../types';
|
|
2
|
+
/**
|
|
3
|
+
* ButtonSpinner - Spinner designed for button loading states
|
|
4
|
+
*
|
|
5
|
+
* A compact spinner component optimized for use inside buttons, with options for
|
|
6
|
+
* positioning relative to button content and different visual variants.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```tsx
|
|
10
|
+
* // Simple button with spinner
|
|
11
|
+
* <ButtonSpinner visible={isLoading}>Submit</ButtonSpinner>
|
|
12
|
+
*
|
|
13
|
+
* // Spinner on the left
|
|
14
|
+
* <ButtonSpinner visible={isLoading} position="left" variant="dots">
|
|
15
|
+
* Loading...
|
|
16
|
+
* </ButtonSpinner>
|
|
17
|
+
*
|
|
18
|
+
* // Hide content when loading
|
|
19
|
+
* <ButtonSpinner visible={isLoading} showContent={false}>
|
|
20
|
+
* Click Me
|
|
21
|
+
* </ButtonSpinner>
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
export declare const ButtonSpinner: import('react').ForwardRefExoticComponent<ButtonSpinnerProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
25
|
+
//# sourceMappingURL=ButtonSpinner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ButtonSpinner.d.ts","sourceRoot":"","sources":["../../../src/components/button/ButtonSpinner.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AASjD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,aAAa,+GA8IzB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/button/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -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"}
|
|
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"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ErrorIndicatorProps } from '../../types';
|
|
2
|
+
/**
|
|
3
|
+
* ErrorIndicator - Animated error indicator with X mark
|
|
4
|
+
*
|
|
5
|
+
* Displays an animated X mark that draws itself, perfect for showing
|
|
6
|
+
* failed operations, validation errors, or error states.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```tsx
|
|
10
|
+
* // Simple error indicator
|
|
11
|
+
* <ErrorIndicator visible={hasError} />
|
|
12
|
+
*
|
|
13
|
+
* // With circle background and shake animation
|
|
14
|
+
* <ErrorIndicator
|
|
15
|
+
* visible={hasError}
|
|
16
|
+
* showCircle
|
|
17
|
+
* circleColor="#ef4444"
|
|
18
|
+
* fillCircle
|
|
19
|
+
* shake
|
|
20
|
+
* />
|
|
21
|
+
*
|
|
22
|
+
* // Custom size and color
|
|
23
|
+
* <ErrorIndicator
|
|
24
|
+
* visible={hasError}
|
|
25
|
+
* size={64}
|
|
26
|
+
* color="#dc2626"
|
|
27
|
+
* duration={600}
|
|
28
|
+
* />
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
export declare const ErrorIndicator: import('react').ForwardRefExoticComponent<ErrorIndicatorProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
32
|
+
//# sourceMappingURL=ErrorIndicator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ErrorIndicator.d.ts","sourceRoot":"","sources":["../../../src/components/status/ErrorIndicator.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAGlD;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,eAAO,MAAM,cAAc,gHAkG1B,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { SuccessCheckmarkProps } from '../../types';
|
|
2
|
+
/**
|
|
3
|
+
* SuccessCheckmark - Animated checkmark for successful operations
|
|
4
|
+
*
|
|
5
|
+
* Displays an animated checkmark that draws itself, perfect for showing
|
|
6
|
+
* successful completion of actions like form submissions, file uploads, etc.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```tsx
|
|
10
|
+
* // Simple checkmark
|
|
11
|
+
* <SuccessCheckmark visible={isSuccess} />
|
|
12
|
+
*
|
|
13
|
+
* // With circle background
|
|
14
|
+
* <SuccessCheckmark
|
|
15
|
+
* visible={isSuccess}
|
|
16
|
+
* showCircle
|
|
17
|
+
* circleColor="#10b981"
|
|
18
|
+
* fillCircle
|
|
19
|
+
* />
|
|
20
|
+
*
|
|
21
|
+
* // Custom size and color
|
|
22
|
+
* <SuccessCheckmark
|
|
23
|
+
* visible={isSuccess}
|
|
24
|
+
* size={64}
|
|
25
|
+
* color="#22c55e"
|
|
26
|
+
* duration={600}
|
|
27
|
+
* />
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
export declare const SuccessCheckmark: import('react').ForwardRefExoticComponent<SuccessCheckmarkProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
31
|
+
//# sourceMappingURL=SuccessCheckmark.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SuccessCheckmark.d.ts","sourceRoot":"","sources":["../../../src/components/status/SuccessCheckmark.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAGpD;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,eAAO,MAAM,gBAAgB,kHAwF5B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/status/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC"}
|
package/dist/index.cjs
CHANGED
|
@@ -30,6 +30,9 @@ const PulseWave = require("./index28.cjs");
|
|
|
30
30
|
const PulseBars = require("./index29.cjs");
|
|
31
31
|
const TypingIndicator = require("./index30.cjs");
|
|
32
32
|
const LoaderOverlay = require("./index31.cjs");
|
|
33
|
+
const ButtonSpinner = require("./index32.cjs");
|
|
34
|
+
const SuccessCheckmark = require("./index33.cjs");
|
|
35
|
+
const ErrorIndicator = require("./index34.cjs");
|
|
33
36
|
const version = "2.1.0";
|
|
34
37
|
exports.cn = classNames.cn;
|
|
35
38
|
exports.getAnimationDuration = colors.getAnimationDuration;
|
|
@@ -62,4 +65,7 @@ exports.PulseWave = PulseWave.PulseWave;
|
|
|
62
65
|
exports.PulseBars = PulseBars.PulseBars;
|
|
63
66
|
exports.TypingIndicator = TypingIndicator.TypingIndicator;
|
|
64
67
|
exports.LoaderOverlay = LoaderOverlay.LoaderOverlay;
|
|
68
|
+
exports.ButtonSpinner = ButtonSpinner.ButtonSpinner;
|
|
69
|
+
exports.SuccessCheckmark = SuccessCheckmark.SuccessCheckmark;
|
|
70
|
+
exports.ErrorIndicator = ErrorIndicator.ErrorIndicator;
|
|
65
71
|
exports.version = version;
|
package/dist/index.js
CHANGED
|
@@ -28,8 +28,13 @@ import { PulseWave } from "./index28.js";
|
|
|
28
28
|
import { PulseBars } from "./index29.js";
|
|
29
29
|
import { TypingIndicator } from "./index30.js";
|
|
30
30
|
import { LoaderOverlay } from "./index31.js";
|
|
31
|
+
import { ButtonSpinner } from "./index32.js";
|
|
32
|
+
import { SuccessCheckmark } from "./index33.js";
|
|
33
|
+
import { ErrorIndicator } from "./index34.js";
|
|
31
34
|
const version = "2.1.0";
|
|
32
35
|
export {
|
|
36
|
+
ButtonSpinner,
|
|
37
|
+
ErrorIndicator,
|
|
33
38
|
LoaderOverlay,
|
|
34
39
|
ProgressBar,
|
|
35
40
|
ProgressCircle,
|
|
@@ -54,6 +59,7 @@ export {
|
|
|
54
59
|
SpinnerPulse,
|
|
55
60
|
SpinnerRing,
|
|
56
61
|
SpinnerWave,
|
|
62
|
+
SuccessCheckmark,
|
|
57
63
|
ThemeProvider,
|
|
58
64
|
TypingIndicator,
|
|
59
65
|
cn,
|
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("./
|
|
6
|
+
const hooks = require("./index35.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 "./
|
|
4
|
+
import { useLoaderVisibility } from "./index35.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("./
|
|
7
|
+
const hooks = require("./index35.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 "./
|
|
5
|
+
import { useLoaderVisibility } from "./index35.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("./
|
|
6
|
+
const hooks = require("./index35.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 "./
|
|
4
|
+
import { useLoaderVisibility } from "./index35.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("./
|
|
6
|
+
const hooks = require("./index35.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 "./
|
|
4
|
+
import { useLoaderVisibility } from "./index35.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("./
|
|
8
|
+
const hooks = require("./index35.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 "./
|
|
6
|
+
import { useLoaderVisibility } from "./index35.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("./
|
|
6
|
+
const hooks = require("./index35.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 "./
|
|
4
|
+
import { useLoaderVisibility } from "./index35.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("./
|
|
5
|
+
const hooks = require("./index35.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 "./
|
|
3
|
+
import { useReducedMotion, useLoaderVisibility, getEffectiveDuration } from "./index35.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("./
|
|
5
|
+
const hooks = require("./index35.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 "./
|
|
3
|
+
import { useReducedMotion, useLoaderVisibility, getEffectiveDuration } from "./index35.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("./
|
|
6
|
+
const hooks = require("./index35.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 "./
|
|
4
|
+
import { useReducedMotion, useLoaderVisibility, getEffectiveDuration } from "./index35.js";
|
|
5
5
|
import { cn } from "./index3.js";
|
|
6
6
|
const SpinnerDots = forwardRef(
|
|
7
7
|
({
|
package/dist/index19.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("./
|
|
5
|
+
const hooks = require("./index35.cjs");
|
|
6
6
|
const colors = require("./index4.cjs");
|
|
7
7
|
const classNames = require("./index3.cjs");
|
|
8
8
|
const SpinnerBars = react.forwardRef(
|
package/dist/index19.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 "./
|
|
3
|
+
import { useReducedMotion, useLoaderVisibility, getEffectiveDuration } from "./index35.js";
|
|
4
4
|
import { normalizeSize, parseSizeToNumber } from "./index4.js";
|
|
5
5
|
import { cn } from "./index3.js";
|
|
6
6
|
const SpinnerBars = forwardRef(
|
package/dist/index20.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("./
|
|
5
|
+
const hooks = require("./index35.cjs");
|
|
6
6
|
const classNames = require("./index3.cjs");
|
|
7
7
|
const colors = require("./index4.cjs");
|
|
8
8
|
const SpinnerGrid = react.forwardRef(
|
package/dist/index20.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 "./
|
|
3
|
+
import { useReducedMotion, useLoaderVisibility, getEffectiveDuration } from "./index35.js";
|
|
4
4
|
import { cn } from "./index3.js";
|
|
5
5
|
import { normalizeSize, parseSizeToNumber } from "./index4.js";
|
|
6
6
|
const SpinnerGrid = forwardRef(
|
package/dist/index21.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("./
|
|
5
|
+
const hooks = require("./index35.cjs");
|
|
6
6
|
const classNames = require("./index3.cjs");
|
|
7
7
|
const colors = require("./index4.cjs");
|
|
8
8
|
const SpinnerWave = react.forwardRef(
|
package/dist/index21.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 "./
|
|
3
|
+
import { useReducedMotion, useLoaderVisibility, getEffectiveDuration } from "./index35.js";
|
|
4
4
|
import { cn } from "./index3.js";
|
|
5
5
|
import { normalizeSize } from "./index4.js";
|
|
6
6
|
const SpinnerWave = forwardRef(
|
package/dist/index22.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("./
|
|
5
|
+
const hooks = require("./index35.cjs");
|
|
6
6
|
const classNames = require("./index3.cjs");
|
|
7
7
|
const colors = require("./index4.cjs");
|
|
8
8
|
const SpinnerPulse = react.forwardRef(
|
package/dist/index22.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef } from "react";
|
|
3
|
-
import { useReducedMotion, useLoaderVisibility, getEffectiveDuration } from "./
|
|
3
|
+
import { useReducedMotion, useLoaderVisibility, getEffectiveDuration } from "./index35.js";
|
|
4
4
|
import { cn } from "./index3.js";
|
|
5
5
|
import { normalizeSize } from "./index4.js";
|
|
6
6
|
const SpinnerPulse = forwardRef(
|
package/dist/index23.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("./
|
|
6
|
+
const hooks = require("./index35.cjs");
|
|
7
7
|
const classNames = require("./index3.cjs");
|
|
8
8
|
const ProgressBar = react.forwardRef(
|
|
9
9
|
({
|
package/dist/index23.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef, useMemo } from "react";
|
|
3
3
|
import { normalizeSize, getContrastColor } from "./index4.js";
|
|
4
|
-
import { useReducedMotion, useLoaderVisibility, getEffectiveDuration } from "./
|
|
4
|
+
import { useReducedMotion, useLoaderVisibility, getEffectiveDuration } from "./index35.js";
|
|
5
5
|
import { cn } from "./index3.js";
|
|
6
6
|
const ProgressBar = forwardRef(
|
|
7
7
|
({
|
package/dist/index24.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("./
|
|
5
|
+
const hooks = require("./index35.cjs");
|
|
6
6
|
const colors = require("./index4.cjs");
|
|
7
7
|
const classNames = require("./index3.cjs");
|
|
8
8
|
const ProgressCircle = react.forwardRef(
|
package/dist/index24.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef } from "react";
|
|
3
|
-
import { useReducedMotion, useLoaderVisibility, getEffectiveDuration } from "./
|
|
3
|
+
import { useReducedMotion, useLoaderVisibility, getEffectiveDuration } from "./index35.js";
|
|
4
4
|
import { normalizeSize, parseSizeToNumber } from "./index4.js";
|
|
5
5
|
import { cn } from "./index3.js";
|
|
6
6
|
const ProgressCircle = forwardRef(
|
package/dist/index25.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("./
|
|
5
|
+
const hooks = require("./index35.cjs");
|
|
6
6
|
const colors = require("./index4.cjs");
|
|
7
7
|
const classNames = require("./index3.cjs");
|
|
8
8
|
const ProgressRing = react.forwardRef(
|
package/dist/index25.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef, useMemo } from "react";
|
|
3
|
-
import { useReducedMotion, useLoaderVisibility, getEffectiveDuration } from "./
|
|
3
|
+
import { useReducedMotion, useLoaderVisibility, getEffectiveDuration } from "./index35.js";
|
|
4
4
|
import { normalizeSize, parseSizeToNumber } from "./index4.js";
|
|
5
5
|
import { cn } from "./index3.js";
|
|
6
6
|
const ProgressRing = forwardRef(
|
package/dist/index26.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("./
|
|
5
|
+
const hooks = require("./index35.cjs");
|
|
6
6
|
const classNames = require("./index3.cjs");
|
|
7
7
|
const ProgressSteps = react.forwardRef(
|
|
8
8
|
({
|
package/dist/index26.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef, Fragment } from "react";
|
|
3
|
-
import { useLoaderVisibility } from "./
|
|
3
|
+
import { useLoaderVisibility } from "./index35.js";
|
|
4
4
|
import { cn } from "./index3.js";
|
|
5
5
|
const ProgressSteps = forwardRef(
|
|
6
6
|
({
|
package/dist/index27.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("./
|
|
5
|
+
const hooks = require("./index35.cjs");
|
|
6
6
|
const colors = require("./index4.cjs");
|
|
7
7
|
const classNames = require("./index3.cjs");
|
|
8
8
|
const PulseDots = react.forwardRef(
|
package/dist/index27.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 "./
|
|
3
|
+
import { useReducedMotion, useLoaderVisibility, getEffectiveDuration } from "./index35.js";
|
|
4
4
|
import { normalizeSize } from "./index4.js";
|
|
5
5
|
import { cn } from "./index3.js";
|
|
6
6
|
const PulseDots = forwardRef(
|
package/dist/index28.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("./
|
|
5
|
+
const hooks = require("./index35.cjs");
|
|
6
6
|
const colors = require("./index4.cjs");
|
|
7
7
|
const classNames = require("./index3.cjs");
|
|
8
8
|
const PulseWave = react.forwardRef(
|