@witchcraft/ui 0.3.20 → 0.3.21
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/module.json +1 -1
- package/dist/runtime/assets/animations.css +1 -1
- package/dist/runtime/components/Aria/Aria.d.vue.ts +2 -1
- package/dist/runtime/components/Aria/Aria.vue.d.ts +2 -1
- package/dist/runtime/components/Icon/Icon.d.vue.ts +3 -2
- package/dist/runtime/components/Icon/Icon.vue.d.ts +3 -2
- package/dist/runtime/components/LibButton/LibButton.d.vue.ts +5 -4
- package/dist/runtime/components/LibButton/LibButton.vue.d.ts +5 -4
- package/dist/runtime/components/LibCheckbox/LibCheckbox.d.vue.ts +4 -5
- package/dist/runtime/components/LibCheckbox/LibCheckbox.vue.d.ts +4 -5
- package/dist/runtime/components/LibColorInput/LibColorInput.d.vue.ts +7 -6
- package/dist/runtime/components/LibColorInput/LibColorInput.vue.d.ts +7 -6
- package/dist/runtime/components/LibColorPicker/LibColorPicker.d.vue.ts +7 -5
- package/dist/runtime/components/LibColorPicker/LibColorPicker.vue.d.ts +7 -5
- package/dist/runtime/components/LibDarkModeSwitcher/LibDarkModeSwitcher.d.vue.ts +10 -9
- package/dist/runtime/components/LibDarkModeSwitcher/LibDarkModeSwitcher.vue.d.ts +10 -9
- package/dist/runtime/components/LibDatePicker/LibDatePicker.d.vue.ts +156 -5
- package/dist/runtime/components/LibDatePicker/LibDatePicker.vue.d.ts +156 -5
- package/dist/runtime/components/LibDatePicker/LibRangeDatePicker.d.vue.ts +154 -6
- package/dist/runtime/components/LibDatePicker/LibRangeDatePicker.vue.d.ts +154 -6
- package/dist/runtime/components/LibDatePicker/LibSingleDatePicker.d.vue.ts +7 -5
- package/dist/runtime/components/LibDatePicker/LibSingleDatePicker.vue.d.ts +7 -5
- package/dist/runtime/components/LibDatePicker/LibTimeZonePicker.d.vue.ts +7 -6
- package/dist/runtime/components/LibDatePicker/LibTimeZonePicker.vue.d.ts +7 -6
- package/dist/runtime/components/LibDebug/LibDebug.d.vue.ts +3 -2
- package/dist/runtime/components/LibDebug/LibDebug.vue.d.ts +3 -2
- package/dist/runtime/components/LibDevOnly/LibDevOnly.d.vue.ts +3 -2
- package/dist/runtime/components/LibDevOnly/LibDevOnly.vue.d.ts +3 -2
- package/dist/runtime/components/LibFileInput/LibFileInput.d.vue.ts +20 -19
- package/dist/runtime/components/LibFileInput/LibFileInput.vue.d.ts +20 -19
- package/dist/runtime/components/LibInputDeprecated/LibInputDeprecated.d.vue.ts +106 -15
- package/dist/runtime/components/LibInputDeprecated/LibInputDeprecated.vue.d.ts +106 -15
- package/dist/runtime/components/LibLabel/LibLabel.d.vue.ts +3 -2
- package/dist/runtime/components/LibLabel/LibLabel.vue.d.ts +3 -2
- package/dist/runtime/components/LibMultiValues/LibMultiValues.d.vue.ts +15 -10
- package/dist/runtime/components/LibMultiValues/LibMultiValues.vue.d.ts +15 -10
- package/dist/runtime/components/LibNotifications/LibNotification.d.vue.ts +14 -5
- package/dist/runtime/components/LibNotifications/LibNotification.vue.d.ts +14 -5
- package/dist/runtime/components/LibNotifications/LibNotificationTestMessageComponent.d.vue.ts +2 -1
- package/dist/runtime/components/LibNotifications/LibNotificationTestMessageComponent.vue.d.ts +2 -1
- package/dist/runtime/components/LibNotifications/LibNotifications.d.vue.ts +2 -1
- package/dist/runtime/components/LibNotifications/LibNotifications.vue.d.ts +2 -1
- package/dist/runtime/components/LibPagination/LibPagination.d.vue.ts +51 -50
- package/dist/runtime/components/LibPagination/LibPagination.vue.d.ts +51 -50
- package/dist/runtime/components/LibPalette/LibPalette.d.vue.ts +3 -2
- package/dist/runtime/components/LibPalette/LibPalette.vue.d.ts +3 -2
- package/dist/runtime/components/LibPopup/LibPopup.d.vue.ts +9 -3
- package/dist/runtime/components/LibPopup/LibPopup.vue.d.ts +9 -3
- package/dist/runtime/components/LibProgressBar/LibProgressBar.d.vue.ts +3 -2
- package/dist/runtime/components/LibProgressBar/LibProgressBar.vue.d.ts +3 -2
- package/dist/runtime/components/LibRecorder/LibRecorder.d.vue.ts +3 -2
- package/dist/runtime/components/LibRecorder/LibRecorder.vue.d.ts +3 -2
- package/dist/runtime/components/LibRoot/LibRoot.d.vue.ts +5 -4
- package/dist/runtime/components/LibRoot/LibRoot.vue.d.ts +5 -4
- package/dist/runtime/components/LibSimpleInput/LibSimpleInput.d.vue.ts +18 -13
- package/dist/runtime/components/LibSimpleInput/LibSimpleInput.vue +1 -1
- package/dist/runtime/components/LibSimpleInput/LibSimpleInput.vue.d.ts +18 -13
- package/dist/runtime/components/LibSuggestions/LibSuggestions.d.vue.ts +23 -18
- package/dist/runtime/components/LibSuggestions/LibSuggestions.vue.d.ts +23 -18
- package/dist/runtime/components/LibTable/LibTable.d.vue.ts +34 -13
- package/dist/runtime/components/LibTable/LibTable.vue.d.ts +34 -13
- package/dist/runtime/components/Template/NAME.d.vue.ts +3 -2
- package/dist/runtime/components/Template/NAME.vue.d.ts +3 -2
- package/dist/runtime/components/TestControls/TestControls.d.vue.ts +2 -1
- package/dist/runtime/components/TestControls/TestControls.vue.d.ts +2 -1
- package/package.json +50 -50
- package/src/runtime/assets/animations.css +2 -2
- package/src/runtime/components/LibCheckbox/LibCheckbox.vue +3 -1
- package/src/runtime/components/LibFileInput/LibFileInput.vue +13 -4
- package/src/runtime/components/LibInputDeprecated/LibInputDeprecated.vue +6 -1
- package/src/runtime/components/LibSimpleInput/LibSimpleInput.vue +2 -0
|
@@ -9,27 +9,32 @@ type RealProps = LinkableByIdProps & LabelProps & BaseInteractiveProps & {
|
|
|
9
9
|
};
|
|
10
10
|
interface Props extends
|
|
11
11
|
/** @vue-ignore */
|
|
12
|
-
Partial<Omit<InputHTMLAttributes, "class" | "readonly" | "disabled" | "onSubmit" | "onInput"> & TailwindClassProp>, RealProps {
|
|
12
|
+
Partial<Omit<InputHTMLAttributes, "class" | "readonly" | "disabled" | "onSubmit" | "onInput" | "autocomplete"> & TailwindClassProp>, RealProps {
|
|
13
13
|
}
|
|
14
|
-
declare const _default:
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
|
|
19
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onInput" | "onSubmit" | "onUpdate:modelValue"> & (Props & {
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
15
|
+
export default _default;
|
|
16
|
+
declare const __VLS_export: <T>(__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<{
|
|
17
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<(Props & {
|
|
20
18
|
modelValue: T;
|
|
21
|
-
}) & {
|
|
22
|
-
|
|
19
|
+
}) & {
|
|
20
|
+
onInput?: ((val: InputEvent) => any) | undefined;
|
|
21
|
+
onSubmit?: ((val: T) => any) | undefined;
|
|
22
|
+
"onUpdate:modelValue"?: ((value: T) => any) | undefined;
|
|
23
|
+
}> & (typeof globalThis extends {
|
|
24
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
25
|
+
} ? P : {});
|
|
26
|
+
expose: (exposed: {}) => void;
|
|
23
27
|
attrs: any;
|
|
24
28
|
slots: {};
|
|
25
29
|
emit: {
|
|
26
30
|
(e: "submit", val: T): void;
|
|
27
31
|
(e: "input", val: InputEvent): void;
|
|
28
|
-
} & ((
|
|
32
|
+
} & ((event: "update:modelValue", value: T) => void);
|
|
29
33
|
}>) => import("vue").VNode & {
|
|
30
34
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
31
35
|
};
|
|
32
|
-
|
|
33
|
-
|
|
36
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
37
|
+
[K in keyof T]: T[K];
|
|
38
|
+
} : {
|
|
34
39
|
[K in keyof T as K]: T[K];
|
|
35
|
-
} & {};
|
|
40
|
+
}) & {};
|
|
@@ -97,7 +97,7 @@ const fallbackId = getFallbackId();
|
|
|
97
97
|
const props = defineProps({
|
|
98
98
|
id: { type: String, required: false, default: "" },
|
|
99
99
|
label: { type: String, required: false, default: "" },
|
|
100
|
-
disabled: { type: Boolean, required: false, default: false },
|
|
100
|
+
disabled: { type: [Boolean, String], required: false, default: false },
|
|
101
101
|
readonly: { type: Boolean, required: false, default: false },
|
|
102
102
|
border: { type: Boolean, required: false, default: true },
|
|
103
103
|
unstyle: { type: Boolean, required: false, default: false },
|
|
@@ -9,27 +9,32 @@ type RealProps = LinkableByIdProps & LabelProps & BaseInteractiveProps & {
|
|
|
9
9
|
};
|
|
10
10
|
interface Props extends
|
|
11
11
|
/** @vue-ignore */
|
|
12
|
-
Partial<Omit<InputHTMLAttributes, "class" | "readonly" | "disabled" | "onSubmit" | "onInput"> & TailwindClassProp>, RealProps {
|
|
12
|
+
Partial<Omit<InputHTMLAttributes, "class" | "readonly" | "disabled" | "onSubmit" | "onInput" | "autocomplete"> & TailwindClassProp>, RealProps {
|
|
13
13
|
}
|
|
14
|
-
declare const _default:
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
|
|
19
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onInput" | "onSubmit" | "onUpdate:modelValue"> & (Props & {
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
15
|
+
export default _default;
|
|
16
|
+
declare const __VLS_export: <T>(__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<{
|
|
17
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<(Props & {
|
|
20
18
|
modelValue: T;
|
|
21
|
-
}) & {
|
|
22
|
-
|
|
19
|
+
}) & {
|
|
20
|
+
onInput?: ((val: InputEvent) => any) | undefined;
|
|
21
|
+
onSubmit?: ((val: T) => any) | undefined;
|
|
22
|
+
"onUpdate:modelValue"?: ((value: T) => any) | undefined;
|
|
23
|
+
}> & (typeof globalThis extends {
|
|
24
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
25
|
+
} ? P : {});
|
|
26
|
+
expose: (exposed: {}) => void;
|
|
23
27
|
attrs: any;
|
|
24
28
|
slots: {};
|
|
25
29
|
emit: {
|
|
26
30
|
(e: "submit", val: T): void;
|
|
27
31
|
(e: "input", val: InputEvent): void;
|
|
28
|
-
} & ((
|
|
32
|
+
} & ((event: "update:modelValue", value: T) => void);
|
|
29
33
|
}>) => import("vue").VNode & {
|
|
30
34
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
31
35
|
};
|
|
32
|
-
|
|
33
|
-
|
|
36
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
37
|
+
[K in keyof T]: T[K];
|
|
38
|
+
} : {
|
|
34
39
|
[K in keyof T as K]: T[K];
|
|
35
|
-
} & {};
|
|
40
|
+
}) & {};
|
|
@@ -21,15 +21,10 @@ Partial<Omit<HTMLAttributes, "class" | "onSubmit"> & {
|
|
|
21
21
|
/** @vue-ignore */
|
|
22
22
|
WrapperTypes, RealProps {
|
|
23
23
|
}
|
|
24
|
-
declare const _default:
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
readonly "onUpdate:activeSuggestion"?: ((val: number) => any) | undefined;
|
|
29
|
-
readonly "onUpdate:modelValue"?: ((value: TValue) => any) | undefined;
|
|
30
|
-
readonly "onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
|
31
|
-
readonly "onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
32
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onSubmit" | "onUpdate:modelValue" | "onUpdate:open" | "onUpdate:isOpen" | "onUpdate:activeSuggestion" | "onUpdate:inputValue"> & (Props & SuggestionsProps<TSuggestion> & {
|
|
24
|
+
declare const _default: typeof __VLS_export;
|
|
25
|
+
export default _default;
|
|
26
|
+
declare const __VLS_export: <TSuggestion extends string | object, TValue extends string | string[]>(__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<{
|
|
27
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<(Props & SuggestionsProps<TSuggestion> & {
|
|
33
28
|
/**
|
|
34
29
|
* The final valid value. This is *not* the value you want to share with the input. If `restrictToSuggestions` is true this will not update on any invalid values that `inputValue` might be set to.
|
|
35
30
|
*
|
|
@@ -43,8 +38,17 @@ declare const _default: <TSuggestion extends string | object, TValue extends str
|
|
|
43
38
|
*/
|
|
44
39
|
inputValue?: string;
|
|
45
40
|
open?: boolean;
|
|
46
|
-
}) & {
|
|
47
|
-
|
|
41
|
+
}) & {
|
|
42
|
+
onSubmit?: ((val: string, suggestion?: any, wasRemoved?: boolean | undefined) => any) | undefined;
|
|
43
|
+
"onUpdate:isOpen"?: ((val: boolean) => any) | undefined;
|
|
44
|
+
"onUpdate:activeSuggestion"?: ((val: number) => any) | undefined;
|
|
45
|
+
"onUpdate:modelValue"?: ((value: TValue) => any) | undefined;
|
|
46
|
+
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
|
47
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
48
|
+
}> & (typeof globalThis extends {
|
|
49
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
50
|
+
} ? P : {});
|
|
51
|
+
expose: (exposed: import("vue").ShallowUnwrapRef<{
|
|
48
52
|
suggestions: {
|
|
49
53
|
list: any[] | undefined;
|
|
50
54
|
filtered: any[] | undefined;
|
|
@@ -75,20 +79,21 @@ declare const _default: <TSuggestion extends string | object, TValue extends str
|
|
|
75
79
|
inputBlurHandler: (e: MouseEvent) => void;
|
|
76
80
|
/** A focus handler for the input that controls the component. */
|
|
77
81
|
inputFocusHandler: (e: FocusEvent) => void;
|
|
78
|
-
}>)
|
|
82
|
+
}>) => void;
|
|
79
83
|
attrs: any;
|
|
80
84
|
slots: {
|
|
81
85
|
item?: (props: {
|
|
82
86
|
item: any;
|
|
83
|
-
index:
|
|
84
|
-
isSelected:
|
|
87
|
+
index: number;
|
|
88
|
+
isSelected: boolean;
|
|
85
89
|
}) => any;
|
|
86
90
|
};
|
|
87
|
-
emit: SuggestionsEmits<false> & (((
|
|
91
|
+
emit: SuggestionsEmits<false> & (((event: "update:modelValue", value: TValue) => void) & ((event: "update:inputValue", value: string) => void) & ((event: "update:open", value: boolean) => void));
|
|
88
92
|
}>) => import("vue").VNode & {
|
|
89
93
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
90
94
|
};
|
|
91
|
-
|
|
92
|
-
|
|
95
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
96
|
+
[K in keyof T]: T[K];
|
|
97
|
+
} : {
|
|
93
98
|
[K in keyof T as K]: T[K];
|
|
94
|
-
} & {};
|
|
99
|
+
}) & {};
|
|
@@ -21,15 +21,10 @@ Partial<Omit<HTMLAttributes, "class" | "onSubmit"> & {
|
|
|
21
21
|
/** @vue-ignore */
|
|
22
22
|
WrapperTypes, RealProps {
|
|
23
23
|
}
|
|
24
|
-
declare const _default:
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
readonly "onUpdate:activeSuggestion"?: ((val: number) => any) | undefined;
|
|
29
|
-
readonly "onUpdate:modelValue"?: ((value: TValue) => any) | undefined;
|
|
30
|
-
readonly "onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
|
31
|
-
readonly "onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
32
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onSubmit" | "onUpdate:modelValue" | "onUpdate:open" | "onUpdate:isOpen" | "onUpdate:activeSuggestion" | "onUpdate:inputValue"> & (Props & SuggestionsProps<TSuggestion> & {
|
|
24
|
+
declare const _default: typeof __VLS_export;
|
|
25
|
+
export default _default;
|
|
26
|
+
declare const __VLS_export: <TSuggestion extends string | object, TValue extends string | string[]>(__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<{
|
|
27
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<(Props & SuggestionsProps<TSuggestion> & {
|
|
33
28
|
/**
|
|
34
29
|
* The final valid value. This is *not* the value you want to share with the input. If `restrictToSuggestions` is true this will not update on any invalid values that `inputValue` might be set to.
|
|
35
30
|
*
|
|
@@ -43,8 +38,17 @@ declare const _default: <TSuggestion extends string | object, TValue extends str
|
|
|
43
38
|
*/
|
|
44
39
|
inputValue?: string;
|
|
45
40
|
open?: boolean;
|
|
46
|
-
}) & {
|
|
47
|
-
|
|
41
|
+
}) & {
|
|
42
|
+
onSubmit?: ((val: string, suggestion?: any, wasRemoved?: boolean | undefined) => any) | undefined;
|
|
43
|
+
"onUpdate:isOpen"?: ((val: boolean) => any) | undefined;
|
|
44
|
+
"onUpdate:activeSuggestion"?: ((val: number) => any) | undefined;
|
|
45
|
+
"onUpdate:modelValue"?: ((value: TValue) => any) | undefined;
|
|
46
|
+
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
|
47
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
48
|
+
}> & (typeof globalThis extends {
|
|
49
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
50
|
+
} ? P : {});
|
|
51
|
+
expose: (exposed: import("vue").ShallowUnwrapRef<{
|
|
48
52
|
suggestions: {
|
|
49
53
|
list: any[] | undefined;
|
|
50
54
|
filtered: any[] | undefined;
|
|
@@ -75,20 +79,21 @@ declare const _default: <TSuggestion extends string | object, TValue extends str
|
|
|
75
79
|
inputBlurHandler: (e: MouseEvent) => void;
|
|
76
80
|
/** A focus handler for the input that controls the component. */
|
|
77
81
|
inputFocusHandler: (e: FocusEvent) => void;
|
|
78
|
-
}>)
|
|
82
|
+
}>) => void;
|
|
79
83
|
attrs: any;
|
|
80
84
|
slots: {
|
|
81
85
|
item?: (props: {
|
|
82
86
|
item: any;
|
|
83
|
-
index:
|
|
84
|
-
isSelected:
|
|
87
|
+
index: number;
|
|
88
|
+
isSelected: boolean;
|
|
85
89
|
}) => any;
|
|
86
90
|
};
|
|
87
|
-
emit: SuggestionsEmits<false> & (((
|
|
91
|
+
emit: SuggestionsEmits<false> & (((event: "update:modelValue", value: TValue) => void) & ((event: "update:inputValue", value: string) => void) & ((event: "update:open", value: boolean) => void));
|
|
88
92
|
}>) => import("vue").VNode & {
|
|
89
93
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
90
94
|
};
|
|
91
|
-
|
|
92
|
-
|
|
95
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
96
|
+
[K in keyof T]: T[K];
|
|
97
|
+
} : {
|
|
93
98
|
[K in keyof T as K]: T[K];
|
|
94
|
-
} & {};
|
|
99
|
+
}) & {};
|
|
@@ -69,26 +69,46 @@ interface Props extends
|
|
|
69
69
|
/** @vue-ignore */
|
|
70
70
|
Partial<Omit<TableHTMLAttributes, "class" | "readonly" | "disabled"> & TailwindClassProp>, RealProps {
|
|
71
71
|
}
|
|
72
|
-
declare const _default:
|
|
73
|
-
|
|
74
|
-
|
|
72
|
+
declare const _default: typeof __VLS_export;
|
|
73
|
+
export default _default;
|
|
74
|
+
declare const __VLS_export: <T>(__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<{
|
|
75
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<Props> & (typeof globalThis extends {
|
|
76
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
77
|
+
} ? P : {});
|
|
78
|
+
expose: (exposed: import("vue").ShallowUnwrapRef<{
|
|
75
79
|
forceRecalculateFixedVirtualizer: () => void;
|
|
76
|
-
}>)
|
|
80
|
+
}>) => void;
|
|
77
81
|
attrs: any;
|
|
78
82
|
slots: {
|
|
79
|
-
[x: string]: ((props: {
|
|
80
|
-
colKey:
|
|
83
|
+
[x: `header-${string}`]: ((props: {
|
|
84
|
+
colKey: string | number | symbol;
|
|
81
85
|
config: any;
|
|
82
86
|
style: {
|
|
83
|
-
width:
|
|
87
|
+
width: undefined;
|
|
84
88
|
};
|
|
85
|
-
class:
|
|
89
|
+
class: string | undefined;
|
|
86
90
|
}) => any) | undefined;
|
|
87
91
|
} & {
|
|
88
92
|
[x: string]: ((props: {
|
|
89
|
-
class:
|
|
93
|
+
class: string | undefined;
|
|
94
|
+
style: {
|
|
95
|
+
width: undefined;
|
|
96
|
+
};
|
|
97
|
+
item: any;
|
|
98
|
+
value: any;
|
|
99
|
+
}) => any) | undefined;
|
|
100
|
+
[x: number]: ((props: {
|
|
101
|
+
class: string | undefined;
|
|
90
102
|
style: {
|
|
91
|
-
width:
|
|
103
|
+
width: undefined;
|
|
104
|
+
};
|
|
105
|
+
item: any;
|
|
106
|
+
value: any;
|
|
107
|
+
}) => any) | undefined;
|
|
108
|
+
[x: symbol]: ((props: {
|
|
109
|
+
class: string | undefined;
|
|
110
|
+
style: {
|
|
111
|
+
width: undefined;
|
|
92
112
|
};
|
|
93
113
|
item: any;
|
|
94
114
|
value: any;
|
|
@@ -98,7 +118,8 @@ declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>
|
|
|
98
118
|
}>) => import("vue").VNode & {
|
|
99
119
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
100
120
|
};
|
|
101
|
-
|
|
102
|
-
|
|
121
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
122
|
+
[K in keyof T]: T[K];
|
|
123
|
+
} : {
|
|
103
124
|
[K in keyof T as K]: T[K];
|
|
104
|
-
} & {};
|
|
125
|
+
}) & {};
|
|
@@ -69,26 +69,46 @@ interface Props extends
|
|
|
69
69
|
/** @vue-ignore */
|
|
70
70
|
Partial<Omit<TableHTMLAttributes, "class" | "readonly" | "disabled"> & TailwindClassProp>, RealProps {
|
|
71
71
|
}
|
|
72
|
-
declare const _default:
|
|
73
|
-
|
|
74
|
-
|
|
72
|
+
declare const _default: typeof __VLS_export;
|
|
73
|
+
export default _default;
|
|
74
|
+
declare const __VLS_export: <T>(__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<{
|
|
75
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<Props> & (typeof globalThis extends {
|
|
76
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
77
|
+
} ? P : {});
|
|
78
|
+
expose: (exposed: import("vue").ShallowUnwrapRef<{
|
|
75
79
|
forceRecalculateFixedVirtualizer: () => void;
|
|
76
|
-
}>)
|
|
80
|
+
}>) => void;
|
|
77
81
|
attrs: any;
|
|
78
82
|
slots: {
|
|
79
|
-
[x: string]: ((props: {
|
|
80
|
-
colKey:
|
|
83
|
+
[x: `header-${string}`]: ((props: {
|
|
84
|
+
colKey: string | number | symbol;
|
|
81
85
|
config: any;
|
|
82
86
|
style: {
|
|
83
|
-
width:
|
|
87
|
+
width: undefined;
|
|
84
88
|
};
|
|
85
|
-
class:
|
|
89
|
+
class: string | undefined;
|
|
86
90
|
}) => any) | undefined;
|
|
87
91
|
} & {
|
|
88
92
|
[x: string]: ((props: {
|
|
89
|
-
class:
|
|
93
|
+
class: string | undefined;
|
|
94
|
+
style: {
|
|
95
|
+
width: undefined;
|
|
96
|
+
};
|
|
97
|
+
item: any;
|
|
98
|
+
value: any;
|
|
99
|
+
}) => any) | undefined;
|
|
100
|
+
[x: number]: ((props: {
|
|
101
|
+
class: string | undefined;
|
|
90
102
|
style: {
|
|
91
|
-
width:
|
|
103
|
+
width: undefined;
|
|
104
|
+
};
|
|
105
|
+
item: any;
|
|
106
|
+
value: any;
|
|
107
|
+
}) => any) | undefined;
|
|
108
|
+
[x: symbol]: ((props: {
|
|
109
|
+
class: string | undefined;
|
|
110
|
+
style: {
|
|
111
|
+
width: undefined;
|
|
92
112
|
};
|
|
93
113
|
item: any;
|
|
94
114
|
value: any;
|
|
@@ -98,7 +118,8 @@ declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>
|
|
|
98
118
|
}>) => import("vue").VNode & {
|
|
99
119
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
100
120
|
};
|
|
101
|
-
|
|
102
|
-
|
|
121
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
122
|
+
[K in keyof T]: T[K];
|
|
123
|
+
} : {
|
|
103
124
|
[K in keyof T as K]: T[K];
|
|
104
|
-
} & {};
|
|
125
|
+
}) & {};
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
2
4
|
modelValue: string;
|
|
3
5
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
4
6
|
"update:modelValue": (value: string) => any;
|
|
@@ -9,7 +11,6 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
9
11
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
10
12
|
default?: (props: {}) => any;
|
|
11
13
|
}>;
|
|
12
|
-
export default _default;
|
|
13
14
|
type __VLS_WithSlots<T, S> = T & {
|
|
14
15
|
new (): {
|
|
15
16
|
$slots: S;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
2
4
|
modelValue: string;
|
|
3
5
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
4
6
|
"update:modelValue": (value: string) => any;
|
|
@@ -9,7 +11,6 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
9
11
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
10
12
|
default?: (props: {}) => any;
|
|
11
13
|
}>;
|
|
12
|
-
export default _default;
|
|
13
14
|
type __VLS_WithSlots<T, S> = T & {
|
|
14
15
|
new (): {
|
|
15
16
|
$slots: S;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
2
|
showOutline: boolean;
|
|
3
3
|
};
|
|
4
|
-
declare const
|
|
4
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
5
|
+
declare const _default: typeof __VLS_export;
|
|
5
6
|
export default _default;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
2
|
showOutline: boolean;
|
|
3
3
|
};
|
|
4
|
-
declare const
|
|
4
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
5
|
+
declare const _default: typeof __VLS_export;
|
|
5
6
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@witchcraft/ui",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.21",
|
|
4
4
|
"description": "Vue component library.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/runtime/main.lib.js",
|
|
@@ -49,9 +49,9 @@
|
|
|
49
49
|
"failOnWarn": false
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
|
-
"tailwindcss": "^4.1.
|
|
53
|
-
"unplugin-icons": "^22.
|
|
54
|
-
"vue": "^3.5.
|
|
52
|
+
"tailwindcss": "^4.1.18",
|
|
53
|
+
"unplugin-icons": "^22.5.0",
|
|
54
|
+
"vue": "^3.5.27"
|
|
55
55
|
},
|
|
56
56
|
"peerDependenciesMeta": {
|
|
57
57
|
"tailwindcss": {
|
|
@@ -62,82 +62,82 @@
|
|
|
62
62
|
}
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
|
-
"@alanscodelog/utils": "^6.0.
|
|
66
|
-
"@iconify/json": "^2.2.
|
|
67
|
-
"@nuxt/kit": "^4.
|
|
68
|
-
"@nuxt/schema": "^4.
|
|
65
|
+
"@alanscodelog/utils": "^6.0.2",
|
|
66
|
+
"@iconify/json": "^2.2.437",
|
|
67
|
+
"@nuxt/kit": "^4.3.1",
|
|
68
|
+
"@nuxt/schema": "^4.3.1",
|
|
69
69
|
"@nuxt/types": "^2.18.1",
|
|
70
|
-
"@tailwindcss/vite": "^4.1.
|
|
70
|
+
"@tailwindcss/vite": "^4.1.18",
|
|
71
71
|
"@witchcraft/nuxt-utils": "^0.3.6",
|
|
72
72
|
"colord": "^2.9.3",
|
|
73
73
|
"colorjs.io": "0.6.0-alpha.1",
|
|
74
74
|
"defu": "^6.1.4",
|
|
75
75
|
"fast-glob": "^3.3.3",
|
|
76
76
|
"metamorphosis": "^0.6.1",
|
|
77
|
-
"reka-ui": "^2.
|
|
78
|
-
"tailwind-merge": "^3.
|
|
79
|
-
"unplugin-icons": "^22.
|
|
77
|
+
"reka-ui": "^2.8.0",
|
|
78
|
+
"tailwind-merge": "^3.4.0",
|
|
79
|
+
"unplugin-icons": "^22.5.0",
|
|
80
80
|
"unplugin-vue-components": "^28.8.0",
|
|
81
81
|
"vue-component-type-helpers": "^2.2.12"
|
|
82
82
|
},
|
|
83
83
|
"devDependencies": {
|
|
84
84
|
"@alanscodelog/commitlint-config": "^3.1.2",
|
|
85
|
-
"@alanscodelog/eslint-config": "^6.3.
|
|
86
|
-
"@alanscodelog/semantic-release-config": "^6.0.
|
|
85
|
+
"@alanscodelog/eslint-config": "^6.3.1",
|
|
86
|
+
"@alanscodelog/semantic-release-config": "^6.0.2",
|
|
87
87
|
"@alanscodelog/tsconfigs": "^6.2.0",
|
|
88
|
-
"@alanscodelog/vite-config": "^0.0.
|
|
88
|
+
"@alanscodelog/vite-config": "^0.0.7",
|
|
89
89
|
"@chromatic-com/storybook": "^3.2.7",
|
|
90
|
-
"@commitlint/cli": "^
|
|
91
|
-
"@internationalized/date": "^3.
|
|
92
|
-
"@faker-js/faker": "^10.
|
|
93
|
-
"@nuxt/eslint-config": "^1.
|
|
90
|
+
"@commitlint/cli": "^20.4.1",
|
|
91
|
+
"@internationalized/date": "^3.11.0",
|
|
92
|
+
"@faker-js/faker": "^10.3.0",
|
|
93
|
+
"@nuxt/eslint-config": "^1.14.0",
|
|
94
94
|
"@nuxt/module-builder": "^1.0.2",
|
|
95
95
|
"@nuxtjs/i18n": "^9.5.6",
|
|
96
|
-
"@playwright/test": "
|
|
97
|
-
"@rollup/plugin-node-resolve": "^16.0.
|
|
98
|
-
"@storybook/addon-a11y": "^8.6.
|
|
99
|
-
"@storybook/addon-actions": "^8.6.
|
|
96
|
+
"@playwright/test": "^1.54.0",
|
|
97
|
+
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
98
|
+
"@storybook/addon-a11y": "^8.6.15",
|
|
99
|
+
"@storybook/addon-actions": "^8.6.15",
|
|
100
100
|
"@storybook/addon-essentials": "^8.6.14",
|
|
101
101
|
"@storybook/addon-interactions": "^8.6.14",
|
|
102
|
-
"@storybook/addon-links": "^8.6.
|
|
102
|
+
"@storybook/addon-links": "^8.6.15",
|
|
103
103
|
"@storybook/addon-storysource": "^8.6.14",
|
|
104
104
|
"@storybook/blocks": "^8.6.14",
|
|
105
105
|
"@storybook/manager-api": "^8.6.14",
|
|
106
|
-
"@storybook/test": "^8.6.
|
|
106
|
+
"@storybook/test": "^8.6.15",
|
|
107
107
|
"@storybook/test-runner": "^0.22.1",
|
|
108
|
-
"@storybook/vue3": "^8.6.
|
|
109
|
-
"@storybook/vue3-vite": "^8.6.
|
|
110
|
-
"@tanstack/vue-virtual": "^3.13.
|
|
111
|
-
"@tailwindcss/cli": "^4.1.
|
|
112
|
-
"@tailwindcss/postcss": "^4.1.
|
|
113
|
-
"@types/node": "^24.
|
|
114
|
-
"@vitejs/plugin-vue": "^6.0.
|
|
115
|
-
"@vue/runtime-core": "^3.5.
|
|
116
|
-
"@vue/runtime-dom": "^3.5.
|
|
117
|
-
"@vueuse/components": "^13.
|
|
118
|
-
"@vueuse/core": "^13.
|
|
119
|
-
"autoprefixer": "^10.4.
|
|
108
|
+
"@storybook/vue3": "^8.6.15",
|
|
109
|
+
"@storybook/vue3-vite": "^8.6.15",
|
|
110
|
+
"@tanstack/vue-virtual": "^3.13.18",
|
|
111
|
+
"@tailwindcss/cli": "^4.1.18",
|
|
112
|
+
"@tailwindcss/postcss": "^4.1.18",
|
|
113
|
+
"@types/node": "^24.10.12",
|
|
114
|
+
"@vitejs/plugin-vue": "^6.0.4",
|
|
115
|
+
"@vue/runtime-core": "^3.5.27",
|
|
116
|
+
"@vue/runtime-dom": "^3.5.27",
|
|
117
|
+
"@vueuse/components": "^13.9.0",
|
|
118
|
+
"@vueuse/core": "^13.9.0",
|
|
119
|
+
"autoprefixer": "^10.4.24",
|
|
120
120
|
"concurrently": "^9.2.1",
|
|
121
|
-
"eslint": "^9.
|
|
121
|
+
"eslint": "^9.39.2",
|
|
122
122
|
"http-server": "^14.1.1",
|
|
123
123
|
"husky": "^9.1.7",
|
|
124
124
|
"indexit": "2.1.0-beta.3",
|
|
125
125
|
"madge": "^7.0.0",
|
|
126
|
-
"nuxt": "^4.
|
|
127
|
-
"playwright": "
|
|
128
|
-
"playwright-core": "
|
|
129
|
-
"semantic-release": "^24.2.
|
|
130
|
-
"storybook": "^8.6.
|
|
126
|
+
"nuxt": "^4.3.1",
|
|
127
|
+
"playwright": "^1.54.0",
|
|
128
|
+
"playwright-core": "^1.54.0",
|
|
129
|
+
"semantic-release": "^24.2.9",
|
|
130
|
+
"storybook": "^8.6.15",
|
|
131
131
|
"storybook-dark-mode": "^4.0.2",
|
|
132
|
-
"tailwindcss": "^4.1.
|
|
132
|
+
"tailwindcss": "^4.1.18",
|
|
133
133
|
"ts-node": "^10.9.2",
|
|
134
|
-
"typescript": "^5.9.
|
|
134
|
+
"typescript": "^5.9.3",
|
|
135
135
|
"unbuild": "^3.6.1",
|
|
136
|
-
"vite": "^7.1
|
|
137
|
-
"vite-tsconfig-paths": "^
|
|
138
|
-
"vue": "^3.5.
|
|
139
|
-
"vue-tsc": "3.
|
|
140
|
-
"wait-on": "^8.0.
|
|
136
|
+
"vite": "^7.3.1",
|
|
137
|
+
"vite-tsconfig-paths": "^6.1.0",
|
|
138
|
+
"vue": "^3.5.27",
|
|
139
|
+
"vue-tsc": "3.2.4",
|
|
140
|
+
"wait-on": "^8.0.5"
|
|
141
141
|
},
|
|
142
142
|
"author": "Alan <alanscodelog@gmail.com>",
|
|
143
143
|
"repository": "https://github.com/witchcraftjs/ui",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
@theme {
|
|
12
|
-
--animate-blinkInf: blink 1s linear
|
|
12
|
+
--animate-blinkInf: blink 1s linear infinite;
|
|
13
13
|
@keyframes blink {
|
|
14
14
|
0% {
|
|
15
15
|
opacity: 0;
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
--animate-slideBgInf: slide-bg 10s linear-infinite;
|
|
31
|
+
--animate-slideBgInf: slide-bg 10s ease-in-out linear-infinite;
|
|
32
32
|
@keyframes slide {
|
|
33
33
|
0% {
|
|
34
34
|
background-position:0%;
|
|
@@ -121,8 +121,10 @@ interface Props
|
|
|
121
121
|
Partial<Omit<
|
|
122
122
|
InputHTMLAttributes,
|
|
123
123
|
"class" | "readonly" | "disabled" | "onSumbit"
|
|
124
|
+
// https://github.com/vuejs/core/pull/14237
|
|
125
|
+
| "autocomplete"
|
|
124
126
|
> & TailwindClassProp>,
|
|
125
|
-
/** @vue-ignore */
|
|
127
|
+
// /** @vue-ignore */
|
|
126
128
|
WrapperTypes,
|
|
127
129
|
RealProps
|
|
128
130
|
{}
|