@open-pioneer/notifier 0.1.0 → 0.3.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/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # @open-pioneer/notifier
2
2
 
3
+ ## 0.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - ee7c2d4: Update runtime version.
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [762e7b9]
12
+ - @open-pioneer/react-utils@0.2.1
13
+
14
+ ## 0.2.0
15
+
16
+ ### Minor Changes
17
+
18
+ - 70349a8: Update to new core packages major versions
19
+
20
+ ### Patch Changes
21
+
22
+ - Updated dependencies [70349a8]
23
+ - @open-pioneer/react-utils@0.2.0
24
+
3
25
  ## 0.1.0
4
26
 
5
27
  ### Minor Changes
package/api.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import type { ReactNode } from "react";
2
+ import type { DeclaredService } from "@open-pioneer/runtime";
2
3
  /** Represents the severity or kind of a notification. */
3
4
  export type NotificationLevel = "success" | "info" | "warning" | "error";
4
5
  /**
@@ -28,7 +29,7 @@ export interface NotificationOptions {
28
29
  *
29
30
  * You can inject an instance of this service by referencing the interface name `notifier.NotificationService`.
30
31
  */
31
- export interface NotificationService {
32
+ export interface NotificationService extends DeclaredService<"notifier.NotificationService"> {
32
33
  /**
33
34
  * Emits a new notification.
34
35
  *
@@ -41,9 +42,3 @@ export interface NotificationService {
41
42
  /** Closes all active notifications. */
42
43
  closeAll(): void;
43
44
  }
44
- import "@open-pioneer/runtime";
45
- declare module "@open-pioneer/runtime" {
46
- interface ServiceRegistry {
47
- "notifier.NotificationService": NotificationService;
48
- }
49
- }
package/index.js CHANGED
@@ -1,3 +1,2 @@
1
- import '@open-pioneer/runtime';
2
1
  export { Notifier } from './Notifier.js';
3
2
  //# sourceMappingURL=index.js.map
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@open-pioneer/notifier",
4
- "version": "0.1.0",
4
+ "version": "0.3.0",
5
5
  "description": "Provides support for application-wide notifications",
6
6
  "license": "Apache-2.0",
7
7
  "dependencies": {},
8
8
  "peerDependencies": {
9
- "@open-pioneer/core": "^1.1.0",
10
- "@open-pioneer/chakra-integration": "^1.1.0",
11
- "@chakra-ui/icons": "^2.1.0",
12
- "@open-pioneer/runtime": "^1.1.0",
9
+ "@open-pioneer/core": "^1.2.1",
10
+ "@open-pioneer/chakra-integration": "^1.1.1",
11
+ "@chakra-ui/icons": "^2.1.1",
12
+ "@open-pioneer/runtime": "^2.1.0",
13
13
  "react": "^18.2.0",
14
- "@open-pioneer/react-utils": "^0.1.0"
14
+ "@open-pioneer/react-utils": "^0.2.1"
15
15
  },
16
16
  "exports": {
17
17
  "./package.json": "./package.json",