box-ui-elements 15.0.0-beta.7 → 15.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/CONTRIBUTING.md +3 -1
- package/dist/explorer.css +1 -1
- package/dist/explorer.js +58 -26
- package/dist/openwith.css +1 -1
- package/dist/openwith.js +10 -17
- package/dist/picker.css +1 -1
- package/dist/picker.js +12 -19
- package/dist/preview.css +1 -1
- package/dist/preview.js +56 -24
- package/dist/sharing.css +1 -1
- package/dist/sharing.js +54 -22
- package/dist/sidebar.css +1 -1
- package/dist/sidebar.js +56 -24
- package/dist/uploader.css +1 -1
- package/dist/uploader.js +12 -19
- package/es/api/uploads/UploadsReachability.js.flow +2 -2
- package/es/api/uploads/UploadsReachability.js.map +1 -1
- package/es/common/messages.js +4 -0
- package/es/common/messages.js.flow +5 -0
- package/es/common/messages.js.map +1 -1
- package/es/common/types/core.js.flow +2 -0
- package/es/common/types/core.js.map +1 -1
- package/es/components/avatar/UnknownUserAvatar.js +6 -9
- package/es/components/avatar/UnknownUserAvatar.js.map +1 -1
- package/es/components/close-button/CloseButton.js +24 -0
- package/es/components/close-button/CloseButton.js.flow +26 -0
- package/es/components/close-button/CloseButton.js.map +1 -0
- package/es/components/close-button/CloseButton.scss +10 -0
- package/es/components/close-button/CloseButton.stories.js +14 -0
- package/es/components/close-button/CloseButton.stories.js.map +1 -0
- package/es/components/close-button/index.js +2 -0
- package/es/components/close-button/index.js.flow +2 -0
- package/es/components/close-button/index.js.map +1 -0
- package/es/components/date-picker/AccessiblePikaday.js +113 -0
- package/es/components/date-picker/AccessiblePikaday.js.map +1 -0
- package/es/components/date-picker/DatePicker.js +426 -106
- package/es/components/date-picker/DatePicker.js.map +1 -1
- package/es/components/date-picker/DatePicker.scss +32 -22
- package/es/components/date-picker/DatePicker.stories.js +10 -0
- package/es/components/date-picker/DatePicker.stories.js.map +1 -1
- package/es/components/date-picker/_pikaday.scss +8 -2
- package/es/components/flyout/Flyout.js +13 -3
- package/es/components/flyout/Flyout.js.flow +14 -3
- package/es/components/flyout/Flyout.js.map +1 -1
- package/es/components/flyout/Flyout.scss +40 -0
- package/es/components/flyout/FlyoutContext.js +6 -0
- package/es/components/flyout/FlyoutContext.js.flow +9 -0
- package/es/components/flyout/FlyoutContext.js.map +1 -0
- package/es/components/flyout/OverlayHeader.js +33 -0
- package/es/components/flyout/OverlayHeader.js.map +1 -0
- package/es/components/flyout/OverlayHeader.scss +9 -0
- package/es/components/flyout/_variables.scss +1 -0
- package/es/components/flyout/index.js +2 -0
- package/es/components/flyout/index.js.flow +2 -0
- package/es/components/flyout/index.js.map +1 -1
- package/es/components/image-tooltip/ImageTooltip.js +1 -2
- package/es/components/image-tooltip/ImageTooltip.js.map +1 -1
- package/es/components/media-query/constants.js +26 -0
- package/es/components/media-query/constants.js.flow +32 -0
- package/es/components/media-query/constants.js.map +1 -0
- package/es/components/media-query/index.js +3 -0
- package/es/components/media-query/index.js.flow +4 -0
- package/es/components/media-query/index.js.map +1 -0
- package/es/components/media-query/stories/MediaQuery.stories.js +37 -0
- package/es/components/media-query/stories/MediaQuery.stories.js.flow +80 -0
- package/es/components/media-query/stories/MediaQuery.stories.js.map +1 -0
- package/es/components/media-query/types.js +2 -0
- package/es/components/media-query/types.js.flow +29 -0
- package/es/components/media-query/types.js.map +1 -0
- package/es/components/media-query/useMediaQuery.js +91 -0
- package/es/components/media-query/useMediaQuery.js.flow +97 -0
- package/es/components/media-query/useMediaQuery.js.map +1 -0
- package/es/components/media-query/withMediaQuery.js +21 -0
- package/es/components/media-query/withMediaQuery.js.flow +23 -0
- package/es/components/media-query/withMediaQuery.js.map +1 -0
- package/es/components/modal/Modal.scss +27 -0
- package/es/components/preview/previewIcons.js +4 -0
- package/es/components/preview/previewIcons.js.map +1 -1
- package/es/components/search-form/SearchForm.scss +0 -5
- package/es/components/selector-dropdown/SelectorDropdown.js +5 -3
- package/es/components/selector-dropdown/SelectorDropdown.js.flow +3 -3
- package/es/components/selector-dropdown/SelectorDropdown.js.map +1 -1
- package/es/components/tab-view/Tabs.scss +0 -4
- package/es/components/tooltip/Tooltip.js +21 -4
- package/es/components/tooltip/Tooltip.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/content-open-with/IconFileMap.js +0 -2
- package/es/elements/content-open-with/IconFileMap.js.flow +0 -2
- package/es/elements/content-open-with/IconFileMap.js.map +1 -1
- package/es/elements/content-sidebar/Sidebar.js +2 -1
- package/es/elements/content-sidebar/Sidebar.js.flow +1 -1
- package/es/elements/content-sidebar/Sidebar.js.map +1 -1
- package/es/elements/content-sidebar/activity-feed/common/delete-confirmation/DeleteConfirmation.scss +3 -3
- package/es/elements/content-sidebar/activity-feed/task-form/TaskForm.js +14 -4
- package/es/elements/content-sidebar/activity-feed/task-form/TaskForm.js.flow +18 -5
- package/es/elements/content-sidebar/activity-feed/task-form/TaskForm.js.map +1 -1
- package/es/elements/content-sidebar/versions/StaticVersionSidebar.js +78 -0
- package/es/elements/content-sidebar/versions/StaticVersionSidebar.js.flow +97 -0
- package/es/elements/content-sidebar/versions/StaticVersionSidebar.js.map +1 -0
- package/es/elements/content-sidebar/versions/StaticVersionsSidebar.scss +67 -0
- package/es/elements/content-sidebar/versions/VersionsSidebar.js +12 -4
- package/es/elements/content-sidebar/versions/VersionsSidebar.js.flow +16 -3
- package/es/elements/content-sidebar/versions/VersionsSidebar.js.map +1 -1
- package/es/elements/content-sidebar/versions/VersionsSidebar.scss +5 -0
- package/es/elements/content-sidebar/versions/VersionsSidebarContainer.js +42 -10
- package/es/elements/content-sidebar/versions/VersionsSidebarContainer.js.flow +42 -7
- package/es/elements/content-sidebar/versions/VersionsSidebarContainer.js.map +1 -1
- package/es/elements/content-sidebar/versions/flowTypes.js.flow +1 -0
- package/es/elements/content-sidebar/versions/messages.js +20 -0
- package/es/elements/content-sidebar/versions/messages.js.flow +28 -0
- package/es/elements/content-sidebar/versions/messages.js.map +1 -1
- package/es/features/classification/constants.js +2 -1
- package/es/features/classification/constants.js.flow +2 -0
- package/es/features/classification/constants.js.map +1 -1
- package/es/features/classification/flowTypes.js +1 -0
- package/es/features/classification/flowTypes.js.flow +7 -1
- package/es/features/classification/flowTypes.js.map +1 -1
- package/es/features/classification/security-controls/SecurityControls.js +3 -4
- package/es/features/classification/security-controls/SecurityControls.js.flow +3 -4
- package/es/features/classification/security-controls/SecurityControls.js.map +1 -1
- package/es/features/classification/security-controls/SecurityControlsItem.js +1 -1
- package/es/features/classification/security-controls/SecurityControlsItem.js.flow +20 -17
- package/es/features/classification/security-controls/SecurityControlsItem.js.map +1 -1
- package/es/features/classification/security-controls/SecurityControlsItem.scss +4 -0
- package/es/features/classification/security-controls/SecurityControlsModal.js +2 -2
- package/es/features/classification/security-controls/SecurityControlsModal.js.flow +2 -2
- package/es/features/classification/security-controls/SecurityControlsModal.js.map +1 -1
- package/es/features/classification/security-controls/messages.js +4 -0
- package/es/features/classification/security-controls/messages.js.flow +5 -0
- package/es/features/classification/security-controls/messages.js.map +1 -1
- package/es/features/classification/security-controls/utils.js +56 -35
- package/es/features/classification/security-controls/utils.js.flow +51 -27
- package/es/features/classification/security-controls/utils.js.map +1 -1
- package/es/features/collapsible-sidebar/CollapsibleSidebar.js +9 -3
- package/es/features/collapsible-sidebar/CollapsibleSidebar.js.flow +13 -5
- package/es/features/collapsible-sidebar/CollapsibleSidebar.js.map +1 -1
- package/es/features/collapsible-sidebar/CollapsibleSidebar.scss +35 -3
- package/es/features/content-explorer/content-explorer/ContentExplorer.scss +1 -1
- package/es/features/content-explorer/item-list/ItemList.js +1 -0
- package/es/features/content-explorer/item-list/ItemList.js.flow +1 -0
- package/es/features/content-explorer/item-list/ItemList.js.map +1 -1
- package/es/features/content-explorer/item-list/ItemListName.js +13 -2
- package/es/features/content-explorer/item-list/ItemListName.js.flow +3 -2
- package/es/features/content-explorer/item-list/ItemListName.js.map +1 -1
- package/es/features/header-flyout/HeaderFlyout.js +8 -10
- package/es/features/header-flyout/HeaderFlyout.js.flow +4 -8
- package/es/features/header-flyout/HeaderFlyout.js.map +1 -1
- package/es/features/header-flyout/styles/HeaderFlyout.scss +54 -15
- package/es/features/header-flyout/styles/_variables.scss +4 -0
- package/es/features/message-center/components/message-center-modal/MessageCenterModal.js +1 -0
- package/es/features/message-center/components/message-center-modal/MessageCenterModal.js.flow +1 -0
- package/es/features/message-center/components/message-center-modal/MessageCenterModal.js.map +1 -1
- package/es/features/presence/PresenceCollaborator.js +90 -0
- package/es/features/presence/PresenceCollaborator.js.flow +81 -0
- package/es/features/presence/PresenceCollaborator.js.map +1 -0
- package/es/features/presence/PresenceCollaborator.scss +28 -0
- package/es/features/presence/PresenceCollaboratorsList.js +9 -57
- package/es/features/presence/PresenceCollaboratorsList.js.flow +7 -58
- package/es/features/presence/PresenceCollaboratorsList.js.map +1 -1
- package/es/features/presence/PresenceCollaboratorsList.scss +8 -35
- package/es/features/quick-search/QuickSearch.js +4 -2
- package/es/features/quick-search/QuickSearch.js.flow +13 -1
- package/es/features/quick-search/QuickSearch.js.map +1 -1
- package/es/features/unified-share-modal/SharedLinkSection.js +9 -20
- package/es/features/unified-share-modal/SharedLinkSection.js.flow +6 -27
- package/es/features/unified-share-modal/SharedLinkSection.js.map +1 -1
- package/es/features/unified-share-modal/UnifiedShareForm.js +95 -53
- package/es/features/unified-share-modal/UnifiedShareForm.js.flow +70 -14
- package/es/features/unified-share-modal/UnifiedShareForm.js.map +1 -1
- package/es/features/unified-share-modal/UnifiedShareModal.scss +3 -0
- package/es/features/unified-share-modal/flowTypes.js.flow +6 -0
- package/es/features/unified-share-modal/flowTypes.js.map +1 -1
- package/es/features/unified-share-modal/messages.js +8 -0
- package/es/features/unified-share-modal/messages.js.flow +10 -0
- package/es/features/unified-share-modal/messages.js.map +1 -1
- package/es/features/unified-share-modal/utils/mergeContacts.js +13 -10
- package/es/features/unified-share-modal/utils/mergeContacts.js.flow +4 -2
- package/es/features/unified-share-modal/utils/mergeContacts.js.map +1 -1
- package/es/icon/content/FileXbd32.js +39 -0
- package/es/icon/content/FileXbd32.js.flow +38 -0
- package/es/icon/content/FileXbd32.js.map +1 -0
- package/es/icon/content/FileXbd32.stories.js +13 -0
- package/es/icon/content/FileXbd32.stories.js.map +1 -0
- package/es/icon/content/FileXdw32.js +39 -0
- package/es/icon/content/FileXdw32.js.flow +38 -0
- package/es/icon/content/FileXdw32.js.map +1 -0
- package/es/icon/content/FileXdw32.stories.js +13 -0
- package/es/icon/content/FileXdw32.stories.js.map +1 -0
- package/es/icon/content/RetentionPolicyModifiable32.js +36 -0
- package/es/icon/content/RetentionPolicyModifiable32.js.flow +31 -0
- package/es/icon/content/RetentionPolicyModifiable32.js.map +1 -0
- package/es/icon/content/RetentionPolicyModifiable32.stories.js +13 -0
- package/es/icon/content/RetentionPolicyModifiable32.stories.js.map +1 -0
- package/es/icon/content/RetentionPolicyNonModifiable32.js +36 -0
- package/es/icon/content/RetentionPolicyNonModifiable32.js.flow +31 -0
- package/es/icon/content/RetentionPolicyNonModifiable32.js.map +1 -0
- package/es/icon/content/RetentionPolicyNonModifiable32.stories.js +13 -0
- package/es/icon/content/RetentionPolicyNonModifiable32.stories.js.map +1 -0
- package/es/icons/avatars/UnknownUserAvatar.js +10 -34
- package/es/icons/avatars/UnknownUserAvatar.js.map +1 -1
- package/es/icons/file-icon/FileIcon.js +8 -2
- package/es/icons/file-icon/FileIcon.js.flow +2 -2
- package/es/icons/file-icon/FileIcon.js.map +1 -1
- package/es/icons/general/IconSearch.js +1 -1
- package/es/icons/general/IconSearch.js.flow +1 -1
- package/es/icons/general/IconSearch.js.map +1 -1
- package/es/icons/general/IconSearchJuicy.js +30 -0
- package/es/icons/general/IconSearchJuicy.js.flow +26 -0
- package/es/icons/general/IconSearchJuicy.js.map +1 -0
- package/es/icons/google-docs/IconGoogle.js +89 -0
- package/es/icons/google-docs/IconGoogle.js.flow +57 -0
- package/es/icons/google-docs/IconGoogle.js.map +1 -0
- package/es/icons/item-icon/ItemIcon.js +4 -0
- package/es/icons/item-icon/ItemIcon.js.map +1 -1
- package/es/icons/microsoft-office/IconOffice.js +80 -0
- package/es/icons/microsoft-office/IconOffice.js.flow +45 -0
- package/es/icons/microsoft-office/IconOffice.js.map +1 -0
- package/es/illustration/EmailVerification140.js +111 -0
- package/es/illustration/EmailVerification140.js.flow +102 -0
- package/es/illustration/EmailVerification140.js.map +1 -0
- package/es/illustration/EmailVerification140.stories.js +13 -0
- package/es/illustration/EmailVerification140.stories.js.map +1 -0
- package/es/src/components/close-button/CloseButton.d.ts +9 -0
- package/es/src/components/close-button/CloseButton.stories.d.ts +9 -0
- package/es/src/components/close-button/__tests__/CloseButton.stories.test.d.ts +0 -0
- package/es/src/components/close-button/__tests__/CloseButton.test.d.ts +1 -0
- package/es/src/components/close-button/index.d.ts +1 -0
- package/es/src/components/date-picker/AccessiblePikaday.d.ts +16 -0
- package/es/src/components/date-picker/DatePicker.d.ts +33 -6
- package/es/src/components/date-picker/DatePicker.stories.d.ts +2 -1
- package/es/src/components/flyout/OverlayHeader.d.ts +10 -0
- package/es/src/components/tooltip/Tooltip.d.ts +4 -3
- package/es/src/icon/content/FileXbd32.d.ts +13 -0
- package/es/src/icon/content/FileXbd32.stories.d.ts +9 -0
- package/es/src/icon/content/FileXdw32.d.ts +13 -0
- package/es/src/icon/content/FileXdw32.stories.d.ts +9 -0
- package/es/src/icon/content/RetentionPolicyModifiable32.d.ts +13 -0
- package/es/src/icon/content/RetentionPolicyModifiable32.stories.d.ts +9 -0
- package/es/src/icon/content/RetentionPolicyNonModifiable32.d.ts +13 -0
- package/es/src/icon/content/RetentionPolicyNonModifiable32.stories.d.ts +9 -0
- package/es/src/icons/avatars/UnknownUserAvatar.d.ts +0 -1
- package/es/src/icons/general/IconSearchJuicy.d.ts +3 -0
- package/es/src/icons/general/__tests__/IconSearchJuicy.test.d.ts +1 -0
- package/es/src/icons/google-docs/IconGoogle.d.ts +12 -0
- package/es/src/icons/google-docs/__tests__/IconGoogle.test.d.ts +1 -0
- package/es/src/icons/item-icon/ItemIcon.d.ts +2 -0
- package/es/src/icons/microsoft-office/IconOffice.d.ts +12 -0
- package/es/src/icons/microsoft-office/__tests__/IconOffice.test.d.ts +1 -0
- package/es/src/illustration/EmailVerification140.d.ts +13 -0
- package/es/src/illustration/EmailVerification140.stories.d.ts +9 -0
- package/es/src/styles/variables.d.ts +9 -0
- package/es/styles/_variables.scss +1 -0
- package/es/styles/common/_forms.scss +6 -0
- package/es/styles/constants/_layout.scss +3 -0
- package/es/styles/constants/_media-queries.scss +15 -0
- package/es/styles/variables.js +18 -0
- package/es/styles/variables.js.flow +10 -1
- package/es/styles/variables.js.map +1 -1
- package/es/utils/Browser.js +12 -0
- package/es/utils/Browser.js.flow +10 -0
- package/es/utils/Browser.js.map +1 -1
- package/es/utils/validators.js +26 -4
- package/es/utils/validators.js.flow +25 -3
- package/es/utils/validators.js.map +1 -1
- package/i18n/bn-IN.js +12 -0
- package/i18n/bn-IN.properties +24 -0
- package/i18n/da-DK.js +12 -0
- package/i18n/da-DK.properties +24 -0
- package/i18n/de-DE.js +12 -0
- package/i18n/de-DE.properties +24 -0
- package/i18n/en-AU.js +12 -0
- package/i18n/en-AU.properties +24 -0
- package/i18n/en-CA.js +12 -0
- package/i18n/en-CA.properties +24 -0
- package/i18n/en-GB.js +12 -0
- package/i18n/en-GB.properties +24 -0
- package/i18n/en-US.js +12 -0
- package/i18n/en-US.properties +24 -0
- package/i18n/en-x-pseudo.js +12 -0
- package/i18n/es-419.js +12 -0
- package/i18n/es-419.properties +24 -0
- package/i18n/es-ES.js +12 -0
- package/i18n/es-ES.properties +24 -0
- package/i18n/fi-FI.js +12 -0
- package/i18n/fi-FI.properties +24 -0
- package/i18n/fr-CA.js +12 -0
- package/i18n/fr-CA.properties +24 -0
- package/i18n/fr-FR.js +12 -0
- package/i18n/fr-FR.properties +24 -0
- package/i18n/hi-IN.js +12 -0
- package/i18n/hi-IN.properties +24 -0
- package/i18n/it-IT.js +12 -0
- package/i18n/it-IT.properties +24 -0
- package/i18n/ja-JP.js +25 -13
- package/i18n/ja-JP.properties +37 -13
- package/i18n/ko-KR.js +12 -0
- package/i18n/ko-KR.properties +24 -0
- package/i18n/nb-NO.js +12 -0
- package/i18n/nb-NO.properties +24 -0
- package/i18n/nl-NL.js +12 -0
- package/i18n/nl-NL.properties +24 -0
- package/i18n/pl-PL.js +12 -0
- package/i18n/pl-PL.properties +24 -0
- package/i18n/pt-BR.js +12 -0
- package/i18n/pt-BR.properties +24 -0
- package/i18n/ru-RU.js +12 -0
- package/i18n/ru-RU.properties +24 -0
- package/i18n/sv-SE.js +12 -0
- package/i18n/sv-SE.properties +24 -0
- package/i18n/tr-TR.js +12 -0
- package/i18n/tr-TR.properties +24 -0
- package/i18n/zh-CN.js +12 -0
- package/i18n/zh-CN.properties +24 -0
- package/i18n/zh-TW.js +12 -0
- package/i18n/zh-TW.properties +24 -0
- package/package.json +8 -5
- package/src/__mocks__/pikaday.js +1 -0
- package/src/api/__tests__/MockOpenWithData.json +2 -25
- package/src/api/uploads/UploadsReachability.js +2 -2
- package/src/common/messages.js +5 -0
- package/src/common/types/core.js +2 -0
- package/src/components/avatar/UnknownUserAvatar.tsx +5 -4
- package/src/components/close-button/CloseButton.js.flow +26 -0
- package/src/components/close-button/CloseButton.scss +10 -0
- package/src/components/close-button/CloseButton.stories.md +1 -0
- package/src/components/close-button/CloseButton.stories.tsx +14 -0
- package/src/components/close-button/CloseButton.tsx +30 -0
- package/src/components/close-button/__tests__/CloseButton.stories.test.tsx +6 -0
- package/src/components/close-button/__tests__/CloseButton.test.tsx +40 -0
- package/src/components/close-button/__tests__/__image_snapshots__/close-button-stories-test-tsx-components-close-button-close-button-looks-visually-correct-when-using-story-components-buttons-closebutton-regular-1-snap.png +0 -0
- package/src/components/close-button/index.js.flow +2 -0
- package/src/components/close-button/index.ts +1 -0
- package/src/components/date-picker/AccessiblePikaday.ts +79 -0
- package/src/components/date-picker/DatePicker.scss +32 -22
- package/src/components/date-picker/DatePicker.stories.tsx +6 -0
- package/src/components/date-picker/DatePicker.tsx +350 -64
- package/src/components/date-picker/__tests__/DatePicker.test.tsx +44 -2
- package/src/components/date-picker/__tests__/__image_snapshots__/date-picker-stories-test-tsx-components-date-picker-date-picker-allows-editing-in-story-components-datepicker-manually-editable-1-snap.png +0 -0
- package/src/components/date-picker/__tests__/__image_snapshots__/date-picker-stories-test-tsx-components-date-picker-date-picker-allows-keyboard-selection-in-components-datepicker-always-visible-with-custom-input-field-1-snap.png +0 -0
- package/src/components/date-picker/__tests__/__image_snapshots__/date-picker-stories-test-tsx-components-date-picker-date-picker-closes-calendar-and-clears-date-for-components-datepicker-basic-1-snap.png +0 -0
- package/src/components/date-picker/__tests__/__image_snapshots__/date-picker-stories-test-tsx-components-date-picker-date-picker-looks-visually-correct-when-using-story-components-datepicker-always-visible-with-custom-input-field-1-snap.png +0 -0
- package/src/components/date-picker/__tests__/__image_snapshots__/date-picker-stories-test-tsx-components-date-picker-date-picker-looks-visually-correct-when-using-story-components-datepicker-basic-1-snap.png +0 -0
- package/src/components/date-picker/__tests__/__image_snapshots__/date-picker-stories-test-tsx-components-date-picker-date-picker-looks-visually-correct-when-using-story-components-datepicker-custom-error-tooltip-position-1-snap.png +0 -0
- package/src/components/date-picker/__tests__/__image_snapshots__/date-picker-stories-test-tsx-components-date-picker-date-picker-looks-visually-correct-when-using-story-components-datepicker-disabled-with-error-message-1-snap.png +0 -0
- package/src/components/date-picker/__tests__/__image_snapshots__/date-picker-stories-test-tsx-components-date-picker-date-picker-looks-visually-correct-when-using-story-components-datepicker-manually-editable-1-snap.png +0 -0
- package/src/components/date-picker/__tests__/__image_snapshots__/date-picker-stories-test-tsx-components-date-picker-date-picker-looks-visually-correct-when-using-story-components-datepicker-with-description-1-snap.png +0 -0
- package/src/components/date-picker/__tests__/__image_snapshots__/date-picker-stories-test-tsx-components-date-picker-date-picker-looks-visually-correct-when-using-story-components-datepicker-with-limited-date-range-1-snap.png +0 -0
- package/src/components/date-picker/__tests__/__image_snapshots__/date-picker-stories-test-tsx-components-date-picker-date-picker-looks-visually-correct-when-using-story-components-datepicker-with-range-1-snap.png +0 -0
- package/src/components/date-picker/__tests__/__image_snapshots__/date-picker-stories-test-tsx-components-date-picker-date-picker-reflects-changes-in-components-datepicker-always-visible-with-custom-input-field-1-snap.png +0 -0
- package/src/components/date-picker/__tests__/__image_snapshots__/date-picker-stories-test-tsx-components-date-picker-date-picker-shows-calendar-and-date-for-components-datepicker-basic-1-snap.png +0 -0
- package/src/components/date-picker/__tests__/__image_snapshots__/date-picker-stories-test-tsx-components-date-picker-date-picker-shows-limited-range-in-components-datepicker-with-limited-date-range-1-snap.png +0 -0
- package/src/components/date-picker/_pikaday.scss +8 -2
- package/src/components/flyout/Flyout.js +14 -3
- package/src/components/flyout/Flyout.scss +40 -0
- package/src/components/flyout/FlyoutContext.js +9 -0
- package/src/components/flyout/OverlayHeader.scss +9 -0
- package/src/components/flyout/OverlayHeader.tsx +38 -0
- package/src/components/flyout/__tests__/Flyout.test.js +15 -0
- package/src/components/flyout/__tests__/OverlayHeader.test.js +56 -0
- package/src/components/flyout/_variables.scss +1 -0
- package/src/components/flyout/index.js +2 -0
- package/src/components/image-tooltip/ImageTooltip.tsx +1 -2
- package/src/components/media-query/__tests__/useMediaQuery.test.js +48 -0
- package/src/components/media-query/__tests__/withMediaQuery.test.js +29 -0
- package/src/components/media-query/constants.js +32 -0
- package/src/components/media-query/index.js +4 -0
- package/src/components/media-query/stories/MediaQuery.stories.js +80 -0
- package/src/components/media-query/stories/MediaQuery.stories.md +29 -0
- package/src/components/media-query/types.js +29 -0
- package/src/components/media-query/useMediaQuery.js +97 -0
- package/src/components/media-query/withMediaQuery.js +23 -0
- package/src/components/modal/Modal.scss +27 -0
- package/src/components/modal/__tests__/Modal.stories.test.js +10 -0
- package/src/components/modal/__tests__/__image_snapshots__/modal-stories-test-js-components-modal-modal-looks-visually-correct-for-small-screens-when-button-is-clicked-in-story-components-modal-basic-1-snap.png +0 -0
- package/src/components/modal/__tests__/__image_snapshots__/modal-stories-test-js-components-modal-modal-looks-visually-correct-for-small-screens-when-button-is-clicked-in-story-components-modal-with-custom-backdrop-click-handler-1-snap.png +0 -0
- package/src/components/preview/previewIcons.ts +4 -0
- package/src/components/search-form/SearchForm.scss +0 -5
- package/src/components/selector-dropdown/SelectorDropdown.js +3 -3
- package/src/components/selector-dropdown/__tests__/SelectorDropdown.test.js +5 -1
- package/src/components/sidebar-toggle-button/__tests__/__snapshots__/SidebarToggleButton.test.js.snap +0 -8
- package/src/components/tab-view/Tabs.scss +0 -4
- package/src/components/tooltip/Tooltip.tsx +20 -5
- package/src/components/tooltip/__tests__/Tooltip.test.tsx +17 -4
- package/src/components/tooltip/__tests__/__snapshots__/Tooltip.test.tsx.snap +0 -2
- package/src/constants.js +1 -0
- package/src/elements/content-open-with/IconFileMap.js +0 -2
- package/src/elements/content-open-with/__tests__/ContentOpenWith.test.js +13 -13
- package/src/elements/content-open-with/__tests__/OpenWithButton.test.js +1 -1
- package/src/elements/content-open-with/__tests__/OpenWithDropdownMenu.test.js +1 -5
- package/src/elements/content-open-with/__tests__/OpenWithDropdownMenuItem.test.js +2 -2
- package/src/elements/content-open-with/__tests__/__snapshots__/ContentOpenWith.test.js.snap +5 -5
- package/src/elements/content-open-with/__tests__/__snapshots__/OpenWithButton.test.js.snap +1 -1
- package/src/elements/content-open-with/__tests__/__snapshots__/OpenWithDropdownMenu.test.js.snap +1 -11
- package/src/elements/content-open-with/__tests__/__snapshots__/OpenWithDropdownMenuItem.test.js.snap +4 -3
- package/src/elements/content-sidebar/Sidebar.js +1 -1
- package/src/elements/content-sidebar/__tests__/AddTaskButton.test.js +15 -0
- package/src/elements/content-sidebar/activity-feed/common/delete-confirmation/DeleteConfirmation.scss +3 -3
- package/src/elements/content-sidebar/activity-feed/task-form/TaskForm.js +18 -5
- package/src/elements/content-sidebar/versions/StaticVersionSidebar.js +97 -0
- package/src/elements/content-sidebar/versions/StaticVersionsSidebar.scss +67 -0
- package/src/elements/content-sidebar/versions/VersionsSidebar.js +16 -3
- package/src/elements/content-sidebar/versions/VersionsSidebar.scss +5 -0
- package/src/elements/content-sidebar/versions/VersionsSidebarContainer.js +42 -7
- package/src/elements/content-sidebar/versions/__tests__/VersionsSidebar.test.js +18 -1
- package/src/elements/content-sidebar/versions/__tests__/VersionsSidebarContainer.test.js +51 -2
- package/src/elements/content-sidebar/versions/__tests__/__snapshots__/VersionsSidebarContainer.test.js.snap +75 -0
- package/src/elements/content-sidebar/versions/flowTypes.js +1 -0
- package/src/elements/content-sidebar/versions/messages.js +28 -0
- package/src/features/classification/constants.js +2 -0
- package/src/features/classification/flowTypes.js +7 -1
- package/src/features/classification/security-controls/SecurityControls.js +3 -4
- package/src/features/classification/security-controls/SecurityControlsItem.js +20 -17
- package/src/features/classification/security-controls/SecurityControlsItem.scss +4 -0
- package/src/features/classification/security-controls/SecurityControlsModal.js +2 -2
- package/src/features/classification/security-controls/__tests__/SecurityControlsItem.test.js +10 -0
- package/src/features/classification/security-controls/__tests__/__snapshots__/SecurityControls.test.js.snap +6 -6
- package/src/features/classification/security-controls/__tests__/__snapshots__/SecurityControlsItem.test.js.snap +35 -0
- package/src/features/classification/security-controls/__tests__/__snapshots__/SecurityControlsModal.test.js.snap +2 -2
- package/src/features/classification/security-controls/__tests__/__snapshots__/utils.test.js.snap +20 -0
- package/src/features/classification/security-controls/__tests__/utils.test.js +38 -18
- package/src/features/classification/security-controls/messages.js +5 -0
- package/src/features/classification/security-controls/utils.js +51 -27
- package/src/features/collapsible-sidebar/CollapsibleSidebar.js +13 -5
- package/src/features/collapsible-sidebar/CollapsibleSidebar.scss +35 -3
- package/src/features/collapsible-sidebar/__tests__/CollapsibleSidebar.test.js +35 -0
- package/src/features/collapsible-sidebar/__tests__/__snapshots__/CollapsibleSidebar.test.js.snap +1 -0
- package/src/features/content-explorer/content-explorer/ContentExplorer.scss +1 -1
- package/src/features/content-explorer/item-list/ItemList.js +1 -0
- package/src/features/content-explorer/item-list/ItemListName.js +3 -2
- package/src/features/content-explorer/item-list/__tests__/ItemListName.test.js +16 -2
- package/src/features/header-flyout/HeaderFlyout.js +4 -8
- package/src/features/header-flyout/__tests__/__snapshots__/HeaderFlyout.test.js.snap +14 -11
- package/src/features/header-flyout/styles/HeaderFlyout.scss +54 -15
- package/src/features/header-flyout/styles/_variables.scss +4 -0
- package/src/features/message-center/components/message-center-modal/MessageCenterModal.js +1 -0
- package/src/features/metadata-instance-editor/__tests__/__snapshots__/TemplateDropdown.test.js.snap +7 -0
- package/src/features/pagination/__tests__/__snapshots__/MarkerBasedPagination.test.js.snap +0 -8
- package/src/features/pagination/__tests__/__snapshots__/OffsetBasedPagination.test.js.snap +0 -16
- package/src/features/presence/PresenceCollaborator.js +81 -0
- package/src/features/presence/PresenceCollaborator.scss +28 -0
- package/src/features/presence/PresenceCollaboratorsList.js +7 -58
- package/src/features/presence/PresenceCollaboratorsList.scss +8 -35
- package/src/features/presence/__tests__/PresenceCollaborator.test.js +36 -0
- package/src/features/presence/__tests__/PresenceCollaboratorsList.test.js +13 -57
- package/src/features/presence/__tests__/__snapshots__/Presence.test.js.snap +5 -0
- package/src/features/presence/__tests__/__snapshots__/PresenceLink.test.js.snap +3 -0
- package/src/features/query-bar/__tests__/__snapshots__/ColumnButton.test.js.snap +3 -0
- package/src/features/quick-search/QuickSearch.js +13 -1
- package/src/features/quick-search/__tests__/QuickSearch.test.js +17 -0
- package/src/features/unified-share-modal/SharedLinkSection.js +6 -27
- package/src/features/unified-share-modal/UnifiedShareForm.js +70 -14
- package/src/features/unified-share-modal/UnifiedShareModal.scss +3 -0
- package/src/features/unified-share-modal/__tests__/EmailForm.test.js +9 -0
- package/src/features/unified-share-modal/__tests__/SharedLinkSection.test.js +14 -4
- package/src/features/unified-share-modal/__tests__/UnifiedShareForm.test.js +53 -4
- package/src/features/unified-share-modal/__tests__/__snapshots__/SharedLinkSection.test.js.snap +9 -0
- package/src/features/unified-share-modal/__tests__/__snapshots__/UnifiedShareForm.test.js.snap +0 -159
- package/src/features/unified-share-modal/flowTypes.js +6 -0
- package/src/features/unified-share-modal/messages.js +10 -0
- package/src/features/unified-share-modal/utils/__tests__/mergeContacts.test.js +23 -0
- package/src/features/unified-share-modal/utils/mergeContacts.js +4 -2
- package/src/icon/content/FileXbd32.js.flow +38 -0
- package/src/icon/content/FileXbd32.stories.tsx +13 -0
- package/src/icon/content/FileXbd32.tsx +37 -0
- package/src/icon/content/FileXdw32.js.flow +38 -0
- package/src/icon/content/FileXdw32.stories.tsx +13 -0
- package/src/icon/content/FileXdw32.tsx +37 -0
- package/src/icon/content/RetentionPolicyModifiable32.js.flow +31 -0
- package/src/icon/content/RetentionPolicyModifiable32.stories.tsx +14 -0
- package/src/icon/content/RetentionPolicyModifiable32.tsx +29 -0
- package/src/icon/content/RetentionPolicyNonModifiable32.js.flow +31 -0
- package/src/icon/content/RetentionPolicyNonModifiable32.stories.tsx +14 -0
- package/src/icon/content/RetentionPolicyNonModifiable32.tsx +29 -0
- package/src/icons/adobe-sign/README.md +1 -1
- package/src/icons/avatars/UnknownUserAvatar.tsx +7 -15
- package/src/icons/file-icon/FileIcon.js.flow +2 -2
- package/src/icons/file-icon/FileIcon.tsx +8 -2
- package/src/icons/file-icon/__tests__/FileIcon.test.tsx +28 -69
- package/src/icons/file-icon/__tests__/__snapshots__/FileIcon.test.tsx.snap +48 -34
- package/src/icons/general/IconSearch.js.flow +1 -1
- package/src/icons/general/IconSearch.tsx +1 -1
- package/src/icons/general/IconSearchJuicy.js.flow +26 -0
- package/src/icons/general/IconSearchJuicy.tsx +25 -0
- package/src/icons/general/README.md +5 -0
- package/src/icons/general/__tests__/IconSearchJuicy.test.tsx +38 -0
- package/src/icons/google-docs/IconGoogle.js.flow +57 -0
- package/src/icons/google-docs/IconGoogle.tsx +50 -0
- package/src/icons/google-docs/__tests__/IconGoogle.test.tsx +44 -0
- package/src/icons/item-icon/ItemIcon.tsx +4 -0
- package/src/icons/item-icon/__tests__/ItemIcon.test.tsx +47 -115
- package/src/icons/item-icon/__tests__/__snapshots__/ItemIcon.test.tsx.snap +229 -229
- package/src/icons/microsoft-office/IconOffice.js.flow +45 -0
- package/src/icons/microsoft-office/IconOffice.tsx +38 -0
- package/src/icons/microsoft-office/__tests__/IconOffice.test.tsx +44 -0
- package/src/illustration/EmailVerification140.js.flow +102 -0
- package/src/illustration/EmailVerification140.stories.tsx +13 -0
- package/src/illustration/EmailVerification140.tsx +100 -0
- package/src/styles/_variables.scss +1 -0
- package/src/styles/common/_forms.scss +6 -0
- package/src/styles/constants/_layout.scss +3 -0
- package/src/styles/constants/_media-queries.scss +15 -0
- package/src/styles/variables.js +10 -1
- package/src/styles/variables.json +10 -1
- package/src/styles/variables.ts +9 -0
- package/src/utils/Browser.js +10 -0
- package/src/utils/validators.js +25 -3
|
@@ -77,7 +77,6 @@ exports[`elements/Pagination/MarkerBasedPagination should render properly with o
|
|
|
77
77
|
onBlur={[Function]}
|
|
78
78
|
onClick={[Function]}
|
|
79
79
|
onFocus={[Function]}
|
|
80
|
-
onKeyDown={[Function]}
|
|
81
80
|
onMouseEnter={[Function]}
|
|
82
81
|
onMouseLeave={[Function]}
|
|
83
82
|
showRadar={false}
|
|
@@ -89,7 +88,6 @@ exports[`elements/Pagination/MarkerBasedPagination should render properly with o
|
|
|
89
88
|
onBlur={[Function]}
|
|
90
89
|
onClick={[Function]}
|
|
91
90
|
onFocus={[Function]}
|
|
92
|
-
onKeyDown={[Function]}
|
|
93
91
|
onMouseEnter={[Function]}
|
|
94
92
|
onMouseLeave={[Function]}
|
|
95
93
|
tabIndex="0"
|
|
@@ -326,7 +324,6 @@ exports[`elements/Pagination/MarkerBasedPagination should render properly with o
|
|
|
326
324
|
onBlur={[Function]}
|
|
327
325
|
onClick={[Function]}
|
|
328
326
|
onFocus={[Function]}
|
|
329
|
-
onKeyDown={[Function]}
|
|
330
327
|
onMouseEnter={[Function]}
|
|
331
328
|
onMouseLeave={[Function]}
|
|
332
329
|
showRadar={false}
|
|
@@ -338,7 +335,6 @@ exports[`elements/Pagination/MarkerBasedPagination should render properly with o
|
|
|
338
335
|
onBlur={[Function]}
|
|
339
336
|
onClick={[Function]}
|
|
340
337
|
onFocus={[Function]}
|
|
341
|
-
onKeyDown={[Function]}
|
|
342
338
|
onMouseEnter={[Function]}
|
|
343
339
|
onMouseLeave={[Function]}
|
|
344
340
|
tabIndex="0"
|
|
@@ -457,7 +453,6 @@ exports[`elements/Pagination/MarkerBasedPagination should render properly with o
|
|
|
457
453
|
onBlur={[Function]}
|
|
458
454
|
onClick={[Function]}
|
|
459
455
|
onFocus={[Function]}
|
|
460
|
-
onKeyDown={[Function]}
|
|
461
456
|
onMouseEnter={[Function]}
|
|
462
457
|
onMouseLeave={[Function]}
|
|
463
458
|
showRadar={false}
|
|
@@ -469,7 +464,6 @@ exports[`elements/Pagination/MarkerBasedPagination should render properly with o
|
|
|
469
464
|
onBlur={[Function]}
|
|
470
465
|
onClick={[Function]}
|
|
471
466
|
onFocus={[Function]}
|
|
472
|
-
onKeyDown={[Function]}
|
|
473
467
|
onMouseEnter={[Function]}
|
|
474
468
|
onMouseLeave={[Function]}
|
|
475
469
|
tabIndex="0"
|
|
@@ -560,7 +554,6 @@ exports[`elements/Pagination/MarkerBasedPagination should render properly with o
|
|
|
560
554
|
onBlur={[Function]}
|
|
561
555
|
onClick={[Function]}
|
|
562
556
|
onFocus={[Function]}
|
|
563
|
-
onKeyDown={[Function]}
|
|
564
557
|
onMouseEnter={[Function]}
|
|
565
558
|
onMouseLeave={[Function]}
|
|
566
559
|
showRadar={false}
|
|
@@ -572,7 +565,6 @@ exports[`elements/Pagination/MarkerBasedPagination should render properly with o
|
|
|
572
565
|
onBlur={[Function]}
|
|
573
566
|
onClick={[Function]}
|
|
574
567
|
onFocus={[Function]}
|
|
575
|
-
onKeyDown={[Function]}
|
|
576
568
|
onMouseEnter={[Function]}
|
|
577
569
|
onMouseLeave={[Function]}
|
|
578
570
|
tabIndex="0"
|
|
@@ -207,7 +207,6 @@ exports[`elements/Pagination/OffsetBasedPagination should render properly with o
|
|
|
207
207
|
onBlur={[Function]}
|
|
208
208
|
onClick={[Function]}
|
|
209
209
|
onFocus={[Function]}
|
|
210
|
-
onKeyDown={[Function]}
|
|
211
210
|
onMouseEnter={[Function]}
|
|
212
211
|
onMouseLeave={[Function]}
|
|
213
212
|
showRadar={false}
|
|
@@ -219,7 +218,6 @@ exports[`elements/Pagination/OffsetBasedPagination should render properly with o
|
|
|
219
218
|
onBlur={[Function]}
|
|
220
219
|
onClick={[Function]}
|
|
221
220
|
onFocus={[Function]}
|
|
222
|
-
onKeyDown={[Function]}
|
|
223
221
|
onMouseEnter={[Function]}
|
|
224
222
|
onMouseLeave={[Function]}
|
|
225
223
|
tabIndex="0"
|
|
@@ -476,7 +474,6 @@ exports[`elements/Pagination/OffsetBasedPagination should render properly with o
|
|
|
476
474
|
onBlur={[Function]}
|
|
477
475
|
onClick={[Function]}
|
|
478
476
|
onFocus={[Function]}
|
|
479
|
-
onKeyDown={[Function]}
|
|
480
477
|
onMouseEnter={[Function]}
|
|
481
478
|
onMouseLeave={[Function]}
|
|
482
479
|
showRadar={false}
|
|
@@ -488,7 +485,6 @@ exports[`elements/Pagination/OffsetBasedPagination should render properly with o
|
|
|
488
485
|
onBlur={[Function]}
|
|
489
486
|
onClick={[Function]}
|
|
490
487
|
onFocus={[Function]}
|
|
491
|
-
onKeyDown={[Function]}
|
|
492
488
|
onMouseEnter={[Function]}
|
|
493
489
|
onMouseLeave={[Function]}
|
|
494
490
|
tabIndex="0"
|
|
@@ -745,7 +741,6 @@ exports[`elements/Pagination/OffsetBasedPagination should render properly with o
|
|
|
745
741
|
onBlur={[Function]}
|
|
746
742
|
onClick={[Function]}
|
|
747
743
|
onFocus={[Function]}
|
|
748
|
-
onKeyDown={[Function]}
|
|
749
744
|
onMouseEnter={[Function]}
|
|
750
745
|
onMouseLeave={[Function]}
|
|
751
746
|
showRadar={false}
|
|
@@ -757,7 +752,6 @@ exports[`elements/Pagination/OffsetBasedPagination should render properly with o
|
|
|
757
752
|
onBlur={[Function]}
|
|
758
753
|
onClick={[Function]}
|
|
759
754
|
onFocus={[Function]}
|
|
760
|
-
onKeyDown={[Function]}
|
|
761
755
|
onMouseEnter={[Function]}
|
|
762
756
|
onMouseLeave={[Function]}
|
|
763
757
|
tabIndex="0"
|
|
@@ -955,7 +949,6 @@ exports[`elements/Pagination/OffsetBasedPagination should render properly with o
|
|
|
955
949
|
onBlur={[Function]}
|
|
956
950
|
onClick={[Function]}
|
|
957
951
|
onFocus={[Function]}
|
|
958
|
-
onKeyDown={[Function]}
|
|
959
952
|
onMouseEnter={[Function]}
|
|
960
953
|
onMouseLeave={[Function]}
|
|
961
954
|
showRadar={false}
|
|
@@ -967,7 +960,6 @@ exports[`elements/Pagination/OffsetBasedPagination should render properly with o
|
|
|
967
960
|
onBlur={[Function]}
|
|
968
961
|
onClick={[Function]}
|
|
969
962
|
onFocus={[Function]}
|
|
970
|
-
onKeyDown={[Function]}
|
|
971
963
|
onMouseEnter={[Function]}
|
|
972
964
|
onMouseLeave={[Function]}
|
|
973
965
|
tabIndex="0"
|
|
@@ -1058,7 +1050,6 @@ exports[`elements/Pagination/OffsetBasedPagination should render properly with o
|
|
|
1058
1050
|
onBlur={[Function]}
|
|
1059
1051
|
onClick={[Function]}
|
|
1060
1052
|
onFocus={[Function]}
|
|
1061
|
-
onKeyDown={[Function]}
|
|
1062
1053
|
onMouseEnter={[Function]}
|
|
1063
1054
|
onMouseLeave={[Function]}
|
|
1064
1055
|
showRadar={false}
|
|
@@ -1070,7 +1061,6 @@ exports[`elements/Pagination/OffsetBasedPagination should render properly with o
|
|
|
1070
1061
|
onBlur={[Function]}
|
|
1071
1062
|
onClick={[Function]}
|
|
1072
1063
|
onFocus={[Function]}
|
|
1073
|
-
onKeyDown={[Function]}
|
|
1074
1064
|
onMouseEnter={[Function]}
|
|
1075
1065
|
onMouseLeave={[Function]}
|
|
1076
1066
|
tabIndex="0"
|
|
@@ -1268,7 +1258,6 @@ exports[`elements/Pagination/OffsetBasedPagination should render properly with o
|
|
|
1268
1258
|
onBlur={[Function]}
|
|
1269
1259
|
onClick={[Function]}
|
|
1270
1260
|
onFocus={[Function]}
|
|
1271
|
-
onKeyDown={[Function]}
|
|
1272
1261
|
onMouseEnter={[Function]}
|
|
1273
1262
|
onMouseLeave={[Function]}
|
|
1274
1263
|
showRadar={false}
|
|
@@ -1280,7 +1269,6 @@ exports[`elements/Pagination/OffsetBasedPagination should render properly with o
|
|
|
1280
1269
|
onBlur={[Function]}
|
|
1281
1270
|
onClick={[Function]}
|
|
1282
1271
|
onFocus={[Function]}
|
|
1283
|
-
onKeyDown={[Function]}
|
|
1284
1272
|
onMouseEnter={[Function]}
|
|
1285
1273
|
onMouseLeave={[Function]}
|
|
1286
1274
|
tabIndex="0"
|
|
@@ -1371,7 +1359,6 @@ exports[`elements/Pagination/OffsetBasedPagination should render properly with o
|
|
|
1371
1359
|
onBlur={[Function]}
|
|
1372
1360
|
onClick={[Function]}
|
|
1373
1361
|
onFocus={[Function]}
|
|
1374
|
-
onKeyDown={[Function]}
|
|
1375
1362
|
onMouseEnter={[Function]}
|
|
1376
1363
|
onMouseLeave={[Function]}
|
|
1377
1364
|
showRadar={false}
|
|
@@ -1383,7 +1370,6 @@ exports[`elements/Pagination/OffsetBasedPagination should render properly with o
|
|
|
1383
1370
|
onBlur={[Function]}
|
|
1384
1371
|
onClick={[Function]}
|
|
1385
1372
|
onFocus={[Function]}
|
|
1386
|
-
onKeyDown={[Function]}
|
|
1387
1373
|
onMouseEnter={[Function]}
|
|
1388
1374
|
onMouseLeave={[Function]}
|
|
1389
1375
|
tabIndex="0"
|
|
@@ -1581,7 +1567,6 @@ exports[`elements/Pagination/OffsetBasedPagination should render properly with o
|
|
|
1581
1567
|
onBlur={[Function]}
|
|
1582
1568
|
onClick={[Function]}
|
|
1583
1569
|
onFocus={[Function]}
|
|
1584
|
-
onKeyDown={[Function]}
|
|
1585
1570
|
onMouseEnter={[Function]}
|
|
1586
1571
|
onMouseLeave={[Function]}
|
|
1587
1572
|
showRadar={false}
|
|
@@ -1593,7 +1578,6 @@ exports[`elements/Pagination/OffsetBasedPagination should render properly with o
|
|
|
1593
1578
|
onBlur={[Function]}
|
|
1594
1579
|
onClick={[Function]}
|
|
1595
1580
|
onFocus={[Function]}
|
|
1596
|
-
onKeyDown={[Function]}
|
|
1597
1581
|
onMouseEnter={[Function]}
|
|
1598
1582
|
onMouseLeave={[Function]}
|
|
1599
1583
|
tabIndex="0"
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import isEmpty from 'lodash/isEmpty';
|
|
3
|
+
import PropTypes from 'prop-types';
|
|
4
|
+
import { FormattedMessage, injectIntl } from 'react-intl';
|
|
5
|
+
|
|
6
|
+
import Link from '../../components/link/LinkBase';
|
|
7
|
+
import messages from './messages';
|
|
8
|
+
import PresenceAvatar from './PresenceAvatar';
|
|
9
|
+
import { determineInteractionMessage } from './utils/presenceUtils';
|
|
10
|
+
|
|
11
|
+
import './PresenceCollaborator.scss';
|
|
12
|
+
|
|
13
|
+
export const renderTimestampMessage = (interactedAt, interactionType, intl) => {
|
|
14
|
+
const lastActionMessage = determineInteractionMessage(interactionType, interactedAt);
|
|
15
|
+
const timeAgo = intl.formatRelativeTime
|
|
16
|
+
? intl.formatRelativeTime(interactedAt - Date.now())
|
|
17
|
+
: intl.formatRelative(interactedAt);
|
|
18
|
+
|
|
19
|
+
if (lastActionMessage) {
|
|
20
|
+
return (
|
|
21
|
+
<FormattedMessage
|
|
22
|
+
{...lastActionMessage}
|
|
23
|
+
values={{
|
|
24
|
+
timeAgo,
|
|
25
|
+
}}
|
|
26
|
+
/>
|
|
27
|
+
);
|
|
28
|
+
}
|
|
29
|
+
return null;
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
const PresenceCollaborator = ({ collaborator, intl, ...props }) => {
|
|
33
|
+
const { avatarUrl, id, interactedAt, interactionType, isActive, name, profileUrl } = collaborator;
|
|
34
|
+
|
|
35
|
+
return (
|
|
36
|
+
<div className="bdl-PresenceCollaborator" {...props}>
|
|
37
|
+
<PresenceAvatar avatarUrl={avatarUrl} id={id} isActive={isActive} isDropDownAvatar name={name} />
|
|
38
|
+
<div className="bdl-PresenceCollaborator-info-container">
|
|
39
|
+
<div className="bdl-PresenceCollaborator-info-name">
|
|
40
|
+
{isEmpty(profileUrl) ? (
|
|
41
|
+
<span>{name}</span>
|
|
42
|
+
) : (
|
|
43
|
+
<Link href={profileUrl} target="_blank">
|
|
44
|
+
{name}
|
|
45
|
+
</Link>
|
|
46
|
+
)}
|
|
47
|
+
</div>
|
|
48
|
+
<div className="bdl-PresenceCollaborator-info-time">
|
|
49
|
+
{isActive ? (
|
|
50
|
+
<FormattedMessage {...messages.activeNowText} />
|
|
51
|
+
) : (
|
|
52
|
+
renderTimestampMessage(interactedAt, interactionType, intl)
|
|
53
|
+
)}
|
|
54
|
+
</div>
|
|
55
|
+
</div>
|
|
56
|
+
</div>
|
|
57
|
+
);
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
PresenceCollaborator.propTypes = {
|
|
61
|
+
collaborator: PropTypes.shape({
|
|
62
|
+
/** Url to avatar image. If passed in, component will render the avatar image instead of the initials */
|
|
63
|
+
avatarUrl: PropTypes.string,
|
|
64
|
+
/** Users id */
|
|
65
|
+
id: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
66
|
+
isActive: PropTypes.bool,
|
|
67
|
+
/** Unix timestamp of when the user last interacted with the document */
|
|
68
|
+
interactedAt: PropTypes.number,
|
|
69
|
+
/** The type of interaction by the user */
|
|
70
|
+
interactionType: PropTypes.string,
|
|
71
|
+
/** User's full name */
|
|
72
|
+
name: PropTypes.string.isRequired,
|
|
73
|
+
/** Custom Profile URL */
|
|
74
|
+
profileUrl: PropTypes.string,
|
|
75
|
+
}).isRequired,
|
|
76
|
+
/* Intl object */
|
|
77
|
+
intl: PropTypes.any,
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
export { PresenceCollaborator as PresenceCollaboratorComponent };
|
|
81
|
+
export default injectIntl(PresenceCollaborator);
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
@import './styles';
|
|
2
|
+
|
|
3
|
+
.bdl-PresenceCollaborator-info-container {
|
|
4
|
+
display: inline-block;
|
|
5
|
+
margin-left: 10px;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.bdl-PresenceCollaborator-info-name {
|
|
9
|
+
width: 180px;
|
|
10
|
+
overflow: hidden;
|
|
11
|
+
color: $bdl-gray;
|
|
12
|
+
font-size: 13px;
|
|
13
|
+
white-space: nowrap;
|
|
14
|
+
text-overflow: ellipsis;
|
|
15
|
+
|
|
16
|
+
a {
|
|
17
|
+
color: $bdl-gray;
|
|
18
|
+
|
|
19
|
+
&:hover {
|
|
20
|
+
text-decoration: underline;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.bdl-PresenceCollaborator-info-time {
|
|
26
|
+
color: $bdl-gray-62;
|
|
27
|
+
font-size: 12px;
|
|
28
|
+
}
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import classnames from 'classnames';
|
|
3
|
-
import isEmpty from 'lodash/isEmpty';
|
|
4
3
|
import PropTypes from 'prop-types';
|
|
5
4
|
import throttle from 'lodash/throttle';
|
|
6
5
|
import { FormattedMessage, injectIntl } from 'react-intl';
|
|
6
|
+
|
|
7
7
|
import Button from '../../components/button';
|
|
8
|
-
import
|
|
8
|
+
import PresenceCollaborator from './PresenceCollaborator';
|
|
9
9
|
import messages from './messages';
|
|
10
|
-
|
|
11
|
-
import { determineInteractionMessage } from './utils/presenceUtils';
|
|
10
|
+
|
|
12
11
|
import './PresenceCollaboratorsList.scss';
|
|
13
12
|
|
|
14
13
|
class PresenceCollaboratorsList extends React.Component<Props> {
|
|
@@ -96,57 +95,6 @@ class PresenceCollaboratorsList extends React.Component<Props> {
|
|
|
96
95
|
</div>
|
|
97
96
|
);
|
|
98
97
|
|
|
99
|
-
renderTimestampMessage = (interactedAt, interactionType) => {
|
|
100
|
-
const lastActionMessage = determineInteractionMessage(interactionType, interactedAt);
|
|
101
|
-
const { intl } = this.props;
|
|
102
|
-
const timeAgo = intl.formatRelativeTime
|
|
103
|
-
? intl.formatRelativeTime(interactedAt - Date.now())
|
|
104
|
-
: intl.formatRelative(interactedAt);
|
|
105
|
-
|
|
106
|
-
if (lastActionMessage) {
|
|
107
|
-
return (
|
|
108
|
-
<FormattedMessage
|
|
109
|
-
{...lastActionMessage}
|
|
110
|
-
values={{
|
|
111
|
-
timeAgo,
|
|
112
|
-
}}
|
|
113
|
-
/>
|
|
114
|
-
);
|
|
115
|
-
}
|
|
116
|
-
return null;
|
|
117
|
-
};
|
|
118
|
-
|
|
119
|
-
renderCollabList = () => {
|
|
120
|
-
const { collaborators } = this.props;
|
|
121
|
-
return collaborators.map(collaborator => {
|
|
122
|
-
const { avatarUrl, id, isActive, interactedAt, interactionType, name, profileUrl } = collaborator;
|
|
123
|
-
|
|
124
|
-
return (
|
|
125
|
-
<div key={id} className="bdl-PresenceCollaboratorsList-item" role="listitem">
|
|
126
|
-
<PresenceAvatar avatarUrl={avatarUrl} id={id} isActive={isActive} isDropDownAvatar name={name} />
|
|
127
|
-
<div className="bdl-PresenceCollaboratorsList-item-info-container">
|
|
128
|
-
<div className="bdl-PresenceCollaboratorsList-item-info-name">
|
|
129
|
-
{isEmpty(profileUrl) ? (
|
|
130
|
-
<span>{name}</span>
|
|
131
|
-
) : (
|
|
132
|
-
<Link href={profileUrl} target="_blank">
|
|
133
|
-
{name}
|
|
134
|
-
</Link>
|
|
135
|
-
)}
|
|
136
|
-
</div>
|
|
137
|
-
<div className="bdl-PresenceCollaboratorsList-item-info-time">
|
|
138
|
-
{isActive ? (
|
|
139
|
-
<FormattedMessage {...messages.activeNowText} />
|
|
140
|
-
) : (
|
|
141
|
-
this.renderTimestampMessage(interactedAt, interactionType)
|
|
142
|
-
)}
|
|
143
|
-
</div>
|
|
144
|
-
</div>
|
|
145
|
-
</div>
|
|
146
|
-
);
|
|
147
|
-
});
|
|
148
|
-
};
|
|
149
|
-
|
|
150
98
|
renderActions = () => {
|
|
151
99
|
const { getLinkCallback, inviteCallback } = this.props;
|
|
152
100
|
|
|
@@ -172,7 +120,7 @@ class PresenceCollaboratorsList extends React.Component<Props> {
|
|
|
172
120
|
|
|
173
121
|
render() {
|
|
174
122
|
const { isScrollableAbove, isScrollableBelow } = this.state;
|
|
175
|
-
const { getLinkCallback, inviteCallback } = this.props;
|
|
123
|
+
const { collaborators, getLinkCallback, inviteCallback } = this.props;
|
|
176
124
|
const buttonsPresent = getLinkCallback || inviteCallback;
|
|
177
125
|
|
|
178
126
|
const dropdownListClasses = classnames('bdl-PresenceCollaboratorsList-list', {
|
|
@@ -183,7 +131,6 @@ class PresenceCollaboratorsList extends React.Component<Props> {
|
|
|
183
131
|
});
|
|
184
132
|
|
|
185
133
|
const title = this.renderTitle();
|
|
186
|
-
const collabList = this.renderCollabList();
|
|
187
134
|
const actions = this.renderActions();
|
|
188
135
|
|
|
189
136
|
return (
|
|
@@ -197,7 +144,9 @@ class PresenceCollaboratorsList extends React.Component<Props> {
|
|
|
197
144
|
onScroll={this.throttledHandleScroll}
|
|
198
145
|
role="list"
|
|
199
146
|
>
|
|
200
|
-
{
|
|
147
|
+
{collaborators.map(collaborator => (
|
|
148
|
+
<PresenceCollaborator collaborator={collaborator} key={collaborator.id} role="listitem" />
|
|
149
|
+
))}
|
|
201
150
|
</div>
|
|
202
151
|
{actions}
|
|
203
152
|
</div>
|
|
@@ -77,52 +77,25 @@
|
|
|
77
77
|
/* end GROWTH-382 */
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
-
.bdl-
|
|
81
|
-
margin-top: 0;
|
|
82
|
-
margin-bottom: 10px;
|
|
83
|
-
color: $bdl-gray;
|
|
84
|
-
font-size: 15px;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.bdl-PresenceCollaboratorsList-item {
|
|
80
|
+
.bdl-PresenceCollaborator {
|
|
88
81
|
display: flex;
|
|
89
82
|
align-items: center;
|
|
90
83
|
margin-top: 10px;
|
|
91
84
|
}
|
|
92
85
|
|
|
93
|
-
.bdl-PresenceCollaboratorsList-item-info-container {
|
|
94
|
-
display: inline-block;
|
|
95
|
-
margin-left: 10px;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.bdl-PresenceCollaboratorsList-item-info-name {
|
|
99
|
-
width: 180px;
|
|
100
|
-
overflow: hidden;
|
|
101
|
-
color: $bdl-gray;
|
|
102
|
-
font-size: 13px;
|
|
103
|
-
white-space: nowrap;
|
|
104
|
-
text-overflow: ellipsis;
|
|
105
|
-
|
|
106
|
-
a {
|
|
107
|
-
color: $bdl-gray;
|
|
108
|
-
|
|
109
|
-
&:hover {
|
|
110
|
-
text-decoration: underline;
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
.bdl-PresenceCollaboratorsList-item-info-time {
|
|
116
|
-
color: $bdl-gray-62;
|
|
117
|
-
font-size: 12px;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
86
|
.bdl-PresenceCollaboratorsList-list {
|
|
121
87
|
max-height: 200px;
|
|
122
88
|
overflow-x: hidden;
|
|
123
89
|
overflow-y: auto;
|
|
124
90
|
}
|
|
125
91
|
|
|
92
|
+
.bdl-PresenceCollaboratorsList-title {
|
|
93
|
+
margin-top: 0;
|
|
94
|
+
margin-bottom: 10px;
|
|
95
|
+
color: $bdl-gray;
|
|
96
|
+
font-size: 15px;
|
|
97
|
+
}
|
|
98
|
+
|
|
126
99
|
.bdl-PresenceCollaboratorsList-actions {
|
|
127
100
|
display: flex;
|
|
128
101
|
justify-content: flex-end;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { createIntl } from 'react-intl';
|
|
3
|
+
import { PresenceCollaboratorComponent as PresenceCollaborator, renderTimestampMessage } from '../PresenceCollaborator';
|
|
4
|
+
|
|
5
|
+
const intl = createIntl({});
|
|
6
|
+
|
|
7
|
+
describe('features/presence/PresenceCollaborator', () => {
|
|
8
|
+
describe('renderTimestampMessage()', () => {
|
|
9
|
+
test('should return null when interactionType is an unkown type', () => {
|
|
10
|
+
const res = renderTimestampMessage(123, 'test1234', intl);
|
|
11
|
+
expect(res).toEqual(null);
|
|
12
|
+
});
|
|
13
|
+
|
|
14
|
+
test('should not return null when interactionType is a known type', () => {
|
|
15
|
+
const res = renderTimestampMessage(123, 'user.item_preview', intl);
|
|
16
|
+
expect(res).not.toEqual(null);
|
|
17
|
+
});
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
describe('render()', () => {
|
|
21
|
+
test('should correctly render a collaborator', () => {
|
|
22
|
+
const collaborator = {
|
|
23
|
+
avatarUrl: '',
|
|
24
|
+
id: '1',
|
|
25
|
+
isActive: false,
|
|
26
|
+
interactedAt: 999,
|
|
27
|
+
interactionType: 'user.item_preview',
|
|
28
|
+
name: 'e',
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
const wrapper = shallow(<PresenceCollaborator collaborator={collaborator} intl={intl} />);
|
|
32
|
+
|
|
33
|
+
expect(wrapper.find('.bdl-PresenceCollaborator').length).toBe(1);
|
|
34
|
+
});
|
|
35
|
+
});
|
|
36
|
+
});
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { createIntl } from 'react-intl';
|
|
3
3
|
import collaboratorList from '../__mocks__/collaborators';
|
|
4
|
+
import PresenceCollaborator from '../PresenceCollaborator';
|
|
4
5
|
import { PresenceCollaboratorsListComponent as PresenceCollaboratorsList } from '../PresenceCollaboratorsList';
|
|
5
6
|
|
|
6
7
|
const intl = createIntl({});
|
|
@@ -132,68 +133,23 @@ describe('features/presence/PresenceCollaboratorsList', () => {
|
|
|
132
133
|
});
|
|
133
134
|
});
|
|
134
135
|
|
|
135
|
-
describe('renderTimestampMessage()', () => {
|
|
136
|
-
test('should return null when interactionType is an unkown type', () => {
|
|
137
|
-
const wrapper = shallow(<PresenceCollaboratorsList intl={intl} collaborators={collaboratorList} />, {
|
|
138
|
-
disableLifecycleMethods: true,
|
|
139
|
-
});
|
|
140
|
-
const instance = wrapper.instance();
|
|
141
|
-
const res = instance.renderTimestampMessage(123, 'test1234');
|
|
142
|
-
expect(res).toEqual(null);
|
|
143
|
-
});
|
|
144
|
-
|
|
145
|
-
test('should not return null when interactionType is a known type', () => {
|
|
146
|
-
const wrapper = shallow(<PresenceCollaboratorsList intl={intl} collaborators={collaboratorList} />, {
|
|
147
|
-
disableLifecycleMethods: true,
|
|
148
|
-
});
|
|
149
|
-
const instance = wrapper.instance();
|
|
150
|
-
const res = instance.renderTimestampMessage(123, 'user.item_preview');
|
|
151
|
-
expect(res).not.toEqual(null);
|
|
152
|
-
});
|
|
153
|
-
});
|
|
154
|
-
|
|
155
136
|
describe('render()', () => {
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
137
|
+
const wrapper = shallow(
|
|
138
|
+
<PresenceCollaboratorsList
|
|
139
|
+
intl={intl}
|
|
140
|
+
collaborators={collaboratorList}
|
|
141
|
+
getLinkCallback={() => {}}
|
|
142
|
+
inviteCallback={() => {}}
|
|
143
|
+
/>,
|
|
144
|
+
{ disableLifecycleMethods: true },
|
|
145
|
+
);
|
|
162
146
|
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
const calculateOverflowSpy = jest.fn().mockReturnValue({
|
|
166
|
-
isScrollableBelow: false,
|
|
167
|
-
isScrollableAbove: false,
|
|
168
|
-
});
|
|
169
|
-
instance.calculateOverflow = calculateOverflowSpy;
|
|
170
|
-
|
|
171
|
-
expect(wrapper.find('.bdl-PresenceCollaboratorsList-list').length).toBe(1);
|
|
172
|
-
expect(wrapper.find('.bdl-PresenceCollaboratorsList-item').length).toBe(0);
|
|
173
|
-
expect(wrapper.find('.bdl-PresenceCollaboratorsList-actions').length).toBe(0);
|
|
147
|
+
test('should correctly render dropdownActions', () => {
|
|
148
|
+
expect(wrapper.find('.bdl-PresenceCollaboratorsList-actions').length).toBe(1);
|
|
174
149
|
});
|
|
175
150
|
|
|
176
151
|
test('should correctly render collaborators', () => {
|
|
177
|
-
|
|
178
|
-
disableLifecycleMethods: true,
|
|
179
|
-
});
|
|
180
|
-
|
|
181
|
-
expect(wrapper.find('.bdl-PresenceCollaboratorsList-list').length).toBe(1);
|
|
182
|
-
expect(wrapper.find('.bdl-PresenceCollaboratorsList-item').length).toBe(5);
|
|
183
|
-
});
|
|
184
|
-
|
|
185
|
-
test('should correctly render dropdownActions', () => {
|
|
186
|
-
const wrapper = shallow(
|
|
187
|
-
<PresenceCollaboratorsList
|
|
188
|
-
intl={intl}
|
|
189
|
-
collaborators={collaboratorList}
|
|
190
|
-
getLinkCallback={() => {}}
|
|
191
|
-
inviteCallback={() => {}}
|
|
192
|
-
/>,
|
|
193
|
-
{ disableLifecycleMethods: true },
|
|
194
|
-
);
|
|
195
|
-
|
|
196
|
-
expect(wrapper.find('.bdl-PresenceCollaboratorsList-actions').length).toBe(1);
|
|
152
|
+
expect(wrapper.find(PresenceCollaborator)).toHaveLength(5);
|
|
197
153
|
});
|
|
198
154
|
});
|
|
199
155
|
});
|
|
@@ -8,6 +8,7 @@ exports[`features/presence/Presence render() Tests for presence autofly - GROWTH
|
|
|
8
8
|
closeOnWindowBlur={false}
|
|
9
9
|
constrainToScrollParent={true}
|
|
10
10
|
constrainToWindow={false}
|
|
11
|
+
isResponsive={false}
|
|
11
12
|
isVisibleByDefault={false}
|
|
12
13
|
onClose={[Function]}
|
|
13
14
|
onOpen={[Function]}
|
|
@@ -131,6 +132,7 @@ exports[`features/presence/Presence render() Tests for presence autofly - GROWTH
|
|
|
131
132
|
closeOnWindowBlur={false}
|
|
132
133
|
constrainToScrollParent={true}
|
|
133
134
|
constrainToWindow={false}
|
|
135
|
+
isResponsive={false}
|
|
134
136
|
isVisibleByDefault={false}
|
|
135
137
|
onClose={[Function]}
|
|
136
138
|
onOpen={[Function]}
|
|
@@ -254,6 +256,7 @@ exports[`features/presence/Presence render() Tests for presence autofly - GROWTH
|
|
|
254
256
|
closeOnWindowBlur={false}
|
|
255
257
|
constrainToScrollParent={true}
|
|
256
258
|
constrainToWindow={false}
|
|
259
|
+
isResponsive={false}
|
|
257
260
|
isVisibleByDefault={false}
|
|
258
261
|
onClose={[Function]}
|
|
259
262
|
onOpen={[Function]}
|
|
@@ -300,6 +303,7 @@ exports[`features/presence/Presence render() Tests for presence autofly - GROWTH
|
|
|
300
303
|
closeOnWindowBlur={false}
|
|
301
304
|
constrainToScrollParent={true}
|
|
302
305
|
constrainToWindow={false}
|
|
306
|
+
isResponsive={false}
|
|
303
307
|
isVisibleByDefault={false}
|
|
304
308
|
onClose={[Function]}
|
|
305
309
|
onOpen={[Function]}
|
|
@@ -432,6 +436,7 @@ exports[`features/presence/Presence render() Tests for presence autofly - GROWTH
|
|
|
432
436
|
closeOnWindowBlur={false}
|
|
433
437
|
constrainToScrollParent={true}
|
|
434
438
|
constrainToWindow={false}
|
|
439
|
+
isResponsive={false}
|
|
435
440
|
isVisibleByDefault={true}
|
|
436
441
|
onClose={[Function]}
|
|
437
442
|
onOpen={[Function]}
|
|
@@ -8,6 +8,7 @@ exports[`features/presence/PresenceLink render() should change the flyoutPositio
|
|
|
8
8
|
closeOnWindowBlur={false}
|
|
9
9
|
constrainToScrollParent={true}
|
|
10
10
|
constrainToWindow={false}
|
|
11
|
+
isResponsive={false}
|
|
11
12
|
isVisibleByDefault={false}
|
|
12
13
|
openOnHover={false}
|
|
13
14
|
openOnHoverDelayTimeout={300}
|
|
@@ -91,6 +92,7 @@ exports[`features/presence/PresenceLink render() should correctly render collabo
|
|
|
91
92
|
closeOnWindowBlur={false}
|
|
92
93
|
constrainToScrollParent={true}
|
|
93
94
|
constrainToWindow={false}
|
|
95
|
+
isResponsive={false}
|
|
94
96
|
isVisibleByDefault={false}
|
|
95
97
|
openOnHover={false}
|
|
96
98
|
openOnHoverDelayTimeout={300}
|
|
@@ -175,6 +177,7 @@ exports[`features/presence/PresenceLink render() should pass through additional
|
|
|
175
177
|
closeOnWindowBlur={false}
|
|
176
178
|
constrainToScrollParent={true}
|
|
177
179
|
constrainToWindow={false}
|
|
180
|
+
isResponsive={false}
|
|
178
181
|
isVisibleByDefault={false}
|
|
179
182
|
openOnHover={false}
|
|
180
183
|
openOnHoverDelayTimeout={300}
|
|
@@ -8,6 +8,7 @@ exports[`features/query-bar/components/ColumnButton render should render ColumnB
|
|
|
8
8
|
closeOnWindowBlur={false}
|
|
9
9
|
constrainToScrollParent={true}
|
|
10
10
|
constrainToWindow={false}
|
|
11
|
+
isResponsive={false}
|
|
11
12
|
isVisibleByDefault={false}
|
|
12
13
|
onClose={[Function]}
|
|
13
14
|
onOpen={[Function]}
|
|
@@ -50,6 +51,7 @@ exports[`features/query-bar/components/ColumnButton render should render ColumnB
|
|
|
50
51
|
closeOnWindowBlur={false}
|
|
51
52
|
constrainToScrollParent={true}
|
|
52
53
|
constrainToWindow={false}
|
|
54
|
+
isResponsive={false}
|
|
53
55
|
isVisibleByDefault={false}
|
|
54
56
|
onClose={[Function]}
|
|
55
57
|
onOpen={[Function]}
|
|
@@ -114,6 +116,7 @@ exports[`features/query-bar/components/ColumnButton render should render ColumnB
|
|
|
114
116
|
closeOnWindowBlur={false}
|
|
115
117
|
constrainToScrollParent={true}
|
|
116
118
|
constrainToWindow={false}
|
|
119
|
+
isResponsive={false}
|
|
117
120
|
isVisibleByDefault={false}
|
|
118
121
|
onClose={[Function]}
|
|
119
122
|
onOpen={[Function]}
|