@depict-ai/ui 4.10.1 → 4.10.2

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/ES10/index.cjs CHANGED
@@ -115,7 +115,7 @@ $parcel$export(module.exports, "BreadCrumbs", () => $335c02c1241a9ca8$export$5b7
115
115
  $parcel$export(module.exports, "QuickLinks", () => $335c02c1241a9ca8$export$de035477d6fef996);
116
116
  $parcel$export(module.exports, "CategoryPage", () => $c10e33c4681f8c9b$export$e2bf8ce7779e827e);
117
117
  /*! Depict.ai search and product listing SDK */
118
- const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.10.1";
118
+ const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.10.2";
119
119
  function $3e17e871e9d0911d$export$d9f36cf74e24d595(media_query) {
120
120
  const signal = $52FdA$solidjs.createSignal(false);
121
121
  $52FdA$solidjs.onCleanup($52FdA$depictaiutilishared.javascript_media_query(media_query, _ref => {
@@ -9553,7 +9553,7 @@ class $73014ff36186a4dd$export$7e1297a3a19f10d8 {
9553
9553
  listing_query_: listing_query_,
9554
9554
  scroll = true
9555
9555
  } = _ref;
9556
- const new_url_ = raw_new_url instanceof URL ? raw_new_url : new URL(raw_new_url, location.origin);
9556
+ const new_url_ = raw_new_url instanceof URL ? raw_new_url : new URL(raw_new_url, location.href);
9557
9557
  const wants_hard_navigation = this.on_navigation_ === "hard_navigation";
9558
9558
  if ($9ca08bcacbc598ce$export$29d28dadc2d6b631(event_)) return;
9559
9559
  const different_origin = new_url_.origin !== location.origin;
@@ -9579,7 +9579,7 @@ class $73014ff36186a4dd$export$7e1297a3a19f10d8 {
9579
9579
  history[is_replace_ ? "replaceState" : "pushState"](new_state, "", new_url_);
9580
9580
  } else $73014ff36186a4dd$var$_classPrivateMethodGet(this, $73014ff36186a4dd$var$_throwing_on_navigation, $73014ff36186a4dd$var$_throwing_on_navigation2).call(this, {
9581
9581
  is_replace: is_replace_,
9582
- new_url: new_url_ instanceof URL ? new_url_ : new URL(new_url_, location.origin),
9582
+ new_url: new_url_ instanceof URL ? new_url_ : new URL(new_url_, location.href),
9583
9583
  scroll: scroll
9584
9584
  });
9585
9585
  await promise;
package/ES10/index.d.ts CHANGED
@@ -11,7 +11,7 @@ import { GetListingRequest } from "@depict-ai/types/api/GetListingRequest";
11
11
  import { BaseSearchRequestV3 } from "@depict-ai/types/api/BaseSearchRequestV3";
12
12
  import { FeaturedInDisplay } from "@depict-ai/types/api/FeaturedInResponseV3";
13
13
  import { SearchFilter as _SearchFilter3 } from "@depict-ai/types/api/SearchRequestV2";
14
- export const version = "4.10.1";
14
+ export const version = "4.10.2";
15
15
  /**
16
16
  * Use `javascript_media_query` but return a reactive accessor instead of taking a callback function
17
17
  */
package/ES10/index.js CHANGED
@@ -10,7 +10,7 @@ import $8tj43$babelruntimehelpersclassPrivateFieldGet from "@babel/runtime/helpe
10
10
  /*! Depict.ai search and product listing SDK */
11
11
  import { register_es_version } from "../multi_import_deduplicator.mjs";
12
12
  register_es_version("ui", "ES10");
13
- const $8db9a15135765c11$export$83d89fbfd8236492 = "4.10.1";
13
+ const $8db9a15135765c11$export$83d89fbfd8236492 = "4.10.2";
14
14
  function $00a5b94f0c11efbb$export$d9f36cf74e24d595(media_query) {
15
15
  const signal = $8tj43$createSignal(false);
16
16
  $8tj43$onCleanup($8tj43$javascript_media_query(media_query, _ref => {
@@ -9448,7 +9448,7 @@ class $ac571292d606f30b$export$7e1297a3a19f10d8 {
9448
9448
  listing_query_: listing_query_,
9449
9449
  scroll = true
9450
9450
  } = _ref;
9451
- const new_url_ = raw_new_url instanceof URL ? raw_new_url : new URL(raw_new_url, location.origin);
9451
+ const new_url_ = raw_new_url instanceof URL ? raw_new_url : new URL(raw_new_url, location.href);
9452
9452
  const wants_hard_navigation = this.on_navigation_ === "hard_navigation";
9453
9453
  if ($9b35d1384e31813a$export$29d28dadc2d6b631(event_)) return;
9454
9454
  const different_origin = new_url_.origin !== location.origin;
@@ -9474,7 +9474,7 @@ class $ac571292d606f30b$export$7e1297a3a19f10d8 {
9474
9474
  history[is_replace_ ? "replaceState" : "pushState"](new_state, "", new_url_);
9475
9475
  } else $ac571292d606f30b$var$_classPrivateMethodGet(this, $ac571292d606f30b$var$_throwing_on_navigation, $ac571292d606f30b$var$_throwing_on_navigation2).call(this, {
9476
9476
  is_replace: is_replace_,
9477
- new_url: new_url_ instanceof URL ? new_url_ : new URL(new_url_, location.origin),
9477
+ new_url: new_url_ instanceof URL ? new_url_ : new URL(new_url_, location.href),
9478
9478
  scroll: scroll
9479
9479
  });
9480
9480
  await promise;
package/latest/index.cjs CHANGED
@@ -109,7 +109,7 @@ $parcel$export(module.exports, "BreadCrumbs", () => $1f4925833f07df29$export$5b7
109
109
  $parcel$export(module.exports, "QuickLinks", () => $1f4925833f07df29$export$de035477d6fef996);
110
110
  $parcel$export(module.exports, "CategoryPage", () => $14f289047713d67a$export$e2bf8ce7779e827e);
111
111
  /*! Depict.ai search and product listing SDK */
112
- const $b757f75811f3261f$export$83d89fbfd8236492 = "4.10.1";
112
+ const $b757f75811f3261f$export$83d89fbfd8236492 = "4.10.2";
113
113
  function $b54e6192d0caa293$export$d9f36cf74e24d595(media_query) {
114
114
  const signal = $gVhhF$solidjs.createSignal(false);
115
115
  $gVhhF$solidjs.onCleanup($gVhhF$depictaiutilishared.javascript_media_query(media_query, ({
@@ -9053,7 +9053,7 @@ class $e96dd13889871fc0$export$7e1297a3a19f10d8 {
9053
9053
  listing_query_: listing_query_,
9054
9054
  scroll = true
9055
9055
  }) => {
9056
- const new_url_ = raw_new_url instanceof URL ? raw_new_url : new URL(raw_new_url, location.origin);
9056
+ const new_url_ = raw_new_url instanceof URL ? raw_new_url : new URL(raw_new_url, location.href);
9057
9057
  const wants_hard_navigation = this.on_navigation_ === "hard_navigation";
9058
9058
  if ($747421cd28dec5b5$export$29d28dadc2d6b631(event_)) return;
9059
9059
  const different_origin = new_url_.origin !== location.origin;
@@ -9079,7 +9079,7 @@ class $e96dd13889871fc0$export$7e1297a3a19f10d8 {
9079
9079
  history[is_replace_ ? "replaceState" : "pushState"](new_state, "", new_url_);
9080
9080
  } else this.#throwing_on_navigation.call(this, {
9081
9081
  is_replace: is_replace_,
9082
- new_url: new_url_ instanceof URL ? new_url_ : new URL(new_url_, location.origin),
9082
+ new_url: new_url_ instanceof URL ? new_url_ : new URL(new_url_, location.href),
9083
9083
  scroll: scroll
9084
9084
  });
9085
9085
  await promise;
package/latest/index.d.ts CHANGED
@@ -11,7 +11,7 @@ import { GetListingRequest } from "@depict-ai/types/api/GetListingRequest";
11
11
  import { BaseSearchRequestV3 } from "@depict-ai/types/api/BaseSearchRequestV3";
12
12
  import { FeaturedInDisplay } from "@depict-ai/types/api/FeaturedInResponseV3";
13
13
  import { SearchFilter as _SearchFilter3 } from "@depict-ai/types/api/SearchRequestV2";
14
- export const version = "4.10.1";
14
+ export const version = "4.10.2";
15
15
  /**
16
16
  * Use `javascript_media_query` but return a reactive accessor instead of taking a callback function
17
17
  */
package/latest/index.js CHANGED
@@ -7,7 +7,7 @@ import { createStore as $9HbP8$createStore, reconcile as $9HbP8$reconcile } from
7
7
  /*! Depict.ai search and product listing SDK */
8
8
  import { register_es_version } from "../multi_import_deduplicator.mjs";
9
9
  register_es_version("ui", "latest");
10
- const $ec291e0010116877$export$83d89fbfd8236492 = "4.10.1";
10
+ const $ec291e0010116877$export$83d89fbfd8236492 = "4.10.2";
11
11
  function $dc9262ef6f786812$export$d9f36cf74e24d595(media_query) {
12
12
  const signal = $9HbP8$createSignal(false);
13
13
  $9HbP8$onCleanup($9HbP8$javascript_media_query(media_query, ({
@@ -8951,7 +8951,7 @@ class $4fd2ba03703a7d92$export$7e1297a3a19f10d8 {
8951
8951
  listing_query_: listing_query_,
8952
8952
  scroll = true
8953
8953
  }) => {
8954
- const new_url_ = raw_new_url instanceof URL ? raw_new_url : new URL(raw_new_url, location.origin);
8954
+ const new_url_ = raw_new_url instanceof URL ? raw_new_url : new URL(raw_new_url, location.href);
8955
8955
  const wants_hard_navigation = this.on_navigation_ === "hard_navigation";
8956
8956
  if ($a281666e5c15c2ec$export$29d28dadc2d6b631(event_)) return;
8957
8957
  const different_origin = new_url_.origin !== location.origin;
@@ -8977,7 +8977,7 @@ class $4fd2ba03703a7d92$export$7e1297a3a19f10d8 {
8977
8977
  history[is_replace_ ? "replaceState" : "pushState"](new_state, "", new_url_);
8978
8978
  } else this.#throwing_on_navigation.call(this, {
8979
8979
  is_replace: is_replace_,
8980
- new_url: new_url_ instanceof URL ? new_url_ : new URL(new_url_, location.origin),
8980
+ new_url: new_url_ instanceof URL ? new_url_ : new URL(new_url_, location.href),
8981
8981
  scroll: scroll
8982
8982
  });
8983
8983
  await promise;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@depict-ai/ui",
3
- "version": "4.10.1",
3
+ "version": "4.10.2",
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
  "sass": "styles.scss",
@@ -115,7 +115,7 @@ $parcel$export(module.exports, "BreadCrumbs", () => $335c02c1241a9ca8$export$5b7
115
115
  $parcel$export(module.exports, "QuickLinks", () => $335c02c1241a9ca8$export$de035477d6fef996);
116
116
  $parcel$export(module.exports, "CategoryPage", () => $c10e33c4681f8c9b$export$e2bf8ce7779e827e);
117
117
  /*! Depict.ai search and product listing SDK */
118
- const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.10.1";
118
+ const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.10.2";
119
119
  function $3e17e871e9d0911d$export$d9f36cf74e24d595(media_query) {
120
120
  const signal = $3hooq$solidjs.createSignal(false);
121
121
  $3hooq$solidjs.onCleanup($3hooq$depictaiutilishared.javascript_media_query(media_query, _ref => {
@@ -7890,7 +7890,7 @@ class $73014ff36186a4dd$export$7e1297a3a19f10d8 {
7890
7890
  listing_query_: listing_query_,
7891
7891
  scroll = true
7892
7892
  } = _ref;
7893
- const new_url_ = raw_new_url instanceof URL ? raw_new_url : new URL(raw_new_url, location.origin);
7893
+ const new_url_ = raw_new_url instanceof URL ? raw_new_url : new URL(raw_new_url, location.href);
7894
7894
  const wants_hard_navigation = this.on_navigation_ === "hard_navigation";
7895
7895
  if ($9ca08bcacbc598ce$export$29d28dadc2d6b631(event_)) return;
7896
7896
  const different_origin = new_url_.origin !== location.origin;
@@ -7916,7 +7916,7 @@ class $73014ff36186a4dd$export$7e1297a3a19f10d8 {
7916
7916
  history[is_replace_ ? "replaceState" : "pushState"](new_state, "", new_url_);
7917
7917
  } else $73014ff36186a4dd$var$_classPrivateMethodGet(this, $73014ff36186a4dd$var$_throwing_on_navigation, $73014ff36186a4dd$var$_throwing_on_navigation2).call(this, {
7918
7918
  is_replace: is_replace_,
7919
- new_url: new_url_ instanceof URL ? new_url_ : new URL(new_url_, location.origin),
7919
+ new_url: new_url_ instanceof URL ? new_url_ : new URL(new_url_, location.href),
7920
7920
  scroll: scroll
7921
7921
  });
7922
7922
  await promise;
@@ -11,7 +11,7 @@ import { GetListingRequest } from "@depict-ai/types/api/GetListingRequest";
11
11
  import { BaseSearchRequestV3 } from "@depict-ai/types/api/BaseSearchRequestV3";
12
12
  import { FeaturedInDisplay } from "@depict-ai/types/api/FeaturedInResponseV3";
13
13
  import { SearchFilter as _SearchFilter3 } from "@depict-ai/types/api/SearchRequestV2";
14
- export const version = "4.10.1";
14
+ export const version = "4.10.2";
15
15
  /**
16
16
  * Use `javascript_media_query` but return a reactive accessor instead of taking a callback function
17
17
  */
@@ -10,7 +10,7 @@ import $b8hua$babelruntimehelpersclassPrivateFieldGet from "@babel/runtime/helpe
10
10
  /*! Depict.ai search and product listing SDK */
11
11
  import { register_es_version } from "../../multi_import_deduplicator.mjs";
12
12
  register_es_version("ui", "ES10");
13
- const $8db9a15135765c11$export$83d89fbfd8236492 = "4.10.1";
13
+ const $8db9a15135765c11$export$83d89fbfd8236492 = "4.10.2";
14
14
  function $00a5b94f0c11efbb$export$d9f36cf74e24d595(media_query) {
15
15
  const signal = $b8hua$createSignal(false);
16
16
  $b8hua$onCleanup($b8hua$javascript_media_query(media_query, _ref => {
@@ -7785,7 +7785,7 @@ class $ac571292d606f30b$export$7e1297a3a19f10d8 {
7785
7785
  listing_query_: listing_query_,
7786
7786
  scroll = true
7787
7787
  } = _ref;
7788
- const new_url_ = raw_new_url instanceof URL ? raw_new_url : new URL(raw_new_url, location.origin);
7788
+ const new_url_ = raw_new_url instanceof URL ? raw_new_url : new URL(raw_new_url, location.href);
7789
7789
  const wants_hard_navigation = this.on_navigation_ === "hard_navigation";
7790
7790
  if ($9b35d1384e31813a$export$29d28dadc2d6b631(event_)) return;
7791
7791
  const different_origin = new_url_.origin !== location.origin;
@@ -7811,7 +7811,7 @@ class $ac571292d606f30b$export$7e1297a3a19f10d8 {
7811
7811
  history[is_replace_ ? "replaceState" : "pushState"](new_state, "", new_url_);
7812
7812
  } else $ac571292d606f30b$var$_classPrivateMethodGet(this, $ac571292d606f30b$var$_throwing_on_navigation, $ac571292d606f30b$var$_throwing_on_navigation2).call(this, {
7813
7813
  is_replace: is_replace_,
7814
- new_url: new_url_ instanceof URL ? new_url_ : new URL(new_url_, location.origin),
7814
+ new_url: new_url_ instanceof URL ? new_url_ : new URL(new_url_, location.href),
7815
7815
  scroll: scroll
7816
7816
  });
7817
7817
  await promise;
@@ -109,7 +109,7 @@ $parcel$export(module.exports, "BreadCrumbs", () => $1f4925833f07df29$export$5b7
109
109
  $parcel$export(module.exports, "QuickLinks", () => $1f4925833f07df29$export$de035477d6fef996);
110
110
  $parcel$export(module.exports, "CategoryPage", () => $14f289047713d67a$export$e2bf8ce7779e827e);
111
111
  /*! Depict.ai search and product listing SDK */
112
- const $b757f75811f3261f$export$83d89fbfd8236492 = "4.10.1";
112
+ const $b757f75811f3261f$export$83d89fbfd8236492 = "4.10.2";
113
113
  function $b54e6192d0caa293$export$d9f36cf74e24d595(media_query) {
114
114
  const signal = $5vyXB$solidjs.createSignal(false);
115
115
  $5vyXB$solidjs.onCleanup($5vyXB$depictaiutilishared.javascript_media_query(media_query, ({
@@ -7453,7 +7453,7 @@ class $e96dd13889871fc0$export$7e1297a3a19f10d8 {
7453
7453
  listing_query_: listing_query_,
7454
7454
  scroll = true
7455
7455
  }) => {
7456
- const new_url_ = raw_new_url instanceof URL ? raw_new_url : new URL(raw_new_url, location.origin);
7456
+ const new_url_ = raw_new_url instanceof URL ? raw_new_url : new URL(raw_new_url, location.href);
7457
7457
  const wants_hard_navigation = this.on_navigation_ === "hard_navigation";
7458
7458
  if ($747421cd28dec5b5$export$29d28dadc2d6b631(event_)) return;
7459
7459
  const different_origin = new_url_.origin !== location.origin;
@@ -7479,7 +7479,7 @@ class $e96dd13889871fc0$export$7e1297a3a19f10d8 {
7479
7479
  history[is_replace_ ? "replaceState" : "pushState"](new_state, "", new_url_);
7480
7480
  } else this.#throwing_on_navigation.call(this, {
7481
7481
  is_replace: is_replace_,
7482
- new_url: new_url_ instanceof URL ? new_url_ : new URL(new_url_, location.origin),
7482
+ new_url: new_url_ instanceof URL ? new_url_ : new URL(new_url_, location.href),
7483
7483
  scroll: scroll
7484
7484
  });
7485
7485
  await promise;
@@ -11,7 +11,7 @@ import { GetListingRequest } from "@depict-ai/types/api/GetListingRequest";
11
11
  import { BaseSearchRequestV3 } from "@depict-ai/types/api/BaseSearchRequestV3";
12
12
  import { FeaturedInDisplay } from "@depict-ai/types/api/FeaturedInResponseV3";
13
13
  import { SearchFilter as _SearchFilter3 } from "@depict-ai/types/api/SearchRequestV2";
14
- export const version = "4.10.1";
14
+ export const version = "4.10.2";
15
15
  /**
16
16
  * Use `javascript_media_query` but return a reactive accessor instead of taking a callback function
17
17
  */
@@ -7,7 +7,7 @@ import { createStore as $i7OB2$createStore, reconcile as $i7OB2$reconcile } from
7
7
  /*! Depict.ai search and product listing SDK */
8
8
  import { register_es_version } from "../../multi_import_deduplicator.mjs";
9
9
  register_es_version("ui", "latest");
10
- const $ec291e0010116877$export$83d89fbfd8236492 = "4.10.1";
10
+ const $ec291e0010116877$export$83d89fbfd8236492 = "4.10.2";
11
11
  function $dc9262ef6f786812$export$d9f36cf74e24d595(media_query) {
12
12
  const signal = $i7OB2$createSignal(false);
13
13
  $i7OB2$onCleanup($i7OB2$javascript_media_query(media_query, ({
@@ -7351,7 +7351,7 @@ class $4fd2ba03703a7d92$export$7e1297a3a19f10d8 {
7351
7351
  listing_query_: listing_query_,
7352
7352
  scroll = true
7353
7353
  }) => {
7354
- const new_url_ = raw_new_url instanceof URL ? raw_new_url : new URL(raw_new_url, location.origin);
7354
+ const new_url_ = raw_new_url instanceof URL ? raw_new_url : new URL(raw_new_url, location.href);
7355
7355
  const wants_hard_navigation = this.on_navigation_ === "hard_navigation";
7356
7356
  if ($a281666e5c15c2ec$export$29d28dadc2d6b631(event_)) return;
7357
7357
  const different_origin = new_url_.origin !== location.origin;
@@ -7377,7 +7377,7 @@ class $4fd2ba03703a7d92$export$7e1297a3a19f10d8 {
7377
7377
  history[is_replace_ ? "replaceState" : "pushState"](new_state, "", new_url_);
7378
7378
  } else this.#throwing_on_navigation.call(this, {
7379
7379
  is_replace: is_replace_,
7380
- new_url: new_url_ instanceof URL ? new_url_ : new URL(new_url_, location.origin),
7380
+ new_url: new_url_ instanceof URL ? new_url_ : new URL(new_url_, location.href),
7381
7381
  scroll: scroll
7382
7382
  });
7383
7383
  await promise;