react-native-ui-lib 8.0.0-snapshot.7454 → 8.0.1-snapshot.7456

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-ui-lib",
3
- "version": "8.0.0-snapshot.7454",
3
+ "version": "8.0.1-snapshot.7456",
4
4
  "main": "src/index.js",
5
5
  "types": "src/index.d.ts",
6
6
  "author": "Ethan Sharabi <ethan.shar@gmail.com>",
@@ -4,6 +4,7 @@ import { StyleSheet, Image } from 'react-native';
4
4
  import { Colors } from "../../style";
5
5
  import View from "../view";
6
6
  import Assets from "../../assets";
7
+ import Constants from "../../commons/Constants";
7
8
  const OVERLY_TYPES = {
8
9
  VERTICAL: 'vertical',
9
10
  TOP: 'top',
@@ -109,7 +110,7 @@ class Overlay extends PureComponent {
109
110
  const styles = StyleSheet.create({
110
111
  container: {
111
112
  ...StyleSheet.absoluteFillObject,
112
- width: undefined
113
+ width: Constants.isWeb ? '100%' : undefined
113
114
  },
114
115
  top: {
115
116
  bottom: undefined,