Skip to content

feat: native wind support#58

Closed
patrickkabwe wants to merge 7 commits intomainfrom
feat/nativewind-support
Closed

feat: native wind support#58
patrickkabwe wants to merge 7 commits intomainfrom
feat/nativewind-support

Conversation

@patrickkabwe
Copy link
Copy Markdown
Owner

Pull Request

closes #47

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update
  • Other

Testing

  • Tested on iOS
  • Tested on Android
  • Added/updated tests

Checklist

  • Code follows project style guidelines
  • Self-review completed
  • Documentation updated (if needed)
  • No breaking changes (or clearly documented)

Additional Notes

Any additional information for reviewers.

patrickkabwe and others added 7 commits October 2, 2025 05:20
* feat(android): add NitroText HybridView implementation

- add Android Nitro module with Kotlin view, Fabric state updater, and JNI bridge

- share component descriptor/state logic so Fabric can hydrate props on Android

- update TypeScript entrypoint, codegen pipeline, and example app for Android support

* feat: add support for `onTextLayout`

* feat: implement fragment background color support in NitroText
* feat(android): add html support

- add Android Nitro module with Kotlin view, Fabric state updater, and JNI bridge

- share component descriptor/state logic so Fabric can hydrate props on Android

- update TypeScript entrypoint, codegen pipeline, and example app for Android support

* feat: add support for `onTextLayout`

* feat: implement fragment background color support in NitroText

* feat(android): html support
* feat(android): add NitroText HybridView implementation

- add Android Nitro module with Kotlin view, Fabric state updater, and JNI bridge

- share component descriptor/state logic so Fabric can hydrate props on Android

- update TypeScript entrypoint, codegen pipeline, and example app for Android support

* feat: add support for `onTextLayout`

* feat: implement fragment background color support in NitroText

* feat(android): html support

* feat: enhance NitroText with improved HTML rendering and whitespace handling

- Implemented HTML fragment parsing to support a wider range of HTML elements and styles.
- Added functionality to trim trailing whitespace in both HTML and text content.
- Updated NitroText component to handle various inline and block elements, ensuring proper rendering and styling.
- Enhanced the example app to showcase new HTML features and improved text layout.

* feat: html support on ios

- Introduced NitroHtmlRenderer for better HTML parsing and rendering capabilities.
- Updated NitroTextImpl to support HTML content and fragment background colors.
- Refactored NitroText to streamline rendering logic and improve performance.
- Enhanced NitroTextView to handle link interactions more effectively.
- Improved whitespace handling in text rendering for better layout consistency.
Bumps com.android.tools.build:gradle from 8.12.1 to 8.13.0.

---
updated-dependencies:
- dependency-name: com.android.tools.build:gradle
  dependency-version: 8.13.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [nitrogen](https://github.com/mrousavy/nitro) from 0.29.6 to 0.29.8.
- [Release notes](https://github.com/mrousavy/nitro/releases)
- [Commits](mrousavy/nitro@v0.29.6...v0.29.8)

---
updated-dependencies:
- dependency-name: nitrogen
  dependency-version: 0.29.8
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Bump `nitrogen` and `react-native-nitro-modules` versions to `0.29.8` in `package.json`, `example/package.json`, and `bun.lock`.
- Update `Podfile.lock` to reflect the new `NitroModules` version.
- Modify Kotlin and Swift bridge files to enhance type safety with `NON_NULL` annotations.
- Refactor vector handling in Swift to utilize `FastVectorCopy` for better performance.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Add support for nativewind if possible

1 participant