@depict-ai/ui 4.0.13 → 4.0.15

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
@@ -94,7 +94,7 @@ $parcel$export(module.exports, "defaultCategoryTitlePlugin", () => $33eed84f447a
94
94
  $parcel$export(module.exports, "version", () => $aa1938dec50d6c12$export$83d89fbfd8236492);
95
95
  $parcel$export(module.exports, "SearchField", () => $98aef9965764903d$export$316f6f283ae64765);
96
96
  /*! Depict.ai search and product listing SDK */
97
- const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.0.13";
97
+ const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.0.15";
98
98
  function $a28000bc10de28ad$export$e417c49320921907(dependency, fetcher) {
99
99
  const [promiseOfCurrentFetcherRun, setPromiseOfCurrentFetcherRun] = $52FdA$solidjs.createSignal();
100
100
  const deparallelizedFetcher = $52FdA$depictaiutilishared.deparallelize_no_drop(async dependencyValue => {
@@ -13660,7 +13660,7 @@ function $a60bc7692ce52705$export$44f738469d5570cf(_ref) {
13660
13660
  zIndex: +zIndexOfFake + 1
13661
13661
  } : {})
13662
13662
  });
13663
- const pxOffCenter = $52FdA$solidjs.untrack(innerWidthReactive) / 2 - (left + width / 2);
13663
+ const pxOffCenter = Math.abs($52FdA$solidjs.untrack(innerWidthReactive) / 2 - (left + width / 2));
13664
13664
  const openDuration_ = pxOffCenter > 100 ? 250 : 125; // faster animations if little left-right movement
13665
13665
  const closeDuration_ = pxOffCenter > 100 ? 150 : 100;
13666
13666
  setPollAlignment_(true);
package/ES10/index.d.ts CHANGED
@@ -10,7 +10,7 @@ import { ProductListingRequestV3 } from "@depict-ai/types/api/ProductListingRequ
10
10
  import { GetListingRequest } from "@depict-ai/types/api/GetListingRequest";
11
11
  import { BaseSearchRequestV3 } from "@depict-ai/types/api/BaseSearchRequestV3";
12
12
  import { SearchFilter as _SearchFilter2 } from "@depict-ai/types/api/SearchRequestV2";
13
- export const version = "4.0.13";
13
+ export const version = "4.0.15";
14
14
  export type ModalAlignmentSignals = {
15
15
  body_: Signal<JSX.CSSProperties>;
16
16
  field_: Signal<JSX.CSSProperties>;
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.0.13";
13
+ const $8db9a15135765c11$export$83d89fbfd8236492 = "4.0.15";
14
14
  function $a604a8ffa4e4c03f$export$e417c49320921907(dependency, fetcher) {
15
15
  const [promiseOfCurrentFetcherRun, setPromiseOfCurrentFetcherRun] = $8tj43$createSignal();
16
16
  const deparallelizedFetcher = $8tj43$deparallelize_no_drop(async dependencyValue => {
@@ -13576,7 +13576,7 @@ function $937791b86d3d1509$export$44f738469d5570cf(_ref) {
13576
13576
  zIndex: +zIndexOfFake + 1
13577
13577
  } : {})
13578
13578
  });
13579
- const pxOffCenter = $8tj43$untrack(innerWidthReactive) / 2 - (left + width / 2);
13579
+ const pxOffCenter = Math.abs($8tj43$untrack(innerWidthReactive) / 2 - (left + width / 2));
13580
13580
  const openDuration_ = pxOffCenter > 100 ? 250 : 125; // faster animations if little left-right movement
13581
13581
  const closeDuration_ = pxOffCenter > 100 ? 150 : 100;
13582
13582
  setPollAlignment_(true);
package/latest/index.cjs CHANGED
@@ -88,7 +88,7 @@ $parcel$export(module.exports, "defaultCategoryTitlePlugin", () => $a3280f0aad99
88
88
  $parcel$export(module.exports, "version", () => $b757f75811f3261f$export$83d89fbfd8236492);
89
89
  $parcel$export(module.exports, "SearchField", () => $c0a0659cf97e8eb2$export$316f6f283ae64765);
90
90
  /*! Depict.ai search and product listing SDK */
91
- const $b757f75811f3261f$export$83d89fbfd8236492 = "4.0.13";
91
+ const $b757f75811f3261f$export$83d89fbfd8236492 = "4.0.15";
92
92
  function $53df95e470b2f8d2$export$e417c49320921907(dependency, fetcher) {
93
93
  const [promiseOfCurrentFetcherRun, setPromiseOfCurrentFetcherRun] = $gVhhF$solidjs.createSignal();
94
94
  const deparallelizedFetcher = $gVhhF$depictaiutilishared.deparallelize_no_drop(async dependencyValue => {
@@ -12835,7 +12835,7 @@ function $5cbaffcb5602e671$export$44f738469d5570cf({
12835
12835
  zIndex: +zIndexOfFake + 1
12836
12836
  } : {})
12837
12837
  });
12838
- const pxOffCenter = $gVhhF$solidjs.untrack(innerWidthReactive) / 2 - (left + width / 2);
12838
+ const pxOffCenter = Math.abs($gVhhF$solidjs.untrack(innerWidthReactive) / 2 - (left + width / 2));
12839
12839
  const openDuration_ = pxOffCenter > 100 ? 250 : 125; // faster animations if little left-right movement
12840
12840
  const closeDuration_ = pxOffCenter > 100 ? 150 : 100;
12841
12841
  setPollAlignment_(true);
package/latest/index.d.ts CHANGED
@@ -10,7 +10,7 @@ import { ProductListingRequestV3 } from "@depict-ai/types/api/ProductListingRequ
10
10
  import { GetListingRequest } from "@depict-ai/types/api/GetListingRequest";
11
11
  import { BaseSearchRequestV3 } from "@depict-ai/types/api/BaseSearchRequestV3";
12
12
  import { SearchFilter as _SearchFilter2 } from "@depict-ai/types/api/SearchRequestV2";
13
- export const version = "4.0.13";
13
+ export const version = "4.0.15";
14
14
  export type ModalAlignmentSignals = {
15
15
  body_: Signal<JSX.CSSProperties>;
16
16
  field_: Signal<JSX.CSSProperties>;
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.0.13";
10
+ const $ec291e0010116877$export$83d89fbfd8236492 = "4.0.15";
11
11
  function $136f1d4d6c7ba6ac$export$e417c49320921907(dependency, fetcher) {
12
12
  const [promiseOfCurrentFetcherRun, setPromiseOfCurrentFetcherRun] = $9HbP8$createSignal();
13
13
  const deparallelizedFetcher = $9HbP8$deparallelize_no_drop(async dependencyValue => {
@@ -12754,7 +12754,7 @@ function $0e562a5b247b1fc2$export$44f738469d5570cf({
12754
12754
  zIndex: +zIndexOfFake + 1
12755
12755
  } : {})
12756
12756
  });
12757
- const pxOffCenter = $9HbP8$untrack(innerWidthReactive) / 2 - (left + width / 2);
12757
+ const pxOffCenter = Math.abs($9HbP8$untrack(innerWidthReactive) / 2 - (left + width / 2));
12758
12758
  const openDuration_ = pxOffCenter > 100 ? 250 : 125; // faster animations if little left-right movement
12759
12759
  const closeDuration_ = pxOffCenter > 100 ? 150 : 100;
12760
12760
  setPollAlignment_(true);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@depict-ai/ui",
3
- "version": "4.0.13",
3
+ "version": "4.0.15",
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",
@@ -94,7 +94,7 @@ $parcel$export(module.exports, "defaultCategoryTitlePlugin", () => $33eed84f447a
94
94
  $parcel$export(module.exports, "version", () => $aa1938dec50d6c12$export$83d89fbfd8236492);
95
95
  $parcel$export(module.exports, "SearchField", () => $98aef9965764903d$export$316f6f283ae64765);
96
96
  /*! Depict.ai search and product listing SDK */
97
- const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.0.13";
97
+ const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.0.15";
98
98
  function $a28000bc10de28ad$export$e417c49320921907(dependency, fetcher) {
99
99
  const [promiseOfCurrentFetcherRun, setPromiseOfCurrentFetcherRun] = $3hooq$solidjs.createSignal();
100
100
  const deparallelizedFetcher = $3hooq$depictaiutilishared.deparallelize_no_drop(async dependencyValue => {
@@ -11222,7 +11222,7 @@ function $a60bc7692ce52705$export$44f738469d5570cf(_ref) {
11222
11222
  zIndex: +zIndexOfFake + 1
11223
11223
  } : {})
11224
11224
  });
11225
- const pxOffCenter = $3hooq$solidjs.untrack(innerWidthReactive) / 2 - (left + width / 2);
11225
+ const pxOffCenter = Math.abs($3hooq$solidjs.untrack(innerWidthReactive) / 2 - (left + width / 2));
11226
11226
  const openDuration_ = pxOffCenter > 100 ? 250 : 125; // faster animations if little left-right movement
11227
11227
  const closeDuration_ = pxOffCenter > 100 ? 150 : 100;
11228
11228
  setPollAlignment_(true);
@@ -10,7 +10,7 @@ import { ProductListingRequestV3 } from "@depict-ai/types/api/ProductListingRequ
10
10
  import { GetListingRequest } from "@depict-ai/types/api/GetListingRequest";
11
11
  import { BaseSearchRequestV3 } from "@depict-ai/types/api/BaseSearchRequestV3";
12
12
  import { SearchFilter as _SearchFilter2 } from "@depict-ai/types/api/SearchRequestV2";
13
- export const version = "4.0.13";
13
+ export const version = "4.0.15";
14
14
  export type ModalAlignmentSignals = {
15
15
  body_: Signal<JSX.CSSProperties>;
16
16
  field_: Signal<JSX.CSSProperties>;
@@ -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.0.13";
13
+ const $8db9a15135765c11$export$83d89fbfd8236492 = "4.0.15";
14
14
  function $a604a8ffa4e4c03f$export$e417c49320921907(dependency, fetcher) {
15
15
  const [promiseOfCurrentFetcherRun, setPromiseOfCurrentFetcherRun] = $b8hua$createSignal();
16
16
  const deparallelizedFetcher = $b8hua$deparallelize_no_drop(async dependencyValue => {
@@ -11138,7 +11138,7 @@ function $937791b86d3d1509$export$44f738469d5570cf(_ref) {
11138
11138
  zIndex: +zIndexOfFake + 1
11139
11139
  } : {})
11140
11140
  });
11141
- const pxOffCenter = $b8hua$untrack(innerWidthReactive) / 2 - (left + width / 2);
11141
+ const pxOffCenter = Math.abs($b8hua$untrack(innerWidthReactive) / 2 - (left + width / 2));
11142
11142
  const openDuration_ = pxOffCenter > 100 ? 250 : 125; // faster animations if little left-right movement
11143
11143
  const closeDuration_ = pxOffCenter > 100 ? 150 : 100;
11144
11144
  setPollAlignment_(true);
@@ -88,7 +88,7 @@ $parcel$export(module.exports, "defaultCategoryTitlePlugin", () => $a3280f0aad99
88
88
  $parcel$export(module.exports, "version", () => $b757f75811f3261f$export$83d89fbfd8236492);
89
89
  $parcel$export(module.exports, "SearchField", () => $c0a0659cf97e8eb2$export$316f6f283ae64765);
90
90
  /*! Depict.ai search and product listing SDK */
91
- const $b757f75811f3261f$export$83d89fbfd8236492 = "4.0.13";
91
+ const $b757f75811f3261f$export$83d89fbfd8236492 = "4.0.15";
92
92
  function $53df95e470b2f8d2$export$e417c49320921907(dependency, fetcher) {
93
93
  const [promiseOfCurrentFetcherRun, setPromiseOfCurrentFetcherRun] = $5vyXB$solidjs.createSignal();
94
94
  const deparallelizedFetcher = $5vyXB$depictaiutilishared.deparallelize_no_drop(async dependencyValue => {
@@ -10469,7 +10469,7 @@ function $5cbaffcb5602e671$export$44f738469d5570cf({
10469
10469
  zIndex: +zIndexOfFake + 1
10470
10470
  } : {})
10471
10471
  });
10472
- const pxOffCenter = $5vyXB$solidjs.untrack(innerWidthReactive) / 2 - (left + width / 2);
10472
+ const pxOffCenter = Math.abs($5vyXB$solidjs.untrack(innerWidthReactive) / 2 - (left + width / 2));
10473
10473
  const openDuration_ = pxOffCenter > 100 ? 250 : 125; // faster animations if little left-right movement
10474
10474
  const closeDuration_ = pxOffCenter > 100 ? 150 : 100;
10475
10475
  setPollAlignment_(true);
@@ -10,7 +10,7 @@ import { ProductListingRequestV3 } from "@depict-ai/types/api/ProductListingRequ
10
10
  import { GetListingRequest } from "@depict-ai/types/api/GetListingRequest";
11
11
  import { BaseSearchRequestV3 } from "@depict-ai/types/api/BaseSearchRequestV3";
12
12
  import { SearchFilter as _SearchFilter2 } from "@depict-ai/types/api/SearchRequestV2";
13
- export const version = "4.0.13";
13
+ export const version = "4.0.15";
14
14
  export type ModalAlignmentSignals = {
15
15
  body_: Signal<JSX.CSSProperties>;
16
16
  field_: Signal<JSX.CSSProperties>;
@@ -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.0.13";
10
+ const $ec291e0010116877$export$83d89fbfd8236492 = "4.0.15";
11
11
  function $136f1d4d6c7ba6ac$export$e417c49320921907(dependency, fetcher) {
12
12
  const [promiseOfCurrentFetcherRun, setPromiseOfCurrentFetcherRun] = $i7OB2$createSignal();
13
13
  const deparallelizedFetcher = $i7OB2$deparallelize_no_drop(async dependencyValue => {
@@ -10388,7 +10388,7 @@ function $0e562a5b247b1fc2$export$44f738469d5570cf({
10388
10388
  zIndex: +zIndexOfFake + 1
10389
10389
  } : {})
10390
10390
  });
10391
- const pxOffCenter = $i7OB2$untrack(innerWidthReactive) / 2 - (left + width / 2);
10391
+ const pxOffCenter = Math.abs($i7OB2$untrack(innerWidthReactive) / 2 - (left + width / 2));
10392
10392
  const openDuration_ = pxOffCenter > 100 ? 250 : 125; // faster animations if little left-right movement
10393
10393
  const closeDuration_ = pxOffCenter > 100 ? 150 : 100;
10394
10394
  setPollAlignment_(true);