@depict-ai/portal-components 2.7.24 → 2.7.25

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/dist/index.d.ts CHANGED
@@ -4,7 +4,7 @@ import { SearchFilter } from "@depict-ai/types/api/SearchResponse";
4
4
  import { Locale } from "@depict-ai/react-ui/locales/latest";
5
5
  import { ReactNode } from "react";
6
6
  import { FeaturedInDisplay } from "@depict-ai/types/api/FeaturedInResponseV3";
7
- export const version = "2.7.24";
7
+ export const version = "2.7.25";
8
8
  type TextOptions = {
9
9
  /** Enabled */
10
10
  enabled: boolean;
package/dist/main.js CHANGED
@@ -20,7 +20,7 @@ $parcel$export(module.exports, "ExpandingSection", () => $2214dc111b9e2866$expor
20
20
  $parcel$export(module.exports, "ReactLookCard", () => $35bab9ff48bfe404$export$48787da2a5568bc);
21
21
  $parcel$export(module.exports, "version", () => $0a017be3a74fcc94$export$83d89fbfd8236492);
22
22
  /*! Depict.ai portal components */ // This is where the actual source of your React stuff should live
23
- const $0a017be3a74fcc94$export$83d89fbfd8236492 = "2.7.24";
23
+ const $0a017be3a74fcc94$export$83d89fbfd8236492 = "2.7.25";
24
24
 
25
25
 
26
26
 
@@ -636,7 +636,7 @@ function $3375ddd88f77967d$var$ImagesAndVideos({ image_urls_: image_urls_, video
636
636
  "border-radius-" + configuredOptions_().image_radius
637
637
  ];
638
638
  // Don't make cards swipable inside of sliders (PLP slider or recs slider)
639
- const slidable = (0, $7jsgb$solidjs.createMemo)(()=>!isAlreadyInSlider && configuredOptions_().image_carousel);
639
+ const slidable = (0, $7jsgb$solidjs.createMemo)(()=>!isAlreadyInSlider() && configuredOptions_().image_carousel);
640
640
  const hoverImageDisabled = (0, $7jsgb$solidjs.createMemo)(()=>!configuredOptions_().use_hover_image);
641
641
  const video_urls = ()=>video_()?.video_urls;
642
642
  const Container = (props)=>{
package/dist/module.js CHANGED
@@ -7,7 +7,7 @@ import {createContext as $2MCgq$createContext, createMemo as $2MCgq$createMemo,
7
7
  import {createPortal as $2MCgq$createPortal} from "react-dom";
8
8
 
9
9
  /*! Depict.ai portal components */ // This is where the actual source of your React stuff should live
10
- const $91c11b750e80ede3$export$83d89fbfd8236492 = "2.7.24";
10
+ const $91c11b750e80ede3$export$83d89fbfd8236492 = "2.7.25";
11
11
 
12
12
 
13
13
 
@@ -623,7 +623,7 @@ function $29535f590238371c$var$ImagesAndVideos({ image_urls_: image_urls_, video
623
623
  "border-radius-" + configuredOptions_().image_radius
624
624
  ];
625
625
  // Don't make cards swipable inside of sliders (PLP slider or recs slider)
626
- const slidable = (0, $2MCgq$createMemo)(()=>!isAlreadyInSlider && configuredOptions_().image_carousel);
626
+ const slidable = (0, $2MCgq$createMemo)(()=>!isAlreadyInSlider() && configuredOptions_().image_carousel);
627
627
  const hoverImageDisabled = (0, $2MCgq$createMemo)(()=>!configuredOptions_().use_hover_image);
628
628
  const video_urls = ()=>video_()?.video_urls;
629
629
  const Container = (props)=>{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@depict-ai/portal-components",
3
- "version": "2.7.24",
3
+ "version": "2.7.25",
4
4
  "packageManager": "yarn@3.2.2",
5
5
  "source": "src/index.ts",
6
6
  "main": "dist/main.js",
@@ -688,7 +688,7 @@ function ImagesAndVideos({
688
688
  const isAlreadyInSlider = createMemo(() => !!(useSlidableInformation() || PLPLayout?.()?.startsWith("slider")));
689
689
  const containerClasses = () => ["image-video", "border-radius-" + configuredOptions_().image_radius] as const;
690
690
  // Don't make cards swipable inside of sliders (PLP slider or recs slider)
691
- const slidable = createMemo(() => !isAlreadyInSlider && configuredOptions_().image_carousel);
691
+ const slidable = createMemo(() => !isAlreadyInSlider() && configuredOptions_().image_carousel);
692
692
  const hoverImageDisabled = createMemo(() => !configuredOptions_().use_hover_image);
693
693
  const video_urls = () => video_()?.video_urls;
694
694