Skip to content

Commit

Permalink
Merge branch 'next' into feature/checkbox/keyboard-toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
mryunt02 authored Oct 21, 2024
2 parents e88e3bc + aacd375 commit 5c88b9f
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/components/calendar/bl-calendar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -511,17 +511,20 @@ export default class BlCalendar extends LitElement {
const showMonthSelected =
this._calendarView === CALENDAR_VIEWS.MONTHS ? "header-text-hover" : "";
const showYearSelected = this._calendarView === CALENDAR_VIEWS.YEARS ? "header-text-hover" : "";
const buttonLabel = this._calendarView === CALENDAR_VIEWS.DAYS ? "Month" : "Year";

return html`<div>
<div class="calendar-content">
<div class="calendar-header">
<bl-button
class="arrow"
label="Previous ${buttonLabel}"
icon="arrow_left"
variant="tertiary"
kind="neutral"
@click="${() => this.setPreviousCalendarView()}"
></bl-button>
>
</bl-button>
<bl-button
variant="tertiary"
kind="neutral"
Expand All @@ -539,10 +542,12 @@ export default class BlCalendar extends LitElement {
<bl-button
class="arrow"
icon="arrow_right"
label="Next ${buttonLabel}"
variant="tertiary"
kind="neutral"
@click="${() => this.setNextCalendarView()}"
></bl-button>
>
</bl-button>
</div>
<div class="calendar">${getCalendarView(this._calendarView)}</div>
</div>
Expand Down

0 comments on commit 5c88b9f

Please sign in to comment.