@rocket.chat/onboarding-ui 0.6.3-dev.355 → 0.6.3-dev.359
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/cjs/common/Form/FormSubtitle.js +1 -1
- package/dist/cjs/common/Form/FormTitle.js +1 -1
- package/dist/cjs/common/List/index.d.ts +1 -1
- package/dist/cjs/common/ManageWorkspaceFallback.js +1 -1
- package/dist/cjs/forms/LoginForm/LoginForm.js +1 -1
- package/dist/cjs/forms/RegisterServerForm/OptionCard/Title.js +1 -1
- package/dist/cjs/forms/RegisterServerForm/OptionCard/index.d.ts +2 -2
- package/dist/cjs/pages/AwaitingConfirmationPage/AwaitingConfirmationPage.js +1 -1
- package/dist/cjs/pages/CheckYourEmailPage/CheckYourEmailPage.js +1 -1
- package/dist/cjs/pages/CreateCloudWorkspacePage/Description.js +1 -1
- package/dist/cjs/pages/EmailConfirmedPage/EmailConfirmedPage.js +1 -1
- package/dist/cjs/pages/InvalidLinkPage/InvalidLinkPage.js +1 -1
- package/dist/cjs/pages/LoginLinkEmailPage/LoginLinkEmailPage.js +1 -1
- package/dist/cjs/pages/LoginPage/LoginPage.js +1 -1
- package/dist/cjs/pages/RequestTrialPage/Description.js +1 -1
- package/dist/esm/common/Form/FormSubtitle.js +1 -1
- package/dist/esm/common/Form/FormTitle.js +1 -1
- package/dist/esm/common/List/index.d.ts +1 -1
- package/dist/esm/common/ManageWorkspaceFallback.js +1 -1
- package/dist/esm/forms/LoginForm/LoginForm.js +1 -1
- package/dist/esm/forms/RegisterServerForm/OptionCard/Title.js +1 -1
- package/dist/esm/forms/RegisterServerForm/OptionCard/index.d.ts +2 -2
- package/dist/esm/pages/AwaitingConfirmationPage/AwaitingConfirmationPage.js +1 -1
- package/dist/esm/pages/CheckYourEmailPage/CheckYourEmailPage.js +1 -1
- package/dist/esm/pages/CreateCloudWorkspacePage/Description.js +1 -1
- package/dist/esm/pages/EmailConfirmedPage/EmailConfirmedPage.js +1 -1
- package/dist/esm/pages/InvalidLinkPage/InvalidLinkPage.js +1 -1
- package/dist/esm/pages/LoginLinkEmailPage/LoginLinkEmailPage.js +1 -1
- package/dist/esm/pages/LoginPage/LoginPage.js +1 -1
- package/dist/esm/pages/RequestTrialPage/Description.js +1 -1
- package/package.json +12 -12
|
@@ -19,7 +19,7 @@ var fuselage_1 = require("@rocket.chat/fuselage");
|
|
|
19
19
|
var colors_json_1 = __importDefault(require("@rocket.chat/fuselage-tokens/colors.json"));
|
|
20
20
|
var FormSubtitle = function (_a) {
|
|
21
21
|
var children = _a.children;
|
|
22
|
-
return (jsx_runtime_1.jsx(fuselage_1.Box, __assign({ fontScale: '
|
|
22
|
+
return (jsx_runtime_1.jsx(fuselage_1.Box, __assign({ fontScale: 'p3', color: colors_json_1.default.n700 }, { children: children }), void 0));
|
|
23
23
|
};
|
|
24
24
|
exports.default = FormSubtitle;
|
|
25
25
|
//# sourceMappingURL=FormSubtitle.js.map
|
|
@@ -15,7 +15,7 @@ var jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
15
15
|
var fuselage_1 = require("@rocket.chat/fuselage");
|
|
16
16
|
var FormTitle = function (_a) {
|
|
17
17
|
var children = _a.children;
|
|
18
|
-
return (jsx_runtime_1.jsx(fuselage_1.Box, __assign({ mbe: 'x8', fontScale: '
|
|
18
|
+
return (jsx_runtime_1.jsx(fuselage_1.Box, __assign({ mbe: 'x8', fontScale: 'h2', fontWeight: 800 }, { children: children }), void 0));
|
|
19
19
|
};
|
|
20
20
|
exports.default = FormTitle;
|
|
21
21
|
//# sourceMappingURL=FormTitle.js.map
|
|
@@ -10,7 +10,7 @@ declare const _default: (({ children, listStyleType, icon, spacing, color, }: {
|
|
|
10
10
|
children: import("react").ReactNode;
|
|
11
11
|
icon?: string | undefined;
|
|
12
12
|
iconColor?: (import("csstype").Property.Color & string) | undefined;
|
|
13
|
-
fontScale?: ("h1" | "
|
|
13
|
+
fontScale?: ("h1" | "h2" | "h3" | "h4" | "h5" | "hero" | "p1" | "p2" | "p3" | "p4" | "c1" | "c2" | "micro") | undefined;
|
|
14
14
|
}) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
15
15
|
};
|
|
16
16
|
export default _default;
|
|
@@ -20,7 +20,7 @@ var react_i18next_1 = require("react-i18next");
|
|
|
20
20
|
var ActionLink_1 = __importDefault(require("./ActionLink"));
|
|
21
21
|
var ManageWorkspaceFallback = function (_a) {
|
|
22
22
|
var onManageWorkspaceClick = _a.onManageWorkspaceClick;
|
|
23
|
-
return (jsx_runtime_1.jsx(fuselage_1.Box, __assign({ fontScale: '
|
|
23
|
+
return (jsx_runtime_1.jsx(fuselage_1.Box, __assign({ fontScale: 'h4', pbs: 'x40' }, { children: jsx_runtime_1.jsxs(react_i18next_1.Trans, __assign({ i18nKey: 'component.manageWorkspaceFallback' }, { children: ["Already have an account?", jsx_runtime_1.jsx(ActionLink_1.default, __assign({ fontScale: 'h4', onClick: onManageWorkspaceClick }, { children: "Manage your workspaces." }), void 0)] }), void 0) }), void 0));
|
|
24
24
|
};
|
|
25
25
|
exports.default = ManageWorkspaceFallback;
|
|
26
26
|
//# sourceMappingURL=ManageWorkspaceFallback.js.map
|
|
@@ -33,7 +33,7 @@ var LoginForm = function (_a) {
|
|
|
33
33
|
required: String(t('component.form.requiredField')),
|
|
34
34
|
}), { placeholder: t('form.loginForm.fields.email.placeholder') }), void 0) }, void 0), errors.email && jsx_runtime_1.jsx(fuselage_1.Field.Error, { children: errors.email.message }, void 0)] }, void 0), !isPasswordLess && (jsx_runtime_1.jsxs(fuselage_1.Field, { children: [jsx_runtime_1.jsx(fuselage_1.Field.Label, { children: t('form.loginForm.fields.password.label') }, void 0), jsx_runtime_1.jsx(fuselage_1.Field.Row, { children: jsx_runtime_1.jsx(fuselage_1.PasswordInput, __assign({}, register('password', { required: true }), { placeholder: t('form.loginForm.fields.password.placeholder') }), void 0) }, void 0), (formError || errors.password) && (jsx_runtime_1.jsx(fuselage_1.Field.Error, { children: t('form.loginForm.fields.password.error') }, void 0))] }, void 0))] }, void 0) }, void 0), jsx_runtime_1.jsxs(Form_1.default.Footer, { children: [jsx_runtime_1.jsxs(LoginForm_styles_1.LoginActionsWrapper, { children: [jsx_runtime_1.jsx(fuselage_1.Button, __assign({ type: 'submit', disabled: isValidating || isSubmitting, primary: true }, { children: isPasswordLess
|
|
35
35
|
? t('form.loginForm.sendLoginLink')
|
|
36
|
-
: t('form.loginForm.button.text') }), void 0), !isPasswordLess && (jsx_runtime_1.jsx(ActionLink_1.default, __assign({ fontScale: '
|
|
36
|
+
: t('form.loginForm.button.text') }), void 0), !isPasswordLess && (jsx_runtime_1.jsx(ActionLink_1.default, __assign({ fontScale: 'p3', onClick: onChangeForm }, { children: t('form.loginForm.sendLoginLink') }), void 0)), isPasswordLess && (jsx_runtime_1.jsx(ActionLink_1.default, __assign({ fontScale: 'p3', onClick: onChangeForm }, { children: t('form.loginForm.redirect') }), void 0))] }, void 0), !isPasswordLess && (jsx_runtime_1.jsx(fuselage_1.Box, __assign({ mbs: 'x24', fontScale: 'p3', textAlign: 'left' }, { children: jsx_runtime_1.jsxs(react_i18next_1.Trans, __assign({ i18nKey: 'form.loginForm.resetPassword' }, { children: ["Forgot your password?", jsx_runtime_1.jsx(ActionLink_1.default, __assign({ fontWeight: 400, fontScale: 'p3', onClick: onResetPassword }, { children: "Reset password" }), void 0)] }), void 0) }), void 0))] }, void 0)] }), void 0));
|
|
37
37
|
};
|
|
38
38
|
exports.default = LoginForm;
|
|
39
39
|
//# sourceMappingURL=LoginForm.js.map
|
|
@@ -15,7 +15,7 @@ var jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
15
15
|
var fuselage_1 = require("@rocket.chat/fuselage");
|
|
16
16
|
var Title = function (_a) {
|
|
17
17
|
var children = _a.children;
|
|
18
|
-
return (jsx_runtime_1.jsx(fuselage_1.Box, __assign({ fontScale: '
|
|
18
|
+
return (jsx_runtime_1.jsx(fuselage_1.Box, __assign({ fontScale: 'p4', color: 'default' }, { children: children }), void 0));
|
|
19
19
|
};
|
|
20
20
|
exports.default = Title;
|
|
21
21
|
//# sourceMappingURL=Title.js.map
|
|
@@ -24,14 +24,14 @@ declare const _default: (({ selected, onClick, children, }: {
|
|
|
24
24
|
children: import("react").ReactNode;
|
|
25
25
|
icon?: string | undefined;
|
|
26
26
|
iconColor?: (import("csstype").Property.Color & string) | undefined;
|
|
27
|
-
fontScale?: ("h1" | "
|
|
27
|
+
fontScale?: ("h1" | "h2" | "h3" | "h4" | "h5" | "hero" | "p1" | "p2" | "p3" | "p4" | "c1" | "c2" | "micro") | undefined;
|
|
28
28
|
}) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
29
29
|
};
|
|
30
30
|
ListItem: ({ children, icon, iconColor, fontScale, }: {
|
|
31
31
|
children: import("react").ReactNode;
|
|
32
32
|
icon?: string | undefined;
|
|
33
33
|
iconColor?: (import("csstype").Property.Color & string) | undefined;
|
|
34
|
-
fontScale?: ("h1" | "
|
|
34
|
+
fontScale?: ("h1" | "h2" | "h3" | "h4" | "h5" | "hero" | "p1" | "p2" | "p3" | "p4" | "c1" | "c2" | "micro") | undefined;
|
|
35
35
|
}) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
36
36
|
Block: ({ children }: {
|
|
37
37
|
children: import("react").ReactNode;
|
|
@@ -24,7 +24,7 @@ var OnboardingLogo_1 = require("../../common/OnboardingLogo");
|
|
|
24
24
|
var AwaitingConfirmationPage = function (_a) {
|
|
25
25
|
var securityCode = _a.securityCode, emailAddress = _a.emailAddress, onResendEmailRequest = _a.onResendEmailRequest, onChangeEmailRequest = _a.onChangeEmailRequest;
|
|
26
26
|
var t = react_i18next_1.useTranslation().t;
|
|
27
|
-
return (jsx_runtime_1.jsx(BackgroundLayer_1.default, { children: jsx_runtime_1.jsx(fuselage_1.Box, __assign({ display: 'flex', flexDirection: 'column', alignItems: 'center', textAlign: 'center', width: '100%', maxWidth: 576, paddingBlock: 32, paddingInline: 16 }, { children: jsx_runtime_1.jsxs(fuselage_1.Margins, __assign({ blockEnd: 32 }, { children: [jsx_runtime_1.jsx(OnboardingLogo_1.OnboardingLogo, {}, void 0), jsx_runtime_1.jsx(fuselage_1.Box, __assign({ fontWeight: 800, fontSize: 'x52', lineHeight: 'x62', fontFamily: 'sans' }, { children: t('page.awaitingConfirmation.title') }), void 0), jsx_runtime_1.jsx(fuselage_1.Box, __assign({ fontScale: '
|
|
27
|
+
return (jsx_runtime_1.jsx(BackgroundLayer_1.default, { children: jsx_runtime_1.jsx(fuselage_1.Box, __assign({ display: 'flex', flexDirection: 'column', alignItems: 'center', textAlign: 'center', width: '100%', maxWidth: 576, paddingBlock: 32, paddingInline: 16 }, { children: jsx_runtime_1.jsxs(fuselage_1.Margins, __assign({ blockEnd: 32 }, { children: [jsx_runtime_1.jsx(OnboardingLogo_1.OnboardingLogo, {}, void 0), jsx_runtime_1.jsx(fuselage_1.Box, __assign({ fontWeight: 800, fontSize: 'x52', lineHeight: 'x62', fontFamily: 'sans' }, { children: t('page.awaitingConfirmation.title') }), void 0), jsx_runtime_1.jsx(fuselage_1.Box, __assign({ fontScale: 'p1' }, { children: t('page.awaitingConfirmation.subtitle', { emailAddress: emailAddress }) }), void 0), jsx_runtime_1.jsx(fuselage_1.Box, __assign({ maxWidth: 498, padding: 'x18', width: 'full', fontSize: 'x22', lineHeight: 'x32', backgroundColor: colors_json_1.default.n700, borderRadius: 'x3' }, { children: securityCode }), void 0), jsx_runtime_1.jsx(EmailCodeFallback_1.default, { onResendEmailRequest: onResendEmailRequest, onChangeEmailRequest: onChangeEmailRequest }, void 0)] }), void 0) }), void 0) }, void 0));
|
|
28
28
|
};
|
|
29
29
|
exports.default = AwaitingConfirmationPage;
|
|
30
30
|
//# sourceMappingURL=AwaitingConfirmationPage.js.map
|
|
@@ -23,7 +23,7 @@ var OnboardingLogo_1 = require("../../common/OnboardingLogo");
|
|
|
23
23
|
var CheckYourEmailPage = function (_a) {
|
|
24
24
|
var onResendEmailRequest = _a.onResendEmailRequest, onChangeEmailRequest = _a.onChangeEmailRequest;
|
|
25
25
|
var t = react_i18next_1.useTranslation().t;
|
|
26
|
-
return (jsx_runtime_1.jsx(BackgroundLayer_1.default, { children: jsx_runtime_1.jsx(fuselage_1.Box, __assign({ display: 'flex', flexDirection: 'column', alignItems: 'center', textAlign: 'center', width: '100%', maxWidth: 576, paddingBlock: 32, paddingInline: 16 }, { children: jsx_runtime_1.jsxs(fuselage_1.Margins, __assign({ blockEnd: 32 }, { children: [jsx_runtime_1.jsx(OnboardingLogo_1.OnboardingLogo, {}, void 0), jsx_runtime_1.jsx(fuselage_1.Box, __assign({ fontWeight: 800, fontSize: 'x52', lineHeight: 'x62', fontFamily: 'sans' }, { children: t('page.checkYourEmail.title') }), void 0), jsx_runtime_1.jsx(fuselage_1.Box, __assign({ fontScale: '
|
|
26
|
+
return (jsx_runtime_1.jsx(BackgroundLayer_1.default, { children: jsx_runtime_1.jsx(fuselage_1.Box, __assign({ display: 'flex', flexDirection: 'column', alignItems: 'center', textAlign: 'center', width: '100%', maxWidth: 576, paddingBlock: 32, paddingInline: 16 }, { children: jsx_runtime_1.jsxs(fuselage_1.Margins, __assign({ blockEnd: 32 }, { children: [jsx_runtime_1.jsx(OnboardingLogo_1.OnboardingLogo, {}, void 0), jsx_runtime_1.jsx(fuselage_1.Box, __assign({ fontWeight: 800, fontSize: 'x52', lineHeight: 'x62', fontFamily: 'sans' }, { children: t('page.checkYourEmail.title') }), void 0), jsx_runtime_1.jsx(fuselage_1.Box, __assign({ fontScale: 'p1' }, { children: jsx_runtime_1.jsxs(react_i18next_1.Trans, __assign({ i18nKey: 'page.checkYourEmail.subtitle' }, { children: ["Your request has been sent successfully.", jsx_runtime_1.jsx("br", {}, void 0), "Check your email inbox to launch your Enterprise trial."] }), void 0) }), void 0), jsx_runtime_1.jsx(EmailCodeFallback_1.default, { onResendEmailRequest: onResendEmailRequest, onChangeEmailRequest: onChangeEmailRequest }, void 0)] }), void 0) }), void 0) }, void 0));
|
|
27
27
|
};
|
|
28
28
|
exports.default = CheckYourEmailPage;
|
|
29
29
|
//# sourceMappingURL=CheckYourEmailPage.js.map
|
|
@@ -30,7 +30,7 @@ var Description = function () {
|
|
|
30
30
|
var icon = react_1.useMemo(function () {
|
|
31
31
|
return encodeURIComponent(server_1.renderToStaticMarkup(jsx_runtime_1.jsx(PlanFeatureIcon_1.default, { color: color }, void 0)));
|
|
32
32
|
}, [color]);
|
|
33
|
-
return (jsx_runtime_1.jsxs(fuselage_1.Box, { children: [jsx_runtime_1.jsx(fuselage_1.Box, { children: jsx_runtime_1.jsxs(List_1.default, __assign({ color: color, spacing: 'x16', icon: icon }, { children: [jsx_runtime_1.jsx(List_1.default.Item, __assign({ fontScale: '
|
|
33
|
+
return (jsx_runtime_1.jsxs(fuselage_1.Box, { children: [jsx_runtime_1.jsx(fuselage_1.Box, { children: jsx_runtime_1.jsxs(List_1.default, __assign({ color: color, spacing: 'x16', icon: icon }, { children: [jsx_runtime_1.jsx(List_1.default.Item, __assign({ fontScale: 'h4' }, { children: t('page.cloudDescription.availability') }), void 0), jsx_runtime_1.jsx(List_1.default.Item, __assign({ fontScale: 'h4' }, { children: t('page.cloudDescription.auditing') }), void 0), jsx_runtime_1.jsx(List_1.default.Item, __assign({ fontScale: 'h4' }, { children: t('page.cloudDescription.engagement') }), void 0), jsx_runtime_1.jsx(List_1.default.Item, __assign({ fontScale: 'h4' }, { children: t('page.cloudDescription.ldap') }), void 0), jsx_runtime_1.jsx(List_1.default.Item, __assign({ fontScale: 'h4' }, { children: t('page.cloudDescription.omnichannel') }), void 0), jsx_runtime_1.jsx(List_1.default.Item, __assign({ fontScale: 'h4' }, { children: t('page.cloudDescription.sla') }), void 0), jsx_runtime_1.jsx(List_1.default.Item, __assign({ fontScale: 'h4' }, { children: t('page.cloudDescription.push') }), void 0)] }), void 0) }, void 0), jsx_runtime_1.jsx(fuselage_1.Box, __assign({ fontScale: 'micro', color: 'info' }, { children: t('page.cloudDescription.goldIncludes') }), void 0)] }, void 0));
|
|
34
34
|
};
|
|
35
35
|
exports.default = Description;
|
|
36
36
|
//# sourceMappingURL=Description.js.map
|
|
@@ -21,7 +21,7 @@ var BackgroundLayer_1 = __importDefault(require("../../common/BackgroundLayer"))
|
|
|
21
21
|
var OnboardingLogo_1 = require("../../common/OnboardingLogo");
|
|
22
22
|
var EmailConfirmedPage = function () {
|
|
23
23
|
var t = react_i18next_1.useTranslation().t;
|
|
24
|
-
return (jsx_runtime_1.jsx(BackgroundLayer_1.default, { children: jsx_runtime_1.jsx(fuselage_1.Box, __assign({ display: 'flex', flexDirection: 'column', alignItems: 'center', textAlign: 'center', width: '100%', maxWidth: 576, paddingBlock: 32, paddingInline: 16 }, { children: jsx_runtime_1.jsxs(fuselage_1.Margins, __assign({ blockEnd: 32 }, { children: [jsx_runtime_1.jsx(OnboardingLogo_1.OnboardingLogo, {}, void 0), jsx_runtime_1.jsx(fuselage_1.Box, __assign({ fontWeight: 800, fontSize: 'x52', lineHeight: 'x62', fontFamily: 'sans' }, { children: t('page.emailConfirmed.title') }), void 0), jsx_runtime_1.jsx(fuselage_1.Box, __assign({ fontScale: '
|
|
24
|
+
return (jsx_runtime_1.jsx(BackgroundLayer_1.default, { children: jsx_runtime_1.jsx(fuselage_1.Box, __assign({ display: 'flex', flexDirection: 'column', alignItems: 'center', textAlign: 'center', width: '100%', maxWidth: 576, paddingBlock: 32, paddingInline: 16 }, { children: jsx_runtime_1.jsxs(fuselage_1.Margins, __assign({ blockEnd: 32 }, { children: [jsx_runtime_1.jsx(OnboardingLogo_1.OnboardingLogo, {}, void 0), jsx_runtime_1.jsx(fuselage_1.Box, __assign({ fontWeight: 800, fontSize: 'x52', lineHeight: 'x62', fontFamily: 'sans' }, { children: t('page.emailConfirmed.title') }), void 0), jsx_runtime_1.jsx(fuselage_1.Box, __assign({ fontScale: 'p1' }, { children: t('page.emailConfirmed.subtitle') }), void 0)] }), void 0) }), void 0) }, void 0));
|
|
25
25
|
};
|
|
26
26
|
exports.default = EmailConfirmedPage;
|
|
27
27
|
//# sourceMappingURL=EmailConfirmedPage.js.map
|
|
@@ -22,7 +22,7 @@ var OnboardingLogo_1 = require("../../common/OnboardingLogo");
|
|
|
22
22
|
var InvalidLinkPage = function (_a) {
|
|
23
23
|
var onRequestNewLink = _a.onRequestNewLink;
|
|
24
24
|
var t = react_i18next_1.useTranslation().t;
|
|
25
|
-
return (jsx_runtime_1.jsx(BackgroundLayer_1.default, { children: jsx_runtime_1.jsx(fuselage_1.Box, __assign({ display: 'flex', flexDirection: 'column', alignItems: 'center', textAlign: 'center', width: '100%', maxWidth: 576, paddingBlock: 32, paddingInline: 16 }, { children: jsx_runtime_1.jsxs(fuselage_1.Margins, __assign({ blockEnd: 32 }, { children: [jsx_runtime_1.jsx(OnboardingLogo_1.OnboardingLogo, {}, void 0), jsx_runtime_1.jsx(fuselage_1.Box, __assign({ fontWeight: 800, fontSize: 'x52', lineHeight: 'x62', fontFamily: 'sans' }, { children: t('page.invalidLink.title') }), void 0), jsx_runtime_1.jsx(fuselage_1.Box, __assign({ fontScale: '
|
|
25
|
+
return (jsx_runtime_1.jsx(BackgroundLayer_1.default, { children: jsx_runtime_1.jsx(fuselage_1.Box, __assign({ display: 'flex', flexDirection: 'column', alignItems: 'center', textAlign: 'center', width: '100%', maxWidth: 576, paddingBlock: 32, paddingInline: 16 }, { children: jsx_runtime_1.jsxs(fuselage_1.Margins, __assign({ blockEnd: 32 }, { children: [jsx_runtime_1.jsx(OnboardingLogo_1.OnboardingLogo, {}, void 0), jsx_runtime_1.jsx(fuselage_1.Box, __assign({ fontWeight: 800, fontSize: 'x52', lineHeight: 'x62', fontFamily: 'sans' }, { children: t('page.invalidLink.title') }), void 0), jsx_runtime_1.jsx(fuselage_1.Box, __assign({ fontScale: 'p1' }, { children: t('page.invalidLink.content') }), void 0), jsx_runtime_1.jsx(fuselage_1.Button, __assign({ onClick: onRequestNewLink, primary: true }, { children: t('page.invalidLink.button.text') }), void 0)] }), void 0) }), void 0) }, void 0));
|
|
26
26
|
};
|
|
27
27
|
exports.default = InvalidLinkPage;
|
|
28
28
|
//# sourceMappingURL=InvalidLinkPage.js.map
|
|
@@ -23,7 +23,7 @@ var OnboardingLogo_1 = require("../../common/OnboardingLogo");
|
|
|
23
23
|
var LoginLinkEmailPage = function (_a) {
|
|
24
24
|
var onResendEmailRequest = _a.onResendEmailRequest, onChangeEmailRequest = _a.onChangeEmailRequest;
|
|
25
25
|
var t = react_i18next_1.useTranslation().t;
|
|
26
|
-
return (jsx_runtime_1.jsx(BackgroundLayer_1.default, { children: jsx_runtime_1.jsx(fuselage_1.Box, __assign({ display: 'flex', flexDirection: 'column', alignItems: 'center', textAlign: 'center', width: '100%', maxWidth: 800, paddingBlock: 32, paddingInline: 16 }, { children: jsx_runtime_1.jsxs(fuselage_1.Margins, __assign({ blockEnd: 32 }, { children: [jsx_runtime_1.jsx(OnboardingLogo_1.OnboardingLogo, {}, void 0), jsx_runtime_1.jsx(fuselage_1.Box, __assign({ fontWeight: 800, width: '100%', fontSize: 'x52', lineHeight: 'x62', fontFamily: 'sans' }, { children: t('page.magicLinkEmail.title') }), void 0), jsx_runtime_1.jsx(fuselage_1.Box, __assign({ fontScale: '
|
|
26
|
+
return (jsx_runtime_1.jsx(BackgroundLayer_1.default, { children: jsx_runtime_1.jsx(fuselage_1.Box, __assign({ display: 'flex', flexDirection: 'column', alignItems: 'center', textAlign: 'center', width: '100%', maxWidth: 800, paddingBlock: 32, paddingInline: 16 }, { children: jsx_runtime_1.jsxs(fuselage_1.Margins, __assign({ blockEnd: 32 }, { children: [jsx_runtime_1.jsx(OnboardingLogo_1.OnboardingLogo, {}, void 0), jsx_runtime_1.jsx(fuselage_1.Box, __assign({ fontWeight: 800, width: '100%', fontSize: 'x52', lineHeight: 'x62', fontFamily: 'sans' }, { children: t('page.magicLinkEmail.title') }), void 0), jsx_runtime_1.jsx(fuselage_1.Box, __assign({ fontScale: 'p1', maxWidth: 570 }, { children: jsx_runtime_1.jsx(react_i18next_1.Trans, { i18nKey: 'page.magicLinkEmail.subtitle' }, void 0) }), void 0), jsx_runtime_1.jsx(EmailCodeFallback_1.default, { onResendEmailRequest: onResendEmailRequest, onChangeEmailRequest: onChangeEmailRequest }, void 0)] }), void 0) }), void 0) }, void 0));
|
|
27
27
|
};
|
|
28
28
|
exports.default = LoginLinkEmailPage;
|
|
29
29
|
//# sourceMappingURL=LoginLinkEmailPage.js.map
|
|
@@ -35,7 +35,7 @@ var LoginForm_1 = __importDefault(require("../../forms/LoginForm"));
|
|
|
35
35
|
var LoginPage = function (_a) {
|
|
36
36
|
var onCreateAccount = _a.onCreateAccount, props = __rest(_a, ["onCreateAccount"]);
|
|
37
37
|
var t = react_i18next_1.useTranslation().t;
|
|
38
|
-
return (jsx_runtime_1.jsx(BackgroundLayer_1.default, { children: jsx_runtime_1.jsxs(fuselage_1.Box, __assign({ display: 'flex', flexDirection: 'column', alignItems: 'center', textAlign: 'center', width: '100%', maxWidth: 576, paddingBlock: 32, paddingInline: 16 }, { children: [jsx_runtime_1.jsx(OnboardingLogo_1.OnboardingLogo, { tag: 'Cloud' }, void 0), jsx_runtime_1.jsx(fuselage_1.Box, __assign({ fontWeight: 500, width: '100%', mb: 'x18', fontSize: 'x42', lineHeight: 'x62', fontFamily: 'sans' }, { children: t('page.loginPage.title.cloud') }), void 0), jsx_runtime_1.jsx(fuselage_1.Box, __assign({ width: 'full', backgroundColor: 'white' }, { children: jsx_runtime_1.jsx(fuselage_1.Box, __assign({ fontScale: 'c1' }, { children: jsx_runtime_1.jsx(LoginForm_1.default, __assign({}, props), void 0) }), void 0) }), void 0), jsx_runtime_1.jsx(fuselage_1.Box, __assign({ mb: 'x30', fontScale: '
|
|
38
|
+
return (jsx_runtime_1.jsx(BackgroundLayer_1.default, { children: jsx_runtime_1.jsxs(fuselage_1.Box, __assign({ display: 'flex', flexDirection: 'column', alignItems: 'center', textAlign: 'center', width: '100%', maxWidth: 576, paddingBlock: 32, paddingInline: 16 }, { children: [jsx_runtime_1.jsx(OnboardingLogo_1.OnboardingLogo, { tag: 'Cloud' }, void 0), jsx_runtime_1.jsx(fuselage_1.Box, __assign({ fontWeight: 500, width: '100%', mb: 'x18', fontSize: 'x42', lineHeight: 'x62', fontFamily: 'sans' }, { children: t('page.loginPage.title.cloud') }), void 0), jsx_runtime_1.jsx(fuselage_1.Box, __assign({ width: 'full', backgroundColor: 'white' }, { children: jsx_runtime_1.jsx(fuselage_1.Box, __assign({ fontScale: 'c1' }, { children: jsx_runtime_1.jsx(LoginForm_1.default, __assign({}, props), void 0) }), void 0) }), void 0), jsx_runtime_1.jsx(fuselage_1.Box, __assign({ mb: 'x30', fontScale: 'p3' }, { children: jsx_runtime_1.jsxs(react_i18next_1.Trans, __assign({ i18nKey: 'page.loginPage.createAccount.label' }, { children: ["New here?", jsx_runtime_1.jsx(ActionLink_1.default, __assign({ fontWeight: 400, fontScale: 'p3', onClick: onCreateAccount }, { children: "Create account" }), void 0)] }), void 0) }), void 0)] }), void 0) }, void 0));
|
|
39
39
|
};
|
|
40
40
|
exports.default = LoginPage;
|
|
41
41
|
//# sourceMappingURL=LoginPage.js.map
|
|
@@ -29,7 +29,7 @@ var Description = function () {
|
|
|
29
29
|
var icon = react_1.useMemo(function () {
|
|
30
30
|
return encodeURIComponent(server_1.renderToStaticMarkup(jsx_runtime_1.jsx(PlanFeatureIcon_1.default, { color: color }, void 0)));
|
|
31
31
|
}, [color]);
|
|
32
|
-
return (jsx_runtime_1.jsx(jsx_runtime_1.Fragment, { children: jsx_runtime_1.jsxs(List_1.default, __assign({ color: color, spacing: 'x16', icon: icon }, { children: [jsx_runtime_1.jsx(List_1.default.Item, __assign({ fontScale: '
|
|
32
|
+
return (jsx_runtime_1.jsx(jsx_runtime_1.Fragment, { children: jsx_runtime_1.jsxs(List_1.default, __assign({ color: color, spacing: 'x16', icon: icon }, { children: [jsx_runtime_1.jsx(List_1.default.Item, __assign({ fontScale: 'h4' }, { children: t('page.cloudDescription.availability') }), void 0), jsx_runtime_1.jsx(List_1.default.Item, __assign({ fontScale: 'h4' }, { children: t('page.cloudDescription.auditing') }), void 0), jsx_runtime_1.jsx(List_1.default.Item, __assign({ fontScale: 'h4' }, { children: t('page.cloudDescription.numberOfIntegrations') }), void 0), jsx_runtime_1.jsx(List_1.default.Item, __assign({ fontScale: 'h4' }, { children: t('page.cloudDescription.ldap') }), void 0), jsx_runtime_1.jsx(List_1.default.Item, __assign({ fontScale: 'h4' }, { children: t('page.cloudDescription.omnichannel') }), void 0), jsx_runtime_1.jsx(List_1.default.Item, __assign({ fontScale: 'h4' }, { children: t('page.cloudDescription.push') }), void 0)] }), void 0) }, void 0));
|
|
33
33
|
};
|
|
34
34
|
exports.default = Description;
|
|
35
35
|
//# sourceMappingURL=Description.js.map
|
|
@@ -14,7 +14,7 @@ import { Box } from '@rocket.chat/fuselage';
|
|
|
14
14
|
import colors from '@rocket.chat/fuselage-tokens/colors.json';
|
|
15
15
|
var FormSubtitle = function (_a) {
|
|
16
16
|
var children = _a.children;
|
|
17
|
-
return (_jsx(Box, __assign({ fontScale: '
|
|
17
|
+
return (_jsx(Box, __assign({ fontScale: 'p3', color: colors.n700 }, { children: children }), void 0));
|
|
18
18
|
};
|
|
19
19
|
export default FormSubtitle;
|
|
20
20
|
//# sourceMappingURL=FormSubtitle.js.map
|
|
@@ -13,7 +13,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
13
13
|
import { Box } from '@rocket.chat/fuselage';
|
|
14
14
|
var FormTitle = function (_a) {
|
|
15
15
|
var children = _a.children;
|
|
16
|
-
return (_jsx(Box, __assign({ mbe: 'x8', fontScale: '
|
|
16
|
+
return (_jsx(Box, __assign({ mbe: 'x8', fontScale: 'h2', fontWeight: 800 }, { children: children }), void 0));
|
|
17
17
|
};
|
|
18
18
|
export default FormTitle;
|
|
19
19
|
//# sourceMappingURL=FormTitle.js.map
|
|
@@ -10,7 +10,7 @@ declare const _default: (({ children, listStyleType, icon, spacing, color, }: {
|
|
|
10
10
|
children: import("react").ReactNode;
|
|
11
11
|
icon?: string | undefined;
|
|
12
12
|
iconColor?: (import("csstype").Property.Color & string) | undefined;
|
|
13
|
-
fontScale?: ("h1" | "
|
|
13
|
+
fontScale?: ("h1" | "h2" | "h3" | "h4" | "h5" | "hero" | "p1" | "p2" | "p3" | "p4" | "c1" | "c2" | "micro") | undefined;
|
|
14
14
|
}) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
15
15
|
};
|
|
16
16
|
export default _default;
|
|
@@ -15,7 +15,7 @@ import { Trans } from 'react-i18next';
|
|
|
15
15
|
import ActionLink from './ActionLink';
|
|
16
16
|
var ManageWorkspaceFallback = function (_a) {
|
|
17
17
|
var onManageWorkspaceClick = _a.onManageWorkspaceClick;
|
|
18
|
-
return (_jsx(Box, __assign({ fontScale: '
|
|
18
|
+
return (_jsx(Box, __assign({ fontScale: 'h4', pbs: 'x40' }, { children: _jsxs(Trans, __assign({ i18nKey: 'component.manageWorkspaceFallback' }, { children: ["Already have an account?", _jsx(ActionLink, __assign({ fontScale: 'h4', onClick: onManageWorkspaceClick }, { children: "Manage your workspaces." }), void 0)] }), void 0) }), void 0));
|
|
19
19
|
};
|
|
20
20
|
export default ManageWorkspaceFallback;
|
|
21
21
|
//# sourceMappingURL=ManageWorkspaceFallback.js.map
|
|
@@ -28,7 +28,7 @@ var LoginForm = function (_a) {
|
|
|
28
28
|
required: String(t('component.form.requiredField')),
|
|
29
29
|
}), { placeholder: t('form.loginForm.fields.email.placeholder') }), void 0) }, void 0), errors.email && _jsx(Field.Error, { children: errors.email.message }, void 0)] }, void 0), !isPasswordLess && (_jsxs(Field, { children: [_jsx(Field.Label, { children: t('form.loginForm.fields.password.label') }, void 0), _jsx(Field.Row, { children: _jsx(PasswordInput, __assign({}, register('password', { required: true }), { placeholder: t('form.loginForm.fields.password.placeholder') }), void 0) }, void 0), (formError || errors.password) && (_jsx(Field.Error, { children: t('form.loginForm.fields.password.error') }, void 0))] }, void 0))] }, void 0) }, void 0), _jsxs(Form.Footer, { children: [_jsxs(LoginActionsWrapper, { children: [_jsx(Button, __assign({ type: 'submit', disabled: isValidating || isSubmitting, primary: true }, { children: isPasswordLess
|
|
30
30
|
? t('form.loginForm.sendLoginLink')
|
|
31
|
-
: t('form.loginForm.button.text') }), void 0), !isPasswordLess && (_jsx(ActionLink, __assign({ fontScale: '
|
|
31
|
+
: t('form.loginForm.button.text') }), void 0), !isPasswordLess && (_jsx(ActionLink, __assign({ fontScale: 'p3', onClick: onChangeForm }, { children: t('form.loginForm.sendLoginLink') }), void 0)), isPasswordLess && (_jsx(ActionLink, __assign({ fontScale: 'p3', onClick: onChangeForm }, { children: t('form.loginForm.redirect') }), void 0))] }, void 0), !isPasswordLess && (_jsx(Box, __assign({ mbs: 'x24', fontScale: 'p3', textAlign: 'left' }, { children: _jsxs(Trans, __assign({ i18nKey: 'form.loginForm.resetPassword' }, { children: ["Forgot your password?", _jsx(ActionLink, __assign({ fontWeight: 400, fontScale: 'p3', onClick: onResetPassword }, { children: "Reset password" }), void 0)] }), void 0) }), void 0))] }, void 0)] }), void 0));
|
|
32
32
|
};
|
|
33
33
|
export default LoginForm;
|
|
34
34
|
//# sourceMappingURL=LoginForm.js.map
|
|
@@ -13,7 +13,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
13
13
|
import { Box } from '@rocket.chat/fuselage';
|
|
14
14
|
var Title = function (_a) {
|
|
15
15
|
var children = _a.children;
|
|
16
|
-
return (_jsx(Box, __assign({ fontScale: '
|
|
16
|
+
return (_jsx(Box, __assign({ fontScale: 'p4', color: 'default' }, { children: children }), void 0));
|
|
17
17
|
};
|
|
18
18
|
export default Title;
|
|
19
19
|
//# sourceMappingURL=Title.js.map
|
|
@@ -24,14 +24,14 @@ declare const _default: (({ selected, onClick, children, }: {
|
|
|
24
24
|
children: import("react").ReactNode;
|
|
25
25
|
icon?: string | undefined;
|
|
26
26
|
iconColor?: (import("csstype").Property.Color & string) | undefined;
|
|
27
|
-
fontScale?: ("h1" | "
|
|
27
|
+
fontScale?: ("h1" | "h2" | "h3" | "h4" | "h5" | "hero" | "p1" | "p2" | "p3" | "p4" | "c1" | "c2" | "micro") | undefined;
|
|
28
28
|
}) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
29
29
|
};
|
|
30
30
|
ListItem: ({ children, icon, iconColor, fontScale, }: {
|
|
31
31
|
children: import("react").ReactNode;
|
|
32
32
|
icon?: string | undefined;
|
|
33
33
|
iconColor?: (import("csstype").Property.Color & string) | undefined;
|
|
34
|
-
fontScale?: ("h1" | "
|
|
34
|
+
fontScale?: ("h1" | "h2" | "h3" | "h4" | "h5" | "hero" | "p1" | "p2" | "p3" | "p4" | "c1" | "c2" | "micro") | undefined;
|
|
35
35
|
}) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
36
36
|
Block: ({ children }: {
|
|
37
37
|
children: import("react").ReactNode;
|
|
@@ -19,7 +19,7 @@ import { OnboardingLogo } from '../../common/OnboardingLogo';
|
|
|
19
19
|
var AwaitingConfirmationPage = function (_a) {
|
|
20
20
|
var securityCode = _a.securityCode, emailAddress = _a.emailAddress, onResendEmailRequest = _a.onResendEmailRequest, onChangeEmailRequest = _a.onChangeEmailRequest;
|
|
21
21
|
var t = useTranslation().t;
|
|
22
|
-
return (_jsx(BackgroundLayer, { children: _jsx(Box, __assign({ display: 'flex', flexDirection: 'column', alignItems: 'center', textAlign: 'center', width: '100%', maxWidth: 576, paddingBlock: 32, paddingInline: 16 }, { children: _jsxs(Margins, __assign({ blockEnd: 32 }, { children: [_jsx(OnboardingLogo, {}, void 0), _jsx(Box, __assign({ fontWeight: 800, fontSize: 'x52', lineHeight: 'x62', fontFamily: 'sans' }, { children: t('page.awaitingConfirmation.title') }), void 0), _jsx(Box, __assign({ fontScale: '
|
|
22
|
+
return (_jsx(BackgroundLayer, { children: _jsx(Box, __assign({ display: 'flex', flexDirection: 'column', alignItems: 'center', textAlign: 'center', width: '100%', maxWidth: 576, paddingBlock: 32, paddingInline: 16 }, { children: _jsxs(Margins, __assign({ blockEnd: 32 }, { children: [_jsx(OnboardingLogo, {}, void 0), _jsx(Box, __assign({ fontWeight: 800, fontSize: 'x52', lineHeight: 'x62', fontFamily: 'sans' }, { children: t('page.awaitingConfirmation.title') }), void 0), _jsx(Box, __assign({ fontScale: 'p1' }, { children: t('page.awaitingConfirmation.subtitle', { emailAddress: emailAddress }) }), void 0), _jsx(Box, __assign({ maxWidth: 498, padding: 'x18', width: 'full', fontSize: 'x22', lineHeight: 'x32', backgroundColor: colors.n700, borderRadius: 'x3' }, { children: securityCode }), void 0), _jsx(EmailCodeFallback, { onResendEmailRequest: onResendEmailRequest, onChangeEmailRequest: onChangeEmailRequest }, void 0)] }), void 0) }), void 0) }, void 0));
|
|
23
23
|
};
|
|
24
24
|
export default AwaitingConfirmationPage;
|
|
25
25
|
//# sourceMappingURL=AwaitingConfirmationPage.js.map
|
|
@@ -18,7 +18,7 @@ import { OnboardingLogo } from '../../common/OnboardingLogo';
|
|
|
18
18
|
var CheckYourEmailPage = function (_a) {
|
|
19
19
|
var onResendEmailRequest = _a.onResendEmailRequest, onChangeEmailRequest = _a.onChangeEmailRequest;
|
|
20
20
|
var t = useTranslation().t;
|
|
21
|
-
return (_jsx(BackgroundLayer, { children: _jsx(Box, __assign({ display: 'flex', flexDirection: 'column', alignItems: 'center', textAlign: 'center', width: '100%', maxWidth: 576, paddingBlock: 32, paddingInline: 16 }, { children: _jsxs(Margins, __assign({ blockEnd: 32 }, { children: [_jsx(OnboardingLogo, {}, void 0), _jsx(Box, __assign({ fontWeight: 800, fontSize: 'x52', lineHeight: 'x62', fontFamily: 'sans' }, { children: t('page.checkYourEmail.title') }), void 0), _jsx(Box, __assign({ fontScale: '
|
|
21
|
+
return (_jsx(BackgroundLayer, { children: _jsx(Box, __assign({ display: 'flex', flexDirection: 'column', alignItems: 'center', textAlign: 'center', width: '100%', maxWidth: 576, paddingBlock: 32, paddingInline: 16 }, { children: _jsxs(Margins, __assign({ blockEnd: 32 }, { children: [_jsx(OnboardingLogo, {}, void 0), _jsx(Box, __assign({ fontWeight: 800, fontSize: 'x52', lineHeight: 'x62', fontFamily: 'sans' }, { children: t('page.checkYourEmail.title') }), void 0), _jsx(Box, __assign({ fontScale: 'p1' }, { children: _jsxs(Trans, __assign({ i18nKey: 'page.checkYourEmail.subtitle' }, { children: ["Your request has been sent successfully.", _jsx("br", {}, void 0), "Check your email inbox to launch your Enterprise trial."] }), void 0) }), void 0), _jsx(EmailCodeFallback, { onResendEmailRequest: onResendEmailRequest, onChangeEmailRequest: onChangeEmailRequest }, void 0)] }), void 0) }), void 0) }, void 0));
|
|
22
22
|
};
|
|
23
23
|
export default CheckYourEmailPage;
|
|
24
24
|
//# sourceMappingURL=CheckYourEmailPage.js.map
|
|
@@ -25,7 +25,7 @@ var Description = function () {
|
|
|
25
25
|
var icon = useMemo(function () {
|
|
26
26
|
return encodeURIComponent(renderToStaticMarkup(_jsx(PlanFeatureIcon, { color: color }, void 0)));
|
|
27
27
|
}, [color]);
|
|
28
|
-
return (_jsxs(Box, { children: [_jsx(Box, { children: _jsxs(List, __assign({ color: color, spacing: 'x16', icon: icon }, { children: [_jsx(List.Item, __assign({ fontScale: '
|
|
28
|
+
return (_jsxs(Box, { children: [_jsx(Box, { children: _jsxs(List, __assign({ color: color, spacing: 'x16', icon: icon }, { children: [_jsx(List.Item, __assign({ fontScale: 'h4' }, { children: t('page.cloudDescription.availability') }), void 0), _jsx(List.Item, __assign({ fontScale: 'h4' }, { children: t('page.cloudDescription.auditing') }), void 0), _jsx(List.Item, __assign({ fontScale: 'h4' }, { children: t('page.cloudDescription.engagement') }), void 0), _jsx(List.Item, __assign({ fontScale: 'h4' }, { children: t('page.cloudDescription.ldap') }), void 0), _jsx(List.Item, __assign({ fontScale: 'h4' }, { children: t('page.cloudDescription.omnichannel') }), void 0), _jsx(List.Item, __assign({ fontScale: 'h4' }, { children: t('page.cloudDescription.sla') }), void 0), _jsx(List.Item, __assign({ fontScale: 'h4' }, { children: t('page.cloudDescription.push') }), void 0)] }), void 0) }, void 0), _jsx(Box, __assign({ fontScale: 'micro', color: 'info' }, { children: t('page.cloudDescription.goldIncludes') }), void 0)] }, void 0));
|
|
29
29
|
};
|
|
30
30
|
export default Description;
|
|
31
31
|
//# sourceMappingURL=Description.js.map
|
|
@@ -16,7 +16,7 @@ import BackgroundLayer from '../../common/BackgroundLayer';
|
|
|
16
16
|
import { OnboardingLogo } from '../../common/OnboardingLogo';
|
|
17
17
|
var EmailConfirmedPage = function () {
|
|
18
18
|
var t = useTranslation().t;
|
|
19
|
-
return (_jsx(BackgroundLayer, { children: _jsx(Box, __assign({ display: 'flex', flexDirection: 'column', alignItems: 'center', textAlign: 'center', width: '100%', maxWidth: 576, paddingBlock: 32, paddingInline: 16 }, { children: _jsxs(Margins, __assign({ blockEnd: 32 }, { children: [_jsx(OnboardingLogo, {}, void 0), _jsx(Box, __assign({ fontWeight: 800, fontSize: 'x52', lineHeight: 'x62', fontFamily: 'sans' }, { children: t('page.emailConfirmed.title') }), void 0), _jsx(Box, __assign({ fontScale: '
|
|
19
|
+
return (_jsx(BackgroundLayer, { children: _jsx(Box, __assign({ display: 'flex', flexDirection: 'column', alignItems: 'center', textAlign: 'center', width: '100%', maxWidth: 576, paddingBlock: 32, paddingInline: 16 }, { children: _jsxs(Margins, __assign({ blockEnd: 32 }, { children: [_jsx(OnboardingLogo, {}, void 0), _jsx(Box, __assign({ fontWeight: 800, fontSize: 'x52', lineHeight: 'x62', fontFamily: 'sans' }, { children: t('page.emailConfirmed.title') }), void 0), _jsx(Box, __assign({ fontScale: 'p1' }, { children: t('page.emailConfirmed.subtitle') }), void 0)] }), void 0) }), void 0) }, void 0));
|
|
20
20
|
};
|
|
21
21
|
export default EmailConfirmedPage;
|
|
22
22
|
//# sourceMappingURL=EmailConfirmedPage.js.map
|
|
@@ -17,7 +17,7 @@ import { OnboardingLogo } from '../../common/OnboardingLogo';
|
|
|
17
17
|
var InvalidLinkPage = function (_a) {
|
|
18
18
|
var onRequestNewLink = _a.onRequestNewLink;
|
|
19
19
|
var t = useTranslation().t;
|
|
20
|
-
return (_jsx(BackgroundLayer, { children: _jsx(Box, __assign({ display: 'flex', flexDirection: 'column', alignItems: 'center', textAlign: 'center', width: '100%', maxWidth: 576, paddingBlock: 32, paddingInline: 16 }, { children: _jsxs(Margins, __assign({ blockEnd: 32 }, { children: [_jsx(OnboardingLogo, {}, void 0), _jsx(Box, __assign({ fontWeight: 800, fontSize: 'x52', lineHeight: 'x62', fontFamily: 'sans' }, { children: t('page.invalidLink.title') }), void 0), _jsx(Box, __assign({ fontScale: '
|
|
20
|
+
return (_jsx(BackgroundLayer, { children: _jsx(Box, __assign({ display: 'flex', flexDirection: 'column', alignItems: 'center', textAlign: 'center', width: '100%', maxWidth: 576, paddingBlock: 32, paddingInline: 16 }, { children: _jsxs(Margins, __assign({ blockEnd: 32 }, { children: [_jsx(OnboardingLogo, {}, void 0), _jsx(Box, __assign({ fontWeight: 800, fontSize: 'x52', lineHeight: 'x62', fontFamily: 'sans' }, { children: t('page.invalidLink.title') }), void 0), _jsx(Box, __assign({ fontScale: 'p1' }, { children: t('page.invalidLink.content') }), void 0), _jsx(Button, __assign({ onClick: onRequestNewLink, primary: true }, { children: t('page.invalidLink.button.text') }), void 0)] }), void 0) }), void 0) }, void 0));
|
|
21
21
|
};
|
|
22
22
|
export default InvalidLinkPage;
|
|
23
23
|
//# sourceMappingURL=InvalidLinkPage.js.map
|
|
@@ -18,7 +18,7 @@ import { OnboardingLogo } from '../../common/OnboardingLogo';
|
|
|
18
18
|
var LoginLinkEmailPage = function (_a) {
|
|
19
19
|
var onResendEmailRequest = _a.onResendEmailRequest, onChangeEmailRequest = _a.onChangeEmailRequest;
|
|
20
20
|
var t = useTranslation().t;
|
|
21
|
-
return (_jsx(BackgroundLayer, { children: _jsx(Box, __assign({ display: 'flex', flexDirection: 'column', alignItems: 'center', textAlign: 'center', width: '100%', maxWidth: 800, paddingBlock: 32, paddingInline: 16 }, { children: _jsxs(Margins, __assign({ blockEnd: 32 }, { children: [_jsx(OnboardingLogo, {}, void 0), _jsx(Box, __assign({ fontWeight: 800, width: '100%', fontSize: 'x52', lineHeight: 'x62', fontFamily: 'sans' }, { children: t('page.magicLinkEmail.title') }), void 0), _jsx(Box, __assign({ fontScale: '
|
|
21
|
+
return (_jsx(BackgroundLayer, { children: _jsx(Box, __assign({ display: 'flex', flexDirection: 'column', alignItems: 'center', textAlign: 'center', width: '100%', maxWidth: 800, paddingBlock: 32, paddingInline: 16 }, { children: _jsxs(Margins, __assign({ blockEnd: 32 }, { children: [_jsx(OnboardingLogo, {}, void 0), _jsx(Box, __assign({ fontWeight: 800, width: '100%', fontSize: 'x52', lineHeight: 'x62', fontFamily: 'sans' }, { children: t('page.magicLinkEmail.title') }), void 0), _jsx(Box, __assign({ fontScale: 'p1', maxWidth: 570 }, { children: _jsx(Trans, { i18nKey: 'page.magicLinkEmail.subtitle' }, void 0) }), void 0), _jsx(EmailCodeFallback, { onResendEmailRequest: onResendEmailRequest, onChangeEmailRequest: onChangeEmailRequest }, void 0)] }), void 0) }), void 0) }, void 0));
|
|
22
22
|
};
|
|
23
23
|
export default LoginLinkEmailPage;
|
|
24
24
|
//# sourceMappingURL=LoginLinkEmailPage.js.map
|
|
@@ -30,7 +30,7 @@ import LoginForm from '../../forms/LoginForm';
|
|
|
30
30
|
var LoginPage = function (_a) {
|
|
31
31
|
var onCreateAccount = _a.onCreateAccount, props = __rest(_a, ["onCreateAccount"]);
|
|
32
32
|
var t = useTranslation().t;
|
|
33
|
-
return (_jsx(BackgroundLayer, { children: _jsxs(Box, __assign({ display: 'flex', flexDirection: 'column', alignItems: 'center', textAlign: 'center', width: '100%', maxWidth: 576, paddingBlock: 32, paddingInline: 16 }, { children: [_jsx(OnboardingLogo, { tag: 'Cloud' }, void 0), _jsx(Box, __assign({ fontWeight: 500, width: '100%', mb: 'x18', fontSize: 'x42', lineHeight: 'x62', fontFamily: 'sans' }, { children: t('page.loginPage.title.cloud') }), void 0), _jsx(Box, __assign({ width: 'full', backgroundColor: 'white' }, { children: _jsx(Box, __assign({ fontScale: 'c1' }, { children: _jsx(LoginForm, __assign({}, props), void 0) }), void 0) }), void 0), _jsx(Box, __assign({ mb: 'x30', fontScale: '
|
|
33
|
+
return (_jsx(BackgroundLayer, { children: _jsxs(Box, __assign({ display: 'flex', flexDirection: 'column', alignItems: 'center', textAlign: 'center', width: '100%', maxWidth: 576, paddingBlock: 32, paddingInline: 16 }, { children: [_jsx(OnboardingLogo, { tag: 'Cloud' }, void 0), _jsx(Box, __assign({ fontWeight: 500, width: '100%', mb: 'x18', fontSize: 'x42', lineHeight: 'x62', fontFamily: 'sans' }, { children: t('page.loginPage.title.cloud') }), void 0), _jsx(Box, __assign({ width: 'full', backgroundColor: 'white' }, { children: _jsx(Box, __assign({ fontScale: 'c1' }, { children: _jsx(LoginForm, __assign({}, props), void 0) }), void 0) }), void 0), _jsx(Box, __assign({ mb: 'x30', fontScale: 'p3' }, { children: _jsxs(Trans, __assign({ i18nKey: 'page.loginPage.createAccount.label' }, { children: ["New here?", _jsx(ActionLink, __assign({ fontWeight: 400, fontScale: 'p3', onClick: onCreateAccount }, { children: "Create account" }), void 0)] }), void 0) }), void 0)] }), void 0) }, void 0));
|
|
34
34
|
};
|
|
35
35
|
export default LoginPage;
|
|
36
36
|
//# sourceMappingURL=LoginPage.js.map
|
|
@@ -24,7 +24,7 @@ var Description = function () {
|
|
|
24
24
|
var icon = useMemo(function () {
|
|
25
25
|
return encodeURIComponent(renderToStaticMarkup(_jsx(PlanFeatureIcon, { color: color }, void 0)));
|
|
26
26
|
}, [color]);
|
|
27
|
-
return (_jsx(_Fragment, { children: _jsxs(List, __assign({ color: color, spacing: 'x16', icon: icon }, { children: [_jsx(List.Item, __assign({ fontScale: '
|
|
27
|
+
return (_jsx(_Fragment, { children: _jsxs(List, __assign({ color: color, spacing: 'x16', icon: icon }, { children: [_jsx(List.Item, __assign({ fontScale: 'h4' }, { children: t('page.cloudDescription.availability') }), void 0), _jsx(List.Item, __assign({ fontScale: 'h4' }, { children: t('page.cloudDescription.auditing') }), void 0), _jsx(List.Item, __assign({ fontScale: 'h4' }, { children: t('page.cloudDescription.numberOfIntegrations') }), void 0), _jsx(List.Item, __assign({ fontScale: 'h4' }, { children: t('page.cloudDescription.ldap') }), void 0), _jsx(List.Item, __assign({ fontScale: 'h4' }, { children: t('page.cloudDescription.omnichannel') }), void 0), _jsx(List.Item, __assign({ fontScale: 'h4' }, { children: t('page.cloudDescription.push') }), void 0)] }), void 0) }, void 0));
|
|
28
28
|
};
|
|
29
29
|
export default Description;
|
|
30
30
|
//# sourceMappingURL=Description.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rocket.chat/onboarding-ui",
|
|
3
|
-
"version": "0.6.3-dev.
|
|
3
|
+
"version": "0.6.3-dev.359+1d4cbe57",
|
|
4
4
|
"description": "Set of components and functions for the onboarding experience on Rocket.Chat",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"rocketchat"
|
|
@@ -46,10 +46,10 @@
|
|
|
46
46
|
"url": "https://github.com/RocketChat/Rocket.Chat.Fuselage/issues"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@rocket.chat/eslint-config-alt": "^0.6.3-dev.
|
|
50
|
-
"@rocket.chat/fuselage-polyfills": "^0.6.3-dev.
|
|
51
|
-
"@rocket.chat/fuselage-tokens": "^0.6.3-dev.
|
|
52
|
-
"@rocket.chat/prettier-config": "^0.6.3-dev.
|
|
49
|
+
"@rocket.chat/eslint-config-alt": "^0.6.3-dev.359+1d4cbe57",
|
|
50
|
+
"@rocket.chat/fuselage-polyfills": "^0.6.3-dev.359+1d4cbe57",
|
|
51
|
+
"@rocket.chat/fuselage-tokens": "^0.6.3-dev.359+1d4cbe57",
|
|
52
|
+
"@rocket.chat/prettier-config": "^0.6.3-dev.359+1d4cbe57",
|
|
53
53
|
"@storybook/addon-essentials": "^6.3.4",
|
|
54
54
|
"@storybook/addons": "^6.3.4",
|
|
55
55
|
"@storybook/react": "^6.3.4",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"@types/react": "^17.0.34",
|
|
60
60
|
"@types/react-dom": "^17.0.11",
|
|
61
61
|
"countries-list": "^2.6.1",
|
|
62
|
-
"eslint": "^
|
|
62
|
+
"eslint": "^8.2.0",
|
|
63
63
|
"jest": "^27.3.1",
|
|
64
64
|
"lint-all": "^0.30.1",
|
|
65
65
|
"lint-staged": "^11.2.6",
|
|
@@ -75,11 +75,11 @@
|
|
|
75
75
|
"typescript": "^4.3.4"
|
|
76
76
|
},
|
|
77
77
|
"dependencies": {
|
|
78
|
-
"@rocket.chat/fuselage": "^0.6.3-dev.
|
|
79
|
-
"@rocket.chat/fuselage-hooks": "^0.6.3-dev.
|
|
80
|
-
"@rocket.chat/icons": "^0.6.3-dev.
|
|
81
|
-
"@rocket.chat/logo": "^0.6.3-dev.
|
|
82
|
-
"@rocket.chat/styled": "^0.6.3-dev.
|
|
78
|
+
"@rocket.chat/fuselage": "^0.6.3-dev.359+1d4cbe57",
|
|
79
|
+
"@rocket.chat/fuselage-hooks": "^0.6.3-dev.359+1d4cbe57",
|
|
80
|
+
"@rocket.chat/icons": "^0.6.3-dev.359+1d4cbe57",
|
|
81
|
+
"@rocket.chat/logo": "^0.6.3-dev.359+1d4cbe57",
|
|
82
|
+
"@rocket.chat/styled": "^0.6.3-dev.359+1d4cbe57",
|
|
83
83
|
"i18next": "^20.3.2",
|
|
84
84
|
"react-hook-form": "^7.10.1",
|
|
85
85
|
"react-i18next": "^11.11.0",
|
|
@@ -114,5 +114,5 @@
|
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
116
|
},
|
|
117
|
-
"gitHead": "
|
|
117
|
+
"gitHead": "1d4cbe573f224c882103dd646bd1c0fba32fe9bc"
|
|
118
118
|
}
|