[Documentation] Audit: register Dialog reduced-motion divergence

CI
3d ago
+6-0

Description

Since #580, Dialog skips its open and close animations when the OS asks for reduced motion (motion-reduce:animate-none! on the panel and on ::backdrop). shadcn Base UI runs the animations either way, so /shadcn-audit flags the extra tokens. This registers the difference in audit/divergences.yml, and the audit now grades that line as intentional.

No component code changes.

Testing instructions

  1. cd audit && bundle exec rake test
  2. bundle exec exe/shadcn-audit divergences dialog lists three entries, the last one with dimension Animation.

🤖 Generated with Claude Code


Summary by cubic

Registers the Dialog reduced-motion divergence in audit/divergences.yml so the audit now grades that difference as intentional. RubyUI Dialog respects prefers-reduced-motion (skips open/close animations), while shadcn Base UI always runs them; no component code changes.