@dloizides/auth-web 1.25.1 → 1.25.2

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/dist/index.mjs CHANGED
@@ -5171,7 +5171,7 @@ function verifyEmailErrorText(code, labels) {
5171
5171
  }
5172
5172
  return labels.errorGeneric;
5173
5173
  }
5174
- function ResendCta({ label, hint, style, textStyle, testID, onPress }) {
5174
+ function FocusedAction({ label, hint, style, textStyle, testID, onPress }) {
5175
5175
  const ref = useRef(null);
5176
5176
  useFocusOnMount(ref);
5177
5177
  return /* @__PURE__ */ jsx(
@@ -5244,15 +5244,14 @@ function VerifyEmailScreen({
5244
5244
  /* @__PURE__ */ jsx(Text, { accessibilityRole: "header", style: styles3.title, children: labels.successTitle }),
5245
5245
  /* @__PURE__ */ jsx(Text, { style: styles3.subtitle, children: labels.successBody }),
5246
5246
  /* @__PURE__ */ jsx(
5247
- TouchableOpacity,
5247
+ FocusedAction,
5248
5248
  {
5249
- accessibilityHint: labels.successContinueHint,
5250
- accessibilityLabel: labels.successContinue,
5251
- accessibilityRole: "button",
5249
+ hint: labels.successContinueHint,
5250
+ label: labels.successContinue,
5252
5251
  style: styles3.primaryButton,
5253
5252
  testID: id(AuthTestIds.verifyEmailContinue),
5254
- onPress: onContinue,
5255
- children: /* @__PURE__ */ jsx(Text, { style: styles3.primaryButtonText, children: labels.successContinue })
5253
+ textStyle: styles3.primaryButtonText,
5254
+ onPress: onContinue
5256
5255
  }
5257
5256
  )
5258
5257
  ] }) : null,
@@ -5280,7 +5279,7 @@ function VerifyEmailScreen({
5280
5279
  verifyUrlTemplate
5281
5280
  }
5282
5281
  ) : /* @__PURE__ */ jsx(
5283
- ResendCta,
5282
+ FocusedAction,
5284
5283
  {
5285
5284
  hint: labels.resendCtaHint,
5286
5285
  label: labels.resendCta,