@commercetools-frontend/application-shell 21.3.2 → 21.3.3

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.
Files changed (41) hide show
  1. package/dist/{application-entry-point-f21c8316.cjs.prod.js → application-entry-point-0178aabe.cjs.prod.js} +2 -2
  2. package/dist/{application-entry-point-575996c4.cjs.dev.js → application-entry-point-d60d4795.cjs.dev.js} +2 -2
  3. package/dist/{application-entry-point-bad42f46.esm.js → application-entry-point-df5ce5b0.esm.js} +2 -2
  4. package/dist/commercetools-frontend-application-shell.cjs.dev.js +4 -4
  5. package/dist/commercetools-frontend-application-shell.cjs.prod.js +4 -4
  6. package/dist/commercetools-frontend-application-shell.esm.js +4 -4
  7. package/dist/{constants-745aeeca.cjs.prod.js → constants-20e45958.cjs.dev.js} +4 -0
  8. package/dist/{constants-33a16227.esm.js → constants-8c9773dd.esm.js} +4 -1
  9. package/dist/{constants-fdbe0e9d.cjs.dev.js → constants-90b58549.cjs.prod.js} +4 -0
  10. package/dist/declarations/src/constants.d.ts +3 -0
  11. package/dist/{index-6ed51d04.esm.js → index-464be964.esm.js} +52 -67
  12. package/dist/{index-655dc306.cjs.prod.js → index-76ebb56d.cjs.prod.js} +41 -51
  13. package/dist/{index-7809bd4b.cjs.dev.js → index-dc0c3748.cjs.dev.js} +52 -67
  14. package/dist/{oidc-415a3ef6.esm.js → oidc-54c28ae8.esm.js} +1 -1
  15. package/dist/{oidc-69515812.cjs.prod.js → oidc-8ad956b5.cjs.prod.js} +1 -1
  16. package/dist/{oidc-dc44ab6f.cjs.dev.js → oidc-cc8438b0.cjs.dev.js} +1 -1
  17. package/dist/{project-expired-9e2d78cb.esm.js → project-expired-04855cdb.esm.js} +5 -5
  18. package/dist/{project-expired-3bd528cf.cjs.dev.js → project-expired-1f02eb42.cjs.dev.js} +5 -5
  19. package/dist/{project-expired-78a70097.cjs.prod.js → project-expired-38ca65c4.cjs.prod.js} +5 -5
  20. package/dist/{project-not-found-745820fa.esm.js → project-not-found-2640d731.esm.js} +5 -5
  21. package/dist/{project-not-found-bff932dd.cjs.prod.js → project-not-found-b3dc61be.cjs.prod.js} +5 -5
  22. package/dist/{project-not-found-4c43cd16.cjs.dev.js → project-not-found-ba2874ea.cjs.dev.js} +5 -5
  23. package/dist/{project-not-initialized-64ac7587.cjs.prod.js → project-not-initialized-0f274fc5.cjs.prod.js} +5 -5
  24. package/dist/{project-not-initialized-5666fe79.esm.js → project-not-initialized-1341a8ab.esm.js} +5 -5
  25. package/dist/{project-not-initialized-8c5c6c80.cjs.dev.js → project-not-initialized-f77240ae.cjs.dev.js} +5 -5
  26. package/dist/{project-suspended-a59a41d4.cjs.dev.js → project-suspended-1bc5aaaf.cjs.dev.js} +5 -5
  27. package/dist/{project-suspended-b4842f42.esm.js → project-suspended-c455d767.esm.js} +5 -5
  28. package/dist/{project-suspended-540da552.cjs.prod.js → project-suspended-f5ab439d.cjs.prod.js} +5 -5
  29. package/dist/{quick-access-1d4f2411.cjs.prod.js → quick-access-123514ab.cjs.prod.js} +4 -4
  30. package/dist/{quick-access-76a86348.cjs.dev.js → quick-access-63b805ff.cjs.dev.js} +4 -4
  31. package/dist/{quick-access-1233f1f8.esm.js → quick-access-f000a045.esm.js} +4 -4
  32. package/dist/{service-page-project-switcher-1abf73ea.cjs.prod.js → service-page-project-switcher-0488bf1e.cjs.prod.js} +1 -1
  33. package/dist/{service-page-project-switcher-a7a51a39.esm.js → service-page-project-switcher-2874e91c.esm.js} +1 -1
  34. package/dist/{service-page-project-switcher-000c0941.cjs.dev.js → service-page-project-switcher-a4125c47.cjs.dev.js} +1 -1
  35. package/package.json +3 -3
  36. package/ssr/dist/commercetools-frontend-application-shell-ssr.cjs.dev.js +2 -2
  37. package/ssr/dist/commercetools-frontend-application-shell-ssr.cjs.prod.js +2 -2
  38. package/ssr/dist/commercetools-frontend-application-shell-ssr.esm.js +2 -2
  39. package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.dev.js +2 -2
  40. package/test-utils/dist/commercetools-frontend-application-shell-test-utils.cjs.prod.js +2 -2
  41. package/test-utils/dist/commercetools-frontend-application-shell-test-utils.esm.js +2 -2
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var applicationEntryPoint = require('./application-entry-point-f21c8316.cjs.prod.js');
3
+ var applicationEntryPoint = require('./application-entry-point-0178aabe.cjs.prod.js');
4
4
  var _defineProperty = require('@babel/runtime-corejs3/helpers/defineProperty');
5
5
  var _styled = require('@emotion/styled/base');
6
6
  var _pt = require('prop-types');
@@ -24,8 +24,8 @@ var applicationShellConnectors = require('@commercetools-frontend/application-sh
24
24
  var applicationComponents = require('@commercetools-frontend/application-components');
25
25
  var reactNotifications = require('@commercetools-frontend/react-notifications');
26
26
  var i18n = require('@commercetools-frontend/i18n');
27
+ var constants = require('./constants-90b58549.cjs.prod.js');
27
28
  var uuid = require('uuid');
28
- var constants = require('./constants-745aeeca.cjs.prod.js');
29
29
  var _URL = require('@babel/runtime-corejs3/core-js-stable/url');
30
30
  var _concatInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/concat');
31
31
  var _slicedToArray = require('@babel/runtime-corejs3/helpers/slicedToArray');
@@ -38,7 +38,7 @@ var reactRedux = require('react-redux');
38
38
  var history = require('@commercetools-frontend/browser-history');
39
39
  var reactIntl = require('react-intl');
40
40
  var _startsWithInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/starts-with');
41
- var oidc = require('./oidc-69515812.cjs.prod.js');
41
+ var oidc = require('./oidc-8ad956b5.cjs.prod.js');
42
42
  var qss = require('qss');
43
43
  var jwtDecode = require('jwt-decode');
44
44
  var FailedAuthenticationSVG = require('@commercetools-frontend/assets/images/locked-diamond.svg');
@@ -1406,7 +1406,7 @@ FetchProject.displayName = 'FetchProject';
1406
1406
 
1407
1407
  function ownKeys$9(object, enumerableOnly) { var keys = _Object$keys__default["default"](object); if (_Object$getOwnPropertySymbols__default["default"]) { var symbols = _Object$getOwnPropertySymbols__default["default"](object); enumerableOnly && (symbols = _filterInstanceProperty__default["default"](symbols).call(symbols, function (sym) { return _Object$getOwnPropertyDescriptor__default["default"](object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
1408
1408
 
1409
- function _objectSpread$9(target) { for (var i = 1; i < arguments.length; i++) { var _context4, _context5; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? _forEachInstanceProperty__default["default"](_context4 = ownKeys$9(Object(source), !0)).call(_context4, function (key) { _defineProperty(target, key, source[key]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](target, _Object$getOwnPropertyDescriptors__default["default"](source)) : _forEachInstanceProperty__default["default"](_context5 = ownKeys$9(Object(source))).call(_context5, function (key) { _Object$defineProperty__default["default"](target, key, _Object$getOwnPropertyDescriptor__default["default"](source, key)); }); } return target; }
1409
+ function _objectSpread$9(target) { for (var i = 1; i < arguments.length; i++) { var _context3, _context4; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? _forEachInstanceProperty__default["default"](_context3 = ownKeys$9(Object(source), !0)).call(_context3, function (key) { _defineProperty(target, key, source[key]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](target, _Object$getOwnPropertyDescriptors__default["default"](source)) : _forEachInstanceProperty__default["default"](_context4 = ownKeys$9(Object(source))).call(_context4, function (key) { _Object$defineProperty__default["default"](target, key, _Object$getOwnPropertyDescriptor__default["default"](source, key)); }); } return target; }
1410
1410
  var FetchApplicationsMenu = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FetchApplicationsMenu" }, variableDefinitions: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "applicationsMenu" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "navBar" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "shouldRenderDivider" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "key" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "uriPath" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "icon" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "labelAllLocales" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "locale" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "featureToggle" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "menuVisibility" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "permissions" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "dataFences" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "group" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "type" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "actionRights" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "group" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "submenu" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "key" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "uriPath" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "labelAllLocales" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "locale" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "featureToggle" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "menuVisibility" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "permissions" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "actionRights" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "group" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "dataFences" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "group" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "type" }, arguments: [], directives: [] }] } }] } }] } }, { kind: "Field", name: { kind: "Name", value: "appBar" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "key" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "uriPath" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "labelAllLocales" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "locale" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "featureToggle" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "permissions" }, arguments: [], directives: [] }] } }] } }] } }], loc: { start: 0, end: 849, source: { body: "query FetchApplicationsMenu {\n applicationsMenu {\n navBar {\n shouldRenderDivider\n key\n uriPath\n icon\n labelAllLocales {\n locale\n value\n }\n featureToggle\n menuVisibility\n permissions\n dataFences {\n group\n name\n type\n }\n actionRights {\n group\n name\n }\n submenu {\n key\n uriPath\n labelAllLocales {\n locale\n value\n }\n featureToggle\n menuVisibility\n permissions\n actionRights {\n group\n name\n }\n dataFences {\n group\n name\n type\n }\n }\n }\n appBar {\n key\n uriPath\n labelAllLocales {\n locale\n value\n }\n featureToggle\n permissions\n }\n }\n}\n", name: "GraphQL request", locationOffset: { line: 1, column: 1 } } } };
1411
1411
  var supportedLocales = ['en', 'de', 'es', 'fr-FR', 'zh-CN', 'ja'];
1412
1412
  var defaultApiUrl$1 = window.location.origin;
@@ -1471,19 +1471,12 @@ var mapApplicationMenuConfigToGraqhQLQueryResult = function mapApplicationMenuCo
1471
1471
  // @ts-ignore: not defined in schema, as it's only used internally.
1472
1472
  dataFences: (_menuLinks$dataFences = menuLinks.dataFences) !== null && _menuLinks$dataFences !== void 0 ? _menuLinks$dataFences : null,
1473
1473
  submenu: _mapInstanceProperty__default["default"](_context = menuLinks.submenuLinks).call(_context, function (submenuLink) {
1474
- var _context2, _context3, _submenuLink$featureT, _submenuLink$menuVisi, _submenuLink$actionRi, _submenuLink$dataFenc;
1474
+ var _context2, _submenuLink$featureT, _submenuLink$menuVisi, _submenuLink$actionRi, _submenuLink$dataFenc;
1475
1475
 
1476
1476
  return {
1477
1477
  __typename: 'BaseMenu',
1478
1478
  key: _concatInstanceProperty__default["default"](_context2 = "".concat(entryPointUriPath, "-")).call(_context2, submenuLink.uriPath),
1479
- // The `uriPath` of each submenu link is supposed to be defined relative
1480
- // to the entry point URI path.
1481
- // However, when rendering the link, we need to provide the full uri path.
1482
- // Special case when the value is `/`: it means that the link is supposed to be
1483
- // treated the same as the entry point uri path. In this case, the return value
1484
- // should not contain any unnecessary trailing slash and therefore we return the
1485
- // main value `entryPointUriPath`.
1486
- uriPath: submenuLink.uriPath === '/' ? entryPointUriPath : _concatInstanceProperty__default["default"](_context3 = "".concat(entryPointUriPath, "/")).call(_context3, submenuLink.uriPath),
1479
+ uriPath: submenuLink.uriPath,
1487
1480
  labelAllLocales: mapLabelAllLocalesWithDefaults(submenuLink.labelAllLocales, submenuLink.defaultLabel),
1488
1481
  permissions: submenuLink.permissions,
1489
1482
  // @ts-ignore: not defined in schema, as it's only used internally.
@@ -2183,7 +2176,7 @@ var AppBar = function AppBar(props) {
2183
2176
 
2184
2177
  var previousProjectKey = getPreviousProjectKey((_props$user$defaultPr = (_props$user = props.user) === null || _props$user === void 0 ? void 0 : _props$user.defaultProjectKey) !== null && _props$user$defaultPr !== void 0 ? _props$user$defaultPr : undefined);
2185
2178
  return jsxRuntime.jsxs("div", {
2186
- css: /*#__PURE__*/react$2.css("box-shadow:", designSystem.customProperties.shadow1, ";min-height:43px;position:relative;width:100%;z-index:20000;display:flex;align-items:center;justify-content:space-between;" + ("" ), "" ),
2179
+ css: /*#__PURE__*/react$2.css("background-color:", designSystem.customProperties.colorSurface, ";box-shadow:", designSystem.customProperties.shadow1, ";min-height:", constants.HEIGHTS.header, ";position:relative;width:100%;z-index:20000;display:flex;align-items:center;justify-content:space-between;" + ("" ), "" ),
2187
2180
  "data-test": "top-navigation",
2188
2181
  children: [jsxRuntime.jsxs(Spacings__default["default"].Inline, {
2189
2182
  children: [jsxRuntime.jsx("div", {
@@ -2237,7 +2230,7 @@ var AppBar = function AppBar(props) {
2237
2230
  });
2238
2231
  }()]
2239
2232
  }), jsxRuntime.jsx("div", {
2240
- css: /*#__PURE__*/react$2.css("border-left:1px ", designSystem.customProperties.colorNeutral90, " solid;height:43px;" + ("" ), "" )
2233
+ css: /*#__PURE__*/react$2.css("border-left:1px ", designSystem.customProperties.colorNeutral90, " solid;height:", constants.HEIGHTS.header, ";" + ("" ), "" )
2241
2234
  }), props.user ? jsxRuntime.jsx(UserSettingsMenu, {
2242
2235
  language: props.user.language,
2243
2236
  firstName: props.user.firstName,
@@ -2332,19 +2325,19 @@ var LocaleSwitcher = function LocaleSwitcher(props) {
2332
2325
  LocaleSwitcher.propTypes = {};
2333
2326
 
2334
2327
  var ProjectNotFound = /*#__PURE__*/react.lazy(function () {
2335
- return Promise.resolve().then(function () { return require('./project-not-found-bff932dd.cjs.prod.js'
2328
+ return Promise.resolve().then(function () { return require('./project-not-found-b3dc61be.cjs.prod.js'
2336
2329
  /* webpackChunkName: "project-not-found" */
2337
2330
  ); });
2338
2331
  });
2339
2332
 
2340
2333
  var ProjectExpired = /*#__PURE__*/react.lazy(function () {
2341
- return Promise.resolve().then(function () { return require('./project-expired-78a70097.cjs.prod.js'
2334
+ return Promise.resolve().then(function () { return require('./project-expired-38ca65c4.cjs.prod.js'
2342
2335
  /* webpackChunkName: "project-expired" */
2343
2336
  ); });
2344
2337
  });
2345
2338
 
2346
2339
  var ProjectNotInitialized = /*#__PURE__*/react.lazy(function () {
2347
- return Promise.resolve().then(function () { return require('./project-not-initialized-64ac7587.cjs.prod.js'
2340
+ return Promise.resolve().then(function () { return require('./project-not-initialized-0f274fc5.cjs.prod.js'
2348
2341
  /* webpackChunkName: "project-not-initialized" */
2349
2342
  ); });
2350
2343
  });
@@ -2391,7 +2384,7 @@ var RedirectToProjectCreate = function RedirectToProjectCreate() {
2391
2384
  RedirectToProjectCreate.displayName = 'RedirectToProjectCreate';
2392
2385
 
2393
2386
  var ProjectSuspended = /*#__PURE__*/react.lazy(function () {
2394
- return Promise.resolve().then(function () { return require('./project-suspended-540da552.cjs.prod.js'
2387
+ return Promise.resolve().then(function () { return require('./project-suspended-f5ab439d.cjs.prod.js'
2395
2388
  /* webpackChunkName: "project-suspended" */
2396
2389
  ); });
2397
2390
  });
@@ -3606,7 +3599,7 @@ var pimIndexerStates = {
3606
3599
  };
3607
3600
 
3608
3601
  var QuickAccess = /*#__PURE__*/react.lazy(function () {
3609
- return Promise.resolve().then(function () { return require('./quick-access-1d4f2411.cjs.prod.js'
3602
+ return Promise.resolve().then(function () { return require('./quick-access-123514ab.cjs.prod.js'
3610
3603
  /* webpackChunkName: "quick-access" */
3611
3604
  ); });
3612
3605
  });
@@ -3911,11 +3904,6 @@ var _ref5 = {
3911
3904
  styles: "grid-row:1;grid-column:1/3"
3912
3905
  } ;
3913
3906
 
3914
- var _ref6 = {
3915
- name: "1gbbf0w",
3916
- styles: "height:100vh;display:grid;grid-template-rows:auto 43px 1fr;grid-template-columns:auto 1fr"
3917
- } ;
3918
-
3919
3907
  var RestrictedApplication = function RestrictedApplication(props) {
3920
3908
  var applicationEnvironment = applicationShellConnectors.useApplicationContext(function (context) {
3921
3909
  return context.environment;
@@ -3927,10 +3915,10 @@ var RestrictedApplication = function RestrictedApplication(props) {
3927
3915
 
3928
3916
  var location = reactRouterDom.useLocation();
3929
3917
  return jsxRuntime.jsx(FetchUser, {
3930
- children: function children(_ref7) {
3931
- var isLoadingUser = _ref7.isLoading,
3932
- user = _ref7.user,
3933
- error = _ref7.error;
3918
+ children: function children(_ref6) {
3919
+ var isLoadingUser = _ref6.isLoading,
3920
+ user = _ref6.user,
3921
+ error = _ref6.error;
3934
3922
 
3935
3923
  if (error) {
3936
3924
  // In case there is an unauthorized error, we redirect to the login page
@@ -3953,9 +3941,9 @@ var RestrictedApplication = function RestrictedApplication(props) {
3953
3941
  return jsxRuntime.jsx(i18n.AsyncLocaleData, {
3954
3942
  locale: userLocale,
3955
3943
  applicationMessages: props.applicationMessages,
3956
- children: function children(_ref8) {
3957
- var locale = _ref8.locale,
3958
- messages = _ref8.messages;
3944
+ children: function children(_ref7) {
3945
+ var locale = _ref7.locale,
3946
+ messages = _ref7.messages;
3959
3947
  sentry.reportErrorToSentry(error, {});
3960
3948
  return jsxRuntime.jsx(ConfigureIntlProvider, {
3961
3949
  locale: locale,
@@ -3973,12 +3961,12 @@ var RestrictedApplication = function RestrictedApplication(props) {
3973
3961
  children: jsxRuntime.jsx(i18n.AsyncLocaleData, {
3974
3962
  locale: user === null || user === void 0 ? void 0 : user.language,
3975
3963
  applicationMessages: props.applicationMessages,
3976
- children: function children(_ref9) {
3964
+ children: function children(_ref8) {
3977
3965
  var _user$businessRole;
3978
3966
 
3979
- var isLoadingLocaleData = _ref9.isLoading,
3980
- locale = _ref9.locale,
3981
- messages = _ref9.messages;
3967
+ var isLoadingLocaleData = _ref8.isLoading,
3968
+ locale = _ref8.locale,
3969
+ messages = _ref8.messages;
3982
3970
  return jsxRuntime.jsx(ConfigureIntlProvider // We do not want to pass the language as long as the locale data
3983
3971
  // is not loaded.
3984
3972
  , _objectSpread(_objectSpread({}, isLoadingLocaleData ? {} : {
@@ -4002,7 +3990,7 @@ var RestrictedApplication = function RestrictedApplication(props) {
4002
3990
  userBusinessRole: (_user$businessRole = user === null || user === void 0 ? void 0 : user.businessRole) !== null && _user$businessRole !== void 0 ? _user$businessRole : undefined
4003
3991
  }), jsxRuntime.jsxs("div", {
4004
3992
  role: "application-layout",
4005
- css: _ref6,
3993
+ css: /*#__PURE__*/react$2.css("height:100vh;display:grid;grid-template-rows:auto ", constants.HEIGHTS.header, " 1fr;grid-template-columns:auto 1fr;" + ("" ), "" ),
4006
3994
  children: [jsxRuntime.jsx("div", {
4007
3995
  role: "global-notifications",
4008
3996
  css: _ref5,
@@ -4014,9 +4002,9 @@ var RestrictedApplication = function RestrictedApplication(props) {
4014
4002
  if (!projectKeyFromUrl) return jsxRuntime.jsx(QuickAccessTrigger, {});
4015
4003
  return jsxRuntime.jsx(FetchProject, {
4016
4004
  projectKey: projectKeyFromUrl,
4017
- children: function children(_ref10) {
4018
- var isProjectLoading = _ref10.isLoading,
4019
- project = _ref10.project;
4005
+ children: function children(_ref9) {
4006
+ var isProjectLoading = _ref9.isLoading,
4007
+ project = _ref9.project;
4020
4008
  if (isProjectLoading || !project) return null; // when used outside of a project context,
4021
4009
  // or when the project is expired or supsended
4022
4010
 
@@ -4024,9 +4012,9 @@ var RestrictedApplication = function RestrictedApplication(props) {
4024
4012
  if (!shouldUseProjectContext) return jsxRuntime.jsx(QuickAccessTrigger, {});
4025
4013
  return jsxRuntime.jsx(ProjectDataLocale, {
4026
4014
  locales: project.languages,
4027
- children: function children(_ref11) {
4028
- var dataLocale = _ref11.locale,
4029
- setProjectDataLocale = _ref11.setProjectDataLocale;
4015
+ children: function children(_ref10) {
4016
+ var dataLocale = _ref10.locale,
4017
+ setProjectDataLocale = _ref10.setProjectDataLocale;
4030
4018
  return jsxRuntime.jsx(applicationShellConnectors.ApplicationContextProvider, {
4031
4019
  user: user,
4032
4020
  project: project,
@@ -4065,9 +4053,9 @@ var RestrictedApplication = function RestrictedApplication(props) {
4065
4053
  if (!projectKeyFromUrl) return null;
4066
4054
  return jsxRuntime.jsx(FetchProject, {
4067
4055
  projectKey: projectKeyFromUrl,
4068
- children: function children(_ref12) {
4069
- var isLoadingProject = _ref12.isLoading,
4070
- project = _ref12.project;
4056
+ children: function children(_ref11) {
4057
+ var isLoadingProject = _ref11.isLoading,
4058
+ project = _ref11.project;
4071
4059
  // Render the loading navbar as long as all the data
4072
4060
  // hasn't been loaded, or if the project does not exist.
4073
4061
  if (isLoadingUser || isLoadingLocaleData || isLoadingProject || !locale || !project) return jsxRuntime.jsx(LoadingNavBar, {});
@@ -4099,7 +4087,9 @@ var RestrictedApplication = function RestrictedApplication(props) {
4099
4087
  domain: constants$1.DOMAINS.SIDE
4100
4088
  }), jsxRuntime.jsxs("div", {
4101
4089
  css: _ref2,
4102
- children: [jsxRuntime.jsx(applicationComponents.PortalsContainer, {}), jsxRuntime.jsxs(reactRouterDom.Switch, {
4090
+ children: [jsxRuntime.jsx(applicationComponents.PortalsContainer, {
4091
+ offsetTop: constants.HEIGHTS.header
4092
+ }), jsxRuntime.jsxs(reactRouterDom.Switch, {
4103
4093
  children: [jsxRuntime.jsx(reactRouterDom.Redirect, {
4104
4094
  from: "/profile",
4105
4095
  to: "/account/profile"
@@ -4174,8 +4164,8 @@ var RestrictedApplication = function RestrictedApplication(props) {
4174
4164
  RestrictedApplication.displayName = 'RestrictedApplication';
4175
4165
 
4176
4166
  var _ref = {
4177
- name: "jq7s6j",
4178
- styles: "#app{height:100%;}.ReactModal__Body--open main{overflow:hidden;}"
4167
+ name: "172jsbd",
4168
+ styles: "#app{height:100%;}"
4179
4169
  } ;
4180
4170
 
4181
4171
  var ApplicationShell = function ApplicationShell(props) {
@@ -4195,8 +4185,8 @@ var ApplicationShell = function ApplicationShell(props) {
4195
4185
  environment: props.environment,
4196
4186
  trackingEventList: props.trackingEventList,
4197
4187
  applicationMessages: props.applicationMessages,
4198
- children: function children(_ref13) {
4199
- var isAuthenticated = _ref13.isAuthenticated;
4188
+ children: function children(_ref12) {
4189
+ var isAuthenticated = _ref12.isAuthenticated;
4200
4190
 
4201
4191
  if (isAuthenticated) {
4202
4192
  return jsxRuntime.jsxs(reactRouterDom.Switch, {