Skip to content

Commit

Permalink
chore(deps): update taiga-ui (#5837)
Browse files Browse the repository at this point in the history
Co-authored-by: splincode <[email protected]>
  • Loading branch information
taiga-family-bot and splincode authored Nov 2, 2023
1 parent da739b5 commit ca866a4
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
16 changes: 8 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,9 @@
"@nx/workspace": "17.0.2",
"@playwright/test": "1.39.0",
"@taiga-ui/browserslist-config": "0.3.0",
"@taiga-ui/commitlint-config": "0.3.2",
"@taiga-ui/commitlint-config": "0.3.3",
"@taiga-ui/cspell-config": "0.18.0",
"@taiga-ui/eslint-plugin-experience": "0.12.5",
"@taiga-ui/eslint-plugin-experience": "0.14.4",
"@taiga-ui/prettier-config": "0.4.1",
"@taiga-ui/stylelint-config": "0.6.0",
"@taiga-ui/tsconfig": "0.2.4",
Expand Down
6 changes: 3 additions & 3 deletions projects/core/components/calendar/calendar.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import {TuiMarkerHandler} from '@taiga-ui/core/types';
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class TuiCalendarComponent implements TuiWithOptionalMinMax<TuiDay> {
private _value: TuiDay | TuiDayRange | readonly TuiDay[] | null = null;
private day: TuiDay | TuiDayRange | readonly TuiDay[] | null = null;

@Input()
month: TuiMonth = TuiMonth.currentLocal();
Expand Down Expand Up @@ -59,15 +59,15 @@ export class TuiCalendarComponent implements TuiWithOptionalMinMax<TuiDay> {

@Input()
set value(value: TuiDay | TuiDayRange | readonly TuiDay[] | null) {
this._value = value;
this.day = value;

if (this.showAdjacent && value instanceof TuiDay) {
this.month = value;
}
}

get value(): TuiDay | TuiDayRange | readonly TuiDay[] | null {
return this._value;
return this.day;
}

@Output()
Expand Down

0 comments on commit ca866a4

Please sign in to comment.