@applicaster/zapp-react-native-ui-components 13.0.0-alpha.2761483533 → 13.0.0-alpha.3193563717

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 (39) hide show
  1. package/Components/BaseFocusable/index.ios.ts +1 -1
  2. package/Components/BaseFocusable/index.tsx +1 -1
  3. package/Components/Cell/CellWithFocusable.ios.tsx +126 -0
  4. package/Components/Cell/CellWithFocusable.tsx +43 -59
  5. package/Components/Cell/__tests__/CellWIthFocusable.test.js +13 -6
  6. package/Components/Focusable/Touchable.tsx +19 -20
  7. package/Components/MasterCell/DefaultComponents/BorderContainerView/__tests__/index.test.tsx +66 -0
  8. package/Components/MasterCell/DefaultComponents/BorderContainerView/index.tsx +4 -1
  9. package/Components/MasterCell/DefaultComponents/Image/Image.ios.tsx +5 -11
  10. package/Components/MasterCell/DefaultComponents/ImageBorderContainer/__tests__/index.test.ts +93 -0
  11. package/Components/MasterCell/DefaultComponents/SecondaryImage/utils.ts +1 -1
  12. package/Components/MasterCell/DefaultComponents/__tests__/image.test.js +1 -1
  13. package/Components/MasterCell/hooks/useAsyncRendering/MasterCellAsyncRenderManager.ts +2 -2
  14. package/Components/MasterCell/utils/index.ts +1 -1
  15. package/Components/ModalComponent/Header/index.tsx +3 -3
  16. package/Components/River/ComponentsMap/ComponentsMap.tsx +39 -65
  17. package/Components/River/ComponentsMap/hooks/useLoadingState.ts +78 -51
  18. package/Components/River/RiverFooter.tsx +39 -9
  19. package/Components/River/RiverItem.tsx +37 -2
  20. package/Components/River/__tests__/__snapshots__/componentsMap.test.js.snap +100 -31
  21. package/Components/River/__tests__/componentsMap.test.js +3 -4
  22. package/Components/Screen/hooks.ts +56 -0
  23. package/Components/Screen/index.tsx +13 -39
  24. package/Components/Tabs/Tab.tsx +6 -6
  25. package/Components/TextInputTv/index.tsx +2 -2
  26. package/Components/Transitioner/AnimationManager.js +8 -8
  27. package/Components/Transitioner/Scene.tsx +52 -23
  28. package/Components/Transitioner/__tests__/__snapshots__/Scene.test.js.snap +59 -43
  29. package/Components/Transitioner/__tests__/__snapshots__/transitioner.test.js.snap +2 -2
  30. package/Components/Transitioner/index.js +8 -4
  31. package/Components/VideoLive/LiveImageManager.ts +27 -1
  32. package/Components/VideoLive/PlayerLiveImageComponent.tsx +11 -5
  33. package/Components/VideoLive/__tests__/__snapshots__/PlayerLiveImageComponent.test.tsx.snap +0 -5
  34. package/Components/VideoModal/ModalAnimation/AnimationComponent.tsx +7 -6
  35. package/Components/VideoModal/ModalAnimation/ModalAnimationContext.tsx +2 -3
  36. package/Components/VideoModal/ModalAnimation/utils.ts +2 -2
  37. package/Contexts/ScreenContext/index.tsx +3 -2
  38. package/Decorators/ZappPipesDataConnector/__tests__/Hero.js +1 -1
  39. package/package.json +5 -5
@@ -108,8 +108,8 @@ export const calculateAnimationValue = (animationType, dragPosition, data) => {
108
108
  : { forWidth: 3, forHeight: 3 }
109
109
  : { forWidth: 2, forHeight: 2 }
110
110
  : isTabletLandscape
111
- ? { forWidth: 8, forHeight: 6.5 }
112
- : { forWidth: 3.5, forHeight: 2 };
111
+ ? { forWidth: 8, forHeight: 6.5 }
112
+ : { forWidth: 3.5, forHeight: 2 };
113
113
 
114
114
  const minWidth =
115
115
  isAudioItem && !inlineAudioPlayer ? minimisedHeight : minimisedWidth;
@@ -99,8 +99,9 @@ export function ScreenContextProvider({
99
99
  const isNested = useNestedNavigationContext();
100
100
  const currentScreenScreenData = useCurrentScreenData();
101
101
 
102
- const screenNavBarStateRef =
103
- useRef<null | ReturnType<typeof createStore>>(null);
102
+ const screenNavBarStateRef = useRef<null | ReturnType<typeof createStore>>(
103
+ null
104
+ );
104
105
 
105
106
  const getScreenNavBarState = useCallback(() => {
106
107
  if (screenNavBarStateRef.current !== null) {
@@ -2,7 +2,7 @@ import React, { useEffect } from "react";
2
2
  import { View } from "react-native";
3
3
 
4
4
  type Props = {
5
- onLoadFinished: () => void,
5
+ onLoadFinished: () => void;
6
6
  };
7
7
 
8
8
  export function Hero(props: Props) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applicaster/zapp-react-native-ui-components",
3
- "version": "13.0.0-alpha.2761483533",
3
+ "version": "13.0.0-alpha.3193563717",
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": "13.0.0-alpha.2761483533",
38
- "@applicaster/zapp-react-native-bridge": "13.0.0-alpha.2761483533",
39
- "@applicaster/zapp-react-native-redux": "13.0.0-alpha.2761483533",
40
- "@applicaster/zapp-react-native-utils": "13.0.0-alpha.2761483533",
37
+ "@applicaster/applicaster-types": "13.0.0-alpha.3193563717",
38
+ "@applicaster/zapp-react-native-bridge": "13.0.0-alpha.3193563717",
39
+ "@applicaster/zapp-react-native-redux": "13.0.0-alpha.3193563717",
40
+ "@applicaster/zapp-react-native-utils": "13.0.0-alpha.3193563717",
41
41
  "promise": "^8.3.0",
42
42
  "react-router-native": "^5.1.2",
43
43
  "url": "^0.11.0",