@widergy/mobile-ui 1.31.0 → 1.31.1
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.1](https://github.com/widergy/mobile-ui/compare/v1.31.0...v1.31.1) (2024-11-04)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* utmenu fixes ([#374](https://github.com/widergy/mobile-ui/issues/374)) ([44258cb](https://github.com/widergy/mobile-ui/commit/44258cb1bb0ac7c837741f43ec4cbbc280e2d2a8))
|
|
7
|
+
|
|
1
8
|
# [1.31.0](https://github.com/widergy/mobile-ui/compare/v1.30.2...v1.31.0) (2024-11-04)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -154,50 +154,50 @@ const UTMenu = ({
|
|
|
154
154
|
<View style={styles.overlay} />
|
|
155
155
|
</TouchableOpacity>
|
|
156
156
|
<Surface
|
|
157
|
-
onLayout={handleMenuLayout}
|
|
158
|
-
ref={menuRef}
|
|
159
157
|
style={[styles.menu, position, fullWidth && { width: anchorMeasure?.width }, propStyles?.menu]}
|
|
160
158
|
>
|
|
161
|
-
<
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
<
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
<
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
159
|
+
<View onLayout={handleMenuLayout} ref={menuRef}>
|
|
160
|
+
<KeyboardAvoidingView behavior="height">
|
|
161
|
+
{withAutocomplete && (
|
|
162
|
+
<View style={[styles.searchContainer, propStyles?.searchContainer]}>
|
|
163
|
+
<UTTextInput
|
|
164
|
+
inputRef={searchTextInputRef}
|
|
165
|
+
onChange={handleQueryChange}
|
|
166
|
+
onSubmitEditing={
|
|
167
|
+
query && filteredOptions[0]
|
|
168
|
+
? () => handleOptionPress(() => onPress(filteredOptions[0]))
|
|
169
|
+
: closeMenu
|
|
170
|
+
}
|
|
171
|
+
placeholder={autoCompletePlaceholder}
|
|
172
|
+
value={query}
|
|
173
|
+
/>
|
|
174
|
+
</View>
|
|
175
|
+
)}
|
|
176
|
+
<ListView
|
|
177
|
+
filteredOptions={filteredOptions}
|
|
178
|
+
handleOptionPress={handleOptionPress}
|
|
179
|
+
isMultiple={isMultiple}
|
|
180
|
+
ItemSeparatorComponent={ItemSeparatorComponent}
|
|
181
|
+
ListEmptyComponent={ListEmptyComponent}
|
|
182
|
+
maxHeight={maxHeight}
|
|
183
|
+
MenuOptionComponent={MenuOptionComponent}
|
|
184
|
+
onPress={onPress}
|
|
185
|
+
propStyles={propStyles}
|
|
186
|
+
query={query}
|
|
187
|
+
selectedOption={selectedOption}
|
|
188
|
+
usableWindowHeight={usableWindowHeight}
|
|
189
|
+
windowHeight={windowHeight}
|
|
190
|
+
/>
|
|
191
|
+
{withGoogleAttribution && (
|
|
192
|
+
<View style={styles.attribution}>
|
|
193
|
+
<UTLabel colorTheme="gray" variant="small">
|
|
194
|
+
{ATTRIBUTION}
|
|
195
|
+
</UTLabel>
|
|
196
|
+
<Image source={GoogleLogo} />
|
|
197
|
+
</View>
|
|
198
|
+
)}
|
|
199
|
+
</KeyboardAvoidingView>
|
|
200
|
+
</View>
|
|
201
201
|
</Surface>
|
|
202
202
|
</Modal>
|
|
203
203
|
</Fragment>
|
package/package.json
CHANGED