react-native-ui-lib 7.46.3-snapshot.7414 → 7.46.3-snapshot.7424

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/incubator.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import {Dialog, ExpandableOverlay, Slider, Toast} from './src/incubator';
2
- export {Dialog, ExpandableOverlay, Slider, Toast};
1
+ import {ExpandableOverlay, Slider, Toast} from './src/incubator';
2
+ export {ExpandableOverlay, Slider, Toast};
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "uilib-native",
3
- "version": "5.0.0-snapshot.7414",
3
+ "version": "5.0.0-snapshot.7424",
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.7414",
3
+ "version": "7.46.3-snapshot.7424",
4
4
  "main": "src/index.js",
5
5
  "types": "src/index.d.ts",
6
6
  "author": "Ethan Sharabi <ethan.shar@gmail.com>",
@@ -117,7 +117,7 @@ class Slider extends PureComponent {
117
117
  maximumValue,
118
118
  value
119
119
  } = props;
120
- if (minimumValue >= maximumValue) {
120
+ if (minimumValue > maximumValue) {
121
121
  console.warn('Slider minimumValue must be lower than maximumValue');
122
122
  }
123
123
  if (!useRange && (value < minimumValue || value > maximumValue)) {
@@ -45,7 +45,8 @@ export function validateValues(props) {
45
45
  } = props;
46
46
  if (minimumValue > maximumValue || useRange && initialMinimumValue && initialMaximumValue && initialMinimumValue > initialMaximumValue) {
47
47
  LogService.forwardError({
48
- message: 'Your passed values are invalid. Please check if minimum values are not higher than maximum values'
48
+ // eslint-disable-next-line max-len
49
+ message: `Your passed values are invalid. Please check if minimum values are not higher than maximum values (minimumValue: ${minimumValue}, maximumValue: ${maximumValue}, initialMinimumValue: ${initialMinimumValue}, initialMaximumValue: ${initialMaximumValue})`
49
50
  });
50
51
  }
51
52
  if (value !== undefined && minimumValue && maximumValue && !inRange(value, minimumValue, maximumValue)) {