Skip to content

Releases: native-html/plugins

Release 1.0.0

19 Aug 14:35
Compare
Choose a tag to compare

1.0.0 (2020-08-19)

Code Refactoring

  • restructure source files and comply with api-extractor (644e2ff)

Features

  • new TableConfig API to configure height computation (07264fb)

BREAKING CHANGES

  • WebViewComponent config field has been renamed to WebView.
  • autoheight, maxHeight and defaultHeight have been
    dropped in favour of computeContainerHeight. This function gives more
    flexibility to library users, providing a way to set height at different
    steps of the component lifecycle. Also, useLayoutAnimation has been
    dropped in favour of animationType, giving the opportunity to completely
    switch off animations. Moreover, a new prop, computeHeuristicContentHeight,
    allows even more fine-grain control on the height computation logic and
    more specifically, when the accurate content height is not yet available.
    Finally, animationDuration now replaces transitionDuration to make the
    semantic link with animationType more explicit.
  • remove export of domToHTML

Release 1.0.0-alpha.4

19 Aug 13:47
Compare
Choose a tag to compare
Release 1.0.0-alpha.4 Pre-release
Pre-release
v1.0.0-alpha.4

Release 1.0.0-alpha.4

Release 1.0.0-alpha.3

19 Aug 13:38
Compare
Choose a tag to compare
Release 1.0.0-alpha.3 Pre-release
Pre-release
v1.0.0-alpha.3

Release 1.0.0-alpha.3

Release 1.0.0-alpha.2

19 Aug 12:29
Compare
Choose a tag to compare
Release 1.0.0-alpha.2 Pre-release
Pre-release
v1.0.0-alpha.2

Release 1.0.0-alpha.2

Release 1.0.0-alpha.1

19 Aug 11:59
Compare
Choose a tag to compare
Release 1.0.0-alpha.1 Pre-release
Pre-release
v1.0.0-alpha.1

Release 1.0.0-alpha.1

Release 1.0.0-alpha.0

18 Aug 16:57
Compare
Choose a tag to compare
Release 1.0.0-alpha.0 Pre-release
Pre-release
v1.0.0-alpha.0

Release 1.0.0-alpha.0

v0.6.1

04 Jul 11:34
Compare
Choose a tag to compare

bugfix

  • Merge defaults table style specs to user-provided tableStyleSpecs.

v0.6.0

03 Jul 23:30
Compare
Choose a tag to compare
  • Make each attribute of tableStyleSpecs optional.
  • tableStyleSpecs new attribute fontSizePx.
  • End injected script with a true statement to comply with RNWV.

BREAKING

  • fitContainer attribute of tableStyleSpecs config has been split into fitContainerWidth and fitContainerHeight.
  • TypeScript definitions for react-native-render-html are not embedded anymore. Please upgrade to [email protected].

v0.4.0

26 Sep 13:07
Compare
Choose a tag to compare
  • Get rid of deprecated componentWillUpdate method in HTMLTable component;
  • Fix inconsistent odd/even rules;
  • Run injected javascript in a closure, #4;
  • Add new TableStyleSpecs properties:
    • Add cellPaddingEm, borderWidthPx, thOddBackground, thOddColor;
    • BREAKING remove thBackground and thColor;
    • Add thEvenBackground and thEvenColor.

v0.3.1

04 May 16:06
Compare
Choose a tag to compare
  • add selectableText field in tableStyleSpecs config option
  • export cssRulesFromSpecs and defaultTableStylesSpecs
  • add FAQ to readme
  • added numOfRows, numOfColumns and numOfChars to HTMLTable props, which can help trigger rendering logic depending on table stats
  • export makeCustomTableRenderer to customize table component
  • added a new example with custom complex table