@momo-kits/stepper 0.0.2-beta → 0.0.4
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/Stepper.js +3 -1
- package/Stepper.web.js +5 -5
- package/index.js +1 -1
- package/package.json +14 -15
package/Stepper.js
CHANGED
|
@@ -3,7 +3,9 @@ import {
|
|
|
3
3
|
View, StyleSheet
|
|
4
4
|
} from 'react-native';
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
|
-
import {
|
|
6
|
+
import {
|
|
7
|
+
Text, Colors, Image, TouchableOpacity
|
|
8
|
+
} from '@momo-kits/core';
|
|
7
9
|
|
|
8
10
|
const minus = 'https://img.mservice.io/momo_app_v2/new_version/img/appx_icon/24_navigation_minus_circle.png';
|
|
9
11
|
const plus = 'https://img.mservice.io/momo_app_v2/new_version/img/appx_icon/24_navigation_plus_circle.png';
|
package/Stepper.web.js
CHANGED
|
@@ -3,9 +3,9 @@ import {
|
|
|
3
3
|
View, StyleSheet, TouchableOpacity, Image
|
|
4
4
|
} from 'react-native';
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
|
-
import Text from '
|
|
7
|
-
import Colors from '../../colors';
|
|
8
|
-
import ValueUtil from '../../utils/ValueUtil';
|
|
6
|
+
import Text from '../../core/components/typography';
|
|
7
|
+
import Colors from '../../core/colors';
|
|
8
|
+
import ValueUtil from '../../core/utils/ValueUtil';
|
|
9
9
|
|
|
10
10
|
const minus = 'https://img.mservice.io/momo_app_v2/new_version/img/appx_icon/24_navigation_minus_circle.png';
|
|
11
11
|
const plus = 'https://img.mservice.io/momo_app_v2/new_version/img/appx_icon/24_navigation_plus_circle.png';
|
|
@@ -197,7 +197,7 @@ const IconButton = ({
|
|
|
197
197
|
onPress={onPress}
|
|
198
198
|
>
|
|
199
199
|
<Image
|
|
200
|
-
source={
|
|
200
|
+
source={icon}
|
|
201
201
|
style={[getStyle(size).icon, { tintColor }, disabled && styles.disabledIcon]}
|
|
202
202
|
/>
|
|
203
203
|
</TouchableOpacity>
|
|
@@ -229,4 +229,4 @@ Quantity.defaultProps = {
|
|
|
229
229
|
isSingle: false,
|
|
230
230
|
size: 'medium',
|
|
231
231
|
tintColor: Colors.pink_05_b,
|
|
232
|
-
};
|
|
232
|
+
};
|
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
|
|
2
|
+
"name": "@momo-kits/stepper",
|
|
3
|
+
"version": "0.0.4",
|
|
4
|
+
"private": false,
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"dependencies": {},
|
|
7
|
+
"peerDependencies": {
|
|
8
|
+
"react-native": ">=0.55",
|
|
9
|
+
"prop-types": "^15.7.2",
|
|
10
|
+
"react": "16.9.0",
|
|
11
|
+
"@momo-kits/core": ">=0.0.5-beta"
|
|
12
|
+
},
|
|
13
|
+
"devDependencies": {},
|
|
14
|
+
"license": "MoMo"
|
|
15
|
+
}
|