@wisemen/vue-core-components 1.5.3 → 1.5.4
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/{AlertCircleIcon-CAI875i_.js → AlertCircleIcon-KsVsZWRa.js} +1 -1
- package/dist/{ArrowDownIcon-BKDnOZw0.js → ArrowDownIcon-rleWFTiV.js} +1 -1
- package/dist/{ArrowLeftIcon-CBc5LZTd.js → ArrowLeftIcon-UsZ7kb6f.js} +1 -1
- package/dist/{ArrowRightIcon-6tSoyW26.js → ArrowRightIcon-vcWFUOZU.js} +1 -1
- package/dist/{ArrowUpIcon-tZccou4Q.js → ArrowUpIcon-B4HNtBee.js} +1 -1
- package/dist/{CalendarIcon-BFyon0sr.js → CalendarIcon-Dn2fuvxQ.js} +1 -1
- package/dist/{CheckCircleIcon-o86pw669.js → CheckCircleIcon-DK5Na4k0.js} +1 -1
- package/dist/{CheckIcon-BJ-LROqY.js → CheckIcon-Be3cvsdF.js} +1 -1
- package/dist/{ChevronLeftDoubleIcon-C8JOJk79.js → ChevronLeftDoubleIcon-FtcqoVgn.js} +1 -1
- package/dist/{ChevronLeftIcon-CtXh_vN0.js → ChevronLeftIcon-COelBmBZ.js} +1 -1
- package/dist/{ChevronRightDoubleIcon-Brl7fAS7.js → ChevronRightDoubleIcon-B0j-j-yN.js} +1 -1
- package/dist/{ChevronRightIcon-Cks8B81U.js → ChevronRightIcon-DL9TMuvb.js} +1 -1
- package/dist/{CloseIcon-B0gK1Ou8.js → CloseIcon-sMWX7X1R.js} +1 -1
- package/dist/{EyeIcon-DFjHJbTJ.js → EyeIcon-Cbv2QABs.js} +1 -1
- package/dist/{EyeOffIcon-ZoSG0Aij.js → EyeOffIcon-BR5qk6YE.js} +1 -1
- package/dist/{InfoCircleIcon-CQu5nLMs.js → InfoCircleIcon-fO9c5CcZ.js} +1 -1
- package/dist/{MinusIcon-CihagYaW.js → MinusIcon-By3QTgR8.js} +1 -1
- package/dist/{PlusIcon-C9z7hlEe.js → PlusIcon-D7ZNPGSp.js} +1 -1
- package/dist/{SearchIcon-Dzzb2JN9.js → SearchIcon-BJ62_Y6p.js} +1 -1
- package/dist/{SelectIconRight-CujZz4Za.js → SelectIconRight-DFZtNZSq.js} +1 -1
- package/dist/{StarsIcon-DaJr238N.js → StarsIcon-DwKr7R20.js} +1 -1
- package/dist/{SwitchVerticalIcon-JMNIeT6a.js → SwitchVerticalIcon-Cn260Pzx.js} +1 -1
- package/dist/{TranslateIcon-CgtmwbrJ.js → TranslateIcon-CcaPoHM5.js} +1 -1
- package/dist/components/dialog/index.d.ts +1 -0
- package/dist/components/number-field/parts/NumberFieldRoot.d.ts +1 -1
- package/dist/components/select/style/select.style.d.ts +3 -0
- package/dist/components/textarea/parts/TextareaRoot.d.ts +1 -1
- package/dist/components/time-field/TimeField.d.ts +17 -25
- package/dist/components/time-field/parts/TimeFieldRoot.d.ts +17 -47
- package/dist/composables/appearance/appearance.composable.d.ts +2 -1
- package/dist/{index-rJHhNScb.js → index-DjNheKNg.js} +1806 -1793
- package/dist/index.js +1 -1
- package/dist/index.umd +15 -15
- package/package.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { useDialog as useVcDialog } from './dialog.composable';
|
|
2
2
|
export type { DialogProps as VcDialogProps } from './dialog.props';
|
|
3
|
+
export type { DialogTriggerProps as VcDialogTriggerProps } from './dialog.type';
|
|
3
4
|
export { default as VcDialog } from './Dialog';
|
|
4
5
|
export { default as VcDialogContainer } from './DialogContainer';
|
|
5
6
|
export { default as VcDialogCloseButton } from './parts/DialogCloseButton';
|
|
@@ -28,8 +28,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
28
28
|
iconRight: import('../../..').Icon | null;
|
|
29
29
|
label: string | null;
|
|
30
30
|
hint: string | null;
|
|
31
|
-
isLoading: boolean;
|
|
32
31
|
placeholder: string | null;
|
|
32
|
+
isLoading: boolean;
|
|
33
33
|
testId: string | null;
|
|
34
34
|
isDisabled: boolean;
|
|
35
35
|
id: string | null;
|
|
@@ -15,6 +15,7 @@ export declare const createSelectStyle: import('tailwind-variants').TVReturnType
|
|
|
15
15
|
item: string;
|
|
16
16
|
itemIndicator: string;
|
|
17
17
|
loader: string;
|
|
18
|
+
placeholder: string;
|
|
18
19
|
root: string;
|
|
19
20
|
searchInput: string;
|
|
20
21
|
separator: string;
|
|
@@ -34,6 +35,7 @@ export declare const createSelectStyle: import('tailwind-variants').TVReturnType
|
|
|
34
35
|
item: string;
|
|
35
36
|
itemIndicator: string;
|
|
36
37
|
loader: string;
|
|
38
|
+
placeholder: string;
|
|
37
39
|
root: string;
|
|
38
40
|
searchInput: string;
|
|
39
41
|
separator: string;
|
|
@@ -53,6 +55,7 @@ export declare const createSelectStyle: import('tailwind-variants').TVReturnType
|
|
|
53
55
|
item: string;
|
|
54
56
|
itemIndicator: string;
|
|
55
57
|
loader: string;
|
|
58
|
+
placeholder: string;
|
|
56
59
|
root: string;
|
|
57
60
|
searchInput: string;
|
|
58
61
|
separator: string;
|
|
@@ -25,8 +25,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
25
25
|
variant: null;
|
|
26
26
|
label: string | null;
|
|
27
27
|
hint: string | null;
|
|
28
|
-
resize: "auto-vertical" | "both" | "horizontal" | "none" | "vertical";
|
|
29
28
|
placeholder: string | null;
|
|
29
|
+
resize: "auto-vertical" | "both" | "horizontal" | "none" | "vertical";
|
|
30
30
|
testId: string | null;
|
|
31
31
|
isDisabled: boolean;
|
|
32
32
|
id: string | null;
|
|
@@ -1,30 +1,22 @@
|
|
|
1
|
+
import { TimeFieldEmits } from './timeField.emits';
|
|
1
2
|
import { TimeFieldProps } from './timeField.props';
|
|
2
3
|
import { TimeFieldSlots } from './timeField.slots';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
declare const _default: <TValue extends string>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
5
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
6
|
+
readonly onFocus?: ((e: FocusEvent) => any) | undefined;
|
|
7
|
+
readonly onBlur?: ((e: FocusEvent) => any) | undefined;
|
|
8
|
+
readonly "onUpdate:modelValue"?: ((value: TValue | null) => any) | undefined;
|
|
9
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onFocus" | "onBlur" | "onUpdate:modelValue"> & ({
|
|
10
|
+
modelValue: TValue | null;
|
|
11
|
+
} & TimeFieldProps) & Partial<{}>> & import('vue').PublicProps;
|
|
12
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
13
|
+
attrs: any;
|
|
9
14
|
slots: Readonly<TimeFieldSlots> & TimeFieldSlots;
|
|
10
|
-
|
|
11
|
-
|
|
15
|
+
emit: TimeFieldEmits & ((evt: "update:modelValue", value: TValue | null) => void);
|
|
16
|
+
}>) => import('vue').VNode & {
|
|
17
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
12
18
|
};
|
|
13
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
|
-
"update:modelValue": (value: string | null) => any;
|
|
16
|
-
} & {
|
|
17
|
-
focus: (e: FocusEvent) => any;
|
|
18
|
-
blur: (e: FocusEvent) => any;
|
|
19
|
-
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
20
|
-
onFocus?: ((e: FocusEvent) => any) | undefined;
|
|
21
|
-
onBlur?: ((e: FocusEvent) => any) | undefined;
|
|
22
|
-
"onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
|
|
23
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
24
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
25
19
|
export default _default;
|
|
26
|
-
type
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
};
|
|
30
|
-
};
|
|
20
|
+
type __VLS_PrettifyLocal<T> = {
|
|
21
|
+
[K in keyof T]: T[K];
|
|
22
|
+
} & {};
|
|
@@ -1,10 +1,15 @@
|
|
|
1
|
+
import { TimeFieldEmits } from '../timeField.emits';
|
|
1
2
|
import { TimeFieldProps } from '../timeField.props';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
declare const _default: <TValue extends string>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
5
|
+
readonly onFocus?: ((e: FocusEvent) => any) | undefined;
|
|
6
|
+
readonly onBlur?: ((e: FocusEvent) => any) | undefined;
|
|
7
|
+
readonly "onUpdate:modelValue"?: ((value: TValue | null) => any) | undefined;
|
|
8
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onFocus" | "onBlur" | "onUpdate:modelValue"> & ({
|
|
9
|
+
modelValue: TValue | null;
|
|
10
|
+
} & TimeFieldProps) & Partial<{}>> & import('vue').PublicProps;
|
|
11
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
12
|
+
attrs: any;
|
|
8
13
|
slots: {
|
|
9
14
|
default?(_: {
|
|
10
15
|
segments: {
|
|
@@ -13,46 +18,11 @@ declare function __VLS_template(): {
|
|
|
13
18
|
}[];
|
|
14
19
|
}): any;
|
|
15
20
|
};
|
|
16
|
-
|
|
17
|
-
|
|
21
|
+
emit: TimeFieldEmits & ((evt: "update:modelValue", value: TValue | null) => void);
|
|
22
|
+
}>) => import('vue').VNode & {
|
|
23
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
18
24
|
};
|
|
19
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
20
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
21
|
-
"update:modelValue": (value: string | null) => any;
|
|
22
|
-
} & {
|
|
23
|
-
focus: (e: FocusEvent) => any;
|
|
24
|
-
blur: (e: FocusEvent) => any;
|
|
25
|
-
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
26
|
-
onFocus?: ((e: FocusEvent) => any) | undefined;
|
|
27
|
-
onBlur?: ((e: FocusEvent) => any) | undefined;
|
|
28
|
-
"onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
|
|
29
|
-
}>, {
|
|
30
|
-
variant: null;
|
|
31
|
-
iconLeft: import('../../..').Icon | null;
|
|
32
|
-
iconRight: import('../../..').Icon | null;
|
|
33
|
-
label: string | null;
|
|
34
|
-
hint: string | null;
|
|
35
|
-
isLoading: boolean;
|
|
36
|
-
testId: string | null;
|
|
37
|
-
isDisabled: boolean;
|
|
38
|
-
id: string | null;
|
|
39
|
-
isRequired: boolean;
|
|
40
|
-
isTouched: boolean;
|
|
41
|
-
errorMessage: string | null;
|
|
42
|
-
classConfig: {
|
|
43
|
-
iconLeft?: string | undefined;
|
|
44
|
-
iconRight?: string | undefined;
|
|
45
|
-
input?: string | undefined;
|
|
46
|
-
inputs?: string | undefined;
|
|
47
|
-
loader?: string | undefined;
|
|
48
|
-
root?: string | undefined;
|
|
49
|
-
} | null;
|
|
50
|
-
autocomplete: "off" | "on";
|
|
51
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
52
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
53
25
|
export default _default;
|
|
54
|
-
type
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
};
|
|
58
|
-
};
|
|
26
|
+
type __VLS_PrettifyLocal<T> = {
|
|
27
|
+
[K in keyof T]: T[K];
|
|
28
|
+
} & {};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
2
|
export type Appearance = 'dark' | 'light' | 'system';
|
|
3
3
|
/**
|
|
4
|
-
* @deprecated -
|
|
4
|
+
* @deprecated - `useAppearance` has been deprecated. Please use `useStorage`
|
|
5
|
+
* directly in your project moving forward. It will be removed in the next major version.
|
|
5
6
|
*/
|
|
6
7
|
export declare function useAppearance(): Ref<Appearance>;
|