@momo-kits/carousel 0.0.71-beta.45 → 0.0.71-beta.46

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/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "@momo-kits/carousel",
3
- "version": "0.0.71-beta.45",
3
+ "version": "0.0.71-beta.46",
4
4
  "private": false,
5
5
  "main": "index.js",
6
6
  "dependencies": {
7
7
  "prop-types": "^15.7.2",
8
- "react": "16.9.0",
9
- "@momo-kits/core-v2": "https://oauth2:surcqbFu1-Ukf9jVh1dj@gitlab.mservice.com.vn/dung.huynh1/core-v2.git"
8
+ "react": "16.9.0"
10
9
  },
11
10
  "peerDependencies": {
12
11
  "react": "16.9.0",
13
- "react-native": ">=0.55"
12
+ "react-native": ">=0.55",
13
+ "@momo-kits/core": "latest"
14
14
  },
15
15
  "devDependencies": {},
16
16
  "license": "MoMo"
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Colors, Radius, Spacing, Text } from '@momo-kits/core-v2';
2
+ import { Colors, Radius, Spacing, Text } from '@momo-kits/core';
3
3
  import { View, StyleSheet } from 'react-native';
4
4
  import PropTypes from 'prop-types';
5
5
 
@@ -9,9 +9,9 @@ const NumberPagination = (props) => {
9
9
  return (
10
10
  <View style={style}>
11
11
  <View style={styles.container}>
12
- <Text.Label1 style={styles.number}>{`${
12
+ <Text.Title style={styles.number}>{`${
13
13
  activeIndex + 1
14
- }/${dataLength}`}</Text.Label1>
14
+ }/${dataLength}`}</Text.Title>
15
15
  </View>
16
16
  </View>
17
17
  );
@@ -3,7 +3,7 @@ import { I18nManager, Platform, View } from 'react-native';
3
3
  import PropTypes from 'prop-types';
4
4
  import PaginationDot from './PaginationDot';
5
5
  import styles from './styles';
6
- import { Colors, Radius, Spacing } from '@momo-kits/core-v2';
6
+ import { Colors, Radius, Spacing } from '@momo-kits/core';
7
7
 
8
8
  const IS_IOS = Platform.OS === 'ios';
9
9
  const IS_RTL = I18nManager.isRTL;
@@ -2,7 +2,7 @@ import React, { PureComponent } from 'react';
2
2
  import { Animated, Easing, TouchableOpacity } from 'react-native';
3
3
  import PropTypes from 'prop-types';
4
4
  import styles from './styles';
5
- import { Colors } from '@momo-kits/core-v2';
5
+ import { Colors } from '@momo-kits/core';
6
6
 
7
7
  export default class PaginationDot extends PureComponent {
8
8
  constructor(props) {
@@ -1,5 +1,5 @@
1
1
  import { StyleSheet } from 'react-native';
2
- import { Colors, Spacing } from '@momo-kits/core-v2';
2
+ import { Colors, Spacing } from '@momo-kits/core';
3
3
 
4
4
  const DEFAULT_DOT_SIZE = 4;
5
5
  const DEFAULT_DOT_COLOR = Colors.pink_03;