@zentauri-ui/zentauri-components 1.8.4 → 1.8.42

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 (118) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/LICENSE +21 -0
  3. package/README.md +73 -63
  4. package/dist/animations/blur-in.js +2 -2
  5. package/dist/animations/blur-in.mjs +1 -1
  6. package/dist/animations/blur-out.js +2 -2
  7. package/dist/animations/blur-out.mjs +1 -1
  8. package/dist/animations/bounce.js +2 -2
  9. package/dist/animations/bounce.mjs +1 -1
  10. package/dist/animations/fade-down.js +2 -2
  11. package/dist/animations/fade-down.mjs +1 -1
  12. package/dist/animations/fade-in.js +2 -2
  13. package/dist/animations/fade-in.mjs +1 -1
  14. package/dist/animations/fade-left.js +2 -2
  15. package/dist/animations/fade-left.mjs +1 -1
  16. package/dist/animations/fade-out.js +2 -2
  17. package/dist/animations/fade-out.mjs +1 -1
  18. package/dist/animations/fade-right.js +2 -2
  19. package/dist/animations/fade-right.mjs +1 -1
  20. package/dist/animations/fade-up.js +2 -2
  21. package/dist/animations/fade-up.mjs +1 -1
  22. package/dist/animations/flip-in.js +2 -2
  23. package/dist/animations/flip-in.mjs +1 -1
  24. package/dist/animations/flip.js +2 -2
  25. package/dist/animations/flip.mjs +1 -1
  26. package/dist/animations/float.js +2 -2
  27. package/dist/animations/float.mjs +1 -1
  28. package/dist/animations/hover-lift.js +2 -2
  29. package/dist/animations/hover-lift.mjs +1 -1
  30. package/dist/animations/hover-scale.js +2 -2
  31. package/dist/animations/hover-scale.mjs +1 -1
  32. package/dist/animations/magnetic.js +2 -2
  33. package/dist/animations/magnetic.mjs +1 -1
  34. package/dist/animations/parallax.js +2 -2
  35. package/dist/animations/parallax.mjs +1 -1
  36. package/dist/animations/ping.js +2 -2
  37. package/dist/animations/ping.mjs +1 -1
  38. package/dist/animations/pop-in.js +2 -2
  39. package/dist/animations/pop-in.mjs +1 -1
  40. package/dist/animations/press.js +2 -2
  41. package/dist/animations/press.mjs +1 -1
  42. package/dist/animations/progress.js +2 -2
  43. package/dist/animations/progress.mjs +1 -1
  44. package/dist/animations/pulse.js +2 -2
  45. package/dist/animations/pulse.mjs +1 -1
  46. package/dist/animations/reorder.js +2 -2
  47. package/dist/animations/reorder.mjs +1 -1
  48. package/dist/animations/reveal-blur.js +2 -2
  49. package/dist/animations/reveal-blur.mjs +1 -1
  50. package/dist/animations/reveal-down.js +2 -2
  51. package/dist/animations/reveal-down.mjs +1 -1
  52. package/dist/animations/reveal-left.js +2 -2
  53. package/dist/animations/reveal-left.mjs +1 -1
  54. package/dist/animations/reveal-right.js +2 -2
  55. package/dist/animations/reveal-right.mjs +1 -1
  56. package/dist/animations/reveal-up.js +2 -2
  57. package/dist/animations/reveal-up.mjs +1 -1
  58. package/dist/animations/rotate-in.js +2 -2
  59. package/dist/animations/rotate-in.mjs +1 -1
  60. package/dist/animations/scale-in.js +2 -2
  61. package/dist/animations/scale-in.mjs +1 -1
  62. package/dist/animations/scale-out.js +2 -2
  63. package/dist/animations/scale-out.mjs +1 -1
  64. package/dist/animations/shake.js +2 -2
  65. package/dist/animations/shake.mjs +1 -1
  66. package/dist/animations/shared/create-motion-animation.d.ts.map +1 -1
  67. package/dist/animations/shared/index.d.ts +1 -1
  68. package/dist/animations/shared/index.d.ts.map +1 -1
  69. package/dist/animations/shared/types.d.ts +3 -1
  70. package/dist/animations/shared/types.d.ts.map +1 -1
  71. package/dist/animations/skeleton-shimmer.js +2 -2
  72. package/dist/animations/skeleton-shimmer.mjs +1 -1
  73. package/dist/animations/slide-down.js +2 -2
  74. package/dist/animations/slide-down.mjs +1 -1
  75. package/dist/animations/slide-left.js +2 -2
  76. package/dist/animations/slide-left.mjs +1 -1
  77. package/dist/animations/slide-right.js +2 -2
  78. package/dist/animations/slide-right.mjs +1 -1
  79. package/dist/animations/slide-up.js +2 -2
  80. package/dist/animations/slide-up.mjs +1 -1
  81. package/dist/animations/spin.js +2 -2
  82. package/dist/animations/spin.mjs +1 -1
  83. package/dist/animations/text-reveal.js +2 -2
  84. package/dist/animations/text-reveal.mjs +1 -1
  85. package/dist/animations/text-shimmer.js +2 -2
  86. package/dist/animations/text-shimmer.mjs +1 -1
  87. package/dist/animations/tilt.js +2 -2
  88. package/dist/animations/tilt.mjs +1 -1
  89. package/dist/animations/wiggle.js +2 -2
  90. package/dist/animations/wiggle.mjs +1 -1
  91. package/dist/{chunk-AACGI7FX.mjs → chunk-7OVJXYSS.mjs} +16 -5
  92. package/dist/chunk-7OVJXYSS.mjs.map +1 -0
  93. package/dist/{chunk-VARQ7W4G.mjs → chunk-C6NA452Q.mjs} +43 -2
  94. package/dist/chunk-C6NA452Q.mjs.map +1 -0
  95. package/dist/{chunk-JFS5PJSH.js → chunk-OKCC7E36.js} +43 -2
  96. package/dist/chunk-OKCC7E36.js.map +1 -0
  97. package/dist/{chunk-ODZM25II.js → chunk-R5LL56ZO.js} +16 -5
  98. package/dist/chunk-R5LL56ZO.js.map +1 -0
  99. package/dist/ui/buttons/button-base.d.ts +1 -1
  100. package/dist/ui/buttons/button-base.d.ts.map +1 -1
  101. package/dist/ui/buttons/types.d.ts +16 -2
  102. package/dist/ui/buttons/types.d.ts.map +1 -1
  103. package/dist/ui/buttons.js +2 -2
  104. package/dist/ui/buttons.mjs +1 -1
  105. package/dist/ui/dynamic-stepper.js +3 -3
  106. package/dist/ui/dynamic-stepper.mjs +1 -1
  107. package/package.json +30 -1
  108. package/src/animations/animations.test.tsx +113 -1
  109. package/src/animations/shared/create-motion-animation.tsx +33 -3
  110. package/src/animations/shared/index.ts +5 -1
  111. package/src/animations/shared/types.ts +9 -1
  112. package/src/ui/buttons/button-base.tsx +53 -0
  113. package/src/ui/buttons/button.test.tsx +40 -0
  114. package/src/ui/buttons/types.ts +25 -2
  115. package/dist/chunk-AACGI7FX.mjs.map +0 -1
  116. package/dist/chunk-JFS5PJSH.js.map +0 -1
  117. package/dist/chunk-ODZM25II.js.map +0 -1
  118. package/dist/chunk-VARQ7W4G.mjs.map +0 -1
@@ -1,4 +1,4 @@
1
- import { createMotionAnimation } from '../chunk-AACGI7FX.mjs';
1
+ import { createMotionAnimation } from '../chunk-7OVJXYSS.mjs';
2
2
  import '../chunk-4D54YOL6.mjs';
3
3
 
4
4
  // src/animations/parallax/presets.ts
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkODZM25II_js = require('../chunk-ODZM25II.js');
3
+ var chunkR5LL56ZO_js = require('../chunk-R5LL56ZO.js');
4
4
  require('../chunk-ZS5756ZC.js');
5
5
 
6
6
  // src/animations/ping/presets.ts
@@ -17,7 +17,7 @@ var pingPreset = {
17
17
  };
18
18
 
19
19
  // src/animations/ping/ping.tsx
20
- var Ping = chunkODZM25II_js.createMotionAnimation("Ping", "animation-ping", pingPreset);
20
+ var Ping = chunkR5LL56ZO_js.createMotionAnimation("Ping", "animation-ping", pingPreset);
21
21
 
22
22
  exports.Ping = Ping;
23
23
  exports.pingPreset = pingPreset;
@@ -1,4 +1,4 @@
1
- import { createMotionAnimation } from '../chunk-AACGI7FX.mjs';
1
+ import { createMotionAnimation } from '../chunk-7OVJXYSS.mjs';
2
2
  import '../chunk-4D54YOL6.mjs';
3
3
 
4
4
  // src/animations/ping/presets.ts
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkODZM25II_js = require('../chunk-ODZM25II.js');
3
+ var chunkR5LL56ZO_js = require('../chunk-R5LL56ZO.js');
4
4
  require('../chunk-ZS5756ZC.js');
5
5
 
6
6
  // src/animations/pop-in/presets.ts
@@ -12,7 +12,7 @@ var popInPreset = {
12
12
  };
13
13
 
14
14
  // src/animations/pop-in/pop-in.tsx
15
- var PopIn = chunkODZM25II_js.createMotionAnimation(
15
+ var PopIn = chunkR5LL56ZO_js.createMotionAnimation(
16
16
  "PopIn",
17
17
  "animation-pop-in",
18
18
  popInPreset
@@ -1,4 +1,4 @@
1
- import { createMotionAnimation } from '../chunk-AACGI7FX.mjs';
1
+ import { createMotionAnimation } from '../chunk-7OVJXYSS.mjs';
2
2
  import '../chunk-4D54YOL6.mjs';
3
3
 
4
4
  // src/animations/pop-in/presets.ts
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkODZM25II_js = require('../chunk-ODZM25II.js');
3
+ var chunkR5LL56ZO_js = require('../chunk-R5LL56ZO.js');
4
4
  require('../chunk-ZS5756ZC.js');
5
5
 
6
6
  // src/animations/press/presets.ts
@@ -13,7 +13,7 @@ var pressPreset = {
13
13
  };
14
14
 
15
15
  // src/animations/press/press.tsx
16
- var Press = chunkODZM25II_js.createMotionAnimation(
16
+ var Press = chunkR5LL56ZO_js.createMotionAnimation(
17
17
  "Press",
18
18
  "animation-press",
19
19
  pressPreset
@@ -1,4 +1,4 @@
1
- import { createMotionAnimation } from '../chunk-AACGI7FX.mjs';
1
+ import { createMotionAnimation } from '../chunk-7OVJXYSS.mjs';
2
2
  import '../chunk-4D54YOL6.mjs';
3
3
 
4
4
  // src/animations/press/presets.ts
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkODZM25II_js = require('../chunk-ODZM25II.js');
3
+ var chunkR5LL56ZO_js = require('../chunk-R5LL56ZO.js');
4
4
  require('../chunk-ZS5756ZC.js');
5
5
 
6
6
  // src/animations/progress/presets.ts
@@ -12,7 +12,7 @@ var progressPreset = {
12
12
  };
13
13
 
14
14
  // src/animations/progress/progress.tsx
15
- var Progress = chunkODZM25II_js.createMotionAnimation(
15
+ var Progress = chunkR5LL56ZO_js.createMotionAnimation(
16
16
  "Progress",
17
17
  "animation-progress",
18
18
  progressPreset
@@ -1,4 +1,4 @@
1
- import { createMotionAnimation } from '../chunk-AACGI7FX.mjs';
1
+ import { createMotionAnimation } from '../chunk-7OVJXYSS.mjs';
2
2
  import '../chunk-4D54YOL6.mjs';
3
3
 
4
4
  // src/animations/progress/presets.ts
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkODZM25II_js = require('../chunk-ODZM25II.js');
3
+ var chunkR5LL56ZO_js = require('../chunk-R5LL56ZO.js');
4
4
  require('../chunk-ZS5756ZC.js');
5
5
 
6
6
  // src/animations/pulse/presets.ts
@@ -12,7 +12,7 @@ var pulsePreset = {
12
12
  };
13
13
 
14
14
  // src/animations/pulse/pulse.tsx
15
- var Pulse = chunkODZM25II_js.createMotionAnimation(
15
+ var Pulse = chunkR5LL56ZO_js.createMotionAnimation(
16
16
  "Pulse",
17
17
  "animation-pulse",
18
18
  pulsePreset
@@ -1,4 +1,4 @@
1
- import { createMotionAnimation } from '../chunk-AACGI7FX.mjs';
1
+ import { createMotionAnimation } from '../chunk-7OVJXYSS.mjs';
2
2
  import '../chunk-4D54YOL6.mjs';
3
3
 
4
4
  // src/animations/pulse/presets.ts
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkODZM25II_js = require('../chunk-ODZM25II.js');
3
+ var chunkR5LL56ZO_js = require('../chunk-R5LL56ZO.js');
4
4
  require('../chunk-ZS5756ZC.js');
5
5
 
6
6
  // src/animations/reorder/presets.ts
@@ -14,7 +14,7 @@ var reorderPreset = {
14
14
  };
15
15
 
16
16
  // src/animations/reorder/reorder.tsx
17
- var Reorder = chunkODZM25II_js.createMotionAnimation(
17
+ var Reorder = chunkR5LL56ZO_js.createMotionAnimation(
18
18
  "Reorder",
19
19
  "animation-reorder",
20
20
  reorderPreset
@@ -1,4 +1,4 @@
1
- import { createMotionAnimation } from '../chunk-AACGI7FX.mjs';
1
+ import { createMotionAnimation } from '../chunk-7OVJXYSS.mjs';
2
2
  import '../chunk-4D54YOL6.mjs';
3
3
 
4
4
  // src/animations/reorder/presets.ts
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkODZM25II_js = require('../chunk-ODZM25II.js');
3
+ var chunkR5LL56ZO_js = require('../chunk-R5LL56ZO.js');
4
4
  require('../chunk-ZS5756ZC.js');
5
5
 
6
6
  // src/animations/reveal-blur/presets.ts
@@ -12,7 +12,7 @@ var revealBlurPreset = {
12
12
  };
13
13
 
14
14
  // src/animations/reveal-blur/reveal-blur.tsx
15
- var RevealBlur = chunkODZM25II_js.createMotionAnimation(
15
+ var RevealBlur = chunkR5LL56ZO_js.createMotionAnimation(
16
16
  "RevealBlur",
17
17
  "animation-reveal-blur",
18
18
  revealBlurPreset
@@ -1,4 +1,4 @@
1
- import { createMotionAnimation } from '../chunk-AACGI7FX.mjs';
1
+ import { createMotionAnimation } from '../chunk-7OVJXYSS.mjs';
2
2
  import '../chunk-4D54YOL6.mjs';
3
3
 
4
4
  // src/animations/reveal-blur/presets.ts
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkODZM25II_js = require('../chunk-ODZM25II.js');
3
+ var chunkR5LL56ZO_js = require('../chunk-R5LL56ZO.js');
4
4
  require('../chunk-ZS5756ZC.js');
5
5
 
6
6
  // src/animations/reveal-down/presets.ts
@@ -12,7 +12,7 @@ var revealDownPreset = {
12
12
  };
13
13
 
14
14
  // src/animations/reveal-down/reveal-down.tsx
15
- var RevealDown = chunkODZM25II_js.createMotionAnimation(
15
+ var RevealDown = chunkR5LL56ZO_js.createMotionAnimation(
16
16
  "RevealDown",
17
17
  "animation-reveal-down",
18
18
  revealDownPreset
@@ -1,4 +1,4 @@
1
- import { createMotionAnimation } from '../chunk-AACGI7FX.mjs';
1
+ import { createMotionAnimation } from '../chunk-7OVJXYSS.mjs';
2
2
  import '../chunk-4D54YOL6.mjs';
3
3
 
4
4
  // src/animations/reveal-down/presets.ts
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkODZM25II_js = require('../chunk-ODZM25II.js');
3
+ var chunkR5LL56ZO_js = require('../chunk-R5LL56ZO.js');
4
4
  require('../chunk-ZS5756ZC.js');
5
5
 
6
6
  // src/animations/reveal-left/presets.ts
@@ -12,7 +12,7 @@ var revealLeftPreset = {
12
12
  };
13
13
 
14
14
  // src/animations/reveal-left/reveal-left.tsx
15
- var RevealLeft = chunkODZM25II_js.createMotionAnimation(
15
+ var RevealLeft = chunkR5LL56ZO_js.createMotionAnimation(
16
16
  "RevealLeft",
17
17
  "animation-reveal-left",
18
18
  revealLeftPreset
@@ -1,4 +1,4 @@
1
- import { createMotionAnimation } from '../chunk-AACGI7FX.mjs';
1
+ import { createMotionAnimation } from '../chunk-7OVJXYSS.mjs';
2
2
  import '../chunk-4D54YOL6.mjs';
3
3
 
4
4
  // src/animations/reveal-left/presets.ts
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkODZM25II_js = require('../chunk-ODZM25II.js');
3
+ var chunkR5LL56ZO_js = require('../chunk-R5LL56ZO.js');
4
4
  require('../chunk-ZS5756ZC.js');
5
5
 
6
6
  // src/animations/reveal-right/presets.ts
@@ -12,7 +12,7 @@ var revealRightPreset = {
12
12
  };
13
13
 
14
14
  // src/animations/reveal-right/reveal-right.tsx
15
- var RevealRight = chunkODZM25II_js.createMotionAnimation(
15
+ var RevealRight = chunkR5LL56ZO_js.createMotionAnimation(
16
16
  "RevealRight",
17
17
  "animation-reveal-right",
18
18
  revealRightPreset
@@ -1,4 +1,4 @@
1
- import { createMotionAnimation } from '../chunk-AACGI7FX.mjs';
1
+ import { createMotionAnimation } from '../chunk-7OVJXYSS.mjs';
2
2
  import '../chunk-4D54YOL6.mjs';
3
3
 
4
4
  // src/animations/reveal-right/presets.ts
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkODZM25II_js = require('../chunk-ODZM25II.js');
3
+ var chunkR5LL56ZO_js = require('../chunk-R5LL56ZO.js');
4
4
  require('../chunk-ZS5756ZC.js');
5
5
 
6
6
  // src/animations/reveal-up/presets.ts
@@ -12,7 +12,7 @@ var revealUpPreset = {
12
12
  };
13
13
 
14
14
  // src/animations/reveal-up/reveal-up.tsx
15
- var RevealUp = chunkODZM25II_js.createMotionAnimation(
15
+ var RevealUp = chunkR5LL56ZO_js.createMotionAnimation(
16
16
  "RevealUp",
17
17
  "animation-reveal-up",
18
18
  revealUpPreset
@@ -1,4 +1,4 @@
1
- import { createMotionAnimation } from '../chunk-AACGI7FX.mjs';
1
+ import { createMotionAnimation } from '../chunk-7OVJXYSS.mjs';
2
2
  import '../chunk-4D54YOL6.mjs';
3
3
 
4
4
  // src/animations/reveal-up/presets.ts
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkODZM25II_js = require('../chunk-ODZM25II.js');
3
+ var chunkR5LL56ZO_js = require('../chunk-R5LL56ZO.js');
4
4
  require('../chunk-ZS5756ZC.js');
5
5
 
6
6
  // src/animations/rotate-in/presets.ts
@@ -12,7 +12,7 @@ var rotateInPreset = {
12
12
  };
13
13
 
14
14
  // src/animations/rotate-in/rotate-in.tsx
15
- var RotateIn = chunkODZM25II_js.createMotionAnimation(
15
+ var RotateIn = chunkR5LL56ZO_js.createMotionAnimation(
16
16
  "RotateIn",
17
17
  "animation-rotate-in",
18
18
  rotateInPreset
@@ -1,4 +1,4 @@
1
- import { createMotionAnimation } from '../chunk-AACGI7FX.mjs';
1
+ import { createMotionAnimation } from '../chunk-7OVJXYSS.mjs';
2
2
  import '../chunk-4D54YOL6.mjs';
3
3
 
4
4
  // src/animations/rotate-in/presets.ts
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkODZM25II_js = require('../chunk-ODZM25II.js');
3
+ var chunkR5LL56ZO_js = require('../chunk-R5LL56ZO.js');
4
4
  require('../chunk-ZS5756ZC.js');
5
5
 
6
6
  // src/animations/scale-in/presets.ts
@@ -12,7 +12,7 @@ var scaleInPreset = {
12
12
  };
13
13
 
14
14
  // src/animations/scale-in/scale-in.tsx
15
- var ScaleIn = chunkODZM25II_js.createMotionAnimation(
15
+ var ScaleIn = chunkR5LL56ZO_js.createMotionAnimation(
16
16
  "ScaleIn",
17
17
  "animation-scale-in",
18
18
  scaleInPreset
@@ -1,4 +1,4 @@
1
- import { createMotionAnimation } from '../chunk-AACGI7FX.mjs';
1
+ import { createMotionAnimation } from '../chunk-7OVJXYSS.mjs';
2
2
  import '../chunk-4D54YOL6.mjs';
3
3
 
4
4
  // src/animations/scale-in/presets.ts
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkODZM25II_js = require('../chunk-ODZM25II.js');
3
+ var chunkR5LL56ZO_js = require('../chunk-R5LL56ZO.js');
4
4
  require('../chunk-ZS5756ZC.js');
5
5
 
6
6
  // src/animations/scale-out/presets.ts
@@ -12,7 +12,7 @@ var scaleOutPreset = {
12
12
  };
13
13
 
14
14
  // src/animations/scale-out/scale-out.tsx
15
- var ScaleOut = chunkODZM25II_js.createMotionAnimation(
15
+ var ScaleOut = chunkR5LL56ZO_js.createMotionAnimation(
16
16
  "ScaleOut",
17
17
  "animation-scale-out",
18
18
  scaleOutPreset
@@ -1,4 +1,4 @@
1
- import { createMotionAnimation } from '../chunk-AACGI7FX.mjs';
1
+ import { createMotionAnimation } from '../chunk-7OVJXYSS.mjs';
2
2
  import '../chunk-4D54YOL6.mjs';
3
3
 
4
4
  // src/animations/scale-out/presets.ts
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkODZM25II_js = require('../chunk-ODZM25II.js');
3
+ var chunkR5LL56ZO_js = require('../chunk-R5LL56ZO.js');
4
4
  require('../chunk-ZS5756ZC.js');
5
5
 
6
6
  // src/animations/shake/presets.ts
@@ -17,7 +17,7 @@ var shakePreset = {
17
17
  };
18
18
 
19
19
  // src/animations/shake/shake.tsx
20
- var Shake = chunkODZM25II_js.createMotionAnimation(
20
+ var Shake = chunkR5LL56ZO_js.createMotionAnimation(
21
21
  "Shake",
22
22
  "animation-shake",
23
23
  shakePreset
@@ -1,4 +1,4 @@
1
- import { createMotionAnimation } from '../chunk-AACGI7FX.mjs';
1
+ import { createMotionAnimation } from '../chunk-7OVJXYSS.mjs';
2
2
  import '../chunk-4D54YOL6.mjs';
3
3
 
4
4
  // src/animations/shake/presets.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-motion-animation.d.ts","sourceRoot":"","sources":["../../../src/animations/shared/create-motion-animation.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EACV,qBAAqB,EACrB,oBAAoB,EAErB,MAAM,SAAS,CAAC;AAyBjB,wBAAgB,qBAAqB,CACnC,WAAW,EAAE,MAAM,EACnB,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,qBAAqB;YAEG,oBAAoB;;EAgDrD"}
1
+ {"version":3,"file":"create-motion-animation.d.ts","sourceRoot":"","sources":["../../../src/animations/shared/create-motion-animation.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EACV,qBAAqB,EACrB,oBAAoB,EAErB,MAAM,SAAS,CAAC;AA+BjB,wBAAgB,qBAAqB,CACnC,WAAW,EAAE,MAAM,EACnB,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,qBAAqB;YAEG,oBAAoB;;EAwErD"}
@@ -1,3 +1,3 @@
1
1
  export { createMotionAnimation } from "./create-motion-animation";
2
- export type { MotionAnimationPreset, MotionAnimationProps } from "./types";
2
+ export type { MotionAnimationPreset, MotionAnimationProps, MotionAnimationWhileInView, } from "./types";
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/animations/shared/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAClE,YAAY,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/animations/shared/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAClE,YAAY,EACV,qBAAqB,EACrB,oBAAoB,EACpB,0BAA0B,GAC3B,MAAM,SAAS,CAAC"}
@@ -20,9 +20,11 @@ export type MotionAnimationTargetOverrides = {
20
20
  rotateY?: number | string;
21
21
  blur?: number | string;
22
22
  };
23
- export type MotionAnimationProps = HTMLMotionProps<"div"> & {
23
+ export type MotionAnimationWhileInView = true | HTMLMotionProps<"div">["whileInView"];
24
+ export type MotionAnimationProps = Omit<HTMLMotionProps<"div">, "whileInView"> & {
24
25
  from?: MotionAnimationTargetOverrides;
25
26
  to?: MotionAnimationTargetOverrides;
26
27
  exitTo?: MotionAnimationTargetOverrides;
28
+ whileInView?: MotionAnimationWhileInView;
27
29
  };
28
30
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/animations/shared/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,eAAe,EACf,mBAAmB,EACnB,UAAU,EACX,MAAM,eAAe,CAAC;AAEvB,MAAM,MAAM,qBAAqB,GAAG;IAClC,OAAO,EAAE,mBAAmB,CAAC;IAC7B,OAAO,EAAE,mBAAmB,CAAC;IAC7B,IAAI,CAAC,EAAE,mBAAmB,CAAC;IAC3B,MAAM,CAAC,EAAE,eAAe,CAAC,KAAK,CAAC,CAAC,QAAQ,CAAC,CAAC;IAC1C,UAAU,CAAC,EAAE,mBAAmB,CAAC;IACjC,QAAQ,CAAC,EAAE,mBAAmB,CAAC;IAC/B,UAAU,EAAE,UAAU,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,8BAA8B,GAAG;IAC3C,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC1B,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC1B,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,eAAe,CAAC,KAAK,CAAC,GAAG;IAC1D,IAAI,CAAC,EAAE,8BAA8B,CAAC;IACtC,EAAE,CAAC,EAAE,8BAA8B,CAAC;IACpC,MAAM,CAAC,EAAE,8BAA8B,CAAC;CACzC,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/animations/shared/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,eAAe,EACf,mBAAmB,EACnB,UAAU,EACX,MAAM,eAAe,CAAC;AAEvB,MAAM,MAAM,qBAAqB,GAAG;IAClC,OAAO,EAAE,mBAAmB,CAAC;IAC7B,OAAO,EAAE,mBAAmB,CAAC;IAC7B,IAAI,CAAC,EAAE,mBAAmB,CAAC;IAC3B,MAAM,CAAC,EAAE,eAAe,CAAC,KAAK,CAAC,CAAC,QAAQ,CAAC,CAAC;IAC1C,UAAU,CAAC,EAAE,mBAAmB,CAAC;IACjC,QAAQ,CAAC,EAAE,mBAAmB,CAAC;IAC/B,UAAU,EAAE,UAAU,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,8BAA8B,GAAG;IAC3C,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC1B,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC1B,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAClC,IAAI,GACJ,eAAe,CAAC,KAAK,CAAC,CAAC,aAAa,CAAC,CAAC;AAE1C,MAAM,MAAM,oBAAoB,GAAG,IAAI,CACrC,eAAe,CAAC,KAAK,CAAC,EACtB,aAAa,CACd,GAAG;IACF,IAAI,CAAC,EAAE,8BAA8B,CAAC;IACtC,EAAE,CAAC,EAAE,8BAA8B,CAAC;IACpC,MAAM,CAAC,EAAE,8BAA8B,CAAC;IACxC,WAAW,CAAC,EAAE,0BAA0B,CAAC;CAC1C,CAAC"}
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkODZM25II_js = require('../chunk-ODZM25II.js');
3
+ var chunkR5LL56ZO_js = require('../chunk-R5LL56ZO.js');
4
4
  require('../chunk-ZS5756ZC.js');
5
5
 
6
6
  // src/animations/skeleton-shimmer/presets.ts
@@ -12,7 +12,7 @@ var skeletonShimmerPreset = {
12
12
  };
13
13
 
14
14
  // src/animations/skeleton-shimmer/skeleton-shimmer.tsx
15
- var SkeletonShimmer = chunkODZM25II_js.createMotionAnimation(
15
+ var SkeletonShimmer = chunkR5LL56ZO_js.createMotionAnimation(
16
16
  "SkeletonShimmer",
17
17
  "animation-skeleton-shimmer",
18
18
  skeletonShimmerPreset
@@ -1,4 +1,4 @@
1
- import { createMotionAnimation } from '../chunk-AACGI7FX.mjs';
1
+ import { createMotionAnimation } from '../chunk-7OVJXYSS.mjs';
2
2
  import '../chunk-4D54YOL6.mjs';
3
3
 
4
4
  // src/animations/skeleton-shimmer/presets.ts
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkODZM25II_js = require('../chunk-ODZM25II.js');
3
+ var chunkR5LL56ZO_js = require('../chunk-R5LL56ZO.js');
4
4
  require('../chunk-ZS5756ZC.js');
5
5
 
6
6
  // src/animations/slide-down/presets.ts
@@ -12,7 +12,7 @@ var slideDownPreset = {
12
12
  };
13
13
 
14
14
  // src/animations/slide-down/slide-down.tsx
15
- var SlideDown = chunkODZM25II_js.createMotionAnimation(
15
+ var SlideDown = chunkR5LL56ZO_js.createMotionAnimation(
16
16
  "SlideDown",
17
17
  "animation-slide-down",
18
18
  slideDownPreset
@@ -1,4 +1,4 @@
1
- import { createMotionAnimation } from '../chunk-AACGI7FX.mjs';
1
+ import { createMotionAnimation } from '../chunk-7OVJXYSS.mjs';
2
2
  import '../chunk-4D54YOL6.mjs';
3
3
 
4
4
  // src/animations/slide-down/presets.ts
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkODZM25II_js = require('../chunk-ODZM25II.js');
3
+ var chunkR5LL56ZO_js = require('../chunk-R5LL56ZO.js');
4
4
  require('../chunk-ZS5756ZC.js');
5
5
 
6
6
  // src/animations/slide-left/presets.ts
@@ -12,7 +12,7 @@ var slideLeftPreset = {
12
12
  };
13
13
 
14
14
  // src/animations/slide-left/slide-left.tsx
15
- var SlideLeft = chunkODZM25II_js.createMotionAnimation(
15
+ var SlideLeft = chunkR5LL56ZO_js.createMotionAnimation(
16
16
  "SlideLeft",
17
17
  "animation-slide-left",
18
18
  slideLeftPreset
@@ -1,4 +1,4 @@
1
- import { createMotionAnimation } from '../chunk-AACGI7FX.mjs';
1
+ import { createMotionAnimation } from '../chunk-7OVJXYSS.mjs';
2
2
  import '../chunk-4D54YOL6.mjs';
3
3
 
4
4
  // src/animations/slide-left/presets.ts
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkODZM25II_js = require('../chunk-ODZM25II.js');
3
+ var chunkR5LL56ZO_js = require('../chunk-R5LL56ZO.js');
4
4
  require('../chunk-ZS5756ZC.js');
5
5
 
6
6
  // src/animations/slide-right/presets.ts
@@ -12,7 +12,7 @@ var slideRightPreset = {
12
12
  };
13
13
 
14
14
  // src/animations/slide-right/slide-right.tsx
15
- var SlideRight = chunkODZM25II_js.createMotionAnimation(
15
+ var SlideRight = chunkR5LL56ZO_js.createMotionAnimation(
16
16
  "SlideRight",
17
17
  "animation-slide-right",
18
18
  slideRightPreset
@@ -1,4 +1,4 @@
1
- import { createMotionAnimation } from '../chunk-AACGI7FX.mjs';
1
+ import { createMotionAnimation } from '../chunk-7OVJXYSS.mjs';
2
2
  import '../chunk-4D54YOL6.mjs';
3
3
 
4
4
  // src/animations/slide-right/presets.ts
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkODZM25II_js = require('../chunk-ODZM25II.js');
3
+ var chunkR5LL56ZO_js = require('../chunk-R5LL56ZO.js');
4
4
  require('../chunk-ZS5756ZC.js');
5
5
 
6
6
  // src/animations/slide-up/presets.ts
@@ -12,7 +12,7 @@ var slideUpPreset = {
12
12
  };
13
13
 
14
14
  // src/animations/slide-up/slide-up.tsx
15
- var SlideUp = chunkODZM25II_js.createMotionAnimation(
15
+ var SlideUp = chunkR5LL56ZO_js.createMotionAnimation(
16
16
  "SlideUp",
17
17
  "animation-slide-up",
18
18
  slideUpPreset
@@ -1,4 +1,4 @@
1
- import { createMotionAnimation } from '../chunk-AACGI7FX.mjs';
1
+ import { createMotionAnimation } from '../chunk-7OVJXYSS.mjs';
2
2
  import '../chunk-4D54YOL6.mjs';
3
3
 
4
4
  // src/animations/slide-up/presets.ts
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkODZM25II_js = require('../chunk-ODZM25II.js');
3
+ var chunkR5LL56ZO_js = require('../chunk-R5LL56ZO.js');
4
4
  require('../chunk-ZS5756ZC.js');
5
5
 
6
6
  // src/animations/spin/presets.ts
@@ -12,7 +12,7 @@ var spinPreset = {
12
12
  };
13
13
 
14
14
  // src/animations/spin/spin.tsx
15
- var Spin = chunkODZM25II_js.createMotionAnimation("Spin", "animation-spin", spinPreset);
15
+ var Spin = chunkR5LL56ZO_js.createMotionAnimation("Spin", "animation-spin", spinPreset);
16
16
 
17
17
  exports.Spin = Spin;
18
18
  exports.spinPreset = spinPreset;
@@ -1,4 +1,4 @@
1
- import { createMotionAnimation } from '../chunk-AACGI7FX.mjs';
1
+ import { createMotionAnimation } from '../chunk-7OVJXYSS.mjs';
2
2
  import '../chunk-4D54YOL6.mjs';
3
3
 
4
4
  // src/animations/spin/presets.ts
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkODZM25II_js = require('../chunk-ODZM25II.js');
3
+ var chunkR5LL56ZO_js = require('../chunk-R5LL56ZO.js');
4
4
  require('../chunk-ZS5756ZC.js');
5
5
 
6
6
  // src/animations/text-reveal/presets.ts
@@ -12,7 +12,7 @@ var textRevealPreset = {
12
12
  };
13
13
 
14
14
  // src/animations/text-reveal/text-reveal.tsx
15
- var TextReveal = chunkODZM25II_js.createMotionAnimation(
15
+ var TextReveal = chunkR5LL56ZO_js.createMotionAnimation(
16
16
  "TextReveal",
17
17
  "animation-text-reveal",
18
18
  textRevealPreset
@@ -1,4 +1,4 @@
1
- import { createMotionAnimation } from '../chunk-AACGI7FX.mjs';
1
+ import { createMotionAnimation } from '../chunk-7OVJXYSS.mjs';
2
2
  import '../chunk-4D54YOL6.mjs';
3
3
 
4
4
  // src/animations/text-reveal/presets.ts
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkODZM25II_js = require('../chunk-ODZM25II.js');
3
+ var chunkR5LL56ZO_js = require('../chunk-R5LL56ZO.js');
4
4
  require('../chunk-ZS5756ZC.js');
5
5
 
6
6
  // src/animations/text-shimmer/presets.ts
@@ -12,7 +12,7 @@ var textShimmerPreset = {
12
12
  };
13
13
 
14
14
  // src/animations/text-shimmer/text-shimmer.tsx
15
- var TextShimmer = chunkODZM25II_js.createMotionAnimation(
15
+ var TextShimmer = chunkR5LL56ZO_js.createMotionAnimation(
16
16
  "TextShimmer",
17
17
  "animation-text-shimmer",
18
18
  textShimmerPreset
@@ -1,4 +1,4 @@
1
- import { createMotionAnimation } from '../chunk-AACGI7FX.mjs';
1
+ import { createMotionAnimation } from '../chunk-7OVJXYSS.mjs';
2
2
  import '../chunk-4D54YOL6.mjs';
3
3
 
4
4
  // src/animations/text-shimmer/presets.ts