@commercetools-frontend/constants 27.14.0 → 27.15.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.
@@ -9,7 +9,7 @@ function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e };
9
9
  var _includesInstanceProperty__default = /*#__PURE__*/_interopDefault(_includesInstanceProperty);
10
10
 
11
11
  // NOTE: This string will be replaced on build time with the package version.
12
- var version = "27.14.0";
12
+ var version = "27.15.0";
13
13
 
14
14
  /**
15
15
  * The project key must be between 2 and 36 characters long. It can only contain alphanumeric lowercase characters (a-z, 0-9),
@@ -128,7 +128,8 @@ const MC_API_PROXY_TARGETS = {
128
128
  IMPORT: 'import',
129
129
  EXPORT: 'export',
130
130
  STANDALONE_PRICES_SEARCH: 'standalone-prices-search',
131
- STORES_SEARCGH: 'stores-search'
131
+ STORES_SEARCGH: 'stores-search',
132
+ CATEGORY_AUTOCOMPLETE: 'category-autocomplete'
132
133
  };
133
134
 
134
135
  /** Development-only navbar group header for the local menuLinks cache. */
@@ -9,7 +9,7 @@ function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e };
9
9
  var _includesInstanceProperty__default = /*#__PURE__*/_interopDefault(_includesInstanceProperty);
10
10
 
11
11
  // NOTE: This string will be replaced on build time with the package version.
12
- var version = "27.14.0";
12
+ var version = "27.15.0";
13
13
 
14
14
  /**
15
15
  * The project key must be between 2 and 36 characters long. It can only contain alphanumeric lowercase characters (a-z, 0-9),
@@ -128,7 +128,8 @@ const MC_API_PROXY_TARGETS = {
128
128
  IMPORT: 'import',
129
129
  EXPORT: 'export',
130
130
  STANDALONE_PRICES_SEARCH: 'standalone-prices-search',
131
- STORES_SEARCGH: 'stores-search'
131
+ STORES_SEARCGH: 'stores-search',
132
+ CATEGORY_AUTOCOMPLETE: 'category-autocomplete'
132
133
  };
133
134
 
134
135
  /** Development-only navbar group header for the local menuLinks cache. */
@@ -1,7 +1,7 @@
1
1
  import _includesInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/includes';
2
2
 
3
3
  // NOTE: This string will be replaced on build time with the package version.
4
- var version = "27.14.0";
4
+ var version = "27.15.0";
5
5
 
6
6
  /**
7
7
  * The project key must be between 2 and 36 characters long. It can only contain alphanumeric lowercase characters (a-z, 0-9),
@@ -120,7 +120,8 @@ const MC_API_PROXY_TARGETS = {
120
120
  IMPORT: 'import',
121
121
  EXPORT: 'export',
122
122
  STANDALONE_PRICES_SEARCH: 'standalone-prices-search',
123
- STORES_SEARCGH: 'stores-search'
123
+ STORES_SEARCGH: 'stores-search',
124
+ CATEGORY_AUTOCOMPLETE: 'category-autocomplete'
124
125
  };
125
126
 
126
127
  /** Development-only navbar group header for the local menuLinks cache. */
@@ -152,6 +152,7 @@ export declare const MC_API_PROXY_TARGETS: {
152
152
  readonly EXPORT: "export";
153
153
  readonly STANDALONE_PRICES_SEARCH: "standalone-prices-search";
154
154
  readonly STORES_SEARCGH: "stores-search";
155
+ readonly CATEGORY_AUTOCOMPLETE: "category-autocomplete";
155
156
  };
156
157
  export type TMcApiProxyTargets = (typeof MC_API_PROXY_TARGETS)[keyof typeof MC_API_PROXY_TARGETS];
157
158
  export type TLocalizedField = {
@@ -229,6 +230,19 @@ export type ApplicationRuntimeEnvironment = {
229
230
  servedByProxy: boolean;
230
231
  ldClientSideId?: string;
231
232
  trackingSentry?: string;
233
+ /**
234
+ * Renders the shell chrome (grid, AppBar, NavBar) before the locale data is
235
+ * available, instead of holding it behind `ConfigureIntlProvider`.
236
+ *
237
+ * Read from `window.app` rather than a feature flag on purpose: the flag
238
+ * provider (`SetupFlopFlipProvider`) is mounted below the locale boundary
239
+ * this switch decides, so no flag is readable at that point.
240
+ *
241
+ * Keep this off until the proxy prefetch endpoints are deployed. Without
242
+ * prefetched `user.language`, non-English users see a brief English flash
243
+ * before the real locale resolves.
244
+ */
245
+ enableEarlyShellRendering?: boolean;
232
246
  __DEVELOPMENT__?: ApplicationRuntimeEnvironmentForDevelopment;
233
247
  };
234
248
  export interface ApplicationWindow extends Window {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commercetools-frontend/constants",
3
- "version": "27.14.0",
3
+ "version": "27.15.0",
4
4
  "description": "Shared constants for MC applications",
5
5
  "bugs": "https://github.com/commercetools/merchant-center-application-kit/issues",
6
6
  "repository": {