Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
689 changes: 406 additions & 283 deletions src/BlazorUI/Bit.BlazorUI/Components/Inputs/Calendar/BitCalendar.razor

Large diffs are not rendered by default.

1,729 changes: 1,490 additions & 239 deletions src/BlazorUI/Bit.BlazorUI/Components/Inputs/Calendar/BitCalendar.razor.cs

Large diffs are not rendered by default.

717 changes: 483 additions & 234 deletions src/BlazorUI/Bit.BlazorUI/Components/Inputs/Calendar/BitCalendar.scss

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,16 @@ public class BitCalendarClassStyles
/// </summary>
public string? Container { get; set; }

/// <summary>
/// Custom CSS classes/styles for the wrapper of the HeaderTemplate of the BitCalendar.
/// </summary>
public string? Header { get; set; }

/// <summary>
/// Custom CSS classes/styles for the wrapper of the FooterTemplate of the BitCalendar.
/// </summary>
public string? Footer { get; set; }

/// <summary>
/// Custom CSS classes/styles for the day-picker's wrapper of the BitCalendar.
/// </summary>
Expand Down Expand Up @@ -343,7 +353,12 @@ public class BitCalendarClassStyles
public string? YearButton { get; set; }

/// <summary>
/// Custom CSS classes/styles for the event indicator dot of the BitCalendar.
/// Custom CSS classes/styles for the row of event indicator dots on a day of the BitCalendar.
/// </summary>
public string? EventIndicators { get; set; }

/// <summary>
/// Custom CSS classes/styles for each event indicator dot of the BitCalendar.
/// </summary>
public string? EventIndicator { get; set; }

Expand All @@ -367,6 +382,11 @@ public class BitCalendarClassStyles
/// </summary>
public string? EventModalCloseButton { get; set; }

/// <summary>
/// Custom CSS classes/styles for the list of events in the event modal of the BitCalendar.
/// </summary>
public string? EventList { get; set; }

/// <summary>
/// Custom CSS classes/styles for each event item in the event modal of the BitCalendar.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ public class BitCalendarEvent
/// </summary>
public DateOnly Date { get; set; }

/// <summary>
/// The color of the indicator dot the event puts on its day. Without one the dot takes the color of the
/// calendar itself, so a calendar whose events are all of a kind needs to say nothing here.
/// </summary>
public BitColor? Color { get; set; }

/// <summary>
/// The optional start time of the event.
/// </summary>
Expand Down
Loading
Loading