@applicaster/zapp-react-native-ui-components 13.0.0-rc.135 → 13.0.0-rc.136

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.
@@ -105,6 +105,11 @@ const isTvOS = isTvOSPlatform();
105
105
  // height for container with additional content below player
106
106
  const INLINE_CONTAINER_CONTENT_HEIGHT = 400;
107
107
 
108
+ // Default Y offset for anchor points on non-Android TV platforms
109
+ const DEFAULT_OFFSET_Y = -600;
110
+
111
+ const EXTRA_ANCHOR_POINT_Y_OFFSET = isAndroidTV ? 0 : DEFAULT_OFFSET_Y;
112
+
108
113
  const withBorderHack = () => {
109
114
  if (isAndroidTV) {
110
115
  /* @HACK: see GH#7269 */
@@ -716,7 +721,9 @@ const PlayerContainerComponent = (props: Props) => {
716
721
  key={item.id}
717
722
  groupId={FocusableGroupMainContainerId}
718
723
  cellTapAction={onCellTap}
719
- extraAnchorPointYOffset={-600}
724
+ extraAnchorPointYOffset={
725
+ EXTRA_ANCHOR_POINT_Y_OFFSET
726
+ }
720
727
  isScreenWrappedInContainer={true}
721
728
  containerHeight={styles.inlineRiver.height}
722
729
  componentsMapExtraProps={{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applicaster/zapp-react-native-ui-components",
3
- "version": "13.0.0-rc.135",
3
+ "version": "13.0.0-rc.136",
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",
@@ -31,10 +31,10 @@
31
31
  "redux-mock-store": "^1.5.3"
32
32
  },
33
33
  "dependencies": {
34
- "@applicaster/applicaster-types": "13.0.0-rc.135",
35
- "@applicaster/zapp-react-native-bridge": "13.0.0-rc.135",
36
- "@applicaster/zapp-react-native-redux": "13.0.0-rc.135",
37
- "@applicaster/zapp-react-native-utils": "13.0.0-rc.135",
34
+ "@applicaster/applicaster-types": "13.0.0-rc.136",
35
+ "@applicaster/zapp-react-native-bridge": "13.0.0-rc.136",
36
+ "@applicaster/zapp-react-native-redux": "13.0.0-rc.136",
37
+ "@applicaster/zapp-react-native-utils": "13.0.0-rc.136",
38
38
  "promise": "^8.3.0",
39
39
  "react-router-native": "^5.1.2",
40
40
  "url": "^0.11.0",