@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.
Files changed (34) hide show
  1. package/dist/{AlertCircleIcon-CAI875i_.js → AlertCircleIcon-KsVsZWRa.js} +1 -1
  2. package/dist/{ArrowDownIcon-BKDnOZw0.js → ArrowDownIcon-rleWFTiV.js} +1 -1
  3. package/dist/{ArrowLeftIcon-CBc5LZTd.js → ArrowLeftIcon-UsZ7kb6f.js} +1 -1
  4. package/dist/{ArrowRightIcon-6tSoyW26.js → ArrowRightIcon-vcWFUOZU.js} +1 -1
  5. package/dist/{ArrowUpIcon-tZccou4Q.js → ArrowUpIcon-B4HNtBee.js} +1 -1
  6. package/dist/{CalendarIcon-BFyon0sr.js → CalendarIcon-Dn2fuvxQ.js} +1 -1
  7. package/dist/{CheckCircleIcon-o86pw669.js → CheckCircleIcon-DK5Na4k0.js} +1 -1
  8. package/dist/{CheckIcon-BJ-LROqY.js → CheckIcon-Be3cvsdF.js} +1 -1
  9. package/dist/{ChevronLeftDoubleIcon-C8JOJk79.js → ChevronLeftDoubleIcon-FtcqoVgn.js} +1 -1
  10. package/dist/{ChevronLeftIcon-CtXh_vN0.js → ChevronLeftIcon-COelBmBZ.js} +1 -1
  11. package/dist/{ChevronRightDoubleIcon-Brl7fAS7.js → ChevronRightDoubleIcon-B0j-j-yN.js} +1 -1
  12. package/dist/{ChevronRightIcon-Cks8B81U.js → ChevronRightIcon-DL9TMuvb.js} +1 -1
  13. package/dist/{CloseIcon-B0gK1Ou8.js → CloseIcon-sMWX7X1R.js} +1 -1
  14. package/dist/{EyeIcon-DFjHJbTJ.js → EyeIcon-Cbv2QABs.js} +1 -1
  15. package/dist/{EyeOffIcon-ZoSG0Aij.js → EyeOffIcon-BR5qk6YE.js} +1 -1
  16. package/dist/{InfoCircleIcon-CQu5nLMs.js → InfoCircleIcon-fO9c5CcZ.js} +1 -1
  17. package/dist/{MinusIcon-CihagYaW.js → MinusIcon-By3QTgR8.js} +1 -1
  18. package/dist/{PlusIcon-C9z7hlEe.js → PlusIcon-D7ZNPGSp.js} +1 -1
  19. package/dist/{SearchIcon-Dzzb2JN9.js → SearchIcon-BJ62_Y6p.js} +1 -1
  20. package/dist/{SelectIconRight-CujZz4Za.js → SelectIconRight-DFZtNZSq.js} +1 -1
  21. package/dist/{StarsIcon-DaJr238N.js → StarsIcon-DwKr7R20.js} +1 -1
  22. package/dist/{SwitchVerticalIcon-JMNIeT6a.js → SwitchVerticalIcon-Cn260Pzx.js} +1 -1
  23. package/dist/{TranslateIcon-CgtmwbrJ.js → TranslateIcon-CcaPoHM5.js} +1 -1
  24. package/dist/components/dialog/index.d.ts +1 -0
  25. package/dist/components/number-field/parts/NumberFieldRoot.d.ts +1 -1
  26. package/dist/components/select/style/select.style.d.ts +3 -0
  27. package/dist/components/textarea/parts/TextareaRoot.d.ts +1 -1
  28. package/dist/components/time-field/TimeField.d.ts +17 -25
  29. package/dist/components/time-field/parts/TimeFieldRoot.d.ts +17 -47
  30. package/dist/composables/appearance/appearance.composable.d.ts +2 -1
  31. package/dist/{index-rJHhNScb.js → index-DjNheKNg.js} +1806 -1793
  32. package/dist/index.js +1 -1
  33. package/dist/index.umd +15 -15
  34. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as o, openBlock as t, createElementVNode as r } from "vue";
2
- import { _ as n } from "./index-rJHhNScb.js";
2
+ import { _ as n } from "./index-DjNheKNg.js";
3
3
  const s = {}, l = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as e, openBlock as t, createElementVNode as r } from "vue";
2
- import { _ as n } from "./index-rJHhNScb.js";
2
+ import { _ as n } from "./index-DjNheKNg.js";
3
3
  const s = {}, c = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as o, openBlock as t, createElementVNode as r } from "vue";
2
- import { _ as n } from "./index-rJHhNScb.js";
2
+ import { _ as n } from "./index-DjNheKNg.js";
3
3
  const s = {}, c = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as e, openBlock as t, createElementVNode as r } from "vue";
2
- import { _ as n } from "./index-rJHhNScb.js";
2
+ import { _ as n } from "./index-DjNheKNg.js";
3
3
  const s = {}, i = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as e, openBlock as t, createElementVNode as r } from "vue";
2
- import { _ as n } from "./index-rJHhNScb.js";
2
+ import { _ as n } from "./index-DjNheKNg.js";
3
3
  const s = {}, c = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as o, openBlock as t, createElementVNode as r } from "vue";
2
- import { _ as n } from "./index-rJHhNScb.js";
2
+ import { _ as n } from "./index-DjNheKNg.js";
3
3
  const s = {}, l = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as o, openBlock as t, createElementVNode as r } from "vue";
2
- import { _ as n } from "./index-rJHhNScb.js";
2
+ import { _ as n } from "./index-DjNheKNg.js";
3
3
  const s = {}, c = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as o, openBlock as t, createElementVNode as r } from "vue";
2
- import { _ as n } from "./index-rJHhNScb.js";
2
+ import { _ as n } from "./index-DjNheKNg.js";
3
3
  const s = {}, c = {
4
4
  xmlns: "http://www.w3.org/2000/svg",
5
5
  width: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as o, openBlock as t, createElementVNode as r } from "vue";
2
- import { _ as n } from "./index-rJHhNScb.js";
2
+ import { _ as n } from "./index-DjNheKNg.js";
3
3
  const s = {}, l = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as o, openBlock as t, createElementVNode as r } from "vue";
2
- import { _ as n } from "./index-rJHhNScb.js";
2
+ import { _ as n } from "./index-DjNheKNg.js";
3
3
  const s = {}, c = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as o, openBlock as t, createElementVNode as r } from "vue";
2
- import { _ as n } from "./index-rJHhNScb.js";
2
+ import { _ as n } from "./index-DjNheKNg.js";
3
3
  const s = {}, i = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as o, openBlock as t, createElementVNode as r } from "vue";
2
- import { _ as n } from "./index-rJHhNScb.js";
2
+ import { _ as n } from "./index-DjNheKNg.js";
3
3
  const s = {}, i = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as o, openBlock as t, createElementVNode as r } from "vue";
2
- import { _ as n } from "./index-rJHhNScb.js";
2
+ import { _ as n } from "./index-DjNheKNg.js";
3
3
  const s = {}, l = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as t, openBlock as r, createElementVNode as e } from "vue";
2
- import { _ as n } from "./index-rJHhNScb.js";
2
+ import { _ as n } from "./index-DjNheKNg.js";
3
3
  const s = {}, l = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as o, openBlock as t, createElementVNode as r } from "vue";
2
- import { _ as n } from "./index-rJHhNScb.js";
2
+ import { _ as n } from "./index-DjNheKNg.js";
3
3
  const s = {}, C = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as t, openBlock as r, createElementVNode as o } from "vue";
2
- import { _ as n } from "./index-rJHhNScb.js";
2
+ import { _ as n } from "./index-DjNheKNg.js";
3
3
  const c = {}, i = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as o, openBlock as t, createElementVNode as n } from "vue";
2
- import { _ as r } from "./index-rJHhNScb.js";
2
+ import { _ as r } from "./index-DjNheKNg.js";
3
3
  const s = {}, i = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as o, openBlock as t, createElementVNode as r } from "vue";
2
- import { _ as n } from "./index-rJHhNScb.js";
2
+ import { _ as n } from "./index-DjNheKNg.js";
3
3
  const s = {}, l = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as o, openBlock as t, createElementVNode as r } from "vue";
2
- import { _ as n } from "./index-rJHhNScb.js";
2
+ import { _ as n } from "./index-DjNheKNg.js";
3
3
  const s = {}, c = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as t, openBlock as o, createElementVNode as r } from "vue";
2
- import { _ as n } from "./index-rJHhNScb.js";
2
+ import { _ as n } from "./index-DjNheKNg.js";
3
3
  const s = {}, c = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as o, openBlock as t, createElementVNode as r } from "vue";
2
- import { _ as n } from "./index-rJHhNScb.js";
2
+ import { _ as n } from "./index-DjNheKNg.js";
3
3
  const s = {}, c = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as t, openBlock as o, createElementVNode as r } from "vue";
2
- import { _ as n } from "./index-rJHhNScb.js";
2
+ import { _ as n } from "./index-DjNheKNg.js";
3
3
  const s = {}, c = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as o, openBlock as t, createElementVNode as r } from "vue";
2
- import { _ as n } from "./index-rJHhNScb.js";
2
+ import { _ as n } from "./index-DjNheKNg.js";
3
3
  const s = {}, l = {
4
4
  width: "100%",
5
5
  height: "100%",
@@ -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
- type __VLS_Props = TimeFieldProps;
4
- type __VLS_PublicProps = {
5
- modelValue: string | null;
6
- } & __VLS_Props;
7
- declare function __VLS_template(): {
8
- attrs: Partial<{}>;
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
- refs: {};
11
- rootEl: HTMLDivElement;
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 __VLS_WithTemplateSlots<T, S> = T & {
27
- new (): {
28
- $slots: S;
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
- type __VLS_Props = TimeFieldProps;
3
- type __VLS_PublicProps = {
4
- modelValue: string | null;
5
- } & __VLS_Props;
6
- declare function __VLS_template(): {
7
- attrs: Partial<{}>;
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
- refs: {};
17
- rootEl: any;
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 __VLS_WithTemplateSlots<T, S> = T & {
55
- new (): {
56
- $slots: S;
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 - use `useStorage` directly in your project
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>;