@depict-ai/portal-components 2.5.0 → 2.5.1
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 +5 -1
- package/dist/main.js +34 -1
- package/dist/module.js +35 -3
- package/package.json +6 -6
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { SearchFilter } from "@depict-ai/types/api/SearchResponse";
|
|
2
2
|
import { Locale } from "@depict-ai/react-ui/locales/latest";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
|
-
|
|
4
|
+
import { FeaturedInDisplay } from "@depict-ai/types/api/FeaturedInResponseV3";
|
|
5
|
+
export const version = "2.5.1";
|
|
5
6
|
export function ReactSelectedFilters(react_props: {
|
|
6
7
|
availableFilters: SearchFilter[] | undefined;
|
|
7
8
|
hidden?: boolean;
|
|
@@ -66,3 +67,6 @@ export function ExpandingSection({ summary: summary_children, children, classNam
|
|
|
66
67
|
}): import("react").FunctionComponentElement<{
|
|
67
68
|
children?: ReactNode;
|
|
68
69
|
}>;
|
|
70
|
+
export function ReactLookCard(react_props: {
|
|
71
|
+
display_: FeaturedInDisplay | null;
|
|
72
|
+
}): import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
package/dist/main.js
CHANGED
|
@@ -14,9 +14,10 @@ function $parcel$export(e, n, v, s) {
|
|
|
14
14
|
$parcel$export(module.exports, "ReactSelectedFilters", () => $19e9e02e1e300b6d$export$aea1707d7b01c3a2);
|
|
15
15
|
$parcel$export(module.exports, "ReactFilterBody", () => $240090d16a629bfe$export$d929db7fb6179159);
|
|
16
16
|
$parcel$export(module.exports, "ExpandingSection", () => $2214dc111b9e2866$export$4ea53cd12ff17334);
|
|
17
|
+
$parcel$export(module.exports, "ReactLookCard", () => $35bab9ff48bfe404$export$48787da2a5568bc);
|
|
17
18
|
$parcel$export(module.exports, "version", () => $0a017be3a74fcc94$export$83d89fbfd8236492);
|
|
18
19
|
/*! Depict.ai portal components */ // This is where the actual source of your React stuff should live
|
|
19
|
-
const $0a017be3a74fcc94$export$83d89fbfd8236492 = "2.5.
|
|
20
|
+
const $0a017be3a74fcc94$export$83d89fbfd8236492 = "2.5.1";
|
|
20
21
|
|
|
21
22
|
|
|
22
23
|
|
|
@@ -189,6 +190,38 @@ function $2214dc111b9e2866$export$4ea53cd12ff17334({ summary: summary_children,
|
|
|
189
190
|
}
|
|
190
191
|
|
|
191
192
|
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
function $35bab9ff48bfe404$export$48787da2a5568bc(react_props) {
|
|
197
|
+
return (0, $d38f1fd3cc4cd6b2$export$f6e64e17bd69eeef)({
|
|
198
|
+
solid_component: (props_store)=>{
|
|
199
|
+
const animationDuration = 240;
|
|
200
|
+
const signal = (0, $7jsgb$solidjs.createSignal)(new Set());
|
|
201
|
+
const pseudoRouter = new (0, $7jsgb$depictaiuilatest.PseudoRouter)("hard_navigation");
|
|
202
|
+
const renderCard = (0, $7jsgb$solidjs.createMemo)(()=>{
|
|
203
|
+
return (0, $7jsgb$depictaiuilatest.LookCard)({
|
|
204
|
+
display_: props_store.display_,
|
|
205
|
+
animationDuration_: animationDuration,
|
|
206
|
+
expandedLooksSignal_: signal,
|
|
207
|
+
placeholderImageAspectRatio_: 0.75,
|
|
208
|
+
priceFormatting_: ()=>({
|
|
209
|
+
pre_: "",
|
|
210
|
+
post_: "",
|
|
211
|
+
decimal_places_delimiter_: ".",
|
|
212
|
+
thousands_delimiter_: " ",
|
|
213
|
+
places_after_comma_: 0
|
|
214
|
+
}),
|
|
215
|
+
pseudoRouter_: pseudoRouter
|
|
216
|
+
});
|
|
217
|
+
});
|
|
218
|
+
return renderCard;
|
|
219
|
+
},
|
|
220
|
+
props: react_props
|
|
221
|
+
});
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
|
|
192
225
|
(0, $7jsgb$depictaiutilisharedlatest.add_to_version_info)("react-ui", (0, $0a017be3a74fcc94$export$83d89fbfd8236492));
|
|
193
226
|
|
|
194
227
|
|
package/dist/module.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {add_to_version_info as $2MCgq$add_to_version_info} from "@depict-ai/utilishared/latest";
|
|
2
2
|
import {createSignal as $2MCgq$createSignal, createMemo as $2MCgq$createMemo, untrack as $2MCgq$untrack} from "solid-js";
|
|
3
|
-
import {accessor_of_object_to_object_with_accessor_values as $2MCgq$accessor_of_object_to_object_with_accessor_values, create_modified_filters as $2MCgq$create_modified_filters, SelectedFilters as $2MCgq$SelectedFilters, FilterBody as $2MCgq$FilterBody, ExpandingDetails as $2MCgq$ExpandingDetails} from "@depict-ai/ui/latest";
|
|
3
|
+
import {accessor_of_object_to_object_with_accessor_values as $2MCgq$accessor_of_object_to_object_with_accessor_values, create_modified_filters as $2MCgq$create_modified_filters, SelectedFilters as $2MCgq$SelectedFilters, FilterBody as $2MCgq$FilterBody, ExpandingDetails as $2MCgq$ExpandingDetails, PseudoRouter as $2MCgq$PseudoRouter, LookCard as $2MCgq$LookCard} from "@depict-ai/ui/latest";
|
|
4
4
|
import {render as $2MCgq$render, insert as $2MCgq$insert} from "solid-js/web";
|
|
5
5
|
import {useRef as $2MCgq$useRef, useState as $2MCgq$useState, useEffect as $2MCgq$useEffect, createElement as $2MCgq$createElement, Fragment as $2MCgq$Fragment} from "react";
|
|
6
6
|
import {createStore as $2MCgq$createStore, reconcile as $2MCgq$reconcile} from "solid-js/store";
|
|
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.5.
|
|
10
|
+
const $91c11b750e80ede3$export$83d89fbfd8236492 = "2.5.1";
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
@@ -180,7 +180,39 @@ function $c79c5cb5e9424dd7$export$4ea53cd12ff17334({ summary: summary_children,
|
|
|
180
180
|
}
|
|
181
181
|
|
|
182
182
|
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
function $8a700ff0722c56b3$export$48787da2a5568bc(react_props) {
|
|
187
|
+
return (0, $0fe03f2fcd2418f8$export$f6e64e17bd69eeef)({
|
|
188
|
+
solid_component: (props_store)=>{
|
|
189
|
+
const animationDuration = 240;
|
|
190
|
+
const signal = (0, $2MCgq$createSignal)(new Set());
|
|
191
|
+
const pseudoRouter = new (0, $2MCgq$PseudoRouter)("hard_navigation");
|
|
192
|
+
const renderCard = (0, $2MCgq$createMemo)(()=>{
|
|
193
|
+
return (0, $2MCgq$LookCard)({
|
|
194
|
+
display_: props_store.display_,
|
|
195
|
+
animationDuration_: animationDuration,
|
|
196
|
+
expandedLooksSignal_: signal,
|
|
197
|
+
placeholderImageAspectRatio_: 0.75,
|
|
198
|
+
priceFormatting_: ()=>({
|
|
199
|
+
pre_: "",
|
|
200
|
+
post_: "",
|
|
201
|
+
decimal_places_delimiter_: ".",
|
|
202
|
+
thousands_delimiter_: " ",
|
|
203
|
+
places_after_comma_: 0
|
|
204
|
+
}),
|
|
205
|
+
pseudoRouter_: pseudoRouter
|
|
206
|
+
});
|
|
207
|
+
});
|
|
208
|
+
return renderCard;
|
|
209
|
+
},
|
|
210
|
+
props: react_props
|
|
211
|
+
});
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
|
|
183
215
|
(0, $2MCgq$add_to_version_info)("react-ui", (0, $91c11b750e80ede3$export$83d89fbfd8236492));
|
|
184
216
|
|
|
185
217
|
|
|
186
|
-
export {$0cb1638b3c084153$export$aea1707d7b01c3a2 as ReactSelectedFilters, $890b58a81f64b470$export$d929db7fb6179159 as ReactFilterBody, $c79c5cb5e9424dd7$export$4ea53cd12ff17334 as ExpandingSection, $91c11b750e80ede3$export$83d89fbfd8236492 as version};
|
|
218
|
+
export {$0cb1638b3c084153$export$aea1707d7b01c3a2 as ReactSelectedFilters, $890b58a81f64b470$export$d929db7fb6179159 as ReactFilterBody, $c79c5cb5e9424dd7$export$4ea53cd12ff17334 as ExpandingSection, $8a700ff0722c56b3$export$48787da2a5568bc as ReactLookCard, $91c11b750e80ede3$export$83d89fbfd8236492 as version};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@depict-ai/portal-components",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.1",
|
|
4
4
|
"packageManager": "yarn@3.2.2",
|
|
5
5
|
"source": "src/index.ts",
|
|
6
6
|
"main": "dist/main.js",
|
|
@@ -99,11 +99,11 @@
|
|
|
99
99
|
"dependencies": {
|
|
100
100
|
"@babel/runtime": "latest",
|
|
101
101
|
"@babel/runtime-corejs3": "^7.22.6",
|
|
102
|
-
"@depict-ai/plp-styling": "^4.3.
|
|
103
|
-
"@depict-ai/react-ui": "^4.5.
|
|
104
|
-
"@depict-ai/types": "^5.3.
|
|
105
|
-
"@depict-ai/ui": "^4.6.
|
|
106
|
-
"@depict-ai/utilishared": "^2.3.
|
|
102
|
+
"@depict-ai/plp-styling": "^4.3.1",
|
|
103
|
+
"@depict-ai/react-ui": "^4.5.1",
|
|
104
|
+
"@depict-ai/types": "^5.3.1",
|
|
105
|
+
"@depict-ai/ui": "^4.6.1",
|
|
106
|
+
"@depict-ai/utilishared": "^2.3.1",
|
|
107
107
|
"parcel": "^2.10.3",
|
|
108
108
|
"solid-js": "^1.8.12"
|
|
109
109
|
}
|