@maltjoy/core-vue 3.16.2 → 3.17.0
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/JoyDropdown/VJoyDropdown.vue.d.ts +4 -6
- package/dist/components/JoyDropdownList/VJoyDropdownList.vue.d.ts +4 -6
- package/dist/components/JoyIndicator/VJoyIndicator.vue.d.ts +44 -0
- package/dist/components/JoyIndicators/JoyIndicators.types.d.ts +2 -0
- package/dist/components/JoyIndicators/VJoyIndicators.vue.d.ts +70 -0
- package/dist/components/JoyMenu/JoyMenu.types.d.ts +0 -1
- package/dist/components/JoyMenu/VJoyMenu.vue.d.ts +0 -1
- package/dist/components/JoyPanel/VJoyPanel.vue.d.ts +3 -3
- package/dist/components/JoyScreenLoader/VJoyScreenLoader.vue.d.ts +3 -3
- package/dist/components/JoyStep/TJoyStep.types.d.ts +1 -0
- package/dist/components/JoyStep/VJoyStep.vue.d.ts +65 -0
- package/dist/components/JoyStepper/VJoyStepper.vue.d.ts +221 -0
- package/dist/components/JoyTag/VJoyTag.vue.d.ts +3 -0
- package/dist/components/JoyTemplate/VJoyTemplate.vue.d.ts +3 -3
- package/dist/components/JoyText/JoyText.types.d.ts +3 -0
- package/dist/components/JoyText/VJoyText.vue.d.ts +36 -0
- package/dist/components/JoyTooltip/JoyTooltip.types.d.ts +3 -0
- package/dist/components/JoyTooltip/VJoyTooltip.vue.d.ts +91 -0
- package/dist/components/JoyUserCard/VJoyUserCard.vue.d.ts +57 -0
- package/dist/components/components.types.d.ts +3 -1
- package/dist/components/index.d.ts +10 -3
- package/dist/joy-vue.js +2875 -1516
- package/dist/joy-vue.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/dist/types/index.d.ts +6 -0
- package/joy-components.d.ts +7 -0
- package/package.json +10 -7
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { TJoyTextFontPreset } from './JoyText.types';
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
4
|
+
/** Defines the tag name of the Node you want to create. By default it's a simple P tag. Lowercase only */
|
|
5
|
+
tagName: {
|
|
6
|
+
type: PropType<number | typeof Symbol.iterator | "length" | "concat" | "slice" | "indexOf" | "lastIndexOf" | "includes" | "at" | "toString" | "link" | "small" | "sub" | "sup" | "search" | "anchor" | "charAt" | "charCodeAt" | "localeCompare" | "match" | "replace" | "split" | "substring" | "toLowerCase" | "toLocaleLowerCase" | "toUpperCase" | "toLocaleUpperCase" | "trim" | "substr" | "codePointAt" | "endsWith" | "normalize" | "repeat" | "startsWith" | "big" | "blink" | "bold" | "fixed" | "fontcolor" | "fontsize" | "italics" | "strike" | "padStart" | "padEnd" | "trimEnd" | "trimStart" | "trimLeft" | "trimRight" | "matchAll" | "replaceAll" | "valueOf">;
|
|
7
|
+
default: string;
|
|
8
|
+
};
|
|
9
|
+
/** Choose a pre-configured set of CSS rules : font-family, font-size, line-height, font-weight. */
|
|
10
|
+
preset: {
|
|
11
|
+
type: PropType<TJoyTextFontPreset>;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
|
+
/** Defines the tag name of the Node you want to create. By default it's a simple P tag. Lowercase only */
|
|
16
|
+
tagName: {
|
|
17
|
+
type: PropType<number | typeof Symbol.iterator | "length" | "concat" | "slice" | "indexOf" | "lastIndexOf" | "includes" | "at" | "toString" | "link" | "small" | "sub" | "sup" | "search" | "anchor" | "charAt" | "charCodeAt" | "localeCompare" | "match" | "replace" | "split" | "substring" | "toLowerCase" | "toLocaleLowerCase" | "toUpperCase" | "toLocaleUpperCase" | "trim" | "substr" | "codePointAt" | "endsWith" | "normalize" | "repeat" | "startsWith" | "big" | "blink" | "bold" | "fixed" | "fontcolor" | "fontsize" | "italics" | "strike" | "padStart" | "padEnd" | "trimEnd" | "trimStart" | "trimLeft" | "trimRight" | "matchAll" | "replaceAll" | "valueOf">;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
/** Choose a pre-configured set of CSS rules : font-family, font-size, line-height, font-weight. */
|
|
21
|
+
preset: {
|
|
22
|
+
type: PropType<TJoyTextFontPreset>;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
}>>, {
|
|
26
|
+
tagName: number | typeof Symbol.iterator | "length" | "concat" | "slice" | "indexOf" | "lastIndexOf" | "includes" | "at" | "toString" | "link" | "small" | "sub" | "sup" | "search" | "anchor" | "charAt" | "charCodeAt" | "localeCompare" | "match" | "replace" | "split" | "substring" | "toLowerCase" | "toLocaleLowerCase" | "toUpperCase" | "toLocaleUpperCase" | "trim" | "substr" | "codePointAt" | "endsWith" | "normalize" | "repeat" | "startsWith" | "big" | "blink" | "bold" | "fixed" | "fontcolor" | "fontsize" | "italics" | "strike" | "padStart" | "padEnd" | "trimEnd" | "trimStart" | "trimLeft" | "trimRight" | "matchAll" | "replaceAll" | "valueOf";
|
|
27
|
+
preset: TJoyTextFontPreset;
|
|
28
|
+
}, {}>, {
|
|
29
|
+
default?(_: {}): any;
|
|
30
|
+
}>;
|
|
31
|
+
export default _default;
|
|
32
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
33
|
+
new (): {
|
|
34
|
+
$slots: S;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { Placement } from '@floating-ui/vue';
|
|
3
|
+
import { TJoyTooltipVariants } from './JoyTooltip.types';
|
|
4
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
5
|
+
/** If you are 100% sure the content you want to inject does not contain anything that could lead to any XSS, use this */
|
|
6
|
+
text: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
};
|
|
9
|
+
variant: {
|
|
10
|
+
type: PropType<TJoyTooltipVariants>;
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
13
|
+
/** It will automatically switch to another placement if there is not enough space. Please see https://floating-ui.com/docs/tutorial#placements for available values */
|
|
14
|
+
placement: {
|
|
15
|
+
type: PropType<import("@floating-ui/vue").MaybeReadonlyRef<Placement | undefined>>;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
/** Mouseenter (default) or click */
|
|
19
|
+
event: {
|
|
20
|
+
type: PropType<"click" | "mouseenter">;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
/** By default the tooltip is shown after a certain delay to make the experience smoother. You can change the value (in ms) */
|
|
24
|
+
delay: {
|
|
25
|
+
type: NumberConstructor;
|
|
26
|
+
default: number;
|
|
27
|
+
};
|
|
28
|
+
/** Mostly for visual testing purpose */
|
|
29
|
+
show: {
|
|
30
|
+
type: BooleanConstructor;
|
|
31
|
+
default: boolean;
|
|
32
|
+
};
|
|
33
|
+
/** Maw-width for the generated tooltip. */
|
|
34
|
+
tooltipWidth: {
|
|
35
|
+
type: NumberConstructor;
|
|
36
|
+
default: number;
|
|
37
|
+
};
|
|
38
|
+
}, {
|
|
39
|
+
tooltipVisible: import("vue").Ref<boolean>;
|
|
40
|
+
tooltip: import("vue").Ref<HTMLElement | null>;
|
|
41
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
42
|
+
/** If you are 100% sure the content you want to inject does not contain anything that could lead to any XSS, use this */
|
|
43
|
+
text: {
|
|
44
|
+
type: StringConstructor;
|
|
45
|
+
};
|
|
46
|
+
variant: {
|
|
47
|
+
type: PropType<TJoyTooltipVariants>;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
|
+
/** It will automatically switch to another placement if there is not enough space. Please see https://floating-ui.com/docs/tutorial#placements for available values */
|
|
51
|
+
placement: {
|
|
52
|
+
type: PropType<import("@floating-ui/vue").MaybeReadonlyRef<Placement | undefined>>;
|
|
53
|
+
default: string;
|
|
54
|
+
};
|
|
55
|
+
/** Mouseenter (default) or click */
|
|
56
|
+
event: {
|
|
57
|
+
type: PropType<"click" | "mouseenter">;
|
|
58
|
+
default: string;
|
|
59
|
+
};
|
|
60
|
+
/** By default the tooltip is shown after a certain delay to make the experience smoother. You can change the value (in ms) */
|
|
61
|
+
delay: {
|
|
62
|
+
type: NumberConstructor;
|
|
63
|
+
default: number;
|
|
64
|
+
};
|
|
65
|
+
/** Mostly for visual testing purpose */
|
|
66
|
+
show: {
|
|
67
|
+
type: BooleanConstructor;
|
|
68
|
+
default: boolean;
|
|
69
|
+
};
|
|
70
|
+
/** Maw-width for the generated tooltip. */
|
|
71
|
+
tooltipWidth: {
|
|
72
|
+
type: NumberConstructor;
|
|
73
|
+
default: number;
|
|
74
|
+
};
|
|
75
|
+
}>>, {
|
|
76
|
+
variant: TJoyTooltipVariants;
|
|
77
|
+
placement: import("@floating-ui/vue").MaybeReadonlyRef<Placement | undefined>;
|
|
78
|
+
event: "click" | "mouseenter";
|
|
79
|
+
delay: number;
|
|
80
|
+
show: boolean;
|
|
81
|
+
tooltipWidth: number;
|
|
82
|
+
}, {}>, Readonly<{
|
|
83
|
+
default: () => void;
|
|
84
|
+
'tooltip-content': () => void;
|
|
85
|
+
}>>;
|
|
86
|
+
export default _default;
|
|
87
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
88
|
+
new (): {
|
|
89
|
+
$slots: S;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
+
/**
|
|
3
|
+
* Giving a link will make the whole component wrapped by an hyperlink
|
|
4
|
+
*/
|
|
5
|
+
link: {
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Use this prop if you don't want to use the user-card-avatar slot.
|
|
10
|
+
*/
|
|
11
|
+
photoUrl: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
};
|
|
14
|
+
fullName: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
};
|
|
17
|
+
subTitle: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
};
|
|
20
|
+
ratingValue: {
|
|
21
|
+
type: NumberConstructor;
|
|
22
|
+
};
|
|
23
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
24
|
+
/**
|
|
25
|
+
* Giving a link will make the whole component wrapped by an hyperlink
|
|
26
|
+
*/
|
|
27
|
+
link: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Use this prop if you don't want to use the user-card-avatar slot.
|
|
32
|
+
*/
|
|
33
|
+
photoUrl: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
};
|
|
36
|
+
fullName: {
|
|
37
|
+
type: StringConstructor;
|
|
38
|
+
};
|
|
39
|
+
subTitle: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
};
|
|
42
|
+
ratingValue: {
|
|
43
|
+
type: NumberConstructor;
|
|
44
|
+
};
|
|
45
|
+
}>>, {}, {}>, {
|
|
46
|
+
"user-card-avatar"?(_: {}): any;
|
|
47
|
+
"user-card-title"?(_: {}): any;
|
|
48
|
+
"user-card-subtitle"?(_: {}): any;
|
|
49
|
+
"user-card-rating-stars"?(_: {}): any;
|
|
50
|
+
default?(_: {}): any;
|
|
51
|
+
}>;
|
|
52
|
+
export default _default;
|
|
53
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
54
|
+
new (): {
|
|
55
|
+
$slots: S;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
@@ -10,6 +10,7 @@ export * from './JoyFunnel/JoyFunnel.types';
|
|
|
10
10
|
export * from './JoyHighlight/JoyHighlight.types';
|
|
11
11
|
export * from './JoyHighlight/JoyHighlight.types';
|
|
12
12
|
export * from './JoyIcon/JoyIcon.types';
|
|
13
|
+
export * from './JoyIndicators/JoyIndicators.types';
|
|
13
14
|
export * from './JoyInput/JoyInput.types';
|
|
14
15
|
export * from './JoyLabel/JoyLabel.types';
|
|
15
16
|
export * from './JoyLink/JoyLink.types';
|
|
@@ -26,5 +27,6 @@ export * from './JoySpinner/JoySpinner.types';
|
|
|
26
27
|
export * from './JoyTag/JoyTag.types';
|
|
27
28
|
export * from './JoyTagsList/JoyTagsList.types';
|
|
28
29
|
export * from './JoyTemplate/JoyTemplate.types';
|
|
29
|
-
export * from './
|
|
30
|
+
export * from './JoyText/JoyText.types';
|
|
31
|
+
export * from './JoyTooltip/JoyTooltip.types';
|
|
30
32
|
export * from './JoyWrapper/JoyWrapper.types';
|
|
@@ -12,13 +12,15 @@ import VJoyDropdown from '@/components/JoyDropdown/VJoyDropdown.vue';
|
|
|
12
12
|
import VJoyDropdownList from '@/components/JoyDropdownList/VJoyDropdownList.vue';
|
|
13
13
|
import VJoyFilterBar from '@/components/JoyFilterBar/VJoyFilterBar.vue';
|
|
14
14
|
import VJoyFilterBarButton from '@/components/JoyFilterBarButton/VJoyFilterBarButton.vue';
|
|
15
|
+
import VJoyFooter from '@/components/JoyFooter/VJoyFooter.vue';
|
|
15
16
|
import VJoyFormError from '@/components/JoyFormError/VJoyFormError.vue';
|
|
16
17
|
import VJoyFormFieldSkeleton from '@/components/JoyFormFieldSkeleton/VJoyFormFieldSkeleton.vue';
|
|
17
|
-
import VJoyFooter from '@/components/JoyFooter/VJoyFooter.vue';
|
|
18
18
|
import VJoyFunnel from '@/components/JoyFunnel/VJoyFunnel.vue';
|
|
19
19
|
import VJoyHeader from '@/components/JoyHeader/VJoyHeader.vue';
|
|
20
20
|
import VJoyHighlight from '@/components/JoyHighlight/VJoyHighlight.vue';
|
|
21
21
|
import VJoyIcon from '@/components/JoyIcon/VJoyIcon.vue';
|
|
22
|
+
import VJoyIndicator from '@/components/JoyIndicator/VJoyIndicator.vue';
|
|
23
|
+
import VJoyIndicators from '@/components/JoyIndicators/VJoyIndicators.vue';
|
|
22
24
|
import VJoyInput from '@/components/JoyInput/VJoyInput.vue';
|
|
23
25
|
import VJoyLabel from '@/components/JoyLabel/VJoyLabel.vue';
|
|
24
26
|
import VJoyLink from '@/components/JoyLink/VJoyLink.vue';
|
|
@@ -37,13 +39,18 @@ import VJoySelectableItem from '@/components/JoySelectableItem/VJoySelectableIte
|
|
|
37
39
|
import VJoySelectableItemGroup from '@/components/JoySelectableItemGroup/VJoySelectableItemGroup.vue';
|
|
38
40
|
import VJoySeparator from '@/components/JoySeparator/VJoySeparator.vue';
|
|
39
41
|
import VJoySpinner from '@/components/JoySpinner/VJoySpinner.vue';
|
|
40
|
-
import
|
|
42
|
+
import VJoyStep from '@/components/JoyStep/VJoyStep.vue';
|
|
43
|
+
import VJoyStepper from '@/components/JoyStepper/VJoyStepper.vue';
|
|
41
44
|
import VJoyTab from '@/components/JoyTab/VJoyTab.vue';
|
|
45
|
+
import VJoyTabs from '@/components/JoyTabs/VJoyTabs.vue';
|
|
42
46
|
import VJoyTag from '@/components/JoyTag/VJoyTag.vue';
|
|
43
47
|
import VJoyTagsList from '@/components/JoyTagsList/VJoyTagsList.vue';
|
|
44
48
|
import VJoyTemplate from '@/components/JoyTemplate/VJoyTemplate.vue';
|
|
45
49
|
import VJoyTemplateShape from '@/components/JoyTemplateShape/VJoyTemplateShape.vue';
|
|
50
|
+
import VJoyText from '@/components/JoyText/VJoyText.vue';
|
|
46
51
|
import VJoyTextarea from '@/components/JoyTextarea/VJoyTextarea.vue';
|
|
47
52
|
import VJoyToggle from '@/components/JoyToggle/VJoyToggle.vue';
|
|
53
|
+
import VJoyTooltip from '@/components/JoyTooltip/VJoyTooltip.vue';
|
|
54
|
+
import VJoyUserCard from '@/components/JoyUserCard/VJoyUserCard.vue';
|
|
48
55
|
import VJoyWrapper from '@/components/JoyWrapper/VJoyWrapper.vue';
|
|
49
|
-
export { VJoyAvailability, VJoyAvatar, VJoyAvatarsList, VJoyBadge, VJoyBadgeLevel, VJoyButton, VJoyCheckbox, VJoyCompanyAvatar, VJoyCounter, VJoyDividerCta, VJoyDropdown, VJoyDropdownList, VJoyFilterBar, VJoyFilterBarButton, VJoyFooter, VJoyFormError, VJoyFormFieldSkeleton, VJoyFunnel, VJoyHeader, VJoyHighlight, VJoyIcon, VJoyInput, VJoyLabel, VJoyLink, VJoyMenu, VJoyMultiCheckbox, VJoyPagination, VJoyPanel, VJoyPanelSection, VJoyProgressBar, VJoyRadio, VJoyRadioGroup, VJoyRatingStars, VJoyScreenLoader, VJoySelect, VJoySelectableItem, VJoySelectableItemGroup, VJoySeparator, VJoySpinner,
|
|
56
|
+
export { VJoyAvailability, VJoyAvatar, VJoyAvatarsList, VJoyBadge, VJoyBadgeLevel, VJoyButton, VJoyCheckbox, VJoyCompanyAvatar, VJoyCounter, VJoyDividerCta, VJoyDropdown, VJoyDropdownList, VJoyFilterBar, VJoyFilterBarButton, VJoyFooter, VJoyFormError, VJoyFormFieldSkeleton, VJoyFunnel, VJoyHeader, VJoyHighlight, VJoyIcon, VJoyIndicator, VJoyIndicators, VJoyInput, VJoyLabel, VJoyLink, VJoyMenu, VJoyMultiCheckbox, VJoyPagination, VJoyPanel, VJoyPanelSection, VJoyProgressBar, VJoyRadio, VJoyRadioGroup, VJoyRatingStars, VJoyScreenLoader, VJoySelect, VJoySelectableItem, VJoySelectableItemGroup, VJoySeparator, VJoySpinner, VJoyStep, VJoyStepper, VJoyTab, VJoyTabs, VJoyTag, VJoyTagsList, VJoyTemplate, VJoyTemplateShape, VJoyText, VJoyTextarea, VJoyToggle, VJoyTooltip, VJoyUserCard, VJoyWrapper, };
|