@depict-ai/ui 4.4.4 → 4.4.6

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
@@ -100,7 +100,7 @@ $parcel$export(module.exports, "BreadCrumbs", () => $335c02c1241a9ca8$export$5b7
100
100
  $parcel$export(module.exports, "QuickLinks", () => $335c02c1241a9ca8$export$de035477d6fef996);
101
101
  $parcel$export(module.exports, "CategoryPage", () => $c10e33c4681f8c9b$export$e2bf8ce7779e827e);
102
102
  /*! Depict.ai search and product listing SDK */
103
- const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.4.4";
103
+ const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.4.6";
104
104
  const $5401a6698b0c0658$var$transform_elements = sorted_cols_at_size => {
105
105
  const cols_at_size = [];
106
106
  for (let i = 0; i < sorted_cols_at_size.length; i++) {
@@ -3728,7 +3728,6 @@ function $29e5dbeb69da7a36$export$b94867ecbd698f21(_ref) {
3728
3728
  [_el$17, _co$5] = $52FdA$solidjsweb.getNextMarker(_el$16.nextSibling),
3729
3729
  _el$18 = _el$17.nextSibling,
3730
3730
  [_el$19, _co$6] = $52FdA$solidjsweb.getNextMarker(_el$18.nextSibling);
3731
- _el$3.classList.toggle("in-modal", !!!!on_back_);
3732
3731
  $52FdA$solidjsweb.insert(_el$3, $52FdA$solidjsweb.createComponent((0, $52FdA$solidjs.Show), {
3733
3732
  get when() {
3734
3733
  return getBackButtonWidth() !== undefined && on_back_;
@@ -3839,7 +3838,7 @@ function $29e5dbeb69da7a36$export$b94867ecbd698f21(_ref) {
3839
3838
  }
3840
3839
  }), _el$19, _co$6);
3841
3840
  $52FdA$solidjsweb.effect(_p$ => {
3842
- var _v$ = "search-field".concat(class_ !== null && class_ !== void 0 && class_() ? " ".concat(class_()) : ""),
3841
+ var _v$ = "search-field".concat(on_back_ ? " in-modal" : "").concat(class_ !== null && class_ !== void 0 && class_() ? " ".concat(class_()) : ""),
3843
3842
  _v$2 = i18n_.search_field_field_aria_label_(),
3844
3843
  _v$3 = i18n_.placeholder_text_();
3845
3844
  _v$ !== _p$.e && $52FdA$solidjsweb.className(_el$3, _p$.e = _v$);
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 _SearchFilter3 } from "@depict-ai/types/api/SearchRequestV2";
13
- export const version = "4.4.4";
13
+ export const version = "4.4.6";
14
14
  declare const LISTING_ID = "listingId";
15
15
  declare const EXTERNAL_ID = "externalId";
16
16
  type ScrollRestorationData = {
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.4.4";
13
+ const $8db9a15135765c11$export$83d89fbfd8236492 = "4.4.6";
14
14
  const $a9c7ba6087881ac2$var$transform_elements = sorted_cols_at_size => {
15
15
  const cols_at_size = [];
16
16
  for (let i = 0; i < sorted_cols_at_size.length; i++) {
@@ -3638,7 +3638,6 @@ function $584c06c09cf4609d$export$b94867ecbd698f21(_ref) {
3638
3638
  [_el$17, _co$5] = $8tj43$getNextMarker(_el$16.nextSibling),
3639
3639
  _el$18 = _el$17.nextSibling,
3640
3640
  [_el$19, _co$6] = $8tj43$getNextMarker(_el$18.nextSibling);
3641
- _el$3.classList.toggle("in-modal", !!!!on_back_);
3642
3641
  $8tj43$insert(_el$3, $8tj43$createComponent((0, $8tj43$Show), {
3643
3642
  get when() {
3644
3643
  return getBackButtonWidth() !== undefined && on_back_;
@@ -3749,7 +3748,7 @@ function $584c06c09cf4609d$export$b94867ecbd698f21(_ref) {
3749
3748
  }
3750
3749
  }), _el$19, _co$6);
3751
3750
  $8tj43$effect(_p$ => {
3752
- var _v$ = "search-field".concat(class_ !== null && class_ !== void 0 && class_() ? " ".concat(class_()) : ""),
3751
+ var _v$ = "search-field".concat(on_back_ ? " in-modal" : "").concat(class_ !== null && class_ !== void 0 && class_() ? " ".concat(class_()) : ""),
3753
3752
  _v$2 = i18n_.search_field_field_aria_label_(),
3754
3753
  _v$3 = i18n_.placeholder_text_();
3755
3754
  _v$ !== _p$.e && $8tj43$className(_el$3, _p$.e = _v$);
package/latest/index.cjs CHANGED
@@ -94,7 +94,7 @@ $parcel$export(module.exports, "BreadCrumbs", () => $1f4925833f07df29$export$5b7
94
94
  $parcel$export(module.exports, "QuickLinks", () => $1f4925833f07df29$export$de035477d6fef996);
95
95
  $parcel$export(module.exports, "CategoryPage", () => $14f289047713d67a$export$e2bf8ce7779e827e);
96
96
  /*! Depict.ai search and product listing SDK */
97
- const $b757f75811f3261f$export$83d89fbfd8236492 = "4.4.4";
97
+ const $b757f75811f3261f$export$83d89fbfd8236492 = "4.4.6";
98
98
  const $4e04be41243c3d80$var$transform_elements = sorted_cols_at_size => {
99
99
  const cols_at_size = [];
100
100
  for (let i = 0; i < sorted_cols_at_size.length; i++) {
@@ -3532,7 +3532,6 @@ function $66b8b9a9613c141d$export$b94867ecbd698f21({
3532
3532
  [_el$17, _co$5] = $gVhhF$solidjsweb.getNextMarker(_el$16.nextSibling),
3533
3533
  _el$18 = _el$17.nextSibling,
3534
3534
  [_el$19, _co$6] = $gVhhF$solidjsweb.getNextMarker(_el$18.nextSibling);
3535
- _el$3.classList.toggle("in-modal", !!!!on_back_);
3536
3535
  $gVhhF$solidjsweb.insert(_el$3, $gVhhF$solidjsweb.createComponent((0, $gVhhF$solidjs.Show), {
3537
3536
  get when() {
3538
3537
  return getBackButtonWidth() !== undefined && on_back_;
@@ -3640,7 +3639,7 @@ function $66b8b9a9613c141d$export$b94867ecbd698f21({
3640
3639
  }
3641
3640
  }), _el$19, _co$6);
3642
3641
  $gVhhF$solidjsweb.effect(_p$ => {
3643
- var _v$ = `search-field${class_?.() ? ` ${class_()}` : ""}`,
3642
+ var _v$ = `search-field${on_back_ ? " in-modal" : ""}${class_?.() ? ` ${class_()}` : ""}`,
3644
3643
  _v$2 = i18n_.search_field_field_aria_label_(),
3645
3644
  _v$3 = i18n_.placeholder_text_();
3646
3645
  _v$ !== _p$.e && $gVhhF$solidjsweb.className(_el$3, _p$.e = _v$);
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 _SearchFilter3 } from "@depict-ai/types/api/SearchRequestV2";
13
- export const version = "4.4.4";
13
+ export const version = "4.4.6";
14
14
  declare const LISTING_ID = "listingId";
15
15
  declare const EXTERNAL_ID = "externalId";
16
16
  type ScrollRestorationData = {
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.4.4";
10
+ const $ec291e0010116877$export$83d89fbfd8236492 = "4.4.6";
11
11
  const $b5cccc8ee7d24677$var$transform_elements = sorted_cols_at_size => {
12
12
  const cols_at_size = [];
13
13
  for (let i = 0; i < sorted_cols_at_size.length; i++) {
@@ -3445,7 +3445,6 @@ function $5285d2814d0fac0c$export$b94867ecbd698f21({
3445
3445
  [_el$17, _co$5] = $9HbP8$getNextMarker(_el$16.nextSibling),
3446
3446
  _el$18 = _el$17.nextSibling,
3447
3447
  [_el$19, _co$6] = $9HbP8$getNextMarker(_el$18.nextSibling);
3448
- _el$3.classList.toggle("in-modal", !!!!on_back_);
3449
3448
  $9HbP8$insert(_el$3, $9HbP8$createComponent((0, $9HbP8$Show), {
3450
3449
  get when() {
3451
3450
  return getBackButtonWidth() !== undefined && on_back_;
@@ -3553,7 +3552,7 @@ function $5285d2814d0fac0c$export$b94867ecbd698f21({
3553
3552
  }
3554
3553
  }), _el$19, _co$6);
3555
3554
  $9HbP8$effect(_p$ => {
3556
- var _v$ = `search-field${class_?.() ? ` ${class_()}` : ""}`,
3555
+ var _v$ = `search-field${on_back_ ? " in-modal" : ""}${class_?.() ? ` ${class_()}` : ""}`,
3557
3556
  _v$2 = i18n_.search_field_field_aria_label_(),
3558
3557
  _v$3 = i18n_.placeholder_text_();
3559
3558
  _v$ !== _p$.e && $9HbP8$className(_el$3, _p$.e = _v$);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@depict-ai/ui",
3
- "version": "4.4.4",
3
+ "version": "4.4.6",
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",
@@ -236,9 +236,9 @@
236
236
  "@babel/plugin-transform-typescript": "^7.22.9",
237
237
  "@babel/runtime": "latest",
238
238
  "@babel/runtime-corejs3": "^7.22.6",
239
- "@depict-ai/plp-styling": "^4.1.4",
239
+ "@depict-ai/plp-styling": "^4.1.6",
240
240
  "@depict-ai/types": "^5.1.4",
241
- "@depict-ai/utilishared": "^2.1.4",
241
+ "@depict-ai/utilishared": "^2.1.5",
242
242
  "solid-js": "^1.8.12"
243
243
  },
244
244
  "type": "module",
@@ -100,7 +100,7 @@ $parcel$export(module.exports, "BreadCrumbs", () => $335c02c1241a9ca8$export$5b7
100
100
  $parcel$export(module.exports, "QuickLinks", () => $335c02c1241a9ca8$export$de035477d6fef996);
101
101
  $parcel$export(module.exports, "CategoryPage", () => $c10e33c4681f8c9b$export$e2bf8ce7779e827e);
102
102
  /*! Depict.ai search and product listing SDK */
103
- const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.4.4";
103
+ const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.4.6";
104
104
  const $5401a6698b0c0658$var$transform_elements = sorted_cols_at_size => {
105
105
  const cols_at_size = [];
106
106
  for (let i = 0; i < sorted_cols_at_size.length; i++) {
@@ -3144,7 +3144,7 @@ function $29e5dbeb69da7a36$export$b94867ecbd698f21(_ref) {
3144
3144
  return $3hooq$solidjsweb.createComponent(BackIcon_, {});
3145
3145
  }
3146
3146
  })) : $3hooq$solidjsweb.escape($3hooq$solidjsweb.createComponent((0, $083b2336093176cf$export$3b621d86b1566b2), {})), true);
3147
- return $3hooq$solidjsweb.ssr($29e5dbeb69da7a36$var$_tmpl$3, $3hooq$solidjsweb.ssrHydrationKey(), "".concat("search-field".concat(class_ !== null && class_ !== void 0 && class_() ? " ".concat($3hooq$solidjsweb.escape(class_(), true)) : "") || "", " ").concat(!!on_back_ ? "in-modal" : ""), $3hooq$solidjsweb.escape($3hooq$solidjsweb.createComponent((0, $3hooq$solidjs.Show), {
3147
+ return $3hooq$solidjsweb.ssr($29e5dbeb69da7a36$var$_tmpl$3, $3hooq$solidjsweb.ssrHydrationKey(), "search-field".concat(on_back_ ? " in-modal" : "").concat(class_ !== null && class_ !== void 0 && class_() ? " ".concat($3hooq$solidjsweb.escape(class_(), true)) : ""), $3hooq$solidjsweb.escape($3hooq$solidjsweb.createComponent((0, $3hooq$solidjs.Show), {
3148
3148
  get when() {
3149
3149
  return getBackButtonWidth() !== undefined && on_back_;
3150
3150
  },
@@ -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 _SearchFilter3 } from "@depict-ai/types/api/SearchRequestV2";
13
- export const version = "4.4.4";
13
+ export const version = "4.4.6";
14
14
  declare const LISTING_ID = "listingId";
15
15
  declare const EXTERNAL_ID = "externalId";
16
16
  type ScrollRestorationData = {
@@ -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.4.4";
13
+ const $8db9a15135765c11$export$83d89fbfd8236492 = "4.4.6";
14
14
  const $a9c7ba6087881ac2$var$transform_elements = sorted_cols_at_size => {
15
15
  const cols_at_size = [];
16
16
  for (let i = 0; i < sorted_cols_at_size.length; i++) {
@@ -3054,7 +3054,7 @@ function $584c06c09cf4609d$export$b94867ecbd698f21(_ref) {
3054
3054
  return $b8hua$createComponent(BackIcon_, {});
3055
3055
  }
3056
3056
  })) : $b8hua$escape($b8hua$createComponent((0, $9783d437ad61594c$export$3b621d86b1566b2), {})), true);
3057
- return $b8hua$ssr($584c06c09cf4609d$var$_tmpl$3, $b8hua$ssrHydrationKey(), "".concat("search-field".concat(class_ !== null && class_ !== void 0 && class_() ? " ".concat($b8hua$escape(class_(), true)) : "") || "", " ").concat(!!on_back_ ? "in-modal" : ""), $b8hua$escape($b8hua$createComponent((0, $b8hua$Show), {
3057
+ return $b8hua$ssr($584c06c09cf4609d$var$_tmpl$3, $b8hua$ssrHydrationKey(), "search-field".concat(on_back_ ? " in-modal" : "").concat(class_ !== null && class_ !== void 0 && class_() ? " ".concat($b8hua$escape(class_(), true)) : ""), $b8hua$escape($b8hua$createComponent((0, $b8hua$Show), {
3058
3058
  get when() {
3059
3059
  return getBackButtonWidth() !== undefined && on_back_;
3060
3060
  },
@@ -94,7 +94,7 @@ $parcel$export(module.exports, "BreadCrumbs", () => $1f4925833f07df29$export$5b7
94
94
  $parcel$export(module.exports, "QuickLinks", () => $1f4925833f07df29$export$de035477d6fef996);
95
95
  $parcel$export(module.exports, "CategoryPage", () => $14f289047713d67a$export$e2bf8ce7779e827e);
96
96
  /*! Depict.ai search and product listing SDK */
97
- const $b757f75811f3261f$export$83d89fbfd8236492 = "4.4.4";
97
+ const $b757f75811f3261f$export$83d89fbfd8236492 = "4.4.6";
98
98
  const $4e04be41243c3d80$var$transform_elements = sorted_cols_at_size => {
99
99
  const cols_at_size = [];
100
100
  for (let i = 0; i < sorted_cols_at_size.length; i++) {
@@ -2968,7 +2968,7 @@ function $66b8b9a9613c141d$export$b94867ecbd698f21({
2968
2968
  return $5vyXB$solidjsweb.createComponent(BackIcon_, {});
2969
2969
  }
2970
2970
  })) : $5vyXB$solidjsweb.escape($5vyXB$solidjsweb.createComponent((0, $c77c68e559a1506c$export$3b621d86b1566b2), {})), true);
2971
- return $5vyXB$solidjsweb.ssr($66b8b9a9613c141d$var$_tmpl$3, $5vyXB$solidjsweb.ssrHydrationKey(), `${`search-field${class_?.() ? ` ${$5vyXB$solidjsweb.escape(class_(), true)}` : ""}` || ""} ${!!on_back_ ? "in-modal" : ""}`, $5vyXB$solidjsweb.escape($5vyXB$solidjsweb.createComponent((0, $5vyXB$solidjs.Show), {
2971
+ return $5vyXB$solidjsweb.ssr($66b8b9a9613c141d$var$_tmpl$3, $5vyXB$solidjsweb.ssrHydrationKey(), `search-field${on_back_ ? " in-modal" : ""}${class_?.() ? ` ${$5vyXB$solidjsweb.escape(class_(), true)}` : ""}`, $5vyXB$solidjsweb.escape($5vyXB$solidjsweb.createComponent((0, $5vyXB$solidjs.Show), {
2972
2972
  get when() {
2973
2973
  return getBackButtonWidth() !== undefined && on_back_;
2974
2974
  },
@@ -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 _SearchFilter3 } from "@depict-ai/types/api/SearchRequestV2";
13
- export const version = "4.4.4";
13
+ export const version = "4.4.6";
14
14
  declare const LISTING_ID = "listingId";
15
15
  declare const EXTERNAL_ID = "externalId";
16
16
  type ScrollRestorationData = {
@@ -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.4.4";
10
+ const $ec291e0010116877$export$83d89fbfd8236492 = "4.4.6";
11
11
  const $b5cccc8ee7d24677$var$transform_elements = sorted_cols_at_size => {
12
12
  const cols_at_size = [];
13
13
  for (let i = 0; i < sorted_cols_at_size.length; i++) {
@@ -2881,7 +2881,7 @@ function $5285d2814d0fac0c$export$b94867ecbd698f21({
2881
2881
  return $i7OB2$createComponent(BackIcon_, {});
2882
2882
  }
2883
2883
  })) : $i7OB2$escape($i7OB2$createComponent((0, $19976a74d273070d$export$3b621d86b1566b2), {})), true);
2884
- return $i7OB2$ssr($5285d2814d0fac0c$var$_tmpl$3, $i7OB2$ssrHydrationKey(), `${`search-field${class_?.() ? ` ${$i7OB2$escape(class_(), true)}` : ""}` || ""} ${!!on_back_ ? "in-modal" : ""}`, $i7OB2$escape($i7OB2$createComponent((0, $i7OB2$Show), {
2884
+ return $i7OB2$ssr($5285d2814d0fac0c$var$_tmpl$3, $i7OB2$ssrHydrationKey(), `search-field${on_back_ ? " in-modal" : ""}${class_?.() ? ` ${$i7OB2$escape(class_(), true)}` : ""}`, $i7OB2$escape($i7OB2$createComponent((0, $i7OB2$Show), {
2885
2885
  get when() {
2886
2886
  return getBackButtonWidth() !== undefined && on_back_;
2887
2887
  },