@nebula.js/stardust 5.13.0 → 5.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nebula.js/stardust",
3
- "version": "5.13.0",
3
+ "version": "5.15.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.14.0",
46
46
  "@mui/icons-material": "^5.17.1",
47
47
  "@mui/material": "^5.17.1",
48
- "@nebula.js/conversion": "^5.13.0",
49
- "@nebula.js/enigma-mocker": "^5.13.0",
50
- "@nebula.js/locale": "^5.13.0",
51
- "@nebula.js/nucleus": "^5.13.0",
52
- "@nebula.js/supernova": "^5.13.0",
53
- "@nebula.js/theme": "^5.13.0",
54
- "@nebula.js/ui": "^5.13.0",
48
+ "@nebula.js/conversion": "^5.15.0",
49
+ "@nebula.js/enigma-mocker": "^5.15.0",
50
+ "@nebula.js/locale": "^5.15.0",
51
+ "@nebula.js/nucleus": "^5.15.0",
52
+ "@nebula.js/supernova": "^5.15.0",
53
+ "@nebula.js/theme": "^5.15.0",
54
+ "@nebula.js/ui": "^5.15.0",
55
55
  "@qlik/api": "^1.32.0",
56
56
  "@scriptappy/cli": "0.10.0",
57
57
  "@scriptappy/from-jsdoc": "0.19.0",
@@ -65,7 +65,7 @@
65
65
  "react-window": "1.8.11",
66
66
  "react-window-infinite-loader": "1.0.10",
67
67
  "regenerator-runtime": "0.14.1",
68
- "semver": "7.7.1"
68
+ "semver": "7.7.2"
69
69
  },
70
- "gitHead": "ec55ad9efaedfc9908a31b809c28ef1eda22f52b"
70
+ "gitHead": "8bcb34d36504246942a48a598a086e08127b4e29"
71
71
  }
package/types/index.d.ts CHANGED
@@ -274,6 +274,7 @@ declare namespace stardust {
274
274
 
275
275
  interface Galaxy {
276
276
  translator: stardust.Translator;
277
+ theme: stardust.Theme;
277
278
  flags: stardust.Flags;
278
279
  deviceType: string;
279
280
  hostConfig: object;
@@ -429,7 +430,7 @@ declare namespace stardust {
429
430
  /**
430
431
  * Destroys the visualization and removes it from the the DOM.
431
432
  */
432
- destroy(): void;
433
+ destroy(): Promise<void>;
433
434
 
434
435
  /**
435
436
  * Converts the visualization to a different registered type.
@@ -476,14 +477,6 @@ declare namespace stardust {
476
477
 
477
478
  }
478
479
 
479
- interface Flags {
480
- /**
481
- * Checks whether the specified flag is enabled.
482
- * @param flag The value flag to check.
483
- */
484
- isEnabled(flag: string): boolean;
485
- }
486
-
487
480
  class AppSelections {
488
481
  constructor();
489
482
 
@@ -558,6 +551,14 @@ declare namespace stardust {
558
551
 
559
552
  }
560
553
 
554
+ interface Flags {
555
+ /**
556
+ * Checks whether the specified flag is enabled.
557
+ * @param flag The value flag to check.
558
+ */
559
+ isEnabled(flag: string): boolean;
560
+ }
561
+
561
562
  type Field = string | qix.NxDimension | qix.NxMeasure | stardust.LibraryField;
562
563
 
563
564
  /**
@@ -834,6 +835,8 @@ declare namespace stardust {
834
835
  removed?: stardust.fieldTargetRemovedCallback<T>;
835
836
  }
836
837
 
838
+ type getField = any;
839
+
837
840
  class Translator {
838
841
  constructor();
839
842