@depict-ai/ui 0.0.65 → 0.0.66
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 -1
- package/dist/main.js +260 -156
- package/dist/module.js +263 -160
- package/package.json +5 -4
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.
|
|
12
|
+
export const version = "0.0.66";
|
|
13
13
|
type ExclusiveId = {
|
|
14
14
|
categoryId: string;
|
|
15
15
|
productId?: undefined;
|
|
@@ -192,6 +192,11 @@ export function show_toast({ children, on_close_, close_after_, ...more_attribut
|
|
|
192
192
|
} & JSX.HTMLAttributes<HTMLDivElement>): {
|
|
193
193
|
close_toast_: VoidFunction;
|
|
194
194
|
};
|
|
195
|
+
declare class SDKError extends Error {
|
|
196
|
+
}
|
|
197
|
+
export class ProductCardError extends SDKError {
|
|
198
|
+
constructor(templateError: Error);
|
|
199
|
+
}
|
|
195
200
|
/**
|
|
196
201
|
* Disables scrolling until the solidjs reactive scoped is disposed (onCleanup)
|
|
197
202
|
* @returns A cleanup function to manually re-enable scrolling.
|
|
@@ -316,6 +321,7 @@ type OpenModalArguments = [
|
|
|
316
321
|
style_props_?: Signal<_JSX1.CSSProperties>;
|
|
317
322
|
closing_animation_?: () => Promise<any>;
|
|
318
323
|
class_list_?: Accessor<Record<string, boolean>>;
|
|
324
|
+
selected_text_range_?: readonly [number | null, number | null] | [number | null, number | null];
|
|
319
325
|
},
|
|
320
326
|
on_dispose?: VoidFunction
|
|
321
327
|
];
|