dhre-ui-kit 0.0.134 → 0.0.136

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
@@ -17,7 +17,7 @@ interface CustomTextProps extends TextProps {
17
17
  style?: StyleProp<TextStyle>;
18
18
  textColor?: string;
19
19
  }
20
- declare const _default$e: (props: CustomTextProps) => React$1.JSX.Element;
20
+ declare const _default$h: (props: CustomTextProps) => React$1.JSX.Element;
21
21
 
22
22
  interface BadgeProps {
23
23
  text?: string;
@@ -27,7 +27,7 @@ interface BadgeProps {
27
27
  iconStyle?: ViewStyle;
28
28
  handleIconPress: () => void;
29
29
  }
30
- declare const _default$d: (props: BadgeProps) => React$1.JSX.Element;
30
+ declare const _default$g: (props: BadgeProps) => React$1.JSX.Element;
31
31
 
32
32
  interface BottomDrawerProps {
33
33
  isModalVisible: boolean;
@@ -49,6 +49,7 @@ interface BottomDrawerProps {
49
49
  titleStyle?: TextStyle;
50
50
  titleVariant?: string;
51
51
  showHeader?: boolean;
52
+ blurType?: 'dark' | 'light' | 'xlight';
52
53
  }
53
54
 
54
55
  declare const BottomDrawer: React$1.FC<BottomDrawerProps>;
@@ -70,7 +71,7 @@ interface CustomButtonProps {
70
71
  disableButtonTitleColor?: string;
71
72
  }
72
73
 
73
- declare const _default$c: (props: CustomButtonProps) => React$1.JSX.Element;
74
+ declare const _default$f: (props: CustomButtonProps) => React$1.JSX.Element;
74
75
 
75
76
  interface CardsProps {
76
77
  topLeftTitle?: string;
@@ -317,7 +318,7 @@ interface Props {
317
318
  onSelectionChange?: (selected: string[]) => void;
318
319
  style?: ViewStyle;
319
320
  }
320
- declare const _default$b: (props: Props) => React$1.JSX.Element;
321
+ declare const _default$e: (props: Props) => React$1.JSX.Element;
321
322
 
322
323
  interface TagsProps {
323
324
  tags: string[];
@@ -354,9 +355,10 @@ interface AccordionProps {
354
355
  disabled?: boolean;
355
356
  icon: React$1.ReactElement;
356
357
  onHeaderPress?: () => void;
358
+ titleVariant?: string;
357
359
  }
358
360
 
359
- declare const Accordion: ({ title, testId, containerStyle, titleStyle, headerStyle, children, isOpen, onToggle, optionalElement, headerComponent, disabled, icon, onHeaderPress, }: AccordionProps) => React$1.JSX.Element;
361
+ declare const _default$d: (props: AccordionProps) => React$1.JSX.Element;
360
362
 
361
363
  interface ToastProps {
362
364
  sucessIcon: React$1.ReactElement;
@@ -409,7 +411,7 @@ interface CustomHeaderProps {
409
411
  onRightPress?: () => void;
410
412
  }
411
413
 
412
- declare const CustomHeader: ({ title, testId, leftIcon, rightIcon, showLeftIcon, showRightIcon, onLeftPress, onRightPress, }: CustomHeaderProps) => React$1.JSX.Element;
414
+ declare const _default$c: (props: CustomHeaderProps) => React$1.JSX.Element;
413
415
 
414
416
  interface ListItem {
415
417
  id: string;
@@ -479,7 +481,7 @@ interface CustomLoaderProps {
479
481
 
480
482
  declare const CustomLoader: ({ loading }: CustomLoaderProps) => React$1.JSX.Element | null;
481
483
 
482
- declare const _default$a: (props: {
484
+ declare const _default$b: (props: {
483
485
  style?: ViewStyle;
484
486
  }) => React$1.JSX.Element;
485
487
 
@@ -493,7 +495,7 @@ interface OurOfficesButtonProps$1 {
493
495
  time?: string;
494
496
  subTitleStyle?: TextStyle;
495
497
  }
496
- declare const _default$9: (props: OurOfficesButtonProps$1) => React$1.JSX.Element;
498
+ declare const _default$a: (props: OurOfficesButtonProps$1) => React$1.JSX.Element;
497
499
 
498
500
  interface ContactModalProps {
499
501
  phoneNumber: string;
@@ -502,13 +504,13 @@ interface ContactModalProps {
502
504
  isMailOpen: boolean;
503
505
  data: string;
504
506
  }
505
- declare const _default$8: (props: ContactModalProps) => React$1.JSX.Element;
507
+ declare const _default$9: (props: ContactModalProps) => React$1.JSX.Element;
506
508
 
507
509
  interface DateRangePickerProps extends CalendarProps {
508
510
  onButtonPress: (startDate: string, endDate: string) => void;
509
511
  }
510
512
 
511
- declare const DateRangePicker: (props: DateRangePickerProps) => React$1.JSX.Element;
513
+ declare const _default$8: (props: DateRangePickerProps) => React$1.JSX.Element;
512
514
 
513
515
  interface OurOfficesButtonProps {
514
516
  leftIcon?: ReactElement<SvgProps>;
@@ -1050,4 +1052,4 @@ interface PropertyDetailsProps {
1050
1052
 
1051
1053
  declare const _default: (props: PropertyDetailsProps) => React$1.JSX.Element;
1052
1054
 
1053
- export { Accordion, _default$1 as AppointmentCard, _default$d as Badge, BottomDrawer, _default$c as Button, Cards, _default$6 as Category, Checkbox as CheckBox, _default$8 as ContactModel, CountryDropDown as CountryPicker, _default$5 as CustomDocumentPicker, CustomDropdown$1 as CustomDropdown, CustomHeader, type CustomHeaderProps, CustomIcon, CustomLoader, CustomProgressBar, CustomSearchBar, _default$2 as CustomSlideButton, CustomSwitchBtn, _default$e as CustomText, CustomTextInput, CustomTooltip, CustomTypography, DHRE_COLORS_ALERT, DHRE_COLORS_BG, DHRE_COLORS_PRIMARY, DHRE_COLORS_SECONDARY, DHRE_COLORS_TEXT, DHRE_DEFAULT, DateRangePicker, CustomDropdown as DropDown, FONT_STYLES, FeedbackForm, FileUpload, FontStyle, _default$a as Line, NotificationBandge, _default$4 as OTPInput, _default$7 as OurOfficesButton, PdfView, PopUp, _default as PropertyDetails, ShapeType, TagsComponent as SingleSelectionTags, Star as StarRating, _default$3 as Stepper, SwipableList, _default$b as Tabs, Tags, TextDirectType, CommonTextInput as TextInput, Theme, Toast, type ToastRef, CustomSwitch as ToggleButton, ToggleButtonType, ToggleTextType, _default$9 as Topic, copyToClipboard, theme as default, height, horizontalScale, moderateScale, toastService, verticalScale, width };
1055
+ export { _default$d as Accordion, _default$1 as AppointmentCard, _default$g as Badge, BottomDrawer, _default$f as Button, Cards, _default$6 as Category, Checkbox as CheckBox, _default$9 as ContactModel, CountryDropDown as CountryPicker, _default$5 as CustomDocumentPicker, CustomDropdown$1 as CustomDropdown, _default$c as CustomHeader, type CustomHeaderProps, CustomIcon, CustomLoader, CustomProgressBar, CustomSearchBar, _default$2 as CustomSlideButton, CustomSwitchBtn, _default$h as CustomText, CustomTextInput, CustomTooltip, CustomTypography, DHRE_COLORS_ALERT, DHRE_COLORS_BG, DHRE_COLORS_PRIMARY, DHRE_COLORS_SECONDARY, DHRE_COLORS_TEXT, DHRE_DEFAULT, _default$8 as DateRangePicker, CustomDropdown as DropDown, FONT_STYLES, FeedbackForm, FileUpload, FontStyle, _default$b as Line, NotificationBandge, _default$4 as OTPInput, _default$7 as OurOfficesButton, PdfView, PopUp, _default as PropertyDetails, ShapeType, TagsComponent as SingleSelectionTags, Star as StarRating, _default$3 as Stepper, SwipableList, _default$e as Tabs, Tags, TextDirectType, CommonTextInput as TextInput, Theme, Toast, type ToastRef, CustomSwitch as ToggleButton, ToggleButtonType, ToggleTextType, _default$a as Topic, copyToClipboard, theme as default, height, horizontalScale, moderateScale, toastService, verticalScale, width };
package/lib/index.js CHANGED
@@ -668,7 +668,8 @@ const BottomDrawer = ({
668
668
  onLeftIconPress,
669
669
  titleStyle,
670
670
  titleVariant = "B2_REGULAR",
671
- showHeader = true
671
+ showHeader = true,
672
+ blurType = "light"
672
673
  }) => {
673
674
  const onSwipDown = (event) => {
674
675
  const { translationY } = event.nativeEvent;
@@ -694,7 +695,7 @@ const BottomDrawer = ({
694
695
  blur.BlurView,
695
696
  {
696
697
  style: [styles$D.blurView, blurViewStyle],
697
- blurType: "light",
698
+ blurType,
698
699
  blurAmount
699
700
  }
700
701
  ) : null, /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: [styles$D.modalContainer, modalContainerStyle] }, showHeader && /* @__PURE__ */ React__default["default"].createElement(React__default["default"].Fragment, null, /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: styles$D.separator }), /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: styles$D.headerContainer }, showLeftIcon && leftIcon ? React__default["default"].cloneElement(leftIcon, {
@@ -1890,8 +1891,7 @@ const CustomSwitch = ({
1890
1891
  const styles$p = reactNative.StyleSheet.create({
1891
1892
  container: {
1892
1893
  paddingVertical: verticalScale(24),
1893
- borderBottomWidth: moderateScale(1),
1894
- borderBottomColor: "#282828"
1894
+ borderBottomWidth: moderateScale(1)
1895
1895
  },
1896
1896
  header: {
1897
1897
  flexDirection: "row",
@@ -1899,7 +1899,7 @@ const styles$p = reactNative.StyleSheet.create({
1899
1899
  alignItems: "center",
1900
1900
  paddingHorizontal: horizontalScale(24)
1901
1901
  },
1902
- title: { flex: 1, color: "#FFFFFF" },
1902
+ title: { flex: 1 },
1903
1903
  iconStyle: { marginLeft: horizontalScale(20) },
1904
1904
  content: {
1905
1905
  overflow: "scroll",
@@ -1921,11 +1921,13 @@ const Accordion = ({
1921
1921
  headerComponent,
1922
1922
  disabled = false,
1923
1923
  icon,
1924
- onHeaderPress
1924
+ onHeaderPress,
1925
+ titleVariant = "B4_REGULAR"
1925
1926
  }) => {
1926
1927
  const contentRef = React.useRef(null);
1927
1928
  const [animation] = React.useState(new reactNative.Animated.Value(0));
1928
1929
  const [contentHeight, setContentHeight] = React.useState(0);
1930
+ const { theme } = useTheme();
1929
1931
  React.useEffect(() => {
1930
1932
  if (contentRef.current) {
1931
1933
  contentRef.current.measure((x, y, width, height) => {
@@ -1944,28 +1946,46 @@ const Accordion = ({
1944
1946
  inputRange: [0, 1],
1945
1947
  outputRange: [0, contentHeight]
1946
1948
  });
1947
- return /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: [styles$p.container, containerStyle], testID: testId }, /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: [styles$p.header, headerStyle, disabled && { opacity: 0.5 }] }, headerComponent ? headerComponent() : /* @__PURE__ */ React__default["default"].createElement(reactNative.Pressable, { onPress: onHeaderPress }, /* @__PURE__ */ React__default["default"].createElement(
1948
- CustomTypography,
1949
- {
1950
- variant: "B4_REGULAR",
1951
- text: title,
1952
- style: [styles$p.title, titleStyle]
1953
- }
1954
- )), /* @__PURE__ */ React__default["default"].createElement(reactNative.Pressable, { onPress: !disabled ? onToggle : void 0 }, React__default["default"].cloneElement(icon, {
1955
- width: moderateScale(20),
1956
- height: moderateScale(20),
1957
- style: styles$p.iconStyle
1958
- }))), optionalElement ? optionalElement() : null, isOpen && /* @__PURE__ */ React__default["default"].createElement(reactNative.Animated.View, { style: [styles$p.content, { height: cardHeight }] }, /* @__PURE__ */ React__default["default"].createElement(
1949
+ return /* @__PURE__ */ React__default["default"].createElement(
1959
1950
  reactNative.View,
1960
1951
  {
1961
- ref: contentRef,
1962
- onLayout: (event) => {
1963
- setContentHeight(event.nativeEvent.layout.height);
1964
- }
1952
+ style: {
1953
+ ...styles$p.container,
1954
+ borderBottomColor: theme.BORDER_SEPRATOR,
1955
+ ...containerStyle
1956
+ },
1957
+ testID: testId
1965
1958
  },
1966
- children
1967
- )));
1959
+ /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: [styles$p.header, headerStyle, disabled && { opacity: 0.5 }] }, headerComponent ? headerComponent() : /* @__PURE__ */ React__default["default"].createElement(reactNative.Pressable, { onPress: onHeaderPress }, /* @__PURE__ */ React__default["default"].createElement(
1960
+ CustomTypography,
1961
+ {
1962
+ variant: titleVariant,
1963
+ text: title,
1964
+ style: {
1965
+ ...styles$p.title,
1966
+ color: theme.CONTENT_PRIMARY,
1967
+ ...titleStyle
1968
+ }
1969
+ }
1970
+ )), /* @__PURE__ */ React__default["default"].createElement(reactNative.Pressable, { onPress: !disabled ? onToggle : void 0 }, React__default["default"].cloneElement(icon, {
1971
+ width: moderateScale(20),
1972
+ height: moderateScale(20),
1973
+ style: styles$p.iconStyle
1974
+ }))),
1975
+ optionalElement ? optionalElement() : null,
1976
+ isOpen && /* @__PURE__ */ React__default["default"].createElement(reactNative.Animated.View, { style: [styles$p.content, { height: cardHeight }] }, /* @__PURE__ */ React__default["default"].createElement(
1977
+ reactNative.View,
1978
+ {
1979
+ ref: contentRef,
1980
+ onLayout: (event) => {
1981
+ setContentHeight(event.nativeEvent.layout.height);
1982
+ }
1983
+ },
1984
+ children
1985
+ ))
1986
+ );
1968
1987
  };
1988
+ var Accordion$1 = withThemeProvider(Accordion);
1969
1989
 
1970
1990
  const styles$o = reactNative.StyleSheet.create({
1971
1991
  container: {
@@ -2199,17 +2219,12 @@ const styles$m = reactNative.StyleSheet.create({
2199
2219
  paddingHorizontal: horizontalScale(16),
2200
2220
  paddingTop: verticalScale(74),
2201
2221
  paddingBottom: verticalScale(16),
2202
- backgroundColor: "#212121",
2203
- borderBottomWidth: 1,
2204
- borderBottomColor: "#282828"
2222
+ borderBottomWidth: 1
2205
2223
  },
2206
2224
  headderContainer: {
2207
2225
  flexDirection: "row",
2208
2226
  alignItems: "center"
2209
2227
  },
2210
- headerTitle: {
2211
- color: "#FFFFFF"
2212
- },
2213
2228
  leftIconStyle: { marginRight: horizontalScale(9) },
2214
2229
  rightIconStyle: { marginLeft: horizontalScale(8) }
2215
2230
  });
@@ -2224,25 +2239,39 @@ const CustomHeader = ({
2224
2239
  onLeftPress,
2225
2240
  onRightPress
2226
2241
  }) => {
2227
- return /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: styles$m.container, testID: testId }, /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: styles$m.headderContainer }, showLeftIcon && leftIcon ? React__default["default"].cloneElement(leftIcon, {
2228
- width: moderateScale(24),
2229
- height: moderateScale(24),
2230
- onPress: onLeftPress,
2231
- style: styles$m.leftIconStyle
2232
- }) : null, /* @__PURE__ */ React__default["default"].createElement(
2233
- CustomTypography,
2242
+ const { theme } = useTheme();
2243
+ return /* @__PURE__ */ React__default["default"].createElement(
2244
+ reactNative.View,
2234
2245
  {
2235
- variant: "B2_REGULAR",
2236
- text: title,
2237
- style: styles$m.headerTitle
2238
- }
2239
- )), showRightIcon && rightIcon ? React__default["default"].cloneElement(rightIcon, {
2240
- width: moderateScale(24),
2241
- height: moderateScale(24),
2242
- onPress: onRightPress,
2243
- style: styles$m.rightIconStyle
2244
- }) : null);
2246
+ style: {
2247
+ ...styles$m.container,
2248
+ backgroundColor: theme.SURFACE_SECONDARY,
2249
+ borderBottomColor: theme.BORDER_SEPERATOR_HEADER
2250
+ },
2251
+ testID: testId
2252
+ },
2253
+ /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: styles$m.headderContainer }, showLeftIcon && leftIcon ? React__default["default"].cloneElement(leftIcon, {
2254
+ width: moderateScale(24),
2255
+ height: moderateScale(24),
2256
+ onPress: onLeftPress,
2257
+ style: styles$m.leftIconStyle
2258
+ }) : null, /* @__PURE__ */ React__default["default"].createElement(
2259
+ CustomTypography,
2260
+ {
2261
+ variant: "B2_REGULAR",
2262
+ text: title,
2263
+ style: { color: theme.CONTENT_PRIMARY }
2264
+ }
2265
+ )),
2266
+ showRightIcon && rightIcon ? React__default["default"].cloneElement(rightIcon, {
2267
+ width: moderateScale(24),
2268
+ height: moderateScale(24),
2269
+ onPress: onRightPress,
2270
+ style: styles$m.rightIconStyle
2271
+ }) : null
2272
+ );
2245
2273
  };
2274
+ var CustomHeader$1 = withThemeProvider(CustomHeader);
2246
2275
 
2247
2276
  const styles$l = reactNative.StyleSheet.create({
2248
2277
  container: {
@@ -2251,21 +2280,14 @@ const styles$l = reactNative.StyleSheet.create({
2251
2280
  swippableContainer: { paddingVertical: verticalScale(16) },
2252
2281
  actionButton: {
2253
2282
  justifyContent: "center",
2254
- alignItems: "center"
2283
+ alignItems: "center",
2284
+ paddingHorizontal: horizontalScale(24)
2255
2285
  },
2256
2286
  titleStyle: {
2257
2287
  color: "#fff"
2258
2288
  },
2259
- leftActions: {
2260
- flexDirection: "row",
2261
- justifyContent: "center",
2262
- alignItems: "center",
2263
- width: horizontalScale(150),
2264
- gap: horizontalScale(24)
2265
- },
2266
- rightActions: {
2267
- flexDirection: "row",
2268
- paddingHorizontal: horizontalScale(24)
2289
+ actionBtn: {
2290
+ flexDirection: "row"
2269
2291
  },
2270
2292
  seprator: {
2271
2293
  height: verticalScale(16)
@@ -2317,7 +2339,7 @@ const SwipableList = (props) => {
2317
2339
  }
2318
2340
  )
2319
2341
  );
2320
- const leftActionHandle = (item, leftPrimaryActionIcon, leftPrimaryActionTitle, leftSecondaryActionIcon, leftSecondaryActionTitle) => /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: [styles$l.leftActions, leftPrimaryActionStyle] }, leftPrimaryActionIcon && /* @__PURE__ */ React__default["default"].createElement(
2342
+ const leftActionHandle = (item, leftPrimaryActionIcon, leftPrimaryActionTitle, leftSecondaryActionIcon, leftSecondaryActionTitle) => /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: styles$l.actionBtn }, leftPrimaryActionIcon && /* @__PURE__ */ React__default["default"].createElement(
2321
2343
  ActionButton,
2322
2344
  {
2323
2345
  icon: leftPrimaryActionIcon,
@@ -2336,7 +2358,7 @@ const SwipableList = (props) => {
2336
2358
  testID: `${testId}-LEFT-SECONDARY-${item.id}`
2337
2359
  }
2338
2360
  ));
2339
- const rightActionHandle = (item) => /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: [styles$l.rightActions, rightPrimaryActionStyle] }, rightPrimaryActionIcon && /* @__PURE__ */ React__default["default"].createElement(
2361
+ const rightActionHandle = (item) => /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: [styles$l.actionBtn, rightPrimaryActionStyle] }, rightPrimaryActionIcon && /* @__PURE__ */ React__default["default"].createElement(
2340
2362
  ActionButton,
2341
2363
  {
2342
2364
  icon: rightPrimaryActionIcon,
@@ -2697,11 +2719,9 @@ const styles$f = reactNative.StyleSheet.create({
2697
2719
  marginTop: verticalScale(24),
2698
2720
  height: verticalScale(48),
2699
2721
  alignItems: "center",
2700
- borderRadius: moderateScale(25),
2701
- backgroundColor: "#fff"
2722
+ borderRadius: moderateScale(25)
2702
2723
  },
2703
2724
  applyButtonText: {
2704
- color: "#000",
2705
2725
  ...FONT_STYLES.L1_REGULAR
2706
2726
  }
2707
2727
  });
@@ -2712,6 +2732,7 @@ const DateRangePicker = (props) => {
2712
2732
  startDate: "",
2713
2733
  endDate: ""
2714
2734
  });
2735
+ const { theme } = useTheme();
2715
2736
  const onDayPress = (day) => {
2716
2737
  const { dateString } = day;
2717
2738
  const { startDate, endDate } = selectedRange;
@@ -2731,15 +2752,15 @@ const DateRangePicker = (props) => {
2731
2752
  if (startDate) {
2732
2753
  markedDates[startDate] = {
2733
2754
  startingDay: true,
2734
- color: "#2DE3A6",
2735
- textColor: "#000000"
2755
+ color: theme.SUCCESS,
2756
+ textColor: theme.CONTENT_PRIMARY
2736
2757
  };
2737
2758
  }
2738
2759
  if (endDate) {
2739
2760
  markedDates[endDate] = {
2740
2761
  endingDay: true,
2741
- color: "#2DE3A6",
2742
- textColor: "#000000"
2762
+ color: theme.SUCCESS,
2763
+ textColor: theme.CONTENT_PRIMARY
2743
2764
  };
2744
2765
  }
2745
2766
  if (startDate && endDate) {
@@ -2748,8 +2769,8 @@ const DateRangePicker = (props) => {
2748
2769
  while (start < end) {
2749
2770
  start.setDate(start.getDate() + 1);
2750
2771
  markedDates[start.toISOString().split("T")[0]] = {
2751
- color: "#2DE3A6",
2752
- textColor: "#000000"
2772
+ color: theme.SUCCESS,
2773
+ textColor: theme.CONTENT_PRIMARY
2753
2774
  };
2754
2775
  }
2755
2776
  }
@@ -2764,14 +2785,14 @@ const DateRangePicker = (props) => {
2764
2785
  markingType: "period",
2765
2786
  theme: {
2766
2787
  calendarBackground: "transparent",
2767
- arrowColor: "#fff",
2768
- monthTextColor: "#FFFFFF",
2769
- dayTextColor: "#A7A7A7",
2770
- todayTextColor: "#2DE3A6"
2788
+ arrowColor: theme.CONTENT_PRIMARY,
2789
+ monthTextColor: theme.CONTENT_PRIMARY,
2790
+ dayTextColor: theme.CONTENT_SECONDRY,
2791
+ todayTextColor: theme.SUCCESS
2771
2792
  },
2772
2793
  style: {
2773
2794
  backgroundColor: "transparent",
2774
- color: "#A7A7A7"
2795
+ color: theme.CONTENT_SECONDRY
2775
2796
  },
2776
2797
  onDayPress,
2777
2798
  ...props
@@ -2783,12 +2804,16 @@ const DateRangePicker = (props) => {
2783
2804
  onPress: () => {
2784
2805
  onButtonPress(selectedRange?.startDate, selectedRange?.endDate);
2785
2806
  },
2786
- containerStyle: styles$f.applyButton,
2787
- textStyle: styles$f.applyButtonText,
2807
+ containerStyle: {
2808
+ ...styles$f.applyButton,
2809
+ backgroundColor: theme.SURFACE_INVERTED
2810
+ },
2811
+ textStyle: { color: theme.CONTENT_PRIMARY },
2788
2812
  disabled: isButtonDisabled
2789
2813
  }
2790
2814
  ));
2791
2815
  };
2816
+ var DateRangePicker$1 = withThemeProvider(DateRangePicker);
2792
2817
 
2793
2818
  const OurOfficesButton = ({
2794
2819
  leftIcon,
@@ -4191,7 +4216,7 @@ const AppointmentCard = ({
4191
4216
  }) => {
4192
4217
  const { theme } = useTheme();
4193
4218
  return /* @__PURE__ */ React__default["default"].createElement(
4194
- Accordion,
4219
+ Accordion$1,
4195
4220
  {
4196
4221
  title,
4197
4222
  isOpen,
@@ -4383,7 +4408,7 @@ const PropertyDetails = ({
4383
4408
  };
4384
4409
  var index = withThemeProvider(PropertyDetails);
4385
4410
 
4386
- exports.Accordion = Accordion;
4411
+ exports.Accordion = Accordion$1;
4387
4412
  exports.AppointmentCard = index$1;
4388
4413
  exports.Badge = Badge$1;
4389
4414
  exports.BottomDrawer = BottomDrawer;
@@ -4395,7 +4420,7 @@ exports.ContactModel = ContactModel;
4395
4420
  exports.CountryPicker = CountryDropDown;
4396
4421
  exports.CustomDocumentPicker = CustomDocumentPicker$1;
4397
4422
  exports.CustomDropdown = CustomDropdown$1;
4398
- exports.CustomHeader = CustomHeader;
4423
+ exports.CustomHeader = CustomHeader$1;
4399
4424
  exports.CustomIcon = CustomIcon;
4400
4425
  exports.CustomLoader = CustomLoader;
4401
4426
  exports.CustomProgressBar = CustomProgressBar;
@@ -4412,7 +4437,7 @@ exports.DHRE_COLORS_PRIMARY = DHRE_COLORS_PRIMARY;
4412
4437
  exports.DHRE_COLORS_SECONDARY = DHRE_COLORS_SECONDARY;
4413
4438
  exports.DHRE_COLORS_TEXT = DHRE_COLORS_TEXT;
4414
4439
  exports.DHRE_DEFAULT = DHRE_DEFAULT;
4415
- exports.DateRangePicker = DateRangePicker;
4440
+ exports.DateRangePicker = DateRangePicker$1;
4416
4441
  exports.DropDown = CustomDropdown;
4417
4442
  exports.FONT_STYLES = FONT_STYLES;
4418
4443
  exports.FeedbackForm = FeedbackForm;