@lumx/vue 4.8.0-next.2 → 4.8.0-next.3
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,6 +1,11 @@
|
|
|
1
|
+
import { CSSProperties } from 'vue';
|
|
1
2
|
import { GenericBlockProps as UIProps, GenericBlockPropsToOverride } from '@lumx/core/js/components/GenericBlock';
|
|
2
3
|
import { FlexBoxProps } from '../flex-box';
|
|
3
4
|
import { VueToJSXProps } from '../../utils/VueToJSX';
|
|
5
|
+
/** FlexBox section props extended with standard HTML style. */
|
|
6
|
+
type SectionProps = FlexBoxProps & {
|
|
7
|
+
style?: CSSProperties;
|
|
8
|
+
};
|
|
4
9
|
export type GenericBlockProps = VueToJSXProps<UIProps, GenericBlockPropsToOverride | 'figure' | 'actions' | 'vAlign' | 'hAlign' | 'actionsProps' | 'contentProps' | 'figureProps'> & {
|
|
5
10
|
/** Customize the root element tag. */
|
|
6
11
|
as?: string;
|
|
@@ -12,15 +17,15 @@ export type GenericBlockProps = VueToJSXProps<UIProps, GenericBlockPropsToOverri
|
|
|
12
17
|
* The props to forward to the content.
|
|
13
18
|
* By default, the content will have the same alignment as wrapper.
|
|
14
19
|
*/
|
|
15
|
-
contentProps?:
|
|
20
|
+
contentProps?: SectionProps;
|
|
16
21
|
/**
|
|
17
22
|
* props to forward to the actions element.
|
|
18
23
|
*/
|
|
19
|
-
actionsProps?:
|
|
24
|
+
actionsProps?: SectionProps;
|
|
20
25
|
/**
|
|
21
26
|
* props to forward to the figure element.
|
|
22
27
|
*/
|
|
23
|
-
figureProps?:
|
|
28
|
+
figureProps?: SectionProps;
|
|
24
29
|
};
|
|
25
30
|
/**
|
|
26
31
|
* The GenericBlock is a layout component made of 3 sections that can be
|
|
@@ -44,14 +49,14 @@ declare const GenericBlock: import('vue').DefineSetupFnComponent<GenericBlockPro
|
|
|
44
49
|
* The props to forward to the content.
|
|
45
50
|
* By default, the content will have the same alignment as wrapper.
|
|
46
51
|
*/
|
|
47
|
-
contentProps?:
|
|
52
|
+
contentProps?: SectionProps;
|
|
48
53
|
/**
|
|
49
54
|
* props to forward to the actions element.
|
|
50
55
|
*/
|
|
51
|
-
actionsProps?:
|
|
56
|
+
actionsProps?: SectionProps;
|
|
52
57
|
/**
|
|
53
58
|
* props to forward to the figure element.
|
|
54
59
|
*/
|
|
55
|
-
figureProps?:
|
|
60
|
+
figureProps?: SectionProps;
|
|
56
61
|
} & {}, import('vue').PublicProps>;
|
|
57
62
|
export default GenericBlock;
|