@primestyleai/tryon 5.10.173 → 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.
Files changed (43) hide show
  1. package/dist/api-client.d.ts +8 -3
  2. package/dist/image-utils.d.ts +1 -0
  3. package/dist/{index-B1_VQgps.js → index-D4yjnBvO.js} +147 -82
  4. package/dist/index-D4yjnBvO.js.map +1 -0
  5. package/dist/primestyle-tryon.js +6 -5
  6. package/dist/primestyle-tryon.js.map +1 -1
  7. package/dist/react/PrimeStyleTryonInner.d.ts +7 -2
  8. package/dist/react/components/LangSwitcher.d.ts +2 -1
  9. package/dist/react/components/ProfileDetailModal.d.ts +2 -1
  10. package/dist/react/icons.d.ts +3 -0
  11. package/dist/react/index.js +9334 -6250
  12. package/dist/react/index.js.map +1 -1
  13. package/dist/react/recommendForProduct.d.ts +6 -0
  14. package/dist/react/styles.d.ts +1 -1
  15. package/dist/react/types.d.ts +56 -0
  16. package/dist/react/utils/locale.d.ts +3 -1
  17. package/dist/react/utils/product-fit.d.ts +19 -0
  18. package/dist/react/utils/profile-auth.d.ts +10 -0
  19. package/dist/react/utils/profile-image.d.ts +3 -0
  20. package/dist/react/utils/remote-profiles.d.ts +7 -0
  21. package/dist/react/utils/shoe-reference.d.ts +39 -0
  22. package/dist/react/views/AccessorySizeView.d.ts +1 -0
  23. package/dist/react/views/BasicsStepMobile.d.ts +3 -1
  24. package/dist/react/views/BodyProfileView.d.ts +11 -3
  25. package/dist/react/views/CreateProfileWizard.d.ts +4 -2
  26. package/dist/react/views/ErrorView.d.ts +4 -3
  27. package/dist/react/views/FootSizeView.d.ts +1 -0
  28. package/dist/react/views/MobileScanningView.d.ts +5 -1
  29. package/dist/react/views/MultiSectionMobile.d.ts +7 -2
  30. package/dist/react/views/MySizingProfilesView.d.ts +5 -2
  31. package/dist/react/views/PhotoGuideView.d.ts +1 -1
  32. package/dist/react/views/PhotoStepMobile.d.ts +3 -1
  33. package/dist/react/views/ProductPhotoCarouselCard.d.ts +8 -2
  34. package/dist/react/views/SizeResultView.d.ts +8 -2
  35. package/dist/react/views/SocialProfileAuthView.d.ts +10 -0
  36. package/dist/react/views/WristSizeView.d.ts +28 -0
  37. package/dist/sizing/fit-compute.d.ts +8 -0
  38. package/dist/storefront/cart-hook.d.ts +4 -4
  39. package/dist/storefront/events.d.ts +6 -0
  40. package/dist/storefront/primestyle-tryon.js +4755 -1046
  41. package/dist/types.d.ts +5 -0
  42. package/package.json +2 -3
  43. 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.173",
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,6 +64,5 @@
64
64
  "terser": "^5.31.0",
65
65
  "typescript": "^5.5.0",
66
66
  "vite": "^5.4.0"
67
- },
68
- "dependencies": {}
67
+ }
69
68
  }