nuance-ui 0.1.10 → 0.1.12

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 (28) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/runtime/components/app-shell/app-shell-main.vue +0 -1
  3. package/dist/runtime/components/checkbox/checkbox-indicator.d.vue.ts +2 -2
  4. package/dist/runtime/components/checkbox/checkbox-indicator.vue.d.ts +2 -2
  5. package/dist/runtime/components/checkbox/checkbox.d.vue.ts +1 -1
  6. package/dist/runtime/components/checkbox/checkbox.vue.d.ts +1 -1
  7. package/dist/runtime/components/chip/chip-group.d.vue.ts +3 -1
  8. package/dist/runtime/components/chip/chip-group.vue.d.ts +3 -1
  9. package/dist/runtime/components/combobox/combobox-group.d.vue.ts +9 -2
  10. package/dist/runtime/components/combobox/combobox-group.vue.d.ts +9 -2
  11. package/dist/runtime/components/combobox/combobox-options-dropdown.d.vue.ts +4 -1
  12. package/dist/runtime/components/combobox/combobox-options-dropdown.vue.d.ts +4 -1
  13. package/dist/runtime/components/input/ui/input-base.d.vue.ts +46 -1
  14. package/dist/runtime/components/input/ui/input-base.vue.d.ts +46 -1
  15. package/dist/runtime/components/progress/progress-section.d.vue.ts +11 -1
  16. package/dist/runtime/components/progress/progress-section.vue +3 -1
  17. package/dist/runtime/components/progress/progress-section.vue.d.ts +11 -1
  18. package/dist/runtime/components/select/select.d.vue.ts +10 -1
  19. package/dist/runtime/components/select/select.vue.d.ts +10 -1
  20. package/dist/runtime/components/tree/_ui/tree-item.d.vue.ts +19 -0
  21. package/dist/runtime/components/tree/_ui/tree-item.vue.d.ts +19 -0
  22. package/dist/runtime/components/tree/_ui/tree-root.d.vue.ts +6 -1
  23. package/dist/runtime/components/tree/_ui/tree-root.vue.d.ts +6 -1
  24. package/dist/runtime/components/tree/tree.d.vue.ts +6 -1
  25. package/dist/runtime/components/tree/tree.vue.d.ts +6 -1
  26. package/dist/runtime/components/visually-hidden/visually-hidden-input.d.vue.ts +3 -1
  27. package/dist/runtime/components/visually-hidden/visually-hidden-input.vue.d.ts +3 -1
  28. package/package.json +1 -1
package/dist/module.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "compatibility": {
5
5
  "nuxt": "^4.0.0"
6
6
  },
7
- "version": "0.1.10",
7
+ "version": "0.1.12",
8
8
  "builder": {
9
9
  "@nuxt/module-builder": "1.0.2",
10
10
  "unbuild": "3.6.1"
@@ -15,7 +15,6 @@ const { mod } = defineProps({
15
15
  <style module lang="postcss">
16
16
  .root {
17
17
  display: grid;
18
- align-content: flex-start;
19
18
 
20
19
  min-height: 100dvh;
21
20
  padding-top: calc(var(--app-shell-header-offset, 0rem) + var(--app-shell-padding));
@@ -14,9 +14,9 @@ type __VLS_ModelProps = {
14
14
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
15
15
  declare var __VLS_6: {
16
16
  mod: {
17
- checked: any;
17
+ checked: boolean | undefined;
18
18
  };
19
- class: any;
19
+ class: string;
20
20
  indeterminate: boolean;
21
21
  };
22
22
  type __VLS_Slots = {} & {
@@ -14,9 +14,9 @@ type __VLS_ModelProps = {
14
14
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
15
15
  declare var __VLS_6: {
16
16
  mod: {
17
- checked: any;
17
+ checked: boolean | undefined;
18
18
  };
19
- class: any;
19
+ class: string;
20
20
  indeterminate: boolean;
21
21
  };
22
22
  type __VLS_Slots = {} & {
@@ -15,7 +15,7 @@ type __VLS_ModelProps = {
15
15
  };
16
16
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
17
17
  declare var __VLS_10: {
18
- class: any;
18
+ class: string;
19
19
  indeterminate: boolean;
20
20
  };
21
21
  type __VLS_Slots = {} & {
@@ -15,7 +15,7 @@ type __VLS_ModelProps = {
15
15
  };
16
16
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
17
17
  declare var __VLS_10: {
18
- class: any;
18
+ class: string;
19
19
  indeterminate: boolean;
20
20
  };
21
21
  type __VLS_Slots = {} & {
@@ -7,7 +7,9 @@ export interface ChipGroupProps<T extends boolean = false> {
7
7
  declare const __VLS_export: <T extends boolean = false>(__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<{
8
8
  props: __VLS_PrettifyLocal<(ChipGroupProps<T> & {
9
9
  modelValue?: ChipGroupValue<T>;
10
- }) & __VLS_EmitsToProps<__VLS_NormalizeEmits<(evt: "update:modelValue", value: ChipGroupValue<T>) => void>>> & import("vue").PublicProps;
10
+ }) & {
11
+ "onUpdate:modelValue"?: ((value: ChipGroupValue<T>) => any) | undefined;
12
+ }> & import("vue").PublicProps;
11
13
  expose: (exposed: {}) => void;
12
14
  attrs: any;
13
15
  slots: {
@@ -7,7 +7,9 @@ export interface ChipGroupProps<T extends boolean = false> {
7
7
  declare const __VLS_export: <T extends boolean = false>(__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<{
8
8
  props: __VLS_PrettifyLocal<(ChipGroupProps<T> & {
9
9
  modelValue?: ChipGroupValue<T>;
10
- }) & __VLS_EmitsToProps<__VLS_NormalizeEmits<(evt: "update:modelValue", value: ChipGroupValue<T>) => void>>> & import("vue").PublicProps;
10
+ }) & {
11
+ "onUpdate:modelValue"?: ((value: ChipGroupValue<T>) => any) | undefined;
12
+ }> & import("vue").PublicProps;
11
13
  expose: (exposed: {}) => void;
12
14
  attrs: any;
13
15
  slots: {
@@ -8,13 +8,20 @@ export interface ComboboxGroupProps<Value extends string = string, Ext extends C
8
8
  declare const __VLS_export: <Value extends string = string, Ext extends ComboboxItemExt = object>(__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<{
9
9
  props: __VLS_PrettifyLocal<(ComboboxGroupProps<Value, Ext> & {
10
10
  value?: ComboboxItem<Value, Ext> | ComboboxItem<Value, Ext>[] | null;
11
- }) & __VLS_EmitsToProps<__VLS_NormalizeEmits<(evt: "update:value", value: ComboboxItem<Value, Ext> | ComboboxItem<Value, Ext>[] | null | undefined) => void>>> & import("vue").PublicProps;
11
+ }) & {
12
+ "onUpdate:value"?: ((value: ComboboxItem<Value, Ext> | ComboboxItem<Value, Ext>[] | null | undefined) => any) | undefined;
13
+ }> & import("vue").PublicProps;
12
14
  expose: (exposed: {}) => void;
13
15
  attrs: any;
14
16
  slots: {
15
17
  label?: (props: {}) => any;
16
18
  } & {
17
- option?: (props: any) => any;
19
+ option?: (props: {
20
+ data: ComboboxItem<Value, Ext>;
21
+ checked: boolean;
22
+ withCheckIcon: boolean;
23
+ iconPosition: "left" | "right";
24
+ }) => any;
18
25
  };
19
26
  emit: (evt: "update:value", value: ComboboxItem<Value, Ext> | ComboboxItem<Value, Ext>[] | null | undefined) => void;
20
27
  }>) => import("vue").VNode & {
@@ -8,13 +8,20 @@ export interface ComboboxGroupProps<Value extends string = string, Ext extends C
8
8
  declare const __VLS_export: <Value extends string = string, Ext extends ComboboxItemExt = object>(__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<{
9
9
  props: __VLS_PrettifyLocal<(ComboboxGroupProps<Value, Ext> & {
10
10
  value?: ComboboxItem<Value, Ext> | ComboboxItem<Value, Ext>[] | null;
11
- }) & __VLS_EmitsToProps<__VLS_NormalizeEmits<(evt: "update:value", value: ComboboxItem<Value, Ext> | ComboboxItem<Value, Ext>[] | null | undefined) => void>>> & import("vue").PublicProps;
11
+ }) & {
12
+ "onUpdate:value"?: ((value: ComboboxItem<Value, Ext> | ComboboxItem<Value, Ext>[] | null | undefined) => any) | undefined;
13
+ }> & import("vue").PublicProps;
12
14
  expose: (exposed: {}) => void;
13
15
  attrs: any;
14
16
  slots: {
15
17
  label?: (props: {}) => any;
16
18
  } & {
17
- option?: (props: any) => any;
19
+ option?: (props: {
20
+ data: ComboboxItem<Value, Ext>;
21
+ checked: boolean;
22
+ withCheckIcon: boolean;
23
+ iconPosition: "left" | "right";
24
+ }) => any;
18
25
  };
19
26
  emit: (evt: "update:value", value: ComboboxItem<Value, Ext> | ComboboxItem<Value, Ext>[] | null | undefined) => void;
20
27
  }>) => import("vue").VNode & {
@@ -19,7 +19,10 @@ declare const __VLS_export: <Value extends string = string, Ext extends Combobox
19
19
  props: __VLS_PrettifyLocal<(ComboboxOptionsDropdownProps<Value, Ext> & {
20
20
  search?: string | undefined;
21
21
  modelValue?: ComboboxItem<Value, Ext> | ComboboxItem<Value, Ext>[] | null;
22
- }) & __VLS_EmitsToProps<__VLS_NormalizeEmits<((evt: "update:modelValue", value: ComboboxItem<Value, Ext> | ComboboxItem<Value, Ext>[] | null | undefined) => void) & ((evt: "update:search", value: string | undefined) => void)>>> & import("vue").PublicProps;
22
+ }) & {
23
+ "onUpdate:modelValue"?: ((value: ComboboxItem<Value, Ext> | ComboboxItem<Value, Ext>[] | null | undefined) => any) | undefined;
24
+ "onUpdate:search"?: ((value: string | undefined) => any) | undefined;
25
+ }> & import("vue").PublicProps;
23
26
  expose: (exposed: {}) => void;
24
27
  attrs: any;
25
28
  slots: {};
@@ -19,7 +19,10 @@ declare const __VLS_export: <Value extends string = string, Ext extends Combobox
19
19
  props: __VLS_PrettifyLocal<(ComboboxOptionsDropdownProps<Value, Ext> & {
20
20
  search?: string | undefined;
21
21
  modelValue?: ComboboxItem<Value, Ext> | ComboboxItem<Value, Ext>[] | null;
22
- }) & __VLS_EmitsToProps<__VLS_NormalizeEmits<((evt: "update:modelValue", value: ComboboxItem<Value, Ext> | ComboboxItem<Value, Ext>[] | null | undefined) => void) & ((evt: "update:search", value: string | undefined) => void)>>> & import("vue").PublicProps;
22
+ }) & {
23
+ "onUpdate:modelValue"?: ((value: ComboboxItem<Value, Ext> | ComboboxItem<Value, Ext>[] | null | undefined) => any) | undefined;
24
+ "onUpdate:search"?: ((value: string | undefined) => any) | undefined;
25
+ }> & import("vue").PublicProps;
23
26
  expose: (exposed: {}) => void;
24
27
  attrs: any;
25
28
  slots: {};
@@ -13,7 +13,52 @@ type __VLS_Slots = {} & {
13
13
  rightSection?: (props: typeof __VLS_17) => any;
14
14
  };
15
15
  declare const __VLS_base: import("vue").DefineComponent<BaseInputProps, {
16
- ref: Readonly<import("vue").ShallowRef<any>>;
16
+ ref: Readonly<import("vue").ShallowRef<({
17
+ $: import("vue").ComponentInternalInstance;
18
+ $data: {};
19
+ $props: {
20
+ readonly is?: (keyof HTMLElementTagNameMap | Component) | undefined;
21
+ readonly mod?: (import("@nui/utils").Mod | import("@nui/utils").Mod[] | import("@nui/utils").Mod[][] | null) | undefined;
22
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
23
+ $attrs: {
24
+ [x: string]: unknown;
25
+ };
26
+ $refs: {
27
+ [x: string]: unknown;
28
+ };
29
+ $slots: Readonly<{
30
+ [name: string]: import("vue").Slot<any> | undefined;
31
+ }>;
32
+ $root: import("vue").ComponentPublicInstance | null;
33
+ $parent: import("vue").ComponentPublicInstance | null;
34
+ $host: Element | null;
35
+ $emit: (event: string, ...args: any[]) => void;
36
+ $el: any;
37
+ $options: import("vue").ComponentOptionsBase<Readonly<import("../../index.js").BoxProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
38
+ beforeCreate?: (() => void) | (() => void)[];
39
+ created?: (() => void) | (() => void)[];
40
+ beforeMount?: (() => void) | (() => void)[];
41
+ mounted?: (() => void) | (() => void)[];
42
+ beforeUpdate?: (() => void) | (() => void)[];
43
+ updated?: (() => void) | (() => void)[];
44
+ activated?: (() => void) | (() => void)[];
45
+ deactivated?: (() => void) | (() => void)[];
46
+ beforeDestroy?: (() => void) | (() => void)[];
47
+ beforeUnmount?: (() => void) | (() => void)[];
48
+ destroyed?: (() => void) | (() => void)[];
49
+ unmounted?: (() => void) | (() => void)[];
50
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
51
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
52
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
53
+ };
54
+ $forceUpdate: () => void;
55
+ $nextTick: typeof import("vue").nextTick;
56
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
57
+ } & Readonly<{}> & Omit<Readonly<import("../../index.js").BoxProps> & Readonly<{}>, never> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
58
+ $slots: {
59
+ default?: (props: {}) => any;
60
+ };
61
+ }) | null>>;
17
62
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
18
63
  "update:modelValue": (value: string | number | undefined) => any;
19
64
  }, string, import("vue").PublicProps, Readonly<BaseInputProps> & Readonly<{
@@ -13,7 +13,52 @@ type __VLS_Slots = {} & {
13
13
  rightSection?: (props: typeof __VLS_17) => any;
14
14
  };
15
15
  declare const __VLS_base: import("vue").DefineComponent<BaseInputProps, {
16
- ref: Readonly<import("vue").ShallowRef<any>>;
16
+ ref: Readonly<import("vue").ShallowRef<({
17
+ $: import("vue").ComponentInternalInstance;
18
+ $data: {};
19
+ $props: {
20
+ readonly is?: (keyof HTMLElementTagNameMap | Component) | undefined;
21
+ readonly mod?: (import("@nui/utils").Mod | import("@nui/utils").Mod[] | import("@nui/utils").Mod[][] | null) | undefined;
22
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
23
+ $attrs: {
24
+ [x: string]: unknown;
25
+ };
26
+ $refs: {
27
+ [x: string]: unknown;
28
+ };
29
+ $slots: Readonly<{
30
+ [name: string]: import("vue").Slot<any> | undefined;
31
+ }>;
32
+ $root: import("vue").ComponentPublicInstance | null;
33
+ $parent: import("vue").ComponentPublicInstance | null;
34
+ $host: Element | null;
35
+ $emit: (event: string, ...args: any[]) => void;
36
+ $el: any;
37
+ $options: import("vue").ComponentOptionsBase<Readonly<import("../../index.js").BoxProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
38
+ beforeCreate?: (() => void) | (() => void)[];
39
+ created?: (() => void) | (() => void)[];
40
+ beforeMount?: (() => void) | (() => void)[];
41
+ mounted?: (() => void) | (() => void)[];
42
+ beforeUpdate?: (() => void) | (() => void)[];
43
+ updated?: (() => void) | (() => void)[];
44
+ activated?: (() => void) | (() => void)[];
45
+ deactivated?: (() => void) | (() => void)[];
46
+ beforeDestroy?: (() => void) | (() => void)[];
47
+ beforeUnmount?: (() => void) | (() => void)[];
48
+ destroyed?: (() => void) | (() => void)[];
49
+ unmounted?: (() => void) | (() => void)[];
50
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
51
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
52
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
53
+ };
54
+ $forceUpdate: () => void;
55
+ $nextTick: typeof import("vue").nextTick;
56
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
57
+ } & Readonly<{}> & Omit<Readonly<import("../../index.js").BoxProps> & Readonly<{}>, never> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
58
+ $slots: {
59
+ default?: (props: {}) => any;
60
+ };
61
+ }) | null>>;
17
62
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
18
63
  "update:modelValue": (value: string | number | undefined) => any;
19
64
  }, string, import("vue").PublicProps, Readonly<BaseInputProps> & Readonly<{
@@ -16,10 +16,20 @@ type __VLS_ModelProps = {
16
16
  modelValue: number;
17
17
  };
18
18
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
19
- declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
19
+ declare var __VLS_6: {};
20
+ type __VLS_Slots = {} & {
21
+ default?: (props: typeof __VLS_6) => any;
22
+ };
23
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
20
24
  "update:modelValue": (value: number) => any;
21
25
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
22
26
  "onUpdate:modelValue"?: ((value: number) => any) | undefined;
23
27
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
28
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
24
29
  declare const _default: typeof __VLS_export;
25
30
  export default _default;
31
+ type __VLS_WithSlots<T, S> = T & {
32
+ new (): {
33
+ $slots: S;
34
+ };
35
+ };
@@ -38,5 +38,7 @@ const style = computed(() => useStyleResolver((theme) => ({
38
38
  v-bind='ariaAttributes'
39
39
  :class='css.section'
40
40
  :mod='[{ striped: striped || animated, animated }, mod]'
41
- />
41
+ >
42
+ <slot />
43
+ </Box>
42
44
  </template>
@@ -16,10 +16,20 @@ type __VLS_ModelProps = {
16
16
  modelValue: number;
17
17
  };
18
18
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
19
- declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
19
+ declare var __VLS_6: {};
20
+ type __VLS_Slots = {} & {
21
+ default?: (props: typeof __VLS_6) => any;
22
+ };
23
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
20
24
  "update:modelValue": (value: number) => any;
21
25
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
22
26
  "onUpdate:modelValue"?: ((value: number) => any) | undefined;
23
27
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
28
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
24
29
  declare const _default: typeof __VLS_export;
25
30
  export default _default;
31
+ type __VLS_WithSlots<T, S> = T & {
32
+ new (): {
33
+ $slots: S;
34
+ };
35
+ };
@@ -23,7 +23,16 @@ declare const __VLS_export: <Value extends string = string, Ext extends Combobox
23
23
  open?: boolean;
24
24
  modelValue?: ComboboxItem<Value, Ext> | null;
25
25
  search?: string;
26
- }) & __VLS_EmitsToProps<__VLS_NormalizeEmits<((evt: "select", args_0: number) => void) & ((evt: "clear") => void) & ((evt: "close", args_0: import("..").ComboboxDropdownEventSource) => void) & ((evt: "submit", args_0: string, args_1: ComboboxItem) => void) & ((evt: "open", args_0: import("..").ComboboxDropdownEventSource) => void) & ((evt: "update:modelValue", value: ComboboxItem<Value, Ext> | null) => void) & ((evt: "update:search", value: string) => void) & ((evt: "update:open", value: boolean) => void)>>> & import("vue").PublicProps;
26
+ }) & {
27
+ onSelect?: ((args_0: number) => any) | undefined;
28
+ onClear?: (() => any) | undefined;
29
+ onClose?: ((args_0: import("..").ComboboxDropdownEventSource) => any) | undefined;
30
+ onSubmit?: ((args_0: string, args_1: ComboboxItem) => any) | undefined;
31
+ "onUpdate:modelValue"?: ((value: ComboboxItem<Value, Ext> | null) => any) | undefined;
32
+ onOpen?: ((args_0: import("..").ComboboxDropdownEventSource) => any) | undefined;
33
+ "onUpdate:search"?: ((value: string) => any) | undefined;
34
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
35
+ }> & import("vue").PublicProps;
27
36
  expose: (exposed: {}) => void;
28
37
  attrs: any;
29
38
  slots: {
@@ -23,7 +23,16 @@ declare const __VLS_export: <Value extends string = string, Ext extends Combobox
23
23
  open?: boolean;
24
24
  modelValue?: ComboboxItem<Value, Ext> | null;
25
25
  search?: string;
26
- }) & __VLS_EmitsToProps<__VLS_NormalizeEmits<((evt: "select", args_0: number) => void) & ((evt: "clear") => void) & ((evt: "close", args_0: import("..").ComboboxDropdownEventSource) => void) & ((evt: "submit", args_0: string, args_1: ComboboxItem) => void) & ((evt: "open", args_0: import("..").ComboboxDropdownEventSource) => void) & ((evt: "update:modelValue", value: ComboboxItem<Value, Ext> | null) => void) & ((evt: "update:search", value: string) => void) & ((evt: "update:open", value: boolean) => void)>>> & import("vue").PublicProps;
26
+ }) & {
27
+ onSelect?: ((args_0: number) => any) | undefined;
28
+ onClear?: (() => any) | undefined;
29
+ onClose?: ((args_0: import("..").ComboboxDropdownEventSource) => any) | undefined;
30
+ onSubmit?: ((args_0: string, args_1: ComboboxItem) => any) | undefined;
31
+ "onUpdate:modelValue"?: ((value: ComboboxItem<Value, Ext> | null) => any) | undefined;
32
+ onOpen?: ((args_0: import("..").ComboboxDropdownEventSource) => any) | undefined;
33
+ "onUpdate:search"?: ((value: string) => any) | undefined;
34
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
35
+ }> & import("vue").PublicProps;
27
36
  expose: (exposed: {}) => void;
28
37
  attrs: any;
29
38
  slots: {
@@ -0,0 +1,19 @@
1
+ import type { TreeItem } from '../model.js';
2
+ export interface TreeItemProps<T extends string = string> {
3
+ item: TreeItem<T>;
4
+ level: number;
5
+ }
6
+ declare const __VLS_export: <T 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_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
7
+ props: __VLS_PrettifyLocal<TreeItemProps<T>> & import("vue").PublicProps;
8
+ expose: (exposed: {}) => void;
9
+ attrs: any;
10
+ slots: {};
11
+ emit: {};
12
+ }>) => import("vue").VNode & {
13
+ __ctx?: Awaited<typeof __VLS_setup>;
14
+ };
15
+ declare const _default: typeof __VLS_export;
16
+ export default _default;
17
+ type __VLS_PrettifyLocal<T> = {
18
+ [K in keyof T as K]: T[K];
19
+ } & {};
@@ -0,0 +1,19 @@
1
+ import type { TreeItem } from '../model.js';
2
+ export interface TreeItemProps<T extends string = string> {
3
+ item: TreeItem<T>;
4
+ level: number;
5
+ }
6
+ declare const __VLS_export: <T 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_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
7
+ props: __VLS_PrettifyLocal<TreeItemProps<T>> & import("vue").PublicProps;
8
+ expose: (exposed: {}) => void;
9
+ attrs: any;
10
+ slots: {};
11
+ emit: {};
12
+ }>) => import("vue").VNode & {
13
+ __ctx?: Awaited<typeof __VLS_setup>;
14
+ };
15
+ declare const _default: typeof __VLS_export;
16
+ export default _default;
17
+ type __VLS_PrettifyLocal<T> = {
18
+ [K in keyof T as K]: T[K];
19
+ } & {};
@@ -22,7 +22,12 @@ declare const __VLS_export: <T extends string = string>(__VLS_props: NonNullable
22
22
  active?: TreeModels<T>["active"];
23
23
  selected?: TreeModels<T>["selected"];
24
24
  expanded?: TreeModels<T>["expanded"];
25
- }) & __VLS_EmitsToProps<__VLS_NormalizeEmits<((evt: "update:tree", value: import("@nui/components").TreeItem<T>[]) => void) & ((evt: "update:active", value: T | null) => void) & ((evt: "update:selected", value: T[]) => void) & ((evt: "update:expanded", value: T[]) => void)>>> & import("vue").PublicProps;
25
+ }) & {
26
+ "onUpdate:tree"?: ((value: import("@nui/components").TreeItem<T>[]) => any) | undefined;
27
+ "onUpdate:active"?: ((value: T | null) => any) | undefined;
28
+ "onUpdate:selected"?: ((value: T[]) => any) | undefined;
29
+ "onUpdate:expanded"?: ((value: T[]) => any) | undefined;
30
+ }> & import("vue").PublicProps;
26
31
  expose: (exposed: {}) => void;
27
32
  attrs: any;
28
33
  slots: {
@@ -22,7 +22,12 @@ declare const __VLS_export: <T extends string = string>(__VLS_props: NonNullable
22
22
  active?: TreeModels<T>["active"];
23
23
  selected?: TreeModels<T>["selected"];
24
24
  expanded?: TreeModels<T>["expanded"];
25
- }) & __VLS_EmitsToProps<__VLS_NormalizeEmits<((evt: "update:tree", value: import("@nui/components").TreeItem<T>[]) => void) & ((evt: "update:active", value: T | null) => void) & ((evt: "update:selected", value: T[]) => void) & ((evt: "update:expanded", value: T[]) => void)>>> & import("vue").PublicProps;
25
+ }) & {
26
+ "onUpdate:tree"?: ((value: import("@nui/components").TreeItem<T>[]) => any) | undefined;
27
+ "onUpdate:active"?: ((value: T | null) => any) | undefined;
28
+ "onUpdate:selected"?: ((value: T[]) => any) | undefined;
29
+ "onUpdate:expanded"?: ((value: T[]) => any) | undefined;
30
+ }> & import("vue").PublicProps;
26
31
  expose: (exposed: {}) => void;
27
32
  attrs: any;
28
33
  slots: {
@@ -8,7 +8,12 @@ declare const __VLS_export: <T extends string = string>(__VLS_props: NonNullable
8
8
  active?: TreeModels<T>["active"];
9
9
  selected?: TreeModels<T>["selected"];
10
10
  expanded?: TreeModels<T>["expanded"];
11
- }) & __VLS_EmitsToProps<__VLS_NormalizeEmits<((evt: "update:tree", value: import("./model.js").TreeItem<T>[]) => void) & ((evt: "update:active", value: T | null) => void) & ((evt: "update:selected", value: T[]) => void) & ((evt: "update:expanded", value: T[]) => void)>>> & import("vue").PublicProps;
11
+ }) & {
12
+ "onUpdate:tree"?: ((value: import("./model.js").TreeItem<T>[]) => any) | undefined;
13
+ "onUpdate:active"?: ((value: T | null) => any) | undefined;
14
+ "onUpdate:selected"?: ((value: T[]) => any) | undefined;
15
+ "onUpdate:expanded"?: ((value: T[]) => any) | undefined;
16
+ }> & import("vue").PublicProps;
12
17
  expose: (exposed: {}) => void;
13
18
  attrs: any;
14
19
  slots: {};
@@ -8,7 +8,12 @@ declare const __VLS_export: <T extends string = string>(__VLS_props: NonNullable
8
8
  active?: TreeModels<T>["active"];
9
9
  selected?: TreeModels<T>["selected"];
10
10
  expanded?: TreeModels<T>["expanded"];
11
- }) & __VLS_EmitsToProps<__VLS_NormalizeEmits<((evt: "update:tree", value: import("./model.js").TreeItem<T>[]) => void) & ((evt: "update:active", value: T | null) => void) & ((evt: "update:selected", value: T[]) => void) & ((evt: "update:expanded", value: T[]) => void)>>> & import("vue").PublicProps;
11
+ }) & {
12
+ "onUpdate:tree"?: ((value: import("./model.js").TreeItem<T>[]) => any) | undefined;
13
+ "onUpdate:active"?: ((value: T | null) => any) | undefined;
14
+ "onUpdate:selected"?: ((value: T[]) => any) | undefined;
15
+ "onUpdate:expanded"?: ((value: T[]) => any) | undefined;
16
+ }> & import("vue").PublicProps;
12
17
  expose: (exposed: {}) => void;
13
18
  attrs: any;
14
19
  slots: {};
@@ -7,7 +7,9 @@ export interface VisuallyHiddenInputProps extends VisuallyHiddenProps {
7
7
  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_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
8
8
  props: __VLS_PrettifyLocal<(VisuallyHiddenInputProps & {
9
9
  modelValue?: T;
10
- }) & __VLS_EmitsToProps<__VLS_NormalizeEmits<(evt: "update:modelValue", value: T | undefined) => void>>> & import("vue").PublicProps;
10
+ }) & {
11
+ "onUpdate:modelValue"?: ((value: T | undefined) => any) | undefined;
12
+ }> & import("vue").PublicProps;
11
13
  expose: (exposed: {}) => void;
12
14
  attrs: any;
13
15
  slots: {};
@@ -7,7 +7,9 @@ export interface VisuallyHiddenInputProps extends VisuallyHiddenProps {
7
7
  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_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
8
8
  props: __VLS_PrettifyLocal<(VisuallyHiddenInputProps & {
9
9
  modelValue?: T;
10
- }) & __VLS_EmitsToProps<__VLS_NormalizeEmits<(evt: "update:modelValue", value: T | undefined) => void>>> & import("vue").PublicProps;
10
+ }) & {
11
+ "onUpdate:modelValue"?: ((value: T | undefined) => any) | undefined;
12
+ }> & import("vue").PublicProps;
11
13
  expose: (exposed: {}) => void;
12
14
  attrs: any;
13
15
  slots: {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuance-ui",
3
- "version": "0.1.10",
3
+ "version": "0.1.12",
4
4
  "description": "A UI Library for Modern Web Apps, powered by Vue.",
5
5
  "repository": {
6
6
  "type": "git",