@utilitywarehouse/hearth-react-native 0.27.2-testid-fix-2 → 0.27.2-testid-fix-3

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,5 +1,5 @@
1
1
 
2
2
  
3
- > @utilitywarehouse/hearth-react-native@0.27.2-testid-fix-1 build /Users/filmondaniels/Projects/Work/hearth/packages/react-native
3
+ > @utilitywarehouse/hearth-react-native@0.27.2-testid-fix-3 build /Users/filmondaniels/Projects/Work/hearth/packages/react-native
4
4
  > tsc
5
5
 
@@ -168,7 +168,7 @@ const VerificationInput = forwardRef(({ value = '', onChangeText, label, labelVa
168
168
  pendingFocusIndexRef.current = index;
169
169
  inputRef.current?.focus();
170
170
  setSelectionIndex(index);
171
- } }, index));
171
+ }, testID: testID ? `${testID}-${index}` : undefined }, index));
172
172
  })] }) }));
173
173
  });
174
174
  const styles = StyleSheet.create(theme => ({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@utilitywarehouse/hearth-react-native",
3
- "version": "0.27.2-testid-fix-2",
3
+ "version": "0.27.2-testid-fix-3",
4
4
  "description": "Utility Warehouse React Native UI library",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -56,10 +56,10 @@
56
56
  "vite": "^7.1.3",
57
57
  "vite-plugin-svgr": "^4.5.0",
58
58
  "vitest": "^3.2.4",
59
- "@utilitywarehouse/hearth-react-icons": "^0.8.0",
59
+ "@utilitywarehouse/hearth-tokens": "^0.2.4",
60
60
  "@utilitywarehouse/hearth-fonts": "^0.0.4",
61
+ "@utilitywarehouse/hearth-react-icons": "^0.8.0",
61
62
  "@utilitywarehouse/hearth-svg-assets": "^0.5.0",
62
- "@utilitywarehouse/hearth-tokens": "^0.2.4",
63
63
  "@utilitywarehouse/hearth-react-native-icons": "^0.8.0"
64
64
  },
65
65
  "peerDependencies": {
@@ -262,6 +262,7 @@ const VerificationInput = forwardRef<VerificationInputHandle, VerificationInputP
262
262
  inputRef.current?.focus();
263
263
  setSelectionIndex(index);
264
264
  }}
265
+ testID={testID ? `${testID}-${index}` : undefined}
265
266
  />
266
267
  );
267
268
  })}