@depict-ai/ui 4.8.26 → 4.8.28

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.8.26";
118
+ const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.8.28";
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 => {
@@ -7638,7 +7638,7 @@ function $4692443b324db9ee$export$566cd7e46bad5c2d(callback) {
7638
7638
  cancelIdleCallback();
7639
7639
  callback({
7640
7640
  didTimeout: false,
7641
- timeRemaining: () => 300
7641
+ timeRemaining: () => 1000
7642
7642
  });
7643
7643
  });
7644
7644
  const cancelIdleCallback = $e4e98e5080f4386e$export$2972b890694ced75(deadline => {
@@ -7672,6 +7672,10 @@ function $4692443b324db9ee$var$checkForFrameDipsUntil(checkDuration, runWhenNoDi
7672
7672
  }
7673
7673
  lastTime = time;
7674
7674
  if (time <= start + checkDuration) check();else {
7675
+ if (fpsOverTime.length < checkDuration / 1000 * noDipsBelow) {
7676
+ $52FdA$depictaiutilishared.dlog("Not enough FPS data to determine if we should short-circuit requestIdleCallback, rIC seems legit. FPS:", fpsOverTime);
7677
+ return;
7678
+ }
7675
7679
  $52FdA$depictaiutilishared.dlog("Short-circuiting requestIdleCallback (probably bugged) due to only ", maxDips - dipsLeft, " dips below ", noDipsBelow, " FPS for ", checkDuration, "ms. FPS:", fpsOverTime);
7676
7680
  runWhenNoDips();
7677
7681
  }
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.8.26";
14
+ export const version = "4.8.28";
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.8.26";
13
+ const $8db9a15135765c11$export$83d89fbfd8236492 = "4.8.28";
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 => {
@@ -7533,7 +7533,7 @@ function $29b3cf99ce390e3b$export$566cd7e46bad5c2d(callback) {
7533
7533
  cancelIdleCallback();
7534
7534
  callback({
7535
7535
  didTimeout: false,
7536
- timeRemaining: () => 300
7536
+ timeRemaining: () => 1000
7537
7537
  });
7538
7538
  });
7539
7539
  const cancelIdleCallback = $6db93f70c2db1486$export$2972b890694ced75(deadline => {
@@ -7567,6 +7567,10 @@ function $29b3cf99ce390e3b$var$checkForFrameDipsUntil(checkDuration, runWhenNoDi
7567
7567
  }
7568
7568
  lastTime = time;
7569
7569
  if (time <= start + checkDuration) check();else {
7570
+ if (fpsOverTime.length < checkDuration / 1000 * noDipsBelow) {
7571
+ $8tj43$dlog("Not enough FPS data to determine if we should short-circuit requestIdleCallback, rIC seems legit. FPS:", fpsOverTime);
7572
+ return;
7573
+ }
7570
7574
  $8tj43$dlog("Short-circuiting requestIdleCallback (probably bugged) due to only ", maxDips - dipsLeft, " dips below ", noDipsBelow, " FPS for ", checkDuration, "ms. FPS:", fpsOverTime);
7571
7575
  runWhenNoDips();
7572
7576
  }
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.8.26";
112
+ const $b757f75811f3261f$export$83d89fbfd8236492 = "4.8.28";
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, ({
@@ -7222,7 +7222,7 @@ function $7ea61486b66872b6$export$566cd7e46bad5c2d(callback) {
7222
7222
  cancelIdleCallback();
7223
7223
  callback({
7224
7224
  didTimeout: false,
7225
- timeRemaining: () => 300
7225
+ timeRemaining: () => 1000
7226
7226
  });
7227
7227
  });
7228
7228
  const cancelIdleCallback = $3ea8e0af95b5b7d2$export$2972b890694ced75(deadline => {
@@ -7255,6 +7255,10 @@ function $7ea61486b66872b6$var$checkForFrameDipsUntil(checkDuration, runWhenNoDi
7255
7255
  }
7256
7256
  lastTime = time;
7257
7257
  if (time <= start + checkDuration) check();else {
7258
+ if (fpsOverTime.length < checkDuration / 1000 * noDipsBelow) {
7259
+ $gVhhF$depictaiutilishared.dlog("Not enough FPS data to determine if we should short-circuit requestIdleCallback, rIC seems legit. FPS:", fpsOverTime);
7260
+ return;
7261
+ }
7258
7262
  $gVhhF$depictaiutilishared.dlog("Short-circuiting requestIdleCallback (probably bugged) due to only ", maxDips - dipsLeft, " dips below ", noDipsBelow, " FPS for ", checkDuration, "ms. FPS:", fpsOverTime);
7259
7263
  runWhenNoDips();
7260
7264
  }
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.8.26";
14
+ export const version = "4.8.28";
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.8.26";
10
+ const $ec291e0010116877$export$83d89fbfd8236492 = "4.8.28";
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, ({
@@ -7120,7 +7120,7 @@ function $f71681eb5d5aae0a$export$566cd7e46bad5c2d(callback) {
7120
7120
  cancelIdleCallback();
7121
7121
  callback({
7122
7122
  didTimeout: false,
7123
- timeRemaining: () => 300
7123
+ timeRemaining: () => 1000
7124
7124
  });
7125
7125
  });
7126
7126
  const cancelIdleCallback = $4ea56971d92eb0cd$export$2972b890694ced75(deadline => {
@@ -7153,6 +7153,10 @@ function $f71681eb5d5aae0a$var$checkForFrameDipsUntil(checkDuration, runWhenNoDi
7153
7153
  }
7154
7154
  lastTime = time;
7155
7155
  if (time <= start + checkDuration) check();else {
7156
+ if (fpsOverTime.length < checkDuration / 1000 * noDipsBelow) {
7157
+ $9HbP8$dlog("Not enough FPS data to determine if we should short-circuit requestIdleCallback, rIC seems legit. FPS:", fpsOverTime);
7158
+ return;
7159
+ }
7156
7160
  $9HbP8$dlog("Short-circuiting requestIdleCallback (probably bugged) due to only ", maxDips - dipsLeft, " dips below ", noDipsBelow, " FPS for ", checkDuration, "ms. FPS:", fpsOverTime);
7157
7161
  runWhenNoDips();
7158
7162
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@depict-ai/ui",
3
- "version": "4.8.26",
3
+ "version": "4.8.28",
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.8.26";
118
+ const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.8.28";
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 => {
@@ -6223,7 +6223,7 @@ function $4692443b324db9ee$export$566cd7e46bad5c2d(callback) {
6223
6223
  cancelIdleCallback();
6224
6224
  callback({
6225
6225
  didTimeout: false,
6226
- timeRemaining: () => 300
6226
+ timeRemaining: () => 1000
6227
6227
  });
6228
6228
  });
6229
6229
  const cancelIdleCallback = $e4e98e5080f4386e$export$2972b890694ced75(deadline => {
@@ -6257,6 +6257,10 @@ function $4692443b324db9ee$var$checkForFrameDipsUntil(checkDuration, runWhenNoDi
6257
6257
  }
6258
6258
  lastTime = time;
6259
6259
  if (time <= start + checkDuration) check();else {
6260
+ if (fpsOverTime.length < checkDuration / 1000 * noDipsBelow) {
6261
+ $3hooq$depictaiutilishared.dlog("Not enough FPS data to determine if we should short-circuit requestIdleCallback, rIC seems legit. FPS:", fpsOverTime);
6262
+ return;
6263
+ }
6260
6264
  $3hooq$depictaiutilishared.dlog("Short-circuiting requestIdleCallback (probably bugged) due to only ", maxDips - dipsLeft, " dips below ", noDipsBelow, " FPS for ", checkDuration, "ms. FPS:", fpsOverTime);
6261
6265
  runWhenNoDips();
6262
6266
  }
@@ -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.8.26";
14
+ export const version = "4.8.28";
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.8.26";
13
+ const $8db9a15135765c11$export$83d89fbfd8236492 = "4.8.28";
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 => {
@@ -6118,7 +6118,7 @@ function $29b3cf99ce390e3b$export$566cd7e46bad5c2d(callback) {
6118
6118
  cancelIdleCallback();
6119
6119
  callback({
6120
6120
  didTimeout: false,
6121
- timeRemaining: () => 300
6121
+ timeRemaining: () => 1000
6122
6122
  });
6123
6123
  });
6124
6124
  const cancelIdleCallback = $6db93f70c2db1486$export$2972b890694ced75(deadline => {
@@ -6152,6 +6152,10 @@ function $29b3cf99ce390e3b$var$checkForFrameDipsUntil(checkDuration, runWhenNoDi
6152
6152
  }
6153
6153
  lastTime = time;
6154
6154
  if (time <= start + checkDuration) check();else {
6155
+ if (fpsOverTime.length < checkDuration / 1000 * noDipsBelow) {
6156
+ $b8hua$dlog("Not enough FPS data to determine if we should short-circuit requestIdleCallback, rIC seems legit. FPS:", fpsOverTime);
6157
+ return;
6158
+ }
6155
6159
  $b8hua$dlog("Short-circuiting requestIdleCallback (probably bugged) due to only ", maxDips - dipsLeft, " dips below ", noDipsBelow, " FPS for ", checkDuration, "ms. FPS:", fpsOverTime);
6156
6160
  runWhenNoDips();
6157
6161
  }
@@ -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.8.26";
112
+ const $b757f75811f3261f$export$83d89fbfd8236492 = "4.8.28";
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, ({
@@ -5860,7 +5860,7 @@ function $7ea61486b66872b6$export$566cd7e46bad5c2d(callback) {
5860
5860
  cancelIdleCallback();
5861
5861
  callback({
5862
5862
  didTimeout: false,
5863
- timeRemaining: () => 300
5863
+ timeRemaining: () => 1000
5864
5864
  });
5865
5865
  });
5866
5866
  const cancelIdleCallback = $3ea8e0af95b5b7d2$export$2972b890694ced75(deadline => {
@@ -5893,6 +5893,10 @@ function $7ea61486b66872b6$var$checkForFrameDipsUntil(checkDuration, runWhenNoDi
5893
5893
  }
5894
5894
  lastTime = time;
5895
5895
  if (time <= start + checkDuration) check();else {
5896
+ if (fpsOverTime.length < checkDuration / 1000 * noDipsBelow) {
5897
+ $5vyXB$depictaiutilishared.dlog("Not enough FPS data to determine if we should short-circuit requestIdleCallback, rIC seems legit. FPS:", fpsOverTime);
5898
+ return;
5899
+ }
5896
5900
  $5vyXB$depictaiutilishared.dlog("Short-circuiting requestIdleCallback (probably bugged) due to only ", maxDips - dipsLeft, " dips below ", noDipsBelow, " FPS for ", checkDuration, "ms. FPS:", fpsOverTime);
5897
5901
  runWhenNoDips();
5898
5902
  }
@@ -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.8.26";
14
+ export const version = "4.8.28";
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.8.26";
10
+ const $ec291e0010116877$export$83d89fbfd8236492 = "4.8.28";
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, ({
@@ -5758,7 +5758,7 @@ function $f71681eb5d5aae0a$export$566cd7e46bad5c2d(callback) {
5758
5758
  cancelIdleCallback();
5759
5759
  callback({
5760
5760
  didTimeout: false,
5761
- timeRemaining: () => 300
5761
+ timeRemaining: () => 1000
5762
5762
  });
5763
5763
  });
5764
5764
  const cancelIdleCallback = $4ea56971d92eb0cd$export$2972b890694ced75(deadline => {
@@ -5791,6 +5791,10 @@ function $f71681eb5d5aae0a$var$checkForFrameDipsUntil(checkDuration, runWhenNoDi
5791
5791
  }
5792
5792
  lastTime = time;
5793
5793
  if (time <= start + checkDuration) check();else {
5794
+ if (fpsOverTime.length < checkDuration / 1000 * noDipsBelow) {
5795
+ $i7OB2$dlog("Not enough FPS data to determine if we should short-circuit requestIdleCallback, rIC seems legit. FPS:", fpsOverTime);
5796
+ return;
5797
+ }
5794
5798
  $i7OB2$dlog("Short-circuiting requestIdleCallback (probably bugged) due to only ", maxDips - dipsLeft, " dips below ", noDipsBelow, " FPS for ", checkDuration, "ms. FPS:", fpsOverTime);
5795
5799
  runWhenNoDips();
5796
5800
  }