Skip to content

docs(action-bar): document root props - #11002

Open
Adebesin-Cell wants to merge 2 commits into
chakra-ui:mainfrom
Adebesin-Cell:docs/action-bar-root-props
Open

Adebesin-Cell wants to merge 2 commits into
chakra-ui:mainfrom
Adebesin-Cell:docs/action-bar-root-props

Conversation

@Adebesin-Cell

@Adebesin-Cell Adebesin-Cell commented Sep 13, 2026

Copy link
Copy Markdown
Collaborator

Closes #

📝 Description

Adds the ActionBar root props to the generated types so the props table renders on the docs page.

⛳️ Current behavior (updates)

The ActionBar root props table was empty because the type entry was not generated.

🚀 New behavior

generate-types now emits the root props entry for ActionBar, and the docs page picks it up.

💣 Is this a breaking change (Yes/No):

No

📝 Additional Information

RetriggerConfidence Score: 5/5

The PR appears safe to merge; the documentation lookup and generated metadata match the ActionBar public API.

Summary

  • Points the documentation table at ActionBar.Root instead of Popover.Root.
  • Removes inherited Popover parts that ActionBar does not export.
  • Excludes positioning, which the public ActionBarRootProps type explicitly omits.

Reviews (1) · Last reviewed commit: "docs(action-bar): document root props"

Generate the root props type entry for ActionBar so the props table renders
in the docs.
@changeset-bot

changeset-bot Bot commented Sep 13, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 2978ac0

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@vercel

vercel Bot commented Sep 13, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated
chakra-ui-storybook Ready Ready Preview Sep 14, 2026 7:16am UTC
chakra-v3-docs Error Error Sep 14, 2026 7:16am UTC

Request Review

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This feels wrong to remove all the other parts. Please check the code to see if other parts are exported, then their props should be exposed as well.

@Adebesin-Cell Adebesin-Cell Sep 14, 2026

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, those (Anchor, Arrow, ArrowTip, Description, Indicator, Title, Trigger) are Popover parts, not ActionBar parts; they only show up because arkPropsMap maps action-bar → popover and pulls in the whole set.

I did try dropping non-exported parts automatically instead of hardcoding, but it breaks ~15 other components; it looks like we lean on documenting Ark parts that the namespace doesn't re-export (Field shows Input/Select/Textarea even though field/namespace.ts doesn't). ActionBar's the only one wrapping a subset, so the manual removal feels like the safe call here.

This branch had an error being deployed

1 failed and 1 active deployments
Preview – chakra-v3-docs 2978ac01 Deployed Sep 14, 2026 by vercel[bot]
Preview – chakra-ui-storybook 2978ac01 Deployed Sep 14, 2026 by vercel[bot]
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.

3 participants