@depict-ai/ui 4.8.26 → 4.8.27

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.27";
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 => {
@@ -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.27";
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.27";
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 => {
@@ -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.27";
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, ({
@@ -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.27";
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.27";
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, ({
@@ -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.27",
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.27";
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 => {
@@ -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.27";
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.27";
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 => {
@@ -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.27";
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, ({
@@ -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.27";
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.27";
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, ({
@@ -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
  }