@depict-ai/portal-components 2.7.22 → 2.7.23

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.22";
7
+ export const version = "2.7.23";
8
8
  type TextOptions = {
9
9
  /** Enabled */
10
10
  enabled: boolean;
@@ -77,12 +77,15 @@ interface PortalRecommendationGridConfig<T extends ModernDisplay> extends Portal
77
77
  */
78
78
  export function PortalRecsGrid<T extends ModernDisplay>(props: Parameters<typeof SolidWrapper<T>>[0]): import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
79
79
  declare function SolidWrapper<T extends ModernDisplay>(props: PortalRecommendationGridConfig<T>): HTMLDivElement;
80
+ interface PortalRecsSliderConfig<T extends ModernDisplay> extends PortalRecsConfig<T> {
81
+ showSliderArrow: boolean;
82
+ }
80
83
  /**
81
84
  * Copy-pasted RecommendationGrid from react-ui that's hardcoded to render the default product card
82
85
  * By not wrapping the default product card in a react component again we get working placeholder (react's rendering delay otherwise makes them not show sometimes) and working <ListingContext> and therefore videos, correctly dosed sizes. etc
83
86
  */
84
87
  export function PortalRecsSlider<T extends ModernDisplay>(props: Parameters<typeof _SolidWrapper1<T>>[0]): import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
85
- declare function _SolidWrapper1<T extends ModernDisplay>(props: PortalRecsConfig<T>): HTMLDivElement;
88
+ declare function _SolidWrapper1<T extends ModernDisplay>(props: PortalRecsSliderConfig<T>): HTMLDivElement;
86
89
  export function ReactSelectedFilters(react_props: {
87
90
  availableFilters: SearchFilter[] | undefined;
88
91
  hidden?: 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.22";
23
+ const $0a017be3a74fcc94$export$83d89fbfd8236492 = "2.7.23";
24
24
 
25
25
 
26
26
 
@@ -1150,6 +1150,9 @@ function $1113a95ded76fc38$var$SolidWrapper(props) {
1150
1150
  },
1151
1151
  get title () {
1152
1152
  return props.title;
1153
+ },
1154
+ get showSliderArrow_ () {
1155
+ return props.showSliderArrow;
1153
1156
  }
1154
1157
  });
1155
1158
  }
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.22";
10
+ const $91c11b750e80ede3$export$83d89fbfd8236492 = "2.7.23";
11
11
 
12
12
 
13
13
 
@@ -1137,6 +1137,9 @@ function $e3716493302f533c$var$SolidWrapper(props) {
1137
1137
  },
1138
1138
  get title () {
1139
1139
  return props.title;
1140
+ },
1141
+ get showSliderArrow_ () {
1142
+ return props.showSliderArrow;
1140
1143
  }
1141
1144
  });
1142
1145
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@depict-ai/portal-components",
3
- "version": "2.7.22",
3
+ "version": "2.7.23",
4
4
  "packageManager": "yarn@3.2.2",
5
5
  "source": "src/index.ts",
6
6
  "main": "dist/main.js",
@@ -104,7 +104,7 @@
104
104
  "@depict-ai/plp-styling": "^4.4.18",
105
105
  "@depict-ai/react-ui": "^4.8.6",
106
106
  "@depict-ai/types": "^5.4.4",
107
- "@depict-ai/ui": "^4.8.16",
107
+ "@depict-ai/ui": "^4.8.17",
108
108
  "@depict-ai/utilishared": "^2.4.5",
109
109
  "parcel": "^2.10.3",
110
110
  "solid-js": "^1.8.16"