Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ef53677

Browse files
committed
build(deps): upgrade @formidable-webview/webshell to 2.0.0-alpha.1
1 parent 9ffc6c3 commit ef53677

File tree

5 files changed

+11
-12
lines changed

5 files changed

+11
-12
lines changed

table-plugin/docs/table-plugin.htmltable.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ A component capable of rendering a html string which root tag is a table tag. Th
99
<b>Signature:</b>
1010

1111
```typescript
12-
export declare function HTMLTable<WVP extends MinimalWebViewProps>({ WebView, tableStyleSpecs, cssRules, html, sourceBaseUrl, animationType, computeHeuristicContentHeight, computeContainerHeight, webViewProps: userWebViewProps, style, onLinkPress, animationDuration, renderersProps, ...stats }: HTMLTableProps<WVP>): JSX.Element;
12+
export declare function HTMLTable({ WebView, tableStyleSpecs, cssRules, html, sourceBaseUrl, animationType, computeHeuristicContentHeight, computeContainerHeight, webViewProps: userWebViewProps, style, onLinkPress, animationDuration, renderersProps, ...stats }: HTMLTableProps<MinimalWebViewProps>): JSX.Element;
1313
```
1414

1515
## Parameters
1616

1717
| Parameter | Type | Description |
1818
| --- | --- | --- |
19-
| { WebView, tableStyleSpecs, cssRules, html, sourceBaseUrl, animationType, computeHeuristicContentHeight, computeContainerHeight, webViewProps: userWebViewProps, style, onLinkPress, animationDuration, renderersProps, ...stats } | [HTMLTableProps](./table-plugin.htmltableprops.md)<!-- -->&lt;WVP&gt; | |
19+
| { WebView, tableStyleSpecs, cssRules, html, sourceBaseUrl, animationType, computeHeuristicContentHeight, computeContainerHeight, webViewProps: userWebViewProps, style, onLinkPress, animationDuration, renderersProps, ...stats } | [HTMLTableProps](./table-plugin.htmltableprops.md)<!-- -->&lt;MinimalWebViewProps&gt; | |
2020

2121
<b>Returns:</b>
2222

table-plugin/etc/table-plugin.api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export function cssRulesFromSpecs(specs?: TableStyleSpecs): string;
2121
export const defaultTableStylesSpecs: TableStyleSpecs;
2222

2323
// @public
24-
export function HTMLTable<WVP extends MinimalWebViewProps>({ WebView, tableStyleSpecs, cssRules, html, sourceBaseUrl, animationType, computeHeuristicContentHeight, computeContainerHeight, webViewProps: userWebViewProps, style, onLinkPress, animationDuration, renderersProps, ...stats }: HTMLTableProps<WVP>): JSX.Element;
24+
export function HTMLTable({ WebView, tableStyleSpecs, cssRules, html, sourceBaseUrl, animationType, computeHeuristicContentHeight, computeContainerHeight, webViewProps: userWebViewProps, style, onLinkPress, animationDuration, renderersProps, ...stats }: HTMLTableProps<MinimalWebViewProps>): JSX.Element;
2525

2626
// @public
2727
export interface HTMLTableBaseProps extends HTMLTableStats {

table-plugin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
"typescript": "~3.9.7"
6363
},
6464
"dependencies": {
65-
"@formidable-webview/webshell": "2.0.0-alpha.0",
65+
"@formidable-webview/webshell": "2.0.0-alpha.1",
6666
"@types/prop-types": "^15.7.3",
6767
"prop-types": "^15.7.2",
6868
"stringify-entities": "^3.0.1"

table-plugin/src/HTMLTable.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ function useSource({
242242
*
243243
* @public
244244
*/
245-
export function HTMLTable<WVP extends MinimalWebViewProps>({
245+
export function HTMLTable({
246246
WebView,
247247
tableStyleSpecs,
248248
cssRules,
@@ -257,7 +257,7 @@ export function HTMLTable<WVP extends MinimalWebViewProps>({
257257
animationDuration,
258258
renderersProps,
259259
...stats
260-
}: HTMLTableProps<WVP>) {
260+
}: HTMLTableProps<MinimalWebViewProps>) {
261261
const Webshell = useMemo(
262262
() =>
263263
makeWebshell(
@@ -298,7 +298,6 @@ export function HTMLTable<WVP extends MinimalWebViewProps>({
298298
testID="html-table-container"
299299
style={[containerStyle, styles.container, style]}>
300300
{
301-
//@ts-ignore
302301
<Webshell
303302
onDOMLinkPress={onDOMLinkPress}
304303
{...autoheightWebshellProps}

yarn.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1726,13 +1726,13 @@ __metadata:
17261726
languageName: node
17271727
linkType: hard
17281728

1729-
"@formidable-webview/webshell@npm:2.0.0-alpha.0":
1730-
version: 2.0.0-alpha.0
1731-
resolution: "@formidable-webview/webshell@npm:2.0.0-alpha.0"
1729+
"@formidable-webview/webshell@npm:2.0.0-alpha.1":
1730+
version: 2.0.0-alpha.1
1731+
resolution: "@formidable-webview/webshell@npm:2.0.0-alpha.1"
17321732
peerDependencies:
17331733
react: "*"
17341734
react-native: ">= 0.59.0"
1735-
checksum: 652abe60c00f94f5a59022bf76322acb3c34ae26c27b70314d64e83c5f759215e290a9dac121aa57ce301ac640123400cef45bb023e1154aeec0fa74070758ff
1735+
checksum: 0486e9121f74eba986dfb8deb3de66377b8d0cf3cdab63621437a398a9131ab6402572b5f8266b70ebc4ccd24eb25d32e4635da3e8ab1554dc30090a2a50dfdc
17361736
languageName: node
17371737
linkType: hard
17381738

@@ -2151,7 +2151,7 @@ __metadata:
21512151
"@babel/runtime": ^7.11.2
21522152
"@formidable-webview/ersatz": ^1.0.0
21532153
"@formidable-webview/ersatz-testing": ^1.0.1
2154-
"@formidable-webview/webshell": 2.0.0-alpha.0
2154+
"@formidable-webview/webshell": 2.0.0-alpha.1
21552155
"@microsoft/api-documenter": ^7.8.56
21562156
"@microsoft/api-extractor": 7.9.22
21572157
"@react-native-community/bob": ^0.16.2

0 commit comments

Comments
 (0)