Skip to content

docs(core): document Section's paddingBlock prop#3210

Merged
cixzhang merged 1 commit into
facebook:mainfrom
durvesh1992:fix/section-paddingblock-doc
Jun 27, 2026
Merged

docs(core): document Section's paddingBlock prop#3210
cixzhang merged 1 commit into
facebook:mainfrom
durvesh1992:fix/section-paddingblock-doc

Conversation

@durvesh1992

Copy link
Copy Markdown
Contributor

Summary

Section has a public paddingBlock prop (SpacingStep) that overrides only the block (vertical) axis padding while preserving inline padding from padding or the container theme default — but it was missing from the docsite properties tab.

Found via the interface-vs-docs prop scan. Added to the EN + ZH prop lists and the dense propDescriptions.

Testing

  • Regenerated docsite data — paddingBlock now appears in the Section component registry.

Changeset

Included (@astryxdesign/core patch, docs).

Section has a public paddingBlock prop (SpacingStep) that overrides only
the block-axis padding while preserving inline padding, but it was
missing from the docsite properties tab. Add it (EN + ZH + dense).
Found via the interface-vs-doc prop scan.
@vercel

vercel Bot commented Jun 27, 2026

Copy link
Copy Markdown

Someone is attempting to deploy a commit to the Meta Open Source Team on Vercel.

A member of the Team first needs to authorize it.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Jun 27, 2026

@cixzhang cixzhang left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Verified paddingBlock is a real SpacingStep prop on Section and the doc text matches the JSDoc; EN/ZH/dense all updated, changeset looks good. LGTM.

@cixzhang cixzhang merged commit 810ac7d into facebook:main Jun 27, 2026
13 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants