@ttoss/react-notifications 1.24.42 → 1.24.44
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/dist/esm/index.js +2 -2
- package/package.json +5 -5
package/dist/esm/index.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
import { Flex, InfiniteLinearProgress } from "@ttoss/ui";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
-
var NotificationsContext =
|
|
7
|
+
var NotificationsContext = React.createContext({
|
|
8
8
|
isLoading: false,
|
|
9
9
|
setLoading: () => {
|
|
10
10
|
return void 0;
|
|
@@ -103,7 +103,7 @@ var NotificationsBox = ({
|
|
|
103
103
|
return null;
|
|
104
104
|
}
|
|
105
105
|
const renderNotifications = resolveNotifications(notifications);
|
|
106
|
-
const ButtonMemoized =
|
|
106
|
+
const ButtonMemoized = React2.memo(({
|
|
107
107
|
notification: {
|
|
108
108
|
key,
|
|
109
109
|
type,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ttoss/react-notifications",
|
|
3
|
-
"version": "1.24.
|
|
3
|
+
"version": "1.24.44",
|
|
4
4
|
"description": "ttoss notifications module for React apps.",
|
|
5
5
|
"author": "ttoss",
|
|
6
6
|
"contributors": [
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
"jest": "^29.7.0",
|
|
35
35
|
"react": "^18.3.1",
|
|
36
36
|
"tsup": "^8.1.0",
|
|
37
|
-
"@ttoss/components": "^1.31.
|
|
38
|
-
"@ttoss/
|
|
39
|
-
"@ttoss/
|
|
37
|
+
"@ttoss/components": "^1.31.13",
|
|
38
|
+
"@ttoss/config": "^1.32.6",
|
|
39
|
+
"@ttoss/test-utils": "^2.1.10"
|
|
40
40
|
},
|
|
41
41
|
"keywords": [
|
|
42
42
|
"React",
|
|
@@ -48,6 +48,6 @@
|
|
|
48
48
|
},
|
|
49
49
|
"scripts": {
|
|
50
50
|
"build": "tsup",
|
|
51
|
-
"test": "jest"
|
|
51
|
+
"test": "jest --projects tests/unit"
|
|
52
52
|
}
|
|
53
53
|
}
|