@sikka/hawa 0.1.88 → 0.1.89
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.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3569 -2566
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +8 -7
- package/dist/index.mjs.map +1 -0
- package/package.json +1 -1
- package/src/blocks/AuthForms/ResetPasswordForm.tsx +9 -9
- package/tsup.config.js +7 -0
package/dist/index.mjs
CHANGED
|
@@ -9791,29 +9791,29 @@ var ResetPasswordForm = (props) => {
|
|
|
9791
9791
|
{
|
|
9792
9792
|
width: "full",
|
|
9793
9793
|
type: "text",
|
|
9794
|
-
label: props.texts
|
|
9794
|
+
label: props.texts?.emailLabel,
|
|
9795
9795
|
helpertext: errors.email?.message,
|
|
9796
|
-
placeholder: props.texts
|
|
9796
|
+
placeholder: props.texts?.emailPlaceholder,
|
|
9797
9797
|
...field,
|
|
9798
9798
|
value: field.value ?? ""
|
|
9799
9799
|
}
|
|
9800
9800
|
),
|
|
9801
9801
|
rules: {
|
|
9802
|
-
required: props.texts
|
|
9802
|
+
required: props.texts?.emailRequiredText,
|
|
9803
9803
|
pattern: {
|
|
9804
9804
|
value: /^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,
|
|
9805
|
-
message: props.texts
|
|
9805
|
+
message: props.texts?.emailInvalidText
|
|
9806
9806
|
}
|
|
9807
9807
|
}
|
|
9808
9808
|
}
|
|
9809
|
-
), /* @__PURE__ */ React90.createElement("div", { className: " pb-2 text-left text-sm dark:text-gray-300" }, props.texts
|
|
9809
|
+
), /* @__PURE__ */ React90.createElement("div", { className: " pb-2 text-left text-sm dark:text-gray-300" }, props.texts?.dontHaveAccount ?? "Don't have an account? ", /* @__PURE__ */ React90.createElement(
|
|
9810
9810
|
"span",
|
|
9811
9811
|
{
|
|
9812
9812
|
onClick: props.handleRouteToSignUp,
|
|
9813
9813
|
className: "clickable-link"
|
|
9814
9814
|
},
|
|
9815
|
-
props.texts
|
|
9816
|
-
))), /* @__PURE__ */ React90.createElement(CardFooter, null, /* @__PURE__ */ React90.createElement(Button, { type: "submit", className: "w-full" }, props.texts
|
|
9815
|
+
props.texts?.signUpText ?? "Sign Up"
|
|
9816
|
+
))), /* @__PURE__ */ React90.createElement(CardFooter, null, /* @__PURE__ */ React90.createElement(Button, { type: "submit", className: "w-full" }, props.texts?.resetPassword)))) : /* @__PURE__ */ React90.createElement(CardContent, { headless: true }, /* @__PURE__ */ React90.createElement("div", { className: "text-center" }, props.texts?.emailSentText)));
|
|
9817
9817
|
};
|
|
9818
9818
|
|
|
9819
9819
|
// src/blocks/AuthForms/CodeConfirmation.tsx
|
|
@@ -11008,3 +11008,4 @@ export {
|
|
|
11008
11008
|
toast,
|
|
11009
11009
|
useToast
|
|
11010
11010
|
};
|
|
11011
|
+
//# sourceMappingURL=index.mjs.map
|