@widergy/mobile-ui 1.4.3 → 1.4.5
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 +17 -0
- package/lib/components/Button/index.js +1 -1
- package/lib/components/UTHeader/index.js +22 -5
- package/lib/components/UTPasswordField/components/PasswordValidations/components/Validation/styles.js +1 -0
- package/lib/components/UTTopbar/index.js +0 -1
- package/lib/components/UTWorkflowContainer/versions/V1/components/BottomActions/components/ActionButton/index.js +5 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,20 @@
|
|
|
1
|
+
## [1.4.5](https://github.com/widergy/mobile-ui/compare/v1.4.4...v1.4.5) (2024-04-22)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* goback ([1f85d68](https://github.com/widergy/mobile-ui/commit/1f85d682b0966087e7273a8bfa3d859eeabcb5c5))
|
|
7
|
+
* margin password field ([de3c51a](https://github.com/widergy/mobile-ui/commit/de3c51a8d4dc38e67754dfdb9e1420cef3776ea5))
|
|
8
|
+
* topbar ([f49a436](https://github.com/widergy/mobile-ui/commit/f49a436235a4635ae24e59df39984231ff8d2d73))
|
|
9
|
+
* utheader styles ([926250f](https://github.com/widergy/mobile-ui/commit/926250ff3ceccac50b75eb861b5b4fc1cecab23e))
|
|
10
|
+
|
|
11
|
+
## [1.4.4](https://github.com/widergy/mobile-ui/compare/v1.4.3...v1.4.4) (2024-04-18)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
* elevation ([96132e6](https://github.com/widergy/mobile-ui/commit/96132e62cc7fe502f7a1ec621995d4ae67602b75))
|
|
17
|
+
|
|
1
18
|
## [1.4.3](https://github.com/widergy/mobile-ui/compare/v1.4.2...v1.4.3) (2024-04-15)
|
|
2
19
|
|
|
3
20
|
|
|
@@ -18,35 +18,52 @@ const UTHeader = ({ tagline, title, subtitle, requiredFieldInfo, helpText, useMa
|
|
|
18
18
|
|
|
19
19
|
const Tagline = renderComponent(
|
|
20
20
|
tagline,
|
|
21
|
-
<Label
|
|
21
|
+
<Label
|
|
22
|
+
color={themedStyles.taglineColor || theme.colors.disabled}
|
|
23
|
+
bold
|
|
24
|
+
useMarkdown={useMarkdown}
|
|
25
|
+
style={[themedStyles.child, themedStyles.tagline]}
|
|
26
|
+
>
|
|
22
27
|
{tagline?.toUpperCase?.()}
|
|
23
28
|
</Label>
|
|
24
29
|
);
|
|
25
30
|
|
|
26
31
|
const Title = renderComponent(
|
|
27
32
|
title,
|
|
28
|
-
<Label big bold style={themedStyles.title} useMarkdown={useMarkdown}>
|
|
33
|
+
<Label color={themedStyles.titleColor} big bold style={themedStyles.title} useMarkdown={useMarkdown}>
|
|
29
34
|
{title}
|
|
30
35
|
</Label>
|
|
31
36
|
);
|
|
32
37
|
|
|
33
38
|
const Subtitle = renderComponent(
|
|
34
39
|
subtitle,
|
|
35
|
-
<Label
|
|
40
|
+
<Label
|
|
41
|
+
color={themedStyles.subtitleColor || theme.colors.disabled}
|
|
42
|
+
useMarkdown={useMarkdown}
|
|
43
|
+
style={[themedStyles.child, themedStyles.subtitle]}
|
|
44
|
+
>
|
|
36
45
|
{subtitle}
|
|
37
46
|
</Label>
|
|
38
47
|
);
|
|
39
48
|
|
|
40
49
|
const RequiredFieldInfo = renderComponent(
|
|
41
50
|
requiredFieldInfo,
|
|
42
|
-
<Label
|
|
51
|
+
<Label
|
|
52
|
+
color={themedStyles.requiredFieldInfoColor || theme.colors.disabled}
|
|
53
|
+
useMarkdown={useMarkdown}
|
|
54
|
+
style={[themedStyles.child, themedStyles.requiredFieldInfo]}
|
|
55
|
+
>
|
|
43
56
|
{requiredFieldInfo}
|
|
44
57
|
</Label>
|
|
45
58
|
);
|
|
46
59
|
|
|
47
60
|
const HelpText = renderComponent(
|
|
48
61
|
helpText,
|
|
49
|
-
<Label
|
|
62
|
+
<Label
|
|
63
|
+
color={themedStyles.helpTextColor || theme.colors.disabled}
|
|
64
|
+
useMarkdown={useMarkdown}
|
|
65
|
+
style={[themedStyles.child, themedStyles.helpText]}
|
|
66
|
+
>
|
|
50
67
|
{helpText}
|
|
51
68
|
</Label>
|
|
52
69
|
);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React, { useCallback } from 'react';
|
|
2
2
|
import { BackHandler, View } from 'react-native';
|
|
3
3
|
import { number } from 'prop-types';
|
|
4
|
-
// eslint-disable-next-line import/no-extraneous-dependencies
|
|
5
4
|
import { useFocusEffect } from '@react-navigation/native';
|
|
6
5
|
|
|
7
6
|
import IconButton from '../IconButton';
|
|
@@ -15,13 +15,14 @@ const ActionButton = ({ hidden, disabled, onPress, label, mode, style }) => {
|
|
|
15
15
|
return (
|
|
16
16
|
<View style={themedStyles.actionButton}>
|
|
17
17
|
<Button
|
|
18
|
+
containerStyle={themedStyles.buttonContainer}
|
|
19
|
+
contentStyle={themedStyles.buttonContent}
|
|
18
20
|
disabled={disabled || hidden}
|
|
19
|
-
|
|
21
|
+
elevation={themedStyles.elevation}
|
|
20
22
|
lowerCase
|
|
21
|
-
|
|
23
|
+
mode={mode}
|
|
22
24
|
onPress={onPress}
|
|
23
|
-
|
|
24
|
-
containerStyle={themedStyles.buttonContainer}
|
|
25
|
+
title={label}
|
|
25
26
|
/>
|
|
26
27
|
</View>
|
|
27
28
|
);
|
package/package.json
CHANGED