@maltjoy/core-vue 3.9.2 → 3.9.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.
- package/dist/components/JoyButton/VJoyButton.vue.d.ts +2 -2
- package/dist/components/JoyHighlight/VJoyHighlight.vue.d.ts +3 -3
- package/dist/components/JoyIcon/JoyIcon.types.d.ts +1 -1
- package/dist/components/JoyIcon/VJoyIcon.vue.d.ts +2 -2
- package/dist/components/JoyInput/VJoyInput.vue.d.ts +2 -2
- package/dist/components/JoyLink/VJoyLink.vue.d.ts +2 -2
- package/dist/components/JoyWrapper/VJoyWrapper.vue.d.ts +1 -1
- package/dist/components/components.types.d.ts +20 -0
- package/index.d.ts +1 -0
- package/package.json +3 -3
- package/dist/components/JoySelectableItem/JoySelectableItem.types.d.ts +0 -2
|
@@ -11,7 +11,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
11
11
|
};
|
|
12
12
|
/** Name of the icon, placed before the text */
|
|
13
13
|
icon: {
|
|
14
|
-
type: PropType<import("@maltjoy/icons
|
|
14
|
+
type: PropType<import("@maltjoy/icons").JoyIconsId>;
|
|
15
15
|
};
|
|
16
16
|
/** Left to the text or right */
|
|
17
17
|
iconPosition: {
|
|
@@ -52,7 +52,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
52
52
|
};
|
|
53
53
|
/** Name of the icon, placed before the text */
|
|
54
54
|
icon: {
|
|
55
|
-
type: PropType<import("@maltjoy/icons
|
|
55
|
+
type: PropType<import("@maltjoy/icons").JoyIconsId>;
|
|
56
56
|
};
|
|
57
57
|
/** Left to the text or right */
|
|
58
58
|
iconPosition: {
|
|
@@ -10,7 +10,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
10
10
|
default: boolean;
|
|
11
11
|
};
|
|
12
12
|
icon: {
|
|
13
|
-
type: PropType<import("@maltjoy/icons
|
|
13
|
+
type: PropType<import("@maltjoy/icons").JoyIconsId>;
|
|
14
14
|
};
|
|
15
15
|
level: {
|
|
16
16
|
type: PropType<"info" | "error" | "warning" | "neutral" | "success">;
|
|
@@ -18,7 +18,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
18
18
|
validator(level: HighlightLevels): boolean;
|
|
19
19
|
};
|
|
20
20
|
}, {
|
|
21
|
-
getRelevantIcon: import("vue").ComputedRef<import("@maltjoy/icons
|
|
21
|
+
getRelevantIcon: import("vue").ComputedRef<import("@maltjoy/icons").JoyIconsId>;
|
|
22
22
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
23
23
|
accent: {
|
|
24
24
|
type: BooleanConstructor;
|
|
@@ -29,7 +29,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
29
29
|
default: boolean;
|
|
30
30
|
};
|
|
31
31
|
icon: {
|
|
32
|
-
type: PropType<import("@maltjoy/icons
|
|
32
|
+
type: PropType<import("@maltjoy/icons").JoyIconsId>;
|
|
33
33
|
};
|
|
34
34
|
level: {
|
|
35
35
|
type: PropType<"info" | "error" | "warning" | "neutral" | "success">;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { JoyIconsId } from '@maltjoy/icons
|
|
1
|
+
import type { JoyIconsId } from '@maltjoy/icons';
|
|
2
2
|
export declare const JOY_ICONS_COLORS: readonly [...("info" | "error" | "warning" | "neutral" | "success")[], "primary", "secondary", "tertiary", "quaternary", "brand-primary", "brand-secondary", "white"];
|
|
3
3
|
export type JoyIconsColors = (typeof JOY_ICONS_COLORS)[number];
|
|
4
4
|
export declare const JOY_ICONS_SIZES: readonly ["xlarge", "large", "medium", "small", "xsmall", "xxsmall"];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<{
|
|
3
3
|
name: {
|
|
4
|
-
type: PropType<import("@maltjoy/icons
|
|
4
|
+
type: PropType<import("@maltjoy/icons").JoyIconsId>;
|
|
5
5
|
required: true;
|
|
6
6
|
};
|
|
7
7
|
color: {
|
|
@@ -14,7 +14,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
14
14
|
};
|
|
15
15
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
16
16
|
name: {
|
|
17
|
-
type: PropType<import("@maltjoy/icons
|
|
17
|
+
type: PropType<import("@maltjoy/icons").JoyIconsId>;
|
|
18
18
|
required: true;
|
|
19
19
|
};
|
|
20
20
|
color: {
|
|
@@ -44,7 +44,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
44
44
|
};
|
|
45
45
|
/** Add a JoyIcon / joy-icon with given name on left-side. */
|
|
46
46
|
icon: {
|
|
47
|
-
type: PropType<import("@maltjoy/icons
|
|
47
|
+
type: PropType<import("@maltjoy/icons").JoyIconsId>;
|
|
48
48
|
};
|
|
49
49
|
size: {
|
|
50
50
|
type: PropType<InputSizes>;
|
|
@@ -101,7 +101,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
101
101
|
};
|
|
102
102
|
/** Add a JoyIcon / joy-icon with given name on left-side. */
|
|
103
103
|
icon: {
|
|
104
|
-
type: PropType<import("@maltjoy/icons
|
|
104
|
+
type: PropType<import("@maltjoy/icons").JoyIconsId>;
|
|
105
105
|
};
|
|
106
106
|
size: {
|
|
107
107
|
type: PropType<InputSizes>;
|
|
@@ -10,7 +10,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
10
10
|
default: string;
|
|
11
11
|
validator(color: LinkColors): boolean;
|
|
12
12
|
};
|
|
13
|
-
icon: PropType<import("@maltjoy/icons
|
|
13
|
+
icon: PropType<import("@maltjoy/icons").JoyIconsId>;
|
|
14
14
|
text: PropType<string | null>;
|
|
15
15
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
16
16
|
href: {
|
|
@@ -22,7 +22,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
22
22
|
default: string;
|
|
23
23
|
validator(color: LinkColors): boolean;
|
|
24
24
|
};
|
|
25
|
-
icon: PropType<import("@maltjoy/icons
|
|
25
|
+
icon: PropType<import("@maltjoy/icons").JoyIconsId>;
|
|
26
26
|
text: PropType<string | null>;
|
|
27
27
|
}>>, {
|
|
28
28
|
color: "teal" | "white";
|
|
@@ -60,10 +60,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
60
60
|
default: boolean;
|
|
61
61
|
};
|
|
62
62
|
}>>, {
|
|
63
|
+
wrap: "nowrap" | "wrap";
|
|
63
64
|
align: "flex-end" | "stretch" | "center" | "flex-start";
|
|
64
65
|
direction: "column" | "row";
|
|
65
66
|
justify: "flex-end" | "center" | "space-between" | "flex-start";
|
|
66
|
-
wrap: "nowrap" | "wrap";
|
|
67
67
|
itemStretch: boolean;
|
|
68
68
|
noMargin: boolean;
|
|
69
69
|
}, {}>, {
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export * from './JoyBadge/JoyBadge.types';
|
|
2
|
+
export * from './JoyButton/JoyButton.types';
|
|
3
|
+
export * from './JoyDropdown/JoyDropdown.types';
|
|
4
|
+
export * from './JoyDropdownList/JoyDropdownList.types';
|
|
5
|
+
export * from './JoyHighlight/JoyHighlight.types';
|
|
6
|
+
export * from './JoyHighlight/JoyHighlight.types';
|
|
7
|
+
export * from './JoyIcon/JoyIcon.types';
|
|
8
|
+
export * from './JoyInput/JoyInput.types';
|
|
9
|
+
export * from './JoyLabel/JoyLabel.types';
|
|
10
|
+
export * from './JoyLink/JoyLink.types';
|
|
11
|
+
export * from './JoyLink/JoyLink.types';
|
|
12
|
+
export * from './JoyPanel/JoyPanel.types';
|
|
13
|
+
export * from './JoyRadio/JoyRadio.types';
|
|
14
|
+
export * from './JoyRadioGroup/JoyRadioGroup.types';
|
|
15
|
+
export * from './JoyScreenLoader/VJoyScreenLoader.types';
|
|
16
|
+
export * from './JoySelect/JoySelect.types';
|
|
17
|
+
export * from './JoySpinner/JoySpinner.types';
|
|
18
|
+
export * from './JoyTemplate/JoyTemplate.types';
|
|
19
|
+
export * from './JoyTemplate/JoyTemplate.types';
|
|
20
|
+
export * from './JoyWrapper/JoyWrapper.types';
|
package/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maltjoy/core-vue",
|
|
3
|
-
"version": "3.9.
|
|
3
|
+
"version": "3.9.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"./dist/style.css": "./dist/style.css"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@maltjoy/icons": "3.9.
|
|
22
|
-
"@maltjoy/themes": "3.9.
|
|
21
|
+
"@maltjoy/icons": "3.9.3",
|
|
22
|
+
"@maltjoy/themes": "3.9.3",
|
|
23
23
|
"@vueuse/components": "^9.13.0",
|
|
24
24
|
"@vueuse/core": "^9.13.0",
|
|
25
25
|
"vue": "3.3.4"
|