cozy-ui-plus 1.1.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 (670) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/LICENSE +21 -0
  3. package/README.md +1 -0
  4. package/babel.config.js +24 -0
  5. package/dist/AppIcon/index.js +265 -0
  6. package/dist/AppLinker/index.js +159 -0
  7. package/dist/AppLinker/native.config.js +8 -0
  8. package/dist/AppLinker/native.js +81 -0
  9. package/dist/AppSections/Sections.js +461 -0
  10. package/dist/AppSections/_mockApps.js +210 -0
  11. package/dist/AppSections/_testApps.js +162 -0
  12. package/dist/AppSections/categories.js +183 -0
  13. package/dist/AppSections/components/AppsSection.js +112 -0
  14. package/dist/AppSections/components/DropdownFilter.js +101 -0
  15. package/dist/AppSections/constants.js +16 -0
  16. package/dist/AppSections/generateI18nConfig.js +37 -0
  17. package/dist/AppSections/helpers.js +28 -0
  18. package/dist/AppSections/index.js +24 -0
  19. package/dist/AppSections/search.js +161 -0
  20. package/dist/AppTile/helpers.js +41 -0
  21. package/dist/AppTile/index.js +171 -0
  22. package/dist/CipherIcon/index.js +102 -0
  23. package/dist/CollectionField/index.js +166 -0
  24. package/dist/ContactPicker/index.js +129 -0
  25. package/dist/Contacts/AddModal/ContactAddressDialog/helpers.js +31 -0
  26. package/dist/Contacts/AddModal/ContactAddressDialog/index.js +106 -0
  27. package/dist/Contacts/AddModal/ContactAddressDialog/locales/index.js +113 -0
  28. package/dist/Contacts/AddModal/ContactForm/FieldInput.js +164 -0
  29. package/dist/Contacts/AddModal/ContactForm/FieldInputAccordion.js +91 -0
  30. package/dist/Contacts/AddModal/ContactForm/FieldInputArray.js +105 -0
  31. package/dist/Contacts/AddModal/ContactForm/FieldInputLayout.js +98 -0
  32. package/dist/Contacts/AddModal/ContactForm/FieldInputWrapper.js +51 -0
  33. package/dist/Contacts/AddModal/ContactForm/HasValueCondition.js +44 -0
  34. package/dist/Contacts/AddModal/ContactForm/RelatedContactList.js +55 -0
  35. package/dist/Contacts/AddModal/ContactForm/TextFieldCustomLabelSelect.js +104 -0
  36. package/dist/Contacts/AddModal/ContactForm/TextFieldSelect.js +59 -0
  37. package/dist/Contacts/AddModal/ContactForm/contactToFormValues.js +119 -0
  38. package/dist/Contacts/AddModal/ContactForm/fieldsConfig.js +314 -0
  39. package/dist/Contacts/AddModal/ContactForm/formValuesToContact.js +110 -0
  40. package/dist/Contacts/AddModal/ContactForm/helpers.js +466 -0
  41. package/dist/Contacts/AddModal/ContactForm/index.js +184 -0
  42. package/dist/Contacts/AddModal/ContactForm/locales/index.js +313 -0
  43. package/dist/Contacts/AddModal/CustomLabelDialog/index.js +138 -0
  44. package/dist/Contacts/AddModal/CustomLabelDialog/locales/index.js +73 -0
  45. package/dist/Contacts/AddModal/index.js +134 -0
  46. package/dist/Contacts/AddModal/locales/index.js +65 -0
  47. package/dist/Contacts/AddModal/mocks.js +265 -0
  48. package/dist/Contacts/AddModal/types.js +110 -0
  49. package/dist/Contacts/GroupsSelect/GroupCreation.js +157 -0
  50. package/dist/Contacts/GroupsSelect/GroupsSelect.js +207 -0
  51. package/dist/Contacts/GroupsSelect/GroupsSelectProvider.js +60 -0
  52. package/dist/Contacts/GroupsSelect/SelectBox/Control.js +54 -0
  53. package/dist/Contacts/GroupsSelect/SelectBox/EditGroupName.js +89 -0
  54. package/dist/Contacts/GroupsSelect/SelectBox/Menu.js +49 -0
  55. package/dist/Contacts/GroupsSelect/SelectBox/Option.js +80 -0
  56. package/dist/Contacts/GroupsSelect/SelectBox/SelectContainer.js +25 -0
  57. package/dist/Contacts/GroupsSelect/helpers.js +45 -0
  58. package/dist/Contacts/GroupsSelect/locales/index.js +97 -0
  59. package/dist/Contacts/GroupsSelect/useGroupSelect.js +196 -0
  60. package/dist/Contacts/Header/GroupsSelection.js +101 -0
  61. package/dist/Contacts/Header/ImportDropdown.js +115 -0
  62. package/dist/Contacts/Header/SearchInput.js +40 -0
  63. package/dist/Contacts/Header/index.js +93 -0
  64. package/dist/Contacts/Header/locales/index.js +73 -0
  65. package/dist/ContactsList/ContactCell.js +45 -0
  66. package/dist/ContactsList/ContactRow.js +84 -0
  67. package/dist/ContactsList/Contacts/ContactCozy.js +44 -0
  68. package/dist/ContactsList/Contacts/ContactEmail.js +44 -0
  69. package/dist/ContactsList/Contacts/ContactIdentity.js +86 -0
  70. package/dist/ContactsList/Contacts/ContactName.js +48 -0
  71. package/dist/ContactsList/Contacts/ContactPhone.js +44 -0
  72. package/dist/ContactsList/ContactsList.js +74 -0
  73. package/dist/ContactsList/helpers.js +156 -0
  74. package/dist/ContactsList/index.js +13 -0
  75. package/dist/ContactsList/locales/withContactsListLocales.js +42 -0
  76. package/dist/ContactsListModal/AddContact/AddContactActions.js +32 -0
  77. package/dist/ContactsListModal/AddContact/AddContactContent.js +85 -0
  78. package/dist/ContactsListModal/AddContact/AddContactDialog.js +63 -0
  79. package/dist/ContactsListModal/AddContact/AddContactTitle.js +21 -0
  80. package/dist/ContactsListModal/AddContact/helpers.js +61 -0
  81. package/dist/ContactsListModal/ContactsListContent.js +88 -0
  82. package/dist/ContactsListModal/ContactsListModal.js +178 -0
  83. package/dist/ContactsListModal/ContactsListModalWithQuery.js +44 -0
  84. package/dist/ContactsListModal/EmptyMessage.js +33 -0
  85. package/dist/ContactsListModal/MobileHeader.js +67 -0
  86. package/dist/ContactsListModal/index.js +58 -0
  87. package/dist/ContactsListModal/mockClient.js +2009 -0
  88. package/dist/ContactsListModal/queries.js +26 -0
  89. package/dist/ContactsListModal/withContactsListLocales.js +40 -0
  90. package/dist/Dialogs/AuthenticationDialogs/index.js +139 -0
  91. package/dist/Field/index.js +297 -0
  92. package/dist/FileImageLoader/checkImageSource.js +61 -0
  93. package/dist/FileImageLoader/index.js +394 -0
  94. package/dist/FilePicker/FilePickerBody.js +108 -0
  95. package/dist/FilePicker/FilePickerBodyItem.js +132 -0
  96. package/dist/FilePicker/FilePickerBreadcrumb.js +74 -0
  97. package/dist/FilePicker/FilePickerFooter.js +91 -0
  98. package/dist/FilePicker/FilePickerHeader.js +110 -0
  99. package/dist/FilePicker/docs/DemoProvider.js +280 -0
  100. package/dist/FilePicker/helpers.js +57 -0
  101. package/dist/FilePicker/index.js +125 -0
  102. package/dist/FilePicker/queries.js +61 -0
  103. package/dist/Intent/IntentDialogOpener/index.js +142 -0
  104. package/dist/Intent/IntentIframe/index.js +182 -0
  105. package/dist/ListItem/ExpandedAttributes/ExpandedAttribute.js +64 -0
  106. package/dist/ListItem/ExpandedAttributes/helpers.js +263 -0
  107. package/dist/ListItem/ExpandedAttributes/index.js +90 -0
  108. package/dist/ListItem/ListItemBase/Renaming/RenameDialog.js +52 -0
  109. package/dist/ListItem/ListItemBase/Renaming/RenameInput.js +319 -0
  110. package/dist/ListItem/ListItemBase/Renaming/helpers.js +73 -0
  111. package/dist/ListItem/ListItemBase/index.js +153 -0
  112. package/dist/ListItem/ListItemByDoc/index.js +109 -0
  113. package/dist/ListItem/ListItemContact/helpers.js +39 -0
  114. package/dist/ListItem/ListItemContact/index.js +87 -0
  115. package/dist/ListItem/ListItemContact/useActions.js +28 -0
  116. package/dist/ListItem/ListItemFile/ExpirationAnnotation.js +54 -0
  117. package/dist/ListItem/ListItemFile/ItemIcon.js +61 -0
  118. package/dist/ListItem/ListItemFile/PrimaryText.js +47 -0
  119. package/dist/ListItem/ListItemFile/SecondaryText.js +41 -0
  120. package/dist/ListItem/ListItemFile/index.js +96 -0
  121. package/dist/ListItem/hoc/withListItemLocales.js +322 -0
  122. package/dist/Paywall/MaxAccountsByKonnectorPaywall.js +48 -0
  123. package/dist/Paywall/MaxAccountsPaywall.js +43 -0
  124. package/dist/Paywall/MaxDaysToCapturePaywall.js +43 -0
  125. package/dist/Paywall/MaxPapersPaywall.js +44 -0
  126. package/dist/Paywall/OnlyOfficePaywall.js +41 -0
  127. package/dist/Paywall/PasswordSharingPaywall.js +34 -0
  128. package/dist/Paywall/Paywall.js +205 -0
  129. package/dist/Paywall/QuotaPaywall.js +32 -0
  130. package/dist/Paywall/helpers.js +31 -0
  131. package/dist/Paywall/index.js +63 -0
  132. package/dist/Paywall/locales/withPaywallLocales.js +401 -0
  133. package/dist/Qualification/QualificationGrid/helpers.js +16 -0
  134. package/dist/Qualification/QualificationGrid/index.js +136 -0
  135. package/dist/Qualification/QualificationGrid/locales/withLocales.js +82 -0
  136. package/dist/Qualification/QualificationIcon/index.js +156 -0
  137. package/dist/Qualification/QualificationItem/index.js +87 -0
  138. package/dist/Qualification/QualificationModal/helpers.js +95 -0
  139. package/dist/Qualification/QualificationModal/index.js +121 -0
  140. package/dist/Qualification/QualificationModal/locales/index.js +37 -0
  141. package/dist/ShortcutTile/index.js +68 -0
  142. package/dist/SquareAppIcon/index.js +262 -0
  143. package/dist/Storage/StorageButton.js +54 -0
  144. package/dist/Storage/StorageProgress.js +68 -0
  145. package/dist/Storage/index.js +49 -0
  146. package/dist/Storage/locales/index.js +41 -0
  147. package/dist/UploadQueue/FileUploadProgress.js +86 -0
  148. package/dist/UploadQueue/Item.js +132 -0
  149. package/dist/UploadQueue/Pending.js +23 -0
  150. package/dist/UploadQueue/RemainingTime.js +59 -0
  151. package/dist/UploadQueue/helpers.js +13 -0
  152. package/dist/UploadQueue/index.js +277 -0
  153. package/dist/UploadQueue/useStatusIcon.js +60 -0
  154. package/dist/hooks/useClientErrors.js +185 -0
  155. package/dist/proptypes.js +33 -0
  156. package/dist/providers/CozyTheme/CozyThemeWithQuery.js +41 -0
  157. package/dist/providers/CozyTheme/index.js +58 -0
  158. package/dist/providers/CozyTheme/queries.js +25 -0
  159. package/dist/providers/DemoProvider.js +49 -0
  160. package/dist/providers/Intent/index.js +130 -0
  161. package/dist/src/AppIcon/index.d.ts +50 -0
  162. package/dist/src/AppIcon/index.spec.d.ts +1 -0
  163. package/dist/src/AppLinker/index.d.ts +35 -0
  164. package/dist/src/AppLinker/index.spec.d.ts +1 -0
  165. package/dist/src/AppLinker/native.config.d.ts +1 -0
  166. package/dist/src/AppLinker/native.d.ts +6 -0
  167. package/dist/src/AppLinker/native.spec.d.ts +1 -0
  168. package/dist/src/AppSections/Sections.d.ts +49 -0
  169. package/dist/src/AppSections/_mockApps.d.ts +242 -0
  170. package/dist/src/AppSections/_testApps.d.ts +203 -0
  171. package/dist/src/AppSections/categories.d.ts +7 -0
  172. package/dist/src/AppSections/categories.spec.d.ts +1 -0
  173. package/dist/src/AppSections/components/AppsSection.d.ts +20 -0
  174. package/dist/src/AppSections/components/AppsSection.spec.d.ts +1 -0
  175. package/dist/src/AppSections/components/DropdownFilter.d.ts +17 -0
  176. package/dist/src/AppSections/constants.d.ts +8 -0
  177. package/dist/src/AppSections/generateI18nConfig.d.ts +4 -0
  178. package/dist/src/AppSections/helpers.d.ts +2 -0
  179. package/dist/src/AppSections/helpers.spec.d.ts +1 -0
  180. package/dist/src/AppSections/index.d.ts +3 -0
  181. package/dist/src/AppSections/index.spec.d.ts +1 -0
  182. package/dist/src/AppSections/search.d.ts +3 -0
  183. package/dist/src/AppSections/search.spec.d.ts +1 -0
  184. package/dist/src/AppTile/AppTile.spec.d.ts +1 -0
  185. package/dist/src/AppTile/helpers.d.ts +9 -0
  186. package/dist/src/AppTile/index.d.ts +33 -0
  187. package/dist/src/CipherIcon/index.d.ts +2 -0
  188. package/dist/src/CipherIcon/index.spec.d.ts +1 -0
  189. package/dist/src/CollectionField/index.d.ts +23 -0
  190. package/dist/src/ContactPicker/index.d.ts +21 -0
  191. package/dist/src/Contacts/AddModal/ContactAddressDialog/helpers.d.ts +4 -0
  192. package/dist/src/Contacts/AddModal/ContactAddressDialog/helpers.spec.d.ts +1 -0
  193. package/dist/src/Contacts/AddModal/ContactAddressDialog/index.d.ts +39 -0
  194. package/dist/src/Contacts/AddModal/ContactAddressDialog/locales/index.d.ts +10 -0
  195. package/dist/src/Contacts/AddModal/ContactForm/FieldInput.d.ts +39 -0
  196. package/dist/src/Contacts/AddModal/ContactForm/FieldInputAccordion.d.ts +12 -0
  197. package/dist/src/Contacts/AddModal/ContactForm/FieldInputArray.d.ts +14 -0
  198. package/dist/src/Contacts/AddModal/ContactForm/FieldInputLayout.d.ts +22 -0
  199. package/dist/src/Contacts/AddModal/ContactForm/FieldInputWrapper.d.ts +19 -0
  200. package/dist/src/Contacts/AddModal/ContactForm/HasValueCondition.d.ts +18 -0
  201. package/dist/src/Contacts/AddModal/ContactForm/HasValueCondition.spec.d.ts +1 -0
  202. package/dist/src/Contacts/AddModal/ContactForm/RelatedContactList.d.ts +15 -0
  203. package/dist/src/Contacts/AddModal/ContactForm/TextFieldCustomLabelSelect.d.ts +9 -0
  204. package/dist/src/Contacts/AddModal/ContactForm/TextFieldSelect.d.ts +5 -0
  205. package/dist/src/Contacts/AddModal/ContactForm/contactToFormValues.d.ts +6 -0
  206. package/dist/src/Contacts/AddModal/ContactForm/contactToFormValues.spec.d.ts +1 -0
  207. package/dist/src/Contacts/AddModal/ContactForm/fieldsConfig.d.ts +4 -0
  208. package/dist/src/Contacts/AddModal/ContactForm/formValuesToContact.d.ts +7 -0
  209. package/dist/src/Contacts/AddModal/ContactForm/formValuesToContact.spec.d.ts +1 -0
  210. package/dist/src/Contacts/AddModal/ContactForm/helpers.d.ts +35 -0
  211. package/dist/src/Contacts/AddModal/ContactForm/helpers.spec.d.ts +1 -0
  212. package/dist/src/Contacts/AddModal/ContactForm/index.d.ts +17 -0
  213. package/dist/src/Contacts/AddModal/ContactForm/index.spec.d.ts +1 -0
  214. package/dist/src/Contacts/AddModal/ContactForm/locales/index.d.ts +10 -0
  215. package/dist/src/Contacts/AddModal/CustomLabelDialog/index.d.ts +22 -0
  216. package/dist/src/Contacts/AddModal/CustomLabelDialog/locales/index.d.ts +10 -0
  217. package/dist/src/Contacts/AddModal/index.d.ts +8 -0
  218. package/dist/src/Contacts/AddModal/locales/index.d.ts +10 -0
  219. package/dist/src/Contacts/AddModal/mocks.d.ts +276 -0
  220. package/dist/src/Contacts/AddModal/types.d.ts +188 -0
  221. package/dist/src/Contacts/GroupsSelect/GroupCreation.d.ts +3 -0
  222. package/dist/src/Contacts/GroupsSelect/GroupsSelect.d.ts +56 -0
  223. package/dist/src/Contacts/GroupsSelect/GroupsSelect.spec.d.ts +22 -0
  224. package/dist/src/Contacts/GroupsSelect/GroupsSelectProvider.d.ts +5 -0
  225. package/dist/src/Contacts/GroupsSelect/SelectBox/Control.d.ts +14 -0
  226. package/dist/src/Contacts/GroupsSelect/SelectBox/EditGroupName.d.ts +7 -0
  227. package/dist/src/Contacts/GroupsSelect/SelectBox/Menu.d.ts +7 -0
  228. package/dist/src/Contacts/GroupsSelect/SelectBox/Option.d.ts +18 -0
  229. package/dist/src/Contacts/GroupsSelect/SelectBox/SelectContainer.d.ts +2 -0
  230. package/dist/src/Contacts/GroupsSelect/helpers.d.ts +9 -0
  231. package/dist/src/Contacts/GroupsSelect/locales/index.d.ts +10 -0
  232. package/dist/src/Contacts/GroupsSelect/useGroupSelect.d.ts +11 -0
  233. package/dist/src/Contacts/Header/GroupsSelection.d.ts +7 -0
  234. package/dist/src/Contacts/Header/ImportDropdown.d.ts +4 -0
  235. package/dist/src/Contacts/Header/SearchInput.d.ts +4 -0
  236. package/dist/src/Contacts/Header/index.d.ts +26 -0
  237. package/dist/src/Contacts/Header/locales/index.d.ts +10 -0
  238. package/dist/src/ContactsList/ContactCell.d.ts +8 -0
  239. package/dist/src/ContactsList/ContactRow.d.ts +16 -0
  240. package/dist/src/ContactsList/ContactRow.spec.d.ts +1 -0
  241. package/dist/src/ContactsList/Contacts/ContactCozy.d.ts +14 -0
  242. package/dist/src/ContactsList/Contacts/ContactEmail.d.ts +14 -0
  243. package/dist/src/ContactsList/Contacts/ContactIdentity.d.ts +10 -0
  244. package/dist/src/ContactsList/Contacts/ContactName.d.ts +10 -0
  245. package/dist/src/ContactsList/Contacts/ContactPhone.d.ts +14 -0
  246. package/dist/src/ContactsList/ContactsList.d.ts +2 -0
  247. package/dist/src/ContactsList/helpers.d.ts +9 -0
  248. package/dist/src/ContactsList/helpers.spec.d.ts +1 -0
  249. package/dist/src/ContactsList/index.d.ts +2 -0
  250. package/dist/src/ContactsList/locales/withContactsListLocales.d.ts +12 -0
  251. package/dist/src/ContactsListModal/AddContact/AddContactActions.d.ts +2 -0
  252. package/dist/src/ContactsListModal/AddContact/AddContactContent.d.ts +2 -0
  253. package/dist/src/ContactsListModal/AddContact/AddContactDialog.d.ts +6 -0
  254. package/dist/src/ContactsListModal/AddContact/AddContactTitle.d.ts +2 -0
  255. package/dist/src/ContactsListModal/AddContact/helpers.d.ts +6 -0
  256. package/dist/src/ContactsListModal/AddContact/helpers.spec.d.ts +1 -0
  257. package/dist/src/ContactsListModal/ContactsListContent.d.ts +2 -0
  258. package/dist/src/ContactsListModal/ContactsListModal.d.ts +20 -0
  259. package/dist/src/ContactsListModal/ContactsListModalWithQuery.d.ts +12 -0
  260. package/dist/src/ContactsListModal/EmptyMessage.d.ts +2 -0
  261. package/dist/src/ContactsListModal/MobileHeader.d.ts +16 -0
  262. package/dist/src/ContactsListModal/index.d.ts +2 -0
  263. package/dist/src/ContactsListModal/mockClient.d.ts +3 -0
  264. package/dist/src/ContactsListModal/queries.d.ts +7 -0
  265. package/dist/src/ContactsListModal/withContactsListLocales.d.ts +7 -0
  266. package/dist/src/Dialogs/AuthenticationDialogs/index.d.ts +2 -0
  267. package/dist/src/Field/index.d.ts +53 -0
  268. package/dist/src/Field/index.spec.d.ts +1 -0
  269. package/dist/src/FileImageLoader/checkImageSource.d.ts +1 -0
  270. package/dist/src/FileImageLoader/index.d.ts +45 -0
  271. package/dist/src/FileImageLoader/index.spec.d.ts +1 -0
  272. package/dist/src/FilePicker/FilePickerBody.d.ts +19 -0
  273. package/dist/src/FilePicker/FilePickerBodyItem.d.ts +22 -0
  274. package/dist/src/FilePicker/FilePickerBodyItem.spec.d.ts +1 -0
  275. package/dist/src/FilePicker/FilePickerBreadcrumb.d.ts +13 -0
  276. package/dist/src/FilePicker/FilePickerFooter.d.ts +15 -0
  277. package/dist/src/FilePicker/FilePickerFooter.spec.d.ts +1 -0
  278. package/dist/src/FilePicker/FilePickerHeader.d.ts +14 -0
  279. package/dist/src/FilePicker/docs/DemoProvider.d.ts +23 -0
  280. package/dist/src/FilePicker/helpers.d.ts +3 -0
  281. package/dist/src/FilePicker/helpers.spec.d.ts +1 -0
  282. package/dist/src/FilePicker/index.d.ts +22 -0
  283. package/dist/src/FilePicker/queries.d.ts +14 -0
  284. package/dist/src/Intent/IntentDialogOpener/index.d.ts +32 -0
  285. package/dist/src/Intent/IntentIframe/index.d.ts +8 -0
  286. package/dist/src/ListItem/ExpandedAttributes/ExpandedAttribute.d.ts +14 -0
  287. package/dist/src/ListItem/ExpandedAttributes/helpers.d.ts +43 -0
  288. package/dist/src/ListItem/ExpandedAttributes/helpers.spec.d.ts +1 -0
  289. package/dist/src/ListItem/ExpandedAttributes/index.d.ts +2 -0
  290. package/dist/src/ListItem/ListItemBase/Renaming/RenameDialog.d.ts +2 -0
  291. package/dist/src/ListItem/ListItemBase/Renaming/RenameInput.d.ts +12 -0
  292. package/dist/src/ListItem/ListItemBase/Renaming/helpers.d.ts +1 -0
  293. package/dist/src/ListItem/ListItemBase/index.d.ts +2 -0
  294. package/dist/src/ListItem/ListItemByDoc/index.d.ts +46 -0
  295. package/dist/src/ListItem/ListItemContact/helpers.d.ts +1 -0
  296. package/dist/src/ListItem/ListItemContact/helpers.spec.d.ts +1 -0
  297. package/dist/src/ListItem/ListItemContact/index.d.ts +35 -0
  298. package/dist/src/ListItem/ListItemContact/useActions.d.ts +2 -0
  299. package/dist/src/ListItem/ListItemFile/ExpirationAnnotation.d.ts +2 -0
  300. package/dist/src/ListItem/ListItemFile/ItemIcon.d.ts +12 -0
  301. package/dist/src/ListItem/ListItemFile/PrimaryText.d.ts +12 -0
  302. package/dist/src/ListItem/ListItemFile/SecondaryText.d.ts +12 -0
  303. package/dist/src/ListItem/ListItemFile/index.d.ts +37 -0
  304. package/dist/src/ListItem/hoc/withListItemLocales.d.ts +12 -0
  305. package/dist/src/Paywall/MaxAccountsByKonnectorPaywall.d.ts +2 -0
  306. package/dist/src/Paywall/MaxAccountsPaywall.d.ts +2 -0
  307. package/dist/src/Paywall/MaxDaysToCapturePaywall.d.ts +2 -0
  308. package/dist/src/Paywall/MaxPapersPaywall.d.ts +2 -0
  309. package/dist/src/Paywall/OnlyOfficePaywall.d.ts +16 -0
  310. package/dist/src/Paywall/PasswordSharingPaywall.d.ts +10 -0
  311. package/dist/src/Paywall/Paywall.d.ts +2 -0
  312. package/dist/src/Paywall/Paywall.spec.d.ts +1 -0
  313. package/dist/src/Paywall/QuotaPaywall.d.ts +13 -0
  314. package/dist/src/Paywall/helpers.d.ts +1 -0
  315. package/dist/src/Paywall/index.d.ts +7 -0
  316. package/dist/src/Paywall/locales/withPaywallLocales.d.ts +2 -0
  317. package/dist/src/Qualification/QualificationGrid/helpers.d.ts +1 -0
  318. package/dist/src/Qualification/QualificationGrid/index.d.ts +2 -0
  319. package/dist/src/Qualification/QualificationGrid/locales/withLocales.d.ts +12 -0
  320. package/dist/src/Qualification/QualificationIcon/index.d.ts +13 -0
  321. package/dist/src/Qualification/QualificationItem/index.d.ts +17 -0
  322. package/dist/src/Qualification/QualificationModal/helpers.d.ts +14 -0
  323. package/dist/src/Qualification/QualificationModal/helpers.spec.d.ts +1 -0
  324. package/dist/src/Qualification/QualificationModal/index.d.ts +16 -0
  325. package/dist/src/Qualification/QualificationModal/locales/index.d.ts +10 -0
  326. package/dist/src/ShortcutTile/index.d.ts +13 -0
  327. package/dist/src/SquareAppIcon/SquareAppIcon.spec.d.ts +1 -0
  328. package/dist/src/SquareAppIcon/index.d.ts +26 -0
  329. package/dist/src/Storage/StorageButton.d.ts +4 -0
  330. package/dist/src/Storage/StorageProgress.d.ts +5 -0
  331. package/dist/src/Storage/index.d.ts +14 -0
  332. package/dist/src/Storage/locales/index.d.ts +10 -0
  333. package/dist/src/UploadQueue/FileUploadProgress.d.ts +4 -0
  334. package/dist/src/UploadQueue/Item.d.ts +3 -0
  335. package/dist/src/UploadQueue/Pending.d.ts +3 -0
  336. package/dist/src/UploadQueue/RemainingTime.d.ts +4 -0
  337. package/dist/src/UploadQueue/helpers.d.ts +1 -0
  338. package/dist/src/UploadQueue/index.d.ts +42 -0
  339. package/dist/src/UploadQueue/index.spec.d.ts +1 -0
  340. package/dist/src/UploadQueue/useStatusIcon.d.ts +1 -0
  341. package/dist/src/hooks/useClientErrors.d.ts +29 -0
  342. package/dist/src/hooks/useClientErrors.spec.d.ts +1 -0
  343. package/dist/src/proptypes.d.ts +18 -0
  344. package/dist/src/providers/CozyTheme/CozyThemeWithQuery.d.ts +2 -0
  345. package/dist/src/providers/CozyTheme/index.d.ts +24 -0
  346. package/dist/src/providers/CozyTheme/queries.d.ts +8 -0
  347. package/dist/src/providers/DemoProvider.d.ts +6 -0
  348. package/dist/src/providers/Intent/index.d.ts +9 -0
  349. package/dist/stylesheet.css +898 -0
  350. package/dist/test/I18n.d.ts +6 -0
  351. package/dist/types.d.js +1 -0
  352. package/jest.config.js +20 -0
  353. package/package.json +76 -0
  354. package/preprocess.js +16 -0
  355. package/src/AppIcon/Readme.md +96 -0
  356. package/src/AppIcon/index.jsx +168 -0
  357. package/src/AppIcon/index.spec.js +145 -0
  358. package/src/AppIcon/styles.styl +37 -0
  359. package/src/AppLinker/Readme.md +32 -0
  360. package/src/AppLinker/__snapshots__/index.spec.jsx.snap +13 -0
  361. package/src/AppLinker/index.jsx +107 -0
  362. package/src/AppLinker/index.spec.jsx +60 -0
  363. package/src/AppLinker/native.config.js +1 -0
  364. package/src/AppLinker/native.js +57 -0
  365. package/src/AppLinker/native.spec.js +120 -0
  366. package/src/AppSections/Readme.md +35 -0
  367. package/src/AppSections/Sections.jsx +285 -0
  368. package/src/AppSections/Sections.styl +4 -0
  369. package/src/AppSections/__snapshots__/search.spec.js.snap +972 -0
  370. package/src/AppSections/_mockApps.js +197 -0
  371. package/src/AppSections/_testApps.js +151 -0
  372. package/src/AppSections/categories.js +138 -0
  373. package/src/AppSections/categories.spec.js +289 -0
  374. package/src/AppSections/components/AppsSection.jsx +82 -0
  375. package/src/AppSections/components/AppsSection.spec.jsx +50 -0
  376. package/src/AppSections/components/AppsSection.styl +7 -0
  377. package/src/AppSections/components/DropdownFilter.jsx +50 -0
  378. package/src/AppSections/components/DropdownFilter.styl +14 -0
  379. package/src/AppSections/constants.js +9 -0
  380. package/src/AppSections/generateI18nConfig.ts +23 -0
  381. package/src/AppSections/helpers.js +16 -0
  382. package/src/AppSections/helpers.spec.js +40 -0
  383. package/src/AppSections/index.jsx +3 -0
  384. package/src/AppSections/index.spec.jsx +137 -0
  385. package/src/AppSections/locales/en.json +37 -0
  386. package/src/AppSections/locales/fr.json +37 -0
  387. package/src/AppSections/locales/ru.json +37 -0
  388. package/src/AppSections/locales/vi.json +37 -0
  389. package/src/AppSections/search.js +104 -0
  390. package/src/AppSections/search.spec.js +158 -0
  391. package/src/AppTile/AppTile.spec.jsx +117 -0
  392. package/src/AppTile/Readme.md +24 -0
  393. package/src/AppTile/helpers.js +25 -0
  394. package/src/AppTile/index.jsx +139 -0
  395. package/src/AppTile/locales/en.json +9 -0
  396. package/src/AppTile/locales/fr.json +9 -0
  397. package/src/AppTile/locales/ru.json +9 -0
  398. package/src/AppTile/locales/vi.json +9 -0
  399. package/src/AppTile/styles.styl +27 -0
  400. package/src/CipherIcon/Readme.md +14 -0
  401. package/src/CipherIcon/index.jsx +46 -0
  402. package/src/CipherIcon/index.spec.jsx +53 -0
  403. package/src/CollectionField/Readme.md +41 -0
  404. package/src/CollectionField/index.jsx +141 -0
  405. package/src/CollectionField/styles.styl +15 -0
  406. package/src/ContactPicker/Readme.md +26 -0
  407. package/src/ContactPicker/index.jsx +86 -0
  408. package/src/ContactPicker/styles.styl +5 -0
  409. package/src/Contacts/AddModal/ContactAddressDialog/helpers.js +22 -0
  410. package/src/Contacts/AddModal/ContactAddressDialog/helpers.spec.js +64 -0
  411. package/src/Contacts/AddModal/ContactAddressDialog/index.jsx +85 -0
  412. package/src/Contacts/AddModal/ContactAddressDialog/locales/en.json +25 -0
  413. package/src/Contacts/AddModal/ContactAddressDialog/locales/fr.json +25 -0
  414. package/src/Contacts/AddModal/ContactAddressDialog/locales/index.jsx +11 -0
  415. package/src/Contacts/AddModal/ContactAddressDialog/locales/ru.json +25 -0
  416. package/src/Contacts/AddModal/ContactAddressDialog/locales/vi.json +25 -0
  417. package/src/Contacts/AddModal/ContactForm/FieldInput.jsx +124 -0
  418. package/src/Contacts/AddModal/ContactForm/FieldInputAccordion.jsx +58 -0
  419. package/src/Contacts/AddModal/ContactForm/FieldInputArray.jsx +81 -0
  420. package/src/Contacts/AddModal/ContactForm/FieldInputLayout.jsx +77 -0
  421. package/src/Contacts/AddModal/ContactForm/FieldInputWrapper.jsx +44 -0
  422. package/src/Contacts/AddModal/ContactForm/HasValueCondition.jsx +31 -0
  423. package/src/Contacts/AddModal/ContactForm/HasValueCondition.spec.jsx +79 -0
  424. package/src/Contacts/AddModal/ContactForm/RelatedContactList.jsx +37 -0
  425. package/src/Contacts/AddModal/ContactForm/TextFieldCustomLabelSelect.jsx +79 -0
  426. package/src/Contacts/AddModal/ContactForm/TextFieldSelect.jsx +40 -0
  427. package/src/Contacts/AddModal/ContactForm/__snapshots__/HasValueCondition.spec.jsx.snap +33 -0
  428. package/src/Contacts/AddModal/ContactForm/contactToFormValues.js +109 -0
  429. package/src/Contacts/AddModal/ContactForm/contactToFormValues.spec.js +133 -0
  430. package/src/Contacts/AddModal/ContactForm/fieldsConfig.jsx +357 -0
  431. package/src/Contacts/AddModal/ContactForm/formValuesToContact.js +111 -0
  432. package/src/Contacts/AddModal/ContactForm/formValuesToContact.spec.js +557 -0
  433. package/src/Contacts/AddModal/ContactForm/helpers.js +393 -0
  434. package/src/Contacts/AddModal/ContactForm/helpers.spec.js +391 -0
  435. package/src/Contacts/AddModal/ContactForm/index.jsx +138 -0
  436. package/src/Contacts/AddModal/ContactForm/index.spec.jsx +301 -0
  437. package/src/Contacts/AddModal/ContactForm/locales/en.json +75 -0
  438. package/src/Contacts/AddModal/ContactForm/locales/fr.json +75 -0
  439. package/src/Contacts/AddModal/ContactForm/locales/index.jsx +11 -0
  440. package/src/Contacts/AddModal/ContactForm/locales/ru.json +75 -0
  441. package/src/Contacts/AddModal/ContactForm/locales/vi.json +75 -0
  442. package/src/Contacts/AddModal/ContactForm/styles.styl +2 -0
  443. package/src/Contacts/AddModal/CustomLabelDialog/index.jsx +109 -0
  444. package/src/Contacts/AddModal/CustomLabelDialog/locales/en.json +15 -0
  445. package/src/Contacts/AddModal/CustomLabelDialog/locales/fr.json +15 -0
  446. package/src/Contacts/AddModal/CustomLabelDialog/locales/index.jsx +11 -0
  447. package/src/Contacts/AddModal/CustomLabelDialog/locales/ru.json +15 -0
  448. package/src/Contacts/AddModal/CustomLabelDialog/locales/vi.json +15 -0
  449. package/src/Contacts/AddModal/Readme.md +55 -0
  450. package/src/Contacts/AddModal/index.jsx +86 -0
  451. package/src/Contacts/AddModal/locales/en.json +13 -0
  452. package/src/Contacts/AddModal/locales/fr.json +13 -0
  453. package/src/Contacts/AddModal/locales/index.jsx +11 -0
  454. package/src/Contacts/AddModal/locales/ru.json +13 -0
  455. package/src/Contacts/AddModal/locales/vi.json +13 -0
  456. package/src/Contacts/AddModal/mocks.js +299 -0
  457. package/src/Contacts/AddModal/types.js +102 -0
  458. package/src/Contacts/GroupsSelect/GroupCreation.jsx +96 -0
  459. package/src/Contacts/GroupsSelect/GroupsSelect.jsx +159 -0
  460. package/src/Contacts/GroupsSelect/GroupsSelect.spec.jsx +249 -0
  461. package/src/Contacts/GroupsSelect/GroupsSelectProvider.jsx +40 -0
  462. package/src/Contacts/GroupsSelect/Readme.md +1 -0
  463. package/src/Contacts/GroupsSelect/SelectBox/Control.jsx +37 -0
  464. package/src/Contacts/GroupsSelect/SelectBox/EditGroupName.jsx +52 -0
  465. package/src/Contacts/GroupsSelect/SelectBox/Menu.jsx +27 -0
  466. package/src/Contacts/GroupsSelect/SelectBox/Option.jsx +71 -0
  467. package/src/Contacts/GroupsSelect/SelectBox/SelectContainer.jsx +15 -0
  468. package/src/Contacts/GroupsSelect/SelectBox/styles.styl +2 -0
  469. package/src/Contacts/GroupsSelect/helpers.js +25 -0
  470. package/src/Contacts/GroupsSelect/locales/en.json +21 -0
  471. package/src/Contacts/GroupsSelect/locales/fr.json +21 -0
  472. package/src/Contacts/GroupsSelect/locales/index.jsx +11 -0
  473. package/src/Contacts/GroupsSelect/locales/ru.json +21 -0
  474. package/src/Contacts/GroupsSelect/locales/vi.json +21 -0
  475. package/src/Contacts/GroupsSelect/styles.styl +48 -0
  476. package/src/Contacts/GroupsSelect/useGroupSelect.jsx +89 -0
  477. package/src/Contacts/Header/GroupsSelection.jsx +75 -0
  478. package/src/Contacts/Header/ImportDropdown.jsx +80 -0
  479. package/src/Contacts/Header/Readme.md +38 -0
  480. package/src/Contacts/Header/SearchInput.jsx +19 -0
  481. package/src/Contacts/Header/index.jsx +80 -0
  482. package/src/Contacts/Header/locales/en.json +15 -0
  483. package/src/Contacts/Header/locales/fr.json +15 -0
  484. package/src/Contacts/Header/locales/index.jsx +11 -0
  485. package/src/Contacts/Header/locales/ru.json +15 -0
  486. package/src/Contacts/Header/locales/vi.json +15 -0
  487. package/src/Contacts/Readme.md +1 -0
  488. package/src/ContactsList/ContactCell.jsx +23 -0
  489. package/src/ContactsList/ContactRow.jsx +46 -0
  490. package/src/ContactsList/ContactRow.spec.js +75 -0
  491. package/src/ContactsList/Contacts/ContactCozy.jsx +23 -0
  492. package/src/ContactsList/Contacts/ContactEmail.jsx +23 -0
  493. package/src/ContactsList/Contacts/ContactIdentity.jsx +57 -0
  494. package/src/ContactsList/Contacts/ContactName.jsx +43 -0
  495. package/src/ContactsList/Contacts/ContactPhone.jsx +24 -0
  496. package/src/ContactsList/ContactsList.jsx +52 -0
  497. package/src/ContactsList/Readme.md +47 -0
  498. package/src/ContactsList/_mockContacts.json +2494 -0
  499. package/src/ContactsList/helpers.js +132 -0
  500. package/src/ContactsList/helpers.spec.js +150 -0
  501. package/src/ContactsList/index.js +3 -0
  502. package/src/ContactsList/locales/en.json +5 -0
  503. package/src/ContactsList/locales/fr.json +5 -0
  504. package/src/ContactsList/locales/ru.json +5 -0
  505. package/src/ContactsList/locales/vi.json +5 -0
  506. package/src/ContactsList/locales/withContactsListLocales.jsx +15 -0
  507. package/src/ContactsList/styles.styl +35 -0
  508. package/src/ContactsListModal/AddContact/AddContactActions.jsx +16 -0
  509. package/src/ContactsListModal/AddContact/AddContactContent.jsx +60 -0
  510. package/src/ContactsListModal/AddContact/AddContactDialog.jsx +38 -0
  511. package/src/ContactsListModal/AddContact/AddContactTitle.jsx +9 -0
  512. package/src/ContactsListModal/AddContact/helpers.js +18 -0
  513. package/src/ContactsListModal/AddContact/helpers.spec.js +74 -0
  514. package/src/ContactsListModal/AddContact/styles.styl +2 -0
  515. package/src/ContactsListModal/ContactsListContent.jsx +74 -0
  516. package/src/ContactsListModal/ContactsListModal.jsx +143 -0
  517. package/src/ContactsListModal/ContactsListModalWithQuery.jsx +27 -0
  518. package/src/ContactsListModal/EmptyMessage.jsx +18 -0
  519. package/src/ContactsListModal/MobileHeader.jsx +50 -0
  520. package/src/ContactsListModal/Readme.md +45 -0
  521. package/src/ContactsListModal/index.jsx +28 -0
  522. package/src/ContactsListModal/locales/en.json +11 -0
  523. package/src/ContactsListModal/locales/fr.json +11 -0
  524. package/src/ContactsListModal/locales/ru.json +11 -0
  525. package/src/ContactsListModal/locales/vi.json +11 -0
  526. package/src/ContactsListModal/mockClient.jsx +47 -0
  527. package/src/ContactsListModal/queries.js +12 -0
  528. package/src/ContactsListModal/styles.styl +12 -0
  529. package/src/ContactsListModal/withContactsListLocales.jsx +11 -0
  530. package/src/Dialogs/AuthenticationDialogs/index.jsx +115 -0
  531. package/src/Field/Readme.md +357 -0
  532. package/src/Field/index.jsx +317 -0
  533. package/src/Field/index.spec.js +59 -0
  534. package/src/Field/styles.styl +41 -0
  535. package/src/FileImageLoader/Readme.md +112 -0
  536. package/src/FileImageLoader/checkImageSource.js +29 -0
  537. package/src/FileImageLoader/index.jsx +186 -0
  538. package/src/FileImageLoader/index.spec.jsx +176 -0
  539. package/src/FilePicker/FilePickerBody.jsx +111 -0
  540. package/src/FilePicker/FilePickerBodyItem.jsx +126 -0
  541. package/src/FilePicker/FilePickerBodyItem.spec.jsx +164 -0
  542. package/src/FilePicker/FilePickerBreadcrumb.jsx +55 -0
  543. package/src/FilePicker/FilePickerFooter.jsx +42 -0
  544. package/src/FilePicker/FilePickerFooter.spec.jsx +41 -0
  545. package/src/FilePicker/FilePickerHeader.jsx +89 -0
  546. package/src/FilePicker/Readme.md +50 -0
  547. package/src/FilePicker/docs/DemoProvider.jsx +273 -0
  548. package/src/FilePicker/helpers.js +46 -0
  549. package/src/FilePicker/helpers.spec.js +84 -0
  550. package/src/FilePicker/index.jsx +94 -0
  551. package/src/FilePicker/locales/en.json +8 -0
  552. package/src/FilePicker/locales/fr.json +8 -0
  553. package/src/FilePicker/locales/ru.json +8 -0
  554. package/src/FilePicker/locales/vi.json +8 -0
  555. package/src/FilePicker/queries.js +37 -0
  556. package/src/FilePicker/styles.styl +18 -0
  557. package/src/Intent/IntentDialogOpener/Readme.md +25 -0
  558. package/src/Intent/IntentDialogOpener/index.jsx +110 -0
  559. package/src/Intent/IntentIframe/Readme.md +80 -0
  560. package/src/Intent/IntentIframe/index.jsx +112 -0
  561. package/src/Intent/IntentIframe/styles.styl +21 -0
  562. package/src/ListItem/ExpandedAttributes/ExpandedAttribute.jsx +40 -0
  563. package/src/ListItem/ExpandedAttributes/helpers.js +214 -0
  564. package/src/ListItem/ExpandedAttributes/helpers.spec.js +175 -0
  565. package/src/ListItem/ExpandedAttributes/index.jsx +62 -0
  566. package/src/ListItem/ListItemBase/Renaming/RenameDialog.jsx +38 -0
  567. package/src/ListItem/ListItemBase/Renaming/RenameInput.jsx +134 -0
  568. package/src/ListItem/ListItemBase/Renaming/helpers.js +35 -0
  569. package/src/ListItem/ListItemBase/index.jsx +116 -0
  570. package/src/ListItem/ListItemByDoc/index.jsx +103 -0
  571. package/src/ListItem/ListItemContact/helpers.js +28 -0
  572. package/src/ListItem/ListItemContact/helpers.spec.js +41 -0
  573. package/src/ListItem/ListItemContact/index.jsx +68 -0
  574. package/src/ListItem/ListItemContact/useActions.jsx +22 -0
  575. package/src/ListItem/ListItemFile/ExpirationAnnotation.jsx +39 -0
  576. package/src/ListItem/ListItemFile/ItemIcon.jsx +49 -0
  577. package/src/ListItem/ListItemFile/PrimaryText.jsx +38 -0
  578. package/src/ListItem/ListItemFile/SecondaryText.jsx +36 -0
  579. package/src/ListItem/ListItemFile/index.jsx +75 -0
  580. package/src/ListItem/Readme.md +211 -0
  581. package/src/ListItem/hoc/withListItemLocales.jsx +15 -0
  582. package/src/ListItem/locales/en.json +75 -0
  583. package/src/ListItem/locales/fr.json +75 -0
  584. package/src/ListItem/locales/ru.json +75 -0
  585. package/src/ListItem/locales/vi.json +75 -0
  586. package/src/Paywall/MaxAccountsByKonnectorPaywall.jsx +32 -0
  587. package/src/Paywall/MaxAccountsPaywall.jsx +27 -0
  588. package/src/Paywall/MaxDaysToCapturePaywall.jsx +27 -0
  589. package/src/Paywall/MaxPapersPaywall.jsx +29 -0
  590. package/src/Paywall/OnlyOfficePaywall.jsx +24 -0
  591. package/src/Paywall/PasswordSharingPaywall.jsx +20 -0
  592. package/src/Paywall/Paywall.jsx +130 -0
  593. package/src/Paywall/Paywall.spec.jsx +228 -0
  594. package/src/Paywall/QuotaPaywall.jsx +18 -0
  595. package/src/Paywall/Readme.md +139 -0
  596. package/src/Paywall/helpers.js +22 -0
  597. package/src/Paywall/howto.md +28 -0
  598. package/src/Paywall/index.jsx +7 -0
  599. package/src/Paywall/locales/en.json +95 -0
  600. package/src/Paywall/locales/fr.json +95 -0
  601. package/src/Paywall/locales/ru.json +95 -0
  602. package/src/Paywall/locales/vi.json +95 -0
  603. package/src/Paywall/locales/withPaywallLocales.jsx +15 -0
  604. package/src/Qualification/QualificationGrid/Readme.md +26 -0
  605. package/src/Qualification/QualificationGrid/helpers.js +4 -0
  606. package/src/Qualification/QualificationGrid/index.jsx +91 -0
  607. package/src/Qualification/QualificationGrid/locales/en.json +15 -0
  608. package/src/Qualification/QualificationGrid/locales/fr.json +15 -0
  609. package/src/Qualification/QualificationGrid/locales/ru.json +15 -0
  610. package/src/Qualification/QualificationGrid/locales/vi.json +15 -0
  611. package/src/Qualification/QualificationGrid/locales/withLocales.jsx +15 -0
  612. package/src/Qualification/QualificationIcon/Readme.md +14 -0
  613. package/src/Qualification/QualificationIcon/index.jsx +104 -0
  614. package/src/Qualification/QualificationItem/Readme.md +8 -0
  615. package/src/Qualification/QualificationItem/index.jsx +64 -0
  616. package/src/Qualification/QualificationModal/Readme.md +28 -0
  617. package/src/Qualification/QualificationModal/helpers.js +63 -0
  618. package/src/Qualification/QualificationModal/helpers.spec.js +61 -0
  619. package/src/Qualification/QualificationModal/index.jsx +71 -0
  620. package/src/Qualification/QualificationModal/locales/en.json +6 -0
  621. package/src/Qualification/QualificationModal/locales/fr.json +6 -0
  622. package/src/Qualification/QualificationModal/locales/index.jsx +11 -0
  623. package/src/Qualification/QualificationModal/locales/ru.json +6 -0
  624. package/src/Qualification/QualificationModal/locales/vi.json +6 -0
  625. package/src/ShortcutTile/index.tsx +60 -0
  626. package/src/SquareAppIcon/Readme.md +185 -0
  627. package/src/SquareAppIcon/SquareAppIcon.spec.js +86 -0
  628. package/src/SquareAppIcon/__snapshots__/SquareAppIcon.spec.js.snap +474 -0
  629. package/src/SquareAppIcon/constants.json +6 -0
  630. package/src/SquareAppIcon/index.jsx +289 -0
  631. package/src/SquareAppIcon/styles.styl +141 -0
  632. package/src/Storage/Readme.md +45 -0
  633. package/src/Storage/StorageButton.jsx +34 -0
  634. package/src/Storage/StorageProgress.jsx +52 -0
  635. package/src/Storage/index.jsx +41 -0
  636. package/src/Storage/locales/en.json +7 -0
  637. package/src/Storage/locales/fr.json +7 -0
  638. package/src/Storage/locales/index.jsx +11 -0
  639. package/src/Storage/locales/ru.json +7 -0
  640. package/src/Storage/locales/vi.json +7 -0
  641. package/src/UploadQueue/FileUploadProgress.jsx +50 -0
  642. package/src/UploadQueue/Item.jsx +99 -0
  643. package/src/UploadQueue/Pending.jsx +12 -0
  644. package/src/UploadQueue/Readme.md +95 -0
  645. package/src/UploadQueue/RemainingTime.jsx +27 -0
  646. package/src/UploadQueue/helpers.js +3 -0
  647. package/src/UploadQueue/index.jsx +161 -0
  648. package/src/UploadQueue/index.spec.jsx +163 -0
  649. package/src/UploadQueue/locales/en.json +10 -0
  650. package/src/UploadQueue/locales/es.json +10 -0
  651. package/src/UploadQueue/locales/fr.json +10 -0
  652. package/src/UploadQueue/locales/ru.json +10 -0
  653. package/src/UploadQueue/locales/vi.json +10 -0
  654. package/src/UploadQueue/styles.styl +155 -0
  655. package/src/UploadQueue/useStatusIcon.js +32 -0
  656. package/src/hooks/useClientErrors.jsx +140 -0
  657. package/src/hooks/useClientErrors.spec.jsx +94 -0
  658. package/src/proptypes.js +20 -0
  659. package/src/providers/CozyTheme/CozyThemeWithQuery.jsx +25 -0
  660. package/src/providers/CozyTheme/Readme.md +88 -0
  661. package/src/providers/CozyTheme/index.jsx +35 -0
  662. package/src/providers/CozyTheme/queries.js +14 -0
  663. package/src/providers/DemoProvider.jsx +30 -0
  664. package/src/providers/Intent/index.jsx +83 -0
  665. package/src/types.d.ts +4 -0
  666. package/test/I18n.js +13 -0
  667. package/test/fileMock.js +3 -0
  668. package/test/jestsetup.js +1 -0
  669. package/tsconfig-build.json +16 -0
  670. package/tsconfig.json +9 -0
@@ -0,0 +1,898 @@
1
+ /* imported from styles.styl */
2
+
3
+ .styles__c-loading-placeholder___3Q5Co {
4
+ animation-delay: 0.1s;
5
+ animation-duration: 2s;
6
+ animation-iteration-count: infinite;
7
+ animation-name: styles__placeHolderShimmer___1L4im;
8
+ animation-timing-function: linear;
9
+ background-position: -20rem 0;
10
+ background-image: linear-gradient(to right, #c0c0c0 0%, #fcfcfc 50%, #c0c0c0 100%);
11
+ background-size: 20rem 10rem;
12
+ background-repeat: no-repeat;
13
+ background-color: #c0c0c0;
14
+ border-radius: 0.15rem;
15
+ max-width: 100%;
16
+ position: relative;
17
+ margin: 0.1rem 0;
18
+ }
19
+ .styles__c-app-icon___2W1cp,
20
+ .styles__c-app-icon___2W1cp svg {
21
+ height: 100%;
22
+ width: 100%;
23
+ flex-grow: 0;
24
+ flex-shrink: 0;
25
+ object-fit: contain;
26
+ }
27
+ .styles__c-app-icon-default___1Bus5 {
28
+ color: var(--silver);
29
+ }
30
+ @-moz-keyframes styles__placeHolderShimmer___1L4im {
31
+ 0% {
32
+ background-position: -20rem 0;
33
+ }
34
+ 80% {
35
+ background-position: 20rem 0;
36
+ }
37
+ 80.1% {
38
+ background-position: -20rem 0;
39
+ }
40
+ 100% {
41
+ background-position: -20rem 0;
42
+ }
43
+ }
44
+ @-webkit-keyframes styles__placeHolderShimmer___1L4im {
45
+ 0% {
46
+ background-position: -20rem 0;
47
+ }
48
+ 80% {
49
+ background-position: 20rem 0;
50
+ }
51
+ 80.1% {
52
+ background-position: -20rem 0;
53
+ }
54
+ 100% {
55
+ background-position: -20rem 0;
56
+ }
57
+ }
58
+ @-o-keyframes styles__placeHolderShimmer___1L4im {
59
+ 0% {
60
+ background-position: -20rem 0;
61
+ }
62
+ 80% {
63
+ background-position: 20rem 0;
64
+ }
65
+ 80.1% {
66
+ background-position: -20rem 0;
67
+ }
68
+ 100% {
69
+ background-position: -20rem 0;
70
+ }
71
+ }
72
+ @keyframes styles__placeHolderShimmer___1L4im {
73
+ 0% {
74
+ background-position: -20rem 0;
75
+ }
76
+ 80% {
77
+ background-position: 20rem 0;
78
+ }
79
+ 80.1% {
80
+ background-position: -20rem 0;
81
+ }
82
+ 100% {
83
+ background-position: -20rem 0;
84
+ }
85
+ }
86
+ /* imported from Sections.styl */
87
+
88
+ .Sections__Sections__section___19NTf {
89
+ margin-bottom: 4rem;
90
+ }
91
+ /* imported from AppsSection.styl */
92
+
93
+ .AppsSection__AppsSection___2ujGS {
94
+ margin-bottom: 1rem;
95
+ }
96
+ .AppsSection__AppsSection__list___31vj8 {
97
+ display: flex;
98
+ flex-wrap: wrap;
99
+ justify-content: flex-start;
100
+ }
101
+ /* imported from DropdownFilter.styl */
102
+
103
+ .DropdownFilter__Dropdown__icon___3Hpko {
104
+ padding: 0 0.5rem;
105
+ }
106
+ @media (max-width: 48rem) {
107
+ .DropdownFilter__Dropdown___28iN3 .DropdownFilter__Select__control___1Hxbx {
108
+ padding: 0.5rem 0.5rem 0.5rem 0.2rem;
109
+ border-radius: 0;
110
+ height: 2.75rem;
111
+ }
112
+ .DropdownFilter__Dropdown___28iN3 .DropdownFilter__Select__menu___lmOVW {
113
+ top: 2rem;
114
+ }
115
+ .DropdownFilter__Dropdown___28iN3 > div {
116
+ max-width: none;
117
+ }
118
+ }
119
+ /* imported from styles.styl */
120
+
121
+ .styles__AppTile-icon___33KQ3 {
122
+ object-fit: contain;
123
+ max-width: 100%;
124
+ width: auto;
125
+ }
126
+ .styles__AppTile-icon--default___2wl2V {
127
+ height: 100%;
128
+ padding: 0 0.5em;
129
+ }
130
+ .styles__AppTile-icon-maintenance___1aQmb {
131
+ position: absolute;
132
+ border: 2px solid var(--primaryContrastTextColor);
133
+ border-radius: 50%;
134
+ background: var(--primaryContrastTextColor);
135
+ bottom: 80px;
136
+ left: 80px;
137
+ }
138
+ @media (max-width: 48rem) {
139
+ .styles__AppTile-icon-maintenance___1aQmb {
140
+ bottom: 6px;
141
+ left: 40px;
142
+ }
143
+ }
144
+ .styles__AppTile-container-maintenance___KL5F7 {
145
+ filter: grayscale(1);
146
+ opacity: 0.64;
147
+ }
148
+ /* imported from styles.styl */
149
+
150
+ .styles__CollectionField__addBtn___1pQLs {
151
+ margin-left: 0;
152
+ margin-right: 0;
153
+ }
154
+ .styles__CollectionField__addBtnIcon___rWdyr {
155
+ margin-right: 0.5rem;
156
+ }
157
+ .styles__CollectionField__row___3JFOW {
158
+ display: flex;
159
+ align-items: center;
160
+ }
161
+ .styles__CollectionField__row___3JFOW > * + * {
162
+ margin-left: 1rem;
163
+ }
164
+ /* imported from styles.styl */
165
+
166
+ .styles__SelectControl___3NQnK[aria-disabled=true],
167
+ .styles__SelectControl___3NQnK[disabled] {
168
+ cursor: not-allowed;
169
+ background-color: var(--actionColorDisabledBackground);
170
+ color: var(--actionColorDisabled);
171
+ }
172
+ .styles__SelectControl___3NQnK[aria-disabled=true]:hover,
173
+ .styles__SelectControl___3NQnK[disabled]:hover,
174
+ .styles__SelectControl___3NQnK[aria-disabled=true]:focus,
175
+ .styles__SelectControl___3NQnK[disabled]:focus {
176
+ border: 0.063rem solid var(--borderMainColor);
177
+ }
178
+ .styles__SelectControl___3NQnK {
179
+ display: inline-block;
180
+ width: 100%;
181
+ max-width: 32rem;
182
+ padding: 0.813rem 1rem;
183
+ box-sizing: border-box;
184
+ border-radius: 0.188rem;
185
+ background: var(--paperBackgroundColor);
186
+ border: 0.063rem solid var(--borderMainColor);
187
+ font-size: 1rem;
188
+ line-height: 1.25;
189
+ color: var(--primaryTextColor);
190
+ outline: 0;
191
+ }
192
+ .styles__SelectControl___3NQnK::placeholder {
193
+ color: var(--secondaryTextColor);
194
+ font-size: 1rem;
195
+ }
196
+ .styles__SelectControl___3NQnK:hover {
197
+ border: 0.063rem solid var(--hintTextColor);
198
+ }
199
+ .styles__SelectControl___3NQnK:focus {
200
+ border: 0.063rem solid var(--primaryColor);
201
+ outline: 0;
202
+ }
203
+ .styles__SelectControl___3NQnK.styles__is-error___2DxUG,
204
+ .styles__SelectControl___3NQnK:not(:focus):invalid {
205
+ border: 0.063rem solid var(--errorColor);
206
+ }
207
+ .styles__SelectControl___3NQnK {
208
+ padding-right: 2.375rem;
209
+ }
210
+ .styles__SelectControl___3NQnK {
211
+ appearance: none;
212
+ background: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTAiIHZpZXdCb3g9IjAgMCAxNiAxMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNOCA1Ljk5MSAxMy41OTYuMzk1QzEzLjg2LjEzMiAxNC4xOTQgMCAxNC42MDEgMGMuNDA2IDAgLjc0MS4xMzIgMS4wMDQuMzk1UzE2IC45OTMgMTYgMS4zOTljMCAuNDA3LS4xMzIuNzQyLS4zOTUgMS4wMDVsLTYuNiA2LjZhMS4yNTkgMS4yNTkgMCAwIDEtLjQ2Ny4zMDVjLS4xNjcuMDYtLjM0Ny4wOS0uNTM4LjA5LS4xOTEgMC0uMzctLjAzLS41MzgtLjA5YTEuMjU5IDEuMjU5IDAgMCAxLS40NjYtLjMwNWwtNi42MDEtNi42Qy4xMzIgMi4xNCAwIDEuODA2IDAgMS4zOTkgMCAuOTkzLjEzMi42NTguMzk1LjM5NVMuOTkzIDAgMS4zOTkgMGMuNDA3IDAgLjc0Mi4xMzIgMS4wMDUuMzk1TDggNS45OVoiLz48L3N2Zz4=") right 1rem center no-repeat;
213
+ background-size: 0.875rem;
214
+ text-align: left;
215
+ }
216
+ .styles__SelectControl___3NQnK::-ms-expand {
217
+ display: none;
218
+ }
219
+ @media (max-width: 48rem) {
220
+ }
221
+ @media (max-width: 48rem) {
222
+ }
223
+ /* imported from styles.styl */
224
+
225
+ .styles__contact-form-field__wrapper___13Usq {
226
+ width: calc(100% - 3rem);
227
+ }
228
+ /* imported from styles.styl */
229
+
230
+ .styles__container___w8t8I {
231
+ height: 3rem;
232
+ display: flex;
233
+ align-items: center;
234
+ color: var(--primaryTextColor);
235
+ }
236
+ .styles__contact-group-creation-divider___2lJ2f {
237
+ width: 100%;
238
+ border-top: 1px solid var(--dividerColor);
239
+ }
240
+ .styles__contact-group-create-div-icon___xO0pL {
241
+ display: flex;
242
+ align-items: center;
243
+ flex: 1;
244
+ }
245
+ /*since we keep the existing style of
246
+ react-select for the menu and we only
247
+ want to override width & zindex... important
248
+ is important. Right positionning is just set,
249
+ it overrides nothing so there's no need for
250
+ !important */
251
+ .react-select__menu {
252
+ width: 24rem !important;
253
+ z-index: 100000 !important;
254
+ right: 0;
255
+ }
256
+ @media (max-width: 48rem) {
257
+ .react-select__menu {
258
+ top: auto !important;
259
+ width: 100% !important;
260
+ }
261
+ }
262
+ .react-select__container {
263
+ display: inline-block;
264
+ vertical-align: middle;
265
+ }
266
+ .react-select__menu-notice--no-options {
267
+ color: var(--primaryTextColor);
268
+ margin-left: 0.5rem !important;
269
+ height: 3rem;
270
+ display: flex;
271
+ align-items: center;
272
+ }
273
+ .react-select__menu-list {
274
+ text-align: initial;
275
+ }
276
+ @media (max-width: 48rem) {
277
+ .react-select__menu-list {
278
+ max-width: inherit !important;
279
+ }
280
+ }
281
+ /* imported from styles.styl */
282
+
283
+ .styles__menu___1C812 {
284
+ min-width: fit-content;
285
+ }
286
+ /* imported from styles.styl */
287
+
288
+ .styles__contact___1A48V {
289
+ color: var(--secondaryTextColor);
290
+ }
291
+ @media (max-width: 48rem) {
292
+ .styles__contact___1A48V {
293
+ height: auto;
294
+ }
295
+ }
296
+ .styles__contact--clickable___3kKvW {
297
+ cursor: pointer;
298
+ }
299
+ .styles__contact-phone___2fSrd {
300
+ flex: 0 0 12rem;
301
+ }
302
+ .styles__contact-cozyurl___V4Pb_ {
303
+ flex: 0 0 12rem;
304
+ }
305
+ .styles__contact-email___2ol8_ {
306
+ flex-basis: 30%;
307
+ }
308
+ .styles__contact-myself___8Ck4d {
309
+ color: var(--secondaryTextColor);
310
+ padding-left: 0.5rem;
311
+ }
312
+ .styles__contact-identity___1PxJr {
313
+ flex-basis: 30%;
314
+ }
315
+ @media (max-width: 48rem) {
316
+ .styles__contact-identity___1PxJr {
317
+ flex: 1 1 auto;
318
+ }
319
+ }
320
+ .styles__contact-firstname___3BKoY {
321
+ margin-left: 1rem;
322
+ }
323
+ .styles__contact-avatar___1PilR {
324
+ flex-shrink: 0;
325
+ }
326
+ /* imported from styles.styl */
327
+
328
+ .styles__icon___bzlGb {
329
+ margin: 1rem 1.5rem 0 0.5rem;
330
+ }
331
+ /* imported from styles.styl */
332
+
333
+ .styles__ContactsListModal__addContactContainer___3miFk {
334
+ display: flex;
335
+ justify-content: center;
336
+ margin-bottom: 1rem;
337
+ margin: 0 0.5rem 1rem;
338
+ }
339
+ @media (max-width: 48rem) {
340
+ .styles__ContactsListModal__addContactContainer___3miFk > * {
341
+ flex: 1;
342
+ }
343
+ }
344
+ /* imported from styles.styl */
345
+
346
+ .styles__c-label___24c92 {
347
+ text-transform: uppercase;
348
+ color: var(--secondaryTextColor);
349
+ font-size: 0.813rem;
350
+ font-weight: bold;
351
+ line-height: 1rem;
352
+ }
353
+ .styles__c-label___24c92.styles__is-error___1gUPb {
354
+ color: var(--errorColor);
355
+ }
356
+ .styles__c-label--block___1Zska {
357
+ display: block;
358
+ padding: 0.5rem 0;
359
+ }
360
+ @media (max-width: 48rem) {
361
+ }
362
+ @media (max-width: 48rem) {
363
+ }
364
+ /* imported from styles.styl */
365
+
366
+ .styles__o-field___2B6P3 {
367
+ position: relative;
368
+ display: flex;
369
+ flex-direction: column;
370
+ margin: 0.5rem 0 1rem;
371
+ }
372
+ .styles__o-field--inline___3D2bq {
373
+ display: flex;
374
+ align-items: flex-start;
375
+ flex-direction: row;
376
+ margin: 0.5rem 0 0.5rem 1.5rem;
377
+ }
378
+ @media (max-width: 48rem) {
379
+ .styles__o-field--inline___3D2bq {
380
+ flex-direction: column;
381
+ margin-left: 0;
382
+ }
383
+ }
384
+ @media (max-width: 48rem) {
385
+ }
386
+ .styles__o-field--inline___3D2bq {
387
+ margin: 0;
388
+ }
389
+ .styles__o-field--inline___3D2bq label {
390
+ flex-basis: 8rem;
391
+ flex-shrink: 0;
392
+ flex-grow: 0;
393
+ padding: 1rem 0;
394
+ }
395
+ @media (max-width: 48rem) {
396
+ .styles__o-field--inline___3D2bq label {
397
+ flex-basis: auto;
398
+ }
399
+ }
400
+ .styles__o-field--inline___3D2bq > * {
401
+ flex-grow: 1;
402
+ }
403
+ .styles__o-field-input___1nDVQ {
404
+ position: relative;
405
+ max-width: 32rem;
406
+ }
407
+ .styles__o-side___Pf8h0,
408
+ .styles__o-field-input-action___3pU38 {
409
+ position: absolute;
410
+ top: 0.5rem;
411
+ right: 0;
412
+ cursor: pointer;
413
+ text-transform: uppercase;
414
+ }
415
+ .styles__o-side-fullwidth___ztued {
416
+ max-width: 100%;
417
+ }
418
+ .styles__o-field-input-action___3pU38 {
419
+ top: -1.5rem;
420
+ text-transform: uppercase;
421
+ }
422
+ /* imported from styles.styl */
423
+
424
+ .styles__filePickerBreadcrumb-previousPath___2SEdW {
425
+ color: var(--actionColorActive);
426
+ cursor: pointer;
427
+ }
428
+ .styles__filePickerBreadcrumb-icon___32TVL {
429
+ color: var(--actionColorActive);
430
+ margin: 0 0.25rem;
431
+ }
432
+ @supports (display: contents) {
433
+ .styles__filePickerBreadcrumb-wrapper___3Xpzb {
434
+ display: contents;
435
+ }
436
+ }
437
+ @supports not (display: contents) {
438
+ .styles__filePickerBreadcrumb-wrapper___3Xpzb {
439
+ display: flex;
440
+ flex: 1 1 auto;
441
+ align-items: center;
442
+ width: 100%;
443
+ }
444
+ }
445
+ /* imported from styles.styl */
446
+
447
+ iframe {
448
+ width: 100%;
449
+ height: 100%;
450
+ border: 0;
451
+ }
452
+ .styles__intentContainer___5Zqqq,
453
+ .styles__intentPlaceHolder___1f_u6 {
454
+ height: 100%;
455
+ width: 100%;
456
+ display: flex;
457
+ justify-content: center;
458
+ align-items: center;
459
+ }
460
+ /* Don't mess with the spinner centering until the iframe is fully loaded. */
461
+ .styles__intentContainer___5Zqqq[aria-busy=true] iframe {
462
+ height: 0;
463
+ width: 0;
464
+ }
465
+ .styles__intentContainer__error___YO3Lz {
466
+ color: var(--errorColor);
467
+ font-size: 1.5em;
468
+ }
469
+ /* imported from styles.styl */
470
+
471
+ .styles__SquareAppIcon-wrapper___3aoSx {
472
+ box-sizing: border-box;
473
+ border-radius: 100%;
474
+ height: 4rem;
475
+ width: 4rem;
476
+ transition: transform 300ms, border-radius 300ms;
477
+ }
478
+ @media (max-width: 48rem) {
479
+ .styles__SquareAppIcon-wrapper___3aoSx {
480
+ height: 4rem;
481
+ width: 4rem;
482
+ }
483
+ }
484
+ .styles__SquareAppIcon-wrapper--light___AqjR- {
485
+ background: linear-gradient(0deg, rgba(255,255,255,0.09) 0%, rgba(255,255,255,0.09) 100%), rgba(255,251,254,0.8);
486
+ }
487
+ .styles__SquareAppIcon-wrapper--dark___36gAK {
488
+ background: linear-gradient(0deg, rgba(255,255,255,0.09) 0%, rgba(255,255,255,0.09) 100%), #2c3039;
489
+ }
490
+ .styles__SquareAppIcon-icon-container___AZ5_V {
491
+ display: flex;
492
+ align-items: center;
493
+ justify-content: center;
494
+ padding: 0.625rem;
495
+ border-radius: 100%;
496
+ width: 100%;
497
+ }
498
+ @media (max-width: 48rem) {
499
+ .styles__SquareAppIcon-icon-container___AZ5_V {
500
+ padding: 0.625rem;
501
+ }
502
+ }
503
+ .styles__SquareAppIcon-icon-container___AZ5_V svg,
504
+ .styles__SquareAppIcon-icon-container___AZ5_V img {
505
+ width: 100%;
506
+ }
507
+ .styles__SquareAppIcon-wrapper-ghost___2kj_s .styles__SquareAppIcon-icon-container___AZ5_V {
508
+ mix-blend-mode: screen;
509
+ }
510
+ .styles__SquareAppIcon-wrapper-ghost___2kj_s .styles__SquareAppIcon-icon-container___AZ5_V svg,
511
+ .styles__SquareAppIcon-wrapper-ghost___2kj_s .styles__SquareAppIcon-icon-container___AZ5_V img {
512
+ filter: saturate(0%);
513
+ }
514
+ .styles__SquareAppIcon-wrapper-ghost___2kj_s .styles__SquareAppIcon-icon-container-normal___2eLgM {
515
+ mix-blend-mode: luminosity;
516
+ }
517
+ .styles__SquareAppIcon-wrapper-ghost___2kj_s .styles__SquareAppIcon-icon-container-normal___2eLgM svg,
518
+ .styles__SquareAppIcon-wrapper-ghost___2kj_s .styles__SquareAppIcon-icon-container-normal___2eLgM img {
519
+ opacity: 0.5;
520
+ }
521
+ .styles__SquareAppIcon-wrapper-maintenance___1svWY .styles__SquareAppIcon-icon-container___AZ5_V {
522
+ mix-blend-mode: luminosity;
523
+ }
524
+ .styles__SquareAppIcon-wrapper-maintenance___1svWY .styles__SquareAppIcon-icon-container___AZ5_V svg,
525
+ .styles__SquareAppIcon-wrapper-maintenance___1svWY .styles__SquareAppIcon-icon-container___AZ5_V img {
526
+ opacity: 0.5;
527
+ }
528
+ .styles__SquareAppIcon-wrapper-loading___18esc {
529
+ border-radius: 50%;
530
+ transform: scale(0.875);
531
+ }
532
+ @media (max-width: 48rem) {
533
+ .styles__SquareAppIcon-wrapper-loading___18esc {
534
+ transform: scale(0.8334);
535
+ }
536
+ }
537
+ .styles__SquareAppIcon-spinner___3J_iT {
538
+ margin: 0 !important;
539
+ }
540
+ .styles__SquareAppIcon-spinner___3J_iT svg {
541
+ position: absolute;
542
+ height: 100%;
543
+ width: 100%;
544
+ }
545
+ .styles__onEnd___1mc8z {
546
+ align-items: center;
547
+ border-radius: 50%;
548
+ display: flex;
549
+ height: 100%;
550
+ opacity: 0;
551
+ position: absolute;
552
+ width: 100%;
553
+ z-index: 1;
554
+ }
555
+ .styles__onEnd___1mc8z svg {
556
+ fill: transparent !important;
557
+ }
558
+ .styles__onEnd___1mc8z svg path {
559
+ animation-duration: 0.2s !important;
560
+ }
561
+ .styles__onEnd___1mc8z svg path:first-of-type {
562
+ animation-delay: 0.2s !important;
563
+ }
564
+ .styles__onEnd___1mc8z svg path+path {
565
+ animation-delay: 0.36s !important;
566
+ }
567
+ .styles__onEnd___1mc8z svg * {
568
+ stroke: var(--white) !important;
569
+ }
570
+ .styles__onEnd___1mc8z.styles__isFailed___bp2y0 {
571
+ --animationColor: var(--errorColor);
572
+ }
573
+ .styles__onEnd___1mc8z.styles__isSuccess___sNM7F {
574
+ --animationColor: var(--successColor);
575
+ }
576
+ .styles__isSuccess___sNM7F,
577
+ .styles__isFailed___bp2y0 {
578
+ animation: styles__end-animation___60Hwm 1.5s forwards;
579
+ }
580
+ @-moz-keyframes styles__end-animation___60Hwm {
581
+ 0% {
582
+ background-color: transparent;
583
+ border-radius: 50%;
584
+ opacity: 0;
585
+ }
586
+ 13.33% {
587
+ background-color: var(--animationColor);
588
+ border-radius: 100%;
589
+ opacity: 1;
590
+ }
591
+ 66.67% {
592
+ background-color: var(--animationColor);
593
+ border-radius: 100%;
594
+ opacity: 1;
595
+ }
596
+ 100% {
597
+ border-radius: 100%;
598
+ opacity: 0;
599
+ background-color: transparent;
600
+ }
601
+ }
602
+ @-webkit-keyframes styles__end-animation___60Hwm {
603
+ 0% {
604
+ background-color: transparent;
605
+ border-radius: 50%;
606
+ opacity: 0;
607
+ }
608
+ 13.33% {
609
+ background-color: var(--animationColor);
610
+ border-radius: 100%;
611
+ opacity: 1;
612
+ }
613
+ 66.67% {
614
+ background-color: var(--animationColor);
615
+ border-radius: 100%;
616
+ opacity: 1;
617
+ }
618
+ 100% {
619
+ border-radius: 100%;
620
+ opacity: 0;
621
+ background-color: transparent;
622
+ }
623
+ }
624
+ @-o-keyframes styles__end-animation___60Hwm {
625
+ 0% {
626
+ background-color: transparent;
627
+ border-radius: 50%;
628
+ opacity: 0;
629
+ }
630
+ 13.33% {
631
+ background-color: var(--animationColor);
632
+ border-radius: 100%;
633
+ opacity: 1;
634
+ }
635
+ 66.67% {
636
+ background-color: var(--animationColor);
637
+ border-radius: 100%;
638
+ opacity: 1;
639
+ }
640
+ 100% {
641
+ border-radius: 100%;
642
+ opacity: 0;
643
+ background-color: transparent;
644
+ }
645
+ }
646
+ @keyframes styles__end-animation___60Hwm {
647
+ 0% {
648
+ background-color: transparent;
649
+ border-radius: 50%;
650
+ opacity: 0;
651
+ }
652
+ 13.33% {
653
+ background-color: var(--animationColor);
654
+ border-radius: 100%;
655
+ opacity: 1;
656
+ }
657
+ 66.67% {
658
+ background-color: var(--animationColor);
659
+ border-radius: 100%;
660
+ opacity: 1;
661
+ }
662
+ 100% {
663
+ border-radius: 100%;
664
+ opacity: 0;
665
+ background-color: transparent;
666
+ }
667
+ }
668
+ /* imported from styles.styl */
669
+
670
+ @-moz-keyframes styles__spin___1u3cT {
671
+ from {
672
+ transform: rotate(0deg);
673
+ }
674
+ to {
675
+ transform: rotate(359deg);
676
+ }
677
+ }
678
+ @-webkit-keyframes styles__spin___1u3cT {
679
+ from {
680
+ transform: rotate(0deg);
681
+ }
682
+ to {
683
+ transform: rotate(359deg);
684
+ }
685
+ }
686
+ @-o-keyframes styles__spin___1u3cT {
687
+ from {
688
+ transform: rotate(0deg);
689
+ }
690
+ to {
691
+ transform: rotate(359deg);
692
+ }
693
+ }
694
+ @keyframes styles__spin___1u3cT {
695
+ from {
696
+ transform: rotate(0deg);
697
+ }
698
+ to {
699
+ transform: rotate(359deg);
700
+ }
701
+ }
702
+ @-moz-keyframes styles__shake___pfzot {
703
+ 10%, 90% {
704
+ transform: translate3d(-1px, 0, 0);
705
+ }
706
+ 20%, 80% {
707
+ transform: translate3d(2px, 0, 0);
708
+ }
709
+ 30%, 50%, 70% {
710
+ transform: translate3d(-4px, 0, 0);
711
+ }
712
+ 40%, 60% {
713
+ transform: translate3d(4px, 0, 0);
714
+ }
715
+ }
716
+ @-webkit-keyframes styles__shake___pfzot {
717
+ 10%, 90% {
718
+ transform: translate3d(-1px, 0, 0);
719
+ }
720
+ 20%, 80% {
721
+ transform: translate3d(2px, 0, 0);
722
+ }
723
+ 30%, 50%, 70% {
724
+ transform: translate3d(-4px, 0, 0);
725
+ }
726
+ 40%, 60% {
727
+ transform: translate3d(4px, 0, 0);
728
+ }
729
+ }
730
+ @-o-keyframes styles__shake___pfzot {
731
+ 10%, 90% {
732
+ transform: translate3d(-1px, 0, 0);
733
+ }
734
+ 20%, 80% {
735
+ transform: translate3d(2px, 0, 0);
736
+ }
737
+ 30%, 50%, 70% {
738
+ transform: translate3d(-4px, 0, 0);
739
+ }
740
+ 40%, 60% {
741
+ transform: translate3d(4px, 0, 0);
742
+ }
743
+ }
744
+ @keyframes styles__shake___pfzot {
745
+ 10%, 90% {
746
+ transform: translate3d(-1px, 0, 0);
747
+ }
748
+ 20%, 80% {
749
+ transform: translate3d(2px, 0, 0);
750
+ }
751
+ 30%, 50%, 70% {
752
+ transform: translate3d(-4px, 0, 0);
753
+ }
754
+ 40%, 60% {
755
+ transform: translate3d(4px, 0, 0);
756
+ }
757
+ }
758
+ .styles__upload-queue___3EfQa {
759
+ border: 0.0625rem solid var(--dividerColor);
760
+ border-radius: 0.5rem;
761
+ background-color: var(--paperBackgroundColor);
762
+ display: flex;
763
+ flex-direction: column;
764
+ max-width: 90%;
765
+ width: 30rem;
766
+ overflow: hidden;
767
+ }
768
+ .styles__upload-queue__threshold-bar___e-fnL {
769
+ min-width: 10rem;
770
+ margin-right: 1rem;
771
+ }
772
+ .styles__upload-queue__progress-caption___37X7k {
773
+ line-height: 0.75rem;
774
+ height: 1rem;
775
+ }
776
+ .styles__upload-queue__upload-progress___2Z9qx {
777
+ align-items: center;
778
+ display: flex;
779
+ margin-top: 0.125rem;
780
+ }
781
+ .styles__upload-queue--popover___2Oj-U {
782
+ z-index: var(--zIndex-popover);
783
+ border: 0.063rem solid var(--dividerColor);
784
+ border-radius: 0.5rem;
785
+ box-shadow: 0 0.063rem 0.188rem 0 rgba(50,54,63,0.19), 0 0.375rem 1.125rem 0 rgba(50,54,63,0.19);
786
+ background-color: var(--paperBackgroundColor);
787
+ position: fixed;
788
+ bottom: 0.5rem;
789
+ right: 1.5rem;
790
+ height: 13.125rem;
791
+ transform: translateY(18.75rem);
792
+ transition: 0.5s;
793
+ opacity: 0;
794
+ visibility: hidden;
795
+ }
796
+ .styles__upload-queue--popover___2Oj-U.styles__upload-queue--visible___3FkzH {
797
+ opacity: 1;
798
+ visibility: visible;
799
+ transform: translate(0);
800
+ }
801
+ .styles__upload-queue-header___1nUv9 {
802
+ display: flex;
803
+ flex-direction: column;
804
+ justify-content: center;
805
+ height: 2rem;
806
+ min-height: 2rem;
807
+ background-color: var(--defaultBackgroundColor);
808
+ font-weight: bold;
809
+ margin: 0;
810
+ padding: 0.5rem 1rem 0.5rem;
811
+ }
812
+ .styles__upload-queue-header___1nUv9 .styles__upload-queue-header-inner___-pA9p {
813
+ display: flex;
814
+ justify-content: space-between;
815
+ align-items: center;
816
+ }
817
+ progress.styles__upload-queue-progress___3ijZA {
818
+ -webkit-appearance: none;
819
+ -moz-appearance: none;
820
+ border: none;
821
+ display: block;
822
+ width: 100%;
823
+ height: 0.125rem;
824
+ margin: 0;
825
+ }
826
+ .styles__upload-queue-content___29pyu {
827
+ overflow: auto;
828
+ }
829
+ .styles__upload-queue--collapsed___3Er09 {
830
+ height: 2.5rem;
831
+ }
832
+ .styles__upload-queue--collapsed___3Er09 .styles__upload-queue-content___29pyu {
833
+ visibility: none;
834
+ }
835
+ .styles__upload-queue-list___30_J- {
836
+ flex: 1 1 auto;
837
+ display: flex;
838
+ flex-direction: column;
839
+ }
840
+ .styles__upload-queue-item--error___1ChsD {
841
+ background-color: var(--errorBackground);
842
+ }
843
+ .styles__upload-queue-item--done___1eJjw {
844
+ background-color: var(--defaultBackgroundColor);
845
+ }
846
+ .styles__item-file___AdWET {
847
+ user-select: none;
848
+ overflow: hidden;
849
+ }
850
+ .styles__item-status___2xjeD {
851
+ flex: 0 0 15%;
852
+ text-align: right;
853
+ white-space: nowrap;
854
+ padding-left: 1rem;
855
+ }
856
+ @media (max-width: 63.938rem) {
857
+ .styles__upload-queue___3EfQa {
858
+ border-radius: 0;
859
+ border: 0;
860
+ background-color: var(--paperBackgroundColor);
861
+ box-shadow: none;
862
+ width: 100%;
863
+ max-width: 100%;
864
+ height: auto;
865
+ transform: none;
866
+ }
867
+ .styles__upload-queue-header___1nUv9 {
868
+ background: 0;
869
+ text-transform: uppercase;
870
+ padding: 0.5rem;
871
+ }
872
+ .styles__upload-queue-content___29pyu {
873
+ display: none;
874
+ }
875
+ .styles__upload-queue--popover___2Oj-U {
876
+ top: 3rem;
877
+ bottom: auto;
878
+ right: 0;
879
+ left: 0;
880
+ z-index: calc(var(--zIndex-app) + 3);
881
+ max-height: 0;
882
+ }
883
+ .styles__upload-queue--popover___2Oj-U:before {
884
+ position: fixed;
885
+ top: 2.9375rem;
886
+ z-index: var(--zIndex-nav);
887
+ width: 100%;
888
+ height: 0.0625rem;
889
+ content: '';
890
+ background: var(--paperBackgroundColor);
891
+ }
892
+ .styles__upload-queue--popover___2Oj-U.styles__upload-queue--visible___3FkzH {
893
+ max-height: 30%;
894
+ }
895
+ .styles__upload-queue--popover___2Oj-U .styles__upload-queue-content___29pyu {
896
+ display: none;
897
+ }
898
+ }