Skip to content

test(react-button): add CompoundButton regression coverage - #36529

Merged
Victor Genaev (mainframev) merged 6 commits into
masterfrom
mainframev/compound-button-regression-tests
Aug 7, 2026
Merged

test(react-button): add CompoundButton regression coverage#36529
Victor Genaev (mainframev) merged 6 commits into
masterfrom
mainframev/compound-button-regression-tests

Conversation

@mainframev

@mainframev Victor Genaev (mainframev) commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Previous Behavior

useCompoundButton_unstable did not have hook-level regression coverage for the state and defaults that must remain stable during base-hook extraction.

New Behavior

  • Locks CompoundButton slot normalization, icon-only behavior, visual defaults, Button context sizing, disabled state, and ref placement.
  • Adds a package-owned none change file because the PR changes tests only.
  • Contains no production code changes.

Validation

  • react-button lint and type-check
  • CompoundButton hook and component tests

Stack

  1. This PR
  2. feat(react-button): expose CompoundButton headless base APIs #36530 — expose CompoundButton base APIs
  3. feat(react-headless-components-preview): add CompoundButton #36531 — add the headless CompoundButton primitive

@mainframev Victor Genaev (mainframev) changed the title mainframev/compound button regression tests test(react-button): add CompoundButton regression coverage Aug 6, 2026
@github-actions

github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown

📊 Bundle size report

✅ No changes found

@github-actions

github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown

Pull request demo site: URL

@mainframev
Victor Genaev (mainframev) marked this pull request as ready for review August 6, 2026 14:02
@mainframev
Victor Genaev (mainframev) requested a review from a team as a code owner August 6, 2026 14:02
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@mainframev
Victor Genaev (mainframev) force-pushed the mainframev/compound-button-regression-tests branch from c5f8a19 to a5589ac Compare August 6, 2026 14:46
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@mainframev
Victor Genaev (mainframev) merged commit 27861c8 into master Aug 7, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants