@lumx/vue 4.11.0-next.5 → 4.11.0-next.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.
|
@@ -9,6 +9,28 @@ declare const _default: {
|
|
|
9
9
|
title: string;
|
|
10
10
|
};
|
|
11
11
|
export default _default;
|
|
12
|
+
export declare const AutoFilterOptions: {
|
|
13
|
+
play: ({ canvasElement }: any) => Promise<void>;
|
|
14
|
+
args: {
|
|
15
|
+
value: string;
|
|
16
|
+
};
|
|
17
|
+
decorators: ((story: any, context: any) => any)[];
|
|
18
|
+
render: ({ value, onChange, onSelect, }: {
|
|
19
|
+
value: string;
|
|
20
|
+
onChange: (v: string) => void;
|
|
21
|
+
onSelect?: (option: {
|
|
22
|
+
value: string;
|
|
23
|
+
}) => void;
|
|
24
|
+
}) => import("vue/jsx-runtime").JSX.Element;
|
|
25
|
+
};
|
|
26
|
+
export declare const FilterOffOpenOnFocus: {
|
|
27
|
+
play: ({ canvasElement }: any) => Promise<void>;
|
|
28
|
+
args: {
|
|
29
|
+
value: string;
|
|
30
|
+
};
|
|
31
|
+
decorators: ((story: any, context: any) => any)[];
|
|
32
|
+
render: ({ value, onChange, onSelect }: any) => import("vue/jsx-runtime").JSX.Element;
|
|
33
|
+
};
|
|
12
34
|
export declare const SelectOptionUpdatesInput: {
|
|
13
35
|
play: ({ canvasElement }: any) => Promise<void>;
|
|
14
36
|
args: {
|
|
@@ -18,10 +18,22 @@ export type ComboboxInputProps = VueToJSXProps<TextFieldProps, 'inputRef' | 'tex
|
|
|
18
18
|
value: string;
|
|
19
19
|
}) => void;
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
22
|
-
*
|
|
21
|
+
* Controls how the combobox filters options as the user types.
|
|
22
|
+
*
|
|
23
|
+
* - `'auto'` (default) — Options are automatically filtered client-side.
|
|
24
|
+
* - `'manual'` — Filtering is the consumer's responsibility.
|
|
25
|
+
* - `'off'` — Like `'manual'`, but the input is rendered as `readOnly`
|
|
26
|
+
* and `openOnFocus` defaults to `true`.
|
|
23
27
|
*/
|
|
24
|
-
|
|
28
|
+
filter?: 'auto' | 'manual' | 'off';
|
|
29
|
+
/**
|
|
30
|
+
* When true, the combobox opens automatically when the input receives focus.
|
|
31
|
+
* When false (default, unless `filter` is `'off'`), the combobox only opens
|
|
32
|
+
* on click, typing, or keyboard navigation.
|
|
33
|
+
*
|
|
34
|
+
* @default false (true when filter is 'off')
|
|
35
|
+
*/
|
|
36
|
+
openOnFocus?: boolean;
|
|
25
37
|
};
|
|
26
38
|
/**
|
|
27
39
|
* Combobox.Input component - wraps TextField with combobox ARIA attributes.
|
|
@@ -51,10 +63,22 @@ declare const ComboboxInput: import('vue').DefineSetupFnComponent<ComboboxInputP
|
|
|
51
63
|
value: string;
|
|
52
64
|
}) => void;
|
|
53
65
|
/**
|
|
54
|
-
*
|
|
55
|
-
*
|
|
66
|
+
* Controls how the combobox filters options as the user types.
|
|
67
|
+
*
|
|
68
|
+
* - `'auto'` (default) — Options are automatically filtered client-side.
|
|
69
|
+
* - `'manual'` — Filtering is the consumer's responsibility.
|
|
70
|
+
* - `'off'` — Like `'manual'`, but the input is rendered as `readOnly`
|
|
71
|
+
* and `openOnFocus` defaults to `true`.
|
|
72
|
+
*/
|
|
73
|
+
filter?: "auto" | "manual" | "off";
|
|
74
|
+
/**
|
|
75
|
+
* When true, the combobox opens automatically when the input receives focus.
|
|
76
|
+
* When false (default, unless `filter` is `'off'`), the combobox only opens
|
|
77
|
+
* on click, typing, or keyboard navigation.
|
|
78
|
+
*
|
|
79
|
+
* @default false (true when filter is 'off')
|
|
56
80
|
*/
|
|
57
|
-
|
|
81
|
+
openOnFocus?: boolean;
|
|
58
82
|
} & {
|
|
59
83
|
onSelect?: ((option: {
|
|
60
84
|
value: string;
|