Skip to content

Conversation

@exploIF
Copy link
Collaborator

@exploIF exploIF commented Jan 15, 2026

Summary

  • refactor native android file structure - that way it's easier in the future to maintain many different components
  • rename codegen spec to ReactNativeEnrichedSpec - previous naming was fine for input only library, but as we plan to bring text component we should use something more generic.

Test Plan

Ensure that library still works fine and there is no regression. This PR should not affect how library works.

Screenshots / Videos

n/a

Compatibility

OS Implemented
iOS
Android

…roid-namings

# Conflicts:
#	android/src/main/java/com/swmansion/enriched/textinput/EnrichedTextInputView.kt
#	android/src/main/java/com/swmansion/enriched/textinput/styles/ListStyles.kt
#	android/src/main/java/com/swmansion/enriched/textinput/styles/ParagraphStyles.kt
#	android/src/main/java/com/swmansion/enriched/textinput/styles/ParametrizedStyles.kt
#	android/src/main/java/com/swmansion/enriched/textinput/utils/EnrichedConstants.kt
#	android/src/main/java/com/swmansion/enriched/textinput/utils/EnrichedSpannable.kt
#	android/src/main/java/com/swmansion/enriched/textinput/utils/EnrichedSpannableStringBuilder.kt
#	android/src/main/java/com/swmansion/enriched/textinput/utils/Utils.kt
…roid-namings

# Conflicts:
#	android/src/main/new_arch/react/renderer/components/ReactNativeEnrichedSpec/conversions.h
@exploIF exploIF marked this pull request as ready for review January 19, 2026 11:16
Copy link
Collaborator

@kacperzolkiewski kacperzolkiewski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

# Summary

This PR refactor checking if heading `bold` prop changed and adds
removing bold spans when `htmlStyle` prop changes that headings` (h4,
h5, h6)` gets `bold: true` property

## Test Plan

1. Add h5 heading with `bold: false` inside htmlStyle in h5 prop
2. type some text in it with bold style toggled
3. inside htmlStyle in h5 prop change bold to true
4. See that generated html does not contain <b></b> tag

## Screenshots / Videos


https://github.com/user-attachments/assets/b861530f-d19f-42f6-a2c7-a77154d4e6f0


## Compatibility

| OS      | Implemented |
| ------- | :---------: |
| iOS     |    ❌     |
| Android |    ✅     |
@exploIF exploIF merged commit 47d715d into main Jan 20, 2026
6 checks passed
@exploIF exploIF deleted the @exploif/refactor-android-namings branch January 20, 2026 10:17
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.

3 participants