@primestyleai/tryon 5.10.172 → 5.10.175
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/api-client.d.ts +8 -3
- package/dist/image-utils.d.ts +1 -0
- package/dist/{index-B1_VQgps.js → index-D4yjnBvO.js} +147 -82
- package/dist/index-D4yjnBvO.js.map +1 -0
- package/dist/primestyle-tryon.js +6 -5
- package/dist/primestyle-tryon.js.map +1 -1
- package/dist/react/PrimeStyleTryonInner.d.ts +7 -2
- package/dist/react/components/LangSwitcher.d.ts +2 -1
- package/dist/react/components/ProfileDetailModal.d.ts +2 -1
- package/dist/react/icons.d.ts +3 -0
- package/dist/react/index.js +9334 -6250
- package/dist/react/index.js.map +1 -1
- package/dist/react/recommendForProduct.d.ts +6 -0
- package/dist/react/styles.d.ts +1 -1
- package/dist/react/types.d.ts +56 -0
- package/dist/react/utils/locale.d.ts +3 -1
- package/dist/react/utils/product-fit.d.ts +19 -0
- package/dist/react/utils/profile-auth.d.ts +10 -0
- package/dist/react/utils/profile-image.d.ts +3 -0
- package/dist/react/utils/remote-profiles.d.ts +7 -0
- package/dist/react/utils/shoe-reference.d.ts +39 -0
- package/dist/react/views/AccessorySizeView.d.ts +1 -0
- package/dist/react/views/BasicsStepMobile.d.ts +3 -1
- package/dist/react/views/BodyProfileView.d.ts +11 -3
- package/dist/react/views/CreateProfileWizard.d.ts +4 -2
- package/dist/react/views/ErrorView.d.ts +4 -3
- package/dist/react/views/FootSizeView.d.ts +1 -0
- package/dist/react/views/MobileScanningView.d.ts +5 -1
- package/dist/react/views/MultiSectionMobile.d.ts +7 -2
- package/dist/react/views/MySizingProfilesView.d.ts +5 -2
- package/dist/react/views/PhotoGuideView.d.ts +1 -1
- package/dist/react/views/PhotoStepMobile.d.ts +3 -1
- package/dist/react/views/ProductPhotoCarouselCard.d.ts +8 -2
- package/dist/react/views/SizeResultView.d.ts +8 -2
- package/dist/react/views/SocialProfileAuthView.d.ts +10 -0
- package/dist/react/views/WristSizeView.d.ts +28 -0
- package/dist/sizing/fit-compute.d.ts +8 -0
- package/dist/storefront/cart-hook.d.ts +4 -4
- package/dist/storefront/events.d.ts +6 -0
- package/dist/storefront/primestyle-tryon.js +4755 -1046
- package/dist/types.d.ts +5 -0
- package/package.json +1 -4
- package/dist/index-B1_VQgps.js.map +0 -1
package/dist/types.d.ts
CHANGED
|
@@ -21,6 +21,7 @@ export interface ButtonStyles {
|
|
|
21
21
|
fontSize?: string;
|
|
22
22
|
fontFamily?: string;
|
|
23
23
|
fontWeight?: string;
|
|
24
|
+
textDecoration?: string;
|
|
24
25
|
padding?: string;
|
|
25
26
|
paddingLeft?: string;
|
|
26
27
|
paddingRight?: string;
|
|
@@ -28,12 +29,15 @@ export interface ButtonStyles {
|
|
|
28
29
|
paddingBottom?: string;
|
|
29
30
|
border?: string;
|
|
30
31
|
width?: string;
|
|
32
|
+
minWidth?: string;
|
|
33
|
+
maxWidth?: string;
|
|
31
34
|
height?: string;
|
|
32
35
|
hoverBackgroundColor?: string;
|
|
33
36
|
hoverTextColor?: string;
|
|
34
37
|
iconSize?: string;
|
|
35
38
|
iconColor?: string;
|
|
36
39
|
boxShadow?: string;
|
|
40
|
+
displayMode?: "button" | "text";
|
|
37
41
|
}
|
|
38
42
|
/** Modal customization options */
|
|
39
43
|
export interface ModalStyles {
|
|
@@ -85,6 +89,7 @@ export interface TryOnResponse {
|
|
|
85
89
|
status: string;
|
|
86
90
|
tryOnsUsed: number;
|
|
87
91
|
newBalance: number;
|
|
92
|
+
streamUrl?: string;
|
|
88
93
|
/** Opaque id of the user's photo as cached on the backend. Send this back
|
|
89
94
|
* on subsequent regens (via TryOnContext.modelImageId) instead of re-uploading
|
|
90
95
|
* the full image. Backend keeps the entry for 1 hour, refreshed on each use. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@primestyleai/tryon",
|
|
3
|
-
"version": "5.10.
|
|
3
|
+
"version": "5.10.175",
|
|
4
4
|
"description": "PrimeStyle Virtual Try-On SDK — React component & Web Component",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/primestyle-tryon.js",
|
|
@@ -64,8 +64,5 @@
|
|
|
64
64
|
"terser": "^5.31.0",
|
|
65
65
|
"typescript": "^5.5.0",
|
|
66
66
|
"vite": "^5.4.0"
|
|
67
|
-
},
|
|
68
|
-
"dependencies": {
|
|
69
|
-
"@primestyleai/tryon": "file:primestyleai-tryon-5.10.171.tgz"
|
|
70
67
|
}
|
|
71
68
|
}
|