@primestyleai/tryon 5.10.49 → 5.10.50
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 +644 -633
- package/dist/react/index.js.map +1 -1
- package/dist/storefront/primestyle-tryon.js +18 -6
- package/package.json +1 -1
|
@@ -18964,12 +18964,24 @@ function SectionDetailView({
|
|
|
18964
18964
|
"button",
|
|
18965
18965
|
{
|
|
18966
18966
|
type: "button",
|
|
18967
|
-
onClick: () =>
|
|
18968
|
-
|
|
18969
|
-
|
|
18970
|
-
|
|
18971
|
-
|
|
18972
|
-
|
|
18967
|
+
onClick: (e) => {
|
|
18968
|
+
console.log("[ps-sdk:regen-btn] CLICKED", {
|
|
18969
|
+
effSize,
|
|
18970
|
+
effLength,
|
|
18971
|
+
hasLengthPick,
|
|
18972
|
+
label,
|
|
18973
|
+
bubbles: e.bubbles,
|
|
18974
|
+
defaultPrevented: e.defaultPrevented
|
|
18975
|
+
});
|
|
18976
|
+
const payload = {
|
|
18977
|
+
selectedSize: effSize,
|
|
18978
|
+
selectedLength: hasLengthPick ? effLength : void 0,
|
|
18979
|
+
displayLabel: label,
|
|
18980
|
+
matchDetails: buildOverrideMatchDetails()
|
|
18981
|
+
};
|
|
18982
|
+
console.log("[ps-sdk:regen-btn] calling onRegenerateTryOn with", payload);
|
|
18983
|
+
onRegenerateTryOn(payload);
|
|
18984
|
+
},
|
|
18973
18985
|
style: {
|
|
18974
18986
|
width: "100%",
|
|
18975
18987
|
padding: "0.55vw 0.8vw",
|