siam-ui-utils 3.0.13 → 3.0.14

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/index.d.ts +36 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -21,6 +21,42 @@ declare module 'siam-ui-utils' {
21
21
 
22
22
  // Módulos permitidos con exports específicos
23
23
 
24
+ declare module 'siam-ui-utils/react-notifications/Notification' {
25
+ export interface NotificationProps {
26
+ title?: string;
27
+ message?: string;
28
+ type?: 'default' | 'success' | 'error' | 'info' | 'warning';
29
+ duration?: number;
30
+ [key: string]: any;
31
+ }
32
+ export function Notification(props: NotificationProps): JSX.Element;
33
+ }
34
+
35
+ declare module 'siam-ui-utils/react-notifications/NotificationContainer' {
36
+ export interface NotificationContainerProps {
37
+ [key: string]: any;
38
+ }
39
+ export function NotificationContainer(
40
+ props: NotificationContainerProps
41
+ ): JSX.Element;
42
+ }
43
+
44
+ declare module 'siam-ui-utils/react-notifications/NotificationManager' {
45
+ export class NotificationManager {
46
+ static info(message: string, title?: string, duration?: number): void;
47
+ static success(message: string, title?: string, duration?: number): void;
48
+ static warning(message: string, title?: string, duration?: number): void;
49
+ static error(message: string, title?: string, duration?: number): void;
50
+ }
51
+
52
+ declare module 'siam-ui-utils/react-notifications/Notifications' {
53
+ export interface NotificationsProps {
54
+ [key: string]: any;
55
+ }
56
+ export function Notifications(props: NotificationsProps): JSX.Element;
57
+ }
58
+ }
59
+
24
60
  declare module 'siam-ui-utils/copy-link' {
25
61
  export interface CopyLinkProps {
26
62
  textToCopy?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "siam-ui-utils",
3
- "version": "3.0.13",
3
+ "version": "3.0.14",
4
4
  "keywords": [
5
5
  "ampf-react",
6
6
  "ampf-utils",