box-ui-elements 19.0.0-beta.9 → 19.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 (2047) hide show
  1. package/dist/explorer.css +1 -1
  2. package/dist/explorer.js +2 -172
  3. package/dist/explorer.js.LICENSE.txt +178 -0
  4. package/dist/openwith.css +1 -1
  5. package/dist/openwith.js +2 -84
  6. package/dist/openwith.js.LICENSE.txt +94 -0
  7. package/dist/picker.css +1 -1
  8. package/dist/picker.js +2 -101
  9. package/dist/picker.js.LICENSE.txt +112 -0
  10. package/dist/preview.css +1 -1
  11. package/dist/preview.js +2 -155
  12. package/dist/preview.js.LICENSE.txt +160 -0
  13. package/dist/sharing.css +1 -1
  14. package/dist/sharing.js +2 -135
  15. package/dist/sharing.js.LICENSE.txt +149 -0
  16. package/dist/sidebar.css +1 -1
  17. package/dist/sidebar.js +2 -155
  18. package/dist/sidebar.js.LICENSE.txt +160 -0
  19. package/dist/uploader.css +1 -1
  20. package/dist/uploader.js +2 -101
  21. package/dist/uploader.js.LICENSE.txt +112 -0
  22. package/es/api/APIFactory.js +25 -0
  23. package/es/api/APIFactory.js.flow +25 -0
  24. package/es/api/APIFactory.js.map +1 -1
  25. package/es/api/Intelligence.js +45 -0
  26. package/es/api/Intelligence.js.flow +47 -0
  27. package/es/api/Intelligence.js.map +1 -0
  28. package/es/common/types/core.js.flow +1 -0
  29. package/es/common/types/core.js.map +1 -1
  30. package/es/components/accessible-svg/AccessibleSVG.stories.js +1 -1
  31. package/es/components/accessible-svg/AccessibleSVG.stories.js.map +1 -1
  32. package/es/components/avatar/Avatar.stories.js +1 -1
  33. package/es/components/avatar/Avatar.stories.js.map +1 -1
  34. package/es/components/badge/Badge.stories.js +1 -1
  35. package/es/components/badge/Badge.stories.js.map +1 -1
  36. package/es/components/badge/BetaBadge.stories.js +1 -1
  37. package/es/components/badge/BetaBadge.stories.js.map +1 -1
  38. package/es/components/badge/TrialBadge.stories.js +1 -1
  39. package/es/components/badge/TrialBadge.stories.js.map +1 -1
  40. package/es/components/badge/UpgradeBadge.stories.js +1 -1
  41. package/es/components/badge/UpgradeBadge.stories.js.map +1 -1
  42. package/es/components/breadcrumb/Breadcrumb.stories.js +1 -1
  43. package/es/components/breadcrumb/Breadcrumb.stories.js.flow +1 -1
  44. package/es/components/breadcrumb/Breadcrumb.stories.js.map +1 -1
  45. package/es/components/button/Button.stories.js +1 -1
  46. package/es/components/button/Button.stories.js.map +1 -1
  47. package/es/components/button-group/ButtonGroup.stories.js +1 -1
  48. package/es/components/button-group/ButtonGroup.stories.js.map +1 -1
  49. package/es/components/category-selector/CategorySelector.stories.js +1 -1
  50. package/es/components/category-selector/CategorySelector.stories.js.map +1 -1
  51. package/es/components/checkbox/Checkbox.stories.js +1 -1
  52. package/es/components/checkbox/Checkbox.stories.js.map +1 -1
  53. package/es/components/close-button/CloseButton.stories.js +1 -1
  54. package/es/components/close-button/CloseButton.stories.js.map +1 -1
  55. package/es/components/collapsible/Collapsible.stories.js +1 -1
  56. package/es/components/collapsible/Collapsible.stories.js.map +1 -1
  57. package/es/components/contact-datalist-item/ContactDatalistItem.stories.js +1 -1
  58. package/es/components/contact-datalist-item/ContactDatalistItem.stories.js.map +1 -1
  59. package/es/components/context-menu/ContextMenu.stories.js +1 -1
  60. package/es/components/context-menu/ContextMenu.stories.js.map +1 -1
  61. package/es/components/count-badge/CountBadge.stories.js +1 -1
  62. package/es/components/count-badge/CountBadge.stories.js.map +1 -1
  63. package/es/components/datalist-item/DatalistItem.stories.js +1 -1
  64. package/es/components/datalist-item/DatalistItem.stories.js.map +1 -1
  65. package/es/components/date-picker/DatePicker.stories.js +1 -1
  66. package/es/components/date-picker/DatePicker.stories.js.map +1 -1
  67. package/es/components/draft-js-editor/DraftJSEditor.stories.js +1 -1
  68. package/es/components/draft-js-editor/DraftJSEditor.stories.js.flow +1 -1
  69. package/es/components/draft-js-editor/DraftJSEditor.stories.js.map +1 -1
  70. package/es/components/draggable-list/DraggableList.stories.js +1 -1
  71. package/es/components/draggable-list/DraggableList.stories.js.map +1 -1
  72. package/es/components/dropdown-menu/DropdownMenu.stories.js +1 -1
  73. package/es/components/dropdown-menu/DropdownMenu.stories.js.flow +1 -1
  74. package/es/components/dropdown-menu/DropdownMenu.stories.js.map +1 -1
  75. package/es/components/error-mask/ErrorMask.stories.js +1 -1
  76. package/es/components/error-mask/ErrorMask.stories.js.map +1 -1
  77. package/es/components/fieldset/Fieldset.stories.js +1 -1
  78. package/es/components/fieldset/Fieldset.stories.js.map +1 -1
  79. package/es/components/flyout/Flyout.stories.js +1 -1
  80. package/es/components/flyout/Flyout.stories.js.map +1 -1
  81. package/es/components/flyout/OverlayHeader.js +2 -1
  82. package/es/components/flyout/OverlayHeader.js.map +1 -1
  83. package/es/components/footer-indicator/FooterIndicator.stories.js +1 -1
  84. package/es/components/footer-indicator/FooterIndicator.stories.js.map +1 -1
  85. package/es/components/form-elements/form/Form.stories.js +1 -1
  86. package/es/components/form-elements/form/Form.stories.js.flow +1 -1
  87. package/es/components/form-elements/form/Form.stories.js.map +1 -1
  88. package/es/components/form-elements/formik/Formik.stories.js +1 -1
  89. package/es/components/form-elements/formik/Formik.stories.js.flow +1 -1
  90. package/es/components/form-elements/formik/Formik.stories.js.map +1 -1
  91. package/es/components/form-elements/text-area/TextArea.stories.js +1 -1
  92. package/es/components/form-elements/text-area/TextArea.stories.js.flow +1 -1
  93. package/es/components/form-elements/text-area/TextArea.stories.js.map +1 -1
  94. package/es/components/form-elements/text-input/TextInput.stories.js +1 -1
  95. package/es/components/form-elements/text-input/TextInput.stories.js.flow +1 -1
  96. package/es/components/form-elements/text-input/TextInput.stories.js.map +1 -1
  97. package/es/components/ghost/Ghost.stories.js +1 -1
  98. package/es/components/ghost/Ghost.stories.js.map +1 -1
  99. package/es/components/guide-tooltip/GuideTooltip.stories.js +1 -1
  100. package/es/components/guide-tooltip/GuideTooltip.stories.js.map +1 -1
  101. package/es/components/header/Header.stories.js +1 -1
  102. package/es/components/header/Header.stories.js.map +1 -1
  103. package/es/components/image-tooltip/ImageTooltip.stories.js +1 -1
  104. package/es/components/image-tooltip/ImageTooltip.stories.js.map +1 -1
  105. package/es/components/inline-error/InlineError.stories.js +1 -1
  106. package/es/components/inline-error/InlineError.stories.js.flow +1 -1
  107. package/es/components/inline-error/InlineError.stories.js.map +1 -1
  108. package/es/components/inline-notice/InlineNotice.stories.js +1 -1
  109. package/es/components/inline-notice/InlineNotice.stories.js.flow +1 -1
  110. package/es/components/inline-notice/InlineNotice.stories.js.map +1 -1
  111. package/es/components/label/HiddenLabel.js +13 -7
  112. package/es/components/label/HiddenLabel.js.flow +3 -2
  113. package/es/components/label/HiddenLabel.js.map +1 -1
  114. package/es/components/label/Label.js +5 -2
  115. package/es/components/label/Label.js.flow +5 -3
  116. package/es/components/label/Label.js.map +1 -1
  117. package/es/components/label/Label.stories.js +1 -1
  118. package/es/components/label/Label.stories.js.map +1 -1
  119. package/es/components/label/LabelPrimitive.js +4 -3
  120. package/es/components/label/LabelPrimitive.js.flow +3 -2
  121. package/es/components/label/LabelPrimitive.js.map +1 -1
  122. package/es/components/label/StandardLabel.js +8 -5
  123. package/es/components/label/StandardLabel.js.flow +3 -2
  124. package/es/components/label/StandardLabel.js.map +1 -1
  125. package/es/components/label-pill/LabelPill.stories.js +1 -1
  126. package/es/components/label-pill/LabelPill.stories.js.map +1 -1
  127. package/es/components/link/stories/Link.stories.js +6 -4
  128. package/es/components/link/stories/Link.stories.js.map +1 -1
  129. package/es/components/link/stories/LinkButton.stories.js +8 -5
  130. package/es/components/link/stories/LinkButton.stories.js.map +1 -1
  131. package/es/components/link/stories/LinkGroup.stories.js +1 -1
  132. package/es/components/link/stories/LinkGroup.stories.js.map +1 -1
  133. package/es/components/link/stories/LinkPrimaryButton.stories.js +6 -4
  134. package/es/components/link/stories/LinkPrimaryButton.stories.js.map +1 -1
  135. package/es/components/loading-indicator/LoadingIndicator.stories.js +1 -1
  136. package/es/components/loading-indicator/LoadingIndicator.stories.js.map +1 -1
  137. package/es/components/loading-indicator/LoadingIndicatorWrapper.stories.js +1 -1
  138. package/es/components/loading-indicator/LoadingIndicatorWrapper.stories.js.map +1 -1
  139. package/es/components/loading-indicator/makeLoadable.js.map +1 -1
  140. package/es/components/logo/Logo.stories.js +1 -1
  141. package/es/components/logo/Logo.stories.js.map +1 -1
  142. package/es/components/media/stories/Media.stories.js +1 -1
  143. package/es/components/media/stories/Media.stories.js.map +1 -1
  144. package/es/components/media/stories/MediaBody.stories.js +1 -1
  145. package/es/components/media/stories/MediaBody.stories.js.map +1 -1
  146. package/es/components/media/stories/MediaFigure.stories.js +1 -1
  147. package/es/components/media/stories/MediaFigure.stories.js.map +1 -1
  148. package/es/components/media/stories/MediaMenu.stories.js +1 -1
  149. package/es/components/media/stories/MediaMenu.stories.js.map +1 -1
  150. package/es/components/media-query/stories/MediaQuery.stories.js +1 -1
  151. package/es/components/media-query/stories/MediaQuery.stories.js.flow +1 -1
  152. package/es/components/media-query/stories/MediaQuery.stories.js.map +1 -1
  153. package/es/components/menu/stories/Menu.stories.js +1 -1
  154. package/es/components/menu/stories/Menu.stories.js.map +1 -1
  155. package/es/components/menu/stories/SelectMenuLinkItem.stories.js +1 -1
  156. package/es/components/menu/stories/SelectMenuLinkItem.stories.js.map +1 -1
  157. package/es/components/modal/Modal.scss +62 -69
  158. package/es/components/modal/stories/Modal.stories.js +1 -1
  159. package/es/components/modal/stories/Modal.stories.js.flow +1 -1
  160. package/es/components/modal/stories/Modal.stories.js.map +1 -1
  161. package/es/components/modal/stories/ModalActions.stories.js +1 -1
  162. package/es/components/modal/stories/ModalActions.stories.js.flow +1 -1
  163. package/es/components/modal/stories/ModalActions.stories.js.map +1 -1
  164. package/es/components/modal/stories/ModalDialog.stories.js +1 -1
  165. package/es/components/modal/stories/ModalDialog.stories.js.flow +1 -1
  166. package/es/components/modal/stories/ModalDialog.stories.js.map +1 -1
  167. package/es/components/nav-sidebar/NavSidebar.stories.js +1 -1
  168. package/es/components/nav-sidebar/NavSidebar.stories.js.flow +1 -1
  169. package/es/components/nav-sidebar/NavSidebar.stories.js.map +1 -1
  170. package/es/components/notification/stories/Notification.stories.js +1 -1
  171. package/es/components/notification/stories/Notification.stories.js.flow +1 -1
  172. package/es/components/notification/stories/Notification.stories.js.map +1 -1
  173. package/es/components/notification/stories/NotificationsWrapper.stories.js +1 -1
  174. package/es/components/notification/stories/NotificationsWrapper.stories.js.flow +1 -1
  175. package/es/components/notification/stories/NotificationsWrapper.stories.js.map +1 -1
  176. package/es/components/nudge/Nudge.stories.js +1 -1
  177. package/es/components/nudge/Nudge.stories.js.map +1 -1
  178. package/es/components/pill-cloud/PillCloud.stories.js +1 -1
  179. package/es/components/pill-cloud/PillCloud.stories.js.flow +1 -1
  180. package/es/components/pill-cloud/PillCloud.stories.js.map +1 -1
  181. package/es/components/pill-selector-dropdown/PillSelector.js +7 -3
  182. package/es/components/pill-selector-dropdown/PillSelector.js.flow +10 -2
  183. package/es/components/pill-selector-dropdown/PillSelector.js.map +1 -1
  184. package/es/components/pill-selector-dropdown/PillSelector.scss +4 -0
  185. package/es/components/pill-selector-dropdown/PillSelectorDropdown.stories.js +1 -1
  186. package/es/components/pill-selector-dropdown/PillSelectorDropdown.stories.js.flow +1 -1
  187. package/es/components/pill-selector-dropdown/PillSelectorDropdown.stories.js.map +1 -1
  188. package/es/components/plain-button/PlainButton.stories.js +1 -1
  189. package/es/components/plain-button/PlainButton.stories.js.map +1 -1
  190. package/es/components/primary-button/PrimaryButton.stories.js +1 -1
  191. package/es/components/primary-button/PrimaryButton.stories.js.map +1 -1
  192. package/es/components/radar/RadarAnimation.stories.js +1 -1
  193. package/es/components/radar/RadarAnimation.stories.js.map +1 -1
  194. package/es/components/radio/stories/RadioButton.stories.js +1 -1
  195. package/es/components/radio/stories/RadioButton.stories.js.map +1 -1
  196. package/es/components/radio/stories/RadioGroup.stories.js +1 -1
  197. package/es/components/radio/stories/RadioGroup.stories.js.map +1 -1
  198. package/es/components/search-form/SearchActions.js +35 -0
  199. package/es/components/search-form/SearchActions.js.map +1 -0
  200. package/es/components/search-form/SearchForm.js +11 -39
  201. package/es/components/search-form/SearchForm.js.flow +10 -54
  202. package/es/components/search-form/SearchForm.js.map +1 -1
  203. package/es/components/search-form/messages.js +17 -0
  204. package/es/components/search-form/messages.js.map +1 -0
  205. package/es/components/section/Section.stories.js +1 -1
  206. package/es/components/section/Section.stories.js.map +1 -1
  207. package/es/components/select/Select.stories.js +1 -1
  208. package/es/components/select/Select.stories.js.flow +1 -1
  209. package/es/components/select/Select.stories.js.map +1 -1
  210. package/es/components/select-button/SelectButton.stories.js +1 -1
  211. package/es/components/select-button/SelectButton.stories.js.flow +1 -1
  212. package/es/components/select-button/SelectButton.stories.js.map +1 -1
  213. package/es/components/selector-dropdown/SelectorDropdown.stories.js +1 -1
  214. package/es/components/selector-dropdown/SelectorDropdown.stories.js.flow +1 -1
  215. package/es/components/selector-dropdown/SelectorDropdown.stories.js.map +1 -1
  216. package/es/components/sidebar-toggle-button/SidebarToggleButton.stories.js +1 -1
  217. package/es/components/sidebar-toggle-button/SidebarToggleButton.stories.js.flow +1 -1
  218. package/es/components/sidebar-toggle-button/SidebarToggleButton.stories.js.map +1 -1
  219. package/es/components/tab-view/TabView.stories.js +1 -1
  220. package/es/components/tab-view/TabView.stories.js.flow +1 -1
  221. package/es/components/tab-view/TabView.stories.js.map +1 -1
  222. package/es/components/text-input/TextInput.stories.js +1 -1
  223. package/es/components/text-input/TextInput.stories.js.flow +1 -1
  224. package/es/components/text-input/TextInput.stories.js.map +1 -1
  225. package/es/components/text-input-with-copy-button/TextInputWithCopyButton.js +9 -3
  226. package/es/components/text-input-with-copy-button/TextInputWithCopyButton.js.flow +9 -4
  227. package/es/components/text-input-with-copy-button/TextInputWithCopyButton.js.map +1 -1
  228. package/es/components/text-input-with-copy-button/TextInputWithCopyButton.stories.js +1 -1
  229. package/es/components/text-input-with-copy-button/TextInputWithCopyButton.stories.js.flow +1 -1
  230. package/es/components/text-input-with-copy-button/TextInputWithCopyButton.stories.js.map +1 -1
  231. package/es/components/thumbnail-card/ThumbnailCard.stories.js +1 -1
  232. package/es/components/thumbnail-card/ThumbnailCard.stories.js.flow +1 -1
  233. package/es/components/thumbnail-card/ThumbnailCard.stories.js.map +1 -1
  234. package/es/components/time/ReadableTime.stories.js +1 -1
  235. package/es/components/time/ReadableTime.stories.js.flow +1 -1
  236. package/es/components/time/ReadableTime.stories.js.map +1 -1
  237. package/es/components/time-input/TimeInput.stories.js +1 -1
  238. package/es/components/time-input/TimeInput.stories.js.map +1 -1
  239. package/es/components/toggle/Toggle.stories.js +1 -1
  240. package/es/components/toggle/Toggle.stories.js.flow +1 -1
  241. package/es/components/toggle/Toggle.stories.js.map +1 -1
  242. package/es/components/tooltip/Tooltip.stories.js +1 -1
  243. package/es/components/tooltip/Tooltip.stories.js.map +1 -1
  244. package/es/constants.js +1 -0
  245. package/es/constants.js.flow +1 -0
  246. package/es/constants.js.map +1 -1
  247. package/es/elements/common/_variables.scss +1 -0
  248. package/es/elements/common/current-user/withCurrentUser.js +1 -0
  249. package/es/elements/common/current-user/withCurrentUser.js.map +1 -1
  250. package/es/elements/common/selectors/version.js +2 -1
  251. package/es/elements/common/selectors/version.js.flow +2 -1
  252. package/es/elements/common/selectors/version.js.map +1 -1
  253. package/es/elements/content-explorer/ContentExplorer.js +2 -0
  254. package/es/elements/content-explorer/ContentExplorer.js.flow +10 -4
  255. package/es/elements/content-explorer/ContentExplorer.js.map +1 -1
  256. package/es/elements/content-explorer/MoreOptions.js +1 -1
  257. package/es/elements/content-explorer/MoreOptions.js.flow +1 -1
  258. package/es/elements/content-explorer/MoreOptions.js.map +1 -1
  259. package/es/elements/content-explorer/PreviewDialog.js +0 -1
  260. package/es/elements/content-explorer/PreviewDialog.js.flow +0 -1
  261. package/es/elements/content-explorer/PreviewDialog.js.map +1 -1
  262. package/es/elements/content-explorer/stories/ContentExplorer.stories.js +25 -35
  263. package/es/elements/content-explorer/stories/ContentExplorer.stories.js.flow +25 -36
  264. package/es/elements/content-explorer/stories/ContentExplorer.stories.js.map +1 -1
  265. package/es/elements/content-explorer/stories/DeleteConfirmationDialog.stories.js +1 -1
  266. package/es/elements/content-explorer/stories/DeleteConfirmationDialog.stories.js.flow +1 -1
  267. package/es/elements/content-explorer/stories/DeleteConfirmationDialog.stories.js.map +1 -1
  268. package/es/elements/content-explorer/stories/ShareDialog.stories.js +1 -1
  269. package/es/elements/content-explorer/stories/ShareDialog.stories.js.flow +1 -1
  270. package/es/elements/content-explorer/stories/ShareDialog.stories.js.map +1 -1
  271. package/es/elements/content-picker/ContentPicker.js +2 -2
  272. package/es/elements/content-picker/ContentPicker.js.flow +2 -2
  273. package/es/elements/content-picker/ContentPicker.js.map +1 -1
  274. package/es/elements/content-picker/Footer.scss +6 -0
  275. package/es/elements/content-preview/ContentPreview.js +20 -10
  276. package/es/elements/content-preview/ContentPreview.js.flow +88 -64
  277. package/es/elements/content-preview/ContentPreview.js.map +1 -1
  278. package/es/elements/content-preview/ContentPreview.scss +13 -28
  279. package/es/elements/content-preview/preview-header/PreviewHeader.js +8 -2
  280. package/es/elements/content-preview/preview-header/PreviewHeader.js.flow +6 -0
  281. package/es/elements/content-preview/preview-header/PreviewHeader.js.map +1 -1
  282. package/es/elements/content-preview/stories/ContentPreview.stories.js +32 -46
  283. package/es/elements/content-preview/stories/ContentPreview.stories.js.flow +51 -81
  284. package/es/elements/content-preview/stories/ContentPreview.stories.js.map +1 -1
  285. package/es/elements/content-sharing/stories/ContentSharing.stories.js +19 -63
  286. package/es/elements/content-sharing/stories/ContentSharing.stories.js.flow +18 -84
  287. package/es/elements/content-sharing/stories/ContentSharing.stories.js.map +1 -1
  288. package/es/elements/content-sidebar/ActivitySidebar.js +22 -17
  289. package/es/elements/content-sidebar/ActivitySidebar.js.flow +2 -2
  290. package/es/elements/content-sidebar/ActivitySidebar.js.map +1 -1
  291. package/es/elements/content-sidebar/ContentSidebar.scss +9 -9
  292. package/es/elements/content-sidebar/SidebarContent.scss +6 -8
  293. package/es/elements/content-sidebar/SidebarNav.scss +22 -20
  294. package/es/elements/content-sidebar/SidebarNavButton.scss +12 -14
  295. package/es/elements/content-sidebar/SidebarNavSignButton.scss +6 -8
  296. package/es/elements/content-sidebar/activity-feed/activity-feed/ActiveState.js +13 -1
  297. package/es/elements/content-sidebar/activity-feed/activity-feed/ActiveState.js.flow +20 -2
  298. package/es/elements/content-sidebar/activity-feed/activity-feed/ActiveState.js.map +1 -1
  299. package/es/elements/content-sidebar/activity-feed/activity-feed/ActivityFeed.js.flow +7 -6
  300. package/es/elements/content-sidebar/activity-feed/activity-feed/ActivityFeed.js.map +1 -1
  301. package/es/elements/content-sidebar/activity-feed/activity-feed/ActivityFeed.scss +6 -4
  302. package/es/elements/content-sidebar/activity-feed/activity-feed/ActivityItem.scss +2 -2
  303. package/es/elements/content-sidebar/activity-feed/activity-feed/stories/ActivityFeed.stories.js +61 -0
  304. package/es/elements/content-sidebar/activity-feed/activity-feed/stories/ActivityFeed.stories.js.flow +70 -0
  305. package/es/elements/content-sidebar/activity-feed/activity-feed/stories/ActivityFeed.stories.js.map +1 -0
  306. package/es/elements/content-sidebar/activity-feed/annotation-thread/AnnotationThreadContent.js.flow +2 -2
  307. package/es/elements/content-sidebar/activity-feed/annotation-thread/AnnotationThreadContent.js.map +1 -1
  308. package/es/elements/content-sidebar/activity-feed/annotation-thread/useAnnotationThread.js +11 -6
  309. package/es/elements/content-sidebar/activity-feed/annotation-thread/useAnnotationThread.js.flow +3 -7
  310. package/es/elements/content-sidebar/activity-feed/annotation-thread/useAnnotationThread.js.map +1 -1
  311. package/es/elements/content-sidebar/activity-feed/annotations/AnnotationActivity.js +5 -1
  312. package/es/elements/content-sidebar/activity-feed/annotations/AnnotationActivity.js.flow +3 -3
  313. package/es/elements/content-sidebar/activity-feed/annotations/AnnotationActivity.js.map +1 -1
  314. package/es/elements/content-sidebar/activity-feed/comment/BaseComment.js +50 -142
  315. package/es/elements/content-sidebar/activity-feed/comment/BaseComment.js.flow +59 -166
  316. package/es/elements/content-sidebar/activity-feed/comment/BaseComment.js.map +1 -1
  317. package/es/elements/content-sidebar/activity-feed/comment/BaseComment.scss +34 -12
  318. package/es/elements/content-sidebar/activity-feed/comment/CreateReply.js +6 -5
  319. package/es/elements/content-sidebar/activity-feed/comment/CreateReply.js.flow +5 -4
  320. package/es/elements/content-sidebar/activity-feed/comment/CreateReply.js.map +1 -1
  321. package/es/elements/content-sidebar/activity-feed/comment/Replies.scss +4 -2
  322. package/es/elements/content-sidebar/activity-feed/comment/components/BaseCommentInfo.js +48 -0
  323. package/es/elements/content-sidebar/activity-feed/comment/components/BaseCommentInfo.js.flow +72 -0
  324. package/es/elements/content-sidebar/activity-feed/comment/components/BaseCommentInfo.js.map +1 -0
  325. package/es/elements/content-sidebar/activity-feed/comment/components/BaseCommentInfo.scss +38 -0
  326. package/es/elements/content-sidebar/activity-feed/comment/components/BaseCommentMenu.js +75 -0
  327. package/es/elements/content-sidebar/activity-feed/comment/components/BaseCommentMenu.js.flow +125 -0
  328. package/es/elements/content-sidebar/activity-feed/comment/components/BaseCommentMenu.js.map +1 -0
  329. package/es/elements/content-sidebar/activity-feed/comment/components/BaseCommentMenu.scss +4 -0
  330. package/es/elements/content-sidebar/activity-feed/comment/components/BaseCommentMenuWrapper.js +78 -0
  331. package/es/elements/content-sidebar/activity-feed/comment/components/BaseCommentMenuWrapper.js.flow +91 -0
  332. package/es/elements/content-sidebar/activity-feed/comment/components/BaseCommentMenuWrapper.js.map +1 -0
  333. package/es/elements/content-sidebar/activity-feed/comment/components/stories/BaseCommentInfo.stories.js +25 -0
  334. package/es/elements/content-sidebar/activity-feed/comment/components/stories/BaseCommentInfo.stories.js.flow +25 -0
  335. package/es/elements/content-sidebar/activity-feed/comment/components/stories/BaseCommentInfo.stories.js.map +1 -0
  336. package/es/elements/content-sidebar/activity-feed/comment/components/stories/BaseCommentMenu.stories.js +37 -0
  337. package/es/elements/content-sidebar/activity-feed/comment/components/stories/BaseCommentMenu.stories.js.flow +26 -0
  338. package/es/elements/content-sidebar/activity-feed/comment/components/stories/BaseCommentMenu.stories.js.map +1 -0
  339. package/es/elements/content-sidebar/activity-feed/comment/components/stories/common.js +23 -0
  340. package/es/elements/content-sidebar/activity-feed/comment/components/stories/common.js.flow +28 -0
  341. package/es/elements/content-sidebar/activity-feed/comment/components/stories/common.js.map +1 -0
  342. package/es/elements/content-sidebar/activity-feed/comment/messages.js +4 -4
  343. package/es/elements/content-sidebar/activity-feed/comment/messages.js.flow +5 -5
  344. package/es/elements/content-sidebar/activity-feed/comment/messages.js.map +1 -1
  345. package/es/elements/content-sidebar/activity-feed/comment/stories/BaseComment.stories.js +1 -1
  346. package/es/elements/content-sidebar/activity-feed/comment/stories/BaseComment.stories.js.flow +1 -1
  347. package/es/elements/content-sidebar/activity-feed/comment/stories/BaseComment.stories.js.map +1 -1
  348. package/es/elements/content-sidebar/activity-feed/comment/stories/common.js +1 -1
  349. package/es/elements/content-sidebar/activity-feed/comment/stories/common.js.flow +1 -1
  350. package/es/elements/content-sidebar/activity-feed/comment/stories/common.js.map +1 -1
  351. package/es/elements/content-sidebar/activity-feed/comment/types.js.flow +13 -0
  352. package/es/elements/content-sidebar/activity-feed/comment-form/CommentForm.js +8 -4
  353. package/es/elements/content-sidebar/activity-feed/comment-form/CommentForm.js.flow +11 -3
  354. package/es/elements/content-sidebar/activity-feed/comment-form/CommentForm.js.map +1 -1
  355. package/es/elements/content-sidebar/activity-feed/common/delete-confirmation/DeleteConfirmation.js +2 -0
  356. package/es/elements/content-sidebar/activity-feed/common/delete-confirmation/DeleteConfirmation.js.flow +2 -0
  357. package/es/elements/content-sidebar/activity-feed/common/delete-confirmation/DeleteConfirmation.js.map +1 -1
  358. package/es/elements/content-sidebar/activity-feed/common/delete-confirmation/DeleteConfirmation.scss +1 -1
  359. package/es/elements/content-sidebar/activity-feed/task-new/Task.js +7 -3
  360. package/es/elements/content-sidebar/activity-feed/task-new/Task.js.flow +7 -2
  361. package/es/elements/content-sidebar/activity-feed/task-new/Task.js.map +1 -1
  362. package/es/elements/content-sidebar/activity-feed/task-new/messages.js +8 -0
  363. package/es/elements/content-sidebar/activity-feed/task-new/messages.js.flow +10 -0
  364. package/es/elements/content-sidebar/activity-feed/task-new/messages.js.map +1 -1
  365. package/es/elements/content-sidebar/stories/ContentSidebar.stories.js +18 -27
  366. package/es/elements/content-sidebar/stories/ContentSidebar.stories.js.flow +19 -28
  367. package/es/elements/content-sidebar/stories/ContentSidebar.stories.js.map +1 -1
  368. package/es/elements/content-sidebar/versions/VersionsItem.scss +6 -0
  369. package/es/elements/content-uploader/ItemName.scss +1 -1
  370. package/es/elements/content-uploader/ProgressBar.scss +4 -0
  371. package/es/elements/content-uploader/stories/ContentUploader.stories.js +6 -13
  372. package/es/elements/content-uploader/stories/ContentUploader.stories.js.flow +7 -11
  373. package/es/elements/content-uploader/stories/ContentUploader.stories.js.map +1 -1
  374. package/es/features/collaborator-avatars/CollaboratorList.scss +11 -1
  375. package/es/features/collapsible-sidebar/CollapsibleSidebar.stories.js +1 -1
  376. package/es/features/collapsible-sidebar/CollapsibleSidebar.stories.js.flow +1 -1
  377. package/es/features/collapsible-sidebar/CollapsibleSidebar.stories.js.map +1 -1
  378. package/es/features/content-answers/Answer.js +18 -0
  379. package/es/features/content-answers/Answer.js.map +1 -0
  380. package/es/features/content-answers/Answer.scss +4 -0
  381. package/es/features/content-answers/ContentAnswers.js +46 -0
  382. package/es/features/content-answers/ContentAnswers.js.map +1 -0
  383. package/es/features/content-answers/ContentAnswersGridCard.js +24 -0
  384. package/es/features/content-answers/ContentAnswersGridCard.js.map +1 -0
  385. package/es/features/content-answers/ContentAnswersGridCard.scss +26 -0
  386. package/es/features/content-answers/ContentAnswersModal.js +111 -0
  387. package/es/features/content-answers/ContentAnswersModal.js.map +1 -0
  388. package/es/features/content-answers/ContentAnswersModal.scss +56 -0
  389. package/es/features/content-answers/ContentAnswersModalContent.js +60 -0
  390. package/es/features/content-answers/ContentAnswersModalContent.js.map +1 -0
  391. package/es/features/content-answers/ContentAnswersModalContent.scss +12 -0
  392. package/es/features/content-answers/ContentAnswersModalError.js +23 -0
  393. package/es/features/content-answers/ContentAnswersModalError.js.map +1 -0
  394. package/es/features/content-answers/ContentAnswersModalError.scss +28 -0
  395. package/es/features/content-answers/ContentAnswersModalFooter.js +93 -0
  396. package/es/features/content-answers/ContentAnswersModalFooter.js.map +1 -0
  397. package/es/features/content-answers/ContentAnswersModalFooter.scss +42 -0
  398. package/es/features/content-answers/ContentAnswersModalFooterActions.js +38 -0
  399. package/es/features/content-answers/ContentAnswersModalFooterActions.js.map +1 -0
  400. package/es/features/content-answers/ContentAnswersModalFooterActions.scss +17 -0
  401. package/es/features/content-answers/ContentAnswersOpenButton.js +69 -0
  402. package/es/features/content-answers/ContentAnswersOpenButton.js.map +1 -0
  403. package/es/features/content-answers/ContentAnswersOpenButton.scss +54 -0
  404. package/es/features/content-answers/InlineError.js +29 -0
  405. package/es/features/content-answers/InlineError.js.map +1 -0
  406. package/es/features/content-answers/InlineError.scss +39 -0
  407. package/es/features/content-answers/LoadingElement.js +17 -0
  408. package/es/features/content-answers/LoadingElement.js.map +1 -0
  409. package/es/features/content-answers/LoadingElement.scss +4 -0
  410. package/es/features/content-answers/Question.js +27 -0
  411. package/es/features/content-answers/Question.js.map +1 -0
  412. package/es/features/content-answers/Question.scss +16 -0
  413. package/es/features/content-answers/WelcomeMessage.js +32 -0
  414. package/es/features/content-answers/WelcomeMessage.js.map +1 -0
  415. package/es/features/content-answers/WelcomeMessage.scss +25 -0
  416. package/es/features/content-answers/constants.js +10 -0
  417. package/es/features/content-answers/constants.js.map +1 -0
  418. package/es/features/content-answers/index.js +2 -0
  419. package/es/features/content-answers/index.js.map +1 -0
  420. package/es/features/content-answers/messages.js +69 -0
  421. package/es/features/content-answers/messages.js.map +1 -0
  422. package/es/features/content-explorer/content-explorer/ContentExplorer.js +21 -12
  423. package/es/features/content-explorer/content-explorer/ContentExplorer.js.flow +19 -15
  424. package/es/features/content-explorer/content-explorer/ContentExplorer.js.map +1 -1
  425. package/es/features/content-explorer/content-explorer/ContentExplorer.scss +4 -0
  426. package/es/features/content-explorer/content-explorer/ContentExplorerBreadcrumbs.js +1 -0
  427. package/es/features/content-explorer/content-explorer/ContentExplorerBreadcrumbs.js.flow +2 -0
  428. package/es/features/content-explorer/content-explorer/ContentExplorerBreadcrumbs.js.map +1 -1
  429. package/es/features/content-explorer/content-explorer-modal/ContentExplorerModal.js.flow +1 -0
  430. package/es/features/content-explorer/content-explorer-modal/ContentExplorerModal.js.map +1 -1
  431. package/es/features/content-explorer/content-explorer-modal-container/ContentExplorerModalContainer.js +3 -0
  432. package/es/features/content-explorer/content-explorer-modal-container/ContentExplorerModalContainer.js.flow +2 -0
  433. package/es/features/content-explorer/content-explorer-modal-container/ContentExplorerModalContainer.js.map +1 -1
  434. package/es/features/pagination/Pagination.scss +0 -4
  435. package/es/features/sandbox-banner/SandboxBanner.stories.js +1 -1
  436. package/es/features/sandbox-banner/SandboxBanner.stories.js.map +1 -1
  437. package/es/features/security-cloud-game/stories/SecurityCloudGame.stories.js +1 -1
  438. package/es/features/security-cloud-game/stories/SecurityCloudGame.stories.js.flow +1 -1
  439. package/es/features/security-cloud-game/stories/SecurityCloudGame.stories.js.map +1 -1
  440. package/es/features/shared-link-modal/stories/SharedLink.stories.js +1 -1
  441. package/es/features/shared-link-modal/stories/SharedLink.stories.js.flow +1 -1
  442. package/es/features/shared-link-modal/stories/SharedLink.stories.js.map +1 -1
  443. package/es/features/shared-link-modal/stories/SharedLinkModal.stories.js +1 -1
  444. package/es/features/shared-link-modal/stories/SharedLinkModal.stories.js.flow +1 -1
  445. package/es/features/shared-link-modal/stories/SharedLinkModal.stories.js.map +1 -1
  446. package/es/features/shared-link-settings-modal/SharedLinkSettingsModal.stories.js +1 -1
  447. package/es/features/shared-link-settings-modal/SharedLinkSettingsModal.stories.js.flow +1 -1
  448. package/es/features/shared-link-settings-modal/SharedLinkSettingsModal.stories.js.map +1 -1
  449. package/es/features/targeting/hocs/withTargetedClickThrough.js +13 -3
  450. package/es/features/targeting/hocs/withTargetedClickThrough.js.flow +10 -1
  451. package/es/features/targeting/hocs/withTargetedClickThrough.js.map +1 -1
  452. package/es/features/targeting/types.js.flow +1 -0
  453. package/es/features/targeting/types.js.map +1 -1
  454. package/es/features/unified-share-modal/UnifiedShareModal.scss +61 -79
  455. package/es/features/unified-share-modal/stories/UnifiedShareModal.stories.js +1 -1
  456. package/es/features/unified-share-modal/stories/UnifiedShareModal.stories.js.flow +1 -1
  457. package/es/features/unified-share-modal/stories/UnifiedShareModal.stories.js.map +1 -1
  458. package/es/features/virtualized-table/DraggableVirtualizedTable.stories.js +1 -1
  459. package/es/features/virtualized-table/DraggableVirtualizedTable.stories.js.flow +1 -1
  460. package/es/features/virtualized-table/DraggableVirtualizedTable.stories.js.map +1 -1
  461. package/es/icon/content/ContentSharing32.stories.js +1 -1
  462. package/es/icon/content/ContentSharing32.stories.js.map +1 -1
  463. package/es/icon/content/CustomSetup32.stories.js +1 -1
  464. package/es/icon/content/CustomSetup32.stories.js.map +1 -1
  465. package/es/icon/content/DeviceTrust32.stories.js +1 -1
  466. package/es/icon/content/DeviceTrust32.stories.js.map +1 -1
  467. package/es/icon/content/FileAudio32.stories.js +1 -1
  468. package/es/icon/content/FileAudio32.stories.js.map +1 -1
  469. package/es/icon/content/FileBookmark32.stories.js +1 -1
  470. package/es/icon/content/FileBookmark32.stories.js.map +1 -1
  471. package/es/icon/content/FileBoxNote32.stories.js +1 -1
  472. package/es/icon/content/FileBoxNote32.stories.js.map +1 -1
  473. package/es/icon/content/FileCanvas32.stories.js +1 -1
  474. package/es/icon/content/FileCanvas32.stories.js.map +1 -1
  475. package/es/icon/content/FileCode32.stories.js +1 -1
  476. package/es/icon/content/FileCode32.stories.js.map +1 -1
  477. package/es/icon/content/FileDefault32.stories.js +1 -1
  478. package/es/icon/content/FileDefault32.stories.js.map +1 -1
  479. package/es/icon/content/FileDicom32.stories.js +1 -1
  480. package/es/icon/content/FileDicom32.stories.js.map +1 -1
  481. package/es/icon/content/FileDocs32.stories.js +1 -1
  482. package/es/icon/content/FileDocs32.stories.js.map +1 -1
  483. package/es/icon/content/FileDwg32.stories.js +1 -1
  484. package/es/icon/content/FileDwg32.stories.js.map +1 -1
  485. package/es/icon/content/FileExcel32.stories.js +1 -1
  486. package/es/icon/content/FileExcel32.stories.js.map +1 -1
  487. package/es/icon/content/FileIllustrator32.stories.js +1 -1
  488. package/es/icon/content/FileIllustrator32.stories.js.map +1 -1
  489. package/es/icon/content/FileImage32.stories.js +1 -1
  490. package/es/icon/content/FileImage32.stories.js.map +1 -1
  491. package/es/icon/content/FileIndesign32.stories.js +1 -1
  492. package/es/icon/content/FileIndesign32.stories.js.map +1 -1
  493. package/es/icon/content/FileKeynote32.stories.js +1 -1
  494. package/es/icon/content/FileKeynote32.stories.js.map +1 -1
  495. package/es/icon/content/FileNumbers32.stories.js +1 -1
  496. package/es/icon/content/FileNumbers32.stories.js.map +1 -1
  497. package/es/icon/content/FilePages32.stories.js +1 -1
  498. package/es/icon/content/FilePages32.stories.js.map +1 -1
  499. package/es/icon/content/FilePdf32.stories.js +1 -1
  500. package/es/icon/content/FilePdf32.stories.js.map +1 -1
  501. package/es/icon/content/FilePhotoshop32.stories.js +1 -1
  502. package/es/icon/content/FilePhotoshop32.stories.js.map +1 -1
  503. package/es/icon/content/FilePowerpoint32.stories.js +1 -1
  504. package/es/icon/content/FilePowerpoint32.stories.js.map +1 -1
  505. package/es/icon/content/FilePresentation32.stories.js +1 -1
  506. package/es/icon/content/FilePresentation32.stories.js.map +1 -1
  507. package/es/icon/content/FileSheets32.stories.js +1 -1
  508. package/es/icon/content/FileSheets32.stories.js.map +1 -1
  509. package/es/icon/content/FileSlides32.stories.js +1 -1
  510. package/es/icon/content/FileSlides32.stories.js.map +1 -1
  511. package/es/icon/content/FileSpreadsheet32.stories.js +1 -1
  512. package/es/icon/content/FileSpreadsheet32.stories.js.map +1 -1
  513. package/es/icon/content/FileText32.stories.js +1 -1
  514. package/es/icon/content/FileText32.stories.js.map +1 -1
  515. package/es/icon/content/FileThreeD32.stories.js +1 -1
  516. package/es/icon/content/FileThreeD32.stories.js.map +1 -1
  517. package/es/icon/content/FileUpload32.stories.js +1 -1
  518. package/es/icon/content/FileUpload32.stories.js.map +1 -1
  519. package/es/icon/content/FileVector32.stories.js +1 -1
  520. package/es/icon/content/FileVector32.stories.js.map +1 -1
  521. package/es/icon/content/FileVideo32.stories.js +1 -1
  522. package/es/icon/content/FileVideo32.stories.js.map +1 -1
  523. package/es/icon/content/FileWord32.stories.js +1 -1
  524. package/es/icon/content/FileWord32.stories.js.map +1 -1
  525. package/es/icon/content/FileXbd32.stories.js +1 -1
  526. package/es/icon/content/FileXbd32.stories.js.map +1 -1
  527. package/es/icon/content/FileXdw32.stories.js +1 -1
  528. package/es/icon/content/FileXdw32.stories.js.map +1 -1
  529. package/es/icon/content/FileZip32.stories.js +1 -1
  530. package/es/icon/content/FileZip32.stories.js.map +1 -1
  531. package/es/icon/content/FolderExternal32.stories.js +1 -1
  532. package/es/icon/content/FolderExternal32.stories.js.map +1 -1
  533. package/es/icon/content/FolderPersonal32.stories.js +1 -1
  534. package/es/icon/content/FolderPersonal32.stories.js.map +1 -1
  535. package/es/icon/content/FolderShared32.stories.js +1 -1
  536. package/es/icon/content/FolderShared32.stories.js.map +1 -1
  537. package/es/icon/content/FolderUpload32.stories.js +1 -1
  538. package/es/icon/content/FolderUpload32.stories.js.map +1 -1
  539. package/es/icon/content/Mobile32.stories.js +1 -1
  540. package/es/icon/content/Mobile32.stories.js.map +1 -1
  541. package/es/icon/content/Notifications32.stories.js +1 -1
  542. package/es/icon/content/Notifications32.stories.js.map +1 -1
  543. package/es/icon/content/PlatformCam32.stories.js +1 -1
  544. package/es/icon/content/PlatformCam32.stories.js.map +1 -1
  545. package/es/icon/content/PlatformSandbox32.stories.js +1 -1
  546. package/es/icon/content/PlatformSandbox32.stories.js.map +1 -1
  547. package/es/icon/content/RetentionPolicyModifiable32.stories.js +1 -1
  548. package/es/icon/content/RetentionPolicyModifiable32.stories.js.map +1 -1
  549. package/es/icon/content/RetentionPolicyNonModifiable32.stories.js +1 -1
  550. package/es/icon/content/RetentionPolicyNonModifiable32.stories.js.map +1 -1
  551. package/es/icon/content/Security32.stories.js +1 -1
  552. package/es/icon/content/Security32.stories.js.map +1 -1
  553. package/es/icon/content/SignRequest32.stories.js +1 -1
  554. package/es/icon/content/SignRequest32.stories.js.map +1 -1
  555. package/es/icon/content/UserSettings32.stories.js +1 -1
  556. package/es/icon/content/UserSettings32.stories.js.map +1 -1
  557. package/es/icon/content/Workflow32.stories.js +1 -1
  558. package/es/icon/content/Workflow32.stories.js.map +1 -1
  559. package/es/icon/content/WorkflowTemplate32.stories.js +1 -1
  560. package/es/icon/content/WorkflowTemplate32.stories.js.map +1 -1
  561. package/es/icon/fill/Activity16.stories.js +1 -1
  562. package/es/icon/fill/Activity16.stories.js.map +1 -1
  563. package/es/icon/fill/Activity20.stories.js +1 -1
  564. package/es/icon/fill/Activity20.stories.js.map +1 -1
  565. package/es/icon/fill/Alert16.stories.js +1 -1
  566. package/es/icon/fill/Alert16.stories.js.map +1 -1
  567. package/es/icon/fill/AlertBadge16.stories.js +1 -1
  568. package/es/icon/fill/AlertBadge16.stories.js.map +1 -1
  569. package/es/icon/fill/AnnotationsDrawing16.stories.js +1 -1
  570. package/es/icon/fill/AnnotationsDrawing16.stories.js.map +1 -1
  571. package/es/icon/fill/AnnotationsHighlight16.stories.js +1 -1
  572. package/es/icon/fill/AnnotationsHighlight16.stories.js.map +1 -1
  573. package/es/icon/fill/AnnotationsRegion16.stories.js +1 -1
  574. package/es/icon/fill/AnnotationsRegion16.stories.js.map +1 -1
  575. package/es/icon/fill/Apps16.stories.js +1 -1
  576. package/es/icon/fill/Apps16.stories.js.map +1 -1
  577. package/es/icon/fill/Arrow16.stories.js +1 -1
  578. package/es/icon/fill/Arrow16.stories.js.map +1 -1
  579. package/es/icon/fill/ArrowArcRight.stories.js +1 -1
  580. package/es/icon/fill/ArrowArcRight.stories.js.map +1 -1
  581. package/es/icon/fill/ArrowForward16.stories.js +1 -1
  582. package/es/icon/fill/ArrowForward16.stories.js.map +1 -1
  583. package/es/icon/fill/ArrowSort16.stories.js +1 -1
  584. package/es/icon/fill/ArrowSort16.stories.js.map +1 -1
  585. package/es/icon/fill/AvatarBadge16.stories.js +1 -1
  586. package/es/icon/fill/AvatarBadge16.stories.js.map +1 -1
  587. package/es/icon/fill/BarChart16.stories.js +1 -1
  588. package/es/icon/fill/BarChart16.stories.js.map +1 -1
  589. package/es/icon/fill/BoxDev16.stories.js +1 -1
  590. package/es/icon/fill/BoxDev16.stories.js.map +1 -1
  591. package/es/icon/fill/BoxNotes16.stories.js +1 -1
  592. package/es/icon/fill/BoxNotes16.stories.js.map +1 -1
  593. package/es/icon/fill/Calendar16.stories.js +1 -1
  594. package/es/icon/fill/Calendar16.stories.js.map +1 -1
  595. package/es/icon/fill/Caret8.stories.js +1 -1
  596. package/es/icon/fill/Caret8.stories.js.map +1 -1
  597. package/es/icon/fill/CaretBadge16.stories.js +1 -1
  598. package/es/icon/fill/CaretBadge16.stories.js.map +1 -1
  599. package/es/icon/fill/Checkmark16.stories.js +1 -1
  600. package/es/icon/fill/Checkmark16.stories.js.map +1 -1
  601. package/es/icon/fill/CheckmarkBadge16.stories.js +1 -1
  602. package/es/icon/fill/CheckmarkBadge16.stories.js.map +1 -1
  603. package/es/icon/fill/CircleBackButton24.stories.js +1 -1
  604. package/es/icon/fill/CircleBackButton24.stories.js.map +1 -1
  605. package/es/icon/fill/CircleCloseButton24.stories.js +1 -1
  606. package/es/icon/fill/CircleCloseButton24.stories.js.map +1 -1
  607. package/es/icon/fill/Classify16.stories.js +1 -1
  608. package/es/icon/fill/Classify16.stories.js.map +1 -1
  609. package/es/icon/fill/ClearBadge16.stories.js +1 -1
  610. package/es/icon/fill/ClearBadge16.stories.js.map +1 -1
  611. package/es/icon/fill/ClockBadge16.stories.js +1 -1
  612. package/es/icon/fill/ClockBadge16.stories.js.map +1 -1
  613. package/es/icon/fill/CloudUpload16.stories.js +1 -1
  614. package/es/icon/fill/CloudUpload16.stories.js.map +1 -1
  615. package/es/icon/fill/Code16.stories.js +1 -1
  616. package/es/icon/fill/Code16.stories.js.map +1 -1
  617. package/es/icon/fill/Collection16.stories.js +1 -1
  618. package/es/icon/fill/Collection16.stories.js.map +1 -1
  619. package/es/icon/fill/CollectionBolt16.stories.js +1 -1
  620. package/es/icon/fill/CollectionBolt16.stories.js.map +1 -1
  621. package/es/icon/fill/CollectionPlus16.stories.js +1 -1
  622. package/es/icon/fill/CollectionPlus16.stories.js.map +1 -1
  623. package/es/icon/fill/CollectionStar16.stories.js +1 -1
  624. package/es/icon/fill/CollectionStar16.stories.js.map +1 -1
  625. package/es/icon/fill/CreditCard16.stories.js +1 -1
  626. package/es/icon/fill/CreditCard16.stories.js.map +1 -1
  627. package/es/icon/fill/Download16.stories.js +1 -1
  628. package/es/icon/fill/Download16.stories.js.map +1 -1
  629. package/es/icon/fill/EmailNotification16.stories.js +1 -1
  630. package/es/icon/fill/EmailNotification16.stories.js.map +1 -1
  631. package/es/icon/fill/ExportArrow16.stories.js +1 -1
  632. package/es/icon/fill/ExportArrow16.stories.js.map +1 -1
  633. package/es/icon/fill/Feed16.stories.js +1 -1
  634. package/es/icon/fill/Feed16.stories.js.map +1 -1
  635. package/es/icon/fill/FileAudio16.stories.js +1 -1
  636. package/es/icon/fill/FileAudio16.stories.js.map +1 -1
  637. package/es/icon/fill/FileBookmark16.stories.js +1 -1
  638. package/es/icon/fill/FileBookmark16.stories.js.map +1 -1
  639. package/es/icon/fill/FileBoxNote16.stories.js +1 -1
  640. package/es/icon/fill/FileBoxNote16.stories.js.map +1 -1
  641. package/es/icon/fill/FileCanvas16.stories.js +1 -1
  642. package/es/icon/fill/FileCanvas16.stories.js.map +1 -1
  643. package/es/icon/fill/FileCode16.stories.js +1 -1
  644. package/es/icon/fill/FileCode16.stories.js.map +1 -1
  645. package/es/icon/fill/FileCopy16.stories.js +1 -1
  646. package/es/icon/fill/FileCopy16.stories.js.map +1 -1
  647. package/es/icon/fill/FileDefault16.stories.js +1 -1
  648. package/es/icon/fill/FileDefault16.stories.js.map +1 -1
  649. package/es/icon/fill/FileDicom16.stories.js +1 -1
  650. package/es/icon/fill/FileDicom16.stories.js.map +1 -1
  651. package/es/icon/fill/FileDocs16.stories.js +1 -1
  652. package/es/icon/fill/FileDocs16.stories.js.map +1 -1
  653. package/es/icon/fill/FileDwg16.stories.js +1 -1
  654. package/es/icon/fill/FileDwg16.stories.js.map +1 -1
  655. package/es/icon/fill/FileExcel16.stories.js +1 -1
  656. package/es/icon/fill/FileExcel16.stories.js.map +1 -1
  657. package/es/icon/fill/FileIllustrator16.stories.js +1 -1
  658. package/es/icon/fill/FileIllustrator16.stories.js.map +1 -1
  659. package/es/icon/fill/FileImage16.stories.js +1 -1
  660. package/es/icon/fill/FileImage16.stories.js.map +1 -1
  661. package/es/icon/fill/FileIndesign16.stories.js +1 -1
  662. package/es/icon/fill/FileIndesign16.stories.js.map +1 -1
  663. package/es/icon/fill/FileKeynote16.stories.js +1 -1
  664. package/es/icon/fill/FileKeynote16.stories.js.map +1 -1
  665. package/es/icon/fill/FileNumbers16.stories.js +1 -1
  666. package/es/icon/fill/FileNumbers16.stories.js.map +1 -1
  667. package/es/icon/fill/FilePages16.stories.js +1 -1
  668. package/es/icon/fill/FilePages16.stories.js.map +1 -1
  669. package/es/icon/fill/FilePdf16.stories.js +1 -1
  670. package/es/icon/fill/FilePdf16.stories.js.map +1 -1
  671. package/es/icon/fill/FilePhotoshop16.stories.js +1 -1
  672. package/es/icon/fill/FilePhotoshop16.stories.js.map +1 -1
  673. package/es/icon/fill/FilePowerpoint16.stories.js +1 -1
  674. package/es/icon/fill/FilePowerpoint16.stories.js.map +1 -1
  675. package/es/icon/fill/FilePresentation16.stories.js +1 -1
  676. package/es/icon/fill/FilePresentation16.stories.js.map +1 -1
  677. package/es/icon/fill/FileSheets16.stories.js +1 -1
  678. package/es/icon/fill/FileSheets16.stories.js.map +1 -1
  679. package/es/icon/fill/FileSlides16.stories.js +1 -1
  680. package/es/icon/fill/FileSlides16.stories.js.map +1 -1
  681. package/es/icon/fill/FileSpreadsheet16.stories.js +1 -1
  682. package/es/icon/fill/FileSpreadsheet16.stories.js.map +1 -1
  683. package/es/icon/fill/FileText16.stories.js +1 -1
  684. package/es/icon/fill/FileText16.stories.js.map +1 -1
  685. package/es/icon/fill/FileThreeD16.stories.js +1 -1
  686. package/es/icon/fill/FileThreeD16.stories.js.map +1 -1
  687. package/es/icon/fill/FileVector16.stories.js +1 -1
  688. package/es/icon/fill/FileVector16.stories.js.map +1 -1
  689. package/es/icon/fill/FileVideo16.stories.js +1 -1
  690. package/es/icon/fill/FileVideo16.stories.js.map +1 -1
  691. package/es/icon/fill/FileWord16.stories.js +1 -1
  692. package/es/icon/fill/FileWord16.stories.js.map +1 -1
  693. package/es/icon/fill/FileZip16.stories.js +1 -1
  694. package/es/icon/fill/FileZip16.stories.js.map +1 -1
  695. package/es/icon/fill/Filter16.stories.js +1 -1
  696. package/es/icon/fill/Filter16.stories.js.map +1 -1
  697. package/es/icon/fill/Folder16.stories.js +1 -1
  698. package/es/icon/fill/Folder16.stories.js.map +1 -1
  699. package/es/icon/fill/FolderExternal16.stories.js +1 -1
  700. package/es/icon/fill/FolderExternal16.stories.js.map +1 -1
  701. package/es/icon/fill/FolderPersonal16.stories.js +1 -1
  702. package/es/icon/fill/FolderPersonal16.stories.js.map +1 -1
  703. package/es/icon/fill/FolderShared16.stories.js +1 -1
  704. package/es/icon/fill/FolderShared16.stories.js.map +1 -1
  705. package/es/icon/fill/Gear16.stories.js +1 -1
  706. package/es/icon/fill/Gear16.stories.js.map +1 -1
  707. package/es/icon/fill/GlobeBadge16.stories.js +1 -1
  708. package/es/icon/fill/GlobeBadge16.stories.js.map +1 -1
  709. package/es/icon/fill/Hamburger20.stories.js +1 -1
  710. package/es/icon/fill/Hamburger20.stories.js.map +1 -1
  711. package/es/icon/fill/Help20.stories.js +1 -1
  712. package/es/icon/fill/Help20.stories.js.map +1 -1
  713. package/es/icon/fill/InProgress16.stories.js +1 -1
  714. package/es/icon/fill/InProgress16.stories.js.map +1 -1
  715. package/es/icon/fill/Info16.stories.js +1 -1
  716. package/es/icon/fill/Info16.stories.js.map +1 -1
  717. package/es/icon/fill/InfoBadge16.stories.js +1 -1
  718. package/es/icon/fill/InfoBadge16.stories.js.map +1 -1
  719. package/es/icon/fill/LightningBolt16.stories.js +1 -1
  720. package/es/icon/fill/LightningBolt16.stories.js.map +1 -1
  721. package/es/icon/fill/Lock16.stories.js +1 -1
  722. package/es/icon/fill/Lock16.stories.js.map +1 -1
  723. package/es/icon/fill/Megaphone20.stories.js +1 -1
  724. package/es/icon/fill/Megaphone20.stories.js.map +1 -1
  725. package/es/icon/fill/Minus16.stories.js +1 -1
  726. package/es/icon/fill/Minus16.stories.js.map +1 -1
  727. package/es/icon/fill/Move16.stories.js +1 -1
  728. package/es/icon/fill/Move16.stories.js.map +1 -1
  729. package/es/icon/fill/MoveCopy16.stories.js +1 -1
  730. package/es/icon/fill/MoveCopy16.stories.js.map +1 -1
  731. package/es/icon/fill/Overflow16.stories.js +1 -1
  732. package/es/icon/fill/Overflow16.stories.js.map +1 -1
  733. package/es/icon/fill/PaperAirplane16.stories.js +1 -1
  734. package/es/icon/fill/PaperAirplane16.stories.js.map +1 -1
  735. package/es/icon/fill/Pencil16.stories.js +1 -1
  736. package/es/icon/fill/Pencil16.stories.js.map +1 -1
  737. package/es/icon/fill/Picture16.stories.js +1 -1
  738. package/es/icon/fill/Picture16.stories.js.map +1 -1
  739. package/es/icon/fill/Plus16.stories.js +1 -1
  740. package/es/icon/fill/Plus16.stories.js.map +1 -1
  741. package/es/icon/fill/PlusBadge16.stories.js +1 -1
  742. package/es/icon/fill/PlusBadge16.stories.js.map +1 -1
  743. package/es/icon/fill/PointerChevronDown24.stories.js +1 -1
  744. package/es/icon/fill/PointerChevronDown24.stories.js.map +1 -1
  745. package/es/icon/fill/Printer16.stories.js +1 -1
  746. package/es/icon/fill/Printer16.stories.js.map +1 -1
  747. package/es/icon/fill/Relay16.stories.js +1 -1
  748. package/es/icon/fill/Relay16.stories.js.map +1 -1
  749. package/es/icon/fill/RelayClassic16.stories.js +1 -1
  750. package/es/icon/fill/RelayClassic16.stories.js.map +1 -1
  751. package/es/icon/fill/Ribbon16.stories.js +1 -1
  752. package/es/icon/fill/Ribbon16.stories.js.map +1 -1
  753. package/es/icon/fill/Scribble16.stories.js +1 -1
  754. package/es/icon/fill/Scribble16.stories.js.map +1 -1
  755. package/es/icon/fill/Search16.stories.js +1 -1
  756. package/es/icon/fill/Search16.stories.js.map +1 -1
  757. package/es/icon/fill/Sign16.stories.js +1 -1
  758. package/es/icon/fill/Sign16.stories.js.map +1 -1
  759. package/es/icon/fill/SignFieldCheckBox16.stories.js +1 -1
  760. package/es/icon/fill/SignFieldCheckBox16.stories.js.map +1 -1
  761. package/es/icon/fill/SignFieldSignature16.stories.js +1 -1
  762. package/es/icon/fill/SignFieldSignature16.stories.js.map +1 -1
  763. package/es/icon/fill/SignFieldTextInput16.stories.js +1 -1
  764. package/es/icon/fill/SignFieldTextInput16.stories.js.map +1 -1
  765. package/es/icon/fill/SignMe32.stories.js +1 -1
  766. package/es/icon/fill/SignMe32.stories.js.map +1 -1
  767. package/es/icon/fill/SignMeOthers32.stories.js +1 -1
  768. package/es/icon/fill/SignMeOthers32.stories.js.map +1 -1
  769. package/es/icon/fill/SignOthers32.stories.js +1 -1
  770. package/es/icon/fill/SignOthers32.stories.js.map +1 -1
  771. package/es/icon/fill/Skills16.stories.js +1 -1
  772. package/es/icon/fill/Skills16.stories.js.map +1 -1
  773. package/es/icon/fill/Tag16.stories.js +1 -1
  774. package/es/icon/fill/Tag16.stories.js.map +1 -1
  775. package/es/icon/fill/Task16.stories.js +1 -1
  776. package/es/icon/fill/Task16.stories.js.map +1 -1
  777. package/es/icon/fill/Trash16.stories.js +1 -1
  778. package/es/icon/fill/Trash16.stories.js.map +1 -1
  779. package/es/icon/fill/TwoPeople16.stories.js +1 -1
  780. package/es/icon/fill/TwoPeople16.stories.js.map +1 -1
  781. package/es/icon/fill/Upload16.stories.js +1 -1
  782. package/es/icon/fill/Upload16.stories.js.map +1 -1
  783. package/es/icon/fill/UserSettings16.stories.js +1 -1
  784. package/es/icon/fill/UserSettings16.stories.js.map +1 -1
  785. package/es/icon/fill/Workflow16.stories.js +1 -1
  786. package/es/icon/fill/Workflow16.stories.js.map +1 -1
  787. package/es/icon/fill/X16.stories.js +1 -1
  788. package/es/icon/fill/X16.stories.js.map +1 -1
  789. package/es/icon/line/AlarmClock16.stories.js +1 -1
  790. package/es/icon/line/AlarmClock16.stories.js.map +1 -1
  791. package/es/icon/line/AlertBubble16.stories.js +1 -1
  792. package/es/icon/line/AlertBubble16.stories.js.map +1 -1
  793. package/es/icon/line/Apps16.stories.js +1 -1
  794. package/es/icon/line/Apps16.stories.js.map +1 -1
  795. package/es/icon/line/ArrowBoxRight16.stories.js +1 -1
  796. package/es/icon/line/ArrowBoxRight16.stories.js.map +1 -1
  797. package/es/icon/line/Avatar16.stories.js +1 -1
  798. package/es/icon/line/Avatar16.stories.js.map +1 -1
  799. package/es/icon/line/AvatarBadge16.stories.js +1 -1
  800. package/es/icon/line/AvatarBadge16.stories.js.map +1 -1
  801. package/es/icon/line/AvatarPlusBadge16.stories.js +1 -1
  802. package/es/icon/line/AvatarPlusBadge16.stories.js.map +1 -1
  803. package/es/icon/line/AvatarXBadge16.stories.js +1 -1
  804. package/es/icon/line/AvatarXBadge16.stories.js.map +1 -1
  805. package/es/icon/line/BoxAi.stories.js +1 -1
  806. package/es/icon/line/BoxAi.stories.js.map +1 -1
  807. package/es/icon/line/BoxDev16.stories.js +1 -1
  808. package/es/icon/line/BoxDev16.stories.js.map +1 -1
  809. package/es/icon/line/Bug16.stories.js +1 -1
  810. package/es/icon/line/Bug16.stories.js.map +1 -1
  811. package/es/icon/line/Checkmark16.stories.js +1 -1
  812. package/es/icon/line/Checkmark16.stories.js.map +1 -1
  813. package/es/icon/line/CheckmarkBadge16.stories.js +1 -1
  814. package/es/icon/line/CheckmarkBadge16.stories.js.map +1 -1
  815. package/es/icon/line/CircleCheck16.stories.js +1 -1
  816. package/es/icon/line/CircleCheck16.stories.js.map +1 -1
  817. package/es/icon/line/CircleX16.stories.js +1 -1
  818. package/es/icon/line/CircleX16.stories.js.map +1 -1
  819. package/es/icon/line/ClassificationBadge16.stories.js +1 -1
  820. package/es/icon/line/ClassificationBadge16.stories.js.map +1 -1
  821. package/es/icon/line/ClockArrow16.stories.js +1 -1
  822. package/es/icon/line/ClockArrow16.stories.js.map +1 -1
  823. package/es/icon/line/ClockBadge16.stories.js +1 -1
  824. package/es/icon/line/ClockBadge16.stories.js.map +1 -1
  825. package/es/icon/line/CloudWithArrow16.stories.js +1 -1
  826. package/es/icon/line/CloudWithArrow16.stories.js.map +1 -1
  827. package/es/icon/line/CoAuthoringBadge16.stories.js +1 -1
  828. package/es/icon/line/CoAuthoringBadge16.stories.js.map +1 -1
  829. package/es/icon/line/CoEdit16.stories.js +1 -1
  830. package/es/icon/line/CoEdit16.stories.js.map +1 -1
  831. package/es/icon/line/Collaborations16.stories.js +1 -1
  832. package/es/icon/line/Collaborations16.stories.js.map +1 -1
  833. package/es/icon/line/Collection16.stories.js +1 -1
  834. package/es/icon/line/Collection16.stories.js.map +1 -1
  835. package/es/icon/line/CollectionBolt16.stories.js +1 -1
  836. package/es/icon/line/CollectionBolt16.stories.js.map +1 -1
  837. package/es/icon/line/CollectionPlus16.stories.js +1 -1
  838. package/es/icon/line/CollectionPlus16.stories.js.map +1 -1
  839. package/es/icon/line/CollectionStar16.stories.js +1 -1
  840. package/es/icon/line/CollectionStar16.stories.js.map +1 -1
  841. package/es/icon/line/CommentBubble16.stories.js +1 -1
  842. package/es/icon/line/CommentBubble16.stories.js.map +1 -1
  843. package/es/icon/line/CrosshairRegion32.stories.js +1 -1
  844. package/es/icon/line/CrosshairRegion32.stories.js.map +1 -1
  845. package/es/icon/line/DocInfo16.stories.js +1 -1
  846. package/es/icon/line/DocInfo16.stories.js.map +1 -1
  847. package/es/icon/line/Download16.stories.js +1 -1
  848. package/es/icon/line/Download16.stories.js.map +1 -1
  849. package/es/icon/line/Email16.stories.js +1 -1
  850. package/es/icon/line/Email16.stories.js.map +1 -1
  851. package/es/icon/line/EmailAddress16.stories.js +1 -1
  852. package/es/icon/line/EmailAddress16.stories.js.map +1 -1
  853. package/es/icon/line/EnvelopeBadge16.stories.js +1 -1
  854. package/es/icon/line/EnvelopeBadge16.stories.js.map +1 -1
  855. package/es/icon/line/ExclamationMarkBadge16.stories.js +1 -1
  856. package/es/icon/line/ExclamationMarkBadge16.stories.js.map +1 -1
  857. package/es/icon/line/ExportArrow16.stories.js +1 -1
  858. package/es/icon/line/ExportArrow16.stories.js.map +1 -1
  859. package/es/icon/line/FileDescription16.stories.js +1 -1
  860. package/es/icon/line/FileDescription16.stories.js.map +1 -1
  861. package/es/icon/line/Folder16.stories.js +1 -1
  862. package/es/icon/line/Folder16.stories.js.map +1 -1
  863. package/es/icon/line/Gear16.stories.js +1 -1
  864. package/es/icon/line/Gear16.stories.js.map +1 -1
  865. package/es/icon/line/GenericCopy16.stories.js +1 -1
  866. package/es/icon/line/GenericCopy16.stories.js.map +1 -1
  867. package/es/icon/line/GlobeBadge16.stories.js +1 -1
  868. package/es/icon/line/GlobeBadge16.stories.js.map +1 -1
  869. package/es/icon/line/Help16.stories.js +1 -1
  870. package/es/icon/line/Help16.stories.js.map +1 -1
  871. package/es/icon/line/Hidden16.stories.js +1 -1
  872. package/es/icon/line/Hidden16.stories.js.map +1 -1
  873. package/es/icon/line/History16.stories.js +1 -1
  874. package/es/icon/line/History16.stories.js.map +1 -1
  875. package/es/icon/line/InfoBadge16.stories.js +1 -1
  876. package/es/icon/line/InfoBadge16.stories.js.map +1 -1
  877. package/es/icon/line/Key16.stories.js +1 -1
  878. package/es/icon/line/Key16.stories.js.map +1 -1
  879. package/es/icon/line/Link16.stories.js +1 -1
  880. package/es/icon/line/Link16.stories.js.map +1 -1
  881. package/es/icon/line/LinkBadge16.stories.js +1 -1
  882. package/es/icon/line/LinkBadge16.stories.js.map +1 -1
  883. package/es/icon/line/List16.stories.js +1 -1
  884. package/es/icon/line/List16.stories.js.map +1 -1
  885. package/es/icon/line/Lock16.stories.js +1 -1
  886. package/es/icon/line/Lock16.stories.js.map +1 -1
  887. package/es/icon/line/LockBadge16.stories.js +1 -1
  888. package/es/icon/line/LockBadge16.stories.js.map +1 -1
  889. package/es/icon/line/MetadataBadge16.stories.js +1 -1
  890. package/es/icon/line/MetadataBadge16.stories.js.map +1 -1
  891. package/es/icon/line/MoveCopy16.stories.js +1 -1
  892. package/es/icon/line/MoveCopy16.stories.js.map +1 -1
  893. package/es/icon/line/Pencil16.stories.js +1 -1
  894. package/es/icon/line/Pencil16.stories.js.map +1 -1
  895. package/es/icon/line/PencilBadge16.stories.js +1 -1
  896. package/es/icon/line/PencilBadge16.stories.js.map +1 -1
  897. package/es/icon/line/Plane16.stories.js +1 -1
  898. package/es/icon/line/Plane16.stories.js.map +1 -1
  899. package/es/icon/line/Plus16.stories.js +1 -1
  900. package/es/icon/line/Plus16.stories.js.map +1 -1
  901. package/es/icon/line/Power16.stories.js +1 -1
  902. package/es/icon/line/Power16.stories.js.map +1 -1
  903. package/es/icon/line/Question16.stories.js +1 -1
  904. package/es/icon/line/Question16.stories.js.map +1 -1
  905. package/es/icon/line/Redo16.stories.js +1 -1
  906. package/es/icon/line/Redo16.stories.js.map +1 -1
  907. package/es/icon/line/Relay16.stories.js +1 -1
  908. package/es/icon/line/Relay16.stories.js.map +1 -1
  909. package/es/icon/line/Report16.stories.js +1 -1
  910. package/es/icon/line/Report16.stories.js.map +1 -1
  911. package/es/icon/line/Retry16.stories.js +1 -1
  912. package/es/icon/line/Retry16.stories.js.map +1 -1
  913. package/es/icon/line/Rocket16.stories.js +1 -1
  914. package/es/icon/line/Rocket16.stories.js.map +1 -1
  915. package/es/icon/line/RotatingArrows16.stories.js +1 -1
  916. package/es/icon/line/RotatingArrows16.stories.js.map +1 -1
  917. package/es/icon/line/Sharrow16.stories.js +1 -1
  918. package/es/icon/line/Sharrow16.stories.js.map +1 -1
  919. package/es/icon/line/Shield16.stories.js +1 -1
  920. package/es/icon/line/Shield16.stories.js.map +1 -1
  921. package/es/icon/line/Sign16.stories.js +1 -1
  922. package/es/icon/line/Sign16.stories.js.map +1 -1
  923. package/es/icon/line/SignTinycon16.stories.js +1 -1
  924. package/es/icon/line/SignTinycon16.stories.js.map +1 -1
  925. package/es/icon/line/Star16.stories.js +1 -1
  926. package/es/icon/line/Star16.stories.js.map +1 -1
  927. package/es/icon/line/SyncArrows16.stories.js +1 -1
  928. package/es/icon/line/SyncArrows16.stories.js.map +1 -1
  929. package/es/icon/line/Template16.stories.js +1 -1
  930. package/es/icon/line/Template16.stories.js.map +1 -1
  931. package/es/icon/line/TextLeft16.stories.js +1 -1
  932. package/es/icon/line/TextLeft16.stories.js.map +1 -1
  933. package/es/icon/line/Tool16.stories.js +1 -1
  934. package/es/icon/line/Tool16.stories.js.map +1 -1
  935. package/es/icon/line/Trash16.stories.js +1 -1
  936. package/es/icon/line/Trash16.stories.js.map +1 -1
  937. package/es/icon/line/TriangleAlert16.stories.js +1 -1
  938. package/es/icon/line/TriangleAlert16.stories.js.map +1 -1
  939. package/es/icon/line/Undo16.stories.js +1 -1
  940. package/es/icon/line/Undo16.stories.js.map +1 -1
  941. package/es/icon/line/Unlock16.stories.js +1 -1
  942. package/es/icon/line/Unlock16.stories.js.map +1 -1
  943. package/es/icon/line/Upload16.stories.js +1 -1
  944. package/es/icon/line/Upload16.stories.js.map +1 -1
  945. package/es/icon/line/Video16.stories.js +1 -1
  946. package/es/icon/line/Video16.stories.js.map +1 -1
  947. package/es/icon/line/View16.stories.js +1 -1
  948. package/es/icon/line/View16.stories.js.map +1 -1
  949. package/es/icon/line/XBadge16.stories.js +1 -1
  950. package/es/icon/line/XBadge16.stories.js.map +1 -1
  951. package/es/icon/logo/AccountBilling32.stories.js +1 -1
  952. package/es/icon/logo/AccountBilling32.stories.js.map +1 -1
  953. package/es/icon/logo/AdminFaq32.stories.js +1 -1
  954. package/es/icon/logo/AdminFaq32.stories.js.map +1 -1
  955. package/es/icon/logo/AdminReferences32.stories.js +1 -1
  956. package/es/icon/logo/AdminReferences32.stories.js.map +1 -1
  957. package/es/icon/logo/AdobeAcrobat32.stories.js +1 -1
  958. package/es/icon/logo/AdobeAcrobat32.stories.js.map +1 -1
  959. package/es/icon/logo/Apps32.stories.js +1 -1
  960. package/es/icon/logo/Apps32.stories.js.map +1 -1
  961. package/es/icon/logo/BoxAiLogo.stories.js +1 -1
  962. package/es/icon/logo/BoxAiLogo.stories.js.map +1 -1
  963. package/es/icon/logo/BoxLogo.stories.js +1 -1
  964. package/es/icon/logo/BoxLogo.stories.js.map +1 -1
  965. package/es/icon/logo/BoxSign28.stories.js +1 -1
  966. package/es/icon/logo/BoxSign28.stories.js.map +1 -1
  967. package/es/icon/logo/BoxSign32.stories.js +1 -1
  968. package/es/icon/logo/BoxSign32.stories.js.map +1 -1
  969. package/es/icon/logo/ContentSharing32.stories.js +1 -1
  970. package/es/icon/logo/ContentSharing32.stories.js.map +1 -1
  971. package/es/icon/logo/CustomSetup32.stories.js +1 -1
  972. package/es/icon/logo/CustomSetup32.stories.js.map +1 -1
  973. package/es/icon/logo/DeviceTrust32.stories.js +1 -1
  974. package/es/icon/logo/DeviceTrust32.stories.js.map +1 -1
  975. package/es/icon/logo/HelpArticle32.stories.js +1 -1
  976. package/es/icon/logo/HelpArticle32.stories.js.map +1 -1
  977. package/es/icon/logo/HowToGuides32.stories.js +1 -1
  978. package/es/icon/logo/HowToGuides32.stories.js.map +1 -1
  979. package/es/icon/logo/IconBoxApp512.stories.js +1 -1
  980. package/es/icon/logo/IconBoxApp512.stories.js.map +1 -1
  981. package/es/icon/logo/KeynoteForMac32.stories.js +1 -1
  982. package/es/icon/logo/KeynoteForMac32.stories.js.map +1 -1
  983. package/es/icon/logo/ManageContent32.stories.js +1 -1
  984. package/es/icon/logo/ManageContent32.stories.js.map +1 -1
  985. package/es/icon/logo/ManageUsers32.stories.js +1 -1
  986. package/es/icon/logo/ManageUsers32.stories.js.map +1 -1
  987. package/es/icon/logo/Mobile32.stories.js +1 -1
  988. package/es/icon/logo/Mobile32.stories.js.map +1 -1
  989. package/es/icon/logo/Notifications32.stories.js +1 -1
  990. package/es/icon/logo/Notifications32.stories.js.map +1 -1
  991. package/es/icon/logo/NumbersForMac32.stories.js +1 -1
  992. package/es/icon/logo/NumbersForMac32.stories.js.map +1 -1
  993. package/es/icon/logo/PagesForMac32.stories.js +1 -1
  994. package/es/icon/logo/PagesForMac32.stories.js.map +1 -1
  995. package/es/icon/logo/Reporting32.stories.js +1 -1
  996. package/es/icon/logo/Reporting32.stories.js.map +1 -1
  997. package/es/icon/logo/Security32.stories.js +1 -1
  998. package/es/icon/logo/Security32.stories.js.map +1 -1
  999. package/es/icon/logo/TroubleShootingTools32.stories.js +1 -1
  1000. package/es/icon/logo/TroubleShootingTools32.stories.js.map +1 -1
  1001. package/es/icon/logo/UserSettings32.stories.js +1 -1
  1002. package/es/icon/logo/UserSettings32.stories.js.map +1 -1
  1003. package/es/icons/collections/IconCollections.stories.js +1 -1
  1004. package/es/icons/collections/IconCollections.stories.js.map +1 -1
  1005. package/es/icons/collections/IconCollectionsAdd.stories.js +1 -1
  1006. package/es/icons/collections/IconCollectionsAdd.stories.js.map +1 -1
  1007. package/es/icons/collections/IconCollectionsBolt.stories.js +1 -1
  1008. package/es/icons/collections/IconCollectionsBolt.stories.js.map +1 -1
  1009. package/es/icons/collections/IconCollectionsFilled.stories.js +1 -1
  1010. package/es/icons/collections/IconCollectionsFilled.stories.js.map +1 -1
  1011. package/es/icons/collections/IconCollectionsStar.stories.js +1 -1
  1012. package/es/icons/collections/IconCollectionsStar.stories.js.map +1 -1
  1013. package/es/icons/collections/IconCollectionsStarFilled.stories.js +1 -1
  1014. package/es/icons/collections/IconCollectionsStarFilled.stories.js.map +1 -1
  1015. package/es/icons/collections/collections.stories.js +1 -1
  1016. package/es/icons/collections/collections.stories.js.map +1 -1
  1017. package/es/icons/icons.stories.js +1 -1
  1018. package/es/icons/icons.stories.js.map +1 -1
  1019. package/es/icons/two-toned/IconAnnotation.js +1 -1
  1020. package/es/icons/two-toned/IconAnnotation.js.map +1 -1
  1021. package/es/illustration/AllNewBox140.stories.js +1 -1
  1022. package/es/illustration/AllNewBox140.stories.js.map +1 -1
  1023. package/es/illustration/AppSupport140.stories.js +1 -1
  1024. package/es/illustration/AppSupport140.stories.js.map +1 -1
  1025. package/es/illustration/Bell140.stories.js +1 -1
  1026. package/es/illustration/Bell140.stories.js.map +1 -1
  1027. package/es/illustration/BoxDrive140.stories.js +1 -1
  1028. package/es/illustration/BoxDrive140.stories.js.map +1 -1
  1029. package/es/illustration/BoxMobile140.stories.js +1 -1
  1030. package/es/illustration/BoxMobile140.stories.js.map +1 -1
  1031. package/es/illustration/BudgetApproval56.stories.js +1 -1
  1032. package/es/illustration/BudgetApproval56.stories.js.map +1 -1
  1033. package/es/illustration/Certificate56.stories.js +1 -1
  1034. package/es/illustration/Certificate56.stories.js.map +1 -1
  1035. package/es/illustration/CertificateSigning56.stories.js +1 -1
  1036. package/es/illustration/CertificateSigning56.stories.js.map +1 -1
  1037. package/es/illustration/ChangeOrder56.stories.js +1 -1
  1038. package/es/illustration/ChangeOrder56.stories.js.map +1 -1
  1039. package/es/illustration/Clock140.stories.js +1 -1
  1040. package/es/illustration/Clock140.stories.js.map +1 -1
  1041. package/es/illustration/CollectionStar140.stories.js +1 -1
  1042. package/es/illustration/CollectionStar140.stories.js.map +1 -1
  1043. package/es/illustration/ContractorId56.stories.js +1 -1
  1044. package/es/illustration/ContractorId56.stories.js.map +1 -1
  1045. package/es/illustration/CreativeApproval56.stories.js +1 -1
  1046. package/es/illustration/CreativeApproval56.stories.js.map +1 -1
  1047. package/es/illustration/CreativeAssets56.stories.js +1 -1
  1048. package/es/illustration/CreativeAssets56.stories.js.map +1 -1
  1049. package/es/illustration/CustomApp56.stories.js +1 -1
  1050. package/es/illustration/CustomApp56.stories.js.map +1 -1
  1051. package/es/illustration/CustomSkill56.stories.js +1 -1
  1052. package/es/illustration/CustomSkill56.stories.js.map +1 -1
  1053. package/es/illustration/CustomTemplate56.stories.js +1 -1
  1054. package/es/illustration/CustomTemplate56.stories.js.map +1 -1
  1055. package/es/illustration/CustomerSupport140.stories.js +1 -1
  1056. package/es/illustration/CustomerSupport140.stories.js.map +1 -1
  1057. package/es/illustration/DiscoDanceParty140.stories.js +1 -1
  1058. package/es/illustration/DiscoDanceParty140.stories.js.map +1 -1
  1059. package/es/illustration/Discount140.stories.js +1 -1
  1060. package/es/illustration/Discount140.stories.js.map +1 -1
  1061. package/es/illustration/EmailVerification140.stories.js +1 -1
  1062. package/es/illustration/EmailVerification140.stories.js.map +1 -1
  1063. package/es/illustration/EmployeeId56.stories.js +1 -1
  1064. package/es/illustration/EmployeeId56.stories.js.map +1 -1
  1065. package/es/illustration/EmployeeReview56.stories.js +1 -1
  1066. package/es/illustration/EmployeeReview56.stories.js.map +1 -1
  1067. package/es/illustration/EmptyStateDetails.stories.js +1 -1
  1068. package/es/illustration/EmptyStateDetails.stories.js.map +1 -1
  1069. package/es/illustration/EmptyStateFolder140.stories.js +1 -1
  1070. package/es/illustration/EmptyStateFolder140.stories.js.map +1 -1
  1071. package/es/illustration/EmptyStatePreviewActivity140.stories.js +1 -1
  1072. package/es/illustration/EmptyStatePreviewActivity140.stories.js.map +1 -1
  1073. package/es/illustration/Envelope140.stories.js +1 -1
  1074. package/es/illustration/Envelope140.stories.js.map +1 -1
  1075. package/es/illustration/ErrorState404140.stories.js +1 -1
  1076. package/es/illustration/ErrorState404140.stories.js.map +1 -1
  1077. package/es/illustration/Files.stories.js +1 -1
  1078. package/es/illustration/Files.stories.js.map +1 -1
  1079. package/es/illustration/Files140.stories.js +1 -1
  1080. package/es/illustration/Files140.stories.js.map +1 -1
  1081. package/es/illustration/FinanceContract56.stories.js +1 -1
  1082. package/es/illustration/FinanceContract56.stories.js.map +1 -1
  1083. package/es/illustration/FolderArrow140.stories.js +1 -1
  1084. package/es/illustration/FolderArrow140.stories.js.map +1 -1
  1085. package/es/illustration/FolderFloat140.stories.js +1 -1
  1086. package/es/illustration/FolderFloat140.stories.js.map +1 -1
  1087. package/es/illustration/FolderPlane140.stories.js +1 -1
  1088. package/es/illustration/FolderPlane140.stories.js.map +1 -1
  1089. package/es/illustration/FolderStar140.stories.js +1 -1
  1090. package/es/illustration/FolderStar140.stories.js.map +1 -1
  1091. package/es/illustration/Gavel56.stories.js +1 -1
  1092. package/es/illustration/Gavel56.stories.js.map +1 -1
  1093. package/es/illustration/Handshake56.stories.js +1 -1
  1094. package/es/illustration/Handshake56.stories.js.map +1 -1
  1095. package/es/illustration/HandshakeAgreement56.stories.js +1 -1
  1096. package/es/illustration/HandshakeAgreement56.stories.js.map +1 -1
  1097. package/es/illustration/HatWand140.stories.js +1 -1
  1098. package/es/illustration/HatWand140.stories.js.map +1 -1
  1099. package/es/illustration/Keynote56.stories.js +1 -1
  1100. package/es/illustration/Keynote56.stories.js.map +1 -1
  1101. package/es/illustration/LegalContract56.stories.js +1 -1
  1102. package/es/illustration/LegalContract56.stories.js.map +1 -1
  1103. package/es/illustration/LegalFolder56.stories.js +1 -1
  1104. package/es/illustration/LegalFolder56.stories.js.map +1 -1
  1105. package/es/illustration/LimitedApp56.stories.js +1 -1
  1106. package/es/illustration/LimitedApp56.stories.js.map +1 -1
  1107. package/es/illustration/MarketingPlan56.stories.js +1 -1
  1108. package/es/illustration/MarketingPlan56.stories.js.map +1 -1
  1109. package/es/illustration/Megaphone140.stories.js +1 -1
  1110. package/es/illustration/Megaphone140.stories.js.map +1 -1
  1111. package/es/illustration/MetricsReview56.stories.js +1 -1
  1112. package/es/illustration/MetricsReview56.stories.js.map +1 -1
  1113. package/es/illustration/Microphone140.stories.js +1 -1
  1114. package/es/illustration/Microphone140.stories.js.map +1 -1
  1115. package/es/illustration/Missing140.stories.js +1 -1
  1116. package/es/illustration/Missing140.stories.js.map +1 -1
  1117. package/es/illustration/MoneyStack56.stories.js +1 -1
  1118. package/es/illustration/MoneyStack56.stories.js.map +1 -1
  1119. package/es/illustration/MonthlyReport56.stories.js +1 -1
  1120. package/es/illustration/MonthlyReport56.stories.js.map +1 -1
  1121. package/es/illustration/NotesStar140.stories.js +1 -1
  1122. package/es/illustration/NotesStar140.stories.js.map +1 -1
  1123. package/es/illustration/PlanSelection140.stories.js +1 -1
  1124. package/es/illustration/PlanSelection140.stories.js.map +1 -1
  1125. package/es/illustration/Playbook56.stories.js +1 -1
  1126. package/es/illustration/Playbook56.stories.js.map +1 -1
  1127. package/es/illustration/ProjectFolder56.stories.js +1 -1
  1128. package/es/illustration/ProjectFolder56.stories.js.map +1 -1
  1129. package/es/illustration/RecentFiles140.stories.js +1 -1
  1130. package/es/illustration/RecentFiles140.stories.js.map +1 -1
  1131. package/es/illustration/RelayPlanet140.stories.js +1 -1
  1132. package/es/illustration/RelayPlanet140.stories.js.map +1 -1
  1133. package/es/illustration/SalesContract56.stories.js +1 -1
  1134. package/es/illustration/SalesContract56.stories.js.map +1 -1
  1135. package/es/illustration/Sandbox140.stories.js +1 -1
  1136. package/es/illustration/Sandbox140.stories.js.map +1 -1
  1137. package/es/illustration/TaskList56.stories.js +1 -1
  1138. package/es/illustration/TaskList56.stories.js.map +1 -1
  1139. package/es/illustration/Transfers140.stories.js +1 -1
  1140. package/es/illustration/Transfers140.stories.js.map +1 -1
  1141. package/es/illustration/TrashEmpty140.stories.js +1 -1
  1142. package/es/illustration/TrashEmpty140.stories.js.map +1 -1
  1143. package/es/illustration/Unplugged140.stories.js +1 -1
  1144. package/es/illustration/Unplugged140.stories.js.map +1 -1
  1145. package/es/illustration/UploadCloud140.stories.js +1 -1
  1146. package/es/illustration/UploadCloud140.stories.js.map +1 -1
  1147. package/es/illustration/UserOrbit56.stories.js +1 -1
  1148. package/es/illustration/UserOrbit56.stories.js.map +1 -1
  1149. package/es/src/components/avatar/Avatar.d.ts +2 -2
  1150. package/es/src/components/avatar/Avatar.stories.d.ts +2 -2
  1151. package/es/src/components/badge/Badge.d.ts +1 -1
  1152. package/es/src/components/badge/types.d.ts +1 -1
  1153. package/es/src/components/badgeable/Badgeable.d.ts +1 -1
  1154. package/es/src/components/button/Button.d.ts +1 -1
  1155. package/es/src/components/checkbox/CheckboxField.d.ts +1 -1
  1156. package/es/src/components/close-button/CloseButton.d.ts +2 -2
  1157. package/es/src/components/close-button/CloseButton.stories.d.ts +2 -2
  1158. package/es/src/components/count-badge/CountBadge.d.ts +1 -1
  1159. package/es/src/components/date-picker/DatePicker.d.ts +9 -9
  1160. package/es/src/components/date-picker/DatePicker.stories.d.ts +2 -2
  1161. package/es/src/components/footer-indicator/FooterIndicator.d.ts +1 -1
  1162. package/es/src/components/ghost/Ghost.d.ts +2 -2
  1163. package/es/src/components/ghost/Ghost.stories.d.ts +3 -3
  1164. package/es/src/components/guide-tooltip/GuideTooltip.d.ts +2 -2
  1165. package/es/src/components/header/Header.d.ts +1 -1
  1166. package/es/src/components/image-tooltip/ImageTooltip.d.ts +2 -2
  1167. package/es/src/components/image-tooltip/ImageTooltipContent.d.ts +2 -2
  1168. package/es/src/components/label/HiddenLabel.d.ts +3 -1
  1169. package/es/src/components/label/Label.d.ts +3 -1
  1170. package/es/src/components/label/Label.stories.d.ts +1 -1
  1171. package/es/src/components/label/LabelPrimitive.d.ts +3 -1
  1172. package/es/src/components/label/StandardLabel.d.ts +3 -1
  1173. package/es/src/components/loading-indicator/makeLoadable.d.ts +1 -1
  1174. package/es/src/components/media/Media.d.ts +2 -2
  1175. package/es/src/components/media/MediaMenu.d.ts +2 -2
  1176. package/es/src/components/media/stories/Media.stories.d.ts +2 -2
  1177. package/es/src/components/media/stories/MediaMenu.stories.d.ts +2 -2
  1178. package/es/src/components/menu/Menu.d.ts +1 -1
  1179. package/es/src/components/menu/MenuContext.d.ts +1 -1
  1180. package/es/src/components/plain-button/index.d.ts +1 -1
  1181. package/es/src/components/preview/PreviewLoading.d.ts +1 -1
  1182. package/es/src/components/preview/PreviewLoadingRing.d.ts +1 -1
  1183. package/es/src/components/preview/previewIcons.d.ts +7 -3
  1184. package/es/src/components/radio/RadioButtonField.d.ts +1 -1
  1185. package/es/src/components/radio/RadioGroup.d.ts +1 -1
  1186. package/es/src/components/radio/RadioGroupField.d.ts +1 -1
  1187. package/es/src/components/search-form/SearchActions.d.ts +16 -0
  1188. package/es/src/components/search-form/messages.d.ts +18 -0
  1189. package/es/src/components/time-input/TimeInput.d.ts +3 -3
  1190. package/es/src/components/time-input/TimeInput.stories.d.ts +2 -2
  1191. package/es/src/components/time-input/TimeInputUtils.d.ts +2 -2
  1192. package/es/src/components/tooltip/CloseButton.d.ts +3 -3
  1193. package/es/src/components/tooltip/Tooltip.d.ts +10 -10
  1194. package/es/src/components/tooltip/index.d.ts +1 -1
  1195. package/es/src/elements/common/annotator-context/types.d.ts +2 -2
  1196. package/es/src/elements/common/annotator-context/withAnnotations.d.ts +5 -5
  1197. package/es/src/elements/common/current-user/withCurrentUser.d.ts +4 -4
  1198. package/es/src/elements/common/nav-router/NavRouter.d.ts +1 -1
  1199. package/es/src/elements/common/nav-router/types.d.ts +1 -1
  1200. package/es/src/elements/content-preview/PreviewMask.d.ts +1 -1
  1201. package/es/src/elements/content-sidebar/SidebarNavSignButton.d.ts +24 -4
  1202. package/es/src/elements/content-sidebar/activity-feed/ActivityCard.d.ts +1 -1
  1203. package/es/src/elements/content-sidebar/activity-feed/SelectableActivityCard.d.ts +1 -1
  1204. package/es/src/elements/content-sidebar/activity-feed/activity-feed/ActivityItem.d.ts +1 -1
  1205. package/es/src/elements/content-sidebar/activity-feed/annotations/AnnotationActivityLink.d.ts +3 -3
  1206. package/es/src/elements/content-sidebar/activity-feed/common/activity-datestamp/ActivityDatestamp.d.ts +2 -2
  1207. package/es/src/elements/content-sidebar/activity-feed/illustrations/ActivityFeedEmptyStateIllustration.d.ts +1 -1
  1208. package/es/src/features/content-answers/Answer.d.ts +7 -0
  1209. package/es/src/features/content-answers/ContentAnswers.d.ts +10 -0
  1210. package/es/src/features/content-answers/ContentAnswersGridCard.d.ts +7 -0
  1211. package/es/src/features/content-answers/ContentAnswersModal.d.ts +10 -0
  1212. package/es/src/features/content-answers/ContentAnswersModalContent.d.ts +11 -0
  1213. package/es/src/features/content-answers/ContentAnswersModalError.d.ts +3 -0
  1214. package/es/src/features/content-answers/ContentAnswersModalFooter.d.ts +18 -0
  1215. package/es/src/features/content-answers/ContentAnswersModalFooterActions.d.ts +7 -0
  1216. package/es/src/features/content-answers/ContentAnswersOpenButton.d.ts +16 -0
  1217. package/es/src/features/content-answers/InlineError.d.ts +3 -0
  1218. package/es/src/features/content-answers/LoadingElement.d.ts +3 -0
  1219. package/es/src/features/content-answers/Question.d.ts +8 -0
  1220. package/es/src/features/content-answers/WelcomeMessage.d.ts +6 -0
  1221. package/es/src/features/content-answers/__mocks__/mocks.d.ts +23 -0
  1222. package/es/src/features/content-answers/__tests__/Answer.test.d.ts +1 -0
  1223. package/es/src/features/content-answers/__tests__/ContentAnswers.test.d.ts +1 -0
  1224. package/es/src/features/content-answers/__tests__/ContentAnswersGridCard.test.d.ts +1 -0
  1225. package/es/src/features/content-answers/__tests__/ContentAnswersModal.test.d.ts +1 -0
  1226. package/es/src/features/content-answers/__tests__/ContentAnswersModalContent.test.d.ts +1 -0
  1227. package/es/src/features/content-answers/__tests__/ContentAnswersModalError.test.d.ts +1 -0
  1228. package/es/src/features/content-answers/__tests__/ContentAnswersModalFooter.test.d.ts +1 -0
  1229. package/es/src/features/content-answers/__tests__/ContentAnswersModalFooterActions.d.ts +1 -0
  1230. package/es/src/features/content-answers/__tests__/ContentAnswersOpenButton.test.d.ts +1 -0
  1231. package/es/src/features/content-answers/__tests__/InlineError.test.d.ts +1 -0
  1232. package/es/src/features/content-answers/__tests__/Question.test.d.ts +1 -0
  1233. package/es/src/features/content-answers/__tests__/WelcomeMessage.test.d.ts +1 -0
  1234. package/es/src/features/content-answers/constants.d.ts +7 -0
  1235. package/es/src/features/content-answers/index.d.ts +1 -0
  1236. package/es/src/features/content-answers/messages.d.ts +83 -0
  1237. package/es/src/features/content-insights/CompactCount.d.ts +2 -2
  1238. package/es/src/features/content-insights/GraphCardPreviewsSummary.d.ts +2 -2
  1239. package/es/src/features/content-insights/MetricSummary.d.ts +2 -2
  1240. package/es/src/features/content-insights/TrendPill.d.ts +2 -2
  1241. package/es/src/features/content-insights/charts/bar/BarChart.d.ts +1 -1
  1242. package/es/src/features/content-insights/charts/types.d.ts +2 -2
  1243. package/es/src/features/content-insights/constants.d.ts +30 -18
  1244. package/es/src/features/content-insights/types.d.ts +9 -9
  1245. package/es/src/features/presence/PresenceAvatarList.d.ts +2 -2
  1246. package/es/src/features/presence/PresenceAvatarTooltipContent.d.ts +15 -3
  1247. package/es/src/features/sandbox-banner/SandboxBanner.d.ts +1 -1
  1248. package/es/src/icons/file/IconFileBase.d.ts +1 -1
  1249. package/es/styles/colors.stories.js +1 -1
  1250. package/es/styles/colors.stories.js.map +1 -1
  1251. package/es/styles/common/_buttons.scss +1 -1
  1252. package/es/styles/constants/_buttons.scss +1 -0
  1253. package/es/styles/typography.stories.js +1 -1
  1254. package/es/styles/typography.stories.js.map +1 -1
  1255. package/es/utils/Browser.js +11 -0
  1256. package/es/utils/Browser.js.flow +10 -0
  1257. package/es/utils/Browser.js.map +1 -1
  1258. package/es/utils/comparator.js +1 -1
  1259. package/es/utils/comparator.js.flow +1 -1
  1260. package/es/utils/comparator.js.map +1 -1
  1261. package/es/utils/createTheme.stories.js +1 -1
  1262. package/es/utils/createTheme.stories.js.flow +1 -1
  1263. package/es/utils/createTheme.stories.js.map +1 -1
  1264. package/es/utils/fields.js +3 -3
  1265. package/es/utils/fields.js.flow +3 -0
  1266. package/es/utils/fields.js.map +1 -1
  1267. package/es/utils/flatten.js +1 -1
  1268. package/es/utils/flatten.js.flow +6 -1
  1269. package/es/utils/flatten.js.map +1 -1
  1270. package/es/utils/size.js +5 -5
  1271. package/es/utils/size.js.flow +5 -5
  1272. package/es/utils/size.js.map +1 -1
  1273. package/es/utils/sorter.js +1 -1
  1274. package/es/utils/sorter.js.flow +1 -1
  1275. package/es/utils/sorter.js.map +1 -1
  1276. package/flow-typed/box-ui-elements.js +1 -0
  1277. package/i18n/bn-IN.js +19 -1
  1278. package/i18n/bn-IN.properties +38 -2
  1279. package/i18n/da-DK.js +19 -1
  1280. package/i18n/da-DK.properties +38 -2
  1281. package/i18n/de-DE.js +19 -1
  1282. package/i18n/de-DE.properties +38 -2
  1283. package/i18n/en-AU.js +19 -1
  1284. package/i18n/en-AU.properties +38 -2
  1285. package/i18n/en-CA.js +19 -1
  1286. package/i18n/en-CA.properties +38 -2
  1287. package/i18n/en-GB.js +19 -1
  1288. package/i18n/en-GB.properties +38 -2
  1289. package/i18n/en-US.js +19 -1
  1290. package/i18n/en-US.properties +38 -2
  1291. package/i18n/en-x-pseudo.js +943 -926
  1292. package/i18n/en-x-pseudo.properties +962 -926
  1293. package/i18n/es-419.js +19 -1
  1294. package/i18n/es-419.properties +38 -2
  1295. package/i18n/es-ES.js +19 -1
  1296. package/i18n/es-ES.properties +38 -2
  1297. package/i18n/fi-FI.js +19 -1
  1298. package/i18n/fi-FI.properties +38 -2
  1299. package/i18n/fr-CA.js +19 -1
  1300. package/i18n/fr-CA.properties +38 -2
  1301. package/i18n/fr-FR.js +19 -1
  1302. package/i18n/fr-FR.properties +38 -2
  1303. package/i18n/hi-IN.js +19 -1
  1304. package/i18n/hi-IN.properties +38 -2
  1305. package/i18n/it-IT.js +19 -1
  1306. package/i18n/it-IT.properties +38 -2
  1307. package/i18n/ja-JP.js +29 -11
  1308. package/i18n/ja-JP.properties +48 -12
  1309. package/i18n/ko-KR.js +19 -1
  1310. package/i18n/ko-KR.properties +38 -2
  1311. package/i18n/nb-NO.js +19 -1
  1312. package/i18n/nb-NO.properties +38 -2
  1313. package/i18n/nl-NL.js +19 -1
  1314. package/i18n/nl-NL.properties +38 -2
  1315. package/i18n/pl-PL.js +19 -1
  1316. package/i18n/pl-PL.properties +38 -2
  1317. package/i18n/pt-BR.js +19 -1
  1318. package/i18n/pt-BR.properties +38 -2
  1319. package/i18n/ru-RU.js +19 -1
  1320. package/i18n/ru-RU.properties +38 -2
  1321. package/i18n/sv-SE.js +19 -1
  1322. package/i18n/sv-SE.properties +38 -2
  1323. package/i18n/tr-TR.js +19 -1
  1324. package/i18n/tr-TR.properties +38 -2
  1325. package/i18n/zh-CN.js +19 -1
  1326. package/i18n/zh-CN.properties +38 -2
  1327. package/i18n/zh-TW.js +19 -1
  1328. package/i18n/zh-TW.properties +38 -2
  1329. package/package.json +48 -36
  1330. package/src/api/APIFactory.js +25 -0
  1331. package/src/api/Intelligence.js +47 -0
  1332. package/src/api/__tests__/Intelligence.test.js +81 -0
  1333. package/src/api/__tests__/Item.test.js +1 -1
  1334. package/src/api/uploads/__tests__/BaseUpload.test.js +5 -5
  1335. package/src/api/uploads/__tests__/FolderUpload.test.js +1 -1
  1336. package/src/api/uploads/__tests__/FolderUploadNode.test.js +1 -1
  1337. package/src/api/uploads/__tests__/MultiputUpload.test.js +1 -1
  1338. package/src/common/types/core.js +1 -0
  1339. package/src/components/accessible-svg/AccessibleSVG.stories.tsx +1 -1
  1340. package/src/components/avatar/Avatar.stories.tsx +1 -1
  1341. package/src/components/badge/Badge.stories.tsx +1 -1
  1342. package/src/components/badge/BetaBadge.stories.tsx +1 -1
  1343. package/src/components/badge/TrialBadge.stories.tsx +1 -1
  1344. package/src/components/badge/UpgradeBadge.stories.tsx +1 -1
  1345. package/src/components/breadcrumb/Breadcrumb.stories.js +1 -1
  1346. package/src/components/button/Button.stories.tsx +1 -1
  1347. package/src/components/button-group/ButtonGroup.stories.tsx +1 -1
  1348. package/src/components/category-selector/CategorySelector.stories.tsx +1 -1
  1349. package/src/components/checkbox/Checkbox.stories.tsx +1 -1
  1350. package/src/components/close-button/CloseButton.stories.tsx +1 -1
  1351. package/src/components/collapsible/Collapsible.stories.tsx +1 -1
  1352. package/src/components/collapsible/__tests__/__snapshots__/Collapsible.test.tsx.snap +14 -14
  1353. package/src/components/contact-datalist-item/ContactDatalistItem.stories.tsx +1 -1
  1354. package/src/components/context-menu/ContextMenu.stories.tsx +1 -1
  1355. package/src/components/count-badge/CountBadge.stories.tsx +1 -1
  1356. package/src/components/datalist-item/DatalistItem.stories.tsx +1 -1
  1357. package/src/components/date-picker/DatePicker.stories.tsx +1 -1
  1358. package/src/components/draft-js-editor/DraftJSEditor.stories.js +1 -1
  1359. package/src/components/draggable-list/DraggableList.stories.tsx +1 -1
  1360. package/src/components/dropdown-menu/DropdownMenu.stories.js +1 -1
  1361. package/src/components/error-mask/ErrorMask.stories.tsx +1 -1
  1362. package/src/components/fieldset/Fieldset.stories.tsx +1 -1
  1363. package/src/components/flyout/Flyout.stories.tsx +1 -1
  1364. package/src/components/flyout/OverlayHeader.tsx +1 -1
  1365. package/src/components/footer-indicator/FooterIndicator.stories.tsx +1 -1
  1366. package/src/components/form-elements/form/Form.stories.js +1 -1
  1367. package/src/components/form-elements/formik/Formik.stories.js +1 -1
  1368. package/src/components/form-elements/text-area/TextArea.stories.js +1 -1
  1369. package/src/components/form-elements/text-input/TextInput.stories.js +1 -1
  1370. package/src/components/ghost/Ghost.stories.tsx +1 -1
  1371. package/src/components/grid-view/__tests__/__snapshots__/GridView.test.js.snap +4 -4
  1372. package/src/components/guide-tooltip/GuideTooltip.stories.tsx +1 -1
  1373. package/src/components/header/Header.stories.tsx +1 -1
  1374. package/src/components/image-tooltip/ImageTooltip.stories.tsx +1 -1
  1375. package/src/components/inline-error/InlineError.stories.js +1 -1
  1376. package/src/components/inline-notice/InlineNotice.stories.js +1 -1
  1377. package/src/components/label/HiddenLabel.js.flow +3 -2
  1378. package/src/components/label/HiddenLabel.tsx +4 -2
  1379. package/src/components/label/Label.js.flow +5 -3
  1380. package/src/components/label/Label.stories.tsx +1 -1
  1381. package/src/components/label/Label.tsx +18 -3
  1382. package/src/components/label/LabelPrimitive.js.flow +3 -2
  1383. package/src/components/label/LabelPrimitive.tsx +4 -2
  1384. package/src/components/label/StandardLabel.js.flow +3 -2
  1385. package/src/components/label/StandardLabel.tsx +4 -2
  1386. package/src/components/label/__tests__/__snapshots__/Label.test.tsx.snap +2 -2
  1387. package/src/components/label/__tests__/__snapshots__/StandardLabel.test.tsx.snap +1 -1
  1388. package/src/components/label-pill/LabelPill.stories.tsx +1 -1
  1389. package/src/components/link/stories/Link.stories.tsx +2 -1
  1390. package/src/components/link/stories/LinkButton.stories.tsx +3 -1
  1391. package/src/components/link/stories/LinkGroup.stories.tsx +1 -1
  1392. package/src/components/link/stories/LinkPrimaryButton.stories.tsx +2 -1
  1393. package/src/components/loading-indicator/LoadingIndicator.stories.tsx +1 -1
  1394. package/src/components/loading-indicator/LoadingIndicatorWrapper.stories.tsx +1 -1
  1395. package/src/components/loading-indicator/makeLoadable.tsx +2 -4
  1396. package/src/components/logo/Logo.stories.tsx +1 -1
  1397. package/src/components/media/stories/Media.stories.tsx +1 -1
  1398. package/src/components/media/stories/MediaBody.stories.tsx +1 -1
  1399. package/src/components/media/stories/MediaFigure.stories.tsx +1 -1
  1400. package/src/components/media/stories/MediaMenu.stories.tsx +1 -1
  1401. package/src/components/media-query/stories/MediaQuery.stories.js +1 -1
  1402. package/src/components/menu/stories/Menu.stories.tsx +1 -1
  1403. package/src/components/menu/stories/SelectMenuLinkItem.stories.tsx +1 -1
  1404. package/src/components/modal/Modal.scss +62 -69
  1405. package/src/components/modal/stories/Modal.stories.js +1 -1
  1406. package/src/components/modal/stories/ModalActions.stories.js +1 -1
  1407. package/src/components/modal/stories/ModalDialog.stories.js +1 -1
  1408. package/src/components/nav-sidebar/NavSidebar.stories.js +1 -1
  1409. package/src/components/notification/stories/Notification.stories.js +1 -1
  1410. package/src/components/notification/stories/NotificationsWrapper.stories.js +1 -1
  1411. package/src/components/nudge/Nudge.stories.tsx +1 -1
  1412. package/src/components/pill-cloud/PillCloud.stories.js +1 -1
  1413. package/src/components/pill-selector-dropdown/PillSelector.js +10 -2
  1414. package/src/components/pill-selector-dropdown/PillSelector.scss +4 -0
  1415. package/src/components/pill-selector-dropdown/PillSelectorDropdown.stories.js +1 -1
  1416. package/src/components/pill-selector-dropdown/__tests__/PillSelector.test.js +21 -0
  1417. package/src/components/pill-selector-dropdown/__tests__/__snapshots__/PillSelector.test.js.snap +1 -1
  1418. package/src/components/pill-selector-dropdown/__tests__/__snapshots__/PillSelectorDropdown.test.js.snap +1 -1
  1419. package/src/components/pill-selector-dropdown/__tests__/__snapshots__/PillSelectorDropdownField.test.js.snap +12 -12
  1420. package/src/components/pill-selector-dropdown/__tests__/__snapshots__/defaultDropdownRenderer.test.js.snap +1 -1
  1421. package/src/components/plain-button/PlainButton.stories.tsx +1 -1
  1422. package/src/components/plain-button/__tests__/__snapshots__/PlainButton.test.tsx.snap +4 -4
  1423. package/src/components/primary-button/PrimaryButton.stories.tsx +1 -1
  1424. package/src/components/radar/RadarAnimation.stories.tsx +1 -1
  1425. package/src/components/radar/__tests__/__snapshots__/RadarAnimation.test.tsx.snap +20 -20
  1426. package/src/components/radio/stories/RadioButton.stories.tsx +1 -1
  1427. package/src/components/radio/stories/RadioGroup.stories.tsx +1 -1
  1428. package/src/components/search-form/SearchActions.tsx +50 -0
  1429. package/src/components/search-form/SearchForm.js +10 -54
  1430. package/src/components/search-form/__tests__/SearchForm.test.js +9 -5
  1431. package/src/components/search-form/messages.ts +21 -0
  1432. package/src/components/section/Section.stories.tsx +1 -1
  1433. package/src/components/select/Select.stories.js +1 -1
  1434. package/src/components/select-button/SelectButton.stories.js +1 -1
  1435. package/src/components/select-field/__tests__/__snapshots__/BaseSelectField.test.js.snap +1 -1
  1436. package/src/components/selector-dropdown/SelectorDropdown.stories.js +1 -1
  1437. package/src/components/sidebar-toggle-button/SidebarToggleButton.stories.js +1 -1
  1438. package/src/components/sidebar-toggle-button/__tests__/__snapshots__/SidebarToggleButton.test.js.snap +12 -12
  1439. package/src/components/tab-view/TabView.stories.js +1 -1
  1440. package/src/components/text-area/__tests__/__snapshots__/TextArea.test.js.snap +3 -3
  1441. package/src/components/text-input/TextInput.stories.js +1 -1
  1442. package/src/components/text-input-with-copy-button/TextInputWithCopyButton.js +9 -4
  1443. package/src/components/text-input-with-copy-button/TextInputWithCopyButton.stories.js +1 -1
  1444. package/src/components/thumbnail-card/ThumbnailCard.stories.js +1 -1
  1445. package/src/components/time/ReadableTime.stories.js +1 -1
  1446. package/src/components/time-input/TimeInput.stories.tsx +1 -1
  1447. package/src/components/toggle/Toggle.stories.js +1 -1
  1448. package/src/components/tooltip/Tooltip.stories.tsx +1 -1
  1449. package/src/components/tooltip/__tests__/__snapshots__/Tooltip.test.tsx.snap +14 -14
  1450. package/src/constants.js +1 -0
  1451. package/src/elements/common/_variables.scss +1 -0
  1452. package/src/elements/common/current-user/withCurrentUser.tsx +1 -0
  1453. package/src/elements/common/feature-checking/__tests__/withFeatureProvider.test.js +25 -25
  1454. package/src/elements/common/logger/__tests__/__snapshots__/Logger.test.js.snap +1 -1
  1455. package/src/elements/common/selectors/__tests__/version.js +13 -11
  1456. package/src/elements/common/selectors/version.js +2 -1
  1457. package/src/elements/content-explorer/ContentExplorer.js +10 -4
  1458. package/src/elements/content-explorer/MoreOptions.js +1 -1
  1459. package/src/elements/content-explorer/PreviewDialog.js +0 -1
  1460. package/src/elements/content-explorer/__tests__/ContentExplorer.test.js +60 -0
  1461. package/src/elements/content-explorer/stories/ContentExplorer.stories.js +25 -36
  1462. package/src/elements/content-explorer/stories/DeleteConfirmationDialog.stories.js +1 -1
  1463. package/src/elements/content-explorer/stories/ShareDialog.stories.js +1 -1
  1464. package/src/elements/content-open-with/__tests__/__snapshots__/BoxToolsInstallMessage.test.js.snap +2 -2
  1465. package/src/elements/content-open-with/__tests__/__snapshots__/ContentOpenWith.test.js.snap +6 -6
  1466. package/src/elements/content-open-with/__tests__/__snapshots__/OpenWithDropdownMenu.test.js.snap +1 -1
  1467. package/src/elements/content-picker/ContentPicker.js +2 -2
  1468. package/src/elements/content-picker/Footer.scss +6 -0
  1469. package/src/elements/content-preview/ContentPreview.js +88 -64
  1470. package/src/elements/content-preview/ContentPreview.scss +13 -28
  1471. package/src/elements/content-preview/__tests__/ContentPreview.test.js +6 -5
  1472. package/src/elements/content-preview/__tests__/__snapshots__/PreviewNavigation.test.js.snap +93 -93
  1473. package/src/elements/content-preview/preview-header/PreviewHeader.js +6 -0
  1474. package/src/elements/content-preview/preview-header/__tests__/PreviewHeader.test.js +25 -0
  1475. package/src/elements/content-preview/stories/ContentPreview.stories.js +51 -81
  1476. package/src/elements/content-sharing/stories/ContentSharing.stories.js +18 -84
  1477. package/src/elements/content-sidebar/ActivitySidebar.js +2 -2
  1478. package/src/elements/content-sidebar/ContentSidebar.scss +9 -9
  1479. package/src/elements/content-sidebar/SidebarContent.scss +6 -8
  1480. package/src/elements/content-sidebar/SidebarNav.scss +22 -20
  1481. package/src/elements/content-sidebar/SidebarNavButton.scss +12 -14
  1482. package/src/elements/content-sidebar/SidebarNavSignButton.scss +6 -8
  1483. package/src/elements/content-sidebar/__tests__/ActivitySidebar.test.js +8 -4
  1484. package/src/elements/content-sidebar/__tests__/__snapshots__/ActivitySidebar.test.js.snap +5 -5
  1485. package/src/elements/content-sidebar/__tests__/__snapshots__/DetailsSidebar.test.js.snap +9 -9
  1486. package/src/elements/content-sidebar/__tests__/__snapshots__/MetadataSidebar.test.js.snap +6 -6
  1487. package/src/elements/content-sidebar/__tests__/__snapshots__/SidebarAccessStats.test.js.snap +12 -12
  1488. package/src/elements/content-sidebar/__tests__/__snapshots__/SidebarClassification.test.js.snap +3 -3
  1489. package/src/elements/content-sidebar/__tests__/__snapshots__/SidebarFileProperties.test.js.snap +10 -10
  1490. package/src/elements/content-sidebar/__tests__/__snapshots__/SidebarNotices.test.js.snap +2 -2
  1491. package/src/elements/content-sidebar/__tests__/__snapshots__/SkillsSidebar.test.js.snap +3 -3
  1492. package/src/elements/content-sidebar/__tests__/__snapshots__/TaskModal.test.js.snap +15 -15
  1493. package/src/elements/content-sidebar/activity-feed/__tests__/__snapshots__/Avatar.test.js.snap +1 -1
  1494. package/src/elements/content-sidebar/activity-feed/activity-feed/ActiveState.js +20 -2
  1495. package/src/elements/content-sidebar/activity-feed/activity-feed/ActivityFeed.js +7 -6
  1496. package/src/elements/content-sidebar/activity-feed/activity-feed/ActivityFeed.scss +6 -4
  1497. package/src/elements/content-sidebar/activity-feed/activity-feed/ActivityItem.scss +2 -2
  1498. package/src/elements/content-sidebar/activity-feed/activity-feed/__tests__/ActiveState.test.js +36 -0
  1499. package/src/elements/content-sidebar/activity-feed/activity-feed/__tests__/__snapshots__/ActiveState.test.js.snap +35 -35
  1500. package/src/elements/content-sidebar/activity-feed/activity-feed/stories/ActivityFeed.stories.js +70 -0
  1501. package/src/elements/content-sidebar/activity-feed/annotation-thread/AnnotationThreadContent.js +2 -2
  1502. package/src/elements/content-sidebar/activity-feed/annotation-thread/__tests__/useAnnotationThread.test.js +4 -2
  1503. package/src/elements/content-sidebar/activity-feed/annotation-thread/useAnnotationThread.js +3 -7
  1504. package/src/elements/content-sidebar/activity-feed/annotations/AnnotationActivity.js +3 -3
  1505. package/src/elements/content-sidebar/activity-feed/app-activity/__tests__/__snapshots__/AppActivity.test.js.snap +2 -2
  1506. package/src/elements/content-sidebar/activity-feed/comment/BaseComment.js +59 -166
  1507. package/src/elements/content-sidebar/activity-feed/comment/BaseComment.scss +34 -12
  1508. package/src/elements/content-sidebar/activity-feed/comment/CreateReply.js +5 -4
  1509. package/src/elements/content-sidebar/activity-feed/comment/Replies.scss +4 -2
  1510. package/src/elements/content-sidebar/activity-feed/comment/__tests__/BaseComment.test.js +18 -6
  1511. package/src/elements/content-sidebar/activity-feed/comment/__tests__/CreateReply.test.js +12 -0
  1512. package/src/elements/content-sidebar/activity-feed/comment/__tests__/Replies.test.js +25 -1
  1513. package/src/elements/content-sidebar/activity-feed/comment/__tests__/__snapshots__/Comment.test.js.snap +8 -8
  1514. package/src/elements/content-sidebar/activity-feed/comment/components/BaseCommentInfo.js +72 -0
  1515. package/src/elements/content-sidebar/activity-feed/comment/components/BaseCommentInfo.scss +38 -0
  1516. package/src/elements/content-sidebar/activity-feed/comment/components/BaseCommentMenu.js +125 -0
  1517. package/src/elements/content-sidebar/activity-feed/comment/components/BaseCommentMenu.scss +4 -0
  1518. package/src/elements/content-sidebar/activity-feed/comment/components/BaseCommentMenuWrapper.js +91 -0
  1519. package/src/elements/content-sidebar/activity-feed/comment/components/__tests__/BaseCommentInfo.test.js +51 -0
  1520. package/src/elements/content-sidebar/activity-feed/comment/components/__tests__/BaseCommentMenu.test.js +85 -0
  1521. package/src/elements/content-sidebar/activity-feed/comment/components/stories/BaseCommentInfo.stories.js +25 -0
  1522. package/src/elements/content-sidebar/activity-feed/comment/components/stories/BaseCommentMenu.stories.js +26 -0
  1523. package/src/elements/content-sidebar/activity-feed/comment/components/stories/common.js +28 -0
  1524. package/src/elements/content-sidebar/activity-feed/comment/messages.js +5 -5
  1525. package/src/elements/content-sidebar/activity-feed/comment/stories/BaseComment.stories.js +1 -1
  1526. package/src/elements/content-sidebar/activity-feed/comment/stories/common.js +1 -1
  1527. package/src/elements/content-sidebar/activity-feed/comment/types.js +13 -0
  1528. package/src/elements/content-sidebar/activity-feed/comment-form/CommentForm.js +11 -3
  1529. package/src/elements/content-sidebar/activity-feed/comment-form/__tests__/CommentForm.test.js +37 -21
  1530. package/src/elements/content-sidebar/activity-feed/common/activity-timestamp/__tests__/__snapshots__/ActivityTimestamp.test.js.snap +1 -1
  1531. package/src/elements/content-sidebar/activity-feed/common/delete-confirmation/DeleteConfirmation.js +2 -0
  1532. package/src/elements/content-sidebar/activity-feed/common/delete-confirmation/DeleteConfirmation.scss +1 -1
  1533. package/src/elements/content-sidebar/activity-feed/task-form/__tests__/__snapshots__/TaskError.test.js.snap +10 -10
  1534. package/src/elements/content-sidebar/activity-feed/task-new/Task.js +7 -2
  1535. package/src/elements/content-sidebar/activity-feed/task-new/__tests__/__snapshots__/AssigneeDetails.test.js.snap +9 -9
  1536. package/src/elements/content-sidebar/activity-feed/task-new/__tests__/__snapshots__/Task.test.js.snap +30 -21
  1537. package/src/elements/content-sidebar/activity-feed/task-new/__tests__/__snapshots__/TaskDueDate.test.js.snap +1 -1
  1538. package/src/elements/content-sidebar/activity-feed/task-new/messages.js +10 -0
  1539. package/src/elements/content-sidebar/activity-feed/version/__tests__/__snapshots__/CollapsedVersion.test.js.snap +2 -2
  1540. package/src/elements/content-sidebar/additional-tabs/__tests__/__snapshots__/AdditionalTabsLoading.test.js.snap +1 -1
  1541. package/src/elements/content-sidebar/skills/__tests__/__snapshots__/SidebarSkills.test.js.snap +208 -208
  1542. package/src/elements/content-sidebar/skills/__tests__/__snapshots__/SidebarSkillsCard.test.js.snap +5 -5
  1543. package/src/elements/content-sidebar/skills/faces/__tests__/__snapshots__/Faces.test.js.snap +23 -23
  1544. package/src/elements/content-sidebar/skills/keywords/__tests__/__snapshots__/EditableKeywords.test.js.snap +3 -3
  1545. package/src/elements/content-sidebar/skills/keywords/__tests__/__snapshots__/Keywords.test.js.snap +15 -15
  1546. package/src/elements/content-sidebar/skills/keywords/__tests__/__snapshots__/ReadOnlyKeywords.test.js.snap +8 -8
  1547. package/src/elements/content-sidebar/skills/timeline/__tests__/__snapshots__/Timeslice.test.js.snap +3 -3
  1548. package/src/elements/content-sidebar/skills/transcript/__tests__/__snapshots__/EditingTranscriptRow.test.js.snap +2 -10
  1549. package/src/elements/content-sidebar/stories/ContentSidebar.stories.js +19 -28
  1550. package/src/elements/content-sidebar/versions/VersionsItem.scss +6 -0
  1551. package/src/elements/content-sidebar/versions/__tests__/VersionsItem.test.js +3 -0
  1552. package/src/elements/content-sidebar/versions/__tests__/__snapshots__/VersionsItem.test.js.snap +3 -3
  1553. package/src/elements/content-sidebar/versions/__tests__/__snapshots__/VersionsSidebar.test.js.snap +2 -2
  1554. package/src/elements/content-sidebar/versions/__tests__/__snapshots__/VersionsSidebarContainer.test.js.snap +5 -5
  1555. package/src/elements/content-uploader/ItemName.scss +1 -1
  1556. package/src/elements/content-uploader/ProgressBar.scss +4 -0
  1557. package/src/elements/content-uploader/__tests__/__snapshots__/UploadStateContent.test.js.snap +1 -1
  1558. package/src/elements/content-uploader/stories/ContentUploader.stories.js +7 -11
  1559. package/src/features/access-stats/__tests__/__snapshots__/AccessStats.test.js.snap +30 -30
  1560. package/src/features/access-stats/__tests__/__snapshots__/AccessStatsItemsList.test.js.snap +14 -14
  1561. package/src/features/classification/__tests__/__snapshots__/Classification.test.js.snap +5 -5
  1562. package/src/features/classification/security-controls/__tests__/__snapshots__/SecurityControls.test.js.snap +17 -17
  1563. package/src/features/classification/security-controls/__tests__/__snapshots__/SecurityControlsModal.test.js.snap +6 -6
  1564. package/src/features/collaborator-avatars/CollaboratorList.scss +11 -1
  1565. package/src/features/collaborator-avatars/__tests__/__snapshots__/CollaboratorList.test.js.snap +10 -10
  1566. package/src/features/collaborator-avatars/__tests__/__snapshots__/CollaboratorListItem.test.js.snap +3 -3
  1567. package/src/features/collapsible-sidebar/CollapsibleSidebar.stories.js +1 -1
  1568. package/src/features/collapsible-sidebar/__tests__/__snapshots__/CollapsibleSidebarLogo.test.js.snap +2 -2
  1569. package/src/features/collapsible-sidebar/__tests__/__snapshots__/CollapsibleSidebarNav.test.js.snap +24 -24
  1570. package/src/features/content-answers/Answer.scss +4 -0
  1571. package/src/features/content-answers/Answer.tsx +22 -0
  1572. package/src/features/content-answers/ContentAnswers.tsx +60 -0
  1573. package/src/features/content-answers/ContentAnswersGridCard.scss +26 -0
  1574. package/src/features/content-answers/ContentAnswersGridCard.tsx +27 -0
  1575. package/src/features/content-answers/ContentAnswersModal.scss +56 -0
  1576. package/src/features/content-answers/ContentAnswersModal.tsx +136 -0
  1577. package/src/features/content-answers/ContentAnswersModalContent.scss +12 -0
  1578. package/src/features/content-answers/ContentAnswersModalContent.tsx +64 -0
  1579. package/src/features/content-answers/ContentAnswersModalError.scss +28 -0
  1580. package/src/features/content-answers/ContentAnswersModalError.tsx +32 -0
  1581. package/src/features/content-answers/ContentAnswersModalFooter.scss +42 -0
  1582. package/src/features/content-answers/ContentAnswersModalFooter.tsx +103 -0
  1583. package/src/features/content-answers/ContentAnswersModalFooterActions.scss +17 -0
  1584. package/src/features/content-answers/ContentAnswersModalFooterActions.tsx +45 -0
  1585. package/src/features/content-answers/ContentAnswersOpenButton.scss +54 -0
  1586. package/src/features/content-answers/ContentAnswersOpenButton.tsx +74 -0
  1587. package/src/features/content-answers/InlineError.scss +39 -0
  1588. package/src/features/content-answers/InlineError.tsx +32 -0
  1589. package/src/features/content-answers/LoadingElement.scss +4 -0
  1590. package/src/features/content-answers/LoadingElement.tsx +17 -0
  1591. package/src/features/content-answers/Question.scss +16 -0
  1592. package/src/features/content-answers/Question.tsx +30 -0
  1593. package/src/features/content-answers/WelcomeMessage.scss +25 -0
  1594. package/src/features/content-answers/WelcomeMessage.tsx +35 -0
  1595. package/src/features/content-answers/__mocks__/mocks.ts +66 -0
  1596. package/src/features/content-answers/__tests__/Answer.test.tsx +25 -0
  1597. package/src/features/content-answers/__tests__/ContentAnswers.test.tsx +53 -0
  1598. package/src/features/content-answers/__tests__/ContentAnswersGridCard.test.tsx +21 -0
  1599. package/src/features/content-answers/__tests__/ContentAnswersModal.test.tsx +117 -0
  1600. package/src/features/content-answers/__tests__/ContentAnswersModalContent.test.tsx +104 -0
  1601. package/src/features/content-answers/__tests__/ContentAnswersModalError.test.tsx +26 -0
  1602. package/src/features/content-answers/__tests__/ContentAnswersModalFooter.test.tsx +96 -0
  1603. package/src/features/content-answers/__tests__/ContentAnswersModalFooterActions.tsx +37 -0
  1604. package/src/features/content-answers/__tests__/ContentAnswersOpenButton.test.tsx +73 -0
  1605. package/src/features/content-answers/__tests__/InlineError.test.tsx +20 -0
  1606. package/src/features/content-answers/__tests__/Question.test.tsx +21 -0
  1607. package/src/features/content-answers/__tests__/WelcomeMessage.test.tsx +24 -0
  1608. package/src/features/content-answers/constants.ts +134 -0
  1609. package/src/features/content-answers/index.ts +1 -0
  1610. package/src/features/content-answers/messages.ts +87 -0
  1611. package/src/features/content-explorer/content-explorer/ContentExplorer.js +19 -15
  1612. package/src/features/content-explorer/content-explorer/ContentExplorer.scss +4 -0
  1613. package/src/features/content-explorer/content-explorer/ContentExplorerBreadcrumbs.js +2 -0
  1614. package/src/features/content-explorer/content-explorer/__tests__/ContentExplorer.test.js +29 -0
  1615. package/src/features/content-explorer/content-explorer/__tests__/__snapshots__/ContentExplorer.test.js.snap +10 -10
  1616. package/src/features/content-explorer/content-explorer/__tests__/__snapshots__/ContentExplorerHeaderActions.test.js.snap +1 -1
  1617. package/src/features/content-explorer/content-explorer-modal/ContentExplorerModal.js +1 -0
  1618. package/src/features/content-explorer/content-explorer-modal/__tests__/__snapshots__/ContentExplorerModal.test.js.snap +10 -10
  1619. package/src/features/content-explorer/content-explorer-modal-container/ContentExplorerModalContainer.js +2 -0
  1620. package/src/features/content-explorer/item-list/__tests__/__snapshots__/ItemListIcon.test.js.snap +4 -4
  1621. package/src/features/header-flyout/__tests__/__snapshots__/HeaderFlyout.test.js.snap +3 -3
  1622. package/src/features/invite-collaborators-modal/__tests__/__snapshots__/InviteCollaboratorsModal.test.js.snap +8 -8
  1623. package/src/features/item-details/__tests__/__snapshots__/EditableDescription.test.js.snap +2 -8
  1624. package/src/features/item-details/__tests__/__snapshots__/ItemExpirationNotice.test.js.snap +4 -4
  1625. package/src/features/item-details/__tests__/__snapshots__/ItemProperties.test.js.snap +2 -2
  1626. package/src/features/item-details/__tests__/__snapshots__/ReadonlyDescription.test.js.snap +2 -2
  1627. package/src/features/item-details/__tests__/__snapshots__/SharedLinkExpirationNotice.test.js.snap +2 -2
  1628. package/src/features/item-details/__tests__/__snapshots__/VersionHistoryLink.test.js.snap +2 -2
  1629. package/src/features/left-sidebar/__tests__/__snapshots__/InstantLogin.test.js.snap +2 -2
  1630. package/src/features/left-sidebar/__tests__/__snapshots__/LeftSidebar.test.js.snap +21 -21
  1631. package/src/features/left-sidebar/__tests__/__snapshots__/LeftSidebarLink.test.js.snap +14 -14
  1632. package/src/features/left-sidebar/__tests__/__snapshots__/defaultNavLinkRenderer.test.js.snap +1 -1
  1633. package/src/features/message-center/components/templates/common/__tests__/__snapshots__/MessageTextContent.test.js.snap +2 -2
  1634. package/src/features/message-center/components/templates/preview-title-body-tags-button/__tests__/__snapshots__/PreviewTitleBodyTagsButton.test.js.snap +4 -4
  1635. package/src/features/message-center/components/templates/title-body-tags-button/__tests__/__snapshots__/TitleBodyTagsButton.test.js.snap +4 -4
  1636. package/src/features/metadata-based-view/__tests__/__snapshots__/IconWithTooltip.test.js.snap +3 -3
  1637. package/src/features/metadata-based-view/__tests__/__snapshots__/MetadataBasedItemList.test.js.snap +21 -21
  1638. package/src/features/metadata-instance-editor/__tests__/__snapshots__/Header.test.js.snap +3 -3
  1639. package/src/features/metadata-instance-editor/__tests__/__snapshots__/Instance.test.js.snap +204 -204
  1640. package/src/features/metadata-instance-editor/__tests__/__snapshots__/Instances.test.js.snap +37 -37
  1641. package/src/features/metadata-instance-editor/__tests__/__snapshots__/MetadataInstanceEditor.test.js.snap +229 -229
  1642. package/src/features/metadata-instance-editor/__tests__/__snapshots__/TemplateDropdown.test.js.snap +7 -7
  1643. package/src/features/metadata-instance-editor/__tests__/__snapshots__/TemplatedInstance.test.js.snap +17 -17
  1644. package/src/features/metadata-instance-fields/__tests__/__snapshots__/DateMetadataField.test.js.snap +1 -1
  1645. package/src/features/metadata-instance-fields/__tests__/__snapshots__/EnumMetadataField.test.js.snap +10 -10
  1646. package/src/features/metadata-instance-fields/__tests__/__snapshots__/MetadataField.test.js.snap +1 -1
  1647. package/src/features/metadata-instance-fields/__tests__/__snapshots__/MultiSelectMetadataField.test.js.snap +4 -4
  1648. package/src/features/pagination/Pagination.scss +0 -4
  1649. package/src/features/pagination/__tests__/__snapshots__/MarkerBasedPagination.test.js.snap +8 -8
  1650. package/src/features/pagination/__tests__/__snapshots__/OffsetBasedPagination.test.js.snap +34 -34
  1651. package/src/features/pagination/__tests__/__snapshots__/PaginationMenu.test.js.snap +3 -3
  1652. package/src/features/presence/__tests__/__snapshots__/Presence.test.js.snap +49 -49
  1653. package/src/features/presence/__tests__/__snapshots__/PresenceLink.test.js.snap +24 -24
  1654. package/src/features/query-bar/__tests__/__snapshots__/ColumnButton.test.js.snap +6 -6
  1655. package/src/features/query-bar/__tests__/__snapshots__/Condition.test.js.snap +10 -10
  1656. package/src/features/query-bar/__tests__/__snapshots__/QueryBar.test.js.snap +41 -41
  1657. package/src/features/query-bar/__tests__/__snapshots__/TemplateButton.test.js.snap +2 -2
  1658. package/src/features/sandbox-banner/SandboxBanner.stories.tsx +1 -1
  1659. package/src/features/security/__tests__/__snapshots__/SecurityBadge.test.js.snap +2 -2
  1660. package/src/features/security-cloud-game/stories/SecurityCloudGame.stories.js +1 -1
  1661. package/src/features/shared-link-modal/__tests__/__snapshots__/AccessLabel.test.js.snap +1 -1
  1662. package/src/features/shared-link-modal/__tests__/__snapshots__/SharedLink.test.js.snap +5 -5
  1663. package/src/features/shared-link-modal/__tests__/__snapshots__/SharedLinkAccess.test.js.snap +4 -4
  1664. package/src/features/shared-link-modal/__tests__/__snapshots__/SharedLinkModal.test.js.snap +1 -1
  1665. package/src/features/shared-link-modal/stories/SharedLink.stories.js +1 -1
  1666. package/src/features/shared-link-modal/stories/SharedLinkModal.stories.js +1 -1
  1667. package/src/features/shared-link-settings-modal/SharedLinkSettingsModal.stories.js +1 -1
  1668. package/src/features/targeting/hocs/__tests__/__snapshots__/withTargetedClickThrough.test.js.snap +1 -1
  1669. package/src/features/targeting/hocs/withTargetedClickThrough.js +10 -1
  1670. package/src/features/targeting/types.js +1 -0
  1671. package/src/features/unified-share-modal/UnifiedShareModal.scss +61 -79
  1672. package/src/features/unified-share-modal/__tests__/__snapshots__/ContactsField.test.js.snap +23 -23
  1673. package/src/features/unified-share-modal/__tests__/__snapshots__/EmailForm.test.js.snap +28 -28
  1674. package/src/features/unified-share-modal/__tests__/__snapshots__/SharedLinkAccessDescription.test.js.snap +8 -8
  1675. package/src/features/unified-share-modal/__tests__/__snapshots__/SharedLinkAccessLabel.test.js.snap +10 -10
  1676. package/src/features/unified-share-modal/__tests__/__snapshots__/SharedLinkSection.test.js.snap +54 -54
  1677. package/src/features/unified-share-modal/__tests__/__snapshots__/UnifiedShareForm.test.js.snap +250 -250
  1678. package/src/features/unified-share-modal/__tests__/__snapshots__/UnifiedShareModal.test.js.snap +409 -409
  1679. package/src/features/unified-share-modal/__tests__/__snapshots__/UnifiedShareModalTitle.test.js.snap +1 -1
  1680. package/src/features/unified-share-modal/stories/UnifiedShareModal.stories.js +1 -1
  1681. package/src/features/virtualized-table/DraggableVirtualizedTable.stories.js +1 -1
  1682. package/src/features/virtualized-table/__tests__/__snapshots__/BaseVirtualizedTable.test.js.snap +5 -5
  1683. package/src/features/virtualized-table/__tests__/__snapshots__/DraggableVirtualizedTable.test.js.snap +7 -7
  1684. package/src/features/virtualized-table/__tests__/__snapshots__/VirtualizedTable.test.js.snap +19 -19
  1685. package/src/features/virtualized-table-renderers/__tests__/__snapshots__/loadingRowRenderer.test.js.snap +1 -1
  1686. package/src/features/virtualized-table-renderers/__tests__/draggableRowRenderer.test.js +5 -5
  1687. package/src/icon/content/ContentSharing32.stories.tsx +1 -1
  1688. package/src/icon/content/CustomSetup32.stories.tsx +1 -1
  1689. package/src/icon/content/DeviceTrust32.stories.tsx +1 -1
  1690. package/src/icon/content/FileAudio32.stories.tsx +1 -1
  1691. package/src/icon/content/FileBookmark32.stories.tsx +1 -1
  1692. package/src/icon/content/FileBoxNote32.stories.tsx +1 -1
  1693. package/src/icon/content/FileCanvas32.stories.tsx +1 -1
  1694. package/src/icon/content/FileCode32.stories.tsx +1 -1
  1695. package/src/icon/content/FileDefault32.stories.tsx +1 -1
  1696. package/src/icon/content/FileDicom32.stories.tsx +1 -1
  1697. package/src/icon/content/FileDocs32.stories.tsx +1 -1
  1698. package/src/icon/content/FileDwg32.stories.tsx +1 -1
  1699. package/src/icon/content/FileExcel32.stories.tsx +1 -1
  1700. package/src/icon/content/FileIllustrator32.stories.tsx +1 -1
  1701. package/src/icon/content/FileImage32.stories.tsx +1 -1
  1702. package/src/icon/content/FileIndesign32.stories.tsx +1 -1
  1703. package/src/icon/content/FileKeynote32.stories.tsx +1 -1
  1704. package/src/icon/content/FileNumbers32.stories.tsx +1 -1
  1705. package/src/icon/content/FilePages32.stories.tsx +1 -1
  1706. package/src/icon/content/FilePdf32.stories.tsx +1 -1
  1707. package/src/icon/content/FilePhotoshop32.stories.tsx +1 -1
  1708. package/src/icon/content/FilePowerpoint32.stories.tsx +1 -1
  1709. package/src/icon/content/FilePresentation32.stories.tsx +1 -1
  1710. package/src/icon/content/FileSheets32.stories.tsx +1 -1
  1711. package/src/icon/content/FileSlides32.stories.tsx +1 -1
  1712. package/src/icon/content/FileSpreadsheet32.stories.tsx +1 -1
  1713. package/src/icon/content/FileText32.stories.tsx +1 -1
  1714. package/src/icon/content/FileThreeD32.stories.tsx +1 -1
  1715. package/src/icon/content/FileUpload32.stories.tsx +1 -1
  1716. package/src/icon/content/FileVector32.stories.tsx +1 -1
  1717. package/src/icon/content/FileVideo32.stories.tsx +1 -1
  1718. package/src/icon/content/FileWord32.stories.tsx +1 -1
  1719. package/src/icon/content/FileXbd32.stories.tsx +1 -1
  1720. package/src/icon/content/FileXdw32.stories.tsx +1 -1
  1721. package/src/icon/content/FileZip32.stories.tsx +1 -1
  1722. package/src/icon/content/FolderExternal32.stories.tsx +1 -1
  1723. package/src/icon/content/FolderPersonal32.stories.tsx +1 -1
  1724. package/src/icon/content/FolderShared32.stories.tsx +1 -1
  1725. package/src/icon/content/FolderUpload32.stories.tsx +1 -1
  1726. package/src/icon/content/Mobile32.stories.tsx +1 -1
  1727. package/src/icon/content/Notifications32.stories.tsx +1 -1
  1728. package/src/icon/content/PlatformCam32.stories.tsx +1 -1
  1729. package/src/icon/content/PlatformSandbox32.stories.tsx +1 -1
  1730. package/src/icon/content/RetentionPolicyModifiable32.stories.tsx +1 -1
  1731. package/src/icon/content/RetentionPolicyNonModifiable32.stories.tsx +1 -1
  1732. package/src/icon/content/Security32.stories.tsx +1 -1
  1733. package/src/icon/content/SignRequest32.stories.tsx +1 -1
  1734. package/src/icon/content/UserSettings32.stories.tsx +1 -1
  1735. package/src/icon/content/Workflow32.stories.tsx +1 -1
  1736. package/src/icon/content/WorkflowTemplate32.stories.tsx +1 -1
  1737. package/src/icon/fill/Activity16.stories.tsx +1 -1
  1738. package/src/icon/fill/Activity20.stories.tsx +1 -1
  1739. package/src/icon/fill/Alert16.stories.tsx +1 -1
  1740. package/src/icon/fill/AlertBadge16.stories.tsx +1 -1
  1741. package/src/icon/fill/AnnotationsDrawing16.stories.tsx +1 -1
  1742. package/src/icon/fill/AnnotationsHighlight16.stories.tsx +1 -1
  1743. package/src/icon/fill/AnnotationsRegion16.stories.tsx +1 -1
  1744. package/src/icon/fill/Apps16.stories.tsx +1 -1
  1745. package/src/icon/fill/Arrow16.stories.tsx +1 -1
  1746. package/src/icon/fill/ArrowArcRight.stories.tsx +1 -1
  1747. package/src/icon/fill/ArrowForward16.stories.tsx +1 -1
  1748. package/src/icon/fill/ArrowSort16.stories.tsx +1 -1
  1749. package/src/icon/fill/AvatarBadge16.stories.tsx +1 -1
  1750. package/src/icon/fill/BarChart16.stories.tsx +1 -1
  1751. package/src/icon/fill/BoxDev16.stories.tsx +1 -1
  1752. package/src/icon/fill/BoxNotes16.stories.tsx +1 -1
  1753. package/src/icon/fill/Calendar16.stories.tsx +1 -1
  1754. package/src/icon/fill/Caret8.stories.tsx +1 -1
  1755. package/src/icon/fill/CaretBadge16.stories.tsx +1 -1
  1756. package/src/icon/fill/Checkmark16.stories.tsx +1 -1
  1757. package/src/icon/fill/CheckmarkBadge16.stories.tsx +1 -1
  1758. package/src/icon/fill/CircleBackButton24.stories.tsx +1 -1
  1759. package/src/icon/fill/CircleCloseButton24.stories.tsx +1 -1
  1760. package/src/icon/fill/Classify16.stories.tsx +1 -1
  1761. package/src/icon/fill/ClearBadge16.stories.tsx +1 -1
  1762. package/src/icon/fill/ClockBadge16.stories.tsx +1 -1
  1763. package/src/icon/fill/CloudUpload16.stories.tsx +1 -1
  1764. package/src/icon/fill/Code16.stories.tsx +1 -1
  1765. package/src/icon/fill/Collection16.stories.tsx +1 -1
  1766. package/src/icon/fill/CollectionBolt16.stories.tsx +1 -1
  1767. package/src/icon/fill/CollectionPlus16.stories.tsx +1 -1
  1768. package/src/icon/fill/CollectionStar16.stories.tsx +1 -1
  1769. package/src/icon/fill/CreditCard16.stories.tsx +1 -1
  1770. package/src/icon/fill/Download16.stories.tsx +1 -1
  1771. package/src/icon/fill/EmailNotification16.stories.tsx +1 -1
  1772. package/src/icon/fill/ExportArrow16.stories.tsx +1 -1
  1773. package/src/icon/fill/Feed16.stories.tsx +1 -1
  1774. package/src/icon/fill/FileAudio16.stories.tsx +1 -1
  1775. package/src/icon/fill/FileBookmark16.stories.tsx +1 -1
  1776. package/src/icon/fill/FileBoxNote16.stories.tsx +1 -1
  1777. package/src/icon/fill/FileCanvas16.stories.tsx +1 -1
  1778. package/src/icon/fill/FileCode16.stories.tsx +1 -1
  1779. package/src/icon/fill/FileCopy16.stories.tsx +1 -1
  1780. package/src/icon/fill/FileDefault16.stories.tsx +1 -1
  1781. package/src/icon/fill/FileDicom16.stories.tsx +1 -1
  1782. package/src/icon/fill/FileDocs16.stories.tsx +1 -1
  1783. package/src/icon/fill/FileDwg16.stories.tsx +1 -1
  1784. package/src/icon/fill/FileExcel16.stories.tsx +1 -1
  1785. package/src/icon/fill/FileIllustrator16.stories.tsx +1 -1
  1786. package/src/icon/fill/FileImage16.stories.tsx +1 -1
  1787. package/src/icon/fill/FileIndesign16.stories.tsx +1 -1
  1788. package/src/icon/fill/FileKeynote16.stories.tsx +1 -1
  1789. package/src/icon/fill/FileNumbers16.stories.tsx +1 -1
  1790. package/src/icon/fill/FilePages16.stories.tsx +1 -1
  1791. package/src/icon/fill/FilePdf16.stories.tsx +1 -1
  1792. package/src/icon/fill/FilePhotoshop16.stories.tsx +1 -1
  1793. package/src/icon/fill/FilePowerpoint16.stories.tsx +1 -1
  1794. package/src/icon/fill/FilePresentation16.stories.tsx +1 -1
  1795. package/src/icon/fill/FileSheets16.stories.tsx +1 -1
  1796. package/src/icon/fill/FileSlides16.stories.tsx +1 -1
  1797. package/src/icon/fill/FileSpreadsheet16.stories.tsx +1 -1
  1798. package/src/icon/fill/FileText16.stories.tsx +1 -1
  1799. package/src/icon/fill/FileThreeD16.stories.tsx +1 -1
  1800. package/src/icon/fill/FileVector16.stories.tsx +1 -1
  1801. package/src/icon/fill/FileVideo16.stories.tsx +1 -1
  1802. package/src/icon/fill/FileWord16.stories.tsx +1 -1
  1803. package/src/icon/fill/FileZip16.stories.tsx +1 -1
  1804. package/src/icon/fill/Filter16.stories.tsx +1 -1
  1805. package/src/icon/fill/Folder16.stories.tsx +1 -1
  1806. package/src/icon/fill/FolderExternal16.stories.tsx +1 -1
  1807. package/src/icon/fill/FolderPersonal16.stories.tsx +1 -1
  1808. package/src/icon/fill/FolderShared16.stories.tsx +1 -1
  1809. package/src/icon/fill/Gear16.stories.tsx +1 -1
  1810. package/src/icon/fill/GlobeBadge16.stories.tsx +1 -1
  1811. package/src/icon/fill/Hamburger20.stories.tsx +1 -1
  1812. package/src/icon/fill/Help20.stories.tsx +1 -1
  1813. package/src/icon/fill/InProgress16.stories.tsx +1 -1
  1814. package/src/icon/fill/Info16.stories.tsx +1 -1
  1815. package/src/icon/fill/InfoBadge16.stories.tsx +1 -1
  1816. package/src/icon/fill/LightningBolt16.stories.tsx +1 -1
  1817. package/src/icon/fill/Lock16.stories.tsx +1 -1
  1818. package/src/icon/fill/Megaphone20.stories.tsx +1 -1
  1819. package/src/icon/fill/Minus16.stories.tsx +1 -1
  1820. package/src/icon/fill/Move16.stories.tsx +1 -1
  1821. package/src/icon/fill/MoveCopy16.stories.tsx +1 -1
  1822. package/src/icon/fill/Overflow16.stories.tsx +1 -1
  1823. package/src/icon/fill/PaperAirplane16.stories.tsx +1 -1
  1824. package/src/icon/fill/Pencil16.stories.tsx +1 -1
  1825. package/src/icon/fill/Picture16.stories.tsx +1 -1
  1826. package/src/icon/fill/Plus16.stories.tsx +1 -1
  1827. package/src/icon/fill/PlusBadge16.stories.tsx +1 -1
  1828. package/src/icon/fill/PointerChevronDown24.stories.tsx +1 -1
  1829. package/src/icon/fill/Printer16.stories.tsx +1 -1
  1830. package/src/icon/fill/Relay16.stories.tsx +1 -1
  1831. package/src/icon/fill/RelayClassic16.stories.tsx +1 -1
  1832. package/src/icon/fill/Ribbon16.stories.tsx +1 -1
  1833. package/src/icon/fill/Scribble16.stories.tsx +1 -1
  1834. package/src/icon/fill/Search16.stories.tsx +1 -1
  1835. package/src/icon/fill/Sign16.stories.tsx +1 -1
  1836. package/src/icon/fill/SignFieldCheckBox16.stories.tsx +1 -1
  1837. package/src/icon/fill/SignFieldSignature16.stories.tsx +1 -1
  1838. package/src/icon/fill/SignFieldTextInput16.stories.tsx +1 -1
  1839. package/src/icon/fill/SignMe32.stories.tsx +1 -1
  1840. package/src/icon/fill/SignMeOthers32.stories.tsx +1 -1
  1841. package/src/icon/fill/SignOthers32.stories.tsx +1 -1
  1842. package/src/icon/fill/Skills16.stories.tsx +1 -1
  1843. package/src/icon/fill/Tag16.stories.tsx +1 -1
  1844. package/src/icon/fill/Task16.stories.tsx +1 -1
  1845. package/src/icon/fill/Trash16.stories.tsx +1 -1
  1846. package/src/icon/fill/TwoPeople16.stories.tsx +1 -1
  1847. package/src/icon/fill/Upload16.stories.tsx +1 -1
  1848. package/src/icon/fill/UserSettings16.stories.tsx +1 -1
  1849. package/src/icon/fill/Workflow16.stories.tsx +1 -1
  1850. package/src/icon/fill/X16.stories.tsx +1 -1
  1851. package/src/icon/line/AlarmClock16.stories.tsx +1 -1
  1852. package/src/icon/line/AlertBubble16.stories.tsx +1 -1
  1853. package/src/icon/line/Apps16.stories.tsx +1 -1
  1854. package/src/icon/line/ArrowBoxRight16.stories.tsx +1 -1
  1855. package/src/icon/line/Avatar16.stories.tsx +1 -1
  1856. package/src/icon/line/AvatarBadge16.stories.tsx +1 -1
  1857. package/src/icon/line/AvatarPlusBadge16.stories.tsx +1 -1
  1858. package/src/icon/line/AvatarXBadge16.stories.tsx +1 -1
  1859. package/src/icon/line/BoxAi.stories.tsx +1 -1
  1860. package/src/icon/line/BoxDev16.stories.tsx +1 -1
  1861. package/src/icon/line/Bug16.stories.tsx +1 -1
  1862. package/src/icon/line/Checkmark16.stories.tsx +1 -1
  1863. package/src/icon/line/CheckmarkBadge16.stories.tsx +1 -1
  1864. package/src/icon/line/CircleCheck16.stories.tsx +1 -1
  1865. package/src/icon/line/CircleX16.stories.tsx +1 -1
  1866. package/src/icon/line/ClassificationBadge16.stories.tsx +1 -1
  1867. package/src/icon/line/ClockArrow16.stories.tsx +1 -1
  1868. package/src/icon/line/ClockBadge16.stories.tsx +1 -1
  1869. package/src/icon/line/CloudWithArrow16.stories.tsx +1 -1
  1870. package/src/icon/line/CoAuthoringBadge16.stories.tsx +1 -1
  1871. package/src/icon/line/CoEdit16.stories.tsx +1 -1
  1872. package/src/icon/line/Collaborations16.stories.tsx +1 -1
  1873. package/src/icon/line/Collection16.stories.tsx +1 -1
  1874. package/src/icon/line/CollectionBolt16.stories.tsx +1 -1
  1875. package/src/icon/line/CollectionPlus16.stories.tsx +1 -1
  1876. package/src/icon/line/CollectionStar16.stories.tsx +1 -1
  1877. package/src/icon/line/CommentBubble16.stories.tsx +1 -1
  1878. package/src/icon/line/CrosshairRegion32.stories.tsx +1 -1
  1879. package/src/icon/line/DocInfo16.stories.tsx +1 -1
  1880. package/src/icon/line/Download16.stories.tsx +1 -1
  1881. package/src/icon/line/Email16.stories.tsx +1 -1
  1882. package/src/icon/line/EmailAddress16.stories.tsx +1 -1
  1883. package/src/icon/line/EnvelopeBadge16.stories.tsx +1 -1
  1884. package/src/icon/line/ExclamationMarkBadge16.stories.tsx +1 -1
  1885. package/src/icon/line/ExportArrow16.stories.tsx +1 -1
  1886. package/src/icon/line/FileDescription16.stories.tsx +1 -1
  1887. package/src/icon/line/Folder16.stories.tsx +1 -1
  1888. package/src/icon/line/Gear16.stories.tsx +1 -1
  1889. package/src/icon/line/GenericCopy16.stories.tsx +1 -1
  1890. package/src/icon/line/GlobeBadge16.stories.tsx +1 -1
  1891. package/src/icon/line/Help16.stories.tsx +1 -1
  1892. package/src/icon/line/Hidden16.stories.tsx +1 -1
  1893. package/src/icon/line/History16.stories.tsx +1 -1
  1894. package/src/icon/line/InfoBadge16.stories.tsx +1 -1
  1895. package/src/icon/line/Key16.stories.tsx +1 -1
  1896. package/src/icon/line/Link16.stories.tsx +1 -1
  1897. package/src/icon/line/LinkBadge16.stories.tsx +1 -1
  1898. package/src/icon/line/List16.stories.tsx +1 -1
  1899. package/src/icon/line/Lock16.stories.tsx +1 -1
  1900. package/src/icon/line/LockBadge16.stories.tsx +1 -1
  1901. package/src/icon/line/MetadataBadge16.stories.tsx +1 -1
  1902. package/src/icon/line/MoveCopy16.stories.tsx +1 -1
  1903. package/src/icon/line/Pencil16.stories.tsx +1 -1
  1904. package/src/icon/line/PencilBadge16.stories.tsx +1 -1
  1905. package/src/icon/line/Plane16.stories.tsx +1 -1
  1906. package/src/icon/line/Plus16.stories.tsx +1 -1
  1907. package/src/icon/line/Power16.stories.tsx +1 -1
  1908. package/src/icon/line/Question16.stories.tsx +1 -1
  1909. package/src/icon/line/Redo16.stories.tsx +1 -1
  1910. package/src/icon/line/Relay16.stories.tsx +1 -1
  1911. package/src/icon/line/Report16.stories.tsx +1 -1
  1912. package/src/icon/line/Retry16.stories.tsx +1 -1
  1913. package/src/icon/line/Rocket16.stories.tsx +1 -1
  1914. package/src/icon/line/RotatingArrows16.stories.tsx +1 -1
  1915. package/src/icon/line/Sharrow16.stories.tsx +1 -1
  1916. package/src/icon/line/Shield16.stories.tsx +1 -1
  1917. package/src/icon/line/Sign16.stories.tsx +1 -1
  1918. package/src/icon/line/SignTinycon16.stories.tsx +1 -1
  1919. package/src/icon/line/Star16.stories.tsx +1 -1
  1920. package/src/icon/line/SyncArrows16.stories.tsx +1 -1
  1921. package/src/icon/line/Template16.stories.tsx +1 -1
  1922. package/src/icon/line/TextLeft16.stories.tsx +1 -1
  1923. package/src/icon/line/Tool16.stories.tsx +1 -1
  1924. package/src/icon/line/Trash16.stories.tsx +1 -1
  1925. package/src/icon/line/TriangleAlert16.stories.tsx +1 -1
  1926. package/src/icon/line/Undo16.stories.tsx +1 -1
  1927. package/src/icon/line/Unlock16.stories.tsx +1 -1
  1928. package/src/icon/line/Upload16.stories.tsx +1 -1
  1929. package/src/icon/line/Video16.stories.tsx +1 -1
  1930. package/src/icon/line/View16.stories.tsx +1 -1
  1931. package/src/icon/line/XBadge16.stories.tsx +1 -1
  1932. package/src/icon/logo/AccountBilling32.stories.tsx +1 -1
  1933. package/src/icon/logo/AdminFaq32.stories.tsx +1 -1
  1934. package/src/icon/logo/AdminReferences32.stories.tsx +1 -1
  1935. package/src/icon/logo/AdobeAcrobat32.stories.tsx +1 -1
  1936. package/src/icon/logo/Apps32.stories.tsx +1 -1
  1937. package/src/icon/logo/BoxAiLogo.stories.tsx +1 -1
  1938. package/src/icon/logo/BoxLogo.stories.tsx +1 -1
  1939. package/src/icon/logo/BoxSign28.stories.tsx +1 -1
  1940. package/src/icon/logo/BoxSign32.stories.tsx +1 -1
  1941. package/src/icon/logo/ContentSharing32.stories.tsx +1 -1
  1942. package/src/icon/logo/CustomSetup32.stories.tsx +1 -1
  1943. package/src/icon/logo/DeviceTrust32.stories.tsx +1 -1
  1944. package/src/icon/logo/HelpArticle32.stories.tsx +1 -1
  1945. package/src/icon/logo/HowToGuides32.stories.tsx +1 -1
  1946. package/src/icon/logo/IconBoxApp512.stories.tsx +1 -1
  1947. package/src/icon/logo/KeynoteForMac32.stories.tsx +1 -1
  1948. package/src/icon/logo/ManageContent32.stories.tsx +1 -1
  1949. package/src/icon/logo/ManageUsers32.stories.tsx +1 -1
  1950. package/src/icon/logo/Mobile32.stories.tsx +1 -1
  1951. package/src/icon/logo/Notifications32.stories.tsx +1 -1
  1952. package/src/icon/logo/NumbersForMac32.stories.tsx +1 -1
  1953. package/src/icon/logo/PagesForMac32.stories.tsx +1 -1
  1954. package/src/icon/logo/Reporting32.stories.tsx +1 -1
  1955. package/src/icon/logo/Security32.stories.tsx +1 -1
  1956. package/src/icon/logo/TroubleShootingTools32.stories.tsx +1 -1
  1957. package/src/icon/logo/UserSettings32.stories.tsx +1 -1
  1958. package/src/icons/collections/IconCollections.stories.tsx +1 -1
  1959. package/src/icons/collections/IconCollectionsAdd.stories.tsx +1 -1
  1960. package/src/icons/collections/IconCollectionsBolt.stories.tsx +1 -1
  1961. package/src/icons/collections/IconCollectionsFilled.stories.tsx +1 -1
  1962. package/src/icons/collections/IconCollectionsStar.stories.tsx +1 -1
  1963. package/src/icons/collections/IconCollectionsStarFilled.stories.tsx +1 -1
  1964. package/src/icons/collections/collections.stories.tsx +1 -1
  1965. package/src/icons/icons.stories.tsx +1 -1
  1966. package/src/icons/illustrations/__tests__/__snapshots__/PeopleOpeningEnvelopeIllustration.test.tsx.snap +6 -6
  1967. package/src/icons/states/__tests__/__snapshots__/EnvelopeTrophyState.test.tsx.snap +6 -6
  1968. package/src/icons/two-toned/IconAnnotation.tsx +1 -1
  1969. package/src/illustration/AllNewBox140.stories.tsx +1 -1
  1970. package/src/illustration/AppSupport140.stories.tsx +1 -1
  1971. package/src/illustration/Bell140.stories.tsx +1 -1
  1972. package/src/illustration/BoxDrive140.stories.tsx +1 -1
  1973. package/src/illustration/BoxMobile140.stories.tsx +1 -1
  1974. package/src/illustration/BudgetApproval56.stories.tsx +1 -1
  1975. package/src/illustration/Certificate56.stories.tsx +1 -1
  1976. package/src/illustration/CertificateSigning56.stories.tsx +1 -1
  1977. package/src/illustration/ChangeOrder56.stories.tsx +1 -1
  1978. package/src/illustration/Clock140.stories.tsx +1 -1
  1979. package/src/illustration/CollectionStar140.stories.tsx +1 -1
  1980. package/src/illustration/ContractorId56.stories.tsx +1 -1
  1981. package/src/illustration/CreativeApproval56.stories.tsx +1 -1
  1982. package/src/illustration/CreativeAssets56.stories.tsx +1 -1
  1983. package/src/illustration/CustomApp56.stories.tsx +1 -1
  1984. package/src/illustration/CustomSkill56.stories.tsx +1 -1
  1985. package/src/illustration/CustomTemplate56.stories.tsx +1 -1
  1986. package/src/illustration/CustomerSupport140.stories.tsx +1 -1
  1987. package/src/illustration/DiscoDanceParty140.stories.tsx +1 -1
  1988. package/src/illustration/Discount140.stories.tsx +1 -1
  1989. package/src/illustration/EmailVerification140.stories.tsx +1 -1
  1990. package/src/illustration/EmployeeId56.stories.tsx +1 -1
  1991. package/src/illustration/EmployeeReview56.stories.tsx +1 -1
  1992. package/src/illustration/EmptyStateDetails.stories.tsx +1 -1
  1993. package/src/illustration/EmptyStateFolder140.stories.tsx +1 -1
  1994. package/src/illustration/EmptyStatePreviewActivity140.stories.tsx +1 -1
  1995. package/src/illustration/Envelope140.stories.tsx +1 -1
  1996. package/src/illustration/ErrorState404140.stories.tsx +1 -1
  1997. package/src/illustration/Files.stories.tsx +1 -1
  1998. package/src/illustration/Files140.stories.tsx +1 -1
  1999. package/src/illustration/FinanceContract56.stories.tsx +1 -1
  2000. package/src/illustration/FolderArrow140.stories.tsx +1 -1
  2001. package/src/illustration/FolderFloat140.stories.tsx +1 -1
  2002. package/src/illustration/FolderPlane140.stories.tsx +1 -1
  2003. package/src/illustration/FolderStar140.stories.tsx +1 -1
  2004. package/src/illustration/Gavel56.stories.tsx +1 -1
  2005. package/src/illustration/Handshake56.stories.tsx +1 -1
  2006. package/src/illustration/HandshakeAgreement56.stories.tsx +1 -1
  2007. package/src/illustration/HatWand140.stories.tsx +1 -1
  2008. package/src/illustration/Keynote56.stories.tsx +1 -1
  2009. package/src/illustration/LegalContract56.stories.tsx +1 -1
  2010. package/src/illustration/LegalFolder56.stories.tsx +1 -1
  2011. package/src/illustration/LimitedApp56.stories.tsx +1 -1
  2012. package/src/illustration/MarketingPlan56.stories.tsx +1 -1
  2013. package/src/illustration/Megaphone140.stories.tsx +1 -1
  2014. package/src/illustration/MetricsReview56.stories.tsx +1 -1
  2015. package/src/illustration/Microphone140.stories.tsx +1 -1
  2016. package/src/illustration/Missing140.stories.tsx +1 -1
  2017. package/src/illustration/MoneyStack56.stories.tsx +1 -1
  2018. package/src/illustration/MonthlyReport56.stories.tsx +1 -1
  2019. package/src/illustration/NotesStar140.stories.tsx +1 -1
  2020. package/src/illustration/PlanSelection140.stories.tsx +1 -1
  2021. package/src/illustration/Playbook56.stories.tsx +1 -1
  2022. package/src/illustration/ProjectFolder56.stories.tsx +1 -1
  2023. package/src/illustration/RecentFiles140.stories.tsx +1 -1
  2024. package/src/illustration/RelayPlanet140.stories.tsx +1 -1
  2025. package/src/illustration/SalesContract56.stories.tsx +1 -1
  2026. package/src/illustration/Sandbox140.stories.tsx +1 -1
  2027. package/src/illustration/TaskList56.stories.tsx +1 -1
  2028. package/src/illustration/Transfers140.stories.tsx +1 -1
  2029. package/src/illustration/TrashEmpty140.stories.tsx +1 -1
  2030. package/src/illustration/Unplugged140.stories.tsx +1 -1
  2031. package/src/illustration/UploadCloud140.stories.tsx +1 -1
  2032. package/src/illustration/UserOrbit56.stories.tsx +1 -1
  2033. package/src/styles/colors.stories.tsx +1 -1
  2034. package/src/styles/common/_buttons.scss +1 -1
  2035. package/src/styles/constants/_buttons.scss +1 -0
  2036. package/src/styles/typography.stories.tsx +1 -1
  2037. package/src/utils/Browser.js +10 -0
  2038. package/src/utils/__tests__/Browser.test.js +28 -0
  2039. package/src/utils/__tests__/__snapshots__/createTheme.test.js.snap +35 -35
  2040. package/src/utils/__tests__/fields.test.js +2 -0
  2041. package/src/utils/__tests__/webcrypto.test.js +10 -0
  2042. package/src/utils/comparator.js +1 -1
  2043. package/src/utils/createTheme.stories.js +1 -1
  2044. package/src/utils/fields.js +3 -0
  2045. package/src/utils/flatten.js +6 -1
  2046. package/src/utils/size.js +5 -5
  2047. package/src/utils/sorter.js +1 -1
@@ -1,6 +1,6 @@
1
1
  import { AccessorFunction, Direction } from '../types';
2
2
  import './BarChart.scss';
3
- declare type ValueAccessor = string | AccessorFunction;
3
+ type ValueAccessor = string | AccessorFunction;
4
4
  interface OffsetPosition {
5
5
  left: number;
6
6
  top: number;
@@ -1,2 +1,2 @@
1
- export declare type AccessorFunction = (datum: any) => number;
2
- export declare type Direction = 'horizontal' | 'vertical';
1
+ export type AccessorFunction = (datum: any) => number;
2
+ export type Direction = 'horizontal' | 'vertical';
@@ -1,27 +1,39 @@
1
1
  export declare const METRIC: Readonly<{
2
- DOWNLOADS: string;
3
- PREVIEWS: string;
4
- USERS: string;
2
+ DOWNLOADS: "DOWNLOADS";
3
+ PREVIEWS: "PREVIEWS";
4
+ USERS: "USERS";
5
5
  }>;
6
6
  export declare const PERIOD: Readonly<{
7
- WEEK: string;
8
- MONTH: string;
9
- THREEMONTHS: string;
10
- YEAR: string;
7
+ WEEK: "week";
8
+ MONTH: "month";
9
+ THREEMONTHS: "threemonths";
10
+ YEAR: "year";
11
11
  }>;
12
12
  export declare const PRESET_TIMES: Readonly<{
13
- ONE_WEEK: string;
14
- TWO_WEEKS: string;
15
- ONE_MONTH: string;
16
- TWO_MONTHS: string;
17
- THREE_MONTHS: string;
18
- SIX_MONTHS: string;
19
- ONE_YEAR: string;
20
- TWO_YEARS: string;
13
+ ONE_WEEK: "one_week";
14
+ TWO_WEEKS: "two_weeks";
15
+ ONE_MONTH: "one_month";
16
+ TWO_MONTHS: "two_months";
17
+ THREE_MONTHS: "three_months";
18
+ SIX_MONTHS: "six_months";
19
+ ONE_YEAR: "one_year";
20
+ TWO_YEARS: "two_years";
21
21
  }>;
22
22
  export declare const PRESET_TO_TIMESTAMPS_MAP: {
23
- readonly [x: string]: {
24
- readonly currentPeriod: string;
25
- readonly previousPeriod: string;
23
+ readonly week: {
24
+ readonly currentPeriod: "one_week";
25
+ readonly previousPeriod: "two_weeks";
26
+ };
27
+ readonly month: {
28
+ readonly currentPeriod: "one_month";
29
+ readonly previousPeriod: "two_months";
30
+ };
31
+ readonly threemonths: {
32
+ readonly currentPeriod: "three_months";
33
+ readonly previousPeriod: "six_months";
34
+ };
35
+ readonly year: {
36
+ readonly currentPeriod: "one_year";
37
+ readonly previousPeriod: "two_years";
26
38
  };
27
39
  };
@@ -1,21 +1,21 @@
1
1
  import { METRIC, PERIOD, PRESET_TIMES } from './constants';
2
- export declare type Metric = typeof METRIC[keyof typeof METRIC];
3
- export declare type Period = typeof PERIOD[keyof typeof PERIOD];
4
- export declare type PresetTimes = typeof PRESET_TIMES[keyof typeof PRESET_TIMES];
5
- export declare type TimeRangeType = 'day' | 'week' | 'month';
6
- export declare type TimeRange = {
2
+ export type Metric = typeof METRIC[keyof typeof METRIC];
3
+ export type Period = typeof PERIOD[keyof typeof PERIOD];
4
+ export type PresetTimes = typeof PRESET_TIMES[keyof typeof PRESET_TIMES];
5
+ export type TimeRangeType = 'day' | 'week' | 'month';
6
+ export type TimeRange = {
7
7
  end: number;
8
8
  start: number;
9
9
  type: TimeRangeType;
10
10
  };
11
- export declare type MetricsData = {
11
+ export type MetricsData = {
12
12
  downloadsCount: number;
13
13
  previewsCount: number;
14
14
  users: Set<string>;
15
15
  };
16
- export declare type GraphDatum = TimeRange & MetricsData;
17
- export declare type GraphData = Array<GraphDatum>;
18
- export declare type ResponseError = Error & {
16
+ export type GraphDatum = TimeRange & MetricsData;
17
+ export type GraphData = Array<GraphDatum>;
18
+ export type ResponseError = Error & {
19
19
  data?: string;
20
20
  detail?: string;
21
21
  errorCode?: string;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import './PresenceAvatarList.scss';
3
- export declare type Collaborator = {
3
+ export type Collaborator = {
4
4
  avatarUrl?: string;
5
5
  id: string;
6
6
  isActive: boolean;
@@ -9,7 +9,7 @@ export declare type Collaborator = {
9
9
  name: string;
10
10
  profileUrl?: string;
11
11
  };
12
- export declare type Props = {
12
+ export type Props = {
13
13
  avatarAttributes?: React.HTMLAttributes<HTMLDivElement>;
14
14
  className?: string;
15
15
  collaborators: Array<Collaborator>;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { WrappedComponentProps } from 'react-intl';
3
3
  import './PresenceAvatarTooltipContent.scss';
4
- export declare type Props = {
4
+ export type Props = {
5
5
  name: string;
6
6
  interactedAt: number;
7
7
  interactionType: string;
@@ -9,7 +9,19 @@ export declare type Props = {
9
9
  } & WrappedComponentProps;
10
10
  declare function PresenceAvatarTooltipContent({ name, interactedAt, interactionType, intl, isActive }: Props): JSX.Element;
11
11
  export { PresenceAvatarTooltipContent as PresenceAvatarTooltipContentComponent };
12
- declare const _default: React.FC<import("react-intl").WithIntlProps<Props>> & {
13
- WrappedComponent: React.ComponentType<Props>;
12
+ declare const _default: React.ForwardRefExoticComponent<import("react-intl").Omit<{
13
+ name: string;
14
+ interactedAt: number;
15
+ interactionType: string;
16
+ isActive?: boolean | undefined;
17
+ } & WrappedComponentProps, "intl"> & {
18
+ forwardedRef?: React.Ref<any> | undefined;
19
+ } & React.RefAttributes<any>> & {
20
+ WrappedComponent: React.ComponentType<{
21
+ name: string;
22
+ interactedAt: number;
23
+ interactionType: string;
24
+ isActive?: boolean | undefined;
25
+ } & WrappedComponentProps>;
14
26
  };
15
27
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import './SandboxBanner.scss';
3
- declare type Props = {
3
+ type Props = {
4
4
  children: React.ReactChild;
5
5
  };
6
6
  declare const SandboxBanner: ({ children }: Props) => JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { Icon } from '../iconTypes';
3
- declare type Props = Icon & {
3
+ type Props = Icon & {
4
4
  baseClassName: string;
5
5
  children: React.ReactChild | Array<React.ReactChild>;
6
6
  };
@@ -121,7 +121,7 @@ const allColors = () => React.createElement("div", {
121
121
 
122
122
  export { allColors };
123
123
  export default {
124
- title: 'Theming|Colors',
124
+ title: 'Theming/Colors',
125
125
  parameters: {
126
126
  notes: mdNotes
127
127
  }
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/styles/colors.stories.tsx"],"names":["React","Color","variables","mdNotes","bdlColors","WCAG_AA","isPaletteColor","hex","key","startsWith","includes","Object","keys","forEach","colorKey","colorHex","Array","isArray","paletteGroup","match","join","color","scssVariableName","contrastRatio","contrast","push","wrapper","display","flexDirection","flexWrap","palette","swatchContainer","alignItems","swatch","borderRadius","height","width","label","margin","LabelCell","props","minWidth","children","Swatch","backgroundColor","toLowerCase","toFixed","allColors","entries","sort","A","B","a","b","hsl","object","h","rgbNumber","map","name","colors","title","parameters","notes"],"mappings":";;;;;;AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,OAAOC,KAAP,MAAkB,OAAlB;AACA,OAAO,KAAKC,SAAZ,MAA2B,aAA3B;AACA,OAAOC,OAAP,MAAoB,aAApB;AAIA,MAAMC,SAA0C,GAAG,EAAnD;AAEA,MAAMC,OAAO,GAAG,GAAhB,C,CAAqB;;AAErB,MAAMC,cAAc,GAAG,CAACC,GAAD,EAAcC,GAAd,KAA8B;AACjD,SAAOA,GAAG,CAACC,UAAJ,CAAe,KAAf,KAAyB,CAACD,GAAG,CAACE,QAAJ,CAAa,SAAb,CAA1B,IAAqDF,GAAG,KAAK,kBAA7D,IAAmFD,GAAG,CAACE,UAAJ,CAAe,GAAf,CAA1F;AACH,CAFD;;AAIAE,MAAM,CAACC,IAAP,CAAYV,SAAZ,EAAuBW,OAAvB,CAA+BC,QAAQ,IAAI;AACvC,QAAMC,QAAQ,GAAIb,SAAD,CAAuDY,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;AAqCA,SAAS0B,SAAT;AAEA,eAAe;AACXc,EAAAA,KAAK,EAAE,gBADI;AAEXC,EAAAA,UAAU,EAAE;AACRC,IAAAA,KAAK,EAAE5D;AADC;AAFD,CAAf","sourcesContent":["import * as React from 'react';\nimport Color from 'color';\nimport * as variables from './variables';\nimport mdNotes from './colors.md';\n\ntype TSwatch = { scssVariableName: string; colorHex: string; colorKey: string; contrastRatio: number };\n\nconst bdlColors: { [k: string]: Array<TSwatch> } = {};\n\nconst WCAG_AA = 4.5; // minimum contrast ratio for text\n\nconst isPaletteColor = (hex: string, key: string) => {\n return key.startsWith('bdl') && !key.includes('Neutral') && key !== 'bdlSecondaryBlue' && hex.startsWith('#');\n};\n\nObject.keys(variables).forEach(colorKey => {\n const colorHex = (variables as { [k: string]: string | Array<string> })[colorKey];\n if (Array.isArray(colorHex)) return;\n if (isPaletteColor(colorHex, colorKey)) {\n const paletteGroup = (colorKey.match(/[A-Z][a-z]+/g) as Array<string>).join(' ');\n\n if (!bdlColors[paletteGroup]) {\n bdlColors[paletteGroup] = [];\n }\n\n const color = Color(colorHex);\n const scssVariableName = (colorKey.match(/(bdl)|([A-Z][a-z]+)|(\\d+)/g) as Array<string>).join('-');\n const contrastRatio = color.contrast(Color('#fff'));\n\n bdlColors[paletteGroup].push({ scssVariableName, colorHex, colorKey, contrastRatio });\n }\n});\n\nconst wrapper: React.CSSProperties = {\n display: 'flex',\n flexDirection: 'row',\n flexWrap: 'wrap',\n};\n\nconst palette: React.CSSProperties = {};\n\nconst swatchContainer: React.CSSProperties = {\n display: 'flex',\n alignItems: 'center',\n};\n\nconst swatch: React.CSSProperties = {\n borderRadius: '4px',\n height: '40px',\n width: '200px',\n display: 'inline-block',\n};\n\nconst label: React.CSSProperties = {\n margin: '0 8px 0 16px',\n};\n\nconst LabelCell = (props: { children: React.ReactNode }) => <td style={{ minWidth: 240 }}>{props.children}</td>;\n\nconst Swatch = ({ color }: { color: TSwatch }) => (\n <div style={swatchContainer}>\n <span style={{ ...swatch, backgroundColor: color.colorHex }} />\n <table style={label}>\n <tr>\n <LabelCell>\n <strong>SCSS:</strong> <code>${color.scssVariableName.toLowerCase()}</code>\n </LabelCell>\n <LabelCell>\n <strong title=\"WCAG contrast ratio against white background\">WCAG:</strong>{' '}\n <code>{color.contrastRatio.toFixed(2)}</code>{' '}\n {color.contrastRatio > WCAG_AA ? '(AA ✔︎)' : <s>(AA)</s>}\n </LabelCell>\n </tr>\n <tr>\n <LabelCell>\n <strong>JS:</strong> <code>{color.colorKey}</code>\n </LabelCell>\n <LabelCell>\n <strong>Hex:</strong> <code>{color.colorHex}</code>\n </LabelCell>\n </tr>\n </table>\n </div>\n);\n\nconst allColors = () => (\n <div style={wrapper}>\n <div>\n <h4>Base</h4>\n <div style={palette}>\n <Swatch\n key=\"black\"\n color={{ scssVariableName: 'black', colorHex: '#000000', colorKey: 'black', contrastRatio: 100 }}\n />\n <Swatch\n key=\"white\"\n color={{ scssVariableName: 'white', colorHex: '#ffffff', colorKey: 'white', contrastRatio: 0 }}\n />\n </div>\n </div>\n {Object.entries(bdlColors)\n .sort((A, B) => {\n // Sort the palette by grayness (hue/saturation = 0) and then by color\n const a = Color(A[1][0].colorHex);\n const b = Color(B[1][0].colorHex);\n if (a.hsl().object().h === 0) return -1;\n if (b.hsl().object().h === 0) return 1;\n return a.rgbNumber() - b.rgbNumber();\n })\n .map(([name, colors]) => (\n <div key={name}>\n <h4>{name}</h4>\n <div style={palette}>\n {colors.map(color => (\n <Swatch key={color.colorKey} color={color} />\n ))}\n </div>\n </div>\n ))}\n </div>\n);\n\nexport { allColors };\n\nexport default {\n title: 'Theming|Colors',\n parameters: {\n notes: mdNotes,\n },\n};\n"],"file":"colors.stories.js"}
1
+ {"version":3,"sources":["../../src/styles/colors.stories.tsx"],"names":["React","Color","variables","mdNotes","bdlColors","WCAG_AA","isPaletteColor","hex","key","startsWith","includes","Object","keys","forEach","colorKey","colorHex","Array","isArray","paletteGroup","match","join","color","scssVariableName","contrastRatio","contrast","push","wrapper","display","flexDirection","flexWrap","palette","swatchContainer","alignItems","swatch","borderRadius","height","width","label","margin","LabelCell","props","minWidth","children","Swatch","backgroundColor","toLowerCase","toFixed","allColors","entries","sort","A","B","a","b","hsl","object","h","rgbNumber","map","name","colors","title","parameters","notes"],"mappings":";;;;;;AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,OAAOC,KAAP,MAAkB,OAAlB;AACA,OAAO,KAAKC,SAAZ,MAA2B,aAA3B;AACA,OAAOC,OAAP,MAAoB,aAApB;AAIA,MAAMC,SAA0C,GAAG,EAAnD;AAEA,MAAMC,OAAO,GAAG,GAAhB,C,CAAqB;;AAErB,MAAMC,cAAc,GAAG,CAACC,GAAD,EAAcC,GAAd,KAA8B;AACjD,SAAOA,GAAG,CAACC,UAAJ,CAAe,KAAf,KAAyB,CAACD,GAAG,CAACE,QAAJ,CAAa,SAAb,CAA1B,IAAqDF,GAAG,KAAK,kBAA7D,IAAmFD,GAAG,CAACE,UAAJ,CAAe,GAAf,CAA1F;AACH,CAFD;;AAIAE,MAAM,CAACC,IAAP,CAAYV,SAAZ,EAAuBW,OAAvB,CAA+BC,QAAQ,IAAI;AACvC,QAAMC,QAAQ,GAAIb,SAAD,CAAuDY,QAAvD,CAAjB;AACA,MAAIE,KAAK,CAACC,OAAN,CAAcF,QAAd,CAAJ,EAA6B;;AAC7B,MAAIT,cAAc,CAACS,QAAD,EAAWD,QAAX,CAAlB,EAAwC;AACpC,UAAMI,YAAY,GAAIJ,QAAQ,CAACK,KAAT,CAAe,cAAf,CAAD,CAAkDC,IAAlD,CAAuD,GAAvD,CAArB;;AAEA,QAAI,CAAChB,SAAS,CAACc,YAAD,CAAd,EAA8B;AAC1Bd,MAAAA,SAAS,CAACc,YAAD,CAAT,GAA0B,EAA1B;AACH;;AAED,UAAMG,KAAK,GAAGpB,KAAK,CAACc,QAAD,CAAnB;AACA,UAAMO,gBAAgB,GAAIR,QAAQ,CAACK,KAAT,CAAe,4BA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CAAC,CAAC,CAAD,CAAD,CAAK,CAAL,EAAQnC,QAAT,CAAf;AACA,QAAMsC,CAAC,GAAGpD,KAAK,CAACkD,CAAC,CAAC,CAAD,CAAD,CAAK,CAAL,EAAQpC,QAAT,CAAf;AACA,MAAIqC,CAAC,CAACE,GAAF,GAAQC,MAAR,GAAiBC,CAAjB,KAAuB,CAA3B,EAA8B,OAAO,CAAC,CAAR;AAC9B,MAAIH,CAAC,CAACC,GAAF,GAAQC,MAAR,GAAiBC,CAAjB,KAAuB,CAA3B,EAA8B,OAAO,CAAP;AAC9B,SAAOJ,CAAC,CAACK,SAAF,KAAgBJ,CAAC,CAACI,SAAF,EAAvB;AACH,CARJ,EASIC,GATJ,CASQ;AAAA,MAAC,CAACC,IAAD,EAAOC,MAAP,CAAD;AAAA,SACD;AAAK,IAAA,GAAG,EAAED;AAAV,KACI,gCAAKA,IAAL,CADJ,EAEI;AAAK,IAAA,KAAK,EAAE7B;AAAZ,KACK8B,MAAM,CAACF,GAAP,CAAWrC,KAAK,IACb,oBAAC,MAAD;AAAQ,IAAA,GAAG,EAAEA,KAAK,CAACP,QAAnB;AAA6B,IAAA,KAAK,EAAEO;AAApC,IADH,CADL,CAFJ,CADC;AAAA,CATR,CAdL,CADJ;;AAqCA,SAAS0B,SAAT;AAEA,eAAe;AACXc,EAAAA,KAAK,EAAE,gBADI;AAEXC,EAAAA,UAAU,EAAE;AACRC,IAAAA,KAAK,EAAE5D;AADC;AAFD,CAAf","sourcesContent":["import * as React from 'react';\nimport Color from 'color';\nimport * as variables from './variables';\nimport mdNotes from './colors.md';\n\ntype TSwatch = { scssVariableName: string; colorHex: string; colorKey: string; contrastRatio: number };\n\nconst bdlColors: { [k: string]: Array<TSwatch> } = {};\n\nconst WCAG_AA = 4.5; // minimum contrast ratio for text\n\nconst isPaletteColor = (hex: string, key: string) => {\n return key.startsWith('bdl') && !key.includes('Neutral') && key !== 'bdlSecondaryBlue' && hex.startsWith('#');\n};\n\nObject.keys(variables).forEach(colorKey => {\n const colorHex = (variables as { [k: string]: string | Array<string> })[colorKey];\n if (Array.isArray(colorHex)) return;\n if (isPaletteColor(colorHex, colorKey)) {\n const paletteGroup = (colorKey.match(/[A-Z][a-z]+/g) as Array<string>).join(' ');\n\n if (!bdlColors[paletteGroup]) {\n bdlColors[paletteGroup] = [];\n }\n\n const color = Color(colorHex);\n const scssVariableName = (colorKey.match(/(bdl)|([A-Z][a-z]+)|(\\d+)/g) as Array<string>).join('-');\n const contrastRatio = color.contrast(Color('#fff'));\n\n bdlColors[paletteGroup].push({ scssVariableName, colorHex, colorKey, contrastRatio });\n }\n});\n\nconst wrapper: React.CSSProperties = {\n display: 'flex',\n flexDirection: 'row',\n flexWrap: 'wrap',\n};\n\nconst palette: React.CSSProperties = {};\n\nconst swatchContainer: React.CSSProperties = {\n display: 'flex',\n alignItems: 'center',\n};\n\nconst swatch: React.CSSProperties = {\n borderRadius: '4px',\n height: '40px',\n width: '200px',\n display: 'inline-block',\n};\n\nconst label: React.CSSProperties = {\n margin: '0 8px 0 16px',\n};\n\nconst LabelCell = (props: { children: React.ReactNode }) => <td style={{ minWidth: 240 }}>{props.children}</td>;\n\nconst Swatch = ({ color }: { color: TSwatch }) => (\n <div style={swatchContainer}>\n <span style={{ ...swatch, backgroundColor: color.colorHex }} />\n <table style={label}>\n <tr>\n <LabelCell>\n <strong>SCSS:</strong> <code>${color.scssVariableName.toLowerCase()}</code>\n </LabelCell>\n <LabelCell>\n <strong title=\"WCAG contrast ratio against white background\">WCAG:</strong>{' '}\n <code>{color.contrastRatio.toFixed(2)}</code>{' '}\n {color.contrastRatio > WCAG_AA ? '(AA ✔︎)' : <s>(AA)</s>}\n </LabelCell>\n </tr>\n <tr>\n <LabelCell>\n <strong>JS:</strong> <code>{color.colorKey}</code>\n </LabelCell>\n <LabelCell>\n <strong>Hex:</strong> <code>{color.colorHex}</code>\n </LabelCell>\n </tr>\n </table>\n </div>\n);\n\nconst allColors = () => (\n <div style={wrapper}>\n <div>\n <h4>Base</h4>\n <div style={palette}>\n <Swatch\n key=\"black\"\n color={{ scssVariableName: 'black', colorHex: '#000000', colorKey: 'black', contrastRatio: 100 }}\n />\n <Swatch\n key=\"white\"\n color={{ scssVariableName: 'white', colorHex: '#ffffff', colorKey: 'white', contrastRatio: 0 }}\n />\n </div>\n </div>\n {Object.entries(bdlColors)\n .sort((A, B) => {\n // Sort the palette by grayness (hue/saturation = 0) and then by color\n const a = Color(A[1][0].colorHex);\n const b = Color(B[1][0].colorHex);\n if (a.hsl().object().h === 0) return -1;\n if (b.hsl().object().h === 0) return 1;\n return a.rgbNumber() - b.rgbNumber();\n })\n .map(([name, colors]) => (\n <div key={name}>\n <h4>{name}</h4>\n <div style={palette}>\n {colors.map(color => (\n <Swatch key={color.colorKey} color={color} />\n ))}\n </div>\n </div>\n ))}\n </div>\n);\n\nexport { allColors };\n\nexport default {\n title: 'Theming/Colors',\n parameters: {\n notes: mdNotes,\n },\n};\n"],"file":"colors.stories.js"}
@@ -176,7 +176,7 @@ button svg {
176
176
  &:focus {
177
177
  background-color: lighten($primary-color, 8%);
178
178
  border: $bdl-btn-border-width solid $primary-color;
179
- box-shadow: inset 0 0 0 1px fade-out($white, .2), 0 1px 2px fade-out($black, .9);
179
+ box-shadow: $bdl-btn-primary-box-shadow;
180
180
  }
181
181
 
182
182
  &:hover {
@@ -4,3 +4,4 @@ $bdl-btn-height-large: 40px;
4
4
  $bdl-btn-icon-size: 20px;
5
5
  $bdl-btn-text-icon-size: 16px;
6
6
  $bdl-btn-padding-horizontal: $bdl-grid-unit * 4;
7
+ $bdl-btn-primary-box-shadow: inset 0 0 0 1px fade-out($white, .2), 0 1px 2px fade-out($black, .9);
@@ -44,6 +44,6 @@ export const text = () => React.createElement("div", {
44
44
  className: "input-text"
45
45
  }, "Project Symphony")));
46
46
  export default {
47
- title: 'Theming|Typography'
47
+ title: 'Theming/Typography'
48
48
  };
49
49
  //# sourceMappingURL=typography.stories.js.map
@@ -1 +1 @@
1
- {"version":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,EASI,iCACI,gDADJ,EAEI;AAAM,EAAA,SAAS,EAAC;AAAhB,sBAFJ,CATJ,CADG;AAiBP,eAAe;AACXC,EAAAA,KAAK,EAAE;AADI,CAAf","sourcesContent":["import * as React from 'react';\nimport './typography.stories.scss';\n\nexport const lato = () => (\n <div className=\"typography\">\n <div className=\"heading\">\n <h1>Lato 2.0</h1>\n </div>\n <div className=\"weights\">\n <div className=\"regular\">\n <div className=\"preview\">Aa</div>\n <div className=\"weight\">Regular</div>\n </div>\n <div className=\"bold\">\n <div className=\"preview\">Aa</div>\n <div className=\"weight\">Bold</div>\n </div>\n </div>\n </div>\n);\n\nexport const heading = () => (\n <div className=\"typography\">\n <div className=\"heading\">\n <label>H1</label>\n <h1>Project Symphony</h1>\n </div>\n <div className=\"heading\">\n <label>H2</label>\n <h2>Project Symphony</h2>\n </div>\n <div className=\"heading\">\n <label>H3</label>\n <h3>Project Symphony</h3>\n </div>\n <div className=\"heading\">\n <label>H4</label>\n <h4>Project Symphony</h4>\n </div>\n <div className=\"heading\">\n <label>H5</label>\n <h5>Project Symphony</h5>\n </div>\n <div className=\"heading\">\n <label>H6</label>\n <h6>Project Symphony</h6>\n </div>\n </div>\n);\n\nexport const text = () => (\n <div className=\"typography\">\n <div>\n <label>BODY</label>\n <span className=\"body\">Project Symphony</span>\n </div>\n <div>\n <label>INPUT LABEL</label>\n <span className=\"input-label\">Project Symphony</span>\n </div>\n <div>\n <label>INPUT TEXT</label>\n <span className=\"input-text\">Project Symphony</span>\n </div>\n </div>\n);\n\nexport default {\n title: 'Theming|Typography',\n};\n"],"file":"typography.stories.js"}
1
+ {"version":3,"sources":["../../src/styles/typography.stories.tsx"],"names":["React","lato","heading","text","title"],"mappings":"AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,OAAO,2BAAP;AAEA,OAAO,MAAMC,IAAI,GAAG,MAChB;AAAK,EAAA,SAAS,EAAC;AAAf,GACI;AAAK,EAAA,SAAS,EAAC;AAAf,GACI,2CADJ,CADJ,EAII;AAAK,EAAA,SAAS,EAAC;AAAf,GACI;AAAK,EAAA,SAAS,EAAC;AAAf,GACI;AAAK,EAAA,SAAS,EAAC;AAAf,QADJ,EAEI;AAAK,EAAA,SAAS,EAAC;AAAf,aAFJ,CADJ,EAKI;AAAK,EAAA,SAAS,EAAC;AAAf,GACI;AAAK,EAAA,SAAS,EAAC;AAAf,QADJ,EAEI;AAAK,EAAA,SAAS,EAAC;AAAf,UAFJ,CALJ,CAJJ,CADG;AAkBP,OAAO,MAAMC,OAAO,GAAG,MACnB;AAAK,EAAA,SAAS,EAAC;AAAf,GACI;AAAK,EAAA,SAAS,EAAC;AAAf,GACI,wCADJ,EAEI,mDAFJ,CADJ,EAKI;AAAK,EAAA,SAAS,EAAC;AAAf,GACI,wCADJ,EAEI,mDAFJ,CALJ,EASI;AAAK,EAAA,SAAS,EAAC;AAAf,GACI,wCADJ,EAEI,mDAFJ,CATJ,EAaI;AAAK,EAAA,SAAS,EAAC;AAAf,GACI,wCADJ,EAEI,mDAFJ,CAbJ,EAiBI;AAAK,EAAA,SAAS,EAAC;AAAf,GACI,wCADJ,EAEI,mDAFJ,CAjBJ,EAqBI;AAAK,EAAA,SAAS,EAAC;AAAf,GACI,wCADJ,EAEI,mDAFJ,CArBJ,CADG;AA6BP,OAAO,MAAMC,IAAI,GAAG,MAChB;AAAK,EAAA,SAAS,EAAC;AAAf,GACI,iCACI,0CADJ,EAEI;AAAM,EAAA,SAAS,EAAC;AAAhB,sBAFJ,CADJ,EAKI,iCACI,iDADJ,EAEI;AAAM,EAAA,SAAS,EAAC;AAAhB,sBAFJ,CALJ,EASI,iCACI,gDADJ,EAEI;AAAM,EAAA,SAAS,EAAC;AAAhB,sBAFJ,CATJ,CADG;AAiBP,eAAe;AACXC,EAAAA,KAAK,EAAE;AADI,CAAf","sourcesContent":["import * as React from 'react';\nimport './typography.stories.scss';\n\nexport const lato = () => (\n <div className=\"typography\">\n <div className=\"heading\">\n <h1>Lato 2.0</h1>\n </div>\n <div className=\"weights\">\n <div className=\"regular\">\n <div className=\"preview\">Aa</div>\n <div className=\"weight\">Regular</div>\n </div>\n <div className=\"bold\">\n <div className=\"preview\">Aa</div>\n <div className=\"weight\">Bold</div>\n </div>\n </div>\n </div>\n);\n\nexport const heading = () => (\n <div className=\"typography\">\n <div className=\"heading\">\n <label>H1</label>\n <h1>Project Symphony</h1>\n </div>\n <div className=\"heading\">\n <label>H2</label>\n <h2>Project Symphony</h2>\n </div>\n <div className=\"heading\">\n <label>H3</label>\n <h3>Project Symphony</h3>\n </div>\n <div className=\"heading\">\n <label>H4</label>\n <h4>Project Symphony</h4>\n </div>\n <div className=\"heading\">\n <label>H5</label>\n <h5>Project Symphony</h5>\n </div>\n <div className=\"heading\">\n <label>H6</label>\n <h6>Project Symphony</h6>\n </div>\n </div>\n);\n\nexport const text = () => (\n <div className=\"typography\">\n <div>\n <label>BODY</label>\n <span className=\"body\">Project Symphony</span>\n </div>\n <div>\n <label>INPUT LABEL</label>\n <span className=\"input-label\">Project Symphony</span>\n </div>\n <div>\n <label>INPUT TEXT</label>\n <span className=\"input-text\">Project Symphony</span>\n </div>\n </div>\n);\n\nexport default {\n title: 'Theming/Typography',\n};\n"],"file":"typography.stories.js"}
@@ -84,6 +84,17 @@ class Browser {
84
84
  const userAgent = Browser.getUserAgent();
85
85
  return Browser.isMobile() && /AppleWebKit/i.test(userAgent) && /CriOS\//i.test(userAgent);
86
86
  }
87
+ /**
88
+ * Returns whether browser can download via HTML5.
89
+ *
90
+ * @see https://github.com/Modernizr/Modernizr/blob/master/feature-detects/a/download.js
91
+ * @return {boolean} Whether browser supports downloading
92
+ */
93
+
94
+
95
+ static canDownload() {
96
+ return !Browser.isMobile() || !window.externalHost && 'download' in document.createElement('a');
97
+ }
87
98
  /**
88
99
  * Checks the browser for Dash support using H264 high.
89
100
  * Dash requires MediaSource extensions to exist and be applicable
@@ -82,6 +82,16 @@ class Browser {
82
82
  return Browser.isMobile() && /AppleWebKit/i.test(userAgent) && /CriOS\//i.test(userAgent);
83
83
  }
84
84
 
85
+ /**
86
+ * Returns whether browser can download via HTML5.
87
+ *
88
+ * @see https://github.com/Modernizr/Modernizr/blob/master/feature-detects/a/download.js
89
+ * @return {boolean} Whether browser supports downloading
90
+ */
91
+ static canDownload() {
92
+ return !Browser.isMobile() || (!window.externalHost && 'download' in document.createElement('a'));
93
+ }
94
+
85
95
  /**
86
96
  * Checks the browser for Dash support using H264 high.
87
97
  * Dash requires MediaSource extensions to exist and be applicable
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/utils/Browser.js"],"names":["isDashSupported","Browser","getUserAgent","global","navigator","userAgent","isMobile","test","isIE","isFirefox","isSafari","isMobileSafari","isMobileChromeOniOS","canPlayDash","recheck","mse","MediaSource","isTypeSupported","canWriteToClipboard","clipboard","writeText","canReadFromClipboard","readText"],"mappings":"AAAA;;;;;AAMA,IAAIA,eAAJ;;AAEA,MAAMC,OAAN,CAAc;AACV;;;;;;AAMA,SAAOC,YAAP,GAA8B;AAC1B,WAAOC,MAAM,CAACC,SAAP,CAAiBC,SAAxB;AACH;AAED;;;;;;;;;;AAQA,SAAOC,QAAP,GAA2B;AACvB,UAAMD,SAAS,GAAGJ,OAAO,CAACC,YAAR,EAAlB;AACA,WACI,kEAAkEK,IAAlE,CAAuEF,SAAvE,KAAqF,QAAQE,IAAR,CAAaF,SAAb,CADzF;AAGH;AAED;;;;;;;AAKA,SAAOG,IAAP,GAAc;AACV,WAAO,WAAWD,IAAX,CAAgBN,OAAO,CAACC,YAAR,EAAhB,CAAP;AACH;AAED;;;;;;;AAKA,SAAOO,SAAP,GAAmB;AACf,UAAMJ,SAAS,GAAGJ,OAAO,CAACC,YAAR,EAAlB;AACA,WAAO,WAAWK,IAAX,CAAgBF,SAAhB,KAA8B,CAAC,eAAeE,IAAf,CAAoBF,SAApB,CAAtC;AACH;AAED;;;;;;;AAKA,SAAOK,QAAP,GAAkB;AACd,UAAML,SAAS,GAAGJ,OAAO,CAAC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n * @file Helper for some browser utilities\n * @author Box\n */\n\nlet isDashSupported;\n\nclass Browser {\n /**\n * Returns the user agent.\n * Helps in mocking out.\n *\n * @return {String} navigator userAgent\n */\n static getUserAgent(): string {\n return global.navigator.userAgent;\n }\n\n /**\n * Returns whether browser is mobile, including tablets.\n *\n * We rely on user agent (UA) to avoid matching desktops with touchscreens.\n * @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Browser_detection_using_the_user_agent#mobile_tablet_or_desktop\n *\n * @return {boolean} Whether browser is mobile\n */\n static isMobile(): boolean {\n const userAgent = Browser.getUserAgent();\n return (\n /iphone|ipad|ipod|android|blackberry|bb10|mini|windows\\sce|palm/i.test(userAgent) || /Mobi/i.test(userAgent)\n );\n }\n\n /**\n * Returns whether browser is IE.\n *\n * @return {boolena} Whether browser is IE\n */\n static isIE() {\n return /Trident/i.test(Browser.getUserAgent());\n }\n\n /**\n * Returns whether browser is Firefox.\n *\n * @return {boolean} Whether browser is Firefox\n */\n static isFirefox() {\n const userAgent = Browser.getUserAgent();\n return /Firefox/i.test(userAgent) && !/Seamonkey\\//i.test(userAgent);\n }\n\n /**\n * Returns whether browser is Safari.\n *\n * @return {boolean} Whether browser is Safari\n */\n static isSafari() {\n const userAgent = Browser.getUserAgent();\n return /AppleWebKit/i.test(userAgent) && !/Chrome\\//i.test(userAgent);\n }\n\n /**\n * Returns whether browser is Mobile Safari.\n *\n * @see https://developer.chrome.com/docs/multidevice/user-agent/\n * @return {boolean} Whether browser is Mobile Safari\n */\n static isMobileSafari() {\n return Browser.isMobile() && Browser.isSafari() && !Browser.isMobileChromeOniOS();\n }\n\n /**\n * Returns whether browser is Mobile Chrome on iOS.\n *\n * @see https://developer.chrome.com/docs/multidevice/user-agent/\n * @return {boolean} Whether browser is Mobile Chrome on iOS\n */\n static isMobileChromeOniOS() {\n const userAgent = Browser.getUserAgent();\n return Browser.isMobile() && /AppleWebKit/i.test(userAgent) && /CriOS\\//i.test(userAgent);\n }\n\n /**\n * Checks the browser for Dash support using H264 high.\n * Dash requires MediaSource extensions to exist and be applicable\n * to the H264 container (since we use H264 and not webm)\n *\n * @public\n * @param {boolean} recheck - recheck support\n * @return {boolean} true if dash is usable\n */\n static canPlayDash(recheck: boolean = false) {\n if (typeof isDashSupported === 'undefined' || recheck) {\n const mse = global.MediaSource;\n isDashSupported =\n !!mse &&\n typeof mse.isTypeSupported === 'function' &&\n mse.isTypeSupported('video/mp4; codecs=\"avc1.64001E\"');\n }\n\n return isDashSupported;\n }\n\n /**\n * Checks whether the browser has support for the Clipboard API. This new API supercedes\n * the `execCommand`-based API and uses Promises for detecting whether it works or not.\n *\n * This check determines if the browser can support writing to the clipboard.\n * @see https://www.w3.org/TR/clipboard-apis/#async-clipboard-api\n * @see https://developer.mozilla.org/en-US/docs/Web/API/Clipboard\n *\n * @return {boolean} whether writing to the clipboard is possible\n */\n static canWriteToClipboard() {\n return !!(global.navigator.clipboard && global.navigator.clipboard.writeText);\n }\n\n /**\n * Checks whether the browser has support for the Clipboard API. This new API supercedes\n * the `execCommand`-based API and uses Promises for detecting whether it works or not.\n *\n * This check determines if the browser can support reading from the clipboard.\n * @see https://www.w3.org/TR/clipboard-apis/#async-clipboard-api\n * @see https://developer.mozilla.org/en-US/docs/Web/API/Clipboard\n *\n * @return {boolean} whether reading from the clipboard is possible\n */\n static canReadFromClipboard() {\n return !!(global.navigator.clipboard && global.navigator.clipboard.readText);\n }\n}\n\nexport default Browser;\n"],"file":"Browser.js"}
1
+ {"version":3,"sources":["../../src/utils/Browser.js"],"names":["isDashSupported","Browser","getUserAgent","global","navigator","userAgent","isMobile","test","isIE","isFirefox","isSafari","isMobileSafari","isMobileChromeOniOS","canDownload","window","externalHost","document","createElement","canPlayDash","recheck","mse","MediaSource","isTypeSupported","canWriteToClipboard","clipboard","writeText","canReadFromClipboard","readText"],"mappings":"AAAA;;;;;AAMA,IAAIA,eAAJ;;AAEA,MAAMC,OAAN,CAAc;AACV;;;;;;AAMA,SAAOC,YAAP,GAA8B;A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B,CAArE;AACH;AAED;;;;;;;;;;;AASA,SAAOC,WAAP,GAA6C;AAAA,QAA1BC,OAA0B,uEAAP,KAAO;;AACzC,QAAI,OAAOnB,eAAP,KAA2B,WAA3B,IAA0CmB,OAA9C,EAAuD;AACnD,YAAMC,GAAG,GAAGjB,MAAM,CAACkB,WAAnB;AACArB,MAAAA,eAAe,GACX,CAAC,CAACoB,GAAF,IACA,OAAOA,GAAG,CAACE,eAAX,KAA+B,UAD/B,IAEAF,GAAG,CAACE,eAAJ,CAAoB,iCAApB,CAHJ;AAIH;;AAED,WAAOtB,eAAP;AACH;AAED;;;;;;;;;;;;AAUA,SAAOuB,mBAAP,GAA6B;AACzB,WAAO,CAAC,EAAEpB,MAAM,CAACC,SAAP,CAAiBoB,SAAjB,IAA8BrB,MAAM,CAACC,SAAP,CAAiBoB,SAAjB,CAA2BC,SAA3D,CAAR;AACH;AAED;;;;;;;;;;;;AAUA,SAAOC,oBAAP,GAA8B;AAC1B,WAAO,CAAC,EAAEvB,MAAM,CAACC,SAAP,CAAiBoB,SAAjB,IAA8BrB,MAAM,CAACC,SAAP,CAAiBoB,SAAjB,CAA2BG,QAA3D,CAAR;AACH;;AArIS;;AAwId,eAAe1B,OAAf","sourcesContent":["/**\n * @flow\n * @file Helper for some browser utilities\n * @author Box\n */\n\nlet isDashSupported;\n\nclass Browser {\n /**\n * Returns the user agent.\n * Helps in mocking out.\n *\n * @return {String} navigator userAgent\n */\n static getUserAgent(): string {\n return global.navigator.userAgent;\n }\n\n /**\n * Returns whether browser is mobile, including tablets.\n *\n * We rely on user agent (UA) to avoid matching desktops with touchscreens.\n * @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Browser_detection_using_the_user_agent#mobile_tablet_or_desktop\n *\n * @return {boolean} Whether browser is mobile\n */\n static isMobile(): boolean {\n const userAgent = Browser.getUserAgent();\n return (\n /iphone|ipad|ipod|android|blackberry|bb10|mini|windows\\sce|palm/i.test(userAgent) || /Mobi/i.test(userAgent)\n );\n }\n\n /**\n * Returns whether browser is IE.\n *\n * @return {boolena} Whether browser is IE\n */\n static isIE() {\n return /Trident/i.test(Browser.getUserAgent());\n }\n\n /**\n * Returns whether browser is Firefox.\n *\n * @return {boolean} Whether browser is Firefox\n */\n static isFirefox() {\n const userAgent = Browser.getUserAgent();\n return /Firefox/i.test(userAgent) && !/Seamonkey\\//i.test(userAgent);\n }\n\n /**\n * Returns whether browser is Safari.\n *\n * @return {boolean} Whether browser is Safari\n */\n static isSafari() {\n const userAgent = Browser.getUserAgent();\n return /AppleWebKit/i.test(userAgent) && !/Chrome\\//i.test(userAgent);\n }\n\n /**\n * Returns whether browser is Mobile Safari.\n *\n * @see https://developer.chrome.com/docs/multidevice/user-agent/\n * @return {boolean} Whether browser is Mobile Safari\n */\n static isMobileSafari() {\n return Browser.isMobile() && Browser.isSafari() && !Browser.isMobileChromeOniOS();\n }\n\n /**\n * Returns whether browser is Mobile Chrome on iOS.\n *\n * @see https://developer.chrome.com/docs/multidevice/user-agent/\n * @return {boolean} Whether browser is Mobile Chrome on iOS\n */\n static isMobileChromeOniOS() {\n const userAgent = Browser.getUserAgent();\n return Browser.isMobile() && /AppleWebKit/i.test(userAgent) && /CriOS\\//i.test(userAgent);\n }\n\n /**\n * Returns whether browser can download via HTML5.\n *\n * @see https://github.com/Modernizr/Modernizr/blob/master/feature-detects/a/download.js\n * @return {boolean} Whether browser supports downloading\n */\n static canDownload() {\n return !Browser.isMobile() || (!window.externalHost && 'download' in document.createElement('a'));\n }\n\n /**\n * Checks the browser for Dash support using H264 high.\n * Dash requires MediaSource extensions to exist and be applicable\n * to the H264 container (since we use H264 and not webm)\n *\n * @public\n * @param {boolean} recheck - recheck support\n * @return {boolean} true if dash is usable\n */\n static canPlayDash(recheck: boolean = false) {\n if (typeof isDashSupported === 'undefined' || recheck) {\n const mse = global.MediaSource;\n isDashSupported =\n !!mse &&\n typeof mse.isTypeSupported === 'function' &&\n mse.isTypeSupported('video/mp4; codecs=\"avc1.64001E\"');\n }\n\n return isDashSupported;\n }\n\n /**\n * Checks whether the browser has support for the Clipboard API. This new API supercedes\n * the `execCommand`-based API and uses Promises for detecting whether it works or not.\n *\n * This check determines if the browser can support writing to the clipboard.\n * @see https://www.w3.org/TR/clipboard-apis/#async-clipboard-api\n * @see https://developer.mozilla.org/en-US/docs/Web/API/Clipboard\n *\n * @return {boolean} whether writing to the clipboard is possible\n */\n static canWriteToClipboard() {\n return !!(global.navigator.clipboard && global.navigator.clipboard.writeText);\n }\n\n /**\n * Checks whether the browser has support for the Clipboard API. This new API supercedes\n * the `execCommand`-based API and uses Promises for detecting whether it works or not.\n *\n * This check determines if the browser can support reading from the clipboard.\n * @see https://www.w3.org/TR/clipboard-apis/#async-clipboard-api\n * @see https://developer.mozilla.org/en-US/docs/Web/API/Clipboard\n *\n * @return {boolean} whether reading from the clipboard is possible\n */\n static canReadFromClipboard() {\n return !!(global.navigator.clipboard && global.navigator.clipboard.readText);\n }\n}\n\nexport default Browser;\n"],"file":"Browser.js"}
@@ -12,7 +12,7 @@ import { TYPE_FILE, TYPE_FOLDER, SORT_DESC, FIELD_MODIFIED_AT, FIELD_INTERACTED_
12
12
  * @param {string} sortDirection desc or asc
13
13
  * @return {Function} comparator function
14
14
  */
15
- export default function (sortBy, sortDirection, cache) {
15
+ export default function comparator(sortBy, sortDirection, cache) {
16
16
  const invert = sortDirection === SORT_DESC ? 1 : -1;
17
17
  return (a, b) => {
18
18
  const itemA = cache.get(a);
@@ -23,7 +23,7 @@ import type APICache from './Cache';
23
23
  * @param {string} sortDirection desc or asc
24
24
  * @return {Function} comparator function
25
25
  */
26
- export default function(sortBy: SortBy, sortDirection: SortDirection, cache: APICache): Function {
26
+ export default function comparator(sortBy: SortBy, sortDirection: SortDirection, cache: APICache): Function {
27
27
  const invert: number = sortDirection === SORT_DESC ? 1 : -1;
28
28
  return (a: string, b: string): number => {
29
29
  const itemA: BoxItem = cache.get(a);
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/utils/comparator.js"],"names":["TYPE_FILE","TYPE_FOLDER","SORT_DESC","FIELD_MODIFIED_AT","FIELD_INTERACTED_AT","FIELD_NAME","FIELD_SIZE","sortBy","sortDirection","cache","invert","a","b","itemA","get","itemB","itemAType","type","itemBType","itemAName","name","itemBName","itemADate","Date","parse","modified_at","itemBDate","itemAInteractedDate","interacted_at","itemBInteractedDate","itemASize","size","itemBSize","toLowerCase","Error"],"mappings":"AAAA;;;;;AAMA,SACIA,SADJ,EAEIC,WAFJ,EAGIC,SAHJ,EAIIC,iBAJJ,EAKIC,mBALJ,EAMIC,UANJ,EAOIC,UAPJ,QAQO,cARP;;AAYA;;;;;;;AAOA,eAAe,UAASC,MAAT,EAAyBC,aAAzB,EAAuDC,KAAvD,EAAkF;AAC7F,QAAMC,MAAc,GAAGF,aAAa,KAAKN,SAAlB,GAA8B,CAA9B,GAAkC,CAAC,CAA1D;AACA,SAAO,CAACS,CAAD,EAAYC,CAAZ,KAAkC;AACrC,UAAMC,KAAc,GAAGJ,KAAK,CAACK,GAAN,CAAUH,CAAV,CAAvB;AACA,UAAMI,KAAc,GAAGN,KAAK,CAACK,GAAN,CAAUF,CAAV,CAAvB;AAEA,UAAMI,SAAmB,GAAGH,KAAK,CAACI,IAAN,IAAcjB,SAA1C;AACA,UAAMkB,SAAmB,GAAGH,KAAK,CAACE,IAAN,IAAcjB,SAA1C;AACA,UAAMmB,SAAiB,GAAGN,KAAK,CAACO,IAAN,IAAc,EAAxC;AACA,UAAMC,SAAiB,GAAGN,KAAK,CAACK,IAAN,IAAc,EAAxC;AACA,UAAME,SAAiB,GAAGC,IAAI,CAACC,KAAL,CAAWX,KAAK,CAACY,WAAN,IAAqB,GAAhC,CAA1B;AACA,UAAMC,SAAiB,GAAGH,IAAI,CAACC,KAAL,CAAWT,KAAK,CAACU,WAAN,IAAqB,GAAhC,CAA1B;AACA,UAAME,mBAA2B,GAAGJ,IAAI,CAACC,KAAL,CAAWX,KAAK,CAACe,aAAN,IAAuBf,KAAK,CAACY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,CAAP;AACH,KAnCoC,CAqCrC;AACA;;;AACA,QAAIlB,SAAS,KAAKf,WAAlB,EAA+B,OAAO,CAAC,CAAR;AAC/B,QAAIiB,SAAS,KAAKjB,WAAlB,EAA+B,OAAO,CAAP;AAC/B,QAAIe,SAAS,KAAKhB,SAAlB,EAA6B,OAAO,CAAC,CAAR;AAC7B,QAAIkB,SAAS,KAAKlB,SAAlB,EAA6B,OAAO,CAAP,CA1CQ,CA4CrC;;AACA,UAAM,IAAIkC,KAAJ,CAAU,2BAAV,CAAN;AACH,GA9CD;AA+CH","sourcesContent":["/**\n * @flow\n * @file Function to sort item list\n * @author Box\n */\n\nimport {\n TYPE_FILE,\n TYPE_FOLDER,\n SORT_DESC,\n FIELD_MODIFIED_AT,\n FIELD_INTERACTED_AT,\n FIELD_NAME,\n FIELD_SIZE,\n} from '../constants';\nimport type { SortBy, SortDirection, ItemType, BoxItem } from '../common/types/core';\nimport type APICache from './Cache';\n\n/**\n * Comparator function for sorting files and folders\n *\n * @param {string} sortBy field to sort by\n * @param {string} sortDirection desc or asc\n * @return {Function} comparator function\n */\nexport default function(sortBy: SortBy, sortDirection: SortDirection, cache: APICache): Function {\n const invert: number = sortDirection === SORT_DESC ? 1 : -1;\n return (a: string, b: string): number => {\n const itemA: BoxItem = cache.get(a);\n const itemB: BoxItem = cache.get(b);\n\n const itemAType: ItemType = itemA.type || TYPE_FILE;\n const itemBType: ItemType = itemB.type || TYPE_FILE;\n const itemAName: string = itemA.name || '';\n const itemBName: string = itemB.name || '';\n const itemADate: number = Date.parse(itemA.modified_at || '0');\n const itemBDate: number = Date.parse(itemB.modified_at || '0');\n const itemAInteractedDate: number = Date.parse(itemA.interacted_at || itemA.modified_at || '0');\n const itemBInteractedDate: number = Date.parse(itemB.interacted_at || itemB.modified_at || '0');\n const itemASize: number = itemA.size || 0;\n const itemBSize: number = itemB.size || 0;\n\n // If a and b are of the same type, then use sortBy\n if (itemAType === itemBType) {\n if (sortBy === FIELD_NAME) {\n if (itemAName.toLowerCase() > itemBName.toLowerCase()) return -1 * invert;\n if (itemAName.toLowerCase() < itemBName.toLowerCase()) return 1 * invert;\n } else if (sortBy === FIELD_MODIFIED_AT) {\n if (itemADate > itemBDate) return -1 * invert;\n if (itemADate < itemBDate) return 1 * invert;\n } else if (sortBy === FIELD_INTERACTED_AT) {\n if (itemAInteractedDate > itemBInteractedDate) return -1 * invert;\n if (itemAInteractedDate < itemBInteractedDate) return 1 * invert;\n } else if (sortBy === FIELD_SIZE) {\n if (itemASize > itemBSize) return -1 * invert;\n if (itemASize < itemBSize) return 1 * invert;\n } else {\n // Should never reach here\n throw new Error('Unsupported sort field!');\n }\n\n return 0;\n }\n\n // If a and b are of different types, then use type to sort\n // Folder > File > WebLink\n if (itemAType === TYPE_FOLDER) return -1;\n if (itemBType === TYPE_FOLDER) return 1;\n if (itemAType === TYPE_FILE) return -1;\n if (itemBType === TYPE_FILE) return 1;\n\n // Should never reach here\n throw new Error('Error in sort comparator!');\n };\n}\n"],"file":"comparator.js"}
1
+ {"version":3,"sources":["../../src/utils/comparator.js"],"names":["TYPE_FILE","TYPE_FOLDER","SORT_DESC","FIELD_MODIFIED_AT","FIELD_INTERACTED_AT","FIELD_NAME","FIELD_SIZE","comparator","sortBy","sortDirection","cache","invert","a","b","itemA","get","itemB","itemAType","type","itemBType","itemAName","name","itemBName","itemADate","Date","parse","modified_at","itemBDate","itemAInteractedDate","interacted_at","itemBInteractedDate","itemASize","size","itemBSize","toLowerCase","Error"],"mappings":"AAAA;;;;;AAMA,SACIA,SADJ,EAEIC,WAFJ,EAGIC,SAHJ,EAIIC,iBAJJ,EAKIC,mBALJ,EAMIC,UANJ,EAOIC,UAPJ,QAQO,cARP;;AAYA;;;;;;;AAOA,eAAe,SAASC,UAAT,CAAoBC,MAApB,EAAoCC,aAApC,EAAkEC,KAAlE,EAA6F;AACxG,QAAMC,MAAc,GAAGF,aAAa,KAAKP,SAAlB,GAA8B,CAA9B,GAAkC,CAAC,CAA1D;AACA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IvB,MAAX;AAC1D,OAHD,MAGO,IAAIH,MAAM,KAAKL,iBAAf,EAAkC;AACrC,YAAIoB,SAAS,GAAGI,SAAhB,EAA2B,OAAO,CAAC,CAAD,GAAKhB,MAAZ;AAC3B,YAAIY,SAAS,GAAGI,SAAhB,EAA2B,OAAO,IAAIhB,MAAX;AAC9B,OAHM,MAGA,IAAIH,MAAM,KAAKJ,mBAAf,EAAoC;AACvC,YAAIwB,mBAAmB,GAAGE,mBAA1B,EAA+C,OAAO,CAAC,CAAD,GAAKnB,MAAZ;AAC/C,YAAIiB,mBAAmB,GAAGE,mBAA1B,EAA+C,OAAO,IAAInB,MAAX;AAClD,OAHM,MAGA,IAAIH,MAAM,KAAKF,UAAf,EAA2B;AAC9B,YAAIyB,SAAS,GAAGE,SAAhB,EAA2B,OAAO,CAAC,CAAD,GAAKtB,MAAZ;AAC3B,YAAIoB,SAAS,GAAGE,SAAhB,EAA2B,OAAO,IAAItB,MAAX;AAC9B,OAHM,MAGA;AACH;AACA,cAAM,IAAIwB,KAAJ,CAAU,yBAAV,CAAN;AACH;;AAED,aAAO,CAAP;AACH,KAnCoC,CAqCrC;AACA;;;AACA,QAAIlB,SAAS,KAAKhB,WAAlB,EAA+B,OAAO,CAAC,CAAR;AAC/B,QAAIkB,SAAS,KAAKlB,WAAlB,EAA+B,OAAO,CAAP;AAC/B,QAAIgB,SAAS,KAAKjB,SAAlB,EAA6B,OAAO,CAAC,CAAR;AAC7B,QAAImB,SAAS,KAAKnB,SAAlB,EAA6B,OAAO,CAAP,CA1CQ,CA4CrC;;AACA,UAAM,IAAImC,KAAJ,CAAU,2BAAV,CAAN;AACH,GA9CD;AA+CH","sourcesContent":["/**\n * @flow\n * @file Function to sort item list\n * @author Box\n */\n\nimport {\n TYPE_FILE,\n TYPE_FOLDER,\n SORT_DESC,\n FIELD_MODIFIED_AT,\n FIELD_INTERACTED_AT,\n FIELD_NAME,\n FIELD_SIZE,\n} from '../constants';\nimport type { SortBy, SortDirection, ItemType, BoxItem } from '../common/types/core';\nimport type APICache from './Cache';\n\n/**\n * Comparator function for sorting files and folders\n *\n * @param {string} sortBy field to sort by\n * @param {string} sortDirection desc or asc\n * @return {Function} comparator function\n */\nexport default function comparator(sortBy: SortBy, sortDirection: SortDirection, cache: APICache): Function {\n const invert: number = sortDirection === SORT_DESC ? 1 : -1;\n return (a: string, b: string): number => {\n const itemA: BoxItem = cache.get(a);\n const itemB: BoxItem = cache.get(b);\n\n const itemAType: ItemType = itemA.type || TYPE_FILE;\n const itemBType: ItemType = itemB.type || TYPE_FILE;\n const itemAName: string = itemA.name || '';\n const itemBName: string = itemB.name || '';\n const itemADate: number = Date.parse(itemA.modified_at || '0');\n const itemBDate: number = Date.parse(itemB.modified_at || '0');\n const itemAInteractedDate: number = Date.parse(itemA.interacted_at || itemA.modified_at || '0');\n const itemBInteractedDate: number = Date.parse(itemB.interacted_at || itemB.modified_at || '0');\n const itemASize: number = itemA.size || 0;\n const itemBSize: number = itemB.size || 0;\n\n // If a and b are of the same type, then use sortBy\n if (itemAType === itemBType) {\n if (sortBy === FIELD_NAME) {\n if (itemAName.toLowerCase() > itemBName.toLowerCase()) return -1 * invert;\n if (itemAName.toLowerCase() < itemBName.toLowerCase()) return 1 * invert;\n } else if (sortBy === FIELD_MODIFIED_AT) {\n if (itemADate > itemBDate) return -1 * invert;\n if (itemADate < itemBDate) return 1 * invert;\n } else if (sortBy === FIELD_INTERACTED_AT) {\n if (itemAInteractedDate > itemBInteractedDate) return -1 * invert;\n if (itemAInteractedDate < itemBInteractedDate) return 1 * invert;\n } else if (sortBy === FIELD_SIZE) {\n if (itemASize > itemBSize) return -1 * invert;\n if (itemASize < itemBSize) return 1 * invert;\n } else {\n // Should never reach here\n throw new Error('Unsupported sort field!');\n }\n\n return 0;\n }\n\n // If a and b are of different types, then use type to sort\n // Folder > File > WebLink\n if (itemAType === TYPE_FOLDER) return -1;\n if (itemBType === TYPE_FOLDER) return 1;\n if (itemAType === TYPE_FILE) return -1;\n if (itemBType === TYPE_FILE) return 1;\n\n // Should never reach here\n throw new Error('Error in sort comparator!');\n };\n}\n"],"file":"comparator.js"}
@@ -93,7 +93,7 @@ export const ThemeExample = () => {
93
93
  }, React.createElement(ThemeDemoIcon, null, React.createElement(IconDevConsole, null)), "Developer Console"))), React.createElement("br", null), React.createElement("section", null, React.createElement("details", null, React.createElement("summary", null, "JSON Theme"), React.createElement("pre", null, React.createElement("code", null, JSON.stringify(theme, null, 2))))));
94
94
  };
95
95
  export default {
96
- title: 'Theming|Theme',
96
+ title: 'Theming/Theme',
97
97
  component: ThemeExample,
98
98
  parameters: {
99
99
  notes
@@ -267,7 +267,7 @@ export const ThemeExample = () => {
267
267
  };
268
268
 
269
269
  export default {
270
- title: 'Theming|Theme',
270
+ title: 'Theming/Theme',
271
271
  component: ThemeExample,
272
272
  parameters: { notes },
273
273
  };
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/utils/createTheme.stories.js"],"names":["React","styled","ThemeProvider","keyframes","color","text","vars","defaultTheme","BoxButton","BoxLogo","createTheme","notes","IconAllFiles","IconNotes","IconRecents","IconTrash","IconFavorites","IconDevConsole","Swatch","div","p","bdlGray30","bdlBorderRadiusSize","BaseButton","props","theme","base","buttonBackground","buttonBorder","buttonForeground","bdlBorderRadiusSizeMed","bdlFontSizeDejaBlue","buttonBackgroundHover","buttonBorderHover","buttonBackgroundActive","buttonBorderActive","PrimaryButton","primary","ThemeDemo","foreground","border","background","ThemeDemoMenuItem","bdlBorderRadiusSizeLarge","backgroundHover","backgroundActive","scroll","ThemeDemoProgressBar","progressBarBackground","ThemeDemoLogo","ThemeDemoIcon","span","Footer","ThemeExample","colorText","colorMap","colorHex","test","float","Object","entries","filter","key","map","val","_debug","colorRange","marginLeft","JSON","stringify","title","component","parameters"],"mappings":"AAAA;AACA;AACA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,MAAP,IAAiBC,aAAjB,EAAgCC,SAAhC,QAAiD,mBAAjD;AACA,SAASC,KA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,oBAAC,aAAD,OADJ,CADJ,cAdJ,EAoBI,oBAAC,iBAAD,QACI,oBAAC,aAAD,QACI,oBAAC,SAAD,OADJ,CADJ,UApBJ,EA0BI,oBAAC,MAAD,QACI,oBAAC,iBAAD;AAAmB,IAAA,SAAS,EAAC;AAA7B,KACI,oBAAC,aAAD,QACI,oBAAC,SAAD,OADJ,CADJ,UADJ,EAOI,oBAAC,iBAAD;AAAmB,IAAA,SAAS,EAAC;AAA7B,KACI,oBAAC,aAAD,QACI,oBAAC,cAAD,OADJ,CADJ,sBAPJ,CA1BJ,CA7BJ,EAsEI,+BAtEJ,EAuEI,qCACI,qCACI,kDADJ,EAEI,iCACI,kCAAOC,IAAI,CAACC,SAAL,CAAe5C,KAAf,EAAsB,IAAtB,EAA4B,CAA5B,CAAP,CADJ,CAFJ,CADJ,CAvEJ,CADJ;AAkFH,CA1FM;AA4FP,eAAe;AACX6C,EAAAA,KAAK,EAAE,eADI;AAEXC,EAAAA,SAAS,EAAElB,YAFA;AAGXmB,EAAAA,UAAU,EAAE;AAAE7D,IAAAA;AAAF;AAHD,CAAf","sourcesContent":["/* eslint-disable no-underscore-dangle */\n// @ts-nocheck\nimport React from 'react';\nimport styled, { ThemeProvider, keyframes } from 'styled-components';\nimport { color, text } from '@storybook/addon-knobs';\n\nimport * as vars from '../styles/variables';\nimport defaultTheme from '../styles/theme';\nimport BoxButton from '../components/button';\nimport BoxLogo from '../icon/logo/BoxLogo';\nimport { createTheme } from './createTheme';\nimport notes from './createTheme.stories.md';\n\nimport IconAllFiles from '../features/left-sidebar/icons/IconAllFiles';\nimport IconNotes from '../features/left-sidebar/icons/IconNotes';\nimport IconRecents from '../features/left-sidebar/icons/IconRecents';\nimport IconTrash from '../features/left-sidebar/icons/IconTrash';\nimport IconFavorites from '../features/left-sidebar/icons/IconFavorites';\nimport IconDevConsole from '../features/left-sidebar/icons/IconDevConsole';\n\nconst Swatch = styled.div`\n display: inline-block;\n background: ${p => p.color};\n border: 1px solid ${vars.bdlGray30};\n height: 1em;\n width: 1em;\n border-radius: ${vars.bdlBorderRadiusSize};\n`;\n\nconst BaseButton = styled(BoxButton)`\n background: ${props => props.theme.base.buttonBackground};\n border-color: ${props => props.theme.base.buttonBorder};\n color: ${props => props.theme.base.buttonForeground};\n\n font-weight: bold;\n border-radius: ${vars.bdlBorderRadiusSizeMed};\n font-size: ${vars.bdlFontSizeDejaBlue};\n\n .btn:not(.is-disabled)&:hover {\n background: ${props => props.theme.base.buttonBackgroundHover};\n border-color: ${props => props.theme.base.buttonBorderHover};\n }\n .btn:not(.is-disabled)&:active {\n background: ${props => props.theme.base.buttonBackgroundActive};\n border-color: ${props => props.theme.base.buttonBorderActive};\n }\n`;\n\nconst PrimaryButton = styled(BoxButton)`\n background: ${props => props.theme.primary.buttonBackground};\n border-color: ${props => props.theme.primary.buttonBorder};\n color: ${props => props.theme.primary.buttonForeground};\n\n font-weight: bold;\n border-radius: ${vars.bdlBorderRadiusSizeMed};\n font-size: ${vars.bdlFontSizeDejaBlue};\n\n .btn:not(.is-disabled)&:hover {\n background: ${props => props.theme.primary.buttonBackgroundHover};\n border-color: ${props => props.theme.primary.buttonBorderHover};\n }\n .btn:not(.is-disabled)&:active {\n background: ${props => props.theme.primary.buttonBackgroundActive};\n border-color: ${props => props.theme.primary.buttonBorderActive};\n }\n`;\n\nconst ThemeDemo = styled.div`\n width: 200px;\n min-height: 500px;\n padding: 8px;\n border-radius: ${vars.bdlBorderRadiusSize};\n display: flex;\n flex-direction: column;\n color: ${p => p.theme.primary.foreground};\n\n border: 1px solid ${p => p.theme.primary.border};\n background: ${p => p.theme.primary.background};\n`;\n\nconst ThemeDemoMenuItem = styled.div`\n cursor: pointer;\n padding: 8px 12px;\n margin: 2px 4px;\n border-radius: ${vars.bdlBorderRadiusSizeLarge};\n font-weight: bold;\n transition: 0.15s;\n border: 1px solid;\n border-color: transparent;\n &:hover {\n background: ${p => p.theme.primary.backgroundHover};\n }\n &.active,\n &:active {\n background: ${p => p.theme.primary.backgroundActive};\n }\n\n &:focus,\n &:active {\n border-color: ${p => p.theme.primary.foreground};\n }\n\n &.alt {\n background: ${p => p.theme.primary.backgroundHover};\n\n &:hover {\n background: ${p => p.theme.primary.backgroundActive};\n }\n }\n`;\n\nconst scroll = keyframes`\n 0% {\n right: 100%;\n left: 0%;\n }\n\n 50% {\n right: 0%;\n left: 0%;\n }\n\n 100% {\n right: 0%;\n left: 100%;\n }\n`;\n\nconst ThemeDemoProgressBar = styled.div`\n position: relative;\n display: inline-block;\n height: 6px;\n width: 300px;\n padding: 0;\n\n &::before {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n content: '';\n background-color: ${props => props.theme.primary.progressBarBackground};\n will-change: left, right;\n animation: 2s ${scroll} infinite;\n }\n`;\n\nconst ThemeDemoLogo = styled(BoxLogo)`\n width: 61px;\n height: 32px;\n margin: 4px 4px 16px 4px;\n & path,\n & .fill-color {\n fill: ${props => props.theme.primary.foreground};\n }\n`;\n\nconst ThemeDemoIcon = styled.span`\n margin-right: 8px;\n & svg {\n top: 2px;\n position: relative;\n }\n & path,\n & .fill-color {\n fill: ${props => props.theme.primary.foreground};\n }\n`;\n\nconst Footer = styled.div`\n flex: 1;\n display: flex;\n flex-direction: column;\n justify-content: flex-end;\n`;\n\nexport const ThemeExample = () => {\n const colorText = text('Primary Color Hex');\n const colorMap = color('Primary Color', '#0061d5');\n\n const colorHex = /^#[0-9A-F]{6}$/i.test(colorText) ? colorText : colorMap;\n\n const theme = colorHex ? createTheme(colorHex) : defaultTheme;\n\n return (\n <ThemeProvider theme={theme}>\n <div style={{ float: 'right' }}>\n <section>\n <h4>theme.primary</h4>\n {Object.entries(theme.primary)\n .filter(([key]) => key !== '_debug')\n .map(([key, val]) => (\n <div key={key}>\n <Swatch color={val} /> {key} <code>{val}</code>\n </div>\n ))}\n <span>Theme Color Range: {theme.primary._debug.colorRange}</span>\n <br />\n <h4>theme.base</h4>\n {Object.entries(theme.base).map(([key, val]) => (\n <div key={key}>\n <Swatch color={val} /> {key} <code>{val}</code>\n </div>\n ))}\n </section>\n </div>\n <div style={{ marginLeft: -5 }}>\n <BaseButton>Base</BaseButton>\n <PrimaryButton>Primary</PrimaryButton>\n </div>\n <br />\n <ThemeDemoProgressBar />\n <br />\n <br />\n <ThemeDemo>\n <ThemeDemoLogo />\n <ThemeDemoMenuItem className=\"active\">\n <ThemeDemoIcon>\n <IconAllFiles />\n </ThemeDemoIcon>\n All Files\n </ThemeDemoMenuItem>\n <ThemeDemoMenuItem>\n <ThemeDemoIcon>\n <IconRecents />\n </ThemeDemoIcon>\n Recents\n </ThemeDemoMenuItem>\n <ThemeDemoMenuItem>\n <ThemeDemoIcon>\n <IconFavorites />\n </ThemeDemoIcon>\n Favorites\n </ThemeDemoMenuItem>\n <ThemeDemoMenuItem>\n <ThemeDemoIcon>\n <IconTrash />\n </ThemeDemoIcon>\n Trash\n </ThemeDemoMenuItem>\n <Footer>\n <ThemeDemoMenuItem className=\"alt\">\n <ThemeDemoIcon>\n <IconNotes />\n </ThemeDemoIcon>\n Notes\n </ThemeDemoMenuItem>\n <ThemeDemoMenuItem className=\"alt\">\n <ThemeDemoIcon>\n <IconDevConsole />\n </ThemeDemoIcon>\n Developer Console\n </ThemeDemoMenuItem>\n </Footer>\n </ThemeDemo>\n <br />\n <section>\n <details>\n <summary>JSON Theme</summary>\n <pre>\n <code>{JSON.stringify(theme, null, 2)}</code>\n </pre>\n </details>\n </section>\n </ThemeProvider>\n );\n};\n\nexport default {\n title: 'Theming|Theme',\n component: ThemeExample,\n parameters: { notes },\n};\n"],"file":"createTheme.stories.js"}
1
+ {"version":3,"sources":["../../src/utils/createTheme.stories.js"],"names":["React","styled","ThemeProvider","keyframes","color","text","vars","defaultTheme","BoxButton","BoxLogo","createTheme","notes","IconAllFiles","IconNotes","IconRecents","IconTrash","IconFavorites","IconDevConsole","Swatch","div","p","bdlGray30","bdlBorderRadiusSize","BaseButton","props","theme","base","buttonBackground","buttonBorder","buttonForeground","bdlBorderRadiusSizeMed","bdlFontSizeDejaBlue","buttonBackgroundHover","buttonBorderHover","buttonBackgroundActive","buttonBorderActive","PrimaryButton","primary","ThemeDemo","foreground","border","background","ThemeDemoMenuItem","bdlBorderRadiusSizeLarge","backgroundHover","backgroundActive","scroll","ThemeDemoProgressBar","progressBarBackground","ThemeDemoLogo","ThemeDemoIcon","span","Footer","ThemeExample","colorText","colorMap","colorHex","test","float","Object","entries","filter","key","map","val","_debug","colorRange","marginLeft","JSON","stringify","title","component","parameters"],"mappings":"AAAA;AACA;AACA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,MAAP,IAAiBC,aAAjB,EAAgCC,SAAhC,QAAiD,mBAAjD;AACA,SAASC,KAAT,EAAgBC,IAAhB,QAA4B,wBAA5B;AAEA,OAAO,KAAKC,IAAZ,MAAsB,qBAAtB;AACA,OAAOC,YAAP,MAAyB,iBAAzB;AACA,OAAOC,SAAP,MAAsB,sBAAtB;AACA,OAAOC,OAAP,MAAoB,sBAApB;AACA,SAASC,WAAT,QAA4B,eAA5B;AACA,OAAOC,KAAP,MAAkB,0BAAlB;AAEA,OAAOC,YAAP,MAAyB,6CAAzB;AACA,OAAOC,SAAP,MAAsB,0CAAtB;AACA,OAAOC,WAAP,MAAwB,4CAAxB;AACA,OAAOC,SAAP,MAAsB,0CAAtB;AACA,OAAOC,aAAP,MAA0B,8CAA1B;AACA,OAAOC,cAAP,MAA2B,+CAA3B;AAEA,MAAMC,MAAM,GAAGjB,MAAM,CAACkB,GAAV;AAAA;AAAA;AAAA,4GAEMC,CAAC,IAAIA,CAAC,CAAChB,KAFb,EAGYE,IAAI,CAACe,SAHjB,EAMSf,IAAI,CAACgB,mBANd,CAAZ;AASA,MAAMC,UAAU,GAAGtB,MAAM,CAACO,SAAD,CAAT;AAAA;AAAA;AAAA,4OACEgB,KAAK,IAAIA,KAAK,CAACC,KAAN,CAAYC,IAAZ,CAAiBC,gBAD5B,EAEIH,KAAK,IAAIA,KAAK,CAACC,KAAN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AA,UAAU,EAAE,CAAC;AAAf;AAAZ,KACI,oBAAC,UAAD,eADJ,EAEI,oBAAC,aAAD,kBAFJ,CArBJ,EAyBI,+BAzBJ,EA0BI,oBAAC,oBAAD,OA1BJ,EA2BI,+BA3BJ,EA4BI,+BA5BJ,EA6BI,oBAAC,SAAD,QACI,oBAAC,aAAD,OADJ,EAEI,oBAAC,iBAAD;AAAmB,IAAA,SAAS,EAAC;AAA7B,KACI,oBAAC,aAAD,QACI,oBAAC,YAAD,OADJ,CADJ,cAFJ,EAQI,oBAAC,iBAAD,QACI,oBAAC,aAAD,QACI,oBAAC,WAAD,OADJ,CADJ,YARJ,EAcI,oBAAC,iBAAD,QACI,oBAAC,aAAD,QACI,oBAAC,aAAD,OADJ,CADJ,cAdJ,EAoBI,oBAAC,iBAAD,QACI,oBAAC,aAAD,QACI,oBAAC,SAAD,OADJ,CADJ,UApBJ,EA0BI,oBAAC,MAAD,QACI,oBAAC,iBAAD;AAAmB,IAAA,SAAS,EAAC;AAA7B,KACI,oBAAC,aAAD,QACI,oBAAC,SAAD,OADJ,CADJ,UADJ,EAOI,oBAAC,iBAAD;AAAmB,IAAA,SAAS,EAAC;AAA7B,KACI,oBAAC,aAAD,QACI,oBAAC,cAAD,OADJ,CADJ,sBAPJ,CA1BJ,CA7BJ,EAsEI,+BAtEJ,EAuEI,qCACI,qCACI,kDADJ,EAEI,iCACI,kCAAOC,IAAI,CAACC,SAAL,CAAe5C,KAAf,EAAsB,IAAtB,EAA4B,CAA5B,CAAP,CADJ,CAFJ,CADJ,CAvEJ,CADJ;AAkFH,CA1FM;AA4FP,eAAe;AACX6C,EAAAA,KAAK,EAAE,eADI;AAEXC,EAAAA,SAAS,EAAElB,YAFA;AAGXmB,EAAAA,UAAU,EAAE;AAAE7D,IAAAA;AAAF;AAHD,CAAf","sourcesContent":["/* eslint-disable no-underscore-dangle */\n// @ts-nocheck\nimport React from 'react';\nimport styled, { ThemeProvider, keyframes } from 'styled-components';\nimport { color, text } from '@storybook/addon-knobs';\n\nimport * as vars from '../styles/variables';\nimport defaultTheme from '../styles/theme';\nimport BoxButton from '../components/button';\nimport BoxLogo from '../icon/logo/BoxLogo';\nimport { createTheme } from './createTheme';\nimport notes from './createTheme.stories.md';\n\nimport IconAllFiles from '../features/left-sidebar/icons/IconAllFiles';\nimport IconNotes from '../features/left-sidebar/icons/IconNotes';\nimport IconRecents from '../features/left-sidebar/icons/IconRecents';\nimport IconTrash from '../features/left-sidebar/icons/IconTrash';\nimport IconFavorites from '../features/left-sidebar/icons/IconFavorites';\nimport IconDevConsole from '../features/left-sidebar/icons/IconDevConsole';\n\nconst Swatch = styled.div`\n display: inline-block;\n background: ${p => p.color};\n border: 1px solid ${vars.bdlGray30};\n height: 1em;\n width: 1em;\n border-radius: ${vars.bdlBorderRadiusSize};\n`;\n\nconst BaseButton = styled(BoxButton)`\n background: ${props => props.theme.base.buttonBackground};\n border-color: ${props => props.theme.base.buttonBorder};\n color: ${props => props.theme.base.buttonForeground};\n\n font-weight: bold;\n border-radius: ${vars.bdlBorderRadiusSizeMed};\n font-size: ${vars.bdlFontSizeDejaBlue};\n\n .btn:not(.is-disabled)&:hover {\n background: ${props => props.theme.base.buttonBackgroundHover};\n border-color: ${props => props.theme.base.buttonBorderHover};\n }\n .btn:not(.is-disabled)&:active {\n background: ${props => props.theme.base.buttonBackgroundActive};\n border-color: ${props => props.theme.base.buttonBorderActive};\n }\n`;\n\nconst PrimaryButton = styled(BoxButton)`\n background: ${props => props.theme.primary.buttonBackground};\n border-color: ${props => props.theme.primary.buttonBorder};\n color: ${props => props.theme.primary.buttonForeground};\n\n font-weight: bold;\n border-radius: ${vars.bdlBorderRadiusSizeMed};\n font-size: ${vars.bdlFontSizeDejaBlue};\n\n .btn:not(.is-disabled)&:hover {\n background: ${props => props.theme.primary.buttonBackgroundHover};\n border-color: ${props => props.theme.primary.buttonBorderHover};\n }\n .btn:not(.is-disabled)&:active {\n background: ${props => props.theme.primary.buttonBackgroundActive};\n border-color: ${props => props.theme.primary.buttonBorderActive};\n }\n`;\n\nconst ThemeDemo = styled.div`\n width: 200px;\n min-height: 500px;\n padding: 8px;\n border-radius: ${vars.bdlBorderRadiusSize};\n display: flex;\n flex-direction: column;\n color: ${p => p.theme.primary.foreground};\n\n border: 1px solid ${p => p.theme.primary.border};\n background: ${p => p.theme.primary.background};\n`;\n\nconst ThemeDemoMenuItem = styled.div`\n cursor: pointer;\n padding: 8px 12px;\n margin: 2px 4px;\n border-radius: ${vars.bdlBorderRadiusSizeLarge};\n font-weight: bold;\n transition: 0.15s;\n border: 1px solid;\n border-color: transparent;\n &:hover {\n background: ${p => p.theme.primary.backgroundHover};\n }\n &.active,\n &:active {\n background: ${p => p.theme.primary.backgroundActive};\n }\n\n &:focus,\n &:active {\n border-color: ${p => p.theme.primary.foreground};\n }\n\n &.alt {\n background: ${p => p.theme.primary.backgroundHover};\n\n &:hover {\n background: ${p => p.theme.primary.backgroundActive};\n }\n }\n`;\n\nconst scroll = keyframes`\n 0% {\n right: 100%;\n left: 0%;\n }\n\n 50% {\n right: 0%;\n left: 0%;\n }\n\n 100% {\n right: 0%;\n left: 100%;\n }\n`;\n\nconst ThemeDemoProgressBar = styled.div`\n position: relative;\n display: inline-block;\n height: 6px;\n width: 300px;\n padding: 0;\n\n &::before {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n content: '';\n background-color: ${props => props.theme.primary.progressBarBackground};\n will-change: left, right;\n animation: 2s ${scroll} infinite;\n }\n`;\n\nconst ThemeDemoLogo = styled(BoxLogo)`\n width: 61px;\n height: 32px;\n margin: 4px 4px 16px 4px;\n & path,\n & .fill-color {\n fill: ${props => props.theme.primary.foreground};\n }\n`;\n\nconst ThemeDemoIcon = styled.span`\n margin-right: 8px;\n & svg {\n top: 2px;\n position: relative;\n }\n & path,\n & .fill-color {\n fill: ${props => props.theme.primary.foreground};\n }\n`;\n\nconst Footer = styled.div`\n flex: 1;\n display: flex;\n flex-direction: column;\n justify-content: flex-end;\n`;\n\nexport const ThemeExample = () => {\n const colorText = text('Primary Color Hex');\n const colorMap = color('Primary Color', '#0061d5');\n\n const colorHex = /^#[0-9A-F]{6}$/i.test(colorText) ? colorText : colorMap;\n\n const theme = colorHex ? createTheme(colorHex) : defaultTheme;\n\n return (\n <ThemeProvider theme={theme}>\n <div style={{ float: 'right' }}>\n <section>\n <h4>theme.primary</h4>\n {Object.entries(theme.primary)\n .filter(([key]) => key !== '_debug')\n .map(([key, val]) => (\n <div key={key}>\n <Swatch color={val} /> {key} <code>{val}</code>\n </div>\n ))}\n <span>Theme Color Range: {theme.primary._debug.colorRange}</span>\n <br />\n <h4>theme.base</h4>\n {Object.entries(theme.base).map(([key, val]) => (\n <div key={key}>\n <Swatch color={val} /> {key} <code>{val}</code>\n </div>\n ))}\n </section>\n </div>\n <div style={{ marginLeft: -5 }}>\n <BaseButton>Base</BaseButton>\n <PrimaryButton>Primary</PrimaryButton>\n </div>\n <br />\n <ThemeDemoProgressBar />\n <br />\n <br />\n <ThemeDemo>\n <ThemeDemoLogo />\n <ThemeDemoMenuItem className=\"active\">\n <ThemeDemoIcon>\n <IconAllFiles />\n </ThemeDemoIcon>\n All Files\n </ThemeDemoMenuItem>\n <ThemeDemoMenuItem>\n <ThemeDemoIcon>\n <IconRecents />\n </ThemeDemoIcon>\n Recents\n </ThemeDemoMenuItem>\n <ThemeDemoMenuItem>\n <ThemeDemoIcon>\n <IconFavorites />\n </ThemeDemoIcon>\n Favorites\n </ThemeDemoMenuItem>\n <ThemeDemoMenuItem>\n <ThemeDemoIcon>\n <IconTrash />\n </ThemeDemoIcon>\n Trash\n </ThemeDemoMenuItem>\n <Footer>\n <ThemeDemoMenuItem className=\"alt\">\n <ThemeDemoIcon>\n <IconNotes />\n </ThemeDemoIcon>\n Notes\n </ThemeDemoMenuItem>\n <ThemeDemoMenuItem className=\"alt\">\n <ThemeDemoIcon>\n <IconDevConsole />\n </ThemeDemoIcon>\n Developer Console\n </ThemeDemoMenuItem>\n </Footer>\n </ThemeDemo>\n <br />\n <section>\n <details>\n <summary>JSON Theme</summary>\n <pre>\n <code>{JSON.stringify(theme, null, 2)}</code>\n </pre>\n </details>\n </section>\n </ThemeProvider>\n );\n};\n\nexport default {\n title: 'Theming/Theme',\n component: ThemeExample,\n parameters: { notes },\n};\n"],"file":"createTheme.stories.js"}
@@ -11,7 +11,7 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
11
11
  */
12
12
  import has from 'lodash/has';
13
13
  import setProp from 'lodash/set';
14
- import { FIELD_ID, FIELD_NAME, FIELD_TYPE, FIELD_SIZE, FIELD_PARENT, FIELD_EXTENSION, FIELD_PERMISSIONS, FIELD_ITEM_COLLECTION, FIELD_ITEM_EXPIRATION, FIELD_PATH_COLLECTION, FIELD_CONTENT_CREATED_AT, FIELD_CONTENT_MODIFIED_AT, FIELD_MODIFIED_AT, FIELD_CREATED_AT, FIELD_SHARED_LINK, FIELD_ALLOWED_SHARED_LINK_ACCESS_LEVELS, FIELD_HAS_COLLABORATIONS, FIELD_IS_EXTERNALLY_OWNED, FIELD_CREATED_BY, FIELD_MODIFIED_BY, FIELD_OWNED_BY, FIELD_RESTORED_BY, FIELD_TRASHED_BY, FIELD_DESCRIPTION, FIELD_REPRESENTATIONS, FIELD_SHA1, FIELD_UPLOADER_DISPLAY_NAME, FIELD_WATERMARK_INFO, FIELD_AUTHENTICATED_DOWNLOAD_URL, FIELD_FILE_VERSION, FIELD_IS_DOWNLOAD_AVAILABLE, FIELD_VERSION_LIMIT, FIELD_VERSION_NUMBER, FIELD_METADATA_SKILLS, FIELD_TASK_ASSIGNMENT_COLLECTION, FIELD_IS_COMPLETED, FIELD_MESSAGE, FIELD_TAGGED_MESSAGE, FIELD_DUE_AT, FIELD_TRASHED_AT, FIELD_ASSIGNED_TO, FIELD_RESTORED_FROM, FIELD_RESTORED_AT, FIELD_STATUS, FIELD_ACTIVITY_TEMPLATE, FIELD_APP, FIELD_OCCURRED_AT, FIELD_RENDERED_TEXT, FIELD_RETENTION, FIELD_URL, PLACEHOLDER_USER } from '../constants'; // Minimum set of fields needed for folder requests
14
+ import { FIELD_ID, FIELD_NAME, FIELD_TYPE, FIELD_SIZE, FIELD_PARENT, FIELD_EXTENSION, FIELD_PERMISSIONS, FIELD_ITEM_COLLECTION, FIELD_ITEM_EXPIRATION, FIELD_PATH_COLLECTION, FIELD_CONTENT_CREATED_AT, FIELD_CONTENT_MODIFIED_AT, FIELD_MODIFIED_AT, FIELD_CREATED_AT, FIELD_SHARED_LINK, FIELD_ALLOWED_SHARED_LINK_ACCESS_LEVELS, FIELD_HAS_COLLABORATIONS, FIELD_IS_EXTERNALLY_OWNED, FIELD_CREATED_BY, FIELD_MODIFIED_BY, FIELD_OWNED_BY, FIELD_PROMOTED_BY, FIELD_RESTORED_BY, FIELD_TRASHED_BY, FIELD_DESCRIPTION, FIELD_REPRESENTATIONS, FIELD_SHA1, FIELD_UPLOADER_DISPLAY_NAME, FIELD_WATERMARK_INFO, FIELD_AUTHENTICATED_DOWNLOAD_URL, FIELD_FILE_VERSION, FIELD_IS_DOWNLOAD_AVAILABLE, FIELD_VERSION_LIMIT, FIELD_VERSION_NUMBER, FIELD_METADATA_SKILLS, FIELD_TASK_ASSIGNMENT_COLLECTION, FIELD_IS_COMPLETED, FIELD_MESSAGE, FIELD_TAGGED_MESSAGE, FIELD_DUE_AT, FIELD_TRASHED_AT, FIELD_ASSIGNED_TO, FIELD_RESTORED_FROM, FIELD_RESTORED_AT, FIELD_STATUS, FIELD_ACTIVITY_TEMPLATE, FIELD_APP, FIELD_OCCURRED_AT, FIELD_RENDERED_TEXT, FIELD_RETENTION, FIELD_URL, PLACEHOLDER_USER } from '../constants'; // Minimum set of fields needed for folder requests
15
15
 
16
16
  const FOLDER_FIELDS_TO_FETCH = [FIELD_ID, FIELD_NAME, FIELD_TYPE, FIELD_SIZE, FIELD_PARENT, FIELD_EXTENSION, FIELD_PERMISSIONS, FIELD_PATH_COLLECTION, FIELD_MODIFIED_AT, FIELD_CREATED_AT, FIELD_MODIFIED_BY, FIELD_HAS_COLLABORATIONS, FIELD_IS_EXTERNALLY_OWNED, FIELD_ITEM_COLLECTION, FIELD_AUTHENTICATED_DOWNLOAD_URL, FIELD_IS_DOWNLOAD_AVAILABLE, FIELD_REPRESENTATIONS, FIELD_URL]; // Fields needed for the sidebar
17
17
 
@@ -21,11 +21,11 @@ const PREVIEW_FIELDS_TO_FETCH = [FIELD_ID, FIELD_PERMISSIONS, FIELD_SHARED_LINK,
21
21
 
22
22
  const FEED_FILE_VERSIONS_FIELDS_TO_FETCH = [FIELD_CREATED_AT, FIELD_EXTENSION, FIELD_IS_DOWNLOAD_AVAILABLE, FIELD_MODIFIED_AT, FIELD_MODIFIED_BY, FIELD_NAME, FIELD_RESTORED_AT, FIELD_RESTORED_BY, FIELD_SIZE, FIELD_TRASHED_AT, FIELD_TRASHED_BY, FIELD_UPLOADER_DISPLAY_NAME, FIELD_VERSION_NUMBER]; // Fields needed to get information on the current version of a file
23
23
 
24
- const FILE_VERSION_FIELDS_TO_FETCH = [FIELD_FILE_VERSION, FIELD_MODIFIED_AT, FIELD_MODIFIED_BY, FIELD_RESTORED_FROM, FIELD_SIZE, FIELD_UPLOADER_DISPLAY_NAME, FIELD_VERSION_NUMBER]; // Fields needed to get versions for a file
24
+ const FILE_VERSION_FIELDS_TO_FETCH = [FIELD_FILE_VERSION, FIELD_MODIFIED_AT, FIELD_MODIFIED_BY, FIELD_RESTORED_FROM, FIELD_SIZE, FIELD_PROMOTED_BY, FIELD_UPLOADER_DISPLAY_NAME, FIELD_VERSION_NUMBER]; // Fields needed to get versions for a file
25
25
 
26
26
  const FILE_VERSIONS_FIELDS_TO_FETCH = [FIELD_AUTHENTICATED_DOWNLOAD_URL, // Expensive field to fetch
27
27
  FIELD_CREATED_AT, FIELD_EXTENSION, FIELD_IS_DOWNLOAD_AVAILABLE, FIELD_MODIFIED_AT, FIELD_MODIFIED_BY, FIELD_NAME, FIELD_PERMISSIONS, // Expensive field to fetch
28
- FIELD_RESTORED_AT, FIELD_RESTORED_BY, FIELD_RETENTION, // Expensive field to fetch
28
+ FIELD_PROMOTED_BY, FIELD_RESTORED_AT, FIELD_RESTORED_BY, FIELD_RETENTION, // Expensive field to fetch
29
29
  FIELD_SIZE, FIELD_TRASHED_AT, FIELD_TRASHED_BY, FIELD_UPLOADER_DISPLAY_NAME, FIELD_VERSION_NUMBER]; // Fields needed to show shared link permissions
30
30
 
31
31
  const FILE_SHARED_LINK_FIELDS_TO_FETCH = [FIELD_ALLOWED_SHARED_LINK_ACCESS_LEVELS, FIELD_SHARED_LINK]; // Fields needed to get tasks data
@@ -28,6 +28,7 @@ import {
28
28
  FIELD_CREATED_BY,
29
29
  FIELD_MODIFIED_BY,
30
30
  FIELD_OWNED_BY,
31
+ FIELD_PROMOTED_BY,
31
32
  FIELD_RESTORED_BY,
32
33
  FIELD_TRASHED_BY,
33
34
  FIELD_DESCRIPTION,
@@ -150,6 +151,7 @@ const FILE_VERSION_FIELDS_TO_FETCH = [
150
151
  FIELD_MODIFIED_BY,
151
152
  FIELD_RESTORED_FROM,
152
153
  FIELD_SIZE,
154
+ FIELD_PROMOTED_BY,
153
155
  FIELD_UPLOADER_DISPLAY_NAME,
154
156
  FIELD_VERSION_NUMBER,
155
157
  ];
@@ -164,6 +166,7 @@ const FILE_VERSIONS_FIELDS_TO_FETCH = [
164
166
  FIELD_MODIFIED_BY,
165
167
  FIELD_NAME,
166
168
  FIELD_PERMISSIONS, // Expensive field to fetch
169
+ FIELD_PROMOTED_BY,
167
170
  FIELD_RESTORED_AT,
168
171
  FIELD_RESTORED_BY,
169
172
  FIELD_RETENTION, // Expensive field to fetch