@widergy/mobile-ui 1.30.2 → 1.31.0
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/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [1.31.0](https://github.com/widergy/mobile-ui/compare/v1.30.2...v1.31.0) (2024-11-04)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* uttracker step banner ([#382](https://github.com/widergy/mobile-ui/issues/382)) ([26c90d8](https://github.com/widergy/mobile-ui/commit/26c90d8c3fade943d7348fe0b0a9d88f39ab2c51))
|
|
7
|
+
|
|
1
8
|
## [1.30.2](https://github.com/widergy/mobile-ui/compare/v1.30.1...v1.30.2) (2024-11-04)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -73,6 +73,13 @@ const Step = ({ first, index, isActive, isCompleted, setStepsPositions, step, st
|
|
|
73
73
|
{step.title}
|
|
74
74
|
</UTLabel>
|
|
75
75
|
)}
|
|
76
|
+
{step.banner?.text && (
|
|
77
|
+
<View style={themedStyles.stepBanner}>
|
|
78
|
+
<UTLabel weight="medium" variant="small" colorTheme={step.banner.colorTheme || 'warning'}>
|
|
79
|
+
{step.banner.text}
|
|
80
|
+
</UTLabel>
|
|
81
|
+
</View>
|
|
82
|
+
)}
|
|
76
83
|
</View>
|
|
77
84
|
</View>
|
|
78
85
|
);
|
|
@@ -71,6 +71,14 @@ export const getStepStyles = theme =>
|
|
|
71
71
|
},
|
|
72
72
|
stepMargin: { marginTop: 24 },
|
|
73
73
|
textContainer: {
|
|
74
|
-
width: '90%'
|
|
74
|
+
width: '90%',
|
|
75
|
+
gap: 8
|
|
76
|
+
},
|
|
77
|
+
stepBanner: {
|
|
78
|
+
backgroundColor: theme.Palette.warning['01'],
|
|
79
|
+
alignSelf: 'flex-start',
|
|
80
|
+
paddingVertical: 4,
|
|
81
|
+
paddingHorizontal: 8,
|
|
82
|
+
borderRadius: 8
|
|
75
83
|
}
|
|
76
84
|
});
|
package/package.json
CHANGED