page-transition 0.1.0-beta.58 → 0.1.0-beta.59

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 (2) hide show
  1. package/README.md +4 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -167,7 +167,7 @@ After navigation, the `exit` class is removed and the `enter` class is added. On
167
167
 
168
168
  To access the page wrapper, overlay, overlay wrapper, and their respective items, use `useCssContext`.
169
169
  ```ts
170
- import { useTransitionContext } from "page-transition"
170
+ import { useCssContext } from "page-transition"
171
171
 
172
172
  const {
173
173
  pageWrapper,
@@ -175,7 +175,7 @@ const {
175
175
  overlayWrapper,
176
176
  overlayItems,
177
177
  secondItems
178
- } = useTransitionContext()
178
+ } = useCssContext()
179
179
  ```
180
180
 
181
181
  #### CSS/SCSS Examples
@@ -397,7 +397,7 @@ items: [10, 10]
397
397
 
398
398
  ### Manual Mode
399
399
 
400
- In manual mode, you can control the transition using `useTransitionContext`.
400
+ In manual mode, you can control the transition using `useManualContext`.
401
401
 
402
402
 
403
403
  After triggering the navigation, `state.current` is set to `exiting`. You can then call `resolveFn.current()` to proceed with the navigation.
@@ -410,6 +410,6 @@ Once `state.current` is set to `entering`, the navigation has occurred. After th
410
410
  ```ts
411
411
  import { useManualContext } from "page-transition"
412
412
 
413
- const { resolveFn, state } = useTransitionContext()
413
+ const { resolveFn, state } = useManualContext()
414
414
 
415
415
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "page-transition",
3
- "version": "0.1.0-beta.58",
3
+ "version": "0.1.0-beta.59",
4
4
  "description": "A page transition library for the Next.js App Router.",
5
5
  "license": "MIT",
6
6
  "files": [