box-ui-elements 16.0.0-beta.9 → 16.0.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 (788) hide show
  1. package/dist/explorer.css +1 -1
  2. package/dist/explorer.js +19 -58
  3. package/dist/openwith.css +1 -1
  4. package/dist/openwith.js +10 -10
  5. package/dist/picker.css +1 -1
  6. package/dist/picker.js +12 -12
  7. package/dist/preview.css +1 -1
  8. package/dist/preview.js +17 -56
  9. package/dist/sharing.css +1 -1
  10. package/dist/sharing.js +34 -34
  11. package/dist/sidebar.css +1 -1
  12. package/dist/sidebar.js +17 -56
  13. package/dist/uploader.css +1 -1
  14. package/dist/uploader.js +12 -12
  15. package/es/api/APIFactory.js +27 -0
  16. package/es/api/APIFactory.js.flow +26 -0
  17. package/es/api/APIFactory.js.map +1 -1
  18. package/es/api/Annotations.js +84 -8
  19. package/es/api/Annotations.js.flow +60 -6
  20. package/es/api/Annotations.js.map +1 -1
  21. package/es/api/Comments.js +2 -2
  22. package/es/api/Comments.js.flow +5 -4
  23. package/es/api/Comments.js.map +1 -1
  24. package/es/api/Feed.js +578 -71
  25. package/es/api/Feed.js.flow +677 -17
  26. package/es/api/Feed.js.map +1 -1
  27. package/es/api/FileCollaborators.js +29 -0
  28. package/es/api/FileCollaborators.js.flow +30 -0
  29. package/es/api/FileCollaborators.js.map +1 -1
  30. package/es/api/ThreadedComments.js +64 -27
  31. package/es/api/ThreadedComments.js.flow +54 -29
  32. package/es/api/ThreadedComments.js.map +1 -1
  33. package/es/api/fixtures.js +381 -0
  34. package/es/api/fixtures.js.flow +401 -0
  35. package/es/api/fixtures.js.map +1 -0
  36. package/es/api/messages.js +4 -0
  37. package/es/api/messages.js.flow +5 -0
  38. package/es/api/messages.js.map +1 -1
  39. package/es/api/utils.js +33 -0
  40. package/es/api/utils.js.flow +30 -0
  41. package/es/api/utils.js.map +1 -0
  42. package/es/common/types/annotations.js.flow +18 -12
  43. package/es/common/types/feed.js +1 -1
  44. package/es/common/types/feed.js.flow +40 -4
  45. package/es/common/types/feed.js.map +1 -1
  46. package/es/components/accessible-svg/AccessibleSVG.stories.js +20 -0
  47. package/es/components/accessible-svg/AccessibleSVG.stories.js.map +1 -0
  48. package/es/components/badge/Badge.stories.js +1 -13
  49. package/es/components/badge/Badge.stories.js.map +1 -1
  50. package/es/components/badge/BetaBadge.stories.js +10 -0
  51. package/es/components/badge/BetaBadge.stories.js.map +1 -0
  52. package/es/components/badge/TrialBadge.stories.js +10 -0
  53. package/es/components/badge/TrialBadge.stories.js.map +1 -0
  54. package/es/components/badge/UpgradeBadge.stories.js +10 -0
  55. package/es/components/badge/UpgradeBadge.stories.js.map +1 -0
  56. package/es/components/breadcrumb/Breadcrumb.js +48 -35
  57. package/es/components/breadcrumb/Breadcrumb.js.flow +68 -42
  58. package/es/components/breadcrumb/Breadcrumb.js.map +1 -1
  59. package/es/components/breadcrumb/EllipsisCrumb.js +5 -3
  60. package/es/components/breadcrumb/EllipsisCrumb.js.flow +10 -6
  61. package/es/components/breadcrumb/EllipsisCrumb.js.map +1 -1
  62. package/es/components/count-badge/CountBadge.stories.js +1 -1
  63. package/es/components/count-badge/CountBadge.stories.js.map +1 -1
  64. package/es/components/draggable-list/DraggableList.stories.js +119 -5
  65. package/es/components/draggable-list/DraggableList.stories.js.map +1 -1
  66. package/es/components/dropdown-menu/DropdownMenu.js +9 -0
  67. package/es/components/dropdown-menu/DropdownMenu.js.flow +11 -0
  68. package/es/components/dropdown-menu/DropdownMenu.js.map +1 -1
  69. package/es/components/dropdown-menu/DropdownMenu.scss +3 -3
  70. package/es/components/infinite-scroll/InfiniteScroll.js +4 -2
  71. package/es/components/infinite-scroll/InfiniteScroll.js.map +1 -1
  72. package/es/components/modal/Modal.scss +5 -1
  73. package/es/components/search-form/SearchForm.js +1 -1
  74. package/es/components/search-form/SearchForm.js.flow +1 -1
  75. package/es/components/search-form/SearchForm.js.map +1 -1
  76. package/es/components/table/makeSelectable.js +304 -97
  77. package/es/components/table/makeSelectable.js.flow +299 -98
  78. package/es/components/table/makeSelectable.js.map +1 -1
  79. package/es/components/tooltip/Tooltip.js +3 -2
  80. package/es/components/tooltip/Tooltip.js.map +1 -1
  81. package/es/constants.js +11 -0
  82. package/es/constants.js.flow +11 -0
  83. package/es/constants.js.map +1 -1
  84. package/es/elements/common/annotator-context/index.js +1 -0
  85. package/es/elements/common/annotator-context/index.js.flow +4 -0
  86. package/es/elements/common/annotator-context/index.js.map +1 -1
  87. package/es/elements/common/annotator-context/types.js +12 -0
  88. package/es/elements/common/annotator-context/types.js.flow +77 -35
  89. package/es/elements/common/annotator-context/types.js.map +1 -1
  90. package/es/elements/common/annotator-context/useAnnotatorEvents.js +205 -0
  91. package/es/elements/common/annotator-context/useAnnotatorEvents.js.flow +52 -0
  92. package/es/elements/common/annotator-context/useAnnotatorEvents.js.map +1 -0
  93. package/es/elements/common/annotator-context/withAnnotations.js +224 -5
  94. package/es/elements/common/annotator-context/withAnnotations.js.flow +73 -36
  95. package/es/elements/common/annotator-context/withAnnotations.js.map +1 -1
  96. package/es/elements/common/annotator-context/withAnnotatorContext.js +12 -4
  97. package/es/elements/common/annotator-context/withAnnotatorContext.js.flow +29 -9
  98. package/es/elements/common/annotator-context/withAnnotatorContext.js.map +1 -1
  99. package/es/elements/common/current-user/index.js +3 -0
  100. package/es/elements/common/current-user/index.js.flow +8 -0
  101. package/es/elements/common/current-user/index.js.map +1 -0
  102. package/es/elements/common/current-user/withCurrentUser.js +139 -0
  103. package/es/elements/common/current-user/withCurrentUser.js.flow +40 -0
  104. package/es/elements/common/current-user/withCurrentUser.js.map +1 -0
  105. package/es/elements/common/flowTypes.js.flow +22 -4
  106. package/es/elements/common/flowTypes.js.map +1 -1
  107. package/es/elements/common/interactionTargets.js +2 -0
  108. package/es/elements/common/interactionTargets.js.flow +2 -0
  109. package/es/elements/common/interactionTargets.js.map +1 -1
  110. package/es/elements/common/logger/Logger.js +1 -1
  111. package/es/elements/common/logger/Logger.js.flow +1 -1
  112. package/es/elements/common/logger/Logger.js.map +1 -1
  113. package/es/elements/common/messages.js +4 -0
  114. package/es/elements/common/messages.js.flow +5 -0
  115. package/es/elements/common/messages.js.map +1 -1
  116. package/es/elements/content-explorer/DeleteConfirmationDialog.js +2 -1
  117. package/es/elements/content-explorer/DeleteConfirmationDialog.js.flow +3 -1
  118. package/es/elements/content-explorer/DeleteConfirmationDialog.js.map +1 -1
  119. package/es/elements/content-explorer/DeleteConfirmationDialog.scss +5 -0
  120. package/es/elements/content-explorer/stories/DeleteConfirmationDialog.stories.js +58 -0
  121. package/es/elements/content-explorer/stories/DeleteConfirmationDialog.stories.js.flow +60 -0
  122. package/es/elements/content-explorer/stories/DeleteConfirmationDialog.stories.js.map +1 -0
  123. package/es/elements/content-sidebar/ActivitySidebar.js +323 -197
  124. package/es/elements/content-sidebar/ActivitySidebar.js.flow +381 -154
  125. package/es/elements/content-sidebar/ActivitySidebar.js.map +1 -1
  126. package/es/elements/content-sidebar/ActivitySidebarFilter.js +52 -0
  127. package/es/elements/content-sidebar/ActivitySidebarFilter.js.flow +59 -0
  128. package/es/elements/content-sidebar/ActivitySidebarFilter.js.map +1 -0
  129. package/es/elements/content-sidebar/ActivitySidebarFilter.scss +4 -0
  130. package/es/elements/content-sidebar/DetailsSidebar.js +50 -25
  131. package/es/elements/content-sidebar/DetailsSidebar.js.flow +32 -4
  132. package/es/elements/content-sidebar/DetailsSidebar.js.map +1 -1
  133. package/es/elements/content-sidebar/Sidebar.js +4 -1
  134. package/es/elements/content-sidebar/Sidebar.js.flow +6 -1
  135. package/es/elements/content-sidebar/Sidebar.js.map +1 -1
  136. package/es/elements/content-sidebar/SidebarContentInsights.js +45 -0
  137. package/es/elements/content-sidebar/SidebarContentInsights.js.map +1 -0
  138. package/es/elements/content-sidebar/SidebarContentInsights.scss +6 -0
  139. package/es/elements/content-sidebar/SidebarPanels.js +2 -0
  140. package/es/elements/content-sidebar/SidebarPanels.js.flow +4 -0
  141. package/es/elements/content-sidebar/SidebarPanels.js.map +1 -1
  142. package/es/elements/content-sidebar/activity-feed/activity-feed/ActiveState.js +91 -10
  143. package/es/elements/content-sidebar/activity-feed/activity-feed/ActiveState.js.flow +122 -24
  144. package/es/elements/content-sidebar/activity-feed/activity-feed/ActiveState.js.map +1 -1
  145. package/es/elements/content-sidebar/activity-feed/activity-feed/ActivityFeed.js +27 -15
  146. package/es/elements/content-sidebar/activity-feed/activity-feed/ActivityFeed.js.flow +59 -18
  147. package/es/elements/content-sidebar/activity-feed/activity-feed/ActivityFeed.js.map +1 -1
  148. package/es/elements/content-sidebar/activity-feed/activity-feed/ActivityThread.js +101 -0
  149. package/es/elements/content-sidebar/activity-feed/activity-feed/ActivityThread.js.flow +126 -0
  150. package/es/elements/content-sidebar/activity-feed/activity-feed/ActivityThread.js.map +1 -0
  151. package/es/elements/content-sidebar/activity-feed/activity-feed/ActivityThread.scss +17 -0
  152. package/es/elements/content-sidebar/activity-feed/activity-feed/ActivityThreadReplies.js +69 -0
  153. package/es/elements/content-sidebar/activity-feed/activity-feed/ActivityThreadReplies.js.flow +85 -0
  154. package/es/elements/content-sidebar/activity-feed/activity-feed/ActivityThreadReplies.js.map +1 -0
  155. package/es/elements/content-sidebar/activity-feed/activity-feed/ActivityThreadReplies.scss +16 -0
  156. package/es/elements/content-sidebar/activity-feed/activity-feed/ActivityThreadReplyForm.js +62 -0
  157. package/es/elements/content-sidebar/activity-feed/activity-feed/ActivityThreadReplyForm.js.flow +59 -0
  158. package/es/elements/content-sidebar/activity-feed/activity-feed/ActivityThreadReplyForm.js.map +1 -0
  159. package/es/elements/content-sidebar/activity-feed/activity-feed/ActivityThreadReplyForm.scss +22 -0
  160. package/es/elements/content-sidebar/activity-feed/activity-feed/activityFeedUtils.js +2 -2
  161. package/es/elements/content-sidebar/activity-feed/activity-feed/activityFeedUtils.js.flow +2 -2
  162. package/es/elements/content-sidebar/activity-feed/activity-feed/activityFeedUtils.js.map +1 -1
  163. package/es/elements/content-sidebar/activity-feed/activity-feed/fixtures.js +55 -0
  164. package/es/elements/content-sidebar/activity-feed/activity-feed/fixtures.js.map +1 -0
  165. package/es/elements/content-sidebar/activity-feed/activity-feed/messages.js +16 -0
  166. package/es/elements/content-sidebar/activity-feed/activity-feed/messages.js.flow +20 -0
  167. package/es/elements/content-sidebar/activity-feed/activity-feed/messages.js.map +1 -1
  168. package/es/elements/content-sidebar/activity-feed/annotation-thread/AnnotationThread.js +121 -0
  169. package/es/elements/content-sidebar/activity-feed/annotation-thread/AnnotationThread.js.flow +117 -0
  170. package/es/elements/content-sidebar/activity-feed/annotation-thread/AnnotationThread.js.map +1 -0
  171. package/es/elements/content-sidebar/activity-feed/annotation-thread/AnnotationThread.scss +7 -0
  172. package/es/elements/content-sidebar/activity-feed/annotation-thread/AnnotationThreadContent.js +75 -0
  173. package/es/elements/content-sidebar/activity-feed/annotation-thread/AnnotationThreadContent.js.flow +105 -0
  174. package/es/elements/content-sidebar/activity-feed/annotation-thread/AnnotationThreadContent.js.map +1 -0
  175. package/es/elements/content-sidebar/activity-feed/annotation-thread/AnnotationThreadContent.scss +5 -0
  176. package/es/elements/content-sidebar/activity-feed/annotation-thread/AnnotationThreadCreate.js +77 -0
  177. package/es/elements/content-sidebar/activity-feed/annotation-thread/AnnotationThreadCreate.js.flow +86 -0
  178. package/es/elements/content-sidebar/activity-feed/annotation-thread/AnnotationThreadCreate.js.map +1 -0
  179. package/es/elements/content-sidebar/activity-feed/annotation-thread/AnnotationThreadCreate.scss +3 -0
  180. package/es/elements/content-sidebar/activity-feed/annotation-thread/errors.js +11 -0
  181. package/es/elements/content-sidebar/activity-feed/annotation-thread/errors.js.flow +26 -0
  182. package/es/elements/content-sidebar/activity-feed/annotation-thread/errors.js.map +1 -0
  183. package/es/elements/content-sidebar/activity-feed/annotation-thread/index.js +2 -0
  184. package/es/elements/content-sidebar/activity-feed/annotation-thread/index.js.flow +1 -0
  185. package/es/elements/content-sidebar/activity-feed/annotation-thread/index.js.map +1 -0
  186. package/es/elements/content-sidebar/activity-feed/annotation-thread/messages.js +17 -0
  187. package/es/elements/content-sidebar/activity-feed/annotation-thread/messages.js.flow +21 -0
  188. package/es/elements/content-sidebar/activity-feed/annotation-thread/messages.js.map +1 -0
  189. package/es/elements/content-sidebar/activity-feed/annotation-thread/useAnnotationAPI.js +180 -0
  190. package/es/elements/content-sidebar/activity-feed/annotation-thread/useAnnotationAPI.js.flow +203 -0
  191. package/es/elements/content-sidebar/activity-feed/annotation-thread/useAnnotationAPI.js.map +1 -0
  192. package/es/elements/content-sidebar/activity-feed/annotation-thread/useRepliesAPI.js +124 -0
  193. package/es/elements/content-sidebar/activity-feed/annotation-thread/useRepliesAPI.js.flow +121 -0
  194. package/es/elements/content-sidebar/activity-feed/annotation-thread/useRepliesAPI.js.map +1 -0
  195. package/es/elements/content-sidebar/activity-feed/annotations/AnnotationActivity.js +19 -5
  196. package/es/elements/content-sidebar/activity-feed/annotations/AnnotationActivity.js.flow +24 -4
  197. package/es/elements/content-sidebar/activity-feed/annotations/AnnotationActivity.js.map +1 -1
  198. package/es/elements/content-sidebar/activity-feed/annotations/AnnotationActivityMenu.js +25 -4
  199. package/es/elements/content-sidebar/activity-feed/annotations/AnnotationActivityMenu.js.flow +36 -2
  200. package/es/elements/content-sidebar/activity-feed/annotations/AnnotationActivityMenu.js.map +1 -1
  201. package/es/elements/content-sidebar/activity-feed/annotations/messages.js +8 -0
  202. package/es/elements/content-sidebar/activity-feed/annotations/messages.js.flow +10 -0
  203. package/es/elements/content-sidebar/activity-feed/annotations/messages.js.map +1 -1
  204. package/es/elements/content-sidebar/activity-feed/comment/Comment.js +61 -28
  205. package/es/elements/content-sidebar/activity-feed/comment/Comment.js.flow +54 -10
  206. package/es/elements/content-sidebar/activity-feed/comment/Comment.js.map +1 -1
  207. package/es/elements/content-sidebar/activity-feed/comment/messages.js +8 -0
  208. package/es/elements/content-sidebar/activity-feed/comment/messages.js.flow +10 -0
  209. package/es/elements/content-sidebar/activity-feed/comment/messages.js.map +1 -1
  210. package/es/elements/content-sidebar/activity-feed/comment-form/CommentForm.js +4 -2
  211. package/es/elements/content-sidebar/activity-feed/comment-form/CommentForm.js.flow +3 -1
  212. package/es/elements/content-sidebar/activity-feed/comment-form/CommentForm.js.map +1 -1
  213. package/es/elements/content-sidebar/activity-feed/common/activity-message/ActivityMessage.js +16 -5
  214. package/es/elements/content-sidebar/activity-feed/common/activity-message/ActivityMessage.js.flow +34 -4
  215. package/es/elements/content-sidebar/activity-feed/common/activity-message/ActivityMessage.js.map +1 -1
  216. package/es/elements/content-sidebar/activity-feed/common/activity-message/ActivityMessage.scss +40 -3
  217. package/es/elements/content-sidebar/activity-feed/common/activity-message/CollapsableMessage.js +49 -0
  218. package/es/elements/content-sidebar/activity-feed/common/activity-message/CollapsableMessage.js.flow +42 -0
  219. package/es/elements/content-sidebar/activity-feed/common/activity-message/CollapsableMessage.js.map +1 -0
  220. package/es/elements/content-sidebar/activity-feed/common/activity-message/CollapsableMessageToggle.js +21 -0
  221. package/es/elements/content-sidebar/activity-feed/common/activity-message/CollapsableMessageToggle.js.flow +24 -0
  222. package/es/elements/content-sidebar/activity-feed/common/activity-message/CollapsableMessageToggle.js.map +1 -0
  223. package/es/elements/content-sidebar/activity-feed/common/activity-message/messages.js +12 -0
  224. package/es/elements/content-sidebar/activity-feed/common/activity-message/messages.js.flow +15 -0
  225. package/es/elements/content-sidebar/activity-feed/common/activity-message/messages.js.map +1 -1
  226. package/es/elements/content-sidebar/activity-feed/common/activity-status/ActivityStatus.js +24 -0
  227. package/es/elements/content-sidebar/activity-feed/common/activity-status/ActivityStatus.js.flow +30 -0
  228. package/es/elements/content-sidebar/activity-feed/common/activity-status/ActivityStatus.js.map +1 -0
  229. package/es/elements/content-sidebar/activity-feed/common/activity-status/ActivityStatus.scss +6 -0
  230. package/es/elements/content-sidebar/activity-feed/common/activity-status/index.js +2 -0
  231. package/es/elements/content-sidebar/activity-feed/common/activity-status/index.js.flow +2 -0
  232. package/es/elements/content-sidebar/activity-feed/common/activity-status/index.js.map +1 -0
  233. package/es/elements/content-sidebar/activity-feed/common/activity-status/messages.js +9 -0
  234. package/es/elements/content-sidebar/activity-feed/common/activity-status/messages.js.flow +13 -0
  235. package/es/elements/content-sidebar/activity-feed/common/activity-status/messages.js.map +1 -0
  236. package/es/elements/content-sidebar/activity-feed/common/activity-timestamp/ActivityTimestamp.scss +1 -1
  237. package/es/elements/content-sidebar/fixtures.js +181 -0
  238. package/es/elements/content-sidebar/fixtures.js.flow +185 -0
  239. package/es/elements/content-sidebar/fixtures.js.map +1 -0
  240. package/es/elements/content-sidebar/flowTypes.js.flow +9 -25
  241. package/es/elements/content-sidebar/messages.js +8 -0
  242. package/es/elements/content-sidebar/messages.js.flow +10 -0
  243. package/es/elements/content-sidebar/messages.js.map +1 -1
  244. package/es/elements/content-sidebar/withErrorHandling.js.flow +1 -1
  245. package/es/elements/content-sidebar/withErrorHandling.js.map +1 -1
  246. package/es/elements/content-sidebar/withSidebarAnnotations.js +215 -30
  247. package/es/elements/content-sidebar/withSidebarAnnotations.js.flow +162 -11
  248. package/es/elements/content-sidebar/withSidebarAnnotations.js.map +1 -1
  249. package/es/elements/content-uploader/OverallUploadsProgressBar.js +10 -8
  250. package/es/elements/content-uploader/OverallUploadsProgressBar.js.flow +11 -12
  251. package/es/elements/content-uploader/OverallUploadsProgressBar.js.map +1 -1
  252. package/es/features/classification/Classification.scss +1 -1
  253. package/es/features/classification/security-controls/SecurityControlsItem.scss +1 -0
  254. package/es/features/classification/security-controls/messages.js +8 -0
  255. package/es/features/classification/security-controls/messages.js.flow +10 -0
  256. package/es/features/classification/security-controls/messages.js.map +1 -1
  257. package/es/features/classification/security-controls/utils.js +4 -7
  258. package/es/features/classification/security-controls/utils.js.flow +8 -12
  259. package/es/features/classification/security-controls/utils.js.map +1 -1
  260. package/es/features/content-explorer/content-explorer/ContentExplorer.js +6 -1
  261. package/es/features/content-explorer/content-explorer/ContentExplorer.js.flow +4 -0
  262. package/es/features/content-explorer/content-explorer/ContentExplorer.js.map +1 -1
  263. package/es/features/content-explorer/content-explorer/ContentExplorer.scss +4 -0
  264. package/es/features/content-explorer/content-explorer/ContentExplorerBreadcrumbs.js +15 -9
  265. package/es/features/content-explorer/content-explorer/ContentExplorerBreadcrumbs.js.flow +14 -11
  266. package/es/features/content-explorer/content-explorer/ContentExplorerBreadcrumbs.js.map +1 -1
  267. package/es/features/content-explorer/content-explorer/ContentExplorerHeaderActions.js +4 -1
  268. package/es/features/content-explorer/content-explorer/ContentExplorerHeaderActions.js.flow +4 -1
  269. package/es/features/content-explorer/content-explorer/ContentExplorerHeaderActions.js.map +1 -1
  270. package/es/features/content-explorer/content-explorer-modal/ContentExplorerModal.js +6 -3
  271. package/es/features/content-explorer/content-explorer-modal/ContentExplorerModal.js.flow +5 -1
  272. package/es/features/content-explorer/content-explorer-modal/ContentExplorerModal.js.map +1 -1
  273. package/es/features/content-explorer/content-explorer-modal-container/ContentExplorerModalContainer.js +6 -1
  274. package/es/features/content-explorer/content-explorer-modal-container/ContentExplorerModalContainer.js.flow +5 -1
  275. package/es/features/content-explorer/content-explorer-modal-container/ContentExplorerModalContainer.js.map +1 -1
  276. package/es/features/content-explorer/prop-types.js +7 -1
  277. package/es/features/content-explorer/prop-types.js.flow +8 -0
  278. package/es/features/content-explorer/prop-types.js.map +1 -1
  279. package/es/features/content-insights/CompactCount.js +24 -0
  280. package/es/features/content-insights/CompactCount.js.map +1 -0
  281. package/es/features/content-insights/ContentAnalyticsErrorState.js +35 -0
  282. package/es/features/content-insights/ContentAnalyticsErrorState.js.map +1 -0
  283. package/es/features/content-insights/ContentAnalyticsErrorState.scss +17 -0
  284. package/es/features/content-insights/ContentInsightsSummary.js +42 -0
  285. package/es/features/content-insights/ContentInsightsSummary.js.map +1 -0
  286. package/es/features/content-insights/ContentInsightsSummary.scss +12 -0
  287. package/es/features/content-insights/ContentInsightsSummaryGhostState.js +19 -0
  288. package/es/features/content-insights/ContentInsightsSummaryGhostState.js.map +1 -0
  289. package/es/features/content-insights/ContentInsightsSummaryGhostState.scss +9 -0
  290. package/es/features/content-insights/GraphCardGhostState.js +25 -0
  291. package/es/features/content-insights/GraphCardGhostState.js.map +1 -0
  292. package/es/features/content-insights/GraphCardGhostState.scss +18 -0
  293. package/es/features/content-insights/GraphCardPreviewsSummary.js +30 -0
  294. package/es/features/content-insights/GraphCardPreviewsSummary.js.map +1 -0
  295. package/es/features/content-insights/GraphCardPreviewsSummary.scss +10 -0
  296. package/es/features/content-insights/GraphGhostState.js +21 -0
  297. package/es/features/content-insights/GraphGhostState.js.map +1 -0
  298. package/es/features/content-insights/GraphGhostState.scss +11 -0
  299. package/es/features/content-insights/HeaderWithCount.js +23 -0
  300. package/es/features/content-insights/HeaderWithCount.js.map +1 -0
  301. package/es/features/content-insights/HeaderWithCount.scss +10 -0
  302. package/es/features/content-insights/MetricSummary.js +85 -0
  303. package/es/features/content-insights/MetricSummary.js.map +1 -0
  304. package/es/features/content-insights/MetricSummary.scss +14 -0
  305. package/es/features/content-insights/OpenContentInsightsButton.js +16 -0
  306. package/es/features/content-insights/OpenContentInsightsButton.js.map +1 -0
  307. package/es/features/content-insights/TrendPill.js +61 -0
  308. package/es/features/content-insights/TrendPill.js.map +1 -0
  309. package/es/features/content-insights/TrendPill.scss +33 -0
  310. package/es/features/content-insights/_mixins.scss +7 -0
  311. package/es/features/content-insights/_variables.scss +4 -0
  312. package/es/features/content-insights/charts/bar/Bar.js +57 -0
  313. package/es/features/content-insights/charts/bar/Bar.js.map +1 -0
  314. package/es/features/content-insights/charts/bar/Bar.scss +27 -0
  315. package/es/features/content-insights/charts/bar/BarChart.js +70 -0
  316. package/es/features/content-insights/charts/bar/BarChart.js.map +1 -0
  317. package/es/features/content-insights/charts/bar/BarChart.scss +56 -0
  318. package/es/features/content-insights/charts/types.js +2 -0
  319. package/es/{common/types/threadedComments.js.map → features/content-insights/charts/types.js.map} +1 -1
  320. package/es/features/content-insights/constants.js +54 -0
  321. package/es/features/content-insights/constants.js.map +1 -0
  322. package/es/features/content-insights/messages.js +69 -0
  323. package/es/features/content-insights/messages.js.map +1 -0
  324. package/es/features/content-insights/numberUtils.js +10 -0
  325. package/es/features/content-insights/numberUtils.js.map +1 -0
  326. package/es/features/content-insights/types.js +2 -0
  327. package/es/features/content-insights/types.js.map +1 -0
  328. package/es/features/item-details/ItemProperties.scss +1 -1
  329. package/es/features/shared-link-settings-modal/SharedLinkSettingsModal.js +5 -3
  330. package/es/features/shared-link-settings-modal/SharedLinkSettingsModal.js.flow +4 -2
  331. package/es/features/shared-link-settings-modal/SharedLinkSettingsModal.js.map +1 -1
  332. package/es/features/unified-share-modal/ContactRestrictionNotice.js +34 -8
  333. package/es/features/unified-share-modal/ContactRestrictionNotice.js.flow +36 -6
  334. package/es/features/unified-share-modal/ContactRestrictionNotice.js.map +1 -1
  335. package/es/features/unified-share-modal/EmailForm.js +59 -47
  336. package/es/features/unified-share-modal/EmailForm.js.flow +31 -13
  337. package/es/features/unified-share-modal/EmailForm.js.map +1 -1
  338. package/es/features/unified-share-modal/UnifiedShareForm.js +112 -103
  339. package/es/features/unified-share-modal/UnifiedShareForm.js.flow +25 -8
  340. package/es/features/unified-share-modal/UnifiedShareForm.js.map +1 -1
  341. package/es/features/unified-share-modal/UnifiedShareModal.js +1 -0
  342. package/es/features/unified-share-modal/UnifiedShareModal.js.flow +1 -0
  343. package/es/features/unified-share-modal/UnifiedShareModal.js.map +1 -1
  344. package/es/features/unified-share-modal/flowTypes.js.flow +4 -2
  345. package/es/features/unified-share-modal/flowTypes.js.map +1 -1
  346. package/es/features/unified-share-modal/messages.js +12 -8
  347. package/es/features/unified-share-modal/messages.js.flow +14 -8
  348. package/es/features/unified-share-modal/messages.js.map +1 -1
  349. package/es/features/unified-share-modal/utils/hasRestrictedContacts.js +9 -4
  350. package/es/features/unified-share-modal/utils/hasRestrictedContacts.js.flow +10 -3
  351. package/es/features/unified-share-modal/utils/hasRestrictedContacts.js.map +1 -1
  352. package/es/features/unified-share-modal/utils/isRestrictedContact.js +15 -0
  353. package/es/features/unified-share-modal/utils/isRestrictedContact.js.flow +21 -0
  354. package/es/features/unified-share-modal/utils/isRestrictedContact.js.map +1 -0
  355. package/es/icon/fill/Alert16.js +3 -2
  356. package/es/icon/fill/Alert16.js.flow +3 -2
  357. package/es/icon/fill/Alert16.js.map +1 -1
  358. package/es/icon/fill/AlertBadge16.js +31 -0
  359. package/es/icon/fill/AlertBadge16.js.flow +29 -0
  360. package/es/icon/fill/AlertBadge16.js.map +1 -0
  361. package/es/icon/fill/AlertBadge16.stories.js +13 -0
  362. package/es/icon/fill/AlertBadge16.stories.js.map +1 -0
  363. package/es/icon/fill/Info16.js +2 -2
  364. package/es/icon/fill/Info16.js.flow +1 -1
  365. package/es/icon/fill/Info16.js.map +1 -1
  366. package/es/icon/fill/InfoBadge16.js +30 -0
  367. package/es/icon/fill/InfoBadge16.js.flow +28 -0
  368. package/es/icon/fill/InfoBadge16.js.map +1 -0
  369. package/es/icon/fill/InfoBadge16.stories.js +13 -0
  370. package/es/icon/fill/InfoBadge16.stories.js.map +1 -0
  371. package/es/icon/line/AlertBubble16.js +31 -0
  372. package/es/icon/line/AlertBubble16.js.flow +29 -0
  373. package/es/icon/line/AlertBubble16.js.map +1 -0
  374. package/es/icon/line/AlertBubble16.stories.js +13 -0
  375. package/es/icon/line/AlertBubble16.stories.js.map +1 -0
  376. package/es/icon/line/AvatarXBadge16.js +45 -0
  377. package/es/icon/line/AvatarXBadge16.js.flow +39 -0
  378. package/es/icon/line/AvatarXBadge16.js.map +1 -0
  379. package/es/icon/line/AvatarXBadge16.stories.js +13 -0
  380. package/es/icon/line/AvatarXBadge16.stories.js.map +1 -0
  381. package/es/icon/line/CoEdit16.js +32 -0
  382. package/es/icon/line/CoEdit16.js.flow +30 -0
  383. package/es/icon/line/CoEdit16.js.map +1 -0
  384. package/es/icon/line/CoEdit16.stories.js +13 -0
  385. package/es/icon/line/CoEdit16.stories.js.map +1 -0
  386. package/es/icon/line/Collaborations16.js +32 -0
  387. package/es/icon/line/Collaborations16.js.flow +30 -0
  388. package/es/icon/line/Collaborations16.js.map +1 -0
  389. package/es/icon/line/Collaborations16.stories.js +13 -0
  390. package/es/icon/line/Collaborations16.stories.js.map +1 -0
  391. package/es/icon/line/CommentBubble16.js +35 -0
  392. package/es/icon/line/CommentBubble16.js.flow +34 -0
  393. package/es/icon/line/CommentBubble16.js.map +1 -0
  394. package/es/icon/line/CommentBubble16.stories.js +13 -0
  395. package/es/icon/line/CommentBubble16.stories.js.map +1 -0
  396. package/es/src/components/accessible-svg/AccessibleSVG.stories.d.ts +7 -0
  397. package/es/src/components/badge/Badge.stories.d.ts +0 -3
  398. package/es/src/components/badge/BetaBadge.stories.d.ts +6 -0
  399. package/es/src/components/badge/TrialBadge.stories.d.ts +6 -0
  400. package/es/src/components/badge/UpgradeBadge.stories.d.ts +6 -0
  401. package/es/src/components/draggable-list/DraggableList.stories.d.ts +3 -3
  402. package/es/src/components/infinite-scroll/InfiniteScroll.d.ts +1 -1
  403. package/es/src/components/tooltip/Tooltip.d.ts +2 -0
  404. package/es/src/elements/common/annotator-context/__tests__/useAnnotatorEvents.test.d.ts +1 -0
  405. package/es/src/elements/common/annotator-context/index.d.ts +1 -0
  406. package/es/src/elements/common/annotator-context/types.d.ts +28 -6
  407. package/es/src/elements/common/annotator-context/useAnnotatorEvents.d.ts +52 -0
  408. package/es/src/elements/common/annotator-context/withAnnotations.d.ts +11 -2
  409. package/es/src/elements/common/annotator-context/withAnnotatorContext.d.ts +6 -2
  410. package/es/src/elements/common/current-user/__tests__/withCurrentUser.test.d.ts +1 -0
  411. package/es/src/elements/common/current-user/index.d.ts +2 -0
  412. package/es/src/elements/common/current-user/withCurrentUser.d.ts +20 -0
  413. package/es/src/elements/content-sidebar/SidebarContentInsights.d.ts +15 -0
  414. package/es/src/elements/content-sidebar/__tests__/SidebarContentInsights.test.d.ts +1 -0
  415. package/es/src/elements/content-sidebar/activity-feed/activity-feed/fixtures.d.ts +55 -0
  416. package/es/src/features/content-insights/CompactCount.d.ts +15 -0
  417. package/es/src/features/content-insights/ContentAnalyticsErrorState.d.ts +7 -0
  418. package/es/src/features/content-insights/ContentInsightsSummary.d.ts +12 -0
  419. package/es/src/features/content-insights/ContentInsightsSummaryGhostState.d.ts +3 -0
  420. package/es/src/features/content-insights/GraphCardGhostState.d.ts +3 -0
  421. package/es/src/features/content-insights/GraphCardPreviewsSummary.d.ts +16 -0
  422. package/es/src/features/content-insights/GraphGhostState.d.ts +3 -0
  423. package/es/src/features/content-insights/HeaderWithCount.d.ts +7 -0
  424. package/es/src/features/content-insights/MetricSummary.d.ts +18 -0
  425. package/es/src/features/content-insights/OpenContentInsightsButton.d.ts +5 -0
  426. package/es/src/features/content-insights/TrendPill.d.ts +15 -0
  427. package/es/src/features/content-insights/__tests__/CompactCount.test.d.ts +1 -0
  428. package/es/src/features/content-insights/__tests__/ContentAnalyticsErrorState.test.d.ts +1 -0
  429. package/es/src/features/content-insights/__tests__/ContentInsightsSummary.test.d.ts +1 -0
  430. package/es/src/features/content-insights/__tests__/GraphCardPreviewsSummary.test.d.ts +1 -0
  431. package/es/src/features/content-insights/__tests__/HeaderWithCount.test.d.ts +1 -0
  432. package/es/src/features/content-insights/__tests__/MetricSummary.test.d.ts +1 -0
  433. package/es/src/features/content-insights/charts/bar/Bar.d.ts +11 -0
  434. package/es/src/features/content-insights/charts/bar/BarChart.d.ts +19 -0
  435. package/es/src/features/content-insights/charts/bar/__tests__/Bar.test.d.ts +1 -0
  436. package/es/src/features/content-insights/charts/bar/__tests__/BarChart.test.d.ts +1 -0
  437. package/es/src/features/content-insights/charts/types.d.ts +2 -0
  438. package/es/src/features/content-insights/constants.d.ts +27 -0
  439. package/es/src/features/content-insights/messages.d.ts +83 -0
  440. package/es/src/features/content-insights/numberUtils.d.ts +3 -0
  441. package/es/src/features/content-insights/types.d.ts +24 -0
  442. package/es/src/icon/fill/AlertBadge16.d.ts +13 -0
  443. package/es/src/icon/fill/AlertBadge16.stories.d.ts +9 -0
  444. package/es/src/icon/fill/InfoBadge16.d.ts +13 -0
  445. package/es/src/icon/fill/InfoBadge16.stories.d.ts +9 -0
  446. package/es/src/icon/line/AlertBubble16.d.ts +13 -0
  447. package/es/src/icon/line/AlertBubble16.stories.d.ts +9 -0
  448. package/es/src/icon/line/AvatarXBadge16.d.ts +13 -0
  449. package/es/src/icon/line/AvatarXBadge16.stories.d.ts +9 -0
  450. package/es/src/icon/line/CoEdit16.d.ts +13 -0
  451. package/es/src/icon/line/CoEdit16.stories.d.ts +9 -0
  452. package/es/src/icon/line/Collaborations16.d.ts +13 -0
  453. package/es/src/icon/line/Collaborations16.stories.d.ts +9 -0
  454. package/es/src/icon/line/CommentBubble16.d.ts +13 -0
  455. package/es/src/icon/line/CommentBubble16.stories.d.ts +9 -0
  456. package/es/src/styles/variables.d.ts +3 -1
  457. package/es/styles/constants/_layout.scss +1 -1
  458. package/es/styles/constants/_media-queries.scss +2 -0
  459. package/es/styles/variables.js +6 -2
  460. package/es/styles/variables.js.flow +4 -2
  461. package/es/styles/variables.js.map +1 -1
  462. package/es/utils/error.js +5 -1
  463. package/es/utils/error.js.flow +5 -1
  464. package/es/utils/error.js.map +1 -1
  465. package/es/utils/fields.js +8 -3
  466. package/es/utils/fields.js.flow +21 -3
  467. package/es/utils/fields.js.map +1 -1
  468. package/es/utils/sorter.js.flow +2 -2
  469. package/es/utils/sorter.js.map +1 -1
  470. package/i18n/bn-IN.js +45 -7
  471. package/i18n/bn-IN.properties +83 -7
  472. package/i18n/da-DK.js +45 -7
  473. package/i18n/da-DK.properties +83 -7
  474. package/i18n/de-DE.js +45 -7
  475. package/i18n/de-DE.properties +83 -7
  476. package/i18n/en-AU.js +45 -7
  477. package/i18n/en-AU.properties +83 -7
  478. package/i18n/en-CA.js +45 -7
  479. package/i18n/en-CA.properties +83 -7
  480. package/i18n/en-GB.js +45 -7
  481. package/i18n/en-GB.properties +83 -7
  482. package/i18n/en-US.js +45 -7
  483. package/i18n/en-US.properties +83 -7
  484. package/i18n/en-x-pseudo.js +891 -854
  485. package/i18n/en-x-pseudo.properties +941 -843
  486. package/i18n/es-419.js +45 -7
  487. package/i18n/es-419.properties +83 -7
  488. package/i18n/es-ES.js +45 -7
  489. package/i18n/es-ES.properties +83 -7
  490. package/i18n/fi-FI.js +45 -7
  491. package/i18n/fi-FI.properties +83 -7
  492. package/i18n/fr-CA.js +45 -7
  493. package/i18n/fr-CA.properties +83 -7
  494. package/i18n/fr-FR.js +45 -7
  495. package/i18n/fr-FR.properties +83 -7
  496. package/i18n/hi-IN.js +45 -7
  497. package/i18n/hi-IN.properties +83 -7
  498. package/i18n/it-IT.js +45 -7
  499. package/i18n/it-IT.properties +83 -7
  500. package/i18n/ja-JP.js +47 -9
  501. package/i18n/ja-JP.properties +85 -9
  502. package/i18n/ko-KR.js +45 -7
  503. package/i18n/ko-KR.properties +83 -7
  504. package/i18n/nb-NO.js +45 -7
  505. package/i18n/nb-NO.properties +83 -7
  506. package/i18n/nl-NL.js +45 -7
  507. package/i18n/nl-NL.properties +83 -7
  508. package/i18n/pl-PL.js +45 -7
  509. package/i18n/pl-PL.properties +83 -7
  510. package/i18n/pt-BR.js +45 -7
  511. package/i18n/pt-BR.properties +83 -7
  512. package/i18n/ru-RU.js +45 -7
  513. package/i18n/ru-RU.properties +83 -7
  514. package/i18n/sv-SE.js +45 -7
  515. package/i18n/sv-SE.properties +83 -7
  516. package/i18n/tr-TR.js +45 -7
  517. package/i18n/tr-TR.properties +83 -7
  518. package/i18n/zh-CN.js +45 -7
  519. package/i18n/zh-CN.properties +83 -7
  520. package/i18n/zh-TW.js +45 -7
  521. package/i18n/zh-TW.properties +83 -7
  522. package/package.json +7 -8
  523. package/src/__mocks__/react-intl.js +4 -0
  524. package/src/api/APIFactory.js +26 -0
  525. package/src/api/Annotations.js +60 -6
  526. package/src/api/Comments.js +5 -4
  527. package/src/api/Feed.js +677 -17
  528. package/src/api/FileCollaborators.js +30 -0
  529. package/src/api/ThreadedComments.js +54 -29
  530. package/src/api/__tests__/Annotations.test.js +77 -3
  531. package/src/api/__tests__/Feed.test.js +698 -85
  532. package/src/api/__tests__/FileCollaborators.test.js +41 -0
  533. package/src/api/__tests__/ThreadedComments.test.js +47 -10
  534. package/src/api/__tests__/utils.test.js +11 -0
  535. package/src/api/fixtures.js +401 -0
  536. package/src/api/messages.js +5 -0
  537. package/src/api/utils.js +30 -0
  538. package/src/common/types/annotations.js +18 -12
  539. package/src/common/types/feed.js +40 -4
  540. package/src/components/accessible-svg/AccessibleSVG.stories.tsx +18 -0
  541. package/src/components/badge/Badge.stories.md +1 -7
  542. package/src/components/badge/Badge.stories.tsx +1 -10
  543. package/src/components/badge/BetaBadge.stories.tsx +9 -0
  544. package/src/components/badge/TrialBadge.stories.tsx +9 -0
  545. package/src/components/badge/UpgradeBadge.stories.tsx +9 -0
  546. package/src/components/breadcrumb/Breadcrumb.js +68 -42
  547. package/src/components/breadcrumb/EllipsisCrumb.js +10 -6
  548. package/src/components/count-badge/CountBadge.stories.tsx +1 -1
  549. package/src/components/draggable-list/DraggableList.stories.tsx +72 -5
  550. package/src/components/dropdown-menu/DropdownMenu.js +11 -0
  551. package/src/components/dropdown-menu/DropdownMenu.scss +3 -3
  552. package/src/components/dropdown-menu/__tests__/DropdownMenu.test.js +38 -0
  553. package/src/components/grid-view/__tests__/__snapshots__/GridViewSlider.test.js.snap +1 -0
  554. package/src/components/infinite-scroll/InfiniteScroll.md +1 -1
  555. package/src/components/infinite-scroll/InfiniteScroll.tsx +5 -2
  556. package/src/components/infinite-scroll/__tests__/InfiniteScroll.test.tsx +115 -127
  557. package/src/components/modal/Modal.scss +5 -1
  558. package/src/components/search-form/SearchForm.js +1 -1
  559. package/src/components/search-form/__tests__/SearchForm.test.js +25 -6
  560. package/src/components/sidebar-toggle-button/__tests__/__snapshots__/SidebarToggleButton.test.js.snap +4 -0
  561. package/src/components/table/__tests__/makeSelectable.test.js +654 -144
  562. package/src/components/table/makeSelectable.js +299 -98
  563. package/src/components/time/__tests__/ReadableTime.test.js +0 -1
  564. package/src/components/tooltip/Tooltip.tsx +5 -2
  565. package/src/components/tooltip/__tests__/Tooltip.test.tsx +10 -0
  566. package/src/components/tooltip/__tests__/__snapshots__/Tooltip.test.tsx.snap +1 -1
  567. package/src/constants.js +11 -0
  568. package/src/elements/common/annotator-context/__tests__/useAnnotatorEvents.test.tsx +509 -0
  569. package/src/elements/common/annotator-context/__tests__/withAnnotations.test.tsx +275 -12
  570. package/src/elements/common/annotator-context/__tests__/withAnnotatorContext.test.tsx +18 -6
  571. package/src/elements/common/annotator-context/index.js.flow +4 -0
  572. package/src/elements/common/annotator-context/index.ts +1 -0
  573. package/src/elements/common/annotator-context/types.js.flow +77 -35
  574. package/src/elements/common/annotator-context/types.ts +28 -6
  575. package/src/elements/common/annotator-context/useAnnotatorEvents.js.flow +52 -0
  576. package/src/elements/common/annotator-context/useAnnotatorEvents.ts +190 -0
  577. package/src/elements/common/annotator-context/withAnnotations.js.flow +73 -36
  578. package/src/elements/common/annotator-context/withAnnotations.tsx +170 -7
  579. package/src/elements/common/annotator-context/withAnnotatorContext.js.flow +29 -9
  580. package/src/elements/common/annotator-context/withAnnotatorContext.tsx +28 -5
  581. package/src/elements/common/current-user/__tests__/withCurrentUser.test.tsx +108 -0
  582. package/src/elements/common/current-user/index.js.flow +8 -0
  583. package/src/elements/common/current-user/index.ts +2 -0
  584. package/src/elements/common/current-user/withCurrentUser.js.flow +40 -0
  585. package/src/elements/common/current-user/withCurrentUser.tsx +139 -0
  586. package/src/elements/common/flowTypes.js +22 -4
  587. package/src/elements/common/interactionTargets.js +2 -0
  588. package/src/elements/common/logger/Logger.js +1 -1
  589. package/src/elements/common/messages.js +5 -0
  590. package/src/elements/content-explorer/DeleteConfirmationDialog.js +3 -1
  591. package/src/elements/content-explorer/DeleteConfirmationDialog.scss +5 -0
  592. package/src/elements/content-explorer/stories/DeleteConfirmationDialog.stories.js +60 -0
  593. package/src/elements/content-explorer/stories/DeleteConfirmationDialog.stories.md +1 -0
  594. package/src/elements/content-sidebar/ActivitySidebar.js +381 -154
  595. package/src/elements/content-sidebar/ActivitySidebarFilter.js +59 -0
  596. package/src/elements/content-sidebar/ActivitySidebarFilter.scss +4 -0
  597. package/src/elements/content-sidebar/DetailsSidebar.js +32 -4
  598. package/src/elements/content-sidebar/Sidebar.js +6 -1
  599. package/src/elements/content-sidebar/SidebarContentInsights.scss +6 -0
  600. package/src/elements/content-sidebar/SidebarContentInsights.tsx +57 -0
  601. package/src/elements/content-sidebar/SidebarPanels.js +4 -0
  602. package/src/elements/content-sidebar/__tests__/ActivitySidebar.test.js +533 -243
  603. package/src/elements/content-sidebar/__tests__/ActivitySidebarFilter.test.js +54 -0
  604. package/src/elements/content-sidebar/__tests__/DetailsSidebar.test.js +45 -0
  605. package/src/elements/content-sidebar/__tests__/Sidebar.test.js +1 -1
  606. package/src/elements/content-sidebar/__tests__/SidebarContentInsights.test.tsx +56 -0
  607. package/src/elements/content-sidebar/__tests__/SidebarPanels.test.js +4 -3
  608. package/src/elements/content-sidebar/__tests__/__snapshots__/ActivitySidebar.test.js.snap +29 -15
  609. package/src/elements/content-sidebar/__tests__/__snapshots__/SidebarFileProperties.test.js.snap +1 -0
  610. package/src/elements/content-sidebar/__tests__/withSidebarAnnotations.test.js +325 -32
  611. package/src/elements/content-sidebar/activity-feed/activity-feed/ActiveState.js +122 -24
  612. package/src/elements/content-sidebar/activity-feed/activity-feed/ActivityFeed.js +59 -18
  613. package/src/elements/content-sidebar/activity-feed/activity-feed/ActivityThread.js +126 -0
  614. package/src/elements/content-sidebar/activity-feed/activity-feed/ActivityThread.scss +17 -0
  615. package/src/elements/content-sidebar/activity-feed/activity-feed/ActivityThreadReplies.js +85 -0
  616. package/src/elements/content-sidebar/activity-feed/activity-feed/ActivityThreadReplies.scss +16 -0
  617. package/src/elements/content-sidebar/activity-feed/activity-feed/ActivityThreadReplyForm.js +59 -0
  618. package/src/elements/content-sidebar/activity-feed/activity-feed/ActivityThreadReplyForm.scss +22 -0
  619. package/src/elements/content-sidebar/activity-feed/activity-feed/__tests__/ActiveState.test.js +19 -5
  620. package/src/elements/content-sidebar/activity-feed/activity-feed/__tests__/ActivityFeed.test.js +22 -16
  621. package/src/elements/content-sidebar/activity-feed/activity-feed/__tests__/ActivityThread.test.js +80 -0
  622. package/src/elements/content-sidebar/activity-feed/activity-feed/__tests__/ActivityThreadReplies.test.js +24 -0
  623. package/src/elements/content-sidebar/activity-feed/activity-feed/__tests__/ActivityThreadRepliesForm.test.js +47 -0
  624. package/src/elements/content-sidebar/activity-feed/activity-feed/__tests__/__snapshots__/ActiveState.test.js.snap +74 -43
  625. package/src/elements/content-sidebar/activity-feed/activity-feed/__tests__/activityFeedUtils.test.js +8 -8
  626. package/src/elements/content-sidebar/activity-feed/activity-feed/activityFeedUtils.js +2 -2
  627. package/src/elements/content-sidebar/activity-feed/activity-feed/fixtures.ts +56 -0
  628. package/src/elements/content-sidebar/activity-feed/activity-feed/messages.js +20 -0
  629. package/src/elements/content-sidebar/activity-feed/annotation-thread/AnnotationThread.js +117 -0
  630. package/src/elements/content-sidebar/activity-feed/annotation-thread/AnnotationThread.scss +7 -0
  631. package/src/elements/content-sidebar/activity-feed/annotation-thread/AnnotationThreadContent.js +105 -0
  632. package/src/elements/content-sidebar/activity-feed/annotation-thread/AnnotationThreadContent.scss +5 -0
  633. package/src/elements/content-sidebar/activity-feed/annotation-thread/AnnotationThreadCreate.js +86 -0
  634. package/src/elements/content-sidebar/activity-feed/annotation-thread/AnnotationThreadCreate.scss +3 -0
  635. package/src/elements/content-sidebar/activity-feed/annotation-thread/__tests__/AnnotationThread.test.js +28 -0
  636. package/src/elements/content-sidebar/activity-feed/annotation-thread/__tests__/AnnotationThreadContent.test.js +89 -0
  637. package/src/elements/content-sidebar/activity-feed/annotation-thread/__tests__/AnnotationThreadCreate.test.js +103 -0
  638. package/src/elements/content-sidebar/activity-feed/annotation-thread/__tests__/useAnnotationAPI.test.js +202 -0
  639. package/src/elements/content-sidebar/activity-feed/annotation-thread/__tests__/useRepliesAPI.test.js +99 -0
  640. package/src/elements/content-sidebar/activity-feed/annotation-thread/errors.js +26 -0
  641. package/src/elements/content-sidebar/activity-feed/annotation-thread/index.js +1 -0
  642. package/src/elements/content-sidebar/activity-feed/annotation-thread/messages.js +21 -0
  643. package/src/elements/content-sidebar/activity-feed/annotation-thread/useAnnotationAPI.js +203 -0
  644. package/src/elements/content-sidebar/activity-feed/annotation-thread/useRepliesAPI.js +121 -0
  645. package/src/elements/content-sidebar/activity-feed/annotations/AnnotationActivity.js +24 -4
  646. package/src/elements/content-sidebar/activity-feed/annotations/AnnotationActivityMenu.js +36 -2
  647. package/src/elements/content-sidebar/activity-feed/annotations/__tests__/AnnotationActivity.test.js +14 -10
  648. package/src/elements/content-sidebar/activity-feed/annotations/__tests__/AnnotationActivityMenu.test.js +35 -1
  649. package/src/elements/content-sidebar/activity-feed/annotations/messages.js +10 -0
  650. package/src/elements/content-sidebar/activity-feed/comment/Comment.js +54 -10
  651. package/src/elements/content-sidebar/activity-feed/comment/__tests__/Comment.test.js +152 -7
  652. package/src/elements/content-sidebar/activity-feed/comment/__tests__/__snapshots__/Comment.test.js.snap +12 -7
  653. package/src/elements/content-sidebar/activity-feed/comment/messages.js +10 -0
  654. package/src/elements/content-sidebar/activity-feed/comment-form/CommentForm.js +3 -1
  655. package/src/elements/content-sidebar/activity-feed/comment-form/__tests__/CommentForm.test.js +11 -0
  656. package/src/elements/content-sidebar/activity-feed/common/activity-message/ActivityMessage.js +34 -4
  657. package/src/elements/content-sidebar/activity-feed/common/activity-message/ActivityMessage.scss +40 -3
  658. package/src/elements/content-sidebar/activity-feed/common/activity-message/CollapsableMessage.js +42 -0
  659. package/src/elements/content-sidebar/activity-feed/common/activity-message/CollapsableMessageToggle.js +24 -0
  660. package/src/elements/content-sidebar/activity-feed/common/activity-message/__tests__/ActivityMessage.test.js +48 -1
  661. package/src/elements/content-sidebar/activity-feed/common/activity-message/messages.js +15 -0
  662. package/src/elements/content-sidebar/activity-feed/common/activity-status/ActivityStatus.js +30 -0
  663. package/src/elements/content-sidebar/activity-feed/common/activity-status/ActivityStatus.scss +6 -0
  664. package/src/elements/content-sidebar/activity-feed/common/activity-status/__tests__/ActivityStatus.test.js +19 -0
  665. package/src/elements/content-sidebar/activity-feed/common/activity-status/index.js +2 -0
  666. package/src/elements/content-sidebar/activity-feed/common/activity-status/messages.js +13 -0
  667. package/src/elements/content-sidebar/activity-feed/common/activity-timestamp/ActivityTimestamp.scss +1 -1
  668. package/src/elements/content-sidebar/activity-feed/task-new/__tests__/Task.test.js +4 -3
  669. package/src/elements/content-sidebar/activity-feed/task-new/__tests__/__snapshots__/Task.test.js.snap +1 -2
  670. package/src/elements/content-sidebar/fixtures.js +185 -0
  671. package/src/elements/content-sidebar/flowTypes.js +9 -25
  672. package/src/elements/content-sidebar/messages.js +10 -0
  673. package/src/elements/content-sidebar/withErrorHandling.js +1 -1
  674. package/src/elements/content-sidebar/withSidebarAnnotations.js +162 -11
  675. package/src/elements/content-uploader/OverallUploadsProgressBar.js +11 -12
  676. package/src/features/classification/Classification.scss +1 -1
  677. package/src/features/classification/security-controls/SecurityControlsItem.scss +1 -0
  678. package/src/features/classification/security-controls/__tests__/__snapshots__/utils.test.js.snap +18 -16
  679. package/src/features/classification/security-controls/__tests__/utils.test.js +13 -5
  680. package/src/features/classification/security-controls/messages.js +10 -0
  681. package/src/features/classification/security-controls/utils.js +8 -12
  682. package/src/features/collapsible-sidebar/__tests__/__snapshots__/CollapsibleSidebarLogo.test.js.snap +2 -0
  683. package/src/features/content-explorer/content-explorer/ContentExplorer.js +4 -0
  684. package/src/features/content-explorer/content-explorer/ContentExplorer.scss +4 -0
  685. package/src/features/content-explorer/content-explorer/ContentExplorerBreadcrumbs.js +14 -11
  686. package/src/features/content-explorer/content-explorer/ContentExplorerHeaderActions.js +4 -1
  687. package/src/features/content-explorer/content-explorer/__tests__/ContentExplorerBreadcrumbs.test.js +2 -2
  688. package/src/features/content-explorer/content-explorer-modal/ContentExplorerModal.js +5 -1
  689. package/src/features/content-explorer/content-explorer-modal/__tests__/__snapshots__/ContentExplorerModal.test.js.snap +1 -0
  690. package/src/features/content-explorer/content-explorer-modal-container/ContentExplorerModalContainer.js +5 -1
  691. package/src/features/content-explorer/prop-types.js +8 -0
  692. package/src/features/content-insights/CompactCount.tsx +23 -0
  693. package/src/features/content-insights/ContentAnalyticsErrorState.scss +17 -0
  694. package/src/features/content-insights/ContentAnalyticsErrorState.tsx +44 -0
  695. package/src/features/content-insights/ContentInsightsSummary.scss +12 -0
  696. package/src/features/content-insights/ContentInsightsSummary.tsx +45 -0
  697. package/src/features/content-insights/ContentInsightsSummaryGhostState.scss +9 -0
  698. package/src/features/content-insights/ContentInsightsSummaryGhostState.tsx +18 -0
  699. package/src/features/content-insights/GraphCardGhostState.scss +18 -0
  700. package/src/features/content-insights/GraphCardGhostState.tsx +18 -0
  701. package/src/features/content-insights/GraphCardPreviewsSummary.scss +10 -0
  702. package/src/features/content-insights/GraphCardPreviewsSummary.tsx +40 -0
  703. package/src/features/content-insights/GraphGhostState.scss +11 -0
  704. package/src/features/content-insights/GraphGhostState.tsx +17 -0
  705. package/src/features/content-insights/HeaderWithCount.scss +10 -0
  706. package/src/features/content-insights/HeaderWithCount.tsx +24 -0
  707. package/src/features/content-insights/MetricSummary.scss +14 -0
  708. package/src/features/content-insights/MetricSummary.tsx +65 -0
  709. package/src/features/content-insights/OpenContentInsightsButton.tsx +20 -0
  710. package/src/features/content-insights/TrendPill.scss +33 -0
  711. package/src/features/content-insights/TrendPill.tsx +70 -0
  712. package/src/features/content-insights/__tests__/CompactCount.test.tsx +57 -0
  713. package/src/features/content-insights/__tests__/ContentAnalyticsErrorState.test.tsx +33 -0
  714. package/src/features/content-insights/__tests__/ContentInsightsSummary.test.tsx +81 -0
  715. package/src/features/content-insights/__tests__/GraphCardPreviewsSummary.test.tsx +35 -0
  716. package/src/features/content-insights/__tests__/HeaderWithCount.test.tsx +26 -0
  717. package/src/features/content-insights/__tests__/MetricSummary.test.tsx +88 -0
  718. package/src/features/content-insights/_mixins.scss +7 -0
  719. package/src/features/content-insights/_variables.scss +4 -0
  720. package/src/features/content-insights/charts/bar/Bar.scss +27 -0
  721. package/src/features/content-insights/charts/bar/Bar.tsx +48 -0
  722. package/src/features/content-insights/charts/bar/BarChart.scss +56 -0
  723. package/src/features/content-insights/charts/bar/BarChart.tsx +78 -0
  724. package/src/features/content-insights/charts/bar/__tests__/Bar.test.tsx +74 -0
  725. package/src/features/content-insights/charts/bar/__tests__/BarChart.test.tsx +110 -0
  726. package/src/features/content-insights/charts/types.ts +3 -0
  727. package/src/features/content-insights/constants.ts +60 -0
  728. package/src/features/content-insights/messages.ts +90 -0
  729. package/src/features/content-insights/numberUtils.ts +9 -0
  730. package/src/features/content-insights/types.ts +33 -0
  731. package/src/features/item-details/ItemProperties.scss +1 -1
  732. package/src/features/shared-link-settings-modal/SharedLinkSettingsModal.js +4 -2
  733. package/src/features/shared-link-settings-modal/__tests__/SharedLinkSettingsModal.test.js +22 -3
  734. package/src/features/shared-link-settings-modal/__tests__/__snapshots__/SharedLinkSettingsModal.test.js.snap +2 -1
  735. package/src/features/unified-share-modal/ContactRestrictionNotice.js +36 -6
  736. package/src/features/unified-share-modal/EmailForm.js +31 -13
  737. package/src/features/unified-share-modal/UnifiedShareForm.js +25 -8
  738. package/src/features/unified-share-modal/UnifiedShareModal.js +1 -0
  739. package/src/features/unified-share-modal/__tests__/ContactRestrictionNotice.test.js +55 -6
  740. package/src/features/unified-share-modal/__tests__/EmailForm.test.js +131 -24
  741. package/src/features/unified-share-modal/__tests__/UnifiedShareForm.test.js +89 -35
  742. package/src/features/unified-share-modal/__tests__/__snapshots__/UnifiedShareForm.test.js.snap +16 -0
  743. package/src/features/unified-share-modal/__tests__/__snapshots__/UnifiedShareModal.test.js.snap +17 -0
  744. package/src/features/unified-share-modal/flowTypes.js +4 -2
  745. package/src/features/unified-share-modal/messages.js +14 -8
  746. package/src/features/unified-share-modal/utils/__tests__/hasRestrictedContacts.test.js +24 -10
  747. package/src/features/unified-share-modal/utils/__tests__/isRestrictedContact.test.js +33 -0
  748. package/src/features/unified-share-modal/utils/hasRestrictedContacts.js +10 -3
  749. package/src/features/unified-share-modal/utils/isRestrictedContact.js +21 -0
  750. package/src/features/virtualized-table/__tests__/__snapshots__/VirtualizedTable.test.js.snap +1 -0
  751. package/src/icon/fill/Alert16.js.flow +3 -2
  752. package/src/icon/fill/Alert16.tsx +3 -2
  753. package/src/icon/fill/AlertBadge16.js.flow +29 -0
  754. package/src/icon/fill/AlertBadge16.stories.tsx +13 -0
  755. package/src/icon/fill/AlertBadge16.tsx +27 -0
  756. package/src/icon/fill/Info16.js.flow +1 -1
  757. package/src/icon/fill/Info16.tsx +1 -1
  758. package/src/icon/fill/InfoBadge16.js.flow +28 -0
  759. package/src/icon/fill/InfoBadge16.stories.tsx +13 -0
  760. package/src/icon/fill/InfoBadge16.tsx +26 -0
  761. package/src/icon/line/AlertBubble16.js.flow +29 -0
  762. package/src/icon/line/AlertBubble16.stories.tsx +13 -0
  763. package/src/icon/line/AlertBubble16.tsx +27 -0
  764. package/src/icon/line/AvatarXBadge16.js.flow +39 -0
  765. package/src/icon/line/AvatarXBadge16.stories.tsx +13 -0
  766. package/src/icon/line/AvatarXBadge16.tsx +37 -0
  767. package/src/icon/line/CoEdit16.js.flow +30 -0
  768. package/src/icon/line/CoEdit16.stories.tsx +13 -0
  769. package/src/icon/line/CoEdit16.tsx +28 -0
  770. package/src/icon/line/Collaborations16.js.flow +30 -0
  771. package/src/icon/line/Collaborations16.stories.tsx +13 -0
  772. package/src/icon/line/Collaborations16.tsx +28 -0
  773. package/src/icon/line/CommentBubble16.js.flow +34 -0
  774. package/src/icon/line/CommentBubble16.stories.tsx +13 -0
  775. package/src/icon/line/CommentBubble16.tsx +32 -0
  776. package/src/styles/constants/_layout.scss +1 -1
  777. package/src/styles/constants/_media-queries.scss +2 -0
  778. package/src/styles/variables.js +4 -2
  779. package/src/styles/variables.json +4 -2
  780. package/src/styles/variables.ts +3 -1
  781. package/src/utils/__tests__/fields.test.js +23 -4
  782. package/src/utils/__tests__/sorter.test.js +3 -3
  783. package/src/utils/error.js +5 -1
  784. package/src/utils/fields.js +21 -3
  785. package/src/utils/sorter.js +2 -2
  786. package/es/common/types/threadedComments.js +0 -2
  787. package/es/common/types/threadedComments.js.flow +0 -9
  788. package/src/common/types/threadedComments.js +0 -9
@@ -458,27 +458,27 @@ const messages = defineMessages({
458
458
  id: 'boxui.unifiedShare.recommendedSharingTooltipCalloutText',
459
459
  },
460
460
 
461
- // External collab restrictions and business justifications
461
+ // Information Barrier restrictions, external collab restrictions and business justifications
462
462
  justificationSelectPlaceholder: {
463
463
  defaultMessage: 'Select Justification',
464
464
  description: 'The placeholder text of the select field that allows selecting a business justification reason',
465
465
  id: 'boxui.unifiedShare.justificationSelectPlaceholder',
466
466
  },
467
467
  justificationRequiredError: {
468
- defaultMessage: 'Select a justification or remove people to continue',
468
+ defaultMessage: 'Select a justification or remove to continue',
469
469
  description:
470
470
  'The error message that is displayed when a user tries to send invitations to external collaborators, but a business justification is required before proceeding',
471
471
  id: 'boxui.unifiedShare.justificationRequiredError',
472
472
  },
473
473
  restrictedContactsError: {
474
- defaultMessage: 'Remove people to continue',
474
+ defaultMessage: 'Remove to continue',
475
475
  description:
476
476
  'The error message that is displayed when a user tries to send invitations to external collaborators, but restricted contacts need to be removed before proceeding',
477
477
  id: 'boxui.unifiedShare.restrictedContactsError',
478
478
  },
479
479
  justifiableContactRestrictionNotice: {
480
480
  defaultMessage:
481
- 'This content requires a business justification to invite {count, plural, one {{count} person} other {{count} people}}. Please select a business justification below.',
481
+ 'This content requires a business justification for {count, plural, one {{count} invitation} other {{count} invitations}}. Please select a business justification below.',
482
482
  description:
483
483
  'Text for the notice that is displayed when there are collaboration restrictions that apply to one or more of the selected contacts and business justifications are allowed for bypassing restrictions',
484
484
  id: 'boxui.unifiedShare.justifiableContactRestrictionNotice',
@@ -491,14 +491,14 @@ const messages = defineMessages({
491
491
  id: 'boxui.unifiedShare.justifiableContactRestrictionNoticeSingular',
492
492
  },
493
493
  justifiableContactRestrictionRemoveButtonLabel: {
494
- defaultMessage: 'Alternatively, remove {count, plural, one {the person} other {{count} people}} and continue',
494
+ defaultMessage: 'Alternatively, remove to continue',
495
495
  description:
496
496
  'Label for the button that removes restricted contacts on the contact restriction notice when business justifications are allowed for bypassing restrictions',
497
497
  id: 'boxui.unifiedShare.justifiableContactRestrictionRemoveButtonLabel',
498
498
  },
499
499
  contactRestrictionNotice: {
500
500
  defaultMessage:
501
- 'Invitations cannot be sent to {count, plural, one {{count} person} other {{count} people}} because external collaboration is restricted due to the applied security policy.',
501
+ '{count, plural, one {{count} invitation} other {{count} invitations}} cannot be sent because external collaboration is restricted due to the applied security policy.',
502
502
  description:
503
503
  'Text for the notice that is displayed when there are collaboration restrictions that apply to one or more of the selected contacts',
504
504
  id: 'boxui.unifiedShare.contactRestrictionNotice',
@@ -512,7 +512,7 @@ const messages = defineMessages({
512
512
  },
513
513
  contactRestrictionNoticeInformationBarrier: {
514
514
  defaultMessage:
515
- 'Invitations cannot be sent to {count, plural, one {{count} person} other {{count} people}} due to a security policy.',
515
+ '{count, plural, one {{count} invitation} other {{count} invitations}} cannot be sent due to a security policy.',
516
516
  description:
517
517
  'Text for the notice that is displayed when there are Information Barrier collaboration restrictions that apply to one or more of the selected contacts',
518
518
  id: 'boxui.unifiedShare.contactRestrictionNoticeInformationBarrier',
@@ -523,8 +523,14 @@ const messages = defineMessages({
523
523
  'Text for the notice that is displayed when there are Information Barrier collaboration restrictions that apply to only one of the selected contacts',
524
524
  id: 'boxui.unifiedShare.contactRestrictionNoticeInformationBarrierSingular',
525
525
  },
526
+ contactRestrictionNoticeInformationBarrierSingularGroup: {
527
+ defaultMessage: 'Invitations cannot be sent to "{groupName}" due to a security policy.',
528
+ description:
529
+ 'Text for the notice that is displayed when there are Information Barrier collaboration restrictions that apply to only one of the selected contacts, which is a group',
530
+ id: 'boxui.unifiedShare.contactRestrictionNoticeInformationBarrierSingularGroup',
531
+ },
526
532
  contactRestrictionRemoveButtonLabel: {
527
- defaultMessage: 'Remove {count, plural, one {the person} other {{count} people}} and continue',
533
+ defaultMessage: 'Remove to continue',
528
534
  description: 'Label for the button that removes restricted contacts on the contact restriction notice',
529
535
  id: 'boxui.unifiedShare.contactRestrictionRemoveButtonLabel',
530
536
  },
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/features/unified-share-modal/messages.js"],"names":["defineMessages","messages","contentSharedWithExternalCollaborators","disabledShareLinkPermission","disabledMaliciousContentShareLinkPermission","enterAtLeastOneEmailError","contactsExceedLimitError","enterEmailAddressesCalloutText","ftuxNewUSMUserTitle","ftuxNewUSMUserBody","ftuxLinkText","ftuxConfirmLabel","ftuxEditPermissionTooltipBody","ftuxEditPermissionTooltipTitle","collaboratorListTitle","expirationTooltipClickableText","groupLabel","modalTitle","emailModalTitle","inviteDisabledTooltip","inviteDisabledWeblinkTooltip","inviteFieldLabel","sharedLinkSectionLabel","sharedLinkURLLabel","settingsButtonLabel","linkShareOff","linkShareOn","messageTitle","suggestedCollabsTitle","peopleInEnterpriseName","peopleInYourCompany","peopleInThisFolder","peopleInThisFile","peopleWithTheLinkText","removeLinkConfirmationTitle","removeLinkConfirmationDescription","removeLinkTooltip","disabledCreateLinkTooltip","sendSharedLink","sendSharedLinkFieldLabel","sharedLinkExpirationTooltip","sharedLinkPermissionsViewDownload","sharedLinkPermissionsViewOnly","ftuxSharedLinkPermissionsEditTag","sharedLinkPermissionsEdit","sharedLinkPermissionsEditTooltip","sharedLinkDisabledTooltipCopy","sharedLinkSettingsCalloutText","sharedLinkPubliclyAvailable","sharedLinkEditablePubliclyAvailable","sharedLinkElevatedEditableCompanyAvailable","upgradeGetMoreAccessControlsDescription","upgradeGetMoreAccessControlsLink","upgradeLink","upgradeInlineNoticeTitle","sharedLinkSettings","peopleWithLinkDescription","peopleInSpecifiedCompanyCanAccessFolder","peopleInCompanyCanAccessFolder","peopleInSpecifiedCompanyCanAccessFile","peopleInCompanyCanAccessFile","peopleInItemCanAccessFolder","peopleInItemCanAccessFile","coownerLevelButtonLabel","coownerLevelText","coownerLevelDescription","editorLevelButtonLabel","editorLevelText","editorLevelDescription","editorLevelFileDescription","previewerLevelButtonLabel","previewerLevelText","previewerLevelDescription","previewerUploaderLevelButtonLabel","previewerUploaderLevelText","previewerUploaderLevelDescription","viewerLevelButtonLabel","viewerLevelText","viewerLevelDescription","viewerUploaderLevelButtonLabel","viewerUploaderLevelText","viewerUploaderLevelDescription","uploaderLevelButtonLabel","uploaderLevelText","uploaderLevelDescription","userCollabText","groupCollabText","recommendedSharingTooltipCalloutText","justificationSelectPlaceholder","justificationRequiredError","restrictedContactsError","justifiableContactRestrictionNotice","justifiableContactRestrictionNoticeSingular","justifiableContactRestrictionRemoveButtonLabel","contactRestrictionNotice","contactRestrictionNoticeSingular","contactRestrictionNoticeInformationBarrier","contactRestrictionNoticeInformationBarrierSingular","contactRestrictionRemoveButtonLabel","contactEmailsTooltipText"],"mappings":"AAAA,SAASA,cAAT,QAA+B,YAA/B;AAEA,IAAMC,QAAQ,GAAGD,cAAc,CAAC;AAC5BE,EAAAA,sCAAsC;AAAA;AAAA;AAAA,GADV;AAM5BC,EAAAA,2BAA2B;AAAA;AAAA;AAAA,GANC;AAY5BC,EAAAA,2CAA2C;AAAA;AAAA;AAAA,GAZf;AAiB5BC,EAAAA,yBAAyB;AAAA;AAAA;AAAA,GAjBG;AAsB5BC,EAAAA,wBAAwB;AAAA;AAAA;AAAA,GAtBI;AA4B5BC,EAAAA,8BAA8B;AAAA;AAAA;AAAA,GA5BF;AAkC5BC,EAAAA,mBAAmB;AAAA;AAAA;AAAA,GAlCS;AAuC5BC,EAAAA,kBAAkB;AAAA;AAAA;AAAA,GAvCU;AA6C5BC,EAAAA,YAAY;AAAA;AAAA;AAAA,GA7CgB;AAkD5BC,EAAAA,gBAAgB;AAAA;AAAA;AAAA,GAlDY;AAuD5BC,EAAAA,6BAA6B;AAAA;AAAA;AAAA,GAvDD;AA6D5BC,EAAAA,8BAA8B;AAAA;AAAA;AAAA,GA7DF;AAmE5BC,EAAAA,qBAAqB;AAAA;AAAA;AAAA,GAnEO;AAwE5BC,EAAAA,8BAA8B;AAAA;AAAA;AAAA,GAxEF;AA6E5BC,EAAAA,UAAU;AAAA;AAAA;AAAA,GA7EkB;AAkF5BC,EAAAA,UAAU;AAAA;AAAA;AAAA,GAlFkB;AAuF5BC,EAAAA,eAAe;AAAA;AAAA;AAAA,GAvFa;AA6F5BC,EAAAA,qBAAqB;AAAA;AAAA;AAAA,GA7FO;AAkG5BC,EAAAA,4BAA4B;AAAA;AAAA;AAAA,GAlGA;AAuG5BC,EAAAA,gBAAgB;AAAA;AAAA;AAAA,GAvGY;AA4G5BC,EAAAA,sBAAsB;AAAA;AAAA;AAAA,GA5GM;AAiH5BC,EAAAA,kBAAkB;AAAA;AAAA;AAAA,GAjHU;AAsH5BC,EAAAA,mBAAmB;AAAA;AAAA;AAAA,GAtHS;AA2H5BC,EAAAA,YAAY;AAAA;AAAA;AAAA,GA3HgB;AAgI5BC,EAAAA,WAAW;AAAA;AAAA;AAAA,GAhIiB;AAqI5BC,EAAAA,YAAY;AAAA;AAAA;AAAA,GArIgB;AA0I5BC,EAAAA,qBAAqB;AAAA;AAAA;AAAA,GA1IO;AAgJ5B;AACAC,EAAAA,sBAAsB;AAAA;AAAA;AAAA,GAjJM;AAsJ5BC,EAAAA,mBAAmB;AAAA;AAAA;AAAA,GAtJS;AA2J5BC,EAAAA,kBAAkB;AAAA;AAAA;AAAA,GA3JU;AAgK5BC,EAAAA,gBAAgB;AAAA;AAAA;AAAA,GAhKY;AAqK5BC,EAAAA,qBAAqB;AAAA;AAAA;AAAA,GArKO;AA2K5BC,EAAAA,2BAA2B;AAAA;AAAA;AAAA,GA3KC;AAgL5BC,EAAAA,iCAAiC;AAAA;AAAA;AAAA,GAhLL;AAsL5BC,EAAAA,iBAAiB;AAAA;AAAA;AAAA,GAtLW;AA2L5BC,EAAAA,yBAAyB;AAAA;AAAA;AAAA,GA3LG;AAgM5BC,EAAAA,cAAc;AAAA;AAAA;AAAA,GAhMc;AAqM5BC,EAAAA,wBAAwB;AAAA;AAAA;AAAA,GArMI;AA0M5BC,EAAAA,2BAA2B;AAAA;AAAA;AAAA,GA1MC;AAiN5B;AACAC,EAAAA,iCAAiC;AAAA;AAAA;AAAA,GAlNL;AAuN5BC,EAAAA,6BAA6B;AAAA;AAAA;AAAA,GAvND;AA4N5BC,EAAAA,gCAAgC;AAAA;AAAA;AAAA,GA5NJ;AAkO5BC,EAAAA,yBAAyB;AAAA;AAAA;AAAA,GAlOG;AAuO5BC,EAAAA,gCAAgC;AAAA;AAAA;AAAA,GAvOJ;AA4O5BC,EAAAA,6BAA6B;AAAA;AAAA;AAAA,GA5OD;AAiP5BC,EAAAA,6BAA6B;AAAA;AAAA;AAAA,GAjPD;AAuP5BC,EAAAA,2BAA2B;AAAA;AAAA;AAAA,GAvPC;AA4P5BC,EAAAA,mCAAmC;AAAA;AAAA;AAAA,GA5PP;AAkQ5BC,EAAAA,0CAA0C;AAAA;AAAA;AAAA,GAlQd;AAuQ5BC,EAAAA,uCAAuC;AAAA;AAAA;AAAA,GAvQX;AA6Q5BC,EAAAA,gCAAgC;AAAA;AAAA;AAAA,GA7QJ;AAkR5BC,EAAAA,WAAW;AAAA;AAAA;AAAA,GAlRiB;AAuR5BC,EAAAA,wBAAwB;AAAA;AAAA;AAAA,GAvRI;AA4R5BC,EAAAA,kBAAkB;AAAA;AAAA;AAAA,GA5RU;AAkS5B;AACAC,EAAAA,yBAAyB;AAAA;AAAA;AAAA,GAnSG;AAwS5BC,EAAAA,uCAAuC;AAAA;AAAA;AAAA,GAxSX;AA6S5BC,EAAAA,8BAA8B;AAAA;AAAA;AAAA,GA7SF;AAkT5BC,EAAAA,qCAAqC;AAAA;AAAA;AAAA,GAlTT;AAuT5BC,EAAAA,4BAA4B;AAAA;AAAA;AAAA,GAvTA;AA4T5BC,EAAAA,2BAA2B;AAAA;AAAA;AAAA,GA5TC;AAiU5BC,EAAAA,yBAAyB;AAAA;AAAA;AAAA,GAjUG;AAuU5B;AACAC,EAAAA,uBAAuB;AAAA;AAAA;AAAA,GAxUK;AA6U5BC,EAAAA,gBAAgB;AAAA;AAAA;AAAA,GA7UY;AAkV5BC,EAAAA,uBAAuB;AAAA;AAAA;AAAA,GAlVK;AAuV5BC,EAAAA,sBAAsB;AAAA;AAAA;AAAA,GAvVM;AA4V5BC,EAAAA,eAAe;AAAA;AAAA;AAAA,GA5Va;AAiW5BC,EAAAA,sBAAsB;AAAA;AAAA;AAAA,GAjWM;AAsW5BC,EAAAA,0BAA0B;AAAA;AAAA;AAAA,GAtWE;AA2W5BC,EAAAA,yBAAyB;AAAA;AAAA;AAAA,GA3WG;AAgX5BC,EAAAA,kBAAkB;AAAA;AAAA;AAAA,GAhXU;AAqX5BC,EAAAA,yBAAyB;AAAA;AAAA;AAAA,GArXG;AA0X5BC,EAAAA,iCAAiC;AAAA;AAAA;AAAA,GA1XL;AA+X5BC,EAAAA,0BAA0B;AAAA;AAAA;AAAA,GA/XE;AAoY5BC,EAAAA,iCAAiC;AAAA;AAAA;AAAA,GApYL;AAyY5BC,EAAAA,sBAAsB;AAAA;AAAA;AAAA,GAzYM;AA8Y5BC,EAAAA,eAAe;AAAA;AAAA;AAAA,GA9Ya;AAmZ5BC,EAAAA,sBAAsB;AAAA;AAAA;AAAA,GAnZM;AAwZ5BC,EAAAA,8BAA8B;AAAA;AAAA;AAAA,GAxZF;AA6Z5BC,EAAAA,uBAAuB;AAAA;AAAA;AAAA,GA7ZK;AAka5BC,EAAAA,8BAA8B;AAAA;AAAA;AAAA,GAlaF;AAua5BC,EAAAA,wBAAwB;AAAA;AAAA;AAAA,GAvaI;AA4a5BC,EAAAA,iBAAiB;AAAA;AAAA;AAAA,GA5aW;AAib5BC,EAAAA,wBAAwB;AAAA;AAAA;AAAA,GAjbI;AAub5B;AACAC,EAAAA,cAAc;AAAA;AAAA;AAAA,GAxbc;AA6b5BC,EAAAA,eAAe;AAAA;AAAA;AAAA,GA7ba;AAmc5B;AACAC,EAAAA,oCAAoC;AAAA;AAAA;AAAA,GApcR;AA0c5B;AACAC,EAAAA,8BAA8B;AAAA;AAAA;AAAA,GA3cF;AAgd5BC,EAAAA,0BAA0B;AAAA;AAAA;AAAA,GAhdE;AAsd5BC,EAAAA,uBAAuB;AAAA;AAAA;AAAA,GAtdK;AA4d5BC,EAAAA,mCAAmC;AAAA;AAAA;AAAA,GA5dP;AAme5BC,EAAAA,2CAA2C;AAAA;AAAA;AAAA,GAnef;AA0e5BC,EAAAA,8CAA8C;AAAA;AAAA;AAAA,GA1elB;AAgf5BC,EAAAA,wBAAwB;AAAA;AAAA;AAAA,GAhfI;AAuf5BC,EAAAA,gCAAgC;AAAA;AAAA;AAAA,GAvfJ;AA8f5BC,EAAAA,0CAA0C;AAAA;AAAA;AAAA,GA9fd;AAqgB5BC,EAAAA,kDAAkD;AAAA;AAAA;AAAA,GArgBtB;AA2gB5BC,EAAAA,mCAAmC;AAAA;AAAA;AAAA,GA3gBP;AAghB5BC,EAAAA,wBAAwB;AAAA;AAAA;AAAA;AAhhBI,CAAD,CAA/B;AAwhBA,eAAelG,QAAf","sourcesContent":["import { defineMessages } from 'react-intl';\n\nconst messages = defineMessages({\n contentSharedWithExternalCollaborators: {\n defaultMessage: 'This content will be shared with external collaborators.',\n description: 'Text shown in share modal when there is at least one external collaborators',\n id: 'boxui.unifiedShare.contentSharedWithExternalCollaborators',\n },\n disabledShareLinkPermission: {\n defaultMessage: 'This option is not available due to a security policy.',\n description:\n 'Tooltip text for when shared permission option is not available due to restriction or classification',\n id: 'boxui.unifiedShare.disabledShareLinkPermission',\n },\n disabledMaliciousContentShareLinkPermission: {\n defaultMessage: 'This option isn’t available for this item due to a security policy.',\n description: 'Tooltip text for when shared permission option is not available due to security policy',\n id: 'boxui.unifiedShare.disabledMaliciousContentShareLinkPermission',\n },\n enterAtLeastOneEmailError: {\n defaultMessage: 'Enter at least one valid email',\n description: 'Error message when user tries to send Shared Link as email without entering any recipients',\n id: 'boxui.unifiedShare.enterAtLeastOneEmail',\n },\n contactsExceedLimitError: {\n defaultMessage:\n 'Oops! The maximum number of collaborators that can be added at once is {maxContacts} collaborators. Please try again by splitting your invitations into batches.',\n description: 'Error message when more than the maximum number of contacts is entered',\n id: 'boxui.unifiedShare.contactsExceedLimitError',\n },\n enterEmailAddressesCalloutText: {\n defaultMessage: 'Share this item with coworkers by entering their email addresses',\n description:\n 'Tooltip text shown in the share modal, encouraging users to enter email addresses to share the item with',\n id: 'boxui.unifiedShare.enterEmailAddressesCalloutText',\n },\n ftuxNewUSMUserTitle: {\n defaultMessage: 'Simplified sharing for files and folders',\n description: 'This title appears in the callout when loading the modal, to let users know about the new UI',\n id: 'boxui.unifiedShare.ftuxNewUsmUserTitle',\n },\n ftuxNewUSMUserBody: {\n defaultMessage:\n \"We’ve simplified the sharing experience when you click 'Share'. Invite people to this item here and toggle the link on or off below for easy sharing.\",\n description: 'This text describes the purpose of the new UI, using the button label to open the modal',\n id: 'boxui.unifiedShare.ftuxNewUSMUserBody',\n },\n ftuxLinkText: {\n defaultMessage: 'Read more about shared link security here.',\n description: 'Text on the link which allows to learn more about link security',\n id: 'boxui.unifiedShare.ftuxLinkText',\n },\n ftuxConfirmLabel: {\n defaultMessage: 'Got it',\n description: 'This is label for the button so a user understands the new interface',\n id: 'boxui.unifiedShare.ftuxConfirmLabel',\n },\n ftuxEditPermissionTooltipBody: {\n defaultMessage: 'Select the new edit option to easily share your file with people or groups.',\n description:\n 'Text for the body of the tooltip for the ftux experience when the edit option is available for the user',\n id: 'boxui.unifiedShare.ftuxEditPermissionTooltipBody',\n },\n ftuxEditPermissionTooltipTitle: {\n defaultMessage: 'Collaboration made easy',\n description:\n 'Text for the title of the tooltip for the ftux experience when the edit option is available for the user',\n id: 'boxui.unifiedShare.ftuxEditPermissionTooltipTitle',\n },\n collaboratorListTitle: {\n defaultMessage: 'People in ‘{itemName}’',\n description: 'Title for collaborator list modal',\n id: 'boxui.unifiedShare.collaboratorListTitle',\n },\n expirationTooltipClickableText: {\n defaultMessage: 'Access expires on {date}. Click for details.',\n description: 'This string is displayed as tooltip on hovering over expire icon for collab',\n id: 'boxui.unifiedShare.collaborators.expirationTooltipClickableText',\n },\n groupLabel: {\n defaultMessage: 'Group',\n description: 'Label for a Group contact type',\n id: 'boxui.unifiedShare.groupLabel',\n },\n modalTitle: {\n defaultMessage: 'Share ‘{itemName}’',\n description: 'Title of the Unified Share Modal. {itemName} is the name of the file / folder being shared',\n id: 'boxui.unifiedShare.modalTitle',\n },\n emailModalTitle: {\n defaultMessage: 'Send Link to ‘{itemName}’',\n description:\n 'The message to show when you have clicked the button to send the email to a new collaborator (title case)',\n id: 'boxui.unifiedShare.emailModalTitle',\n },\n inviteDisabledTooltip: {\n defaultMessage: 'You do not have permission to invite collaborators.',\n description: 'Invite Collaborators disabled state tooltip',\n id: 'boxui.unifiedShare.inviteDisabledTooltip',\n },\n inviteDisabledWeblinkTooltip: {\n defaultMessage: 'Collaborators cannot be added to bookmarks.',\n description: 'Invite Collaborators disabled state tooltip due to item being weblink',\n id: 'boxui.unifiedShare.inviteDisabledWeblinkTooltip',\n },\n inviteFieldLabel: {\n defaultMessage: 'Invite People',\n description: 'Label of the field where a user designates who to invite to collaborate on an item',\n id: 'boxui.unifiedShare.inviteFieldLabel',\n },\n sharedLinkSectionLabel: {\n defaultMessage: 'Share Link',\n description: 'Label for the shared link section of the unified share modal',\n id: 'boxui.unifiedShare.sharedLinkSectionLabel',\n },\n sharedLinkURLLabel: {\n defaultMessage: 'URL',\n description: 'Accessible label for shared link input field',\n id: 'boxui.share.sharedLinkURLLabel',\n },\n settingsButtonLabel: {\n defaultMessage: 'Open shared link settings popup',\n description: 'Accessible label for button that loads share settings popup',\n id: 'boxui.unifiedShare.settingsButtonLabel',\n },\n linkShareOff: {\n defaultMessage: 'Create shared link',\n description: 'Call to action text for allowing the user to create a new shared link',\n id: 'boxui.unifiedShare.linkShareOff',\n },\n linkShareOn: {\n defaultMessage: 'Shared link is created',\n description: 'Call to action text for allowing the user to remove an existing shared link',\n id: 'boxui.unifiedShare.linkShareOn',\n },\n messageTitle: {\n defaultMessage: 'Message',\n description: 'Label for \"Message\" text box to email the shared Link',\n id: 'boxui.unifiedShare.message',\n },\n suggestedCollabsTitle: {\n defaultMessage: 'Suggested',\n description: 'Title for suggested collaborators that can be added to the form',\n id: 'boxui.unifiedShare.suggestedCollabsTitle',\n },\n\n // shared link access labels\n peopleInEnterpriseName: {\n defaultMessage: 'People in {enterpriseName}',\n description: 'Label for \"People in {enterpriseName}\" option',\n id: 'boxui.unifiedShare.peopleInEnterpriseName',\n },\n peopleInYourCompany: {\n defaultMessage: 'People in your company',\n description: 'Label for \"People in your company\" option',\n id: 'boxui.unifiedShare.peopleInYourCompany',\n },\n peopleInThisFolder: {\n defaultMessage: 'Invited people only',\n description: 'Label for \"People in this folder\" option',\n id: 'boxui.unifiedShare.peopleInThisFolder',\n },\n peopleInThisFile: {\n defaultMessage: 'Invited people only',\n description: 'Label for \"People in this file\" option',\n id: 'boxui.unifiedShare.peopleInThisFile',\n },\n peopleWithTheLinkText: {\n defaultMessage: 'People with the link',\n description: 'Text to show that those having the link will have access',\n id: 'boxui.unifiedShare.peopleWithTheLinkText',\n },\n\n removeLinkConfirmationTitle: {\n defaultMessage: 'Remove Shared Link',\n description: 'Label for confirmation modal to remove a shared link (title-case)',\n id: 'boxui.unifiedShare.removeLinkConfirmationTitle',\n },\n removeLinkConfirmationDescription: {\n defaultMessage:\n 'This will permanently remove the shared link. If this item is embedded on other sites it will also become inaccessible. Any custom properties, settings and expirations will be removed as well. Do you want to continue?',\n description: 'Description for confirmation modal to remove a shared link',\n id: 'boxui.unifiedShare.removeLinkConfirmationDescription',\n },\n removeLinkTooltip: {\n defaultMessage: 'You do not have permission to remove the link.',\n description: 'Tooltip description for not having access to remove link',\n id: 'boxui.unifiedShare.removeLinkTooltip',\n },\n disabledCreateLinkTooltip: {\n defaultMessage: 'You do not have permission to create the link.',\n description: 'Tooltip description for users who do not have permission for link creation',\n id: 'boxui.unifiedShare.disabledCreateLinkTooltip',\n },\n sendSharedLink: {\n defaultMessage: 'Send Shared Link',\n description: 'Tooltip text for email shared link button (title-case)',\n id: 'boxui.unifiedShare.sendSharedLink',\n },\n sendSharedLinkFieldLabel: {\n defaultMessage: 'Email Shared Link',\n description: 'Field label for shared link recipient list (title-case)',\n id: 'boxui.unifiedShare.sendSharedLinkFieldLabel',\n },\n sharedLinkExpirationTooltip: {\n defaultMessage: 'This link will expire and be inaccessible on {expiration, date, long}.',\n description:\n 'Tooltip describing when this shared link will expire. {expiration, date, long} is the formatted date',\n id: 'boxui.unifiedShare.sharedLinkExpirationTooltip',\n },\n\n // shared link permissions\n sharedLinkPermissionsViewDownload: {\n defaultMessage: 'Can view and download',\n description: 'Label for a shared link permission level',\n id: 'boxui.unifiedShare.sharedLinkPermissionsViewDownload',\n },\n sharedLinkPermissionsViewOnly: {\n defaultMessage: 'Can view only',\n description: 'Label for a shared link permission level',\n id: 'boxui.unifiedShare.sharedLinkPermissionsViewOnly',\n },\n ftuxSharedLinkPermissionsEditTag: {\n defaultMessage: 'NEW',\n description:\n 'Label for the LabelPill that is shown when the user first opens the SharedLinkPermissions dropdown and sees the Can Edit option',\n id: 'boxui.unifiedShare.ftuxSharedLinkPermissionsEditTag',\n },\n sharedLinkPermissionsEdit: {\n defaultMessage: 'Can edit',\n description: 'Label for a shared link permission to show for an editable box note / file',\n id: 'boxui.unifiedShare.sharedLinkPermissionsEdit',\n },\n sharedLinkPermissionsEditTooltip: {\n defaultMessage: 'This permission can only be changed in Box Notes',\n description: 'Text to use in the tooltip when presenting an editable Box Note (DO NOT TRANSLATE \"Box Notes\")',\n id: 'boxui.unifiedShare.sharedLinkPermissionsEditTooltip',\n },\n sharedLinkDisabledTooltipCopy: {\n defaultMessage: 'Create and copy link for sharing',\n description: 'This tooltip appears over the shared link toggle, explaining what happens when it is clicked',\n id: 'boxui.unifiedShare.sharedLinkDisabledTooltipCopy',\n },\n sharedLinkSettingsCalloutText: {\n defaultMessage: 'Create a custom URL, enable password protection, enable link expiration, and much more',\n description:\n 'Tooltip text shown in the share modal, next to the settings gear, describing what settings can be changed',\n id: 'boxui.unifiedShare.sharedLinkSettingsCalloutText',\n },\n sharedLinkPubliclyAvailable: {\n defaultMessage: 'This content is publicly available to anyone with the link.',\n description: 'Text shown in share modal when shared link is open to public access',\n id: 'boxui.unifiedShare.sharedLinkPubliclyAvailable',\n },\n sharedLinkEditablePubliclyAvailable: {\n defaultMessage:\n 'Publicly available for anyone to view and download. Any logged in users with the link can edit.',\n description: 'Text shown in share modal when shared link is editable and is open to public access',\n id: 'boxui.unifiedShare.sharedLinkEditablePubliclyAvailable',\n },\n sharedLinkElevatedEditableCompanyAvailable: {\n defaultMessage: 'People who have access to this link can edit.',\n description: 'Text shown in share modal when shared link is editable and is open to company access',\n id: 'boxui.unifiedShare.sharedLinkElevatedEditableCompanyAvailable',\n },\n upgradeGetMoreAccessControlsDescription: {\n defaultMessage:\n '62% of customers on your plan {upgradeGetMoreAccessControlsLink} to manage collaborators’ access and permission settings',\n description: 'Description for cta to upgrade to get more access controls for inviting collaborators to an item',\n id: 'boxui.unifiedShare.upgradeGetMoreAccessControlsDescription',\n },\n upgradeGetMoreAccessControlsLink: {\n defaultMessage: 'upgrade',\n description: 'Label for link to upgrade to get more access controls for inviting collaborators to an item',\n id: 'boxui.unifiedShare.upgradeGetMoreAccessControlsLink',\n },\n upgradeLink: {\n defaultMessage: 'Upgrade now',\n description: 'Label for link to upgrade account',\n id: 'boxui.unifiedShare.upgradeLink',\n },\n upgradeInlineNoticeTitle: {\n defaultMessage: 'Upgrade Your Plan',\n description: 'Title for the upgrade inline notice for upgrade user plan',\n id: 'boxui.unifiedShare.upgradeInlineNoticeTitle',\n },\n sharedLinkSettings: {\n defaultMessage: 'Link Settings',\n description: 'Description of the shared link settings modal entry point. This shows link-specific options.',\n id: 'boxui.unifiedShare.sharedLinkSettings',\n },\n\n // shared link access descriptions\n peopleWithLinkDescription: {\n defaultMessage: 'Publicly accessible and no sign-in required',\n description: 'Description of an open shared link',\n id: 'boxui.unifiedShare.peopleWithLinkDescription',\n },\n peopleInSpecifiedCompanyCanAccessFolder: {\n defaultMessage: 'Anyone at {company} with the link or people invited to this folder can access',\n description: 'Description of a specific company shared link for a folder. {company} is the company name',\n id: 'boxui.unifiedShare.peopleInSpecifiedCompanyCanAccessFolder',\n },\n peopleInCompanyCanAccessFolder: {\n defaultMessage: 'Anyone in your company with the link or people invited to this folder can access',\n description: 'Description of a company shared link for a folder.',\n id: 'boxui.unifiedShare.peopleInCompanyCanAccessFolder',\n },\n peopleInSpecifiedCompanyCanAccessFile: {\n defaultMessage: 'Anyone at {company} with the link or people invited to this file can access',\n description: 'Description of a specific company shared link for a file. {company} is the company name',\n id: 'boxui.unifiedShare.peopleInSpecifiedCompanyCanAccessFile',\n },\n peopleInCompanyCanAccessFile: {\n defaultMessage: 'Anyone in your company with the link or people invited to this file can access',\n description: 'Description of a company shared link for a file.',\n id: 'boxui.unifiedShare.peopleInCompanyCanAccessFile',\n },\n peopleInItemCanAccessFolder: {\n defaultMessage: 'Only invited people can access this folder',\n description: 'Description of a collaborator-only shared link for a folder',\n id: 'boxui.unifiedShare.peopleInItemCanAccessFolder',\n },\n peopleInItemCanAccessFile: {\n defaultMessage: 'Only invited people can access this file',\n description: 'Description of a collaborator-only shared link for a file',\n id: 'boxui.unifiedShare.peopleInItemCanAccessFile',\n },\n\n // invite collabs levels\n coownerLevelButtonLabel: {\n defaultMessage: 'Invite as Co-owner',\n description: 'Text used in button label to describe permission level - co-owner',\n id: 'boxui.unifiedShare.coownerLevelButtonLabel',\n },\n coownerLevelText: {\n defaultMessage: 'Co-owner',\n description: 'Text for Co-owner permission level in permissions table',\n id: 'boxui.unifiedShare.coownerLevelText',\n },\n coownerLevelDescription: {\n defaultMessage: 'Manage security, upload, download, preview, share, edit, and delete',\n description: 'Description for Co-owner permission level in permissions table',\n id: 'boxui.unifiedShare.coownerLevelDescription',\n },\n editorLevelButtonLabel: {\n defaultMessage: 'Invite as Editor',\n description: 'Text used in button label to describe permission level - editor',\n id: 'boxui.unifiedShare.editorLevelButtonLabel',\n },\n editorLevelText: {\n defaultMessage: 'Editor',\n description: 'Text for Editor permission level in invitee permission dropdown',\n id: 'boxui.unifiedShare.editorLevelText',\n },\n editorLevelDescription: {\n defaultMessage: 'Upload, download, preview, share, edit, and delete',\n description: 'Description for Editor permission level in invitee permission dropdown',\n id: 'boxui.unifiedShare.editorLevelDescription',\n },\n editorLevelFileDescription: {\n defaultMessage: 'Upload, download, preview, share, and edit',\n description: 'Description for Editor permission level in invitee permission dropdown for files',\n id: 'boxui.unifiedShare.editorLevelFileDescription',\n },\n previewerLevelButtonLabel: {\n defaultMessage: 'Invite as Previewer',\n description: 'Text used in button label to describe permission level - previewer',\n id: 'boxui.unifiedShare.previewerLevelButtonLabel',\n },\n previewerLevelText: {\n defaultMessage: 'Previewer',\n description: 'Text for Previewer permission level in invitee permission dropdown',\n id: 'boxui.unifiedShare.previewerLevelText',\n },\n previewerLevelDescription: {\n defaultMessage: 'Preview only',\n description: 'Description for Previewer permission level in invitee permission dropdown',\n id: 'boxui.unifiedShare.previewerLevelDescription',\n },\n previewerUploaderLevelButtonLabel: {\n defaultMessage: 'Invite as Previewer Uploader',\n description: 'Text used in button label to describe permission level - previewer uploader',\n id: 'boxui.unifiedShare.previewerUploaderLevelButtonLabel',\n },\n previewerUploaderLevelText: {\n defaultMessage: 'Previewer Uploader',\n description: 'Text for Previewer Uploader permission level in invitee permission dropdown',\n id: 'boxui.unifiedShare.previewerUploaderLevelText',\n },\n previewerUploaderLevelDescription: {\n defaultMessage: 'Upload and preview',\n description: 'Description for Previewer Uploader permission level in invitee permission dropdown',\n id: 'boxui.unifiedShare.previewerUploaderLevelDescription',\n },\n viewerLevelButtonLabel: {\n defaultMessage: 'Invite as Viewer',\n description: 'Text used in button label to describe permission level - viewer',\n id: 'boxui.unifiedShare.viewerLevelButtonLabel',\n },\n viewerLevelText: {\n defaultMessage: 'Viewer',\n description: 'Text for Viewer permission level in invitee permission dropdown',\n id: 'boxui.unifiedShare.viewerLevelText',\n },\n viewerLevelDescription: {\n defaultMessage: 'Download, preview, and share',\n description: 'Description for Viewer permission level in invitee permission dropdown',\n id: 'boxui.unifiedShare.viewerLevelDescription',\n },\n viewerUploaderLevelButtonLabel: {\n defaultMessage: 'Invite as Viewer Uploader',\n description: 'Text used in button label to describe permission level - viewer uploader',\n id: 'boxui.unifiedShare.viewerUploaderLevelButtonLabel',\n },\n viewerUploaderLevelText: {\n defaultMessage: 'Viewer Uploader',\n description: 'Text for Viewer Uploader permission level in invitee permission dropdown',\n id: 'boxui.unifiedShare.viewerUploaderLevelText',\n },\n viewerUploaderLevelDescription: {\n defaultMessage: 'Upload, download, preview, share, and edit',\n description: 'Text for Viewer Uploader permission level in invitee permission dropdown',\n id: 'boxui.unifiedShare.viewerUploaderLevelDescription',\n },\n uploaderLevelButtonLabel: {\n defaultMessage: 'Invite as Uploader',\n description: 'Text used in button label to describe permission level - uploader',\n id: 'boxui.unifiedShare.uploaderLevelButtonLabel',\n },\n uploaderLevelText: {\n defaultMessage: 'Uploader',\n description: 'Text for Uploader permission level in invitee permission dropdown',\n id: 'boxui.unifiedShare.uploaderLevelText',\n },\n uploaderLevelDescription: {\n defaultMessage: 'Upload only',\n description: 'Description for Uploader permission level in invitee permission dropdown',\n id: 'boxui.unifiedShare.uploaderLevelDescription',\n },\n\n // Collaboration group type messages\n userCollabText: {\n defaultMessage: 'User',\n description: 'Text to display for individual users who have accepted an invitation to collaborate',\n id: 'boxui.unifiedShare.collaboration.userCollabText',\n },\n groupCollabText: {\n defaultMessage: 'Group',\n description: 'Text to display for a group of users who have accepted an invitation to collaborate',\n id: 'boxui.unifiedShare.collaboration.groupCollabText',\n },\n\n // Recommended Sharing Tooltip messages\n recommendedSharingTooltipCalloutText: {\n defaultMessage: 'Based on your usage, we think {fullName} would be interested in this file.',\n description: 'Tooltip description to explain recommendation for sharing tooltip',\n id: 'boxui.unifiedShare.recommendedSharingTooltipCalloutText',\n },\n\n // External collab restrictions and business justifications\n justificationSelectPlaceholder: {\n defaultMessage: 'Select Justification',\n description: 'The placeholder text of the select field that allows selecting a business justification reason',\n id: 'boxui.unifiedShare.justificationSelectPlaceholder',\n },\n justificationRequiredError: {\n defaultMessage: 'Select a justification or remove people to continue',\n description:\n 'The error message that is displayed when a user tries to send invitations to external collaborators, but a business justification is required before proceeding',\n id: 'boxui.unifiedShare.justificationRequiredError',\n },\n restrictedContactsError: {\n defaultMessage: 'Remove people to continue',\n description:\n 'The error message that is displayed when a user tries to send invitations to external collaborators, but restricted contacts need to be removed before proceeding',\n id: 'boxui.unifiedShare.restrictedContactsError',\n },\n justifiableContactRestrictionNotice: {\n defaultMessage:\n 'This content requires a business justification to invite {count, plural, one {{count} person} other {{count} people}}. Please select a business justification below.',\n description:\n 'Text for the notice that is displayed when there are collaboration restrictions that apply to one or more of the selected contacts and business justifications are allowed for bypassing restrictions',\n id: 'boxui.unifiedShare.justifiableContactRestrictionNotice',\n },\n justifiableContactRestrictionNoticeSingular: {\n defaultMessage:\n 'This content requires a business justification to invite {email}. Please select a business justification below.',\n description:\n 'Text for the notice that is displayed when there are collaboration restrictions that apply to one or more of the selected contacts and business justifications are allowed for bypassing restrictions',\n id: 'boxui.unifiedShare.justifiableContactRestrictionNoticeSingular',\n },\n justifiableContactRestrictionRemoveButtonLabel: {\n defaultMessage: 'Alternatively, remove {count, plural, one {the person} other {{count} people}} and continue',\n description:\n 'Label for the button that removes restricted contacts on the contact restriction notice when business justifications are allowed for bypassing restrictions',\n id: 'boxui.unifiedShare.justifiableContactRestrictionRemoveButtonLabel',\n },\n contactRestrictionNotice: {\n defaultMessage:\n 'Invitations cannot be sent to {count, plural, one {{count} person} other {{count} people}} because external collaboration is restricted due to the applied security policy.',\n description:\n 'Text for the notice that is displayed when there are collaboration restrictions that apply to one or more of the selected contacts',\n id: 'boxui.unifiedShare.contactRestrictionNotice',\n },\n contactRestrictionNoticeSingular: {\n defaultMessage:\n 'Invitations cannot be sent to {email} because external collaboration is restricted due to the applied security policy.',\n description:\n 'Text for the notice that is displayed when there are collaboration restrictions that apply to one or more of the selected contacts',\n id: 'boxui.unifiedShare.contactRestrictionNoticeSingular',\n },\n contactRestrictionNoticeInformationBarrier: {\n defaultMessage:\n 'Invitations cannot be sent to {count, plural, one {{count} person} other {{count} people}} due to a security policy.',\n description:\n 'Text for the notice that is displayed when there are Information Barrier collaboration restrictions that apply to one or more of the selected contacts',\n id: 'boxui.unifiedShare.contactRestrictionNoticeInformationBarrier',\n },\n contactRestrictionNoticeInformationBarrierSingular: {\n defaultMessage: 'Invitations cannot be sent to {email} due to a security policy.',\n description:\n 'Text for the notice that is displayed when there are Information Barrier collaboration restrictions that apply to only one of the selected contacts',\n id: 'boxui.unifiedShare.contactRestrictionNoticeInformationBarrierSingular',\n },\n contactRestrictionRemoveButtonLabel: {\n defaultMessage: 'Remove {count, plural, one {the person} other {{count} people}} and continue',\n description: 'Label for the button that removes restricted contacts on the contact restriction notice',\n id: 'boxui.unifiedShare.contactRestrictionRemoveButtonLabel',\n },\n contactEmailsTooltipText: {\n defaultMessage: '{emails}, and {remainingEmailsCount} more',\n description:\n 'Text to show when the number of contact email addresses displayed on a tooltip exceeds the maximum amount that can be displayed',\n id: 'boxui.unifiedShare.contactEmailsTooltipText',\n },\n});\n\nexport default messages;\n"],"file":"messages.js"}
1
+ {"version":3,"sources":["../../../src/features/unified-share-modal/messages.js"],"names":["defineMessages","messages","contentSharedWithExternalCollaborators","disabledShareLinkPermission","disabledMaliciousContentShareLinkPermission","enterAtLeastOneEmailError","contactsExceedLimitError","enterEmailAddressesCalloutText","ftuxNewUSMUserTitle","ftuxNewUSMUserBody","ftuxLinkText","ftuxConfirmLabel","ftuxEditPermissionTooltipBody","ftuxEditPermissionTooltipTitle","collaboratorListTitle","expirationTooltipClickableText","groupLabel","modalTitle","emailModalTitle","inviteDisabledTooltip","inviteDisabledWeblinkTooltip","inviteFieldLabel","sharedLinkSectionLabel","sharedLinkURLLabel","settingsButtonLabel","linkShareOff","linkShareOn","messageTitle","suggestedCollabsTitle","peopleInEnterpriseName","peopleInYourCompany","peopleInThisFolder","peopleInThisFile","peopleWithTheLinkText","removeLinkConfirmationTitle","removeLinkConfirmationDescription","removeLinkTooltip","disabledCreateLinkTooltip","sendSharedLink","sendSharedLinkFieldLabel","sharedLinkExpirationTooltip","sharedLinkPermissionsViewDownload","sharedLinkPermissionsViewOnly","ftuxSharedLinkPermissionsEditTag","sharedLinkPermissionsEdit","sharedLinkPermissionsEditTooltip","sharedLinkDisabledTooltipCopy","sharedLinkSettingsCalloutText","sharedLinkPubliclyAvailable","sharedLinkEditablePubliclyAvailable","sharedLinkElevatedEditableCompanyAvailable","upgradeGetMoreAccessControlsDescription","upgradeGetMoreAccessControlsLink","upgradeLink","upgradeInlineNoticeTitle","sharedLinkSettings","peopleWithLinkDescription","peopleInSpecifiedCompanyCanAccessFolder","peopleInCompanyCanAccessFolder","peopleInSpecifiedCompanyCanAccessFile","peopleInCompanyCanAccessFile","peopleInItemCanAccessFolder","peopleInItemCanAccessFile","coownerLevelButtonLabel","coownerLevelText","coownerLevelDescription","editorLevelButtonLabel","editorLevelText","editorLevelDescription","editorLevelFileDescription","previewerLevelButtonLabel","previewerLevelText","previewerLevelDescription","previewerUploaderLevelButtonLabel","previewerUploaderLevelText","previewerUploaderLevelDescription","viewerLevelButtonLabel","viewerLevelText","viewerLevelDescription","viewerUploaderLevelButtonLabel","viewerUploaderLevelText","viewerUploaderLevelDescription","uploaderLevelButtonLabel","uploaderLevelText","uploaderLevelDescription","userCollabText","groupCollabText","recommendedSharingTooltipCalloutText","justificationSelectPlaceholder","justificationRequiredError","restrictedContactsError","justifiableContactRestrictionNotice","justifiableContactRestrictionNoticeSingular","justifiableContactRestrictionRemoveButtonLabel","contactRestrictionNotice","contactRestrictionNoticeSingular","contactRestrictionNoticeInformationBarrier","contactRestrictionNoticeInformationBarrierSingular","contactRestrictionNoticeInformationBarrierSingularGroup","contactRestrictionRemoveButtonLabel","contactEmailsTooltipText"],"mappings":"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","sourcesContent":["import { defineMessages } from 'react-intl';\n\nconst messages = defineMessages({\n contentSharedWithExternalCollaborators: {\n defaultMessage: 'This content will be shared with external collaborators.',\n description: 'Text shown in share modal when there is at least one external collaborators',\n id: 'boxui.unifiedShare.contentSharedWithExternalCollaborators',\n },\n disabledShareLinkPermission: {\n defaultMessage: 'This option is not available due to a security policy.',\n description:\n 'Tooltip text for when shared permission option is not available due to restriction or classification',\n id: 'boxui.unifiedShare.disabledShareLinkPermission',\n },\n disabledMaliciousContentShareLinkPermission: {\n defaultMessage: 'This option isn’t available for this item due to a security policy.',\n description: 'Tooltip text for when shared permission option is not available due to security policy',\n id: 'boxui.unifiedShare.disabledMaliciousContentShareLinkPermission',\n },\n enterAtLeastOneEmailError: {\n defaultMessage: 'Enter at least one valid email',\n description: 'Error message when user tries to send Shared Link as email without entering any recipients',\n id: 'boxui.unifiedShare.enterAtLeastOneEmail',\n },\n contactsExceedLimitError: {\n defaultMessage:\n 'Oops! The maximum number of collaborators that can be added at once is {maxContacts} collaborators. Please try again by splitting your invitations into batches.',\n description: 'Error message when more than the maximum number of contacts is entered',\n id: 'boxui.unifiedShare.contactsExceedLimitError',\n },\n enterEmailAddressesCalloutText: {\n defaultMessage: 'Share this item with coworkers by entering their email addresses',\n description:\n 'Tooltip text shown in the share modal, encouraging users to enter email addresses to share the item with',\n id: 'boxui.unifiedShare.enterEmailAddressesCalloutText',\n },\n ftuxNewUSMUserTitle: {\n defaultMessage: 'Simplified sharing for files and folders',\n description: 'This title appears in the callout when loading the modal, to let users know about the new UI',\n id: 'boxui.unifiedShare.ftuxNewUsmUserTitle',\n },\n ftuxNewUSMUserBody: {\n defaultMessage:\n \"We’ve simplified the sharing experience when you click 'Share'. Invite people to this item here and toggle the link on or off below for easy sharing.\",\n description: 'This text describes the purpose of the new UI, using the button label to open the modal',\n id: 'boxui.unifiedShare.ftuxNewUSMUserBody',\n },\n ftuxLinkText: {\n defaultMessage: 'Read more about shared link security here.',\n description: 'Text on the link which allows to learn more about link security',\n id: 'boxui.unifiedShare.ftuxLinkText',\n },\n ftuxConfirmLabel: {\n defaultMessage: 'Got it',\n description: 'This is label for the button so a user understands the new interface',\n id: 'boxui.unifiedShare.ftuxConfirmLabel',\n },\n ftuxEditPermissionTooltipBody: {\n defaultMessage: 'Select the new edit option to easily share your file with people or groups.',\n description:\n 'Text for the body of the tooltip for the ftux experience when the edit option is available for the user',\n id: 'boxui.unifiedShare.ftuxEditPermissionTooltipBody',\n },\n ftuxEditPermissionTooltipTitle: {\n defaultMessage: 'Collaboration made easy',\n description:\n 'Text for the title of the tooltip for the ftux experience when the edit option is available for the user',\n id: 'boxui.unifiedShare.ftuxEditPermissionTooltipTitle',\n },\n collaboratorListTitle: {\n defaultMessage: 'People in ‘{itemName}’',\n description: 'Title for collaborator list modal',\n id: 'boxui.unifiedShare.collaboratorListTitle',\n },\n expirationTooltipClickableText: {\n defaultMessage: 'Access expires on {date}. Click for details.',\n description: 'This string is displayed as tooltip on hovering over expire icon for collab',\n id: 'boxui.unifiedShare.collaborators.expirationTooltipClickableText',\n },\n groupLabel: {\n defaultMessage: 'Group',\n description: 'Label for a Group contact type',\n id: 'boxui.unifiedShare.groupLabel',\n },\n modalTitle: {\n defaultMessage: 'Share ‘{itemName}’',\n description: 'Title of the Unified Share Modal. {itemName} is the name of the file / folder being shared',\n id: 'boxui.unifiedShare.modalTitle',\n },\n emailModalTitle: {\n defaultMessage: 'Send Link to ‘{itemName}’',\n description:\n 'The message to show when you have clicked the button to send the email to a new collaborator (title case)',\n id: 'boxui.unifiedShare.emailModalTitle',\n },\n inviteDisabledTooltip: {\n defaultMessage: 'You do not have permission to invite collaborators.',\n description: 'Invite Collaborators disabled state tooltip',\n id: 'boxui.unifiedShare.inviteDisabledTooltip',\n },\n inviteDisabledWeblinkTooltip: {\n defaultMessage: 'Collaborators cannot be added to bookmarks.',\n description: 'Invite Collaborators disabled state tooltip due to item being weblink',\n id: 'boxui.unifiedShare.inviteDisabledWeblinkTooltip',\n },\n inviteFieldLabel: {\n defaultMessage: 'Invite People',\n description: 'Label of the field where a user designates who to invite to collaborate on an item',\n id: 'boxui.unifiedShare.inviteFieldLabel',\n },\n sharedLinkSectionLabel: {\n defaultMessage: 'Share Link',\n description: 'Label for the shared link section of the unified share modal',\n id: 'boxui.unifiedShare.sharedLinkSectionLabel',\n },\n sharedLinkURLLabel: {\n defaultMessage: 'URL',\n description: 'Accessible label for shared link input field',\n id: 'boxui.share.sharedLinkURLLabel',\n },\n settingsButtonLabel: {\n defaultMessage: 'Open shared link settings popup',\n description: 'Accessible label for button that loads share settings popup',\n id: 'boxui.unifiedShare.settingsButtonLabel',\n },\n linkShareOff: {\n defaultMessage: 'Create shared link',\n description: 'Call to action text for allowing the user to create a new shared link',\n id: 'boxui.unifiedShare.linkShareOff',\n },\n linkShareOn: {\n defaultMessage: 'Shared link is created',\n description: 'Call to action text for allowing the user to remove an existing shared link',\n id: 'boxui.unifiedShare.linkShareOn',\n },\n messageTitle: {\n defaultMessage: 'Message',\n description: 'Label for \"Message\" text box to email the shared Link',\n id: 'boxui.unifiedShare.message',\n },\n suggestedCollabsTitle: {\n defaultMessage: 'Suggested',\n description: 'Title for suggested collaborators that can be added to the form',\n id: 'boxui.unifiedShare.suggestedCollabsTitle',\n },\n\n // shared link access labels\n peopleInEnterpriseName: {\n defaultMessage: 'People in {enterpriseName}',\n description: 'Label for \"People in {enterpriseName}\" option',\n id: 'boxui.unifiedShare.peopleInEnterpriseName',\n },\n peopleInYourCompany: {\n defaultMessage: 'People in your company',\n description: 'Label for \"People in your company\" option',\n id: 'boxui.unifiedShare.peopleInYourCompany',\n },\n peopleInThisFolder: {\n defaultMessage: 'Invited people only',\n description: 'Label for \"People in this folder\" option',\n id: 'boxui.unifiedShare.peopleInThisFolder',\n },\n peopleInThisFile: {\n defaultMessage: 'Invited people only',\n description: 'Label for \"People in this file\" option',\n id: 'boxui.unifiedShare.peopleInThisFile',\n },\n peopleWithTheLinkText: {\n defaultMessage: 'People with the link',\n description: 'Text to show that those having the link will have access',\n id: 'boxui.unifiedShare.peopleWithTheLinkText',\n },\n\n removeLinkConfirmationTitle: {\n defaultMessage: 'Remove Shared Link',\n description: 'Label for confirmation modal to remove a shared link (title-case)',\n id: 'boxui.unifiedShare.removeLinkConfirmationTitle',\n },\n removeLinkConfirmationDescription: {\n defaultMessage:\n 'This will permanently remove the shared link. If this item is embedded on other sites it will also become inaccessible. Any custom properties, settings and expirations will be removed as well. Do you want to continue?',\n description: 'Description for confirmation modal to remove a shared link',\n id: 'boxui.unifiedShare.removeLinkConfirmationDescription',\n },\n removeLinkTooltip: {\n defaultMessage: 'You do not have permission to remove the link.',\n description: 'Tooltip description for not having access to remove link',\n id: 'boxui.unifiedShare.removeLinkTooltip',\n },\n disabledCreateLinkTooltip: {\n defaultMessage: 'You do not have permission to create the link.',\n description: 'Tooltip description for users who do not have permission for link creation',\n id: 'boxui.unifiedShare.disabledCreateLinkTooltip',\n },\n sendSharedLink: {\n defaultMessage: 'Send Shared Link',\n description: 'Tooltip text for email shared link button (title-case)',\n id: 'boxui.unifiedShare.sendSharedLink',\n },\n sendSharedLinkFieldLabel: {\n defaultMessage: 'Email Shared Link',\n description: 'Field label for shared link recipient list (title-case)',\n id: 'boxui.unifiedShare.sendSharedLinkFieldLabel',\n },\n sharedLinkExpirationTooltip: {\n defaultMessage: 'This link will expire and be inaccessible on {expiration, date, long}.',\n description:\n 'Tooltip describing when this shared link will expire. {expiration, date, long} is the formatted date',\n id: 'boxui.unifiedShare.sharedLinkExpirationTooltip',\n },\n\n // shared link permissions\n sharedLinkPermissionsViewDownload: {\n defaultMessage: 'Can view and download',\n description: 'Label for a shared link permission level',\n id: 'boxui.unifiedShare.sharedLinkPermissionsViewDownload',\n },\n sharedLinkPermissionsViewOnly: {\n defaultMessage: 'Can view only',\n description: 'Label for a shared link permission level',\n id: 'boxui.unifiedShare.sharedLinkPermissionsViewOnly',\n },\n ftuxSharedLinkPermissionsEditTag: {\n defaultMessage: 'NEW',\n description:\n 'Label for the LabelPill that is shown when the user first opens the SharedLinkPermissions dropdown and sees the Can Edit option',\n id: 'boxui.unifiedShare.ftuxSharedLinkPermissionsEditTag',\n },\n sharedLinkPermissionsEdit: {\n defaultMessage: 'Can edit',\n description: 'Label for a shared link permission to show for an editable box note / file',\n id: 'boxui.unifiedShare.sharedLinkPermissionsEdit',\n },\n sharedLinkPermissionsEditTooltip: {\n defaultMessage: 'This permission can only be changed in Box Notes',\n description: 'Text to use in the tooltip when presenting an editable Box Note (DO NOT TRANSLATE \"Box Notes\")',\n id: 'boxui.unifiedShare.sharedLinkPermissionsEditTooltip',\n },\n sharedLinkDisabledTooltipCopy: {\n defaultMessage: 'Create and copy link for sharing',\n description: 'This tooltip appears over the shared link toggle, explaining what happens when it is clicked',\n id: 'boxui.unifiedShare.sharedLinkDisabledTooltipCopy',\n },\n sharedLinkSettingsCalloutText: {\n defaultMessage: 'Create a custom URL, enable password protection, enable link expiration, and much more',\n description:\n 'Tooltip text shown in the share modal, next to the settings gear, describing what settings can be changed',\n id: 'boxui.unifiedShare.sharedLinkSettingsCalloutText',\n },\n sharedLinkPubliclyAvailable: {\n defaultMessage: 'This content is publicly available to anyone with the link.',\n description: 'Text shown in share modal when shared link is open to public access',\n id: 'boxui.unifiedShare.sharedLinkPubliclyAvailable',\n },\n sharedLinkEditablePubliclyAvailable: {\n defaultMessage:\n 'Publicly available for anyone to view and download. Any logged in users with the link can edit.',\n description: 'Text shown in share modal when shared link is editable and is open to public access',\n id: 'boxui.unifiedShare.sharedLinkEditablePubliclyAvailable',\n },\n sharedLinkElevatedEditableCompanyAvailable: {\n defaultMessage: 'People who have access to this link can edit.',\n description: 'Text shown in share modal when shared link is editable and is open to company access',\n id: 'boxui.unifiedShare.sharedLinkElevatedEditableCompanyAvailable',\n },\n upgradeGetMoreAccessControlsDescription: {\n defaultMessage:\n '62% of customers on your plan {upgradeGetMoreAccessControlsLink} to manage collaborators’ access and permission settings',\n description: 'Description for cta to upgrade to get more access controls for inviting collaborators to an item',\n id: 'boxui.unifiedShare.upgradeGetMoreAccessControlsDescription',\n },\n upgradeGetMoreAccessControlsLink: {\n defaultMessage: 'upgrade',\n description: 'Label for link to upgrade to get more access controls for inviting collaborators to an item',\n id: 'boxui.unifiedShare.upgradeGetMoreAccessControlsLink',\n },\n upgradeLink: {\n defaultMessage: 'Upgrade now',\n description: 'Label for link to upgrade account',\n id: 'boxui.unifiedShare.upgradeLink',\n },\n upgradeInlineNoticeTitle: {\n defaultMessage: 'Upgrade Your Plan',\n description: 'Title for the upgrade inline notice for upgrade user plan',\n id: 'boxui.unifiedShare.upgradeInlineNoticeTitle',\n },\n sharedLinkSettings: {\n defaultMessage: 'Link Settings',\n description: 'Description of the shared link settings modal entry point. This shows link-specific options.',\n id: 'boxui.unifiedShare.sharedLinkSettings',\n },\n\n // shared link access descriptions\n peopleWithLinkDescription: {\n defaultMessage: 'Publicly accessible and no sign-in required',\n description: 'Description of an open shared link',\n id: 'boxui.unifiedShare.peopleWithLinkDescription',\n },\n peopleInSpecifiedCompanyCanAccessFolder: {\n defaultMessage: 'Anyone at {company} with the link or people invited to this folder can access',\n description: 'Description of a specific company shared link for a folder. {company} is the company name',\n id: 'boxui.unifiedShare.peopleInSpecifiedCompanyCanAccessFolder',\n },\n peopleInCompanyCanAccessFolder: {\n defaultMessage: 'Anyone in your company with the link or people invited to this folder can access',\n description: 'Description of a company shared link for a folder.',\n id: 'boxui.unifiedShare.peopleInCompanyCanAccessFolder',\n },\n peopleInSpecifiedCompanyCanAccessFile: {\n defaultMessage: 'Anyone at {company} with the link or people invited to this file can access',\n description: 'Description of a specific company shared link for a file. {company} is the company name',\n id: 'boxui.unifiedShare.peopleInSpecifiedCompanyCanAccessFile',\n },\n peopleInCompanyCanAccessFile: {\n defaultMessage: 'Anyone in your company with the link or people invited to this file can access',\n description: 'Description of a company shared link for a file.',\n id: 'boxui.unifiedShare.peopleInCompanyCanAccessFile',\n },\n peopleInItemCanAccessFolder: {\n defaultMessage: 'Only invited people can access this folder',\n description: 'Description of a collaborator-only shared link for a folder',\n id: 'boxui.unifiedShare.peopleInItemCanAccessFolder',\n },\n peopleInItemCanAccessFile: {\n defaultMessage: 'Only invited people can access this file',\n description: 'Description of a collaborator-only shared link for a file',\n id: 'boxui.unifiedShare.peopleInItemCanAccessFile',\n },\n\n // invite collabs levels\n coownerLevelButtonLabel: {\n defaultMessage: 'Invite as Co-owner',\n description: 'Text used in button label to describe permission level - co-owner',\n id: 'boxui.unifiedShare.coownerLevelButtonLabel',\n },\n coownerLevelText: {\n defaultMessage: 'Co-owner',\n description: 'Text for Co-owner permission level in permissions table',\n id: 'boxui.unifiedShare.coownerLevelText',\n },\n coownerLevelDescription: {\n defaultMessage: 'Manage security, upload, download, preview, share, edit, and delete',\n description: 'Description for Co-owner permission level in permissions table',\n id: 'boxui.unifiedShare.coownerLevelDescription',\n },\n editorLevelButtonLabel: {\n defaultMessage: 'Invite as Editor',\n description: 'Text used in button label to describe permission level - editor',\n id: 'boxui.unifiedShare.editorLevelButtonLabel',\n },\n editorLevelText: {\n defaultMessage: 'Editor',\n description: 'Text for Editor permission level in invitee permission dropdown',\n id: 'boxui.unifiedShare.editorLevelText',\n },\n editorLevelDescription: {\n defaultMessage: 'Upload, download, preview, share, edit, and delete',\n description: 'Description for Editor permission level in invitee permission dropdown',\n id: 'boxui.unifiedShare.editorLevelDescription',\n },\n editorLevelFileDescription: {\n defaultMessage: 'Upload, download, preview, share, and edit',\n description: 'Description for Editor permission level in invitee permission dropdown for files',\n id: 'boxui.unifiedShare.editorLevelFileDescription',\n },\n previewerLevelButtonLabel: {\n defaultMessage: 'Invite as Previewer',\n description: 'Text used in button label to describe permission level - previewer',\n id: 'boxui.unifiedShare.previewerLevelButtonLabel',\n },\n previewerLevelText: {\n defaultMessage: 'Previewer',\n description: 'Text for Previewer permission level in invitee permission dropdown',\n id: 'boxui.unifiedShare.previewerLevelText',\n },\n previewerLevelDescription: {\n defaultMessage: 'Preview only',\n description: 'Description for Previewer permission level in invitee permission dropdown',\n id: 'boxui.unifiedShare.previewerLevelDescription',\n },\n previewerUploaderLevelButtonLabel: {\n defaultMessage: 'Invite as Previewer Uploader',\n description: 'Text used in button label to describe permission level - previewer uploader',\n id: 'boxui.unifiedShare.previewerUploaderLevelButtonLabel',\n },\n previewerUploaderLevelText: {\n defaultMessage: 'Previewer Uploader',\n description: 'Text for Previewer Uploader permission level in invitee permission dropdown',\n id: 'boxui.unifiedShare.previewerUploaderLevelText',\n },\n previewerUploaderLevelDescription: {\n defaultMessage: 'Upload and preview',\n description: 'Description for Previewer Uploader permission level in invitee permission dropdown',\n id: 'boxui.unifiedShare.previewerUploaderLevelDescription',\n },\n viewerLevelButtonLabel: {\n defaultMessage: 'Invite as Viewer',\n description: 'Text used in button label to describe permission level - viewer',\n id: 'boxui.unifiedShare.viewerLevelButtonLabel',\n },\n viewerLevelText: {\n defaultMessage: 'Viewer',\n description: 'Text for Viewer permission level in invitee permission dropdown',\n id: 'boxui.unifiedShare.viewerLevelText',\n },\n viewerLevelDescription: {\n defaultMessage: 'Download, preview, and share',\n description: 'Description for Viewer permission level in invitee permission dropdown',\n id: 'boxui.unifiedShare.viewerLevelDescription',\n },\n viewerUploaderLevelButtonLabel: {\n defaultMessage: 'Invite as Viewer Uploader',\n description: 'Text used in button label to describe permission level - viewer uploader',\n id: 'boxui.unifiedShare.viewerUploaderLevelButtonLabel',\n },\n viewerUploaderLevelText: {\n defaultMessage: 'Viewer Uploader',\n description: 'Text for Viewer Uploader permission level in invitee permission dropdown',\n id: 'boxui.unifiedShare.viewerUploaderLevelText',\n },\n viewerUploaderLevelDescription: {\n defaultMessage: 'Upload, download, preview, share, and edit',\n description: 'Text for Viewer Uploader permission level in invitee permission dropdown',\n id: 'boxui.unifiedShare.viewerUploaderLevelDescription',\n },\n uploaderLevelButtonLabel: {\n defaultMessage: 'Invite as Uploader',\n description: 'Text used in button label to describe permission level - uploader',\n id: 'boxui.unifiedShare.uploaderLevelButtonLabel',\n },\n uploaderLevelText: {\n defaultMessage: 'Uploader',\n description: 'Text for Uploader permission level in invitee permission dropdown',\n id: 'boxui.unifiedShare.uploaderLevelText',\n },\n uploaderLevelDescription: {\n defaultMessage: 'Upload only',\n description: 'Description for Uploader permission level in invitee permission dropdown',\n id: 'boxui.unifiedShare.uploaderLevelDescription',\n },\n\n // Collaboration group type messages\n userCollabText: {\n defaultMessage: 'User',\n description: 'Text to display for individual users who have accepted an invitation to collaborate',\n id: 'boxui.unifiedShare.collaboration.userCollabText',\n },\n groupCollabText: {\n defaultMessage: 'Group',\n description: 'Text to display for a group of users who have accepted an invitation to collaborate',\n id: 'boxui.unifiedShare.collaboration.groupCollabText',\n },\n\n // Recommended Sharing Tooltip messages\n recommendedSharingTooltipCalloutText: {\n defaultMessage: 'Based on your usage, we think {fullName} would be interested in this file.',\n description: 'Tooltip description to explain recommendation for sharing tooltip',\n id: 'boxui.unifiedShare.recommendedSharingTooltipCalloutText',\n },\n\n // Information Barrier restrictions, external collab restrictions and business justifications\n justificationSelectPlaceholder: {\n defaultMessage: 'Select Justification',\n description: 'The placeholder text of the select field that allows selecting a business justification reason',\n id: 'boxui.unifiedShare.justificationSelectPlaceholder',\n },\n justificationRequiredError: {\n defaultMessage: 'Select a justification or remove to continue',\n description:\n 'The error message that is displayed when a user tries to send invitations to external collaborators, but a business justification is required before proceeding',\n id: 'boxui.unifiedShare.justificationRequiredError',\n },\n restrictedContactsError: {\n defaultMessage: 'Remove to continue',\n description:\n 'The error message that is displayed when a user tries to send invitations to external collaborators, but restricted contacts need to be removed before proceeding',\n id: 'boxui.unifiedShare.restrictedContactsError',\n },\n justifiableContactRestrictionNotice: {\n defaultMessage:\n 'This content requires a business justification for {count, plural, one {{count} invitation} other {{count} invitations}}. Please select a business justification below.',\n description:\n 'Text for the notice that is displayed when there are collaboration restrictions that apply to one or more of the selected contacts and business justifications are allowed for bypassing restrictions',\n id: 'boxui.unifiedShare.justifiableContactRestrictionNotice',\n },\n justifiableContactRestrictionNoticeSingular: {\n defaultMessage:\n 'This content requires a business justification to invite {email}. Please select a business justification below.',\n description:\n 'Text for the notice that is displayed when there are collaboration restrictions that apply to one or more of the selected contacts and business justifications are allowed for bypassing restrictions',\n id: 'boxui.unifiedShare.justifiableContactRestrictionNoticeSingular',\n },\n justifiableContactRestrictionRemoveButtonLabel: {\n defaultMessage: 'Alternatively, remove to continue',\n description:\n 'Label for the button that removes restricted contacts on the contact restriction notice when business justifications are allowed for bypassing restrictions',\n id: 'boxui.unifiedShare.justifiableContactRestrictionRemoveButtonLabel',\n },\n contactRestrictionNotice: {\n defaultMessage:\n '{count, plural, one {{count} invitation} other {{count} invitations}} cannot be sent because external collaboration is restricted due to the applied security policy.',\n description:\n 'Text for the notice that is displayed when there are collaboration restrictions that apply to one or more of the selected contacts',\n id: 'boxui.unifiedShare.contactRestrictionNotice',\n },\n contactRestrictionNoticeSingular: {\n defaultMessage:\n 'Invitations cannot be sent to {email} because external collaboration is restricted due to the applied security policy.',\n description:\n 'Text for the notice that is displayed when there are collaboration restrictions that apply to one or more of the selected contacts',\n id: 'boxui.unifiedShare.contactRestrictionNoticeSingular',\n },\n contactRestrictionNoticeInformationBarrier: {\n defaultMessage:\n '{count, plural, one {{count} invitation} other {{count} invitations}} cannot be sent due to a security policy.',\n description:\n 'Text for the notice that is displayed when there are Information Barrier collaboration restrictions that apply to one or more of the selected contacts',\n id: 'boxui.unifiedShare.contactRestrictionNoticeInformationBarrier',\n },\n contactRestrictionNoticeInformationBarrierSingular: {\n defaultMessage: 'Invitations cannot be sent to {email} due to a security policy.',\n description:\n 'Text for the notice that is displayed when there are Information Barrier collaboration restrictions that apply to only one of the selected contacts',\n id: 'boxui.unifiedShare.contactRestrictionNoticeInformationBarrierSingular',\n },\n contactRestrictionNoticeInformationBarrierSingularGroup: {\n defaultMessage: 'Invitations cannot be sent to \"{groupName}\" due to a security policy.',\n description:\n 'Text for the notice that is displayed when there are Information Barrier collaboration restrictions that apply to only one of the selected contacts, which is a group',\n id: 'boxui.unifiedShare.contactRestrictionNoticeInformationBarrierSingularGroup',\n },\n contactRestrictionRemoveButtonLabel: {\n defaultMessage: 'Remove to continue',\n description: 'Label for the button that removes restricted contacts on the contact restriction notice',\n id: 'boxui.unifiedShare.contactRestrictionRemoveButtonLabel',\n },\n contactEmailsTooltipText: {\n defaultMessage: '{emails}, and {remainingEmailsCount} more',\n description:\n 'Text to show when the number of contact email addresses displayed on a tooltip exceeds the maximum amount that can be displayed',\n id: 'boxui.unifiedShare.contactEmailsTooltipText',\n },\n});\n\nexport default messages;\n"],"file":"messages.js"}
@@ -1,12 +1,17 @@
1
- var hasRestrictedContacts = function hasRestrictedContacts(contacts, restrictedEmails) {
2
- if (!restrictedEmails.length) {
1
+ var hasRestrictedContacts = function hasRestrictedContacts(contacts, restrictedEmails, restrictedGroups) {
2
+ if (!restrictedEmails.length && !restrictedGroups.length) {
3
3
  return false;
4
4
  }
5
5
 
6
- return contacts.some(function (_ref) {
7
- var value = _ref.value;
6
+ var hasRestrictedGroups = contacts.some(function (_ref) {
7
+ var id = _ref.id;
8
+ return restrictedGroups.includes(id);
9
+ });
10
+ var hasRestrictedEmails = contacts.some(function (_ref2) {
11
+ var value = _ref2.value;
8
12
  return restrictedEmails.includes(value);
9
13
  });
14
+ return hasRestrictedGroups || hasRestrictedEmails;
10
15
  };
11
16
 
12
17
  export default hasRestrictedContacts;
@@ -1,11 +1,18 @@
1
1
  // @flow
2
2
  import type { contactType as Contact } from '../flowTypes';
3
3
 
4
- const hasRestrictedContacts = (contacts: Array<Contact>, restrictedEmails: Array<string>): boolean => {
5
- if (!restrictedEmails.length) {
4
+ const hasRestrictedContacts = (
5
+ contacts: Array<Contact>,
6
+ restrictedEmails: Array<string>,
7
+ restrictedGroups: Array<number>,
8
+ ): boolean => {
9
+ if (!restrictedEmails.length && !restrictedGroups.length) {
6
10
  return false;
7
11
  }
8
- return contacts.some(({ value }) => restrictedEmails.includes(value));
12
+ const hasRestrictedGroups = contacts.some(({ id }) => restrictedGroups.includes(id));
13
+ const hasRestrictedEmails = contacts.some(({ value }) => restrictedEmails.includes(value));
14
+
15
+ return hasRestrictedGroups || hasRestrictedEmails;
9
16
  };
10
17
 
11
18
  export default hasRestrictedContacts;
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/features/unified-share-modal/utils/hasRestrictedContacts.js"],"names":["hasRestrictedContacts","contacts","restrictedEmails","length","some","value","includes"],"mappings":"AAGA,IAAMA,qBAAqB,GAAG,SAAxBA,qBAAwB,CAACC,QAAD,EAA2BC,gBAA3B,EAAwE;AAClG,MAAI,CAACA,gBAAgB,CAACC,MAAtB,EAA8B;AAC1B,WAAO,KAAP;AACH;;AACD,SAAOF,QAAQ,CAACG,IAAT,CAAc;AAAA,QAAGC,KAAH,QAAGA,KAAH;AAAA,WAAeH,gBAAgB,CAACI,QAAjB,CAA0BD,KAA1B,CAAf;AAAA,GAAd,CAAP;AACH,CALD;;AAOA,eAAeL,qBAAf","sourcesContent":["// @flow\nimport type { contactType as Contact } from '../flowTypes';\n\nconst hasRestrictedContacts = (contacts: Array<Contact>, restrictedEmails: Array<string>): boolean => {\n if (!restrictedEmails.length) {\n return false;\n }\n return contacts.some(({ value }) => restrictedEmails.includes(value));\n};\n\nexport default hasRestrictedContacts;\n"],"file":"hasRestrictedContacts.js"}
1
+ {"version":3,"sources":["../../../../src/features/unified-share-modal/utils/hasRestrictedContacts.js"],"names":["hasRestrictedContacts","contacts","restrictedEmails","restrictedGroups","length","hasRestrictedGroups","some","id","includes","hasRestrictedEmails","value"],"mappings":"AAGA,IAAMA,qBAAqB,GAAG,SAAxBA,qBAAwB,CAC1BC,QAD0B,EAE1BC,gBAF0B,EAG1BC,gBAH0B,EAIhB;AACV,MAAI,CAACD,gBAAgB,CAACE,MAAlB,IAA4B,CAACD,gBAAgB,CAACC,MAAlD,EAA0D;AACtD,WAAO,KAAP;AACH;;AACD,MAAMC,mBAAmB,GAAGJ,QAAQ,CAACK,IAAT,CAAc;AAAA,QAAGC,EAAH,QAAGA,EAAH;AAAA,WAAYJ,gBAAgB,CAACK,QAAjB,CAA0BD,EAA1B,CAAZ;AAAA,GAAd,CAA5B;AACA,MAAME,mBAAmB,GAAGR,QAAQ,CAACK,IAAT,CAAc;AAAA,QAAGI,KAAH,SAAGA,KAAH;AAAA,WAAeR,gBAAgB,CAACM,QAAjB,CAA0BE,KAA1B,CAAf;AAAA,GAAd,CAA5B;AAEA,SAAOL,mBAAmB,IAAII,mBAA9B;AACH,CAZD;;AAcA,eAAeT,qBAAf","sourcesContent":["// @flow\nimport type { contactType as Contact } from '../flowTypes';\n\nconst hasRestrictedContacts = (\n contacts: Array<Contact>,\n restrictedEmails: Array<string>,\n restrictedGroups: Array<number>,\n): boolean => {\n if (!restrictedEmails.length && !restrictedGroups.length) {\n return false;\n }\n const hasRestrictedGroups = contacts.some(({ id }) => restrictedGroups.includes(id));\n const hasRestrictedEmails = contacts.some(({ value }) => restrictedEmails.includes(value));\n\n return hasRestrictedGroups || hasRestrictedEmails;\n};\n\nexport default hasRestrictedContacts;\n"],"file":"hasRestrictedContacts.js"}
@@ -0,0 +1,15 @@
1
+ var isRestrictedContact = function isRestrictedContact(contact, restrictedEmails, restrictedGroups) {
2
+ var isRestrictedEmail = false;
3
+ var isRestrictedGroup = false;
4
+
5
+ if (contact.id && contact.type === 'group') {
6
+ isRestrictedGroup = restrictedGroups.includes(Number(contact.id));
7
+ } else {
8
+ isRestrictedEmail = restrictedEmails.includes(String(contact.value));
9
+ }
10
+
11
+ return isRestrictedEmail || isRestrictedGroup;
12
+ };
13
+
14
+ export default isRestrictedContact;
15
+ //# sourceMappingURL=isRestrictedContact.js.map
@@ -0,0 +1,21 @@
1
+ // @flow
2
+ import type { SelectOptionProp } from '../../../components/select-field/props';
3
+ import type { contactType as Contact } from '../flowTypes';
4
+
5
+ const isRestrictedContact = (
6
+ contact: Contact | SelectOptionProp,
7
+ restrictedEmails: Array<string>,
8
+ restrictedGroups: Array<number>,
9
+ ) => {
10
+ let isRestrictedEmail = false;
11
+ let isRestrictedGroup = false;
12
+
13
+ if (contact.id && contact.type === 'group') {
14
+ isRestrictedGroup = restrictedGroups.includes(Number(contact.id));
15
+ } else {
16
+ isRestrictedEmail = restrictedEmails.includes(String(contact.value));
17
+ }
18
+ return isRestrictedEmail || isRestrictedGroup;
19
+ };
20
+
21
+ export default isRestrictedContact;
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/features/unified-share-modal/utils/isRestrictedContact.js"],"names":["isRestrictedContact","contact","restrictedEmails","restrictedGroups","isRestrictedEmail","isRestrictedGroup","id","type","includes","Number","String","value"],"mappings":"AAIA,IAAMA,mBAAmB,GAAG,SAAtBA,mBAAsB,CACxBC,OADwB,EAExBC,gBAFwB,EAGxBC,gBAHwB,EAIvB;AACD,MAAIC,iBAAiB,GAAG,KAAxB;AACA,MAAIC,iBAAiB,GAAG,KAAxB;;AAEA,MAAIJ,OAAO,CAACK,EAAR,IAAcL,OAAO,CAACM,IAAR,KAAiB,OAAnC,EAA4C;AACxCF,IAAAA,iBAAiB,GAAGF,gBAAgB,CAACK,QAAjB,CAA0BC,MAAM,CAACR,OAAO,CAACK,EAAT,CAAhC,CAApB;AACH,GAFD,MAEO;AACHF,IAAAA,iBAAiB,GAAGF,gBAAgB,CAACM,QAAjB,CAA0BE,MAAM,CAACT,OAAO,CAACU,KAAT,CAAhC,CAApB;AACH;;AACD,SAAOP,iBAAiB,IAAIC,iBAA5B;AACH,CAdD;;AAgBA,eAAeL,mBAAf","sourcesContent":["// @flow\nimport type { SelectOptionProp } from '../../../components/select-field/props';\nimport type { contactType as Contact } from '../flowTypes';\n\nconst isRestrictedContact = (\n contact: Contact | SelectOptionProp,\n restrictedEmails: Array<string>,\n restrictedGroups: Array<number>,\n) => {\n let isRestrictedEmail = false;\n let isRestrictedGroup = false;\n\n if (contact.id && contact.type === 'group') {\n isRestrictedGroup = restrictedGroups.includes(Number(contact.id));\n } else {\n isRestrictedEmail = restrictedEmails.includes(String(contact.value));\n }\n return isRestrictedEmail || isRestrictedGroup;\n};\n\nexport default isRestrictedContact;\n"],"file":"isRestrictedContact.js"}
@@ -21,9 +21,10 @@ var Alert16 = function Alert16(props) {
21
21
  height: 16,
22
22
  viewBox: "0 0 16 16"
23
23
  }, props), React.createElement("path", {
24
- fill: vars.bdlGray50,
25
24
  fillRule: "evenodd",
26
- d: "M8 1a7 7 0 110 14A7 7 0 018 1zm0 10a1 1 0 100 2 1 1 0 000-2zm0-8a1 1 0 00-1 1v5a1 1 0 002 0V4a1 1 0 00-1-1z"
25
+ clipRule: "evenodd",
26
+ d: "M8 11.6A1.2 1.2 0 108 14a1.2 1.2 0 000-2.4zM8 2a1.2 1.2 0 00-1.2 1.2v6a1.2 1.2 0 002.4 0v-6A1.2 1.2 0 008 2z",
27
+ fill: vars.bdlGray50
27
28
  }));
28
29
  };
29
30
 
@@ -19,9 +19,10 @@ import type { Icon } from '../../icons/flowTypes';
19
19
  const Alert16 = (props: Icon) => (
20
20
  <AccessibleSVG width={16} height={16} viewBox="0 0 16 16" {...props}>
21
21
  <path
22
- fill={vars.bdlGray50}
23
22
  fillRule="evenodd"
24
- d="M8 1a7 7 0 110 14A7 7 0 018 1zm0 10a1 1 0 100 2 1 1 0 000-2zm0-8a1 1 0 00-1 1v5a1 1 0 002 0V4a1 1 0 00-1-1z"
23
+ clipRule="evenodd"
24
+ d="M8 11.6A1.2 1.2 0 108 14a1.2 1.2 0 000-2.4zM8 2a1.2 1.2 0 00-1.2 1.2v6a1.2 1.2 0 002.4 0v-6A1.2 1.2 0 008 2z"
25
+ fill={vars.bdlGray50}
25
26
  />
26
27
  </AccessibleSVG>
27
28
  );
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/icon/fill/Alert16.tsx"],"names":["React","vars","AccessibleSVG","Alert16","props","bdlGray50"],"mappings":";;AAAA;AACA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,OAAO,KAAKC,IAAZ,MAAsB,wBAAtB;AACA,OAAOC,aAAP,MAAwC,+CAAxC;AAEA;;;;;;;;;;;AAWA,IAAMC,OAAO,GAAG,SAAVA,OAAU,CAACC,KAAD;AAAA,SACZ,oBAAC,aAAD;AAAe,IAAA,KAAK,EAAE,EAAtB;AAA0B,IAAA,MAAM,EAAE,EAAlC;AAAsC,IAAA,OAAO,EAAC;AAA9C,KAA8DA,KAA9D,GACI;AACI,IAAA,IAAI,EAAEH,IAAI,CAACI,SADf;AAEI,IAAA,QAAQ,EAAC,SAFb;AAGI,IAAA,CAAC,EAAC;AAHN,IADJ,CADY;AAAA,CAAhB;;AAUA,eAAeF,OAAf","sourcesContent":["/* eslint-disable react/jsx-sort-props */\nimport * as React from 'react';\nimport * as vars from '../../styles/variables';\nimport AccessibleSVG, { SVGProps } from '../../components/accessible-svg/AccessibleSVG';\n\n/**\n * This is an auto-generated component and should not be edited\n * manually in contributor pull requests.\n *\n * If you have problems with this component:\n * - https://github.com/box/box-ui-elements/issues/new?template=Bug_report.md\n *\n * If there are missing features in this component:\n * - https://github.com/box/box-ui-elements/issues/new?template=Feature_request.md\n */\n\nconst Alert16 = (props: SVGProps) => (\n <AccessibleSVG width={16} height={16} viewBox=\"0 0 16 16\" {...props}>\n <path\n fill={vars.bdlGray50}\n fillRule=\"evenodd\"\n d=\"M8 1a7 7 0 110 14A7 7 0 018 1zm0 10a1 1 0 100 2 1 1 0 000-2zm0-8a1 1 0 00-1 1v5a1 1 0 002 0V4a1 1 0 00-1-1z\"\n />\n </AccessibleSVG>\n);\n\nexport default Alert16;\n"],"file":"Alert16.js"}
1
+ {"version":3,"sources":["../../../src/icon/fill/Alert16.tsx"],"names":["React","vars","AccessibleSVG","Alert16","props","bdlGray50"],"mappings":";;AAAA;AACA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,OAAO,KAAKC,IAAZ,MAAsB,wBAAtB;AACA,OAAOC,aAAP,MAAwC,+CAAxC;AAEA;;;;;;;;;;;AAWA,IAAMC,OAAO,GAAG,SAAVA,OAAU,CAACC,KAAD;AAAA,SACZ,oBAAC,aAAD;AAAe,IAAA,KAAK,EAAE,EAAtB;AAA0B,IAAA,MAAM,EAAE,EAAlC;AAAsC,IAAA,OAAO,EAAC;AAA9C,KAA8DA,KAA9D,GACI;AACI,IAAA,QAAQ,EAAC,SADb;AAEI,IAAA,QAAQ,EAAC,SAFb;AAGI,IAAA,CAAC,EAAC,8GAHN;AAII,IAAA,IAAI,EAAEH,IAAI,CAACI;AAJf,IADJ,CADY;AAAA,CAAhB;;AAWA,eAAeF,OAAf","sourcesContent":["/* eslint-disable react/jsx-sort-props */\nimport * as React from 'react';\nimport * as vars from '../../styles/variables';\nimport AccessibleSVG, { SVGProps } from '../../components/accessible-svg/AccessibleSVG';\n\n/**\n * This is an auto-generated component and should not be edited\n * manually in contributor pull requests.\n *\n * If you have problems with this component:\n * - https://github.com/box/box-ui-elements/issues/new?template=Bug_report.md\n *\n * If there are missing features in this component:\n * - https://github.com/box/box-ui-elements/issues/new?template=Feature_request.md\n */\n\nconst Alert16 = (props: SVGProps) => (\n <AccessibleSVG width={16} height={16} viewBox=\"0 0 16 16\" {...props}>\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M8 11.6A1.2 1.2 0 108 14a1.2 1.2 0 000-2.4zM8 2a1.2 1.2 0 00-1.2 1.2v6a1.2 1.2 0 002.4 0v-6A1.2 1.2 0 008 2z\"\n fill={vars.bdlGray50}\n />\n </AccessibleSVG>\n);\n\nexport default Alert16;\n"],"file":"Alert16.js"}
@@ -0,0 +1,31 @@
1
+ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
+
3
+ /* eslint-disable react/jsx-sort-props */
4
+ import * as React from 'react';
5
+ import * as vars from '../../styles/variables';
6
+ import AccessibleSVG from '../../components/accessible-svg/AccessibleSVG';
7
+ /**
8
+ * This is an auto-generated component and should not be edited
9
+ * manually in contributor pull requests.
10
+ *
11
+ * If you have problems with this component:
12
+ * - https://github.com/box/box-ui-elements/issues/new?template=Bug_report.md
13
+ *
14
+ * If there are missing features in this component:
15
+ * - https://github.com/box/box-ui-elements/issues/new?template=Feature_request.md
16
+ */
17
+
18
+ var AlertBadge16 = function AlertBadge16(props) {
19
+ return React.createElement(AccessibleSVG, _extends({
20
+ width: 16,
21
+ height: 16,
22
+ viewBox: "0 0 16 16"
23
+ }, props), React.createElement("path", {
24
+ fill: vars.bdlGray50,
25
+ fillRule: "evenodd",
26
+ d: "M8 1a7 7 0 110 14A7 7 0 018 1zm0 10a1 1 0 100 2 1 1 0 000-2zm0-8a1 1 0 00-1 1v5a1 1 0 002 0V4a1 1 0 00-1-1z"
27
+ }));
28
+ };
29
+
30
+ export default AlertBadge16;
31
+ //# sourceMappingURL=AlertBadge16.js.map
@@ -0,0 +1,29 @@
1
+ // @flow
2
+ /* eslint-disable react/jsx-sort-props */
3
+ import * as React from 'react';
4
+ import * as vars from '../../styles/variables';
5
+ import AccessibleSVG from '../../icons/accessible-svg';
6
+ import type { Icon } from '../../icons/flowTypes';
7
+
8
+ /**
9
+ * This is an auto-generated component and should not be edited
10
+ * manually in contributor pull requests.
11
+ *
12
+ * If you have problems with this component:
13
+ * - https://github.com/box/box-ui-elements/issues/new?template=Bug_report.md
14
+ *
15
+ * If there are missing features in this component:
16
+ * - https://github.com/box/box-ui-elements/issues/new?template=Feature_request.md
17
+ */
18
+
19
+ const AlertBadge16 = (props: Icon) => (
20
+ <AccessibleSVG width={16} height={16} viewBox="0 0 16 16" {...props}>
21
+ <path
22
+ fill={vars.bdlGray50}
23
+ fillRule="evenodd"
24
+ d="M8 1a7 7 0 110 14A7 7 0 018 1zm0 10a1 1 0 100 2 1 1 0 000-2zm0-8a1 1 0 00-1 1v5a1 1 0 002 0V4a1 1 0 00-1-1z"
25
+ />
26
+ </AccessibleSVG>
27
+ );
28
+
29
+ export default AlertBadge16;
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/icon/fill/AlertBadge16.tsx"],"names":["React","vars","AccessibleSVG","AlertBadge16","props","bdlGray50"],"mappings":";;AAAA;AACA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,OAAO,KAAKC,IAAZ,MAAsB,wBAAtB;AACA,OAAOC,aAAP,MAAwC,+CAAxC;AAEA;;;;;;;;;;;AAWA,IAAMC,YAAY,GAAG,SAAfA,YAAe,CAACC,KAAD;AAAA,SACjB,oBAAC,aAAD;AAAe,IAAA,KAAK,EAAE,EAAtB;AAA0B,IAAA,MAAM,EAAE,EAAlC;AAAsC,IAAA,OAAO,EAAC;AAA9C,KAA8DA,KAA9D,GACI;AACI,IAAA,IAAI,EAAEH,IAAI,CAACI,SADf;AAEI,IAAA,QAAQ,EAAC,SAFb;AAGI,IAAA,CAAC,EAAC;AAHN,IADJ,CADiB;AAAA,CAArB;;AAUA,eAAeF,YAAf","sourcesContent":["/* eslint-disable react/jsx-sort-props */\nimport * as React from 'react';\nimport * as vars from '../../styles/variables';\nimport AccessibleSVG, { SVGProps } from '../../components/accessible-svg/AccessibleSVG';\n\n/**\n * This is an auto-generated component and should not be edited\n * manually in contributor pull requests.\n *\n * If you have problems with this component:\n * - https://github.com/box/box-ui-elements/issues/new?template=Bug_report.md\n *\n * If there are missing features in this component:\n * - https://github.com/box/box-ui-elements/issues/new?template=Feature_request.md\n */\n\nconst AlertBadge16 = (props: SVGProps) => (\n <AccessibleSVG width={16} height={16} viewBox=\"0 0 16 16\" {...props}>\n <path\n fill={vars.bdlGray50}\n fillRule=\"evenodd\"\n d=\"M8 1a7 7 0 110 14A7 7 0 018 1zm0 10a1 1 0 100 2 1 1 0 000-2zm0-8a1 1 0 00-1 1v5a1 1 0 002 0V4a1 1 0 00-1-1z\"\n />\n </AccessibleSVG>\n);\n\nexport default AlertBadge16;\n"],"file":"AlertBadge16.js"}
@@ -0,0 +1,13 @@
1
+ import * as React from 'react';
2
+ import AlertBadge16 from './AlertBadge16';
3
+ export var alertBadge16 = function alertBadge16() {
4
+ return React.createElement(AlertBadge16, null);
5
+ };
6
+ export default {
7
+ title: 'Icon|Fill|AlertBadge16',
8
+ component: AlertBadge16,
9
+ parameters: {
10
+ notes: "`import AlertBadge16 from 'box-ui-elements/es/icon/fill/AlertBadge16';`"
11
+ }
12
+ };
13
+ //# sourceMappingURL=AlertBadge16.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/icon/fill/AlertBadge16.stories.tsx"],"names":["React","AlertBadge16","alertBadge16","title","component","parameters","notes"],"mappings":"AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AAEA,OAAOC,YAAP,MAAyB,gBAAzB;AAEA,OAAO,IAAMC,YAAY,GAAG,SAAfA,YAAe;AAAA,SAAM,oBAAC,YAAD,OAAN;AAAA,CAArB;AAEP,eAAe;AACXC,EAAAA,KAAK,EAAE,wBADI;AAEXC,EAAAA,SAAS,EAAEH,YAFA;AAGXI,EAAAA,UAAU,EAAE;AACRC,IAAAA,KAAK,EAAE;AADC;AAHD,CAAf","sourcesContent":["import * as React from 'react';\n\nimport AlertBadge16 from './AlertBadge16';\n\nexport const alertBadge16 = () => <AlertBadge16 />;\n\nexport default {\n title: 'Icon|Fill|AlertBadge16',\n component: AlertBadge16,\n parameters: {\n notes: \"`import AlertBadge16 from 'box-ui-elements/es/icon/fill/AlertBadge16';`\",\n },\n};\n"],"file":"AlertBadge16.stories.js"}
@@ -21,8 +21,8 @@ var Info16 = function Info16(props) {
21
21
  height: 16,
22
22
  viewBox: "0 0 16 16"
23
23
  }, props), React.createElement("path", {
24
- fill: vars.bdlGray50,
25
- d: "M8 1a7 7 0 110 14A7 7 0 018 1zm.5 6H7a.5.5 0 000 1h.5v3H7a.5.5 0 100 1h2.5a.5.5 0 100-1H9V7.75a.783.783 0 00-.012-.139A.502.502 0 008.5 7zM8 4a1 1 0 100 2 1 1 0 000-2z"
24
+ d: "M8.5 6.5H6.25a.75.75 0 000 1.5H7v4.5h-.75a.75.75 0 100 1.5H10a.75.75 0 100-1.5h-.75V7.41s.006-.217-.02-.327A.753.753 0 008.5 6.5zM7.75 2a1.5 1.5 0 100 3 1.5 1.5 0 000-3z",
25
+ fill: vars.bdlGray50
26
26
  }));
27
27
  };
28
28
 
@@ -19,8 +19,8 @@ import type { Icon } from '../../icons/flowTypes';
19
19
  const Info16 = (props: Icon) => (
20
20
  <AccessibleSVG width={16} height={16} viewBox="0 0 16 16" {...props}>
21
21
  <path
22
+ d="M8.5 6.5H6.25a.75.75 0 000 1.5H7v4.5h-.75a.75.75 0 100 1.5H10a.75.75 0 100-1.5h-.75V7.41s.006-.217-.02-.327A.753.753 0 008.5 6.5zM7.75 2a1.5 1.5 0 100 3 1.5 1.5 0 000-3z"
22
23
  fill={vars.bdlGray50}
23
- d="M8 1a7 7 0 110 14A7 7 0 018 1zm.5 6H7a.5.5 0 000 1h.5v3H7a.5.5 0 100 1h2.5a.5.5 0 100-1H9V7.75a.783.783 0 00-.012-.139A.502.502 0 008.5 7zM8 4a1 1 0 100 2 1 1 0 000-2z"
24
24
  />
25
25
  </AccessibleSVG>
26
26
  );
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/icon/fill/Info16.tsx"],"names":["React","vars","AccessibleSVG","Info16","props","bdlGray50"],"mappings":";;AAAA;AACA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,OAAO,KAAKC,IAAZ,MAAsB,wBAAtB;AACA,OAAOC,aAAP,MAAwC,+CAAxC;AAEA;;;;;;;;;;;AAWA,IAAMC,MAAM,GAAG,SAATA,MAAS,CAACC,KAAD;AAAA,SACX,oBAAC,aAAD;AAAe,IAAA,KAAK,EAAE,EAAtB;AAA0B,IAAA,MAAM,EAAE,EAAlC;AAAsC,IAAA,OAAO,EAAC;AAA9C,KAA8DA,KAA9D,GACI;AACI,IAAA,IAAI,EAAEH,IAAI,CAACI,SADf;AAEI,IAAA,CAAC,EAAC;AAFN,IADJ,CADW;AAAA,CAAf;;AASA,eAAeF,MAAf","sourcesContent":["/* eslint-disable react/jsx-sort-props */\nimport * as React from 'react';\nimport * as vars from '../../styles/variables';\nimport AccessibleSVG, { SVGProps } from '../../components/accessible-svg/AccessibleSVG';\n\n/**\n * This is an auto-generated component and should not be edited\n * manually in contributor pull requests.\n *\n * If you have problems with this component:\n * - https://github.com/box/box-ui-elements/issues/new?template=Bug_report.md\n *\n * If there are missing features in this component:\n * - https://github.com/box/box-ui-elements/issues/new?template=Feature_request.md\n */\n\nconst Info16 = (props: SVGProps) => (\n <AccessibleSVG width={16} height={16} viewBox=\"0 0 16 16\" {...props}>\n <path\n fill={vars.bdlGray50}\n d=\"M8 1a7 7 0 110 14A7 7 0 018 1zm.5 6H7a.5.5 0 000 1h.5v3H7a.5.5 0 100 1h2.5a.5.5 0 100-1H9V7.75a.783.783 0 00-.012-.139A.502.502 0 008.5 7zM8 4a1 1 0 100 2 1 1 0 000-2z\"\n />\n </AccessibleSVG>\n);\n\nexport default Info16;\n"],"file":"Info16.js"}
1
+ {"version":3,"sources":["../../../src/icon/fill/Info16.tsx"],"names":["React","vars","AccessibleSVG","Info16","props","bdlGray50"],"mappings":";;AAAA;AACA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,OAAO,KAAKC,IAAZ,MAAsB,wBAAtB;AACA,OAAOC,aAAP,MAAwC,+CAAxC;AAEA;;;;;;;;;;;AAWA,IAAMC,MAAM,GAAG,SAATA,MAAS,CAACC,KAAD;AAAA,SACX,oBAAC,aAAD;AAAe,IAAA,KAAK,EAAE,EAAtB;AAA0B,IAAA,MAAM,EAAE,EAAlC;AAAsC,IAAA,OAAO,EAAC;AAA9C,KAA8DA,KAA9D,GACI;AACI,IAAA,CAAC,EAAC,2KADN;AAEI,IAAA,IAAI,EAAEH,IAAI,CAACI;AAFf,IADJ,CADW;AAAA,CAAf;;AASA,eAAeF,MAAf","sourcesContent":["/* eslint-disable react/jsx-sort-props */\nimport * as React from 'react';\nimport * as vars from '../../styles/variables';\nimport AccessibleSVG, { SVGProps } from '../../components/accessible-svg/AccessibleSVG';\n\n/**\n * This is an auto-generated component and should not be edited\n * manually in contributor pull requests.\n *\n * If you have problems with this component:\n * - https://github.com/box/box-ui-elements/issues/new?template=Bug_report.md\n *\n * If there are missing features in this component:\n * - https://github.com/box/box-ui-elements/issues/new?template=Feature_request.md\n */\n\nconst Info16 = (props: SVGProps) => (\n <AccessibleSVG width={16} height={16} viewBox=\"0 0 16 16\" {...props}>\n <path\n d=\"M8.5 6.5H6.25a.75.75 0 000 1.5H7v4.5h-.75a.75.75 0 100 1.5H10a.75.75 0 100-1.5h-.75V7.41s.006-.217-.02-.327A.753.753 0 008.5 6.5zM7.75 2a1.5 1.5 0 100 3 1.5 1.5 0 000-3z\"\n fill={vars.bdlGray50}\n />\n </AccessibleSVG>\n);\n\nexport default Info16;\n"],"file":"Info16.js"}
@@ -0,0 +1,30 @@
1
+ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
+
3
+ /* eslint-disable react/jsx-sort-props */
4
+ import * as React from 'react';
5
+ import * as vars from '../../styles/variables';
6
+ import AccessibleSVG from '../../components/accessible-svg/AccessibleSVG';
7
+ /**
8
+ * This is an auto-generated component and should not be edited
9
+ * manually in contributor pull requests.
10
+ *
11
+ * If you have problems with this component:
12
+ * - https://github.com/box/box-ui-elements/issues/new?template=Bug_report.md
13
+ *
14
+ * If there are missing features in this component:
15
+ * - https://github.com/box/box-ui-elements/issues/new?template=Feature_request.md
16
+ */
17
+
18
+ var InfoBadge16 = function InfoBadge16(props) {
19
+ return React.createElement(AccessibleSVG, _extends({
20
+ width: 16,
21
+ height: 16,
22
+ viewBox: "0 0 16 16"
23
+ }, props), React.createElement("path", {
24
+ fill: vars.bdlGray50,
25
+ d: "M8 1a7 7 0 110 14A7 7 0 018 1zm.5 6H7a.5.5 0 000 1h.5v3H7a.5.5 0 100 1h2.5a.5.5 0 100-1H9V7.75a.783.783 0 00-.012-.139A.502.502 0 008.5 7zM8 4a1 1 0 100 2 1 1 0 000-2z"
26
+ }));
27
+ };
28
+
29
+ export default InfoBadge16;
30
+ //# sourceMappingURL=InfoBadge16.js.map
@@ -0,0 +1,28 @@
1
+ // @flow
2
+ /* eslint-disable react/jsx-sort-props */
3
+ import * as React from 'react';
4
+ import * as vars from '../../styles/variables';
5
+ import AccessibleSVG from '../../icons/accessible-svg';
6
+ import type { Icon } from '../../icons/flowTypes';
7
+
8
+ /**
9
+ * This is an auto-generated component and should not be edited
10
+ * manually in contributor pull requests.
11
+ *
12
+ * If you have problems with this component:
13
+ * - https://github.com/box/box-ui-elements/issues/new?template=Bug_report.md
14
+ *
15
+ * If there are missing features in this component:
16
+ * - https://github.com/box/box-ui-elements/issues/new?template=Feature_request.md
17
+ */
18
+
19
+ const InfoBadge16 = (props: Icon) => (
20
+ <AccessibleSVG width={16} height={16} viewBox="0 0 16 16" {...props}>
21
+ <path
22
+ fill={vars.bdlGray50}
23
+ d="M8 1a7 7 0 110 14A7 7 0 018 1zm.5 6H7a.5.5 0 000 1h.5v3H7a.5.5 0 100 1h2.5a.5.5 0 100-1H9V7.75a.783.783 0 00-.012-.139A.502.502 0 008.5 7zM8 4a1 1 0 100 2 1 1 0 000-2z"
24
+ />
25
+ </AccessibleSVG>
26
+ );
27
+
28
+ export default InfoBadge16;
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/icon/fill/InfoBadge16.tsx"],"names":["React","vars","AccessibleSVG","InfoBadge16","props","bdlGray50"],"mappings":";;AAAA;AACA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,OAAO,KAAKC,IAAZ,MAAsB,wBAAtB;AACA,OAAOC,aAAP,MAAwC,+CAAxC;AAEA;;;;;;;;;;;AAWA,IAAMC,WAAW,GAAG,SAAdA,WAAc,CAACC,KAAD;AAAA,SAChB,oBAAC,aAAD;AAAe,IAAA,KAAK,EAAE,EAAtB;AAA0B,IAAA,MAAM,EAAE,EAAlC;AAAsC,IAAA,OAAO,EAAC;AAA9C,KAA8DA,KAA9D,GACI;AACI,IAAA,IAAI,EAAEH,IAAI,CAACI,SADf;AAEI,IAAA,CAAC,EAAC;AAFN,IADJ,CADgB;AAAA,CAApB;;AASA,eAAeF,WAAf","sourcesContent":["/* eslint-disable react/jsx-sort-props */\nimport * as React from 'react';\nimport * as vars from '../../styles/variables';\nimport AccessibleSVG, { SVGProps } from '../../components/accessible-svg/AccessibleSVG';\n\n/**\n * This is an auto-generated component and should not be edited\n * manually in contributor pull requests.\n *\n * If you have problems with this component:\n * - https://github.com/box/box-ui-elements/issues/new?template=Bug_report.md\n *\n * If there are missing features in this component:\n * - https://github.com/box/box-ui-elements/issues/new?template=Feature_request.md\n */\n\nconst InfoBadge16 = (props: SVGProps) => (\n <AccessibleSVG width={16} height={16} viewBox=\"0 0 16 16\" {...props}>\n <path\n fill={vars.bdlGray50}\n d=\"M8 1a7 7 0 110 14A7 7 0 018 1zm.5 6H7a.5.5 0 000 1h.5v3H7a.5.5 0 100 1h2.5a.5.5 0 100-1H9V7.75a.783.783 0 00-.012-.139A.502.502 0 008.5 7zM8 4a1 1 0 100 2 1 1 0 000-2z\"\n />\n </AccessibleSVG>\n);\n\nexport default InfoBadge16;\n"],"file":"InfoBadge16.js"}
@@ -0,0 +1,13 @@
1
+ import * as React from 'react';
2
+ import InfoBadge16 from './InfoBadge16';
3
+ export var infoBadge16 = function infoBadge16() {
4
+ return React.createElement(InfoBadge16, null);
5
+ };
6
+ export default {
7
+ title: 'Icon|Fill|InfoBadge16',
8
+ component: InfoBadge16,
9
+ parameters: {
10
+ notes: "`import InfoBadge16 from 'box-ui-elements/es/icon/fill/InfoBadge16';`"
11
+ }
12
+ };
13
+ //# sourceMappingURL=InfoBadge16.stories.js.map