react-native-ui-lib 7.46.3-snapshot.7370 → 7.46.3-snapshot.7379

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/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "uilib-native",
3
- "version": "5.0.0-snapshot.7370",
3
+ "version": "5.0.0-snapshot.7379",
4
4
  "homepage": "https://github.com/wix/react-native-ui-lib",
5
5
  "description": "uilib native components (separated from js components)",
6
6
  "main": "components/index",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-ui-lib",
3
- "version": "7.46.3-snapshot.7370",
3
+ "version": "7.46.3-snapshot.7379",
4
4
  "main": "src/index.js",
5
5
  "types": "src/index.d.ts",
6
6
  "author": "Ethan Sharabi <ethan.shar@gmail.com>",
@@ -56,7 +56,6 @@
56
56
  "react-native-redash": "^12.0.3",
57
57
  "semver": "^5.5.0",
58
58
  "tinycolor2": "^1.4.2",
59
- "uilib-native": "5.0.0-snapshot.7358",
60
59
  "url-parse": "^1.2.0",
61
60
  "wix-react-native-text-size": "1.0.9"
62
61
  },
@@ -129,14 +128,16 @@
129
128
  "reassure": "^0.4.1",
130
129
  "setimmediate": "^1.0.5",
131
130
  "shell-utils": "^1.0.10",
132
- "typescript": "5.0.4"
131
+ "typescript": "5.0.4",
132
+ "uilib-native": "5.0.0-snapshot.7358"
133
133
  },
134
134
  "peerDependencies": {
135
135
  "react": ">=18.3.1",
136
136
  "react-native": ">=0.77.3",
137
137
  "react-native-gesture-handler": ">=2.24.0",
138
138
  "react-native-reanimated": ">=3.17.5",
139
- "react-native-ui-lib": "*"
139
+ "react-native-ui-lib": "*",
140
+ "uilib-native": "5.0.0-snapshot.7358"
140
141
  },
141
142
  "jest": {
142
143
  "preset": "react-native",
@@ -49,7 +49,7 @@ const AnimatedImage = props => {
49
49
  // eslint-disable-next-line react-hooks/exhaustive-deps
50
50
  [setIsLoading, propsOnLoad, animationDuration]);
51
51
 
52
- // TODO: revert to this solution when iOS is fixed (RN77 bug)
52
+ // TODO: RN 77 - revert to this solution when iOS is fixed in future RN releases
53
53
  // const onLoadStart = useCallback(() => {
54
54
  // setIsLoading(true);
55
55
  // propsOnLoadStart?.();
@@ -95,6 +95,10 @@ class Image extends PureComponent {
95
95
  };
96
96
  onError = event => {
97
97
  if (event.nativeEvent.error) {
98
+ // TODO: RN 77 hack - test in future releases (ticket 4835)
99
+ if (Constants.isIOS && this.props.source === undefined) {
100
+ return;
101
+ }
98
102
  this.setState({
99
103
  error: true
100
104
  });