@applicaster/zapp-react-native-ui-components 15.0.0-alpha.6010600030 → 15.0.0-alpha.6144399951

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.
@@ -8,7 +8,7 @@ import { withFocusableContext } from "../../Contexts/FocusableGroupContext/withF
8
8
  import { StyleSheet, ViewStyle } from "react-native";
9
9
  import { AccessibilityManager } from "@applicaster/zapp-react-native-utils/appUtils/accessibilityManager";
10
10
 
11
- import { isSearchInputId } from "@applicaster/search-screen/src/tv/utils";
11
+ import { isSearchInputId } from "@applicaster/zapp-react-native-utils/searchUtils";
12
12
 
13
13
  type Props = {
14
14
  initialFocus?: boolean;
@@ -1,12 +1,15 @@
1
- import { compose } from "@applicaster/zapp-react-native-utils/utils";
1
+ import { compose, identity } from "@applicaster/zapp-react-native-utils/utils";
2
+ import { isTvOSPlatform } from "@applicaster/zapp-react-native-utils/reactUtils";
2
3
 
3
4
  import { River as RiverComponent } from "./River";
4
5
  import { withComponentsMapOffsetContext } from "../../../Contexts/ComponentsMapOffsetContext";
5
6
  import { withRiverDataLoader } from "./withRiverDataLoader";
6
7
  import { withFocusableGroupForContent } from "./withFocusableGroupForContent";
7
8
 
9
+ const isTVOS = isTvOSPlatform();
10
+
8
11
  export const River = compose(
9
12
  withComponentsMapOffsetContext,
10
13
  withRiverDataLoader,
11
- withFocusableGroupForContent
14
+ isTVOS ? withFocusableGroupForContent : identity
12
15
  )(RiverComponent);
@@ -88,6 +88,7 @@ exports[`withConfigurationProvider correctly passes all the configuration keys c
88
88
  tab_cell_padding_right={10}
89
89
  tab_cell_padding_top={14}
90
90
  tablet_theme={false}
91
+ tabs_screen_background_color="transparent"
91
92
  target={false}
92
93
  target_screen_switch={false}
93
94
  text_label_active_font_color="rgba(239, 239, 239, 0.5)"
@@ -208,4 +208,5 @@ export const keysMap: Record<string, Function> = {
208
208
  tab_bar_item_margin_right: castOrDefaultValue(Number, 0),
209
209
  tab_bar_item_margin_bottom: castOrDefaultValue(Number, 0),
210
210
  tab_bar_item_margin_left: castOrDefaultValue(Number, 0),
211
+ tabs_screen_background_color: castOrDefaultValue(R.identity, "transparent"),
211
212
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applicaster/zapp-react-native-ui-components",
3
- "version": "15.0.0-alpha.6010600030",
3
+ "version": "15.0.0-alpha.6144399951",
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",
@@ -28,10 +28,10 @@
28
28
  },
29
29
  "homepage": "https://github.com/applicaster/quickbrick#readme",
30
30
  "dependencies": {
31
- "@applicaster/applicaster-types": "15.0.0-alpha.6010600030",
32
- "@applicaster/zapp-react-native-bridge": "15.0.0-alpha.6010600030",
33
- "@applicaster/zapp-react-native-redux": "15.0.0-alpha.6010600030",
34
- "@applicaster/zapp-react-native-utils": "15.0.0-alpha.6010600030",
31
+ "@applicaster/applicaster-types": "15.0.0-alpha.6144399951",
32
+ "@applicaster/zapp-react-native-bridge": "15.0.0-alpha.6144399951",
33
+ "@applicaster/zapp-react-native-redux": "15.0.0-alpha.6144399951",
34
+ "@applicaster/zapp-react-native-utils": "15.0.0-alpha.6144399951",
35
35
  "fast-json-stable-stringify": "^2.1.0",
36
36
  "promise": "^8.3.0",
37
37
  "url": "^0.11.0",