dhre-ui-kit 0.0.285 → 0.0.287

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
@@ -18,7 +18,7 @@ interface CustomTextProps extends TextProps {
18
18
  style?: StyleProp<TextStyle>;
19
19
  textColor?: string;
20
20
  }
21
- declare const _default$l: (props: CustomTextProps) => React$1.JSX.Element;
21
+ declare const _default$k: (props: CustomTextProps) => React$1.JSX.Element;
22
22
 
23
23
  interface BadgeProps {
24
24
  text?: string;
@@ -28,7 +28,7 @@ interface BadgeProps {
28
28
  iconStyle?: ViewStyle;
29
29
  handleIconPress: () => void;
30
30
  }
31
- declare const _default$k: (props: BadgeProps) => React$1.JSX.Element;
31
+ declare const _default$j: (props: BadgeProps) => React$1.JSX.Element;
32
32
 
33
33
  interface BottomDrawerProps {
34
34
  isModalVisible: boolean;
@@ -48,12 +48,12 @@ interface BottomDrawerProps {
48
48
  titleStyle?: TextStyle;
49
49
  titleVariant?: string;
50
50
  showHeader?: boolean;
51
- blurType?: 'dark' | 'light';
52
51
  showSeparator?: boolean;
53
52
  backdropColor?: string;
53
+ backdropOpacity?: number;
54
54
  }
55
55
 
56
- declare const _default$j: (props: BottomDrawerProps) => React$1.JSX.Element;
56
+ declare const BottomDrawer: React$1.FC<BottomDrawerProps>;
57
57
 
58
58
  interface CustomButtonProps {
59
59
  title: string;
@@ -1128,4 +1128,4 @@ interface RadioButtonGroupProps {
1128
1128
 
1129
1129
  declare const RadioButtonGroup: React$1.FC<RadioButtonGroupProps>;
1130
1130
 
1131
- export { _default$g as Accordion, _default$1 as AppointmentCard, _default$k as Badge, _default$j as BottomDrawer, _default$i as Button, Cards, _default$7 as Category, Checkbox as CheckBox, _default$a as ContactModel, CountryDropDown as CountryPicker, _default$4 as CustomDocumentPicker, CustomDropdown$1 as CustomDropdown, _default$f as CustomHeader, type CustomHeaderProps, CustomIcon, _default$d as CustomLoader, CustomProgressBar, CustomSearchBar, _default$2 as CustomSlideButton, CustomSwitchBtn, _default$l as CustomText, CustomTextInput, CustomTooltip, CustomTypography, DHRE_COLORS_ALERT, DHRE_COLORS_BG, DHRE_COLORS_PRIMARY, DHRE_COLORS_SECONDARY, DHRE_COLORS_TEXT, DHRE_DEFAULT, _default$9 as DateRangePicker, CustomDropdown as DropDown, FONT_STYLES, _default$6 as FeedbackForm, FileUpload, FontStyle, _default$c as Line, NotificationBandge, OTPInput, _default$8 as OurOfficesButton, PdfView, PopUp, _default as PropertyDetails, RadioButtonGroup, ShapeType, _default$5 as SingleSelectionTags, type SlideButtonHandle, Star as StarRating, _default$3 as Stepper, _default$e as SwipableList, _default$h as Tabs, Tags, TextDirectType, CommonTextInput as TextInput, Theme, Toast, type ToastRef, CustomSwitch as ToggleButton, ToggleButtonType, ToggleTextType, _default$b as Topic, copyToClipboard, theme as default, height, horizontalScale, moderateScale, toastService, verticalScale, width };
1131
+ export { _default$g as Accordion, _default$1 as AppointmentCard, _default$j as Badge, BottomDrawer, _default$i as Button, Cards, _default$7 as Category, Checkbox as CheckBox, _default$a as ContactModel, CountryDropDown as CountryPicker, _default$4 as CustomDocumentPicker, CustomDropdown$1 as CustomDropdown, _default$f as CustomHeader, type CustomHeaderProps, CustomIcon, _default$d as CustomLoader, CustomProgressBar, CustomSearchBar, _default$2 as CustomSlideButton, CustomSwitchBtn, _default$k as CustomText, CustomTextInput, CustomTooltip, CustomTypography, DHRE_COLORS_ALERT, DHRE_COLORS_BG, DHRE_COLORS_PRIMARY, DHRE_COLORS_SECONDARY, DHRE_COLORS_TEXT, DHRE_DEFAULT, _default$9 as DateRangePicker, CustomDropdown as DropDown, FONT_STYLES, _default$6 as FeedbackForm, FileUpload, FontStyle, _default$c as Line, NotificationBandge, OTPInput, _default$8 as OurOfficesButton, PdfView, PopUp, _default as PropertyDetails, RadioButtonGroup, ShapeType, _default$5 as SingleSelectionTags, type SlideButtonHandle, Star as StarRating, _default$3 as Stepper, _default$e as SwipableList, _default$h as Tabs, Tags, TextDirectType, CommonTextInput as TextInput, Theme, Toast, type ToastRef, CustomSwitch as ToggleButton, ToggleButtonType, ToggleTextType, _default$b as Topic, copyToClipboard, theme as default, height, horizontalScale, moderateScale, toastService, verticalScale, width };
package/lib/index.js CHANGED
@@ -697,17 +697,18 @@ const BottomDrawer = ({
697
697
  showHeader = true,
698
698
  showSeparator = true,
699
699
  showBlurView = true,
700
- backdropColor
700
+ backdropColor,
701
+ backdropOpacity = 0.9
701
702
  }) => {
702
- const { theme } = useTheme();
703
703
  return /* @__PURE__ */ React__default["default"].createElement(
704
704
  Modal__default["default"],
705
705
  {
706
706
  isVisible: isModalVisible,
707
707
  swipeDirection: "down",
708
708
  onSwipeComplete: toggleModal,
709
- backdropColor: backdropColor ?? theme.SURFACE_PRIMARY,
709
+ backdropColor: backdropColor ?? theme.SURFACE_PRIMARY.light,
710
710
  hasBackdrop: showBlurView,
711
+ backdropOpacity,
711
712
  style: { margin: 0 }
712
713
  },
713
714
  /* @__PURE__ */ React__default["default"].createElement(
@@ -737,7 +738,6 @@ const BottomDrawer = ({
737
738
  )
738
739
  );
739
740
  };
740
- var BottomDrawer$1 = withThemeProvider(BottomDrawer);
741
741
 
742
742
  const createStyles$3 = (theme) => {
743
743
  return reactNative.StyleSheet.create({
@@ -4960,7 +4960,7 @@ const RadioButtonGroup = ({ data, onSelect, containerStyle, labelStyle, optionCo
4960
4960
  exports.Accordion = Accordion$1;
4961
4961
  exports.AppointmentCard = index$1;
4962
4962
  exports.Badge = Badge$1;
4963
- exports.BottomDrawer = BottomDrawer$1;
4963
+ exports.BottomDrawer = BottomDrawer;
4964
4964
  exports.Button = CustomButton$1;
4965
4965
  exports.Cards = Cards;
4966
4966
  exports.Category = category;