Overview
The@proton/calendar package provides Redux state management, React hooks, and components for implementing Proton Calendar features in web applications. It handles calendar management, events, user settings, and video conferencing integrations.
Installation
Key Features
- Calendar management with Redux
- Event loop for real-time calendar updates
- Calendar user settings management
- Holidays directory integration
- Timezone support
- Video conferencing integration (Zoom, Proton Meet)
- Calendar bootstrap utilities
Package Structure
Calendars
Calendar management, actions, and hooks
Event Loop
Real-time calendar event synchronization
Video Conferencing
Zoom and Proton Meet integration
Utilities
Timezone handling and helper functions
Calendar Management
Using Calendar Hooks
Calendar Actions
Calendar Bootstrap
Initialize calendar data and keys on application startup.Event Loop Integration
Subscribe to real-time calendar events.Calendar User Settings
Manage user-specific calendar settings.Holidays Directory
Access and display holiday calendars.Timezone Support
Handle timezone conversions and display.Video Conferencing
Proton Meet Integration
Zoom Integration
Video Conferencing Helpers
Video Conference Widget
Calendar Model Event Manager
Manage calendar event models efficiently.Constants
Utility Functions
Calendar Server Events
Dependencies
Core Dependencies
Core Dependencies
@proton/account- Account management@proton/meet- Proton Meet integration@proton/redux-shared-store-types- Shared Redux types@reduxjs/toolkit- Redux toolkitreactandreact-redux- React integration
TypeScript Support
The package is fully typed with TypeScript. All exports include comprehensive type definitions.Testing
Related Packages
@proton/meet
Proton Meet integration
@proton/shared
Shared utilities
@proton/components
React components