diff --git a/src/framework/theme/components/calendar/base-calendar.component.ts b/src/framework/theme/components/calendar/base-calendar.component.ts index 8f4de23265..7c7f50988a 100644 --- a/src/framework/theme/components/calendar/base-calendar.component.ts +++ b/src/framework/theme/components/calendar/base-calendar.component.ts @@ -10,8 +10,8 @@ import { NbCalendarCell, NbCalendarSize, NbCalendarViewMode, NbDateTimeUtil } fr /** - * Basis for calendar and range calendar components. - * Encapsulates common behaviour - store calendar state and perform navigation + * The basis for calendar and range calendar components. + * Encapsulates common behavior - store calendar state and perform navigation * between pickers. * */ @Component({ diff --git a/src/framework/theme/components/calendar/calendar-range.component.ts b/src/framework/theme/components/calendar/calendar-range.component.ts index 4eaf1d6aa4..0e3140dcf5 100644 --- a/src/framework/theme/components/calendar/calendar-range.component.ts +++ b/src/framework/theme/components/calendar/calendar-range.component.ts @@ -16,7 +16,7 @@ export interface NbCalendarRange { } /** - * Calendar component provides capability to choose ranges. + * Calendar component provides a capability to choose ranges. * For additional info check `NbBaseCalendarComponent`. * * ```html @@ -49,22 +49,22 @@ export class NbCalendarRangeComponent { @Input() boundingMonth: boolean = true; /** - * Defines starting view for calendar. + * Defines starting view for the calendar. * */ @Input() startView: NbCalendarViewMode = NbCalendarViewMode.DATE; /** - * Minimum available date for selection. + * A minimum available date for selection. * */ @Input() min: Date; /** - * Maximum available date for selection. + * A maximum available date for selection. * */ @Input() max: Date; /** - * Predicate that decides which cells will be disabled. + * A predicate that decides which cells will be disabled. * */ @Input() filter: (Date) => boolean; diff --git a/src/framework/theme/components/calendar/calendar.component.ts b/src/framework/theme/components/calendar/calendar.component.ts index c0eb6e9242..9871455ea6 100644 --- a/src/framework/theme/components/calendar/calendar.component.ts +++ b/src/framework/theme/components/calendar/calendar.component.ts @@ -10,7 +10,7 @@ import { NbCalendarCell, NbCalendarSize, NbCalendarViewMode } from '../calendar- /** - * Calendar component provides capability to choose date. + * Calendar component provides a capability to choose a date. * * ```html * @@ -30,22 +30,22 @@ import { NbCalendarCell, NbCalendarSize, NbCalendarViewMode } from '../calendar- * Available values: year, month and date. * @stacked-example(Start view, calendar/calendar-start-view.component) * - * You can use larger version of the calendar by defining size property. + * You can use a larger version of the calendar by defining size property. * Available values: medium(which is default) and large. * @stacked-example(Size, calendar/calendar-size.component) * * Calendar supports min and max dates which disables values out of min-max range. * @stacked-example(Borders, calendar/calendar-min-max.component) * - * Also you can define custom filter property that should be predicate which receives - * date and returns false if this date have to be disables. In this example we provide filter + * Also, you can define custom filter property that should be predicate which receives + * date and returns false if this date has to be disabled. In this example, we provide the filter * which disables weekdays. * @stacked-example(Filter, calendar/calendar-filter.component) * * If you need create custom cells you can easily provide custom components for * calendar. For examples if you wanna show any average price under each date you can * just provide custom `dayCellComponent`. Custom cells for month and year can be provided - * same way, check api reference. + * the same way, check API reference. * @stacked-example(Custom day cell, calendar/calendar-custom-day-cell-showcase.component) * * @styles