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.mjs CHANGED
@@ -702,7 +702,8 @@ const BottomDrawer = ({
702
702
  swipeDirection = "down",
703
703
  rightTitleVariant = "B2_REGULAR",
704
704
  rightTitle,
705
- rightTitleStyle
705
+ rightTitleStyle,
706
+ handleRightTitlePress
706
707
  }) => {
707
708
  return /* @__PURE__ */ React.createElement(
708
709
  Modal,
@@ -734,14 +735,14 @@ const BottomDrawer = ({
734
735
  text: title,
735
736
  style: { ...styles$z.title, ...titleStyle }
736
737
  }
737
- )), /* @__PURE__ */ React.createElement(View, { style: rightTitle?.length ? styles$z.rightSideStyle : {} }, rightTitle?.length ? /* @__PURE__ */ React.createElement(
738
+ )), /* @__PURE__ */ React.createElement(View, { style: rightTitle?.length ? styles$z.rightSideStyle : {} }, rightTitle?.length ? /* @__PURE__ */ React.createElement(Pressable, { onPress: handleRightTitlePress }, /* @__PURE__ */ React.createElement(
738
739
  CustomTypography,
739
740
  {
740
741
  variant: rightTitleVariant,
741
742
  text: rightTitle,
742
743
  style: { ...styles$z.rightTitle, ...rightTitleStyle }
743
744
  }
744
- ) : null, showRightIcon && rightIcon ? React.cloneElement(rightIcon, {
745
+ )) : null, showRightIcon && rightIcon ? React.cloneElement(rightIcon, {
745
746
  width: moderateScale(24),
746
747
  height: moderateScale(24),
747
748
  style: styles$z.rightIconStyle,
@@ -3012,7 +3013,7 @@ const FileUpload = ({
3012
3013
  };
3013
3014
 
3014
3015
  const PdfView = (props) => {
3015
- return /* @__PURE__ */ React.createElement(Pdf, { ...props });
3016
+ return /* @__PURE__ */ React.createElement(Pdf, { ...props, trustAllCerts: false });
3016
3017
  };
3017
3018
 
3018
3019
  const styles$s = StyleSheet.create({