You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CSS Grid 1/9: Grid style types and public API (#1879)
Summary:
X-link: react/react-native#55665
Add the foundational data types, enums, style properties, and C API for
expressing CSS Grid layouts in Yoga.
Includes:
- Grid style types (GridLine.h, GridTrack.h, GridTrackType.h)
- Updated enums (Display::Grid, Align::Start/End, Justify::Auto/Stretch/Start/End)
- Grid event (LayoutPassReason::kGridLayout)
- Style property accessors and member variables
- Public C API (YGGridTrackList.h/cpp, YGNodeStyle grid setters/getters)
- Layout helpers updated for new enum values (Align.h, AbsoluteLayout.cpp,
CalculateLayout.cpp/h partial)
- Node.h: relativePosition made public
- Website playground grid property support
- React Native mirror of all C++ changes
Differential Revision: D93946262
0 commit comments