@vrplatform/email 1.0.2-stage.43456386242 → 1.0.2-stage.43472494785
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/build/main/templates/SecondFactorAnnouncementEmailTemplate.js +4 -2
- package/build/main/templates/SecondFactorAnnouncementEmailTemplate.js.map +1 -1
- package/build/module/templates/SecondFactorAnnouncementEmailTemplate.js +4 -2
- package/build/module/templates/SecondFactorAnnouncementEmailTemplate.js.map +1 -1
- package/package.json +1 -1
- package/src/templates/SecondFactorAnnouncementEmailTemplate.tsx +8 -5
|
@@ -13,10 +13,12 @@ const SecondFactorAnnouncementEmailTemplate = (props) => {
|
|
|
13
13
|
const { mode, user, deadline, href } = props;
|
|
14
14
|
const owner = props.audience === 'owner';
|
|
15
15
|
const product = owner ? props.tenant.name : 'VRTrust';
|
|
16
|
-
return ((0, jsx_runtime_1.jsxs)(EmailContainer_1.EmailContainer, { title: "Turn on two-step verification", shortDescription: `Turn on two-step verification by ${deadline}.`, tenant: owner ? props.tenant : { logo: undefined }, mode: mode, children: [(0, jsx_runtime_1.jsxs)(heading_1.Heading, { style: { fontSize: 28, fontWeight: 600, marginBottom: '50px' }, children: ["Turn on two-step verification by ", deadline] }), (0, jsx_runtime_1.jsx)(text_1.Text, { children: user.firstName ? `Hi ${user.firstName},` : 'Hi there,' }), (0, jsx_runtime_1.jsxs)(text_1.Text, { children: [product, " now requires a second step at sign-in:
|
|
16
|
+
return ((0, jsx_runtime_1.jsxs)(EmailContainer_1.EmailContainer, { title: "Turn on two-step verification", shortDescription: `Turn on two-step verification by ${deadline}.`, tenant: owner ? props.tenant : { logo: undefined }, mode: mode, children: [(0, jsx_runtime_1.jsxs)(heading_1.Heading, { style: { fontSize: 28, fontWeight: 600, marginBottom: '50px' }, children: ["Turn on two-step verification by ", deadline] }), (0, jsx_runtime_1.jsx)(text_1.Text, { children: user.firstName ? `Hi ${user.firstName},` : 'Hi there,' }), (0, jsx_runtime_1.jsxs)(text_1.Text, { children: [product, " now requires a second step at sign-in:", ' ', owner
|
|
17
|
+
? 'a code from an authenticator app, a backup code, or a code sent by text message.'
|
|
18
|
+
: 'a code from an authenticator app, or a backup code.', ' ', "You can keep signing in without it until 4 pm Pacific time on", ' ', (0, jsx_runtime_1.jsx)("b", { children: deadline }), ". After that, ", product, " shows only the setup screen until two-step verification is on."] }), (0, jsx_runtime_1.jsxs)(text_1.Text, { children: ["Phishing messages written with AI tools are getting harder to spot, and a stolen password is enough to take over an account.", ' ', owner
|
|
17
19
|
? 'Your account gives access to your statements and payout details, so every account is protected the same way.'
|
|
18
20
|
: 'VRTrust holds payout bank details for owners and vendors, so we protect every account the same way.'] }), (0, jsx_runtime_1.jsx)(text_1.Text, { children: owner
|
|
19
|
-
? 'Setup takes about 2 minutes. Open your settings and add an authenticator app.'
|
|
21
|
+
? 'Setup takes about 2 minutes. Open your settings and add an authenticator app, or choose text messages if you do not use one.'
|
|
20
22
|
: 'Setup takes about 2 minutes. The guide has a screenshot of each step.' }), (0, jsx_runtime_1.jsx)(Button_1.Button, { href: href, mode: mode, label: "Set up two-step verification", themeColors: owner ? props.themeColors : theme_1.THEME_COLORS.vrplatform }), (0, jsx_runtime_1.jsx)(text_1.Text, { children: owner
|
|
21
23
|
? 'If you lose your phone and your backup codes, contact your property manager to reset two-step verification.'
|
|
22
24
|
: 'If you lose your phone and your backup codes, a Team Admin of your team can reset two-step verification for you, or you can write to support@vrplatform.app.' })] }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SecondFactorAnnouncementEmailTemplate.js","sourceRoot":"src/","sources":["templates/SecondFactorAnnouncementEmailTemplate.tsx"],"names":[],"mappings":";;;;AAAA,kDAA+C;AAC/C,4CAAyC;AACzC,iDAA8C;AAC9C,iEAA8D;AAC9D,oCAAwC;AAmBxC,0EAA0E;AAC1E,0EAA0E;AACnE,MAAM,qCAAqC,GAAG,CACnD,KAAiD,EACjD,EAAE;IACF,MAAM,EAAE,IA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;AACJ,CAAC,CAAC;AAnDW,QAAA,qCAAqC,GAArC,qCAAqC,CAmDhD","sourcesContent":["import { Heading } from '@react-email/heading';\nimport { Text } from '@react-email/text';\nimport { Button } from '../components/Button';\nimport { EmailContainer } from '../components/EmailContainer';\nimport { THEME_COLORS } from '../theme';\nimport type { EmailBaseProps } from '../types';\n\nexport type SecondFactorAnnouncementEmailTemplateProps = {\n mode: EmailBaseProps['mode'];\n user: EmailBaseProps['user'];\n // Formatted for reading, such as \"December 1, 2026\".\n deadline: string;\n href: string;\n} & (\n | { audience: 'member' }\n | {\n // Owners see the branding of their team's owner portal.\n audience: 'owner';\n tenant: EmailBaseProps['tenant'];\n themeColors: EmailBaseProps['themeColors'];\n }\n);\n\n// Announces required two-step verification to a user with the deadline of\n// their group (PRO-20654). Team members get VRTrust, owners their portal.\nexport const SecondFactorAnnouncementEmailTemplate = (\n props: SecondFactorAnnouncementEmailTemplateProps\n) => {\n const { mode, user, deadline, href } = props;\n const owner = props.audience === 'owner';\n const product = owner ? props.tenant.name : 'VRTrust';\n return (\n <EmailContainer\n title=\"Turn on two-step verification\"\n shortDescription={`Turn on two-step verification by ${deadline}.`}\n tenant={owner ? props.tenant : { logo: undefined }}\n mode={mode}\n >\n <Heading style={{ fontSize: 28, fontWeight: 600, marginBottom: '50px' }}>\n Turn on two-step verification by {deadline}\n </Heading>\n <Text>{user.firstName ? `Hi ${user.firstName},` : 'Hi there,'}</Text>\n <Text>\n {product} now requires a second step at sign-in:{' '}\n {owner\n ? 'a code from an authenticator app, a backup code, or a code sent by text message.'\n : 'a code from an authenticator app, or a backup code.'}{' '}\n You can keep signing in without it until 4 pm Pacific time on{' '}\n <b>{deadline}</b>. After that, {product} shows only the setup screen\n until two-step verification is on.\n </Text>\n <Text>\n Phishing messages written with AI tools are getting harder to spot, and\n a stolen password is enough to take over an account.{' '}\n {owner\n ? 'Your account gives access to your statements and payout details, so every account is protected the same way.'\n : 'VRTrust holds payout bank details for owners and vendors, so we protect every account the same way.'}\n </Text>\n <Text>\n {owner\n ? 'Setup takes about 2 minutes. Open your settings and add an authenticator app, or choose text messages if you do not use one.'\n : 'Setup takes about 2 minutes. The guide has a screenshot of each step.'}\n </Text>\n <Button\n href={href}\n mode={mode}\n label=\"Set up two-step verification\"\n themeColors={owner ? props.themeColors : THEME_COLORS.vrplatform!}\n />\n <Text>\n {owner\n ? 'If you lose your phone and your backup codes, contact your property manager to reset two-step verification.'\n : 'If you lose your phone and your backup codes, a Team Admin of your team can reset two-step verification for you, or you can write to support@vrplatform.app.'}\n </Text>\n </EmailContainer>\n );\n};\n"]}
|
|
@@ -10,10 +10,12 @@ export const SecondFactorAnnouncementEmailTemplate = (props) => {
|
|
|
10
10
|
const { mode, user, deadline, href } = props;
|
|
11
11
|
const owner = props.audience === 'owner';
|
|
12
12
|
const product = owner ? props.tenant.name : 'VRTrust';
|
|
13
|
-
return (_jsxs(EmailContainer, { title: "Turn on two-step verification", shortDescription: `Turn on two-step verification by ${deadline}.`, tenant: owner ? props.tenant : { logo: undefined }, mode: mode, children: [_jsxs(Heading, { style: { fontSize: 28, fontWeight: 600, marginBottom: '50px' }, children: ["Turn on two-step verification by ", deadline] }), _jsx(Text, { children: user.firstName ? `Hi ${user.firstName},` : 'Hi there,' }), _jsxs(Text, { children: [product, " now requires a second step at sign-in:
|
|
13
|
+
return (_jsxs(EmailContainer, { title: "Turn on two-step verification", shortDescription: `Turn on two-step verification by ${deadline}.`, tenant: owner ? props.tenant : { logo: undefined }, mode: mode, children: [_jsxs(Heading, { style: { fontSize: 28, fontWeight: 600, marginBottom: '50px' }, children: ["Turn on two-step verification by ", deadline] }), _jsx(Text, { children: user.firstName ? `Hi ${user.firstName},` : 'Hi there,' }), _jsxs(Text, { children: [product, " now requires a second step at sign-in:", ' ', owner
|
|
14
|
+
? 'a code from an authenticator app, a backup code, or a code sent by text message.'
|
|
15
|
+
: 'a code from an authenticator app, or a backup code.', ' ', "You can keep signing in without it until 4 pm Pacific time on", ' ', _jsx("b", { children: deadline }), ". After that, ", product, " shows only the setup screen until two-step verification is on."] }), _jsxs(Text, { children: ["Phishing messages written with AI tools are getting harder to spot, and a stolen password is enough to take over an account.", ' ', owner
|
|
14
16
|
? 'Your account gives access to your statements and payout details, so every account is protected the same way.'
|
|
15
17
|
: 'VRTrust holds payout bank details for owners and vendors, so we protect every account the same way.'] }), _jsx(Text, { children: owner
|
|
16
|
-
? 'Setup takes about 2 minutes. Open your settings and add an authenticator app.'
|
|
18
|
+
? 'Setup takes about 2 minutes. Open your settings and add an authenticator app, or choose text messages if you do not use one.'
|
|
17
19
|
: 'Setup takes about 2 minutes. The guide has a screenshot of each step.' }), _jsx(Button, { href: href, mode: mode, label: "Set up two-step verification", themeColors: owner ? props.themeColors : THEME_COLORS.vrplatform }), _jsx(Text, { children: owner
|
|
18
20
|
? 'If you lose your phone and your backup codes, contact your property manager to reset two-step verification.'
|
|
19
21
|
: 'If you lose your phone and your backup codes, a Team Admin of your team can reset two-step verification for you, or you can write to support@vrplatform.app.' })] }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SecondFactorAnnouncementEmailTemplate.js","sourceRoot":"src/","sources":["templates/SecondFactorAnnouncementEmailTemplate.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACzC,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAmBxC,0EAA0E;AAC1E,0EAA0E;AAC1E,MAAM,CAAC,MAAM,qCAAqC,GAAG,CACnD,KAAiD,EACjD,EAAE;IACF,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,KAAK,CAAC;IAC7C,MAAM,KAAK,GAAG,KA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,CAAC,CAAC,6GAA6G;oBAC/G,CAAC,CAAC,8JAA8J,GAC7J,IACQ,CAClB,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import { Heading } from '@react-email/heading';\nimport { Text } from '@react-email/text';\nimport { Button } from '../components/Button';\nimport { EmailContainer } from '../components/EmailContainer';\nimport { THEME_COLORS } from '../theme';\nimport type { EmailBaseProps } from '../types';\n\nexport type SecondFactorAnnouncementEmailTemplateProps = {\n mode: EmailBaseProps['mode'];\n user: EmailBaseProps['user'];\n // Formatted for reading, such as \"December 1, 2026\".\n deadline: string;\n href: string;\n} & (\n | { audience: 'member' }\n | {\n // Owners see the branding of their team's owner portal.\n audience: 'owner';\n tenant: EmailBaseProps['tenant'];\n themeColors: EmailBaseProps['themeColors'];\n }\n);\n\n// Announces required two-step verification to a user with the deadline of\n// their group (PRO-20654). Team members get VRTrust, owners their portal.\nexport const SecondFactorAnnouncementEmailTemplate = (\n props: SecondFactorAnnouncementEmailTemplateProps\n) => {\n const { mode, user, deadline, href } = props;\n const owner = props.audience === 'owner';\n const product = owner ? props.tenant.name : 'VRTrust';\n return (\n <EmailContainer\n title=\"Turn on two-step verification\"\n shortDescription={`Turn on two-step verification by ${deadline}.`}\n tenant={owner ? props.tenant : { logo: undefined }}\n mode={mode}\n >\n <Heading style={{ fontSize: 28, fontWeight: 600, marginBottom: '50px' }}>\n Turn on two-step verification by {deadline}\n </Heading>\n <Text>{user.firstName ? `Hi ${user.firstName},` : 'Hi there,'}</Text>\n <Text>\n {product} now requires a second step at sign-in:{' '}\n {owner\n ? 'a code from an authenticator app, a backup code, or a code sent by text message.'\n : 'a code from an authenticator app, or a backup code.'}{' '}\n You can keep signing in without it until 4 pm Pacific time on{' '}\n <b>{deadline}</b>. After that, {product} shows only the setup screen\n until two-step verification is on.\n </Text>\n <Text>\n Phishing messages written with AI tools are getting harder to spot, and\n a stolen password is enough to take over an account.{' '}\n {owner\n ? 'Your account gives access to your statements and payout details, so every account is protected the same way.'\n : 'VRTrust holds payout bank details for owners and vendors, so we protect every account the same way.'}\n </Text>\n <Text>\n {owner\n ? 'Setup takes about 2 minutes. Open your settings and add an authenticator app, or choose text messages if you do not use one.'\n : 'Setup takes about 2 minutes. The guide has a screenshot of each step.'}\n </Text>\n <Button\n href={href}\n mode={mode}\n label=\"Set up two-step verification\"\n themeColors={owner ? props.themeColors : THEME_COLORS.vrplatform!}\n />\n <Text>\n {owner\n ? 'If you lose your phone and your backup codes, contact your property manager to reset two-step verification.'\n : 'If you lose your phone and your backup codes, a Team Admin of your team can reset two-step verification for you, or you can write to support@vrplatform.app.'}\n </Text>\n </EmailContainer>\n );\n};\n"]}
|
package/package.json
CHANGED
|
@@ -41,10 +41,13 @@ export const SecondFactorAnnouncementEmailTemplate = (
|
|
|
41
41
|
</Heading>
|
|
42
42
|
<Text>{user.firstName ? `Hi ${user.firstName},` : 'Hi there,'}</Text>
|
|
43
43
|
<Text>
|
|
44
|
-
{product} now requires a second step at sign-in:
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
44
|
+
{product} now requires a second step at sign-in:{' '}
|
|
45
|
+
{owner
|
|
46
|
+
? 'a code from an authenticator app, a backup code, or a code sent by text message.'
|
|
47
|
+
: 'a code from an authenticator app, or a backup code.'}{' '}
|
|
48
|
+
You can keep signing in without it until 4 pm Pacific time on{' '}
|
|
49
|
+
<b>{deadline}</b>. After that, {product} shows only the setup screen
|
|
50
|
+
until two-step verification is on.
|
|
48
51
|
</Text>
|
|
49
52
|
<Text>
|
|
50
53
|
Phishing messages written with AI tools are getting harder to spot, and
|
|
@@ -55,7 +58,7 @@ export const SecondFactorAnnouncementEmailTemplate = (
|
|
|
55
58
|
</Text>
|
|
56
59
|
<Text>
|
|
57
60
|
{owner
|
|
58
|
-
? 'Setup takes about 2 minutes. Open your settings and add an authenticator app.'
|
|
61
|
+
? 'Setup takes about 2 minutes. Open your settings and add an authenticator app, or choose text messages if you do not use one.'
|
|
59
62
|
: 'Setup takes about 2 minutes. The guide has a screenshot of each step.'}
|
|
60
63
|
</Text>
|
|
61
64
|
<Button
|