Skip to content

v6: Add PanelHeader primitive#4284

Merged
trevor-scheer merged 2 commits into
graphiql-6from
trevor/panel-header
May 16, 2026
Merged

v6: Add PanelHeader primitive#4284
trevor-scheer merged 2 commits into
graphiql-6from
trevor/panel-header

Conversation

@trevor-scheer
Copy link
Copy Markdown
Contributor

@trevor-scheer trevor-scheer commented May 15, 2026

Summary

  • New primitive PanelHeader for side-panel content areas.
  • Props: title (<h2>), subtitle?, actions?.

Test plan

  • Open Primitives/PanelHeader in Storybook; check TitleOnly, WithSubtitle, and WithActions render correctly.
  • Confirm the title is an <h2> in the DOM.
  • Confirm action buttons are keyboard-focusable and carry their aria-labels.

Refs: #4219

Header component for side panels. Takes a title (<h2>), an optional subtitle, and an optional action row. Schema, docs, history, and the other rail panels all need this.
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 15, 2026

🦋 Changeset detected

Latest commit: e58d875

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions
Copy link
Copy Markdown
Contributor

The latest changes of this PR are not available as canary, since there are no linked changesets for this PR.

@trevor-scheer trevor-scheer marked this pull request as ready for review May 16, 2026 02:58
@trevor-scheer trevor-scheer enabled auto-merge (squash) May 16, 2026 02:58
@trevor-scheer trevor-scheer merged commit 1ce71e4 into graphiql-6 May 16, 2026
13 checks passed
@trevor-scheer trevor-scheer deleted the trevor/panel-header branch May 16, 2026 03:04
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