@depict-ai/ui 4.1.0 → 4.1.2

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
@@ -98,7 +98,7 @@ $parcel$export(module.exports, "defaultCategoryTitlePlugin", () => $33eed84f447a
98
98
  $parcel$export(module.exports, "version", () => $aa1938dec50d6c12$export$83d89fbfd8236492);
99
99
  $parcel$export(module.exports, "SearchField", () => $98aef9965764903d$export$316f6f283ae64765);
100
100
  /*! Depict.ai search and product listing SDK */
101
- const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.1.0";
101
+ const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.1.2";
102
102
  const $cfcd56242923775d$export$3064e1e8c6513da3 = new Set();
103
103
  let $cfcd56242923775d$var$has_ran = false;
104
104
  function $cfcd56242923775d$export$5162a71f252e6122() {
@@ -2912,8 +2912,8 @@ function $d1e7b96fb13cd1d3$export$67152d26d4f56ee8(_ref) {
2912
2912
  return _el$;
2913
2913
  })();
2914
2914
  const image_urls = $52FdA$solidjs.createMemo(() => {
2915
- var _listing_2;
2916
- return (_listing_2 = listing_()) === null || _listing_2 === void 0 ? void 0 : _listing_2.image_urls;
2915
+ var _listing_2, _listing_2$image_urls;
2916
+ return (_listing_2 = listing_()) === null || _listing_2 === void 0 ? void 0 : (_listing_2$image_urls = _listing_2.image_urls) === null || _listing_2$image_urls === void 0 ? void 0 : _listing_2$image_urls.slice(0, 3);
2917
2917
  });
2918
2918
  const [isSelected, selectedDueToKeyboardNavigation] = $b0f8d9f49e018db9$export$fb40a80c530e5f2b(read_selected_index_, keyboardNavigationGroupIndex_, index_);
2919
2919
  const crumbData = $52FdA$solidjs.createMemo(() => {
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.1.0";
13
+ export const version = "4.1.2";
14
14
  export const prefixes_to_preserve_in_history_dot_state: Set<string>;
15
15
  /**
16
16
  * Prevent, usually SPAs, from deleting our stuff from history.state when they call history.pushState with a new object they have constructed. This will only run once no matter how often it's called.
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.1.0";
13
+ const $8db9a15135765c11$export$83d89fbfd8236492 = "4.1.2";
14
14
  const $68e6625c8d51f847$export$3064e1e8c6513da3 = new Set();
15
15
  let $68e6625c8d51f847$var$has_ran = false;
16
16
  function $68e6625c8d51f847$export$5162a71f252e6122() {
@@ -2824,8 +2824,8 @@ function $26db6925469636a4$export$67152d26d4f56ee8(_ref) {
2824
2824
  return _el$;
2825
2825
  })();
2826
2826
  const image_urls = $8tj43$createMemo(() => {
2827
- var _listing_2;
2828
- return (_listing_2 = listing_()) === null || _listing_2 === void 0 ? void 0 : _listing_2.image_urls;
2827
+ var _listing_2, _listing_2$image_urls;
2828
+ return (_listing_2 = listing_()) === null || _listing_2 === void 0 ? void 0 : (_listing_2$image_urls = _listing_2.image_urls) === null || _listing_2$image_urls === void 0 ? void 0 : _listing_2$image_urls.slice(0, 3);
2829
2829
  });
2830
2830
  const [isSelected, selectedDueToKeyboardNavigation] = $d0883254246d3eb6$export$fb40a80c530e5f2b(read_selected_index_, keyboardNavigationGroupIndex_, index_);
2831
2831
  const crumbData = $8tj43$createMemo(() => {
package/latest/index.cjs CHANGED
@@ -92,7 +92,7 @@ $parcel$export(module.exports, "defaultCategoryTitlePlugin", () => $a3280f0aad99
92
92
  $parcel$export(module.exports, "version", () => $b757f75811f3261f$export$83d89fbfd8236492);
93
93
  $parcel$export(module.exports, "SearchField", () => $c0a0659cf97e8eb2$export$316f6f283ae64765);
94
94
  /*! Depict.ai search and product listing SDK */
95
- const $b757f75811f3261f$export$83d89fbfd8236492 = "4.1.0";
95
+ const $b757f75811f3261f$export$83d89fbfd8236492 = "4.1.2";
96
96
  const $d84fe647b84b5dc5$export$3064e1e8c6513da3 = new Set();
97
97
  let $d84fe647b84b5dc5$var$has_ran = false;
98
98
  function $d84fe647b84b5dc5$export$5162a71f252e6122() {
@@ -2796,7 +2796,7 @@ function $1f3b5fa875714dea$export$67152d26d4f56ee8({
2796
2796
  $gVhhF$solidjsweb.runHydrationEvents();
2797
2797
  return _el$;
2798
2798
  })();
2799
- const image_urls = $gVhhF$solidjs.createMemo(() => listing_()?.image_urls);
2799
+ const image_urls = $gVhhF$solidjs.createMemo(() => listing_()?.image_urls?.slice(0, 3));
2800
2800
  const [isSelected, selectedDueToKeyboardNavigation] = $f144ea315d9e4caa$export$fb40a80c530e5f2b(read_selected_index_, keyboardNavigationGroupIndex_, index_);
2801
2801
  const crumbData = $gVhhF$solidjs.createMemo(() => listing_()?.ancestors);
2802
2802
  return (() => {
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.1.0";
13
+ export const version = "4.1.2";
14
14
  export const prefixes_to_preserve_in_history_dot_state: Set<string>;
15
15
  /**
16
16
  * Prevent, usually SPAs, from deleting our stuff from history.state when they call history.pushState with a new object they have constructed. This will only run once no matter how often it's called.
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.1.0";
10
+ const $ec291e0010116877$export$83d89fbfd8236492 = "4.1.2";
11
11
  const $90980bd87c9960f9$export$3064e1e8c6513da3 = new Set();
12
12
  let $90980bd87c9960f9$var$has_ran = false;
13
13
  function $90980bd87c9960f9$export$5162a71f252e6122() {
@@ -2711,7 +2711,7 @@ function $4ce5b8892775b62d$export$67152d26d4f56ee8({
2711
2711
  $9HbP8$runHydrationEvents();
2712
2712
  return _el$;
2713
2713
  })();
2714
- const image_urls = $9HbP8$createMemo(() => listing_()?.image_urls);
2714
+ const image_urls = $9HbP8$createMemo(() => listing_()?.image_urls?.slice(0, 3));
2715
2715
  const [isSelected, selectedDueToKeyboardNavigation] = $f4125ce4984deee6$export$fb40a80c530e5f2b(read_selected_index_, keyboardNavigationGroupIndex_, index_);
2716
2716
  const crumbData = $9HbP8$createMemo(() => listing_()?.ancestors);
2717
2717
  return (() => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@depict-ai/ui",
3
- "version": "4.1.0",
3
+ "version": "4.1.2",
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",
@@ -98,7 +98,7 @@ $parcel$export(module.exports, "defaultCategoryTitlePlugin", () => $33eed84f447a
98
98
  $parcel$export(module.exports, "version", () => $aa1938dec50d6c12$export$83d89fbfd8236492);
99
99
  $parcel$export(module.exports, "SearchField", () => $98aef9965764903d$export$316f6f283ae64765);
100
100
  /*! Depict.ai search and product listing SDK */
101
- const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.1.0";
101
+ const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.1.2";
102
102
  const $cfcd56242923775d$export$3064e1e8c6513da3 = new Set();
103
103
  let $cfcd56242923775d$var$has_ran = false;
104
104
  function $cfcd56242923775d$export$5162a71f252e6122() {
@@ -2325,8 +2325,8 @@ function $d1e7b96fb13cd1d3$export$67152d26d4f56ee8(_ref) {
2325
2325
  }
2326
2326
  }), undefined, true);
2327
2327
  const image_urls = $3hooq$solidjs.createMemo(() => {
2328
- var _listing_2;
2329
- return (_listing_2 = listing_()) === null || _listing_2 === void 0 ? void 0 : _listing_2.image_urls;
2328
+ var _listing_2, _listing_2$image_urls;
2329
+ return (_listing_2 = listing_()) === null || _listing_2 === void 0 ? void 0 : (_listing_2$image_urls = _listing_2.image_urls) === null || _listing_2$image_urls === void 0 ? void 0 : _listing_2$image_urls.slice(0, 3);
2330
2330
  });
2331
2331
  const [isSelected, selectedDueToKeyboardNavigation] = $b0f8d9f49e018db9$export$fb40a80c530e5f2b(read_selected_index_, keyboardNavigationGroupIndex_, index_);
2332
2332
  const crumbData = $3hooq$solidjs.createMemo(() => {
@@ -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.1.0";
13
+ export const version = "4.1.2";
14
14
  export const prefixes_to_preserve_in_history_dot_state: Set<string>;
15
15
  /**
16
16
  * Prevent, usually SPAs, from deleting our stuff from history.state when they call history.pushState with a new object they have constructed. This will only run once no matter how often it's called.
@@ -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.1.0";
13
+ const $8db9a15135765c11$export$83d89fbfd8236492 = "4.1.2";
14
14
  const $68e6625c8d51f847$export$3064e1e8c6513da3 = new Set();
15
15
  let $68e6625c8d51f847$var$has_ran = false;
16
16
  function $68e6625c8d51f847$export$5162a71f252e6122() {
@@ -2237,8 +2237,8 @@ function $26db6925469636a4$export$67152d26d4f56ee8(_ref) {
2237
2237
  }
2238
2238
  }), undefined, true);
2239
2239
  const image_urls = $b8hua$createMemo(() => {
2240
- var _listing_2;
2241
- return (_listing_2 = listing_()) === null || _listing_2 === void 0 ? void 0 : _listing_2.image_urls;
2240
+ var _listing_2, _listing_2$image_urls;
2241
+ return (_listing_2 = listing_()) === null || _listing_2 === void 0 ? void 0 : (_listing_2$image_urls = _listing_2.image_urls) === null || _listing_2$image_urls === void 0 ? void 0 : _listing_2$image_urls.slice(0, 3);
2242
2242
  });
2243
2243
  const [isSelected, selectedDueToKeyboardNavigation] = $d0883254246d3eb6$export$fb40a80c530e5f2b(read_selected_index_, keyboardNavigationGroupIndex_, index_);
2244
2244
  const crumbData = $b8hua$createMemo(() => {
@@ -92,7 +92,7 @@ $parcel$export(module.exports, "defaultCategoryTitlePlugin", () => $a3280f0aad99
92
92
  $parcel$export(module.exports, "version", () => $b757f75811f3261f$export$83d89fbfd8236492);
93
93
  $parcel$export(module.exports, "SearchField", () => $c0a0659cf97e8eb2$export$316f6f283ae64765);
94
94
  /*! Depict.ai search and product listing SDK */
95
- const $b757f75811f3261f$export$83d89fbfd8236492 = "4.1.0";
95
+ const $b757f75811f3261f$export$83d89fbfd8236492 = "4.1.2";
96
96
  const $d84fe647b84b5dc5$export$3064e1e8c6513da3 = new Set();
97
97
  let $d84fe647b84b5dc5$var$has_ran = false;
98
98
  function $d84fe647b84b5dc5$export$5162a71f252e6122() {
@@ -2223,7 +2223,7 @@ function $1f3b5fa875714dea$export$67152d26d4f56ee8({
2223
2223
  return href();
2224
2224
  }
2225
2225
  }), undefined, true);
2226
- const image_urls = $5vyXB$solidjs.createMemo(() => listing_()?.image_urls);
2226
+ const image_urls = $5vyXB$solidjs.createMemo(() => listing_()?.image_urls?.slice(0, 3));
2227
2227
  const [isSelected, selectedDueToKeyboardNavigation] = $f144ea315d9e4caa$export$fb40a80c530e5f2b(read_selected_index_, keyboardNavigationGroupIndex_, index_);
2228
2228
  const crumbData = $5vyXB$solidjs.createMemo(() => listing_()?.ancestors);
2229
2229
  return $5vyXB$solidjsweb.ssr($1f3b5fa875714dea$var$_tmpl$2, $5vyXB$solidjsweb.ssrHydrationKey(), `listing-card ${isSelected() ? "selected" : ""}`, $5vyXB$solidjsweb.escape($5vyXB$solidjsweb.createComponent(LinkToListing, {
@@ -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.1.0";
13
+ export const version = "4.1.2";
14
14
  export const prefixes_to_preserve_in_history_dot_state: Set<string>;
15
15
  /**
16
16
  * Prevent, usually SPAs, from deleting our stuff from history.state when they call history.pushState with a new object they have constructed. This will only run once no matter how often it's called.
@@ -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.1.0";
10
+ const $ec291e0010116877$export$83d89fbfd8236492 = "4.1.2";
11
11
  const $90980bd87c9960f9$export$3064e1e8c6513da3 = new Set();
12
12
  let $90980bd87c9960f9$var$has_ran = false;
13
13
  function $90980bd87c9960f9$export$5162a71f252e6122() {
@@ -2138,7 +2138,7 @@ function $4ce5b8892775b62d$export$67152d26d4f56ee8({
2138
2138
  return href();
2139
2139
  }
2140
2140
  }), undefined, true);
2141
- const image_urls = $i7OB2$createMemo(() => listing_()?.image_urls);
2141
+ const image_urls = $i7OB2$createMemo(() => listing_()?.image_urls?.slice(0, 3));
2142
2142
  const [isSelected, selectedDueToKeyboardNavigation] = $f4125ce4984deee6$export$fb40a80c530e5f2b(read_selected_index_, keyboardNavigationGroupIndex_, index_);
2143
2143
  const crumbData = $i7OB2$createMemo(() => listing_()?.ancestors);
2144
2144
  return $i7OB2$ssr($4ce5b8892775b62d$var$_tmpl$2, $i7OB2$ssrHydrationKey(), `listing-card ${isSelected() ? "selected" : ""}`, $i7OB2$escape($i7OB2$createComponent(LinkToListing, {