@coinbase/cdp-react 0.0.19 → 0.0.21
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/assets/Button.css +1 -1
- package/dist/assets/EmailForm.css +1 -1
- package/dist/assets/Error.css +1 -1
- package/dist/assets/Field.css +1 -1
- package/dist/assets/Input.css +1 -1
- package/dist/assets/Label.css +1 -1
- package/dist/assets/LoadingSkeleton.css +1 -1
- package/dist/assets/LoadingSpinner.css +1 -1
- package/dist/assets/Modal.css +1 -0
- package/dist/assets/OTP.css +1 -1
- package/dist/assets/OTPForm.css +1 -1
- package/dist/assets/PhoneNumberForm.css +1 -1
- package/dist/assets/PhoneNumberInput.css +1 -1
- package/dist/assets/SignInAuthMethodButtons.css +1 -1
- package/dist/assets/SignInModal.css +1 -1
- package/dist/assets/SuccessMessage.css +1 -1
- package/dist/assets/SwitchFadeTransition.css +1 -1
- package/dist/assets/SwitchSlideTransition.css +1 -1
- package/dist/assets/SwitchTransition.css +1 -1
- package/dist/assets/ThemeProvider.css +1 -1
- package/dist/assets/VisuallyHidden.css +1 -1
- package/dist/components/AuthButton/index.js +6 -6
- package/dist/components/SendTransactionButton/index.js +1 -1
- package/dist/components/SignIn/SignInAuthMethodButtons.js +21 -19
- package/dist/components/SignIn/SignInBackButton.js +1 -1
- package/dist/components/SignIn/SignInForm.d.ts +1 -1
- package/dist/components/SignIn/SignInForm.js +21 -15
- package/dist/components/SignIn/flows/SignInWithEmail.d.ts +1 -0
- package/dist/components/SignIn/flows/SignInWithEmail.js +68 -51
- package/dist/components/SignIn/flows/SignInWithSms.d.ts +3 -0
- package/dist/components/SignIn/flows/SignInWithSms.js +519 -502
- package/dist/components/SignInModal/index.js +48 -55
- package/dist/components/SignOutButton/index.js +1 -1
- package/dist/components/ThemeProvider/index.js +1 -1
- package/dist/components/{EmailForm → forms/EmailForm}/index.js +10 -10
- package/dist/components/forms/Field/index.js +24 -0
- package/dist/components/{Input → forms/Input}/index.js +1 -1
- package/dist/components/{Label → forms/Label}/index.js +1 -1
- package/dist/components/forms/OTP/index.js +65 -0
- package/dist/components/{OTPForm → forms/OTPForm}/index.js +28 -28
- package/dist/components/{PhoneNumberForm → forms/PhoneNumberForm}/index.js +19 -19
- package/dist/components/{PhoneNumberInput → forms/PhoneNumberInput}/index.d.ts +1 -1
- package/dist/components/forms/PhoneNumberInput/index.js +76 -0
- package/dist/components/{PhoneNumberInput → forms/PhoneNumberInput}/maskOverride.js +1 -1
- package/dist/components/{PhoneNumberInput → forms/PhoneNumberInput}/usePhoneNumberFormatter.d.ts +2 -2
- package/dist/components/{PhoneNumberInput → forms/PhoneNumberInput}/usePhoneNumberFormatter.js +1 -1
- package/dist/components/{Button → ui/Button}/index.d.ts +1 -1
- package/dist/components/{Button → ui/Button}/index.js +20 -20
- package/dist/components/ui/Error/index.js +16 -0
- package/dist/components/ui/LoadingSkeleton/index.js +19 -0
- package/dist/components/{LoadingSpinner → ui/LoadingSpinner}/index.js +6 -6
- package/dist/components/ui/Modal/index.d.ts +11 -0
- package/dist/components/ui/Modal/index.js +27 -0
- package/dist/components/{ServerError → ui/ServerError}/index.js +1 -1
- package/dist/components/ui/SuccessMessage/index.js +16 -0
- package/dist/components/{SwitchFadeTransition → ui/SwitchFadeTransition}/index.js +2 -2
- package/dist/components/{SwitchSlideTransition → ui/SwitchSlideTransition}/index.js +2 -2
- package/dist/components/{SwitchTransition → ui/SwitchTransition}/index.d.ts +1 -1
- package/dist/components/{SwitchTransition → ui/SwitchTransition}/index.js +27 -27
- package/dist/components/{VisuallyHidden → ui/VisuallyHidden}/index.js +2 -2
- package/dist/theme/theme.d.ts +1 -1
- package/dist/theme/tokens.d.ts +2 -2
- package/dist/theme/tokens.js +1 -1
- package/package.json +17 -5
- package/dist/assets/FlowEmailOTP.css +0 -1
- package/dist/assets/FlowPhoneNumberOTP.css +0 -1
- package/dist/components/Error/index.js +0 -16
- package/dist/components/Field/index.js +0 -24
- package/dist/components/FlowEmailOTP/index.d.ts +0 -18
- package/dist/components/FlowEmailOTP/index.js +0 -70
- package/dist/components/FlowPhoneNumberOTP/index.d.ts +0 -18
- package/dist/components/FlowPhoneNumberOTP/index.js +0 -75
- package/dist/components/LoadingSkeleton/index.js +0 -19
- package/dist/components/OTP/index.js +0 -65
- package/dist/components/PhoneNumberInput/index.js +0 -76
- package/dist/components/SuccessMessage/index.js +0 -16
- package/dist/utils/validatePhoneNumber.d.ts +0 -1
- package/dist/utils/validatePhoneNumber.js +0 -1
- /package/dist/components/{EmailForm → forms/EmailForm}/index.d.ts +0 -0
- /package/dist/components/{Field → forms/Field}/index.d.ts +0 -0
- /package/dist/components/{Input → forms/Input}/index.d.ts +0 -0
- /package/dist/components/{Label → forms/Label}/index.d.ts +0 -0
- /package/dist/components/{OTP → forms/OTP}/index.d.ts +0 -0
- /package/dist/components/{OTPForm → forms/OTPForm}/index.d.ts +0 -0
- /package/dist/components/{PhoneNumberForm → forms/PhoneNumberForm}/index.d.ts +0 -0
- /package/dist/components/{PhoneNumberInput → forms/PhoneNumberInput}/PhoneNumberMetadata.d.ts +0 -0
- /package/dist/components/{PhoneNumberInput → forms/PhoneNumberInput}/PhoneNumberMetadata.js +0 -0
- /package/dist/components/{PhoneNumberInput → forms/PhoneNumberInput}/maskOverride.d.ts +0 -0
- /package/dist/components/{Error → ui/Error}/index.d.ts +0 -0
- /package/dist/components/{LoadingSkeleton → ui/LoadingSkeleton}/index.d.ts +0 -0
- /package/dist/components/{LoadingSpinner → ui/LoadingSpinner}/index.d.ts +0 -0
- /package/dist/components/{ServerError → ui/ServerError}/index.d.ts +0 -0
- /package/dist/components/{SuccessMessage → ui/SuccessMessage}/index.d.ts +0 -0
- /package/dist/components/{SwitchFadeTransition → ui/SwitchFadeTransition}/index.d.ts +0 -0
- /package/dist/components/{SwitchSlideTransition → ui/SwitchSlideTransition}/index.d.ts +0 -0
- /package/dist/components/{VisuallyHidden → ui/VisuallyHidden}/index.d.ts +0 -0
package/dist/assets/Button.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.Button-
|
|
1
|
+
.Button-module__btn___Wj6Dr{--cdp-web-button-ring-color: transparent;--cdp-web-button-ring-width: 2px;--cdp-web-button-ring-inset-color: transparent;--cdp-web-button-ring-inset-width: 2px;box-sizing:border-box;box-shadow:inset 0 0 0 var(--cdp-web-button-ring-inset-width) var(--cdp-web-button-ring-inset-color),0 0 0 var(--cdp-web-button-ring-width) var(--cdp-web-button-ring-color);display:inline-flex;align-items:center;justify-content:center;gap:.5em;padding:1em;border-radius:9999em;border:0;background-color:transparent;color:var(--cdp-web-colors-page-text-default);font-size:var(--cdp-web-font-size-base);font-family:var(--cdp-web-font-family-sans);font-weight:500;line-height:1.5;text-decoration:none;cursor:pointer;transition:all .15s ease-in-out;-webkit-user-select:none;user-select:none}.Button-module__size-lg___WlcVE{padding:1em}.Button-module__size-md___-SMmD{padding:.75em}.Button-module__size-sm___Vnrq6{padding:.5em}.Button-module__link-primary___6Zgkh,.Button-module__link-secondary___S0Qdo{padding:0 .25em}.Button-module__primary___WGT--{background-color:var(--cdp-web-colors-cta-primary-bg-default);color:var(--cdp-web-colors-cta-primary-text-default)}.Button-module__primary___WGT--:hover{background-color:var(--cdp-web-colors-cta-primary-bg-hover);color:var(--cdp-web-colors-cta-primary-text-hover)}.Button-module__primary___WGT--:focus{outline:none}.Button-module__primary___WGT--:focus-visible{--cdp-web-button-ring-color: var(--cdp-web-colors-cta-primary-border-focus);--cdp-web-button-ring-inset-color: var(--cdp-web-colors-page-bg-default);outline:none}.Button-module__secondary___Fx0LJ{background-color:var(--cdp-web-colors-cta-secondary-bg-default);color:var(--cdp-web-colors-cta-secondary-text-default)}.Button-module__secondary___Fx0LJ:hover{background-color:var(--cdp-web-colors-cta-secondary-bg-hover);color:var(--cdp-web-colors-cta-secondary-text-hover)}.Button-module__secondary___Fx0LJ:focus{outline:none}.Button-module__secondary___Fx0LJ:focus-visible{--cdp-web-button-ring-color: var(--cdp-web-colors-cta-secondary-border-focus);--cdp-web-button-ring-inset-color: var(--cdp-web-colors-page-bg-default);outline:none}.Button-module__link-primary___6Zgkh,.Button-module__transparent-primary___iwWv5{background-color:transparent;color:var(--cdp-web-colors-link-primary-text-default)}.Button-module__link-primary___6Zgkh:hover,.Button-module__transparent-primary___iwWv5:hover{color:var(--cdp-web-colors-link-primary-text-hover)}.Button-module__link-primary___6Zgkh:focus,.Button-module__transparent-primary___iwWv5:focus{outline:none}.Button-module__link-primary___6Zgkh:focus-visible,.Button-module__transparent-primary___iwWv5:focus-visible{--cdp-web-button-ring-color: var(--cdp-web-colors-link-primary-text-default);outline:none}.Button-module__link-secondary___S0Qdo,.Button-module__transparent-secondary___GfRXu{background-color:transparent;color:var(--cdp-web-colors-link-secondary-text-default)}.Button-module__link-secondary___S0Qdo:hover,.Button-module__transparent-secondary___GfRXu:hover{color:var(--cdp-web-colors-link-secondary-text-hover)}.Button-module__link-secondary___S0Qdo:focus,.Button-module__transparent-secondary___GfRXu:focus{outline:none}.Button-module__link-secondary___S0Qdo:focus-visible,.Button-module__transparent-secondary___GfRXu:focus-visible{--cdp-web-button-ring-color: var(--cdp-web-colors-link-secondary-text-default);outline:none}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.EmailForm-
|
|
1
|
+
.EmailForm-module__form___L0wVX{display:flex;flex-direction:column;gap:1em}.EmailForm-module__server-error___0TSPx{justify-content:center}
|
package/dist/assets/Error.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.Error-
|
|
1
|
+
.Error-module__error___zeTQt{color:var(--cdp-web-colors-fg-negative);line-height:1.25em;font-family:var(--cdp-web-font-family-sans);font-size:var(--cdp-web-font-size-base);display:flex;align-items:center;gap:.25em;margin:0}.Error-module__error___zeTQt span{font-size:.875em}.Error-module__icon___uwkis{width:auto;height:.875em;flex-grow:0;flex-shrink:0}
|
package/dist/assets/Field.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.Field-module__field-
|
|
1
|
+
.Field-module__field-wrapper___SCcbl{display:flex;flex-direction:column;font-family:var(--cdp-web-font-family-sans);font-size:var(--cdp-web-font-size-base);gap:.25em}
|
package/dist/assets/Input.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.Input-
|
|
1
|
+
.Input-module__input___-mK8z{--cdp-web-input-ring-width: 1px;--cdp-web-input-ring-color: var(--cdp-web-colors-input-border-default);box-sizing:border-box;font-family:var(--cdp-web-font-family-sans);font-size:var(--cdp-web-font-size-base);line-height:1.5;padding:1em;border-radius:.5em;border:0;background-color:var(--cdp-web-colors-input-bg-default);box-shadow:0 0 0 var(--cdp-web-input-ring-width) var(--cdp-web-input-ring-color) inset;color:var(--cdp-web-colors-input-text-default);transition:box-shadow .15s ease-in-out;width:100%}.Input-module__input___-mK8z::placeholder{color:var(--cdp-web-colors-input-placeholder-default)}.Input-module__input___-mK8z:focus-visible{outline:none;--cdp-web-input-ring-color: var(--cdp-web-colors-input-border-focus);--cdp-web-input-ring-width: 2px}.Input-module__input___-mK8z[aria-invalid=true]{--cdp-web-input-ring-color: var(--cdp-web-colors-input-border-error)}.Input-module__input___-mK8z[data-success=true]{--cdp-web-input-ring-color: var(--cdp-web-colors-input-border-success)}
|
package/dist/assets/Label.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.Label-
|
|
1
|
+
.Label-module__label___jDumT{font-size:.875em;line-height:1.43;font-weight:500;color:var(--cdp-web-colors-input-label-default)}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.LoadingSkeleton-
|
|
1
|
+
.LoadingSkeleton-module__loading___kqndV{animation:LoadingSkeleton-module__pulse___x86cJ 2s cubic-bezier(.4,0,.6,1) infinite;background-color:var(--cdp-web-colors-bg-skeleton);cursor:progress}@keyframes LoadingSkeleton-module__pulse___x86cJ{50%{opacity:.5}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.LoadingSpinner-
|
|
1
|
+
.LoadingSpinner-module__spinner___-zo6Y{transform-origin:center;animation:LoadingSpinner-module__spinner___-zo6Y 2s linear infinite}.LoadingSpinner-module__spinner-circle___9Jfm7{stroke-linecap:round;animation:LoadingSpinner-module__spinner-circle___9Jfm7 1.5s ease-in-out infinite}@keyframes LoadingSpinner-module__spinner___-zo6Y{to{transform:rotate(360deg)}}@keyframes LoadingSpinner-module__spinner-circle___9Jfm7{0%{stroke-dasharray:0 150;stroke-dashoffset:0}47.5%{stroke-dasharray:42 150;stroke-dashoffset:-16}95%,to{stroke-dasharray:42 150;stroke-dashoffset:-59}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.Modal-module__modal___MUsZA{--shadow-md: 0 4px 6px -1px rgb(0 0 0 / 10%), 0 2px 4px -2px rgb(0 0 0 / 10%);box-sizing:border-box;box-shadow:var(--shadow-md);width:100%;max-width:28.125em;min-width:0;background:var(--cdp-web-colors-page-bg-default);border-radius:.5em;outline:1px solid var(--cdp-web-colors-page-border-default);position:relative}.Modal-module__modal___MUsZA[data-state=open]{animation:Modal-module__slide-in___p-A8u .2s ease-out,Modal-module__fade-in___NfUjS .2s ease-out}.Modal-module__modal___MUsZA[data-state=closed]{animation:Modal-module__slide-out___hrRK1 .2s ease-in,Modal-module__fade-out___LpBNV .2s ease-in}.Modal-module__overlay___-RqGQ{background:var(--cdp-web-colors-bg-overlay);box-sizing:border-box;-webkit-backdrop-filter:blur(.5em);backdrop-filter:blur(.5em);display:grid;grid-template-rows:auto 1fr;inset:0;overflow-y:auto;place-items:end center;position:fixed;z-index:1000}.Modal-module__overlay___-RqGQ[data-state=open]{animation:Modal-module__fade-in___NfUjS .2s ease-out}.Modal-module__overlay___-RqGQ[data-state=closed]{animation:Modal-module__fade-out___LpBNV .2s ease-in}.Modal-module__spacer___dIfOA{height:1em}@keyframes Modal-module__fade-in___NfUjS{0%{opacity:0}to{opacity:1}}@keyframes Modal-module__fade-out___LpBNV{0%{opacity:1}to{opacity:0}}@keyframes Modal-module__slide-in___p-A8u{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes Modal-module__slide-out___hrRK1{0%{transform:translateY(0)}to{transform:translateY(100%)}}@media (min-width: 400px){.Modal-module__overlay___-RqGQ{padding:.5rem}}@media (min-width: 450px){.Modal-module__overlay___-RqGQ{place-items:center;padding:1rem;grid-template-rows:1fr}.Modal-module__modal___MUsZA{height:auto}.Modal-module__spacer___dIfOA{display:none}@keyframes Modal-module__slide-in___p-A8u{0%{transform:translateY(10%)}to{transform:translateY(0)}}@keyframes Modal-module__slide-out___hrRK1{0%{transform:translateY(0)}to{transform:translateY(10%)}}}
|
package/dist/assets/OTP.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.OTP-
|
|
1
|
+
.OTP-module__otp___UjnM8{--cdp-web-otp-input-width: 25%;display:flex;flex-direction:column;gap:.25em}.OTP-module__group-container___hNqnB{display:flex;gap:.5em}.OTP-module__input-container___snmj7{width:var(--cdp-web-otp-input-width)}.OTP-module__input___Vbd5m{text-align:center}.OTP-module__label___cK41n{margin:0 0 .43em}
|
package/dist/assets/OTPForm.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.OTPForm-module__otp-
|
|
1
|
+
.OTPForm-module__otp-form___G1-63 [data-part=input-group]{padding-bottom:1.5em}.OTPForm-module__otp-form___G1-63 [data-part=success],.OTPForm-module__otp-form___G1-63 [data-part=error]{margin-top:-1.5em}.OTPForm-module__form-footer___ybmdd{display:flex;flex-flow:column nowrap;align-items:stretch;justify-content:center;min-height:1.5em;padding-top:1.5em;padding-bottom:.5em}.OTPForm-module__server-state-wrapper___R5j5k{margin-top:-1.5em;min-height:1.5em;position:relative;top:-.25em}.OTPForm-module__loading-spinner___8N9XU{color:var(--cdp-web-colors-link-primary-text-default);display:block;margin:0 auto}.OTPForm-module__resend-wrapper___aZUAz{display:flex;align-items:center;justify-content:center;text-align:center;min-height:1.5em}.OTPForm-module__reset-timer___7ElWj{color:var(--cdp-web-colors-page-text-muted);font-weight:500;line-height:1em;min-height:1em;display:flex;align-items:center;justify-content:center}.OTPForm-module__reset-timer___7ElWj p{font-size:.875em;line-height:1;margin:0}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.PhoneNumberForm-
|
|
1
|
+
.PhoneNumberForm-module__form___ExO8G{display:flex;flex-direction:column;gap:1em}.PhoneNumberForm-module__server-error___AQcMg{justify-content:center}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.PhoneNumberInput-module__phone-number-
|
|
1
|
+
.PhoneNumberInput-module__phone-number-input___mYty2{--cdp-web-input-ring-width: 1px;--cdp-web-input-ring-color: var(--cdp-web-colors-input-border-default);box-sizing:border-box;display:flex;align-items:stretch;font-family:var(--cdp-web-font-family-sans);font-size:var(--cdp-web-font-size-base);line-height:1.5;padding-left:1em;border-radius:.5em;border:0;background-color:var(--cdp-web-colors-input-bg-default);box-shadow:0 0 0 var(--cdp-web-input-ring-width) var(--cdp-web-input-ring-color) inset;color:var(--cdp-web-colors-input-text-default);transition:box-shadow .15s ease-in-out;width:100%}.PhoneNumberInput-module__phone-number-input___mYty2.PhoneNumberInput-module__invalid___zDA2p,.PhoneNumberInput-module__phone-number-input___mYty2:focus-within.PhoneNumberInput-module__invalid___zDA2p{--cdp-web-input-ring-color: var(--cdp-web-colors-input-border-error)}.PhoneNumberInput-module__phone-number-input___mYty2.PhoneNumberInput-module__success___uPjMx{--cdp-web-input-ring-color: var(--cdp-web-colors-input-border-success)}.PhoneNumberInput-module__phone-number-input___mYty2:focus-within{--cdp-web-input-ring-color: var(--cdp-web-colors-input-border-focus);--cdp-web-input-ring-width: 2px}.PhoneNumberInput-module__phone-number-input___mYty2 .PhoneNumberInput-module__input___H-XG-{--cdp-web-input-ring-width: 0px;background-color:transparent;padding-left:.75em}.PhoneNumberInput-module__country-calling-code___N6zDW{display:flex;align-items:center;gap:.25rem}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.SignInAuthMethodButtons-module__auth-method-buttons___jYEH7{display:flex;flex-direction:column;gap:.5em}.SignInAuthMethodButtons-module__auth-btn-icon___VjvFY{flex-shrink:0;flex-grow:0;height:1.25em;
|
|
1
|
+
.SignInAuthMethodButtons-module__auth-method-buttons___jYEH7{display:flex;flex-direction:column;gap:.5em}.SignInAuthMethodButtons-module__auth-btn___o1a09{padding-left:2em;padding-right:2em;gap:0}.SignInAuthMethodButtons-module__auth-btn-icon___VjvFY{flex-shrink:0;flex-grow:0;height:1.25em;width:auto}.SignInAuthMethodButtons-module__auth-btn-label___mEWd3{flex-grow:1;padding:0 1.75em 0 .5em}.SignInAuthMethodButtons-module__divider___zphEh{position:relative;text-align:center;margin:1em 0 .5em}.SignInAuthMethodButtons-module__divider___zphEh hr{border:0;border-top:1px solid var(--cdp-web-colors-page-border-default);margin:0;position:absolute;top:50%;left:0;right:0;transform:translateY(-50%)}.SignInAuthMethodButtons-module__divider___zphEh span{background-color:var(--cdp-web-colors-page-bg-default);color:var(--cdp-web-colors-page-text-muted);text-transform:uppercase;font-size:.875em;font-weight:500;padding:0 .5em;position:relative}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.SignInModal-module__trigger___IcJ8x{padding-left:2em;padding-right:2em}.SignInModal-
|
|
1
|
+
.SignInModal-module__trigger___IcJ8x{padding-left:2em;padding-right:2em}.SignInModal-module__sign-in___n05-5{height:100%;overflow:hidden}.SignInModal-module__sign-in___n05-5.SignInModal-module__no-footer___meSt1{padding-bottom:2em}.SignInModal-module__title-desc-wrapper___--XLa{display:flex;flex-direction:column;gap:1.5em;margin-bottom:1.5em}.SignInModal-module__sign-in-form___Jzx1-,.SignInModal-module__sign-in-form___Jzx1- form{flex-grow:1}.SignInModal-module__sign-in-image___DGg7B{flex-grow:1;margin:2em 0}.SignInModal-module__footer___6qEo2{margin-top:1.5em}.SignInModal-module__buttons___jhaVn{display:flex;justify-content:flex-end;align-items:center;margin-left:-.75em;margin-right:-.75em;width:calc(100% + 1.5em)}.SignInModal-module__back-button___nMh2-{margin-left:0;margin-right:auto}.SignInModal-module__close-icon___b-gMh{height:auto;width:1.5em}@media (min-width: 450px){.SignInModal-module__sign-in-image___DGg7B{flex-grow:0;margin:0 0 1.5em}.SignInModal-module__sign-in-image___DGg7B:empty{display:none}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.SuccessMessage-
|
|
1
|
+
.SuccessMessage-module__success___ZOELg{color:var(--cdp-web-colors-fg-positive);font-family:var(--cdp-web-font-family-sans);font-size:var(--cdp-web-font-size-base);line-height:1.25em;display:flex;align-items:center;gap:.25em;margin:0}.SuccessMessage-module__success___ZOELg span{font-size:.875em}.SuccessMessage-module__icon___QpPW-{width:auto;height:.875em;flex-grow:0;flex-shrink:0}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.SwitchFadeTransition-module__switch-fade-
|
|
1
|
+
.SwitchFadeTransition-module__switch-fade-transition___--lbT[data-transition=fade]{position:relative}.SwitchFadeTransition-module__switch-fade-transition___--lbT [data-transition=fade][data-status]{transition:opacity var(--cdp-web-transition-timeout, .2s);width:100%}.SwitchFadeTransition-module__switch-fade-transition___--lbT [data-transition=fade][data-status=preEnter]{opacity:0}.SwitchFadeTransition-module__switch-fade-transition___--lbT [data-transition=fade][data-status=exiting],.SwitchFadeTransition-module__switch-fade-transition___--lbT [data-transition=fade][data-status=exited]{opacity:0;position:absolute;top:0;left:0}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.SwitchSlideTransition-module__switch-slide-
|
|
1
|
+
.SwitchSlideTransition-module__switch-slide-transition___FykQG [data-transition=slide-left][data-status],.SwitchSlideTransition-module__switch-slide-transition___FykQG [data-transition=slide-right][data-status]{width:100%;transition:opacity var(--cdp-web-transition-timeout, .2s),transform var(--cdp-web-transition-timeout, .2s)}.SwitchSlideTransition-module__switch-slide-transition___FykQG[data-transition=slide-left],.SwitchSlideTransition-module__switch-slide-transition___FykQG[data-transition=slide-right],.SwitchSlideTransition-module__switch-slide-transition___FykQG[data-transition=slide-left][data-animate-height=true]>div,.SwitchSlideTransition-module__switch-slide-transition___FykQG[data-transition=slide-right][data-animate-height=true]>div{display:flex;position:relative;width:100%}.SwitchSlideTransition-module__switch-slide-transition___FykQG[data-transition=slide-left][data-animate-height=true]>div,.SwitchSlideTransition-module__switch-slide-transition___FykQG[data-transition=slide-right][data-animate-height=true]>div{align-items:flex-start}.SwitchSlideTransition-module__switch-slide-transition___FykQG [data-transition=slide-left][data-status=preEnter]{opacity:0;transform:translate(200%)}.SwitchSlideTransition-module__switch-slide-transition___FykQG [data-transition=slide-left][data-status=exiting],.SwitchSlideTransition-module__switch-slide-transition___FykQG [data-transition=slide-left][data-status=exited]{position:absolute;opacity:0;transform:translate(-200%)}.SwitchSlideTransition-module__switch-slide-transition___FykQG [data-transition=slide-right][data-status=preEnter]{opacity:0;transform:translate(-200%)}.SwitchSlideTransition-module__switch-slide-transition___FykQG [data-transition=slide-right][data-status=exiting],.SwitchSlideTransition-module__switch-slide-transition___FykQG [data-transition=slide-right][data-status=exited]{position:absolute;opacity:0;transform:translate(200%)}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.SwitchTransition-module__transition-
|
|
1
|
+
.SwitchTransition-module__transition-wrapper___jrI35[data-animate-height=true]{--cdp-web-transition-height: min-cotent;height:var(--cdp-web-transition-height);transition:height var(--cdp-web-transition-timeout, .2s) ease-in-out}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@import"https://fonts.googleapis.com/css2?family=
|
|
1
|
+
@import"https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap";.ThemeProvider-module__wrapper___aXwhZ{width:100%}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.VisuallyHidden-module__visually-
|
|
1
|
+
.VisuallyHidden-module__visually-hidden___tD5Vj{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs as T, jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import { useIsInitialized as _, useIsSignedIn as v } from "@coinbase/cdp-hooks";
|
|
3
3
|
import { useState as c, useRef as w, useEffect as f } from "react";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
4
|
+
import { SignInModal as x } from "../SignInModal/index.js";
|
|
5
|
+
import { SignOutButton as y } from "../SignOutButton/index.js";
|
|
6
|
+
import { LoadingSkeleton as A } from "../ui/LoadingSkeleton/index.js";
|
|
7
7
|
import '../../assets/AuthButton.css';const B = "AuthButton-module__loading___JpDqi", D = {
|
|
8
8
|
loading: B
|
|
9
9
|
}, L = ({
|
|
@@ -48,9 +48,9 @@ import '../../assets/AuthButton.css';const B = "AuthButton-module__loading___JpD
|
|
|
48
48
|
} else
|
|
49
49
|
s(!1);
|
|
50
50
|
}, [u, t]), /* @__PURE__ */ T("div", { ...p, children: [
|
|
51
|
-
!i && /* @__PURE__ */ l(
|
|
52
|
-
i && m && /* @__PURE__ */ l(
|
|
53
|
-
i && !m && /* @__PURE__ */ l(
|
|
51
|
+
!i && /* @__PURE__ */ l(A, { className: D.loading }),
|
|
52
|
+
i && m && /* @__PURE__ */ l(y, { onSuccess: O }),
|
|
53
|
+
i && !m && /* @__PURE__ */ l(x, { open: t, setIsOpen: d, onSuccess: I })
|
|
54
54
|
] });
|
|
55
55
|
};
|
|
56
56
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as b } from "react/jsx-runtime";
|
|
2
2
|
import { useSendEvmTransaction as y, APIError as T } from "@coinbase/cdp-hooks";
|
|
3
3
|
import { useState as _, useCallback as v } from "react";
|
|
4
|
-
import { Button as w } from "../Button/index.js";
|
|
4
|
+
import { Button as w } from "../ui/Button/index.js";
|
|
5
5
|
import "../../theme/theme.js";
|
|
6
6
|
import { getMessageFromUnknownError as B } from "../../utils/getMessageFromUnknownError.js";
|
|
7
7
|
import '../../assets/SendTransactionButton.css';const P = {
|
|
@@ -1,26 +1,27 @@
|
|
|
1
1
|
import { jsx as n, jsxs as i } from "react/jsx-runtime";
|
|
2
2
|
import { useMemo as c } from "react";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { IconEnvelope as
|
|
7
|
-
import { IconPhone as
|
|
8
|
-
import '../../assets/SignInAuthMethodButtons.css';const f = "SignInAuthMethodButtons-module__divider___zphEh",
|
|
3
|
+
import { useAppConfig as d } from "../CDPReactProvider/index.js";
|
|
4
|
+
import { useSignInContext as m } from "./SignInProvider.js";
|
|
5
|
+
import { Button as _ } from "../ui/Button/index.js";
|
|
6
|
+
import { IconEnvelope as b } from "../../icons/IconEnvelope.js";
|
|
7
|
+
import { IconPhone as p } from "../../icons/IconPhone.js";
|
|
8
|
+
import '../../assets/SignInAuthMethodButtons.css';const f = "SignInAuthMethodButtons-module__divider___zphEh", o = {
|
|
9
9
|
"auth-method-buttons": "SignInAuthMethodButtons-module__auth-method-buttons___jYEH7",
|
|
10
|
+
"auth-btn": "SignInAuthMethodButtons-module__auth-btn___o1a09",
|
|
10
11
|
"auth-btn-icon": "SignInAuthMethodButtons-module__auth-btn-icon___VjvFY",
|
|
11
12
|
"auth-btn-label": "SignInAuthMethodButtons-module__auth-btn-label___mEWd3",
|
|
12
13
|
divider: f
|
|
13
14
|
}, r = {
|
|
14
15
|
email: {
|
|
15
16
|
label: "Continue with email",
|
|
16
|
-
icon: /* @__PURE__ */ n(
|
|
17
|
+
icon: /* @__PURE__ */ n(b, {})
|
|
17
18
|
},
|
|
18
19
|
sms: {
|
|
19
20
|
label: "Continue with phone",
|
|
20
|
-
icon: /* @__PURE__ */ n(
|
|
21
|
+
icon: /* @__PURE__ */ n(p, {})
|
|
21
22
|
}
|
|
22
|
-
},
|
|
23
|
-
const { authMethods:
|
|
23
|
+
}, S = ({ activeMethod: a }) => {
|
|
24
|
+
const { authMethods: u } = d(), { dispatch: l } = m(), e = c(() => (u || ["email"]).map((t) => {
|
|
24
25
|
if (!r[t])
|
|
25
26
|
return null;
|
|
26
27
|
const { label: s, icon: h } = r[t];
|
|
@@ -28,24 +29,25 @@ import '../../assets/SignInAuthMethodButtons.css';const f = "SignInAuthMethodBut
|
|
|
28
29
|
key: t,
|
|
29
30
|
label: s,
|
|
30
31
|
icon: h,
|
|
31
|
-
onClick: () =>
|
|
32
|
+
onClick: () => l({ type: "SET_AUTH_METHOD", payload: { authMethod: t } })
|
|
32
33
|
};
|
|
33
|
-
}).filter((t) => t !== null), [
|
|
34
|
-
return !
|
|
35
|
-
/* @__PURE__ */ i("div", { className:
|
|
34
|
+
}).filter((t) => t !== null), [u, l]);
|
|
35
|
+
return !e.length || e.length === 1 && e[0].key === a ? null : /* @__PURE__ */ i("div", { className: o["auth-method-buttons"], children: [
|
|
36
|
+
/* @__PURE__ */ i("div", { className: o.divider, children: [
|
|
36
37
|
/* @__PURE__ */ n("hr", {}),
|
|
37
38
|
/* @__PURE__ */ n("span", { children: "or" })
|
|
38
39
|
] }),
|
|
39
|
-
|
|
40
|
-
|
|
40
|
+
e.map((t) => t.key === a ? null : /* @__PURE__ */ i(
|
|
41
|
+
_,
|
|
41
42
|
{
|
|
42
43
|
"aria-label": t.ariaLabel,
|
|
44
|
+
className: o["auth-btn"],
|
|
43
45
|
type: "button",
|
|
44
46
|
variant: "secondary",
|
|
45
47
|
onClick: t.onClick,
|
|
46
48
|
children: [
|
|
47
|
-
/* @__PURE__ */ n("span", { className:
|
|
48
|
-
/* @__PURE__ */ n("span", { className:
|
|
49
|
+
/* @__PURE__ */ n("span", { className: o["auth-btn-icon"], children: t.icon }),
|
|
50
|
+
/* @__PURE__ */ n("span", { className: o["auth-btn-label"], children: t.label })
|
|
49
51
|
]
|
|
50
52
|
},
|
|
51
53
|
t.key
|
|
@@ -53,5 +55,5 @@ import '../../assets/SignInAuthMethodButtons.css';const f = "SignInAuthMethodBut
|
|
|
53
55
|
] });
|
|
54
56
|
};
|
|
55
57
|
export {
|
|
56
|
-
|
|
58
|
+
S as SignInAuthMethodButtons
|
|
57
59
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { useMemo as f } from "react";
|
|
3
|
-
import { Button as S } from "../Button/index.js";
|
|
3
|
+
import { Button as S } from "../ui/Button/index.js";
|
|
4
4
|
import { IconArrowLeft as d } from "../../icons/IconArrowLeft.js";
|
|
5
5
|
import "../../theme/theme.js";
|
|
6
6
|
import { useSignInContext as B } from "./SignInProvider.js";
|
|
@@ -11,4 +11,4 @@ export interface SignInFormProps extends Omit<HTMLAttributes<HTMLElement>, "chil
|
|
|
11
11
|
Form: ReactNode;
|
|
12
12
|
}) => ReactNode;
|
|
13
13
|
}
|
|
14
|
-
export declare const SignInForm: ({ onSuccess, step: stepFromProps, children }: SignInFormProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export declare const SignInForm: ({ onSuccess, step: stepFromProps, children, ...props }: SignInFormProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,31 +1,37 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { useRef as s, useLayoutEffect as
|
|
3
|
-
import { useAppConfig as
|
|
4
|
-
import { SwitchFadeTransition as
|
|
5
|
-
import { a as
|
|
6
|
-
import { useSignInContext as
|
|
2
|
+
import { useRef as s, useLayoutEffect as g } from "react";
|
|
3
|
+
import { useAppConfig as M } from "../CDPReactProvider/index.js";
|
|
4
|
+
import { SwitchFadeTransition as w } from "../ui/SwitchFadeTransition/index.js";
|
|
5
|
+
import { a as _ } from "../../chunks/index.BzllgVaP.js";
|
|
6
|
+
import { useSignInContext as F } from "./SignInProvider.js";
|
|
7
7
|
import "@coinbase/cdp-hooks";
|
|
8
|
-
import '../../assets/SignInForm.css';const
|
|
8
|
+
import '../../assets/SignInForm.css';const I = {
|
|
9
9
|
"auth-method-wrapper": "SignInForm-module__auth-method-wrapper___uIOAB"
|
|
10
|
-
},
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
}, T = ({
|
|
11
|
+
onSuccess: a,
|
|
12
|
+
step: u,
|
|
13
|
+
children: h,
|
|
14
|
+
...m
|
|
15
|
+
}) => {
|
|
16
|
+
const { state: t } = F(), { authMethods: p } = M(), c = u || t.step, o = s(t.authMethod), r = s(null);
|
|
17
|
+
return g(() => {
|
|
13
18
|
o.current !== t.authMethod && (r.current?.transition.toggle(t.authMethod), o.current = t.authMethod);
|
|
14
19
|
}, [t.authMethod]), /* @__PURE__ */ e(
|
|
15
|
-
|
|
20
|
+
w,
|
|
16
21
|
{
|
|
17
22
|
animateHeight: !0,
|
|
18
23
|
timeout: 250,
|
|
19
|
-
items:
|
|
24
|
+
items: p || ["email"],
|
|
20
25
|
initialEntered: !0,
|
|
21
26
|
transitionRef: r,
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
27
|
+
...m,
|
|
28
|
+
children: ({ itemKey: n, ...d }) => {
|
|
29
|
+
const f = _[n].forms;
|
|
30
|
+
return /* @__PURE__ */ e("div", { ...d, className: I["auth-method-wrapper"], children: /* @__PURE__ */ e(f, { step: c, onSuccess: a, children: ({ step: l, Form: i }) => h?.({ step: l, authMethod: n, Form: i }) || i }) });
|
|
25
31
|
}
|
|
26
32
|
}
|
|
27
33
|
);
|
|
28
34
|
};
|
|
29
35
|
export {
|
|
30
|
-
|
|
36
|
+
T as SignInForm
|
|
31
37
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { SignInFlowProps, SignInTitleAndDescriptionProps, SignInFlowConfig } from '../types';
|
|
2
|
+
export type Step = "email" | "otp";
|
|
2
3
|
export declare const SignInWithEmail: ({ step: stepFromProps, onSuccess, children }: SignInFlowProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
4
|
export declare const SignInWithEmailTitle: ({ step }: SignInTitleAndDescriptionProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
5
|
export declare const SignInWithEmailDescription: ({ step }: SignInTitleAndDescriptionProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,71 +1,88 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as o, jsxs as m, Fragment as a } from "react/jsx-runtime";
|
|
2
2
|
import { useSignInWithEmail as x, useVerifyEmailOTP as y } from "@coinbase/cdp-hooks";
|
|
3
|
-
import { useRef as
|
|
4
|
-
import {
|
|
5
|
-
import "
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
3
|
+
import { useRef as g, useLayoutEffect as D } from "react";
|
|
4
|
+
import { EmailForm as j } from "../../forms/EmailForm/index.js";
|
|
5
|
+
import { OTPForm as L } from "../../forms/OTPForm/index.js";
|
|
6
|
+
import { SwitchSlideTransition as H } from "../../ui/SwitchSlideTransition/index.js";
|
|
7
|
+
import { useEmailForm as M } from "../hooks/useEmailForm.js";
|
|
8
|
+
import { useOTPForm as V } from "../hooks/useOTPForm.js";
|
|
9
|
+
import { SignInCredentials as k } from "../SignInCredentials.js";
|
|
10
|
+
import { useSignInContext as S } from "../SignInProvider.js";
|
|
10
11
|
import "../../CDPReactProvider/index.js";
|
|
11
|
-
const
|
|
12
|
-
const
|
|
12
|
+
const q = ["email", "otp"], z = ({ step: n, onSuccess: s, children: c }) => {
|
|
13
|
+
const l = g(null), h = 6, { state: e } = S(), { signInWithEmail: E } = x(), { verifyEmailOTP: P } = y(), u = n || e.step, i = u === "credentials" ? "email" : "otp", d = g(i), { setEmail: T, submitEmail: f } = M({
|
|
13
14
|
submit: (t) => E({ email: t })
|
|
14
|
-
}), { resendCountdown: O, resetOTP: v, setOTP: I, startResendTimer: b, submitOtp:
|
|
15
|
+
}), { resendCountdown: O, resetOTP: v, setOTP: I, startResendTimer: b, submitOtp: F } = V({
|
|
15
16
|
passwordLength: h,
|
|
16
17
|
submit: (t) => P({ flowId: e.flowId, otp: t })
|
|
17
|
-
}),
|
|
18
|
+
}), p = () => {
|
|
18
19
|
b(60);
|
|
19
20
|
}, R = () => {
|
|
20
|
-
v(),
|
|
21
|
+
v(), f({ email: e.email, onSuccess: p });
|
|
22
|
+
}, w = (t) => {
|
|
23
|
+
t.preventDefault(), f({ email: e.email, onSuccess: p });
|
|
21
24
|
}, W = (t) => {
|
|
22
|
-
t.preventDefault(),
|
|
23
|
-
}, C = (t) => {
|
|
24
|
-
t.preventDefault(), w({ otp: e.otp, onSuccess: s });
|
|
25
|
+
t.preventDefault(), F({ otp: e.otp, onSuccess: s });
|
|
25
26
|
};
|
|
26
27
|
return D(() => {
|
|
27
|
-
|
|
28
|
-
}, [
|
|
29
|
-
|
|
28
|
+
d.current !== i && (l.current?.transition.toggle(i), d.current = i);
|
|
29
|
+
}, [i]), /* @__PURE__ */ o(
|
|
30
|
+
H,
|
|
30
31
|
{
|
|
32
|
+
autoFocus: !0,
|
|
31
33
|
animateHeight: !1,
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
34
|
+
items: q,
|
|
35
|
+
initialEntered: !0,
|
|
36
|
+
direction: i === "otp" ? "left" : "right",
|
|
37
|
+
transitionRef: l,
|
|
38
|
+
children: ({ itemKey: t, ...C }) => {
|
|
39
|
+
let r = null;
|
|
40
|
+
return t === "email" && (r = /* @__PURE__ */ o(
|
|
41
|
+
j,
|
|
42
|
+
{
|
|
43
|
+
email: e.email,
|
|
44
|
+
error: i === "email" && e.error || "",
|
|
45
|
+
isPending: e.isPending,
|
|
46
|
+
onEmailChange: T,
|
|
47
|
+
onSubmit: w
|
|
48
|
+
}
|
|
49
|
+
)), t === "otp" && (r = /* @__PURE__ */ o(
|
|
50
|
+
L,
|
|
51
|
+
{
|
|
52
|
+
canResetOTP: e.canResetOTP,
|
|
53
|
+
error: i === "otp" && e.error || "",
|
|
54
|
+
isPending: e.isPending,
|
|
55
|
+
onOTPChange: I,
|
|
56
|
+
onResendOTP: R,
|
|
57
|
+
onSubmit: W,
|
|
58
|
+
otp: e.otp,
|
|
59
|
+
resendCountdown: O,
|
|
60
|
+
successMessage: e.isSuccess ? "Success!" : void 0
|
|
61
|
+
}
|
|
62
|
+
)), /* @__PURE__ */ o("div", { ...C, children: c ? c({ step: u, Form: r }) : r });
|
|
63
|
+
}
|
|
47
64
|
}
|
|
48
65
|
);
|
|
49
|
-
},
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
] }),
|
|
53
|
-
const { state: s } =
|
|
54
|
-
return /* @__PURE__ */
|
|
55
|
-
|
|
56
|
-
|
|
66
|
+
}, A = ({ step: n }) => /* @__PURE__ */ m(a, { children: [
|
|
67
|
+
n === "credentials" && "Sign in",
|
|
68
|
+
n === "verification" && "Enter verification code"
|
|
69
|
+
] }), B = ({ step: n }) => {
|
|
70
|
+
const { state: s } = S();
|
|
71
|
+
return /* @__PURE__ */ m(a, { children: [
|
|
72
|
+
n === "credentials" && "We’ll send you a verification code via email.",
|
|
73
|
+
n === "verification" && /* @__PURE__ */ m(a, { children: [
|
|
57
74
|
"Enter the 6 digit code sent to ",
|
|
58
|
-
/* @__PURE__ */
|
|
75
|
+
/* @__PURE__ */ o(k, { children: s.email })
|
|
59
76
|
] })
|
|
60
77
|
] });
|
|
61
|
-
},
|
|
62
|
-
description:
|
|
63
|
-
forms:
|
|
64
|
-
title:
|
|
78
|
+
}, ee = {
|
|
79
|
+
description: B,
|
|
80
|
+
forms: z,
|
|
81
|
+
title: A
|
|
65
82
|
};
|
|
66
83
|
export {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
84
|
+
z as SignInWithEmail,
|
|
85
|
+
B as SignInWithEmailDescription,
|
|
86
|
+
A as SignInWithEmailTitle,
|
|
87
|
+
ee as config
|
|
71
88
|
};
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { SignInFlowProps, SignInTitleAndDescriptionProps, SignInFlowConfig } from '../types';
|
|
2
|
+
declare const STEPS: readonly ["phoneNumber", "otp"];
|
|
3
|
+
export type Step = (typeof STEPS)[number];
|
|
2
4
|
export declare const SignInWithSms: ({ step: stepFromProps, onSuccess, children }: SignInFlowProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
5
|
export declare const SignInWithSmsTitle: ({ step }: SignInTitleAndDescriptionProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
6
|
export declare const SignInWithSmsDescription: ({ step }: SignInTitleAndDescriptionProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
7
|
export declare const config: SignInFlowConfig;
|
|
8
|
+
export {};
|