@nebula.js/stardust 5.6.0 → 5.7.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.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * @nebula.js/stardust v5.6.0
2
+ * @nebula.js/stardust v5.7.0
3
3
  * Copyright (c) 2024 QlikTech International AB
4
4
  * Released under the MIT license.
5
5
  */
@@ -15373,7 +15373,7 @@
15373
15373
  return cache[key];
15374
15374
  }
15375
15375
 
15376
- const NEBULA_VERSION_HASH = "5ef0";
15376
+ const NEBULA_VERSION_HASH = "f884";
15377
15377
  ClassNameGenerator.configure(componentName => {
15378
15378
  return "njs-".concat(NEBULA_VERSION_HASH, "-").concat(componentName.replace('Mui', ''));
15379
15379
  });
@@ -15605,7 +15605,7 @@
15605
15605
  const appRef = React.createRef();
15606
15606
  const element = document.createElement('div');
15607
15607
  element.style.display = 'none';
15608
- element.setAttribute('data-nebulajs-version', "5.6.0");
15608
+ element.setAttribute('data-nebulajs-version', "5.7.0");
15609
15609
  element.setAttribute('data-app-id', app.id);
15610
15610
  document.body.appendChild(element);
15611
15611
  if (context) {
@@ -42004,6 +42004,7 @@
42004
42004
  * @property {Context=} context Settings for the rendering instance
42005
42005
  * @property {Array<TypeInfo>=} types Visualization types to register
42006
42006
  * @property {Array<ThemeInfo>=} themes Themes to register
42007
+ * @property {object=} hostConfig Qlik api compatible host config, see https://github.com/qlik-oss/qlik-api-ts/blob/main/docs/authentication.md#the-host-config
42007
42008
  * @property {object=} anything
42008
42009
  * @example
42009
42010
  * import { embed } from '@nebula.js/stardust'
@@ -42102,6 +42103,7 @@
42102
42103
  types: mergeArray(base.types, c.types),
42103
42104
  themes: mergeArray(base.themes, c.themes),
42104
42105
  flags: mergeObj(base.flags, c.flags),
42106
+ hostConfig: c.hostConfig || base.hostConfig,
42105
42107
  anything: mergeObj(base.anything, c.anything)
42106
42108
  });
42107
42109
 
@@ -42158,6 +42160,8 @@
42158
42160
  /** @type {string} */
42159
42161
  deviceType: deviceTypeFn(configuration.context.deviceType),
42160
42162
  /** @type {object} */
42163
+ hostConfig: configuration.hostConfig,
42164
+ /** @type {object} */
42161
42165
  anything: configuration.anything
42162
42166
  },
42163
42167
  theme: appTheme$1.externalAPI,