@depict-ai/react-ui 0.0.32 → 0.0.34

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
@@ -39,7 +39,7 @@ interface SearchPageConfig<T extends Display> {
39
39
  includeInputField?: boolean;
40
40
  }
41
41
  export function DepictSearchPage<T extends Display>(opts: SearchPageConfig<T>): import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
42
- export const version = "0.0.32";
42
+ export const version = "0.0.33";
43
43
  export const tracking: {
44
44
  readonly dpc: DPC;
45
45
  };
package/dist/main.js CHANGED
@@ -96,7 +96,7 @@ function $6319748b4f0426f0$export$6453cbc34515a94d(is_search_page) {
96
96
  if (should_use_old_scroll || process.env.__NEXT_SCROLL_RESTORATION || !is_search_page(location)) return Reflect.apply(old_scrollTo, window, args);
97
97
  else should_use_old_scroll = true;
98
98
  };
99
- addEventListener("popstate", (0, $6319748b4f0426f0$import$d06efbea11216d79$b3bbfd758f11cfa9)(()=>{
99
+ addEventListener("popstate", (0, $4GYXz$depictaiutilishared.catchify)(()=>{
100
100
  if (!is_search_page(location)) {
101
101
  $6319748b4f0426f0$var$removeLotsOfPadding(); // Just making sure
102
102
  return;
@@ -335,7 +335,7 @@ function $a6bedbe4b4d6d027$var$SolidSearchPage(props, set_portals) {
335
335
  }
336
336
 
337
337
 
338
- const $db7b67857900028b$export$83d89fbfd8236492 = "0.0.32";
338
+ const $db7b67857900028b$export$83d89fbfd8236492 = "0.0.33";
339
339
 
340
340
 
341
341
 
package/dist/module.js CHANGED
@@ -1,4 +1,4 @@
1
- import {dlog as $TZSbU$dlog, href_change_ipns as $TZSbU$href_change_ipns, observer as $TZSbU$observer, history_replacer as $TZSbU$history_replacer, queueMacroTask as $TZSbU$queueMacroTask} from "@depict-ai/utilishared";
1
+ import {dlog as $TZSbU$dlog, href_change_ipns as $TZSbU$href_change_ipns, catchify as $TZSbU$catchify, observer as $TZSbU$observer, history_replacer as $TZSbU$history_replacer, queueMacroTask as $TZSbU$queueMacroTask} from "@depict-ai/utilishared";
2
2
  import {add_to_version_info as $TZSbU$add_to_version_info, SearchField as $TZSbU$SearchField, DepictSearch as $TZSbU$DepictSearch, swedish_search_translation as $TZSbU$swedish_search_translation, get_search_query_updating_blocked_signal as $TZSbU$get_search_query_updating_blocked_signal, SearchPage as $TZSbU$SearchPage} from "@depict-ai/ui";
3
3
  import {untrack as $TZSbU$untrack, createComponent as $TZSbU$createComponent, Show as $TZSbU$Show, createSignal as $TZSbU$createSignal, createMemo as $TZSbU$createMemo, createComputed as $TZSbU$createComputed, onCleanup as $TZSbU$onCleanup} from "solid-js";
4
4
  import {render as $TZSbU$render} from "solid-js/web";
@@ -85,7 +85,7 @@ function $8071251ee4e9ffa1$export$6453cbc34515a94d(is_search_page) {
85
85
  if (should_use_old_scroll || process.env.__NEXT_SCROLL_RESTORATION || !is_search_page(location)) return Reflect.apply(old_scrollTo, window, args);
86
86
  else should_use_old_scroll = true;
87
87
  };
88
- addEventListener("popstate", (0, $8071251ee4e9ffa1$import$d06efbea11216d79$b3bbfd758f11cfa9)(()=>{
88
+ addEventListener("popstate", (0, $TZSbU$catchify)(()=>{
89
89
  if (!is_search_page(location)) {
90
90
  $8071251ee4e9ffa1$var$removeLotsOfPadding(); // Just making sure
91
91
  return;
@@ -324,7 +324,7 @@ function $9f8d5ef3c016c493$var$SolidSearchPage(props, set_portals) {
324
324
  }
325
325
 
326
326
 
327
- const $c9c4d066f9a5b51b$export$83d89fbfd8236492 = "0.0.32";
327
+ const $c9c4d066f9a5b51b$export$83d89fbfd8236492 = "0.0.33";
328
328
 
329
329
 
330
330
 
@@ -1,4 +1,4 @@
1
- export const version = "0.0.32";
1
+ export const version = "0.0.33";
2
2
  export function DepictProvider(props: any): any;
3
3
  export function DepictSearchField(): any;
4
4
  export function DepictSearchPage(): any;
@@ -13,7 +13,7 @@ $parcel$export(module.exports, "openModal", () => $41e7e5d85b5e0d49$export$a7f6c
13
13
  $parcel$export(module.exports, "version", () => $db7b67857900028b$export$83d89fbfd8236492);
14
14
 
15
15
 
16
- const $db7b67857900028b$export$83d89fbfd8236492 = "0.0.32";
16
+ const $db7b67857900028b$export$83d89fbfd8236492 = "0.0.33";
17
17
 
18
18
 
19
19
  function $41e7e5d85b5e0d49$export$9fac37a9c21c2f3b(props) {
@@ -3,7 +3,7 @@ import {jsx as $1RlIW$jsx} from "react/jsx-runtime";
3
3
 
4
4
 
5
5
 
6
- const $c9c4d066f9a5b51b$export$83d89fbfd8236492 = "0.0.32";
6
+ const $c9c4d066f9a5b51b$export$83d89fbfd8236492 = "0.0.33";
7
7
 
8
8
 
9
9
  function $2b1fdeb83610500f$export$9fac37a9c21c2f3b(props) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@depict-ai/react-ui",
3
- "version": "0.0.32",
3
+ "version": "0.0.34",
4
4
  "packageManager": "yarn@3.2.2",
5
5
  "source": "src/index.ts",
6
6
  "main": "dist/main.js",
@@ -83,8 +83,8 @@
83
83
  ],
84
84
  "dependencies": {
85
85
  "@depict-ai/dpc": "^0.0.2",
86
- "@depict-ai/ui": "^0.0.8",
87
- "@depict-ai/utilishared": "^0.0.8",
86
+ "@depict-ai/ui": "^0.0.9",
87
+ "@depict-ai/utilishared": "^0.0.9",
88
88
  "solid-js": "^1.6.2"
89
89
  },
90
90
  "peerDependencies": {