@open-pioneer/notifier 4.9.0 → 4.10.0-dev.20261119090001
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 +44 -37
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @open-pioneer/notifier
|
|
2
2
|
|
|
3
|
+
## 4.10.0-dev.20261119090001
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 57b5b4f: Enable trusted publishing for this package.
|
|
8
|
+
- 93d2a9f: Update dependencies
|
|
9
|
+
|
|
3
10
|
## 4.9.0
|
|
4
11
|
|
|
5
12
|
### Minor Changes
|
|
@@ -92,29 +99,29 @@
|
|
|
92
99
|
- 9f074d8: **Breaking**: The `position` property has moved from the `<Notifier />` component to package properties.
|
|
93
100
|
In order to change to location of notifications, you need to customize the package properties.
|
|
94
101
|
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
102
|
+
Before:
|
|
103
|
+
|
|
104
|
+
```jsx
|
|
105
|
+
// App.jsx
|
|
106
|
+
<Notifier position="top-right" />
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
After:
|
|
110
|
+
|
|
111
|
+
```ts
|
|
112
|
+
// app.ts
|
|
113
|
+
const Element = createCustomElement({
|
|
114
|
+
// ...
|
|
115
|
+
config: {
|
|
116
|
+
properties: {
|
|
117
|
+
"@open-pioneer/notifier": {
|
|
118
|
+
position: "top-right",
|
|
119
|
+
} satisfies NotifierProperties,
|
|
120
|
+
},
|
|
121
|
+
},
|
|
122
|
+
// or use resolveConfig()
|
|
123
|
+
});
|
|
124
|
+
```
|
|
118
125
|
|
|
119
126
|
### Patch Changes
|
|
120
127
|
|
|
@@ -131,13 +138,13 @@
|
|
|
131
138
|
### Major Changes
|
|
132
139
|
|
|
133
140
|
- 9477e54: Update dependencies
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
141
|
+
- React 19
|
|
142
|
+
- Vite 6
|
|
143
|
+
- FormatJS 3
|
|
144
|
+
- Open Pioneer Build Tools
|
|
145
|
+
- ...
|
|
139
146
|
|
|
140
|
-
|
|
147
|
+
For more details, see https://github.com/open-pioneer/trails-core-packages/pull/81
|
|
141
148
|
|
|
142
149
|
## 2.4.0
|
|
143
150
|
|
|
@@ -145,13 +152,13 @@
|
|
|
145
152
|
|
|
146
153
|
- e4ba048: Introduce new convenience methods on the `NotificationService` in addition to the existing `notify()` method:
|
|
147
154
|
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
+
```js
|
|
156
|
+
const notifier = ...; // injected
|
|
157
|
+
notifier.success(/* ... */)
|
|
158
|
+
notifier.info(/* ... */)
|
|
159
|
+
notifier.warning(/* ... */)
|
|
160
|
+
notifier.error(/* ... */)
|
|
161
|
+
```
|
|
155
162
|
|
|
156
163
|
### Patch Changes
|
|
157
164
|
|
|
@@ -197,7 +204,7 @@
|
|
|
197
204
|
### Patch Changes
|
|
198
205
|
|
|
199
206
|
- 4eac7c7: Move packages into core-packages repository.
|
|
200
|
-
|
|
207
|
+
- @open-pioneer/runtime@2.1.2
|
|
201
208
|
|
|
202
209
|
## 0.3.0
|
|
203
210
|
|
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.10.0-dev.20261119090001",
|
|
5
5
|
"description": "Provides support for application-wide notifications.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"open-pioneer-trails"
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
"directory": "src/packages/notifier"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@chakra-ui/react": "^3.
|
|
18
|
-
"@open-pioneer/core": "4.
|
|
19
|
-
"@open-pioneer/runtime": "4.
|
|
17
|
+
"@chakra-ui/react": "^3.38.0",
|
|
18
|
+
"@open-pioneer/core": "4.10.0-dev.20261119090001",
|
|
19
|
+
"@open-pioneer/runtime": "4.10.0-dev.20261119090001",
|
|
20
20
|
"react": "^19.3.1",
|
|
21
21
|
"react-icons": "^5.7.0"
|
|
22
22
|
},
|