dhre-ui-kit 0.0.207 → 0.0.209

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
@@ -1055,6 +1055,7 @@ declare const DHRE_COLORS_TEXT: {
1055
1055
  DH_TEXTLIGHTEST: string;
1056
1056
  DH_TEXTDISABLED: string;
1057
1057
  DH_LIGHTGREEN: string;
1058
+ DH_SURFACE_SECONDARY: string;
1058
1059
  };
1059
1060
 
1060
1061
  interface AppointmentCardProps {
@@ -1113,4 +1114,4 @@ interface RadioButtonGroupProps {
1113
1114
 
1114
1115
  declare const RadioButtonGroup: React$1.FC<RadioButtonGroupProps>;
1115
1116
 
1116
- export { _default$g as Accordion, _default$1 as AppointmentCard, _default$j as Badge, BottomDrawer, _default$i as Button, Cards, _default$8 as Category, Checkbox as CheckBox, _default$b as ContactModel, CountryDropDown as CountryPicker, _default$5 as CustomDocumentPicker, CustomDropdown$1 as CustomDropdown, _default$f as CustomHeader, type CustomHeaderProps, CustomIcon, 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$a as DateRangePicker, CustomDropdown as DropDown, FONT_STYLES, _default$7 as FeedbackForm, FileUpload, FontStyle, _default$d as Line, NotificationBandge, _default$4 as OTPInput, _default$9 as OurOfficesButton, PdfView, PopUp, _default as PropertyDetails, RadioButtonGroup, ShapeType, _default$6 as SingleSelectionTags, 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$c as Topic, copyToClipboard, theme as default, height, horizontalScale, moderateScale, toastService, verticalScale, width };
1117
+ export { _default$g as Accordion, _default$1 as AppointmentCard, _default$j as Badge, BottomDrawer, _default$i as Button, Cards, _default$8 as Category, Checkbox as CheckBox, _default$b as ContactModel, CountryDropDown as CountryPicker, _default$5 as CustomDocumentPicker, CustomDropdown$1 as CustomDropdown, _default$f as CustomHeader, type CustomHeaderProps, CustomIcon, 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$a as DateRangePicker, CustomDropdown as DropDown, FONT_STYLES, _default$7 as FeedbackForm, FileUpload, FontStyle, _default$d as Line, NotificationBandge, _default$4 as OTPInput, _default$9 as OurOfficesButton, PdfView, PopUp, _default as PropertyDetails, RadioButtonGroup, ShapeType, _default$6 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$c as Topic, copyToClipboard, theme as default, height, horizontalScale, moderateScale, toastService, verticalScale, width };
package/lib/index.js CHANGED
@@ -582,7 +582,8 @@ const DHRE_COLORS_TEXT = {
582
582
  DH_TEXTLIGHT: "#6C6C6C",
583
583
  DH_TEXTLIGHTEST: "#A7A7A7",
584
584
  DH_TEXTDISABLED: "#CCCCCC",
585
- DH_LIGHTGREEN: "#00B578"
585
+ DH_LIGHTGREEN: "#00B578",
586
+ DH_SURFACE_SECONDARY: "#212121"
586
587
  };
587
588
 
588
589
  const styles$B = reactNative.StyleSheet.create({
@@ -2819,7 +2820,6 @@ const DateRangePicker = (props) => {
2819
2820
  if (startDate) {
2820
2821
  markedDates[startDate] = {
2821
2822
  startingDay: true,
2822
- color: theme.SUCCESS,
2823
2823
  textColor: theme.CONTENT_INVERTED,
2824
2824
  customContainerStyle: mode === "dark" ? { backgroundColor: theme.SURFACE_INVERTED } : {
2825
2825
  borderWidth: moderateScale(2),
@@ -2837,6 +2837,14 @@ const DateRangePicker = (props) => {
2837
2837
  borderColor: theme.SURFACE_PRIMARY
2838
2838
  }
2839
2839
  };
2840
+ markedDates[startDate] = {
2841
+ startingDay: true,
2842
+ textColor: theme.CONTENT_INVERTED,
2843
+ customContainerStyle: mode === "dark" ? { backgroundColor: theme.SURFACE_INVERTED } : {
2844
+ borderWidth: moderateScale(2),
2845
+ borderColor: theme.SURFACE_PRIMARY
2846
+ }
2847
+ };
2840
2848
  }
2841
2849
  return markedDates;
2842
2850
  };