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
WebViewComponentconfig field has been renamed toWebView.autoheight,maxHeightanddefaultHeighthave 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,useLayoutAnimationhas 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,animationDurationnow replacestransitionDurationto 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
tableStyleSpecsoptional. tableStyleSpecsnew attributefontSizePx.- End injected script with a true statement to comply with RNWV.
BREAKING
fitContainerattribute oftableStyleSpecsconfig has been split intofitContainerWidthandfitContainerHeight.- TypeScript definitions for
react-native-render-htmlare not embedded anymore. Please upgrade toreact-native-render-html@4.2.1.
v0.4.0
- Get rid of deprecated
componentWillUpdatemethod inHTMLTablecomponent; - 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
selectableTextfield intableStyleSpecsconfig option - export
cssRulesFromSpecsanddefaultTableStylesSpecs - add FAQ to readme
- added
numOfRows,numOfColumnsandnumOfCharstoHTMLTableprops, which can help trigger rendering logic depending on table stats - export
makeCustomTableRendererto customize table component - added a new example with custom complex table