@applicaster/zapp-react-native-ui-components 15.0.0-alpha.4175170166 → 15.0.0-alpha.4254682703
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.
|
@@ -15,9 +15,6 @@ import {
|
|
|
15
15
|
isInlineTV as isInlineTVUtil,
|
|
16
16
|
} from "@applicaster/zapp-react-native-utils/playerUtils";
|
|
17
17
|
|
|
18
|
-
import { useSubscriberFor } from "@applicaster/zapp-react-native-utils/reactHooks/useSubscriberFor";
|
|
19
|
-
import { QBUIComponentEvents } from "@applicaster/zapp-react-native-ui-components/events";
|
|
20
|
-
|
|
21
18
|
import { TVEventHandlerComponent } from "@applicaster/zapp-react-native-tvos-ui-components/Components/TVEventHandlerComponent";
|
|
22
19
|
import { usePrevious } from "@applicaster/zapp-react-native-utils/reactHooks/utils";
|
|
23
20
|
import { usePickFromState } from "@applicaster/zapp-react-native-redux/hooks";
|
|
@@ -370,10 +367,6 @@ const PlayerContainerComponent = (props: Props) => {
|
|
|
370
367
|
});
|
|
371
368
|
}, []);
|
|
372
369
|
|
|
373
|
-
const emitFullscreenPlayerWillDismiss = useSubscriberFor(
|
|
374
|
-
QBUIComponentEvents.fullscreenPlayerWillDismiss
|
|
375
|
-
);
|
|
376
|
-
|
|
377
370
|
// Util methods
|
|
378
371
|
const toggleFullscreen = (event) => {
|
|
379
372
|
const { fullscreen = false } = event || {};
|
|
@@ -385,7 +378,6 @@ const PlayerContainerComponent = (props: Props) => {
|
|
|
385
378
|
} else {
|
|
386
379
|
navigator.maximiseVideoModal();
|
|
387
380
|
playerEvent("onFullscreenPlayerWillDismiss");
|
|
388
|
-
emitFullscreenPlayerWillDismiss();
|
|
389
381
|
}
|
|
390
382
|
});
|
|
391
383
|
};
|
package/events/index.ts
CHANGED
|
@@ -5,5 +5,4 @@ export enum QBUIComponentEvents {
|
|
|
5
5
|
scrollVerticallyToInitialOffset = "scrollVerticallyToInitialOffset",
|
|
6
6
|
focusOnSelectedTab = "focusOnSelectedTab",
|
|
7
7
|
focusOnSelectedTopMenuItem = "focusOnSelectedTopMenuItem",
|
|
8
|
-
fullscreenPlayerWillDismiss = "fullscreenPlayerWillDismiss",
|
|
9
8
|
}
|
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.
|
|
3
|
+
"version": "15.0.0-alpha.4254682703",
|
|
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.
|
|
32
|
-
"@applicaster/zapp-react-native-bridge": "15.0.0-alpha.
|
|
33
|
-
"@applicaster/zapp-react-native-redux": "15.0.0-alpha.
|
|
34
|
-
"@applicaster/zapp-react-native-utils": "15.0.0-alpha.
|
|
31
|
+
"@applicaster/applicaster-types": "15.0.0-alpha.4254682703",
|
|
32
|
+
"@applicaster/zapp-react-native-bridge": "15.0.0-alpha.4254682703",
|
|
33
|
+
"@applicaster/zapp-react-native-redux": "15.0.0-alpha.4254682703",
|
|
34
|
+
"@applicaster/zapp-react-native-utils": "15.0.0-alpha.4254682703",
|
|
35
35
|
"promise": "^8.3.0",
|
|
36
36
|
"url": "^0.11.0",
|
|
37
37
|
"uuid": "^3.3.2"
|