identity-admin-ui 1.6.1 → 1.6.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.
@@ -1,6 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { RequestState } from '../hooks/RequetState';
3
3
  import IResource from './Resource';
4
+ import { SxProps } from '@mui/material';
4
5
  export type ResourceResponse = {
5
6
  [key: string]: IResource | {
6
7
  [key: string]: string[];
@@ -16,6 +17,7 @@ declare const ResourcesContext: import("react").Context<{
16
17
  export interface ResourcesContextConfig {
17
18
  resourcesUrl: string;
18
19
  laodingLogo?: string;
20
+ logoSxProps?: SxProps;
19
21
  children: any;
20
22
  }
21
23
  declare const ResourcesContextProvider: (props: ResourcesContextConfig) => import("react/jsx-runtime").JSX.Element;
@@ -3,6 +3,7 @@ type Props = {
3
3
  isDashboard?: boolean;
4
4
  sx?: SxProps;
5
5
  loadingLogo?: string;
6
+ logoSxProps?: SxProps;
6
7
  };
7
- export default function LoadingScreen({ isDashboard, loadingLogo, ...other }: Props): import("react/jsx-runtime").JSX.Element;
8
+ export default function LoadingScreen({ isDashboard, loadingLogo, logoSxProps, ...other }: Props): import("react/jsx-runtime").JSX.Element;
8
9
  export {};
package/lib/index.d.ts CHANGED
@@ -5,10 +5,10 @@ import { ReactElement, ReactNode } from 'react';
5
5
  import { GridSortDirection, GridRowSelectionModel } from '@mui/x-data-grid';
6
6
  import * as axios from 'axios';
7
7
  import { AxiosRequestConfig } from 'axios';
8
+ import * as _mui_material from '@mui/material';
9
+ import { SxProps, AlertColor as AlertColor$1 } from '@mui/material';
8
10
  import * as notistack from 'notistack';
9
11
  import { SnackbarOrigin } from 'notistack';
10
- import * as _mui_material from '@mui/material';
11
- import { AlertColor as AlertColor$1 } from '@mui/material';
12
12
 
13
13
  type TLink = {
14
14
  href?: string;
@@ -377,6 +377,7 @@ declare const ResourcesContext: react.Context<{
377
377
  interface ResourcesContextConfig {
378
378
  resourcesUrl: string;
379
379
  laodingLogo?: string;
380
+ logoSxProps?: SxProps;
380
381
  children: any;
381
382
  }
382
383
  declare const ResourcesContextProvider: (props: ResourcesContextConfig) => react_jsx_runtime.JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "identity-admin-ui",
3
- "version": "1.6.1",
3
+ "version": "1.6.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",