@depict-ai/ui 4.10.25 → 4.10.26

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.25";
118
+ const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.10.26";
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 => {
@@ -8008,7 +8008,7 @@ function $e4e98e5080f4386e$export$2972b890694ced75(callback, _ref) {
8008
8008
  };
8009
8009
  const idleHandle = requestIdleCallback(deadline => {
8010
8010
  cancel();
8011
- return callback(deadline);
8011
+ return callback(typeof (deadline === null || deadline === void 0 ? void 0 : deadline.timeRemaining) === "function" ? deadline : $e4e98e5080f4386e$var$makeDeadline());
8012
8012
  }, {
8013
8013
  timeout: timeout
8014
8014
  });
@@ -8025,6 +8025,18 @@ function $e4e98e5080f4386e$export$2972b890694ced75(callback, _ref) {
8025
8025
  }, timeout + 1000);
8026
8026
  return cancel;
8027
8027
  }
8028
+ /**
8029
+ * Stand-in for a missing IdleDeadline: 50ms, the most a real one gives, counting down from when the callback was called
8030
+ */
8031
+ function $e4e98e5080f4386e$var$makeDeadline() {
8032
+ const start = performance.now();
8033
+ return {
8034
+ didTimeout: false,
8035
+ timeRemaining() {
8036
+ return Math.max(0, 50 - (performance.now() - start));
8037
+ }
8038
+ };
8039
+ }
8028
8040
  function $4692443b324db9ee$export$566cd7e46bad5c2d(callback) {
8029
8041
  var _globalThis$performan, _globalThis$performan2, _globalThis$performan3, _globalThis$performan4;
8030
8042
  const page_hasnt_loaded =
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.25";
14
+ export const version = "4.10.26";
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.25";
13
+ const $8db9a15135765c11$export$83d89fbfd8236492 = "4.10.26";
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 => {
@@ -7903,7 +7903,7 @@ function $6db93f70c2db1486$export$2972b890694ced75(callback, _ref) {
7903
7903
  };
7904
7904
  const idleHandle = requestIdleCallback(deadline => {
7905
7905
  cancel();
7906
- return callback(deadline);
7906
+ return callback(typeof (deadline === null || deadline === void 0 ? void 0 : deadline.timeRemaining) === "function" ? deadline : $6db93f70c2db1486$var$makeDeadline());
7907
7907
  }, {
7908
7908
  timeout: timeout
7909
7909
  });
@@ -7920,6 +7920,18 @@ function $6db93f70c2db1486$export$2972b890694ced75(callback, _ref) {
7920
7920
  }, timeout + 1000);
7921
7921
  return cancel;
7922
7922
  }
7923
+ /**
7924
+ * Stand-in for a missing IdleDeadline: 50ms, the most a real one gives, counting down from when the callback was called
7925
+ */
7926
+ function $6db93f70c2db1486$var$makeDeadline() {
7927
+ const start = performance.now();
7928
+ return {
7929
+ didTimeout: false,
7930
+ timeRemaining() {
7931
+ return Math.max(0, 50 - (performance.now() - start));
7932
+ }
7933
+ };
7934
+ }
7923
7935
  function $29b3cf99ce390e3b$export$566cd7e46bad5c2d(callback) {
7924
7936
  var _globalThis$performan, _globalThis$performan2, _globalThis$performan3, _globalThis$performan4;
7925
7937
  const page_hasnt_loaded =
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.25";
112
+ const $b757f75811f3261f$export$83d89fbfd8236492 = "4.10.26";
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, ({
@@ -7579,7 +7579,7 @@ function $3ea8e0af95b5b7d2$export$2972b890694ced75(callback, {
7579
7579
  };
7580
7580
  const idleHandle = requestIdleCallback(deadline => {
7581
7581
  cancel();
7582
- return callback(deadline);
7582
+ return callback(typeof deadline?.timeRemaining === "function" ? deadline : $3ea8e0af95b5b7d2$var$makeDeadline());
7583
7583
  }, {
7584
7584
  timeout: timeout
7585
7585
  });
@@ -7596,6 +7596,18 @@ function $3ea8e0af95b5b7d2$export$2972b890694ced75(callback, {
7596
7596
  }, timeout + 1000);
7597
7597
  return cancel;
7598
7598
  }
7599
+ /**
7600
+ * Stand-in for a missing IdleDeadline: 50ms, the most a real one gives, counting down from when the callback was called
7601
+ */
7602
+ function $3ea8e0af95b5b7d2$var$makeDeadline() {
7603
+ const start = performance.now();
7604
+ return {
7605
+ didTimeout: false,
7606
+ timeRemaining() {
7607
+ return Math.max(0, 50 - (performance.now() - start));
7608
+ }
7609
+ };
7610
+ }
7599
7611
  function $7ea61486b66872b6$export$566cd7e46bad5c2d(callback) {
7600
7612
  const page_hasnt_loaded =
7601
7613
  // @ts-ignore
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.25";
14
+ export const version = "4.10.26";
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.25";
10
+ const $ec291e0010116877$export$83d89fbfd8236492 = "4.10.26";
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, ({
@@ -7477,7 +7477,7 @@ function $4ea56971d92eb0cd$export$2972b890694ced75(callback, {
7477
7477
  };
7478
7478
  const idleHandle = requestIdleCallback(deadline => {
7479
7479
  cancel();
7480
- return callback(deadline);
7480
+ return callback(typeof deadline?.timeRemaining === "function" ? deadline : $4ea56971d92eb0cd$var$makeDeadline());
7481
7481
  }, {
7482
7482
  timeout: timeout
7483
7483
  });
@@ -7494,6 +7494,18 @@ function $4ea56971d92eb0cd$export$2972b890694ced75(callback, {
7494
7494
  }, timeout + 1000);
7495
7495
  return cancel;
7496
7496
  }
7497
+ /**
7498
+ * Stand-in for a missing IdleDeadline: 50ms, the most a real one gives, counting down from when the callback was called
7499
+ */
7500
+ function $4ea56971d92eb0cd$var$makeDeadline() {
7501
+ const start = performance.now();
7502
+ return {
7503
+ didTimeout: false,
7504
+ timeRemaining() {
7505
+ return Math.max(0, 50 - (performance.now() - start));
7506
+ }
7507
+ };
7508
+ }
7497
7509
  function $f71681eb5d5aae0a$export$566cd7e46bad5c2d(callback) {
7498
7510
  const page_hasnt_loaded =
7499
7511
  // @ts-ignore
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "url": "git+https://github.com/depict-org/depict-ui.git",
6
6
  "directory": "browser-tags-v2/packages/ui"
7
7
  },
8
- "version": "4.10.25",
8
+ "version": "4.10.26",
9
9
  "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.",
10
10
  "packageManager": "yarn@3.2.2",
11
11
  "sass": "styles.scss",
@@ -241,9 +241,9 @@
241
241
  "@babel/plugin-transform-typescript": "^7.22.9",
242
242
  "@babel/runtime": "^7.22.6",
243
243
  "@babel/runtime-corejs3": "^7.22.6",
244
- "@depict-ai/plp-styling": "^4.6.16",
245
- "@depict-ai/types": "^5.6.14",
246
- "@depict-ai/utilishared": "^2.6.14",
244
+ "@depict-ai/plp-styling": "^4.6.17",
245
+ "@depict-ai/types": "^5.6.15",
246
+ "@depict-ai/utilishared": "^2.6.15",
247
247
  "solid-js": "^1.9.10"
248
248
  },
249
249
  "type": "module",
@@ -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.25";
118
+ const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.10.26";
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 => {
@@ -6519,7 +6519,7 @@ function $e4e98e5080f4386e$export$2972b890694ced75(callback, _ref) {
6519
6519
  };
6520
6520
  const idleHandle = requestIdleCallback(deadline => {
6521
6521
  cancel();
6522
- return callback(deadline);
6522
+ return callback(typeof (deadline === null || deadline === void 0 ? void 0 : deadline.timeRemaining) === "function" ? deadline : $e4e98e5080f4386e$var$makeDeadline());
6523
6523
  }, {
6524
6524
  timeout: timeout
6525
6525
  });
@@ -6536,6 +6536,18 @@ function $e4e98e5080f4386e$export$2972b890694ced75(callback, _ref) {
6536
6536
  }, timeout + 1000);
6537
6537
  return cancel;
6538
6538
  }
6539
+ /**
6540
+ * Stand-in for a missing IdleDeadline: 50ms, the most a real one gives, counting down from when the callback was called
6541
+ */
6542
+ function $e4e98e5080f4386e$var$makeDeadline() {
6543
+ const start = performance.now();
6544
+ return {
6545
+ didTimeout: false,
6546
+ timeRemaining() {
6547
+ return Math.max(0, 50 - (performance.now() - start));
6548
+ }
6549
+ };
6550
+ }
6539
6551
  function $4692443b324db9ee$export$566cd7e46bad5c2d(callback) {
6540
6552
  var _globalThis$performan, _globalThis$performan2, _globalThis$performan3, _globalThis$performan4;
6541
6553
  const page_hasnt_loaded =
@@ -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.25";
14
+ export const version = "4.10.26";
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.25";
13
+ const $8db9a15135765c11$export$83d89fbfd8236492 = "4.10.26";
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 => {
@@ -6414,7 +6414,7 @@ function $6db93f70c2db1486$export$2972b890694ced75(callback, _ref) {
6414
6414
  };
6415
6415
  const idleHandle = requestIdleCallback(deadline => {
6416
6416
  cancel();
6417
- return callback(deadline);
6417
+ return callback(typeof (deadline === null || deadline === void 0 ? void 0 : deadline.timeRemaining) === "function" ? deadline : $6db93f70c2db1486$var$makeDeadline());
6418
6418
  }, {
6419
6419
  timeout: timeout
6420
6420
  });
@@ -6431,6 +6431,18 @@ function $6db93f70c2db1486$export$2972b890694ced75(callback, _ref) {
6431
6431
  }, timeout + 1000);
6432
6432
  return cancel;
6433
6433
  }
6434
+ /**
6435
+ * Stand-in for a missing IdleDeadline: 50ms, the most a real one gives, counting down from when the callback was called
6436
+ */
6437
+ function $6db93f70c2db1486$var$makeDeadline() {
6438
+ const start = performance.now();
6439
+ return {
6440
+ didTimeout: false,
6441
+ timeRemaining() {
6442
+ return Math.max(0, 50 - (performance.now() - start));
6443
+ }
6444
+ };
6445
+ }
6434
6446
  function $29b3cf99ce390e3b$export$566cd7e46bad5c2d(callback) {
6435
6447
  var _globalThis$performan, _globalThis$performan2, _globalThis$performan3, _globalThis$performan4;
6436
6448
  const page_hasnt_loaded =
@@ -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.25";
112
+ const $b757f75811f3261f$export$83d89fbfd8236492 = "4.10.26";
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, ({
@@ -6146,7 +6146,7 @@ function $3ea8e0af95b5b7d2$export$2972b890694ced75(callback, {
6146
6146
  };
6147
6147
  const idleHandle = requestIdleCallback(deadline => {
6148
6148
  cancel();
6149
- return callback(deadline);
6149
+ return callback(typeof deadline?.timeRemaining === "function" ? deadline : $3ea8e0af95b5b7d2$var$makeDeadline());
6150
6150
  }, {
6151
6151
  timeout: timeout
6152
6152
  });
@@ -6163,6 +6163,18 @@ function $3ea8e0af95b5b7d2$export$2972b890694ced75(callback, {
6163
6163
  }, timeout + 1000);
6164
6164
  return cancel;
6165
6165
  }
6166
+ /**
6167
+ * Stand-in for a missing IdleDeadline: 50ms, the most a real one gives, counting down from when the callback was called
6168
+ */
6169
+ function $3ea8e0af95b5b7d2$var$makeDeadline() {
6170
+ const start = performance.now();
6171
+ return {
6172
+ didTimeout: false,
6173
+ timeRemaining() {
6174
+ return Math.max(0, 50 - (performance.now() - start));
6175
+ }
6176
+ };
6177
+ }
6166
6178
  function $7ea61486b66872b6$export$566cd7e46bad5c2d(callback) {
6167
6179
  const page_hasnt_loaded =
6168
6180
  // @ts-ignore
@@ -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.25";
14
+ export const version = "4.10.26";
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.25";
10
+ const $ec291e0010116877$export$83d89fbfd8236492 = "4.10.26";
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, ({
@@ -6044,7 +6044,7 @@ function $4ea56971d92eb0cd$export$2972b890694ced75(callback, {
6044
6044
  };
6045
6045
  const idleHandle = requestIdleCallback(deadline => {
6046
6046
  cancel();
6047
- return callback(deadline);
6047
+ return callback(typeof deadline?.timeRemaining === "function" ? deadline : $4ea56971d92eb0cd$var$makeDeadline());
6048
6048
  }, {
6049
6049
  timeout: timeout
6050
6050
  });
@@ -6061,6 +6061,18 @@ function $4ea56971d92eb0cd$export$2972b890694ced75(callback, {
6061
6061
  }, timeout + 1000);
6062
6062
  return cancel;
6063
6063
  }
6064
+ /**
6065
+ * Stand-in for a missing IdleDeadline: 50ms, the most a real one gives, counting down from when the callback was called
6066
+ */
6067
+ function $4ea56971d92eb0cd$var$makeDeadline() {
6068
+ const start = performance.now();
6069
+ return {
6070
+ didTimeout: false,
6071
+ timeRemaining() {
6072
+ return Math.max(0, 50 - (performance.now() - start));
6073
+ }
6074
+ };
6075
+ }
6064
6076
  function $f71681eb5d5aae0a$export$566cd7e46bad5c2d(callback) {
6065
6077
  const page_hasnt_loaded =
6066
6078
  // @ts-ignore