@atlaskit/share 3.0.6 → 3.0.7

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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/share
2
2
 
3
+ ## 3.0.7
4
+
5
+ ### Patch Changes
6
+
7
+ - [`4e97b934e85`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4e97b934e85) - Adds condition to only render customFooter for default share form
8
+
3
9
  ## 3.0.6
4
10
 
5
11
  ### Patch Changes
@@ -58,7 +58,7 @@ function LazyShareForm(props) {
58
58
  defaultValue = props.defaultValue,
59
59
  showTitle = props.showTitle;
60
60
 
61
- var footer = /*#__PURE__*/_react.default.createElement("div", null, bottomMessage ? /*#__PURE__*/_react.default.createElement(_styled.BottomMessageWrapper, null, bottomMessage) : null, customFooter && /*#__PURE__*/_react.default.createElement(_styled.CustomFooterWrapper, null, customFooter));
61
+ var footer = /*#__PURE__*/_react.default.createElement("div", null, bottomMessage ? /*#__PURE__*/_react.default.createElement(_styled.BottomMessageWrapper, null, bottomMessage) : null, customFooter && selectedIntegration === null && /*#__PURE__*/_react.default.createElement(_styled.CustomFooterWrapper, null, customFooter));
62
62
 
63
63
  return /*#__PURE__*/_react.default.createElement(_ShareFormWrapper.ShareFormWrapper, {
64
64
  footer: footer // form title will be determined by `title` and `showTitle` prop passed to `ShareForm`,
@@ -104,7 +104,8 @@ var ShareDialogWithTriggerInternal = /*#__PURE__*/function (_React$PureComponent
104
104
  defaultValue: defaultShareContentState,
105
105
  isUsingSplitButton: false,
106
106
  showIntegrationForm: false,
107
- selectedIntegration: null
107
+ selectedIntegration: null,
108
+ tabIndex: 0
108
109
  });
109
110
  (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "closeAndResetDialog", function () {
110
111
  _this.setState({
@@ -149,6 +150,10 @@ var ShareDialogWithTriggerInternal = /*#__PURE__*/function (_React$PureComponent
149
150
  }
150
151
 
151
152
  _this.createAndFireEvent((0, _analytics.shareTabClicked)(subjectId));
153
+
154
+ _this.setState({
155
+ tabIndex: index
156
+ });
152
157
  });
153
158
  (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "getFlags", function () {
154
159
  var formatMessage = _this.props.intl.formatMessage; // The reason for providing message property is that in jira,
@@ -450,7 +455,8 @@ var ShareDialogWithTriggerInternal = /*#__PURE__*/function (_React$PureComponent
450
455
  shareIntegrations = _this$props7.shareIntegrations;
451
456
  var style = typeof tabIndex !== 'undefined' && tabIndex >= 0 ? {
452
457
  outline: 'none'
453
- } : undefined; // for performance purposes, we may want to have a loadable content i.e. ShareForm
458
+ } : undefined;
459
+ var footer = (0, _utils.resolveShareFooter)(integrationMode, this.state.tabIndex, customFooter); // for performance purposes, we may want to have a loadable content i.e. ShareForm
454
460
 
455
461
  return /*#__PURE__*/_react.default.createElement(ShareButtonWrapper, {
456
462
  tabIndex: tabIndex,
@@ -466,7 +472,7 @@ var ShareDialogWithTriggerInternal = /*#__PURE__*/function (_React$PureComponent
466
472
  copyLink: copyLink,
467
473
  showIntegrationForm: showIntegrationForm,
468
474
  bottomMessage: bottomMessage,
469
- customFooter: customFooter,
475
+ customFooter: footer,
470
476
  loadOptions: loadUserOptions,
471
477
  isSharing: isSharing,
472
478
  shareFormTitle: shareFormTitle,
@@ -225,9 +225,13 @@ var InternalForm = /*#__PURE__*/function (_React$PureComponent) {
225
225
  return /*#__PURE__*/_react.default.createElement(_reactIntlNext.FormattedMessage, productShareType);
226
226
  });
227
227
  (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "changeTab", function (tab) {
228
+ var _this$props$onTabChan, _this$props4;
229
+
228
230
  _this.setState({
229
231
  selectedTab: tab
230
232
  });
233
+
234
+ (_this$props$onTabChan = (_this$props4 = _this.props).onTabChange) === null || _this$props$onTabChan === void 0 ? void 0 : _this$props$onTabChan.call(_this$props4, tab);
231
235
  });
232
236
  return _this;
233
237
  }
@@ -235,9 +239,9 @@ var InternalForm = /*#__PURE__*/function (_React$PureComponent) {
235
239
  (0, _createClass2.default)(InternalForm, [{
236
240
  key: "componentWillUnmount",
237
241
  value: function componentWillUnmount() {
238
- var _this$props4 = this.props,
239
- onDismiss = _this$props4.onDismiss,
240
- getValues = _this$props4.getValues;
242
+ var _this$props5 = this.props,
243
+ onDismiss = _this$props5.onDismiss,
244
+ getValues = _this$props5.getValues;
241
245
 
242
246
  if (onDismiss) {
243
247
  onDismiss(getValues());
@@ -246,14 +250,11 @@ var InternalForm = /*#__PURE__*/function (_React$PureComponent) {
246
250
  }, {
247
251
  key: "render",
248
252
  value: function render() {
249
- var _this2 = this;
250
-
251
- var _this$props5 = this.props,
252
- _this$props5$integrat = _this$props5.integrationMode,
253
- integrationMode = _this$props5$integrat === void 0 ? 'off' : _this$props5$integrat,
254
- shareIntegrations = _this$props5.shareIntegrations,
255
- onTabChange = _this$props5.onTabChange,
256
- handleCloseDialog = _this$props5.handleCloseDialog;
253
+ var _this$props6 = this.props,
254
+ _this$props6$integrat = _this$props6.integrationMode,
255
+ integrationMode = _this$props6$integrat === void 0 ? 'off' : _this$props6$integrat,
256
+ shareIntegrations = _this$props6.shareIntegrations,
257
+ handleCloseDialog = _this$props6.handleCloseDialog;
257
258
 
258
259
  if (integrationMode === 'off' || !shareIntegrations || !shareIntegrations.length) {
259
260
  return this.renderShareForm();
@@ -264,11 +265,7 @@ var InternalForm = /*#__PURE__*/function (_React$PureComponent) {
264
265
  if (integrationMode === 'tabs') {
265
266
  return /*#__PURE__*/_react.default.createElement(_tabs.default, {
266
267
  id: "ShareForm-Tabs-Integrations",
267
- onChange: function onChange(index) {
268
- _this2.changeTab(index);
269
-
270
- onTabChange === null || onTabChange === void 0 ? void 0 : onTabChange(index);
271
- },
268
+ onChange: this.changeTab,
272
269
  selected: this.state.selectedTab
273
270
  }, /*#__PURE__*/_react.default.createElement(_tabs.TabList, null, /*#__PURE__*/_react.default.createElement(_tabs.Tab, {
274
271
  key: "share-tab-default"
@@ -287,9 +284,7 @@ var InternalForm = /*#__PURE__*/function (_React$PureComponent) {
287
284
  onIntegrationClose: function onIntegrationClose() {
288
285
  return handleCloseDialog === null || handleCloseDialog === void 0 ? void 0 : handleCloseDialog();
289
286
  },
290
- changeTab: function changeTab(index) {
291
- _this2.changeTab(index);
292
- }
287
+ changeTab: this.changeTab
293
288
  })))));
294
289
  }
295
290
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.zIndexAddition = exports.optionDataToUsers = exports.getMenuPortalTargetCurrentHTML = exports.generateSelectZIndex = exports.allowEmails = void 0;
6
+ exports.zIndexAddition = exports.resolveShareFooter = exports.optionDataToUsers = exports.getMenuPortalTargetCurrentHTML = exports.generateSelectZIndex = exports.allowEmails = void 0;
7
7
 
8
8
  var _constants = require("@atlaskit/theme/constants");
9
9
 
@@ -73,4 +73,12 @@ var allowEmails = function allowEmails(config) {
73
73
  return !(config && config.disableSharingToEmails);
74
74
  };
75
75
 
76
- exports.allowEmails = allowEmails;
76
+ exports.allowEmails = allowEmails;
77
+
78
+ var resolveShareFooter = function resolveShareFooter(integrationMode, tabIndex, customFooter) {
79
+ if (integrationMode === 'tabs' && tabIndex === 0 && customFooter) {
80
+ return customFooter;
81
+ }
82
+ };
83
+
84
+ exports.resolveShareFooter = resolveShareFooter;
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "name": "@atlaskit/share",
3
- "version": "3.0.6"
3
+ "version": "3.0.7"
4
4
  }
@@ -47,7 +47,7 @@ function LazyShareForm(props) {
47
47
  defaultValue,
48
48
  showTitle
49
49
  } = props;
50
- const footer = /*#__PURE__*/React.createElement("div", null, bottomMessage ? /*#__PURE__*/React.createElement(BottomMessageWrapper, null, bottomMessage) : null, customFooter && /*#__PURE__*/React.createElement(CustomFooterWrapper, null, customFooter));
50
+ const footer = /*#__PURE__*/React.createElement("div", null, bottomMessage ? /*#__PURE__*/React.createElement(BottomMessageWrapper, null, bottomMessage) : null, customFooter && selectedIntegration === null && /*#__PURE__*/React.createElement(CustomFooterWrapper, null, customFooter));
51
51
  return /*#__PURE__*/React.createElement(ShareFormWrapper, {
52
52
  footer: footer // form title will be determined by `title` and `showTitle` prop passed to `ShareForm`,
53
53
  // so we don't need to show title via ShareFormWrapper
@@ -17,7 +17,7 @@ import { cancelShare, CHANNEL_ID, copyLinkButtonClicked, formShareSubmitted, scr
17
17
  import LazyShareFormLazy from './LazyShareForm/lazy';
18
18
  import ShareButton from './ShareButton';
19
19
  import SplitButton from './SplitButton';
20
- import { generateSelectZIndex } from './utils';
20
+ import { generateSelectZIndex, resolveShareFooter } from './utils';
21
21
  const ShareButtonWrapper = styled.div`
22
22
  display: inline-flex;
23
23
  outline: none;
@@ -47,7 +47,8 @@ export class ShareDialogWithTriggerInternal extends React.PureComponent {
47
47
  defaultValue: defaultShareContentState,
48
48
  isUsingSplitButton: false,
49
49
  showIntegrationForm: false,
50
- selectedIntegration: null
50
+ selectedIntegration: null,
51
+ tabIndex: 0
51
52
  });
52
53
 
53
54
  _defineProperty(this, "closeAndResetDialog", () => {
@@ -96,6 +97,9 @@ export class ShareDialogWithTriggerInternal extends React.PureComponent {
96
97
  }
97
98
 
98
99
  this.createAndFireEvent(shareTabClicked(subjectId));
100
+ this.setState({
101
+ tabIndex: index
102
+ });
99
103
  });
100
104
 
101
105
  _defineProperty(this, "getFlags", () => {
@@ -410,7 +414,8 @@ export class ShareDialogWithTriggerInternal extends React.PureComponent {
410
414
  } = this.props;
411
415
  const style = typeof tabIndex !== 'undefined' && tabIndex >= 0 ? {
412
416
  outline: 'none'
413
- } : undefined; // for performance purposes, we may want to have a loadable content i.e. ShareForm
417
+ } : undefined;
418
+ const footer = resolveShareFooter(integrationMode, this.state.tabIndex, customFooter); // for performance purposes, we may want to have a loadable content i.e. ShareForm
414
419
 
415
420
  return /*#__PURE__*/React.createElement(ShareButtonWrapper, {
416
421
  tabIndex: tabIndex,
@@ -425,7 +430,7 @@ export class ShareDialogWithTriggerInternal extends React.PureComponent {
425
430
  copyLink: copyLink,
426
431
  showIntegrationForm: showIntegrationForm,
427
432
  bottomMessage: bottomMessage,
428
- customFooter: customFooter,
433
+ customFooter: footer,
429
434
  loadOptions: loadUserOptions,
430
435
  isSharing: isSharing,
431
436
  shareFormTitle: shareFormTitle,
@@ -183,9 +183,12 @@ class InternalForm extends React.PureComponent {
183
183
  });
184
184
 
185
185
  _defineProperty(this, "changeTab", tab => {
186
+ var _this$props$onTabChan, _this$props;
187
+
186
188
  this.setState({
187
189
  selectedTab: tab
188
190
  });
191
+ (_this$props$onTabChan = (_this$props = this.props).onTabChange) === null || _this$props$onTabChan === void 0 ? void 0 : _this$props$onTabChan.call(_this$props, tab);
189
192
  });
190
193
  }
191
194
 
@@ -204,7 +207,6 @@ class InternalForm extends React.PureComponent {
204
207
  const {
205
208
  integrationMode = 'off',
206
209
  shareIntegrations,
207
- onTabChange,
208
210
  handleCloseDialog
209
211
  } = this.props;
210
212
 
@@ -217,10 +219,7 @@ class InternalForm extends React.PureComponent {
217
219
  if (integrationMode === 'tabs') {
218
220
  return /*#__PURE__*/React.createElement(Tabs, {
219
221
  id: "ShareForm-Tabs-Integrations",
220
- onChange: index => {
221
- this.changeTab(index);
222
- onTabChange === null || onTabChange === void 0 ? void 0 : onTabChange(index);
223
- },
222
+ onChange: this.changeTab,
224
223
  selected: this.state.selectedTab
225
224
  }, /*#__PURE__*/React.createElement(TabList, null, /*#__PURE__*/React.createElement(Tab, {
226
225
  key: `share-tab-default`
@@ -237,9 +236,7 @@ class InternalForm extends React.PureComponent {
237
236
  }, /*#__PURE__*/React.createElement(FormWrapper, null, /*#__PURE__*/React.createElement(IntegrationForm, {
238
237
  Content: firstIntegration.Content,
239
238
  onIntegrationClose: () => handleCloseDialog === null || handleCloseDialog === void 0 ? void 0 : handleCloseDialog(),
240
- changeTab: index => {
241
- this.changeTab(index);
242
- }
239
+ changeTab: this.changeTab
243
240
  })))));
244
241
  }
245
242
 
@@ -49,4 +49,9 @@ export const optionDataToUsers = optionDataArray => optionDataArray.map(optionDa
49
49
  };
50
50
  }
51
51
  });
52
- export const allowEmails = config => !(config && config.disableSharingToEmails);
52
+ export const allowEmails = config => !(config && config.disableSharingToEmails);
53
+ export const resolveShareFooter = (integrationMode, tabIndex, customFooter) => {
54
+ if (integrationMode === 'tabs' && tabIndex === 0 && customFooter) {
55
+ return customFooter;
56
+ }
57
+ };
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "name": "@atlaskit/share",
3
- "version": "3.0.6"
3
+ "version": "3.0.7"
4
4
  }
@@ -42,7 +42,7 @@ function LazyShareForm(props) {
42
42
  shareError = props.shareError,
43
43
  defaultValue = props.defaultValue,
44
44
  showTitle = props.showTitle;
45
- var footer = /*#__PURE__*/React.createElement("div", null, bottomMessage ? /*#__PURE__*/React.createElement(BottomMessageWrapper, null, bottomMessage) : null, customFooter && /*#__PURE__*/React.createElement(CustomFooterWrapper, null, customFooter));
45
+ var footer = /*#__PURE__*/React.createElement("div", null, bottomMessage ? /*#__PURE__*/React.createElement(BottomMessageWrapper, null, bottomMessage) : null, customFooter && selectedIntegration === null && /*#__PURE__*/React.createElement(CustomFooterWrapper, null, customFooter));
46
46
  return /*#__PURE__*/React.createElement(ShareFormWrapper, {
47
47
  footer: footer // form title will be determined by `title` and `showTitle` prop passed to `ShareForm`,
48
48
  // so we don't need to show title via ShareFormWrapper
@@ -35,7 +35,7 @@ import { cancelShare, CHANNEL_ID, copyLinkButtonClicked, formShareSubmitted, scr
35
35
  import LazyShareFormLazy from './LazyShareForm/lazy';
36
36
  import ShareButton from './ShareButton';
37
37
  import SplitButton from './SplitButton';
38
- import { generateSelectZIndex } from './utils';
38
+ import { generateSelectZIndex, resolveShareFooter } from './utils';
39
39
  var ShareButtonWrapper = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: inline-flex;\n outline: none;\n"])));
40
40
  export var defaultShareContentState = {
41
41
  users: [],
@@ -74,7 +74,8 @@ export var ShareDialogWithTriggerInternal = /*#__PURE__*/function (_React$PureCo
74
74
  defaultValue: defaultShareContentState,
75
75
  isUsingSplitButton: false,
76
76
  showIntegrationForm: false,
77
- selectedIntegration: null
77
+ selectedIntegration: null,
78
+ tabIndex: 0
78
79
  });
79
80
 
80
81
  _defineProperty(_assertThisInitialized(_this), "closeAndResetDialog", function () {
@@ -122,6 +123,10 @@ export var ShareDialogWithTriggerInternal = /*#__PURE__*/function (_React$PureCo
122
123
  }
123
124
 
124
125
  _this.createAndFireEvent(shareTabClicked(subjectId));
126
+
127
+ _this.setState({
128
+ tabIndex: index
129
+ });
125
130
  });
126
131
 
127
132
  _defineProperty(_assertThisInitialized(_this), "getFlags", function () {
@@ -436,7 +441,8 @@ export var ShareDialogWithTriggerInternal = /*#__PURE__*/function (_React$PureCo
436
441
  shareIntegrations = _this$props7.shareIntegrations;
437
442
  var style = typeof tabIndex !== 'undefined' && tabIndex >= 0 ? {
438
443
  outline: 'none'
439
- } : undefined; // for performance purposes, we may want to have a loadable content i.e. ShareForm
444
+ } : undefined;
445
+ var footer = resolveShareFooter(integrationMode, this.state.tabIndex, customFooter); // for performance purposes, we may want to have a loadable content i.e. ShareForm
440
446
 
441
447
  return /*#__PURE__*/React.createElement(ShareButtonWrapper, {
442
448
  tabIndex: tabIndex,
@@ -452,7 +458,7 @@ export var ShareDialogWithTriggerInternal = /*#__PURE__*/function (_React$PureCo
452
458
  copyLink: copyLink,
453
459
  showIntegrationForm: showIntegrationForm,
454
460
  bottomMessage: bottomMessage,
455
- customFooter: customFooter,
461
+ customFooter: footer,
456
462
  loadOptions: loadUserOptions,
457
463
  isSharing: isSharing,
458
464
  shareFormTitle: shareFormTitle,
@@ -178,9 +178,13 @@ var InternalForm = /*#__PURE__*/function (_React$PureComponent) {
178
178
  });
179
179
 
180
180
  _defineProperty(_assertThisInitialized(_this), "changeTab", function (tab) {
181
+ var _this$props$onTabChan, _this$props4;
182
+
181
183
  _this.setState({
182
184
  selectedTab: tab
183
185
  });
186
+
187
+ (_this$props$onTabChan = (_this$props4 = _this.props).onTabChange) === null || _this$props$onTabChan === void 0 ? void 0 : _this$props$onTabChan.call(_this$props4, tab);
184
188
  });
185
189
 
186
190
  return _this;
@@ -189,9 +193,9 @@ var InternalForm = /*#__PURE__*/function (_React$PureComponent) {
189
193
  _createClass(InternalForm, [{
190
194
  key: "componentWillUnmount",
191
195
  value: function componentWillUnmount() {
192
- var _this$props4 = this.props,
193
- onDismiss = _this$props4.onDismiss,
194
- getValues = _this$props4.getValues;
196
+ var _this$props5 = this.props,
197
+ onDismiss = _this$props5.onDismiss,
198
+ getValues = _this$props5.getValues;
195
199
 
196
200
  if (onDismiss) {
197
201
  onDismiss(getValues());
@@ -200,14 +204,11 @@ var InternalForm = /*#__PURE__*/function (_React$PureComponent) {
200
204
  }, {
201
205
  key: "render",
202
206
  value: function render() {
203
- var _this2 = this;
204
-
205
- var _this$props5 = this.props,
206
- _this$props5$integrat = _this$props5.integrationMode,
207
- integrationMode = _this$props5$integrat === void 0 ? 'off' : _this$props5$integrat,
208
- shareIntegrations = _this$props5.shareIntegrations,
209
- onTabChange = _this$props5.onTabChange,
210
- handleCloseDialog = _this$props5.handleCloseDialog;
207
+ var _this$props6 = this.props,
208
+ _this$props6$integrat = _this$props6.integrationMode,
209
+ integrationMode = _this$props6$integrat === void 0 ? 'off' : _this$props6$integrat,
210
+ shareIntegrations = _this$props6.shareIntegrations,
211
+ handleCloseDialog = _this$props6.handleCloseDialog;
211
212
 
212
213
  if (integrationMode === 'off' || !shareIntegrations || !shareIntegrations.length) {
213
214
  return this.renderShareForm();
@@ -218,11 +219,7 @@ var InternalForm = /*#__PURE__*/function (_React$PureComponent) {
218
219
  if (integrationMode === 'tabs') {
219
220
  return /*#__PURE__*/React.createElement(Tabs, {
220
221
  id: "ShareForm-Tabs-Integrations",
221
- onChange: function onChange(index) {
222
- _this2.changeTab(index);
223
-
224
- onTabChange === null || onTabChange === void 0 ? void 0 : onTabChange(index);
225
- },
222
+ onChange: this.changeTab,
226
223
  selected: this.state.selectedTab
227
224
  }, /*#__PURE__*/React.createElement(TabList, null, /*#__PURE__*/React.createElement(Tab, {
228
225
  key: "share-tab-default"
@@ -241,9 +238,7 @@ var InternalForm = /*#__PURE__*/function (_React$PureComponent) {
241
238
  onIntegrationClose: function onIntegrationClose() {
242
239
  return handleCloseDialog === null || handleCloseDialog === void 0 ? void 0 : handleCloseDialog();
243
240
  },
244
- changeTab: function changeTab(index) {
245
- _this2.changeTab(index);
246
- }
241
+ changeTab: this.changeTab
247
242
  })))));
248
243
  }
249
244
 
@@ -53,4 +53,9 @@ export var optionDataToUsers = function optionDataToUsers(optionDataArray) {
53
53
  };
54
54
  export var allowEmails = function allowEmails(config) {
55
55
  return !(config && config.disableSharingToEmails);
56
+ };
57
+ export var resolveShareFooter = function resolveShareFooter(integrationMode, tabIndex, customFooter) {
58
+ if (integrationMode === 'tabs' && tabIndex === 0 && customFooter) {
59
+ return customFooter;
60
+ }
56
61
  };
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "name": "@atlaskit/share",
3
- "version": "3.0.6"
3
+ "version": "3.0.7"
4
4
  }
@@ -1,6 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { OptionData } from '@atlaskit/user-picker';
3
3
  import { ConfigResponse, User } from '../types';
4
+ import type { IntegrationMode } from '../types/ShareEntities';
4
5
  /**
5
6
  * We need to generate correct zIndex, for the PopUp and for the Select inside it.
6
7
  * The PopUp's defaults to `layers.layer()` from @atlaskit/theme. But if user provides
@@ -16,3 +17,4 @@ export declare const generateSelectZIndex: (dialogZIndex?: number | undefined) =
16
17
  export declare const getMenuPortalTargetCurrentHTML: (ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined) => HTMLDivElement | null;
17
18
  export declare const optionDataToUsers: (optionDataArray: OptionData[]) => User[];
18
19
  export declare const allowEmails: (config?: ConfigResponse | undefined) => boolean;
20
+ export declare const resolveShareFooter: (integrationMode: IntegrationMode | undefined, tabIndex: number, customFooter: React.ReactNode) => React.ReactNode | undefined;
@@ -40,4 +40,5 @@ export declare type ShareDialogWithTriggerStates = {
40
40
  isUsingSplitButton: boolean;
41
41
  showIntegrationForm: boolean;
42
42
  selectedIntegration: Integration | null;
43
+ tabIndex: number;
43
44
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/share",
3
- "version": "3.0.6",
3
+ "version": "3.0.7",
4
4
  "description": "Fabric Share Element",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"