@lumx/vue 4.9.0-next.14 → 4.9.0-next.15
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.
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ImageBlockProps as UIProps, CLASSNAME, COMPONENT_NAME, DEFAULT_PROPS, ImageBlockCaptionPosition } from '@lumx/core/js/components/ImageBlock';
|
|
1
|
+
import { ImageBlockProps as UIProps, CLASSNAME, COMPONENT_NAME, DEFAULT_PROPS, ImageBlockCaptionPosition, ImageBlockPropsToOverride } from '@lumx/core/js/components/ImageBlock';
|
|
2
2
|
import { VueToJSXProps } from '../../utils/VueToJSX';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
import { ThumbnailProps } from '../thumbnail';
|
|
4
|
+
export type ImageBlockProps = Omit<VueToJSXProps<UIProps, ImageBlockPropsToOverride>, never> & {
|
|
5
|
+
/** Props to pass to the thumbnail (minus those already set by the ImageBlock props). */
|
|
6
|
+
thumbnailProps?: Omit<ThumbnailProps, 'image' | 'size' | 'theme' | 'align' | 'fillHeight' | 'alt'>;
|
|
7
7
|
};
|
|
8
8
|
export { CLASSNAME, COMPONENT_NAME, DEFAULT_PROPS, ImageBlockCaptionPosition };
|
|
9
9
|
/**
|
|
@@ -12,9 +12,8 @@ export { CLASSNAME, COMPONENT_NAME, DEFAULT_PROPS, ImageBlockCaptionPosition };
|
|
|
12
12
|
* @param props Component props.
|
|
13
13
|
* @return Vue element.
|
|
14
14
|
*/
|
|
15
|
-
declare const ImageBlock: import('vue').DefineSetupFnComponent<ImageBlockProps, {}, {}, Omit<VueToJSXProps<UIProps,
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
captionStyle?: Record<string, any>;
|
|
15
|
+
declare const ImageBlock: import('vue').DefineSetupFnComponent<ImageBlockProps, {}, {}, Omit<VueToJSXProps<UIProps, ImageBlockPropsToOverride>, never> & {
|
|
16
|
+
/** Props to pass to the thumbnail (minus those already set by the ImageBlock props). */
|
|
17
|
+
thumbnailProps?: Omit<ThumbnailProps, "image" | "size" | "theme" | "align" | "fillHeight" | "alt">;
|
|
19
18
|
} & {}, import('vue').PublicProps>;
|
|
20
19
|
export default ImageBlock;
|
|
@@ -58,15 +58,13 @@ declare const _default: {
|
|
|
58
58
|
className?: string | undefined;
|
|
59
59
|
theme?: import('../..').Theme | undefined;
|
|
60
60
|
title?: string | undefined;
|
|
61
|
-
titleProps?: import('../..').GenericProps | undefined;
|
|
62
61
|
description?: import('react').ReactNode | {
|
|
63
62
|
__html: string;
|
|
64
63
|
};
|
|
64
|
+
titleProps?: import('../..').GenericProps | undefined;
|
|
65
65
|
descriptionProps?: import('../..').GenericProps | undefined;
|
|
66
66
|
tags?: import('react').ReactNode;
|
|
67
67
|
captionStyle?: import('../..').GenericProps | undefined;
|
|
68
|
-
FlexBox?: any;
|
|
69
|
-
Text?: any;
|
|
70
68
|
};
|
|
71
69
|
decorators: ((story: any, context: any) => any)[];
|
|
72
70
|
title: string;
|