@momo-kits/step 0.0.33-beta → 0.0.38-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/Step.js CHANGED
@@ -2,7 +2,9 @@ import React, { Component } from 'react';
2
2
  import { View, StyleSheet } from 'react-native';
3
3
 
4
4
  import PropTypes from 'prop-types';
5
- import { Colors, Text, IconSource,Image } from 'react-native/Libraries/NewAppScreen';
5
+ import {
6
+ Colors, Text, IconSource, Image
7
+ } from '@momo-kits/core';
6
8
 
7
9
  const CIRCLE_SIZE = 18;
8
10
 
package/Step.web.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import React, { Component } from 'react';
2
2
  import { View, StyleSheet, Image } from 'react-native';
3
3
  import PropTypes from 'prop-types';
4
- import { ColorCore } from '../../colors/colorCore';
5
- import Text from '../typography';
6
- import { Icons } from '../../icons';
4
+ import { ColorCore } from '../../core/colors/colorCore';
5
+ import Text from '../../core/components/typography';
6
+ import { Icons } from '../../core/icons';
7
7
 
8
8
  const CIRCLE_SIZE = 18;
9
9
 
package/index.js CHANGED
@@ -1,3 +1,3 @@
1
- import Silder from './Slider';
1
+ import Step from './Step';
2
2
 
3
- export default Silder;
3
+ export default Step;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/step",
3
- "version": "0.0.33-beta",
3
+ "version": "0.0.38-beta",
4
4
  "private": false,
5
5
  "main": "index.js",
6
6
  "dependencies": {},
@@ -10,13 +10,6 @@
10
10
  "react": "16.9.0",
11
11
  "@momo-kits/core": ">=0.0.5-beta"
12
12
  },
13
- "devDependencies": {
14
- "metro-react-native-babel-preset": "^0.64.0",
15
- "@babel/core": "^7.12.9",
16
- "@babel/runtime": "^7.12.5"
17
- },
18
- "license": "MoMo",
19
- "jest": {
20
- "preset": "react-native"
21
- }
13
+ "devDependencies": {},
14
+ "license": "MoMo"
22
15
  }
package/publish.sh CHANGED
@@ -26,4 +26,4 @@ cd ..
26
26
  rm -rf dist
27
27
 
28
28
 
29
- echo '{"text": "@momo-kits/step new version release: '*"$VERSION"*' https://www.npmjs.com/package/@momo-kits/step"}'
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/step new version release: '*"$VERSION"*' https://www.npmjs.com/package/@momo-kits/step"}'
package/babel.config.js DELETED
@@ -1,3 +0,0 @@
1
- module.exports = {
2
- presets: ['module:metro-react-native-babel-preset'],
3
- };