@primestyleai/tryon 5.6.7 → 5.6.9

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,40 @@
1
+ import type { TranslateFn } from "../../i18n";
2
+ /**
3
+ * Mobile-only body shape question component. Renders a single question
4
+ * (chest / midsection / seat / hips) as a vertical stack of full-width
5
+ * cards matching the reference design:
6
+ *
7
+ * STEP 04 / 06
8
+ *
9
+ * WHICH BEST DESCRIBES
10
+ * YOUR MIDSECTION?
11
+ *
12
+ * ┌────────────────────────────┐
13
+ * │ PROFILE A │
14
+ * │ FLAT [img]│
15
+ * └────────────────────────────┘
16
+ * ┌────────────────────────────┐
17
+ * │ PROFILE B [DARK] │ ← selected (accent fill)
18
+ * │ AVERAGE [img] │
19
+ * └────────────────────────────┘
20
+ * ┌────────────────────────────┐
21
+ * │ PROFILE C │
22
+ * │ FULL [img] │
23
+ * └────────────────────────────┘
24
+ */
25
+ export interface BodyShapeOption<T extends string> {
26
+ value: T;
27
+ label: string;
28
+ img?: string | null;
29
+ }
30
+ interface BodyShapeStepMobileProps<T extends string> {
31
+ stepNumber: number;
32
+ totalSteps: number;
33
+ title: string;
34
+ options: BodyShapeOption<T>[];
35
+ selected: T | null;
36
+ onSelect: (v: T) => void;
37
+ t: TranslateFn;
38
+ }
39
+ export declare function BodyShapeStepMobile<T extends string>({ stepNumber, totalSteps, title, options, selected, onSelect, t, }: BodyShapeStepMobileProps<T>): import("react/jsx-runtime").JSX.Element;
40
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primestyleai/tryon",
3
- "version": "5.6.7",
3
+ "version": "5.6.9",
4
4
  "description": "PrimeStyle Virtual Try-On SDK — React component & Web Component",
5
5
  "type": "module",
6
6
  "main": "dist/primestyle-tryon.js",