dhre-ui-kit 3.6.0 → 3.7.0

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.mjs CHANGED
@@ -10943,15 +10943,15 @@ const DateRangePicker = (props) => {
10943
10943
  while (start < end) {
10944
10944
  start.setDate(start.getDate() + 1);
10945
10945
  markedDates[start.toISOString().split("T")[0]] = {
10946
- color: theme.SURFACE_PRIMARY_TRANSPARENT,
10947
- textColor: theme.CONTENT_PRIMARY
10946
+ color: theme.SURFACE_SECONDARY_TRANSPARENT,
10947
+ textColor: theme.CONTENT_INVERTED
10948
10948
  };
10949
10949
  }
10950
10950
  }
10951
10951
  if (startDate) {
10952
10952
  markedDates[startDate] = {
10953
10953
  startingDay: true,
10954
- textColor: theme.CONTENT_PRIMARY,
10954
+ textColor: theme.CONTENT_INVERTED,
10955
10955
  customContainerStyle: {
10956
10956
  backgroundColor: theme.CONTENT_ARROW_HIGHLIGHT,
10957
10957
  borderRadius: 200,
@@ -10965,8 +10965,8 @@ const DateRangePicker = (props) => {
10965
10965
  if (endDate) {
10966
10966
  markedDates[endDate] = {
10967
10967
  endingDay: true,
10968
- color: theme.SURFACE_PRIMARY_TRANSPARENT,
10969
- textColor: theme.CONTENT_PRIMARY,
10968
+ color: theme.SURFACE_SECONDARY_TRANSPARENT,
10969
+ textColor: theme.CONTENT_INVERTED,
10970
10970
  customContainerStyle: {
10971
10971
  backgroundColor: theme.CONTENT_ARROW_HIGHLIGHT,
10972
10972
  borderRadius: 200,
@@ -10978,8 +10978,8 @@ const DateRangePicker = (props) => {
10978
10978
  };
10979
10979
  markedDates[startDate] = {
10980
10980
  startingDay: true,
10981
- color: theme.SURFACE_PRIMARY_TRANSPARENT,
10982
- textColor: theme.CONTENT_PRIMARY,
10981
+ color: theme.SURFACE_SECONDARY_TRANSPARENT,
10982
+ textColor: theme.CONTENT_INVERTED,
10983
10983
  customContainerStyle: {
10984
10984
  backgroundColor: theme.CONTENT_ARROW_HIGHLIGHT,
10985
10985
  borderRadius: 200,
@@ -10998,10 +10998,10 @@ const DateRangePicker = (props) => {
10998
10998
  {
10999
10999
  style: [
11000
11000
  styles$b.calendarHeader,
11001
- { borderBottomColor: theme.STROKE_TERTIARY }
11001
+ { borderBottomColor: theme.STROKE_SECONDARY }
11002
11002
  ]
11003
11003
  },
11004
- /* @__PURE__ */ React.createElement(Text, { style: [styles$b.monthText, { color: theme.CONTENT_PRIMARY }] }, monthLabel),
11004
+ /* @__PURE__ */ React.createElement(Text, { style: [styles$b.monthText, { color: theme.CONTENT_INVERTED }] }, monthLabel),
11005
11005
  /* @__PURE__ */ React.createElement(View, { style: styles$b.arrowsContainer }, /* @__PURE__ */ React.createElement(
11006
11006
  TouchableOpacity,
11007
11007
  {
@@ -11012,7 +11012,7 @@ const DateRangePicker = (props) => {
11012
11012
  Path,
11013
11013
  {
11014
11014
  d: "M15 19.5L7.5 12L15 4.5",
11015
- stroke: theme.CONTENT_PRIMARY,
11015
+ stroke: theme.CONTENT_INVERTED,
11016
11016
  strokeWidth: 1.5,
11017
11017
  strokeLinecap: "round",
11018
11018
  strokeLinejoin: "round"
@@ -11028,7 +11028,7 @@ const DateRangePicker = (props) => {
11028
11028
  Path,
11029
11029
  {
11030
11030
  d: "M6.75 3.375L12.375 9L6.75 14.625",
11031
- stroke: theme.CONTENT_PRIMARY,
11031
+ stroke: theme.CONTENT_INVERTED,
11032
11032
  strokeWidth: 1.5,
11033
11033
  strokeLinecap: "round",
11034
11034
  strokeLinejoin: "round"
@@ -11039,7 +11039,10 @@ const DateRangePicker = (props) => {
11039
11039
  return /* @__PURE__ */ React.createElement(View, null, /* @__PURE__ */ React.createElement(
11040
11040
  View,
11041
11041
  {
11042
- style: [styles$b.calendarCard, { backgroundColor: theme.SURFACE_PRIMARY }]
11042
+ style: [
11043
+ styles$b.calendarCard,
11044
+ { backgroundColor: theme.SURFACE_INVERTED }
11045
+ ]
11043
11046
  },
11044
11047
  /* @__PURE__ */ React.createElement(
11045
11048
  Calendar,
@@ -11052,9 +11055,9 @@ const DateRangePicker = (props) => {
11052
11055
  renderHeader: renderCalendarHeader,
11053
11056
  theme: {
11054
11057
  calendarBackground: "transparent",
11055
- dayTextColor: theme.CONTENT_PRIMARY,
11058
+ dayTextColor: theme.CONTENT_INVERTED,
11056
11059
  textDisabledColor: theme.CONTENT_DISABLE_DARK,
11057
- todayTextColor: theme.CONTENT_PRIMARY,
11060
+ todayTextColor: theme.CONTENT_INVERTED,
11058
11061
  todayBackgroundColor: theme.CONTENT_ARROW_HIGHLIGHT,
11059
11062
  textSectionTitleColor: theme.CONTENT_DISABLE_LIGHT,
11060
11063
  textDayFontSize: 16,
@@ -11108,11 +11111,12 @@ const DateRangePicker = (props) => {
11108
11111
  ), /* @__PURE__ */ React.createElement(
11109
11112
  Button,
11110
11113
  {
11114
+ containerStyle: styles$b.applyButton,
11111
11115
  title: btnTitle,
11112
11116
  onPress: () => {
11113
11117
  onButtonPress(selectedRange?.startDate, selectedRange?.endDate);
11114
11118
  },
11115
- variant: "primary",
11119
+ variant: "tertiary",
11116
11120
  size: "large",
11117
11121
  disabled: isButtonDisabled
11118
11122
  }