Skip to content

CSS Grid 1/9: Grid style types and public API#55876

Closed
NickGerleman wants to merge 1 commit intofacebook:mainfrom
NickGerleman:export-D94867121
Closed

CSS Grid 1/9: Grid style types and public API#55876
NickGerleman wants to merge 1 commit intofacebook:mainfrom
NickGerleman:export-D94867121

Conversation

@NickGerleman
Copy link
Contributor

Summary:

  • Add foundational data types, enums, style properties, and C API for expressing CSS Grid layouts
  • Includes GridLine.h, GridTrack.h, GridTrackType.h, Display::Grid, new alignment enums (Align::Start/End, Justify::Auto/Stretch/Start/End)
  • C API: YGGridTrackList.h/cpp, YGNodeStyle grid setters/getters
  • Layout helper updates, Node.h relativePosition made public

Split from facebook/yoga#1865. Part of the CSS Grid implementation series.

X-link: facebook/yoga#1893

Differential Revision: D94867121

Pulled By: NickGerleman

Summary:
- Add foundational data types, enums, style properties, and C API for expressing CSS Grid layouts
- Includes `GridLine.h`, `GridTrack.h`, `GridTrackType.h`, `Display::Grid`, new alignment enums (`Align::Start/End`, `Justify::Auto/Stretch/Start/End`)
- C API: `YGGridTrackList.h/cpp`, `YGNodeStyle` grid setters/getters
- Layout helper updates, `Node.h` `relativePosition` made public

Split from facebook/yoga#1865. Part of the CSS Grid implementation series.

X-link: facebook/yoga#1893

Differential Revision: D94867121

Pulled By: NickGerleman
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Mar 3, 2026
@meta-codesync
Copy link

meta-codesync bot commented Mar 3, 2026

@NickGerleman has exported this pull request. If you are a Meta employee, you can view the originating Diff in D94867121.

meta-codesync bot pushed a commit to facebook/yoga that referenced this pull request Mar 5, 2026
Summary:
X-link: facebook/react-native#55876

- Add foundational data types, enums, style properties, and C API for expressing CSS Grid layouts
- Includes `GridLine.h`, `GridTrack.h`, `GridTrackType.h`, `Display::Grid`, new alignment enums (`Align::Start/End`, `Justify::Auto/Stretch/Start/End`)
- C API: `YGGridTrackList.h/cpp`, `YGNodeStyle` grid setters/getters
- Layout helper updates, `Node.h` `relativePosition` made public

Split from #1865. Part of the CSS Grid implementation series.

Changelog: [Internal]

Pull Request resolved: #1893

Reviewed By: sammy-SC

Differential Revision: D94867121

Pulled By: NickGerleman

fbshipit-source-id: adcb6d107cdd782550a614f87f84cff3ecefd806
@meta-codesync meta-codesync bot closed this in 26cef64 Mar 5, 2026
@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @intergalacticspacehighway in 26cef64

When will my fix make it into a release? | How to file a pick request?

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Mar 5, 2026
@meta-codesync
Copy link

meta-codesync bot commented Mar 5, 2026

@NickGerleman merged this pull request in 26cef64.

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 Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants