@velion-la/onboarding-sdk-react-native 1.3.0-beta.25 → 1.3.0-beta.27

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.
Files changed (43) hide show
  1. package/lib/commonjs/camera/AddressSearchBar.js +2 -1
  2. package/lib/commonjs/camera/AddressSearchBar.js.map +1 -1
  3. package/lib/commonjs/camera/DocumentCapture.js +2 -1
  4. package/lib/commonjs/camera/DocumentCapture.js.map +1 -1
  5. package/lib/commonjs/camera/LivenessCamera.js +2 -1
  6. package/lib/commonjs/camera/LivenessCamera.js.map +1 -1
  7. package/lib/commonjs/camera/MapAddressPicker.js +2 -1
  8. package/lib/commonjs/camera/MapAddressPicker.js.map +1 -1
  9. package/lib/commonjs/i18n/strings/en.js +1 -1
  10. package/lib/commonjs/i18n/strings/en.js.map +1 -1
  11. package/lib/commonjs/i18n/strings/es.js +1 -1
  12. package/lib/commonjs/i18n/strings/es.js.map +1 -1
  13. package/lib/commonjs/steps/AddressInfoStep.js +16 -10
  14. package/lib/commonjs/steps/AddressInfoStep.js.map +1 -1
  15. package/lib/commonjs/steps/LivenessMatchStep.js +2 -1
  16. package/lib/commonjs/steps/LivenessMatchStep.js.map +1 -1
  17. package/lib/commonjs/ui/StepShell.js +2 -1
  18. package/lib/commonjs/ui/StepShell.js.map +1 -1
  19. package/lib/commonjs/ui/VelionOnboardingScreen.js +2 -1
  20. package/lib/commonjs/ui/VelionOnboardingScreen.js.map +1 -1
  21. package/lib/commonjs/ui/icons/HomeHeartIcon.js +2 -1
  22. package/lib/commonjs/ui/icons/HomeHeartIcon.js.map +1 -1
  23. package/lib/commonjs/ui/overlays/AnalyzingOverlay.js +2 -1
  24. package/lib/commonjs/ui/overlays/AnalyzingOverlay.js.map +1 -1
  25. package/lib/commonjs/ui/theme/ThemeProvider.js +2 -1
  26. package/lib/commonjs/ui/theme/ThemeProvider.js.map +1 -1
  27. package/lib/commonjs/utils/appId.js +2 -1
  28. package/lib/commonjs/utils/appId.js.map +1 -1
  29. package/lib/commonjs/utils/deviceIntegrity.js +2 -1
  30. package/lib/commonjs/utils/deviceIntegrity.js.map +1 -1
  31. package/lib/commonjs/utils/osGeocoder.js +2 -1
  32. package/lib/commonjs/utils/osGeocoder.js.map +1 -1
  33. package/lib/module/i18n/strings/en.js +1 -1
  34. package/lib/module/i18n/strings/en.js.map +1 -1
  35. package/lib/module/i18n/strings/es.js +1 -1
  36. package/lib/module/i18n/strings/es.js.map +1 -1
  37. package/lib/module/steps/AddressInfoStep.js +16 -10
  38. package/lib/module/steps/AddressInfoStep.js.map +1 -1
  39. package/lib/typescript/steps/AddressInfoStep.d.ts +2 -2
  40. package/package.json +1 -1
  41. package/src/i18n/strings/en.ts +1 -1
  42. package/src/i18n/strings/es.ts +1 -1
  43. package/src/steps/AddressInfoStep.tsx +15 -9
@@ -6,8 +6,8 @@
6
6
  * 1. **Assisted** (when `VelionConfig.googleMapsApiKey` is set, or on iOS
7
7
  * where Apple Maps needs no key): intro → map picker → details (floor /
8
8
  * apartment / references) → submit. Lat/Lng are included in the payload.
9
- * The details screen shows the resolved address as a summary; "Edit
10
- * address" opens the manual form's address fields to correct it (OSDKR-43).
9
+ * The details screen shows the resolved address as a summary; its "Edit"
10
+ * link opens the manual form's address fields to correct it (OSDKR-43).
11
11
  * 2. **Manual** (default fallback): the structured form — country, state,
12
12
  * city, district, neighborhood, street, number, zip, plus the same
13
13
  * details fields. No lat/lng.
@@ -332,7 +332,7 @@ const DETAILS_FIELD_ORDER = ['floor', 'apartment', 'details'] as const;
332
332
 
333
333
  /**
334
334
  * Details screen of the assisted flow: floor, apartment and references, with
335
- * the address the map resolved as a summary. "Edit address" opens the manual
335
+ * the address the map resolved as a summary. Its "Edit" link opens the manual
336
336
  * form's address fields, prefilled, to fix what the geocoder read (OSDKR-43).
337
337
  * The state picker lives in that section, unless the state could not be
338
338
  * resolved: then it is shown right away, since the user has to pick it.
@@ -459,13 +459,15 @@ function AddressDetailsForm({
459
459
  <>
460
460
  <Text style={[styles.summary, { color: theme.textSecondaryColor }]}>
461
461
  {placeLine ? `${placeLine} (${form.country})` : form.country}
462
+ {' '}
463
+ <Text
464
+ accessibilityRole="link"
465
+ style={[styles.link, { color: theme.primaryColor }]}
466
+ onPress={submitting ? undefined : () => setEditing(true)}
467
+ >
468
+ {t.address_info.editAddress}
469
+ </Text>
462
470
  </Text>
463
- <Button
464
- variant="ghost"
465
- label={t.address_info.editAddress}
466
- onPress={() => setEditing(true)}
467
- disabled={submitting}
468
- />
469
471
  {!stateResolved && stateOptions.length > 0 ? (
470
472
  <StateSelect
471
473
  locale={locale}
@@ -933,4 +935,8 @@ const styles = StyleSheet.create({
933
935
  textAlign: 'center',
934
936
  marginBottom: 8,
935
937
  },
938
+ link: {
939
+ fontWeight: '600',
940
+ textDecorationLine: 'underline',
941
+ },
936
942
  });