@momo-kits/avatar 0.0.33-beta → 0.0.39-beta

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/Avatar.web.js CHANGED
@@ -5,11 +5,10 @@ import {
5
5
  View, StyleSheet, TouchableOpacity, Image
6
6
  } from 'react-native';
7
7
  import { get, isEqual } from 'lodash';
8
- import ValueUtils from '../../utils/ValueUtil';
9
- import Colors from '../../colors';
10
- import { Icons } from '../../icons';
11
- import Text from '../typography';
12
- import { ColorCore } from '../../colors/colorCore';
8
+ import ValueUtils from '../../core/utils/ValueUtil';
9
+ import Colors from '../../core/colors';
10
+ import { Icons } from '../../core/icons';
11
+ import Text from '../../core/components/typography';
13
12
 
14
13
  export const AvatarSize = {
15
14
  tiny: 'tiny',
@@ -391,7 +390,7 @@ export default class Avatar extends Component {
391
390
  height: containerWidth,
392
391
  borderRadius: containerWidth / 2,
393
392
  borderWidth,
394
- borderColor: ColorCore.black_01
393
+ borderColor: Colors.black_01
395
394
  };
396
395
  }
397
396
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/avatar",
3
- "version": "0.0.33-beta",
3
+ "version": "0.0.39-beta",
4
4
  "private": false,
5
5
  "main": "index.js",
6
6
  "dependencies": {},
@@ -11,13 +11,6 @@
11
11
  "lodash": "^4.17.15",
12
12
  "@momo-kits/core": ">=0.0.5-beta"
13
13
  },
14
- "devDependencies": {
15
- "metro-react-native-babel-preset": "^0.64.0",
16
- "@babel/core": "^7.12.9",
17
- "@babel/runtime": "^7.12.5"
18
- },
19
- "license": "MoMo",
20
- "jest": {
21
- "preset": "react-native"
22
- }
14
+ "devDependencies": {},
15
+ "license": "MoMo"
23
16
  }
package/publish.sh CHANGED
@@ -26,4 +26,4 @@ cd ..
26
26
  rm -rf dist
27
27
 
28
28
 
29
- echo '{"text": "@momo-kits/avatar new version release: '*"$VERSION"*' https://www.npmjs.com/package/@momo-kits/avatar"}'
29
+ curl -X POST -H 'Content-Type: application/json' 'https://chat.googleapis.com/v1/spaces/AAAAbP8987c/messages?key=AIzaSyDdI0hCZtE6vySjMm-WEfRq3CPzqKqqsHI&token=UGSFRvk_oYb9uGsAgs31bVvMm6jDkmD8zihGm3eyaQA%3D&threadKey=JoaXTEYaNNkl' -d '{"text": "@momo-kits/avatar new version release: '*"$VERSION"*' https://www.npmjs.com/package/@momo-kits/avatar"}'
package/babel.config.js DELETED
@@ -1,3 +0,0 @@
1
- module.exports = {
2
- presets: ['module:metro-react-native-babel-preset'],
3
- };