diff --git a/docs/pages/kdaterange.vue b/docs/pages/kdaterange.vue index 048a04328..6e06c109e 100644 --- a/docs/pages/kdaterange.vue +++ b/docs/pages/kdaterange.vue @@ -3,8 +3,8 @@ - The KDateRange is a modal component that implements two KDateInput components - and a KDateCalendar for a start and end date selection. + The KDateRange is a modal component that contains two input components and a calendar component that + allow for a start and end date selection.
@@ -13,14 +13,15 @@ class="demo" :firstAllowedDate="firstAllowedDate" :lastAllowedDate="lastAllowedDate" - :defaultStartDate="defaultStartDate" submitText="Generate" cancelText="Cancel" title="Select a date range" - description="The default start date is the last time you exported this log" + description="(Optional) Description of modal component" dateLocale="en-US" startDateLegendText="Start Date" endDateLegendText="End Date" + previousMonthText="Previous Month" + nextMonthText="Next Month" v-bind="errorMessages" @submit="modalShown = false" @cancel="modalShown = false" @@ -45,7 +46,6 @@ }, data() { return { - defaultStartDate: new Date(2022, 8, 1), firstAllowedDate: new Date(2022, 0, 1), lastAllowedDate: new Date(), modalShown: false, diff --git a/lib/KDateRange/KDateCalendar.vue b/lib/KDateRange/KDateCalendar.vue index e8739641d..119726798 100644 --- a/lib/KDateRange/KDateCalendar.vue +++ b/lib/KDateRange/KDateCalendar.vue @@ -3,8 +3,8 @@
@@ -57,7 +62,11 @@
  • button:hover, + button.calendar-days-selected, .calendar-days-in-range:hover { - background-color: var(--in-range-button-hover-color); - border-radius: 15px; - } - - button.calendar-days-selected { - color: var(--selected-button-text-color) !important; - background-color: var(--selected-button-bg-color); border-radius: 15px; } .calendar-days-in-range { - background-color: var(--in-range-button-bg-color); border-radius: 0; } diff --git a/lib/KDateRange/KDateInput.vue b/lib/KDateRange/KDateInput.vue index 4bef80b22..1fcfe3a8a 100644 --- a/lib/KDateRange/KDateInput.vue +++ b/lib/KDateRange/KDateInput.vue @@ -1,7 +1,7 @@