piral-modals 0.15.0-alpha.3662 → 0.15.0-alpha.3711

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/esm/types.d.ts CHANGED
@@ -80,6 +80,10 @@ export interface ModalErrorInfoProps {
80
80
  * Callback for closing the modal programmatically.
81
81
  */
82
82
  onClose(): void;
83
+ /**
84
+ * The name of the pilet emitting the error.
85
+ */
86
+ pilet?: string;
83
87
  }
84
88
  export interface OpenModalDialog {
85
89
  /**
package/lib/types.d.ts CHANGED
@@ -80,6 +80,10 @@ export interface ModalErrorInfoProps {
80
80
  * Callback for closing the modal programmatically.
81
81
  */
82
82
  onClose(): void;
83
+ /**
84
+ * The name of the pilet emitting the error.
85
+ */
86
+ pilet?: string;
83
87
  }
84
88
  export interface OpenModalDialog {
85
89
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "piral-modals",
3
- "version": "0.15.0-alpha.3662",
3
+ "version": "0.15.0-alpha.3711",
4
4
  "description": "Plugin for the display of modal dialogs in Piral.",
5
5
  "keywords": [
6
6
  "piral",
@@ -35,6 +35,7 @@
35
35
  "url": "https://github.com/smapiot/piral/issues"
36
36
  },
37
37
  "scripts": {
38
+ "cleanup": "rimraf esm lib piral-modals.min.js",
38
39
  "build": "yarn build:bundle && yarn build:commonjs && yarn build:esnext",
39
40
  "build:bundle": "esbuild src/index.ts --outfile=piral-modals.min.js --bundle --external:piral-core --external:react --minify --global-name=piralModals",
40
41
  "build:commonjs": "tsc --project tsconfig.json --outDir lib --module commonjs",
@@ -44,12 +45,12 @@
44
45
  },
45
46
  "devDependencies": {
46
47
  "@types/react": "^17.0.0",
47
- "piral-core": "0.15.0-alpha.3662",
48
+ "piral-core": "0.15.0-alpha.3711",
48
49
  "react": "^17.0.1"
49
50
  },
50
51
  "peerDependencies": {
51
52
  "piral-core": "0.14.x",
52
53
  "react": ">=16.8.0"
53
54
  },
54
- "gitHead": "b7ec6c01e99557f270b2558a7cb23bec8e6ce0da"
55
+ "gitHead": "2ef676e46e2fb402edeceeb3b4f1a1aa04c99970"
55
56
  }
package/src/types.ts CHANGED
@@ -95,6 +95,10 @@ export interface ModalErrorInfoProps {
95
95
  * Callback for closing the modal programmatically.
96
96
  */
97
97
  onClose(): void;
98
+ /**
99
+ * The name of the pilet emitting the error.
100
+ */
101
+ pilet?: string;
98
102
  }
99
103
 
100
104
  export interface OpenModalDialog {