@primestyleai/tryon 4.7.7 → 4.7.9
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/react/index.js +7 -1
- package/package.json +1 -1
package/dist/react/index.js
CHANGED
|
@@ -5653,8 +5653,14 @@ function BodyProfileView({
|
|
|
5653
5653
|
}, [step, steps, onBack]);
|
|
5654
5654
|
const canProceed = step === "basics" ? true : step === "chest" ? !!chestProfile : step === "midsection" ? !!midsectionProfile : step === "seat" ? !!seatProfile : step === "hips" ? !!hipProfile : step === "bra" ? !!(bandSize && cupSize) : step === "photo" ? true : false;
|
|
5655
5655
|
const isLastStep = step === steps[steps.length - 1];
|
|
5656
|
+
if (step === "photo") {
|
|
5657
|
+
return /* @__PURE__ */ jsxs("div", { className: "ps-bp-wrapper", children: [
|
|
5658
|
+
/* @__PURE__ */ jsx("div", { style: { display: "flex", alignItems: "center", justifyContent: "center", width: "100%", height: "100%", minHeight: "20vw" }, children: /* @__PURE__ */ jsx("span", { style: { fontSize: "1.2vw", fontWeight: 600, color: "var(--ps-text-primary)" }, children: "hello" }) }),
|
|
5659
|
+
/* @__PURE__ */ jsx("input", { ref: fileInputRef, type: "file", accept: "image/*", onChange: handlePhotoSelect, style: { display: "none" } })
|
|
5660
|
+
] });
|
|
5661
|
+
}
|
|
5656
5662
|
return /* @__PURE__ */ jsx("div", { className: "ps-bp-wrapper", children: /* @__PURE__ */ jsxs("div", { className: "ps-bp-layout", children: [
|
|
5657
|
-
|
|
5663
|
+
/* @__PURE__ */ jsx("div", { className: "ps-bp-image", children: /* @__PURE__ */ jsx("img", { src: productImage, alt: productTitle, className: "ps-bp-image-img" }) }),
|
|
5658
5664
|
/* @__PURE__ */ jsx(
|
|
5659
5665
|
"input",
|
|
5660
5666
|
{
|