@primestyleai/tryon 5.6.3 → 5.6.5
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,20 @@
|
|
|
1
|
+
import type { TranslateFn } from "../../i18n";
|
|
2
|
+
import type { Profile } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* Multi-step profile creation wizard matching the ATELIER reference design,
|
|
5
|
+
* but themed with the user's accent color instead of monochrome black.
|
|
6
|
+
*
|
|
7
|
+
* Step 01 — Identity name + gender + units + height/weight/age
|
|
8
|
+
* Step 02 — Silhouette chest / midsection / seat profile cards
|
|
9
|
+
* (women only) bra band + cup
|
|
10
|
+
*
|
|
11
|
+
* On save, calls onSave with a partial Profile (parent persists + runs
|
|
12
|
+
* estimateFullMeasurements in the background).
|
|
13
|
+
*/
|
|
14
|
+
interface CreateProfileWizardProps {
|
|
15
|
+
onSave: (data: Omit<Profile, "id" | "createdAt">) => void;
|
|
16
|
+
onCancel: () => void;
|
|
17
|
+
t: TranslateFn;
|
|
18
|
+
}
|
|
19
|
+
export declare function CreateProfileWizard({ onSave, onCancel, t }: CreateProfileWizardProps): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { TranslateFn } from "../../i18n";
|
|
2
|
+
import type { Profile } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* Profile detail view — shown when the user taps a profile card in the
|
|
5
|
+
* grid. Displays the profile name, basic stats, and the full LLM-computed
|
|
6
|
+
* body measurements (chest, waist, hips, sleeve, inseam, etc.) in a clean
|
|
7
|
+
* grid. Measurements appear with a "Calculating..." placeholder while the
|
|
8
|
+
* background estimateFullMeasurements call is in flight.
|
|
9
|
+
*/
|
|
10
|
+
interface ProfileMeasurementsViewProps {
|
|
11
|
+
profile: Profile;
|
|
12
|
+
isActive: boolean;
|
|
13
|
+
onSelect: () => void;
|
|
14
|
+
onEdit: () => void;
|
|
15
|
+
onDelete: () => void;
|
|
16
|
+
onBack: () => void;
|
|
17
|
+
t: TranslateFn;
|
|
18
|
+
}
|
|
19
|
+
export declare function ProfileMeasurementsView({ profile, isActive, onSelect, onEdit, onDelete, onBack, t, }: ProfileMeasurementsViewProps): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export {};
|