@depict-ai/ui 4.0.14 → 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.14";
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 => {
@@ -13661,8 +13661,8 @@ function $a60bc7692ce52705$export$44f738469d5570cf(_ref) {
13661
13661
  } : {})
13662
13662
  });
13663
13663
  const pxOffCenter = Math.abs($52FdA$solidjs.untrack(innerWidthReactive) / 2 - (left + width / 2));
13664
- const openDuration_ = pxOffCenter > 100 ? pxOffCenter > 400 ? 350 : 250 : 125; // faster animations if little left-right movement
13665
- const closeDuration_ = pxOffCenter > 100 ? pxOffCenter > 400 ? 250 : 150 : 100;
13664
+ const openDuration_ = pxOffCenter > 100 ? 250 : 125; // faster animations if little left-right movement
13665
+ const closeDuration_ = pxOffCenter > 100 ? 150 : 100;
13666
13666
  setPollAlignment_(true);
13667
13667
  // Fade out submit button so there aren't two overlapping buttons for a split second
13668
13668
  submitButton_.animate([{
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.14";
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.14";
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 => {
@@ -13577,8 +13577,8 @@ function $937791b86d3d1509$export$44f738469d5570cf(_ref) {
13577
13577
  } : {})
13578
13578
  });
13579
13579
  const pxOffCenter = Math.abs($8tj43$untrack(innerWidthReactive) / 2 - (left + width / 2));
13580
- const openDuration_ = pxOffCenter > 100 ? pxOffCenter > 400 ? 350 : 250 : 125; // faster animations if little left-right movement
13581
- const closeDuration_ = pxOffCenter > 100 ? pxOffCenter > 400 ? 250 : 150 : 100;
13580
+ const openDuration_ = pxOffCenter > 100 ? 250 : 125; // faster animations if little left-right movement
13581
+ const closeDuration_ = pxOffCenter > 100 ? 150 : 100;
13582
13582
  setPollAlignment_(true);
13583
13583
  // Fade out submit button so there aren't two overlapping buttons for a split second
13584
13584
  submitButton_.animate([{
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.14";
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 => {
@@ -12836,8 +12836,8 @@ function $5cbaffcb5602e671$export$44f738469d5570cf({
12836
12836
  } : {})
12837
12837
  });
12838
12838
  const pxOffCenter = Math.abs($gVhhF$solidjs.untrack(innerWidthReactive) / 2 - (left + width / 2));
12839
- const openDuration_ = pxOffCenter > 100 ? pxOffCenter > 400 ? 350 : 250 : 125; // faster animations if little left-right movement
12840
- const closeDuration_ = pxOffCenter > 100 ? pxOffCenter > 400 ? 250 : 150 : 100;
12839
+ const openDuration_ = pxOffCenter > 100 ? 250 : 125; // faster animations if little left-right movement
12840
+ const closeDuration_ = pxOffCenter > 100 ? 150 : 100;
12841
12841
  setPollAlignment_(true);
12842
12842
  // Fade out submit button so there aren't two overlapping buttons for a split second
12843
12843
  submitButton_.animate([{
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.14";
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.14";
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 => {
@@ -12755,8 +12755,8 @@ function $0e562a5b247b1fc2$export$44f738469d5570cf({
12755
12755
  } : {})
12756
12756
  });
12757
12757
  const pxOffCenter = Math.abs($9HbP8$untrack(innerWidthReactive) / 2 - (left + width / 2));
12758
- const openDuration_ = pxOffCenter > 100 ? pxOffCenter > 400 ? 350 : 250 : 125; // faster animations if little left-right movement
12759
- const closeDuration_ = pxOffCenter > 100 ? pxOffCenter > 400 ? 250 : 150 : 100;
12758
+ const openDuration_ = pxOffCenter > 100 ? 250 : 125; // faster animations if little left-right movement
12759
+ const closeDuration_ = pxOffCenter > 100 ? 150 : 100;
12760
12760
  setPollAlignment_(true);
12761
12761
  // Fade out submit button so there aren't two overlapping buttons for a split second
12762
12762
  submitButton_.animate([{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@depict-ai/ui",
3
- "version": "4.0.14",
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.14";
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 => {
@@ -11223,8 +11223,8 @@ function $a60bc7692ce52705$export$44f738469d5570cf(_ref) {
11223
11223
  } : {})
11224
11224
  });
11225
11225
  const pxOffCenter = Math.abs($3hooq$solidjs.untrack(innerWidthReactive) / 2 - (left + width / 2));
11226
- const openDuration_ = pxOffCenter > 100 ? pxOffCenter > 400 ? 350 : 250 : 125; // faster animations if little left-right movement
11227
- const closeDuration_ = pxOffCenter > 100 ? pxOffCenter > 400 ? 250 : 150 : 100;
11226
+ const openDuration_ = pxOffCenter > 100 ? 250 : 125; // faster animations if little left-right movement
11227
+ const closeDuration_ = pxOffCenter > 100 ? 150 : 100;
11228
11228
  setPollAlignment_(true);
11229
11229
  // Fade out submit button so there aren't two overlapping buttons for a split second
11230
11230
  submitButton_.animate([{
@@ -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.14";
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.14";
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 => {
@@ -11139,8 +11139,8 @@ function $937791b86d3d1509$export$44f738469d5570cf(_ref) {
11139
11139
  } : {})
11140
11140
  });
11141
11141
  const pxOffCenter = Math.abs($b8hua$untrack(innerWidthReactive) / 2 - (left + width / 2));
11142
- const openDuration_ = pxOffCenter > 100 ? pxOffCenter > 400 ? 350 : 250 : 125; // faster animations if little left-right movement
11143
- const closeDuration_ = pxOffCenter > 100 ? pxOffCenter > 400 ? 250 : 150 : 100;
11142
+ const openDuration_ = pxOffCenter > 100 ? 250 : 125; // faster animations if little left-right movement
11143
+ const closeDuration_ = pxOffCenter > 100 ? 150 : 100;
11144
11144
  setPollAlignment_(true);
11145
11145
  // Fade out submit button so there aren't two overlapping buttons for a split second
11146
11146
  submitButton_.animate([{
@@ -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.14";
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 => {
@@ -10470,8 +10470,8 @@ function $5cbaffcb5602e671$export$44f738469d5570cf({
10470
10470
  } : {})
10471
10471
  });
10472
10472
  const pxOffCenter = Math.abs($5vyXB$solidjs.untrack(innerWidthReactive) / 2 - (left + width / 2));
10473
- const openDuration_ = pxOffCenter > 100 ? pxOffCenter > 400 ? 350 : 250 : 125; // faster animations if little left-right movement
10474
- const closeDuration_ = pxOffCenter > 100 ? pxOffCenter > 400 ? 250 : 150 : 100;
10473
+ const openDuration_ = pxOffCenter > 100 ? 250 : 125; // faster animations if little left-right movement
10474
+ const closeDuration_ = pxOffCenter > 100 ? 150 : 100;
10475
10475
  setPollAlignment_(true);
10476
10476
  // Fade out submit button so there aren't two overlapping buttons for a split second
10477
10477
  submitButton_.animate([{
@@ -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.14";
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.14";
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 => {
@@ -10389,8 +10389,8 @@ function $0e562a5b247b1fc2$export$44f738469d5570cf({
10389
10389
  } : {})
10390
10390
  });
10391
10391
  const pxOffCenter = Math.abs($i7OB2$untrack(innerWidthReactive) / 2 - (left + width / 2));
10392
- const openDuration_ = pxOffCenter > 100 ? pxOffCenter > 400 ? 350 : 250 : 125; // faster animations if little left-right movement
10393
- const closeDuration_ = pxOffCenter > 100 ? pxOffCenter > 400 ? 250 : 150 : 100;
10392
+ const openDuration_ = pxOffCenter > 100 ? 250 : 125; // faster animations if little left-right movement
10393
+ const closeDuration_ = pxOffCenter > 100 ? 150 : 100;
10394
10394
  setPollAlignment_(true);
10395
10395
  // Fade out submit button so there aren't two overlapping buttons for a split second
10396
10396
  submitButton_.animate([{