Skip to content

fix(alert-dialog): remove footer border and default showCloseButton to false#785

Merged
rohanchkrabrty merged 1 commit intomainfrom
worktree-alertdialog
May 7, 2026
Merged

fix(alert-dialog): remove footer border and default showCloseButton to false#785
rohanchkrabrty merged 1 commit intomainfrom
worktree-alertdialog

Conversation

@rohanchkrabrty
Copy link
Copy Markdown
Contributor

@rohanchkrabrty rohanchkrabrty commented May 7, 2026

Summary

  • Dialog's body→footer separator moved from .body { border-bottom } to :where(.body) + .footer { border-top } (visually identical; the :where() keeps the rule's specificity at .footer so consumers can override cleanly).
  • AlertDialog overrides this with a plain .footer { border-top: 0 } — no :has(), no class-on-body trick.
  • BREAKING: showCloseButton default flipped from true to false. Existing consumers relying on the default close button will need to set showCloseButton explicitly — worth a changelog/release-notes callout.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 7, 2026

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

Project Deployment Actions Updated (UTC)
apsara Ready Ready Preview, Comment May 7, 2026 6:41am

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 7, 2026

Warning

Rate limit exceeded

@rohanchkrabrty has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 23 minutes and 30 seconds before requesting another review.

To continue reviewing without waiting, purchase usage credits in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: c0ccb32f-234b-4534-94a5-1056ee7799c9

📥 Commits

Reviewing files that changed from the base of the PR and between 6ed125e and 47db67d.

📒 Files selected for processing (7)
  • apps/www/src/content/docs/components/alert-dialog/demo.ts
  • apps/www/src/content/docs/components/alert-dialog/props.ts
  • packages/raystack/components/alert-dialog/__tests__/alert-dialog.test.tsx
  • packages/raystack/components/alert-dialog/alert-dialog-content.tsx
  • packages/raystack/components/alert-dialog/alert-dialog-misc.tsx
  • packages/raystack/components/alert-dialog/alert-dialog.module.css
  • packages/raystack/components/dialog/dialog.module.css

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Comment thread packages/raystack/components/alert-dialog/alert-dialog-content.tsx
…o false

- Removed the body→footer border on AlertDialog (scoped override that doesn't affect Dialog).
- BREAKING: showCloseButton default flipped from true to false. Existing consumers relying on the default will need to set showCloseButton explicitly. Worth a changelog/release-notes callout.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@rohanchkrabrty rohanchkrabrty force-pushed the worktree-alertdialog branch from 7960bed to 47db67d Compare May 7, 2026 06:35
@rohanchkrabrty rohanchkrabrty enabled auto-merge (squash) May 7, 2026 06:38
@rohanchkrabrty rohanchkrabrty merged commit 00cf917 into main May 7, 2026
4 of 5 checks passed
@rohanchkrabrty rohanchkrabrty deleted the worktree-alertdialog branch May 7, 2026 06:40
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.

2 participants