@primestyleai/tryon 5.8.31 → 5.8.33
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,24 @@
|
|
|
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 monoline-icon redesign.
|
|
5
|
+
*
|
|
6
|
+
* Layout: a left column with the profile name eyebrow + a body
|
|
7
|
+
* silhouette diagram (acts as the visual reference for what each
|
|
8
|
+
* measurement maps to on the body), and a right column with the
|
|
9
|
+
* basics (height/weight/age) + the body measurement grid. Every
|
|
10
|
+
* measurement label is paired with a small line-art SVG icon.
|
|
11
|
+
*
|
|
12
|
+
* No more avatar circle. No more dense card boxes. Everything is
|
|
13
|
+
* vw/clamp-scaled to keep ratio at any viewport size.
|
|
9
14
|
*/
|
|
10
15
|
interface ProfileMeasurementsViewProps {
|
|
11
16
|
profile: Profile;
|
|
12
17
|
isActive: boolean;
|
|
13
18
|
onSelect: () => void;
|
|
14
|
-
/** Persist updated measurements back to the profile */
|
|
15
19
|
onSaveMeasurements: (measurements: ProfileMeasurements) => void;
|
|
16
20
|
onDelete: () => void;
|
|
17
21
|
onBack: () => void;
|
|
18
|
-
/** Save the profile and return to the grid (only enabled once measurements arrive) */
|
|
19
22
|
onSave: () => void;
|
|
20
23
|
t: TranslateFn;
|
|
21
24
|
}
|