andoncloud-sdk 1.3.14 → 1.4.2

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.
@@ -0,0 +1,171 @@
1
+ @font-face {
2
+ font-family: "Inter";
3
+ font-style: normal;
4
+ font-weight: 100;
5
+ font-display: swap;
6
+ src: url("Inter (web)/Inter-Thin.woff2?v=3.19") format("woff2"), url("Inter (web)/Inter-Thin.woff?v=3.19") format("woff");
7
+ }
8
+ @font-face {
9
+ font-family: "Inter";
10
+ font-style: italic;
11
+ font-weight: 100;
12
+ font-display: swap;
13
+ src: url("Inter (web)/Inter-ThinItalic.woff2?v=3.19") format("woff2"), url("Inter (web)/Inter-ThinItalic.woff?v=3.19") format("woff");
14
+ }
15
+ @font-face {
16
+ font-family: "Inter";
17
+ font-style: normal;
18
+ font-weight: 200;
19
+ font-display: swap;
20
+ src: url("Inter (web)/Inter-ExtraLight.woff2?v=3.19") format("woff2"), url("Inter (web)/Inter-ExtraLight.woff?v=3.19") format("woff");
21
+ }
22
+ @font-face {
23
+ font-family: "Inter";
24
+ font-style: italic;
25
+ font-weight: 200;
26
+ font-display: swap;
27
+ src: url("Inter (web)/Inter-ExtraLightItalic.woff2?v=3.19") format("woff2"), url("Inter (web)/Inter-ExtraLightItalic.woff?v=3.19") format("woff");
28
+ }
29
+ @font-face {
30
+ font-family: "Inter";
31
+ font-style: normal;
32
+ font-weight: 300;
33
+ font-display: swap;
34
+ src: url("Inter (web)/Inter-Light.woff2?v=3.19") format("woff2"), url("Inter (web)/Inter-Light.woff?v=3.19") format("woff");
35
+ }
36
+ @font-face {
37
+ font-family: "Inter";
38
+ font-style: italic;
39
+ font-weight: 300;
40
+ font-display: swap;
41
+ src: url("Inter (web)/Inter-LightItalic.woff2?v=3.19") format("woff2"), url("Inter (web)/Inter-LightItalic.woff?v=3.19") format("woff");
42
+ }
43
+ @font-face {
44
+ font-family: "Inter";
45
+ font-style: normal;
46
+ font-weight: 400;
47
+ font-display: swap;
48
+ src: url("Inter (web)/Inter-Regular.woff2?v=3.19") format("woff2"), url("Inter (web)/Inter-Regular.woff?v=3.19") format("woff");
49
+ }
50
+ @font-face {
51
+ font-family: "Inter";
52
+ font-style: italic;
53
+ font-weight: 400;
54
+ font-display: swap;
55
+ src: url("Inter (web)/Inter-Italic.woff2?v=3.19") format("woff2"), url("Inter (web)/Inter-Italic.woff?v=3.19") format("woff");
56
+ }
57
+ @font-face {
58
+ font-family: "Inter";
59
+ font-style: normal;
60
+ font-weight: 500;
61
+ font-display: swap;
62
+ src: url("Inter (web)/Inter-Medium.woff2?v=3.19") format("woff2"), url("Inter (web)/Inter-Medium.woff?v=3.19") format("woff");
63
+ }
64
+ @font-face {
65
+ font-family: "Inter";
66
+ font-style: italic;
67
+ font-weight: 500;
68
+ font-display: swap;
69
+ src: url("Inter (web)/Inter-MediumItalic.woff2?v=3.19") format("woff2"), url("Inter (web)/Inter-MediumItalic.woff?v=3.19") format("woff");
70
+ }
71
+ @font-face {
72
+ font-family: "Inter";
73
+ font-style: normal;
74
+ font-weight: 600;
75
+ font-display: swap;
76
+ src: url("Inter (web)/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("Inter (web)/Inter-SemiBold.woff?v=3.19") format("woff");
77
+ }
78
+ @font-face {
79
+ font-family: "Inter";
80
+ font-style: italic;
81
+ font-weight: 600;
82
+ font-display: swap;
83
+ src: url("Inter (web)/Inter-SemiBoldItalic.woff2?v=3.19") format("woff2"), url("Inter (web)/Inter-SemiBoldItalic.woff?v=3.19") format("woff");
84
+ }
85
+ @font-face {
86
+ font-family: "Inter";
87
+ font-style: normal;
88
+ font-weight: 700;
89
+ font-display: swap;
90
+ src: url("Inter (web)/Inter-Bold.woff2?v=3.19") format("woff2"), url("Inter (web)/Inter-Bold.woff?v=3.19") format("woff");
91
+ }
92
+ @font-face {
93
+ font-family: "Inter";
94
+ font-style: italic;
95
+ font-weight: 700;
96
+ font-display: swap;
97
+ src: url("Inter (web)/Inter-BoldItalic.woff2?v=3.19") format("woff2"), url("Inter (web)/Inter-BoldItalic.woff?v=3.19") format("woff");
98
+ }
99
+ @font-face {
100
+ font-family: "Inter";
101
+ font-style: normal;
102
+ font-weight: 800;
103
+ font-display: swap;
104
+ src: url("Inter (web)/Inter-ExtraBold.woff2?v=3.19") format("woff2"), url("Inter (web)/Inter-ExtraBold.woff?v=3.19") format("woff");
105
+ }
106
+ @font-face {
107
+ font-family: "Inter";
108
+ font-style: italic;
109
+ font-weight: 800;
110
+ font-display: swap;
111
+ src: url("Inter (web)/Inter-ExtraBoldItalic.woff2?v=3.19") format("woff2"), url("Inter (web)/Inter-ExtraBoldItalic.woff?v=3.19") format("woff");
112
+ }
113
+ @font-face {
114
+ font-family: "Inter";
115
+ font-style: normal;
116
+ font-weight: 900;
117
+ font-display: swap;
118
+ src: url("Inter (web)/Inter-Black.woff2?v=3.19") format("woff2"), url("Inter (web)/Inter-Black.woff?v=3.19") format("woff");
119
+ }
120
+ @font-face {
121
+ font-family: "Inter";
122
+ font-style: italic;
123
+ font-weight: 900;
124
+ font-display: swap;
125
+ src: url("Inter (web)/Inter-BlackItalic.woff2?v=3.19") format("woff2"), url("Inter (web)/Inter-BlackItalic.woff?v=3.19") format("woff");
126
+ }
127
+ /* -------------------------------------------------------
128
+ Variable font.
129
+ Usage:
130
+
131
+ html { font-family: 'Inter', sans-serif; }
132
+ @supports (font-variation-settings: normal) {
133
+ html { font-family: 'Inter var', sans-serif; }
134
+ }
135
+ */
136
+ @font-face {
137
+ font-family: "Inter var";
138
+ font-weight: 100 900;
139
+ font-style: normal;
140
+ font-named-instance: "Regular";
141
+ font-display: swap;
142
+ src: url("Inter (web)/Inter-roman.var.woff2?v=3.19") format("woff2 supports variations(gvar)"), url("Inter (web)/Inter-roman.var.woff2?v=3.19") format("woff2-variations"), url("Inter (web)/Inter-roman.var.woff2?v=3.19") format("woff2");
143
+ }
144
+ @font-face {
145
+ font-family: "Inter var";
146
+ font-weight: 100 900;
147
+ font-style: italic;
148
+ font-named-instance: "Italic";
149
+ font-display: swap;
150
+ src: url("Inter (web)/Inter-italic.var.woff2?v=3.19") format("woff2 supports variations(gvar)"), url("Inter (web)/Inter-italic.var.woff2?v=3.19") format("woff2-variations"), url("Inter (web)/Inter-italic.var.woff2?v=3.19") format("woff2");
151
+ }
152
+ /* --------------------------------------------------------------------------
153
+ [EXPERIMENTAL] Multi-axis, single variable font.
154
+
155
+ Slant axis is not yet widely supported (as of February 2019) and thus this
156
+ multi-axis single variable font is opt-in rather than the default.
157
+
158
+ When using this, you will probably need to set font-variation-settings
159
+ explicitly, e.g.
160
+
161
+ * { font-variation-settings: "slnt" 0deg }
162
+ .italic { font-variation-settings: "slnt" 10deg }
163
+
164
+ */
165
+ @font-face {
166
+ font-family: "Inter var experimental";
167
+ font-weight: 100 900;
168
+ font-style: oblique 0deg 10deg;
169
+ font-display: swap;
170
+ src: url("Inter (web)/Inter.var.woff2?v=3.19") format("woff2-variations"), url("Inter (web)/Inter.var.woff2?v=3.19") format("woff2");
171
+ }
@@ -16,8 +16,8 @@ var lab = require('@mui/lab');
16
16
  var Box = _interopDefault(require('@mui/material/Box'));
17
17
  var Card = _interopDefault(require('@mui/material/Card'));
18
18
  var CardContent = _interopDefault(require('@mui/material/CardContent'));
19
+ var BaseContainer = _interopDefault(require('@mui/material/Container'));
19
20
  var Button = _interopDefault(require('@mui/material/Button'));
20
- var ExitToAppIcon = _interopDefault(require('@mui/icons-material/ExitToApp'));
21
21
  var MenuIcon = _interopDefault(require('@mui/icons-material/Menu'));
22
22
  var AppBar = _interopDefault(require('@mui/material/AppBar'));
23
23
  var Typography = _interopDefault(require('@mui/material/Typography'));
@@ -26,6 +26,7 @@ var IconButton = _interopDefault(require('@mui/material/IconButton'));
26
26
  var MenuItem = _interopDefault(require('@mui/material/MenuItem'));
27
27
  var Menu = _interopDefault(require('@mui/material/Menu'));
28
28
  var AccessTimeIcon = _interopDefault(require('@mui/icons-material/AccessTime'));
29
+ var acLogo = _interopDefault(require('./assets/logo.svg'));
29
30
  var backdropPattern = _interopDefault(require('./assets/backdropPattern.svg'));
30
31
 
31
32
  let e={data:""},t=t=>"object"==typeof window?((t?t.querySelector("#_goober"):window._goober)||Object.assign((t||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:t||e,l=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,a=/\/\*[^]*?\*\/| +/g,n=/\n+/g,o=(e,t)=>{let r="",l="",a="";for(let n in e){let c=e[n];"@"==n[0]?"i"==n[1]?r=n+" "+c+";":l+="f"==n[1]?o(c,n):n+"{"+o(c,"k"==n[1]?"":t)+"}":"object"==typeof c?l+=o(c,t?t.replace(/([^,])+/g,e=>n.replace(/(^:.*)|([^,])+/g,t=>/&/.test(t)?t.replace(/&/g,e):e?e+" "+t:t)):n):null!=c&&(n=/^--/.test(n)?n:n.replace(/[A-Z]/g,"-$&").toLowerCase(),a+=o.p?o.p(n,c):n+":"+c+";");}return r+(t&&a?t+"{"+a+"}":a)+l},c={},s=e=>{if("object"==typeof e){let t="";for(let r in e)t+=r+s(e[r]);return t}return e},i=(e,t,r,i,p)=>{let u=s(e),d=c[u]||(c[u]=(e=>{let t=0,r=11;for(;t<e.length;)r=101*r+e.charCodeAt(t++)>>>0;return "go"+r})(u));if(!c[d]){let t=u!==e?e:(e=>{let t,r,o=[{}];for(;t=l.exec(e.replace(a,""));)t[4]?o.shift():t[3]?(r=t[3].replace(n," ").trim(),o.unshift(o[0][r]=o[0][r]||{})):o[0][t[1]]=t[2].replace(n," ").trim();return o[0]})(e);c[d]=o(p?{["@keyframes "+d]:t}:t,r?"":"."+d);}return ((e,t,r)=>{-1==t.data.indexOf(e)&&(t.data=r?e+t.data:t.data+e);})(c[d],t,i),d},p=(e,t,r)=>e.reduce((e,l,a)=>{let n=t[a];if(n&&n.call){let e=n(r),t=e&&e.props&&e.props.className||/^go/.test(e)&&e;n=t?"."+t:e&&"object"==typeof e?e.props?"":o(e,""):!1===e?"":e;}return e+l+(null==n?"":n)},"");function u(e){let r=this||{},l=e.call?e(r.p):e;return i(l.unshift?l.raw?p(l,[].slice.call(arguments,1),r.p):l.reduce((e,t)=>Object.assign(e,t&&t.call?t(r.p):t),{}):l,t(r.target),r.g,r.o,r.k)}let d,f,g,b=u.bind({g:1}),h=u.bind({k:1});function m(e,t,r,l){o.p=t,d=e,f=r,g=l;}function j(e,t){let r=this||{};return function(){let l=arguments;function a(n,o){let c=Object.assign({},n),s=c.className||a.className;r.p=Object.assign({theme:f&&f()},c),r.o=/ *go\d+/.test(s),c.className=u.apply(r,l)+(s?" "+s:""),t&&(c.ref=o);let i=e;return e[0]&&(i=c.as||e,delete c.as),g&&i[0]&&g(c),d(i,c)}return t?t(a):a}}
@@ -1666,7 +1667,7 @@ var defaultTheme = styles.createTheme(styles.adaptV4Theme({
1666
1667
  overrides: {
1667
1668
  MuiBackdrop: {
1668
1669
  root: {
1669
- marginTop: 48
1670
+ marginTop: 70
1670
1671
  }
1671
1672
  },
1672
1673
  MuiButton: {
@@ -1683,13 +1684,12 @@ var defaultTheme = styles.createTheme(styles.adaptV4Theme({
1683
1684
  },
1684
1685
  MuiCardHeader: {
1685
1686
  root: {
1686
- textAlign: "center",
1687
- color: "white",
1688
- background: "linear-gradient(#4a4a4a 0%, #3e3e3e 100%)"
1687
+ color: "rgba(255,255,255,0.85)",
1688
+ background: "linear-gradient(180deg, #4A4A4A 0%, #3F3F3F 100%)"
1689
1689
  },
1690
1690
  subheader: {
1691
1691
  marginTop: "0.5em",
1692
- color: "rgba(255,255,255,0.75)"
1692
+ color: "rgba(255,255,255,0.5)"
1693
1693
  }
1694
1694
  },
1695
1695
  MuiPaper: {
@@ -1699,16 +1699,13 @@ var defaultTheme = styles.createTheme(styles.adaptV4Theme({
1699
1699
  },
1700
1700
  MuiCard: {
1701
1701
  root: {
1702
- borderRadius: "19px",
1702
+ borderRadius: "4px",
1703
1703
  boxShadow: "0px 4px 8px rgba(0, 0, 0, 0.25)"
1704
1704
  }
1705
1705
  },
1706
1706
  MuiCardContent: {
1707
1707
  root: {
1708
- maxWidth: 600,
1709
- minHeight: 800,
1710
- minWidth: 550,
1711
- background: "linear-gradient(180deg, #393939 0%, #4A4A4A 100%)",
1708
+ background: "rgba(45, 45, 45, 1)",
1712
1709
  "&:last-child": {
1713
1710
  paddingBottom: 16
1714
1711
  }
@@ -1734,6 +1731,12 @@ var defaultTheme = styles.createTheme(styles.adaptV4Theme({
1734
1731
  color: "white"
1735
1732
  }
1736
1733
  },
1734
+ MuiMenu: {
1735
+ paper: {
1736
+ color: "white",
1737
+ background: "#2d2d2d"
1738
+ }
1739
+ },
1737
1740
  MuiFormControl: {
1738
1741
  root: {
1739
1742
  alignItems: "center"
@@ -1758,22 +1761,27 @@ var defaultTheme = styles.createTheme(styles.adaptV4Theme({
1758
1761
  }
1759
1762
  },
1760
1763
  typography: {
1764
+ fontFamily: "'Inter', system-ui",
1765
+ fontWeightLight: "400",
1766
+ fontWeightRegular: "500",
1767
+ fontWeightMedium: "600",
1761
1768
  button: {
1762
1769
  textTransform: "none"
1763
1770
  }
1764
1771
  },
1765
1772
  palette: {
1773
+ background: "#1E1E1E",
1766
1774
  primary: {
1767
1775
  light: "#156bd1",
1768
1776
  main: "#155ed1",
1769
1777
  dark: "#1551d1",
1770
- contrastText: "#fff"
1778
+ contrastText: "rgba(255,255,255,0.85)"
1771
1779
  },
1772
1780
  secondary: {
1773
1781
  light: "#656565",
1774
1782
  main: "#595959",
1775
1783
  dark: "#4d4d4d",
1776
- contrastText: "#fff"
1784
+ contrastText: "rgba(255,255,255,0.85)"
1777
1785
  }
1778
1786
  }
1779
1787
  }));
@@ -2953,24 +2961,30 @@ var useStyles = (function (_ref) {
2953
2961
  menuStyles = _ref.menuStyles,
2954
2962
  menuDropdownStyles = _ref.menuDropdownStyles;
2955
2963
  return {
2956
- root: styles,
2964
+ root: _extends$1({
2965
+ padding: "10px 0",
2966
+ color: "rgba(255,255,255,0.85)",
2967
+ background: "transparent"
2968
+ }, styles),
2957
2969
  nav: {
2958
2970
  marginRight: "10px"
2959
2971
  },
2960
- user: {
2961
- marginRight: "20px",
2962
- backgroundColor: "rgba(0,0,0,0.05)",
2963
- borderRadius: "5px",
2964
- border: "1px solid rgba(0,0,0, 0.25)"
2965
- },
2972
+ user: {},
2966
2973
  userInfo: {
2967
- paddingLeft: "1em"
2974
+ marginLeft: "0.5em",
2975
+ color: "rgba(255,255,255,0.5)"
2968
2976
  },
2969
2977
  button: {
2970
- color: "white",
2971
- backgroundColor: "transparent",
2978
+ height: "50px",
2979
+ marginRight: "10px",
2980
+ fontSize: "16px",
2981
+ fontWeight: 600,
2982
+ backgroundColor: "rgba(79, 79, 79, 1)",
2983
+ boxShadow: "0px 2px 5px rgba(0, 0, 0, 0.28)",
2984
+ borderRadius: "4px",
2972
2985
  "&:hover": {
2973
- backgroundColor: "rgba(0,0,0,0.05)"
2986
+ backgroundColor: "rgba(79, 79, 79, 1)",
2987
+ filter: "brightness(1.1)"
2974
2988
  }
2975
2989
  },
2976
2990
  loginButton: {
@@ -2979,11 +2993,8 @@ var useStyles = (function (_ref) {
2979
2993
  logoutButton: {
2980
2994
  paddingRight: "18px"
2981
2995
  },
2982
- avatar: {
2983
- paddingRight: "0.5em"
2984
- },
2985
2996
  menu: _extends$1({
2986
- marginTop: "48px",
2997
+ marginTop: "60px",
2987
2998
  backgroundColor: "rgba(0,0,0,0.5)"
2988
2999
  }, menuStyles, {
2989
3000
  "& .MuiPaper-root": _extends$1({
@@ -3021,15 +3032,16 @@ var Header = function Header(_ref) {
3021
3032
  showUserSection = _show$showCompanyLogo.show,
3022
3033
  showCompanyLogo = _show$showCompanyLogo.showCompanyLogo;
3023
3034
 
3024
- var _items$dropdownStyles = _extends$1({
3035
+ var _items$buttonColor$dr = _extends$1({
3025
3036
  items: [],
3037
+ buttonColor: "white",
3026
3038
  dropdownStyles: {},
3027
3039
  styles: {}
3028
3040
  }, menuProps),
3029
- menuItems = _items$dropdownStyles.items,
3030
- menuButtonColor = _items$dropdownStyles.buttonColor,
3031
- menuDropdownStyles = _items$dropdownStyles.dropdownStyles,
3032
- menuStyles = _items$dropdownStyles.styles;
3041
+ menuItems = _items$buttonColor$dr.items,
3042
+ menuButtonColor = _items$buttonColor$dr.buttonColor,
3043
+ menuDropdownStyles = _items$buttonColor$dr.dropdownStyles,
3044
+ menuStyles = _items$buttonColor$dr.styles;
3033
3045
 
3034
3046
  var _useState = React.useState(new Date()),
3035
3047
  currentTime = _useState[0],
@@ -3107,8 +3119,8 @@ var Header = function Header(_ref) {
3107
3119
  var currentUser = userStore.currentUser;
3108
3120
  return /*#__PURE__*/React__default.createElement(Box, {
3109
3121
  display: "inline-block",
3110
- sx: headerStyles.avatar
3111
- }, currentUser && currentUser.name);
3122
+ sx: headerStyles.userInfo
3123
+ }, currentUser && "(" + currentUser.name + ")");
3112
3124
  };
3113
3125
 
3114
3126
  var renderNav = function renderNav() {
@@ -3132,17 +3144,12 @@ var Header = function Header(_ref) {
3132
3144
  return /*#__PURE__*/React__default.createElement(Box, {
3133
3145
  display: "flex",
3134
3146
  sx: headerStyles.user
3135
- }, currentUser ? /*#__PURE__*/React__default.createElement(Box, {
3136
- display: "flex",
3137
- alignItems: "center",
3138
- sx: headerStyles.userInfo
3139
- }, showCompanyLogo && renderUserCompanyLogo(), renderUserAvatar(), /*#__PURE__*/React__default.createElement(Button, {
3147
+ }, currentUser ? /*#__PURE__*/React__default.createElement(Button, {
3140
3148
  id: "logout-button",
3141
3149
  onClick: handleLogout,
3142
- endIcon: /*#__PURE__*/React__default.createElement(ExitToAppIcon, null),
3143
3150
  sx: _extends$1({}, headerStyles.button, headerStyles.logoutButton),
3144
3151
  "data-testid": "ac-sdk-header-logout-button"
3145
- }, languageStore.translations.headerLogoutButton)) : /*#__PURE__*/React__default.createElement(Button, {
3152
+ }, languageStore.translations.headerLogoutButton, showCompanyLogo && renderUserCompanyLogo(), renderUserAvatar()) : /*#__PURE__*/React__default.createElement(Button, {
3146
3153
  id: "login-button",
3147
3154
  onClick: function onClick() {
3148
3155
  return navigate("/login");
@@ -3188,15 +3195,21 @@ var Header = function Header(_ref) {
3188
3195
  return /*#__PURE__*/React__default.createElement(AppBar, {
3189
3196
  position: position,
3190
3197
  elevation: 0,
3191
- sx: headerStyles.root,
3198
+ sx: _extends$1({}, position === "static" ? {
3199
+ marginTop: "-70px"
3200
+ } : {}, headerStyles.root),
3192
3201
  "data-testid": dataTestID || "ac-sdk-header"
3193
3202
  }, /*#__PURE__*/React__default.createElement(Toolbar, {
3194
3203
  variant: "dense"
3195
- }, showAcLogo && /*#__PURE__*/React__default.createElement("a", {
3196
- href: "/"
3204
+ }, showAcLogo && /*#__PURE__*/React__default.createElement(reactRouterDom.Link, {
3205
+ to: "/"
3197
3206
  }, /*#__PURE__*/React__default.createElement("img", {
3198
- src: "//static.andoncloud.com/shared/logo-white.svg",
3199
- alt: "AndonCloud"
3207
+ src: acLogo,
3208
+ alt: "AndonCloud",
3209
+ style: {
3210
+ display: "block",
3211
+ marginLeft: "-4px"
3212
+ }
3200
3213
  })), /*#__PURE__*/React__default.createElement(Typography, {
3201
3214
  variant: "subtitle1"
3202
3215
  }, leadingText), /*#__PURE__*/React__default.createElement(Typography, {
@@ -3242,17 +3255,41 @@ Header.defaultProps = {
3242
3255
  };
3243
3256
  var Header$1 = mobxReactLite.observer(Header);
3244
3257
 
3258
+ var baseStyles = {
3259
+ root: {
3260
+ height: "100vh",
3261
+ paddingTop: "70px",
3262
+ mixBlendMode: "color",
3263
+ background: "#1E1E1E"
3264
+ },
3265
+ overlay: {
3266
+ position: "absolute",
3267
+ top: 0,
3268
+ left: 0,
3269
+ width: "100%",
3270
+ height: "100%",
3271
+ zIndex: -1,
3272
+ background: "repeating-linear-gradient(-45deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1) 12px, transparent 12px, transparent 24px);"
3273
+ }
3274
+ };
3275
+
3245
3276
  var Container = function Container(_ref) {
3246
3277
  var children = _ref.children,
3247
3278
  headerProps = _ref.headerProps,
3248
3279
  styles = _ref.styles,
3249
3280
  dataTestID = _ref["data-testid"];
3250
- return /*#__PURE__*/React__default.createElement(Box, {
3251
- display: "flex",
3252
- flexDirection: "column",
3253
- sx: styles,
3281
+ return /*#__PURE__*/React__default.createElement(BaseContainer, {
3282
+ maxWidth: false,
3283
+ disableGutters: true,
3284
+ sx: _extends$1({}, baseStyles.root, {
3285
+ styles: styles
3286
+ }),
3254
3287
  "data-testid": dataTestID || "ac-sdk-container"
3255
- }, /*#__PURE__*/React__default.createElement(Header$1, headerProps), children);
3288
+ }, /*#__PURE__*/React__default.createElement(Header$1, _extends$1({
3289
+ showAcLogo: true
3290
+ }, headerProps)), children, /*#__PURE__*/React__default.createElement(material.Box, {
3291
+ sx: baseStyles.overlay
3292
+ }));
3256
3293
  };
3257
3294
 
3258
3295
  Container.propTypes = {
@@ -3326,14 +3363,12 @@ var LoginPage = function LoginPage(_ref) {
3326
3363
  }
3327
3364
  }, /*#__PURE__*/React__default.createElement(Box, {
3328
3365
  display: "flex",
3329
- height: "calc(100vh - 48px)",
3366
+ height: "100%",
3330
3367
  alignItems: "center",
3331
- justifyContent: "center",
3332
- position: "relative"
3333
- }, /*#__PURE__*/React__default.createElement(FullscreenBackdrop, null), /*#__PURE__*/React__default.createElement(Card, {
3334
- style: {
3335
- zIndex: 1,
3336
- backgroundColor: "inherit"
3368
+ justifyContent: "center"
3369
+ }, /*#__PURE__*/React__default.createElement(Card, {
3370
+ sx: {
3371
+ borderRadius: "20px"
3337
3372
  }
3338
3373
  }, /*#__PURE__*/React__default.createElement(CardContent, null, /*#__PURE__*/React__default.createElement(LoginForm$1, {
3339
3374
  title: languageStore.translations.loginFormText,