dhre-ui-kit 0.0.42 → 0.0.43

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,6 +1,6 @@
1
1
  {
2
2
  "name": "dhre-ui-kit",
3
- "version": "0.0.42",
3
+ "version": "0.0.43",
4
4
  "main": "src/index.ts",
5
5
  "files": [
6
6
  "src",
@@ -47,7 +47,6 @@ const CustomButton = ({
47
47
  text={title}
48
48
  variant={titleVariant}
49
49
  style={[
50
- {color: '#A7A7A7'},
51
50
  textStyle,
52
51
  disabled
53
52
  ? {
@@ -11,7 +11,7 @@ import CountryPicker, {
11
11
  Country,
12
12
  CountryCode,
13
13
  } from 'react-native-country-picker-modal';
14
- import {DHRE_COLORS_TEXT} from '../../theme/colors';
14
+ import {DHRE_COLORS_TEXT, DHRE_DEFAULT} from '../../theme/colors';
15
15
  import {
16
16
  moderateScale,
17
17
  horizontalScale,
@@ -112,7 +112,7 @@ const CountryDropDown = ({
112
112
  text={errorMessage ?? ''}
113
113
  style={{
114
114
  ...styles.errorStyle,
115
- color: '#EB0542', // need to check this color with designer
115
+ color: DHRE_DEFAULT.DH_SEMENTIC_ERROR,
116
116
  }}
117
117
  />
118
118
  ) : null}
@@ -132,7 +132,7 @@ const styles = StyleSheet.create({
132
132
  height: verticalScale(48),
133
133
  borderRadius: moderateScale(8),
134
134
  paddingHorizontal: horizontalScale(10),
135
- paddingVertical: verticalScale(8),
135
+ paddingVertical: verticalScale(0),
136
136
  marginTop: verticalScale(20),
137
137
  },
138
138
  countryPickerContainer: {
@@ -154,7 +154,7 @@ const styles = StyleSheet.create({
154
154
  floatingLabel: {
155
155
  position: 'absolute',
156
156
  left: horizontalScale(-88),
157
- top: verticalScale(-16),
157
+ top: verticalScale(-8),
158
158
  fontSize: moderateScale(12),
159
159
  color: DHRE_COLORS_TEXT.DH_BLACK,
160
160
  backgroundColor: DHRE_COLORS_TEXT.DH_WHITE,
@@ -13,7 +13,7 @@ const styles = StyleSheet.create({
13
13
  },
14
14
  input: {
15
15
  flex: 1,
16
- ...FONT_STYLES.B3_REGULAR,
16
+ ...FONT_STYLES.L1_REGULAR,
17
17
  color: '#fff',
18
18
  },
19
19
  crossIconStyle: {marginLeft: horizontalScale(8)},
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import {StyleSheet, ViewStyle} from 'react-native';
3
3
  import {TextInput} from 'react-native-paper';
4
- import {DHRE_COLORS_TEXT} from '../../theme/colors';
4
+ import {DHRE_COLORS_TEXT, DHRE_DEFAULT} from '../../theme/colors';
5
5
  import {verticalScale, moderateScale} from '../../utils/stylehelper';
6
6
  import CustomTypography from '../customTypography';
7
7
  import theme from '../../theme/themes';
@@ -58,7 +58,7 @@ const CommonTextInput: React.FC<CommonTextInputProps> = ({
58
58
  text={errorMessage ?? ''}
59
59
  style={{
60
60
  ...styles.errorStyle,
61
- color: '#EB0542', // need to check this color with designer
61
+ color: DHRE_DEFAULT.DH_SEMENTIC_ERROR,
62
62
  }}
63
63
  />
64
64
  ) : null}