@open-pioneer/notifier 4.7.0 → 4.7.1-dev-test-snapshot.20260821120534
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 +43 -37
- package/package.json +8 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @open-pioneer/notifier
|
|
2
2
|
|
|
3
|
+
## 4.7.1-dev-test-snapshot.20260821120534
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 7d5283e: Updated dependencies.
|
|
8
|
+
|
|
3
9
|
## 4.7.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
|
@@ -72,29 +78,29 @@
|
|
|
72
78
|
- 9f074d8: **Breaking**: The `position` property has moved from the `<Notifier />` component to package properties.
|
|
73
79
|
In order to change to location of notifications, you need to customize the package properties.
|
|
74
80
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
81
|
+
Before:
|
|
82
|
+
|
|
83
|
+
```jsx
|
|
84
|
+
// App.jsx
|
|
85
|
+
<Notifier position="top-right" />
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
After:
|
|
89
|
+
|
|
90
|
+
```ts
|
|
91
|
+
// app.ts
|
|
92
|
+
const Element = createCustomElement({
|
|
93
|
+
// ...
|
|
94
|
+
config: {
|
|
95
|
+
properties: {
|
|
96
|
+
"@open-pioneer/notifier": {
|
|
97
|
+
position: "top-right",
|
|
98
|
+
} satisfies NotifierProperties,
|
|
99
|
+
},
|
|
100
|
+
},
|
|
101
|
+
// or use resolveConfig()
|
|
102
|
+
});
|
|
103
|
+
```
|
|
98
104
|
|
|
99
105
|
### Patch Changes
|
|
100
106
|
|
|
@@ -111,13 +117,13 @@
|
|
|
111
117
|
### Major Changes
|
|
112
118
|
|
|
113
119
|
- 9477e54: Update dependencies
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
120
|
+
- React 19
|
|
121
|
+
- Vite 6
|
|
122
|
+
- FormatJS 3
|
|
123
|
+
- Open Pioneer Build Tools
|
|
124
|
+
- ...
|
|
119
125
|
|
|
120
|
-
|
|
126
|
+
For more details, see https://github.com/open-pioneer/trails-core-packages/pull/81
|
|
121
127
|
|
|
122
128
|
## 2.4.0
|
|
123
129
|
|
|
@@ -125,13 +131,13 @@
|
|
|
125
131
|
|
|
126
132
|
- e4ba048: Introduce new convenience methods on the `NotificationService` in addition to the existing `notify()` method:
|
|
127
133
|
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
134
|
+
```js
|
|
135
|
+
const notifier = ...; // injected
|
|
136
|
+
notifier.success(/* ... */)
|
|
137
|
+
notifier.info(/* ... */)
|
|
138
|
+
notifier.warning(/* ... */)
|
|
139
|
+
notifier.error(/* ... */)
|
|
140
|
+
```
|
|
135
141
|
|
|
136
142
|
### Patch Changes
|
|
137
143
|
|
|
@@ -177,7 +183,7 @@
|
|
|
177
183
|
### Patch Changes
|
|
178
184
|
|
|
179
185
|
- 4eac7c7: Move packages into core-packages repository.
|
|
180
|
-
|
|
186
|
+
- @open-pioneer/runtime@2.1.2
|
|
181
187
|
|
|
182
188
|
## 0.3.0
|
|
183
189
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "@open-pioneer/notifier",
|
|
4
|
-
"version": "4.7.
|
|
4
|
+
"version": "4.7.1-dev-test-snapshot.20260821120534",
|
|
5
5
|
"description": "Provides support for application-wide notifications.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"open-pioneer-trails"
|
|
@@ -17,9 +17,13 @@
|
|
|
17
17
|
"@chakra-ui/react": "^3.36.1",
|
|
18
18
|
"react": "^19.2.8",
|
|
19
19
|
"react-icons": "^5.7.0",
|
|
20
|
-
"@open-pioneer/
|
|
21
|
-
"@open-pioneer/
|
|
22
|
-
"@open-pioneer/
|
|
20
|
+
"@open-pioneer/react-utils": "4.7.1-dev-test-snapshot.20260821120534",
|
|
21
|
+
"@open-pioneer/runtime": "4.7.1-dev-test-snapshot.20260821120534",
|
|
22
|
+
"@open-pioneer/core": "4.7.1-dev-test-snapshot.20260821120534"
|
|
23
|
+
},
|
|
24
|
+
"publishConfig": {
|
|
25
|
+
"directory": "dist",
|
|
26
|
+
"linkDirectory": false
|
|
23
27
|
},
|
|
24
28
|
"exports": {
|
|
25
29
|
"./package.json": "./package.json",
|