dhre-ui-kit 0.0.182 → 0.0.184

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/lib/index.mjs CHANGED
@@ -1994,7 +1994,8 @@ const styles$k = StyleSheet.create({
1994
1994
  },
1995
1995
  messageText: {
1996
1996
  flex: 1,
1997
- color: "#fff"
1997
+ color: "#fff",
1998
+ marginLeft: horizontalScale(8)
1998
1999
  },
1999
2000
  button: {
2000
2001
  marginLeft: 9
@@ -2057,11 +2058,11 @@ const Toast = React.forwardRef(({ sucessIcon, errorIcon }, ref) => {
2057
2058
  style: [
2058
2059
  styles$k.container,
2059
2060
  { bottom },
2060
- { backgroundColor: isSuccess ? "#04743F" : "#DB3056" }
2061
+ { backgroundColor: isSuccess ? "#00B578" : "#EB0542" }
2061
2062
  ],
2062
2063
  testID: "TOAST"
2063
2064
  },
2064
- /* @__PURE__ */ React.createElement(View, { style: styles$k.toastContainer }, /* @__PURE__ */ React.createElement(View, { style: styles$k.innerContainer }, isSuccess ? sucessIcon : errorIcon, /* @__PURE__ */ React.createElement(
2065
+ /* @__PURE__ */ React.createElement(View, { style: styles$k.toastContainer }, /* @__PURE__ */ React.createElement(View, { style: styles$k.innerContainer }, /* @__PURE__ */ React.createElement(Pressable, { onPress: hideToast }, isSuccess ? sucessIcon : errorIcon), /* @__PURE__ */ React.createElement(
2065
2066
  CustomTypography,
2066
2067
  {
2067
2068
  variant: "L2_REGULAR",
@@ -2110,7 +2111,10 @@ const styles$j = StyleSheet.create({
2110
2111
  input: {
2111
2112
  flex: 1,
2112
2113
  ...FONT_STYLES.L1_REGULAR,
2113
- color: "#fff"
2114
+ color: "#fff",
2115
+ textAlignVertical: "center",
2116
+ paddingVertical: 0,
2117
+ paddingBottom: 2
2114
2118
  },
2115
2119
  crossIconStyle: { marginLeft: horizontalScale(8) },
2116
2120
  searchIconStyle: { marginRight: horizontalScale(8) }
@@ -2700,8 +2704,8 @@ var ContactModel = withThemeProvider(ContactModal);
2700
2704
 
2701
2705
  const styles$c = StyleSheet.create({
2702
2706
  applyButton: {
2703
- marginTop: verticalScale(24),
2704
- paddingVertical: verticalScale(12),
2707
+ marginTop: verticalScale(50),
2708
+ paddingVertical: verticalScale(14),
2705
2709
  justifyContent: "center",
2706
2710
  alignItems: "center",
2707
2711
  borderRadius: moderateScale(25)
@@ -3261,6 +3265,7 @@ const CommonTextInput = (props) => {
3261
3265
  keyboardType,
3262
3266
  theme: {
3263
3267
  colors: {
3268
+ onSurfaceVariant: value?.length ? activeBorderColor : inactiveBorderColor,
3264
3269
  error: errorMessage?.length ? DHRE_DEFAULT.DH_SEMENTIC_ERROR : DHRE_COLORS_TEXT.DH_BLACK,
3265
3270
  primary: labelColor ? errorMessage?.length ? DHRE_DEFAULT.DH_SEMENTIC_ERROR : labelColor : DHRE_COLORS_TEXT.DH_BLACK
3266
3271
  }