react-native-ui-lib 7.38.1-snapshot.6302 → 7.38.1-snapshot.6304

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": "7.38.1-snapshot.6302",
3
+ "version": "7.38.1-snapshot.6304",
4
4
  "main": "src/index.js",
5
5
  "types": "src/index.d.ts",
6
6
  "author": "Ethan Sharabi <ethan.shar@gmail.com>",
@@ -0,0 +1,27 @@
1
+ console.log(`inside index.web.js`);
2
+ export const icons = {
3
+ get check() {
4
+ return {uri: require('./check.png'), dimensions: {width: 24, height: 24}};
5
+ },
6
+ get checkSmall() {
7
+ return {uri: require('./check-small.png'), dimensions: {width: 24, height: 24}};
8
+ },
9
+ get minusSmall() {
10
+ return {uri: require('./minusSmall.png'), dimensions: {width: 24, height: 24}};
11
+ },
12
+ get plusSmall() {
13
+ return {uri: require('./plusSmall.png'), dimensions: {width: 24, height: 24}};
14
+ },
15
+ get search() {
16
+ return {uri: require('./search.png'), dimensions: {width: 24, height: 24}};
17
+ },
18
+ get x() {
19
+ return {uri: require('./x.png'), dimensions: {width: 24, height: 24}};
20
+ },
21
+ get xMedium() {
22
+ return {uri: require('./xMedium.png'), dimensions: {width: 24, height: 24}};
23
+ },
24
+ get xFlat() {
25
+ return {uri: require('./xFlat.png'), dimensions: {width: 24, height: 24}};
26
+ }
27
+ };
@@ -0,0 +1,5 @@
1
+ export const images = {
2
+ get gradient() {
3
+ return {uri: require('./gradient.png'), dimensions: {width: 56, height: 2}};
4
+ }
5
+ };
@@ -156,7 +156,7 @@ class Image extends PureComponent {
156
156
  } = modifiers;
157
157
  return (
158
158
  // @ts-ignore
159
- <ImageView style={[tintColor && {
159
+ <ImageView style={[Constants.isWeb && source?.dimensions, tintColor && {
160
160
  tintColor
161
161
  }, shouldFlipRTL && styles.rtlFlipped, width && {
162
162
  width