@depict-ai/ui 1.4.16 → 1.4.18

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.
@@ -1,5 +1,5 @@
1
1
  import { JSX, Signal, Accessor, Setter } from "solid-js";
2
- import { Elem, Display, ColsAtSize, ModernDisplay, Node_Array } from "@depict-ai/utilishared/ES10";
2
+ import { report, Elem, Display, ColsAtSize, ModernDisplay, Node_Array } from "@depict-ai/utilishared/ES10";
3
3
  import { SearchFilter, SearchRequest } from "@depict-ai/types/api/SearchRequest";
4
4
  import { SearchFilter as _SearchFilter1, ContentLink, SearchResponse } from "@depict-ai/types/api/SearchResponse";
5
5
  import { BaseCategoryDisplay, ProductListingResponse } from "@depict-ai/types/api/ProductListingResponse";
@@ -7,7 +7,18 @@ import { CategorySuggestion, SearchSuggestionsResponse } from "@depict-ai/types/
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.4.16";
10
+ export const version = "1.4.18";
11
+ declare class SDKError extends Error {}
12
+ export class ProductCardError extends SDKError {
13
+ constructor(templateError: Error);
14
+ }
15
+ export function SentryErrorBoundary(props: {
16
+ children: JSX.Element;
17
+ message_: string;
18
+ severity_: Parameters<typeof report>[1];
19
+ on_error_?: (retry: VoidFunction) => void;
20
+ class_list_?: string[];
21
+ }): JSX.Element;
11
22
  export function ExpandingDetails(props: {
12
23
  details_: HTMLDetailsElement;
13
24
  summary_: HTMLElement;
@@ -176,10 +187,6 @@ export function SelectedFilters({
176
187
  * Use `javascript_media_query` but return a reactive accessor instead of taking a callback function
177
188
  */
178
189
  export function media_query_to_accessor(media_query: string): import("solid-js").Accessor<boolean>;
179
- declare class SDKError extends Error {}
180
- export class ProductCardError extends SDKError {
181
- constructor(templateError: Error);
182
- }
183
190
  /**
184
191
  * Base placeholder component used by ImagePlaceholder and TextPlaceholder
185
192
  */