@applicaster/zapp-react-native-ui-components 13.0.7-alpha.2991546311 → 13.0.7-alpha.7163853950

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.
@@ -33,8 +33,6 @@ export function FocusableView({ style, children, item, ...otherProps }: Props) {
33
33
  focusedStyles,
34
34
  pluginIdentifier,
35
35
  preferredFocus,
36
- index,
37
- buttonsCount,
38
36
  } = otherProps;
39
37
 
40
38
  const focusableId = getFocusableId(prefixId, suffixId);
@@ -98,11 +96,7 @@ export function FocusableView({ style, children, item, ...otherProps }: Props) {
98
96
  });
99
97
 
100
98
  if (ttsLabel) {
101
- accessibilityManager.addHeading(ttsLabel);
102
-
103
- accessibilityManager.readText({
104
- text: `button ${index + 1} of ${buttonsCount}`,
105
- });
99
+ accessibilityManager.readText({ text: `${ttsLabel} button` });
106
100
  }
107
101
  };
108
102
 
@@ -51,8 +51,6 @@ type Props = {
51
51
  pluginIdentifier: string;
52
52
  suffixId: string;
53
53
  preferredFocus: boolean;
54
- index: number;
55
- buttonsCount: number;
56
54
  };
57
55
 
58
56
  export const Button = ({
@@ -62,8 +60,6 @@ export const Button = ({
62
60
  pluginIdentifier,
63
61
  suffixId,
64
62
  preferredFocus,
65
- index,
66
- buttonsCount,
67
63
  }: Props) => {
68
64
  if (!value(`${suffixId}_button_enabled`)) return null;
69
65
 
@@ -132,8 +128,6 @@ export const Button = ({
132
128
  },
133
129
  pluginIdentifier,
134
130
  preferredFocus,
135
- index,
136
- buttonsCount,
137
131
  },
138
132
  };
139
133
  };
@@ -83,8 +83,6 @@ export const TvActionButtons = ({
83
83
  pluginIdentifier: getPluginIdentifier(configuration, PREFIX, index),
84
84
  suffixId: prefixSpecificButton,
85
85
  preferredFocus: index === 0,
86
- index,
87
- buttonsCount,
88
86
  });
89
87
  }, buttonsCount)
90
88
  ),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applicaster/zapp-react-native-ui-components",
3
- "version": "13.0.7-alpha.2991546311",
3
+ "version": "13.0.7-alpha.7163853950",
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",
@@ -31,10 +31,10 @@
31
31
  "redux-mock-store": "^1.5.3"
32
32
  },
33
33
  "dependencies": {
34
- "@applicaster/applicaster-types": "13.0.7-alpha.2991546311",
35
- "@applicaster/zapp-react-native-bridge": "13.0.7-alpha.2991546311",
36
- "@applicaster/zapp-react-native-redux": "13.0.7-alpha.2991546311",
37
- "@applicaster/zapp-react-native-utils": "13.0.7-alpha.2991546311",
34
+ "@applicaster/applicaster-types": "13.0.7-alpha.7163853950",
35
+ "@applicaster/zapp-react-native-bridge": "13.0.7-alpha.7163853950",
36
+ "@applicaster/zapp-react-native-redux": "13.0.7-alpha.7163853950",
37
+ "@applicaster/zapp-react-native-utils": "13.0.7-alpha.7163853950",
38
38
  "promise": "^8.3.0",
39
39
  "react-router-native": "^5.1.2",
40
40
  "url": "^0.11.0",