@volverjs/ui-vue 0.0.6-beta.5 → 0.0.6-beta.6

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/Volver.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { type IconifyIcon, type IconifyJSON, type PartialIconifyAPIConfig } from '@iconify/vue';
2
2
  import type { Component, Directive, Plugin, Ref } from 'vue';
3
- export declare function useDefaultProps(component: Component, defaults?: Record<string, unknown>, name?: string): Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
3
+ export declare function useDefaultProps(component: Component, defaults?: Record<string, unknown>, name?: string): Component;
4
4
  export type DefaultOptions = Record<string, Record<string, unknown>>;
5
5
  export type VolverOptions = {
6
6
  /**
@@ -39,7 +39,7 @@ export type VvAccordionPropsTypes = ExtractPropTypes<typeof VvAccordionProps>;
39
39
  * Merges local and group props
40
40
  */
41
41
  export declare function useGroupProps(props: VvAccordionPropsTypes, emit: (event: string, value: unknown) => void): {
42
- modelValue: import("vue").WritableComputedRef<unknown>;
42
+ modelValue: import("vue").WritableComputedRef<any>;
43
43
  not: Ref<boolean>;
44
44
  isInGroup: globalThis.ComputedRef<boolean>;
45
45
  group: Ref<AccordionGroupState> | undefined;
@@ -65,7 +65,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
65
65
  tabindex: string | number;
66
66
  }>, {
67
67
  default: (_: {
68
- value: string | number | boolean | Record<string, any> | undefined;
68
+ value: any;
69
69
  }) => any;
70
70
  }>;
71
71
  export default _default;
@@ -48,7 +48,7 @@ export declare function useGroupProps(props: VvCheckboxPropsTypes, emit: (event:
48
48
  indeterminate: Ref<boolean>;
49
49
  group: Ref<InputGroupState> | undefined;
50
50
  isInGroup: globalThis.ComputedRef<boolean>;
51
- modelValue: import("vue").WritableComputedRef<unknown>;
51
+ modelValue: import("vue").WritableComputedRef<any>;
52
52
  valid: Ref<boolean>;
53
53
  invalid: Ref<boolean>;
54
54
  readonly: globalThis.ComputedRef<boolean>;
@@ -8,7 +8,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
8
8
  default: null;
9
9
  };
10
10
  role: {
11
- type: globalThis.PropType<"menu" | "listbox">;
11
+ type: globalThis.PropType<"listbox" | "menu">;
12
12
  default: import("../../constants").DropdownRole;
13
13
  validator: (value: import("../../constants").DropdownRole) => boolean;
14
14
  };
@@ -118,7 +118,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
118
118
  default: null;
119
119
  };
120
120
  role: {
121
- type: globalThis.PropType<"menu" | "listbox">;
121
+ type: globalThis.PropType<"listbox" | "menu">;
122
122
  default: import("../../constants").DropdownRole;
123
123
  validator: (value: import("../../constants").DropdownRole) => boolean;
124
124
  };
@@ -225,7 +225,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
225
225
  boundary: import("@floating-ui/vue").Boundary;
226
226
  }> | undefined;
227
227
  reference: HTMLElement | null;
228
- role: "menu" | "listbox";
228
+ role: "listbox" | "menu";
229
229
  flip: boolean | Partial<import("@floating-ui/vue").FlipOptions & {
230
230
  rootBoundary: import("@floating-ui/vue").RootBoundary;
231
231
  elementContext: import("@floating-ui/vue").ElementContext;
@@ -19,7 +19,7 @@ export declare const VvDropdownProps: {
19
19
  * Dropdown role
20
20
  */
21
21
  role: {
22
- type: PropType<"menu" | "listbox">;
22
+ type: PropType<"listbox" | "menu">;
23
23
  default: DropdownRole;
24
24
  validator: (value: DropdownRole) => boolean;
25
25
  };
@@ -57,7 +57,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
57
57
  tabindex: string | number;
58
58
  }>, {
59
59
  default: (_: {
60
- value: string | number | boolean | Record<string, any> | undefined;
60
+ value: any;
61
61
  }) => any;
62
62
  }>;
63
63
  export default _default;
@@ -34,7 +34,7 @@ export declare function useGroupProps(props: VvRadioPropsType, emit: (event: (ty
34
34
  id: Ref<string | number | undefined> | undefined;
35
35
  group: Ref<InputGroupState> | undefined;
36
36
  isInGroup: globalThis.ComputedRef<boolean>;
37
- modelValue: import("vue").WritableComputedRef<unknown>;
37
+ modelValue: import("vue").WritableComputedRef<any>;
38
38
  valid: Ref<boolean>;
39
39
  invalid: Ref<boolean>;
40
40
  readonly: globalThis.ComputedRef<boolean>;
@@ -6,5 +6,5 @@ import type GroupState from '../../types/group';
6
6
  export declare function useInjectedGroupState<GroupStateType extends GroupState>(groupKey: string | symbol): {
7
7
  group: Ref<GroupStateType> | undefined;
8
8
  isInGroup: globalThis.ComputedRef<boolean>;
9
- getGroupOrLocalRef: <PropsType extends object>(propName: keyof GroupStateType, props: PropsType, emit?: ((event: string, ...args: unknown[]) => void) | undefined) => import("vue").WritableComputedRef<unknown>;
9
+ getGroupOrLocalRef: <PropsType extends object>(propName: keyof GroupStateType, props: PropsType, emit?: ((event: string, ...args: unknown[]) => void) | undefined) => import("vue").WritableComputedRef<any>;
10
10
  };
@@ -1,5 +1,5 @@
1
1
  declare const _default: {
2
- tooltip: import("vue").Directive<any, any>;
3
- contextmenu: import("vue").Directive<any, any>;
2
+ tooltip: import("vue").Directive;
3
+ contextmenu: import("vue").Directive;
4
4
  };
5
5
  export default _default;
package/dist/icons.es.js CHANGED
@@ -1,5 +1,5 @@
1
1
  const prefix$2 = "normal";
2
- const lastModified$2 = 1680344515;
2
+ const lastModified$2 = 1680766701;
3
3
  const icons$3 = {
4
4
  add: {
5
5
  body: '<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M4 12h16m-8-8v16"/>'
@@ -614,7 +614,7 @@ const normal = {
614
614
  height: height$1
615
615
  };
616
616
  const prefix$1 = "detailed";
617
- const lastModified$1 = 1680344515;
617
+ const lastModified$1 = 1680766701;
618
618
  const icons$2 = {
619
619
  add: {
620
620
  body: '<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M4 15.999h24m-12-12v24"/>'
@@ -1227,7 +1227,7 @@ const detailed = {
1227
1227
  height
1228
1228
  };
1229
1229
  const prefix = "simple";
1230
- const lastModified = 1680344515;
1230
+ const lastModified = 1680766701;
1231
1231
  const icons$1 = {
1232
1232
  add: {
1233
1233
  body: '<path fill="none" stroke="currentColor" stroke-linecap="round" d="M.5 8h15M8 .5v15"/>'