@rocket.chat/onboarding-ui 0.6.3-dev.380 → 0.6.3-dev.385
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/List/index.d.ts +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/Title.js.map +1 -1
- package/dist/cjs/forms/RegisterServerForm/OptionCard/index.d.ts +2 -2
- package/dist/cjs/pages/CreateNewPasswordPage/CreateNewPasswordPage.js +1 -1
- package/dist/cjs/pages/LoginPage/LoginPage.js +1 -1
- package/dist/cjs/pages/ResetPasswordPage/ResetPasswordPage.js +1 -1
- package/dist/esm/common/Form/FormSubtitle.js +1 -1
- package/dist/esm/common/List/index.d.ts +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/Title.js.map +1 -1
- package/dist/esm/forms/RegisterServerForm/OptionCard/index.d.ts +2 -2
- package/dist/esm/pages/CreateNewPasswordPage/CreateNewPasswordPage.js +1 -1
- package/dist/esm/pages/LoginPage/LoginPage.js +1 -1
- package/dist/esm/pages/ResetPasswordPage/ResetPasswordPage.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: 'p2', color: colors_json_1.default.n700 }, { children: children }), void 0));
|
|
23
23
|
};
|
|
24
24
|
exports.default = FormSubtitle;
|
|
25
25
|
//# sourceMappingURL=FormSubtitle.js.map
|
|
@@ -10,7 +10,7 @@ declare const _default: (({ children, listStyleType, icon, spacing, color, }: {
|
|
|
10
10
|
children: import("react").ReactNode;
|
|
11
11
|
icon?: "audio" | "code" | "link" | "menu" | "video" | "circle" | "image" | "file" | "list" | "key" | "download" | "clip" | "italic" | "bold" | "info" | "underline" | "copy" | "user" | "arrow-back" | "arrow-collapse" | "arrow-down" | "arrow-down-box" | "arrow-expand" | "arrow-fall" | "arrow-jump" | "arrow-loop" | "arrow-return" | "arrow-rise" | "arrow-up-box" | "at" | "avatar" | "backspace" | "bag" | "ball" | "balloon" | "balloon-arrow-left" | "balloon-arrow-top-right" | "balloon-close-top-right" | "balloon-ellipsis" | "balloon-exclamation" | "balloon-off" | "balloons" | "balloon-text" | "ban" | "bell" | "bell-off" | "book" | "brush" | "burger" | "burger-arrow-left" | "business" | "calendar" | "camera" | "card" | "check" | "chevron-down" | "chevron-expand" | "chevron-left" | "chevron-right" | "chevron-up" | "circle-arrow-down" | "circle-check" | "circle-cross" | "circle-exclamation" | "clipboard" | "clock" | "cloud-arrow-up" | "cloud-plus" | "cog" | "condensed-view" | "contact" | "crop" | "cross" | "cross-small" | "cube" | "customize" | "desktop" | "dialpad" | "doc" | "document-eye" | "doner" | "emoji" | "emoji-neutral" | "emoji-plus" | "eraser" | "error-circle" | "exit" | "extended-view" | "eye" | "eye-off" | "fingerprint" | "flag" | "folder" | "globe" | "globe-off" | "group-by-type" | "hash" | "hashtag-lock" | "h-bar" | "headphone" | "headphone-off" | "headset" | "help" | "history" | "home" | "joystick" | "kebab" | "keyboard" | "language" | "list-bullets" | "list-numbers" | "live" | "lock" | "login" | "magnifier" | "mail" | "mail-arrow-top-right" | "meatballs" | "medium-view" | "members" | "mic" | "mic-off" | "mobile" | "moon" | "musical-note" | "new-window" | "pause" | "pause-unfilled" | "pencil" | "pencil-box" | "phone" | "phone-disabled" | "phone-in" | "phone-off" | "phone-out" | "pin" | "pin-map" | "play" | "plus" | "plus-small" | "podcast" | "quote" | "rec" | "refresh" | "send" | "send-filled" | "sheet" | "shield" | "shield-check" | "shredder" | "signal" | "sms" | "sort" | "sort-az" | "squares" | "stack" | "star" | "star-filled" | "strike" | "success-circle" | "sun" | "team" | "team-arrow-right" | "team-lock" | "text-decrease" | "text-increase" | "trash" | "undo" | "user-arrow-right" | "user-plus" | "video-disabled" | "video-filled" | "video-off" | "volume" | "volume-disabled" | "volume-lock" | "volume-off" | "warning" | "zip" | "add-reaction" | "add-user" | "attachment" | "back" | "baloon-arrow-left" | "baloon-arrow-top-right" | "baloon-close-top-right" | "baloon-ellipsis" | "baloon-exclamation" | "baloons" | "baloon-text" | "cancel" | "canned-response" | "chat" | "checkmark-circled" | "circled-arrow-down" | "computer" | "discover" | "discussion" | "edit" | "edit-rounded" | "file-document" | "file-generic" | "file-google-drive" | "file-pdf" | "files-audio" | "file-sheets" | "files-video" | "files-zip" | "game" | "hashtag" | "import" | "info-circled" | "jump" | "jump-to-message" | "map-pin" | "message" | "message-disabled" | "modal-warning" | "multiline" | "omnichannel" | "permalink" | "post" | "queue" | "reload" | "reply-directly" | "report" | "send-active" | "share" | "shield-alt" | "sign-out" | "sort-amount-down" | "th-list" | "thread" | "upload" | "user-rounded" | "file-keynote" | "hand-pointer" | "list-alt" | "livechat" | "loading" | "play-solid" | "reply" | "sort-down" | "sort-up" | "adobe" | "facebook" | "github" | "gitlab" | "google" | "google-drive" | "hubot" | "linkedin" | "twitter" | undefined;
|
|
12
12
|
iconColor?: (import("csstype").Property.Color & string) | undefined;
|
|
13
|
-
fontScale?: ("h1" | "h2" | "h3" | "h4" | "h5" | "hero" | "p1" | "p2" | "
|
|
13
|
+
fontScale?: ("h1" | "h2" | "h3" | "h4" | "h5" | "hero" | "p1" | "p1m" | "p1b" | "p2" | "p2m" | "p2b" | "c1" | "c2" | "micro") | undefined;
|
|
14
14
|
}) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
15
15
|
};
|
|
16
16
|
export default _default;
|
|
@@ -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: 'p2', onClick: onChangeForm }, { children: t('form.loginForm.sendLoginLink') }), void 0)), isPasswordLess && (jsx_runtime_1.jsx(ActionLink_1.default, __assign({ fontScale: 'p2', onClick: onChangeForm }, { children: t('form.loginForm.redirect') }), void 0))] }, void 0), !isPasswordLess && (jsx_runtime_1.jsx(fuselage_1.Box, __assign({ mbs: 'x24', fontScale: 'p2', 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: 'p2', 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: 'p2m', color: 'default' }, { children: children }), void 0));
|
|
19
19
|
};
|
|
20
20
|
exports.default = Title;
|
|
21
21
|
//# sourceMappingURL=Title.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Title.js","sourceRoot":"","sources":["../../../../../src/forms/RegisterServerForm/OptionCard/Title.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,kDAA4C;AAG5C,IAAM,KAAK,GAAG,UAAC,EAAqC;QAAnC,QAAQ,cAAA;IAA8C,OAAA,CACrE,kBAAC,cAAG,aAAC,SAAS,EAAC,
|
|
1
|
+
{"version":3,"file":"Title.js","sourceRoot":"","sources":["../../../../../src/forms/RegisterServerForm/OptionCard/Title.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,kDAA4C;AAG5C,IAAM,KAAK,GAAG,UAAC,EAAqC;QAAnC,QAAQ,cAAA;IAA8C,OAAA,CACrE,kBAAC,cAAG,aAAC,SAAS,EAAC,KAAK,EAAC,KAAK,EAAC,SAAS,gBACjC,QAAQ,YACL,CACP;AAJsE,CAItE,CAAC;AAEF,kBAAe,KAAK,CAAC"}
|
|
@@ -24,14 +24,14 @@ declare const _default: (({ selected, onClick, children, }: {
|
|
|
24
24
|
children: import("react").ReactNode;
|
|
25
25
|
icon?: "audio" | "code" | "link" | "menu" | "video" | "circle" | "image" | "file" | "list" | "key" | "download" | "clip" | "italic" | "bold" | "info" | "underline" | "copy" | "user" | "arrow-back" | "arrow-collapse" | "arrow-down" | "arrow-down-box" | "arrow-expand" | "arrow-fall" | "arrow-jump" | "arrow-loop" | "arrow-return" | "arrow-rise" | "arrow-up-box" | "at" | "avatar" | "backspace" | "bag" | "ball" | "balloon" | "balloon-arrow-left" | "balloon-arrow-top-right" | "balloon-close-top-right" | "balloon-ellipsis" | "balloon-exclamation" | "balloon-off" | "balloons" | "balloon-text" | "ban" | "bell" | "bell-off" | "book" | "brush" | "burger" | "burger-arrow-left" | "business" | "calendar" | "camera" | "card" | "check" | "chevron-down" | "chevron-expand" | "chevron-left" | "chevron-right" | "chevron-up" | "circle-arrow-down" | "circle-check" | "circle-cross" | "circle-exclamation" | "clipboard" | "clock" | "cloud-arrow-up" | "cloud-plus" | "cog" | "condensed-view" | "contact" | "crop" | "cross" | "cross-small" | "cube" | "customize" | "desktop" | "dialpad" | "doc" | "document-eye" | "doner" | "emoji" | "emoji-neutral" | "emoji-plus" | "eraser" | "error-circle" | "exit" | "extended-view" | "eye" | "eye-off" | "fingerprint" | "flag" | "folder" | "globe" | "globe-off" | "group-by-type" | "hash" | "hashtag-lock" | "h-bar" | "headphone" | "headphone-off" | "headset" | "help" | "history" | "home" | "joystick" | "kebab" | "keyboard" | "language" | "list-bullets" | "list-numbers" | "live" | "lock" | "login" | "magnifier" | "mail" | "mail-arrow-top-right" | "meatballs" | "medium-view" | "members" | "mic" | "mic-off" | "mobile" | "moon" | "musical-note" | "new-window" | "pause" | "pause-unfilled" | "pencil" | "pencil-box" | "phone" | "phone-disabled" | "phone-in" | "phone-off" | "phone-out" | "pin" | "pin-map" | "play" | "plus" | "plus-small" | "podcast" | "quote" | "rec" | "refresh" | "send" | "send-filled" | "sheet" | "shield" | "shield-check" | "shredder" | "signal" | "sms" | "sort" | "sort-az" | "squares" | "stack" | "star" | "star-filled" | "strike" | "success-circle" | "sun" | "team" | "team-arrow-right" | "team-lock" | "text-decrease" | "text-increase" | "trash" | "undo" | "user-arrow-right" | "user-plus" | "video-disabled" | "video-filled" | "video-off" | "volume" | "volume-disabled" | "volume-lock" | "volume-off" | "warning" | "zip" | "add-reaction" | "add-user" | "attachment" | "back" | "baloon-arrow-left" | "baloon-arrow-top-right" | "baloon-close-top-right" | "baloon-ellipsis" | "baloon-exclamation" | "baloons" | "baloon-text" | "cancel" | "canned-response" | "chat" | "checkmark-circled" | "circled-arrow-down" | "computer" | "discover" | "discussion" | "edit" | "edit-rounded" | "file-document" | "file-generic" | "file-google-drive" | "file-pdf" | "files-audio" | "file-sheets" | "files-video" | "files-zip" | "game" | "hashtag" | "import" | "info-circled" | "jump" | "jump-to-message" | "map-pin" | "message" | "message-disabled" | "modal-warning" | "multiline" | "omnichannel" | "permalink" | "post" | "queue" | "reload" | "reply-directly" | "report" | "send-active" | "share" | "shield-alt" | "sign-out" | "sort-amount-down" | "th-list" | "thread" | "upload" | "user-rounded" | "file-keynote" | "hand-pointer" | "list-alt" | "livechat" | "loading" | "play-solid" | "reply" | "sort-down" | "sort-up" | "adobe" | "facebook" | "github" | "gitlab" | "google" | "google-drive" | "hubot" | "linkedin" | "twitter" | undefined;
|
|
26
26
|
iconColor?: (import("csstype").Property.Color & string) | undefined;
|
|
27
|
-
fontScale?: ("h1" | "h2" | "h3" | "h4" | "h5" | "hero" | "p1" | "p2" | "
|
|
27
|
+
fontScale?: ("h1" | "h2" | "h3" | "h4" | "h5" | "hero" | "p1" | "p1m" | "p1b" | "p2" | "p2m" | "p2b" | "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?: "audio" | "code" | "link" | "menu" | "video" | "circle" | "image" | "file" | "list" | "key" | "download" | "clip" | "italic" | "bold" | "info" | "underline" | "copy" | "user" | "arrow-back" | "arrow-collapse" | "arrow-down" | "arrow-down-box" | "arrow-expand" | "arrow-fall" | "arrow-jump" | "arrow-loop" | "arrow-return" | "arrow-rise" | "arrow-up-box" | "at" | "avatar" | "backspace" | "bag" | "ball" | "balloon" | "balloon-arrow-left" | "balloon-arrow-top-right" | "balloon-close-top-right" | "balloon-ellipsis" | "balloon-exclamation" | "balloon-off" | "balloons" | "balloon-text" | "ban" | "bell" | "bell-off" | "book" | "brush" | "burger" | "burger-arrow-left" | "business" | "calendar" | "camera" | "card" | "check" | "chevron-down" | "chevron-expand" | "chevron-left" | "chevron-right" | "chevron-up" | "circle-arrow-down" | "circle-check" | "circle-cross" | "circle-exclamation" | "clipboard" | "clock" | "cloud-arrow-up" | "cloud-plus" | "cog" | "condensed-view" | "contact" | "crop" | "cross" | "cross-small" | "cube" | "customize" | "desktop" | "dialpad" | "doc" | "document-eye" | "doner" | "emoji" | "emoji-neutral" | "emoji-plus" | "eraser" | "error-circle" | "exit" | "extended-view" | "eye" | "eye-off" | "fingerprint" | "flag" | "folder" | "globe" | "globe-off" | "group-by-type" | "hash" | "hashtag-lock" | "h-bar" | "headphone" | "headphone-off" | "headset" | "help" | "history" | "home" | "joystick" | "kebab" | "keyboard" | "language" | "list-bullets" | "list-numbers" | "live" | "lock" | "login" | "magnifier" | "mail" | "mail-arrow-top-right" | "meatballs" | "medium-view" | "members" | "mic" | "mic-off" | "mobile" | "moon" | "musical-note" | "new-window" | "pause" | "pause-unfilled" | "pencil" | "pencil-box" | "phone" | "phone-disabled" | "phone-in" | "phone-off" | "phone-out" | "pin" | "pin-map" | "play" | "plus" | "plus-small" | "podcast" | "quote" | "rec" | "refresh" | "send" | "send-filled" | "sheet" | "shield" | "shield-check" | "shredder" | "signal" | "sms" | "sort" | "sort-az" | "squares" | "stack" | "star" | "star-filled" | "strike" | "success-circle" | "sun" | "team" | "team-arrow-right" | "team-lock" | "text-decrease" | "text-increase" | "trash" | "undo" | "user-arrow-right" | "user-plus" | "video-disabled" | "video-filled" | "video-off" | "volume" | "volume-disabled" | "volume-lock" | "volume-off" | "warning" | "zip" | "add-reaction" | "add-user" | "attachment" | "back" | "baloon-arrow-left" | "baloon-arrow-top-right" | "baloon-close-top-right" | "baloon-ellipsis" | "baloon-exclamation" | "baloons" | "baloon-text" | "cancel" | "canned-response" | "chat" | "checkmark-circled" | "circled-arrow-down" | "computer" | "discover" | "discussion" | "edit" | "edit-rounded" | "file-document" | "file-generic" | "file-google-drive" | "file-pdf" | "files-audio" | "file-sheets" | "files-video" | "files-zip" | "game" | "hashtag" | "import" | "info-circled" | "jump" | "jump-to-message" | "map-pin" | "message" | "message-disabled" | "modal-warning" | "multiline" | "omnichannel" | "permalink" | "post" | "queue" | "reload" | "reply-directly" | "report" | "send-active" | "share" | "shield-alt" | "sign-out" | "sort-amount-down" | "th-list" | "thread" | "upload" | "user-rounded" | "file-keynote" | "hand-pointer" | "list-alt" | "livechat" | "loading" | "play-solid" | "reply" | "sort-down" | "sort-up" | "adobe" | "facebook" | "github" | "gitlab" | "google" | "google-drive" | "hubot" | "linkedin" | "twitter" | undefined;
|
|
33
33
|
iconColor?: (import("csstype").Property.Color & string) | undefined;
|
|
34
|
-
fontScale?: ("h1" | "h2" | "h3" | "h4" | "h5" | "hero" | "p1" | "p2" | "
|
|
34
|
+
fontScale?: ("h1" | "h2" | "h3" | "h4" | "h5" | "hero" | "p1" | "p1m" | "p1b" | "p2" | "p2m" | "p2b" | "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;
|
|
@@ -38,7 +38,7 @@ var pageLayoutStyleProps = {
|
|
|
38
38
|
var ResetPasswordPage = function (_a) {
|
|
39
39
|
var onLogin = _a.onLogin, props = __rest(_a, ["onLogin"]);
|
|
40
40
|
var t = react_i18next_1.useTranslation().t;
|
|
41
|
-
return (jsx_runtime_1.jsx(BackgroundLayer_1.default, { children: jsx_runtime_1.jsxs(FormPageLayout_1.default, __assign({ title: t('page.createPasswordPage.title'), styleProps: pageLayoutStyleProps }, { children: [jsx_runtime_1.jsx(CreateNewPassword_1.default, __assign({}, props), void 0), jsx_runtime_1.jsx(fuselage_1.Box, __assign({ fontScale: '
|
|
41
|
+
return (jsx_runtime_1.jsx(BackgroundLayer_1.default, { children: jsx_runtime_1.jsxs(FormPageLayout_1.default, __assign({ title: t('page.createPasswordPage.title'), styleProps: pageLayoutStyleProps }, { children: [jsx_runtime_1.jsx(CreateNewPassword_1.default, __assign({}, props), void 0), jsx_runtime_1.jsx(fuselage_1.Box, __assign({ fontScale: 'p2', pbs: 'x40' }, { children: jsx_runtime_1.jsxs(react_i18next_1.Trans, __assign({ i18nKey: 'component.wantToLogin' }, { children: ["Want to log in?", jsx_runtime_1.jsx(ActionLink_1.default, __assign({ fontScale: 'p2', onClick: onLogin }, { children: "Go to login" }), void 0)] }), void 0) }), void 0)] }), void 0) }, void 0));
|
|
42
42
|
};
|
|
43
43
|
exports.default = ResetPasswordPage;
|
|
44
44
|
//# sourceMappingURL=CreateNewPasswordPage.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, {}, 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, {}, 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: 'p2' }, { 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: 'p2', 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
|
|
@@ -38,7 +38,7 @@ var pageLayoutStyleProps = {
|
|
|
38
38
|
var ResetPasswordPage = function (_a) {
|
|
39
39
|
var onLogin = _a.onLogin, props = __rest(_a, ["onLogin"]);
|
|
40
40
|
var t = react_i18next_1.useTranslation().t;
|
|
41
|
-
return (jsx_runtime_1.jsx(BackgroundLayer_1.default, { children: jsx_runtime_1.jsxs(FormPageLayout_1.default, __assign({ title: t('page.resetPasswordPage.title'), styleProps: pageLayoutStyleProps }, { children: [jsx_runtime_1.jsx(ResetPasswordForm_1.default, __assign({}, props), void 0), jsx_runtime_1.jsx(fuselage_1.Box, __assign({ fontScale: '
|
|
41
|
+
return (jsx_runtime_1.jsx(BackgroundLayer_1.default, { children: jsx_runtime_1.jsxs(FormPageLayout_1.default, __assign({ title: t('page.resetPasswordPage.title'), styleProps: pageLayoutStyleProps }, { children: [jsx_runtime_1.jsx(ResetPasswordForm_1.default, __assign({}, props), void 0), jsx_runtime_1.jsx(fuselage_1.Box, __assign({ fontScale: 'p2', pbs: 'x40' }, { children: jsx_runtime_1.jsxs(react_i18next_1.Trans, __assign({ i18nKey: 'component.wantToLogin' }, { children: ["Want to log in?", jsx_runtime_1.jsx(ActionLink_1.default, __assign({ fontScale: 'p2', onClick: onLogin }, { children: "Go to login" }), void 0)] }), void 0) }), void 0)] }), void 0) }, void 0));
|
|
42
42
|
};
|
|
43
43
|
exports.default = ResetPasswordPage;
|
|
44
44
|
//# sourceMappingURL=ResetPasswordPage.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: 'p2', color: colors.n700 }, { children: children }), void 0));
|
|
18
18
|
};
|
|
19
19
|
export default FormSubtitle;
|
|
20
20
|
//# sourceMappingURL=FormSubtitle.js.map
|
|
@@ -10,7 +10,7 @@ declare const _default: (({ children, listStyleType, icon, spacing, color, }: {
|
|
|
10
10
|
children: import("react").ReactNode;
|
|
11
11
|
icon?: "audio" | "code" | "link" | "menu" | "video" | "circle" | "image" | "file" | "list" | "key" | "download" | "clip" | "italic" | "bold" | "info" | "underline" | "copy" | "user" | "arrow-back" | "arrow-collapse" | "arrow-down" | "arrow-down-box" | "arrow-expand" | "arrow-fall" | "arrow-jump" | "arrow-loop" | "arrow-return" | "arrow-rise" | "arrow-up-box" | "at" | "avatar" | "backspace" | "bag" | "ball" | "balloon" | "balloon-arrow-left" | "balloon-arrow-top-right" | "balloon-close-top-right" | "balloon-ellipsis" | "balloon-exclamation" | "balloon-off" | "balloons" | "balloon-text" | "ban" | "bell" | "bell-off" | "book" | "brush" | "burger" | "burger-arrow-left" | "business" | "calendar" | "camera" | "card" | "check" | "chevron-down" | "chevron-expand" | "chevron-left" | "chevron-right" | "chevron-up" | "circle-arrow-down" | "circle-check" | "circle-cross" | "circle-exclamation" | "clipboard" | "clock" | "cloud-arrow-up" | "cloud-plus" | "cog" | "condensed-view" | "contact" | "crop" | "cross" | "cross-small" | "cube" | "customize" | "desktop" | "dialpad" | "doc" | "document-eye" | "doner" | "emoji" | "emoji-neutral" | "emoji-plus" | "eraser" | "error-circle" | "exit" | "extended-view" | "eye" | "eye-off" | "fingerprint" | "flag" | "folder" | "globe" | "globe-off" | "group-by-type" | "hash" | "hashtag-lock" | "h-bar" | "headphone" | "headphone-off" | "headset" | "help" | "history" | "home" | "joystick" | "kebab" | "keyboard" | "language" | "list-bullets" | "list-numbers" | "live" | "lock" | "login" | "magnifier" | "mail" | "mail-arrow-top-right" | "meatballs" | "medium-view" | "members" | "mic" | "mic-off" | "mobile" | "moon" | "musical-note" | "new-window" | "pause" | "pause-unfilled" | "pencil" | "pencil-box" | "phone" | "phone-disabled" | "phone-in" | "phone-off" | "phone-out" | "pin" | "pin-map" | "play" | "plus" | "plus-small" | "podcast" | "quote" | "rec" | "refresh" | "send" | "send-filled" | "sheet" | "shield" | "shield-check" | "shredder" | "signal" | "sms" | "sort" | "sort-az" | "squares" | "stack" | "star" | "star-filled" | "strike" | "success-circle" | "sun" | "team" | "team-arrow-right" | "team-lock" | "text-decrease" | "text-increase" | "trash" | "undo" | "user-arrow-right" | "user-plus" | "video-disabled" | "video-filled" | "video-off" | "volume" | "volume-disabled" | "volume-lock" | "volume-off" | "warning" | "zip" | "add-reaction" | "add-user" | "attachment" | "back" | "baloon-arrow-left" | "baloon-arrow-top-right" | "baloon-close-top-right" | "baloon-ellipsis" | "baloon-exclamation" | "baloons" | "baloon-text" | "cancel" | "canned-response" | "chat" | "checkmark-circled" | "circled-arrow-down" | "computer" | "discover" | "discussion" | "edit" | "edit-rounded" | "file-document" | "file-generic" | "file-google-drive" | "file-pdf" | "files-audio" | "file-sheets" | "files-video" | "files-zip" | "game" | "hashtag" | "import" | "info-circled" | "jump" | "jump-to-message" | "map-pin" | "message" | "message-disabled" | "modal-warning" | "multiline" | "omnichannel" | "permalink" | "post" | "queue" | "reload" | "reply-directly" | "report" | "send-active" | "share" | "shield-alt" | "sign-out" | "sort-amount-down" | "th-list" | "thread" | "upload" | "user-rounded" | "file-keynote" | "hand-pointer" | "list-alt" | "livechat" | "loading" | "play-solid" | "reply" | "sort-down" | "sort-up" | "adobe" | "facebook" | "github" | "gitlab" | "google" | "google-drive" | "hubot" | "linkedin" | "twitter" | undefined;
|
|
12
12
|
iconColor?: (import("csstype").Property.Color & string) | undefined;
|
|
13
|
-
fontScale?: ("h1" | "h2" | "h3" | "h4" | "h5" | "hero" | "p1" | "p2" | "
|
|
13
|
+
fontScale?: ("h1" | "h2" | "h3" | "h4" | "h5" | "hero" | "p1" | "p1m" | "p1b" | "p2" | "p2m" | "p2b" | "c1" | "c2" | "micro") | undefined;
|
|
14
14
|
}) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
15
15
|
};
|
|
16
16
|
export default _default;
|
|
@@ -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: 'p2', onClick: onChangeForm }, { children: t('form.loginForm.sendLoginLink') }), void 0)), isPasswordLess && (_jsx(ActionLink, __assign({ fontScale: 'p2', onClick: onChangeForm }, { children: t('form.loginForm.redirect') }), void 0))] }, void 0), !isPasswordLess && (_jsx(Box, __assign({ mbs: 'x24', fontScale: 'p2', textAlign: 'left' }, { children: _jsxs(Trans, __assign({ i18nKey: 'form.loginForm.resetPassword' }, { children: ["Forgot your password?", _jsx(ActionLink, __assign({ fontWeight: 400, fontScale: 'p2', 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: 'p2m', color: 'default' }, { children: children }), void 0));
|
|
17
17
|
};
|
|
18
18
|
export default Title;
|
|
19
19
|
//# sourceMappingURL=Title.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Title.js","sourceRoot":"","sources":["../../../../../src/forms/RegisterServerForm/OptionCard/Title.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAC;AAG5C,IAAM,KAAK,GAAG,UAAC,EAAqC;QAAnC,QAAQ,cAAA;IAA8C,OAAA,CACrE,KAAC,GAAG,aAAC,SAAS,EAAC,
|
|
1
|
+
{"version":3,"file":"Title.js","sourceRoot":"","sources":["../../../../../src/forms/RegisterServerForm/OptionCard/Title.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAC;AAG5C,IAAM,KAAK,GAAG,UAAC,EAAqC;QAAnC,QAAQ,cAAA;IAA8C,OAAA,CACrE,KAAC,GAAG,aAAC,SAAS,EAAC,KAAK,EAAC,KAAK,EAAC,SAAS,gBACjC,QAAQ,YACL,CACP;AAJsE,CAItE,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
@@ -24,14 +24,14 @@ declare const _default: (({ selected, onClick, children, }: {
|
|
|
24
24
|
children: import("react").ReactNode;
|
|
25
25
|
icon?: "audio" | "code" | "link" | "menu" | "video" | "circle" | "image" | "file" | "list" | "key" | "download" | "clip" | "italic" | "bold" | "info" | "underline" | "copy" | "user" | "arrow-back" | "arrow-collapse" | "arrow-down" | "arrow-down-box" | "arrow-expand" | "arrow-fall" | "arrow-jump" | "arrow-loop" | "arrow-return" | "arrow-rise" | "arrow-up-box" | "at" | "avatar" | "backspace" | "bag" | "ball" | "balloon" | "balloon-arrow-left" | "balloon-arrow-top-right" | "balloon-close-top-right" | "balloon-ellipsis" | "balloon-exclamation" | "balloon-off" | "balloons" | "balloon-text" | "ban" | "bell" | "bell-off" | "book" | "brush" | "burger" | "burger-arrow-left" | "business" | "calendar" | "camera" | "card" | "check" | "chevron-down" | "chevron-expand" | "chevron-left" | "chevron-right" | "chevron-up" | "circle-arrow-down" | "circle-check" | "circle-cross" | "circle-exclamation" | "clipboard" | "clock" | "cloud-arrow-up" | "cloud-plus" | "cog" | "condensed-view" | "contact" | "crop" | "cross" | "cross-small" | "cube" | "customize" | "desktop" | "dialpad" | "doc" | "document-eye" | "doner" | "emoji" | "emoji-neutral" | "emoji-plus" | "eraser" | "error-circle" | "exit" | "extended-view" | "eye" | "eye-off" | "fingerprint" | "flag" | "folder" | "globe" | "globe-off" | "group-by-type" | "hash" | "hashtag-lock" | "h-bar" | "headphone" | "headphone-off" | "headset" | "help" | "history" | "home" | "joystick" | "kebab" | "keyboard" | "language" | "list-bullets" | "list-numbers" | "live" | "lock" | "login" | "magnifier" | "mail" | "mail-arrow-top-right" | "meatballs" | "medium-view" | "members" | "mic" | "mic-off" | "mobile" | "moon" | "musical-note" | "new-window" | "pause" | "pause-unfilled" | "pencil" | "pencil-box" | "phone" | "phone-disabled" | "phone-in" | "phone-off" | "phone-out" | "pin" | "pin-map" | "play" | "plus" | "plus-small" | "podcast" | "quote" | "rec" | "refresh" | "send" | "send-filled" | "sheet" | "shield" | "shield-check" | "shredder" | "signal" | "sms" | "sort" | "sort-az" | "squares" | "stack" | "star" | "star-filled" | "strike" | "success-circle" | "sun" | "team" | "team-arrow-right" | "team-lock" | "text-decrease" | "text-increase" | "trash" | "undo" | "user-arrow-right" | "user-plus" | "video-disabled" | "video-filled" | "video-off" | "volume" | "volume-disabled" | "volume-lock" | "volume-off" | "warning" | "zip" | "add-reaction" | "add-user" | "attachment" | "back" | "baloon-arrow-left" | "baloon-arrow-top-right" | "baloon-close-top-right" | "baloon-ellipsis" | "baloon-exclamation" | "baloons" | "baloon-text" | "cancel" | "canned-response" | "chat" | "checkmark-circled" | "circled-arrow-down" | "computer" | "discover" | "discussion" | "edit" | "edit-rounded" | "file-document" | "file-generic" | "file-google-drive" | "file-pdf" | "files-audio" | "file-sheets" | "files-video" | "files-zip" | "game" | "hashtag" | "import" | "info-circled" | "jump" | "jump-to-message" | "map-pin" | "message" | "message-disabled" | "modal-warning" | "multiline" | "omnichannel" | "permalink" | "post" | "queue" | "reload" | "reply-directly" | "report" | "send-active" | "share" | "shield-alt" | "sign-out" | "sort-amount-down" | "th-list" | "thread" | "upload" | "user-rounded" | "file-keynote" | "hand-pointer" | "list-alt" | "livechat" | "loading" | "play-solid" | "reply" | "sort-down" | "sort-up" | "adobe" | "facebook" | "github" | "gitlab" | "google" | "google-drive" | "hubot" | "linkedin" | "twitter" | undefined;
|
|
26
26
|
iconColor?: (import("csstype").Property.Color & string) | undefined;
|
|
27
|
-
fontScale?: ("h1" | "h2" | "h3" | "h4" | "h5" | "hero" | "p1" | "p2" | "
|
|
27
|
+
fontScale?: ("h1" | "h2" | "h3" | "h4" | "h5" | "hero" | "p1" | "p1m" | "p1b" | "p2" | "p2m" | "p2b" | "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?: "audio" | "code" | "link" | "menu" | "video" | "circle" | "image" | "file" | "list" | "key" | "download" | "clip" | "italic" | "bold" | "info" | "underline" | "copy" | "user" | "arrow-back" | "arrow-collapse" | "arrow-down" | "arrow-down-box" | "arrow-expand" | "arrow-fall" | "arrow-jump" | "arrow-loop" | "arrow-return" | "arrow-rise" | "arrow-up-box" | "at" | "avatar" | "backspace" | "bag" | "ball" | "balloon" | "balloon-arrow-left" | "balloon-arrow-top-right" | "balloon-close-top-right" | "balloon-ellipsis" | "balloon-exclamation" | "balloon-off" | "balloons" | "balloon-text" | "ban" | "bell" | "bell-off" | "book" | "brush" | "burger" | "burger-arrow-left" | "business" | "calendar" | "camera" | "card" | "check" | "chevron-down" | "chevron-expand" | "chevron-left" | "chevron-right" | "chevron-up" | "circle-arrow-down" | "circle-check" | "circle-cross" | "circle-exclamation" | "clipboard" | "clock" | "cloud-arrow-up" | "cloud-plus" | "cog" | "condensed-view" | "contact" | "crop" | "cross" | "cross-small" | "cube" | "customize" | "desktop" | "dialpad" | "doc" | "document-eye" | "doner" | "emoji" | "emoji-neutral" | "emoji-plus" | "eraser" | "error-circle" | "exit" | "extended-view" | "eye" | "eye-off" | "fingerprint" | "flag" | "folder" | "globe" | "globe-off" | "group-by-type" | "hash" | "hashtag-lock" | "h-bar" | "headphone" | "headphone-off" | "headset" | "help" | "history" | "home" | "joystick" | "kebab" | "keyboard" | "language" | "list-bullets" | "list-numbers" | "live" | "lock" | "login" | "magnifier" | "mail" | "mail-arrow-top-right" | "meatballs" | "medium-view" | "members" | "mic" | "mic-off" | "mobile" | "moon" | "musical-note" | "new-window" | "pause" | "pause-unfilled" | "pencil" | "pencil-box" | "phone" | "phone-disabled" | "phone-in" | "phone-off" | "phone-out" | "pin" | "pin-map" | "play" | "plus" | "plus-small" | "podcast" | "quote" | "rec" | "refresh" | "send" | "send-filled" | "sheet" | "shield" | "shield-check" | "shredder" | "signal" | "sms" | "sort" | "sort-az" | "squares" | "stack" | "star" | "star-filled" | "strike" | "success-circle" | "sun" | "team" | "team-arrow-right" | "team-lock" | "text-decrease" | "text-increase" | "trash" | "undo" | "user-arrow-right" | "user-plus" | "video-disabled" | "video-filled" | "video-off" | "volume" | "volume-disabled" | "volume-lock" | "volume-off" | "warning" | "zip" | "add-reaction" | "add-user" | "attachment" | "back" | "baloon-arrow-left" | "baloon-arrow-top-right" | "baloon-close-top-right" | "baloon-ellipsis" | "baloon-exclamation" | "baloons" | "baloon-text" | "cancel" | "canned-response" | "chat" | "checkmark-circled" | "circled-arrow-down" | "computer" | "discover" | "discussion" | "edit" | "edit-rounded" | "file-document" | "file-generic" | "file-google-drive" | "file-pdf" | "files-audio" | "file-sheets" | "files-video" | "files-zip" | "game" | "hashtag" | "import" | "info-circled" | "jump" | "jump-to-message" | "map-pin" | "message" | "message-disabled" | "modal-warning" | "multiline" | "omnichannel" | "permalink" | "post" | "queue" | "reload" | "reply-directly" | "report" | "send-active" | "share" | "shield-alt" | "sign-out" | "sort-amount-down" | "th-list" | "thread" | "upload" | "user-rounded" | "file-keynote" | "hand-pointer" | "list-alt" | "livechat" | "loading" | "play-solid" | "reply" | "sort-down" | "sort-up" | "adobe" | "facebook" | "github" | "gitlab" | "google" | "google-drive" | "hubot" | "linkedin" | "twitter" | undefined;
|
|
33
33
|
iconColor?: (import("csstype").Property.Color & string) | undefined;
|
|
34
|
-
fontScale?: ("h1" | "h2" | "h3" | "h4" | "h5" | "hero" | "p1" | "p2" | "
|
|
34
|
+
fontScale?: ("h1" | "h2" | "h3" | "h4" | "h5" | "hero" | "p1" | "p1m" | "p1b" | "p2" | "p2m" | "p2b" | "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;
|
|
@@ -33,7 +33,7 @@ var pageLayoutStyleProps = {
|
|
|
33
33
|
var ResetPasswordPage = function (_a) {
|
|
34
34
|
var onLogin = _a.onLogin, props = __rest(_a, ["onLogin"]);
|
|
35
35
|
var t = useTranslation().t;
|
|
36
|
-
return (_jsx(BackgroundLayer, { children: _jsxs(FormPageLayout, __assign({ title: t('page.createPasswordPage.title'), styleProps: pageLayoutStyleProps }, { children: [_jsx(CreateNewPasswordForm, __assign({}, props), void 0), _jsx(Box, __assign({ fontScale: '
|
|
36
|
+
return (_jsx(BackgroundLayer, { children: _jsxs(FormPageLayout, __assign({ title: t('page.createPasswordPage.title'), styleProps: pageLayoutStyleProps }, { children: [_jsx(CreateNewPasswordForm, __assign({}, props), void 0), _jsx(Box, __assign({ fontScale: 'p2', pbs: 'x40' }, { children: _jsxs(Trans, __assign({ i18nKey: 'component.wantToLogin' }, { children: ["Want to log in?", _jsx(ActionLink, __assign({ fontScale: 'p2', onClick: onLogin }, { children: "Go to login" }), void 0)] }), void 0) }), void 0)] }), void 0) }, void 0));
|
|
37
37
|
};
|
|
38
38
|
export default ResetPasswordPage;
|
|
39
39
|
//# sourceMappingURL=CreateNewPasswordPage.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, {}, 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, {}, 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: 'p2' }, { children: _jsxs(Trans, __assign({ i18nKey: 'page.loginPage.createAccount.label' }, { children: ["New here?", _jsx(ActionLink, __assign({ fontWeight: 400, fontScale: 'p2', 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
|
|
@@ -33,7 +33,7 @@ var pageLayoutStyleProps = {
|
|
|
33
33
|
var ResetPasswordPage = function (_a) {
|
|
34
34
|
var onLogin = _a.onLogin, props = __rest(_a, ["onLogin"]);
|
|
35
35
|
var t = useTranslation().t;
|
|
36
|
-
return (_jsx(BackgroundLayer, { children: _jsxs(FormPageLayout, __assign({ title: t('page.resetPasswordPage.title'), styleProps: pageLayoutStyleProps }, { children: [_jsx(ResetPasswordForm, __assign({}, props), void 0), _jsx(Box, __assign({ fontScale: '
|
|
36
|
+
return (_jsx(BackgroundLayer, { children: _jsxs(FormPageLayout, __assign({ title: t('page.resetPasswordPage.title'), styleProps: pageLayoutStyleProps }, { children: [_jsx(ResetPasswordForm, __assign({}, props), void 0), _jsx(Box, __assign({ fontScale: 'p2', pbs: 'x40' }, { children: _jsxs(Trans, __assign({ i18nKey: 'component.wantToLogin' }, { children: ["Want to log in?", _jsx(ActionLink, __assign({ fontScale: 'p2', onClick: onLogin }, { children: "Go to login" }), void 0)] }), void 0) }), void 0)] }), void 0) }, void 0));
|
|
37
37
|
};
|
|
38
38
|
export default ResetPasswordPage;
|
|
39
39
|
//# sourceMappingURL=ResetPasswordPage.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.385+1411dc73",
|
|
4
4
|
"description": "Set of components and functions for the onboarding experience on Rocket.Chat",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"rocketchat"
|
|
@@ -47,10 +47,10 @@
|
|
|
47
47
|
"url": "https://github.com/RocketChat/Rocket.Chat.Fuselage/issues"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@rocket.chat/eslint-config-alt": "^0.
|
|
51
|
-
"@rocket.chat/fuselage-polyfills": "^0.
|
|
52
|
-
"@rocket.chat/fuselage-tokens": "^0.
|
|
53
|
-
"@rocket.chat/prettier-config": "^0.
|
|
50
|
+
"@rocket.chat/eslint-config-alt": "^0.31.0",
|
|
51
|
+
"@rocket.chat/fuselage-polyfills": "^0.31.0",
|
|
52
|
+
"@rocket.chat/fuselage-tokens": "^0.31.0",
|
|
53
|
+
"@rocket.chat/prettier-config": "^0.31.0",
|
|
54
54
|
"@storybook/addon-essentials": "^6.3.4",
|
|
55
55
|
"@storybook/addons": "^6.3.4",
|
|
56
56
|
"@storybook/react": "^6.3.4",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"countries-list": "^2.6.1",
|
|
63
63
|
"eslint": "^8.2.0",
|
|
64
64
|
"jest": "^27.3.1",
|
|
65
|
-
"lint-all": "^0.
|
|
65
|
+
"lint-all": "^0.31.0",
|
|
66
66
|
"lint-staged": "^11.2.6",
|
|
67
67
|
"loki": "^0.28.1",
|
|
68
68
|
"npm-run-all": "^4.1.5",
|
|
@@ -76,11 +76,11 @@
|
|
|
76
76
|
"typescript": "^4.3.4"
|
|
77
77
|
},
|
|
78
78
|
"dependencies": {
|
|
79
|
-
"@rocket.chat/fuselage": "^0.6.3-dev.
|
|
80
|
-
"@rocket.chat/fuselage-hooks": "^0.6.3-dev.
|
|
81
|
-
"@rocket.chat/icons": "^0.
|
|
82
|
-
"@rocket.chat/logo": "^0.6.3-dev.
|
|
83
|
-
"@rocket.chat/styled": "^0.
|
|
79
|
+
"@rocket.chat/fuselage": "^0.6.3-dev.385+1411dc73",
|
|
80
|
+
"@rocket.chat/fuselage-hooks": "^0.6.3-dev.385+1411dc73",
|
|
81
|
+
"@rocket.chat/icons": "^0.31.0",
|
|
82
|
+
"@rocket.chat/logo": "^0.6.3-dev.385+1411dc73",
|
|
83
|
+
"@rocket.chat/styled": "^0.31.0",
|
|
84
84
|
"i18next": "^20.3.2",
|
|
85
85
|
"react-hook-form": "^7.10.1",
|
|
86
86
|
"react-i18next": "^11.11.0",
|
|
@@ -115,5 +115,5 @@
|
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
117
|
},
|
|
118
|
-
"gitHead": "
|
|
118
|
+
"gitHead": "1411dc73c023ffabf738ad55e793c5591034f1d3"
|
|
119
119
|
}
|