dhre-ui-kit 0.0.399 → 0.0.401
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.d.ts +1 -0
- package/lib/index.js +7 -8
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +7 -8
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
package/lib/index.js
CHANGED
|
@@ -2647,7 +2647,8 @@ const Checkbox = ({
|
|
|
2647
2647
|
titleVariant = "L1_REGULAR",
|
|
2648
2648
|
titleStyle,
|
|
2649
2649
|
containerStyle,
|
|
2650
|
-
onPress
|
|
2650
|
+
onPress,
|
|
2651
|
+
hideCheckbox = false
|
|
2651
2652
|
}) => {
|
|
2652
2653
|
const [checked, setChecked] = React.useState(isChecked || false);
|
|
2653
2654
|
React.useEffect(() => {
|
|
@@ -2662,7 +2663,7 @@ const Checkbox = ({
|
|
|
2662
2663
|
{
|
|
2663
2664
|
style: styles$w.directionStyle
|
|
2664
2665
|
},
|
|
2665
|
-
/* @__PURE__ */ React__default["default"].createElement(
|
|
2666
|
+
hideCheckbox ? null : /* @__PURE__ */ React__default["default"].createElement(
|
|
2666
2667
|
reactNative.Pressable,
|
|
2667
2668
|
{
|
|
2668
2669
|
testID: "Checkbox-Press",
|
|
@@ -4005,12 +4006,11 @@ const CustomHeader = ({
|
|
|
4005
4006
|
},
|
|
4006
4007
|
testID: testId
|
|
4007
4008
|
},
|
|
4008
|
-
/* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: styles$j.headderContainer }, showLeftIcon && leftIcon ? React__default["default"].cloneElement(leftIcon, {
|
|
4009
|
+
/* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: styles$j.headderContainer }, showLeftIcon && leftIcon ? /* @__PURE__ */ React__default["default"].createElement(reactNative.Pressable, { onPress: onLeftPress }, React__default["default"].cloneElement(leftIcon, {
|
|
4009
4010
|
width: moderateScale(24),
|
|
4010
4011
|
height: moderateScale(24),
|
|
4011
|
-
onPress: onLeftPress,
|
|
4012
4012
|
style: styles$j.leftIconStyle
|
|
4013
|
-
}) : null, /* @__PURE__ */ React__default["default"].createElement(
|
|
4013
|
+
})) : null, /* @__PURE__ */ React__default["default"].createElement(
|
|
4014
4014
|
CustomTypography,
|
|
4015
4015
|
{
|
|
4016
4016
|
variant: "B2_REGULAR",
|
|
@@ -4018,12 +4018,11 @@ const CustomHeader = ({
|
|
|
4018
4018
|
style: { color: theme.CONTENT_PRIMARY }
|
|
4019
4019
|
}
|
|
4020
4020
|
)),
|
|
4021
|
-
showRightIcon && rightIcon ? React__default["default"].cloneElement(rightIcon, {
|
|
4021
|
+
showRightIcon && rightIcon ? /* @__PURE__ */ React__default["default"].createElement(reactNative.Pressable, { onPress: onRightPress }, React__default["default"].cloneElement(rightIcon, {
|
|
4022
4022
|
width: moderateScale(24),
|
|
4023
4023
|
height: moderateScale(24),
|
|
4024
|
-
onPress: onRightPress,
|
|
4025
4024
|
style: styles$j.rightIconStyle
|
|
4026
|
-
}) : null
|
|
4025
|
+
})) : null
|
|
4027
4026
|
);
|
|
4028
4027
|
};
|
|
4029
4028
|
var CustomHeader$1 = withThemeProvider(CustomHeader);
|