Skip to content

Conversation

@mdvacca
Copy link
Contributor

@mdvacca mdvacca commented Jan 27, 2026

Summary:
Updated and added KDoc documentation to BoxShadow.kt:

  • Fixed incorrect class documentation (was incorrectly describing border radius)
  • Added proper documentation explaining box shadow purpose and CSS correspondence
  • Documented all properties: offsetX, offsetY, color, blurRadius, spreadDistance, inset
  • Added parse method documentation with parameter descriptions

changelog: [internal] internal

Reviewed By: lenaic

Differential Revision: D91554604

@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 Jan 27, 2026
@facebook-github-bot facebook-github-bot added the Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. label Jan 27, 2026
Summary:
Added comprehensive KDoc documentation to the UIManagerType annotation class and its companion object constants. This improves code readability and provides better IDE support for developers working with UIManager types.

The documentation explains:
- The purpose of the annotation (distinguishing between legacy and Fabric UIManager)
- Each constant (DEFAULT, LEGACY, FABRIC) and their use cases
- Deprecation notes for the DEFAULT constant

changelog: [internal] internal

Reviewed By: cortinico

Differential Revision: D91553347
Summary:
Added KDoc documentation to the ViewUtil object and its NO_SURFACE_ID constant. The existing function documentation was already present.

The documentation explains:
- The purpose of the ViewUtil object (utilities for determining UIManager type)
- The NO_SURFACE_ID constant and its usage as a placeholder for legacy UIManager

changelog: [internal] internal

Reviewed By: cortinico

Differential Revision: D91553498
Summary:
Added comprehensive KDoc documentation to BackgroundSize.kt classes and methods:

- BackgroundSizeLengthPercentage: Documented class purpose, properties (x, y), and methods (isXAuto, isYAuto, parse)
- BackgroundSize sealed class: Documented the sealed class hierarchy and LengthPercentageAuto subclass
- Companion object parse methods: Added parameter and return documentation

This improves code readability and provides better IDE support for developers.

changelog: [internal] internal

Reviewed By: lenaic

Differential Revision: D91554301
Summary:
Added KDoc documentation to BackgroundPosition.kt:

- Class documentation explaining its purpose for CSS-like background positioning
- Property documentation for top, left, right, bottom offset values
- Parse method documentation with parameter and return descriptions

changelog: [internal] internal

Reviewed By: lenaic

Differential Revision: D91554341
Summary:
Added KDoc documentation to BackgroundRepeat.kt:

- BackgroundRepeatKeyword enum: Documented each repeat behavior (Repeat, Space, Round, NoRepeat)
- BackgroundRepeat class: Documented class purpose and x/y properties
- Parse method: Added parameter and return documentation

changelog: [internal] internal

Reviewed By: cortinico

Differential Revision: D91554444
Summary:
Added KDoc documentation to the public BackgroundImageLayer class:

- Class documentation explaining its purpose for gradient-based background layers
- parse() method documentation with parameter descriptions
- getShader() method documentation for shader generation


changelog: [internal] internal

Reviewed By: lenaic

Differential Revision: D91554568
Summary:
Updated and added KDoc documentation to BoxShadow.kt:

- Fixed incorrect class documentation (was incorrectly describing border radius)
- Added proper documentation explaining box shadow purpose and CSS correspondence
- Documented all properties: offsetX, offsetY, color, blurRadius, spreadDistance, inset
- Added parse method documentation with parameter descriptions

changelog: [internal] internal

Reviewed By: lenaic

Differential Revision: D91554604
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. p: Facebook Partner: Facebook Partner Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants