@applicaster/zapp-react-native-utils 13.0.3 → 13.0.4

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.
@@ -143,15 +143,12 @@ export class AccessibilityManager {
143
143
 
144
144
  if (!buttonConfig) {
145
145
  return {
146
- accessible: true,
147
146
  accessibilityLabel: buttonName,
148
147
  accessibilityHint: `Press button to perform action on ${buttonName}`,
149
148
  "aria-label": buttonName,
150
149
  "aria-description": `Press button to perform action on ${buttonName}`,
151
150
  accessibilityRole: "button" as AccessibilityRole,
152
151
  "aria-role": "button",
153
- role: "button",
154
- tabindex: 0,
155
152
  };
156
153
  }
157
154
 
@@ -165,29 +162,23 @@ export class AccessibilityManager {
165
162
  `Press button to perform action on ${buttonName}`;
166
163
 
167
164
  return {
168
- accessible: true,
169
165
  accessibilityLabel: label,
170
166
  accessibilityHint: hint,
171
167
  "aria-label": label,
172
168
  "aria-description": hint,
173
169
  accessibilityRole: "button" as AccessibilityRole,
174
170
  "aria-role": "button",
175
- role: "button",
176
- tabindex: 0,
177
171
  };
178
172
  }
179
173
 
180
174
  public getInputAccessibilityProps(inputName: string): AccessibilityProps {
181
175
  return {
182
- accessible: true,
183
176
  accessibilityLabel: inputName,
184
177
  accessibilityHint: `Enter text into ${inputName}`,
185
178
  "aria-label": inputName,
186
179
  "aria-description": `Enter text into ${inputName}`,
187
180
  accessibilityRole: "textbox" as AccessibilityRole,
188
181
  "aria-role": "textbox",
189
- role: "textbox",
190
- tabindex: 0,
191
182
  };
192
183
  }
193
184
 
package/index.d.ts CHANGED
@@ -139,13 +139,10 @@ declare type AccessibilityState = {
139
139
  };
140
140
 
141
141
  declare type AccessibilityProps = {
142
- accessible?: boolean;
143
142
  accessibilityLabel?: string;
144
143
  accessibilityHint?: string;
145
144
  "aria-label"?: string;
146
145
  "aria-description"?: string;
147
146
  accessibilityRole?: string;
148
147
  "aria-role"?: string;
149
- role?: string;
150
- tabindex?: number;
151
148
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applicaster/zapp-react-native-utils",
3
- "version": "13.0.3",
3
+ "version": "13.0.4",
4
4
  "description": "Applicaster Zapp React Native utilities package",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -27,7 +27,7 @@
27
27
  },
28
28
  "homepage": "https://github.com/applicaster/quickbrick#readme",
29
29
  "dependencies": {
30
- "@applicaster/applicaster-types": "13.0.3",
30
+ "@applicaster/applicaster-types": "13.0.4",
31
31
  "buffer": "^5.2.1",
32
32
  "camelize": "^1.0.0",
33
33
  "dayjs": "^1.11.10",