identity-admin-ui 1.7.1 → 1.7.2

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.
@@ -0,0 +1,14 @@
1
+ import { ReactNode } from 'react';
2
+ export interface IDialogProps {
3
+ open: boolean;
4
+ onDismiss: () => void;
5
+ data: any;
6
+ }
7
+ declare const DialogContext: import("react").Context<{
8
+ openDialog: (dialogComponent: (data: IDialogProps) => JSX.Element, data?: any) => void;
9
+ }>;
10
+ type DialogProviderProps = {
11
+ children: ReactNode;
12
+ };
13
+ declare function DialogContextProvider({ children }: DialogProviderProps): import("react/jsx-runtime").JSX.Element;
14
+ export { DialogContext, DialogContextProvider };
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ export declare const useDialogs: () => {
3
+ openDialog: (dialogComponent: (data: import("../context/DialogContext").IDialogProps) => JSX.Element, data?: any) => void;
4
+ };
@@ -0,0 +1,14 @@
1
+ import { ReactNode } from 'react';
2
+ export interface IDialogProps {
3
+ open: boolean;
4
+ onDismiss: () => void;
5
+ data: any;
6
+ }
7
+ declare const DialogContext: import("react").Context<{
8
+ openDialog: (dialogComponent: (data: IDialogProps) => JSX.Element, data?: any) => void;
9
+ }>;
10
+ type DialogProviderProps = {
11
+ children: ReactNode;
12
+ };
13
+ declare function DialogContextProvider({ children }: DialogProviderProps): import("react/jsx-runtime").JSX.Element;
14
+ export { DialogContext, DialogContextProvider };
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ export declare const useDialogs: () => {
3
+ openDialog: (dialogComponent: (data: import("../context/DialogContext").IDialogProps) => JSX.Element, data?: any) => void;
4
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "identity-admin-ui",
3
- "version": "1.7.1",
3
+ "version": "1.7.2",
4
4
  "description": "Identity solutions UI package using for identity-admin dashboard",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/esm/index.js",