dhre-ui-kit 0.0.370 → 0.0.372

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 CHANGED
@@ -58,6 +58,7 @@ interface BottomDrawerProps {
58
58
  rightTitleVariant?: string;
59
59
  rightTitle?: string;
60
60
  rightTitleStyle?: TextStyle;
61
+ handleRightTitlePress?: () => void;
61
62
  }
62
63
 
63
64
  declare const BottomDrawer: React$1.FC<BottomDrawerProps>;
package/lib/index.js CHANGED
@@ -738,7 +738,8 @@ const BottomDrawer = ({
738
738
  swipeDirection = "down",
739
739
  rightTitleVariant = "B2_REGULAR",
740
740
  rightTitle,
741
- rightTitleStyle
741
+ rightTitleStyle,
742
+ handleRightTitlePress
742
743
  }) => {
743
744
  return /* @__PURE__ */ React__default["default"].createElement(
744
745
  Modal__default["default"],
@@ -770,14 +771,14 @@ const BottomDrawer = ({
770
771
  text: title,
771
772
  style: { ...styles$z.title, ...titleStyle }
772
773
  }
773
- )), /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: rightTitle?.length ? styles$z.rightSideStyle : {} }, rightTitle?.length ? /* @__PURE__ */ React__default["default"].createElement(
774
+ )), /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: rightTitle?.length ? styles$z.rightSideStyle : {} }, rightTitle?.length ? /* @__PURE__ */ React__default["default"].createElement(reactNative.Pressable, { onPress: handleRightTitlePress }, /* @__PURE__ */ React__default["default"].createElement(
774
775
  CustomTypography,
775
776
  {
776
777
  variant: rightTitleVariant,
777
778
  text: rightTitle,
778
779
  style: { ...styles$z.rightTitle, ...rightTitleStyle }
779
780
  }
780
- ) : null, showRightIcon && rightIcon ? React__default["default"].cloneElement(rightIcon, {
781
+ )) : null, showRightIcon && rightIcon ? React__default["default"].cloneElement(rightIcon, {
781
782
  width: moderateScale(24),
782
783
  height: moderateScale(24),
783
784
  style: styles$z.rightIconStyle,
@@ -3048,7 +3049,7 @@ const FileUpload = ({
3048
3049
  };
3049
3050
 
3050
3051
  const PdfView = (props) => {
3051
- return /* @__PURE__ */ React__default["default"].createElement(Pdf__default["default"], { ...props });
3052
+ return /* @__PURE__ */ React__default["default"].createElement(Pdf__default["default"], { ...props, trustAllCerts: false });
3052
3053
  };
3053
3054
 
3054
3055
  const styles$s = reactNative.StyleSheet.create({