@uniformdev/mesh-sdk-react 16.2.0 → 16.2.1-alpha.60

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 CHANGED
@@ -79,11 +79,13 @@ declare type EntrySearchQueryOptions = {
79
79
  count: number;
80
80
  offset: number;
81
81
  contentType?: string;
82
+ cursor?: string;
82
83
  };
83
84
  declare type EntrySearchProps<TResult extends EntrySearchResult = EntrySearchResult> = {
84
85
  search: (text: string, options: EntrySearchQueryOptions) => void;
85
86
  results: TResult[] | undefined;
86
87
  totalResults?: number | undefined;
88
+ cursor?: string;
87
89
  contentTypes?: EntrySearchContentType[];
88
90
  selectedItems: TResult[] | undefined;
89
91
  logoIcon: string | React.ComponentType<{
@@ -128,7 +130,7 @@ interface NoResultsProps {
128
130
  searchText: string | undefined;
129
131
  selectedContentType: string | undefined;
130
132
  }
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;
133
+ declare const EntrySearch: <TResult extends EntrySearchResult>({ search, results, contentTypes, selectedItems, logoIcon, select, multiSelect, multiSelectId, rowComponent, selectedItemComponent, totalResults, cursor, resultsLoading, requireContentType, onAddNew, onEditClosed, onCancel, noResultsComponent, helpComponent, onSort, typeSelectorLabel, typeSelectorAllTypesOptionText, loadingIndicatorDelay, }: EntrySearchProps<TResult>) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
132
134
 
133
135
  declare const searchRowContainer: _emotion_react.SerializedStyles;
134
136
  declare const searchRowContainerWithPopover: _emotion_react.SerializedStyles;
@@ -263,6 +265,7 @@ declare type ProductSearchProps<TResult extends ProductSearchResult = ProductSea
263
265
  }) => Promise<{
264
266
  total: number;
265
267
  products: TResult[];
268
+ cursor?: string;
266
269
  }>;
267
270
  errorComponent?: React__default.ComponentType<{
268
271
  categoriesError?: Error;
@@ -273,6 +276,7 @@ interface GetProductOptions {
273
276
  limit?: number;
274
277
  offset?: number;
275
278
  categoryId?: string;
279
+ cursor?: string;
276
280
  }
277
281
  declare function ProductSearch({ selectedProducts, setSelectedProducts, onGetCategories, onSearchProducts, logoIcon, multiSelect, multiSelectId, selectedItemComponent, rowComponent, errorComponent, helpComponent, noResultsComponent, onSort, typeSelectorAllTypesOptionText, typeSelectorLabel, }: ProductSearchProps): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
278
282
  interface ProductSearchContextValue {