@rocket.chat/onboarding-ui 0.31.9 → 0.32.0-dev.10
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/CHANGELOG.md +99 -0
- package/dist/cjs/forms/CreateFirstMemberForm/CreateFirstMemberForm.d.ts +4 -2
- package/dist/cjs/forms/CreateFirstMemberForm/CreateFirstMemberForm.d.ts.map +1 -1
- package/dist/cjs/forms/CreateFirstMemberForm/CreateFirstMemberForm.js +6 -3
- package/dist/cjs/forms/CreateFirstMemberForm/CreateFirstMemberForm.js.map +1 -1
- package/dist/cjs/pages/CreateFirstMemberPage/CreateFirstMemberPage.d.ts +3 -13
- package/dist/cjs/pages/CreateFirstMemberPage/CreateFirstMemberPage.d.ts.map +1 -1
- package/dist/cjs/pages/CreateFirstMemberPage/CreateFirstMemberPage.js.map +1 -1
- package/dist/esm/forms/CreateFirstMemberForm/CreateFirstMemberForm.d.ts +4 -2
- package/dist/esm/forms/CreateFirstMemberForm/CreateFirstMemberForm.d.ts.map +1 -1
- package/dist/esm/forms/CreateFirstMemberForm/CreateFirstMemberForm.js +6 -3
- package/dist/esm/forms/CreateFirstMemberForm/CreateFirstMemberForm.js.map +1 -1
- package/dist/esm/pages/CreateFirstMemberPage/CreateFirstMemberPage.d.ts +3 -13
- package/dist/esm/pages/CreateFirstMemberPage/CreateFirstMemberPage.d.ts.map +1 -1
- package/dist/esm/pages/CreateFirstMemberPage/CreateFirstMemberPage.js.map +1 -1
- package/package.json +14 -15
- package/LICENSE +0 -21
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
# Change Log
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
+
|
|
6
|
+
# [0.31.0](https://github.com/RocketChat/Rocket.Chat.Fuselage/compare/v0.30.1...v0.31.0) (2021-12-28)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- add mode on change in forms ([#592](https://github.com/RocketChat/Rocket.Chat.Fuselage/issues/592)) ([62ba8f1](https://github.com/RocketChat/Rocket.Chat.Fuselage/commit/62ba8f1ea4ec13cf5b89dba16b38cbf7ad7be864))
|
|
11
|
+
- docker image version ([8f181cf](https://github.com/RocketChat/Rocket.Chat.Fuselage/commit/8f181cf5a96084d7abd9ea94efd46cc50840c798))
|
|
12
|
+
- **onboarding-ui:** Remove manage workspace fallback ([#573](https://github.com/RocketChat/Rocket.Chat.Fuselage/issues/573)) ([7f0b870](https://github.com/RocketChat/Rocket.Chat.Fuselage/commit/7f0b870a268db5f7ca9030d134b1e78ea2fd2128))
|
|
13
|
+
- replace useAutoFocus ([34e406e](https://github.com/RocketChat/Rocket.Chat.Fuselage/commit/34e406e1a2cf2ee96aaf0b1b095d2a7d2a848baf))
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
- **onboarding-ui:** Add export to DarkModeProvider ([#561](https://github.com/RocketChat/Rocket.Chat.Fuselage/issues/561)) ([8e3f2ec](https://github.com/RocketChat/Rocket.Chat.Fuselage/commit/8e3f2ec136e55727b01adaa2bc90079903ef705b))
|
|
18
|
+
- **onboarding-ui:** add new background layer with new brand redesign ([#554](https://github.com/RocketChat/Rocket.Chat.Fuselage/issues/554)) ([6df6e74](https://github.com/RocketChat/Rocket.Chat.Fuselage/commit/6df6e74045183d59deee6db73ae19e59ae1a1482))
|
|
19
|
+
- **onboarding-ui:** add oauth auth page ([#586](https://github.com/RocketChat/Rocket.Chat.Fuselage/issues/586)) ([4a7ae0b](https://github.com/RocketChat/Rocket.Chat.Fuselage/commit/4a7ae0b7f0343425bb0134316b57682868d4b06f))
|
|
20
|
+
- **onboarding-ui:** add reset password flow ([#585](https://github.com/RocketChat/Rocket.Chat.Fuselage/issues/585)) ([7ca5dfe](https://github.com/RocketChat/Rocket.Chat.Fuselage/commit/7ca5dfef85805382be9a5f67847a8111446130de))
|
|
21
|
+
- **onboarding-ui:** Create new account page ([#575](https://github.com/RocketChat/Rocket.Chat.Fuselage/issues/575)) ([f443a11](https://github.com/RocketChat/Rocket.Chat.Fuselage/commit/f443a118156c4af3bfce57967097a5755a9c4ca5))
|
|
22
|
+
- New hooks for element size tracking ([#413](https://github.com/RocketChat/Rocket.Chat.Fuselage/issues/413)) ([8ca682c](https://github.com/RocketChat/Rocket.Chat.Fuselage/commit/8ca682c636d2e4813f7d346cb881513382be63cf))
|
|
23
|
+
- **onboarding-ui:** PasswordLess login flow ([#565](https://github.com/RocketChat/Rocket.Chat.Fuselage/issues/565)) ([19c3e08](https://github.com/RocketChat/Rocket.Chat.Fuselage/commit/19c3e089a37f4c89889d7012084f9593f86d33e4)), closes [#562](https://github.com/RocketChat/Rocket.Chat.Fuselage/issues/562)
|
|
24
|
+
|
|
25
|
+
# [0.30.0](https://github.com/RocketChat/Rocket.Chat.Fuselage/compare/v0.29.0...v0.30.0) (2021-10-06)
|
|
26
|
+
|
|
27
|
+
### Bug Fixes
|
|
28
|
+
|
|
29
|
+
- SelectFilter style ([1f7e745](https://github.com/RocketChat/Rocket.Chat.Fuselage/commit/1f7e745c238c2082783216a2c8725c9f418ae2cc))
|
|
30
|
+
- **fuselage:** Remove Field margin ([#543](https://github.com/RocketChat/Rocket.Chat.Fuselage/issues/543)) ([0cc10e1](https://github.com/RocketChat/Rocket.Chat.Fuselage/commit/0cc10e1b86bcf14a9ae590537a3d8e460b39b167))
|
|
31
|
+
- **jest:** Adjust jest and ts-jest dependencies ([#547](https://github.com/RocketChat/Rocket.Chat.Fuselage/issues/547)) ([91a4fa1](https://github.com/RocketChat/Rocket.Chat.Fuselage/commit/91a4fa1365394001afe1bd46480bda3bafed5505))
|
|
32
|
+
|
|
33
|
+
### Features
|
|
34
|
+
|
|
35
|
+
- **logo:** Rocket.Chat logo package ([#535](https://github.com/RocketChat/Rocket.Chat.Fuselage/issues/535)) ([94522e6](https://github.com/RocketChat/Rocket.Chat.Fuselage/commit/94522e6b74d02f88f56e9ac898ca26b9d1e42fbd))
|
|
36
|
+
|
|
37
|
+
# [0.29.0](https://github.com/RocketChat/Rocket.Chat.Fuselage/compare/v0.28.0...v0.29.0) (2021-08-31)
|
|
38
|
+
|
|
39
|
+
### Bug Fixes
|
|
40
|
+
|
|
41
|
+
- missing default values ([8d850a1](https://github.com/RocketChat/Rocket.Chat.Fuselage/commit/8d850a18f6f58ad77d984bf2ef0756ddd5576743))
|
|
42
|
+
- review ([bfc0b97](https://github.com/RocketChat/Rocket.Chat.Fuselage/commit/bfc0b97b2a43c6681383bba3f97202c53e8d6256))
|
|
43
|
+
- **onboarding-ui:** Export RequestTrialPage ([#522](https://github.com/RocketChat/Rocket.Chat.Fuselage/issues/522)) ([f9cbf3b](https://github.com/RocketChat/Rocket.Chat.Fuselage/commit/f9cbf3b369add738dac49c725f10dd486760926a))
|
|
44
|
+
- **onboarding-ui:** Labels wrapping under checkbox ([#509](https://github.com/RocketChat/Rocket.Chat.Fuselage/issues/509)) ([99b873e](https://github.com/RocketChat/Rocket.Chat.Fuselage/commit/99b873e794ad3451ed6d4860545a4c61a133ca2f))
|
|
45
|
+
|
|
46
|
+
### Features
|
|
47
|
+
|
|
48
|
+
- **onboarding-ui:** Check your email page ([#513](https://github.com/RocketChat/Rocket.Chat.Fuselage/issues/513)) ([50caee8](https://github.com/RocketChat/Rocket.Chat.Fuselage/commit/50caee84b3357beb0aebdd713eed2f0766ec910f))
|
|
49
|
+
- **onboarding-ui:** CloudOrganizationInfo Page ([#498](https://github.com/RocketChat/Rocket.Chat.Fuselage/issues/498)) ([4d04e66](https://github.com/RocketChat/Rocket.Chat.Fuselage/commit/4d04e66836d5dc57e8efb0ac222d03234733e4e3))
|
|
50
|
+
- **onboarding-ui:** Create Cloud Workspace Form ([#499](https://github.com/RocketChat/Rocket.Chat.Fuselage/issues/499)) ([afd88bf](https://github.com/RocketChat/Rocket.Chat.Fuselage/commit/afd88bf68c442e3fe487081b98622de392598df6))
|
|
51
|
+
- **onboarding-ui:** Magic Link Email Page ([#524](https://github.com/RocketChat/Rocket.Chat.Fuselage/issues/524)) ([a5b56af](https://github.com/RocketChat/Rocket.Chat.Fuselage/commit/a5b56af04299c604933451f2bf7bd6b9b828af45))
|
|
52
|
+
- **onboarding-ui:** Request trial form ([#505](https://github.com/RocketChat/Rocket.Chat.Fuselage/issues/505)) ([4c1bd35](https://github.com/RocketChat/Rocket.Chat.Fuselage/commit/4c1bd35324903badee9fec79e878ab045f7d5897))
|
|
53
|
+
- **onboarding-ui:** Request trial page ([#515](https://github.com/RocketChat/Rocket.Chat.Fuselage/issues/515)) ([bdbae4e](https://github.com/RocketChat/Rocket.Chat.Fuselage/commit/bdbae4e142aa8694a9400db873c1c417b7db1e82))
|
|
54
|
+
|
|
55
|
+
# [0.28.0](https://github.com/RocketChat/Rocket.Chat.Fuselage/compare/v0.27.0...v0.28.0) (2021-07-30)
|
|
56
|
+
|
|
57
|
+
### Bug Fixes
|
|
58
|
+
|
|
59
|
+
- Missing Sidebar type ([#506](https://github.com/RocketChat/Rocket.Chat.Fuselage/issues/506)) ([78f202d](https://github.com/RocketChat/Rocket.Chat.Fuselage/commit/78f202d5b84f1bc7fe638070ece020126dcdd686))
|
|
60
|
+
|
|
61
|
+
### Features
|
|
62
|
+
|
|
63
|
+
- **onboarding-ui:** AdminInfoPage for Cloud Registration wizard ([#497](https://github.com/RocketChat/Rocket.Chat.Fuselage/issues/497)) ([7557dce](https://github.com/RocketChat/Rocket.Chat.Fuselage/commit/7557dcea5c8afe6f658062125ab949d4ab27a45a))
|
|
64
|
+
- **onboarding-ui:** Administrator information form and Organization information form ([#489](https://github.com/RocketChat/Rocket.Chat.Fuselage/issues/489)) ([b289f68](https://github.com/RocketChat/Rocket.Chat.Fuselage/commit/b289f68676954b91c792d8d97680314178bf2c60))
|
|
65
|
+
- **onboarding-ui:** Common components ([#478](https://github.com/RocketChat/Rocket.Chat.Fuselage/issues/478)) ([d7511ab](https://github.com/RocketChat/Rocket.Chat.Fuselage/commit/d7511ab435bae8c35e02071832c9a615078a83d5))
|
|
66
|
+
- **onboarding-ui:** Invalid Link page ([#496](https://github.com/RocketChat/Rocket.Chat.Fuselage/issues/496)) ([6c74576](https://github.com/RocketChat/Rocket.Chat.Fuselage/commit/6c74576bb0e63e33771eb24bbd6f1c881088f44c))
|
|
67
|
+
- **onboarding-ui:** Self-hosted registration ([#501](https://github.com/RocketChat/Rocket.Chat.Fuselage/issues/501)) ([e47d579](https://github.com/RocketChat/Rocket.Chat.Fuselage/commit/e47d579938f1cb670e787b27402ece214e7d37e9))
|
|
68
|
+
- **onboarding-ui:** Server registration form ([#494](https://github.com/RocketChat/Rocket.Chat.Fuselage/issues/494)) ([be3185f](https://github.com/RocketChat/Rocket.Chat.Fuselage/commit/be3185ff8eba2b02cfda6736074ecc2f38ff1d3e))
|
|
69
|
+
- styled API; monorepo grooming ([#482](https://github.com/RocketChat/Rocket.Chat.Fuselage/issues/482)) ([1b6b70c](https://github.com/RocketChat/Rocket.Chat.Fuselage/commit/1b6b70cf67ec16927b1566adc2350295a8927223))
|
|
70
|
+
|
|
71
|
+
# [0.27.0](https://github.com/RocketChat/Rocket.Chat.Fuselage/compare/v0.26.0...v0.27.0) (2021-06-28)
|
|
72
|
+
|
|
73
|
+
### Features
|
|
74
|
+
|
|
75
|
+
- onboarding-ui package ([#463](https://github.com/RocketChat/Rocket.Chat.Fuselage/issues/463)) ([ea0a6c2](https://github.com/RocketChat/Rocket.Chat.Fuselage/commit/ea0a6c25ae1a719103dce742a18c54ab4f3d6442))
|
|
76
|
+
- Visibility toggle for PasswordInput ([#377](https://github.com/RocketChat/Rocket.Chat.Fuselage/issues/377)) ([5ef1bec](https://github.com/RocketChat/Rocket.Chat.Fuselage/commit/5ef1bec606e626704235cadfdb9bb7d424f8e481))
|
|
77
|
+
|
|
78
|
+
# [0.26.0](https://github.com/RocketChat/Rocket.Chat.Fuselage/compare/v0.25.0...v0.26.0) (2021-05-28)
|
|
79
|
+
|
|
80
|
+
**Note:** Version bump only for package @rocket.chat/string-helpers
|
|
81
|
+
|
|
82
|
+
# [0.25.0](https://github.com/RocketChat/Rocket.Chat.Fuselage/compare/v0.24.0...v0.25.0) (2021-05-19)
|
|
83
|
+
|
|
84
|
+
### Bug Fixes
|
|
85
|
+
|
|
86
|
+
- **fuselage:** fix duplicated values on paginated multi select ([#456](https://github.com/RocketChat/Rocket.Chat.Fuselage/issues/456)) ([4518a4e](https://github.com/RocketChat/Rocket.Chat.Fuselage/commit/4518a4e661cb525d957f6140d59a641a50fc7b20))
|
|
87
|
+
- **string-helpers:** Wrong typesVersions declaration ([256758c](https://github.com/RocketChat/Rocket.Chat.Fuselage/commit/256758c60ff8ed5ec7d86ff027ad3ea82f84aaf6))
|
|
88
|
+
- Location in typesVersions field ([#449](https://github.com/RocketChat/Rocket.Chat.Fuselage/issues/449)) ([491f98b](https://github.com/RocketChat/Rocket.Chat.Fuselage/commit/491f98b8cbc5e30f73adde377965f79fe565438b))
|
|
89
|
+
|
|
90
|
+
### Features
|
|
91
|
+
|
|
92
|
+
- [@rocket](https://github.com/rocket).chat/message-parser ([#443](https://github.com/RocketChat/Rocket.Chat.Fuselage/issues/443)) ([4722cdf](https://github.com/RocketChat/Rocket.Chat.Fuselage/commit/4722cdff46f5987f335d989be59649c7652bb12a))
|
|
93
|
+
- Peggy loader ([#450](https://github.com/RocketChat/Rocket.Chat.Fuselage/issues/450)) ([0496cad](https://github.com/RocketChat/Rocket.Chat.Fuselage/commit/0496cad457d76f8a4d6a217209e4a55e315e8365))
|
|
94
|
+
|
|
95
|
+
# [0.24.0](https://github.com/RocketChat/Rocket.Chat.Fuselage/compare/v0.23.0...v0.24.0) (2021-04-28)
|
|
96
|
+
|
|
97
|
+
### Features
|
|
98
|
+
|
|
99
|
+
- [@rocket](https://github.com/rocket).chat/string-helpers ([#431](https://github.com/RocketChat/Rocket.Chat.Fuselage/issues/431)) ([2509d6a](https://github.com/RocketChat/Rocket.Chat.Fuselage/commit/2509d6acdbe5ec8b216e8d4430373797c5f5dfe2))
|
|
@@ -5,13 +5,15 @@ declare type CreateFirstMemberFormPayload = {
|
|
|
5
5
|
password: string;
|
|
6
6
|
};
|
|
7
7
|
declare type CreateFirstMemberFormProps = {
|
|
8
|
+
defaultValues?: CreateFirstMemberFormPayload;
|
|
8
9
|
currentStep: number;
|
|
9
10
|
stepCount: number;
|
|
10
|
-
|
|
11
|
+
organizationName: string;
|
|
11
12
|
onSubmit: SubmitHandler<CreateFirstMemberFormPayload>;
|
|
12
13
|
onBackButtonClick: () => void;
|
|
14
|
+
validateUsername: Validate<string>;
|
|
13
15
|
validatePassword: Validate<string>;
|
|
14
16
|
};
|
|
15
|
-
declare const CreateFirstMemberForm: ({ currentStep, stepCount,
|
|
17
|
+
declare const CreateFirstMemberForm: ({ defaultValues, currentStep, stepCount, organizationName, onSubmit, onBackButtonClick, validateUsername, validatePassword, }: CreateFirstMemberFormProps) => ReactElement;
|
|
16
18
|
export default CreateFirstMemberForm;
|
|
17
19
|
//# sourceMappingURL=CreateFirstMemberForm.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateFirstMemberForm.d.ts","sourceRoot":"","sources":["../../../../src/forms/CreateFirstMemberForm/CreateFirstMemberForm.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAM/D,aAAK,4BAA4B,GAAG;IAClC,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,aAAK,0BAA0B,GAAG;IAChC,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,
|
|
1
|
+
{"version":3,"file":"CreateFirstMemberForm.d.ts","sourceRoot":"","sources":["../../../../src/forms/CreateFirstMemberForm/CreateFirstMemberForm.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAM/D,aAAK,4BAA4B,GAAG;IAClC,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,aAAK,0BAA0B,GAAG;IAChC,aAAa,CAAC,EAAE,4BAA4B,CAAC;IAC7C,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,gBAAgB,EAAE,MAAM,CAAC;IACzB,QAAQ,EAAE,aAAa,CAAC,4BAA4B,CAAC,CAAC;IACtD,iBAAiB,EAAE,MAAM,IAAI,CAAC;IAC9B,gBAAgB,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;IACnC,gBAAgB,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;CACpC,CAAC;AAEF,QAAA,MAAM,qBAAqB,kIASxB,0BAA0B,KAAG,YA2E/B,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -21,13 +21,16 @@ var react_i18next_1 = require("react-i18next");
|
|
|
21
21
|
var Form_1 = __importDefault(require("../../common/Form"));
|
|
22
22
|
var CreateFirstMemberForm = function (_a) {
|
|
23
23
|
var _b;
|
|
24
|
-
var currentStep = _a.currentStep, stepCount = _a.stepCount,
|
|
24
|
+
var defaultValues = _a.defaultValues, currentStep = _a.currentStep, stepCount = _a.stepCount, organizationName = _a.organizationName, onSubmit = _a.onSubmit, onBackButtonClick = _a.onBackButtonClick, validateUsername = _a.validateUsername, validatePassword = _a.validatePassword;
|
|
25
25
|
var t = react_i18next_1.useTranslation().t;
|
|
26
26
|
var _c = react_hook_form_1.useForm({ mode: 'onChange' }), register = _c.register, handleSubmit = _c.handleSubmit, _d = _c.formState, isValid = _d.isValid, isValidating = _d.isValidating, isSubmitting = _d.isSubmitting, errors = _d.errors;
|
|
27
|
-
return (jsx_runtime_1.jsxs(Form_1.default, __assign({ onSubmit: handleSubmit(onSubmit) }, { children: [jsx_runtime_1.jsx(Form_1.default.Steps, { currentStep: currentStep, stepCount: stepCount }, void 0), jsx_runtime_1.jsx(Form_1.default.Title, { children: t('form.createFirstMemberForm.title') }, void 0), jsx_runtime_1.jsx(Form_1.default.Subtitle, { children: t('form.createFirstMemberForm.subtitle', {
|
|
27
|
+
return (jsx_runtime_1.jsxs(Form_1.default, __assign({ onSubmit: handleSubmit(onSubmit) }, { children: [jsx_runtime_1.jsx(Form_1.default.Steps, { currentStep: currentStep, stepCount: stepCount }, void 0), jsx_runtime_1.jsx(Form_1.default.Title, { children: t('form.createFirstMemberForm.title') }, void 0), jsx_runtime_1.jsx(Form_1.default.Subtitle, { children: t('form.createFirstMemberForm.subtitle', { organizationName: organizationName }) }, void 0), jsx_runtime_1.jsxs(fuselage_1.FieldGroup, __assign({ mbs: 'x16' }, { children: [jsx_runtime_1.jsxs(fuselage_1.Field, { children: [jsx_runtime_1.jsx(fuselage_1.Field.Label, { children: jsx_runtime_1.jsx(fuselage_1.Box, __assign({ display: 'inline', mie: 'x8' }, { children: t('form.createFirstMemberForm.fields.username.label') }), void 0) }, void 0), jsx_runtime_1.jsx(fuselage_1.Field.Row, { children: jsx_runtime_1.jsx(fuselage_1.TextInput, __assign({}, register('username', {
|
|
28
|
+
validate: validateUsername,
|
|
29
|
+
required: true,
|
|
30
|
+
}), { defaultValue: defaultValues === null || defaultValues === void 0 ? void 0 : defaultValues.username, error: ((_b = errors === null || errors === void 0 ? void 0 : errors.username) === null || _b === void 0 ? void 0 : _b.type) || undefined }), void 0) }, void 0), (errors === null || errors === void 0 ? void 0 : errors.username) && (jsx_runtime_1.jsx(fuselage_1.Field.Error, { children: errors.username.message }, void 0))] }, void 0), jsx_runtime_1.jsxs(fuselage_1.Field, { children: [jsx_runtime_1.jsx(fuselage_1.Field.Label, { children: t('form.createFirstMemberForm.fields.password.label') }, void 0), jsx_runtime_1.jsx(fuselage_1.Field.Row, { children: jsx_runtime_1.jsx(fuselage_1.PasswordInput, __assign({}, register('password', {
|
|
28
31
|
validate: validatePassword,
|
|
29
32
|
required: true,
|
|
30
|
-
})), void 0) }, void 0), errors.password && (jsx_runtime_1.jsx(fuselage_1.Field.Error, { children: errors.password.message }, void 0))] }, void 0)] }), void 0), jsx_runtime_1.jsx(Form_1.default.Footer, { children: jsx_runtime_1.jsxs(fuselage_1.ButtonGroup, { children: [jsx_runtime_1.jsx(fuselage_1.Button, __assign({ disabled: isSubmitting, onClick: onBackButtonClick }, { children: t('component.form.action.back') }), void 0), jsx_runtime_1.jsx(fuselage_1.Button, __assign({ type: 'submit', primary: true, disabled: isValidating || isSubmitting || !isValid }, { children: t('form.createFirstMemberForm.button.submit') }), void 0)] }, void 0) }, void 0)] }), void 0));
|
|
33
|
+
}), { defaultValue: defaultValues === null || defaultValues === void 0 ? void 0 : defaultValues.password }), void 0) }, void 0), errors.password && (jsx_runtime_1.jsx(fuselage_1.Field.Error, { children: errors.password.message }, void 0))] }, void 0)] }), void 0), jsx_runtime_1.jsx(Form_1.default.Footer, { children: jsx_runtime_1.jsxs(fuselage_1.ButtonGroup, { children: [jsx_runtime_1.jsx(fuselage_1.Button, __assign({ disabled: isSubmitting, onClick: onBackButtonClick }, { children: t('component.form.action.back') }), void 0), jsx_runtime_1.jsx(fuselage_1.Button, __assign({ type: 'submit', primary: true, disabled: isValidating || isSubmitting || !isValid }, { children: t('form.createFirstMemberForm.button.submit') }), void 0)] }, void 0) }, void 0)] }), void 0));
|
|
31
34
|
};
|
|
32
35
|
exports.default = CreateFirstMemberForm;
|
|
33
36
|
//# sourceMappingURL=CreateFirstMemberForm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateFirstMemberForm.js","sourceRoot":"","sources":["../../../../src/forms/CreateFirstMemberForm/CreateFirstMemberForm.tsx"],"names":[],"mappings":";;;;;;;;;;;;;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,0CAA0C,CAAC,YACvC,YACG,WACF,aACT,CACR,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,qBAAqB,CAAC"}
|
|
@@ -1,16 +1,6 @@
|
|
|
1
|
-
import type { ReactElement } from 'react';
|
|
2
|
-
import
|
|
3
|
-
declare type CreateCloudWorkspacePageProps =
|
|
4
|
-
currentStep: number;
|
|
5
|
-
stepCount: number;
|
|
6
|
-
workspaceName: string;
|
|
7
|
-
onSubmit: SubmitHandler<{
|
|
8
|
-
username: string;
|
|
9
|
-
password: string;
|
|
10
|
-
}>;
|
|
11
|
-
onBackButtonClick: () => void;
|
|
12
|
-
validatePassword: (url: string) => Promise<boolean>;
|
|
13
|
-
};
|
|
1
|
+
import type { ComponentProps, ReactElement } from 'react';
|
|
2
|
+
import CreateFirstMemberForm from '../../forms/CreateFirstMemberForm';
|
|
3
|
+
declare type CreateCloudWorkspacePageProps = ComponentProps<typeof CreateFirstMemberForm>;
|
|
14
4
|
declare const CreateFirstMemberPage: (props: CreateCloudWorkspacePageProps) => ReactElement;
|
|
15
5
|
export default CreateFirstMemberPage;
|
|
16
6
|
//# sourceMappingURL=CreateFirstMemberPage.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateFirstMemberPage.d.ts","sourceRoot":"","sources":["../../../../src/pages/CreateFirstMemberPage/CreateFirstMemberPage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"CreateFirstMemberPage.d.ts","sourceRoot":"","sources":["../../../../src/pages/CreateFirstMemberPage/CreateFirstMemberPage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAK1D,OAAO,qBAAqB,MAAM,mCAAmC,CAAC;AAGtE,aAAK,6BAA6B,GAAG,cAAc,CACjD,OAAO,qBAAqB,CAC7B,CAAC;AAEF,QAAA,MAAM,qBAAqB,UAClB,6BAA6B,KACnC,YAeF,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateFirstMemberPage.js","sourceRoot":"","sources":["../../../../src/pages/CreateFirstMemberPage/CreateFirstMemberPage.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"CreateFirstMemberPage.js","sourceRoot":"","sources":["../../../../src/pages/CreateFirstMemberPage/CreateFirstMemberPage.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAEA,iFAA2D;AAC3D,+EAAyD;AAEzD,4FAAsE;AACtE,4FAAsE;AAMtE,IAAM,qBAAqB,GAAG,UAC5B,KAAoC;IAEpC,IAAM,oBAAoB,GAA6B;QACrD,cAAc,EAAE,QAAQ;KACzB,CAAC;IAEF,OAAO,CACL,kBAAC,yBAAe,cACd,kBAAC,wBAAc,aACb,KAAK,EAAE,kBAAC,oCAA0B,aAAG,EACrC,UAAU,EAAE,oBAAoB,gBAEhC,kBAAC,+BAAqB,eAAK,KAAK,UAAI,YACrB,WACD,CACnB,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,qBAAqB,CAAC"}
|
|
@@ -5,13 +5,15 @@ declare type CreateFirstMemberFormPayload = {
|
|
|
5
5
|
password: string;
|
|
6
6
|
};
|
|
7
7
|
declare type CreateFirstMemberFormProps = {
|
|
8
|
+
defaultValues?: CreateFirstMemberFormPayload;
|
|
8
9
|
currentStep: number;
|
|
9
10
|
stepCount: number;
|
|
10
|
-
|
|
11
|
+
organizationName: string;
|
|
11
12
|
onSubmit: SubmitHandler<CreateFirstMemberFormPayload>;
|
|
12
13
|
onBackButtonClick: () => void;
|
|
14
|
+
validateUsername: Validate<string>;
|
|
13
15
|
validatePassword: Validate<string>;
|
|
14
16
|
};
|
|
15
|
-
declare const CreateFirstMemberForm: ({ currentStep, stepCount,
|
|
17
|
+
declare const CreateFirstMemberForm: ({ defaultValues, currentStep, stepCount, organizationName, onSubmit, onBackButtonClick, validateUsername, validatePassword, }: CreateFirstMemberFormProps) => ReactElement;
|
|
16
18
|
export default CreateFirstMemberForm;
|
|
17
19
|
//# sourceMappingURL=CreateFirstMemberForm.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateFirstMemberForm.d.ts","sourceRoot":"","sources":["../../../../src/forms/CreateFirstMemberForm/CreateFirstMemberForm.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAM/D,aAAK,4BAA4B,GAAG;IAClC,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,aAAK,0BAA0B,GAAG;IAChC,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,
|
|
1
|
+
{"version":3,"file":"CreateFirstMemberForm.d.ts","sourceRoot":"","sources":["../../../../src/forms/CreateFirstMemberForm/CreateFirstMemberForm.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAM/D,aAAK,4BAA4B,GAAG;IAClC,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,aAAK,0BAA0B,GAAG;IAChC,aAAa,CAAC,EAAE,4BAA4B,CAAC;IAC7C,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,gBAAgB,EAAE,MAAM,CAAC;IACzB,QAAQ,EAAE,aAAa,CAAC,4BAA4B,CAAC,CAAC;IACtD,iBAAiB,EAAE,MAAM,IAAI,CAAC;IAC9B,gBAAgB,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;IACnC,gBAAgB,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;CACpC,CAAC;AAEF,QAAA,MAAM,qBAAqB,kIASxB,0BAA0B,KAAG,YA2E/B,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -16,13 +16,16 @@ import { useTranslation } from 'react-i18next';
|
|
|
16
16
|
import Form from '../../common/Form';
|
|
17
17
|
var CreateFirstMemberForm = function (_a) {
|
|
18
18
|
var _b;
|
|
19
|
-
var currentStep = _a.currentStep, stepCount = _a.stepCount,
|
|
19
|
+
var defaultValues = _a.defaultValues, currentStep = _a.currentStep, stepCount = _a.stepCount, organizationName = _a.organizationName, onSubmit = _a.onSubmit, onBackButtonClick = _a.onBackButtonClick, validateUsername = _a.validateUsername, validatePassword = _a.validatePassword;
|
|
20
20
|
var t = useTranslation().t;
|
|
21
21
|
var _c = useForm({ mode: 'onChange' }), register = _c.register, handleSubmit = _c.handleSubmit, _d = _c.formState, isValid = _d.isValid, isValidating = _d.isValidating, isSubmitting = _d.isSubmitting, errors = _d.errors;
|
|
22
|
-
return (_jsxs(Form, __assign({ onSubmit: handleSubmit(onSubmit) }, { children: [_jsx(Form.Steps, { currentStep: currentStep, stepCount: stepCount }, void 0), _jsx(Form.Title, { children: t('form.createFirstMemberForm.title') }, void 0), _jsx(Form.Subtitle, { children: t('form.createFirstMemberForm.subtitle', {
|
|
22
|
+
return (_jsxs(Form, __assign({ onSubmit: handleSubmit(onSubmit) }, { children: [_jsx(Form.Steps, { currentStep: currentStep, stepCount: stepCount }, void 0), _jsx(Form.Title, { children: t('form.createFirstMemberForm.title') }, void 0), _jsx(Form.Subtitle, { children: t('form.createFirstMemberForm.subtitle', { organizationName: organizationName }) }, void 0), _jsxs(FieldGroup, __assign({ mbs: 'x16' }, { children: [_jsxs(Field, { children: [_jsx(Field.Label, { children: _jsx(Box, __assign({ display: 'inline', mie: 'x8' }, { children: t('form.createFirstMemberForm.fields.username.label') }), void 0) }, void 0), _jsx(Field.Row, { children: _jsx(TextInput, __assign({}, register('username', {
|
|
23
|
+
validate: validateUsername,
|
|
24
|
+
required: true,
|
|
25
|
+
}), { defaultValue: defaultValues === null || defaultValues === void 0 ? void 0 : defaultValues.username, error: ((_b = errors === null || errors === void 0 ? void 0 : errors.username) === null || _b === void 0 ? void 0 : _b.type) || undefined }), void 0) }, void 0), (errors === null || errors === void 0 ? void 0 : errors.username) && (_jsx(Field.Error, { children: errors.username.message }, void 0))] }, void 0), _jsxs(Field, { children: [_jsx(Field.Label, { children: t('form.createFirstMemberForm.fields.password.label') }, void 0), _jsx(Field.Row, { children: _jsx(PasswordInput, __assign({}, register('password', {
|
|
23
26
|
validate: validatePassword,
|
|
24
27
|
required: true,
|
|
25
|
-
})), void 0) }, void 0), errors.password && (_jsx(Field.Error, { children: errors.password.message }, void 0))] }, void 0)] }), void 0), _jsx(Form.Footer, { children: _jsxs(ButtonGroup, { children: [_jsx(Button, __assign({ disabled: isSubmitting, onClick: onBackButtonClick }, { children: t('component.form.action.back') }), void 0), _jsx(Button, __assign({ type: 'submit', primary: true, disabled: isValidating || isSubmitting || !isValid }, { children: t('form.createFirstMemberForm.button.submit') }), void 0)] }, void 0) }, void 0)] }), void 0));
|
|
28
|
+
}), { defaultValue: defaultValues === null || defaultValues === void 0 ? void 0 : defaultValues.password }), void 0) }, void 0), errors.password && (_jsx(Field.Error, { children: errors.password.message }, void 0))] }, void 0)] }), void 0), _jsx(Form.Footer, { children: _jsxs(ButtonGroup, { children: [_jsx(Button, __assign({ disabled: isSubmitting, onClick: onBackButtonClick }, { children: t('component.form.action.back') }), void 0), _jsx(Button, __assign({ type: 'submit', primary: true, disabled: isValidating || isSubmitting || !isValid }, { children: t('form.createFirstMemberForm.button.submit') }), void 0)] }, void 0) }, void 0)] }), void 0));
|
|
26
29
|
};
|
|
27
30
|
export default CreateFirstMemberForm;
|
|
28
31
|
//# sourceMappingURL=CreateFirstMemberForm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateFirstMemberForm.js","sourceRoot":"","sources":["../../../../src/forms/CreateFirstMemberForm/CreateFirstMemberForm.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EACL,UAAU,EACV,KAAK,EACL,WAAW,EACX,MAAM,EACN,GAAG,EACH,aAAa,EACb,SAAS,GACV,MAAM,uBAAuB,CAAC;AAG/B,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAE/C,OAAO,IAAI,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"CreateFirstMemberForm.js","sourceRoot":"","sources":["../../../../src/forms/CreateFirstMemberForm/CreateFirstMemberForm.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EACL,UAAU,EACV,KAAK,EACL,WAAW,EACX,MAAM,EACN,GAAG,EACH,aAAa,EACb,SAAS,GACV,MAAM,uBAAuB,CAAC;AAG/B,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAE/C,OAAO,IAAI,MAAM,mBAAmB,CAAC;AAkBrC,IAAM,qBAAqB,GAAG,UAAC,EASF;;QAR3B,aAAa,mBAAA,EACb,WAAW,iBAAA,EACX,SAAS,eAAA,EACT,gBAAgB,sBAAA,EAChB,QAAQ,cAAA,EACR,iBAAiB,uBAAA,EACjB,gBAAgB,sBAAA,EAChB,gBAAgB,sBAAA;IAER,IAAA,CAAC,GAAK,cAAc,EAAE,EAArB,CAAsB;IAEzB,IAAA,KAIF,OAAO,CAA+B,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC,EAH7D,QAAQ,cAAA,EACR,YAAY,kBAAA,EACZ,iBAA0D,EAA7C,OAAO,aAAA,EAAE,YAAY,kBAAA,EAAE,YAAY,kBAAA,EAAE,MAAM,YACK,CAA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C,IACF,YAAY,EAAE,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAE,QAAQ,YACrC,WACQ,EACX,MAAM,CAAC,QAAQ,IAAI,CAClB,KAAC,KAAK,CAAC,KAAK,cAAE,MAAM,CAAC,QAAQ,CAAC,OAAO,WAAe,CACrD,YACK,aACG,EAEb,KAAC,IAAI,CAAC,MAAM,cACV,MAAC,WAAW,eACV,KAAC,MAAM,aAAC,QAAQ,EAAE,YAAY,EAAE,OAAO,EAAE,iBAAiB,gBACvD,CAAC,CAAC,4BAA4B,CAAC,YACzB,EAET,KAAC,MAAM,aACL,IAAI,EAAC,QAAQ,EACb,OAAO,QACP,QAAQ,EAAE,YAAY,IAAI,YAAY,IAAI,CAAC,OAAO,gBAEjD,CAAC,CAAC,0CAA0C,CAAC,YACvC,YACG,WACF,aACT,CACR,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -1,16 +1,6 @@
|
|
|
1
|
-
import type { ReactElement } from 'react';
|
|
2
|
-
import
|
|
3
|
-
declare type CreateCloudWorkspacePageProps =
|
|
4
|
-
currentStep: number;
|
|
5
|
-
stepCount: number;
|
|
6
|
-
workspaceName: string;
|
|
7
|
-
onSubmit: SubmitHandler<{
|
|
8
|
-
username: string;
|
|
9
|
-
password: string;
|
|
10
|
-
}>;
|
|
11
|
-
onBackButtonClick: () => void;
|
|
12
|
-
validatePassword: (url: string) => Promise<boolean>;
|
|
13
|
-
};
|
|
1
|
+
import type { ComponentProps, ReactElement } from 'react';
|
|
2
|
+
import CreateFirstMemberForm from '../../forms/CreateFirstMemberForm';
|
|
3
|
+
declare type CreateCloudWorkspacePageProps = ComponentProps<typeof CreateFirstMemberForm>;
|
|
14
4
|
declare const CreateFirstMemberPage: (props: CreateCloudWorkspacePageProps) => ReactElement;
|
|
15
5
|
export default CreateFirstMemberPage;
|
|
16
6
|
//# sourceMappingURL=CreateFirstMemberPage.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateFirstMemberPage.d.ts","sourceRoot":"","sources":["../../../../src/pages/CreateFirstMemberPage/CreateFirstMemberPage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"CreateFirstMemberPage.d.ts","sourceRoot":"","sources":["../../../../src/pages/CreateFirstMemberPage/CreateFirstMemberPage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAK1D,OAAO,qBAAqB,MAAM,mCAAmC,CAAC;AAGtE,aAAK,6BAA6B,GAAG,cAAc,CACjD,OAAO,qBAAqB,CAC7B,CAAC;AAEF,QAAA,MAAM,qBAAqB,UAClB,6BAA6B,KACnC,YAeF,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateFirstMemberPage.js","sourceRoot":"","sources":["../../../../src/pages/CreateFirstMemberPage/CreateFirstMemberPage.tsx"],"names":[],"mappings":";;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"CreateFirstMemberPage.js","sourceRoot":"","sources":["../../../../src/pages/CreateFirstMemberPage/CreateFirstMemberPage.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAEA,OAAO,eAAe,MAAM,8BAA8B,CAAC;AAC3D,OAAO,cAAc,MAAM,6BAA6B,CAAC;AAEzD,OAAO,qBAAqB,MAAM,mCAAmC,CAAC;AACtE,OAAO,0BAA0B,MAAM,8BAA8B,CAAC;AAMtE,IAAM,qBAAqB,GAAG,UAC5B,KAAoC;IAEpC,IAAM,oBAAoB,GAA6B;QACrD,cAAc,EAAE,QAAQ;KACzB,CAAC;IAEF,OAAO,CACL,KAAC,eAAe,cACd,KAAC,cAAc,aACb,KAAK,EAAE,KAAC,0BAA0B,aAAG,EACrC,UAAU,EAAE,oBAAoB,gBAEhC,KAAC,qBAAqB,eAAK,KAAK,UAAI,YACrB,WACD,CACnB,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rocket.chat/onboarding-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.32.0-dev.10",
|
|
4
4
|
"description": "Set of components and functions for the onboarding experience on Rocket.Chat",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"rocketchat"
|
|
@@ -43,10 +43,10 @@
|
|
|
43
43
|
"url": "https://github.com/RocketChat/Rocket.Chat.Fuselage/issues"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@rocket.chat/eslint-config-alt": "
|
|
47
|
-
"@rocket.chat/fuselage-polyfills": "
|
|
48
|
-
"@rocket.chat/fuselage-tokens": "
|
|
49
|
-
"@rocket.chat/prettier-config": "
|
|
46
|
+
"@rocket.chat/eslint-config-alt": "~0.31.10-dev.2",
|
|
47
|
+
"@rocket.chat/fuselage-polyfills": "~0.31.10-dev.2",
|
|
48
|
+
"@rocket.chat/fuselage-tokens": "~0.31.10-dev.2",
|
|
49
|
+
"@rocket.chat/prettier-config": "~0.31.10-dev.2",
|
|
50
50
|
"@storybook/addon-essentials": "~6.4.18",
|
|
51
51
|
"@storybook/addons": "~6.4.18",
|
|
52
52
|
"@storybook/react": "~6.4.18",
|
|
@@ -55,11 +55,11 @@
|
|
|
55
55
|
"@types/jest": "~27.4.0",
|
|
56
56
|
"@types/react": "~17.0.39",
|
|
57
57
|
"@types/react-dom": "^17.0.11",
|
|
58
|
-
"bump": "
|
|
58
|
+
"bump": "~0.31.9",
|
|
59
59
|
"countries-list": "^2.6.1",
|
|
60
60
|
"eslint": "~8.8.0",
|
|
61
61
|
"jest": "~27.5.1",
|
|
62
|
-
"lint-all": "
|
|
62
|
+
"lint-all": "~0.31.9",
|
|
63
63
|
"lint-staged": "~12.3.3",
|
|
64
64
|
"npm-run-all": "^4.1.5",
|
|
65
65
|
"prettier": "~2.5.1",
|
|
@@ -72,11 +72,11 @@
|
|
|
72
72
|
"typescript": "~4.3.5"
|
|
73
73
|
},
|
|
74
74
|
"dependencies": {
|
|
75
|
-
"@rocket.chat/fuselage": "
|
|
76
|
-
"@rocket.chat/fuselage-hooks": "
|
|
77
|
-
"@rocket.chat/icons": "
|
|
78
|
-
"@rocket.chat/logo": "
|
|
79
|
-
"@rocket.chat/styled": "
|
|
75
|
+
"@rocket.chat/fuselage": "~0.32.0-dev.10",
|
|
76
|
+
"@rocket.chat/fuselage-hooks": "~0.31.10-dev.2",
|
|
77
|
+
"@rocket.chat/icons": "~0.31.10-dev.2",
|
|
78
|
+
"@rocket.chat/logo": "~0.31.10-dev.2",
|
|
79
|
+
"@rocket.chat/styled": "~0.31.10-dev.2",
|
|
80
80
|
"i18next": "~21.6.11",
|
|
81
81
|
"react-hook-form": "~7.27.0",
|
|
82
82
|
"react-i18next": "~11.15.4",
|
|
@@ -86,6 +86,5 @@
|
|
|
86
86
|
"@rocket.chat/fuselage-polyfills": "*",
|
|
87
87
|
"react": "17.0.2",
|
|
88
88
|
"react-dom": "17.0.2"
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
}
|
|
89
|
+
}
|
|
90
|
+
}
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2021 Rocket.Chat
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|