La partie front de SmartMaker est construite avec React 19, Vite, et TailwindCSS 4.
| Technologie | Version | Description |
|---|---|---|
| React | 19.x | Framework UI |
| Vite | 6.x | Build tool et dev server |
| TailwindCSS | 4.x | Framework CSS utility-first |
| Redux Toolkit | 2.x | State management |
| i18next | 24.x | Internationalisation |
| Framer Motion | 12.x | Animations |
| Dexie | 4.x | IndexedDB wrapper |
| ky | 1.x | HTTP client |
| Zod | 4.x | Validation de schémas |
SmartCommon est la bibliothèque de composants React partagés pour toutes les applications SmartMaker.
Repository : https://inligit.fr/cap-rel/dolibarr/smartmaker/smartcommon
npm install @cap-rel/smartcommon
Voir SmartCommon pour la documentation complète.
Composants qui fournissent le contexte à l'application (Provider, ApiProvider, ReduxProvider, etc.).
Input, Textarea, SelectCalendar, TimerAddressInput, GpsPhotosUploader, AudiosUploader, VideosUploaderColorPicker, IconSelectSignaturePadEditor (markdown)String, Text, NumberDatetime, DurationEmail, Url, PhoneNumberAddress, CoordinatesColor, Icon, TagsPage, Block, Panel, PopupList, ListItemCarousel, DataTable, ChartNavbar, Sidebar, TabbarButton, Icon, Spinner, TaguseApi - Appels API avec auth JWTuseGlobalStates - État global persistantuseStates - État localuseForm - Gestion de formulairesuseDb - Base IndexedDB via DexieuseNavigation - Navigation routeruseIntl - Formatage dates/nombresuseCachedQuery - Cache API avec stratégies (NetworkFirst, CacheFirst, SWR)useSyncClient - Synchronisation offline complèteuseOnlineStatus - Détection état réseauuseAuthenticatedImage - Chargement d'images avec JWTuseIsDesktop - Détection viewport desktopuseWindow - Orientation, dimensions, scroll, darkModeuseConfirm - Dialogues de confirmationusePWAUpdate - Mise à jour du Service WorkerVoir Hooks pour la documentation complète.