@kazee-ds/vue 0.6.0 → 0.7.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/README.md +2 -2
- package/dist/index.js +3235 -414
- package/dist/index.js.map +1 -1
- package/dist/types/Alert.vue.d.ts +1 -1
- package/dist/types/Avatar.vue.d.ts +31 -0
- package/dist/types/AvatarBadge.vue.d.ts +24 -0
- package/dist/types/AvatarFallback.vue.d.ts +22 -0
- package/dist/types/AvatarGroup.d.ts +79 -0
- package/dist/types/AvatarGroupCount.vue.d.ts +20 -0
- package/dist/types/AvatarImage.vue.d.ts +30 -0
- package/dist/types/Badge.vue.d.ts +19 -8
- package/dist/types/BadgeAnchor.vue.d.ts +19 -0
- package/dist/types/Button.vue.d.ts +2 -2
- package/dist/types/ButtonGroup.d.ts +2 -2
- package/dist/types/Calendar.vue.d.ts +47 -0
- package/dist/types/Card.vue.d.ts +9 -1
- package/dist/types/CardAction.vue.d.ts +15 -0
- package/dist/types/CardFooter.vue.d.ts +20 -0
- package/dist/types/CardHeader.vue.d.ts +22 -0
- package/dist/types/CardRoot.vue.d.ts +23 -0
- package/dist/types/CardTitle.vue.d.ts +21 -0
- package/dist/types/Checkbox.vue.d.ts +3 -3
- package/dist/types/DataTable.vue.d.ts +1 -1
- package/dist/types/DateRangePicker.vue.d.ts +13 -11
- package/dist/types/Dialog.vue.d.ts +3 -3
- package/dist/types/DropdownMenu.vue.d.ts +6 -4
- package/dist/types/Field.vue.d.ts +2 -2
- package/dist/types/Form.vue.d.ts +2 -2
- package/dist/types/Input.vue.d.ts +12 -8
- package/dist/types/InputClearButton.vue.d.ts +13 -0
- package/dist/types/InputRoot.vue.d.ts +6 -0
- package/dist/types/Listbox.vue.d.ts +3 -3
- package/dist/types/MonthYearNavigation.vue.d.ts +23 -0
- package/dist/types/NumberField.vue.d.ts +4 -4
- package/dist/types/RadioGroup.vue.d.ts +3 -3
- package/dist/types/Select.vue.d.ts +3 -3
- package/dist/types/SelectGroup.d.ts +2 -2
- package/dist/types/SelectRoot.vue.d.ts +6 -0
- package/dist/types/SelectionValidation.vue.d.ts +2 -2
- package/dist/types/Switch.vue.d.ts +25 -4
- package/dist/types/SwitchGroup.vue.d.ts +21 -0
- package/dist/types/SwitchRoot.vue.d.ts +37 -0
- package/dist/types/Tabs.vue.d.ts +5 -3
- package/dist/types/TabsRoot.vue.d.ts +32 -0
- package/dist/types/TemporalField.vue.d.ts +20 -0
- package/dist/types/TemporalPanel.vue.d.ts +3 -0
- package/dist/types/TemporalPicker.vue.d.ts +52 -0
- package/dist/types/TemporalRangeField.vue.d.ts +21 -0
- package/dist/types/Textarea.vue.d.ts +4 -4
- package/dist/types/TimeControls.vue.d.ts +20 -0
- package/dist/types/Toast.vue.d.ts +1 -1
- package/dist/types/ToastProvider.vue.d.ts +1 -1
- package/dist/types/ToggleButton.vue.d.ts +2 -2
- package/dist/types/ToggleButtonGroup.vue.d.ts +1 -0
- package/dist/types/avatar-context.d.ts +19 -0
- package/dist/types/button-family-context.d.ts +1 -0
- package/dist/types/card-context.d.ts +2 -0
- package/dist/types/card-types.d.ts +12 -0
- package/dist/types/composition.d.ts +11 -17
- package/dist/types/date-range-model.d.ts +3 -1
- package/dist/types/index.d.ts +25 -1
- package/dist/types/switch-context.d.ts +9 -0
- package/dist/types/temporal-components.d.ts +855 -0
- package/dist/types/temporal-context.d.ts +32 -0
- package/dist/types/temporal-model.d.ts +44 -0
- package/dist/types/temporal-parts.d.ts +53 -0
- package/dist/types/temporal-types.d.ts +56 -0
- package/dist/types/toggle-group-model.d.ts +1 -1
- package/dist/types/types.d.ts +6 -6
- package/dist/types/visual.d.ts +6 -0
- package/package.json +1 -1
|
@@ -15,7 +15,7 @@ type __VLS_Slots = {} & {
|
|
|
15
15
|
};
|
|
16
16
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
17
17
|
description: string;
|
|
18
|
-
tone:
|
|
18
|
+
tone: import("./visual.js").Tone;
|
|
19
19
|
announcement: "off" | "polite" | "assertive";
|
|
20
20
|
id: string;
|
|
21
21
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { HTMLAttributes } from 'vue';
|
|
2
|
+
import type { AvatarVariant, ComponentSize, Tone } from './visual.js';
|
|
3
|
+
import { type AvatarStyles } from './avatar-context.js';
|
|
4
|
+
interface AvatarProps extends /* @vue-ignore */ HTMLAttributes {
|
|
5
|
+
size?: ComponentSize;
|
|
6
|
+
tone?: Tone;
|
|
7
|
+
variant?: AvatarVariant;
|
|
8
|
+
radius?: 'none' | 'sm' | 'md' | 'lg' | 'full';
|
|
9
|
+
asChild?: boolean;
|
|
10
|
+
classNames?: AvatarStyles;
|
|
11
|
+
}
|
|
12
|
+
declare var __VLS_7: {};
|
|
13
|
+
type __VLS_Slots = {} & {
|
|
14
|
+
default?: (props: typeof __VLS_7) => any;
|
|
15
|
+
};
|
|
16
|
+
declare const __VLS_base: import("vue").DefineComponent<AvatarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<AvatarProps> & Readonly<{}>, {
|
|
17
|
+
classNames: AvatarStyles;
|
|
18
|
+
tone: Tone;
|
|
19
|
+
size: ComponentSize;
|
|
20
|
+
variant: AvatarVariant;
|
|
21
|
+
radius: "sm" | "md" | "lg" | "none" | "full";
|
|
22
|
+
asChild: boolean;
|
|
23
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
24
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
25
|
+
declare const _default: typeof __VLS_export;
|
|
26
|
+
export default _default;
|
|
27
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
28
|
+
new (): {
|
|
29
|
+
$slots: S;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { HTMLAttributes } from 'vue';
|
|
2
|
+
import type { ComponentSize, IndicatorPlacement, Tone } from './visual.js';
|
|
3
|
+
interface AvatarBadgeProps extends /* @vue-ignore */ HTMLAttributes {
|
|
4
|
+
size?: ComponentSize;
|
|
5
|
+
tone?: Tone;
|
|
6
|
+
placement?: IndicatorPlacement;
|
|
7
|
+
}
|
|
8
|
+
declare var __VLS_1: {};
|
|
9
|
+
type __VLS_Slots = {} & {
|
|
10
|
+
default?: (props: typeof __VLS_1) => any;
|
|
11
|
+
};
|
|
12
|
+
declare const __VLS_base: import("vue").DefineComponent<AvatarBadgeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<AvatarBadgeProps> & Readonly<{}>, {
|
|
13
|
+
tone: Tone;
|
|
14
|
+
size: ComponentSize;
|
|
15
|
+
placement: IndicatorPlacement;
|
|
16
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
18
|
+
declare const _default: typeof __VLS_export;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
21
|
+
new (): {
|
|
22
|
+
$slots: S;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { HTMLAttributes } from 'vue';
|
|
2
|
+
import type { Tone } from './visual.js';
|
|
3
|
+
interface AvatarFallbackProps extends /* @vue-ignore */ HTMLAttributes {
|
|
4
|
+
delayMs?: number;
|
|
5
|
+
tone?: Tone;
|
|
6
|
+
}
|
|
7
|
+
declare var __VLS_1: {};
|
|
8
|
+
type __VLS_Slots = {} & {
|
|
9
|
+
default?: (props: typeof __VLS_1) => any;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_base: import("vue").DefineComponent<AvatarFallbackProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<AvatarFallbackProps> & Readonly<{}>, {
|
|
12
|
+
tone: Tone;
|
|
13
|
+
delayMs: number;
|
|
14
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
16
|
+
declare const _default: typeof __VLS_export;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { type PropType, type VNode } from 'vue';
|
|
2
|
+
import Count from './AvatarGroupCount.vue.js';
|
|
3
|
+
import type { AvatarVariant, ComponentSize, Tone } from './visual.js';
|
|
4
|
+
export declare const AvatarGroupRoot: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
|
+
size: {
|
|
6
|
+
type: PropType<ComponentSize>;
|
|
7
|
+
default: string;
|
|
8
|
+
};
|
|
9
|
+
tone: {
|
|
10
|
+
type: PropType<Tone>;
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
13
|
+
variant: {
|
|
14
|
+
type: PropType<AvatarVariant>;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
max: {
|
|
18
|
+
type: NumberConstructor;
|
|
19
|
+
default: undefined;
|
|
20
|
+
};
|
|
21
|
+
isGrid: BooleanConstructor;
|
|
22
|
+
overlap: {
|
|
23
|
+
type: PropType<"clip" | "ring">;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
classNames: {
|
|
27
|
+
type: PropType<{
|
|
28
|
+
root?: string;
|
|
29
|
+
count?: string;
|
|
30
|
+
}>;
|
|
31
|
+
default: undefined;
|
|
32
|
+
};
|
|
33
|
+
}>, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
34
|
+
[key: string]: any;
|
|
35
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
36
|
+
size: {
|
|
37
|
+
type: PropType<ComponentSize>;
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
40
|
+
tone: {
|
|
41
|
+
type: PropType<Tone>;
|
|
42
|
+
default: string;
|
|
43
|
+
};
|
|
44
|
+
variant: {
|
|
45
|
+
type: PropType<AvatarVariant>;
|
|
46
|
+
default: string;
|
|
47
|
+
};
|
|
48
|
+
max: {
|
|
49
|
+
type: NumberConstructor;
|
|
50
|
+
default: undefined;
|
|
51
|
+
};
|
|
52
|
+
isGrid: BooleanConstructor;
|
|
53
|
+
overlap: {
|
|
54
|
+
type: PropType<"clip" | "ring">;
|
|
55
|
+
default: string;
|
|
56
|
+
};
|
|
57
|
+
classNames: {
|
|
58
|
+
type: PropType<{
|
|
59
|
+
root?: string;
|
|
60
|
+
count?: string;
|
|
61
|
+
}>;
|
|
62
|
+
default: undefined;
|
|
63
|
+
};
|
|
64
|
+
}>> & Readonly<{}>, {
|
|
65
|
+
classNames: {
|
|
66
|
+
root?: string;
|
|
67
|
+
count?: string;
|
|
68
|
+
};
|
|
69
|
+
tone: Tone;
|
|
70
|
+
size: ComponentSize;
|
|
71
|
+
variant: AvatarVariant;
|
|
72
|
+
isGrid: boolean;
|
|
73
|
+
max: number;
|
|
74
|
+
overlap: "clip" | "ring";
|
|
75
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
76
|
+
export declare const AvatarGroup: typeof AvatarGroupRoot & {
|
|
77
|
+
Root: typeof AvatarGroupRoot;
|
|
78
|
+
Count: typeof Count;
|
|
79
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { AvatarVariant, ComponentSize, Tone } from './visual.js';
|
|
2
|
+
import type { HTMLAttributes } from 'vue';
|
|
3
|
+
interface AvatarGroupCountProps extends /* @vue-ignore */ HTMLAttributes {
|
|
4
|
+
size?: ComponentSize;
|
|
5
|
+
tone?: Tone;
|
|
6
|
+
variant?: AvatarVariant;
|
|
7
|
+
}
|
|
8
|
+
declare var __VLS_13: {};
|
|
9
|
+
type __VLS_Slots = {} & {
|
|
10
|
+
default?: (props: typeof __VLS_13) => any;
|
|
11
|
+
};
|
|
12
|
+
declare const __VLS_base: import("vue").DefineComponent<AvatarGroupCountProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<AvatarGroupCountProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { ImgHTMLAttributes } from 'vue';
|
|
2
|
+
import type { ImageLoadingStatus } from './visual.js';
|
|
3
|
+
interface AvatarImageProps extends /* @vue-ignore */ ImgHTMLAttributes {
|
|
4
|
+
src?: string;
|
|
5
|
+
srcSet?: string;
|
|
6
|
+
sizes?: string;
|
|
7
|
+
alt?: string;
|
|
8
|
+
asChild?: boolean;
|
|
9
|
+
}
|
|
10
|
+
declare var __VLS_10: {};
|
|
11
|
+
type __VLS_Slots = {} & {
|
|
12
|
+
default?: (props: typeof __VLS_10) => any;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_base: import("vue").DefineComponent<AvatarImageProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
|
+
error: (event: Event) => any;
|
|
16
|
+
load: (event: Event) => any;
|
|
17
|
+
loadingStatusChange: (status: ImageLoadingStatus) => any;
|
|
18
|
+
}, string, import("vue").PublicProps, Readonly<AvatarImageProps> & Readonly<{
|
|
19
|
+
onError?: ((event: Event) => any) | undefined;
|
|
20
|
+
onLoad?: ((event: Event) => any) | undefined;
|
|
21
|
+
onLoadingStatusChange?: ((status: ImageLoadingStatus) => any) | undefined;
|
|
22
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
23
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
24
|
+
declare const _default: typeof __VLS_export;
|
|
25
|
+
export default _default;
|
|
26
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
27
|
+
new (): {
|
|
28
|
+
$slots: S;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
@@ -1,14 +1,25 @@
|
|
|
1
|
+
import type { HTMLAttributes } from 'vue';
|
|
1
2
|
import { type StylingProps } from './styling.js';
|
|
2
|
-
import type {
|
|
3
|
-
|
|
4
|
-
tone?:
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
import type { Tone, ComponentSize, IndicatorPlacement, BadgeVariant } from './visual.js';
|
|
4
|
+
interface BadgeProps extends /* @vue-ignore */ HTMLAttributes, StylingProps<'root' | 'label'> {
|
|
5
|
+
tone?: Tone;
|
|
6
|
+
size?: ComponentSize;
|
|
7
|
+
variant?: BadgeVariant;
|
|
8
|
+
placement?: IndicatorPlacement;
|
|
9
|
+
asChild?: boolean;
|
|
10
|
+
}
|
|
11
|
+
declare var __VLS_7: {}, __VLS_9: {};
|
|
7
12
|
type __VLS_Slots = {} & {
|
|
8
|
-
default?: (props: typeof
|
|
13
|
+
default?: (props: typeof __VLS_7) => any;
|
|
14
|
+
} & {
|
|
15
|
+
default?: (props: typeof __VLS_9) => any;
|
|
9
16
|
};
|
|
10
|
-
declare const __VLS_base: import("vue").DefineComponent<
|
|
11
|
-
tone:
|
|
17
|
+
declare const __VLS_base: import("vue").DefineComponent<BadgeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<BadgeProps> & Readonly<{}>, {
|
|
18
|
+
tone: Tone;
|
|
19
|
+
size: ComponentSize;
|
|
20
|
+
variant: BadgeVariant;
|
|
21
|
+
asChild: boolean;
|
|
22
|
+
placement: IndicatorPlacement;
|
|
12
23
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
24
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
14
25
|
declare const _default: typeof __VLS_export;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { HTMLAttributes } from 'vue';
|
|
2
|
+
interface BadgeAnchorProps extends /* @vue-ignore */ HTMLAttributes {
|
|
3
|
+
as?: string;
|
|
4
|
+
}
|
|
5
|
+
declare var __VLS_7: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_7) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_base: import("vue").DefineComponent<BadgeAnchorProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<BadgeAnchorProps> & Readonly<{}>, {
|
|
10
|
+
as: string;
|
|
11
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -35,11 +35,11 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
35
35
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
36
36
|
onPress?: ((event: MouseEvent) => any) | undefined;
|
|
37
37
|
}>, {
|
|
38
|
-
type: "button" | "
|
|
38
|
+
type: "button" | "reset" | "submit";
|
|
39
|
+
size: ButtonSize;
|
|
39
40
|
variant: ButtonVariant;
|
|
40
41
|
ariaLabel: string;
|
|
41
42
|
ariaLabelledby: string;
|
|
42
|
-
size: ButtonSize;
|
|
43
43
|
fullWidth: boolean;
|
|
44
44
|
disabled: boolean;
|
|
45
45
|
iconOnly: boolean;
|
|
@@ -64,9 +64,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
64
64
|
};
|
|
65
65
|
}>> & Readonly<{}>, {
|
|
66
66
|
classNames: Partial<Record<"root", string>>;
|
|
67
|
-
dir: "ltr" | "rtl";
|
|
68
|
-
variant: ButtonVariant;
|
|
69
67
|
size: ButtonSize;
|
|
68
|
+
variant: ButtonVariant;
|
|
69
|
+
dir: "ltr" | "rtl";
|
|
70
70
|
fullWidth: boolean;
|
|
71
71
|
disabled: boolean;
|
|
72
72
|
orientation: "horizontal" | "vertical";
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import type { TemporalRange } from './temporal-model.js';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
modelValue?: string | TemporalRange | null;
|
|
4
|
+
defaultValue?: string | TemporalRange | null;
|
|
5
|
+
range?: boolean;
|
|
6
|
+
label?: string;
|
|
7
|
+
locale?: string;
|
|
8
|
+
dir?: 'ltr' | 'rtl';
|
|
9
|
+
minDate?: string;
|
|
10
|
+
maxDate?: string;
|
|
11
|
+
isDateUnavailable?: (date: string) => boolean;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
readonly?: boolean;
|
|
14
|
+
isDisabled?: boolean;
|
|
15
|
+
isReadOnly?: boolean;
|
|
16
|
+
visibleMonths?: 1 | 2;
|
|
17
|
+
weekStartsOn?: 0 | 1;
|
|
18
|
+
referenceDate?: string;
|
|
19
|
+
classNames?: Partial<Record<'root' | 'header' | 'grid' | 'day' | 'month', string>>;
|
|
20
|
+
};
|
|
21
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
22
|
+
change: (value: string | TemporalRange | null) => any;
|
|
23
|
+
"update:modelValue": (value: string | TemporalRange | null) => any;
|
|
24
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
25
|
+
onChange?: ((value: string | TemporalRange | null) => any) | undefined;
|
|
26
|
+
"onUpdate:modelValue"?: ((value: string | TemporalRange | null) => any) | undefined;
|
|
27
|
+
}>, {
|
|
28
|
+
classNames: Partial<Record<"root" | "header" | "grid" | "month" | "day", string>>;
|
|
29
|
+
label: string;
|
|
30
|
+
dir: "ltr" | "rtl";
|
|
31
|
+
disabled: boolean;
|
|
32
|
+
locale: string;
|
|
33
|
+
minDate: string;
|
|
34
|
+
maxDate: string;
|
|
35
|
+
modelValue: string | TemporalRange | null;
|
|
36
|
+
defaultValue: string | TemporalRange | null;
|
|
37
|
+
range: boolean;
|
|
38
|
+
isDateUnavailable: (date: string) => boolean;
|
|
39
|
+
readonly: boolean;
|
|
40
|
+
isDisabled: boolean;
|
|
41
|
+
isReadOnly: boolean;
|
|
42
|
+
visibleMonths: 1 | 2;
|
|
43
|
+
weekStartsOn: 0 | 1;
|
|
44
|
+
referenceDate: string;
|
|
45
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
46
|
+
declare const _default: typeof __VLS_export;
|
|
47
|
+
export default _default;
|
package/dist/types/Card.vue.d.ts
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import { type StylingProps } from './styling.js';
|
|
2
|
-
type
|
|
2
|
+
import type { CardInteractionProps } from './card-types.js';
|
|
3
|
+
type __VLS_Props = StylingProps<'actions' | 'action' | 'content' | 'description' | 'footer' | 'header' | 'heading' | 'root' | 'title' | 'titleRow'> & CardInteractionProps & {
|
|
3
4
|
title?: string;
|
|
4
5
|
description?: string;
|
|
5
6
|
headingLevel?: 2 | 3 | 4 | 5 | 6;
|
|
7
|
+
headerAlign?: 'start' | 'center' | 'end';
|
|
8
|
+
dividedHeader?: boolean;
|
|
9
|
+
flushFooter?: boolean;
|
|
6
10
|
};
|
|
7
11
|
type __VLS_Slots = {
|
|
8
12
|
default?: () => unknown;
|
|
@@ -10,11 +14,15 @@ type __VLS_Slots = {
|
|
|
10
14
|
'title-extras'?: () => unknown;
|
|
11
15
|
actions?: () => unknown;
|
|
12
16
|
footer?: () => unknown;
|
|
17
|
+
link?: (props: {
|
|
18
|
+
actionProps: Record<string, unknown>;
|
|
19
|
+
}) => unknown;
|
|
13
20
|
};
|
|
14
21
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
15
22
|
description: string;
|
|
16
23
|
title: string;
|
|
17
24
|
headingLevel: 2 | 3 | 4 | 5 | 6;
|
|
25
|
+
headerAlign: "center" | "start" | "end";
|
|
18
26
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
27
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
20
28
|
declare const _default: typeof __VLS_export;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { CardInteractionProps } from './card-types.js';
|
|
2
|
+
type __VLS_Slots = {
|
|
3
|
+
default?: (props: {
|
|
4
|
+
actionProps: Record<string, unknown>;
|
|
5
|
+
}) => unknown;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_base: import("vue").DefineComponent<CardInteractionProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CardInteractionProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
10
|
+
export default _default;
|
|
11
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
12
|
+
new (): {
|
|
13
|
+
$slots: S;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { HTMLAttributes } from 'vue';
|
|
2
|
+
interface CardFooterProps extends /* @vue-ignore */ HTMLAttributes {
|
|
3
|
+
as?: string;
|
|
4
|
+
flush?: boolean;
|
|
5
|
+
}
|
|
6
|
+
declare var __VLS_7: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_7) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import("vue").DefineComponent<CardFooterProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CardFooterProps> & Readonly<{}>, {
|
|
11
|
+
as: string;
|
|
12
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { HTMLAttributes } from 'vue';
|
|
2
|
+
interface CardHeaderProps extends /* @vue-ignore */ HTMLAttributes {
|
|
3
|
+
as?: string;
|
|
4
|
+
align?: 'start' | 'center' | 'end';
|
|
5
|
+
divided?: boolean;
|
|
6
|
+
}
|
|
7
|
+
declare var __VLS_7: {};
|
|
8
|
+
type __VLS_Slots = {} & {
|
|
9
|
+
default?: (props: typeof __VLS_7) => any;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_base: import("vue").DefineComponent<CardHeaderProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CardHeaderProps> & Readonly<{}>, {
|
|
12
|
+
as: string;
|
|
13
|
+
align: "center" | "start" | "end";
|
|
14
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
16
|
+
declare const _default: typeof __VLS_export;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { CardInteractionProps } from './card-types.js';
|
|
2
|
+
type __VLS_Props = CardInteractionProps & {
|
|
3
|
+
as?: string;
|
|
4
|
+
classNames?: Partial<Record<'root' | 'action', string>>;
|
|
5
|
+
};
|
|
6
|
+
type __VLS_Slots = {
|
|
7
|
+
default?: () => unknown;
|
|
8
|
+
link?: (props: {
|
|
9
|
+
actionProps: Record<string, unknown>;
|
|
10
|
+
}) => unknown;
|
|
11
|
+
};
|
|
12
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
13
|
+
classNames: Partial<Record<"root" | "action", string>>;
|
|
14
|
+
as: string;
|
|
15
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { HTMLAttributes } from 'vue';
|
|
2
|
+
interface CardTitleProps extends /* @vue-ignore */ HTMLAttributes {
|
|
3
|
+
as?: string;
|
|
4
|
+
id?: string;
|
|
5
|
+
}
|
|
6
|
+
declare var __VLS_7: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_7) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import("vue").DefineComponent<CardTitleProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CardTitleProps> & Readonly<{}>, {
|
|
11
|
+
id: string;
|
|
12
|
+
as: string;
|
|
13
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -23,14 +23,14 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
23
23
|
id: string;
|
|
24
24
|
required: boolean;
|
|
25
25
|
dir: "ltr" | "rtl";
|
|
26
|
-
|
|
26
|
+
value: string;
|
|
27
27
|
name: string;
|
|
28
28
|
invalid: boolean;
|
|
29
|
-
|
|
29
|
+
disabled: boolean;
|
|
30
30
|
modelValue: boolean;
|
|
31
31
|
defaultValue: boolean;
|
|
32
|
+
errorMessage: string;
|
|
32
33
|
indeterminate: boolean;
|
|
33
|
-
value: string;
|
|
34
34
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
35
35
|
declare const _default: typeof __VLS_export;
|
|
36
36
|
export default _default;
|
|
@@ -27,12 +27,12 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
27
27
|
"onUpdate:sort"?: ((sort: TableSort) => any) | undefined;
|
|
28
28
|
}>, {
|
|
29
29
|
sort: TableSort | null;
|
|
30
|
+
loading: boolean;
|
|
30
31
|
id: string;
|
|
31
32
|
dir: "ltr" | "rtl";
|
|
32
33
|
disabled: boolean;
|
|
33
34
|
emptyMessage: string;
|
|
34
35
|
errorMessage: string;
|
|
35
|
-
loading: boolean;
|
|
36
36
|
loadingMessage: string;
|
|
37
37
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
38
38
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -18,30 +18,32 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
18
18
|
onApply?: ((value: DateRange | null) => any) | undefined;
|
|
19
19
|
}>, {
|
|
20
20
|
description: string;
|
|
21
|
-
dir: "ltr" | "rtl";
|
|
22
|
-
variant: import("./date-range-model.js").DateRangeVariant;
|
|
23
21
|
size: import("./date-range-model.js").DateRangeSize;
|
|
24
|
-
|
|
22
|
+
variant: import("./date-range-model.js").DateRangeVariant;
|
|
23
|
+
dir: "ltr" | "rtl";
|
|
25
24
|
name: string;
|
|
25
|
+
fullWidth: boolean;
|
|
26
26
|
locale: string;
|
|
27
|
-
|
|
27
|
+
minDate: string;
|
|
28
|
+
maxDate: string;
|
|
28
29
|
modelValue: DateRange | null;
|
|
29
30
|
defaultValue: DateRange | null;
|
|
30
|
-
|
|
31
|
-
defaultOpen: boolean;
|
|
31
|
+
isDateUnavailable: (date: string) => boolean;
|
|
32
32
|
visibleMonths: 1 | 2;
|
|
33
33
|
weekStartsOn: 0 | 1;
|
|
34
|
-
|
|
34
|
+
referenceDate: string;
|
|
35
|
+
errorMessage: string;
|
|
36
|
+
open: boolean;
|
|
37
|
+
defaultOpen: boolean;
|
|
38
|
+
display: "dialog" | "inline" | "auto" | "popover";
|
|
39
|
+
commitMode: "immediate" | "apply";
|
|
40
|
+
showActions: boolean;
|
|
35
41
|
showInputs: boolean;
|
|
36
42
|
showMonthYearPicker: boolean;
|
|
37
43
|
triggerDisplay: "text" | "icon";
|
|
38
44
|
presets: import("./date-range-model.js").DateRangePreset[];
|
|
39
45
|
labels: Partial<import("./date-range-model.js").DateRangeLabels>;
|
|
40
46
|
formatRange: (value: DateRange, locale: string) => string;
|
|
41
|
-
referenceDate: string;
|
|
42
|
-
isDateUnavailable: (date: string) => boolean;
|
|
43
|
-
minDate: string;
|
|
44
|
-
maxDate: string;
|
|
45
47
|
minDays: number;
|
|
46
48
|
maxDays: number;
|
|
47
49
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -33,16 +33,16 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
33
33
|
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
34
34
|
}>, {
|
|
35
35
|
description: string;
|
|
36
|
-
dir: "ltr" | "rtl";
|
|
37
36
|
size: DialogSize;
|
|
38
|
-
|
|
37
|
+
dir: "ltr" | "rtl";
|
|
38
|
+
placement: DialogPlacement;
|
|
39
39
|
scroll: DialogScroll;
|
|
40
|
+
disabled: boolean;
|
|
40
41
|
open: boolean;
|
|
41
42
|
defaultOpen: boolean;
|
|
42
43
|
backdrop: DialogBackdrop;
|
|
43
44
|
closeLabel: string;
|
|
44
45
|
triggerVariant: ButtonVariant;
|
|
45
|
-
placement: DialogPlacement;
|
|
46
46
|
dismissable: boolean;
|
|
47
47
|
keyboardDismissDisabled: boolean;
|
|
48
48
|
showCloseButton: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type StylingProps } from './styling.js';
|
|
2
2
|
import { type MenuSelectionMode, type MenuPlacement } from './overlay-model.js';
|
|
3
3
|
import type { DropdownMenuItem } from './dashboard-types.js';
|
|
4
|
-
import type { ButtonVariant } from './types.js';
|
|
4
|
+
import type { ButtonVariant, ButtonSize } from './types.js';
|
|
5
5
|
type __VLS_Props = StylingProps<'arrow' | 'check' | 'description' | 'heading' | 'icon' | 'item' | 'panel' | 'root' | 'separator' | 'shortcut' | 'text' | 'trigger'> & {
|
|
6
6
|
triggerLabel: string;
|
|
7
7
|
items: DropdownMenuItem[];
|
|
@@ -11,6 +11,7 @@ type __VLS_Props = StylingProps<'arrow' | 'check' | 'description' | 'heading' |
|
|
|
11
11
|
dir?: 'ltr' | 'rtl';
|
|
12
12
|
triggerIconOnly?: boolean;
|
|
13
13
|
triggerVariant?: ButtonVariant;
|
|
14
|
+
triggerSize?: ButtonSize;
|
|
14
15
|
selectionMode?: MenuSelectionMode;
|
|
15
16
|
selectedKeys?: string[];
|
|
16
17
|
defaultSelectedKeys?: string[];
|
|
@@ -24,23 +25,24 @@ type __VLS_Slots = {
|
|
|
24
25
|
}) => unknown;
|
|
25
26
|
};
|
|
26
27
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
27
|
-
"update:open": (open: boolean) => any;
|
|
28
28
|
action: (id: string) => any;
|
|
29
|
+
"update:open": (open: boolean) => any;
|
|
29
30
|
"update:selectedKeys": (keys: string[]) => any;
|
|
30
31
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
31
|
-
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
32
32
|
onAction?: ((id: string) => any) | undefined;
|
|
33
|
+
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
33
34
|
"onUpdate:selectedKeys"?: ((keys: string[]) => any) | undefined;
|
|
34
35
|
}>, {
|
|
35
36
|
dir: "ltr" | "rtl";
|
|
37
|
+
placement: MenuPlacement;
|
|
36
38
|
disabled: boolean;
|
|
37
39
|
open: boolean;
|
|
38
40
|
defaultOpen: boolean;
|
|
39
41
|
selectionMode: MenuSelectionMode;
|
|
40
42
|
triggerVariant: ButtonVariant;
|
|
41
|
-
placement: MenuPlacement;
|
|
42
43
|
selectedKeys: string[];
|
|
43
44
|
closeOnSelect: boolean;
|
|
45
|
+
triggerSize: ButtonSize;
|
|
44
46
|
defaultSelectedKeys: string[];
|
|
45
47
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
46
48
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -20,10 +20,10 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
20
20
|
id: string;
|
|
21
21
|
required: boolean;
|
|
22
22
|
dir: "ltr" | "rtl";
|
|
23
|
-
disabled: boolean;
|
|
24
23
|
invalid: boolean;
|
|
25
|
-
|
|
24
|
+
disabled: boolean;
|
|
26
25
|
readonly: boolean;
|
|
26
|
+
errorMessage: string;
|
|
27
27
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
28
28
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
29
29
|
declare const _default: typeof __VLS_export;
|