@clerk/elements 0.23.40-snapshot.v20250714190940 → 0.23.40
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/{chunk-VY37G23G.mjs → chunk-DKCDTPFJ.mjs} +8 -1
- package/dist/chunk-DKCDTPFJ.mjs.map +1 -0
- package/dist/{chunk-QSYHOU7X.mjs → chunk-OCDTPQFS.mjs} +2 -2
- package/dist/react/common/index.js +7 -0
- package/dist/react/common/index.js.map +1 -1
- package/dist/react/common/index.mjs +1 -1
- package/dist/react/sign-in/index.mjs +2 -2
- package/dist/react/sign-up/index.mjs +2 -2
- package/package.json +4 -4
- package/dist/chunk-VY37G23G.mjs.map +0 -1
- /package/dist/{chunk-QSYHOU7X.mjs.map → chunk-OCDTPQFS.mjs.map} +0 -0
|
@@ -927,6 +927,13 @@ function useInput({
|
|
|
927
927
|
pattern: `[0-9]{${length}}`,
|
|
928
928
|
minLength: length,
|
|
929
929
|
maxLength: length,
|
|
930
|
+
// Enhanced naming for better password manager detection
|
|
931
|
+
name: "otp",
|
|
932
|
+
id: "otp-input",
|
|
933
|
+
// Additional attributes for password manager compatibility
|
|
934
|
+
"data-testid": "otp-input",
|
|
935
|
+
role: "textbox",
|
|
936
|
+
"aria-label": "Enter verification code",
|
|
930
937
|
onChange: (event) => {
|
|
931
938
|
event.currentTarget.value = event.currentTarget.value.replace(/\D+/g, "");
|
|
932
939
|
onChange(event);
|
|
@@ -4106,4 +4113,4 @@ export {
|
|
|
4106
4113
|
Loading,
|
|
4107
4114
|
Link
|
|
4108
4115
|
};
|
|
4109
|
-
//# sourceMappingURL=chunk-
|
|
4116
|
+
//# sourceMappingURL=chunk-DKCDTPFJ.mjs.map
|