@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
package/dist/types/Form.vue.d.ts
CHANGED
|
@@ -13,11 +13,11 @@ type __VLS_Slots = {} & {
|
|
|
13
13
|
default?: (props: typeof __VLS_1) => any;
|
|
14
14
|
};
|
|
15
15
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
|
-
submit: (data: FormData, event: SubmitEvent) => any;
|
|
17
16
|
reset: (event: Event) => any;
|
|
17
|
+
submit: (data: FormData, event: SubmitEvent) => any;
|
|
18
18
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
|
-
onSubmit?: ((data: FormData, event: SubmitEvent) => any) | undefined;
|
|
20
19
|
onReset?: ((event: Event) => any) | undefined;
|
|
20
|
+
onSubmit?: ((data: FormData, event: SubmitEvent) => any) | undefined;
|
|
21
21
|
}>, {
|
|
22
22
|
id: string;
|
|
23
23
|
dir: "ltr" | "rtl";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type StylingProps } from './styling.js';
|
|
2
2
|
import type { InputSize, InputType, InputVariant, InputMode, InputEnterKeyHint } from './types.js';
|
|
3
|
-
type __VLS_Props = StylingProps<'boundary' | 'control' | 'description' | 'error' | 'group' | 'label' | 'prefix' | 'root' | 'suffix'> & {
|
|
3
|
+
type __VLS_Props = StylingProps<'boundary' | 'clearButton' | 'control' | 'description' | 'error' | 'group' | 'label' | 'prefix' | 'root' | 'suffix'> & {
|
|
4
4
|
label: string;
|
|
5
5
|
defaultValue?: string;
|
|
6
6
|
description?: string;
|
|
@@ -15,6 +15,9 @@ type __VLS_Props = StylingProps<'boundary' | 'control' | 'description' | 'error'
|
|
|
15
15
|
size?: InputSize;
|
|
16
16
|
variant?: InputVariant;
|
|
17
17
|
fullWidth?: boolean;
|
|
18
|
+
hideLabel?: boolean;
|
|
19
|
+
clearable?: boolean;
|
|
20
|
+
clearLabel?: string;
|
|
18
21
|
name?: string;
|
|
19
22
|
id?: string;
|
|
20
23
|
autoComplete?: string;
|
|
@@ -62,18 +65,19 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
62
65
|
pattern: string;
|
|
63
66
|
type: InputType;
|
|
64
67
|
required: boolean;
|
|
65
|
-
dir: "ltr" | "rtl";
|
|
66
|
-
variant: InputVariant;
|
|
67
68
|
size: InputSize;
|
|
68
|
-
|
|
69
|
-
|
|
69
|
+
variant: InputVariant;
|
|
70
|
+
dir: "ltr" | "rtl";
|
|
71
|
+
enterKeyHint: InputEnterKeyHint;
|
|
72
|
+
placeholder: string;
|
|
70
73
|
name: string;
|
|
71
74
|
invalid: boolean;
|
|
72
|
-
|
|
75
|
+
fullWidth: boolean;
|
|
76
|
+
disabled: boolean;
|
|
73
77
|
defaultValue: string;
|
|
74
|
-
placeholder: string;
|
|
75
|
-
enterKeyHint: InputEnterKeyHint;
|
|
76
78
|
readonly: boolean;
|
|
79
|
+
errorMessage: string;
|
|
80
|
+
clearLabel: string;
|
|
77
81
|
autoComplete: string;
|
|
78
82
|
maxLength: number;
|
|
79
83
|
minLength: number;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare var __VLS_1: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_1) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
+
new (): {
|
|
11
|
+
$slots: S;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type StylingProps } from './styling.js';
|
|
2
|
+
import type { InputSize, InputVariant } from './types.js';
|
|
2
3
|
type __VLS_Props = StylingProps<'label' | 'root'> & {
|
|
3
4
|
id?: string;
|
|
4
5
|
label?: string;
|
|
@@ -10,6 +11,9 @@ type __VLS_Props = StylingProps<'label' | 'root'> & {
|
|
|
10
11
|
required?: boolean;
|
|
11
12
|
invalid?: boolean;
|
|
12
13
|
dir?: 'ltr' | 'rtl';
|
|
14
|
+
size?: InputSize;
|
|
15
|
+
variant?: InputVariant;
|
|
16
|
+
hideLabel?: boolean;
|
|
13
17
|
};
|
|
14
18
|
declare var __VLS_1: {};
|
|
15
19
|
type __VLS_Slots = {} & {
|
|
@@ -22,6 +26,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
22
26
|
}>, {
|
|
23
27
|
id: string;
|
|
24
28
|
label: string;
|
|
29
|
+
size: InputSize;
|
|
30
|
+
variant: InputVariant;
|
|
25
31
|
dir: "ltr" | "rtl";
|
|
26
32
|
name: string;
|
|
27
33
|
modelValue: string;
|
|
@@ -23,13 +23,13 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
23
23
|
description: string;
|
|
24
24
|
id: string;
|
|
25
25
|
dir: "ltr" | "rtl";
|
|
26
|
-
disabled: boolean;
|
|
27
26
|
name: string;
|
|
28
27
|
invalid: boolean;
|
|
29
|
-
|
|
30
|
-
errorMessage: string;
|
|
28
|
+
disabled: boolean;
|
|
31
29
|
modelValue: string[];
|
|
32
30
|
defaultValue: string[];
|
|
31
|
+
emptyMessage: string;
|
|
32
|
+
errorMessage: string;
|
|
33
33
|
selectionMode: ListboxSelectionMode;
|
|
34
34
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
35
35
|
declare const _default: typeof __VLS_export;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
value: string;
|
|
3
|
+
locale?: string;
|
|
4
|
+
minDate?: string;
|
|
5
|
+
maxDate?: string;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
mode?: 'header' | 'month' | 'year';
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
change: (value: string) => any;
|
|
11
|
+
"update:modelValue": (value: string) => any;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
13
|
+
onChange?: ((value: string) => any) | undefined;
|
|
14
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
15
|
+
}>, {
|
|
16
|
+
mode: "header" | "month" | "year";
|
|
17
|
+
disabled: boolean;
|
|
18
|
+
locale: string;
|
|
19
|
+
minDate: string;
|
|
20
|
+
maxDate: string;
|
|
21
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
22
|
+
declare const _default: typeof __VLS_export;
|
|
23
|
+
export default _default;
|
|
@@ -30,17 +30,17 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
30
30
|
required: boolean;
|
|
31
31
|
dir: "ltr" | "rtl";
|
|
32
32
|
step: number;
|
|
33
|
-
|
|
33
|
+
max: number;
|
|
34
34
|
name: string;
|
|
35
35
|
invalid: boolean;
|
|
36
|
+
disabled: boolean;
|
|
36
37
|
locale: string;
|
|
37
|
-
formatOptions: Intl.NumberFormatOptions;
|
|
38
|
-
errorMessage: string;
|
|
39
38
|
modelValue: number | null;
|
|
40
39
|
defaultValue: number | null;
|
|
41
40
|
readonly: boolean;
|
|
41
|
+
formatOptions: Intl.NumberFormatOptions;
|
|
42
|
+
errorMessage: string;
|
|
42
43
|
min: number;
|
|
43
|
-
max: number;
|
|
44
44
|
incrementLabel: string;
|
|
45
45
|
decrementLabel: string;
|
|
46
46
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -27,12 +27,12 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
27
27
|
id: string;
|
|
28
28
|
required: boolean;
|
|
29
29
|
dir: "ltr" | "rtl";
|
|
30
|
-
disabled: boolean;
|
|
31
|
-
orientation: "horizontal" | "vertical";
|
|
32
30
|
name: string;
|
|
33
31
|
invalid: boolean;
|
|
34
|
-
|
|
32
|
+
disabled: boolean;
|
|
33
|
+
orientation: "horizontal" | "vertical";
|
|
35
34
|
defaultValue: string;
|
|
35
|
+
errorMessage: string;
|
|
36
36
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
37
37
|
declare const _default: typeof __VLS_export;
|
|
38
38
|
export default _default;
|
|
@@ -2,7 +2,7 @@ import { type StylingProps } from './styling.js';
|
|
|
2
2
|
import { type SelectOption } from './selection-options.js';
|
|
3
3
|
import type { SelectSize, SelectVariant } from './types.js';
|
|
4
4
|
declare const __VLS_export: <M extends "single" | "multiple" = "single">(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
5
|
-
props: import("vue").PublicProps & __VLS_PrettifyLocal<(StylingProps<"root" | "description" | "label" | "required" | "
|
|
5
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<(StylingProps<"root" | "error" | "description" | "label" | "required" | "list" | "value" | "clear" | "item" | "check" | "control" | "closeIcon" | "icon" | "itemLabel" | "leading" | "popover" | "trigger"> & {
|
|
6
6
|
label: string;
|
|
7
7
|
options: SelectOption[];
|
|
8
8
|
size?: SelectSize;
|
|
@@ -24,8 +24,8 @@ declare const __VLS_export: <M extends "single" | "multiple" = "single">(__VLS_p
|
|
|
24
24
|
clearable?: boolean;
|
|
25
25
|
clearLabel?: string;
|
|
26
26
|
}) & {
|
|
27
|
-
onClose?: (() => any) | undefined;
|
|
28
27
|
onClear?: (() => any) | undefined;
|
|
28
|
+
onClose?: (() => any) | undefined;
|
|
29
29
|
"onUpdate:modelValue"?: ((value: M extends "multiple" ? string[] : string | undefined) => any) | undefined;
|
|
30
30
|
}> & (typeof globalThis extends {
|
|
31
31
|
__VLS_PROPS_FALLBACK: infer P;
|
|
@@ -41,7 +41,7 @@ declare const __VLS_export: <M extends "single" | "multiple" = "single">(__VLS_p
|
|
|
41
41
|
selected: SelectOption[];
|
|
42
42
|
}) => unknown;
|
|
43
43
|
};
|
|
44
|
-
emit: ((evt: "
|
|
44
|
+
emit: ((evt: "clear") => void) & ((evt: "close") => void) & ((evt: "update:modelValue", value: M extends "multiple" ? string[] : string | undefined) => void);
|
|
45
45
|
}>) => import("vue").VNode & {
|
|
46
46
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
47
47
|
};
|
|
@@ -56,9 +56,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
56
56
|
};
|
|
57
57
|
}>> & Readonly<{}>, {
|
|
58
58
|
classNames: Partial<Record<"root" | "legend" | "controls", string>>;
|
|
59
|
-
dir: "ltr" | "rtl";
|
|
60
|
-
variant: SelectVariant;
|
|
61
59
|
size: SelectSize;
|
|
60
|
+
variant: SelectVariant;
|
|
61
|
+
dir: "ltr" | "rtl";
|
|
62
62
|
fullWidth: boolean;
|
|
63
63
|
disabled: boolean;
|
|
64
64
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type StylingProps } from './styling.js';
|
|
2
|
+
import type { SelectSize, SelectVariant } from './types.js';
|
|
2
3
|
type __VLS_Props = StylingProps<'label' | 'root'> & {
|
|
3
4
|
label?: string;
|
|
4
5
|
id?: string;
|
|
@@ -11,6 +12,9 @@ type __VLS_Props = StylingProps<'label' | 'root'> & {
|
|
|
11
12
|
open?: boolean;
|
|
12
13
|
defaultOpen?: boolean;
|
|
13
14
|
dir?: 'ltr' | 'rtl';
|
|
15
|
+
size?: SelectSize;
|
|
16
|
+
variant?: SelectVariant;
|
|
17
|
+
hideLabel?: boolean;
|
|
14
18
|
};
|
|
15
19
|
declare var __VLS_10: {};
|
|
16
20
|
type __VLS_Slots = {} & {
|
|
@@ -27,6 +31,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
27
31
|
}>, {
|
|
28
32
|
id: string;
|
|
29
33
|
label: string;
|
|
34
|
+
size: SelectSize;
|
|
35
|
+
variant: SelectVariant;
|
|
30
36
|
dir: "ltr" | "rtl";
|
|
31
37
|
name: string;
|
|
32
38
|
modelValue: string | string[];
|
|
@@ -4,11 +4,11 @@ type __VLS_Props = {
|
|
|
4
4
|
disabled?: boolean;
|
|
5
5
|
};
|
|
6
6
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
-
reset: (cancelled: boolean) => any;
|
|
8
7
|
invalid: () => any;
|
|
8
|
+
reset: (cancelled: boolean) => any;
|
|
9
9
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
10
|
-
onReset?: ((cancelled: boolean) => any) | undefined;
|
|
11
10
|
onInvalid?: (() => any) | undefined;
|
|
11
|
+
onReset?: ((cancelled: boolean) => any) | undefined;
|
|
12
12
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
13
|
declare const _default: typeof __VLS_export;
|
|
14
14
|
export default _default;
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { type StylingProps } from './styling.js';
|
|
2
|
+
import type { ComponentSize, Tone } from './visual.js';
|
|
2
3
|
type __VLS_Props = StylingProps<'content' | 'control' | 'description' | 'error' | 'label' | 'root' | 'thumb'> & {
|
|
3
4
|
label: string;
|
|
4
5
|
modelValue?: boolean;
|
|
5
6
|
defaultValue?: boolean;
|
|
6
7
|
disabled?: boolean;
|
|
8
|
+
readonly?: boolean;
|
|
9
|
+
required?: boolean;
|
|
10
|
+
size?: ComponentSize;
|
|
11
|
+
tone?: Tone;
|
|
12
|
+
variant?: 'default' | 'outline';
|
|
7
13
|
invalid?: boolean;
|
|
8
14
|
description?: string;
|
|
9
15
|
errorMessage?: string;
|
|
@@ -12,21 +18,36 @@ type __VLS_Props = StylingProps<'content' | 'control' | 'description' | 'error'
|
|
|
12
18
|
id?: string;
|
|
13
19
|
dir?: 'ltr' | 'rtl';
|
|
14
20
|
};
|
|
15
|
-
declare
|
|
21
|
+
declare var __VLS_10: {
|
|
22
|
+
selected: boolean;
|
|
23
|
+
};
|
|
24
|
+
type __VLS_Slots = {} & {
|
|
25
|
+
icon?: (props: typeof __VLS_10) => any;
|
|
26
|
+
};
|
|
27
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
28
|
"update:modelValue": (value: boolean) => any;
|
|
17
29
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
18
30
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
19
31
|
}>, {
|
|
20
32
|
description: string;
|
|
33
|
+
tone: Tone;
|
|
21
34
|
id: string;
|
|
35
|
+
size: ComponentSize;
|
|
36
|
+
variant: "default" | "outline";
|
|
22
37
|
dir: "ltr" | "rtl";
|
|
23
|
-
|
|
38
|
+
value: string;
|
|
24
39
|
name: string;
|
|
25
40
|
invalid: boolean;
|
|
26
|
-
|
|
41
|
+
disabled: boolean;
|
|
27
42
|
modelValue: boolean;
|
|
28
43
|
defaultValue: boolean;
|
|
29
|
-
|
|
44
|
+
errorMessage: string;
|
|
30
45
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
46
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
31
47
|
declare const _default: typeof __VLS_export;
|
|
32
48
|
export default _default;
|
|
49
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
50
|
+
new (): {
|
|
51
|
+
$slots: S;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { type SwitchVisualProps } from './switch-context.js';
|
|
2
|
+
type __VLS_Props = SwitchVisualProps & {
|
|
3
|
+
label?: string;
|
|
4
|
+
orientation?: 'horizontal' | 'vertical';
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_1: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_1) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
11
|
+
label: string;
|
|
12
|
+
orientation: "horizontal" | "vertical";
|
|
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
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { type SwitchRootProps } from 'reka-ui';
|
|
2
|
+
import { type SwitchVisualProps } from './switch-context.js';
|
|
3
|
+
type __VLS_Props = SwitchRootProps & SwitchVisualProps & {
|
|
4
|
+
readonly?: boolean;
|
|
5
|
+
invalid?: boolean;
|
|
6
|
+
};
|
|
7
|
+
type __VLS_Slots = {
|
|
8
|
+
default?: (state: {
|
|
9
|
+
selected: boolean;
|
|
10
|
+
modelValue: boolean;
|
|
11
|
+
disabled: boolean;
|
|
12
|
+
readonly: boolean;
|
|
13
|
+
invalid: boolean;
|
|
14
|
+
}) => unknown;
|
|
15
|
+
};
|
|
16
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
|
+
reset: () => any;
|
|
18
|
+
"update:modelValue": (value: boolean) => any;
|
|
19
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
20
|
+
onReset?: (() => any) | undefined;
|
|
21
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
22
|
+
}>, {
|
|
23
|
+
tone: import("./visual.js").Tone;
|
|
24
|
+
size: import("./visual.js").ComponentSize;
|
|
25
|
+
variant: "default" | "outline";
|
|
26
|
+
disabled: boolean;
|
|
27
|
+
modelValue: boolean | null;
|
|
28
|
+
defaultValue: boolean;
|
|
29
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
30
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
31
|
+
declare const _default: typeof __VLS_export;
|
|
32
|
+
export default _default;
|
|
33
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
34
|
+
new (): {
|
|
35
|
+
$slots: S;
|
|
36
|
+
};
|
|
37
|
+
};
|
package/dist/types/Tabs.vue.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ type __VLS_Props = StylingProps<'actions' | 'extras' | 'icon' | 'label' | 'list'
|
|
|
4
4
|
label: string;
|
|
5
5
|
variant?: TabsVariant;
|
|
6
6
|
size?: ButtonSize;
|
|
7
|
+
indicatorShadow?: boolean;
|
|
7
8
|
orientation?: 'horizontal' | 'vertical';
|
|
8
9
|
align?: 'start' | 'center' | 'end';
|
|
9
10
|
fullWidth?: boolean;
|
|
@@ -35,9 +36,9 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
35
36
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
36
37
|
}>, {
|
|
37
38
|
id: string;
|
|
38
|
-
dir: "ltr" | "rtl";
|
|
39
|
-
variant: TabsVariant;
|
|
40
39
|
size: ButtonSize;
|
|
40
|
+
variant: TabsVariant;
|
|
41
|
+
dir: "ltr" | "rtl";
|
|
41
42
|
fullWidth: boolean;
|
|
42
43
|
orientation: "horizontal" | "vertical";
|
|
43
44
|
modelValue: string;
|
|
@@ -46,7 +47,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
46
47
|
previousLabel: string;
|
|
47
48
|
nextLabel: string;
|
|
48
49
|
showSeparators: boolean;
|
|
49
|
-
|
|
50
|
+
indicatorShadow: boolean;
|
|
51
|
+
inset: "default" | "none";
|
|
50
52
|
activationMode: "automatic" | "manual";
|
|
51
53
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
52
54
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { type TabsRootProps } from 'reka-ui';
|
|
2
|
+
import type { ButtonSize, TabsVariant } from './types.js';
|
|
3
|
+
type __VLS_Props = TabsRootProps & {
|
|
4
|
+
size?: ButtonSize;
|
|
5
|
+
variant?: TabsVariant;
|
|
6
|
+
indicatorShadow?: boolean;
|
|
7
|
+
align?: 'start' | 'center' | 'end';
|
|
8
|
+
fullWidth?: boolean;
|
|
9
|
+
};
|
|
10
|
+
declare var __VLS_9: {};
|
|
11
|
+
type __VLS_Slots = {} & {
|
|
12
|
+
default?: (props: typeof __VLS_9) => any;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
|
+
"update:modelValue": (value: string | number) => any;
|
|
16
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
17
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
18
|
+
}>, {
|
|
19
|
+
size: ButtonSize;
|
|
20
|
+
variant: TabsVariant;
|
|
21
|
+
align: "center" | "start" | "end";
|
|
22
|
+
unmountOnHide: boolean;
|
|
23
|
+
indicatorShadow: boolean;
|
|
24
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
25
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
26
|
+
declare const _default: typeof __VLS_export;
|
|
27
|
+
export default _default;
|
|
28
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
29
|
+
new (): {
|
|
30
|
+
$slots: S;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { TemporalFieldOptions } from './temporal-types.js';
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<TemporalFieldOptions, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
|
+
error: (error: string | null) => any;
|
|
4
|
+
change: (value: string | null) => any;
|
|
5
|
+
"update:modelValue": (value: string | null) => any;
|
|
6
|
+
}, string, import("vue").PublicProps, Readonly<TemporalFieldOptions> & Readonly<{
|
|
7
|
+
onError?: ((error: string | null) => any) | undefined;
|
|
8
|
+
onChange?: ((value: string | null) => any) | undefined;
|
|
9
|
+
"onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
|
|
10
|
+
}>, {
|
|
11
|
+
locale: string;
|
|
12
|
+
timeZone: string;
|
|
13
|
+
granularity: "hour" | "minute" | "second";
|
|
14
|
+
modelValue: string | null;
|
|
15
|
+
defaultValue: string | null;
|
|
16
|
+
showInputs: boolean;
|
|
17
|
+
kind: import("./temporal-model.js").TemporalKind;
|
|
18
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
declare const _default: typeof __VLS_export;
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { type TemporalKind } from './temporal-model.js';
|
|
2
|
+
import type { TemporalOptions, TemporalValue, TemporalPreset } from './temporal-types.js';
|
|
3
|
+
type __VLS_Props = TemporalOptions & {
|
|
4
|
+
kind?: TemporalKind;
|
|
5
|
+
range?: boolean;
|
|
6
|
+
modelValue?: TemporalValue | null;
|
|
7
|
+
defaultValue?: TemporalValue | null;
|
|
8
|
+
presets?: TemporalPreset[];
|
|
9
|
+
};
|
|
10
|
+
declare var __VLS_1: {}, __VLS_16: {};
|
|
11
|
+
type __VLS_Slots = {} & {
|
|
12
|
+
default?: (props: typeof __VLS_1) => any;
|
|
13
|
+
} & {
|
|
14
|
+
default?: (props: typeof __VLS_16) => any;
|
|
15
|
+
};
|
|
16
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
|
+
error: (error: string | null) => any;
|
|
18
|
+
change: (value: TemporalValue | null) => any;
|
|
19
|
+
"update:modelValue": (value: TemporalValue | null) => any;
|
|
20
|
+
"update:open": (open: boolean) => any;
|
|
21
|
+
apply: (value: TemporalValue | null) => any;
|
|
22
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
23
|
+
onError?: ((error: string | null) => any) | undefined;
|
|
24
|
+
onChange?: ((value: TemporalValue | null) => any) | undefined;
|
|
25
|
+
"onUpdate:modelValue"?: ((value: TemporalValue | null) => any) | undefined;
|
|
26
|
+
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
27
|
+
onApply?: ((value: TemporalValue | null) => any) | undefined;
|
|
28
|
+
}>, {
|
|
29
|
+
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
30
|
+
locale: string;
|
|
31
|
+
timeZone: string;
|
|
32
|
+
modelValue: TemporalValue | null;
|
|
33
|
+
defaultValue: TemporalValue | null;
|
|
34
|
+
range: boolean;
|
|
35
|
+
visibleMonths: 1 | 2;
|
|
36
|
+
weekStartsOn: 0 | 1;
|
|
37
|
+
defaultOpen: boolean;
|
|
38
|
+
display: "dialog" | "inline" | "auto" | "popover";
|
|
39
|
+
commitMode: "immediate" | "apply";
|
|
40
|
+
showActions: boolean;
|
|
41
|
+
showInputs: boolean;
|
|
42
|
+
presets: TemporalPreset<TemporalValue>[];
|
|
43
|
+
kind: TemporalKind;
|
|
44
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
45
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
46
|
+
declare const _default: typeof __VLS_export;
|
|
47
|
+
export default _default;
|
|
48
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
49
|
+
new (): {
|
|
50
|
+
$slots: S;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { TemporalOptions } from './temporal-types.js';
|
|
2
|
+
import { type TemporalRange, type TemporalKind } from './temporal-model.js';
|
|
3
|
+
type __VLS_Props = TemporalOptions & {
|
|
4
|
+
kind?: TemporalKind;
|
|
5
|
+
modelValue?: TemporalRange | null;
|
|
6
|
+
defaultValue?: TemporalRange | null;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
+
change: (value: TemporalRange | null) => any;
|
|
10
|
+
"update:modelValue": (value: TemporalRange | null) => any;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
12
|
+
onChange?: ((value: TemporalRange | null) => any) | undefined;
|
|
13
|
+
"onUpdate:modelValue"?: ((value: TemporalRange | null) => any) | undefined;
|
|
14
|
+
}>, {
|
|
15
|
+
locale: string;
|
|
16
|
+
modelValue: TemporalRange | null;
|
|
17
|
+
defaultValue: TemporalRange | null;
|
|
18
|
+
kind: TemporalKind;
|
|
19
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
declare const _default: typeof __VLS_export;
|
|
21
|
+
export default _default;
|
|
@@ -32,15 +32,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
32
32
|
id: string;
|
|
33
33
|
required: boolean;
|
|
34
34
|
dir: "ltr" | "rtl";
|
|
35
|
-
|
|
35
|
+
placeholder: string;
|
|
36
36
|
name: string;
|
|
37
37
|
invalid: boolean;
|
|
38
38
|
resize: "none" | "vertical";
|
|
39
|
-
|
|
39
|
+
disabled: boolean;
|
|
40
40
|
defaultValue: string;
|
|
41
|
-
placeholder: string;
|
|
42
|
-
rows: number;
|
|
43
41
|
readonly: boolean;
|
|
42
|
+
errorMessage: string;
|
|
43
|
+
rows: number;
|
|
44
44
|
autoComplete: string;
|
|
45
45
|
maxLength: number;
|
|
46
46
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { TemporalFieldOptions } from './temporal-types.js';
|
|
2
|
+
type __VLS_Props = TemporalFieldOptions & {
|
|
3
|
+
presentation?: 'list' | 'clock';
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
change: (value: string) => any;
|
|
7
|
+
"update:modelValue": (value: string) => any;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
|
+
onChange?: ((value: string) => any) | undefined;
|
|
10
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
11
|
+
}>, {
|
|
12
|
+
locale: string;
|
|
13
|
+
granularity: "hour" | "minute" | "second";
|
|
14
|
+
modelValue: string | null;
|
|
15
|
+
defaultValue: string | null;
|
|
16
|
+
presentation: "list" | "clock";
|
|
17
|
+
hourCycle: 12 | 24;
|
|
18
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
declare const _default: typeof __VLS_export;
|
|
20
|
+
export default _default;
|
|
@@ -22,8 +22,8 @@ type __VLS_Slots = {
|
|
|
22
22
|
};
|
|
23
23
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
24
24
|
dir: "ltr" | "rtl";
|
|
25
|
-
closeLabel: string;
|
|
26
25
|
placement: ToastPlacement;
|
|
26
|
+
closeLabel: string;
|
|
27
27
|
showCloseButton: boolean;
|
|
28
28
|
manager: ToastManager;
|
|
29
29
|
showProgress: boolean;
|
|
@@ -30,8 +30,8 @@ type __VLS_Slots = {
|
|
|
30
30
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
31
31
|
label: string;
|
|
32
32
|
dir: "ltr" | "rtl";
|
|
33
|
-
closeLabel: string;
|
|
34
33
|
placement: ToastPlacement;
|
|
34
|
+
closeLabel: string;
|
|
35
35
|
showCloseButton: boolean;
|
|
36
36
|
manager: ToastManager;
|
|
37
37
|
showProgress: boolean;
|
|
@@ -2,7 +2,7 @@ import { type StylingProps } from './styling.js';
|
|
|
2
2
|
import type { ButtonSize } from './types.js';
|
|
3
3
|
type __VLS_Props = StylingProps<'root'> & {
|
|
4
4
|
id?: string;
|
|
5
|
-
variant?: 'default' | 'ghost';
|
|
5
|
+
variant?: 'default' | 'ghost' | 'chip';
|
|
6
6
|
size?: ButtonSize;
|
|
7
7
|
iconOnly?: boolean;
|
|
8
8
|
modelValue?: boolean;
|
|
@@ -23,8 +23,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
23
23
|
"onUpdate:modelValue"?: ((selected: boolean) => any) | undefined;
|
|
24
24
|
}>, {
|
|
25
25
|
id: string;
|
|
26
|
-
variant: "ghost" | "default";
|
|
27
26
|
size: ButtonSize;
|
|
27
|
+
variant: "default" | "ghost" | "chip";
|
|
28
28
|
modelValue: boolean;
|
|
29
29
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
30
30
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -10,6 +10,7 @@ declare const __VLS_export: <M extends "single" | "multiple" = "single">(__VLS_p
|
|
|
10
10
|
detached?: boolean;
|
|
11
11
|
fullWidth?: boolean;
|
|
12
12
|
size?: ButtonSize;
|
|
13
|
+
variant?: "default" | "ghost" | "chip";
|
|
13
14
|
orientation?: "horizontal" | "vertical";
|
|
14
15
|
dir?: "ltr" | "rtl";
|
|
15
16
|
disallowEmptySelection?: boolean;
|