@depict-ai/ui 2.0.24 → 2.0.26

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/latest/index.cjs CHANGED
@@ -69,7 +69,7 @@ $parcel$export(module.exports, "defaultColsAtSize", () => $a3280f0aad997933$expo
69
69
  $parcel$export(module.exports, "defaultCategoryTitlePlugin", () => $a3280f0aad997933$export$7bf543b9d9be2c22);
70
70
  $parcel$export(module.exports, "version", () => $b757f75811f3261f$export$83d89fbfd8236492);
71
71
  /*! Depict.ai search and product listing SDK */
72
- const $b757f75811f3261f$export$83d89fbfd8236492 = "2.0.24";
72
+ const $b757f75811f3261f$export$83d89fbfd8236492 = "2.0.26";
73
73
  const $1ab22f2cd39b3061$var$fallback_operator = "in";
74
74
  const $1ab22f2cd39b3061$var$fallback_token = "";
75
75
  const $1ab22f2cd39b3061$var$legacy_filter_prefix = "filter_";
@@ -3425,7 +3425,7 @@ function $aff9a96d30ed3563$export$3f1a388cc0d8fed7(props) {
3425
3425
  // Split like this to make placeholder wrapping more visible & this component is exported and used in MobileModal
3426
3426
  return $gVhhF$solidjsweb.createComponent((0, $gVhhF$solidjs.Show), {
3427
3427
  get when() {
3428
- return props.available_filters_()?.length;
3428
+ return props.available_filters_();
3429
3429
  },
3430
3430
  get fallback() {
3431
3431
  return Array.from({
@@ -3908,11 +3908,13 @@ function $d84fe647b84b5dc5$var$proxy_push_state(function_name, thing) {
3908
3908
  thing[function_name] = new Proxy(thing[function_name], {
3909
3909
  apply(target, this_arg, arg_list) {
3910
3910
  try {
3911
- if (typeof arg_list[0] == "object") {
3911
+ const old_state = history.state;
3912
+ if (typeof old_state == "object" && old_state !== null) {
3913
+ // This effectively disallows the user from passing in a string, number, null or undefined
3914
+ const intended_new_value_as_obj = typeof arg_list[0] === "object" ? arg_list[0] ?? {} : {};
3912
3915
  const cloned_object = {
3913
- ...arg_list[0]
3916
+ ...intended_new_value_as_obj
3914
3917
  };
3915
- const old_state = history.state;
3916
3918
  for (const key in old_state) {
3917
3919
  if (!$d84fe647b84b5dc5$var$starts_with_any_prefix(key)) continue;
3918
3920
  if (!(key in cloned_object)) cloned_object[key] = old_state[key];
@@ -5048,6 +5050,14 @@ const $02215fefc955d01e$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<s
5048
5050
  function $02215fefc955d01e$export$28f6150e232898de() {
5049
5051
  return $gVhhF$solidjsweb.getNextElement($02215fefc955d01e$var$_tmpl$);
5050
5052
  }
5053
+
5054
+ /**
5055
+ * Returns true when we have an array of filters that's an array but empty and no selected filters.
5056
+ * Used for hiding the filter button, filter section is from sort/filter modal and desktop filters
5057
+ */
5058
+ function $7e91f9b0c6d56424$export$50f68cc9882e36a4(args_for_filtering) {
5059
+ return args_for_filtering.available_filters_()?.length === 0 && !args_for_filtering.selected_filters_[0]()?.length;
5060
+ }
5051
5061
  const $1872ceb56ede7a52$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<button class="clear minor"></button>`, 2),
5052
5062
  $1872ceb56ede7a52$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class="depict plp" id="depict-filter-sort-mobile-modal-container"><div class="depict-filter-sort-modal-backdrop"></div><button class="dismiss-modal"></button><div class="filter-sort-modal"><div class="body"><!#><!/><!#><!/></div><div class="bottom-row"><!#><!/><button class="show-results major"></button></div></div></div>`, 20),
5053
5063
  $1872ceb56ede7a52$var$_tmpl$3 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<details class="sorting"></details>`, 2),
@@ -5284,38 +5294,45 @@ function $1872ceb56ede7a52$export$9bf11afa910f536e({
5284
5294
  })();
5285
5295
  }
5286
5296
  }), _el$7, _co$);
5287
- $gVhhF$solidjsweb.insert(_el$5, $gVhhF$solidjsweb.createComponent((0, $a69e505a12a77874$export$6c6d7a51fa9aa15d), {
5288
- is_open_: [filters_expanded, set_filters_expanded],
5289
- get details_() {
5290
- return $gVhhF$solidjsweb.getNextElement($1872ceb56ede7a52$var$_tmpl$6);
5291
- },
5292
- get summary_() {
5293
- return (() => {
5294
- const _el$26 = $gVhhF$solidjsweb.getNextElement($1872ceb56ede7a52$var$_tmpl$4),
5295
- _el$27 = _el$26.firstChild,
5296
- _el$28 = _el$27.firstChild,
5297
- _el$30 = _el$28.firstChild,
5298
- [_el$31, _co$6] = $gVhhF$solidjsweb.getNextMarker(_el$30.nextSibling),
5299
- _el$29 = _el$31.nextSibling,
5300
- _el$32 = _el$28.nextSibling,
5301
- [_el$33, _co$7] = $gVhhF$solidjsweb.getNextMarker(_el$32.nextSibling);
5302
- $gVhhF$solidjsweb.insert(_el$28, $gVhhF$solidjsweb.createComponent((0, $02215fefc955d01e$export$28f6150e232898de), {}), _el$31, _co$6);
5303
- $gVhhF$solidjsweb.insert(_el$29, () => i18n_.filters_());
5304
- $gVhhF$solidjsweb.insert(_el$27, $gVhhF$solidjsweb.createComponent((0, $7567511a7c3e4bd7$export$e5c2828934226505), {
5305
- expanded_: filters_expanded,
5306
- i18n_: i18n_
5307
- }), _el$33, _co$7);
5308
- return _el$26;
5309
- })();
5297
+ $gVhhF$solidjsweb.insert(_el$5, $gVhhF$solidjsweb.createComponent((0, $gVhhF$solidjs.Show), {
5298
+ get when() {
5299
+ return !$7e91f9b0c6d56424$export$50f68cc9882e36a4(args_for_filtering_);
5310
5300
  },
5311
5301
  get children() {
5312
- return (() => {
5313
- const _el$34 = $gVhhF$solidjsweb.getNextElement($1872ceb56ede7a52$var$_tmpl$5);
5314
- $gVhhF$solidjsweb.insert(_el$34, $gVhhF$solidjsweb.createComponent((0, $aff9a96d30ed3563$export$3f1a388cc0d8fed7), $gVhhF$solidjsweb.mergeProps(args_for_filtering_, {
5315
- are_in_modal_: true
5316
- })));
5317
- return _el$34;
5318
- })();
5302
+ return $gVhhF$solidjsweb.createComponent((0, $a69e505a12a77874$export$6c6d7a51fa9aa15d), {
5303
+ is_open_: [filters_expanded, set_filters_expanded],
5304
+ get details_() {
5305
+ return $gVhhF$solidjsweb.getNextElement($1872ceb56ede7a52$var$_tmpl$6);
5306
+ },
5307
+ get summary_() {
5308
+ return (() => {
5309
+ const _el$26 = $gVhhF$solidjsweb.getNextElement($1872ceb56ede7a52$var$_tmpl$4),
5310
+ _el$27 = _el$26.firstChild,
5311
+ _el$28 = _el$27.firstChild,
5312
+ _el$30 = _el$28.firstChild,
5313
+ [_el$31, _co$6] = $gVhhF$solidjsweb.getNextMarker(_el$30.nextSibling),
5314
+ _el$29 = _el$31.nextSibling,
5315
+ _el$32 = _el$28.nextSibling,
5316
+ [_el$33, _co$7] = $gVhhF$solidjsweb.getNextMarker(_el$32.nextSibling);
5317
+ $gVhhF$solidjsweb.insert(_el$28, $gVhhF$solidjsweb.createComponent((0, $02215fefc955d01e$export$28f6150e232898de), {}), _el$31, _co$6);
5318
+ $gVhhF$solidjsweb.insert(_el$29, () => i18n_.filters_());
5319
+ $gVhhF$solidjsweb.insert(_el$27, $gVhhF$solidjsweb.createComponent((0, $7567511a7c3e4bd7$export$e5c2828934226505), {
5320
+ expanded_: filters_expanded,
5321
+ i18n_: i18n_
5322
+ }), _el$33, _co$7);
5323
+ return _el$26;
5324
+ })();
5325
+ },
5326
+ get children() {
5327
+ return (() => {
5328
+ const _el$34 = $gVhhF$solidjsweb.getNextElement($1872ceb56ede7a52$var$_tmpl$5);
5329
+ $gVhhF$solidjsweb.insert(_el$34, $gVhhF$solidjsweb.createComponent((0, $aff9a96d30ed3563$export$3f1a388cc0d8fed7), $gVhhF$solidjsweb.mergeProps(args_for_filtering_, {
5330
+ are_in_modal_: true
5331
+ })));
5332
+ return _el$34;
5333
+ })();
5334
+ }
5335
+ });
5319
5336
  }
5320
5337
  }), _el$9, _co$2);
5321
5338
  $gVhhF$solidjsweb.insert(_el$10, $gVhhF$solidjsweb.createComponent((0, $gVhhF$solidjs.Show), {
@@ -5420,6 +5437,7 @@ function $f8f64d05c525825b$export$d7841e452f2e59a8({
5420
5437
  selected_filters_: selected_filters_,
5421
5438
  i18n_: i18n_
5422
5439
  };
5440
+ const hide_filters = $gVhhF$solidjs.createMemo(() => $7e91f9b0c6d56424$export$50f68cc9882e36a4(filter_options));
5423
5441
  const sorting_options = {
5424
5442
  current_sorting_: current_sorting_,
5425
5443
  available_sortings_: available_sortings_,
@@ -5431,7 +5449,8 @@ function $f8f64d05c525825b$export$d7841e452f2e59a8({
5431
5449
  search_filters_open_: search_filters_open_,
5432
5450
  search_sorting_open_: search_sorting_open_,
5433
5451
  number_of_rendered_selected_filters_items_: number_of_rendered_selected_filters_items_,
5434
- filter_button_width_: adhere_to_width ? filter_button_width_ : undefined
5452
+ filter_button_width_: adhere_to_width ? filter_button_width_ : undefined,
5453
+ hide_button_: hide_filters
5435
5454
  });
5436
5455
  const make_open_sorting_button = (adhere_to_width = false, is_tabbable = false) => $gVhhF$solidjsweb.createComponent($f8f64d05c525825b$var$OpenSortingButton, {
5437
5456
  tabindex_: is_tabbable ? 0 : -1,
@@ -5475,12 +5494,17 @@ function $f8f64d05c525825b$export$d7841e452f2e59a8({
5475
5494
  set_extra_els_in_results_container_("");
5476
5495
  } else {
5477
5496
  close_modal_?.();
5478
- if (filters_open()) set_extra_els_in_results_container_((() => {
5479
- const _el$ = $gVhhF$solidjsweb.getNextElement($f8f64d05c525825b$var$_tmpl$),
5480
- _el$2 = _el$.firstChild;
5481
- $gVhhF$solidjsweb.insert(_el$2, $gVhhF$solidjsweb.createComponent((0, $aff9a96d30ed3563$export$3f1a388cc0d8fed7), filter_options));
5482
- return _el$;
5483
- })());else set_extra_els_in_results_container_((() => {
5497
+ if (filters_open()) set_extra_els_in_results_container_(() => $gVhhF$solidjsweb.createComponent((0, $gVhhF$solidjs.Show), {
5498
+ get when() {
5499
+ return !hide_filters();
5500
+ },
5501
+ get children() {
5502
+ const _el$ = $gVhhF$solidjsweb.getNextElement($f8f64d05c525825b$var$_tmpl$),
5503
+ _el$2 = _el$.firstChild;
5504
+ $gVhhF$solidjsweb.insert(_el$2, $gVhhF$solidjsweb.createComponent((0, $aff9a96d30ed3563$export$3f1a388cc0d8fed7), filter_options));
5505
+ return _el$;
5506
+ }
5507
+ }));else set_extra_els_in_results_container_((() => {
5484
5508
  const _el$3 = $gVhhF$solidjsweb.getNextElement($f8f64d05c525825b$var$_tmpl$2),
5485
5509
  _el$4 = _el$3.firstChild;
5486
5510
  $gVhhF$solidjsweb.insert(_el$4, $gVhhF$solidjsweb.createComponent((0, $be89be42ce9ea60f$export$1f1775a58da589b5), sorting_options));
@@ -5542,7 +5566,8 @@ function $f8f64d05c525825b$var$OpenFiltersButton({
5542
5566
  search_sorting_open_: search_sorting_open_,
5543
5567
  filter_button_width_: filter_button_width_,
5544
5568
  tabindex_: tabindex_,
5545
- number_of_rendered_selected_filters_items_: [num_selected_filters]
5569
+ number_of_rendered_selected_filters_items_: [num_selected_filters],
5570
+ hide_button_: hide_button_
5546
5571
  }) {
5547
5572
  const filters_closed = $gVhhF$solidjs.createMemo(() => !search_filters_open_[0]());
5548
5573
  // We assume in embedded_num_products that this is a single HTMLElement so pls change there if you change it here
@@ -5588,22 +5613,27 @@ function $f8f64d05c525825b$var$OpenFiltersButton({
5588
5613
  }), _el$19, _co$4);
5589
5614
  $gVhhF$solidjsweb.insert(_el$17, () => i18n_.filter_text_());
5590
5615
  $gVhhF$solidjsweb.effect(_p$ => {
5591
- const _v$ = !filters_closed(),
5592
- _v$2 = !!filters_closed(),
5593
- _v$3 = (filters_closed() ? i18n_.open_filters_ : i18n_.close_filters_)(),
5594
- _v$4 = filter_button_width_?.() ? {
5616
+ const _v$ = hide_button_() ? {
5617
+ display: "none"
5618
+ } : {},
5619
+ _v$2 = !filters_closed(),
5620
+ _v$3 = !!filters_closed(),
5621
+ _v$4 = (filters_closed() ? i18n_.open_filters_ : i18n_.close_filters_)(),
5622
+ _v$5 = filter_button_width_?.() ? {
5595
5623
  width: filter_button_width_() + "px"
5596
5624
  } : {};
5597
- _v$ !== _p$._v$ && _el$16.classList.toggle("major", _p$._v$ = _v$);
5598
- _v$2 !== _p$._v$2 && _el$16.classList.toggle("minor", _p$._v$2 = _v$2);
5599
- _v$3 !== _p$._v$3 && $gVhhF$solidjsweb.setAttribute(_el$16, "aria-label", _p$._v$3 = _v$3);
5600
- _p$._v$4 = $gVhhF$solidjsweb.style(_el$16, _v$4, _p$._v$4);
5625
+ _p$._v$ = $gVhhF$solidjsweb.style(_el$14, _v$, _p$._v$);
5626
+ _v$2 !== _p$._v$2 && _el$16.classList.toggle("major", _p$._v$2 = _v$2);
5627
+ _v$3 !== _p$._v$3 && _el$16.classList.toggle("minor", _p$._v$3 = _v$3);
5628
+ _v$4 !== _p$._v$4 && $gVhhF$solidjsweb.setAttribute(_el$16, "aria-label", _p$._v$4 = _v$4);
5629
+ _p$._v$5 = $gVhhF$solidjsweb.style(_el$16, _v$5, _p$._v$5);
5601
5630
  return _p$;
5602
5631
  }, {
5603
5632
  _v$: undefined,
5604
5633
  _v$2: undefined,
5605
5634
  _v$3: undefined,
5606
- _v$4: undefined
5635
+ _v$4: undefined,
5636
+ _v$5: undefined
5607
5637
  });
5608
5638
  $gVhhF$solidjsweb.runHydrationEvents();
5609
5639
  return _el$14;
@@ -5655,22 +5685,22 @@ function $f8f64d05c525825b$var$OpenSortingButton({
5655
5685
  }
5656
5686
  }), _el$25, _co$6);
5657
5687
  $gVhhF$solidjsweb.effect(_p$ => {
5658
- const _v$5 = !sorting_closed(),
5659
- _v$6 = !!sorting_closed(),
5660
- _v$7 = (sorting_closed() ? i18n_.open_sorting_ : i18n_.close_sorting_)(),
5661
- _v$8 = sort_button_width_?.() ? {
5688
+ const _v$6 = !sorting_closed(),
5689
+ _v$7 = !!sorting_closed(),
5690
+ _v$8 = (sorting_closed() ? i18n_.open_sorting_ : i18n_.close_sorting_)(),
5691
+ _v$9 = sort_button_width_?.() ? {
5662
5692
  width: sort_button_width_() + "px"
5663
5693
  } : {};
5664
- _v$5 !== _p$._v$5 && _el$22.classList.toggle("major", _p$._v$5 = _v$5);
5665
- _v$6 !== _p$._v$6 && _el$22.classList.toggle("minor", _p$._v$6 = _v$6);
5666
- _v$7 !== _p$._v$7 && $gVhhF$solidjsweb.setAttribute(_el$22, "aria-label", _p$._v$7 = _v$7);
5667
- _p$._v$8 = $gVhhF$solidjsweb.style(_el$22, _v$8, _p$._v$8);
5694
+ _v$6 !== _p$._v$6 && _el$22.classList.toggle("major", _p$._v$6 = _v$6);
5695
+ _v$7 !== _p$._v$7 && _el$22.classList.toggle("minor", _p$._v$7 = _v$7);
5696
+ _v$8 !== _p$._v$8 && $gVhhF$solidjsweb.setAttribute(_el$22, "aria-label", _p$._v$8 = _v$8);
5697
+ _p$._v$9 = $gVhhF$solidjsweb.style(_el$22, _v$9, _p$._v$9);
5668
5698
  return _p$;
5669
5699
  }, {
5670
- _v$5: undefined,
5671
5700
  _v$6: undefined,
5672
5701
  _v$7: undefined,
5673
- _v$8: undefined
5702
+ _v$8: undefined,
5703
+ _v$9: undefined
5674
5704
  });
5675
5705
  $gVhhF$solidjsweb.runHydrationEvents();
5676
5706
  return _el$22;
@@ -8798,7 +8828,8 @@ function $4f0ae864ec7c394e$export$af0124069c150252({
8798
8828
  get_modal_search_results_: get_modal_search_results_,
8799
8829
  read_suggestion_signal_: read_suggestion_signal_,
8800
8830
  router_: router_,
8801
- content_results_: content_results_
8831
+ content_results_: content_results_,
8832
+ has_previous_searches_matching_query_: has_previous_searches_matching_query_
8802
8833
  }) {
8803
8834
  const [get_autocomplete_wants_override_function, set_autocomplete_wants_override_function] = $gVhhF$solidjs.createSignal(() => false);
8804
8835
  $gVhhF$solidjs.createComputed(() => {
@@ -8806,7 +8837,7 @@ function $4f0ae864ec7c394e$export$af0124069c150252({
8806
8837
  const search_results = get_modal_search_results_()?.();
8807
8838
  const content_results = content_results_();
8808
8839
  // If we only have one content result and nothing else, go there when pressing enter
8809
- if (!suggestions.length && !search_results?.displays?.length && content_results?.length === 1) {
8840
+ if (!suggestions.length && !search_results?.displays?.length && content_results?.length === 1 && !has_previous_searches_matching_query_()) {
8810
8841
  const [{
8811
8842
  page_url: page_url
8812
8843
  }] = content_results;
@@ -8830,7 +8861,7 @@ function $3ec9e21d6b6debdd$export$2f2b9559550c7bbc({
8830
8861
  search_field_value_: search_field_value_,
8831
8862
  get_search_query_: get_search_query_,
8832
8863
  search_query_url_param_name_: search_query_url_param_name_,
8833
- previous_searches_: unfiltered_previous_searches,
8864
+ previous_searches_: [unfiltered_previous_searches, set_unfiltered_previous_searches_],
8834
8865
  previous_searches_text_: previous_searches_text_,
8835
8866
  depict_api_: depict_api_,
8836
8867
  tenant_: tenant_,
@@ -8852,7 +8883,15 @@ function $3ec9e21d6b6debdd$export$2f2b9559550c7bbc({
8852
8883
  const [read_search_field_value] = search_field_value_;
8853
8884
  const updating_blocked = $gVhhF$solidjs.createSignal(false);
8854
8885
  const [read_suggestion_signal_, write_suggestion_signal] = $gVhhF$solidjs.createSignal([]);
8855
- const filtered_previous_searches = $gVhhF$solidjs.createMemo(() => [...unfiltered_previous_searches[0]()].reverse().filter(q => q !== get_search_query_()));
8886
+ const previous_searches_without_current_query = $gVhhF$solidjs.createMemo(() => [...unfiltered_previous_searches()].reverse().filter(q => q !== get_search_query_()));
8887
+ const previous_searches_matching_query = $gVhhF$solidjs.createMemo(() => {
8888
+ return previous_searches_without_current_query().filter(cs_search => {
8889
+ const search = cs_search.toLowerCase();
8890
+ const value = searching_for_value()?.toLowerCase();
8891
+ if (!value) return false;
8892
+ return search.includes(value) || value.includes(search);
8893
+ }).slice(0, 2);
8894
+ });
8856
8895
  const deparallelized_fn = $gVhhF$depictaiutilishared.deparallelize_no_drop(async request_obj => {
8857
8896
  const api_response = await depict_api_.suggest(request_obj);
8858
8897
  if (!api_response?.suggestions?.length) {
@@ -8888,7 +8927,8 @@ function $3ec9e21d6b6debdd$export$2f2b9559550c7bbc({
8888
8927
  get_modal_search_results_: get_modal_search_results_,
8889
8928
  read_suggestion_signal_: read_suggestion_signal_,
8890
8929
  router_: router_,
8891
- content_results_: get_content_results_
8930
+ content_results_: get_content_results_,
8931
+ has_previous_searches_matching_query_: $gVhhF$solidjs.createMemo(() => previous_searches_matching_query().length > 0)
8892
8932
  });
8893
8933
  $gVhhF$solidjs.createComputed(() => {
8894
8934
  const field_value = read_search_field_value();
@@ -8925,13 +8965,11 @@ function $3ec9e21d6b6debdd$export$2f2b9559550c7bbc({
8925
8965
  get children() {
8926
8966
  return $gVhhF$solidjsweb.createComponent((0, $9a268bf73b31a717$export$a146ac6fa8346a25), {
8927
8967
  i18n_: i18n_,
8928
- get set_unfiltered_previous_searches_() {
8929
- return unfiltered_previous_searches[1];
8930
- },
8968
+ set_unfiltered_previous_searches_: set_unfiltered_previous_searches_,
8931
8969
  search_query_param_name_: search_query_url_param_name_,
8932
8970
  text_: previous_searches_text_,
8933
8971
  get previous_searches_() {
8934
- return $gVhhF$solidjs.createMemo(() => filtered_previous_searches().slice(0, 3));
8972
+ return $gVhhF$solidjs.createMemo(() => previous_searches_without_current_query().slice(0, 3));
8935
8973
  },
8936
8974
  selected_index_: selected_index_,
8937
8975
  currently_showing_suggestions_: currently_showing_suggestions_,
@@ -8940,16 +8978,7 @@ function $3ec9e21d6b6debdd$export$2f2b9559550c7bbc({
8940
8978
  });
8941
8979
  }
8942
8980
  }), $gVhhF$solidjsweb.createComponent((0, $6b65ba8af12c5a26$export$e872e2339fb04a7f), {
8943
- get filtered_previous_searches_() {
8944
- return $gVhhF$solidjs.createMemo(() => {
8945
- return filtered_previous_searches().filter(cs_search => {
8946
- const search = cs_search.toLowerCase();
8947
- const value = searching_for_value()?.toLowerCase();
8948
- if (!value) return false;
8949
- return search.includes(value) || value.includes(search);
8950
- }).slice(0, 2);
8951
- });
8952
- },
8981
+ filtered_previous_searches_: previous_searches_matching_query,
8953
8982
  on_previous_searches_page_: show_previous_searches_component,
8954
8983
  i18n_: i18n_,
8955
8984
  get_content_results_: get_content_results_,
package/latest/index.d.ts CHANGED
@@ -7,7 +7,7 @@ import { CategorySuggestion, SearchSuggestionsResponse } from "@depict-ai/types/
7
7
  import { BaseSearchRequest } from "@depict-ai/types/api/BaseSearchRequest";
8
8
  import { SearchSuggestionsRequest } from "@depict-ai/types/api/SearchSuggestionsRequest";
9
9
  import { ProductListingRequest } from "@depict-ai/types/api/ProductListingRequest";
10
- export const version = "2.0.24";
10
+ export const version = "2.0.26";
11
11
  export type SDKGridSpacing = string | {
12
12
  horizontal: string;
13
13
  vertical: string;