@primestyleai/tryon 5.8.32 → 5.8.34
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,21 +1,22 @@
|
|
|
1
1
|
import type { TranslateFn } from "../../i18n";
|
|
2
2
|
import type { Profile, ProfileMeasurements } from "../types";
|
|
3
3
|
/**
|
|
4
|
-
* Profile detail view —
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
4
|
+
* Profile detail view — minimal Gemini-icon redesign.
|
|
5
|
+
*
|
|
6
|
+
* Layout: a left column with the profile name eyebrow + a Gemini
|
|
7
|
+
* monoline body silhouette diagram (acts as the visual reference for
|
|
8
|
+
* what each measurement maps to on the body), and a right column with
|
|
9
|
+
* the basics (height/weight/age) + the body measurement list. Every
|
|
10
|
+
* label is paired with a small Gemini-generated line-art icon — same
|
|
11
|
+
* monoline aesthetic as the rest of the SDK assets.
|
|
9
12
|
*/
|
|
10
13
|
interface ProfileMeasurementsViewProps {
|
|
11
14
|
profile: Profile;
|
|
12
15
|
isActive: boolean;
|
|
13
16
|
onSelect: () => void;
|
|
14
|
-
/** Persist updated measurements back to the profile */
|
|
15
17
|
onSaveMeasurements: (measurements: ProfileMeasurements) => void;
|
|
16
18
|
onDelete: () => void;
|
|
17
19
|
onBack: () => void;
|
|
18
|
-
/** Save the profile and return to the grid (only enabled once measurements arrive) */
|
|
19
20
|
onSave: () => void;
|
|
20
21
|
t: TranslateFn;
|
|
21
22
|
}
|