Skip to content

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Oct 2, 2025

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

@cube-dev/ui-kit@0.79.0

Minor Changes

  • #807 ce19c264 Thanks @tenphi! - Breaking Change: AlertDialog API cancel button behavior changed

    The cancel button in AlertDialog now rejects the promise instead of resolving with 'cancel' status, aligning it with the dismiss (Escape key) behavior.

    Migration Guide:

    Before:

    alertDialogAPI.open({...})
      .then((status) => {
        if (status === 'cancel') {
          // Handle cancel
        } else if (status === 'confirm') {
          // Handle confirm
        }
      })

    After:

    alertDialogAPI.open({...})
      .then((status) => {
        if (status === 'confirm') {
          // Handle confirm
        } else if (status === 'secondary') {
          // Handle secondary action
        }
      })
      .catch(() => {
        // Handle cancel or dismiss
      })

    Note: AlertDialogResolveStatus type no longer includes 'cancel' - it now only contains 'confirm' | 'secondary'.


Note

Publishes @cube-dev/ui-kit 0.79.0 with a breaking change to AlertDialog cancel behavior and updates changelog/version.

  • Release @cube-dev/ui-kit 0.79.0
    • Breaking: AlertDialog cancel now rejects the promise; AlertDialogResolveStatus excludes 'cancel' (now 'confirm' | 'secondary').
  • Metadata
    • Update CHANGELOG.md with 0.79.0 notes.
    • Bump package.json version from 0.78.5 to 0.79.0.

Written by Cursor Bugbot for commit 0cd8deb. This will update automatically on new commits. Configure here.

Copy link

vercel bot commented Oct 2, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
cube-ui-kit Ready Ready Preview Comment Oct 2, 2025 3:19pm
cube-ui-kit-cursor Ready Ready Preview Comment Oct 2, 2025 3:19pm

@tenphi tenphi merged commit 6797bdf into main Oct 2, 2025
3 of 5 checks passed
@tenphi tenphi deleted the changeset-release/main branch October 2, 2025 15:12
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