@scmlatam/web-ui 0.1.21 → 0.1.22

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/web-ui.d.ts CHANGED
@@ -23,6 +23,7 @@ import { RouteItem } from './core/types/types';
23
23
  import { Row } from './table/types/types';
24
24
  import { SelectFieldForm } from './form/types/types';
25
25
  import { SetStateAction } from 'react';
26
+ import { SnackbarKey } from 'notistack';
26
27
  import { TableProps } from './table/types/types';
27
28
  import { TableProps as TableProps_2 } from './types/types';
28
29
  import { TableProviderProps } from './table/types/types';
@@ -104,6 +105,11 @@ export { ToolbarProps }
104
105
 
105
106
  export { TreeviewFieldForm }
106
107
 
108
+ export declare const useSystemAlert: () => {
109
+ showAlert: (severity: "error" | "info" | "success" | "warning" | "default", message: string) => SnackbarKey;
110
+ closeAlert: (key: SnackbarKey) => void;
111
+ };
112
+
107
113
  export declare const useTable: () => {
108
114
  rows: any[];
109
115
  setRows: Dispatch<SetStateAction<any[]>>;
package/dist/web-ui.js CHANGED
@@ -1,11 +1,12 @@
1
- import { C as o, b as r, c as s, F as b, G as t, a as C, T, u as i } from "./main-dISB8KlT.js";
1
+ import { C as o, b as s, c as r, F as t, G as b, a as m, T as C, d as T, u as d } from "./main-nrr91gQY.js";
2
2
  export {
3
3
  o as Core,
4
- r as CoreContext,
5
- s as CoreProvider,
6
- b as Form,
7
- t as GoodRabbitDarkTheme,
8
- C as GoodRabbitLightTheme,
9
- T as Table,
10
- i as useTable
4
+ s as CoreContext,
5
+ r as CoreProvider,
6
+ t as Form,
7
+ b as GoodRabbitDarkTheme,
8
+ m as GoodRabbitLightTheme,
9
+ C as Table,
10
+ T as useSystemAlert,
11
+ d as useTable
11
12
  };