@open-pioneer/notifier 4.8.0 → 4.9.0-dev.20260930055642
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 +39 -37
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# @open-pioneer/notifier
|
|
2
2
|
|
|
3
|
+
## 4.9.0-dev.20260930055642
|
|
4
|
+
|
|
3
5
|
## 4.8.0
|
|
4
6
|
|
|
5
7
|
### Minor Changes
|
|
@@ -82,29 +84,29 @@
|
|
|
82
84
|
- 9f074d8: **Breaking**: The `position` property has moved from the `<Notifier />` component to package properties.
|
|
83
85
|
In order to change to location of notifications, you need to customize the package properties.
|
|
84
86
|
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
87
|
+
Before:
|
|
88
|
+
|
|
89
|
+
```jsx
|
|
90
|
+
// App.jsx
|
|
91
|
+
<Notifier position="top-right" />
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
After:
|
|
95
|
+
|
|
96
|
+
```ts
|
|
97
|
+
// app.ts
|
|
98
|
+
const Element = createCustomElement({
|
|
99
|
+
// ...
|
|
100
|
+
config: {
|
|
101
|
+
properties: {
|
|
102
|
+
"@open-pioneer/notifier": {
|
|
103
|
+
position: "top-right",
|
|
104
|
+
} satisfies NotifierProperties,
|
|
105
|
+
},
|
|
106
|
+
},
|
|
107
|
+
// or use resolveConfig()
|
|
108
|
+
});
|
|
109
|
+
```
|
|
108
110
|
|
|
109
111
|
### Patch Changes
|
|
110
112
|
|
|
@@ -121,13 +123,13 @@
|
|
|
121
123
|
### Major Changes
|
|
122
124
|
|
|
123
125
|
- 9477e54: Update dependencies
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
126
|
+
- React 19
|
|
127
|
+
- Vite 6
|
|
128
|
+
- FormatJS 3
|
|
129
|
+
- Open Pioneer Build Tools
|
|
130
|
+
- ...
|
|
129
131
|
|
|
130
|
-
|
|
132
|
+
For more details, see https://github.com/open-pioneer/trails-core-packages/pull/81
|
|
131
133
|
|
|
132
134
|
## 2.4.0
|
|
133
135
|
|
|
@@ -135,13 +137,13 @@
|
|
|
135
137
|
|
|
136
138
|
- e4ba048: Introduce new convenience methods on the `NotificationService` in addition to the existing `notify()` method:
|
|
137
139
|
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
140
|
+
```js
|
|
141
|
+
const notifier = ...; // injected
|
|
142
|
+
notifier.success(/* ... */)
|
|
143
|
+
notifier.info(/* ... */)
|
|
144
|
+
notifier.warning(/* ... */)
|
|
145
|
+
notifier.error(/* ... */)
|
|
146
|
+
```
|
|
145
147
|
|
|
146
148
|
### Patch Changes
|
|
147
149
|
|
|
@@ -187,7 +189,7 @@
|
|
|
187
189
|
### Patch Changes
|
|
188
190
|
|
|
189
191
|
- 4eac7c7: Move packages into core-packages repository.
|
|
190
|
-
|
|
192
|
+
- @open-pioneer/runtime@2.1.2
|
|
191
193
|
|
|
192
194
|
## 0.3.0
|
|
193
195
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "@open-pioneer/notifier",
|
|
4
|
-
"version": "4.
|
|
4
|
+
"version": "4.9.0-dev.20260930055642",
|
|
5
5
|
"description": "Provides support for application-wide notifications.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"open-pioneer-trails"
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@chakra-ui/react": "^3.37.0",
|
|
18
|
-
"@open-pioneer/core": "4.
|
|
19
|
-
"@open-pioneer/react-utils": "4.
|
|
20
|
-
"@open-pioneer/runtime": "4.
|
|
18
|
+
"@open-pioneer/core": "4.9.0-dev.20260930055642",
|
|
19
|
+
"@open-pioneer/react-utils": "4.9.0-dev.20260930055642",
|
|
20
|
+
"@open-pioneer/runtime": "4.9.0-dev.20260930055642",
|
|
21
21
|
"react": "^19.3.0",
|
|
22
22
|
"react-icons": "^5.7.0"
|
|
23
23
|
},
|