@applicaster/zapp-react-native-ui-components 12.0.0-rc.130 → 12.0.0-rc.131
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/Components/Cell/Cell.tsx
CHANGED
|
@@ -276,13 +276,20 @@ export class CellComponent extends React.Component<Props, State> {
|
|
|
276
276
|
skipFocusManagerRegistration={skipFocusManagerRegistration}
|
|
277
277
|
>
|
|
278
278
|
{(focused, event) => {
|
|
279
|
+
const isFocused = this.isCellFocused(focused);
|
|
280
|
+
|
|
281
|
+
if (isFocused) {
|
|
282
|
+
const accessibilityManager = AccessibilityManager.getInstance();
|
|
283
|
+
accessibilityManager.readText({ text: item.title });
|
|
284
|
+
}
|
|
285
|
+
|
|
279
286
|
return (
|
|
280
287
|
<FocusableCell
|
|
281
288
|
{...{
|
|
282
289
|
index,
|
|
283
290
|
CellRenderer,
|
|
284
291
|
item,
|
|
285
|
-
focused:
|
|
292
|
+
focused: isFocused,
|
|
286
293
|
scrollTo: this.scrollToIndex(event),
|
|
287
294
|
behavior,
|
|
288
295
|
}}
|
|
@@ -362,13 +362,15 @@ const PlayerContainerComponent = (props: Props) => {
|
|
|
362
362
|
const toggleFullscreen = (event) => {
|
|
363
363
|
const { fullscreen = false } = event || {};
|
|
364
364
|
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
365
|
+
setTimeout(() => {
|
|
366
|
+
if (fullscreen) {
|
|
367
|
+
navigator.fullscreenVideoModal();
|
|
368
|
+
playerEvent("onFullscreenPlayerWillPresent");
|
|
369
|
+
} else {
|
|
370
|
+
navigator.maximiseVideoModal();
|
|
371
|
+
playerEvent("onFullscreenPlayerWillDismiss");
|
|
372
|
+
}
|
|
373
|
+
});
|
|
372
374
|
};
|
|
373
375
|
|
|
374
376
|
const onCellTap = (entry) => {
|
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.
|
|
3
|
+
"version": "12.0.0-rc.131",
|
|
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.
|
|
38
|
-
"@applicaster/zapp-react-native-bridge": "12.0.0-rc.
|
|
39
|
-
"@applicaster/zapp-react-native-redux": "12.0.0-rc.
|
|
40
|
-
"@applicaster/zapp-react-native-utils": "12.0.0-rc.
|
|
37
|
+
"@applicaster/applicaster-types": "12.0.0-rc.131",
|
|
38
|
+
"@applicaster/zapp-react-native-bridge": "12.0.0-rc.131",
|
|
39
|
+
"@applicaster/zapp-react-native-redux": "12.0.0-rc.131",
|
|
40
|
+
"@applicaster/zapp-react-native-utils": "12.0.0-rc.131",
|
|
41
41
|
"promise": "^8.3.0",
|
|
42
42
|
"react-router-native": "^5.1.2",
|
|
43
43
|
"url": "^0.11.0",
|