secullum-react-native-ui 4.18.2 → 4.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.
@@ -158,8 +158,15 @@ class DropDown extends React.Component {
158
158
  return null;
159
159
  };
160
160
  this.getStyles = () => {
161
+ var _a;
161
162
  const theme = (0, theme_1.getTheme)();
162
163
  const { icon, arrowColor } = this.props;
164
+ // sec-issues#14632: No Android 15 (API 35) o modo edge-to-edge é obrigatório
165
+ // e o app passa a desenhar atrás das barras do sistema. Sem descontar essa área,
166
+ // a lista do dropdown cobre a barra de status quando é grande o suficiente para atingir o maxHeight.
167
+ const alturaBarraStatus = react_native_1.Platform.OS === 'android' && Number(react_native_1.Platform.Version) >= 35
168
+ ? (_a = react_native_1.StatusBar.currentHeight) !== null && _a !== void 0 ? _a : 0
169
+ : 0;
163
170
  const styles = react_native_1.StyleSheet.create({
164
171
  container: Object.assign({ paddingHorizontal: 16, paddingVertical: 8, borderWidth: 1, borderColor: theme.borderColor1, borderRadius: 3 }, (icon
165
172
  ? {
@@ -206,7 +213,10 @@ class DropDown extends React.Component {
206
213
  justifyContent: this.shouldDisplaySearchField()
207
214
  ? 'flex-start'
208
215
  : 'center',
209
- paddingTop: this.shouldDisplaySearchField() && react_native_1.Platform.OS === 'ios' ? 44 : 0
216
+ paddingTop: this.shouldDisplaySearchField() && react_native_1.Platform.OS === 'ios'
217
+ ? 44
218
+ : alturaBarraStatus,
219
+ paddingBottom: alturaBarraStatus
210
220
  },
211
221
  modalContainer: {
212
222
  maxHeight: '95%',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "secullum-react-native-ui",
3
- "version": "4.18.2",
3
+ "version": "4.18.3",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "files": [