@applicaster/quick-brick-player 15.0.0-rc.44 → 15.0.0-rc.46

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applicaster/quick-brick-player",
3
- "version": "15.0.0-rc.44",
3
+ "version": "15.0.0-rc.46",
4
4
  "description": "Quick Brick Player",
5
5
  "main": "./src/index.ts",
6
6
  "types": "index.d.ts",
@@ -35,11 +35,11 @@
35
35
  },
36
36
  "homepage": "https://github.com/applicaster/quickbrick#readme",
37
37
  "dependencies": {
38
- "@applicaster/quick-brick-mobile-transport-controls": "15.0.0-rc.42",
39
- "@applicaster/quick-brick-tv-transport-controls": "15.0.0-rc.41",
40
- "@applicaster/zapp-react-native-tvos-app": "15.0.0-rc.44",
41
- "@applicaster/zapp-react-native-ui-components": "15.0.0-rc.44",
42
- "@applicaster/zapp-react-native-utils": "15.0.0-rc.44",
38
+ "@applicaster/quick-brick-mobile-transport-controls": "15.0.0-rc.45",
39
+ "@applicaster/quick-brick-tv-transport-controls": "15.0.0-rc.45",
40
+ "@applicaster/zapp-react-native-tvos-app": "15.0.0-rc.46",
41
+ "@applicaster/zapp-react-native-ui-components": "15.0.0-rc.46",
42
+ "@applicaster/zapp-react-native-utils": "15.0.0-rc.46",
43
43
  "query-string": "7.1.3",
44
44
  "shaka-player": "4.3.5",
45
45
  "typeface-montserrat": "^0.0.54",
@@ -23,7 +23,7 @@ import { usePlayerState } from "@applicaster/zapp-react-native-utils/appUtils/pl
23
23
  import { useConfiguration } from "@applicaster/zapp-react-native-ui-components/Components/VideoModal/utils";
24
24
  import { noop } from "@applicaster/zapp-react-native-utils/functionUtils";
25
25
  import { PROGRESS_BAR_HEIGHT } from "@applicaster/zapp-react-native-ui-components/Components/VideoModal/ModalAnimation/utils";
26
- import { isMenuVisible } from "@applicaster/zapp-react-native-ui-components/Components/Screen/navigationHandler";
26
+ import { isBottomTabVisible } from "@applicaster/zapp-react-native-ui-components/Components/Screen/navigationHandler";
27
27
  import { usePlugins } from "@applicaster/zapp-react-native-redux";
28
28
  import { partial } from "@applicaster/zapp-react-native-utils/utils";
29
29
 
@@ -167,7 +167,12 @@ export const DockedControls = (props: Props) => {
167
167
  const { currentRoute, screenData } = useNavigation();
168
168
 
169
169
  const plugins = usePlugins();
170
- const menuVisible = isMenuVisible(currentRoute, screenData, plugins);
170
+
171
+ const bottomTabsVisible = isBottomTabVisible(
172
+ currentRoute,
173
+ screenData,
174
+ plugins
175
+ );
171
176
 
172
177
  const { minimised_height: minimisedHeight } = useConfiguration();
173
178
 
@@ -248,13 +253,13 @@ export const DockedControls = (props: Props) => {
248
253
  );
249
254
 
250
255
  const bottomSpacerStyle = React.useMemo(() => {
251
- const tabBarHeight = menuVisible ? bottomTabBarHeight : 0;
256
+ const tabBarHeight = bottomTabsVisible ? bottomTabBarHeight : 0;
252
257
  const safeAreaBottomInset = insets.bottom || 0;
253
258
 
254
259
  return {
255
260
  height: safeAreaBottomInset + tabBarHeight,
256
261
  };
257
- }, [menuVisible, insets.bottom]);
262
+ }, [bottomTabsVisible, insets.bottom]);
258
263
 
259
264
  const contentInfoContent = React.useMemo(
260
265
  () => ({ ...entry, title, summary }),
@@ -3,13 +3,13 @@ import { platformSelect } from "@applicaster/zapp-react-native-utils/reactUtils"
3
3
  export * from "./Utils";
4
4
 
5
5
  export const getBottomSheetModalIconProps = (theme) => ({
6
- height: theme["audio_modal_bottom_sheet_item_icon_height"],
7
- width: theme["audio_modal_bottom_sheet_item_icon_width"],
8
- marginBottom: theme["audio_modal_bottom_sheet_item_icon_margin_bottom"],
9
- marginLeft: theme["audio_modal_bottom_sheet_item_icon_margin_left"],
10
- marginRight: theme["audio_modal_bottom_sheet_item_icon_margin_right"],
11
- marginTop: theme["audio_modal_bottom_sheet_item_icon_margin_top"],
12
- flavour: theme["modal_bottom_sheet_item_icon_flavour"],
6
+ height: theme.audio_modal_bottom_sheet_item_icon_height,
7
+ width: theme.audio_modal_bottom_sheet_item_icon_width,
8
+ marginBottom: theme.audio_modal_bottom_sheet_item_icon_margin_bottom,
9
+ marginLeft: theme.audio_modal_bottom_sheet_item_icon_margin_left,
10
+ marginRight: theme.audio_modal_bottom_sheet_item_icon_margin_right,
11
+ marginTop: theme.audio_modal_bottom_sheet_item_icon_margin_top,
12
+ flavour: theme.modal_bottom_sheet_item_icon_flavour,
13
13
  });
14
14
 
15
15
  export const getBottomSheetModalLabelProps = (theme, width: number) => {
@@ -112,10 +112,10 @@ export const getBottomSheetModalItemProps = (theme, width: number) => {
112
112
  };
113
113
 
114
114
  export const getBottomSheetModalSelectedItemIcon = (theme) =>
115
- theme["audio_modal_bottom_sheet_item_selected_icon"] || null;
115
+ theme.audio_modal_bottom_sheet_item_selected_icon || null;
116
116
 
117
117
  export const getBottomSheetModalDefaultItemIcon = (theme) =>
118
- theme["audio_modal_bottom_sheet_item_default_icon"] || null;
118
+ theme.audio_modal_bottom_sheet_item_default_icon || null;
119
119
 
120
120
  export const selectSleepTitle = (configuration) =>
121
121
  configuration.playback_sleep_title;