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
+11 -1
View File
@@ -10,6 +10,7 @@ import { DateCalendar } from "@mui/x-date-pickers";
import { AdapterMoment } from "@mui/x-date-pickers/AdapterMoment";
import { LocalizationProvider } from "@mui/x-date-pickers/LocalizationProvider";
import moment from "moment";
import KeyboardArrowDownIcon from "@mui/icons-material/KeyboardArrowDown";
import { useEffect, useState } from "react";
import { useI18n } from "twake-i18n";
@@ -65,7 +66,16 @@ export function MiniCalendar({
);
}}
views={["month", "day"]}
sx={{ width: "100%" }}
slots={{
switchViewIcon: KeyboardArrowDownIcon,
}}
sx={{
width: "100%",
height: "300px",
"& .MuiPickersCalendarHeader-root": {
marginTop: 3,
},
}}
slotProps={{
day: (ownerState) => {
const date = ownerState.day.toDate();