box-ui-elements 19.0.0-beta.9 → 19.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2047) hide show
  1. package/dist/explorer.css +1 -1
  2. package/dist/explorer.js +2 -172
  3. package/dist/explorer.js.LICENSE.txt +178 -0
  4. package/dist/openwith.css +1 -1
  5. package/dist/openwith.js +2 -84
  6. package/dist/openwith.js.LICENSE.txt +94 -0
  7. package/dist/picker.css +1 -1
  8. package/dist/picker.js +2 -101
  9. package/dist/picker.js.LICENSE.txt +112 -0
  10. package/dist/preview.css +1 -1
  11. package/dist/preview.js +2 -155
  12. package/dist/preview.js.LICENSE.txt +160 -0
  13. package/dist/sharing.css +1 -1
  14. package/dist/sharing.js +2 -135
  15. package/dist/sharing.js.LICENSE.txt +149 -0
  16. package/dist/sidebar.css +1 -1
  17. package/dist/sidebar.js +2 -155
  18. package/dist/sidebar.js.LICENSE.txt +160 -0
  19. package/dist/uploader.css +1 -1
  20. package/dist/uploader.js +2 -101
  21. package/dist/uploader.js.LICENSE.txt +112 -0
  22. package/es/api/APIFactory.js +25 -0
  23. package/es/api/APIFactory.js.flow +25 -0
  24. package/es/api/APIFactory.js.map +1 -1
  25. package/es/api/Intelligence.js +45 -0
  26. package/es/api/Intelligence.js.flow +47 -0
  27. package/es/api/Intelligence.js.map +1 -0
  28. package/es/common/types/core.js.flow +1 -0
  29. package/es/common/types/core.js.map +1 -1
  30. package/es/components/accessible-svg/AccessibleSVG.stories.js +1 -1
  31. package/es/components/accessible-svg/AccessibleSVG.stories.js.map +1 -1
  32. package/es/components/avatar/Avatar.stories.js +1 -1
  33. package/es/components/avatar/Avatar.stories.js.map +1 -1
  34. package/es/components/badge/Badge.stories.js +1 -1
  35. package/es/components/badge/Badge.stories.js.map +1 -1
  36. package/es/components/badge/BetaBadge.stories.js +1 -1
  37. package/es/components/badge/BetaBadge.stories.js.map +1 -1
  38. package/es/components/badge/TrialBadge.stories.js +1 -1
  39. package/es/components/badge/TrialBadge.stories.js.map +1 -1
  40. package/es/components/badge/UpgradeBadge.stories.js +1 -1
  41. package/es/components/badge/UpgradeBadge.stories.js.map +1 -1
  42. package/es/components/breadcrumb/Breadcrumb.stories.js +1 -1
  43. package/es/components/breadcrumb/Breadcrumb.stories.js.flow +1 -1
  44. package/es/components/breadcrumb/Breadcrumb.stories.js.map +1 -1
  45. package/es/components/button/Button.stories.js +1 -1
  46. package/es/components/button/Button.stories.js.map +1 -1
  47. package/es/components/button-group/ButtonGroup.stories.js +1 -1
  48. package/es/components/button-group/ButtonGroup.stories.js.map +1 -1
  49. package/es/components/category-selector/CategorySelector.stories.js +1 -1
  50. package/es/components/category-selector/CategorySelector.stories.js.map +1 -1
  51. package/es/components/checkbox/Checkbox.stories.js +1 -1
  52. package/es/components/checkbox/Checkbox.stories.js.map +1 -1
  53. package/es/components/close-button/CloseButton.stories.js +1 -1
  54. package/es/components/close-button/CloseButton.stories.js.map +1 -1
  55. package/es/components/collapsible/Collapsible.stories.js +1 -1
  56. package/es/components/collapsible/Collapsible.stories.js.map +1 -1
  57. package/es/components/contact-datalist-item/ContactDatalistItem.stories.js +1 -1
  58. package/es/components/contact-datalist-item/ContactDatalistItem.stories.js.map +1 -1
  59. package/es/components/context-menu/ContextMenu.stories.js +1 -1
  60. package/es/components/context-menu/ContextMenu.stories.js.map +1 -1
  61. package/es/components/count-badge/CountBadge.stories.js +1 -1
  62. package/es/components/count-badge/CountBadge.stories.js.map +1 -1
  63. package/es/components/datalist-item/DatalistItem.stories.js +1 -1
  64. package/es/components/datalist-item/DatalistItem.stories.js.map +1 -1
  65. package/es/components/date-picker/DatePicker.stories.js +1 -1
  66. package/es/components/date-picker/DatePicker.stories.js.map +1 -1
  67. package/es/components/draft-js-editor/DraftJSEditor.stories.js +1 -1
  68. package/es/components/draft-js-editor/DraftJSEditor.stories.js.flow +1 -1
  69. package/es/components/draft-js-editor/DraftJSEditor.stories.js.map +1 -1
  70. package/es/components/draggable-list/DraggableList.stories.js +1 -1
  71. package/es/components/draggable-list/DraggableList.stories.js.map +1 -1
  72. package/es/components/dropdown-menu/DropdownMenu.stories.js +1 -1
  73. package/es/components/dropdown-menu/DropdownMenu.stories.js.flow +1 -1
  74. package/es/components/dropdown-menu/DropdownMenu.stories.js.map +1 -1
  75. package/es/components/error-mask/ErrorMask.stories.js +1 -1
  76. package/es/components/error-mask/ErrorMask.stories.js.map +1 -1
  77. package/es/components/fieldset/Fieldset.stories.js +1 -1
  78. package/es/components/fieldset/Fieldset.stories.js.map +1 -1
  79. package/es/components/flyout/Flyout.stories.js +1 -1
  80. package/es/components/flyout/Flyout.stories.js.map +1 -1
  81. package/es/components/flyout/OverlayHeader.js +2 -1
  82. package/es/components/flyout/OverlayHeader.js.map +1 -1
  83. package/es/components/footer-indicator/FooterIndicator.stories.js +1 -1
  84. package/es/components/footer-indicator/FooterIndicator.stories.js.map +1 -1
  85. package/es/components/form-elements/form/Form.stories.js +1 -1
  86. package/es/components/form-elements/form/Form.stories.js.flow +1 -1
  87. package/es/components/form-elements/form/Form.stories.js.map +1 -1
  88. package/es/components/form-elements/formik/Formik.stories.js +1 -1
  89. package/es/components/form-elements/formik/Formik.stories.js.flow +1 -1
  90. package/es/components/form-elements/formik/Formik.stories.js.map +1 -1
  91. package/es/components/form-elements/text-area/TextArea.stories.js +1 -1
  92. package/es/components/form-elements/text-area/TextArea.stories.js.flow +1 -1
  93. package/es/components/form-elements/text-area/TextArea.stories.js.map +1 -1
  94. package/es/components/form-elements/text-input/TextInput.stories.js +1 -1
  95. package/es/components/form-elements/text-input/TextInput.stories.js.flow +1 -1
  96. package/es/components/form-elements/text-input/TextInput.stories.js.map +1 -1
  97. package/es/components/ghost/Ghost.stories.js +1 -1
  98. package/es/components/ghost/Ghost.stories.js.map +1 -1
  99. package/es/components/guide-tooltip/GuideTooltip.stories.js +1 -1
  100. package/es/components/guide-tooltip/GuideTooltip.stories.js.map +1 -1
  101. package/es/components/header/Header.stories.js +1 -1
  102. package/es/components/header/Header.stories.js.map +1 -1
  103. package/es/components/image-tooltip/ImageTooltip.stories.js +1 -1
  104. package/es/components/image-tooltip/ImageTooltip.stories.js.map +1 -1
  105. package/es/components/inline-error/InlineError.stories.js +1 -1
  106. package/es/components/inline-error/InlineError.stories.js.flow +1 -1
  107. package/es/components/inline-error/InlineError.stories.js.map +1 -1
  108. package/es/components/inline-notice/InlineNotice.stories.js +1 -1
  109. package/es/components/inline-notice/InlineNotice.stories.js.flow +1 -1
  110. package/es/components/inline-notice/InlineNotice.stories.js.map +1 -1
  111. package/es/components/label/HiddenLabel.js +13 -7
  112. package/es/components/label/HiddenLabel.js.flow +3 -2
  113. package/es/components/label/HiddenLabel.js.map +1 -1
  114. package/es/components/label/Label.js +5 -2
  115. package/es/components/label/Label.js.flow +5 -3
  116. package/es/components/label/Label.js.map +1 -1
  117. package/es/components/label/Label.stories.js +1 -1
  118. package/es/components/label/Label.stories.js.map +1 -1
  119. package/es/components/label/LabelPrimitive.js +4 -3
  120. package/es/components/label/LabelPrimitive.js.flow +3 -2
  121. package/es/components/label/LabelPrimitive.js.map +1 -1
  122. package/es/components/label/StandardLabel.js +8 -5
  123. package/es/components/label/StandardLabel.js.flow +3 -2
  124. package/es/components/label/StandardLabel.js.map +1 -1
  125. package/es/components/label-pill/LabelPill.stories.js +1 -1
  126. package/es/components/label-pill/LabelPill.stories.js.map +1 -1
  127. package/es/components/link/stories/Link.stories.js +6 -4
  128. package/es/components/link/stories/Link.stories.js.map +1 -1
  129. package/es/components/link/stories/LinkButton.stories.js +8 -5
  130. package/es/components/link/stories/LinkButton.stories.js.map +1 -1
  131. package/es/components/link/stories/LinkGroup.stories.js +1 -1
  132. package/es/components/link/stories/LinkGroup.stories.js.map +1 -1
  133. package/es/components/link/stories/LinkPrimaryButton.stories.js +6 -4
  134. package/es/components/link/stories/LinkPrimaryButton.stories.js.map +1 -1
  135. package/es/components/loading-indicator/LoadingIndicator.stories.js +1 -1
  136. package/es/components/loading-indicator/LoadingIndicator.stories.js.map +1 -1
  137. package/es/components/loading-indicator/LoadingIndicatorWrapper.stories.js +1 -1
  138. package/es/components/loading-indicator/LoadingIndicatorWrapper.stories.js.map +1 -1
  139. package/es/components/loading-indicator/makeLoadable.js.map +1 -1
  140. package/es/components/logo/Logo.stories.js +1 -1
  141. package/es/components/logo/Logo.stories.js.map +1 -1
  142. package/es/components/media/stories/Media.stories.js +1 -1
  143. package/es/components/media/stories/Media.stories.js.map +1 -1
  144. package/es/components/media/stories/MediaBody.stories.js +1 -1
  145. package/es/components/media/stories/MediaBody.stories.js.map +1 -1
  146. package/es/components/media/stories/MediaFigure.stories.js +1 -1
  147. package/es/components/media/stories/MediaFigure.stories.js.map +1 -1
  148. package/es/components/media/stories/MediaMenu.stories.js +1 -1
  149. package/es/components/media/stories/MediaMenu.stories.js.map +1 -1
  150. package/es/components/media-query/stories/MediaQuery.stories.js +1 -1
  151. package/es/components/media-query/stories/MediaQuery.stories.js.flow +1 -1
  152. package/es/components/media-query/stories/MediaQuery.stories.js.map +1 -1
  153. package/es/components/menu/stories/Menu.stories.js +1 -1
  154. package/es/components/menu/stories/Menu.stories.js.map +1 -1
  155. package/es/components/menu/stories/SelectMenuLinkItem.stories.js +1 -1
  156. package/es/components/menu/stories/SelectMenuLinkItem.stories.js.map +1 -1
  157. package/es/components/modal/Modal.scss +62 -69
  158. package/es/components/modal/stories/Modal.stories.js +1 -1
  159. package/es/components/modal/stories/Modal.stories.js.flow +1 -1
  160. package/es/components/modal/stories/Modal.stories.js.map +1 -1
  161. package/es/components/modal/stories/ModalActions.stories.js +1 -1
  162. package/es/components/modal/stories/ModalActions.stories.js.flow +1 -1
  163. package/es/components/modal/stories/ModalActions.stories.js.map +1 -1
  164. package/es/components/modal/stories/ModalDialog.stories.js +1 -1
  165. package/es/components/modal/stories/ModalDialog.stories.js.flow +1 -1
  166. package/es/components/modal/stories/ModalDialog.stories.js.map +1 -1
  167. package/es/components/nav-sidebar/NavSidebar.stories.js +1 -1
  168. package/es/components/nav-sidebar/NavSidebar.stories.js.flow +1 -1
  169. package/es/components/nav-sidebar/NavSidebar.stories.js.map +1 -1
  170. package/es/components/notification/stories/Notification.stories.js +1 -1
  171. package/es/components/notification/stories/Notification.stories.js.flow +1 -1
  172. package/es/components/notification/stories/Notification.stories.js.map +1 -1
  173. package/es/components/notification/stories/NotificationsWrapper.stories.js +1 -1
  174. package/es/components/notification/stories/NotificationsWrapper.stories.js.flow +1 -1
  175. package/es/components/notification/stories/NotificationsWrapper.stories.js.map +1 -1
  176. package/es/components/nudge/Nudge.stories.js +1 -1
  177. package/es/components/nudge/Nudge.stories.js.map +1 -1
  178. package/es/components/pill-cloud/PillCloud.stories.js +1 -1
  179. package/es/components/pill-cloud/PillCloud.stories.js.flow +1 -1
  180. package/es/components/pill-cloud/PillCloud.stories.js.map +1 -1
  181. package/es/components/pill-selector-dropdown/PillSelector.js +7 -3
  182. package/es/components/pill-selector-dropdown/PillSelector.js.flow +10 -2
  183. package/es/components/pill-selector-dropdown/PillSelector.js.map +1 -1
  184. package/es/components/pill-selector-dropdown/PillSelector.scss +4 -0
  185. package/es/components/pill-selector-dropdown/PillSelectorDropdown.stories.js +1 -1
  186. package/es/components/pill-selector-dropdown/PillSelectorDropdown.stories.js.flow +1 -1
  187. package/es/components/pill-selector-dropdown/PillSelectorDropdown.stories.js.map +1 -1
  188. package/es/components/plain-button/PlainButton.stories.js +1 -1
  189. package/es/components/plain-button/PlainButton.stories.js.map +1 -1
  190. package/es/components/primary-button/PrimaryButton.stories.js +1 -1
  191. package/es/components/primary-button/PrimaryButton.stories.js.map +1 -1
  192. package/es/components/radar/RadarAnimation.stories.js +1 -1
  193. package/es/components/radar/RadarAnimation.stories.js.map +1 -1
  194. package/es/components/radio/stories/RadioButton.stories.js +1 -1
  195. package/es/components/radio/stories/RadioButton.stories.js.map +1 -1
  196. package/es/components/radio/stories/RadioGroup.stories.js +1 -1
  197. package/es/components/radio/stories/RadioGroup.stories.js.map +1 -1
  198. package/es/components/search-form/SearchActions.js +35 -0
  199. package/es/components/search-form/SearchActions.js.map +1 -0
  200. package/es/components/search-form/SearchForm.js +11 -39
  201. package/es/components/search-form/SearchForm.js.flow +10 -54
  202. package/es/components/search-form/SearchForm.js.map +1 -1
  203. package/es/components/search-form/messages.js +17 -0
  204. package/es/components/search-form/messages.js.map +1 -0
  205. package/es/components/section/Section.stories.js +1 -1
  206. package/es/components/section/Section.stories.js.map +1 -1
  207. package/es/components/select/Select.stories.js +1 -1
  208. package/es/components/select/Select.stories.js.flow +1 -1
  209. package/es/components/select/Select.stories.js.map +1 -1
  210. package/es/components/select-button/SelectButton.stories.js +1 -1
  211. package/es/components/select-button/SelectButton.stories.js.flow +1 -1
  212. package/es/components/select-button/SelectButton.stories.js.map +1 -1
  213. package/es/components/selector-dropdown/SelectorDropdown.stories.js +1 -1
  214. package/es/components/selector-dropdown/SelectorDropdown.stories.js.flow +1 -1
  215. package/es/components/selector-dropdown/SelectorDropdown.stories.js.map +1 -1
  216. package/es/components/sidebar-toggle-button/SidebarToggleButton.stories.js +1 -1
  217. package/es/components/sidebar-toggle-button/SidebarToggleButton.stories.js.flow +1 -1
  218. package/es/components/sidebar-toggle-button/SidebarToggleButton.stories.js.map +1 -1
  219. package/es/components/tab-view/TabView.stories.js +1 -1
  220. package/es/components/tab-view/TabView.stories.js.flow +1 -1
  221. package/es/components/tab-view/TabView.stories.js.map +1 -1
  222. package/es/components/text-input/TextInput.stories.js +1 -1
  223. package/es/components/text-input/TextInput.stories.js.flow +1 -1
  224. package/es/components/text-input/TextInput.stories.js.map +1 -1
  225. package/es/components/text-input-with-copy-button/TextInputWithCopyButton.js +9 -3
  226. package/es/components/text-input-with-copy-button/TextInputWithCopyButton.js.flow +9 -4
  227. package/es/components/text-input-with-copy-button/TextInputWithCopyButton.js.map +1 -1
  228. package/es/components/text-input-with-copy-button/TextInputWithCopyButton.stories.js +1 -1
  229. package/es/components/text-input-with-copy-button/TextInputWithCopyButton.stories.js.flow +1 -1
  230. package/es/components/text-input-with-copy-button/TextInputWithCopyButton.stories.js.map +1 -1
  231. package/es/components/thumbnail-card/ThumbnailCard.stories.js +1 -1
  232. package/es/components/thumbnail-card/ThumbnailCard.stories.js.flow +1 -1
  233. package/es/components/thumbnail-card/ThumbnailCard.stories.js.map +1 -1
  234. package/es/components/time/ReadableTime.stories.js +1 -1
  235. package/es/components/time/ReadableTime.stories.js.flow +1 -1
  236. package/es/components/time/ReadableTime.stories.js.map +1 -1
  237. package/es/components/time-input/TimeInput.stories.js +1 -1
  238. package/es/components/time-input/TimeInput.stories.js.map +1 -1
  239. package/es/components/toggle/Toggle.stories.js +1 -1
  240. package/es/components/toggle/Toggle.stories.js.flow +1 -1
  241. package/es/components/toggle/Toggle.stories.js.map +1 -1
  242. package/es/components/tooltip/Tooltip.stories.js +1 -1
  243. package/es/components/tooltip/Tooltip.stories.js.map +1 -1
  244. package/es/constants.js +1 -0
  245. package/es/constants.js.flow +1 -0
  246. package/es/constants.js.map +1 -1
  247. package/es/elements/common/_variables.scss +1 -0
  248. package/es/elements/common/current-user/withCurrentUser.js +1 -0
  249. package/es/elements/common/current-user/withCurrentUser.js.map +1 -1
  250. package/es/elements/common/selectors/version.js +2 -1
  251. package/es/elements/common/selectors/version.js.flow +2 -1
  252. package/es/elements/common/selectors/version.js.map +1 -1
  253. package/es/elements/content-explorer/ContentExplorer.js +2 -0
  254. package/es/elements/content-explorer/ContentExplorer.js.flow +10 -4
  255. package/es/elements/content-explorer/ContentExplorer.js.map +1 -1
  256. package/es/elements/content-explorer/MoreOptions.js +1 -1
  257. package/es/elements/content-explorer/MoreOptions.js.flow +1 -1
  258. package/es/elements/content-explorer/MoreOptions.js.map +1 -1
  259. package/es/elements/content-explorer/PreviewDialog.js +0 -1
  260. package/es/elements/content-explorer/PreviewDialog.js.flow +0 -1
  261. package/es/elements/content-explorer/PreviewDialog.js.map +1 -1
  262. package/es/elements/content-explorer/stories/ContentExplorer.stories.js +25 -35
  263. package/es/elements/content-explorer/stories/ContentExplorer.stories.js.flow +25 -36
  264. package/es/elements/content-explorer/stories/ContentExplorer.stories.js.map +1 -1
  265. package/es/elements/content-explorer/stories/DeleteConfirmationDialog.stories.js +1 -1
  266. package/es/elements/content-explorer/stories/DeleteConfirmationDialog.stories.js.flow +1 -1
  267. package/es/elements/content-explorer/stories/DeleteConfirmationDialog.stories.js.map +1 -1
  268. package/es/elements/content-explorer/stories/ShareDialog.stories.js +1 -1
  269. package/es/elements/content-explorer/stories/ShareDialog.stories.js.flow +1 -1
  270. package/es/elements/content-explorer/stories/ShareDialog.stories.js.map +1 -1
  271. package/es/elements/content-picker/ContentPicker.js +2 -2
  272. package/es/elements/content-picker/ContentPicker.js.flow +2 -2
  273. package/es/elements/content-picker/ContentPicker.js.map +1 -1
  274. package/es/elements/content-picker/Footer.scss +6 -0
  275. package/es/elements/content-preview/ContentPreview.js +20 -10
  276. package/es/elements/content-preview/ContentPreview.js.flow +88 -64
  277. package/es/elements/content-preview/ContentPreview.js.map +1 -1
  278. package/es/elements/content-preview/ContentPreview.scss +13 -28
  279. package/es/elements/content-preview/preview-header/PreviewHeader.js +8 -2
  280. package/es/elements/content-preview/preview-header/PreviewHeader.js.flow +6 -0
  281. package/es/elements/content-preview/preview-header/PreviewHeader.js.map +1 -1
  282. package/es/elements/content-preview/stories/ContentPreview.stories.js +32 -46
  283. package/es/elements/content-preview/stories/ContentPreview.stories.js.flow +51 -81
  284. package/es/elements/content-preview/stories/ContentPreview.stories.js.map +1 -1
  285. package/es/elements/content-sharing/stories/ContentSharing.stories.js +19 -63
  286. package/es/elements/content-sharing/stories/ContentSharing.stories.js.flow +18 -84
  287. package/es/elements/content-sharing/stories/ContentSharing.stories.js.map +1 -1
  288. package/es/elements/content-sidebar/ActivitySidebar.js +22 -17
  289. package/es/elements/content-sidebar/ActivitySidebar.js.flow +2 -2
  290. package/es/elements/content-sidebar/ActivitySidebar.js.map +1 -1
  291. package/es/elements/content-sidebar/ContentSidebar.scss +9 -9
  292. package/es/elements/content-sidebar/SidebarContent.scss +6 -8
  293. package/es/elements/content-sidebar/SidebarNav.scss +22 -20
  294. package/es/elements/content-sidebar/SidebarNavButton.scss +12 -14
  295. package/es/elements/content-sidebar/SidebarNavSignButton.scss +6 -8
  296. package/es/elements/content-sidebar/activity-feed/activity-feed/ActiveState.js +13 -1
  297. package/es/elements/content-sidebar/activity-feed/activity-feed/ActiveState.js.flow +20 -2
  298. package/es/elements/content-sidebar/activity-feed/activity-feed/ActiveState.js.map +1 -1
  299. package/es/elements/content-sidebar/activity-feed/activity-feed/ActivityFeed.js.flow +7 -6
  300. package/es/elements/content-sidebar/activity-feed/activity-feed/ActivityFeed.js.map +1 -1
  301. package/es/elements/content-sidebar/activity-feed/activity-feed/ActivityFeed.scss +6 -4
  302. package/es/elements/content-sidebar/activity-feed/activity-feed/ActivityItem.scss +2 -2
  303. package/es/elements/content-sidebar/activity-feed/activity-feed/stories/ActivityFeed.stories.js +61 -0
  304. package/es/elements/content-sidebar/activity-feed/activity-feed/stories/ActivityFeed.stories.js.flow +70 -0
  305. package/es/elements/content-sidebar/activity-feed/activity-feed/stories/ActivityFeed.stories.js.map +1 -0
  306. package/es/elements/content-sidebar/activity-feed/annotation-thread/AnnotationThreadContent.js.flow +2 -2
  307. package/es/elements/content-sidebar/activity-feed/annotation-thread/AnnotationThreadContent.js.map +1 -1
  308. package/es/elements/content-sidebar/activity-feed/annotation-thread/useAnnotationThread.js +11 -6
  309. package/es/elements/content-sidebar/activity-feed/annotation-thread/useAnnotationThread.js.flow +3 -7
  310. package/es/elements/content-sidebar/activity-feed/annotation-thread/useAnnotationThread.js.map +1 -1
  311. package/es/elements/content-sidebar/activity-feed/annotations/AnnotationActivity.js +5 -1
  312. package/es/elements/content-sidebar/activity-feed/annotations/AnnotationActivity.js.flow +3 -3
  313. package/es/elements/content-sidebar/activity-feed/annotations/AnnotationActivity.js.map +1 -1
  314. package/es/elements/content-sidebar/activity-feed/comment/BaseComment.js +50 -142
  315. package/es/elements/content-sidebar/activity-feed/comment/BaseComment.js.flow +59 -166
  316. package/es/elements/content-sidebar/activity-feed/comment/BaseComment.js.map +1 -1
  317. package/es/elements/content-sidebar/activity-feed/comment/BaseComment.scss +34 -12
  318. package/es/elements/content-sidebar/activity-feed/comment/CreateReply.js +6 -5
  319. package/es/elements/content-sidebar/activity-feed/comment/CreateReply.js.flow +5 -4
  320. package/es/elements/content-sidebar/activity-feed/comment/CreateReply.js.map +1 -1
  321. package/es/elements/content-sidebar/activity-feed/comment/Replies.scss +4 -2
  322. package/es/elements/content-sidebar/activity-feed/comment/components/BaseCommentInfo.js +48 -0
  323. package/es/elements/content-sidebar/activity-feed/comment/components/BaseCommentInfo.js.flow +72 -0
  324. package/es/elements/content-sidebar/activity-feed/comment/components/BaseCommentInfo.js.map +1 -0
  325. package/es/elements/content-sidebar/activity-feed/comment/components/BaseCommentInfo.scss +38 -0
  326. package/es/elements/content-sidebar/activity-feed/comment/components/BaseCommentMenu.js +75 -0
  327. package/es/elements/content-sidebar/activity-feed/comment/components/BaseCommentMenu.js.flow +125 -0
  328. package/es/elements/content-sidebar/activity-feed/comment/components/BaseCommentMenu.js.map +1 -0
  329. package/es/elements/content-sidebar/activity-feed/comment/components/BaseCommentMenu.scss +4 -0
  330. package/es/elements/content-sidebar/activity-feed/comment/components/BaseCommentMenuWrapper.js +78 -0
  331. package/es/elements/content-sidebar/activity-feed/comment/components/BaseCommentMenuWrapper.js.flow +91 -0
  332. package/es/elements/content-sidebar/activity-feed/comment/components/BaseCommentMenuWrapper.js.map +1 -0
  333. package/es/elements/content-sidebar/activity-feed/comment/components/stories/BaseCommentInfo.stories.js +25 -0
  334. package/es/elements/content-sidebar/activity-feed/comment/components/stories/BaseCommentInfo.stories.js.flow +25 -0
  335. package/es/elements/content-sidebar/activity-feed/comment/components/stories/BaseCommentInfo.stories.js.map +1 -0
  336. package/es/elements/content-sidebar/activity-feed/comment/components/stories/BaseCommentMenu.stories.js +37 -0
  337. package/es/elements/content-sidebar/activity-feed/comment/components/stories/BaseCommentMenu.stories.js.flow +26 -0
  338. package/es/elements/content-sidebar/activity-feed/comment/components/stories/BaseCommentMenu.stories.js.map +1 -0
  339. package/es/elements/content-sidebar/activity-feed/comment/components/stories/common.js +23 -0
  340. package/es/elements/content-sidebar/activity-feed/comment/components/stories/common.js.flow +28 -0
  341. package/es/elements/content-sidebar/activity-feed/comment/components/stories/common.js.map +1 -0
  342. package/es/elements/content-sidebar/activity-feed/comment/messages.js +4 -4
  343. package/es/elements/content-sidebar/activity-feed/comment/messages.js.flow +5 -5
  344. package/es/elements/content-sidebar/activity-feed/comment/messages.js.map +1 -1
  345. package/es/elements/content-sidebar/activity-feed/comment/stories/BaseComment.stories.js +1 -1
  346. package/es/elements/content-sidebar/activity-feed/comment/stories/BaseComment.stories.js.flow +1 -1
  347. package/es/elements/content-sidebar/activity-feed/comment/stories/BaseComment.stories.js.map +1 -1
  348. package/es/elements/content-sidebar/activity-feed/comment/stories/common.js +1 -1
  349. package/es/elements/content-sidebar/activity-feed/comment/stories/common.js.flow +1 -1
  350. package/es/elements/content-sidebar/activity-feed/comment/stories/common.js.map +1 -1
  351. package/es/elements/content-sidebar/activity-feed/comment/types.js.flow +13 -0
  352. package/es/elements/content-sidebar/activity-feed/comment-form/CommentForm.js +8 -4
  353. package/es/elements/content-sidebar/activity-feed/comment-form/CommentForm.js.flow +11 -3
  354. package/es/elements/content-sidebar/activity-feed/comment-form/CommentForm.js.map +1 -1
  355. package/es/elements/content-sidebar/activity-feed/common/delete-confirmation/DeleteConfirmation.js +2 -0
  356. package/es/elements/content-sidebar/activity-feed/common/delete-confirmation/DeleteConfirmation.js.flow +2 -0
  357. package/es/elements/content-sidebar/activity-feed/common/delete-confirmation/DeleteConfirmation.js.map +1 -1
  358. package/es/elements/content-sidebar/activity-feed/common/delete-confirmation/DeleteConfirmation.scss +1 -1
  359. package/es/elements/content-sidebar/activity-feed/task-new/Task.js +7 -3
  360. package/es/elements/content-sidebar/activity-feed/task-new/Task.js.flow +7 -2
  361. package/es/elements/content-sidebar/activity-feed/task-new/Task.js.map +1 -1
  362. package/es/elements/content-sidebar/activity-feed/task-new/messages.js +8 -0
  363. package/es/elements/content-sidebar/activity-feed/task-new/messages.js.flow +10 -0
  364. package/es/elements/content-sidebar/activity-feed/task-new/messages.js.map +1 -1
  365. package/es/elements/content-sidebar/stories/ContentSidebar.stories.js +18 -27
  366. package/es/elements/content-sidebar/stories/ContentSidebar.stories.js.flow +19 -28
  367. package/es/elements/content-sidebar/stories/ContentSidebar.stories.js.map +1 -1
  368. package/es/elements/content-sidebar/versions/VersionsItem.scss +6 -0
  369. package/es/elements/content-uploader/ItemName.scss +1 -1
  370. package/es/elements/content-uploader/ProgressBar.scss +4 -0
  371. package/es/elements/content-uploader/stories/ContentUploader.stories.js +6 -13
  372. package/es/elements/content-uploader/stories/ContentUploader.stories.js.flow +7 -11
  373. package/es/elements/content-uploader/stories/ContentUploader.stories.js.map +1 -1
  374. package/es/features/collaborator-avatars/CollaboratorList.scss +11 -1
  375. package/es/features/collapsible-sidebar/CollapsibleSidebar.stories.js +1 -1
  376. package/es/features/collapsible-sidebar/CollapsibleSidebar.stories.js.flow +1 -1
  377. package/es/features/collapsible-sidebar/CollapsibleSidebar.stories.js.map +1 -1
  378. package/es/features/content-answers/Answer.js +18 -0
  379. package/es/features/content-answers/Answer.js.map +1 -0
  380. package/es/features/content-answers/Answer.scss +4 -0
  381. package/es/features/content-answers/ContentAnswers.js +46 -0
  382. package/es/features/content-answers/ContentAnswers.js.map +1 -0
  383. package/es/features/content-answers/ContentAnswersGridCard.js +24 -0
  384. package/es/features/content-answers/ContentAnswersGridCard.js.map +1 -0
  385. package/es/features/content-answers/ContentAnswersGridCard.scss +26 -0
  386. package/es/features/content-answers/ContentAnswersModal.js +111 -0
  387. package/es/features/content-answers/ContentAnswersModal.js.map +1 -0
  388. package/es/features/content-answers/ContentAnswersModal.scss +56 -0
  389. package/es/features/content-answers/ContentAnswersModalContent.js +60 -0
  390. package/es/features/content-answers/ContentAnswersModalContent.js.map +1 -0
  391. package/es/features/content-answers/ContentAnswersModalContent.scss +12 -0
  392. package/es/features/content-answers/ContentAnswersModalError.js +23 -0
  393. package/es/features/content-answers/ContentAnswersModalError.js.map +1 -0
  394. package/es/features/content-answers/ContentAnswersModalError.scss +28 -0
  395. package/es/features/content-answers/ContentAnswersModalFooter.js +93 -0
  396. package/es/features/content-answers/ContentAnswersModalFooter.js.map +1 -0
  397. package/es/features/content-answers/ContentAnswersModalFooter.scss +42 -0
  398. package/es/features/content-answers/ContentAnswersModalFooterActions.js +38 -0
  399. package/es/features/content-answers/ContentAnswersModalFooterActions.js.map +1 -0
  400. package/es/features/content-answers/ContentAnswersModalFooterActions.scss +17 -0
  401. package/es/features/content-answers/ContentAnswersOpenButton.js +69 -0
  402. package/es/features/content-answers/ContentAnswersOpenButton.js.map +1 -0
  403. package/es/features/content-answers/ContentAnswersOpenButton.scss +54 -0
  404. package/es/features/content-answers/InlineError.js +29 -0
  405. package/es/features/content-answers/InlineError.js.map +1 -0
  406. package/es/features/content-answers/InlineError.scss +39 -0
  407. package/es/features/content-answers/LoadingElement.js +17 -0
  408. package/es/features/content-answers/LoadingElement.js.map +1 -0
  409. package/es/features/content-answers/LoadingElement.scss +4 -0
  410. package/es/features/content-answers/Question.js +27 -0
  411. package/es/features/content-answers/Question.js.map +1 -0
  412. package/es/features/content-answers/Question.scss +16 -0
  413. package/es/features/content-answers/WelcomeMessage.js +32 -0
  414. package/es/features/content-answers/WelcomeMessage.js.map +1 -0
  415. package/es/features/content-answers/WelcomeMessage.scss +25 -0
  416. package/es/features/content-answers/constants.js +10 -0
  417. package/es/features/content-answers/constants.js.map +1 -0
  418. package/es/features/content-answers/index.js +2 -0
  419. package/es/features/content-answers/index.js.map +1 -0
  420. package/es/features/content-answers/messages.js +69 -0
  421. package/es/features/content-answers/messages.js.map +1 -0
  422. package/es/features/content-explorer/content-explorer/ContentExplorer.js +21 -12
  423. package/es/features/content-explorer/content-explorer/ContentExplorer.js.flow +19 -15
  424. package/es/features/content-explorer/content-explorer/ContentExplorer.js.map +1 -1
  425. package/es/features/content-explorer/content-explorer/ContentExplorer.scss +4 -0
  426. package/es/features/content-explorer/content-explorer/ContentExplorerBreadcrumbs.js +1 -0
  427. package/es/features/content-explorer/content-explorer/ContentExplorerBreadcrumbs.js.flow +2 -0
  428. package/es/features/content-explorer/content-explorer/ContentExplorerBreadcrumbs.js.map +1 -1
  429. package/es/features/content-explorer/content-explorer-modal/ContentExplorerModal.js.flow +1 -0
  430. package/es/features/content-explorer/content-explorer-modal/ContentExplorerModal.js.map +1 -1
  431. package/es/features/content-explorer/content-explorer-modal-container/ContentExplorerModalContainer.js +3 -0
  432. package/es/features/content-explorer/content-explorer-modal-container/ContentExplorerModalContainer.js.flow +2 -0
  433. package/es/features/content-explorer/content-explorer-modal-container/ContentExplorerModalContainer.js.map +1 -1
  434. package/es/features/pagination/Pagination.scss +0 -4
  435. package/es/features/sandbox-banner/SandboxBanner.stories.js +1 -1
  436. package/es/features/sandbox-banner/SandboxBanner.stories.js.map +1 -1
  437. package/es/features/security-cloud-game/stories/SecurityCloudGame.stories.js +1 -1
  438. package/es/features/security-cloud-game/stories/SecurityCloudGame.stories.js.flow +1 -1
  439. package/es/features/security-cloud-game/stories/SecurityCloudGame.stories.js.map +1 -1
  440. package/es/features/shared-link-modal/stories/SharedLink.stories.js +1 -1
  441. package/es/features/shared-link-modal/stories/SharedLink.stories.js.flow +1 -1
  442. package/es/features/shared-link-modal/stories/SharedLink.stories.js.map +1 -1
  443. package/es/features/shared-link-modal/stories/SharedLinkModal.stories.js +1 -1
  444. package/es/features/shared-link-modal/stories/SharedLinkModal.stories.js.flow +1 -1
  445. package/es/features/shared-link-modal/stories/SharedLinkModal.stories.js.map +1 -1
  446. package/es/features/shared-link-settings-modal/SharedLinkSettingsModal.stories.js +1 -1
  447. package/es/features/shared-link-settings-modal/SharedLinkSettingsModal.stories.js.flow +1 -1
  448. package/es/features/shared-link-settings-modal/SharedLinkSettingsModal.stories.js.map +1 -1
  449. package/es/features/targeting/hocs/withTargetedClickThrough.js +13 -3
  450. package/es/features/targeting/hocs/withTargetedClickThrough.js.flow +10 -1
  451. package/es/features/targeting/hocs/withTargetedClickThrough.js.map +1 -1
  452. package/es/features/targeting/types.js.flow +1 -0
  453. package/es/features/targeting/types.js.map +1 -1
  454. package/es/features/unified-share-modal/UnifiedShareModal.scss +61 -79
  455. package/es/features/unified-share-modal/stories/UnifiedShareModal.stories.js +1 -1
  456. package/es/features/unified-share-modal/stories/UnifiedShareModal.stories.js.flow +1 -1
  457. package/es/features/unified-share-modal/stories/UnifiedShareModal.stories.js.map +1 -1
  458. package/es/features/virtualized-table/DraggableVirtualizedTable.stories.js +1 -1
  459. package/es/features/virtualized-table/DraggableVirtualizedTable.stories.js.flow +1 -1
  460. package/es/features/virtualized-table/DraggableVirtualizedTable.stories.js.map +1 -1
  461. package/es/icon/content/ContentSharing32.stories.js +1 -1
  462. package/es/icon/content/ContentSharing32.stories.js.map +1 -1
  463. package/es/icon/content/CustomSetup32.stories.js +1 -1
  464. package/es/icon/content/CustomSetup32.stories.js.map +1 -1
  465. package/es/icon/content/DeviceTrust32.stories.js +1 -1
  466. package/es/icon/content/DeviceTrust32.stories.js.map +1 -1
  467. package/es/icon/content/FileAudio32.stories.js +1 -1
  468. package/es/icon/content/FileAudio32.stories.js.map +1 -1
  469. package/es/icon/content/FileBookmark32.stories.js +1 -1
  470. package/es/icon/content/FileBookmark32.stories.js.map +1 -1
  471. package/es/icon/content/FileBoxNote32.stories.js +1 -1
  472. package/es/icon/content/FileBoxNote32.stories.js.map +1 -1
  473. package/es/icon/content/FileCanvas32.stories.js +1 -1
  474. package/es/icon/content/FileCanvas32.stories.js.map +1 -1
  475. package/es/icon/content/FileCode32.stories.js +1 -1
  476. package/es/icon/content/FileCode32.stories.js.map +1 -1
  477. package/es/icon/content/FileDefault32.stories.js +1 -1
  478. package/es/icon/content/FileDefault32.stories.js.map +1 -1
  479. package/es/icon/content/FileDicom32.stories.js +1 -1
  480. package/es/icon/content/FileDicom32.stories.js.map +1 -1
  481. package/es/icon/content/FileDocs32.stories.js +1 -1
  482. package/es/icon/content/FileDocs32.stories.js.map +1 -1
  483. package/es/icon/content/FileDwg32.stories.js +1 -1
  484. package/es/icon/content/FileDwg32.stories.js.map +1 -1
  485. package/es/icon/content/FileExcel32.stories.js +1 -1
  486. package/es/icon/content/FileExcel32.stories.js.map +1 -1
  487. package/es/icon/content/FileIllustrator32.stories.js +1 -1
  488. package/es/icon/content/FileIllustrator32.stories.js.map +1 -1
  489. package/es/icon/content/FileImage32.stories.js +1 -1
  490. package/es/icon/content/FileImage32.stories.js.map +1 -1
  491. package/es/icon/content/FileIndesign32.stories.js +1 -1
  492. package/es/icon/content/FileIndesign32.stories.js.map +1 -1
  493. package/es/icon/content/FileKeynote32.stories.js +1 -1
  494. package/es/icon/content/FileKeynote32.stories.js.map +1 -1
  495. package/es/icon/content/FileNumbers32.stories.js +1 -1
  496. package/es/icon/content/FileNumbers32.stories.js.map +1 -1
  497. package/es/icon/content/FilePages32.stories.js +1 -1
  498. package/es/icon/content/FilePages32.stories.js.map +1 -1
  499. package/es/icon/content/FilePdf32.stories.js +1 -1
  500. package/es/icon/content/FilePdf32.stories.js.map +1 -1
  501. package/es/icon/content/FilePhotoshop32.stories.js +1 -1
  502. package/es/icon/content/FilePhotoshop32.stories.js.map +1 -1
  503. package/es/icon/content/FilePowerpoint32.stories.js +1 -1
  504. package/es/icon/content/FilePowerpoint32.stories.js.map +1 -1
  505. package/es/icon/content/FilePresentation32.stories.js +1 -1
  506. package/es/icon/content/FilePresentation32.stories.js.map +1 -1
  507. package/es/icon/content/FileSheets32.stories.js +1 -1
  508. package/es/icon/content/FileSheets32.stories.js.map +1 -1
  509. package/es/icon/content/FileSlides32.stories.js +1 -1
  510. package/es/icon/content/FileSlides32.stories.js.map +1 -1
  511. package/es/icon/content/FileSpreadsheet32.stories.js +1 -1
  512. package/es/icon/content/FileSpreadsheet32.stories.js.map +1 -1
  513. package/es/icon/content/FileText32.stories.js +1 -1
  514. package/es/icon/content/FileText32.stories.js.map +1 -1
  515. package/es/icon/content/FileThreeD32.stories.js +1 -1
  516. package/es/icon/content/FileThreeD32.stories.js.map +1 -1
  517. package/es/icon/content/FileUpload32.stories.js +1 -1
  518. package/es/icon/content/FileUpload32.stories.js.map +1 -1
  519. package/es/icon/content/FileVector32.stories.js +1 -1
  520. package/es/icon/content/FileVector32.stories.js.map +1 -1
  521. package/es/icon/content/FileVideo32.stories.js +1 -1
  522. package/es/icon/content/FileVideo32.stories.js.map +1 -1
  523. package/es/icon/content/FileWord32.stories.js +1 -1
  524. package/es/icon/content/FileWord32.stories.js.map +1 -1
  525. package/es/icon/content/FileXbd32.stories.js +1 -1
  526. package/es/icon/content/FileXbd32.stories.js.map +1 -1
  527. package/es/icon/content/FileXdw32.stories.js +1 -1
  528. package/es/icon/content/FileXdw32.stories.js.map +1 -1
  529. package/es/icon/content/FileZip32.stories.js +1 -1
  530. package/es/icon/content/FileZip32.stories.js.map +1 -1
  531. package/es/icon/content/FolderExternal32.stories.js +1 -1
  532. package/es/icon/content/FolderExternal32.stories.js.map +1 -1
  533. package/es/icon/content/FolderPersonal32.stories.js +1 -1
  534. package/es/icon/content/FolderPersonal32.stories.js.map +1 -1
  535. package/es/icon/content/FolderShared32.stories.js +1 -1
  536. package/es/icon/content/FolderShared32.stories.js.map +1 -1
  537. package/es/icon/content/FolderUpload32.stories.js +1 -1
  538. package/es/icon/content/FolderUpload32.stories.js.map +1 -1
  539. package/es/icon/content/Mobile32.stories.js +1 -1
  540. package/es/icon/content/Mobile32.stories.js.map +1 -1
  541. package/es/icon/content/Notifications32.stories.js +1 -1
  542. package/es/icon/content/Notifications32.stories.js.map +1 -1
  543. package/es/icon/content/PlatformCam32.stories.js +1 -1
  544. package/es/icon/content/PlatformCam32.stories.js.map +1 -1
  545. package/es/icon/content/PlatformSandbox32.stories.js +1 -1
  546. package/es/icon/content/PlatformSandbox32.stories.js.map +1 -1
  547. package/es/icon/content/RetentionPolicyModifiable32.stories.js +1 -1
  548. package/es/icon/content/RetentionPolicyModifiable32.stories.js.map +1 -1
  549. package/es/icon/content/RetentionPolicyNonModifiable32.stories.js +1 -1
  550. package/es/icon/content/RetentionPolicyNonModifiable32.stories.js.map +1 -1
  551. package/es/icon/content/Security32.stories.js +1 -1
  552. package/es/icon/content/Security32.stories.js.map +1 -1
  553. package/es/icon/content/SignRequest32.stories.js +1 -1
  554. package/es/icon/content/SignRequest32.stories.js.map +1 -1
  555. package/es/icon/content/UserSettings32.stories.js +1 -1
  556. package/es/icon/content/UserSettings32.stories.js.map +1 -1
  557. package/es/icon/content/Workflow32.stories.js +1 -1
  558. package/es/icon/content/Workflow32.stories.js.map +1 -1
  559. package/es/icon/content/WorkflowTemplate32.stories.js +1 -1
  560. package/es/icon/content/WorkflowTemplate32.stories.js.map +1 -1
  561. package/es/icon/fill/Activity16.stories.js +1 -1
  562. package/es/icon/fill/Activity16.stories.js.map +1 -1
  563. package/es/icon/fill/Activity20.stories.js +1 -1
  564. package/es/icon/fill/Activity20.stories.js.map +1 -1
  565. package/es/icon/fill/Alert16.stories.js +1 -1
  566. package/es/icon/fill/Alert16.stories.js.map +1 -1
  567. package/es/icon/fill/AlertBadge16.stories.js +1 -1
  568. package/es/icon/fill/AlertBadge16.stories.js.map +1 -1
  569. package/es/icon/fill/AnnotationsDrawing16.stories.js +1 -1
  570. package/es/icon/fill/AnnotationsDrawing16.stories.js.map +1 -1
  571. package/es/icon/fill/AnnotationsHighlight16.stories.js +1 -1
  572. package/es/icon/fill/AnnotationsHighlight16.stories.js.map +1 -1
  573. package/es/icon/fill/AnnotationsRegion16.stories.js +1 -1
  574. package/es/icon/fill/AnnotationsRegion16.stories.js.map +1 -1
  575. package/es/icon/fill/Apps16.stories.js +1 -1
  576. package/es/icon/fill/Apps16.stories.js.map +1 -1
  577. package/es/icon/fill/Arrow16.stories.js +1 -1
  578. package/es/icon/fill/Arrow16.stories.js.map +1 -1
  579. package/es/icon/fill/ArrowArcRight.stories.js +1 -1
  580. package/es/icon/fill/ArrowArcRight.stories.js.map +1 -1
  581. package/es/icon/fill/ArrowForward16.stories.js +1 -1
  582. package/es/icon/fill/ArrowForward16.stories.js.map +1 -1
  583. package/es/icon/fill/ArrowSort16.stories.js +1 -1
  584. package/es/icon/fill/ArrowSort16.stories.js.map +1 -1
  585. package/es/icon/fill/AvatarBadge16.stories.js +1 -1
  586. package/es/icon/fill/AvatarBadge16.stories.js.map +1 -1
  587. package/es/icon/fill/BarChart16.stories.js +1 -1
  588. package/es/icon/fill/BarChart16.stories.js.map +1 -1
  589. package/es/icon/fill/BoxDev16.stories.js +1 -1
  590. package/es/icon/fill/BoxDev16.stories.js.map +1 -1
  591. package/es/icon/fill/BoxNotes16.stories.js +1 -1
  592. package/es/icon/fill/BoxNotes16.stories.js.map +1 -1
  593. package/es/icon/fill/Calendar16.stories.js +1 -1
  594. package/es/icon/fill/Calendar16.stories.js.map +1 -1
  595. package/es/icon/fill/Caret8.stories.js +1 -1
  596. package/es/icon/fill/Caret8.stories.js.map +1 -1
  597. package/es/icon/fill/CaretBadge16.stories.js +1 -1
  598. package/es/icon/fill/CaretBadge16.stories.js.map +1 -1
  599. package/es/icon/fill/Checkmark16.stories.js +1 -1
  600. package/es/icon/fill/Checkmark16.stories.js.map +1 -1
  601. package/es/icon/fill/CheckmarkBadge16.stories.js +1 -1
  602. package/es/icon/fill/CheckmarkBadge16.stories.js.map +1 -1
  603. package/es/icon/fill/CircleBackButton24.stories.js +1 -1
  604. package/es/icon/fill/CircleBackButton24.stories.js.map +1 -1
  605. package/es/icon/fill/CircleCloseButton24.stories.js +1 -1
  606. package/es/icon/fill/CircleCloseButton24.stories.js.map +1 -1
  607. package/es/icon/fill/Classify16.stories.js +1 -1
  608. package/es/icon/fill/Classify16.stories.js.map +1 -1
  609. package/es/icon/fill/ClearBadge16.stories.js +1 -1
  610. package/es/icon/fill/ClearBadge16.stories.js.map +1 -1
  611. package/es/icon/fill/ClockBadge16.stories.js +1 -1
  612. package/es/icon/fill/ClockBadge16.stories.js.map +1 -1
  613. package/es/icon/fill/CloudUpload16.stories.js +1 -1
  614. package/es/icon/fill/CloudUpload16.stories.js.map +1 -1
  615. package/es/icon/fill/Code16.stories.js +1 -1
  616. package/es/icon/fill/Code16.stories.js.map +1 -1
  617. package/es/icon/fill/Collection16.stories.js +1 -1
  618. package/es/icon/fill/Collection16.stories.js.map +1 -1
  619. package/es/icon/fill/CollectionBolt16.stories.js +1 -1
  620. package/es/icon/fill/CollectionBolt16.stories.js.map +1 -1
  621. package/es/icon/fill/CollectionPlus16.stories.js +1 -1
  622. package/es/icon/fill/CollectionPlus16.stories.js.map +1 -1
  623. package/es/icon/fill/CollectionStar16.stories.js +1 -1
  624. package/es/icon/fill/CollectionStar16.stories.js.map +1 -1
  625. package/es/icon/fill/CreditCard16.stories.js +1 -1
  626. package/es/icon/fill/CreditCard16.stories.js.map +1 -1
  627. package/es/icon/fill/Download16.stories.js +1 -1
  628. package/es/icon/fill/Download16.stories.js.map +1 -1
  629. package/es/icon/fill/EmailNotification16.stories.js +1 -1
  630. package/es/icon/fill/EmailNotification16.stories.js.map +1 -1
  631. package/es/icon/fill/ExportArrow16.stories.js +1 -1
  632. package/es/icon/fill/ExportArrow16.stories.js.map +1 -1
  633. package/es/icon/fill/Feed16.stories.js +1 -1
  634. package/es/icon/fill/Feed16.stories.js.map +1 -1
  635. package/es/icon/fill/FileAudio16.stories.js +1 -1
  636. package/es/icon/fill/FileAudio16.stories.js.map +1 -1
  637. package/es/icon/fill/FileBookmark16.stories.js +1 -1
  638. package/es/icon/fill/FileBookmark16.stories.js.map +1 -1
  639. package/es/icon/fill/FileBoxNote16.stories.js +1 -1
  640. package/es/icon/fill/FileBoxNote16.stories.js.map +1 -1
  641. package/es/icon/fill/FileCanvas16.stories.js +1 -1
  642. package/es/icon/fill/FileCanvas16.stories.js.map +1 -1
  643. package/es/icon/fill/FileCode16.stories.js +1 -1
  644. package/es/icon/fill/FileCode16.stories.js.map +1 -1
  645. package/es/icon/fill/FileCopy16.stories.js +1 -1
  646. package/es/icon/fill/FileCopy16.stories.js.map +1 -1
  647. package/es/icon/fill/FileDefault16.stories.js +1 -1
  648. package/es/icon/fill/FileDefault16.stories.js.map +1 -1
  649. package/es/icon/fill/FileDicom16.stories.js +1 -1
  650. package/es/icon/fill/FileDicom16.stories.js.map +1 -1
  651. package/es/icon/fill/FileDocs16.stories.js +1 -1
  652. package/es/icon/fill/FileDocs16.stories.js.map +1 -1
  653. package/es/icon/fill/FileDwg16.stories.js +1 -1
  654. package/es/icon/fill/FileDwg16.stories.js.map +1 -1
  655. package/es/icon/fill/FileExcel16.stories.js +1 -1
  656. package/es/icon/fill/FileExcel16.stories.js.map +1 -1
  657. package/es/icon/fill/FileIllustrator16.stories.js +1 -1
  658. package/es/icon/fill/FileIllustrator16.stories.js.map +1 -1
  659. package/es/icon/fill/FileImage16.stories.js +1 -1
  660. package/es/icon/fill/FileImage16.stories.js.map +1 -1
  661. package/es/icon/fill/FileIndesign16.stories.js +1 -1
  662. package/es/icon/fill/FileIndesign16.stories.js.map +1 -1
  663. package/es/icon/fill/FileKeynote16.stories.js +1 -1
  664. package/es/icon/fill/FileKeynote16.stories.js.map +1 -1
  665. package/es/icon/fill/FileNumbers16.stories.js +1 -1
  666. package/es/icon/fill/FileNumbers16.stories.js.map +1 -1
  667. package/es/icon/fill/FilePages16.stories.js +1 -1
  668. package/es/icon/fill/FilePages16.stories.js.map +1 -1
  669. package/es/icon/fill/FilePdf16.stories.js +1 -1
  670. package/es/icon/fill/FilePdf16.stories.js.map +1 -1
  671. package/es/icon/fill/FilePhotoshop16.stories.js +1 -1
  672. package/es/icon/fill/FilePhotoshop16.stories.js.map +1 -1
  673. package/es/icon/fill/FilePowerpoint16.stories.js +1 -1
  674. package/es/icon/fill/FilePowerpoint16.stories.js.map +1 -1
  675. package/es/icon/fill/FilePresentation16.stories.js +1 -1
  676. package/es/icon/fill/FilePresentation16.stories.js.map +1 -1
  677. package/es/icon/fill/FileSheets16.stories.js +1 -1
  678. package/es/icon/fill/FileSheets16.stories.js.map +1 -1
  679. package/es/icon/fill/FileSlides16.stories.js +1 -1
  680. package/es/icon/fill/FileSlides16.stories.js.map +1 -1
  681. package/es/icon/fill/FileSpreadsheet16.stories.js +1 -1
  682. package/es/icon/fill/FileSpreadsheet16.stories.js.map +1 -1
  683. package/es/icon/fill/FileText16.stories.js +1 -1
  684. package/es/icon/fill/FileText16.stories.js.map +1 -1
  685. package/es/icon/fill/FileThreeD16.stories.js +1 -1
  686. package/es/icon/fill/FileThreeD16.stories.js.map +1 -1
  687. package/es/icon/fill/FileVector16.stories.js +1 -1
  688. package/es/icon/fill/FileVector16.stories.js.map +1 -1
  689. package/es/icon/fill/FileVideo16.stories.js +1 -1
  690. package/es/icon/fill/FileVideo16.stories.js.map +1 -1
  691. package/es/icon/fill/FileWord16.stories.js +1 -1
  692. package/es/icon/fill/FileWord16.stories.js.map +1 -1
  693. package/es/icon/fill/FileZip16.stories.js +1 -1
  694. package/es/icon/fill/FileZip16.stories.js.map +1 -1
  695. package/es/icon/fill/Filter16.stories.js +1 -1
  696. package/es/icon/fill/Filter16.stories.js.map +1 -1
  697. package/es/icon/fill/Folder16.stories.js +1 -1
  698. package/es/icon/fill/Folder16.stories.js.map +1 -1
  699. package/es/icon/fill/FolderExternal16.stories.js +1 -1
  700. package/es/icon/fill/FolderExternal16.stories.js.map +1 -1
  701. package/es/icon/fill/FolderPersonal16.stories.js +1 -1
  702. package/es/icon/fill/FolderPersonal16.stories.js.map +1 -1
  703. package/es/icon/fill/FolderShared16.stories.js +1 -1
  704. package/es/icon/fill/FolderShared16.stories.js.map +1 -1
  705. package/es/icon/fill/Gear16.stories.js +1 -1
  706. package/es/icon/fill/Gear16.stories.js.map +1 -1
  707. package/es/icon/fill/GlobeBadge16.stories.js +1 -1
  708. package/es/icon/fill/GlobeBadge16.stories.js.map +1 -1
  709. package/es/icon/fill/Hamburger20.stories.js +1 -1
  710. package/es/icon/fill/Hamburger20.stories.js.map +1 -1
  711. package/es/icon/fill/Help20.stories.js +1 -1
  712. package/es/icon/fill/Help20.stories.js.map +1 -1
  713. package/es/icon/fill/InProgress16.stories.js +1 -1
  714. package/es/icon/fill/InProgress16.stories.js.map +1 -1
  715. package/es/icon/fill/Info16.stories.js +1 -1
  716. package/es/icon/fill/Info16.stories.js.map +1 -1
  717. package/es/icon/fill/InfoBadge16.stories.js +1 -1
  718. package/es/icon/fill/InfoBadge16.stories.js.map +1 -1
  719. package/es/icon/fill/LightningBolt16.stories.js +1 -1
  720. package/es/icon/fill/LightningBolt16.stories.js.map +1 -1
  721. package/es/icon/fill/Lock16.stories.js +1 -1
  722. package/es/icon/fill/Lock16.stories.js.map +1 -1
  723. package/es/icon/fill/Megaphone20.stories.js +1 -1
  724. package/es/icon/fill/Megaphone20.stories.js.map +1 -1
  725. package/es/icon/fill/Minus16.stories.js +1 -1
  726. package/es/icon/fill/Minus16.stories.js.map +1 -1
  727. package/es/icon/fill/Move16.stories.js +1 -1
  728. package/es/icon/fill/Move16.stories.js.map +1 -1
  729. package/es/icon/fill/MoveCopy16.stories.js +1 -1
  730. package/es/icon/fill/MoveCopy16.stories.js.map +1 -1
  731. package/es/icon/fill/Overflow16.stories.js +1 -1
  732. package/es/icon/fill/Overflow16.stories.js.map +1 -1
  733. package/es/icon/fill/PaperAirplane16.stories.js +1 -1
  734. package/es/icon/fill/PaperAirplane16.stories.js.map +1 -1
  735. package/es/icon/fill/Pencil16.stories.js +1 -1
  736. package/es/icon/fill/Pencil16.stories.js.map +1 -1
  737. package/es/icon/fill/Picture16.stories.js +1 -1
  738. package/es/icon/fill/Picture16.stories.js.map +1 -1
  739. package/es/icon/fill/Plus16.stories.js +1 -1
  740. package/es/icon/fill/Plus16.stories.js.map +1 -1
  741. package/es/icon/fill/PlusBadge16.stories.js +1 -1
  742. package/es/icon/fill/PlusBadge16.stories.js.map +1 -1
  743. package/es/icon/fill/PointerChevronDown24.stories.js +1 -1
  744. package/es/icon/fill/PointerChevronDown24.stories.js.map +1 -1
  745. package/es/icon/fill/Printer16.stories.js +1 -1
  746. package/es/icon/fill/Printer16.stories.js.map +1 -1
  747. package/es/icon/fill/Relay16.stories.js +1 -1
  748. package/es/icon/fill/Relay16.stories.js.map +1 -1
  749. package/es/icon/fill/RelayClassic16.stories.js +1 -1
  750. package/es/icon/fill/RelayClassic16.stories.js.map +1 -1
  751. package/es/icon/fill/Ribbon16.stories.js +1 -1
  752. package/es/icon/fill/Ribbon16.stories.js.map +1 -1
  753. package/es/icon/fill/Scribble16.stories.js +1 -1
  754. package/es/icon/fill/Scribble16.stories.js.map +1 -1
  755. package/es/icon/fill/Search16.stories.js +1 -1
  756. package/es/icon/fill/Search16.stories.js.map +1 -1
  757. package/es/icon/fill/Sign16.stories.js +1 -1
  758. package/es/icon/fill/Sign16.stories.js.map +1 -1
  759. package/es/icon/fill/SignFieldCheckBox16.stories.js +1 -1
  760. package/es/icon/fill/SignFieldCheckBox16.stories.js.map +1 -1
  761. package/es/icon/fill/SignFieldSignature16.stories.js +1 -1
  762. package/es/icon/fill/SignFieldSignature16.stories.js.map +1 -1
  763. package/es/icon/fill/SignFieldTextInput16.stories.js +1 -1
  764. package/es/icon/fill/SignFieldTextInput16.stories.js.map +1 -1
  765. package/es/icon/fill/SignMe32.stories.js +1 -1
  766. package/es/icon/fill/SignMe32.stories.js.map +1 -1
  767. package/es/icon/fill/SignMeOthers32.stories.js +1 -1
  768. package/es/icon/fill/SignMeOthers32.stories.js.map +1 -1
  769. package/es/icon/fill/SignOthers32.stories.js +1 -1
  770. package/es/icon/fill/SignOthers32.stories.js.map +1 -1
  771. package/es/icon/fill/Skills16.stories.js +1 -1
  772. package/es/icon/fill/Skills16.stories.js.map +1 -1
  773. package/es/icon/fill/Tag16.stories.js +1 -1
  774. package/es/icon/fill/Tag16.stories.js.map +1 -1
  775. package/es/icon/fill/Task16.stories.js +1 -1
  776. package/es/icon/fill/Task16.stories.js.map +1 -1
  777. package/es/icon/fill/Trash16.stories.js +1 -1
  778. package/es/icon/fill/Trash16.stories.js.map +1 -1
  779. package/es/icon/fill/TwoPeople16.stories.js +1 -1
  780. package/es/icon/fill/TwoPeople16.stories.js.map +1 -1
  781. package/es/icon/fill/Upload16.stories.js +1 -1
  782. package/es/icon/fill/Upload16.stories.js.map +1 -1
  783. package/es/icon/fill/UserSettings16.stories.js +1 -1
  784. package/es/icon/fill/UserSettings16.stories.js.map +1 -1
  785. package/es/icon/fill/Workflow16.stories.js +1 -1
  786. package/es/icon/fill/Workflow16.stories.js.map +1 -1
  787. package/es/icon/fill/X16.stories.js +1 -1
  788. package/es/icon/fill/X16.stories.js.map +1 -1
  789. package/es/icon/line/AlarmClock16.stories.js +1 -1
  790. package/es/icon/line/AlarmClock16.stories.js.map +1 -1
  791. package/es/icon/line/AlertBubble16.stories.js +1 -1
  792. package/es/icon/line/AlertBubble16.stories.js.map +1 -1
  793. package/es/icon/line/Apps16.stories.js +1 -1
  794. package/es/icon/line/Apps16.stories.js.map +1 -1
  795. package/es/icon/line/ArrowBoxRight16.stories.js +1 -1
  796. package/es/icon/line/ArrowBoxRight16.stories.js.map +1 -1
  797. package/es/icon/line/Avatar16.stories.js +1 -1
  798. package/es/icon/line/Avatar16.stories.js.map +1 -1
  799. package/es/icon/line/AvatarBadge16.stories.js +1 -1
  800. package/es/icon/line/AvatarBadge16.stories.js.map +1 -1
  801. package/es/icon/line/AvatarPlusBadge16.stories.js +1 -1
  802. package/es/icon/line/AvatarPlusBadge16.stories.js.map +1 -1
  803. package/es/icon/line/AvatarXBadge16.stories.js +1 -1
  804. package/es/icon/line/AvatarXBadge16.stories.js.map +1 -1
  805. package/es/icon/line/BoxAi.stories.js +1 -1
  806. package/es/icon/line/BoxAi.stories.js.map +1 -1
  807. package/es/icon/line/BoxDev16.stories.js +1 -1
  808. package/es/icon/line/BoxDev16.stories.js.map +1 -1
  809. package/es/icon/line/Bug16.stories.js +1 -1
  810. package/es/icon/line/Bug16.stories.js.map +1 -1
  811. package/es/icon/line/Checkmark16.stories.js +1 -1
  812. package/es/icon/line/Checkmark16.stories.js.map +1 -1
  813. package/es/icon/line/CheckmarkBadge16.stories.js +1 -1
  814. package/es/icon/line/CheckmarkBadge16.stories.js.map +1 -1
  815. package/es/icon/line/CircleCheck16.stories.js +1 -1
  816. package/es/icon/line/CircleCheck16.stories.js.map +1 -1
  817. package/es/icon/line/CircleX16.stories.js +1 -1
  818. package/es/icon/line/CircleX16.stories.js.map +1 -1
  819. package/es/icon/line/ClassificationBadge16.stories.js +1 -1
  820. package/es/icon/line/ClassificationBadge16.stories.js.map +1 -1
  821. package/es/icon/line/ClockArrow16.stories.js +1 -1
  822. package/es/icon/line/ClockArrow16.stories.js.map +1 -1
  823. package/es/icon/line/ClockBadge16.stories.js +1 -1
  824. package/es/icon/line/ClockBadge16.stories.js.map +1 -1
  825. package/es/icon/line/CloudWithArrow16.stories.js +1 -1
  826. package/es/icon/line/CloudWithArrow16.stories.js.map +1 -1
  827. package/es/icon/line/CoAuthoringBadge16.stories.js +1 -1
  828. package/es/icon/line/CoAuthoringBadge16.stories.js.map +1 -1
  829. package/es/icon/line/CoEdit16.stories.js +1 -1
  830. package/es/icon/line/CoEdit16.stories.js.map +1 -1
  831. package/es/icon/line/Collaborations16.stories.js +1 -1
  832. package/es/icon/line/Collaborations16.stories.js.map +1 -1
  833. package/es/icon/line/Collection16.stories.js +1 -1
  834. package/es/icon/line/Collection16.stories.js.map +1 -1
  835. package/es/icon/line/CollectionBolt16.stories.js +1 -1
  836. package/es/icon/line/CollectionBolt16.stories.js.map +1 -1
  837. package/es/icon/line/CollectionPlus16.stories.js +1 -1
  838. package/es/icon/line/CollectionPlus16.stories.js.map +1 -1
  839. package/es/icon/line/CollectionStar16.stories.js +1 -1
  840. package/es/icon/line/CollectionStar16.stories.js.map +1 -1
  841. package/es/icon/line/CommentBubble16.stories.js +1 -1
  842. package/es/icon/line/CommentBubble16.stories.js.map +1 -1
  843. package/es/icon/line/CrosshairRegion32.stories.js +1 -1
  844. package/es/icon/line/CrosshairRegion32.stories.js.map +1 -1
  845. package/es/icon/line/DocInfo16.stories.js +1 -1
  846. package/es/icon/line/DocInfo16.stories.js.map +1 -1
  847. package/es/icon/line/Download16.stories.js +1 -1
  848. package/es/icon/line/Download16.stories.js.map +1 -1
  849. package/es/icon/line/Email16.stories.js +1 -1
  850. package/es/icon/line/Email16.stories.js.map +1 -1
  851. package/es/icon/line/EmailAddress16.stories.js +1 -1
  852. package/es/icon/line/EmailAddress16.stories.js.map +1 -1
  853. package/es/icon/line/EnvelopeBadge16.stories.js +1 -1
  854. package/es/icon/line/EnvelopeBadge16.stories.js.map +1 -1
  855. package/es/icon/line/ExclamationMarkBadge16.stories.js +1 -1
  856. package/es/icon/line/ExclamationMarkBadge16.stories.js.map +1 -1
  857. package/es/icon/line/ExportArrow16.stories.js +1 -1
  858. package/es/icon/line/ExportArrow16.stories.js.map +1 -1
  859. package/es/icon/line/FileDescription16.stories.js +1 -1
  860. package/es/icon/line/FileDescription16.stories.js.map +1 -1
  861. package/es/icon/line/Folder16.stories.js +1 -1
  862. package/es/icon/line/Folder16.stories.js.map +1 -1
  863. package/es/icon/line/Gear16.stories.js +1 -1
  864. package/es/icon/line/Gear16.stories.js.map +1 -1
  865. package/es/icon/line/GenericCopy16.stories.js +1 -1
  866. package/es/icon/line/GenericCopy16.stories.js.map +1 -1
  867. package/es/icon/line/GlobeBadge16.stories.js +1 -1
  868. package/es/icon/line/GlobeBadge16.stories.js.map +1 -1
  869. package/es/icon/line/Help16.stories.js +1 -1
  870. package/es/icon/line/Help16.stories.js.map +1 -1
  871. package/es/icon/line/Hidden16.stories.js +1 -1
  872. package/es/icon/line/Hidden16.stories.js.map +1 -1
  873. package/es/icon/line/History16.stories.js +1 -1
  874. package/es/icon/line/History16.stories.js.map +1 -1
  875. package/es/icon/line/InfoBadge16.stories.js +1 -1
  876. package/es/icon/line/InfoBadge16.stories.js.map +1 -1
  877. package/es/icon/line/Key16.stories.js +1 -1
  878. package/es/icon/line/Key16.stories.js.map +1 -1
  879. package/es/icon/line/Link16.stories.js +1 -1
  880. package/es/icon/line/Link16.stories.js.map +1 -1
  881. package/es/icon/line/LinkBadge16.stories.js +1 -1
  882. package/es/icon/line/LinkBadge16.stories.js.map +1 -1
  883. package/es/icon/line/List16.stories.js +1 -1
  884. package/es/icon/line/List16.stories.js.map +1 -1
  885. package/es/icon/line/Lock16.stories.js +1 -1
  886. package/es/icon/line/Lock16.stories.js.map +1 -1
  887. package/es/icon/line/LockBadge16.stories.js +1 -1
  888. package/es/icon/line/LockBadge16.stories.js.map +1 -1
  889. package/es/icon/line/MetadataBadge16.stories.js +1 -1
  890. package/es/icon/line/MetadataBadge16.stories.js.map +1 -1
  891. package/es/icon/line/MoveCopy16.stories.js +1 -1
  892. package/es/icon/line/MoveCopy16.stories.js.map +1 -1
  893. package/es/icon/line/Pencil16.stories.js +1 -1
  894. package/es/icon/line/Pencil16.stories.js.map +1 -1
  895. package/es/icon/line/PencilBadge16.stories.js +1 -1
  896. package/es/icon/line/PencilBadge16.stories.js.map +1 -1
  897. package/es/icon/line/Plane16.stories.js +1 -1
  898. package/es/icon/line/Plane16.stories.js.map +1 -1
  899. package/es/icon/line/Plus16.stories.js +1 -1
  900. package/es/icon/line/Plus16.stories.js.map +1 -1
  901. package/es/icon/line/Power16.stories.js +1 -1
  902. package/es/icon/line/Power16.stories.js.map +1 -1
  903. package/es/icon/line/Question16.stories.js +1 -1
  904. package/es/icon/line/Question16.stories.js.map +1 -1
  905. package/es/icon/line/Redo16.stories.js +1 -1
  906. package/es/icon/line/Redo16.stories.js.map +1 -1
  907. package/es/icon/line/Relay16.stories.js +1 -1
  908. package/es/icon/line/Relay16.stories.js.map +1 -1
  909. package/es/icon/line/Report16.stories.js +1 -1
  910. package/es/icon/line/Report16.stories.js.map +1 -1
  911. package/es/icon/line/Retry16.stories.js +1 -1
  912. package/es/icon/line/Retry16.stories.js.map +1 -1
  913. package/es/icon/line/Rocket16.stories.js +1 -1
  914. package/es/icon/line/Rocket16.stories.js.map +1 -1
  915. package/es/icon/line/RotatingArrows16.stories.js +1 -1
  916. package/es/icon/line/RotatingArrows16.stories.js.map +1 -1
  917. package/es/icon/line/Sharrow16.stories.js +1 -1
  918. package/es/icon/line/Sharrow16.stories.js.map +1 -1
  919. package/es/icon/line/Shield16.stories.js +1 -1
  920. package/es/icon/line/Shield16.stories.js.map +1 -1
  921. package/es/icon/line/Sign16.stories.js +1 -1
  922. package/es/icon/line/Sign16.stories.js.map +1 -1
  923. package/es/icon/line/SignTinycon16.stories.js +1 -1
  924. package/es/icon/line/SignTinycon16.stories.js.map +1 -1
  925. package/es/icon/line/Star16.stories.js +1 -1
  926. package/es/icon/line/Star16.stories.js.map +1 -1
  927. package/es/icon/line/SyncArrows16.stories.js +1 -1
  928. package/es/icon/line/SyncArrows16.stories.js.map +1 -1
  929. package/es/icon/line/Template16.stories.js +1 -1
  930. package/es/icon/line/Template16.stories.js.map +1 -1
  931. package/es/icon/line/TextLeft16.stories.js +1 -1
  932. package/es/icon/line/TextLeft16.stories.js.map +1 -1
  933. package/es/icon/line/Tool16.stories.js +1 -1
  934. package/es/icon/line/Tool16.stories.js.map +1 -1
  935. package/es/icon/line/Trash16.stories.js +1 -1
  936. package/es/icon/line/Trash16.stories.js.map +1 -1
  937. package/es/icon/line/TriangleAlert16.stories.js +1 -1
  938. package/es/icon/line/TriangleAlert16.stories.js.map +1 -1
  939. package/es/icon/line/Undo16.stories.js +1 -1
  940. package/es/icon/line/Undo16.stories.js.map +1 -1
  941. package/es/icon/line/Unlock16.stories.js +1 -1
  942. package/es/icon/line/Unlock16.stories.js.map +1 -1
  943. package/es/icon/line/Upload16.stories.js +1 -1
  944. package/es/icon/line/Upload16.stories.js.map +1 -1
  945. package/es/icon/line/Video16.stories.js +1 -1
  946. package/es/icon/line/Video16.stories.js.map +1 -1
  947. package/es/icon/line/View16.stories.js +1 -1
  948. package/es/icon/line/View16.stories.js.map +1 -1
  949. package/es/icon/line/XBadge16.stories.js +1 -1
  950. package/es/icon/line/XBadge16.stories.js.map +1 -1
  951. package/es/icon/logo/AccountBilling32.stories.js +1 -1
  952. package/es/icon/logo/AccountBilling32.stories.js.map +1 -1
  953. package/es/icon/logo/AdminFaq32.stories.js +1 -1
  954. package/es/icon/logo/AdminFaq32.stories.js.map +1 -1
  955. package/es/icon/logo/AdminReferences32.stories.js +1 -1
  956. package/es/icon/logo/AdminReferences32.stories.js.map +1 -1
  957. package/es/icon/logo/AdobeAcrobat32.stories.js +1 -1
  958. package/es/icon/logo/AdobeAcrobat32.stories.js.map +1 -1
  959. package/es/icon/logo/Apps32.stories.js +1 -1
  960. package/es/icon/logo/Apps32.stories.js.map +1 -1
  961. package/es/icon/logo/BoxAiLogo.stories.js +1 -1
  962. package/es/icon/logo/BoxAiLogo.stories.js.map +1 -1
  963. package/es/icon/logo/BoxLogo.stories.js +1 -1
  964. package/es/icon/logo/BoxLogo.stories.js.map +1 -1
  965. package/es/icon/logo/BoxSign28.stories.js +1 -1
  966. package/es/icon/logo/BoxSign28.stories.js.map +1 -1
  967. package/es/icon/logo/BoxSign32.stories.js +1 -1
  968. package/es/icon/logo/BoxSign32.stories.js.map +1 -1
  969. package/es/icon/logo/ContentSharing32.stories.js +1 -1
  970. package/es/icon/logo/ContentSharing32.stories.js.map +1 -1
  971. package/es/icon/logo/CustomSetup32.stories.js +1 -1
  972. package/es/icon/logo/CustomSetup32.stories.js.map +1 -1
  973. package/es/icon/logo/DeviceTrust32.stories.js +1 -1
  974. package/es/icon/logo/DeviceTrust32.stories.js.map +1 -1
  975. package/es/icon/logo/HelpArticle32.stories.js +1 -1
  976. package/es/icon/logo/HelpArticle32.stories.js.map +1 -1
  977. package/es/icon/logo/HowToGuides32.stories.js +1 -1
  978. package/es/icon/logo/HowToGuides32.stories.js.map +1 -1
  979. package/es/icon/logo/IconBoxApp512.stories.js +1 -1
  980. package/es/icon/logo/IconBoxApp512.stories.js.map +1 -1
  981. package/es/icon/logo/KeynoteForMac32.stories.js +1 -1
  982. package/es/icon/logo/KeynoteForMac32.stories.js.map +1 -1
  983. package/es/icon/logo/ManageContent32.stories.js +1 -1
  984. package/es/icon/logo/ManageContent32.stories.js.map +1 -1
  985. package/es/icon/logo/ManageUsers32.stories.js +1 -1
  986. package/es/icon/logo/ManageUsers32.stories.js.map +1 -1
  987. package/es/icon/logo/Mobile32.stories.js +1 -1
  988. package/es/icon/logo/Mobile32.stories.js.map +1 -1
  989. package/es/icon/logo/Notifications32.stories.js +1 -1
  990. package/es/icon/logo/Notifications32.stories.js.map +1 -1
  991. package/es/icon/logo/NumbersForMac32.stories.js +1 -1
  992. package/es/icon/logo/NumbersForMac32.stories.js.map +1 -1
  993. package/es/icon/logo/PagesForMac32.stories.js +1 -1
  994. package/es/icon/logo/PagesForMac32.stories.js.map +1 -1
  995. package/es/icon/logo/Reporting32.stories.js +1 -1
  996. package/es/icon/logo/Reporting32.stories.js.map +1 -1
  997. package/es/icon/logo/Security32.stories.js +1 -1
  998. package/es/icon/logo/Security32.stories.js.map +1 -1
  999. package/es/icon/logo/TroubleShootingTools32.stories.js +1 -1
  1000. package/es/icon/logo/TroubleShootingTools32.stories.js.map +1 -1
  1001. package/es/icon/logo/UserSettings32.stories.js +1 -1
  1002. package/es/icon/logo/UserSettings32.stories.js.map +1 -1
  1003. package/es/icons/collections/IconCollections.stories.js +1 -1
  1004. package/es/icons/collections/IconCollections.stories.js.map +1 -1
  1005. package/es/icons/collections/IconCollectionsAdd.stories.js +1 -1
  1006. package/es/icons/collections/IconCollectionsAdd.stories.js.map +1 -1
  1007. package/es/icons/collections/IconCollectionsBolt.stories.js +1 -1
  1008. package/es/icons/collections/IconCollectionsBolt.stories.js.map +1 -1
  1009. package/es/icons/collections/IconCollectionsFilled.stories.js +1 -1
  1010. package/es/icons/collections/IconCollectionsFilled.stories.js.map +1 -1
  1011. package/es/icons/collections/IconCollectionsStar.stories.js +1 -1
  1012. package/es/icons/collections/IconCollectionsStar.stories.js.map +1 -1
  1013. package/es/icons/collections/IconCollectionsStarFilled.stories.js +1 -1
  1014. package/es/icons/collections/IconCollectionsStarFilled.stories.js.map +1 -1
  1015. package/es/icons/collections/collections.stories.js +1 -1
  1016. package/es/icons/collections/collections.stories.js.map +1 -1
  1017. package/es/icons/icons.stories.js +1 -1
  1018. package/es/icons/icons.stories.js.map +1 -1
  1019. package/es/icons/two-toned/IconAnnotation.js +1 -1
  1020. package/es/icons/two-toned/IconAnnotation.js.map +1 -1
  1021. package/es/illustration/AllNewBox140.stories.js +1 -1
  1022. package/es/illustration/AllNewBox140.stories.js.map +1 -1
  1023. package/es/illustration/AppSupport140.stories.js +1 -1
  1024. package/es/illustration/AppSupport140.stories.js.map +1 -1
  1025. package/es/illustration/Bell140.stories.js +1 -1
  1026. package/es/illustration/Bell140.stories.js.map +1 -1
  1027. package/es/illustration/BoxDrive140.stories.js +1 -1
  1028. package/es/illustration/BoxDrive140.stories.js.map +1 -1
  1029. package/es/illustration/BoxMobile140.stories.js +1 -1
  1030. package/es/illustration/BoxMobile140.stories.js.map +1 -1
  1031. package/es/illustration/BudgetApproval56.stories.js +1 -1
  1032. package/es/illustration/BudgetApproval56.stories.js.map +1 -1
  1033. package/es/illustration/Certificate56.stories.js +1 -1
  1034. package/es/illustration/Certificate56.stories.js.map +1 -1
  1035. package/es/illustration/CertificateSigning56.stories.js +1 -1
  1036. package/es/illustration/CertificateSigning56.stories.js.map +1 -1
  1037. package/es/illustration/ChangeOrder56.stories.js +1 -1
  1038. package/es/illustration/ChangeOrder56.stories.js.map +1 -1
  1039. package/es/illustration/Clock140.stories.js +1 -1
  1040. package/es/illustration/Clock140.stories.js.map +1 -1
  1041. package/es/illustration/CollectionStar140.stories.js +1 -1
  1042. package/es/illustration/CollectionStar140.stories.js.map +1 -1
  1043. package/es/illustration/ContractorId56.stories.js +1 -1
  1044. package/es/illustration/ContractorId56.stories.js.map +1 -1
  1045. package/es/illustration/CreativeApproval56.stories.js +1 -1
  1046. package/es/illustration/CreativeApproval56.stories.js.map +1 -1
  1047. package/es/illustration/CreativeAssets56.stories.js +1 -1
  1048. package/es/illustration/CreativeAssets56.stories.js.map +1 -1
  1049. package/es/illustration/CustomApp56.stories.js +1 -1
  1050. package/es/illustration/CustomApp56.stories.js.map +1 -1
  1051. package/es/illustration/CustomSkill56.stories.js +1 -1
  1052. package/es/illustration/CustomSkill56.stories.js.map +1 -1
  1053. package/es/illustration/CustomTemplate56.stories.js +1 -1
  1054. package/es/illustration/CustomTemplate56.stories.js.map +1 -1
  1055. package/es/illustration/CustomerSupport140.stories.js +1 -1
  1056. package/es/illustration/CustomerSupport140.stories.js.map +1 -1
  1057. package/es/illustration/DiscoDanceParty140.stories.js +1 -1
  1058. package/es/illustration/DiscoDanceParty140.stories.js.map +1 -1
  1059. package/es/illustration/Discount140.stories.js +1 -1
  1060. package/es/illustration/Discount140.stories.js.map +1 -1
  1061. package/es/illustration/EmailVerification140.stories.js +1 -1
  1062. package/es/illustration/EmailVerification140.stories.js.map +1 -1
  1063. package/es/illustration/EmployeeId56.stories.js +1 -1
  1064. package/es/illustration/EmployeeId56.stories.js.map +1 -1
  1065. package/es/illustration/EmployeeReview56.stories.js +1 -1
  1066. package/es/illustration/EmployeeReview56.stories.js.map +1 -1
  1067. package/es/illustration/EmptyStateDetails.stories.js +1 -1
  1068. package/es/illustration/EmptyStateDetails.stories.js.map +1 -1
  1069. package/es/illustration/EmptyStateFolder140.stories.js +1 -1
  1070. package/es/illustration/EmptyStateFolder140.stories.js.map +1 -1
  1071. package/es/illustration/EmptyStatePreviewActivity140.stories.js +1 -1
  1072. package/es/illustration/EmptyStatePreviewActivity140.stories.js.map +1 -1
  1073. package/es/illustration/Envelope140.stories.js +1 -1
  1074. package/es/illustration/Envelope140.stories.js.map +1 -1
  1075. package/es/illustration/ErrorState404140.stories.js +1 -1
  1076. package/es/illustration/ErrorState404140.stories.js.map +1 -1
  1077. package/es/illustration/Files.stories.js +1 -1
  1078. package/es/illustration/Files.stories.js.map +1 -1
  1079. package/es/illustration/Files140.stories.js +1 -1
  1080. package/es/illustration/Files140.stories.js.map +1 -1
  1081. package/es/illustration/FinanceContract56.stories.js +1 -1
  1082. package/es/illustration/FinanceContract56.stories.js.map +1 -1
  1083. package/es/illustration/FolderArrow140.stories.js +1 -1
  1084. package/es/illustration/FolderArrow140.stories.js.map +1 -1
  1085. package/es/illustration/FolderFloat140.stories.js +1 -1
  1086. package/es/illustration/FolderFloat140.stories.js.map +1 -1
  1087. package/es/illustration/FolderPlane140.stories.js +1 -1
  1088. package/es/illustration/FolderPlane140.stories.js.map +1 -1
  1089. package/es/illustration/FolderStar140.stories.js +1 -1
  1090. package/es/illustration/FolderStar140.stories.js.map +1 -1
  1091. package/es/illustration/Gavel56.stories.js +1 -1
  1092. package/es/illustration/Gavel56.stories.js.map +1 -1
  1093. package/es/illustration/Handshake56.stories.js +1 -1
  1094. package/es/illustration/Handshake56.stories.js.map +1 -1
  1095. package/es/illustration/HandshakeAgreement56.stories.js +1 -1
  1096. package/es/illustration/HandshakeAgreement56.stories.js.map +1 -1
  1097. package/es/illustration/HatWand140.stories.js +1 -1
  1098. package/es/illustration/HatWand140.stories.js.map +1 -1
  1099. package/es/illustration/Keynote56.stories.js +1 -1
  1100. package/es/illustration/Keynote56.stories.js.map +1 -1
  1101. package/es/illustration/LegalContract56.stories.js +1 -1
  1102. package/es/illustration/LegalContract56.stories.js.map +1 -1
  1103. package/es/illustration/LegalFolder56.stories.js +1 -1
  1104. package/es/illustration/LegalFolder56.stories.js.map +1 -1
  1105. package/es/illustration/LimitedApp56.stories.js +1 -1
  1106. package/es/illustration/LimitedApp56.stories.js.map +1 -1
  1107. package/es/illustration/MarketingPlan56.stories.js +1 -1
  1108. package/es/illustration/MarketingPlan56.stories.js.map +1 -1
  1109. package/es/illustration/Megaphone140.stories.js +1 -1
  1110. package/es/illustration/Megaphone140.stories.js.map +1 -1
  1111. package/es/illustration/MetricsReview56.stories.js +1 -1
  1112. package/es/illustration/MetricsReview56.stories.js.map +1 -1
  1113. package/es/illustration/Microphone140.stories.js +1 -1
  1114. package/es/illustration/Microphone140.stories.js.map +1 -1
  1115. package/es/illustration/Missing140.stories.js +1 -1
  1116. package/es/illustration/Missing140.stories.js.map +1 -1
  1117. package/es/illustration/MoneyStack56.stories.js +1 -1
  1118. package/es/illustration/MoneyStack56.stories.js.map +1 -1
  1119. package/es/illustration/MonthlyReport56.stories.js +1 -1
  1120. package/es/illustration/MonthlyReport56.stories.js.map +1 -1
  1121. package/es/illustration/NotesStar140.stories.js +1 -1
  1122. package/es/illustration/NotesStar140.stories.js.map +1 -1
  1123. package/es/illustration/PlanSelection140.stories.js +1 -1
  1124. package/es/illustration/PlanSelection140.stories.js.map +1 -1
  1125. package/es/illustration/Playbook56.stories.js +1 -1
  1126. package/es/illustration/Playbook56.stories.js.map +1 -1
  1127. package/es/illustration/ProjectFolder56.stories.js +1 -1
  1128. package/es/illustration/ProjectFolder56.stories.js.map +1 -1
  1129. package/es/illustration/RecentFiles140.stories.js +1 -1
  1130. package/es/illustration/RecentFiles140.stories.js.map +1 -1
  1131. package/es/illustration/RelayPlanet140.stories.js +1 -1
  1132. package/es/illustration/RelayPlanet140.stories.js.map +1 -1
  1133. package/es/illustration/SalesContract56.stories.js +1 -1
  1134. package/es/illustration/SalesContract56.stories.js.map +1 -1
  1135. package/es/illustration/Sandbox140.stories.js +1 -1
  1136. package/es/illustration/Sandbox140.stories.js.map +1 -1
  1137. package/es/illustration/TaskList56.stories.js +1 -1
  1138. package/es/illustration/TaskList56.stories.js.map +1 -1
  1139. package/es/illustration/Transfers140.stories.js +1 -1
  1140. package/es/illustration/Transfers140.stories.js.map +1 -1
  1141. package/es/illustration/TrashEmpty140.stories.js +1 -1
  1142. package/es/illustration/TrashEmpty140.stories.js.map +1 -1
  1143. package/es/illustration/Unplugged140.stories.js +1 -1
  1144. package/es/illustration/Unplugged140.stories.js.map +1 -1
  1145. package/es/illustration/UploadCloud140.stories.js +1 -1
  1146. package/es/illustration/UploadCloud140.stories.js.map +1 -1
  1147. package/es/illustration/UserOrbit56.stories.js +1 -1
  1148. package/es/illustration/UserOrbit56.stories.js.map +1 -1
  1149. package/es/src/components/avatar/Avatar.d.ts +2 -2
  1150. package/es/src/components/avatar/Avatar.stories.d.ts +2 -2
  1151. package/es/src/components/badge/Badge.d.ts +1 -1
  1152. package/es/src/components/badge/types.d.ts +1 -1
  1153. package/es/src/components/badgeable/Badgeable.d.ts +1 -1
  1154. package/es/src/components/button/Button.d.ts +1 -1
  1155. package/es/src/components/checkbox/CheckboxField.d.ts +1 -1
  1156. package/es/src/components/close-button/CloseButton.d.ts +2 -2
  1157. package/es/src/components/close-button/CloseButton.stories.d.ts +2 -2
  1158. package/es/src/components/count-badge/CountBadge.d.ts +1 -1
  1159. package/es/src/components/date-picker/DatePicker.d.ts +9 -9
  1160. package/es/src/components/date-picker/DatePicker.stories.d.ts +2 -2
  1161. package/es/src/components/footer-indicator/FooterIndicator.d.ts +1 -1
  1162. package/es/src/components/ghost/Ghost.d.ts +2 -2
  1163. package/es/src/components/ghost/Ghost.stories.d.ts +3 -3
  1164. package/es/src/components/guide-tooltip/GuideTooltip.d.ts +2 -2
  1165. package/es/src/components/header/Header.d.ts +1 -1
  1166. package/es/src/components/image-tooltip/ImageTooltip.d.ts +2 -2
  1167. package/es/src/components/image-tooltip/ImageTooltipContent.d.ts +2 -2
  1168. package/es/src/components/label/HiddenLabel.d.ts +3 -1
  1169. package/es/src/components/label/Label.d.ts +3 -1
  1170. package/es/src/components/label/Label.stories.d.ts +1 -1
  1171. package/es/src/components/label/LabelPrimitive.d.ts +3 -1
  1172. package/es/src/components/label/StandardLabel.d.ts +3 -1
  1173. package/es/src/components/loading-indicator/makeLoadable.d.ts +1 -1
  1174. package/es/src/components/media/Media.d.ts +2 -2
  1175. package/es/src/components/media/MediaMenu.d.ts +2 -2
  1176. package/es/src/components/media/stories/Media.stories.d.ts +2 -2
  1177. package/es/src/components/media/stories/MediaMenu.stories.d.ts +2 -2
  1178. package/es/src/components/menu/Menu.d.ts +1 -1
  1179. package/es/src/components/menu/MenuContext.d.ts +1 -1
  1180. package/es/src/components/plain-button/index.d.ts +1 -1
  1181. package/es/src/components/preview/PreviewLoading.d.ts +1 -1
  1182. package/es/src/components/preview/PreviewLoadingRing.d.ts +1 -1
  1183. package/es/src/components/preview/previewIcons.d.ts +7 -3
  1184. package/es/src/components/radio/RadioButtonField.d.ts +1 -1
  1185. package/es/src/components/radio/RadioGroup.d.ts +1 -1
  1186. package/es/src/components/radio/RadioGroupField.d.ts +1 -1
  1187. package/es/src/components/search-form/SearchActions.d.ts +16 -0
  1188. package/es/src/components/search-form/messages.d.ts +18 -0
  1189. package/es/src/components/time-input/TimeInput.d.ts +3 -3
  1190. package/es/src/components/time-input/TimeInput.stories.d.ts +2 -2
  1191. package/es/src/components/time-input/TimeInputUtils.d.ts +2 -2
  1192. package/es/src/components/tooltip/CloseButton.d.ts +3 -3
  1193. package/es/src/components/tooltip/Tooltip.d.ts +10 -10
  1194. package/es/src/components/tooltip/index.d.ts +1 -1
  1195. package/es/src/elements/common/annotator-context/types.d.ts +2 -2
  1196. package/es/src/elements/common/annotator-context/withAnnotations.d.ts +5 -5
  1197. package/es/src/elements/common/current-user/withCurrentUser.d.ts +4 -4
  1198. package/es/src/elements/common/nav-router/NavRouter.d.ts +1 -1
  1199. package/es/src/elements/common/nav-router/types.d.ts +1 -1
  1200. package/es/src/elements/content-preview/PreviewMask.d.ts +1 -1
  1201. package/es/src/elements/content-sidebar/SidebarNavSignButton.d.ts +24 -4
  1202. package/es/src/elements/content-sidebar/activity-feed/ActivityCard.d.ts +1 -1
  1203. package/es/src/elements/content-sidebar/activity-feed/SelectableActivityCard.d.ts +1 -1
  1204. package/es/src/elements/content-sidebar/activity-feed/activity-feed/ActivityItem.d.ts +1 -1
  1205. package/es/src/elements/content-sidebar/activity-feed/annotations/AnnotationActivityLink.d.ts +3 -3
  1206. package/es/src/elements/content-sidebar/activity-feed/common/activity-datestamp/ActivityDatestamp.d.ts +2 -2
  1207. package/es/src/elements/content-sidebar/activity-feed/illustrations/ActivityFeedEmptyStateIllustration.d.ts +1 -1
  1208. package/es/src/features/content-answers/Answer.d.ts +7 -0
  1209. package/es/src/features/content-answers/ContentAnswers.d.ts +10 -0
  1210. package/es/src/features/content-answers/ContentAnswersGridCard.d.ts +7 -0
  1211. package/es/src/features/content-answers/ContentAnswersModal.d.ts +10 -0
  1212. package/es/src/features/content-answers/ContentAnswersModalContent.d.ts +11 -0
  1213. package/es/src/features/content-answers/ContentAnswersModalError.d.ts +3 -0
  1214. package/es/src/features/content-answers/ContentAnswersModalFooter.d.ts +18 -0
  1215. package/es/src/features/content-answers/ContentAnswersModalFooterActions.d.ts +7 -0
  1216. package/es/src/features/content-answers/ContentAnswersOpenButton.d.ts +16 -0
  1217. package/es/src/features/content-answers/InlineError.d.ts +3 -0
  1218. package/es/src/features/content-answers/LoadingElement.d.ts +3 -0
  1219. package/es/src/features/content-answers/Question.d.ts +8 -0
  1220. package/es/src/features/content-answers/WelcomeMessage.d.ts +6 -0
  1221. package/es/src/features/content-answers/__mocks__/mocks.d.ts +23 -0
  1222. package/es/src/features/content-answers/__tests__/Answer.test.d.ts +1 -0
  1223. package/es/src/features/content-answers/__tests__/ContentAnswers.test.d.ts +1 -0
  1224. package/es/src/features/content-answers/__tests__/ContentAnswersGridCard.test.d.ts +1 -0
  1225. package/es/src/features/content-answers/__tests__/ContentAnswersModal.test.d.ts +1 -0
  1226. package/es/src/features/content-answers/__tests__/ContentAnswersModalContent.test.d.ts +1 -0
  1227. package/es/src/features/content-answers/__tests__/ContentAnswersModalError.test.d.ts +1 -0
  1228. package/es/src/features/content-answers/__tests__/ContentAnswersModalFooter.test.d.ts +1 -0
  1229. package/es/src/features/content-answers/__tests__/ContentAnswersModalFooterActions.d.ts +1 -0
  1230. package/es/src/features/content-answers/__tests__/ContentAnswersOpenButton.test.d.ts +1 -0
  1231. package/es/src/features/content-answers/__tests__/InlineError.test.d.ts +1 -0
  1232. package/es/src/features/content-answers/__tests__/Question.test.d.ts +1 -0
  1233. package/es/src/features/content-answers/__tests__/WelcomeMessage.test.d.ts +1 -0
  1234. package/es/src/features/content-answers/constants.d.ts +7 -0
  1235. package/es/src/features/content-answers/index.d.ts +1 -0
  1236. package/es/src/features/content-answers/messages.d.ts +83 -0
  1237. package/es/src/features/content-insights/CompactCount.d.ts +2 -2
  1238. package/es/src/features/content-insights/GraphCardPreviewsSummary.d.ts +2 -2
  1239. package/es/src/features/content-insights/MetricSummary.d.ts +2 -2
  1240. package/es/src/features/content-insights/TrendPill.d.ts +2 -2
  1241. package/es/src/features/content-insights/charts/bar/BarChart.d.ts +1 -1
  1242. package/es/src/features/content-insights/charts/types.d.ts +2 -2
  1243. package/es/src/features/content-insights/constants.d.ts +30 -18
  1244. package/es/src/features/content-insights/types.d.ts +9 -9
  1245. package/es/src/features/presence/PresenceAvatarList.d.ts +2 -2
  1246. package/es/src/features/presence/PresenceAvatarTooltipContent.d.ts +15 -3
  1247. package/es/src/features/sandbox-banner/SandboxBanner.d.ts +1 -1
  1248. package/es/src/icons/file/IconFileBase.d.ts +1 -1
  1249. package/es/styles/colors.stories.js +1 -1
  1250. package/es/styles/colors.stories.js.map +1 -1
  1251. package/es/styles/common/_buttons.scss +1 -1
  1252. package/es/styles/constants/_buttons.scss +1 -0
  1253. package/es/styles/typography.stories.js +1 -1
  1254. package/es/styles/typography.stories.js.map +1 -1
  1255. package/es/utils/Browser.js +11 -0
  1256. package/es/utils/Browser.js.flow +10 -0
  1257. package/es/utils/Browser.js.map +1 -1
  1258. package/es/utils/comparator.js +1 -1
  1259. package/es/utils/comparator.js.flow +1 -1
  1260. package/es/utils/comparator.js.map +1 -1
  1261. package/es/utils/createTheme.stories.js +1 -1
  1262. package/es/utils/createTheme.stories.js.flow +1 -1
  1263. package/es/utils/createTheme.stories.js.map +1 -1
  1264. package/es/utils/fields.js +3 -3
  1265. package/es/utils/fields.js.flow +3 -0
  1266. package/es/utils/fields.js.map +1 -1
  1267. package/es/utils/flatten.js +1 -1
  1268. package/es/utils/flatten.js.flow +6 -1
  1269. package/es/utils/flatten.js.map +1 -1
  1270. package/es/utils/size.js +5 -5
  1271. package/es/utils/size.js.flow +5 -5
  1272. package/es/utils/size.js.map +1 -1
  1273. package/es/utils/sorter.js +1 -1
  1274. package/es/utils/sorter.js.flow +1 -1
  1275. package/es/utils/sorter.js.map +1 -1
  1276. package/flow-typed/box-ui-elements.js +1 -0
  1277. package/i18n/bn-IN.js +19 -1
  1278. package/i18n/bn-IN.properties +38 -2
  1279. package/i18n/da-DK.js +19 -1
  1280. package/i18n/da-DK.properties +38 -2
  1281. package/i18n/de-DE.js +19 -1
  1282. package/i18n/de-DE.properties +38 -2
  1283. package/i18n/en-AU.js +19 -1
  1284. package/i18n/en-AU.properties +38 -2
  1285. package/i18n/en-CA.js +19 -1
  1286. package/i18n/en-CA.properties +38 -2
  1287. package/i18n/en-GB.js +19 -1
  1288. package/i18n/en-GB.properties +38 -2
  1289. package/i18n/en-US.js +19 -1
  1290. package/i18n/en-US.properties +38 -2
  1291. package/i18n/en-x-pseudo.js +943 -926
  1292. package/i18n/en-x-pseudo.properties +962 -926
  1293. package/i18n/es-419.js +19 -1
  1294. package/i18n/es-419.properties +38 -2
  1295. package/i18n/es-ES.js +19 -1
  1296. package/i18n/es-ES.properties +38 -2
  1297. package/i18n/fi-FI.js +19 -1
  1298. package/i18n/fi-FI.properties +38 -2
  1299. package/i18n/fr-CA.js +19 -1
  1300. package/i18n/fr-CA.properties +38 -2
  1301. package/i18n/fr-FR.js +19 -1
  1302. package/i18n/fr-FR.properties +38 -2
  1303. package/i18n/hi-IN.js +19 -1
  1304. package/i18n/hi-IN.properties +38 -2
  1305. package/i18n/it-IT.js +19 -1
  1306. package/i18n/it-IT.properties +38 -2
  1307. package/i18n/ja-JP.js +29 -11
  1308. package/i18n/ja-JP.properties +48 -12
  1309. package/i18n/ko-KR.js +19 -1
  1310. package/i18n/ko-KR.properties +38 -2
  1311. package/i18n/nb-NO.js +19 -1
  1312. package/i18n/nb-NO.properties +38 -2
  1313. package/i18n/nl-NL.js +19 -1
  1314. package/i18n/nl-NL.properties +38 -2
  1315. package/i18n/pl-PL.js +19 -1
  1316. package/i18n/pl-PL.properties +38 -2
  1317. package/i18n/pt-BR.js +19 -1
  1318. package/i18n/pt-BR.properties +38 -2
  1319. package/i18n/ru-RU.js +19 -1
  1320. package/i18n/ru-RU.properties +38 -2
  1321. package/i18n/sv-SE.js +19 -1
  1322. package/i18n/sv-SE.properties +38 -2
  1323. package/i18n/tr-TR.js +19 -1
  1324. package/i18n/tr-TR.properties +38 -2
  1325. package/i18n/zh-CN.js +19 -1
  1326. package/i18n/zh-CN.properties +38 -2
  1327. package/i18n/zh-TW.js +19 -1
  1328. package/i18n/zh-TW.properties +38 -2
  1329. package/package.json +48 -36
  1330. package/src/api/APIFactory.js +25 -0
  1331. package/src/api/Intelligence.js +47 -0
  1332. package/src/api/__tests__/Intelligence.test.js +81 -0
  1333. package/src/api/__tests__/Item.test.js +1 -1
  1334. package/src/api/uploads/__tests__/BaseUpload.test.js +5 -5
  1335. package/src/api/uploads/__tests__/FolderUpload.test.js +1 -1
  1336. package/src/api/uploads/__tests__/FolderUploadNode.test.js +1 -1
  1337. package/src/api/uploads/__tests__/MultiputUpload.test.js +1 -1
  1338. package/src/common/types/core.js +1 -0
  1339. package/src/components/accessible-svg/AccessibleSVG.stories.tsx +1 -1
  1340. package/src/components/avatar/Avatar.stories.tsx +1 -1
  1341. package/src/components/badge/Badge.stories.tsx +1 -1
  1342. package/src/components/badge/BetaBadge.stories.tsx +1 -1
  1343. package/src/components/badge/TrialBadge.stories.tsx +1 -1
  1344. package/src/components/badge/UpgradeBadge.stories.tsx +1 -1
  1345. package/src/components/breadcrumb/Breadcrumb.stories.js +1 -1
  1346. package/src/components/button/Button.stories.tsx +1 -1
  1347. package/src/components/button-group/ButtonGroup.stories.tsx +1 -1
  1348. package/src/components/category-selector/CategorySelector.stories.tsx +1 -1
  1349. package/src/components/checkbox/Checkbox.stories.tsx +1 -1
  1350. package/src/components/close-button/CloseButton.stories.tsx +1 -1
  1351. package/src/components/collapsible/Collapsible.stories.tsx +1 -1
  1352. package/src/components/collapsible/__tests__/__snapshots__/Collapsible.test.tsx.snap +14 -14
  1353. package/src/components/contact-datalist-item/ContactDatalistItem.stories.tsx +1 -1
  1354. package/src/components/context-menu/ContextMenu.stories.tsx +1 -1
  1355. package/src/components/count-badge/CountBadge.stories.tsx +1 -1
  1356. package/src/components/datalist-item/DatalistItem.stories.tsx +1 -1
  1357. package/src/components/date-picker/DatePicker.stories.tsx +1 -1
  1358. package/src/components/draft-js-editor/DraftJSEditor.stories.js +1 -1
  1359. package/src/components/draggable-list/DraggableList.stories.tsx +1 -1
  1360. package/src/components/dropdown-menu/DropdownMenu.stories.js +1 -1
  1361. package/src/components/error-mask/ErrorMask.stories.tsx +1 -1
  1362. package/src/components/fieldset/Fieldset.stories.tsx +1 -1
  1363. package/src/components/flyout/Flyout.stories.tsx +1 -1
  1364. package/src/components/flyout/OverlayHeader.tsx +1 -1
  1365. package/src/components/footer-indicator/FooterIndicator.stories.tsx +1 -1
  1366. package/src/components/form-elements/form/Form.stories.js +1 -1
  1367. package/src/components/form-elements/formik/Formik.stories.js +1 -1
  1368. package/src/components/form-elements/text-area/TextArea.stories.js +1 -1
  1369. package/src/components/form-elements/text-input/TextInput.stories.js +1 -1
  1370. package/src/components/ghost/Ghost.stories.tsx +1 -1
  1371. package/src/components/grid-view/__tests__/__snapshots__/GridView.test.js.snap +4 -4
  1372. package/src/components/guide-tooltip/GuideTooltip.stories.tsx +1 -1
  1373. package/src/components/header/Header.stories.tsx +1 -1
  1374. package/src/components/image-tooltip/ImageTooltip.stories.tsx +1 -1
  1375. package/src/components/inline-error/InlineError.stories.js +1 -1
  1376. package/src/components/inline-notice/InlineNotice.stories.js +1 -1
  1377. package/src/components/label/HiddenLabel.js.flow +3 -2
  1378. package/src/components/label/HiddenLabel.tsx +4 -2
  1379. package/src/components/label/Label.js.flow +5 -3
  1380. package/src/components/label/Label.stories.tsx +1 -1
  1381. package/src/components/label/Label.tsx +18 -3
  1382. package/src/components/label/LabelPrimitive.js.flow +3 -2
  1383. package/src/components/label/LabelPrimitive.tsx +4 -2
  1384. package/src/components/label/StandardLabel.js.flow +3 -2
  1385. package/src/components/label/StandardLabel.tsx +4 -2
  1386. package/src/components/label/__tests__/__snapshots__/Label.test.tsx.snap +2 -2
  1387. package/src/components/label/__tests__/__snapshots__/StandardLabel.test.tsx.snap +1 -1
  1388. package/src/components/label-pill/LabelPill.stories.tsx +1 -1
  1389. package/src/components/link/stories/Link.stories.tsx +2 -1
  1390. package/src/components/link/stories/LinkButton.stories.tsx +3 -1
  1391. package/src/components/link/stories/LinkGroup.stories.tsx +1 -1
  1392. package/src/components/link/stories/LinkPrimaryButton.stories.tsx +2 -1
  1393. package/src/components/loading-indicator/LoadingIndicator.stories.tsx +1 -1
  1394. package/src/components/loading-indicator/LoadingIndicatorWrapper.stories.tsx +1 -1
  1395. package/src/components/loading-indicator/makeLoadable.tsx +2 -4
  1396. package/src/components/logo/Logo.stories.tsx +1 -1
  1397. package/src/components/media/stories/Media.stories.tsx +1 -1
  1398. package/src/components/media/stories/MediaBody.stories.tsx +1 -1
  1399. package/src/components/media/stories/MediaFigure.stories.tsx +1 -1
  1400. package/src/components/media/stories/MediaMenu.stories.tsx +1 -1
  1401. package/src/components/media-query/stories/MediaQuery.stories.js +1 -1
  1402. package/src/components/menu/stories/Menu.stories.tsx +1 -1
  1403. package/src/components/menu/stories/SelectMenuLinkItem.stories.tsx +1 -1
  1404. package/src/components/modal/Modal.scss +62 -69
  1405. package/src/components/modal/stories/Modal.stories.js +1 -1
  1406. package/src/components/modal/stories/ModalActions.stories.js +1 -1
  1407. package/src/components/modal/stories/ModalDialog.stories.js +1 -1
  1408. package/src/components/nav-sidebar/NavSidebar.stories.js +1 -1
  1409. package/src/components/notification/stories/Notification.stories.js +1 -1
  1410. package/src/components/notification/stories/NotificationsWrapper.stories.js +1 -1
  1411. package/src/components/nudge/Nudge.stories.tsx +1 -1
  1412. package/src/components/pill-cloud/PillCloud.stories.js +1 -1
  1413. package/src/components/pill-selector-dropdown/PillSelector.js +10 -2
  1414. package/src/components/pill-selector-dropdown/PillSelector.scss +4 -0
  1415. package/src/components/pill-selector-dropdown/PillSelectorDropdown.stories.js +1 -1
  1416. package/src/components/pill-selector-dropdown/__tests__/PillSelector.test.js +21 -0
  1417. package/src/components/pill-selector-dropdown/__tests__/__snapshots__/PillSelector.test.js.snap +1 -1
  1418. package/src/components/pill-selector-dropdown/__tests__/__snapshots__/PillSelectorDropdown.test.js.snap +1 -1
  1419. package/src/components/pill-selector-dropdown/__tests__/__snapshots__/PillSelectorDropdownField.test.js.snap +12 -12
  1420. package/src/components/pill-selector-dropdown/__tests__/__snapshots__/defaultDropdownRenderer.test.js.snap +1 -1
  1421. package/src/components/plain-button/PlainButton.stories.tsx +1 -1
  1422. package/src/components/plain-button/__tests__/__snapshots__/PlainButton.test.tsx.snap +4 -4
  1423. package/src/components/primary-button/PrimaryButton.stories.tsx +1 -1
  1424. package/src/components/radar/RadarAnimation.stories.tsx +1 -1
  1425. package/src/components/radar/__tests__/__snapshots__/RadarAnimation.test.tsx.snap +20 -20
  1426. package/src/components/radio/stories/RadioButton.stories.tsx +1 -1
  1427. package/src/components/radio/stories/RadioGroup.stories.tsx +1 -1
  1428. package/src/components/search-form/SearchActions.tsx +50 -0
  1429. package/src/components/search-form/SearchForm.js +10 -54
  1430. package/src/components/search-form/__tests__/SearchForm.test.js +9 -5
  1431. package/src/components/search-form/messages.ts +21 -0
  1432. package/src/components/section/Section.stories.tsx +1 -1
  1433. package/src/components/select/Select.stories.js +1 -1
  1434. package/src/components/select-button/SelectButton.stories.js +1 -1
  1435. package/src/components/select-field/__tests__/__snapshots__/BaseSelectField.test.js.snap +1 -1
  1436. package/src/components/selector-dropdown/SelectorDropdown.stories.js +1 -1
  1437. package/src/components/sidebar-toggle-button/SidebarToggleButton.stories.js +1 -1
  1438. package/src/components/sidebar-toggle-button/__tests__/__snapshots__/SidebarToggleButton.test.js.snap +12 -12
  1439. package/src/components/tab-view/TabView.stories.js +1 -1
  1440. package/src/components/text-area/__tests__/__snapshots__/TextArea.test.js.snap +3 -3
  1441. package/src/components/text-input/TextInput.stories.js +1 -1
  1442. package/src/components/text-input-with-copy-button/TextInputWithCopyButton.js +9 -4
  1443. package/src/components/text-input-with-copy-button/TextInputWithCopyButton.stories.js +1 -1
  1444. package/src/components/thumbnail-card/ThumbnailCard.stories.js +1 -1
  1445. package/src/components/time/ReadableTime.stories.js +1 -1
  1446. package/src/components/time-input/TimeInput.stories.tsx +1 -1
  1447. package/src/components/toggle/Toggle.stories.js +1 -1
  1448. package/src/components/tooltip/Tooltip.stories.tsx +1 -1
  1449. package/src/components/tooltip/__tests__/__snapshots__/Tooltip.test.tsx.snap +14 -14
  1450. package/src/constants.js +1 -0
  1451. package/src/elements/common/_variables.scss +1 -0
  1452. package/src/elements/common/current-user/withCurrentUser.tsx +1 -0
  1453. package/src/elements/common/feature-checking/__tests__/withFeatureProvider.test.js +25 -25
  1454. package/src/elements/common/logger/__tests__/__snapshots__/Logger.test.js.snap +1 -1
  1455. package/src/elements/common/selectors/__tests__/version.js +13 -11
  1456. package/src/elements/common/selectors/version.js +2 -1
  1457. package/src/elements/content-explorer/ContentExplorer.js +10 -4
  1458. package/src/elements/content-explorer/MoreOptions.js +1 -1
  1459. package/src/elements/content-explorer/PreviewDialog.js +0 -1
  1460. package/src/elements/content-explorer/__tests__/ContentExplorer.test.js +60 -0
  1461. package/src/elements/content-explorer/stories/ContentExplorer.stories.js +25 -36
  1462. package/src/elements/content-explorer/stories/DeleteConfirmationDialog.stories.js +1 -1
  1463. package/src/elements/content-explorer/stories/ShareDialog.stories.js +1 -1
  1464. package/src/elements/content-open-with/__tests__/__snapshots__/BoxToolsInstallMessage.test.js.snap +2 -2
  1465. package/src/elements/content-open-with/__tests__/__snapshots__/ContentOpenWith.test.js.snap +6 -6
  1466. package/src/elements/content-open-with/__tests__/__snapshots__/OpenWithDropdownMenu.test.js.snap +1 -1
  1467. package/src/elements/content-picker/ContentPicker.js +2 -2
  1468. package/src/elements/content-picker/Footer.scss +6 -0
  1469. package/src/elements/content-preview/ContentPreview.js +88 -64
  1470. package/src/elements/content-preview/ContentPreview.scss +13 -28
  1471. package/src/elements/content-preview/__tests__/ContentPreview.test.js +6 -5
  1472. package/src/elements/content-preview/__tests__/__snapshots__/PreviewNavigation.test.js.snap +93 -93
  1473. package/src/elements/content-preview/preview-header/PreviewHeader.js +6 -0
  1474. package/src/elements/content-preview/preview-header/__tests__/PreviewHeader.test.js +25 -0
  1475. package/src/elements/content-preview/stories/ContentPreview.stories.js +51 -81
  1476. package/src/elements/content-sharing/stories/ContentSharing.stories.js +18 -84
  1477. package/src/elements/content-sidebar/ActivitySidebar.js +2 -2
  1478. package/src/elements/content-sidebar/ContentSidebar.scss +9 -9
  1479. package/src/elements/content-sidebar/SidebarContent.scss +6 -8
  1480. package/src/elements/content-sidebar/SidebarNav.scss +22 -20
  1481. package/src/elements/content-sidebar/SidebarNavButton.scss +12 -14
  1482. package/src/elements/content-sidebar/SidebarNavSignButton.scss +6 -8
  1483. package/src/elements/content-sidebar/__tests__/ActivitySidebar.test.js +8 -4
  1484. package/src/elements/content-sidebar/__tests__/__snapshots__/ActivitySidebar.test.js.snap +5 -5
  1485. package/src/elements/content-sidebar/__tests__/__snapshots__/DetailsSidebar.test.js.snap +9 -9
  1486. package/src/elements/content-sidebar/__tests__/__snapshots__/MetadataSidebar.test.js.snap +6 -6
  1487. package/src/elements/content-sidebar/__tests__/__snapshots__/SidebarAccessStats.test.js.snap +12 -12
  1488. package/src/elements/content-sidebar/__tests__/__snapshots__/SidebarClassification.test.js.snap +3 -3
  1489. package/src/elements/content-sidebar/__tests__/__snapshots__/SidebarFileProperties.test.js.snap +10 -10
  1490. package/src/elements/content-sidebar/__tests__/__snapshots__/SidebarNotices.test.js.snap +2 -2
  1491. package/src/elements/content-sidebar/__tests__/__snapshots__/SkillsSidebar.test.js.snap +3 -3
  1492. package/src/elements/content-sidebar/__tests__/__snapshots__/TaskModal.test.js.snap +15 -15
  1493. package/src/elements/content-sidebar/activity-feed/__tests__/__snapshots__/Avatar.test.js.snap +1 -1
  1494. package/src/elements/content-sidebar/activity-feed/activity-feed/ActiveState.js +20 -2
  1495. package/src/elements/content-sidebar/activity-feed/activity-feed/ActivityFeed.js +7 -6
  1496. package/src/elements/content-sidebar/activity-feed/activity-feed/ActivityFeed.scss +6 -4
  1497. package/src/elements/content-sidebar/activity-feed/activity-feed/ActivityItem.scss +2 -2
  1498. package/src/elements/content-sidebar/activity-feed/activity-feed/__tests__/ActiveState.test.js +36 -0
  1499. package/src/elements/content-sidebar/activity-feed/activity-feed/__tests__/__snapshots__/ActiveState.test.js.snap +35 -35
  1500. package/src/elements/content-sidebar/activity-feed/activity-feed/stories/ActivityFeed.stories.js +70 -0
  1501. package/src/elements/content-sidebar/activity-feed/annotation-thread/AnnotationThreadContent.js +2 -2
  1502. package/src/elements/content-sidebar/activity-feed/annotation-thread/__tests__/useAnnotationThread.test.js +4 -2
  1503. package/src/elements/content-sidebar/activity-feed/annotation-thread/useAnnotationThread.js +3 -7
  1504. package/src/elements/content-sidebar/activity-feed/annotations/AnnotationActivity.js +3 -3
  1505. package/src/elements/content-sidebar/activity-feed/app-activity/__tests__/__snapshots__/AppActivity.test.js.snap +2 -2
  1506. package/src/elements/content-sidebar/activity-feed/comment/BaseComment.js +59 -166
  1507. package/src/elements/content-sidebar/activity-feed/comment/BaseComment.scss +34 -12
  1508. package/src/elements/content-sidebar/activity-feed/comment/CreateReply.js +5 -4
  1509. package/src/elements/content-sidebar/activity-feed/comment/Replies.scss +4 -2
  1510. package/src/elements/content-sidebar/activity-feed/comment/__tests__/BaseComment.test.js +18 -6
  1511. package/src/elements/content-sidebar/activity-feed/comment/__tests__/CreateReply.test.js +12 -0
  1512. package/src/elements/content-sidebar/activity-feed/comment/__tests__/Replies.test.js +25 -1
  1513. package/src/elements/content-sidebar/activity-feed/comment/__tests__/__snapshots__/Comment.test.js.snap +8 -8
  1514. package/src/elements/content-sidebar/activity-feed/comment/components/BaseCommentInfo.js +72 -0
  1515. package/src/elements/content-sidebar/activity-feed/comment/components/BaseCommentInfo.scss +38 -0
  1516. package/src/elements/content-sidebar/activity-feed/comment/components/BaseCommentMenu.js +125 -0
  1517. package/src/elements/content-sidebar/activity-feed/comment/components/BaseCommentMenu.scss +4 -0
  1518. package/src/elements/content-sidebar/activity-feed/comment/components/BaseCommentMenuWrapper.js +91 -0
  1519. package/src/elements/content-sidebar/activity-feed/comment/components/__tests__/BaseCommentInfo.test.js +51 -0
  1520. package/src/elements/content-sidebar/activity-feed/comment/components/__tests__/BaseCommentMenu.test.js +85 -0
  1521. package/src/elements/content-sidebar/activity-feed/comment/components/stories/BaseCommentInfo.stories.js +25 -0
  1522. package/src/elements/content-sidebar/activity-feed/comment/components/stories/BaseCommentMenu.stories.js +26 -0
  1523. package/src/elements/content-sidebar/activity-feed/comment/components/stories/common.js +28 -0
  1524. package/src/elements/content-sidebar/activity-feed/comment/messages.js +5 -5
  1525. package/src/elements/content-sidebar/activity-feed/comment/stories/BaseComment.stories.js +1 -1
  1526. package/src/elements/content-sidebar/activity-feed/comment/stories/common.js +1 -1
  1527. package/src/elements/content-sidebar/activity-feed/comment/types.js +13 -0
  1528. package/src/elements/content-sidebar/activity-feed/comment-form/CommentForm.js +11 -3
  1529. package/src/elements/content-sidebar/activity-feed/comment-form/__tests__/CommentForm.test.js +37 -21
  1530. package/src/elements/content-sidebar/activity-feed/common/activity-timestamp/__tests__/__snapshots__/ActivityTimestamp.test.js.snap +1 -1
  1531. package/src/elements/content-sidebar/activity-feed/common/delete-confirmation/DeleteConfirmation.js +2 -0
  1532. package/src/elements/content-sidebar/activity-feed/common/delete-confirmation/DeleteConfirmation.scss +1 -1
  1533. package/src/elements/content-sidebar/activity-feed/task-form/__tests__/__snapshots__/TaskError.test.js.snap +10 -10
  1534. package/src/elements/content-sidebar/activity-feed/task-new/Task.js +7 -2
  1535. package/src/elements/content-sidebar/activity-feed/task-new/__tests__/__snapshots__/AssigneeDetails.test.js.snap +9 -9
  1536. package/src/elements/content-sidebar/activity-feed/task-new/__tests__/__snapshots__/Task.test.js.snap +30 -21
  1537. package/src/elements/content-sidebar/activity-feed/task-new/__tests__/__snapshots__/TaskDueDate.test.js.snap +1 -1
  1538. package/src/elements/content-sidebar/activity-feed/task-new/messages.js +10 -0
  1539. package/src/elements/content-sidebar/activity-feed/version/__tests__/__snapshots__/CollapsedVersion.test.js.snap +2 -2
  1540. package/src/elements/content-sidebar/additional-tabs/__tests__/__snapshots__/AdditionalTabsLoading.test.js.snap +1 -1
  1541. package/src/elements/content-sidebar/skills/__tests__/__snapshots__/SidebarSkills.test.js.snap +208 -208
  1542. package/src/elements/content-sidebar/skills/__tests__/__snapshots__/SidebarSkillsCard.test.js.snap +5 -5
  1543. package/src/elements/content-sidebar/skills/faces/__tests__/__snapshots__/Faces.test.js.snap +23 -23
  1544. package/src/elements/content-sidebar/skills/keywords/__tests__/__snapshots__/EditableKeywords.test.js.snap +3 -3
  1545. package/src/elements/content-sidebar/skills/keywords/__tests__/__snapshots__/Keywords.test.js.snap +15 -15
  1546. package/src/elements/content-sidebar/skills/keywords/__tests__/__snapshots__/ReadOnlyKeywords.test.js.snap +8 -8
  1547. package/src/elements/content-sidebar/skills/timeline/__tests__/__snapshots__/Timeslice.test.js.snap +3 -3
  1548. package/src/elements/content-sidebar/skills/transcript/__tests__/__snapshots__/EditingTranscriptRow.test.js.snap +2 -10
  1549. package/src/elements/content-sidebar/stories/ContentSidebar.stories.js +19 -28
  1550. package/src/elements/content-sidebar/versions/VersionsItem.scss +6 -0
  1551. package/src/elements/content-sidebar/versions/__tests__/VersionsItem.test.js +3 -0
  1552. package/src/elements/content-sidebar/versions/__tests__/__snapshots__/VersionsItem.test.js.snap +3 -3
  1553. package/src/elements/content-sidebar/versions/__tests__/__snapshots__/VersionsSidebar.test.js.snap +2 -2
  1554. package/src/elements/content-sidebar/versions/__tests__/__snapshots__/VersionsSidebarContainer.test.js.snap +5 -5
  1555. package/src/elements/content-uploader/ItemName.scss +1 -1
  1556. package/src/elements/content-uploader/ProgressBar.scss +4 -0
  1557. package/src/elements/content-uploader/__tests__/__snapshots__/UploadStateContent.test.js.snap +1 -1
  1558. package/src/elements/content-uploader/stories/ContentUploader.stories.js +7 -11
  1559. package/src/features/access-stats/__tests__/__snapshots__/AccessStats.test.js.snap +30 -30
  1560. package/src/features/access-stats/__tests__/__snapshots__/AccessStatsItemsList.test.js.snap +14 -14
  1561. package/src/features/classification/__tests__/__snapshots__/Classification.test.js.snap +5 -5
  1562. package/src/features/classification/security-controls/__tests__/__snapshots__/SecurityControls.test.js.snap +17 -17
  1563. package/src/features/classification/security-controls/__tests__/__snapshots__/SecurityControlsModal.test.js.snap +6 -6
  1564. package/src/features/collaborator-avatars/CollaboratorList.scss +11 -1
  1565. package/src/features/collaborator-avatars/__tests__/__snapshots__/CollaboratorList.test.js.snap +10 -10
  1566. package/src/features/collaborator-avatars/__tests__/__snapshots__/CollaboratorListItem.test.js.snap +3 -3
  1567. package/src/features/collapsible-sidebar/CollapsibleSidebar.stories.js +1 -1
  1568. package/src/features/collapsible-sidebar/__tests__/__snapshots__/CollapsibleSidebarLogo.test.js.snap +2 -2
  1569. package/src/features/collapsible-sidebar/__tests__/__snapshots__/CollapsibleSidebarNav.test.js.snap +24 -24
  1570. package/src/features/content-answers/Answer.scss +4 -0
  1571. package/src/features/content-answers/Answer.tsx +22 -0
  1572. package/src/features/content-answers/ContentAnswers.tsx +60 -0
  1573. package/src/features/content-answers/ContentAnswersGridCard.scss +26 -0
  1574. package/src/features/content-answers/ContentAnswersGridCard.tsx +27 -0
  1575. package/src/features/content-answers/ContentAnswersModal.scss +56 -0
  1576. package/src/features/content-answers/ContentAnswersModal.tsx +136 -0
  1577. package/src/features/content-answers/ContentAnswersModalContent.scss +12 -0
  1578. package/src/features/content-answers/ContentAnswersModalContent.tsx +64 -0
  1579. package/src/features/content-answers/ContentAnswersModalError.scss +28 -0
  1580. package/src/features/content-answers/ContentAnswersModalError.tsx +32 -0
  1581. package/src/features/content-answers/ContentAnswersModalFooter.scss +42 -0
  1582. package/src/features/content-answers/ContentAnswersModalFooter.tsx +103 -0
  1583. package/src/features/content-answers/ContentAnswersModalFooterActions.scss +17 -0
  1584. package/src/features/content-answers/ContentAnswersModalFooterActions.tsx +45 -0
  1585. package/src/features/content-answers/ContentAnswersOpenButton.scss +54 -0
  1586. package/src/features/content-answers/ContentAnswersOpenButton.tsx +74 -0
  1587. package/src/features/content-answers/InlineError.scss +39 -0
  1588. package/src/features/content-answers/InlineError.tsx +32 -0
  1589. package/src/features/content-answers/LoadingElement.scss +4 -0
  1590. package/src/features/content-answers/LoadingElement.tsx +17 -0
  1591. package/src/features/content-answers/Question.scss +16 -0
  1592. package/src/features/content-answers/Question.tsx +30 -0
  1593. package/src/features/content-answers/WelcomeMessage.scss +25 -0
  1594. package/src/features/content-answers/WelcomeMessage.tsx +35 -0
  1595. package/src/features/content-answers/__mocks__/mocks.ts +66 -0
  1596. package/src/features/content-answers/__tests__/Answer.test.tsx +25 -0
  1597. package/src/features/content-answers/__tests__/ContentAnswers.test.tsx +53 -0
  1598. package/src/features/content-answers/__tests__/ContentAnswersGridCard.test.tsx +21 -0
  1599. package/src/features/content-answers/__tests__/ContentAnswersModal.test.tsx +117 -0
  1600. package/src/features/content-answers/__tests__/ContentAnswersModalContent.test.tsx +104 -0
  1601. package/src/features/content-answers/__tests__/ContentAnswersModalError.test.tsx +26 -0
  1602. package/src/features/content-answers/__tests__/ContentAnswersModalFooter.test.tsx +96 -0
  1603. package/src/features/content-answers/__tests__/ContentAnswersModalFooterActions.tsx +37 -0
  1604. package/src/features/content-answers/__tests__/ContentAnswersOpenButton.test.tsx +73 -0
  1605. package/src/features/content-answers/__tests__/InlineError.test.tsx +20 -0
  1606. package/src/features/content-answers/__tests__/Question.test.tsx +21 -0
  1607. package/src/features/content-answers/__tests__/WelcomeMessage.test.tsx +24 -0
  1608. package/src/features/content-answers/constants.ts +134 -0
  1609. package/src/features/content-answers/index.ts +1 -0
  1610. package/src/features/content-answers/messages.ts +87 -0
  1611. package/src/features/content-explorer/content-explorer/ContentExplorer.js +19 -15
  1612. package/src/features/content-explorer/content-explorer/ContentExplorer.scss +4 -0
  1613. package/src/features/content-explorer/content-explorer/ContentExplorerBreadcrumbs.js +2 -0
  1614. package/src/features/content-explorer/content-explorer/__tests__/ContentExplorer.test.js +29 -0
  1615. package/src/features/content-explorer/content-explorer/__tests__/__snapshots__/ContentExplorer.test.js.snap +10 -10
  1616. package/src/features/content-explorer/content-explorer/__tests__/__snapshots__/ContentExplorerHeaderActions.test.js.snap +1 -1
  1617. package/src/features/content-explorer/content-explorer-modal/ContentExplorerModal.js +1 -0
  1618. package/src/features/content-explorer/content-explorer-modal/__tests__/__snapshots__/ContentExplorerModal.test.js.snap +10 -10
  1619. package/src/features/content-explorer/content-explorer-modal-container/ContentExplorerModalContainer.js +2 -0
  1620. package/src/features/content-explorer/item-list/__tests__/__snapshots__/ItemListIcon.test.js.snap +4 -4
  1621. package/src/features/header-flyout/__tests__/__snapshots__/HeaderFlyout.test.js.snap +3 -3
  1622. package/src/features/invite-collaborators-modal/__tests__/__snapshots__/InviteCollaboratorsModal.test.js.snap +8 -8
  1623. package/src/features/item-details/__tests__/__snapshots__/EditableDescription.test.js.snap +2 -8
  1624. package/src/features/item-details/__tests__/__snapshots__/ItemExpirationNotice.test.js.snap +4 -4
  1625. package/src/features/item-details/__tests__/__snapshots__/ItemProperties.test.js.snap +2 -2
  1626. package/src/features/item-details/__tests__/__snapshots__/ReadonlyDescription.test.js.snap +2 -2
  1627. package/src/features/item-details/__tests__/__snapshots__/SharedLinkExpirationNotice.test.js.snap +2 -2
  1628. package/src/features/item-details/__tests__/__snapshots__/VersionHistoryLink.test.js.snap +2 -2
  1629. package/src/features/left-sidebar/__tests__/__snapshots__/InstantLogin.test.js.snap +2 -2
  1630. package/src/features/left-sidebar/__tests__/__snapshots__/LeftSidebar.test.js.snap +21 -21
  1631. package/src/features/left-sidebar/__tests__/__snapshots__/LeftSidebarLink.test.js.snap +14 -14
  1632. package/src/features/left-sidebar/__tests__/__snapshots__/defaultNavLinkRenderer.test.js.snap +1 -1
  1633. package/src/features/message-center/components/templates/common/__tests__/__snapshots__/MessageTextContent.test.js.snap +2 -2
  1634. package/src/features/message-center/components/templates/preview-title-body-tags-button/__tests__/__snapshots__/PreviewTitleBodyTagsButton.test.js.snap +4 -4
  1635. package/src/features/message-center/components/templates/title-body-tags-button/__tests__/__snapshots__/TitleBodyTagsButton.test.js.snap +4 -4
  1636. package/src/features/metadata-based-view/__tests__/__snapshots__/IconWithTooltip.test.js.snap +3 -3
  1637. package/src/features/metadata-based-view/__tests__/__snapshots__/MetadataBasedItemList.test.js.snap +21 -21
  1638. package/src/features/metadata-instance-editor/__tests__/__snapshots__/Header.test.js.snap +3 -3
  1639. package/src/features/metadata-instance-editor/__tests__/__snapshots__/Instance.test.js.snap +204 -204
  1640. package/src/features/metadata-instance-editor/__tests__/__snapshots__/Instances.test.js.snap +37 -37
  1641. package/src/features/metadata-instance-editor/__tests__/__snapshots__/MetadataInstanceEditor.test.js.snap +229 -229
  1642. package/src/features/metadata-instance-editor/__tests__/__snapshots__/TemplateDropdown.test.js.snap +7 -7
  1643. package/src/features/metadata-instance-editor/__tests__/__snapshots__/TemplatedInstance.test.js.snap +17 -17
  1644. package/src/features/metadata-instance-fields/__tests__/__snapshots__/DateMetadataField.test.js.snap +1 -1
  1645. package/src/features/metadata-instance-fields/__tests__/__snapshots__/EnumMetadataField.test.js.snap +10 -10
  1646. package/src/features/metadata-instance-fields/__tests__/__snapshots__/MetadataField.test.js.snap +1 -1
  1647. package/src/features/metadata-instance-fields/__tests__/__snapshots__/MultiSelectMetadataField.test.js.snap +4 -4
  1648. package/src/features/pagination/Pagination.scss +0 -4
  1649. package/src/features/pagination/__tests__/__snapshots__/MarkerBasedPagination.test.js.snap +8 -8
  1650. package/src/features/pagination/__tests__/__snapshots__/OffsetBasedPagination.test.js.snap +34 -34
  1651. package/src/features/pagination/__tests__/__snapshots__/PaginationMenu.test.js.snap +3 -3
  1652. package/src/features/presence/__tests__/__snapshots__/Presence.test.js.snap +49 -49
  1653. package/src/features/presence/__tests__/__snapshots__/PresenceLink.test.js.snap +24 -24
  1654. package/src/features/query-bar/__tests__/__snapshots__/ColumnButton.test.js.snap +6 -6
  1655. package/src/features/query-bar/__tests__/__snapshots__/Condition.test.js.snap +10 -10
  1656. package/src/features/query-bar/__tests__/__snapshots__/QueryBar.test.js.snap +41 -41
  1657. package/src/features/query-bar/__tests__/__snapshots__/TemplateButton.test.js.snap +2 -2
  1658. package/src/features/sandbox-banner/SandboxBanner.stories.tsx +1 -1
  1659. package/src/features/security/__tests__/__snapshots__/SecurityBadge.test.js.snap +2 -2
  1660. package/src/features/security-cloud-game/stories/SecurityCloudGame.stories.js +1 -1
  1661. package/src/features/shared-link-modal/__tests__/__snapshots__/AccessLabel.test.js.snap +1 -1
  1662. package/src/features/shared-link-modal/__tests__/__snapshots__/SharedLink.test.js.snap +5 -5
  1663. package/src/features/shared-link-modal/__tests__/__snapshots__/SharedLinkAccess.test.js.snap +4 -4
  1664. package/src/features/shared-link-modal/__tests__/__snapshots__/SharedLinkModal.test.js.snap +1 -1
  1665. package/src/features/shared-link-modal/stories/SharedLink.stories.js +1 -1
  1666. package/src/features/shared-link-modal/stories/SharedLinkModal.stories.js +1 -1
  1667. package/src/features/shared-link-settings-modal/SharedLinkSettingsModal.stories.js +1 -1
  1668. package/src/features/targeting/hocs/__tests__/__snapshots__/withTargetedClickThrough.test.js.snap +1 -1
  1669. package/src/features/targeting/hocs/withTargetedClickThrough.js +10 -1
  1670. package/src/features/targeting/types.js +1 -0
  1671. package/src/features/unified-share-modal/UnifiedShareModal.scss +61 -79
  1672. package/src/features/unified-share-modal/__tests__/__snapshots__/ContactsField.test.js.snap +23 -23
  1673. package/src/features/unified-share-modal/__tests__/__snapshots__/EmailForm.test.js.snap +28 -28
  1674. package/src/features/unified-share-modal/__tests__/__snapshots__/SharedLinkAccessDescription.test.js.snap +8 -8
  1675. package/src/features/unified-share-modal/__tests__/__snapshots__/SharedLinkAccessLabel.test.js.snap +10 -10
  1676. package/src/features/unified-share-modal/__tests__/__snapshots__/SharedLinkSection.test.js.snap +54 -54
  1677. package/src/features/unified-share-modal/__tests__/__snapshots__/UnifiedShareForm.test.js.snap +250 -250
  1678. package/src/features/unified-share-modal/__tests__/__snapshots__/UnifiedShareModal.test.js.snap +409 -409
  1679. package/src/features/unified-share-modal/__tests__/__snapshots__/UnifiedShareModalTitle.test.js.snap +1 -1
  1680. package/src/features/unified-share-modal/stories/UnifiedShareModal.stories.js +1 -1
  1681. package/src/features/virtualized-table/DraggableVirtualizedTable.stories.js +1 -1
  1682. package/src/features/virtualized-table/__tests__/__snapshots__/BaseVirtualizedTable.test.js.snap +5 -5
  1683. package/src/features/virtualized-table/__tests__/__snapshots__/DraggableVirtualizedTable.test.js.snap +7 -7
  1684. package/src/features/virtualized-table/__tests__/__snapshots__/VirtualizedTable.test.js.snap +19 -19
  1685. package/src/features/virtualized-table-renderers/__tests__/__snapshots__/loadingRowRenderer.test.js.snap +1 -1
  1686. package/src/features/virtualized-table-renderers/__tests__/draggableRowRenderer.test.js +5 -5
  1687. package/src/icon/content/ContentSharing32.stories.tsx +1 -1
  1688. package/src/icon/content/CustomSetup32.stories.tsx +1 -1
  1689. package/src/icon/content/DeviceTrust32.stories.tsx +1 -1
  1690. package/src/icon/content/FileAudio32.stories.tsx +1 -1
  1691. package/src/icon/content/FileBookmark32.stories.tsx +1 -1
  1692. package/src/icon/content/FileBoxNote32.stories.tsx +1 -1
  1693. package/src/icon/content/FileCanvas32.stories.tsx +1 -1
  1694. package/src/icon/content/FileCode32.stories.tsx +1 -1
  1695. package/src/icon/content/FileDefault32.stories.tsx +1 -1
  1696. package/src/icon/content/FileDicom32.stories.tsx +1 -1
  1697. package/src/icon/content/FileDocs32.stories.tsx +1 -1
  1698. package/src/icon/content/FileDwg32.stories.tsx +1 -1
  1699. package/src/icon/content/FileExcel32.stories.tsx +1 -1
  1700. package/src/icon/content/FileIllustrator32.stories.tsx +1 -1
  1701. package/src/icon/content/FileImage32.stories.tsx +1 -1
  1702. package/src/icon/content/FileIndesign32.stories.tsx +1 -1
  1703. package/src/icon/content/FileKeynote32.stories.tsx +1 -1
  1704. package/src/icon/content/FileNumbers32.stories.tsx +1 -1
  1705. package/src/icon/content/FilePages32.stories.tsx +1 -1
  1706. package/src/icon/content/FilePdf32.stories.tsx +1 -1
  1707. package/src/icon/content/FilePhotoshop32.stories.tsx +1 -1
  1708. package/src/icon/content/FilePowerpoint32.stories.tsx +1 -1
  1709. package/src/icon/content/FilePresentation32.stories.tsx +1 -1
  1710. package/src/icon/content/FileSheets32.stories.tsx +1 -1
  1711. package/src/icon/content/FileSlides32.stories.tsx +1 -1
  1712. package/src/icon/content/FileSpreadsheet32.stories.tsx +1 -1
  1713. package/src/icon/content/FileText32.stories.tsx +1 -1
  1714. package/src/icon/content/FileThreeD32.stories.tsx +1 -1
  1715. package/src/icon/content/FileUpload32.stories.tsx +1 -1
  1716. package/src/icon/content/FileVector32.stories.tsx +1 -1
  1717. package/src/icon/content/FileVideo32.stories.tsx +1 -1
  1718. package/src/icon/content/FileWord32.stories.tsx +1 -1
  1719. package/src/icon/content/FileXbd32.stories.tsx +1 -1
  1720. package/src/icon/content/FileXdw32.stories.tsx +1 -1
  1721. package/src/icon/content/FileZip32.stories.tsx +1 -1
  1722. package/src/icon/content/FolderExternal32.stories.tsx +1 -1
  1723. package/src/icon/content/FolderPersonal32.stories.tsx +1 -1
  1724. package/src/icon/content/FolderShared32.stories.tsx +1 -1
  1725. package/src/icon/content/FolderUpload32.stories.tsx +1 -1
  1726. package/src/icon/content/Mobile32.stories.tsx +1 -1
  1727. package/src/icon/content/Notifications32.stories.tsx +1 -1
  1728. package/src/icon/content/PlatformCam32.stories.tsx +1 -1
  1729. package/src/icon/content/PlatformSandbox32.stories.tsx +1 -1
  1730. package/src/icon/content/RetentionPolicyModifiable32.stories.tsx +1 -1
  1731. package/src/icon/content/RetentionPolicyNonModifiable32.stories.tsx +1 -1
  1732. package/src/icon/content/Security32.stories.tsx +1 -1
  1733. package/src/icon/content/SignRequest32.stories.tsx +1 -1
  1734. package/src/icon/content/UserSettings32.stories.tsx +1 -1
  1735. package/src/icon/content/Workflow32.stories.tsx +1 -1
  1736. package/src/icon/content/WorkflowTemplate32.stories.tsx +1 -1
  1737. package/src/icon/fill/Activity16.stories.tsx +1 -1
  1738. package/src/icon/fill/Activity20.stories.tsx +1 -1
  1739. package/src/icon/fill/Alert16.stories.tsx +1 -1
  1740. package/src/icon/fill/AlertBadge16.stories.tsx +1 -1
  1741. package/src/icon/fill/AnnotationsDrawing16.stories.tsx +1 -1
  1742. package/src/icon/fill/AnnotationsHighlight16.stories.tsx +1 -1
  1743. package/src/icon/fill/AnnotationsRegion16.stories.tsx +1 -1
  1744. package/src/icon/fill/Apps16.stories.tsx +1 -1
  1745. package/src/icon/fill/Arrow16.stories.tsx +1 -1
  1746. package/src/icon/fill/ArrowArcRight.stories.tsx +1 -1
  1747. package/src/icon/fill/ArrowForward16.stories.tsx +1 -1
  1748. package/src/icon/fill/ArrowSort16.stories.tsx +1 -1
  1749. package/src/icon/fill/AvatarBadge16.stories.tsx +1 -1
  1750. package/src/icon/fill/BarChart16.stories.tsx +1 -1
  1751. package/src/icon/fill/BoxDev16.stories.tsx +1 -1
  1752. package/src/icon/fill/BoxNotes16.stories.tsx +1 -1
  1753. package/src/icon/fill/Calendar16.stories.tsx +1 -1
  1754. package/src/icon/fill/Caret8.stories.tsx +1 -1
  1755. package/src/icon/fill/CaretBadge16.stories.tsx +1 -1
  1756. package/src/icon/fill/Checkmark16.stories.tsx +1 -1
  1757. package/src/icon/fill/CheckmarkBadge16.stories.tsx +1 -1
  1758. package/src/icon/fill/CircleBackButton24.stories.tsx +1 -1
  1759. package/src/icon/fill/CircleCloseButton24.stories.tsx +1 -1
  1760. package/src/icon/fill/Classify16.stories.tsx +1 -1
  1761. package/src/icon/fill/ClearBadge16.stories.tsx +1 -1
  1762. package/src/icon/fill/ClockBadge16.stories.tsx +1 -1
  1763. package/src/icon/fill/CloudUpload16.stories.tsx +1 -1
  1764. package/src/icon/fill/Code16.stories.tsx +1 -1
  1765. package/src/icon/fill/Collection16.stories.tsx +1 -1
  1766. package/src/icon/fill/CollectionBolt16.stories.tsx +1 -1
  1767. package/src/icon/fill/CollectionPlus16.stories.tsx +1 -1
  1768. package/src/icon/fill/CollectionStar16.stories.tsx +1 -1
  1769. package/src/icon/fill/CreditCard16.stories.tsx +1 -1
  1770. package/src/icon/fill/Download16.stories.tsx +1 -1
  1771. package/src/icon/fill/EmailNotification16.stories.tsx +1 -1
  1772. package/src/icon/fill/ExportArrow16.stories.tsx +1 -1
  1773. package/src/icon/fill/Feed16.stories.tsx +1 -1
  1774. package/src/icon/fill/FileAudio16.stories.tsx +1 -1
  1775. package/src/icon/fill/FileBookmark16.stories.tsx +1 -1
  1776. package/src/icon/fill/FileBoxNote16.stories.tsx +1 -1
  1777. package/src/icon/fill/FileCanvas16.stories.tsx +1 -1
  1778. package/src/icon/fill/FileCode16.stories.tsx +1 -1
  1779. package/src/icon/fill/FileCopy16.stories.tsx +1 -1
  1780. package/src/icon/fill/FileDefault16.stories.tsx +1 -1
  1781. package/src/icon/fill/FileDicom16.stories.tsx +1 -1
  1782. package/src/icon/fill/FileDocs16.stories.tsx +1 -1
  1783. package/src/icon/fill/FileDwg16.stories.tsx +1 -1
  1784. package/src/icon/fill/FileExcel16.stories.tsx +1 -1
  1785. package/src/icon/fill/FileIllustrator16.stories.tsx +1 -1
  1786. package/src/icon/fill/FileImage16.stories.tsx +1 -1
  1787. package/src/icon/fill/FileIndesign16.stories.tsx +1 -1
  1788. package/src/icon/fill/FileKeynote16.stories.tsx +1 -1
  1789. package/src/icon/fill/FileNumbers16.stories.tsx +1 -1
  1790. package/src/icon/fill/FilePages16.stories.tsx +1 -1
  1791. package/src/icon/fill/FilePdf16.stories.tsx +1 -1
  1792. package/src/icon/fill/FilePhotoshop16.stories.tsx +1 -1
  1793. package/src/icon/fill/FilePowerpoint16.stories.tsx +1 -1
  1794. package/src/icon/fill/FilePresentation16.stories.tsx +1 -1
  1795. package/src/icon/fill/FileSheets16.stories.tsx +1 -1
  1796. package/src/icon/fill/FileSlides16.stories.tsx +1 -1
  1797. package/src/icon/fill/FileSpreadsheet16.stories.tsx +1 -1
  1798. package/src/icon/fill/FileText16.stories.tsx +1 -1
  1799. package/src/icon/fill/FileThreeD16.stories.tsx +1 -1
  1800. package/src/icon/fill/FileVector16.stories.tsx +1 -1
  1801. package/src/icon/fill/FileVideo16.stories.tsx +1 -1
  1802. package/src/icon/fill/FileWord16.stories.tsx +1 -1
  1803. package/src/icon/fill/FileZip16.stories.tsx +1 -1
  1804. package/src/icon/fill/Filter16.stories.tsx +1 -1
  1805. package/src/icon/fill/Folder16.stories.tsx +1 -1
  1806. package/src/icon/fill/FolderExternal16.stories.tsx +1 -1
  1807. package/src/icon/fill/FolderPersonal16.stories.tsx +1 -1
  1808. package/src/icon/fill/FolderShared16.stories.tsx +1 -1
  1809. package/src/icon/fill/Gear16.stories.tsx +1 -1
  1810. package/src/icon/fill/GlobeBadge16.stories.tsx +1 -1
  1811. package/src/icon/fill/Hamburger20.stories.tsx +1 -1
  1812. package/src/icon/fill/Help20.stories.tsx +1 -1
  1813. package/src/icon/fill/InProgress16.stories.tsx +1 -1
  1814. package/src/icon/fill/Info16.stories.tsx +1 -1
  1815. package/src/icon/fill/InfoBadge16.stories.tsx +1 -1
  1816. package/src/icon/fill/LightningBolt16.stories.tsx +1 -1
  1817. package/src/icon/fill/Lock16.stories.tsx +1 -1
  1818. package/src/icon/fill/Megaphone20.stories.tsx +1 -1
  1819. package/src/icon/fill/Minus16.stories.tsx +1 -1
  1820. package/src/icon/fill/Move16.stories.tsx +1 -1
  1821. package/src/icon/fill/MoveCopy16.stories.tsx +1 -1
  1822. package/src/icon/fill/Overflow16.stories.tsx +1 -1
  1823. package/src/icon/fill/PaperAirplane16.stories.tsx +1 -1
  1824. package/src/icon/fill/Pencil16.stories.tsx +1 -1
  1825. package/src/icon/fill/Picture16.stories.tsx +1 -1
  1826. package/src/icon/fill/Plus16.stories.tsx +1 -1
  1827. package/src/icon/fill/PlusBadge16.stories.tsx +1 -1
  1828. package/src/icon/fill/PointerChevronDown24.stories.tsx +1 -1
  1829. package/src/icon/fill/Printer16.stories.tsx +1 -1
  1830. package/src/icon/fill/Relay16.stories.tsx +1 -1
  1831. package/src/icon/fill/RelayClassic16.stories.tsx +1 -1
  1832. package/src/icon/fill/Ribbon16.stories.tsx +1 -1
  1833. package/src/icon/fill/Scribble16.stories.tsx +1 -1
  1834. package/src/icon/fill/Search16.stories.tsx +1 -1
  1835. package/src/icon/fill/Sign16.stories.tsx +1 -1
  1836. package/src/icon/fill/SignFieldCheckBox16.stories.tsx +1 -1
  1837. package/src/icon/fill/SignFieldSignature16.stories.tsx +1 -1
  1838. package/src/icon/fill/SignFieldTextInput16.stories.tsx +1 -1
  1839. package/src/icon/fill/SignMe32.stories.tsx +1 -1
  1840. package/src/icon/fill/SignMeOthers32.stories.tsx +1 -1
  1841. package/src/icon/fill/SignOthers32.stories.tsx +1 -1
  1842. package/src/icon/fill/Skills16.stories.tsx +1 -1
  1843. package/src/icon/fill/Tag16.stories.tsx +1 -1
  1844. package/src/icon/fill/Task16.stories.tsx +1 -1
  1845. package/src/icon/fill/Trash16.stories.tsx +1 -1
  1846. package/src/icon/fill/TwoPeople16.stories.tsx +1 -1
  1847. package/src/icon/fill/Upload16.stories.tsx +1 -1
  1848. package/src/icon/fill/UserSettings16.stories.tsx +1 -1
  1849. package/src/icon/fill/Workflow16.stories.tsx +1 -1
  1850. package/src/icon/fill/X16.stories.tsx +1 -1
  1851. package/src/icon/line/AlarmClock16.stories.tsx +1 -1
  1852. package/src/icon/line/AlertBubble16.stories.tsx +1 -1
  1853. package/src/icon/line/Apps16.stories.tsx +1 -1
  1854. package/src/icon/line/ArrowBoxRight16.stories.tsx +1 -1
  1855. package/src/icon/line/Avatar16.stories.tsx +1 -1
  1856. package/src/icon/line/AvatarBadge16.stories.tsx +1 -1
  1857. package/src/icon/line/AvatarPlusBadge16.stories.tsx +1 -1
  1858. package/src/icon/line/AvatarXBadge16.stories.tsx +1 -1
  1859. package/src/icon/line/BoxAi.stories.tsx +1 -1
  1860. package/src/icon/line/BoxDev16.stories.tsx +1 -1
  1861. package/src/icon/line/Bug16.stories.tsx +1 -1
  1862. package/src/icon/line/Checkmark16.stories.tsx +1 -1
  1863. package/src/icon/line/CheckmarkBadge16.stories.tsx +1 -1
  1864. package/src/icon/line/CircleCheck16.stories.tsx +1 -1
  1865. package/src/icon/line/CircleX16.stories.tsx +1 -1
  1866. package/src/icon/line/ClassificationBadge16.stories.tsx +1 -1
  1867. package/src/icon/line/ClockArrow16.stories.tsx +1 -1
  1868. package/src/icon/line/ClockBadge16.stories.tsx +1 -1
  1869. package/src/icon/line/CloudWithArrow16.stories.tsx +1 -1
  1870. package/src/icon/line/CoAuthoringBadge16.stories.tsx +1 -1
  1871. package/src/icon/line/CoEdit16.stories.tsx +1 -1
  1872. package/src/icon/line/Collaborations16.stories.tsx +1 -1
  1873. package/src/icon/line/Collection16.stories.tsx +1 -1
  1874. package/src/icon/line/CollectionBolt16.stories.tsx +1 -1
  1875. package/src/icon/line/CollectionPlus16.stories.tsx +1 -1
  1876. package/src/icon/line/CollectionStar16.stories.tsx +1 -1
  1877. package/src/icon/line/CommentBubble16.stories.tsx +1 -1
  1878. package/src/icon/line/CrosshairRegion32.stories.tsx +1 -1
  1879. package/src/icon/line/DocInfo16.stories.tsx +1 -1
  1880. package/src/icon/line/Download16.stories.tsx +1 -1
  1881. package/src/icon/line/Email16.stories.tsx +1 -1
  1882. package/src/icon/line/EmailAddress16.stories.tsx +1 -1
  1883. package/src/icon/line/EnvelopeBadge16.stories.tsx +1 -1
  1884. package/src/icon/line/ExclamationMarkBadge16.stories.tsx +1 -1
  1885. package/src/icon/line/ExportArrow16.stories.tsx +1 -1
  1886. package/src/icon/line/FileDescription16.stories.tsx +1 -1
  1887. package/src/icon/line/Folder16.stories.tsx +1 -1
  1888. package/src/icon/line/Gear16.stories.tsx +1 -1
  1889. package/src/icon/line/GenericCopy16.stories.tsx +1 -1
  1890. package/src/icon/line/GlobeBadge16.stories.tsx +1 -1
  1891. package/src/icon/line/Help16.stories.tsx +1 -1
  1892. package/src/icon/line/Hidden16.stories.tsx +1 -1
  1893. package/src/icon/line/History16.stories.tsx +1 -1
  1894. package/src/icon/line/InfoBadge16.stories.tsx +1 -1
  1895. package/src/icon/line/Key16.stories.tsx +1 -1
  1896. package/src/icon/line/Link16.stories.tsx +1 -1
  1897. package/src/icon/line/LinkBadge16.stories.tsx +1 -1
  1898. package/src/icon/line/List16.stories.tsx +1 -1
  1899. package/src/icon/line/Lock16.stories.tsx +1 -1
  1900. package/src/icon/line/LockBadge16.stories.tsx +1 -1
  1901. package/src/icon/line/MetadataBadge16.stories.tsx +1 -1
  1902. package/src/icon/line/MoveCopy16.stories.tsx +1 -1
  1903. package/src/icon/line/Pencil16.stories.tsx +1 -1
  1904. package/src/icon/line/PencilBadge16.stories.tsx +1 -1
  1905. package/src/icon/line/Plane16.stories.tsx +1 -1
  1906. package/src/icon/line/Plus16.stories.tsx +1 -1
  1907. package/src/icon/line/Power16.stories.tsx +1 -1
  1908. package/src/icon/line/Question16.stories.tsx +1 -1
  1909. package/src/icon/line/Redo16.stories.tsx +1 -1
  1910. package/src/icon/line/Relay16.stories.tsx +1 -1
  1911. package/src/icon/line/Report16.stories.tsx +1 -1
  1912. package/src/icon/line/Retry16.stories.tsx +1 -1
  1913. package/src/icon/line/Rocket16.stories.tsx +1 -1
  1914. package/src/icon/line/RotatingArrows16.stories.tsx +1 -1
  1915. package/src/icon/line/Sharrow16.stories.tsx +1 -1
  1916. package/src/icon/line/Shield16.stories.tsx +1 -1
  1917. package/src/icon/line/Sign16.stories.tsx +1 -1
  1918. package/src/icon/line/SignTinycon16.stories.tsx +1 -1
  1919. package/src/icon/line/Star16.stories.tsx +1 -1
  1920. package/src/icon/line/SyncArrows16.stories.tsx +1 -1
  1921. package/src/icon/line/Template16.stories.tsx +1 -1
  1922. package/src/icon/line/TextLeft16.stories.tsx +1 -1
  1923. package/src/icon/line/Tool16.stories.tsx +1 -1
  1924. package/src/icon/line/Trash16.stories.tsx +1 -1
  1925. package/src/icon/line/TriangleAlert16.stories.tsx +1 -1
  1926. package/src/icon/line/Undo16.stories.tsx +1 -1
  1927. package/src/icon/line/Unlock16.stories.tsx +1 -1
  1928. package/src/icon/line/Upload16.stories.tsx +1 -1
  1929. package/src/icon/line/Video16.stories.tsx +1 -1
  1930. package/src/icon/line/View16.stories.tsx +1 -1
  1931. package/src/icon/line/XBadge16.stories.tsx +1 -1
  1932. package/src/icon/logo/AccountBilling32.stories.tsx +1 -1
  1933. package/src/icon/logo/AdminFaq32.stories.tsx +1 -1
  1934. package/src/icon/logo/AdminReferences32.stories.tsx +1 -1
  1935. package/src/icon/logo/AdobeAcrobat32.stories.tsx +1 -1
  1936. package/src/icon/logo/Apps32.stories.tsx +1 -1
  1937. package/src/icon/logo/BoxAiLogo.stories.tsx +1 -1
  1938. package/src/icon/logo/BoxLogo.stories.tsx +1 -1
  1939. package/src/icon/logo/BoxSign28.stories.tsx +1 -1
  1940. package/src/icon/logo/BoxSign32.stories.tsx +1 -1
  1941. package/src/icon/logo/ContentSharing32.stories.tsx +1 -1
  1942. package/src/icon/logo/CustomSetup32.stories.tsx +1 -1
  1943. package/src/icon/logo/DeviceTrust32.stories.tsx +1 -1
  1944. package/src/icon/logo/HelpArticle32.stories.tsx +1 -1
  1945. package/src/icon/logo/HowToGuides32.stories.tsx +1 -1
  1946. package/src/icon/logo/IconBoxApp512.stories.tsx +1 -1
  1947. package/src/icon/logo/KeynoteForMac32.stories.tsx +1 -1
  1948. package/src/icon/logo/ManageContent32.stories.tsx +1 -1
  1949. package/src/icon/logo/ManageUsers32.stories.tsx +1 -1
  1950. package/src/icon/logo/Mobile32.stories.tsx +1 -1
  1951. package/src/icon/logo/Notifications32.stories.tsx +1 -1
  1952. package/src/icon/logo/NumbersForMac32.stories.tsx +1 -1
  1953. package/src/icon/logo/PagesForMac32.stories.tsx +1 -1
  1954. package/src/icon/logo/Reporting32.stories.tsx +1 -1
  1955. package/src/icon/logo/Security32.stories.tsx +1 -1
  1956. package/src/icon/logo/TroubleShootingTools32.stories.tsx +1 -1
  1957. package/src/icon/logo/UserSettings32.stories.tsx +1 -1
  1958. package/src/icons/collections/IconCollections.stories.tsx +1 -1
  1959. package/src/icons/collections/IconCollectionsAdd.stories.tsx +1 -1
  1960. package/src/icons/collections/IconCollectionsBolt.stories.tsx +1 -1
  1961. package/src/icons/collections/IconCollectionsFilled.stories.tsx +1 -1
  1962. package/src/icons/collections/IconCollectionsStar.stories.tsx +1 -1
  1963. package/src/icons/collections/IconCollectionsStarFilled.stories.tsx +1 -1
  1964. package/src/icons/collections/collections.stories.tsx +1 -1
  1965. package/src/icons/icons.stories.tsx +1 -1
  1966. package/src/icons/illustrations/__tests__/__snapshots__/PeopleOpeningEnvelopeIllustration.test.tsx.snap +6 -6
  1967. package/src/icons/states/__tests__/__snapshots__/EnvelopeTrophyState.test.tsx.snap +6 -6
  1968. package/src/icons/two-toned/IconAnnotation.tsx +1 -1
  1969. package/src/illustration/AllNewBox140.stories.tsx +1 -1
  1970. package/src/illustration/AppSupport140.stories.tsx +1 -1
  1971. package/src/illustration/Bell140.stories.tsx +1 -1
  1972. package/src/illustration/BoxDrive140.stories.tsx +1 -1
  1973. package/src/illustration/BoxMobile140.stories.tsx +1 -1
  1974. package/src/illustration/BudgetApproval56.stories.tsx +1 -1
  1975. package/src/illustration/Certificate56.stories.tsx +1 -1
  1976. package/src/illustration/CertificateSigning56.stories.tsx +1 -1
  1977. package/src/illustration/ChangeOrder56.stories.tsx +1 -1
  1978. package/src/illustration/Clock140.stories.tsx +1 -1
  1979. package/src/illustration/CollectionStar140.stories.tsx +1 -1
  1980. package/src/illustration/ContractorId56.stories.tsx +1 -1
  1981. package/src/illustration/CreativeApproval56.stories.tsx +1 -1
  1982. package/src/illustration/CreativeAssets56.stories.tsx +1 -1
  1983. package/src/illustration/CustomApp56.stories.tsx +1 -1
  1984. package/src/illustration/CustomSkill56.stories.tsx +1 -1
  1985. package/src/illustration/CustomTemplate56.stories.tsx +1 -1
  1986. package/src/illustration/CustomerSupport140.stories.tsx +1 -1
  1987. package/src/illustration/DiscoDanceParty140.stories.tsx +1 -1
  1988. package/src/illustration/Discount140.stories.tsx +1 -1
  1989. package/src/illustration/EmailVerification140.stories.tsx +1 -1
  1990. package/src/illustration/EmployeeId56.stories.tsx +1 -1
  1991. package/src/illustration/EmployeeReview56.stories.tsx +1 -1
  1992. package/src/illustration/EmptyStateDetails.stories.tsx +1 -1
  1993. package/src/illustration/EmptyStateFolder140.stories.tsx +1 -1
  1994. package/src/illustration/EmptyStatePreviewActivity140.stories.tsx +1 -1
  1995. package/src/illustration/Envelope140.stories.tsx +1 -1
  1996. package/src/illustration/ErrorState404140.stories.tsx +1 -1
  1997. package/src/illustration/Files.stories.tsx +1 -1
  1998. package/src/illustration/Files140.stories.tsx +1 -1
  1999. package/src/illustration/FinanceContract56.stories.tsx +1 -1
  2000. package/src/illustration/FolderArrow140.stories.tsx +1 -1
  2001. package/src/illustration/FolderFloat140.stories.tsx +1 -1
  2002. package/src/illustration/FolderPlane140.stories.tsx +1 -1
  2003. package/src/illustration/FolderStar140.stories.tsx +1 -1
  2004. package/src/illustration/Gavel56.stories.tsx +1 -1
  2005. package/src/illustration/Handshake56.stories.tsx +1 -1
  2006. package/src/illustration/HandshakeAgreement56.stories.tsx +1 -1
  2007. package/src/illustration/HatWand140.stories.tsx +1 -1
  2008. package/src/illustration/Keynote56.stories.tsx +1 -1
  2009. package/src/illustration/LegalContract56.stories.tsx +1 -1
  2010. package/src/illustration/LegalFolder56.stories.tsx +1 -1
  2011. package/src/illustration/LimitedApp56.stories.tsx +1 -1
  2012. package/src/illustration/MarketingPlan56.stories.tsx +1 -1
  2013. package/src/illustration/Megaphone140.stories.tsx +1 -1
  2014. package/src/illustration/MetricsReview56.stories.tsx +1 -1
  2015. package/src/illustration/Microphone140.stories.tsx +1 -1
  2016. package/src/illustration/Missing140.stories.tsx +1 -1
  2017. package/src/illustration/MoneyStack56.stories.tsx +1 -1
  2018. package/src/illustration/MonthlyReport56.stories.tsx +1 -1
  2019. package/src/illustration/NotesStar140.stories.tsx +1 -1
  2020. package/src/illustration/PlanSelection140.stories.tsx +1 -1
  2021. package/src/illustration/Playbook56.stories.tsx +1 -1
  2022. package/src/illustration/ProjectFolder56.stories.tsx +1 -1
  2023. package/src/illustration/RecentFiles140.stories.tsx +1 -1
  2024. package/src/illustration/RelayPlanet140.stories.tsx +1 -1
  2025. package/src/illustration/SalesContract56.stories.tsx +1 -1
  2026. package/src/illustration/Sandbox140.stories.tsx +1 -1
  2027. package/src/illustration/TaskList56.stories.tsx +1 -1
  2028. package/src/illustration/Transfers140.stories.tsx +1 -1
  2029. package/src/illustration/TrashEmpty140.stories.tsx +1 -1
  2030. package/src/illustration/Unplugged140.stories.tsx +1 -1
  2031. package/src/illustration/UploadCloud140.stories.tsx +1 -1
  2032. package/src/illustration/UserOrbit56.stories.tsx +1 -1
  2033. package/src/styles/colors.stories.tsx +1 -1
  2034. package/src/styles/common/_buttons.scss +1 -1
  2035. package/src/styles/constants/_buttons.scss +1 -0
  2036. package/src/styles/typography.stories.tsx +1 -1
  2037. package/src/utils/Browser.js +10 -0
  2038. package/src/utils/__tests__/Browser.test.js +28 -0
  2039. package/src/utils/__tests__/__snapshots__/createTheme.test.js.snap +35 -35
  2040. package/src/utils/__tests__/fields.test.js +2 -0
  2041. package/src/utils/__tests__/webcrypto.test.js +10 -0
  2042. package/src/utils/comparator.js +1 -1
  2043. package/src/utils/createTheme.stories.js +1 -1
  2044. package/src/utils/fields.js +3 -0
  2045. package/src/utils/flatten.js +6 -1
  2046. package/src/utils/size.js +5 -5
  2047. package/src/utils/sorter.js +1 -1
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/components/form-elements/text-area/TextArea.stories.js"],"names":["React","TextArea","notes","basic","withValidation","textAreaValidator","value","includes","code","message","title","component","parameters"],"mappings":"AACA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AAEA,OAAOC,QAAP,MAAqB,YAArB;AACA,OAAOC,KAAP,MAAkB,uBAAlB;AAEA,OAAO,MAAMC,KAAK,GAAG,MAAM,oBAAC,QAAD;AAAU,EAAA,IAAI,EAAC,UAAf;AAA0B,EAAA,KAAK,EAAC,YAAhC;AAA6C,EAAA,WAAW,EAAC;AAAzD,EAApB;AAEP,OAAO,MAAMC,cAAc,GAAG,MAAM;AAChC,QAAMC,iBAAiB,GAAGC,KAAK,IAAI;AAC/B,QAAI,CAACA,KAAK,CAACC,QAAN,CAAe,KAAf,CAAL,EAA4B;AACxB,aAAO;AACHC,QAAAA,IAAI,EAAE,OADH;AAEHC,QAAAA,OAAO,EAAE;AAFN,OAAP;AAIH;;AACD,WAAO,IAAP;AACH,GARD;;AASA,SACI,oBAAC,QAAD;AACI,IAAA,IAAI,EAAC,UADT;AAEI,IAAA,KAAK,EAAC,qBAFV;AAGI,IAAA,WAAW,EAAC,kBAHhB;AAII,IAAA,UAAU,EAAEJ;AAJhB,IADJ;AAQH,CAlBM;AAoBP,eAAe;AACXK,EAAAA,KAAK,EAAE,mCADI;AAEXC,EAAAA,SAAS,EAAEV,QAFA;AAGXW,EAAAA,UAAU,EAAE;AACRV,IAAAA;AADQ;AAHD,CAAf","sourcesContent":["// @flow\nimport * as React from 'react';\n\nimport TextArea from './TextArea';\nimport notes from './TextArea.stories.md';\n\nexport const basic = () => <TextArea name=\"textarea\" label=\"Your story\" placeholder=\"Once upon a time\" />;\n\nexport const withValidation = () => {\n const textAreaValidator = value => {\n if (!value.includes('www')) {\n return {\n code: 'nowww',\n message: 'Text must have \"www\" in it',\n };\n }\n return null;\n };\n return (\n <TextArea\n name=\"textarea\"\n label=\"Validated Text Area\"\n placeholder=\"Once upon a time\"\n validation={textAreaValidator}\n />\n );\n};\n\nexport default {\n title: 'Components|Form Elements/Textarea',\n component: TextArea,\n parameters: {\n notes,\n },\n};\n"],"file":"TextArea.stories.js"}
1
+ {"version":3,"sources":["../../../../src/components/form-elements/text-area/TextArea.stories.js"],"names":["React","TextArea","notes","basic","withValidation","textAreaValidator","value","includes","code","message","title","component","parameters"],"mappings":"AACA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AAEA,OAAOC,QAAP,MAAqB,YAArB;AACA,OAAOC,KAAP,MAAkB,uBAAlB;AAEA,OAAO,MAAMC,KAAK,GAAG,MAAM,oBAAC,QAAD;AAAU,EAAA,IAAI,EAAC,UAAf;AAA0B,EAAA,KAAK,EAAC,YAAhC;AAA6C,EAAA,WAAW,EAAC;AAAzD,EAApB;AAEP,OAAO,MAAMC,cAAc,GAAG,MAAM;AAChC,QAAMC,iBAAiB,GAAGC,KAAK,IAAI;AAC/B,QAAI,CAACA,KAAK,CAACC,QAAN,CAAe,KAAf,CAAL,EAA4B;AACxB,aAAO;AACHC,QAAAA,IAAI,EAAE,OADH;AAEHC,QAAAA,OAAO,EAAE;AAFN,OAAP;AAIH;;AACD,WAAO,IAAP;AACH,GARD;;AASA,SACI,oBAAC,QAAD;AACI,IAAA,IAAI,EAAC,UADT;AAEI,IAAA,KAAK,EAAC,qBAFV;AAGI,IAAA,WAAW,EAAC,kBAHhB;AAII,IAAA,UAAU,EAAEJ;AAJhB,IADJ;AAQH,CAlBM;AAoBP,eAAe;AACXK,EAAAA,KAAK,EAAE,mCADI;AAEXC,EAAAA,SAAS,EAAEV,QAFA;AAGXW,EAAAA,UAAU,EAAE;AACRV,IAAAA;AADQ;AAHD,CAAf","sourcesContent":["// @flow\nimport * as React from 'react';\n\nimport TextArea from './TextArea';\nimport notes from './TextArea.stories.md';\n\nexport const basic = () => <TextArea name=\"textarea\" label=\"Your story\" placeholder=\"Once upon a time\" />;\n\nexport const withValidation = () => {\n const textAreaValidator = value => {\n if (!value.includes('www')) {\n return {\n code: 'nowww',\n message: 'Text must have \"www\" in it',\n };\n }\n return null;\n };\n return (\n <TextArea\n name=\"textarea\"\n label=\"Validated Text Area\"\n placeholder=\"Once upon a time\"\n validation={textAreaValidator}\n />\n );\n};\n\nexport default {\n title: 'Components/Form Elements/Textarea',\n component: TextArea,\n parameters: {\n notes,\n },\n};\n"],"file":"TextArea.stories.js"}
@@ -78,7 +78,7 @@ export const loading = () => React.createElement(TextInput, {
78
78
  type: "text"
79
79
  });
80
80
  export default {
81
- title: 'Components|Form Elements/TextInput',
81
+ title: 'Components/Form Elements/TextInput',
82
82
  component: TextInput,
83
83
  parameters: {
84
84
  notes
@@ -74,7 +74,7 @@ export const loading = () => (
74
74
  );
75
75
 
76
76
  export default {
77
- title: 'Components|Form Elements/TextInput',
77
+ title: 'Components/Form Elements/TextInput',
78
78
  component: TextInput,
79
79
  parameters: {
80
80
  notes,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/components/form-elements/text-input/TextInput.stories.js"],"names":["React","TextInput","notes","basic","urlInput","withCustomValidation","customValidationFunc","value","code","message","withMinimumLength","withMaximumLength","withTooltipOnHover","withHiddenLabel","disabledInput","loading","title","component","parameters"],"mappings":"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","sourcesContent":["// @flow\nimport * as React from 'react';\n\nimport TextInput from './TextInput';\nimport notes from './TextInput.stories.md';\n\nexport const basic = () => (\n <TextInput\n label=\"Email Address\"\n name=\"email\"\n placeholder=\"user@example.com\"\n type=\"email\"\n value=\"aaron@example.com\"\n />\n);\n\nexport const urlInput = () => <TextInput label=\"Url\" name=\"url\" placeholder=\"https://box.com\" type=\"url\" />;\n\nexport const withCustomValidation = () => {\n const customValidationFunc = value => {\n if (value !== 'box') {\n return {\n code: 'notbox',\n message: 'value is not box',\n };\n }\n return null;\n };\n return (\n <TextInput\n label=\"Must say box\"\n name=\"customValidationFunc\"\n placeholder=\"Not box\"\n type=\"text\"\n validation={customValidationFunc}\n />\n );\n};\n\nexport const withMinimumLength = () => (\n <TextInput minLength={3} name=\"minlenCheck\" label=\"Minimum length\" placeholder=\"Three or more\" type=\"text\" />\n);\n\nexport const withMaximumLength = () => (\n <TextInput maxLength={5} name=\"maxlenCheck\" label=\"Maximum length\" placeholder=\"Five or less\" type=\"text\" />\n);\n\nexport const withTooltipOnHover = () => (\n <TextInput\n name=\"tooltipCheck\"\n label=\"Tooltip on hover\"\n labelTooltip=\"I am the tooltip\"\n placeholder=\"Hover over the label\"\n type=\"text\"\n />\n);\n\nexport const withHiddenLabel = () => (\n <TextInput\n label=\"This label text should be hidden\"\n name=\"hidden label\"\n placeholder=\"Hidden (but accessible) label text\"\n type=\"text\"\n hideLabel\n />\n);\n\nexport const disabledInput = () => (\n <TextInput name=\"disabled\" isDisabled label=\"Disabled\" placeholder=\"Disabled input\" type=\"text\" />\n);\n\nexport const loading = () => (\n <TextInput name=\"loading\" isDisabled isLoading label=\"Loading\" placeholder=\"Loading...\" type=\"text\" />\n);\n\nexport default {\n title: 'Components|Form Elements/TextInput',\n component: TextInput,\n parameters: {\n notes,\n },\n};\n"],"file":"TextInput.stories.js"}
1
+ {"version":3,"sources":["../../../../src/components/form-elements/text-input/TextInput.stories.js"],"names":["React","TextInput","notes","basic","urlInput","withCustomValidation","customValidationFunc","value","code","message","withMinimumLength","withMaximumLength","withTooltipOnHover","withHiddenLabel","disabledInput","loading","title","component","parameters"],"mappings":"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","sourcesContent":["// @flow\nimport * as React from 'react';\n\nimport TextInput from './TextInput';\nimport notes from './TextInput.stories.md';\n\nexport const basic = () => (\n <TextInput\n label=\"Email Address\"\n name=\"email\"\n placeholder=\"user@example.com\"\n type=\"email\"\n value=\"aaron@example.com\"\n />\n);\n\nexport const urlInput = () => <TextInput label=\"Url\" name=\"url\" placeholder=\"https://box.com\" type=\"url\" />;\n\nexport const withCustomValidation = () => {\n const customValidationFunc = value => {\n if (value !== 'box') {\n return {\n code: 'notbox',\n message: 'value is not box',\n };\n }\n return null;\n };\n return (\n <TextInput\n label=\"Must say box\"\n name=\"customValidationFunc\"\n placeholder=\"Not box\"\n type=\"text\"\n validation={customValidationFunc}\n />\n );\n};\n\nexport const withMinimumLength = () => (\n <TextInput minLength={3} name=\"minlenCheck\" label=\"Minimum length\" placeholder=\"Three or more\" type=\"text\" />\n);\n\nexport const withMaximumLength = () => (\n <TextInput maxLength={5} name=\"maxlenCheck\" label=\"Maximum length\" placeholder=\"Five or less\" type=\"text\" />\n);\n\nexport const withTooltipOnHover = () => (\n <TextInput\n name=\"tooltipCheck\"\n label=\"Tooltip on hover\"\n labelTooltip=\"I am the tooltip\"\n placeholder=\"Hover over the label\"\n type=\"text\"\n />\n);\n\nexport const withHiddenLabel = () => (\n <TextInput\n label=\"This label text should be hidden\"\n name=\"hidden label\"\n placeholder=\"Hidden (but accessible) label text\"\n type=\"text\"\n hideLabel\n />\n);\n\nexport const disabledInput = () => (\n <TextInput name=\"disabled\" isDisabled label=\"Disabled\" placeholder=\"Disabled input\" type=\"text\" />\n);\n\nexport const loading = () => (\n <TextInput name=\"loading\" isDisabled isLoading label=\"Loading\" placeholder=\"Loading...\" type=\"text\" />\n);\n\nexport default {\n title: 'Components/Form Elements/TextInput',\n component: TextInput,\n parameters: {\n notes,\n },\n};\n"],"file":"TextInput.stories.js"}
@@ -41,7 +41,7 @@ export const complicatedLayout = () => React.createElement(Media, {
41
41
  height: 32
42
42
  }))));
43
43
  export default {
44
- title: 'Components|Ghost',
44
+ title: 'Components/Ghost',
45
45
  component: Ghost,
46
46
  parameters: {
47
47
  notes
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/ghost/Ghost.stories.tsx"],"names":["React","boolean","Media","Ghost","notes","regular","withoutAnimation","circle","rectangle","pill","complicatedLayout","maxWidth","title","component","parameters"],"mappings":"AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,SAASC,OAAT,QAAwB,wBAAxB;AAEA,OAAOC,KAAP,MAAkB,UAAlB;AAEA,OAAOC,KAAP,MAAkB,SAAlB;AACA,OAAOC,KAAP,MAAkB,oBAAlB;AAEA,OAAO,MAAMC,OAAO,GAAG,MAAM,oBAAC,KAAD;AAAO,EAAA,UAAU,EAAEJ,OAAO,CAAC,YAAD,EAAe,IAAf;AAA1B,EAAtB;AAEP,OAAO,MAAMK,gBAAgB,GAAG,MAAM,oBAAC,KAAD;AAAO,EAAA,UAAU,EAAE;AAAnB,EAA/B;AAEP,OAAO,MAAMC,MAAM,GAAG,MAAM,oBAAC,KAAD;AAAO,EAAA,YAAY,EAAC,KAApB;AAA0B,EAAA,KAAK,EAAE,EAAjC;AAAqC,EAAA,MAAM,EAAE;AAA7C,EAArB;AAEP,OAAO,MAAMC,SAAS,GAAG,MAAM,oBAAC,KAAD;AAAO,EAAA,KAAK,EAAE,GAAd;AAAmB,EAAA,MAAM,EAAE;AAA3B,EAAxB;AAEP,OAAO,MAAMC,IAAI,GAAG,MAAM,oBAAC,KAAD;AAAO,EAAA,YAAY,EAAE,EAArB;AAAyB,EAAA,KAAK,EAAE,GAAhC;AAAqC,EAAA,MAAM,EAAE;AAA7C,EAAnB;AAEP,OAAO,MAAMC,iBAAiB,GAAG,MAC7B,oBAAC,KAAD;AAAO,EAAA,KAAK,EAAE;AAAEC,IAAAA,QAAQ,EAAE;AAAZ;AAAd,GACI,oBAAC,KAAD,CAAO,MAAP,QACI,oBAAC,KAAD;AAAO,EAAA,YAAY,EAAC,KAApB;AAA0B,EAAA,MAAM,EAAE,EAAlC;AAAsC,EAAA,KAAK,EAAE;AAA7C,EADJ,CADJ,EAII,oBAAC,KAAD,CAAO,IAAP,QACI,+BACI,oBAAC,KAAD,OADJ,EAEI,oBAAC,KAAD,OAFJ,EAGI,oBAAC,KAAD;AAAO,EAAA,KAAK,EAAC;AAAb,EAHJ,CADJ,EAMI,+BACI,oBAAC,KAAD;AAAO,EAAA,KAAK,EAAE,GAAd;AAAmB,EAAA,MAAM,EAAE;AAA3B,EADJ,OACsC,oBAAC,KAAD;AAAO,EAAA,KAAK,EAAE,GAAd;AAAmB,EAAA,MAAM,EAAE;AAA3B,EADtC,CANJ,CAJJ,CADG;AAkBP,eAAe;AACXC,EAAAA,KAAK,EAAE,kBADI;AAEXC,EAAAA,SAAS,EAAEV,KAFA;AAGXW,EAAAA,UAAU,EAAE;AACRV,IAAAA;AADQ;AAHD,CAAf","sourcesContent":["import * as React from 'react';\nimport { boolean } from '@storybook/addon-knobs';\n\nimport Media from '../media';\n\nimport Ghost from './Ghost';\nimport notes from './Ghost.stories.md';\n\nexport const regular = () => <Ghost isAnimated={boolean('isAnimated', true)} />;\n\nexport const withoutAnimation = () => <Ghost isAnimated={false} />;\n\nexport const circle = () => <Ghost borderRadius=\"50%\" width={32} height={32} />;\n\nexport const rectangle = () => <Ghost width={100} height={32} />;\n\nexport const pill = () => <Ghost borderRadius={12} width={100} height={24} />;\n\nexport const complicatedLayout = () => (\n <Media style={{ maxWidth: 400 }}>\n <Media.Figure>\n <Ghost borderRadius=\"50%\" height={32} width={32} />\n </Media.Figure>\n <Media.Body>\n <p>\n <Ghost />\n <Ghost />\n <Ghost width=\"50%\" />\n </p>\n <p>\n <Ghost width={100} height={32} /> <Ghost width={100} height={32} />\n </p>\n </Media.Body>\n </Media>\n);\n\nexport default {\n title: 'Components|Ghost',\n component: Ghost,\n parameters: {\n notes,\n },\n};\n"],"file":"Ghost.stories.js"}
1
+ {"version":3,"sources":["../../../src/components/ghost/Ghost.stories.tsx"],"names":["React","boolean","Media","Ghost","notes","regular","withoutAnimation","circle","rectangle","pill","complicatedLayout","maxWidth","title","component","parameters"],"mappings":"AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,SAASC,OAAT,QAAwB,wBAAxB;AAEA,OAAOC,KAAP,MAAkB,UAAlB;AAEA,OAAOC,KAAP,MAAkB,SAAlB;AACA,OAAOC,KAAP,MAAkB,oBAAlB;AAEA,OAAO,MAAMC,OAAO,GAAG,MAAM,oBAAC,KAAD;AAAO,EAAA,UAAU,EAAEJ,OAAO,CAAC,YAAD,EAAe,IAAf;AAA1B,EAAtB;AAEP,OAAO,MAAMK,gBAAgB,GAAG,MAAM,oBAAC,KAAD;AAAO,EAAA,UAAU,EAAE;AAAnB,EAA/B;AAEP,OAAO,MAAMC,MAAM,GAAG,MAAM,oBAAC,KAAD;AAAO,EAAA,YAAY,EAAC,KAApB;AAA0B,EAAA,KAAK,EAAE,EAAjC;AAAqC,EAAA,MAAM,EAAE;AAA7C,EAArB;AAEP,OAAO,MAAMC,SAAS,GAAG,MAAM,oBAAC,KAAD;AAAO,EAAA,KAAK,EAAE,GAAd;AAAmB,EAAA,MAAM,EAAE;AAA3B,EAAxB;AAEP,OAAO,MAAMC,IAAI,GAAG,MAAM,oBAAC,KAAD;AAAO,EAAA,YAAY,EAAE,EAArB;AAAyB,EAAA,KAAK,EAAE,GAAhC;AAAqC,EAAA,MAAM,EAAE;AAA7C,EAAnB;AAEP,OAAO,MAAMC,iBAAiB,GAAG,MAC7B,oBAAC,KAAD;AAAO,EAAA,KAAK,EAAE;AAAEC,IAAAA,QAAQ,EAAE;AAAZ;AAAd,GACI,oBAAC,KAAD,CAAO,MAAP,QACI,oBAAC,KAAD;AAAO,EAAA,YAAY,EAAC,KAApB;AAA0B,EAAA,MAAM,EAAE,EAAlC;AAAsC,EAAA,KAAK,EAAE;AAA7C,EADJ,CADJ,EAII,oBAAC,KAAD,CAAO,IAAP,QACI,+BACI,oBAAC,KAAD,OADJ,EAEI,oBAAC,KAAD,OAFJ,EAGI,oBAAC,KAAD;AAAO,EAAA,KAAK,EAAC;AAAb,EAHJ,CADJ,EAMI,+BACI,oBAAC,KAAD;AAAO,EAAA,KAAK,EAAE,GAAd;AAAmB,EAAA,MAAM,EAAE;AAA3B,EADJ,OACsC,oBAAC,KAAD;AAAO,EAAA,KAAK,EAAE,GAAd;AAAmB,EAAA,MAAM,EAAE;AAA3B,EADtC,CANJ,CAJJ,CADG;AAkBP,eAAe;AACXC,EAAAA,KAAK,EAAE,kBADI;AAEXC,EAAAA,SAAS,EAAEV,KAFA;AAGXW,EAAAA,UAAU,EAAE;AACRV,IAAAA;AADQ;AAHD,CAAf","sourcesContent":["import * as React from 'react';\nimport { boolean } from '@storybook/addon-knobs';\n\nimport Media from '../media';\n\nimport Ghost from './Ghost';\nimport notes from './Ghost.stories.md';\n\nexport const regular = () => <Ghost isAnimated={boolean('isAnimated', true)} />;\n\nexport const withoutAnimation = () => <Ghost isAnimated={false} />;\n\nexport const circle = () => <Ghost borderRadius=\"50%\" width={32} height={32} />;\n\nexport const rectangle = () => <Ghost width={100} height={32} />;\n\nexport const pill = () => <Ghost borderRadius={12} width={100} height={24} />;\n\nexport const complicatedLayout = () => (\n <Media style={{ maxWidth: 400 }}>\n <Media.Figure>\n <Ghost borderRadius=\"50%\" height={32} width={32} />\n </Media.Figure>\n <Media.Body>\n <p>\n <Ghost />\n <Ghost />\n <Ghost width=\"50%\" />\n </p>\n <p>\n <Ghost width={100} height={32} /> <Ghost width={100} height={32} />\n </p>\n </Media.Body>\n </Media>\n);\n\nexport default {\n title: 'Components/Ghost',\n component: Ghost,\n parameters: {\n notes,\n },\n};\n"],"file":"Ghost.stories.js"}
@@ -67,7 +67,7 @@ onlyBody.story = {
67
67
  name: 'only body'
68
68
  };
69
69
  export default {
70
- title: 'Components|GuideTooltip',
70
+ title: 'Components/GuideTooltip',
71
71
  component: GuideTooltip,
72
72
  parameters: {
73
73
  notes
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/guide-tooltip/GuideTooltip.stories.tsx"],"names":["React","GuideTooltip","Button","FolderShared32","notes","testImageSrc","addSpacing","component","textAlign","allOptionsWithIcon","children","onClick","console","log","story","name","titleImageBody","noButtons","onlyTitleBody","onlyBody","title","parameters"],"mappings":"AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AAEA,OAAOC,YAAP,MAAyB,gBAAzB;AACA,OAAOC,MAAP,MAAmB,kBAAnB;AACA,OAAOC,cAAP,MAA2B,mCAA3B;AACA,OAAOC,KAAP,MAAkB,2BAAlB,C,CACA;;AACA,OAAOC,YAAP,MAAyB,kBAAzB;;AAEA,MAAMC,UAAU,GAAIC,SAAD,IAA4B;AAAK,EAAA,KAAK,EAAE;AAAEC,IAAAA,SAAS,EAAE;AAAb;AAAZ,GAAsCD,SAAtC,CAA/C;;AAEA,OAAO,MAAME,kBAAkB,GAAG,MAC9BH,UAAU,CACN,oBAAC,YAAD;AACI,EAAA,KAAK,EAAC,aADV;AAEI,EAAA,IAAI,EAAC,6HAFT;AAGI,EAAA,IAAI,EAAE,oBAAC,cAAD,OAHV;AAII,EAAA,KAAK,EAAE,CAAC,CAAD,EAAI,CAAJ;AACP;AALJ;AAMI,EAAA,kBAAkB,EAAE;AAAEI,IAAAA,QAAQ,EAAE,MAAZ;AAAoBC,IAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,MAAZ;AAAnC,GANxB;AAOI,EAAA,oBAAoB,EAAE;AAAEH,IAAAA,QAAQ,EAAE,MAAZ;AAAoBC,IAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,MAAZ;AAAnC;AACtB;;AARJ,GAUI,oBAAC,MAAD,kBAVJ,CADM,CADP;AAgBPJ,kBAAkB,CAACK,KAAnB,GAA2B;AACvBC,EAAAA,IAAI,EAAE;AADiB,CAA3B;AAIA,OAAO,MAAMC,cAAc,GAAG,MAC1BV,UAAU,CACN,oBAAC,YAAD;AACI,EAAA,KAAK,EAAC,aADV;AAEI,EAAA,IAAI,EAAC,6HAFT;AAGI,EAAA,KAAK,EAAE;AAAK,IAAA,GAAG,EAAED,YAAV;AAAwB,IAAA,GAAG,EAAC;AAA5B;AAHX,GAKI,oBAAC,MAAD,kBALJ,CADM,CADP;AAWPW,cAAc,CAACF,KAAf,GAAuB;AACnBC,EAAAA,IAAI,EAAE;AADa,CAAvB;AAIA,OAAO,MAAME,SAAS,GAAG,MACrBX,UAAU,CACN,oBAAC,YAAD;AACI,EAAA,KAAK,EAAC,aADV;AAEI,EAAA,IAAI,EAAC,6HAFT;AAGI,EAAA,IAAI,EAAE,oBAAC,cAAD,OAHV;AAII,EAAA,KAAK,EAAE,CAAC,CAAD,EAAI,CAAJ;AAJX,GAMI,oBAAC,MAAD,kBANJ,CADM,CADP;AAYPW,SAAS,CAACH,KAAV,GAAkB;AACdC,EAAAA,IAAI,EAAE;AADQ,CAAlB;AAIA,OAAO,MAAMG,aAAa,GAAG,MACzBZ,UAAU,CACN,oBAAC,YAAD;AACI,EAAA,KAAK,EAAC,aADV;AAEI,EAAA,IAAI,EAAC;AAFT,GAII,oBAAC,MAAD,kBAJJ,CADM,CADP;AAUPY,aAAa,CAACJ,KAAd,GAAsB;AAClBC,EAAAA,IAAI,EAAE;AADY,CAAtB;AAIA,OAAO,MAAMI,QAAQ,GAAG,MACpBb,UAAU,CACN,oBAAC,YAAD;AAAc,EAAA,IAAI,EAAC;AAAnB,GACI,oBAAC,MAAD,kBADJ,CADM,CADP;AAOPa,QAAQ,CAACL,KAAT,GAAiB;AACbC,EAAAA,IAAI,EAAE;AADO,CAAjB;AAIA,eAAe;AACXK,EAAAA,KAAK,EAAE,yBADI;AAEXb,EAAAA,SAAS,EAAEN,YAFA;AAGXoB,EAAAA,UAAU,EAAE;AACRjB,IAAAA;AADQ;AAHD,CAAf","sourcesContent":["import * as React from 'react';\n\nimport GuideTooltip from './GuideTooltip';\nimport Button from '../button/Button';\nimport FolderShared32 from '../../icon/content/FolderShared32';\nimport notes from './GuideTooltip.stories.md';\n// @ts-ignore flow import\nimport testImageSrc from './test-image.png';\n\nconst addSpacing = (component: JSX.Element) => <div style={{ textAlign: 'center' }}>{component}</div>;\n\nexport const allOptionsWithIcon = () =>\n addSpacing(\n <GuideTooltip\n title=\"Lorem Ipsum\"\n body=\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\"\n icon={<FolderShared32 />}\n steps={[1, 3]}\n /* eslint-disable no-console */\n primaryButtonProps={{ children: 'Next', onClick: () => console.log('next') }}\n secondaryButtonProps={{ children: 'Back', onClick: () => console.log('back') }}\n /* eslint-enable no-console */\n >\n <Button>example</Button>\n </GuideTooltip>,\n );\n\nallOptionsWithIcon.story = {\n name: 'body, icon, steps, title, next button, previous button',\n};\n\nexport const titleImageBody = () =>\n addSpacing(\n <GuideTooltip\n title=\"Lorem Ipsum\"\n body=\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\"\n image={<img src={testImageSrc} alt=\"Lorem ipsum dolor\" />}\n >\n <Button>example</Button>\n </GuideTooltip>,\n );\n\ntitleImageBody.story = {\n name: 'title, image, body',\n};\n\nexport const noButtons = () =>\n addSpacing(\n <GuideTooltip\n title=\"Lorem Ipsum\"\n body=\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\"\n icon={<FolderShared32 />}\n steps={[1, 3]}\n >\n <Button>example</Button>\n </GuideTooltip>,\n );\n\nnoButtons.story = {\n name: 'body, icon, steps, title',\n};\n\nexport const onlyTitleBody = () =>\n addSpacing(\n <GuideTooltip\n title=\"Lorem Ipsum\"\n body=\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\"\n >\n <Button>example</Button>\n </GuideTooltip>,\n );\n\nonlyTitleBody.story = {\n name: 'only title and body',\n};\n\nexport const onlyBody = () =>\n addSpacing(\n <GuideTooltip body=\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\">\n <Button>example</Button>\n </GuideTooltip>,\n );\n\nonlyBody.story = {\n name: 'only body',\n};\n\nexport default {\n title: 'Components|GuideTooltip',\n component: GuideTooltip,\n parameters: {\n notes,\n },\n};\n"],"file":"GuideTooltip.stories.js"}
1
+ {"version":3,"sources":["../../../src/components/guide-tooltip/GuideTooltip.stories.tsx"],"names":["React","GuideTooltip","Button","FolderShared32","notes","testImageSrc","addSpacing","component","textAlign","allOptionsWithIcon","children","onClick","console","log","story","name","titleImageBody","noButtons","onlyTitleBody","onlyBody","title","parameters"],"mappings":"AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AAEA,OAAOC,YAAP,MAAyB,gBAAzB;AACA,OAAOC,MAAP,MAAmB,kBAAnB;AACA,OAAOC,cAAP,MAA2B,mCAA3B;AACA,OAAOC,KAAP,MAAkB,2BAAlB,C,CACA;;AACA,OAAOC,YAAP,MAAyB,kBAAzB;;AAEA,MAAMC,UAAU,GAAIC,SAAD,IAA4B;AAAK,EAAA,KAAK,EAAE;AAAEC,IAAAA,SAAS,EAAE;AAAb;AAAZ,GAAsCD,SAAtC,CAA/C;;AAEA,OAAO,MAAME,kBAAkB,GAAG,MAC9BH,UAAU,CACN,oBAAC,YAAD;AACI,EAAA,KAAK,EAAC,aADV;AAEI,EAAA,IAAI,EAAC,6HAFT;AAGI,EAAA,IAAI,EAAE,oBAAC,cAAD,OAHV;AAII,EAAA,KAAK,EAAE,CAAC,CAAD,EAAI,CAAJ;AACP;AALJ;AAMI,EAAA,kBAAkB,EAAE;AAAEI,IAAAA,QAAQ,EAAE,MAAZ;AAAoBC,IAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,MAAZ;AAAnC,GANxB;AAOI,EAAA,oBAAoB,EAAE;AAAEH,IAAAA,QAAQ,EAAE,MAAZ;AAAoBC,IAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,MAAZ;AAAnC;AACtB;;AARJ,GAUI,oBAAC,MAAD,kBAVJ,CADM,CADP;AAgBPJ,kBAAkB,CAACK,KAAnB,GAA2B;AACvBC,EAAAA,IAAI,EAAE;AADiB,CAA3B;AAIA,OAAO,MAAMC,cAAc,GAAG,MAC1BV,UAAU,CACN,oBAAC,YAAD;AACI,EAAA,KAAK,EAAC,aADV;AAEI,EAAA,IAAI,EAAC,6HAFT;AAGI,EAAA,KAAK,EAAE;AAAK,IAAA,GAAG,EAAED,YAAV;AAAwB,IAAA,GAAG,EAAC;AAA5B;AAHX,GAKI,oBAAC,MAAD,kBALJ,CADM,CADP;AAWPW,cAAc,CAACF,KAAf,GAAuB;AACnBC,EAAAA,IAAI,EAAE;AADa,CAAvB;AAIA,OAAO,MAAME,SAAS,GAAG,MACrBX,UAAU,CACN,oBAAC,YAAD;AACI,EAAA,KAAK,EAAC,aADV;AAEI,EAAA,IAAI,EAAC,6HAFT;AAGI,EAAA,IAAI,EAAE,oBAAC,cAAD,OAHV;AAII,EAAA,KAAK,EAAE,CAAC,CAAD,EAAI,CAAJ;AAJX,GAMI,oBAAC,MAAD,kBANJ,CADM,CADP;AAYPW,SAAS,CAACH,KAAV,GAAkB;AACdC,EAAAA,IAAI,EAAE;AADQ,CAAlB;AAIA,OAAO,MAAMG,aAAa,GAAG,MACzBZ,UAAU,CACN,oBAAC,YAAD;AACI,EAAA,KAAK,EAAC,aADV;AAEI,EAAA,IAAI,EAAC;AAFT,GAII,oBAAC,MAAD,kBAJJ,CADM,CADP;AAUPY,aAAa,CAACJ,KAAd,GAAsB;AAClBC,EAAAA,IAAI,EAAE;AADY,CAAtB;AAIA,OAAO,MAAMI,QAAQ,GAAG,MACpBb,UAAU,CACN,oBAAC,YAAD;AAAc,EAAA,IAAI,EAAC;AAAnB,GACI,oBAAC,MAAD,kBADJ,CADM,CADP;AAOPa,QAAQ,CAACL,KAAT,GAAiB;AACbC,EAAAA,IAAI,EAAE;AADO,CAAjB;AAIA,eAAe;AACXK,EAAAA,KAAK,EAAE,yBADI;AAEXb,EAAAA,SAAS,EAAEN,YAFA;AAGXoB,EAAAA,UAAU,EAAE;AACRjB,IAAAA;AADQ;AAHD,CAAf","sourcesContent":["import * as React from 'react';\n\nimport GuideTooltip from './GuideTooltip';\nimport Button from '../button/Button';\nimport FolderShared32 from '../../icon/content/FolderShared32';\nimport notes from './GuideTooltip.stories.md';\n// @ts-ignore flow import\nimport testImageSrc from './test-image.png';\n\nconst addSpacing = (component: JSX.Element) => <div style={{ textAlign: 'center' }}>{component}</div>;\n\nexport const allOptionsWithIcon = () =>\n addSpacing(\n <GuideTooltip\n title=\"Lorem Ipsum\"\n body=\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\"\n icon={<FolderShared32 />}\n steps={[1, 3]}\n /* eslint-disable no-console */\n primaryButtonProps={{ children: 'Next', onClick: () => console.log('next') }}\n secondaryButtonProps={{ children: 'Back', onClick: () => console.log('back') }}\n /* eslint-enable no-console */\n >\n <Button>example</Button>\n </GuideTooltip>,\n );\n\nallOptionsWithIcon.story = {\n name: 'body, icon, steps, title, next button, previous button',\n};\n\nexport const titleImageBody = () =>\n addSpacing(\n <GuideTooltip\n title=\"Lorem Ipsum\"\n body=\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\"\n image={<img src={testImageSrc} alt=\"Lorem ipsum dolor\" />}\n >\n <Button>example</Button>\n </GuideTooltip>,\n );\n\ntitleImageBody.story = {\n name: 'title, image, body',\n};\n\nexport const noButtons = () =>\n addSpacing(\n <GuideTooltip\n title=\"Lorem Ipsum\"\n body=\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\"\n icon={<FolderShared32 />}\n steps={[1, 3]}\n >\n <Button>example</Button>\n </GuideTooltip>,\n );\n\nnoButtons.story = {\n name: 'body, icon, steps, title',\n};\n\nexport const onlyTitleBody = () =>\n addSpacing(\n <GuideTooltip\n title=\"Lorem Ipsum\"\n body=\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\"\n >\n <Button>example</Button>\n </GuideTooltip>,\n );\n\nonlyTitleBody.story = {\n name: 'only title and body',\n};\n\nexport const onlyBody = () =>\n addSpacing(\n <GuideTooltip body=\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\">\n <Button>example</Button>\n </GuideTooltip>,\n );\n\nonlyBody.story = {\n name: 'only body',\n};\n\nexport default {\n title: 'Components/GuideTooltip',\n component: GuideTooltip,\n parameters: {\n notes,\n },\n};\n"],"file":"GuideTooltip.stories.js"}
@@ -11,7 +11,7 @@ export const regular = () => React.createElement(Header, {
11
11
  }
12
12
  }, "Lorem Ipsum"));
13
13
  export default {
14
- title: 'Components|Header',
14
+ title: 'Components/Header',
15
15
  component: Header,
16
16
  parameters: {
17
17
  notes
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/header/Header.stories.tsx"],"names":["React","text","bdlBoxBlue","Header","notes","regular","color","title","component","parameters"],"mappings":"AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,SAASC,IAAT,QAAqB,wBAArB;AAEA,SAASC,UAAT,QAA2B,wBAA3B;AAEA,OAAOC,MAAP,MAAmB,UAAnB;AACA,OAAOC,KAAP,MAAkB,qBAAlB;AAEA,OAAO,MAAMC,OAAO,GAAG,MACnB,oBAAC,MAAD;AAAQ,EAAA,KAAK,EAAEJ,IAAI,CAAC,OAAD,EAAUC,UAAV;AAAnB,GACI;AAAI,EAAA,KAAK,EAAE;AAAEI,IAAAA,KAAK,EAAE;AAAT;AAAX,iBADJ,CADG;AAMP,eAAe;AACXC,EAAAA,KAAK,EAAE,mBADI;AAEXC,EAAAA,SAAS,EAAEL,MAFA;AAGXM,EAAAA,UAAU,EAAE;AACRL,IAAAA;AADQ;AAHD,CAAf","sourcesContent":["import * as React from 'react';\nimport { text } from '@storybook/addon-knobs';\n\nimport { bdlBoxBlue } from '../../styles/variables';\n\nimport Header from './Header';\nimport notes from './Header.stories.md';\n\nexport const regular = () => (\n <Header color={text('color', bdlBoxBlue)}>\n <h1 style={{ color: '#fff' }}>Lorem Ipsum</h1>\n </Header>\n);\n\nexport default {\n title: 'Components|Header',\n component: Header,\n parameters: {\n notes,\n },\n};\n"],"file":"Header.stories.js"}
1
+ {"version":3,"sources":["../../../src/components/header/Header.stories.tsx"],"names":["React","text","bdlBoxBlue","Header","notes","regular","color","title","component","parameters"],"mappings":"AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,SAASC,IAAT,QAAqB,wBAArB;AAEA,SAASC,UAAT,QAA2B,wBAA3B;AAEA,OAAOC,MAAP,MAAmB,UAAnB;AACA,OAAOC,KAAP,MAAkB,qBAAlB;AAEA,OAAO,MAAMC,OAAO,GAAG,MACnB,oBAAC,MAAD;AAAQ,EAAA,KAAK,EAAEJ,IAAI,CAAC,OAAD,EAAUC,UAAV;AAAnB,GACI;AAAI,EAAA,KAAK,EAAE;AAAEI,IAAAA,KAAK,EAAE;AAAT;AAAX,iBADJ,CADG;AAMP,eAAe;AACXC,EAAAA,KAAK,EAAE,mBADI;AAEXC,EAAAA,SAAS,EAAEL,MAFA;AAGXM,EAAAA,UAAU,EAAE;AACRL,IAAAA;AADQ;AAHD,CAAf","sourcesContent":["import * as React from 'react';\nimport { text } from '@storybook/addon-knobs';\n\nimport { bdlBoxBlue } from '../../styles/variables';\n\nimport Header from './Header';\nimport notes from './Header.stories.md';\n\nexport const regular = () => (\n <Header color={text('color', bdlBoxBlue)}>\n <h1 style={{ color: '#fff' }}>Lorem Ipsum</h1>\n </Header>\n);\n\nexport default {\n title: 'Components/Header',\n component: Header,\n parameters: {\n notes,\n },\n};\n"],"file":"Header.stories.js"}
@@ -20,7 +20,7 @@ export const basic = () => React.createElement("div", {
20
20
  type: ButtonType.BUTTON
21
21
  }, "Callout")));
22
22
  export default {
23
- title: 'Components|ImageTooltip',
23
+ title: 'Components/ImageTooltip',
24
24
  component: ImageTooltip,
25
25
  parameters: {
26
26
  notes
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/image-tooltip/ImageTooltip.stories.tsx"],"names":["React","Button","ButtonType","testImageSrc","ImageTooltip","notes","basic","textAlign","BUTTON","title","component","parameters"],"mappings":"AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AAEA,OAAOC,MAAP,IAAiBC,UAAjB,QAAmC,kBAAnC,C,CAEA;;AACA,OAAOC,YAAP,MAAyB,mBAAzB;AACA,OAAOC,YAAP,MAAyB,gBAAzB;AACA,OAAOC,KAAP,MAAkB,2BAAlB;AAEA,OAAO,MAAMC,KAAK,GAAG,MACjB;AAAK,EAAA,KAAK,EAAE;AAAEC,IAAAA,SAAS,EAAE;AAAb;AAAZ,GACI,oBAAC,YAAD;AACI,EAAA,OAAO,EAAC,8EADZ;AAEI,EAAA,KAAK,EAAE;AAAK,IAAA,GAAG,EAAEJ,YAAV;AAAwB,IAAA,GAAG,EAAC;AAA5B,IAFX;AAGI,EAAA,OAAO,MAHX;AAII,EAAA,KAAK,EAAC;AAJV,GAMI,oBAAC,MAAD;AAAQ,EAAA,IAAI,EAAED,UAAU,CAACM;AAAzB,aANJ,CADJ,CADG;AAaP,eAAe;AACXC,EAAAA,KAAK,EAAE,yBADI;AAEXC,EAAAA,SAAS,EAAEN,YAFA;AAGXO,EAAAA,UAAU,EAAE;AACRN,IAAAA;AADQ;AAHD,CAAf","sourcesContent":["import * as React from 'react';\n\nimport Button, { ButtonType } from '../button/Button';\n\n// @ts-ignore flow import\nimport testImageSrc from './getTestImageSrc';\nimport ImageTooltip from './ImageTooltip';\nimport notes from './ImageTooltip.stories.md';\n\nexport const basic = () => (\n <div style={{ textAlign: 'center' }}>\n <ImageTooltip\n content=\"Lorem ipsum dolor sit amet, consec tetur adipiscing elit. Ut at semper nisl.\"\n image={<img src={testImageSrc} alt=\"Lorem ipsum dolor\" />}\n isShown\n title=\"Lorem ipsum dolor\"\n >\n <Button type={ButtonType.BUTTON}>Callout</Button>\n </ImageTooltip>\n </div>\n);\n\nexport default {\n title: 'Components|ImageTooltip',\n component: ImageTooltip,\n parameters: {\n notes,\n },\n};\n"],"file":"ImageTooltip.stories.js"}
1
+ {"version":3,"sources":["../../../src/components/image-tooltip/ImageTooltip.stories.tsx"],"names":["React","Button","ButtonType","testImageSrc","ImageTooltip","notes","basic","textAlign","BUTTON","title","component","parameters"],"mappings":"AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AAEA,OAAOC,MAAP,IAAiBC,UAAjB,QAAmC,kBAAnC,C,CAEA;;AACA,OAAOC,YAAP,MAAyB,mBAAzB;AACA,OAAOC,YAAP,MAAyB,gBAAzB;AACA,OAAOC,KAAP,MAAkB,2BAAlB;AAEA,OAAO,MAAMC,KAAK,GAAG,MACjB;AAAK,EAAA,KAAK,EAAE;AAAEC,IAAAA,SAAS,EAAE;AAAb;AAAZ,GACI,oBAAC,YAAD;AACI,EAAA,OAAO,EAAC,8EADZ;AAEI,EAAA,KAAK,EAAE;AAAK,IAAA,GAAG,EAAEJ,YAAV;AAAwB,IAAA,GAAG,EAAC;AAA5B,IAFX;AAGI,EAAA,OAAO,MAHX;AAII,EAAA,KAAK,EAAC;AAJV,GAMI,oBAAC,MAAD;AAAQ,EAAA,IAAI,EAAED,UAAU,CAACM;AAAzB,aANJ,CADJ,CADG;AAaP,eAAe;AACXC,EAAAA,KAAK,EAAE,yBADI;AAEXC,EAAAA,SAAS,EAAEN,YAFA;AAGXO,EAAAA,UAAU,EAAE;AACRN,IAAAA;AADQ;AAHD,CAAf","sourcesContent":["import * as React from 'react';\n\nimport Button, { ButtonType } from '../button/Button';\n\n// @ts-ignore flow import\nimport testImageSrc from './getTestImageSrc';\nimport ImageTooltip from './ImageTooltip';\nimport notes from './ImageTooltip.stories.md';\n\nexport const basic = () => (\n <div style={{ textAlign: 'center' }}>\n <ImageTooltip\n content=\"Lorem ipsum dolor sit amet, consec tetur adipiscing elit. Ut at semper nisl.\"\n image={<img src={testImageSrc} alt=\"Lorem ipsum dolor\" />}\n isShown\n title=\"Lorem ipsum dolor\"\n >\n <Button type={ButtonType.BUTTON}>Callout</Button>\n </ImageTooltip>\n </div>\n);\n\nexport default {\n title: 'Components/ImageTooltip',\n component: ImageTooltip,\n parameters: {\n notes,\n },\n};\n"],"file":"ImageTooltip.stories.js"}
@@ -4,7 +4,7 @@ export const regular = () => React.createElement(InlineError, {
4
4
  title: "Something bad happened"
5
5
  }, "Username is required");
6
6
  export default {
7
- title: 'Components|InlineError',
7
+ title: 'Components/InlineError',
8
8
  component: InlineError
9
9
  };
10
10
  //# sourceMappingURL=InlineError.stories.js.map
@@ -4,6 +4,6 @@ import InlineError from './InlineError';
4
4
  export const regular = () => <InlineError title="Something bad happened">Username is required</InlineError>;
5
5
 
6
6
  export default {
7
- title: 'Components|InlineError',
7
+ title: 'Components/InlineError',
8
8
  component: InlineError,
9
9
  };
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/inline-error/InlineError.stories.js"],"names":["React","InlineError","regular","title","component"],"mappings":"AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,OAAOC,WAAP,MAAwB,eAAxB;AAEA,OAAO,MAAMC,OAAO,GAAG,MAAM,oBAAC,WAAD;AAAa,EAAA,KAAK,EAAC;AAAnB,0BAAtB;AAEP,eAAe;AACXC,EAAAA,KAAK,EAAE,wBADI;AAEXC,EAAAA,SAAS,EAAEH;AAFA,CAAf","sourcesContent":["import * as React from 'react';\nimport InlineError from './InlineError';\n\nexport const regular = () => <InlineError title=\"Something bad happened\">Username is required</InlineError>;\n\nexport default {\n title: 'Components|InlineError',\n component: InlineError,\n};\n"],"file":"InlineError.stories.js"}
1
+ {"version":3,"sources":["../../../src/components/inline-error/InlineError.stories.js"],"names":["React","InlineError","regular","title","component"],"mappings":"AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,OAAOC,WAAP,MAAwB,eAAxB;AAEA,OAAO,MAAMC,OAAO,GAAG,MAAM,oBAAC,WAAD;AAAa,EAAA,KAAK,EAAC;AAAnB,0BAAtB;AAEP,eAAe;AACXC,EAAAA,KAAK,EAAE,wBADI;AAEXC,EAAAA,SAAS,EAAEH;AAFA,CAAf","sourcesContent":["import * as React from 'react';\nimport InlineError from './InlineError';\n\nexport const regular = () => <InlineError title=\"Something bad happened\">Username is required</InlineError>;\n\nexport default {\n title: 'Components/InlineError',\n component: InlineError,\n};\n"],"file":"InlineError.stories.js"}
@@ -29,7 +29,7 @@ export const withTitle = () => React.createElement("div", null, React.createElem
29
29
  title: "Generic Title"
30
30
  }, "This is a generic notice. You will just want to notice this."));
31
31
  export default {
32
- title: 'Components|InlineNotice',
32
+ title: 'Components/InlineNotice',
33
33
  component: InlineNotice,
34
34
  parameters: {
35
35
  notes
@@ -51,7 +51,7 @@ export const withTitle = () => (
51
51
  );
52
52
 
53
53
  export default {
54
- title: 'Components|InlineNotice',
54
+ title: 'Components/InlineNotice',
55
55
  component: InlineNotice,
56
56
  parameters: {
57
57
  notes,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/inline-notice/InlineNotice.stories.js"],"names":["React","InlineNotice","notes","withoutTitle","withTitle","title","component","parameters"],"mappings":"AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,OAAOC,YAAP,MAAyB,gBAAzB;AACA,OAAOC,KAAP,MAAkB,2BAAlB;AAEA,OAAO,MAAMC,YAAY,GAAG,MACxB,iCACI,oBAAC,YAAD;AAAc,EAAA,IAAI,EAAC;AAAnB,iBACc,8CADd,sDADJ,EAKI,oBAAC,YAAD;AAAc,EAAA,IAAI,EAAC;AAAnB,kBACe,4CADf,uDALJ,EASI,oBAAC,YAAD;AAAc,EAAA,IAAI,EAAC;AAAnB,iBACc,8CADd,uDATJ,EAaI,oBAAC,YAAD;AAAc,EAAA,IAAI,EAAC;AAAnB,kBACe,2CADf,oDAbJ,EAiBI,oBAAC,YAAD;AAAc,EAAA,IAAI,EAAC;AAAnB,kBACe,8CADf,6CAjBJ,CADG;AAwBP,OAAO,MAAMC,SAAS,GAAG,MACrB,iCACI,oBAAC,YAAD;AAAc,EAAA,IAAI,EAAC,SAAnB;AAA6B,EAAA,KAAK,EAAC;AAAnC,wEADJ,EAKI,oBAAC,YAAD;AAAc,EAAA,IAAI,EAAC,OAAnB;AAA2B,EAAA,KAAK,EAAC;AAAjC,wEALJ,EASI,oBAAC,YAAD;AAAc,EAAA,IAAI,EAAC,SAAnB;AAA6B,EAAA,KAAK,EAAC;AAAnC,yEATJ,EAaI,oBAAC,YAAD;AAAc,EAAA,IAAI,EAAC,MAAnB;AAA0B,EAAA,KAAK,EAAC;AAAhC,oEAbJ,EAiBI,oBAAC,YAAD;AAAc,EAAA,IAAI,EAAC,SAAnB;AAA6B,EAAA,KAAK,EAAC;AAAnC,kEAjBJ,CADG;AAwBP,eAAe;AACXC,EAAAA,KAAK,EAAE,yBADI;AAEXC,EAAAA,SAAS,EAAEL,YAFA;AAGXM,EAAAA,UAAU,EAAE;AACRL,IAAAA;AADQ;AAHD,CAAf","sourcesContent":["import * as React from 'react';\nimport InlineNotice from './InlineNotice';\nimport notes from './InlineNotice.stories.md';\n\nexport const withoutTitle = () => (\n <div>\n <InlineNotice type=\"warning\">\n This is a <strong>warning</strong> notice. You might want to pay attention to this.\n </InlineNotice>\n\n <InlineNotice type=\"error\">\n This is an <strong>error</strong> notice. You really want to pay attention to this.\n </InlineNotice>\n\n <InlineNotice type=\"success\">\n This is a <strong>success</strong> notice. You ought to feel really good about this.\n </InlineNotice>\n\n <InlineNotice type=\"info\">\n This is an <strong>info</strong> notice. You should get some context from this.\n </InlineNotice>\n\n <InlineNotice type=\"generic\">\n This is an <strong>generic</strong> notice. You will just want to see this.\n </InlineNotice>\n </div>\n);\n\nexport const withTitle = () => (\n <div>\n <InlineNotice type=\"warning\" title=\"Warning Title\">\n This is a warning notice. You might want to pay attention to this.\n </InlineNotice>\n\n <InlineNotice type=\"error\" title=\"Error Title\">\n This is an error notice. You really want to pay attention to this.\n </InlineNotice>\n\n <InlineNotice type=\"success\" title=\"Success Title\">\n This is a success notice. You ought to feel really good about this.\n </InlineNotice>\n\n <InlineNotice type=\"info\" title=\"Info Title\">\n This is an info notice. You should get some context from this.\n </InlineNotice>\n\n <InlineNotice type=\"generic\" title=\"Generic Title\">\n This is a generic notice. You will just want to notice this.\n </InlineNotice>\n </div>\n);\n\nexport default {\n title: 'Components|InlineNotice',\n component: InlineNotice,\n parameters: {\n notes,\n },\n};\n"],"file":"InlineNotice.stories.js"}
1
+ {"version":3,"sources":["../../../src/components/inline-notice/InlineNotice.stories.js"],"names":["React","InlineNotice","notes","withoutTitle","withTitle","title","component","parameters"],"mappings":"AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,OAAOC,YAAP,MAAyB,gBAAzB;AACA,OAAOC,KAAP,MAAkB,2BAAlB;AAEA,OAAO,MAAMC,YAAY,GAAG,MACxB,iCACI,oBAAC,YAAD;AAAc,EAAA,IAAI,EAAC;AAAnB,iBACc,8CADd,sDADJ,EAKI,oBAAC,YAAD;AAAc,EAAA,IAAI,EAAC;AAAnB,kBACe,4CADf,uDALJ,EASI,oBAAC,YAAD;AAAc,EAAA,IAAI,EAAC;AAAnB,iBACc,8CADd,uDATJ,EAaI,oBAAC,YAAD;AAAc,EAAA,IAAI,EAAC;AAAnB,kBACe,2CADf,oDAbJ,EAiBI,oBAAC,YAAD;AAAc,EAAA,IAAI,EAAC;AAAnB,kBACe,8CADf,6CAjBJ,CADG;AAwBP,OAAO,MAAMC,SAAS,GAAG,MACrB,iCACI,oBAAC,YAAD;AAAc,EAAA,IAAI,EAAC,SAAnB;AAA6B,EAAA,KAAK,EAAC;AAAnC,wEADJ,EAKI,oBAAC,YAAD;AAAc,EAAA,IAAI,EAAC,OAAnB;AAA2B,EAAA,KAAK,EAAC;AAAjC,wEALJ,EASI,oBAAC,YAAD;AAAc,EAAA,IAAI,EAAC,SAAnB;AAA6B,EAAA,KAAK,EAAC;AAAnC,yEATJ,EAaI,oBAAC,YAAD;AAAc,EAAA,IAAI,EAAC,MAAnB;AAA0B,EAAA,KAAK,EAAC;AAAhC,oEAbJ,EAiBI,oBAAC,YAAD;AAAc,EAAA,IAAI,EAAC,SAAnB;AAA6B,EAAA,KAAK,EAAC;AAAnC,kEAjBJ,CADG;AAwBP,eAAe;AACXC,EAAAA,KAAK,EAAE,yBADI;AAEXC,EAAAA,SAAS,EAAEL,YAFA;AAGXM,EAAAA,UAAU,EAAE;AACRL,IAAAA;AADQ;AAHD,CAAf","sourcesContent":["import * as React from 'react';\nimport InlineNotice from './InlineNotice';\nimport notes from './InlineNotice.stories.md';\n\nexport const withoutTitle = () => (\n <div>\n <InlineNotice type=\"warning\">\n This is a <strong>warning</strong> notice. You might want to pay attention to this.\n </InlineNotice>\n\n <InlineNotice type=\"error\">\n This is an <strong>error</strong> notice. You really want to pay attention to this.\n </InlineNotice>\n\n <InlineNotice type=\"success\">\n This is a <strong>success</strong> notice. You ought to feel really good about this.\n </InlineNotice>\n\n <InlineNotice type=\"info\">\n This is an <strong>info</strong> notice. You should get some context from this.\n </InlineNotice>\n\n <InlineNotice type=\"generic\">\n This is an <strong>generic</strong> notice. You will just want to see this.\n </InlineNotice>\n </div>\n);\n\nexport const withTitle = () => (\n <div>\n <InlineNotice type=\"warning\" title=\"Warning Title\">\n This is a warning notice. You might want to pay attention to this.\n </InlineNotice>\n\n <InlineNotice type=\"error\" title=\"Error Title\">\n This is an error notice. You really want to pay attention to this.\n </InlineNotice>\n\n <InlineNotice type=\"success\" title=\"Success Title\">\n This is a success notice. You ought to feel really good about this.\n </InlineNotice>\n\n <InlineNotice type=\"info\" title=\"Info Title\">\n This is an info notice. You should get some context from this.\n </InlineNotice>\n\n <InlineNotice type=\"generic\" title=\"Generic Title\">\n This is a generic notice. You will just want to notice this.\n </InlineNotice>\n </div>\n);\n\nexport default {\n title: 'Components/InlineNotice',\n component: InlineNotice,\n parameters: {\n notes,\n },\n};\n"],"file":"InlineNotice.stories.js"}
@@ -1,15 +1,21 @@
1
+ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
+
3
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
4
+
5
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
6
+
1
7
  import * as React from 'react';
2
8
  import LabelPrimitive from './LabelPrimitive';
3
9
 
4
10
  const HiddenLabel = (_ref) => {
5
11
  let {
6
- children,
7
- labelContent
8
- } = _ref;
9
- return React.createElement(LabelPrimitive, {
10
- className: "accessibility-hidden",
11
- labelContent: labelContent
12
- }, children);
12
+ children
13
+ } = _ref,
14
+ rest = _objectWithoutProperties(_ref, ["children"]);
15
+
16
+ return React.createElement(LabelPrimitive, _extends({
17
+ className: "accessibility-hidden"
18
+ }, rest), children);
13
19
  };
14
20
 
15
21
  export default HiddenLabel;
@@ -8,10 +8,11 @@ const HIDDEN_CLASS_NAME = 'accessibility-hidden';
8
8
  type Props = {
9
9
  children: React.Node,
10
10
  labelContent: React.Node,
11
+ labelElProps?: React.Element<'label'>,
11
12
  };
12
13
 
13
- const HiddenLabel = ({ children, labelContent }: Props) => (
14
- <LabelPrimitive className={HIDDEN_CLASS_NAME} labelContent={labelContent}>
14
+ const HiddenLabel = ({ children, labelContent, labelElProps }: Props) => (
15
+ <LabelPrimitive className={HIDDEN_CLASS_NAME} labelContent={labelContent} labelElProps={labelElProps}>
15
16
  {children}
16
17
  </LabelPrimitive>
17
18
  );
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/label/HiddenLabel.tsx"],"names":["React","LabelPrimitive","HiddenLabel","children","labelContent"],"mappings":"AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AAEA,OAAOC,cAAP,MAA2B,kBAA3B;;AASA,MAAMC,WAAW,GAAG;AAAA,MAAC;AAAEC,IAAAA,QAAF;AAAYC,IAAAA;AAAZ,GAAD;AAAA,SAChB,oBAAC,cAAD;AAAgB,IAAA,SAAS,EAAC,sBAA1B;AAAiD,IAAA,YAAY,EAAEA;AAA/D,KACKD,QADL,CADgB;AAAA,CAApB;;AAMA,eAAeD,WAAf","sourcesContent":["import * as React from 'react';\n\nimport LabelPrimitive from './LabelPrimitive';\n\nexport interface HiddenLabelProps {\n /** Child for the label */\n children: React.ReactElement;\n /** Text content of the label */\n labelContent: React.ReactNode;\n}\n\nconst HiddenLabel = ({ children, labelContent }: HiddenLabelProps) => (\n <LabelPrimitive className=\"accessibility-hidden\" labelContent={labelContent}>\n {children}\n </LabelPrimitive>\n);\n\nexport default HiddenLabel;\n"],"file":"HiddenLabel.js"}
1
+ {"version":3,"sources":["../../../src/components/label/HiddenLabel.tsx"],"names":["React","LabelPrimitive","HiddenLabel","children","rest"],"mappings":";;;;;;AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AAEA,OAAOC,cAAP,MAA2B,kBAA3B;;AAWA,MAAMC,WAAW,GAAG;AAAA,MAAC;AAAEC,IAAAA;AAAF,GAAD;AAAA,MAAgBC,IAAhB;;AAAA,SAChB,oBAAC,cAAD;AAAgB,IAAA,SAAS,EAAC;AAA1B,KAAqDA,IAArD,GACKD,QADL,CADgB;AAAA,CAApB;;AAMA,eAAeD,WAAf","sourcesContent":["import * as React from 'react';\n\nimport LabelPrimitive from './LabelPrimitive';\n\nexport interface HiddenLabelProps {\n /** Child for the label */\n children: React.ReactElement;\n /** Text content of the label */\n labelContent: React.ReactNode;\n /** Optional props for the label element */\n labelElProps?: React.ComponentPropsWithoutRef<'label'>;\n}\n\nconst HiddenLabel = ({ children, ...rest }: HiddenLabelProps) => (\n <LabelPrimitive className=\"accessibility-hidden\" {...rest}>\n {children}\n </LabelPrimitive>\n);\n\nexport default HiddenLabel;\n"],"file":"HiddenLabel.js"}
@@ -21,6 +21,7 @@ const Label = (_ref) => {
21
21
  let {
22
22
  text,
23
23
  tooltip,
24
+ labelElProps,
24
25
  infoTooltip,
25
26
  infoIconProps,
26
27
  showOptionalText,
@@ -45,13 +46,15 @@ const Label = (_ref) => {
45
46
 
46
47
  if (hideLabel) {
47
48
  return React.createElement(HiddenLabel, {
48
- labelContent: labelContent
49
+ labelContent: labelContent,
50
+ labelElProps: labelElProps
49
51
  }, children);
50
52
  }
51
53
 
52
54
  return React.createElement(StandardLabel, {
53
55
  labelContent: labelContent,
54
- tooltip: tooltip
56
+ tooltip: tooltip,
57
+ labelElProps: labelElProps
55
58
  }, children);
56
59
  };
57
60
 
@@ -23,6 +23,8 @@ type Props = {
23
23
  infoIconProps?: Object,
24
24
  /** Tooltip text for the info icon */
25
25
  infoTooltip?: React.Node,
26
+ /** Optional props for the label element */
27
+ labelElProps?: React.Element<'label'>,
26
28
  /** Whether to show the `(Optional)` text next to the label for an optional field */
27
29
  showOptionalText?: boolean,
28
30
  /** The label text */
@@ -31,7 +33,7 @@ type Props = {
31
33
  tooltip?: React.Node,
32
34
  };
33
35
 
34
- const Label = ({ text, tooltip, infoTooltip, infoIconProps, showOptionalText, hideLabel, children }: Props) => {
36
+ const Label = ({ text, tooltip, infoTooltip, labelElProps, infoIconProps, showOptionalText, hideLabel, children }: Props) => {
35
37
  const labelContent = [
36
38
  <span key="labelText">{text}</span>,
37
39
  showOptionalText ? <OptionalFormattedMessage key="optionalMessage" /> : null,
@@ -48,11 +50,11 @@ const Label = ({ text, tooltip, infoTooltip, infoIconProps, showOptionalText, hi
48
50
  }
49
51
 
50
52
  if (hideLabel) {
51
- return <HiddenLabel labelContent={labelContent}>{children}</HiddenLabel>;
53
+ return <HiddenLabel labelContent={labelContent} labelElProps={labelElProps}>{children}</HiddenLabel>;
52
54
  }
53
55
 
54
56
  return (
55
- <StandardLabel labelContent={labelContent} tooltip={tooltip}>
57
+ <StandardLabel labelContent={labelContent} labelElProps={labelElProps} tooltip={tooltip}>
56
58
  {children}
57
59
  </StandardLabel>
58
60
  );
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/label/Label.tsx"],"names":["React","FormattedMessage","InfoIconWithTooltip","StandardLabel","HiddenLabel","commonMessages","OptionalFormattedMessage","optional","Label","text","tooltip","infoTooltip","infoIconProps","showOptionalText","hideLabel","children","labelContent","push","className"],"mappings":";;;;;;AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,SAASC,gBAAT,QAAiC,YAAjC;AAEA,OAAOC,mBAAP,MAAgC,uBAAhC;AACA,OAAOC,aAAP,MAA0B,iBAA1B;AACA,OAAOC,WAAP,MAAwB,eAAxB,C,CACA;;AACA,OAAOC,cAAP,MAA2B,uBAA3B;AAEA,OAAO,cAAP;;AAEA,MAAMC,wBAAwB,GAAG,MAC7B;AAAM,EAAA,SAAS,EAAC;AAAhB,QACK,oBAAC,gBAAD,EAAsBD,cAAc,CAACE,QAArC,CADL,MADJ;;AAuBA,MAAMC,KAAK,GAAG,UAAsG;AAAA,MAArG;AAAEC,IAAAA,IAAF;AAAQC,IAAAA,OAAR;AAAiBC,IAAAA,WAAjB;AAA8BC,IAAAA,aAA9B;AAA6CC,IAAAA,gBAA7C;AAA+DC,IAAAA,SAA/D;AAA0EC,IAAAA;AAA1E,GAAqG;AAChH,QAAMC,YAAY,GAAG,CACjB;AAAM,IAAA,GAAG,EAAC;AAAV,KAAuBP,IAAvB,CADiB,EAEjBI,gBAAgB,GAAG,oBAAC,wBAAD;AAA0B,IAAA,GAAG,EAAC;AAA9B,IAAH,GAAwD,IAFvD,CAArB;;AAKA,MAAIF,WAAJ,EAAiB;AACbK,IAAAA,YAAY,CAACC,IAAb,CACI,oBAAC,mBAAD;AACI,MAAA,GAAG,EAAC,aADR;AAEI,MAAA,SAAS;AAAIC,QAAAA,SAAS,EAAE;AAAf,SAAkCN,aAAlC,CAFb;AAGI,MAAA,WAAW,EAAED;AAHjB,MADJ;AAOH;;AAED,MAAIG,SAAJ,EAAe;AACX,WAAO,oBAAC,WAAD;AAAa,MAAA,YAAY,EAAEE;AAA3B,OAA0CD,QAA1C,CAAP;AACH;;AAED,SACI,oBAAC,aAAD;AAAe,IAAA,YAAY,EAAEC,YAA7B;AAA2C,IAAA,OAAO,EAAEN;AAApD,KACKK,QADL,CADJ;AAKH,CAzBD;;AA2BA,eAAeP,KAAf","sourcesContent":["import * as React from 'react';\nimport { FormattedMessage } from 'react-intl';\n\nimport InfoIconWithTooltip from './InfoIconWithTooltip';\nimport StandardLabel from './StandardLabel';\nimport HiddenLabel from './HiddenLabel';\n// @ts-ignore flow import\nimport commonMessages from '../../common/messages';\n\nimport './Label.scss';\n\nconst OptionalFormattedMessage = () => (\n <span className=\"label-optional bdl-Label-optional\">\n (<FormattedMessage {...commonMessages.optional} />)\n </span>\n);\n\nexport interface LabelProps {\n /** Child for the label */\n children: React.ReactElement;\n /** Whether the text of the label should be accessibly hidden */\n hideLabel?: boolean;\n /** Optional props for the icon */\n infoIconProps?: Record<string, any>; // eslint-disable-line @typescript-eslint/no-explicit-any\n /** Tooltip text for the info icon */\n infoTooltip?: React.ReactNode;\n /** Whether to show the `(Optional)` text next to the label for an optional field */\n showOptionalText?: boolean;\n /** The label text */\n text: React.ReactNode;\n /** Optional tooltip text for the label */\n tooltip?: React.ReactNode;\n}\n\nconst Label = ({ text, tooltip, infoTooltip, infoIconProps, showOptionalText, hideLabel, children }: LabelProps) => {\n const labelContent = [\n <span key=\"labelText\">{text}</span>,\n showOptionalText ? <OptionalFormattedMessage key=\"optionalMessage\" /> : null,\n ];\n\n if (infoTooltip) {\n labelContent.push(\n <InfoIconWithTooltip\n key=\"infoTooltip\"\n iconProps={{ className: 'tooltip-icon', ...infoIconProps }}\n tooltipText={infoTooltip}\n />,\n );\n }\n\n if (hideLabel) {\n return <HiddenLabel labelContent={labelContent}>{children}</HiddenLabel>;\n }\n\n return (\n <StandardLabel labelContent={labelContent} tooltip={tooltip}>\n {children}\n </StandardLabel>\n );\n};\n\nexport default Label;\n"],"file":"Label.js"}
1
+ {"version":3,"sources":["../../../src/components/label/Label.tsx"],"names":["React","FormattedMessage","InfoIconWithTooltip","StandardLabel","HiddenLabel","commonMessages","OptionalFormattedMessage","optional","Label","text","tooltip","labelElProps","infoTooltip","infoIconProps","showOptionalText","hideLabel","children","labelContent","push","className"],"mappings":";;;;;;AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,SAASC,gBAAT,QAAiC,YAAjC;AAEA,OAAOC,mBAAP,MAAgC,uBAAhC;AACA,OAAOC,aAAP,MAA0B,iBAA1B;AACA,OAAOC,WAAP,MAAwB,eAAxB,C,CACA;;AACA,OAAOC,cAAP,MAA2B,uBAA3B;AAEA,OAAO,cAAP;;AAEA,MAAMC,wBAAwB,GAAG,MAC7B;AAAM,EAAA,SAAS,EAAC;AAAhB,QACK,oBAAC,gBAAD,EAAsBD,cAAc,CAACE,QAArC,CADL,MADJ;;AAyBA,MAAMC,KAAK,GAAG,UASI;AAAA,MATH;AACXC,IAAAA,IADW;AAEXC,IAAAA,OAFW;AAGXC,IAAAA,YAHW;AAIXC,IAAAA,WAJW;AAKXC,IAAAA,aALW;AAMXC,IAAAA,gBANW;AAOXC,IAAAA,SAPW;AAQXC,IAAAA;AARW,GASG;AACd,QAAMC,YAAY,GAAG,CACjB;AAAM,IAAA,GAAG,EAAC;AAAV,KAAuBR,IAAvB,CADiB,EAEjBK,gBAAgB,GAAG,oBAAC,wBAAD;AAA0B,IAAA,GAAG,EAAC;AAA9B,IAAH,GAAwD,IAFvD,CAArB;;AAKA,MAAIF,WAAJ,EAAiB;AACbK,IAAAA,YAAY,CAACC,IAAb,CACI,oBAAC,mBAAD;AACI,MAAA,GAAG,EAAC,aADR;AAEI,MAAA,SAAS;AAAIC,QAAAA,SAAS,EAAE;AAAf,SAAkCN,aAAlC,CAFb;AAGI,MAAA,WAAW,EAAED;AAHjB,MADJ;AAOH;;AAED,MAAIG,SAAJ,EAAe;AACX,WACI,oBAAC,WAAD;AAAa,MAAA,YAAY,EAAEE,YAA3B;AAAyC,MAAA,YAAY,EAAEN;AAAvD,OACKK,QADL,CADJ;AAKH;;AAED,SACI,oBAAC,aAAD;AAAe,IAAA,YAAY,EAAEC,YAA7B;AAA2C,IAAA,OAAO,EAAEP,OAApD;AAA6D,IAAA,YAAY,EAAEC;AAA3E,KACKK,QADL,CADJ;AAKH,CAtCD;;AAwCA,eAAeR,KAAf","sourcesContent":["import * as React from 'react';\nimport { FormattedMessage } from 'react-intl';\n\nimport InfoIconWithTooltip from './InfoIconWithTooltip';\nimport StandardLabel from './StandardLabel';\nimport HiddenLabel from './HiddenLabel';\n// @ts-ignore flow import\nimport commonMessages from '../../common/messages';\n\nimport './Label.scss';\n\nconst OptionalFormattedMessage = () => (\n <span className=\"label-optional bdl-Label-optional\">\n (<FormattedMessage {...commonMessages.optional} />)\n </span>\n);\n\nexport interface LabelProps {\n /** Child for the label */\n children: React.ReactElement;\n /** Whether the text of the label should be accessibly hidden */\n hideLabel?: boolean;\n /** Optional props for the icon */\n infoIconProps?: Record<string, any>; // eslint-disable-line @typescript-eslint/no-explicit-any\n /** Tooltip text for the info icon */\n infoTooltip?: React.ReactNode;\n /** Optional props for the label element */\n labelElProps?: React.ComponentPropsWithoutRef<'label'>;\n /** Whether to show the `(Optional)` text next to the label for an optional field */\n showOptionalText?: boolean;\n /** The label text */\n text: React.ReactNode;\n /** Optional tooltip text for the label */\n tooltip?: React.ReactNode;\n}\n\nconst Label = ({\n text,\n tooltip,\n labelElProps,\n infoTooltip,\n infoIconProps,\n showOptionalText,\n hideLabel,\n children,\n}: LabelProps) => {\n const labelContent = [\n <span key=\"labelText\">{text}</span>,\n showOptionalText ? <OptionalFormattedMessage key=\"optionalMessage\" /> : null,\n ];\n\n if (infoTooltip) {\n labelContent.push(\n <InfoIconWithTooltip\n key=\"infoTooltip\"\n iconProps={{ className: 'tooltip-icon', ...infoIconProps }}\n tooltipText={infoTooltip}\n />,\n );\n }\n\n if (hideLabel) {\n return (\n <HiddenLabel labelContent={labelContent} labelElProps={labelElProps}>\n {children}\n </HiddenLabel>\n );\n }\n\n return (\n <StandardLabel labelContent={labelContent} tooltip={tooltip} labelElProps={labelElProps}>\n {children}\n </StandardLabel>\n );\n};\n\nexport default Label;\n"],"file":"Label.js"}
@@ -21,7 +21,7 @@ export const withInfoTooltip = () => React.createElement(Label, {
21
21
  type: "text"
22
22
  }));
23
23
  export default {
24
- title: 'Components|Label',
24
+ title: 'Components/Label',
25
25
  component: Label,
26
26
  parameters: {
27
27
  notes
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/label/Label.stories.tsx"],"names":["React","boolean","Label","notes","basic","withOptionalText","withInfoTooltip","title","component","parameters"],"mappings":"AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,SAASC,OAAT,QAAwB,wBAAxB;AAEA,OAAOC,KAAP,MAAkB,SAAlB;AACA,OAAOC,KAAP,MAAkB,oBAAlB;AAEA,OAAO,MAAMC,KAAK,GAAG,MACjB,oBAAC,KAAD;AAAO,EAAA,IAAI,EAAC,aAAZ;AAA0B,EAAA,OAAO,EAAC;AAAlC,GACI;AAAO,EAAA,IAAI,EAAC;AAAZ,EADJ,CADG;AAMP,OAAO,MAAMC,gBAAgB,GAAG,MAC5B,oBAAC,KAAD;AAAO,EAAA,IAAI,EAAC,aAAZ;AAA0B,EAAA,gBAAgB,EAAEJ,OAAO,CAAC,kBAAD,EAAqB,IAArB;AAAnD,GACI;AAAO,EAAA,IAAI,EAAC;AAAZ,EADJ,CADG;AAMP,OAAO,MAAMK,eAAe,GAAG,MAC3B,oBAAC,KAAD;AAAO,EAAA,IAAI,EAAC,aAAZ;AAA0B,EAAA,WAAW,EAAC;AAAtC,GACI;AAAO,EAAA,IAAI,EAAC;AAAZ,EADJ,CADG;AAMP,eAAe;AACXC,EAAAA,KAAK,EAAE,kBADI;AAEXC,EAAAA,SAAS,EAAEN,KAFA;AAGXO,EAAAA,UAAU,EAAE;AACRN,IAAAA;AADQ;AAHD,CAAf","sourcesContent":["import * as React from 'react';\nimport { boolean } from '@storybook/addon-knobs';\n\nimport Label from './Label';\nimport notes from './Label.stories.md';\n\nexport const basic = () => (\n <Label text=\"Input Label\" tooltip=\"This is an input label.\">\n <input type=\"text\" />\n </Label>\n);\n\nexport const withOptionalText = () => (\n <Label text=\"Input Label\" showOptionalText={boolean('showOptionalText', true)}>\n <input type=\"text\" />\n </Label>\n);\n\nexport const withInfoTooltip = () => (\n <Label text=\"Input Label\" infoTooltip=\"I stand above this icon\">\n <input type=\"text\" />\n </Label>\n);\n\nexport default {\n title: 'Components|Label',\n component: Label,\n parameters: {\n notes,\n },\n};\n"],"file":"Label.stories.js"}
1
+ {"version":3,"sources":["../../../src/components/label/Label.stories.tsx"],"names":["React","boolean","Label","notes","basic","withOptionalText","withInfoTooltip","title","component","parameters"],"mappings":"AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,SAASC,OAAT,QAAwB,wBAAxB;AAEA,OAAOC,KAAP,MAAkB,SAAlB;AACA,OAAOC,KAAP,MAAkB,oBAAlB;AAEA,OAAO,MAAMC,KAAK,GAAG,MACjB,oBAAC,KAAD;AAAO,EAAA,IAAI,EAAC,aAAZ;AAA0B,EAAA,OAAO,EAAC;AAAlC,GACI;AAAO,EAAA,IAAI,EAAC;AAAZ,EADJ,CADG;AAMP,OAAO,MAAMC,gBAAgB,GAAG,MAC5B,oBAAC,KAAD;AAAO,EAAA,IAAI,EAAC,aAAZ;AAA0B,EAAA,gBAAgB,EAAEJ,OAAO,CAAC,kBAAD,EAAqB,IAArB;AAAnD,GACI;AAAO,EAAA,IAAI,EAAC;AAAZ,EADJ,CADG;AAMP,OAAO,MAAMK,eAAe,GAAG,MAC3B,oBAAC,KAAD;AAAO,EAAA,IAAI,EAAC,aAAZ;AAA0B,EAAA,WAAW,EAAC;AAAtC,GACI;AAAO,EAAA,IAAI,EAAC;AAAZ,EADJ,CADG;AAMP,eAAe;AACXC,EAAAA,KAAK,EAAE,kBADI;AAEXC,EAAAA,SAAS,EAAEN,KAFA;AAGXO,EAAAA,UAAU,EAAE;AACRN,IAAAA;AADQ;AAHD,CAAf","sourcesContent":["import * as React from 'react';\nimport { boolean } from '@storybook/addon-knobs';\n\nimport Label from './Label';\nimport notes from './Label.stories.md';\n\nexport const basic = () => (\n <Label text=\"Input Label\" tooltip=\"This is an input label.\">\n <input type=\"text\" />\n </Label>\n);\n\nexport const withOptionalText = () => (\n <Label text=\"Input Label\" showOptionalText={boolean('showOptionalText', true)}>\n <input type=\"text\" />\n </Label>\n);\n\nexport const withInfoTooltip = () => (\n <Label text=\"Input Label\" infoTooltip=\"I stand above this icon\">\n <input type=\"text\" />\n </Label>\n);\n\nexport default {\n title: 'Components/Label',\n component: Label,\n parameters: {\n notes,\n },\n};\n"],"file":"Label.stories.js"}
@@ -11,11 +11,12 @@ const LabelPrimitive = (_ref) => {
11
11
  let {
12
12
  children,
13
13
  className,
14
- labelContent
14
+ labelContent,
15
+ labelElProps
15
16
  } = _ref,
16
- rest = _objectWithoutProperties(_ref, ["children", "className", "labelContent"]);
17
+ rest = _objectWithoutProperties(_ref, ["children", "className", "labelContent", "labelElProps"]);
17
18
 
18
- return React.createElement("label", null, React.createElement("span", _extends({
19
+ return React.createElement("label", labelElProps, React.createElement("span", _extends({
19
20
  className: classNames('label bdl-Label', className)
20
21
  }, rest), labelContent), children);
21
22
  };
@@ -6,10 +6,11 @@ type Props = {
6
6
  children: React.Node,
7
7
  className?: string,
8
8
  labelContent: React.Node,
9
+ labelElProps?: React.Element<'label'>,
9
10
  };
10
11
 
11
- const LabelPrimitive = ({ children, className, labelContent, ...rest }: Props) => (
12
- <label>
12
+ const LabelPrimitive = ({ children, className, labelContent, labelElProps, ...rest }: Props) => (
13
+ <label {...labelElProps}>
13
14
  <span className={classNames('label bdl-Label', className)} {...rest}>
14
15
  {labelContent}
15
16
  </span>
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/label/LabelPrimitive.tsx"],"names":["React","classNames","LabelPrimitive","children","className","labelContent","rest"],"mappings":";;;;;;AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,OAAOC,UAAP,MAAuB,YAAvB;;AAWA,MAAMC,cAAc,GAAG;AAAA,MAAC;AAAEC,IAAAA,QAAF;AAAYC,IAAAA,SAAZ;AAAuBC,IAAAA;AAAvB,GAAD;AAAA,MAAyCC,IAAzC;;AAAA,SACnB,mCACI;AAAM,IAAA,SAAS,EAAEL,UAAU,CAAC,iBAAD,EAAoBG,SAApB;AAA3B,KAA+DE,IAA/D,GACKD,YADL,CADJ,EAIKF,QAJL,CADmB;AAAA,CAAvB;;AASA,eAAeD,cAAf","sourcesContent":["import * as React from 'react';\nimport classNames from 'classnames';\n\nexport interface LabelPrimitiveProps {\n /** Child for the label */\n children: React.ReactElement;\n /** Custom class for the label */\n className?: string;\n /** Text content of the label */\n labelContent: React.ReactNode;\n}\n\nconst LabelPrimitive = ({ children, className, labelContent, ...rest }: LabelPrimitiveProps) => (\n <label>\n <span className={classNames('label bdl-Label', className)} {...rest}>\n {labelContent}\n </span>\n {children}\n </label>\n);\n\nexport default LabelPrimitive;\n"],"file":"LabelPrimitive.js"}
1
+ {"version":3,"sources":["../../../src/components/label/LabelPrimitive.tsx"],"names":["React","classNames","LabelPrimitive","children","className","labelContent","labelElProps","rest"],"mappings":";;;;;;AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,OAAOC,UAAP,MAAuB,YAAvB;;AAaA,MAAMC,cAAc,GAAG;AAAA,MAAC;AAAEC,IAAAA,QAAF;AAAYC,IAAAA,SAAZ;AAAuBC,IAAAA,YAAvB;AAAqCC,IAAAA;AAArC,GAAD;AAAA,MAAuDC,IAAvD;;AAAA,SACnB,6BAAWD,YAAX,EACI;AAAM,IAAA,SAAS,EAAEL,UAAU,CAAC,iBAAD,EAAoBG,SAApB;AAA3B,KAA+DG,IAA/D,GACKF,YADL,CADJ,EAIKF,QAJL,CADmB;AAAA,CAAvB;;AASA,eAAeD,cAAf","sourcesContent":["import * as React from 'react';\nimport classNames from 'classnames';\n\nexport interface LabelPrimitiveProps {\n /** Child for the label */\n children: React.ReactElement;\n /** Custom class for the label */\n className?: string;\n /** Text content of the label */\n labelContent: React.ReactNode;\n /** Optional props for the label element */\n labelElProps?: React.ComponentPropsWithoutRef<'label'>;\n}\n\nconst LabelPrimitive = ({ children, className, labelContent, labelElProps, ...rest }: LabelPrimitiveProps) => (\n <label {...labelElProps}>\n <span className={classNames('label bdl-Label', className)} {...rest}>\n {labelContent}\n </span>\n {children}\n </label>\n);\n\nexport default LabelPrimitive;\n"],"file":"LabelPrimitive.js"}
@@ -1,3 +1,7 @@
1
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
2
+
3
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
4
+
1
5
  import * as React from 'react';
2
6
  import Tooltip, { TooltipPosition } from '../tooltip';
3
7
  import LabelPrimitive from './LabelPrimitive';
@@ -5,12 +9,11 @@ import LabelPrimitive from './LabelPrimitive';
5
9
  const StandardLabel = (_ref) => {
6
10
  let {
7
11
  children,
8
- labelContent,
9
12
  tooltip
10
- } = _ref;
11
- const label = React.createElement(LabelPrimitive, {
12
- labelContent: labelContent
13
- }, children);
13
+ } = _ref,
14
+ rest = _objectWithoutProperties(_ref, ["children", "tooltip"]);
15
+
16
+ const label = React.createElement(LabelPrimitive, rest, children);
14
17
  return tooltip ? React.createElement(Tooltip, {
15
18
  position: TooltipPosition.TOP_RIGHT,
16
19
  text: tooltip
@@ -7,11 +7,12 @@ import LabelPrimitive from './LabelPrimitive';
7
7
  type Props = {
8
8
  children: React.Node,
9
9
  labelContent: React.Node,
10
+ labelElProps?: React.Element<'label'>,
10
11
  tooltip?: React.Node,
11
12
  };
12
13
 
13
- const StandardLabel = ({ children, labelContent, tooltip }: Props) => {
14
- const label = <LabelPrimitive labelContent={labelContent}>{children}</LabelPrimitive>;
14
+ const StandardLabel = ({ children, labelContent, labelElProps, tooltip }: Props) => {
15
+ const label = <LabelPrimitive labelContent={labelContent} labelElProps={labelElProps}>{children}</LabelPrimitive>;
15
16
 
16
17
  return tooltip ? (
17
18
  <Tooltip position="top-right" text={tooltip}>
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/label/StandardLabel.tsx"],"names":["React","Tooltip","TooltipPosition","LabelPrimitive","StandardLabel","children","labelContent","tooltip","label","TOP_RIGHT"],"mappings":"AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AAEA,OAAOC,OAAP,IAAkBC,eAAlB,QAAyC,YAAzC;AACA,OAAOC,cAAP,MAA2B,kBAA3B;;AAWA,MAAMC,aAAa,GAAG,UAA6D;AAAA,MAA5D;AAAEC,IAAAA,QAAF;AAAYC,IAAAA,YAAZ;AAA0BC,IAAAA;AAA1B,GAA4D;AAC/E,QAAMC,KAAK,GAAG,oBAAC,cAAD;AAAgB,IAAA,YAAY,EAAEF;AAA9B,KAA6CD,QAA7C,CAAd;AAEA,SAAOE,OAAO,GACV,oBAAC,OAAD;AAAS,IAAA,QAAQ,EAAEL,eAAe,CAACO,SAAnC;AAA8C,IAAA,IAAI,EAAEF;AAApD,KACKC,KADL,CADU,GAKVA,KALJ;AAOH,CAVD;;AAYA,eAAeJ,aAAf","sourcesContent":["import * as React from 'react';\n\nimport Tooltip, { TooltipPosition } from '../tooltip';\nimport LabelPrimitive from './LabelPrimitive';\n\nexport interface StandardLabelProps {\n /** Child for the label */\n children: React.ReactElement;\n /** Text content of the label */\n labelContent: React.ReactNode;\n /** Optional tooltip text for the label */\n tooltip?: React.ReactNode;\n}\n\nconst StandardLabel = ({ children, labelContent, tooltip }: StandardLabelProps) => {\n const label = <LabelPrimitive labelContent={labelContent}>{children}</LabelPrimitive>;\n\n return tooltip ? (\n <Tooltip position={TooltipPosition.TOP_RIGHT} text={tooltip}>\n {label}\n </Tooltip>\n ) : (\n label\n );\n};\n\nexport default StandardLabel;\n"],"file":"StandardLabel.js"}
1
+ {"version":3,"sources":["../../../src/components/label/StandardLabel.tsx"],"names":["React","Tooltip","TooltipPosition","LabelPrimitive","StandardLabel","children","tooltip","rest","label","TOP_RIGHT"],"mappings":";;;;AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AAEA,OAAOC,OAAP,IAAkBC,eAAlB,QAAyC,YAAzC;AACA,OAAOC,cAAP,MAA2B,kBAA3B;;AAaA,MAAMC,aAAa,GAAG,UAAwD;AAAA,MAAvD;AAAEC,IAAAA,QAAF;AAAYC,IAAAA;AAAZ,GAAuD;AAAA,MAA/BC,IAA+B;;AAC1E,QAAMC,KAAK,GAAG,oBAAC,cAAD,EAAoBD,IAApB,EAA2BF,QAA3B,CAAd;AAEA,SAAOC,OAAO,GACV,oBAAC,OAAD;AAAS,IAAA,QAAQ,EAAEJ,eAAe,CAACO,SAAnC;AAA8C,IAAA,IAAI,EAAEH;AAApD,KACKE,KADL,CADU,GAKVA,KALJ;AAOH,CAVD;;AAYA,eAAeJ,aAAf","sourcesContent":["import * as React from 'react';\n\nimport Tooltip, { TooltipPosition } from '../tooltip';\nimport LabelPrimitive from './LabelPrimitive';\n\nexport interface StandardLabelProps {\n /** Child for the label */\n children: React.ReactElement;\n /** Text content of the label */\n labelContent: React.ReactNode;\n /** Optional props for the label element */\n labelElProps?: React.ComponentPropsWithoutRef<'label'>;\n /** Optional tooltip text for the label */\n tooltip?: React.ReactNode;\n}\n\nconst StandardLabel = ({ children, tooltip, ...rest }: StandardLabelProps) => {\n const label = <LabelPrimitive {...rest}>{children}</LabelPrimitive>;\n\n return tooltip ? (\n <Tooltip position={TooltipPosition.TOP_RIGHT} text={tooltip}>\n {label}\n </Tooltip>\n ) : (\n label\n );\n};\n\nexport default StandardLabel;\n"],"file":"StandardLabel.js"}
@@ -49,7 +49,7 @@ export const severalComponents = () => React.createElement("div", {
49
49
  size: select(sizeLabel, sizeOptions, LabelPillSize.REGULAR)
50
50
  }, React.createElement(LabelPill.Text, null, "SUCCESS")), ' ');
51
51
  export default {
52
- title: 'Components|LabelPill',
52
+ title: 'Components/LabelPill',
53
53
  subcomponents: {
54
54
  'LabelPill.Pill': LabelPill.Pill,
55
55
  'LabelPill.Text': LabelPill.Text,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/label-pill/LabelPill.stories.tsx"],"names":["React","select","Shield16","LabelPill","LabelPillStatus","LabelPillSize","notes","typeLabel","sizeLabel","typeOptions","DEFAULT","ALERT","ERROR","FTUX","HIGHLIGHT","INFO","SUCCESS","WARNING","sizeOptions","REGULAR","LARGE","withText","withIcon","withBoth","severalComponents","textAlign","title","subcomponents","Pill","Text","Icon","parameters"],"mappings":"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","sourcesContent":["import * as React from 'react';\nimport { select } from '@storybook/addon-knobs';\nimport Shield16 from '../../icon/line/Shield16';\nimport LabelPill, { LabelPillStatus, LabelPillSize } from './LabelPill';\nimport notes from './LabelPill.stories.md';\n\nconst typeLabel = '\"type\" Prop';\nconst sizeLabel = '\"size\" Prop';\n\nconst typeOptions: LabelPillStatus[] = [\n LabelPillStatus.DEFAULT,\n LabelPillStatus.ALERT,\n LabelPillStatus.ERROR,\n LabelPillStatus.FTUX,\n LabelPillStatus.HIGHLIGHT,\n LabelPillStatus.INFO,\n LabelPillStatus.SUCCESS,\n LabelPillStatus.WARNING,\n];\n\nconst sizeOptions: LabelPillSize[] = [LabelPillSize.REGULAR, LabelPillSize.LARGE];\n\nexport const withText = () => (\n <LabelPill.Pill\n type={select(typeLabel, typeOptions, LabelPillStatus.DEFAULT)}\n size={select(sizeLabel, sizeOptions, LabelPillSize.REGULAR)}\n >\n <LabelPill.Text>TEST TEXT</LabelPill.Text>\n </LabelPill.Pill>\n);\n\nexport const withIcon = () => (\n <LabelPill.Pill\n type={select(typeLabel, typeOptions, LabelPillStatus.DEFAULT)}\n size={select(sizeLabel, sizeOptions, LabelPillSize.REGULAR)}\n >\n <LabelPill.Icon Component={Shield16} />\n </LabelPill.Pill>\n);\n\nexport const withBoth = () => (\n <LabelPill.Pill\n type={select(typeLabel, typeOptions, LabelPillStatus.DEFAULT)}\n size={select(sizeLabel, sizeOptions, LabelPillSize.REGULAR)}\n >\n <LabelPill.Icon Component={Shield16} />\n <LabelPill.Text>TEST TEXT</LabelPill.Text>\n </LabelPill.Pill>\n);\n\nexport const severalComponents = () => (\n <div style={{ textAlign: 'center' }}>\n <LabelPill.Pill type={LabelPillStatus.WARNING} size={select(sizeLabel, sizeOptions, LabelPillSize.REGULAR)}>\n <LabelPill.Text>BETA</LabelPill.Text>\n </LabelPill.Pill>{' '}\n <LabelPill.Pill type={LabelPillStatus.INFO} size={select(sizeLabel, sizeOptions, LabelPillSize.REGULAR)}>\n <LabelPill.Text>IN PROGRESS</LabelPill.Text>\n </LabelPill.Pill>{' '}\n <LabelPill.Pill type={LabelPillStatus.WARNING} size={select(sizeLabel, sizeOptions, LabelPillSize.REGULAR)}>\n <LabelPill.Icon Component={Shield16} />\n <LabelPill.Text>CONFIDENTIAL</LabelPill.Text>\n </LabelPill.Pill>{' '}\n <LabelPill.Pill type={LabelPillStatus.FTUX} size={select(sizeLabel, sizeOptions, LabelPillSize.REGULAR)}>\n <LabelPill.Text>NEW</LabelPill.Text>\n </LabelPill.Pill>{' '}\n <LabelPill.Pill type={LabelPillStatus.ALERT} size={select(sizeLabel, sizeOptions, LabelPillSize.REGULAR)}>\n <LabelPill.Text>DUE JUL 9 AT 11:59 PM</LabelPill.Text>\n </LabelPill.Pill>{' '}\n <LabelPill.Pill type={LabelPillStatus.SUCCESS} size={select(sizeLabel, sizeOptions, LabelPillSize.REGULAR)}>\n <LabelPill.Text>SUCCESS</LabelPill.Text>\n </LabelPill.Pill>{' '}\n </div>\n);\n\nexport default {\n title: 'Components|LabelPill',\n subcomponents: {\n 'LabelPill.Pill': LabelPill.Pill,\n 'LabelPill.Text': LabelPill.Text,\n 'LabePill.Icon': LabelPill.Icon,\n },\n parameters: {\n notes,\n },\n};\n"],"file":"LabelPill.stories.js"}
1
+ {"version":3,"sources":["../../../src/components/label-pill/LabelPill.stories.tsx"],"names":["React","select","Shield16","LabelPill","LabelPillStatus","LabelPillSize","notes","typeLabel","sizeLabel","typeOptions","DEFAULT","ALERT","ERROR","FTUX","HIGHLIGHT","INFO","SUCCESS","WARNING","sizeOptions","REGULAR","LARGE","withText","withIcon","withBoth","severalComponents","textAlign","title","subcomponents","Pill","Text","Icon","parameters"],"mappings":"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","sourcesContent":["import * as React from 'react';\nimport { select } from '@storybook/addon-knobs';\nimport Shield16 from '../../icon/line/Shield16';\nimport LabelPill, { LabelPillStatus, LabelPillSize } from './LabelPill';\nimport notes from './LabelPill.stories.md';\n\nconst typeLabel = '\"type\" Prop';\nconst sizeLabel = '\"size\" Prop';\n\nconst typeOptions: LabelPillStatus[] = [\n LabelPillStatus.DEFAULT,\n LabelPillStatus.ALERT,\n LabelPillStatus.ERROR,\n LabelPillStatus.FTUX,\n LabelPillStatus.HIGHLIGHT,\n LabelPillStatus.INFO,\n LabelPillStatus.SUCCESS,\n LabelPillStatus.WARNING,\n];\n\nconst sizeOptions: LabelPillSize[] = [LabelPillSize.REGULAR, LabelPillSize.LARGE];\n\nexport const withText = () => (\n <LabelPill.Pill\n type={select(typeLabel, typeOptions, LabelPillStatus.DEFAULT)}\n size={select(sizeLabel, sizeOptions, LabelPillSize.REGULAR)}\n >\n <LabelPill.Text>TEST TEXT</LabelPill.Text>\n </LabelPill.Pill>\n);\n\nexport const withIcon = () => (\n <LabelPill.Pill\n type={select(typeLabel, typeOptions, LabelPillStatus.DEFAULT)}\n size={select(sizeLabel, sizeOptions, LabelPillSize.REGULAR)}\n >\n <LabelPill.Icon Component={Shield16} />\n </LabelPill.Pill>\n);\n\nexport const withBoth = () => (\n <LabelPill.Pill\n type={select(typeLabel, typeOptions, LabelPillStatus.DEFAULT)}\n size={select(sizeLabel, sizeOptions, LabelPillSize.REGULAR)}\n >\n <LabelPill.Icon Component={Shield16} />\n <LabelPill.Text>TEST TEXT</LabelPill.Text>\n </LabelPill.Pill>\n);\n\nexport const severalComponents = () => (\n <div style={{ textAlign: 'center' }}>\n <LabelPill.Pill type={LabelPillStatus.WARNING} size={select(sizeLabel, sizeOptions, LabelPillSize.REGULAR)}>\n <LabelPill.Text>BETA</LabelPill.Text>\n </LabelPill.Pill>{' '}\n <LabelPill.Pill type={LabelPillStatus.INFO} size={select(sizeLabel, sizeOptions, LabelPillSize.REGULAR)}>\n <LabelPill.Text>IN PROGRESS</LabelPill.Text>\n </LabelPill.Pill>{' '}\n <LabelPill.Pill type={LabelPillStatus.WARNING} size={select(sizeLabel, sizeOptions, LabelPillSize.REGULAR)}>\n <LabelPill.Icon Component={Shield16} />\n <LabelPill.Text>CONFIDENTIAL</LabelPill.Text>\n </LabelPill.Pill>{' '}\n <LabelPill.Pill type={LabelPillStatus.FTUX} size={select(sizeLabel, sizeOptions, LabelPillSize.REGULAR)}>\n <LabelPill.Text>NEW</LabelPill.Text>\n </LabelPill.Pill>{' '}\n <LabelPill.Pill type={LabelPillStatus.ALERT} size={select(sizeLabel, sizeOptions, LabelPillSize.REGULAR)}>\n <LabelPill.Text>DUE JUL 9 AT 11:59 PM</LabelPill.Text>\n </LabelPill.Pill>{' '}\n <LabelPill.Pill type={LabelPillStatus.SUCCESS} size={select(sizeLabel, sizeOptions, LabelPillSize.REGULAR)}>\n <LabelPill.Text>SUCCESS</LabelPill.Text>\n </LabelPill.Pill>{' '}\n </div>\n);\n\nexport default {\n title: 'Components/LabelPill',\n subcomponents: {\n 'LabelPill.Pill': LabelPill.Pill,\n 'LabelPill.Text': LabelPill.Text,\n 'LabePill.Icon': LabelPill.Icon,\n },\n parameters: {\n notes,\n },\n};\n"],"file":"LabelPill.stories.js"}
@@ -21,9 +21,11 @@ export const withCustomComponent = () => {
21
21
  } = _ref,
22
22
  rest = _objectWithoutProperties(_ref, ["href", "children"]);
23
23
 
24
- return React.createElement(RouterLink, _extends({
25
- to: href
26
- }, rest), children);
24
+ return (// @ts-ignore TODO: figure out why this is giving a TS error
25
+ React.createElement(RouterLink, _extends({
26
+ to: href
27
+ }, rest), children)
28
+ );
27
29
  };
28
30
 
29
31
  return React.createElement(Router, null, React.createElement(Link, {
@@ -32,7 +34,7 @@ export const withCustomComponent = () => {
32
34
  }, "A link"));
33
35
  };
34
36
  export default {
35
- title: 'Components|Links/Link',
37
+ title: 'Components/Links/Link',
36
38
  component: Link,
37
39
  parameters: {
38
40
  notes
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/components/link/stories/Link.stories.tsx"],"names":["React","BrowserRouter","Router","Link","RouterLink","notes","basic","withCustomComponent","CustomRouterLink","href","children","rest","title","component","parameters"],"mappings":";;;;;;AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,SAASC,aAAa,IAAIC,MAA1B,EAAkCC,IAAI,IAAIC,UAA1C,QAA0F,kBAA1F;AAEA,OAAOD,IAAP,MAAiB,SAAjB;AACA,OAAOE,KAAP,MAAkB,mBAAlB;AAEA,OAAO,MAAMC,KAAK,GAAG,MAAM,oBAAC,IAAD;AAAM,EAAA,IAAI,EAAC;AAAX,YAApB;AAEP,OAAO,MAAMC,mBAAmB,GAAG,MAAM;AACrC;AACA;AAEA,QAAMC,gBAAgB,GAAG;AAAA,QAAC;AAAEC,MAAAA,IAAF;AAAQC,MAAAA;AAAR,KAAD;AAAA,QAAsBC,IAAtB;;AAAA,WACrB,oBAAC,UAAD;AAAY,MAAA,EAAE,EAAEF;AAAhB,OAA0BE,IAA1B,GACKD,QADL,CADqB;AAAA,GAAzB;;AAMA,SACI,oBAAC,MAAD,QACI,oBAAC,IAAD;AAAM,IAAA,SAAS,EAAEF,gBAAjB;AAAmC,IAAA,IAAI,EAAC;AAAxC,cADJ,CADJ;AAOH,CAjBM;AAmBP,eAAe;AACXI,EAAAA,KAAK,EAAE,uBADI;AAEXC,EAAAA,SAAS,EAAEV,IAFA;AAGXW,EAAAA,UAAU,EAAE;AACRT,IAAAA;AADQ;AAHD,CAAf","sourcesContent":["import * as React from 'react';\nimport { BrowserRouter as Router, Link as RouterLink, LinkProps as RouterLinkProps } from 'react-router-dom';\n\nimport Link from '../Link';\nimport notes from './Link.stories.md';\n\nexport const basic = () => <Link href=\"https://www.box.com/platform\">A link</Link>;\n\nexport const withCustomComponent = () => {\n // You can pass a custom component to be used instead of the default \"a\" tag, like a React Router link:\n // import { BrowserRouter as Router, Link as RouterLink, LinkProps as RouterLinkProps } from 'react-router-dom';\n\n const CustomRouterLink = ({ href, children, ...rest }: RouterLinkProps) => (\n <RouterLink to={href} {...rest}>\n {children}\n </RouterLink>\n );\n\n return (\n <Router>\n <Link component={CustomRouterLink} href=\"/\">\n A link\n </Link>\n </Router>\n );\n};\n\nexport default {\n title: 'Components|Links/Link',\n component: Link,\n parameters: {\n notes,\n },\n};\n"],"file":"Link.stories.js"}
1
+ {"version":3,"sources":["../../../../src/components/link/stories/Link.stories.tsx"],"names":["React","BrowserRouter","Router","Link","RouterLink","notes","basic","withCustomComponent","CustomRouterLink","href","children","rest","title","component","parameters"],"mappings":";;;;;;AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,SAASC,aAAa,IAAIC,MAA1B,EAAkCC,IAAI,IAAIC,UAA1C,QAA0F,kBAA1F;AAEA,OAAOD,IAAP,MAAiB,SAAjB;AACA,OAAOE,KAAP,MAAkB,mBAAlB;AAEA,OAAO,MAAMC,KAAK,GAAG,MAAM,oBAAC,IAAD;AAAM,EAAA,IAAI,EAAC;AAAX,YAApB;AAEP,OAAO,MAAMC,mBAAmB,GAAG,MAAM;AACrC;AACA;AAEA,QAAMC,gBAAgB,GAAG;AAAA,QAAC;AAAEC,MAAAA,IAAF;AAAQC,MAAAA;AAAR,KAAD;AAAA,QAAsBC,IAAtB;;AAAA,WACrB;AACA,0BAAC,UAAD;AAAY,QAAA,EAAE,EAAEF;AAAhB,SAA0BE,IAA1B,GACKD,QADL;AAFqB;AAAA,GAAzB;;AAOA,SACI,oBAAC,MAAD,QACI,oBAAC,IAAD;AAAM,IAAA,SAAS,EAAEF,gBAAjB;AAAmC,IAAA,IAAI,EAAC;AAAxC,cADJ,CADJ;AAOH,CAlBM;AAoBP,eAAe;AACXI,EAAAA,KAAK,EAAE,uBADI;AAEXC,EAAAA,SAAS,EAAEV,IAFA;AAGXW,EAAAA,UAAU,EAAE;AACRT,IAAAA;AADQ;AAHD,CAAf","sourcesContent":["import * as React from 'react';\nimport { BrowserRouter as Router, Link as RouterLink, LinkProps as RouterLinkProps } from 'react-router-dom';\n\nimport Link from '../Link';\nimport notes from './Link.stories.md';\n\nexport const basic = () => <Link href=\"https://www.box.com/platform\">A link</Link>;\n\nexport const withCustomComponent = () => {\n // You can pass a custom component to be used instead of the default \"a\" tag, like a React Router link:\n // import { BrowserRouter as Router, Link as RouterLink, LinkProps as RouterLinkProps } from 'react-router-dom';\n\n const CustomRouterLink = ({ href, children, ...rest }: RouterLinkProps) => (\n // @ts-ignore TODO: figure out why this is giving a TS error\n <RouterLink to={href} {...rest}>\n {children}\n </RouterLink>\n );\n\n return (\n <Router>\n <Link component={CustomRouterLink} href=\"/\">\n A link\n </Link>\n </Router>\n );\n};\n\nexport default {\n title: 'Components/Links/Link',\n component: Link,\n parameters: {\n notes,\n },\n};\n"],"file":"Link.stories.js"}