@depict-ai/ui 1.3.2 → 1.3.3
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/client/main.cjs +293 -182
- package/dist/client/module.js +296 -185
- package/dist/index.d.ts +3 -3
- package/dist/server/main.cjs +265 -169
- package/dist/server/module.js +267 -171
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import { SearchRequest, SearchFilter } from "@depict-ai/types/api/SearchRequest"
|
|
|
7
7
|
import { BaseSearchRequest } from "@depict-ai/types/api/BaseSearchRequest";
|
|
8
8
|
import { SearchSuggestionsRequest } from "@depict-ai/types/api/SearchSuggestionsRequest";
|
|
9
9
|
import { ProductListingRequest } from "@depict-ai/types/api/ProductListingRequest";
|
|
10
|
-
export const version = "1.3.
|
|
10
|
+
export const version = "1.3.3";
|
|
11
11
|
type PageURLCreatorAlwaysThereData = {
|
|
12
12
|
merchant: string;
|
|
13
13
|
market: string;
|
|
@@ -407,7 +407,7 @@ export class DepictCategory<InputDisplay extends Display, OutputDisplay extends
|
|
|
407
407
|
set on_navigation(new_function: OnNavigation);
|
|
408
408
|
constructor({ api, on_navigation, page_url_creator, ...props_on_class }: DepictCategoryConstructorOptions<InputDisplay, OutputDisplay>);
|
|
409
409
|
}
|
|
410
|
-
export function CategoryPage<OriginalDisplay extends Display, OutputDisplay extends ModernDisplay | never>(
|
|
410
|
+
export function CategoryPage<OriginalDisplay extends Display, OutputDisplay extends ModernDisplay | never>(props: {
|
|
411
411
|
depict_category: DepictCategory<OriginalDisplay, OutputDisplay>;
|
|
412
412
|
grid_spacing: SDKGridSpacing;
|
|
413
413
|
cols_at_size: SDKColsAtSize;
|
|
@@ -545,7 +545,7 @@ interface SearchFieldParams {
|
|
|
545
545
|
click_handler?: (this: HTMLDivElement, ev: MouseEvent) => any;
|
|
546
546
|
aligner_ref?: HTMLElement | null;
|
|
547
547
|
}
|
|
548
|
-
export function SearchField(
|
|
548
|
+
export function SearchField(props: SearchFieldParams): import("@depict-ai/utilishared").Node_Array;
|
|
549
549
|
export type BaseProviderConfig<InputDisplay extends Display, PossibleTransformedDisplay extends ModernDisplay | never> = {
|
|
550
550
|
/**
|
|
551
551
|
* The merchant to use for the search.
|