dhre-ui-kit 0.0.183 → 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",
@@ -3264,6 +3265,7 @@ const CommonTextInput = (props) => {
3264
3265
  keyboardType,
3265
3266
  theme: {
3266
3267
  colors: {
3268
+ onSurfaceVariant: value?.length ? activeBorderColor : inactiveBorderColor,
3267
3269
  error: errorMessage?.length ? DHRE_DEFAULT.DH_SEMENTIC_ERROR : DHRE_COLORS_TEXT.DH_BLACK,
3268
3270
  primary: labelColor ? errorMessage?.length ? DHRE_DEFAULT.DH_SEMENTIC_ERROR : labelColor : DHRE_COLORS_TEXT.DH_BLACK
3269
3271
  }