@depict-ai/ui 4.7.17 → 4.7.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
@@ -105,7 +105,7 @@ $parcel$export(module.exports, "BreadCrumbs", () => $335c02c1241a9ca8$export$5b7
105
105
  $parcel$export(module.exports, "QuickLinks", () => $335c02c1241a9ca8$export$de035477d6fef996);
106
106
  $parcel$export(module.exports, "CategoryPage", () => $c10e33c4681f8c9b$export$e2bf8ce7779e827e);
107
107
  /*! Depict.ai search and product listing SDK */
108
- const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.7.17";
108
+ const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.7.18";
109
109
 
110
110
  /**
111
111
  * Gets product_id (the thing we key the rendering on) from a display
@@ -355,20 +355,22 @@ function $a52942afacbced93$export$4a14175d33d81a96(_ref) {
355
355
  content_blocks_: content_blocks_,
356
356
  alwaysObserveCards_: alwaysObserveCards_
357
357
  } = _ref;
358
+ const targetToIndexMap_ = new Map();
359
+ const indexToTargetMap_ = new Map();
360
+ const [listenersForIntersecting, setListenersForIntersecting] = $52FdA$solidjs.createSignal(0);
361
+ const [currentlyIntersecting, setCurrentlyIntersecting] = $52FdA$solidjs.createSignal(new Set(), {
362
+ equals: false
363
+ });
358
364
  if (0, $52FdA$solidjsweb.isServer) return {
359
365
  renderedDisplays_: $76012c4468a53d1f$export$43f0fb951fcb0c54({
360
366
  displays_by_key_: displays_by_key_,
361
367
  product_card_template_: product_card_template_,
362
368
  content_blocks_: content_blocks_
363
- })
369
+ }),
370
+ indexToTargetMap_: indexToTargetMap_,
371
+ currentlyIntersecting: currentlyIntersecting
364
372
  };
365
373
  // The following sets up an intersection observer to determine which results are in the viewport, used for the ScrollStatus indicator, knowing when to load more and any other consumer of the useProductCardIsVisible hook.
366
- const targetToIndexMap_ = new Map();
367
- const indexToTargetMap_ = new Map();
368
- const [listenersForIntersecting, setListenersForIntersecting] = $52FdA$solidjs.createSignal(0);
369
- const [currentlyIntersecting, setCurrentlyIntersecting] = $52FdA$solidjs.createSignal(new Set(), {
370
- equals: false
371
- });
372
374
  const shouldObserve = $52FdA$solidjs.createMemo(() => alwaysObserveCards_ || listenersForIntersecting() > 0);
373
375
  const intersection_observer = new IntersectionObserver($52FdA$depictaiutilishared.catchify(records => {
374
376
  const intersectingValue = currentlyIntersecting();
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.7.17";
14
+ export const version = "4.7.18";
15
15
  declare const LISTING_ID = "listingId";
16
16
  declare const EXTERNAL_ID = "externalId";
17
17
  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.7.17";
13
+ const $8db9a15135765c11$export$83d89fbfd8236492 = "4.7.18";
14
14
 
15
15
  /**
16
16
  * Gets product_id (the thing we key the rendering on) from a display
@@ -260,20 +260,22 @@ function $618bd53ea0a41cd4$export$4a14175d33d81a96(_ref) {
260
260
  content_blocks_: content_blocks_,
261
261
  alwaysObserveCards_: alwaysObserveCards_
262
262
  } = _ref;
263
+ const targetToIndexMap_ = new Map();
264
+ const indexToTargetMap_ = new Map();
265
+ const [listenersForIntersecting, setListenersForIntersecting] = $8tj43$createSignal(0);
266
+ const [currentlyIntersecting, setCurrentlyIntersecting] = $8tj43$createSignal(new Set(), {
267
+ equals: false
268
+ });
263
269
  if (0, $8tj43$isServer) return {
264
270
  renderedDisplays_: $2d7bad8684bc7f44$export$43f0fb951fcb0c54({
265
271
  displays_by_key_: displays_by_key_,
266
272
  product_card_template_: product_card_template_,
267
273
  content_blocks_: content_blocks_
268
- })
274
+ }),
275
+ indexToTargetMap_: indexToTargetMap_,
276
+ currentlyIntersecting: currentlyIntersecting
269
277
  };
270
278
  // The following sets up an intersection observer to determine which results are in the viewport, used for the ScrollStatus indicator, knowing when to load more and any other consumer of the useProductCardIsVisible hook.
271
- const targetToIndexMap_ = new Map();
272
- const indexToTargetMap_ = new Map();
273
- const [listenersForIntersecting, setListenersForIntersecting] = $8tj43$createSignal(0);
274
- const [currentlyIntersecting, setCurrentlyIntersecting] = $8tj43$createSignal(new Set(), {
275
- equals: false
276
- });
277
279
  const shouldObserve = $8tj43$createMemo(() => alwaysObserveCards_ || listenersForIntersecting() > 0);
278
280
  const intersection_observer = new IntersectionObserver($8tj43$catchify(records => {
279
281
  const intersectingValue = currentlyIntersecting();
package/latest/index.cjs CHANGED
@@ -99,7 +99,7 @@ $parcel$export(module.exports, "BreadCrumbs", () => $1f4925833f07df29$export$5b7
99
99
  $parcel$export(module.exports, "QuickLinks", () => $1f4925833f07df29$export$de035477d6fef996);
100
100
  $parcel$export(module.exports, "CategoryPage", () => $14f289047713d67a$export$e2bf8ce7779e827e);
101
101
  /*! Depict.ai search and product listing SDK */
102
- const $b757f75811f3261f$export$83d89fbfd8236492 = "4.7.17";
102
+ const $b757f75811f3261f$export$83d89fbfd8236492 = "4.7.18";
103
103
 
104
104
  /**
105
105
  * Gets product_id (the thing we key the rendering on) from a display
@@ -344,20 +344,22 @@ function $67155e1aeb7073f6$export$4a14175d33d81a96({
344
344
  content_blocks_: content_blocks_,
345
345
  alwaysObserveCards_: alwaysObserveCards_
346
346
  }) {
347
+ const targetToIndexMap_ = new Map();
348
+ const indexToTargetMap_ = new Map();
349
+ const [listenersForIntersecting, setListenersForIntersecting] = $gVhhF$solidjs.createSignal(0);
350
+ const [currentlyIntersecting, setCurrentlyIntersecting] = $gVhhF$solidjs.createSignal(new Set(), {
351
+ equals: false
352
+ });
347
353
  if (0, $gVhhF$solidjsweb.isServer) return {
348
354
  renderedDisplays_: $a73063cc642f3e5f$export$43f0fb951fcb0c54({
349
355
  displays_by_key_: displays_by_key_,
350
356
  product_card_template_: product_card_template_,
351
357
  content_blocks_: content_blocks_
352
- })
358
+ }),
359
+ indexToTargetMap_: indexToTargetMap_,
360
+ currentlyIntersecting: currentlyIntersecting
353
361
  };
354
362
  // The following sets up an intersection observer to determine which results are in the viewport, used for the ScrollStatus indicator, knowing when to load more and any other consumer of the useProductCardIsVisible hook.
355
- const targetToIndexMap_ = new Map();
356
- const indexToTargetMap_ = new Map();
357
- const [listenersForIntersecting, setListenersForIntersecting] = $gVhhF$solidjs.createSignal(0);
358
- const [currentlyIntersecting, setCurrentlyIntersecting] = $gVhhF$solidjs.createSignal(new Set(), {
359
- equals: false
360
- });
361
363
  const shouldObserve = $gVhhF$solidjs.createMemo(() => alwaysObserveCards_ || listenersForIntersecting() > 0);
362
364
  const intersection_observer = new IntersectionObserver($gVhhF$depictaiutilishared.catchify(records => {
363
365
  const intersectingValue = currentlyIntersecting();
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.7.17";
14
+ export const version = "4.7.18";
15
15
  declare const LISTING_ID = "listingId";
16
16
  declare const EXTERNAL_ID = "externalId";
17
17
  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.7.17";
10
+ const $ec291e0010116877$export$83d89fbfd8236492 = "4.7.18";
11
11
 
12
12
  /**
13
13
  * Gets product_id (the thing we key the rendering on) from a display
@@ -252,20 +252,22 @@ function $f091294da861020c$export$4a14175d33d81a96({
252
252
  content_blocks_: content_blocks_,
253
253
  alwaysObserveCards_: alwaysObserveCards_
254
254
  }) {
255
+ const targetToIndexMap_ = new Map();
256
+ const indexToTargetMap_ = new Map();
257
+ const [listenersForIntersecting, setListenersForIntersecting] = $9HbP8$createSignal(0);
258
+ const [currentlyIntersecting, setCurrentlyIntersecting] = $9HbP8$createSignal(new Set(), {
259
+ equals: false
260
+ });
255
261
  if (0, $9HbP8$isServer) return {
256
262
  renderedDisplays_: $29ec7cddbe1d3484$export$43f0fb951fcb0c54({
257
263
  displays_by_key_: displays_by_key_,
258
264
  product_card_template_: product_card_template_,
259
265
  content_blocks_: content_blocks_
260
- })
266
+ }),
267
+ indexToTargetMap_: indexToTargetMap_,
268
+ currentlyIntersecting: currentlyIntersecting
261
269
  };
262
270
  // The following sets up an intersection observer to determine which results are in the viewport, used for the ScrollStatus indicator, knowing when to load more and any other consumer of the useProductCardIsVisible hook.
263
- const targetToIndexMap_ = new Map();
264
- const indexToTargetMap_ = new Map();
265
- const [listenersForIntersecting, setListenersForIntersecting] = $9HbP8$createSignal(0);
266
- const [currentlyIntersecting, setCurrentlyIntersecting] = $9HbP8$createSignal(new Set(), {
267
- equals: false
268
- });
269
271
  const shouldObserve = $9HbP8$createMemo(() => alwaysObserveCards_ || listenersForIntersecting() > 0);
270
272
  const intersection_observer = new IntersectionObserver($9HbP8$catchify(records => {
271
273
  const intersectingValue = currentlyIntersecting();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@depict-ai/ui",
3
- "version": "4.7.17",
3
+ "version": "4.7.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",
@@ -105,7 +105,7 @@ $parcel$export(module.exports, "BreadCrumbs", () => $335c02c1241a9ca8$export$5b7
105
105
  $parcel$export(module.exports, "QuickLinks", () => $335c02c1241a9ca8$export$de035477d6fef996);
106
106
  $parcel$export(module.exports, "CategoryPage", () => $c10e33c4681f8c9b$export$e2bf8ce7779e827e);
107
107
  /*! Depict.ai search and product listing SDK */
108
- const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.7.17";
108
+ const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.7.18";
109
109
 
110
110
  /**
111
111
  * Gets product_id (the thing we key the rendering on) from a display
@@ -355,20 +355,22 @@ function $a52942afacbced93$export$4a14175d33d81a96(_ref) {
355
355
  content_blocks_: content_blocks_,
356
356
  alwaysObserveCards_: alwaysObserveCards_
357
357
  } = _ref;
358
+ const targetToIndexMap_ = new Map();
359
+ const indexToTargetMap_ = new Map();
360
+ const [listenersForIntersecting, setListenersForIntersecting] = $3hooq$solidjs.createSignal(0);
361
+ const [currentlyIntersecting, setCurrentlyIntersecting] = $3hooq$solidjs.createSignal(new Set(), {
362
+ equals: false
363
+ });
358
364
  if (0, $3hooq$solidjsweb.isServer) return {
359
365
  renderedDisplays_: $76012c4468a53d1f$export$43f0fb951fcb0c54({
360
366
  displays_by_key_: displays_by_key_,
361
367
  product_card_template_: product_card_template_,
362
368
  content_blocks_: content_blocks_
363
- })
369
+ }),
370
+ indexToTargetMap_: indexToTargetMap_,
371
+ currentlyIntersecting: currentlyIntersecting
364
372
  };
365
373
  // The following sets up an intersection observer to determine which results are in the viewport, used for the ScrollStatus indicator, knowing when to load more and any other consumer of the useProductCardIsVisible hook.
366
- const targetToIndexMap_ = new Map();
367
- const indexToTargetMap_ = new Map();
368
- const [listenersForIntersecting, setListenersForIntersecting] = $3hooq$solidjs.createSignal(0);
369
- const [currentlyIntersecting, setCurrentlyIntersecting] = $3hooq$solidjs.createSignal(new Set(), {
370
- equals: false
371
- });
372
374
  const shouldObserve = $3hooq$solidjs.createMemo(() => alwaysObserveCards_ || listenersForIntersecting() > 0);
373
375
  const intersection_observer = new IntersectionObserver($3hooq$depictaiutilishared.catchify(records => {
374
376
  const intersectingValue = currentlyIntersecting();
@@ -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.7.17";
14
+ export const version = "4.7.18";
15
15
  declare const LISTING_ID = "listingId";
16
16
  declare const EXTERNAL_ID = "externalId";
17
17
  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.7.17";
13
+ const $8db9a15135765c11$export$83d89fbfd8236492 = "4.7.18";
14
14
 
15
15
  /**
16
16
  * Gets product_id (the thing we key the rendering on) from a display
@@ -260,20 +260,22 @@ function $618bd53ea0a41cd4$export$4a14175d33d81a96(_ref) {
260
260
  content_blocks_: content_blocks_,
261
261
  alwaysObserveCards_: alwaysObserveCards_
262
262
  } = _ref;
263
+ const targetToIndexMap_ = new Map();
264
+ const indexToTargetMap_ = new Map();
265
+ const [listenersForIntersecting, setListenersForIntersecting] = $b8hua$createSignal(0);
266
+ const [currentlyIntersecting, setCurrentlyIntersecting] = $b8hua$createSignal(new Set(), {
267
+ equals: false
268
+ });
263
269
  if (0, $b8hua$isServer) return {
264
270
  renderedDisplays_: $2d7bad8684bc7f44$export$43f0fb951fcb0c54({
265
271
  displays_by_key_: displays_by_key_,
266
272
  product_card_template_: product_card_template_,
267
273
  content_blocks_: content_blocks_
268
- })
274
+ }),
275
+ indexToTargetMap_: indexToTargetMap_,
276
+ currentlyIntersecting: currentlyIntersecting
269
277
  };
270
278
  // The following sets up an intersection observer to determine which results are in the viewport, used for the ScrollStatus indicator, knowing when to load more and any other consumer of the useProductCardIsVisible hook.
271
- const targetToIndexMap_ = new Map();
272
- const indexToTargetMap_ = new Map();
273
- const [listenersForIntersecting, setListenersForIntersecting] = $b8hua$createSignal(0);
274
- const [currentlyIntersecting, setCurrentlyIntersecting] = $b8hua$createSignal(new Set(), {
275
- equals: false
276
- });
277
279
  const shouldObserve = $b8hua$createMemo(() => alwaysObserveCards_ || listenersForIntersecting() > 0);
278
280
  const intersection_observer = new IntersectionObserver($b8hua$catchify(records => {
279
281
  const intersectingValue = currentlyIntersecting();
@@ -99,7 +99,7 @@ $parcel$export(module.exports, "BreadCrumbs", () => $1f4925833f07df29$export$5b7
99
99
  $parcel$export(module.exports, "QuickLinks", () => $1f4925833f07df29$export$de035477d6fef996);
100
100
  $parcel$export(module.exports, "CategoryPage", () => $14f289047713d67a$export$e2bf8ce7779e827e);
101
101
  /*! Depict.ai search and product listing SDK */
102
- const $b757f75811f3261f$export$83d89fbfd8236492 = "4.7.17";
102
+ const $b757f75811f3261f$export$83d89fbfd8236492 = "4.7.18";
103
103
 
104
104
  /**
105
105
  * Gets product_id (the thing we key the rendering on) from a display
@@ -344,20 +344,22 @@ function $67155e1aeb7073f6$export$4a14175d33d81a96({
344
344
  content_blocks_: content_blocks_,
345
345
  alwaysObserveCards_: alwaysObserveCards_
346
346
  }) {
347
+ const targetToIndexMap_ = new Map();
348
+ const indexToTargetMap_ = new Map();
349
+ const [listenersForIntersecting, setListenersForIntersecting] = $5vyXB$solidjs.createSignal(0);
350
+ const [currentlyIntersecting, setCurrentlyIntersecting] = $5vyXB$solidjs.createSignal(new Set(), {
351
+ equals: false
352
+ });
347
353
  if (0, $5vyXB$solidjsweb.isServer) return {
348
354
  renderedDisplays_: $a73063cc642f3e5f$export$43f0fb951fcb0c54({
349
355
  displays_by_key_: displays_by_key_,
350
356
  product_card_template_: product_card_template_,
351
357
  content_blocks_: content_blocks_
352
- })
358
+ }),
359
+ indexToTargetMap_: indexToTargetMap_,
360
+ currentlyIntersecting: currentlyIntersecting
353
361
  };
354
362
  // The following sets up an intersection observer to determine which results are in the viewport, used for the ScrollStatus indicator, knowing when to load more and any other consumer of the useProductCardIsVisible hook.
355
- const targetToIndexMap_ = new Map();
356
- const indexToTargetMap_ = new Map();
357
- const [listenersForIntersecting, setListenersForIntersecting] = $5vyXB$solidjs.createSignal(0);
358
- const [currentlyIntersecting, setCurrentlyIntersecting] = $5vyXB$solidjs.createSignal(new Set(), {
359
- equals: false
360
- });
361
363
  const shouldObserve = $5vyXB$solidjs.createMemo(() => alwaysObserveCards_ || listenersForIntersecting() > 0);
362
364
  const intersection_observer = new IntersectionObserver($5vyXB$depictaiutilishared.catchify(records => {
363
365
  const intersectingValue = currentlyIntersecting();
@@ -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.7.17";
14
+ export const version = "4.7.18";
15
15
  declare const LISTING_ID = "listingId";
16
16
  declare const EXTERNAL_ID = "externalId";
17
17
  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.7.17";
10
+ const $ec291e0010116877$export$83d89fbfd8236492 = "4.7.18";
11
11
 
12
12
  /**
13
13
  * Gets product_id (the thing we key the rendering on) from a display
@@ -252,20 +252,22 @@ function $f091294da861020c$export$4a14175d33d81a96({
252
252
  content_blocks_: content_blocks_,
253
253
  alwaysObserveCards_: alwaysObserveCards_
254
254
  }) {
255
+ const targetToIndexMap_ = new Map();
256
+ const indexToTargetMap_ = new Map();
257
+ const [listenersForIntersecting, setListenersForIntersecting] = $i7OB2$createSignal(0);
258
+ const [currentlyIntersecting, setCurrentlyIntersecting] = $i7OB2$createSignal(new Set(), {
259
+ equals: false
260
+ });
255
261
  if (0, $i7OB2$isServer) return {
256
262
  renderedDisplays_: $29ec7cddbe1d3484$export$43f0fb951fcb0c54({
257
263
  displays_by_key_: displays_by_key_,
258
264
  product_card_template_: product_card_template_,
259
265
  content_blocks_: content_blocks_
260
- })
266
+ }),
267
+ indexToTargetMap_: indexToTargetMap_,
268
+ currentlyIntersecting: currentlyIntersecting
261
269
  };
262
270
  // The following sets up an intersection observer to determine which results are in the viewport, used for the ScrollStatus indicator, knowing when to load more and any other consumer of the useProductCardIsVisible hook.
263
- const targetToIndexMap_ = new Map();
264
- const indexToTargetMap_ = new Map();
265
- const [listenersForIntersecting, setListenersForIntersecting] = $i7OB2$createSignal(0);
266
- const [currentlyIntersecting, setCurrentlyIntersecting] = $i7OB2$createSignal(new Set(), {
267
- equals: false
268
- });
269
271
  const shouldObserve = $i7OB2$createMemo(() => alwaysObserveCards_ || listenersForIntersecting() > 0);
270
272
  const intersection_observer = new IntersectionObserver($i7OB2$catchify(records => {
271
273
  const intersectingValue = currentlyIntersecting();