cozy-ui 111.4.0 → 111.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (735) hide show
  1. package/.nvmrc +1 -1
  2. package/CHANGELOG.md +21 -0
  3. package/package.json +16 -6
  4. package/react/AccordionSummary/index.js +1 -1
  5. package/react/ActionsBar/ResponsiveAction.jsx +3 -3
  6. package/react/ActionsBar/index.jsx +14 -15
  7. package/react/ActionsBar/locales/withActionsLocales.jsx +1 -2
  8. package/react/ActionsMenu/Actions/call.js +3 -3
  9. package/react/ActionsMenu/Actions/emailTo.js +3 -3
  10. package/react/ActionsMenu/Actions/helpers.js +1 -0
  11. package/react/ActionsMenu/Actions/locales/withActionsLocales.jsx +2 -3
  12. package/react/ActionsMenu/Actions/modify.js +3 -3
  13. package/react/ActionsMenu/Actions/others.jsx +1 -2
  14. package/react/ActionsMenu/Actions/print.js +4 -4
  15. package/react/ActionsMenu/Actions/smsTo.js +3 -3
  16. package/react/ActionsMenu/Actions/viewInContacts.js +3 -3
  17. package/react/ActionsMenu/ActionsItems.jsx +6 -6
  18. package/react/ActionsMenu/ActionsMenuItem.jsx +4 -4
  19. package/react/ActionsMenu/ActionsMenuMobileHeader.jsx +1 -1
  20. package/react/ActionsMenu/ActionsMenuWrapper.jsx +4 -4
  21. package/react/ActionsMenu/index.jsx +2 -2
  22. package/react/Alert/index.jsx +5 -5
  23. package/react/AppIcon/index.jsx +4 -5
  24. package/react/AppLinker/expiringMemoize.js +1 -1
  25. package/react/AppLinker/index.deprecated.spec.jsx +2 -2
  26. package/react/AppLinker/index.jsx +3 -3
  27. package/react/AppLinker/index.spec.jsx +2 -2
  28. package/react/AppSections/Sections.jsx +9 -13
  29. package/react/AppSections/categories.spec.js +3 -3
  30. package/react/AppSections/components/AppsSection.jsx +6 -5
  31. package/react/AppSections/components/AppsSection.spec.jsx +5 -6
  32. package/react/AppSections/components/DropdownFilter.jsx +3 -4
  33. package/react/AppSections/helpers.spec.js +1 -1
  34. package/react/AppSections/index.spec.jsx +4 -4
  35. package/react/AppSections/search.js +1 -1
  36. package/react/AppTile/AppTile.spec.jsx +3 -3
  37. package/react/AppTile/index.jsx +12 -15
  38. package/react/AppTitle/index.jsx +3 -2
  39. package/react/Avatar/index.jsx +4 -4
  40. package/react/Backdrop/index.js +2 -2
  41. package/react/Badge/index.jsx +2 -2
  42. package/react/Banner/index.jsx +4 -5
  43. package/react/Banner/index.spec.jsx +2 -1
  44. package/react/BarButton/index.jsx +2 -3
  45. package/react/BarContextProvider/index.jsx +4 -3
  46. package/react/BarContextProvider/index.spec.jsx +2 -2
  47. package/react/BarTitle/index.jsx +2 -3
  48. package/react/BottomSheet/BottomSheet.jsx +10 -11
  49. package/react/BottomSheet/BottomSheetHeader.jsx +1 -1
  50. package/react/BottomSheet/BottomSheetItem.jsx +2 -2
  51. package/react/BottomSheet/BottomSheetTitle.jsx +3 -3
  52. package/react/Buttons/index.jsx +3 -4
  53. package/react/Card/index.jsx +1 -1
  54. package/react/Checkbox/index.jsx +3 -4
  55. package/react/Chips/index.jsx +2 -2
  56. package/react/CipherIcon/index.jsx +6 -5
  57. package/react/CipherIcon/index.spec.jsx +2 -1
  58. package/react/Circle/index.jsx +2 -2
  59. package/react/CircleButton/index.jsx +3 -3
  60. package/react/CircularChart/CircularChartProgress.jsx +2 -2
  61. package/react/CircularChart/CircularProgressWithBackground.jsx +2 -2
  62. package/react/CircularChart/index.jsx +4 -6
  63. package/react/ContactPicker/index.jsx +4 -3
  64. package/react/ContactPicker/index.spec.jsx +4 -5
  65. package/react/ContactsList/ContactRow.jsx +4 -4
  66. package/react/ContactsList/ContactRow.spec.js +5 -4
  67. package/react/ContactsList/Contacts/ContactCozy.jsx +1 -1
  68. package/react/ContactsList/Contacts/ContactEmail.jsx +1 -1
  69. package/react/ContactsList/Contacts/ContactIdentity.jsx +4 -5
  70. package/react/ContactsList/Contacts/ContactName.jsx +2 -2
  71. package/react/ContactsList/Contacts/ContactPhone.jsx +1 -1
  72. package/react/ContactsList/ContactsList.jsx +6 -6
  73. package/react/ContactsList/locales/withContactsListLocales.jsx +1 -2
  74. package/react/ContactsListModal/AddContact/AddContactContent.jsx +5 -6
  75. package/react/ContactsListModal/AddContact/AddContactDialog.jsx +3 -3
  76. package/react/ContactsListModal/ContactsListContent.jsx +2 -2
  77. package/react/ContactsListModal/ContactsListModal.jsx +12 -13
  78. package/react/ContactsListModal/ContactsListModalWithQuery.jsx +2 -2
  79. package/react/ContactsListModal/EmptyMessage.jsx +2 -1
  80. package/react/ContactsListModal/MobileHeader.jsx +4 -4
  81. package/react/ContactsListModal/index.jsx +2 -2
  82. package/react/ContactsListModal/withContactsListLocales.jsx +1 -2
  83. package/react/Counter/index.jsx +1 -1
  84. package/react/CozyDialogs/ConfirmDialog.jsx +4 -5
  85. package/react/CozyDialogs/Dialog.jsx +4 -5
  86. package/react/CozyDialogs/DialogBackButton.jsx +4 -6
  87. package/react/CozyDialogs/DialogCloseButton.jsx +4 -5
  88. package/react/CozyDialogs/DialogTransition.jsx +3 -3
  89. package/react/CozyDialogs/FixedActionsDialog.jsx +4 -5
  90. package/react/CozyDialogs/FixedDialog.jsx +4 -5
  91. package/react/CozyDialogs/IllustrationDialog.jsx +4 -5
  92. package/react/CozyDialogs/PermissionDialog.jsx +4 -4
  93. package/react/CozyDialogs/SpecificDialogs/AllowLocationDialog.jsx +5 -6
  94. package/react/CozyDialogs/SpecificDialogs/AuthentificationDialog.jsx +7 -7
  95. package/react/CozyDialogs/SpecificDialogs/InstallFlagshipAppDialog.jsx +6 -7
  96. package/react/CozyDialogs/SpecificDialogs/withSpecificDialogsLocales.jsx +1 -2
  97. package/react/CozyDialogs/TopAnchoredDialog.jsx +1 -1
  98. package/react/CozyDialogs/testing.spec.jsx +1 -2
  99. package/react/CozyDialogs/useCozyDialog.js +2 -3
  100. package/react/DateMonthPicker/index.jsx +7 -8
  101. package/react/DateMonthPicker/index.spec.jsx +2 -2
  102. package/react/Dialog/DialogEffects.spec.tsx +13 -7
  103. package/react/Dialog/DialogEffects.ts +4 -5
  104. package/react/Dialog/index.jsx +2 -2
  105. package/react/Divider/TextDivider/index.jsx +2 -3
  106. package/react/Divider/index.jsx +2 -3
  107. package/react/DropdownButton/index.jsx +3 -3
  108. package/react/DropdownText/index.jsx +3 -3
  109. package/react/Empty/index.jsx +2 -3
  110. package/react/Fab/ExtendableFab.jsx +1 -1
  111. package/react/Field/index.jsx +5 -5
  112. package/react/Field/index.spec.js +2 -1
  113. package/react/Figure/Figure.jsx +3 -2
  114. package/react/Figure/Figure.spec.jsx +6 -2
  115. package/react/Figure/FigureBlock.jsx +4 -3
  116. package/react/FileImageLoader/index.jsx +2 -1
  117. package/react/FileImageLoader/index.spec.jsx +1 -1
  118. package/react/FileInput/index.jsx +2 -2
  119. package/react/FileInput/index.spec.jsx +1 -1
  120. package/react/FilePath/index.jsx +2 -1
  121. package/react/FilePathLink/index.jsx +2 -1
  122. package/react/FilePicker/FilePickerBody.jsx +10 -9
  123. package/react/FilePicker/FilePickerBodyItem.jsx +10 -12
  124. package/react/FilePicker/FilePickerBodyItem.spec.jsx +2 -2
  125. package/react/FilePicker/FilePickerBreadcrumb.jsx +7 -7
  126. package/react/FilePicker/FilePickerFooter.jsx +3 -4
  127. package/react/FilePicker/FilePickerFooter.spec.jsx +2 -2
  128. package/react/FilePicker/FilePickerHeader.jsx +8 -9
  129. package/react/FilePicker/index.jsx +6 -6
  130. package/react/Filename/index.jsx +2 -2
  131. package/react/GhostFileBadge/index.jsx +1 -1
  132. package/react/Hero/index.jsx +2 -1
  133. package/react/HistoryRow/index.jsx +3 -4
  134. package/react/I18n/index.js +2 -1
  135. package/react/I18n/withLocales.js +1 -1
  136. package/react/Icon/Sprite.jsx +2 -1
  137. package/react/Icon/index.jsx +2 -2
  138. package/react/IconButton/index.jsx +3 -3
  139. package/react/IconStack/index.jsx +2 -2
  140. package/react/InfosBadge/index.jsx +1 -1
  141. package/react/Input/index.jsx +2 -1
  142. package/react/InputGroup/index.jsx +4 -9
  143. package/react/IntentDialogOpener/IntentDialogOpener.jsx +2 -2
  144. package/react/IntentHeader/index.jsx +3 -3
  145. package/react/IntentIframe/IntentIframe.jsx +6 -13
  146. package/react/IntentWrapper/index.jsx +3 -3
  147. package/react/Label/index.jsx +2 -1
  148. package/react/Labs/CollectionField/index.jsx +4 -5
  149. package/react/Labs/ExperimentalDialog/index.jsx +1 -1
  150. package/react/Labs/IconGrid/index.jsx +1 -0
  151. package/react/Labs/PasswordInput/index.jsx +6 -5
  152. package/react/Layout/Layout.jsx +3 -2
  153. package/react/ListItem/ExpandedAttributes/ExpandedAttribute.jsx +5 -6
  154. package/react/ListItem/ExpandedAttributes/helpers.js +17 -15
  155. package/react/ListItem/ExpandedAttributes/index.jsx +4 -5
  156. package/react/ListItem/ListItemBase/Renaming/RenameDialog.jsx +1 -2
  157. package/react/ListItem/ListItemBase/Renaming/RenameInput.jsx +4 -5
  158. package/react/ListItem/ListItemBase/index.jsx +10 -11
  159. package/react/ListItem/ListItemByDoc/index.jsx +3 -3
  160. package/react/ListItem/ListItemContact/helpers.spec.js +1 -2
  161. package/react/ListItem/ListItemContact/index.jsx +2 -3
  162. package/react/ListItem/ListItemContact/useActions.jsx +1 -2
  163. package/react/ListItem/ListItemFile/ExpirationAnnotation.jsx +1 -2
  164. package/react/ListItem/ListItemFile/ItemIcon.jsx +4 -4
  165. package/react/ListItem/ListItemFile/PrimaryText.jsx +1 -1
  166. package/react/ListItem/ListItemFile/SecondaryText.jsx +2 -3
  167. package/react/ListItem/ListItemFile/index.jsx +4 -5
  168. package/react/ListItem/hoc/withListItemLocales.jsx +0 -1
  169. package/react/ListItem/index.js +4 -4
  170. package/react/ListItemIcon/index.js +1 -2
  171. package/react/ListItemText/index.jsx +2 -2
  172. package/react/ListSubheader/index.js +3 -3
  173. package/react/LoadMore/index.jsx +3 -2
  174. package/react/MenuItem/index.js +1 -1
  175. package/react/MidEllipsis/index.jsx +2 -2
  176. package/react/MuiCozyTheme/Divider/index.jsx +1 -0
  177. package/react/MuiCozyTheme/List/index.jsx +1 -0
  178. package/react/MuiCozyTheme/ListItem/index.jsx +1 -0
  179. package/react/MuiCozyTheme/ListItemIcon/index.jsx +1 -0
  180. package/react/MuiCozyTheme/ListItemSecondaryAction/index.jsx +1 -0
  181. package/react/MuiCozyTheme/index.jsx +2 -2
  182. package/react/MuiCozyTheme/makeTheme.jsx +6 -7
  183. package/react/MuiTabs/index.jsx +3 -2
  184. package/react/Nav/index.jsx +18 -14
  185. package/react/Nav/locales/withNavLocales.jsx +1 -1
  186. package/react/NavigationList/index.jsx +5 -4
  187. package/react/NestedSelect/BottomSheet.jsx +4 -5
  188. package/react/NestedSelect/ItemRow.jsx +4 -4
  189. package/react/NestedSelect/Modal.jsx +4 -5
  190. package/react/NestedSelect/NestedSelect.jsx +6 -6
  191. package/react/NestedSelect/NestedSelectResponsive.jsx +1 -1
  192. package/react/OrderedList/index.jsx +3 -2
  193. package/react/Page/index.jsx +1 -0
  194. package/react/Panel/index.jsx +1 -1
  195. package/react/PasswordExample/index.jsx +3 -2
  196. package/react/PasswordField/index.jsx +5 -6
  197. package/react/Paywall/MaxAccountsByKonnectorPaywall.jsx +1 -1
  198. package/react/Paywall/MaxAccountsPaywall.jsx +1 -1
  199. package/react/Paywall/MaxDaysToCapturePaywall.jsx +1 -1
  200. package/react/Paywall/MaxPapersPaywall.jsx +1 -1
  201. package/react/Paywall/OnlyOfficePaywall.jsx +1 -1
  202. package/react/Paywall/PasswordSharingPaywall.jsx +1 -1
  203. package/react/Paywall/Paywall.jsx +6 -6
  204. package/react/Paywall/Paywall.spec.jsx +2 -2
  205. package/react/Paywall/QuotaPaywall.jsx +1 -1
  206. package/react/Paywall/index.jsx +1 -3
  207. package/react/Paywall/locales/withPaywallLocales.jsx +1 -2
  208. package/react/PieChart/index.jsx +7 -7
  209. package/react/PointerAlert/index.jsx +4 -5
  210. package/react/Popup/index.jsx +1 -1
  211. package/react/Popup/index.spec.jsx +1 -1
  212. package/react/PopupOpener/index.jsx +1 -1
  213. package/react/ProgressionBanner/index.jsx +2 -2
  214. package/react/QualificationGrid/index.jsx +11 -12
  215. package/react/QualificationGrid/locales/withLocales.jsx +1 -2
  216. package/react/QualificationItem/index.jsx +2 -2
  217. package/react/Radios/index.jsx +1 -2
  218. package/react/SearchBar/index.jsx +8 -8
  219. package/react/SearchBar/locales/withOnlyLocales.jsx +1 -2
  220. package/react/SelectBox/ControlDefault.jsx +1 -2
  221. package/react/SelectBox/SelectBox.jsx +15 -17
  222. package/react/SelectBox/SelectBoxWithFixedOptions.jsx +2 -2
  223. package/react/SelectBox/index.jsx +1 -3
  224. package/react/SelectionBar/SelectionBarAction.jsx +3 -4
  225. package/react/SelectionBar/SelectionBarMore.jsx +2 -3
  226. package/react/SelectionBar/index.jsx +7 -8
  227. package/react/SelectionBar/useMaxActions.jsx +2 -2
  228. package/react/Sidebar/index.jsx +3 -2
  229. package/react/Skeletons/ListItemSkeleton.jsx +2 -2
  230. package/react/Skeletons/ListSkeleton.jsx +2 -3
  231. package/react/Snackbar/index.jsx +1 -1
  232. package/react/Spinner/index.jsx +4 -5
  233. package/react/SquareAppIcon/SquareAppIcon.spec.js +2 -2
  234. package/react/SquareAppIcon/index.jsx +10 -10
  235. package/react/Stack/index.jsx +2 -1
  236. package/react/Stepper/testing.jsx +1 -1
  237. package/react/Tabs/index.jsx +2 -2
  238. package/react/TextField/MobileSelect.jsx +12 -10
  239. package/react/TextField/index.jsx +2 -2
  240. package/react/Textarea/index.jsx +2 -1
  241. package/react/Thumbnail/index.jsx +2 -2
  242. package/react/Tile/index.jsx +4 -3
  243. package/react/Toggle/index.jsx +3 -3
  244. package/react/Typography/index.jsx +1 -1
  245. package/react/UnorderedList/index.jsx +2 -1
  246. package/react/UploadQueue/index.jsx +11 -12
  247. package/react/UploadQueue/index.spec.jsx +2 -1
  248. package/react/Viewer/Footer/BottomSheetContent.jsx +1 -2
  249. package/react/Viewer/Footer/DownloadButton.jsx +3 -3
  250. package/react/Viewer/Footer/FooterActionButtons.jsx +1 -1
  251. package/react/Viewer/Footer/FooterActionButtons.spec.jsx +1 -1
  252. package/react/Viewer/Footer/FooterContent.jsx +5 -5
  253. package/react/Viewer/Footer/ForwardButton.jsx +5 -5
  254. package/react/Viewer/Footer/ForwardButton.spec.jsx +2 -2
  255. package/react/Viewer/Footer/ForwardOrDownloadButton.jsx +2 -2
  256. package/react/Viewer/Footer/Sharing.jsx +2 -2
  257. package/react/Viewer/Footer/helpers.js +1 -0
  258. package/react/Viewer/NoViewer/DownloadButton.jsx +3 -4
  259. package/react/Viewer/NoViewer/FileIcon.jsx +2 -2
  260. package/react/Viewer/NoViewer/NoViewer.jsx +4 -3
  261. package/react/Viewer/NoViewer/NoViewer.spec.jsx +2 -3
  262. package/react/Viewer/Panel/ActionMenuDesktop.jsx +4 -4
  263. package/react/Viewer/Panel/ActionMenuMobile.jsx +6 -6
  264. package/react/Viewer/Panel/ActionMenuWrapper.jsx +4 -4
  265. package/react/Viewer/Panel/Certifications.jsx +5 -5
  266. package/react/Viewer/Panel/PanelContent.jsx +5 -6
  267. package/react/Viewer/Panel/Qualification.jsx +5 -5
  268. package/react/Viewer/Panel/QualificationListItemContact.jsx +9 -9
  269. package/react/Viewer/Panel/QualificationListItemDate.jsx +7 -7
  270. package/react/Viewer/Panel/QualificationListItemInformation.jsx +7 -7
  271. package/react/Viewer/Panel/QualificationListItemInformation.spec.jsx +2 -1
  272. package/react/Viewer/Panel/QualificationListItemOther.jsx +7 -7
  273. package/react/Viewer/Panel/QualificationListItemText.jsx +1 -1
  274. package/react/Viewer/Panel/getPanelBlocks.jsx +1 -1
  275. package/react/Viewer/Viewer.jsx +4 -5
  276. package/react/Viewer/ViewerContainer.jsx +12 -13
  277. package/react/Viewer/ViewerInformationsWrapper.jsx +6 -7
  278. package/react/Viewer/ViewerInformationsWrapper.spec.jsx +1 -1
  279. package/react/Viewer/ViewerWithCustomPanelAndFooter.jsx +4 -6
  280. package/react/Viewer/ViewersByFile/AudioViewer.jsx +1 -3
  281. package/react/Viewer/ViewersByFile/AudioViewer.spec.jsx +2 -4
  282. package/react/Viewer/ViewersByFile/BlankPaperViewer.jsx +2 -4
  283. package/react/Viewer/ViewersByFile/ImageViewer.jsx +3 -5
  284. package/react/Viewer/ViewersByFile/ImageViewer.spec.jsx +3 -5
  285. package/react/Viewer/ViewersByFile/NoNetworkViewer.jsx +1 -3
  286. package/react/Viewer/ViewersByFile/OnlyOfficeViewer.jsx +2 -3
  287. package/react/Viewer/ViewersByFile/PdfJsViewer.jsx +9 -13
  288. package/react/Viewer/ViewersByFile/PdfJsViewer.spec.jsx +2 -2
  289. package/react/Viewer/ViewersByFile/PdfMobileViewer.jsx +5 -7
  290. package/react/Viewer/ViewersByFile/PdfMobileViewer.spec.jsx +2 -3
  291. package/react/Viewer/ViewersByFile/ShortcutViewer.jsx +4 -4
  292. package/react/Viewer/ViewersByFile/ShortcutViewer.spec.jsx +3 -4
  293. package/react/Viewer/ViewersByFile/TextViewer.jsx +5 -7
  294. package/react/Viewer/ViewersByFile/TextViewer.spec.jsx +3 -5
  295. package/react/Viewer/ViewersByFile/VideoViewer.jsx +1 -2
  296. package/react/Viewer/ViewersByFile/VideoViewer.spec.jsx +2 -3
  297. package/react/Viewer/components/ExpirationAlert.jsx +2 -2
  298. package/react/Viewer/components/ExpirationAnnotation.jsx +1 -1
  299. package/react/Viewer/components/Footer.jsx +1 -2
  300. package/react/Viewer/components/InformationPanel.jsx +1 -1
  301. package/react/Viewer/components/Navigation.jsx +3 -4
  302. package/react/Viewer/components/PdfToolbarButton.jsx +1 -1
  303. package/react/Viewer/components/PrintButton.jsx +6 -6
  304. package/react/Viewer/components/Toolbar.jsx +12 -14
  305. package/react/Viewer/components/ToolbarFilePath.jsx +1 -2
  306. package/react/Viewer/components/ViewerByFile.jsx +9 -11
  307. package/react/Viewer/components/ViewerControls.jsx +11 -17
  308. package/react/Viewer/components/ViewerControls.spec.jsx +2 -2
  309. package/react/Viewer/components/ViewerSpinner.jsx +1 -1
  310. package/react/Viewer/helpers.js +0 -2
  311. package/react/Viewer/hoc/withFileUrl.jsx +2 -2
  312. package/react/Viewer/hoc/withViewerLocales.jsx +0 -1
  313. package/react/Viewer/index.jsx +2 -6
  314. package/react/Wizard/index.jsx +4 -4
  315. package/react/deprecated/ActionMenu/ActionMenuEffects.ts +3 -3
  316. package/react/deprecated/ActionMenu/ActionMenuHeader.jsx +2 -2
  317. package/react/deprecated/ActionMenu/ActionMenuItem.jsx +4 -5
  318. package/react/deprecated/ActionMenu/ActionMenuItemWrapper.jsx +4 -4
  319. package/react/deprecated/ActionMenu/ActionMenuRadio.jsx +1 -2
  320. package/react/deprecated/ActionMenu/ActionMenuWrapper.jsx +3 -4
  321. package/react/deprecated/ActionMenu/Actions/ActionsItems.jsx +6 -6
  322. package/react/deprecated/ActionMenu/Actions/call.js +2 -2
  323. package/react/deprecated/ActionMenu/Actions/emailTo.js +2 -2
  324. package/react/deprecated/ActionMenu/Actions/locales/withActionsLocales.jsx +1 -2
  325. package/react/deprecated/ActionMenu/Actions/modify.js +2 -2
  326. package/react/deprecated/ActionMenu/Actions/smsTo.js +2 -2
  327. package/react/deprecated/ActionMenu/Actions/viewInContacts.js +2 -2
  328. package/react/deprecated/ActionMenu/NotInlineWrapper.jsx +1 -1
  329. package/react/deprecated/ActionMenu/index.jsx +7 -9
  330. package/react/deprecated/ActionMenu/index.spec.jsx +10 -22
  331. package/react/deprecated/Alerter/Alert.jsx +3 -4
  332. package/react/deprecated/Alerter/alerter.spec.js +4 -17
  333. package/react/deprecated/Alerter/index.jsx +3 -2
  334. package/react/deprecated/BottomDrawer/index.jsx +4 -4
  335. package/react/deprecated/Button/index.jsx +3 -3
  336. package/react/deprecated/ButtonAction/index.jsx +2 -1
  337. package/react/deprecated/Chip/index.jsx +1 -0
  338. package/react/deprecated/CompositeRow/index.jsx +3 -4
  339. package/react/deprecated/GridItem/index.jsx +4 -3
  340. package/react/deprecated/Infos/index.jsx +5 -12
  341. package/react/deprecated/InfosCarrousel/index.jsx +4 -6
  342. package/react/deprecated/InfosCarrousel/index.spec.jsx +4 -8
  343. package/react/deprecated/InlineCard/index.jsx +1 -1
  344. package/react/deprecated/IntentModal/IntentModal.jsx +4 -5
  345. package/react/deprecated/IntentOpener/IntentOpener.jsx +2 -2
  346. package/react/deprecated/Media/Media.jsx +3 -2
  347. package/react/deprecated/Menus/index.js +4 -4
  348. package/react/deprecated/Modal/ModalBackButton.jsx +3 -3
  349. package/react/deprecated/Modal/ModalButtons.jsx +2 -1
  350. package/react/deprecated/Modal/ModalContent.jsx +3 -2
  351. package/react/deprecated/Modal/ModalCross.jsx +3 -4
  352. package/react/deprecated/Modal/ModalEffects.ts +3 -3
  353. package/react/deprecated/Modal/ModalFooter.jsx +2 -1
  354. package/react/deprecated/Modal/ModalHeader.jsx +2 -1
  355. package/react/deprecated/Modal/ModalSection.jsx +2 -1
  356. package/react/deprecated/Modal/index.jsx +13 -12
  357. package/react/deprecated/Modal/index.spec.jsx +3 -6
  358. package/react/deprecated/NarrowContent/index.jsx +2 -1
  359. package/react/deprecated/Overlay/index.jsx +3 -2
  360. package/react/deprecated/PercentageBar/index.jsx +3 -2
  361. package/react/deprecated/PercentageLine/index.jsx +3 -2
  362. package/react/deprecated/PushClientButton/index.jsx +3 -4
  363. package/react/deprecated/PushClientButton/index.spec.jsx +1 -2
  364. package/react/deprecated/QuotaAlert/index.jsx +1 -1
  365. package/react/deprecated/Radio/index.jsx +3 -3
  366. package/react/deprecated/Radio/index.spec.jsx +3 -4
  367. package/react/deprecated/RaisedList/index.js +1 -1
  368. package/react/deprecated/Table/index.jsx +1 -1
  369. package/react/deprecated/ViewStack/ModalStack.jsx +2 -1
  370. package/react/deprecated/ViewStack/ViewStack.jsx +2 -1
  371. package/react/deprecated/ViewStack/example.jsx +1 -0
  372. package/react/deprecated/ViewStack/index.spec.jsx +6 -9
  373. package/react/examples.spec.jsx +2 -1
  374. package/react/helpers/appDataset.spec.js +1 -0
  375. package/react/helpers/tracker.jsx +1 -0
  376. package/react/helpers/tracker.spec.js +1 -1
  377. package/react/helpers/withBreakpoints.jsx +33 -29
  378. package/react/hooks/useBrowserOffline.js +9 -6
  379. package/react/hooks/useBrowserOffline.spec.js +2 -1
  380. package/react/hooks/useConfirmExit/index.jsx +5 -6
  381. package/react/hooks/useConfirmExit/index.spec.js +8 -5
  382. package/react/hooks/useCycle.spec.jsx +1 -0
  383. package/react/hooks/useEventListener.js +1 -0
  384. package/react/hooks/useEventListener.spec.js +2 -1
  385. package/react/hooks/usePeriodicRender.spec.js +2 -1
  386. package/react/hooks/useRealtime.spec.js +2 -1
  387. package/react/hooks/useScroll.jsx +1 -1
  388. package/react/hooks/useScroll.spec.jsx +1 -0
  389. package/react/hooks/useSetFlagshipUi/helpers.js +0 -1
  390. package/react/hooks/useSetFlagshipUi/useSetFlagshipUI.spec.ts +3 -1
  391. package/react/hooks/useSetFlagshipUi/useSetFlagshipUI.ts +3 -3
  392. package/react/legacy/Breadcrumbs/index.jsx +4 -5
  393. package/react/providers/Alert/index.jsx +1 -1
  394. package/react/providers/Breakpoints/index.jsx +1 -1
  395. package/react/providers/CozyTheme/CozyThemeWithQuery.jsx +1 -1
  396. package/react/providers/CozyTheme/DumbCozyTheme.jsx +6 -7
  397. package/react/providers/CozyTheme/index.jsx +2 -2
  398. package/react/providers/I18n/createUseI18n.jsx +2 -2
  399. package/react/providers/I18n/format.jsx +7 -8
  400. package/react/providers/I18n/helpers.js +2 -2
  401. package/react/providers/I18n/index.jsx +2 -2
  402. package/react/providers/I18n/index.spec.jsx +3 -2
  403. package/react/providers/I18n/translate.jsx +3 -2
  404. package/react/providers/I18n/withLocales.jsx +5 -3
  405. package/react/providers/I18n/withLocales.spec.jsx +1 -0
  406. package/react/providers/I18n/withOnlyLocales.jsx +4 -2
  407. package/react/providers/Intent/index.jsx +1 -1
  408. package/react/utils/color.js +1 -4
  409. package/react/utils.jsx +14 -16
  410. package/scripts/screenshots/prepares.js +4 -1
  411. package/scripts/screenshots.js +1 -1
  412. package/transpiled/react/AccordionSummary/index.js +1 -1
  413. package/transpiled/react/ActionsBar/ResponsiveAction.js +3 -3
  414. package/transpiled/react/ActionsBar/index.js +10 -10
  415. package/transpiled/react/ActionsBar/locales/withActionsLocales.js +1 -1
  416. package/transpiled/react/ActionsMenu/Actions/call.js +3 -3
  417. package/transpiled/react/ActionsMenu/Actions/emailTo.js +3 -3
  418. package/transpiled/react/ActionsMenu/Actions/locales/withActionsLocales.js +2 -2
  419. package/transpiled/react/ActionsMenu/Actions/modify.js +3 -3
  420. package/transpiled/react/ActionsMenu/Actions/others.js +1 -1
  421. package/transpiled/react/ActionsMenu/Actions/print.js +4 -4
  422. package/transpiled/react/ActionsMenu/Actions/smsTo.js +3 -3
  423. package/transpiled/react/ActionsMenu/Actions/viewInContacts.js +3 -3
  424. package/transpiled/react/ActionsMenu/ActionsItems.js +2 -2
  425. package/transpiled/react/ActionsMenu/ActionsMenuItem.js +4 -4
  426. package/transpiled/react/ActionsMenu/ActionsMenuMobileHeader.js +1 -1
  427. package/transpiled/react/ActionsMenu/ActionsMenuWrapper.js +4 -4
  428. package/transpiled/react/ActionsMenu/index.js +2 -2
  429. package/transpiled/react/Alert/index.js +5 -5
  430. package/transpiled/react/AppIcon/index.js +2 -2
  431. package/transpiled/react/AppLinker/index.js +2 -2
  432. package/transpiled/react/AppSections/Sections.js +11 -11
  433. package/transpiled/react/AppSections/components/AppsSection.js +6 -6
  434. package/transpiled/react/AppSections/components/DropdownFilter.js +5 -5
  435. package/transpiled/react/AppSections/search.js +1 -1
  436. package/transpiled/react/AppTile/index.js +12 -12
  437. package/transpiled/react/AppTitle/index.js +2 -2
  438. package/transpiled/react/Avatar/index.js +4 -4
  439. package/transpiled/react/Backdrop/index.js +2 -2
  440. package/transpiled/react/Badge/index.js +2 -2
  441. package/transpiled/react/Banner/index.js +5 -5
  442. package/transpiled/react/BarButton/index.js +2 -2
  443. package/transpiled/react/BarContextProvider/index.js +3 -3
  444. package/transpiled/react/BarTitle/index.js +2 -2
  445. package/transpiled/react/BottomSheet/BottomSheet.js +10 -10
  446. package/transpiled/react/BottomSheet/BottomSheetHeader.js +1 -1
  447. package/transpiled/react/BottomSheet/BottomSheetItem.js +2 -2
  448. package/transpiled/react/BottomSheet/BottomSheetTitle.js +3 -3
  449. package/transpiled/react/Buttons/index.js +3 -3
  450. package/transpiled/react/Card/index.js +1 -1
  451. package/transpiled/react/Checkbox/index.js +3 -3
  452. package/transpiled/react/Chips/index.js +2 -2
  453. package/transpiled/react/CipherIcon/index.js +4 -4
  454. package/transpiled/react/Circle/index.js +2 -2
  455. package/transpiled/react/CircleButton/index.js +3 -3
  456. package/transpiled/react/CircularChart/CircularChartProgress.js +2 -2
  457. package/transpiled/react/CircularChart/CircularProgressWithBackground.js +2 -2
  458. package/transpiled/react/CircularChart/index.js +2 -2
  459. package/transpiled/react/ContactPicker/index.js +3 -3
  460. package/transpiled/react/ContactsList/ContactRow.js +4 -4
  461. package/transpiled/react/ContactsList/Contacts/ContactCozy.js +1 -1
  462. package/transpiled/react/ContactsList/Contacts/ContactEmail.js +1 -1
  463. package/transpiled/react/ContactsList/Contacts/ContactIdentity.js +2 -2
  464. package/transpiled/react/ContactsList/Contacts/ContactName.js +2 -2
  465. package/transpiled/react/ContactsList/Contacts/ContactPhone.js +1 -1
  466. package/transpiled/react/ContactsList/ContactsList.js +6 -6
  467. package/transpiled/react/ContactsList/locales/withContactsListLocales.js +1 -1
  468. package/transpiled/react/ContactsListModal/AddContact/AddContactContent.js +7 -7
  469. package/transpiled/react/ContactsListModal/AddContact/AddContactDialog.js +3 -3
  470. package/transpiled/react/ContactsListModal/ContactsListContent.js +2 -2
  471. package/transpiled/react/ContactsListModal/ContactsListModal.js +14 -14
  472. package/transpiled/react/ContactsListModal/ContactsListModalWithQuery.js +2 -2
  473. package/transpiled/react/ContactsListModal/EmptyMessage.js +1 -1
  474. package/transpiled/react/ContactsListModal/MobileHeader.js +4 -4
  475. package/transpiled/react/ContactsListModal/index.js +2 -2
  476. package/transpiled/react/ContactsListModal/withContactsListLocales.js +1 -1
  477. package/transpiled/react/Counter/index.js +1 -1
  478. package/transpiled/react/CozyDialogs/ConfirmDialog.js +4 -4
  479. package/transpiled/react/CozyDialogs/Dialog.js +4 -4
  480. package/transpiled/react/CozyDialogs/DialogBackButton.js +5 -5
  481. package/transpiled/react/CozyDialogs/DialogCloseButton.js +6 -6
  482. package/transpiled/react/CozyDialogs/DialogTransition.js +3 -3
  483. package/transpiled/react/CozyDialogs/FixedActionsDialog.js +4 -4
  484. package/transpiled/react/CozyDialogs/FixedDialog.js +4 -4
  485. package/transpiled/react/CozyDialogs/IllustrationDialog.js +4 -4
  486. package/transpiled/react/CozyDialogs/PermissionDialog.js +4 -4
  487. package/transpiled/react/CozyDialogs/SpecificDialogs/AllowLocationDialog.js +5 -5
  488. package/transpiled/react/CozyDialogs/SpecificDialogs/AuthentificationDialog.js +6 -6
  489. package/transpiled/react/CozyDialogs/SpecificDialogs/InstallFlagshipAppDialog.js +5 -5
  490. package/transpiled/react/CozyDialogs/SpecificDialogs/withSpecificDialogsLocales.js +1 -1
  491. package/transpiled/react/CozyDialogs/TopAnchoredDialog.js +1 -1
  492. package/transpiled/react/CozyDialogs/useCozyDialog.js +2 -2
  493. package/transpiled/react/DateMonthPicker/index.js +8 -8
  494. package/transpiled/react/Dialog/DialogEffects.d.ts +1 -1
  495. package/transpiled/react/Dialog/DialogEffects.js +3 -4
  496. package/transpiled/react/Dialog/index.js +2 -2
  497. package/transpiled/react/Divider/TextDivider/index.js +2 -2
  498. package/transpiled/react/Divider/index.js +2 -2
  499. package/transpiled/react/DropdownButton/index.js +3 -3
  500. package/transpiled/react/DropdownText/index.js +3 -3
  501. package/transpiled/react/Empty/index.js +3 -3
  502. package/transpiled/react/Fab/ExtendableFab.js +1 -1
  503. package/transpiled/react/Field/index.js +8 -8
  504. package/transpiled/react/Figure/Figure.js +2 -2
  505. package/transpiled/react/Figure/FigureBlock.js +3 -3
  506. package/transpiled/react/FileImageLoader/index.js +1 -1
  507. package/transpiled/react/FileInput/index.js +2 -2
  508. package/transpiled/react/FilePath/index.js +1 -1
  509. package/transpiled/react/FilePathLink/index.js +1 -1
  510. package/transpiled/react/FilePicker/FilePickerBody.js +4 -4
  511. package/transpiled/react/FilePicker/FilePickerBodyItem.js +14 -14
  512. package/transpiled/react/FilePicker/FilePickerBreadcrumb.js +5 -5
  513. package/transpiled/react/FilePicker/FilePickerFooter.js +3 -3
  514. package/transpiled/react/FilePicker/FilePickerHeader.js +8 -8
  515. package/transpiled/react/FilePicker/index.js +6 -6
  516. package/transpiled/react/Filename/index.js +2 -2
  517. package/transpiled/react/GhostFileBadge/index.js +1 -1
  518. package/transpiled/react/Hero/index.js +1 -1
  519. package/transpiled/react/HistoryRow/index.js +7 -7
  520. package/transpiled/react/I18n/index.js +1 -1
  521. package/transpiled/react/I18n/withLocales.js +1 -1
  522. package/transpiled/react/Icon/Sprite.js +1 -1
  523. package/transpiled/react/Icon/index.js +2 -2
  524. package/transpiled/react/IconButton/index.js +3 -3
  525. package/transpiled/react/IconStack/index.js +2 -2
  526. package/transpiled/react/InfosBadge/index.js +1 -1
  527. package/transpiled/react/Input/index.js +1 -1
  528. package/transpiled/react/InputGroup/index.js +1 -1
  529. package/transpiled/react/IntentDialogOpener/IntentDialogOpener.js +2 -2
  530. package/transpiled/react/IntentHeader/index.js +2 -2
  531. package/transpiled/react/IntentIframe/IntentIframe.js +4 -4
  532. package/transpiled/react/IntentWrapper/index.js +2 -2
  533. package/transpiled/react/Label/index.js +1 -1
  534. package/transpiled/react/Labs/CollectionField/index.js +8 -8
  535. package/transpiled/react/Labs/ExperimentalDialog/index.js +1 -1
  536. package/transpiled/react/Labs/PasswordInput/index.js +5 -5
  537. package/transpiled/react/Layout/Layout.js +2 -2
  538. package/transpiled/react/ListItem/ExpandedAttributes/ExpandedAttribute.js +5 -5
  539. package/transpiled/react/ListItem/ExpandedAttributes/index.js +4 -4
  540. package/transpiled/react/ListItem/ListItemBase/Renaming/RenameDialog.js +1 -1
  541. package/transpiled/react/ListItem/ListItemBase/Renaming/RenameInput.js +4 -4
  542. package/transpiled/react/ListItem/ListItemBase/index.js +10 -10
  543. package/transpiled/react/ListItem/ListItemByDoc/index.js +3 -3
  544. package/transpiled/react/ListItem/ListItemContact/index.js +2 -2
  545. package/transpiled/react/ListItem/ListItemContact/useActions.js +1 -1
  546. package/transpiled/react/ListItem/ListItemFile/ExpirationAnnotation.js +1 -1
  547. package/transpiled/react/ListItem/ListItemFile/ItemIcon.js +4 -4
  548. package/transpiled/react/ListItem/ListItemFile/PrimaryText.js +1 -1
  549. package/transpiled/react/ListItem/ListItemFile/SecondaryText.js +2 -2
  550. package/transpiled/react/ListItem/ListItemFile/index.js +4 -4
  551. package/transpiled/react/ListItem/index.js +4 -4
  552. package/transpiled/react/ListItemIcon/index.js +1 -1
  553. package/transpiled/react/ListItemText/index.js +2 -2
  554. package/transpiled/react/ListSubheader/index.js +3 -3
  555. package/transpiled/react/LoadMore/index.js +2 -2
  556. package/transpiled/react/MenuItem/index.js +1 -1
  557. package/transpiled/react/MidEllipsis/index.js +2 -2
  558. package/transpiled/react/MuiCozyTheme/index.js +2 -2
  559. package/transpiled/react/MuiCozyTheme/makeTheme.js +6 -6
  560. package/transpiled/react/MuiTabs/index.js +2 -2
  561. package/transpiled/react/Nav/index.js +4 -4
  562. package/transpiled/react/Nav/locales/withNavLocales.js +1 -1
  563. package/transpiled/react/NavigationList/index.js +6 -6
  564. package/transpiled/react/NestedSelect/BottomSheet.js +4 -4
  565. package/transpiled/react/NestedSelect/ItemRow.js +4 -4
  566. package/transpiled/react/NestedSelect/Modal.js +6 -6
  567. package/transpiled/react/NestedSelect/NestedSelect.js +6 -6
  568. package/transpiled/react/NestedSelect/NestedSelectResponsive.js +1 -1
  569. package/transpiled/react/OrderedList/index.js +2 -2
  570. package/transpiled/react/Panel/index.js +1 -1
  571. package/transpiled/react/PasswordExample/index.js +2 -2
  572. package/transpiled/react/PasswordField/index.js +8 -8
  573. package/transpiled/react/Paywall/MaxAccountsByKonnectorPaywall.js +1 -1
  574. package/transpiled/react/Paywall/MaxAccountsPaywall.js +1 -1
  575. package/transpiled/react/Paywall/MaxDaysToCapturePaywall.js +1 -1
  576. package/transpiled/react/Paywall/MaxPapersPaywall.js +1 -1
  577. package/transpiled/react/Paywall/OnlyOfficePaywall.js +1 -1
  578. package/transpiled/react/Paywall/PasswordSharingPaywall.js +1 -1
  579. package/transpiled/react/Paywall/Paywall.js +6 -6
  580. package/transpiled/react/Paywall/QuotaPaywall.js +1 -1
  581. package/transpiled/react/Paywall/locales/withPaywallLocales.js +1 -1
  582. package/transpiled/react/PieChart/index.js +7 -7
  583. package/transpiled/react/PointerAlert/index.js +4 -4
  584. package/transpiled/react/Popup/index.js +1 -1
  585. package/transpiled/react/PopupOpener/index.js +2 -2
  586. package/transpiled/react/ProgressionBanner/index.js +2 -2
  587. package/transpiled/react/QualificationGrid/index.js +11 -11
  588. package/transpiled/react/QualificationGrid/locales/withLocales.js +1 -1
  589. package/transpiled/react/QualificationItem/index.js +2 -2
  590. package/transpiled/react/Radios/index.js +1 -1
  591. package/transpiled/react/SearchBar/index.js +8 -8
  592. package/transpiled/react/SearchBar/locales/withOnlyLocales.js +1 -1
  593. package/transpiled/react/SelectBox/ControlDefault.js +1 -1
  594. package/transpiled/react/SelectBox/SelectBox.js +8 -8
  595. package/transpiled/react/SelectBox/SelectBoxWithFixedOptions.js +2 -2
  596. package/transpiled/react/SelectionBar/SelectionBarAction.js +6 -6
  597. package/transpiled/react/SelectionBar/SelectionBarMore.js +6 -6
  598. package/transpiled/react/SelectionBar/index.js +9 -9
  599. package/transpiled/react/SelectionBar/useMaxActions.js +2 -2
  600. package/transpiled/react/Sidebar/index.js +2 -2
  601. package/transpiled/react/Skeletons/ListItemSkeleton.js +2 -2
  602. package/transpiled/react/Skeletons/ListSkeleton.js +2 -2
  603. package/transpiled/react/Snackbar/index.js +1 -1
  604. package/transpiled/react/Spinner/index.js +6 -6
  605. package/transpiled/react/SquareAppIcon/index.js +16 -16
  606. package/transpiled/react/Stack/index.js +1 -1
  607. package/transpiled/react/Stepper/testing.js +1 -1
  608. package/transpiled/react/Tabs/index.js +2 -2
  609. package/transpiled/react/TextField/MobileSelect.js +5 -5
  610. package/transpiled/react/TextField/index.js +2 -2
  611. package/transpiled/react/Textarea/index.js +1 -1
  612. package/transpiled/react/Thumbnail/index.js +2 -2
  613. package/transpiled/react/Tile/index.js +3 -3
  614. package/transpiled/react/Toggle/index.js +2 -2
  615. package/transpiled/react/Typography/index.js +1 -1
  616. package/transpiled/react/UnorderedList/index.js +1 -1
  617. package/transpiled/react/UploadQueue/index.js +37 -37
  618. package/transpiled/react/Viewer/Footer/BottomSheetContent.js +1 -1
  619. package/transpiled/react/Viewer/Footer/DownloadButton.js +3 -3
  620. package/transpiled/react/Viewer/Footer/FooterActionButtons.js +1 -1
  621. package/transpiled/react/Viewer/Footer/FooterContent.js +5 -5
  622. package/transpiled/react/Viewer/Footer/ForwardButton.js +5 -5
  623. package/transpiled/react/Viewer/Footer/ForwardOrDownloadButton.js +2 -2
  624. package/transpiled/react/Viewer/Footer/Sharing.js +2 -2
  625. package/transpiled/react/Viewer/NoViewer/DownloadButton.js +3 -3
  626. package/transpiled/react/Viewer/NoViewer/FileIcon.js +2 -2
  627. package/transpiled/react/Viewer/NoViewer/NoViewer.js +3 -3
  628. package/transpiled/react/Viewer/Panel/ActionMenuDesktop.js +3 -3
  629. package/transpiled/react/Viewer/Panel/ActionMenuMobile.js +6 -6
  630. package/transpiled/react/Viewer/Panel/ActionMenuWrapper.js +4 -4
  631. package/transpiled/react/Viewer/Panel/Certifications.js +5 -5
  632. package/transpiled/react/Viewer/Panel/PanelContent.js +5 -5
  633. package/transpiled/react/Viewer/Panel/Qualification.js +5 -5
  634. package/transpiled/react/Viewer/Panel/QualificationListItemContact.js +9 -9
  635. package/transpiled/react/Viewer/Panel/QualificationListItemDate.js +7 -7
  636. package/transpiled/react/Viewer/Panel/QualificationListItemInformation.js +7 -7
  637. package/transpiled/react/Viewer/Panel/QualificationListItemOther.js +7 -7
  638. package/transpiled/react/Viewer/Panel/QualificationListItemText.js +1 -1
  639. package/transpiled/react/Viewer/Panel/getPanelBlocks.js +1 -1
  640. package/transpiled/react/Viewer/Viewer.js +4 -4
  641. package/transpiled/react/Viewer/ViewerContainer.js +12 -12
  642. package/transpiled/react/Viewer/ViewerInformationsWrapper.js +6 -6
  643. package/transpiled/react/Viewer/ViewerWithCustomPanelAndFooter.js +4 -4
  644. package/transpiled/react/Viewer/ViewersByFile/AudioViewer.js +4 -4
  645. package/transpiled/react/Viewer/ViewersByFile/BlankPaperViewer.js +6 -6
  646. package/transpiled/react/Viewer/ViewersByFile/ImageViewer.js +3 -3
  647. package/transpiled/react/Viewer/ViewersByFile/NoNetworkViewer.js +4 -4
  648. package/transpiled/react/Viewer/ViewersByFile/OnlyOfficeViewer.js +2 -2
  649. package/transpiled/react/Viewer/ViewersByFile/PdfJsViewer.js +9 -9
  650. package/transpiled/react/Viewer/ViewersByFile/PdfMobileViewer.js +5 -5
  651. package/transpiled/react/Viewer/ViewersByFile/ShortcutViewer.js +3 -3
  652. package/transpiled/react/Viewer/ViewersByFile/TextViewer.js +7 -7
  653. package/transpiled/react/Viewer/ViewersByFile/VideoViewer.js +1 -1
  654. package/transpiled/react/Viewer/components/ExpirationAlert.js +2 -2
  655. package/transpiled/react/Viewer/components/ExpirationAnnotation.js +1 -1
  656. package/transpiled/react/Viewer/components/Footer.js +1 -1
  657. package/transpiled/react/Viewer/components/InformationPanel.js +1 -1
  658. package/transpiled/react/Viewer/components/Navigation.js +4 -4
  659. package/transpiled/react/Viewer/components/PdfToolbarButton.js +1 -1
  660. package/transpiled/react/Viewer/components/PrintButton.js +5 -5
  661. package/transpiled/react/Viewer/components/Toolbar.js +15 -15
  662. package/transpiled/react/Viewer/components/ToolbarFilePath.js +1 -1
  663. package/transpiled/react/Viewer/components/ViewerByFile.js +9 -9
  664. package/transpiled/react/Viewer/components/ViewerControls.js +8 -8
  665. package/transpiled/react/Viewer/components/ViewerSpinner.js +1 -1
  666. package/transpiled/react/Viewer/hoc/withFileUrl.js +2 -2
  667. package/transpiled/react/Wizard/index.js +8 -7
  668. package/transpiled/react/deprecated/ActionMenu/ActionMenuEffects.js +3 -3
  669. package/transpiled/react/deprecated/ActionMenu/ActionMenuHeader.js +2 -2
  670. package/transpiled/react/deprecated/ActionMenu/ActionMenuItem.js +4 -4
  671. package/transpiled/react/deprecated/ActionMenu/ActionMenuItemWrapper.js +4 -4
  672. package/transpiled/react/deprecated/ActionMenu/ActionMenuRadio.js +1 -1
  673. package/transpiled/react/deprecated/ActionMenu/ActionMenuWrapper.js +3 -3
  674. package/transpiled/react/deprecated/ActionMenu/Actions/ActionsItems.js +2 -2
  675. package/transpiled/react/deprecated/ActionMenu/Actions/call.js +2 -2
  676. package/transpiled/react/deprecated/ActionMenu/Actions/emailTo.js +2 -2
  677. package/transpiled/react/deprecated/ActionMenu/Actions/locales/withActionsLocales.js +1 -1
  678. package/transpiled/react/deprecated/ActionMenu/Actions/modify.js +2 -2
  679. package/transpiled/react/deprecated/ActionMenu/Actions/smsTo.js +2 -2
  680. package/transpiled/react/deprecated/ActionMenu/Actions/viewInContacts.js +2 -2
  681. package/transpiled/react/deprecated/ActionMenu/NotInlineWrapper.js +1 -1
  682. package/transpiled/react/deprecated/ActionMenu/index.js +7 -7
  683. package/transpiled/react/deprecated/Alerter/Alert.js +3 -3
  684. package/transpiled/react/deprecated/Alerter/index.js +2 -2
  685. package/transpiled/react/deprecated/BottomDrawer/index.js +2 -2
  686. package/transpiled/react/deprecated/Button/index.js +1 -1
  687. package/transpiled/react/deprecated/ButtonAction/index.js +1 -1
  688. package/transpiled/react/deprecated/CompositeRow/index.js +3 -3
  689. package/transpiled/react/deprecated/GridItem/index.js +3 -3
  690. package/transpiled/react/deprecated/Infos/index.js +8 -8
  691. package/transpiled/react/deprecated/InfosCarrousel/index.js +4 -4
  692. package/transpiled/react/deprecated/InlineCard/index.js +1 -1
  693. package/transpiled/react/deprecated/IntentModal/IntentModal.js +3 -3
  694. package/transpiled/react/deprecated/IntentOpener/IntentOpener.js +2 -2
  695. package/transpiled/react/deprecated/Media/Media.js +2 -2
  696. package/transpiled/react/deprecated/Menus/index.js +4 -4
  697. package/transpiled/react/deprecated/Modal/ModalBackButton.js +2 -2
  698. package/transpiled/react/deprecated/Modal/ModalButtons.js +1 -1
  699. package/transpiled/react/deprecated/Modal/ModalContent.js +2 -2
  700. package/transpiled/react/deprecated/Modal/ModalCross.js +5 -5
  701. package/transpiled/react/deprecated/Modal/ModalEffects.js +3 -3
  702. package/transpiled/react/deprecated/Modal/ModalFooter.js +1 -1
  703. package/transpiled/react/deprecated/Modal/ModalHeader.js +1 -1
  704. package/transpiled/react/deprecated/Modal/ModalSection.js +1 -1
  705. package/transpiled/react/deprecated/Modal/index.js +14 -14
  706. package/transpiled/react/deprecated/NarrowContent/index.js +1 -1
  707. package/transpiled/react/deprecated/Overlay/index.js +4 -4
  708. package/transpiled/react/deprecated/PercentageBar/index.js +2 -2
  709. package/transpiled/react/deprecated/PercentageLine/index.js +2 -2
  710. package/transpiled/react/deprecated/PushClientButton/index.js +4 -4
  711. package/transpiled/react/deprecated/QuotaAlert/index.js +1 -1
  712. package/transpiled/react/deprecated/Radio/index.js +2 -2
  713. package/transpiled/react/deprecated/RaisedList/index.js +1 -1
  714. package/transpiled/react/deprecated/Table/index.js +1 -1
  715. package/transpiled/react/deprecated/ViewStack/ModalStack.js +1 -1
  716. package/transpiled/react/deprecated/ViewStack/ViewStack.js +2 -2
  717. package/transpiled/react/helpers/withBreakpoints.js +1 -1
  718. package/transpiled/react/hooks/useConfirmExit/index.js +5 -5
  719. package/transpiled/react/hooks/useScroll.js +1 -1
  720. package/transpiled/react/hooks/useSetFlagshipUi/helpers.d.ts +0 -1
  721. package/transpiled/react/hooks/useSetFlagshipUi/helpers.js +0 -1
  722. package/transpiled/react/hooks/useSetFlagshipUi/useSetFlagshipUI.js +3 -3
  723. package/transpiled/react/legacy/Breadcrumbs/index.js +5 -5
  724. package/transpiled/react/providers/Alert/index.js +1 -1
  725. package/transpiled/react/providers/Breakpoints/index.js +1 -1
  726. package/transpiled/react/providers/CozyTheme/CozyThemeWithQuery.js +1 -1
  727. package/transpiled/react/providers/CozyTheme/DumbCozyTheme.js +4 -4
  728. package/transpiled/react/providers/CozyTheme/index.js +2 -2
  729. package/transpiled/react/providers/I18n/createUseI18n.js +2 -2
  730. package/transpiled/react/providers/I18n/format.js +1 -1
  731. package/transpiled/react/providers/I18n/helpers.js +2 -2
  732. package/transpiled/react/providers/I18n/index.js +2 -2
  733. package/transpiled/react/providers/I18n/withLocales.js +1 -1
  734. package/transpiled/react/providers/Intent/index.js +1 -1
  735. package/transpiled/react/stylesheet.css +1 -1419
@@ -1,12 +1,12 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
3
  var _excluded = ["icon", "label", "isSelected", "onClick"];
4
- import React from 'react';
5
4
  import PropTypes from 'prop-types';
5
+ import React from 'react';
6
6
  import ButtonBase from "cozy-ui/transpiled/react/ButtonBase";
7
7
  import Icon, { iconPropType } from "cozy-ui/transpiled/react/Icon";
8
- import FileDuotoneIcon from "cozy-ui/transpiled/react/Icons/FileDuotone";
9
8
  import IconStack from "cozy-ui/transpiled/react/IconStack";
9
+ import FileDuotoneIcon from "cozy-ui/transpiled/react/Icons/FileDuotone";
10
10
  import Typography from "cozy-ui/transpiled/react/Typography";
11
11
  import { makeStyles } from "cozy-ui/transpiled/react/styles";
12
12
  var useStyles = makeStyles({
@@ -1,6 +1,6 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
- import React from 'react';
3
2
  import MuiRadio from '@material-ui/core/Radio';
3
+ import React from 'react';
4
4
  import Icon from "cozy-ui/transpiled/react/Icon";
5
5
  import RadioCheckedIcon from "cozy-ui/transpiled/react/Icons/RadioChecked";
6
6
  import RadioUncheckedIcon from "cozy-ui/transpiled/react/Icons/RadioUnchecked";
@@ -8,19 +8,19 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (O
8
8
 
9
9
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
10
10
 
11
- import React, { forwardRef, useState, useMemo } from 'react';
12
- import PropTypes from 'prop-types';
13
11
  import cx from 'classnames';
14
12
  import debounce from 'lodash/debounce';
15
- import { useI18n } from "cozy-ui/transpiled/react/providers/I18n";
13
+ import PropTypes from 'prop-types';
14
+ import React, { forwardRef, useState, useMemo } from 'react';
16
15
  import withOnlyLocales from "cozy-ui/transpiled/react/SearchBar/locales/withOnlyLocales";
17
- import { makeStyles } from "cozy-ui/transpiled/react/styles";
18
- import Paper from "cozy-ui/transpiled/react/Paper";
19
- import InputBase from "cozy-ui/transpiled/react/InputBase";
20
- import IconButton from "cozy-ui/transpiled/react/IconButton";
21
16
  import Icon from "cozy-ui/transpiled/react/Icon";
22
- import MagnifierIcon from "cozy-ui/transpiled/react/Icons/Magnifier";
17
+ import IconButton from "cozy-ui/transpiled/react/IconButton";
23
18
  import CrossCircleIcon from "cozy-ui/transpiled/react/Icons/CrossCircle";
19
+ import MagnifierIcon from "cozy-ui/transpiled/react/Icons/Magnifier";
20
+ import InputBase from "cozy-ui/transpiled/react/InputBase";
21
+ import Paper from "cozy-ui/transpiled/react/Paper";
22
+ import { useI18n } from "cozy-ui/transpiled/react/providers/I18n";
23
+ import { makeStyles } from "cozy-ui/transpiled/react/styles";
24
24
  var useStyles = makeStyles(function (theme) {
25
25
  return {
26
26
  root: {
@@ -1,4 +1,3 @@
1
- import withOnlyLocales from "cozy-ui/transpiled/react/providers/I18n/withOnlyLocales";
2
1
  var en = {
3
2
  search: {
4
3
  placeholder: "Search"
@@ -9,6 +8,7 @@ var fr = {
9
8
  placeholder: "Rechercher"
10
9
  }
11
10
  };
11
+ import withOnlyLocales from "cozy-ui/transpiled/react/providers/I18n/withOnlyLocales";
12
12
  export var locales = {
13
13
  en: en,
14
14
  fr: fr
@@ -7,8 +7,8 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (O
7
7
 
8
8
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
9
9
 
10
- import React from 'react';
11
10
  import PropTypes from 'prop-types';
11
+ import React from 'react';
12
12
  import { components } from 'react-select';
13
13
 
14
14
  var ControlDefault = function ControlDefault(_ref) {
@@ -18,16 +18,12 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (O
18
18
 
19
19
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
20
20
 
21
- import React, { Component } from 'react';
21
+ import classNames from 'classnames';
22
22
  import PropTypes from 'prop-types';
23
+ import React, { Component } from 'react';
23
24
  import ReactSelect, { components } from 'react-select';
24
- import classNames from 'classnames';
25
25
  import { isIOSApp } from 'cozy-device-helper';
26
- import Icon from "cozy-ui/transpiled/react/Icon";
27
- import CheckIcon from "cozy-ui/transpiled/react/Icons/Check";
28
- import withBreakpoints from "cozy-ui/transpiled/react/helpers/withBreakpoints";
29
- import TopIcon from "cozy-ui/transpiled/react/Icons/Top";
30
- import BottomIcon from "cozy-ui/transpiled/react/Icons/Bottom";
26
+ import ControlDefault from "cozy-ui/transpiled/react/SelectBox/ControlDefault";
31
27
  var styles = {
32
28
  "select--disabled": "styles__select--disabled___1W3en",
33
29
  "select--fullwidth": "styles__select--fullwidth___2l_xM",
@@ -46,7 +42,11 @@ var styles = {
46
42
  "Group": "styles__Group___J6s7k",
47
43
  "FixedGroup": "styles__FixedGroup___2izTc"
48
44
  };
49
- import ControlDefault from "cozy-ui/transpiled/react/SelectBox/ControlDefault";
45
+ import Icon from "cozy-ui/transpiled/react/Icon";
46
+ import BottomIcon from "cozy-ui/transpiled/react/Icons/Bottom";
47
+ import CheckIcon from "cozy-ui/transpiled/react/Icons/Check";
48
+ import TopIcon from "cozy-ui/transpiled/react/Icons/Top";
49
+ import withBreakpoints from "cozy-ui/transpiled/react/helpers/withBreakpoints";
50
50
  var heights = {
51
51
  tiny: '2rem',
52
52
  medium: '2.5rem',
@@ -5,9 +5,9 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (O
5
5
 
6
6
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
7
7
 
8
- import { components } from 'react-select';
9
- import React from 'react';
10
8
  import groupBy from 'lodash/groupBy';
9
+ import React from 'react';
10
+ import { components } from 'react-select';
11
11
  import SelectBox from "cozy-ui/transpiled/react/SelectBox/SelectBox";
12
12
  var styles = {
13
13
  "select--disabled": "styles__select--disabled___1W3en",
@@ -1,11 +1,6 @@
1
- import React from 'react';
2
1
  import cx from 'classnames';
3
2
  import PropTypes from 'prop-types';
4
- import Button from "cozy-ui/transpiled/react/Button";
5
- import useBreakpoints from "cozy-ui/transpiled/react/providers/Breakpoints";
6
- import Icon from "cozy-ui/transpiled/react/Icon";
7
- import IconButton from "cozy-ui/transpiled/react/IconButton";
8
- import { useI18n } from "cozy-ui/transpiled/react/providers/I18n";
3
+ import React from 'react';
9
4
  var styles = {
10
5
  "SelectionBar": "styles__SelectionBar___3UOqy",
11
6
  "SelectionBar-count": "styles__SelectionBar-count___1e2yD",
@@ -14,6 +9,11 @@ var styles = {
14
9
  "spin": "styles__spin___1MUwn",
15
10
  "shake": "styles__shake___qrFb_"
16
11
  };
12
+ import Button from "cozy-ui/transpiled/react/Button";
13
+ import Icon from "cozy-ui/transpiled/react/Icon";
14
+ import IconButton from "cozy-ui/transpiled/react/IconButton";
15
+ import useBreakpoints from "cozy-ui/transpiled/react/providers/Breakpoints";
16
+ import { useI18n } from "cozy-ui/transpiled/react/providers/I18n";
17
17
 
18
18
  var SelectionBarAction = function SelectionBarAction(_ref) {
19
19
  var selectedCount = _ref.selectedCount,
@@ -1,11 +1,6 @@
1
1
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
2
- import React, { useState, useRef } from 'react';
3
2
  import PropTypes from 'prop-types';
4
- import Icon from "cozy-ui/transpiled/react/Icon";
5
- import IconButton from "cozy-ui/transpiled/react/IconButton";
6
- import DotsIcon from "cozy-ui/transpiled/react/Icons/Dots";
7
- import { ActionMenuWithClose, ActionMenuItem } from "cozy-ui/transpiled/react/deprecated/ActionMenu";
8
- import { useI18n } from "cozy-ui/transpiled/react/providers/I18n";
3
+ import React, { useState, useRef } from 'react';
9
4
  var styles = {
10
5
  "SelectionBar": "styles__SelectionBar___3UOqy",
11
6
  "SelectionBar-count": "styles__SelectionBar-count___1e2yD",
@@ -14,6 +9,11 @@ var styles = {
14
9
  "spin": "styles__spin___1MUwn",
15
10
  "shake": "styles__shake___qrFb_"
16
11
  };
12
+ import Icon from "cozy-ui/transpiled/react/Icon";
13
+ import IconButton from "cozy-ui/transpiled/react/IconButton";
14
+ import DotsIcon from "cozy-ui/transpiled/react/Icons/Dots";
15
+ import { ActionMenuWithClose, ActionMenuItem } from "cozy-ui/transpiled/react/deprecated/ActionMenu";
16
+ import { useI18n } from "cozy-ui/transpiled/react/providers/I18n";
17
17
 
18
18
  var SelectionBarMore = function SelectionBarMore(_ref) {
19
19
  var actions = _ref.actions,
@@ -4,15 +4,12 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (O
4
4
 
5
5
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
6
6
 
7
- import React, { useEffect } from 'react';
8
- import PropTypes from 'prop-types';
9
7
  import { useTheme } from '@material-ui/core';
8
+ import PropTypes from 'prop-types';
9
+ import React, { useEffect } from 'react';
10
10
  import { useWebviewIntent } from 'cozy-intent';
11
- import { useI18n } from "cozy-ui/transpiled/react/providers/I18n";
12
- import Icon from "cozy-ui/transpiled/react/Icon";
13
- import IconButton from "cozy-ui/transpiled/react/IconButton";
14
- import CrossIcon from "cozy-ui/transpiled/react/Icons/Cross";
15
- import useBreakpoints from "cozy-ui/transpiled/react/providers/Breakpoints";
11
+ import SelectionBarAction from "cozy-ui/transpiled/react/SelectionBar/SelectionBarAction";
12
+ import SelectionBarMore from "cozy-ui/transpiled/react/SelectionBar/SelectionBarMore";
16
13
  var styles = {
17
14
  "SelectionBar": "styles__SelectionBar___3UOqy",
18
15
  "SelectionBar-count": "styles__SelectionBar-count___1e2yD",
@@ -21,9 +18,12 @@ var styles = {
21
18
  "spin": "styles__spin___1MUwn",
22
19
  "shake": "styles__shake___qrFb_"
23
20
  };
24
- import SelectionBarAction from "cozy-ui/transpiled/react/SelectionBar/SelectionBarAction";
25
- import SelectionBarMore from "cozy-ui/transpiled/react/SelectionBar/SelectionBarMore";
26
21
  import useMaxActions from "cozy-ui/transpiled/react/SelectionBar/useMaxActions";
22
+ import Icon from "cozy-ui/transpiled/react/Icon";
23
+ import IconButton from "cozy-ui/transpiled/react/IconButton";
24
+ import CrossIcon from "cozy-ui/transpiled/react/Icons/Cross";
25
+ import useBreakpoints from "cozy-ui/transpiled/react/providers/Breakpoints";
26
+ import { useI18n } from "cozy-ui/transpiled/react/providers/I18n";
27
27
  /*
28
28
 
29
29
  If you want use SelectionBar component, you must have `actions` parameter, like :
@@ -5,11 +5,11 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (O
5
5
 
6
6
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
7
7
 
8
- import { useState } from 'react';
9
8
  import throttle from 'lodash/throttle';
9
+ import { useState } from 'react';
10
+ import { computeMaxAction } from "cozy-ui/transpiled/react/SelectionBar/helpers";
10
11
  import breakpointDefs, { getBreakpointsStatus } from "cozy-ui/transpiled/react/helpers/breakpoints";
11
12
  import useEventListener from "cozy-ui/transpiled/react/hooks/useEventListener";
12
- import { computeMaxAction } from "cozy-ui/transpiled/react/SelectionBar/helpers";
13
13
  var huge = 1400;
14
14
  var large = 1200;
15
15
 
@@ -1,15 +1,15 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
3
  var _excluded = ["children", "className"];
4
- import React from 'react';
4
+ import { useTheme } from '@material-ui/core';
5
5
  import cx from 'classnames';
6
6
  import PropTypes from 'prop-types';
7
+ import React from 'react';
7
8
  var styles = {
8
9
  "o-sidebar": "styles__o-sidebar___1295j"
9
10
  };
10
11
  import { useSetFlagshipUI } from "cozy-ui/transpiled/react/hooks/useSetFlagshipUi/useSetFlagshipUI";
11
12
  import { useCozyTheme } from "cozy-ui/transpiled/react/providers/CozyTheme";
12
- import { useTheme } from '@material-ui/core';
13
13
 
14
14
  var Sidebar = function Sidebar(_ref) {
15
15
  var children = _ref.children,
@@ -1,10 +1,10 @@
1
- import React from 'react';
2
1
  import PropTypes from 'prop-types';
2
+ import React from 'react';
3
+ import Divider from "cozy-ui/transpiled/react/Divider";
3
4
  import ListItem from "cozy-ui/transpiled/react/ListItem";
4
5
  import ListItemIcon from "cozy-ui/transpiled/react/ListItemIcon";
5
6
  import ListItemText from "cozy-ui/transpiled/react/ListItemText";
6
7
  import Skeleton from "cozy-ui/transpiled/react/Skeleton";
7
- import Divider from "cozy-ui/transpiled/react/Divider";
8
8
 
9
9
  var ListItemSkeleton = function ListItemSkeleton(_ref) {
10
10
  var hasSecondary = _ref.hasSecondary,
@@ -1,9 +1,9 @@
1
1
  import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
2
- import React from 'react';
3
2
  import PropTypes from 'prop-types';
3
+ import React from 'react';
4
+ import ListItemSkeleton from "cozy-ui/transpiled/react/Skeletons/ListItemSkeleton";
4
5
  import List from "cozy-ui/transpiled/react/List";
5
6
  import ListSubheader from "cozy-ui/transpiled/react/ListSubheader";
6
- import ListItemSkeleton from "cozy-ui/transpiled/react/Skeletons/ListItemSkeleton";
7
7
 
8
8
  var ListSkeleton = function ListSkeleton(_ref) {
9
9
  var count = _ref.count,
@@ -1,8 +1,8 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
3
  var _excluded = ["children"];
4
- import React, { forwardRef } from 'react';
5
4
  import MuiSnackbar from '@material-ui/core/Snackbar';
5
+ import React, { forwardRef } from 'react';
6
6
  var Snackbar = /*#__PURE__*/forwardRef(function (_ref, ref) {
7
7
  var children = _ref.children,
8
8
  props = _objectWithoutProperties(_ref, _excluded);
@@ -1,11 +1,7 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
- import React from 'react';
3
- import PropTypes from 'prop-types';
4
2
  import cx from 'classnames';
5
- import Icon from "cozy-ui/transpiled/react/Icon";
6
- import Typography from "cozy-ui/transpiled/react/Typography";
7
- import { translate } from "cozy-ui/transpiled/react/providers/I18n";
8
- import SpinnerIcon from "cozy-ui/transpiled/react/Icons/Spinner";
3
+ import PropTypes from 'prop-types';
4
+ import React from 'react';
9
5
  var styles = {
10
6
  "c-spinner": "styles__c-spinner___1snK7",
11
7
  "c-spinner--middle": "styles__c-spinner--middle___RwyII",
@@ -13,6 +9,10 @@ var styles = {
13
9
  "spin": "styles__spin___3Lqkt",
14
10
  "shake": "styles__shake___6gnzB"
15
11
  };
12
+ import Icon from "cozy-ui/transpiled/react/Icon";
13
+ import SpinnerIcon from "cozy-ui/transpiled/react/Icons/Spinner";
14
+ import Typography from "cozy-ui/transpiled/react/Typography";
15
+ import { translate } from "cozy-ui/transpiled/react/providers/I18n";
16
16
  export var Spinner = function Spinner(_ref) {
17
17
  var _cx;
18
18
 
@@ -2,24 +2,10 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
3
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
4
4
  var _excluded = ["display", "name", "variant", "IconContent", "description"];
5
- import React, { useEffect, useState } from 'react';
6
5
  import cx from 'classnames';
7
- import PropTypes from 'prop-types';
8
6
  import get from 'lodash/get';
9
- import AppIcon from "cozy-ui/transpiled/react/AppIcon";
10
- import Badge from "cozy-ui/transpiled/react/Badge";
11
- import Icon from "cozy-ui/transpiled/react/Icon";
12
- import IconCheckAnimated from "cozy-ui/transpiled/react/Icons/IconCheckAnimated";
13
- import InfosBadge from "cozy-ui/transpiled/react/InfosBadge";
14
- import Spinner from "cozy-ui/transpiled/react/Spinner";
15
- import SvgIconCrossAnimated from "cozy-ui/transpiled/react/Icons/IconCrossAnimated";
16
- import Typography from "cozy-ui/transpiled/react/Typography";
17
- import iconOut from "cozy-ui/transpiled/react/Icons/LinkOut";
18
- import iconPlus from "cozy-ui/transpiled/react/Icons/Plus";
19
- import iconWarning from "cozy-ui/transpiled/react/Icons/WarningCircle";
20
- import { alpha, makeStyles } from "cozy-ui/transpiled/react/styles";
21
- import { nameToColor } from "cozy-ui/transpiled/react/Avatar/helpers";
22
- import CozyTheme, { useCozyTheme } from "cozy-ui/transpiled/react/providers/CozyTheme";
7
+ import PropTypes from 'prop-types';
8
+ import React, { useEffect, useState } from 'react';
23
9
  import ListItemText from 'cozy-ui/transpiled/react/ListItemText';
24
10
  var styles = {
25
11
  "SquareAppIcon-wrapper": "styles__SquareAppIcon-wrapper___2SEuM",
@@ -34,6 +20,20 @@ var styles = {
34
20
  "isSuccess": "styles__isSuccess___I6nFq",
35
21
  "end-animation": "styles__end-animation___1O0b3"
36
22
  };
23
+ import AppIcon from "cozy-ui/transpiled/react/AppIcon";
24
+ import { nameToColor } from "cozy-ui/transpiled/react/Avatar/helpers";
25
+ import Badge from "cozy-ui/transpiled/react/Badge";
26
+ import Icon from "cozy-ui/transpiled/react/Icon";
27
+ import IconCheckAnimated from "cozy-ui/transpiled/react/Icons/IconCheckAnimated";
28
+ import SvgIconCrossAnimated from "cozy-ui/transpiled/react/Icons/IconCrossAnimated";
29
+ import iconOut from "cozy-ui/transpiled/react/Icons/LinkOut";
30
+ import iconPlus from "cozy-ui/transpiled/react/Icons/Plus";
31
+ import iconWarning from "cozy-ui/transpiled/react/Icons/WarningCircle";
32
+ import InfosBadge from "cozy-ui/transpiled/react/InfosBadge";
33
+ import Spinner from "cozy-ui/transpiled/react/Spinner";
34
+ import Typography from "cozy-ui/transpiled/react/Typography";
35
+ import CozyTheme, { useCozyTheme } from "cozy-ui/transpiled/react/providers/CozyTheme";
36
+ import { alpha, makeStyles } from "cozy-ui/transpiled/react/styles";
37
37
  var useStyles = makeStyles(function (theme) {
38
38
  return {
39
39
  name: _defineProperty({
@@ -1,9 +1,9 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
3
  var _excluded = ["spacing", "tag"];
4
- import React from 'react';
5
4
  import cx from 'classnames';
6
5
  import PropTypes from 'prop-types';
6
+ import React from 'react';
7
7
  var styles = {
8
8
  "Stack--m": "styles__Stack--m___1tSpV",
9
9
  "Stack--xs": "styles__Stack--xs___2R5lW",
@@ -1,5 +1,5 @@
1
- import React from 'react';
2
1
  import { render } from '@testing-library/react';
2
+ import React from 'react';
3
3
  import { Stepper, Step, StepLabel, StepButton } from "cozy-ui/transpiled/react/Stepper";
4
4
 
5
5
  var renderSVGWarningIcon = function renderSVGWarningIcon() {
@@ -1,10 +1,10 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
3
  var _excluded = ["className", "variant", "narrowed", "segmented", "children"];
4
- import React, { forwardRef } from 'react';
5
- import PropTypes from 'prop-types';
6
4
  import MuiTabs from '@material-ui/core/Tabs';
7
5
  import cx from 'classnames';
6
+ import PropTypes from 'prop-types';
7
+ import React, { forwardRef } from 'react';
8
8
  import useBreakpoints from "cozy-ui/transpiled/react/providers/Breakpoints";
9
9
  var Tabs = /*#__PURE__*/forwardRef(function (_ref, ref) {
10
10
  var className = _ref.className,
@@ -2,18 +2,18 @@ import _extends from "@babel/runtime/helpers/extends";
2
2
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
3
3
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
4
4
  var _excluded = ["name", "options", "disabled", "value", "children", "onClick", "onChange"];
5
- import React, { forwardRef, useEffect, useState } from 'react';
6
- import merge from 'lodash/merge';
7
5
  import MuiTextField from '@material-ui/core/TextField';
6
+ import merge from 'lodash/merge';
8
7
  import PropTypes from 'prop-types';
8
+ import React, { forwardRef, useEffect, useState } from 'react';
9
+ import ActionsMenuItem from "cozy-ui/transpiled/react/ActionsMenu/ActionsMenuItem";
10
+ import ActionsMenuWrapper from "cozy-ui/transpiled/react/ActionsMenu/ActionsMenuWrapper";
9
11
  import Icon from "cozy-ui/transpiled/react/Icon";
10
12
  import BottomIcon from "cozy-ui/transpiled/react/Icons/Bottom";
11
13
  import InputAdornment from "cozy-ui/transpiled/react/InputAdornment";
12
- import ListItemText from "cozy-ui/transpiled/react/ListItemText";
13
14
  import ListItemIcon from "cozy-ui/transpiled/react/ListItemIcon";
15
+ import ListItemText from "cozy-ui/transpiled/react/ListItemText";
14
16
  import Radio from "cozy-ui/transpiled/react/Radios";
15
- import ActionsMenuWrapper from "cozy-ui/transpiled/react/ActionsMenu/ActionsMenuWrapper";
16
- import ActionsMenuItem from "cozy-ui/transpiled/react/ActionsMenu/ActionsMenuItem";
17
17
  var MobileSelect = /*#__PURE__*/forwardRef(function (_ref, ref) {
18
18
  var _options$find;
19
19
 
@@ -1,13 +1,13 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
3
  var _excluded = ["select", "options", "children"];
4
- import React, { forwardRef } from 'react';
5
4
  import MuiTextField from '@material-ui/core/TextField';
5
+ import React, { forwardRef } from 'react';
6
+ import MobileSelect from "cozy-ui/transpiled/react/TextField/MobileSelect";
6
7
  import Icon from "cozy-ui/transpiled/react/Icon";
7
8
  import BottomIcon from "cozy-ui/transpiled/react/Icons/Bottom";
8
9
  import { getRandomUUID } from "cozy-ui/transpiled/react/helpers/getRandomUUID";
9
10
  import { useBreakpoints } from "cozy-ui/transpiled/react/providers/Breakpoints";
10
- import MobileSelect from "cozy-ui/transpiled/react/TextField/MobileSelect";
11
11
  var TextField = /*#__PURE__*/forwardRef(function (_ref, ref) {
12
12
  var select = _ref.select,
13
13
  options = _ref.options,
@@ -2,9 +2,9 @@ import _extends from "@babel/runtime/helpers/extends";
2
2
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
3
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
4
4
  var _excluded = ["className", "disabled", "placeholder", "children", "error", "size", "fullwidth"];
5
- import React from 'react';
6
5
  import cx from 'classnames';
7
6
  import PropTypes from 'prop-types';
7
+ import React from 'react';
8
8
  var styles = {
9
9
  "c-textarea": "styles__c-textarea___D7EEH",
10
10
  "is-error": "styles__is-error___1kGLj",
@@ -2,9 +2,9 @@ import _extends from "@babel/runtime/helpers/extends";
2
2
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
3
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
4
4
  var _excluded = ["className", "isStacked", "children"];
5
- import React from 'react';
6
- import PropTypes from 'prop-types';
7
5
  import cx from 'classnames';
6
+ import PropTypes from 'prop-types';
7
+ import React from 'react';
8
8
  var styles = {
9
9
  "container": "Thumbnail__container___2Eg5o",
10
10
  "wrapper": "Thumbnail__wrapper___ZoPVg",
@@ -2,10 +2,9 @@ import _extends from "@babel/runtime/helpers/extends";
2
2
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
3
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
4
4
  var _excluded = ["children", "className", "tag", "isSecondary"];
5
- import React from 'react';
6
- import PropTypes from 'prop-types';
7
5
  import cx from 'classnames';
8
- import Typography from "cozy-ui/transpiled/react/Typography";
6
+ import PropTypes from 'prop-types';
7
+ import React from 'react';
9
8
  var styles = {
10
9
  "Tile": "styles__Tile___2SqRi",
11
10
  "Tile-secondary": "styles__Tile-secondary___2zYdn",
@@ -17,6 +16,7 @@ var styles = {
17
16
  "Tile-title-multiline": "styles__Tile-title-multiline___17HPx",
18
17
  "Tile-status-accent": "styles__Tile-status-accent___an9au"
19
18
  };
19
+ import Typography from "cozy-ui/transpiled/react/Typography";
20
20
 
21
21
  var Tile = function Tile(_ref) {
22
22
  var children = _ref.children,
@@ -8,13 +8,13 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
8
8
 
9
9
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
10
10
 
11
+ import PropTypes from 'prop-types';
12
+ import React, { Component } from 'react';
11
13
  var styles = {
12
14
  "toggle": "styles__toggle___3zVsE",
13
15
  "checkbox": "styles__checkbox___3ko96",
14
16
  "label": "styles__label___3jY1f"
15
17
  };
16
- import React, { Component } from 'react';
17
- import PropTypes from 'prop-types';
18
18
 
19
19
  var Toggle = /*#__PURE__*/function (_Component) {
20
20
  _inherits(Toggle, _Component);
@@ -1,8 +1,8 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
3
  var _excluded = ["color", "variant", "children"];
4
- import React, { forwardRef } from 'react';
5
4
  import MuiTypography from '@material-ui/core/Typography';
5
+ import React, { forwardRef } from 'react';
6
6
  var Typography = /*#__PURE__*/forwardRef(function (_ref, ref) {
7
7
  var color = _ref.color,
8
8
  variant = _ref.variant,
@@ -2,8 +2,8 @@ import _extends from "@babel/runtime/helpers/extends";
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
3
  var _excluded = ["className"],
4
4
  _excluded2 = ["className"];
5
- import React from 'react';
6
5
  import cx from 'classnames';
6
+ import React from 'react';
7
7
  var styles = {
8
8
  "UnorderedList": "styles__UnorderedList___2uFFY",
9
9
  "ListItem": "styles__ListItem___3cRoI"
@@ -12,46 +12,11 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
12
12
 
13
13
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
14
14
 
15
- import React, { Component, useState } from 'react';
16
- import cx from 'classnames';
17
15
  import LinearProgress from '@material-ui/core/LinearProgress';
16
+ import cx from 'classnames';
17
+ import React, { Component, useState } from 'react';
18
18
  import { useIntervalWhen } from 'rooks';
19
19
  import { splitFilename } from 'cozy-client/dist/models/file';
20
- import { withStyles } from "cozy-ui/transpiled/react/styles";
21
- import CrossIcon from "cozy-ui/transpiled/react/Icons/Cross";
22
- import WarningIcon from "cozy-ui/transpiled/react/Icons/Warning";
23
- import CheckIcon from "cozy-ui/transpiled/react/Icons/Check";
24
- import { translate, useI18n } from "cozy-ui/transpiled/react/providers/I18n";
25
- import withLocales from "cozy-ui/transpiled/react/providers/I18n/withLocales";
26
- import Icon from "cozy-ui/transpiled/react/Icon";
27
- import Spinner from "cozy-ui/transpiled/react/Spinner";
28
- import Typography from "cozy-ui/transpiled/react/Typography";
29
- import List from "cozy-ui/transpiled/react/List";
30
- import ListItem from "cozy-ui/transpiled/react/ListItem";
31
- import ListItemText from "cozy-ui/transpiled/react/ListItemText";
32
- import ListItemIcon from "cozy-ui/transpiled/react/ListItemIcon";
33
- import { Img } from "cozy-ui/transpiled/react/deprecated/Media";
34
- import Button from "cozy-ui/transpiled/react/deprecated/Button";
35
- var styles = {
36
- "upload-queue": "styles__upload-queue___1VtNK",
37
- "upload-queue__threshold-bar": "styles__upload-queue__threshold-bar___tTYal",
38
- "upload-queue__progress-caption": "styles__upload-queue__progress-caption___1-vXY",
39
- "upload-queue__upload-progress": "styles__upload-queue__upload-progress___1q-uS",
40
- "upload-queue--popover": "styles__upload-queue--popover___2z1a4",
41
- "upload-queue--visible": "styles__upload-queue--visible___DjVRs",
42
- "upload-queue-header": "styles__upload-queue-header___c9Vf2",
43
- "upload-queue-header-inner": "styles__upload-queue-header-inner___26wpB",
44
- "upload-queue-progress": "styles__upload-queue-progress___1CmN-",
45
- "upload-queue-content": "styles__upload-queue-content___3MPHo",
46
- "upload-queue--collapsed": "styles__upload-queue--collapsed___3cchD",
47
- "upload-queue-list": "styles__upload-queue-list___OVvJm",
48
- "upload-queue-item--error": "styles__upload-queue-item--error___2sSeV",
49
- "upload-queue-item--done": "styles__upload-queue-item--done___2PSJI",
50
- "item-file": "styles__item-file___1kfDn",
51
- "item-status": "styles__item-status___3FNcY",
52
- "spin": "styles__spin___3GZIp",
53
- "shake": "styles__shake___u1Pks"
54
- };
55
20
  var localeEn = {
56
21
  header: "Uploading %{smart_count} photo to %{app} |||| Uploading %{smart_count} photos to %{app}",
57
22
  header_mobile: "Uploading %{done} of %{smart_count}",
@@ -82,7 +47,42 @@ var localeFr = {
82
47
  remainingTime: "%{time} restante |||| %{time} restantes"
83
48
  }
84
49
  };
50
+ var styles = {
51
+ "upload-queue": "styles__upload-queue___1VtNK",
52
+ "upload-queue__threshold-bar": "styles__upload-queue__threshold-bar___tTYal",
53
+ "upload-queue__progress-caption": "styles__upload-queue__progress-caption___1-vXY",
54
+ "upload-queue__upload-progress": "styles__upload-queue__upload-progress___1q-uS",
55
+ "upload-queue--popover": "styles__upload-queue--popover___2z1a4",
56
+ "upload-queue--visible": "styles__upload-queue--visible___DjVRs",
57
+ "upload-queue-header": "styles__upload-queue-header___c9Vf2",
58
+ "upload-queue-header-inner": "styles__upload-queue-header-inner___26wpB",
59
+ "upload-queue-progress": "styles__upload-queue-progress___1CmN-",
60
+ "upload-queue-content": "styles__upload-queue-content___3MPHo",
61
+ "upload-queue--collapsed": "styles__upload-queue--collapsed___3cchD",
62
+ "upload-queue-list": "styles__upload-queue-list___OVvJm",
63
+ "upload-queue-item--error": "styles__upload-queue-item--error___2sSeV",
64
+ "upload-queue-item--done": "styles__upload-queue-item--done___2PSJI",
65
+ "item-file": "styles__item-file___1kfDn",
66
+ "item-status": "styles__item-status___3FNcY",
67
+ "spin": "styles__spin___3GZIp",
68
+ "shake": "styles__shake___u1Pks"
69
+ };
70
+ import Icon from "cozy-ui/transpiled/react/Icon";
71
+ import CheckIcon from "cozy-ui/transpiled/react/Icons/Check";
72
+ import CrossIcon from "cozy-ui/transpiled/react/Icons/Cross";
73
+ import WarningIcon from "cozy-ui/transpiled/react/Icons/Warning";
74
+ import Spinner from "cozy-ui/transpiled/react/Spinner";
75
+ import Typography from "cozy-ui/transpiled/react/Typography";
76
+ import List from "cozy-ui/transpiled/react/List";
77
+ import ListItem from "cozy-ui/transpiled/react/ListItem";
78
+ import ListItemText from "cozy-ui/transpiled/react/ListItemText";
79
+ import ListItemIcon from "cozy-ui/transpiled/react/ListItemIcon";
80
+ import { Img } from "cozy-ui/transpiled/react/deprecated/Media";
81
+ import Button from "cozy-ui/transpiled/react/deprecated/Button";
82
+ import { translate, useI18n } from "cozy-ui/transpiled/react/providers/I18n";
85
83
  import { formatLocallyDistanceToNow } from "cozy-ui/transpiled/react/providers/I18n/format";
84
+ import withLocales from "cozy-ui/transpiled/react/providers/I18n/withLocales";
85
+ import { withStyles } from "cozy-ui/transpiled/react/styles";
86
86
  var locales = {
87
87
  en: localeEn,
88
88
  es: localeEs,