@webiny/app-admin-cognito 5.27.0 → 5.28.0-beta.0
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/index.js +77 -43
- package/index.js.map +1 -1
- package/package.json +13 -13
- package/types.js +1 -0
- package/types.js.map +1 -1
- package/views/CheckingUser.js +18 -6
- package/views/CheckingUser.js.map +1 -1
- package/views/ForgotPassword.js +61 -36
- package/views/ForgotPassword.js.map +1 -1
- package/views/RequireNewPassword.js +52 -31
- package/views/RequireNewPassword.js.map +1 -1
- package/views/SetNewPassword.js +67 -41
- package/views/SetNewPassword.js.map +1 -1
- package/views/SignIn.js +62 -39
- package/views/SignIn.js.map +1 -1
- package/views/SignedIn.js +11 -3
- package/views/SignedIn.js.map +1 -1
- package/views/StateContainer.js +17 -5
- package/views/StateContainer.js.map +1 -1
- package/views/StyledComponents.js +32 -12
- package/views/StyledComponents.js.map +1 -1
package/views/StateContainer.js
CHANGED
|
@@ -1,10 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.default = void 0;
|
|
9
|
+
|
|
10
|
+
var React = _interopRequireWildcard(require("react"));
|
|
11
|
+
|
|
12
|
+
var _appAdmin = require("@webiny/app-admin");
|
|
13
|
+
|
|
14
|
+
var _StyledComponents = require("./StyledComponents");
|
|
4
15
|
|
|
5
16
|
var StateContainer = function StateContainer(_ref) {
|
|
6
17
|
var children = _ref.children;
|
|
7
|
-
return /*#__PURE__*/React.createElement(Wrapper, null, /*#__PURE__*/React.createElement(LogoWrapper, null, /*#__PURE__*/React.createElement(Logo, null)), /*#__PURE__*/React.createElement(LoginContent, null, children));
|
|
18
|
+
return /*#__PURE__*/React.createElement(_StyledComponents.Wrapper, null, /*#__PURE__*/React.createElement(_StyledComponents.LogoWrapper, null, /*#__PURE__*/React.createElement(_appAdmin.Logo, null)), /*#__PURE__*/React.createElement(_StyledComponents.LoginContent, null, children));
|
|
8
19
|
};
|
|
9
20
|
|
|
10
|
-
|
|
21
|
+
var _default = StateContainer;
|
|
22
|
+
exports.default = _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"names":["StateContainer","children"],"sources":["StateContainer.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { Logo } from \"@webiny/app-admin\";\nimport { LoginContent, LogoWrapper, Wrapper } from \"./StyledComponents\";\n\nconst StateContainer: React.FC = ({ children }) => (\n <Wrapper>\n <LogoWrapper>\n <Logo />\n </LogoWrapper>\n <LoginContent>{children}</LoginContent>\n </Wrapper>\n);\n\nexport default StateContainer;\n"],"mappings":";;;;;;;;;AAAA;;AACA;;AACA;;AAEA,IAAMA,cAAwB,GAAG,SAA3BA,cAA2B;EAAA,IAAGC,QAAH,QAAGA,QAAH;EAAA,oBAC7B,oBAAC,yBAAD,qBACI,oBAAC,6BAAD,qBACI,oBAAC,cAAD,OADJ,CADJ,eAII,oBAAC,8BAAD,QAAeA,QAAf,CAJJ,CAD6B;AAAA,CAAjC;;eASeD,c"}
|
|
@@ -1,6 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.errorMessage = exports.alignRight = exports.alignCenter = exports.Wrapper = exports.Title = exports.LogoWrapper = exports.LoginContent = exports.InnerContent = exports.Footer = void 0;
|
|
9
|
+
|
|
10
|
+
var _styled = _interopRequireDefault(require("@emotion/styled"));
|
|
11
|
+
|
|
12
|
+
var _emotion = require("emotion");
|
|
13
|
+
|
|
14
|
+
var Wrapper = /*#__PURE__*/(0, _styled.default)("section", {
|
|
4
15
|
target: "exiqwj40",
|
|
5
16
|
label: "Wrapper"
|
|
6
17
|
})({
|
|
@@ -10,14 +21,16 @@ export var Wrapper = /*#__PURE__*/styled("section", {
|
|
|
10
21
|
minHeight: "100vh",
|
|
11
22
|
color: "var(--mdc-theme-on-surface)"
|
|
12
23
|
});
|
|
13
|
-
|
|
24
|
+
exports.Wrapper = Wrapper;
|
|
25
|
+
var LogoWrapper = /*#__PURE__*/(0, _styled.default)("div", {
|
|
14
26
|
target: "exiqwj41",
|
|
15
27
|
label: "LogoWrapper"
|
|
16
28
|
})({
|
|
17
29
|
margin: "0 auto",
|
|
18
30
|
marginBottom: 30
|
|
19
31
|
});
|
|
20
|
-
|
|
32
|
+
exports.LogoWrapper = LogoWrapper;
|
|
33
|
+
var LoginContent = /*#__PURE__*/(0, _styled.default)("div", {
|
|
21
34
|
target: "exiqwj42",
|
|
22
35
|
label: "LoginContent"
|
|
23
36
|
})({
|
|
@@ -37,14 +50,16 @@ export var LoginContent = /*#__PURE__*/styled("div", {
|
|
|
37
50
|
}
|
|
38
51
|
}
|
|
39
52
|
});
|
|
40
|
-
|
|
53
|
+
exports.LoginContent = LoginContent;
|
|
54
|
+
var InnerContent = /*#__PURE__*/(0, _styled.default)("div", {
|
|
41
55
|
target: "exiqwj43",
|
|
42
56
|
label: "InnerContent"
|
|
43
57
|
})({
|
|
44
58
|
position: "relative",
|
|
45
59
|
padding: 25
|
|
46
60
|
});
|
|
47
|
-
|
|
61
|
+
exports.InnerContent = InnerContent;
|
|
62
|
+
var Footer = /*#__PURE__*/(0, _styled.default)("div", {
|
|
48
63
|
target: "exiqwj44",
|
|
49
64
|
label: "Footer"
|
|
50
65
|
})({
|
|
@@ -55,19 +70,24 @@ export var Footer = /*#__PURE__*/styled("div", {
|
|
|
55
70
|
color: "var(--mdc-theme-primary)"
|
|
56
71
|
}
|
|
57
72
|
});
|
|
58
|
-
|
|
73
|
+
exports.Footer = Footer;
|
|
74
|
+
var Title = /*#__PURE__*/(0, _styled.default)("div", {
|
|
59
75
|
target: "exiqwj45",
|
|
60
76
|
label: "Title"
|
|
61
77
|
})({
|
|
62
78
|
textAlign: "center",
|
|
63
79
|
margin: "10px 25px"
|
|
64
80
|
});
|
|
65
|
-
|
|
81
|
+
exports.Title = Title;
|
|
82
|
+
var alignRight = /*#__PURE__*/(0, _emotion.css)({
|
|
66
83
|
textAlign: "right"
|
|
67
84
|
}, "label:alignRight;");
|
|
68
|
-
|
|
85
|
+
exports.alignRight = alignRight;
|
|
86
|
+
var alignCenter = /*#__PURE__*/(0, _emotion.css)({
|
|
69
87
|
textAlign: "center"
|
|
70
88
|
}, "label:alignCenter;");
|
|
71
|
-
|
|
89
|
+
exports.alignCenter = alignCenter;
|
|
90
|
+
var errorMessage = /*#__PURE__*/(0, _emotion.css)({
|
|
72
91
|
color: "red"
|
|
73
|
-
}, "label:errorMessage;");
|
|
92
|
+
}, "label:errorMessage;");
|
|
93
|
+
exports.errorMessage = errorMessage;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"names":["Wrapper","styled","display","flexDirection","justifyContent","minHeight","color","LogoWrapper","margin","marginBottom","LoginContent","width","maxWidth","borderRadius","boxShadow","a","textDecoration","fontWeight","InnerContent","position","padding","Footer","textAlign","Title","alignRight","css","alignCenter","errorMessage"],"sources":["StyledComponents.ts"],"sourcesContent":["import styled from \"@emotion/styled\";\nimport { css } from \"emotion\";\n\nexport const Wrapper = styled(\"section\")({\n display: \"flex\",\n flexDirection: \"column\",\n justifyContent: \"center\",\n minHeight: \"100vh\",\n color: \"var(--mdc-theme-on-surface)\"\n});\n\nexport const LogoWrapper = styled(\"div\")({\n margin: \"0 auto\",\n marginBottom: 30\n});\n\nexport const LoginContent = styled(\"div\")({\n width: \"100%\",\n maxWidth: 500,\n margin: \"0 auto 25px auto\",\n \".mdc-elevation--z2\": {\n borderRadius: 4,\n boxShadow: \"0 1px 3px 0 rgba(0,0,0,0.15)\"\n },\n a: {\n textDecoration: \"none\",\n color: \"var(--mdc-theme-primary)\",\n fontWeight: 600,\n \"&:hover\": {\n textDecoration: \"underline\"\n }\n }\n});\n\nexport const InnerContent = styled(\"div\")({\n position: \"relative\",\n padding: 25\n});\n\nexport const Footer = styled(\"div\")({\n textAlign: \"center\",\n marginBottom: 75,\n a: {\n textDecoration: \"none\",\n color: \"var(--mdc-theme-primary)\"\n }\n});\n\nexport const Title = styled(\"div\")({\n textAlign: \"center\",\n margin: \"10px 25px\"\n});\n\nexport const alignRight = css({\n textAlign: \"right\"\n});\n\nexport const alignCenter = css({\n textAlign: \"center\"\n});\n\nexport const errorMessage = css({\n color: \"red\"\n});\n"],"mappings":";;;;;;;;;AAAA;;AACA;;AAEO,IAAMA,OAAO,oBAAGC,eAAH,EAAU,SAAV;EAAA;EAAA;AAAA,GAAqB;EACrCC,OAAO,EAAE,MAD4B;EAErCC,aAAa,EAAE,QAFsB;EAGrCC,cAAc,EAAE,QAHqB;EAIrCC,SAAS,EAAE,OAJ0B;EAKrCC,KAAK,EAAE;AAL8B,CAArB,CAAb;;AAQA,IAAMC,WAAW,oBAAGN,eAAH,EAAU,KAAV;EAAA;EAAA;AAAA,GAAiB;EACrCO,MAAM,EAAE,QAD6B;EAErCC,YAAY,EAAE;AAFuB,CAAjB,CAAjB;;AAKA,IAAMC,YAAY,oBAAGT,eAAH,EAAU,KAAV;EAAA;EAAA;AAAA,GAAiB;EACtCU,KAAK,EAAE,MAD+B;EAEtCC,QAAQ,EAAE,GAF4B;EAGtCJ,MAAM,EAAE,kBAH8B;EAItC,sBAAsB;IAClBK,YAAY,EAAE,CADI;IAElBC,SAAS,EAAE;EAFO,CAJgB;EAQtCC,CAAC,EAAE;IACCC,cAAc,EAAE,MADjB;IAECV,KAAK,EAAE,0BAFR;IAGCW,UAAU,EAAE,GAHb;IAIC,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