@depict-ai/ui 4.7.10 → 4.7.11

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
@@ -104,7 +104,7 @@ $parcel$export(module.exports, "BreadCrumbs", () => $335c02c1241a9ca8$export$5b7
104
104
  $parcel$export(module.exports, "QuickLinks", () => $335c02c1241a9ca8$export$de035477d6fef996);
105
105
  $parcel$export(module.exports, "CategoryPage", () => $c10e33c4681f8c9b$export$e2bf8ce7779e827e);
106
106
  /*! Depict.ai search and product listing SDK */
107
- const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.7.10";
107
+ const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.7.11";
108
108
  function $d6d51b09cb2116a6$export$5bad61ecde080b1f() {
109
109
  const {
110
110
  collapse: collapse,
@@ -1840,7 +1840,7 @@ function $47e3c3102c78121b$export$44809a8a3e867e30(_ref) {
1840
1840
  // Have memo -> effect setup for diffing, so we do as little work as possible in unrelated cards
1841
1841
  // as number is safe because undefined and NaN are both not < 0.5
1842
1842
  const visibility = ourVisiblityInSlider();
1843
- if (visibility < 0.6 && (isNaN(prevVisibility) || visibility - prevVisibility < 0))
1843
+ if (visibility < 0.8 && (isNaN(prevVisibility) || visibility - prevVisibility < 0))
1844
1844
  // When sliding this card completely into the background, collapse it
1845
1845
  // Don't collapse it if we're about to put it more into visibility, to fix what's described at the end of https://www.loom.com/share/8796209c68764b18a0d565010929f594
1846
1846
  setUserWantsExpanded(false);
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.7.10";
14
+ export const version = "4.7.11";
15
15
  /**
16
16
  * Just like `useExpandingContainer` except that the children can be reactive solid-js signals, basically solid's JSX.Element instead of our JSX.Element
17
17
  */
package/ES10/index.js CHANGED
@@ -10,7 +10,7 @@ import { createStore as $8tj43$createStore, reconcile as $8tj43$reconcile } from
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.7.10";
13
+ const $8db9a15135765c11$export$83d89fbfd8236492 = "4.7.11";
14
14
  function $8e8b179489080711$export$5bad61ecde080b1f() {
15
15
  const {
16
16
  collapse: collapse,
@@ -1746,7 +1746,7 @@ function $697d8713dc82b9ab$export$44809a8a3e867e30(_ref) {
1746
1746
  // Have memo -> effect setup for diffing, so we do as little work as possible in unrelated cards
1747
1747
  // as number is safe because undefined and NaN are both not < 0.5
1748
1748
  const visibility = ourVisiblityInSlider();
1749
- if (visibility < 0.6 && (isNaN(prevVisibility) || visibility - prevVisibility < 0))
1749
+ if (visibility < 0.8 && (isNaN(prevVisibility) || visibility - prevVisibility < 0))
1750
1750
  // When sliding this card completely into the background, collapse it
1751
1751
  // Don't collapse it if we're about to put it more into visibility, to fix what's described at the end of https://www.loom.com/share/8796209c68764b18a0d565010929f594
1752
1752
  setUserWantsExpanded(false);
package/latest/index.cjs CHANGED
@@ -98,7 +98,7 @@ $parcel$export(module.exports, "BreadCrumbs", () => $1f4925833f07df29$export$5b7
98
98
  $parcel$export(module.exports, "QuickLinks", () => $1f4925833f07df29$export$de035477d6fef996);
99
99
  $parcel$export(module.exports, "CategoryPage", () => $14f289047713d67a$export$e2bf8ce7779e827e);
100
100
  /*! Depict.ai search and product listing SDK */
101
- const $b757f75811f3261f$export$83d89fbfd8236492 = "4.7.10";
101
+ const $b757f75811f3261f$export$83d89fbfd8236492 = "4.7.11";
102
102
  function $4b455f60dadde8b8$export$5bad61ecde080b1f(...params) {
103
103
  const {
104
104
  collapse: collapse,
@@ -1753,7 +1753,7 @@ function $ad882bbe664dbd53$export$44809a8a3e867e30({
1753
1753
  // Have memo -> effect setup for diffing, so we do as little work as possible in unrelated cards
1754
1754
  // as number is safe because undefined and NaN are both not < 0.5
1755
1755
  const visibility = ourVisiblityInSlider();
1756
- if (visibility < 0.6 && (isNaN(prevVisibility) || visibility - prevVisibility < 0))
1756
+ if (visibility < 0.8 && (isNaN(prevVisibility) || visibility - prevVisibility < 0))
1757
1757
  // When sliding this card completely into the background, collapse it
1758
1758
  // Don't collapse it if we're about to put it more into visibility, to fix what's described at the end of https://www.loom.com/share/8796209c68764b18a0d565010929f594
1759
1759
  setUserWantsExpanded(false);
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.7.10";
14
+ export const version = "4.7.11";
15
15
  /**
16
16
  * Just like `useExpandingContainer` except that the children can be reactive solid-js signals, basically solid's JSX.Element instead of our JSX.Element
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.7.10";
10
+ const $ec291e0010116877$export$83d89fbfd8236492 = "4.7.11";
11
11
  function $24e27fab9c821b86$export$5bad61ecde080b1f(...params) {
12
12
  const {
13
13
  collapse: collapse,
@@ -1662,7 +1662,7 @@ function $28ee4f7db3cc44b8$export$44809a8a3e867e30({
1662
1662
  // Have memo -> effect setup for diffing, so we do as little work as possible in unrelated cards
1663
1663
  // as number is safe because undefined and NaN are both not < 0.5
1664
1664
  const visibility = ourVisiblityInSlider();
1665
- if (visibility < 0.6 && (isNaN(prevVisibility) || visibility - prevVisibility < 0))
1665
+ if (visibility < 0.8 && (isNaN(prevVisibility) || visibility - prevVisibility < 0))
1666
1666
  // When sliding this card completely into the background, collapse it
1667
1667
  // Don't collapse it if we're about to put it more into visibility, to fix what's described at the end of https://www.loom.com/share/8796209c68764b18a0d565010929f594
1668
1668
  setUserWantsExpanded(false);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@depict-ai/ui",
3
- "version": "4.7.10",
3
+ "version": "4.7.11",
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",
@@ -104,7 +104,7 @@ $parcel$export(module.exports, "BreadCrumbs", () => $335c02c1241a9ca8$export$5b7
104
104
  $parcel$export(module.exports, "QuickLinks", () => $335c02c1241a9ca8$export$de035477d6fef996);
105
105
  $parcel$export(module.exports, "CategoryPage", () => $c10e33c4681f8c9b$export$e2bf8ce7779e827e);
106
106
  /*! Depict.ai search and product listing SDK */
107
- const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.7.10";
107
+ const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.7.11";
108
108
  function $d6d51b09cb2116a6$export$5bad61ecde080b1f() {
109
109
  const {
110
110
  collapse: collapse,
@@ -1622,7 +1622,7 @@ function $47e3c3102c78121b$export$44809a8a3e867e30(_ref) {
1622
1622
  // Have memo -> effect setup for diffing, so we do as little work as possible in unrelated cards
1623
1623
  // as number is safe because undefined and NaN are both not < 0.5
1624
1624
  const visibility = ourVisiblityInSlider();
1625
- if (visibility < 0.6 && (isNaN(prevVisibility) || visibility - prevVisibility < 0))
1625
+ if (visibility < 0.8 && (isNaN(prevVisibility) || visibility - prevVisibility < 0))
1626
1626
  // When sliding this card completely into the background, collapse it
1627
1627
  // Don't collapse it if we're about to put it more into visibility, to fix what's described at the end of https://www.loom.com/share/8796209c68764b18a0d565010929f594
1628
1628
  setUserWantsExpanded(false);
@@ -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.7.10";
14
+ export const version = "4.7.11";
15
15
  /**
16
16
  * Just like `useExpandingContainer` except that the children can be reactive solid-js signals, basically solid's JSX.Element instead of our JSX.Element
17
17
  */
@@ -10,7 +10,7 @@ import { createStore as $b8hua$createStore, reconcile as $b8hua$reconcile } from
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.7.10";
13
+ const $8db9a15135765c11$export$83d89fbfd8236492 = "4.7.11";
14
14
  function $8e8b179489080711$export$5bad61ecde080b1f() {
15
15
  const {
16
16
  collapse: collapse,
@@ -1528,7 +1528,7 @@ function $697d8713dc82b9ab$export$44809a8a3e867e30(_ref) {
1528
1528
  // Have memo -> effect setup for diffing, so we do as little work as possible in unrelated cards
1529
1529
  // as number is safe because undefined and NaN are both not < 0.5
1530
1530
  const visibility = ourVisiblityInSlider();
1531
- if (visibility < 0.6 && (isNaN(prevVisibility) || visibility - prevVisibility < 0))
1531
+ if (visibility < 0.8 && (isNaN(prevVisibility) || visibility - prevVisibility < 0))
1532
1532
  // When sliding this card completely into the background, collapse it
1533
1533
  // Don't collapse it if we're about to put it more into visibility, to fix what's described at the end of https://www.loom.com/share/8796209c68764b18a0d565010929f594
1534
1534
  setUserWantsExpanded(false);
@@ -98,7 +98,7 @@ $parcel$export(module.exports, "BreadCrumbs", () => $1f4925833f07df29$export$5b7
98
98
  $parcel$export(module.exports, "QuickLinks", () => $1f4925833f07df29$export$de035477d6fef996);
99
99
  $parcel$export(module.exports, "CategoryPage", () => $14f289047713d67a$export$e2bf8ce7779e827e);
100
100
  /*! Depict.ai search and product listing SDK */
101
- const $b757f75811f3261f$export$83d89fbfd8236492 = "4.7.10";
101
+ const $b757f75811f3261f$export$83d89fbfd8236492 = "4.7.11";
102
102
  function $4b455f60dadde8b8$export$5bad61ecde080b1f(...params) {
103
103
  const {
104
104
  collapse: collapse,
@@ -1547,7 +1547,7 @@ function $ad882bbe664dbd53$export$44809a8a3e867e30({
1547
1547
  // Have memo -> effect setup for diffing, so we do as little work as possible in unrelated cards
1548
1548
  // as number is safe because undefined and NaN are both not < 0.5
1549
1549
  const visibility = ourVisiblityInSlider();
1550
- if (visibility < 0.6 && (isNaN(prevVisibility) || visibility - prevVisibility < 0))
1550
+ if (visibility < 0.8 && (isNaN(prevVisibility) || visibility - prevVisibility < 0))
1551
1551
  // When sliding this card completely into the background, collapse it
1552
1552
  // Don't collapse it if we're about to put it more into visibility, to fix what's described at the end of https://www.loom.com/share/8796209c68764b18a0d565010929f594
1553
1553
  setUserWantsExpanded(false);
@@ -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.7.10";
14
+ export const version = "4.7.11";
15
15
  /**
16
16
  * Just like `useExpandingContainer` except that the children can be reactive solid-js signals, basically solid's JSX.Element instead of our JSX.Element
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.7.10";
10
+ const $ec291e0010116877$export$83d89fbfd8236492 = "4.7.11";
11
11
  function $24e27fab9c821b86$export$5bad61ecde080b1f(...params) {
12
12
  const {
13
13
  collapse: collapse,
@@ -1456,7 +1456,7 @@ function $28ee4f7db3cc44b8$export$44809a8a3e867e30({
1456
1456
  // Have memo -> effect setup for diffing, so we do as little work as possible in unrelated cards
1457
1457
  // as number is safe because undefined and NaN are both not < 0.5
1458
1458
  const visibility = ourVisiblityInSlider();
1459
- if (visibility < 0.6 && (isNaN(prevVisibility) || visibility - prevVisibility < 0))
1459
+ if (visibility < 0.8 && (isNaN(prevVisibility) || visibility - prevVisibility < 0))
1460
1460
  // When sliding this card completely into the background, collapse it
1461
1461
  // Don't collapse it if we're about to put it more into visibility, to fix what's described at the end of https://www.loom.com/share/8796209c68764b18a0d565010929f594
1462
1462
  setUserWantsExpanded(false);