Skip to content

5.0.0 #45

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Dec 6, 2019
Merged

5.0.0 #45

merged 6 commits into from
Dec 6, 2019

Conversation

iamacup
Copy link
Owner

@iamacup iamacup commented Dec 6, 2019

  • Added mergeStyle prop - by default this is false for backwards compatibility but if true, the style prop will merge with pre-defined styles instead of overwriting them
  • Stopped applying text styles to Views
  • Changed the unknown element to render nothing instead of some strange error component by default - can still be changed through render rules
  • Remove platform enum to make it easier to override styles and render rules
  • Remove some unused style definitions
  • Added a key to the default topLevelMaxExceededItem value
  • Reworked how the root element is rendered so it can be used to apply global styles to text etc.
  • Removed some use of styles.text so that styles.text is only used on the text render rule, not elsewhere as some kind of weird text styling thing
  • Swap priority of styles when rendering - applies them in order of priority parent (least) to child (most)
  • Updated how text styles are applied (and updated the readme) to apply them to non-traditional text style items

@iamacup iamacup merged commit a8bf455 into master Dec 6, 2019
@iamacup iamacup deleted the 5.0.0 branch December 6, 2019 17:48
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.

1 participant