identity-admin-ui 1.7.2 → 1.7.3

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.
@@ -5,3 +5,4 @@ export * from "./PathsContext";
5
5
  export * from "./AppConfigurationsContext";
6
6
  export * from "./CredentialsContext";
7
7
  export * from "./SnackAlertContext";
8
+ export * from './DialogContext';
@@ -6,3 +6,4 @@ export * from './useResources';
6
6
  export * from './useCredentials';
7
7
  export * from './useSnackAlert';
8
8
  export * from './usePaths';
9
+ export * from './useDialog';
package/lib/index.d.ts CHANGED
@@ -466,6 +466,19 @@ type SnackAlertProviderProps = {
466
466
  };
467
467
  declare function SnackAlertProvider({ children }: SnackAlertProviderProps): react_jsx_runtime.JSX.Element;
468
468
 
469
+ interface IDialogProps {
470
+ open: boolean;
471
+ onDismiss: () => void;
472
+ data: any;
473
+ }
474
+ declare const DialogContext: react.Context<{
475
+ openDialog: (dialogComponent: (data: IDialogProps) => JSX.Element, data?: any) => void;
476
+ }>;
477
+ type DialogProviderProps = {
478
+ children: ReactNode;
479
+ };
480
+ declare function DialogContextProvider({ children }: DialogProviderProps): react_jsx_runtime.JSX.Element;
481
+
469
482
  declare const useResources: () => {
470
483
  resources: ResourceResponse;
471
484
  getResources: () => void;
@@ -488,6 +501,10 @@ declare const usePaths: () => {
488
501
  home: string;
489
502
  };
490
503
 
504
+ declare const useDialogs: () => {
505
+ openDialog: (dialogComponent: (data: IDialogProps) => JSX.Element, data?: any) => void;
506
+ };
507
+
491
508
  declare const IdentityClient: axios.AxiosInstance;
492
509
  declare module 'axios' {
493
510
  interface AxiosRequestConfig {
@@ -533,4 +550,4 @@ declare function DashBoardRouter(props: any): {
533
550
  }[];
534
551
  };
535
552
 
536
- export { ApiContext, ApiContextConfig, ApiContextProps, ApiContextProvider, AppConfigurationsContext, AppConfigurationsContextProvider, CredentialKeys, CredentialsContext, CredentialsContextProvider, DashboardLayout, IAction, IActionMin, IExtarAction, IExtras, IFilter, IMainProperty, IParent, IProperty, ISchemaObject, ISnackMessageProps, IState, IdentityModelConfigurationPage as IdenityModelConfiguration, IdentityClient, CreateEdit as IdentityEdit, ListRecords as IdentityList, IdentityPage, IdentityPageProps, DashBoardRouter as IdentityRouter, ShowRecord as IdentityShow, NextPreviousButtons, PageVariant, PathsContext, PathsContextConfig, PathsContextProvider, RequestConfig, RequestState, ResourcePaths, ResourceResponse, ResourcesContext, ResourcesContextConfig, ResourcesContextProvider, SettingsValueProps, Severity, SnackAlertContext, SnackAlertProvider, State, ThemeProps, ThemeProvider, orderTypes, path, useApi, useAppConfigurations, useCredentials, useNavData, usePaths, useResources, useSnackAlert };
553
+ export { ApiContext, ApiContextConfig, ApiContextProps, ApiContextProvider, AppConfigurationsContext, AppConfigurationsContextProvider, CredentialKeys, CredentialsContext, CredentialsContextProvider, DashboardLayout, DialogContext, DialogContextProvider, IAction, IActionMin, IDialogProps, IExtarAction, IExtras, IFilter, IMainProperty, IParent, IProperty, ISchemaObject, ISnackMessageProps, IState, IdentityModelConfigurationPage as IdenityModelConfiguration, IdentityClient, CreateEdit as IdentityEdit, ListRecords as IdentityList, IdentityPage, IdentityPageProps, DashBoardRouter as IdentityRouter, ShowRecord as IdentityShow, NextPreviousButtons, PageVariant, PathsContext, PathsContextConfig, PathsContextProvider, RequestConfig, RequestState, ResourcePaths, ResourceResponse, ResourcesContext, ResourcesContextConfig, ResourcesContextProvider, SettingsValueProps, Severity, SnackAlertContext, SnackAlertProvider, State, ThemeProps, ThemeProvider, orderTypes, path, useApi, useAppConfigurations, useCredentials, useDialogs, useNavData, usePaths, useResources, useSnackAlert };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "identity-admin-ui",
3
- "version": "1.7.2",
3
+ "version": "1.7.3",
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",