@lumx/vue 4.12.0-next.3 → 4.12.0-next.5
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.
|
@@ -4,26 +4,29 @@ import { TooltipProps } from '../tooltip/Tooltip';
|
|
|
4
4
|
export type ComboboxOptionProps = VueToJSXProps<UIProps, ComboboxOptionPropsToOverride | 'descriptionId' | 'hidden' | 'isGrid' | 'id'> & {
|
|
5
5
|
/** Props forwarded to a Tooltip wrapping the option trigger element. */
|
|
6
6
|
tooltipProps?: Partial<TooltipProps>;
|
|
7
|
-
/** On option clicked (or activated with keyboard). */
|
|
8
|
-
onClick?: () => void;
|
|
9
7
|
/** Props forwarded to the inner action element (e.g. `{ as: 'a', href: '/foo' }`). */
|
|
10
8
|
actionProps?: Record<string, any>;
|
|
11
9
|
};
|
|
10
|
+
export declare const emitSchema: {
|
|
11
|
+
click: () => boolean;
|
|
12
|
+
};
|
|
12
13
|
/**
|
|
13
14
|
* Combobox.Option component - wraps ListItem with option role and data-value.
|
|
14
15
|
*
|
|
15
16
|
* @param props Component props.
|
|
16
17
|
* @return Vue element.
|
|
17
18
|
*/
|
|
18
|
-
declare const ComboboxOption: import('vue').DefineSetupFnComponent<ComboboxOptionProps, {
|
|
19
|
+
declare const ComboboxOption: import('vue').DefineSetupFnComponent<ComboboxOptionProps, {
|
|
20
|
+
click: () => boolean;
|
|
21
|
+
}, {}, Omit<UIProps, "className" | import('@lumx/core/js/types').PropsToOverride | "id" | "hidden" | "descriptionId" | "isGrid" | ComboboxOptionPropsToOverride> & {
|
|
19
22
|
class?: string;
|
|
20
23
|
} & {
|
|
21
24
|
/** Props forwarded to a Tooltip wrapping the option trigger element. */
|
|
22
25
|
tooltipProps?: Partial<TooltipProps>;
|
|
23
|
-
/** On option clicked (or activated with keyboard). */
|
|
24
|
-
onClick?: () => void;
|
|
25
26
|
/** Props forwarded to the inner action element (e.g. `{ as: 'a', href: '/foo' }`). */
|
|
26
27
|
actionProps?: Record<string, any>;
|
|
27
|
-
} & {
|
|
28
|
+
} & {
|
|
29
|
+
onClick?: (() => any) | undefined;
|
|
30
|
+
}, import('vue').PublicProps>;
|
|
28
31
|
export { COMPONENT_NAME, CLASSNAME };
|
|
29
32
|
export default ComboboxOption;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -73,13 +73,16 @@ export declare const Combobox: {
|
|
|
73
73
|
class?: string;
|
|
74
74
|
} & {}, import('vue').PublicProps>;
|
|
75
75
|
/** Selectable option item with filtering and keyboard navigation support. */
|
|
76
|
-
Option: import('vue').DefineSetupFnComponent<import('./ComboboxOption').ComboboxOptionProps, {
|
|
76
|
+
Option: import('vue').DefineSetupFnComponent<import('./ComboboxOption').ComboboxOptionProps, {
|
|
77
|
+
click: () => boolean;
|
|
78
|
+
}, {}, Omit<import('@lumx/core/js/components/Combobox/ComboboxOption').ComboboxOptionProps, "className" | import('@lumx/core/js/types').PropsToOverride | "id" | "hidden" | "descriptionId" | "isGrid" | import('@lumx/core/js/components/Combobox/ComboboxOption').ComboboxOptionPropsToOverride> & {
|
|
77
79
|
class?: string;
|
|
78
80
|
} & {
|
|
79
81
|
tooltipProps?: Partial<import('../tooltip').TooltipProps>;
|
|
80
|
-
onClick?: () => void;
|
|
81
82
|
actionProps?: Record<string, any>;
|
|
82
|
-
} & {
|
|
83
|
+
} & {
|
|
84
|
+
onClick?: (() => any) | undefined;
|
|
85
|
+
}, import('vue').PublicProps>;
|
|
83
86
|
/** Secondary action button within a grid-mode option row, rendered as an independent gridcell. */
|
|
84
87
|
OptionAction: import('vue').DefineSetupFnComponent<import('./ComboboxOptionAction').ComboboxOptionActionProps, {}, {}, Pick<import('../../utils/VueToJSX').VueToJSXProps<import('@lumx/core/js/components/Combobox/ComboboxOptionAction').ComboboxOptionActionProps>, "class" | "isDisabled"> & {
|
|
85
88
|
onClick?: (evt: MouseEvent) => void;
|