react-awesome-reveal 4.2.8 → 4.2.9

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/dist/Reveal.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
2
- import type { Keyframes } from "@emotion/serialize";
1
+ import { Keyframes } from '@emotion/serialize';
2
+
3
3
  export interface RevealProps {
4
4
  /**
5
5
  * Stagger its children animations.
@@ -1,13 +1,13 @@
1
- export * from "./bounce";
2
- export * from "./flash";
3
- export * from "./headShake";
4
- export * from "./heartBeat";
5
- export * from "./jello";
6
- export * from "./pulse";
7
- export * from "./rubberBand";
8
- export * from "./shake";
9
- export * from "./shakeX";
10
- export * from "./shakeY";
11
- export * from "./swing";
12
- export * from "./tada";
13
- export * from "./wobble";
1
+ export * from './bounce';
2
+ export * from './flash';
3
+ export * from './headShake';
4
+ export * from './heartBeat';
5
+ export * from './jello';
6
+ export * from './pulse';
7
+ export * from './rubberBand';
8
+ export * from './shake';
9
+ export * from './shakeX';
10
+ export * from './shakeY';
11
+ export * from './swing';
12
+ export * from './tada';
13
+ export * from './wobble';
@@ -1,5 +1,5 @@
1
- export * from "./bounceIn";
2
- export * from "./bounceInDown";
3
- export * from "./bounceInLeft";
4
- export * from "./bounceInRight";
5
- export * from "./bounceInUp";
1
+ export * from './bounceIn';
2
+ export * from './bounceInDown';
3
+ export * from './bounceInLeft';
4
+ export * from './bounceInRight';
5
+ export * from './bounceInUp';
@@ -1,5 +1,5 @@
1
- export * from "./bounceOut";
2
- export * from "./bounceOutDown";
3
- export * from "./bounceOutLeft";
4
- export * from "./bounceOutRight";
5
- export * from "./bounceOutUp";
1
+ export * from './bounceOut';
2
+ export * from './bounceOutDown';
3
+ export * from './bounceOutLeft';
4
+ export * from './bounceOutRight';
5
+ export * from './bounceOutUp';
@@ -1,13 +1,13 @@
1
- export * from "./fadeIn";
2
- export * from "./fadeInBottomLeft";
3
- export * from "./fadeInBottomRight";
4
- export * from "./fadeInDown";
5
- export * from "./fadeInDownBig";
6
- export * from "./fadeInLeft";
7
- export * from "./fadeInLeftBig";
8
- export * from "./fadeInRight";
9
- export * from "./fadeInRightBig";
10
- export * from "./fadeInTopLeft";
11
- export * from "./fadeInTopRight";
12
- export * from "./fadeInUp";
13
- export * from "./fadeInUpBig";
1
+ export * from './fadeIn';
2
+ export * from './fadeInBottomLeft';
3
+ export * from './fadeInBottomRight';
4
+ export * from './fadeInDown';
5
+ export * from './fadeInDownBig';
6
+ export * from './fadeInLeft';
7
+ export * from './fadeInLeftBig';
8
+ export * from './fadeInRight';
9
+ export * from './fadeInRightBig';
10
+ export * from './fadeInTopLeft';
11
+ export * from './fadeInTopRight';
12
+ export * from './fadeInUp';
13
+ export * from './fadeInUpBig';
@@ -1,13 +1,13 @@
1
- export * from "./fadeOut";
2
- export * from "./fadeOutBottomLeft";
3
- export * from "./fadeOutBottomRight";
4
- export * from "./fadeOutDown";
5
- export * from "./fadeOutDownBig";
6
- export * from "./fadeOutLeft";
7
- export * from "./fadeOutLeftBig";
8
- export * from "./fadeOutRight";
9
- export * from "./fadeOutRightBig";
10
- export * from "./fadeOutTopLeft";
11
- export * from "./fadeOutTopRight";
12
- export * from "./fadeOutUp";
13
- export * from "./fadeOutUpBig";
1
+ export * from './fadeOut';
2
+ export * from './fadeOutBottomLeft';
3
+ export * from './fadeOutBottomRight';
4
+ export * from './fadeOutDown';
5
+ export * from './fadeOutDownBig';
6
+ export * from './fadeOutLeft';
7
+ export * from './fadeOutLeftBig';
8
+ export * from './fadeOutRight';
9
+ export * from './fadeOutRightBig';
10
+ export * from './fadeOutTopLeft';
11
+ export * from './fadeOutTopRight';
12
+ export * from './fadeOutUp';
13
+ export * from './fadeOutUpBig';
@@ -1,5 +1,5 @@
1
- export * from "./flip";
2
- export * from "./flipInX";
3
- export * from "./flipInY";
4
- export * from "./flipOutX";
5
- export * from "./flipOutY";
1
+ export * from './flip';
2
+ export * from './flipInX';
3
+ export * from './flipInY';
4
+ export * from './flipOutX';
5
+ export * from './flipOutY';
@@ -1,5 +1,5 @@
1
- export * from "./rotateIn";
2
- export * from "./rotateInDownLeft";
3
- export * from "./rotateInDownRight";
4
- export * from "./rotateInUpLeft";
5
- export * from "./rotateInUpRight";
1
+ export * from './rotateIn';
2
+ export * from './rotateInDownLeft';
3
+ export * from './rotateInDownRight';
4
+ export * from './rotateInUpLeft';
5
+ export * from './rotateInUpRight';
@@ -1,5 +1,5 @@
1
- export * from "./rotateOut";
2
- export * from "./rotateOutDownLeft";
3
- export * from "./rotateOutDownRight";
4
- export * from "./rotateOutUpLeft";
5
- export * from "./rotateOutUpRight";
1
+ export * from './rotateOut';
2
+ export * from './rotateOutDownLeft';
3
+ export * from './rotateOutDownRight';
4
+ export * from './rotateOutUpLeft';
5
+ export * from './rotateOutUpRight';
@@ -1,4 +1,4 @@
1
- export * from "./slideInDown";
2
- export * from "./slideInLeft";
3
- export * from "./slideInRight";
4
- export * from "./slideInUp";
1
+ export * from './slideInDown';
2
+ export * from './slideInLeft';
3
+ export * from './slideInRight';
4
+ export * from './slideInUp';
@@ -1,4 +1,4 @@
1
- export * from "./slideOutDown";
2
- export * from "./slideOutLeft";
3
- export * from "./slideOutRight";
4
- export * from "./slideOutUp";
1
+ export * from './slideOutDown';
2
+ export * from './slideOutLeft';
3
+ export * from './slideOutRight';
4
+ export * from './slideOutUp';
@@ -1,4 +1,4 @@
1
- export * from "./hinge";
2
- export * from "./jackInTheBox";
3
- export * from "./rollIn";
4
- export * from "./rollOut";
1
+ export * from './hinge';
2
+ export * from './jackInTheBox';
3
+ export * from './rollIn';
4
+ export * from './rollOut';
@@ -1,5 +1,5 @@
1
- export * from "./zoomIn";
2
- export * from "./zoomInDown";
3
- export * from "./zoomInLeft";
4
- export * from "./zoomInRight";
5
- export * from "./zoomInUp";
1
+ export * from './zoomIn';
2
+ export * from './zoomInDown';
3
+ export * from './zoomInLeft';
4
+ export * from './zoomInRight';
5
+ export * from './zoomInUp';
@@ -1,5 +1,5 @@
1
- export * from "./zoomOut";
2
- export * from "./zoomOutDown";
3
- export * from "./zoomOutLeft";
4
- export * from "./zoomOutRight";
5
- export * from "./zoomOutUp";
1
+ export * from './zoomOut';
2
+ export * from './zoomOutDown';
3
+ export * from './zoomOutLeft';
4
+ export * from './zoomOutRight';
5
+ export * from './zoomOutUp';
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
2
- import { type RevealProps } from "../Reveal";
1
+ import { RevealProps } from '../Reveal';
2
+
3
3
  type AttentionSeekerEffect = "bounce" | "flash" | "headShake" | "heartBeat" | "jello" | "pulse" | "rubberBand" | "shake" | "shakeX" | "shakeY" | "swing" | "tada" | "wobble";
4
4
  export interface AttentionSeekerProps extends Omit<RevealProps, "keyframes"> {
5
5
  /**
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
2
- import { type RevealProps } from "../Reveal";
1
+ import { RevealProps } from '../Reveal';
2
+
3
3
  type BounceDirection = "down" | "left" | "right" | "up";
4
4
  export interface BounceProps extends Omit<RevealProps, "keyframes"> {
5
5
  /**
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
2
- import { type RevealProps } from "../Reveal";
1
+ import { RevealProps } from '../Reveal';
2
+
3
3
  type FadeDirection = "bottom-left" | "bottom-right" | "down" | "left" | "right" | "top-left" | "top-right" | "up";
4
4
  export interface FadeProps extends Omit<RevealProps, "keyframes"> {
5
5
  /**
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
2
- import { type RevealProps } from "../Reveal";
1
+ import { RevealProps } from '../Reveal';
2
+
3
3
  type FlipDirection = "horizontal" | "vertical";
4
4
  export interface FlipProps extends Omit<RevealProps, "keyframes"> {
5
5
  /**
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
2
- import { type RevealProps } from "../Reveal";
1
+ import { RevealProps } from '../Reveal';
2
+
3
3
  export type HingeProps = Omit<RevealProps, "keyframes">;
4
4
  export declare const Hinge: React.FC<HingeProps>;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
2
- import { type RevealProps } from "../Reveal";
1
+ import { RevealProps } from '../Reveal';
2
+
3
3
  export type JackInTheBoxProps = Omit<RevealProps, "keyframes">;
4
4
  export declare const JackInTheBox: React.FC<JackInTheBoxProps>;
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
2
- import { type RevealProps } from "../Reveal";
1
+ import { RevealProps } from '../Reveal';
2
+
3
3
  export interface RollProps extends Omit<RevealProps, "keyframes"> {
4
4
  /**
5
5
  * Specifies if the animation should make element(s) disappear.
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
2
- import { type RevealProps } from "../Reveal";
1
+ import { RevealProps } from '../Reveal';
2
+
3
3
  type RotateDirection = "bottom-left" | "bottom-right" | "top-left" | "top-right";
4
4
  export interface RotateProps extends Omit<RevealProps, "keyframes"> {
5
5
  /**
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
2
- import { type RevealProps } from "../Reveal";
1
+ import { RevealProps } from '../Reveal';
2
+
3
3
  type SlideDirection = "down" | "left" | "right" | "up";
4
4
  export interface SlideProps extends Omit<RevealProps, "keyframes"> {
5
5
  /**
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
2
- import { type RevealProps } from "../Reveal";
1
+ import { RevealProps } from '../Reveal';
2
+
3
3
  type ZoomDirection = "down" | "left" | "right" | "up";
4
4
  export interface ZoomProps extends Omit<RevealProps, "keyframes"> {
5
5
  /**
@@ -1,10 +1,10 @@
1
- export * from "./AttentionSeeker";
2
- export * from "./Bounce";
3
- export * from "./Fade";
4
- export * from "./Flip";
5
- export * from "./Hinge";
6
- export * from "./JackInTheBox";
7
- export * from "./Roll";
8
- export * from "./Rotate";
9
- export * from "./Slide";
10
- export * from "./Zoom";
1
+ export * from './AttentionSeeker';
2
+ export * from './Bounce';
3
+ export * from './Fade';
4
+ export * from './Flip';
5
+ export * from './Hinge';
6
+ export * from './JackInTheBox';
7
+ export * from './Roll';
8
+ export * from './Rotate';
9
+ export * from './Slide';
10
+ export * from './Zoom';
package/dist/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export * from "./components";
2
- export * from "./Reveal";
3
- export { Reveal as default } from "./Reveal";
1
+ export * from './components';
2
+ export * from './Reveal';
3
+ export { Reveal as default } from './Reveal';
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.8",
4
+ "version": "4.2.9",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "types": "dist/index.d.ts",
@@ -61,19 +61,19 @@
61
61
  "react": ">=16.14.0"
62
62
  },
63
63
  "devDependencies": {
64
- "@emotion/react": "^11.11.3",
65
- "@emotion/serialize": "^1.1.3",
66
- "@types/react": "^18.2.52",
67
- "@types/react-dom": "^18.2.18",
68
- "@types/react-is": "^18.2.4",
64
+ "@emotion/react": "^11.11.4",
65
+ "@emotion/serialize": "^1.1.4",
66
+ "@types/react": "^18.3.1",
67
+ "@types/react-dom": "^18.3.0",
68
+ "@types/react-is": "^18.3.0",
69
69
  "@vitejs/plugin-react": "^4.2.1",
70
- "react": "^18.2.0",
71
- "vite": "^5.0.12",
72
- "vite-plugin-dts": "3.7.2"
70
+ "react": "^18.3.1",
71
+ "vite": "^5.2.11",
72
+ "vite-plugin-dts": "3.9.0"
73
73
  },
74
74
  "dependencies": {
75
- "react-intersection-observer": "^9.6.0",
76
- "react-is": "^18.2.0"
75
+ "react-intersection-observer": "^9.10.1",
76
+ "react-is": "^18.3.1"
77
77
  },
78
78
  "scripts": {
79
79
  "build": "tsc --noEmit && vite build",