@titan-design/react-ui 0.9.1 → 0.9.2
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.
- package/dist/index.d.mts +13 -3
- package/dist/index.d.ts +13 -3
- package/dist/index.js +20 -21
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +20 -21
- package/dist/index.mjs.map +1 -1
- package/dist/pages.js +2 -1
- package/dist/pages.js.map +1 -1
- package/dist/pages.mjs +2 -1
- package/dist/pages.mjs.map +1 -1
- package/package.json +1 -1
- package/src/components/custom/Workout/ExerciseHeading.tsx +5 -3
- package/src/components/custom/Workout/SessionHeader.tsx +6 -5
- package/src/components/custom/Workout/SessionRail.tsx +18 -7
- package/src/components/custom/Workout/SetsRepsLoad.tsx +2 -1
- package/src/components/shell/DashboardShell.tsx +7 -9
- package/src/components/shell/NavItem.tsx +6 -1
package/dist/pages.js
CHANGED
|
@@ -2635,7 +2635,8 @@ function ExerciseIndicator({ kind, onPress, className, ...props }) {
|
|
|
2635
2635
|
|
|
2636
2636
|
// src/components/custom/Workout/ExerciseHeading.tsx
|
|
2637
2637
|
function headingLabel(name, sets, reps, load, unit) {
|
|
2638
|
-
|
|
2638
|
+
const loadLabel = typeof load === "number" ? roundWeight(load) : load;
|
|
2639
|
+
return `${name}, ${sets}\xD7${reps} @ ${loadLabel} ${unit}`;
|
|
2639
2640
|
}
|
|
2640
2641
|
function ExerciseHeading({
|
|
2641
2642
|
name,
|