identity-admin-ui 1.7.26 → 1.7.28

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.
@@ -32,5 +32,6 @@ export interface GridProps {
32
32
  [key: string]: IBulkActionsDialogState;
33
33
  } | undefined>>;
34
34
  extras?: IGridExtras;
35
+ setCustomActions: React.Dispatch<React.SetStateAction<JSX.Element | undefined>>;
35
36
  }
36
37
  export default function DataGridd({ resources, resourceName, paramsState, bulkActionsDialogState, extras, setBulkActionsDialogState }: GridProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,7 @@
1
+ export declare const formats: string[];
2
+ type EditorToolbarProps = {
3
+ id: string;
4
+ isSimple?: boolean;
5
+ };
6
+ export default function EditorToolbar({ id, isSimple, ...other }: EditorToolbarProps): import("react/jsx-runtime").JSX.Element;
7
+ export {};
@@ -1,3 +1,3 @@
1
1
  import '../../utils/highlight';
2
2
  import { EditorProps } from './types';
3
- export default function Editor({ id, error, simple, helperText, sx, ...other }: EditorProps): import("react/jsx-runtime").JSX.Element;
3
+ export default function Editor({ id, error, value, onChange, simple, helperText, sx, ...other }: EditorProps): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  export * from './types';
2
- export { default } from './editor';
2
+ export { default } from './Editor';
@@ -1,10 +1,10 @@
1
1
  /// <reference types="react" />
2
- export declare const StyledEditor: import("@emotion/styled").StyledComponent<import("@mui/system").SystemProps<import("@mui/material/styles").Theme> & {
2
+ export declare const StyledEditor: import("@emotion/styled").StyledComponent<import("@mui/system").SystemProps<import("@mui/material").Theme> & {
3
3
  children?: import("react").ReactNode;
4
4
  component?: import("react").ElementType<any> | undefined;
5
5
  ref?: import("react").Ref<unknown> | undefined;
6
- sx?: import("@mui/material/styles").SxProps<import("@mui/material/styles").Theme> | undefined;
6
+ sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
7
7
  } & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
8
8
  ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
9
- }, ("border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "color" | "zIndex" | "position" | "top" | "right" | "bottom" | "left" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform") | "children" | "component" | "ref" | "sx"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
10
- export declare const StyledEditorToolbar: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
9
+ }, ("border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "color" | "zIndex" | "position" | "top" | "right" | "bottom" | "left" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform") | "children" | "component" | "ref" | "sx"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
10
+ export declare const StyledEditorToolbar: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -1,7 +1,9 @@
1
1
  /// <reference types="react" />
2
2
  import { ReactQuillProps } from 'react-quill';
3
- import { Theme, SxProps } from '@mui/material/styles';
3
+ import { Theme } from '@mui/material/styles';
4
+ import { SxProps } from '@mui/material';
4
5
  export interface EditorProps extends ReactQuillProps {
6
+ id?: string;
5
7
  error?: boolean;
6
8
  simple?: boolean;
7
9
  helperText?: React.ReactNode;
@@ -2,5 +2,5 @@ import { EditorProps } from '../editor';
2
2
  interface Props extends EditorProps {
3
3
  name: string;
4
4
  }
5
- export default function RHFEditor({ name, ...other }: Props): import("react/jsx-runtime").JSX.Element;
5
+ export default function RHFEditor({ name, helperText, ...other }: Props): import("react/jsx-runtime").JSX.Element;
6
6
  export {};
@@ -25,7 +25,8 @@ export declare enum FieldTypes {
25
25
  COLOR = "color",
26
26
  TIMEPICKER = "timePicker",
27
27
  FILE = "File",
28
- LOCATION = "LOCATION"
28
+ LOCATION = "LOCATION",
29
+ HTML = "HTML"
29
30
  }
30
31
  export declare enum HandlerStrategy {
31
32
  NORMAL = "NORMAL",
@@ -1,6 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { INextpreviousExtras } from '../components/Buttons/NextPreviousButtons';
3
3
  import { TLink } from '../components/Breadcrumbs';
4
+ import 'react-quill/dist/quill.snow.css';
4
5
  export interface ICreateEdit extends INextpreviousExtras {
5
6
  isEdit: boolean;
6
7
  modelRoute: string;
package/lib/index.d.ts CHANGED
@@ -99,7 +99,8 @@ declare enum FieldTypes {
99
99
  COLOR = "color",
100
100
  TIMEPICKER = "timePicker",
101
101
  FILE = "File",
102
- LOCATION = "LOCATION"
102
+ LOCATION = "LOCATION",
103
+ HTML = "HTML"
103
104
  }
104
105
 
105
106
  type SizeType = 'small' | 'medium' | undefined;
@@ -372,6 +373,7 @@ interface GridProps {
372
373
  [key: string]: IBulkActionsDialogState;
373
374
  } | undefined>>;
374
375
  extras?: IGridExtras;
376
+ setCustomActions: react.Dispatch<react.SetStateAction<JSX.Element | undefined>>;
375
377
  }
376
378
  declare function DataGridd({ resources, resourceName, paramsState, bulkActionsDialogState, extras, setBulkActionsDialogState }: GridProps): react_jsx_runtime.JSX.Element;
377
379
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "identity-admin-ui",
3
- "version": "1.7.26",
3
+ "version": "1.7.28",
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",