UI/update sidebar (#480)

* update minicalendar

* update left sidebar

* chore: update twake-mui to version 1.1.4

- Update @linagora/twake-mui from local file to npm package 1.1.4
- Add margin to TempCalendarsInput section in sidebar
- Remove margin from PeopleSearch component (moved to parent)

* Changed wording on my calendars and event creation button

---------

Co-authored-by: Camille Moussu <cmoussu@linagora.com>
This commit is contained in:
lenhanphung
2026-02-02 16:02:23 +07:00
committed by GitHub
parent 0a8051870a
commit 5ae838c425
13 changed files with 116 additions and 88 deletions
+24
View File
@@ -59,6 +59,30 @@ class IntersectionObserverMock {
(global as any).IntersectionObserver = IntersectionObserverMock;
// Suppress jsdom CSS selector parsing errors for Emotion/MUI
if (typeof window !== "undefined" && window.getComputedStyle) {
const originalGetComputedStyle = window.getComputedStyle;
window.getComputedStyle = function (
element: Element,
pseudoElement?: string | null
) {
try {
return originalGetComputedStyle.call(this, element, pseudoElement);
} catch (error) {
// If CSS selector parsing fails, return a minimal computed style
if (
error instanceof Error &&
error.message.includes("is not a valid selector")
) {
return {
getPropertyValue: () => "",
} as CSSStyleDeclaration;
}
throw error;
}
};
}
beforeAll(() => {
console.warn = (...args: unknown[]) => {
if (