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.js +5 -3
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +5 -3
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -2027,7 +2027,8 @@ const styles$k = reactNative.StyleSheet.create({
|
|
|
2027
2027
|
},
|
|
2028
2028
|
messageText: {
|
|
2029
2029
|
flex: 1,
|
|
2030
|
-
color: "#fff"
|
|
2030
|
+
color: "#fff",
|
|
2031
|
+
marginLeft: horizontalScale(8)
|
|
2031
2032
|
},
|
|
2032
2033
|
button: {
|
|
2033
2034
|
marginLeft: 9
|
|
@@ -2090,11 +2091,11 @@ const Toast = React__default["default"].forwardRef(({ sucessIcon, errorIcon }, r
|
|
|
2090
2091
|
style: [
|
|
2091
2092
|
styles$k.container,
|
|
2092
2093
|
{ bottom },
|
|
2093
|
-
{ backgroundColor: isSuccess ? "#
|
|
2094
|
+
{ backgroundColor: isSuccess ? "#00B578" : "#EB0542" }
|
|
2094
2095
|
],
|
|
2095
2096
|
testID: "TOAST"
|
|
2096
2097
|
},
|
|
2097
|
-
/* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: styles$k.toastContainer }, /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: styles$k.innerContainer }, isSuccess ? sucessIcon : errorIcon, /* @__PURE__ */ React__default["default"].createElement(
|
|
2098
|
+
/* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: styles$k.toastContainer }, /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: styles$k.innerContainer }, /* @__PURE__ */ React__default["default"].createElement(reactNative.Pressable, { onPress: hideToast }, isSuccess ? sucessIcon : errorIcon), /* @__PURE__ */ React__default["default"].createElement(
|
|
2098
2099
|
CustomTypography,
|
|
2099
2100
|
{
|
|
2100
2101
|
variant: "L2_REGULAR",
|
|
@@ -3297,6 +3298,7 @@ const CommonTextInput = (props) => {
|
|
|
3297
3298
|
keyboardType,
|
|
3298
3299
|
theme: {
|
|
3299
3300
|
colors: {
|
|
3301
|
+
onSurfaceVariant: value?.length ? activeBorderColor : inactiveBorderColor,
|
|
3300
3302
|
error: errorMessage?.length ? DHRE_DEFAULT.DH_SEMENTIC_ERROR : DHRE_COLORS_TEXT.DH_BLACK,
|
|
3301
3303
|
primary: labelColor ? errorMessage?.length ? DHRE_DEFAULT.DH_SEMENTIC_ERROR : labelColor : DHRE_COLORS_TEXT.DH_BLACK
|
|
3302
3304
|
}
|