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.js +11 -6
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +11 -6
- 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",
|
|
@@ -2143,7 +2144,10 @@ const styles$j = reactNative.StyleSheet.create({
|
|
|
2143
2144
|
input: {
|
|
2144
2145
|
flex: 1,
|
|
2145
2146
|
...FONT_STYLES.L1_REGULAR,
|
|
2146
|
-
color: "#fff"
|
|
2147
|
+
color: "#fff",
|
|
2148
|
+
textAlignVertical: "center",
|
|
2149
|
+
paddingVertical: 0,
|
|
2150
|
+
paddingBottom: 2
|
|
2147
2151
|
},
|
|
2148
2152
|
crossIconStyle: { marginLeft: horizontalScale(8) },
|
|
2149
2153
|
searchIconStyle: { marginRight: horizontalScale(8) }
|
|
@@ -2733,8 +2737,8 @@ var ContactModel = withThemeProvider(ContactModal);
|
|
|
2733
2737
|
|
|
2734
2738
|
const styles$c = reactNative.StyleSheet.create({
|
|
2735
2739
|
applyButton: {
|
|
2736
|
-
marginTop: verticalScale(
|
|
2737
|
-
paddingVertical: verticalScale(
|
|
2740
|
+
marginTop: verticalScale(50),
|
|
2741
|
+
paddingVertical: verticalScale(14),
|
|
2738
2742
|
justifyContent: "center",
|
|
2739
2743
|
alignItems: "center",
|
|
2740
2744
|
borderRadius: moderateScale(25)
|
|
@@ -3294,6 +3298,7 @@ const CommonTextInput = (props) => {
|
|
|
3294
3298
|
keyboardType,
|
|
3295
3299
|
theme: {
|
|
3296
3300
|
colors: {
|
|
3301
|
+
onSurfaceVariant: value?.length ? activeBorderColor : inactiveBorderColor,
|
|
3297
3302
|
error: errorMessage?.length ? DHRE_DEFAULT.DH_SEMENTIC_ERROR : DHRE_COLORS_TEXT.DH_BLACK,
|
|
3298
3303
|
primary: labelColor ? errorMessage?.length ? DHRE_DEFAULT.DH_SEMENTIC_ERROR : labelColor : DHRE_COLORS_TEXT.DH_BLACK
|
|
3299
3304
|
}
|