@algorithm-shift/design-system 1.2.982 → 1.2.983

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.
package/dist/index.d.mts CHANGED
@@ -32,6 +32,9 @@ interface ImageProps extends ElementProps {
32
32
  imageUrl?: string;
33
33
  altText?: string;
34
34
  imageUrlExternal?: string;
35
+ enableUpload?: boolean;
36
+ onSuccess?: (data: { url: string; fileName: string }) => void;
37
+ axiosInstance?: typeof axios;
35
38
  }
36
39
 
37
40
  type InputProperties = {
@@ -297,7 +300,7 @@ declare const _default$2: typeof Repeater;
297
300
 
298
301
  declare const ButtonWrapper: ({ className, style, textContent, loadingText, loading, ...props }: ButtonProps) => react_jsx_runtime.JSX.Element;
299
302
 
300
- declare const ImageControl: ({ className, style, imageUrl, imageUrlExternal, altText, }: ImageProps) => react_jsx_runtime.JSX.Element;
303
+ declare const ImageControl: ({ className, style, imageUrl, altText, ...props }: ImageProps) => react_jsx_runtime.JSX.Element;
301
304
 
302
305
  declare const Shape: ({ children, className, style }: ElementProps) => react_jsx_runtime.JSX.Element;
303
306
 
package/dist/index.d.ts CHANGED
@@ -32,6 +32,9 @@ interface ImageProps extends ElementProps {
32
32
  imageUrl?: string;
33
33
  altText?: string;
34
34
  imageUrlExternal?: string;
35
+ enableUpload?: boolean;
36
+ onSuccess?: (data: { url: string; fileName: string }) => void;
37
+ axiosInstance?: typeof axios;
35
38
  }
36
39
 
37
40
  type InputProperties = {
@@ -297,7 +300,7 @@ declare const _default$2: typeof Repeater;
297
300
 
298
301
  declare const ButtonWrapper: ({ className, style, textContent, loadingText, loading, ...props }: ButtonProps) => react_jsx_runtime.JSX.Element;
299
302
 
300
- declare const ImageControl: ({ className, style, imageUrl, imageUrlExternal, altText, }: ImageProps) => react_jsx_runtime.JSX.Element;
303
+ declare const ImageControl: ({ className, style, imageUrl, altText, ...props }: ImageProps) => react_jsx_runtime.JSX.Element;
301
304
 
302
305
  declare const Shape: ({ children, className, style }: ElementProps) => react_jsx_runtime.JSX.Element;
303
306