@nebula.js/stardust 5.17.0 → 6.0.0-alpha.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.17.0",
3
+ "version": "6.0.0-alpha.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",
@@ -42,17 +42,17 @@
42
42
  },
43
43
  "devDependencies": {
44
44
  "@emotion/react": "^11.14.0",
45
- "@emotion/styled": "^11.14.0",
46
- "@mui/icons-material": "^5.17.1",
47
- "@mui/material": "^5.17.1",
48
- "@nebula.js/conversion": "^5.17.0",
49
- "@nebula.js/enigma-mocker": "^5.17.0",
50
- "@nebula.js/locale": "^5.17.0",
51
- "@nebula.js/nucleus": "^5.17.0",
52
- "@nebula.js/supernova": "^5.17.0",
53
- "@nebula.js/theme": "^5.17.0",
54
- "@nebula.js/ui": "^5.17.0",
55
- "@qlik/api": "^1.37.0",
45
+ "@emotion/styled": "^11.14.1",
46
+ "@mui/icons-material": "^5.18.0",
47
+ "@mui/material": "^5.18.0",
48
+ "@nebula.js/conversion": "^6.0.0-alpha.0",
49
+ "@nebula.js/enigma-mocker": "^6.0.0-alpha.0",
50
+ "@nebula.js/locale": "^6.0.0-alpha.0",
51
+ "@nebula.js/nucleus": "^6.0.0-alpha.0",
52
+ "@nebula.js/supernova": "^6.0.0-alpha.0",
53
+ "@nebula.js/theme": "^6.0.0-alpha.0",
54
+ "@nebula.js/ui": "^6.0.0-alpha.0",
55
+ "@qlik/api": "1.41.0",
56
56
  "@scriptappy/cli": "0.10.0",
57
57
  "@scriptappy/from-jsdoc": "0.19.0",
58
58
  "@scriptappy/to-dts": "1.0.0",
@@ -67,5 +67,5 @@
67
67
  "regenerator-runtime": "0.14.1",
68
68
  "semver": "7.7.2"
69
69
  },
70
- "gitHead": "f2554260d635ded8cad532745732cd365ddce895"
70
+ "gitHead": "1f18f76bea27f8f54a324d36ebf2378db3be5865"
71
71
  }
package/types/index.d.ts CHANGED
@@ -560,6 +560,16 @@ declare namespace stardust {
560
560
 
561
561
  }
562
562
 
563
+ /**
564
+ * An object literal containing meta information about the plugin and a function containing the plugin implementation.
565
+ */
566
+ interface Plugin {
567
+ info: {
568
+ name: string;
569
+ };
570
+ fn: ()=>void;
571
+ }
572
+
563
573
  type Field = string | qix.NxDimension | qix.NxMeasure | stardust.LibraryField;
564
574
 
565
575
  /**
@@ -601,16 +611,6 @@ declare namespace stardust {
601
611
  type: "dimension" | "measure";
602
612
  }
603
613
 
604
- /**
605
- * An object literal containing meta information about the plugin and a function containing the plugin implementation.
606
- */
607
- interface Plugin {
608
- info: {
609
- name: string;
610
- };
611
- fn: ()=>void;
612
- }
613
-
614
614
  interface LoadType {
615
615
  (type: {
616
616
  name: string;
@@ -649,43 +649,43 @@ declare namespace stardust {
649
649
 
650
650
  }
651
651
 
652
- interface ActionToolbarElement extends HTMLElement{
652
+ interface ActionToolbarElementextends HTMLElement {
653
653
  className: "njs-action-toolbar-popover";
654
654
  }
655
655
 
656
- interface ActionElement extends HTMLElement{
656
+ interface ActionElementextends HTMLElement {
657
657
  className: "njs-cell-action";
658
658
  }
659
659
 
660
- interface CellElement extends HTMLElement{
660
+ interface CellElementextends HTMLElement {
661
661
  className: "njs-cell";
662
662
  }
663
663
 
664
- interface CellBody extends HTMLElement{
664
+ interface CellBodyextends HTMLElement {
665
665
  className: "njs-cell-body";
666
666
  }
667
667
 
668
- interface CellFooter extends HTMLElement{
668
+ interface CellFooterextends HTMLElement {
669
669
  className: "njs-cell-footer";
670
670
  }
671
671
 
672
- interface CellTitle extends HTMLElement{
672
+ interface CellTitleextends HTMLElement {
673
673
  className: "njs-cell-title";
674
674
  }
675
675
 
676
- interface CellSubTitle extends HTMLElement{
676
+ interface CellSubTitleextends HTMLElement {
677
677
  className: "njs-cell-sub-title";
678
678
  }
679
679
 
680
- interface SheetElement extends HTMLElement{
680
+ interface SheetElementextends HTMLElement {
681
681
  className: "njs-sheet";
682
682
  }
683
683
 
684
- interface VizElementAttributes extends NamedNodeMap{
684
+ interface VizElementAttributesextends NamedNodeMap {
685
685
  "data-render-count": string;
686
686
  }
687
687
 
688
- interface VizElement extends HTMLElement{
688
+ interface VizElementextends HTMLElement {
689
689
  attributes: stardust.VizElementAttributes;
690
690
  className: "njs-viz";
691
691
  }
@@ -702,7 +702,7 @@ declare namespace stardust {
702
702
  component(): void;
703
703
  }
704
704
 
705
- interface SetStateFn<S> {
705
+ interface SetStateFn<S><S> {
706
706
  (newState: S | (($: S)=>S)): void;
707
707
  }
708
708
 
@@ -716,7 +716,7 @@ declare namespace stardust {
716
716
  /**
717
717
  * Reference object returned from useRef
718
718
  */
719
- interface Ref<R> {
719
+ interface Ref<R><R> {
720
720
  current: R;
721
721
  }
722
722
 
@@ -727,7 +727,7 @@ declare namespace stardust {
727
727
  height: number;
728
728
  }
729
729
 
730
- interface ActionDefinition<A> {
730
+ interface ActionDefinition<A><A> {
731
731
  action: A;
732
732
  hidden?: boolean;
733
733
  disabled?: boolean;
@@ -829,15 +829,13 @@ declare namespace stardust {
829
829
 
830
830
  type fieldTargetRemovedCallback<T> = (field: T, properties: qix.GenericObjectProperties, index: number)=>void;
831
831
 
832
- interface FieldTarget<T> {
832
+ interface FieldTarget<T><T> {
833
833
  min?: (()=>void) | number;
834
834
  max?: (()=>void) | number;
835
835
  added?: stardust.fieldTargetAddedCallback<T>;
836
836
  removed?: stardust.fieldTargetRemovedCallback<T>;
837
837
  }
838
838
 
839
- type getField = any;
840
-
841
839
  class Translator {
842
840
  constructor();
843
841