@nebula.js/stardust 5.4.2 → 5.6.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nebula.js/stardust",
3
- "version": "5.4.2",
3
+ "version": "5.6.0",
4
4
  "description": "Product and framework agnostic integration API for Qlik's Associative Engine",
5
5
  "license": "MIT",
6
6
  "author": "QlikTech International AB",
@@ -45,13 +45,13 @@
45
45
  "@emotion/styled": "^11.13.0",
46
46
  "@mui/icons-material": "^5.16.6",
47
47
  "@mui/material": "^5.16.6",
48
- "@nebula.js/conversion": "^5.4.2",
49
- "@nebula.js/enigma-mocker": "^5.4.2",
50
- "@nebula.js/locale": "^5.4.2",
51
- "@nebula.js/nucleus": "^5.4.2",
52
- "@nebula.js/supernova": "^5.4.2",
53
- "@nebula.js/theme": "^5.4.2",
54
- "@nebula.js/ui": "^5.4.2",
48
+ "@nebula.js/conversion": "^5.6.0",
49
+ "@nebula.js/enigma-mocker": "^5.6.0",
50
+ "@nebula.js/locale": "^5.6.0",
51
+ "@nebula.js/nucleus": "^5.6.0",
52
+ "@nebula.js/supernova": "^5.6.0",
53
+ "@nebula.js/theme": "^5.6.0",
54
+ "@nebula.js/ui": "^5.6.0",
55
55
  "@qlik/api": "^1.14.0",
56
56
  "@scriptappy/cli": "0.10.0",
57
57
  "@scriptappy/from-jsdoc": "0.19.0",
@@ -67,5 +67,5 @@
67
67
  "regenerator-runtime": "0.14.1",
68
68
  "semver": "7.6.3"
69
69
  },
70
- "gitHead": "c1d2e6a6435fc5ed818705f496bd81a91770da2b"
70
+ "gitHead": "5aeae2db53ae8f58569e3685fc58fe3949450795"
71
71
  }
package/types/index.d.ts CHANGED
@@ -237,12 +237,13 @@ declare namespace stardust {
237
237
  key: string;
238
238
  }
239
239
 
240
+ /**
241
+ * Fallback load function for missing types
242
+ */
243
+ type LoadFallback = ($: stardust.LoadType)=>Promise<stardust.Visualization>;
244
+
240
245
  interface Configuration {
241
- /**
242
- * Fallback load function for missing types
243
- * @param $
244
- */
245
- load($: stardust.LoadType): Promise<stardust.Visualization>;
246
+ load?: stardust.LoadFallback;
246
247
  context?: stardust.Context;
247
248
  types?: stardust.TypeInfo[];
248
249
  themes?: stardust.ThemeInfo[];