@primestyleai/tryon 5.6.15 → 5.6.17

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.
@@ -25,8 +25,13 @@ interface BasicsStepMobileProps {
25
25
  /** Optional override label for the Next button (e.g. "Find My Best Fit"
26
26
  * when an active profile is selected and we're skipping the wizard) */
27
27
  fastPathLabel?: string;
28
+ /** Display name of the loaded profile — when set, shows a "Profile X loaded"
29
+ * banner with a "Start fresh AI sizing" link. */
30
+ activeProfileName?: string | null;
31
+ /** Deselect the active profile so the user can run a fresh AI sizing flow. */
32
+ onStartFresh?: () => void;
28
33
  error: string;
29
34
  t: TranslateFn;
30
35
  }
31
- export declare function BasicsStepMobile({ hUnit, wUnit, isImperialMode, height, setHeight, heightFeet, setHeightFeet, heightInches, setHeightInches, weight, setWeight, age, setAge, switchToMetric, switchToImperial, onUploadPhoto, onSwitchToScan, onNext, canProceed, fastPathLabel, error, t, }: BasicsStepMobileProps): import("react/jsx-runtime").JSX.Element;
36
+ export declare function BasicsStepMobile({ hUnit, wUnit, isImperialMode, height, setHeight, heightFeet, setHeightFeet, heightInches, setHeightInches, weight, setWeight, age, setAge, switchToMetric, switchToImperial, onUploadPhoto, onSwitchToScan, onNext, canProceed, fastPathLabel, activeProfileName, onStartFresh, error, t, }: BasicsStepMobileProps): import("react/jsx-runtime").JSX.Element;
32
37
  export {};
@@ -42,8 +42,14 @@ interface BodyProfileViewProps {
42
42
  /** Fast-path callback: skip the rest of the wizard and run /sizing/recommend
43
43
  * with the active profile's stored measurements directly. */
44
44
  onUseActiveProfile?: () => void;
45
+ /** Display name of the currently active profile (for the "Profile X loaded"
46
+ * banner shown on the basics step). */
47
+ activeProfileName?: string | null;
48
+ /** Deselect the active profile so the user can run a fresh AI sizing flow
49
+ * with full body-shape questions. */
50
+ onStartFresh?: () => void;
45
51
  onBack: () => void;
46
52
  t: TranslateFn;
47
53
  }
48
- export declare function BodyProfileView({ productImage, productTitle, isWomen, formRef, sizingCountry, heightUnit, setHeightUnit, weightUnit, setWeightUnit, sizingUnit, setSizingUnit, onComplete, onSnapSubmit, hasActiveProfileWithMeasurements, onUseActiveProfile, onBack, t, }: BodyProfileViewProps): import("react/jsx-runtime").JSX.Element;
54
+ export declare function BodyProfileView({ productImage, productTitle, isWomen, formRef, sizingCountry, heightUnit, setHeightUnit, weightUnit, setWeightUnit, sizingUnit, setSizingUnit, onComplete, onSnapSubmit, hasActiveProfileWithMeasurements, onUseActiveProfile, activeProfileName, onStartFresh, onBack, t, }: BodyProfileViewProps): import("react/jsx-runtime").JSX.Element;
49
55
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primestyleai/tryon",
3
- "version": "5.6.15",
3
+ "version": "5.6.17",
4
4
  "description": "PrimeStyle Virtual Try-On SDK — React component & Web Component",
5
5
  "type": "module",
6
6
  "main": "dist/primestyle-tryon.js",