@lystech/core 3.0.46 → 3.0.48
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.ts +5 -36
- package/dist/lystech-core-provider.es.js +6781 -7113
- package/dist/lystech-core-provider.umd.js +155 -155
- package/dist/lystech-core-styles.css +1 -1
- package/package.json +2 -1
package/dist/index.d.ts
CHANGED
|
@@ -469,13 +469,6 @@ declare interface ImageTag {
|
|
|
469
469
|
icon?: default_2.ReactNode;
|
|
470
470
|
}
|
|
471
471
|
|
|
472
|
-
declare interface ImageTag_2 {
|
|
473
|
-
content?: default_2.ReactNode;
|
|
474
|
-
className?: string;
|
|
475
|
-
color?: string;
|
|
476
|
-
icon?: default_2.ReactNode;
|
|
477
|
-
}
|
|
478
|
-
|
|
479
472
|
export declare type ImageType = {
|
|
480
473
|
UID: string;
|
|
481
474
|
name: string;
|
|
@@ -979,43 +972,19 @@ export declare type SimplifiedUser = {
|
|
|
979
972
|
lastLogin?: string;
|
|
980
973
|
} | undefined;
|
|
981
974
|
|
|
982
|
-
export declare function SquareImage({ src,
|
|
975
|
+
export declare function SquareImage({ src, alt, size, mobileSize, rounded, circle, shadow, onClick, className, thumbnail, }: SquareImageProps): JSX.Element;
|
|
983
976
|
|
|
984
977
|
declare interface SquareImageProps {
|
|
985
978
|
src: string;
|
|
986
|
-
src2?: string;
|
|
987
|
-
altImage?: string;
|
|
988
979
|
alt?: string;
|
|
989
980
|
size?: string;
|
|
990
981
|
mobileSize?: string;
|
|
991
|
-
minSize?: string;
|
|
992
|
-
minMobileSize?: string;
|
|
993
|
-
containerStyle?: default_2.CSSProperties;
|
|
994
|
-
containerClassName?: string;
|
|
995
|
-
imageStyle?: default_2.CSSProperties;
|
|
996
|
-
imageClassName?: string;
|
|
997
|
-
overlay?: boolean;
|
|
998
|
-
circle?: boolean;
|
|
999
982
|
rounded?: boolean;
|
|
983
|
+
circle?: boolean;
|
|
1000
984
|
shadow?: boolean;
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
borderWidth?: string;
|
|
1005
|
-
blurImage?: boolean;
|
|
1006
|
-
onClick?: (e: default_2.MouseEvent<HTMLDivElement>) => void;
|
|
1007
|
-
onContextMenu?: (e: default_2.MouseEvent<HTMLDivElement>) => void;
|
|
1008
|
-
onImageLoad?: (loadedCorrectly: boolean) => void;
|
|
1009
|
-
lazyLoad?: boolean;
|
|
1010
|
-
placeholderSrc?: string;
|
|
1011
|
-
blurAmount?: string;
|
|
1012
|
-
allowZoom?: boolean;
|
|
1013
|
-
zoomFactor?: number;
|
|
1014
|
-
previewImageSrc?: string;
|
|
1015
|
-
previewPosition?: "topRight" | "topLeft" | "bottomRight" | "bottomLeft";
|
|
1016
|
-
contain?: boolean;
|
|
1017
|
-
previewText?: string;
|
|
1018
|
-
tags?: ImageTag_2[];
|
|
985
|
+
onClick?: () => void;
|
|
986
|
+
className?: string;
|
|
987
|
+
thumbnail?: string;
|
|
1019
988
|
}
|
|
1020
989
|
|
|
1021
990
|
export declare function SubscribeToPushNotification({ size, visible, forceVisible, text, knowMoreUrl, knowMoreText, onAction, onPopupClose }: Props_8): JSX.Element;
|