@maltjoy/core-vue 3.27.0 → 3.27.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/dist/components/JoyAvailability/JoyAvailability.types.d.ts +1 -2
- package/dist/components/JoyAvailability/VJoyAvailability.vue.d.ts +4 -3
- package/dist/components/JoyAvatar/JoyAvatar.types.d.ts +4 -6
- package/dist/components/JoyAvatar/VJoyAvatar.vue.d.ts +3 -3
- package/dist/components/JoyAvatarsList/VJoyAvatarsList.vue.d.ts +14 -4
- package/dist/components/JoyBadge/JoyBadge.types.d.ts +1 -2
- package/dist/components/JoyBadge/VJoyBadge.vue.d.ts +14 -8
- package/dist/components/JoyBadgeLevel/VJoyBadgeLevel.vue.d.ts +8 -4
- package/dist/components/JoyBlockSkeleton/VJoyBlockSkeleton.vue.d.ts +2 -0
- package/dist/components/JoyBottomSheet/VJoyBottomSheet.vue.d.ts +20 -7
- package/dist/components/JoyBottomSheetTrigger/VJoyBottomSheetTrigger.vue.d.ts +12 -6
- package/dist/components/JoyButton/JoyButton.types.d.ts +4 -20
- package/dist/components/JoyButton/VJoyButton.vue.d.ts +13 -13
- package/dist/components/JoyCheckbox/VJoyCheckbox.vue.d.ts +10 -3
- package/dist/components/JoyCollapse/VJoyCollapse.vue.d.ts +10 -4
- package/dist/components/JoyCollapseItem/VJoyCollapseItem.vue.d.ts +12 -4
- package/dist/components/JoyCompanyAvatar/JoyCompanyAvatar.types.d.ts +2 -3
- package/dist/components/JoyCompanyAvatar/VJoyCompanyAvatar.vue.d.ts +6 -0
- package/dist/components/JoyCounter/VJoyCounter.vue.d.ts +11 -6
- package/dist/components/JoyDialog/JoyDialog.types.d.ts +2 -3
- package/dist/components/JoyDialog/VJoyDialog.vue.d.ts +30 -8
- package/dist/components/JoyDialogTrigger/VJoyDialogTrigger.vue.d.ts +56 -20
- package/dist/components/JoyDividerCta/VJoyDividerCta.vue.d.ts +10 -3
- package/dist/components/JoyDrawer/JoyDrawer.types.d.ts +1 -2
- package/dist/components/JoyDrawer/VJoyDrawer.vue.d.ts +32 -12
- package/dist/components/JoyDrawerTrigger/VJoyDrawerTrigger.vue.d.ts +64 -30
- package/dist/components/JoyDropdown/JoyDropdown.types.d.ts +3 -4
- package/dist/components/JoyDropdown/VJoyDropdown.vue.d.ts +29 -22
- package/dist/components/JoyDropdownList/JoyDropdownList.types.d.ts +2 -3
- package/dist/components/JoyDropdownList/VJoyDropdownList.vue.d.ts +22 -21
- package/dist/components/JoyFilterBar/VJoyFilterBar.vue.d.ts +8 -2
- package/dist/components/JoyFilterBarButton/VJoyFilterBarButton.vue.d.ts +10 -2
- package/dist/components/JoyFormError/VJoyFormError.vue.d.ts +6 -2
- package/dist/components/JoyFunnel/JoyFunnel.types.d.ts +2 -4
- package/dist/components/JoyFunnel/VJoyFunnel.vue.d.ts +8 -0
- package/dist/components/JoyHighlight/JoyHighlight.types.d.ts +2 -4
- package/dist/components/JoyHighlight/VJoyHighlight.vue.d.ts +21 -9
- package/dist/components/JoyIcon/JoyIcon.types.d.ts +3 -4
- package/dist/components/JoyIcon/VJoyIcon.vue.d.ts +9 -6
- package/dist/components/JoyIndicator/VJoyIndicator.vue.d.ts +4 -3
- package/dist/components/JoyIndicators/JoyIndicators.types.d.ts +1 -2
- package/dist/components/JoyIndicators/VJoyIndicators.vue.d.ts +9 -6
- package/dist/components/JoyInput/JoyInput.types.d.ts +2 -3
- package/dist/components/JoyInput/VJoyInput.vue.d.ts +10 -7
- package/dist/components/JoyLabel/JoyLabel.types.d.ts +2 -3
- package/dist/components/JoyLabel/VJoyLabel.vue.d.ts +10 -7
- package/dist/components/JoyLink/JoyLink.types.d.ts +1 -2
- package/dist/components/JoyLink/VJoyLink.vue.d.ts +8 -7
- package/dist/components/JoyMenu/VJoyMenu.vue.d.ts +6 -10
- package/dist/components/JoyMultiCheckbox/VJoyMultiCheckbox.vue.d.ts +16 -19
- package/dist/components/JoyPagination/VJoyPagination.vue.d.ts +14 -6
- package/dist/components/JoyPanel/JoyPanel.types.d.ts +3 -5
- package/dist/components/JoyPanel/VJoyPanel.vue.d.ts +30 -14
- package/dist/components/JoyProgressBar/JoyProgressBar.types.d.ts +2 -3
- package/dist/components/JoyProgressBar/VJoyProgressBar.vue.d.ts +5 -3
- package/dist/components/JoyRadio/JoyRadio.types.d.ts +1 -2
- package/dist/components/JoyRadio/VJoyRadio.vue.d.ts +20 -7
- package/dist/components/JoyRadioGroup/JoyRadioGroup.types.d.ts +1 -2
- package/dist/components/JoyRadioGroup/VJoyRadioGroup.vue.d.ts +14 -6
- package/dist/components/JoyRatingStars/JoyRatingStars.types.d.ts +2 -3
- package/dist/components/JoyRatingStars/VJoyRatingStars.vue.d.ts +10 -2
- package/dist/components/JoyScreenLoader/VJoyScreenLoader.types.d.ts +1 -2
- package/dist/components/JoyScreenLoader/VJoyScreenLoader.vue.d.ts +14 -6
- package/dist/components/JoySelect/JoySelect.types.d.ts +2 -3
- package/dist/components/JoySelect/VJoySelect.vue.d.ts +9 -4
- package/dist/components/JoySelectableItemGroup/VJoySelectableItemGroup.vue.d.ts +10 -65
- package/dist/components/JoySeparator/JoySeparator.types.d.ts +2 -3
- package/dist/components/JoySnackbar/JoySnackbar.types.d.ts +2 -3
- package/dist/components/JoySnackbar/VJoySnackbar.vue.d.ts +6 -2
- package/dist/components/JoySnackbar/index.d.ts +1 -1
- package/dist/components/JoySpinner/JoySpinner.types.d.ts +1 -2
- package/dist/components/JoySpinner/VJoySpinner.vue.d.ts +2 -4
- package/dist/components/JoyStep/VJoyStep.vue.d.ts +14 -2
- package/dist/components/JoyStepper/VJoyStepper.vue.d.ts +10 -2
- package/dist/components/JoyTabs/VJoyTabs.vue.d.ts +2 -0
- package/dist/components/JoyTag/JoyTag.types.d.ts +3 -5
- package/dist/components/JoyTag/VJoyTag.vue.d.ts +13 -3
- package/dist/components/JoyTagsInput/VJoyTagsInput.vue.d.ts +34 -19
- package/dist/components/JoyTagsList/JoyTagsList.types.d.ts +1 -2
- package/dist/components/JoyTagsList/VJoyTagsList.vue.d.ts +9 -9
- package/dist/components/JoyTemplate/JoyTemplate.types.d.ts +1 -2
- package/dist/components/JoyTemplate/VJoyTemplate.vue.d.ts +67 -15
- package/dist/components/JoyText/VJoyText.vue.d.ts +6 -2
- package/dist/components/JoyTextarea/VJoyTextarea.vue.d.ts +6 -5
- package/dist/components/JoyToggle/VJoyToggle.vue.d.ts +6 -2
- package/dist/components/JoyTooltip/JoyTooltip.types.d.ts +0 -1
- package/dist/components/JoyUserCard/VJoyUserCard.vue.d.ts +20 -6
- package/dist/components/JoyWrapper/JoyWrapper.types.d.ts +5 -10
- package/dist/components/JoyWrapper/VJoyWrapper.vue.d.ts +19 -18
- package/dist/components/main.d.ts +1 -1
- package/dist/helpers/index.d.ts +2 -2
- package/dist/joy-vue.js +2086 -2152
- package/dist/joy-vue.umd.cjs +4 -4
- package/dist/style.css +1 -1
- package/dist/types/index.d.ts +7 -10
- package/package.json +20 -24
|
@@ -1,23 +1,24 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
+
import { TJoyWrapperAlign, TJoyWrapperDirection, TJoyWrapperGap, TJoyWrapperJustify, TJoyWrapperWrap } from './JoyWrapper.types';
|
|
2
3
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
4
|
/** Horizontal spread. Refers to CSS flex justify-content. */
|
|
4
5
|
justify: {
|
|
5
|
-
type: PropType<
|
|
6
|
+
type: PropType<TJoyWrapperJustify>;
|
|
6
7
|
default: string;
|
|
7
8
|
};
|
|
8
9
|
/** Vertical spread. Refers to CSS flex align-items. */
|
|
9
10
|
align: {
|
|
10
|
-
type: PropType<
|
|
11
|
+
type: PropType<TJoyWrapperAlign>;
|
|
11
12
|
default: string;
|
|
12
13
|
};
|
|
13
14
|
/** Vertical flex, or horizontal. Refers to CSS flex-direction */
|
|
14
15
|
direction: {
|
|
15
|
-
type: PropType<
|
|
16
|
+
type: PropType<TJoyWrapperDirection>;
|
|
16
17
|
default: string;
|
|
17
18
|
};
|
|
18
19
|
/** Automatically sets new line if there are not enough horizontal space. Refers to CSS flex-wrap */
|
|
19
20
|
wrap: {
|
|
20
|
-
type: PropType<
|
|
21
|
+
type: PropType<TJoyWrapperWrap>;
|
|
21
22
|
default: string;
|
|
22
23
|
};
|
|
23
24
|
/** Applies a flex-grow to children in order to stretch them all along horizontal space */
|
|
@@ -31,33 +32,33 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
31
32
|
};
|
|
32
33
|
/** Gap between the columns. Refers to CSS column-gap. Value is based on spacing tokens. */
|
|
33
34
|
columnGap: {
|
|
34
|
-
type: PropType<
|
|
35
|
+
type: PropType<TJoyWrapperGap>;
|
|
35
36
|
default: string;
|
|
36
37
|
};
|
|
37
38
|
/** Gap between the rows. Refers to CSS row-gap. Value is based on spacing tokens. */
|
|
38
39
|
rowGap: {
|
|
39
|
-
type: PropType<
|
|
40
|
+
type: PropType<TJoyWrapperGap>;
|
|
40
41
|
default: string;
|
|
41
42
|
};
|
|
42
43
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
43
44
|
/** Horizontal spread. Refers to CSS flex justify-content. */
|
|
44
45
|
justify: {
|
|
45
|
-
type: PropType<
|
|
46
|
+
type: PropType<TJoyWrapperJustify>;
|
|
46
47
|
default: string;
|
|
47
48
|
};
|
|
48
49
|
/** Vertical spread. Refers to CSS flex align-items. */
|
|
49
50
|
align: {
|
|
50
|
-
type: PropType<
|
|
51
|
+
type: PropType<TJoyWrapperAlign>;
|
|
51
52
|
default: string;
|
|
52
53
|
};
|
|
53
54
|
/** Vertical flex, or horizontal. Refers to CSS flex-direction */
|
|
54
55
|
direction: {
|
|
55
|
-
type: PropType<
|
|
56
|
+
type: PropType<TJoyWrapperDirection>;
|
|
56
57
|
default: string;
|
|
57
58
|
};
|
|
58
59
|
/** Automatically sets new line if there are not enough horizontal space. Refers to CSS flex-wrap */
|
|
59
60
|
wrap: {
|
|
60
|
-
type: PropType<
|
|
61
|
+
type: PropType<TJoyWrapperWrap>;
|
|
61
62
|
default: string;
|
|
62
63
|
};
|
|
63
64
|
/** Applies a flex-grow to children in order to stretch them all along horizontal space */
|
|
@@ -71,23 +72,23 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
71
72
|
};
|
|
72
73
|
/** Gap between the columns. Refers to CSS column-gap. Value is based on spacing tokens. */
|
|
73
74
|
columnGap: {
|
|
74
|
-
type: PropType<
|
|
75
|
+
type: PropType<TJoyWrapperGap>;
|
|
75
76
|
default: string;
|
|
76
77
|
};
|
|
77
78
|
/** Gap between the rows. Refers to CSS row-gap. Value is based on spacing tokens. */
|
|
78
79
|
rowGap: {
|
|
79
|
-
type: PropType<
|
|
80
|
+
type: PropType<TJoyWrapperGap>;
|
|
80
81
|
default: string;
|
|
81
82
|
};
|
|
82
83
|
}>>, {
|
|
83
|
-
wrap:
|
|
84
|
-
justify:
|
|
85
|
-
align:
|
|
86
|
-
direction:
|
|
84
|
+
wrap: TJoyWrapperWrap;
|
|
85
|
+
justify: TJoyWrapperJustify;
|
|
86
|
+
align: TJoyWrapperAlign;
|
|
87
|
+
direction: TJoyWrapperDirection;
|
|
87
88
|
itemStretch: boolean;
|
|
88
89
|
noMargin: boolean;
|
|
89
|
-
columnGap:
|
|
90
|
-
rowGap:
|
|
90
|
+
columnGap: TJoyWrapperGap;
|
|
91
|
+
rowGap: TJoyWrapperGap;
|
|
91
92
|
}, {}>, {
|
|
92
93
|
default?(_: {}): any;
|
|
93
94
|
}>;
|
package/dist/helpers/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { TJoyIconsNames } from '@/components/JoyIcon/JoyIcon.types';
|
|
2
2
|
import { Ref } from 'vue';
|
|
3
|
-
import {
|
|
3
|
+
import { TLevels } from '../types';
|
|
4
4
|
/**
|
|
5
5
|
* Check if you are working on dev environment. Based on `getMode` util that returns import.meta.env.MODE,
|
|
6
6
|
*/
|
|
7
7
|
export declare const isDevMode: boolean;
|
|
8
|
-
export declare function iconLevel(level:
|
|
8
|
+
export declare function iconLevel(level: TLevels): TJoyIconsNames;
|
|
9
9
|
export declare function focusOnFirstFocusableFormField(root: Ref): any;
|
|
10
10
|
export declare const generateRandomId: (length?: number) => string;
|
|
11
11
|
/**
|