709 adapt creation modal to mobile view (#744)

* [#709] adapt creation modal to mobile view
* [#709] extracted time and date pickers to relevant subcomponents
* [#709] add bottom sheet to creation modal
* [#709] set autocomplete to off in title and location
* [#709] remove autofocus in event update modal
This commit is contained in:
Camille Moussu
2026-04-13 09:19:54 +02:00
committed by GitHub
parent 200d69fd28
commit b98a78abeb
21 changed files with 1093 additions and 727 deletions
@@ -4,7 +4,8 @@ import {
Box,
TextField,
List,
InputAdornment
InputAdornment,
useTheme
} from '@linagora/twake-mui'
import { Search as SearchIcon } from '@mui/icons-material'
import React, { useState, useMemo, useEffect, useRef } from 'react'
@@ -34,6 +35,8 @@ export const SmallTimezoneSelector: React.FC<
> = ({ value, onChange, referenceDate, onClose, open }) => {
const { t } = useI18n()
const theme = useTheme()
const [searchQuery, setSearchQuery] = useState('')
const timezoneList = useTimeZoneList()
@@ -118,6 +121,7 @@ export const SmallTimezoneSelector: React.FC<
sx: { height: '90%', maxHeight: '90dvh' }
}
}}
sx={{ zIndex: theme.zIndex.modal + 100 }}
>
<Box sx={{ px: 2 }}>
<TextField