@atlaskit/share 4.23.0 → 4.23.1
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/CHANGELOG.md +6 -0
- package/dist/cjs/components/ShareDialogWithTrigger.js +80 -77
- package/dist/cjs/components/analytics/analytics.js +1 -1
- package/dist/es2019/components/ShareDialogWithTrigger.js +76 -73
- package/dist/es2019/components/analytics/analytics.js +1 -1
- package/dist/esm/components/ShareDialogWithTrigger.js +80 -77
- package/dist/esm/components/analytics/analytics.js +1 -1
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -565,83 +565,86 @@ var ShareDialogWithTriggerInternal = exports.ShareDialogWithTriggerInternal = /*
|
|
|
565
565
|
var footer = (0, _utils.resolveShareFooter)(integrationMode, this.state.tabIndex, customFooter);
|
|
566
566
|
|
|
567
567
|
// for performance purposes, we may want to have a loadable content i.e. ShareForm
|
|
568
|
-
return (
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
568
|
+
return (
|
|
569
|
+
// eslint-disable-next-line jsx-a11y/no-static-element-interactions
|
|
570
|
+
(0, _react2.jsx)("div", {
|
|
571
|
+
css: shareButtonWrapperStyles,
|
|
572
|
+
tabIndex: tabIndex,
|
|
573
|
+
onKeyDown: this.handleKeyDown
|
|
574
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
575
|
+
,
|
|
576
|
+
style: style
|
|
577
|
+
}, (0, _react2.jsx)(_popup.default, {
|
|
578
|
+
content: function content() {
|
|
579
|
+
return (0, _react2.jsx)("div", {
|
|
580
|
+
ref: _this2.containerRef
|
|
581
|
+
}, (0, _react2.jsx)(_lazy.default, {
|
|
582
|
+
Content: selectedIntegration && selectedIntegration.Content,
|
|
583
|
+
selectedIntegration: selectedIntegration,
|
|
584
|
+
copyLink: copyLink,
|
|
585
|
+
showIntegrationForm: showIntegrationForm,
|
|
586
|
+
bottomMessage: bottomMessage,
|
|
587
|
+
customFooter: footer,
|
|
588
|
+
loadOptions: loadUserOptions,
|
|
589
|
+
isSharing: isSharing,
|
|
590
|
+
shareFormTitle: shareFormTitle,
|
|
591
|
+
showTitle: integrationMode !== 'tabs' || !shareIntegrations || !shareIntegrations.length,
|
|
592
|
+
shareFormHelperMessage: shareFormHelperMessage,
|
|
593
|
+
shareError: shareError,
|
|
594
|
+
defaultValue: defaultValue,
|
|
595
|
+
config: config,
|
|
596
|
+
isFetchingConfig: isFetchingConfig,
|
|
597
|
+
setIsLoading: _this2.setIsLoading,
|
|
598
|
+
submitButtonLabel: submitButtonLabel,
|
|
599
|
+
product: product,
|
|
600
|
+
productAttributes: productAttributes,
|
|
601
|
+
enableSmartUserPicker: enableSmartUserPicker,
|
|
602
|
+
loggedInAccountId: loggedInAccountId,
|
|
603
|
+
cloudId: cloudId,
|
|
604
|
+
orgId: orgId,
|
|
605
|
+
onUserSelectionChange: _this2.handleOnUserSelectionChange,
|
|
606
|
+
shareFieldsFooter: shareFieldsFooter,
|
|
607
|
+
isPublicLink: isPublicLink,
|
|
608
|
+
copyTooltipText: copyTooltipText,
|
|
609
|
+
integrationMode: integrationMode,
|
|
610
|
+
shareIntegrations: shareIntegrations,
|
|
611
|
+
additionalTabs: additionalTabs,
|
|
612
|
+
isMenuItemSelected: isMenuItemSelected
|
|
613
|
+
// actions
|
|
614
|
+
,
|
|
615
|
+
onLinkCopy: _this2.handleCopyLink,
|
|
616
|
+
onSubmit: _this2.handleShareSubmit,
|
|
617
|
+
onDismiss: _this2.handleFormDismiss,
|
|
618
|
+
onDialogClose: _this2.handleCloseDialog,
|
|
619
|
+
onTabChange: _this2.onTabChange,
|
|
620
|
+
onMenuItemChange: _this2.onMenuItemChange
|
|
621
|
+
//ref
|
|
622
|
+
,
|
|
623
|
+
selectPortalRef: _this2.selectPortalRef,
|
|
624
|
+
isBrowseUsersDisabled: isBrowseUsersDisabled,
|
|
625
|
+
userPickerOptions: userPickerOptions
|
|
626
|
+
}));
|
|
627
|
+
},
|
|
628
|
+
isOpen: isDialogOpen,
|
|
629
|
+
onClose: this.handleCloseDialog,
|
|
630
|
+
placement: dialogPlacement,
|
|
631
|
+
trigger: this.renderShareTriggerButton,
|
|
632
|
+
zIndex: dialogZIndex,
|
|
633
|
+
label: this.props.intl.formatMessage(_i18n.messages.sharePopupLabel),
|
|
634
|
+
role: "dialog"
|
|
635
|
+
// TODO: remove after https://hello.atlassian.net/wiki/x/SoEGzQ experiment is finished
|
|
636
|
+
,
|
|
637
|
+
offset: this.calculatePopupOffset({
|
|
638
|
+
isMenuItemSelected: isMenuItemSelected,
|
|
639
|
+
dialogPlacement: dialogPlacement
|
|
640
|
+
}),
|
|
641
|
+
shouldRenderToParent: (0, _platformFeatureFlags.fg)('enable-appropriate-reading-order-in-share-dialog')
|
|
642
|
+
}), (0, _react2.jsx)(_portal.default, {
|
|
643
|
+
zIndex: (0, _utils.generateSelectZIndex)(dialogZIndex)
|
|
644
|
+
}, (0, _react2.jsx)("div", {
|
|
645
|
+
ref: this.selectPortalRef
|
|
646
|
+
})))
|
|
647
|
+
);
|
|
645
648
|
}
|
|
646
649
|
}]);
|
|
647
650
|
return ShareDialogWithTriggerInternal;
|
|
@@ -13,7 +13,7 @@ var buildAttributes = function buildAttributes() {
|
|
|
13
13
|
var attributes = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
14
14
|
return _objectSpread({
|
|
15
15
|
packageName: "@atlaskit/share",
|
|
16
|
-
packageVersion: "4.23.
|
|
16
|
+
packageVersion: "4.23.1"
|
|
17
17
|
}, attributes);
|
|
18
18
|
};
|
|
19
19
|
var createEvent = function createEvent(eventType, source, action, actionSubject, actionSubjectId) {
|
|
@@ -512,81 +512,84 @@ export class ShareDialogWithTriggerInternal extends React.PureComponent {
|
|
|
512
512
|
const footer = resolveShareFooter(integrationMode, this.state.tabIndex, customFooter);
|
|
513
513
|
|
|
514
514
|
// for performance purposes, we may want to have a loadable content i.e. ShareForm
|
|
515
|
-
return
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
}, jsx(Popup, {
|
|
523
|
-
content: () => jsx("div", {
|
|
524
|
-
ref: this.containerRef
|
|
525
|
-
}, jsx(LazyShareFormLazy, {
|
|
526
|
-
Content: selectedIntegration && selectedIntegration.Content,
|
|
527
|
-
selectedIntegration: selectedIntegration,
|
|
528
|
-
copyLink: copyLink,
|
|
529
|
-
showIntegrationForm: showIntegrationForm,
|
|
530
|
-
bottomMessage: bottomMessage,
|
|
531
|
-
customFooter: footer,
|
|
532
|
-
loadOptions: loadUserOptions,
|
|
533
|
-
isSharing: isSharing,
|
|
534
|
-
shareFormTitle: shareFormTitle,
|
|
535
|
-
showTitle: integrationMode !== 'tabs' || !shareIntegrations || !shareIntegrations.length,
|
|
536
|
-
shareFormHelperMessage: shareFormHelperMessage,
|
|
537
|
-
shareError: shareError,
|
|
538
|
-
defaultValue: defaultValue,
|
|
539
|
-
config: config,
|
|
540
|
-
isFetchingConfig: isFetchingConfig,
|
|
541
|
-
setIsLoading: this.setIsLoading,
|
|
542
|
-
submitButtonLabel: submitButtonLabel,
|
|
543
|
-
product: product,
|
|
544
|
-
productAttributes: productAttributes,
|
|
545
|
-
enableSmartUserPicker: enableSmartUserPicker,
|
|
546
|
-
loggedInAccountId: loggedInAccountId,
|
|
547
|
-
cloudId: cloudId,
|
|
548
|
-
orgId: orgId,
|
|
549
|
-
onUserSelectionChange: this.handleOnUserSelectionChange,
|
|
550
|
-
shareFieldsFooter: shareFieldsFooter,
|
|
551
|
-
isPublicLink: isPublicLink,
|
|
552
|
-
copyTooltipText: copyTooltipText,
|
|
553
|
-
integrationMode: integrationMode,
|
|
554
|
-
shareIntegrations: shareIntegrations,
|
|
555
|
-
additionalTabs: additionalTabs,
|
|
556
|
-
isMenuItemSelected: isMenuItemSelected
|
|
557
|
-
// actions
|
|
515
|
+
return (
|
|
516
|
+
// eslint-disable-next-line jsx-a11y/no-static-element-interactions
|
|
517
|
+
jsx("div", {
|
|
518
|
+
css: shareButtonWrapperStyles,
|
|
519
|
+
tabIndex: tabIndex,
|
|
520
|
+
onKeyDown: this.handleKeyDown
|
|
521
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
558
522
|
,
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
523
|
+
style: style
|
|
524
|
+
}, jsx(Popup, {
|
|
525
|
+
content: () => jsx("div", {
|
|
526
|
+
ref: this.containerRef
|
|
527
|
+
}, jsx(LazyShareFormLazy, {
|
|
528
|
+
Content: selectedIntegration && selectedIntegration.Content,
|
|
529
|
+
selectedIntegration: selectedIntegration,
|
|
530
|
+
copyLink: copyLink,
|
|
531
|
+
showIntegrationForm: showIntegrationForm,
|
|
532
|
+
bottomMessage: bottomMessage,
|
|
533
|
+
customFooter: footer,
|
|
534
|
+
loadOptions: loadUserOptions,
|
|
535
|
+
isSharing: isSharing,
|
|
536
|
+
shareFormTitle: shareFormTitle,
|
|
537
|
+
showTitle: integrationMode !== 'tabs' || !shareIntegrations || !shareIntegrations.length,
|
|
538
|
+
shareFormHelperMessage: shareFormHelperMessage,
|
|
539
|
+
shareError: shareError,
|
|
540
|
+
defaultValue: defaultValue,
|
|
541
|
+
config: config,
|
|
542
|
+
isFetchingConfig: isFetchingConfig,
|
|
543
|
+
setIsLoading: this.setIsLoading,
|
|
544
|
+
submitButtonLabel: submitButtonLabel,
|
|
545
|
+
product: product,
|
|
546
|
+
productAttributes: productAttributes,
|
|
547
|
+
enableSmartUserPicker: enableSmartUserPicker,
|
|
548
|
+
loggedInAccountId: loggedInAccountId,
|
|
549
|
+
cloudId: cloudId,
|
|
550
|
+
orgId: orgId,
|
|
551
|
+
onUserSelectionChange: this.handleOnUserSelectionChange,
|
|
552
|
+
shareFieldsFooter: shareFieldsFooter,
|
|
553
|
+
isPublicLink: isPublicLink,
|
|
554
|
+
copyTooltipText: copyTooltipText,
|
|
555
|
+
integrationMode: integrationMode,
|
|
556
|
+
shareIntegrations: shareIntegrations,
|
|
557
|
+
additionalTabs: additionalTabs,
|
|
558
|
+
isMenuItemSelected: isMenuItemSelected
|
|
559
|
+
// actions
|
|
560
|
+
,
|
|
561
|
+
onLinkCopy: this.handleCopyLink,
|
|
562
|
+
onSubmit: this.handleShareSubmit,
|
|
563
|
+
onDismiss: this.handleFormDismiss,
|
|
564
|
+
onDialogClose: this.handleCloseDialog,
|
|
565
|
+
onTabChange: this.onTabChange,
|
|
566
|
+
onMenuItemChange: this.onMenuItemChange
|
|
567
|
+
//ref
|
|
568
|
+
,
|
|
569
|
+
selectPortalRef: this.selectPortalRef,
|
|
570
|
+
isBrowseUsersDisabled: isBrowseUsersDisabled,
|
|
571
|
+
userPickerOptions: userPickerOptions
|
|
572
|
+
})),
|
|
573
|
+
isOpen: isDialogOpen,
|
|
574
|
+
onClose: this.handleCloseDialog,
|
|
575
|
+
placement: dialogPlacement,
|
|
576
|
+
trigger: this.renderShareTriggerButton,
|
|
577
|
+
zIndex: dialogZIndex,
|
|
578
|
+
label: this.props.intl.formatMessage(messages.sharePopupLabel),
|
|
579
|
+
role: "dialog"
|
|
580
|
+
// TODO: remove after https://hello.atlassian.net/wiki/x/SoEGzQ experiment is finished
|
|
566
581
|
,
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
// TODO: remove after https://hello.atlassian.net/wiki/x/SoEGzQ experiment is finished
|
|
579
|
-
,
|
|
580
|
-
offset: this.calculatePopupOffset({
|
|
581
|
-
isMenuItemSelected,
|
|
582
|
-
dialogPlacement
|
|
583
|
-
}),
|
|
584
|
-
shouldRenderToParent: fg('enable-appropriate-reading-order-in-share-dialog')
|
|
585
|
-
}), jsx(Portal, {
|
|
586
|
-
zIndex: generateSelectZIndex(dialogZIndex)
|
|
587
|
-
}, jsx("div", {
|
|
588
|
-
ref: this.selectPortalRef
|
|
589
|
-
})));
|
|
582
|
+
offset: this.calculatePopupOffset({
|
|
583
|
+
isMenuItemSelected,
|
|
584
|
+
dialogPlacement
|
|
585
|
+
}),
|
|
586
|
+
shouldRenderToParent: fg('enable-appropriate-reading-order-in-share-dialog')
|
|
587
|
+
}), jsx(Portal, {
|
|
588
|
+
zIndex: generateSelectZIndex(dialogZIndex)
|
|
589
|
+
}, jsx("div", {
|
|
590
|
+
ref: this.selectPortalRef
|
|
591
|
+
})))
|
|
592
|
+
);
|
|
590
593
|
}
|
|
591
594
|
}
|
|
592
595
|
_defineProperty(ShareDialogWithTriggerInternal, "defaultProps", {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { isEmail, isExternalUser, isGroup, isTeam, isUser } from '@atlaskit/smart-user-picker';
|
|
2
2
|
const buildAttributes = (attributes = {}) => ({
|
|
3
3
|
packageName: "@atlaskit/share",
|
|
4
|
-
packageVersion: "4.23.
|
|
4
|
+
packageVersion: "4.23.1",
|
|
5
5
|
...attributes
|
|
6
6
|
});
|
|
7
7
|
const createEvent = (eventType, source, action, actionSubject, actionSubjectId, attributes = {}) => ({
|
|
@@ -564,83 +564,86 @@ export var ShareDialogWithTriggerInternal = /*#__PURE__*/function (_React$PureCo
|
|
|
564
564
|
var footer = resolveShareFooter(integrationMode, this.state.tabIndex, customFooter);
|
|
565
565
|
|
|
566
566
|
// for performance purposes, we may want to have a loadable content i.e. ShareForm
|
|
567
|
-
return
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
567
|
+
return (
|
|
568
|
+
// eslint-disable-next-line jsx-a11y/no-static-element-interactions
|
|
569
|
+
jsx("div", {
|
|
570
|
+
css: shareButtonWrapperStyles,
|
|
571
|
+
tabIndex: tabIndex,
|
|
572
|
+
onKeyDown: this.handleKeyDown
|
|
573
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
574
|
+
,
|
|
575
|
+
style: style
|
|
576
|
+
}, jsx(Popup, {
|
|
577
|
+
content: function content() {
|
|
578
|
+
return jsx("div", {
|
|
579
|
+
ref: _this2.containerRef
|
|
580
|
+
}, jsx(LazyShareFormLazy, {
|
|
581
|
+
Content: selectedIntegration && selectedIntegration.Content,
|
|
582
|
+
selectedIntegration: selectedIntegration,
|
|
583
|
+
copyLink: copyLink,
|
|
584
|
+
showIntegrationForm: showIntegrationForm,
|
|
585
|
+
bottomMessage: bottomMessage,
|
|
586
|
+
customFooter: footer,
|
|
587
|
+
loadOptions: loadUserOptions,
|
|
588
|
+
isSharing: isSharing,
|
|
589
|
+
shareFormTitle: shareFormTitle,
|
|
590
|
+
showTitle: integrationMode !== 'tabs' || !shareIntegrations || !shareIntegrations.length,
|
|
591
|
+
shareFormHelperMessage: shareFormHelperMessage,
|
|
592
|
+
shareError: shareError,
|
|
593
|
+
defaultValue: defaultValue,
|
|
594
|
+
config: config,
|
|
595
|
+
isFetchingConfig: isFetchingConfig,
|
|
596
|
+
setIsLoading: _this2.setIsLoading,
|
|
597
|
+
submitButtonLabel: submitButtonLabel,
|
|
598
|
+
product: product,
|
|
599
|
+
productAttributes: productAttributes,
|
|
600
|
+
enableSmartUserPicker: enableSmartUserPicker,
|
|
601
|
+
loggedInAccountId: loggedInAccountId,
|
|
602
|
+
cloudId: cloudId,
|
|
603
|
+
orgId: orgId,
|
|
604
|
+
onUserSelectionChange: _this2.handleOnUserSelectionChange,
|
|
605
|
+
shareFieldsFooter: shareFieldsFooter,
|
|
606
|
+
isPublicLink: isPublicLink,
|
|
607
|
+
copyTooltipText: copyTooltipText,
|
|
608
|
+
integrationMode: integrationMode,
|
|
609
|
+
shareIntegrations: shareIntegrations,
|
|
610
|
+
additionalTabs: additionalTabs,
|
|
611
|
+
isMenuItemSelected: isMenuItemSelected
|
|
612
|
+
// actions
|
|
613
|
+
,
|
|
614
|
+
onLinkCopy: _this2.handleCopyLink,
|
|
615
|
+
onSubmit: _this2.handleShareSubmit,
|
|
616
|
+
onDismiss: _this2.handleFormDismiss,
|
|
617
|
+
onDialogClose: _this2.handleCloseDialog,
|
|
618
|
+
onTabChange: _this2.onTabChange,
|
|
619
|
+
onMenuItemChange: _this2.onMenuItemChange
|
|
620
|
+
//ref
|
|
621
|
+
,
|
|
622
|
+
selectPortalRef: _this2.selectPortalRef,
|
|
623
|
+
isBrowseUsersDisabled: isBrowseUsersDisabled,
|
|
624
|
+
userPickerOptions: userPickerOptions
|
|
625
|
+
}));
|
|
626
|
+
},
|
|
627
|
+
isOpen: isDialogOpen,
|
|
628
|
+
onClose: this.handleCloseDialog,
|
|
629
|
+
placement: dialogPlacement,
|
|
630
|
+
trigger: this.renderShareTriggerButton,
|
|
631
|
+
zIndex: dialogZIndex,
|
|
632
|
+
label: this.props.intl.formatMessage(messages.sharePopupLabel),
|
|
633
|
+
role: "dialog"
|
|
634
|
+
// TODO: remove after https://hello.atlassian.net/wiki/x/SoEGzQ experiment is finished
|
|
635
|
+
,
|
|
636
|
+
offset: this.calculatePopupOffset({
|
|
637
|
+
isMenuItemSelected: isMenuItemSelected,
|
|
638
|
+
dialogPlacement: dialogPlacement
|
|
639
|
+
}),
|
|
640
|
+
shouldRenderToParent: fg('enable-appropriate-reading-order-in-share-dialog')
|
|
641
|
+
}), jsx(Portal, {
|
|
642
|
+
zIndex: generateSelectZIndex(dialogZIndex)
|
|
643
|
+
}, jsx("div", {
|
|
644
|
+
ref: this.selectPortalRef
|
|
645
|
+
})))
|
|
646
|
+
);
|
|
644
647
|
}
|
|
645
648
|
}]);
|
|
646
649
|
return ShareDialogWithTriggerInternal;
|
|
@@ -6,7 +6,7 @@ var buildAttributes = function buildAttributes() {
|
|
|
6
6
|
var attributes = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
7
7
|
return _objectSpread({
|
|
8
8
|
packageName: "@atlaskit/share",
|
|
9
|
-
packageVersion: "4.23.
|
|
9
|
+
packageVersion: "4.23.1"
|
|
10
10
|
}, attributes);
|
|
11
11
|
};
|
|
12
12
|
var createEvent = function createEvent(eventType, source, action, actionSubject, actionSubjectId) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/share",
|
|
3
|
-
"version": "4.23.
|
|
3
|
+
"version": "4.23.1",
|
|
4
4
|
"description": "Fabric Share Element",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -40,23 +40,23 @@
|
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@atlaskit/analytics-next": "^10.1.0",
|
|
42
42
|
"@atlaskit/button": "^20.3.0",
|
|
43
|
-
"@atlaskit/dropdown-menu": "^12.
|
|
44
|
-
"@atlaskit/form": "^10.
|
|
45
|
-
"@atlaskit/heading": "^
|
|
46
|
-
"@atlaskit/icon": "^22.
|
|
43
|
+
"@atlaskit/dropdown-menu": "^12.23.0",
|
|
44
|
+
"@atlaskit/form": "^10.6.0",
|
|
45
|
+
"@atlaskit/heading": "^4.0.0",
|
|
46
|
+
"@atlaskit/icon": "^22.28.0",
|
|
47
47
|
"@atlaskit/link": "^1.2.0",
|
|
48
48
|
"@atlaskit/menu": "^2.13.0",
|
|
49
49
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
50
50
|
"@atlaskit/popper": "^6.3.0",
|
|
51
51
|
"@atlaskit/popup": "^1.29.0",
|
|
52
52
|
"@atlaskit/portal": "^4.9.0",
|
|
53
|
-
"@atlaskit/primitives": "^13.
|
|
53
|
+
"@atlaskit/primitives": "^13.3.0",
|
|
54
54
|
"@atlaskit/smart-user-picker": "^6.11.0",
|
|
55
55
|
"@atlaskit/spinner": "^16.3.0",
|
|
56
56
|
"@atlaskit/tabs": "^16.5.0",
|
|
57
57
|
"@atlaskit/textarea": "^5.6.0",
|
|
58
58
|
"@atlaskit/theme": "^14.0.0",
|
|
59
|
-
"@atlaskit/tokens": "^2.
|
|
59
|
+
"@atlaskit/tokens": "^2.4.0",
|
|
60
60
|
"@atlaskit/tooltip": "^18.9.0",
|
|
61
61
|
"@atlaskit/ufo": "^0.3.0",
|
|
62
62
|
"@atlaskit/user-picker": "^10.27.0",
|