Skip to content

Migrate YogaGutter enum to Kotlin#1955

Closed
cortinico wants to merge 11 commits into
react:mainfrom
cortinico:export-D104666345
Closed

Migrate YogaGutter enum to Kotlin#1955
cortinico wants to merge 11 commits into
react:mainfrom
cortinico:export-D104666345

Conversation

@cortinico

Copy link
Copy Markdown
Contributor

Summary:
X-link: facebook/react-native#56791

Migrate YogaGutter.java to YogaGutter.kt by adding Gutter to KOTLIN_ENUM_NAMES in enums.py and regenerating.

Differential Revision: D104666345

cortinico and others added 11 commits May 12, 2026 05:42
Summary:
Migrate all hand-written Java test files in xplat/yoga/java/tests/ to Kotlin as part of the Yoga Java-to-Kotlin migration effort. Also updates the BUCK test target glob to include *.kt files. Files migrated: TestParametrization.java, utils/TestUtils.java, YogaValueTest.java, YogaLoggerTest.java, YGAlignBaselineTest.java, YogaExceptionTest.java, YogaNodeTest.java, YogaNodeStylePropertiesTest.java.

Changelog:
[Internal] -

Differential Revision: D104666348
Summary:
Migrate YogaAlign.java to YogaAlign.kt by adding Align to KOTLIN_ENUM_NAMES in enums.py and regenerating.

Changelog:
[Internal] -

Differential Revision: D104666334
Summary: Migrate YogaBoxSizing.java to YogaBoxSizing.kt by adding BoxSizing to KOTLIN_ENUM_NAMES in enums.py and regenerating.

Differential Revision: D104666350
Summary: Migrate YogaDimension.java to YogaDimension.kt by adding Dimension to KOTLIN_ENUM_NAMES in enums.py and regenerating.

Differential Revision: D104666342
Summary: Migrate YogaDisplay.java to YogaDisplay.kt by adding Display to KOTLIN_ENUM_NAMES in enums.py and regenerating.

Differential Revision: D104666346
Summary: Migrate YogaEdge.java to YogaEdge.kt by adding Edge to KOTLIN_ENUM_NAMES in enums.py and regenerating.

Differential Revision: D104666351
Summary: Migrate YogaErrata.java to YogaErrata.kt by adding Errata to KOTLIN_ENUM_NAMES in enums.py and regenerating.

Differential Revision: D104666332
Summary: Migrate YogaExperimentalFeature.java to YogaExperimentalFeature.kt by adding ExperimentalFeature to KOTLIN_ENUM_NAMES in enums.py and regenerating.

Differential Revision: D104666330
Summary: Migrate YogaFlexDirection.java to YogaFlexDirection.kt by adding FlexDirection to KOTLIN_ENUM_NAMES in enums.py and regenerating.

Differential Revision: D104666341
Summary: Migrate YogaGridTrackType.java to YogaGridTrackType.kt by adding GridTrackType to KOTLIN_ENUM_NAMES in enums.py and regenerating.

Differential Revision: D104666336
Summary:
X-link: react/react-native#56791

Migrate YogaGutter.java to YogaGutter.kt by adding Gutter to KOTLIN_ENUM_NAMES in enums.py and regenerating.

Differential Revision: D104666345
@vercel

vercel Bot commented May 12, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
yoga-website Ready Ready Preview, Comment May 12, 2026 0:55am

Request Review

@meta-cla meta-cla Bot added the CLA Signed label May 12, 2026
@meta-codesync

meta-codesync Bot commented May 12, 2026

Copy link
Copy Markdown

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

@meta-codesync meta-codesync Bot closed this in 78e7632 May 12, 2026
meta-codesync Bot pushed a commit to react/react-native that referenced this pull request May 12, 2026
Summary:
X-link: react/yoga#1955

Pull Request resolved: #56791

Migrate YogaGutter.java to YogaGutter.kt by adding Gutter to KOTLIN_ENUM_NAMES in enums.py and regenerating.

Reviewed By: fabriziocucci

Differential Revision: D104666345

fbshipit-source-id: 12dbfc582c07be31cfb37d7a520961bea1f212b4
@meta-codesync

meta-codesync Bot commented May 12, 2026

Copy link
Copy Markdown

This pull request has been merged in 78e7632.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant