Skip to content

chore(release): version packages - #11

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

saseungmin merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Jun 17, 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.2.0

Minor Changes

  • #10 0a9615b Thanks @saseungmin! - Add Root-level allowedDirections to restrict accepted dismiss directions. Disallowed gesture releases keep the normal snap-back behavior, while programmatic swipe actions return false before starting dismiss motion.

    <ProfileDeck.Root
      data={profiles}
      getKey={(item) => item.id}
      allowedDirections={["right"]}
    >
      <ProfileDeck.Card>
        {({ item }) => <ProfileCard profile={item} />}
      </ProfileDeck.Card>
    </ProfileDeck.Root>

    Use allowedDirections={["left"]} for a pass-only deck, omit it for both directions, or pass [] to keep drag feedback while rejecting all dismisses.

  • #12 96f1fc5 Thanks @saseungmin! - Allow visibleCardCount={1} to render only the active card.

    This is the lightest rendering budget for decks that do not need a visible next-card stack or
    next-card promotion animation. The default remains 3, and visibleCardCount={2} still renders the
    active card plus the immediate next card.

    <ProfileDeck.Root
      data={profiles}
      getKey={(item) => item.id}
      visibleCardCount={1}
    >
      <ProfileDeck.Card>
        {({ item }) => <ProfileCard profile={item} />}
      </ProfileDeck.Card>
    </ProfileDeck.Root>

@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 66ed456 to c7e89e9 Compare June 17, 2026 14:38
@saseungmin
saseungmin merged commit f94178b into main Jun 17, 2026
@saseungmin
saseungmin deleted the changeset-release/main branch June 17, 2026 14:41
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