@primestyleai/tryon 5.5.6 → 5.5.7

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.
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Mirrors the prime-main DeviceSwitch pattern. Returns false on the
3
+ * server / first client render to avoid hydration mismatch, then flips
4
+ * to the real value after mount. Listens to resize so toggling devtools
5
+ * device preview also flips the layout.
6
+ */
7
+ export declare function useIsMobile(): boolean;
@@ -0,0 +1,25 @@
1
+ import type { TranslateFn } from "../../i18n";
2
+ interface BasicsStepMobileProps {
3
+ productImage: string;
4
+ productTitle: string;
5
+ hUnit: string;
6
+ wUnit: string;
7
+ isImperialMode: boolean;
8
+ height: string;
9
+ setHeight: (v: string) => void;
10
+ heightFeet: string;
11
+ setHeightFeet: (v: string) => void;
12
+ heightInches: string;
13
+ setHeightInches: (v: string) => void;
14
+ weight: string;
15
+ setWeight: (v: string) => void;
16
+ age: string;
17
+ setAge: (v: string) => void;
18
+ switchToMetric: () => void;
19
+ switchToImperial: () => void;
20
+ onUploadPhoto: () => void;
21
+ error: string;
22
+ t: TranslateFn;
23
+ }
24
+ export declare function BasicsStepMobile({ productImage, productTitle, hUnit, wUnit, isImperialMode, height, setHeight, heightFeet, setHeightFeet, heightInches, setHeightInches, weight, setWeight, age, setAge, switchToMetric, switchToImperial, onUploadPhoto, error, t, }: BasicsStepMobileProps): import("react/jsx-runtime").JSX.Element;
25
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primestyleai/tryon",
3
- "version": "5.5.6",
3
+ "version": "5.5.7",
4
4
  "description": "PrimeStyle Virtual Try-On SDK — React component & Web Component",
5
5
  "type": "module",
6
6
  "main": "dist/primestyle-tryon.js",