Skip to content

chore(release): version packages#14

Merged
saseungmin merged 1 commit into
mainfrom
changeset-release/main
Jun 20, 2026
Merged

chore(release): version packages#14
saseungmin merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@react-native-motion-kit/swipe-deck@1.3.0

Minor Changes

  • #13 335c5cf Thanks @saseungmin! - Add source to committed swipe events so apps can distinguish gesture commits from programmatic action commits.

    ProfileDeck.useDeckEventListener("swipe", (event) => {
      if (event.source === "gesture") {
        console.log("User swiped", event.direction);
        return;
      }
    
      console.log("Programmatic action swiped", event.direction);
    });

    event.source is 'gesture' when a pan release commits the swipe and 'programmatic' when
    actions.swipeLeft() or actions.swipeRight() commits it. programmatic does not mean button; map
    it to a button only when that matches your app's UI.

    This is a TypeScript-visible event payload shape change: source is a required field on
    SwipeEvent<T>, so object literals, fixtures, or useDeckEvent('swipe', initialValue) values must
    include it.

@saseungmin saseungmin merged commit 319e77a into main Jun 20, 2026
@saseungmin saseungmin deleted the changeset-release/main branch June 20, 2026 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant