@luigi-project/container 1.7.4 → 1.7.5-dev.20251270040

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.
@@ -401,6 +401,13 @@ export namespace Events {
401
401
  * @returns {void}
402
402
  */
403
403
  export const REMOVE_BACKDROP_REQUEST = 'remove-backdrop-request';
404
+
405
+ /**
406
+ * Event fired when the micro frontend requests to close the current modal.
407
+ * @type {unspecified} (type is not relevant in this case)
408
+ * @returns {void}
409
+ */
410
+ export const CLOSE_CURRENT_MODAL_REQUEST = 'close-current-modal-request';
404
411
  }
405
412
 
406
413
  export class LuigiEvent extends Event {
@@ -357,6 +357,12 @@ var Events;
357
357
  * @returns {void}
358
358
  */
359
359
  Events.REMOVE_BACKDROP_REQUEST = 'remove-backdrop-request';
360
+ /**
361
+ * Event fired when the micro frontend requests to close the current modal.
362
+ * @type {unspecified} (type is not relevant in this case)
363
+ * @returns {void}
364
+ */
365
+ Events.CLOSE_CURRENT_MODAL_REQUEST = 'close-current-modal-request';
360
366
  })(Events || (Events = {}));
361
367
  class LuigiEvent extends Event {
362
368
  constructor(type, data, payload, callback) {
@@ -394,6 +394,13 @@
394
394
  "type": {
395
395
  "text": "Event"
396
396
  }
397
+ },
398
+ {
399
+ "name": "close-current-modal-request",
400
+ "description": "Event fired when the micro frontend requests to close the current modal. @type {unspecified} (type is not relevant in this case)",
401
+ "type": {
402
+ "text": "Event"
403
+ }
397
404
  }
398
405
  ]
399
406
  }
@@ -765,6 +772,13 @@
765
772
  "type": {
766
773
  "text": "Event"
767
774
  }
775
+ },
776
+ {
777
+ "name": "close-current-modal-request",
778
+ "description": "Event fired when the micro frontend requests to close the current modal. @type {unspecified} (type is not relevant in this case)",
779
+ "type": {
780
+ "text": "Event"
781
+ }
768
782
  }
769
783
  ]
770
784
  }
package/package.json CHANGED
@@ -1,24 +1,24 @@
1
1
  {
2
- "name": "@luigi-project/container",
3
- "description": "Javascript library enabling creation of microfrontends",
4
- "license": "Apache-2.0",
5
- "main": "bundle.js",
6
- "types": "index.d.ts",
7
- "repository": {
8
- "type": "git",
9
- "url": "ssh://github.com/luigi-project/luigi.git"
10
- },
11
- "customElements": "./dist/custom-elements.json",
12
- "publishConfig": {
13
- "tag": "luigi-container"
14
- },
15
- "keywords": [
16
- "luigi",
17
- "core",
18
- "UI",
19
- "extensibility",
20
- "micro-frontends",
21
- "microfrontends"
22
- ],
23
- "version": "1.7.4"
2
+ "name": "@luigi-project/container",
3
+ "description": "Javascript library enabling creation of microfrontends",
4
+ "license": "Apache-2.0",
5
+ "main": "bundle.js",
6
+ "types": "index.d.ts",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "ssh://github.com/luigi-project/luigi.git"
10
+ },
11
+ "customElements": "./dist/custom-elements.json",
12
+ "publishConfig": {
13
+ "tag": "luigi-container"
14
+ },
15
+ "keywords": [
16
+ "luigi",
17
+ "core",
18
+ "UI",
19
+ "extensibility",
20
+ "micro-frontends",
21
+ "microfrontends"
22
+ ],
23
+ "version": "1.7.5-dev.20251270040"
24
24
  }