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 +2 -1
- package/lib/index.js +10 -2
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +10 -2
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.mjs
CHANGED
|
@@ -548,7 +548,8 @@ const DHRE_COLORS_TEXT = {
|
|
|
548
548
|
DH_TEXTLIGHT: "#6C6C6C",
|
|
549
549
|
DH_TEXTLIGHTEST: "#A7A7A7",
|
|
550
550
|
DH_TEXTDISABLED: "#CCCCCC",
|
|
551
|
-
DH_LIGHTGREEN: "#00B578"
|
|
551
|
+
DH_LIGHTGREEN: "#00B578",
|
|
552
|
+
DH_SURFACE_SECONDARY: "#212121"
|
|
552
553
|
};
|
|
553
554
|
|
|
554
555
|
const styles$B = StyleSheet.create({
|
|
@@ -2785,7 +2786,6 @@ const DateRangePicker = (props) => {
|
|
|
2785
2786
|
if (startDate) {
|
|
2786
2787
|
markedDates[startDate] = {
|
|
2787
2788
|
startingDay: true,
|
|
2788
|
-
color: theme.SUCCESS,
|
|
2789
2789
|
textColor: theme.CONTENT_INVERTED,
|
|
2790
2790
|
customContainerStyle: mode === "dark" ? { backgroundColor: theme.SURFACE_INVERTED } : {
|
|
2791
2791
|
borderWidth: moderateScale(2),
|
|
@@ -2803,6 +2803,14 @@ const DateRangePicker = (props) => {
|
|
|
2803
2803
|
borderColor: theme.SURFACE_PRIMARY
|
|
2804
2804
|
}
|
|
2805
2805
|
};
|
|
2806
|
+
markedDates[startDate] = {
|
|
2807
|
+
startingDay: true,
|
|
2808
|
+
textColor: theme.CONTENT_INVERTED,
|
|
2809
|
+
customContainerStyle: mode === "dark" ? { backgroundColor: theme.SURFACE_INVERTED } : {
|
|
2810
|
+
borderWidth: moderateScale(2),
|
|
2811
|
+
borderColor: theme.SURFACE_PRIMARY
|
|
2812
|
+
}
|
|
2813
|
+
};
|
|
2806
2814
|
}
|
|
2807
2815
|
return markedDates;
|
|
2808
2816
|
};
|