@ttoss/react-notifications 1.22.10 → 1.22.11

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +4 -3
  2. package/package.json +6 -6
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
1
2
  import * as React from 'react';
2
3
 
3
4
  type NotifyParams = {
@@ -8,7 +9,7 @@ type NotificationsProviderProps = {
8
9
  children: React.ReactNode;
9
10
  enableNotificationBox?: boolean;
10
11
  };
11
- declare const NotificationsProvider: ({ children, enableNotificationBox, }: NotificationsProviderProps) => JSX.Element;
12
+ declare const NotificationsProvider: ({ children, enableNotificationBox, }: NotificationsProviderProps) => react_jsx_runtime.JSX.Element;
12
13
  declare const useNotifications: () => {
13
14
  isLoading: boolean;
14
15
  setLoading: (arg: boolean) => void;
@@ -18,8 +19,8 @@ declare const useNotifications: () => {
18
19
 
19
20
  declare const NotificationsBox: ({ direction, }: {
20
21
  direction?: "flex" | "stack" | undefined;
21
- }) => JSX.Element | null;
22
+ }) => react_jsx_runtime.JSX.Element | null;
22
23
 
23
- declare const NotificationsModal: () => JSX.Element;
24
+ declare const NotificationsModal: () => react_jsx_runtime.JSX.Element;
24
25
 
25
26
  export { NotificationsBox, NotificationsModal, NotificationsProvider, NotificationsProviderProps, NotifyParams, useNotifications };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ttoss/react-notifications",
3
- "version": "1.22.10",
3
+ "version": "1.22.11",
4
4
  "description": "ttoss notifications module for React apps.",
5
5
  "license": "UNLICENSED",
6
6
  "author": "ttoss",
@@ -17,17 +17,17 @@
17
17
  "typings": "dist/index.d.ts",
18
18
  "peerDependencies": {
19
19
  "react": ">=16.8.0",
20
- "@ttoss/components": "^1.28.7",
21
- "@ttoss/ui": "^1.36.7"
20
+ "@ttoss/components": "^1.28.8",
21
+ "@ttoss/ui": "^1.36.8"
22
22
  },
23
23
  "devDependencies": {
24
- "@types/react": "^18.2.5",
24
+ "@types/react": "^18.2.6",
25
25
  "jest": "^29.5.0",
26
26
  "react": "^18.2.0",
27
27
  "tsup": "^6.7.0",
28
- "@ttoss/components": "^1.28.7",
28
+ "@ttoss/components": "^1.28.8",
29
29
  "@ttoss/config": "^1.30.0",
30
- "@ttoss/test-utils": "^1.23.0"
30
+ "@ttoss/test-utils": "^1.23.1"
31
31
  },
32
32
  "keywords": [
33
33
  "React",