ui-mathilde-web 0.5.0 → 0.5.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.
- package/dist/style.css +1 -1
- package/dist/ui-mathilde-web.d.ts +4 -1
- package/dist/ui-mathilde-web.js +715 -689
- package/dist/ui-mathilde-web.umd.cjs +19 -19
- package/package.json +1 -1
|
@@ -165,10 +165,13 @@ declare interface DropdownItemProps {
|
|
|
165
165
|
export declare const DropdownList: default_2.FC<DropdownListProps>;
|
|
166
166
|
|
|
167
167
|
declare interface DropdownListProps {
|
|
168
|
-
items
|
|
168
|
+
items?: DropdownItem[];
|
|
169
169
|
placeholder?: string;
|
|
170
170
|
onSelect: (item: DropdownItem) => void;
|
|
171
171
|
selectedItem?: DropdownItem | null;
|
|
172
|
+
fetchItems?: (query: string) => Promise<DropdownItem[]>;
|
|
173
|
+
minCharsToSearch?: number;
|
|
174
|
+
debounceMs?: number;
|
|
172
175
|
}
|
|
173
176
|
|
|
174
177
|
declare type DropdownMode = 'simple' | 'checkbox';
|