dhre-ui-kit 0.0.284 → 0.0.286

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,10 +48,12 @@ interface BottomDrawerProps {
48
48
  titleStyle?: TextStyle;
49
49
  titleVariant?: string;
50
50
  showHeader?: boolean;
51
+ blurType?: 'dark' | 'light';
51
52
  showSeparator?: boolean;
53
+ backdropColor?: string;
52
54
  }
53
55
 
54
- declare const _default$j: (props: BottomDrawerProps) => React$1.JSX.Element;
56
+ declare const BottomDrawer: React$1.FC<BottomDrawerProps>;
55
57
 
56
58
  interface CustomButtonProps {
57
59
  title: string;
@@ -1126,4 +1128,4 @@ interface RadioButtonGroupProps {
1126
1128
 
1127
1129
  declare const RadioButtonGroup: React$1.FC<RadioButtonGroupProps>;
1128
1130
 
1129
- 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
@@ -696,16 +696,16 @@ const BottomDrawer = ({
696
696
  titleVariant = "B2_REGULAR",
697
697
  showHeader = true,
698
698
  showSeparator = true,
699
- showBlurView = false
699
+ showBlurView = true,
700
+ backdropColor
700
701
  }) => {
701
- const { theme } = useTheme();
702
702
  return /* @__PURE__ */ React__default["default"].createElement(
703
703
  Modal__default["default"],
704
704
  {
705
705
  isVisible: isModalVisible,
706
706
  swipeDirection: "down",
707
707
  onSwipeComplete: toggleModal,
708
- backdropColor: theme.SURFACE_PRIMARY,
708
+ backdropColor: backdropColor ?? theme.SURFACE_PRIMARY.light,
709
709
  hasBackdrop: showBlurView,
710
710
  style: { margin: 0 }
711
711
  },
@@ -736,7 +736,6 @@ const BottomDrawer = ({
736
736
  )
737
737
  );
738
738
  };
739
- var BottomDrawer$1 = withThemeProvider(BottomDrawer);
740
739
 
741
740
  const createStyles$3 = (theme) => {
742
741
  return reactNative.StyleSheet.create({
@@ -4959,7 +4958,7 @@ const RadioButtonGroup = ({ data, onSelect, containerStyle, labelStyle, optionCo
4959
4958
  exports.Accordion = Accordion$1;
4960
4959
  exports.AppointmentCard = index$1;
4961
4960
  exports.Badge = Badge$1;
4962
- exports.BottomDrawer = BottomDrawer$1;
4961
+ exports.BottomDrawer = BottomDrawer;
4963
4962
  exports.Button = CustomButton$1;
4964
4963
  exports.Cards = Cards;
4965
4964
  exports.Category = category;