@atlaskit/share 6.15.1 → 6.16.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 +23 -0
- package/dist/cjs/components/CopyLinkButton.js +3 -2
- package/dist/cjs/components/CopyLinkButtonNext.js +2 -2
- package/dist/cjs/components/ShareDialogContainer.js +2 -0
- package/dist/cjs/components/ShareDialogWithTrigger.js +3 -1
- package/dist/cjs/components/ShareDialogWithTriggerNext.js +3 -1
- package/dist/cjs/components/ShareForm.js +3 -2
- package/dist/cjs/components/ShareFormNext.js +2 -2
- package/dist/cjs/components/ShareHeader.js +2 -0
- package/dist/cjs/components/ShareMenuItem.js +2 -0
- package/dist/cjs/components/analytics/analytics.js +1 -1
- package/dist/es2019/components/CopyLinkButton.js +2 -1
- package/dist/es2019/components/CopyLinkButtonNext.js +1 -1
- package/dist/es2019/components/ShareDialogContainer.js +2 -0
- package/dist/es2019/components/ShareDialogWithTrigger.js +3 -1
- package/dist/es2019/components/ShareDialogWithTriggerNext.js +3 -1
- package/dist/es2019/components/ShareForm.js +2 -1
- package/dist/es2019/components/ShareFormNext.js +1 -1
- package/dist/es2019/components/ShareHeader.js +1 -0
- package/dist/es2019/components/ShareMenuItem.js +1 -0
- package/dist/es2019/components/analytics/analytics.js +1 -1
- package/dist/esm/components/CopyLinkButton.js +2 -1
- package/dist/esm/components/CopyLinkButtonNext.js +1 -1
- package/dist/esm/components/ShareDialogContainer.js +2 -0
- package/dist/esm/components/ShareDialogWithTrigger.js +3 -1
- package/dist/esm/components/ShareDialogWithTriggerNext.js +3 -1
- package/dist/esm/components/ShareForm.js +2 -1
- package/dist/esm/components/ShareFormNext.js +1 -1
- package/dist/esm/components/ShareHeader.js +1 -0
- package/dist/esm/components/ShareMenuItem.js +1 -0
- package/dist/esm/components/analytics/analytics.js +1 -1
- package/dist/types/components/ShareDialogContainer.d.ts +1 -0
- package/dist/types/types/ShareDialogContainer.d.ts +2 -0
- package/dist/types/types/ShareDialogWithTrigger.d.ts +3 -1
- package/dist/types-ts4.5/components/ShareDialogContainer.d.ts +1 -0
- package/dist/types-ts4.5/types/ShareDialogContainer.d.ts +2 -0
- package/dist/types-ts4.5/types/ShareDialogWithTrigger.d.ts +3 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# @atlaskit/share
|
|
2
2
|
|
|
3
|
+
## 6.16.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#188952](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/188952)
|
|
8
|
+
[`1a88e6e2601ae`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1a88e6e2601ae) -
|
|
9
|
+
Migrated usage of renamed/deprecated icons
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
12
|
+
## 6.16.0
|
|
13
|
+
|
|
14
|
+
### Minor Changes
|
|
15
|
+
|
|
16
|
+
- [#185948](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/185948)
|
|
17
|
+
[`169677f95fce5`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/169677f95fce5) -
|
|
18
|
+
[ux] Add a new customTriggerButtonIcon prop to the Share Dialog Component. This prop is passed to
|
|
19
|
+
the renderCustomTriggerButton function, allowing consumers to dynamically update the icon
|
|
20
|
+
displayed on the custom trigger button.
|
|
21
|
+
|
|
22
|
+
### Patch Changes
|
|
23
|
+
|
|
24
|
+
- Updated dependencies
|
|
25
|
+
|
|
3
26
|
## 6.15.1
|
|
4
27
|
|
|
5
28
|
### Patch Changes
|
|
@@ -14,7 +14,7 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
|
|
|
14
14
|
var _react = _interopRequireDefault(require("react"));
|
|
15
15
|
var _react2 = require("@emotion/react");
|
|
16
16
|
var _linkLinkFilled = _interopRequireDefault(require("@atlaskit/icon/core/migration/link--link-filled"));
|
|
17
|
-
var
|
|
17
|
+
var _statusSuccessCheckCircle = _interopRequireDefault(require("@atlaskit/icon/core/migration/status-success--check-circle"));
|
|
18
18
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
19
19
|
var _popup = _interopRequireDefault(require("@atlaskit/popup"));
|
|
20
20
|
var _primitives = require("@atlaskit/primitives");
|
|
@@ -31,6 +31,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
31
31
|
* @jsxRuntime classic
|
|
32
32
|
* @jsx jsx
|
|
33
33
|
*/ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
34
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
34
35
|
var Z_INDEX = _constants.layers.modal();
|
|
35
36
|
var AUTO_DISMISS_SECONDS = 8;
|
|
36
37
|
var AUTO_DISMISS_MS = exports.AUTO_DISMISS_MS = AUTO_DISMISS_SECONDS * 1000;
|
|
@@ -181,7 +182,7 @@ var CopyLinkButtonInner = exports.CopyLinkButtonInner = /*#__PURE__*/function (_
|
|
|
181
182
|
css: messageContainerStyle,
|
|
182
183
|
"data-testid": "message-container",
|
|
183
184
|
"aria-hidden": true
|
|
184
|
-
}, (0, _react2.jsx)(_react.default.Fragment, null, (0, _react2.jsx)(
|
|
185
|
+
}, (0, _react2.jsx)(_react.default.Fragment, null, (0, _react2.jsx)(_statusSuccessCheckCircle.default, {
|
|
185
186
|
spacing: "spacious",
|
|
186
187
|
label: "",
|
|
187
188
|
color: "var(--ds-icon-success, ".concat(_colors.G300, ")")
|
|
@@ -17,7 +17,7 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
|
|
|
17
17
|
var _react = _interopRequireDefault(require("react"));
|
|
18
18
|
var _css = require("@atlaskit/css");
|
|
19
19
|
var _linkLinkFilled = _interopRequireDefault(require("@atlaskit/icon/core/migration/link--link-filled"));
|
|
20
|
-
var
|
|
20
|
+
var _statusSuccessCheckCircle = _interopRequireDefault(require("@atlaskit/icon/core/migration/status-success--check-circle"));
|
|
21
21
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
22
22
|
var _popup = _interopRequireDefault(require("@atlaskit/popup"));
|
|
23
23
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
@@ -170,7 +170,7 @@ var CopyLinkButton = exports.CopyLinkButton = /*#__PURE__*/function (_React$Comp
|
|
|
170
170
|
xcss: (0, _css.cx)(styles.messageContainer),
|
|
171
171
|
testId: "message-container",
|
|
172
172
|
"aria-hidden": true
|
|
173
|
-
}, /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(
|
|
173
|
+
}, /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_statusSuccessCheckCircle.default, {
|
|
174
174
|
spacing: "spacious",
|
|
175
175
|
label: "",
|
|
176
176
|
color: "var(--ds-icon-success, ".concat(_colors.G300, ")")
|
|
@@ -344,6 +344,7 @@ var ShareDialogContainerInternal = exports.ShareDialogContainerInternal = /*#__P
|
|
|
344
344
|
dialogPlacement = _this$props3.dialogPlacement,
|
|
345
345
|
loadUserOptions = _this$props3.loadUserOptions,
|
|
346
346
|
renderCustomTriggerButton = _this$props3.renderCustomTriggerButton,
|
|
347
|
+
customTriggerButtonIcon = _this$props3.customTriggerButtonIcon,
|
|
347
348
|
shareContentType = _this$props3.shareContentType,
|
|
348
349
|
shareContentSubType = _this$props3.shareContentSubType,
|
|
349
350
|
shareContentId = _this$props3.shareContentId,
|
|
@@ -398,6 +399,7 @@ var ShareDialogContainerInternal = exports.ShareDialogContainerInternal = /*#__P
|
|
|
398
399
|
onDialogOpen: this.handleDialogOpen,
|
|
399
400
|
onShareSubmit: this.handleSubmitShare,
|
|
400
401
|
renderCustomTriggerButton: renderCustomTriggerButton,
|
|
402
|
+
customTriggerButtonIcon: customTriggerButtonIcon,
|
|
401
403
|
shareContentType: shareContentType,
|
|
402
404
|
shareContentSubType: shareContentSubType,
|
|
403
405
|
shareContentId: shareContentId,
|
|
@@ -430,6 +430,7 @@ var ShareDialogWithTriggerInternalLegacy = exports.ShareDialogWithTriggerInterna
|
|
|
430
430
|
formatMessage = _this$props6.intl.formatMessage,
|
|
431
431
|
isDisabled = _this$props6.isDisabled,
|
|
432
432
|
renderCustomTriggerButton = _this$props6.renderCustomTriggerButton,
|
|
433
|
+
customTriggerButtonIcon = _this$props6.customTriggerButtonIcon,
|
|
433
434
|
triggerButtonIcon = _this$props6.triggerButtonIcon,
|
|
434
435
|
triggerButtonTooltipText = _this$props6.triggerButtonTooltipText,
|
|
435
436
|
triggerButtonTooltipPosition = _this$props6.triggerButtonTooltipPosition,
|
|
@@ -449,7 +450,8 @@ var ShareDialogWithTriggerInternalLegacy = exports.ShareDialogWithTriggerInterna
|
|
|
449
450
|
error: shareError,
|
|
450
451
|
isDisabled: isDisabled,
|
|
451
452
|
isSelected: isDialogOpen,
|
|
452
|
-
onClick: _this.onTriggerClick
|
|
453
|
+
onClick: _this.onTriggerClick,
|
|
454
|
+
iconBefore: customTriggerButtonIcon
|
|
453
455
|
}, triggerProps);
|
|
454
456
|
} else {
|
|
455
457
|
button = (0, _react2.jsx)(_ShareButton.default, {
|
|
@@ -415,6 +415,7 @@ var ShareDialogWithTriggerInternal = exports.ShareDialogWithTriggerInternal = /*
|
|
|
415
415
|
formatMessage = _this$props6.intl.formatMessage,
|
|
416
416
|
isDisabled = _this$props6.isDisabled,
|
|
417
417
|
renderCustomTriggerButton = _this$props6.renderCustomTriggerButton,
|
|
418
|
+
customTriggerButtonIcon = _this$props6.customTriggerButtonIcon,
|
|
418
419
|
triggerButtonIcon = _this$props6.triggerButtonIcon,
|
|
419
420
|
triggerButtonTooltipText = _this$props6.triggerButtonTooltipText,
|
|
420
421
|
triggerButtonTooltipPosition = _this$props6.triggerButtonTooltipPosition,
|
|
@@ -434,7 +435,8 @@ var ShareDialogWithTriggerInternal = exports.ShareDialogWithTriggerInternal = /*
|
|
|
434
435
|
error: shareError,
|
|
435
436
|
isDisabled: isDisabled,
|
|
436
437
|
isSelected: isDialogOpen,
|
|
437
|
-
onClick: _this.onTriggerClick
|
|
438
|
+
onClick: _this.onTriggerClick,
|
|
439
|
+
iconBefore: customTriggerButtonIcon
|
|
438
440
|
}, triggerProps);
|
|
439
441
|
} else {
|
|
440
442
|
button = /*#__PURE__*/_react.default.createElement(_ShareButton.default, {
|
|
@@ -20,7 +20,7 @@ var _analyticsNext = require("@atlaskit/analytics-next");
|
|
|
20
20
|
var _new = _interopRequireDefault(require("@atlaskit/button/new"));
|
|
21
21
|
var _form = _interopRequireWildcard(require("@atlaskit/form"));
|
|
22
22
|
var _email = _interopRequireDefault(require("@atlaskit/icon/core/migration/email"));
|
|
23
|
-
var
|
|
23
|
+
var _statusErrorError = _interopRequireDefault(require("@atlaskit/icon/core/migration/status-error--error"));
|
|
24
24
|
var _menu = require("@atlaskit/menu");
|
|
25
25
|
var _primitives = require("@atlaskit/primitives");
|
|
26
26
|
var _tabs = _interopRequireWildcard(require("@atlaskit/tabs"));
|
|
@@ -43,6 +43,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
43
43
|
* @jsxRuntime classic
|
|
44
44
|
* @jsx jsx
|
|
45
45
|
*/ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
46
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
46
47
|
var styles = (0, _primitives.xcss)({
|
|
47
48
|
width: '100%',
|
|
48
49
|
minWidth: '0px',
|
|
@@ -269,7 +270,7 @@ var InternalForm = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
269
270
|
}, shouldShowWarning && (0, _react2.jsx)(_tooltip.default, {
|
|
270
271
|
content: (0, _react2.jsx)(_reactIntlNext.FormattedMessage, _i18n.messages.shareFailureMessage),
|
|
271
272
|
position: "top"
|
|
272
|
-
}, (0, _react2.jsx)(
|
|
273
|
+
}, (0, _react2.jsx)(_statusErrorError.default, {
|
|
273
274
|
spacing: "spacious",
|
|
274
275
|
label: formatMessage(_i18n.messages.shareFailureIconLabel),
|
|
275
276
|
color: "var(--ds-icon-danger, ".concat(_colors.R400, ")")
|
|
@@ -23,7 +23,7 @@ var _new = _interopRequireDefault(require("@atlaskit/button/new"));
|
|
|
23
23
|
var _css = require("@atlaskit/css");
|
|
24
24
|
var _form = _interopRequireWildcard(require("@atlaskit/form"));
|
|
25
25
|
var _email = _interopRequireDefault(require("@atlaskit/icon/core/migration/email"));
|
|
26
|
-
var
|
|
26
|
+
var _statusErrorError = _interopRequireDefault(require("@atlaskit/icon/core/migration/status-error--error"));
|
|
27
27
|
var _menu = require("@atlaskit/menu");
|
|
28
28
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
29
29
|
var _tabs = _interopRequireWildcard(require("@atlaskit/tabs"));
|
|
@@ -177,7 +177,7 @@ var InternalForm = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
177
177
|
}, shouldShowWarning && /*#__PURE__*/_react.default.createElement(_tooltip.default, {
|
|
178
178
|
content: /*#__PURE__*/_react.default.createElement(_reactIntlNext.FormattedMessage, _i18n.messages.shareFailureMessage),
|
|
179
179
|
position: "top"
|
|
180
|
-
}, /*#__PURE__*/_react.default.createElement(
|
|
180
|
+
}, /*#__PURE__*/_react.default.createElement(_statusErrorError.default, {
|
|
181
181
|
spacing: "spacious",
|
|
182
182
|
label: formatMessage(_i18n.messages.shareFailureIconLabel),
|
|
183
183
|
color: "var(--ds-icon-danger, ".concat(_colors.R400, ")")
|
|
@@ -11,6 +11,8 @@ var _heading = _interopRequireDefault(require("@atlaskit/heading"));
|
|
|
11
11
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
12
12
|
var _primitives = require("@atlaskit/primitives");
|
|
13
13
|
var _i18n = require("../i18n");
|
|
14
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
15
|
+
|
|
14
16
|
var headerWrapperStyles = (0, _primitives.xcss)({
|
|
15
17
|
display: 'flex',
|
|
16
18
|
justifyContent: 'space-between',
|
|
@@ -9,6 +9,8 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
9
9
|
var _reactIntlNext = require("react-intl-next");
|
|
10
10
|
var _menu = require("@atlaskit/menu");
|
|
11
11
|
var _primitives = require("@atlaskit/primitives");
|
|
12
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
13
|
+
|
|
12
14
|
var iconContainerStyles = (0, _primitives.xcss)({
|
|
13
15
|
display: 'flex',
|
|
14
16
|
alignItems: 'center',
|
|
@@ -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: "6.
|
|
16
|
+
packageVersion: "6.16.0"
|
|
17
17
|
}, attributes);
|
|
18
18
|
};
|
|
19
19
|
var createEvent = function createEvent(eventType, source, action, actionSubject, actionSubjectId) {
|
|
@@ -8,9 +8,10 @@ import React from 'react';
|
|
|
8
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
9
9
|
import { css, jsx } from '@emotion/react';
|
|
10
10
|
import LinkFilledIcon from '@atlaskit/icon/core/migration/link--link-filled';
|
|
11
|
-
import CheckCircleIcon from '@atlaskit/icon/core/migration/success--check-circle';
|
|
11
|
+
import CheckCircleIcon from '@atlaskit/icon/core/migration/status-success--check-circle';
|
|
12
12
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
13
13
|
import Popup from '@atlaskit/popup';
|
|
14
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
14
15
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
15
16
|
import { G300 } from '@atlaskit/theme/colors';
|
|
16
17
|
import { layers } from '@atlaskit/theme/constants';
|
|
@@ -5,7 +5,7 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import { cx } from '@atlaskit/css';
|
|
7
7
|
import LinkFilledIcon from '@atlaskit/icon/core/migration/link--link-filled';
|
|
8
|
-
import CheckCircleIcon from '@atlaskit/icon/core/migration/success--check-circle';
|
|
8
|
+
import CheckCircleIcon from '@atlaskit/icon/core/migration/status-success--check-circle';
|
|
9
9
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
10
10
|
import Popup from '@atlaskit/popup';
|
|
11
11
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
@@ -291,6 +291,7 @@ export class ShareDialogContainerInternal extends React.Component {
|
|
|
291
291
|
dialogPlacement,
|
|
292
292
|
loadUserOptions,
|
|
293
293
|
renderCustomTriggerButton,
|
|
294
|
+
customTriggerButtonIcon,
|
|
294
295
|
shareContentType,
|
|
295
296
|
shareContentSubType,
|
|
296
297
|
shareContentId,
|
|
@@ -347,6 +348,7 @@ export class ShareDialogContainerInternal extends React.Component {
|
|
|
347
348
|
onDialogOpen: this.handleDialogOpen,
|
|
348
349
|
onShareSubmit: this.handleSubmitShare,
|
|
349
350
|
renderCustomTriggerButton: renderCustomTriggerButton,
|
|
351
|
+
customTriggerButtonIcon: customTriggerButtonIcon,
|
|
350
352
|
shareContentType: shareContentType,
|
|
351
353
|
shareContentSubType: shareContentSubType,
|
|
352
354
|
shareContentId: shareContentId,
|
|
@@ -412,6 +412,7 @@ export class ShareDialogWithTriggerInternalLegacy extends React.PureComponent {
|
|
|
412
412
|
},
|
|
413
413
|
isDisabled,
|
|
414
414
|
renderCustomTriggerButton,
|
|
415
|
+
customTriggerButtonIcon,
|
|
415
416
|
triggerButtonIcon,
|
|
416
417
|
triggerButtonTooltipText,
|
|
417
418
|
triggerButtonTooltipPosition,
|
|
@@ -434,7 +435,8 @@ export class ShareDialogWithTriggerInternalLegacy extends React.PureComponent {
|
|
|
434
435
|
error: shareError,
|
|
435
436
|
isDisabled,
|
|
436
437
|
isSelected: isDialogOpen,
|
|
437
|
-
onClick: this.onTriggerClick
|
|
438
|
+
onClick: this.onTriggerClick,
|
|
439
|
+
iconBefore: customTriggerButtonIcon
|
|
438
440
|
}, triggerProps);
|
|
439
441
|
} else {
|
|
440
442
|
button = jsx(ShareButton, {
|
|
@@ -393,6 +393,7 @@ export class ShareDialogWithTriggerInternal extends React.PureComponent {
|
|
|
393
393
|
},
|
|
394
394
|
isDisabled,
|
|
395
395
|
renderCustomTriggerButton,
|
|
396
|
+
customTriggerButtonIcon,
|
|
396
397
|
triggerButtonIcon,
|
|
397
398
|
triggerButtonTooltipText,
|
|
398
399
|
triggerButtonTooltipPosition,
|
|
@@ -415,7 +416,8 @@ export class ShareDialogWithTriggerInternal extends React.PureComponent {
|
|
|
415
416
|
error: shareError,
|
|
416
417
|
isDisabled,
|
|
417
418
|
isSelected: isDialogOpen,
|
|
418
|
-
onClick: this.onTriggerClick
|
|
419
|
+
onClick: this.onTriggerClick,
|
|
420
|
+
iconBefore: customTriggerButtonIcon
|
|
419
421
|
}, triggerProps);
|
|
420
422
|
} else {
|
|
421
423
|
button = /*#__PURE__*/React.createElement(ShareButton, {
|
|
@@ -13,8 +13,9 @@ import { AnalyticsContext } from '@atlaskit/analytics-next';
|
|
|
13
13
|
import Button from '@atlaskit/button/new';
|
|
14
14
|
import Form, { RequiredAsterisk } from '@atlaskit/form';
|
|
15
15
|
import EmailIcon from '@atlaskit/icon/core/migration/email';
|
|
16
|
-
import ErrorIcon from '@atlaskit/icon/core/migration/error';
|
|
16
|
+
import ErrorIcon from '@atlaskit/icon/core/migration/status-error--error';
|
|
17
17
|
import { MenuGroup } from '@atlaskit/menu';
|
|
18
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
18
19
|
import { Box, Inline, xcss } from '@atlaskit/primitives';
|
|
19
20
|
import Tabs, { Tab, TabList, TabPanel } from '@atlaskit/tabs';
|
|
20
21
|
import { N300, R400 } from '@atlaskit/theme/colors';
|
|
@@ -10,7 +10,7 @@ import Button from '@atlaskit/button/new';
|
|
|
10
10
|
import { cx } from '@atlaskit/css';
|
|
11
11
|
import Form, { RequiredAsterisk } from '@atlaskit/form';
|
|
12
12
|
import EmailIcon from '@atlaskit/icon/core/migration/email';
|
|
13
|
-
import ErrorIcon from '@atlaskit/icon/core/migration/error';
|
|
13
|
+
import ErrorIcon from '@atlaskit/icon/core/migration/status-error--error';
|
|
14
14
|
import { MenuGroup } from '@atlaskit/menu';
|
|
15
15
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
16
16
|
import Tabs, { Tab, TabList, TabPanel } from '@atlaskit/tabs';
|
|
@@ -2,6 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { FormattedMessage } from 'react-intl-next';
|
|
3
3
|
import Heading from '@atlaskit/heading';
|
|
4
4
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
5
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
5
6
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
6
7
|
import { messages } from '../i18n';
|
|
7
8
|
const headerWrapperStyles = xcss({
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FormattedMessage } from 'react-intl-next';
|
|
3
3
|
import { ButtonItem } from '@atlaskit/menu';
|
|
4
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
4
5
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
5
6
|
const iconContainerStyles = xcss({
|
|
6
7
|
display: 'flex',
|
|
@@ -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: "6.
|
|
4
|
+
packageVersion: "6.16.0",
|
|
5
5
|
...attributes
|
|
6
6
|
});
|
|
7
7
|
const createEvent = (eventType, source, action, actionSubject, actionSubjectId, attributes = {}) => ({
|
|
@@ -17,9 +17,10 @@ import React from 'react';
|
|
|
17
17
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
18
18
|
import { css, jsx } from '@emotion/react';
|
|
19
19
|
import LinkFilledIcon from '@atlaskit/icon/core/migration/link--link-filled';
|
|
20
|
-
import CheckCircleIcon from '@atlaskit/icon/core/migration/success--check-circle';
|
|
20
|
+
import CheckCircleIcon from '@atlaskit/icon/core/migration/status-success--check-circle';
|
|
21
21
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
22
22
|
import Popup from '@atlaskit/popup';
|
|
23
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
23
24
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
24
25
|
import { G300 } from '@atlaskit/theme/colors';
|
|
25
26
|
import { layers } from '@atlaskit/theme/constants';
|
|
@@ -14,7 +14,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
14
14
|
import React from 'react';
|
|
15
15
|
import { cx } from '@atlaskit/css';
|
|
16
16
|
import LinkFilledIcon from '@atlaskit/icon/core/migration/link--link-filled';
|
|
17
|
-
import CheckCircleIcon from '@atlaskit/icon/core/migration/success--check-circle';
|
|
17
|
+
import CheckCircleIcon from '@atlaskit/icon/core/migration/status-success--check-circle';
|
|
18
18
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
19
19
|
import Popup from '@atlaskit/popup';
|
|
20
20
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
@@ -337,6 +337,7 @@ export var ShareDialogContainerInternal = /*#__PURE__*/function (_React$Componen
|
|
|
337
337
|
dialogPlacement = _this$props3.dialogPlacement,
|
|
338
338
|
loadUserOptions = _this$props3.loadUserOptions,
|
|
339
339
|
renderCustomTriggerButton = _this$props3.renderCustomTriggerButton,
|
|
340
|
+
customTriggerButtonIcon = _this$props3.customTriggerButtonIcon,
|
|
340
341
|
shareContentType = _this$props3.shareContentType,
|
|
341
342
|
shareContentSubType = _this$props3.shareContentSubType,
|
|
342
343
|
shareContentId = _this$props3.shareContentId,
|
|
@@ -391,6 +392,7 @@ export var ShareDialogContainerInternal = /*#__PURE__*/function (_React$Componen
|
|
|
391
392
|
onDialogOpen: this.handleDialogOpen,
|
|
392
393
|
onShareSubmit: this.handleSubmitShare,
|
|
393
394
|
renderCustomTriggerButton: renderCustomTriggerButton,
|
|
395
|
+
customTriggerButtonIcon: customTriggerButtonIcon,
|
|
394
396
|
shareContentType: shareContentType,
|
|
395
397
|
shareContentSubType: shareContentSubType,
|
|
396
398
|
shareContentId: shareContentId,
|
|
@@ -427,6 +427,7 @@ export var ShareDialogWithTriggerInternalLegacy = /*#__PURE__*/function (_React$
|
|
|
427
427
|
formatMessage = _this$props6.intl.formatMessage,
|
|
428
428
|
isDisabled = _this$props6.isDisabled,
|
|
429
429
|
renderCustomTriggerButton = _this$props6.renderCustomTriggerButton,
|
|
430
|
+
customTriggerButtonIcon = _this$props6.customTriggerButtonIcon,
|
|
430
431
|
triggerButtonIcon = _this$props6.triggerButtonIcon,
|
|
431
432
|
triggerButtonTooltipText = _this$props6.triggerButtonTooltipText,
|
|
432
433
|
triggerButtonTooltipPosition = _this$props6.triggerButtonTooltipPosition,
|
|
@@ -446,7 +447,8 @@ export var ShareDialogWithTriggerInternalLegacy = /*#__PURE__*/function (_React$
|
|
|
446
447
|
error: shareError,
|
|
447
448
|
isDisabled: isDisabled,
|
|
448
449
|
isSelected: isDialogOpen,
|
|
449
|
-
onClick: _this.onTriggerClick
|
|
450
|
+
onClick: _this.onTriggerClick,
|
|
451
|
+
iconBefore: customTriggerButtonIcon
|
|
450
452
|
}, triggerProps);
|
|
451
453
|
} else {
|
|
452
454
|
button = jsx(ShareButton, {
|
|
@@ -408,6 +408,7 @@ export var ShareDialogWithTriggerInternal = /*#__PURE__*/function (_React$PureCo
|
|
|
408
408
|
formatMessage = _this$props6.intl.formatMessage,
|
|
409
409
|
isDisabled = _this$props6.isDisabled,
|
|
410
410
|
renderCustomTriggerButton = _this$props6.renderCustomTriggerButton,
|
|
411
|
+
customTriggerButtonIcon = _this$props6.customTriggerButtonIcon,
|
|
411
412
|
triggerButtonIcon = _this$props6.triggerButtonIcon,
|
|
412
413
|
triggerButtonTooltipText = _this$props6.triggerButtonTooltipText,
|
|
413
414
|
triggerButtonTooltipPosition = _this$props6.triggerButtonTooltipPosition,
|
|
@@ -427,7 +428,8 @@ export var ShareDialogWithTriggerInternal = /*#__PURE__*/function (_React$PureCo
|
|
|
427
428
|
error: shareError,
|
|
428
429
|
isDisabled: isDisabled,
|
|
429
430
|
isSelected: isDialogOpen,
|
|
430
|
-
onClick: _this.onTriggerClick
|
|
431
|
+
onClick: _this.onTriggerClick,
|
|
432
|
+
iconBefore: customTriggerButtonIcon
|
|
431
433
|
}, triggerProps);
|
|
432
434
|
} else {
|
|
433
435
|
button = /*#__PURE__*/React.createElement(ShareButton, {
|
|
@@ -22,8 +22,9 @@ import { AnalyticsContext } from '@atlaskit/analytics-next';
|
|
|
22
22
|
import Button from '@atlaskit/button/new';
|
|
23
23
|
import Form, { RequiredAsterisk } from '@atlaskit/form';
|
|
24
24
|
import EmailIcon from '@atlaskit/icon/core/migration/email';
|
|
25
|
-
import ErrorIcon from '@atlaskit/icon/core/migration/error';
|
|
25
|
+
import ErrorIcon from '@atlaskit/icon/core/migration/status-error--error';
|
|
26
26
|
import { MenuGroup } from '@atlaskit/menu';
|
|
27
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
27
28
|
import { Box, Inline, xcss } from '@atlaskit/primitives';
|
|
28
29
|
import Tabs, { Tab, TabList, TabPanel } from '@atlaskit/tabs';
|
|
29
30
|
import { N300, R400 } from '@atlaskit/theme/colors';
|
|
@@ -19,7 +19,7 @@ import Button from '@atlaskit/button/new';
|
|
|
19
19
|
import { cx } from '@atlaskit/css';
|
|
20
20
|
import Form, { RequiredAsterisk } from '@atlaskit/form';
|
|
21
21
|
import EmailIcon from '@atlaskit/icon/core/migration/email';
|
|
22
|
-
import ErrorIcon from '@atlaskit/icon/core/migration/error';
|
|
22
|
+
import ErrorIcon from '@atlaskit/icon/core/migration/status-error--error';
|
|
23
23
|
import { MenuGroup } from '@atlaskit/menu';
|
|
24
24
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
25
25
|
import Tabs, { Tab, TabList, TabPanel } from '@atlaskit/tabs';
|
|
@@ -2,6 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { FormattedMessage } from 'react-intl-next';
|
|
3
3
|
import Heading from '@atlaskit/heading';
|
|
4
4
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
5
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
5
6
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
6
7
|
import { messages } from '../i18n';
|
|
7
8
|
var headerWrapperStyles = xcss({
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FormattedMessage } from 'react-intl-next';
|
|
3
3
|
import { ButtonItem } from '@atlaskit/menu';
|
|
4
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
4
5
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
5
6
|
var iconContainerStyles = xcss({
|
|
6
7
|
display: 'flex',
|
|
@@ -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: "6.
|
|
9
|
+
packageVersion: "6.16.0"
|
|
10
10
|
}, attributes);
|
|
11
11
|
};
|
|
12
12
|
var createEvent = function createEvent(eventType, source, action, actionSubject, actionSubjectId) {
|
|
@@ -79,6 +79,7 @@ export declare const ShareDialogContainer: React.ForwardRefExoticComponent<Omit<
|
|
|
79
79
|
originTracingFactory?: OriginTracingFactory | undefined;
|
|
80
80
|
productId?: import("../types").ProductId | undefined;
|
|
81
81
|
renderCustomTriggerButton?: import("../types").RenderCustomTriggerButton | undefined;
|
|
82
|
+
customTriggerButtonIcon?: React.ComponentType<import("@atlaskit/icon").NewCoreIconProps> | undefined;
|
|
82
83
|
shareAri?: string | undefined;
|
|
83
84
|
shareContentType?: string | undefined;
|
|
84
85
|
shareContentSubType?: string | undefined;
|
|
@@ -53,6 +53,8 @@ export type ShareDialogContainerProps = {
|
|
|
53
53
|
productId: ProductId;
|
|
54
54
|
/** Render function for a custom Share Dialog Trigger Button. */
|
|
55
55
|
renderCustomTriggerButton?: RenderCustomTriggerButton;
|
|
56
|
+
/** An Icon used for the custom Share Dialog Trigger Button */
|
|
57
|
+
customTriggerButtonIcon?: React.ComponentType<NewCoreIconProps>;
|
|
56
58
|
/** Atlassian Resource Identifier of a Site resource to be shared. */
|
|
57
59
|
shareAri: string;
|
|
58
60
|
/** Content Type of the resource to be shared. It will also affect on the successful share message in the flag. A pre-defined list as follows:*/
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { AnalyticsEventPayload } from '@atlaskit/analytics-next';
|
|
3
|
+
import { type NewCoreIconProps } from '@atlaskit/icon';
|
|
3
4
|
import type { Placement } from '@atlaskit/popper';
|
|
4
5
|
import type { TriggerProps } from '@atlaskit/popup';
|
|
5
6
|
import type { ConfigResponse } from '../clients/ShareServiceClient';
|
|
@@ -12,6 +13,7 @@ export type RenderCustomTriggerButton = (args: {
|
|
|
12
13
|
isDisabled?: boolean;
|
|
13
14
|
isSelected?: boolean;
|
|
14
15
|
onClick: () => void;
|
|
16
|
+
iconBefore?: React.ComponentType<NewCoreIconProps>;
|
|
15
17
|
}, triggerProps: TriggerProps) => React.ReactNode;
|
|
16
18
|
export type DialogPlacement = Placement;
|
|
17
19
|
/**
|
|
@@ -19,7 +21,7 @@ export type DialogPlacement = Placement;
|
|
|
19
21
|
* with the demo page and clearly visible options on that page.
|
|
20
22
|
*/
|
|
21
23
|
export type DialogBoundariesElement = 'viewport' | 'window' | 'scrollParent';
|
|
22
|
-
export type ShareDialogWithTriggerProps = Pick<ShareDialogContainerProps, 'onTriggerButtonClick' | 'isAutoOpenDialog' | 'shouldCloseOnEscapePress' | 'dialogPlacement' | 'loadUserOptions' | 'onDialogOpen' | 'onDialogClose' | 'onUserSelectionChange' | 'renderCustomTriggerButton' | 'shareContentType' | 'shareContentSubType' | 'shareContentId' | 'shareFormTitle' | 'shareFormHelperMessage' | 'showFlags' | 'enableSmartUserPicker' | 'loggedInAccountId' | 'triggerButtonAppearance' | 'triggerButtonIcon' | 'triggerButtonStyle' | 'triggerButtonTooltipPosition' | 'triggerButtonTooltipText' | 'cloudId' | 'bottomMessage' | 'product' | 'productAttributes' | 'customHeader' | 'customFooter' | 'isCopyDisabled' | 'isPublicLink' | 'integrationMode' | 'isMenuItemSelected' | 'shareFieldsFooter' | 'shareIntegrations' | 'additionalTabs' | 'builtInTabContentWidth' | 'shareAri' | 'tabIndex' | 'copyTooltipText' | 'dialogZIndex' | 'orgId' | 'isBrowseUsersDisabled' | 'userPickerOptions' | 'isSubmitShareDisabled' | 'additionalUserFields' | 'isExtendedShareDialogEnabled' | 'CustomSubmitButton'> & {
|
|
24
|
+
export type ShareDialogWithTriggerProps = Pick<ShareDialogContainerProps, 'onTriggerButtonClick' | 'isAutoOpenDialog' | 'shouldCloseOnEscapePress' | 'dialogPlacement' | 'loadUserOptions' | 'onDialogOpen' | 'onDialogClose' | 'onUserSelectionChange' | 'renderCustomTriggerButton' | 'customTriggerButtonIcon' | 'shareContentType' | 'shareContentSubType' | 'shareContentId' | 'shareFormTitle' | 'shareFormHelperMessage' | 'showFlags' | 'enableSmartUserPicker' | 'loggedInAccountId' | 'triggerButtonAppearance' | 'triggerButtonIcon' | 'triggerButtonStyle' | 'triggerButtonTooltipPosition' | 'triggerButtonTooltipText' | 'cloudId' | 'bottomMessage' | 'product' | 'productAttributes' | 'customHeader' | 'customFooter' | 'isCopyDisabled' | 'isPublicLink' | 'integrationMode' | 'isMenuItemSelected' | 'shareFieldsFooter' | 'shareIntegrations' | 'additionalTabs' | 'builtInTabContentWidth' | 'shareAri' | 'tabIndex' | 'copyTooltipText' | 'dialogZIndex' | 'orgId' | 'isBrowseUsersDisabled' | 'userPickerOptions' | 'isSubmitShareDisabled' | 'additionalUserFields' | 'isExtendedShareDialogEnabled' | 'CustomSubmitButton'> & {
|
|
23
25
|
config?: ConfigResponse;
|
|
24
26
|
isFetchingConfig?: boolean;
|
|
25
27
|
children?: RenderCustomTriggerButton;
|
|
@@ -79,6 +79,7 @@ export declare const ShareDialogContainer: React.ForwardRefExoticComponent<Omit<
|
|
|
79
79
|
originTracingFactory?: OriginTracingFactory | undefined;
|
|
80
80
|
productId?: import("../types").ProductId | undefined;
|
|
81
81
|
renderCustomTriggerButton?: import("../types").RenderCustomTriggerButton | undefined;
|
|
82
|
+
customTriggerButtonIcon?: React.ComponentType<import("@atlaskit/icon").NewCoreIconProps> | undefined;
|
|
82
83
|
shareAri?: string | undefined;
|
|
83
84
|
shareContentType?: string | undefined;
|
|
84
85
|
shareContentSubType?: string | undefined;
|
|
@@ -53,6 +53,8 @@ export type ShareDialogContainerProps = {
|
|
|
53
53
|
productId: ProductId;
|
|
54
54
|
/** Render function for a custom Share Dialog Trigger Button. */
|
|
55
55
|
renderCustomTriggerButton?: RenderCustomTriggerButton;
|
|
56
|
+
/** An Icon used for the custom Share Dialog Trigger Button */
|
|
57
|
+
customTriggerButtonIcon?: React.ComponentType<NewCoreIconProps>;
|
|
56
58
|
/** Atlassian Resource Identifier of a Site resource to be shared. */
|
|
57
59
|
shareAri: string;
|
|
58
60
|
/** Content Type of the resource to be shared. It will also affect on the successful share message in the flag. A pre-defined list as follows:*/
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { AnalyticsEventPayload } from '@atlaskit/analytics-next';
|
|
3
|
+
import { type NewCoreIconProps } from '@atlaskit/icon';
|
|
3
4
|
import type { Placement } from '@atlaskit/popper';
|
|
4
5
|
import type { TriggerProps } from '@atlaskit/popup';
|
|
5
6
|
import type { ConfigResponse } from '../clients/ShareServiceClient';
|
|
@@ -12,6 +13,7 @@ export type RenderCustomTriggerButton = (args: {
|
|
|
12
13
|
isDisabled?: boolean;
|
|
13
14
|
isSelected?: boolean;
|
|
14
15
|
onClick: () => void;
|
|
16
|
+
iconBefore?: React.ComponentType<NewCoreIconProps>;
|
|
15
17
|
}, triggerProps: TriggerProps) => React.ReactNode;
|
|
16
18
|
export type DialogPlacement = Placement;
|
|
17
19
|
/**
|
|
@@ -19,7 +21,7 @@ export type DialogPlacement = Placement;
|
|
|
19
21
|
* with the demo page and clearly visible options on that page.
|
|
20
22
|
*/
|
|
21
23
|
export type DialogBoundariesElement = 'viewport' | 'window' | 'scrollParent';
|
|
22
|
-
export type ShareDialogWithTriggerProps = Pick<ShareDialogContainerProps, 'onTriggerButtonClick' | 'isAutoOpenDialog' | 'shouldCloseOnEscapePress' | 'dialogPlacement' | 'loadUserOptions' | 'onDialogOpen' | 'onDialogClose' | 'onUserSelectionChange' | 'renderCustomTriggerButton' | 'shareContentType' | 'shareContentSubType' | 'shareContentId' | 'shareFormTitle' | 'shareFormHelperMessage' | 'showFlags' | 'enableSmartUserPicker' | 'loggedInAccountId' | 'triggerButtonAppearance' | 'triggerButtonIcon' | 'triggerButtonStyle' | 'triggerButtonTooltipPosition' | 'triggerButtonTooltipText' | 'cloudId' | 'bottomMessage' | 'product' | 'productAttributes' | 'customHeader' | 'customFooter' | 'isCopyDisabled' | 'isPublicLink' | 'integrationMode' | 'isMenuItemSelected' | 'shareFieldsFooter' | 'shareIntegrations' | 'additionalTabs' | 'builtInTabContentWidth' | 'shareAri' | 'tabIndex' | 'copyTooltipText' | 'dialogZIndex' | 'orgId' | 'isBrowseUsersDisabled' | 'userPickerOptions' | 'isSubmitShareDisabled' | 'additionalUserFields' | 'isExtendedShareDialogEnabled' | 'CustomSubmitButton'> & {
|
|
24
|
+
export type ShareDialogWithTriggerProps = Pick<ShareDialogContainerProps, 'onTriggerButtonClick' | 'isAutoOpenDialog' | 'shouldCloseOnEscapePress' | 'dialogPlacement' | 'loadUserOptions' | 'onDialogOpen' | 'onDialogClose' | 'onUserSelectionChange' | 'renderCustomTriggerButton' | 'customTriggerButtonIcon' | 'shareContentType' | 'shareContentSubType' | 'shareContentId' | 'shareFormTitle' | 'shareFormHelperMessage' | 'showFlags' | 'enableSmartUserPicker' | 'loggedInAccountId' | 'triggerButtonAppearance' | 'triggerButtonIcon' | 'triggerButtonStyle' | 'triggerButtonTooltipPosition' | 'triggerButtonTooltipText' | 'cloudId' | 'bottomMessage' | 'product' | 'productAttributes' | 'customHeader' | 'customFooter' | 'isCopyDisabled' | 'isPublicLink' | 'integrationMode' | 'isMenuItemSelected' | 'shareFieldsFooter' | 'shareIntegrations' | 'additionalTabs' | 'builtInTabContentWidth' | 'shareAri' | 'tabIndex' | 'copyTooltipText' | 'dialogZIndex' | 'orgId' | 'isBrowseUsersDisabled' | 'userPickerOptions' | 'isSubmitShareDisabled' | 'additionalUserFields' | 'isExtendedShareDialogEnabled' | 'CustomSubmitButton'> & {
|
|
23
25
|
config?: ConfigResponse;
|
|
24
26
|
isFetchingConfig?: boolean;
|
|
25
27
|
children?: RenderCustomTriggerButton;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/share",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.16.1",
|
|
4
4
|
"description": "Fabric Share Element",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
41
41
|
"@atlaskit/button": "^23.2.0",
|
|
42
42
|
"@atlaskit/css": "^0.12.0",
|
|
43
|
-
"@atlaskit/dropdown-menu": "^16.
|
|
43
|
+
"@atlaskit/dropdown-menu": "^16.2.0",
|
|
44
44
|
"@atlaskit/form": "^12.0.0",
|
|
45
45
|
"@atlaskit/heading": "^5.2.0",
|
|
46
|
-
"@atlaskit/icon": "^27.
|
|
46
|
+
"@atlaskit/icon": "^27.5.0",
|
|
47
47
|
"@atlaskit/link": "^3.2.0",
|
|
48
48
|
"@atlaskit/menu": "^8.0.0",
|
|
49
49
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
@@ -56,10 +56,10 @@
|
|
|
56
56
|
"@atlaskit/tabs": "^18.1.0",
|
|
57
57
|
"@atlaskit/textarea": "^8.0.0",
|
|
58
58
|
"@atlaskit/theme": "^19.0.0",
|
|
59
|
-
"@atlaskit/tokens": "^5.
|
|
59
|
+
"@atlaskit/tokens": "^5.6.0",
|
|
60
60
|
"@atlaskit/tooltip": "^20.3.0",
|
|
61
61
|
"@atlaskit/ufo": "^0.4.0",
|
|
62
|
-
"@atlaskit/user-picker": "^11.
|
|
62
|
+
"@atlaskit/user-picker": "^11.4.0",
|
|
63
63
|
"@atlaskit/util-service-support": "^6.3.0",
|
|
64
64
|
"@babel/runtime": "^7.0.0",
|
|
65
65
|
"@emotion/react": "^11.7.1",
|