@algorithm-shift/design-system 1.2.982 → 1.2.984
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/{chunk-27YZ2WSP.mjs → chunk-QZ2QO7MJ.mjs} +1 -7
- package/dist/{chunk-27YZ2WSP.mjs.map → chunk-QZ2QO7MJ.mjs.map} +1 -1
- package/dist/client.mjs +1 -1
- package/dist/index.css +7 -14
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +4 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.js +404 -28206
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +537 -28332
- package/dist/index.mjs.map +1 -1
- package/package.json +12 -7
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,
|
|
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,
|
|
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
|
|