chore: update twake-mui dependency and use radius.lg for create event button

This commit is contained in:
lenhanphung
2025-12-30 13:52:56 +07:00
parent 5f0479e34a
commit 462ad6d250
48 changed files with 493 additions and 303 deletions
@@ -381,6 +381,7 @@ export default function EventPreviewModal({
onOpenDuplicate={() => {
setToggleActionMenu(null);
setHidePreview(true);
<<<<<<< HEAD
setOpenDuplicateModal(true);
}}
/>
@@ -625,6 +626,7 @@ export default function EventPreviewModal({
}
text={t("eventPreview.alarmText", {
trigger: t(`event.form.notifications.${event.alarm.trigger}`),
<<<<<<< HEAD
action: (() => {
if (!event.alarm.action) return "";
const translationKey = `event.form.notifications.${event.alarm.action}`;
@@ -634,6 +636,9 @@ export default function EventPreviewModal({
? event.alarm.action
: translated;
})(),
=======
action: event.alarm.action || "",
>>>>>>> 4ddc44d (chore: update twake-mui dependency and use radius.lg for create event button)
})}
style={{
fontSize: "16px",
+1 -1
View File
@@ -1,5 +1,5 @@
import { CalendarApi, DateSelectArg } from "@fullcalendar/core";
import { Box, Button } from "twake-mui";
import { Box, Button } from "@linagora/twake-mui";
import AddIcon from "@mui/icons-material/Add";
import React, {
useEffect,
+1 -1
View File
@@ -1,4 +1,4 @@
import { Box, Button } from "twake-mui";
import { Box, Button } from "@linagora/twake-mui";
import AddIcon from "@mui/icons-material/Add";
import { useEffect, useState, useMemo, useCallback, useRef } from "react";
import { useAppDispatch, useAppSelector } from "../../app/hooks";
+8 -1
View File
@@ -2,7 +2,14 @@ import ArrowBackIcon from "@mui/icons-material/ArrowBack";
import RepeatIcon from "@mui/icons-material/Repeat";
import SquareRoundedIcon from "@mui/icons-material/SquareRounded";
import VideocamIcon from "@mui/icons-material/Videocam";
import { Box, Button, IconButton, Stack, Typography, CircularProgress } from "twake-mui";
import {
Box,
Button,
IconButton,
Stack,
Typography,
CircularProgress,
} from "@linagora/twake-mui";
import { useI18n } from "twake-i18n";
import { useState } from "react";
import { useAppDispatch, useAppSelector } from "../../app/hooks";
+1 -1
View File
@@ -15,7 +15,7 @@ import {
Snackbar,
Switch,
FormControlLabel,
} from "twake-mui";
} from "@linagora/twake-mui";
import ArrowBackIcon from "@mui/icons-material/ArrowBack";
import SettingsIcon from "@mui/icons-material/Settings";
// import SyncIcon from "@mui/icons-material/Sync";