@lumx/core 4.17.0-next.0 → 4.17.0-next.1
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.
|
@@ -169,4 +169,18 @@ export declare function setup({ components: { Combobox, IconButton, Button }, de
|
|
|
169
169
|
}) => void;
|
|
170
170
|
}) => import("react").JSX.Element;
|
|
171
171
|
};
|
|
172
|
+
ClearAfterSelect: {
|
|
173
|
+
play: ({ canvasElement }: any) => Promise<void>;
|
|
174
|
+
args: {
|
|
175
|
+
value: string;
|
|
176
|
+
};
|
|
177
|
+
decorators: ((story: any, context: any) => any)[];
|
|
178
|
+
render: ({ value, onChange, onSelect, }: {
|
|
179
|
+
value: string;
|
|
180
|
+
onChange: (v: string) => void;
|
|
181
|
+
onSelect?: (option: {
|
|
182
|
+
value: string;
|
|
183
|
+
}) => void;
|
|
184
|
+
}) => import("react").JSX.Element;
|
|
185
|
+
};
|
|
172
186
|
};
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import type { ComboboxCallbacks, ComboboxHandle, ComboboxInputOptions } from './types';
|
|
2
2
|
/** Options for configuring the input-mode combobox controller. */
|
|
3
3
|
export interface SetupComboboxInputOptions extends ComboboxCallbacks, ComboboxInputOptions {
|
|
4
|
+
/**
|
|
5
|
+
* Called synchronously on every user input event (typing, paste, delete…)
|
|
6
|
+
* (Use this in framework wrappers that maintain controlled input state, like React)
|
|
7
|
+
*/
|
|
8
|
+
onInput?(value: string): void;
|
|
4
9
|
}
|
|
5
10
|
/**
|
|
6
11
|
* Set up a combobox with an input trigger (autocomplete/filter pattern).
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"@floating-ui/dom": "^1.7.5",
|
|
10
|
-
"@lumx/icons": "^4.17.0-next.
|
|
10
|
+
"@lumx/icons": "^4.17.0-next.1",
|
|
11
11
|
"classnames": "^2.3.2",
|
|
12
12
|
"focus-visible": "^5.0.2",
|
|
13
13
|
"lodash": "4.18.1",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"update-version-changelog": "yarn version-changelog ../../CHANGELOG.md"
|
|
67
67
|
},
|
|
68
68
|
"sideEffects": false,
|
|
69
|
-
"version": "4.17.0-next.
|
|
69
|
+
"version": "4.17.0-next.1",
|
|
70
70
|
"devDependencies": {
|
|
71
71
|
"@rollup/plugin-typescript": "^12.3.0",
|
|
72
72
|
"@testing-library/dom": "^10.4.1",
|