@rocket.chat/onboarding-ui 0.6.3-dev.453 → 0.6.3-dev.454
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/pages/InformationPage/InformationPage.d.ts +8 -0
- package/dist/cjs/pages/InformationPage/InformationPage.d.ts.map +1 -0
- package/dist/cjs/pages/InformationPage/InformationPage.js +26 -0
- package/dist/cjs/pages/InformationPage/InformationPage.js.map +1 -0
- package/dist/cjs/pages/InformationPage/index.d.ts +2 -0
- package/dist/cjs/pages/InformationPage/index.d.ts.map +1 -0
- package/dist/cjs/pages/InformationPage/index.js +9 -0
- package/dist/cjs/pages/InformationPage/index.js.map +1 -0
- package/dist/esm/pages/InformationPage/InformationPage.d.ts +8 -0
- package/dist/esm/pages/InformationPage/InformationPage.d.ts.map +1 -0
- package/dist/esm/pages/InformationPage/InformationPage.js +21 -0
- package/dist/esm/pages/InformationPage/InformationPage.js.map +1 -0
- package/dist/esm/pages/InformationPage/index.d.ts +2 -0
- package/dist/esm/pages/InformationPage/index.d.ts.map +1 -0
- package/dist/esm/pages/InformationPage/index.js +2 -0
- package/dist/esm/pages/InformationPage/index.js.map +1 -0
- package/package.json +11 -11
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ReactElement } from 'react';
|
|
2
|
+
declare type InformationPageProps = {
|
|
3
|
+
title: string;
|
|
4
|
+
description: string;
|
|
5
|
+
};
|
|
6
|
+
declare const InformationPage: ({ title, description, }: InformationPageProps) => ReactElement;
|
|
7
|
+
export default InformationPage;
|
|
8
|
+
//# sourceMappingURL=InformationPage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InformationPage.d.ts","sourceRoot":"","sources":["../../../../src/pages/InformationPage/InformationPage.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAK1C,aAAK,oBAAoB,GAAG;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,QAAA,MAAM,eAAe,4BAGlB,oBAAoB,KAAG,YAuBzB,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
18
|
+
var fuselage_1 = require("@rocket.chat/fuselage");
|
|
19
|
+
var BackgroundLayer_1 = __importDefault(require("../../common/BackgroundLayer"));
|
|
20
|
+
var OnboardingLogo_1 = require("../../common/OnboardingLogo");
|
|
21
|
+
var InformationPage = function (_a) {
|
|
22
|
+
var title = _a.title, description = _a.description;
|
|
23
|
+
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: 624, 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: title }), void 0), jsx_runtime_1.jsx(fuselage_1.Box, __assign({ fontScale: 'p1' }, { children: description }), void 0)] }), void 0) }), void 0) }, void 0));
|
|
24
|
+
};
|
|
25
|
+
exports.default = InformationPage;
|
|
26
|
+
//# sourceMappingURL=InformationPage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InformationPage.js","sourceRoot":"","sources":["../../../../src/pages/InformationPage/InformationPage.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,kDAAqD;AAGrD,iFAA2D;AAC3D,8DAA6D;AAO7D,IAAM,eAAe,GAAG,UAAC,EAGF;QAFrB,KAAK,WAAA,EACL,WAAW,iBAAA;IAC6B,OAAA,CACxC,kBAAC,yBAAe,cACd,kBAAC,cAAG,aACF,OAAO,EAAC,MAAM,EACd,aAAa,EAAC,QAAQ,EACtB,UAAU,EAAC,QAAQ,EACnB,SAAS,EAAC,QAAQ,EAClB,KAAK,EAAC,MAAM,EACZ,QAAQ,EAAE,GAAG,EACb,YAAY,EAAE,EAAE,EAChB,aAAa,EAAE,EAAE,gBAEjB,mBAAC,kBAAO,aAAC,QAAQ,EAAE,EAAE,iBACnB,kBAAC,+BAAc,aAAG,EAElB,kBAAC,cAAG,aAAC,UAAU,EAAE,GAAG,EAAE,QAAQ,EAAC,KAAK,EAAC,UAAU,EAAC,KAAK,EAAC,UAAU,EAAC,MAAM,gBACpE,KAAK,YACF,EAEN,kBAAC,cAAG,aAAC,SAAS,EAAC,IAAI,gBAAE,WAAW,YAAO,aAC/B,YACN,WACU,CACnB;AAvByC,CAuBzC,CAAC;AAEF,kBAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/pages/InformationPage/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var InformationPage_1 = require("./InformationPage");
|
|
8
|
+
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(InformationPage_1).default; } });
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/pages/InformationPage/index.ts"],"names":[],"mappings":";;;;;;AAAA,qDAA4C;AAAnC,2HAAA,OAAO,OAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ReactElement } from 'react';
|
|
2
|
+
declare type InformationPageProps = {
|
|
3
|
+
title: string;
|
|
4
|
+
description: string;
|
|
5
|
+
};
|
|
6
|
+
declare const InformationPage: ({ title, description, }: InformationPageProps) => ReactElement;
|
|
7
|
+
export default InformationPage;
|
|
8
|
+
//# sourceMappingURL=InformationPage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InformationPage.d.ts","sourceRoot":"","sources":["../../../../src/pages/InformationPage/InformationPage.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAK1C,aAAK,oBAAoB,GAAG;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,QAAA,MAAM,eAAe,4BAGlB,oBAAoB,KAAG,YAuBzB,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
+
import { Box, Margins } from '@rocket.chat/fuselage';
|
|
14
|
+
import BackgroundLayer from '../../common/BackgroundLayer';
|
|
15
|
+
import { OnboardingLogo } from '../../common/OnboardingLogo';
|
|
16
|
+
var InformationPage = function (_a) {
|
|
17
|
+
var title = _a.title, description = _a.description;
|
|
18
|
+
return (_jsx(BackgroundLayer, { children: _jsx(Box, __assign({ display: 'flex', flexDirection: 'column', alignItems: 'center', textAlign: 'center', width: '100%', maxWidth: 624, 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: title }), void 0), _jsx(Box, __assign({ fontScale: 'p1' }, { children: description }), void 0)] }), void 0) }), void 0) }, void 0));
|
|
19
|
+
};
|
|
20
|
+
export default InformationPage;
|
|
21
|
+
//# sourceMappingURL=InformationPage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InformationPage.js","sourceRoot":"","sources":["../../../../src/pages/InformationPage/InformationPage.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAGrD,OAAO,eAAe,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAO7D,IAAM,eAAe,GAAG,UAAC,EAGF;QAFrB,KAAK,WAAA,EACL,WAAW,iBAAA;IAC6B,OAAA,CACxC,KAAC,eAAe,cACd,KAAC,GAAG,aACF,OAAO,EAAC,MAAM,EACd,aAAa,EAAC,QAAQ,EACtB,UAAU,EAAC,QAAQ,EACnB,SAAS,EAAC,QAAQ,EAClB,KAAK,EAAC,MAAM,EACZ,QAAQ,EAAE,GAAG,EACb,YAAY,EAAE,EAAE,EAChB,aAAa,EAAE,EAAE,gBAEjB,MAAC,OAAO,aAAC,QAAQ,EAAE,EAAE,iBACnB,KAAC,cAAc,aAAG,EAElB,KAAC,GAAG,aAAC,UAAU,EAAE,GAAG,EAAE,QAAQ,EAAC,KAAK,EAAC,UAAU,EAAC,KAAK,EAAC,UAAU,EAAC,MAAM,gBACpE,KAAK,YACF,EAEN,KAAC,GAAG,aAAC,SAAS,EAAC,IAAI,gBAAE,WAAW,YAAO,aAC/B,YACN,WACU,CACnB;AAvByC,CAuBzC,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/pages/InformationPage/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/pages/InformationPage/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC"}
|
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.454+12cc7502",
|
|
4
4
|
"description": "Set of components and functions for the onboarding experience on Rocket.Chat",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"rocketchat"
|
|
@@ -42,10 +42,10 @@
|
|
|
42
42
|
"url": "https://github.com/RocketChat/Rocket.Chat.Fuselage/issues"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@rocket.chat/eslint-config-alt": "^0.6.3-dev.
|
|
46
|
-
"@rocket.chat/fuselage-polyfills": "^0.6.3-dev.
|
|
47
|
-
"@rocket.chat/fuselage-tokens": "^0.6.3-dev.
|
|
48
|
-
"@rocket.chat/prettier-config": "^0.6.3-dev.
|
|
45
|
+
"@rocket.chat/eslint-config-alt": "^0.6.3-dev.454+12cc7502",
|
|
46
|
+
"@rocket.chat/fuselage-polyfills": "^0.6.3-dev.454+12cc7502",
|
|
47
|
+
"@rocket.chat/fuselage-tokens": "^0.6.3-dev.454+12cc7502",
|
|
48
|
+
"@rocket.chat/prettier-config": "^0.6.3-dev.454+12cc7502",
|
|
49
49
|
"@storybook/addon-essentials": "~6.4.18",
|
|
50
50
|
"@storybook/addons": "~6.4.18",
|
|
51
51
|
"@storybook/react": "~6.4.18",
|
|
@@ -70,11 +70,11 @@
|
|
|
70
70
|
"typescript": "~4.3.5"
|
|
71
71
|
},
|
|
72
72
|
"dependencies": {
|
|
73
|
-
"@rocket.chat/fuselage": "^0.6.3-dev.
|
|
74
|
-
"@rocket.chat/fuselage-hooks": "^0.6.3-dev.
|
|
75
|
-
"@rocket.chat/icons": "^0.6.3-dev.
|
|
76
|
-
"@rocket.chat/logo": "^0.6.3-dev.
|
|
77
|
-
"@rocket.chat/styled": "^0.6.3-dev.
|
|
73
|
+
"@rocket.chat/fuselage": "^0.6.3-dev.454+12cc7502",
|
|
74
|
+
"@rocket.chat/fuselage-hooks": "^0.6.3-dev.454+12cc7502",
|
|
75
|
+
"@rocket.chat/icons": "^0.6.3-dev.454+12cc7502",
|
|
76
|
+
"@rocket.chat/logo": "^0.6.3-dev.454+12cc7502",
|
|
77
|
+
"@rocket.chat/styled": "^0.6.3-dev.454+12cc7502",
|
|
78
78
|
"i18next": "~21.6.11",
|
|
79
79
|
"react-hook-form": "~7.27.0",
|
|
80
80
|
"react-i18next": "~11.15.4",
|
|
@@ -85,5 +85,5 @@
|
|
|
85
85
|
"react": "17.0.2",
|
|
86
86
|
"react-dom": "17.0.2"
|
|
87
87
|
},
|
|
88
|
-
"gitHead": "
|
|
88
|
+
"gitHead": "12cc75025142021062f5d1d41baa2f80c1c14a0c"
|
|
89
89
|
}
|