@uniformdev/mesh-sdk-react 16.1.1-alpha.139 → 16.1.1-alpha.145
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/index.d.ts +7 -2
- package/dist/index.esm.js +114 -111
- package/dist/index.js +123 -120
- package/dist/index.mjs +114 -111
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -107,6 +107,10 @@ declare type EntrySearchProps<TResult extends EntrySearchResult = EntrySearchRes
|
|
|
107
107
|
onSort?: (items: TResult[]) => void;
|
|
108
108
|
typeSelectorLabel?: string;
|
|
109
109
|
typeSelectorAllTypesOptionText?: string;
|
|
110
|
+
/** Specifies how long (in milliseconds) to wait before showing the loading indicator when `resultsLoading` is true.
|
|
111
|
+
* @default 1000
|
|
112
|
+
*/
|
|
113
|
+
loadingIndicatorDelay?: number;
|
|
110
114
|
};
|
|
111
115
|
interface EntrySearchResult {
|
|
112
116
|
id: string;
|
|
@@ -124,7 +128,7 @@ interface NoResultsProps {
|
|
|
124
128
|
searchText: string | undefined;
|
|
125
129
|
selectedContentType: string | undefined;
|
|
126
130
|
}
|
|
127
|
-
declare const EntrySearch: <TResult extends EntrySearchResult>({ search, results, contentTypes, selectedItems, logoIcon, select, multiSelect, multiSelectId, rowComponent, selectedItemComponent, totalResults, resultsLoading, requireContentType, onAddNew, onEditClosed, onCancel, noResultsComponent, helpComponent, onSort, typeSelectorLabel, typeSelectorAllTypesOptionText, }: EntrySearchProps<TResult>) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
131
|
+
declare const EntrySearch: <TResult extends EntrySearchResult>({ search, results, contentTypes, selectedItems, logoIcon, select, multiSelect, multiSelectId, rowComponent, selectedItemComponent, totalResults, resultsLoading, requireContentType, onAddNew, onEditClosed, onCancel, noResultsComponent, helpComponent, onSort, typeSelectorLabel, typeSelectorAllTypesOptionText, loadingIndicatorDelay, }: EntrySearchProps<TResult>) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
128
132
|
|
|
129
133
|
declare const searchRowContainer: _emotion_react.SerializedStyles;
|
|
130
134
|
declare const searchRowContainerWithPopover: _emotion_react.SerializedStyles;
|
|
@@ -183,7 +187,8 @@ declare type ProductSearchResult = EntrySearchResult & {
|
|
|
183
187
|
}>;
|
|
184
188
|
/** @deprecated Use `editLink` instead. */
|
|
185
189
|
url?: string;
|
|
186
|
-
|
|
190
|
+
/** @deprecated Use `title` instead. */
|
|
191
|
+
name?: string;
|
|
187
192
|
};
|
|
188
193
|
interface ProductSearchResults {
|
|
189
194
|
total: number;
|