@maltjoy/core-vue 1.0.0-beta.10 → 1.0.0-beta.11
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/components/JoyPanel/JoyPanel.types.d.ts +2 -0
- package/dist/components/JoyPanel/VJoyPanel.vue.d.ts +12 -1
- package/dist/components/JoyWrapper/VJoyWrapper.vue.d.ts +8 -0
- package/dist/joy-vue.js +784 -767
- package/dist/joy-vue.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +2 -2
|
@@ -1,3 +1,5 @@
|
|
|
1
1
|
import { SIZES } from '@/types';
|
|
2
2
|
export type PanelSizes = Extract<(typeof SIZES)[number], 'small' | 'medium' | 'large'>;
|
|
3
3
|
export declare const PANEL_SIZES: PanelSizes[];
|
|
4
|
+
export type PanelTitleSizes = Extract<(typeof SIZES)[number], 'small' | 'large'>;
|
|
5
|
+
export declare const PANEL_TITLE_SIZES: PanelTitleSizes[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { PanelSizes } from './JoyPanel.types';
|
|
2
|
+
import { PanelSizes, PanelTitleSizes } from './JoyPanel.types';
|
|
3
3
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
4
4
|
flex: {
|
|
5
5
|
type: StringConstructor;
|
|
@@ -13,6 +13,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
13
13
|
default: string;
|
|
14
14
|
validator(size: PanelSizes): boolean;
|
|
15
15
|
};
|
|
16
|
+
titleSize: {
|
|
17
|
+
type: PropType<PanelTitleSizes>;
|
|
18
|
+
default: string;
|
|
19
|
+
validator(size: PanelTitleSizes): boolean;
|
|
20
|
+
};
|
|
16
21
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
22
|
flex: {
|
|
18
23
|
type: StringConstructor;
|
|
@@ -26,9 +31,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
26
31
|
default: string;
|
|
27
32
|
validator(size: PanelSizes): boolean;
|
|
28
33
|
};
|
|
34
|
+
titleSize: {
|
|
35
|
+
type: PropType<PanelTitleSizes>;
|
|
36
|
+
default: string;
|
|
37
|
+
validator(size: PanelTitleSizes): boolean;
|
|
38
|
+
};
|
|
29
39
|
}>>, {
|
|
30
40
|
noMargin: boolean;
|
|
31
41
|
padding: PanelSizes;
|
|
42
|
+
titleSize: PanelTitleSizes;
|
|
32
43
|
}>, {
|
|
33
44
|
'panel-title': (_: {}) => any;
|
|
34
45
|
'panel-title-action': (_: {}) => any;
|
|
@@ -1,17 +1,21 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
|
+
/** Horizontal spread. Refers to CSS flex justify-content. */
|
|
3
4
|
justify: {
|
|
4
5
|
type: PropType<"flex-end" | "center" | "space-between" | "flex-start">;
|
|
5
6
|
default: string;
|
|
6
7
|
};
|
|
8
|
+
/** Vertical spread. Refers to CSS flex align-items. */
|
|
7
9
|
align: {
|
|
8
10
|
type: PropType<"flex-end" | "stretch" | "center" | "flex-start">;
|
|
9
11
|
default: string;
|
|
10
12
|
};
|
|
13
|
+
/** Vertical flex, or horizontal. Refers to CSS flex-direction */
|
|
11
14
|
direction: {
|
|
12
15
|
type: PropType<"column" | "row">;
|
|
13
16
|
default: string;
|
|
14
17
|
};
|
|
18
|
+
/** Automatically sets new line if there are not enough horizontal space. Refers to CSS flex-wrap */
|
|
15
19
|
wrap: {
|
|
16
20
|
type: PropType<"nowrap" | "wrap">;
|
|
17
21
|
default: string;
|
|
@@ -21,18 +25,22 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
21
25
|
type: BooleanConstructor;
|
|
22
26
|
};
|
|
23
27
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
28
|
+
/** Horizontal spread. Refers to CSS flex justify-content. */
|
|
24
29
|
justify: {
|
|
25
30
|
type: PropType<"flex-end" | "center" | "space-between" | "flex-start">;
|
|
26
31
|
default: string;
|
|
27
32
|
};
|
|
33
|
+
/** Vertical spread. Refers to CSS flex align-items. */
|
|
28
34
|
align: {
|
|
29
35
|
type: PropType<"flex-end" | "stretch" | "center" | "flex-start">;
|
|
30
36
|
default: string;
|
|
31
37
|
};
|
|
38
|
+
/** Vertical flex, or horizontal. Refers to CSS flex-direction */
|
|
32
39
|
direction: {
|
|
33
40
|
type: PropType<"column" | "row">;
|
|
34
41
|
default: string;
|
|
35
42
|
};
|
|
43
|
+
/** Automatically sets new line if there are not enough horizontal space. Refers to CSS flex-wrap */
|
|
36
44
|
wrap: {
|
|
37
45
|
type: PropType<"nowrap" | "wrap">;
|
|
38
46
|
default: string;
|