Skip to content

Commit

Permalink
presence types
Browse files Browse the repository at this point in the history
  • Loading branch information
nandorojo committed Apr 21, 2023
1 parent e5c74fb commit 004b0dd
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 8 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline





**Note:** Version bump only for package moti





## [0.24.2](https://github.com/nandorojo/moti/compare/v0.24.1...v0.24.2) (2023-03-07)

**Note:** Version bump only for package moti
Expand Down
8 changes: 8 additions & 0 deletions examples/with-expo/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline



**Note:** Version bump only for package with-expo







**Note:** Version bump only for package with-expo


Expand Down
8 changes: 8 additions & 0 deletions examples/with-next/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline



**Note:** Version bump only for package next-dripsy-example







**Note:** Version bump only for package next-dripsy-example


Expand Down
13 changes: 6 additions & 7 deletions lerna-debug.log
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
70 error Error: A GH_TOKEN environment variable is required.
70 error at createGitHubClient (/Users/fernandorojo/Developer/q1-2023/moti/node_modules/@lerna/github-client/lib/github-client.js:17:11)
70 error at createClient (/Users/fernandorojo/Developer/q1-2023/moti/node_modules/@lerna/version/lib/create-release.js:16:14)
70 error at createRelease (/Users/fernandorojo/Developer/q1-2023/moti/node_modules/@lerna/version/lib/create-release.js:25:18)
70 error at /Users/fernandorojo/Developer/q1-2023/moti/node_modules/@lerna/version/index.js:282:9
70 error at /Users/fernandorojo/Developer/q1-2023/moti/node_modules/p-waterfall/index.js:4:73
70 error at /Users/fernandorojo/Developer/q1-2023/moti/node_modules/p-reduce/index.js:16:10
62 error Error: Command failed: git tag v0.25.0 -m v0.25.0
62 error fatal: tag 'v0.25.0' already exists
62 error
62 error at makeError (/Users/fernandorojo/Developer/q1-2023/moti/node_modules/execa/index.js:174:9)
62 error at /Users/fernandorojo/Developer/q1-2023/moti/node_modules/execa/index.js:278:16
62 error at processTicksAndRejections (node:internal/process/task_queues:96:5)
8 changes: 8 additions & 0 deletions packages/moti/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline





**Note:** Version bump only for package moti





## [0.24.2](https://github.com/nandorojo/moti/compare/v0.24.1...v0.24.2) (2023-03-07)

**Note:** Version bump only for package moti
Expand Down
5 changes: 4 additions & 1 deletion packages/moti/src/core/use-motify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,10 @@ export function useMotify<Animate>({
usePresenceValue,
presenceContext,
}: MotiProps<Animate> & {
presenceContext?: React.ContextType<typeof PresenceContext>
presenceContext?: Pick<
NonNullable<React.ContextType<typeof PresenceContext>>,
'custom' | 'initial'
> | null
usePresenceValue?: ReturnType<typeof useFramerPresence>
}) {
const isMounted = useSharedValue(false)
Expand Down

0 comments on commit 004b0dd

Please sign in to comment.