@atlaskit/share 6.19.5 → 7.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/CHANGELOG.md +19 -0
- package/dist/cjs/components/CommentField.js +2 -2
- package/dist/cjs/components/LazyShareForm/LazyShareForm.js +2 -2
- package/dist/cjs/components/LazyShareForm/LazyShareFormNext.js +2 -2
- package/dist/cjs/components/MessagesIntlProvider.js +3 -3
- package/dist/cjs/components/ShareDialogContainer.js +2 -2
- package/dist/cjs/components/ShareDialogWithTrigger.js +3 -3
- package/dist/cjs/components/ShareDialogWithTriggerNext.js +3 -3
- package/dist/cjs/components/ShareForm.js +8 -8
- package/dist/cjs/components/ShareFormNext.js +8 -8
- package/dist/cjs/components/ShareFormWrapper/ShareFormWrapper.js +2 -2
- package/dist/cjs/components/ShareHeader.js +2 -2
- package/dist/cjs/components/ShareMenuItem.js +2 -2
- package/dist/cjs/components/SplitButton.js +2 -2
- package/dist/cjs/components/UserPickerField.js +8 -8
- package/dist/cjs/components/analytics/analytics.js +1 -1
- package/dist/cjs/i18n.js +2 -2
- package/dist/es2019/components/CommentField.js +1 -1
- package/dist/es2019/components/LazyShareForm/LazyShareForm.js +1 -1
- package/dist/es2019/components/LazyShareForm/LazyShareFormNext.js +1 -1
- package/dist/es2019/components/MessagesIntlProvider.js +1 -1
- package/dist/es2019/components/ShareDialogContainer.js +1 -1
- package/dist/es2019/components/ShareDialogWithTrigger.js +1 -1
- package/dist/es2019/components/ShareDialogWithTriggerNext.js +1 -1
- package/dist/es2019/components/ShareForm.js +1 -1
- package/dist/es2019/components/ShareFormNext.js +1 -1
- package/dist/es2019/components/ShareFormWrapper/ShareFormWrapper.js +1 -1
- package/dist/es2019/components/ShareHeader.js +1 -1
- package/dist/es2019/components/ShareMenuItem.js +1 -1
- package/dist/es2019/components/SplitButton.js +1 -1
- package/dist/es2019/components/UserPickerField.js +1 -1
- package/dist/es2019/components/analytics/analytics.js +1 -1
- package/dist/es2019/i18n.js +1 -1
- package/dist/esm/components/CommentField.js +1 -1
- package/dist/esm/components/LazyShareForm/LazyShareForm.js +1 -1
- package/dist/esm/components/LazyShareForm/LazyShareFormNext.js +1 -1
- package/dist/esm/components/MessagesIntlProvider.js +1 -1
- package/dist/esm/components/ShareDialogContainer.js +1 -1
- package/dist/esm/components/ShareDialogWithTrigger.js +1 -1
- package/dist/esm/components/ShareDialogWithTriggerNext.js +1 -1
- package/dist/esm/components/ShareForm.js +1 -1
- package/dist/esm/components/ShareFormNext.js +1 -1
- package/dist/esm/components/ShareFormWrapper/ShareFormWrapper.js +1 -1
- package/dist/esm/components/ShareHeader.js +1 -1
- package/dist/esm/components/ShareMenuItem.js +1 -1
- package/dist/esm/components/SplitButton.js +1 -1
- package/dist/esm/components/UserPickerField.js +1 -1
- package/dist/esm/components/analytics/analytics.js +1 -1
- package/dist/esm/i18n.js +1 -1
- package/dist/types/components/MessagesIntlProvider.d.ts +1 -1
- package/dist/types/components/ShareDialogWithTrigger.d.ts +1 -1
- package/dist/types/components/ShareDialogWithTriggerNext.d.ts +1 -1
- package/dist/types/components/ShareForm.d.ts +1 -1
- package/dist/types/components/ShareFormNext.d.ts +1 -1
- package/dist/types/components/ShareMenuItem.d.ts +1 -1
- package/dist/types/components/UserPickerField.d.ts +1 -1
- package/dist/types/types/UserPickerOptions.d.ts +1 -1
- package/dist/types-ts4.5/components/MessagesIntlProvider.d.ts +1 -1
- package/dist/types-ts4.5/components/ShareDialogWithTrigger.d.ts +1 -1
- package/dist/types-ts4.5/components/ShareDialogWithTriggerNext.d.ts +1 -1
- package/dist/types-ts4.5/components/ShareForm.d.ts +1 -1
- package/dist/types-ts4.5/components/ShareFormNext.d.ts +1 -1
- package/dist/types-ts4.5/components/ShareMenuItem.d.ts +1 -1
- package/dist/types-ts4.5/components/UserPickerField.d.ts +1 -1
- package/dist/types-ts4.5/types/UserPickerOptions.d.ts +1 -1
- package/package.json +8 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @atlaskit/share
|
|
2
2
|
|
|
3
|
+
## 7.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- [`deb3d6a6498e8`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/deb3d6a6498e8) -
|
|
8
|
+
Removed `react-intl-next` alias and replaced all usages with `react-intl` directly.
|
|
9
|
+
|
|
10
|
+
What changed: The `react-intl-next` npm alias (which resolved to `react-intl@^5`) has been
|
|
11
|
+
removed. All imports now reference `react-intl` directly, and `peerDependencies` have been updated
|
|
12
|
+
to `"^5.25.1 || ^6.0.0 || ^7.0.0"`.
|
|
13
|
+
|
|
14
|
+
How consumer should update their code: Ensure `react-intl` is installed at a version satisfying
|
|
15
|
+
`^5.25.1 || ^6.0.0 || ^7.0.0`. If your application was using `react-intl-next` as an npm alias, it
|
|
16
|
+
can be safely removed. Replace any remaining `react-intl-next` imports with `react-intl`.
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- Updated dependencies
|
|
21
|
+
|
|
3
22
|
## 6.19.5
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
|
@@ -8,7 +8,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
8
8
|
exports.CommentField = void 0;
|
|
9
9
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
10
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
11
|
-
var
|
|
11
|
+
var _reactIntl = require("react-intl");
|
|
12
12
|
var _form = require("@atlaskit/form");
|
|
13
13
|
var _textarea = _interopRequireDefault(require("@atlaskit/textarea"));
|
|
14
14
|
var _i18n = require("../i18n");
|
|
@@ -16,7 +16,7 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
|
|
|
16
16
|
var CommentField = exports.CommentField = function CommentField(_ref) {
|
|
17
17
|
var defaultValue = _ref.defaultValue,
|
|
18
18
|
isExtendedShareDialogEnabled = _ref.isExtendedShareDialogEnabled;
|
|
19
|
-
var intl = (0,
|
|
19
|
+
var intl = (0, _reactIntl.useIntl)();
|
|
20
20
|
var formData = (0, _form.useFormState)();
|
|
21
21
|
var shouldShowCommentField = (0, _react.useMemo)(function () {
|
|
22
22
|
return !isExtendedShareDialogEnabled || (formData === null || formData === void 0 ? void 0 : formData.values.users) && (formData === null || formData === void 0 ? void 0 : formData.values.users.length) > 0;
|
|
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.default = void 0;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
var _react2 = require("@emotion/react");
|
|
10
|
-
var
|
|
10
|
+
var _reactIntl = require("react-intl");
|
|
11
11
|
var _analyticsNext = require("@atlaskit/analytics-next");
|
|
12
12
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
13
13
|
var _i18n = require("../../i18n");
|
|
@@ -154,6 +154,6 @@ function LazyShareForm(props) {
|
|
|
154
154
|
CustomSubmitButton: CustomSubmitButton
|
|
155
155
|
}) : (0, _react2.jsx)(_compiled.Text, {
|
|
156
156
|
as: "p"
|
|
157
|
-
}, (0, _react2.jsx)(
|
|
157
|
+
}, (0, _react2.jsx)(_reactIntl.FormattedMessage, _i18n.messages.formNoPermissions))));
|
|
158
158
|
}
|
|
159
159
|
var _default = exports.default = LazyShareForm;
|
|
@@ -9,7 +9,7 @@ exports.default = void 0;
|
|
|
9
9
|
require("./LazyShareFormNext.compiled.css");
|
|
10
10
|
var _runtime = require("@compiled/react/runtime");
|
|
11
11
|
var _react = _interopRequireDefault(require("react"));
|
|
12
|
-
var
|
|
12
|
+
var _reactIntl = require("react-intl");
|
|
13
13
|
var _analyticsNext = require("@atlaskit/analytics-next");
|
|
14
14
|
var _css = require("@atlaskit/css");
|
|
15
15
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
@@ -145,6 +145,6 @@ function LazyShareForm(props) {
|
|
|
145
145
|
CustomSubmitButton: CustomSubmitButton
|
|
146
146
|
}) : /*#__PURE__*/_react.default.createElement(_compiled.Text, {
|
|
147
147
|
as: "p"
|
|
148
|
-
}, /*#__PURE__*/_react.default.createElement(
|
|
148
|
+
}, /*#__PURE__*/_react.default.createElement(_reactIntl.FormattedMessage, _i18n.messages.formNoPermissions))));
|
|
149
149
|
}
|
|
150
150
|
var _default = exports.default = LazyShareForm;
|
|
@@ -8,7 +8,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
8
8
|
exports.default = void 0;
|
|
9
9
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
10
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
11
|
-
var
|
|
11
|
+
var _reactIntl = require("react-intl");
|
|
12
12
|
var _i18nUtil = require("../util/i18n-util");
|
|
13
13
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
14
14
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
@@ -19,11 +19,11 @@ var MessagesIntlProvider = function MessagesIntlProvider(_ref) {
|
|
|
19
19
|
var mergedMessages = (0, _react.useMemo)(function () {
|
|
20
20
|
return _objectSpread(_objectSpread({}, intl.messages), (0, _i18nUtil.getMessagesForLocale)(intl.locale));
|
|
21
21
|
}, [intl.messages, intl.locale]);
|
|
22
|
-
return /*#__PURE__*/_react.default.createElement(
|
|
22
|
+
return /*#__PURE__*/_react.default.createElement(_reactIntl.IntlProvider, {
|
|
23
23
|
locale: intl.locale,
|
|
24
24
|
messages: mergedMessages,
|
|
25
25
|
defaultLocale: "en-US"
|
|
26
26
|
}, children);
|
|
27
27
|
};
|
|
28
|
-
var _default_1 = (0,
|
|
28
|
+
var _default_1 = (0, _reactIntl.injectIntl)(MessagesIntlProvider);
|
|
29
29
|
var _default = exports.default = _default_1;
|
|
@@ -19,7 +19,7 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
|
|
|
19
19
|
var _react = _interopRequireDefault(require("react"));
|
|
20
20
|
var _fastDeepEqual = _interopRequireDefault(require("fast-deep-equal"));
|
|
21
21
|
var _memoizeOne = _interopRequireDefault(require("memoize-one"));
|
|
22
|
-
var
|
|
22
|
+
var _reactIntl = require("react-intl");
|
|
23
23
|
var _tinyInvariant = _interopRequireDefault(require("tiny-invariant"));
|
|
24
24
|
var _analyticsNext = require("@atlaskit/analytics-next");
|
|
25
25
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
@@ -419,7 +419,7 @@ var ShareDialogContainerInternal = exports.ShareDialogContainerInternal = /*#__P
|
|
|
419
419
|
triggerButtonTooltipPosition: triggerButtonTooltipPosition,
|
|
420
420
|
triggerButtonTooltipText: triggerButtonTooltipText,
|
|
421
421
|
bottomMessage: bottomMessage,
|
|
422
|
-
submitButtonLabel: shareeAction === 'edit' && /*#__PURE__*/_react.default.createElement(
|
|
422
|
+
submitButtonLabel: shareeAction === 'edit' && /*#__PURE__*/_react.default.createElement(_reactIntl.FormattedMessage, _i18n.messages.inviteTriggerButtonText),
|
|
423
423
|
product: product,
|
|
424
424
|
productAttributes: productAttributes,
|
|
425
425
|
customHeader: customHeader,
|
|
@@ -15,7 +15,7 @@ var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits
|
|
|
15
15
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
16
16
|
var _react = _interopRequireDefault(require("react"));
|
|
17
17
|
var _react2 = require("@emotion/react");
|
|
18
|
-
var
|
|
18
|
+
var _reactIntl = require("react-intl");
|
|
19
19
|
var _analyticsNext = require("@atlaskit/analytics-next");
|
|
20
20
|
var _share = _interopRequireDefault(require("@atlaskit/icon/core/share"));
|
|
21
21
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
@@ -456,7 +456,7 @@ var ShareDialogWithTriggerInternalLegacy = exports.ShareDialogWithTriggerInterna
|
|
|
456
456
|
} else {
|
|
457
457
|
button = (0, _react2.jsx)(_ShareButton.default, {
|
|
458
458
|
appearance: triggerButtonAppearance,
|
|
459
|
-
text: triggerButtonStyle !== 'icon-only' ? (0, _react2.jsx)(
|
|
459
|
+
text: triggerButtonStyle !== 'icon-only' ? (0, _react2.jsx)(_reactIntl.FormattedMessage, _i18n.messages.shareTriggerButtonText) : null,
|
|
460
460
|
"aria-label": formatMessage(_i18n.messages.shareTriggerButtonText),
|
|
461
461
|
onClick: _this.onTriggerClick,
|
|
462
462
|
iconBefore: triggerButtonStyle !== 'text-only' ? (0, _react2.jsx)(ShareButtonIcon, {
|
|
@@ -735,4 +735,4 @@ var ShareDialogWithTriggerInternalLegacy = exports.ShareDialogWithTriggerInterna
|
|
|
735
735
|
var ShareDialogWithTriggerInternal = exports.ShareDialogWithTriggerInternal = function ShareDialogWithTriggerInternal(props) {
|
|
736
736
|
return (0, _platformFeatureFlags.fg)('share-compiled-migration') ? (0, _react2.jsx)(_ShareDialogWithTriggerNext.ShareDialogWithTriggerInternal, props) : (0, _react2.jsx)(ShareDialogWithTriggerInternalLegacy, props);
|
|
737
737
|
};
|
|
738
|
-
var ShareDialogWithTrigger = exports.ShareDialogWithTrigger = (0, _analyticsNext.withAnalyticsEvents)()((0,
|
|
738
|
+
var ShareDialogWithTrigger = exports.ShareDialogWithTrigger = (0, _analyticsNext.withAnalyticsEvents)()((0, _reactIntl.injectIntl)(ShareDialogWithTriggerInternal));
|
|
@@ -17,7 +17,7 @@ var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/ge
|
|
|
17
17
|
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
|
18
18
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
19
19
|
var _react = _interopRequireDefault(require("react"));
|
|
20
|
-
var
|
|
20
|
+
var _reactIntl = require("react-intl");
|
|
21
21
|
var _analyticsNext = require("@atlaskit/analytics-next");
|
|
22
22
|
var _css = require("@atlaskit/css");
|
|
23
23
|
var _share = _interopRequireDefault(require("@atlaskit/icon/core/share"));
|
|
@@ -441,7 +441,7 @@ var ShareDialogWithTriggerInternal = exports.ShareDialogWithTriggerInternal = /*
|
|
|
441
441
|
} else {
|
|
442
442
|
button = /*#__PURE__*/_react.default.createElement(_ShareButton.default, {
|
|
443
443
|
appearance: triggerButtonAppearance,
|
|
444
|
-
text: triggerButtonStyle !== 'icon-only' ? /*#__PURE__*/_react.default.createElement(
|
|
444
|
+
text: triggerButtonStyle !== 'icon-only' ? /*#__PURE__*/_react.default.createElement(_reactIntl.FormattedMessage, _i18n.messages.shareTriggerButtonText) : null,
|
|
445
445
|
"aria-label": formatMessage(_i18n.messages.shareTriggerButtonText),
|
|
446
446
|
onClick: _this.onTriggerClick,
|
|
447
447
|
iconBefore: triggerButtonStyle !== 'text-only' ? /*#__PURE__*/_react.default.createElement(ShareButtonIcon, {
|
|
@@ -708,4 +708,4 @@ var ShareDialogWithTriggerInternal = exports.ShareDialogWithTriggerInternal = /*
|
|
|
708
708
|
triggerButtonTooltipPosition: 'top',
|
|
709
709
|
dialogZIndex: _constants.layers.modal()
|
|
710
710
|
});
|
|
711
|
-
var ShareDialogWithTrigger = exports.ShareDialogWithTrigger = (0, _analyticsNext.withAnalyticsEvents)()((0,
|
|
711
|
+
var ShareDialogWithTrigger = exports.ShareDialogWithTrigger = (0, _analyticsNext.withAnalyticsEvents)()((0, _reactIntl.injectIntl)(ShareDialogWithTriggerInternal));
|
|
@@ -15,7 +15,7 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
|
|
|
15
15
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
16
16
|
var _react = _interopRequireDefault(require("react"));
|
|
17
17
|
var _react2 = require("@emotion/react");
|
|
18
|
-
var
|
|
18
|
+
var _reactIntl = require("react-intl");
|
|
19
19
|
var _analyticsNext = require("@atlaskit/analytics-next");
|
|
20
20
|
var _new = _interopRequireDefault(require("@atlaskit/button/new"));
|
|
21
21
|
var _form = _interopRequireWildcard(require("@atlaskit/form"));
|
|
@@ -108,7 +108,7 @@ var menuGroupContainerStyles = (0, _primitives.xcss)({
|
|
|
108
108
|
marginInline: 'space.negative.300'
|
|
109
109
|
});
|
|
110
110
|
var integrationTabText = function integrationTabText(integrationName) {
|
|
111
|
-
return (0, _react2.jsx)(
|
|
111
|
+
return (0, _react2.jsx)(_reactIntl.FormattedMessage, (0, _extends2.default)({}, _i18n.messages.shareInIntegrationButtonText, {
|
|
112
112
|
values: {
|
|
113
113
|
integrationName: integrationName
|
|
114
114
|
}
|
|
@@ -171,7 +171,7 @@ var InternalForm = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
171
171
|
title: title
|
|
172
172
|
}), !isExtendedShareDialogEnabled && (0, _react2.jsx)("div", {
|
|
173
173
|
css: requiredFieldInfoStyles
|
|
174
|
-
}, (0, _react2.jsx)(
|
|
174
|
+
}, (0, _react2.jsx)(_reactIntl.FormattedMessage, _i18n.messages.requiredFieldSummary), (0, _react2.jsx)(_form.RequiredAsterisk, null)), (0, _react2.jsx)("div", {
|
|
175
175
|
css: isExtendedShareDialogEnabled ? formFieldStyles : formFieldStylesSpacious
|
|
176
176
|
}, isExtendedShareDialogEnabled ? (0, _react2.jsx)(_primitives.Inline, {
|
|
177
177
|
space: "space.100"
|
|
@@ -267,7 +267,7 @@ var InternalForm = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
267
267
|
}, (0, _react2.jsx)("div", {
|
|
268
268
|
css: centerAlignedIconWrapperStyles
|
|
269
269
|
}, shouldShowWarning && (0, _react2.jsx)(_tooltip.default, {
|
|
270
|
-
content: (0, _react2.jsx)(
|
|
270
|
+
content: (0, _react2.jsx)(_reactIntl.FormattedMessage, _i18n.messages.shareFailureMessage),
|
|
271
271
|
position: "top"
|
|
272
272
|
}, (0, _react2.jsx)(_statusError.default, {
|
|
273
273
|
spacing: "spacious",
|
|
@@ -278,7 +278,7 @@ var InternalForm = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
278
278
|
type: "submit",
|
|
279
279
|
isLoading: isSharing,
|
|
280
280
|
isDisabled: buttonDisabled
|
|
281
|
-
}, (0, _react2.jsx)(ButtonLabelWrapper, null, submitButtonLabel || (0, _react2.jsx)(
|
|
281
|
+
}, (0, _react2.jsx)(ButtonLabelWrapper, null, submitButtonLabel || (0, _react2.jsx)(_reactIntl.FormattedMessage, buttonLabel))));
|
|
282
282
|
});
|
|
283
283
|
(0, _defineProperty2.default)(_this, "renderMainTabTitle", function () {
|
|
284
284
|
var _this$props3 = _this.props,
|
|
@@ -288,10 +288,10 @@ var InternalForm = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
288
288
|
return title;
|
|
289
289
|
}
|
|
290
290
|
if (!product) {
|
|
291
|
-
return (0, _react2.jsx)(
|
|
291
|
+
return (0, _react2.jsx)(_reactIntl.FormattedMessage, _i18n.messages.formTitle);
|
|
292
292
|
}
|
|
293
293
|
var productShareType = product === 'jira' ? _objectSpread({}, _i18n.messages.shareMainTabTextJira) : _objectSpread({}, _i18n.messages.shareMainTabTextConfluence);
|
|
294
|
-
return (0, _react2.jsx)(
|
|
294
|
+
return (0, _react2.jsx)(_reactIntl.FormattedMessage, productShareType);
|
|
295
295
|
});
|
|
296
296
|
(0, _defineProperty2.default)(_this, "changeTab", function (tab) {
|
|
297
297
|
var _this$props$onTabChan, _this$props4;
|
|
@@ -442,7 +442,7 @@ var InternalForm = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
442
442
|
(0, _defineProperty2.default)(InternalForm, "defaultProps", {
|
|
443
443
|
onSubmit: function onSubmit() {}
|
|
444
444
|
});
|
|
445
|
-
var InternalFormWithIntl = (0,
|
|
445
|
+
var InternalFormWithIntl = (0, _reactIntl.injectIntl)(InternalForm);
|
|
446
446
|
var ShareForm = exports.ShareForm = function ShareForm(props) {
|
|
447
447
|
return (0, _react2.jsx)(_form.default, {
|
|
448
448
|
onSubmit: props.onSubmit
|
|
@@ -17,7 +17,7 @@ var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits
|
|
|
17
17
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
18
18
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
19
19
|
var _react = _interopRequireDefault(require("react"));
|
|
20
|
-
var
|
|
20
|
+
var _reactIntl = require("react-intl");
|
|
21
21
|
var _analyticsNext = require("@atlaskit/analytics-next");
|
|
22
22
|
var _new = _interopRequireDefault(require("@atlaskit/button/new"));
|
|
23
23
|
var _css = require("@atlaskit/css");
|
|
@@ -54,7 +54,7 @@ var styles = {
|
|
|
54
54
|
menuGroupContainerStyles: "_2rko12b0 _1moux0bf _195g10v4 _syazi7uo _4cvr1y6m _1bsb1w81"
|
|
55
55
|
};
|
|
56
56
|
var integrationTabText = function integrationTabText(integrationName) {
|
|
57
|
-
return /*#__PURE__*/_react.default.createElement(
|
|
57
|
+
return /*#__PURE__*/_react.default.createElement(_reactIntl.FormattedMessage, (0, _extends2.default)({}, _i18n.messages.shareInIntegrationButtonText, {
|
|
58
58
|
values: {
|
|
59
59
|
integrationName: integrationName
|
|
60
60
|
}
|
|
@@ -111,7 +111,7 @@ var InternalForm = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
111
111
|
title: title
|
|
112
112
|
}), /*#__PURE__*/_react.default.createElement(_compiled.Box, {
|
|
113
113
|
xcss: (0, _css.cx)(styles.requiredFieldInfoStyles)
|
|
114
|
-
}, /*#__PURE__*/_react.default.createElement(
|
|
114
|
+
}, /*#__PURE__*/_react.default.createElement(_reactIntl.FormattedMessage, _i18n.messages.requiredFieldSummary), /*#__PURE__*/_react.default.createElement(_form.RequiredAsterisk, null)), /*#__PURE__*/_react.default.createElement(_compiled.Box, {
|
|
115
115
|
xcss: (0, _css.cx)(styles.formFieldStyles)
|
|
116
116
|
}, /*#__PURE__*/_react.default.createElement(_UserPickerField.UserPickerField, {
|
|
117
117
|
onInputChange: onUserInputChange,
|
|
@@ -174,7 +174,7 @@ var InternalForm = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
174
174
|
}, /*#__PURE__*/_react.default.createElement(_compiled.Box, {
|
|
175
175
|
xcss: (0, _css.cx)(styles.centerAlignedIconWrapperStyles)
|
|
176
176
|
}, shouldShowWarning && /*#__PURE__*/_react.default.createElement(_tooltip.default, {
|
|
177
|
-
content: /*#__PURE__*/_react.default.createElement(
|
|
177
|
+
content: /*#__PURE__*/_react.default.createElement(_reactIntl.FormattedMessage, _i18n.messages.shareFailureMessage),
|
|
178
178
|
position: "top"
|
|
179
179
|
}, /*#__PURE__*/_react.default.createElement(_statusError.default, {
|
|
180
180
|
spacing: "spacious",
|
|
@@ -185,7 +185,7 @@ var InternalForm = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
185
185
|
type: "submit",
|
|
186
186
|
isLoading: isSharing,
|
|
187
187
|
isDisabled: buttonDisabled
|
|
188
|
-
}, /*#__PURE__*/_react.default.createElement(ButtonLabelWrapper, null, submitButtonLabel || /*#__PURE__*/_react.default.createElement(
|
|
188
|
+
}, /*#__PURE__*/_react.default.createElement(ButtonLabelWrapper, null, submitButtonLabel || /*#__PURE__*/_react.default.createElement(_reactIntl.FormattedMessage, buttonLabel))));
|
|
189
189
|
});
|
|
190
190
|
(0, _defineProperty2.default)(_this, "renderMainTabTitle", function () {
|
|
191
191
|
var _this$props3 = _this.props,
|
|
@@ -195,10 +195,10 @@ var InternalForm = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
195
195
|
return title;
|
|
196
196
|
}
|
|
197
197
|
if (!product) {
|
|
198
|
-
return /*#__PURE__*/_react.default.createElement(
|
|
198
|
+
return /*#__PURE__*/_react.default.createElement(_reactIntl.FormattedMessage, _i18n.messages.formTitle);
|
|
199
199
|
}
|
|
200
200
|
var productShareType = product === 'jira' ? _objectSpread({}, _i18n.messages.shareMainTabTextJira) : _objectSpread({}, _i18n.messages.shareMainTabTextConfluence);
|
|
201
|
-
return /*#__PURE__*/_react.default.createElement(
|
|
201
|
+
return /*#__PURE__*/_react.default.createElement(_reactIntl.FormattedMessage, productShareType);
|
|
202
202
|
});
|
|
203
203
|
(0, _defineProperty2.default)(_this, "changeTab", function (tab) {
|
|
204
204
|
var _this$props$onTabChan, _this$props4;
|
|
@@ -350,7 +350,7 @@ var InternalForm = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
350
350
|
(0, _defineProperty2.default)(InternalForm, "defaultProps", {
|
|
351
351
|
onSubmit: function onSubmit() {}
|
|
352
352
|
});
|
|
353
|
-
var InternalFormWithIntl = (0,
|
|
353
|
+
var InternalFormWithIntl = (0, _reactIntl.injectIntl)(InternalForm);
|
|
354
354
|
var ShareForm = exports.ShareForm = function ShareForm(props) {
|
|
355
355
|
return /*#__PURE__*/_react.default.createElement(_form.default, {
|
|
356
356
|
onSubmit: props.onSubmit
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
var
|
|
9
|
+
var _reactIntl = require("react-intl");
|
|
10
10
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
11
11
|
var _i18n = require("../../i18n");
|
|
12
12
|
var _ShareHeader = require("../ShareHeader");
|
|
@@ -27,7 +27,7 @@ var ShareFormWrapper = function ShareFormWrapper(_ref) {
|
|
|
27
27
|
isMenuItemSelected = _ref$isMenuItemSelect === void 0 ? false : _ref$isMenuItemSelect,
|
|
28
28
|
_ref$isExtendedShareD = _ref.isExtendedShareDialogEnabled,
|
|
29
29
|
isExtendedShareDialogEnabled = _ref$isExtendedShareD === void 0 ? false : _ref$isExtendedShareD;
|
|
30
|
-
var _useIntl = (0,
|
|
30
|
+
var _useIntl = (0, _reactIntl.useIntl)(),
|
|
31
31
|
formatMessage = _useIntl.formatMessage;
|
|
32
32
|
var ContentWrapper = (0, _platformFeatureFlags.fg)('share-compiled-migration') ? _compiled.InlineDialogContentWrapper : _styled.InlineDialogContentWrapper;
|
|
33
33
|
var FormWrapper = (0, _platformFeatureFlags.fg)('share-compiled-migration') ? _compiled.InlineDialogFormWrapper : _styled.InlineDialogFormWrapper;
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.ShareHeader = void 0;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
var
|
|
9
|
+
var _reactIntl = require("react-intl");
|
|
10
10
|
var _heading = _interopRequireDefault(require("@atlaskit/heading"));
|
|
11
11
|
var _primitives = require("@atlaskit/primitives");
|
|
12
12
|
var _i18n = require("../i18n");
|
|
@@ -34,5 +34,5 @@ var ShareHeader = exports.ShareHeader = function ShareHeader(_ref) {
|
|
|
34
34
|
}, /*#__PURE__*/_react.default.createElement(_heading.default, {
|
|
35
35
|
size: "small",
|
|
36
36
|
as: "h2"
|
|
37
|
-
}, title || /*#__PURE__*/_react.default.createElement(
|
|
37
|
+
}, title || /*#__PURE__*/_react.default.createElement(_reactIntl.FormattedMessage, _i18n.messages.formTitle)));
|
|
38
38
|
};
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.menuWrapperWidth = exports.ShareMenuItem = exports.IconContainer = void 0;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
var
|
|
9
|
+
var _reactIntl = require("react-intl");
|
|
10
10
|
var _menu = require("@atlaskit/menu");
|
|
11
11
|
var _primitives = require("@atlaskit/primitives");
|
|
12
12
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
@@ -28,7 +28,7 @@ var ShareMenuItem = exports.ShareMenuItem = function ShareMenuItem(_ref) {
|
|
|
28
28
|
icon: iconName
|
|
29
29
|
}),
|
|
30
30
|
onClick: onClickHandler
|
|
31
|
-
}, /*#__PURE__*/_react.default.createElement(
|
|
31
|
+
}, /*#__PURE__*/_react.default.createElement(_reactIntl.FormattedMessage, labelId));
|
|
32
32
|
};
|
|
33
33
|
var IconContainer = exports.IconContainer = function IconContainer(_ref2) {
|
|
34
34
|
var icon = _ref2.icon;
|
|
@@ -11,7 +11,7 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
11
11
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
12
12
|
var _react = _interopRequireWildcard(require("react"));
|
|
13
13
|
var _react2 = require("@emotion/react");
|
|
14
|
-
var
|
|
14
|
+
var _reactIntl = require("react-intl");
|
|
15
15
|
var _new = require("@atlaskit/button/new");
|
|
16
16
|
var _dropdownMenu = _interopRequireWildcard(require("@atlaskit/dropdown-menu"));
|
|
17
17
|
var _chevronDown = _interopRequireDefault(require("@atlaskit/icon/core/chevron-down"));
|
|
@@ -31,7 +31,7 @@ var dropDownIntegrationButtonWrapperStyles = (0, _react2.css)((0, _definePropert
|
|
|
31
31
|
background: 'transparent'
|
|
32
32
|
}));
|
|
33
33
|
var integrationButtonText = function integrationButtonText(integrationName) {
|
|
34
|
-
return (0, _react2.jsx)(
|
|
34
|
+
return (0, _react2.jsx)(_reactIntl.FormattedMessage, (0, _extends2.default)({}, _i18n.messages.shareToIntegrationButtonText, {
|
|
35
35
|
values: {
|
|
36
36
|
integrationName: integrationName
|
|
37
37
|
}
|
|
@@ -15,7 +15,7 @@ var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits
|
|
|
15
15
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
16
16
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
17
17
|
var _react = _interopRequireDefault(require("react"));
|
|
18
|
-
var
|
|
18
|
+
var _reactIntl = require("react-intl");
|
|
19
19
|
var _form = require("@atlaskit/form");
|
|
20
20
|
var _link = _interopRequireDefault(require("@atlaskit/link"));
|
|
21
21
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
@@ -54,7 +54,7 @@ var getNoOptionsMessage = function getNoOptionsMessage(isPublicLink, allowEmail,
|
|
|
54
54
|
allowEmail: allowEmail
|
|
55
55
|
});
|
|
56
56
|
}
|
|
57
|
-
return inputValue && inputValue.trim().length > 0 ? /*#__PURE__*/_react.default.createElement(
|
|
57
|
+
return inputValue && inputValue.trim().length > 0 ? /*#__PURE__*/_react.default.createElement(_reactIntl.FormattedMessage, (0, _extends2.default)({}, getNoOptionsMessageDescriptor((0, _smartUserPicker.isValidEmail)(inputValue), isPublicLink, allowEmail), {
|
|
58
58
|
values: {
|
|
59
59
|
inputValue: inputValue
|
|
60
60
|
}
|
|
@@ -153,9 +153,9 @@ var UserPickerFieldComponent = exports.UserPickerFieldComponent = /*#__PURE__*/f
|
|
|
153
153
|
return helperMessage;
|
|
154
154
|
}
|
|
155
155
|
if (product === 'jira') {
|
|
156
|
-
return (0, _platformFeatureFlags.fg)('jira-issue-terminology-refresh-m3') ? /*#__PURE__*/_react.default.createElement(
|
|
156
|
+
return (0, _platformFeatureFlags.fg)('jira-issue-terminology-refresh-m3') ? /*#__PURE__*/_react.default.createElement(_reactIntl.FormattedMessage, _i18n.messages.infoMessageDefaultJiraIssueTermRefresh) : /*#__PURE__*/_react.default.createElement(_reactIntl.FormattedMessage, _i18n.messages.infoMessageDefaultJira);
|
|
157
157
|
}
|
|
158
|
-
return /*#__PURE__*/_react.default.createElement(
|
|
158
|
+
return /*#__PURE__*/_react.default.createElement(_reactIntl.FormattedMessage, _i18n.messages.infoMessageDefaultConfluence);
|
|
159
159
|
});
|
|
160
160
|
(0, _defineProperty2.default)(_this, "handleUserPickerTransform", function (event, current) {
|
|
161
161
|
var onChange = _this.props.onChange;
|
|
@@ -285,7 +285,7 @@ var UserPickerFieldComponent = exports.UserPickerFieldComponent = /*#__PURE__*/f
|
|
|
285
285
|
weight: 'bold',
|
|
286
286
|
size: 'small',
|
|
287
287
|
color: 'color.text.subtle'
|
|
288
|
-
} : {}), /*#__PURE__*/_react.default.createElement(
|
|
288
|
+
} : {}), /*#__PURE__*/_react.default.createElement(_reactIntl.FormattedMessage, getLabelMessage(product, allowEmail, isBrowseUsersDisabled))),
|
|
289
289
|
name: "users",
|
|
290
290
|
validate: !isExtendedShareDialogEnabled ? validate : undefined,
|
|
291
291
|
defaultValue: defaultValue,
|
|
@@ -304,12 +304,12 @@ var UserPickerFieldComponent = exports.UserPickerFieldComponent = /*#__PURE__*/f
|
|
|
304
304
|
addMoreMessage: addMoreMessage,
|
|
305
305
|
placeholder: /*#__PURE__*/_react.default.createElement(_compiled.Text, {
|
|
306
306
|
id: USER_PICKER_FIELD_PLACEHOLDER
|
|
307
|
-
}, /*#__PURE__*/_react.default.createElement(
|
|
307
|
+
}, /*#__PURE__*/_react.default.createElement(_reactIntl.FormattedMessage, getPlaceHolderMessage(product, allowEmail, isBrowseUsersDisabled))),
|
|
308
308
|
menuPortalTarget: menuPortalTarget,
|
|
309
309
|
inputId: fieldProps.id
|
|
310
310
|
})), helperMessage && !wasValidationOrShareError && !isExtendedShareDialogEnabled && /*#__PURE__*/_react.default.createElement(_form.HelperMessage, {
|
|
311
311
|
testId: "user-picker"
|
|
312
|
-
}, helperMessage), !fieldValid && fieldValidationError === REQUIRED && /*#__PURE__*/_react.default.createElement(_form.ErrorMessage, null, /*#__PURE__*/_react.default.createElement(
|
|
312
|
+
}, helperMessage), !fieldValid && fieldValidationError === REQUIRED && /*#__PURE__*/_react.default.createElement(_form.ErrorMessage, null, /*#__PURE__*/_react.default.createElement(_reactIntl.FormattedMessage, requiredMessage)), shareError && shareError.errorCode && /*#__PURE__*/_react.default.createElement(_form.ErrorMessage, null, shareError.message, "\xA0", shareError.helpUrl && /*#__PURE__*/_react.default.createElement(_link.default, {
|
|
313
313
|
target: "_blank",
|
|
314
314
|
href: shareError.helpUrl,
|
|
315
315
|
rel: "help"
|
|
@@ -318,4 +318,4 @@ var UserPickerFieldComponent = exports.UserPickerFieldComponent = /*#__PURE__*/f
|
|
|
318
318
|
}
|
|
319
319
|
}]);
|
|
320
320
|
}(_react.default.Component);
|
|
321
|
-
var UserPickerField = exports.UserPickerField = (0,
|
|
321
|
+
var UserPickerField = exports.UserPickerField = (0, _reactIntl.injectIntl)(UserPickerFieldComponent);
|
|
@@ -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: "
|
|
16
|
+
packageVersion: "0.0.0-development"
|
|
17
17
|
}, attributes);
|
|
18
18
|
};
|
|
19
19
|
var createEvent = function createEvent(eventType, source, action, actionSubject, actionSubjectId) {
|
package/dist/cjs/i18n.js
CHANGED
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.messages = void 0;
|
|
7
|
-
var
|
|
8
|
-
var messages = exports.messages = (0,
|
|
7
|
+
var _reactIntl = require("react-intl");
|
|
8
|
+
var messages = exports.messages = (0, _reactIntl.defineMessages)({
|
|
9
9
|
formTitle: {
|
|
10
10
|
id: 'fabric.elements.share.form.title',
|
|
11
11
|
defaultMessage: 'Share',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import React, { useMemo } from 'react';
|
|
3
|
-
import { useIntl } from 'react-intl
|
|
3
|
+
import { useIntl } from 'react-intl';
|
|
4
4
|
import { Field, useFormState } from '@atlaskit/form';
|
|
5
5
|
import TextArea from '@atlaskit/textarea';
|
|
6
6
|
import { messages } from '../i18n';
|
|
@@ -7,7 +7,7 @@ import React from 'react';
|
|
|
7
7
|
|
|
8
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
|
|
9
9
|
import { css, jsx } from '@emotion/react';
|
|
10
|
-
import { FormattedMessage } from 'react-intl
|
|
10
|
+
import { FormattedMessage } from 'react-intl';
|
|
11
11
|
import { AnalyticsContext } from '@atlaskit/analytics-next';
|
|
12
12
|
import { Text } from '@atlaskit/primitives/compiled';
|
|
13
13
|
import { messages } from '../../i18n';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import "./LazyShareFormNext.compiled.css";
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React from 'react';
|
|
5
|
-
import { FormattedMessage } from 'react-intl
|
|
5
|
+
import { FormattedMessage } from 'react-intl';
|
|
6
6
|
import { AnalyticsContext } from '@atlaskit/analytics-next';
|
|
7
7
|
import { cx } from '@atlaskit/css';
|
|
8
8
|
import { Box, Text } from '@atlaskit/primitives/compiled';
|
|
@@ -2,7 +2,7 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import deepEqual from 'fast-deep-equal';
|
|
4
4
|
import memoizeOne from 'memoize-one';
|
|
5
|
-
import { FormattedMessage } from 'react-intl
|
|
5
|
+
import { FormattedMessage } from 'react-intl';
|
|
6
6
|
import assert from 'tiny-invariant';
|
|
7
7
|
import { withAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
8
8
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
@@ -7,7 +7,7 @@ import React from 'react';
|
|
|
7
7
|
|
|
8
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
|
|
9
9
|
import { css, jsx } from '@emotion/react';
|
|
10
|
-
import { FormattedMessage, injectIntl } from 'react-intl
|
|
10
|
+
import { FormattedMessage, injectIntl } from 'react-intl';
|
|
11
11
|
import { withAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
12
12
|
import ShareIcon from '@atlaskit/icon/core/share';
|
|
13
13
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
@@ -3,7 +3,7 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
|
3
3
|
import "./ShareDialogWithTriggerNext.compiled.css";
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
5
|
import React from 'react';
|
|
6
|
-
import { FormattedMessage, injectIntl } from 'react-intl
|
|
6
|
+
import { FormattedMessage, injectIntl } from 'react-intl';
|
|
7
7
|
import { withAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
8
8
|
import { cx } from '@atlaskit/css';
|
|
9
9
|
import ShareIcon from '@atlaskit/icon/core/share';
|
|
@@ -8,7 +8,7 @@ import React from 'react';
|
|
|
8
8
|
|
|
9
9
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
10
10
|
import { css, jsx } from '@emotion/react';
|
|
11
|
-
import { FormattedMessage, injectIntl } from 'react-intl
|
|
11
|
+
import { FormattedMessage, injectIntl } from 'react-intl';
|
|
12
12
|
import { AnalyticsContext } from '@atlaskit/analytics-next';
|
|
13
13
|
import Button from '@atlaskit/button/new';
|
|
14
14
|
import Form, { RequiredAsterisk } from '@atlaskit/form';
|
|
@@ -4,7 +4,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
4
4
|
import "./ShareFormNext.compiled.css";
|
|
5
5
|
import { ax, ix } from "@compiled/react/runtime";
|
|
6
6
|
import React from 'react';
|
|
7
|
-
import { FormattedMessage, injectIntl } from 'react-intl
|
|
7
|
+
import { FormattedMessage, injectIntl } from 'react-intl';
|
|
8
8
|
import { AnalyticsContext } from '@atlaskit/analytics-next';
|
|
9
9
|
import Button from '@atlaskit/button/new';
|
|
10
10
|
import { cx } from '@atlaskit/css';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { FormattedMessage } from 'react-intl
|
|
2
|
+
import { FormattedMessage } from 'react-intl';
|
|
3
3
|
import Heading from '@atlaskit/heading';
|
|
4
4
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
5
5
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { FormattedMessage } from 'react-intl
|
|
2
|
+
import { FormattedMessage } from 'react-intl';
|
|
3
3
|
import { ButtonItem } from '@atlaskit/menu';
|
|
4
4
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
5
5
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
@@ -7,7 +7,7 @@ import React, { useCallback } from 'react';
|
|
|
7
7
|
|
|
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
|
-
import { FormattedMessage } from 'react-intl
|
|
10
|
+
import { FormattedMessage } from 'react-intl';
|
|
11
11
|
import { SplitButton as AKSplitButton, IconButton } from '@atlaskit/button/new';
|
|
12
12
|
import DropdownMenu, { DropdownItem, DropdownItemGroup } from '@atlaskit/dropdown-menu';
|
|
13
13
|
import ChevronDownIcon from '@atlaskit/icon/core/chevron-down';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import React from 'react';
|
|
4
|
-
import { FormattedMessage, injectIntl } from 'react-intl
|
|
4
|
+
import { FormattedMessage, injectIntl } from 'react-intl';
|
|
5
5
|
import { ErrorMessage, Field, HelperMessage } from '@atlaskit/form';
|
|
6
6
|
import Link from '@atlaskit/link';
|
|
7
7
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
@@ -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
|
+
packageVersion: "0.0.0-development",
|
|
5
5
|
...attributes
|
|
6
6
|
});
|
|
7
7
|
const createEvent = (eventType, source, action, actionSubject, actionSubjectId, attributes = {}) => ({
|
package/dist/es2019/i18n.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import React, { useMemo } from 'react';
|
|
3
|
-
import { useIntl } from 'react-intl
|
|
3
|
+
import { useIntl } from 'react-intl';
|
|
4
4
|
import { Field, useFormState } from '@atlaskit/form';
|
|
5
5
|
import TextArea from '@atlaskit/textarea';
|
|
6
6
|
import { messages } from '../i18n';
|
|
@@ -7,7 +7,7 @@ import React from 'react';
|
|
|
7
7
|
|
|
8
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
|
|
9
9
|
import { css, jsx } from '@emotion/react';
|
|
10
|
-
import { FormattedMessage } from 'react-intl
|
|
10
|
+
import { FormattedMessage } from 'react-intl';
|
|
11
11
|
import { AnalyticsContext } from '@atlaskit/analytics-next';
|
|
12
12
|
import { Text } from '@atlaskit/primitives/compiled';
|
|
13
13
|
import { messages } from '../../i18n';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import "./LazyShareFormNext.compiled.css";
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React from 'react';
|
|
5
|
-
import { FormattedMessage } from 'react-intl
|
|
5
|
+
import { FormattedMessage } from 'react-intl';
|
|
6
6
|
import { AnalyticsContext } from '@atlaskit/analytics-next';
|
|
7
7
|
import { cx } from '@atlaskit/css';
|
|
8
8
|
import { Box, Text } from '@atlaskit/primitives/compiled';
|
|
@@ -2,7 +2,7 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
|
2
2
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
3
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
4
|
import React, { useMemo } from 'react';
|
|
5
|
-
import { injectIntl, IntlProvider } from 'react-intl
|
|
5
|
+
import { injectIntl, IntlProvider } from 'react-intl';
|
|
6
6
|
import { getMessagesForLocale } from '../util/i18n-util';
|
|
7
7
|
var MessagesIntlProvider = function MessagesIntlProvider(_ref) {
|
|
8
8
|
var intl = _ref.intl,
|
|
@@ -17,7 +17,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
17
17
|
import React from 'react';
|
|
18
18
|
import deepEqual from 'fast-deep-equal';
|
|
19
19
|
import memoizeOne from 'memoize-one';
|
|
20
|
-
import { FormattedMessage } from 'react-intl
|
|
20
|
+
import { FormattedMessage } from 'react-intl';
|
|
21
21
|
import assert from 'tiny-invariant';
|
|
22
22
|
import { withAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
23
23
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
@@ -18,7 +18,7 @@ import React from 'react';
|
|
|
18
18
|
|
|
19
19
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
|
|
20
20
|
import { css, jsx } from '@emotion/react';
|
|
21
|
-
import { FormattedMessage, injectIntl } from 'react-intl
|
|
21
|
+
import { FormattedMessage, injectIntl } from 'react-intl';
|
|
22
22
|
import { withAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
23
23
|
import ShareIcon from '@atlaskit/icon/core/share';
|
|
24
24
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
@@ -14,7 +14,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
14
14
|
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
15
15
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
16
16
|
import React from 'react';
|
|
17
|
-
import { FormattedMessage, injectIntl } from 'react-intl
|
|
17
|
+
import { FormattedMessage, injectIntl } from 'react-intl';
|
|
18
18
|
import { withAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
19
19
|
import { cx } from '@atlaskit/css';
|
|
20
20
|
import ShareIcon from '@atlaskit/icon/core/share';
|
|
@@ -17,7 +17,7 @@ import React from 'react';
|
|
|
17
17
|
|
|
18
18
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
19
19
|
import { css, jsx } from '@emotion/react';
|
|
20
|
-
import { FormattedMessage, injectIntl } from 'react-intl
|
|
20
|
+
import { FormattedMessage, injectIntl } from 'react-intl';
|
|
21
21
|
import { AnalyticsContext } from '@atlaskit/analytics-next';
|
|
22
22
|
import Button from '@atlaskit/button/new';
|
|
23
23
|
import Form, { RequiredAsterisk } from '@atlaskit/form';
|
|
@@ -13,7 +13,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
13
13
|
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
14
14
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
15
15
|
import React from 'react';
|
|
16
|
-
import { FormattedMessage, injectIntl } from 'react-intl
|
|
16
|
+
import { FormattedMessage, injectIntl } from 'react-intl';
|
|
17
17
|
import { AnalyticsContext } from '@atlaskit/analytics-next';
|
|
18
18
|
import Button from '@atlaskit/button/new';
|
|
19
19
|
import { cx } from '@atlaskit/css';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { FormattedMessage } from 'react-intl
|
|
2
|
+
import { FormattedMessage } from 'react-intl';
|
|
3
3
|
import Heading from '@atlaskit/heading';
|
|
4
4
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
5
5
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { FormattedMessage } from 'react-intl
|
|
2
|
+
import { FormattedMessage } from 'react-intl';
|
|
3
3
|
import { ButtonItem } from '@atlaskit/menu';
|
|
4
4
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
5
5
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
@@ -10,7 +10,7 @@ import React, { useCallback } from 'react';
|
|
|
10
10
|
|
|
11
11
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
12
12
|
import { css, jsx } from '@emotion/react';
|
|
13
|
-
import { FormattedMessage } from 'react-intl
|
|
13
|
+
import { FormattedMessage } from 'react-intl';
|
|
14
14
|
import { SplitButton as AKSplitButton, IconButton } from '@atlaskit/button/new';
|
|
15
15
|
import DropdownMenu, { DropdownItem, DropdownItemGroup } from '@atlaskit/dropdown-menu';
|
|
16
16
|
import ChevronDownIcon from '@atlaskit/icon/core/chevron-down';
|
|
@@ -11,7 +11,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
11
11
|
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
12
12
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
13
13
|
import React from 'react';
|
|
14
|
-
import { FormattedMessage, injectIntl } from 'react-intl
|
|
14
|
+
import { FormattedMessage, injectIntl } from 'react-intl';
|
|
15
15
|
import { ErrorMessage, Field, HelperMessage } from '@atlaskit/form';
|
|
16
16
|
import Link from '@atlaskit/link';
|
|
17
17
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
@@ -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: "
|
|
9
|
+
packageVersion: "0.0.0-development"
|
|
10
10
|
}, attributes);
|
|
11
11
|
};
|
|
12
12
|
var createEvent = function createEvent(eventType, source, action, actionSubject, actionSubjectId) {
|
package/dist/esm/i18n.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import { jsx } from '@emotion/react';
|
|
7
|
-
import { type WrappedComponentProps } from 'react-intl
|
|
7
|
+
import { type WrappedComponentProps } from 'react-intl';
|
|
8
8
|
import { type WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
|
|
9
9
|
import { type TriggerProps } from '@atlaskit/popup';
|
|
10
10
|
import { type Value } from '@atlaskit/user-picker';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type WrappedComponentProps } from 'react-intl
|
|
2
|
+
import { type WrappedComponentProps } from 'react-intl';
|
|
3
3
|
import { type WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
|
|
4
4
|
import { type TriggerProps } from '@atlaskit/popup';
|
|
5
5
|
import { type Value } from '@atlaskit/user-picker';
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import { type SerializedStyles } from '@emotion/react';
|
|
7
|
-
import { type WrappedComponentProps } from 'react-intl
|
|
7
|
+
import { type WrappedComponentProps } from 'react-intl';
|
|
8
8
|
import { type FormChildrenArgs, type MenuType, type ShareData, type ShareFormProps, TabType } from '../types';
|
|
9
9
|
export declare const formWrapperStyles: SerializedStyles;
|
|
10
10
|
export declare const formFooterStyles: SerializedStyles;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type WrappedComponentProps } from 'react-intl
|
|
2
|
+
import { type WrappedComponentProps } from 'react-intl';
|
|
3
3
|
import { type FormChildrenArgs, type MenuType, type ShareData, type ShareFormProps, TabType } from '../types';
|
|
4
4
|
export type State = {
|
|
5
5
|
selectedMenuItem: MenuType;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type MessageDescriptor } from 'react-intl
|
|
2
|
+
import { type MessageDescriptor } from 'react-intl';
|
|
3
3
|
export declare const ShareMenuItem: ({ iconName, labelId, onClickHandler, }: {
|
|
4
4
|
iconName: React.ReactNode;
|
|
5
5
|
labelId: MessageDescriptor;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type WrappedComponentProps } from 'react-intl
|
|
2
|
+
import { type WrappedComponentProps } from 'react-intl';
|
|
3
3
|
import { type LoadOptions, type OptionData, type Props as SmartUserPickerProps, type Value } from '@atlaskit/smart-user-picker';
|
|
4
4
|
import { type ConfigResponse, type ProductName, type ShareError, type UserPickerOptions } from '../types';
|
|
5
5
|
export declare const REQUIRED = "REQUIRED";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type MessageDescriptor } from 'react-intl
|
|
1
|
+
import { type MessageDescriptor } from 'react-intl';
|
|
2
2
|
import type { Props as SmartUserPickerProps } from '@atlaskit/smart-user-picker';
|
|
3
3
|
export type UserPickerOptions = Pick<SmartUserPickerProps, 'onFocus' | 'header' | 'includeNonLicensedUsers'> & {
|
|
4
4
|
/**
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import { jsx } from '@emotion/react';
|
|
7
|
-
import { type WrappedComponentProps } from 'react-intl
|
|
7
|
+
import { type WrappedComponentProps } from 'react-intl';
|
|
8
8
|
import { type WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
|
|
9
9
|
import { type TriggerProps } from '@atlaskit/popup';
|
|
10
10
|
import { type Value } from '@atlaskit/user-picker';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type WrappedComponentProps } from 'react-intl
|
|
2
|
+
import { type WrappedComponentProps } from 'react-intl';
|
|
3
3
|
import { type WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
|
|
4
4
|
import { type TriggerProps } from '@atlaskit/popup';
|
|
5
5
|
import { type Value } from '@atlaskit/user-picker';
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import { type SerializedStyles } from '@emotion/react';
|
|
7
|
-
import { type WrappedComponentProps } from 'react-intl
|
|
7
|
+
import { type WrappedComponentProps } from 'react-intl';
|
|
8
8
|
import { type FormChildrenArgs, type MenuType, type ShareData, type ShareFormProps, TabType } from '../types';
|
|
9
9
|
export declare const formWrapperStyles: SerializedStyles;
|
|
10
10
|
export declare const formFooterStyles: SerializedStyles;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type WrappedComponentProps } from 'react-intl
|
|
2
|
+
import { type WrappedComponentProps } from 'react-intl';
|
|
3
3
|
import { type FormChildrenArgs, type MenuType, type ShareData, type ShareFormProps, TabType } from '../types';
|
|
4
4
|
export type State = {
|
|
5
5
|
selectedMenuItem: MenuType;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type MessageDescriptor } from 'react-intl
|
|
2
|
+
import { type MessageDescriptor } from 'react-intl';
|
|
3
3
|
export declare const ShareMenuItem: ({ iconName, labelId, onClickHandler, }: {
|
|
4
4
|
iconName: React.ReactNode;
|
|
5
5
|
labelId: MessageDescriptor;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type WrappedComponentProps } from 'react-intl
|
|
2
|
+
import { type WrappedComponentProps } from 'react-intl';
|
|
3
3
|
import { type LoadOptions, type OptionData, type Props as SmartUserPickerProps, type Value } from '@atlaskit/smart-user-picker';
|
|
4
4
|
import { type ConfigResponse, type ProductName, type ShareError, type UserPickerOptions } from '../types';
|
|
5
5
|
export declare const REQUIRED = "REQUIRED";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type MessageDescriptor } from 'react-intl
|
|
1
|
+
import { type MessageDescriptor } from 'react-intl';
|
|
2
2
|
import type { Props as SmartUserPickerProps } from '@atlaskit/smart-user-picker';
|
|
3
3
|
export type UserPickerOptions = Pick<SmartUserPickerProps, 'onFocus' | 'header' | 'includeNonLicensedUsers'> & {
|
|
4
4
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/share",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.0",
|
|
4
4
|
"description": "Fabric Share Element",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -44,15 +44,15 @@
|
|
|
44
44
|
"@atlaskit/dropdown-menu": "^16.8.0",
|
|
45
45
|
"@atlaskit/form": "^15.5.0",
|
|
46
46
|
"@atlaskit/heading": "^5.4.0",
|
|
47
|
-
"@atlaskit/icon": "^34.
|
|
47
|
+
"@atlaskit/icon": "^34.1.0",
|
|
48
48
|
"@atlaskit/link": "^3.4.0",
|
|
49
49
|
"@atlaskit/menu": "^8.4.0",
|
|
50
50
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
51
|
-
"@atlaskit/popper": "^7.
|
|
51
|
+
"@atlaskit/popper": "^7.2.0",
|
|
52
52
|
"@atlaskit/popup": "^4.16.0",
|
|
53
53
|
"@atlaskit/portal": "^5.4.0",
|
|
54
54
|
"@atlaskit/primitives": "^19.0.0",
|
|
55
|
-
"@atlaskit/smart-user-picker": "^
|
|
55
|
+
"@atlaskit/smart-user-picker": "^10.0.0",
|
|
56
56
|
"@atlaskit/spinner": "^19.1.0",
|
|
57
57
|
"@atlaskit/tabs": "^19.0.0",
|
|
58
58
|
"@atlaskit/textarea": "^8.2.0",
|
|
@@ -60,17 +60,17 @@
|
|
|
60
60
|
"@atlaskit/tokens": "^13.0.0",
|
|
61
61
|
"@atlaskit/tooltip": "^21.1.0",
|
|
62
62
|
"@atlaskit/ufo": "^0.4.0",
|
|
63
|
-
"@atlaskit/user-picker": "^
|
|
63
|
+
"@atlaskit/user-picker": "^12.0.0",
|
|
64
64
|
"@atlaskit/util-service-support": "^6.3.0",
|
|
65
65
|
"@babel/runtime": "^7.0.0",
|
|
66
66
|
"@emotion/react": "^11.7.1",
|
|
67
67
|
"fast-deep-equal": "^3.1.1",
|
|
68
68
|
"memoize-one": "^6.0.0",
|
|
69
|
-
"react-intl-next": "npm:react-intl@^5.18.1",
|
|
70
69
|
"tiny-invariant": "^1.2.0"
|
|
71
70
|
},
|
|
72
71
|
"peerDependencies": {
|
|
73
|
-
"react": "^18.2.0"
|
|
72
|
+
"react": "^18.2.0",
|
|
73
|
+
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
76
|
"@atlaskit/editor-test-helpers": "workspace:^",
|
|
@@ -80,6 +80,7 @@
|
|
|
80
80
|
"@testing-library/user-event": "^14.4.3",
|
|
81
81
|
"enzyme": "^3.10.0",
|
|
82
82
|
"react": "^18.2.0",
|
|
83
|
+
"react-intl": "^6.6.2",
|
|
83
84
|
"typescript": "5.9.2"
|
|
84
85
|
},
|
|
85
86
|
"keywords": [
|