@learncard/email-templates 1.2.0 → 1.2.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/dist/i18n.d.ts +15 -0
- package/dist/i18n.d.ts.map +1 -1
- package/dist/i18n.js +31 -0
- package/dist/i18n.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/previews/account-secured-scenarios.d.ts +6 -0
- package/dist/previews/account-secured-scenarios.d.ts.map +1 -0
- package/dist/previews/account-secured-scenarios.js +7 -0
- package/dist/previews/account-secured-scenarios.js.map +1 -0
- package/dist/previews/escrow-hold-cancelled-scenarios.d.ts +6 -0
- package/dist/previews/escrow-hold-cancelled-scenarios.d.ts.map +1 -0
- package/dist/previews/escrow-hold-cancelled-scenarios.js +7 -0
- package/dist/previews/escrow-hold-cancelled-scenarios.js.map +1 -0
- package/dist/previews/escrow-hold-released-scenarios.d.ts +6 -0
- package/dist/previews/escrow-hold-released-scenarios.d.ts.map +1 -0
- package/dist/previews/escrow-hold-released-scenarios.js +7 -0
- package/dist/previews/escrow-hold-released-scenarios.js.map +1 -0
- package/dist/previews/escrow-hold-reminder-scenarios.d.ts +6 -0
- package/dist/previews/escrow-hold-reminder-scenarios.d.ts.map +1 -0
- package/dist/previews/escrow-hold-reminder-scenarios.js +7 -0
- package/dist/previews/escrow-hold-reminder-scenarios.js.map +1 -0
- package/dist/previews/escrow-hold-started-scenarios.d.ts +6 -0
- package/dist/previews/escrow-hold-started-scenarios.d.ts.map +1 -0
- package/dist/previews/escrow-hold-started-scenarios.js +7 -0
- package/dist/previews/escrow-hold-started-scenarios.js.map +1 -0
- package/dist/previews/escrow-pin-locked-scenarios.d.ts +6 -0
- package/dist/previews/escrow-pin-locked-scenarios.d.ts.map +1 -0
- package/dist/previews/escrow-pin-locked-scenarios.js +7 -0
- package/dist/previews/escrow-pin-locked-scenarios.js.map +1 -0
- package/dist/previews/escrow-pin-sign-in-scenarios.d.ts +6 -0
- package/dist/previews/escrow-pin-sign-in-scenarios.d.ts.map +1 -0
- package/dist/previews/escrow-pin-sign-in-scenarios.js +7 -0
- package/dist/previews/escrow-pin-sign-in-scenarios.js.map +1 -0
- package/dist/render.d.ts +45 -0
- package/dist/render.d.ts.map +1 -1
- package/dist/render.js +67 -1
- package/dist/render.js.map +1 -1
- package/dist/templates/account-secured.d.ts +27 -0
- package/dist/templates/account-secured.d.ts.map +1 -0
- package/dist/templates/account-secured.js +118 -0
- package/dist/templates/account-secured.js.map +1 -0
- package/dist/templates/escrow-hold-cancelled.d.ts +23 -0
- package/dist/templates/escrow-hold-cancelled.d.ts.map +1 -0
- package/dist/templates/escrow-hold-cancelled.js +131 -0
- package/dist/templates/escrow-hold-cancelled.js.map +1 -0
- package/dist/templates/escrow-hold-released.d.ts +21 -0
- package/dist/templates/escrow-hold-released.d.ts.map +1 -0
- package/dist/templates/escrow-hold-released.js +92 -0
- package/dist/templates/escrow-hold-released.js.map +1 -0
- package/dist/templates/escrow-hold-reminder.d.ts +21 -0
- package/dist/templates/escrow-hold-reminder.d.ts.map +1 -0
- package/dist/templates/escrow-hold-reminder.js +92 -0
- package/dist/templates/escrow-hold-reminder.js.map +1 -0
- package/dist/templates/escrow-hold-started.d.ts +25 -0
- package/dist/templates/escrow-hold-started.d.ts.map +1 -0
- package/dist/templates/escrow-hold-started.js +96 -0
- package/dist/templates/escrow-hold-started.js.map +1 -0
- package/dist/templates/escrow-pin-locked.d.ts +24 -0
- package/dist/templates/escrow-pin-locked.d.ts.map +1 -0
- package/dist/templates/escrow-pin-locked.js +97 -0
- package/dist/templates/escrow-pin-locked.js.map +1 -0
- package/dist/templates/escrow-pin-sign-in.d.ts +24 -0
- package/dist/templates/escrow-pin-sign-in.d.ts.map +1 -0
- package/dist/templates/escrow-pin-sign-in.js +96 -0
- package/dist/templates/escrow-pin-sign-in.js.map +1 -0
- package/dist/templates/index.d.ts +21 -28
- package/dist/templates/index.d.ts.map +1 -1
- package/dist/templates/index.js +20 -9
- package/dist/templates/index.js.map +1 -1
- package/package.json +2 -2
- package/src/__tests__/i18n.test.ts +62 -1
- package/src/__tests__/render.test.ts +306 -0
- package/src/i18n.ts +33 -0
- package/src/index.ts +8 -0
- package/src/previews/account-secured-scenarios.tsx +41 -0
- package/src/previews/escrow-hold-cancelled-scenarios.tsx +79 -0
- package/src/previews/escrow-hold-released-scenarios.tsx +58 -0
- package/src/previews/escrow-hold-reminder-scenarios.tsx +52 -0
- package/src/previews/escrow-hold-started-scenarios.tsx +67 -0
- package/src/previews/escrow-pin-locked-scenarios.tsx +60 -0
- package/src/previews/escrow-pin-sign-in-scenarios.tsx +52 -0
- package/src/render.ts +162 -0
- package/src/templates/account-secured.tsx +236 -0
- package/src/templates/escrow-hold-cancelled.tsx +212 -0
- package/src/templates/escrow-hold-released.tsx +184 -0
- package/src/templates/escrow-hold-reminder.tsx +184 -0
- package/src/templates/escrow-hold-started.tsx +216 -0
- package/src/templates/escrow-pin-locked.tsx +233 -0
- package/src/templates/escrow-pin-sign-in.tsx +197 -0
- package/src/templates/index.ts +100 -25
package/src/templates/index.ts
CHANGED
|
@@ -1,49 +1,124 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
1
|
+
// One export declaration per template module. Projects that resolve this package
|
|
2
|
+
// through its `development` condition (source) typecheck without `jsx`, and TypeScript
|
|
3
|
+
// reports TS6142 once per declaration that imports a .tsx module from this .ts file;
|
|
4
|
+
// a separate `export type` line for the same module would add a second report.
|
|
3
5
|
|
|
4
|
-
export {
|
|
5
|
-
|
|
6
|
+
export {
|
|
7
|
+
VerificationCode,
|
|
8
|
+
getVerificationCodeSubject,
|
|
9
|
+
type VerificationCodeProps,
|
|
10
|
+
type VerificationCodeVariant,
|
|
11
|
+
} from './verification-code';
|
|
6
12
|
|
|
7
|
-
export {
|
|
8
|
-
export type { GuardianApprovalProps } from './guardian-approval';
|
|
13
|
+
export { InboxClaim, getInboxClaimSubject, type InboxClaimProps } from './inbox-claim';
|
|
9
14
|
|
|
10
|
-
export {
|
|
11
|
-
|
|
15
|
+
export {
|
|
16
|
+
GuardianApproval,
|
|
17
|
+
getGuardianApprovalSubject,
|
|
18
|
+
type GuardianApprovalProps,
|
|
19
|
+
} from './guardian-approval';
|
|
12
20
|
|
|
13
|
-
export {
|
|
14
|
-
|
|
21
|
+
export {
|
|
22
|
+
AccountApproved,
|
|
23
|
+
getAccountApprovedSubject,
|
|
24
|
+
type AccountApprovedProps,
|
|
25
|
+
} from './account-approved';
|
|
15
26
|
|
|
16
|
-
export {
|
|
17
|
-
|
|
27
|
+
export { RecoveryKey, getRecoveryKeySubject, type RecoveryKeyProps } from './recovery-key';
|
|
28
|
+
|
|
29
|
+
export {
|
|
30
|
+
EndorsementRequest,
|
|
31
|
+
getEndorsementRequestSubject,
|
|
32
|
+
type EndorsementRequestProps,
|
|
33
|
+
} from './endorsement-request';
|
|
18
34
|
|
|
19
35
|
export {
|
|
20
36
|
CredentialAwaitingGuardian,
|
|
21
37
|
getCredentialAwaitingGuardianSubject,
|
|
38
|
+
type CredentialAwaitingGuardianProps,
|
|
22
39
|
} from './credential-awaiting-guardian';
|
|
23
|
-
export type { CredentialAwaitingGuardianProps } from './credential-awaiting-guardian';
|
|
24
40
|
|
|
25
|
-
export {
|
|
26
|
-
|
|
41
|
+
export {
|
|
42
|
+
GuardianApprovedClaim,
|
|
43
|
+
getGuardianApprovedClaimSubject,
|
|
44
|
+
type GuardianApprovedClaimProps,
|
|
45
|
+
} from './guardian-approved-claim';
|
|
27
46
|
|
|
28
47
|
export {
|
|
29
48
|
GuardianCredentialApproval,
|
|
30
49
|
getGuardianCredentialApprovalSubject,
|
|
50
|
+
type GuardianCredentialApprovalProps,
|
|
31
51
|
} from './guardian-credential-approval';
|
|
32
|
-
export type { GuardianCredentialApprovalProps } from './guardian-credential-approval';
|
|
33
52
|
|
|
34
|
-
export {
|
|
35
|
-
|
|
53
|
+
export {
|
|
54
|
+
GuardianEmailOtp,
|
|
55
|
+
getGuardianEmailOtpSubject,
|
|
56
|
+
type GuardianEmailOtpProps,
|
|
57
|
+
} from './guardian-email-otp';
|
|
36
58
|
|
|
37
59
|
export {
|
|
38
60
|
GuardianRejectedCredential,
|
|
39
61
|
getGuardianRejectedCredentialSubject,
|
|
62
|
+
type GuardianRejectedCredentialProps,
|
|
40
63
|
} from './guardian-rejected-credential';
|
|
41
|
-
export type { GuardianRejectedCredentialProps } from './guardian-rejected-credential';
|
|
42
64
|
|
|
43
|
-
export {
|
|
44
|
-
|
|
65
|
+
export {
|
|
66
|
+
EmailVerification,
|
|
67
|
+
getEmailVerificationSubject,
|
|
68
|
+
type EmailVerificationProps,
|
|
69
|
+
} from './email-verification';
|
|
70
|
+
|
|
71
|
+
export {
|
|
72
|
+
CredentialUpdated,
|
|
73
|
+
getCredentialUpdatedSubject,
|
|
74
|
+
type CredentialUpdatedProps,
|
|
75
|
+
} from './credential-updated';
|
|
45
76
|
|
|
46
|
-
export {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
77
|
+
export {
|
|
78
|
+
AccountSignInChanged,
|
|
79
|
+
getAccountSignInChangedSubject,
|
|
80
|
+
type AccountSignInChangedProps,
|
|
81
|
+
} from './account-sign-in-changed';
|
|
82
|
+
|
|
83
|
+
export {
|
|
84
|
+
EscrowHoldStarted,
|
|
85
|
+
getEscrowHoldStartedSubject,
|
|
86
|
+
type EscrowHoldStartedProps,
|
|
87
|
+
} from './escrow-hold-started';
|
|
88
|
+
|
|
89
|
+
export {
|
|
90
|
+
EscrowHoldReminder,
|
|
91
|
+
getEscrowHoldReminderSubject,
|
|
92
|
+
type EscrowHoldReminderProps,
|
|
93
|
+
} from './escrow-hold-reminder';
|
|
94
|
+
|
|
95
|
+
export {
|
|
96
|
+
EscrowHoldReleased,
|
|
97
|
+
getEscrowHoldReleasedSubject,
|
|
98
|
+
type EscrowHoldReleasedProps,
|
|
99
|
+
} from './escrow-hold-released';
|
|
100
|
+
|
|
101
|
+
export {
|
|
102
|
+
EscrowHoldCancelled,
|
|
103
|
+
getEscrowHoldCancelledSubject,
|
|
104
|
+
type EscrowHoldCancelledProps,
|
|
105
|
+
type EscrowHoldCancelledReason,
|
|
106
|
+
} from './escrow-hold-cancelled';
|
|
107
|
+
|
|
108
|
+
export {
|
|
109
|
+
EscrowPinLocked,
|
|
110
|
+
getEscrowPinLockedSubject,
|
|
111
|
+
type EscrowPinLockedProps,
|
|
112
|
+
} from './escrow-pin-locked';
|
|
113
|
+
|
|
114
|
+
export {
|
|
115
|
+
EscrowPinSignIn,
|
|
116
|
+
getEscrowPinSignInSubject,
|
|
117
|
+
type EscrowPinSignInProps,
|
|
118
|
+
} from './escrow-pin-sign-in';
|
|
119
|
+
|
|
120
|
+
export {
|
|
121
|
+
AccountSecured,
|
|
122
|
+
getAccountSecuredSubject,
|
|
123
|
+
type AccountSecuredProps,
|
|
124
|
+
} from './account-secured';
|