@widergy/mobile-ui 1.18.2 → 1.18.3
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.18.3](https://github.com/widergy/mobile-ui/compare/v1.18.2...v1.18.3) (2024-08-21)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* utautocomplete updated and utvalidation fix ([#341](https://github.com/widergy/mobile-ui/issues/341)) ([33107d3](https://github.com/widergy/mobile-ui/commit/33107d3a08812a0ef6eb9625fefc1a2608a7368e))
|
|
7
|
+
|
|
1
8
|
## [1.18.2](https://github.com/widergy/mobile-ui/compare/v1.18.1...v1.18.2) (2024-08-19)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -17,14 +17,12 @@ const UTAutocomplete = ({
|
|
|
17
17
|
filterOptions,
|
|
18
18
|
input,
|
|
19
19
|
label,
|
|
20
|
-
labelBackgroundColor,
|
|
21
20
|
ListEmptyComponent,
|
|
22
21
|
MenuOptionComponent,
|
|
23
22
|
options,
|
|
24
23
|
persistSelectedOption = false,
|
|
25
|
-
|
|
26
|
-
withGoogleAttribution
|
|
27
|
-
styles: propStyles
|
|
24
|
+
styles: propStyles,
|
|
25
|
+
withGoogleAttribution
|
|
28
26
|
}) => {
|
|
29
27
|
const [selectedOption, setSelectedOption] = useState();
|
|
30
28
|
|
|
@@ -63,12 +61,10 @@ const UTAutocomplete = ({
|
|
|
63
61
|
<UTTextInput
|
|
64
62
|
disabled={disabled}
|
|
65
63
|
error={error}
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
onChange={() => {}}
|
|
69
|
-
RightIcon={{ name: 'caret-down', type: 'font-awesome' }}
|
|
64
|
+
RightIcon="IconChevronDown"
|
|
65
|
+
title={label}
|
|
70
66
|
value={selectedOption?.label || ''}
|
|
71
|
-
|
|
67
|
+
version="V1"
|
|
72
68
|
/>
|
|
73
69
|
</UTMenu>
|
|
74
70
|
</View>
|
|
@@ -88,7 +84,6 @@ UTAutocomplete.propTypes = {
|
|
|
88
84
|
value: string.isRequired
|
|
89
85
|
}),
|
|
90
86
|
label: string,
|
|
91
|
-
labelBackgroundColor: string,
|
|
92
87
|
ListEmptyComponent: element,
|
|
93
88
|
MenuOptionComponent: element,
|
|
94
89
|
options: arrayOf(
|
|
@@ -100,7 +95,6 @@ UTAutocomplete.propTypes = {
|
|
|
100
95
|
),
|
|
101
96
|
persistSelectedOption: bool,
|
|
102
97
|
styles: ViewPropTypes.style,
|
|
103
|
-
variant: string,
|
|
104
98
|
withGoogleAttribution: bool
|
|
105
99
|
};
|
|
106
100
|
|
|
@@ -51,7 +51,7 @@ const UTValidation = ({ style, validationData }) => {
|
|
|
51
51
|
)}
|
|
52
52
|
</View>
|
|
53
53
|
)}
|
|
54
|
-
<UTLabel colorTheme={STATUS_COLOR_MAPPER[itemStatus]} variant="small">
|
|
54
|
+
<UTLabel colorTheme={STATUS_COLOR_MAPPER[itemStatus]} variant="small" style={styles.itemText}>
|
|
55
55
|
{text}
|
|
56
56
|
</UTLabel>
|
|
57
57
|
</View>
|
package/package.json
CHANGED