box-ui-elements 19.0.0-beta.8 → 19.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/explorer.css +1 -1
- package/dist/explorer.js +2 -172
- package/dist/explorer.js.LICENSE.txt +178 -0
- package/dist/openwith.css +1 -1
- package/dist/openwith.js +2 -84
- package/dist/openwith.js.LICENSE.txt +94 -0
- package/dist/picker.css +1 -1
- package/dist/picker.js +2 -101
- package/dist/picker.js.LICENSE.txt +112 -0
- package/dist/preview.css +1 -1
- package/dist/preview.js +2 -155
- package/dist/preview.js.LICENSE.txt +160 -0
- package/dist/sharing.css +1 -1
- package/dist/sharing.js +2 -135
- package/dist/sharing.js.LICENSE.txt +149 -0
- package/dist/sidebar.css +1 -1
- package/dist/sidebar.js +2 -155
- package/dist/sidebar.js.LICENSE.txt +160 -0
- package/dist/uploader.css +1 -1
- package/dist/uploader.js +2 -101
- package/dist/uploader.js.LICENSE.txt +112 -0
- package/es/api/APIFactory.js +25 -0
- package/es/api/APIFactory.js.flow +25 -0
- package/es/api/APIFactory.js.map +1 -1
- package/es/api/Feed.js +5 -3
- package/es/api/Feed.js.flow +8 -4
- package/es/api/Feed.js.map +1 -1
- package/es/api/Intelligence.js +45 -0
- package/es/api/Intelligence.js.flow +47 -0
- package/es/api/Intelligence.js.map +1 -0
- package/es/common/types/core.js.flow +1 -0
- package/es/common/types/core.js.map +1 -1
- package/es/components/accessible-svg/AccessibleSVG.stories.js +1 -1
- package/es/components/accessible-svg/AccessibleSVG.stories.js.map +1 -1
- package/es/components/avatar/Avatar.stories.js +1 -1
- package/es/components/avatar/Avatar.stories.js.map +1 -1
- package/es/components/badge/Badge.stories.js +1 -1
- package/es/components/badge/Badge.stories.js.map +1 -1
- package/es/components/badge/BetaBadge.stories.js +1 -1
- package/es/components/badge/BetaBadge.stories.js.map +1 -1
- package/es/components/badge/TrialBadge.stories.js +1 -1
- package/es/components/badge/TrialBadge.stories.js.map +1 -1
- package/es/components/badge/UpgradeBadge.stories.js +1 -1
- package/es/components/badge/UpgradeBadge.stories.js.map +1 -1
- package/es/components/breadcrumb/Breadcrumb.stories.js +1 -1
- package/es/components/breadcrumb/Breadcrumb.stories.js.flow +1 -1
- package/es/components/breadcrumb/Breadcrumb.stories.js.map +1 -1
- package/es/components/button/Button.stories.js +1 -1
- package/es/components/button/Button.stories.js.map +1 -1
- package/es/components/button-group/ButtonGroup.stories.js +1 -1
- package/es/components/button-group/ButtonGroup.stories.js.map +1 -1
- package/es/components/category-selector/CategorySelector.stories.js +1 -1
- package/es/components/category-selector/CategorySelector.stories.js.map +1 -1
- package/es/components/checkbox/Checkbox.stories.js +1 -1
- package/es/components/checkbox/Checkbox.stories.js.map +1 -1
- package/es/components/close-button/CloseButton.stories.js +1 -1
- package/es/components/close-button/CloseButton.stories.js.map +1 -1
- package/es/components/collapsible/Collapsible.stories.js +1 -1
- package/es/components/collapsible/Collapsible.stories.js.map +1 -1
- package/es/components/contact-datalist-item/ContactDatalistItem.stories.js +1 -1
- package/es/components/contact-datalist-item/ContactDatalistItem.stories.js.map +1 -1
- package/es/components/context-menu/ContextMenu.stories.js +1 -1
- package/es/components/context-menu/ContextMenu.stories.js.map +1 -1
- package/es/components/count-badge/CountBadge.stories.js +1 -1
- package/es/components/count-badge/CountBadge.stories.js.map +1 -1
- package/es/components/datalist-item/DatalistItem.stories.js +1 -1
- package/es/components/datalist-item/DatalistItem.stories.js.map +1 -1
- package/es/components/date-picker/DatePicker.stories.js +1 -1
- package/es/components/date-picker/DatePicker.stories.js.map +1 -1
- package/es/components/draft-js-editor/DraftJSEditor.stories.js +1 -1
- package/es/components/draft-js-editor/DraftJSEditor.stories.js.flow +1 -1
- package/es/components/draft-js-editor/DraftJSEditor.stories.js.map +1 -1
- package/es/components/draggable-list/DraggableList.stories.js +1 -1
- package/es/components/draggable-list/DraggableList.stories.js.map +1 -1
- package/es/components/dropdown-menu/DropdownMenu.stories.js +1 -1
- package/es/components/dropdown-menu/DropdownMenu.stories.js.flow +1 -1
- package/es/components/dropdown-menu/DropdownMenu.stories.js.map +1 -1
- package/es/components/error-mask/ErrorMask.stories.js +1 -1
- package/es/components/error-mask/ErrorMask.stories.js.map +1 -1
- package/es/components/fieldset/Fieldset.stories.js +1 -1
- package/es/components/fieldset/Fieldset.stories.js.map +1 -1
- package/es/components/flyout/Flyout.stories.js +1 -1
- package/es/components/flyout/Flyout.stories.js.map +1 -1
- package/es/components/flyout/OverlayHeader.js +2 -1
- package/es/components/flyout/OverlayHeader.js.map +1 -1
- package/es/components/footer-indicator/FooterIndicator.stories.js +1 -1
- package/es/components/footer-indicator/FooterIndicator.stories.js.map +1 -1
- package/es/components/form-elements/form/Form.stories.js +1 -1
- package/es/components/form-elements/form/Form.stories.js.flow +1 -1
- package/es/components/form-elements/form/Form.stories.js.map +1 -1
- package/es/components/form-elements/formik/Formik.stories.js +1 -1
- package/es/components/form-elements/formik/Formik.stories.js.flow +1 -1
- package/es/components/form-elements/formik/Formik.stories.js.map +1 -1
- package/es/components/form-elements/text-area/TextArea.stories.js +1 -1
- package/es/components/form-elements/text-area/TextArea.stories.js.flow +1 -1
- package/es/components/form-elements/text-area/TextArea.stories.js.map +1 -1
- package/es/components/form-elements/text-input/TextInput.stories.js +1 -1
- package/es/components/form-elements/text-input/TextInput.stories.js.flow +1 -1
- package/es/components/form-elements/text-input/TextInput.stories.js.map +1 -1
- package/es/components/ghost/Ghost.stories.js +1 -1
- package/es/components/ghost/Ghost.stories.js.map +1 -1
- package/es/components/guide-tooltip/GuideTooltip.stories.js +1 -1
- package/es/components/guide-tooltip/GuideTooltip.stories.js.map +1 -1
- package/es/components/header/Header.stories.js +1 -1
- package/es/components/header/Header.stories.js.map +1 -1
- package/es/components/image-tooltip/ImageTooltip.stories.js +1 -1
- package/es/components/image-tooltip/ImageTooltip.stories.js.map +1 -1
- package/es/components/inline-error/InlineError.stories.js +1 -1
- package/es/components/inline-error/InlineError.stories.js.flow +1 -1
- package/es/components/inline-error/InlineError.stories.js.map +1 -1
- package/es/components/inline-notice/InlineNotice.stories.js +1 -1
- package/es/components/inline-notice/InlineNotice.stories.js.flow +1 -1
- package/es/components/inline-notice/InlineNotice.stories.js.map +1 -1
- package/es/components/label/HiddenLabel.js +13 -7
- package/es/components/label/HiddenLabel.js.flow +3 -2
- package/es/components/label/HiddenLabel.js.map +1 -1
- package/es/components/label/Label.js +5 -2
- package/es/components/label/Label.js.flow +5 -3
- package/es/components/label/Label.js.map +1 -1
- package/es/components/label/Label.stories.js +1 -1
- package/es/components/label/Label.stories.js.map +1 -1
- package/es/components/label/LabelPrimitive.js +4 -3
- package/es/components/label/LabelPrimitive.js.flow +3 -2
- package/es/components/label/LabelPrimitive.js.map +1 -1
- package/es/components/label/StandardLabel.js +8 -5
- package/es/components/label/StandardLabel.js.flow +3 -2
- package/es/components/label/StandardLabel.js.map +1 -1
- package/es/components/label-pill/LabelPill.stories.js +1 -1
- package/es/components/label-pill/LabelPill.stories.js.map +1 -1
- package/es/components/link/stories/Link.stories.js +6 -4
- package/es/components/link/stories/Link.stories.js.map +1 -1
- package/es/components/link/stories/LinkButton.stories.js +8 -5
- package/es/components/link/stories/LinkButton.stories.js.map +1 -1
- package/es/components/link/stories/LinkGroup.stories.js +1 -1
- package/es/components/link/stories/LinkGroup.stories.js.map +1 -1
- package/es/components/link/stories/LinkPrimaryButton.stories.js +6 -4
- package/es/components/link/stories/LinkPrimaryButton.stories.js.map +1 -1
- package/es/components/loading-indicator/LoadingIndicator.stories.js +1 -1
- package/es/components/loading-indicator/LoadingIndicator.stories.js.map +1 -1
- package/es/components/loading-indicator/LoadingIndicatorWrapper.stories.js +1 -1
- package/es/components/loading-indicator/LoadingIndicatorWrapper.stories.js.map +1 -1
- package/es/components/loading-indicator/makeLoadable.js.map +1 -1
- package/es/components/logo/Logo.stories.js +1 -1
- package/es/components/logo/Logo.stories.js.map +1 -1
- package/es/components/media/stories/Media.stories.js +1 -1
- package/es/components/media/stories/Media.stories.js.map +1 -1
- package/es/components/media/stories/MediaBody.stories.js +1 -1
- package/es/components/media/stories/MediaBody.stories.js.map +1 -1
- package/es/components/media/stories/MediaFigure.stories.js +1 -1
- package/es/components/media/stories/MediaFigure.stories.js.map +1 -1
- package/es/components/media/stories/MediaMenu.stories.js +1 -1
- package/es/components/media/stories/MediaMenu.stories.js.map +1 -1
- package/es/components/media-query/stories/MediaQuery.stories.js +1 -1
- package/es/components/media-query/stories/MediaQuery.stories.js.flow +1 -1
- package/es/components/media-query/stories/MediaQuery.stories.js.map +1 -1
- package/es/components/menu/stories/Menu.stories.js +1 -1
- package/es/components/menu/stories/Menu.stories.js.map +1 -1
- package/es/components/menu/stories/SelectMenuLinkItem.stories.js +1 -1
- package/es/components/menu/stories/SelectMenuLinkItem.stories.js.map +1 -1
- package/es/components/modal/Modal.scss +62 -69
- package/es/components/modal/stories/Modal.stories.js +1 -1
- package/es/components/modal/stories/Modal.stories.js.flow +1 -1
- package/es/components/modal/stories/Modal.stories.js.map +1 -1
- package/es/components/modal/stories/ModalActions.stories.js +1 -1
- package/es/components/modal/stories/ModalActions.stories.js.flow +1 -1
- package/es/components/modal/stories/ModalActions.stories.js.map +1 -1
- package/es/components/modal/stories/ModalDialog.stories.js +1 -1
- package/es/components/modal/stories/ModalDialog.stories.js.flow +1 -1
- package/es/components/modal/stories/ModalDialog.stories.js.map +1 -1
- package/es/components/nav-sidebar/NavSidebar.stories.js +1 -1
- package/es/components/nav-sidebar/NavSidebar.stories.js.flow +1 -1
- package/es/components/nav-sidebar/NavSidebar.stories.js.map +1 -1
- package/es/components/notification/stories/Notification.stories.js +1 -1
- package/es/components/notification/stories/Notification.stories.js.flow +1 -1
- package/es/components/notification/stories/Notification.stories.js.map +1 -1
- package/es/components/notification/stories/NotificationsWrapper.stories.js +1 -1
- package/es/components/notification/stories/NotificationsWrapper.stories.js.flow +1 -1
- package/es/components/notification/stories/NotificationsWrapper.stories.js.map +1 -1
- package/es/components/nudge/Nudge.stories.js +1 -1
- package/es/components/nudge/Nudge.stories.js.map +1 -1
- package/es/components/pill-cloud/PillCloud.stories.js +1 -1
- package/es/components/pill-cloud/PillCloud.stories.js.flow +1 -1
- package/es/components/pill-cloud/PillCloud.stories.js.map +1 -1
- package/es/components/pill-selector-dropdown/PillSelector.js +7 -3
- package/es/components/pill-selector-dropdown/PillSelector.js.flow +10 -2
- package/es/components/pill-selector-dropdown/PillSelector.js.map +1 -1
- package/es/components/pill-selector-dropdown/PillSelector.scss +4 -0
- package/es/components/pill-selector-dropdown/PillSelectorDropdown.stories.js +1 -1
- package/es/components/pill-selector-dropdown/PillSelectorDropdown.stories.js.flow +1 -1
- package/es/components/pill-selector-dropdown/PillSelectorDropdown.stories.js.map +1 -1
- package/es/components/plain-button/PlainButton.stories.js +1 -1
- package/es/components/plain-button/PlainButton.stories.js.map +1 -1
- package/es/components/primary-button/PrimaryButton.stories.js +1 -1
- package/es/components/primary-button/PrimaryButton.stories.js.map +1 -1
- package/es/components/radar/RadarAnimation.stories.js +1 -1
- package/es/components/radar/RadarAnimation.stories.js.map +1 -1
- package/es/components/radio/stories/RadioButton.stories.js +1 -1
- package/es/components/radio/stories/RadioButton.stories.js.map +1 -1
- package/es/components/radio/stories/RadioGroup.stories.js +1 -1
- package/es/components/radio/stories/RadioGroup.stories.js.map +1 -1
- package/es/components/search-form/SearchActions.js +35 -0
- package/es/components/search-form/SearchActions.js.map +1 -0
- package/es/components/search-form/SearchForm.js +11 -39
- package/es/components/search-form/SearchForm.js.flow +10 -54
- package/es/components/search-form/SearchForm.js.map +1 -1
- package/es/components/search-form/messages.js +17 -0
- package/es/components/search-form/messages.js.map +1 -0
- package/es/components/section/Section.stories.js +1 -1
- package/es/components/section/Section.stories.js.map +1 -1
- package/es/components/select/Select.stories.js +1 -1
- package/es/components/select/Select.stories.js.flow +1 -1
- package/es/components/select/Select.stories.js.map +1 -1
- package/es/components/select-button/SelectButton.stories.js +1 -1
- package/es/components/select-button/SelectButton.stories.js.flow +1 -1
- package/es/components/select-button/SelectButton.stories.js.map +1 -1
- package/es/components/selector-dropdown/SelectorDropdown.stories.js +1 -1
- package/es/components/selector-dropdown/SelectorDropdown.stories.js.flow +1 -1
- package/es/components/selector-dropdown/SelectorDropdown.stories.js.map +1 -1
- package/es/components/sidebar-toggle-button/SidebarToggleButton.stories.js +1 -1
- package/es/components/sidebar-toggle-button/SidebarToggleButton.stories.js.flow +1 -1
- package/es/components/sidebar-toggle-button/SidebarToggleButton.stories.js.map +1 -1
- package/es/components/tab-view/TabView.stories.js +1 -1
- package/es/components/tab-view/TabView.stories.js.flow +1 -1
- package/es/components/tab-view/TabView.stories.js.map +1 -1
- package/es/components/text-input/TextInput.stories.js +1 -1
- package/es/components/text-input/TextInput.stories.js.flow +1 -1
- package/es/components/text-input/TextInput.stories.js.map +1 -1
- package/es/components/text-input-with-copy-button/TextInputWithCopyButton.js +9 -3
- package/es/components/text-input-with-copy-button/TextInputWithCopyButton.js.flow +9 -4
- package/es/components/text-input-with-copy-button/TextInputWithCopyButton.js.map +1 -1
- package/es/components/text-input-with-copy-button/TextInputWithCopyButton.stories.js +1 -1
- package/es/components/text-input-with-copy-button/TextInputWithCopyButton.stories.js.flow +1 -1
- package/es/components/text-input-with-copy-button/TextInputWithCopyButton.stories.js.map +1 -1
- package/es/components/thumbnail-card/ThumbnailCard.stories.js +1 -1
- package/es/components/thumbnail-card/ThumbnailCard.stories.js.flow +1 -1
- package/es/components/thumbnail-card/ThumbnailCard.stories.js.map +1 -1
- package/es/components/time/ReadableTime.stories.js +1 -1
- package/es/components/time/ReadableTime.stories.js.flow +1 -1
- package/es/components/time/ReadableTime.stories.js.map +1 -1
- package/es/components/time-input/TimeInput.stories.js +1 -1
- package/es/components/time-input/TimeInput.stories.js.map +1 -1
- package/es/components/toggle/Toggle.stories.js +1 -1
- package/es/components/toggle/Toggle.stories.js.flow +1 -1
- package/es/components/toggle/Toggle.stories.js.map +1 -1
- package/es/components/tooltip/Tooltip.stories.js +1 -1
- package/es/components/tooltip/Tooltip.stories.js.map +1 -1
- package/es/constants.js +1 -0
- package/es/constants.js.flow +1 -0
- package/es/constants.js.map +1 -1
- package/es/elements/common/_variables.scss +1 -0
- package/es/elements/common/current-user/withCurrentUser.js +1 -0
- package/es/elements/common/current-user/withCurrentUser.js.map +1 -1
- package/es/elements/common/selectors/version.js +2 -1
- package/es/elements/common/selectors/version.js.flow +2 -1
- package/es/elements/common/selectors/version.js.map +1 -1
- package/es/elements/content-explorer/ContentExplorer.js +2 -0
- package/es/elements/content-explorer/ContentExplorer.js.flow +10 -4
- package/es/elements/content-explorer/ContentExplorer.js.map +1 -1
- package/es/elements/content-explorer/MoreOptions.js +1 -1
- package/es/elements/content-explorer/MoreOptions.js.flow +1 -1
- package/es/elements/content-explorer/MoreOptions.js.map +1 -1
- package/es/elements/content-explorer/PreviewDialog.js +0 -1
- package/es/elements/content-explorer/PreviewDialog.js.flow +0 -1
- package/es/elements/content-explorer/PreviewDialog.js.map +1 -1
- package/es/elements/content-explorer/stories/ContentExplorer.stories.js +25 -35
- package/es/elements/content-explorer/stories/ContentExplorer.stories.js.flow +25 -36
- package/es/elements/content-explorer/stories/ContentExplorer.stories.js.map +1 -1
- package/es/elements/content-explorer/stories/DeleteConfirmationDialog.stories.js +1 -1
- package/es/elements/content-explorer/stories/DeleteConfirmationDialog.stories.js.flow +1 -1
- package/es/elements/content-explorer/stories/DeleteConfirmationDialog.stories.js.map +1 -1
- package/es/elements/content-explorer/stories/ShareDialog.stories.js +1 -1
- package/es/elements/content-explorer/stories/ShareDialog.stories.js.flow +1 -1
- package/es/elements/content-explorer/stories/ShareDialog.stories.js.map +1 -1
- package/es/elements/content-picker/ContentPicker.js +2 -2
- package/es/elements/content-picker/ContentPicker.js.flow +2 -2
- package/es/elements/content-picker/ContentPicker.js.map +1 -1
- package/es/elements/content-picker/Footer.scss +6 -0
- package/es/elements/content-preview/ContentPreview.js +20 -10
- package/es/elements/content-preview/ContentPreview.js.flow +88 -64
- package/es/elements/content-preview/ContentPreview.js.map +1 -1
- package/es/elements/content-preview/ContentPreview.scss +13 -28
- package/es/elements/content-preview/preview-header/PreviewHeader.js +8 -2
- package/es/elements/content-preview/preview-header/PreviewHeader.js.flow +6 -0
- package/es/elements/content-preview/preview-header/PreviewHeader.js.map +1 -1
- package/es/elements/content-preview/stories/ContentPreview.stories.js +32 -46
- package/es/elements/content-preview/stories/ContentPreview.stories.js.flow +51 -81
- package/es/elements/content-preview/stories/ContentPreview.stories.js.map +1 -1
- package/es/elements/content-sharing/stories/ContentSharing.stories.js +19 -63
- package/es/elements/content-sharing/stories/ContentSharing.stories.js.flow +18 -84
- package/es/elements/content-sharing/stories/ContentSharing.stories.js.map +1 -1
- package/es/elements/content-sidebar/ActivitySidebar.js +22 -17
- package/es/elements/content-sidebar/ActivitySidebar.js.flow +2 -2
- package/es/elements/content-sidebar/ActivitySidebar.js.map +1 -1
- package/es/elements/content-sidebar/ContentSidebar.scss +9 -9
- package/es/elements/content-sidebar/SidebarContent.scss +6 -8
- package/es/elements/content-sidebar/SidebarNav.scss +22 -20
- package/es/elements/content-sidebar/SidebarNavButton.scss +12 -14
- package/es/elements/content-sidebar/SidebarNavSignButton.scss +6 -8
- package/es/elements/content-sidebar/activity-feed/activity-feed/ActiveState.js +13 -1
- package/es/elements/content-sidebar/activity-feed/activity-feed/ActiveState.js.flow +20 -2
- package/es/elements/content-sidebar/activity-feed/activity-feed/ActiveState.js.map +1 -1
- package/es/elements/content-sidebar/activity-feed/activity-feed/ActivityFeed.js.flow +7 -6
- package/es/elements/content-sidebar/activity-feed/activity-feed/ActivityFeed.js.map +1 -1
- package/es/elements/content-sidebar/activity-feed/activity-feed/ActivityFeed.scss +6 -4
- package/es/elements/content-sidebar/activity-feed/activity-feed/ActivityItem.scss +2 -2
- package/es/elements/content-sidebar/activity-feed/activity-feed/stories/ActivityFeed.stories.js +61 -0
- package/es/elements/content-sidebar/activity-feed/activity-feed/stories/ActivityFeed.stories.js.flow +70 -0
- package/es/elements/content-sidebar/activity-feed/activity-feed/stories/ActivityFeed.stories.js.map +1 -0
- package/es/elements/content-sidebar/activity-feed/annotation-thread/AnnotationThreadContent.js.flow +2 -2
- package/es/elements/content-sidebar/activity-feed/annotation-thread/AnnotationThreadContent.js.map +1 -1
- package/es/elements/content-sidebar/activity-feed/annotation-thread/useAnnotationThread.js +11 -6
- package/es/elements/content-sidebar/activity-feed/annotation-thread/useAnnotationThread.js.flow +3 -7
- package/es/elements/content-sidebar/activity-feed/annotation-thread/useAnnotationThread.js.map +1 -1
- package/es/elements/content-sidebar/activity-feed/annotations/AnnotationActivity.js +5 -1
- package/es/elements/content-sidebar/activity-feed/annotations/AnnotationActivity.js.flow +3 -3
- package/es/elements/content-sidebar/activity-feed/annotations/AnnotationActivity.js.map +1 -1
- package/es/elements/content-sidebar/activity-feed/comment/BaseComment.js +50 -142
- package/es/elements/content-sidebar/activity-feed/comment/BaseComment.js.flow +59 -166
- package/es/elements/content-sidebar/activity-feed/comment/BaseComment.js.map +1 -1
- package/es/elements/content-sidebar/activity-feed/comment/BaseComment.scss +34 -12
- package/es/elements/content-sidebar/activity-feed/comment/CreateReply.js +6 -5
- package/es/elements/content-sidebar/activity-feed/comment/CreateReply.js.flow +5 -4
- package/es/elements/content-sidebar/activity-feed/comment/CreateReply.js.map +1 -1
- package/es/elements/content-sidebar/activity-feed/comment/Replies.scss +4 -2
- package/es/elements/content-sidebar/activity-feed/comment/components/BaseCommentInfo.js +48 -0
- package/es/elements/content-sidebar/activity-feed/comment/components/BaseCommentInfo.js.flow +72 -0
- package/es/elements/content-sidebar/activity-feed/comment/components/BaseCommentInfo.js.map +1 -0
- package/es/elements/content-sidebar/activity-feed/comment/components/BaseCommentInfo.scss +38 -0
- package/es/elements/content-sidebar/activity-feed/comment/components/BaseCommentMenu.js +75 -0
- package/es/elements/content-sidebar/activity-feed/comment/components/BaseCommentMenu.js.flow +125 -0
- package/es/elements/content-sidebar/activity-feed/comment/components/BaseCommentMenu.js.map +1 -0
- package/es/elements/content-sidebar/activity-feed/comment/components/BaseCommentMenu.scss +4 -0
- package/es/elements/content-sidebar/activity-feed/comment/components/BaseCommentMenuWrapper.js +78 -0
- package/es/elements/content-sidebar/activity-feed/comment/components/BaseCommentMenuWrapper.js.flow +91 -0
- package/es/elements/content-sidebar/activity-feed/comment/components/BaseCommentMenuWrapper.js.map +1 -0
- package/es/elements/content-sidebar/activity-feed/comment/components/stories/BaseCommentInfo.stories.js +25 -0
- package/es/elements/content-sidebar/activity-feed/comment/components/stories/BaseCommentInfo.stories.js.flow +25 -0
- package/es/elements/content-sidebar/activity-feed/comment/components/stories/BaseCommentInfo.stories.js.map +1 -0
- package/es/elements/content-sidebar/activity-feed/comment/components/stories/BaseCommentMenu.stories.js +37 -0
- package/es/elements/content-sidebar/activity-feed/comment/components/stories/BaseCommentMenu.stories.js.flow +26 -0
- package/es/elements/content-sidebar/activity-feed/comment/components/stories/BaseCommentMenu.stories.js.map +1 -0
- package/es/elements/content-sidebar/activity-feed/comment/components/stories/common.js +23 -0
- package/es/elements/content-sidebar/activity-feed/comment/components/stories/common.js.flow +28 -0
- package/es/elements/content-sidebar/activity-feed/comment/components/stories/common.js.map +1 -0
- package/es/elements/content-sidebar/activity-feed/comment/messages.js +4 -4
- package/es/elements/content-sidebar/activity-feed/comment/messages.js.flow +5 -5
- package/es/elements/content-sidebar/activity-feed/comment/messages.js.map +1 -1
- package/es/elements/content-sidebar/activity-feed/comment/stories/BaseComment.stories.js +1 -1
- package/es/elements/content-sidebar/activity-feed/comment/stories/BaseComment.stories.js.flow +1 -1
- package/es/elements/content-sidebar/activity-feed/comment/stories/BaseComment.stories.js.map +1 -1
- package/es/elements/content-sidebar/activity-feed/comment/stories/common.js +1 -1
- package/es/elements/content-sidebar/activity-feed/comment/stories/common.js.flow +1 -1
- package/es/elements/content-sidebar/activity-feed/comment/stories/common.js.map +1 -1
- package/es/elements/content-sidebar/activity-feed/comment/types.js.flow +13 -0
- package/es/elements/content-sidebar/activity-feed/comment-form/CommentForm.js +8 -4
- package/es/elements/content-sidebar/activity-feed/comment-form/CommentForm.js.flow +11 -3
- package/es/elements/content-sidebar/activity-feed/comment-form/CommentForm.js.map +1 -1
- package/es/elements/content-sidebar/activity-feed/common/delete-confirmation/DeleteConfirmation.js +2 -0
- package/es/elements/content-sidebar/activity-feed/common/delete-confirmation/DeleteConfirmation.js.flow +2 -0
- package/es/elements/content-sidebar/activity-feed/common/delete-confirmation/DeleteConfirmation.js.map +1 -1
- package/es/elements/content-sidebar/activity-feed/common/delete-confirmation/DeleteConfirmation.scss +1 -1
- package/es/elements/content-sidebar/activity-feed/task-new/Task.js +7 -3
- package/es/elements/content-sidebar/activity-feed/task-new/Task.js.flow +7 -2
- package/es/elements/content-sidebar/activity-feed/task-new/Task.js.map +1 -1
- package/es/elements/content-sidebar/activity-feed/task-new/messages.js +8 -0
- package/es/elements/content-sidebar/activity-feed/task-new/messages.js.flow +10 -0
- package/es/elements/content-sidebar/activity-feed/task-new/messages.js.map +1 -1
- package/es/elements/content-sidebar/stories/ContentSidebar.stories.js +18 -27
- package/es/elements/content-sidebar/stories/ContentSidebar.stories.js.flow +19 -28
- package/es/elements/content-sidebar/stories/ContentSidebar.stories.js.map +1 -1
- package/es/elements/content-sidebar/versions/VersionsItem.scss +6 -0
- package/es/elements/content-uploader/ItemName.scss +1 -1
- package/es/elements/content-uploader/ProgressBar.scss +4 -0
- package/es/elements/content-uploader/stories/ContentUploader.stories.js +6 -13
- package/es/elements/content-uploader/stories/ContentUploader.stories.js.flow +7 -11
- package/es/elements/content-uploader/stories/ContentUploader.stories.js.map +1 -1
- package/es/features/collaborator-avatars/CollaboratorList.scss +11 -1
- package/es/features/collapsible-sidebar/CollapsibleSidebar.stories.js +1 -1
- package/es/features/collapsible-sidebar/CollapsibleSidebar.stories.js.flow +1 -1
- package/es/features/collapsible-sidebar/CollapsibleSidebar.stories.js.map +1 -1
- package/es/features/content-answers/Answer.js +18 -0
- package/es/features/content-answers/Answer.js.map +1 -0
- package/es/features/content-answers/Answer.scss +4 -0
- package/es/features/content-answers/ContentAnswers.js +46 -0
- package/es/features/content-answers/ContentAnswers.js.map +1 -0
- package/es/features/content-answers/ContentAnswersGridCard.js +24 -0
- package/es/features/content-answers/ContentAnswersGridCard.js.map +1 -0
- package/es/features/content-answers/ContentAnswersGridCard.scss +26 -0
- package/es/features/content-answers/ContentAnswersModal.js +111 -0
- package/es/features/content-answers/ContentAnswersModal.js.map +1 -0
- package/es/features/content-answers/ContentAnswersModal.scss +56 -0
- package/es/features/content-answers/ContentAnswersModalContent.js +60 -0
- package/es/features/content-answers/ContentAnswersModalContent.js.map +1 -0
- package/es/features/content-answers/ContentAnswersModalContent.scss +12 -0
- package/es/features/content-answers/ContentAnswersModalError.js +23 -0
- package/es/features/content-answers/ContentAnswersModalError.js.map +1 -0
- package/es/features/content-answers/ContentAnswersModalError.scss +28 -0
- package/es/features/content-answers/ContentAnswersModalFooter.js +93 -0
- package/es/features/content-answers/ContentAnswersModalFooter.js.map +1 -0
- package/es/features/content-answers/ContentAnswersModalFooter.scss +42 -0
- package/es/features/content-answers/ContentAnswersModalFooterActions.js +38 -0
- package/es/features/content-answers/ContentAnswersModalFooterActions.js.map +1 -0
- package/es/features/content-answers/ContentAnswersModalFooterActions.scss +17 -0
- package/es/features/content-answers/ContentAnswersOpenButton.js +69 -0
- package/es/features/content-answers/ContentAnswersOpenButton.js.map +1 -0
- package/es/features/content-answers/ContentAnswersOpenButton.scss +54 -0
- package/es/features/content-answers/InlineError.js +29 -0
- package/es/features/content-answers/InlineError.js.map +1 -0
- package/es/features/content-answers/InlineError.scss +39 -0
- package/es/features/content-answers/LoadingElement.js +17 -0
- package/es/features/content-answers/LoadingElement.js.map +1 -0
- package/es/features/content-answers/LoadingElement.scss +4 -0
- package/es/features/content-answers/Question.js +27 -0
- package/es/features/content-answers/Question.js.map +1 -0
- package/es/features/content-answers/Question.scss +16 -0
- package/es/features/content-answers/WelcomeMessage.js +32 -0
- package/es/features/content-answers/WelcomeMessage.js.map +1 -0
- package/es/features/content-answers/WelcomeMessage.scss +25 -0
- package/es/features/content-answers/constants.js +10 -0
- package/es/features/content-answers/constants.js.map +1 -0
- package/es/features/content-answers/index.js +2 -0
- package/es/features/content-answers/index.js.map +1 -0
- package/es/features/content-answers/messages.js +69 -0
- package/es/features/content-answers/messages.js.map +1 -0
- package/es/features/content-explorer/content-explorer/ContentExplorer.js +21 -12
- package/es/features/content-explorer/content-explorer/ContentExplorer.js.flow +19 -15
- package/es/features/content-explorer/content-explorer/ContentExplorer.js.map +1 -1
- package/es/features/content-explorer/content-explorer/ContentExplorer.scss +4 -0
- package/es/features/content-explorer/content-explorer/ContentExplorerBreadcrumbs.js +1 -0
- package/es/features/content-explorer/content-explorer/ContentExplorerBreadcrumbs.js.flow +2 -0
- package/es/features/content-explorer/content-explorer/ContentExplorerBreadcrumbs.js.map +1 -1
- package/es/features/content-explorer/content-explorer-modal/ContentExplorerModal.js.flow +1 -0
- package/es/features/content-explorer/content-explorer-modal/ContentExplorerModal.js.map +1 -1
- package/es/features/content-explorer/content-explorer-modal-container/ContentExplorerModalContainer.js +3 -0
- package/es/features/content-explorer/content-explorer-modal-container/ContentExplorerModalContainer.js.flow +2 -0
- package/es/features/content-explorer/content-explorer-modal-container/ContentExplorerModalContainer.js.map +1 -1
- package/es/features/pagination/Pagination.scss +0 -4
- package/es/features/sandbox-banner/SandboxBanner.stories.js +1 -1
- package/es/features/sandbox-banner/SandboxBanner.stories.js.map +1 -1
- package/es/features/security-cloud-game/stories/SecurityCloudGame.stories.js +1 -1
- package/es/features/security-cloud-game/stories/SecurityCloudGame.stories.js.flow +1 -1
- package/es/features/security-cloud-game/stories/SecurityCloudGame.stories.js.map +1 -1
- package/es/features/shared-link-modal/stories/SharedLink.stories.js +1 -1
- package/es/features/shared-link-modal/stories/SharedLink.stories.js.flow +1 -1
- package/es/features/shared-link-modal/stories/SharedLink.stories.js.map +1 -1
- package/es/features/shared-link-modal/stories/SharedLinkModal.stories.js +1 -1
- package/es/features/shared-link-modal/stories/SharedLinkModal.stories.js.flow +1 -1
- package/es/features/shared-link-modal/stories/SharedLinkModal.stories.js.map +1 -1
- package/es/features/shared-link-settings-modal/SharedLinkSettingsModal.stories.js +1 -1
- package/es/features/shared-link-settings-modal/SharedLinkSettingsModal.stories.js.flow +1 -1
- package/es/features/shared-link-settings-modal/SharedLinkSettingsModal.stories.js.map +1 -1
- package/es/features/targeting/hocs/withTargetedClickThrough.js +13 -3
- package/es/features/targeting/hocs/withTargetedClickThrough.js.flow +10 -1
- package/es/features/targeting/hocs/withTargetedClickThrough.js.map +1 -1
- package/es/features/targeting/types.js.flow +1 -0
- package/es/features/targeting/types.js.map +1 -1
- package/es/features/unified-share-modal/UnifiedShareModal.scss +61 -79
- package/es/features/unified-share-modal/stories/UnifiedShareModal.stories.js +1 -1
- package/es/features/unified-share-modal/stories/UnifiedShareModal.stories.js.flow +1 -1
- package/es/features/unified-share-modal/stories/UnifiedShareModal.stories.js.map +1 -1
- package/es/features/virtualized-table/DraggableVirtualizedTable.stories.js +1 -1
- package/es/features/virtualized-table/DraggableVirtualizedTable.stories.js.flow +1 -1
- package/es/features/virtualized-table/DraggableVirtualizedTable.stories.js.map +1 -1
- package/es/icon/content/ContentSharing32.stories.js +1 -1
- package/es/icon/content/ContentSharing32.stories.js.map +1 -1
- package/es/icon/content/CustomSetup32.stories.js +1 -1
- package/es/icon/content/CustomSetup32.stories.js.map +1 -1
- package/es/icon/content/DeviceTrust32.stories.js +1 -1
- package/es/icon/content/DeviceTrust32.stories.js.map +1 -1
- package/es/icon/content/FileAudio32.stories.js +1 -1
- package/es/icon/content/FileAudio32.stories.js.map +1 -1
- package/es/icon/content/FileBookmark32.stories.js +1 -1
- package/es/icon/content/FileBookmark32.stories.js.map +1 -1
- package/es/icon/content/FileBoxNote32.stories.js +1 -1
- package/es/icon/content/FileBoxNote32.stories.js.map +1 -1
- package/es/icon/content/FileCanvas32.stories.js +1 -1
- package/es/icon/content/FileCanvas32.stories.js.map +1 -1
- package/es/icon/content/FileCode32.stories.js +1 -1
- package/es/icon/content/FileCode32.stories.js.map +1 -1
- package/es/icon/content/FileDefault32.stories.js +1 -1
- package/es/icon/content/FileDefault32.stories.js.map +1 -1
- package/es/icon/content/FileDicom32.stories.js +1 -1
- package/es/icon/content/FileDicom32.stories.js.map +1 -1
- package/es/icon/content/FileDocs32.stories.js +1 -1
- package/es/icon/content/FileDocs32.stories.js.map +1 -1
- package/es/icon/content/FileDwg32.stories.js +1 -1
- package/es/icon/content/FileDwg32.stories.js.map +1 -1
- package/es/icon/content/FileExcel32.stories.js +1 -1
- package/es/icon/content/FileExcel32.stories.js.map +1 -1
- package/es/icon/content/FileIllustrator32.stories.js +1 -1
- package/es/icon/content/FileIllustrator32.stories.js.map +1 -1
- package/es/icon/content/FileImage32.stories.js +1 -1
- package/es/icon/content/FileImage32.stories.js.map +1 -1
- package/es/icon/content/FileIndesign32.stories.js +1 -1
- package/es/icon/content/FileIndesign32.stories.js.map +1 -1
- package/es/icon/content/FileKeynote32.stories.js +1 -1
- package/es/icon/content/FileKeynote32.stories.js.map +1 -1
- package/es/icon/content/FileNumbers32.stories.js +1 -1
- package/es/icon/content/FileNumbers32.stories.js.map +1 -1
- package/es/icon/content/FilePages32.stories.js +1 -1
- package/es/icon/content/FilePages32.stories.js.map +1 -1
- package/es/icon/content/FilePdf32.stories.js +1 -1
- package/es/icon/content/FilePdf32.stories.js.map +1 -1
- package/es/icon/content/FilePhotoshop32.stories.js +1 -1
- package/es/icon/content/FilePhotoshop32.stories.js.map +1 -1
- package/es/icon/content/FilePowerpoint32.stories.js +1 -1
- package/es/icon/content/FilePowerpoint32.stories.js.map +1 -1
- package/es/icon/content/FilePresentation32.stories.js +1 -1
- package/es/icon/content/FilePresentation32.stories.js.map +1 -1
- package/es/icon/content/FileSheets32.stories.js +1 -1
- package/es/icon/content/FileSheets32.stories.js.map +1 -1
- package/es/icon/content/FileSlides32.stories.js +1 -1
- package/es/icon/content/FileSlides32.stories.js.map +1 -1
- package/es/icon/content/FileSpreadsheet32.stories.js +1 -1
- package/es/icon/content/FileSpreadsheet32.stories.js.map +1 -1
- package/es/icon/content/FileText32.stories.js +1 -1
- package/es/icon/content/FileText32.stories.js.map +1 -1
- package/es/icon/content/FileThreeD32.stories.js +1 -1
- package/es/icon/content/FileThreeD32.stories.js.map +1 -1
- package/es/icon/content/FileUpload32.stories.js +1 -1
- package/es/icon/content/FileUpload32.stories.js.map +1 -1
- package/es/icon/content/FileVector32.stories.js +1 -1
- package/es/icon/content/FileVector32.stories.js.map +1 -1
- package/es/icon/content/FileVideo32.stories.js +1 -1
- package/es/icon/content/FileVideo32.stories.js.map +1 -1
- package/es/icon/content/FileWord32.stories.js +1 -1
- package/es/icon/content/FileWord32.stories.js.map +1 -1
- package/es/icon/content/FileXbd32.stories.js +1 -1
- package/es/icon/content/FileXbd32.stories.js.map +1 -1
- package/es/icon/content/FileXdw32.stories.js +1 -1
- package/es/icon/content/FileXdw32.stories.js.map +1 -1
- package/es/icon/content/FileZip32.stories.js +1 -1
- package/es/icon/content/FileZip32.stories.js.map +1 -1
- package/es/icon/content/FolderExternal32.stories.js +1 -1
- package/es/icon/content/FolderExternal32.stories.js.map +1 -1
- package/es/icon/content/FolderPersonal32.stories.js +1 -1
- package/es/icon/content/FolderPersonal32.stories.js.map +1 -1
- package/es/icon/content/FolderShared32.stories.js +1 -1
- package/es/icon/content/FolderShared32.stories.js.map +1 -1
- package/es/icon/content/FolderUpload32.stories.js +1 -1
- package/es/icon/content/FolderUpload32.stories.js.map +1 -1
- package/es/icon/content/Mobile32.stories.js +1 -1
- package/es/icon/content/Mobile32.stories.js.map +1 -1
- package/es/icon/content/Notifications32.stories.js +1 -1
- package/es/icon/content/Notifications32.stories.js.map +1 -1
- package/es/icon/content/PlatformCam32.stories.js +1 -1
- package/es/icon/content/PlatformCam32.stories.js.map +1 -1
- package/es/icon/content/PlatformSandbox32.stories.js +1 -1
- package/es/icon/content/PlatformSandbox32.stories.js.map +1 -1
- package/es/icon/content/RetentionPolicyModifiable32.stories.js +1 -1
- package/es/icon/content/RetentionPolicyModifiable32.stories.js.map +1 -1
- package/es/icon/content/RetentionPolicyNonModifiable32.stories.js +1 -1
- package/es/icon/content/RetentionPolicyNonModifiable32.stories.js.map +1 -1
- package/es/icon/content/Security32.stories.js +1 -1
- package/es/icon/content/Security32.stories.js.map +1 -1
- package/es/icon/content/SignRequest32.stories.js +1 -1
- package/es/icon/content/SignRequest32.stories.js.map +1 -1
- package/es/icon/content/UserSettings32.stories.js +1 -1
- package/es/icon/content/UserSettings32.stories.js.map +1 -1
- package/es/icon/content/Workflow32.stories.js +1 -1
- package/es/icon/content/Workflow32.stories.js.map +1 -1
- package/es/icon/content/WorkflowTemplate32.stories.js +1 -1
- package/es/icon/content/WorkflowTemplate32.stories.js.map +1 -1
- package/es/icon/fill/Activity16.stories.js +1 -1
- package/es/icon/fill/Activity16.stories.js.map +1 -1
- package/es/icon/fill/Activity20.stories.js +1 -1
- package/es/icon/fill/Activity20.stories.js.map +1 -1
- package/es/icon/fill/Alert16.stories.js +1 -1
- package/es/icon/fill/Alert16.stories.js.map +1 -1
- package/es/icon/fill/AlertBadge16.stories.js +1 -1
- package/es/icon/fill/AlertBadge16.stories.js.map +1 -1
- package/es/icon/fill/AnnotationsDrawing16.stories.js +1 -1
- package/es/icon/fill/AnnotationsDrawing16.stories.js.map +1 -1
- package/es/icon/fill/AnnotationsHighlight16.stories.js +1 -1
- package/es/icon/fill/AnnotationsHighlight16.stories.js.map +1 -1
- package/es/icon/fill/AnnotationsRegion16.stories.js +1 -1
- package/es/icon/fill/AnnotationsRegion16.stories.js.map +1 -1
- package/es/icon/fill/Apps16.stories.js +1 -1
- package/es/icon/fill/Apps16.stories.js.map +1 -1
- package/es/icon/fill/Arrow16.stories.js +1 -1
- package/es/icon/fill/Arrow16.stories.js.map +1 -1
- package/es/icon/fill/ArrowArcRight.stories.js +1 -1
- package/es/icon/fill/ArrowArcRight.stories.js.map +1 -1
- package/es/icon/fill/ArrowForward16.stories.js +1 -1
- package/es/icon/fill/ArrowForward16.stories.js.map +1 -1
- package/es/icon/fill/ArrowSort16.stories.js +1 -1
- package/es/icon/fill/ArrowSort16.stories.js.map +1 -1
- package/es/icon/fill/AvatarBadge16.stories.js +1 -1
- package/es/icon/fill/AvatarBadge16.stories.js.map +1 -1
- package/es/icon/fill/BarChart16.stories.js +1 -1
- package/es/icon/fill/BarChart16.stories.js.map +1 -1
- package/es/icon/fill/BoxDev16.stories.js +1 -1
- package/es/icon/fill/BoxDev16.stories.js.map +1 -1
- package/es/icon/fill/BoxNotes16.stories.js +1 -1
- package/es/icon/fill/BoxNotes16.stories.js.map +1 -1
- package/es/icon/fill/Calendar16.stories.js +1 -1
- package/es/icon/fill/Calendar16.stories.js.map +1 -1
- package/es/icon/fill/Caret8.stories.js +1 -1
- package/es/icon/fill/Caret8.stories.js.map +1 -1
- package/es/icon/fill/CaretBadge16.stories.js +1 -1
- package/es/icon/fill/CaretBadge16.stories.js.map +1 -1
- package/es/icon/fill/Checkmark16.stories.js +1 -1
- package/es/icon/fill/Checkmark16.stories.js.map +1 -1
- package/es/icon/fill/CheckmarkBadge16.stories.js +1 -1
- package/es/icon/fill/CheckmarkBadge16.stories.js.map +1 -1
- package/es/icon/fill/CircleBackButton24.stories.js +1 -1
- package/es/icon/fill/CircleBackButton24.stories.js.map +1 -1
- package/es/icon/fill/CircleCloseButton24.stories.js +1 -1
- package/es/icon/fill/CircleCloseButton24.stories.js.map +1 -1
- package/es/icon/fill/Classify16.stories.js +1 -1
- package/es/icon/fill/Classify16.stories.js.map +1 -1
- package/es/icon/fill/ClearBadge16.stories.js +1 -1
- package/es/icon/fill/ClearBadge16.stories.js.map +1 -1
- package/es/icon/fill/ClockBadge16.stories.js +1 -1
- package/es/icon/fill/ClockBadge16.stories.js.map +1 -1
- package/es/icon/fill/CloudUpload16.stories.js +1 -1
- package/es/icon/fill/CloudUpload16.stories.js.map +1 -1
- package/es/icon/fill/Code16.stories.js +1 -1
- package/es/icon/fill/Code16.stories.js.map +1 -1
- package/es/icon/fill/Collection16.stories.js +1 -1
- package/es/icon/fill/Collection16.stories.js.map +1 -1
- package/es/icon/fill/CollectionBolt16.stories.js +1 -1
- package/es/icon/fill/CollectionBolt16.stories.js.map +1 -1
- package/es/icon/fill/CollectionPlus16.stories.js +1 -1
- package/es/icon/fill/CollectionPlus16.stories.js.map +1 -1
- package/es/icon/fill/CollectionStar16.stories.js +1 -1
- package/es/icon/fill/CollectionStar16.stories.js.map +1 -1
- package/es/icon/fill/CreditCard16.stories.js +1 -1
- package/es/icon/fill/CreditCard16.stories.js.map +1 -1
- package/es/icon/fill/Download16.stories.js +1 -1
- package/es/icon/fill/Download16.stories.js.map +1 -1
- package/es/icon/fill/EmailNotification16.stories.js +1 -1
- package/es/icon/fill/EmailNotification16.stories.js.map +1 -1
- package/es/icon/fill/ExportArrow16.stories.js +1 -1
- package/es/icon/fill/ExportArrow16.stories.js.map +1 -1
- package/es/icon/fill/Feed16.stories.js +1 -1
- package/es/icon/fill/Feed16.stories.js.map +1 -1
- package/es/icon/fill/FileAudio16.stories.js +1 -1
- package/es/icon/fill/FileAudio16.stories.js.map +1 -1
- package/es/icon/fill/FileBookmark16.stories.js +1 -1
- package/es/icon/fill/FileBookmark16.stories.js.map +1 -1
- package/es/icon/fill/FileBoxNote16.stories.js +1 -1
- package/es/icon/fill/FileBoxNote16.stories.js.map +1 -1
- package/es/icon/fill/FileCanvas16.stories.js +1 -1
- package/es/icon/fill/FileCanvas16.stories.js.map +1 -1
- package/es/icon/fill/FileCode16.stories.js +1 -1
- package/es/icon/fill/FileCode16.stories.js.map +1 -1
- package/es/icon/fill/FileCopy16.stories.js +1 -1
- package/es/icon/fill/FileCopy16.stories.js.map +1 -1
- package/es/icon/fill/FileDefault16.stories.js +1 -1
- package/es/icon/fill/FileDefault16.stories.js.map +1 -1
- package/es/icon/fill/FileDicom16.stories.js +1 -1
- package/es/icon/fill/FileDicom16.stories.js.map +1 -1
- package/es/icon/fill/FileDocs16.stories.js +1 -1
- package/es/icon/fill/FileDocs16.stories.js.map +1 -1
- package/es/icon/fill/FileDwg16.stories.js +1 -1
- package/es/icon/fill/FileDwg16.stories.js.map +1 -1
- package/es/icon/fill/FileExcel16.stories.js +1 -1
- package/es/icon/fill/FileExcel16.stories.js.map +1 -1
- package/es/icon/fill/FileIllustrator16.stories.js +1 -1
- package/es/icon/fill/FileIllustrator16.stories.js.map +1 -1
- package/es/icon/fill/FileImage16.stories.js +1 -1
- package/es/icon/fill/FileImage16.stories.js.map +1 -1
- package/es/icon/fill/FileIndesign16.stories.js +1 -1
- package/es/icon/fill/FileIndesign16.stories.js.map +1 -1
- package/es/icon/fill/FileKeynote16.stories.js +1 -1
- package/es/icon/fill/FileKeynote16.stories.js.map +1 -1
- package/es/icon/fill/FileNumbers16.stories.js +1 -1
- package/es/icon/fill/FileNumbers16.stories.js.map +1 -1
- package/es/icon/fill/FilePages16.stories.js +1 -1
- package/es/icon/fill/FilePages16.stories.js.map +1 -1
- package/es/icon/fill/FilePdf16.stories.js +1 -1
- package/es/icon/fill/FilePdf16.stories.js.map +1 -1
- package/es/icon/fill/FilePhotoshop16.stories.js +1 -1
- package/es/icon/fill/FilePhotoshop16.stories.js.map +1 -1
- package/es/icon/fill/FilePowerpoint16.stories.js +1 -1
- package/es/icon/fill/FilePowerpoint16.stories.js.map +1 -1
- package/es/icon/fill/FilePresentation16.stories.js +1 -1
- package/es/icon/fill/FilePresentation16.stories.js.map +1 -1
- package/es/icon/fill/FileSheets16.stories.js +1 -1
- package/es/icon/fill/FileSheets16.stories.js.map +1 -1
- package/es/icon/fill/FileSlides16.stories.js +1 -1
- package/es/icon/fill/FileSlides16.stories.js.map +1 -1
- package/es/icon/fill/FileSpreadsheet16.stories.js +1 -1
- package/es/icon/fill/FileSpreadsheet16.stories.js.map +1 -1
- package/es/icon/fill/FileText16.stories.js +1 -1
- package/es/icon/fill/FileText16.stories.js.map +1 -1
- package/es/icon/fill/FileThreeD16.stories.js +1 -1
- package/es/icon/fill/FileThreeD16.stories.js.map +1 -1
- package/es/icon/fill/FileVector16.stories.js +1 -1
- package/es/icon/fill/FileVector16.stories.js.map +1 -1
- package/es/icon/fill/FileVideo16.stories.js +1 -1
- package/es/icon/fill/FileVideo16.stories.js.map +1 -1
- package/es/icon/fill/FileWord16.stories.js +1 -1
- package/es/icon/fill/FileWord16.stories.js.map +1 -1
- package/es/icon/fill/FileZip16.stories.js +1 -1
- package/es/icon/fill/FileZip16.stories.js.map +1 -1
- package/es/icon/fill/Filter16.stories.js +1 -1
- package/es/icon/fill/Filter16.stories.js.map +1 -1
- package/es/icon/fill/Folder16.stories.js +1 -1
- package/es/icon/fill/Folder16.stories.js.map +1 -1
- package/es/icon/fill/FolderExternal16.stories.js +1 -1
- package/es/icon/fill/FolderExternal16.stories.js.map +1 -1
- package/es/icon/fill/FolderPersonal16.stories.js +1 -1
- package/es/icon/fill/FolderPersonal16.stories.js.map +1 -1
- package/es/icon/fill/FolderShared16.stories.js +1 -1
- package/es/icon/fill/FolderShared16.stories.js.map +1 -1
- package/es/icon/fill/Gear16.stories.js +1 -1
- package/es/icon/fill/Gear16.stories.js.map +1 -1
- package/es/icon/fill/GlobeBadge16.stories.js +1 -1
- package/es/icon/fill/GlobeBadge16.stories.js.map +1 -1
- package/es/icon/fill/Hamburger20.stories.js +1 -1
- package/es/icon/fill/Hamburger20.stories.js.map +1 -1
- package/es/icon/fill/Help20.stories.js +1 -1
- package/es/icon/fill/Help20.stories.js.map +1 -1
- package/es/icon/fill/InProgress16.stories.js +1 -1
- package/es/icon/fill/InProgress16.stories.js.map +1 -1
- package/es/icon/fill/Info16.stories.js +1 -1
- package/es/icon/fill/Info16.stories.js.map +1 -1
- package/es/icon/fill/InfoBadge16.stories.js +1 -1
- package/es/icon/fill/InfoBadge16.stories.js.map +1 -1
- package/es/icon/fill/LightningBolt16.stories.js +1 -1
- package/es/icon/fill/LightningBolt16.stories.js.map +1 -1
- package/es/icon/fill/Lock16.stories.js +1 -1
- package/es/icon/fill/Lock16.stories.js.map +1 -1
- package/es/icon/fill/Megaphone20.stories.js +1 -1
- package/es/icon/fill/Megaphone20.stories.js.map +1 -1
- package/es/icon/fill/Minus16.stories.js +1 -1
- package/es/icon/fill/Minus16.stories.js.map +1 -1
- package/es/icon/fill/Move16.stories.js +1 -1
- package/es/icon/fill/Move16.stories.js.map +1 -1
- package/es/icon/fill/MoveCopy16.stories.js +1 -1
- package/es/icon/fill/MoveCopy16.stories.js.map +1 -1
- package/es/icon/fill/Overflow16.stories.js +1 -1
- package/es/icon/fill/Overflow16.stories.js.map +1 -1
- package/es/icon/fill/PaperAirplane16.stories.js +1 -1
- package/es/icon/fill/PaperAirplane16.stories.js.map +1 -1
- package/es/icon/fill/Pencil16.stories.js +1 -1
- package/es/icon/fill/Pencil16.stories.js.map +1 -1
- package/es/icon/fill/Picture16.stories.js +1 -1
- package/es/icon/fill/Picture16.stories.js.map +1 -1
- package/es/icon/fill/Plus16.stories.js +1 -1
- package/es/icon/fill/Plus16.stories.js.map +1 -1
- package/es/icon/fill/PlusBadge16.stories.js +1 -1
- package/es/icon/fill/PlusBadge16.stories.js.map +1 -1
- package/es/icon/fill/PointerChevronDown24.stories.js +1 -1
- package/es/icon/fill/PointerChevronDown24.stories.js.map +1 -1
- package/es/icon/fill/Printer16.stories.js +1 -1
- package/es/icon/fill/Printer16.stories.js.map +1 -1
- package/es/icon/fill/Relay16.stories.js +1 -1
- package/es/icon/fill/Relay16.stories.js.map +1 -1
- package/es/icon/fill/RelayClassic16.stories.js +1 -1
- package/es/icon/fill/RelayClassic16.stories.js.map +1 -1
- package/es/icon/fill/Ribbon16.stories.js +1 -1
- package/es/icon/fill/Ribbon16.stories.js.map +1 -1
- package/es/icon/fill/Scribble16.stories.js +1 -1
- package/es/icon/fill/Scribble16.stories.js.map +1 -1
- package/es/icon/fill/Search16.stories.js +1 -1
- package/es/icon/fill/Search16.stories.js.map +1 -1
- package/es/icon/fill/Sign16.stories.js +1 -1
- package/es/icon/fill/Sign16.stories.js.map +1 -1
- package/es/icon/fill/SignFieldCheckBox16.stories.js +1 -1
- package/es/icon/fill/SignFieldCheckBox16.stories.js.map +1 -1
- package/es/icon/fill/SignFieldSignature16.stories.js +1 -1
- package/es/icon/fill/SignFieldSignature16.stories.js.map +1 -1
- package/es/icon/fill/SignFieldTextInput16.stories.js +1 -1
- package/es/icon/fill/SignFieldTextInput16.stories.js.map +1 -1
- package/es/icon/fill/SignMe32.stories.js +1 -1
- package/es/icon/fill/SignMe32.stories.js.map +1 -1
- package/es/icon/fill/SignMeOthers32.stories.js +1 -1
- package/es/icon/fill/SignMeOthers32.stories.js.map +1 -1
- package/es/icon/fill/SignOthers32.stories.js +1 -1
- package/es/icon/fill/SignOthers32.stories.js.map +1 -1
- package/es/icon/fill/Skills16.stories.js +1 -1
- package/es/icon/fill/Skills16.stories.js.map +1 -1
- package/es/icon/fill/Tag16.stories.js +1 -1
- package/es/icon/fill/Tag16.stories.js.map +1 -1
- package/es/icon/fill/Task16.stories.js +1 -1
- package/es/icon/fill/Task16.stories.js.map +1 -1
- package/es/icon/fill/Trash16.stories.js +1 -1
- package/es/icon/fill/Trash16.stories.js.map +1 -1
- package/es/icon/fill/TwoPeople16.stories.js +1 -1
- package/es/icon/fill/TwoPeople16.stories.js.map +1 -1
- package/es/icon/fill/Upload16.stories.js +1 -1
- package/es/icon/fill/Upload16.stories.js.map +1 -1
- package/es/icon/fill/UserSettings16.stories.js +1 -1
- package/es/icon/fill/UserSettings16.stories.js.map +1 -1
- package/es/icon/fill/Workflow16.stories.js +1 -1
- package/es/icon/fill/Workflow16.stories.js.map +1 -1
- package/es/icon/fill/X16.stories.js +1 -1
- package/es/icon/fill/X16.stories.js.map +1 -1
- package/es/icon/line/AlarmClock16.stories.js +1 -1
- package/es/icon/line/AlarmClock16.stories.js.map +1 -1
- package/es/icon/line/AlertBubble16.stories.js +1 -1
- package/es/icon/line/AlertBubble16.stories.js.map +1 -1
- package/es/icon/line/Apps16.stories.js +1 -1
- package/es/icon/line/Apps16.stories.js.map +1 -1
- package/es/icon/line/ArrowBoxRight16.stories.js +1 -1
- package/es/icon/line/ArrowBoxRight16.stories.js.map +1 -1
- package/es/icon/line/Avatar16.stories.js +1 -1
- package/es/icon/line/Avatar16.stories.js.map +1 -1
- package/es/icon/line/AvatarBadge16.stories.js +1 -1
- package/es/icon/line/AvatarBadge16.stories.js.map +1 -1
- package/es/icon/line/AvatarPlusBadge16.stories.js +1 -1
- package/es/icon/line/AvatarPlusBadge16.stories.js.map +1 -1
- package/es/icon/line/AvatarXBadge16.stories.js +1 -1
- package/es/icon/line/AvatarXBadge16.stories.js.map +1 -1
- package/es/icon/line/BoxAi.stories.js +1 -1
- package/es/icon/line/BoxAi.stories.js.map +1 -1
- package/es/icon/line/BoxDev16.stories.js +1 -1
- package/es/icon/line/BoxDev16.stories.js.map +1 -1
- package/es/icon/line/Bug16.stories.js +1 -1
- package/es/icon/line/Bug16.stories.js.map +1 -1
- package/es/icon/line/Checkmark16.stories.js +1 -1
- package/es/icon/line/Checkmark16.stories.js.map +1 -1
- package/es/icon/line/CheckmarkBadge16.stories.js +1 -1
- package/es/icon/line/CheckmarkBadge16.stories.js.map +1 -1
- package/es/icon/line/CircleCheck16.stories.js +1 -1
- package/es/icon/line/CircleCheck16.stories.js.map +1 -1
- package/es/icon/line/CircleX16.stories.js +1 -1
- package/es/icon/line/CircleX16.stories.js.map +1 -1
- package/es/icon/line/ClassificationBadge16.stories.js +1 -1
- package/es/icon/line/ClassificationBadge16.stories.js.map +1 -1
- package/es/icon/line/ClockArrow16.stories.js +1 -1
- package/es/icon/line/ClockArrow16.stories.js.map +1 -1
- package/es/icon/line/ClockBadge16.stories.js +1 -1
- package/es/icon/line/ClockBadge16.stories.js.map +1 -1
- package/es/icon/line/CloudWithArrow16.stories.js +1 -1
- package/es/icon/line/CloudWithArrow16.stories.js.map +1 -1
- package/es/icon/line/CoAuthoringBadge16.stories.js +1 -1
- package/es/icon/line/CoAuthoringBadge16.stories.js.map +1 -1
- package/es/icon/line/CoEdit16.stories.js +1 -1
- package/es/icon/line/CoEdit16.stories.js.map +1 -1
- package/es/icon/line/Collaborations16.stories.js +1 -1
- package/es/icon/line/Collaborations16.stories.js.map +1 -1
- package/es/icon/line/Collection16.stories.js +1 -1
- package/es/icon/line/Collection16.stories.js.map +1 -1
- package/es/icon/line/CollectionBolt16.stories.js +1 -1
- package/es/icon/line/CollectionBolt16.stories.js.map +1 -1
- package/es/icon/line/CollectionPlus16.stories.js +1 -1
- package/es/icon/line/CollectionPlus16.stories.js.map +1 -1
- package/es/icon/line/CollectionStar16.stories.js +1 -1
- package/es/icon/line/CollectionStar16.stories.js.map +1 -1
- package/es/icon/line/CommentBubble16.stories.js +1 -1
- package/es/icon/line/CommentBubble16.stories.js.map +1 -1
- package/es/icon/line/CrosshairRegion32.stories.js +1 -1
- package/es/icon/line/CrosshairRegion32.stories.js.map +1 -1
- package/es/icon/line/DocInfo16.stories.js +1 -1
- package/es/icon/line/DocInfo16.stories.js.map +1 -1
- package/es/icon/line/Download16.stories.js +1 -1
- package/es/icon/line/Download16.stories.js.map +1 -1
- package/es/icon/line/Email16.stories.js +1 -1
- package/es/icon/line/Email16.stories.js.map +1 -1
- package/es/icon/line/EmailAddress16.stories.js +1 -1
- package/es/icon/line/EmailAddress16.stories.js.map +1 -1
- package/es/icon/line/EnvelopeBadge16.stories.js +1 -1
- package/es/icon/line/EnvelopeBadge16.stories.js.map +1 -1
- package/es/icon/line/ExclamationMarkBadge16.stories.js +1 -1
- package/es/icon/line/ExclamationMarkBadge16.stories.js.map +1 -1
- package/es/icon/line/ExportArrow16.stories.js +1 -1
- package/es/icon/line/ExportArrow16.stories.js.map +1 -1
- package/es/icon/line/FileDescription16.stories.js +1 -1
- package/es/icon/line/FileDescription16.stories.js.map +1 -1
- package/es/icon/line/Folder16.stories.js +1 -1
- package/es/icon/line/Folder16.stories.js.map +1 -1
- package/es/icon/line/Gear16.stories.js +1 -1
- package/es/icon/line/Gear16.stories.js.map +1 -1
- package/es/icon/line/GenericCopy16.stories.js +1 -1
- package/es/icon/line/GenericCopy16.stories.js.map +1 -1
- package/es/icon/line/GlobeBadge16.stories.js +1 -1
- package/es/icon/line/GlobeBadge16.stories.js.map +1 -1
- package/es/icon/line/Help16.stories.js +1 -1
- package/es/icon/line/Help16.stories.js.map +1 -1
- package/es/icon/line/Hidden16.stories.js +1 -1
- package/es/icon/line/Hidden16.stories.js.map +1 -1
- package/es/icon/line/History16.stories.js +1 -1
- package/es/icon/line/History16.stories.js.map +1 -1
- package/es/icon/line/InfoBadge16.stories.js +1 -1
- package/es/icon/line/InfoBadge16.stories.js.map +1 -1
- package/es/icon/line/Key16.stories.js +1 -1
- package/es/icon/line/Key16.stories.js.map +1 -1
- package/es/icon/line/Link16.stories.js +1 -1
- package/es/icon/line/Link16.stories.js.map +1 -1
- package/es/icon/line/LinkBadge16.stories.js +1 -1
- package/es/icon/line/LinkBadge16.stories.js.map +1 -1
- package/es/icon/line/List16.stories.js +1 -1
- package/es/icon/line/List16.stories.js.map +1 -1
- package/es/icon/line/Lock16.stories.js +1 -1
- package/es/icon/line/Lock16.stories.js.map +1 -1
- package/es/icon/line/LockBadge16.stories.js +1 -1
- package/es/icon/line/LockBadge16.stories.js.map +1 -1
- package/es/icon/line/MetadataBadge16.stories.js +1 -1
- package/es/icon/line/MetadataBadge16.stories.js.map +1 -1
- package/es/icon/line/MoveCopy16.stories.js +1 -1
- package/es/icon/line/MoveCopy16.stories.js.map +1 -1
- package/es/icon/line/Pencil16.stories.js +1 -1
- package/es/icon/line/Pencil16.stories.js.map +1 -1
- package/es/icon/line/PencilBadge16.stories.js +1 -1
- package/es/icon/line/PencilBadge16.stories.js.map +1 -1
- package/es/icon/line/Plane16.stories.js +1 -1
- package/es/icon/line/Plane16.stories.js.map +1 -1
- package/es/icon/line/Plus16.stories.js +1 -1
- package/es/icon/line/Plus16.stories.js.map +1 -1
- package/es/icon/line/Power16.stories.js +1 -1
- package/es/icon/line/Power16.stories.js.map +1 -1
- package/es/icon/line/Question16.stories.js +1 -1
- package/es/icon/line/Question16.stories.js.map +1 -1
- package/es/icon/line/Redo16.stories.js +1 -1
- package/es/icon/line/Redo16.stories.js.map +1 -1
- package/es/icon/line/Relay16.stories.js +1 -1
- package/es/icon/line/Relay16.stories.js.map +1 -1
- package/es/icon/line/Report16.stories.js +1 -1
- package/es/icon/line/Report16.stories.js.map +1 -1
- package/es/icon/line/Retry16.stories.js +1 -1
- package/es/icon/line/Retry16.stories.js.map +1 -1
- package/es/icon/line/Rocket16.stories.js +1 -1
- package/es/icon/line/Rocket16.stories.js.map +1 -1
- package/es/icon/line/RotatingArrows16.stories.js +1 -1
- package/es/icon/line/RotatingArrows16.stories.js.map +1 -1
- package/es/icon/line/Sharrow16.stories.js +1 -1
- package/es/icon/line/Sharrow16.stories.js.map +1 -1
- package/es/icon/line/Shield16.stories.js +1 -1
- package/es/icon/line/Shield16.stories.js.map +1 -1
- package/es/icon/line/Sign16.stories.js +1 -1
- package/es/icon/line/Sign16.stories.js.map +1 -1
- package/es/icon/line/SignTinycon16.stories.js +1 -1
- package/es/icon/line/SignTinycon16.stories.js.map +1 -1
- package/es/icon/line/Star16.stories.js +1 -1
- package/es/icon/line/Star16.stories.js.map +1 -1
- package/es/icon/line/SyncArrows16.stories.js +1 -1
- package/es/icon/line/SyncArrows16.stories.js.map +1 -1
- package/es/icon/line/Template16.stories.js +1 -1
- package/es/icon/line/Template16.stories.js.map +1 -1
- package/es/icon/line/TextLeft16.stories.js +1 -1
- package/es/icon/line/TextLeft16.stories.js.map +1 -1
- package/es/icon/line/Tool16.stories.js +1 -1
- package/es/icon/line/Tool16.stories.js.map +1 -1
- package/es/icon/line/Trash16.stories.js +1 -1
- package/es/icon/line/Trash16.stories.js.map +1 -1
- package/es/icon/line/TriangleAlert16.stories.js +1 -1
- package/es/icon/line/TriangleAlert16.stories.js.map +1 -1
- package/es/icon/line/Undo16.stories.js +1 -1
- package/es/icon/line/Undo16.stories.js.map +1 -1
- package/es/icon/line/Unlock16.stories.js +1 -1
- package/es/icon/line/Unlock16.stories.js.map +1 -1
- package/es/icon/line/Upload16.stories.js +1 -1
- package/es/icon/line/Upload16.stories.js.map +1 -1
- package/es/icon/line/Video16.stories.js +1 -1
- package/es/icon/line/Video16.stories.js.map +1 -1
- package/es/icon/line/View16.stories.js +1 -1
- package/es/icon/line/View16.stories.js.map +1 -1
- package/es/icon/line/XBadge16.stories.js +1 -1
- package/es/icon/line/XBadge16.stories.js.map +1 -1
- package/es/icon/logo/AccountBilling32.stories.js +1 -1
- package/es/icon/logo/AccountBilling32.stories.js.map +1 -1
- package/es/icon/logo/AdminFaq32.stories.js +1 -1
- package/es/icon/logo/AdminFaq32.stories.js.map +1 -1
- package/es/icon/logo/AdminReferences32.stories.js +1 -1
- package/es/icon/logo/AdminReferences32.stories.js.map +1 -1
- package/es/icon/logo/AdobeAcrobat32.stories.js +1 -1
- package/es/icon/logo/AdobeAcrobat32.stories.js.map +1 -1
- package/es/icon/logo/Apps32.stories.js +1 -1
- package/es/icon/logo/Apps32.stories.js.map +1 -1
- package/es/icon/logo/BoxAiLogo.stories.js +1 -1
- package/es/icon/logo/BoxAiLogo.stories.js.map +1 -1
- package/es/icon/logo/BoxLogo.stories.js +1 -1
- package/es/icon/logo/BoxLogo.stories.js.map +1 -1
- package/es/icon/logo/BoxSign28.stories.js +1 -1
- package/es/icon/logo/BoxSign28.stories.js.map +1 -1
- package/es/icon/logo/BoxSign32.stories.js +1 -1
- package/es/icon/logo/BoxSign32.stories.js.map +1 -1
- package/es/icon/logo/ContentSharing32.stories.js +1 -1
- package/es/icon/logo/ContentSharing32.stories.js.map +1 -1
- package/es/icon/logo/CustomSetup32.stories.js +1 -1
- package/es/icon/logo/CustomSetup32.stories.js.map +1 -1
- package/es/icon/logo/DeviceTrust32.stories.js +1 -1
- package/es/icon/logo/DeviceTrust32.stories.js.map +1 -1
- package/es/icon/logo/HelpArticle32.stories.js +1 -1
- package/es/icon/logo/HelpArticle32.stories.js.map +1 -1
- package/es/icon/logo/HowToGuides32.stories.js +1 -1
- package/es/icon/logo/HowToGuides32.stories.js.map +1 -1
- package/es/icon/logo/IconBoxApp512.stories.js +1 -1
- package/es/icon/logo/IconBoxApp512.stories.js.map +1 -1
- package/es/icon/logo/KeynoteForMac32.stories.js +1 -1
- package/es/icon/logo/KeynoteForMac32.stories.js.map +1 -1
- package/es/icon/logo/ManageContent32.stories.js +1 -1
- package/es/icon/logo/ManageContent32.stories.js.map +1 -1
- package/es/icon/logo/ManageUsers32.stories.js +1 -1
- package/es/icon/logo/ManageUsers32.stories.js.map +1 -1
- package/es/icon/logo/Mobile32.stories.js +1 -1
- package/es/icon/logo/Mobile32.stories.js.map +1 -1
- package/es/icon/logo/Notifications32.stories.js +1 -1
- package/es/icon/logo/Notifications32.stories.js.map +1 -1
- package/es/icon/logo/NumbersForMac32.stories.js +1 -1
- package/es/icon/logo/NumbersForMac32.stories.js.map +1 -1
- package/es/icon/logo/PagesForMac32.stories.js +1 -1
- package/es/icon/logo/PagesForMac32.stories.js.map +1 -1
- package/es/icon/logo/Reporting32.stories.js +1 -1
- package/es/icon/logo/Reporting32.stories.js.map +1 -1
- package/es/icon/logo/Security32.stories.js +1 -1
- package/es/icon/logo/Security32.stories.js.map +1 -1
- package/es/icon/logo/TroubleShootingTools32.stories.js +1 -1
- package/es/icon/logo/TroubleShootingTools32.stories.js.map +1 -1
- package/es/icon/logo/UserSettings32.stories.js +1 -1
- package/es/icon/logo/UserSettings32.stories.js.map +1 -1
- package/es/icons/collections/IconCollections.stories.js +1 -1
- package/es/icons/collections/IconCollections.stories.js.map +1 -1
- package/es/icons/collections/IconCollectionsAdd.stories.js +1 -1
- package/es/icons/collections/IconCollectionsAdd.stories.js.map +1 -1
- package/es/icons/collections/IconCollectionsBolt.stories.js +1 -1
- package/es/icons/collections/IconCollectionsBolt.stories.js.map +1 -1
- package/es/icons/collections/IconCollectionsFilled.stories.js +1 -1
- package/es/icons/collections/IconCollectionsFilled.stories.js.map +1 -1
- package/es/icons/collections/IconCollectionsStar.stories.js +1 -1
- package/es/icons/collections/IconCollectionsStar.stories.js.map +1 -1
- package/es/icons/collections/IconCollectionsStarFilled.stories.js +1 -1
- package/es/icons/collections/IconCollectionsStarFilled.stories.js.map +1 -1
- package/es/icons/collections/collections.stories.js +1 -1
- package/es/icons/collections/collections.stories.js.map +1 -1
- package/es/icons/icons.stories.js +1 -1
- package/es/icons/icons.stories.js.map +1 -1
- package/es/icons/two-toned/IconAnnotation.js +1 -1
- package/es/icons/two-toned/IconAnnotation.js.map +1 -1
- package/es/illustration/AllNewBox140.stories.js +1 -1
- package/es/illustration/AllNewBox140.stories.js.map +1 -1
- package/es/illustration/AppSupport140.stories.js +1 -1
- package/es/illustration/AppSupport140.stories.js.map +1 -1
- package/es/illustration/Bell140.stories.js +1 -1
- package/es/illustration/Bell140.stories.js.map +1 -1
- package/es/illustration/BoxDrive140.stories.js +1 -1
- package/es/illustration/BoxDrive140.stories.js.map +1 -1
- package/es/illustration/BoxMobile140.stories.js +1 -1
- package/es/illustration/BoxMobile140.stories.js.map +1 -1
- package/es/illustration/BudgetApproval56.stories.js +1 -1
- package/es/illustration/BudgetApproval56.stories.js.map +1 -1
- package/es/illustration/Certificate56.stories.js +1 -1
- package/es/illustration/Certificate56.stories.js.map +1 -1
- package/es/illustration/CertificateSigning56.stories.js +1 -1
- package/es/illustration/CertificateSigning56.stories.js.map +1 -1
- package/es/illustration/ChangeOrder56.stories.js +1 -1
- package/es/illustration/ChangeOrder56.stories.js.map +1 -1
- package/es/illustration/Clock140.stories.js +1 -1
- package/es/illustration/Clock140.stories.js.map +1 -1
- package/es/illustration/CollectionStar140.stories.js +1 -1
- package/es/illustration/CollectionStar140.stories.js.map +1 -1
- package/es/illustration/ContractorId56.stories.js +1 -1
- package/es/illustration/ContractorId56.stories.js.map +1 -1
- package/es/illustration/CreativeApproval56.stories.js +1 -1
- package/es/illustration/CreativeApproval56.stories.js.map +1 -1
- package/es/illustration/CreativeAssets56.stories.js +1 -1
- package/es/illustration/CreativeAssets56.stories.js.map +1 -1
- package/es/illustration/CustomApp56.stories.js +1 -1
- package/es/illustration/CustomApp56.stories.js.map +1 -1
- package/es/illustration/CustomSkill56.stories.js +1 -1
- package/es/illustration/CustomSkill56.stories.js.map +1 -1
- package/es/illustration/CustomTemplate56.stories.js +1 -1
- package/es/illustration/CustomTemplate56.stories.js.map +1 -1
- package/es/illustration/CustomerSupport140.stories.js +1 -1
- package/es/illustration/CustomerSupport140.stories.js.map +1 -1
- package/es/illustration/DiscoDanceParty140.stories.js +1 -1
- package/es/illustration/DiscoDanceParty140.stories.js.map +1 -1
- package/es/illustration/Discount140.stories.js +1 -1
- package/es/illustration/Discount140.stories.js.map +1 -1
- package/es/illustration/EmailVerification140.stories.js +1 -1
- package/es/illustration/EmailVerification140.stories.js.map +1 -1
- package/es/illustration/EmployeeId56.stories.js +1 -1
- package/es/illustration/EmployeeId56.stories.js.map +1 -1
- package/es/illustration/EmployeeReview56.stories.js +1 -1
- package/es/illustration/EmployeeReview56.stories.js.map +1 -1
- package/es/illustration/EmptyStateDetails.stories.js +1 -1
- package/es/illustration/EmptyStateDetails.stories.js.map +1 -1
- package/es/illustration/EmptyStateFolder140.stories.js +1 -1
- package/es/illustration/EmptyStateFolder140.stories.js.map +1 -1
- package/es/illustration/EmptyStatePreviewActivity140.stories.js +1 -1
- package/es/illustration/EmptyStatePreviewActivity140.stories.js.map +1 -1
- package/es/illustration/Envelope140.stories.js +1 -1
- package/es/illustration/Envelope140.stories.js.map +1 -1
- package/es/illustration/ErrorState404140.stories.js +1 -1
- package/es/illustration/ErrorState404140.stories.js.map +1 -1
- package/es/illustration/Files.stories.js +1 -1
- package/es/illustration/Files.stories.js.map +1 -1
- package/es/illustration/Files140.stories.js +1 -1
- package/es/illustration/Files140.stories.js.map +1 -1
- package/es/illustration/FinanceContract56.stories.js +1 -1
- package/es/illustration/FinanceContract56.stories.js.map +1 -1
- package/es/illustration/FolderArrow140.stories.js +1 -1
- package/es/illustration/FolderArrow140.stories.js.map +1 -1
- package/es/illustration/FolderFloat140.stories.js +1 -1
- package/es/illustration/FolderFloat140.stories.js.map +1 -1
- package/es/illustration/FolderPlane140.stories.js +1 -1
- package/es/illustration/FolderPlane140.stories.js.map +1 -1
- package/es/illustration/FolderStar140.stories.js +1 -1
- package/es/illustration/FolderStar140.stories.js.map +1 -1
- package/es/illustration/Gavel56.stories.js +1 -1
- package/es/illustration/Gavel56.stories.js.map +1 -1
- package/es/illustration/Handshake56.stories.js +1 -1
- package/es/illustration/Handshake56.stories.js.map +1 -1
- package/es/illustration/HandshakeAgreement56.stories.js +1 -1
- package/es/illustration/HandshakeAgreement56.stories.js.map +1 -1
- package/es/illustration/HatWand140.stories.js +1 -1
- package/es/illustration/HatWand140.stories.js.map +1 -1
- package/es/illustration/Keynote56.stories.js +1 -1
- package/es/illustration/Keynote56.stories.js.map +1 -1
- package/es/illustration/LegalContract56.stories.js +1 -1
- package/es/illustration/LegalContract56.stories.js.map +1 -1
- package/es/illustration/LegalFolder56.stories.js +1 -1
- package/es/illustration/LegalFolder56.stories.js.map +1 -1
- package/es/illustration/LimitedApp56.stories.js +1 -1
- package/es/illustration/LimitedApp56.stories.js.map +1 -1
- package/es/illustration/MarketingPlan56.stories.js +1 -1
- package/es/illustration/MarketingPlan56.stories.js.map +1 -1
- package/es/illustration/Megaphone140.stories.js +1 -1
- package/es/illustration/Megaphone140.stories.js.map +1 -1
- package/es/illustration/MetricsReview56.stories.js +1 -1
- package/es/illustration/MetricsReview56.stories.js.map +1 -1
- package/es/illustration/Microphone140.stories.js +1 -1
- package/es/illustration/Microphone140.stories.js.map +1 -1
- package/es/illustration/Missing140.stories.js +1 -1
- package/es/illustration/Missing140.stories.js.map +1 -1
- package/es/illustration/MoneyStack56.stories.js +1 -1
- package/es/illustration/MoneyStack56.stories.js.map +1 -1
- package/es/illustration/MonthlyReport56.stories.js +1 -1
- package/es/illustration/MonthlyReport56.stories.js.map +1 -1
- package/es/illustration/NotesStar140.stories.js +1 -1
- package/es/illustration/NotesStar140.stories.js.map +1 -1
- package/es/illustration/PlanSelection140.stories.js +1 -1
- package/es/illustration/PlanSelection140.stories.js.map +1 -1
- package/es/illustration/Playbook56.stories.js +1 -1
- package/es/illustration/Playbook56.stories.js.map +1 -1
- package/es/illustration/ProjectFolder56.stories.js +1 -1
- package/es/illustration/ProjectFolder56.stories.js.map +1 -1
- package/es/illustration/RecentFiles140.stories.js +1 -1
- package/es/illustration/RecentFiles140.stories.js.map +1 -1
- package/es/illustration/RelayPlanet140.stories.js +1 -1
- package/es/illustration/RelayPlanet140.stories.js.map +1 -1
- package/es/illustration/SalesContract56.stories.js +1 -1
- package/es/illustration/SalesContract56.stories.js.map +1 -1
- package/es/illustration/Sandbox140.stories.js +1 -1
- package/es/illustration/Sandbox140.stories.js.map +1 -1
- package/es/illustration/TaskList56.stories.js +1 -1
- package/es/illustration/TaskList56.stories.js.map +1 -1
- package/es/illustration/Transfers140.stories.js +1 -1
- package/es/illustration/Transfers140.stories.js.map +1 -1
- package/es/illustration/TrashEmpty140.stories.js +1 -1
- package/es/illustration/TrashEmpty140.stories.js.map +1 -1
- package/es/illustration/Unplugged140.stories.js +1 -1
- package/es/illustration/Unplugged140.stories.js.map +1 -1
- package/es/illustration/UploadCloud140.stories.js +1 -1
- package/es/illustration/UploadCloud140.stories.js.map +1 -1
- package/es/illustration/UserOrbit56.stories.js +1 -1
- package/es/illustration/UserOrbit56.stories.js.map +1 -1
- package/es/src/components/avatar/Avatar.d.ts +2 -2
- package/es/src/components/avatar/Avatar.stories.d.ts +2 -2
- package/es/src/components/badge/Badge.d.ts +1 -1
- package/es/src/components/badge/types.d.ts +1 -1
- package/es/src/components/badgeable/Badgeable.d.ts +1 -1
- package/es/src/components/button/Button.d.ts +1 -1
- package/es/src/components/checkbox/CheckboxField.d.ts +1 -1
- package/es/src/components/close-button/CloseButton.d.ts +2 -2
- package/es/src/components/close-button/CloseButton.stories.d.ts +2 -2
- package/es/src/components/count-badge/CountBadge.d.ts +1 -1
- package/es/src/components/date-picker/DatePicker.d.ts +9 -9
- package/es/src/components/date-picker/DatePicker.stories.d.ts +2 -2
- package/es/src/components/footer-indicator/FooterIndicator.d.ts +1 -1
- package/es/src/components/ghost/Ghost.d.ts +2 -2
- package/es/src/components/ghost/Ghost.stories.d.ts +3 -3
- package/es/src/components/guide-tooltip/GuideTooltip.d.ts +2 -2
- package/es/src/components/header/Header.d.ts +1 -1
- package/es/src/components/image-tooltip/ImageTooltip.d.ts +2 -2
- package/es/src/components/image-tooltip/ImageTooltipContent.d.ts +2 -2
- package/es/src/components/label/HiddenLabel.d.ts +3 -1
- package/es/src/components/label/Label.d.ts +3 -1
- package/es/src/components/label/Label.stories.d.ts +1 -1
- package/es/src/components/label/LabelPrimitive.d.ts +3 -1
- package/es/src/components/label/StandardLabel.d.ts +3 -1
- package/es/src/components/loading-indicator/makeLoadable.d.ts +1 -1
- package/es/src/components/media/Media.d.ts +2 -2
- package/es/src/components/media/MediaMenu.d.ts +2 -2
- package/es/src/components/media/stories/Media.stories.d.ts +2 -2
- package/es/src/components/media/stories/MediaMenu.stories.d.ts +2 -2
- package/es/src/components/menu/Menu.d.ts +1 -1
- package/es/src/components/menu/MenuContext.d.ts +1 -1
- package/es/src/components/plain-button/index.d.ts +1 -1
- package/es/src/components/preview/PreviewLoading.d.ts +1 -1
- package/es/src/components/preview/PreviewLoadingRing.d.ts +1 -1
- package/es/src/components/preview/previewIcons.d.ts +7 -3
- package/es/src/components/radio/RadioButtonField.d.ts +1 -1
- package/es/src/components/radio/RadioGroup.d.ts +1 -1
- package/es/src/components/radio/RadioGroupField.d.ts +1 -1
- package/es/src/components/search-form/SearchActions.d.ts +16 -0
- package/es/src/components/search-form/messages.d.ts +18 -0
- package/es/src/components/time-input/TimeInput.d.ts +3 -3
- package/es/src/components/time-input/TimeInput.stories.d.ts +2 -2
- package/es/src/components/time-input/TimeInputUtils.d.ts +2 -2
- package/es/src/components/tooltip/CloseButton.d.ts +3 -3
- package/es/src/components/tooltip/Tooltip.d.ts +10 -10
- package/es/src/components/tooltip/index.d.ts +1 -1
- package/es/src/elements/common/annotator-context/types.d.ts +2 -2
- package/es/src/elements/common/annotator-context/withAnnotations.d.ts +5 -5
- package/es/src/elements/common/current-user/withCurrentUser.d.ts +4 -4
- package/es/src/elements/common/nav-router/NavRouter.d.ts +1 -1
- package/es/src/elements/common/nav-router/types.d.ts +1 -1
- package/es/src/elements/content-preview/PreviewMask.d.ts +1 -1
- package/es/src/elements/content-sidebar/SidebarNavSignButton.d.ts +24 -4
- package/es/src/elements/content-sidebar/activity-feed/ActivityCard.d.ts +1 -1
- package/es/src/elements/content-sidebar/activity-feed/SelectableActivityCard.d.ts +1 -1
- package/es/src/elements/content-sidebar/activity-feed/activity-feed/ActivityItem.d.ts +1 -1
- package/es/src/elements/content-sidebar/activity-feed/annotations/AnnotationActivityLink.d.ts +3 -3
- package/es/src/elements/content-sidebar/activity-feed/common/activity-datestamp/ActivityDatestamp.d.ts +2 -2
- package/es/src/elements/content-sidebar/activity-feed/illustrations/ActivityFeedEmptyStateIllustration.d.ts +1 -1
- package/es/src/features/content-answers/Answer.d.ts +7 -0
- package/es/src/features/content-answers/ContentAnswers.d.ts +10 -0
- package/es/src/features/content-answers/ContentAnswersGridCard.d.ts +7 -0
- package/es/src/features/content-answers/ContentAnswersModal.d.ts +10 -0
- package/es/src/features/content-answers/ContentAnswersModalContent.d.ts +11 -0
- package/es/src/features/content-answers/ContentAnswersModalError.d.ts +3 -0
- package/es/src/features/content-answers/ContentAnswersModalFooter.d.ts +18 -0
- package/es/src/features/content-answers/ContentAnswersModalFooterActions.d.ts +7 -0
- package/es/src/features/content-answers/ContentAnswersOpenButton.d.ts +16 -0
- package/es/src/features/content-answers/InlineError.d.ts +3 -0
- package/es/src/features/content-answers/LoadingElement.d.ts +3 -0
- package/es/src/features/content-answers/Question.d.ts +8 -0
- package/es/src/features/content-answers/WelcomeMessage.d.ts +6 -0
- package/es/src/features/content-answers/__mocks__/mocks.d.ts +23 -0
- package/es/src/features/content-answers/__tests__/Answer.test.d.ts +1 -0
- package/es/src/features/content-answers/__tests__/ContentAnswers.test.d.ts +1 -0
- package/es/src/features/content-answers/__tests__/ContentAnswersGridCard.test.d.ts +1 -0
- package/es/src/features/content-answers/__tests__/ContentAnswersModal.test.d.ts +1 -0
- package/es/src/features/content-answers/__tests__/ContentAnswersModalContent.test.d.ts +1 -0
- package/es/src/features/content-answers/__tests__/ContentAnswersModalError.test.d.ts +1 -0
- package/es/src/features/content-answers/__tests__/ContentAnswersModalFooter.test.d.ts +1 -0
- package/es/src/features/content-answers/__tests__/ContentAnswersModalFooterActions.d.ts +1 -0
- package/es/src/features/content-answers/__tests__/ContentAnswersOpenButton.test.d.ts +1 -0
- package/es/src/features/content-answers/__tests__/InlineError.test.d.ts +1 -0
- package/es/src/features/content-answers/__tests__/Question.test.d.ts +1 -0
- package/es/src/features/content-answers/__tests__/WelcomeMessage.test.d.ts +1 -0
- package/es/src/features/content-answers/constants.d.ts +7 -0
- package/es/src/features/content-answers/index.d.ts +1 -0
- package/es/src/features/content-answers/messages.d.ts +83 -0
- package/es/src/features/content-insights/CompactCount.d.ts +2 -2
- package/es/src/features/content-insights/GraphCardPreviewsSummary.d.ts +2 -2
- package/es/src/features/content-insights/MetricSummary.d.ts +2 -2
- package/es/src/features/content-insights/TrendPill.d.ts +2 -2
- package/es/src/features/content-insights/charts/bar/BarChart.d.ts +1 -1
- package/es/src/features/content-insights/charts/types.d.ts +2 -2
- package/es/src/features/content-insights/constants.d.ts +30 -18
- package/es/src/features/content-insights/types.d.ts +9 -9
- package/es/src/features/presence/PresenceAvatarList.d.ts +2 -2
- package/es/src/features/presence/PresenceAvatarTooltipContent.d.ts +15 -3
- package/es/src/features/sandbox-banner/SandboxBanner.d.ts +1 -1
- package/es/src/icons/file/IconFileBase.d.ts +1 -1
- package/es/styles/colors.stories.js +1 -1
- package/es/styles/colors.stories.js.map +1 -1
- package/es/styles/common/_buttons.scss +1 -1
- package/es/styles/constants/_buttons.scss +1 -0
- package/es/styles/typography.stories.js +1 -1
- package/es/styles/typography.stories.js.map +1 -1
- package/es/utils/Browser.js +11 -0
- package/es/utils/Browser.js.flow +10 -0
- package/es/utils/Browser.js.map +1 -1
- package/es/utils/comparator.js +1 -1
- package/es/utils/comparator.js.flow +1 -1
- package/es/utils/comparator.js.map +1 -1
- package/es/utils/createTheme.stories.js +1 -1
- package/es/utils/createTheme.stories.js.flow +1 -1
- package/es/utils/createTheme.stories.js.map +1 -1
- package/es/utils/fields.js +3 -3
- package/es/utils/fields.js.flow +3 -0
- package/es/utils/fields.js.map +1 -1
- package/es/utils/flatten.js +1 -1
- package/es/utils/flatten.js.flow +6 -1
- package/es/utils/flatten.js.map +1 -1
- package/es/utils/size.js +5 -5
- package/es/utils/size.js.flow +5 -5
- package/es/utils/size.js.map +1 -1
- package/es/utils/sorter.js +1 -1
- package/es/utils/sorter.js.flow +1 -1
- package/es/utils/sorter.js.map +1 -1
- package/flow-typed/box-ui-elements.js +1 -0
- package/i18n/bn-IN.js +19 -1
- package/i18n/bn-IN.properties +38 -2
- package/i18n/da-DK.js +19 -1
- package/i18n/da-DK.properties +38 -2
- package/i18n/de-DE.js +19 -1
- package/i18n/de-DE.properties +38 -2
- package/i18n/en-AU.js +19 -1
- package/i18n/en-AU.properties +38 -2
- package/i18n/en-CA.js +19 -1
- package/i18n/en-CA.properties +38 -2
- package/i18n/en-GB.js +19 -1
- package/i18n/en-GB.properties +38 -2
- package/i18n/en-US.js +19 -1
- package/i18n/en-US.properties +38 -2
- package/i18n/en-x-pseudo.js +943 -926
- package/i18n/en-x-pseudo.properties +962 -926
- package/i18n/es-419.js +19 -1
- package/i18n/es-419.properties +38 -2
- package/i18n/es-ES.js +19 -1
- package/i18n/es-ES.properties +38 -2
- package/i18n/fi-FI.js +19 -1
- package/i18n/fi-FI.properties +38 -2
- package/i18n/fr-CA.js +19 -1
- package/i18n/fr-CA.properties +38 -2
- package/i18n/fr-FR.js +19 -1
- package/i18n/fr-FR.properties +38 -2
- package/i18n/hi-IN.js +19 -1
- package/i18n/hi-IN.properties +38 -2
- package/i18n/it-IT.js +19 -1
- package/i18n/it-IT.properties +38 -2
- package/i18n/ja-JP.js +29 -11
- package/i18n/ja-JP.properties +48 -12
- package/i18n/ko-KR.js +19 -1
- package/i18n/ko-KR.properties +38 -2
- package/i18n/nb-NO.js +19 -1
- package/i18n/nb-NO.properties +38 -2
- package/i18n/nl-NL.js +19 -1
- package/i18n/nl-NL.properties +38 -2
- package/i18n/pl-PL.js +19 -1
- package/i18n/pl-PL.properties +38 -2
- package/i18n/pt-BR.js +19 -1
- package/i18n/pt-BR.properties +38 -2
- package/i18n/ru-RU.js +19 -1
- package/i18n/ru-RU.properties +38 -2
- package/i18n/sv-SE.js +19 -1
- package/i18n/sv-SE.properties +38 -2
- package/i18n/tr-TR.js +19 -1
- package/i18n/tr-TR.properties +38 -2
- package/i18n/zh-CN.js +19 -1
- package/i18n/zh-CN.properties +38 -2
- package/i18n/zh-TW.js +19 -1
- package/i18n/zh-TW.properties +38 -2
- package/package.json +48 -36
- package/src/api/APIFactory.js +25 -0
- package/src/api/Feed.js +8 -4
- package/src/api/Intelligence.js +47 -0
- package/src/api/__tests__/Intelligence.test.js +81 -0
- package/src/api/__tests__/Item.test.js +1 -1
- package/src/api/uploads/__tests__/BaseUpload.test.js +5 -5
- package/src/api/uploads/__tests__/FolderUpload.test.js +1 -1
- package/src/api/uploads/__tests__/FolderUploadNode.test.js +1 -1
- package/src/api/uploads/__tests__/MultiputUpload.test.js +1 -1
- package/src/common/types/core.js +1 -0
- package/src/components/accessible-svg/AccessibleSVG.stories.tsx +1 -1
- package/src/components/avatar/Avatar.stories.tsx +1 -1
- package/src/components/badge/Badge.stories.tsx +1 -1
- package/src/components/badge/BetaBadge.stories.tsx +1 -1
- package/src/components/badge/TrialBadge.stories.tsx +1 -1
- package/src/components/badge/UpgradeBadge.stories.tsx +1 -1
- package/src/components/breadcrumb/Breadcrumb.stories.js +1 -1
- package/src/components/button/Button.stories.tsx +1 -1
- package/src/components/button-group/ButtonGroup.stories.tsx +1 -1
- package/src/components/category-selector/CategorySelector.stories.tsx +1 -1
- package/src/components/checkbox/Checkbox.stories.tsx +1 -1
- package/src/components/close-button/CloseButton.stories.tsx +1 -1
- package/src/components/collapsible/Collapsible.stories.tsx +1 -1
- package/src/components/collapsible/__tests__/__snapshots__/Collapsible.test.tsx.snap +14 -14
- package/src/components/contact-datalist-item/ContactDatalistItem.stories.tsx +1 -1
- package/src/components/context-menu/ContextMenu.stories.tsx +1 -1
- package/src/components/count-badge/CountBadge.stories.tsx +1 -1
- package/src/components/datalist-item/DatalistItem.stories.tsx +1 -1
- package/src/components/date-picker/DatePicker.stories.tsx +1 -1
- package/src/components/draft-js-editor/DraftJSEditor.stories.js +1 -1
- package/src/components/draggable-list/DraggableList.stories.tsx +1 -1
- package/src/components/dropdown-menu/DropdownMenu.stories.js +1 -1
- package/src/components/error-mask/ErrorMask.stories.tsx +1 -1
- package/src/components/fieldset/Fieldset.stories.tsx +1 -1
- package/src/components/flyout/Flyout.stories.tsx +1 -1
- package/src/components/flyout/OverlayHeader.tsx +1 -1
- package/src/components/footer-indicator/FooterIndicator.stories.tsx +1 -1
- package/src/components/form-elements/form/Form.stories.js +1 -1
- package/src/components/form-elements/formik/Formik.stories.js +1 -1
- package/src/components/form-elements/text-area/TextArea.stories.js +1 -1
- package/src/components/form-elements/text-input/TextInput.stories.js +1 -1
- package/src/components/ghost/Ghost.stories.tsx +1 -1
- package/src/components/grid-view/__tests__/__snapshots__/GridView.test.js.snap +4 -4
- package/src/components/guide-tooltip/GuideTooltip.stories.tsx +1 -1
- package/src/components/header/Header.stories.tsx +1 -1
- package/src/components/image-tooltip/ImageTooltip.stories.tsx +1 -1
- package/src/components/inline-error/InlineError.stories.js +1 -1
- package/src/components/inline-notice/InlineNotice.stories.js +1 -1
- package/src/components/label/HiddenLabel.js.flow +3 -2
- package/src/components/label/HiddenLabel.tsx +4 -2
- package/src/components/label/Label.js.flow +5 -3
- package/src/components/label/Label.stories.tsx +1 -1
- package/src/components/label/Label.tsx +18 -3
- package/src/components/label/LabelPrimitive.js.flow +3 -2
- package/src/components/label/LabelPrimitive.tsx +4 -2
- package/src/components/label/StandardLabel.js.flow +3 -2
- package/src/components/label/StandardLabel.tsx +4 -2
- package/src/components/label/__tests__/__snapshots__/Label.test.tsx.snap +2 -2
- package/src/components/label/__tests__/__snapshots__/StandardLabel.test.tsx.snap +1 -1
- package/src/components/label-pill/LabelPill.stories.tsx +1 -1
- package/src/components/link/stories/Link.stories.tsx +2 -1
- package/src/components/link/stories/LinkButton.stories.tsx +3 -1
- package/src/components/link/stories/LinkGroup.stories.tsx +1 -1
- package/src/components/link/stories/LinkPrimaryButton.stories.tsx +2 -1
- package/src/components/loading-indicator/LoadingIndicator.stories.tsx +1 -1
- package/src/components/loading-indicator/LoadingIndicatorWrapper.stories.tsx +1 -1
- package/src/components/loading-indicator/makeLoadable.tsx +2 -4
- package/src/components/logo/Logo.stories.tsx +1 -1
- package/src/components/media/stories/Media.stories.tsx +1 -1
- package/src/components/media/stories/MediaBody.stories.tsx +1 -1
- package/src/components/media/stories/MediaFigure.stories.tsx +1 -1
- package/src/components/media/stories/MediaMenu.stories.tsx +1 -1
- package/src/components/media-query/stories/MediaQuery.stories.js +1 -1
- package/src/components/menu/stories/Menu.stories.tsx +1 -1
- package/src/components/menu/stories/SelectMenuLinkItem.stories.tsx +1 -1
- package/src/components/modal/Modal.scss +62 -69
- package/src/components/modal/stories/Modal.stories.js +1 -1
- package/src/components/modal/stories/ModalActions.stories.js +1 -1
- package/src/components/modal/stories/ModalDialog.stories.js +1 -1
- package/src/components/nav-sidebar/NavSidebar.stories.js +1 -1
- package/src/components/notification/stories/Notification.stories.js +1 -1
- package/src/components/notification/stories/NotificationsWrapper.stories.js +1 -1
- package/src/components/nudge/Nudge.stories.tsx +1 -1
- package/src/components/pill-cloud/PillCloud.stories.js +1 -1
- package/src/components/pill-selector-dropdown/PillSelector.js +10 -2
- package/src/components/pill-selector-dropdown/PillSelector.scss +4 -0
- package/src/components/pill-selector-dropdown/PillSelectorDropdown.stories.js +1 -1
- package/src/components/pill-selector-dropdown/__tests__/PillSelector.test.js +21 -0
- package/src/components/pill-selector-dropdown/__tests__/__snapshots__/PillSelector.test.js.snap +1 -1
- package/src/components/pill-selector-dropdown/__tests__/__snapshots__/PillSelectorDropdown.test.js.snap +1 -1
- package/src/components/pill-selector-dropdown/__tests__/__snapshots__/PillSelectorDropdownField.test.js.snap +12 -12
- package/src/components/pill-selector-dropdown/__tests__/__snapshots__/defaultDropdownRenderer.test.js.snap +1 -1
- package/src/components/plain-button/PlainButton.stories.tsx +1 -1
- package/src/components/plain-button/__tests__/__snapshots__/PlainButton.test.tsx.snap +4 -4
- package/src/components/primary-button/PrimaryButton.stories.tsx +1 -1
- package/src/components/radar/RadarAnimation.stories.tsx +1 -1
- package/src/components/radar/__tests__/__snapshots__/RadarAnimation.test.tsx.snap +20 -20
- package/src/components/radio/stories/RadioButton.stories.tsx +1 -1
- package/src/components/radio/stories/RadioGroup.stories.tsx +1 -1
- package/src/components/search-form/SearchActions.tsx +50 -0
- package/src/components/search-form/SearchForm.js +10 -54
- package/src/components/search-form/__tests__/SearchForm.test.js +9 -5
- package/src/components/search-form/messages.ts +21 -0
- package/src/components/section/Section.stories.tsx +1 -1
- package/src/components/select/Select.stories.js +1 -1
- package/src/components/select-button/SelectButton.stories.js +1 -1
- package/src/components/select-field/__tests__/__snapshots__/BaseSelectField.test.js.snap +1 -1
- package/src/components/selector-dropdown/SelectorDropdown.stories.js +1 -1
- package/src/components/sidebar-toggle-button/SidebarToggleButton.stories.js +1 -1
- package/src/components/sidebar-toggle-button/__tests__/__snapshots__/SidebarToggleButton.test.js.snap +12 -12
- package/src/components/tab-view/TabView.stories.js +1 -1
- package/src/components/text-area/__tests__/__snapshots__/TextArea.test.js.snap +3 -3
- package/src/components/text-input/TextInput.stories.js +1 -1
- package/src/components/text-input-with-copy-button/TextInputWithCopyButton.js +9 -4
- package/src/components/text-input-with-copy-button/TextInputWithCopyButton.stories.js +1 -1
- package/src/components/thumbnail-card/ThumbnailCard.stories.js +1 -1
- package/src/components/time/ReadableTime.stories.js +1 -1
- package/src/components/time-input/TimeInput.stories.tsx +1 -1
- package/src/components/toggle/Toggle.stories.js +1 -1
- package/src/components/tooltip/Tooltip.stories.tsx +1 -1
- package/src/components/tooltip/__tests__/__snapshots__/Tooltip.test.tsx.snap +14 -14
- package/src/constants.js +1 -0
- package/src/elements/common/_variables.scss +1 -0
- package/src/elements/common/current-user/withCurrentUser.tsx +1 -0
- package/src/elements/common/feature-checking/__tests__/withFeatureProvider.test.js +25 -25
- package/src/elements/common/logger/__tests__/__snapshots__/Logger.test.js.snap +1 -1
- package/src/elements/common/selectors/__tests__/version.js +13 -11
- package/src/elements/common/selectors/version.js +2 -1
- package/src/elements/content-explorer/ContentExplorer.js +10 -4
- package/src/elements/content-explorer/MoreOptions.js +1 -1
- package/src/elements/content-explorer/PreviewDialog.js +0 -1
- package/src/elements/content-explorer/__tests__/ContentExplorer.test.js +60 -0
- package/src/elements/content-explorer/stories/ContentExplorer.stories.js +25 -36
- package/src/elements/content-explorer/stories/DeleteConfirmationDialog.stories.js +1 -1
- package/src/elements/content-explorer/stories/ShareDialog.stories.js +1 -1
- package/src/elements/content-open-with/__tests__/__snapshots__/BoxToolsInstallMessage.test.js.snap +2 -2
- package/src/elements/content-open-with/__tests__/__snapshots__/ContentOpenWith.test.js.snap +6 -6
- package/src/elements/content-open-with/__tests__/__snapshots__/OpenWithDropdownMenu.test.js.snap +1 -1
- package/src/elements/content-picker/ContentPicker.js +2 -2
- package/src/elements/content-picker/Footer.scss +6 -0
- package/src/elements/content-preview/ContentPreview.js +88 -64
- package/src/elements/content-preview/ContentPreview.scss +13 -28
- package/src/elements/content-preview/__tests__/ContentPreview.test.js +6 -5
- package/src/elements/content-preview/__tests__/__snapshots__/PreviewNavigation.test.js.snap +93 -93
- package/src/elements/content-preview/preview-header/PreviewHeader.js +6 -0
- package/src/elements/content-preview/preview-header/__tests__/PreviewHeader.test.js +25 -0
- package/src/elements/content-preview/stories/ContentPreview.stories.js +51 -81
- package/src/elements/content-sharing/stories/ContentSharing.stories.js +18 -84
- package/src/elements/content-sidebar/ActivitySidebar.js +2 -2
- package/src/elements/content-sidebar/ContentSidebar.scss +9 -9
- package/src/elements/content-sidebar/SidebarContent.scss +6 -8
- package/src/elements/content-sidebar/SidebarNav.scss +22 -20
- package/src/elements/content-sidebar/SidebarNavButton.scss +12 -14
- package/src/elements/content-sidebar/SidebarNavSignButton.scss +6 -8
- package/src/elements/content-sidebar/__tests__/ActivitySidebar.test.js +8 -4
- package/src/elements/content-sidebar/__tests__/__snapshots__/ActivitySidebar.test.js.snap +5 -5
- package/src/elements/content-sidebar/__tests__/__snapshots__/DetailsSidebar.test.js.snap +9 -9
- package/src/elements/content-sidebar/__tests__/__snapshots__/MetadataSidebar.test.js.snap +6 -6
- package/src/elements/content-sidebar/__tests__/__snapshots__/SidebarAccessStats.test.js.snap +12 -12
- package/src/elements/content-sidebar/__tests__/__snapshots__/SidebarClassification.test.js.snap +3 -3
- package/src/elements/content-sidebar/__tests__/__snapshots__/SidebarFileProperties.test.js.snap +10 -10
- package/src/elements/content-sidebar/__tests__/__snapshots__/SidebarNotices.test.js.snap +2 -2
- package/src/elements/content-sidebar/__tests__/__snapshots__/SkillsSidebar.test.js.snap +3 -3
- package/src/elements/content-sidebar/__tests__/__snapshots__/TaskModal.test.js.snap +15 -15
- package/src/elements/content-sidebar/activity-feed/__tests__/__snapshots__/Avatar.test.js.snap +1 -1
- package/src/elements/content-sidebar/activity-feed/activity-feed/ActiveState.js +20 -2
- package/src/elements/content-sidebar/activity-feed/activity-feed/ActivityFeed.js +7 -6
- package/src/elements/content-sidebar/activity-feed/activity-feed/ActivityFeed.scss +6 -4
- package/src/elements/content-sidebar/activity-feed/activity-feed/ActivityItem.scss +2 -2
- package/src/elements/content-sidebar/activity-feed/activity-feed/__tests__/ActiveState.test.js +36 -0
- package/src/elements/content-sidebar/activity-feed/activity-feed/__tests__/__snapshots__/ActiveState.test.js.snap +35 -35
- package/src/elements/content-sidebar/activity-feed/activity-feed/stories/ActivityFeed.stories.js +70 -0
- package/src/elements/content-sidebar/activity-feed/annotation-thread/AnnotationThreadContent.js +2 -2
- package/src/elements/content-sidebar/activity-feed/annotation-thread/__tests__/useAnnotationThread.test.js +4 -2
- package/src/elements/content-sidebar/activity-feed/annotation-thread/useAnnotationThread.js +3 -7
- package/src/elements/content-sidebar/activity-feed/annotations/AnnotationActivity.js +3 -3
- package/src/elements/content-sidebar/activity-feed/app-activity/__tests__/__snapshots__/AppActivity.test.js.snap +2 -2
- package/src/elements/content-sidebar/activity-feed/comment/BaseComment.js +59 -166
- package/src/elements/content-sidebar/activity-feed/comment/BaseComment.scss +34 -12
- package/src/elements/content-sidebar/activity-feed/comment/CreateReply.js +5 -4
- package/src/elements/content-sidebar/activity-feed/comment/Replies.scss +4 -2
- package/src/elements/content-sidebar/activity-feed/comment/__tests__/BaseComment.test.js +18 -6
- package/src/elements/content-sidebar/activity-feed/comment/__tests__/CreateReply.test.js +12 -0
- package/src/elements/content-sidebar/activity-feed/comment/__tests__/Replies.test.js +25 -1
- package/src/elements/content-sidebar/activity-feed/comment/__tests__/__snapshots__/Comment.test.js.snap +8 -8
- package/src/elements/content-sidebar/activity-feed/comment/components/BaseCommentInfo.js +72 -0
- package/src/elements/content-sidebar/activity-feed/comment/components/BaseCommentInfo.scss +38 -0
- package/src/elements/content-sidebar/activity-feed/comment/components/BaseCommentMenu.js +125 -0
- package/src/elements/content-sidebar/activity-feed/comment/components/BaseCommentMenu.scss +4 -0
- package/src/elements/content-sidebar/activity-feed/comment/components/BaseCommentMenuWrapper.js +91 -0
- package/src/elements/content-sidebar/activity-feed/comment/components/__tests__/BaseCommentInfo.test.js +51 -0
- package/src/elements/content-sidebar/activity-feed/comment/components/__tests__/BaseCommentMenu.test.js +85 -0
- package/src/elements/content-sidebar/activity-feed/comment/components/stories/BaseCommentInfo.stories.js +25 -0
- package/src/elements/content-sidebar/activity-feed/comment/components/stories/BaseCommentMenu.stories.js +26 -0
- package/src/elements/content-sidebar/activity-feed/comment/components/stories/common.js +28 -0
- package/src/elements/content-sidebar/activity-feed/comment/messages.js +5 -5
- package/src/elements/content-sidebar/activity-feed/comment/stories/BaseComment.stories.js +1 -1
- package/src/elements/content-sidebar/activity-feed/comment/stories/common.js +1 -1
- package/src/elements/content-sidebar/activity-feed/comment/types.js +13 -0
- package/src/elements/content-sidebar/activity-feed/comment-form/CommentForm.js +11 -3
- package/src/elements/content-sidebar/activity-feed/comment-form/__tests__/CommentForm.test.js +37 -21
- package/src/elements/content-sidebar/activity-feed/common/activity-timestamp/__tests__/__snapshots__/ActivityTimestamp.test.js.snap +1 -1
- package/src/elements/content-sidebar/activity-feed/common/delete-confirmation/DeleteConfirmation.js +2 -0
- package/src/elements/content-sidebar/activity-feed/common/delete-confirmation/DeleteConfirmation.scss +1 -1
- package/src/elements/content-sidebar/activity-feed/task-form/__tests__/__snapshots__/TaskError.test.js.snap +10 -10
- package/src/elements/content-sidebar/activity-feed/task-new/Task.js +7 -2
- package/src/elements/content-sidebar/activity-feed/task-new/__tests__/__snapshots__/AssigneeDetails.test.js.snap +9 -9
- package/src/elements/content-sidebar/activity-feed/task-new/__tests__/__snapshots__/Task.test.js.snap +30 -21
- package/src/elements/content-sidebar/activity-feed/task-new/__tests__/__snapshots__/TaskDueDate.test.js.snap +1 -1
- package/src/elements/content-sidebar/activity-feed/task-new/messages.js +10 -0
- package/src/elements/content-sidebar/activity-feed/version/__tests__/__snapshots__/CollapsedVersion.test.js.snap +2 -2
- package/src/elements/content-sidebar/additional-tabs/__tests__/__snapshots__/AdditionalTabsLoading.test.js.snap +1 -1
- package/src/elements/content-sidebar/skills/__tests__/__snapshots__/SidebarSkills.test.js.snap +208 -208
- package/src/elements/content-sidebar/skills/__tests__/__snapshots__/SidebarSkillsCard.test.js.snap +5 -5
- package/src/elements/content-sidebar/skills/faces/__tests__/__snapshots__/Faces.test.js.snap +23 -23
- package/src/elements/content-sidebar/skills/keywords/__tests__/__snapshots__/EditableKeywords.test.js.snap +3 -3
- package/src/elements/content-sidebar/skills/keywords/__tests__/__snapshots__/Keywords.test.js.snap +15 -15
- package/src/elements/content-sidebar/skills/keywords/__tests__/__snapshots__/ReadOnlyKeywords.test.js.snap +8 -8
- package/src/elements/content-sidebar/skills/timeline/__tests__/__snapshots__/Timeslice.test.js.snap +3 -3
- package/src/elements/content-sidebar/skills/transcript/__tests__/__snapshots__/EditingTranscriptRow.test.js.snap +2 -10
- package/src/elements/content-sidebar/stories/ContentSidebar.stories.js +19 -28
- package/src/elements/content-sidebar/versions/VersionsItem.scss +6 -0
- package/src/elements/content-sidebar/versions/__tests__/VersionsItem.test.js +3 -0
- package/src/elements/content-sidebar/versions/__tests__/__snapshots__/VersionsItem.test.js.snap +3 -3
- package/src/elements/content-sidebar/versions/__tests__/__snapshots__/VersionsSidebar.test.js.snap +2 -2
- package/src/elements/content-sidebar/versions/__tests__/__snapshots__/VersionsSidebarContainer.test.js.snap +5 -5
- package/src/elements/content-uploader/ItemName.scss +1 -1
- package/src/elements/content-uploader/ProgressBar.scss +4 -0
- package/src/elements/content-uploader/__tests__/__snapshots__/UploadStateContent.test.js.snap +1 -1
- package/src/elements/content-uploader/stories/ContentUploader.stories.js +7 -11
- package/src/features/access-stats/__tests__/__snapshots__/AccessStats.test.js.snap +30 -30
- package/src/features/access-stats/__tests__/__snapshots__/AccessStatsItemsList.test.js.snap +14 -14
- package/src/features/classification/__tests__/__snapshots__/Classification.test.js.snap +5 -5
- package/src/features/classification/security-controls/__tests__/__snapshots__/SecurityControls.test.js.snap +17 -17
- package/src/features/classification/security-controls/__tests__/__snapshots__/SecurityControlsModal.test.js.snap +6 -6
- package/src/features/collaborator-avatars/CollaboratorList.scss +11 -1
- package/src/features/collaborator-avatars/__tests__/__snapshots__/CollaboratorList.test.js.snap +10 -10
- package/src/features/collaborator-avatars/__tests__/__snapshots__/CollaboratorListItem.test.js.snap +3 -3
- package/src/features/collapsible-sidebar/CollapsibleSidebar.stories.js +1 -1
- package/src/features/collapsible-sidebar/__tests__/__snapshots__/CollapsibleSidebarLogo.test.js.snap +2 -2
- package/src/features/collapsible-sidebar/__tests__/__snapshots__/CollapsibleSidebarNav.test.js.snap +24 -24
- package/src/features/content-answers/Answer.scss +4 -0
- package/src/features/content-answers/Answer.tsx +22 -0
- package/src/features/content-answers/ContentAnswers.tsx +60 -0
- package/src/features/content-answers/ContentAnswersGridCard.scss +26 -0
- package/src/features/content-answers/ContentAnswersGridCard.tsx +27 -0
- package/src/features/content-answers/ContentAnswersModal.scss +56 -0
- package/src/features/content-answers/ContentAnswersModal.tsx +136 -0
- package/src/features/content-answers/ContentAnswersModalContent.scss +12 -0
- package/src/features/content-answers/ContentAnswersModalContent.tsx +64 -0
- package/src/features/content-answers/ContentAnswersModalError.scss +28 -0
- package/src/features/content-answers/ContentAnswersModalError.tsx +32 -0
- package/src/features/content-answers/ContentAnswersModalFooter.scss +42 -0
- package/src/features/content-answers/ContentAnswersModalFooter.tsx +103 -0
- package/src/features/content-answers/ContentAnswersModalFooterActions.scss +17 -0
- package/src/features/content-answers/ContentAnswersModalFooterActions.tsx +45 -0
- package/src/features/content-answers/ContentAnswersOpenButton.scss +54 -0
- package/src/features/content-answers/ContentAnswersOpenButton.tsx +74 -0
- package/src/features/content-answers/InlineError.scss +39 -0
- package/src/features/content-answers/InlineError.tsx +32 -0
- package/src/features/content-answers/LoadingElement.scss +4 -0
- package/src/features/content-answers/LoadingElement.tsx +17 -0
- package/src/features/content-answers/Question.scss +16 -0
- package/src/features/content-answers/Question.tsx +30 -0
- package/src/features/content-answers/WelcomeMessage.scss +25 -0
- package/src/features/content-answers/WelcomeMessage.tsx +35 -0
- package/src/features/content-answers/__mocks__/mocks.ts +66 -0
- package/src/features/content-answers/__tests__/Answer.test.tsx +25 -0
- package/src/features/content-answers/__tests__/ContentAnswers.test.tsx +53 -0
- package/src/features/content-answers/__tests__/ContentAnswersGridCard.test.tsx +21 -0
- package/src/features/content-answers/__tests__/ContentAnswersModal.test.tsx +117 -0
- package/src/features/content-answers/__tests__/ContentAnswersModalContent.test.tsx +104 -0
- package/src/features/content-answers/__tests__/ContentAnswersModalError.test.tsx +26 -0
- package/src/features/content-answers/__tests__/ContentAnswersModalFooter.test.tsx +96 -0
- package/src/features/content-answers/__tests__/ContentAnswersModalFooterActions.tsx +37 -0
- package/src/features/content-answers/__tests__/ContentAnswersOpenButton.test.tsx +73 -0
- package/src/features/content-answers/__tests__/InlineError.test.tsx +20 -0
- package/src/features/content-answers/__tests__/Question.test.tsx +21 -0
- package/src/features/content-answers/__tests__/WelcomeMessage.test.tsx +24 -0
- package/src/features/content-answers/constants.ts +134 -0
- package/src/features/content-answers/index.ts +1 -0
- package/src/features/content-answers/messages.ts +87 -0
- package/src/features/content-explorer/content-explorer/ContentExplorer.js +19 -15
- package/src/features/content-explorer/content-explorer/ContentExplorer.scss +4 -0
- package/src/features/content-explorer/content-explorer/ContentExplorerBreadcrumbs.js +2 -0
- package/src/features/content-explorer/content-explorer/__tests__/ContentExplorer.test.js +29 -0
- package/src/features/content-explorer/content-explorer/__tests__/__snapshots__/ContentExplorer.test.js.snap +10 -10
- package/src/features/content-explorer/content-explorer/__tests__/__snapshots__/ContentExplorerHeaderActions.test.js.snap +1 -1
- package/src/features/content-explorer/content-explorer-modal/ContentExplorerModal.js +1 -0
- package/src/features/content-explorer/content-explorer-modal/__tests__/__snapshots__/ContentExplorerModal.test.js.snap +10 -10
- package/src/features/content-explorer/content-explorer-modal-container/ContentExplorerModalContainer.js +2 -0
- package/src/features/content-explorer/item-list/__tests__/__snapshots__/ItemListIcon.test.js.snap +4 -4
- package/src/features/header-flyout/__tests__/__snapshots__/HeaderFlyout.test.js.snap +3 -3
- package/src/features/invite-collaborators-modal/__tests__/__snapshots__/InviteCollaboratorsModal.test.js.snap +8 -8
- package/src/features/item-details/__tests__/__snapshots__/EditableDescription.test.js.snap +2 -8
- package/src/features/item-details/__tests__/__snapshots__/ItemExpirationNotice.test.js.snap +4 -4
- package/src/features/item-details/__tests__/__snapshots__/ItemProperties.test.js.snap +2 -2
- package/src/features/item-details/__tests__/__snapshots__/ReadonlyDescription.test.js.snap +2 -2
- package/src/features/item-details/__tests__/__snapshots__/SharedLinkExpirationNotice.test.js.snap +2 -2
- package/src/features/item-details/__tests__/__snapshots__/VersionHistoryLink.test.js.snap +2 -2
- package/src/features/left-sidebar/__tests__/__snapshots__/InstantLogin.test.js.snap +2 -2
- package/src/features/left-sidebar/__tests__/__snapshots__/LeftSidebar.test.js.snap +21 -21
- package/src/features/left-sidebar/__tests__/__snapshots__/LeftSidebarLink.test.js.snap +14 -14
- package/src/features/left-sidebar/__tests__/__snapshots__/defaultNavLinkRenderer.test.js.snap +1 -1
- package/src/features/message-center/components/templates/common/__tests__/__snapshots__/MessageTextContent.test.js.snap +2 -2
- package/src/features/message-center/components/templates/preview-title-body-tags-button/__tests__/__snapshots__/PreviewTitleBodyTagsButton.test.js.snap +4 -4
- package/src/features/message-center/components/templates/title-body-tags-button/__tests__/__snapshots__/TitleBodyTagsButton.test.js.snap +4 -4
- package/src/features/metadata-based-view/__tests__/__snapshots__/IconWithTooltip.test.js.snap +3 -3
- package/src/features/metadata-based-view/__tests__/__snapshots__/MetadataBasedItemList.test.js.snap +21 -21
- package/src/features/metadata-instance-editor/__tests__/__snapshots__/Header.test.js.snap +3 -3
- package/src/features/metadata-instance-editor/__tests__/__snapshots__/Instance.test.js.snap +204 -204
- package/src/features/metadata-instance-editor/__tests__/__snapshots__/Instances.test.js.snap +37 -37
- package/src/features/metadata-instance-editor/__tests__/__snapshots__/MetadataInstanceEditor.test.js.snap +229 -229
- package/src/features/metadata-instance-editor/__tests__/__snapshots__/TemplateDropdown.test.js.snap +7 -7
- package/src/features/metadata-instance-editor/__tests__/__snapshots__/TemplatedInstance.test.js.snap +17 -17
- package/src/features/metadata-instance-fields/__tests__/__snapshots__/DateMetadataField.test.js.snap +1 -1
- package/src/features/metadata-instance-fields/__tests__/__snapshots__/EnumMetadataField.test.js.snap +10 -10
- package/src/features/metadata-instance-fields/__tests__/__snapshots__/MetadataField.test.js.snap +1 -1
- package/src/features/metadata-instance-fields/__tests__/__snapshots__/MultiSelectMetadataField.test.js.snap +4 -4
- package/src/features/pagination/Pagination.scss +0 -4
- package/src/features/pagination/__tests__/__snapshots__/MarkerBasedPagination.test.js.snap +8 -8
- package/src/features/pagination/__tests__/__snapshots__/OffsetBasedPagination.test.js.snap +34 -34
- package/src/features/pagination/__tests__/__snapshots__/PaginationMenu.test.js.snap +3 -3
- package/src/features/presence/__tests__/__snapshots__/Presence.test.js.snap +49 -49
- package/src/features/presence/__tests__/__snapshots__/PresenceLink.test.js.snap +24 -24
- package/src/features/query-bar/__tests__/__snapshots__/ColumnButton.test.js.snap +6 -6
- package/src/features/query-bar/__tests__/__snapshots__/Condition.test.js.snap +10 -10
- package/src/features/query-bar/__tests__/__snapshots__/QueryBar.test.js.snap +41 -41
- package/src/features/query-bar/__tests__/__snapshots__/TemplateButton.test.js.snap +2 -2
- package/src/features/sandbox-banner/SandboxBanner.stories.tsx +1 -1
- package/src/features/security/__tests__/__snapshots__/SecurityBadge.test.js.snap +2 -2
- package/src/features/security-cloud-game/stories/SecurityCloudGame.stories.js +1 -1
- package/src/features/shared-link-modal/__tests__/__snapshots__/AccessLabel.test.js.snap +1 -1
- package/src/features/shared-link-modal/__tests__/__snapshots__/SharedLink.test.js.snap +5 -5
- package/src/features/shared-link-modal/__tests__/__snapshots__/SharedLinkAccess.test.js.snap +4 -4
- package/src/features/shared-link-modal/__tests__/__snapshots__/SharedLinkModal.test.js.snap +1 -1
- package/src/features/shared-link-modal/stories/SharedLink.stories.js +1 -1
- package/src/features/shared-link-modal/stories/SharedLinkModal.stories.js +1 -1
- package/src/features/shared-link-settings-modal/SharedLinkSettingsModal.stories.js +1 -1
- package/src/features/targeting/hocs/__tests__/__snapshots__/withTargetedClickThrough.test.js.snap +1 -1
- package/src/features/targeting/hocs/withTargetedClickThrough.js +10 -1
- package/src/features/targeting/types.js +1 -0
- package/src/features/unified-share-modal/UnifiedShareModal.scss +61 -79
- package/src/features/unified-share-modal/__tests__/__snapshots__/ContactsField.test.js.snap +23 -23
- package/src/features/unified-share-modal/__tests__/__snapshots__/EmailForm.test.js.snap +28 -28
- package/src/features/unified-share-modal/__tests__/__snapshots__/SharedLinkAccessDescription.test.js.snap +8 -8
- package/src/features/unified-share-modal/__tests__/__snapshots__/SharedLinkAccessLabel.test.js.snap +10 -10
- package/src/features/unified-share-modal/__tests__/__snapshots__/SharedLinkSection.test.js.snap +54 -54
- package/src/features/unified-share-modal/__tests__/__snapshots__/UnifiedShareForm.test.js.snap +250 -250
- package/src/features/unified-share-modal/__tests__/__snapshots__/UnifiedShareModal.test.js.snap +409 -409
- package/src/features/unified-share-modal/__tests__/__snapshots__/UnifiedShareModalTitle.test.js.snap +1 -1
- package/src/features/unified-share-modal/stories/UnifiedShareModal.stories.js +1 -1
- package/src/features/virtualized-table/DraggableVirtualizedTable.stories.js +1 -1
- package/src/features/virtualized-table/__tests__/__snapshots__/BaseVirtualizedTable.test.js.snap +5 -5
- package/src/features/virtualized-table/__tests__/__snapshots__/DraggableVirtualizedTable.test.js.snap +7 -7
- package/src/features/virtualized-table/__tests__/__snapshots__/VirtualizedTable.test.js.snap +19 -19
- package/src/features/virtualized-table-renderers/__tests__/__snapshots__/loadingRowRenderer.test.js.snap +1 -1
- package/src/features/virtualized-table-renderers/__tests__/draggableRowRenderer.test.js +5 -5
- package/src/icon/content/ContentSharing32.stories.tsx +1 -1
- package/src/icon/content/CustomSetup32.stories.tsx +1 -1
- package/src/icon/content/DeviceTrust32.stories.tsx +1 -1
- package/src/icon/content/FileAudio32.stories.tsx +1 -1
- package/src/icon/content/FileBookmark32.stories.tsx +1 -1
- package/src/icon/content/FileBoxNote32.stories.tsx +1 -1
- package/src/icon/content/FileCanvas32.stories.tsx +1 -1
- package/src/icon/content/FileCode32.stories.tsx +1 -1
- package/src/icon/content/FileDefault32.stories.tsx +1 -1
- package/src/icon/content/FileDicom32.stories.tsx +1 -1
- package/src/icon/content/FileDocs32.stories.tsx +1 -1
- package/src/icon/content/FileDwg32.stories.tsx +1 -1
- package/src/icon/content/FileExcel32.stories.tsx +1 -1
- package/src/icon/content/FileIllustrator32.stories.tsx +1 -1
- package/src/icon/content/FileImage32.stories.tsx +1 -1
- package/src/icon/content/FileIndesign32.stories.tsx +1 -1
- package/src/icon/content/FileKeynote32.stories.tsx +1 -1
- package/src/icon/content/FileNumbers32.stories.tsx +1 -1
- package/src/icon/content/FilePages32.stories.tsx +1 -1
- package/src/icon/content/FilePdf32.stories.tsx +1 -1
- package/src/icon/content/FilePhotoshop32.stories.tsx +1 -1
- package/src/icon/content/FilePowerpoint32.stories.tsx +1 -1
- package/src/icon/content/FilePresentation32.stories.tsx +1 -1
- package/src/icon/content/FileSheets32.stories.tsx +1 -1
- package/src/icon/content/FileSlides32.stories.tsx +1 -1
- package/src/icon/content/FileSpreadsheet32.stories.tsx +1 -1
- package/src/icon/content/FileText32.stories.tsx +1 -1
- package/src/icon/content/FileThreeD32.stories.tsx +1 -1
- package/src/icon/content/FileUpload32.stories.tsx +1 -1
- package/src/icon/content/FileVector32.stories.tsx +1 -1
- package/src/icon/content/FileVideo32.stories.tsx +1 -1
- package/src/icon/content/FileWord32.stories.tsx +1 -1
- package/src/icon/content/FileXbd32.stories.tsx +1 -1
- package/src/icon/content/FileXdw32.stories.tsx +1 -1
- package/src/icon/content/FileZip32.stories.tsx +1 -1
- package/src/icon/content/FolderExternal32.stories.tsx +1 -1
- package/src/icon/content/FolderPersonal32.stories.tsx +1 -1
- package/src/icon/content/FolderShared32.stories.tsx +1 -1
- package/src/icon/content/FolderUpload32.stories.tsx +1 -1
- package/src/icon/content/Mobile32.stories.tsx +1 -1
- package/src/icon/content/Notifications32.stories.tsx +1 -1
- package/src/icon/content/PlatformCam32.stories.tsx +1 -1
- package/src/icon/content/PlatformSandbox32.stories.tsx +1 -1
- package/src/icon/content/RetentionPolicyModifiable32.stories.tsx +1 -1
- package/src/icon/content/RetentionPolicyNonModifiable32.stories.tsx +1 -1
- package/src/icon/content/Security32.stories.tsx +1 -1
- package/src/icon/content/SignRequest32.stories.tsx +1 -1
- package/src/icon/content/UserSettings32.stories.tsx +1 -1
- package/src/icon/content/Workflow32.stories.tsx +1 -1
- package/src/icon/content/WorkflowTemplate32.stories.tsx +1 -1
- package/src/icon/fill/Activity16.stories.tsx +1 -1
- package/src/icon/fill/Activity20.stories.tsx +1 -1
- package/src/icon/fill/Alert16.stories.tsx +1 -1
- package/src/icon/fill/AlertBadge16.stories.tsx +1 -1
- package/src/icon/fill/AnnotationsDrawing16.stories.tsx +1 -1
- package/src/icon/fill/AnnotationsHighlight16.stories.tsx +1 -1
- package/src/icon/fill/AnnotationsRegion16.stories.tsx +1 -1
- package/src/icon/fill/Apps16.stories.tsx +1 -1
- package/src/icon/fill/Arrow16.stories.tsx +1 -1
- package/src/icon/fill/ArrowArcRight.stories.tsx +1 -1
- package/src/icon/fill/ArrowForward16.stories.tsx +1 -1
- package/src/icon/fill/ArrowSort16.stories.tsx +1 -1
- package/src/icon/fill/AvatarBadge16.stories.tsx +1 -1
- package/src/icon/fill/BarChart16.stories.tsx +1 -1
- package/src/icon/fill/BoxDev16.stories.tsx +1 -1
- package/src/icon/fill/BoxNotes16.stories.tsx +1 -1
- package/src/icon/fill/Calendar16.stories.tsx +1 -1
- package/src/icon/fill/Caret8.stories.tsx +1 -1
- package/src/icon/fill/CaretBadge16.stories.tsx +1 -1
- package/src/icon/fill/Checkmark16.stories.tsx +1 -1
- package/src/icon/fill/CheckmarkBadge16.stories.tsx +1 -1
- package/src/icon/fill/CircleBackButton24.stories.tsx +1 -1
- package/src/icon/fill/CircleCloseButton24.stories.tsx +1 -1
- package/src/icon/fill/Classify16.stories.tsx +1 -1
- package/src/icon/fill/ClearBadge16.stories.tsx +1 -1
- package/src/icon/fill/ClockBadge16.stories.tsx +1 -1
- package/src/icon/fill/CloudUpload16.stories.tsx +1 -1
- package/src/icon/fill/Code16.stories.tsx +1 -1
- package/src/icon/fill/Collection16.stories.tsx +1 -1
- package/src/icon/fill/CollectionBolt16.stories.tsx +1 -1
- package/src/icon/fill/CollectionPlus16.stories.tsx +1 -1
- package/src/icon/fill/CollectionStar16.stories.tsx +1 -1
- package/src/icon/fill/CreditCard16.stories.tsx +1 -1
- package/src/icon/fill/Download16.stories.tsx +1 -1
- package/src/icon/fill/EmailNotification16.stories.tsx +1 -1
- package/src/icon/fill/ExportArrow16.stories.tsx +1 -1
- package/src/icon/fill/Feed16.stories.tsx +1 -1
- package/src/icon/fill/FileAudio16.stories.tsx +1 -1
- package/src/icon/fill/FileBookmark16.stories.tsx +1 -1
- package/src/icon/fill/FileBoxNote16.stories.tsx +1 -1
- package/src/icon/fill/FileCanvas16.stories.tsx +1 -1
- package/src/icon/fill/FileCode16.stories.tsx +1 -1
- package/src/icon/fill/FileCopy16.stories.tsx +1 -1
- package/src/icon/fill/FileDefault16.stories.tsx +1 -1
- package/src/icon/fill/FileDicom16.stories.tsx +1 -1
- package/src/icon/fill/FileDocs16.stories.tsx +1 -1
- package/src/icon/fill/FileDwg16.stories.tsx +1 -1
- package/src/icon/fill/FileExcel16.stories.tsx +1 -1
- package/src/icon/fill/FileIllustrator16.stories.tsx +1 -1
- package/src/icon/fill/FileImage16.stories.tsx +1 -1
- package/src/icon/fill/FileIndesign16.stories.tsx +1 -1
- package/src/icon/fill/FileKeynote16.stories.tsx +1 -1
- package/src/icon/fill/FileNumbers16.stories.tsx +1 -1
- package/src/icon/fill/FilePages16.stories.tsx +1 -1
- package/src/icon/fill/FilePdf16.stories.tsx +1 -1
- package/src/icon/fill/FilePhotoshop16.stories.tsx +1 -1
- package/src/icon/fill/FilePowerpoint16.stories.tsx +1 -1
- package/src/icon/fill/FilePresentation16.stories.tsx +1 -1
- package/src/icon/fill/FileSheets16.stories.tsx +1 -1
- package/src/icon/fill/FileSlides16.stories.tsx +1 -1
- package/src/icon/fill/FileSpreadsheet16.stories.tsx +1 -1
- package/src/icon/fill/FileText16.stories.tsx +1 -1
- package/src/icon/fill/FileThreeD16.stories.tsx +1 -1
- package/src/icon/fill/FileVector16.stories.tsx +1 -1
- package/src/icon/fill/FileVideo16.stories.tsx +1 -1
- package/src/icon/fill/FileWord16.stories.tsx +1 -1
- package/src/icon/fill/FileZip16.stories.tsx +1 -1
- package/src/icon/fill/Filter16.stories.tsx +1 -1
- package/src/icon/fill/Folder16.stories.tsx +1 -1
- package/src/icon/fill/FolderExternal16.stories.tsx +1 -1
- package/src/icon/fill/FolderPersonal16.stories.tsx +1 -1
- package/src/icon/fill/FolderShared16.stories.tsx +1 -1
- package/src/icon/fill/Gear16.stories.tsx +1 -1
- package/src/icon/fill/GlobeBadge16.stories.tsx +1 -1
- package/src/icon/fill/Hamburger20.stories.tsx +1 -1
- package/src/icon/fill/Help20.stories.tsx +1 -1
- package/src/icon/fill/InProgress16.stories.tsx +1 -1
- package/src/icon/fill/Info16.stories.tsx +1 -1
- package/src/icon/fill/InfoBadge16.stories.tsx +1 -1
- package/src/icon/fill/LightningBolt16.stories.tsx +1 -1
- package/src/icon/fill/Lock16.stories.tsx +1 -1
- package/src/icon/fill/Megaphone20.stories.tsx +1 -1
- package/src/icon/fill/Minus16.stories.tsx +1 -1
- package/src/icon/fill/Move16.stories.tsx +1 -1
- package/src/icon/fill/MoveCopy16.stories.tsx +1 -1
- package/src/icon/fill/Overflow16.stories.tsx +1 -1
- package/src/icon/fill/PaperAirplane16.stories.tsx +1 -1
- package/src/icon/fill/Pencil16.stories.tsx +1 -1
- package/src/icon/fill/Picture16.stories.tsx +1 -1
- package/src/icon/fill/Plus16.stories.tsx +1 -1
- package/src/icon/fill/PlusBadge16.stories.tsx +1 -1
- package/src/icon/fill/PointerChevronDown24.stories.tsx +1 -1
- package/src/icon/fill/Printer16.stories.tsx +1 -1
- package/src/icon/fill/Relay16.stories.tsx +1 -1
- package/src/icon/fill/RelayClassic16.stories.tsx +1 -1
- package/src/icon/fill/Ribbon16.stories.tsx +1 -1
- package/src/icon/fill/Scribble16.stories.tsx +1 -1
- package/src/icon/fill/Search16.stories.tsx +1 -1
- package/src/icon/fill/Sign16.stories.tsx +1 -1
- package/src/icon/fill/SignFieldCheckBox16.stories.tsx +1 -1
- package/src/icon/fill/SignFieldSignature16.stories.tsx +1 -1
- package/src/icon/fill/SignFieldTextInput16.stories.tsx +1 -1
- package/src/icon/fill/SignMe32.stories.tsx +1 -1
- package/src/icon/fill/SignMeOthers32.stories.tsx +1 -1
- package/src/icon/fill/SignOthers32.stories.tsx +1 -1
- package/src/icon/fill/Skills16.stories.tsx +1 -1
- package/src/icon/fill/Tag16.stories.tsx +1 -1
- package/src/icon/fill/Task16.stories.tsx +1 -1
- package/src/icon/fill/Trash16.stories.tsx +1 -1
- package/src/icon/fill/TwoPeople16.stories.tsx +1 -1
- package/src/icon/fill/Upload16.stories.tsx +1 -1
- package/src/icon/fill/UserSettings16.stories.tsx +1 -1
- package/src/icon/fill/Workflow16.stories.tsx +1 -1
- package/src/icon/fill/X16.stories.tsx +1 -1
- package/src/icon/line/AlarmClock16.stories.tsx +1 -1
- package/src/icon/line/AlertBubble16.stories.tsx +1 -1
- package/src/icon/line/Apps16.stories.tsx +1 -1
- package/src/icon/line/ArrowBoxRight16.stories.tsx +1 -1
- package/src/icon/line/Avatar16.stories.tsx +1 -1
- package/src/icon/line/AvatarBadge16.stories.tsx +1 -1
- package/src/icon/line/AvatarPlusBadge16.stories.tsx +1 -1
- package/src/icon/line/AvatarXBadge16.stories.tsx +1 -1
- package/src/icon/line/BoxAi.stories.tsx +1 -1
- package/src/icon/line/BoxDev16.stories.tsx +1 -1
- package/src/icon/line/Bug16.stories.tsx +1 -1
- package/src/icon/line/Checkmark16.stories.tsx +1 -1
- package/src/icon/line/CheckmarkBadge16.stories.tsx +1 -1
- package/src/icon/line/CircleCheck16.stories.tsx +1 -1
- package/src/icon/line/CircleX16.stories.tsx +1 -1
- package/src/icon/line/ClassificationBadge16.stories.tsx +1 -1
- package/src/icon/line/ClockArrow16.stories.tsx +1 -1
- package/src/icon/line/ClockBadge16.stories.tsx +1 -1
- package/src/icon/line/CloudWithArrow16.stories.tsx +1 -1
- package/src/icon/line/CoAuthoringBadge16.stories.tsx +1 -1
- package/src/icon/line/CoEdit16.stories.tsx +1 -1
- package/src/icon/line/Collaborations16.stories.tsx +1 -1
- package/src/icon/line/Collection16.stories.tsx +1 -1
- package/src/icon/line/CollectionBolt16.stories.tsx +1 -1
- package/src/icon/line/CollectionPlus16.stories.tsx +1 -1
- package/src/icon/line/CollectionStar16.stories.tsx +1 -1
- package/src/icon/line/CommentBubble16.stories.tsx +1 -1
- package/src/icon/line/CrosshairRegion32.stories.tsx +1 -1
- package/src/icon/line/DocInfo16.stories.tsx +1 -1
- package/src/icon/line/Download16.stories.tsx +1 -1
- package/src/icon/line/Email16.stories.tsx +1 -1
- package/src/icon/line/EmailAddress16.stories.tsx +1 -1
- package/src/icon/line/EnvelopeBadge16.stories.tsx +1 -1
- package/src/icon/line/ExclamationMarkBadge16.stories.tsx +1 -1
- package/src/icon/line/ExportArrow16.stories.tsx +1 -1
- package/src/icon/line/FileDescription16.stories.tsx +1 -1
- package/src/icon/line/Folder16.stories.tsx +1 -1
- package/src/icon/line/Gear16.stories.tsx +1 -1
- package/src/icon/line/GenericCopy16.stories.tsx +1 -1
- package/src/icon/line/GlobeBadge16.stories.tsx +1 -1
- package/src/icon/line/Help16.stories.tsx +1 -1
- package/src/icon/line/Hidden16.stories.tsx +1 -1
- package/src/icon/line/History16.stories.tsx +1 -1
- package/src/icon/line/InfoBadge16.stories.tsx +1 -1
- package/src/icon/line/Key16.stories.tsx +1 -1
- package/src/icon/line/Link16.stories.tsx +1 -1
- package/src/icon/line/LinkBadge16.stories.tsx +1 -1
- package/src/icon/line/List16.stories.tsx +1 -1
- package/src/icon/line/Lock16.stories.tsx +1 -1
- package/src/icon/line/LockBadge16.stories.tsx +1 -1
- package/src/icon/line/MetadataBadge16.stories.tsx +1 -1
- package/src/icon/line/MoveCopy16.stories.tsx +1 -1
- package/src/icon/line/Pencil16.stories.tsx +1 -1
- package/src/icon/line/PencilBadge16.stories.tsx +1 -1
- package/src/icon/line/Plane16.stories.tsx +1 -1
- package/src/icon/line/Plus16.stories.tsx +1 -1
- package/src/icon/line/Power16.stories.tsx +1 -1
- package/src/icon/line/Question16.stories.tsx +1 -1
- package/src/icon/line/Redo16.stories.tsx +1 -1
- package/src/icon/line/Relay16.stories.tsx +1 -1
- package/src/icon/line/Report16.stories.tsx +1 -1
- package/src/icon/line/Retry16.stories.tsx +1 -1
- package/src/icon/line/Rocket16.stories.tsx +1 -1
- package/src/icon/line/RotatingArrows16.stories.tsx +1 -1
- package/src/icon/line/Sharrow16.stories.tsx +1 -1
- package/src/icon/line/Shield16.stories.tsx +1 -1
- package/src/icon/line/Sign16.stories.tsx +1 -1
- package/src/icon/line/SignTinycon16.stories.tsx +1 -1
- package/src/icon/line/Star16.stories.tsx +1 -1
- package/src/icon/line/SyncArrows16.stories.tsx +1 -1
- package/src/icon/line/Template16.stories.tsx +1 -1
- package/src/icon/line/TextLeft16.stories.tsx +1 -1
- package/src/icon/line/Tool16.stories.tsx +1 -1
- package/src/icon/line/Trash16.stories.tsx +1 -1
- package/src/icon/line/TriangleAlert16.stories.tsx +1 -1
- package/src/icon/line/Undo16.stories.tsx +1 -1
- package/src/icon/line/Unlock16.stories.tsx +1 -1
- package/src/icon/line/Upload16.stories.tsx +1 -1
- package/src/icon/line/Video16.stories.tsx +1 -1
- package/src/icon/line/View16.stories.tsx +1 -1
- package/src/icon/line/XBadge16.stories.tsx +1 -1
- package/src/icon/logo/AccountBilling32.stories.tsx +1 -1
- package/src/icon/logo/AdminFaq32.stories.tsx +1 -1
- package/src/icon/logo/AdminReferences32.stories.tsx +1 -1
- package/src/icon/logo/AdobeAcrobat32.stories.tsx +1 -1
- package/src/icon/logo/Apps32.stories.tsx +1 -1
- package/src/icon/logo/BoxAiLogo.stories.tsx +1 -1
- package/src/icon/logo/BoxLogo.stories.tsx +1 -1
- package/src/icon/logo/BoxSign28.stories.tsx +1 -1
- package/src/icon/logo/BoxSign32.stories.tsx +1 -1
- package/src/icon/logo/ContentSharing32.stories.tsx +1 -1
- package/src/icon/logo/CustomSetup32.stories.tsx +1 -1
- package/src/icon/logo/DeviceTrust32.stories.tsx +1 -1
- package/src/icon/logo/HelpArticle32.stories.tsx +1 -1
- package/src/icon/logo/HowToGuides32.stories.tsx +1 -1
- package/src/icon/logo/IconBoxApp512.stories.tsx +1 -1
- package/src/icon/logo/KeynoteForMac32.stories.tsx +1 -1
- package/src/icon/logo/ManageContent32.stories.tsx +1 -1
- package/src/icon/logo/ManageUsers32.stories.tsx +1 -1
- package/src/icon/logo/Mobile32.stories.tsx +1 -1
- package/src/icon/logo/Notifications32.stories.tsx +1 -1
- package/src/icon/logo/NumbersForMac32.stories.tsx +1 -1
- package/src/icon/logo/PagesForMac32.stories.tsx +1 -1
- package/src/icon/logo/Reporting32.stories.tsx +1 -1
- package/src/icon/logo/Security32.stories.tsx +1 -1
- package/src/icon/logo/TroubleShootingTools32.stories.tsx +1 -1
- package/src/icon/logo/UserSettings32.stories.tsx +1 -1
- package/src/icons/collections/IconCollections.stories.tsx +1 -1
- package/src/icons/collections/IconCollectionsAdd.stories.tsx +1 -1
- package/src/icons/collections/IconCollectionsBolt.stories.tsx +1 -1
- package/src/icons/collections/IconCollectionsFilled.stories.tsx +1 -1
- package/src/icons/collections/IconCollectionsStar.stories.tsx +1 -1
- package/src/icons/collections/IconCollectionsStarFilled.stories.tsx +1 -1
- package/src/icons/collections/collections.stories.tsx +1 -1
- package/src/icons/icons.stories.tsx +1 -1
- package/src/icons/illustrations/__tests__/__snapshots__/PeopleOpeningEnvelopeIllustration.test.tsx.snap +6 -6
- package/src/icons/states/__tests__/__snapshots__/EnvelopeTrophyState.test.tsx.snap +6 -6
- package/src/icons/two-toned/IconAnnotation.tsx +1 -1
- package/src/illustration/AllNewBox140.stories.tsx +1 -1
- package/src/illustration/AppSupport140.stories.tsx +1 -1
- package/src/illustration/Bell140.stories.tsx +1 -1
- package/src/illustration/BoxDrive140.stories.tsx +1 -1
- package/src/illustration/BoxMobile140.stories.tsx +1 -1
- package/src/illustration/BudgetApproval56.stories.tsx +1 -1
- package/src/illustration/Certificate56.stories.tsx +1 -1
- package/src/illustration/CertificateSigning56.stories.tsx +1 -1
- package/src/illustration/ChangeOrder56.stories.tsx +1 -1
- package/src/illustration/Clock140.stories.tsx +1 -1
- package/src/illustration/CollectionStar140.stories.tsx +1 -1
- package/src/illustration/ContractorId56.stories.tsx +1 -1
- package/src/illustration/CreativeApproval56.stories.tsx +1 -1
- package/src/illustration/CreativeAssets56.stories.tsx +1 -1
- package/src/illustration/CustomApp56.stories.tsx +1 -1
- package/src/illustration/CustomSkill56.stories.tsx +1 -1
- package/src/illustration/CustomTemplate56.stories.tsx +1 -1
- package/src/illustration/CustomerSupport140.stories.tsx +1 -1
- package/src/illustration/DiscoDanceParty140.stories.tsx +1 -1
- package/src/illustration/Discount140.stories.tsx +1 -1
- package/src/illustration/EmailVerification140.stories.tsx +1 -1
- package/src/illustration/EmployeeId56.stories.tsx +1 -1
- package/src/illustration/EmployeeReview56.stories.tsx +1 -1
- package/src/illustration/EmptyStateDetails.stories.tsx +1 -1
- package/src/illustration/EmptyStateFolder140.stories.tsx +1 -1
- package/src/illustration/EmptyStatePreviewActivity140.stories.tsx +1 -1
- package/src/illustration/Envelope140.stories.tsx +1 -1
- package/src/illustration/ErrorState404140.stories.tsx +1 -1
- package/src/illustration/Files.stories.tsx +1 -1
- package/src/illustration/Files140.stories.tsx +1 -1
- package/src/illustration/FinanceContract56.stories.tsx +1 -1
- package/src/illustration/FolderArrow140.stories.tsx +1 -1
- package/src/illustration/FolderFloat140.stories.tsx +1 -1
- package/src/illustration/FolderPlane140.stories.tsx +1 -1
- package/src/illustration/FolderStar140.stories.tsx +1 -1
- package/src/illustration/Gavel56.stories.tsx +1 -1
- package/src/illustration/Handshake56.stories.tsx +1 -1
- package/src/illustration/HandshakeAgreement56.stories.tsx +1 -1
- package/src/illustration/HatWand140.stories.tsx +1 -1
- package/src/illustration/Keynote56.stories.tsx +1 -1
- package/src/illustration/LegalContract56.stories.tsx +1 -1
- package/src/illustration/LegalFolder56.stories.tsx +1 -1
- package/src/illustration/LimitedApp56.stories.tsx +1 -1
- package/src/illustration/MarketingPlan56.stories.tsx +1 -1
- package/src/illustration/Megaphone140.stories.tsx +1 -1
- package/src/illustration/MetricsReview56.stories.tsx +1 -1
- package/src/illustration/Microphone140.stories.tsx +1 -1
- package/src/illustration/Missing140.stories.tsx +1 -1
- package/src/illustration/MoneyStack56.stories.tsx +1 -1
- package/src/illustration/MonthlyReport56.stories.tsx +1 -1
- package/src/illustration/NotesStar140.stories.tsx +1 -1
- package/src/illustration/PlanSelection140.stories.tsx +1 -1
- package/src/illustration/Playbook56.stories.tsx +1 -1
- package/src/illustration/ProjectFolder56.stories.tsx +1 -1
- package/src/illustration/RecentFiles140.stories.tsx +1 -1
- package/src/illustration/RelayPlanet140.stories.tsx +1 -1
- package/src/illustration/SalesContract56.stories.tsx +1 -1
- package/src/illustration/Sandbox140.stories.tsx +1 -1
- package/src/illustration/TaskList56.stories.tsx +1 -1
- package/src/illustration/Transfers140.stories.tsx +1 -1
- package/src/illustration/TrashEmpty140.stories.tsx +1 -1
- package/src/illustration/Unplugged140.stories.tsx +1 -1
- package/src/illustration/UploadCloud140.stories.tsx +1 -1
- package/src/illustration/UserOrbit56.stories.tsx +1 -1
- package/src/styles/colors.stories.tsx +1 -1
- package/src/styles/common/_buttons.scss +1 -1
- package/src/styles/constants/_buttons.scss +1 -0
- package/src/styles/typography.stories.tsx +1 -1
- package/src/utils/Browser.js +10 -0
- package/src/utils/__tests__/Browser.test.js +28 -0
- package/src/utils/__tests__/__snapshots__/createTheme.test.js.snap +35 -35
- package/src/utils/__tests__/fields.test.js +2 -0
- package/src/utils/__tests__/webcrypto.test.js +10 -0
- package/src/utils/comparator.js +1 -1
- package/src/utils/createTheme.stories.js +1 -1
- package/src/utils/fields.js +3 -0
- package/src/utils/flatten.js +6 -1
- package/src/utils/size.js +5 -5
- package/src/utils/sorter.js +1 -1
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* [js-sha1]{@link https://github.com/emn178/js-sha1}
|
|
3
|
+
*
|
|
4
|
+
* @version 0.6.0
|
|
5
|
+
* @author Chen, Yi-Cyuan [emn178@gmail.com]
|
|
6
|
+
* @copyright Chen, Yi-Cyuan 2014-2017
|
|
7
|
+
* @license MIT
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
/*
|
|
11
|
+
object-assign
|
|
12
|
+
(c) Sindre Sorhus
|
|
13
|
+
@license MIT
|
|
14
|
+
*/
|
|
15
|
+
|
|
16
|
+
/*!
|
|
17
|
+
Copyright (c) 2015 Jed Watson.
|
|
18
|
+
Based on code that is Copyright 2013-2015, Facebook, Inc.
|
|
19
|
+
All rights reserved.
|
|
20
|
+
*/
|
|
21
|
+
|
|
22
|
+
/*!
|
|
23
|
+
Copyright (c) 2017 Jed Watson.
|
|
24
|
+
Licensed under the MIT License (MIT), see
|
|
25
|
+
http://jedwatson.github.io/classnames
|
|
26
|
+
*/
|
|
27
|
+
|
|
28
|
+
/*!
|
|
29
|
+
* Adapted from jQuery UI core
|
|
30
|
+
*
|
|
31
|
+
* http://jqueryui.com
|
|
32
|
+
*
|
|
33
|
+
* Copyright 2014 jQuery Foundation and other contributors
|
|
34
|
+
* Released under the MIT license.
|
|
35
|
+
* http://jquery.org/license
|
|
36
|
+
*
|
|
37
|
+
* http://api.jqueryui.com/category/ui-core/
|
|
38
|
+
*/
|
|
39
|
+
|
|
40
|
+
/*!
|
|
41
|
+
* Box UI Element
|
|
42
|
+
*
|
|
43
|
+
* Copyright 2019 Box, Inc. All rights reserved.
|
|
44
|
+
*
|
|
45
|
+
* This product includes software developed by Box, Inc. ("Box")
|
|
46
|
+
* (http://www.box.com)
|
|
47
|
+
*
|
|
48
|
+
* ALL BOX SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
|
|
49
|
+
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
|
50
|
+
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
|
51
|
+
* IN NO EVENT SHALL BOX BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
52
|
+
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
53
|
+
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
54
|
+
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
55
|
+
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
56
|
+
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
57
|
+
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
58
|
+
*
|
|
59
|
+
* See the Box license for the specific language governing permissions
|
|
60
|
+
* and limitations under the license.
|
|
61
|
+
*/
|
|
62
|
+
|
|
63
|
+
/*!
|
|
64
|
+
* jsUri
|
|
65
|
+
* https://github.com/derek-watson/jsUri
|
|
66
|
+
*
|
|
67
|
+
* Copyright 2013, Derek Watson
|
|
68
|
+
* Released under the MIT license.
|
|
69
|
+
*
|
|
70
|
+
* Includes parseUri regular expressions
|
|
71
|
+
* http://blog.stevenlevithan.com/archives/parseuri
|
|
72
|
+
* Copyright 2007, Steven Levithan
|
|
73
|
+
* Released under the MIT license.
|
|
74
|
+
*/
|
|
75
|
+
|
|
76
|
+
/*! tether 1.4.7 */
|
|
77
|
+
|
|
78
|
+
/** @license React v0.20.1
|
|
79
|
+
* scheduler.production.min.js
|
|
80
|
+
*
|
|
81
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
82
|
+
*
|
|
83
|
+
* This source code is licensed under the MIT license found in the
|
|
84
|
+
* LICENSE file in the root directory of this source tree.
|
|
85
|
+
*/
|
|
86
|
+
|
|
87
|
+
/** @license React v16.12.0
|
|
88
|
+
* react-is.production.min.js
|
|
89
|
+
*
|
|
90
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
91
|
+
*
|
|
92
|
+
* This source code is licensed under the MIT license found in the
|
|
93
|
+
* LICENSE file in the root directory of this source tree.
|
|
94
|
+
*/
|
|
95
|
+
|
|
96
|
+
/** @license React v17.0.1
|
|
97
|
+
* react-dom.production.min.js
|
|
98
|
+
*
|
|
99
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
100
|
+
*
|
|
101
|
+
* This source code is licensed under the MIT license found in the
|
|
102
|
+
* LICENSE file in the root directory of this source tree.
|
|
103
|
+
*/
|
|
104
|
+
|
|
105
|
+
/** @license React v17.0.1
|
|
106
|
+
* react.production.min.js
|
|
107
|
+
*
|
|
108
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
109
|
+
*
|
|
110
|
+
* This source code is licensed under the MIT license found in the
|
|
111
|
+
* LICENSE file in the root directory of this source tree.
|
|
112
|
+
*/
|
package/es/api/APIFactory.js
CHANGED
|
@@ -40,6 +40,7 @@ import AnnotationsAPI from './Annotations';
|
|
|
40
40
|
import OpenWithAPI from './OpenWith';
|
|
41
41
|
import MetadataQueryAPI from './MetadataQuery';
|
|
42
42
|
import BoxEditAPI from './box-edit';
|
|
43
|
+
import IntelligenceAPI from './Intelligence';
|
|
43
44
|
import { DEFAULT_HOSTNAME_API, DEFAULT_HOSTNAME_UPLOAD, TYPE_FOLDER, TYPE_FILE, TYPE_WEBLINK } from '../constants';
|
|
44
45
|
|
|
45
46
|
class APIFactory {
|
|
@@ -167,6 +168,10 @@ class APIFactory {
|
|
|
167
168
|
* @property {AnnotationsAPI}
|
|
168
169
|
*/
|
|
169
170
|
|
|
171
|
+
/**
|
|
172
|
+
* @property {IntelligenceAPI}
|
|
173
|
+
*/
|
|
174
|
+
|
|
170
175
|
/**
|
|
171
176
|
* [constructor]
|
|
172
177
|
*
|
|
@@ -338,6 +343,11 @@ class APIFactory {
|
|
|
338
343
|
delete this.annotationsAPI;
|
|
339
344
|
}
|
|
340
345
|
|
|
346
|
+
if (this.intelligenceAPI) {
|
|
347
|
+
this.intelligenceAPI.destroy();
|
|
348
|
+
delete this.intelligenceAPI;
|
|
349
|
+
}
|
|
350
|
+
|
|
341
351
|
if (destroyCache) {
|
|
342
352
|
this.options.cache = new Cache();
|
|
343
353
|
}
|
|
@@ -841,6 +851,21 @@ class APIFactory {
|
|
|
841
851
|
this.annotationsAPI = new AnnotationsAPI(this.options);
|
|
842
852
|
return this.annotationsAPI;
|
|
843
853
|
}
|
|
854
|
+
/**
|
|
855
|
+
* API for Intelligence
|
|
856
|
+
*
|
|
857
|
+
* @return {IntelligenceAPI} IntelligenceAPI instance
|
|
858
|
+
*/
|
|
859
|
+
|
|
860
|
+
|
|
861
|
+
getIntelligenceAPI(shouldDestroy) {
|
|
862
|
+
if (shouldDestroy) {
|
|
863
|
+
this.destroy();
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
this.intelligenceAPI = new IntelligenceAPI(this.options);
|
|
867
|
+
return this.intelligenceAPI;
|
|
868
|
+
}
|
|
844
869
|
|
|
845
870
|
}
|
|
846
871
|
|
|
@@ -35,6 +35,7 @@ import AnnotationsAPI from './Annotations';
|
|
|
35
35
|
import OpenWithAPI from './OpenWith';
|
|
36
36
|
import MetadataQueryAPI from './MetadataQuery';
|
|
37
37
|
import BoxEditAPI from './box-edit';
|
|
38
|
+
import IntelligenceAPI from './Intelligence';
|
|
38
39
|
import { DEFAULT_HOSTNAME_API, DEFAULT_HOSTNAME_UPLOAD, TYPE_FOLDER, TYPE_FILE, TYPE_WEBLINK } from '../constants';
|
|
39
40
|
import type { ItemType } from '../common/types/core';
|
|
40
41
|
import type { APIOptions } from '../common/types/api';
|
|
@@ -198,6 +199,11 @@ class APIFactory {
|
|
|
198
199
|
*/
|
|
199
200
|
annotationsAPI: AnnotationsAPI;
|
|
200
201
|
|
|
202
|
+
/**
|
|
203
|
+
* @property {IntelligenceAPI}
|
|
204
|
+
*/
|
|
205
|
+
intelligenceAPI: IntelligenceAPI;
|
|
206
|
+
|
|
201
207
|
/**
|
|
202
208
|
* [constructor]
|
|
203
209
|
*
|
|
@@ -367,6 +373,11 @@ class APIFactory {
|
|
|
367
373
|
delete this.annotationsAPI;
|
|
368
374
|
}
|
|
369
375
|
|
|
376
|
+
if (this.intelligenceAPI) {
|
|
377
|
+
this.intelligenceAPI.destroy();
|
|
378
|
+
delete this.intelligenceAPI;
|
|
379
|
+
}
|
|
380
|
+
|
|
370
381
|
if (destroyCache) {
|
|
371
382
|
this.options.cache = new Cache();
|
|
372
383
|
}
|
|
@@ -830,6 +841,20 @@ class APIFactory {
|
|
|
830
841
|
this.annotationsAPI = new AnnotationsAPI(this.options);
|
|
831
842
|
return this.annotationsAPI;
|
|
832
843
|
}
|
|
844
|
+
|
|
845
|
+
/**
|
|
846
|
+
* API for Intelligence
|
|
847
|
+
*
|
|
848
|
+
* @return {IntelligenceAPI} IntelligenceAPI instance
|
|
849
|
+
*/
|
|
850
|
+
getIntelligenceAPI(shouldDestroy: boolean): IntelligenceAPI {
|
|
851
|
+
if (shouldDestroy) {
|
|
852
|
+
this.destroy();
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
this.intelligenceAPI = new IntelligenceAPI(this.options);
|
|
856
|
+
return this.intelligenceAPI;
|
|
857
|
+
}
|
|
833
858
|
}
|
|
834
859
|
|
|
835
860
|
export default APIFactory;
|
package/es/api/APIFactory.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/api/APIFactory.js"],"names":["Cache","ChunkedUploadAPI","PlainUploadAPI","FolderAPI","FileAPI","WebLinkAPI","SearchAPI","RecentsAPI","VersionsAPI","CommentsAPI","TasksNewAPI","TaskCollaboratorsAPI","TaskLinksAPI","ThreadedCommentsAPI","FileAccessStatsAPI","FileActivitiesAPI","MarkerBasedGroupsAPI","MarkerBasedUsersAPI","GroupsAPI","UsersAPI","MetadataAPI","FileCollaboratorsAPI","FileCollaborationsAPI","FolderCollaborationsAPI","CollaborationsAPI","FeedAPI","AppIntegrationsAPI","AnnotationsAPI","OpenWithAPI","MetadataQueryAPI","BoxEditAPI","DEFAULT_HOSTNAME_API","DEFAULT_HOSTNAME_UPLOAD","TYPE_FOLDER","TYPE_FILE","TYPE_WEBLINK","APIFactory","constructor","options","apiHost","uploadHost","cache","language","destroy","destroyCache","fileAPI","weblinkAPI","plainUploadAPI","chunkedUploadAPI","folderAPI","searchAPI","recentsAPI","versionsAPI","fileAccessStatsAPI","fileActivitiesAPI","tasksNewAPI","taskCollaboratorsAPI","taskLinksAPI","commentsAPI","threadedCommentsAPI","markerBasedGroupsAPI","markerBasedUsersAPI","groupsAPI","usersAPI","metadataAPI","fileCollaboratorsAPI","fileCollaborationsAPI","folderCollaborationsAPI","collaborationsAPI","appIntegrationsAPI","metadataQueryAPI","openWithAPI","annotationsAPI","getCache","getAPI","type","api","getFolderAPI","getFileAPI","getWebLinkAPI","Error","shouldDestroy","getPlainUploadAPI","getChunkedUploadAPI","getSearchAPI","getRecentsAPI","getMetadataAPI","getVersionsAPI","getCommentsAPI","getThreadedCommentsAPI","getTasksNewAPI","getTaskCollaboratorsAPI","getTaskLinksAPI","getFileAccessStatsAPI","getFileActivitiesAPI","getFileCollaboratorsAPI","getFileCollaborationsAPI","getFolderCollaborationsAPI","getCollaborationsAPI","getMarkerBasedGroupsAPI","getMarkerBasedUsersAPI","getGroupsAPI","getUsersAPI","getFeedAPI","feedItemsAPI","getOpenWithAPI","getAppIntegrationsAPI","getMetadataQueryAPI","getBoxEditAPI","boxEditAPI","getAnnotationsAPI"],"mappings":";;;;;;AAAA;;;;;AAMA,OAAOA,KAAP,MAAkB,gBAAlB;AACA,OAAOC,gBAAP,MAA6B,0BAA7B;AACA,OAAOC,cAAP,MAA2B,uBAA3B;AACA,OAAOC,SAAP,MAAsB,UAAtB;AACA,OAAOC,OAAP,MAAoB,QAApB;AACA,OAAOC,UAAP,MAAuB,WAAvB;AACA,OAAOC,SAAP,MAAsB,UAAtB;AACA,OAAOC,UAAP,MAAuB,WAAvB;AACA,OAAOC,WAAP,MAAwB,YAAxB;AACA,OAAOC,WAAP,MAAwB,YAAxB;AACA,OAAOC,WAAP,MAAwB,kBAAxB;AACA,OAAOC,oBAAP,MAAiC,2BAAjC;AACA,OAAOC,YAAP,MAAyB,mBAAzB;AACA,OAAOC,mBAAP,MAAgC,oBAAhC;AACA,OAAOC,kBAAP,MAA+B,mBAA/B;AACA,OAAOC,iBAAP,MAA8B,kBAA9B;AACA,OAAOC,oBAAP,MAAiC,qBAAjC;AACA,OAAOC,mBAAP,MAAgC,oBAAhC;AACA,OAAOC,SAAP,MAAsB,UAAtB;AACA,OAAOC,QAAP,MAAqB,SAArB;AACA,OAAOC,WAAP,MAAwB,YAAxB;AACA,OAAOC,oBAAP,MAAiC,qBAAjC;AACA,OAAOC,qBAAP,MAAkC,sBAAlC;AACA,OAAOC,uBAAP,MAAoC,wBAApC;AACA,OAAOC,iBAAP,MAA8B,kBAA9B;AACA,OAAOC,OAAP,MAAoB,QAApB;AACA,OAAOC,kBAAP,MAA+B,mBAA/B;AACA,OAAOC,cAAP,MAA2B,eAA3B;AACA,OAAOC,WAAP,MAAwB,YAAxB;AACA,OAAOC,gBAAP,MAA6B,iBAA7B;AACA,OAAOC,UAAP,MAAuB,YAAvB;AACA,SAASC,oBAAT,E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BAAJ,CAAqB,KAAKS,OAA1B,CAAxB;AACA,WAAO,KAAKgC,gBAAZ;AACH;AAED;;;;;;;AAKAsC,EAAAA,aAAa,GAAe;AACxB,SAAKC,UAAL,GAAkB,IAAI/E,UAAJ,EAAlB;AACA,WAAO,KAAK+E,UAAZ;AACH;AAED;;;;;;;AAKAC,EAAAA,iBAAiB,CAAC7B,aAAD,EAAyC;AACtD,QAAIA,aAAJ,EAAmB;AACf,WAAKtC,OAAL;AACH;;AAED,SAAK6B,cAAL,GAAsB,IAAI7C,cAAJ,CAAmB,KAAKW,OAAxB,CAAtB;AACA,WAAO,KAAKkC,cAAZ;AACH;;AAnxBY;;AAsxBjB,eAAepC,UAAf","sourcesContent":["/**\n * @flow\n * @file Main entry point for the box api\n * @author Box\n */\n\nimport Cache from '../utils/Cache';\nimport ChunkedUploadAPI from './uploads/MultiputUpload';\nimport PlainUploadAPI from './uploads/PlainUpload';\nimport FolderAPI from './Folder';\nimport FileAPI from './File';\nimport WebLinkAPI from './WebLink';\nimport SearchAPI from './Search';\nimport RecentsAPI from './Recents';\nimport VersionsAPI from './Versions';\nimport CommentsAPI from './Comments';\nimport TasksNewAPI from './tasks/TasksNew';\nimport TaskCollaboratorsAPI from './tasks/TaskCollaborators';\nimport TaskLinksAPI from './tasks/TaskLinks';\nimport ThreadedCommentsAPI from './ThreadedComments';\nimport FileAccessStatsAPI from './FileAccessStats';\nimport FileActivitiesAPI from './FileActivities';\nimport MarkerBasedGroupsAPI from './MarkerBasedGroups';\nimport MarkerBasedUsersAPI from './MarkerBasedUsers';\nimport GroupsAPI from './Groups';\nimport UsersAPI from './Users';\nimport MetadataAPI from './Metadata';\nimport FileCollaboratorsAPI from './FileCollaborators';\nimport FileCollaborationsAPI from './FileCollaborations';\nimport FolderCollaborationsAPI from './FolderCollaborations';\nimport CollaborationsAPI from './Collaborations';\nimport FeedAPI from './Feed';\nimport AppIntegrationsAPI from './AppIntegrations';\nimport AnnotationsAPI from './Annotations';\nimport OpenWithAPI from './OpenWith';\nimport MetadataQueryAPI from './MetadataQuery';\nimport BoxEditAPI from './box-edit';\nimport { DEFAULT_HOSTNAME_API, DEFAULT_HOSTNAME_UPLOAD, TYPE_FOLDER, TYPE_FILE, TYPE_WEBLINK } from '../constants';\nimport type { ItemType } from '../common/types/core';\nimport type { APIOptions } from '../common/types/api';\nimport type APICache from '../utils/Cache';\n\ntype ItemAPI = FolderAPI | FileAPI | WebLinkAPI;\n\nclass APIFactory {\n /**\n * @property {*}\n */\n options: APIOptions;\n\n /**\n * @property {FileAPI}\n */\n fileAPI: FileAPI;\n\n /**\n * @property {WebLink}\n */\n weblinkAPI: WebLinkAPI;\n\n /**\n * @property {FolderAPI}\n */\n folderAPI: FolderAPI;\n\n /**\n * @property {PlainUploadAPI}\n */\n plainUploadAPI: PlainUploadAPI;\n\n /**\n * @property {ChunkedUploadAPI}\n */\n chunkedUploadAPI: ChunkedUploadAPI;\n\n /**\n * @property {SearchAPI}\n */\n searchAPI: SearchAPI;\n\n /**\n * @property {RecentsAPI}\n */\n recentsAPI: RecentsAPI;\n\n /**\n * @property {VersionsAPI}\n */\n versionsAPI: VersionsAPI;\n\n /**\n * @property {CommentsAPI}\n */\n commentsAPI: CommentsAPI;\n\n /**\n * @property {ThreadedCommentsAPI}\n */\n threadedCommentsAPI: ThreadedCommentsAPI;\n\n /**\n * @property {TasksNewAPI}\n */\n tasksNewAPI: TasksNewAPI;\n\n /**\n * @property {TaskCollaboratorsAPI}\n */\n taskCollaboratorsAPI: TaskCollaboratorsAPI;\n\n /**\n * @property {TaskLinksAPI}\n */\n taskLinksAPI: TaskLinksAPI;\n\n /*\n * @property {FileAccessStatsAPI}\n */\n fileAccessStatsAPI: FileAccessStatsAPI;\n\n /*\n * @property {FileActivitiesAPI}\n */\n fileActivitiesAPI: FileActivitiesAPI;\n\n /*\n * @property {MarkerBasedGroupsAPI}\n */\n markerBasedGroupsAPI: MarkerBasedGroupsAPI;\n\n /*\n * @property {MarkerBasedUsersAPI}\n */\n markerBasedUsersAPI: MarkerBasedUsersAPI;\n\n /**\n * @property {GroupsAPI}\n */\n groupsAPI: GroupsAPI;\n\n /*\n * @property {UsersAPI}\n */\n usersAPI: UsersAPI;\n\n /*\n * @property {MetadataAPI}\n */\n metadataAPI: MetadataAPI;\n\n /**\n * @property {FileCollaboratorsAPI}\n */\n fileCollaboratorsAPI: FileCollaboratorsAPI;\n\n /**\n * @property {FileCollaborationsAPI}\n */\n fileCollaborationsAPI: FileCollaborationsAPI;\n\n /**\n * @property {FolderCollaborationsAPI}\n */\n folderCollaborationsAPI: FolderCollaborationsAPI;\n\n /**\n * @property {CollaborationsAPI}\n */\n collaborationsAPI: CollaborationsAPI;\n\n /**\n * @property {FeedAPI}\n */\n feedItemsAPI: FeedAPI;\n\n /**\n * @property {OpenWithAPI}\n */\n openWithAPI: OpenWithAPI;\n\n /**\n * @property {AppIntegrationsAPI}\n */\n appIntegrationsAPI: AppIntegrationsAPI;\n\n /**\n * @property {MetadataQueryAPI}\n */\n metadataQueryAPI: MetadataQueryAPI;\n\n /** @property {BoxEditAPI}\n *\n */\n boxEditAPI: BoxEditAPI;\n\n /**\n * @property {AnnotationsAPI}\n */\n annotationsAPI: AnnotationsAPI;\n\n /**\n * [constructor]\n *\n * @param {Object} options\n * @param {string} options.id - item id\n * @param {string|function} options.token - Auth token\n * @param {string} [options.sharedLink] - Shared link\n * @param {string} [options.sharedLinkPassword] - Shared link password\n * @param {string} [options.apiHost] - Api host\n * @param {string} [options.uploadHost] - Upload host name\n * @return {API} Api instance\n */\n constructor(options: APIOptions) {\n this.options = {\n ...options,\n apiHost: options.apiHost || DEFAULT_HOSTNAME_API,\n uploadHost: options.uploadHost || DEFAULT_HOSTNAME_UPLOAD,\n cache: options.cache || new Cache(),\n language: options.language,\n };\n }\n\n /**\n * [destructor]\n *\n * @param {boolean} destroyCache - true to destroy cache\n * @return {void}\n */\n destroy(destroyCache: boolean = false) {\n if (this.fileAPI) {\n this.fileAPI.destroy();\n delete this.fileAPI;\n }\n\n if (this.weblinkAPI) {\n this.weblinkAPI.destroy();\n delete this.weblinkAPI;\n }\n\n if (this.plainUploadAPI) {\n this.plainUploadAPI.destroy();\n delete this.plainUploadAPI;\n }\n\n if (this.chunkedUploadAPI) {\n this.chunkedUploadAPI.destroy();\n delete this.chunkedUploadAPI;\n }\n\n if (this.folderAPI) {\n this.folderAPI.destroy();\n delete this.folderAPI;\n }\n\n if (this.searchAPI) {\n this.searchAPI.destroy();\n delete this.searchAPI;\n }\n\n if (this.recentsAPI) {\n this.recentsAPI.destroy();\n delete this.recentsAPI;\n }\n\n if (this.versionsAPI) {\n this.versionsAPI.destroy();\n delete this.versionsAPI;\n }\n\n if (this.fileAccessStatsAPI) {\n this.fileAccessStatsAPI.destroy();\n delete this.fileAccessStatsAPI;\n }\n\n if (this.fileActivitiesAPI) {\n this.fileActivitiesAPI.destroy();\n delete this.fileActivitiesAPI;\n }\n\n if (this.tasksNewAPI) {\n this.tasksNewAPI.destroy();\n delete this.tasksNewAPI;\n }\n\n if (this.taskCollaboratorsAPI) {\n this.taskCollaboratorsAPI.destroy();\n delete this.taskCollaboratorsAPI;\n }\n\n if (this.taskLinksAPI) {\n this.taskLinksAPI.destroy();\n delete this.taskLinksAPI;\n }\n\n if (this.commentsAPI) {\n this.commentsAPI.destroy();\n delete this.commentsAPI;\n }\n\n if (this.threadedCommentsAPI) {\n this.threadedCommentsAPI.destroy();\n delete this.threadedCommentsAPI;\n }\n\n if (this.markerBasedGroupsAPI) {\n this.markerBasedGroupsAPI.destroy();\n delete this.markerBasedGroupsAPI;\n }\n\n if (this.markerBasedUsersAPI) {\n this.markerBasedUsersAPI.destroy();\n delete this.markerBasedUsersAPI;\n }\n\n if (this.groupsAPI) {\n this.groupsAPI.destroy();\n delete this.groupsAPI;\n }\n\n if (this.usersAPI) {\n this.usersAPI.destroy();\n delete this.usersAPI;\n }\n\n if (this.metadataAPI) {\n this.metadataAPI.destroy();\n delete this.metadataAPI;\n }\n\n if (this.fileCollaboratorsAPI) {\n this.fileCollaboratorsAPI.destroy();\n delete this.fileCollaboratorsAPI;\n }\n\n if (this.fileCollaborationsAPI) {\n this.fileCollaborationsAPI.destroy();\n delete this.fileCollaborationsAPI;\n }\n\n if (this.folderCollaborationsAPI) {\n this.folderCollaborationsAPI.destroy();\n delete this.folderCollaborationsAPI;\n }\n\n if (this.collaborationsAPI) {\n this.collaborationsAPI.destroy();\n delete this.collaborationsAPI;\n }\n\n if (this.appIntegrationsAPI) {\n this.appIntegrationsAPI.destroy();\n delete this.appIntegrationsAPI;\n }\n\n if (this.metadataQueryAPI) {\n this.metadataQueryAPI.destroy();\n delete this.metadataQueryAPI;\n }\n\n if (this.openWithAPI) {\n this.openWithAPI.destroy();\n delete this.openWithAPI;\n }\n\n if (this.annotationsAPI) {\n this.annotationsAPI.destroy();\n delete this.annotationsAPI;\n }\n\n if (destroyCache) {\n this.options.cache = new Cache();\n }\n }\n\n /**\n * Gets the cache instance\n *\n * @return {Cache} cache instance\n */\n getCache(): APICache {\n return ((this.options.cache: any): APICache);\n }\n\n /**\n * Returns the API based on type of item\n *\n * @private\n * @param {String} type - item type\n * @return {ItemAPI} api\n */\n getAPI(type: ItemType): ItemAPI {\n let api: ItemAPI;\n\n switch (type) {\n case TYPE_FOLDER:\n api = this.getFolderAPI();\n break;\n case TYPE_FILE:\n api = this.getFileAPI();\n break;\n case TYPE_WEBLINK:\n api = this.getWebLinkAPI();\n break;\n default:\n throw new Error('Unknown Type!');\n }\n\n return api;\n }\n\n /**\n * API for file\n *\n * @return {FileAPI} FileAPI instance\n */\n getFileAPI(shouldDestroy: boolean = true): FileAPI {\n if (shouldDestroy) {\n this.destroy();\n }\n this.fileAPI = new FileAPI(this.options);\n return this.fileAPI;\n }\n\n /**\n * API for web links\n *\n * @return {WebLinkAPI} WebLinkAPI instance\n */\n getWebLinkAPI(): WebLinkAPI {\n this.destroy();\n this.weblinkAPI = new WebLinkAPI(this.options);\n return this.weblinkAPI;\n }\n\n /**\n * API for plain uploads\n *\n * @return {UploadAPI} UploadAPI instance\n */\n getPlainUploadAPI(): PlainUploadAPI {\n this.destroy();\n this.plainUploadAPI = new PlainUploadAPI(this.options);\n return this.plainUploadAPI;\n }\n\n /**\n * API for chunked uploads\n *\n * @return {UploadAPI} UploadAPI instance\n */\n getChunkedUploadAPI(): ChunkedUploadAPI {\n this.destroy();\n this.chunkedUploadAPI = new ChunkedUploadAPI(this.options);\n return this.chunkedUploadAPI;\n }\n\n /**\n * API for folder\n *\n * @return {FolderAPI} FolderAPI instance\n */\n getFolderAPI(): FolderAPI {\n this.destroy();\n this.folderAPI = new FolderAPI(this.options);\n return this.folderAPI;\n }\n\n /**\n * API for search\n *\n * @return {SearchAPI} SearchAPI instance\n */\n getSearchAPI(): SearchAPI {\n this.destroy();\n this.searchAPI = new SearchAPI(this.options);\n return this.searchAPI;\n }\n\n /**\n * API for recents\n *\n * @return {RecentsAPI} RecentsAPI instance\n */\n getRecentsAPI(): RecentsAPI {\n this.destroy();\n this.recentsAPI = new RecentsAPI(this.options);\n return this.recentsAPI;\n }\n\n /**\n * API for metadata\n *\n * @param {boolean} shouldDestroy - true if the factory should destroy before returning the call\n * @return {MetadataAPI} MetadataAPI instance\n */\n getMetadataAPI(shouldDestroy: boolean): MetadataAPI {\n if (shouldDestroy) {\n this.destroy();\n }\n\n this.metadataAPI = new MetadataAPI(this.options);\n return this.metadataAPI;\n }\n\n /**\n * API for versions\n *\n * @param {boolean} shouldDestroy - true if the factory should destroy before returning the call\n * @return {VersionsAPI} VersionsAPI instance\n */\n getVersionsAPI(shouldDestroy: boolean): VersionsAPI {\n if (shouldDestroy) {\n this.destroy();\n }\n\n this.versionsAPI = new VersionsAPI(this.options);\n return this.versionsAPI;\n }\n\n /**\n * API for comments\n *\n * @param {boolean} shouldDestroy - true if the factory should destroy before returning the call\n * @return {CommentsAPI} CommentsAPI instance\n */\n getCommentsAPI(shouldDestroy: boolean): CommentsAPI {\n if (shouldDestroy) {\n this.destroy();\n }\n\n this.commentsAPI = new CommentsAPI(this.options);\n return this.commentsAPI;\n }\n\n /**\n * API for threaded comments\n *\n * @param {boolean} shouldDestroy - true if the factory should destroy before returning the call\n * @return {ThreadedCommentsAPI} ThreadedCommentsAPI instance\n */\n getThreadedCommentsAPI(shouldDestroy: boolean): ThreadedCommentsAPI {\n if (shouldDestroy) {\n this.destroy();\n }\n\n this.threadedCommentsAPI = new ThreadedCommentsAPI(this.options);\n return this.threadedCommentsAPI;\n }\n\n /**\n * API for tasks\n *\n * @param {boolean} shouldDestroy - true if the factory should destroy before returning the call\n * @return {TasksAPI} TaskAssignmentsAPI instance\n */\n getTasksNewAPI(shouldDestroy: boolean): TasksNewAPI {\n if (shouldDestroy) {\n this.destroy();\n }\n\n this.tasksNewAPI = new TasksNewAPI(this.options);\n return this.tasksNewAPI;\n }\n\n /**\n * API for taskCollaborators\n *\n * @param {boolean} shouldDestroy - true if the factory should destroy before returning the call\n * @return {TaskCollaboratorsAPI} TaskCollaboratorsAPI instance\n */\n getTaskCollaboratorsAPI(shouldDestroy: boolean): TaskCollaboratorsAPI {\n if (shouldDestroy) {\n this.destroy();\n }\n\n this.taskCollaboratorsAPI = new TaskCollaboratorsAPI(this.options);\n return this.taskCollaboratorsAPI;\n }\n\n /**\n * API for taskLinks\n *\n * @param {boolean} shouldDestroy - true if the factory should destroy before returning the call\n * @return {TasksAPI} TaskLinksAPI instance\n */\n getTaskLinksAPI(shouldDestroy: boolean): TaskLinksAPI {\n if (shouldDestroy) {\n this.destroy();\n }\n\n this.taskLinksAPI = new TaskLinksAPI(this.options);\n return this.taskLinksAPI;\n }\n\n /**\n * API for file access stats\n *\n * @param {boolean} shouldDestroy - true if the factory should destroy before returning the call\n * @return {FileAccessStatsAPI} FileAccessStatsAPI instance\n */\n getFileAccessStatsAPI(shouldDestroy: boolean): FileAccessStatsAPI {\n if (shouldDestroy) {\n this.destroy();\n }\n\n this.fileAccessStatsAPI = new FileAccessStatsAPI(this.options);\n return this.fileAccessStatsAPI;\n }\n\n /**\n * API for file access stats\n *\n * @param {boolean} shouldDestroy - true if the factory should destroy before returning the call\n * @return {FileActivitiesAPI} FileActivitiesAPI instance\n */\n getFileActivitiesAPI(shouldDestroy: boolean): FileActivitiesAPI {\n if (shouldDestroy) {\n this.destroy();\n }\n\n this.fileActivitiesAPI = new FileActivitiesAPI(this.options);\n return this.fileActivitiesAPI;\n }\n\n /**\n * API for file collaborators\n *\n * @param {boolean} shouldDestroy - true if the factory should destroy before returning the call\n * @return {FileCollaboratorsAPI} FileCollaboratorsAPI instance\n */\n getFileCollaboratorsAPI(shouldDestroy: boolean): FileCollaboratorsAPI {\n if (shouldDestroy) {\n this.destroy();\n }\n\n this.fileCollaboratorsAPI = new FileCollaboratorsAPI(this.options);\n return this.fileCollaboratorsAPI;\n }\n\n /**\n * API for file collaborations\n *\n * This is different from the FileCollaboratorsAPI! See ./FileCollaborations for more information.\n *\n * @param {boolean} shouldDestroy - true if the factory should destroy before returning the call\n * @return {FileCollaborationsAPI} FileCollaborationsAPI instance\n */\n getFileCollaborationsAPI(shouldDestroy: boolean): FileCollaborationsAPI {\n if (shouldDestroy) {\n this.destroy();\n }\n\n this.fileCollaborationsAPI = new FileCollaborationsAPI(this.options);\n return this.fileCollaborationsAPI;\n }\n\n /**\n * API for folder collaborations\n *\n * @param {boolean} shouldDestroy - true if the factory should destroy before returning the call\n * @return {FolderCollaborationsAPI} FolderCollaborationsAPI instance\n */\n getFolderCollaborationsAPI(shouldDestroy: boolean): FolderCollaborationsAPI {\n if (shouldDestroy) {\n this.destroy();\n }\n\n this.folderCollaborationsAPI = new FolderCollaborationsAPI(this.options);\n return this.folderCollaborationsAPI;\n }\n\n /**\n * API for collaborations\n *\n * This is different from the other collaboration/collaborator APIs!\n * See ./Collaborations for more information.\n *\n * @param {boolean} shouldDestroy - true if the factory should destroy before returning the call\n * @return {CollaborationsAPI} CollaborationsAPI instance\n */\n getCollaborationsAPI(shouldDestroy: boolean): CollaborationsAPI {\n if (shouldDestroy) {\n this.destroy();\n }\n\n this.collaborationsAPI = new CollaborationsAPI(this.options);\n return this.collaborationsAPI;\n }\n\n /**\n * API for Groups (marker-based paging)\n *\n * @param {boolean} shouldDestroy - true if the factory should destroy before returning the call\n * @return {MarkerBasedGroupsAPI} MarkerBasedGroupsAPI instance\n */\n getMarkerBasedGroupsAPI(shouldDestroy: boolean): MarkerBasedGroupsAPI {\n if (shouldDestroy) {\n this.destroy();\n }\n\n this.markerBasedGroupsAPI = new MarkerBasedGroupsAPI(this.options);\n return this.markerBasedGroupsAPI;\n }\n\n /**\n * API for Users (marker-based paging)\n *\n * @param {boolean} shouldDestroy - true if the factory should destroy before returning the call\n * @return {MarkerBasedUsersAPI} MarkerBasedUsersAPI instance\n */\n getMarkerBasedUsersAPI(shouldDestroy: boolean): MarkerBasedUsersAPI {\n if (shouldDestroy) {\n this.destroy();\n }\n\n this.markerBasedUsersAPI = new MarkerBasedUsersAPI(this.options);\n return this.markerBasedUsersAPI;\n }\n\n /**\n * API for Groups (offset-based paging)\n *\n * @param {boolean} shouldDestroy - true if the factory should destroy before returning the call\n * @return {GroupsAPI} GroupsAPI instance\n */\n getGroupsAPI(shouldDestroy: boolean): GroupsAPI {\n if (shouldDestroy) {\n this.destroy();\n }\n\n this.groupsAPI = new GroupsAPI(this.options);\n return this.groupsAPI;\n }\n\n /**\n * API for Users (offset-based paging)\n *\n * @param {boolean} shouldDestroy - true if the factory should destroy before returning the call\n * @return {UsersAPI} UsersAPI instance\n */\n getUsersAPI(shouldDestroy: boolean): UsersAPI {\n if (shouldDestroy) {\n this.destroy();\n }\n\n this.usersAPI = new UsersAPI(this.options);\n return this.usersAPI;\n }\n\n /**\n * API for Feed Items\n *\n * @param {boolean} shouldDestroy - true if the factory should destroy before returning the call\n * @return {FeedAPI} FeedAPI instance\n */\n getFeedAPI(shouldDestroy: boolean): FeedAPI {\n if (shouldDestroy) {\n this.destroy();\n }\n\n this.feedItemsAPI = new FeedAPI(this.options);\n return this.feedItemsAPI;\n }\n\n /**\n * API for Open With\n *\n * @param {boolean} shouldDestroy - true if the factory should destroy before returning the call\n * @return {OpenWithAPI} OpenWithAPI instance\n */\n getOpenWithAPI(shouldDestroy: boolean): OpenWithAPI {\n if (shouldDestroy) {\n this.destroy();\n }\n\n this.openWithAPI = new OpenWithAPI(this.options);\n return this.openWithAPI;\n }\n\n /**\n * API for the App Integrations endpoint\n *\n * @param {boolean} shouldDestroy - true if the factory should destroy before returning the call\n * @return {AppIntegrationsAPI} AppIntegrationsAPI instance\n */\n getAppIntegrationsAPI(shouldDestroy: boolean): AppIntegrationsAPI {\n if (shouldDestroy) {\n this.destroy();\n }\n\n this.appIntegrationsAPI = new AppIntegrationsAPI(this.options);\n return this.appIntegrationsAPI;\n }\n\n /**\n * API for Metadata Query\n *\n * @param {boolean} shouldDestroy - true if the factory should destroy before returning the call\n * @return {MetadataQuery} MetadataQuery instance\n */\n getMetadataQueryAPI(shouldDestroy: boolean = false): MetadataQueryAPI {\n if (shouldDestroy) {\n this.destroy();\n }\n\n this.metadataQueryAPI = new MetadataQueryAPI(this.options);\n return this.metadataQueryAPI;\n }\n\n /**\n * API for Box Edit\n *\n * @return {BoxEditAPI} BoxEditAPI instance\n */\n getBoxEditAPI(): BoxEditAPI {\n this.boxEditAPI = new BoxEditAPI();\n return this.boxEditAPI;\n }\n\n /**\n * API for Annotations\n *\n * @return {AnnotationsAPI} AnnotationsAPI instance\n */\n getAnnotationsAPI(shouldDestroy: boolean): AnnotationsAPI {\n if (shouldDestroy) {\n this.destroy();\n }\n\n this.annotationsAPI = new AnnotationsAPI(this.options);\n return this.annotationsAPI;\n }\n}\n\nexport default APIFactory;\n"],"file":"APIFactory.js"}
|
|
1
|
+
{"version":3,"sources":["../../src/api/APIFactory.js"],"names":["Cache","ChunkedUploadAPI","PlainUploadAPI","FolderAPI","FileAPI","WebLinkAPI","SearchAPI","RecentsAPI","VersionsAPI","CommentsAPI","TasksNewAPI","TaskCollaboratorsAPI","TaskLinksAPI","ThreadedCommentsAPI","FileAccessStatsAPI","FileActivitiesAPI","MarkerBasedGroupsAPI","MarkerBasedUsersAPI","GroupsAPI","UsersAPI","MetadataAPI","FileCollaboratorsAPI","FileCollaborationsAPI","FolderCollaborationsAPI","CollaborationsAPI","FeedAPI","AppIntegrationsAPI","AnnotationsAPI","OpenWithAPI","MetadataQueryAPI","BoxEditAPI","IntelligenceAPI","DEFAULT_HOSTNAME_API","DEFAULT_HOSTNAME_UPLOAD","TYPE_FOLDER","TYPE_FILE","TYPE_WEBLINK","APIFactory","constructor","options","apiHost","uploadHost","cache","language","destroy","destroyCache","fileAPI","weblinkAPI","plainUploadAPI","chunkedUploadAPI","folderAPI","searchAPI","recentsAPI","versionsAPI","fileAccessStatsAPI","fileActivitiesAPI","tasksNewAPI","taskCollaboratorsAPI","taskLinksAPI","commentsAPI","threadedCommentsAPI","markerBasedGroupsAPI","markerBasedUsersAPI","groupsAPI","usersAPI","metadataAPI","fileCollaboratorsAPI","fileCollaborationsAPI","folderCollaborationsAPI","collaborationsAPI","appIntegrationsAPI","metadataQueryAPI","openWithAPI","annotationsAPI","intelligenceAPI","getCache","getAPI","type","api","getFolderAPI","getFileAPI","getWebLinkAPI","Error","shouldDestroy","getPlainUploadAPI","getChunkedUploadAPI","getSearchAPI","getRecentsAPI","getMetadataAPI","getVersionsAPI","getCommentsAPI","getThreadedCommentsAPI","getTasksNewAPI","getTaskCollaboratorsAPI","getTaskLinksAPI","getFileAccessStatsAPI","getFileActivitiesAPI","getFileCollaboratorsAPI","getFileCollaborationsAPI","getFolderCollaborationsAPI","getCollaborationsAPI","getMarkerBasedGroupsAPI","getMarkerBasedUsersAPI","getGroupsAPI","getUsersAPI","getFeedAPI","feedItemsAPI","getOpenWithAPI","getAppIntegrationsAPI","getMetadataQueryAPI","getBoxEditAPI","boxEditAPI","getAnnotationsAPI","getIntelligenceAPI"],"mappings":";;;;;;AAAA;;;;;AAMA,OAAOA,KAAP,MAAkB,gBAAlB;AACA,OAAOC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;;;;AAKAuC,EAAAA,aAAa,GAAe;AACxB,SAAKC,UAAL,GAAkB,IAAIjF,UAAJ,EAAlB;AACA,WAAO,KAAKiF,UAAZ;AACH;AAED;;;;;;;AAKAC,EAAAA,iBAAiB,CAAC7B,aAAD,EAAyC;AACtD,QAAIA,aAAJ,EAAmB;AACf,WAAKvC,OAAL;AACH;;AAED,SAAK6B,cAAL,GAAsB,IAAI9C,cAAJ,CAAmB,KAAKY,OAAxB,CAAtB;AACA,WAAO,KAAKkC,cAAZ;AACH;AAED;;;;;;;AAKAwC,EAAAA,kBAAkB,CAAC9B,aAAD,EAA0C;AACxD,QAAIA,aAAJ,EAAmB;AACf,WAAKvC,OAAL;AACH;;AAED,SAAK8B,eAAL,GAAuB,IAAI3C,eAAJ,CAAoB,KAAKQ,OAAzB,CAAvB;AACA,WAAO,KAAKmC,eAAZ;AACH;;AA3yBY;;AA8yBjB,eAAerC,UAAf","sourcesContent":["/**\n * @flow\n * @file Main entry point for the box api\n * @author Box\n */\n\nimport Cache from '../utils/Cache';\nimport ChunkedUploadAPI from './uploads/MultiputUpload';\nimport PlainUploadAPI from './uploads/PlainUpload';\nimport FolderAPI from './Folder';\nimport FileAPI from './File';\nimport WebLinkAPI from './WebLink';\nimport SearchAPI from './Search';\nimport RecentsAPI from './Recents';\nimport VersionsAPI from './Versions';\nimport CommentsAPI from './Comments';\nimport TasksNewAPI from './tasks/TasksNew';\nimport TaskCollaboratorsAPI from './tasks/TaskCollaborators';\nimport TaskLinksAPI from './tasks/TaskLinks';\nimport ThreadedCommentsAPI from './ThreadedComments';\nimport FileAccessStatsAPI from './FileAccessStats';\nimport FileActivitiesAPI from './FileActivities';\nimport MarkerBasedGroupsAPI from './MarkerBasedGroups';\nimport MarkerBasedUsersAPI from './MarkerBasedUsers';\nimport GroupsAPI from './Groups';\nimport UsersAPI from './Users';\nimport MetadataAPI from './Metadata';\nimport FileCollaboratorsAPI from './FileCollaborators';\nimport FileCollaborationsAPI from './FileCollaborations';\nimport FolderCollaborationsAPI from './FolderCollaborations';\nimport CollaborationsAPI from './Collaborations';\nimport FeedAPI from './Feed';\nimport AppIntegrationsAPI from './AppIntegrations';\nimport AnnotationsAPI from './Annotations';\nimport OpenWithAPI from './OpenWith';\nimport MetadataQueryAPI from './MetadataQuery';\nimport BoxEditAPI from './box-edit';\nimport IntelligenceAPI from './Intelligence';\nimport { DEFAULT_HOSTNAME_API, DEFAULT_HOSTNAME_UPLOAD, TYPE_FOLDER, TYPE_FILE, TYPE_WEBLINK } from '../constants';\nimport type { ItemType } from '../common/types/core';\nimport type { APIOptions } from '../common/types/api';\nimport type APICache from '../utils/Cache';\n\ntype ItemAPI = FolderAPI | FileAPI | WebLinkAPI;\n\nclass APIFactory {\n /**\n * @property {*}\n */\n options: APIOptions;\n\n /**\n * @property {FileAPI}\n */\n fileAPI: FileAPI;\n\n /**\n * @property {WebLink}\n */\n weblinkAPI: WebLinkAPI;\n\n /**\n * @property {FolderAPI}\n */\n folderAPI: FolderAPI;\n\n /**\n * @property {PlainUploadAPI}\n */\n plainUploadAPI: PlainUploadAPI;\n\n /**\n * @property {ChunkedUploadAPI}\n */\n chunkedUploadAPI: ChunkedUploadAPI;\n\n /**\n * @property {SearchAPI}\n */\n searchAPI: SearchAPI;\n\n /**\n * @property {RecentsAPI}\n */\n recentsAPI: RecentsAPI;\n\n /**\n * @property {VersionsAPI}\n */\n versionsAPI: VersionsAPI;\n\n /**\n * @property {CommentsAPI}\n */\n commentsAPI: CommentsAPI;\n\n /**\n * @property {ThreadedCommentsAPI}\n */\n threadedCommentsAPI: ThreadedCommentsAPI;\n\n /**\n * @property {TasksNewAPI}\n */\n tasksNewAPI: TasksNewAPI;\n\n /**\n * @property {TaskCollaboratorsAPI}\n */\n taskCollaboratorsAPI: TaskCollaboratorsAPI;\n\n /**\n * @property {TaskLinksAPI}\n */\n taskLinksAPI: TaskLinksAPI;\n\n /*\n * @property {FileAccessStatsAPI}\n */\n fileAccessStatsAPI: FileAccessStatsAPI;\n\n /*\n * @property {FileActivitiesAPI}\n */\n fileActivitiesAPI: FileActivitiesAPI;\n\n /*\n * @property {MarkerBasedGroupsAPI}\n */\n markerBasedGroupsAPI: MarkerBasedGroupsAPI;\n\n /*\n * @property {MarkerBasedUsersAPI}\n */\n markerBasedUsersAPI: MarkerBasedUsersAPI;\n\n /**\n * @property {GroupsAPI}\n */\n groupsAPI: GroupsAPI;\n\n /*\n * @property {UsersAPI}\n */\n usersAPI: UsersAPI;\n\n /*\n * @property {MetadataAPI}\n */\n metadataAPI: MetadataAPI;\n\n /**\n * @property {FileCollaboratorsAPI}\n */\n fileCollaboratorsAPI: FileCollaboratorsAPI;\n\n /**\n * @property {FileCollaborationsAPI}\n */\n fileCollaborationsAPI: FileCollaborationsAPI;\n\n /**\n * @property {FolderCollaborationsAPI}\n */\n folderCollaborationsAPI: FolderCollaborationsAPI;\n\n /**\n * @property {CollaborationsAPI}\n */\n collaborationsAPI: CollaborationsAPI;\n\n /**\n * @property {FeedAPI}\n */\n feedItemsAPI: FeedAPI;\n\n /**\n * @property {OpenWithAPI}\n */\n openWithAPI: OpenWithAPI;\n\n /**\n * @property {AppIntegrationsAPI}\n */\n appIntegrationsAPI: AppIntegrationsAPI;\n\n /**\n * @property {MetadataQueryAPI}\n */\n metadataQueryAPI: MetadataQueryAPI;\n\n /** @property {BoxEditAPI}\n *\n */\n boxEditAPI: BoxEditAPI;\n\n /**\n * @property {AnnotationsAPI}\n */\n annotationsAPI: AnnotationsAPI;\n\n /**\n * @property {IntelligenceAPI}\n */\n intelligenceAPI: IntelligenceAPI;\n\n /**\n * [constructor]\n *\n * @param {Object} options\n * @param {string} options.id - item id\n * @param {string|function} options.token - Auth token\n * @param {string} [options.sharedLink] - Shared link\n * @param {string} [options.sharedLinkPassword] - Shared link password\n * @param {string} [options.apiHost] - Api host\n * @param {string} [options.uploadHost] - Upload host name\n * @return {API} Api instance\n */\n constructor(options: APIOptions) {\n this.options = {\n ...options,\n apiHost: options.apiHost || DEFAULT_HOSTNAME_API,\n uploadHost: options.uploadHost || DEFAULT_HOSTNAME_UPLOAD,\n cache: options.cache || new Cache(),\n language: options.language,\n };\n }\n\n /**\n * [destructor]\n *\n * @param {boolean} destroyCache - true to destroy cache\n * @return {void}\n */\n destroy(destroyCache: boolean = false) {\n if (this.fileAPI) {\n this.fileAPI.destroy();\n delete this.fileAPI;\n }\n\n if (this.weblinkAPI) {\n this.weblinkAPI.destroy();\n delete this.weblinkAPI;\n }\n\n if (this.plainUploadAPI) {\n this.plainUploadAPI.destroy();\n delete this.plainUploadAPI;\n }\n\n if (this.chunkedUploadAPI) {\n this.chunkedUploadAPI.destroy();\n delete this.chunkedUploadAPI;\n }\n\n if (this.folderAPI) {\n this.folderAPI.destroy();\n delete this.folderAPI;\n }\n\n if (this.searchAPI) {\n this.searchAPI.destroy();\n delete this.searchAPI;\n }\n\n if (this.recentsAPI) {\n this.recentsAPI.destroy();\n delete this.recentsAPI;\n }\n\n if (this.versionsAPI) {\n this.versionsAPI.destroy();\n delete this.versionsAPI;\n }\n\n if (this.fileAccessStatsAPI) {\n this.fileAccessStatsAPI.destroy();\n delete this.fileAccessStatsAPI;\n }\n\n if (this.fileActivitiesAPI) {\n this.fileActivitiesAPI.destroy();\n delete this.fileActivitiesAPI;\n }\n\n if (this.tasksNewAPI) {\n this.tasksNewAPI.destroy();\n delete this.tasksNewAPI;\n }\n\n if (this.taskCollaboratorsAPI) {\n this.taskCollaboratorsAPI.destroy();\n delete this.taskCollaboratorsAPI;\n }\n\n if (this.taskLinksAPI) {\n this.taskLinksAPI.destroy();\n delete this.taskLinksAPI;\n }\n\n if (this.commentsAPI) {\n this.commentsAPI.destroy();\n delete this.commentsAPI;\n }\n\n if (this.threadedCommentsAPI) {\n this.threadedCommentsAPI.destroy();\n delete this.threadedCommentsAPI;\n }\n\n if (this.markerBasedGroupsAPI) {\n this.markerBasedGroupsAPI.destroy();\n delete this.markerBasedGroupsAPI;\n }\n\n if (this.markerBasedUsersAPI) {\n this.markerBasedUsersAPI.destroy();\n delete this.markerBasedUsersAPI;\n }\n\n if (this.groupsAPI) {\n this.groupsAPI.destroy();\n delete this.groupsAPI;\n }\n\n if (this.usersAPI) {\n this.usersAPI.destroy();\n delete this.usersAPI;\n }\n\n if (this.metadataAPI) {\n this.metadataAPI.destroy();\n delete this.metadataAPI;\n }\n\n if (this.fileCollaboratorsAPI) {\n this.fileCollaboratorsAPI.destroy();\n delete this.fileCollaboratorsAPI;\n }\n\n if (this.fileCollaborationsAPI) {\n this.fileCollaborationsAPI.destroy();\n delete this.fileCollaborationsAPI;\n }\n\n if (this.folderCollaborationsAPI) {\n this.folderCollaborationsAPI.destroy();\n delete this.folderCollaborationsAPI;\n }\n\n if (this.collaborationsAPI) {\n this.collaborationsAPI.destroy();\n delete this.collaborationsAPI;\n }\n\n if (this.appIntegrationsAPI) {\n this.appIntegrationsAPI.destroy();\n delete this.appIntegrationsAPI;\n }\n\n if (this.metadataQueryAPI) {\n this.metadataQueryAPI.destroy();\n delete this.metadataQueryAPI;\n }\n\n if (this.openWithAPI) {\n this.openWithAPI.destroy();\n delete this.openWithAPI;\n }\n\n if (this.annotationsAPI) {\n this.annotationsAPI.destroy();\n delete this.annotationsAPI;\n }\n\n if (this.intelligenceAPI) {\n this.intelligenceAPI.destroy();\n delete this.intelligenceAPI;\n }\n\n if (destroyCache) {\n this.options.cache = new Cache();\n }\n }\n\n /**\n * Gets the cache instance\n *\n * @return {Cache} cache instance\n */\n getCache(): APICache {\n return ((this.options.cache: any): APICache);\n }\n\n /**\n * Returns the API based on type of item\n *\n * @private\n * @param {String} type - item type\n * @return {ItemAPI} api\n */\n getAPI(type: ItemType): ItemAPI {\n let api: ItemAPI;\n\n switch (type) {\n case TYPE_FOLDER:\n api = this.getFolderAPI();\n break;\n case TYPE_FILE:\n api = this.getFileAPI();\n break;\n case TYPE_WEBLINK:\n api = this.getWebLinkAPI();\n break;\n default:\n throw new Error('Unknown Type!');\n }\n\n return api;\n }\n\n /**\n * API for file\n *\n * @return {FileAPI} FileAPI instance\n */\n getFileAPI(shouldDestroy: boolean = true): FileAPI {\n if (shouldDestroy) {\n this.destroy();\n }\n this.fileAPI = new FileAPI(this.options);\n return this.fileAPI;\n }\n\n /**\n * API for web links\n *\n * @return {WebLinkAPI} WebLinkAPI instance\n */\n getWebLinkAPI(): WebLinkAPI {\n this.destroy();\n this.weblinkAPI = new WebLinkAPI(this.options);\n return this.weblinkAPI;\n }\n\n /**\n * API for plain uploads\n *\n * @return {UploadAPI} UploadAPI instance\n */\n getPlainUploadAPI(): PlainUploadAPI {\n this.destroy();\n this.plainUploadAPI = new PlainUploadAPI(this.options);\n return this.plainUploadAPI;\n }\n\n /**\n * API for chunked uploads\n *\n * @return {UploadAPI} UploadAPI instance\n */\n getChunkedUploadAPI(): ChunkedUploadAPI {\n this.destroy();\n this.chunkedUploadAPI = new ChunkedUploadAPI(this.options);\n return this.chunkedUploadAPI;\n }\n\n /**\n * API for folder\n *\n * @return {FolderAPI} FolderAPI instance\n */\n getFolderAPI(): FolderAPI {\n this.destroy();\n this.folderAPI = new FolderAPI(this.options);\n return this.folderAPI;\n }\n\n /**\n * API for search\n *\n * @return {SearchAPI} SearchAPI instance\n */\n getSearchAPI(): SearchAPI {\n this.destroy();\n this.searchAPI = new SearchAPI(this.options);\n return this.searchAPI;\n }\n\n /**\n * API for recents\n *\n * @return {RecentsAPI} RecentsAPI instance\n */\n getRecentsAPI(): RecentsAPI {\n this.destroy();\n this.recentsAPI = new RecentsAPI(this.options);\n return this.recentsAPI;\n }\n\n /**\n * API for metadata\n *\n * @param {boolean} shouldDestroy - true if the factory should destroy before returning the call\n * @return {MetadataAPI} MetadataAPI instance\n */\n getMetadataAPI(shouldDestroy: boolean): MetadataAPI {\n if (shouldDestroy) {\n this.destroy();\n }\n\n this.metadataAPI = new MetadataAPI(this.options);\n return this.metadataAPI;\n }\n\n /**\n * API for versions\n *\n * @param {boolean} shouldDestroy - true if the factory should destroy before returning the call\n * @return {VersionsAPI} VersionsAPI instance\n */\n getVersionsAPI(shouldDestroy: boolean): VersionsAPI {\n if (shouldDestroy) {\n this.destroy();\n }\n\n this.versionsAPI = new VersionsAPI(this.options);\n return this.versionsAPI;\n }\n\n /**\n * API for comments\n *\n * @param {boolean} shouldDestroy - true if the factory should destroy before returning the call\n * @return {CommentsAPI} CommentsAPI instance\n */\n getCommentsAPI(shouldDestroy: boolean): CommentsAPI {\n if (shouldDestroy) {\n this.destroy();\n }\n\n this.commentsAPI = new CommentsAPI(this.options);\n return this.commentsAPI;\n }\n\n /**\n * API for threaded comments\n *\n * @param {boolean} shouldDestroy - true if the factory should destroy before returning the call\n * @return {ThreadedCommentsAPI} ThreadedCommentsAPI instance\n */\n getThreadedCommentsAPI(shouldDestroy: boolean): ThreadedCommentsAPI {\n if (shouldDestroy) {\n this.destroy();\n }\n\n this.threadedCommentsAPI = new ThreadedCommentsAPI(this.options);\n return this.threadedCommentsAPI;\n }\n\n /**\n * API for tasks\n *\n * @param {boolean} shouldDestroy - true if the factory should destroy before returning the call\n * @return {TasksAPI} TaskAssignmentsAPI instance\n */\n getTasksNewAPI(shouldDestroy: boolean): TasksNewAPI {\n if (shouldDestroy) {\n this.destroy();\n }\n\n this.tasksNewAPI = new TasksNewAPI(this.options);\n return this.tasksNewAPI;\n }\n\n /**\n * API for taskCollaborators\n *\n * @param {boolean} shouldDestroy - true if the factory should destroy before returning the call\n * @return {TaskCollaboratorsAPI} TaskCollaboratorsAPI instance\n */\n getTaskCollaboratorsAPI(shouldDestroy: boolean): TaskCollaboratorsAPI {\n if (shouldDestroy) {\n this.destroy();\n }\n\n this.taskCollaboratorsAPI = new TaskCollaboratorsAPI(this.options);\n return this.taskCollaboratorsAPI;\n }\n\n /**\n * API for taskLinks\n *\n * @param {boolean} shouldDestroy - true if the factory should destroy before returning the call\n * @return {TasksAPI} TaskLinksAPI instance\n */\n getTaskLinksAPI(shouldDestroy: boolean): TaskLinksAPI {\n if (shouldDestroy) {\n this.destroy();\n }\n\n this.taskLinksAPI = new TaskLinksAPI(this.options);\n return this.taskLinksAPI;\n }\n\n /**\n * API for file access stats\n *\n * @param {boolean} shouldDestroy - true if the factory should destroy before returning the call\n * @return {FileAccessStatsAPI} FileAccessStatsAPI instance\n */\n getFileAccessStatsAPI(shouldDestroy: boolean): FileAccessStatsAPI {\n if (shouldDestroy) {\n this.destroy();\n }\n\n this.fileAccessStatsAPI = new FileAccessStatsAPI(this.options);\n return this.fileAccessStatsAPI;\n }\n\n /**\n * API for file access stats\n *\n * @param {boolean} shouldDestroy - true if the factory should destroy before returning the call\n * @return {FileActivitiesAPI} FileActivitiesAPI instance\n */\n getFileActivitiesAPI(shouldDestroy: boolean): FileActivitiesAPI {\n if (shouldDestroy) {\n this.destroy();\n }\n\n this.fileActivitiesAPI = new FileActivitiesAPI(this.options);\n return this.fileActivitiesAPI;\n }\n\n /**\n * API for file collaborators\n *\n * @param {boolean} shouldDestroy - true if the factory should destroy before returning the call\n * @return {FileCollaboratorsAPI} FileCollaboratorsAPI instance\n */\n getFileCollaboratorsAPI(shouldDestroy: boolean): FileCollaboratorsAPI {\n if (shouldDestroy) {\n this.destroy();\n }\n\n this.fileCollaboratorsAPI = new FileCollaboratorsAPI(this.options);\n return this.fileCollaboratorsAPI;\n }\n\n /**\n * API for file collaborations\n *\n * This is different from the FileCollaboratorsAPI! See ./FileCollaborations for more information.\n *\n * @param {boolean} shouldDestroy - true if the factory should destroy before returning the call\n * @return {FileCollaborationsAPI} FileCollaborationsAPI instance\n */\n getFileCollaborationsAPI(shouldDestroy: boolean): FileCollaborationsAPI {\n if (shouldDestroy) {\n this.destroy();\n }\n\n this.fileCollaborationsAPI = new FileCollaborationsAPI(this.options);\n return this.fileCollaborationsAPI;\n }\n\n /**\n * API for folder collaborations\n *\n * @param {boolean} shouldDestroy - true if the factory should destroy before returning the call\n * @return {FolderCollaborationsAPI} FolderCollaborationsAPI instance\n */\n getFolderCollaborationsAPI(shouldDestroy: boolean): FolderCollaborationsAPI {\n if (shouldDestroy) {\n this.destroy();\n }\n\n this.folderCollaborationsAPI = new FolderCollaborationsAPI(this.options);\n return this.folderCollaborationsAPI;\n }\n\n /**\n * API for collaborations\n *\n * This is different from the other collaboration/collaborator APIs!\n * See ./Collaborations for more information.\n *\n * @param {boolean} shouldDestroy - true if the factory should destroy before returning the call\n * @return {CollaborationsAPI} CollaborationsAPI instance\n */\n getCollaborationsAPI(shouldDestroy: boolean): CollaborationsAPI {\n if (shouldDestroy) {\n this.destroy();\n }\n\n this.collaborationsAPI = new CollaborationsAPI(this.options);\n return this.collaborationsAPI;\n }\n\n /**\n * API for Groups (marker-based paging)\n *\n * @param {boolean} shouldDestroy - true if the factory should destroy before returning the call\n * @return {MarkerBasedGroupsAPI} MarkerBasedGroupsAPI instance\n */\n getMarkerBasedGroupsAPI(shouldDestroy: boolean): MarkerBasedGroupsAPI {\n if (shouldDestroy) {\n this.destroy();\n }\n\n this.markerBasedGroupsAPI = new MarkerBasedGroupsAPI(this.options);\n return this.markerBasedGroupsAPI;\n }\n\n /**\n * API for Users (marker-based paging)\n *\n * @param {boolean} shouldDestroy - true if the factory should destroy before returning the call\n * @return {MarkerBasedUsersAPI} MarkerBasedUsersAPI instance\n */\n getMarkerBasedUsersAPI(shouldDestroy: boolean): MarkerBasedUsersAPI {\n if (shouldDestroy) {\n this.destroy();\n }\n\n this.markerBasedUsersAPI = new MarkerBasedUsersAPI(this.options);\n return this.markerBasedUsersAPI;\n }\n\n /**\n * API for Groups (offset-based paging)\n *\n * @param {boolean} shouldDestroy - true if the factory should destroy before returning the call\n * @return {GroupsAPI} GroupsAPI instance\n */\n getGroupsAPI(shouldDestroy: boolean): GroupsAPI {\n if (shouldDestroy) {\n this.destroy();\n }\n\n this.groupsAPI = new GroupsAPI(this.options);\n return this.groupsAPI;\n }\n\n /**\n * API for Users (offset-based paging)\n *\n * @param {boolean} shouldDestroy - true if the factory should destroy before returning the call\n * @return {UsersAPI} UsersAPI instance\n */\n getUsersAPI(shouldDestroy: boolean): UsersAPI {\n if (shouldDestroy) {\n this.destroy();\n }\n\n this.usersAPI = new UsersAPI(this.options);\n return this.usersAPI;\n }\n\n /**\n * API for Feed Items\n *\n * @param {boolean} shouldDestroy - true if the factory should destroy before returning the call\n * @return {FeedAPI} FeedAPI instance\n */\n getFeedAPI(shouldDestroy: boolean): FeedAPI {\n if (shouldDestroy) {\n this.destroy();\n }\n\n this.feedItemsAPI = new FeedAPI(this.options);\n return this.feedItemsAPI;\n }\n\n /**\n * API for Open With\n *\n * @param {boolean} shouldDestroy - true if the factory should destroy before returning the call\n * @return {OpenWithAPI} OpenWithAPI instance\n */\n getOpenWithAPI(shouldDestroy: boolean): OpenWithAPI {\n if (shouldDestroy) {\n this.destroy();\n }\n\n this.openWithAPI = new OpenWithAPI(this.options);\n return this.openWithAPI;\n }\n\n /**\n * API for the App Integrations endpoint\n *\n * @param {boolean} shouldDestroy - true if the factory should destroy before returning the call\n * @return {AppIntegrationsAPI} AppIntegrationsAPI instance\n */\n getAppIntegrationsAPI(shouldDestroy: boolean): AppIntegrationsAPI {\n if (shouldDestroy) {\n this.destroy();\n }\n\n this.appIntegrationsAPI = new AppIntegrationsAPI(this.options);\n return this.appIntegrationsAPI;\n }\n\n /**\n * API for Metadata Query\n *\n * @param {boolean} shouldDestroy - true if the factory should destroy before returning the call\n * @return {MetadataQuery} MetadataQuery instance\n */\n getMetadataQueryAPI(shouldDestroy: boolean = false): MetadataQueryAPI {\n if (shouldDestroy) {\n this.destroy();\n }\n\n this.metadataQueryAPI = new MetadataQueryAPI(this.options);\n return this.metadataQueryAPI;\n }\n\n /**\n * API for Box Edit\n *\n * @return {BoxEditAPI} BoxEditAPI instance\n */\n getBoxEditAPI(): BoxEditAPI {\n this.boxEditAPI = new BoxEditAPI();\n return this.boxEditAPI;\n }\n\n /**\n * API for Annotations\n *\n * @return {AnnotationsAPI} AnnotationsAPI instance\n */\n getAnnotationsAPI(shouldDestroy: boolean): AnnotationsAPI {\n if (shouldDestroy) {\n this.destroy();\n }\n\n this.annotationsAPI = new AnnotationsAPI(this.options);\n return this.annotationsAPI;\n }\n\n /**\n * API for Intelligence\n *\n * @return {IntelligenceAPI} IntelligenceAPI instance\n */\n getIntelligenceAPI(shouldDestroy: boolean): IntelligenceAPI {\n if (shouldDestroy) {\n this.destroy();\n }\n\n this.intelligenceAPI = new IntelligenceAPI(this.options);\n return this.intelligenceAPI;\n }\n}\n\nexport default APIFactory;\n"],"file":"APIFactory.js"}
|
package/es/api/Feed.js
CHANGED
|
@@ -31,7 +31,7 @@ import GroupsAPI from './Groups';
|
|
|
31
31
|
import TaskCollaboratorsAPI from './tasks/TaskCollaborators';
|
|
32
32
|
import TaskLinksAPI from './tasks/TaskLinks';
|
|
33
33
|
import AppActivityAPI from './AppActivity';
|
|
34
|
-
import { ACTION_TYPE_CREATED, ACTION_TYPE_RESTORED, ACTION_TYPE_TRASHED, ERROR_CODE_CREATE_TASK, ERROR_CODE_UPDATE_TASK, ERROR_CODE_GROUP_EXCEEDS_LIMIT, FEED_ITEM_TYPE_ANNOTATION, FEED_ITEM_TYPE_COMMENT, FEED_ITEM_TYPE_TASK, FEED_ITEM_TYPE_VERSION, FILE_ACTIVITY_TYPE_ANNOTATION, FILE_ACTIVITY_TYPE_APP_ACTIVITY, FILE_ACTIVITY_TYPE_COMMENT, FILE_ACTIVITY_TYPE_TASK, FILE_ACTIVITY_TYPE_VERSION, HTTP_STATUS_CODE_CONFLICT, IS_ERROR_DISPLAYED, PERMISSION_CAN_VIEW_ANNOTATIONS, TASK_NEW_APPROVED, TASK_NEW_COMPLETED, TASK_NEW_REJECTED, TASK_NEW_NOT_STARTED, TYPED_ID_FEED_PREFIX, TASK_MAX_GROUP_ASSIGNEES } from '../constants';
|
|
34
|
+
import { ACTION_TYPE_CREATED, ACTION_TYPE_RESTORED, ACTION_TYPE_TRASHED, ERROR_CODE_CREATE_TASK, ERROR_CODE_UPDATE_TASK, ERROR_CODE_GROUP_EXCEEDS_LIMIT, FEED_ITEM_TYPE_ANNOTATION, FEED_ITEM_TYPE_COMMENT, FEED_ITEM_TYPE_TASK, FEED_ITEM_TYPE_VERSION, FILE_ACTIVITY_TYPE_ANNOTATION, FILE_ACTIVITY_TYPE_APP_ACTIVITY, FILE_ACTIVITY_TYPE_COMMENT, FILE_ACTIVITY_TYPE_TASK, FILE_ACTIVITY_TYPE_VERSION, HTTP_STATUS_CODE_CONFLICT, IS_ERROR_DISPLAYED, PERMISSION_CAN_VIEW_ANNOTATIONS, PERMISSION_CAN_COMMENT, TASK_NEW_APPROVED, TASK_NEW_COMPLETED, TASK_NEW_REJECTED, TASK_NEW_NOT_STARTED, TYPED_ID_FEED_PREFIX, TASK_MAX_GROUP_ASSIGNEES } from '../constants';
|
|
35
35
|
const TASK_NEW_INITIAL_STATUS = TASK_NEW_NOT_STARTED;
|
|
36
36
|
|
|
37
37
|
const getItemWithFilteredReplies = (item, replyId) => {
|
|
@@ -1361,8 +1361,10 @@ class Feed extends Base {
|
|
|
1361
1361
|
const appActivityActivityType = shouldShowAppActivity ? [FILE_ACTIVITY_TYPE_APP_ACTIVITY] : [];
|
|
1362
1362
|
const taskActivityType = shouldShowTasks ? [FILE_ACTIVITY_TYPE_TASK] : [];
|
|
1363
1363
|
const versionsActivityType = shouldShowVersions ? [FILE_ACTIVITY_TYPE_VERSION] : [];
|
|
1364
|
-
const
|
|
1365
|
-
const
|
|
1364
|
+
const commentActivityType = permissions[PERMISSION_CAN_COMMENT] ? [FILE_ACTIVITY_TYPE_COMMENT] : [];
|
|
1365
|
+
const filteredActivityTypes = [...annotationActivityType, ...appActivityActivityType, ...commentActivityType, ...taskActivityType, ...versionsActivityType];
|
|
1366
|
+
const fileActivitiesPromise = // Only fetch when activity types are explicitly stated
|
|
1367
|
+
shouldUseUAA && filteredActivityTypes.length ? this.fetchFileActivities(permissions, filteredActivityTypes, shouldShowReplies) : Promise.resolve();
|
|
1366
1368
|
|
|
1367
1369
|
const handleFeedItems = feedItems => {
|
|
1368
1370
|
if (!this.isDestroyed()) {
|
package/es/api/Feed.js.flow
CHANGED
|
@@ -41,6 +41,7 @@ import {
|
|
|
41
41
|
HTTP_STATUS_CODE_CONFLICT,
|
|
42
42
|
IS_ERROR_DISPLAYED,
|
|
43
43
|
PERMISSION_CAN_VIEW_ANNOTATIONS,
|
|
44
|
+
PERMISSION_CAN_COMMENT,
|
|
44
45
|
TASK_NEW_APPROVED,
|
|
45
46
|
TASK_NEW_COMPLETED,
|
|
46
47
|
TASK_NEW_REJECTED,
|
|
@@ -595,17 +596,20 @@ class Feed extends Base {
|
|
|
595
596
|
const appActivityActivityType = shouldShowAppActivity ? [FILE_ACTIVITY_TYPE_APP_ACTIVITY] : [];
|
|
596
597
|
const taskActivityType = shouldShowTasks ? [FILE_ACTIVITY_TYPE_TASK] : [];
|
|
597
598
|
const versionsActivityType = shouldShowVersions ? [FILE_ACTIVITY_TYPE_VERSION] : [];
|
|
599
|
+
const commentActivityType = permissions[PERMISSION_CAN_COMMENT] ? [FILE_ACTIVITY_TYPE_COMMENT] : [];
|
|
598
600
|
const filteredActivityTypes = [
|
|
599
601
|
...annotationActivityType,
|
|
600
602
|
...appActivityActivityType,
|
|
601
|
-
|
|
603
|
+
...commentActivityType,
|
|
602
604
|
...taskActivityType,
|
|
603
605
|
...versionsActivityType,
|
|
604
606
|
];
|
|
605
607
|
|
|
606
|
-
const fileActivitiesPromise =
|
|
607
|
-
|
|
608
|
-
|
|
608
|
+
const fileActivitiesPromise =
|
|
609
|
+
// Only fetch when activity types are explicitly stated
|
|
610
|
+
shouldUseUAA && filteredActivityTypes.length
|
|
611
|
+
? this.fetchFileActivities(permissions, filteredActivityTypes, shouldShowReplies)
|
|
612
|
+
: Promise.resolve();
|
|
609
613
|
|
|
610
614
|
const handleFeedItems = (feedItems: FeedItems) => {
|
|
611
615
|
if (!this.isDestroyed()) {
|