@maltjoy/core-vue 1.0.0-alpha.8 → 1.0.0-beta.1
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/README.md +1 -0
- package/dist/components/JoyButton/{JoyButton.vue.d.ts → VJoyButton.vue.d.ts} +6 -6
- package/dist/components/JoyHighlight/JoyHighlight.types.d.ts +1 -1
- package/dist/components/JoyHighlight/{JoyHighlight.vue.d.ts → VJoyHighlight.vue.d.ts} +3 -3
- package/dist/components/JoySelectableItemGroup/{JoySelectableItemGroup.vue.d.ts → VJoySelectableItemGroup.vue.d.ts} +2 -2
- package/dist/components/JoyWrapper/{JoyWrapper.vue.d.ts → VJoyWrapper.vue.d.ts} +9 -9
- package/dist/components/index.d.ts +22 -22
- package/dist/joy-vue.js +288 -272
- package/dist/joy-vue.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/joy-components.d.ts +21 -21
- package/package.json +1 -1
- package/dist/components/JoyCheckbox/{JoyCheckbox.vue.d.ts → VJoyCheckbox.vue.d.ts} +0 -0
- package/dist/components/JoyCounter/{JoyCounter.vue.d.ts → VJoyCounter.vue.d.ts} +1 -1
- /package/dist/components/JoyFormError/{JoyFormError.vue.d.ts → VJoyFormError.vue.d.ts} +0 -0
- /package/dist/components/JoyInput/{JoyInput.vue.d.ts → VJoyInput.vue.d.ts} +0 -0
- /package/dist/components/JoyLabel/{JoyLabel.vue.d.ts → VJoyLabel.vue.d.ts} +0 -0
- /package/dist/components/JoyLink/{JoyLink.vue.d.ts → VJoyLink.vue.d.ts} +0 -0
- /package/dist/components/JoyMultiCheckbox/{JoyMultiCheckbox.vue.d.ts → VJoyMultiCheckbox.vue.d.ts} +0 -0
- /package/dist/components/JoyPanel/{JoyPanel.vue.d.ts → VJoyPanel.vue.d.ts} +0 -0
- /package/dist/components/JoyPanelSection/{JoyPanelSection.vue.d.ts → VJoyPanelSection.vue.d.ts} +0 -0
- /package/dist/components/JoyRadio/{JoyRadio.vue.d.ts → VJoyRadio.vue.d.ts} +0 -0
- /package/dist/components/JoyRadioGroup/{JoyRadioGroup.vue.d.ts → VJoyRadioGroup.vue.d.ts} +0 -0
- /package/dist/components/JoySelect/{JoySelect.vue.d.ts → VJoySelect.vue.d.ts} +0 -0
- /package/dist/components/JoySelectableItem/{JoySelectableItem.vue.d.ts → VJoySelectableItem.vue.d.ts} +0 -0
- /package/dist/components/JoySpinner/{JoySpinner.vue.d.ts → VJoySpinner.vue.d.ts} +0 -0
- /package/dist/components/JoyTemplate/{JoyTemplate.vue.d.ts → VJoyTemplate.vue.d.ts} +0 -0
- /package/dist/components/JoyTextarea/{JoyTextarea.vue.d.ts → VJoyTextarea.vue.d.ts} +0 -0
- /package/dist/components/JoyToggle/{JoyToggle.vue.d.ts → VJoyToggle.vue.d.ts} +0 -0
package/README.md
CHANGED
|
@@ -18,7 +18,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
18
18
|
};
|
|
19
19
|
/** Button or Link color variant */
|
|
20
20
|
variant: {
|
|
21
|
-
type: PropType<"main" | "
|
|
21
|
+
type: PropType<"main" | "ghost" | "secondary" | "primary" | "admin">;
|
|
22
22
|
default: string;
|
|
23
23
|
validator(variant: ButtonVariants): boolean;
|
|
24
24
|
};
|
|
@@ -30,7 +30,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
30
30
|
};
|
|
31
31
|
/** Override the icon size. Default to xsmall */
|
|
32
32
|
iconSize: {
|
|
33
|
-
type: PropType<"small" | "
|
|
33
|
+
type: PropType<"small" | "xxsmall" | "xsmall">;
|
|
34
34
|
default: string;
|
|
35
35
|
validator(iconSize: IconSizes): boolean;
|
|
36
36
|
};
|
|
@@ -52,7 +52,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
52
52
|
};
|
|
53
53
|
/** Button or Link color variant */
|
|
54
54
|
variant: {
|
|
55
|
-
type: PropType<"main" | "
|
|
55
|
+
type: PropType<"main" | "ghost" | "secondary" | "primary" | "admin">;
|
|
56
56
|
default: string;
|
|
57
57
|
validator(variant: ButtonVariants): boolean;
|
|
58
58
|
};
|
|
@@ -64,16 +64,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
64
64
|
};
|
|
65
65
|
/** Override the icon size. Default to xsmall */
|
|
66
66
|
iconSize: {
|
|
67
|
-
type: PropType<"small" | "
|
|
67
|
+
type: PropType<"small" | "xxsmall" | "xsmall">;
|
|
68
68
|
default: string;
|
|
69
69
|
validator(iconSize: IconSizes): boolean;
|
|
70
70
|
};
|
|
71
71
|
}>>, {
|
|
72
72
|
circle: boolean;
|
|
73
73
|
loading: boolean;
|
|
74
|
-
variant: "main" | "
|
|
74
|
+
variant: "main" | "ghost" | "secondary" | "primary" | "admin";
|
|
75
75
|
size: ButtonSizes;
|
|
76
|
-
iconSize: "small" | "
|
|
76
|
+
iconSize: "small" | "xxsmall" | "xsmall";
|
|
77
77
|
}>, {
|
|
78
78
|
default: (_: {}) => any;
|
|
79
79
|
}>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { LEVELS } from '@/types';
|
|
2
2
|
export type HighlightLevels = (typeof LEVELS)[number];
|
|
3
|
-
export declare const HIGHLIGHT_LEVELS: ("
|
|
3
|
+
export declare const HIGHLIGHT_LEVELS: ("error" | "neutral" | "success" | "info" | "warning")[];
|
|
@@ -11,7 +11,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
11
11
|
};
|
|
12
12
|
icon: StringConstructor;
|
|
13
13
|
level: {
|
|
14
|
-
type: PropType<"
|
|
14
|
+
type: PropType<"error" | "neutral" | "success" | "info" | "warning">;
|
|
15
15
|
default: string;
|
|
16
16
|
validator(level: HighlightLevels): boolean;
|
|
17
17
|
};
|
|
@@ -28,14 +28,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
28
28
|
};
|
|
29
29
|
icon: StringConstructor;
|
|
30
30
|
level: {
|
|
31
|
-
type: PropType<"
|
|
31
|
+
type: PropType<"error" | "neutral" | "success" | "info" | "warning">;
|
|
32
32
|
default: string;
|
|
33
33
|
validator(level: HighlightLevels): boolean;
|
|
34
34
|
};
|
|
35
35
|
}>>, {
|
|
36
36
|
accent: boolean;
|
|
37
37
|
displayIcon: boolean;
|
|
38
|
-
level: "
|
|
38
|
+
level: "error" | "neutral" | "success" | "info" | "warning";
|
|
39
39
|
}>, {
|
|
40
40
|
'highlight-title': (_: {}) => any;
|
|
41
41
|
default: (_: {}) => any;
|
|
@@ -22,7 +22,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
22
22
|
};
|
|
23
23
|
id: StringConstructor;
|
|
24
24
|
value: {
|
|
25
|
-
type: (
|
|
25
|
+
type: (ArrayConstructor | StringConstructor)[];
|
|
26
26
|
default: null;
|
|
27
27
|
};
|
|
28
28
|
multiple: {
|
|
@@ -57,7 +57,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
57
57
|
};
|
|
58
58
|
id: StringConstructor;
|
|
59
59
|
value: {
|
|
60
|
-
type: (
|
|
60
|
+
type: (ArrayConstructor | StringConstructor)[];
|
|
61
61
|
default: null;
|
|
62
62
|
};
|
|
63
63
|
multiple: {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
3
|
justify: {
|
|
4
|
-
type: PropType<"
|
|
4
|
+
type: PropType<"flex-end" | "center" | "space-between" | "flex-start">;
|
|
5
5
|
default: string;
|
|
6
6
|
};
|
|
7
7
|
align: {
|
|
8
|
-
type: PropType<"
|
|
8
|
+
type: PropType<"flex-end" | "stretch" | "center" | "flex-start">;
|
|
9
9
|
default: string;
|
|
10
10
|
};
|
|
11
11
|
direction: {
|
|
12
|
-
type: PropType<"
|
|
12
|
+
type: PropType<"column" | "row">;
|
|
13
13
|
default: string;
|
|
14
14
|
};
|
|
15
15
|
wrap: {
|
|
@@ -18,15 +18,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
18
18
|
};
|
|
19
19
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
20
20
|
justify: {
|
|
21
|
-
type: PropType<"
|
|
21
|
+
type: PropType<"flex-end" | "center" | "space-between" | "flex-start">;
|
|
22
22
|
default: string;
|
|
23
23
|
};
|
|
24
24
|
align: {
|
|
25
|
-
type: PropType<"
|
|
25
|
+
type: PropType<"flex-end" | "stretch" | "center" | "flex-start">;
|
|
26
26
|
default: string;
|
|
27
27
|
};
|
|
28
28
|
direction: {
|
|
29
|
-
type: PropType<"
|
|
29
|
+
type: PropType<"column" | "row">;
|
|
30
30
|
default: string;
|
|
31
31
|
};
|
|
32
32
|
wrap: {
|
|
@@ -34,10 +34,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
34
34
|
default: string;
|
|
35
35
|
};
|
|
36
36
|
}>>, {
|
|
37
|
-
direction: "
|
|
37
|
+
direction: "column" | "row";
|
|
38
38
|
wrap: "nowrap" | "wrap";
|
|
39
|
-
justify: "
|
|
40
|
-
align: "
|
|
39
|
+
justify: "flex-end" | "center" | "space-between" | "flex-start";
|
|
40
|
+
align: "flex-end" | "stretch" | "center" | "flex-start";
|
|
41
41
|
}>, {
|
|
42
42
|
default: (_: {}) => any;
|
|
43
43
|
}>;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
export {
|
|
1
|
+
import VJoyButton from '@/components/JoyButton/VJoyButton.vue';
|
|
2
|
+
import VJoyCheckbox from '@/components/JoyCheckbox/VJoyCheckbox.vue';
|
|
3
|
+
import VJoyCounter from '@/components/JoyCounter/VJoyCounter.vue';
|
|
4
|
+
import VJoyFormError from '@/components/JoyFormError/VJoyFormError.vue';
|
|
5
|
+
import VJoyHighlight from '@/components/JoyHighlight/VJoyHighlight.vue';
|
|
6
|
+
import VJoyInput from '@/components/JoyInput/VJoyInput.vue';
|
|
7
|
+
import VJoyLabel from '@/components/JoyLabel/VJoyLabel.vue';
|
|
8
|
+
import VJoyLink from '@/components/JoyLink/VJoyLink.vue';
|
|
9
|
+
import VJoyMultiCheckbox from '@/components/JoyMultiCheckbox/VJoyMultiCheckbox.vue';
|
|
10
|
+
import VJoyPanel from '@/components/JoyPanel/VJoyPanel.vue';
|
|
11
|
+
import VJoyPanelSection from '@/components/JoyPanelSection/VJoyPanelSection.vue';
|
|
12
|
+
import VJoyRadio from '@/components/JoyRadio/VJoyRadio.vue';
|
|
13
|
+
import VJoyRadioGroup from '@/components/JoyRadioGroup/VJoyRadioGroup.vue';
|
|
14
|
+
import VJoySelect from '@/components/JoySelect/VJoySelect.vue';
|
|
15
|
+
import VJoySelectableItem from '@/components/JoySelectableItem/VJoySelectableItem.vue';
|
|
16
|
+
import VJoySelectableItemGroup from '@/components/JoySelectableItemGroup/VJoySelectableItemGroup.vue';
|
|
17
|
+
import VJoySpinner from '@/components/JoySpinner/VJoySpinner.vue';
|
|
18
|
+
import VJoyWrapper from '@/components/JoyWrapper/VJoyWrapper.vue';
|
|
19
|
+
import VJoyTemplate from '@/components/JoyTemplate/VJoyTemplate.vue';
|
|
20
|
+
import VJoyTextarea from '@/components/JoyTextarea/VJoyTextarea.vue';
|
|
21
|
+
import VJoyToggle from '@/components/JoyToggle/VJoyToggle.vue';
|
|
22
|
+
export { VJoyButton, VJoyCheckbox, VJoyCounter, VJoyFormError, VJoyHighlight, VJoyInput, VJoyLabel, VJoyLink, VJoyMultiCheckbox, VJoyPanel, VJoyPanelSection, VJoyRadio, VJoyRadioGroup, VJoySelect, VJoySelectableItem, VJoySelectableItemGroup, VJoySpinner, VJoyTemplate, VJoyTextarea, VJoyToggle, VJoyWrapper, };
|