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