loading-dev 0.3.5 → 0.3.7

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 (129) hide show
  1. package/README.md +9 -1
  2. package/dist/arc.d.ts +5 -11
  3. package/dist/arc.js +30 -10
  4. package/dist/atom.d.ts +4 -10
  5. package/dist/atom.js +69 -9
  6. package/dist/blocks.d.ts +6 -10
  7. package/dist/blocks.js +72 -9
  8. package/dist/bouncing-dots.d.ts +2 -6
  9. package/dist/bouncing-dots.js +44 -8
  10. package/dist/cap-B_Mo1a7N.d.ts +7 -0
  11. package/dist/cap.d.ts +2 -8
  12. package/dist/cap.js +6 -8
  13. package/dist/cascade.d.ts +4 -9
  14. package/dist/cascade.js +49 -9
  15. package/dist/chevrons.d.ts +2 -0
  16. package/dist/chevrons.js +36 -0
  17. package/dist/circular-dots.d.ts +2 -6
  18. package/dist/circular-dots.js +39 -9
  19. package/dist/classic-v2.d.ts +2 -6
  20. package/dist/classic-v2.js +40 -9
  21. package/dist/classic.d.ts +2 -6
  22. package/dist/classic.js +47 -9
  23. package/dist/clock.d.ts +4 -10
  24. package/dist/clock.js +30 -9
  25. package/dist/comet.d.ts +4 -10
  26. package/dist/comet.js +51 -9
  27. package/dist/compass.d.ts +2 -6
  28. package/dist/compass.js +38 -8
  29. package/dist/dual.d.ts +5 -11
  30. package/dist/dual.js +46 -10
  31. package/dist/easing-BM_1QWrA.d.ts +9 -0
  32. package/dist/easing.d.ts +2 -11
  33. package/dist/easing.js +33 -11
  34. package/dist/eclipse.d.ts +2 -6
  35. package/dist/eclipse.js +68 -8
  36. package/dist/fade.d.ts +5 -8
  37. package/dist/fade.js +26 -7
  38. package/dist/fill.d.ts +2 -0
  39. package/dist/fill.js +59 -0
  40. package/dist/flip.d.ts +2 -6
  41. package/dist/flip.js +40 -8
  42. package/dist/frame.d.ts +14 -18
  43. package/dist/frame.js +41 -13
  44. package/dist/gather.d.ts +2 -6
  45. package/dist/gather.js +84 -8
  46. package/dist/index.d.ts +42 -35
  47. package/dist/index.js +41 -146
  48. package/dist/leap.d.ts +2 -6
  49. package/dist/leap.js +66 -8
  50. package/dist/linear-dots.d.ts +2 -6
  51. package/dist/linear-dots.js +53 -8
  52. package/dist/loading.d.ts +2 -6
  53. package/dist/loading.js +63 -9
  54. package/dist/loop.d.ts +5 -0
  55. package/dist/loop.js +37 -0
  56. package/dist/morph.d.ts +2 -6
  57. package/dist/morph.js +39 -8
  58. package/dist/motion-trIEyOxA.d.ts +50 -0
  59. package/dist/motion.d.ts +2 -44
  60. package/dist/motion.js +56 -25
  61. package/dist/orbit.d.ts +4 -10
  62. package/dist/orbit.js +43 -9
  63. package/dist/phases.d.ts +2 -0
  64. package/dist/phases.js +73 -0
  65. package/dist/pulse.d.ts +2 -6
  66. package/dist/pulse.js +51 -8
  67. package/dist/radar.d.ts +4 -10
  68. package/dist/radar.js +63 -9
  69. package/dist/ring.d.ts +5 -11
  70. package/dist/ring.js +37 -10
  71. package/dist/ripple.d.ts +6 -10
  72. package/dist/ripple.js +56 -10
  73. package/dist/scan.d.ts +2 -0
  74. package/dist/scan.js +56 -0
  75. package/dist/slide.d.ts +2 -6
  76. package/dist/slide.js +73 -8
  77. package/dist/snake.d.ts +5 -11
  78. package/dist/snake.js +58 -10
  79. package/dist/spinners.d.ts +74 -68
  80. package/dist/spinners.js +75 -39
  81. package/dist/split.d.ts +2 -0
  82. package/dist/split.js +52 -0
  83. package/dist/steps.d.ts +2 -0
  84. package/dist/steps.js +55 -0
  85. package/dist/swirl.d.ts +2 -6
  86. package/dist/swirl.js +49 -9
  87. package/dist/trace.d.ts +5 -11
  88. package/dist/trace.js +44 -9
  89. package/dist/types-D9_cXnjI.d.ts +8 -0
  90. package/dist/types.d.ts +2 -9
  91. package/dist/types.js +1 -0
  92. package/dist/wave.d.ts +6 -10
  93. package/dist/wave.js +55 -10
  94. package/package.json +14 -14
  95. package/dist/chunk-2LMGBBRJ.js +0 -77
  96. package/dist/chunk-2OX27TAE.js +0 -69
  97. package/dist/chunk-2TYML5J2.js +0 -51
  98. package/dist/chunk-3WMZVDPS.js +0 -61
  99. package/dist/chunk-4O4ADYWE.js +0 -73
  100. package/dist/chunk-5UAEBEER.js +0 -78
  101. package/dist/chunk-A2PZBHTA.js +0 -41
  102. package/dist/chunk-BAVSTTWG.js +0 -88
  103. package/dist/chunk-BCIAMPLU.js +0 -87
  104. package/dist/chunk-DKYEZLIN.js +0 -72
  105. package/dist/chunk-FQ2U2M7F.js +0 -76
  106. package/dist/chunk-FWH6VWVK.js +0 -59
  107. package/dist/chunk-HL7TIIDB.js +0 -124
  108. package/dist/chunk-IJJULNRU.js +0 -53
  109. package/dist/chunk-JKLL7YYG.js +0 -85
  110. package/dist/chunk-JNR4T6LZ.js +0 -10
  111. package/dist/chunk-JQNF5GYA.js +0 -52
  112. package/dist/chunk-KAZ5BTXC.js +0 -74
  113. package/dist/chunk-KOYM24WV.js +0 -72
  114. package/dist/chunk-L2DUMHO4.js +0 -69
  115. package/dist/chunk-LDXBT62V.js +0 -57
  116. package/dist/chunk-MAKBZTL3.js +0 -56
  117. package/dist/chunk-OMNMMKI7.js +0 -64
  118. package/dist/chunk-P4BSSDSY.js +0 -51
  119. package/dist/chunk-PM6DU637.js +0 -70
  120. package/dist/chunk-PVVWLDIS.js +0 -33
  121. package/dist/chunk-R5ZDKN3Z.js +0 -59
  122. package/dist/chunk-RAHAQ7XK.js +0 -61
  123. package/dist/chunk-SUUR5WMA.js +0 -46
  124. package/dist/chunk-UAO52LUL.js +0 -48
  125. package/dist/chunk-ULWRXY3A.js +0 -50
  126. package/dist/chunk-UOXB5QOZ.js +0 -81
  127. package/dist/chunk-UXTZTFNZ.js +0 -62
  128. package/dist/chunk-VZX7APSS.js +0 -82
  129. package/dist/chunk-YIB63EKJ.js +0 -49
package/dist/ring.d.ts CHANGED
@@ -1,11 +1,5 @@
1
- import * as react from 'react';
2
- import { CapProps } from './cap.js';
3
- import { EasingProps } from './easing.js';
4
- import { SpinnerProps } from './types.js';
5
- import './motion.js';
6
-
7
- interface RingProps extends SpinnerProps, EasingProps, CapProps {
8
- }
9
- declare function Ring({ cap, easing, ...rest }: RingProps): react.JSX.Element;
10
-
11
- export { Ring, type RingProps };
1
+ import { n as CapProps } from "./cap-B_Mo1a7N.js";
2
+ import { r as EasingProps } from "./easing-BM_1QWrA.js";
3
+ import { t as SpinnerProps } from "./types-D9_cXnjI.js";
4
+ export interface RingProps extends SpinnerProps, EasingProps, CapProps {}
5
+ export declare function Ring({ cap, easing, ...rest }: RingProps): import("react").JSX.Element;
package/dist/ring.js CHANGED
@@ -1,10 +1,37 @@
1
- import {
2
- Ring
3
- } from "./chunk-L2DUMHO4.js";
4
- import "./chunk-A2PZBHTA.js";
5
- import "./chunk-JNR4T6LZ.js";
6
- import "./chunk-UAO52LUL.js";
7
- import "./chunk-OMNMMKI7.js";
8
- export {
9
- Ring
10
- };
1
+ import { linecap } from "./cap.js";
2
+ import { rotationCss, spinClass } from "./easing.js";
3
+ import { SpinnerStyle, spinnerRoot } from "./frame.js";
4
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
5
+ // src/ring.tsx
6
+ const css = `
7
+ ${rotationCss("ring")}
8
+ `;
9
+ function Ring({ cap, easing, ...rest }) {
10
+ return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(SpinnerStyle, {
11
+ name: "ring",
12
+ children: css
13
+ }), /* @__PURE__ */ jsxs("svg", {
14
+ ...spinnerRoot("ring", rest),
15
+ fill: "none",
16
+ role: "presentation",
17
+ viewBox: "0 0 24 24",
18
+ children: [/* @__PURE__ */ jsx("circle", {
19
+ cx: "12",
20
+ cy: "12",
21
+ opacity: "0.2",
22
+ r: "10",
23
+ stroke: "currentColor",
24
+ strokeWidth: "2.5"
25
+ }), /* @__PURE__ */ jsx("circle", {
26
+ className: spinClass("ring", easing),
27
+ cx: "12",
28
+ cy: "12",
29
+ r: "10",
30
+ stroke: "currentColor",
31
+ strokeDasharray: "16 46.8",
32
+ strokeLinecap: linecap(cap),
33
+ strokeWidth: "2.5"
34
+ })]
35
+ })] });
36
+ }
37
+ export { Ring };
package/dist/ripple.d.ts CHANGED
@@ -1,11 +1,7 @@
1
- import * as react from 'react';
2
- import { SpinnerProps } from './types.js';
3
-
4
- type RippleDirection = "in" | "out";
5
- declare const DEFAULT_RIPPLE_DIRECTION: RippleDirection;
6
- interface RippleProps extends SpinnerProps {
7
- direction?: RippleDirection;
1
+ import { t as SpinnerProps } from "./types-D9_cXnjI.js";
2
+ export type RippleDirection = "in" | "out";
3
+ export declare const DEFAULT_RIPPLE_DIRECTION: RippleDirection;
4
+ export interface RippleProps extends SpinnerProps {
5
+ direction?: RippleDirection;
8
6
  }
9
- declare function Ripple({ direction, ...rest }: RippleProps): react.JSX.Element;
10
-
11
- export { DEFAULT_RIPPLE_DIRECTION, Ripple, type RippleDirection, type RippleProps };
7
+ export declare function Ripple({ direction, ...rest }: RippleProps): import("react").JSX.Element;
package/dist/ripple.js CHANGED
@@ -1,10 +1,56 @@
1
- import {
2
- DEFAULT_RIPPLE_DIRECTION,
3
- Ripple
4
- } from "./chunk-FQ2U2M7F.js";
5
- import "./chunk-UAO52LUL.js";
6
- import "./chunk-OMNMMKI7.js";
7
- export {
8
- DEFAULT_RIPPLE_DIRECTION,
9
- Ripple
10
- };
1
+ import { SIZE, STEP_VAR, animation, stagger } from "./motion.js";
2
+ import { SpinnerStyle, spinnerRoot, step } from "./frame.js";
3
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
4
+ // src/ripple.tsx
5
+ const DEFAULT_RIPPLE_DIRECTION = "out";
6
+ const RINGS = Array.from({ length: 3 }, (_, index) => index);
7
+ const css = `
8
+ .ld-ripple {
9
+ position: relative;
10
+ }
11
+
12
+ .ld-ripple-ring {
13
+ position: absolute;
14
+ inset: 0;
15
+ box-sizing: border-box;
16
+ border: calc(${SIZE} * 0.08) solid currentColor;
17
+ border-radius: 9999px;
18
+ ${animation("ripple", "ld-ripple-spread", "ease-out")}
19
+ animation-delay: ${stagger("ripple", RINGS.length)};
20
+ }
21
+
22
+ .ld-ripple-ring-in {
23
+ animation-direction: reverse;
24
+ }
25
+
26
+ @keyframes ld-ripple-spread {
27
+ from {
28
+ opacity: 1;
29
+ transform: scale(0);
30
+ }
31
+ to {
32
+ opacity: 0;
33
+ transform: scale(1);
34
+ }
35
+ }
36
+
37
+ @media (prefers-reduced-motion: reduce) {
38
+ .ld-ripple-ring {
39
+ opacity: 0.4;
40
+ transform: scale(calc((var(${STEP_VAR}) + 1) / ${RINGS.length}));
41
+ }
42
+ }
43
+ `;
44
+ function Ripple({ direction = "out", ...rest }) {
45
+ return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(SpinnerStyle, {
46
+ name: "ripple",
47
+ children: css
48
+ }), /* @__PURE__ */ jsx("div", {
49
+ ...spinnerRoot("ripple", rest),
50
+ children: RINGS.map((index) => /* @__PURE__ */ jsx("div", {
51
+ className: `ld-ripple-ring ld-ripple-ring-${direction}`,
52
+ style: step(index)
53
+ }, index))
54
+ })] });
55
+ }
56
+ export { DEFAULT_RIPPLE_DIRECTION, Ripple };
package/dist/scan.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ import { t as SpinnerProps } from "./types-D9_cXnjI.js";
2
+ export declare function Scan(props: SpinnerProps): import("react").JSX.Element;
package/dist/scan.js ADDED
@@ -0,0 +1,56 @@
1
+ import { animation } from "./motion.js";
2
+ import { SpinnerStyle, spinnerRoot } from "./frame.js";
3
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
4
+ // src/scan.tsx
5
+ const TRAVEL = 11;
6
+ const css = `
7
+ .ld-scan-line {
8
+ ${animation("scan", "ld-scan-sweep", "cubic-bezier(0.45, 0, 0.55, 1)")}
9
+ }
10
+
11
+ @keyframes ld-scan-sweep {
12
+ 0%,
13
+ 100% {
14
+ transform: translateY(0);
15
+ }
16
+ 50% {
17
+ transform: translateY(${TRAVEL}px);
18
+ }
19
+ }
20
+
21
+ @media (prefers-reduced-motion: reduce) {
22
+ .ld-scan-line {
23
+ transform: translateY(${TRAVEL / 2}px);
24
+ }
25
+ }
26
+ `;
27
+ function Scan(props) {
28
+ return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(SpinnerStyle, {
29
+ name: "scan",
30
+ children: css
31
+ }), /* @__PURE__ */ jsxs("svg", {
32
+ ...spinnerRoot("scan", props),
33
+ fill: "none",
34
+ role: "presentation",
35
+ stroke: "currentColor",
36
+ viewBox: "0 0 24 24",
37
+ children: [/* @__PURE__ */ jsx("rect", {
38
+ height: "18",
39
+ opacity: "0.2",
40
+ rx: "4",
41
+ strokeWidth: "2",
42
+ width: "18",
43
+ x: "3",
44
+ y: "3"
45
+ }), /* @__PURE__ */ jsx("line", {
46
+ className: "ld-scan-line",
47
+ strokeLinecap: "round",
48
+ strokeWidth: "2.5",
49
+ x1: "7.5",
50
+ x2: "16.5",
51
+ y1: "6.5",
52
+ y2: "6.5"
53
+ })]
54
+ })] });
55
+ }
56
+ export { Scan };
package/dist/slide.d.ts CHANGED
@@ -1,6 +1,2 @@
1
- import * as react from 'react';
2
- import { SpinnerProps } from './types.js';
3
-
4
- declare function Slide(props: SpinnerProps): react.JSX.Element;
5
-
6
- export { Slide };
1
+ import { t as SpinnerProps } from "./types-D9_cXnjI.js";
2
+ export declare function Slide(props: SpinnerProps): import("react").JSX.Element;
package/dist/slide.js CHANGED
@@ -1,8 +1,73 @@
1
- import {
2
- Slide
3
- } from "./chunk-BCIAMPLU.js";
4
- import "./chunk-UAO52LUL.js";
5
- import "./chunk-OMNMMKI7.js";
6
- export {
7
- Slide
8
- };
1
+ import { animation, stagger } from "./motion.js";
2
+ import { SpinnerStyle, cssVars, spinnerRoot, step } from "./frame.js";
3
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
4
+ // src/slide.tsx
5
+ const DOT = 34;
6
+ const MARGIN = 6;
7
+ const FAR = `${(54 / DOT * 100).toFixed(1)}%`;
8
+ const RESTS = [
9
+ `translate(${FAR}, 0)`,
10
+ "translate(0, 0)",
11
+ `translate(0, ${FAR})`
12
+ ];
13
+ const css = `
14
+ .ld-slide {
15
+ position: relative;
16
+ }
17
+
18
+ .ld-slide-dot {
19
+ position: absolute;
20
+ top: ${MARGIN}%;
21
+ left: ${MARGIN}%;
22
+ width: ${DOT}%;
23
+ height: ${DOT}%;
24
+ background: currentColor;
25
+ border-radius: 50%;
26
+ ${animation("slide", "ld-slide-walk", "ease-in-out")}
27
+ animation-delay: ${stagger("slide", RESTS.length)};
28
+ }
29
+
30
+ @keyframes ld-slide-walk {
31
+ 0% {
32
+ transform: translate(${FAR}, 0);
33
+ }
34
+ 8.33%,
35
+ 25% {
36
+ transform: translate(${FAR}, ${FAR});
37
+ }
38
+ 33.33%,
39
+ 50% {
40
+ transform: translate(0, ${FAR});
41
+ }
42
+ 58.33%,
43
+ 75% {
44
+ transform: translate(0, 0);
45
+ }
46
+ 83.33%,
47
+ 100% {
48
+ transform: translate(${FAR}, 0);
49
+ }
50
+ }
51
+
52
+ @media (prefers-reduced-motion: reduce) {
53
+ .ld-slide-dot {
54
+ transform: var(--ld-slide-rest);
55
+ }
56
+ }
57
+ `;
58
+ function Slide(props) {
59
+ return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(SpinnerStyle, {
60
+ name: "slide",
61
+ children: css
62
+ }), /* @__PURE__ */ jsx("div", {
63
+ ...spinnerRoot("slide", props),
64
+ children: RESTS.map((rest, index) => /* @__PURE__ */ jsx("div", {
65
+ className: "ld-slide-dot",
66
+ style: cssVars({
67
+ ...step(index),
68
+ "--ld-slide-rest": rest
69
+ })
70
+ }, rest))
71
+ })] });
72
+ }
73
+ export { Slide };
package/dist/snake.d.ts CHANGED
@@ -1,11 +1,5 @@
1
- import * as react from 'react';
2
- import { CapProps } from './cap.js';
3
- import { EasingProps } from './easing.js';
4
- import { SpinnerProps } from './types.js';
5
- import './motion.js';
6
-
7
- interface SnakeProps extends SpinnerProps, EasingProps, CapProps {
8
- }
9
- declare function Snake({ cap, easing, ...rest }: SnakeProps): react.JSX.Element;
10
-
11
- export { Snake, type SnakeProps };
1
+ import { n as CapProps } from "./cap-B_Mo1a7N.js";
2
+ import { r as EasingProps } from "./easing-BM_1QWrA.js";
3
+ import { t as SpinnerProps } from "./types-D9_cXnjI.js";
4
+ export interface SnakeProps extends SpinnerProps, EasingProps, CapProps {}
5
+ export declare function Snake({ cap, easing, ...rest }: SnakeProps): import("react").JSX.Element;
package/dist/snake.js CHANGED
@@ -1,10 +1,58 @@
1
- import {
2
- Snake
3
- } from "./chunk-UOXB5QOZ.js";
4
- import "./chunk-A2PZBHTA.js";
5
- import "./chunk-JNR4T6LZ.js";
6
- import "./chunk-UAO52LUL.js";
7
- import "./chunk-OMNMMKI7.js";
8
- export {
9
- Snake
10
- };
1
+ import { linecap } from "./cap.js";
2
+ import { animation } from "./motion.js";
3
+ import { rotationCss, spinClass } from "./easing.js";
4
+ import { SpinnerStyle, spinnerRoot } from "./frame.js";
5
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
6
+ // src/snake.tsx
7
+ const css = `
8
+ ${rotationCss("snake")}
9
+
10
+ .ld-snake-dash {
11
+ ${animation("snake", "ld-snake-stretch", "ease-in-out")}
12
+ }
13
+
14
+ @keyframes ld-snake-stretch {
15
+ 0% {
16
+ stroke-dasharray: 1 100;
17
+ stroke-dashoffset: 0;
18
+ }
19
+ 50% {
20
+ stroke-dasharray: 45 100;
21
+ stroke-dashoffset: -17;
22
+ }
23
+ 100% {
24
+ stroke-dasharray: 45 100;
25
+ stroke-dashoffset: -62;
26
+ }
27
+ }
28
+
29
+ @media (prefers-reduced-motion: reduce) {
30
+ .ld-snake-dash {
31
+ stroke-dasharray: 18 100;
32
+ }
33
+ }
34
+ `;
35
+ function Snake({ cap, easing, ...rest }) {
36
+ return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(SpinnerStyle, {
37
+ name: "snake",
38
+ children: css
39
+ }), /* @__PURE__ */ jsx("svg", {
40
+ ...spinnerRoot("snake", rest),
41
+ fill: "none",
42
+ role: "presentation",
43
+ viewBox: "0 0 24 24",
44
+ children: /* @__PURE__ */ jsx("g", {
45
+ className: spinClass("snake", easing),
46
+ children: /* @__PURE__ */ jsx("circle", {
47
+ className: "ld-snake-dash",
48
+ cx: "12",
49
+ cy: "12",
50
+ r: "10",
51
+ stroke: "currentColor",
52
+ strokeLinecap: linecap(cap),
53
+ strokeWidth: "2.5"
54
+ })
55
+ })
56
+ })] });
57
+ }
58
+ export { Snake };
@@ -1,68 +1,74 @@
1
- import { Arc } from './arc.js';
2
- import { Atom } from './atom.js';
3
- import { Blocks } from './blocks.js';
4
- import { BouncingDots } from './bouncing-dots.js';
5
- import './cap.js';
6
- import { Cascade } from './cascade.js';
7
- import { CircularDots } from './circular-dots.js';
8
- import { Classic } from './classic.js';
9
- import { ClassicV2 } from './classic-v2.js';
10
- import { Clock } from './clock.js';
11
- import { Comet } from './comet.js';
12
- import { Compass } from './compass.js';
13
- import { Dual } from './dual.js';
14
- import './easing.js';
15
- import { Eclipse } from './eclipse.js';
16
- import { Flip } from './flip.js';
17
- import { Gather } from './gather.js';
18
- import { Leap } from './leap.js';
19
- import { LinearDots } from './linear-dots.js';
20
- import { Loading } from './loading.js';
21
- import { Morph } from './morph.js';
22
- import './motion.js';
23
- import { Orbit } from './orbit.js';
24
- import { Pulse } from './pulse.js';
25
- import { Radar } from './radar.js';
26
- import { Ring } from './ring.js';
27
- import { Ripple } from './ripple.js';
28
- import { Slide } from './slide.js';
29
- import { Snake } from './snake.js';
30
- import { Swirl } from './swirl.js';
31
- import { Trace } from './trace.js';
32
- import { Wave } from './wave.js';
33
- import './types.js';
34
- import 'react';
35
-
36
- declare const SPINNERS: {
37
- arc: typeof Arc;
38
- atom: typeof Atom;
39
- blocks: typeof Blocks;
40
- "bouncing-dots": typeof BouncingDots;
41
- cascade: typeof Cascade;
42
- "circular-dots": typeof CircularDots;
43
- classic: typeof Classic;
44
- "classic-v2": typeof ClassicV2;
45
- clock: typeof Clock;
46
- comet: typeof Comet;
47
- compass: typeof Compass;
48
- dual: typeof Dual;
49
- eclipse: typeof Eclipse;
50
- flip: typeof Flip;
51
- gather: typeof Gather;
52
- leap: typeof Leap;
53
- "linear-dots": typeof LinearDots;
54
- loading: typeof Loading;
55
- morph: typeof Morph;
56
- orbit: typeof Orbit;
57
- pulse: typeof Pulse;
58
- radar: typeof Radar;
59
- ring: typeof Ring;
60
- ripple: typeof Ripple;
61
- slide: typeof Slide;
62
- snake: typeof Snake;
63
- swirl: typeof Swirl;
64
- trace: typeof Trace;
65
- wave: typeof Wave;
66
- };
67
-
68
- export { SPINNERS };
1
+ import { Arc } from "./arc.js";
2
+ import { Atom } from "./atom.js";
3
+ import { Blocks } from "./blocks.js";
4
+ import { BouncingDots } from "./bouncing-dots.js";
5
+ import { Cascade } from "./cascade.js";
6
+ import { Chevrons } from "./chevrons.js";
7
+ import { CircularDots } from "./circular-dots.js";
8
+ import { ClassicV2 } from "./classic-v2.js";
9
+ import { Classic } from "./classic.js";
10
+ import { Clock } from "./clock.js";
11
+ import { Comet } from "./comet.js";
12
+ import { Compass } from "./compass.js";
13
+ import { Dual } from "./dual.js";
14
+ import { Eclipse } from "./eclipse.js";
15
+ import { Fill } from "./fill.js";
16
+ import { Flip } from "./flip.js";
17
+ import { Gather } from "./gather.js";
18
+ import { Leap } from "./leap.js";
19
+ import { LinearDots } from "./linear-dots.js";
20
+ import { Loading } from "./loading.js";
21
+ import { Loop } from "./loop.js";
22
+ import { Morph } from "./morph.js";
23
+ import { Orbit } from "./orbit.js";
24
+ import { Phases } from "./phases.js";
25
+ import { Pulse } from "./pulse.js";
26
+ import { Radar } from "./radar.js";
27
+ import { Ring } from "./ring.js";
28
+ import { Ripple } from "./ripple.js";
29
+ import { Scan } from "./scan.js";
30
+ import { Slide } from "./slide.js";
31
+ import { Snake } from "./snake.js";
32
+ import { Split } from "./split.js";
33
+ import { Steps } from "./steps.js";
34
+ import { Swirl } from "./swirl.js";
35
+ import { Trace } from "./trace.js";
36
+ import { Wave } from "./wave.js";
37
+ export declare const SPINNERS: {
38
+ arc: typeof Arc;
39
+ atom: typeof Atom;
40
+ blocks: typeof Blocks;
41
+ "bouncing-dots": typeof BouncingDots;
42
+ cascade: typeof Cascade;
43
+ chevrons: typeof Chevrons;
44
+ "circular-dots": typeof CircularDots;
45
+ classic: typeof Classic;
46
+ "classic-v2": typeof ClassicV2;
47
+ clock: typeof Clock;
48
+ comet: typeof Comet;
49
+ compass: typeof Compass;
50
+ dual: typeof Dual;
51
+ eclipse: typeof Eclipse;
52
+ fill: typeof Fill;
53
+ flip: typeof Flip;
54
+ gather: typeof Gather;
55
+ leap: typeof Leap;
56
+ "linear-dots": typeof LinearDots;
57
+ loading: typeof Loading;
58
+ loop: typeof Loop;
59
+ morph: typeof Morph;
60
+ orbit: typeof Orbit;
61
+ phases: typeof Phases;
62
+ pulse: typeof Pulse;
63
+ radar: typeof Radar;
64
+ ring: typeof Ring;
65
+ ripple: typeof Ripple;
66
+ scan: typeof Scan;
67
+ slide: typeof Slide;
68
+ snake: typeof Snake;
69
+ split: typeof Split;
70
+ steps: typeof Steps;
71
+ swirl: typeof Swirl;
72
+ trace: typeof Trace;
73
+ wave: typeof Wave;
74
+ };
package/dist/spinners.js CHANGED
@@ -1,40 +1,76 @@
1
- import {
2
- SPINNERS
3
- } from "./chunk-HL7TIIDB.js";
4
- import "./chunk-SUUR5WMA.js";
5
- import "./chunk-KAZ5BTXC.js";
6
- import "./chunk-DKYEZLIN.js";
7
- import "./chunk-LDXBT62V.js";
8
- import "./chunk-PM6DU637.js";
9
- import "./chunk-2OX27TAE.js";
10
- import "./chunk-L2DUMHO4.js";
11
- import "./chunk-FQ2U2M7F.js";
12
- import "./chunk-BCIAMPLU.js";
13
- import "./chunk-UOXB5QOZ.js";
14
- import "./chunk-YIB63EKJ.js";
15
- import "./chunk-JKLL7YYG.js";
16
- import "./chunk-4O4ADYWE.js";
17
- import "./chunk-FWH6VWVK.js";
18
- import "./chunk-RAHAQ7XK.js";
19
- import "./chunk-P4BSSDSY.js";
20
- import "./chunk-IJJULNRU.js";
21
- import "./chunk-2TYML5J2.js";
22
- import "./chunk-UXTZTFNZ.js";
23
- import "./chunk-JQNF5GYA.js";
24
- import "./chunk-5UAEBEER.js";
25
- import "./chunk-2LMGBBRJ.js";
26
- import "./chunk-MAKBZTL3.js";
27
- import "./chunk-BAVSTTWG.js";
28
- import "./chunk-A2PZBHTA.js";
29
- import "./chunk-VZX7APSS.js";
30
- import "./chunk-ULWRXY3A.js";
31
- import "./chunk-KOYM24WV.js";
32
- import "./chunk-JNR4T6LZ.js";
33
- import "./chunk-3WMZVDPS.js";
34
- import "./chunk-R5ZDKN3Z.js";
35
- import "./chunk-PVVWLDIS.js";
36
- import "./chunk-UAO52LUL.js";
37
- import "./chunk-OMNMMKI7.js";
38
- export {
39
- SPINNERS
1
+ import { Arc } from "./arc.js";
2
+ import { Atom } from "./atom.js";
3
+ import { Blocks } from "./blocks.js";
4
+ import { BouncingDots } from "./bouncing-dots.js";
5
+ import { Cascade } from "./cascade.js";
6
+ import { Chevrons } from "./chevrons.js";
7
+ import { CircularDots } from "./circular-dots.js";
8
+ import { ClassicV2 } from "./classic-v2.js";
9
+ import { Classic } from "./classic.js";
10
+ import { Clock } from "./clock.js";
11
+ import { Comet } from "./comet.js";
12
+ import { Compass } from "./compass.js";
13
+ import { Dual } from "./dual.js";
14
+ import { Eclipse } from "./eclipse.js";
15
+ import { Fill } from "./fill.js";
16
+ import { Flip } from "./flip.js";
17
+ import { Gather } from "./gather.js";
18
+ import { Leap } from "./leap.js";
19
+ import { LinearDots } from "./linear-dots.js";
20
+ import { Loading } from "./loading.js";
21
+ import { Loop } from "./loop.js";
22
+ import { Morph } from "./morph.js";
23
+ import { Orbit } from "./orbit.js";
24
+ import { Phases } from "./phases.js";
25
+ import { Pulse } from "./pulse.js";
26
+ import { Radar } from "./radar.js";
27
+ import { Ring } from "./ring.js";
28
+ import { Ripple } from "./ripple.js";
29
+ import { Scan } from "./scan.js";
30
+ import { Slide } from "./slide.js";
31
+ import { Snake } from "./snake.js";
32
+ import { Split } from "./split.js";
33
+ import { Steps } from "./steps.js";
34
+ import { Swirl } from "./swirl.js";
35
+ import { Trace } from "./trace.js";
36
+ import { Wave } from "./wave.js";
37
+ // src/spinners.ts
38
+ const SPINNERS = {
39
+ arc: Arc,
40
+ atom: Atom,
41
+ blocks: Blocks,
42
+ "bouncing-dots": BouncingDots,
43
+ cascade: Cascade,
44
+ chevrons: Chevrons,
45
+ "circular-dots": CircularDots,
46
+ classic: Classic,
47
+ "classic-v2": ClassicV2,
48
+ clock: Clock,
49
+ comet: Comet,
50
+ compass: Compass,
51
+ dual: Dual,
52
+ eclipse: Eclipse,
53
+ fill: Fill,
54
+ flip: Flip,
55
+ gather: Gather,
56
+ leap: Leap,
57
+ "linear-dots": LinearDots,
58
+ loading: Loading,
59
+ loop: Loop,
60
+ morph: Morph,
61
+ orbit: Orbit,
62
+ phases: Phases,
63
+ pulse: Pulse,
64
+ radar: Radar,
65
+ ring: Ring,
66
+ ripple: Ripple,
67
+ scan: Scan,
68
+ slide: Slide,
69
+ snake: Snake,
70
+ split: Split,
71
+ steps: Steps,
72
+ swirl: Swirl,
73
+ trace: Trace,
74
+ wave: Wave
40
75
  };
76
+ export { SPINNERS };
@@ -0,0 +1,2 @@
1
+ import { t as SpinnerProps } from "./types-D9_cXnjI.js";
2
+ export declare function Split(props: SpinnerProps): import("react").JSX.Element;