@applicaster/zapp-react-native-ui-components 13.0.0-alpha.6525006318 → 13.0.0-alpha.6944415045

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.
Files changed (98) hide show
  1. package/Components/AppContainer/__tests__/__snapshots__/AppContainer.test.js.snap +1 -1
  2. package/Components/AudioPlayer/__tests__/__snapshots__/Runtime.test.js.snap +4 -4
  3. package/Components/AudioPlayer/__tests__/__snapshots__/artWork.test.js.snap +3 -3
  4. package/Components/AudioPlayer/__tests__/__snapshots__/audioPlayer.test.js.snap +6 -6
  5. package/Components/AudioPlayer/__tests__/__snapshots__/audioPlayerLayout.test.js.snap +7 -7
  6. package/Components/AudioPlayer/__tests__/__snapshots__/channel.test.js.snap +3 -3
  7. package/Components/AudioPlayer/__tests__/__snapshots__/summary.test.js.snap +2 -2
  8. package/Components/AudioPlayer/__tests__/__snapshots__/title.test.js.snap +2 -2
  9. package/Components/BaseFocusable/index.tsx +65 -28
  10. package/Components/Cell/Cell.tsx +11 -9
  11. package/Components/Cell/CellWithFocusable.tsx +1 -1
  12. package/Components/Cell/TvOSCellComponent.tsx +23 -30
  13. package/Components/Cell/index.js +3 -1
  14. package/Components/CellRendererResolver/__tests__/__snapshots__/cellRendererResolver.test.js.snap +20 -20
  15. package/Components/CellRendererResolver/__tests__/cellRendererResolver.test.js +5 -3
  16. package/Components/ComponentResolver/__tests__/__snapshots__/componentResolver.test.js.snap +5 -5
  17. package/Components/ComponentResolver/__tests__/componentResolver.test.js +11 -9
  18. package/Components/DisplayState/__tests__/__snapshots__/displayState.test.js.snap +2 -2
  19. package/Components/Focusable/Focusable.tsx +0 -54
  20. package/Components/Focusable/FocusableTvOS.tsx +6 -2
  21. package/Components/FocusableList/index.tsx +25 -10
  22. package/Components/FocusableScrollView/index.tsx +39 -12
  23. package/Components/GeneralContentScreen/utils/__tests__/useCurationAPI.test.js +76 -7
  24. package/Components/GeneralContentScreen/utils/useCurationAPI.ts +53 -9
  25. package/Components/Layout/TV/NavBarContainer.tsx +8 -7
  26. package/Components/Layout/TV/__tests__/ScreenContainer.test.tsx +1 -0
  27. package/Components/Layout/TV/__tests__/__snapshots__/LayoutContainer.test.tsx.snap +1 -1
  28. package/Components/Layout/TV/__tests__/__snapshots__/NavBarContainer.test.tsx.snap +3 -3
  29. package/Components/Layout/TV/__tests__/__snapshots__/ScreenContainer.test.tsx.snap +9 -9
  30. package/Components/Layout/TV/__tests__/__snapshots__/index.test.tsx.snap +1 -1
  31. package/Components/Layout/TV/__tests__/index.test.tsx +7 -3
  32. package/Components/MasterCell/DefaultComponents/Image/Image.ios.tsx +1 -1
  33. package/Components/MasterCell/DefaultComponents/SecondaryImage/__tests__/__snapshots__/Image.test.tsx.snap +3 -3
  34. package/Components/MasterCell/SharedUI/CollapsibleTextContainer/__tests__/__snapshots__/index.test.tsx.snap +1 -1
  35. package/Components/MasterCell/__tests__/__snapshots__/dataAdapter.test.js.snap +180 -180
  36. package/Components/MasterCell/__tests__/__snapshots__/elementMapper.test.js.snap +7 -7
  37. package/Components/MasterCell/__tests__/__snapshots__/masterCell.test.js.snap +34 -34
  38. package/Components/MasterCell/hooks/useAsyncRendering/index.ts +2 -2
  39. package/Components/NativeFocusables/{index.js → index.ts} +4 -2
  40. package/Components/OfflineHandler/__tests__/__snapshots__/index.test.tsx.snap +7 -7
  41. package/Components/OfflineHandler/__tests__/index.test.tsx +28 -25
  42. package/Components/PlayerContainer/PlayerContainer.tsx +5 -11
  43. package/Components/PlayerContainer/PlayerContainerContext.tsx +9 -0
  44. package/Components/River/RefreshControl.tsx +1 -1
  45. package/Components/River/TV/index.tsx +6 -1
  46. package/Components/River/__tests__/__snapshots__/componentsMap.test.js.snap +17 -17
  47. package/Components/River/__tests__/__snapshots__/river.test.js.snap +12 -12
  48. package/Components/River/__tests__/componentsMap.test.js +47 -12
  49. package/Components/RouteManager/__tests__/__snapshots__/routeManager.test.js.snap +1 -1
  50. package/Components/RouteManager/__tests__/__snapshots__/testId.test.js.snap +1 -1
  51. package/Components/Screen/__tests__/Screen.test.tsx +41 -27
  52. package/Components/Screen/__tests__/__snapshots__/Screen.test.tsx.snap +4 -4
  53. package/Components/ScreenResolver/__tests__/__snapshots__/screenResolver.test.js.snap +2 -2
  54. package/Components/ScreenResolver/__tests__/screenResolver.test.js +31 -27
  55. package/Components/Tabs/Tab.tsx +1 -0
  56. package/Components/TextInputTv/__tests__/TextInputTv.test.js +42 -42
  57. package/Components/TextInputTv/__tests__/__snapshots__/TextInputTv.test.js.snap +7 -0
  58. package/Components/TextInputTv/index.tsx +2 -2
  59. package/Components/Touchable/__tests__/__snapshots__/touchable.test.tsx.snap +2 -2
  60. package/Components/Transitioner/__tests__/__snapshots__/AnimationManager.test.js.snap +26 -26
  61. package/Components/Transitioner/__tests__/__snapshots__/Scene.test.js.snap +9 -9
  62. package/Components/Transitioner/__tests__/__snapshots__/config.test.js.snap +20 -20
  63. package/Components/Transitioner/__tests__/__snapshots__/transitioner.test.js.snap +2 -2
  64. package/Components/VideoLive/__tests__/PlayerLiveImageComponent.test.tsx +12 -7
  65. package/Components/VideoLive/__tests__/__snapshots__/PlayerLiveImageComponent.test.tsx.snap +6 -6
  66. package/Components/VideoModal/ModalAnimation/AnimatedScrollModal.tsx +5 -1
  67. package/Components/VideoModal/ModalAnimation/AnimatedVideoPlayerComponent.tsx +5 -1
  68. package/Components/VideoModal/ModalAnimation/AnimationComponent.tsx +1 -1
  69. package/Components/VideoModal/ModalAnimation/ModalAnimationContext.tsx +4 -10
  70. package/Components/VideoModal/ModalAnimation/index.ts +2 -1
  71. package/Components/VideoModal/ModalAnimation/useModalAnimationContext.ts +6 -0
  72. package/Components/VideoModal/__tests__/PlayerDetails.test.tsx +5 -2
  73. package/Components/VideoModal/__tests__/PlayerWrapper.test.tsx +12 -9
  74. package/Components/VideoModal/__tests__/__snapshots__/PlayerDetails.test.tsx.snap +4 -4
  75. package/Components/VideoModal/__tests__/__snapshots__/PlayerWrapper.test.tsx.snap +78 -78
  76. package/Components/VideoModal/utils.ts +2 -4
  77. package/Components/Viewport/ViewportAware/__tests__/__snapshots__/viewportAware.test.js.snap +2 -2
  78. package/Components/Viewport/ViewportTracker/__tests__/__snapshots__/viewportTracker.test.js.snap +1 -1
  79. package/Components/ZappFrameworkComponents/BarView/BarView.tsx +1 -0
  80. package/Components/ZappUIComponent/__tests__/__snapshots__/ZappUIComponent.test.js.snap +11 -11
  81. package/Components/default-cell-renderer/__tests__/__snapshots__/defaultCellRenderer.test.tsx.snap +30 -30
  82. package/Contexts/ComponentsMapOffsetContext/index.tsx +46 -0
  83. package/Contexts/ConfigutaionContext/__tests__/__snapshots__/ConfigurationProvider.test.tsx.snap +1 -1
  84. package/Contexts/FocusableGroupContext/withFocusableContext.tsx +18 -11
  85. package/Decorators/Analytics/{index.js → index.tsx} +11 -11
  86. package/Decorators/Navigator/__tests__/__snapshots__/navigator.test.js.snap +2 -2
  87. package/Decorators/RiverFeedLoader/__tests__/__snapshots__/riverFeedLoader.test.tsx.snap +77 -77
  88. package/Decorators/RiverFeedLoader/__tests__/riverFeedLoader.test.tsx +34 -39
  89. package/Decorators/RiverFeedLoader/__tests__/utils.test.ts +0 -9
  90. package/Decorators/RiverFeedLoader/index.tsx +1 -1
  91. package/Decorators/RiverFeedLoader/utils/getDatasourceUrl.ts +39 -0
  92. package/Decorators/RiverFeedLoader/utils/index.ts +29 -0
  93. package/Decorators/RiverFeedLoader/utils/usePipesContexts.ts +40 -0
  94. package/Decorators/RiverResolver/__tests__/__snapshots__/riverResolver.test.tsx.snap +5 -5
  95. package/Decorators/RiverResolver/__tests__/riverResolver.test.tsx +16 -10
  96. package/Decorators/ZappPipesDataConnector/index.tsx +1 -1
  97. package/package.json +12 -6
  98. package/Decorators/RiverFeedLoader/utils.ts +0 -100
@@ -4,8 +4,8 @@ exports[`PlayerWrapper renders inline 1`] = `
4
4
  <RNCSafeAreaProvider
5
5
  onInsetsChange={[Function]}
6
6
  style={
7
- Array [
8
- Object {
7
+ [
8
+ {
9
9
  "flex": 1,
10
10
  },
11
11
  undefined,
@@ -14,7 +14,7 @@ exports[`PlayerWrapper renders inline 1`] = `
14
14
  >
15
15
  <RNCSafeAreaView
16
16
  edges={
17
- Object {
17
+ {
18
18
  "bottom": "off",
19
19
  "left": "off",
20
20
  "right": "off",
@@ -22,31 +22,31 @@ exports[`PlayerWrapper renders inline 1`] = `
22
22
  }
23
23
  }
24
24
  style={
25
- Array [
26
- Object {
25
+ [
26
+ {
27
27
  "backgroundColor": "transparent",
28
28
  },
29
- Object {
29
+ {
30
30
  "height": 800,
31
31
  "width": 300,
32
32
  },
33
- Object {},
33
+ {},
34
34
  ]
35
35
  }
36
36
  >
37
37
  <View
38
38
  additionalData={
39
- Object {
39
+ {
40
40
  "saveArea": true,
41
41
  }
42
42
  }
43
43
  animationType="moveUpComponent"
44
44
  style={
45
- Array [
46
- Object {
45
+ [
46
+ {
47
47
  "flexDirection": "column",
48
48
  },
49
- Object {
49
+ {
50
50
  "flex": 1,
51
51
  },
52
52
  ]
@@ -54,19 +54,19 @@ exports[`PlayerWrapper renders inline 1`] = `
54
54
  >
55
55
  <View
56
56
  style={
57
- Array [
58
- Object {
57
+ [
58
+ {
59
59
  "alignSelf": "center",
60
60
  "position": "relative",
61
61
  "zIndex": 200,
62
62
  },
63
- Object {
63
+ {
64
64
  "aspectRatio": 1.7777777777777777,
65
65
  "height": undefined,
66
66
  "width": "100%",
67
67
  },
68
- Object {},
69
- Object {},
68
+ {},
69
+ {},
70
70
  ]
71
71
  }
72
72
  testID="test-player-container"
@@ -74,27 +74,27 @@ exports[`PlayerWrapper renders inline 1`] = `
74
74
  <View
75
75
  animationType="componentFade"
76
76
  style={
77
- Object {
77
+ {
78
78
  "flex": 1,
79
79
  }
80
80
  }
81
81
  >
82
82
  <View
83
83
  configuration={
84
- Object {
84
+ {
85
85
  "tablet_landscape_player_container_background_color": "red",
86
86
  "tablet_landscape_sidebar_width": "35%",
87
87
  }
88
88
  }
89
89
  entry={
90
- Object {
90
+ {
91
91
  "id": "test",
92
92
  }
93
93
  }
94
94
  isTablet={false}
95
95
  isTabletLandscape={false}
96
96
  style={
97
- Object {
97
+ {
98
98
  "flex": 1,
99
99
  "paddingTop": 20,
100
100
  }
@@ -110,8 +110,8 @@ exports[`PlayerWrapper renders inline and docked 1`] = `
110
110
  <RNCSafeAreaProvider
111
111
  onInsetsChange={[Function]}
112
112
  style={
113
- Array [
114
- Object {
113
+ [
114
+ {
115
115
  "flex": 1,
116
116
  },
117
117
  undefined,
@@ -120,7 +120,7 @@ exports[`PlayerWrapper renders inline and docked 1`] = `
120
120
  >
121
121
  <RNCSafeAreaView
122
122
  edges={
123
- Object {
123
+ {
124
124
  "bottom": "off",
125
125
  "left": "off",
126
126
  "right": "off",
@@ -128,31 +128,31 @@ exports[`PlayerWrapper renders inline and docked 1`] = `
128
128
  }
129
129
  }
130
130
  style={
131
- Array [
132
- Object {
131
+ [
132
+ {
133
133
  "backgroundColor": "transparent",
134
134
  },
135
- Object {
135
+ {
136
136
  "height": undefined,
137
137
  "width": 300,
138
138
  },
139
- Object {},
139
+ {},
140
140
  ]
141
141
  }
142
142
  >
143
143
  <View
144
144
  additionalData={
145
- Object {
145
+ {
146
146
  "saveArea": true,
147
147
  }
148
148
  }
149
149
  animationType="moveUpComponent"
150
150
  style={
151
- Array [
152
- Object {
151
+ [
152
+ {
153
153
  "flexDirection": "column",
154
154
  },
155
- Object {
155
+ {
156
156
  "flex": 1,
157
157
  },
158
158
  ]
@@ -160,19 +160,19 @@ exports[`PlayerWrapper renders inline and docked 1`] = `
160
160
  >
161
161
  <View
162
162
  style={
163
- Array [
164
- Object {
163
+ [
164
+ {
165
165
  "alignSelf": "center",
166
166
  "position": "relative",
167
167
  "zIndex": 200,
168
168
  },
169
- Object {
169
+ {
170
170
  "aspectRatio": undefined,
171
171
  "height": undefined,
172
172
  "width": "100%",
173
173
  },
174
- Object {},
175
- Object {},
174
+ {},
175
+ {},
176
176
  ]
177
177
  }
178
178
  testID="test-player-container"
@@ -180,27 +180,27 @@ exports[`PlayerWrapper renders inline and docked 1`] = `
180
180
  <View
181
181
  animationType="componentFade"
182
182
  style={
183
- Object {
183
+ {
184
184
  "flex": 1,
185
185
  }
186
186
  }
187
187
  >
188
188
  <View
189
189
  configuration={
190
- Object {
190
+ {
191
191
  "tablet_landscape_player_container_background_color": "red",
192
192
  "tablet_landscape_sidebar_width": "35%",
193
193
  }
194
194
  }
195
195
  entry={
196
- Object {
196
+ {
197
197
  "id": "test",
198
198
  }
199
199
  }
200
200
  isTablet={false}
201
201
  isTabletLandscape={false}
202
202
  style={
203
- Object {
203
+ {
204
204
  "flex": 1,
205
205
  "paddingTop": 20,
206
206
  }
@@ -216,8 +216,8 @@ exports[`PlayerWrapper renders inline on tablet in landscape orientation 1`] = `
216
216
  <RNCSafeAreaProvider
217
217
  onInsetsChange={[Function]}
218
218
  style={
219
- Array [
220
- Object {
219
+ [
220
+ {
221
221
  "flex": 1,
222
222
  },
223
223
  undefined,
@@ -226,7 +226,7 @@ exports[`PlayerWrapper renders inline on tablet in landscape orientation 1`] = `
226
226
  >
227
227
  <RNCSafeAreaView
228
228
  edges={
229
- Object {
229
+ {
230
230
  "bottom": "off",
231
231
  "left": "off",
232
232
  "right": "off",
@@ -234,31 +234,31 @@ exports[`PlayerWrapper renders inline on tablet in landscape orientation 1`] = `
234
234
  }
235
235
  }
236
236
  style={
237
- Array [
238
- Object {
237
+ [
238
+ {
239
239
  "backgroundColor": "red",
240
240
  },
241
- Object {
241
+ {
242
242
  "height": 800,
243
243
  "width": 300,
244
244
  },
245
- Object {},
245
+ {},
246
246
  ]
247
247
  }
248
248
  >
249
249
  <View
250
250
  additionalData={
251
- Object {
251
+ {
252
252
  "saveArea": true,
253
253
  }
254
254
  }
255
255
  animationType="moveUpComponent"
256
256
  style={
257
- Array [
258
- Object {
257
+ [
258
+ {
259
259
  "flexDirection": "row",
260
260
  },
261
- Object {
261
+ {
262
262
  "flex": 1,
263
263
  },
264
264
  ]
@@ -266,26 +266,26 @@ exports[`PlayerWrapper renders inline on tablet in landscape orientation 1`] = `
266
266
  >
267
267
  <View
268
268
  style={
269
- Array [
270
- Object {
269
+ [
270
+ {
271
271
  "alignSelf": "center",
272
272
  "position": "relative",
273
273
  "zIndex": 200,
274
274
  },
275
- Object {
275
+ {
276
276
  "aspectRatio": 1.7777777777777777,
277
277
  "height": undefined,
278
278
  "width": 195,
279
279
  },
280
- Object {},
281
- Object {},
280
+ {},
281
+ {},
282
282
  ]
283
283
  }
284
284
  testID="test-player-container"
285
285
  >
286
286
  <View
287
287
  additionalData={
288
- Object {
288
+ {
289
289
  "disableAnimatedComponent": false,
290
290
  "resetAnimationValue": undefined,
291
291
  "useLayoutMeasure": true,
@@ -293,7 +293,7 @@ exports[`PlayerWrapper renders inline on tablet in landscape orientation 1`] = `
293
293
  }
294
294
  animationType="moveUpComponent"
295
295
  style={
296
- Object {
296
+ {
297
297
  "flex": 1,
298
298
  }
299
299
  }
@@ -302,27 +302,27 @@ exports[`PlayerWrapper renders inline on tablet in landscape orientation 1`] = `
302
302
  <View
303
303
  animationType="componentFade"
304
304
  style={
305
- Object {
305
+ {
306
306
  "flex": 1,
307
307
  }
308
308
  }
309
309
  >
310
310
  <View
311
311
  configuration={
312
- Object {
312
+ {
313
313
  "tablet_landscape_player_container_background_color": "red",
314
314
  "tablet_landscape_sidebar_width": "35%",
315
315
  }
316
316
  }
317
317
  entry={
318
- Object {
318
+ {
319
319
  "id": "test",
320
320
  }
321
321
  }
322
322
  isTablet={true}
323
323
  isTabletLandscape={true}
324
324
  style={
325
- Object {
325
+ {
326
326
  "flex": 1,
327
327
  "paddingTop": 20,
328
328
  }
@@ -338,8 +338,8 @@ exports[`PlayerWrapper renders properly 1`] = `
338
338
  <RNCSafeAreaProvider
339
339
  onInsetsChange={[Function]}
340
340
  style={
341
- Array [
342
- Object {
341
+ [
342
+ {
343
343
  "flex": 1,
344
344
  },
345
345
  undefined,
@@ -348,7 +348,7 @@ exports[`PlayerWrapper renders properly 1`] = `
348
348
  >
349
349
  <RNCSafeAreaView
350
350
  edges={
351
- Object {
351
+ {
352
352
  "bottom": "off",
353
353
  "left": "off",
354
354
  "right": "off",
@@ -356,31 +356,31 @@ exports[`PlayerWrapper renders properly 1`] = `
356
356
  }
357
357
  }
358
358
  style={
359
- Array [
360
- Object {
359
+ [
360
+ {
361
361
  "backgroundColor": "transparent",
362
362
  },
363
- Object {
363
+ {
364
364
  "height": 800,
365
365
  "width": 300,
366
366
  },
367
- Object {},
367
+ {},
368
368
  ]
369
369
  }
370
370
  >
371
371
  <View
372
372
  additionalData={
373
- Object {
373
+ {
374
374
  "saveArea": true,
375
375
  }
376
376
  }
377
377
  animationType="moveUpComponent"
378
378
  style={
379
- Array [
380
- Object {
379
+ [
380
+ {
381
381
  "flexDirection": "column",
382
382
  },
383
- Object {
383
+ {
384
384
  "flex": 1,
385
385
  },
386
386
  ]
@@ -388,19 +388,19 @@ exports[`PlayerWrapper renders properly 1`] = `
388
388
  >
389
389
  <View
390
390
  style={
391
- Array [
392
- Object {
391
+ [
392
+ {
393
393
  "alignSelf": "center",
394
394
  "position": "relative",
395
395
  "zIndex": 200,
396
396
  },
397
- Object {
397
+ {
398
398
  "aspectRatio": 1.7786666666666666,
399
399
  "height": undefined,
400
400
  "width": "100%",
401
401
  },
402
- Object {},
403
- Object {},
402
+ {},
403
+ {},
404
404
  ]
405
405
  }
406
406
  testID="test-player-container"
@@ -2,10 +2,8 @@ import * as R from "ramda";
2
2
 
3
3
  import { platformSelect } from "@applicaster/zapp-react-native-utils/reactUtils";
4
4
  import { usePickFromState } from "@applicaster/zapp-react-native-redux/hooks";
5
- import {
6
- useNavigation,
7
- useIsTablet,
8
- } from "@applicaster/zapp-react-native-utils/reactHooks";
5
+ import { useNavigation } from "@applicaster/zapp-react-native-utils/reactHooks/navigation/useNavigation";
6
+ import { useIsTablet } from "@applicaster/zapp-react-native-utils/reactHooks/device/useIsTablet";
9
7
  import { playerManager } from "@applicaster/zapp-react-native-utils/appUtils";
10
8
 
11
9
  export const useConfiguration = () => {
@@ -50,7 +50,7 @@ exports[`<ViewportAware /> renders its children correctly 1`] = `
50
50
  ViewportEvents {
51
51
  "firesLastEventOnAdd": true,
52
52
  "lastEvent": null,
53
- "listeners": Array [],
53
+ "listeners": [],
54
54
  "notify": [Function],
55
55
  }
56
56
  }
@@ -60,7 +60,7 @@ exports[`<ViewportAware /> renders its children correctly 1`] = `
60
60
  ViewportEvents {
61
61
  "firesLastEventOnAdd": true,
62
62
  "lastEvent": null,
63
- "listeners": Array [],
63
+ "listeners": [],
64
64
  "notify": [Function],
65
65
  }
66
66
  }
@@ -15,7 +15,7 @@ exports[`<ViewportTracker /> renders correctly 1`] = `
15
15
  `;
16
16
 
17
17
  exports[`<ViewportTracker /> renders correctly 2`] = `
18
- Object {
18
+ {
19
19
  "children": <TestComponent />,
20
20
  "onContentSizeChange": [Function],
21
21
  "onLayout": [Function],
@@ -46,6 +46,7 @@ const BarView = ({ screenStyles, barState = defaultState }: Props) => {
46
46
 
47
47
  return (
48
48
  <SafeAreaView
49
+ edges={["top", "left", "right"]}
49
50
  style={[style.view, isRTL ? style.rtlStyle : {}]}
50
51
  testID="BarView-safeAreaView"
51
52
  >
@@ -3,7 +3,7 @@
3
3
  exports[`ZappUIComponent when zapp pipes data is loading renders correctly otherwise 1`] = `
4
4
  <ContextProvider
5
5
  value={
6
- Object {
6
+ {
7
7
  "parent": null,
8
8
  }
9
9
  }
@@ -12,7 +12,7 @@ exports[`ZappUIComponent when zapp pipes data is loading renders correctly other
12
12
  onLoadFinished={[MockFunction]}
13
13
  parent={null}
14
14
  zappPipesData={
15
- Object {
15
+ {
16
16
  "loading": true,
17
17
  }
18
18
  }
@@ -23,7 +23,7 @@ exports[`ZappUIComponent when zapp pipes data is loading renders correctly other
23
23
  exports[`ZappUIComponent when zapp pipes data is loading renders null if no loading component is provided 1`] = `
24
24
  <ContextProvider
25
25
  value={
26
- Object {
26
+ {
27
27
  "parent": null,
28
28
  }
29
29
  }
@@ -32,7 +32,7 @@ exports[`ZappUIComponent when zapp pipes data is loading renders null if no load
32
32
  onLoadFinished={[MockFunction]}
33
33
  parent={null}
34
34
  zappPipesData={
35
- Object {
35
+ {
36
36
  "loading": true,
37
37
  }
38
38
  }
@@ -43,7 +43,7 @@ exports[`ZappUIComponent when zapp pipes data is loading renders null if no load
43
43
  exports[`ZappUIComponent when zapp pipes data returns properly renders correctly 1`] = `
44
44
  <ContextProvider
45
45
  value={
46
- Object {
46
+ {
47
47
  "parent": null,
48
48
  }
49
49
  }
@@ -52,9 +52,9 @@ exports[`ZappUIComponent when zapp pipes data returns properly renders correctly
52
52
  onLoadFinished={[MockFunction]}
53
53
  parent={null}
54
54
  zappPipesData={
55
- Object {
56
- "data": Object {
57
- "type": Object {
55
+ {
56
+ "data": {
57
+ "type": {
58
58
  "value": "feed",
59
59
  },
60
60
  },
@@ -68,7 +68,7 @@ exports[`ZappUIComponent when zapp pipes data returns properly renders correctly
68
68
  exports[`ZappUIComponent whenn zapp pipes data returns with error renders correctly otherwise 1`] = `
69
69
  <ContextProvider
70
70
  value={
71
- Object {
71
+ {
72
72
  "parent": null,
73
73
  }
74
74
  }
@@ -77,8 +77,8 @@ exports[`ZappUIComponent whenn zapp pipes data returns with error renders correc
77
77
  onLoadFinished={[MockFunction]}
78
78
  parent={null}
79
79
  zappPipesData={
80
- Object {
81
- "error": Object {
80
+ {
81
+ "error": {
82
82
  "message": "oups",
83
83
  },
84
84
  "loading": false,