Skip to content

Commit 6eeaf42

Browse files
authored
Changes for 2.0.0-rc.2 (#1165)
* Bumped all dependencies in all projects in the repo to latest. Got RXPTest building again on web and ios, and ran into some issues. * Fixing regression in web scrollview from a couple weeks ago * Published new reactxp-webview 2.0.0-rc.3. Consuming that in RXPTest to avoid version mismatches. webview tests now work on ios. * Eliminating setMaxContentSizeMultiplier since it's not in public RN * Fixing the image api test to take pixel ratio into account * Updating all react native peer deps to just >=0.57
1 parent 13b33ab commit 6eeaf42

34 files changed

+221
-315
lines changed

docs/docs/apis/userinterface.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,6 @@ measureWindow(rootViewId?: string): Types.Dimensions;
5757
// can be adjusted by users on some platforms; defaults to 1.0
5858
getContentSizeMultiplier(): SyncTasks.Promise<number>;
5959

60-
// Sets the default maximum "size multiplier" for text increase.
61-
// Values must be 0 or >=1. The default is 0 which indicates that
62-
// there is no max.
63-
// Note: Older versions of React Native don’t support this interface.
64-
setMaxContentSizeMultiplier(maxContentSizeMultiplier: number): void;
65-
6660
// Dismisses the on-screen keyboard (on applicable platforms)
6761
dismissKeyboard(): void;
6862

docs/docs/components/link.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,6 @@ allowFontScaling: boolean = true; // Android and iOS only
2424
// property.
2525
autoFocus: boolean = false;
2626

27-
// Should the scale multiplier be capped when allowFontScaling is set to true?
28-
// Possible values include the following:
29-
// null/undefined (default) - inherit from parent/global default
30-
// 0 - no max
31-
// >= 1 - sets the maxContentSizeMultiplier of this node to this value
32-
// Note: Older versions of React Native don’t support this interface.
33-
maxContentSizeMultiplier: number = null; // Android and iOS only
34-
3527
// For non-zero values, truncates with ellipsis if necessary
3628
numberOfLines: number = 0;
3729

docs/docs/components/text.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,6 @@ accessibilityId: string = undefined;
5454
// callback.
5555
autoFocus: boolean = false;
5656

57-
// Should the scale multiplier be capped when allowFontScaling is set to true?
58-
// Possible values include the following:
59-
// null/undefined (default) - inheret from parent/global default
60-
// 0 - no max
61-
// >= 1 - sets the maxContentSizeMultiplier of this node to this value
62-
// Note: Older versions of React Native don’t support this interface.
63-
maxContentSizeMultiplier: number = null; // Android and iOS only
64-
6557
// For non-zero values, truncates with ellipsis if necessary. Web platform
6658
// doesn't support values greater than 1. Web platform may also not truncate
6759
// properly if text contains line breaks, so it may be necessary to replace

docs/docs/components/textinput.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,6 @@ keyboardAppearance: 'default' | 'light' | 'dark';
6565
// On-screen keyboard type to display
6666
keyboardType: 'default' | 'numeric' | 'email-address' | 'number-pad';
6767

68-
// Should the scale multiplier be capped when allowFontScaling is
69-
// set to true? Possible values include the following:
70-
// null/undefined (default) - inheret from parent/global default
71-
// 0 - no max
72-
// >= 1 - sets the maxContentSizeMultiplier of this node to this value
73-
// Note: Older versions of React Native don’t support this interface.
74-
maxContentSizeMultiplier: number = null; // Android and iOS only
75-
7668
// Maximum character count
7769
maxLength: number = undefined;
7870

extensions/imagesvg/package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "reactxp-imagesvg",
3-
"version": "2.0.0-rc.1",
3+
"version": "2.0.0-rc.2",
44
"description": "Plugin for ReactXP that provides support for SVG (scalable vector graphics) for all platforms",
55
"author": "ReactXP Team <[email protected]>",
66
"license": "MIT",
@@ -9,24 +9,24 @@
99
"tslint": "tslint -p tsconfig.json -r tslint.json --fix || true"
1010
},
1111
"dependencies": {
12-
"react-native-svg": "^9.5.1"
12+
"react-native-svg": "^9.13.3"
1313
},
1414
"peerDependencies": {
15-
"react": "^16.0",
16-
"reactxp": "^2.0.0-rc.1",
17-
"react-dom": "^16.0",
18-
"react-native": ">=0.57 <0.60",
15+
"react": "^16.3",
16+
"reactxp": "^2.0.0-rc.2",
17+
"react-dom": "^16.3",
18+
"react-native": ">=0.57",
1919
"react-native-windows": "^0.57.1"
2020
},
2121
"devDependencies": {
22-
"@types/react-native": "^0.57.62",
23-
"@types/node": "^11.13.14",
24-
"reactxp": "^2.0.0-rc.1",
25-
"tslint": "^5.17.0",
22+
"@types/react-native": "^0.60.22",
23+
"@types/node": "^12.12.7",
24+
"reactxp": "^2.0.0-rc.2",
25+
"tslint": "^5.20.1",
2626
"tslint-microsoft-contrib": "^6.2.0",
27-
"tslint-react": "^4.0.0",
28-
"tsutils": "^3.14.0",
29-
"typescript": "^3.5.1"
27+
"tslint-react": "^4.1.0",
28+
"tsutils": "^3.17.1",
29+
"typescript": "^3.7.2"
3030
},
3131
"types": "dist/web/PluginBase.d.ts"
3232
}

extensions/navigation/package.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "reactxp-navigation",
3-
"version": "2.0.0-rc.1",
3+
"version": "2.0.0-rc.2",
44
"description": "Plugin for ReactXP that provides a navigation framework",
55
"scripts": {
66
"build": "npm run tslint && tsc",
@@ -16,27 +16,27 @@
1616
"react"
1717
],
1818
"dependencies": {
19-
"lodash": "^4.17.11",
19+
"lodash": "^4.17.15",
2020
"rebound": "^0.1.0",
2121
"reactxp-experimental-navigation": "1.0.14"
2222
},
2323
"peerDependencies": {
24-
"react": "^16.0",
25-
"reactxp": "^2.0.0-rc.1",
26-
"react-dom": "^16.0",
27-
"react-native": ">=0.57 <0.60",
24+
"react": "^16.3",
25+
"reactxp": "^2.0.0-rc.2",
26+
"react-dom": "^16.3",
27+
"react-native": ">=0.57",
2828
"react-native-windows": "^0.57.1"
2929
},
3030
"devDependencies": {
31-
"@types/lodash": "^4.14.134",
32-
"@types/node": "^11.13.14",
33-
"@types/react-native": "^0.57.62",
34-
"reactxp": "^2.0.0-rc.1",
35-
"tslint": "^5.17.0",
31+
"@types/lodash": "^4.14.147",
32+
"@types/node": "^12.12.7",
33+
"@types/react-native": "^0.60.22",
34+
"reactxp": "^2.0.0-rc.2",
35+
"tslint": "^5.20.1",
3636
"tslint-microsoft-contrib": "^6.2.0",
37-
"tslint-react": "^4.0.0",
38-
"tsutils": "^3.14.0",
39-
"typescript": "^3.5.1"
37+
"tslint-react": "^4.1.0",
38+
"tsutils": "^3.17.1",
39+
"typescript": "^3.7.2"
4040
},
4141
"author": "ReactXP Team <[email protected]>",
4242
"license": "MIT",

extensions/netinfo/package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "reactxp-netinfo",
3-
"version": "2.0.0-rc.1",
3+
"version": "2.0.0-rc.2",
44
"description": "Plugin for ReactXP that provides information about network connectivity",
55
"author": "ReactXP Team <[email protected]>",
66
"license": "MIT",
@@ -9,19 +9,19 @@
99
"tslint": "tslint -p tsconfig.json -r tslint.json -r ./node_modules/tslint-microsoft-contrib --fix || true"
1010
},
1111
"dependencies": {
12-
"@react-native-community/netinfo": "^3.2.0"
12+
"@react-native-community/netinfo": "^4.6.0"
1313
},
1414
"peerDependencies": {
15-
"reactxp": "^2.0.0-rc.1",
16-
"react-dom": "^16.4.0",
17-
"react-native": "^0.55.0",
18-
"react-native-windows": "^0.54.0"
15+
"reactxp": "^2.0.0-rc.2",
16+
"react-dom": "^16.3",
17+
"react-native": ">=0.57",
18+
"react-native-windows": "^0.57.1"
1919
},
2020
"devDependencies": {
21-
"reactxp": "^2.0.0-rc.1",
22-
"typescript": "3.4.5",
23-
"tslint": "5.16.0",
24-
"tslint-microsoft-contrib": "6.1.1"
21+
"reactxp": "^2.0.0-rc.2",
22+
"typescript": "3.7.2",
23+
"tslint": "5.20.1",
24+
"tslint-microsoft-contrib": "6.2.0"
2525
},
2626
"types": "dist/web/PluginBase.d.ts"
2727
}

extensions/video/package.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "reactxp-video",
3-
"version": "2.0.0-rc.2",
3+
"version": "2.0.0-rc.3",
44
"description": "Plugin for ReactXP that provides a video player component for all platforms",
55
"author": "ReactXP Team <[email protected]>",
66
"license": "MIT",
@@ -9,25 +9,25 @@
99
"tslint": "tslint -p tsconfig.json -r tslint.json --fix || true"
1010
},
1111
"dependencies": {
12-
"lodash": "^4.17.11",
13-
"react-native-video": "^4.4.4"
12+
"lodash": "^4.17.15",
13+
"react-native-video": "^5.0.2"
1414
},
1515
"peerDependencies": {
16-
"react": "^16.0",
17-
"reactxp": "^2.0.0-rc.1",
18-
"react-dom": "^16.0",
19-
"react-native": ">=0.57 <0.60",
16+
"react": "^16.3",
17+
"reactxp": "^2.0.0-rc.2",
18+
"react-dom": "^16.3",
19+
"react-native": ">=0.57",
2020
"react-native-windows": "^0.57.1"
2121
},
2222
"devDependencies": {
23-
"@types/lodash": "^4.14.134",
24-
"@types/react-native": "^0.57.62",
25-
"reactxp": "^2.0.0-rc.1",
26-
"tslint": "^5.17.0",
23+
"@types/lodash": "^4.14.147",
24+
"@types/react-native": "^0.60.22",
25+
"reactxp": "^2.0.0-rc.2",
26+
"tslint": "^5.20.1",
2727
"tslint-microsoft-contrib": "^6.2.0",
28-
"tslint-react": "^4.0.0",
29-
"tsutils": "^3.14.0",
30-
"typescript": "^3.5.1"
28+
"tslint-react": "^4.1.0",
29+
"tsutils": "^3.17.1",
30+
"typescript": "^3.7.2"
3131
},
3232
"types": "dist/web/PluginBase.d.ts"
3333
}

extensions/virtuallistview/package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "reactxp-virtuallistview",
3-
"version": "2.0.0",
3+
"version": "2.1.0-rc.1",
44
"description": "General-purpose virtualized list view built on the cross-platform ReactXP library",
55
"author": "ReactXP Team <[email protected]>",
66
"license": "MIT",
@@ -9,23 +9,23 @@
99
"tslint": "tslint --project tsconfig.json -r tslint.json --fix || true"
1010
},
1111
"dependencies": {
12-
"lodash": "^4.17.11"
12+
"lodash": "^4.17.15"
1313
},
1414
"peerDependencies": {
15-
"react": "^16.0",
16-
"reactxp": "^2.0.0-rc.1",
17-
"react-dom": "^16.0",
18-
"react-native": ">=0.57 <0.60",
15+
"react": "^16.3",
16+
"reactxp": "^2.0.0-rc.2",
17+
"react-dom": "^16.3",
18+
"react-native": ">=0.57",
1919
"react-native-windows": "^0.57.1"
2020
},
2121
"devDependencies": {
22-
"@types/lodash": "^4.14.134",
23-
"reactxp": "^2.0.0-rc.1",
24-
"tslint": "^5.17.0",
22+
"@types/lodash": "^4.14.147",
23+
"reactxp": "^2.0.0-rc.2",
24+
"tslint": "^5.20.1",
2525
"tslint-microsoft-contrib": "^6.2.0",
26-
"tslint-react": "^4.0.0",
27-
"tsutils": "^3.14.0",
28-
"typescript": "^3.5.1"
26+
"tslint-react": "^4.1.0",
27+
"tsutils": "^3.17.1",
28+
"typescript": "^3.7.2"
2929
},
3030
"homepage": "https://microsoft.github.io/reactxp/docs/extensions/virtuallistview.html",
3131
"repository": {

extensions/webview/package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "reactxp-webview",
3-
"version": "2.0.0-rc.2",
3+
"version": "2.0.0-rc.3",
44
"description": "Plugin for ReactXP that provides a control that allows the display of an independent web page",
55
"author": "ReactXP Team <[email protected]>",
66
"license": "MIT",
@@ -9,20 +9,20 @@
99
"tslint": "tslint -p tsconfig.json -r tslint.json --fix || true"
1010
},
1111
"dependencies": {
12-
"react-native-webview": "^7.0.5"
12+
"react-native-webview": "^7.5.1"
1313
},
1414
"peerDependencies": {
15-
"reactxp": "^2.0.0-rc.1",
16-
"react": "^16.0",
17-
"react-dom": "^16.0",
18-
"react-native": ">=0.57 <0.60",
15+
"react": "^16.3",
16+
"reactxp": "^2.0.0-rc.2",
17+
"react-dom": "^16.3",
18+
"react-native": ">=0.57",
1919
"react-native-windows": "^0.57.1"
2020
},
2121
"devDependencies": {
22-
"reactxp": "^2.0.0-rc.1",
23-
"typescript": "3.4.5",
24-
"tslint": "5.16.0",
25-
"tslint-microsoft-contrib": "6.1.1"
22+
"reactxp": "^2.0.0-rc.2",
23+
"typescript": "3.7.2",
24+
"tslint": "5.20.1",
25+
"tslint-microsoft-contrib": "6.2.0"
2626
},
2727
"types": "dist/web/PluginBase.d.ts"
2828
}

0 commit comments

Comments
 (0)