@applicaster/zapp-react-native-ui-components 12.0.0-rc.12 → 12.0.0-rc.13

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.
@@ -1,3 +1,3 @@
1
- import FastImage from "react-native-fast-image";
1
+ import FastImage from "@applicaster/react-native-fast-image";
2
2
 
3
3
  export default FastImage;
@@ -33,6 +33,7 @@ type Props = {
33
33
  containerStyle?: ViewStyle;
34
34
  inline?: boolean;
35
35
  docked?: boolean;
36
+ pip?: boolean;
36
37
  isModal?: boolean;
37
38
  fullscreen?: boolean;
38
39
  isTabletPortrait?: boolean;
@@ -135,6 +136,7 @@ export const PlayerWrapper = (props: Props) => {
135
136
  children,
136
137
  isTabletPortrait,
137
138
  configuration,
139
+ pip,
138
140
  } = props;
139
141
 
140
142
  const isTablet = useIsTablet();
@@ -158,7 +160,7 @@ export const PlayerWrapper = (props: Props) => {
158
160
  () => ({
159
161
  ...baseDimensions,
160
162
  width: isInlineModal && docked ? undefined : baseDimensions.width,
161
- aspectRatio: !isInlineModal ? getScreenAspectRatio() : 16 / 9,
163
+ aspectRatio: !isInlineModal && !pip ? getScreenAspectRatio() : 16 / 9,
162
164
  }),
163
165
  [baseDimensions, isInlineModal]
164
166
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applicaster/zapp-react-native-ui-components",
3
- "version": "12.0.0-rc.12",
3
+ "version": "12.0.0-rc.13",
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": "12.0.0-rc.12",
38
- "@applicaster/zapp-react-native-bridge": "12.0.0-rc.12",
39
- "@applicaster/zapp-react-native-redux": "12.0.0-rc.12",
40
- "@applicaster/zapp-react-native-utils": "12.0.0-rc.12",
37
+ "@applicaster/applicaster-types": "12.0.0-rc.13",
38
+ "@applicaster/zapp-react-native-bridge": "12.0.0-rc.13",
39
+ "@applicaster/zapp-react-native-redux": "12.0.0-rc.13",
40
+ "@applicaster/zapp-react-native-utils": "12.0.0-rc.13",
41
41
  "promise": "^8.3.0",
42
42
  "react-router-native": "^5.1.2",
43
43
  "url": "^0.11.0",