@depict-ai/ui 0.0.76 → 0.0.77

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
@@ -7,7 +7,7 @@ import { SearchSuggestionsResponse, CategorySuggestion } from "@depict-ai/types/
7
7
  import { SearchSuggestionsRequest } from "@depict-ai/types/api/SearchSuggestionsRequest";
8
8
  import { ProductListingRequest } from "@depict-ai/types/api/ProductListingRequest";
9
9
  import { ProductListingResponse } from "@depict-ai/types/api/ProductListingResponse";
10
- export const version = "0.0.76";
10
+ export const version = "0.0.77";
11
11
  export type OnNavigation = ((options: {
12
12
  is_replace: boolean;
13
13
  new_url: URL;
package/dist/main.js CHANGED
@@ -35,7 +35,7 @@ $parcel$export(module.exports, "solid_format_price", () => $5fc9fc23df1591db$exp
35
35
  $parcel$export(module.exports, "connect_search_field_height_to_aligner_height", () => $246e3e89a097f014$export$828dcdd425fd3231);
36
36
  $parcel$export(module.exports, "PageReplacer", () => $37e96a5ebc768cc7$export$3ccaa27d81dd8556);
37
37
  $parcel$export(module.exports, "version", () => $ae93561d5649a847$export$83d89fbfd8236492);
38
- /*! Depict.ai search and product listing SDK */ const $ae93561d5649a847$export$83d89fbfd8236492 = "0.0.76";
38
+ /*! Depict.ai search and product listing SDK */ const $ae93561d5649a847$export$83d89fbfd8236492 = "0.0.77";
39
39
 
40
40
 
41
41
 
@@ -4343,7 +4343,8 @@ function $495e9998757c5d32$export$5646050d516e06bc({ crumb_data_: get_api_crumb_
4343
4343
  (0, $46MJV$solidjsweb.addEventListener)(_el$2, "click", (0, $46MJV$depictaiutilishared.catchify)((ev)=>router_.navigate_.go_to_({
4344
4344
  new_url_: href(),
4345
4345
  is_replace_: false,
4346
- event_: ev
4346
+ event_: ev,
4347
+ force_spa_navigation_: true
4347
4348
  })), true);
4348
4349
  (0, $46MJV$solidjsweb.insert)(_el$2, ()=>display_accessor().title);
4349
4350
  (0, $46MJV$solidjsweb.effect)(()=>(0, $46MJV$solidjsweb.setAttribute)(_el$2, "href", href()));
@@ -4530,7 +4531,8 @@ function $cdc2c00c0a7da86e$export$466cdc317043f6cb({ quicklinks_data_: quicklink
4530
4531
  else if (href()) router_.navigate_.go_to_({
4531
4532
  new_url_: url,
4532
4533
  is_replace_: false,
4533
- event_: ev
4534
+ event_: ev,
4535
+ force_spa_navigation_: true
4534
4536
  });
4535
4537
  }), true);
4536
4538
  (0, $46MJV$solidjsweb.insert)(_el$3, ()=>display_accessor()?.title || (0, $46MJV$solidjsweb.createComponent)((0, $46MJV$depictaiutilishared.Placeholder), {
package/dist/module.js CHANGED
@@ -3,7 +3,7 @@ import {template as $g9l4l$template, insert as $g9l4l$insert, effect as $g9l4l$e
3
3
  import {createSignal as $g9l4l$createSignal, onCleanup as $g9l4l$onCleanup, createComputed as $g9l4l$createComputed, createEffect as $g9l4l$createEffect, untrack as $g9l4l$untrack, batch as $g9l4l$batch, createResource as $g9l4l$createResource, createMemo as $g9l4l$createMemo, Show as $g9l4l$Show, createRenderEffect as $g9l4l$createRenderEffect, runWithOwner as $g9l4l$runWithOwner, createRoot as $g9l4l$createRoot, getOwner as $g9l4l$getOwner, createReaction as $g9l4l$createReaction, on as $g9l4l$on, ErrorBoundary as $g9l4l$ErrorBoundary, Index as $g9l4l$Index, For as $g9l4l$For} from "solid-js";
4
4
  import {compressToBase64 as $g9l4l$compressToBase64, decompressFromBase64 as $g9l4l$decompressFromBase64} from "lz-string";
5
5
 
6
- /*! Depict.ai search and product listing SDK */ const $18bf1d29fb889cca$export$83d89fbfd8236492 = "0.0.76";
6
+ /*! Depict.ai search and product listing SDK */ const $18bf1d29fb889cca$export$83d89fbfd8236492 = "0.0.77";
7
7
 
8
8
 
9
9
 
@@ -4311,7 +4311,8 @@ function $1b5a927e48d892a1$export$5646050d516e06bc({ crumb_data_: get_api_crumb_
4311
4311
  (0, $g9l4l$addEventListener)(_el$2, "click", (0, $g9l4l$catchify)((ev)=>router_.navigate_.go_to_({
4312
4312
  new_url_: href(),
4313
4313
  is_replace_: false,
4314
- event_: ev
4314
+ event_: ev,
4315
+ force_spa_navigation_: true
4315
4316
  })), true);
4316
4317
  (0, $g9l4l$insert)(_el$2, ()=>display_accessor().title);
4317
4318
  (0, $g9l4l$effect)(()=>(0, $g9l4l$setAttribute)(_el$2, "href", href()));
@@ -4498,7 +4499,8 @@ function $6af87e1502f04aa3$export$466cdc317043f6cb({ quicklinks_data_: quicklink
4498
4499
  else if (href()) router_.navigate_.go_to_({
4499
4500
  new_url_: url,
4500
4501
  is_replace_: false,
4501
- event_: ev
4502
+ event_: ev,
4503
+ force_spa_navigation_: true
4502
4504
  });
4503
4505
  }), true);
4504
4506
  (0, $g9l4l$insert)(_el$3, ()=>display_accessor()?.title || (0, $g9l4l$createComponent)((0, $g9l4l$Placeholder), {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@depict-ai/ui",
3
- "version": "0.0.76",
3
+ "version": "0.0.77",
4
4
  "description": "Base package containing the actual UI of Depict UI along with translations, with a not-simplified API. We recommend using @depict-ai/js-ui or @depict-ai/react-ui instead.",
5
5
  "packageManager": "yarn@3.2.2",
6
6
  "source": [
@@ -85,9 +85,9 @@
85
85
  "ts-jest": "^29.0.3"
86
86
  },
87
87
  "dependencies": {
88
- "@depict-ai/plp-styling": "^0.0.38",
89
- "@depict-ai/types": "^0.0.28",
90
- "@depict-ai/utilishared": "^0.0.80",
88
+ "@depict-ai/plp-styling": "^0.0.39",
89
+ "@depict-ai/types": "^0.0.29",
90
+ "@depict-ai/utilishared": "^0.0.81",
91
91
  "lz-string": "^1.4.4",
92
92
  "solid-js": "^1.6.2"
93
93
  },