@depict-ai/ui 0.0.62 → 0.0.64

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
@@ -9,7 +9,7 @@ import { SearchSuggestionsRequest } from "@depict-ai/types/api/SearchSuggestions
9
9
  import { ProductListingRequest } from "@depict-ai/types/api/ProductListingRequest";
10
10
  import { ProductListingResponse, BaseCategoryDisplay } from "@depict-ai/types/api/ProductListingResponse";
11
11
  import { JSX as _JSX1 } from "solid-js/types/jsx";
12
- export const version = "0.0.62";
12
+ export const version = "0.0.64";
13
13
  type ExclusiveId = {
14
14
  categoryId: string;
15
15
  productId?: undefined;
@@ -156,6 +156,9 @@ export type InstantCard<T extends Display> = (display: T, context: {
156
156
  merchant: string;
157
157
  market: string;
158
158
  }) => JSX.Element;
159
+ export type WithRequired<T, K extends keyof T> = T & {
160
+ [P in K]-?: T[P];
161
+ };
159
162
  export class DepictAPI {
160
163
  #private;
161
164
  constructor(get_metadata?: () => Promise<{
@@ -178,9 +181,6 @@ export class DepictAPI {
178
181
  * Use `javascript_media_query` but return a reactive accessor instead of taking a callback function
179
182
  */
180
183
  export function media_query_to_accessor(media_query: string): import("solid-js").Accessor<boolean>;
181
- export type WithRequired<T, K extends keyof T> = T & {
182
- [P in K]-?: T[P];
183
- };
184
184
  type SDKGridSpacing = string | {
185
185
  horizontal: string;
186
186
  vertical: string;
@@ -375,8 +375,8 @@ export type BaseSearchProviderConfig = {
375
375
  searchPagePath: string;
376
376
  /**
377
377
  * The name of the url parameter that will be used for the search query.
378
- * @example "q", "search_query"
379
- * @default "search_query"
378
+ * @example "q", "search_query", "query"
379
+ * @default "query"
380
380
  */
381
381
  urlParamName?: string;
382
382
  /**