dhre-ui-kit 0.0.208 → 0.0.210

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 {
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,15 @@ const DateRangePicker = (props) => {
2837
2837
  borderColor: theme.SURFACE_PRIMARY
2838
2838
  }
2839
2839
  };
2840
+ markedDates[startDate] = {
2841
+ startingDay: true,
2842
+ color: theme.SUCCESS,
2843
+ textColor: theme.CONTENT_INVERTED,
2844
+ customContainerStyle: mode === "dark" ? { backgroundColor: theme.SURFACE_INVERTED } : {
2845
+ borderWidth: moderateScale(2),
2846
+ borderColor: theme.SURFACE_PRIMARY
2847
+ }
2848
+ };
2840
2849
  }
2841
2850
  return markedDates;
2842
2851
  };