@applicaster/zapp-react-native-ui-components 12.0.24 → 12.0.25-alpha.3306320308
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -102,30 +102,28 @@ function ComponentsMapComponent(props: Props) {
|
|
|
102
102
|
({ item, index }) => {
|
|
103
103
|
const readyToBeDisplayed = arePreviousComponentsLoaded(index);
|
|
104
104
|
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
}
|
|
105
|
+
if (!readyToBeDisplayed) {
|
|
106
|
+
return null;
|
|
107
|
+
}
|
|
108
108
|
|
|
109
109
|
return (
|
|
110
|
-
<
|
|
111
|
-
<
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
</ScreenLoadingMeasurementsListItemWrapper>
|
|
128
|
-
</View>
|
|
110
|
+
<ScreenLoadingMeasurementsListItemWrapper index={index}>
|
|
111
|
+
<RiverItem
|
|
112
|
+
{...{
|
|
113
|
+
readyToBeDisplayed,
|
|
114
|
+
riverId,
|
|
115
|
+
item,
|
|
116
|
+
index,
|
|
117
|
+
isScreenWrappedInContainer,
|
|
118
|
+
feed,
|
|
119
|
+
groupId,
|
|
120
|
+
onLoadFailed,
|
|
121
|
+
onLoadFinished,
|
|
122
|
+
getStaticComponentFeed,
|
|
123
|
+
isLast: isLast(index, riverComponents.length),
|
|
124
|
+
}}
|
|
125
|
+
/>
|
|
126
|
+
</ScreenLoadingMeasurementsListItemWrapper>
|
|
129
127
|
);
|
|
130
128
|
},
|
|
131
129
|
[
|
|
@@ -80,47 +80,20 @@ exports[`componentsMap renders renders components map correctly 1`] = `
|
|
|
80
80
|
style={null}
|
|
81
81
|
>
|
|
82
82
|
<View
|
|
83
|
+
onLayout={[Function]}
|
|
83
84
|
style={
|
|
84
85
|
Object {
|
|
85
|
-
"
|
|
86
|
+
"flex": 1,
|
|
86
87
|
}
|
|
87
88
|
}
|
|
88
89
|
>
|
|
89
|
-
<View
|
|
90
|
-
onLayout={[Function]}
|
|
91
|
-
style={
|
|
92
|
-
Object {
|
|
93
|
-
"flex": 1,
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
>
|
|
97
|
-
<View />
|
|
98
|
-
</View>
|
|
90
|
+
<View />
|
|
99
91
|
</View>
|
|
100
92
|
</View>
|
|
101
93
|
<View
|
|
102
94
|
onLayout={[Function]}
|
|
103
95
|
style={null}
|
|
104
|
-
|
|
105
|
-
<View
|
|
106
|
-
style={
|
|
107
|
-
Object {
|
|
108
|
-
"display": "none",
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
>
|
|
112
|
-
<View
|
|
113
|
-
onLayout={[Function]}
|
|
114
|
-
style={
|
|
115
|
-
Object {
|
|
116
|
-
"flex": 1,
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
>
|
|
120
|
-
<View />
|
|
121
|
-
</View>
|
|
122
|
-
</View>
|
|
123
|
-
</View>
|
|
96
|
+
/>
|
|
124
97
|
<View
|
|
125
98
|
onLayout={[Function]}
|
|
126
99
|
>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applicaster/zapp-react-native-ui-components",
|
|
3
|
-
"version": "12.0.
|
|
3
|
+
"version": "12.0.25-alpha.3306320308",
|
|
4
4
|
"description": "Applicaster Zapp React Native ui components for the Quick Brick App",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -34,10 +34,10 @@
|
|
|
34
34
|
"redux-mock-store": "^1.5.3"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@applicaster/applicaster-types": "12.0.
|
|
38
|
-
"@applicaster/zapp-react-native-bridge": "12.0.
|
|
39
|
-
"@applicaster/zapp-react-native-redux": "12.0.
|
|
40
|
-
"@applicaster/zapp-react-native-utils": "12.0.
|
|
37
|
+
"@applicaster/applicaster-types": "12.0.25-alpha.3306320308",
|
|
38
|
+
"@applicaster/zapp-react-native-bridge": "12.0.25-alpha.3306320308",
|
|
39
|
+
"@applicaster/zapp-react-native-redux": "12.0.25-alpha.3306320308",
|
|
40
|
+
"@applicaster/zapp-react-native-utils": "12.0.25-alpha.3306320308",
|
|
41
41
|
"promise": "^8.3.0",
|
|
42
42
|
"react-router-native": "^5.1.2",
|
|
43
43
|
"url": "^0.11.0",
|