From 5530eefb88b49966002501c1fbed1f17466d43d0 Mon Sep 17 00:00:00 2001 From: Krisztian Horvath Date: Mon, 14 Oct 2024 16:22:36 +0200 Subject: [PATCH] fix(ui/calendar): use correct firstUpdated type signature (#2379) --- .changeset/perfect-jeans-search.md | 5 +++++ packages/ui/components/calendar/src/LionCalendar.js | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 .changeset/perfect-jeans-search.md diff --git a/.changeset/perfect-jeans-search.md b/.changeset/perfect-jeans-search.md new file mode 100644 index 000000000..923e2dc0f --- /dev/null +++ b/.changeset/perfect-jeans-search.md @@ -0,0 +1,5 @@ +--- +"@lion/ui": patch +--- + +fix(ui/calendar): use correct firstUpdated type signature diff --git a/packages/ui/components/calendar/src/LionCalendar.js b/packages/ui/components/calendar/src/LionCalendar.js index 4627a2b48..885e6e7d9 100644 --- a/packages/ui/components/calendar/src/LionCalendar.js +++ b/packages/ui/components/calendar/src/LionCalendar.js @@ -300,7 +300,9 @@ export class LionCalendar extends LocalizeMixin(LitElement) { } } - firstUpdated() { + /** @param {import('lit').PropertyValues } changedProperties */ + firstUpdated(changedProperties) { + super.firstUpdated(changedProperties); this.__calculateInitialCentralDate(); // setup data for initial render