@clerk/ui 0.1.9

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.
@@ -0,0 +1,561 @@
1
+ import { useLocalizations, useAttributes, useDevModeWarning, useCard, Root as Root$1, LOCALIZATION_NEEDED, Content, Header, Logo, Title, Description, GlobalError, Body, UsernameField, PhoneNumberField, EmailField, PasswordField, Actions, Button, CaretRightLegacySm, Footer, FooterAction, FooterActionText, FooterActionLink, useEnabledConnections, useEnvironment, useSignUpAttributes, useDisplayConfig, Connections, EmailOrPhoneNumberField, PenSm, OTPField, LinkButton, Root2, Label, Hint, Input, Animated, Message, parsePhoneString } from '../chunk-GJNJVJGS.mjs';
2
+ import { AppearanceProvider, useAppearance, Separator } from '../chunk-RVVUA25B.mjs';
3
+ import * as SignUp3 from '@clerk/elements/sign-up';
4
+ import { Root } from '@clerk/elements/sign-up';
5
+ import * as Common from '@clerk/elements/common';
6
+ import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
7
+ import { useClerk } from '@clerk/shared/react';
8
+
9
+ function FirstNameField(props) {
10
+ const { t, translateError } = useLocalizations();
11
+ return /* @__PURE__ */ jsx(
12
+ Common.Field,
13
+ {
14
+ name: "firstName",
15
+ asChild: true,
16
+ children: /* @__PURE__ */ jsxs(Root2, { children: [
17
+ /* @__PURE__ */ jsx(Common.Label, { asChild: true, children: /* @__PURE__ */ jsxs(Label, { children: [
18
+ t("formFieldLabel__firstName"),
19
+ " ",
20
+ !(props == null ? void 0 : props.required) ? /* @__PURE__ */ jsx(Hint, { children: t("formFieldHintText__optional") }) : null
21
+ ] }) }),
22
+ /* @__PURE__ */ jsx(Common.FieldState, { children: ({ state }) => {
23
+ return /* @__PURE__ */ jsx(
24
+ Common.Input,
25
+ {
26
+ type: "text",
27
+ ...props,
28
+ asChild: true,
29
+ children: /* @__PURE__ */ jsx(Input, { intent: state })
30
+ }
31
+ );
32
+ } }),
33
+ /* @__PURE__ */ jsx(Animated, { children: /* @__PURE__ */ jsx(Common.FieldError, { asChild: true, children: ({ message, code }) => {
34
+ return /* @__PURE__ */ jsx(Message, { intent: "error", children: translateError({ message, code, name: "first_name" }) });
35
+ } }) })
36
+ ] })
37
+ }
38
+ );
39
+ }
40
+ function LastNameField(props) {
41
+ const { t, translateError } = useLocalizations();
42
+ return /* @__PURE__ */ jsx(
43
+ Common.Field,
44
+ {
45
+ name: "lastName",
46
+ asChild: true,
47
+ children: /* @__PURE__ */ jsxs(Root2, { children: [
48
+ /* @__PURE__ */ jsx(Common.Label, { asChild: true, children: /* @__PURE__ */ jsxs(Label, { children: [
49
+ t("formFieldLabel__lastName"),
50
+ " ",
51
+ !(props == null ? void 0 : props.required) ? /* @__PURE__ */ jsx(Hint, { children: t("formFieldHintText__optional") }) : null
52
+ ] }) }),
53
+ /* @__PURE__ */ jsx(Common.FieldState, { children: ({ state }) => {
54
+ return /* @__PURE__ */ jsx(
55
+ Common.Input,
56
+ {
57
+ type: "text",
58
+ ...props,
59
+ asChild: true,
60
+ children: /* @__PURE__ */ jsx(Input, { intent: state })
61
+ }
62
+ );
63
+ } }),
64
+ /* @__PURE__ */ jsx(Animated, { children: /* @__PURE__ */ jsx(Common.FieldError, { asChild: true, children: ({ message, code }) => {
65
+ return /* @__PURE__ */ jsx(Message, { intent: "error", children: translateError({ message, code, name: "last_name" }) });
66
+ } }) })
67
+ ] })
68
+ }
69
+ );
70
+ }
71
+ function SignUpContinue() {
72
+ const { t } = useLocalizations();
73
+ const { enabled: firstNameEnabled, required: firstNameRequired } = useAttributes("first_name");
74
+ const { enabled: lastNameEnabled, required: lastNameRequired } = useAttributes("last_name");
75
+ const { enabled: usernameEnabled, required: usernameRequired } = useAttributes("username");
76
+ const { enabled: phoneNumberEnabled, required: phoneNumberRequired } = useAttributes("phone_number");
77
+ const { enabled: passwordEnabled, required: passwordRequired } = useAttributes("password");
78
+ const isDev = useDevModeWarning();
79
+ const { logoProps, footerProps } = useCard();
80
+ return /* @__PURE__ */ jsx(Common.Loading, { scope: "global", children: (isGlobalLoading) => {
81
+ return /* @__PURE__ */ jsx(
82
+ SignUp3.Step,
83
+ {
84
+ asChild: true,
85
+ name: "continue",
86
+ children: /* @__PURE__ */ jsxs(
87
+ Root$1,
88
+ {
89
+ as: "form",
90
+ banner: isDev ? LOCALIZATION_NEEDED.developmentMode : null,
91
+ children: [
92
+ /* @__PURE__ */ jsxs(Content, { children: [
93
+ /* @__PURE__ */ jsxs(Header, { children: [
94
+ /* @__PURE__ */ jsx(Logo, { ...logoProps }),
95
+ /* @__PURE__ */ jsx(Title, { children: t("signUp.continue.title") }),
96
+ /* @__PURE__ */ jsx(Description, { children: t("signUp.continue.subtitle") })
97
+ ] }),
98
+ /* @__PURE__ */ jsx(GlobalError, {}),
99
+ /* @__PURE__ */ jsx(Body, { children: /* @__PURE__ */ jsxs("div", { className: "cl-254f463f", children: [
100
+ firstNameEnabled && lastNameEnabled ? /* @__PURE__ */ jsxs("div", { className: "cl-e1e451e8", children: [
101
+ /* @__PURE__ */ jsx(
102
+ FirstNameField,
103
+ {
104
+ required: firstNameRequired,
105
+ disabled: isGlobalLoading
106
+ }
107
+ ),
108
+ /* @__PURE__ */ jsx(
109
+ LastNameField,
110
+ {
111
+ required: lastNameRequired,
112
+ disabled: isGlobalLoading
113
+ }
114
+ )
115
+ ] }) : null,
116
+ usernameEnabled ? /* @__PURE__ */ jsx(
117
+ UsernameField,
118
+ {
119
+ required: usernameRequired,
120
+ disabled: isGlobalLoading
121
+ }
122
+ ) : null,
123
+ phoneNumberEnabled ? /* @__PURE__ */ jsx(
124
+ PhoneNumberField,
125
+ {
126
+ required: phoneNumberRequired,
127
+ disabled: isGlobalLoading
128
+ }
129
+ ) : null,
130
+ /* @__PURE__ */ jsx(EmailField, { disabled: isGlobalLoading }),
131
+ passwordEnabled && passwordRequired ? /* @__PURE__ */ jsx(
132
+ PasswordField,
133
+ {
134
+ validatePassword: true,
135
+ label: t("formFieldLabel__password"),
136
+ required: passwordRequired,
137
+ disabled: isGlobalLoading
138
+ }
139
+ ) : null
140
+ ] }) }),
141
+ /* @__PURE__ */ jsx(Actions, { children: /* @__PURE__ */ jsx(Common.Loading, { scope: "submit", children: (isSubmitting) => {
142
+ return /* @__PURE__ */ jsx(
143
+ SignUp3.Action,
144
+ {
145
+ submit: true,
146
+ asChild: true,
147
+ children: /* @__PURE__ */ jsx(
148
+ Button,
149
+ {
150
+ busy: isSubmitting,
151
+ disabled: isGlobalLoading,
152
+ iconEnd: /* @__PURE__ */ jsx(CaretRightLegacySm, {}),
153
+ children: t("formButtonPrimary")
154
+ }
155
+ )
156
+ }
157
+ );
158
+ } }) })
159
+ ] }),
160
+ /* @__PURE__ */ jsx(Footer, { ...footerProps, children: /* @__PURE__ */ jsx(FooterAction, { children: /* @__PURE__ */ jsxs(FooterActionText, { children: [
161
+ t("signUp.continue.actionText"),
162
+ " ",
163
+ /* @__PURE__ */ jsx(FooterActionLink, { href: "/sign-in", children: t("signUp.continue.actionLink") })
164
+ ] }) }) })
165
+ ]
166
+ }
167
+ )
168
+ }
169
+ );
170
+ } });
171
+ }
172
+ function SignUpStart() {
173
+ const clerk = useClerk();
174
+ const enabledConnections = useEnabledConnections();
175
+ const { userSettings } = useEnvironment();
176
+ const { t } = useLocalizations();
177
+ const { required: firstNameRequired, show: showFirstName } = useSignUpAttributes("first_name");
178
+ const { required: lastNameRequired, show: showLastName } = useSignUpAttributes("last_name");
179
+ const { enabled: usernameEnabled, required: usernameRequired, show: showUserName } = useSignUpAttributes("username");
180
+ const {
181
+ enabled: phoneNumberEnabled,
182
+ required: phoneNumberRequired,
183
+ show: showPhoneNumber
184
+ } = useSignUpAttributes("phone_number");
185
+ const {
186
+ enabled: emailAddressEnabled,
187
+ required: emailAddressRequired,
188
+ show: showEmailAddress
189
+ } = useSignUpAttributes("email_address");
190
+ const { required: passwordRequired, show: showPassword } = useSignUpAttributes("password");
191
+ const { applicationName } = useDisplayConfig();
192
+ const hasConnection = enabledConnections.length > 0;
193
+ const hasIdentifier = emailAddressEnabled || usernameEnabled || phoneNumberEnabled;
194
+ const isDev = useDevModeWarning();
195
+ const { options } = useAppearance().parsedAppearance;
196
+ const { logoProps, footerProps } = useCard();
197
+ return /* @__PURE__ */ jsx(Common.Loading, { scope: "global", children: (isGlobalLoading) => {
198
+ const connectionsWithSeperator = [
199
+ /* @__PURE__ */ jsx(
200
+ Connections,
201
+ {
202
+ disabled: isGlobalLoading
203
+ },
204
+ "connections"
205
+ ),
206
+ hasConnection && hasIdentifier ? /* @__PURE__ */ jsx(Separator, { children: t("dividerText") }, "separator") : null
207
+ ];
208
+ return /* @__PURE__ */ jsx(
209
+ SignUp3.Step,
210
+ {
211
+ asChild: true,
212
+ name: "start",
213
+ children: /* @__PURE__ */ jsxs(
214
+ Root$1,
215
+ {
216
+ as: "form",
217
+ banner: isDev ? LOCALIZATION_NEEDED.developmentMode : null,
218
+ children: [
219
+ /* @__PURE__ */ jsxs(Content, { children: [
220
+ /* @__PURE__ */ jsxs(Header, { children: [
221
+ /* @__PURE__ */ jsx(Logo, { ...logoProps }),
222
+ /* @__PURE__ */ jsx(Title, { children: t("signUp.start.title") }),
223
+ /* @__PURE__ */ jsx(Description, { children: t("signUp.start.subtitle", {
224
+ applicationName
225
+ }) })
226
+ ] }),
227
+ /* @__PURE__ */ jsx(GlobalError, {}),
228
+ /* @__PURE__ */ jsxs(Body, { children: [
229
+ options.socialButtonsPlacement === "top" ? connectionsWithSeperator : null,
230
+ hasIdentifier ? /* @__PURE__ */ jsxs("div", { className: "cl-7147c693", children: [
231
+ showFirstName && showLastName ? /* @__PURE__ */ jsxs("div", { className: "cl-8a585078", children: [
232
+ /* @__PURE__ */ jsx(
233
+ FirstNameField,
234
+ {
235
+ required: firstNameRequired,
236
+ disabled: isGlobalLoading
237
+ }
238
+ ),
239
+ /* @__PURE__ */ jsx(
240
+ LastNameField,
241
+ {
242
+ required: lastNameRequired,
243
+ disabled: isGlobalLoading
244
+ }
245
+ )
246
+ ] }) : null,
247
+ showUserName ? /* @__PURE__ */ jsx(
248
+ UsernameField,
249
+ {
250
+ required: usernameRequired,
251
+ disabled: isGlobalLoading
252
+ }
253
+ ) : null,
254
+ emailAddressEnabled && !emailAddressRequired && phoneNumberEnabled && !phoneNumberRequired ? /* @__PURE__ */ jsx(
255
+ EmailOrPhoneNumberField,
256
+ {
257
+ toggleLabelEmail: t("signUp.start.actionLink__use_email"),
258
+ toggleLabelPhoneNumber: t("signUp.start.actionLink__use_phone")
259
+ }
260
+ ) : /* @__PURE__ */ jsxs(Fragment, { children: [
261
+ showEmailAddress ? /* @__PURE__ */ jsx(EmailField, { disabled: isGlobalLoading }) : null,
262
+ showPhoneNumber ? /* @__PURE__ */ jsx(
263
+ PhoneNumberField,
264
+ {
265
+ required: phoneNumberRequired,
266
+ disabled: isGlobalLoading,
267
+ initPhoneWithCode: clerk.client.signUp.phoneNumber || ""
268
+ }
269
+ ) : null
270
+ ] }),
271
+ showPassword ? /* @__PURE__ */ jsx(
272
+ PasswordField,
273
+ {
274
+ validatePassword: true,
275
+ label: t("formFieldLabel__password"),
276
+ required: passwordRequired,
277
+ disabled: isGlobalLoading
278
+ }
279
+ ) : null
280
+ ] }) : null,
281
+ options.socialButtonsPlacement === "bottom" ? connectionsWithSeperator.reverse() : null,
282
+ userSettings.signUp.captcha_enabled ? /* @__PURE__ */ jsx(SignUp3.Captcha, { className: "cl-7a09f230" }) : null
283
+ ] }),
284
+ hasConnection || hasIdentifier ? /* @__PURE__ */ jsx(Actions, { children: /* @__PURE__ */ jsx(Common.Loading, { scope: "submit", children: (isSubmitting) => {
285
+ return /* @__PURE__ */ jsx(
286
+ SignUp3.Action,
287
+ {
288
+ submit: true,
289
+ asChild: true,
290
+ children: /* @__PURE__ */ jsx(
291
+ Button,
292
+ {
293
+ busy: isSubmitting,
294
+ disabled: isGlobalLoading,
295
+ iconEnd: /* @__PURE__ */ jsx(CaretRightLegacySm, {}),
296
+ children: t("formButtonPrimary")
297
+ }
298
+ )
299
+ }
300
+ );
301
+ } }) }) : null
302
+ ] }),
303
+ /* @__PURE__ */ jsx(Footer, { ...footerProps, children: /* @__PURE__ */ jsx(FooterAction, { children: /* @__PURE__ */ jsxs(FooterActionText, { children: [
304
+ t("signUp.start.actionText"),
305
+ " ",
306
+ /* @__PURE__ */ jsx(FooterActionLink, { href: "/sign-in", children: t("signUp.start.actionLink") })
307
+ ] }) }) })
308
+ ]
309
+ }
310
+ )
311
+ }
312
+ );
313
+ } });
314
+ }
315
+ function SignUpIdentifier({ emailAddress, phoneNumber }) {
316
+ const { client } = useClerk();
317
+ if (emailAddress) {
318
+ return /* @__PURE__ */ jsx("span", { children: client.signUp.emailAddress });
319
+ }
320
+ if (phoneNumber) {
321
+ const { formattedNumberWithCode } = parsePhoneString(client.signUp.phoneNumber || "");
322
+ return /* @__PURE__ */ jsx("span", { children: formattedNumberWithCode });
323
+ }
324
+ return null;
325
+ }
326
+ function SignUpVerifications() {
327
+ const { t } = useLocalizations();
328
+ const { applicationName } = useDisplayConfig();
329
+ const isDev = useDevModeWarning();
330
+ const { logoProps, footerProps } = useCard();
331
+ return /* @__PURE__ */ jsx(Common.Loading, { scope: "global", children: (isGlobalLoading) => {
332
+ return /* @__PURE__ */ jsx(
333
+ SignUp3.Step,
334
+ {
335
+ asChild: true,
336
+ name: "verifications",
337
+ children: /* @__PURE__ */ jsxs(
338
+ Root$1,
339
+ {
340
+ as: "form",
341
+ banner: isDev ? LOCALIZATION_NEEDED.developmentMode : null,
342
+ children: [
343
+ /* @__PURE__ */ jsxs(Content, { children: [
344
+ /* @__PURE__ */ jsxs(SignUp3.Strategy, { name: "phone_code", children: [
345
+ /* @__PURE__ */ jsxs(Header, { children: [
346
+ /* @__PURE__ */ jsx(Logo, { ...logoProps }),
347
+ /* @__PURE__ */ jsx(Title, { children: t("signUp.phoneCode.title") }),
348
+ /* @__PURE__ */ jsx(Description, { children: t("signUp.phoneCode.subtitle") }),
349
+ /* @__PURE__ */ jsx(Description, { children: /* @__PURE__ */ jsxs("span", { className: "cl-6cb778e1", children: [
350
+ /* @__PURE__ */ jsx(SignUpIdentifier, { phoneNumber: true }),
351
+ /* @__PURE__ */ jsx(
352
+ SignUp3.Action,
353
+ {
354
+ navigate: "start",
355
+ asChild: true,
356
+ children: /* @__PURE__ */ jsx(
357
+ "button",
358
+ {
359
+ type: "button",
360
+ className: "cl-0f165050",
361
+ "aria-label": "Start again",
362
+ children: /* @__PURE__ */ jsx(PenSm, {})
363
+ }
364
+ )
365
+ }
366
+ )
367
+ ] }) })
368
+ ] }),
369
+ /* @__PURE__ */ jsx(GlobalError, {}),
370
+ /* @__PURE__ */ jsx(Body, { children: /* @__PURE__ */ jsx(
371
+ OTPField,
372
+ {
373
+ label: t("signUp.phoneCode.formTitle"),
374
+ disabled: isGlobalLoading,
375
+ resend: /* @__PURE__ */ jsx(
376
+ SignUp3.Action,
377
+ {
378
+ asChild: true,
379
+ resend: true,
380
+ fallback: ({ resendableAfter }) => /* @__PURE__ */ jsxs(
381
+ LinkButton,
382
+ {
383
+ type: "button",
384
+ disabled: true,
385
+ children: [
386
+ t("signUp.phoneCode.resendButton"),
387
+ " (",
388
+ /* @__PURE__ */ jsx("span", { className: "cl-ba2d0eea", children: resendableAfter }),
389
+ ")"
390
+ ]
391
+ }
392
+ ),
393
+ children: /* @__PURE__ */ jsx(LinkButton, { type: "button", children: t("signUp.phoneCode.resendButton") })
394
+ }
395
+ )
396
+ }
397
+ ) }),
398
+ /* @__PURE__ */ jsx(Actions, { children: /* @__PURE__ */ jsx(Common.Loading, { scope: "submit", children: (isSubmitting) => {
399
+ return /* @__PURE__ */ jsx(
400
+ SignUp3.Action,
401
+ {
402
+ submit: true,
403
+ asChild: true,
404
+ children: /* @__PURE__ */ jsx(
405
+ Button,
406
+ {
407
+ busy: isSubmitting,
408
+ disabled: isGlobalLoading,
409
+ iconEnd: /* @__PURE__ */ jsx(CaretRightLegacySm, {}),
410
+ children: t("formButtonPrimary")
411
+ }
412
+ )
413
+ }
414
+ );
415
+ } }) })
416
+ ] }),
417
+ /* @__PURE__ */ jsxs(SignUp3.Strategy, { name: "email_code", children: [
418
+ /* @__PURE__ */ jsxs(Header, { children: [
419
+ /* @__PURE__ */ jsx(Logo, { ...logoProps }),
420
+ /* @__PURE__ */ jsx(Title, { children: t("signUp.emailCode.title") }),
421
+ /* @__PURE__ */ jsx(Description, { children: t("signUp.emailCode.subtitle") }),
422
+ /* @__PURE__ */ jsx(Description, { children: /* @__PURE__ */ jsxs("span", { className: "cl-6cb778e1", children: [
423
+ /* @__PURE__ */ jsx(SignUpIdentifier, { emailAddress: true }),
424
+ /* @__PURE__ */ jsx(
425
+ SignUp3.Action,
426
+ {
427
+ navigate: "start",
428
+ asChild: true,
429
+ children: /* @__PURE__ */ jsx(
430
+ "button",
431
+ {
432
+ type: "button",
433
+ className: "cl-0f165050",
434
+ "aria-label": "Start again",
435
+ children: /* @__PURE__ */ jsx(PenSm, {})
436
+ }
437
+ )
438
+ }
439
+ )
440
+ ] }) })
441
+ ] }),
442
+ /* @__PURE__ */ jsx(GlobalError, {}),
443
+ /* @__PURE__ */ jsx(Body, { children: /* @__PURE__ */ jsx(
444
+ OTPField,
445
+ {
446
+ label: t("signUp.emailCode.formTitle"),
447
+ disabled: isGlobalLoading,
448
+ resend: /* @__PURE__ */ jsx(
449
+ SignUp3.Action,
450
+ {
451
+ asChild: true,
452
+ resend: true,
453
+ fallback: ({ resendableAfter }) => /* @__PURE__ */ jsxs(
454
+ LinkButton,
455
+ {
456
+ type: "button",
457
+ disabled: true,
458
+ children: [
459
+ t("signUp.emailCode.resendButton"),
460
+ " (",
461
+ /* @__PURE__ */ jsx("span", { className: "cl-ba2d0eea", children: resendableAfter }),
462
+ ")"
463
+ ]
464
+ }
465
+ ),
466
+ children: /* @__PURE__ */ jsx(LinkButton, { type: "button", children: t("signUp.emailCode.resendButton") })
467
+ }
468
+ )
469
+ }
470
+ ) }),
471
+ /* @__PURE__ */ jsx(Actions, { children: /* @__PURE__ */ jsx(Common.Loading, { scope: "submit", children: (isSubmitting) => {
472
+ return /* @__PURE__ */ jsx(
473
+ SignUp3.Action,
474
+ {
475
+ submit: true,
476
+ asChild: true,
477
+ children: /* @__PURE__ */ jsx(
478
+ Button,
479
+ {
480
+ busy: isSubmitting,
481
+ disabled: isGlobalLoading,
482
+ iconEnd: /* @__PURE__ */ jsx(CaretRightLegacySm, {}),
483
+ children: t("formButtonPrimary")
484
+ }
485
+ )
486
+ }
487
+ );
488
+ } }) })
489
+ ] }),
490
+ /* @__PURE__ */ jsxs(SignUp3.Strategy, { name: "email_link", children: [
491
+ /* @__PURE__ */ jsxs(Header, { children: [
492
+ /* @__PURE__ */ jsx(Logo, { ...logoProps }),
493
+ /* @__PURE__ */ jsx(Title, { children: t("signUp.emailLink.title") }),
494
+ /* @__PURE__ */ jsx(Description, { children: t("signUp.emailLink.subtitle", {
495
+ applicationName
496
+ }) }),
497
+ /* @__PURE__ */ jsx(Description, { children: /* @__PURE__ */ jsxs("span", { className: "cl-6cb778e1", children: [
498
+ /* @__PURE__ */ jsx(SignUpIdentifier, { emailAddress: true }),
499
+ /* @__PURE__ */ jsx(
500
+ SignUp3.Action,
501
+ {
502
+ navigate: "start",
503
+ asChild: true,
504
+ children: /* @__PURE__ */ jsx(
505
+ "button",
506
+ {
507
+ type: "button",
508
+ className: "cl-0f165050",
509
+ "aria-label": "Start again",
510
+ children: /* @__PURE__ */ jsx(PenSm, {})
511
+ }
512
+ )
513
+ }
514
+ )
515
+ ] }) })
516
+ ] }),
517
+ /* @__PURE__ */ jsx(GlobalError, {}),
518
+ /* @__PURE__ */ jsx(Body, { children: /* @__PURE__ */ jsx(
519
+ SignUp3.Action,
520
+ {
521
+ resend: true,
522
+ asChild: true,
523
+ fallback: ({ resendableAfter }) => {
524
+ return /* @__PURE__ */ jsxs(
525
+ LinkButton,
526
+ {
527
+ type: "button",
528
+ disabled: true,
529
+ children: [
530
+ t("signUp.emailLink.resendButton"),
531
+ "(",
532
+ /* @__PURE__ */ jsx("span", { className: "cl-ba2d0eea", children: resendableAfter }),
533
+ ")"
534
+ ]
535
+ }
536
+ );
537
+ },
538
+ children: /* @__PURE__ */ jsx(LinkButton, { type: "button", children: t("signUp.emailLink.resendButton") })
539
+ }
540
+ ) })
541
+ ] })
542
+ ] }),
543
+ /* @__PURE__ */ jsx(Footer, { ...footerProps })
544
+ ]
545
+ }
546
+ )
547
+ }
548
+ );
549
+ } });
550
+ }
551
+ function SignUp4({ appearance, ...props }) {
552
+ return /* @__PURE__ */ jsx(AppearanceProvider, { appearance, children: /* @__PURE__ */ jsxs(Root, { ...props, children: [
553
+ /* @__PURE__ */ jsx(SignUpStart, {}),
554
+ /* @__PURE__ */ jsx(SignUpVerifications, {}),
555
+ /* @__PURE__ */ jsx(SignUpContinue, {})
556
+ ] }) });
557
+ }
558
+
559
+ export { SignUp4 as SignUp };
560
+ //# sourceMappingURL=out.js.map
561
+ //# sourceMappingURL=sign-up.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/components/sign-up/sign-up.tsx","../../src/components/sign-up/steps/continue.tsx","../../src/common/first-name-field.tsx","../../src/common/last-name-field.tsx","../../src/components/sign-up/steps/start.tsx","../../src/components/sign-up/steps/verifications.tsx"],"names":["Common","Root","jsx","jsxs","SignUp","useClerk"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,SAAS,QAAQ,kBAAkB;;;ACAnC,YAAYA,aAAY;AACxB,YAAY,YAAY;;;ACDxB,YAAY,YAAY;AAiBd,SAEsB,KAFtB;AAVH,SAAS,eAAe,OAAgE;AAC7F,QAAM,EAAE,GAAG,eAAe,IAAI,iBAAiB;AAE/C,SACE;AAAA,IAAQ;AAAA,IAAP;AAAA,MACC,MAAK;AAAA,MACL,SAAO;AAAA,MAEP,+BAAOC,OAAN,EACC;AAAA,4BAAQ,cAAP,EAAa,SAAO,MACnB,+BAAO,OAAN,EACE;AAAA,YAAE,2BAA2B;AAAA,U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;AAAA,0BACT,SAAO;AAAA,0BAEP,0BAAAA;AAAA,4BAAC;AAAA;AAAA,8BACC,MAAK;AAAA,8BACL,WAAU;AAAA,8BACV,cAAW;AAAA,8BAEX,0BAAAA,KAAC,SAAM;AAAA;AAAA,0BACT;AAAA;AAAA,sBACF;AAAA,uBACF,GACF;AAAA,qBACF;AAAA,kBAEA,gBAAAA,KAAC,eAAY;AAAA,kBAEb,gBAAAA,KAAM,MAAL,EACC,0BAAAA;AAAA,oBAAQ;AAAA,oBAAP;AAAA,sBACC,QAAM;AAAA,sBACN,SAAO;AAAA,sBAEP,UAAU,CAAC,EAAE,gBAAgB,MAAM;AACjC,+BACG,gBAAAC;AAAA,0BAAC;AAAA;AAAA,4BACA,MAAK;AAAA,4BACL,UAAQ;AAAA,4BAEP;AAAA,gCAAE,+BAA+B;AAAA,8BAAE;AAAA,8BAAC,gBAAAD,KAAC,UAAK,WAAU,eAAe,2BAAgB;AAAA,8BAAO;AAAA;AAAA;AAAA,wBAAC;AAAA,sBAElG;AAAA,sBAEA,0BAAAA,KAAC,cAAW,MAAK,UAAU,YAAE,+BAA+B,GAAE;AAAA;AAAA,kBAChE,GACF;AAAA,mBACF;AAAA,iBACF;AAAA,cACA,gBAAAA,KAAM,QAAL,EAAa,GAAG,aAAa;AAAA;AAAA;AAAA,QAChC;AAAA;AAAA,IACF;AAAA,EAEJ,GACF;AAEJ;;;ALhQM,SACE,OAAAA,MADF,QAAAC,aAAA;AAHC,SAASC,QAAO,EAAE,YAAY,GAAG,MAAM,GAA8C;AAC1F,SACE,gBAAAF,KAAC,sBAAmB,YAClB,0BAAAC,MAAC,cAAY,GAAG,OACd;AAAA,oBAAAD,KAAC,eAAY;AAAA,IACb,gBAAAA,KAAC,uBAAoB;AAAA,IACrB,gBAAAA,KAAC,kBAAe;AAAA,KAElB,GACF;AAEJ","sourcesContent":["import { Root as SignUpRoot } from '@clerk/elements/sign-up';\nimport type { SignUpProps } from '@clerk/types';\n\nimport { SignUpContinue } from '~/components/sign-up/steps/continue';\nimport { SignUpStart } from '~/components/sign-up/steps/start';\n// import { SignUpStatus } from '~/components/sign-up/steps/status';\nimport { SignUpVerifications } from '~/components/sign-up/steps/verifications';\nimport { type Appearance, AppearanceProvider } from '~/contexts';\n\nexport function SignUp({ appearance, ...props }: { appearance?: Appearance } & SignUpProps) {\n return (\n <AppearanceProvider appearance={appearance}>\n <SignUpRoot {...props}>\n <SignUpStart />\n <SignUpVerifications />\n <SignUpContinue />\n {/* <SignUpStatus /> */}\n </SignUpRoot>\n </AppearanceProvider>\n );\n}\n","import * as Common from '@clerk/elements/common';\nimport * as SignUp from '@clerk/elements/sign-up';\n\nimport { EmailField } from '~/common/email-field';\nimport { FirstNameField } from '~/common/first-name-field';\nimport { GlobalError } from '~/common/global-error';\nimport { LastNameField } from '~/common/last-name-field';\nimport { PasswordField } from '~/common/password-field';\nimport { PhoneNumberField } from '~/common/phone-number-field';\nimport { UsernameField } from '~/common/username-field';\nimport { LOCALIZATION_NEEDED } from '~/constants/localizations';\nimport { useAttributes } from '~/hooks/use-attributes';\nimport { useCard } from '~/hooks/use-card';\nimport { useDevModeWarning } from '~/hooks/use-dev-mode-warning';\nimport { useLocalizations } from '~/hooks/use-localizations';\nimport { Button } from '~/primitives/button';\nimport * as Card from '~/primitives/card';\nimport CaretRightLegacySm from '~/primitives/icons/caret-right-legacy-sm';\n\nexport function SignUpContinue() {\n const { t } = useLocalizations();\n const { enabled: firstNameEnabled, required: firstNameRequired } = useAttributes('first_name');\n const { enabled: lastNameEnabled, required: lastNameRequired } = useAttributes('last_name');\n const { enabled: usernameEnabled, required: usernameRequired } = useAttributes('username');\n const { enabled: phoneNumberEnabled, required: phoneNumberRequired } = useAttributes('phone_number');\n const { enabled: passwordEnabled, required: passwordRequired } = useAttributes('password');\n const isDev = useDevModeWarning();\n const { logoProps, footerProps } = useCard();\n\n return (\n (<Common.Loading scope='global'>\n {isGlobalLoading => {\n return (\n (<SignUp.Step\n asChild\n name='continue'\n >\n <Card.Root\n as='form'\n banner={isDev ? LOCALIZATION_NEEDED.developmentMode : null}\n >\n <Card.Content>\n <Card.Header>\n <Card.Logo {...logoProps} />\n <Card.Title>{t('signUp.continue.title')}</Card.Title>\n <Card.Description>{t('signUp.continue.subtitle')}</Card.Description>\n </Card.Header>\n\n <GlobalError />\n\n <Card.Body>\n <div className=\"cl-254f463f\">\n {firstNameEnabled && lastNameEnabled ? (\n <div className=\"cl-e1e451e8\">\n <FirstNameField\n required={firstNameRequired}\n disabled={isGlobalLoading}\n />\n <LastNameField\n required={lastNameRequired}\n disabled={isGlobalLoading}\n />\n </div>\n ) : null}\n\n {usernameEnabled ? (\n <UsernameField\n required={usernameRequired}\n disabled={isGlobalLoading}\n />\n ) : null}\n\n {phoneNumberEnabled ? (\n <PhoneNumberField\n required={phoneNumberRequired}\n disabled={isGlobalLoading}\n />\n ) : null}\n\n <EmailField disabled={isGlobalLoading} />\n\n {passwordEnabled && passwordRequired ? (\n <PasswordField\n validatePassword\n label={t('formFieldLabel__password')}\n required={passwordRequired}\n disabled={isGlobalLoading}\n />\n ) : null}\n </div>\n </Card.Body>\n <Card.Actions>\n <Common.Loading scope='submit'>\n {isSubmitting => {\n return (\n <SignUp.Action\n submit\n asChild\n >\n <Button\n busy={isSubmitting}\n disabled={isGlobalLoading}\n iconEnd={<CaretRightLegacySm />}\n >\n {t('formButtonPrimary')}\n </Button>\n </SignUp.Action>\n );\n }}\n </Common.Loading>\n </Card.Actions>\n </Card.Content>\n <Card.Footer {...footerProps}>\n <Card.FooterAction>\n <Card.FooterActionText>\n {t('signUp.continue.actionText')}{' '}\n <Card.FooterActionLink href='/sign-in'>{t('signUp.continue.actionLink')}</Card.FooterActionLink>\n </Card.FooterActionText>\n </Card.FooterAction>\n </Card.Footer>\n </Card.Root>\n </SignUp.Step>)\n );\n }}\n </Common.Loading>)\n );\n}\n","import * as Common from '@clerk/elements/common';\nimport React from 'react';\n\nimport { useLocalizations } from '~/hooks/use-localizations';\nimport { Animated } from '~/primitives/animated';\nimport * as Field from '~/primitives/field';\n\nexport function FirstNameField(props: Omit<React.ComponentProps<typeof Common.Input>, 'type'>) {\n const { t, translateError } = useLocalizations();\n\n return (\n <Common.Field\n name='firstName'\n asChild\n >\n <Field.Root>\n <Common.Label asChild>\n <Field.Label>\n {t('formFieldLabel__firstName')}{' '}\n {!props?.required ? <Field.Hint>{t('formFieldHintText__optional')}</Field.Hint> : null}\n </Field.Label>\n </Common.Label>\n <Common.FieldState>\n {({ state }) => {\n return (\n <Common.Input\n type='text'\n {...props}\n asChild\n >\n <Field.Input intent={state} />\n </Common.Input>\n );\n }}\n </Common.FieldState>\n <Animated>\n <Common.FieldError asChild>\n {({ message, code }) => {\n return (\n <Field.Message intent='error'>{translateError({ message, code, name: 'first_name' })}</Field.Message>\n );\n }}\n </Common.FieldError>\n </Animated>\n </Field.Root>\n </Common.Field>\n );\n}\n","import * as Common from '@clerk/elements/common';\nimport React from 'react';\n\nimport { useLocalizations } from '~/hooks/use-localizations';\nimport { Animated } from '~/primitives/animated';\nimport * as Field from '~/primitives/field';\n\nexport function LastNameField(props: Omit<React.ComponentProps<typeof Common.Input>, 'type'>) {\n const { t, translateError } = useLocalizations();\n\n return (\n <Common.Field\n name='lastName'\n asChild\n >\n <Field.Root>\n <Common.Label asChild>\n <Field.Label>\n {t('formFieldLabel__lastName')}{' '}\n {!props?.required ? <Field.Hint>{t('formFieldHintText__optional')}</Field.Hint> : null}\n </Field.Label>\n </Common.Label>\n <Common.FieldState>\n {({ state }) => {\n return (\n <Common.Input\n type='text'\n {...props}\n asChild\n >\n <Field.Input intent={state} />\n </Common.Input>\n );\n }}\n </Common.FieldState>\n <Animated>\n <Common.FieldError asChild>\n {({ message, code }) => {\n return (\n <Field.Message intent='error'>{translateError({ message, code, name: 'last_name' })}</Field.Message>\n );\n }}\n </Common.FieldError>\n </Animated>\n </Field.Root>\n </Common.Field>\n );\n}\n","import * as Common from '@clerk/elements/common';\nimport * as SignUp from '@clerk/elements/sign-up';\nimport { useClerk } from '@clerk/shared/react';\n\nimport { Connections } from '~/common/connections';\nimport { EmailField } from '~/common/email-field';\nimport { EmailOrPhoneNumberField } from '~/common/email-or-phone-number-field';\nimport { FirstNameField } from '~/common/first-name-field';\nimport { GlobalError } from '~/common/global-error';\nimport { LastNameField } from '~/common/last-name-field';\nimport { PasswordField } from '~/common/password-field';\nimport { PhoneNumberField } from '~/common/phone-number-field';\nimport { UsernameField } from '~/common/username-field';\nimport { LOCALIZATION_NEEDED } from '~/constants/localizations';\nimport { useAppearance } from '~/contexts';\nimport { useSignUpAttributes } from '~/hooks/use-attributes';\nimport { useCard } from '~/hooks/use-card';\nimport { useDevModeWarning } from '~/hooks/use-dev-mode-warning';\nimport { useDisplayConfig } from '~/hooks/use-display-config';\nimport { useEnabledConnections } from '~/hooks/use-enabled-connections';\nimport { useEnvironment } from '~/hooks/use-environment';\nimport { useLocalizations } from '~/hooks/use-localizations';\nimport { Button } from '~/primitives/button';\nimport * as Card from '~/primitives/card';\nimport CaretRightLegacySm from '~/primitives/icons/caret-right-legacy-sm';\nimport { Separator } from '~/primitives/separator';\n\nexport function SignUpStart() {\n const clerk = useClerk();\n const enabledConnections = useEnabledConnections();\n const { userSettings } = useEnvironment();\n const { t } = useLocalizations();\n const { required: firstNameRequired, show: showFirstName } = useSignUpAttributes('first_name');\n const { required: lastNameRequired, show: showLastName } = useSignUpAttributes('last_name');\n const { enabled: usernameEnabled, required: usernameRequired, show: showUserName } = useSignUpAttributes('username');\n const {\n enabled: phoneNumberEnabled,\n required: phoneNumberRequired,\n show: showPhoneNumber,\n } = useSignUpAttributes('phone_number');\n const {\n enabled: emailAddressEnabled,\n required: emailAddressRequired,\n show: showEmailAddress,\n } = useSignUpAttributes('email_address');\n const { required: passwordRequired, show: showPassword } = useSignUpAttributes('password');\n const { applicationName } = useDisplayConfig();\n\n const hasConnection = enabledConnections.length > 0;\n const hasIdentifier = emailAddressEnabled || usernameEnabled || phoneNumberEnabled;\n const isDev = useDevModeWarning();\n const { options } = useAppearance().parsedAppearance;\n const { logoProps, footerProps } = useCard();\n\n return (\n (<Common.Loading scope='global'>\n {isGlobalLoading => {\n const connectionsWithSeperator = [\n <Connections\n key='connections'\n disabled={isGlobalLoading}\n />,\n hasConnection && hasIdentifier ? <Separator key='separator'>{t('dividerText')}</Separator> : null,\n ];\n return (\n (<SignUp.Step\n asChild\n name='start'\n >\n <Card.Root\n as='form'\n banner={isDev ? LOCALIZATION_NEEDED.developmentMode : null}\n >\n <Card.Content>\n <Card.Header>\n <Card.Logo {...logoProps} />\n <Card.Title>{t('signUp.start.title')}</Card.Title>\n <Card.Description>\n {t('signUp.start.subtitle', {\n applicationName,\n })}\n </Card.Description>\n </Card.Header>\n\n <GlobalError />\n\n <Card.Body>\n {options.socialButtonsPlacement === 'top' ? connectionsWithSeperator : null}\n\n {hasIdentifier ? (\n <div className=\"cl-7147c693\">\n {showFirstName && showLastName ? (\n <div className=\"cl-8a585078\">\n <FirstNameField\n required={firstNameRequired}\n disabled={isGlobalLoading}\n />\n <LastNameField\n required={lastNameRequired}\n disabled={isGlobalLoading}\n />\n </div>\n ) : null}\n\n {showUserName ? (\n <UsernameField\n required={usernameRequired}\n disabled={isGlobalLoading}\n />\n ) : null}\n\n {emailAddressEnabled && !emailAddressRequired && phoneNumberEnabled && !phoneNumberRequired ? (\n <EmailOrPhoneNumberField\n toggleLabelEmail={t('signUp.start.actionLink__use_email')}\n toggleLabelPhoneNumber={t('signUp.start.actionLink__use_phone')}\n />\n ) : (\n <>\n {showEmailAddress ? <EmailField disabled={isGlobalLoading} /> : null}\n\n {showPhoneNumber ? (\n <PhoneNumberField\n required={phoneNumberRequired}\n disabled={isGlobalLoading}\n initPhoneWithCode={clerk.client.signUp.phoneNumber || ''}\n />\n ) : null}\n </>\n )}\n\n {showPassword ? (\n <PasswordField\n validatePassword\n label={t('formFieldLabel__password')}\n required={passwordRequired}\n disabled={isGlobalLoading}\n />\n ) : null}\n </div>\n ) : null}\n\n {options.socialButtonsPlacement === 'bottom' ? connectionsWithSeperator.reverse() : null}\n\n {userSettings.signUp.captcha_enabled ? <SignUp.Captcha className=\"cl-7a09f230\" /> : null}\n </Card.Body>\n {hasConnection || hasIdentifier ? (\n <Card.Actions>\n <Common.Loading scope='submit'>\n {isSubmitting => {\n return (\n <SignUp.Action\n submit\n asChild\n >\n <Button\n busy={isSubmitting}\n disabled={isGlobalLoading}\n iconEnd={<CaretRightLegacySm />}\n >\n {t('formButtonPrimary')}\n </Button>\n </SignUp.Action>\n );\n }}\n </Common.Loading>\n </Card.Actions>\n ) : null}\n </Card.Content>\n <Card.Footer {...footerProps}>\n <Card.FooterAction>\n <Card.FooterActionText>\n {t('signUp.start.actionText')}{' '}\n <Card.FooterActionLink href='/sign-in'>{t('signUp.start.actionLink')}</Card.FooterActionLink>\n </Card.FooterActionText>\n </Card.FooterAction>\n </Card.Footer>\n </Card.Root>\n </SignUp.Step>)\n );\n }}\n </Common.Loading>)\n );\n}\n","import * as Common from '@clerk/elements/common';\nimport * as SignUp from '@clerk/elements/sign-up';\nimport { useClerk } from '@clerk/shared/react';\n\nimport { GlobalError } from '~/common/global-error';\nimport { OTPField } from '~/common/otp-field';\nimport { LOCALIZATION_NEEDED } from '~/constants/localizations';\nimport { useCard } from '~/hooks/use-card';\nimport { useDevModeWarning } from '~/hooks/use-dev-mode-warning';\nimport { useDisplayConfig } from '~/hooks/use-display-config';\nimport { useLocalizations } from '~/hooks/use-localizations';\nimport { Button } from '~/primitives/button';\nimport * as Card from '~/primitives/card';\nimport CaretRightLegacySm from '~/primitives/icons/caret-right-legacy-sm';\nimport PenSm from '~/primitives/icons/pen-sm';\nimport { LinkButton } from '~/primitives/link';\nimport type { RequireExactlyOne } from '~/types/utils';\nimport { parsePhoneString } from '~/utils/phone-number';\n\n/* Internal\n ============================================ */\n\ntype Identifiers = {\n emailAddress: boolean;\n phoneNumber: boolean;\n};\n\ntype Identifier = RequireExactlyOne<Identifiers>;\n\nfunction SignUpIdentifier({ emailAddress, phoneNumber }: Identifier) {\n const { client } = useClerk();\n\n if (emailAddress) {\n return <span>{client.signUp.emailAddress}</span>;\n }\n\n if (phoneNumber) {\n const { formattedNumberWithCode } = parsePhoneString(client.signUp.phoneNumber || '');\n return <span>{formattedNumberWithCode}</span>;\n }\n\n return null;\n}\n\n/* Public\n ============================================ */\n\nexport function SignUpVerifications() {\n const { t } = useLocalizations();\n const { applicationName } = useDisplayConfig();\n\n const isDev = useDevModeWarning();\n const { logoProps, footerProps } = useCard();\n\n return (\n (<Common.Loading scope='global'>\n {isGlobalLoading => {\n return (\n (<SignUp.Step\n asChild\n name='verifications'\n >\n <Card.Root\n as='form'\n banner={isDev ? LOCALIZATION_NEEDED.developmentMode : null}\n >\n <Card.Content>\n <SignUp.Strategy name='phone_code'>\n <Card.Header>\n <Card.Logo {...logoProps} />\n <Card.Title>{t('signUp.phoneCode.title')}</Card.Title>\n <Card.Description>{t('signUp.phoneCode.subtitle')}</Card.Description>\n <Card.Description>\n <span className=\"cl-6cb778e1\">\n <SignUpIdentifier phoneNumber />\n <SignUp.Action\n navigate='start'\n asChild\n >\n <button\n type='button'\n className=\"cl-0f165050\"\n aria-label='Start again'\n >\n <PenSm />\n </button>\n </SignUp.Action>\n </span>\n </Card.Description>\n </Card.Header>\n\n <GlobalError />\n\n <Card.Body>\n <OTPField\n label={t('signUp.phoneCode.formTitle')}\n disabled={isGlobalLoading}\n resend={\n <SignUp.Action\n asChild\n resend\n // eslint-disable-next-line react/no-unstable-nested-components\n fallback={({ resendableAfter }) => (\n <LinkButton\n type='button'\n disabled\n >\n {t('signUp.phoneCode.resendButton')} (\n <span className=\"cl-ba2d0eea\">{resendableAfter}</span>)\n </LinkButton>\n )}\n >\n <LinkButton type='button'>{t('signUp.phoneCode.resendButton')}</LinkButton>\n </SignUp.Action>\n }\n />\n </Card.Body>\n <Card.Actions>\n <Common.Loading scope='submit'>\n {isSubmitting => {\n return (\n <SignUp.Action\n submit\n asChild\n >\n <Button\n busy={isSubmitting}\n disabled={isGlobalLoading}\n iconEnd={<CaretRightLegacySm />}\n >\n {t('formButtonPrimary')}\n </Button>\n </SignUp.Action>\n );\n }}\n </Common.Loading>\n </Card.Actions>\n </SignUp.Strategy>\n\n <SignUp.Strategy name='email_code'>\n <Card.Header>\n <Card.Logo {...logoProps} />\n <Card.Title>{t('signUp.emailCode.title')}</Card.Title>\n <Card.Description>{t('signUp.emailCode.subtitle')}</Card.Description>\n <Card.Description>\n <span className=\"cl-6cb778e1\">\n <SignUpIdentifier emailAddress />\n <SignUp.Action\n navigate='start'\n asChild\n >\n <button\n type='button'\n className=\"cl-0f165050\"\n aria-label='Start again'\n >\n <PenSm />\n </button>\n </SignUp.Action>\n </span>\n </Card.Description>\n </Card.Header>\n\n <GlobalError />\n\n <Card.Body>\n <OTPField\n label={t('signUp.emailCode.formTitle')}\n disabled={isGlobalLoading}\n resend={\n <SignUp.Action\n asChild\n resend\n // eslint-disable-next-line react/no-unstable-nested-components\n fallback={({ resendableAfter }) => (\n <LinkButton\n type='button'\n disabled\n >\n {t('signUp.emailCode.resendButton')} (\n <span className=\"cl-ba2d0eea\">{resendableAfter}</span>)\n </LinkButton>\n )}\n >\n <LinkButton type='button'>{t('signUp.emailCode.resendButton')}</LinkButton>\n </SignUp.Action>\n }\n />\n </Card.Body>\n <Card.Actions>\n <Common.Loading scope='submit'>\n {isSubmitting => {\n return (\n <SignUp.Action\n submit\n asChild\n >\n <Button\n busy={isSubmitting}\n disabled={isGlobalLoading}\n iconEnd={<CaretRightLegacySm />}\n >\n {t('formButtonPrimary')}\n </Button>\n </SignUp.Action>\n );\n }}\n </Common.Loading>\n </Card.Actions>\n </SignUp.Strategy>\n\n <SignUp.Strategy name='email_link'>\n <Card.Header>\n <Card.Logo {...logoProps} />\n <Card.Title>{t('signUp.emailLink.title')}</Card.Title>\n <Card.Description>\n {t('signUp.emailLink.subtitle', {\n applicationName,\n })}\n </Card.Description>\n <Card.Description>\n <span className=\"cl-6cb778e1\">\n <SignUpIdentifier emailAddress />\n <SignUp.Action\n navigate='start'\n asChild\n >\n <button\n type='button'\n className=\"cl-0f165050\"\n aria-label='Start again'\n >\n <PenSm />\n </button>\n </SignUp.Action>\n </span>\n </Card.Description>\n </Card.Header>\n\n <GlobalError />\n\n <Card.Body>\n <SignUp.Action\n resend\n asChild\n // eslint-disable-next-line react/no-unstable-nested-components\n fallback={({ resendableAfter }) => {\n return (\n (<LinkButton\n type='button'\n disabled\n >\n {t('signUp.emailLink.resendButton')}(<span className=\"cl-ba2d0eea\">{resendableAfter}</span>)</LinkButton>)\n );\n }}\n >\n <LinkButton type='button'>{t('signUp.emailLink.resendButton')}</LinkButton>\n </SignUp.Action>\n </Card.Body>\n </SignUp.Strategy>\n </Card.Content>\n <Card.Footer {...footerProps} />\n </Card.Root>\n </SignUp.Step>)\n );\n }}\n </Common.Loading>)\n );\n}\n"]}