@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/CHANGELOG.md +4 -0
- package/dist/index.js +7 -8
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -8
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -5171,7 +5171,7 @@ function verifyEmailErrorText(code, labels) {
|
|
|
5171
5171
|
}
|
|
5172
5172
|
return labels.errorGeneric;
|
|
5173
5173
|
}
|
|
5174
|
-
function
|
|
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
|
-
|
|
5247
|
+
FocusedAction,
|
|
5248
5248
|
{
|
|
5249
|
-
|
|
5250
|
-
|
|
5251
|
-
accessibilityRole: "button",
|
|
5249
|
+
hint: labels.successContinueHint,
|
|
5250
|
+
label: labels.successContinue,
|
|
5252
5251
|
style: styles3.primaryButton,
|
|
5253
5252
|
testID: id(AuthTestIds.verifyEmailContinue),
|
|
5254
|
-
|
|
5255
|
-
|
|
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
|
-
|
|
5282
|
+
FocusedAction,
|
|
5284
5283
|
{
|
|
5285
5284
|
hint: labels.resendCtaHint,
|
|
5286
5285
|
label: labels.resendCta,
|