@ttoss/components 1.21.13 → 1.21.15
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 +0 -2
- package/dist/index.js +0 -2
- package/package.json +10 -10
- package/src/components/Toast/Toast.tsx +3 -1
package/dist/esm/index.js
CHANGED
|
@@ -190,7 +190,6 @@ import * as React4 from "react";
|
|
|
190
190
|
import { Box as Box2 } from "@ttoss/ui";
|
|
191
191
|
import {
|
|
192
192
|
ToastContainer as ReactToastifyToastContainer,
|
|
193
|
-
ToastContainerProps,
|
|
194
193
|
toast
|
|
195
194
|
} from "react-toastify";
|
|
196
195
|
import { injectStyle } from "react-toastify/dist/inject-style";
|
|
@@ -220,6 +219,5 @@ export {
|
|
|
220
219
|
InstallPwa,
|
|
221
220
|
Modal,
|
|
222
221
|
ToastContainer,
|
|
223
|
-
ToastContainerProps,
|
|
224
222
|
toast
|
|
225
223
|
};
|
package/dist/index.js
CHANGED
|
@@ -31,7 +31,6 @@ __export(src_exports, {
|
|
|
31
31
|
InstallPwa: () => InstallPwa,
|
|
32
32
|
Modal: () => Modal,
|
|
33
33
|
ToastContainer: () => ToastContainer,
|
|
34
|
-
ToastContainerProps: () => import_react_toastify.ToastContainerProps,
|
|
35
34
|
toast: () => import_react_toastify.toast
|
|
36
35
|
});
|
|
37
36
|
module.exports = __toCommonJS(src_exports);
|
|
@@ -247,6 +246,5 @@ var ToastContainer = (props) => {
|
|
|
247
246
|
InstallPwa,
|
|
248
247
|
Modal,
|
|
249
248
|
ToastContainer,
|
|
250
|
-
ToastContainerProps,
|
|
251
249
|
toast
|
|
252
250
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ttoss/components",
|
|
3
|
-
"version": "1.21.
|
|
3
|
+
"version": "1.21.15",
|
|
4
4
|
"description": "React components.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"author": "ttoss",
|
|
@@ -20,23 +20,23 @@
|
|
|
20
20
|
},
|
|
21
21
|
"typings": "dist/index.d.ts",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@emotion/css": "^11.10.
|
|
24
|
-
"@theme-ui/css": "^0.
|
|
23
|
+
"@emotion/css": "^11.10.5",
|
|
24
|
+
"@theme-ui/css": "^0.15.4",
|
|
25
25
|
"@types/react-modal": "^3.13.1",
|
|
26
26
|
"react-accessible-accordion": "^5.0.0",
|
|
27
|
-
"react-modal": "^3.
|
|
28
|
-
"react-toastify": "^9.
|
|
27
|
+
"react-modal": "^3.16.1",
|
|
28
|
+
"react-toastify": "^9.1.1"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
|
-
"@ttoss/ui": "^1.
|
|
31
|
+
"@ttoss/ui": "^1.23.0",
|
|
32
32
|
"react": ">=16.8.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@ttoss/config": "^1.18.3",
|
|
36
36
|
"@ttoss/test-utils": "^1.16.10",
|
|
37
|
-
"@ttoss/ui": "^1.23.
|
|
38
|
-
"@types/jest": "^
|
|
39
|
-
"jest": "^
|
|
37
|
+
"@ttoss/ui": "^1.23.1",
|
|
38
|
+
"@types/jest": "^29.2.3",
|
|
39
|
+
"jest": "^29.3.1"
|
|
40
40
|
},
|
|
41
41
|
"keywords": [
|
|
42
42
|
"React",
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"publishConfig": {
|
|
46
46
|
"access": "public"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "e9c6b47f9b2ff9a44358a16c9feff84ba9342346"
|
|
49
49
|
}
|
|
@@ -7,7 +7,9 @@ import {
|
|
|
7
7
|
} from 'react-toastify';
|
|
8
8
|
import { injectStyle } from 'react-toastify/dist/inject-style';
|
|
9
9
|
|
|
10
|
-
export { toast
|
|
10
|
+
export { toast };
|
|
11
|
+
|
|
12
|
+
export { type ToastContainerProps };
|
|
11
13
|
|
|
12
14
|
export const ToastContainer = (props: ToastContainerProps) => {
|
|
13
15
|
React.useEffect(() => {
|