Releases: native-html/plugins
Releases · native-html/plugins
Release 1.0.0
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 toWebView
.autoheight
,maxHeight
anddefaultHeight
have been
dropped in favour ofcomputeContainerHeight
. 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 ofanimationType
, 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 replacestransitionDuration
to make the
semantic link with animationType more explicit.- remove export of domToHTML
Release 1.0.0-alpha.4
v1.0.0-alpha.4 Release 1.0.0-alpha.4
Release 1.0.0-alpha.3
v1.0.0-alpha.3 Release 1.0.0-alpha.3
Release 1.0.0-alpha.2
v1.0.0-alpha.2 Release 1.0.0-alpha.2
Release 1.0.0-alpha.1
v1.0.0-alpha.1 Release 1.0.0-alpha.1
Release 1.0.0-alpha.0
v1.0.0-alpha.0 Release 1.0.0-alpha.0
v0.6.1
v0.6.0
- Make each attribute of
tableStyleSpecs
optional. tableStyleSpecs
new attributefontSizePx
.- End injected script with a true statement to comply with RNWV.
BREAKING
fitContainer
attribute oftableStyleSpecs
config has been split intofitContainerWidth
andfitContainerHeight
.- TypeScript definitions for
react-native-render-html
are not embedded anymore. Please upgrade to[email protected]
.
v0.4.0
- Get rid of deprecated
componentWillUpdate
method inHTMLTable
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
- add
selectableText
field intableStyleSpecs
config option - export
cssRulesFromSpecs
anddefaultTableStylesSpecs
- add FAQ to readme
- added
numOfRows
,numOfColumns
andnumOfChars
toHTMLTable
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