@nebula.js/stardust 3.1.0-alpha.5 → 3.1.1

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": "3.1.0-alpha.5",
3
+ "version": "3.1.1",
4
4
  "description": "Product and framework agnostic integration API for Qlik's Associative Engine",
5
5
  "license": "MIT",
6
6
  "author": "QlikTech International AB",
@@ -46,14 +46,14 @@
46
46
  "@emotion/styled": "^11.10.5",
47
47
  "@mui/icons-material": "^5.11.0",
48
48
  "@mui/material": "^5.11.4",
49
- "@nebula.js/conversion": "^3.1.0-alpha.5",
50
- "@nebula.js/enigma-mocker": "^3.1.0-alpha.5",
51
- "@nebula.js/locale": "^3.1.0-alpha.5",
52
- "@nebula.js/nucleus": "^3.1.0-alpha.5",
53
- "@nebula.js/supernova": "^3.1.0-alpha.5",
54
- "@nebula.js/theme": "^3.1.0-alpha.5",
55
- "@nebula.js/ui": "^3.1.0-alpha.5",
56
- "@scriptappy/cli": "0.5.0",
49
+ "@nebula.js/conversion": "^3.1.1",
50
+ "@nebula.js/enigma-mocker": "^3.1.1",
51
+ "@nebula.js/locale": "^3.1.1",
52
+ "@nebula.js/nucleus": "^3.1.1",
53
+ "@nebula.js/supernova": "^3.1.1",
54
+ "@nebula.js/theme": "^3.1.1",
55
+ "@nebula.js/ui": "^3.1.1",
56
+ "@scriptappy/cli": "0.6.0",
57
57
  "@scriptappy/to-dts": "1.0.0-beta.4",
58
58
  "extend": "3.0.2",
59
59
  "node-event-emitter": "0.0.1",
@@ -66,5 +66,5 @@
66
66
  "regenerator-runtime": "0.13.11",
67
67
  "semver": "6.3.0"
68
68
  },
69
- "gitHead": "6c248a2072c9420ac9751412afb6219c02a480cc"
69
+ "gitHead": "5873e58cf225e4c843f1cb1f098ccdabe91c6826"
70
70
  }
package/types/index.d.ts CHANGED
@@ -452,6 +452,16 @@ declare namespace stardust {
452
452
  type: "dimension" | "measure";
453
453
  }
454
454
 
455
+ /**
456
+ * An object literal containing meta information about the plugin and a function containing the plugin implementation.
457
+ */
458
+ interface Plugin {
459
+ info: {
460
+ name: string;
461
+ };
462
+ fn: ()=>void;
463
+ }
464
+
455
465
  interface LoadType {
456
466
  (type: {
457
467
  name: string;
@@ -466,16 +476,6 @@ declare namespace stardust {
466
476
  meta?: object;
467
477
  }
468
478
 
469
- /**
470
- * An object literal containing meta information about the plugin and a function containing the plugin implementation.
471
- */
472
- interface Plugin {
473
- info: {
474
- name: string;
475
- };
476
- fn: ()=>void;
477
- }
478
-
479
479
  interface ActionToolbarElement extends HTMLElement{
480
480
  className: "njs-action-toolbar-popover";
481
481
  }
@@ -616,8 +616,8 @@ declare namespace stardust {
616
616
  type fieldTargetRemovedCallback<T> = (field: T, properties: EngineAPI.IGenericObjectProperties, index: number)=>void;
617
617
 
618
618
  interface FieldTarget<T> {
619
- min?(): number;
620
- max?(): number;
619
+ min?: (()=>void) | number;
620
+ max?: (()=>void) | number;
621
621
  added?: stardust.fieldTargetAddedCallback<T>;
622
622
  removed?: stardust.fieldTargetRemovedCallback<T>;
623
623
  }