react-awesome-reveal 4.2.11 → 4.2.13

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 (90) hide show
  1. package/dist/animations/attention_seekers/bounce.d.ts +1 -1
  2. package/dist/animations/attention_seekers/flash.d.ts +1 -1
  3. package/dist/animations/attention_seekers/headShake.d.ts +1 -1
  4. package/dist/animations/attention_seekers/heartBeat.d.ts +1 -1
  5. package/dist/animations/attention_seekers/jello.d.ts +1 -1
  6. package/dist/animations/attention_seekers/pulse.d.ts +1 -1
  7. package/dist/animations/attention_seekers/rubberBand.d.ts +1 -1
  8. package/dist/animations/attention_seekers/shake.d.ts +1 -1
  9. package/dist/animations/attention_seekers/shakeX.d.ts +1 -1
  10. package/dist/animations/attention_seekers/shakeY.d.ts +1 -1
  11. package/dist/animations/attention_seekers/swing.d.ts +1 -1
  12. package/dist/animations/attention_seekers/tada.d.ts +1 -1
  13. package/dist/animations/attention_seekers/wobble.d.ts +1 -1
  14. package/dist/animations/bouncing_entrances/bounceIn.d.ts +1 -1
  15. package/dist/animations/bouncing_entrances/bounceInDown.d.ts +1 -1
  16. package/dist/animations/bouncing_entrances/bounceInLeft.d.ts +1 -1
  17. package/dist/animations/bouncing_entrances/bounceInRight.d.ts +1 -1
  18. package/dist/animations/bouncing_entrances/bounceInUp.d.ts +1 -1
  19. package/dist/animations/bouncing_exits/bounceOut.d.ts +1 -1
  20. package/dist/animations/bouncing_exits/bounceOutDown.d.ts +1 -1
  21. package/dist/animations/bouncing_exits/bounceOutLeft.d.ts +1 -1
  22. package/dist/animations/bouncing_exits/bounceOutRight.d.ts +1 -1
  23. package/dist/animations/bouncing_exits/bounceOutUp.d.ts +1 -1
  24. package/dist/animations/fading_entrances/fadeIn.d.ts +1 -1
  25. package/dist/animations/fading_entrances/fadeInBottomLeft.d.ts +1 -1
  26. package/dist/animations/fading_entrances/fadeInBottomRight.d.ts +1 -1
  27. package/dist/animations/fading_entrances/fadeInDown.d.ts +1 -1
  28. package/dist/animations/fading_entrances/fadeInDownBig.d.ts +1 -1
  29. package/dist/animations/fading_entrances/fadeInLeft.d.ts +1 -1
  30. package/dist/animations/fading_entrances/fadeInLeftBig.d.ts +1 -1
  31. package/dist/animations/fading_entrances/fadeInRight.d.ts +1 -1
  32. package/dist/animations/fading_entrances/fadeInRightBig.d.ts +1 -1
  33. package/dist/animations/fading_entrances/fadeInTopLeft.d.ts +1 -1
  34. package/dist/animations/fading_entrances/fadeInTopRight.d.ts +1 -1
  35. package/dist/animations/fading_entrances/fadeInUp.d.ts +1 -1
  36. package/dist/animations/fading_entrances/fadeInUpBig.d.ts +1 -1
  37. package/dist/animations/fading_exits/fadeOut.d.ts +1 -1
  38. package/dist/animations/fading_exits/fadeOutBottomLeft.d.ts +1 -1
  39. package/dist/animations/fading_exits/fadeOutBottomRight.d.ts +1 -1
  40. package/dist/animations/fading_exits/fadeOutDown.d.ts +1 -1
  41. package/dist/animations/fading_exits/fadeOutDownBig.d.ts +1 -1
  42. package/dist/animations/fading_exits/fadeOutLeft.d.ts +1 -1
  43. package/dist/animations/fading_exits/fadeOutLeftBig.d.ts +1 -1
  44. package/dist/animations/fading_exits/fadeOutRight.d.ts +1 -1
  45. package/dist/animations/fading_exits/fadeOutRightBig.d.ts +1 -1
  46. package/dist/animations/fading_exits/fadeOutTopLeft.d.ts +1 -1
  47. package/dist/animations/fading_exits/fadeOutTopRight.d.ts +1 -1
  48. package/dist/animations/fading_exits/fadeOutUp.d.ts +1 -1
  49. package/dist/animations/fading_exits/fadeOutUpBig.d.ts +1 -1
  50. package/dist/animations/flippers/flip.d.ts +1 -1
  51. package/dist/animations/flippers/flipInX.d.ts +1 -1
  52. package/dist/animations/flippers/flipInY.d.ts +1 -1
  53. package/dist/animations/flippers/flipOutX.d.ts +1 -1
  54. package/dist/animations/flippers/flipOutY.d.ts +1 -1
  55. package/dist/animations/rotating_entrances/rotateIn.d.ts +1 -1
  56. package/dist/animations/rotating_entrances/rotateInDownLeft.d.ts +1 -1
  57. package/dist/animations/rotating_entrances/rotateInDownRight.d.ts +1 -1
  58. package/dist/animations/rotating_entrances/rotateInUpLeft.d.ts +1 -1
  59. package/dist/animations/rotating_entrances/rotateInUpRight.d.ts +1 -1
  60. package/dist/animations/rotating_exits/rotateOut.d.ts +1 -1
  61. package/dist/animations/rotating_exits/rotateOutDownLeft.d.ts +1 -1
  62. package/dist/animations/rotating_exits/rotateOutDownRight.d.ts +1 -1
  63. package/dist/animations/rotating_exits/rotateOutUpLeft.d.ts +1 -1
  64. package/dist/animations/rotating_exits/rotateOutUpRight.d.ts +1 -1
  65. package/dist/animations/sliding_entrances/slideInDown.d.ts +1 -1
  66. package/dist/animations/sliding_entrances/slideInLeft.d.ts +1 -1
  67. package/dist/animations/sliding_entrances/slideInRight.d.ts +1 -1
  68. package/dist/animations/sliding_entrances/slideInUp.d.ts +1 -1
  69. package/dist/animations/sliding_exits/slideOutDown.d.ts +1 -1
  70. package/dist/animations/sliding_exits/slideOutLeft.d.ts +1 -1
  71. package/dist/animations/sliding_exits/slideOutRight.d.ts +1 -1
  72. package/dist/animations/sliding_exits/slideOutUp.d.ts +1 -1
  73. package/dist/animations/specials/hinge.d.ts +1 -1
  74. package/dist/animations/specials/jackInTheBox.d.ts +1 -1
  75. package/dist/animations/specials/rollIn.d.ts +1 -1
  76. package/dist/animations/specials/rollOut.d.ts +1 -1
  77. package/dist/animations/zooming_entrances/zoomIn.d.ts +1 -1
  78. package/dist/animations/zooming_entrances/zoomInDown.d.ts +1 -1
  79. package/dist/animations/zooming_entrances/zoomInLeft.d.ts +1 -1
  80. package/dist/animations/zooming_entrances/zoomInRight.d.ts +1 -1
  81. package/dist/animations/zooming_entrances/zoomInUp.d.ts +1 -1
  82. package/dist/animations/zooming_exits/zoomOut.d.ts +1 -1
  83. package/dist/animations/zooming_exits/zoomOutDown.d.ts +1 -1
  84. package/dist/animations/zooming_exits/zoomOutLeft.d.ts +1 -1
  85. package/dist/animations/zooming_exits/zoomOutRight.d.ts +1 -1
  86. package/dist/animations/zooming_exits/zoomOutUp.d.ts +1 -1
  87. package/dist/index.cjs +2 -4
  88. package/dist/index.js +2 -4
  89. package/dist/utils/animations.d.ts +1 -2
  90. package/package.json +7 -7
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/attention_seekers/bounce.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/attention_seekers/flash.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/attention_seekers/headShake.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/attention_seekers/heartBeat.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/attention_seekers/jello.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/attention_seekers/pulse.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/attention_seekers/rubberBand.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/attention_seekers/shake.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/attention_seekers/shakeX.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/attention_seekers/shakeY.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/attention_seekers/swing.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/attention_seekers/tada.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/attention_seekers/wobble.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/bouncing_entrances/bounceIn.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/bouncing_entrances/bounceInDown.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/bouncing_entrances/bounceInLeft.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/bouncing_entrances/bounceInRight.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/bouncing_entrances/bounceInUp.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/bouncing_exits/bounceOut.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/bouncing_exits/bounceOutDown.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/bouncing_exits/bounceOutLeft.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/bouncing_exits/bounceOutRight.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/bouncing_exits/bounceOutUp.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/fading_entrances/fadeIn.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/fading_entrances/fadeInBottomLeft.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/fading_entrances/fadeInBottomRight.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/fading_entrances/fadeInDown.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/fading_entrances/fadeInDownBig.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/fading_entrances/fadeInLeft.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/fading_entrances/fadeInLeftBig.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/fading_entrances/fadeInRight.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/fading_entrances/fadeInRightBig.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/fading_entrances/fadeInTopLeft.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/fading_entrances/fadeInTopRight.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/fading_entrances/fadeInUp.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/fading_entrances/fadeInUpBig.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/fading_exits/fadeOut.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/fading_exits/fadeOutBottomLeft.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/fading_exits/fadeOutBottomRight.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/fading_exits/fadeOutDown.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/fading_exits/fadeOutDownBig.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/fading_exits/fadeOutLeft.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/fading_exits/fadeOutLeftBig.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/fading_exits/fadeOutRight.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/fading_exits/fadeOutRightBig.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/fading_exits/fadeOutTopLeft.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/fading_exits/fadeOutTopRight.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/fading_exits/fadeOutUp.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/fading_exits/fadeOutUpBig.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/flippers/flip.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/flippers/flipInX.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/flippers/flipInY.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/flippers/flipOutX.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/flippers/flipOutY.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/rotating_entrances/rotateIn.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/rotating_entrances/rotateInDownLeft.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/rotating_entrances/rotateInDownRight.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/rotating_entrances/rotateInUpLeft.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/rotating_entrances/rotateInUpRight.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/rotating_exits/rotateOut.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/rotating_exits/rotateOutDownLeft.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/rotating_exits/rotateOutDownRight.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/rotating_exits/rotateOutUpLeft.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/rotating_exits/rotateOutUpRight.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/sliding_entrances/slideInDown.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/sliding_entrances/slideInLeft.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/sliding_entrances/slideInRight.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/sliding_entrances/slideInUp.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/sliding_exits/slideOutDown.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/sliding_exits/slideOutLeft.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/sliding_exits/slideOutRight.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/sliding_exits/slideOutUp.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/specials/hinge.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/specials/jackInTheBox.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/specials/rollIn.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/specials/rollOut.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/zooming_entrances/zoomIn.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/zooming_entrances/zoomInDown.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/zooming_entrances/zoomInLeft.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/zooming_entrances/zoomInRight.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/zooming_entrances/zoomInUp.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/zooming_exits/zoomOut.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/zooming_exits/zoomOutDown.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/zooming_exits/zoomOutLeft.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/zooming_exits/zoomOutRight.css}
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
1
+ import { Keyframes } from '@emotion/react';
2
2
  /**
3
3
  * @see {@link https://github.com/animate-css/animate.css/blob/master/source/zooming_exits/zoomOutUp.css}
4
4
  */
package/dist/index.cjs CHANGED
@@ -541,15 +541,13 @@ const Reveal = (props) => {
541
541
  }),
542
542
  [duration, keyframes]
543
543
  );
544
- if (isNullable(children))
545
- return null;
544
+ if (isNullable(children)) return null;
546
545
  if (isStringLike(children))
547
546
  return /* @__PURE__ */ jsxRuntime.jsx(TextReveal, { ...props, animationStyles, children: String(children) });
548
547
  if (reactIs.isFragment(children))
549
548
  return /* @__PURE__ */ jsxRuntime.jsx(FragmentReveal, { ...props, animationStyles });
550
549
  return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: react$1.Children.map(children, (node, index) => {
551
- if (!react$1.isValidElement(node))
552
- return null;
550
+ if (!react$1.isValidElement(node)) return null;
553
551
  const nodeDelay = delay + (cascade ? index * duration * damping : 0);
554
552
  switch (node.type) {
555
553
  case "ol":
package/dist/index.js CHANGED
@@ -537,15 +537,13 @@ const Reveal = (props) => {
537
537
  }),
538
538
  [duration, keyframes]
539
539
  );
540
- if (isNullable(children))
541
- return null;
540
+ if (isNullable(children)) return null;
542
541
  if (isStringLike(children))
543
542
  return /* @__PURE__ */ jsx(TextReveal, { ...props, animationStyles, children: String(children) });
544
543
  if (isFragment(children))
545
544
  return /* @__PURE__ */ jsx(FragmentReveal, { ...props, animationStyles });
546
545
  return /* @__PURE__ */ jsx(Fragment, { children: Children.map(children, (node, index) => {
547
- if (!isValidElement(node))
548
- return null;
546
+ if (!isValidElement(node)) return null;
549
547
  const nodeDelay = delay + (cascade ? index * duration * damping : 0);
550
548
  switch (node.type) {
551
549
  case "ol":
@@ -1,5 +1,4 @@
1
- import { Keyframes } from '@emotion/serialize';
2
- import { SerializedStyles } from '@emotion/react';
1
+ import { Keyframes, SerializedStyles } from '@emotion/react';
3
2
  export declare function getAnimationCss({ duration, delay, timingFunction, keyframes, iterationCount, }: {
4
3
  duration?: number | undefined;
5
4
  delay?: number | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "react-awesome-reveal",
3
3
  "description": "React components to add reveal animations using the Intersection Observer API and CSS Animations.",
4
- "version": "4.2.11",
4
+ "version": "4.2.13",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "types": "dist/index.d.ts",
@@ -61,18 +61,18 @@
61
61
  "react": ">=16.14.0"
62
62
  },
63
63
  "devDependencies": {
64
- "@emotion/react": "^11.11.4",
65
- "@emotion/serialize": "^1.1.4",
66
- "@types/react": "^18.3.2",
64
+ "@emotion/react": "^11.13.0",
65
+ "@emotion/serialize": "^1.3.0",
66
+ "@types/react": "^18.3.3",
67
67
  "@types/react-dom": "^18.3.0",
68
68
  "@types/react-is": "^18.3.0",
69
- "@vitejs/plugin-react": "^4.2.1",
69
+ "@vitejs/plugin-react": "^4.3.1",
70
70
  "react": "^18.3.1",
71
- "vite": "^5.2.11",
71
+ "vite": "^5.3.4",
72
72
  "vite-plugin-dts": "3.9.1"
73
73
  },
74
74
  "dependencies": {
75
- "react-intersection-observer": "^9.10.2",
75
+ "react-intersection-observer": "^9.13.0",
76
76
  "react-is": "^18.3.1"
77
77
  },
78
78
  "scripts": {