@primestyleai/tryon 5.5.8 → 5.5.10

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.
@@ -1,7 +1,5 @@
1
1
  import type { TranslateFn } from "../../i18n";
2
2
  interface BasicsStepMobileProps {
3
- productImage: string;
4
- productTitle: string;
5
3
  hUnit: string;
6
4
  wUnit: string;
7
5
  isImperialMode: boolean;
@@ -20,8 +18,12 @@ interface BasicsStepMobileProps {
20
18
  onUploadPhoto: () => void;
21
19
  /** Tab bar callback — same as onUploadPhoto, sets the parent step to "photo" */
22
20
  onSwitchToScan: () => void;
21
+ /** Next button callback — advances the flow (parent owns handleNext) */
22
+ onNext: () => void;
23
+ /** Whether the Next button should be enabled */
24
+ canProceed: boolean;
23
25
  error: string;
24
26
  t: TranslateFn;
25
27
  }
26
- export declare function BasicsStepMobile({ productImage, productTitle, hUnit, wUnit, isImperialMode, height, setHeight, heightFeet, setHeightFeet, heightInches, setHeightInches, weight, setWeight, age, setAge, switchToMetric, switchToImperial, onUploadPhoto, onSwitchToScan, error, t, }: BasicsStepMobileProps): import("react/jsx-runtime").JSX.Element;
28
+ export declare function BasicsStepMobile({ hUnit, wUnit, isImperialMode, height, setHeight, heightFeet, setHeightFeet, heightInches, setHeightInches, weight, setWeight, age, setAge, switchToMetric, switchToImperial, onUploadPhoto, onSwitchToScan, onNext, canProceed, error, t, }: BasicsStepMobileProps): import("react/jsx-runtime").JSX.Element;
27
29
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primestyleai/tryon",
3
- "version": "5.5.8",
3
+ "version": "5.5.10",
4
4
  "description": "PrimeStyle Virtual Try-On SDK — React component & Web Component",
5
5
  "type": "module",
6
6
  "main": "dist/primestyle-tryon.js",