@primestyleai/tryon 5.5.10 → 5.5.12

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.
@@ -16,7 +16,7 @@ interface BasicsStepMobileProps {
16
16
  switchToMetric: () => void;
17
17
  switchToImperial: () => void;
18
18
  onUploadPhoto: () => void;
19
- /** Tab bar callback — same as onUploadPhoto, sets the parent step to "photo" */
19
+ /** Tab bar callback — sets the parent step to "photo" */
20
20
  onSwitchToScan: () => void;
21
21
  /** Next button callback — advances the flow (parent owns handleNext) */
22
22
  onNext: () => void;
@@ -0,0 +1,12 @@
1
+ import type { TranslateFn } from "../../i18n";
2
+ interface PhotoStepMobileProps {
3
+ photoPreview: string | null;
4
+ handlePhotoSelect: (e: React.ChangeEvent<HTMLInputElement>) => void;
5
+ handleRemovePhoto: () => void;
6
+ onAnalyze: () => void;
7
+ onSwitchToManual: () => void;
8
+ error: string;
9
+ t: TranslateFn;
10
+ }
11
+ export declare function PhotoStepMobile({ photoPreview, handlePhotoSelect, handleRemovePhoto, onAnalyze, onSwitchToManual, error, t, }: PhotoStepMobileProps): import("react/jsx-runtime").JSX.Element;
12
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primestyleai/tryon",
3
- "version": "5.5.10",
3
+ "version": "5.5.12",
4
4
  "description": "PrimeStyle Virtual Try-On SDK — React component & Web Component",
5
5
  "type": "module",
6
6
  "main": "dist/primestyle-tryon.js",