@depict-ai/ui 3.0.17 → 3.0.18

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
@@ -83,7 +83,7 @@ $parcel$export(module.exports, "defaultColsAtSize", () => $33eed84f447aa0c0$expo
83
83
  $parcel$export(module.exports, "defaultCategoryTitlePlugin", () => $33eed84f447aa0c0$export$7bf543b9d9be2c22);
84
84
  $parcel$export(module.exports, "version", () => $aa1938dec50d6c12$export$83d89fbfd8236492);
85
85
  /*! Depict.ai search and product listing SDK */
86
- const $aa1938dec50d6c12$export$83d89fbfd8236492 = "3.0.17";
86
+ const $aa1938dec50d6c12$export$83d89fbfd8236492 = "3.0.18";
87
87
  const $9d19451330d04c3c$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 14 26"><path d="M2 24.656c-.078 0-.156-.016-.234-.047s-.133-.066-.187-.129c-.117-.117-.176-.258-.176-.422s.059-.305.176-.422l10.371-10.371L1.578 2.883c-.117-.117-.176-.258-.176-.422s.059-.305.176-.422.258-.176.422-.176.305.059.422.176l10.805 10.793a.59.59 0 0 1 .176.434c0 .172-.059.305-.176.422L2.422 24.48a.42.42 0 0 1-.199.129.54.54 0 0 1-.223.047zm0 0"fill=#0f0f0f>`);
88
88
  function $9d19451330d04c3c$export$8be2714ec7f169ee() {
89
89
  let props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
@@ -8899,7 +8899,6 @@ const $ede6c70ecdca46fe$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<d
8899
8899
  $ede6c70ecdca46fe$var$_tmpl$3 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=filter-results-for-one-row><!$><!/><!$><!/>`),
8900
8900
  $ede6c70ecdca46fe$var$_tmpl$4 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class="depict plp category"><div class=listing-page><!$><!/><!$><!/><!$><!/><!$><!/><!$><!/><!$><!/></div><!$><!/><!$><!/>`);
8901
8901
  function $ede6c70ecdca46fe$export$f7d2f673fc2f091d(_ref) {
8902
- var _on_filters_construct;
8903
8902
  let {
8904
8903
  depict_api_: depict_api_,
8905
8904
  id_to_query_for_: id_to_query_for_,
@@ -9138,7 +9137,11 @@ function $ede6c70ecdca46fe$export$f7d2f673fc2f091d(_ref) {
9138
9137
  id_: id_to_query_for_,
9139
9138
  can_write_scroll_restoration_: can_write_scroll_restoration_
9140
9139
  });
9141
- (_on_filters_construct = on_filters_constructed_) === null || _on_filters_construct === void 0 || _on_filters_construct();
9140
+ $52FdA$solidjs.createEffect(() => {
9141
+ var _on_filters_construct;
9142
+ if (sort_and_filter_disabled_()) return;
9143
+ (_on_filters_construct = on_filters_constructed_) === null || _on_filters_construct === void 0 || _on_filters_construct();
9144
+ });
9142
9145
  $52FdA$solidjs.createComputed(() => {
9143
9146
  if (plp_products_.loading) set_can_write_scroll_restoration(false);else if (plp_products_()) set_can_write_scroll_restoration(true);
9144
9147
  });
@@ -9693,7 +9696,12 @@ function $9cbefc32b9dab36d$export$e2bf8ce7779e827e(props) {
9693
9696
  return newId;
9694
9697
  });
9695
9698
  $52FdA$solidjs.onCleanup(() => $bdea39a75c454f4f$export$f50b88e2a00918b5(props.on_listing_query_change)());
9696
- const is_grid = $52FdA$solidjs.createMemo(() => props.layout === "grid");
9699
+ const is_grid = $52FdA$solidjs.createMemo(() => {
9700
+ const {
9701
+ layout: layout
9702
+ } = props;
9703
+ return !layout || layout === "grid";
9704
+ });
9697
9705
  const grid_spacing_override = $52FdA$solidjs.createMemo(() => {
9698
9706
  const {
9699
9707
  grid_spacing: grid_spacing
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 = "3.0.17";
13
+ export const version = "3.0.18";
14
14
  export type SDKColsAtSize = [number, number?][];
15
15
  /**
16
16
  * Transform SDK ColsAtSize into valid Layout ColsAtSize
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 = "3.0.17";
13
+ const $8db9a15135765c11$export$83d89fbfd8236492 = "3.0.18";
14
14
  const $ca6ab5f08bd28bca$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 14 26"><path d="M2 24.656c-.078 0-.156-.016-.234-.047s-.133-.066-.187-.129c-.117-.117-.176-.258-.176-.422s.059-.305.176-.422l10.371-10.371L1.578 2.883c-.117-.117-.176-.258-.176-.422s.059-.305.176-.422.258-.176.422-.176.305.059.422.176l10.805 10.793a.59.59 0 0 1 .176.434c0 .172-.059.305-.176.422L2.422 24.48a.42.42 0 0 1-.199.129.54.54 0 0 1-.223.047zm0 0"fill=#0f0f0f>`);
15
15
  function $ca6ab5f08bd28bca$export$8be2714ec7f169ee() {
16
16
  let props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
@@ -8826,7 +8826,6 @@ const $4b4b262708b516ee$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div class=pr
8826
8826
  $4b4b262708b516ee$var$_tmpl$3 = /*#__PURE__*/$8tj43$template(`<div class=filter-results-for-one-row><!$><!/><!$><!/>`),
8827
8827
  $4b4b262708b516ee$var$_tmpl$4 = /*#__PURE__*/$8tj43$template(`<div class="depict plp category"><div class=listing-page><!$><!/><!$><!/><!$><!/><!$><!/><!$><!/><!$><!/></div><!$><!/><!$><!/>`);
8828
8828
  function $4b4b262708b516ee$export$f7d2f673fc2f091d(_ref) {
8829
- var _on_filters_construct;
8830
8829
  let {
8831
8830
  depict_api_: depict_api_,
8832
8831
  id_to_query_for_: id_to_query_for_,
@@ -9065,7 +9064,11 @@ function $4b4b262708b516ee$export$f7d2f673fc2f091d(_ref) {
9065
9064
  id_: id_to_query_for_,
9066
9065
  can_write_scroll_restoration_: can_write_scroll_restoration_
9067
9066
  });
9068
- (_on_filters_construct = on_filters_constructed_) === null || _on_filters_construct === void 0 || _on_filters_construct();
9067
+ $8tj43$createEffect(() => {
9068
+ var _on_filters_construct;
9069
+ if (sort_and_filter_disabled_()) return;
9070
+ (_on_filters_construct = on_filters_constructed_) === null || _on_filters_construct === void 0 || _on_filters_construct();
9071
+ });
9069
9072
  $8tj43$createComputed(() => {
9070
9073
  if (plp_products_.loading) set_can_write_scroll_restoration(false);else if (plp_products_()) set_can_write_scroll_restoration(true);
9071
9074
  });
@@ -9620,7 +9623,12 @@ function $f5f54892fd0c7d9f$export$e2bf8ce7779e827e(props) {
9620
9623
  return newId;
9621
9624
  });
9622
9625
  $8tj43$onCleanup(() => $01c33966d9ddb108$export$f50b88e2a00918b5(props.on_listing_query_change)());
9623
- const is_grid = $8tj43$createMemo(() => props.layout === "grid");
9626
+ const is_grid = $8tj43$createMemo(() => {
9627
+ const {
9628
+ layout: layout
9629
+ } = props;
9630
+ return !layout || layout === "grid";
9631
+ });
9624
9632
  const grid_spacing_override = $8tj43$createMemo(() => {
9625
9633
  const {
9626
9634
  grid_spacing: grid_spacing
package/latest/index.cjs CHANGED
@@ -77,7 +77,7 @@ $parcel$export(module.exports, "defaultColsAtSize", () => $a3280f0aad997933$expo
77
77
  $parcel$export(module.exports, "defaultCategoryTitlePlugin", () => $a3280f0aad997933$export$7bf543b9d9be2c22);
78
78
  $parcel$export(module.exports, "version", () => $b757f75811f3261f$export$83d89fbfd8236492);
79
79
  /*! Depict.ai search and product listing SDK */
80
- const $b757f75811f3261f$export$83d89fbfd8236492 = "3.0.17";
80
+ const $b757f75811f3261f$export$83d89fbfd8236492 = "3.0.18";
81
81
  const $0f313083912e447a$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 14 26"><path d="M2 24.656c-.078 0-.156-.016-.234-.047s-.133-.066-.187-.129c-.117-.117-.176-.258-.176-.422s.059-.305.176-.422l10.371-10.371L1.578 2.883c-.117-.117-.176-.258-.176-.422s.059-.305.176-.422.258-.176.422-.176.305.059.422.176l10.805 10.793a.59.59 0 0 1 .176.434c0 .172-.059.305-.176.422L2.422 24.48a.42.42 0 0 1-.199.129.54.54 0 0 1-.223.047zm0 0"fill=#0f0f0f>`);
82
82
  function $0f313083912e447a$export$8be2714ec7f169ee(props = {}) {
83
83
  return (() => {
@@ -8570,7 +8570,10 @@ function $840d88a04b2d22a7$export$f7d2f673fc2f091d({
8570
8570
  id_: id_to_query_for_,
8571
8571
  can_write_scroll_restoration_: can_write_scroll_restoration_
8572
8572
  });
8573
- on_filters_constructed_?.();
8573
+ $gVhhF$solidjs.createEffect(() => {
8574
+ if (sort_and_filter_disabled_()) return;
8575
+ on_filters_constructed_?.();
8576
+ });
8574
8577
  $gVhhF$solidjs.createComputed(() => {
8575
8578
  if (plp_products_.loading) set_can_write_scroll_restoration(false);else if (plp_products_()) set_can_write_scroll_restoration(true);
8576
8579
  });
@@ -9051,7 +9054,12 @@ function $48567ac5b39bac56$export$e2bf8ce7779e827e(props) {
9051
9054
  return newId;
9052
9055
  });
9053
9056
  $gVhhF$solidjs.onCleanup(() => $deaaf04362a1bc71$export$f50b88e2a00918b5(props.on_listing_query_change)());
9054
- const is_grid = $gVhhF$solidjs.createMemo(() => props.layout === "grid");
9057
+ const is_grid = $gVhhF$solidjs.createMemo(() => {
9058
+ const {
9059
+ layout: layout
9060
+ } = props;
9061
+ return !layout || layout === "grid";
9062
+ });
9055
9063
  const grid_spacing_override = $gVhhF$solidjs.createMemo(() => {
9056
9064
  const {
9057
9065
  grid_spacing: grid_spacing
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 = "3.0.17";
13
+ export const version = "3.0.18";
14
14
  export type SDKColsAtSize = [number, number?][];
15
15
  /**
16
16
  * Transform SDK ColsAtSize into valid Layout ColsAtSize
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 = "3.0.17";
10
+ const $ec291e0010116877$export$83d89fbfd8236492 = "3.0.18";
11
11
  const $fbbadcb080ad1d4a$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 14 26"><path d="M2 24.656c-.078 0-.156-.016-.234-.047s-.133-.066-.187-.129c-.117-.117-.176-.258-.176-.422s.059-.305.176-.422l10.371-10.371L1.578 2.883c-.117-.117-.176-.258-.176-.422s.059-.305.176-.422.258-.176.422-.176.305.059.422.176l10.805 10.793a.59.59 0 0 1 .176.434c0 .172-.059.305-.176.422L2.422 24.48a.42.42 0 0 1-.199.129.54.54 0 0 1-.223.047zm0 0"fill=#0f0f0f>`);
12
12
  function $fbbadcb080ad1d4a$export$8be2714ec7f169ee(props = {}) {
13
13
  return (() => {
@@ -8500,7 +8500,10 @@ function $df5d81d0fe61ff21$export$f7d2f673fc2f091d({
8500
8500
  id_: id_to_query_for_,
8501
8501
  can_write_scroll_restoration_: can_write_scroll_restoration_
8502
8502
  });
8503
- on_filters_constructed_?.();
8503
+ $9HbP8$createEffect(() => {
8504
+ if (sort_and_filter_disabled_()) return;
8505
+ on_filters_constructed_?.();
8506
+ });
8504
8507
  $9HbP8$createComputed(() => {
8505
8508
  if (plp_products_.loading) set_can_write_scroll_restoration(false);else if (plp_products_()) set_can_write_scroll_restoration(true);
8506
8509
  });
@@ -8981,7 +8984,12 @@ function $961b5c64bef4662f$export$e2bf8ce7779e827e(props) {
8981
8984
  return newId;
8982
8985
  });
8983
8986
  $9HbP8$onCleanup(() => $d8dbf52fea1773e2$export$f50b88e2a00918b5(props.on_listing_query_change)());
8984
- const is_grid = $9HbP8$createMemo(() => props.layout === "grid");
8987
+ const is_grid = $9HbP8$createMemo(() => {
8988
+ const {
8989
+ layout: layout
8990
+ } = props;
8991
+ return !layout || layout === "grid";
8992
+ });
8985
8993
  const grid_spacing_override = $9HbP8$createMemo(() => {
8986
8994
  const {
8987
8995
  grid_spacing: grid_spacing
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@depict-ai/ui",
3
- "version": "3.0.17",
3
+ "version": "3.0.18",
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",
@@ -83,7 +83,7 @@ $parcel$export(module.exports, "defaultColsAtSize", () => $33eed84f447aa0c0$expo
83
83
  $parcel$export(module.exports, "defaultCategoryTitlePlugin", () => $33eed84f447aa0c0$export$7bf543b9d9be2c22);
84
84
  $parcel$export(module.exports, "version", () => $aa1938dec50d6c12$export$83d89fbfd8236492);
85
85
  /*! Depict.ai search and product listing SDK */
86
- const $aa1938dec50d6c12$export$83d89fbfd8236492 = "3.0.17";
86
+ const $aa1938dec50d6c12$export$83d89fbfd8236492 = "3.0.18";
87
87
  const $9d19451330d04c3c$var$_tmpl$ = ["<svg", ' xmlns="http://www.w3.org/2000/svg"', ' viewBox="0 0 14 26"><path d="M2 24.656c-.078 0-.156-.016-.234-.047s-.133-.066-.187-.129c-.117-.117-.176-.258-.176-.422s.059-.305.176-.422l10.371-10.371L1.578 2.883c-.117-.117-.176-.258-.176-.422s.059-.305.176-.422.258-.176.422-.176.305.059.422.176l10.805 10.793a.59.59 0 0 1 .176.434c0 .172-.059.305-.176.422L2.422 24.48a.42.42 0 0 1-.199.129.54.54 0 0 1-.223.047zm0 0" fill="#0f0f0f"></path></svg>'];
88
88
  function $9d19451330d04c3c$export$8be2714ec7f169ee() {
89
89
  var _$escape2, _$escape3;
@@ -7371,7 +7371,6 @@ const $ede6c70ecdca46fe$var$_tmpl$ = ["<div", ' class="product-count"><!--$-->',
7371
7371
  $ede6c70ecdca46fe$var$_tmpl$3 = ["<div", ' class="filter-results-for-one-row"><!--$-->', "<!--/--><!--$-->", "<!--/--></div>"],
7372
7372
  $ede6c70ecdca46fe$var$_tmpl$4 = ["<div", ' class="depict plp category"><div class="listing-page"><!--$-->', "<!--/--><!--$-->", "<!--/--><!--$-->", "<!--/--><!--$-->", "<!--/--><!--$-->", "<!--/--><!--$-->", "<!--/--></div><!--$-->", "<!--/--><!--$-->", "<!--/--></div>"];
7373
7373
  function $ede6c70ecdca46fe$export$f7d2f673fc2f091d(_ref) {
7374
- var _on_filters_construct;
7375
7374
  let {
7376
7375
  depict_api_: depict_api_,
7377
7376
  id_to_query_for_: id_to_query_for_,
@@ -7600,7 +7599,11 @@ function $ede6c70ecdca46fe$export$f7d2f673fc2f091d(_ref) {
7600
7599
  id_: id_to_query_for_,
7601
7600
  can_write_scroll_restoration_: can_write_scroll_restoration_
7602
7601
  });
7603
- (_on_filters_construct = on_filters_constructed_) === null || _on_filters_construct === void 0 || _on_filters_construct();
7602
+ $3hooq$solidjs.createEffect(() => {
7603
+ var _on_filters_construct;
7604
+ if (sort_and_filter_disabled_()) return;
7605
+ (_on_filters_construct = on_filters_constructed_) === null || _on_filters_construct === void 0 || _on_filters_construct();
7606
+ });
7604
7607
  $3hooq$solidjs.createComputed(() => {
7605
7608
  if (plp_products_.loading) set_can_write_scroll_restoration(false);else if (plp_products_()) set_can_write_scroll_restoration(true);
7606
7609
  });
@@ -8111,7 +8114,12 @@ function $9cbefc32b9dab36d$export$e2bf8ce7779e827e(props) {
8111
8114
  return newId;
8112
8115
  });
8113
8116
  $3hooq$solidjs.onCleanup(() => $bdea39a75c454f4f$export$f50b88e2a00918b5(props.on_listing_query_change)());
8114
- const is_grid = $3hooq$solidjs.createMemo(() => props.layout === "grid");
8117
+ const is_grid = $3hooq$solidjs.createMemo(() => {
8118
+ const {
8119
+ layout: layout
8120
+ } = props;
8121
+ return !layout || layout === "grid";
8122
+ });
8115
8123
  const grid_spacing_override = $3hooq$solidjs.createMemo(() => {
8116
8124
  const {
8117
8125
  grid_spacing: grid_spacing
@@ -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 = "3.0.17";
13
+ export const version = "3.0.18";
14
14
  export type SDKColsAtSize = [number, number?][];
15
15
  /**
16
16
  * Transform SDK ColsAtSize into valid Layout ColsAtSize
@@ -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 = "3.0.17";
13
+ const $8db9a15135765c11$export$83d89fbfd8236492 = "3.0.18";
14
14
  const $ca6ab5f08bd28bca$var$_tmpl$ = ["<svg", ' xmlns="http://www.w3.org/2000/svg"', ' viewBox="0 0 14 26"><path d="M2 24.656c-.078 0-.156-.016-.234-.047s-.133-.066-.187-.129c-.117-.117-.176-.258-.176-.422s.059-.305.176-.422l10.371-10.371L1.578 2.883c-.117-.117-.176-.258-.176-.422s.059-.305.176-.422.258-.176.422-.176.305.059.422.176l10.805 10.793a.59.59 0 0 1 .176.434c0 .172-.059.305-.176.422L2.422 24.48a.42.42 0 0 1-.199.129.54.54 0 0 1-.223.047zm0 0" fill="#0f0f0f"></path></svg>'];
15
15
  function $ca6ab5f08bd28bca$export$8be2714ec7f169ee() {
16
16
  var _$escape2, _$escape3;
@@ -7298,7 +7298,6 @@ const $4b4b262708b516ee$var$_tmpl$ = ["<div", ' class="product-count"><!--$-->',
7298
7298
  $4b4b262708b516ee$var$_tmpl$3 = ["<div", ' class="filter-results-for-one-row"><!--$-->', "<!--/--><!--$-->", "<!--/--></div>"],
7299
7299
  $4b4b262708b516ee$var$_tmpl$4 = ["<div", ' class="depict plp category"><div class="listing-page"><!--$-->', "<!--/--><!--$-->", "<!--/--><!--$-->", "<!--/--><!--$-->", "<!--/--><!--$-->", "<!--/--><!--$-->", "<!--/--></div><!--$-->", "<!--/--><!--$-->", "<!--/--></div>"];
7300
7300
  function $4b4b262708b516ee$export$f7d2f673fc2f091d(_ref) {
7301
- var _on_filters_construct;
7302
7301
  let {
7303
7302
  depict_api_: depict_api_,
7304
7303
  id_to_query_for_: id_to_query_for_,
@@ -7527,7 +7526,11 @@ function $4b4b262708b516ee$export$f7d2f673fc2f091d(_ref) {
7527
7526
  id_: id_to_query_for_,
7528
7527
  can_write_scroll_restoration_: can_write_scroll_restoration_
7529
7528
  });
7530
- (_on_filters_construct = on_filters_constructed_) === null || _on_filters_construct === void 0 || _on_filters_construct();
7529
+ $b8hua$createEffect(() => {
7530
+ var _on_filters_construct;
7531
+ if (sort_and_filter_disabled_()) return;
7532
+ (_on_filters_construct = on_filters_constructed_) === null || _on_filters_construct === void 0 || _on_filters_construct();
7533
+ });
7531
7534
  $b8hua$createComputed(() => {
7532
7535
  if (plp_products_.loading) set_can_write_scroll_restoration(false);else if (plp_products_()) set_can_write_scroll_restoration(true);
7533
7536
  });
@@ -8038,7 +8041,12 @@ function $f5f54892fd0c7d9f$export$e2bf8ce7779e827e(props) {
8038
8041
  return newId;
8039
8042
  });
8040
8043
  $b8hua$onCleanup(() => $01c33966d9ddb108$export$f50b88e2a00918b5(props.on_listing_query_change)());
8041
- const is_grid = $b8hua$createMemo(() => props.layout === "grid");
8044
+ const is_grid = $b8hua$createMemo(() => {
8045
+ const {
8046
+ layout: layout
8047
+ } = props;
8048
+ return !layout || layout === "grid";
8049
+ });
8042
8050
  const grid_spacing_override = $b8hua$createMemo(() => {
8043
8051
  const {
8044
8052
  grid_spacing: grid_spacing
@@ -77,7 +77,7 @@ $parcel$export(module.exports, "defaultColsAtSize", () => $a3280f0aad997933$expo
77
77
  $parcel$export(module.exports, "defaultCategoryTitlePlugin", () => $a3280f0aad997933$export$7bf543b9d9be2c22);
78
78
  $parcel$export(module.exports, "version", () => $b757f75811f3261f$export$83d89fbfd8236492);
79
79
  /*! Depict.ai search and product listing SDK */
80
- const $b757f75811f3261f$export$83d89fbfd8236492 = "3.0.17";
80
+ const $b757f75811f3261f$export$83d89fbfd8236492 = "3.0.18";
81
81
  const $0f313083912e447a$var$_tmpl$ = ["<svg", ' xmlns="http://www.w3.org/2000/svg"', ' viewBox="0 0 14 26"><path d="M2 24.656c-.078 0-.156-.016-.234-.047s-.133-.066-.187-.129c-.117-.117-.176-.258-.176-.422s.059-.305.176-.422l10.371-10.371L1.578 2.883c-.117-.117-.176-.258-.176-.422s.059-.305.176-.422.258-.176.422-.176.305.059.422.176l10.805 10.793a.59.59 0 0 1 .176.434c0 .172-.059.305-.176.422L2.422 24.48a.42.42 0 0 1-.199.129.54.54 0 0 1-.223.047zm0 0" fill="#0f0f0f"></path></svg>'];
82
82
  function $0f313083912e447a$export$8be2714ec7f169ee(props = {}) {
83
83
  return $5vyXB$solidjsweb.ssr($0f313083912e447a$var$_tmpl$, $5vyXB$solidjsweb.ssrHydrationKey(), $5vyXB$solidjsweb.ssrAttribute("width", $5vyXB$solidjsweb.escape(props.width_, true) ?? 14, false) + $5vyXB$solidjsweb.ssrAttribute("height", $5vyXB$solidjsweb.escape(props.height_, true) ?? 26, false));
@@ -7090,7 +7090,10 @@ function $840d88a04b2d22a7$export$f7d2f673fc2f091d({
7090
7090
  id_: id_to_query_for_,
7091
7091
  can_write_scroll_restoration_: can_write_scroll_restoration_
7092
7092
  });
7093
- on_filters_constructed_?.();
7093
+ $5vyXB$solidjs.createEffect(() => {
7094
+ if (sort_and_filter_disabled_()) return;
7095
+ on_filters_constructed_?.();
7096
+ });
7094
7097
  $5vyXB$solidjs.createComputed(() => {
7095
7098
  if (plp_products_.loading) set_can_write_scroll_restoration(false);else if (plp_products_()) set_can_write_scroll_restoration(true);
7096
7099
  });
@@ -7527,7 +7530,12 @@ function $48567ac5b39bac56$export$e2bf8ce7779e827e(props) {
7527
7530
  return newId;
7528
7531
  });
7529
7532
  $5vyXB$solidjs.onCleanup(() => $deaaf04362a1bc71$export$f50b88e2a00918b5(props.on_listing_query_change)());
7530
- const is_grid = $5vyXB$solidjs.createMemo(() => props.layout === "grid");
7533
+ const is_grid = $5vyXB$solidjs.createMemo(() => {
7534
+ const {
7535
+ layout: layout
7536
+ } = props;
7537
+ return !layout || layout === "grid";
7538
+ });
7531
7539
  const grid_spacing_override = $5vyXB$solidjs.createMemo(() => {
7532
7540
  const {
7533
7541
  grid_spacing: grid_spacing
@@ -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 = "3.0.17";
13
+ export const version = "3.0.18";
14
14
  export type SDKColsAtSize = [number, number?][];
15
15
  /**
16
16
  * Transform SDK ColsAtSize into valid Layout ColsAtSize
@@ -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 = "3.0.17";
10
+ const $ec291e0010116877$export$83d89fbfd8236492 = "3.0.18";
11
11
  const $fbbadcb080ad1d4a$var$_tmpl$ = ["<svg", ' xmlns="http://www.w3.org/2000/svg"', ' viewBox="0 0 14 26"><path d="M2 24.656c-.078 0-.156-.016-.234-.047s-.133-.066-.187-.129c-.117-.117-.176-.258-.176-.422s.059-.305.176-.422l10.371-10.371L1.578 2.883c-.117-.117-.176-.258-.176-.422s.059-.305.176-.422.258-.176.422-.176.305.059.422.176l10.805 10.793a.59.59 0 0 1 .176.434c0 .172-.059.305-.176.422L2.422 24.48a.42.42 0 0 1-.199.129.54.54 0 0 1-.223.047zm0 0" fill="#0f0f0f"></path></svg>'];
12
12
  function $fbbadcb080ad1d4a$export$8be2714ec7f169ee(props = {}) {
13
13
  return $i7OB2$ssr($fbbadcb080ad1d4a$var$_tmpl$, $i7OB2$ssrHydrationKey(), $i7OB2$ssrAttribute("width", $i7OB2$escape(props.width_, true) ?? 14, false) + $i7OB2$ssrAttribute("height", $i7OB2$escape(props.height_, true) ?? 26, false));
@@ -7020,7 +7020,10 @@ function $df5d81d0fe61ff21$export$f7d2f673fc2f091d({
7020
7020
  id_: id_to_query_for_,
7021
7021
  can_write_scroll_restoration_: can_write_scroll_restoration_
7022
7022
  });
7023
- on_filters_constructed_?.();
7023
+ $i7OB2$createEffect(() => {
7024
+ if (sort_and_filter_disabled_()) return;
7025
+ on_filters_constructed_?.();
7026
+ });
7024
7027
  $i7OB2$createComputed(() => {
7025
7028
  if (plp_products_.loading) set_can_write_scroll_restoration(false);else if (plp_products_()) set_can_write_scroll_restoration(true);
7026
7029
  });
@@ -7457,7 +7460,12 @@ function $961b5c64bef4662f$export$e2bf8ce7779e827e(props) {
7457
7460
  return newId;
7458
7461
  });
7459
7462
  $i7OB2$onCleanup(() => $d8dbf52fea1773e2$export$f50b88e2a00918b5(props.on_listing_query_change)());
7460
- const is_grid = $i7OB2$createMemo(() => props.layout === "grid");
7463
+ const is_grid = $i7OB2$createMemo(() => {
7464
+ const {
7465
+ layout: layout
7466
+ } = props;
7467
+ return !layout || layout === "grid";
7468
+ });
7461
7469
  const grid_spacing_override = $i7OB2$createMemo(() => {
7462
7470
  const {
7463
7471
  grid_spacing: grid_spacing