box-ui-elements 19.0.0-beta.9 → 19.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/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/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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/components/form-elements/text-area/TextArea.stories.js"],"names":["React","TextArea","notes","basic","withValidation","textAreaValidator","value","includes","code","message","title","component","parameters"],"mappings":"AACA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AAEA,OAAOC,QAAP,MAAqB,YAArB;AACA,OAAOC,KAAP,MAAkB,uBAAlB;AAEA,OAAO,MAAMC,KAAK,GAAG,MAAM,oBAAC,QAAD;AAAU,EAAA,IAAI,EAAC,UAAf;AAA0B,EAAA,KAAK,EAAC,YAAhC;AAA6C,EAAA,WAAW,EAAC;AAAzD,EAApB;AAEP,OAAO,MAAMC,cAAc,GAAG,MAAM;AAChC,QAAMC,iBAAiB,GAAGC,KAAK,IAAI;AAC/B,QAAI,CAACA,KAAK,CAACC,QAAN,CAAe,KAAf,CAAL,EAA4B;AACxB,aAAO;AACHC,QAAAA,IAAI,EAAE,OADH;AAEHC,QAAAA,OAAO,EAAE;AAFN,OAAP;AAIH;;AACD,WAAO,IAAP;AACH,GARD;;AASA,SACI,oBAAC,QAAD;AACI,IAAA,IAAI,EAAC,UADT;AAEI,IAAA,KAAK,EAAC,qBAFV;AAGI,IAAA,WAAW,EAAC,kBAHhB;AAII,IAAA,UAAU,EAAEJ;AAJhB,IADJ;AAQH,CAlBM;AAoBP,eAAe;AACXK,EAAAA,KAAK,EAAE,mCADI;AAEXC,EAAAA,SAAS,EAAEV,QAFA;AAGXW,EAAAA,UAAU,EAAE;AACRV,IAAAA;AADQ;AAHD,CAAf","sourcesContent":["// @flow\nimport * as React from 'react';\n\nimport TextArea from './TextArea';\nimport notes from './TextArea.stories.md';\n\nexport const basic = () => <TextArea name=\"textarea\" label=\"Your story\" placeholder=\"Once upon a time\" />;\n\nexport const withValidation = () => {\n const textAreaValidator = value => {\n if (!value.includes('www')) {\n return {\n code: 'nowww',\n message: 'Text must have \"www\" in it',\n };\n }\n return null;\n };\n return (\n <TextArea\n name=\"textarea\"\n label=\"Validated Text Area\"\n placeholder=\"Once upon a time\"\n validation={textAreaValidator}\n />\n );\n};\n\nexport default {\n title: 'Components
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/form-elements/text-area/TextArea.stories.js"],"names":["React","TextArea","notes","basic","withValidation","textAreaValidator","value","includes","code","message","title","component","parameters"],"mappings":"AACA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AAEA,OAAOC,QAAP,MAAqB,YAArB;AACA,OAAOC,KAAP,MAAkB,uBAAlB;AAEA,OAAO,MAAMC,KAAK,GAAG,MAAM,oBAAC,QAAD;AAAU,EAAA,IAAI,EAAC,UAAf;AAA0B,EAAA,KAAK,EAAC,YAAhC;AAA6C,EAAA,WAAW,EAAC;AAAzD,EAApB;AAEP,OAAO,MAAMC,cAAc,GAAG,MAAM;AAChC,QAAMC,iBAAiB,GAAGC,KAAK,IAAI;AAC/B,QAAI,CAACA,KAAK,CAACC,QAAN,CAAe,KAAf,CAAL,EAA4B;AACxB,aAAO;AACHC,QAAAA,IAAI,EAAE,OADH;AAEHC,QAAAA,OAAO,EAAE;AAFN,OAAP;AAIH;;AACD,WAAO,IAAP;AACH,GARD;;AASA,SACI,oBAAC,QAAD;AACI,IAAA,IAAI,EAAC,UADT;AAEI,IAAA,KAAK,EAAC,qBAFV;AAGI,IAAA,WAAW,EAAC,kBAHhB;AAII,IAAA,UAAU,EAAEJ;AAJhB,IADJ;AAQH,CAlBM;AAoBP,eAAe;AACXK,EAAAA,KAAK,EAAE,mCADI;AAEXC,EAAAA,SAAS,EAAEV,QAFA;AAGXW,EAAAA,UAAU,EAAE;AACRV,IAAAA;AADQ;AAHD,CAAf","sourcesContent":["// @flow\nimport * as React from 'react';\n\nimport TextArea from './TextArea';\nimport notes from './TextArea.stories.md';\n\nexport const basic = () => <TextArea name=\"textarea\" label=\"Your story\" placeholder=\"Once upon a time\" />;\n\nexport const withValidation = () => {\n const textAreaValidator = value => {\n if (!value.includes('www')) {\n return {\n code: 'nowww',\n message: 'Text must have \"www\" in it',\n };\n }\n return null;\n };\n return (\n <TextArea\n name=\"textarea\"\n label=\"Validated Text Area\"\n placeholder=\"Once upon a time\"\n validation={textAreaValidator}\n />\n );\n};\n\nexport default {\n title: 'Components/Form Elements/Textarea',\n component: TextArea,\n parameters: {\n notes,\n },\n};\n"],"file":"TextArea.stories.js"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/components/form-elements/text-input/TextInput.stories.js"],"names":["React","TextInput","notes","basic","urlInput","withCustomValidation","customValidationFunc","value","code","message","withMinimumLength","withMaximumLength","withTooltipOnHover","withHiddenLabel","disabledInput","loading","title","component","parameters"],"mappings":"AACA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AAEA,OAAOC,SAAP,MAAsB,aAAtB;AACA,OAAOC,KAAP,MAAkB,wBAAlB;AAEA,OAAO,MAAMC,KAAK,GAAG,MACjB,oBAAC,SAAD;AACI,EAAA,KAAK,EAAC,eADV;AAEI,EAAA,IAAI,EAAC,OAFT;AAGI,EAAA,WAAW,EAAC,kBAHhB;AAII,EAAA,IAAI,EAAC,OAJT;AAKI,EAAA,KAAK,EAAC;AALV,EADG;AAUP,OAAO,MAAMC,QAAQ,GAAG,MAAM,oBAAC,SAAD;AAAW,EAAA,KAAK,EAAC,KAAjB;AAAuB,EAAA,IAAI,EAAC,KAA5B;AAAkC,EAAA,WAAW,EAAC,iBAA9C;AAAgE,EAAA,IAAI,EAAC;AAArE,EAAvB;AAEP,OAAO,MAAMC,oBAAoB,GAAG,MAAM;AACtC,QAAMC,oBAAoB,GAAGC,KAAK,IAAI;AAClC,QAAIA,KAAK,KAAK,KAAd,EAAqB;AACjB,aAAO;AACHC,QAAAA,IAAI,EAAE,QADH;AAEHC,QAAAA,OAAO,EAAE;AAFN,OAAP;AAIH;;AACD,WAAO,IAAP;AACH,GARD;;AASA,SACI,oBAAC,SAAD;AACI,IAAA,KAAK,EAAC,cADV;AAEI,IAAA,IAAI,EAAC,sBAFT;AAGI,IAAA,WAAW,EAAC,SAHhB;AAII,IAAA,IAAI,EAAC,MAJT;AAKI,IAAA,UAAU,EAAEH;AALhB,IADJ;AASH,CAnBM;AAqBP,OAAO,MAAMI,iBAAiB,GAAG,MAC7B,oBAAC,SAAD;AAAW,EAAA,SAAS,EAAE,CAAtB;AAAyB,EAAA,IAAI,EAAC,aAA9B;AAA4C,EAAA,KAAK,EAAC,gBAAlD;AAAmE,EAAA,WAAW,EAAC,eAA/E;AAA+F,EAAA,IAAI,EAAC;AAApG,EADG;AAIP,OAAO,MAAMC,iBAAiB,GAAG,MAC7B,oBAAC,SAAD;AAAW,EAAA,SAAS,EAAE,CAAtB;AAAyB,EAAA,IAAI,EAAC,aAA9B;AAA4C,EAAA,KAAK,EAAC,gBAAlD;AAAmE,EAAA,WAAW,EAAC,cAA/E;AAA8F,EAAA,IAAI,EAAC;AAAnG,EADG;AAIP,OAAO,MAAMC,kBAAkB,GAAG,MAC9B,oBAAC,SAAD;AACI,EAAA,IAAI,EAAC,cADT;AAEI,EAAA,KAAK,EAAC,kBAFV;AAGI,EAAA,YAAY,EAAC,kBAHjB;AAII,EAAA,WAAW,EAAC,sBAJhB;AAKI,EAAA,IAAI,EAAC;AALT,EADG;AAUP,OAAO,MAAMC,eAAe,GAAG,MAC3B,oBAAC,SAAD;AACI,EAAA,KAAK,EAAC,kCADV;AAEI,EAAA,IAAI,EAAC,cAFT;AAGI,EAAA,WAAW,EAAC,oCAHhB;AAII,EAAA,IAAI,EAAC,MAJT;AAKI,EAAA,SAAS;AALb,EADG;AAUP,OAAO,MAAMC,aAAa,GAAG,MACzB,oBAAC,SAAD;AAAW,EAAA,IAAI,EAAC,UAAhB;AAA2B,EAAA,UAAU,MAArC;AAAsC,EAAA,KAAK,EAAC,UAA5C;AAAuD,EAAA,WAAW,EAAC,gBAAnE;AAAoF,EAAA,IAAI,EAAC;AAAzF,EADG;AAIP,OAAO,MAAMC,OAAO,GAAG,MACnB,oBAAC,SAAD;AAAW,EAAA,IAAI,EAAC,SAAhB;AAA0B,EAAA,UAAU,MAApC;AAAqC,EAAA,SAAS,MAA9C;AAA+C,EAAA,KAAK,EAAC,SAArD;AAA+D,EAAA,WAAW,EAAC,YAA3E;AAAwF,EAAA,IAAI,EAAC;AAA7F,EADG;AAIP,eAAe;AACXC,EAAAA,KAAK,EAAE,oCADI;AAEXC,EAAAA,SAAS,EAAEhB,SAFA;AAGXiB,EAAAA,UAAU,EAAE;AACRhB,IAAAA;AADQ;AAHD,CAAf","sourcesContent":["// @flow\nimport * as React from 'react';\n\nimport TextInput from './TextInput';\nimport notes from './TextInput.stories.md';\n\nexport const basic = () => (\n <TextInput\n label=\"Email Address\"\n name=\"email\"\n placeholder=\"user@example.com\"\n type=\"email\"\n value=\"aaron@example.com\"\n />\n);\n\nexport const urlInput = () => <TextInput label=\"Url\" name=\"url\" placeholder=\"https://box.com\" type=\"url\" />;\n\nexport const withCustomValidation = () => {\n const customValidationFunc = value => {\n if (value !== 'box') {\n return {\n code: 'notbox',\n message: 'value is not box',\n };\n }\n return null;\n };\n return (\n <TextInput\n label=\"Must say box\"\n name=\"customValidationFunc\"\n placeholder=\"Not box\"\n type=\"text\"\n validation={customValidationFunc}\n />\n );\n};\n\nexport const withMinimumLength = () => (\n <TextInput minLength={3} name=\"minlenCheck\" label=\"Minimum length\" placeholder=\"Three or more\" type=\"text\" />\n);\n\nexport const withMaximumLength = () => (\n <TextInput maxLength={5} name=\"maxlenCheck\" label=\"Maximum length\" placeholder=\"Five or less\" type=\"text\" />\n);\n\nexport const withTooltipOnHover = () => (\n <TextInput\n name=\"tooltipCheck\"\n label=\"Tooltip on hover\"\n labelTooltip=\"I am the tooltip\"\n placeholder=\"Hover over the label\"\n type=\"text\"\n />\n);\n\nexport const withHiddenLabel = () => (\n <TextInput\n label=\"This label text should be hidden\"\n name=\"hidden label\"\n placeholder=\"Hidden (but accessible) label text\"\n type=\"text\"\n hideLabel\n />\n);\n\nexport const disabledInput = () => (\n <TextInput name=\"disabled\" isDisabled label=\"Disabled\" placeholder=\"Disabled input\" type=\"text\" />\n);\n\nexport const loading = () => (\n <TextInput name=\"loading\" isDisabled isLoading label=\"Loading\" placeholder=\"Loading...\" type=\"text\" />\n);\n\nexport default {\n title: 'Components
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/form-elements/text-input/TextInput.stories.js"],"names":["React","TextInput","notes","basic","urlInput","withCustomValidation","customValidationFunc","value","code","message","withMinimumLength","withMaximumLength","withTooltipOnHover","withHiddenLabel","disabledInput","loading","title","component","parameters"],"mappings":"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","sourcesContent":["// @flow\nimport * as React from 'react';\n\nimport TextInput from './TextInput';\nimport notes from './TextInput.stories.md';\n\nexport const basic = () => (\n <TextInput\n label=\"Email Address\"\n name=\"email\"\n placeholder=\"user@example.com\"\n type=\"email\"\n value=\"aaron@example.com\"\n />\n);\n\nexport const urlInput = () => <TextInput label=\"Url\" name=\"url\" placeholder=\"https://box.com\" type=\"url\" />;\n\nexport const withCustomValidation = () => {\n const customValidationFunc = value => {\n if (value !== 'box') {\n return {\n code: 'notbox',\n message: 'value is not box',\n };\n }\n return null;\n };\n return (\n <TextInput\n label=\"Must say box\"\n name=\"customValidationFunc\"\n placeholder=\"Not box\"\n type=\"text\"\n validation={customValidationFunc}\n />\n );\n};\n\nexport const withMinimumLength = () => (\n <TextInput minLength={3} name=\"minlenCheck\" label=\"Minimum length\" placeholder=\"Three or more\" type=\"text\" />\n);\n\nexport const withMaximumLength = () => (\n <TextInput maxLength={5} name=\"maxlenCheck\" label=\"Maximum length\" placeholder=\"Five or less\" type=\"text\" />\n);\n\nexport const withTooltipOnHover = () => (\n <TextInput\n name=\"tooltipCheck\"\n label=\"Tooltip on hover\"\n labelTooltip=\"I am the tooltip\"\n placeholder=\"Hover over the label\"\n type=\"text\"\n />\n);\n\nexport const withHiddenLabel = () => (\n <TextInput\n label=\"This label text should be hidden\"\n name=\"hidden label\"\n placeholder=\"Hidden (but accessible) label text\"\n type=\"text\"\n hideLabel\n />\n);\n\nexport const disabledInput = () => (\n <TextInput name=\"disabled\" isDisabled label=\"Disabled\" placeholder=\"Disabled input\" type=\"text\" />\n);\n\nexport const loading = () => (\n <TextInput name=\"loading\" isDisabled isLoading label=\"Loading\" placeholder=\"Loading...\" type=\"text\" />\n);\n\nexport default {\n title: 'Components/Form Elements/TextInput',\n component: TextInput,\n parameters: {\n notes,\n },\n};\n"],"file":"TextInput.stories.js"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/ghost/Ghost.stories.tsx"],"names":["React","boolean","Media","Ghost","notes","regular","withoutAnimation","circle","rectangle","pill","complicatedLayout","maxWidth","title","component","parameters"],"mappings":"AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,SAASC,OAAT,QAAwB,wBAAxB;AAEA,OAAOC,KAAP,MAAkB,UAAlB;AAEA,OAAOC,KAAP,MAAkB,SAAlB;AACA,OAAOC,KAAP,MAAkB,oBAAlB;AAEA,OAAO,MAAMC,OAAO,GAAG,MAAM,oBAAC,KAAD;AAAO,EAAA,UAAU,EAAEJ,OAAO,CAAC,YAAD,EAAe,IAAf;AAA1B,EAAtB;AAEP,OAAO,MAAMK,gBAAgB,GAAG,MAAM,oBAAC,KAAD;AAAO,EAAA,UAAU,EAAE;AAAnB,EAA/B;AAEP,OAAO,MAAMC,MAAM,GAAG,MAAM,oBAAC,KAAD;AAAO,EAAA,YAAY,EAAC,KAApB;AAA0B,EAAA,KAAK,EAAE,EAAjC;AAAqC,EAAA,MAAM,EAAE;AAA7C,EAArB;AAEP,OAAO,MAAMC,SAAS,GAAG,MAAM,oBAAC,KAAD;AAAO,EAAA,KAAK,EAAE,GAAd;AAAmB,EAAA,MAAM,EAAE;AAA3B,EAAxB;AAEP,OAAO,MAAMC,IAAI,GAAG,MAAM,oBAAC,KAAD;AAAO,EAAA,YAAY,EAAE,EAArB;AAAyB,EAAA,KAAK,EAAE,GAAhC;AAAqC,EAAA,MAAM,EAAE;AAA7C,EAAnB;AAEP,OAAO,MAAMC,iBAAiB,GAAG,MAC7B,oBAAC,KAAD;AAAO,EAAA,KAAK,EAAE;AAAEC,IAAAA,QAAQ,EAAE;AAAZ;AAAd,GACI,oBAAC,KAAD,CAAO,MAAP,QACI,oBAAC,KAAD;AAAO,EAAA,YAAY,EAAC,KAApB;AAA0B,EAAA,MAAM,EAAE,EAAlC;AAAsC,EAAA,KAAK,EAAE;AAA7C,EADJ,CADJ,EAII,oBAAC,KAAD,CAAO,IAAP,QACI,+BACI,oBAAC,KAAD,OADJ,EAEI,oBAAC,KAAD,OAFJ,EAGI,oBAAC,KAAD;AAAO,EAAA,KAAK,EAAC;AAAb,EAHJ,CADJ,EAMI,+BACI,oBAAC,KAAD;AAAO,EAAA,KAAK,EAAE,GAAd;AAAmB,EAAA,MAAM,EAAE;AAA3B,EADJ,OACsC,oBAAC,KAAD;AAAO,EAAA,KAAK,EAAE,GAAd;AAAmB,EAAA,MAAM,EAAE;AAA3B,EADtC,CANJ,CAJJ,CADG;AAkBP,eAAe;AACXC,EAAAA,KAAK,EAAE,kBADI;AAEXC,EAAAA,SAAS,EAAEV,KAFA;AAGXW,EAAAA,UAAU,EAAE;AACRV,IAAAA;AADQ;AAHD,CAAf","sourcesContent":["import * as React from 'react';\nimport { boolean } from '@storybook/addon-knobs';\n\nimport Media from '../media';\n\nimport Ghost from './Ghost';\nimport notes from './Ghost.stories.md';\n\nexport const regular = () => <Ghost isAnimated={boolean('isAnimated', true)} />;\n\nexport const withoutAnimation = () => <Ghost isAnimated={false} />;\n\nexport const circle = () => <Ghost borderRadius=\"50%\" width={32} height={32} />;\n\nexport const rectangle = () => <Ghost width={100} height={32} />;\n\nexport const pill = () => <Ghost borderRadius={12} width={100} height={24} />;\n\nexport const complicatedLayout = () => (\n <Media style={{ maxWidth: 400 }}>\n <Media.Figure>\n <Ghost borderRadius=\"50%\" height={32} width={32} />\n </Media.Figure>\n <Media.Body>\n <p>\n <Ghost />\n <Ghost />\n <Ghost width=\"50%\" />\n </p>\n <p>\n <Ghost width={100} height={32} /> <Ghost width={100} height={32} />\n </p>\n </Media.Body>\n </Media>\n);\n\nexport default {\n title: 'Components
|
|
1
|
+
{"version":3,"sources":["../../../src/components/ghost/Ghost.stories.tsx"],"names":["React","boolean","Media","Ghost","notes","regular","withoutAnimation","circle","rectangle","pill","complicatedLayout","maxWidth","title","component","parameters"],"mappings":"AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,SAASC,OAAT,QAAwB,wBAAxB;AAEA,OAAOC,KAAP,MAAkB,UAAlB;AAEA,OAAOC,KAAP,MAAkB,SAAlB;AACA,OAAOC,KAAP,MAAkB,oBAAlB;AAEA,OAAO,MAAMC,OAAO,GAAG,MAAM,oBAAC,KAAD;AAAO,EAAA,UAAU,EAAEJ,OAAO,CAAC,YAAD,EAAe,IAAf;AAA1B,EAAtB;AAEP,OAAO,MAAMK,gBAAgB,GAAG,MAAM,oBAAC,KAAD;AAAO,EAAA,UAAU,EAAE;AAAnB,EAA/B;AAEP,OAAO,MAAMC,MAAM,GAAG,MAAM,oBAAC,KAAD;AAAO,EAAA,YAAY,EAAC,KAApB;AAA0B,EAAA,KAAK,EAAE,EAAjC;AAAqC,EAAA,MAAM,EAAE;AAA7C,EAArB;AAEP,OAAO,MAAMC,SAAS,GAAG,MAAM,oBAAC,KAAD;AAAO,EAAA,KAAK,EAAE,GAAd;AAAmB,EAAA,MAAM,EAAE;AAA3B,EAAxB;AAEP,OAAO,MAAMC,IAAI,GAAG,MAAM,oBAAC,KAAD;AAAO,EAAA,YAAY,EAAE,EAArB;AAAyB,EAAA,KAAK,EAAE,GAAhC;AAAqC,EAAA,MAAM,EAAE;AAA7C,EAAnB;AAEP,OAAO,MAAMC,iBAAiB,GAAG,MAC7B,oBAAC,KAAD;AAAO,EAAA,KAAK,EAAE;AAAEC,IAAAA,QAAQ,EAAE;AAAZ;AAAd,GACI,oBAAC,KAAD,CAAO,MAAP,QACI,oBAAC,KAAD;AAAO,EAAA,YAAY,EAAC,KAApB;AAA0B,EAAA,MAAM,EAAE,EAAlC;AAAsC,EAAA,KAAK,EAAE;AAA7C,EADJ,CADJ,EAII,oBAAC,KAAD,CAAO,IAAP,QACI,+BACI,oBAAC,KAAD,OADJ,EAEI,oBAAC,KAAD,OAFJ,EAGI,oBAAC,KAAD;AAAO,EAAA,KAAK,EAAC;AAAb,EAHJ,CADJ,EAMI,+BACI,oBAAC,KAAD;AAAO,EAAA,KAAK,EAAE,GAAd;AAAmB,EAAA,MAAM,EAAE;AAA3B,EADJ,OACsC,oBAAC,KAAD;AAAO,EAAA,KAAK,EAAE,GAAd;AAAmB,EAAA,MAAM,EAAE;AAA3B,EADtC,CANJ,CAJJ,CADG;AAkBP,eAAe;AACXC,EAAAA,KAAK,EAAE,kBADI;AAEXC,EAAAA,SAAS,EAAEV,KAFA;AAGXW,EAAAA,UAAU,EAAE;AACRV,IAAAA;AADQ;AAHD,CAAf","sourcesContent":["import * as React from 'react';\nimport { boolean } from '@storybook/addon-knobs';\n\nimport Media from '../media';\n\nimport Ghost from './Ghost';\nimport notes from './Ghost.stories.md';\n\nexport const regular = () => <Ghost isAnimated={boolean('isAnimated', true)} />;\n\nexport const withoutAnimation = () => <Ghost isAnimated={false} />;\n\nexport const circle = () => <Ghost borderRadius=\"50%\" width={32} height={32} />;\n\nexport const rectangle = () => <Ghost width={100} height={32} />;\n\nexport const pill = () => <Ghost borderRadius={12} width={100} height={24} />;\n\nexport const complicatedLayout = () => (\n <Media style={{ maxWidth: 400 }}>\n <Media.Figure>\n <Ghost borderRadius=\"50%\" height={32} width={32} />\n </Media.Figure>\n <Media.Body>\n <p>\n <Ghost />\n <Ghost />\n <Ghost width=\"50%\" />\n </p>\n <p>\n <Ghost width={100} height={32} /> <Ghost width={100} height={32} />\n </p>\n </Media.Body>\n </Media>\n);\n\nexport default {\n title: 'Components/Ghost',\n component: Ghost,\n parameters: {\n notes,\n },\n};\n"],"file":"Ghost.stories.js"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/guide-tooltip/GuideTooltip.stories.tsx"],"names":["React","GuideTooltip","Button","FolderShared32","notes","testImageSrc","addSpacing","component","textAlign","allOptionsWithIcon","children","onClick","console","log","story","name","titleImageBody","noButtons","onlyTitleBody","onlyBody","title","parameters"],"mappings":"AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AAEA,OAAOC,YAAP,MAAyB,gBAAzB;AACA,OAAOC,MAAP,MAAmB,kBAAnB;AACA,OAAOC,cAAP,MAA2B,mCAA3B;AACA,OAAOC,KAAP,MAAkB,2BAAlB,C,CACA;;AACA,OAAOC,YAAP,MAAyB,kBAAzB;;AAEA,MAAMC,UAAU,GAAIC,SAAD,IAA4B;AAAK,EAAA,KAAK,EAAE;AAAEC,IAAAA,SAAS,EAAE;AAAb;AAAZ,GAAsCD,SAAtC,CAA/C;;AAEA,OAAO,MAAME,kBAAkB,GAAG,MAC9BH,UAAU,CACN,oBAAC,YAAD;AACI,EAAA,KAAK,EAAC,aADV;AAEI,EAAA,IAAI,EAAC,6HAFT;AAGI,EAAA,IAAI,EAAE,oBAAC,cAAD,OAHV;AAII,EAAA,KAAK,EAAE,CAAC,CAAD,EAAI,CAAJ;AACP;AALJ;AAMI,EAAA,kBAAkB,EAAE;AAAEI,IAAAA,QAAQ,EAAE,MAAZ;AAAoBC,IAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,MAAZ;AAAnC,GANxB;AAOI,EAAA,oBAAoB,EAAE;AAAEH,IAAAA,QAAQ,EAAE,MAAZ;AAAoBC,IAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,MAAZ;AAAnC;AACtB;;AARJ,GAUI,oBAAC,MAAD,kBAVJ,CADM,CADP;AAgBPJ,kBAAkB,CAACK,KAAnB,GAA2B;AACvBC,EAAAA,IAAI,EAAE;AADiB,CAA3B;AAIA,OAAO,MAAMC,cAAc,GAAG,MAC1BV,UAAU,CACN,oBAAC,YAAD;AACI,EAAA,KAAK,EAAC,aADV;AAEI,EAAA,IAAI,EAAC,6HAFT;AAGI,EAAA,KAAK,EAAE;AAAK,IAAA,GAAG,EAAED,YAAV;AAAwB,IAAA,GAAG,EAAC;AAA5B;AAHX,GAKI,oBAAC,MAAD,kBALJ,CADM,CADP;AAWPW,cAAc,CAACF,KAAf,GAAuB;AACnBC,EAAAA,IAAI,EAAE;AADa,CAAvB;AAIA,OAAO,MAAME,SAAS,GAAG,MACrBX,UAAU,CACN,oBAAC,YAAD;AACI,EAAA,KAAK,EAAC,aADV;AAEI,EAAA,IAAI,EAAC,6HAFT;AAGI,EAAA,IAAI,EAAE,oBAAC,cAAD,OAHV;AAII,EAAA,KAAK,EAAE,CAAC,CAAD,EAAI,CAAJ;AAJX,GAMI,oBAAC,MAAD,kBANJ,CADM,CADP;AAYPW,SAAS,CAACH,KAAV,GAAkB;AACdC,EAAAA,IAAI,EAAE;AADQ,CAAlB;AAIA,OAAO,MAAMG,aAAa,GAAG,MACzBZ,UAAU,CACN,oBAAC,YAAD;AACI,EAAA,KAAK,EAAC,aADV;AAEI,EAAA,IAAI,EAAC;AAFT,GAII,oBAAC,MAAD,kBAJJ,CADM,CADP;AAUPY,aAAa,CAACJ,KAAd,GAAsB;AAClBC,EAAAA,IAAI,EAAE;AADY,CAAtB;AAIA,OAAO,MAAMI,QAAQ,GAAG,MACpBb,UAAU,CACN,oBAAC,YAAD;AAAc,EAAA,IAAI,EAAC;AAAnB,GACI,oBAAC,MAAD,kBADJ,CADM,CADP;AAOPa,QAAQ,CAACL,KAAT,GAAiB;AACbC,EAAAA,IAAI,EAAE;AADO,CAAjB;AAIA,eAAe;AACXK,EAAAA,KAAK,EAAE,yBADI;AAEXb,EAAAA,SAAS,EAAEN,YAFA;AAGXoB,EAAAA,UAAU,EAAE;AACRjB,IAAAA;AADQ;AAHD,CAAf","sourcesContent":["import * as React from 'react';\n\nimport GuideTooltip from './GuideTooltip';\nimport Button from '../button/Button';\nimport FolderShared32 from '../../icon/content/FolderShared32';\nimport notes from './GuideTooltip.stories.md';\n// @ts-ignore flow import\nimport testImageSrc from './test-image.png';\n\nconst addSpacing = (component: JSX.Element) => <div style={{ textAlign: 'center' }}>{component}</div>;\n\nexport const allOptionsWithIcon = () =>\n addSpacing(\n <GuideTooltip\n title=\"Lorem Ipsum\"\n body=\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\"\n icon={<FolderShared32 />}\n steps={[1, 3]}\n /* eslint-disable no-console */\n primaryButtonProps={{ children: 'Next', onClick: () => console.log('next') }}\n secondaryButtonProps={{ children: 'Back', onClick: () => console.log('back') }}\n /* eslint-enable no-console */\n >\n <Button>example</Button>\n </GuideTooltip>,\n );\n\nallOptionsWithIcon.story = {\n name: 'body, icon, steps, title, next button, previous button',\n};\n\nexport const titleImageBody = () =>\n addSpacing(\n <GuideTooltip\n title=\"Lorem Ipsum\"\n body=\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\"\n image={<img src={testImageSrc} alt=\"Lorem ipsum dolor\" />}\n >\n <Button>example</Button>\n </GuideTooltip>,\n );\n\ntitleImageBody.story = {\n name: 'title, image, body',\n};\n\nexport const noButtons = () =>\n addSpacing(\n <GuideTooltip\n title=\"Lorem Ipsum\"\n body=\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\"\n icon={<FolderShared32 />}\n steps={[1, 3]}\n >\n <Button>example</Button>\n </GuideTooltip>,\n );\n\nnoButtons.story = {\n name: 'body, icon, steps, title',\n};\n\nexport const onlyTitleBody = () =>\n addSpacing(\n <GuideTooltip\n title=\"Lorem Ipsum\"\n body=\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\"\n >\n <Button>example</Button>\n </GuideTooltip>,\n );\n\nonlyTitleBody.story = {\n name: 'only title and body',\n};\n\nexport const onlyBody = () =>\n addSpacing(\n <GuideTooltip body=\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\">\n <Button>example</Button>\n </GuideTooltip>,\n );\n\nonlyBody.story = {\n name: 'only body',\n};\n\nexport default {\n title: 'Components
|
|
1
|
+
{"version":3,"sources":["../../../src/components/guide-tooltip/GuideTooltip.stories.tsx"],"names":["React","GuideTooltip","Button","FolderShared32","notes","testImageSrc","addSpacing","component","textAlign","allOptionsWithIcon","children","onClick","console","log","story","name","titleImageBody","noButtons","onlyTitleBody","onlyBody","title","parameters"],"mappings":"AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AAEA,OAAOC,YAAP,MAAyB,gBAAzB;AACA,OAAOC,MAAP,MAAmB,kBAAnB;AACA,OAAOC,cAAP,MAA2B,mCAA3B;AACA,OAAOC,KAAP,MAAkB,2BAAlB,C,CACA;;AACA,OAAOC,YAAP,MAAyB,kBAAzB;;AAEA,MAAMC,UAAU,GAAIC,SAAD,IAA4B;AAAK,EAAA,KAAK,EAAE;AAAEC,IAAAA,SAAS,EAAE;AAAb;AAAZ,GAAsCD,SAAtC,CAA/C;;AAEA,OAAO,MAAME,kBAAkB,GAAG,MAC9BH,UAAU,CACN,oBAAC,YAAD;AACI,EAAA,KAAK,EAAC,aADV;AAEI,EAAA,IAAI,EAAC,6HAFT;AAGI,EAAA,IAAI,EAAE,oBAAC,cAAD,OAHV;AAII,EAAA,KAAK,EAAE,CAAC,CAAD,EAAI,CAAJ;AACP;AALJ;AAMI,EAAA,kBAAkB,EAAE;AAAEI,IAAAA,QAAQ,EAAE,MAAZ;AAAoBC,IAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,MAAZ;AAAnC,GANxB;AAOI,EAAA,oBAAoB,EAAE;AAAEH,IAAAA,QAAQ,EAAE,MAAZ;AAAoBC,IAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,MAAZ;AAAnC;AACtB;;AARJ,GAUI,oBAAC,MAAD,kBAVJ,CADM,CADP;AAgBPJ,kBAAkB,CAACK,KAAnB,GAA2B;AACvBC,EAAAA,IAAI,EAAE;AADiB,CAA3B;AAIA,OAAO,MAAMC,cAAc,GAAG,MAC1BV,UAAU,CACN,oBAAC,YAAD;AACI,EAAA,KAAK,EAAC,aADV;AAEI,EAAA,IAAI,EAAC,6HAFT;AAGI,EAAA,KAAK,EAAE;AAAK,IAAA,GAAG,EAAED,YAAV;AAAwB,IAAA,GAAG,EAAC;AAA5B;AAHX,GAKI,oBAAC,MAAD,kBALJ,CADM,CADP;AAWPW,cAAc,CAACF,KAAf,GAAuB;AACnBC,EAAAA,IAAI,EAAE;AADa,CAAvB;AAIA,OAAO,MAAME,SAAS,GAAG,MACrBX,UAAU,CACN,oBAAC,YAAD;AACI,EAAA,KAAK,EAAC,aADV;AAEI,EAAA,IAAI,EAAC,6HAFT;AAGI,EAAA,IAAI,EAAE,oBAAC,cAAD,OAHV;AAII,EAAA,KAAK,EAAE,CAAC,CAAD,EAAI,CAAJ;AAJX,GAMI,oBAAC,MAAD,kBANJ,CADM,CADP;AAYPW,SAAS,CAACH,KAAV,GAAkB;AACdC,EAAAA,IAAI,EAAE;AADQ,CAAlB;AAIA,OAAO,MAAMG,aAAa,GAAG,MACzBZ,UAAU,CACN,oBAAC,YAAD;AACI,EAAA,KAAK,EAAC,aADV;AAEI,EAAA,IAAI,EAAC;AAFT,GAII,oBAAC,MAAD,kBAJJ,CADM,CADP;AAUPY,aAAa,CAACJ,KAAd,GAAsB;AAClBC,EAAAA,IAAI,EAAE;AADY,CAAtB;AAIA,OAAO,MAAMI,QAAQ,GAAG,MACpBb,UAAU,CACN,oBAAC,YAAD;AAAc,EAAA,IAAI,EAAC;AAAnB,GACI,oBAAC,MAAD,kBADJ,CADM,CADP;AAOPa,QAAQ,CAACL,KAAT,GAAiB;AACbC,EAAAA,IAAI,EAAE;AADO,CAAjB;AAIA,eAAe;AACXK,EAAAA,KAAK,EAAE,yBADI;AAEXb,EAAAA,SAAS,EAAEN,YAFA;AAGXoB,EAAAA,UAAU,EAAE;AACRjB,IAAAA;AADQ;AAHD,CAAf","sourcesContent":["import * as React from 'react';\n\nimport GuideTooltip from './GuideTooltip';\nimport Button from '../button/Button';\nimport FolderShared32 from '../../icon/content/FolderShared32';\nimport notes from './GuideTooltip.stories.md';\n// @ts-ignore flow import\nimport testImageSrc from './test-image.png';\n\nconst addSpacing = (component: JSX.Element) => <div style={{ textAlign: 'center' }}>{component}</div>;\n\nexport const allOptionsWithIcon = () =>\n addSpacing(\n <GuideTooltip\n title=\"Lorem Ipsum\"\n body=\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\"\n icon={<FolderShared32 />}\n steps={[1, 3]}\n /* eslint-disable no-console */\n primaryButtonProps={{ children: 'Next', onClick: () => console.log('next') }}\n secondaryButtonProps={{ children: 'Back', onClick: () => console.log('back') }}\n /* eslint-enable no-console */\n >\n <Button>example</Button>\n </GuideTooltip>,\n );\n\nallOptionsWithIcon.story = {\n name: 'body, icon, steps, title, next button, previous button',\n};\n\nexport const titleImageBody = () =>\n addSpacing(\n <GuideTooltip\n title=\"Lorem Ipsum\"\n body=\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\"\n image={<img src={testImageSrc} alt=\"Lorem ipsum dolor\" />}\n >\n <Button>example</Button>\n </GuideTooltip>,\n );\n\ntitleImageBody.story = {\n name: 'title, image, body',\n};\n\nexport const noButtons = () =>\n addSpacing(\n <GuideTooltip\n title=\"Lorem Ipsum\"\n body=\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\"\n icon={<FolderShared32 />}\n steps={[1, 3]}\n >\n <Button>example</Button>\n </GuideTooltip>,\n );\n\nnoButtons.story = {\n name: 'body, icon, steps, title',\n};\n\nexport const onlyTitleBody = () =>\n addSpacing(\n <GuideTooltip\n title=\"Lorem Ipsum\"\n body=\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\"\n >\n <Button>example</Button>\n </GuideTooltip>,\n );\n\nonlyTitleBody.story = {\n name: 'only title and body',\n};\n\nexport const onlyBody = () =>\n addSpacing(\n <GuideTooltip body=\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\">\n <Button>example</Button>\n </GuideTooltip>,\n );\n\nonlyBody.story = {\n name: 'only body',\n};\n\nexport default {\n title: 'Components/GuideTooltip',\n component: GuideTooltip,\n parameters: {\n notes,\n },\n};\n"],"file":"GuideTooltip.stories.js"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/header/Header.stories.tsx"],"names":["React","text","bdlBoxBlue","Header","notes","regular","color","title","component","parameters"],"mappings":"AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,SAASC,IAAT,QAAqB,wBAArB;AAEA,SAASC,UAAT,QAA2B,wBAA3B;AAEA,OAAOC,MAAP,MAAmB,UAAnB;AACA,OAAOC,KAAP,MAAkB,qBAAlB;AAEA,OAAO,MAAMC,OAAO,GAAG,MACnB,oBAAC,MAAD;AAAQ,EAAA,KAAK,EAAEJ,IAAI,CAAC,OAAD,EAAUC,UAAV;AAAnB,GACI;AAAI,EAAA,KAAK,EAAE;AAAEI,IAAAA,KAAK,EAAE;AAAT;AAAX,iBADJ,CADG;AAMP,eAAe;AACXC,EAAAA,KAAK,EAAE,mBADI;AAEXC,EAAAA,SAAS,EAAEL,MAFA;AAGXM,EAAAA,UAAU,EAAE;AACRL,IAAAA;AADQ;AAHD,CAAf","sourcesContent":["import * as React from 'react';\nimport { text } from '@storybook/addon-knobs';\n\nimport { bdlBoxBlue } from '../../styles/variables';\n\nimport Header from './Header';\nimport notes from './Header.stories.md';\n\nexport const regular = () => (\n <Header color={text('color', bdlBoxBlue)}>\n <h1 style={{ color: '#fff' }}>Lorem Ipsum</h1>\n </Header>\n);\n\nexport default {\n title: 'Components
|
|
1
|
+
{"version":3,"sources":["../../../src/components/header/Header.stories.tsx"],"names":["React","text","bdlBoxBlue","Header","notes","regular","color","title","component","parameters"],"mappings":"AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,SAASC,IAAT,QAAqB,wBAArB;AAEA,SAASC,UAAT,QAA2B,wBAA3B;AAEA,OAAOC,MAAP,MAAmB,UAAnB;AACA,OAAOC,KAAP,MAAkB,qBAAlB;AAEA,OAAO,MAAMC,OAAO,GAAG,MACnB,oBAAC,MAAD;AAAQ,EAAA,KAAK,EAAEJ,IAAI,CAAC,OAAD,EAAUC,UAAV;AAAnB,GACI;AAAI,EAAA,KAAK,EAAE;AAAEI,IAAAA,KAAK,EAAE;AAAT;AAAX,iBADJ,CADG;AAMP,eAAe;AACXC,EAAAA,KAAK,EAAE,mBADI;AAEXC,EAAAA,SAAS,EAAEL,MAFA;AAGXM,EAAAA,UAAU,EAAE;AACRL,IAAAA;AADQ;AAHD,CAAf","sourcesContent":["import * as React from 'react';\nimport { text } from '@storybook/addon-knobs';\n\nimport { bdlBoxBlue } from '../../styles/variables';\n\nimport Header from './Header';\nimport notes from './Header.stories.md';\n\nexport const regular = () => (\n <Header color={text('color', bdlBoxBlue)}>\n <h1 style={{ color: '#fff' }}>Lorem Ipsum</h1>\n </Header>\n);\n\nexport default {\n title: 'Components/Header',\n component: Header,\n parameters: {\n notes,\n },\n};\n"],"file":"Header.stories.js"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/image-tooltip/ImageTooltip.stories.tsx"],"names":["React","Button","ButtonType","testImageSrc","ImageTooltip","notes","basic","textAlign","BUTTON","title","component","parameters"],"mappings":"AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AAEA,OAAOC,MAAP,IAAiBC,UAAjB,QAAmC,kBAAnC,C,CAEA;;AACA,OAAOC,YAAP,MAAyB,mBAAzB;AACA,OAAOC,YAAP,MAAyB,gBAAzB;AACA,OAAOC,KAAP,MAAkB,2BAAlB;AAEA,OAAO,MAAMC,KAAK,GAAG,MACjB;AAAK,EAAA,KAAK,EAAE;AAAEC,IAAAA,SAAS,EAAE;AAAb;AAAZ,GACI,oBAAC,YAAD;AACI,EAAA,OAAO,EAAC,8EADZ;AAEI,EAAA,KAAK,EAAE;AAAK,IAAA,GAAG,EAAEJ,YAAV;AAAwB,IAAA,GAAG,EAAC;AAA5B,IAFX;AAGI,EAAA,OAAO,MAHX;AAII,EAAA,KAAK,EAAC;AAJV,GAMI,oBAAC,MAAD;AAAQ,EAAA,IAAI,EAAED,UAAU,CAACM;AAAzB,aANJ,CADJ,CADG;AAaP,eAAe;AACXC,EAAAA,KAAK,EAAE,yBADI;AAEXC,EAAAA,SAAS,EAAEN,YAFA;AAGXO,EAAAA,UAAU,EAAE;AACRN,IAAAA;AADQ;AAHD,CAAf","sourcesContent":["import * as React from 'react';\n\nimport Button, { ButtonType } from '../button/Button';\n\n// @ts-ignore flow import\nimport testImageSrc from './getTestImageSrc';\nimport ImageTooltip from './ImageTooltip';\nimport notes from './ImageTooltip.stories.md';\n\nexport const basic = () => (\n <div style={{ textAlign: 'center' }}>\n <ImageTooltip\n content=\"Lorem ipsum dolor sit amet, consec tetur adipiscing elit. Ut at semper nisl.\"\n image={<img src={testImageSrc} alt=\"Lorem ipsum dolor\" />}\n isShown\n title=\"Lorem ipsum dolor\"\n >\n <Button type={ButtonType.BUTTON}>Callout</Button>\n </ImageTooltip>\n </div>\n);\n\nexport default {\n title: 'Components
|
|
1
|
+
{"version":3,"sources":["../../../src/components/image-tooltip/ImageTooltip.stories.tsx"],"names":["React","Button","ButtonType","testImageSrc","ImageTooltip","notes","basic","textAlign","BUTTON","title","component","parameters"],"mappings":"AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AAEA,OAAOC,MAAP,IAAiBC,UAAjB,QAAmC,kBAAnC,C,CAEA;;AACA,OAAOC,YAAP,MAAyB,mBAAzB;AACA,OAAOC,YAAP,MAAyB,gBAAzB;AACA,OAAOC,KAAP,MAAkB,2BAAlB;AAEA,OAAO,MAAMC,KAAK,GAAG,MACjB;AAAK,EAAA,KAAK,EAAE;AAAEC,IAAAA,SAAS,EAAE;AAAb;AAAZ,GACI,oBAAC,YAAD;AACI,EAAA,OAAO,EAAC,8EADZ;AAEI,EAAA,KAAK,EAAE;AAAK,IAAA,GAAG,EAAEJ,YAAV;AAAwB,IAAA,GAAG,EAAC;AAA5B,IAFX;AAGI,EAAA,OAAO,MAHX;AAII,EAAA,KAAK,EAAC;AAJV,GAMI,oBAAC,MAAD;AAAQ,EAAA,IAAI,EAAED,UAAU,CAACM;AAAzB,aANJ,CADJ,CADG;AAaP,eAAe;AACXC,EAAAA,KAAK,EAAE,yBADI;AAEXC,EAAAA,SAAS,EAAEN,YAFA;AAGXO,EAAAA,UAAU,EAAE;AACRN,IAAAA;AADQ;AAHD,CAAf","sourcesContent":["import * as React from 'react';\n\nimport Button, { ButtonType } from '../button/Button';\n\n// @ts-ignore flow import\nimport testImageSrc from './getTestImageSrc';\nimport ImageTooltip from './ImageTooltip';\nimport notes from './ImageTooltip.stories.md';\n\nexport const basic = () => (\n <div style={{ textAlign: 'center' }}>\n <ImageTooltip\n content=\"Lorem ipsum dolor sit amet, consec tetur adipiscing elit. Ut at semper nisl.\"\n image={<img src={testImageSrc} alt=\"Lorem ipsum dolor\" />}\n isShown\n title=\"Lorem ipsum dolor\"\n >\n <Button type={ButtonType.BUTTON}>Callout</Button>\n </ImageTooltip>\n </div>\n);\n\nexport default {\n title: 'Components/ImageTooltip',\n component: ImageTooltip,\n parameters: {\n notes,\n },\n};\n"],"file":"ImageTooltip.stories.js"}
|
|
@@ -4,7 +4,7 @@ export const regular = () => React.createElement(InlineError, {
|
|
|
4
4
|
title: "Something bad happened"
|
|
5
5
|
}, "Username is required");
|
|
6
6
|
export default {
|
|
7
|
-
title: 'Components
|
|
7
|
+
title: 'Components/InlineError',
|
|
8
8
|
component: InlineError
|
|
9
9
|
};
|
|
10
10
|
//# sourceMappingURL=InlineError.stories.js.map
|
|
@@ -4,6 +4,6 @@ import InlineError from './InlineError';
|
|
|
4
4
|
export const regular = () => <InlineError title="Something bad happened">Username is required</InlineError>;
|
|
5
5
|
|
|
6
6
|
export default {
|
|
7
|
-
title: 'Components
|
|
7
|
+
title: 'Components/InlineError',
|
|
8
8
|
component: InlineError,
|
|
9
9
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/inline-error/InlineError.stories.js"],"names":["React","InlineError","regular","title","component"],"mappings":"AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,OAAOC,WAAP,MAAwB,eAAxB;AAEA,OAAO,MAAMC,OAAO,GAAG,MAAM,oBAAC,WAAD;AAAa,EAAA,KAAK,EAAC;AAAnB,0BAAtB;AAEP,eAAe;AACXC,EAAAA,KAAK,EAAE,wBADI;AAEXC,EAAAA,SAAS,EAAEH;AAFA,CAAf","sourcesContent":["import * as React from 'react';\nimport InlineError from './InlineError';\n\nexport const regular = () => <InlineError title=\"Something bad happened\">Username is required</InlineError>;\n\nexport default {\n title: 'Components
|
|
1
|
+
{"version":3,"sources":["../../../src/components/inline-error/InlineError.stories.js"],"names":["React","InlineError","regular","title","component"],"mappings":"AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,OAAOC,WAAP,MAAwB,eAAxB;AAEA,OAAO,MAAMC,OAAO,GAAG,MAAM,oBAAC,WAAD;AAAa,EAAA,KAAK,EAAC;AAAnB,0BAAtB;AAEP,eAAe;AACXC,EAAAA,KAAK,EAAE,wBADI;AAEXC,EAAAA,SAAS,EAAEH;AAFA,CAAf","sourcesContent":["import * as React from 'react';\nimport InlineError from './InlineError';\n\nexport const regular = () => <InlineError title=\"Something bad happened\">Username is required</InlineError>;\n\nexport default {\n title: 'Components/InlineError',\n component: InlineError,\n};\n"],"file":"InlineError.stories.js"}
|
|
@@ -29,7 +29,7 @@ export const withTitle = () => React.createElement("div", null, React.createElem
|
|
|
29
29
|
title: "Generic Title"
|
|
30
30
|
}, "This is a generic notice. You will just want to notice this."));
|
|
31
31
|
export default {
|
|
32
|
-
title: 'Components
|
|
32
|
+
title: 'Components/InlineNotice',
|
|
33
33
|
component: InlineNotice,
|
|
34
34
|
parameters: {
|
|
35
35
|
notes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/inline-notice/InlineNotice.stories.js"],"names":["React","InlineNotice","notes","withoutTitle","withTitle","title","component","parameters"],"mappings":"AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,OAAOC,YAAP,MAAyB,gBAAzB;AACA,OAAOC,KAAP,MAAkB,2BAAlB;AAEA,OAAO,MAAMC,YAAY,GAAG,MACxB,iCACI,oBAAC,YAAD;AAAc,EAAA,IAAI,EAAC;AAAnB,iBACc,8CADd,sDADJ,EAKI,oBAAC,YAAD;AAAc,EAAA,IAAI,EAAC;AAAnB,kBACe,4CADf,uDALJ,EASI,oBAAC,YAAD;AAAc,EAAA,IAAI,EAAC;AAAnB,iBACc,8CADd,uDATJ,EAaI,oBAAC,YAAD;AAAc,EAAA,IAAI,EAAC;AAAnB,kBACe,2CADf,oDAbJ,EAiBI,oBAAC,YAAD;AAAc,EAAA,IAAI,EAAC;AAAnB,kBACe,8CADf,6CAjBJ,CADG;AAwBP,OAAO,MAAMC,SAAS,GAAG,MACrB,iCACI,oBAAC,YAAD;AAAc,EAAA,IAAI,EAAC,SAAnB;AAA6B,EAAA,KAAK,EAAC;AAAnC,wEADJ,EAKI,oBAAC,YAAD;AAAc,EAAA,IAAI,EAAC,OAAnB;AAA2B,EAAA,KAAK,EAAC;AAAjC,wEALJ,EASI,oBAAC,YAAD;AAAc,EAAA,IAAI,EAAC,SAAnB;AAA6B,EAAA,KAAK,EAAC;AAAnC,yEATJ,EAaI,oBAAC,YAAD;AAAc,EAAA,IAAI,EAAC,MAAnB;AAA0B,EAAA,KAAK,EAAC;AAAhC,oEAbJ,EAiBI,oBAAC,YAAD;AAAc,EAAA,IAAI,EAAC,SAAnB;AAA6B,EAAA,KAAK,EAAC;AAAnC,kEAjBJ,CADG;AAwBP,eAAe;AACXC,EAAAA,KAAK,EAAE,yBADI;AAEXC,EAAAA,SAAS,EAAEL,YAFA;AAGXM,EAAAA,UAAU,EAAE;AACRL,IAAAA;AADQ;AAHD,CAAf","sourcesContent":["import * as React from 'react';\nimport InlineNotice from './InlineNotice';\nimport notes from './InlineNotice.stories.md';\n\nexport const withoutTitle = () => (\n <div>\n <InlineNotice type=\"warning\">\n This is a <strong>warning</strong> notice. You might want to pay attention to this.\n </InlineNotice>\n\n <InlineNotice type=\"error\">\n This is an <strong>error</strong> notice. You really want to pay attention to this.\n </InlineNotice>\n\n <InlineNotice type=\"success\">\n This is a <strong>success</strong> notice. You ought to feel really good about this.\n </InlineNotice>\n\n <InlineNotice type=\"info\">\n This is an <strong>info</strong> notice. You should get some context from this.\n </InlineNotice>\n\n <InlineNotice type=\"generic\">\n This is an <strong>generic</strong> notice. You will just want to see this.\n </InlineNotice>\n </div>\n);\n\nexport const withTitle = () => (\n <div>\n <InlineNotice type=\"warning\" title=\"Warning Title\">\n This is a warning notice. You might want to pay attention to this.\n </InlineNotice>\n\n <InlineNotice type=\"error\" title=\"Error Title\">\n This is an error notice. You really want to pay attention to this.\n </InlineNotice>\n\n <InlineNotice type=\"success\" title=\"Success Title\">\n This is a success notice. You ought to feel really good about this.\n </InlineNotice>\n\n <InlineNotice type=\"info\" title=\"Info Title\">\n This is an info notice. You should get some context from this.\n </InlineNotice>\n\n <InlineNotice type=\"generic\" title=\"Generic Title\">\n This is a generic notice. You will just want to notice this.\n </InlineNotice>\n </div>\n);\n\nexport default {\n title: 'Components
|
|
1
|
+
{"version":3,"sources":["../../../src/components/inline-notice/InlineNotice.stories.js"],"names":["React","InlineNotice","notes","withoutTitle","withTitle","title","component","parameters"],"mappings":"AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,OAAOC,YAAP,MAAyB,gBAAzB;AACA,OAAOC,KAAP,MAAkB,2BAAlB;AAEA,OAAO,MAAMC,YAAY,GAAG,MACxB,iCACI,oBAAC,YAAD;AAAc,EAAA,IAAI,EAAC;AAAnB,iBACc,8CADd,sDADJ,EAKI,oBAAC,YAAD;AAAc,EAAA,IAAI,EAAC;AAAnB,kBACe,4CADf,uDALJ,EASI,oBAAC,YAAD;AAAc,EAAA,IAAI,EAAC;AAAnB,iBACc,8CADd,uDATJ,EAaI,oBAAC,YAAD;AAAc,EAAA,IAAI,EAAC;AAAnB,kBACe,2CADf,oDAbJ,EAiBI,oBAAC,YAAD;AAAc,EAAA,IAAI,EAAC;AAAnB,kBACe,8CADf,6CAjBJ,CADG;AAwBP,OAAO,MAAMC,SAAS,GAAG,MACrB,iCACI,oBAAC,YAAD;AAAc,EAAA,IAAI,EAAC,SAAnB;AAA6B,EAAA,KAAK,EAAC;AAAnC,wEADJ,EAKI,oBAAC,YAAD;AAAc,EAAA,IAAI,EAAC,OAAnB;AAA2B,EAAA,KAAK,EAAC;AAAjC,wEALJ,EASI,oBAAC,YAAD;AAAc,EAAA,IAAI,EAAC,SAAnB;AAA6B,EAAA,KAAK,EAAC;AAAnC,yEATJ,EAaI,oBAAC,YAAD;AAAc,EAAA,IAAI,EAAC,MAAnB;AAA0B,EAAA,KAAK,EAAC;AAAhC,oEAbJ,EAiBI,oBAAC,YAAD;AAAc,EAAA,IAAI,EAAC,SAAnB;AAA6B,EAAA,KAAK,EAAC;AAAnC,kEAjBJ,CADG;AAwBP,eAAe;AACXC,EAAAA,KAAK,EAAE,yBADI;AAEXC,EAAAA,SAAS,EAAEL,YAFA;AAGXM,EAAAA,UAAU,EAAE;AACRL,IAAAA;AADQ;AAHD,CAAf","sourcesContent":["import * as React from 'react';\nimport InlineNotice from './InlineNotice';\nimport notes from './InlineNotice.stories.md';\n\nexport const withoutTitle = () => (\n <div>\n <InlineNotice type=\"warning\">\n This is a <strong>warning</strong> notice. You might want to pay attention to this.\n </InlineNotice>\n\n <InlineNotice type=\"error\">\n This is an <strong>error</strong> notice. You really want to pay attention to this.\n </InlineNotice>\n\n <InlineNotice type=\"success\">\n This is a <strong>success</strong> notice. You ought to feel really good about this.\n </InlineNotice>\n\n <InlineNotice type=\"info\">\n This is an <strong>info</strong> notice. You should get some context from this.\n </InlineNotice>\n\n <InlineNotice type=\"generic\">\n This is an <strong>generic</strong> notice. You will just want to see this.\n </InlineNotice>\n </div>\n);\n\nexport const withTitle = () => (\n <div>\n <InlineNotice type=\"warning\" title=\"Warning Title\">\n This is a warning notice. You might want to pay attention to this.\n </InlineNotice>\n\n <InlineNotice type=\"error\" title=\"Error Title\">\n This is an error notice. You really want to pay attention to this.\n </InlineNotice>\n\n <InlineNotice type=\"success\" title=\"Success Title\">\n This is a success notice. You ought to feel really good about this.\n </InlineNotice>\n\n <InlineNotice type=\"info\" title=\"Info Title\">\n This is an info notice. You should get some context from this.\n </InlineNotice>\n\n <InlineNotice type=\"generic\" title=\"Generic Title\">\n This is a generic notice. You will just want to notice this.\n </InlineNotice>\n </div>\n);\n\nexport default {\n title: 'Components/InlineNotice',\n component: InlineNotice,\n parameters: {\n notes,\n },\n};\n"],"file":"InlineNotice.stories.js"}
|
|
@@ -1,15 +1,21 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
|
|
3
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
4
|
+
|
|
5
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
6
|
+
|
|
1
7
|
import * as React from 'react';
|
|
2
8
|
import LabelPrimitive from './LabelPrimitive';
|
|
3
9
|
|
|
4
10
|
const HiddenLabel = (_ref) => {
|
|
5
11
|
let {
|
|
6
|
-
children
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}, children);
|
|
12
|
+
children
|
|
13
|
+
} = _ref,
|
|
14
|
+
rest = _objectWithoutProperties(_ref, ["children"]);
|
|
15
|
+
|
|
16
|
+
return React.createElement(LabelPrimitive, _extends({
|
|
17
|
+
className: "accessibility-hidden"
|
|
18
|
+
}, rest), children);
|
|
13
19
|
};
|
|
14
20
|
|
|
15
21
|
export default HiddenLabel;
|
|
@@ -8,10 +8,11 @@ const HIDDEN_CLASS_NAME = 'accessibility-hidden';
|
|
|
8
8
|
type Props = {
|
|
9
9
|
children: React.Node,
|
|
10
10
|
labelContent: React.Node,
|
|
11
|
+
labelElProps?: React.Element<'label'>,
|
|
11
12
|
};
|
|
12
13
|
|
|
13
|
-
const HiddenLabel = ({ children, labelContent }: Props) => (
|
|
14
|
-
<LabelPrimitive className={HIDDEN_CLASS_NAME} labelContent={labelContent}>
|
|
14
|
+
const HiddenLabel = ({ children, labelContent, labelElProps }: Props) => (
|
|
15
|
+
<LabelPrimitive className={HIDDEN_CLASS_NAME} labelContent={labelContent} labelElProps={labelElProps}>
|
|
15
16
|
{children}
|
|
16
17
|
</LabelPrimitive>
|
|
17
18
|
);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/label/HiddenLabel.tsx"],"names":["React","LabelPrimitive","HiddenLabel","children","
|
|
1
|
+
{"version":3,"sources":["../../../src/components/label/HiddenLabel.tsx"],"names":["React","LabelPrimitive","HiddenLabel","children","rest"],"mappings":";;;;;;AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AAEA,OAAOC,cAAP,MAA2B,kBAA3B;;AAWA,MAAMC,WAAW,GAAG;AAAA,MAAC;AAAEC,IAAAA;AAAF,GAAD;AAAA,MAAgBC,IAAhB;;AAAA,SAChB,oBAAC,cAAD;AAAgB,IAAA,SAAS,EAAC;AAA1B,KAAqDA,IAArD,GACKD,QADL,CADgB;AAAA,CAApB;;AAMA,eAAeD,WAAf","sourcesContent":["import * as React from 'react';\n\nimport LabelPrimitive from './LabelPrimitive';\n\nexport interface HiddenLabelProps {\n /** Child for the label */\n children: React.ReactElement;\n /** Text content of the label */\n labelContent: React.ReactNode;\n /** Optional props for the label element */\n labelElProps?: React.ComponentPropsWithoutRef<'label'>;\n}\n\nconst HiddenLabel = ({ children, ...rest }: HiddenLabelProps) => (\n <LabelPrimitive className=\"accessibility-hidden\" {...rest}>\n {children}\n </LabelPrimitive>\n);\n\nexport default HiddenLabel;\n"],"file":"HiddenLabel.js"}
|
|
@@ -21,6 +21,7 @@ const Label = (_ref) => {
|
|
|
21
21
|
let {
|
|
22
22
|
text,
|
|
23
23
|
tooltip,
|
|
24
|
+
labelElProps,
|
|
24
25
|
infoTooltip,
|
|
25
26
|
infoIconProps,
|
|
26
27
|
showOptionalText,
|
|
@@ -45,13 +46,15 @@ const Label = (_ref) => {
|
|
|
45
46
|
|
|
46
47
|
if (hideLabel) {
|
|
47
48
|
return React.createElement(HiddenLabel, {
|
|
48
|
-
labelContent: labelContent
|
|
49
|
+
labelContent: labelContent,
|
|
50
|
+
labelElProps: labelElProps
|
|
49
51
|
}, children);
|
|
50
52
|
}
|
|
51
53
|
|
|
52
54
|
return React.createElement(StandardLabel, {
|
|
53
55
|
labelContent: labelContent,
|
|
54
|
-
tooltip: tooltip
|
|
56
|
+
tooltip: tooltip,
|
|
57
|
+
labelElProps: labelElProps
|
|
55
58
|
}, children);
|
|
56
59
|
};
|
|
57
60
|
|
|
@@ -23,6 +23,8 @@ type Props = {
|
|
|
23
23
|
infoIconProps?: Object,
|
|
24
24
|
/** Tooltip text for the info icon */
|
|
25
25
|
infoTooltip?: React.Node,
|
|
26
|
+
/** Optional props for the label element */
|
|
27
|
+
labelElProps?: React.Element<'label'>,
|
|
26
28
|
/** Whether to show the `(Optional)` text next to the label for an optional field */
|
|
27
29
|
showOptionalText?: boolean,
|
|
28
30
|
/** The label text */
|
|
@@ -31,7 +33,7 @@ type Props = {
|
|
|
31
33
|
tooltip?: React.Node,
|
|
32
34
|
};
|
|
33
35
|
|
|
34
|
-
const Label = ({ text, tooltip, infoTooltip, infoIconProps, showOptionalText, hideLabel, children }: Props) => {
|
|
36
|
+
const Label = ({ text, tooltip, infoTooltip, labelElProps, infoIconProps, showOptionalText, hideLabel, children }: Props) => {
|
|
35
37
|
const labelContent = [
|
|
36
38
|
<span key="labelText">{text}</span>,
|
|
37
39
|
showOptionalText ? <OptionalFormattedMessage key="optionalMessage" /> : null,
|
|
@@ -48,11 +50,11 @@ const Label = ({ text, tooltip, infoTooltip, infoIconProps, showOptionalText, hi
|
|
|
48
50
|
}
|
|
49
51
|
|
|
50
52
|
if (hideLabel) {
|
|
51
|
-
return <HiddenLabel labelContent={labelContent}>{children}</HiddenLabel>;
|
|
53
|
+
return <HiddenLabel labelContent={labelContent} labelElProps={labelElProps}>{children}</HiddenLabel>;
|
|
52
54
|
}
|
|
53
55
|
|
|
54
56
|
return (
|
|
55
|
-
<StandardLabel labelContent={labelContent} tooltip={tooltip}>
|
|
57
|
+
<StandardLabel labelContent={labelContent} labelElProps={labelElProps} tooltip={tooltip}>
|
|
56
58
|
{children}
|
|
57
59
|
</StandardLabel>
|
|
58
60
|
);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/label/Label.tsx"],"names":["React","FormattedMessage","InfoIconWithTooltip","StandardLabel","HiddenLabel","commonMessages","OptionalFormattedMessage","optional","Label","text","tooltip","infoTooltip","infoIconProps","showOptionalText","hideLabel","children","labelContent","push","className"],"mappings":";;;;;;AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,SAASC,gBAAT,QAAiC,YAAjC;AAEA,OAAOC,mBAAP,MAAgC,uBAAhC;AACA,OAAOC,aAAP,MAA0B,iBAA1B;AACA,OAAOC,WAAP,MAAwB,eAAxB,C,CACA;;AACA,OAAOC,cAAP,MAA2B,uBAA3B;AAEA,OAAO,cAAP;;AAEA,MAAMC,wBAAwB,GAAG,MAC7B;AAAM,EAAA,SAAS,EAAC;AAAhB,QACK,oBAAC,gBAAD,EAAsBD,cAAc,CAACE,QAArC,CADL,MADJ;;
|
|
1
|
+
{"version":3,"sources":["../../../src/components/label/Label.tsx"],"names":["React","FormattedMessage","InfoIconWithTooltip","StandardLabel","HiddenLabel","commonMessages","OptionalFormattedMessage","optional","Label","text","tooltip","labelElProps","infoTooltip","infoIconProps","showOptionalText","hideLabel","children","labelContent","push","className"],"mappings":";;;;;;AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,SAASC,gBAAT,QAAiC,YAAjC;AAEA,OAAOC,mBAAP,MAAgC,uBAAhC;AACA,OAAOC,aAAP,MAA0B,iBAA1B;AACA,OAAOC,WAAP,MAAwB,eAAxB,C,CACA;;AACA,OAAOC,cAAP,MAA2B,uBAA3B;AAEA,OAAO,cAAP;;AAEA,MAAMC,wBAAwB,GAAG,MAC7B;AAAM,EAAA,SAAS,EAAC;AAAhB,QACK,oBAAC,gBAAD,EAAsBD,cAAc,CAACE,QAArC,CADL,MADJ;;AAyBA,MAAMC,KAAK,GAAG,UASI;AAAA,MATH;AACXC,IAAAA,IADW;AAEXC,IAAAA,OAFW;AAGXC,IAAAA,YAHW;AAIXC,IAAAA,WAJW;AAKXC,IAAAA,aALW;AAMXC,IAAAA,gBANW;AAOXC,IAAAA,SAPW;AAQXC,IAAAA;AARW,GASG;AACd,QAAMC,YAAY,GAAG,CACjB;AAAM,IAAA,GAAG,EAAC;AAAV,KAAuBR,IAAvB,CADiB,EAEjBK,gBAAgB,GAAG,oBAAC,wBAAD;AAA0B,IAAA,GAAG,EAAC;AAA9B,IAAH,GAAwD,IAFvD,CAArB;;AAKA,MAAIF,WAAJ,EAAiB;AACbK,IAAAA,YAAY,CAACC,IAAb,CACI,oBAAC,mBAAD;AACI,MAAA,GAAG,EAAC,aADR;AAEI,MAAA,SAAS;AAAIC,QAAAA,SAAS,EAAE;AAAf,SAAkCN,aAAlC,CAFb;AAGI,MAAA,WAAW,EAAED;AAHjB,MADJ;AAOH;;AAED,MAAIG,SAAJ,EAAe;AACX,WACI,oBAAC,WAAD;AAAa,MAAA,YAAY,EAAEE,YAA3B;AAAyC,MAAA,YAAY,EAAEN;AAAvD,OACKK,QADL,CADJ;AAKH;;AAED,SACI,oBAAC,aAAD;AAAe,IAAA,YAAY,EAAEC,YAA7B;AAA2C,IAAA,OAAO,EAAEP,OAApD;AAA6D,IAAA,YAAY,EAAEC;AAA3E,KACKK,QADL,CADJ;AAKH,CAtCD;;AAwCA,eAAeR,KAAf","sourcesContent":["import * as React from 'react';\nimport { FormattedMessage } from 'react-intl';\n\nimport InfoIconWithTooltip from './InfoIconWithTooltip';\nimport StandardLabel from './StandardLabel';\nimport HiddenLabel from './HiddenLabel';\n// @ts-ignore flow import\nimport commonMessages from '../../common/messages';\n\nimport './Label.scss';\n\nconst OptionalFormattedMessage = () => (\n <span className=\"label-optional bdl-Label-optional\">\n (<FormattedMessage {...commonMessages.optional} />)\n </span>\n);\n\nexport interface LabelProps {\n /** Child for the label */\n children: React.ReactElement;\n /** Whether the text of the label should be accessibly hidden */\n hideLabel?: boolean;\n /** Optional props for the icon */\n infoIconProps?: Record<string, any>; // eslint-disable-line @typescript-eslint/no-explicit-any\n /** Tooltip text for the info icon */\n infoTooltip?: React.ReactNode;\n /** Optional props for the label element */\n labelElProps?: React.ComponentPropsWithoutRef<'label'>;\n /** Whether to show the `(Optional)` text next to the label for an optional field */\n showOptionalText?: boolean;\n /** The label text */\n text: React.ReactNode;\n /** Optional tooltip text for the label */\n tooltip?: React.ReactNode;\n}\n\nconst Label = ({\n text,\n tooltip,\n labelElProps,\n infoTooltip,\n infoIconProps,\n showOptionalText,\n hideLabel,\n children,\n}: LabelProps) => {\n const labelContent = [\n <span key=\"labelText\">{text}</span>,\n showOptionalText ? <OptionalFormattedMessage key=\"optionalMessage\" /> : null,\n ];\n\n if (infoTooltip) {\n labelContent.push(\n <InfoIconWithTooltip\n key=\"infoTooltip\"\n iconProps={{ className: 'tooltip-icon', ...infoIconProps }}\n tooltipText={infoTooltip}\n />,\n );\n }\n\n if (hideLabel) {\n return (\n <HiddenLabel labelContent={labelContent} labelElProps={labelElProps}>\n {children}\n </HiddenLabel>\n );\n }\n\n return (\n <StandardLabel labelContent={labelContent} tooltip={tooltip} labelElProps={labelElProps}>\n {children}\n </StandardLabel>\n );\n};\n\nexport default Label;\n"],"file":"Label.js"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/label/Label.stories.tsx"],"names":["React","boolean","Label","notes","basic","withOptionalText","withInfoTooltip","title","component","parameters"],"mappings":"AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,SAASC,OAAT,QAAwB,wBAAxB;AAEA,OAAOC,KAAP,MAAkB,SAAlB;AACA,OAAOC,KAAP,MAAkB,oBAAlB;AAEA,OAAO,MAAMC,KAAK,GAAG,MACjB,oBAAC,KAAD;AAAO,EAAA,IAAI,EAAC,aAAZ;AAA0B,EAAA,OAAO,EAAC;AAAlC,GACI;AAAO,EAAA,IAAI,EAAC;AAAZ,EADJ,CADG;AAMP,OAAO,MAAMC,gBAAgB,GAAG,MAC5B,oBAAC,KAAD;AAAO,EAAA,IAAI,EAAC,aAAZ;AAA0B,EAAA,gBAAgB,EAAEJ,OAAO,CAAC,kBAAD,EAAqB,IAArB;AAAnD,GACI;AAAO,EAAA,IAAI,EAAC;AAAZ,EADJ,CADG;AAMP,OAAO,MAAMK,eAAe,GAAG,MAC3B,oBAAC,KAAD;AAAO,EAAA,IAAI,EAAC,aAAZ;AAA0B,EAAA,WAAW,EAAC;AAAtC,GACI;AAAO,EAAA,IAAI,EAAC;AAAZ,EADJ,CADG;AAMP,eAAe;AACXC,EAAAA,KAAK,EAAE,kBADI;AAEXC,EAAAA,SAAS,EAAEN,KAFA;AAGXO,EAAAA,UAAU,EAAE;AACRN,IAAAA;AADQ;AAHD,CAAf","sourcesContent":["import * as React from 'react';\nimport { boolean } from '@storybook/addon-knobs';\n\nimport Label from './Label';\nimport notes from './Label.stories.md';\n\nexport const basic = () => (\n <Label text=\"Input Label\" tooltip=\"This is an input label.\">\n <input type=\"text\" />\n </Label>\n);\n\nexport const withOptionalText = () => (\n <Label text=\"Input Label\" showOptionalText={boolean('showOptionalText', true)}>\n <input type=\"text\" />\n </Label>\n);\n\nexport const withInfoTooltip = () => (\n <Label text=\"Input Label\" infoTooltip=\"I stand above this icon\">\n <input type=\"text\" />\n </Label>\n);\n\nexport default {\n title: 'Components
|
|
1
|
+
{"version":3,"sources":["../../../src/components/label/Label.stories.tsx"],"names":["React","boolean","Label","notes","basic","withOptionalText","withInfoTooltip","title","component","parameters"],"mappings":"AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,SAASC,OAAT,QAAwB,wBAAxB;AAEA,OAAOC,KAAP,MAAkB,SAAlB;AACA,OAAOC,KAAP,MAAkB,oBAAlB;AAEA,OAAO,MAAMC,KAAK,GAAG,MACjB,oBAAC,KAAD;AAAO,EAAA,IAAI,EAAC,aAAZ;AAA0B,EAAA,OAAO,EAAC;AAAlC,GACI;AAAO,EAAA,IAAI,EAAC;AAAZ,EADJ,CADG;AAMP,OAAO,MAAMC,gBAAgB,GAAG,MAC5B,oBAAC,KAAD;AAAO,EAAA,IAAI,EAAC,aAAZ;AAA0B,EAAA,gBAAgB,EAAEJ,OAAO,CAAC,kBAAD,EAAqB,IAArB;AAAnD,GACI;AAAO,EAAA,IAAI,EAAC;AAAZ,EADJ,CADG;AAMP,OAAO,MAAMK,eAAe,GAAG,MAC3B,oBAAC,KAAD;AAAO,EAAA,IAAI,EAAC,aAAZ;AAA0B,EAAA,WAAW,EAAC;AAAtC,GACI;AAAO,EAAA,IAAI,EAAC;AAAZ,EADJ,CADG;AAMP,eAAe;AACXC,EAAAA,KAAK,EAAE,kBADI;AAEXC,EAAAA,SAAS,EAAEN,KAFA;AAGXO,EAAAA,UAAU,EAAE;AACRN,IAAAA;AADQ;AAHD,CAAf","sourcesContent":["import * as React from 'react';\nimport { boolean } from '@storybook/addon-knobs';\n\nimport Label from './Label';\nimport notes from './Label.stories.md';\n\nexport const basic = () => (\n <Label text=\"Input Label\" tooltip=\"This is an input label.\">\n <input type=\"text\" />\n </Label>\n);\n\nexport const withOptionalText = () => (\n <Label text=\"Input Label\" showOptionalText={boolean('showOptionalText', true)}>\n <input type=\"text\" />\n </Label>\n);\n\nexport const withInfoTooltip = () => (\n <Label text=\"Input Label\" infoTooltip=\"I stand above this icon\">\n <input type=\"text\" />\n </Label>\n);\n\nexport default {\n title: 'Components/Label',\n component: Label,\n parameters: {\n notes,\n },\n};\n"],"file":"Label.stories.js"}
|
|
@@ -11,11 +11,12 @@ const LabelPrimitive = (_ref) => {
|
|
|
11
11
|
let {
|
|
12
12
|
children,
|
|
13
13
|
className,
|
|
14
|
-
labelContent
|
|
14
|
+
labelContent,
|
|
15
|
+
labelElProps
|
|
15
16
|
} = _ref,
|
|
16
|
-
rest = _objectWithoutProperties(_ref, ["children", "className", "labelContent"]);
|
|
17
|
+
rest = _objectWithoutProperties(_ref, ["children", "className", "labelContent", "labelElProps"]);
|
|
17
18
|
|
|
18
|
-
return React.createElement("label",
|
|
19
|
+
return React.createElement("label", labelElProps, React.createElement("span", _extends({
|
|
19
20
|
className: classNames('label bdl-Label', className)
|
|
20
21
|
}, rest), labelContent), children);
|
|
21
22
|
};
|
|
@@ -6,10 +6,11 @@ type Props = {
|
|
|
6
6
|
children: React.Node,
|
|
7
7
|
className?: string,
|
|
8
8
|
labelContent: React.Node,
|
|
9
|
+
labelElProps?: React.Element<'label'>,
|
|
9
10
|
};
|
|
10
11
|
|
|
11
|
-
const LabelPrimitive = ({ children, className, labelContent, ...rest }: Props) => (
|
|
12
|
-
<label>
|
|
12
|
+
const LabelPrimitive = ({ children, className, labelContent, labelElProps, ...rest }: Props) => (
|
|
13
|
+
<label {...labelElProps}>
|
|
13
14
|
<span className={classNames('label bdl-Label', className)} {...rest}>
|
|
14
15
|
{labelContent}
|
|
15
16
|
</span>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/label/LabelPrimitive.tsx"],"names":["React","classNames","LabelPrimitive","children","className","labelContent","rest"],"mappings":";;;;;;AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,OAAOC,UAAP,MAAuB,YAAvB;;
|
|
1
|
+
{"version":3,"sources":["../../../src/components/label/LabelPrimitive.tsx"],"names":["React","classNames","LabelPrimitive","children","className","labelContent","labelElProps","rest"],"mappings":";;;;;;AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,OAAOC,UAAP,MAAuB,YAAvB;;AAaA,MAAMC,cAAc,GAAG;AAAA,MAAC;AAAEC,IAAAA,QAAF;AAAYC,IAAAA,SAAZ;AAAuBC,IAAAA,YAAvB;AAAqCC,IAAAA;AAArC,GAAD;AAAA,MAAuDC,IAAvD;;AAAA,SACnB,6BAAWD,YAAX,EACI;AAAM,IAAA,SAAS,EAAEL,UAAU,CAAC,iBAAD,EAAoBG,SAApB;AAA3B,KAA+DG,IAA/D,GACKF,YADL,CADJ,EAIKF,QAJL,CADmB;AAAA,CAAvB;;AASA,eAAeD,cAAf","sourcesContent":["import * as React from 'react';\nimport classNames from 'classnames';\n\nexport interface LabelPrimitiveProps {\n /** Child for the label */\n children: React.ReactElement;\n /** Custom class for the label */\n className?: string;\n /** Text content of the label */\n labelContent: React.ReactNode;\n /** Optional props for the label element */\n labelElProps?: React.ComponentPropsWithoutRef<'label'>;\n}\n\nconst LabelPrimitive = ({ children, className, labelContent, labelElProps, ...rest }: LabelPrimitiveProps) => (\n <label {...labelElProps}>\n <span className={classNames('label bdl-Label', className)} {...rest}>\n {labelContent}\n </span>\n {children}\n </label>\n);\n\nexport default LabelPrimitive;\n"],"file":"LabelPrimitive.js"}
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
2
|
+
|
|
3
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
4
|
+
|
|
1
5
|
import * as React from 'react';
|
|
2
6
|
import Tooltip, { TooltipPosition } from '../tooltip';
|
|
3
7
|
import LabelPrimitive from './LabelPrimitive';
|
|
@@ -5,12 +9,11 @@ import LabelPrimitive from './LabelPrimitive';
|
|
|
5
9
|
const StandardLabel = (_ref) => {
|
|
6
10
|
let {
|
|
7
11
|
children,
|
|
8
|
-
labelContent,
|
|
9
12
|
tooltip
|
|
10
|
-
} = _ref
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
13
|
+
} = _ref,
|
|
14
|
+
rest = _objectWithoutProperties(_ref, ["children", "tooltip"]);
|
|
15
|
+
|
|
16
|
+
const label = React.createElement(LabelPrimitive, rest, children);
|
|
14
17
|
return tooltip ? React.createElement(Tooltip, {
|
|
15
18
|
position: TooltipPosition.TOP_RIGHT,
|
|
16
19
|
text: tooltip
|
|
@@ -7,11 +7,12 @@ import LabelPrimitive from './LabelPrimitive';
|
|
|
7
7
|
type Props = {
|
|
8
8
|
children: React.Node,
|
|
9
9
|
labelContent: React.Node,
|
|
10
|
+
labelElProps?: React.Element<'label'>,
|
|
10
11
|
tooltip?: React.Node,
|
|
11
12
|
};
|
|
12
13
|
|
|
13
|
-
const StandardLabel = ({ children, labelContent, tooltip }: Props) => {
|
|
14
|
-
const label = <LabelPrimitive labelContent={labelContent}>{children}</LabelPrimitive>;
|
|
14
|
+
const StandardLabel = ({ children, labelContent, labelElProps, tooltip }: Props) => {
|
|
15
|
+
const label = <LabelPrimitive labelContent={labelContent} labelElProps={labelElProps}>{children}</LabelPrimitive>;
|
|
15
16
|
|
|
16
17
|
return tooltip ? (
|
|
17
18
|
<Tooltip position="top-right" text={tooltip}>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/label/StandardLabel.tsx"],"names":["React","Tooltip","TooltipPosition","LabelPrimitive","StandardLabel","children","
|
|
1
|
+
{"version":3,"sources":["../../../src/components/label/StandardLabel.tsx"],"names":["React","Tooltip","TooltipPosition","LabelPrimitive","StandardLabel","children","tooltip","rest","label","TOP_RIGHT"],"mappings":";;;;AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AAEA,OAAOC,OAAP,IAAkBC,eAAlB,QAAyC,YAAzC;AACA,OAAOC,cAAP,MAA2B,kBAA3B;;AAaA,MAAMC,aAAa,GAAG,UAAwD;AAAA,MAAvD;AAAEC,IAAAA,QAAF;AAAYC,IAAAA;AAAZ,GAAuD;AAAA,MAA/BC,IAA+B;;AAC1E,QAAMC,KAAK,GAAG,oBAAC,cAAD,EAAoBD,IAApB,EAA2BF,QAA3B,CAAd;AAEA,SAAOC,OAAO,GACV,oBAAC,OAAD;AAAS,IAAA,QAAQ,EAAEJ,eAAe,CAACO,SAAnC;AAA8C,IAAA,IAAI,EAAEH;AAApD,KACKE,KADL,CADU,GAKVA,KALJ;AAOH,CAVD;;AAYA,eAAeJ,aAAf","sourcesContent":["import * as React from 'react';\n\nimport Tooltip, { TooltipPosition } from '../tooltip';\nimport LabelPrimitive from './LabelPrimitive';\n\nexport interface StandardLabelProps {\n /** Child for the label */\n children: React.ReactElement;\n /** Text content of the label */\n labelContent: React.ReactNode;\n /** Optional props for the label element */\n labelElProps?: React.ComponentPropsWithoutRef<'label'>;\n /** Optional tooltip text for the label */\n tooltip?: React.ReactNode;\n}\n\nconst StandardLabel = ({ children, tooltip, ...rest }: StandardLabelProps) => {\n const label = <LabelPrimitive {...rest}>{children}</LabelPrimitive>;\n\n return tooltip ? (\n <Tooltip position={TooltipPosition.TOP_RIGHT} text={tooltip}>\n {label}\n </Tooltip>\n ) : (\n label\n );\n};\n\nexport default StandardLabel;\n"],"file":"StandardLabel.js"}
|
|
@@ -49,7 +49,7 @@ export const severalComponents = () => React.createElement("div", {
|
|
|
49
49
|
size: select(sizeLabel, sizeOptions, LabelPillSize.REGULAR)
|
|
50
50
|
}, React.createElement(LabelPill.Text, null, "SUCCESS")), ' ');
|
|
51
51
|
export default {
|
|
52
|
-
title: 'Components
|
|
52
|
+
title: 'Components/LabelPill',
|
|
53
53
|
subcomponents: {
|
|
54
54
|
'LabelPill.Pill': LabelPill.Pill,
|
|
55
55
|
'LabelPill.Text': LabelPill.Text,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/label-pill/LabelPill.stories.tsx"],"names":["React","select","Shield16","LabelPill","LabelPillStatus","LabelPillSize","notes","typeLabel","sizeLabel","typeOptions","DEFAULT","ALERT","ERROR","FTUX","HIGHLIGHT","INFO","SUCCESS","WARNING","sizeOptions","REGULAR","LARGE","withText","withIcon","withBoth","severalComponents","textAlign","title","subcomponents","Pill","Text","Icon","parameters"],"mappings":"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","sourcesContent":["import * as React from 'react';\nimport { select } from '@storybook/addon-knobs';\nimport Shield16 from '../../icon/line/Shield16';\nimport LabelPill, { LabelPillStatus, LabelPillSize } from './LabelPill';\nimport notes from './LabelPill.stories.md';\n\nconst typeLabel = '\"type\" Prop';\nconst sizeLabel = '\"size\" Prop';\n\nconst typeOptions: LabelPillStatus[] = [\n LabelPillStatus.DEFAULT,\n LabelPillStatus.ALERT,\n LabelPillStatus.ERROR,\n LabelPillStatus.FTUX,\n LabelPillStatus.HIGHLIGHT,\n LabelPillStatus.INFO,\n LabelPillStatus.SUCCESS,\n LabelPillStatus.WARNING,\n];\n\nconst sizeOptions: LabelPillSize[] = [LabelPillSize.REGULAR, LabelPillSize.LARGE];\n\nexport const withText = () => (\n <LabelPill.Pill\n type={select(typeLabel, typeOptions, LabelPillStatus.DEFAULT)}\n size={select(sizeLabel, sizeOptions, LabelPillSize.REGULAR)}\n >\n <LabelPill.Text>TEST TEXT</LabelPill.Text>\n </LabelPill.Pill>\n);\n\nexport const withIcon = () => (\n <LabelPill.Pill\n type={select(typeLabel, typeOptions, LabelPillStatus.DEFAULT)}\n size={select(sizeLabel, sizeOptions, LabelPillSize.REGULAR)}\n >\n <LabelPill.Icon Component={Shield16} />\n </LabelPill.Pill>\n);\n\nexport const withBoth = () => (\n <LabelPill.Pill\n type={select(typeLabel, typeOptions, LabelPillStatus.DEFAULT)}\n size={select(sizeLabel, sizeOptions, LabelPillSize.REGULAR)}\n >\n <LabelPill.Icon Component={Shield16} />\n <LabelPill.Text>TEST TEXT</LabelPill.Text>\n </LabelPill.Pill>\n);\n\nexport const severalComponents = () => (\n <div style={{ textAlign: 'center' }}>\n <LabelPill.Pill type={LabelPillStatus.WARNING} size={select(sizeLabel, sizeOptions, LabelPillSize.REGULAR)}>\n <LabelPill.Text>BETA</LabelPill.Text>\n </LabelPill.Pill>{' '}\n <LabelPill.Pill type={LabelPillStatus.INFO} size={select(sizeLabel, sizeOptions, LabelPillSize.REGULAR)}>\n <LabelPill.Text>IN PROGRESS</LabelPill.Text>\n </LabelPill.Pill>{' '}\n <LabelPill.Pill type={LabelPillStatus.WARNING} size={select(sizeLabel, sizeOptions, LabelPillSize.REGULAR)}>\n <LabelPill.Icon Component={Shield16} />\n <LabelPill.Text>CONFIDENTIAL</LabelPill.Text>\n </LabelPill.Pill>{' '}\n <LabelPill.Pill type={LabelPillStatus.FTUX} size={select(sizeLabel, sizeOptions, LabelPillSize.REGULAR)}>\n <LabelPill.Text>NEW</LabelPill.Text>\n </LabelPill.Pill>{' '}\n <LabelPill.Pill type={LabelPillStatus.ALERT} size={select(sizeLabel, sizeOptions, LabelPillSize.REGULAR)}>\n <LabelPill.Text>DUE JUL 9 AT 11:59 PM</LabelPill.Text>\n </LabelPill.Pill>{' '}\n <LabelPill.Pill type={LabelPillStatus.SUCCESS} size={select(sizeLabel, sizeOptions, LabelPillSize.REGULAR)}>\n <LabelPill.Text>SUCCESS</LabelPill.Text>\n </LabelPill.Pill>{' '}\n </div>\n);\n\nexport default {\n title: 'Components
|
|
1
|
+
{"version":3,"sources":["../../../src/components/label-pill/LabelPill.stories.tsx"],"names":["React","select","Shield16","LabelPill","LabelPillStatus","LabelPillSize","notes","typeLabel","sizeLabel","typeOptions","DEFAULT","ALERT","ERROR","FTUX","HIGHLIGHT","INFO","SUCCESS","WARNING","sizeOptions","REGULAR","LARGE","withText","withIcon","withBoth","severalComponents","textAlign","title","subcomponents","Pill","Text","Icon","parameters"],"mappings":"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","sourcesContent":["import * as React from 'react';\nimport { select } from '@storybook/addon-knobs';\nimport Shield16 from '../../icon/line/Shield16';\nimport LabelPill, { LabelPillStatus, LabelPillSize } from './LabelPill';\nimport notes from './LabelPill.stories.md';\n\nconst typeLabel = '\"type\" Prop';\nconst sizeLabel = '\"size\" Prop';\n\nconst typeOptions: LabelPillStatus[] = [\n LabelPillStatus.DEFAULT,\n LabelPillStatus.ALERT,\n LabelPillStatus.ERROR,\n LabelPillStatus.FTUX,\n LabelPillStatus.HIGHLIGHT,\n LabelPillStatus.INFO,\n LabelPillStatus.SUCCESS,\n LabelPillStatus.WARNING,\n];\n\nconst sizeOptions: LabelPillSize[] = [LabelPillSize.REGULAR, LabelPillSize.LARGE];\n\nexport const withText = () => (\n <LabelPill.Pill\n type={select(typeLabel, typeOptions, LabelPillStatus.DEFAULT)}\n size={select(sizeLabel, sizeOptions, LabelPillSize.REGULAR)}\n >\n <LabelPill.Text>TEST TEXT</LabelPill.Text>\n </LabelPill.Pill>\n);\n\nexport const withIcon = () => (\n <LabelPill.Pill\n type={select(typeLabel, typeOptions, LabelPillStatus.DEFAULT)}\n size={select(sizeLabel, sizeOptions, LabelPillSize.REGULAR)}\n >\n <LabelPill.Icon Component={Shield16} />\n </LabelPill.Pill>\n);\n\nexport const withBoth = () => (\n <LabelPill.Pill\n type={select(typeLabel, typeOptions, LabelPillStatus.DEFAULT)}\n size={select(sizeLabel, sizeOptions, LabelPillSize.REGULAR)}\n >\n <LabelPill.Icon Component={Shield16} />\n <LabelPill.Text>TEST TEXT</LabelPill.Text>\n </LabelPill.Pill>\n);\n\nexport const severalComponents = () => (\n <div style={{ textAlign: 'center' }}>\n <LabelPill.Pill type={LabelPillStatus.WARNING} size={select(sizeLabel, sizeOptions, LabelPillSize.REGULAR)}>\n <LabelPill.Text>BETA</LabelPill.Text>\n </LabelPill.Pill>{' '}\n <LabelPill.Pill type={LabelPillStatus.INFO} size={select(sizeLabel, sizeOptions, LabelPillSize.REGULAR)}>\n <LabelPill.Text>IN PROGRESS</LabelPill.Text>\n </LabelPill.Pill>{' '}\n <LabelPill.Pill type={LabelPillStatus.WARNING} size={select(sizeLabel, sizeOptions, LabelPillSize.REGULAR)}>\n <LabelPill.Icon Component={Shield16} />\n <LabelPill.Text>CONFIDENTIAL</LabelPill.Text>\n </LabelPill.Pill>{' '}\n <LabelPill.Pill type={LabelPillStatus.FTUX} size={select(sizeLabel, sizeOptions, LabelPillSize.REGULAR)}>\n <LabelPill.Text>NEW</LabelPill.Text>\n </LabelPill.Pill>{' '}\n <LabelPill.Pill type={LabelPillStatus.ALERT} size={select(sizeLabel, sizeOptions, LabelPillSize.REGULAR)}>\n <LabelPill.Text>DUE JUL 9 AT 11:59 PM</LabelPill.Text>\n </LabelPill.Pill>{' '}\n <LabelPill.Pill type={LabelPillStatus.SUCCESS} size={select(sizeLabel, sizeOptions, LabelPillSize.REGULAR)}>\n <LabelPill.Text>SUCCESS</LabelPill.Text>\n </LabelPill.Pill>{' '}\n </div>\n);\n\nexport default {\n title: 'Components/LabelPill',\n subcomponents: {\n 'LabelPill.Pill': LabelPill.Pill,\n 'LabelPill.Text': LabelPill.Text,\n 'LabePill.Icon': LabelPill.Icon,\n },\n parameters: {\n notes,\n },\n};\n"],"file":"LabelPill.stories.js"}
|
|
@@ -21,9 +21,11 @@ export const withCustomComponent = () => {
|
|
|
21
21
|
} = _ref,
|
|
22
22
|
rest = _objectWithoutProperties(_ref, ["href", "children"]);
|
|
23
23
|
|
|
24
|
-
return
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
return (// @ts-ignore TODO: figure out why this is giving a TS error
|
|
25
|
+
React.createElement(RouterLink, _extends({
|
|
26
|
+
to: href
|
|
27
|
+
}, rest), children)
|
|
28
|
+
);
|
|
27
29
|
};
|
|
28
30
|
|
|
29
31
|
return React.createElement(Router, null, React.createElement(Link, {
|
|
@@ -32,7 +34,7 @@ export const withCustomComponent = () => {
|
|
|
32
34
|
}, "A link"));
|
|
33
35
|
};
|
|
34
36
|
export default {
|
|
35
|
-
title: 'Components
|
|
37
|
+
title: 'Components/Links/Link',
|
|
36
38
|
component: Link,
|
|
37
39
|
parameters: {
|
|
38
40
|
notes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/components/link/stories/Link.stories.tsx"],"names":["React","BrowserRouter","Router","Link","RouterLink","notes","basic","withCustomComponent","CustomRouterLink","href","children","rest","title","component","parameters"],"mappings":";;;;;;AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,SAASC,aAAa,IAAIC,MAA1B,EAAkCC,IAAI,IAAIC,UAA1C,QAA0F,kBAA1F;AAEA,OAAOD,IAAP,MAAiB,SAAjB;AACA,OAAOE,KAAP,MAAkB,mBAAlB;AAEA,OAAO,MAAMC,KAAK,GAAG,MAAM,oBAAC,IAAD;AAAM,EAAA,IAAI,EAAC;AAAX,YAApB;AAEP,OAAO,MAAMC,mBAAmB,GAAG,MAAM;AACrC;AACA;AAEA,QAAMC,gBAAgB,GAAG;AAAA,QAAC;AAAEC,MAAAA,IAAF;AAAQC,MAAAA;AAAR,KAAD;AAAA,QAAsBC,IAAtB;;AAAA,WACrB,
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/link/stories/Link.stories.tsx"],"names":["React","BrowserRouter","Router","Link","RouterLink","notes","basic","withCustomComponent","CustomRouterLink","href","children","rest","title","component","parameters"],"mappings":";;;;;;AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,SAASC,aAAa,IAAIC,MAA1B,EAAkCC,IAAI,IAAIC,UAA1C,QAA0F,kBAA1F;AAEA,OAAOD,IAAP,MAAiB,SAAjB;AACA,OAAOE,KAAP,MAAkB,mBAAlB;AAEA,OAAO,MAAMC,KAAK,GAAG,MAAM,oBAAC,IAAD;AAAM,EAAA,IAAI,EAAC;AAAX,YAApB;AAEP,OAAO,MAAMC,mBAAmB,GAAG,MAAM;AACrC;AACA;AAEA,QAAMC,gBAAgB,GAAG;AAAA,QAAC;AAAEC,MAAAA,IAAF;AAAQC,MAAAA;AAAR,KAAD;AAAA,QAAsBC,IAAtB;;AAAA,WACrB;AACA,0BAAC,UAAD;AAAY,QAAA,EAAE,EAAEF;AAAhB,SAA0BE,IAA1B,GACKD,QADL;AAFqB;AAAA,GAAzB;;AAOA,SACI,oBAAC,MAAD,QACI,oBAAC,IAAD;AAAM,IAAA,SAAS,EAAEF,gBAAjB;AAAmC,IAAA,IAAI,EAAC;AAAxC,cADJ,CADJ;AAOH,CAlBM;AAoBP,eAAe;AACXI,EAAAA,KAAK,EAAE,uBADI;AAEXC,EAAAA,SAAS,EAAEV,IAFA;AAGXW,EAAAA,UAAU,EAAE;AACRT,IAAAA;AADQ;AAHD,CAAf","sourcesContent":["import * as React from 'react';\nimport { BrowserRouter as Router, Link as RouterLink, LinkProps as RouterLinkProps } from 'react-router-dom';\n\nimport Link from '../Link';\nimport notes from './Link.stories.md';\n\nexport const basic = () => <Link href=\"https://www.box.com/platform\">A link</Link>;\n\nexport const withCustomComponent = () => {\n // You can pass a custom component to be used instead of the default \"a\" tag, like a React Router link:\n // import { BrowserRouter as Router, Link as RouterLink, LinkProps as RouterLinkProps } from 'react-router-dom';\n\n const CustomRouterLink = ({ href, children, ...rest }: RouterLinkProps) => (\n // @ts-ignore TODO: figure out why this is giving a TS error\n <RouterLink to={href} {...rest}>\n {children}\n </RouterLink>\n );\n\n return (\n <Router>\n <Link component={CustomRouterLink} href=\"/\">\n A link\n </Link>\n </Router>\n );\n};\n\nexport default {\n title: 'Components/Links/Link',\n component: Link,\n parameters: {\n notes,\n },\n};\n"],"file":"Link.stories.js"}
|