react-awesome-reveal 4.3.1 → 5.0.0-next.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (122) hide show
  1. package/README.md +16 -207
  2. package/dist/index.d.ts +1 -3
  3. package/dist/index.js +1 -1831
  4. package/dist/keyframes.d.ts +1 -0
  5. package/dist/keyframes.js +1 -0
  6. package/package.json +51 -58
  7. package/skills/migrating-from-v4/SKILL.md +95 -0
  8. package/dist/Reveal.d.ts +0 -69
  9. package/dist/animations/attention_seekers/bounce.d.ts +0 -5
  10. package/dist/animations/attention_seekers/flash.d.ts +0 -5
  11. package/dist/animations/attention_seekers/headShake.d.ts +0 -5
  12. package/dist/animations/attention_seekers/heartBeat.d.ts +0 -5
  13. package/dist/animations/attention_seekers/index.d.ts +0 -13
  14. package/dist/animations/attention_seekers/jello.d.ts +0 -5
  15. package/dist/animations/attention_seekers/pulse.d.ts +0 -5
  16. package/dist/animations/attention_seekers/rubberBand.d.ts +0 -5
  17. package/dist/animations/attention_seekers/shake.d.ts +0 -5
  18. package/dist/animations/attention_seekers/shakeX.d.ts +0 -5
  19. package/dist/animations/attention_seekers/shakeY.d.ts +0 -5
  20. package/dist/animations/attention_seekers/swing.d.ts +0 -5
  21. package/dist/animations/attention_seekers/tada.d.ts +0 -5
  22. package/dist/animations/attention_seekers/wobble.d.ts +0 -5
  23. package/dist/animations/bouncing_entrances/bounceIn.d.ts +0 -5
  24. package/dist/animations/bouncing_entrances/bounceInDown.d.ts +0 -5
  25. package/dist/animations/bouncing_entrances/bounceInLeft.d.ts +0 -5
  26. package/dist/animations/bouncing_entrances/bounceInRight.d.ts +0 -5
  27. package/dist/animations/bouncing_entrances/bounceInUp.d.ts +0 -5
  28. package/dist/animations/bouncing_entrances/index.d.ts +0 -5
  29. package/dist/animations/bouncing_exits/bounceOut.d.ts +0 -5
  30. package/dist/animations/bouncing_exits/bounceOutDown.d.ts +0 -5
  31. package/dist/animations/bouncing_exits/bounceOutLeft.d.ts +0 -5
  32. package/dist/animations/bouncing_exits/bounceOutRight.d.ts +0 -5
  33. package/dist/animations/bouncing_exits/bounceOutUp.d.ts +0 -5
  34. package/dist/animations/bouncing_exits/index.d.ts +0 -5
  35. package/dist/animations/fading_entrances/fadeIn.d.ts +0 -5
  36. package/dist/animations/fading_entrances/fadeInBottomLeft.d.ts +0 -5
  37. package/dist/animations/fading_entrances/fadeInBottomRight.d.ts +0 -5
  38. package/dist/animations/fading_entrances/fadeInDown.d.ts +0 -5
  39. package/dist/animations/fading_entrances/fadeInDownBig.d.ts +0 -5
  40. package/dist/animations/fading_entrances/fadeInLeft.d.ts +0 -5
  41. package/dist/animations/fading_entrances/fadeInLeftBig.d.ts +0 -5
  42. package/dist/animations/fading_entrances/fadeInRight.d.ts +0 -5
  43. package/dist/animations/fading_entrances/fadeInRightBig.d.ts +0 -5
  44. package/dist/animations/fading_entrances/fadeInTopLeft.d.ts +0 -5
  45. package/dist/animations/fading_entrances/fadeInTopRight.d.ts +0 -5
  46. package/dist/animations/fading_entrances/fadeInUp.d.ts +0 -5
  47. package/dist/animations/fading_entrances/fadeInUpBig.d.ts +0 -5
  48. package/dist/animations/fading_entrances/index.d.ts +0 -13
  49. package/dist/animations/fading_exits/fadeOut.d.ts +0 -5
  50. package/dist/animations/fading_exits/fadeOutBottomLeft.d.ts +0 -5
  51. package/dist/animations/fading_exits/fadeOutBottomRight.d.ts +0 -5
  52. package/dist/animations/fading_exits/fadeOutDown.d.ts +0 -5
  53. package/dist/animations/fading_exits/fadeOutDownBig.d.ts +0 -5
  54. package/dist/animations/fading_exits/fadeOutLeft.d.ts +0 -5
  55. package/dist/animations/fading_exits/fadeOutLeftBig.d.ts +0 -5
  56. package/dist/animations/fading_exits/fadeOutRight.d.ts +0 -5
  57. package/dist/animations/fading_exits/fadeOutRightBig.d.ts +0 -5
  58. package/dist/animations/fading_exits/fadeOutTopLeft.d.ts +0 -5
  59. package/dist/animations/fading_exits/fadeOutTopRight.d.ts +0 -5
  60. package/dist/animations/fading_exits/fadeOutUp.d.ts +0 -5
  61. package/dist/animations/fading_exits/fadeOutUpBig.d.ts +0 -5
  62. package/dist/animations/fading_exits/index.d.ts +0 -13
  63. package/dist/animations/flippers/flip.d.ts +0 -5
  64. package/dist/animations/flippers/flipInX.d.ts +0 -5
  65. package/dist/animations/flippers/flipInY.d.ts +0 -5
  66. package/dist/animations/flippers/flipOutX.d.ts +0 -5
  67. package/dist/animations/flippers/flipOutY.d.ts +0 -5
  68. package/dist/animations/flippers/index.d.ts +0 -5
  69. package/dist/animations/rotating_entrances/index.d.ts +0 -5
  70. package/dist/animations/rotating_entrances/rotateIn.d.ts +0 -5
  71. package/dist/animations/rotating_entrances/rotateInDownLeft.d.ts +0 -5
  72. package/dist/animations/rotating_entrances/rotateInDownRight.d.ts +0 -5
  73. package/dist/animations/rotating_entrances/rotateInUpLeft.d.ts +0 -5
  74. package/dist/animations/rotating_entrances/rotateInUpRight.d.ts +0 -5
  75. package/dist/animations/rotating_exits/index.d.ts +0 -5
  76. package/dist/animations/rotating_exits/rotateOut.d.ts +0 -5
  77. package/dist/animations/rotating_exits/rotateOutDownLeft.d.ts +0 -5
  78. package/dist/animations/rotating_exits/rotateOutDownRight.d.ts +0 -5
  79. package/dist/animations/rotating_exits/rotateOutUpLeft.d.ts +0 -5
  80. package/dist/animations/rotating_exits/rotateOutUpRight.d.ts +0 -5
  81. package/dist/animations/sliding_entrances/index.d.ts +0 -4
  82. package/dist/animations/sliding_entrances/slideInDown.d.ts +0 -5
  83. package/dist/animations/sliding_entrances/slideInLeft.d.ts +0 -5
  84. package/dist/animations/sliding_entrances/slideInRight.d.ts +0 -5
  85. package/dist/animations/sliding_entrances/slideInUp.d.ts +0 -5
  86. package/dist/animations/sliding_exits/index.d.ts +0 -4
  87. package/dist/animations/sliding_exits/slideOutDown.d.ts +0 -5
  88. package/dist/animations/sliding_exits/slideOutLeft.d.ts +0 -5
  89. package/dist/animations/sliding_exits/slideOutRight.d.ts +0 -5
  90. package/dist/animations/sliding_exits/slideOutUp.d.ts +0 -5
  91. package/dist/animations/specials/hinge.d.ts +0 -5
  92. package/dist/animations/specials/index.d.ts +0 -4
  93. package/dist/animations/specials/jackInTheBox.d.ts +0 -5
  94. package/dist/animations/specials/rollIn.d.ts +0 -5
  95. package/dist/animations/specials/rollOut.d.ts +0 -5
  96. package/dist/animations/zooming_entrances/index.d.ts +0 -5
  97. package/dist/animations/zooming_entrances/zoomIn.d.ts +0 -5
  98. package/dist/animations/zooming_entrances/zoomInDown.d.ts +0 -5
  99. package/dist/animations/zooming_entrances/zoomInLeft.d.ts +0 -5
  100. package/dist/animations/zooming_entrances/zoomInRight.d.ts +0 -5
  101. package/dist/animations/zooming_entrances/zoomInUp.d.ts +0 -5
  102. package/dist/animations/zooming_exits/index.d.ts +0 -5
  103. package/dist/animations/zooming_exits/zoomOut.d.ts +0 -5
  104. package/dist/animations/zooming_exits/zoomOutDown.d.ts +0 -5
  105. package/dist/animations/zooming_exits/zoomOutLeft.d.ts +0 -5
  106. package/dist/animations/zooming_exits/zoomOutRight.d.ts +0 -5
  107. package/dist/animations/zooming_exits/zoomOutUp.d.ts +0 -5
  108. package/dist/components/AttentionSeeker.d.ts +0 -12
  109. package/dist/components/Bounce.d.ts +0 -17
  110. package/dist/components/Fade.d.ts +0 -22
  111. package/dist/components/Flip.d.ts +0 -17
  112. package/dist/components/Hinge.d.ts +0 -4
  113. package/dist/components/JackInTheBox.d.ts +0 -4
  114. package/dist/components/Roll.d.ts +0 -10
  115. package/dist/components/Rotate.d.ts +0 -17
  116. package/dist/components/Slide.d.ts +0 -17
  117. package/dist/components/Zoom.d.ts +0 -17
  118. package/dist/components/index.d.ts +0 -10
  119. package/dist/index.cjs +0 -1846
  120. package/dist/utils/animations.d.ts +0 -8
  121. package/dist/utils/guards.d.ts +0 -2
  122. package/dist/utils/patterns.d.ts +0 -2
@@ -0,0 +1 @@
1
+ export * from '@awesome-reveal/react/keyframes';
@@ -0,0 +1 @@
1
+ export * from "@awesome-reveal/react/keyframes";
package/package.json CHANGED
@@ -1,84 +1,77 @@
1
1
  {
2
2
  "name": "react-awesome-reveal",
3
- "description": "React components to add reveal animations using the Intersection Observer API and CSS Animations.",
4
- "version": "4.3.1",
5
- "license": "MIT",
6
- "type": "module",
7
- "types": "dist/index.d.ts",
8
- "main": "dist/index.cjs",
9
- "module": "dist/index.js",
10
- "exports": {
11
- ".": {
12
- "types": "./dist/index.d.ts",
13
- "import": "./dist/index.js",
14
- "require": "./dist/index.cjs"
15
- }
16
- },
17
- "files": [
18
- "dist"
3
+ "version": "5.0.0-next.0",
4
+ "description": "Reveal-on-scroll animations for React. This package re-exports @awesome-reveal/react.",
5
+ "keywords": [
6
+ "animation",
7
+ "hooks",
8
+ "intersection-observer",
9
+ "react",
10
+ "reveal",
11
+ "scroll",
12
+ "scroll-reveal",
13
+ "typescript",
14
+ "waapi",
15
+ "web-animations"
19
16
  ],
20
- "sideEffects": false,
17
+ "homepage": "https://awesome-reveal.morello.dev",
18
+ "bugs": {
19
+ "url": "https://github.com/awesome-reveal/awesome-reveal/issues"
20
+ },
21
+ "license": "MIT",
21
22
  "author": {
22
23
  "name": "Dennis Morello",
23
- "email": "dennis@morello.dev",
24
+ "email": "dennismorello@gmail.com",
24
25
  "url": "https://morello.dev"
25
26
  },
27
+ "repository": {
28
+ "type": "git",
29
+ "url": "git+https://github.com/awesome-reveal/awesome-reveal.git",
30
+ "directory": "packages/react-awesome-reveal"
31
+ },
26
32
  "funding": [
27
33
  {
28
34
  "type": "github",
29
35
  "url": "https://github.com/sponsors/morellodev"
30
- },
31
- {
32
- "type": "opencollective",
33
- "url": "https://opencollective.com/react-awesome-reveal"
34
36
  }
35
37
  ],
36
- "homepage": "https://react-awesome-reveal.morello.dev",
37
- "keywords": [
38
- "react",
39
- "reveal",
40
- "react-reveal",
41
- "scroll",
42
- "typescript",
43
- "intersection",
44
- "intersection-observer",
45
- "animations",
46
- "css-in-js",
47
- "emotion"
38
+ "files": [
39
+ "dist",
40
+ "skills"
48
41
  ],
49
- "repository": {
50
- "type": "git",
51
- "url": "https://github.com/awesome-reveal/react-awesome-reveal"
52
- },
53
- "bugs": {
54
- "url": "https://github.com/awesome-reveal/react-awesome-reveal/issues"
42
+ "type": "module",
43
+ "sideEffects": false,
44
+ "types": "dist/index.d.ts",
45
+ "exports": {
46
+ ".": {
47
+ "types": "./dist/index.d.ts",
48
+ "default": "./dist/index.js"
49
+ },
50
+ "./keyframes": {
51
+ "types": "./dist/keyframes.d.ts",
52
+ "default": "./dist/keyframes.js"
53
+ },
54
+ "./package.json": "./package.json"
55
55
  },
56
56
  "publishConfig": {
57
57
  "access": "public"
58
58
  },
59
- "peerDependencies": {
60
- "@emotion/react": "^11.0.0",
61
- "react": ">=16.14.0"
59
+ "dependencies": {
60
+ "@awesome-reveal/react": "^1.0.0-next.0"
62
61
  },
63
62
  "devDependencies": {
64
- "@emotion/react": "^11.13.0",
65
- "@emotion/serialize": "^1.3.0",
66
- "@types/react": "^18.3.3",
67
- "@types/react-dom": "^18.3.0",
68
- "@types/react-is": "^18.3.0",
69
- "@vitejs/plugin-react": "^4.3.1",
70
- "react": "^18.3.1",
71
- "rollup-preserve-directives": "^1.1.3",
72
- "vite": "^5.3.5",
73
- "vite-plugin-dts": "3.9.1"
63
+ "@types/react": "^19.3.0",
64
+ "react": "^19.3.0",
65
+ "react-dom": "^19.3.0"
74
66
  },
75
- "dependencies": {
76
- "react-intersection-observer": "^9.13.0",
77
- "react-is": "^18.3.1"
67
+ "peerDependencies": {
68
+ "react": ">=18.0.0"
69
+ },
70
+ "engines": {
71
+ "node": ">=20.19.0"
78
72
  },
79
73
  "scripts": {
80
74
  "build": "tsc --noEmit && vite build",
81
- "lint": "eslint .",
82
- "lint:fix": "eslint --fix ."
75
+ "check:package": "publint --strict && attw --pack . --profile esm-only"
83
76
  }
84
77
  }
@@ -0,0 +1,95 @@
1
+ ---
2
+ name: migrating-from-v4
3
+ description: Migrates code from react-awesome-reveal v4 (Fade, Slide, Zoom, Bounce, cascade, triggerOnce, Emotion keyframes) to @awesome-reveal/react. Use when code imports react-awesome-reveal 4.x or its effect components.
4
+ ---
5
+
6
+ # Migrate from react-awesome-reveal v4
7
+
8
+ ## Steps
9
+
10
+ 1. Replace the `react-awesome-reveal` dependency with `@awesome-reveal/react`.
11
+ 2. Remove `@emotion/react`, unless the app uses it for other code.
12
+ 3. Make sure that the app uses React 18 or later.
13
+ 4. Change the imports. `Reveal` is a named export now. The keyframes come from `@awesome-reveal/react/keyframes`.
14
+ 5. Replace each effect component with `Reveal` and a keyframes factory, as the component table shows.
15
+ 6. Change the props, as the props table shows.
16
+ 7. Check the behavior changes below in each place that you change.
17
+ 8. Run the type check and the tests of the app. Fix the errors, and run them again until they pass.
18
+
19
+ ```tsx
20
+ // v4
21
+ import { Fade } from "react-awesome-reveal";
22
+ <Fade direction="up" cascade damping={0.2} triggerOnce>
23
+ …
24
+ </Fade>;
25
+ ```
26
+
27
+ ```tsx
28
+ // @awesome-reveal/react
29
+ import { Reveal } from "@awesome-reveal/react";
30
+ import { slide } from "@awesome-reveal/react/keyframes";
31
+ <Reveal keyframes={slide({ distance: "100%", easing: "ease" })} duration={1000} stagger={200}>
32
+ …
33
+ </Reveal>;
34
+ ```
35
+
36
+ ## Components
37
+
38
+ In v4, `left` and `right` name the side where the element starts, but `up` and `down` name the movement. `slide` `direction` always names the movement, so only `left` and `right` swap.
39
+
40
+ | v4 | @awesome-reveal/react |
41
+ | ------------------------------ | ------------------------------------------------------------------------------------------------- |
42
+ | `import Reveal from "…"` | `import { Reveal } from "@awesome-reveal/react"` |
43
+ | `<Reveal>` with no `keyframes` | `slide({ direction: "right", distance: "100%" })` |
44
+ | `<Fade>` | `fade()` |
45
+ | `<Fade direction="up">` | `slide()`, or `slide({ distance: "100%" })` for the v4 distance |
46
+ | `<Fade direction="down">` | `slide({ direction: "down" })` |
47
+ | `<Fade direction="left">` | `slide({ direction: "right" })` |
48
+ | `<Fade direction="right">` | `slide({ direction: "left" })` |
49
+ | `<Fade direction="left" big>` | `slide({ direction: "right", distance: 2000 })` |
50
+ | `<Fade direction="top-left">` | `enter({ x: "-100%", y: "-100%" })` |
51
+ | `<Slide>` | `slide({ direction: "right", distance: "100%", opacity: 1 })` |
52
+ | `<Slide direction="up">` | `slide({ distance: "100%", opacity: 1 })` |
53
+ | `<Zoom>` | `scale({ from: 0.3 })`, a close match |
54
+ | `<Bounce>` | `pop({ from: 0.3 })`, or `scale({ from: 0.3, easing: spring({ bounce: 0.5 }) })` for more bounces |
55
+ | `<JackInTheBox>` | `pop({ from: 0.1 })`, with no rotation |
56
+ | `<Rotate>` | `enter({ rotate: -200 })` |
57
+ | `<Roll>` | `enter({ x: "-100%", rotate: -120 })` |
58
+
59
+ These have no replacement: exit animations (`reverse`), `Flip`, `Hinge`, `AttentionSeeker`, and the directional `Bounce`, `Zoom` and `Rotate` variants. To keep one, port its keyframes from Animate.css (see below).
60
+
61
+ ## Props
62
+
63
+ | v4 | @awesome-reveal/react |
64
+ | ------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
65
+ | `cascade` and `damping` | `stagger`, in milliseconds: `duration * damping`. The v4 defaults give `stagger={500}`. |
66
+ | `fraction` | `threshold` |
67
+ | `triggerOnce` | `once`. The default is `true` now. Set `once={false}` where v4 had no `triggerOnce`. |
68
+ | `duration` (default `1000`) | `duration` (default `600`). Set `duration={1000}` to keep the v4 duration. |
69
+ | `ease` timing, with no prop | The `easing` option of each factory, default `cubic-bezier(0.22, 1, 0.36, 1)`. Set `easing: "ease"` to keep the v4 motion. |
70
+ | `className`, `style` | They apply to the one element that `Reveal` renders. v4 applied them to the `div` of each child. To keep that, put them on each child. |
71
+ | `childClassName`, `childStyle` | Style the children directly. |
72
+ | `onVisibilityChange` | `useReveal` with `once: false`, and its `revealed` value in an effect. With the default `once: true`, `revealed` never goes back to `false`. v4 called the callback for each child, so use one `useReveal` for each child. |
73
+ | Emotion `keyframes` | `defineKeyframes` or a keyframes array |
74
+
75
+ ## Port an Animate.css animation
76
+
77
+ Copy the keyframes from the Animate.css source, and convert them to a keyframes array:
78
+
79
+ 1. Split grouped selectors such as `from, 20%, 40%` into one keyframe for each offset.
80
+ 2. Give each keyframe a timing function: its own `animation-timing-function`, or else the `animation-timing-function` of the Animate.css class. The default is `ease`.
81
+ 3. Merge the keyframes that have the same offset and the same timing function. When two of them set the same property, keep the later value.
82
+ 4. Remove the keyframes that set only a timing function. Browsers ignore them, so v4 did not show their easing.
83
+ 5. Sort the keyframes by offset. `element.animate` throws a `TypeError` when an offset is smaller than the offset before it.
84
+ 6. Write each CSS keyframe as an object, with properties in camelCase.
85
+ 7. Write `from` as `offset: 0`, `to` as `offset: 1`, and `40%` as `offset: 0.4`.
86
+ 8. Write the timing function of each keyframe except the last one as `easing`. Web Animations eases a keyframe with no `easing` linearly.
87
+
88
+ ## Behavior changes
89
+
90
+ - A `<Reveal>` with no `keyframes` now plays `slide()`: it moves up 24px. v4 slid in from the left by 100%. The type check does not find these elements, so search the code for `<Reveal` with no `keyframes`.
91
+ - `Reveal` renders one element (`as`, `div` by default) around all its children. v4 rendered one `div` for each child. Check the CSS that targets these wrappers.
92
+ - v4 observed each child separately. One observer now watches the whole `Reveal`, and all children reveal together, also children below the fold. Split a long list into several `Reveal` elements, or use `useReveal` for each item.
93
+ - Use `stagger` to animate the children one after the other.
94
+ - Lists, fragments and text have no special handling. For a list, use `as="ul"` with `stagger`.
95
+ - Animations do not stay applied after they finish, so a transformed element no longer breaks `position: fixed` children or `z-index`.
package/dist/Reveal.d.ts DELETED
@@ -1,69 +0,0 @@
1
- import { Keyframes } from '@emotion/serialize';
2
-
3
- export interface RevealProps {
4
- /**
5
- * Stagger its children animations.
6
- * @default false
7
- */
8
- cascade?: boolean;
9
- /**
10
- * Factor that affects the delay that each animated element in a cascade animation will be assigned.
11
- * @default 0.5
12
- */
13
- damping?: number;
14
- /**
15
- * Initial delay, in milliseconds.
16
- * @default 0
17
- */
18
- delay?: number;
19
- /**
20
- * Animation duration, in milliseconds.
21
- * @default 1000
22
- */
23
- duration?: number;
24
- /**
25
- * Float number between 0 and 1 indicating how much the element should be in viewport before the animation is triggered.
26
- * @default 0
27
- */
28
- fraction?: number;
29
- /**
30
- * Custom Emotion animation keyframes.
31
- */
32
- keyframes?: Keyframes;
33
- /**
34
- * Specifies if the animation should run only once or everytime the element enters/exits/re-enters the viewport.
35
- * @default false
36
- */
37
- triggerOnce?: boolean;
38
- /**
39
- * Class names to add to the container element.
40
- */
41
- className?: string;
42
- /**
43
- * Inline styles to add to the container element.
44
- */
45
- style?: React.CSSProperties;
46
- /**
47
- * Class names to add to the child element.
48
- */
49
- childClassName?: string;
50
- /**
51
- * Inline styles to add to the child element.
52
- */
53
- childStyle?: React.CSSProperties;
54
- /**
55
- * From React 18, children must be explicitly typed.
56
- * @see https://reactjs.org/blog/2022/03/08/react-18-upgrade-guide.html#updates-to-typescript-definitions
57
- */
58
- children?: React.ReactNode;
59
- /**
60
- * Callback executed when the element enters or leaves the viewport.
61
- * If more than one element is being animated, this function is called
62
- * on each element.
63
- *
64
- * @param inView The current visibility flag.
65
- * @param entry The current IntersectionObserverEntry.
66
- */
67
- onVisibilityChange?(inView: boolean, entry: IntersectionObserverEntry): void;
68
- }
69
- export declare const Reveal: React.FC<RevealProps>;
@@ -1,5 +0,0 @@
1
- import { Keyframes } from '@emotion/react';
2
- /**
3
- * @see {@link https://github.com/animate-css/animate.css/blob/master/source/attention_seekers/bounce.css}
4
- */
5
- export declare const bounce: Keyframes;
@@ -1,5 +0,0 @@
1
- import { Keyframes } from '@emotion/react';
2
- /**
3
- * @see {@link https://github.com/animate-css/animate.css/blob/master/source/attention_seekers/flash.css}
4
- */
5
- export declare const flash: Keyframes;
@@ -1,5 +0,0 @@
1
- import { Keyframes } from '@emotion/react';
2
- /**
3
- * @see {@link https://github.com/animate-css/animate.css/blob/master/source/attention_seekers/headShake.css}
4
- */
5
- export declare const headShake: Keyframes;
@@ -1,5 +0,0 @@
1
- import { Keyframes } from '@emotion/react';
2
- /**
3
- * @see {@link https://github.com/animate-css/animate.css/blob/master/source/attention_seekers/heartBeat.css}
4
- */
5
- export declare const heartBeat: Keyframes;
@@ -1,13 +0,0 @@
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 +0,0 @@
1
- import { Keyframes } from '@emotion/react';
2
- /**
3
- * @see {@link https://github.com/animate-css/animate.css/blob/master/source/attention_seekers/jello.css}
4
- */
5
- export declare const jello: Keyframes;
@@ -1,5 +0,0 @@
1
- import { Keyframes } from '@emotion/react';
2
- /**
3
- * @see {@link https://github.com/animate-css/animate.css/blob/master/source/attention_seekers/pulse.css}
4
- */
5
- export declare const pulse: Keyframes;
@@ -1,5 +0,0 @@
1
- import { Keyframes } from '@emotion/react';
2
- /**
3
- * @see {@link https://github.com/animate-css/animate.css/blob/master/source/attention_seekers/rubberBand.css}
4
- */
5
- export declare const rubberBand: Keyframes;
@@ -1,5 +0,0 @@
1
- import { Keyframes } from '@emotion/react';
2
- /**
3
- * @see {@link https://github.com/animate-css/animate.css/blob/master/source/attention_seekers/shake.css}
4
- */
5
- export declare const shake: Keyframes;
@@ -1,5 +0,0 @@
1
- import { Keyframes } from '@emotion/react';
2
- /**
3
- * @see {@link https://github.com/animate-css/animate.css/blob/master/source/attention_seekers/shakeX.css}
4
- */
5
- export declare const shakeX: Keyframes;
@@ -1,5 +0,0 @@
1
- import { Keyframes } from '@emotion/react';
2
- /**
3
- * @see {@link https://github.com/animate-css/animate.css/blob/master/source/attention_seekers/shakeY.css}
4
- */
5
- export declare const shakeY: Keyframes;
@@ -1,5 +0,0 @@
1
- import { Keyframes } from '@emotion/react';
2
- /**
3
- * @see {@link https://github.com/animate-css/animate.css/blob/master/source/attention_seekers/swing.css}
4
- */
5
- export declare const swing: Keyframes;
@@ -1,5 +0,0 @@
1
- import { Keyframes } from '@emotion/react';
2
- /**
3
- * @see {@link https://github.com/animate-css/animate.css/blob/master/source/attention_seekers/tada.css}
4
- */
5
- export declare const tada: Keyframes;
@@ -1,5 +0,0 @@
1
- import { Keyframes } from '@emotion/react';
2
- /**
3
- * @see {@link https://github.com/animate-css/animate.css/blob/master/source/attention_seekers/wobble.css}
4
- */
5
- export declare const wobble: Keyframes;
@@ -1,5 +0,0 @@
1
- import { Keyframes } from '@emotion/react';
2
- /**
3
- * @see {@link https://github.com/animate-css/animate.css/blob/master/source/bouncing_entrances/bounceIn.css}
4
- */
5
- export declare const bounceIn: Keyframes;
@@ -1,5 +0,0 @@
1
- import { Keyframes } from '@emotion/react';
2
- /**
3
- * @see {@link https://github.com/animate-css/animate.css/blob/master/source/bouncing_entrances/bounceInDown.css}
4
- */
5
- export declare const bounceInDown: Keyframes;
@@ -1,5 +0,0 @@
1
- import { Keyframes } from '@emotion/react';
2
- /**
3
- * @see {@link https://github.com/animate-css/animate.css/blob/master/source/bouncing_entrances/bounceInLeft.css}
4
- */
5
- export declare const bounceInLeft: Keyframes;
@@ -1,5 +0,0 @@
1
- import { Keyframes } from '@emotion/react';
2
- /**
3
- * @see {@link https://github.com/animate-css/animate.css/blob/master/source/bouncing_entrances/bounceInRight.css}
4
- */
5
- export declare const bounceInRight: Keyframes;
@@ -1,5 +0,0 @@
1
- import { Keyframes } from '@emotion/react';
2
- /**
3
- * @see {@link https://github.com/animate-css/animate.css/blob/master/source/bouncing_entrances/bounceInUp.css}
4
- */
5
- export declare const bounceInUp: Keyframes;
@@ -1,5 +0,0 @@
1
- export * from './bounceIn';
2
- export * from './bounceInDown';
3
- export * from './bounceInLeft';
4
- export * from './bounceInRight';
5
- export * from './bounceInUp';
@@ -1,5 +0,0 @@
1
- import { Keyframes } from '@emotion/react';
2
- /**
3
- * @see {@link https://github.com/animate-css/animate.css/blob/master/source/bouncing_exits/bounceOut.css}
4
- */
5
- export declare const bounceOut: Keyframes;
@@ -1,5 +0,0 @@
1
- import { Keyframes } from '@emotion/react';
2
- /**
3
- * @see {@link https://github.com/animate-css/animate.css/blob/master/source/bouncing_exits/bounceOutDown.css}
4
- */
5
- export declare const bounceOutDown: Keyframes;
@@ -1,5 +0,0 @@
1
- import { Keyframes } from '@emotion/react';
2
- /**
3
- * @see {@link https://github.com/animate-css/animate.css/blob/master/source/bouncing_exits/bounceOutLeft.css}
4
- */
5
- export declare const bounceOutLeft: Keyframes;
@@ -1,5 +0,0 @@
1
- import { Keyframes } from '@emotion/react';
2
- /**
3
- * @see {@link https://github.com/animate-css/animate.css/blob/master/source/bouncing_exits/bounceOutRight.css}
4
- */
5
- export declare const bounceOutRight: Keyframes;
@@ -1,5 +0,0 @@
1
- import { Keyframes } from '@emotion/react';
2
- /**
3
- * @see {@link https://github.com/animate-css/animate.css/blob/master/source/bouncing_exits/bounceOutUp.css}
4
- */
5
- export declare const bounceOutUp: Keyframes;
@@ -1,5 +0,0 @@
1
- export * from './bounceOut';
2
- export * from './bounceOutDown';
3
- export * from './bounceOutLeft';
4
- export * from './bounceOutRight';
5
- export * from './bounceOutUp';
@@ -1,5 +0,0 @@
1
- import { Keyframes } from '@emotion/react';
2
- /**
3
- * @see {@link https://github.com/animate-css/animate.css/blob/master/source/fading_entrances/fadeIn.css}
4
- */
5
- export declare const fadeIn: Keyframes;
@@ -1,5 +0,0 @@
1
- import { Keyframes } from '@emotion/react';
2
- /**
3
- * @see {@link https://github.com/animate-css/animate.css/blob/master/source/fading_entrances/fadeInBottomLeft.css}
4
- */
5
- export declare const fadeInBottomLeft: Keyframes;
@@ -1,5 +0,0 @@
1
- import { Keyframes } from '@emotion/react';
2
- /**
3
- * @see {@link https://github.com/animate-css/animate.css/blob/master/source/fading_entrances/fadeInBottomRight.css}
4
- */
5
- export declare const fadeInBottomRight: Keyframes;
@@ -1,5 +0,0 @@
1
- import { Keyframes } from '@emotion/react';
2
- /**
3
- * @see {@link https://github.com/animate-css/animate.css/blob/master/source/fading_entrances/fadeInDown.css}
4
- */
5
- export declare const fadeInDown: Keyframes;
@@ -1,5 +0,0 @@
1
- import { Keyframes } from '@emotion/react';
2
- /**
3
- * @see {@link https://github.com/animate-css/animate.css/blob/master/source/fading_entrances/fadeInDownBig.css}
4
- */
5
- export declare const fadeInDownBig: Keyframes;
@@ -1,5 +0,0 @@
1
- import { Keyframes } from '@emotion/react';
2
- /**
3
- * @see {@link https://github.com/animate-css/animate.css/blob/master/source/fading_entrances/fadeInLeft.css}
4
- */
5
- export declare const fadeInLeft: Keyframes;
@@ -1,5 +0,0 @@
1
- import { Keyframes } from '@emotion/react';
2
- /**
3
- * @see {@link https://github.com/animate-css/animate.css/blob/master/source/fading_entrances/fadeInLeftBig.css}
4
- */
5
- export declare const fadeInLeftBig: Keyframes;
@@ -1,5 +0,0 @@
1
- import { Keyframes } from '@emotion/react';
2
- /**
3
- * @see {@link https://github.com/animate-css/animate.css/blob/master/source/fading_entrances/fadeInRight.css}
4
- */
5
- export declare const fadeInRight: Keyframes;
@@ -1,5 +0,0 @@
1
- import { Keyframes } from '@emotion/react';
2
- /**
3
- * @see {@link https://github.com/animate-css/animate.css/blob/master/source/fading_entrances/fadeInRightBig.css}
4
- */
5
- export declare const fadeInRightBig: Keyframes;
@@ -1,5 +0,0 @@
1
- import { Keyframes } from '@emotion/react';
2
- /**
3
- * @see {@link https://github.com/animate-css/animate.css/blob/master/source/fading_entrances/fadeInTopLeft.css}
4
- */
5
- export declare const fadeInTopLeft: Keyframes;
@@ -1,5 +0,0 @@
1
- import { Keyframes } from '@emotion/react';
2
- /**
3
- * @see {@link https://github.com/animate-css/animate.css/blob/master/source/fading_entrances/fadeInTopRight.css}
4
- */
5
- export declare const fadeInTopRight: Keyframes;
@@ -1,5 +0,0 @@
1
- import { Keyframes } from '@emotion/react';
2
- /**
3
- * @see {@link https://github.com/animate-css/animate.css/blob/master/source/fading_entrances/fadeInUp.css}
4
- */
5
- export declare const fadeInUp: Keyframes;
@@ -1,5 +0,0 @@
1
- import { Keyframes } from '@emotion/react';
2
- /**
3
- * @see {@link https://github.com/animate-css/animate.css/blob/master/source/fading_entrances/fadeInUpBig.css}
4
- */
5
- export declare const fadeInUpBig: Keyframes;
@@ -1,13 +0,0 @@
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,5 +0,0 @@
1
- import { Keyframes } from '@emotion/react';
2
- /**
3
- * @see {@link https://github.com/animate-css/animate.css/blob/master/source/fading_exits/fadeOut.css}
4
- */
5
- export declare const fadeOut: Keyframes;
@@ -1,5 +0,0 @@
1
- import { Keyframes } from '@emotion/react';
2
- /**
3
- * @see {@link https://github.com/animate-css/animate.css/blob/master/source/fading_exits/fadeOutBottomLeft.css}
4
- */
5
- export declare const fadeOutBottomLeft: Keyframes;