@swan-io/lake 13.7.5 → 13.7.6
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/package.json
CHANGED
|
@@ -165,7 +165,7 @@ export const MobileStepper = ({ steps, activeStepId }) => {
|
|
|
165
165
|
return currentStep.match({
|
|
166
166
|
Some: ({ number, label, isErrorState }) => {
|
|
167
167
|
const progress = `${(Number.parseFloat(number) / total) * 100}%`;
|
|
168
|
-
return (_jsxs(View, { children: [_jsx(LakeText, { variant: "
|
|
168
|
+
return (_jsxs(View, { children: [_jsx(LakeText, { variant: "medium", color: isErrorState ? colors.negative[500] : colors.current[500], children: label }), _jsxs(LakeText, { variant: "smallRegular", color: colors.gray[300], children: [number, " of ", total] }), _jsx(View, { style: stylesMobile.progress, children: _jsx(View, { style: [stylesMobile.progressBar, { width: progress }] }) })] }));
|
|
169
169
|
},
|
|
170
170
|
None: () => null,
|
|
171
171
|
});
|