identity-admin-ui 1.12.17 → 1.12.18

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,7 +5,7 @@ export interface IIdentiyArray {
5
5
  handleRemove: (index: number) => void;
6
6
  itemComponent: (index: number, item: any) => JSX.Element;
7
7
  handleDrop?: (droppedItem: any) => void;
8
- handleAdd: () => void;
8
+ handleAdd?: () => void;
9
9
  addButtonText?: string;
10
10
  list: any;
11
11
  direction?: ArrayDirection;
@@ -1,2 +1,2 @@
1
1
  import { UploadMultiImages } from './type';
2
- export default function MultiImagePreview({ showPreview, files, type, disabled, onRemove, setImages, }: UploadMultiImages): import("react/jsx-runtime").JSX.Element;
2
+ export default function MultiImagePreview({ showPreview, files, type, disabled, onRemove, setImages, keyValue, isDraggable }: UploadMultiImages): import("react/jsx-runtime").JSX.Element;
@@ -40,4 +40,6 @@ export interface UploadMultiImages extends DropzoneOptions {
40
40
  onUpload?: VoidFunction;
41
41
  onRemove: (file: FileData) => void;
42
42
  onRemoveAll?: VoidFunction;
43
+ keyValue: string;
44
+ isDraggable?: boolean;
43
45
  }
@@ -1,8 +1,10 @@
1
1
  export interface FileData {
2
2
  id: string;
3
3
  name: string;
4
+ url?: string;
4
5
  }
5
6
  export declare function getFileData(file: FileData): {
6
7
  key: string;
7
8
  name: string;
9
+ url: string | undefined;
8
10
  };
@@ -1,4 +1,4 @@
1
- export declare function useNavData(): {
2
- subheader: string;
3
- items: any;
4
- }[];
1
+ export declare function useNavData(): {
2
+ subheader: string;
3
+ items: any;
4
+ }[];
@@ -1,10 +1,10 @@
1
- import { SizeType } from '../helpers/Types';
2
- export declare var SIZE: SizeType;
3
- export default function AdminRouter(): {
4
- path: any;
5
- children: {
6
- path: string;
7
- element: import("react/jsx-runtime").JSX.Element;
8
- children: any[];
9
- }[];
10
- };
1
+ import { SizeType } from '../helpers/Types';
2
+ export declare var SIZE: SizeType;
3
+ export default function AdminRouter(): {
4
+ path: any;
5
+ children: {
6
+ path: string;
7
+ element: import("react/jsx-runtime").JSX.Element;
8
+ children: any[];
9
+ }[];
10
+ };
@@ -1,5 +1,5 @@
1
- export declare function path(root: string, sublink: string): string;
2
- export declare const ADMIN_ROOT = "/admin";
3
- export declare var ADMIN_PATH: {
4
- [key: string]: any;
5
- };
1
+ export declare function path(root: string, sublink: string): string;
2
+ export declare const ADMIN_ROOT = "/admin";
3
+ export declare var ADMIN_PATH: {
4
+ [key: string]: any;
5
+ };
@@ -17,6 +17,7 @@ export interface IImageProps {
17
17
  handleEditImage: (key: string) => void;
18
18
  imageOptimizingCategory?: ImageOptimizingCategories;
19
19
  disableImageOptimization?: boolean;
20
+ isDraggable?: boolean;
20
21
  setImageDialogState: React.Dispatch<React.SetStateAction<{
21
22
  [key: string]: boolean;
22
23
  }>>;
@@ -39,4 +40,4 @@ export interface IImageProps {
39
40
  shouldTouch: boolean;
40
41
  }> | undefined) => void;
41
42
  }
42
- export default function ImageCard({ image, keyValue, isEnglish, imageDialogState, imageOptimizingCategory, label, multiple, fileType, dismissDialogState, setImages, handleEditImage, handleRemoveImage, setImageDialogState, setImage, setValue, disableImageOptimization, }: IImageProps): import("react/jsx-runtime").JSX.Element;
43
+ export default function ImageCard({ image, keyValue, isEnglish, imageDialogState, imageOptimizingCategory, label, multiple, fileType, dismissDialogState, setImages, handleEditImage, handleRemoveImage, setImageDialogState, setImage, setValue, disableImageOptimization, isDraggable, }: IImageProps): import("react/jsx-runtime").JSX.Element;
package/lib/esm/index.css CHANGED
@@ -1,3 +1,21 @@
1
+ .editor {
2
+ padding-left: 20px;
3
+ padding-right: 20px;
4
+ max-height: 350px;
5
+ overflow: auto;
6
+ }
7
+ .toolBar {
8
+ border-style: solid;
9
+ border-width: 0.1px;
10
+ border-radius: 10px;
11
+ border-color:lightgray;
12
+ }
13
+ .wrapper {
14
+ border-style: solid;
15
+ border-width: 0.1px;
16
+ border-radius: 10px;
17
+ border-color:lightgray;
18
+ }
1
19
  /*!
2
20
  Theme: Tomorrow Night
3
21
  Author: Chris Kempson (http://chriskempson.com)
@@ -5,24 +23,6 @@
5
23
  Maintainer: @highlightjs/core-team
6
24
  Version: 2021.09.0
7
25
  */pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{color:#ccc;background:#2d2d2d}.hljs ::selection,.hljs::selection{background-color:#515151;color:#ccc}.hljs-comment{color:#999}.hljs-tag{color:#b4b7b4}.hljs-operator,.hljs-punctuation,.hljs-subst{color:#ccc}.hljs-operator{opacity:.7}.hljs-bullet,.hljs-deletion,.hljs-name,.hljs-selector-tag,.hljs-template-variable,.hljs-variable{color:#f2777a}.hljs-attr,.hljs-link,.hljs-literal,.hljs-number,.hljs-symbol,.hljs-variable.constant_{color:#f99157}.hljs-class .hljs-title,.hljs-title,.hljs-title.class_{color:#fc6}.hljs-strong{font-weight:700;color:#fc6}.hljs-addition,.hljs-code,.hljs-string,.hljs-title.class_.inherited__{color:#9c9}.hljs-built_in,.hljs-doctag,.hljs-keyword.hljs-atrule,.hljs-quote,.hljs-regexp{color:#6cc}.hljs-attribute,.hljs-function .hljs-title,.hljs-section,.hljs-title.function_,.ruby .hljs-property{color:#69c}.diff .hljs-meta,.hljs-keyword,.hljs-template-tag,.hljs-type{color:#c9c}.hljs-emphasis{color:#c9c;font-style:italic}.hljs-meta,.hljs-meta .hljs-keyword,.hljs-meta .hljs-string{color:#a3685a}.hljs-meta .hljs-keyword,.hljs-meta-keyword{font-weight:700}
8
- .editor {
9
- padding-left: 20px;
10
- padding-right: 20px;
11
- max-height: 350px;
12
- overflow: auto;
13
- }
14
- .toolBar {
15
- border-style: solid;
16
- border-width: 0.1px;
17
- border-radius: 10px;
18
- border-color:lightgray;
19
- }
20
- .wrapper {
21
- border-style: solid;
22
- border-width: 0.1px;
23
- border-radius: 10px;
24
- border-color:lightgray;
25
- }
26
26
  /*!
27
27
  * Quill Editor v1.3.7
28
28
  * https://quilljs.com/