Skip to content

chore(release): version packages#8

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

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

Conversation

@github-actions

@github-actions github-actions Bot commented Jun 16, 2026

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.1.0

Minor Changes

  • #9 da9b96e Thanks @saseungmin! - Add interaction.dismissDirection to useDeckInteraction() so UI-thread consumers can read the accepted dismiss side without waiting for JS swipe events or inferring from raw drag direction.

    function DeckDismissFeedback() {
      const { dismissDirection, phase } = ProfileDeck.useDeckInteraction();
    
      const rightStyle = useAnimatedStyle(() => ({
        opacity:
          phase.get() === "dismissing" && dismissDirection.get() === "right"
            ? 1
            : 0,
      }));
    
      return <Animated.View style={rightStyle} />;
    }
  • #7 c3d8949 Thanks @saseungmin! - Add interaction.phase to useDeckInteraction() so UI-thread consumers can distinguish idle, dragging, dismissing, and undoing deck lifecycles without inferring from progress or JS events.

    function DeckPhaseFeedback() {
      const { phase } = ProfileDeck.useDeckInteraction();
    
      const dismissingStyle = useAnimatedStyle(() => ({
        opacity: phase.get() === "dismissing" ? 1 : 0.32,
      }));
    
      return <Animated.View style={dismissingStyle} />;
    }

@github-actions github-actions Bot force-pushed the changeset-release/main branch from bea1adc to f171e01 Compare June 16, 2026 03:30
@saseungmin saseungmin merged commit 9cc39db into main Jun 16, 2026
3 checks passed
@saseungmin saseungmin deleted the changeset-release/main branch June 16, 2026 03:36
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