@depict-ai/ui 4.10.2 → 4.10.4

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
@@ -115,7 +115,7 @@ $parcel$export(module.exports, "BreadCrumbs", () => $335c02c1241a9ca8$export$5b7
115
115
  $parcel$export(module.exports, "QuickLinks", () => $335c02c1241a9ca8$export$de035477d6fef996);
116
116
  $parcel$export(module.exports, "CategoryPage", () => $c10e33c4681f8c9b$export$e2bf8ce7779e827e);
117
117
  /*! Depict.ai search and product listing SDK */
118
- const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.10.2";
118
+ const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.10.4";
119
119
  function $3e17e871e9d0911d$export$d9f36cf74e24d595(media_query) {
120
120
  const signal = $52FdA$solidjs.createSignal(false);
121
121
  $52FdA$solidjs.onCleanup($52FdA$depictaiutilishared.javascript_media_query(media_query, _ref => {
@@ -8186,12 +8186,11 @@ function $0c035bbe7e30b438$export$7a92d995f1bf3592(history_content_blocks_, plp_
8186
8186
  const {
8187
8187
  blocks: blocksFromHistory
8188
8188
  } = historyContentBlocks();
8189
- if (developerProvided) return developerProvided;
8190
8189
  // If we didn't get any content blocks (backend always return empty array) and we haven't seen any content blocks yet, return undefined
8191
8190
  // This is so the result rendering (PLPResults) will still use flexbox provided rendering on existing customers, so adding this isn't a breaking change
8192
8191
  // We don't want to switch rendering method every time one switches between a collection that hasn't vs has content blocks though, so once we've seen one content block we'll switch to css-grid-based rendering
8193
- if (!(blocksFromHistory !== null && blocksFromHistory !== void 0 && blocksFromHistory.length) && !hasSeenContentBlock) return;
8194
- const content = [];
8192
+ if (!(blocksFromHistory !== null && blocksFromHistory !== void 0 && blocksFromHistory.length) && !hasSeenContentBlock) return developerProvided;
8193
+ const content = [...(developerProvided || [])];
8195
8194
  hasSeenContentBlock = true;
8196
8195
  blocksFromHistory.forEach(row => {
8197
8196
  const {
package/ES10/index.d.ts CHANGED
@@ -11,7 +11,7 @@ import { GetListingRequest } from "@depict-ai/types/api/GetListingRequest";
11
11
  import { BaseSearchRequestV3 } from "@depict-ai/types/api/BaseSearchRequestV3";
12
12
  import { FeaturedInDisplay } from "@depict-ai/types/api/FeaturedInResponseV3";
13
13
  import { SearchFilter as _SearchFilter3 } from "@depict-ai/types/api/SearchRequestV2";
14
- export const version = "4.10.2";
14
+ export const version = "4.10.4";
15
15
  /**
16
16
  * Use `javascript_media_query` but return a reactive accessor instead of taking a callback function
17
17
  */
package/ES10/index.js CHANGED
@@ -10,7 +10,7 @@ import $8tj43$babelruntimehelpersclassPrivateFieldGet from "@babel/runtime/helpe
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.10.2";
13
+ const $8db9a15135765c11$export$83d89fbfd8236492 = "4.10.4";
14
14
  function $00a5b94f0c11efbb$export$d9f36cf74e24d595(media_query) {
15
15
  const signal = $8tj43$createSignal(false);
16
16
  $8tj43$onCleanup($8tj43$javascript_media_query(media_query, _ref => {
@@ -8081,12 +8081,11 @@ function $12ff24fdc4b26d88$export$7a92d995f1bf3592(history_content_blocks_, plp_
8081
8081
  const {
8082
8082
  blocks: blocksFromHistory
8083
8083
  } = historyContentBlocks();
8084
- if (developerProvided) return developerProvided;
8085
8084
  // If we didn't get any content blocks (backend always return empty array) and we haven't seen any content blocks yet, return undefined
8086
8085
  // This is so the result rendering (PLPResults) will still use flexbox provided rendering on existing customers, so adding this isn't a breaking change
8087
8086
  // We don't want to switch rendering method every time one switches between a collection that hasn't vs has content blocks though, so once we've seen one content block we'll switch to css-grid-based rendering
8088
- if (!(blocksFromHistory !== null && blocksFromHistory !== void 0 && blocksFromHistory.length) && !hasSeenContentBlock) return;
8089
- const content = [];
8087
+ if (!(blocksFromHistory !== null && blocksFromHistory !== void 0 && blocksFromHistory.length) && !hasSeenContentBlock) return developerProvided;
8088
+ const content = [...(developerProvided || [])];
8090
8089
  hasSeenContentBlock = true;
8091
8090
  blocksFromHistory.forEach(row => {
8092
8091
  const {
package/latest/index.cjs CHANGED
@@ -109,7 +109,7 @@ $parcel$export(module.exports, "BreadCrumbs", () => $1f4925833f07df29$export$5b7
109
109
  $parcel$export(module.exports, "QuickLinks", () => $1f4925833f07df29$export$de035477d6fef996);
110
110
  $parcel$export(module.exports, "CategoryPage", () => $14f289047713d67a$export$e2bf8ce7779e827e);
111
111
  /*! Depict.ai search and product listing SDK */
112
- const $b757f75811f3261f$export$83d89fbfd8236492 = "4.10.2";
112
+ const $b757f75811f3261f$export$83d89fbfd8236492 = "4.10.4";
113
113
  function $b54e6192d0caa293$export$d9f36cf74e24d595(media_query) {
114
114
  const signal = $gVhhF$solidjs.createSignal(false);
115
115
  $gVhhF$solidjs.onCleanup($gVhhF$depictaiutilishared.javascript_media_query(media_query, ({
@@ -7747,12 +7747,11 @@ function $0a80939bf0a1e9cc$export$7a92d995f1bf3592(history_content_blocks_, plp_
7747
7747
  const {
7748
7748
  blocks: blocksFromHistory
7749
7749
  } = historyContentBlocks();
7750
- if (developerProvided) return developerProvided;
7751
7750
  // If we didn't get any content blocks (backend always return empty array) and we haven't seen any content blocks yet, return undefined
7752
7751
  // This is so the result rendering (PLPResults) will still use flexbox provided rendering on existing customers, so adding this isn't a breaking change
7753
7752
  // We don't want to switch rendering method every time one switches between a collection that hasn't vs has content blocks though, so once we've seen one content block we'll switch to css-grid-based rendering
7754
- if (!blocksFromHistory?.length && !hasSeenContentBlock) return;
7755
- const content = [];
7753
+ if (!blocksFromHistory?.length && !hasSeenContentBlock) return developerProvided;
7754
+ const content = [...(developerProvided || [])];
7756
7755
  hasSeenContentBlock = true;
7757
7756
  blocksFromHistory.forEach(row => {
7758
7757
  const {
package/latest/index.d.ts CHANGED
@@ -11,7 +11,7 @@ import { GetListingRequest } from "@depict-ai/types/api/GetListingRequest";
11
11
  import { BaseSearchRequestV3 } from "@depict-ai/types/api/BaseSearchRequestV3";
12
12
  import { FeaturedInDisplay } from "@depict-ai/types/api/FeaturedInResponseV3";
13
13
  import { SearchFilter as _SearchFilter3 } from "@depict-ai/types/api/SearchRequestV2";
14
- export const version = "4.10.2";
14
+ export const version = "4.10.4";
15
15
  /**
16
16
  * Use `javascript_media_query` but return a reactive accessor instead of taking a callback function
17
17
  */
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.10.2";
10
+ const $ec291e0010116877$export$83d89fbfd8236492 = "4.10.4";
11
11
  function $dc9262ef6f786812$export$d9f36cf74e24d595(media_query) {
12
12
  const signal = $9HbP8$createSignal(false);
13
13
  $9HbP8$onCleanup($9HbP8$javascript_media_query(media_query, ({
@@ -7645,12 +7645,11 @@ function $486360b09f0d5729$export$7a92d995f1bf3592(history_content_blocks_, plp_
7645
7645
  const {
7646
7646
  blocks: blocksFromHistory
7647
7647
  } = historyContentBlocks();
7648
- if (developerProvided) return developerProvided;
7649
7648
  // If we didn't get any content blocks (backend always return empty array) and we haven't seen any content blocks yet, return undefined
7650
7649
  // This is so the result rendering (PLPResults) will still use flexbox provided rendering on existing customers, so adding this isn't a breaking change
7651
7650
  // We don't want to switch rendering method every time one switches between a collection that hasn't vs has content blocks though, so once we've seen one content block we'll switch to css-grid-based rendering
7652
- if (!blocksFromHistory?.length && !hasSeenContentBlock) return;
7653
- const content = [];
7651
+ if (!blocksFromHistory?.length && !hasSeenContentBlock) return developerProvided;
7652
+ const content = [...(developerProvided || [])];
7654
7653
  hasSeenContentBlock = true;
7655
7654
  blocksFromHistory.forEach(row => {
7656
7655
  const {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@depict-ai/ui",
3
- "version": "4.10.2",
3
+ "version": "4.10.4",
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",
@@ -115,7 +115,7 @@ $parcel$export(module.exports, "BreadCrumbs", () => $335c02c1241a9ca8$export$5b7
115
115
  $parcel$export(module.exports, "QuickLinks", () => $335c02c1241a9ca8$export$de035477d6fef996);
116
116
  $parcel$export(module.exports, "CategoryPage", () => $c10e33c4681f8c9b$export$e2bf8ce7779e827e);
117
117
  /*! Depict.ai search and product listing SDK */
118
- const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.10.2";
118
+ const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.10.4";
119
119
  function $3e17e871e9d0911d$export$d9f36cf74e24d595(media_query) {
120
120
  const signal = $3hooq$solidjs.createSignal(false);
121
121
  $3hooq$solidjs.onCleanup($3hooq$depictaiutilishared.javascript_media_query(media_query, _ref => {
@@ -6706,12 +6706,11 @@ function $0c035bbe7e30b438$export$7a92d995f1bf3592(history_content_blocks_, plp_
6706
6706
  const {
6707
6707
  blocks: blocksFromHistory
6708
6708
  } = historyContentBlocks();
6709
- if (developerProvided) return developerProvided;
6710
6709
  // If we didn't get any content blocks (backend always return empty array) and we haven't seen any content blocks yet, return undefined
6711
6710
  // This is so the result rendering (PLPResults) will still use flexbox provided rendering on existing customers, so adding this isn't a breaking change
6712
6711
  // We don't want to switch rendering method every time one switches between a collection that hasn't vs has content blocks though, so once we've seen one content block we'll switch to css-grid-based rendering
6713
- if (!(blocksFromHistory !== null && blocksFromHistory !== void 0 && blocksFromHistory.length) && !hasSeenContentBlock) return;
6714
- const content = [];
6712
+ if (!(blocksFromHistory !== null && blocksFromHistory !== void 0 && blocksFromHistory.length) && !hasSeenContentBlock) return developerProvided;
6713
+ const content = [...(developerProvided || [])];
6715
6714
  hasSeenContentBlock = true;
6716
6715
  blocksFromHistory.forEach(row => {
6717
6716
  const {
@@ -11,7 +11,7 @@ import { GetListingRequest } from "@depict-ai/types/api/GetListingRequest";
11
11
  import { BaseSearchRequestV3 } from "@depict-ai/types/api/BaseSearchRequestV3";
12
12
  import { FeaturedInDisplay } from "@depict-ai/types/api/FeaturedInResponseV3";
13
13
  import { SearchFilter as _SearchFilter3 } from "@depict-ai/types/api/SearchRequestV2";
14
- export const version = "4.10.2";
14
+ export const version = "4.10.4";
15
15
  /**
16
16
  * Use `javascript_media_query` but return a reactive accessor instead of taking a callback function
17
17
  */
@@ -10,7 +10,7 @@ import $b8hua$babelruntimehelpersclassPrivateFieldGet from "@babel/runtime/helpe
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.10.2";
13
+ const $8db9a15135765c11$export$83d89fbfd8236492 = "4.10.4";
14
14
  function $00a5b94f0c11efbb$export$d9f36cf74e24d595(media_query) {
15
15
  const signal = $b8hua$createSignal(false);
16
16
  $b8hua$onCleanup($b8hua$javascript_media_query(media_query, _ref => {
@@ -6601,12 +6601,11 @@ function $12ff24fdc4b26d88$export$7a92d995f1bf3592(history_content_blocks_, plp_
6601
6601
  const {
6602
6602
  blocks: blocksFromHistory
6603
6603
  } = historyContentBlocks();
6604
- if (developerProvided) return developerProvided;
6605
6604
  // If we didn't get any content blocks (backend always return empty array) and we haven't seen any content blocks yet, return undefined
6606
6605
  // This is so the result rendering (PLPResults) will still use flexbox provided rendering on existing customers, so adding this isn't a breaking change
6607
6606
  // We don't want to switch rendering method every time one switches between a collection that hasn't vs has content blocks though, so once we've seen one content block we'll switch to css-grid-based rendering
6608
- if (!(blocksFromHistory !== null && blocksFromHistory !== void 0 && blocksFromHistory.length) && !hasSeenContentBlock) return;
6609
- const content = [];
6607
+ if (!(blocksFromHistory !== null && blocksFromHistory !== void 0 && blocksFromHistory.length) && !hasSeenContentBlock) return developerProvided;
6608
+ const content = [...(developerProvided || [])];
6610
6609
  hasSeenContentBlock = true;
6611
6610
  blocksFromHistory.forEach(row => {
6612
6611
  const {
@@ -109,7 +109,7 @@ $parcel$export(module.exports, "BreadCrumbs", () => $1f4925833f07df29$export$5b7
109
109
  $parcel$export(module.exports, "QuickLinks", () => $1f4925833f07df29$export$de035477d6fef996);
110
110
  $parcel$export(module.exports, "CategoryPage", () => $14f289047713d67a$export$e2bf8ce7779e827e);
111
111
  /*! Depict.ai search and product listing SDK */
112
- const $b757f75811f3261f$export$83d89fbfd8236492 = "4.10.2";
112
+ const $b757f75811f3261f$export$83d89fbfd8236492 = "4.10.4";
113
113
  function $b54e6192d0caa293$export$d9f36cf74e24d595(media_query) {
114
114
  const signal = $5vyXB$solidjs.createSignal(false);
115
115
  $5vyXB$solidjs.onCleanup($5vyXB$depictaiutilishared.javascript_media_query(media_query, ({
@@ -6320,12 +6320,11 @@ function $0a80939bf0a1e9cc$export$7a92d995f1bf3592(history_content_blocks_, plp_
6320
6320
  const {
6321
6321
  blocks: blocksFromHistory
6322
6322
  } = historyContentBlocks();
6323
- if (developerProvided) return developerProvided;
6324
6323
  // If we didn't get any content blocks (backend always return empty array) and we haven't seen any content blocks yet, return undefined
6325
6324
  // This is so the result rendering (PLPResults) will still use flexbox provided rendering on existing customers, so adding this isn't a breaking change
6326
6325
  // We don't want to switch rendering method every time one switches between a collection that hasn't vs has content blocks though, so once we've seen one content block we'll switch to css-grid-based rendering
6327
- if (!blocksFromHistory?.length && !hasSeenContentBlock) return;
6328
- const content = [];
6326
+ if (!blocksFromHistory?.length && !hasSeenContentBlock) return developerProvided;
6327
+ const content = [...(developerProvided || [])];
6329
6328
  hasSeenContentBlock = true;
6330
6329
  blocksFromHistory.forEach(row => {
6331
6330
  const {
@@ -11,7 +11,7 @@ import { GetListingRequest } from "@depict-ai/types/api/GetListingRequest";
11
11
  import { BaseSearchRequestV3 } from "@depict-ai/types/api/BaseSearchRequestV3";
12
12
  import { FeaturedInDisplay } from "@depict-ai/types/api/FeaturedInResponseV3";
13
13
  import { SearchFilter as _SearchFilter3 } from "@depict-ai/types/api/SearchRequestV2";
14
- export const version = "4.10.2";
14
+ export const version = "4.10.4";
15
15
  /**
16
16
  * Use `javascript_media_query` but return a reactive accessor instead of taking a callback function
17
17
  */
@@ -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.10.2";
10
+ const $ec291e0010116877$export$83d89fbfd8236492 = "4.10.4";
11
11
  function $dc9262ef6f786812$export$d9f36cf74e24d595(media_query) {
12
12
  const signal = $i7OB2$createSignal(false);
13
13
  $i7OB2$onCleanup($i7OB2$javascript_media_query(media_query, ({
@@ -6218,12 +6218,11 @@ function $486360b09f0d5729$export$7a92d995f1bf3592(history_content_blocks_, plp_
6218
6218
  const {
6219
6219
  blocks: blocksFromHistory
6220
6220
  } = historyContentBlocks();
6221
- if (developerProvided) return developerProvided;
6222
6221
  // If we didn't get any content blocks (backend always return empty array) and we haven't seen any content blocks yet, return undefined
6223
6222
  // This is so the result rendering (PLPResults) will still use flexbox provided rendering on existing customers, so adding this isn't a breaking change
6224
6223
  // We don't want to switch rendering method every time one switches between a collection that hasn't vs has content blocks though, so once we've seen one content block we'll switch to css-grid-based rendering
6225
- if (!blocksFromHistory?.length && !hasSeenContentBlock) return;
6226
- const content = [];
6224
+ if (!blocksFromHistory?.length && !hasSeenContentBlock) return developerProvided;
6225
+ const content = [...(developerProvided || [])];
6227
6226
  hasSeenContentBlock = true;
6228
6227
  blocksFromHistory.forEach(row => {
6229
6228
  const {