identity-admin-ui 1.10.3 → 1.10.5

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.
@@ -55,6 +55,7 @@ export interface IParent {
55
55
  export interface IFilter {
56
56
  scopes: {
57
57
  isAccessible: boolean;
58
+ showAll?: boolean;
58
59
  options?: {
59
60
  key: string;
60
61
  value: string;
@@ -12,3 +12,7 @@ export declare enum FileTypes {
12
12
  POWER_POINT = "POWER_POINT",
13
13
  AUDIO = "AUDIO"
14
14
  }
15
+ export declare enum ImageOptimizingCategories {
16
+ NORMAL = "NORMAL",
17
+ BANNERS = "BANNERS"
18
+ }
@@ -1,6 +1,6 @@
1
1
  import { Dispatch, SetStateAction } from 'react';
2
2
  import { ImageItem } from '../../components/mediaUploader/ImageSelector';
3
- import { FileTypes } from '../../helpers/Types';
3
+ import { FileTypes, ImageOptimizingCategories } from '../../helpers/Types';
4
4
  export interface IImageProps {
5
5
  image: {
6
6
  [key: string]: ImageItem | ImageItem[] | undefined;
@@ -15,6 +15,7 @@ export interface IImageProps {
15
15
  fileType: FileTypes;
16
16
  handleRemoveImage: (key: string) => void;
17
17
  handleEditImage: (key: string) => void;
18
+ imageOptimizingCategory?: ImageOptimizingCategories;
18
19
  setImageDialogState: React.Dispatch<React.SetStateAction<{
19
20
  [key: string]: boolean;
20
21
  }>>;
@@ -37,4 +38,4 @@ export interface IImageProps {
37
38
  shouldTouch: boolean;
38
39
  }> | undefined) => void;
39
40
  }
40
- export default function ImageCard({ image, keyValue, isEnglish, imageDialogState, label, multiple, fileType, dismissDialogState, setImages, handleEditImage, handleRemoveImage, setImageDialogState, setImage, setValue, }: IImageProps): import("react/jsx-runtime").JSX.Element;
41
+ export default function ImageCard({ image, keyValue, isEnglish, imageDialogState, imageOptimizingCategory, label, multiple, fileType, dismissDialogState, setImages, handleEditImage, handleRemoveImage, setImageDialogState, setImage, setValue, }: IImageProps): import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,3 @@
1
- import { FileTypes } from '../helpers/Types';
2
- export declare const uploadFile: (file: any, isImage: boolean, callBack: (link: string) => void) => Promise<unknown>;
1
+ import { FileTypes, ImageOptimizingCategories } from '../helpers/Types';
2
+ export declare const uploadFile: (file: any, isImage: boolean, imageOptimizingCategory: ImageOptimizingCategories, callBack: (link: string) => void) => Promise<unknown>;
3
3
  export declare const uploadFiles: (files: File[], fileType: FileTypes) => Promise<(string | undefined)[]>;
package/lib/index.d.ts CHANGED
@@ -173,6 +173,7 @@ interface IParent {
173
173
  interface IFilter {
174
174
  scopes: {
175
175
  isAccessible: boolean;
176
+ showAll?: boolean;
176
177
  options?: {
177
178
  key: string;
178
179
  value: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "identity-admin-ui",
3
- "version": "1.10.3",
3
+ "version": "1.10.5",
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",