andoncloud-sdk 1.3.13 → 1.4.1

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
  }
@@ -1758,22 +1755,27 @@ var defaultTheme = styles.createTheme(styles.adaptV4Theme({
1758
1755
  }
1759
1756
  },
1760
1757
  typography: {
1758
+ fontFamily: "'Inter', system-ui",
1759
+ fontWeightLight: "400",
1760
+ fontWeightRegular: "500",
1761
+ fontWeightMedium: "600",
1761
1762
  button: {
1762
1763
  textTransform: "none"
1763
1764
  }
1764
1765
  },
1765
1766
  palette: {
1767
+ background: "#1E1E1E",
1766
1768
  primary: {
1767
1769
  light: "#156bd1",
1768
1770
  main: "#155ed1",
1769
1771
  dark: "#1551d1",
1770
- contrastText: "#fff"
1772
+ contrastText: "rgba(255,255,255,0.85)"
1771
1773
  },
1772
1774
  secondary: {
1773
1775
  light: "#656565",
1774
1776
  main: "#595959",
1775
1777
  dark: "#4d4d4d",
1776
- contrastText: "#fff"
1778
+ contrastText: "rgba(255,255,255,0.85)"
1777
1779
  }
1778
1780
  }
1779
1781
  }));
@@ -2953,24 +2955,30 @@ var useStyles = (function (_ref) {
2953
2955
  menuStyles = _ref.menuStyles,
2954
2956
  menuDropdownStyles = _ref.menuDropdownStyles;
2955
2957
  return {
2956
- root: styles,
2958
+ root: _extends$1({
2959
+ padding: "10px 0",
2960
+ color: "rgba(255,255,255,0.85)",
2961
+ background: "transparent"
2962
+ }, styles),
2957
2963
  nav: {
2958
2964
  marginRight: "10px"
2959
2965
  },
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
- },
2966
+ user: {},
2966
2967
  userInfo: {
2967
- paddingLeft: "1em"
2968
+ marginLeft: "0.5em",
2969
+ color: "rgba(255,255,255,0.5)"
2968
2970
  },
2969
2971
  button: {
2970
- color: "white",
2971
- backgroundColor: "transparent",
2972
+ height: "50px",
2973
+ marginRight: "10px",
2974
+ fontSize: "16px",
2975
+ fontWeight: 600,
2976
+ backgroundColor: "rgba(79, 79, 79, 1)",
2977
+ boxShadow: "0px 2px 5px rgba(0, 0, 0, 0.28)",
2978
+ borderRadius: "4px",
2972
2979
  "&:hover": {
2973
- backgroundColor: "rgba(0,0,0,0.05)"
2980
+ backgroundColor: "rgba(79, 79, 79, 1)",
2981
+ filter: "brightness(1.1)"
2974
2982
  }
2975
2983
  },
2976
2984
  loginButton: {
@@ -2979,11 +2987,8 @@ var useStyles = (function (_ref) {
2979
2987
  logoutButton: {
2980
2988
  paddingRight: "18px"
2981
2989
  },
2982
- avatar: {
2983
- paddingRight: "0.5em"
2984
- },
2985
2990
  menu: _extends$1({
2986
- marginTop: "48px",
2991
+ marginTop: "60px",
2987
2992
  backgroundColor: "rgba(0,0,0,0.5)"
2988
2993
  }, menuStyles, {
2989
2994
  "& .MuiPaper-root": _extends$1({
@@ -3021,15 +3026,16 @@ var Header = function Header(_ref) {
3021
3026
  showUserSection = _show$showCompanyLogo.show,
3022
3027
  showCompanyLogo = _show$showCompanyLogo.showCompanyLogo;
3023
3028
 
3024
- var _items$dropdownStyles = _extends$1({
3029
+ var _items$buttonColor$dr = _extends$1({
3025
3030
  items: [],
3031
+ buttonColor: "white",
3026
3032
  dropdownStyles: {},
3027
3033
  styles: {}
3028
3034
  }, menuProps),
3029
- menuItems = _items$dropdownStyles.items,
3030
- menuButtonColor = _items$dropdownStyles.buttonColor,
3031
- menuDropdownStyles = _items$dropdownStyles.dropdownStyles,
3032
- menuStyles = _items$dropdownStyles.styles;
3035
+ menuItems = _items$buttonColor$dr.items,
3036
+ menuButtonColor = _items$buttonColor$dr.buttonColor,
3037
+ menuDropdownStyles = _items$buttonColor$dr.dropdownStyles,
3038
+ menuStyles = _items$buttonColor$dr.styles;
3033
3039
 
3034
3040
  var _useState = React.useState(new Date()),
3035
3041
  currentTime = _useState[0],
@@ -3107,8 +3113,8 @@ var Header = function Header(_ref) {
3107
3113
  var currentUser = userStore.currentUser;
3108
3114
  return /*#__PURE__*/React__default.createElement(Box, {
3109
3115
  display: "inline-block",
3110
- sx: headerStyles.avatar
3111
- }, currentUser && currentUser.name);
3116
+ sx: headerStyles.userInfo
3117
+ }, currentUser && "(" + currentUser.name + ")");
3112
3118
  };
3113
3119
 
3114
3120
  var renderNav = function renderNav() {
@@ -3132,17 +3138,12 @@ var Header = function Header(_ref) {
3132
3138
  return /*#__PURE__*/React__default.createElement(Box, {
3133
3139
  display: "flex",
3134
3140
  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, {
3141
+ }, currentUser ? /*#__PURE__*/React__default.createElement(Button, {
3140
3142
  id: "logout-button",
3141
3143
  onClick: handleLogout,
3142
- endIcon: /*#__PURE__*/React__default.createElement(ExitToAppIcon, null),
3143
3144
  sx: _extends$1({}, headerStyles.button, headerStyles.logoutButton),
3144
3145
  "data-testid": "ac-sdk-header-logout-button"
3145
- }, languageStore.translations.headerLogoutButton)) : /*#__PURE__*/React__default.createElement(Button, {
3146
+ }, languageStore.translations.headerLogoutButton, showCompanyLogo && renderUserCompanyLogo(), renderUserAvatar()) : /*#__PURE__*/React__default.createElement(Button, {
3146
3147
  id: "login-button",
3147
3148
  onClick: function onClick() {
3148
3149
  return navigate("/login");
@@ -3188,15 +3189,21 @@ var Header = function Header(_ref) {
3188
3189
  return /*#__PURE__*/React__default.createElement(AppBar, {
3189
3190
  position: position,
3190
3191
  elevation: 0,
3191
- sx: headerStyles.root,
3192
+ sx: _extends$1({}, position === "static" ? {
3193
+ marginTop: "-70px"
3194
+ } : {}, headerStyles.root),
3192
3195
  "data-testid": dataTestID || "ac-sdk-header"
3193
3196
  }, /*#__PURE__*/React__default.createElement(Toolbar, {
3194
3197
  variant: "dense"
3195
- }, showAcLogo && /*#__PURE__*/React__default.createElement("a", {
3196
- href: "/"
3198
+ }, showAcLogo && /*#__PURE__*/React__default.createElement(reactRouterDom.Link, {
3199
+ to: "/"
3197
3200
  }, /*#__PURE__*/React__default.createElement("img", {
3198
- src: "//static.andoncloud.com/shared/logo-white.svg",
3199
- alt: "AndonCloud"
3201
+ src: acLogo,
3202
+ alt: "AndonCloud",
3203
+ style: {
3204
+ display: "block",
3205
+ marginLeft: "-4px"
3206
+ }
3200
3207
  })), /*#__PURE__*/React__default.createElement(Typography, {
3201
3208
  variant: "subtitle1"
3202
3209
  }, leadingText), /*#__PURE__*/React__default.createElement(Typography, {
@@ -3242,17 +3249,41 @@ Header.defaultProps = {
3242
3249
  };
3243
3250
  var Header$1 = mobxReactLite.observer(Header);
3244
3251
 
3252
+ var baseStyles = {
3253
+ root: {
3254
+ height: "100vh",
3255
+ paddingTop: "70px",
3256
+ mixBlendMode: "color",
3257
+ background: "#1E1E1E"
3258
+ },
3259
+ overlay: {
3260
+ position: "absolute",
3261
+ top: 0,
3262
+ left: 0,
3263
+ width: "100%",
3264
+ height: "100%",
3265
+ zIndex: -1,
3266
+ background: "repeating-linear-gradient(-45deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1) 12px, transparent 12px, transparent 24px);"
3267
+ }
3268
+ };
3269
+
3245
3270
  var Container = function Container(_ref) {
3246
3271
  var children = _ref.children,
3247
3272
  headerProps = _ref.headerProps,
3248
3273
  styles = _ref.styles,
3249
3274
  dataTestID = _ref["data-testid"];
3250
- return /*#__PURE__*/React__default.createElement(Box, {
3251
- display: "flex",
3252
- flexDirection: "column",
3253
- sx: styles,
3275
+ return /*#__PURE__*/React__default.createElement(BaseContainer, {
3276
+ maxWidth: false,
3277
+ disableGutters: true,
3278
+ sx: _extends$1({}, baseStyles.root, {
3279
+ styles: styles
3280
+ }),
3254
3281
  "data-testid": dataTestID || "ac-sdk-container"
3255
- }, /*#__PURE__*/React__default.createElement(Header$1, headerProps), children);
3282
+ }, /*#__PURE__*/React__default.createElement(Header$1, _extends$1({
3283
+ showAcLogo: true
3284
+ }, headerProps)), children, /*#__PURE__*/React__default.createElement(material.Box, {
3285
+ sx: baseStyles.overlay
3286
+ }));
3256
3287
  };
3257
3288
 
3258
3289
  Container.propTypes = {
@@ -3326,14 +3357,12 @@ var LoginPage = function LoginPage(_ref) {
3326
3357
  }
3327
3358
  }, /*#__PURE__*/React__default.createElement(Box, {
3328
3359
  display: "flex",
3329
- height: "calc(100vh - 48px)",
3360
+ height: "100%",
3330
3361
  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"
3362
+ justifyContent: "center"
3363
+ }, /*#__PURE__*/React__default.createElement(Card, {
3364
+ sx: {
3365
+ borderRadius: "20px"
3337
3366
  }
3338
3367
  }, /*#__PURE__*/React__default.createElement(CardContent, null, /*#__PURE__*/React__default.createElement(LoginForm$1, {
3339
3368
  title: languageStore.translations.loginFormText,