cozy-ui 111.5.0 → 111.7.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 (757) hide show
  1. package/.nvmrc +1 -1
  2. package/CHANGELOG.md +21 -0
  3. package/package.json +16 -5
  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 +13 -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 +56 -13
  29. package/react/AppSections/__snapshots__/index.spec.jsx.snap +10 -0
  30. package/react/AppSections/categories.js +35 -11
  31. package/react/AppSections/categories.spec.js +9 -3
  32. package/react/AppSections/components/AppsSection.jsx +6 -5
  33. package/react/AppSections/components/AppsSection.spec.jsx +5 -6
  34. package/react/AppSections/components/DropdownFilter.jsx +3 -4
  35. package/react/AppSections/components/__snapshots__/AppsSection.spec.jsx.snap +1 -1
  36. package/react/AppSections/constants.js +6 -1
  37. package/react/AppSections/generateI18nConfig.ts +23 -0
  38. package/react/AppSections/helpers.js +8 -0
  39. package/react/AppSections/helpers.spec.js +1 -1
  40. package/react/AppSections/index.spec.jsx +4 -4
  41. package/react/AppSections/locales/en.json +4 -2
  42. package/react/AppSections/locales/fr.json +4 -2
  43. package/react/AppSections/search.js +1 -1
  44. package/react/AppTile/AppTile.spec.jsx +7 -6
  45. package/react/AppTile/index.jsx +44 -26
  46. package/react/AppTile/locales/en.json +2 -1
  47. package/react/AppTile/locales/fr.json +2 -1
  48. package/react/AppTitle/index.jsx +3 -2
  49. package/react/Avatar/index.jsx +4 -4
  50. package/react/Backdrop/index.js +2 -2
  51. package/react/Badge/index.jsx +2 -2
  52. package/react/Banner/index.jsx +4 -5
  53. package/react/Banner/index.spec.jsx +2 -1
  54. package/react/BarButton/index.jsx +2 -3
  55. package/react/BarContextProvider/index.jsx +4 -3
  56. package/react/BarContextProvider/index.spec.jsx +2 -2
  57. package/react/BarTitle/index.jsx +2 -3
  58. package/react/BottomSheet/BottomSheet.jsx +10 -11
  59. package/react/BottomSheet/BottomSheetHeader.jsx +1 -1
  60. package/react/BottomSheet/BottomSheetItem.jsx +2 -2
  61. package/react/BottomSheet/BottomSheetTitle.jsx +3 -3
  62. package/react/Buttons/index.jsx +3 -4
  63. package/react/Card/index.jsx +1 -1
  64. package/react/Checkbox/index.jsx +3 -4
  65. package/react/Chips/index.jsx +2 -2
  66. package/react/CipherIcon/index.jsx +6 -5
  67. package/react/CipherIcon/index.spec.jsx +2 -1
  68. package/react/Circle/index.jsx +2 -2
  69. package/react/CircleButton/index.jsx +3 -3
  70. package/react/CircularChart/CircularChartProgress.jsx +2 -2
  71. package/react/CircularChart/CircularProgressWithBackground.jsx +2 -2
  72. package/react/CircularChart/index.jsx +4 -6
  73. package/react/ContactPicker/index.jsx +4 -3
  74. package/react/ContactPicker/index.spec.jsx +4 -5
  75. package/react/ContactsList/ContactRow.jsx +4 -4
  76. package/react/ContactsList/ContactRow.spec.js +5 -4
  77. package/react/ContactsList/Contacts/ContactCozy.jsx +1 -1
  78. package/react/ContactsList/Contacts/ContactEmail.jsx +1 -1
  79. package/react/ContactsList/Contacts/ContactIdentity.jsx +4 -5
  80. package/react/ContactsList/Contacts/ContactName.jsx +2 -2
  81. package/react/ContactsList/Contacts/ContactPhone.jsx +1 -1
  82. package/react/ContactsList/ContactsList.jsx +6 -6
  83. package/react/ContactsList/locales/withContactsListLocales.jsx +1 -2
  84. package/react/ContactsListModal/AddContact/AddContactContent.jsx +5 -6
  85. package/react/ContactsListModal/AddContact/AddContactDialog.jsx +3 -3
  86. package/react/ContactsListModal/ContactsListContent.jsx +2 -2
  87. package/react/ContactsListModal/ContactsListModal.jsx +12 -13
  88. package/react/ContactsListModal/ContactsListModalWithQuery.jsx +2 -2
  89. package/react/ContactsListModal/EmptyMessage.jsx +2 -1
  90. package/react/ContactsListModal/MobileHeader.jsx +4 -4
  91. package/react/ContactsListModal/index.jsx +2 -2
  92. package/react/ContactsListModal/withContactsListLocales.jsx +1 -2
  93. package/react/Counter/index.jsx +1 -1
  94. package/react/CozyDialogs/ConfirmDialog.jsx +4 -5
  95. package/react/CozyDialogs/Dialog.jsx +4 -5
  96. package/react/CozyDialogs/DialogBackButton.jsx +4 -6
  97. package/react/CozyDialogs/DialogCloseButton.jsx +4 -5
  98. package/react/CozyDialogs/DialogTransition.jsx +3 -3
  99. package/react/CozyDialogs/FixedActionsDialog.jsx +4 -5
  100. package/react/CozyDialogs/FixedDialog.jsx +4 -5
  101. package/react/CozyDialogs/IllustrationDialog.jsx +4 -5
  102. package/react/CozyDialogs/PermissionDialog.jsx +4 -4
  103. package/react/CozyDialogs/SpecificDialogs/AllowLocationDialog.jsx +5 -6
  104. package/react/CozyDialogs/SpecificDialogs/AuthentificationDialog.jsx +7 -7
  105. package/react/CozyDialogs/SpecificDialogs/InstallFlagshipAppDialog.jsx +6 -7
  106. package/react/CozyDialogs/SpecificDialogs/withSpecificDialogsLocales.jsx +1 -2
  107. package/react/CozyDialogs/TopAnchoredDialog.jsx +1 -1
  108. package/react/CozyDialogs/testing.spec.jsx +1 -2
  109. package/react/CozyDialogs/useCozyDialog.js +2 -3
  110. package/react/DateMonthPicker/index.jsx +7 -8
  111. package/react/DateMonthPicker/index.spec.jsx +2 -2
  112. package/react/Dialog/DialogEffects.spec.tsx +13 -7
  113. package/react/Dialog/DialogEffects.ts +4 -5
  114. package/react/Dialog/index.jsx +2 -2
  115. package/react/Divider/TextDivider/index.jsx +2 -3
  116. package/react/Divider/index.jsx +2 -3
  117. package/react/DropdownButton/index.jsx +3 -3
  118. package/react/DropdownText/index.jsx +3 -3
  119. package/react/Empty/index.jsx +2 -3
  120. package/react/Fab/ExtendableFab.jsx +1 -1
  121. package/react/Field/index.jsx +5 -5
  122. package/react/Field/index.spec.js +2 -1
  123. package/react/Figure/Figure.jsx +3 -2
  124. package/react/Figure/Figure.spec.jsx +6 -2
  125. package/react/Figure/FigureBlock.jsx +4 -3
  126. package/react/FileImageLoader/index.jsx +2 -1
  127. package/react/FileImageLoader/index.spec.jsx +1 -1
  128. package/react/FileInput/index.jsx +2 -2
  129. package/react/FileInput/index.spec.jsx +1 -1
  130. package/react/FilePath/index.jsx +2 -1
  131. package/react/FilePathLink/index.jsx +2 -1
  132. package/react/FilePicker/FilePickerBody.jsx +10 -9
  133. package/react/FilePicker/FilePickerBodyItem.jsx +10 -12
  134. package/react/FilePicker/FilePickerBodyItem.spec.jsx +2 -2
  135. package/react/FilePicker/FilePickerBreadcrumb.jsx +7 -7
  136. package/react/FilePicker/FilePickerFooter.jsx +3 -4
  137. package/react/FilePicker/FilePickerFooter.spec.jsx +2 -2
  138. package/react/FilePicker/FilePickerHeader.jsx +8 -9
  139. package/react/FilePicker/index.jsx +6 -6
  140. package/react/Filename/index.jsx +2 -2
  141. package/react/GhostFileBadge/index.jsx +1 -1
  142. package/react/Hero/index.jsx +2 -1
  143. package/react/HistoryRow/index.jsx +3 -4
  144. package/react/I18n/index.js +2 -1
  145. package/react/I18n/withLocales.js +1 -1
  146. package/react/Icon/Sprite.jsx +2 -1
  147. package/react/Icon/index.jsx +2 -2
  148. package/react/IconButton/index.jsx +3 -3
  149. package/react/IconStack/index.jsx +2 -2
  150. package/react/InfosBadge/index.jsx +1 -1
  151. package/react/Input/index.jsx +2 -1
  152. package/react/InputGroup/index.jsx +4 -9
  153. package/react/IntentDialogOpener/IntentDialogOpener.jsx +2 -2
  154. package/react/IntentHeader/index.jsx +3 -3
  155. package/react/IntentIframe/IntentIframe.jsx +6 -13
  156. package/react/IntentWrapper/index.jsx +3 -3
  157. package/react/Label/index.jsx +2 -1
  158. package/react/Labs/CollectionField/index.jsx +4 -5
  159. package/react/Labs/ExperimentalDialog/index.jsx +1 -1
  160. package/react/Labs/IconGrid/index.jsx +1 -0
  161. package/react/Labs/PasswordInput/index.jsx +6 -5
  162. package/react/Layout/Layout.jsx +3 -2
  163. package/react/ListItem/ExpandedAttributes/ExpandedAttribute.jsx +5 -6
  164. package/react/ListItem/ExpandedAttributes/helpers.js +17 -15
  165. package/react/ListItem/ExpandedAttributes/index.jsx +4 -5
  166. package/react/ListItem/ListItemBase/Renaming/RenameDialog.jsx +1 -2
  167. package/react/ListItem/ListItemBase/Renaming/RenameInput.jsx +4 -5
  168. package/react/ListItem/ListItemBase/index.jsx +10 -11
  169. package/react/ListItem/ListItemByDoc/index.jsx +3 -3
  170. package/react/ListItem/ListItemContact/helpers.spec.js +1 -2
  171. package/react/ListItem/ListItemContact/index.jsx +2 -3
  172. package/react/ListItem/ListItemContact/useActions.jsx +1 -2
  173. package/react/ListItem/ListItemFile/ExpirationAnnotation.jsx +1 -2
  174. package/react/ListItem/ListItemFile/ItemIcon.jsx +4 -4
  175. package/react/ListItem/ListItemFile/PrimaryText.jsx +1 -1
  176. package/react/ListItem/ListItemFile/SecondaryText.jsx +2 -3
  177. package/react/ListItem/ListItemFile/index.jsx +4 -5
  178. package/react/ListItem/hoc/withListItemLocales.jsx +0 -1
  179. package/react/ListItem/index.js +4 -4
  180. package/react/ListItemIcon/index.js +1 -2
  181. package/react/ListItemText/index.jsx +2 -2
  182. package/react/ListSubheader/index.js +3 -3
  183. package/react/LoadMore/index.jsx +3 -2
  184. package/react/MenuItem/index.js +1 -1
  185. package/react/MidEllipsis/index.jsx +2 -2
  186. package/react/MuiCozyTheme/Divider/index.jsx +1 -0
  187. package/react/MuiCozyTheme/List/index.jsx +1 -0
  188. package/react/MuiCozyTheme/ListItem/index.jsx +1 -0
  189. package/react/MuiCozyTheme/ListItemIcon/index.jsx +1 -0
  190. package/react/MuiCozyTheme/ListItemSecondaryAction/index.jsx +1 -0
  191. package/react/MuiCozyTheme/index.jsx +2 -2
  192. package/react/MuiCozyTheme/makeTheme.jsx +6 -7
  193. package/react/MuiTabs/index.jsx +3 -2
  194. package/react/Nav/index.jsx +18 -14
  195. package/react/Nav/locales/withNavLocales.jsx +1 -1
  196. package/react/NavigationList/index.jsx +5 -4
  197. package/react/NestedSelect/BottomSheet.jsx +4 -5
  198. package/react/NestedSelect/ItemRow.jsx +4 -4
  199. package/react/NestedSelect/Modal.jsx +4 -5
  200. package/react/NestedSelect/NestedSelect.jsx +6 -6
  201. package/react/NestedSelect/NestedSelectResponsive.jsx +1 -1
  202. package/react/OrderedList/index.jsx +3 -2
  203. package/react/Page/index.jsx +1 -0
  204. package/react/Panel/index.jsx +1 -1
  205. package/react/PasswordExample/index.jsx +3 -2
  206. package/react/PasswordField/index.jsx +5 -6
  207. package/react/Paywall/MaxAccountsByKonnectorPaywall.jsx +1 -1
  208. package/react/Paywall/MaxAccountsPaywall.jsx +1 -1
  209. package/react/Paywall/MaxDaysToCapturePaywall.jsx +1 -1
  210. package/react/Paywall/MaxPapersPaywall.jsx +1 -1
  211. package/react/Paywall/OnlyOfficePaywall.jsx +1 -1
  212. package/react/Paywall/PasswordSharingPaywall.jsx +1 -1
  213. package/react/Paywall/Paywall.jsx +6 -6
  214. package/react/Paywall/Paywall.spec.jsx +2 -2
  215. package/react/Paywall/QuotaPaywall.jsx +1 -1
  216. package/react/Paywall/index.jsx +1 -3
  217. package/react/Paywall/locales/withPaywallLocales.jsx +1 -2
  218. package/react/PieChart/index.jsx +7 -7
  219. package/react/PointerAlert/index.jsx +4 -5
  220. package/react/Popup/index.jsx +1 -1
  221. package/react/Popup/index.spec.jsx +1 -1
  222. package/react/PopupOpener/index.jsx +1 -1
  223. package/react/ProgressionBanner/index.jsx +2 -2
  224. package/react/QualificationGrid/index.jsx +11 -12
  225. package/react/QualificationGrid/locales/withLocales.jsx +1 -2
  226. package/react/QualificationItem/index.jsx +2 -2
  227. package/react/Radios/index.jsx +1 -2
  228. package/react/SearchBar/index.jsx +8 -8
  229. package/react/SearchBar/locales/withOnlyLocales.jsx +1 -2
  230. package/react/SelectBox/ControlDefault.jsx +1 -2
  231. package/react/SelectBox/SelectBox.jsx +15 -17
  232. package/react/SelectBox/SelectBoxWithFixedOptions.jsx +2 -2
  233. package/react/SelectBox/index.jsx +1 -3
  234. package/react/SelectionBar/SelectionBarAction.jsx +3 -4
  235. package/react/SelectionBar/SelectionBarMore.jsx +2 -3
  236. package/react/SelectionBar/index.jsx +7 -8
  237. package/react/SelectionBar/useMaxActions.jsx +2 -2
  238. package/react/ShortcutTile/index.tsx +63 -0
  239. package/react/Sidebar/index.jsx +3 -2
  240. package/react/Skeletons/ListItemSkeleton.jsx +2 -2
  241. package/react/Skeletons/ListSkeleton.jsx +2 -3
  242. package/react/Snackbar/index.jsx +1 -1
  243. package/react/Spinner/index.jsx +4 -5
  244. package/react/SquareAppIcon/SquareAppIcon.spec.js +2 -2
  245. package/react/SquareAppIcon/index.jsx +10 -10
  246. package/react/Stack/index.jsx +2 -1
  247. package/react/Stepper/testing.jsx +1 -1
  248. package/react/Tabs/index.jsx +2 -2
  249. package/react/TextField/MobileSelect.jsx +12 -10
  250. package/react/TextField/index.jsx +2 -2
  251. package/react/Textarea/index.jsx +2 -1
  252. package/react/Thumbnail/index.jsx +2 -2
  253. package/react/Tile/index.jsx +4 -3
  254. package/react/Toggle/index.jsx +3 -3
  255. package/react/Typography/index.jsx +1 -1
  256. package/react/UnorderedList/index.jsx +2 -1
  257. package/react/UploadQueue/index.jsx +11 -12
  258. package/react/UploadQueue/index.spec.jsx +2 -1
  259. package/react/Viewer/Footer/BottomSheetContent.jsx +1 -2
  260. package/react/Viewer/Footer/DownloadButton.jsx +3 -3
  261. package/react/Viewer/Footer/FooterActionButtons.jsx +1 -1
  262. package/react/Viewer/Footer/FooterActionButtons.spec.jsx +1 -1
  263. package/react/Viewer/Footer/FooterContent.jsx +5 -5
  264. package/react/Viewer/Footer/ForwardButton.jsx +5 -5
  265. package/react/Viewer/Footer/ForwardButton.spec.jsx +2 -2
  266. package/react/Viewer/Footer/ForwardOrDownloadButton.jsx +2 -2
  267. package/react/Viewer/Footer/Sharing.jsx +2 -2
  268. package/react/Viewer/Footer/helpers.js +1 -0
  269. package/react/Viewer/NoViewer/DownloadButton.jsx +3 -4
  270. package/react/Viewer/NoViewer/FileIcon.jsx +2 -2
  271. package/react/Viewer/NoViewer/NoViewer.jsx +4 -3
  272. package/react/Viewer/NoViewer/NoViewer.spec.jsx +2 -3
  273. package/react/Viewer/Panel/ActionMenuDesktop.jsx +4 -4
  274. package/react/Viewer/Panel/ActionMenuMobile.jsx +6 -6
  275. package/react/Viewer/Panel/ActionMenuWrapper.jsx +4 -4
  276. package/react/Viewer/Panel/Certifications.jsx +5 -5
  277. package/react/Viewer/Panel/PanelContent.jsx +5 -6
  278. package/react/Viewer/Panel/Qualification.jsx +5 -5
  279. package/react/Viewer/Panel/QualificationListItemContact.jsx +9 -9
  280. package/react/Viewer/Panel/QualificationListItemDate.jsx +7 -7
  281. package/react/Viewer/Panel/QualificationListItemInformation.jsx +7 -7
  282. package/react/Viewer/Panel/QualificationListItemInformation.spec.jsx +2 -1
  283. package/react/Viewer/Panel/QualificationListItemOther.jsx +7 -7
  284. package/react/Viewer/Panel/QualificationListItemText.jsx +1 -1
  285. package/react/Viewer/Panel/getPanelBlocks.jsx +1 -1
  286. package/react/Viewer/Viewer.jsx +4 -5
  287. package/react/Viewer/ViewerContainer.jsx +12 -13
  288. package/react/Viewer/ViewerInformationsWrapper.jsx +6 -7
  289. package/react/Viewer/ViewerInformationsWrapper.spec.jsx +1 -1
  290. package/react/Viewer/ViewerWithCustomPanelAndFooter.jsx +4 -6
  291. package/react/Viewer/ViewersByFile/AudioViewer.jsx +1 -3
  292. package/react/Viewer/ViewersByFile/AudioViewer.spec.jsx +2 -4
  293. package/react/Viewer/ViewersByFile/BlankPaperViewer.jsx +2 -4
  294. package/react/Viewer/ViewersByFile/ImageViewer.jsx +3 -5
  295. package/react/Viewer/ViewersByFile/ImageViewer.spec.jsx +3 -5
  296. package/react/Viewer/ViewersByFile/NoNetworkViewer.jsx +1 -3
  297. package/react/Viewer/ViewersByFile/OnlyOfficeViewer.jsx +2 -3
  298. package/react/Viewer/ViewersByFile/PdfJsViewer.jsx +9 -13
  299. package/react/Viewer/ViewersByFile/PdfJsViewer.spec.jsx +2 -2
  300. package/react/Viewer/ViewersByFile/PdfMobileViewer.jsx +5 -7
  301. package/react/Viewer/ViewersByFile/PdfMobileViewer.spec.jsx +2 -3
  302. package/react/Viewer/ViewersByFile/ShortcutViewer.jsx +4 -4
  303. package/react/Viewer/ViewersByFile/ShortcutViewer.spec.jsx +3 -4
  304. package/react/Viewer/ViewersByFile/TextViewer.jsx +5 -7
  305. package/react/Viewer/ViewersByFile/TextViewer.spec.jsx +3 -5
  306. package/react/Viewer/ViewersByFile/VideoViewer.jsx +1 -2
  307. package/react/Viewer/ViewersByFile/VideoViewer.spec.jsx +2 -3
  308. package/react/Viewer/components/ExpirationAlert.jsx +2 -2
  309. package/react/Viewer/components/ExpirationAnnotation.jsx +1 -1
  310. package/react/Viewer/components/Footer.jsx +1 -2
  311. package/react/Viewer/components/InformationPanel.jsx +1 -1
  312. package/react/Viewer/components/Navigation.jsx +3 -4
  313. package/react/Viewer/components/PdfToolbarButton.jsx +1 -1
  314. package/react/Viewer/components/PrintButton.jsx +6 -6
  315. package/react/Viewer/components/Toolbar.jsx +12 -14
  316. package/react/Viewer/components/ToolbarFilePath.jsx +1 -2
  317. package/react/Viewer/components/ViewerByFile.jsx +9 -11
  318. package/react/Viewer/components/ViewerControls.jsx +11 -17
  319. package/react/Viewer/components/ViewerControls.spec.jsx +2 -2
  320. package/react/Viewer/components/ViewerSpinner.jsx +1 -1
  321. package/react/Viewer/helpers.js +0 -2
  322. package/react/Viewer/hoc/withFileUrl.jsx +2 -2
  323. package/react/Viewer/hoc/withViewerLocales.jsx +0 -1
  324. package/react/Viewer/index.jsx +2 -6
  325. package/react/Wizard/index.jsx +4 -4
  326. package/react/deprecated/ActionMenu/ActionMenuEffects.ts +3 -3
  327. package/react/deprecated/ActionMenu/ActionMenuHeader.jsx +2 -2
  328. package/react/deprecated/ActionMenu/ActionMenuItem.jsx +4 -5
  329. package/react/deprecated/ActionMenu/ActionMenuItemWrapper.jsx +4 -4
  330. package/react/deprecated/ActionMenu/ActionMenuRadio.jsx +1 -2
  331. package/react/deprecated/ActionMenu/ActionMenuWrapper.jsx +3 -4
  332. package/react/deprecated/ActionMenu/Actions/ActionsItems.jsx +6 -6
  333. package/react/deprecated/ActionMenu/Actions/call.js +2 -2
  334. package/react/deprecated/ActionMenu/Actions/emailTo.js +2 -2
  335. package/react/deprecated/ActionMenu/Actions/locales/withActionsLocales.jsx +1 -2
  336. package/react/deprecated/ActionMenu/Actions/modify.js +2 -2
  337. package/react/deprecated/ActionMenu/Actions/smsTo.js +2 -2
  338. package/react/deprecated/ActionMenu/Actions/viewInContacts.js +2 -2
  339. package/react/deprecated/ActionMenu/NotInlineWrapper.jsx +1 -1
  340. package/react/deprecated/ActionMenu/index.jsx +7 -9
  341. package/react/deprecated/ActionMenu/index.spec.jsx +10 -22
  342. package/react/deprecated/Alerter/Alert.jsx +3 -4
  343. package/react/deprecated/Alerter/alerter.spec.js +4 -17
  344. package/react/deprecated/Alerter/index.jsx +3 -2
  345. package/react/deprecated/BottomDrawer/index.jsx +4 -4
  346. package/react/deprecated/Button/index.jsx +3 -3
  347. package/react/deprecated/ButtonAction/index.jsx +2 -1
  348. package/react/deprecated/Chip/index.jsx +1 -0
  349. package/react/deprecated/CompositeRow/index.jsx +3 -4
  350. package/react/deprecated/GridItem/index.jsx +4 -3
  351. package/react/deprecated/Infos/index.jsx +5 -12
  352. package/react/deprecated/InfosCarrousel/index.jsx +4 -6
  353. package/react/deprecated/InfosCarrousel/index.spec.jsx +4 -8
  354. package/react/deprecated/InlineCard/index.jsx +1 -1
  355. package/react/deprecated/IntentModal/IntentModal.jsx +4 -5
  356. package/react/deprecated/IntentOpener/IntentOpener.jsx +2 -2
  357. package/react/deprecated/Media/Media.jsx +3 -2
  358. package/react/deprecated/Menus/index.js +4 -4
  359. package/react/deprecated/Modal/ModalBackButton.jsx +3 -3
  360. package/react/deprecated/Modal/ModalButtons.jsx +2 -1
  361. package/react/deprecated/Modal/ModalContent.jsx +3 -2
  362. package/react/deprecated/Modal/ModalCross.jsx +3 -4
  363. package/react/deprecated/Modal/ModalEffects.ts +3 -3
  364. package/react/deprecated/Modal/ModalFooter.jsx +2 -1
  365. package/react/deprecated/Modal/ModalHeader.jsx +2 -1
  366. package/react/deprecated/Modal/ModalSection.jsx +2 -1
  367. package/react/deprecated/Modal/index.jsx +13 -12
  368. package/react/deprecated/Modal/index.spec.jsx +3 -6
  369. package/react/deprecated/NarrowContent/index.jsx +2 -1
  370. package/react/deprecated/Overlay/index.jsx +3 -2
  371. package/react/deprecated/PercentageBar/index.jsx +3 -2
  372. package/react/deprecated/PercentageLine/index.jsx +3 -2
  373. package/react/deprecated/PushClientButton/index.jsx +3 -4
  374. package/react/deprecated/PushClientButton/index.spec.jsx +1 -2
  375. package/react/deprecated/QuotaAlert/index.jsx +1 -1
  376. package/react/deprecated/Radio/index.jsx +3 -3
  377. package/react/deprecated/Radio/index.spec.jsx +3 -4
  378. package/react/deprecated/RaisedList/index.js +1 -1
  379. package/react/deprecated/Table/index.jsx +1 -1
  380. package/react/deprecated/ViewStack/ModalStack.jsx +2 -1
  381. package/react/deprecated/ViewStack/ViewStack.jsx +2 -1
  382. package/react/deprecated/ViewStack/example.jsx +1 -0
  383. package/react/deprecated/ViewStack/index.spec.jsx +6 -9
  384. package/react/examples.spec.jsx +2 -1
  385. package/react/helpers/appDataset.spec.js +1 -0
  386. package/react/helpers/tracker.jsx +1 -0
  387. package/react/helpers/tracker.spec.js +1 -1
  388. package/react/helpers/withBreakpoints.jsx +33 -29
  389. package/react/hooks/useBrowserOffline.js +9 -6
  390. package/react/hooks/useBrowserOffline.spec.js +2 -1
  391. package/react/hooks/useConfirmExit/index.jsx +5 -6
  392. package/react/hooks/useConfirmExit/index.spec.js +8 -5
  393. package/react/hooks/useCycle.spec.jsx +1 -0
  394. package/react/hooks/useEventListener.js +1 -0
  395. package/react/hooks/useEventListener.spec.js +2 -1
  396. package/react/hooks/usePeriodicRender.spec.js +2 -1
  397. package/react/hooks/useRealtime.spec.js +2 -1
  398. package/react/hooks/useScroll.jsx +1 -1
  399. package/react/hooks/useScroll.spec.jsx +1 -0
  400. package/react/hooks/useSetFlagshipUi/helpers.js +0 -1
  401. package/react/hooks/useSetFlagshipUi/useSetFlagshipUI.spec.ts +3 -1
  402. package/react/hooks/useSetFlagshipUi/useSetFlagshipUI.ts +3 -3
  403. package/react/legacy/Breadcrumbs/index.jsx +4 -5
  404. package/react/providers/Alert/index.jsx +1 -1
  405. package/react/providers/Breakpoints/index.jsx +1 -1
  406. package/react/providers/CozyTheme/CozyThemeWithQuery.jsx +1 -1
  407. package/react/providers/CozyTheme/DumbCozyTheme.jsx +6 -7
  408. package/react/providers/CozyTheme/index.jsx +2 -2
  409. package/react/providers/I18n/createUseI18n.jsx +2 -2
  410. package/react/providers/I18n/format.jsx +7 -8
  411. package/react/providers/I18n/helpers.js +2 -2
  412. package/react/providers/I18n/index.jsx +2 -2
  413. package/react/providers/I18n/index.spec.jsx +3 -2
  414. package/react/providers/I18n/translate.jsx +3 -2
  415. package/react/providers/I18n/withLocales.jsx +5 -3
  416. package/react/providers/I18n/withLocales.spec.jsx +1 -0
  417. package/react/providers/I18n/withOnlyLocales.jsx +4 -2
  418. package/react/providers/Intent/index.jsx +1 -1
  419. package/react/types.d.ts +4 -0
  420. package/react/utils/color.js +1 -4
  421. package/react/utils.jsx +14 -16
  422. package/scripts/screenshots/prepares.js +4 -1
  423. package/scripts/screenshots.js +1 -1
  424. package/transpiled/react/AccordionSummary/index.js +1 -1
  425. package/transpiled/react/ActionsBar/ResponsiveAction.js +3 -3
  426. package/transpiled/react/ActionsBar/index.js +10 -10
  427. package/transpiled/react/ActionsBar/locales/withActionsLocales.js +1 -1
  428. package/transpiled/react/ActionsMenu/Actions/call.js +3 -3
  429. package/transpiled/react/ActionsMenu/Actions/emailTo.js +3 -3
  430. package/transpiled/react/ActionsMenu/Actions/locales/withActionsLocales.js +2 -2
  431. package/transpiled/react/ActionsMenu/Actions/modify.js +3 -3
  432. package/transpiled/react/ActionsMenu/Actions/others.js +1 -1
  433. package/transpiled/react/ActionsMenu/Actions/print.js +4 -4
  434. package/transpiled/react/ActionsMenu/Actions/smsTo.js +3 -3
  435. package/transpiled/react/ActionsMenu/Actions/viewInContacts.js +3 -3
  436. package/transpiled/react/ActionsMenu/ActionsItems.js +2 -2
  437. package/transpiled/react/ActionsMenu/ActionsMenuItem.js +4 -4
  438. package/transpiled/react/ActionsMenu/ActionsMenuMobileHeader.js +1 -1
  439. package/transpiled/react/ActionsMenu/ActionsMenuWrapper.js +4 -4
  440. package/transpiled/react/ActionsMenu/index.js +2 -2
  441. package/transpiled/react/Alert/index.js +5 -5
  442. package/transpiled/react/AppIcon/index.js +13 -3
  443. package/transpiled/react/AppLinker/index.js +2 -2
  444. package/transpiled/react/AppSections/Sections.js +50 -16
  445. package/transpiled/react/AppSections/categories.js +31 -3
  446. package/transpiled/react/AppSections/components/AppsSection.js +6 -6
  447. package/transpiled/react/AppSections/components/DropdownFilter.js +5 -5
  448. package/transpiled/react/AppSections/constants.js +5 -1
  449. package/transpiled/react/AppSections/generateI18nConfig.d.ts +6 -0
  450. package/transpiled/react/AppSections/generateI18nConfig.js +25 -0
  451. package/transpiled/react/AppSections/helpers.js +5 -0
  452. package/transpiled/react/AppSections/search.js +1 -1
  453. package/transpiled/react/AppTile/index.js +33 -18
  454. package/transpiled/react/AppTitle/index.js +2 -2
  455. package/transpiled/react/Avatar/index.js +4 -4
  456. package/transpiled/react/Backdrop/index.js +2 -2
  457. package/transpiled/react/Badge/index.js +2 -2
  458. package/transpiled/react/Banner/index.js +5 -5
  459. package/transpiled/react/BarButton/index.js +2 -2
  460. package/transpiled/react/BarContextProvider/index.js +3 -3
  461. package/transpiled/react/BarTitle/index.js +2 -2
  462. package/transpiled/react/BottomSheet/BottomSheet.js +10 -10
  463. package/transpiled/react/BottomSheet/BottomSheetHeader.js +1 -1
  464. package/transpiled/react/BottomSheet/BottomSheetItem.js +2 -2
  465. package/transpiled/react/BottomSheet/BottomSheetTitle.js +3 -3
  466. package/transpiled/react/Buttons/index.js +3 -3
  467. package/transpiled/react/Card/index.js +1 -1
  468. package/transpiled/react/Checkbox/index.js +3 -3
  469. package/transpiled/react/Chips/index.js +2 -2
  470. package/transpiled/react/CipherIcon/index.js +4 -4
  471. package/transpiled/react/Circle/index.js +2 -2
  472. package/transpiled/react/CircleButton/index.js +3 -3
  473. package/transpiled/react/CircularChart/CircularChartProgress.js +2 -2
  474. package/transpiled/react/CircularChart/CircularProgressWithBackground.js +2 -2
  475. package/transpiled/react/CircularChart/index.js +2 -2
  476. package/transpiled/react/ContactPicker/index.js +3 -3
  477. package/transpiled/react/ContactsList/ContactRow.js +4 -4
  478. package/transpiled/react/ContactsList/Contacts/ContactCozy.js +1 -1
  479. package/transpiled/react/ContactsList/Contacts/ContactEmail.js +1 -1
  480. package/transpiled/react/ContactsList/Contacts/ContactIdentity.js +2 -2
  481. package/transpiled/react/ContactsList/Contacts/ContactName.js +2 -2
  482. package/transpiled/react/ContactsList/Contacts/ContactPhone.js +1 -1
  483. package/transpiled/react/ContactsList/ContactsList.js +6 -6
  484. package/transpiled/react/ContactsList/locales/withContactsListLocales.js +1 -1
  485. package/transpiled/react/ContactsListModal/AddContact/AddContactContent.js +7 -7
  486. package/transpiled/react/ContactsListModal/AddContact/AddContactDialog.js +3 -3
  487. package/transpiled/react/ContactsListModal/ContactsListContent.js +2 -2
  488. package/transpiled/react/ContactsListModal/ContactsListModal.js +14 -14
  489. package/transpiled/react/ContactsListModal/ContactsListModalWithQuery.js +2 -2
  490. package/transpiled/react/ContactsListModal/EmptyMessage.js +1 -1
  491. package/transpiled/react/ContactsListModal/MobileHeader.js +4 -4
  492. package/transpiled/react/ContactsListModal/index.js +2 -2
  493. package/transpiled/react/ContactsListModal/withContactsListLocales.js +1 -1
  494. package/transpiled/react/Counter/index.js +1 -1
  495. package/transpiled/react/CozyDialogs/ConfirmDialog.js +4 -4
  496. package/transpiled/react/CozyDialogs/Dialog.js +4 -4
  497. package/transpiled/react/CozyDialogs/DialogBackButton.js +5 -5
  498. package/transpiled/react/CozyDialogs/DialogCloseButton.js +6 -6
  499. package/transpiled/react/CozyDialogs/DialogTransition.js +3 -3
  500. package/transpiled/react/CozyDialogs/FixedActionsDialog.js +4 -4
  501. package/transpiled/react/CozyDialogs/FixedDialog.js +4 -4
  502. package/transpiled/react/CozyDialogs/IllustrationDialog.js +4 -4
  503. package/transpiled/react/CozyDialogs/PermissionDialog.js +4 -4
  504. package/transpiled/react/CozyDialogs/SpecificDialogs/AllowLocationDialog.js +5 -5
  505. package/transpiled/react/CozyDialogs/SpecificDialogs/AuthentificationDialog.js +6 -6
  506. package/transpiled/react/CozyDialogs/SpecificDialogs/InstallFlagshipAppDialog.js +5 -5
  507. package/transpiled/react/CozyDialogs/SpecificDialogs/withSpecificDialogsLocales.js +1 -1
  508. package/transpiled/react/CozyDialogs/TopAnchoredDialog.js +1 -1
  509. package/transpiled/react/CozyDialogs/useCozyDialog.js +2 -2
  510. package/transpiled/react/DateMonthPicker/index.js +8 -8
  511. package/transpiled/react/Dialog/DialogEffects.d.ts +1 -1
  512. package/transpiled/react/Dialog/DialogEffects.js +3 -4
  513. package/transpiled/react/Dialog/index.js +2 -2
  514. package/transpiled/react/Divider/TextDivider/index.js +2 -2
  515. package/transpiled/react/Divider/index.js +2 -2
  516. package/transpiled/react/DropdownButton/index.js +3 -3
  517. package/transpiled/react/DropdownText/index.js +3 -3
  518. package/transpiled/react/Empty/index.js +3 -3
  519. package/transpiled/react/Fab/ExtendableFab.js +1 -1
  520. package/transpiled/react/Field/index.js +8 -8
  521. package/transpiled/react/Figure/Figure.js +2 -2
  522. package/transpiled/react/Figure/FigureBlock.js +3 -3
  523. package/transpiled/react/FileImageLoader/index.js +1 -1
  524. package/transpiled/react/FileInput/index.js +2 -2
  525. package/transpiled/react/FilePath/index.js +1 -1
  526. package/transpiled/react/FilePathLink/index.js +1 -1
  527. package/transpiled/react/FilePicker/FilePickerBody.js +4 -4
  528. package/transpiled/react/FilePicker/FilePickerBodyItem.js +14 -14
  529. package/transpiled/react/FilePicker/FilePickerBreadcrumb.js +5 -5
  530. package/transpiled/react/FilePicker/FilePickerFooter.js +3 -3
  531. package/transpiled/react/FilePicker/FilePickerHeader.js +8 -8
  532. package/transpiled/react/FilePicker/index.js +6 -6
  533. package/transpiled/react/Filename/index.js +2 -2
  534. package/transpiled/react/GhostFileBadge/index.js +1 -1
  535. package/transpiled/react/Hero/index.js +1 -1
  536. package/transpiled/react/HistoryRow/index.js +7 -7
  537. package/transpiled/react/I18n/index.js +1 -1
  538. package/transpiled/react/I18n/withLocales.js +1 -1
  539. package/transpiled/react/Icon/Sprite.js +1 -1
  540. package/transpiled/react/Icon/index.js +2 -2
  541. package/transpiled/react/IconButton/index.js +3 -3
  542. package/transpiled/react/IconStack/index.js +2 -2
  543. package/transpiled/react/InfosBadge/index.js +1 -1
  544. package/transpiled/react/Input/index.js +1 -1
  545. package/transpiled/react/InputGroup/index.js +1 -1
  546. package/transpiled/react/IntentDialogOpener/IntentDialogOpener.js +2 -2
  547. package/transpiled/react/IntentHeader/index.js +2 -2
  548. package/transpiled/react/IntentIframe/IntentIframe.js +4 -4
  549. package/transpiled/react/IntentWrapper/index.js +2 -2
  550. package/transpiled/react/Label/index.js +1 -1
  551. package/transpiled/react/Labs/CollectionField/index.js +8 -8
  552. package/transpiled/react/Labs/ExperimentalDialog/index.js +1 -1
  553. package/transpiled/react/Labs/PasswordInput/index.js +5 -5
  554. package/transpiled/react/Layout/Layout.js +2 -2
  555. package/transpiled/react/ListItem/ExpandedAttributes/ExpandedAttribute.js +5 -5
  556. package/transpiled/react/ListItem/ExpandedAttributes/index.js +4 -4
  557. package/transpiled/react/ListItem/ListItemBase/Renaming/RenameDialog.js +1 -1
  558. package/transpiled/react/ListItem/ListItemBase/Renaming/RenameInput.js +4 -4
  559. package/transpiled/react/ListItem/ListItemBase/index.js +10 -10
  560. package/transpiled/react/ListItem/ListItemByDoc/index.js +3 -3
  561. package/transpiled/react/ListItem/ListItemContact/index.js +2 -2
  562. package/transpiled/react/ListItem/ListItemContact/useActions.js +1 -1
  563. package/transpiled/react/ListItem/ListItemFile/ExpirationAnnotation.js +1 -1
  564. package/transpiled/react/ListItem/ListItemFile/ItemIcon.js +4 -4
  565. package/transpiled/react/ListItem/ListItemFile/PrimaryText.js +1 -1
  566. package/transpiled/react/ListItem/ListItemFile/SecondaryText.js +2 -2
  567. package/transpiled/react/ListItem/ListItemFile/index.js +4 -4
  568. package/transpiled/react/ListItem/index.js +4 -4
  569. package/transpiled/react/ListItemIcon/index.js +1 -1
  570. package/transpiled/react/ListItemText/index.js +2 -2
  571. package/transpiled/react/ListSubheader/index.js +3 -3
  572. package/transpiled/react/LoadMore/index.js +2 -2
  573. package/transpiled/react/MenuItem/index.js +1 -1
  574. package/transpiled/react/MidEllipsis/index.js +2 -2
  575. package/transpiled/react/MuiCozyTheme/index.js +2 -2
  576. package/transpiled/react/MuiCozyTheme/makeTheme.js +6 -6
  577. package/transpiled/react/MuiTabs/index.js +2 -2
  578. package/transpiled/react/Nav/index.js +4 -4
  579. package/transpiled/react/Nav/locales/withNavLocales.js +1 -1
  580. package/transpiled/react/NavigationList/index.js +6 -6
  581. package/transpiled/react/NestedSelect/BottomSheet.js +4 -4
  582. package/transpiled/react/NestedSelect/ItemRow.js +4 -4
  583. package/transpiled/react/NestedSelect/Modal.js +6 -6
  584. package/transpiled/react/NestedSelect/NestedSelect.js +6 -6
  585. package/transpiled/react/NestedSelect/NestedSelectResponsive.js +1 -1
  586. package/transpiled/react/OrderedList/index.js +2 -2
  587. package/transpiled/react/Panel/index.js +1 -1
  588. package/transpiled/react/PasswordExample/index.js +2 -2
  589. package/transpiled/react/PasswordField/index.js +8 -8
  590. package/transpiled/react/Paywall/MaxAccountsByKonnectorPaywall.js +1 -1
  591. package/transpiled/react/Paywall/MaxAccountsPaywall.js +1 -1
  592. package/transpiled/react/Paywall/MaxDaysToCapturePaywall.js +1 -1
  593. package/transpiled/react/Paywall/MaxPapersPaywall.js +1 -1
  594. package/transpiled/react/Paywall/OnlyOfficePaywall.js +1 -1
  595. package/transpiled/react/Paywall/PasswordSharingPaywall.js +1 -1
  596. package/transpiled/react/Paywall/Paywall.js +6 -6
  597. package/transpiled/react/Paywall/QuotaPaywall.js +1 -1
  598. package/transpiled/react/Paywall/locales/withPaywallLocales.js +1 -1
  599. package/transpiled/react/PieChart/index.js +7 -7
  600. package/transpiled/react/PointerAlert/index.js +4 -4
  601. package/transpiled/react/Popup/index.js +1 -1
  602. package/transpiled/react/PopupOpener/index.js +2 -2
  603. package/transpiled/react/ProgressionBanner/index.js +2 -2
  604. package/transpiled/react/QualificationGrid/index.js +11 -11
  605. package/transpiled/react/QualificationGrid/locales/withLocales.js +1 -1
  606. package/transpiled/react/QualificationItem/index.js +2 -2
  607. package/transpiled/react/Radios/index.js +1 -1
  608. package/transpiled/react/SearchBar/index.js +8 -8
  609. package/transpiled/react/SearchBar/locales/withOnlyLocales.js +1 -1
  610. package/transpiled/react/SelectBox/ControlDefault.js +1 -1
  611. package/transpiled/react/SelectBox/SelectBox.js +8 -8
  612. package/transpiled/react/SelectBox/SelectBoxWithFixedOptions.js +2 -2
  613. package/transpiled/react/SelectionBar/SelectionBarAction.js +6 -6
  614. package/transpiled/react/SelectionBar/SelectionBarMore.js +6 -6
  615. package/transpiled/react/SelectionBar/index.js +9 -9
  616. package/transpiled/react/SelectionBar/useMaxActions.js +2 -2
  617. package/transpiled/react/ShortcutTile/index.d.ts +15 -0
  618. package/transpiled/react/ShortcutTile/index.js +53 -0
  619. package/transpiled/react/Sidebar/index.js +2 -2
  620. package/transpiled/react/Skeletons/ListItemSkeleton.js +2 -2
  621. package/transpiled/react/Skeletons/ListSkeleton.js +2 -2
  622. package/transpiled/react/Snackbar/index.js +1 -1
  623. package/transpiled/react/Spinner/index.js +6 -6
  624. package/transpiled/react/SquareAppIcon/index.js +16 -16
  625. package/transpiled/react/Stack/index.js +1 -1
  626. package/transpiled/react/Stepper/testing.js +1 -1
  627. package/transpiled/react/Tabs/index.js +2 -2
  628. package/transpiled/react/TextField/MobileSelect.js +5 -5
  629. package/transpiled/react/TextField/index.js +2 -2
  630. package/transpiled/react/Textarea/index.js +1 -1
  631. package/transpiled/react/Thumbnail/index.js +2 -2
  632. package/transpiled/react/Tile/index.d.ts +68 -0
  633. package/transpiled/react/Tile/index.js +3 -3
  634. package/transpiled/react/Toggle/index.js +2 -2
  635. package/transpiled/react/Typography/index.d.ts +3 -0
  636. package/transpiled/react/Typography/index.js +1 -1
  637. package/transpiled/react/UnorderedList/index.js +1 -1
  638. package/transpiled/react/UploadQueue/index.js +37 -37
  639. package/transpiled/react/Viewer/Footer/BottomSheetContent.js +1 -1
  640. package/transpiled/react/Viewer/Footer/DownloadButton.js +3 -3
  641. package/transpiled/react/Viewer/Footer/FooterActionButtons.js +1 -1
  642. package/transpiled/react/Viewer/Footer/FooterContent.js +5 -5
  643. package/transpiled/react/Viewer/Footer/ForwardButton.js +5 -5
  644. package/transpiled/react/Viewer/Footer/ForwardOrDownloadButton.js +2 -2
  645. package/transpiled/react/Viewer/Footer/Sharing.js +2 -2
  646. package/transpiled/react/Viewer/NoViewer/DownloadButton.js +3 -3
  647. package/transpiled/react/Viewer/NoViewer/FileIcon.js +2 -2
  648. package/transpiled/react/Viewer/NoViewer/NoViewer.js +3 -3
  649. package/transpiled/react/Viewer/Panel/ActionMenuDesktop.js +3 -3
  650. package/transpiled/react/Viewer/Panel/ActionMenuMobile.js +6 -6
  651. package/transpiled/react/Viewer/Panel/ActionMenuWrapper.js +4 -4
  652. package/transpiled/react/Viewer/Panel/Certifications.js +5 -5
  653. package/transpiled/react/Viewer/Panel/PanelContent.js +5 -5
  654. package/transpiled/react/Viewer/Panel/Qualification.js +5 -5
  655. package/transpiled/react/Viewer/Panel/QualificationListItemContact.js +9 -9
  656. package/transpiled/react/Viewer/Panel/QualificationListItemDate.js +7 -7
  657. package/transpiled/react/Viewer/Panel/QualificationListItemInformation.js +7 -7
  658. package/transpiled/react/Viewer/Panel/QualificationListItemOther.js +7 -7
  659. package/transpiled/react/Viewer/Panel/QualificationListItemText.js +1 -1
  660. package/transpiled/react/Viewer/Panel/getPanelBlocks.js +1 -1
  661. package/transpiled/react/Viewer/Viewer.js +4 -4
  662. package/transpiled/react/Viewer/ViewerContainer.js +12 -12
  663. package/transpiled/react/Viewer/ViewerInformationsWrapper.js +6 -6
  664. package/transpiled/react/Viewer/ViewerWithCustomPanelAndFooter.js +4 -4
  665. package/transpiled/react/Viewer/ViewersByFile/AudioViewer.js +4 -4
  666. package/transpiled/react/Viewer/ViewersByFile/BlankPaperViewer.js +6 -6
  667. package/transpiled/react/Viewer/ViewersByFile/ImageViewer.js +3 -3
  668. package/transpiled/react/Viewer/ViewersByFile/NoNetworkViewer.js +4 -4
  669. package/transpiled/react/Viewer/ViewersByFile/OnlyOfficeViewer.js +2 -2
  670. package/transpiled/react/Viewer/ViewersByFile/PdfJsViewer.js +9 -9
  671. package/transpiled/react/Viewer/ViewersByFile/PdfMobileViewer.js +5 -5
  672. package/transpiled/react/Viewer/ViewersByFile/ShortcutViewer.js +3 -3
  673. package/transpiled/react/Viewer/ViewersByFile/TextViewer.js +7 -7
  674. package/transpiled/react/Viewer/ViewersByFile/VideoViewer.js +1 -1
  675. package/transpiled/react/Viewer/components/ExpirationAlert.js +2 -2
  676. package/transpiled/react/Viewer/components/ExpirationAnnotation.js +1 -1
  677. package/transpiled/react/Viewer/components/Footer.js +1 -1
  678. package/transpiled/react/Viewer/components/InformationPanel.js +1 -1
  679. package/transpiled/react/Viewer/components/Navigation.js +4 -4
  680. package/transpiled/react/Viewer/components/PdfToolbarButton.js +1 -1
  681. package/transpiled/react/Viewer/components/PrintButton.js +5 -5
  682. package/transpiled/react/Viewer/components/Toolbar.js +15 -15
  683. package/transpiled/react/Viewer/components/ToolbarFilePath.js +1 -1
  684. package/transpiled/react/Viewer/components/ViewerByFile.js +9 -9
  685. package/transpiled/react/Viewer/components/ViewerControls.js +8 -8
  686. package/transpiled/react/Viewer/components/ViewerSpinner.js +1 -1
  687. package/transpiled/react/Viewer/hoc/withFileUrl.js +2 -2
  688. package/transpiled/react/Wizard/index.js +8 -7
  689. package/transpiled/react/deprecated/ActionMenu/ActionMenuEffects.js +3 -3
  690. package/transpiled/react/deprecated/ActionMenu/ActionMenuHeader.js +2 -2
  691. package/transpiled/react/deprecated/ActionMenu/ActionMenuItem.js +4 -4
  692. package/transpiled/react/deprecated/ActionMenu/ActionMenuItemWrapper.js +4 -4
  693. package/transpiled/react/deprecated/ActionMenu/ActionMenuRadio.js +1 -1
  694. package/transpiled/react/deprecated/ActionMenu/ActionMenuWrapper.js +3 -3
  695. package/transpiled/react/deprecated/ActionMenu/Actions/ActionsItems.js +2 -2
  696. package/transpiled/react/deprecated/ActionMenu/Actions/call.js +2 -2
  697. package/transpiled/react/deprecated/ActionMenu/Actions/emailTo.js +2 -2
  698. package/transpiled/react/deprecated/ActionMenu/Actions/locales/withActionsLocales.js +1 -1
  699. package/transpiled/react/deprecated/ActionMenu/Actions/modify.js +2 -2
  700. package/transpiled/react/deprecated/ActionMenu/Actions/smsTo.js +2 -2
  701. package/transpiled/react/deprecated/ActionMenu/Actions/viewInContacts.js +2 -2
  702. package/transpiled/react/deprecated/ActionMenu/NotInlineWrapper.js +1 -1
  703. package/transpiled/react/deprecated/ActionMenu/index.js +7 -7
  704. package/transpiled/react/deprecated/Alerter/Alert.js +3 -3
  705. package/transpiled/react/deprecated/Alerter/index.js +2 -2
  706. package/transpiled/react/deprecated/BottomDrawer/index.js +2 -2
  707. package/transpiled/react/deprecated/Button/index.js +1 -1
  708. package/transpiled/react/deprecated/ButtonAction/index.js +1 -1
  709. package/transpiled/react/deprecated/CompositeRow/index.js +3 -3
  710. package/transpiled/react/deprecated/GridItem/index.js +3 -3
  711. package/transpiled/react/deprecated/Infos/index.js +8 -8
  712. package/transpiled/react/deprecated/InfosCarrousel/index.js +4 -4
  713. package/transpiled/react/deprecated/InlineCard/index.js +1 -1
  714. package/transpiled/react/deprecated/IntentModal/IntentModal.js +3 -3
  715. package/transpiled/react/deprecated/IntentOpener/IntentOpener.js +2 -2
  716. package/transpiled/react/deprecated/Media/Media.js +2 -2
  717. package/transpiled/react/deprecated/Menus/index.js +4 -4
  718. package/transpiled/react/deprecated/Modal/ModalBackButton.js +2 -2
  719. package/transpiled/react/deprecated/Modal/ModalButtons.js +1 -1
  720. package/transpiled/react/deprecated/Modal/ModalContent.js +2 -2
  721. package/transpiled/react/deprecated/Modal/ModalCross.js +5 -5
  722. package/transpiled/react/deprecated/Modal/ModalEffects.js +3 -3
  723. package/transpiled/react/deprecated/Modal/ModalFooter.js +1 -1
  724. package/transpiled/react/deprecated/Modal/ModalHeader.js +1 -1
  725. package/transpiled/react/deprecated/Modal/ModalSection.js +1 -1
  726. package/transpiled/react/deprecated/Modal/index.js +14 -14
  727. package/transpiled/react/deprecated/NarrowContent/index.js +1 -1
  728. package/transpiled/react/deprecated/Overlay/index.js +4 -4
  729. package/transpiled/react/deprecated/PercentageBar/index.js +2 -2
  730. package/transpiled/react/deprecated/PercentageLine/index.js +2 -2
  731. package/transpiled/react/deprecated/PushClientButton/index.js +4 -4
  732. package/transpiled/react/deprecated/QuotaAlert/index.js +1 -1
  733. package/transpiled/react/deprecated/Radio/index.js +2 -2
  734. package/transpiled/react/deprecated/RaisedList/index.js +1 -1
  735. package/transpiled/react/deprecated/Table/index.js +1 -1
  736. package/transpiled/react/deprecated/ViewStack/ModalStack.js +1 -1
  737. package/transpiled/react/deprecated/ViewStack/ViewStack.js +2 -2
  738. package/transpiled/react/helpers/withBreakpoints.js +1 -1
  739. package/transpiled/react/hooks/useConfirmExit/index.js +5 -5
  740. package/transpiled/react/hooks/useScroll.js +1 -1
  741. package/transpiled/react/hooks/useSetFlagshipUi/helpers.d.ts +0 -1
  742. package/transpiled/react/hooks/useSetFlagshipUi/helpers.js +0 -1
  743. package/transpiled/react/hooks/useSetFlagshipUi/useSetFlagshipUI.js +3 -3
  744. package/transpiled/react/legacy/Breadcrumbs/index.js +5 -5
  745. package/transpiled/react/providers/Alert/index.js +1 -1
  746. package/transpiled/react/providers/Breakpoints/index.js +1 -1
  747. package/transpiled/react/providers/CozyTheme/CozyThemeWithQuery.js +1 -1
  748. package/transpiled/react/providers/CozyTheme/DumbCozyTheme.js +4 -4
  749. package/transpiled/react/providers/CozyTheme/index.js +2 -2
  750. package/transpiled/react/providers/I18n/createUseI18n.js +2 -2
  751. package/transpiled/react/providers/I18n/format.js +1 -1
  752. package/transpiled/react/providers/I18n/helpers.js +2 -2
  753. package/transpiled/react/providers/I18n/index.js +2 -2
  754. package/transpiled/react/providers/I18n/withLocales.js +1 -1
  755. package/transpiled/react/providers/Intent/index.js +1 -1
  756. package/transpiled/react/stylesheet.css +1 -1
  757. package/transpiled/react/types.d.js +0 -0
@@ -1,5 +1,5 @@
1
- import React from 'react';
2
1
  import PropTypes from 'prop-types';
2
+ import React from 'react';
3
3
 
4
4
  var Counter = function Counter(_ref) {
5
5
  var count = _ref.count,
@@ -5,13 +5,13 @@ 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 React from 'react';
9
8
  import cx from 'classnames/dedupe';
10
- import useCozyDialog from "cozy-ui/transpiled/react/CozyDialogs/useCozyDialog";
11
- import Dialog, { DialogTitle, DialogActions, DialogContent } from "cozy-ui/transpiled/react/Dialog";
12
- import dialogPropTypes from "cozy-ui/transpiled/react/CozyDialogs/dialogPropTypes";
9
+ import React from 'react';
13
10
  import DialogBackButton from "cozy-ui/transpiled/react/CozyDialogs/DialogBackButton";
14
11
  import DialogCloseButton from "cozy-ui/transpiled/react/CozyDialogs/DialogCloseButton";
12
+ import dialogPropTypes from "cozy-ui/transpiled/react/CozyDialogs/dialogPropTypes";
13
+ import useCozyDialog from "cozy-ui/transpiled/react/CozyDialogs/useCozyDialog";
14
+ import Dialog, { DialogTitle, DialogActions, DialogContent } from "cozy-ui/transpiled/react/Dialog";
15
15
 
16
16
  var ConfirmDialog = function ConfirmDialog(props) {
17
17
  var onClose = props.onClose,
@@ -1,12 +1,12 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
- import React from 'react';
3
2
  import cx from 'classnames';
3
+ import React from 'react';
4
+ import DialogBackButton from "cozy-ui/transpiled/react/CozyDialogs/DialogBackButton";
5
+ import DialogCloseButton from "cozy-ui/transpiled/react/CozyDialogs/DialogCloseButton";
6
+ import dialogPropTypes from "cozy-ui/transpiled/react/CozyDialogs/dialogPropTypes";
4
7
  import useCozyDialog from "cozy-ui/transpiled/react/CozyDialogs/useCozyDialog";
5
8
  import MUIDialog, { DialogTitle, DialogActions, DialogContent } from "cozy-ui/transpiled/react/Dialog";
6
9
  import Divider from "cozy-ui/transpiled/react/Divider";
7
- import dialogPropTypes from "cozy-ui/transpiled/react/CozyDialogs/dialogPropTypes";
8
- import DialogBackButton from "cozy-ui/transpiled/react/CozyDialogs/DialogBackButton";
9
- import DialogCloseButton from "cozy-ui/transpiled/react/CozyDialogs/DialogCloseButton";
10
10
 
11
11
  var Dialog = function Dialog(props) {
12
12
  var onClose = props.onClose,
@@ -1,16 +1,16 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
3
  var _excluded = ["onClick"];
4
- import React from 'react';
5
4
  import PropTypes from 'prop-types';
6
- import IconButton from "cozy-ui/transpiled/react/IconButton";
7
- import Icon from "cozy-ui/transpiled/react/Icon";
8
- import PreviousIcon from "cozy-ui/transpiled/react/Icons/Previous";
5
+ import React from 'react';
6
+ import locales from "cozy-ui/transpiled/react/CozyDialogs/locales";
9
7
  var styles = {
10
8
  "DialogCloseButton": "styles__DialogCloseButton___cxKPO",
11
9
  "DialogBackButton": "styles__DialogBackButton___1c7yH"
12
10
  };
13
- import locales from "cozy-ui/transpiled/react/CozyDialogs/locales";
11
+ import Icon from "cozy-ui/transpiled/react/Icon";
12
+ import IconButton from "cozy-ui/transpiled/react/IconButton";
13
+ import PreviousIcon from "cozy-ui/transpiled/react/Icons/Previous";
14
14
  import { createUseI18n } from "cozy-ui/transpiled/react/providers/I18n";
15
15
  var useI18n = createUseI18n(locales);
16
16
 
@@ -1,17 +1,17 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
3
  var _excluded = ["onClick"];
4
- import React from 'react';
5
4
  import PropTypes from 'prop-types';
6
- import IconButton from "cozy-ui/transpiled/react/IconButton";
7
- import Icon from "cozy-ui/transpiled/react/Icon";
8
- import CrossMediumIcon from "cozy-ui/transpiled/react/Icons/CrossMedium";
9
- import { createUseI18n } from "cozy-ui/transpiled/react/providers/I18n";
5
+ import React from 'react';
6
+ import locales from "cozy-ui/transpiled/react/CozyDialogs/locales";
10
7
  var styles = {
11
8
  "DialogCloseButton": "styles__DialogCloseButton___cxKPO",
12
9
  "DialogBackButton": "styles__DialogBackButton___1c7yH"
13
10
  };
14
- import locales from "cozy-ui/transpiled/react/CozyDialogs/locales";
11
+ import Icon from "cozy-ui/transpiled/react/Icon";
12
+ import IconButton from "cozy-ui/transpiled/react/IconButton";
13
+ import CrossMediumIcon from "cozy-ui/transpiled/react/Icons/CrossMedium";
14
+ import { createUseI18n } from "cozy-ui/transpiled/react/providers/I18n";
15
15
  var useI18n = createUseI18n(locales);
16
16
 
17
17
  var CloseButton = function CloseButton(_ref) {
@@ -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 = ["fullScreen", "isFullscreen"];
4
- import React, { forwardRef } from 'react';
5
- import PropTypes from 'prop-types';
6
- import MuiSlide from '@material-ui/core/Slide';
7
4
  import MuiGrow from '@material-ui/core/Grow';
5
+ import MuiSlide from '@material-ui/core/Slide';
6
+ import PropTypes from 'prop-types';
7
+ import React, { forwardRef } from 'react';
8
8
  var DialogTransition = /*#__PURE__*/forwardRef(function (_ref, ref) {
9
9
  var fullScreen = _ref.fullScreen,
10
10
  isFullscreen = _ref.isFullscreen,
@@ -5,14 +5,14 @@ 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 React from 'react';
9
8
  import cx from 'classnames/dedupe';
9
+ import React from 'react';
10
+ import DialogBackButton from "cozy-ui/transpiled/react/CozyDialogs/DialogBackButton";
11
+ import DialogCloseButton from "cozy-ui/transpiled/react/CozyDialogs/DialogCloseButton";
12
+ import dialogPropTypes from "cozy-ui/transpiled/react/CozyDialogs/dialogPropTypes";
10
13
  import useCozyDialog from "cozy-ui/transpiled/react/CozyDialogs/useCozyDialog";
11
14
  import Dialog, { DialogTitle, DialogActions, DialogContent } from "cozy-ui/transpiled/react/Dialog";
12
15
  import Divider from "cozy-ui/transpiled/react/Divider";
13
- import dialogPropTypes from "cozy-ui/transpiled/react/CozyDialogs/dialogPropTypes";
14
- import DialogBackButton from "cozy-ui/transpiled/react/CozyDialogs/DialogBackButton";
15
- import DialogCloseButton from "cozy-ui/transpiled/react/CozyDialogs/DialogCloseButton";
16
16
 
17
17
  var FixedActionsDialog = function FixedActionsDialog(props) {
18
18
  var onClose = props.onClose,
@@ -1,12 +1,12 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
- import React from 'react';
3
2
  import cx from 'classnames';
3
+ import React from 'react';
4
+ import DialogBackButton from "cozy-ui/transpiled/react/CozyDialogs/DialogBackButton";
5
+ import DialogCloseButton from "cozy-ui/transpiled/react/CozyDialogs/DialogCloseButton";
6
+ import dialogPropTypes from "cozy-ui/transpiled/react/CozyDialogs/dialogPropTypes";
4
7
  import useCozyDialog from "cozy-ui/transpiled/react/CozyDialogs/useCozyDialog";
5
8
  import Dialog, { DialogTitle, DialogActions, DialogContent } from "cozy-ui/transpiled/react/Dialog";
6
9
  import Divider from "cozy-ui/transpiled/react/Divider";
7
- import dialogPropTypes from "cozy-ui/transpiled/react/CozyDialogs/dialogPropTypes";
8
- import DialogBackButton from "cozy-ui/transpiled/react/CozyDialogs/DialogBackButton";
9
- import DialogCloseButton from "cozy-ui/transpiled/react/CozyDialogs/DialogCloseButton";
10
10
 
11
11
  var FixedDialog = function FixedDialog(props) {
12
12
  var onClose = props.onClose,
@@ -5,13 +5,13 @@ 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 React from 'react';
9
8
  import cx from 'classnames/dedupe';
10
- import useCozyDialog from "cozy-ui/transpiled/react/CozyDialogs/useCozyDialog";
11
- import Dialog, { DialogTitle, DialogActions, DialogContent } from "cozy-ui/transpiled/react/Dialog";
12
- import dialogPropTypes from "cozy-ui/transpiled/react/CozyDialogs/dialogPropTypes";
9
+ import React from 'react';
13
10
  import DialogBackButton from "cozy-ui/transpiled/react/CozyDialogs/DialogBackButton";
14
11
  import DialogCloseButton from "cozy-ui/transpiled/react/CozyDialogs/DialogCloseButton";
12
+ import dialogPropTypes from "cozy-ui/transpiled/react/CozyDialogs/dialogPropTypes";
13
+ import useCozyDialog from "cozy-ui/transpiled/react/CozyDialogs/useCozyDialog";
14
+ import Dialog, { DialogTitle, DialogActions, DialogContent } from "cozy-ui/transpiled/react/Dialog";
15
15
 
16
16
  var IllustrationDialog = function IllustrationDialog(props) {
17
17
  var onClose = props.onClose,
@@ -1,11 +1,11 @@
1
- import React from 'react';
2
1
  import cx from 'classnames';
3
- import { makeStyles } from "cozy-ui/transpiled/react/styles";
4
- import CozyTheme from "cozy-ui/transpiled/react/providers/CozyTheme";
5
- import ConfirmDialog from "cozy-ui/transpiled/react/CozyDialogs/ConfirmDialog";
6
2
  import PropTypes from 'prop-types';
3
+ import React from 'react';
4
+ import ConfirmDialog from "cozy-ui/transpiled/react/CozyDialogs/ConfirmDialog";
7
5
  import Icon from "cozy-ui/transpiled/react/Icon";
8
6
  import Paper from "cozy-ui/transpiled/react/Paper";
7
+ import CozyTheme from "cozy-ui/transpiled/react/providers/CozyTheme";
8
+ import { makeStyles } from "cozy-ui/transpiled/react/styles";
9
9
  var useStyles = makeStyles({
10
10
  floatingIcon: {
11
11
  top: '-2.25rem',
@@ -1,12 +1,12 @@
1
- import React, { forwardRef } from 'react';
2
1
  import PropTypes from 'prop-types';
2
+ import React, { forwardRef } from 'react';
3
+ import CozyLocation from "cozy-ui/transpiled/react/CozyDialogs/SpecificDialogs/icons/CozyLocation";
4
+ import withSpecificDialogsLocales from "cozy-ui/transpiled/react/CozyDialogs/SpecificDialogs/withSpecificDialogsLocales";
3
5
  import { IllustrationDialog } from "cozy-ui/transpiled/react/CozyDialogs";
4
- import { useI18n } from "cozy-ui/transpiled/react/providers/I18n";
6
+ import Button from "cozy-ui/transpiled/react/Buttons";
5
7
  import Icon from "cozy-ui/transpiled/react/Icon";
6
8
  import Typography from "cozy-ui/transpiled/react/Typography";
7
- import Button from "cozy-ui/transpiled/react/Buttons";
8
- import CozyLocation from "cozy-ui/transpiled/react/CozyDialogs/SpecificDialogs/icons/CozyLocation";
9
- import withSpecificDialogsLocales from "cozy-ui/transpiled/react/CozyDialogs/SpecificDialogs/withSpecificDialogsLocales";
9
+ import { useI18n } from "cozy-ui/transpiled/react/providers/I18n";
10
10
 
11
11
  var createStyles = function createStyles() {
12
12
  return {
@@ -1,14 +1,14 @@
1
1
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
2
- import React, { useMemo, useState } from 'react';
3
2
  import PropTypes from 'prop-types';
4
- import PermissionDialog from "cozy-ui/transpiled/react/CozyDialogs/PermissionDialog";
5
- import Buttons from "cozy-ui/transpiled/react/Buttons";
6
- import { useI18n } from "cozy-ui/transpiled/react/providers/I18n";
7
- import Typography from "cozy-ui/transpiled/react/Typography";
3
+ import React, { useMemo, useState } from 'react';
8
4
  import { useClient } from 'cozy-client';
5
+ import withSpecificDialogsLocales from "cozy-ui/transpiled/react/CozyDialogs/SpecificDialogs/withSpecificDialogsLocales";
6
+ import Buttons from "cozy-ui/transpiled/react/Buttons";
9
7
  import CozyAuthentificationIcon from "cozy-ui/transpiled/react/Icons/CozyAuthentification";
10
8
  import PasswordField from "cozy-ui/transpiled/react/PasswordField";
11
- import withSpecificDialogsLocales from "cozy-ui/transpiled/react/CozyDialogs/SpecificDialogs/withSpecificDialogsLocales";
9
+ import Typography from "cozy-ui/transpiled/react/Typography";
10
+ import { useI18n } from "cozy-ui/transpiled/react/providers/I18n";
11
+ import PermissionDialog from "cozy-ui/transpiled/react/CozyDialogs/PermissionDialog";
12
12
  /**
13
13
  * Dialog used to authenticate a user in the cozy system.
14
14
  * The authentication logic is implemented in the applications.
@@ -1,13 +1,13 @@
1
- import React, { forwardRef } from 'react';
2
1
  import PropTypes from 'prop-types';
3
- import { IllustrationDialog } from "cozy-ui/transpiled/react/CozyDialogs";
4
- import { useI18n } from "cozy-ui/transpiled/react/providers/I18n";
5
- import Link from "cozy-ui/transpiled/react/Link";
6
- import Typography from "cozy-ui/transpiled/react/Typography";
2
+ import React, { forwardRef } from 'react';
7
3
  import DefaultQRCode from "cozy-ui/transpiled/react/CozyDialogs/SpecificDialogs/icons/QRCodeInstallFlagshipAppDialog.png";
8
4
  import appStoreIcon from "cozy-ui/transpiled/react/CozyDialogs/SpecificDialogs/icons/appstore.png";
9
5
  import playStoreIcon from "cozy-ui/transpiled/react/CozyDialogs/SpecificDialogs/icons/playstore.png";
10
6
  import withSpecificDialogsLocales from "cozy-ui/transpiled/react/CozyDialogs/SpecificDialogs/withSpecificDialogsLocales";
7
+ import { IllustrationDialog } from "cozy-ui/transpiled/react/CozyDialogs";
8
+ import Link from "cozy-ui/transpiled/react/Link";
9
+ import Typography from "cozy-ui/transpiled/react/Typography";
10
+ import { useI18n } from "cozy-ui/transpiled/react/providers/I18n";
11
11
  var InstallFlagshipAppDialog = /*#__PURE__*/forwardRef(function (_ref, ref) {
12
12
  var onClose = _ref.onClose,
13
13
  playStoreUrl = _ref.playStoreUrl,
@@ -1,4 +1,3 @@
1
- import withOnlyLocales from "cozy-ui/transpiled/react/providers/I18n/withOnlyLocales";
2
1
  var en = {
3
2
  cancel: "Cancel",
4
3
  allow: "Allow",
@@ -53,6 +52,7 @@ var fr = {
53
52
  }
54
53
  }
55
54
  };
55
+ import withOnlyLocales from "cozy-ui/transpiled/react/providers/I18n/withOnlyLocales";
56
56
  export var locales = {
57
57
  en: en,
58
58
  fr: fr
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import { withStyles } from "cozy-ui/transpiled/react/styles";
3
2
  import Dialog from "cozy-ui/transpiled/react/Dialog";
3
+ import { withStyles } from "cozy-ui/transpiled/react/styles";
4
4
  /**
5
5
  * A Dialog that will not be centered vertically. Useful when
6
6
  * the height of the dialog can vary, for example if there are
@@ -7,11 +7,11 @@ 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 { useState } from 'react';
11
10
  import cx from 'classnames';
11
+ import { useState } from 'react';
12
+ import DialogTransition from "cozy-ui/transpiled/react/CozyDialogs/DialogTransition";
12
13
  import useBreakpoints from "cozy-ui/transpiled/react/providers/Breakpoints";
13
14
  import { makeStyles } from "cozy-ui/transpiled/react/styles";
14
- import DialogTransition from "cozy-ui/transpiled/react/CozyDialogs/DialogTransition";
15
15
  var globalId = 0;
16
16
  var modalSizes = ['small', 'medium', 'large'];
17
17
  var useStyles = makeStyles({
@@ -1,13 +1,9 @@
1
1
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
2
- import React, { useState } from 'react';
3
- import PropTypes from 'prop-types';
4
- import range from 'lodash/range';
5
- import format from 'date-fns/format';
6
2
  import cx from 'classnames';
7
- import { useI18n } from "cozy-ui/transpiled/react/providers/I18n";
8
- import Icon from "cozy-ui/transpiled/react/Icon";
9
- import LeftIcon from "cozy-ui/transpiled/react/Icons/Left";
10
- import RightIcon from "cozy-ui/transpiled/react/Icons/Right";
3
+ import format from 'date-fns/format';
4
+ import range from 'lodash/range';
5
+ import PropTypes from 'prop-types';
6
+ import React, { useState } from 'react';
11
7
  var styles = {
12
8
  "DateMonthPicker__YearControls": "styles__DateMonthPicker__YearControls___1DGlB",
13
9
  "DateMonthPicker__YearButton": "styles__DateMonthPicker__YearButton___3zNDK",
@@ -16,6 +12,10 @@ var styles = {
16
12
  "DateMonthPicker__Year": "styles__DateMonthPicker__Year___387bP",
17
13
  "DateMonthPicker__MonthGrid": "styles__DateMonthPicker__MonthGrid___TCFg4"
18
14
  };
15
+ import Icon from "cozy-ui/transpiled/react/Icon";
16
+ import LeftIcon from "cozy-ui/transpiled/react/Icons/Left";
17
+ import RightIcon from "cozy-ui/transpiled/react/Icons/Right";
18
+ import { useI18n } from "cozy-ui/transpiled/react/providers/I18n";
19
19
 
20
20
  var MonthButton = function MonthButton(_ref) {
21
21
  var monthNum = _ref.monthNum,
@@ -21,7 +21,7 @@ export declare enum DOMStrings {
21
21
  RootModalColor = "color",
22
22
  SidebarID = "sidebar"
23
23
  }
24
- export declare const makeOnMount: ({ cozybar, fullscreen, sidebar, rootModal, theme, isLight }: DialogEffectsOptions) => FlagshipUI;
24
+ export declare const makeOnMount: ({ cozybar, fullscreen, sidebar, rootModal, theme }: DialogEffectsOptions) => FlagshipUI;
25
25
  export declare const makeOnUnmount: ({ rootModal, theme, immersive, sidebar, cozybar, isLight }: DialogEffectsOptions) => FlagshipUI;
26
26
  /**
27
27
  * Custom version of useSetFlagshipUi() that is aware of the Dialog component.
@@ -2,9 +2,9 @@ import { getLuminance, useTheme } from '@material-ui/core';
2
2
  import { useEffect } from 'react';
3
3
  import { isFlagshipApp } from 'cozy-device-helper';
4
4
  import { useWebviewIntent } from 'cozy-intent';
5
- import { ThemeColor, parseArg } from "cozy-ui/transpiled/react/hooks/useSetFlagshipUi/useSetFlagshipUI";
6
5
  import { getFlagshipMetadata } from "cozy-ui/transpiled/react/hooks/useSetFlagshipUi/helpers";
7
6
  import { isRsg } from "cozy-ui/transpiled/react/hooks/useSetFlagshipUi/helpers";
7
+ import { ThemeColor, parseArg } from "cozy-ui/transpiled/react/hooks/useSetFlagshipUi/useSetFlagshipUI";
8
8
  import { useCozyTheme } from "cozy-ui/transpiled/react/providers/CozyTheme";
9
9
  export var DOMStrings;
10
10
 
@@ -27,8 +27,7 @@ export var makeOnMount = function makeOnMount(_ref) {
27
27
  fullscreen = _ref.fullscreen,
28
28
  sidebar = _ref.sidebar,
29
29
  rootModal = _ref.rootModal,
30
- theme = _ref.theme,
31
- isLight = _ref.isLight;
30
+ theme = _ref.theme;
32
31
  var hasBottomBackground = !rootModal;
33
32
  var hasTopBackground = cozybar && !rootModal;
34
33
  return fullscreen ? {
@@ -131,7 +130,7 @@ export var useDialogSetFlagshipUI = function useDialogSetFlagshipUI(open, onMoun
131
130
  *
132
131
  * Note that this will also handle abrupt unmounting, as in hiding the dialog without using the open prop.
133
132
  */
134
- if (open === false || open === undefined) return;
133
+ if (!open || open === undefined) return;
135
134
  parseArg(webviewIntent, onUnmount, "".concat(caller || 'unknown', " (onOpenUnmount)"));
136
135
  };
137
136
  /**
@@ -1,8 +1,8 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
- import React from 'react';
3
2
  import { default as MUIDialog } from '@material-ui/core/Dialog';
4
- import { useCozyTheme } from "cozy-ui/transpiled/react/providers/CozyTheme";
3
+ import React from 'react';
5
4
  import { useDialogEffects } from "cozy-ui/transpiled/react/Dialog/DialogEffects";
5
+ import { useCozyTheme } from "cozy-ui/transpiled/react/providers/CozyTheme";
6
6
 
7
7
  var Dialog = function Dialog(props) {
8
8
  var _useCozyTheme = useCozyTheme(),
@@ -1,14 +1,14 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
3
  var _excluded = ["color", "variant", "textAlign", "children", "className"];
4
- import React from 'react';
5
4
  import cx from 'classnames';
6
5
  import PropTypes from 'prop-types';
7
- import Typography from "cozy-ui/transpiled/react/Typography";
6
+ import React from 'react';
8
7
  var styles = {
9
8
  "divider": "styles__divider___SuA5q",
10
9
  "center": "styles__center___3K8dw"
11
10
  };
11
+ import Typography from "cozy-ui/transpiled/react/Typography";
12
12
  /**
13
13
  * @description This component is composing `<Typography />` and has access to the same props
14
14
  */
@@ -5,10 +5,10 @@ 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 React, { forwardRef } from 'react';
9
8
  import MuiDivider from '@material-ui/core/Divider';
10
- import { withStyles } from "cozy-ui/transpiled/react/styles";
9
+ import React, { forwardRef } from 'react';
11
10
  import TextDivider from "cozy-ui/transpiled/react/Divider/TextDivider";
11
+ import { withStyles } from "cozy-ui/transpiled/react/styles";
12
12
  /**
13
13
  * @desc If this component is provided a string children, it will render a `<TextDivider>` component
14
14
  * and will handle the `textAlign` prop that accepts a `"center"` or undefined value
@@ -1,11 +1,11 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
3
  var _excluded = ["spaceBetween", "textVariant", "disabled", "fullWidth", "noWrap", "children", "className", "dropdownTextProps"];
4
- import React, { forwardRef } from 'react';
5
- import PropTypes from 'prop-types';
6
4
  import Button from '@material-ui/core/Button';
7
- import { makeStyles } from "cozy-ui/transpiled/react/styles";
5
+ import PropTypes from 'prop-types';
6
+ import React, { forwardRef } from 'react';
8
7
  import DropdownText from "cozy-ui/transpiled/react/DropdownText";
8
+ import { makeStyles } from "cozy-ui/transpiled/react/styles";
9
9
  var useStyles = makeStyles({
10
10
  root: {
11
11
  height: 'auto',
@@ -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 = ["spaceBetween", "variant", "disabled", "noWrap", "color", "children", "innerTextProps", "innerIconContainerProps", "innerIconProps"];
4
- import React, { forwardRef } from 'react';
5
4
  import PropTypes from 'prop-types';
6
- import { makeStyles } from "cozy-ui/transpiled/react/styles";
7
- import Typography from "cozy-ui/transpiled/react/Typography";
5
+ import React, { forwardRef } from 'react';
8
6
  import Icon from "cozy-ui/transpiled/react/Icon";
9
7
  import BottomIcon from "cozy-ui/transpiled/react/Icons/Bottom";
8
+ import Typography from "cozy-ui/transpiled/react/Typography";
9
+ import { makeStyles } from "cozy-ui/transpiled/react/styles";
10
10
  var useStyles = makeStyles(function (theme) {
11
11
  return {
12
12
  container: {
@@ -7,11 +7,9 @@ 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 cx from 'classnames';
12
11
  import PropTypes from 'prop-types';
13
- import Icon, { iconPropType } from "cozy-ui/transpiled/react/Icon";
14
- import Typography from "cozy-ui/transpiled/react/Typography";
12
+ import React from 'react';
15
13
  var styles = {
16
14
  "c-empty": "styles__c-empty___3w5oV",
17
15
  "c-empty--centered": "styles__c-empty--centered___2ijsY",
@@ -21,6 +19,8 @@ var styles = {
21
19
  "c-empty-title": "styles__c-empty-title___2HduE",
22
20
  "c-empty-text": "styles__c-empty-text___3HnvR"
23
21
  };
22
+ import Icon, { iconPropType } from "cozy-ui/transpiled/react/Icon";
23
+ import Typography from "cozy-ui/transpiled/react/Typography";
24
24
  export var Empty = function Empty(_ref) {
25
25
  var _icon$props, _icon$props2;
26
26
 
@@ -2,9 +2,9 @@ import _extends from "@babel/runtime/helpers/extends";
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
3
  var _excluded = ["label", "icon", "follow", "topLimit", "scrollOptions"];
4
4
  import React from 'react';
5
+ import Fab from "cozy-ui/transpiled/react/Fab";
5
6
  import Icon from "cozy-ui/transpiled/react/Icon";
6
7
  import useScroll from "cozy-ui/transpiled/react/hooks/useScroll";
7
- import Fab from "cozy-ui/transpiled/react/Fab";
8
8
 
9
9
  var ExtendableFab = function ExtendableFab(_ref) {
10
10
  var label = _ref.label,
@@ -10,15 +10,10 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (O
10
10
 
11
11
  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; }
12
12
 
13
- import React, { useState } from 'react';
14
13
  import cx from 'classnames';
15
14
  import omit from 'lodash/omit';
16
15
  import PropTypes from 'prop-types';
17
- var labelStyles = {
18
- "c-label": "styles__c-label___o4ozG",
19
- "is-error": "styles__is-error___2Dwem",
20
- "c-label--block": "styles__c-label--block___2ZV_7"
21
- };
16
+ import React, { useState } from 'react';
22
17
  var styles = {
23
18
  "o-field": "styles__o-field___3n5HM",
24
19
  "o-field--inline": "styles__o-field--inline___7JWZ8",
@@ -27,11 +22,16 @@ var styles = {
27
22
  "o-field-input-action": "styles__o-field-input-action___2k7a8",
28
23
  "o-side-fullwidth": "styles__o-side-fullwidth___7WcCI"
29
24
  };
30
- import Label from "cozy-ui/transpiled/react/Label";
25
+ import ContactPicker from "cozy-ui/transpiled/react/ContactPicker";
31
26
  import Input from "cozy-ui/transpiled/react/Input";
27
+ import Label from "cozy-ui/transpiled/react/Label";
28
+ var labelStyles = {
29
+ "c-label": "styles__c-label___o4ozG",
30
+ "is-error": "styles__is-error___2Dwem",
31
+ "c-label--block": "styles__c-label--block___2ZV_7"
32
+ };
32
33
  import SelectBox from "cozy-ui/transpiled/react/SelectBox";
33
34
  import Textarea from "cozy-ui/transpiled/react/Textarea";
34
- import ContactPicker from "cozy-ui/transpiled/react/ContactPicker";
35
35
  /**
36
36
  * PropTypes to pass to Input but not to other components, like SelectBox
37
37
  * for example
@@ -1,7 +1,7 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
- import React from 'react';
3
- import Types from 'prop-types';
4
2
  import cx from 'classnames';
3
+ import Types from 'prop-types';
4
+ import React from 'react';
5
5
  var styles = {
6
6
  "Figure-currency": "Figure__Figure-currency___195-B",
7
7
  "Figure-content--positive": "Figure__Figure-content--positive___1qyd8",
@@ -1,12 +1,12 @@
1
- import React from 'react';
2
- import Types from 'prop-types';
3
1
  import classNames from 'classnames';
2
+ import Types from 'prop-types';
3
+ import React from 'react';
4
4
  import Figure from "cozy-ui/transpiled/react/Figure/Figure";
5
- import Typography from "cozy-ui/transpiled/react/Typography";
6
5
  var styles = {
7
6
  "FigureBlock": "FigureBlock__FigureBlock___YyBoL",
8
7
  "FigureBlock-figure": "FigureBlock__FigureBlock-figure___97C8E"
9
8
  };
9
+ import Typography from "cozy-ui/transpiled/react/Typography";
10
10
  /**
11
11
  * Shows a `Figure` with a label, useful for important numbers.
12
12
  *
@@ -12,8 +12,8 @@ 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 { Component } from 'react';
16
15
  import PropTypes from 'prop-types';
16
+ import { Component } from 'react';
17
17
  import { withClient } from 'cozy-client';
18
18
  import logger from 'cozy-logger';
19
19
  var PENDING = 'PENDING';
@@ -2,9 +2,9 @@ import _extends from "@babel/runtime/helpers/extends";
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
3
  var _excluded = ["children", "className", "disabled", "hidden", "multiple", "onChange"];
4
4
  import cx from 'classnames';
5
- import React from 'react';
6
- import PropTypes from 'prop-types';
7
5
  import uniqueId from 'lodash/uniqueId';
6
+ import PropTypes from 'prop-types';
7
+ import React from 'react';
8
8
  var styles = {
9
9
  "c-file-input": "styles__c-file-input___YNZSh"
10
10
  };
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
- import MidEllipsis from "cozy-ui/transpiled/react/MidEllipsis";
3
2
  var styles = {
4
3
  "c-file-path": "styles__c-file-path___XvgNN"
5
4
  };
5
+ import MidEllipsis from "cozy-ui/transpiled/react/MidEllipsis";
6
6
 
7
7
  var FilePath = function FilePath(_ref) {
8
8
  var children = _ref.children,
@@ -2,8 +2,8 @@ import _extends from "@babel/runtime/helpers/extends";
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
3
  var _excluded = ["children"];
4
4
  import React from 'react';
5
- import Link from "cozy-ui/transpiled/react/Link";
6
5
  import FilePath from "cozy-ui/transpiled/react/FilePath";
6
+ import Link from "cozy-ui/transpiled/react/Link";
7
7
 
8
8
  var FilePathLink = function FilePathLink(_ref) {
9
9
  var children = _ref.children,
@@ -1,11 +1,11 @@
1
1
  import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
2
- import React, { useCallback } from 'react';
3
2
  import PropTypes from 'prop-types';
3
+ import React, { useCallback } from 'react';
4
4
  import { models, useQuery } from 'cozy-client';
5
+ import FilePickerBodyItem from "cozy-ui/transpiled/react/FilePicker/FilePickerBodyItem";
6
+ import { buildContentFolderQuery } from "cozy-ui/transpiled/react/FilePicker/queries";
5
7
  import List from "cozy-ui/transpiled/react/List";
6
8
  import LoadMore from "cozy-ui/transpiled/react/LoadMore";
7
- import { buildContentFolderQuery } from "cozy-ui/transpiled/react/FilePicker/queries";
8
- import FilePickerBodyItem from "cozy-ui/transpiled/react/FilePicker/FilePickerBodyItem";
9
9
  import { isValidFile } from "cozy-ui/transpiled/react/helpers/acceptedTypes";
10
10
  var isDirectory = models.file.isDirectory;
11
11
 
@@ -70,7 +70,7 @@ var FilePickerBody = function FilePickerBody(_ref) {
70
70
  hasDivider: hasDivider
71
71
  });
72
72
  }), hasMore && /*#__PURE__*/React.createElement(LoadMore, {
73
- label: 'loadMore',
73
+ label: "loadMore",
74
74
  fetchMore: fetchMore
75
75
  }));
76
76
  };