box-ui-elements 19.0.0-beta.8 → 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 (2051) 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/Feed.js +5 -3
  26. package/es/api/Feed.js.flow +8 -4
  27. package/es/api/Feed.js.map +1 -1
  28. package/es/api/Intelligence.js +45 -0
  29. package/es/api/Intelligence.js.flow +47 -0
  30. package/es/api/Intelligence.js.map +1 -0
  31. package/es/common/types/core.js.flow +1 -0
  32. package/es/common/types/core.js.map +1 -1
  33. package/es/components/accessible-svg/AccessibleSVG.stories.js +1 -1
  34. package/es/components/accessible-svg/AccessibleSVG.stories.js.map +1 -1
  35. package/es/components/avatar/Avatar.stories.js +1 -1
  36. package/es/components/avatar/Avatar.stories.js.map +1 -1
  37. package/es/components/badge/Badge.stories.js +1 -1
  38. package/es/components/badge/Badge.stories.js.map +1 -1
  39. package/es/components/badge/BetaBadge.stories.js +1 -1
  40. package/es/components/badge/BetaBadge.stories.js.map +1 -1
  41. package/es/components/badge/TrialBadge.stories.js +1 -1
  42. package/es/components/badge/TrialBadge.stories.js.map +1 -1
  43. package/es/components/badge/UpgradeBadge.stories.js +1 -1
  44. package/es/components/badge/UpgradeBadge.stories.js.map +1 -1
  45. package/es/components/breadcrumb/Breadcrumb.stories.js +1 -1
  46. package/es/components/breadcrumb/Breadcrumb.stories.js.flow +1 -1
  47. package/es/components/breadcrumb/Breadcrumb.stories.js.map +1 -1
  48. package/es/components/button/Button.stories.js +1 -1
  49. package/es/components/button/Button.stories.js.map +1 -1
  50. package/es/components/button-group/ButtonGroup.stories.js +1 -1
  51. package/es/components/button-group/ButtonGroup.stories.js.map +1 -1
  52. package/es/components/category-selector/CategorySelector.stories.js +1 -1
  53. package/es/components/category-selector/CategorySelector.stories.js.map +1 -1
  54. package/es/components/checkbox/Checkbox.stories.js +1 -1
  55. package/es/components/checkbox/Checkbox.stories.js.map +1 -1
  56. package/es/components/close-button/CloseButton.stories.js +1 -1
  57. package/es/components/close-button/CloseButton.stories.js.map +1 -1
  58. package/es/components/collapsible/Collapsible.stories.js +1 -1
  59. package/es/components/collapsible/Collapsible.stories.js.map +1 -1
  60. package/es/components/contact-datalist-item/ContactDatalistItem.stories.js +1 -1
  61. package/es/components/contact-datalist-item/ContactDatalistItem.stories.js.map +1 -1
  62. package/es/components/context-menu/ContextMenu.stories.js +1 -1
  63. package/es/components/context-menu/ContextMenu.stories.js.map +1 -1
  64. package/es/components/count-badge/CountBadge.stories.js +1 -1
  65. package/es/components/count-badge/CountBadge.stories.js.map +1 -1
  66. package/es/components/datalist-item/DatalistItem.stories.js +1 -1
  67. package/es/components/datalist-item/DatalistItem.stories.js.map +1 -1
  68. package/es/components/date-picker/DatePicker.stories.js +1 -1
  69. package/es/components/date-picker/DatePicker.stories.js.map +1 -1
  70. package/es/components/draft-js-editor/DraftJSEditor.stories.js +1 -1
  71. package/es/components/draft-js-editor/DraftJSEditor.stories.js.flow +1 -1
  72. package/es/components/draft-js-editor/DraftJSEditor.stories.js.map +1 -1
  73. package/es/components/draggable-list/DraggableList.stories.js +1 -1
  74. package/es/components/draggable-list/DraggableList.stories.js.map +1 -1
  75. package/es/components/dropdown-menu/DropdownMenu.stories.js +1 -1
  76. package/es/components/dropdown-menu/DropdownMenu.stories.js.flow +1 -1
  77. package/es/components/dropdown-menu/DropdownMenu.stories.js.map +1 -1
  78. package/es/components/error-mask/ErrorMask.stories.js +1 -1
  79. package/es/components/error-mask/ErrorMask.stories.js.map +1 -1
  80. package/es/components/fieldset/Fieldset.stories.js +1 -1
  81. package/es/components/fieldset/Fieldset.stories.js.map +1 -1
  82. package/es/components/flyout/Flyout.stories.js +1 -1
  83. package/es/components/flyout/Flyout.stories.js.map +1 -1
  84. package/es/components/flyout/OverlayHeader.js +2 -1
  85. package/es/components/flyout/OverlayHeader.js.map +1 -1
  86. package/es/components/footer-indicator/FooterIndicator.stories.js +1 -1
  87. package/es/components/footer-indicator/FooterIndicator.stories.js.map +1 -1
  88. package/es/components/form-elements/form/Form.stories.js +1 -1
  89. package/es/components/form-elements/form/Form.stories.js.flow +1 -1
  90. package/es/components/form-elements/form/Form.stories.js.map +1 -1
  91. package/es/components/form-elements/formik/Formik.stories.js +1 -1
  92. package/es/components/form-elements/formik/Formik.stories.js.flow +1 -1
  93. package/es/components/form-elements/formik/Formik.stories.js.map +1 -1
  94. package/es/components/form-elements/text-area/TextArea.stories.js +1 -1
  95. package/es/components/form-elements/text-area/TextArea.stories.js.flow +1 -1
  96. package/es/components/form-elements/text-area/TextArea.stories.js.map +1 -1
  97. package/es/components/form-elements/text-input/TextInput.stories.js +1 -1
  98. package/es/components/form-elements/text-input/TextInput.stories.js.flow +1 -1
  99. package/es/components/form-elements/text-input/TextInput.stories.js.map +1 -1
  100. package/es/components/ghost/Ghost.stories.js +1 -1
  101. package/es/components/ghost/Ghost.stories.js.map +1 -1
  102. package/es/components/guide-tooltip/GuideTooltip.stories.js +1 -1
  103. package/es/components/guide-tooltip/GuideTooltip.stories.js.map +1 -1
  104. package/es/components/header/Header.stories.js +1 -1
  105. package/es/components/header/Header.stories.js.map +1 -1
  106. package/es/components/image-tooltip/ImageTooltip.stories.js +1 -1
  107. package/es/components/image-tooltip/ImageTooltip.stories.js.map +1 -1
  108. package/es/components/inline-error/InlineError.stories.js +1 -1
  109. package/es/components/inline-error/InlineError.stories.js.flow +1 -1
  110. package/es/components/inline-error/InlineError.stories.js.map +1 -1
  111. package/es/components/inline-notice/InlineNotice.stories.js +1 -1
  112. package/es/components/inline-notice/InlineNotice.stories.js.flow +1 -1
  113. package/es/components/inline-notice/InlineNotice.stories.js.map +1 -1
  114. package/es/components/label/HiddenLabel.js +13 -7
  115. package/es/components/label/HiddenLabel.js.flow +3 -2
  116. package/es/components/label/HiddenLabel.js.map +1 -1
  117. package/es/components/label/Label.js +5 -2
  118. package/es/components/label/Label.js.flow +5 -3
  119. package/es/components/label/Label.js.map +1 -1
  120. package/es/components/label/Label.stories.js +1 -1
  121. package/es/components/label/Label.stories.js.map +1 -1
  122. package/es/components/label/LabelPrimitive.js +4 -3
  123. package/es/components/label/LabelPrimitive.js.flow +3 -2
  124. package/es/components/label/LabelPrimitive.js.map +1 -1
  125. package/es/components/label/StandardLabel.js +8 -5
  126. package/es/components/label/StandardLabel.js.flow +3 -2
  127. package/es/components/label/StandardLabel.js.map +1 -1
  128. package/es/components/label-pill/LabelPill.stories.js +1 -1
  129. package/es/components/label-pill/LabelPill.stories.js.map +1 -1
  130. package/es/components/link/stories/Link.stories.js +6 -4
  131. package/es/components/link/stories/Link.stories.js.map +1 -1
  132. package/es/components/link/stories/LinkButton.stories.js +8 -5
  133. package/es/components/link/stories/LinkButton.stories.js.map +1 -1
  134. package/es/components/link/stories/LinkGroup.stories.js +1 -1
  135. package/es/components/link/stories/LinkGroup.stories.js.map +1 -1
  136. package/es/components/link/stories/LinkPrimaryButton.stories.js +6 -4
  137. package/es/components/link/stories/LinkPrimaryButton.stories.js.map +1 -1
  138. package/es/components/loading-indicator/LoadingIndicator.stories.js +1 -1
  139. package/es/components/loading-indicator/LoadingIndicator.stories.js.map +1 -1
  140. package/es/components/loading-indicator/LoadingIndicatorWrapper.stories.js +1 -1
  141. package/es/components/loading-indicator/LoadingIndicatorWrapper.stories.js.map +1 -1
  142. package/es/components/loading-indicator/makeLoadable.js.map +1 -1
  143. package/es/components/logo/Logo.stories.js +1 -1
  144. package/es/components/logo/Logo.stories.js.map +1 -1
  145. package/es/components/media/stories/Media.stories.js +1 -1
  146. package/es/components/media/stories/Media.stories.js.map +1 -1
  147. package/es/components/media/stories/MediaBody.stories.js +1 -1
  148. package/es/components/media/stories/MediaBody.stories.js.map +1 -1
  149. package/es/components/media/stories/MediaFigure.stories.js +1 -1
  150. package/es/components/media/stories/MediaFigure.stories.js.map +1 -1
  151. package/es/components/media/stories/MediaMenu.stories.js +1 -1
  152. package/es/components/media/stories/MediaMenu.stories.js.map +1 -1
  153. package/es/components/media-query/stories/MediaQuery.stories.js +1 -1
  154. package/es/components/media-query/stories/MediaQuery.stories.js.flow +1 -1
  155. package/es/components/media-query/stories/MediaQuery.stories.js.map +1 -1
  156. package/es/components/menu/stories/Menu.stories.js +1 -1
  157. package/es/components/menu/stories/Menu.stories.js.map +1 -1
  158. package/es/components/menu/stories/SelectMenuLinkItem.stories.js +1 -1
  159. package/es/components/menu/stories/SelectMenuLinkItem.stories.js.map +1 -1
  160. package/es/components/modal/Modal.scss +62 -69
  161. package/es/components/modal/stories/Modal.stories.js +1 -1
  162. package/es/components/modal/stories/Modal.stories.js.flow +1 -1
  163. package/es/components/modal/stories/Modal.stories.js.map +1 -1
  164. package/es/components/modal/stories/ModalActions.stories.js +1 -1
  165. package/es/components/modal/stories/ModalActions.stories.js.flow +1 -1
  166. package/es/components/modal/stories/ModalActions.stories.js.map +1 -1
  167. package/es/components/modal/stories/ModalDialog.stories.js +1 -1
  168. package/es/components/modal/stories/ModalDialog.stories.js.flow +1 -1
  169. package/es/components/modal/stories/ModalDialog.stories.js.map +1 -1
  170. package/es/components/nav-sidebar/NavSidebar.stories.js +1 -1
  171. package/es/components/nav-sidebar/NavSidebar.stories.js.flow +1 -1
  172. package/es/components/nav-sidebar/NavSidebar.stories.js.map +1 -1
  173. package/es/components/notification/stories/Notification.stories.js +1 -1
  174. package/es/components/notification/stories/Notification.stories.js.flow +1 -1
  175. package/es/components/notification/stories/Notification.stories.js.map +1 -1
  176. package/es/components/notification/stories/NotificationsWrapper.stories.js +1 -1
  177. package/es/components/notification/stories/NotificationsWrapper.stories.js.flow +1 -1
  178. package/es/components/notification/stories/NotificationsWrapper.stories.js.map +1 -1
  179. package/es/components/nudge/Nudge.stories.js +1 -1
  180. package/es/components/nudge/Nudge.stories.js.map +1 -1
  181. package/es/components/pill-cloud/PillCloud.stories.js +1 -1
  182. package/es/components/pill-cloud/PillCloud.stories.js.flow +1 -1
  183. package/es/components/pill-cloud/PillCloud.stories.js.map +1 -1
  184. package/es/components/pill-selector-dropdown/PillSelector.js +7 -3
  185. package/es/components/pill-selector-dropdown/PillSelector.js.flow +10 -2
  186. package/es/components/pill-selector-dropdown/PillSelector.js.map +1 -1
  187. package/es/components/pill-selector-dropdown/PillSelector.scss +4 -0
  188. package/es/components/pill-selector-dropdown/PillSelectorDropdown.stories.js +1 -1
  189. package/es/components/pill-selector-dropdown/PillSelectorDropdown.stories.js.flow +1 -1
  190. package/es/components/pill-selector-dropdown/PillSelectorDropdown.stories.js.map +1 -1
  191. package/es/components/plain-button/PlainButton.stories.js +1 -1
  192. package/es/components/plain-button/PlainButton.stories.js.map +1 -1
  193. package/es/components/primary-button/PrimaryButton.stories.js +1 -1
  194. package/es/components/primary-button/PrimaryButton.stories.js.map +1 -1
  195. package/es/components/radar/RadarAnimation.stories.js +1 -1
  196. package/es/components/radar/RadarAnimation.stories.js.map +1 -1
  197. package/es/components/radio/stories/RadioButton.stories.js +1 -1
  198. package/es/components/radio/stories/RadioButton.stories.js.map +1 -1
  199. package/es/components/radio/stories/RadioGroup.stories.js +1 -1
  200. package/es/components/radio/stories/RadioGroup.stories.js.map +1 -1
  201. package/es/components/search-form/SearchActions.js +35 -0
  202. package/es/components/search-form/SearchActions.js.map +1 -0
  203. package/es/components/search-form/SearchForm.js +11 -39
  204. package/es/components/search-form/SearchForm.js.flow +10 -54
  205. package/es/components/search-form/SearchForm.js.map +1 -1
  206. package/es/components/search-form/messages.js +17 -0
  207. package/es/components/search-form/messages.js.map +1 -0
  208. package/es/components/section/Section.stories.js +1 -1
  209. package/es/components/section/Section.stories.js.map +1 -1
  210. package/es/components/select/Select.stories.js +1 -1
  211. package/es/components/select/Select.stories.js.flow +1 -1
  212. package/es/components/select/Select.stories.js.map +1 -1
  213. package/es/components/select-button/SelectButton.stories.js +1 -1
  214. package/es/components/select-button/SelectButton.stories.js.flow +1 -1
  215. package/es/components/select-button/SelectButton.stories.js.map +1 -1
  216. package/es/components/selector-dropdown/SelectorDropdown.stories.js +1 -1
  217. package/es/components/selector-dropdown/SelectorDropdown.stories.js.flow +1 -1
  218. package/es/components/selector-dropdown/SelectorDropdown.stories.js.map +1 -1
  219. package/es/components/sidebar-toggle-button/SidebarToggleButton.stories.js +1 -1
  220. package/es/components/sidebar-toggle-button/SidebarToggleButton.stories.js.flow +1 -1
  221. package/es/components/sidebar-toggle-button/SidebarToggleButton.stories.js.map +1 -1
  222. package/es/components/tab-view/TabView.stories.js +1 -1
  223. package/es/components/tab-view/TabView.stories.js.flow +1 -1
  224. package/es/components/tab-view/TabView.stories.js.map +1 -1
  225. package/es/components/text-input/TextInput.stories.js +1 -1
  226. package/es/components/text-input/TextInput.stories.js.flow +1 -1
  227. package/es/components/text-input/TextInput.stories.js.map +1 -1
  228. package/es/components/text-input-with-copy-button/TextInputWithCopyButton.js +9 -3
  229. package/es/components/text-input-with-copy-button/TextInputWithCopyButton.js.flow +9 -4
  230. package/es/components/text-input-with-copy-button/TextInputWithCopyButton.js.map +1 -1
  231. package/es/components/text-input-with-copy-button/TextInputWithCopyButton.stories.js +1 -1
  232. package/es/components/text-input-with-copy-button/TextInputWithCopyButton.stories.js.flow +1 -1
  233. package/es/components/text-input-with-copy-button/TextInputWithCopyButton.stories.js.map +1 -1
  234. package/es/components/thumbnail-card/ThumbnailCard.stories.js +1 -1
  235. package/es/components/thumbnail-card/ThumbnailCard.stories.js.flow +1 -1
  236. package/es/components/thumbnail-card/ThumbnailCard.stories.js.map +1 -1
  237. package/es/components/time/ReadableTime.stories.js +1 -1
  238. package/es/components/time/ReadableTime.stories.js.flow +1 -1
  239. package/es/components/time/ReadableTime.stories.js.map +1 -1
  240. package/es/components/time-input/TimeInput.stories.js +1 -1
  241. package/es/components/time-input/TimeInput.stories.js.map +1 -1
  242. package/es/components/toggle/Toggle.stories.js +1 -1
  243. package/es/components/toggle/Toggle.stories.js.flow +1 -1
  244. package/es/components/toggle/Toggle.stories.js.map +1 -1
  245. package/es/components/tooltip/Tooltip.stories.js +1 -1
  246. package/es/components/tooltip/Tooltip.stories.js.map +1 -1
  247. package/es/constants.js +1 -0
  248. package/es/constants.js.flow +1 -0
  249. package/es/constants.js.map +1 -1
  250. package/es/elements/common/_variables.scss +1 -0
  251. package/es/elements/common/current-user/withCurrentUser.js +1 -0
  252. package/es/elements/common/current-user/withCurrentUser.js.map +1 -1
  253. package/es/elements/common/selectors/version.js +2 -1
  254. package/es/elements/common/selectors/version.js.flow +2 -1
  255. package/es/elements/common/selectors/version.js.map +1 -1
  256. package/es/elements/content-explorer/ContentExplorer.js +2 -0
  257. package/es/elements/content-explorer/ContentExplorer.js.flow +10 -4
  258. package/es/elements/content-explorer/ContentExplorer.js.map +1 -1
  259. package/es/elements/content-explorer/MoreOptions.js +1 -1
  260. package/es/elements/content-explorer/MoreOptions.js.flow +1 -1
  261. package/es/elements/content-explorer/MoreOptions.js.map +1 -1
  262. package/es/elements/content-explorer/PreviewDialog.js +0 -1
  263. package/es/elements/content-explorer/PreviewDialog.js.flow +0 -1
  264. package/es/elements/content-explorer/PreviewDialog.js.map +1 -1
  265. package/es/elements/content-explorer/stories/ContentExplorer.stories.js +25 -35
  266. package/es/elements/content-explorer/stories/ContentExplorer.stories.js.flow +25 -36
  267. package/es/elements/content-explorer/stories/ContentExplorer.stories.js.map +1 -1
  268. package/es/elements/content-explorer/stories/DeleteConfirmationDialog.stories.js +1 -1
  269. package/es/elements/content-explorer/stories/DeleteConfirmationDialog.stories.js.flow +1 -1
  270. package/es/elements/content-explorer/stories/DeleteConfirmationDialog.stories.js.map +1 -1
  271. package/es/elements/content-explorer/stories/ShareDialog.stories.js +1 -1
  272. package/es/elements/content-explorer/stories/ShareDialog.stories.js.flow +1 -1
  273. package/es/elements/content-explorer/stories/ShareDialog.stories.js.map +1 -1
  274. package/es/elements/content-picker/ContentPicker.js +2 -2
  275. package/es/elements/content-picker/ContentPicker.js.flow +2 -2
  276. package/es/elements/content-picker/ContentPicker.js.map +1 -1
  277. package/es/elements/content-picker/Footer.scss +6 -0
  278. package/es/elements/content-preview/ContentPreview.js +20 -10
  279. package/es/elements/content-preview/ContentPreview.js.flow +88 -64
  280. package/es/elements/content-preview/ContentPreview.js.map +1 -1
  281. package/es/elements/content-preview/ContentPreview.scss +13 -28
  282. package/es/elements/content-preview/preview-header/PreviewHeader.js +8 -2
  283. package/es/elements/content-preview/preview-header/PreviewHeader.js.flow +6 -0
  284. package/es/elements/content-preview/preview-header/PreviewHeader.js.map +1 -1
  285. package/es/elements/content-preview/stories/ContentPreview.stories.js +32 -46
  286. package/es/elements/content-preview/stories/ContentPreview.stories.js.flow +51 -81
  287. package/es/elements/content-preview/stories/ContentPreview.stories.js.map +1 -1
  288. package/es/elements/content-sharing/stories/ContentSharing.stories.js +19 -63
  289. package/es/elements/content-sharing/stories/ContentSharing.stories.js.flow +18 -84
  290. package/es/elements/content-sharing/stories/ContentSharing.stories.js.map +1 -1
  291. package/es/elements/content-sidebar/ActivitySidebar.js +22 -17
  292. package/es/elements/content-sidebar/ActivitySidebar.js.flow +2 -2
  293. package/es/elements/content-sidebar/ActivitySidebar.js.map +1 -1
  294. package/es/elements/content-sidebar/ContentSidebar.scss +9 -9
  295. package/es/elements/content-sidebar/SidebarContent.scss +6 -8
  296. package/es/elements/content-sidebar/SidebarNav.scss +22 -20
  297. package/es/elements/content-sidebar/SidebarNavButton.scss +12 -14
  298. package/es/elements/content-sidebar/SidebarNavSignButton.scss +6 -8
  299. package/es/elements/content-sidebar/activity-feed/activity-feed/ActiveState.js +13 -1
  300. package/es/elements/content-sidebar/activity-feed/activity-feed/ActiveState.js.flow +20 -2
  301. package/es/elements/content-sidebar/activity-feed/activity-feed/ActiveState.js.map +1 -1
  302. package/es/elements/content-sidebar/activity-feed/activity-feed/ActivityFeed.js.flow +7 -6
  303. package/es/elements/content-sidebar/activity-feed/activity-feed/ActivityFeed.js.map +1 -1
  304. package/es/elements/content-sidebar/activity-feed/activity-feed/ActivityFeed.scss +6 -4
  305. package/es/elements/content-sidebar/activity-feed/activity-feed/ActivityItem.scss +2 -2
  306. package/es/elements/content-sidebar/activity-feed/activity-feed/stories/ActivityFeed.stories.js +61 -0
  307. package/es/elements/content-sidebar/activity-feed/activity-feed/stories/ActivityFeed.stories.js.flow +70 -0
  308. package/es/elements/content-sidebar/activity-feed/activity-feed/stories/ActivityFeed.stories.js.map +1 -0
  309. package/es/elements/content-sidebar/activity-feed/annotation-thread/AnnotationThreadContent.js.flow +2 -2
  310. package/es/elements/content-sidebar/activity-feed/annotation-thread/AnnotationThreadContent.js.map +1 -1
  311. package/es/elements/content-sidebar/activity-feed/annotation-thread/useAnnotationThread.js +11 -6
  312. package/es/elements/content-sidebar/activity-feed/annotation-thread/useAnnotationThread.js.flow +3 -7
  313. package/es/elements/content-sidebar/activity-feed/annotation-thread/useAnnotationThread.js.map +1 -1
  314. package/es/elements/content-sidebar/activity-feed/annotations/AnnotationActivity.js +5 -1
  315. package/es/elements/content-sidebar/activity-feed/annotations/AnnotationActivity.js.flow +3 -3
  316. package/es/elements/content-sidebar/activity-feed/annotations/AnnotationActivity.js.map +1 -1
  317. package/es/elements/content-sidebar/activity-feed/comment/BaseComment.js +50 -142
  318. package/es/elements/content-sidebar/activity-feed/comment/BaseComment.js.flow +59 -166
  319. package/es/elements/content-sidebar/activity-feed/comment/BaseComment.js.map +1 -1
  320. package/es/elements/content-sidebar/activity-feed/comment/BaseComment.scss +34 -12
  321. package/es/elements/content-sidebar/activity-feed/comment/CreateReply.js +6 -5
  322. package/es/elements/content-sidebar/activity-feed/comment/CreateReply.js.flow +5 -4
  323. package/es/elements/content-sidebar/activity-feed/comment/CreateReply.js.map +1 -1
  324. package/es/elements/content-sidebar/activity-feed/comment/Replies.scss +4 -2
  325. package/es/elements/content-sidebar/activity-feed/comment/components/BaseCommentInfo.js +48 -0
  326. package/es/elements/content-sidebar/activity-feed/comment/components/BaseCommentInfo.js.flow +72 -0
  327. package/es/elements/content-sidebar/activity-feed/comment/components/BaseCommentInfo.js.map +1 -0
  328. package/es/elements/content-sidebar/activity-feed/comment/components/BaseCommentInfo.scss +38 -0
  329. package/es/elements/content-sidebar/activity-feed/comment/components/BaseCommentMenu.js +75 -0
  330. package/es/elements/content-sidebar/activity-feed/comment/components/BaseCommentMenu.js.flow +125 -0
  331. package/es/elements/content-sidebar/activity-feed/comment/components/BaseCommentMenu.js.map +1 -0
  332. package/es/elements/content-sidebar/activity-feed/comment/components/BaseCommentMenu.scss +4 -0
  333. package/es/elements/content-sidebar/activity-feed/comment/components/BaseCommentMenuWrapper.js +78 -0
  334. package/es/elements/content-sidebar/activity-feed/comment/components/BaseCommentMenuWrapper.js.flow +91 -0
  335. package/es/elements/content-sidebar/activity-feed/comment/components/BaseCommentMenuWrapper.js.map +1 -0
  336. package/es/elements/content-sidebar/activity-feed/comment/components/stories/BaseCommentInfo.stories.js +25 -0
  337. package/es/elements/content-sidebar/activity-feed/comment/components/stories/BaseCommentInfo.stories.js.flow +25 -0
  338. package/es/elements/content-sidebar/activity-feed/comment/components/stories/BaseCommentInfo.stories.js.map +1 -0
  339. package/es/elements/content-sidebar/activity-feed/comment/components/stories/BaseCommentMenu.stories.js +37 -0
  340. package/es/elements/content-sidebar/activity-feed/comment/components/stories/BaseCommentMenu.stories.js.flow +26 -0
  341. package/es/elements/content-sidebar/activity-feed/comment/components/stories/BaseCommentMenu.stories.js.map +1 -0
  342. package/es/elements/content-sidebar/activity-feed/comment/components/stories/common.js +23 -0
  343. package/es/elements/content-sidebar/activity-feed/comment/components/stories/common.js.flow +28 -0
  344. package/es/elements/content-sidebar/activity-feed/comment/components/stories/common.js.map +1 -0
  345. package/es/elements/content-sidebar/activity-feed/comment/messages.js +4 -4
  346. package/es/elements/content-sidebar/activity-feed/comment/messages.js.flow +5 -5
  347. package/es/elements/content-sidebar/activity-feed/comment/messages.js.map +1 -1
  348. package/es/elements/content-sidebar/activity-feed/comment/stories/BaseComment.stories.js +1 -1
  349. package/es/elements/content-sidebar/activity-feed/comment/stories/BaseComment.stories.js.flow +1 -1
  350. package/es/elements/content-sidebar/activity-feed/comment/stories/BaseComment.stories.js.map +1 -1
  351. package/es/elements/content-sidebar/activity-feed/comment/stories/common.js +1 -1
  352. package/es/elements/content-sidebar/activity-feed/comment/stories/common.js.flow +1 -1
  353. package/es/elements/content-sidebar/activity-feed/comment/stories/common.js.map +1 -1
  354. package/es/elements/content-sidebar/activity-feed/comment/types.js.flow +13 -0
  355. package/es/elements/content-sidebar/activity-feed/comment-form/CommentForm.js +8 -4
  356. package/es/elements/content-sidebar/activity-feed/comment-form/CommentForm.js.flow +11 -3
  357. package/es/elements/content-sidebar/activity-feed/comment-form/CommentForm.js.map +1 -1
  358. package/es/elements/content-sidebar/activity-feed/common/delete-confirmation/DeleteConfirmation.js +2 -0
  359. package/es/elements/content-sidebar/activity-feed/common/delete-confirmation/DeleteConfirmation.js.flow +2 -0
  360. package/es/elements/content-sidebar/activity-feed/common/delete-confirmation/DeleteConfirmation.js.map +1 -1
  361. package/es/elements/content-sidebar/activity-feed/common/delete-confirmation/DeleteConfirmation.scss +1 -1
  362. package/es/elements/content-sidebar/activity-feed/task-new/Task.js +7 -3
  363. package/es/elements/content-sidebar/activity-feed/task-new/Task.js.flow +7 -2
  364. package/es/elements/content-sidebar/activity-feed/task-new/Task.js.map +1 -1
  365. package/es/elements/content-sidebar/activity-feed/task-new/messages.js +8 -0
  366. package/es/elements/content-sidebar/activity-feed/task-new/messages.js.flow +10 -0
  367. package/es/elements/content-sidebar/activity-feed/task-new/messages.js.map +1 -1
  368. package/es/elements/content-sidebar/stories/ContentSidebar.stories.js +18 -27
  369. package/es/elements/content-sidebar/stories/ContentSidebar.stories.js.flow +19 -28
  370. package/es/elements/content-sidebar/stories/ContentSidebar.stories.js.map +1 -1
  371. package/es/elements/content-sidebar/versions/VersionsItem.scss +6 -0
  372. package/es/elements/content-uploader/ItemName.scss +1 -1
  373. package/es/elements/content-uploader/ProgressBar.scss +4 -0
  374. package/es/elements/content-uploader/stories/ContentUploader.stories.js +6 -13
  375. package/es/elements/content-uploader/stories/ContentUploader.stories.js.flow +7 -11
  376. package/es/elements/content-uploader/stories/ContentUploader.stories.js.map +1 -1
  377. package/es/features/collaborator-avatars/CollaboratorList.scss +11 -1
  378. package/es/features/collapsible-sidebar/CollapsibleSidebar.stories.js +1 -1
  379. package/es/features/collapsible-sidebar/CollapsibleSidebar.stories.js.flow +1 -1
  380. package/es/features/collapsible-sidebar/CollapsibleSidebar.stories.js.map +1 -1
  381. package/es/features/content-answers/Answer.js +18 -0
  382. package/es/features/content-answers/Answer.js.map +1 -0
  383. package/es/features/content-answers/Answer.scss +4 -0
  384. package/es/features/content-answers/ContentAnswers.js +46 -0
  385. package/es/features/content-answers/ContentAnswers.js.map +1 -0
  386. package/es/features/content-answers/ContentAnswersGridCard.js +24 -0
  387. package/es/features/content-answers/ContentAnswersGridCard.js.map +1 -0
  388. package/es/features/content-answers/ContentAnswersGridCard.scss +26 -0
  389. package/es/features/content-answers/ContentAnswersModal.js +111 -0
  390. package/es/features/content-answers/ContentAnswersModal.js.map +1 -0
  391. package/es/features/content-answers/ContentAnswersModal.scss +56 -0
  392. package/es/features/content-answers/ContentAnswersModalContent.js +60 -0
  393. package/es/features/content-answers/ContentAnswersModalContent.js.map +1 -0
  394. package/es/features/content-answers/ContentAnswersModalContent.scss +12 -0
  395. package/es/features/content-answers/ContentAnswersModalError.js +23 -0
  396. package/es/features/content-answers/ContentAnswersModalError.js.map +1 -0
  397. package/es/features/content-answers/ContentAnswersModalError.scss +28 -0
  398. package/es/features/content-answers/ContentAnswersModalFooter.js +93 -0
  399. package/es/features/content-answers/ContentAnswersModalFooter.js.map +1 -0
  400. package/es/features/content-answers/ContentAnswersModalFooter.scss +42 -0
  401. package/es/features/content-answers/ContentAnswersModalFooterActions.js +38 -0
  402. package/es/features/content-answers/ContentAnswersModalFooterActions.js.map +1 -0
  403. package/es/features/content-answers/ContentAnswersModalFooterActions.scss +17 -0
  404. package/es/features/content-answers/ContentAnswersOpenButton.js +69 -0
  405. package/es/features/content-answers/ContentAnswersOpenButton.js.map +1 -0
  406. package/es/features/content-answers/ContentAnswersOpenButton.scss +54 -0
  407. package/es/features/content-answers/InlineError.js +29 -0
  408. package/es/features/content-answers/InlineError.js.map +1 -0
  409. package/es/features/content-answers/InlineError.scss +39 -0
  410. package/es/features/content-answers/LoadingElement.js +17 -0
  411. package/es/features/content-answers/LoadingElement.js.map +1 -0
  412. package/es/features/content-answers/LoadingElement.scss +4 -0
  413. package/es/features/content-answers/Question.js +27 -0
  414. package/es/features/content-answers/Question.js.map +1 -0
  415. package/es/features/content-answers/Question.scss +16 -0
  416. package/es/features/content-answers/WelcomeMessage.js +32 -0
  417. package/es/features/content-answers/WelcomeMessage.js.map +1 -0
  418. package/es/features/content-answers/WelcomeMessage.scss +25 -0
  419. package/es/features/content-answers/constants.js +10 -0
  420. package/es/features/content-answers/constants.js.map +1 -0
  421. package/es/features/content-answers/index.js +2 -0
  422. package/es/features/content-answers/index.js.map +1 -0
  423. package/es/features/content-answers/messages.js +69 -0
  424. package/es/features/content-answers/messages.js.map +1 -0
  425. package/es/features/content-explorer/content-explorer/ContentExplorer.js +21 -12
  426. package/es/features/content-explorer/content-explorer/ContentExplorer.js.flow +19 -15
  427. package/es/features/content-explorer/content-explorer/ContentExplorer.js.map +1 -1
  428. package/es/features/content-explorer/content-explorer/ContentExplorer.scss +4 -0
  429. package/es/features/content-explorer/content-explorer/ContentExplorerBreadcrumbs.js +1 -0
  430. package/es/features/content-explorer/content-explorer/ContentExplorerBreadcrumbs.js.flow +2 -0
  431. package/es/features/content-explorer/content-explorer/ContentExplorerBreadcrumbs.js.map +1 -1
  432. package/es/features/content-explorer/content-explorer-modal/ContentExplorerModal.js.flow +1 -0
  433. package/es/features/content-explorer/content-explorer-modal/ContentExplorerModal.js.map +1 -1
  434. package/es/features/content-explorer/content-explorer-modal-container/ContentExplorerModalContainer.js +3 -0
  435. package/es/features/content-explorer/content-explorer-modal-container/ContentExplorerModalContainer.js.flow +2 -0
  436. package/es/features/content-explorer/content-explorer-modal-container/ContentExplorerModalContainer.js.map +1 -1
  437. package/es/features/pagination/Pagination.scss +0 -4
  438. package/es/features/sandbox-banner/SandboxBanner.stories.js +1 -1
  439. package/es/features/sandbox-banner/SandboxBanner.stories.js.map +1 -1
  440. package/es/features/security-cloud-game/stories/SecurityCloudGame.stories.js +1 -1
  441. package/es/features/security-cloud-game/stories/SecurityCloudGame.stories.js.flow +1 -1
  442. package/es/features/security-cloud-game/stories/SecurityCloudGame.stories.js.map +1 -1
  443. package/es/features/shared-link-modal/stories/SharedLink.stories.js +1 -1
  444. package/es/features/shared-link-modal/stories/SharedLink.stories.js.flow +1 -1
  445. package/es/features/shared-link-modal/stories/SharedLink.stories.js.map +1 -1
  446. package/es/features/shared-link-modal/stories/SharedLinkModal.stories.js +1 -1
  447. package/es/features/shared-link-modal/stories/SharedLinkModal.stories.js.flow +1 -1
  448. package/es/features/shared-link-modal/stories/SharedLinkModal.stories.js.map +1 -1
  449. package/es/features/shared-link-settings-modal/SharedLinkSettingsModal.stories.js +1 -1
  450. package/es/features/shared-link-settings-modal/SharedLinkSettingsModal.stories.js.flow +1 -1
  451. package/es/features/shared-link-settings-modal/SharedLinkSettingsModal.stories.js.map +1 -1
  452. package/es/features/targeting/hocs/withTargetedClickThrough.js +13 -3
  453. package/es/features/targeting/hocs/withTargetedClickThrough.js.flow +10 -1
  454. package/es/features/targeting/hocs/withTargetedClickThrough.js.map +1 -1
  455. package/es/features/targeting/types.js.flow +1 -0
  456. package/es/features/targeting/types.js.map +1 -1
  457. package/es/features/unified-share-modal/UnifiedShareModal.scss +61 -79
  458. package/es/features/unified-share-modal/stories/UnifiedShareModal.stories.js +1 -1
  459. package/es/features/unified-share-modal/stories/UnifiedShareModal.stories.js.flow +1 -1
  460. package/es/features/unified-share-modal/stories/UnifiedShareModal.stories.js.map +1 -1
  461. package/es/features/virtualized-table/DraggableVirtualizedTable.stories.js +1 -1
  462. package/es/features/virtualized-table/DraggableVirtualizedTable.stories.js.flow +1 -1
  463. package/es/features/virtualized-table/DraggableVirtualizedTable.stories.js.map +1 -1
  464. package/es/icon/content/ContentSharing32.stories.js +1 -1
  465. package/es/icon/content/ContentSharing32.stories.js.map +1 -1
  466. package/es/icon/content/CustomSetup32.stories.js +1 -1
  467. package/es/icon/content/CustomSetup32.stories.js.map +1 -1
  468. package/es/icon/content/DeviceTrust32.stories.js +1 -1
  469. package/es/icon/content/DeviceTrust32.stories.js.map +1 -1
  470. package/es/icon/content/FileAudio32.stories.js +1 -1
  471. package/es/icon/content/FileAudio32.stories.js.map +1 -1
  472. package/es/icon/content/FileBookmark32.stories.js +1 -1
  473. package/es/icon/content/FileBookmark32.stories.js.map +1 -1
  474. package/es/icon/content/FileBoxNote32.stories.js +1 -1
  475. package/es/icon/content/FileBoxNote32.stories.js.map +1 -1
  476. package/es/icon/content/FileCanvas32.stories.js +1 -1
  477. package/es/icon/content/FileCanvas32.stories.js.map +1 -1
  478. package/es/icon/content/FileCode32.stories.js +1 -1
  479. package/es/icon/content/FileCode32.stories.js.map +1 -1
  480. package/es/icon/content/FileDefault32.stories.js +1 -1
  481. package/es/icon/content/FileDefault32.stories.js.map +1 -1
  482. package/es/icon/content/FileDicom32.stories.js +1 -1
  483. package/es/icon/content/FileDicom32.stories.js.map +1 -1
  484. package/es/icon/content/FileDocs32.stories.js +1 -1
  485. package/es/icon/content/FileDocs32.stories.js.map +1 -1
  486. package/es/icon/content/FileDwg32.stories.js +1 -1
  487. package/es/icon/content/FileDwg32.stories.js.map +1 -1
  488. package/es/icon/content/FileExcel32.stories.js +1 -1
  489. package/es/icon/content/FileExcel32.stories.js.map +1 -1
  490. package/es/icon/content/FileIllustrator32.stories.js +1 -1
  491. package/es/icon/content/FileIllustrator32.stories.js.map +1 -1
  492. package/es/icon/content/FileImage32.stories.js +1 -1
  493. package/es/icon/content/FileImage32.stories.js.map +1 -1
  494. package/es/icon/content/FileIndesign32.stories.js +1 -1
  495. package/es/icon/content/FileIndesign32.stories.js.map +1 -1
  496. package/es/icon/content/FileKeynote32.stories.js +1 -1
  497. package/es/icon/content/FileKeynote32.stories.js.map +1 -1
  498. package/es/icon/content/FileNumbers32.stories.js +1 -1
  499. package/es/icon/content/FileNumbers32.stories.js.map +1 -1
  500. package/es/icon/content/FilePages32.stories.js +1 -1
  501. package/es/icon/content/FilePages32.stories.js.map +1 -1
  502. package/es/icon/content/FilePdf32.stories.js +1 -1
  503. package/es/icon/content/FilePdf32.stories.js.map +1 -1
  504. package/es/icon/content/FilePhotoshop32.stories.js +1 -1
  505. package/es/icon/content/FilePhotoshop32.stories.js.map +1 -1
  506. package/es/icon/content/FilePowerpoint32.stories.js +1 -1
  507. package/es/icon/content/FilePowerpoint32.stories.js.map +1 -1
  508. package/es/icon/content/FilePresentation32.stories.js +1 -1
  509. package/es/icon/content/FilePresentation32.stories.js.map +1 -1
  510. package/es/icon/content/FileSheets32.stories.js +1 -1
  511. package/es/icon/content/FileSheets32.stories.js.map +1 -1
  512. package/es/icon/content/FileSlides32.stories.js +1 -1
  513. package/es/icon/content/FileSlides32.stories.js.map +1 -1
  514. package/es/icon/content/FileSpreadsheet32.stories.js +1 -1
  515. package/es/icon/content/FileSpreadsheet32.stories.js.map +1 -1
  516. package/es/icon/content/FileText32.stories.js +1 -1
  517. package/es/icon/content/FileText32.stories.js.map +1 -1
  518. package/es/icon/content/FileThreeD32.stories.js +1 -1
  519. package/es/icon/content/FileThreeD32.stories.js.map +1 -1
  520. package/es/icon/content/FileUpload32.stories.js +1 -1
  521. package/es/icon/content/FileUpload32.stories.js.map +1 -1
  522. package/es/icon/content/FileVector32.stories.js +1 -1
  523. package/es/icon/content/FileVector32.stories.js.map +1 -1
  524. package/es/icon/content/FileVideo32.stories.js +1 -1
  525. package/es/icon/content/FileVideo32.stories.js.map +1 -1
  526. package/es/icon/content/FileWord32.stories.js +1 -1
  527. package/es/icon/content/FileWord32.stories.js.map +1 -1
  528. package/es/icon/content/FileXbd32.stories.js +1 -1
  529. package/es/icon/content/FileXbd32.stories.js.map +1 -1
  530. package/es/icon/content/FileXdw32.stories.js +1 -1
  531. package/es/icon/content/FileXdw32.stories.js.map +1 -1
  532. package/es/icon/content/FileZip32.stories.js +1 -1
  533. package/es/icon/content/FileZip32.stories.js.map +1 -1
  534. package/es/icon/content/FolderExternal32.stories.js +1 -1
  535. package/es/icon/content/FolderExternal32.stories.js.map +1 -1
  536. package/es/icon/content/FolderPersonal32.stories.js +1 -1
  537. package/es/icon/content/FolderPersonal32.stories.js.map +1 -1
  538. package/es/icon/content/FolderShared32.stories.js +1 -1
  539. package/es/icon/content/FolderShared32.stories.js.map +1 -1
  540. package/es/icon/content/FolderUpload32.stories.js +1 -1
  541. package/es/icon/content/FolderUpload32.stories.js.map +1 -1
  542. package/es/icon/content/Mobile32.stories.js +1 -1
  543. package/es/icon/content/Mobile32.stories.js.map +1 -1
  544. package/es/icon/content/Notifications32.stories.js +1 -1
  545. package/es/icon/content/Notifications32.stories.js.map +1 -1
  546. package/es/icon/content/PlatformCam32.stories.js +1 -1
  547. package/es/icon/content/PlatformCam32.stories.js.map +1 -1
  548. package/es/icon/content/PlatformSandbox32.stories.js +1 -1
  549. package/es/icon/content/PlatformSandbox32.stories.js.map +1 -1
  550. package/es/icon/content/RetentionPolicyModifiable32.stories.js +1 -1
  551. package/es/icon/content/RetentionPolicyModifiable32.stories.js.map +1 -1
  552. package/es/icon/content/RetentionPolicyNonModifiable32.stories.js +1 -1
  553. package/es/icon/content/RetentionPolicyNonModifiable32.stories.js.map +1 -1
  554. package/es/icon/content/Security32.stories.js +1 -1
  555. package/es/icon/content/Security32.stories.js.map +1 -1
  556. package/es/icon/content/SignRequest32.stories.js +1 -1
  557. package/es/icon/content/SignRequest32.stories.js.map +1 -1
  558. package/es/icon/content/UserSettings32.stories.js +1 -1
  559. package/es/icon/content/UserSettings32.stories.js.map +1 -1
  560. package/es/icon/content/Workflow32.stories.js +1 -1
  561. package/es/icon/content/Workflow32.stories.js.map +1 -1
  562. package/es/icon/content/WorkflowTemplate32.stories.js +1 -1
  563. package/es/icon/content/WorkflowTemplate32.stories.js.map +1 -1
  564. package/es/icon/fill/Activity16.stories.js +1 -1
  565. package/es/icon/fill/Activity16.stories.js.map +1 -1
  566. package/es/icon/fill/Activity20.stories.js +1 -1
  567. package/es/icon/fill/Activity20.stories.js.map +1 -1
  568. package/es/icon/fill/Alert16.stories.js +1 -1
  569. package/es/icon/fill/Alert16.stories.js.map +1 -1
  570. package/es/icon/fill/AlertBadge16.stories.js +1 -1
  571. package/es/icon/fill/AlertBadge16.stories.js.map +1 -1
  572. package/es/icon/fill/AnnotationsDrawing16.stories.js +1 -1
  573. package/es/icon/fill/AnnotationsDrawing16.stories.js.map +1 -1
  574. package/es/icon/fill/AnnotationsHighlight16.stories.js +1 -1
  575. package/es/icon/fill/AnnotationsHighlight16.stories.js.map +1 -1
  576. package/es/icon/fill/AnnotationsRegion16.stories.js +1 -1
  577. package/es/icon/fill/AnnotationsRegion16.stories.js.map +1 -1
  578. package/es/icon/fill/Apps16.stories.js +1 -1
  579. package/es/icon/fill/Apps16.stories.js.map +1 -1
  580. package/es/icon/fill/Arrow16.stories.js +1 -1
  581. package/es/icon/fill/Arrow16.stories.js.map +1 -1
  582. package/es/icon/fill/ArrowArcRight.stories.js +1 -1
  583. package/es/icon/fill/ArrowArcRight.stories.js.map +1 -1
  584. package/es/icon/fill/ArrowForward16.stories.js +1 -1
  585. package/es/icon/fill/ArrowForward16.stories.js.map +1 -1
  586. package/es/icon/fill/ArrowSort16.stories.js +1 -1
  587. package/es/icon/fill/ArrowSort16.stories.js.map +1 -1
  588. package/es/icon/fill/AvatarBadge16.stories.js +1 -1
  589. package/es/icon/fill/AvatarBadge16.stories.js.map +1 -1
  590. package/es/icon/fill/BarChart16.stories.js +1 -1
  591. package/es/icon/fill/BarChart16.stories.js.map +1 -1
  592. package/es/icon/fill/BoxDev16.stories.js +1 -1
  593. package/es/icon/fill/BoxDev16.stories.js.map +1 -1
  594. package/es/icon/fill/BoxNotes16.stories.js +1 -1
  595. package/es/icon/fill/BoxNotes16.stories.js.map +1 -1
  596. package/es/icon/fill/Calendar16.stories.js +1 -1
  597. package/es/icon/fill/Calendar16.stories.js.map +1 -1
  598. package/es/icon/fill/Caret8.stories.js +1 -1
  599. package/es/icon/fill/Caret8.stories.js.map +1 -1
  600. package/es/icon/fill/CaretBadge16.stories.js +1 -1
  601. package/es/icon/fill/CaretBadge16.stories.js.map +1 -1
  602. package/es/icon/fill/Checkmark16.stories.js +1 -1
  603. package/es/icon/fill/Checkmark16.stories.js.map +1 -1
  604. package/es/icon/fill/CheckmarkBadge16.stories.js +1 -1
  605. package/es/icon/fill/CheckmarkBadge16.stories.js.map +1 -1
  606. package/es/icon/fill/CircleBackButton24.stories.js +1 -1
  607. package/es/icon/fill/CircleBackButton24.stories.js.map +1 -1
  608. package/es/icon/fill/CircleCloseButton24.stories.js +1 -1
  609. package/es/icon/fill/CircleCloseButton24.stories.js.map +1 -1
  610. package/es/icon/fill/Classify16.stories.js +1 -1
  611. package/es/icon/fill/Classify16.stories.js.map +1 -1
  612. package/es/icon/fill/ClearBadge16.stories.js +1 -1
  613. package/es/icon/fill/ClearBadge16.stories.js.map +1 -1
  614. package/es/icon/fill/ClockBadge16.stories.js +1 -1
  615. package/es/icon/fill/ClockBadge16.stories.js.map +1 -1
  616. package/es/icon/fill/CloudUpload16.stories.js +1 -1
  617. package/es/icon/fill/CloudUpload16.stories.js.map +1 -1
  618. package/es/icon/fill/Code16.stories.js +1 -1
  619. package/es/icon/fill/Code16.stories.js.map +1 -1
  620. package/es/icon/fill/Collection16.stories.js +1 -1
  621. package/es/icon/fill/Collection16.stories.js.map +1 -1
  622. package/es/icon/fill/CollectionBolt16.stories.js +1 -1
  623. package/es/icon/fill/CollectionBolt16.stories.js.map +1 -1
  624. package/es/icon/fill/CollectionPlus16.stories.js +1 -1
  625. package/es/icon/fill/CollectionPlus16.stories.js.map +1 -1
  626. package/es/icon/fill/CollectionStar16.stories.js +1 -1
  627. package/es/icon/fill/CollectionStar16.stories.js.map +1 -1
  628. package/es/icon/fill/CreditCard16.stories.js +1 -1
  629. package/es/icon/fill/CreditCard16.stories.js.map +1 -1
  630. package/es/icon/fill/Download16.stories.js +1 -1
  631. package/es/icon/fill/Download16.stories.js.map +1 -1
  632. package/es/icon/fill/EmailNotification16.stories.js +1 -1
  633. package/es/icon/fill/EmailNotification16.stories.js.map +1 -1
  634. package/es/icon/fill/ExportArrow16.stories.js +1 -1
  635. package/es/icon/fill/ExportArrow16.stories.js.map +1 -1
  636. package/es/icon/fill/Feed16.stories.js +1 -1
  637. package/es/icon/fill/Feed16.stories.js.map +1 -1
  638. package/es/icon/fill/FileAudio16.stories.js +1 -1
  639. package/es/icon/fill/FileAudio16.stories.js.map +1 -1
  640. package/es/icon/fill/FileBookmark16.stories.js +1 -1
  641. package/es/icon/fill/FileBookmark16.stories.js.map +1 -1
  642. package/es/icon/fill/FileBoxNote16.stories.js +1 -1
  643. package/es/icon/fill/FileBoxNote16.stories.js.map +1 -1
  644. package/es/icon/fill/FileCanvas16.stories.js +1 -1
  645. package/es/icon/fill/FileCanvas16.stories.js.map +1 -1
  646. package/es/icon/fill/FileCode16.stories.js +1 -1
  647. package/es/icon/fill/FileCode16.stories.js.map +1 -1
  648. package/es/icon/fill/FileCopy16.stories.js +1 -1
  649. package/es/icon/fill/FileCopy16.stories.js.map +1 -1
  650. package/es/icon/fill/FileDefault16.stories.js +1 -1
  651. package/es/icon/fill/FileDefault16.stories.js.map +1 -1
  652. package/es/icon/fill/FileDicom16.stories.js +1 -1
  653. package/es/icon/fill/FileDicom16.stories.js.map +1 -1
  654. package/es/icon/fill/FileDocs16.stories.js +1 -1
  655. package/es/icon/fill/FileDocs16.stories.js.map +1 -1
  656. package/es/icon/fill/FileDwg16.stories.js +1 -1
  657. package/es/icon/fill/FileDwg16.stories.js.map +1 -1
  658. package/es/icon/fill/FileExcel16.stories.js +1 -1
  659. package/es/icon/fill/FileExcel16.stories.js.map +1 -1
  660. package/es/icon/fill/FileIllustrator16.stories.js +1 -1
  661. package/es/icon/fill/FileIllustrator16.stories.js.map +1 -1
  662. package/es/icon/fill/FileImage16.stories.js +1 -1
  663. package/es/icon/fill/FileImage16.stories.js.map +1 -1
  664. package/es/icon/fill/FileIndesign16.stories.js +1 -1
  665. package/es/icon/fill/FileIndesign16.stories.js.map +1 -1
  666. package/es/icon/fill/FileKeynote16.stories.js +1 -1
  667. package/es/icon/fill/FileKeynote16.stories.js.map +1 -1
  668. package/es/icon/fill/FileNumbers16.stories.js +1 -1
  669. package/es/icon/fill/FileNumbers16.stories.js.map +1 -1
  670. package/es/icon/fill/FilePages16.stories.js +1 -1
  671. package/es/icon/fill/FilePages16.stories.js.map +1 -1
  672. package/es/icon/fill/FilePdf16.stories.js +1 -1
  673. package/es/icon/fill/FilePdf16.stories.js.map +1 -1
  674. package/es/icon/fill/FilePhotoshop16.stories.js +1 -1
  675. package/es/icon/fill/FilePhotoshop16.stories.js.map +1 -1
  676. package/es/icon/fill/FilePowerpoint16.stories.js +1 -1
  677. package/es/icon/fill/FilePowerpoint16.stories.js.map +1 -1
  678. package/es/icon/fill/FilePresentation16.stories.js +1 -1
  679. package/es/icon/fill/FilePresentation16.stories.js.map +1 -1
  680. package/es/icon/fill/FileSheets16.stories.js +1 -1
  681. package/es/icon/fill/FileSheets16.stories.js.map +1 -1
  682. package/es/icon/fill/FileSlides16.stories.js +1 -1
  683. package/es/icon/fill/FileSlides16.stories.js.map +1 -1
  684. package/es/icon/fill/FileSpreadsheet16.stories.js +1 -1
  685. package/es/icon/fill/FileSpreadsheet16.stories.js.map +1 -1
  686. package/es/icon/fill/FileText16.stories.js +1 -1
  687. package/es/icon/fill/FileText16.stories.js.map +1 -1
  688. package/es/icon/fill/FileThreeD16.stories.js +1 -1
  689. package/es/icon/fill/FileThreeD16.stories.js.map +1 -1
  690. package/es/icon/fill/FileVector16.stories.js +1 -1
  691. package/es/icon/fill/FileVector16.stories.js.map +1 -1
  692. package/es/icon/fill/FileVideo16.stories.js +1 -1
  693. package/es/icon/fill/FileVideo16.stories.js.map +1 -1
  694. package/es/icon/fill/FileWord16.stories.js +1 -1
  695. package/es/icon/fill/FileWord16.stories.js.map +1 -1
  696. package/es/icon/fill/FileZip16.stories.js +1 -1
  697. package/es/icon/fill/FileZip16.stories.js.map +1 -1
  698. package/es/icon/fill/Filter16.stories.js +1 -1
  699. package/es/icon/fill/Filter16.stories.js.map +1 -1
  700. package/es/icon/fill/Folder16.stories.js +1 -1
  701. package/es/icon/fill/Folder16.stories.js.map +1 -1
  702. package/es/icon/fill/FolderExternal16.stories.js +1 -1
  703. package/es/icon/fill/FolderExternal16.stories.js.map +1 -1
  704. package/es/icon/fill/FolderPersonal16.stories.js +1 -1
  705. package/es/icon/fill/FolderPersonal16.stories.js.map +1 -1
  706. package/es/icon/fill/FolderShared16.stories.js +1 -1
  707. package/es/icon/fill/FolderShared16.stories.js.map +1 -1
  708. package/es/icon/fill/Gear16.stories.js +1 -1
  709. package/es/icon/fill/Gear16.stories.js.map +1 -1
  710. package/es/icon/fill/GlobeBadge16.stories.js +1 -1
  711. package/es/icon/fill/GlobeBadge16.stories.js.map +1 -1
  712. package/es/icon/fill/Hamburger20.stories.js +1 -1
  713. package/es/icon/fill/Hamburger20.stories.js.map +1 -1
  714. package/es/icon/fill/Help20.stories.js +1 -1
  715. package/es/icon/fill/Help20.stories.js.map +1 -1
  716. package/es/icon/fill/InProgress16.stories.js +1 -1
  717. package/es/icon/fill/InProgress16.stories.js.map +1 -1
  718. package/es/icon/fill/Info16.stories.js +1 -1
  719. package/es/icon/fill/Info16.stories.js.map +1 -1
  720. package/es/icon/fill/InfoBadge16.stories.js +1 -1
  721. package/es/icon/fill/InfoBadge16.stories.js.map +1 -1
  722. package/es/icon/fill/LightningBolt16.stories.js +1 -1
  723. package/es/icon/fill/LightningBolt16.stories.js.map +1 -1
  724. package/es/icon/fill/Lock16.stories.js +1 -1
  725. package/es/icon/fill/Lock16.stories.js.map +1 -1
  726. package/es/icon/fill/Megaphone20.stories.js +1 -1
  727. package/es/icon/fill/Megaphone20.stories.js.map +1 -1
  728. package/es/icon/fill/Minus16.stories.js +1 -1
  729. package/es/icon/fill/Minus16.stories.js.map +1 -1
  730. package/es/icon/fill/Move16.stories.js +1 -1
  731. package/es/icon/fill/Move16.stories.js.map +1 -1
  732. package/es/icon/fill/MoveCopy16.stories.js +1 -1
  733. package/es/icon/fill/MoveCopy16.stories.js.map +1 -1
  734. package/es/icon/fill/Overflow16.stories.js +1 -1
  735. package/es/icon/fill/Overflow16.stories.js.map +1 -1
  736. package/es/icon/fill/PaperAirplane16.stories.js +1 -1
  737. package/es/icon/fill/PaperAirplane16.stories.js.map +1 -1
  738. package/es/icon/fill/Pencil16.stories.js +1 -1
  739. package/es/icon/fill/Pencil16.stories.js.map +1 -1
  740. package/es/icon/fill/Picture16.stories.js +1 -1
  741. package/es/icon/fill/Picture16.stories.js.map +1 -1
  742. package/es/icon/fill/Plus16.stories.js +1 -1
  743. package/es/icon/fill/Plus16.stories.js.map +1 -1
  744. package/es/icon/fill/PlusBadge16.stories.js +1 -1
  745. package/es/icon/fill/PlusBadge16.stories.js.map +1 -1
  746. package/es/icon/fill/PointerChevronDown24.stories.js +1 -1
  747. package/es/icon/fill/PointerChevronDown24.stories.js.map +1 -1
  748. package/es/icon/fill/Printer16.stories.js +1 -1
  749. package/es/icon/fill/Printer16.stories.js.map +1 -1
  750. package/es/icon/fill/Relay16.stories.js +1 -1
  751. package/es/icon/fill/Relay16.stories.js.map +1 -1
  752. package/es/icon/fill/RelayClassic16.stories.js +1 -1
  753. package/es/icon/fill/RelayClassic16.stories.js.map +1 -1
  754. package/es/icon/fill/Ribbon16.stories.js +1 -1
  755. package/es/icon/fill/Ribbon16.stories.js.map +1 -1
  756. package/es/icon/fill/Scribble16.stories.js +1 -1
  757. package/es/icon/fill/Scribble16.stories.js.map +1 -1
  758. package/es/icon/fill/Search16.stories.js +1 -1
  759. package/es/icon/fill/Search16.stories.js.map +1 -1
  760. package/es/icon/fill/Sign16.stories.js +1 -1
  761. package/es/icon/fill/Sign16.stories.js.map +1 -1
  762. package/es/icon/fill/SignFieldCheckBox16.stories.js +1 -1
  763. package/es/icon/fill/SignFieldCheckBox16.stories.js.map +1 -1
  764. package/es/icon/fill/SignFieldSignature16.stories.js +1 -1
  765. package/es/icon/fill/SignFieldSignature16.stories.js.map +1 -1
  766. package/es/icon/fill/SignFieldTextInput16.stories.js +1 -1
  767. package/es/icon/fill/SignFieldTextInput16.stories.js.map +1 -1
  768. package/es/icon/fill/SignMe32.stories.js +1 -1
  769. package/es/icon/fill/SignMe32.stories.js.map +1 -1
  770. package/es/icon/fill/SignMeOthers32.stories.js +1 -1
  771. package/es/icon/fill/SignMeOthers32.stories.js.map +1 -1
  772. package/es/icon/fill/SignOthers32.stories.js +1 -1
  773. package/es/icon/fill/SignOthers32.stories.js.map +1 -1
  774. package/es/icon/fill/Skills16.stories.js +1 -1
  775. package/es/icon/fill/Skills16.stories.js.map +1 -1
  776. package/es/icon/fill/Tag16.stories.js +1 -1
  777. package/es/icon/fill/Tag16.stories.js.map +1 -1
  778. package/es/icon/fill/Task16.stories.js +1 -1
  779. package/es/icon/fill/Task16.stories.js.map +1 -1
  780. package/es/icon/fill/Trash16.stories.js +1 -1
  781. package/es/icon/fill/Trash16.stories.js.map +1 -1
  782. package/es/icon/fill/TwoPeople16.stories.js +1 -1
  783. package/es/icon/fill/TwoPeople16.stories.js.map +1 -1
  784. package/es/icon/fill/Upload16.stories.js +1 -1
  785. package/es/icon/fill/Upload16.stories.js.map +1 -1
  786. package/es/icon/fill/UserSettings16.stories.js +1 -1
  787. package/es/icon/fill/UserSettings16.stories.js.map +1 -1
  788. package/es/icon/fill/Workflow16.stories.js +1 -1
  789. package/es/icon/fill/Workflow16.stories.js.map +1 -1
  790. package/es/icon/fill/X16.stories.js +1 -1
  791. package/es/icon/fill/X16.stories.js.map +1 -1
  792. package/es/icon/line/AlarmClock16.stories.js +1 -1
  793. package/es/icon/line/AlarmClock16.stories.js.map +1 -1
  794. package/es/icon/line/AlertBubble16.stories.js +1 -1
  795. package/es/icon/line/AlertBubble16.stories.js.map +1 -1
  796. package/es/icon/line/Apps16.stories.js +1 -1
  797. package/es/icon/line/Apps16.stories.js.map +1 -1
  798. package/es/icon/line/ArrowBoxRight16.stories.js +1 -1
  799. package/es/icon/line/ArrowBoxRight16.stories.js.map +1 -1
  800. package/es/icon/line/Avatar16.stories.js +1 -1
  801. package/es/icon/line/Avatar16.stories.js.map +1 -1
  802. package/es/icon/line/AvatarBadge16.stories.js +1 -1
  803. package/es/icon/line/AvatarBadge16.stories.js.map +1 -1
  804. package/es/icon/line/AvatarPlusBadge16.stories.js +1 -1
  805. package/es/icon/line/AvatarPlusBadge16.stories.js.map +1 -1
  806. package/es/icon/line/AvatarXBadge16.stories.js +1 -1
  807. package/es/icon/line/AvatarXBadge16.stories.js.map +1 -1
  808. package/es/icon/line/BoxAi.stories.js +1 -1
  809. package/es/icon/line/BoxAi.stories.js.map +1 -1
  810. package/es/icon/line/BoxDev16.stories.js +1 -1
  811. package/es/icon/line/BoxDev16.stories.js.map +1 -1
  812. package/es/icon/line/Bug16.stories.js +1 -1
  813. package/es/icon/line/Bug16.stories.js.map +1 -1
  814. package/es/icon/line/Checkmark16.stories.js +1 -1
  815. package/es/icon/line/Checkmark16.stories.js.map +1 -1
  816. package/es/icon/line/CheckmarkBadge16.stories.js +1 -1
  817. package/es/icon/line/CheckmarkBadge16.stories.js.map +1 -1
  818. package/es/icon/line/CircleCheck16.stories.js +1 -1
  819. package/es/icon/line/CircleCheck16.stories.js.map +1 -1
  820. package/es/icon/line/CircleX16.stories.js +1 -1
  821. package/es/icon/line/CircleX16.stories.js.map +1 -1
  822. package/es/icon/line/ClassificationBadge16.stories.js +1 -1
  823. package/es/icon/line/ClassificationBadge16.stories.js.map +1 -1
  824. package/es/icon/line/ClockArrow16.stories.js +1 -1
  825. package/es/icon/line/ClockArrow16.stories.js.map +1 -1
  826. package/es/icon/line/ClockBadge16.stories.js +1 -1
  827. package/es/icon/line/ClockBadge16.stories.js.map +1 -1
  828. package/es/icon/line/CloudWithArrow16.stories.js +1 -1
  829. package/es/icon/line/CloudWithArrow16.stories.js.map +1 -1
  830. package/es/icon/line/CoAuthoringBadge16.stories.js +1 -1
  831. package/es/icon/line/CoAuthoringBadge16.stories.js.map +1 -1
  832. package/es/icon/line/CoEdit16.stories.js +1 -1
  833. package/es/icon/line/CoEdit16.stories.js.map +1 -1
  834. package/es/icon/line/Collaborations16.stories.js +1 -1
  835. package/es/icon/line/Collaborations16.stories.js.map +1 -1
  836. package/es/icon/line/Collection16.stories.js +1 -1
  837. package/es/icon/line/Collection16.stories.js.map +1 -1
  838. package/es/icon/line/CollectionBolt16.stories.js +1 -1
  839. package/es/icon/line/CollectionBolt16.stories.js.map +1 -1
  840. package/es/icon/line/CollectionPlus16.stories.js +1 -1
  841. package/es/icon/line/CollectionPlus16.stories.js.map +1 -1
  842. package/es/icon/line/CollectionStar16.stories.js +1 -1
  843. package/es/icon/line/CollectionStar16.stories.js.map +1 -1
  844. package/es/icon/line/CommentBubble16.stories.js +1 -1
  845. package/es/icon/line/CommentBubble16.stories.js.map +1 -1
  846. package/es/icon/line/CrosshairRegion32.stories.js +1 -1
  847. package/es/icon/line/CrosshairRegion32.stories.js.map +1 -1
  848. package/es/icon/line/DocInfo16.stories.js +1 -1
  849. package/es/icon/line/DocInfo16.stories.js.map +1 -1
  850. package/es/icon/line/Download16.stories.js +1 -1
  851. package/es/icon/line/Download16.stories.js.map +1 -1
  852. package/es/icon/line/Email16.stories.js +1 -1
  853. package/es/icon/line/Email16.stories.js.map +1 -1
  854. package/es/icon/line/EmailAddress16.stories.js +1 -1
  855. package/es/icon/line/EmailAddress16.stories.js.map +1 -1
  856. package/es/icon/line/EnvelopeBadge16.stories.js +1 -1
  857. package/es/icon/line/EnvelopeBadge16.stories.js.map +1 -1
  858. package/es/icon/line/ExclamationMarkBadge16.stories.js +1 -1
  859. package/es/icon/line/ExclamationMarkBadge16.stories.js.map +1 -1
  860. package/es/icon/line/ExportArrow16.stories.js +1 -1
  861. package/es/icon/line/ExportArrow16.stories.js.map +1 -1
  862. package/es/icon/line/FileDescription16.stories.js +1 -1
  863. package/es/icon/line/FileDescription16.stories.js.map +1 -1
  864. package/es/icon/line/Folder16.stories.js +1 -1
  865. package/es/icon/line/Folder16.stories.js.map +1 -1
  866. package/es/icon/line/Gear16.stories.js +1 -1
  867. package/es/icon/line/Gear16.stories.js.map +1 -1
  868. package/es/icon/line/GenericCopy16.stories.js +1 -1
  869. package/es/icon/line/GenericCopy16.stories.js.map +1 -1
  870. package/es/icon/line/GlobeBadge16.stories.js +1 -1
  871. package/es/icon/line/GlobeBadge16.stories.js.map +1 -1
  872. package/es/icon/line/Help16.stories.js +1 -1
  873. package/es/icon/line/Help16.stories.js.map +1 -1
  874. package/es/icon/line/Hidden16.stories.js +1 -1
  875. package/es/icon/line/Hidden16.stories.js.map +1 -1
  876. package/es/icon/line/History16.stories.js +1 -1
  877. package/es/icon/line/History16.stories.js.map +1 -1
  878. package/es/icon/line/InfoBadge16.stories.js +1 -1
  879. package/es/icon/line/InfoBadge16.stories.js.map +1 -1
  880. package/es/icon/line/Key16.stories.js +1 -1
  881. package/es/icon/line/Key16.stories.js.map +1 -1
  882. package/es/icon/line/Link16.stories.js +1 -1
  883. package/es/icon/line/Link16.stories.js.map +1 -1
  884. package/es/icon/line/LinkBadge16.stories.js +1 -1
  885. package/es/icon/line/LinkBadge16.stories.js.map +1 -1
  886. package/es/icon/line/List16.stories.js +1 -1
  887. package/es/icon/line/List16.stories.js.map +1 -1
  888. package/es/icon/line/Lock16.stories.js +1 -1
  889. package/es/icon/line/Lock16.stories.js.map +1 -1
  890. package/es/icon/line/LockBadge16.stories.js +1 -1
  891. package/es/icon/line/LockBadge16.stories.js.map +1 -1
  892. package/es/icon/line/MetadataBadge16.stories.js +1 -1
  893. package/es/icon/line/MetadataBadge16.stories.js.map +1 -1
  894. package/es/icon/line/MoveCopy16.stories.js +1 -1
  895. package/es/icon/line/MoveCopy16.stories.js.map +1 -1
  896. package/es/icon/line/Pencil16.stories.js +1 -1
  897. package/es/icon/line/Pencil16.stories.js.map +1 -1
  898. package/es/icon/line/PencilBadge16.stories.js +1 -1
  899. package/es/icon/line/PencilBadge16.stories.js.map +1 -1
  900. package/es/icon/line/Plane16.stories.js +1 -1
  901. package/es/icon/line/Plane16.stories.js.map +1 -1
  902. package/es/icon/line/Plus16.stories.js +1 -1
  903. package/es/icon/line/Plus16.stories.js.map +1 -1
  904. package/es/icon/line/Power16.stories.js +1 -1
  905. package/es/icon/line/Power16.stories.js.map +1 -1
  906. package/es/icon/line/Question16.stories.js +1 -1
  907. package/es/icon/line/Question16.stories.js.map +1 -1
  908. package/es/icon/line/Redo16.stories.js +1 -1
  909. package/es/icon/line/Redo16.stories.js.map +1 -1
  910. package/es/icon/line/Relay16.stories.js +1 -1
  911. package/es/icon/line/Relay16.stories.js.map +1 -1
  912. package/es/icon/line/Report16.stories.js +1 -1
  913. package/es/icon/line/Report16.stories.js.map +1 -1
  914. package/es/icon/line/Retry16.stories.js +1 -1
  915. package/es/icon/line/Retry16.stories.js.map +1 -1
  916. package/es/icon/line/Rocket16.stories.js +1 -1
  917. package/es/icon/line/Rocket16.stories.js.map +1 -1
  918. package/es/icon/line/RotatingArrows16.stories.js +1 -1
  919. package/es/icon/line/RotatingArrows16.stories.js.map +1 -1
  920. package/es/icon/line/Sharrow16.stories.js +1 -1
  921. package/es/icon/line/Sharrow16.stories.js.map +1 -1
  922. package/es/icon/line/Shield16.stories.js +1 -1
  923. package/es/icon/line/Shield16.stories.js.map +1 -1
  924. package/es/icon/line/Sign16.stories.js +1 -1
  925. package/es/icon/line/Sign16.stories.js.map +1 -1
  926. package/es/icon/line/SignTinycon16.stories.js +1 -1
  927. package/es/icon/line/SignTinycon16.stories.js.map +1 -1
  928. package/es/icon/line/Star16.stories.js +1 -1
  929. package/es/icon/line/Star16.stories.js.map +1 -1
  930. package/es/icon/line/SyncArrows16.stories.js +1 -1
  931. package/es/icon/line/SyncArrows16.stories.js.map +1 -1
  932. package/es/icon/line/Template16.stories.js +1 -1
  933. package/es/icon/line/Template16.stories.js.map +1 -1
  934. package/es/icon/line/TextLeft16.stories.js +1 -1
  935. package/es/icon/line/TextLeft16.stories.js.map +1 -1
  936. package/es/icon/line/Tool16.stories.js +1 -1
  937. package/es/icon/line/Tool16.stories.js.map +1 -1
  938. package/es/icon/line/Trash16.stories.js +1 -1
  939. package/es/icon/line/Trash16.stories.js.map +1 -1
  940. package/es/icon/line/TriangleAlert16.stories.js +1 -1
  941. package/es/icon/line/TriangleAlert16.stories.js.map +1 -1
  942. package/es/icon/line/Undo16.stories.js +1 -1
  943. package/es/icon/line/Undo16.stories.js.map +1 -1
  944. package/es/icon/line/Unlock16.stories.js +1 -1
  945. package/es/icon/line/Unlock16.stories.js.map +1 -1
  946. package/es/icon/line/Upload16.stories.js +1 -1
  947. package/es/icon/line/Upload16.stories.js.map +1 -1
  948. package/es/icon/line/Video16.stories.js +1 -1
  949. package/es/icon/line/Video16.stories.js.map +1 -1
  950. package/es/icon/line/View16.stories.js +1 -1
  951. package/es/icon/line/View16.stories.js.map +1 -1
  952. package/es/icon/line/XBadge16.stories.js +1 -1
  953. package/es/icon/line/XBadge16.stories.js.map +1 -1
  954. package/es/icon/logo/AccountBilling32.stories.js +1 -1
  955. package/es/icon/logo/AccountBilling32.stories.js.map +1 -1
  956. package/es/icon/logo/AdminFaq32.stories.js +1 -1
  957. package/es/icon/logo/AdminFaq32.stories.js.map +1 -1
  958. package/es/icon/logo/AdminReferences32.stories.js +1 -1
  959. package/es/icon/logo/AdminReferences32.stories.js.map +1 -1
  960. package/es/icon/logo/AdobeAcrobat32.stories.js +1 -1
  961. package/es/icon/logo/AdobeAcrobat32.stories.js.map +1 -1
  962. package/es/icon/logo/Apps32.stories.js +1 -1
  963. package/es/icon/logo/Apps32.stories.js.map +1 -1
  964. package/es/icon/logo/BoxAiLogo.stories.js +1 -1
  965. package/es/icon/logo/BoxAiLogo.stories.js.map +1 -1
  966. package/es/icon/logo/BoxLogo.stories.js +1 -1
  967. package/es/icon/logo/BoxLogo.stories.js.map +1 -1
  968. package/es/icon/logo/BoxSign28.stories.js +1 -1
  969. package/es/icon/logo/BoxSign28.stories.js.map +1 -1
  970. package/es/icon/logo/BoxSign32.stories.js +1 -1
  971. package/es/icon/logo/BoxSign32.stories.js.map +1 -1
  972. package/es/icon/logo/ContentSharing32.stories.js +1 -1
  973. package/es/icon/logo/ContentSharing32.stories.js.map +1 -1
  974. package/es/icon/logo/CustomSetup32.stories.js +1 -1
  975. package/es/icon/logo/CustomSetup32.stories.js.map +1 -1
  976. package/es/icon/logo/DeviceTrust32.stories.js +1 -1
  977. package/es/icon/logo/DeviceTrust32.stories.js.map +1 -1
  978. package/es/icon/logo/HelpArticle32.stories.js +1 -1
  979. package/es/icon/logo/HelpArticle32.stories.js.map +1 -1
  980. package/es/icon/logo/HowToGuides32.stories.js +1 -1
  981. package/es/icon/logo/HowToGuides32.stories.js.map +1 -1
  982. package/es/icon/logo/IconBoxApp512.stories.js +1 -1
  983. package/es/icon/logo/IconBoxApp512.stories.js.map +1 -1
  984. package/es/icon/logo/KeynoteForMac32.stories.js +1 -1
  985. package/es/icon/logo/KeynoteForMac32.stories.js.map +1 -1
  986. package/es/icon/logo/ManageContent32.stories.js +1 -1
  987. package/es/icon/logo/ManageContent32.stories.js.map +1 -1
  988. package/es/icon/logo/ManageUsers32.stories.js +1 -1
  989. package/es/icon/logo/ManageUsers32.stories.js.map +1 -1
  990. package/es/icon/logo/Mobile32.stories.js +1 -1
  991. package/es/icon/logo/Mobile32.stories.js.map +1 -1
  992. package/es/icon/logo/Notifications32.stories.js +1 -1
  993. package/es/icon/logo/Notifications32.stories.js.map +1 -1
  994. package/es/icon/logo/NumbersForMac32.stories.js +1 -1
  995. package/es/icon/logo/NumbersForMac32.stories.js.map +1 -1
  996. package/es/icon/logo/PagesForMac32.stories.js +1 -1
  997. package/es/icon/logo/PagesForMac32.stories.js.map +1 -1
  998. package/es/icon/logo/Reporting32.stories.js +1 -1
  999. package/es/icon/logo/Reporting32.stories.js.map +1 -1
  1000. package/es/icon/logo/Security32.stories.js +1 -1
  1001. package/es/icon/logo/Security32.stories.js.map +1 -1
  1002. package/es/icon/logo/TroubleShootingTools32.stories.js +1 -1
  1003. package/es/icon/logo/TroubleShootingTools32.stories.js.map +1 -1
  1004. package/es/icon/logo/UserSettings32.stories.js +1 -1
  1005. package/es/icon/logo/UserSettings32.stories.js.map +1 -1
  1006. package/es/icons/collections/IconCollections.stories.js +1 -1
  1007. package/es/icons/collections/IconCollections.stories.js.map +1 -1
  1008. package/es/icons/collections/IconCollectionsAdd.stories.js +1 -1
  1009. package/es/icons/collections/IconCollectionsAdd.stories.js.map +1 -1
  1010. package/es/icons/collections/IconCollectionsBolt.stories.js +1 -1
  1011. package/es/icons/collections/IconCollectionsBolt.stories.js.map +1 -1
  1012. package/es/icons/collections/IconCollectionsFilled.stories.js +1 -1
  1013. package/es/icons/collections/IconCollectionsFilled.stories.js.map +1 -1
  1014. package/es/icons/collections/IconCollectionsStar.stories.js +1 -1
  1015. package/es/icons/collections/IconCollectionsStar.stories.js.map +1 -1
  1016. package/es/icons/collections/IconCollectionsStarFilled.stories.js +1 -1
  1017. package/es/icons/collections/IconCollectionsStarFilled.stories.js.map +1 -1
  1018. package/es/icons/collections/collections.stories.js +1 -1
  1019. package/es/icons/collections/collections.stories.js.map +1 -1
  1020. package/es/icons/icons.stories.js +1 -1
  1021. package/es/icons/icons.stories.js.map +1 -1
  1022. package/es/icons/two-toned/IconAnnotation.js +1 -1
  1023. package/es/icons/two-toned/IconAnnotation.js.map +1 -1
  1024. package/es/illustration/AllNewBox140.stories.js +1 -1
  1025. package/es/illustration/AllNewBox140.stories.js.map +1 -1
  1026. package/es/illustration/AppSupport140.stories.js +1 -1
  1027. package/es/illustration/AppSupport140.stories.js.map +1 -1
  1028. package/es/illustration/Bell140.stories.js +1 -1
  1029. package/es/illustration/Bell140.stories.js.map +1 -1
  1030. package/es/illustration/BoxDrive140.stories.js +1 -1
  1031. package/es/illustration/BoxDrive140.stories.js.map +1 -1
  1032. package/es/illustration/BoxMobile140.stories.js +1 -1
  1033. package/es/illustration/BoxMobile140.stories.js.map +1 -1
  1034. package/es/illustration/BudgetApproval56.stories.js +1 -1
  1035. package/es/illustration/BudgetApproval56.stories.js.map +1 -1
  1036. package/es/illustration/Certificate56.stories.js +1 -1
  1037. package/es/illustration/Certificate56.stories.js.map +1 -1
  1038. package/es/illustration/CertificateSigning56.stories.js +1 -1
  1039. package/es/illustration/CertificateSigning56.stories.js.map +1 -1
  1040. package/es/illustration/ChangeOrder56.stories.js +1 -1
  1041. package/es/illustration/ChangeOrder56.stories.js.map +1 -1
  1042. package/es/illustration/Clock140.stories.js +1 -1
  1043. package/es/illustration/Clock140.stories.js.map +1 -1
  1044. package/es/illustration/CollectionStar140.stories.js +1 -1
  1045. package/es/illustration/CollectionStar140.stories.js.map +1 -1
  1046. package/es/illustration/ContractorId56.stories.js +1 -1
  1047. package/es/illustration/ContractorId56.stories.js.map +1 -1
  1048. package/es/illustration/CreativeApproval56.stories.js +1 -1
  1049. package/es/illustration/CreativeApproval56.stories.js.map +1 -1
  1050. package/es/illustration/CreativeAssets56.stories.js +1 -1
  1051. package/es/illustration/CreativeAssets56.stories.js.map +1 -1
  1052. package/es/illustration/CustomApp56.stories.js +1 -1
  1053. package/es/illustration/CustomApp56.stories.js.map +1 -1
  1054. package/es/illustration/CustomSkill56.stories.js +1 -1
  1055. package/es/illustration/CustomSkill56.stories.js.map +1 -1
  1056. package/es/illustration/CustomTemplate56.stories.js +1 -1
  1057. package/es/illustration/CustomTemplate56.stories.js.map +1 -1
  1058. package/es/illustration/CustomerSupport140.stories.js +1 -1
  1059. package/es/illustration/CustomerSupport140.stories.js.map +1 -1
  1060. package/es/illustration/DiscoDanceParty140.stories.js +1 -1
  1061. package/es/illustration/DiscoDanceParty140.stories.js.map +1 -1
  1062. package/es/illustration/Discount140.stories.js +1 -1
  1063. package/es/illustration/Discount140.stories.js.map +1 -1
  1064. package/es/illustration/EmailVerification140.stories.js +1 -1
  1065. package/es/illustration/EmailVerification140.stories.js.map +1 -1
  1066. package/es/illustration/EmployeeId56.stories.js +1 -1
  1067. package/es/illustration/EmployeeId56.stories.js.map +1 -1
  1068. package/es/illustration/EmployeeReview56.stories.js +1 -1
  1069. package/es/illustration/EmployeeReview56.stories.js.map +1 -1
  1070. package/es/illustration/EmptyStateDetails.stories.js +1 -1
  1071. package/es/illustration/EmptyStateDetails.stories.js.map +1 -1
  1072. package/es/illustration/EmptyStateFolder140.stories.js +1 -1
  1073. package/es/illustration/EmptyStateFolder140.stories.js.map +1 -1
  1074. package/es/illustration/EmptyStatePreviewActivity140.stories.js +1 -1
  1075. package/es/illustration/EmptyStatePreviewActivity140.stories.js.map +1 -1
  1076. package/es/illustration/Envelope140.stories.js +1 -1
  1077. package/es/illustration/Envelope140.stories.js.map +1 -1
  1078. package/es/illustration/ErrorState404140.stories.js +1 -1
  1079. package/es/illustration/ErrorState404140.stories.js.map +1 -1
  1080. package/es/illustration/Files.stories.js +1 -1
  1081. package/es/illustration/Files.stories.js.map +1 -1
  1082. package/es/illustration/Files140.stories.js +1 -1
  1083. package/es/illustration/Files140.stories.js.map +1 -1
  1084. package/es/illustration/FinanceContract56.stories.js +1 -1
  1085. package/es/illustration/FinanceContract56.stories.js.map +1 -1
  1086. package/es/illustration/FolderArrow140.stories.js +1 -1
  1087. package/es/illustration/FolderArrow140.stories.js.map +1 -1
  1088. package/es/illustration/FolderFloat140.stories.js +1 -1
  1089. package/es/illustration/FolderFloat140.stories.js.map +1 -1
  1090. package/es/illustration/FolderPlane140.stories.js +1 -1
  1091. package/es/illustration/FolderPlane140.stories.js.map +1 -1
  1092. package/es/illustration/FolderStar140.stories.js +1 -1
  1093. package/es/illustration/FolderStar140.stories.js.map +1 -1
  1094. package/es/illustration/Gavel56.stories.js +1 -1
  1095. package/es/illustration/Gavel56.stories.js.map +1 -1
  1096. package/es/illustration/Handshake56.stories.js +1 -1
  1097. package/es/illustration/Handshake56.stories.js.map +1 -1
  1098. package/es/illustration/HandshakeAgreement56.stories.js +1 -1
  1099. package/es/illustration/HandshakeAgreement56.stories.js.map +1 -1
  1100. package/es/illustration/HatWand140.stories.js +1 -1
  1101. package/es/illustration/HatWand140.stories.js.map +1 -1
  1102. package/es/illustration/Keynote56.stories.js +1 -1
  1103. package/es/illustration/Keynote56.stories.js.map +1 -1
  1104. package/es/illustration/LegalContract56.stories.js +1 -1
  1105. package/es/illustration/LegalContract56.stories.js.map +1 -1
  1106. package/es/illustration/LegalFolder56.stories.js +1 -1
  1107. package/es/illustration/LegalFolder56.stories.js.map +1 -1
  1108. package/es/illustration/LimitedApp56.stories.js +1 -1
  1109. package/es/illustration/LimitedApp56.stories.js.map +1 -1
  1110. package/es/illustration/MarketingPlan56.stories.js +1 -1
  1111. package/es/illustration/MarketingPlan56.stories.js.map +1 -1
  1112. package/es/illustration/Megaphone140.stories.js +1 -1
  1113. package/es/illustration/Megaphone140.stories.js.map +1 -1
  1114. package/es/illustration/MetricsReview56.stories.js +1 -1
  1115. package/es/illustration/MetricsReview56.stories.js.map +1 -1
  1116. package/es/illustration/Microphone140.stories.js +1 -1
  1117. package/es/illustration/Microphone140.stories.js.map +1 -1
  1118. package/es/illustration/Missing140.stories.js +1 -1
  1119. package/es/illustration/Missing140.stories.js.map +1 -1
  1120. package/es/illustration/MoneyStack56.stories.js +1 -1
  1121. package/es/illustration/MoneyStack56.stories.js.map +1 -1
  1122. package/es/illustration/MonthlyReport56.stories.js +1 -1
  1123. package/es/illustration/MonthlyReport56.stories.js.map +1 -1
  1124. package/es/illustration/NotesStar140.stories.js +1 -1
  1125. package/es/illustration/NotesStar140.stories.js.map +1 -1
  1126. package/es/illustration/PlanSelection140.stories.js +1 -1
  1127. package/es/illustration/PlanSelection140.stories.js.map +1 -1
  1128. package/es/illustration/Playbook56.stories.js +1 -1
  1129. package/es/illustration/Playbook56.stories.js.map +1 -1
  1130. package/es/illustration/ProjectFolder56.stories.js +1 -1
  1131. package/es/illustration/ProjectFolder56.stories.js.map +1 -1
  1132. package/es/illustration/RecentFiles140.stories.js +1 -1
  1133. package/es/illustration/RecentFiles140.stories.js.map +1 -1
  1134. package/es/illustration/RelayPlanet140.stories.js +1 -1
  1135. package/es/illustration/RelayPlanet140.stories.js.map +1 -1
  1136. package/es/illustration/SalesContract56.stories.js +1 -1
  1137. package/es/illustration/SalesContract56.stories.js.map +1 -1
  1138. package/es/illustration/Sandbox140.stories.js +1 -1
  1139. package/es/illustration/Sandbox140.stories.js.map +1 -1
  1140. package/es/illustration/TaskList56.stories.js +1 -1
  1141. package/es/illustration/TaskList56.stories.js.map +1 -1
  1142. package/es/illustration/Transfers140.stories.js +1 -1
  1143. package/es/illustration/Transfers140.stories.js.map +1 -1
  1144. package/es/illustration/TrashEmpty140.stories.js +1 -1
  1145. package/es/illustration/TrashEmpty140.stories.js.map +1 -1
  1146. package/es/illustration/Unplugged140.stories.js +1 -1
  1147. package/es/illustration/Unplugged140.stories.js.map +1 -1
  1148. package/es/illustration/UploadCloud140.stories.js +1 -1
  1149. package/es/illustration/UploadCloud140.stories.js.map +1 -1
  1150. package/es/illustration/UserOrbit56.stories.js +1 -1
  1151. package/es/illustration/UserOrbit56.stories.js.map +1 -1
  1152. package/es/src/components/avatar/Avatar.d.ts +2 -2
  1153. package/es/src/components/avatar/Avatar.stories.d.ts +2 -2
  1154. package/es/src/components/badge/Badge.d.ts +1 -1
  1155. package/es/src/components/badge/types.d.ts +1 -1
  1156. package/es/src/components/badgeable/Badgeable.d.ts +1 -1
  1157. package/es/src/components/button/Button.d.ts +1 -1
  1158. package/es/src/components/checkbox/CheckboxField.d.ts +1 -1
  1159. package/es/src/components/close-button/CloseButton.d.ts +2 -2
  1160. package/es/src/components/close-button/CloseButton.stories.d.ts +2 -2
  1161. package/es/src/components/count-badge/CountBadge.d.ts +1 -1
  1162. package/es/src/components/date-picker/DatePicker.d.ts +9 -9
  1163. package/es/src/components/date-picker/DatePicker.stories.d.ts +2 -2
  1164. package/es/src/components/footer-indicator/FooterIndicator.d.ts +1 -1
  1165. package/es/src/components/ghost/Ghost.d.ts +2 -2
  1166. package/es/src/components/ghost/Ghost.stories.d.ts +3 -3
  1167. package/es/src/components/guide-tooltip/GuideTooltip.d.ts +2 -2
  1168. package/es/src/components/header/Header.d.ts +1 -1
  1169. package/es/src/components/image-tooltip/ImageTooltip.d.ts +2 -2
  1170. package/es/src/components/image-tooltip/ImageTooltipContent.d.ts +2 -2
  1171. package/es/src/components/label/HiddenLabel.d.ts +3 -1
  1172. package/es/src/components/label/Label.d.ts +3 -1
  1173. package/es/src/components/label/Label.stories.d.ts +1 -1
  1174. package/es/src/components/label/LabelPrimitive.d.ts +3 -1
  1175. package/es/src/components/label/StandardLabel.d.ts +3 -1
  1176. package/es/src/components/loading-indicator/makeLoadable.d.ts +1 -1
  1177. package/es/src/components/media/Media.d.ts +2 -2
  1178. package/es/src/components/media/MediaMenu.d.ts +2 -2
  1179. package/es/src/components/media/stories/Media.stories.d.ts +2 -2
  1180. package/es/src/components/media/stories/MediaMenu.stories.d.ts +2 -2
  1181. package/es/src/components/menu/Menu.d.ts +1 -1
  1182. package/es/src/components/menu/MenuContext.d.ts +1 -1
  1183. package/es/src/components/plain-button/index.d.ts +1 -1
  1184. package/es/src/components/preview/PreviewLoading.d.ts +1 -1
  1185. package/es/src/components/preview/PreviewLoadingRing.d.ts +1 -1
  1186. package/es/src/components/preview/previewIcons.d.ts +7 -3
  1187. package/es/src/components/radio/RadioButtonField.d.ts +1 -1
  1188. package/es/src/components/radio/RadioGroup.d.ts +1 -1
  1189. package/es/src/components/radio/RadioGroupField.d.ts +1 -1
  1190. package/es/src/components/search-form/SearchActions.d.ts +16 -0
  1191. package/es/src/components/search-form/messages.d.ts +18 -0
  1192. package/es/src/components/time-input/TimeInput.d.ts +3 -3
  1193. package/es/src/components/time-input/TimeInput.stories.d.ts +2 -2
  1194. package/es/src/components/time-input/TimeInputUtils.d.ts +2 -2
  1195. package/es/src/components/tooltip/CloseButton.d.ts +3 -3
  1196. package/es/src/components/tooltip/Tooltip.d.ts +10 -10
  1197. package/es/src/components/tooltip/index.d.ts +1 -1
  1198. package/es/src/elements/common/annotator-context/types.d.ts +2 -2
  1199. package/es/src/elements/common/annotator-context/withAnnotations.d.ts +5 -5
  1200. package/es/src/elements/common/current-user/withCurrentUser.d.ts +4 -4
  1201. package/es/src/elements/common/nav-router/NavRouter.d.ts +1 -1
  1202. package/es/src/elements/common/nav-router/types.d.ts +1 -1
  1203. package/es/src/elements/content-preview/PreviewMask.d.ts +1 -1
  1204. package/es/src/elements/content-sidebar/SidebarNavSignButton.d.ts +24 -4
  1205. package/es/src/elements/content-sidebar/activity-feed/ActivityCard.d.ts +1 -1
  1206. package/es/src/elements/content-sidebar/activity-feed/SelectableActivityCard.d.ts +1 -1
  1207. package/es/src/elements/content-sidebar/activity-feed/activity-feed/ActivityItem.d.ts +1 -1
  1208. package/es/src/elements/content-sidebar/activity-feed/annotations/AnnotationActivityLink.d.ts +3 -3
  1209. package/es/src/elements/content-sidebar/activity-feed/common/activity-datestamp/ActivityDatestamp.d.ts +2 -2
  1210. package/es/src/elements/content-sidebar/activity-feed/illustrations/ActivityFeedEmptyStateIllustration.d.ts +1 -1
  1211. package/es/src/features/content-answers/Answer.d.ts +7 -0
  1212. package/es/src/features/content-answers/ContentAnswers.d.ts +10 -0
  1213. package/es/src/features/content-answers/ContentAnswersGridCard.d.ts +7 -0
  1214. package/es/src/features/content-answers/ContentAnswersModal.d.ts +10 -0
  1215. package/es/src/features/content-answers/ContentAnswersModalContent.d.ts +11 -0
  1216. package/es/src/features/content-answers/ContentAnswersModalError.d.ts +3 -0
  1217. package/es/src/features/content-answers/ContentAnswersModalFooter.d.ts +18 -0
  1218. package/es/src/features/content-answers/ContentAnswersModalFooterActions.d.ts +7 -0
  1219. package/es/src/features/content-answers/ContentAnswersOpenButton.d.ts +16 -0
  1220. package/es/src/features/content-answers/InlineError.d.ts +3 -0
  1221. package/es/src/features/content-answers/LoadingElement.d.ts +3 -0
  1222. package/es/src/features/content-answers/Question.d.ts +8 -0
  1223. package/es/src/features/content-answers/WelcomeMessage.d.ts +6 -0
  1224. package/es/src/features/content-answers/__mocks__/mocks.d.ts +23 -0
  1225. package/es/src/features/content-answers/__tests__/Answer.test.d.ts +1 -0
  1226. package/es/src/features/content-answers/__tests__/ContentAnswers.test.d.ts +1 -0
  1227. package/es/src/features/content-answers/__tests__/ContentAnswersGridCard.test.d.ts +1 -0
  1228. package/es/src/features/content-answers/__tests__/ContentAnswersModal.test.d.ts +1 -0
  1229. package/es/src/features/content-answers/__tests__/ContentAnswersModalContent.test.d.ts +1 -0
  1230. package/es/src/features/content-answers/__tests__/ContentAnswersModalError.test.d.ts +1 -0
  1231. package/es/src/features/content-answers/__tests__/ContentAnswersModalFooter.test.d.ts +1 -0
  1232. package/es/src/features/content-answers/__tests__/ContentAnswersModalFooterActions.d.ts +1 -0
  1233. package/es/src/features/content-answers/__tests__/ContentAnswersOpenButton.test.d.ts +1 -0
  1234. package/es/src/features/content-answers/__tests__/InlineError.test.d.ts +1 -0
  1235. package/es/src/features/content-answers/__tests__/Question.test.d.ts +1 -0
  1236. package/es/src/features/content-answers/__tests__/WelcomeMessage.test.d.ts +1 -0
  1237. package/es/src/features/content-answers/constants.d.ts +7 -0
  1238. package/es/src/features/content-answers/index.d.ts +1 -0
  1239. package/es/src/features/content-answers/messages.d.ts +83 -0
  1240. package/es/src/features/content-insights/CompactCount.d.ts +2 -2
  1241. package/es/src/features/content-insights/GraphCardPreviewsSummary.d.ts +2 -2
  1242. package/es/src/features/content-insights/MetricSummary.d.ts +2 -2
  1243. package/es/src/features/content-insights/TrendPill.d.ts +2 -2
  1244. package/es/src/features/content-insights/charts/bar/BarChart.d.ts +1 -1
  1245. package/es/src/features/content-insights/charts/types.d.ts +2 -2
  1246. package/es/src/features/content-insights/constants.d.ts +30 -18
  1247. package/es/src/features/content-insights/types.d.ts +9 -9
  1248. package/es/src/features/presence/PresenceAvatarList.d.ts +2 -2
  1249. package/es/src/features/presence/PresenceAvatarTooltipContent.d.ts +15 -3
  1250. package/es/src/features/sandbox-banner/SandboxBanner.d.ts +1 -1
  1251. package/es/src/icons/file/IconFileBase.d.ts +1 -1
  1252. package/es/styles/colors.stories.js +1 -1
  1253. package/es/styles/colors.stories.js.map +1 -1
  1254. package/es/styles/common/_buttons.scss +1 -1
  1255. package/es/styles/constants/_buttons.scss +1 -0
  1256. package/es/styles/typography.stories.js +1 -1
  1257. package/es/styles/typography.stories.js.map +1 -1
  1258. package/es/utils/Browser.js +11 -0
  1259. package/es/utils/Browser.js.flow +10 -0
  1260. package/es/utils/Browser.js.map +1 -1
  1261. package/es/utils/comparator.js +1 -1
  1262. package/es/utils/comparator.js.flow +1 -1
  1263. package/es/utils/comparator.js.map +1 -1
  1264. package/es/utils/createTheme.stories.js +1 -1
  1265. package/es/utils/createTheme.stories.js.flow +1 -1
  1266. package/es/utils/createTheme.stories.js.map +1 -1
  1267. package/es/utils/fields.js +3 -3
  1268. package/es/utils/fields.js.flow +3 -0
  1269. package/es/utils/fields.js.map +1 -1
  1270. package/es/utils/flatten.js +1 -1
  1271. package/es/utils/flatten.js.flow +6 -1
  1272. package/es/utils/flatten.js.map +1 -1
  1273. package/es/utils/size.js +5 -5
  1274. package/es/utils/size.js.flow +5 -5
  1275. package/es/utils/size.js.map +1 -1
  1276. package/es/utils/sorter.js +1 -1
  1277. package/es/utils/sorter.js.flow +1 -1
  1278. package/es/utils/sorter.js.map +1 -1
  1279. package/flow-typed/box-ui-elements.js +1 -0
  1280. package/i18n/bn-IN.js +19 -1
  1281. package/i18n/bn-IN.properties +38 -2
  1282. package/i18n/da-DK.js +19 -1
  1283. package/i18n/da-DK.properties +38 -2
  1284. package/i18n/de-DE.js +19 -1
  1285. package/i18n/de-DE.properties +38 -2
  1286. package/i18n/en-AU.js +19 -1
  1287. package/i18n/en-AU.properties +38 -2
  1288. package/i18n/en-CA.js +19 -1
  1289. package/i18n/en-CA.properties +38 -2
  1290. package/i18n/en-GB.js +19 -1
  1291. package/i18n/en-GB.properties +38 -2
  1292. package/i18n/en-US.js +19 -1
  1293. package/i18n/en-US.properties +38 -2
  1294. package/i18n/en-x-pseudo.js +943 -926
  1295. package/i18n/en-x-pseudo.properties +962 -926
  1296. package/i18n/es-419.js +19 -1
  1297. package/i18n/es-419.properties +38 -2
  1298. package/i18n/es-ES.js +19 -1
  1299. package/i18n/es-ES.properties +38 -2
  1300. package/i18n/fi-FI.js +19 -1
  1301. package/i18n/fi-FI.properties +38 -2
  1302. package/i18n/fr-CA.js +19 -1
  1303. package/i18n/fr-CA.properties +38 -2
  1304. package/i18n/fr-FR.js +19 -1
  1305. package/i18n/fr-FR.properties +38 -2
  1306. package/i18n/hi-IN.js +19 -1
  1307. package/i18n/hi-IN.properties +38 -2
  1308. package/i18n/it-IT.js +19 -1
  1309. package/i18n/it-IT.properties +38 -2
  1310. package/i18n/ja-JP.js +29 -11
  1311. package/i18n/ja-JP.properties +48 -12
  1312. package/i18n/ko-KR.js +19 -1
  1313. package/i18n/ko-KR.properties +38 -2
  1314. package/i18n/nb-NO.js +19 -1
  1315. package/i18n/nb-NO.properties +38 -2
  1316. package/i18n/nl-NL.js +19 -1
  1317. package/i18n/nl-NL.properties +38 -2
  1318. package/i18n/pl-PL.js +19 -1
  1319. package/i18n/pl-PL.properties +38 -2
  1320. package/i18n/pt-BR.js +19 -1
  1321. package/i18n/pt-BR.properties +38 -2
  1322. package/i18n/ru-RU.js +19 -1
  1323. package/i18n/ru-RU.properties +38 -2
  1324. package/i18n/sv-SE.js +19 -1
  1325. package/i18n/sv-SE.properties +38 -2
  1326. package/i18n/tr-TR.js +19 -1
  1327. package/i18n/tr-TR.properties +38 -2
  1328. package/i18n/zh-CN.js +19 -1
  1329. package/i18n/zh-CN.properties +38 -2
  1330. package/i18n/zh-TW.js +19 -1
  1331. package/i18n/zh-TW.properties +38 -2
  1332. package/package.json +48 -36
  1333. package/src/api/APIFactory.js +25 -0
  1334. package/src/api/Feed.js +8 -4
  1335. package/src/api/Intelligence.js +47 -0
  1336. package/src/api/__tests__/Intelligence.test.js +81 -0
  1337. package/src/api/__tests__/Item.test.js +1 -1
  1338. package/src/api/uploads/__tests__/BaseUpload.test.js +5 -5
  1339. package/src/api/uploads/__tests__/FolderUpload.test.js +1 -1
  1340. package/src/api/uploads/__tests__/FolderUploadNode.test.js +1 -1
  1341. package/src/api/uploads/__tests__/MultiputUpload.test.js +1 -1
  1342. package/src/common/types/core.js +1 -0
  1343. package/src/components/accessible-svg/AccessibleSVG.stories.tsx +1 -1
  1344. package/src/components/avatar/Avatar.stories.tsx +1 -1
  1345. package/src/components/badge/Badge.stories.tsx +1 -1
  1346. package/src/components/badge/BetaBadge.stories.tsx +1 -1
  1347. package/src/components/badge/TrialBadge.stories.tsx +1 -1
  1348. package/src/components/badge/UpgradeBadge.stories.tsx +1 -1
  1349. package/src/components/breadcrumb/Breadcrumb.stories.js +1 -1
  1350. package/src/components/button/Button.stories.tsx +1 -1
  1351. package/src/components/button-group/ButtonGroup.stories.tsx +1 -1
  1352. package/src/components/category-selector/CategorySelector.stories.tsx +1 -1
  1353. package/src/components/checkbox/Checkbox.stories.tsx +1 -1
  1354. package/src/components/close-button/CloseButton.stories.tsx +1 -1
  1355. package/src/components/collapsible/Collapsible.stories.tsx +1 -1
  1356. package/src/components/collapsible/__tests__/__snapshots__/Collapsible.test.tsx.snap +14 -14
  1357. package/src/components/contact-datalist-item/ContactDatalistItem.stories.tsx +1 -1
  1358. package/src/components/context-menu/ContextMenu.stories.tsx +1 -1
  1359. package/src/components/count-badge/CountBadge.stories.tsx +1 -1
  1360. package/src/components/datalist-item/DatalistItem.stories.tsx +1 -1
  1361. package/src/components/date-picker/DatePicker.stories.tsx +1 -1
  1362. package/src/components/draft-js-editor/DraftJSEditor.stories.js +1 -1
  1363. package/src/components/draggable-list/DraggableList.stories.tsx +1 -1
  1364. package/src/components/dropdown-menu/DropdownMenu.stories.js +1 -1
  1365. package/src/components/error-mask/ErrorMask.stories.tsx +1 -1
  1366. package/src/components/fieldset/Fieldset.stories.tsx +1 -1
  1367. package/src/components/flyout/Flyout.stories.tsx +1 -1
  1368. package/src/components/flyout/OverlayHeader.tsx +1 -1
  1369. package/src/components/footer-indicator/FooterIndicator.stories.tsx +1 -1
  1370. package/src/components/form-elements/form/Form.stories.js +1 -1
  1371. package/src/components/form-elements/formik/Formik.stories.js +1 -1
  1372. package/src/components/form-elements/text-area/TextArea.stories.js +1 -1
  1373. package/src/components/form-elements/text-input/TextInput.stories.js +1 -1
  1374. package/src/components/ghost/Ghost.stories.tsx +1 -1
  1375. package/src/components/grid-view/__tests__/__snapshots__/GridView.test.js.snap +4 -4
  1376. package/src/components/guide-tooltip/GuideTooltip.stories.tsx +1 -1
  1377. package/src/components/header/Header.stories.tsx +1 -1
  1378. package/src/components/image-tooltip/ImageTooltip.stories.tsx +1 -1
  1379. package/src/components/inline-error/InlineError.stories.js +1 -1
  1380. package/src/components/inline-notice/InlineNotice.stories.js +1 -1
  1381. package/src/components/label/HiddenLabel.js.flow +3 -2
  1382. package/src/components/label/HiddenLabel.tsx +4 -2
  1383. package/src/components/label/Label.js.flow +5 -3
  1384. package/src/components/label/Label.stories.tsx +1 -1
  1385. package/src/components/label/Label.tsx +18 -3
  1386. package/src/components/label/LabelPrimitive.js.flow +3 -2
  1387. package/src/components/label/LabelPrimitive.tsx +4 -2
  1388. package/src/components/label/StandardLabel.js.flow +3 -2
  1389. package/src/components/label/StandardLabel.tsx +4 -2
  1390. package/src/components/label/__tests__/__snapshots__/Label.test.tsx.snap +2 -2
  1391. package/src/components/label/__tests__/__snapshots__/StandardLabel.test.tsx.snap +1 -1
  1392. package/src/components/label-pill/LabelPill.stories.tsx +1 -1
  1393. package/src/components/link/stories/Link.stories.tsx +2 -1
  1394. package/src/components/link/stories/LinkButton.stories.tsx +3 -1
  1395. package/src/components/link/stories/LinkGroup.stories.tsx +1 -1
  1396. package/src/components/link/stories/LinkPrimaryButton.stories.tsx +2 -1
  1397. package/src/components/loading-indicator/LoadingIndicator.stories.tsx +1 -1
  1398. package/src/components/loading-indicator/LoadingIndicatorWrapper.stories.tsx +1 -1
  1399. package/src/components/loading-indicator/makeLoadable.tsx +2 -4
  1400. package/src/components/logo/Logo.stories.tsx +1 -1
  1401. package/src/components/media/stories/Media.stories.tsx +1 -1
  1402. package/src/components/media/stories/MediaBody.stories.tsx +1 -1
  1403. package/src/components/media/stories/MediaFigure.stories.tsx +1 -1
  1404. package/src/components/media/stories/MediaMenu.stories.tsx +1 -1
  1405. package/src/components/media-query/stories/MediaQuery.stories.js +1 -1
  1406. package/src/components/menu/stories/Menu.stories.tsx +1 -1
  1407. package/src/components/menu/stories/SelectMenuLinkItem.stories.tsx +1 -1
  1408. package/src/components/modal/Modal.scss +62 -69
  1409. package/src/components/modal/stories/Modal.stories.js +1 -1
  1410. package/src/components/modal/stories/ModalActions.stories.js +1 -1
  1411. package/src/components/modal/stories/ModalDialog.stories.js +1 -1
  1412. package/src/components/nav-sidebar/NavSidebar.stories.js +1 -1
  1413. package/src/components/notification/stories/Notification.stories.js +1 -1
  1414. package/src/components/notification/stories/NotificationsWrapper.stories.js +1 -1
  1415. package/src/components/nudge/Nudge.stories.tsx +1 -1
  1416. package/src/components/pill-cloud/PillCloud.stories.js +1 -1
  1417. package/src/components/pill-selector-dropdown/PillSelector.js +10 -2
  1418. package/src/components/pill-selector-dropdown/PillSelector.scss +4 -0
  1419. package/src/components/pill-selector-dropdown/PillSelectorDropdown.stories.js +1 -1
  1420. package/src/components/pill-selector-dropdown/__tests__/PillSelector.test.js +21 -0
  1421. package/src/components/pill-selector-dropdown/__tests__/__snapshots__/PillSelector.test.js.snap +1 -1
  1422. package/src/components/pill-selector-dropdown/__tests__/__snapshots__/PillSelectorDropdown.test.js.snap +1 -1
  1423. package/src/components/pill-selector-dropdown/__tests__/__snapshots__/PillSelectorDropdownField.test.js.snap +12 -12
  1424. package/src/components/pill-selector-dropdown/__tests__/__snapshots__/defaultDropdownRenderer.test.js.snap +1 -1
  1425. package/src/components/plain-button/PlainButton.stories.tsx +1 -1
  1426. package/src/components/plain-button/__tests__/__snapshots__/PlainButton.test.tsx.snap +4 -4
  1427. package/src/components/primary-button/PrimaryButton.stories.tsx +1 -1
  1428. package/src/components/radar/RadarAnimation.stories.tsx +1 -1
  1429. package/src/components/radar/__tests__/__snapshots__/RadarAnimation.test.tsx.snap +20 -20
  1430. package/src/components/radio/stories/RadioButton.stories.tsx +1 -1
  1431. package/src/components/radio/stories/RadioGroup.stories.tsx +1 -1
  1432. package/src/components/search-form/SearchActions.tsx +50 -0
  1433. package/src/components/search-form/SearchForm.js +10 -54
  1434. package/src/components/search-form/__tests__/SearchForm.test.js +9 -5
  1435. package/src/components/search-form/messages.ts +21 -0
  1436. package/src/components/section/Section.stories.tsx +1 -1
  1437. package/src/components/select/Select.stories.js +1 -1
  1438. package/src/components/select-button/SelectButton.stories.js +1 -1
  1439. package/src/components/select-field/__tests__/__snapshots__/BaseSelectField.test.js.snap +1 -1
  1440. package/src/components/selector-dropdown/SelectorDropdown.stories.js +1 -1
  1441. package/src/components/sidebar-toggle-button/SidebarToggleButton.stories.js +1 -1
  1442. package/src/components/sidebar-toggle-button/__tests__/__snapshots__/SidebarToggleButton.test.js.snap +12 -12
  1443. package/src/components/tab-view/TabView.stories.js +1 -1
  1444. package/src/components/text-area/__tests__/__snapshots__/TextArea.test.js.snap +3 -3
  1445. package/src/components/text-input/TextInput.stories.js +1 -1
  1446. package/src/components/text-input-with-copy-button/TextInputWithCopyButton.js +9 -4
  1447. package/src/components/text-input-with-copy-button/TextInputWithCopyButton.stories.js +1 -1
  1448. package/src/components/thumbnail-card/ThumbnailCard.stories.js +1 -1
  1449. package/src/components/time/ReadableTime.stories.js +1 -1
  1450. package/src/components/time-input/TimeInput.stories.tsx +1 -1
  1451. package/src/components/toggle/Toggle.stories.js +1 -1
  1452. package/src/components/tooltip/Tooltip.stories.tsx +1 -1
  1453. package/src/components/tooltip/__tests__/__snapshots__/Tooltip.test.tsx.snap +14 -14
  1454. package/src/constants.js +1 -0
  1455. package/src/elements/common/_variables.scss +1 -0
  1456. package/src/elements/common/current-user/withCurrentUser.tsx +1 -0
  1457. package/src/elements/common/feature-checking/__tests__/withFeatureProvider.test.js +25 -25
  1458. package/src/elements/common/logger/__tests__/__snapshots__/Logger.test.js.snap +1 -1
  1459. package/src/elements/common/selectors/__tests__/version.js +13 -11
  1460. package/src/elements/common/selectors/version.js +2 -1
  1461. package/src/elements/content-explorer/ContentExplorer.js +10 -4
  1462. package/src/elements/content-explorer/MoreOptions.js +1 -1
  1463. package/src/elements/content-explorer/PreviewDialog.js +0 -1
  1464. package/src/elements/content-explorer/__tests__/ContentExplorer.test.js +60 -0
  1465. package/src/elements/content-explorer/stories/ContentExplorer.stories.js +25 -36
  1466. package/src/elements/content-explorer/stories/DeleteConfirmationDialog.stories.js +1 -1
  1467. package/src/elements/content-explorer/stories/ShareDialog.stories.js +1 -1
  1468. package/src/elements/content-open-with/__tests__/__snapshots__/BoxToolsInstallMessage.test.js.snap +2 -2
  1469. package/src/elements/content-open-with/__tests__/__snapshots__/ContentOpenWith.test.js.snap +6 -6
  1470. package/src/elements/content-open-with/__tests__/__snapshots__/OpenWithDropdownMenu.test.js.snap +1 -1
  1471. package/src/elements/content-picker/ContentPicker.js +2 -2
  1472. package/src/elements/content-picker/Footer.scss +6 -0
  1473. package/src/elements/content-preview/ContentPreview.js +88 -64
  1474. package/src/elements/content-preview/ContentPreview.scss +13 -28
  1475. package/src/elements/content-preview/__tests__/ContentPreview.test.js +6 -5
  1476. package/src/elements/content-preview/__tests__/__snapshots__/PreviewNavigation.test.js.snap +93 -93
  1477. package/src/elements/content-preview/preview-header/PreviewHeader.js +6 -0
  1478. package/src/elements/content-preview/preview-header/__tests__/PreviewHeader.test.js +25 -0
  1479. package/src/elements/content-preview/stories/ContentPreview.stories.js +51 -81
  1480. package/src/elements/content-sharing/stories/ContentSharing.stories.js +18 -84
  1481. package/src/elements/content-sidebar/ActivitySidebar.js +2 -2
  1482. package/src/elements/content-sidebar/ContentSidebar.scss +9 -9
  1483. package/src/elements/content-sidebar/SidebarContent.scss +6 -8
  1484. package/src/elements/content-sidebar/SidebarNav.scss +22 -20
  1485. package/src/elements/content-sidebar/SidebarNavButton.scss +12 -14
  1486. package/src/elements/content-sidebar/SidebarNavSignButton.scss +6 -8
  1487. package/src/elements/content-sidebar/__tests__/ActivitySidebar.test.js +8 -4
  1488. package/src/elements/content-sidebar/__tests__/__snapshots__/ActivitySidebar.test.js.snap +5 -5
  1489. package/src/elements/content-sidebar/__tests__/__snapshots__/DetailsSidebar.test.js.snap +9 -9
  1490. package/src/elements/content-sidebar/__tests__/__snapshots__/MetadataSidebar.test.js.snap +6 -6
  1491. package/src/elements/content-sidebar/__tests__/__snapshots__/SidebarAccessStats.test.js.snap +12 -12
  1492. package/src/elements/content-sidebar/__tests__/__snapshots__/SidebarClassification.test.js.snap +3 -3
  1493. package/src/elements/content-sidebar/__tests__/__snapshots__/SidebarFileProperties.test.js.snap +10 -10
  1494. package/src/elements/content-sidebar/__tests__/__snapshots__/SidebarNotices.test.js.snap +2 -2
  1495. package/src/elements/content-sidebar/__tests__/__snapshots__/SkillsSidebar.test.js.snap +3 -3
  1496. package/src/elements/content-sidebar/__tests__/__snapshots__/TaskModal.test.js.snap +15 -15
  1497. package/src/elements/content-sidebar/activity-feed/__tests__/__snapshots__/Avatar.test.js.snap +1 -1
  1498. package/src/elements/content-sidebar/activity-feed/activity-feed/ActiveState.js +20 -2
  1499. package/src/elements/content-sidebar/activity-feed/activity-feed/ActivityFeed.js +7 -6
  1500. package/src/elements/content-sidebar/activity-feed/activity-feed/ActivityFeed.scss +6 -4
  1501. package/src/elements/content-sidebar/activity-feed/activity-feed/ActivityItem.scss +2 -2
  1502. package/src/elements/content-sidebar/activity-feed/activity-feed/__tests__/ActiveState.test.js +36 -0
  1503. package/src/elements/content-sidebar/activity-feed/activity-feed/__tests__/__snapshots__/ActiveState.test.js.snap +35 -35
  1504. package/src/elements/content-sidebar/activity-feed/activity-feed/stories/ActivityFeed.stories.js +70 -0
  1505. package/src/elements/content-sidebar/activity-feed/annotation-thread/AnnotationThreadContent.js +2 -2
  1506. package/src/elements/content-sidebar/activity-feed/annotation-thread/__tests__/useAnnotationThread.test.js +4 -2
  1507. package/src/elements/content-sidebar/activity-feed/annotation-thread/useAnnotationThread.js +3 -7
  1508. package/src/elements/content-sidebar/activity-feed/annotations/AnnotationActivity.js +3 -3
  1509. package/src/elements/content-sidebar/activity-feed/app-activity/__tests__/__snapshots__/AppActivity.test.js.snap +2 -2
  1510. package/src/elements/content-sidebar/activity-feed/comment/BaseComment.js +59 -166
  1511. package/src/elements/content-sidebar/activity-feed/comment/BaseComment.scss +34 -12
  1512. package/src/elements/content-sidebar/activity-feed/comment/CreateReply.js +5 -4
  1513. package/src/elements/content-sidebar/activity-feed/comment/Replies.scss +4 -2
  1514. package/src/elements/content-sidebar/activity-feed/comment/__tests__/BaseComment.test.js +18 -6
  1515. package/src/elements/content-sidebar/activity-feed/comment/__tests__/CreateReply.test.js +12 -0
  1516. package/src/elements/content-sidebar/activity-feed/comment/__tests__/Replies.test.js +25 -1
  1517. package/src/elements/content-sidebar/activity-feed/comment/__tests__/__snapshots__/Comment.test.js.snap +8 -8
  1518. package/src/elements/content-sidebar/activity-feed/comment/components/BaseCommentInfo.js +72 -0
  1519. package/src/elements/content-sidebar/activity-feed/comment/components/BaseCommentInfo.scss +38 -0
  1520. package/src/elements/content-sidebar/activity-feed/comment/components/BaseCommentMenu.js +125 -0
  1521. package/src/elements/content-sidebar/activity-feed/comment/components/BaseCommentMenu.scss +4 -0
  1522. package/src/elements/content-sidebar/activity-feed/comment/components/BaseCommentMenuWrapper.js +91 -0
  1523. package/src/elements/content-sidebar/activity-feed/comment/components/__tests__/BaseCommentInfo.test.js +51 -0
  1524. package/src/elements/content-sidebar/activity-feed/comment/components/__tests__/BaseCommentMenu.test.js +85 -0
  1525. package/src/elements/content-sidebar/activity-feed/comment/components/stories/BaseCommentInfo.stories.js +25 -0
  1526. package/src/elements/content-sidebar/activity-feed/comment/components/stories/BaseCommentMenu.stories.js +26 -0
  1527. package/src/elements/content-sidebar/activity-feed/comment/components/stories/common.js +28 -0
  1528. package/src/elements/content-sidebar/activity-feed/comment/messages.js +5 -5
  1529. package/src/elements/content-sidebar/activity-feed/comment/stories/BaseComment.stories.js +1 -1
  1530. package/src/elements/content-sidebar/activity-feed/comment/stories/common.js +1 -1
  1531. package/src/elements/content-sidebar/activity-feed/comment/types.js +13 -0
  1532. package/src/elements/content-sidebar/activity-feed/comment-form/CommentForm.js +11 -3
  1533. package/src/elements/content-sidebar/activity-feed/comment-form/__tests__/CommentForm.test.js +37 -21
  1534. package/src/elements/content-sidebar/activity-feed/common/activity-timestamp/__tests__/__snapshots__/ActivityTimestamp.test.js.snap +1 -1
  1535. package/src/elements/content-sidebar/activity-feed/common/delete-confirmation/DeleteConfirmation.js +2 -0
  1536. package/src/elements/content-sidebar/activity-feed/common/delete-confirmation/DeleteConfirmation.scss +1 -1
  1537. package/src/elements/content-sidebar/activity-feed/task-form/__tests__/__snapshots__/TaskError.test.js.snap +10 -10
  1538. package/src/elements/content-sidebar/activity-feed/task-new/Task.js +7 -2
  1539. package/src/elements/content-sidebar/activity-feed/task-new/__tests__/__snapshots__/AssigneeDetails.test.js.snap +9 -9
  1540. package/src/elements/content-sidebar/activity-feed/task-new/__tests__/__snapshots__/Task.test.js.snap +30 -21
  1541. package/src/elements/content-sidebar/activity-feed/task-new/__tests__/__snapshots__/TaskDueDate.test.js.snap +1 -1
  1542. package/src/elements/content-sidebar/activity-feed/task-new/messages.js +10 -0
  1543. package/src/elements/content-sidebar/activity-feed/version/__tests__/__snapshots__/CollapsedVersion.test.js.snap +2 -2
  1544. package/src/elements/content-sidebar/additional-tabs/__tests__/__snapshots__/AdditionalTabsLoading.test.js.snap +1 -1
  1545. package/src/elements/content-sidebar/skills/__tests__/__snapshots__/SidebarSkills.test.js.snap +208 -208
  1546. package/src/elements/content-sidebar/skills/__tests__/__snapshots__/SidebarSkillsCard.test.js.snap +5 -5
  1547. package/src/elements/content-sidebar/skills/faces/__tests__/__snapshots__/Faces.test.js.snap +23 -23
  1548. package/src/elements/content-sidebar/skills/keywords/__tests__/__snapshots__/EditableKeywords.test.js.snap +3 -3
  1549. package/src/elements/content-sidebar/skills/keywords/__tests__/__snapshots__/Keywords.test.js.snap +15 -15
  1550. package/src/elements/content-sidebar/skills/keywords/__tests__/__snapshots__/ReadOnlyKeywords.test.js.snap +8 -8
  1551. package/src/elements/content-sidebar/skills/timeline/__tests__/__snapshots__/Timeslice.test.js.snap +3 -3
  1552. package/src/elements/content-sidebar/skills/transcript/__tests__/__snapshots__/EditingTranscriptRow.test.js.snap +2 -10
  1553. package/src/elements/content-sidebar/stories/ContentSidebar.stories.js +19 -28
  1554. package/src/elements/content-sidebar/versions/VersionsItem.scss +6 -0
  1555. package/src/elements/content-sidebar/versions/__tests__/VersionsItem.test.js +3 -0
  1556. package/src/elements/content-sidebar/versions/__tests__/__snapshots__/VersionsItem.test.js.snap +3 -3
  1557. package/src/elements/content-sidebar/versions/__tests__/__snapshots__/VersionsSidebar.test.js.snap +2 -2
  1558. package/src/elements/content-sidebar/versions/__tests__/__snapshots__/VersionsSidebarContainer.test.js.snap +5 -5
  1559. package/src/elements/content-uploader/ItemName.scss +1 -1
  1560. package/src/elements/content-uploader/ProgressBar.scss +4 -0
  1561. package/src/elements/content-uploader/__tests__/__snapshots__/UploadStateContent.test.js.snap +1 -1
  1562. package/src/elements/content-uploader/stories/ContentUploader.stories.js +7 -11
  1563. package/src/features/access-stats/__tests__/__snapshots__/AccessStats.test.js.snap +30 -30
  1564. package/src/features/access-stats/__tests__/__snapshots__/AccessStatsItemsList.test.js.snap +14 -14
  1565. package/src/features/classification/__tests__/__snapshots__/Classification.test.js.snap +5 -5
  1566. package/src/features/classification/security-controls/__tests__/__snapshots__/SecurityControls.test.js.snap +17 -17
  1567. package/src/features/classification/security-controls/__tests__/__snapshots__/SecurityControlsModal.test.js.snap +6 -6
  1568. package/src/features/collaborator-avatars/CollaboratorList.scss +11 -1
  1569. package/src/features/collaborator-avatars/__tests__/__snapshots__/CollaboratorList.test.js.snap +10 -10
  1570. package/src/features/collaborator-avatars/__tests__/__snapshots__/CollaboratorListItem.test.js.snap +3 -3
  1571. package/src/features/collapsible-sidebar/CollapsibleSidebar.stories.js +1 -1
  1572. package/src/features/collapsible-sidebar/__tests__/__snapshots__/CollapsibleSidebarLogo.test.js.snap +2 -2
  1573. package/src/features/collapsible-sidebar/__tests__/__snapshots__/CollapsibleSidebarNav.test.js.snap +24 -24
  1574. package/src/features/content-answers/Answer.scss +4 -0
  1575. package/src/features/content-answers/Answer.tsx +22 -0
  1576. package/src/features/content-answers/ContentAnswers.tsx +60 -0
  1577. package/src/features/content-answers/ContentAnswersGridCard.scss +26 -0
  1578. package/src/features/content-answers/ContentAnswersGridCard.tsx +27 -0
  1579. package/src/features/content-answers/ContentAnswersModal.scss +56 -0
  1580. package/src/features/content-answers/ContentAnswersModal.tsx +136 -0
  1581. package/src/features/content-answers/ContentAnswersModalContent.scss +12 -0
  1582. package/src/features/content-answers/ContentAnswersModalContent.tsx +64 -0
  1583. package/src/features/content-answers/ContentAnswersModalError.scss +28 -0
  1584. package/src/features/content-answers/ContentAnswersModalError.tsx +32 -0
  1585. package/src/features/content-answers/ContentAnswersModalFooter.scss +42 -0
  1586. package/src/features/content-answers/ContentAnswersModalFooter.tsx +103 -0
  1587. package/src/features/content-answers/ContentAnswersModalFooterActions.scss +17 -0
  1588. package/src/features/content-answers/ContentAnswersModalFooterActions.tsx +45 -0
  1589. package/src/features/content-answers/ContentAnswersOpenButton.scss +54 -0
  1590. package/src/features/content-answers/ContentAnswersOpenButton.tsx +74 -0
  1591. package/src/features/content-answers/InlineError.scss +39 -0
  1592. package/src/features/content-answers/InlineError.tsx +32 -0
  1593. package/src/features/content-answers/LoadingElement.scss +4 -0
  1594. package/src/features/content-answers/LoadingElement.tsx +17 -0
  1595. package/src/features/content-answers/Question.scss +16 -0
  1596. package/src/features/content-answers/Question.tsx +30 -0
  1597. package/src/features/content-answers/WelcomeMessage.scss +25 -0
  1598. package/src/features/content-answers/WelcomeMessage.tsx +35 -0
  1599. package/src/features/content-answers/__mocks__/mocks.ts +66 -0
  1600. package/src/features/content-answers/__tests__/Answer.test.tsx +25 -0
  1601. package/src/features/content-answers/__tests__/ContentAnswers.test.tsx +53 -0
  1602. package/src/features/content-answers/__tests__/ContentAnswersGridCard.test.tsx +21 -0
  1603. package/src/features/content-answers/__tests__/ContentAnswersModal.test.tsx +117 -0
  1604. package/src/features/content-answers/__tests__/ContentAnswersModalContent.test.tsx +104 -0
  1605. package/src/features/content-answers/__tests__/ContentAnswersModalError.test.tsx +26 -0
  1606. package/src/features/content-answers/__tests__/ContentAnswersModalFooter.test.tsx +96 -0
  1607. package/src/features/content-answers/__tests__/ContentAnswersModalFooterActions.tsx +37 -0
  1608. package/src/features/content-answers/__tests__/ContentAnswersOpenButton.test.tsx +73 -0
  1609. package/src/features/content-answers/__tests__/InlineError.test.tsx +20 -0
  1610. package/src/features/content-answers/__tests__/Question.test.tsx +21 -0
  1611. package/src/features/content-answers/__tests__/WelcomeMessage.test.tsx +24 -0
  1612. package/src/features/content-answers/constants.ts +134 -0
  1613. package/src/features/content-answers/index.ts +1 -0
  1614. package/src/features/content-answers/messages.ts +87 -0
  1615. package/src/features/content-explorer/content-explorer/ContentExplorer.js +19 -15
  1616. package/src/features/content-explorer/content-explorer/ContentExplorer.scss +4 -0
  1617. package/src/features/content-explorer/content-explorer/ContentExplorerBreadcrumbs.js +2 -0
  1618. package/src/features/content-explorer/content-explorer/__tests__/ContentExplorer.test.js +29 -0
  1619. package/src/features/content-explorer/content-explorer/__tests__/__snapshots__/ContentExplorer.test.js.snap +10 -10
  1620. package/src/features/content-explorer/content-explorer/__tests__/__snapshots__/ContentExplorerHeaderActions.test.js.snap +1 -1
  1621. package/src/features/content-explorer/content-explorer-modal/ContentExplorerModal.js +1 -0
  1622. package/src/features/content-explorer/content-explorer-modal/__tests__/__snapshots__/ContentExplorerModal.test.js.snap +10 -10
  1623. package/src/features/content-explorer/content-explorer-modal-container/ContentExplorerModalContainer.js +2 -0
  1624. package/src/features/content-explorer/item-list/__tests__/__snapshots__/ItemListIcon.test.js.snap +4 -4
  1625. package/src/features/header-flyout/__tests__/__snapshots__/HeaderFlyout.test.js.snap +3 -3
  1626. package/src/features/invite-collaborators-modal/__tests__/__snapshots__/InviteCollaboratorsModal.test.js.snap +8 -8
  1627. package/src/features/item-details/__tests__/__snapshots__/EditableDescription.test.js.snap +2 -8
  1628. package/src/features/item-details/__tests__/__snapshots__/ItemExpirationNotice.test.js.snap +4 -4
  1629. package/src/features/item-details/__tests__/__snapshots__/ItemProperties.test.js.snap +2 -2
  1630. package/src/features/item-details/__tests__/__snapshots__/ReadonlyDescription.test.js.snap +2 -2
  1631. package/src/features/item-details/__tests__/__snapshots__/SharedLinkExpirationNotice.test.js.snap +2 -2
  1632. package/src/features/item-details/__tests__/__snapshots__/VersionHistoryLink.test.js.snap +2 -2
  1633. package/src/features/left-sidebar/__tests__/__snapshots__/InstantLogin.test.js.snap +2 -2
  1634. package/src/features/left-sidebar/__tests__/__snapshots__/LeftSidebar.test.js.snap +21 -21
  1635. package/src/features/left-sidebar/__tests__/__snapshots__/LeftSidebarLink.test.js.snap +14 -14
  1636. package/src/features/left-sidebar/__tests__/__snapshots__/defaultNavLinkRenderer.test.js.snap +1 -1
  1637. package/src/features/message-center/components/templates/common/__tests__/__snapshots__/MessageTextContent.test.js.snap +2 -2
  1638. package/src/features/message-center/components/templates/preview-title-body-tags-button/__tests__/__snapshots__/PreviewTitleBodyTagsButton.test.js.snap +4 -4
  1639. package/src/features/message-center/components/templates/title-body-tags-button/__tests__/__snapshots__/TitleBodyTagsButton.test.js.snap +4 -4
  1640. package/src/features/metadata-based-view/__tests__/__snapshots__/IconWithTooltip.test.js.snap +3 -3
  1641. package/src/features/metadata-based-view/__tests__/__snapshots__/MetadataBasedItemList.test.js.snap +21 -21
  1642. package/src/features/metadata-instance-editor/__tests__/__snapshots__/Header.test.js.snap +3 -3
  1643. package/src/features/metadata-instance-editor/__tests__/__snapshots__/Instance.test.js.snap +204 -204
  1644. package/src/features/metadata-instance-editor/__tests__/__snapshots__/Instances.test.js.snap +37 -37
  1645. package/src/features/metadata-instance-editor/__tests__/__snapshots__/MetadataInstanceEditor.test.js.snap +229 -229
  1646. package/src/features/metadata-instance-editor/__tests__/__snapshots__/TemplateDropdown.test.js.snap +7 -7
  1647. package/src/features/metadata-instance-editor/__tests__/__snapshots__/TemplatedInstance.test.js.snap +17 -17
  1648. package/src/features/metadata-instance-fields/__tests__/__snapshots__/DateMetadataField.test.js.snap +1 -1
  1649. package/src/features/metadata-instance-fields/__tests__/__snapshots__/EnumMetadataField.test.js.snap +10 -10
  1650. package/src/features/metadata-instance-fields/__tests__/__snapshots__/MetadataField.test.js.snap +1 -1
  1651. package/src/features/metadata-instance-fields/__tests__/__snapshots__/MultiSelectMetadataField.test.js.snap +4 -4
  1652. package/src/features/pagination/Pagination.scss +0 -4
  1653. package/src/features/pagination/__tests__/__snapshots__/MarkerBasedPagination.test.js.snap +8 -8
  1654. package/src/features/pagination/__tests__/__snapshots__/OffsetBasedPagination.test.js.snap +34 -34
  1655. package/src/features/pagination/__tests__/__snapshots__/PaginationMenu.test.js.snap +3 -3
  1656. package/src/features/presence/__tests__/__snapshots__/Presence.test.js.snap +49 -49
  1657. package/src/features/presence/__tests__/__snapshots__/PresenceLink.test.js.snap +24 -24
  1658. package/src/features/query-bar/__tests__/__snapshots__/ColumnButton.test.js.snap +6 -6
  1659. package/src/features/query-bar/__tests__/__snapshots__/Condition.test.js.snap +10 -10
  1660. package/src/features/query-bar/__tests__/__snapshots__/QueryBar.test.js.snap +41 -41
  1661. package/src/features/query-bar/__tests__/__snapshots__/TemplateButton.test.js.snap +2 -2
  1662. package/src/features/sandbox-banner/SandboxBanner.stories.tsx +1 -1
  1663. package/src/features/security/__tests__/__snapshots__/SecurityBadge.test.js.snap +2 -2
  1664. package/src/features/security-cloud-game/stories/SecurityCloudGame.stories.js +1 -1
  1665. package/src/features/shared-link-modal/__tests__/__snapshots__/AccessLabel.test.js.snap +1 -1
  1666. package/src/features/shared-link-modal/__tests__/__snapshots__/SharedLink.test.js.snap +5 -5
  1667. package/src/features/shared-link-modal/__tests__/__snapshots__/SharedLinkAccess.test.js.snap +4 -4
  1668. package/src/features/shared-link-modal/__tests__/__snapshots__/SharedLinkModal.test.js.snap +1 -1
  1669. package/src/features/shared-link-modal/stories/SharedLink.stories.js +1 -1
  1670. package/src/features/shared-link-modal/stories/SharedLinkModal.stories.js +1 -1
  1671. package/src/features/shared-link-settings-modal/SharedLinkSettingsModal.stories.js +1 -1
  1672. package/src/features/targeting/hocs/__tests__/__snapshots__/withTargetedClickThrough.test.js.snap +1 -1
  1673. package/src/features/targeting/hocs/withTargetedClickThrough.js +10 -1
  1674. package/src/features/targeting/types.js +1 -0
  1675. package/src/features/unified-share-modal/UnifiedShareModal.scss +61 -79
  1676. package/src/features/unified-share-modal/__tests__/__snapshots__/ContactsField.test.js.snap +23 -23
  1677. package/src/features/unified-share-modal/__tests__/__snapshots__/EmailForm.test.js.snap +28 -28
  1678. package/src/features/unified-share-modal/__tests__/__snapshots__/SharedLinkAccessDescription.test.js.snap +8 -8
  1679. package/src/features/unified-share-modal/__tests__/__snapshots__/SharedLinkAccessLabel.test.js.snap +10 -10
  1680. package/src/features/unified-share-modal/__tests__/__snapshots__/SharedLinkSection.test.js.snap +54 -54
  1681. package/src/features/unified-share-modal/__tests__/__snapshots__/UnifiedShareForm.test.js.snap +250 -250
  1682. package/src/features/unified-share-modal/__tests__/__snapshots__/UnifiedShareModal.test.js.snap +409 -409
  1683. package/src/features/unified-share-modal/__tests__/__snapshots__/UnifiedShareModalTitle.test.js.snap +1 -1
  1684. package/src/features/unified-share-modal/stories/UnifiedShareModal.stories.js +1 -1
  1685. package/src/features/virtualized-table/DraggableVirtualizedTable.stories.js +1 -1
  1686. package/src/features/virtualized-table/__tests__/__snapshots__/BaseVirtualizedTable.test.js.snap +5 -5
  1687. package/src/features/virtualized-table/__tests__/__snapshots__/DraggableVirtualizedTable.test.js.snap +7 -7
  1688. package/src/features/virtualized-table/__tests__/__snapshots__/VirtualizedTable.test.js.snap +19 -19
  1689. package/src/features/virtualized-table-renderers/__tests__/__snapshots__/loadingRowRenderer.test.js.snap +1 -1
  1690. package/src/features/virtualized-table-renderers/__tests__/draggableRowRenderer.test.js +5 -5
  1691. package/src/icon/content/ContentSharing32.stories.tsx +1 -1
  1692. package/src/icon/content/CustomSetup32.stories.tsx +1 -1
  1693. package/src/icon/content/DeviceTrust32.stories.tsx +1 -1
  1694. package/src/icon/content/FileAudio32.stories.tsx +1 -1
  1695. package/src/icon/content/FileBookmark32.stories.tsx +1 -1
  1696. package/src/icon/content/FileBoxNote32.stories.tsx +1 -1
  1697. package/src/icon/content/FileCanvas32.stories.tsx +1 -1
  1698. package/src/icon/content/FileCode32.stories.tsx +1 -1
  1699. package/src/icon/content/FileDefault32.stories.tsx +1 -1
  1700. package/src/icon/content/FileDicom32.stories.tsx +1 -1
  1701. package/src/icon/content/FileDocs32.stories.tsx +1 -1
  1702. package/src/icon/content/FileDwg32.stories.tsx +1 -1
  1703. package/src/icon/content/FileExcel32.stories.tsx +1 -1
  1704. package/src/icon/content/FileIllustrator32.stories.tsx +1 -1
  1705. package/src/icon/content/FileImage32.stories.tsx +1 -1
  1706. package/src/icon/content/FileIndesign32.stories.tsx +1 -1
  1707. package/src/icon/content/FileKeynote32.stories.tsx +1 -1
  1708. package/src/icon/content/FileNumbers32.stories.tsx +1 -1
  1709. package/src/icon/content/FilePages32.stories.tsx +1 -1
  1710. package/src/icon/content/FilePdf32.stories.tsx +1 -1
  1711. package/src/icon/content/FilePhotoshop32.stories.tsx +1 -1
  1712. package/src/icon/content/FilePowerpoint32.stories.tsx +1 -1
  1713. package/src/icon/content/FilePresentation32.stories.tsx +1 -1
  1714. package/src/icon/content/FileSheets32.stories.tsx +1 -1
  1715. package/src/icon/content/FileSlides32.stories.tsx +1 -1
  1716. package/src/icon/content/FileSpreadsheet32.stories.tsx +1 -1
  1717. package/src/icon/content/FileText32.stories.tsx +1 -1
  1718. package/src/icon/content/FileThreeD32.stories.tsx +1 -1
  1719. package/src/icon/content/FileUpload32.stories.tsx +1 -1
  1720. package/src/icon/content/FileVector32.stories.tsx +1 -1
  1721. package/src/icon/content/FileVideo32.stories.tsx +1 -1
  1722. package/src/icon/content/FileWord32.stories.tsx +1 -1
  1723. package/src/icon/content/FileXbd32.stories.tsx +1 -1
  1724. package/src/icon/content/FileXdw32.stories.tsx +1 -1
  1725. package/src/icon/content/FileZip32.stories.tsx +1 -1
  1726. package/src/icon/content/FolderExternal32.stories.tsx +1 -1
  1727. package/src/icon/content/FolderPersonal32.stories.tsx +1 -1
  1728. package/src/icon/content/FolderShared32.stories.tsx +1 -1
  1729. package/src/icon/content/FolderUpload32.stories.tsx +1 -1
  1730. package/src/icon/content/Mobile32.stories.tsx +1 -1
  1731. package/src/icon/content/Notifications32.stories.tsx +1 -1
  1732. package/src/icon/content/PlatformCam32.stories.tsx +1 -1
  1733. package/src/icon/content/PlatformSandbox32.stories.tsx +1 -1
  1734. package/src/icon/content/RetentionPolicyModifiable32.stories.tsx +1 -1
  1735. package/src/icon/content/RetentionPolicyNonModifiable32.stories.tsx +1 -1
  1736. package/src/icon/content/Security32.stories.tsx +1 -1
  1737. package/src/icon/content/SignRequest32.stories.tsx +1 -1
  1738. package/src/icon/content/UserSettings32.stories.tsx +1 -1
  1739. package/src/icon/content/Workflow32.stories.tsx +1 -1
  1740. package/src/icon/content/WorkflowTemplate32.stories.tsx +1 -1
  1741. package/src/icon/fill/Activity16.stories.tsx +1 -1
  1742. package/src/icon/fill/Activity20.stories.tsx +1 -1
  1743. package/src/icon/fill/Alert16.stories.tsx +1 -1
  1744. package/src/icon/fill/AlertBadge16.stories.tsx +1 -1
  1745. package/src/icon/fill/AnnotationsDrawing16.stories.tsx +1 -1
  1746. package/src/icon/fill/AnnotationsHighlight16.stories.tsx +1 -1
  1747. package/src/icon/fill/AnnotationsRegion16.stories.tsx +1 -1
  1748. package/src/icon/fill/Apps16.stories.tsx +1 -1
  1749. package/src/icon/fill/Arrow16.stories.tsx +1 -1
  1750. package/src/icon/fill/ArrowArcRight.stories.tsx +1 -1
  1751. package/src/icon/fill/ArrowForward16.stories.tsx +1 -1
  1752. package/src/icon/fill/ArrowSort16.stories.tsx +1 -1
  1753. package/src/icon/fill/AvatarBadge16.stories.tsx +1 -1
  1754. package/src/icon/fill/BarChart16.stories.tsx +1 -1
  1755. package/src/icon/fill/BoxDev16.stories.tsx +1 -1
  1756. package/src/icon/fill/BoxNotes16.stories.tsx +1 -1
  1757. package/src/icon/fill/Calendar16.stories.tsx +1 -1
  1758. package/src/icon/fill/Caret8.stories.tsx +1 -1
  1759. package/src/icon/fill/CaretBadge16.stories.tsx +1 -1
  1760. package/src/icon/fill/Checkmark16.stories.tsx +1 -1
  1761. package/src/icon/fill/CheckmarkBadge16.stories.tsx +1 -1
  1762. package/src/icon/fill/CircleBackButton24.stories.tsx +1 -1
  1763. package/src/icon/fill/CircleCloseButton24.stories.tsx +1 -1
  1764. package/src/icon/fill/Classify16.stories.tsx +1 -1
  1765. package/src/icon/fill/ClearBadge16.stories.tsx +1 -1
  1766. package/src/icon/fill/ClockBadge16.stories.tsx +1 -1
  1767. package/src/icon/fill/CloudUpload16.stories.tsx +1 -1
  1768. package/src/icon/fill/Code16.stories.tsx +1 -1
  1769. package/src/icon/fill/Collection16.stories.tsx +1 -1
  1770. package/src/icon/fill/CollectionBolt16.stories.tsx +1 -1
  1771. package/src/icon/fill/CollectionPlus16.stories.tsx +1 -1
  1772. package/src/icon/fill/CollectionStar16.stories.tsx +1 -1
  1773. package/src/icon/fill/CreditCard16.stories.tsx +1 -1
  1774. package/src/icon/fill/Download16.stories.tsx +1 -1
  1775. package/src/icon/fill/EmailNotification16.stories.tsx +1 -1
  1776. package/src/icon/fill/ExportArrow16.stories.tsx +1 -1
  1777. package/src/icon/fill/Feed16.stories.tsx +1 -1
  1778. package/src/icon/fill/FileAudio16.stories.tsx +1 -1
  1779. package/src/icon/fill/FileBookmark16.stories.tsx +1 -1
  1780. package/src/icon/fill/FileBoxNote16.stories.tsx +1 -1
  1781. package/src/icon/fill/FileCanvas16.stories.tsx +1 -1
  1782. package/src/icon/fill/FileCode16.stories.tsx +1 -1
  1783. package/src/icon/fill/FileCopy16.stories.tsx +1 -1
  1784. package/src/icon/fill/FileDefault16.stories.tsx +1 -1
  1785. package/src/icon/fill/FileDicom16.stories.tsx +1 -1
  1786. package/src/icon/fill/FileDocs16.stories.tsx +1 -1
  1787. package/src/icon/fill/FileDwg16.stories.tsx +1 -1
  1788. package/src/icon/fill/FileExcel16.stories.tsx +1 -1
  1789. package/src/icon/fill/FileIllustrator16.stories.tsx +1 -1
  1790. package/src/icon/fill/FileImage16.stories.tsx +1 -1
  1791. package/src/icon/fill/FileIndesign16.stories.tsx +1 -1
  1792. package/src/icon/fill/FileKeynote16.stories.tsx +1 -1
  1793. package/src/icon/fill/FileNumbers16.stories.tsx +1 -1
  1794. package/src/icon/fill/FilePages16.stories.tsx +1 -1
  1795. package/src/icon/fill/FilePdf16.stories.tsx +1 -1
  1796. package/src/icon/fill/FilePhotoshop16.stories.tsx +1 -1
  1797. package/src/icon/fill/FilePowerpoint16.stories.tsx +1 -1
  1798. package/src/icon/fill/FilePresentation16.stories.tsx +1 -1
  1799. package/src/icon/fill/FileSheets16.stories.tsx +1 -1
  1800. package/src/icon/fill/FileSlides16.stories.tsx +1 -1
  1801. package/src/icon/fill/FileSpreadsheet16.stories.tsx +1 -1
  1802. package/src/icon/fill/FileText16.stories.tsx +1 -1
  1803. package/src/icon/fill/FileThreeD16.stories.tsx +1 -1
  1804. package/src/icon/fill/FileVector16.stories.tsx +1 -1
  1805. package/src/icon/fill/FileVideo16.stories.tsx +1 -1
  1806. package/src/icon/fill/FileWord16.stories.tsx +1 -1
  1807. package/src/icon/fill/FileZip16.stories.tsx +1 -1
  1808. package/src/icon/fill/Filter16.stories.tsx +1 -1
  1809. package/src/icon/fill/Folder16.stories.tsx +1 -1
  1810. package/src/icon/fill/FolderExternal16.stories.tsx +1 -1
  1811. package/src/icon/fill/FolderPersonal16.stories.tsx +1 -1
  1812. package/src/icon/fill/FolderShared16.stories.tsx +1 -1
  1813. package/src/icon/fill/Gear16.stories.tsx +1 -1
  1814. package/src/icon/fill/GlobeBadge16.stories.tsx +1 -1
  1815. package/src/icon/fill/Hamburger20.stories.tsx +1 -1
  1816. package/src/icon/fill/Help20.stories.tsx +1 -1
  1817. package/src/icon/fill/InProgress16.stories.tsx +1 -1
  1818. package/src/icon/fill/Info16.stories.tsx +1 -1
  1819. package/src/icon/fill/InfoBadge16.stories.tsx +1 -1
  1820. package/src/icon/fill/LightningBolt16.stories.tsx +1 -1
  1821. package/src/icon/fill/Lock16.stories.tsx +1 -1
  1822. package/src/icon/fill/Megaphone20.stories.tsx +1 -1
  1823. package/src/icon/fill/Minus16.stories.tsx +1 -1
  1824. package/src/icon/fill/Move16.stories.tsx +1 -1
  1825. package/src/icon/fill/MoveCopy16.stories.tsx +1 -1
  1826. package/src/icon/fill/Overflow16.stories.tsx +1 -1
  1827. package/src/icon/fill/PaperAirplane16.stories.tsx +1 -1
  1828. package/src/icon/fill/Pencil16.stories.tsx +1 -1
  1829. package/src/icon/fill/Picture16.stories.tsx +1 -1
  1830. package/src/icon/fill/Plus16.stories.tsx +1 -1
  1831. package/src/icon/fill/PlusBadge16.stories.tsx +1 -1
  1832. package/src/icon/fill/PointerChevronDown24.stories.tsx +1 -1
  1833. package/src/icon/fill/Printer16.stories.tsx +1 -1
  1834. package/src/icon/fill/Relay16.stories.tsx +1 -1
  1835. package/src/icon/fill/RelayClassic16.stories.tsx +1 -1
  1836. package/src/icon/fill/Ribbon16.stories.tsx +1 -1
  1837. package/src/icon/fill/Scribble16.stories.tsx +1 -1
  1838. package/src/icon/fill/Search16.stories.tsx +1 -1
  1839. package/src/icon/fill/Sign16.stories.tsx +1 -1
  1840. package/src/icon/fill/SignFieldCheckBox16.stories.tsx +1 -1
  1841. package/src/icon/fill/SignFieldSignature16.stories.tsx +1 -1
  1842. package/src/icon/fill/SignFieldTextInput16.stories.tsx +1 -1
  1843. package/src/icon/fill/SignMe32.stories.tsx +1 -1
  1844. package/src/icon/fill/SignMeOthers32.stories.tsx +1 -1
  1845. package/src/icon/fill/SignOthers32.stories.tsx +1 -1
  1846. package/src/icon/fill/Skills16.stories.tsx +1 -1
  1847. package/src/icon/fill/Tag16.stories.tsx +1 -1
  1848. package/src/icon/fill/Task16.stories.tsx +1 -1
  1849. package/src/icon/fill/Trash16.stories.tsx +1 -1
  1850. package/src/icon/fill/TwoPeople16.stories.tsx +1 -1
  1851. package/src/icon/fill/Upload16.stories.tsx +1 -1
  1852. package/src/icon/fill/UserSettings16.stories.tsx +1 -1
  1853. package/src/icon/fill/Workflow16.stories.tsx +1 -1
  1854. package/src/icon/fill/X16.stories.tsx +1 -1
  1855. package/src/icon/line/AlarmClock16.stories.tsx +1 -1
  1856. package/src/icon/line/AlertBubble16.stories.tsx +1 -1
  1857. package/src/icon/line/Apps16.stories.tsx +1 -1
  1858. package/src/icon/line/ArrowBoxRight16.stories.tsx +1 -1
  1859. package/src/icon/line/Avatar16.stories.tsx +1 -1
  1860. package/src/icon/line/AvatarBadge16.stories.tsx +1 -1
  1861. package/src/icon/line/AvatarPlusBadge16.stories.tsx +1 -1
  1862. package/src/icon/line/AvatarXBadge16.stories.tsx +1 -1
  1863. package/src/icon/line/BoxAi.stories.tsx +1 -1
  1864. package/src/icon/line/BoxDev16.stories.tsx +1 -1
  1865. package/src/icon/line/Bug16.stories.tsx +1 -1
  1866. package/src/icon/line/Checkmark16.stories.tsx +1 -1
  1867. package/src/icon/line/CheckmarkBadge16.stories.tsx +1 -1
  1868. package/src/icon/line/CircleCheck16.stories.tsx +1 -1
  1869. package/src/icon/line/CircleX16.stories.tsx +1 -1
  1870. package/src/icon/line/ClassificationBadge16.stories.tsx +1 -1
  1871. package/src/icon/line/ClockArrow16.stories.tsx +1 -1
  1872. package/src/icon/line/ClockBadge16.stories.tsx +1 -1
  1873. package/src/icon/line/CloudWithArrow16.stories.tsx +1 -1
  1874. package/src/icon/line/CoAuthoringBadge16.stories.tsx +1 -1
  1875. package/src/icon/line/CoEdit16.stories.tsx +1 -1
  1876. package/src/icon/line/Collaborations16.stories.tsx +1 -1
  1877. package/src/icon/line/Collection16.stories.tsx +1 -1
  1878. package/src/icon/line/CollectionBolt16.stories.tsx +1 -1
  1879. package/src/icon/line/CollectionPlus16.stories.tsx +1 -1
  1880. package/src/icon/line/CollectionStar16.stories.tsx +1 -1
  1881. package/src/icon/line/CommentBubble16.stories.tsx +1 -1
  1882. package/src/icon/line/CrosshairRegion32.stories.tsx +1 -1
  1883. package/src/icon/line/DocInfo16.stories.tsx +1 -1
  1884. package/src/icon/line/Download16.stories.tsx +1 -1
  1885. package/src/icon/line/Email16.stories.tsx +1 -1
  1886. package/src/icon/line/EmailAddress16.stories.tsx +1 -1
  1887. package/src/icon/line/EnvelopeBadge16.stories.tsx +1 -1
  1888. package/src/icon/line/ExclamationMarkBadge16.stories.tsx +1 -1
  1889. package/src/icon/line/ExportArrow16.stories.tsx +1 -1
  1890. package/src/icon/line/FileDescription16.stories.tsx +1 -1
  1891. package/src/icon/line/Folder16.stories.tsx +1 -1
  1892. package/src/icon/line/Gear16.stories.tsx +1 -1
  1893. package/src/icon/line/GenericCopy16.stories.tsx +1 -1
  1894. package/src/icon/line/GlobeBadge16.stories.tsx +1 -1
  1895. package/src/icon/line/Help16.stories.tsx +1 -1
  1896. package/src/icon/line/Hidden16.stories.tsx +1 -1
  1897. package/src/icon/line/History16.stories.tsx +1 -1
  1898. package/src/icon/line/InfoBadge16.stories.tsx +1 -1
  1899. package/src/icon/line/Key16.stories.tsx +1 -1
  1900. package/src/icon/line/Link16.stories.tsx +1 -1
  1901. package/src/icon/line/LinkBadge16.stories.tsx +1 -1
  1902. package/src/icon/line/List16.stories.tsx +1 -1
  1903. package/src/icon/line/Lock16.stories.tsx +1 -1
  1904. package/src/icon/line/LockBadge16.stories.tsx +1 -1
  1905. package/src/icon/line/MetadataBadge16.stories.tsx +1 -1
  1906. package/src/icon/line/MoveCopy16.stories.tsx +1 -1
  1907. package/src/icon/line/Pencil16.stories.tsx +1 -1
  1908. package/src/icon/line/PencilBadge16.stories.tsx +1 -1
  1909. package/src/icon/line/Plane16.stories.tsx +1 -1
  1910. package/src/icon/line/Plus16.stories.tsx +1 -1
  1911. package/src/icon/line/Power16.stories.tsx +1 -1
  1912. package/src/icon/line/Question16.stories.tsx +1 -1
  1913. package/src/icon/line/Redo16.stories.tsx +1 -1
  1914. package/src/icon/line/Relay16.stories.tsx +1 -1
  1915. package/src/icon/line/Report16.stories.tsx +1 -1
  1916. package/src/icon/line/Retry16.stories.tsx +1 -1
  1917. package/src/icon/line/Rocket16.stories.tsx +1 -1
  1918. package/src/icon/line/RotatingArrows16.stories.tsx +1 -1
  1919. package/src/icon/line/Sharrow16.stories.tsx +1 -1
  1920. package/src/icon/line/Shield16.stories.tsx +1 -1
  1921. package/src/icon/line/Sign16.stories.tsx +1 -1
  1922. package/src/icon/line/SignTinycon16.stories.tsx +1 -1
  1923. package/src/icon/line/Star16.stories.tsx +1 -1
  1924. package/src/icon/line/SyncArrows16.stories.tsx +1 -1
  1925. package/src/icon/line/Template16.stories.tsx +1 -1
  1926. package/src/icon/line/TextLeft16.stories.tsx +1 -1
  1927. package/src/icon/line/Tool16.stories.tsx +1 -1
  1928. package/src/icon/line/Trash16.stories.tsx +1 -1
  1929. package/src/icon/line/TriangleAlert16.stories.tsx +1 -1
  1930. package/src/icon/line/Undo16.stories.tsx +1 -1
  1931. package/src/icon/line/Unlock16.stories.tsx +1 -1
  1932. package/src/icon/line/Upload16.stories.tsx +1 -1
  1933. package/src/icon/line/Video16.stories.tsx +1 -1
  1934. package/src/icon/line/View16.stories.tsx +1 -1
  1935. package/src/icon/line/XBadge16.stories.tsx +1 -1
  1936. package/src/icon/logo/AccountBilling32.stories.tsx +1 -1
  1937. package/src/icon/logo/AdminFaq32.stories.tsx +1 -1
  1938. package/src/icon/logo/AdminReferences32.stories.tsx +1 -1
  1939. package/src/icon/logo/AdobeAcrobat32.stories.tsx +1 -1
  1940. package/src/icon/logo/Apps32.stories.tsx +1 -1
  1941. package/src/icon/logo/BoxAiLogo.stories.tsx +1 -1
  1942. package/src/icon/logo/BoxLogo.stories.tsx +1 -1
  1943. package/src/icon/logo/BoxSign28.stories.tsx +1 -1
  1944. package/src/icon/logo/BoxSign32.stories.tsx +1 -1
  1945. package/src/icon/logo/ContentSharing32.stories.tsx +1 -1
  1946. package/src/icon/logo/CustomSetup32.stories.tsx +1 -1
  1947. package/src/icon/logo/DeviceTrust32.stories.tsx +1 -1
  1948. package/src/icon/logo/HelpArticle32.stories.tsx +1 -1
  1949. package/src/icon/logo/HowToGuides32.stories.tsx +1 -1
  1950. package/src/icon/logo/IconBoxApp512.stories.tsx +1 -1
  1951. package/src/icon/logo/KeynoteForMac32.stories.tsx +1 -1
  1952. package/src/icon/logo/ManageContent32.stories.tsx +1 -1
  1953. package/src/icon/logo/ManageUsers32.stories.tsx +1 -1
  1954. package/src/icon/logo/Mobile32.stories.tsx +1 -1
  1955. package/src/icon/logo/Notifications32.stories.tsx +1 -1
  1956. package/src/icon/logo/NumbersForMac32.stories.tsx +1 -1
  1957. package/src/icon/logo/PagesForMac32.stories.tsx +1 -1
  1958. package/src/icon/logo/Reporting32.stories.tsx +1 -1
  1959. package/src/icon/logo/Security32.stories.tsx +1 -1
  1960. package/src/icon/logo/TroubleShootingTools32.stories.tsx +1 -1
  1961. package/src/icon/logo/UserSettings32.stories.tsx +1 -1
  1962. package/src/icons/collections/IconCollections.stories.tsx +1 -1
  1963. package/src/icons/collections/IconCollectionsAdd.stories.tsx +1 -1
  1964. package/src/icons/collections/IconCollectionsBolt.stories.tsx +1 -1
  1965. package/src/icons/collections/IconCollectionsFilled.stories.tsx +1 -1
  1966. package/src/icons/collections/IconCollectionsStar.stories.tsx +1 -1
  1967. package/src/icons/collections/IconCollectionsStarFilled.stories.tsx +1 -1
  1968. package/src/icons/collections/collections.stories.tsx +1 -1
  1969. package/src/icons/icons.stories.tsx +1 -1
  1970. package/src/icons/illustrations/__tests__/__snapshots__/PeopleOpeningEnvelopeIllustration.test.tsx.snap +6 -6
  1971. package/src/icons/states/__tests__/__snapshots__/EnvelopeTrophyState.test.tsx.snap +6 -6
  1972. package/src/icons/two-toned/IconAnnotation.tsx +1 -1
  1973. package/src/illustration/AllNewBox140.stories.tsx +1 -1
  1974. package/src/illustration/AppSupport140.stories.tsx +1 -1
  1975. package/src/illustration/Bell140.stories.tsx +1 -1
  1976. package/src/illustration/BoxDrive140.stories.tsx +1 -1
  1977. package/src/illustration/BoxMobile140.stories.tsx +1 -1
  1978. package/src/illustration/BudgetApproval56.stories.tsx +1 -1
  1979. package/src/illustration/Certificate56.stories.tsx +1 -1
  1980. package/src/illustration/CertificateSigning56.stories.tsx +1 -1
  1981. package/src/illustration/ChangeOrder56.stories.tsx +1 -1
  1982. package/src/illustration/Clock140.stories.tsx +1 -1
  1983. package/src/illustration/CollectionStar140.stories.tsx +1 -1
  1984. package/src/illustration/ContractorId56.stories.tsx +1 -1
  1985. package/src/illustration/CreativeApproval56.stories.tsx +1 -1
  1986. package/src/illustration/CreativeAssets56.stories.tsx +1 -1
  1987. package/src/illustration/CustomApp56.stories.tsx +1 -1
  1988. package/src/illustration/CustomSkill56.stories.tsx +1 -1
  1989. package/src/illustration/CustomTemplate56.stories.tsx +1 -1
  1990. package/src/illustration/CustomerSupport140.stories.tsx +1 -1
  1991. package/src/illustration/DiscoDanceParty140.stories.tsx +1 -1
  1992. package/src/illustration/Discount140.stories.tsx +1 -1
  1993. package/src/illustration/EmailVerification140.stories.tsx +1 -1
  1994. package/src/illustration/EmployeeId56.stories.tsx +1 -1
  1995. package/src/illustration/EmployeeReview56.stories.tsx +1 -1
  1996. package/src/illustration/EmptyStateDetails.stories.tsx +1 -1
  1997. package/src/illustration/EmptyStateFolder140.stories.tsx +1 -1
  1998. package/src/illustration/EmptyStatePreviewActivity140.stories.tsx +1 -1
  1999. package/src/illustration/Envelope140.stories.tsx +1 -1
  2000. package/src/illustration/ErrorState404140.stories.tsx +1 -1
  2001. package/src/illustration/Files.stories.tsx +1 -1
  2002. package/src/illustration/Files140.stories.tsx +1 -1
  2003. package/src/illustration/FinanceContract56.stories.tsx +1 -1
  2004. package/src/illustration/FolderArrow140.stories.tsx +1 -1
  2005. package/src/illustration/FolderFloat140.stories.tsx +1 -1
  2006. package/src/illustration/FolderPlane140.stories.tsx +1 -1
  2007. package/src/illustration/FolderStar140.stories.tsx +1 -1
  2008. package/src/illustration/Gavel56.stories.tsx +1 -1
  2009. package/src/illustration/Handshake56.stories.tsx +1 -1
  2010. package/src/illustration/HandshakeAgreement56.stories.tsx +1 -1
  2011. package/src/illustration/HatWand140.stories.tsx +1 -1
  2012. package/src/illustration/Keynote56.stories.tsx +1 -1
  2013. package/src/illustration/LegalContract56.stories.tsx +1 -1
  2014. package/src/illustration/LegalFolder56.stories.tsx +1 -1
  2015. package/src/illustration/LimitedApp56.stories.tsx +1 -1
  2016. package/src/illustration/MarketingPlan56.stories.tsx +1 -1
  2017. package/src/illustration/Megaphone140.stories.tsx +1 -1
  2018. package/src/illustration/MetricsReview56.stories.tsx +1 -1
  2019. package/src/illustration/Microphone140.stories.tsx +1 -1
  2020. package/src/illustration/Missing140.stories.tsx +1 -1
  2021. package/src/illustration/MoneyStack56.stories.tsx +1 -1
  2022. package/src/illustration/MonthlyReport56.stories.tsx +1 -1
  2023. package/src/illustration/NotesStar140.stories.tsx +1 -1
  2024. package/src/illustration/PlanSelection140.stories.tsx +1 -1
  2025. package/src/illustration/Playbook56.stories.tsx +1 -1
  2026. package/src/illustration/ProjectFolder56.stories.tsx +1 -1
  2027. package/src/illustration/RecentFiles140.stories.tsx +1 -1
  2028. package/src/illustration/RelayPlanet140.stories.tsx +1 -1
  2029. package/src/illustration/SalesContract56.stories.tsx +1 -1
  2030. package/src/illustration/Sandbox140.stories.tsx +1 -1
  2031. package/src/illustration/TaskList56.stories.tsx +1 -1
  2032. package/src/illustration/Transfers140.stories.tsx +1 -1
  2033. package/src/illustration/TrashEmpty140.stories.tsx +1 -1
  2034. package/src/illustration/Unplugged140.stories.tsx +1 -1
  2035. package/src/illustration/UploadCloud140.stories.tsx +1 -1
  2036. package/src/illustration/UserOrbit56.stories.tsx +1 -1
  2037. package/src/styles/colors.stories.tsx +1 -1
  2038. package/src/styles/common/_buttons.scss +1 -1
  2039. package/src/styles/constants/_buttons.scss +1 -0
  2040. package/src/styles/typography.stories.tsx +1 -1
  2041. package/src/utils/Browser.js +10 -0
  2042. package/src/utils/__tests__/Browser.test.js +28 -0
  2043. package/src/utils/__tests__/__snapshots__/createTheme.test.js.snap +35 -35
  2044. package/src/utils/__tests__/fields.test.js +2 -0
  2045. package/src/utils/__tests__/webcrypto.test.js +10 -0
  2046. package/src/utils/comparator.js +1 -1
  2047. package/src/utils/createTheme.stories.js +1 -1
  2048. package/src/utils/fields.js +3 -0
  2049. package/src/utils/flatten.js +6 -1
  2050. package/src/utils/size.js +5 -5
  2051. package/src/utils/sorter.js +1 -1
@@ -1,34 +1,17 @@
1
1
  // @flow
2
2
  import * as React from 'react';
3
- import { defineMessages, injectIntl } from 'react-intl';
3
+ import { injectIntl } from 'react-intl';
4
4
  import classNames from 'classnames';
5
5
  import omit from 'lodash/omit';
6
6
 
7
- import ClearBadge16 from '../../icon/fill/ClearBadge16';
8
- import Search16 from '../../icon/fill/Search16';
7
+ // $FlowFixMe
8
+ import SearchActions from './SearchActions';
9
9
 
10
- import makeLoadable from '../loading-indicator/makeLoadable';
10
+ // $FlowFixMe
11
+ import messages from './messages';
11
12
 
12
13
  import './SearchForm.scss';
13
14
 
14
- const messages = defineMessages({
15
- clearButtonTitle: {
16
- defaultMessage: 'Clear',
17
- description: 'Title for a clear button',
18
- id: 'boxui.searchForm.clearButtonTitle',
19
- },
20
- searchButtonTitle: {
21
- defaultMessage: 'Search',
22
- description: 'Title for a search button',
23
- id: 'boxui.searchForm.searchButtonTitle',
24
- },
25
- searchLabel: {
26
- defaultMessage: 'Search query',
27
- description: 'Label for a search input',
28
- id: 'boxui.searchForm.searchLabel',
29
- },
30
- });
31
-
32
15
  type Props = {
33
16
  /** Form submit action */
34
17
  action?: string,
@@ -41,13 +24,13 @@ type Props = {
41
24
  method?: 'get' | 'post',
42
25
  /** Name of the text input */
43
26
  name?: string,
44
- /** On change handler for the search input, debounced by 250ms */
27
+ /** On change handler for the search input */
45
28
  onChange?: Function,
46
29
  /** On submit handler for the search input */
47
30
  onSubmit?: Function,
48
31
  /** Extra query parameters in addition to the form data */
49
32
  queryParams: { [arg: string]: string },
50
- /** Boolean to prevent propogation of search clear action */
33
+ /** Whether to prevent propagation of search clear action */
51
34
  shouldPreventClearEventPropagation?: boolean,
52
35
  /** If the clear button is shown when input field is not empty */
53
36
  useClearButton?: boolean,
@@ -177,35 +160,6 @@ class SearchFormBase extends React.Component<Props, State> {
177
160
  <input key={index} name={param} type="hidden" value={queryParams[param]} />
178
161
  ));
179
162
 
180
- const SearchActions = () => (
181
- <div className="action-buttons">
182
- {onSubmit ? (
183
- <button
184
- type="submit"
185
- className="action-button search-button"
186
- title={formatMessage(messages.searchButtonTitle)}
187
- >
188
- <Search16 />
189
- </button>
190
- ) : (
191
- <div className="action-button search-button">
192
- <Search16 />
193
- </div>
194
- )}
195
-
196
- <button
197
- className="action-button clear-button"
198
- onClick={this.onClearHandler}
199
- title={formatMessage(messages.clearButtonTitle)}
200
- type="button"
201
- >
202
- <ClearBadge16 />
203
- </button>
204
- </div>
205
- );
206
-
207
- const LoadableSearchActions = makeLoadable(SearchActions);
208
-
209
163
  // @NOTE Prevent errors from React about controlled inputs
210
164
  const onChangeStub = () => {};
211
165
 
@@ -229,11 +183,13 @@ class SearchFormBase extends React.Component<Props, State> {
229
183
  type="search"
230
184
  {...inputProps}
231
185
  />
232
- <LoadableSearchActions
186
+ <SearchActions
187
+ hasSubmitAction={!!onSubmit}
233
188
  isLoading={isLoading}
234
189
  loadingIndicatorProps={{
235
190
  className: 'search-form-loading-indicator',
236
191
  }}
192
+ onClear={this.onClearHandler}
237
193
  />
238
194
  {hiddenInputs}
239
195
  </form>
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/search-form/SearchForm.js"],"names":["React","defineMessages","injectIntl","classNames","omit","ClearBadge16","Search16","makeLoadable","messages","clearButtonTitle","searchButtonTitle","searchLabel","SearchFormBase","Component","isEmpty","event","onChange","shouldPreventClearEventPropagation","props","stopPropagation","searchInput","value","setState","target","trim","length","elements","onSubmit","element","getSearchInput","getDerivedStateFromProps","render","action","className","innerRef","intl","isLoading","method","name","queryParams","useClearButton","rest","state","inputProps","formatMessage","classes","formClassNames","hiddenInputs","Object","keys","map","param","index","SearchActions","onClearHandler","LoadableSearchActions","onChangeStub","onChangeHandler","onSubmitHandler","setInputRef","SearchFormBaseIntl","SearchForm","forwardRef","ref","displayName"],"mappings":";;;;;;;;AACA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,SAASC,cAAT,EAAyBC,UAAzB,QAA2C,YAA3C;AACA,OAAOC,UAAP,MAAuB,YAAvB;AACA,OAAOC,IAAP,MAAiB,aAAjB;AAEA,OAAOC,YAAP,MAAyB,8BAAzB;AACA,OAAOC,QAAP,MAAqB,0BAArB;AAEA,OAAOC,YAAP,MAAyB,mCAAzB;AAEA,OAAO,mBAAP;AAEA,MAAMC,QAAQ,GAAGP,cAAc,CAAC;AAC5BQ,EAAAA,gBAAgB;AAAA;AAAA;AAAA,GADY;AAM5BC,EAAAA,iBAAiB;AAAA;AAAA;AAAA,GANW;AAW5BC,EAAAA,WAAW;AAAA;AAAA;AAAA;AAXiB,CAAD,CAA/B;;AA8DA,MAAMC,cAAN,SAA6BZ,KAAK,CAACa,SAAnC,CAA2D;AAAA;AAAA;;AAAA,mCAS/C;AACJC,MAAAA,OAAO,EAAE;AADL,KAT+C;;AAAA,4CAyBrCC,KAAD,IAA6B;AAC1C,YAAM;AAAEC,QAAAA,QAAF;AAAYC,QAAAA;AAAZ,UAAmD,KAAKC,KAA9D;;AACA,UAAID,kCAAJ,EAAwC;AACpCF,QAAAA,KAAK,CAACI,eAAN;AACH;;AAED,UAAI,KAAKC,WAAT,EAAsB;AAClB,aAAKA,WAAL,CAAiBC,KAAjB,GAAyB,EAAzB;AACH;;AACD,WAAKC,QAAL,CAAc;AAAER,QAAAA,OAAO,EAAE;AAAX,OAAd;;AAEA,UAAIE,QAAJ,EAAc;AACVA,QAAAA,QAAQ,CAAC,EA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ACA,SAASgD,kBAAT;AAEA,MAAMC,UAAU,GAAG7D,KAAK,CAAC8D,UAAN,CAAyC,CAAC5C,KAAD,EAAgB6C,GAAhB,KACxD,oBAAC,kBAAD,eAAwB7C,KAAxB;AAA+B,EAAA,QAAQ,EAAE6C;AAAzC,GADe,CAAnB;AAGAF,UAAU,CAACG,WAAX,GAAyB,YAAzB;AAEA,eAAeH,UAAf","sourcesContent":["// @flow\nimport * as React from 'react';\nimport { defineMessages, injectIntl } from 'react-intl';\nimport classNames from 'classnames';\nimport omit from 'lodash/omit';\n\nimport ClearBadge16 from '../../icon/fill/ClearBadge16';\nimport Search16 from '../../icon/fill/Search16';\n\nimport makeLoadable from '../loading-indicator/makeLoadable';\n\nimport './SearchForm.scss';\n\nconst messages = defineMessages({\n clearButtonTitle: {\n defaultMessage: 'Clear',\n description: 'Title for a clear button',\n id: 'boxui.searchForm.clearButtonTitle',\n },\n searchButtonTitle: {\n defaultMessage: 'Search',\n description: 'Title for a search button',\n id: 'boxui.searchForm.searchButtonTitle',\n },\n searchLabel: {\n defaultMessage: 'Search query',\n description: 'Label for a search input',\n id: 'boxui.searchForm.searchLabel',\n },\n});\n\ntype Props = {\n /** Form submit action */\n action?: string,\n className?: string,\n getSearchInput?: Function,\n innerRef?: React.Ref<any>,\n intl: Object,\n isLoading?: boolean,\n /** The way to send the form data, get or post */\n method?: 'get' | 'post',\n /** Name of the text input */\n name?: string,\n /** On change handler for the search input, debounced by 250ms */\n onChange?: Function,\n /** On submit handler for the search input */\n onSubmit?: Function,\n /** Extra query parameters in addition to the form data */\n queryParams: { [arg: string]: string },\n /** Boolean to prevent propogation of search clear action */\n shouldPreventClearEventPropagation?: boolean,\n /** If the clear button is shown when input field is not empty */\n useClearButton?: boolean,\n /** The value of the input if controlled */\n value?: string,\n};\n\ntype DefaultProps = {\n action: string,\n method: 'get' | 'post',\n name: string,\n queryParams: { [arg: string]: string },\n useClearButton: boolean,\n};\n\ntype IntlProps = {\n intl: Object,\n};\n\ntype State = {\n isEmpty: boolean,\n};\n\ntype Config = React.Config<Props, DefaultProps & IntlProps>;\n\nclass SearchFormBase extends React.Component<Props, State> {\n static defaultProps: DefaultProps = {\n action: '',\n method: 'get',\n name: 'search',\n queryParams: {},\n useClearButton: false,\n };\n\n state = {\n isEmpty: true,\n };\n\n static getDerivedStateFromProps(props: Props): any {\n const { value } = props;\n\n if (value && !!value.trim()) {\n return {\n isEmpty: true,\n };\n }\n\n return null;\n }\n\n onClearHandler = (event: SyntheticEvent<>) => {\n const { onChange, shouldPreventClearEventPropagation } = this.props;\n if (shouldPreventClearEventPropagation) {\n event.stopPropagation();\n }\n\n if (this.searchInput) {\n this.searchInput.value = '';\n }\n this.setState({ isEmpty: true });\n\n if (onChange) {\n onChange('');\n }\n };\n\n onChangeHandler = ({ target }) => {\n const { value } = target;\n const { onChange } = this.props;\n this.setState({ isEmpty: !value || !value.trim().length });\n\n if (onChange) {\n onChange(value);\n }\n };\n\n onSubmitHandler = event => {\n const { value } = event.target.elements[0];\n const { onSubmit } = this.props;\n\n if (onSubmit) {\n onSubmit(value, event);\n }\n };\n\n setInputRef = element => {\n this.searchInput = element;\n\n if (this.props.getSearchInput) {\n this.props.getSearchInput(this.searchInput);\n }\n };\n\n searchInput: ?HTMLInputElement;\n\n render() {\n const {\n action,\n className,\n innerRef,\n intl,\n isLoading,\n method,\n name,\n queryParams,\n onSubmit,\n useClearButton,\n ...rest\n } = this.props;\n const { isEmpty } = this.state;\n\n const inputProps = omit(rest, [\n 'getSearchInput',\n 'onChange',\n 'onSubmit',\n 'required',\n 'shouldPreventClearEventPropagation',\n ]);\n\n const { formatMessage } = intl;\n const classes = classNames(className, 'search-input-container');\n const formClassNames = classNames('search-form', {\n 'is-empty': isEmpty,\n 'use-clear-button': useClearButton,\n });\n const hiddenInputs = Object.keys(queryParams).map((param, index) => (\n <input key={index} name={param} type=\"hidden\" value={queryParams[param]} />\n ));\n\n const SearchActions = () => (\n <div className=\"action-buttons\">\n {onSubmit ? (\n <button\n type=\"submit\"\n className=\"action-button search-button\"\n title={formatMessage(messages.searchButtonTitle)}\n >\n <Search16 />\n </button>\n ) : (\n <div className=\"action-button search-button\">\n <Search16 />\n </div>\n )}\n\n <button\n className=\"action-button clear-button\"\n onClick={this.onClearHandler}\n title={formatMessage(messages.clearButtonTitle)}\n type=\"button\"\n >\n <ClearBadge16 />\n </button>\n </div>\n );\n\n const LoadableSearchActions = makeLoadable(SearchActions);\n\n // @NOTE Prevent errors from React about controlled inputs\n const onChangeStub = () => {};\n\n return (\n <div ref={innerRef} className={classes}>\n <form\n action={action}\n className={formClassNames}\n method={method}\n onChange={this.onChangeHandler}\n onSubmit={this.onSubmitHandler}\n role=\"search\"\n >\n <input\n ref={this.setInputRef}\n aria-label={formatMessage(messages.searchLabel)}\n autoComplete=\"off\"\n className=\"search-input\"\n name={name}\n onChange={onChangeStub}\n type=\"search\"\n {...inputProps}\n />\n <LoadableSearchActions\n isLoading={isLoading}\n loadingIndicatorProps={{\n className: 'search-form-loading-indicator',\n }}\n />\n {hiddenInputs}\n </form>\n </div>\n );\n }\n}\n\nconst SearchFormBaseIntl = injectIntl(SearchFormBase);\nexport { SearchFormBaseIntl };\n\nconst SearchForm = React.forwardRef<Config, HTMLDivElement>((props: Config, ref: React.Ref<any>) => (\n <SearchFormBaseIntl {...props} innerRef={ref} />\n));\nSearchForm.displayName = 'SearchForm';\n\nexport default SearchForm;\n"],"file":"SearchForm.js"}
1
+ {"version":3,"sources":["../../../src/components/search-form/SearchForm.js"],"names":["React","injectIntl","classNames","omit","SearchActions","messages","SearchFormBase","Component","isEmpty","event","onChange","shouldPreventClearEventPropagation","props","stopPropagation","searchInput","value","setState","target","trim","length","elements","onSubmit","element","getSearchInput","getDerivedStateFromProps","render","action","className","innerRef","intl","isLoading","method","name","queryParams","useClearButton","rest","state","inputProps","formatMessage","classes","formClassNames","hiddenInputs","Object","keys","map","param","index","onChangeStub","onChangeHandler","onSubmitHandler","setInputRef","searchLabel","onClearHandler","Sear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,EA0BKX,YA1BL,CADJ,CADJ;AAgCH;;AA3IsD;;gBAArDnC,c,kBACkC;AAChCoB,EAAAA,MAAM,EAAE,EADwB;AAEhCK,EAAAA,MAAM,EAAE,KAFwB;AAGhCC,EAAAA,IAAI,EAAE,QAH0B;AAIhCC,EAAAA,WAAW,EAAE,EAJmB;AAKhCC,EAAAA,cAAc,EAAE;AALgB,C;;AA6IxC,MAAMmB,kBAAkB,GAAGpD,UAAU,CAACK,cAAD,CAArC;AACA,SAAS+C,kBAAT;AAEA,MAAMC,UAAU,GAAGtD,KAAK,CAACuD,UAAN,CAAyC,CAAC3C,KAAD,EAAgB4C,GAAhB,KACxD,oBAAC,kBAAD,eAAwB5C,KAAxB;AAA+B,EAAA,QAAQ,EAAE4C;AAAzC,GADe,CAAnB;AAGAF,UAAU,CAACG,WAAX,GAAyB,YAAzB;AAEA,eAAeH,UAAf","sourcesContent":["// @flow\nimport * as React from 'react';\nimport { injectIntl } from 'react-intl';\nimport classNames from 'classnames';\nimport omit from 'lodash/omit';\n\n// $FlowFixMe\nimport SearchActions from './SearchActions';\n\n// $FlowFixMe\nimport messages from './messages';\n\nimport './SearchForm.scss';\n\ntype Props = {\n /** Form submit action */\n action?: string,\n className?: string,\n getSearchInput?: Function,\n innerRef?: React.Ref<any>,\n intl: Object,\n isLoading?: boolean,\n /** The way to send the form data, get or post */\n method?: 'get' | 'post',\n /** Name of the text input */\n name?: string,\n /** On change handler for the search input */\n onChange?: Function,\n /** On submit handler for the search input */\n onSubmit?: Function,\n /** Extra query parameters in addition to the form data */\n queryParams: { [arg: string]: string },\n /** Whether to prevent propagation of search clear action */\n shouldPreventClearEventPropagation?: boolean,\n /** If the clear button is shown when input field is not empty */\n useClearButton?: boolean,\n /** The value of the input if controlled */\n value?: string,\n};\n\ntype DefaultProps = {\n action: string,\n method: 'get' | 'post',\n name: string,\n queryParams: { [arg: string]: string },\n useClearButton: boolean,\n};\n\ntype IntlProps = {\n intl: Object,\n};\n\ntype State = {\n isEmpty: boolean,\n};\n\ntype Config = React.Config<Props, DefaultProps & IntlProps>;\n\nclass SearchFormBase extends React.Component<Props, State> {\n static defaultProps: DefaultProps = {\n action: '',\n method: 'get',\n name: 'search',\n queryParams: {},\n useClearButton: false,\n };\n\n state = {\n isEmpty: true,\n };\n\n static getDerivedStateFromProps(props: Props): any {\n const { value } = props;\n\n if (value && !!value.trim()) {\n return {\n isEmpty: true,\n };\n }\n\n return null;\n }\n\n onClearHandler = (event: SyntheticEvent<>) => {\n const { onChange, shouldPreventClearEventPropagation } = this.props;\n if (shouldPreventClearEventPropagation) {\n event.stopPropagation();\n }\n\n if (this.searchInput) {\n this.searchInput.value = '';\n }\n this.setState({ isEmpty: true });\n\n if (onChange) {\n onChange('');\n }\n };\n\n onChangeHandler = ({ target }) => {\n const { value } = target;\n const { onChange } = this.props;\n this.setState({ isEmpty: !value || !value.trim().length });\n\n if (onChange) {\n onChange(value);\n }\n };\n\n onSubmitHandler = event => {\n const { value } = event.target.elements[0];\n const { onSubmit } = this.props;\n\n if (onSubmit) {\n onSubmit(value, event);\n }\n };\n\n setInputRef = element => {\n this.searchInput = element;\n\n if (this.props.getSearchInput) {\n this.props.getSearchInput(this.searchInput);\n }\n };\n\n searchInput: ?HTMLInputElement;\n\n render() {\n const {\n action,\n className,\n innerRef,\n intl,\n isLoading,\n method,\n name,\n queryParams,\n onSubmit,\n useClearButton,\n ...rest\n } = this.props;\n const { isEmpty } = this.state;\n\n const inputProps = omit(rest, [\n 'getSearchInput',\n 'onChange',\n 'onSubmit',\n 'required',\n 'shouldPreventClearEventPropagation',\n ]);\n\n const { formatMessage } = intl;\n const classes = classNames(className, 'search-input-container');\n const formClassNames = classNames('search-form', {\n 'is-empty': isEmpty,\n 'use-clear-button': useClearButton,\n });\n const hiddenInputs = Object.keys(queryParams).map((param, index) => (\n <input key={index} name={param} type=\"hidden\" value={queryParams[param]} />\n ));\n\n // @NOTE Prevent errors from React about controlled inputs\n const onChangeStub = () => {};\n\n return (\n <div ref={innerRef} className={classes}>\n <form\n action={action}\n className={formClassNames}\n method={method}\n onChange={this.onChangeHandler}\n onSubmit={this.onSubmitHandler}\n role=\"search\"\n >\n <input\n ref={this.setInputRef}\n aria-label={formatMessage(messages.searchLabel)}\n autoComplete=\"off\"\n className=\"search-input\"\n name={name}\n onChange={onChangeStub}\n type=\"search\"\n {...inputProps}\n />\n <SearchActions\n hasSubmitAction={!!onSubmit}\n isLoading={isLoading}\n loadingIndicatorProps={{\n className: 'search-form-loading-indicator',\n }}\n onClear={this.onClearHandler}\n />\n {hiddenInputs}\n </form>\n </div>\n );\n }\n}\n\nconst SearchFormBaseIntl = injectIntl(SearchFormBase);\nexport { SearchFormBaseIntl };\n\nconst SearchForm = React.forwardRef<Config, HTMLDivElement>((props: Config, ref: React.Ref<any>) => (\n <SearchFormBaseIntl {...props} innerRef={ref} />\n));\nSearchForm.displayName = 'SearchForm';\n\nexport default SearchForm;\n"],"file":"SearchForm.js"}
@@ -0,0 +1,17 @@
1
+ import { defineMessages } from 'react-intl';
2
+ const messages = defineMessages({
3
+ clearButtonTitle: {
4
+ "id": "boxui.searchForm.clearButtonTitle",
5
+ "defaultMessage": "Clear"
6
+ },
7
+ searchButtonTitle: {
8
+ "id": "boxui.searchForm.searchButtonTitle",
9
+ "defaultMessage": "Search"
10
+ },
11
+ searchLabel: {
12
+ "id": "boxui.searchForm.searchLabel",
13
+ "defaultMessage": "Search query"
14
+ }
15
+ });
16
+ export default messages;
17
+ //# sourceMappingURL=messages.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/components/search-form/messages.ts"],"names":["defineMessages","messages","clearButtonTitle","searchButtonTitle","searchLabel"],"mappings":"AAAA,SAASA,cAAT,QAA+B,YAA/B;AAEA,MAAMC,QAAQ,GAAGD,cAAc,CAAC;AAC5BE,EAAAA,gBAAgB;AAAA;AAAA;AAAA,GADY;AAM5BC,EAAAA,iBAAiB;AAAA;AAAA;AAAA,GANW;AAW5BC,EAAAA,WAAW;AAAA;AAAA;AAAA;AAXiB,CAAD,CAA/B;AAkBA,eAAeH,QAAf","sourcesContent":["import { defineMessages } from 'react-intl';\n\nconst messages = defineMessages({\n clearButtonTitle: {\n defaultMessage: 'Clear',\n description: 'Title for a clear button',\n id: 'boxui.searchForm.clearButtonTitle',\n },\n searchButtonTitle: {\n defaultMessage: 'Search',\n description: 'Title for a search button',\n id: 'boxui.searchForm.searchButtonTitle',\n },\n searchLabel: {\n defaultMessage: 'Search query',\n description: 'Label for a search input',\n id: 'boxui.searchForm.searchLabel',\n },\n});\n\nexport default messages;\n"],"file":"messages.js"}
@@ -10,7 +10,7 @@ export const basic = () => React.createElement(Section, {
10
10
  placeholder: "Enter email here"
11
11
  }));
12
12
  export default {
13
- title: 'Components|Section',
13
+ title: 'Components/Section',
14
14
  component: Section,
15
15
  parameters: {
16
16
  notes
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/section/Section.stories.tsx"],"names":["React","Section","notes","basic","title","component","parameters"],"mappings":"AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AAEA,OAAOC,OAAP,MAAoB,WAApB;AACA,OAAOC,KAAP,MAAkB,sBAAlB;AAEA,OAAO,MAAMC,KAAK,GAAG,MACjB,oBAAC,OAAD;AAAS,EAAA,KAAK,EAAC,WAAf;AAA2B,EAAA,WAAW,EAAC;AAAvC,GACI;AAAO,EAAA,IAAI,EAAC,WAAZ;AAAwB,EAAA,IAAI,EAAC,OAA7B;AAAqC,EAAA,WAAW,EAAC;AAAjD,EADJ,CADG;AAMP,eAAe;AACXC,EAAAA,KAAK,EAAE,oBADI;AAEXC,EAAAA,SAAS,EAAEJ,OAFA;AAGXK,EAAAA,UAAU,EAAE;AACRJ,IAAAA;AADQ;AAHD,CAAf","sourcesContent":["import * as React from 'react';\n\nimport Section from './Section';\nimport notes from './Section.stories.md';\n\nexport const basic = () => (\n <Section title=\"User Info\" description=\"Your account info\">\n <input name=\"textinput\" type=\"email\" placeholder=\"Enter email here\" />\n </Section>\n);\n\nexport default {\n title: 'Components|Section',\n component: Section,\n parameters: {\n notes,\n },\n};\n"],"file":"Section.stories.js"}
1
+ {"version":3,"sources":["../../../src/components/section/Section.stories.tsx"],"names":["React","Section","notes","basic","title","component","parameters"],"mappings":"AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AAEA,OAAOC,OAAP,MAAoB,WAApB;AACA,OAAOC,KAAP,MAAkB,sBAAlB;AAEA,OAAO,MAAMC,KAAK,GAAG,MACjB,oBAAC,OAAD;AAAS,EAAA,KAAK,EAAC,WAAf;AAA2B,EAAA,WAAW,EAAC;AAAvC,GACI;AAAO,EAAA,IAAI,EAAC,WAAZ;AAAwB,EAAA,IAAI,EAAC,OAA7B;AAAqC,EAAA,WAAW,EAAC;AAAjD,EADJ,CADG;AAMP,eAAe;AACXC,EAAAA,KAAK,EAAE,oBADI;AAEXC,EAAAA,SAAS,EAAEJ,OAFA;AAGXK,EAAAA,UAAU,EAAE;AACRJ,IAAAA;AADQ;AAHD,CAAf","sourcesContent":["import * as React from 'react';\n\nimport Section from './Section';\nimport notes from './Section.stories.md';\n\nexport const basic = () => (\n <Section title=\"User Info\" description=\"Your account info\">\n <input name=\"textinput\" type=\"email\" placeholder=\"Enter email here\" />\n </Section>\n);\n\nexport default {\n title: 'Components/Section',\n component: Section,\n parameters: {\n notes,\n },\n};\n"],"file":"Section.stories.js"}
@@ -27,7 +27,7 @@ export const withInfoTooltip = () => React.createElement(Select, {
27
27
  infoTooltip: "Here's your favorite 90s rap albums"
28
28
  }, React.createElement("option", null, "Illmatic"), React.createElement("option", null, "The Marshall Mathers LP"), React.createElement("option", null, "All Eyez on Me"), React.createElement("option", null, "Ready To Die"), React.createElement("option", null, "Enter the Wu-Tang"), React.createElement("option", null, "The Eminem Show"), React.createElement("option", null, "The Chronic"), React.createElement("option", null, "Straight Outta Compton"), React.createElement("option", null, "Reasonable Doubt"));
29
29
  export default {
30
- title: 'Components|Select',
30
+ title: 'Components/Select',
31
31
  component: Select,
32
32
  parameters: {
33
33
  notes
@@ -68,7 +68,7 @@ export const withInfoTooltip = () => (
68
68
  );
69
69
 
70
70
  export default {
71
- title: 'Components|Select',
71
+ title: 'Components/Select',
72
72
  component: Select,
73
73
  parameters: {
74
74
  notes,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/select/Select.stories.js"],"names":["React","boolean","Select","notes","basic","disabled","withErrorMessage","withErrorOutline","withInfoTooltip","title","component","parameters"],"mappings":"AACA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,SAASC,OAAT,QAAwB,wBAAxB;AAEA,OAAOC,MAAP,MAAmB,UAAnB;AACA,OAAOC,KAAP,MAAkB,qBAAlB;AAEA,OAAO,MAAMC,KAAK,GAAG,MACjB,oBAAC,MAAD;AAAQ,EAAA,IAAI,EAAC,QAAb;AAAsB,EAAA,KAAK,EAAC;AAA5B,GACI,+CADJ,EAEI,8DAFJ,EAGI,qDAHJ,EAII,mDAJJ,EAKI,wDALJ,EAMI,sDANJ,EAOI,kDAPJ,EAQI,6DARJ,EASI,uDATJ,CADG;AAcP,OAAO,MAAMC,QAAQ,GAAG,MACpB,oBAAC,MAAD;AAAQ,EAAA,IAAI,EAAC,QAAb;AAAsB,EAAA,KAAK,EAAC,iBAA5B;AAA8C,EAAA,UAAU,EAAEJ,OAAO,CAAC,YAAD,EAAe,IAAf;AAAjE,GACI,6DADJ,CADG;AAMP,OAAO,MAAMK,gBAAgB,GAAG,MAC5B,oBAAC,MAAD;AAAQ,EAAA,IAAI,EAAC,QAAb;AAAsB,EAAA,KAAK,EAAC,OAA5B;AAAoC,EAAA,KAAK,EAAC;AAA1C,GACI,+CADJ,EAEI,8DAFJ,EAGI,qDAHJ,EAII,mDAJJ,EAKI,wDALJ,EAMI,sDANJ,EAOI,kDAPJ,EAQI,6DARJ,EASI,uDATJ,CADG;AAcP,OAAO,MAAMC,gBAAgB,GAAG,MAC5B,oBAAC,MAAD;AAAQ,EAAA,IAAI,EAAC,QAAb;AAAsB,EAAA,KAAK,EAAC,OAA5B;AAAoC,EAAA,gBAAgB,EAAEN,OAAO,CAAC,kBAAD,EAAqB,IAArB;AAA7D,GACI,+CADJ,EAEI,8DAFJ,EAGI,qDAHJ,EAII,mDAJJ,EAKI,wDALJ,EAMI,sDANJ,EAOI,kDAPJ,EAQI,6DARJ,EASI,uDATJ,CADG;AAcP,OAAO,MAAMO,eAAe,GAAG,MAC3B,oBAAC,MAAD;AAAQ,EAAA,IAAI,EAAC,QAAb;AAAsB,EAAA,KAAK,EAAC,OAA5B;AAAoC,EAAA,WAAW,EAAE;AAAjD,GACI,+CADJ,EAEI,8DAFJ,EAGI,qDAHJ,EAII,mDAJJ,EAKI,wDALJ,EAMI,sDANJ,EAOI,kDAPJ,EAQI,6DARJ,EASI,uDATJ,CADG;AAcP,eAAe;AACXC,EAAAA,KAAK,EAAE,mBADI;AAEXC,EAAAA,SAAS,EAAER,MAFA;AAGXS,EAAAA,UAAU,EAAE;AACRR,IAAAA;AADQ;AAHD,CAAf","sourcesContent":["// @flow\nimport * as React from 'react';\nimport { boolean } from '@storybook/addon-knobs';\n\nimport Select from './Select';\nimport notes from './Select.stories.md';\n\nexport const basic = () => (\n <Select name=\"select\" label=\"Album\">\n <option>Illmatic</option>\n <option>The Marshall Mathers LP</option>\n <option>All Eyez on Me</option>\n <option>Ready To Die</option>\n <option>Enter the Wu-Tang</option>\n <option>The Eminem Show</option>\n <option>The Chronic</option>\n <option>Straight Outta Compton</option>\n <option>Reasonable Doubt</option>\n </Select>\n);\n\nexport const disabled = () => (\n <Select name=\"select\" label=\"Disabled Select\" isDisabled={boolean('isDisabled', true)}>\n <option>Straight Outta Compton</option>\n </Select>\n);\n\nexport const withErrorMessage = () => (\n <Select name=\"select\" label=\"Album\" error=\"Not For Kidz\">\n <option>Illmatic</option>\n <option>The Marshall Mathers LP</option>\n <option>All Eyez on Me</option>\n <option>Ready To Die</option>\n <option>Enter the Wu-Tang</option>\n <option>The Eminem Show</option>\n <option>The Chronic</option>\n <option>Straight Outta Compton</option>\n <option>Reasonable Doubt</option>\n </Select>\n);\n\nexport const withErrorOutline = () => (\n <Select name=\"select\" label=\"Album\" showErrorOutline={boolean('showErrorOutline', true)}>\n <option>Illmatic</option>\n <option>The Marshall Mathers LP</option>\n <option>All Eyez on Me</option>\n <option>Ready To Die</option>\n <option>Enter the Wu-Tang</option>\n <option>The Eminem Show</option>\n <option>The Chronic</option>\n <option>Straight Outta Compton</option>\n <option>Reasonable Doubt</option>\n </Select>\n);\n\nexport const withInfoTooltip = () => (\n <Select name=\"select\" label=\"Album\" infoTooltip={\"Here's your favorite 90s rap albums\"}>\n <option>Illmatic</option>\n <option>The Marshall Mathers LP</option>\n <option>All Eyez on Me</option>\n <option>Ready To Die</option>\n <option>Enter the Wu-Tang</option>\n <option>The Eminem Show</option>\n <option>The Chronic</option>\n <option>Straight Outta Compton</option>\n <option>Reasonable Doubt</option>\n </Select>\n);\n\nexport default {\n title: 'Components|Select',\n component: Select,\n parameters: {\n notes,\n },\n};\n"],"file":"Select.stories.js"}
1
+ {"version":3,"sources":["../../../src/components/select/Select.stories.js"],"names":["React","boolean","Select","notes","basic","disabled","withErrorMessage","withErrorOutline","withInfoTooltip","title","component","parameters"],"mappings":"AACA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,SAASC,OAAT,QAAwB,wBAAxB;AAEA,OAAOC,MAAP,MAAmB,UAAnB;AACA,OAAOC,KAAP,MAAkB,qBAAlB;AAEA,OAAO,MAAMC,KAAK,GAAG,MACjB,oBAAC,MAAD;AAAQ,EAAA,IAAI,EAAC,QAAb;AAAsB,EAAA,KAAK,EAAC;AAA5B,GACI,+CADJ,EAEI,8DAFJ,EAGI,qDAHJ,EAII,mDAJJ,EAKI,wDALJ,EAMI,sDANJ,EAOI,kDAPJ,EAQI,6DARJ,EASI,uDATJ,CADG;AAcP,OAAO,MAAMC,QAAQ,GAAG,MACpB,oBAAC,MAAD;AAAQ,EAAA,IAAI,EAAC,QAAb;AAAsB,EAAA,KAAK,EAAC,iBAA5B;AAA8C,EAAA,UAAU,EAAEJ,OAAO,CAAC,YAAD,EAAe,IAAf;AAAjE,GACI,6DADJ,CADG;AAMP,OAAO,MAAMK,gBAAgB,GAAG,MAC5B,oBAAC,MAAD;AAAQ,EAAA,IAAI,EAAC,QAAb;AAAsB,EAAA,KAAK,EAAC,OAA5B;AAAoC,EAAA,KAAK,EAAC;AAA1C,GACI,+CADJ,EAEI,8DAFJ,EAGI,qDAHJ,EAII,mDAJJ,EAKI,wDALJ,EAMI,sDANJ,EAOI,kDAPJ,EAQI,6DARJ,EASI,uDATJ,CADG;AAcP,OAAO,MAAMC,gBAAgB,GAAG,MAC5B,oBAAC,MAAD;AAAQ,EAAA,IAAI,EAAC,QAAb;AAAsB,EAAA,KAAK,EAAC,OAA5B;AAAoC,EAAA,gBAAgB,EAAEN,OAAO,CAAC,kBAAD,EAAqB,IAArB;AAA7D,GACI,+CADJ,EAEI,8DAFJ,EAGI,qDAHJ,EAII,mDAJJ,EAKI,wDALJ,EAMI,sDANJ,EAOI,kDAPJ,EAQI,6DARJ,EASI,uDATJ,CADG;AAcP,OAAO,MAAMO,eAAe,GAAG,MAC3B,oBAAC,MAAD;AAAQ,EAAA,IAAI,EAAC,QAAb;AAAsB,EAAA,KAAK,EAAC,OAA5B;AAAoC,EAAA,WAAW,EAAE;AAAjD,GACI,+CADJ,EAEI,8DAFJ,EAGI,qDAHJ,EAII,mDAJJ,EAKI,wDALJ,EAMI,sDANJ,EAOI,kDAPJ,EAQI,6DARJ,EASI,uDATJ,CADG;AAcP,eAAe;AACXC,EAAAA,KAAK,EAAE,mBADI;AAEXC,EAAAA,SAAS,EAAER,MAFA;AAGXS,EAAAA,UAAU,EAAE;AACRR,IAAAA;AADQ;AAHD,CAAf","sourcesContent":["// @flow\nimport * as React from 'react';\nimport { boolean } from '@storybook/addon-knobs';\n\nimport Select from './Select';\nimport notes from './Select.stories.md';\n\nexport const basic = () => (\n <Select name=\"select\" label=\"Album\">\n <option>Illmatic</option>\n <option>The Marshall Mathers LP</option>\n <option>All Eyez on Me</option>\n <option>Ready To Die</option>\n <option>Enter the Wu-Tang</option>\n <option>The Eminem Show</option>\n <option>The Chronic</option>\n <option>Straight Outta Compton</option>\n <option>Reasonable Doubt</option>\n </Select>\n);\n\nexport const disabled = () => (\n <Select name=\"select\" label=\"Disabled Select\" isDisabled={boolean('isDisabled', true)}>\n <option>Straight Outta Compton</option>\n </Select>\n);\n\nexport const withErrorMessage = () => (\n <Select name=\"select\" label=\"Album\" error=\"Not For Kidz\">\n <option>Illmatic</option>\n <option>The Marshall Mathers LP</option>\n <option>All Eyez on Me</option>\n <option>Ready To Die</option>\n <option>Enter the Wu-Tang</option>\n <option>The Eminem Show</option>\n <option>The Chronic</option>\n <option>Straight Outta Compton</option>\n <option>Reasonable Doubt</option>\n </Select>\n);\n\nexport const withErrorOutline = () => (\n <Select name=\"select\" label=\"Album\" showErrorOutline={boolean('showErrorOutline', true)}>\n <option>Illmatic</option>\n <option>The Marshall Mathers LP</option>\n <option>All Eyez on Me</option>\n <option>Ready To Die</option>\n <option>Enter the Wu-Tang</option>\n <option>The Eminem Show</option>\n <option>The Chronic</option>\n <option>Straight Outta Compton</option>\n <option>Reasonable Doubt</option>\n </Select>\n);\n\nexport const withInfoTooltip = () => (\n <Select name=\"select\" label=\"Album\" infoTooltip={\"Here's your favorite 90s rap albums\"}>\n <option>Illmatic</option>\n <option>The Marshall Mathers LP</option>\n <option>All Eyez on Me</option>\n <option>Ready To Die</option>\n <option>Enter the Wu-Tang</option>\n <option>The Eminem Show</option>\n <option>The Chronic</option>\n <option>Straight Outta Compton</option>\n <option>Reasonable Doubt</option>\n </Select>\n);\n\nexport default {\n title: 'Components/Select',\n component: Select,\n parameters: {\n notes,\n },\n};\n"],"file":"Select.stories.js"}
@@ -16,7 +16,7 @@ export const withError = () => React.createElement(SelectButton, {
16
16
  isDisabled: false
17
17
  }, "Click Here");
18
18
  export default {
19
- title: 'Components|SelectButton',
19
+ title: 'Components/SelectButton',
20
20
  component: SelectButton,
21
21
  parameters: {
22
22
  notes
@@ -24,7 +24,7 @@ export const withError = () => (
24
24
  );
25
25
 
26
26
  export default {
27
- title: 'Components|SelectButton',
27
+ title: 'Components/SelectButton',
28
28
  component: SelectButton,
29
29
  parameters: {
30
30
  notes,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/select-button/SelectButton.stories.js"],"names":["React","boolean","SelectButton","notes","regular","disabled","withError","title","component","parameters"],"mappings":"AACA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,SAASC,OAAT,QAAwB,wBAAxB;AAEA,OAAOC,YAAP,MAAyB,gBAAzB;AACA,OAAOC,KAAP,MAAkB,2BAAlB;AAEA,OAAO,MAAMC,OAAO,GAAG,MACnB,oBAAC,YAAD;AAAc,EAAA,SAAS,EAAC,EAAxB;AAA2B,EAAA,UAAU,EAAEH,OAAO,CAAC,YAAD,EAAe,KAAf;AAA9C,gBADG;AAMP,OAAO,MAAMI,QAAQ,GAAG,MACpB,oBAAC,YAAD;AAAc,EAAA,SAAS,EAAC,EAAxB;AAA2B,EAAA,UAAU;AAArC,gBADG;AAMP,OAAO,MAAMC,SAAS,GAAG,MACrB,oBAAC,YAAD;AAAc,EAAA,SAAS,EAAC,EAAxB;AAA2B,EAAA,KAAK,EAAC,YAAjC;AAA8C,EAAA,UAAU,EAAE;AAA1D,gBADG;AAMP,eAAe;AACXC,EAAAA,KAAK,EAAE,yBADI;AAEXC,EAAAA,SAAS,EAAEN,YAFA;AAGXO,EAAAA,UAAU,EAAE;AACRN,IAAAA;AADQ;AAHD,CAAf","sourcesContent":["// @flow\nimport * as React from 'react';\nimport { boolean } from '@storybook/addon-knobs';\n\nimport SelectButton from './SelectButton';\nimport notes from './SelectButton.stories.md';\n\nexport const regular = () => (\n <SelectButton className=\"\" isDisabled={boolean('isDisabled', false)}>\n Click Here\n </SelectButton>\n);\n\nexport const disabled = () => (\n <SelectButton className=\"\" isDisabled>\n Click Here\n </SelectButton>\n);\n\nexport const withError = () => (\n <SelectButton className=\"\" error=\"Error text\" isDisabled={false}>\n Click Here\n </SelectButton>\n);\n\nexport default {\n title: 'Components|SelectButton',\n component: SelectButton,\n parameters: {\n notes,\n },\n};\n"],"file":"SelectButton.stories.js"}
1
+ {"version":3,"sources":["../../../src/components/select-button/SelectButton.stories.js"],"names":["React","boolean","SelectButton","notes","regular","disabled","withError","title","component","parameters"],"mappings":"AACA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,SAASC,OAAT,QAAwB,wBAAxB;AAEA,OAAOC,YAAP,MAAyB,gBAAzB;AACA,OAAOC,KAAP,MAAkB,2BAAlB;AAEA,OAAO,MAAMC,OAAO,GAAG,MACnB,oBAAC,YAAD;AAAc,EAAA,SAAS,EAAC,EAAxB;AAA2B,EAAA,UAAU,EAAEH,OAAO,CAAC,YAAD,EAAe,KAAf;AAA9C,gBADG;AAMP,OAAO,MAAMI,QAAQ,GAAG,MACpB,oBAAC,YAAD;AAAc,EAAA,SAAS,EAAC,EAAxB;AAA2B,EAAA,UAAU;AAArC,gBADG;AAMP,OAAO,MAAMC,SAAS,GAAG,MACrB,oBAAC,YAAD;AAAc,EAAA,SAAS,EAAC,EAAxB;AAA2B,EAAA,KAAK,EAAC,YAAjC;AAA8C,EAAA,UAAU,EAAE;AAA1D,gBADG;AAMP,eAAe;AACXC,EAAAA,KAAK,EAAE,yBADI;AAEXC,EAAAA,SAAS,EAAEN,YAFA;AAGXO,EAAAA,UAAU,EAAE;AACRN,IAAAA;AADQ;AAHD,CAAf","sourcesContent":["// @flow\nimport * as React from 'react';\nimport { boolean } from '@storybook/addon-knobs';\n\nimport SelectButton from './SelectButton';\nimport notes from './SelectButton.stories.md';\n\nexport const regular = () => (\n <SelectButton className=\"\" isDisabled={boolean('isDisabled', false)}>\n Click Here\n </SelectButton>\n);\n\nexport const disabled = () => (\n <SelectButton className=\"\" isDisabled>\n Click Here\n </SelectButton>\n);\n\nexport const withError = () => (\n <SelectButton className=\"\" error=\"Error text\" isDisabled={false}>\n Click Here\n </SelectButton>\n);\n\nexport default {\n title: 'Components/SelectButton',\n component: SelectButton,\n parameters: {\n notes,\n },\n};\n"],"file":"SelectButton.stories.js"}
@@ -4,7 +4,7 @@ import SelectorDropdown from './SelectorDropdown';
4
4
  import notes from './SelectorDropdown.stories.md';
5
5
  export const basic = () => React.createElement(SelectorDropdownExamples, null);
6
6
  export default {
7
- title: 'Components|SelectorDropdown',
7
+ title: 'Components/SelectorDropdown',
8
8
  component: SelectorDropdown,
9
9
  parameters: {
10
10
  notes
@@ -8,7 +8,7 @@ import notes from './SelectorDropdown.stories.md';
8
8
  export const basic = () => <SelectorDropdownExamples />;
9
9
 
10
10
  export default {
11
- title: 'Components|SelectorDropdown',
11
+ title: 'Components/SelectorDropdown',
12
12
  component: SelectorDropdown,
13
13
  parameters: {
14
14
  notes,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/selector-dropdown/SelectorDropdown.stories.js"],"names":["React","SelectorDropdownExamples","SelectorDropdown","notes","basic","title","component","parameters"],"mappings":"AACA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AAEA,OAAOC,wBAAP,MAAqC,gDAArC;AACA,OAAOC,gBAAP,MAA6B,oBAA7B;AACA,OAAOC,KAAP,MAAkB,+BAAlB;AAEA,OAAO,MAAMC,KAAK,GAAG,MAAM,oBAAC,wBAAD,OAApB;AAEP,eAAe;AACXC,EAAAA,KAAK,EAAE,6BADI;AAEXC,EAAAA,SAAS,EAAEJ,gBAFA;AAGXK,EAAAA,UAAU,EAAE;AACRJ,IAAAA;AADQ;AAHD,CAAf","sourcesContent":["// @flow\nimport * as React from 'react';\n\nimport SelectorDropdownExamples from '../../../examples/src/SelectorDropdownExamples';\nimport SelectorDropdown from './SelectorDropdown';\nimport notes from './SelectorDropdown.stories.md';\n\nexport const basic = () => <SelectorDropdownExamples />;\n\nexport default {\n title: 'Components|SelectorDropdown',\n component: SelectorDropdown,\n parameters: {\n notes,\n },\n};\n"],"file":"SelectorDropdown.stories.js"}
1
+ {"version":3,"sources":["../../../src/components/selector-dropdown/SelectorDropdown.stories.js"],"names":["React","SelectorDropdownExamples","SelectorDropdown","notes","basic","title","component","parameters"],"mappings":"AACA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AAEA,OAAOC,wBAAP,MAAqC,gDAArC;AACA,OAAOC,gBAAP,MAA6B,oBAA7B;AACA,OAAOC,KAAP,MAAkB,+BAAlB;AAEA,OAAO,MAAMC,KAAK,GAAG,MAAM,oBAAC,wBAAD,OAApB;AAEP,eAAe;AACXC,EAAAA,KAAK,EAAE,6BADI;AAEXC,EAAAA,SAAS,EAAEJ,gBAFA;AAGXK,EAAAA,UAAU,EAAE;AACRJ,IAAAA;AADQ;AAHD,CAAf","sourcesContent":["// @flow\nimport * as React from 'react';\n\nimport SelectorDropdownExamples from '../../../examples/src/SelectorDropdownExamples';\nimport SelectorDropdown from './SelectorDropdown';\nimport notes from './SelectorDropdown.stories.md';\n\nexport const basic = () => <SelectorDropdownExamples />;\n\nexport default {\n title: 'Components/SelectorDropdown',\n component: SelectorDropdown,\n parameters: {\n notes,\n },\n};\n"],"file":"SelectorDropdown.stories.js"}
@@ -19,7 +19,7 @@ export const leftFacing = () => React.createElement(IntlProvider, {
19
19
  isOpen: true
20
20
  }));
21
21
  export default {
22
- title: 'Components|SidebarToggleButton',
22
+ title: 'Components/SidebarToggleButton',
23
23
  component: SidebarToggleButton,
24
24
  parameters: {
25
25
  notes
@@ -24,7 +24,7 @@ export const leftFacing = () => (
24
24
  );
25
25
 
26
26
  export default {
27
- title: 'Components|SidebarToggleButton',
27
+ title: 'Components/SidebarToggleButton',
28
28
  component: SidebarToggleButton,
29
29
  parameters: {
30
30
  notes,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/sidebar-toggle-button/SidebarToggleButton.stories.js"],"names":["React","IntlProvider","SidebarToggleButton","notes","open","closed","leftFacing","title","component","parameters"],"mappings":"AACA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,SAASC,YAAT,QAA6B,YAA7B;AAEA,OAAOC,mBAAP,MAAgC,uBAAhC;AACA,OAAOC,KAAP,MAAkB,kCAAlB;AAEA,OAAO,MAAMC,IAAI,GAAG,MAChB,oBAAC,YAAD;AAAc,EAAA,MAAM,EAAC;AAArB,GACI,oBAAC,mBAAD;AAAqB,EAAA,MAAM;AAA3B,EADJ,CADG;AAMP,OAAO,MAAMC,MAAM,GAAG,MAClB,oBAAC,YAAD;AAAc,EAAA,MAAM,EAAC;AAArB,GACI,oBAAC,mBAAD;AAAqB,EAAA,MAAM,EAAE;AAA7B,EADJ,CADG;AAMP,OAAO,MAAMC,UAAU,GAAG,MACtB,oBAAC,YAAD;AAAc,EAAA,MAAM,EAAC;AAArB,GACI,oBAAC,mBAAD;AAAqB,EAAA,SAAS,EAAC,MAA/B;AAAsC,EAAA,MAAM;AAA5C,EADJ,CADG;AAMP,eAAe;AACXC,EAAAA,KAAK,EAAE,gCADI;AAEXC,EAAAA,SAAS,EAAEN,mBAFA;AAGXO,EAAAA,UAAU,EAAE;AACRN,IAAAA;AADQ;AAHD,CAAf","sourcesContent":["// @flow\nimport * as React from 'react';\nimport { IntlProvider } from 'react-intl';\n\nimport SidebarToggleButton from './SidebarToggleButton';\nimport notes from './SidebarToggleButton.stories.md';\n\nexport const open = () => (\n <IntlProvider locale=\"en\">\n <SidebarToggleButton isOpen />\n </IntlProvider>\n);\n\nexport const closed = () => (\n <IntlProvider locale=\"en\">\n <SidebarToggleButton isOpen={false} />\n </IntlProvider>\n);\n\nexport const leftFacing = () => (\n <IntlProvider locale=\"en\">\n <SidebarToggleButton direction=\"left\" isOpen />\n </IntlProvider>\n);\n\nexport default {\n title: 'Components|SidebarToggleButton',\n component: SidebarToggleButton,\n parameters: {\n notes,\n },\n};\n"],"file":"SidebarToggleButton.stories.js"}
1
+ {"version":3,"sources":["../../../src/components/sidebar-toggle-button/SidebarToggleButton.stories.js"],"names":["React","IntlProvider","SidebarToggleButton","notes","open","closed","leftFacing","title","component","parameters"],"mappings":"AACA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,SAASC,YAAT,QAA6B,YAA7B;AAEA,OAAOC,mBAAP,MAAgC,uBAAhC;AACA,OAAOC,KAAP,MAAkB,kCAAlB;AAEA,OAAO,MAAMC,IAAI,GAAG,MAChB,oBAAC,YAAD;AAAc,EAAA,MAAM,EAAC;AAArB,GACI,oBAAC,mBAAD;AAAqB,EAAA,MAAM;AAA3B,EADJ,CADG;AAMP,OAAO,MAAMC,MAAM,GAAG,MAClB,oBAAC,YAAD;AAAc,EAAA,MAAM,EAAC;AAArB,GACI,oBAAC,mBAAD;AAAqB,EAAA,MAAM,EAAE;AAA7B,EADJ,CADG;AAMP,OAAO,MAAMC,UAAU,GAAG,MACtB,oBAAC,YAAD;AAAc,EAAA,MAAM,EAAC;AAArB,GACI,oBAAC,mBAAD;AAAqB,EAAA,SAAS,EAAC,MAA/B;AAAsC,EAAA,MAAM;AAA5C,EADJ,CADG;AAMP,eAAe;AACXC,EAAAA,KAAK,EAAE,gCADI;AAEXC,EAAAA,SAAS,EAAEN,mBAFA;AAGXO,EAAAA,UAAU,EAAE;AACRN,IAAAA;AADQ;AAHD,CAAf","sourcesContent":["// @flow\nimport * as React from 'react';\nimport { IntlProvider } from 'react-intl';\n\nimport SidebarToggleButton from './SidebarToggleButton';\nimport notes from './SidebarToggleButton.stories.md';\n\nexport const open = () => (\n <IntlProvider locale=\"en\">\n <SidebarToggleButton isOpen />\n </IntlProvider>\n);\n\nexport const closed = () => (\n <IntlProvider locale=\"en\">\n <SidebarToggleButton isOpen={false} />\n </IntlProvider>\n);\n\nexport const leftFacing = () => (\n <IntlProvider locale=\"en\">\n <SidebarToggleButton direction=\"left\" isOpen />\n </IntlProvider>\n);\n\nexport default {\n title: 'Components/SidebarToggleButton',\n component: SidebarToggleButton,\n parameters: {\n notes,\n },\n};\n"],"file":"SidebarToggleButton.stories.js"}
@@ -109,7 +109,7 @@ export const dynamicWithLinks = () => React.createElement(TabView, {
109
109
  title: "Box.com 16"
110
110
  }));
111
111
  export default {
112
- title: 'Components|TabView',
112
+ title: 'Components/TabView',
113
113
  component: TabView,
114
114
  parameters: {
115
115
  notes
@@ -159,7 +159,7 @@ export const dynamicWithLinks = () => (
159
159
  );
160
160
 
161
161
  export default {
162
- title: 'Components|TabView',
162
+ title: 'Components/TabView',
163
163
  component: TabView,
164
164
  parameters: {
165
165
  notes,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/tab-view/TabView.stories.js"],"names":["React","Tab","TabView","notes","basic","withCallback","cb","selectedIndex","alert","withLink","dynamic","dynamicWithLinks","title","component","parameters"],"mappings":"AACA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AAEA,OAAOC,GAAP,MAAgB,OAAhB;AAEA,OAAOC,OAAP,MAAoB,WAApB;AACA,OAAOC,KAAP,MAAkB,sBAAlB;AAEA,OAAO,MAAMC,KAAK,GAAG,MACjB,oBAAC,OAAD;AAAS,EAAA,oBAAoB,EAAE;AAA/B,GACI,oBAAC,GAAD;AAAK,EAAA,KAAK,EAAC;AAAX,sNADJ,EAKI,oBAAC,GAAD;AAAK,EAAA,KAAK,EAAC;AAAX,+PAGyC,GAHzC,CALJ,CADG;AAcP,OAAO,MAAMC,YAAY,GAAG,MAAM;AAC9B;AACA,QAAMC,EAAE,GAAGC,aAAa,IAAIC,KAAK,CAACD,aAAD,CAAjC;;AACA,SACI,oBAAC,OAAD;AAAS,IAAA,oBAAoB,EAAE,CAA/B;AAAkC,IAAA,WAAW,EAAED;AAA/C,KACI,oBAAC,GAAD;AAAK,IAAA,KAAK,EAAC;AAAX,kOAGe,GAHf,CADJ,EAMI,oBAAC,GAAD;AAAK,IAAA,KAAK,EAAC;AAAX,oOAGuB,GAHvB,CANJ,CADJ;AAcH,CAjBM;AAmBP,OAAO,MAAMG,QAAQ,GAAG,MACpB,oBAAC,OAAD;AAAS,EAAA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EAhBJ,CADG;AAqBP,eAAe;AACXC,EAAAA,KAAK,EAAE,oBADI;AAEXC,EAAAA,SAAS,EAAEX,OAFA;AAGXY,EAAAA,UAAU,EAAE;AACRX,IAAAA;AADQ;AAHD,CAAf","sourcesContent":["// @flow\nimport * as React from 'react';\n\nimport Tab from './Tab';\n\nimport TabView from './TabView';\nimport notes from './TabView.stories.md';\n\nexport const basic = () => (\n <TabView defaultSelectedIndex={1}>\n <Tab title=\"Item 1\">\n Bonbon sweet jujubes chocolate cake cupcake brownie ice cream apple pie. Sesame snaps chocolate bar pie\n halvah jujubes candy muffin cake soufflé. Tart dragée bear claw cookie. Sweet roll muffin jelly-o.\n </Tab>\n <Tab title=\"Item 2\">\n Bear claw brownie gingerbread sugar plum marzipan. Liquorice apple pie pastry cake lemon drops. Danish\n tootsie roll chocolate sesame snaps bonbon apple pie sesame snaps. Sweet roll marshmallow candy canes oat\n cake fruitcake donut jelly-o dragée.{' '}\n </Tab>\n </TabView>\n);\n\nexport const withCallback = () => {\n // eslint-disable-next-line no-alert\n const cb = selectedIndex => alert(selectedIndex);\n return (\n <TabView defaultSelectedIndex={1} onTabSelect={cb}>\n <Tab title=\"Item 1\">\n Jujubes pie apple pie pie caramels gummies sesame snaps sweet roll chocolate bar. Powder macaroon halvah\n oat cake. Icing lollipop cookie. Cookie chocolate bar sweet roll danish chocolate jujubes cake halvah\n ice cream.{' '}\n </Tab>\n <Tab title=\"Item 2\">\n Muffin oat cake donut biscuit lemon drops sweet tootsie roll chupa chups. Lemon drops liquorice\n chocolate. Cake cake halvah lemon drops candy danish apple pie. Lollipop caramels tootsie roll dragée\n lemon drops wafer.{' '}\n </Tab>\n </TabView>\n );\n};\n\nexport const withLink = () => (\n <TabView defaultSelectedIndex={0}>\n <Tab title=\"Item 1\">\n Topping marzipan ice cream. Candy canes ice cream oat cake. Gummi bears toffee sweet roll chocolate bar.\n Sesame snaps cake chocolate bar powder.\n </Tab>\n <Tab href=\"https://www.box.com/\" title=\"Box.com\" />\n </TabView>\n);\n\nexport const dynamic = () => (\n <TabView defaultSelectedIndex={7} isDynamic>\n <Tab title=\"Item with very long name 1\">\n Powder apple pie brownie macaroon. Donut gummies apple pie danish chocolate bar cupcake carrot cake muffin\n caramels. Chupa chups sesame snaps brownie. Liquorice gingerbread marshmallow topping chocolate bar.\n Lollipop jelly beans tootsie roll. Candy liquorice danish cookie fruitcake cake. Caramels cupcake powder\n candy tart biscuit. Ice cream danish brownie chocolate. Brownie muffin jelly-o bear claw ice cream.\n Chocolate cake icing oat cake pudding cheesecake wafer pie topping. Powder tootsie roll gingerbread cake\n soufflé. Tart biscuit cookie pie chocolate cake dessert jelly beans lemon drops muffin.\n </Tab>\n <Tab title=\"Item with another very long name 2\">\n Danish cheesecake tart cotton candy pie jelly. Apple pie sweet roll jelly. Liquorice pudding danish lollipop\n halvah chupa chups cupcake caramels dragée. Toffee tootsie roll cake pastry tootsie roll cake. Gingerbread\n gummi bears candy croissant croissant dessert macaroon pie toffee. Oat cake donut cotton candy gummies. Tart\n pudding jelly icing jelly cake muffin. Tart marzipan carrot cake icing. Sesame snaps chocolate bar ice cream\n chocolate cake candy apple pie pastry. Carrot cake cookie chocolate cake donut tiramisu brownie. Wafer\n cotton candy danish jujubes macaroon. Bonbon icing cake. Candy canes tiramisu powder topping sweet roll\n cake. Tart chupa chups donut bear claw croissant.\n </Tab>\n <Tab title=\"Item with another very very long name 3\">\n Bonbon chocolate bar chocolate cake. Muffin sweet roll cheesecake pie icing. Fruitcake dessert jujubes\n liquorice chupa chups powder candy canes gingerbread. Pastry powder dragée caramels chupa chups gummies\n dragée pie. Cookie chocolate cake chocolate bar soufflé carrot cake jelly-o bear claw. Bonbon bear claw\n gummies sweet roll oat cake topping brownie. Carrot cake cake lemon drops chocolate powder chupa chups.\n Croissant topping powder tart pastry gummi bears jelly. Powder chocolate bar pudding apple pie dessert sweet\n carrot cake cotton candy. Muffin candy halvah cotton candy topping brownie gummies wafer pastry. Icing gummi\n bears biscuit. Sweet roll oat cake danish liquorice jelly-o. Toffee oat cake candy chocolate cake cupcake\n chocolate cake candy canes tiramisu tart.\n </Tab>\n <Tab title=\"Item with another very very very long name 4\">\n Gummi bears tiramisu sugar plum. Brownie apple pie jelly brownie jelly. Tiramisu carrot cake croissant\n gummies pastry marzipan bear claw. Toffee marshmallow oat cake pastry powder. Dragée cupcake wafer jelly\n beans liquorice jelly beans. Cake biscuit jelly topping bonbon jelly-o. Cake bonbon chupa chups jelly\n gingerbread. Marzipan danish gummi bears. Soufflé sweet jujubes dragée pie cake. Sugar plum brownie jelly\n jujubes danish. Croissant chocolate powder chocolate cotton candy biscuit. Dessert wafer cake apple pie\n chupa chups cookie. Gummies jelly-o jujubes muffin soufflé pie.\n </Tab>\n <Tab title=\"Item 5\">\n Sweet candy jujubes cupcake tart. Cookie brownie candy canes pastry sugar plum halvah cheesecake. Jelly\n beans chupa chups icing pastry biscuit brownie gummi bears dessert gummies. Liquorice ice cream bonbon\n caramels. Pudding powder topping liquorice candy canes dragée powder. Ice cream tart pudding jelly beans\n candy canes bear claw powder icing tootsie roll. Candy canes jelly-o jelly lollipop gingerbread marzipan\n donut pie candy. Sweet roll sweet lollipop apple pie sweet fruitcake marshmallow. Donut sugar plum gummies.\n Gummies wafer ice cream dragée cookie jelly-o croissant tart. Dessert lollipop icing jelly macaroon topping\n chocolate bar. Dragée jelly-o halvah toffee dessert pastry cupcake brownie cupcake.\n </Tab>\n <Tab title=\"Item 6\">\n Candy sugar plum pudding bonbon biscuit jujubes. Croissant cookie soufflé cake toffee pie. Caramels apple\n pie brownie soufflé fruitcake apple pie macaroon. Danish bonbon chocolate cake jelly cupcake. Chupa chups\n jujubes pie fruitcake. Jelly beans jelly carrot cake candy canes ice cream. Chocolate bar oat cake lemon\n drops chocolate cake chupa chups cake jelly-o marshmallow candy canes. Powder gummi bears caramels apple pie\n oat cake cupcake cookie. Cake gummies tootsie roll sweet chocolate cake cheesecake chocolate bar. Croissant\n candy canes donut cheesecake gummies cupcake cake cupcake. Jujubes gingerbread pie cake chocolate cake.\n Marzipan sesame snaps sesame snaps cake chocolate wafer topping chupa chups.\n </Tab>\n <Tab title=\"Item 7\">\n Marshmallow brownie wafer macaroon oat cake dessert candy cupcake croissant. Gummi bears cookie lemon drops\n fruitcake lollipop lemon drops bear claw sweet. Jujubes candy candy liquorice fruitcake cake topping cake\n jujubes. Caramels cotton candy gummi bears cake. Marshmallow fruitcake gummies gingerbread bonbon cheesecake\n apple pie candy canes croissant. Oat cake jujubes tootsie roll topping jujubes apple pie cheesecake caramels\n cheesecake. Powder jelly beans pastry pudding cheesecake. Pudding bear claw cookie. Jelly-o jelly cupcake\n croissant cake sesame snaps bonbon jujubes chocolate bar. Lollipop gummies brownie dessert gummies halvah\n sugar plum. Cookie wafer sweet roll. Chupa chups danish apple pie oat cake lollipop jujubes chocolate.\n Jujubes caramels cake wafer sugar plum gingerbread apple pie.\n </Tab>\n <Tab title=\"Item 8\">\n Muffin tart dragée icing sesame snaps <a href=\"https://www.box.com/\">cheesecake</a> marzipan. Lemon drops\n ice cream bonbon. <input type=\"text\" /> Macaroon chocolate cake marzipan candy gummies carrot cake sweet\n roll croissant. Apple pie marshmallow cake donut icing sweet roll gingerbread. Carrot cake sesame snaps ice\n cream sweet roll powder bear claw. Oat cake biscuit chocolate macaroon carrot cake. Macaroon ice cream\n liquorice halvah carrot cake bear claw toffee donut carrot cake. Apple pie cookie danish dessert soufflé\n fruitcake topping chocolate. Fruitcake jelly-o sweet roll ice cream. Wafer chocolate chupa chups marshmallow\n dragée carrot cake. Macaroon icing bonbon macaroon dessert chocolate bar. Cookie gingerbread croissant candy\n canes wafer.\n </Tab>\n <Tab title=\"Item 9\">\n Ice cream fruitcake oat cake gummi bears toffee sesame snaps marzipan. Chocolate bar jujubes soufflé pastry\n chocolate. Bonbon donut cotton candy powder pudding chocolate bar marzipan pudding bear claw. Oat cake\n dessert cupcake danish liquorice powder. Jelly-o marzipan lollipop muffin icing cake. Pastry pudding oat\n cake soufflé chocolate. Tootsie roll macaroon cotton candy caramels chocolate bar caramels tootsie roll.\n Chocolate gingerbread icing soufflé lollipop bear claw cupcake jelly beans. Tart powder fruitcake brownie\n cake candy canes jelly beans liquorice macaroon. Tootsie roll cookie cupcake wafer chocolate bar gingerbread\n apple pie tiramisu macaroon. Chocolate cake cake tootsie roll chupa chups tootsie roll brownie tootsie roll\n liquorice bear claw. Icing caramels pudding soufflé candy canes gummi bears sugar plum jelly.\n </Tab>\n </TabView>\n);\n\nexport const dynamicWithLinks = () => (\n <TabView defaultSelectedIndex={0} isDynamic>\n <Tab href=\"https://www.box.com/\" title=\"Box.com 1\" />\n <Tab href=\"https://www.box.com/\" title=\"Box.com 2\" />\n <Tab href=\"https://www.box.com/\" title=\"Box.com 3\" />\n <Tab href=\"https://www.box.com/\" title=\"Box.com 4\" />\n <Tab href=\"https://www.box.com/\" title=\"Box.com 5\" />\n <Tab href=\"https://www.box.com/\" title=\"Box.com 6\" />\n <Tab href=\"https://www.box.com/\" title=\"Box.com 7\" />\n <Tab href=\"https://www.box.com/\" title=\"Box.com 8\" />\n <Tab href=\"https://www.box.com/\" title=\"Box.com 9\" />\n <Tab href=\"https://www.box.com/\" title=\"Box.com 10\" />\n <Tab href=\"https://www.box.com/\" title=\"Box.com 11\" />\n <Tab href=\"https://www.box.com/\" title=\"Box.com 12\" />\n <Tab href=\"https://www.box.com/\" title=\"Box.com 13\" />\n <Tab href=\"https://www.box.com/\" title=\"Box.com 14\" />\n <Tab href=\"https://www.box.com/\" title=\"Box.com 15\" />\n <Tab href=\"https://www.box.com/\" title=\"Box.com 16\" />\n </TabView>\n);\n\nexport default {\n title: 'Components|TabView',\n component: TabView,\n parameters: {\n notes,\n },\n};\n"],"file":"TabView.stories.js"}
1
+ {"version":3,"sources":["../../../src/components/tab-view/TabView.stories.js"],"names":["React","Tab","TabView","notes","basic","withCallback","cb","selectedIndex","alert","withLink","dynamic","dynamicWithLinks","title","component","parameters"],"mappings":"AACA,OAAO,KAAKA,KAA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;AAAiC,EAAA,KAAK,EAAC;AAAvC,EARJ,EASI,oBAAC,GAAD;AAAK,EAAA,IAAI,EAAC,sBAAV;AAAiC,EAAA,KAAK,EAAC;AAAvC,EATJ,EAUI,oBAAC,GAAD;AAAK,EAAA,IAAI,EAAC,sBAAV;AAAiC,EAAA,KAAK,EAAC;AAAvC,EAVJ,EAWI,oBAAC,GAAD;AAAK,EAAA,IAAI,EAAC,sBAAV;AAAiC,EAAA,KAAK,EAAC;AAAvC,EAXJ,EAYI,oBAAC,GAAD;AAAK,EAAA,IAAI,EAAC,sBAAV;AAAiC,EAAA,KAAK,EAAC;AAAvC,EAZJ,EAaI,oBAAC,GAAD;AAAK,EAAA,IAAI,EAAC,sBAAV;AAAiC,EAAA,KAAK,EAAC;AAAvC,EAbJ,EAcI,oBAAC,GAAD;AAAK,EAAA,IAAI,EAAC,sBAAV;AAAiC,EAAA,KAAK,EAAC;AAAvC,EAdJ,EAeI,oBAAC,GAAD;AAAK,EAAA,IAAI,EAAC,sBAAV;AAAiC,EAAA,KAAK,EAAC;AAAvC,EAfJ,EAgBI,oBAAC,GAAD;AAAK,EAAA,IAAI,EAAC,sBAAV;AAAiC,EAAA,KAAK,EAAC;AAAvC,EAhBJ,CADG;AAqBP,eAAe;AACXC,EAAAA,KAAK,EAAE,oBADI;AAEXC,EAAAA,SAAS,EAAEX,OAFA;AAGXY,EAAAA,UAAU,EAAE;AACRX,IAAAA;AADQ;AAHD,CAAf","sourcesContent":["// @flow\nimport * as React from 'react';\n\nimport Tab from './Tab';\n\nimport TabView from './TabView';\nimport notes from './TabView.stories.md';\n\nexport const basic = () => (\n <TabView defaultSelectedIndex={1}>\n <Tab title=\"Item 1\">\n Bonbon sweet jujubes chocolate cake cupcake brownie ice cream apple pie. Sesame snaps chocolate bar pie\n halvah jujubes candy muffin cake soufflé. Tart dragée bear claw cookie. Sweet roll muffin jelly-o.\n </Tab>\n <Tab title=\"Item 2\">\n Bear claw brownie gingerbread sugar plum marzipan. Liquorice apple pie pastry cake lemon drops. Danish\n tootsie roll chocolate sesame snaps bonbon apple pie sesame snaps. Sweet roll marshmallow candy canes oat\n cake fruitcake donut jelly-o dragée.{' '}\n </Tab>\n </TabView>\n);\n\nexport const withCallback = () => {\n // eslint-disable-next-line no-alert\n const cb = selectedIndex => alert(selectedIndex);\n return (\n <TabView defaultSelectedIndex={1} onTabSelect={cb}>\n <Tab title=\"Item 1\">\n Jujubes pie apple pie pie caramels gummies sesame snaps sweet roll chocolate bar. Powder macaroon halvah\n oat cake. Icing lollipop cookie. Cookie chocolate bar sweet roll danish chocolate jujubes cake halvah\n ice cream.{' '}\n </Tab>\n <Tab title=\"Item 2\">\n Muffin oat cake donut biscuit lemon drops sweet tootsie roll chupa chups. Lemon drops liquorice\n chocolate. Cake cake halvah lemon drops candy danish apple pie. Lollipop caramels tootsie roll dragée\n lemon drops wafer.{' '}\n </Tab>\n </TabView>\n );\n};\n\nexport const withLink = () => (\n <TabView defaultSelectedIndex={0}>\n <Tab title=\"Item 1\">\n Topping marzipan ice cream. Candy canes ice cream oat cake. Gummi bears toffee sweet roll chocolate bar.\n Sesame snaps cake chocolate bar powder.\n </Tab>\n <Tab href=\"https://www.box.com/\" title=\"Box.com\" />\n </TabView>\n);\n\nexport const dynamic = () => (\n <TabView defaultSelectedIndex={7} isDynamic>\n <Tab title=\"Item with very long name 1\">\n Powder apple pie brownie macaroon. Donut gummies apple pie danish chocolate bar cupcake carrot cake muffin\n caramels. Chupa chups sesame snaps brownie. Liquorice gingerbread marshmallow topping chocolate bar.\n Lollipop jelly beans tootsie roll. Candy liquorice danish cookie fruitcake cake. Caramels cupcake powder\n candy tart biscuit. Ice cream danish brownie chocolate. Brownie muffin jelly-o bear claw ice cream.\n Chocolate cake icing oat cake pudding cheesecake wafer pie topping. Powder tootsie roll gingerbread cake\n soufflé. Tart biscuit cookie pie chocolate cake dessert jelly beans lemon drops muffin.\n </Tab>\n <Tab title=\"Item with another very long name 2\">\n Danish cheesecake tart cotton candy pie jelly. Apple pie sweet roll jelly. Liquorice pudding danish lollipop\n halvah chupa chups cupcake caramels dragée. Toffee tootsie roll cake pastry tootsie roll cake. Gingerbread\n gummi bears candy croissant croissant dessert macaroon pie toffee. Oat cake donut cotton candy gummies. Tart\n pudding jelly icing jelly cake muffin. Tart marzipan carrot cake icing. Sesame snaps chocolate bar ice cream\n chocolate cake candy apple pie pastry. Carrot cake cookie chocolate cake donut tiramisu brownie. Wafer\n cotton candy danish jujubes macaroon. Bonbon icing cake. Candy canes tiramisu powder topping sweet roll\n cake. Tart chupa chups donut bear claw croissant.\n </Tab>\n <Tab title=\"Item with another very very long name 3\">\n Bonbon chocolate bar chocolate cake. Muffin sweet roll cheesecake pie icing. Fruitcake dessert jujubes\n liquorice chupa chups powder candy canes gingerbread. Pastry powder dragée caramels chupa chups gummies\n dragée pie. Cookie chocolate cake chocolate bar soufflé carrot cake jelly-o bear claw. Bonbon bear claw\n gummies sweet roll oat cake topping brownie. Carrot cake cake lemon drops chocolate powder chupa chups.\n Croissant topping powder tart pastry gummi bears jelly. Powder chocolate bar pudding apple pie dessert sweet\n carrot cake cotton candy. Muffin candy halvah cotton candy topping brownie gummies wafer pastry. Icing gummi\n bears biscuit. Sweet roll oat cake danish liquorice jelly-o. Toffee oat cake candy chocolate cake cupcake\n chocolate cake candy canes tiramisu tart.\n </Tab>\n <Tab title=\"Item with another very very very long name 4\">\n Gummi bears tiramisu sugar plum. Brownie apple pie jelly brownie jelly. Tiramisu carrot cake croissant\n gummies pastry marzipan bear claw. Toffee marshmallow oat cake pastry powder. Dragée cupcake wafer jelly\n beans liquorice jelly beans. Cake biscuit jelly topping bonbon jelly-o. Cake bonbon chupa chups jelly\n gingerbread. Marzipan danish gummi bears. Soufflé sweet jujubes dragée pie cake. Sugar plum brownie jelly\n jujubes danish. Croissant chocolate powder chocolate cotton candy biscuit. Dessert wafer cake apple pie\n chupa chups cookie. Gummies jelly-o jujubes muffin soufflé pie.\n </Tab>\n <Tab title=\"Item 5\">\n Sweet candy jujubes cupcake tart. Cookie brownie candy canes pastry sugar plum halvah cheesecake. Jelly\n beans chupa chups icing pastry biscuit brownie gummi bears dessert gummies. Liquorice ice cream bonbon\n caramels. Pudding powder topping liquorice candy canes dragée powder. Ice cream tart pudding jelly beans\n candy canes bear claw powder icing tootsie roll. Candy canes jelly-o jelly lollipop gingerbread marzipan\n donut pie candy. Sweet roll sweet lollipop apple pie sweet fruitcake marshmallow. Donut sugar plum gummies.\n Gummies wafer ice cream dragée cookie jelly-o croissant tart. Dessert lollipop icing jelly macaroon topping\n chocolate bar. Dragée jelly-o halvah toffee dessert pastry cupcake brownie cupcake.\n </Tab>\n <Tab title=\"Item 6\">\n Candy sugar plum pudding bonbon biscuit jujubes. Croissant cookie soufflé cake toffee pie. Caramels apple\n pie brownie soufflé fruitcake apple pie macaroon. Danish bonbon chocolate cake jelly cupcake. Chupa chups\n jujubes pie fruitcake. Jelly beans jelly carrot cake candy canes ice cream. Chocolate bar oat cake lemon\n drops chocolate cake chupa chups cake jelly-o marshmallow candy canes. Powder gummi bears caramels apple pie\n oat cake cupcake cookie. Cake gummies tootsie roll sweet chocolate cake cheesecake chocolate bar. Croissant\n candy canes donut cheesecake gummies cupcake cake cupcake. Jujubes gingerbread pie cake chocolate cake.\n Marzipan sesame snaps sesame snaps cake chocolate wafer topping chupa chups.\n </Tab>\n <Tab title=\"Item 7\">\n Marshmallow brownie wafer macaroon oat cake dessert candy cupcake croissant. Gummi bears cookie lemon drops\n fruitcake lollipop lemon drops bear claw sweet. Jujubes candy candy liquorice fruitcake cake topping cake\n jujubes. Caramels cotton candy gummi bears cake. Marshmallow fruitcake gummies gingerbread bonbon cheesecake\n apple pie candy canes croissant. Oat cake jujubes tootsie roll topping jujubes apple pie cheesecake caramels\n cheesecake. Powder jelly beans pastry pudding cheesecake. Pudding bear claw cookie. Jelly-o jelly cupcake\n croissant cake sesame snaps bonbon jujubes chocolate bar. Lollipop gummies brownie dessert gummies halvah\n sugar plum. Cookie wafer sweet roll. Chupa chups danish apple pie oat cake lollipop jujubes chocolate.\n Jujubes caramels cake wafer sugar plum gingerbread apple pie.\n </Tab>\n <Tab title=\"Item 8\">\n Muffin tart dragée icing sesame snaps <a href=\"https://www.box.com/\">cheesecake</a> marzipan. Lemon drops\n ice cream bonbon. <input type=\"text\" /> Macaroon chocolate cake marzipan candy gummies carrot cake sweet\n roll croissant. Apple pie marshmallow cake donut icing sweet roll gingerbread. Carrot cake sesame snaps ice\n cream sweet roll powder bear claw. Oat cake biscuit chocolate macaroon carrot cake. Macaroon ice cream\n liquorice halvah carrot cake bear claw toffee donut carrot cake. Apple pie cookie danish dessert soufflé\n fruitcake topping chocolate. Fruitcake jelly-o sweet roll ice cream. Wafer chocolate chupa chups marshmallow\n dragée carrot cake. Macaroon icing bonbon macaroon dessert chocolate bar. Cookie gingerbread croissant candy\n canes wafer.\n </Tab>\n <Tab title=\"Item 9\">\n Ice cream fruitcake oat cake gummi bears toffee sesame snaps marzipan. Chocolate bar jujubes soufflé pastry\n chocolate. Bonbon donut cotton candy powder pudding chocolate bar marzipan pudding bear claw. Oat cake\n dessert cupcake danish liquorice powder. Jelly-o marzipan lollipop muffin icing cake. Pastry pudding oat\n cake soufflé chocolate. Tootsie roll macaroon cotton candy caramels chocolate bar caramels tootsie roll.\n Chocolate gingerbread icing soufflé lollipop bear claw cupcake jelly beans. Tart powder fruitcake brownie\n cake candy canes jelly beans liquorice macaroon. Tootsie roll cookie cupcake wafer chocolate bar gingerbread\n apple pie tiramisu macaroon. Chocolate cake cake tootsie roll chupa chups tootsie roll brownie tootsie roll\n liquorice bear claw. Icing caramels pudding soufflé candy canes gummi bears sugar plum jelly.\n </Tab>\n </TabView>\n);\n\nexport const dynamicWithLinks = () => (\n <TabView defaultSelectedIndex={0} isDynamic>\n <Tab href=\"https://www.box.com/\" title=\"Box.com 1\" />\n <Tab href=\"https://www.box.com/\" title=\"Box.com 2\" />\n <Tab href=\"https://www.box.com/\" title=\"Box.com 3\" />\n <Tab href=\"https://www.box.com/\" title=\"Box.com 4\" />\n <Tab href=\"https://www.box.com/\" title=\"Box.com 5\" />\n <Tab href=\"https://www.box.com/\" title=\"Box.com 6\" />\n <Tab href=\"https://www.box.com/\" title=\"Box.com 7\" />\n <Tab href=\"https://www.box.com/\" title=\"Box.com 8\" />\n <Tab href=\"https://www.box.com/\" title=\"Box.com 9\" />\n <Tab href=\"https://www.box.com/\" title=\"Box.com 10\" />\n <Tab href=\"https://www.box.com/\" title=\"Box.com 11\" />\n <Tab href=\"https://www.box.com/\" title=\"Box.com 12\" />\n <Tab href=\"https://www.box.com/\" title=\"Box.com 13\" />\n <Tab href=\"https://www.box.com/\" title=\"Box.com 14\" />\n <Tab href=\"https://www.box.com/\" title=\"Box.com 15\" />\n <Tab href=\"https://www.box.com/\" title=\"Box.com 16\" />\n </TabView>\n);\n\nexport default {\n title: 'Components/TabView',\n component: TabView,\n parameters: {\n notes,\n },\n};\n"],"file":"TabView.stories.js"}
@@ -71,7 +71,7 @@ export const requiredWithOnChange = () => {
71
71
  }));
72
72
  };
73
73
  export default {
74
- title: 'Components|TextInput',
74
+ title: 'Components/TextInput',
75
75
  component: TextInput,
76
76
  parameters: {
77
77
  notes
@@ -75,7 +75,7 @@ export const requiredWithOnChange = () => {
75
75
  };
76
76
 
77
77
  export default {
78
- title: 'Components|TextInput',
78
+ title: 'Components/TextInput',
79
79
  component: TextInput,
80
80
  parameters: {
81
81
  notes,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/text-input/TextInput.stories.js"],"names":["React","State","Store","TextInput","notes","basic","withDescription","withLongBreakableStrings","withLongUnbreakableStrings","error","loading","valid","requiredWithOnChange","componentStore","value","state","e","set","target","title","component","parameters"],"mappings":"AACA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,SAASC,KAAT,EAAgBC,KAAhB,QAA6B,0BAA7B;AAEA,OAAOC,SAAP,MAAsB,aAAtB;AACA,OAAOC,KAAP,MAAkB,wBAAlB;AAEA,OAA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AAO,MAAMC,KAAK,GAAG,MACjB,oBAAC,SAAD;AAAW,EAAA,KAAK,EAAC,OAAjB;AAAyB,EAAA,IAAI,EAAC,WAA9B;AAA0C,EAAA,IAAI,EAAC,OAA/C;AAAuD,EAAA,OAAO,MAA9D;AAA+D,EAAA,WAAW,EAAC;AAA3E,EADG;AAIP,OAAO,MAAMC,oBAAoB,GAAG,MAAM;AACtC,QAAMC,cAAc,GAAG,IAAIX,KAAJ,CAAU;AAC7BO,IAAAA,KAAK,EAAE,UADsB;AAE7BK,IAAAA,KAAK,EAAE;AAFsB,GAAV,CAAvB;AAKA,SACI,oBAAC,KAAD;AAAO,IAAA,KAAK,EAAED;AAAd,KACKE,KAAK,IACF,oBAAC,SAAD;AACI,IAAA,KAAK,EAAC,OADV;AAEI,IAAA,IAAI,EAAC,WAFT;AAGI,IAAA,IAAI,EAAC,OAHT;AAII,IAAA,WAAW,EAAC,kBAJhB;AAKI,IAAA,KAAK,EAAEA,KAAK,CAACD,KALjB;AAMI,IAAA,KAAK,EAAEC,KAAK,CAACN,KANjB;AAOI,IAAA,QAAQ,EAAEO,CAAC,IACPH,cAAc,CAACI,GAAf,CAAmB;AAAER,MAAAA,KAAK,EAAEO,CAAC,CAACE,MAAF,CAASJ,KAAT,GAAiB,EAAjB,GAAsB,UAA/B;AAA2CA,MAAAA,KAAK,EAAEE,CAAC,CAACE,MAAF,CAASJ;AAA3D,KAAnB;AARR,IAFR,CADJ;AAiBH,CAvBM;AAyBP,eAAe;AACXK,EAAAA,KAAK,EAAE,sBADI;AAEXC,EAAAA,SAAS,EAAEjB,SAFA;AAGXkB,EAAAA,UAAU,EAAE;AACRjB,IAAAA;AADQ;AAHD,CAAf","sourcesContent":["// @flow\nimport * as React from 'react';\nimport { State, Store } from '@sambego/storybook-state';\n\nimport TextInput from './TextInput';\nimport notes from './TextInput.stories.md';\n\nexport const basic = () => <TextInput label=\"Email\" name=\"textinput\" type=\"email\" placeholder=\"Enter email here\" />;\n\nexport const withDescription = () => (\n <TextInput\n description=\"Email used for work\"\n label=\"Email\"\n name=\"textinput\"\n type=\"email\"\n placeholder=\"Enter email here\"\n />\n);\n\nexport const withLongBreakableStrings = () => (\n <TextInput\n description=\"Long Long Long Long long long Long Long Long Long long longLong Long Long Long long longLong Long Long Long long long\"\n label=\"Long Long Long Long long long Long Long Long Long long longLong Long Long Long long longLong Long Long Long long long\"\n name=\"textinput\"\n type=\"email\"\n placeholder=\"Enter email here\"\n />\n);\n\nexport const withLongUnbreakableStrings = () => (\n <TextInput\n description=\"longlonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglong\"\n label=\"longlonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglong\"\n name=\"textinput\"\n type=\"email\"\n placeholder=\"Enter email here\"\n />\n);\n\nexport const error = () => (\n <TextInput label=\"Email\" name=\"textinput\" type=\"email\" error=\"oops\" placeholder=\"Enter email here\" />\n);\n\nexport const loading = () => (\n <TextInput label=\"Email\" name=\"textinput\" type=\"email\" isLoading placeholder=\"Enter email here\" />\n);\n\nexport const valid = () => (\n <TextInput label=\"Email\" name=\"textinput\" type=\"email\" isValid placeholder=\"Enter email here\" />\n);\n\nexport const requiredWithOnChange = () => {\n const componentStore = new Store({\n error: 'required',\n value: '',\n });\n\n return (\n <State store={componentStore}>\n {state => (\n <TextInput\n label=\"Email\"\n name=\"textinput\"\n type=\"email\"\n placeholder=\"Enter email here\"\n value={state.value}\n error={state.error}\n onChange={e =>\n componentStore.set({ error: e.target.value ? '' : 'required', value: e.target.value })\n }\n />\n )}\n </State>\n );\n};\n\nexport default {\n title: 'Components|TextInput',\n component: TextInput,\n parameters: {\n notes,\n },\n};\n"],"file":"TextInput.stories.js"}
1
+ {"version":3,"sources":["../../../src/components/text-input/TextInput.stories.js"],"names":["React","State","Store","TextInput","notes","basic","withDescription","withLongBreakableStrings","withLongUnbreakableStrings","error","loading","valid","requiredWithOnChange","componentStore","value","state","e","set","target","title","component","par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Content":["// @flow\nimport * as React from 'react';\nimport { State, Store } from '@sambego/storybook-state';\n\nimport TextInput from './TextInput';\nimport notes from './TextInput.stories.md';\n\nexport const basic = () => <TextInput label=\"Email\" name=\"textinput\" type=\"email\" placeholder=\"Enter email here\" />;\n\nexport const withDescription = () => (\n <TextInput\n description=\"Email used for work\"\n label=\"Email\"\n name=\"textinput\"\n type=\"email\"\n placeholder=\"Enter email here\"\n />\n);\n\nexport const withLongBreakableStrings = () => (\n <TextInput\n description=\"Long Long Long Long long long Long Long Long Long long longLong Long Long Long long longLong Long Long Long long long\"\n label=\"Long Long Long Long long long Long Long Long Long long longLong Long Long Long long longLong Long Long Long long long\"\n name=\"textinput\"\n type=\"email\"\n placeholder=\"Enter email here\"\n />\n);\n\nexport const withLongUnbreakableStrings = () => (\n <TextInput\n description=\"longlonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglong\"\n label=\"longlonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglong\"\n name=\"textinput\"\n type=\"email\"\n placeholder=\"Enter email here\"\n />\n);\n\nexport const error = () => (\n <TextInput label=\"Email\" name=\"textinput\" type=\"email\" error=\"oops\" placeholder=\"Enter email here\" />\n);\n\nexport const loading = () => (\n <TextInput label=\"Email\" name=\"textinput\" type=\"email\" isLoading placeholder=\"Enter email here\" />\n);\n\nexport const valid = () => (\n <TextInput label=\"Email\" name=\"textinput\" type=\"email\" isValid placeholder=\"Enter email here\" />\n);\n\nexport const requiredWithOnChange = () => {\n const componentStore = new Store({\n error: 'required',\n value: '',\n });\n\n return (\n <State store={componentStore}>\n {state => (\n <TextInput\n label=\"Email\"\n name=\"textinput\"\n type=\"email\"\n placeholder=\"Enter email here\"\n value={state.value}\n error={state.error}\n onChange={e =>\n componentStore.set({ error: e.target.value ? '' : 'required', value: e.target.value })\n }\n />\n )}\n </State>\n );\n};\n\nexport default {\n title: 'Components/TextInput',\n component: TextInput,\n parameters: {\n notes,\n },\n};\n"],"file":"TextInput.stories.js"}
@@ -48,13 +48,19 @@ class TextInputWithCopyButton extends React.PureComponent {
48
48
  });
49
49
 
50
50
  _defineProperty(this, "handleCopyEvent", event => {
51
- this.animateCopyButton();
52
51
  const {
52
+ disabled,
53
53
  onCopySuccess
54
54
  } = this.props;
55
55
 
56
- if (onCopySuccess) {
57
- onCopySuccess(event);
56
+ if (disabled) {
57
+ event.preventDefault();
58
+ } else {
59
+ this.animateCopyButton();
60
+
61
+ if (onCopySuccess) {
62
+ onCopySuccess(event);
63
+ }
58
64
  }
59
65
  });
60
66
 
@@ -159,11 +159,16 @@ class TextInputWithCopyButton extends React.PureComponent<Props, State> {
159
159
  };
160
160
 
161
161
  handleCopyEvent = (event: SyntheticEvent<>) => {
162
- this.animateCopyButton();
162
+ const { disabled, onCopySuccess } = this.props;
163
+
164
+ if (disabled) {
165
+ event.preventDefault();
166
+ } else {
167
+ this.animateCopyButton();
163
168
 
164
- const { onCopySuccess } = this.props;
165
- if (onCopySuccess) {
166
- onCopySuccess(event);
169
+ if (onCopySuccess) {
170
+ onCopySuccess(event);
171
+ }
167
172
  }
168
173
  };
169
174