@atlaskit/editor-plugin-card 15.0.0 → 16.0.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 +28 -0
- package/dist/cjs/nodeviews/inlineCard.js +2 -1
- package/dist/cjs/pm-plugins/main.js +2 -1
- package/dist/cjs/ui/EditToolbarButton/EditToolbarButtonPresentation.js +6 -6
- package/dist/cjs/ui/EditToolbarButton/index.js +6 -6
- package/dist/cjs/ui/InlineCardOverlay/index.js +2 -2
- package/dist/cjs/ui/LayoutButton/index.js +2 -2
- package/dist/es2019/nodeviews/inlineCard.js +2 -1
- package/dist/es2019/pm-plugins/main.js +2 -1
- package/dist/es2019/ui/EditToolbarButton/EditToolbarButtonPresentation.js +1 -1
- package/dist/es2019/ui/EditToolbarButton/index.js +1 -1
- package/dist/es2019/ui/InlineCardOverlay/index.js +1 -1
- package/dist/es2019/ui/LayoutButton/index.js +1 -1
- package/dist/esm/nodeviews/inlineCard.js +2 -1
- package/dist/esm/pm-plugins/main.js +2 -1
- package/dist/esm/ui/EditToolbarButton/EditToolbarButtonPresentation.js +1 -1
- package/dist/esm/ui/EditToolbarButton/index.js +1 -1
- package/dist/esm/ui/InlineCardOverlay/index.js +1 -1
- package/dist/esm/ui/LayoutButton/index.js +1 -1
- package/dist/types/ui/DatasourceAppearanceButton.d.ts +1 -1
- package/dist/types/ui/DatasourceDropdownOption.d.ts +1 -1
- package/dist/types/ui/EditToolbarButton/types.d.ts +1 -1
- package/dist/types/ui/HyperlinkToolbarAppearance.d.ts +1 -1
- package/dist/types/ui/LayoutButton/index.d.ts +1 -1
- package/dist/types/ui/LayoutButton/types.d.ts +1 -1
- package/dist/types/ui/LinkToolbarAppearance.d.ts +1 -1
- package/dist/types/ui/OpenPreviewButton/index.d.ts +1 -1
- package/dist/types/ui/toolbar.d.ts +1 -1
- package/dist/types-ts4.5/ui/DatasourceAppearanceButton.d.ts +1 -1
- package/dist/types-ts4.5/ui/DatasourceDropdownOption.d.ts +1 -1
- package/dist/types-ts4.5/ui/EditToolbarButton/types.d.ts +1 -1
- package/dist/types-ts4.5/ui/HyperlinkToolbarAppearance.d.ts +1 -1
- package/dist/types-ts4.5/ui/LayoutButton/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/LayoutButton/types.d.ts +1 -1
- package/dist/types-ts4.5/ui/LinkToolbarAppearance.d.ts +1 -1
- package/dist/types-ts4.5/ui/OpenPreviewButton/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/toolbar.d.ts +1 -1
- package/package.json +20 -20
- package/report.api.md +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-card
|
|
2
2
|
|
|
3
|
+
## 16.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`3e5cf48f0f52f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3e5cf48f0f52f) -
|
|
8
|
+
Replace `cc_dnd_smart_link_changeboard_po_template_gate` feature gate with
|
|
9
|
+
`cc_dnd_smart_link_changeboard_po_template` experiment using `expValNoExposure`.
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
12
|
+
## 16.0.0
|
|
13
|
+
|
|
14
|
+
### Major Changes
|
|
15
|
+
|
|
16
|
+
- [`901c87a57486e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/901c87a57486e) -
|
|
17
|
+
Removed `react-intl-next` alias and replaced all usages with `react-intl` directly.
|
|
18
|
+
|
|
19
|
+
What changed: The `react-intl-next` npm alias (which resolved to `react-intl@^5`) has been
|
|
20
|
+
removed. All imports now reference `react-intl` directly, and `peerDependencies` have been updated
|
|
21
|
+
to `"^5.25.1 || ^6.0.0 || ^7.0.0"`.
|
|
22
|
+
|
|
23
|
+
How consumer should update their code: Ensure `react-intl` is installed at a version satisfying
|
|
24
|
+
`^5.25.1 || ^6.0.0 || ^7.0.0`. If your application was using `react-intl-next` as an npm alias, it
|
|
25
|
+
can be safely removed. Replace any remaining `react-intl-next` imports with `react-intl`.
|
|
26
|
+
|
|
27
|
+
### Patch Changes
|
|
28
|
+
|
|
29
|
+
- Updated dependencies
|
|
30
|
+
|
|
3
31
|
## 15.0.0
|
|
4
32
|
|
|
5
33
|
### Patch Changes
|
|
@@ -21,6 +21,7 @@ var _smartCard = require("@atlaskit/smart-card");
|
|
|
21
21
|
var _ssr = require("@atlaskit/smart-card/ssr");
|
|
22
22
|
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
23
23
|
var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
|
|
24
|
+
var _expVal = require("@atlaskit/tmp-editor-statsig/expVal");
|
|
24
25
|
var _actions = require("../pm-plugins/actions");
|
|
25
26
|
var _utils = require("../pm-plugins/utils");
|
|
26
27
|
var _toolbar = require("../ui/toolbar");
|
|
@@ -202,7 +203,7 @@ function InlineCardNodeView(props) {
|
|
|
202
203
|
isPageSSRed = props.isPageSSRed,
|
|
203
204
|
provider = props.provider,
|
|
204
205
|
CompetitorPrompt = props.CompetitorPrompt;
|
|
205
|
-
var _useSharedPluginState = (0, _hooks.useSharedPluginStateWithSelector)(pluginInjectionApi, (0, _platformFeatureFlags.fg)('
|
|
206
|
+
var _useSharedPluginState = (0, _hooks.useSharedPluginStateWithSelector)(pluginInjectionApi, (0, _expVal.expValNoExposure)('cc_dnd_smart_link_changeboard_po_template', 'isEnabled', false) && (0, _platformFeatureFlags.fg)('cc_drag_and_drop_smart_link_from_content_to_tree') ? ['editorViewMode', 'card'] : ['editorViewMode'], (0, _expVal.expValNoExposure)('cc_dnd_smart_link_changeboard_po_template', 'isEnabled', false) && (0, _platformFeatureFlags.fg)('cc_drag_and_drop_smart_link_from_content_to_tree') ? selectorWithCard : selectorWithoutCard),
|
|
206
207
|
mode = _useSharedPluginState.mode,
|
|
207
208
|
resolvedInlineSmartLinks = _useSharedPluginState.resolvedInlineSmartLinks;
|
|
208
209
|
var url = node.attrs.url;
|
|
@@ -15,6 +15,7 @@ var _state = require("@atlaskit/editor-prosemirror/state");
|
|
|
15
15
|
var _utils = require("@atlaskit/editor-prosemirror/utils");
|
|
16
16
|
var _linkingCommon = require("@atlaskit/linking-common");
|
|
17
17
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
18
|
+
var _expVal = require("@atlaskit/tmp-editor-statsig/expVal");
|
|
18
19
|
var _inlineCard = require("../nodeviews/inlineCard");
|
|
19
20
|
var _lazyBlockCard = require("../nodeviews/lazy-block-card");
|
|
20
21
|
var _lazyEmbedCard = require("../nodeviews/lazy-embed-card");
|
|
@@ -124,7 +125,7 @@ var createPlugin = exports.createPlugin = function createPlugin(options, pluginI
|
|
|
124
125
|
var newState = (0, _reducers.default)(pluginStateWithUpdatedPos, meta);
|
|
125
126
|
|
|
126
127
|
// Track the first resolved inline smart link for PO spotlight DOM targeting
|
|
127
|
-
if (meta.type === 'RESOLVE' && pluginState !== null && pluginState !== void 0 && (_pluginState$requests = pluginState.requests) !== null && _pluginState$requests !== void 0 && _pluginState$requests.length && (0, _platformFeatureFlags.fg)('
|
|
128
|
+
if (meta.type === 'RESOLVE' && pluginState !== null && pluginState !== void 0 && (_pluginState$requests = pluginState.requests) !== null && _pluginState$requests !== void 0 && _pluginState$requests.length && (0, _expVal.expValNoExposure)('cc_dnd_smart_link_changeboard_po_template', 'isEnabled', false) && (0, _platformFeatureFlags.fg)('cc_drag_and_drop_smart_link_from_content_to_tree')) {
|
|
128
129
|
var resolvedRequest = pluginState.requests.find(function (req) {
|
|
129
130
|
return req.url === meta.url;
|
|
130
131
|
});
|
|
@@ -8,7 +8,7 @@ exports.default = void 0;
|
|
|
8
8
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
9
9
|
var _react = require("react");
|
|
10
10
|
var _react2 = require("@emotion/react");
|
|
11
|
-
var
|
|
11
|
+
var _reactIntl = require("react-intl");
|
|
12
12
|
var _messages = require("@atlaskit/editor-common/messages");
|
|
13
13
|
var _ui = require("@atlaskit/editor-common/ui");
|
|
14
14
|
var _uiMenu = require("@atlaskit/editor-common/ui-menu");
|
|
@@ -78,7 +78,7 @@ var EditToolbarButtonPresentation = function EditToolbarButtonPresentation(_ref)
|
|
|
78
78
|
icon: icon,
|
|
79
79
|
tooltipContent: tooltipContent,
|
|
80
80
|
areAnyNewToolbarFlagsEnabled: areAnyNewToolbarFlagsEnabled
|
|
81
|
-
}, !areAnyNewToolbarFlagsEnabled && (0, _react2.jsx)(
|
|
81
|
+
}, !areAnyNewToolbarFlagsEnabled && (0, _react2.jsx)(_reactIntl.FormattedMessage
|
|
82
82
|
// Ignored via go/ees005
|
|
83
83
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
84
84
|
, _messages.linkToolbarMessages.editLink)), !areAnyNewToolbarFlagsEnabled && (0, _react2.jsx)(_ui.FloatingToolbarSeparator, {
|
|
@@ -94,7 +94,7 @@ var EditToolbarButtonPresentation = function EditToolbarButtonPresentation(_ref)
|
|
|
94
94
|
tooltipContent: intl.formatMessage(_messages.linkToolbarMessages.editDatasourceStandaloneTooltip),
|
|
95
95
|
onClick: onEditDatasource,
|
|
96
96
|
areAnyNewToolbarFlagsEnabled: areAnyNewToolbarFlagsEnabled
|
|
97
|
-
}, (0, _react2.jsx)(
|
|
97
|
+
}, (0, _react2.jsx)(_reactIntl.FormattedMessage
|
|
98
98
|
// Ignored via go/ees005
|
|
99
99
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
100
100
|
, _messages.linkToolbarMessages.editDatasourceStandalone)), !areAnyNewToolbarFlagsEnabled && (0, _react2.jsx)(_ui.FloatingToolbarSeparator, {
|
|
@@ -118,7 +118,7 @@ var EditToolbarButtonPresentation = function EditToolbarButtonPresentation(_ref)
|
|
|
118
118
|
disabled: false,
|
|
119
119
|
ariaHasPopup: true,
|
|
120
120
|
areAnyNewToolbarFlagsEnabled: areAnyNewToolbarFlagsEnabled
|
|
121
|
-
}, (0, _react2.jsx)(
|
|
121
|
+
}, (0, _react2.jsx)(_reactIntl.FormattedMessage
|
|
122
122
|
// Ignored via go/ees005
|
|
123
123
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
124
124
|
, _messages.cardMessages.editDropdownTriggerTitle)), !areAnyNewToolbarFlagsEnabled && (0, _react2.jsx)(_ui.FloatingToolbarSeparator, {
|
|
@@ -142,14 +142,14 @@ var EditToolbarButtonPresentation = function EditToolbarButtonPresentation(_ref)
|
|
|
142
142
|
key: "edit.link",
|
|
143
143
|
onClick: onEditLink,
|
|
144
144
|
testId: "edit-dropdown-edit-link-item"
|
|
145
|
-
}, (0, _react2.jsx)(
|
|
145
|
+
}, (0, _react2.jsx)(_reactIntl.FormattedMessage
|
|
146
146
|
// Ignored via go/ees005
|
|
147
147
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
148
148
|
, _messages.cardMessages.editDropdownEditLinkTitle)), (0, _react2.jsx)(_menu.ButtonItem, {
|
|
149
149
|
key: "edit.datasource",
|
|
150
150
|
onClick: onEditDatasource,
|
|
151
151
|
testId: "edit-dropdown-edit-datasource-item"
|
|
152
|
-
}, (0, _react2.jsx)(
|
|
152
|
+
}, (0, _react2.jsx)(_reactIntl.FormattedMessage
|
|
153
153
|
// Ignored via go/ees005
|
|
154
154
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
155
155
|
, _messages.cardMessages.editDropdownEditDatasourceTitle))));
|
|
@@ -9,7 +9,7 @@ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/sli
|
|
|
9
9
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
10
10
|
var _react = require("react");
|
|
11
11
|
var _react2 = require("@emotion/react");
|
|
12
|
-
var
|
|
12
|
+
var _reactIntl = require("react-intl");
|
|
13
13
|
var _messages = require("@atlaskit/editor-common/messages");
|
|
14
14
|
var _ui = require("@atlaskit/editor-common/ui");
|
|
15
15
|
var _uiMenu = require("@atlaskit/editor-common/ui-menu");
|
|
@@ -103,7 +103,7 @@ var EditToolbarButtonWithCardContext = function EditToolbarButtonWithCardContext
|
|
|
103
103
|
testId: "edit-link",
|
|
104
104
|
onClick: onEditLink,
|
|
105
105
|
areAnyNewToolbarFlagsEnabled: areAnyNewToolbarFlagsEnabled
|
|
106
|
-
}, (0, _react2.jsx)(
|
|
106
|
+
}, (0, _react2.jsx)(_reactIntl.FormattedMessage
|
|
107
107
|
// Ignored via go/ees005
|
|
108
108
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
109
109
|
, _messages.linkToolbarMessages.editLink)), !(0, _experiments.editorExperiment)('platform_editor_controls', 'variant1') && (0, _react2.jsx)(_ui.FloatingToolbarSeparator, {
|
|
@@ -119,7 +119,7 @@ var EditToolbarButtonWithCardContext = function EditToolbarButtonWithCardContext
|
|
|
119
119
|
tooltipContent: intl.formatMessage(_messages.linkToolbarMessages.editDatasourceStandaloneTooltip),
|
|
120
120
|
onClick: onEditDatasource,
|
|
121
121
|
areAnyNewToolbarFlagsEnabled: areAnyNewToolbarFlagsEnabled
|
|
122
|
-
}, (0, _react2.jsx)(
|
|
122
|
+
}, (0, _react2.jsx)(_reactIntl.FormattedMessage
|
|
123
123
|
// Ignored via go/ees005
|
|
124
124
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
125
125
|
, _messages.linkToolbarMessages.editDatasourceStandalone)), !(0, _experiments.editorExperiment)('platform_editor_controls', 'variant1') && (0, _react2.jsx)(_ui.FloatingToolbarSeparator, {
|
|
@@ -143,7 +143,7 @@ var EditToolbarButtonWithCardContext = function EditToolbarButtonWithCardContext
|
|
|
143
143
|
disabled: false,
|
|
144
144
|
ariaHasPopup: true,
|
|
145
145
|
areAnyNewToolbarFlagsEnabled: areAnyNewToolbarFlagsEnabled
|
|
146
|
-
}, (0, _react2.jsx)(
|
|
146
|
+
}, (0, _react2.jsx)(_reactIntl.FormattedMessage
|
|
147
147
|
// Ignored via go/ees005
|
|
148
148
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
149
149
|
, _messages.cardMessages.editDropdownTriggerTitle)), !(0, _experiments.editorExperiment)('platform_editor_controls', 'variant1') && (0, _react2.jsx)(_ui.FloatingToolbarSeparator, {
|
|
@@ -167,14 +167,14 @@ var EditToolbarButtonWithCardContext = function EditToolbarButtonWithCardContext
|
|
|
167
167
|
key: "edit.link",
|
|
168
168
|
onClick: onEditLink,
|
|
169
169
|
testId: "edit-dropdown-edit-link-item"
|
|
170
|
-
}, (0, _react2.jsx)(
|
|
170
|
+
}, (0, _react2.jsx)(_reactIntl.FormattedMessage
|
|
171
171
|
// Ignored via go/ees005
|
|
172
172
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
173
173
|
, _messages.cardMessages.editDropdownEditLinkTitle)), (0, _react2.jsx)(_menu.ButtonItem, {
|
|
174
174
|
key: "edit.datasource",
|
|
175
175
|
onClick: onEditDatasource,
|
|
176
176
|
testId: "edit-dropdown-edit-datasource-item"
|
|
177
|
-
}, (0, _react2.jsx)(
|
|
177
|
+
}, (0, _react2.jsx)(_reactIntl.FormattedMessage
|
|
178
178
|
// Ignored via go/ees005
|
|
179
179
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
180
180
|
, _messages.cardMessages.editDropdownEditDatasourceTitle))));
|
|
@@ -13,7 +13,7 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
|
|
|
13
13
|
var _react = _interopRequireWildcard(require("react"));
|
|
14
14
|
var _react2 = require("@emotion/react");
|
|
15
15
|
var _debounce = _interopRequireDefault(require("lodash/debounce"));
|
|
16
|
-
var
|
|
16
|
+
var _reactIntl = require("react-intl");
|
|
17
17
|
var _messages = require("@atlaskit/editor-common/messages");
|
|
18
18
|
var _whitespace = require("@atlaskit/editor-common/whitespace");
|
|
19
19
|
var _customize = _interopRequireDefault(require("@atlaskit/icon/core/customize"));
|
|
@@ -221,7 +221,7 @@ var InlineCardOverlay = function InlineCardOverlay(_ref) {
|
|
|
221
221
|
observer.disconnect();
|
|
222
222
|
};
|
|
223
223
|
}, [isVisible, setVisibility]);
|
|
224
|
-
var intl = (0,
|
|
224
|
+
var intl = (0, _reactIntl.useIntl)();
|
|
225
225
|
var label = intl.formatMessage(_messages.cardMessages.inlineOverlay);
|
|
226
226
|
return (
|
|
227
227
|
// Ignored via go/ees005
|
|
@@ -8,7 +8,7 @@ exports.default = exports.LayoutButton = void 0;
|
|
|
8
8
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
9
9
|
var _react = require("react");
|
|
10
10
|
var _react2 = require("@emotion/react");
|
|
11
|
-
var
|
|
11
|
+
var _reactIntl = require("react-intl");
|
|
12
12
|
var _hooks = require("@atlaskit/editor-common/hooks");
|
|
13
13
|
var _ui = require("@atlaskit/editor-common/ui");
|
|
14
14
|
var _uiMenu = require("@atlaskit/editor-common/ui-menu");
|
|
@@ -130,5 +130,5 @@ var LayoutButtonWrapper = function LayoutButtonWrapper(_ref2) {
|
|
|
130
130
|
intl: intl
|
|
131
131
|
});
|
|
132
132
|
};
|
|
133
|
-
var _default_1 = (0,
|
|
133
|
+
var _default_1 = (0, _reactIntl.injectIntl)(LayoutButtonWrapper);
|
|
134
134
|
var _default = exports.default = _default_1;
|
|
@@ -12,6 +12,7 @@ import { Card as SmartCard } from '@atlaskit/smart-card';
|
|
|
12
12
|
import { CardSSR } from '@atlaskit/smart-card/ssr';
|
|
13
13
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
14
14
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
15
|
+
import { expValNoExposure } from '@atlaskit/tmp-editor-statsig/expVal';
|
|
15
16
|
import { registerCard, removeCard } from '../pm-plugins/actions';
|
|
16
17
|
import { getAwarenessProps } from '../pm-plugins/utils';
|
|
17
18
|
import { visitCardLinkAnalytics } from '../ui/toolbar';
|
|
@@ -203,7 +204,7 @@ export function InlineCardNodeView(props) {
|
|
|
203
204
|
const {
|
|
204
205
|
mode,
|
|
205
206
|
resolvedInlineSmartLinks
|
|
206
|
-
} = useSharedPluginStateWithSelector(pluginInjectionApi, fg('
|
|
207
|
+
} = useSharedPluginStateWithSelector(pluginInjectionApi, expValNoExposure('cc_dnd_smart_link_changeboard_po_template', 'isEnabled', false) && fg('cc_drag_and_drop_smart_link_from_content_to_tree') ? ['editorViewMode', 'card'] : ['editorViewMode'], expValNoExposure('cc_dnd_smart_link_changeboard_po_template', 'isEnabled', false) && fg('cc_drag_and_drop_smart_link_from_content_to_tree') ? selectorWithCard : selectorWithoutCard);
|
|
207
208
|
const url = node.attrs.url;
|
|
208
209
|
const CompetitorPromptComponent = CompetitorPrompt && url ? /*#__PURE__*/React.createElement(CompetitorPrompt, {
|
|
209
210
|
sourceUrl: url,
|
|
@@ -6,6 +6,7 @@ import { NodeSelection } from '@atlaskit/editor-prosemirror/state';
|
|
|
6
6
|
import { findDomRefAtPos } from '@atlaskit/editor-prosemirror/utils';
|
|
7
7
|
import { DATASOURCE_DEFAULT_LAYOUT } from '@atlaskit/linking-common';
|
|
8
8
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
|
+
import { expValNoExposure } from '@atlaskit/tmp-editor-statsig/expVal';
|
|
9
10
|
import { InlineCardNodeView } from '../nodeviews/inlineCard';
|
|
10
11
|
import { lazyBlockCardView } from '../nodeviews/lazy-block-card';
|
|
11
12
|
import { lazyEmbedCardView } from '../nodeviews/lazy-embed-card';
|
|
@@ -115,7 +116,7 @@ export const createPlugin = (options, pluginInjectionApi) => pmPluginFactoryPara
|
|
|
115
116
|
const newState = reducer(pluginStateWithUpdatedPos, meta);
|
|
116
117
|
|
|
117
118
|
// Track the first resolved inline smart link for PO spotlight DOM targeting
|
|
118
|
-
if (meta.type === 'RESOLVE' && pluginState !== null && pluginState !== void 0 && (_pluginState$requests = pluginState.requests) !== null && _pluginState$requests !== void 0 && _pluginState$requests.length && fg('
|
|
119
|
+
if (meta.type === 'RESOLVE' && pluginState !== null && pluginState !== void 0 && (_pluginState$requests = pluginState.requests) !== null && _pluginState$requests !== void 0 && _pluginState$requests.length && expValNoExposure('cc_dnd_smart_link_changeboard_po_template', 'isEnabled', false) && fg('cc_drag_and_drop_smart_link_from_content_to_tree')) {
|
|
119
120
|
const resolvedRequest = pluginState.requests.find(req => req.url === meta.url);
|
|
120
121
|
if ((resolvedRequest === null || resolvedRequest === void 0 ? void 0 : resolvedRequest.appearance) === 'inline') {
|
|
121
122
|
var _newState$resolvedInl, _newState$resolvedInl2;
|
|
@@ -6,7 +6,7 @@ import { useCallback, useRef, useState } from 'react';
|
|
|
6
6
|
|
|
7
7
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
|
|
8
8
|
import { css, jsx } from '@emotion/react';
|
|
9
|
-
import { FormattedMessage } from 'react-intl
|
|
9
|
+
import { FormattedMessage } from 'react-intl';
|
|
10
10
|
import { linkToolbarMessages, cardMessages as messages } from '@atlaskit/editor-common/messages';
|
|
11
11
|
import { FloatingToolbarButton as Button, FloatingToolbarSeparator as Separator } from '@atlaskit/editor-common/ui';
|
|
12
12
|
import { ArrowKeyNavigationType, DropdownContainer as UiDropdown } from '@atlaskit/editor-common/ui-menu';
|
|
@@ -6,7 +6,7 @@ import { useCallback, useMemo, useRef, useState } from 'react';
|
|
|
6
6
|
|
|
7
7
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
|
|
8
8
|
import { css, jsx } from '@emotion/react';
|
|
9
|
-
import { FormattedMessage } from 'react-intl
|
|
9
|
+
import { FormattedMessage } from 'react-intl';
|
|
10
10
|
import { linkToolbarMessages, cardMessages as messages } from '@atlaskit/editor-common/messages';
|
|
11
11
|
import { FloatingToolbarButton as Button, FloatingToolbarSeparator as Separator } from '@atlaskit/editor-common/ui';
|
|
12
12
|
import { ArrowKeyNavigationType, DropdownContainer as UiDropdown } from '@atlaskit/editor-common/ui-menu';
|
|
@@ -10,7 +10,7 @@ import React, { useCallback, useEffect, useLayoutEffect, useRef, useState } from
|
|
|
10
10
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
|
|
11
11
|
import { css, jsx } from '@emotion/react';
|
|
12
12
|
import debounce from 'lodash/debounce';
|
|
13
|
-
import { useIntl } from 'react-intl
|
|
13
|
+
import { useIntl } from 'react-intl';
|
|
14
14
|
import { cardMessages as messages } from '@atlaskit/editor-common/messages';
|
|
15
15
|
import { ZERO_WIDTH_JOINER } from '@atlaskit/editor-common/whitespace';
|
|
16
16
|
import CustomizeIcon from '@atlaskit/icon/core/customize';
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { useCallback, useMemo } from 'react';
|
|
6
6
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
|
|
7
7
|
import { css, jsx } from '@emotion/react';
|
|
8
|
-
import { injectIntl } from 'react-intl
|
|
8
|
+
import { injectIntl } from 'react-intl';
|
|
9
9
|
import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
|
|
10
10
|
import { Popup } from '@atlaskit/editor-common/ui';
|
|
11
11
|
import { ToolbarButton } from '@atlaskit/editor-common/ui-menu';
|
|
@@ -12,6 +12,7 @@ import { Card as SmartCard } from '@atlaskit/smart-card';
|
|
|
12
12
|
import { CardSSR } from '@atlaskit/smart-card/ssr';
|
|
13
13
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
14
14
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
15
|
+
import { expValNoExposure } from '@atlaskit/tmp-editor-statsig/expVal';
|
|
15
16
|
import { registerCard, removeCard } from '../pm-plugins/actions';
|
|
16
17
|
import { getAwarenessProps } from '../pm-plugins/utils';
|
|
17
18
|
import { visitCardLinkAnalytics } from '../ui/toolbar';
|
|
@@ -190,7 +191,7 @@ export function InlineCardNodeView(props) {
|
|
|
190
191
|
isPageSSRed = props.isPageSSRed,
|
|
191
192
|
provider = props.provider,
|
|
192
193
|
CompetitorPrompt = props.CompetitorPrompt;
|
|
193
|
-
var _useSharedPluginState = useSharedPluginStateWithSelector(pluginInjectionApi, fg('
|
|
194
|
+
var _useSharedPluginState = useSharedPluginStateWithSelector(pluginInjectionApi, expValNoExposure('cc_dnd_smart_link_changeboard_po_template', 'isEnabled', false) && fg('cc_drag_and_drop_smart_link_from_content_to_tree') ? ['editorViewMode', 'card'] : ['editorViewMode'], expValNoExposure('cc_dnd_smart_link_changeboard_po_template', 'isEnabled', false) && fg('cc_drag_and_drop_smart_link_from_content_to_tree') ? selectorWithCard : selectorWithoutCard),
|
|
194
195
|
mode = _useSharedPluginState.mode,
|
|
195
196
|
resolvedInlineSmartLinks = _useSharedPluginState.resolvedInlineSmartLinks;
|
|
196
197
|
var url = node.attrs.url;
|
|
@@ -10,6 +10,7 @@ import { NodeSelection } from '@atlaskit/editor-prosemirror/state';
|
|
|
10
10
|
import { findDomRefAtPos } from '@atlaskit/editor-prosemirror/utils';
|
|
11
11
|
import { DATASOURCE_DEFAULT_LAYOUT } from '@atlaskit/linking-common';
|
|
12
12
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
13
|
+
import { expValNoExposure } from '@atlaskit/tmp-editor-statsig/expVal';
|
|
13
14
|
import { InlineCardNodeView } from '../nodeviews/inlineCard';
|
|
14
15
|
import { lazyBlockCardView } from '../nodeviews/lazy-block-card';
|
|
15
16
|
import { lazyEmbedCardView } from '../nodeviews/lazy-embed-card';
|
|
@@ -117,7 +118,7 @@ export var createPlugin = function createPlugin(options, pluginInjectionApi) {
|
|
|
117
118
|
var newState = reducer(pluginStateWithUpdatedPos, meta);
|
|
118
119
|
|
|
119
120
|
// Track the first resolved inline smart link for PO spotlight DOM targeting
|
|
120
|
-
if (meta.type === 'RESOLVE' && pluginState !== null && pluginState !== void 0 && (_pluginState$requests = pluginState.requests) !== null && _pluginState$requests !== void 0 && _pluginState$requests.length && fg('
|
|
121
|
+
if (meta.type === 'RESOLVE' && pluginState !== null && pluginState !== void 0 && (_pluginState$requests = pluginState.requests) !== null && _pluginState$requests !== void 0 && _pluginState$requests.length && expValNoExposure('cc_dnd_smart_link_changeboard_po_template', 'isEnabled', false) && fg('cc_drag_and_drop_smart_link_from_content_to_tree')) {
|
|
121
122
|
var resolvedRequest = pluginState.requests.find(function (req) {
|
|
122
123
|
return req.url === meta.url;
|
|
123
124
|
});
|
|
@@ -7,7 +7,7 @@ import { useCallback, useRef, useState } 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 { linkToolbarMessages, cardMessages as messages } from '@atlaskit/editor-common/messages';
|
|
12
12
|
import { FloatingToolbarButton as Button, FloatingToolbarSeparator as Separator } from '@atlaskit/editor-common/ui';
|
|
13
13
|
import { ArrowKeyNavigationType, DropdownContainer as UiDropdown } from '@atlaskit/editor-common/ui-menu';
|
|
@@ -9,7 +9,7 @@ import { useCallback, useMemo, useRef, useState } from 'react';
|
|
|
9
9
|
|
|
10
10
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
|
|
11
11
|
import { css, jsx } from '@emotion/react';
|
|
12
|
-
import { FormattedMessage } from 'react-intl
|
|
12
|
+
import { FormattedMessage } from 'react-intl';
|
|
13
13
|
import { linkToolbarMessages, cardMessages as messages } from '@atlaskit/editor-common/messages';
|
|
14
14
|
import { FloatingToolbarButton as Button, FloatingToolbarSeparator as Separator } from '@atlaskit/editor-common/ui';
|
|
15
15
|
import { ArrowKeyNavigationType, DropdownContainer as UiDropdown } from '@atlaskit/editor-common/ui-menu';
|
|
@@ -14,7 +14,7 @@ import React, { useCallback, useEffect, useLayoutEffect, useRef, useState } from
|
|
|
14
14
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
|
|
15
15
|
import { css, jsx } from '@emotion/react';
|
|
16
16
|
import debounce from 'lodash/debounce';
|
|
17
|
-
import { useIntl } from 'react-intl
|
|
17
|
+
import { useIntl } from 'react-intl';
|
|
18
18
|
import { cardMessages as messages } from '@atlaskit/editor-common/messages';
|
|
19
19
|
import { ZERO_WIDTH_JOINER } from '@atlaskit/editor-common/whitespace';
|
|
20
20
|
import CustomizeIcon from '@atlaskit/icon/core/customize';
|
|
@@ -8,7 +8,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
8
8
|
import { useCallback, useMemo } from 'react';
|
|
9
9
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
|
|
10
10
|
import { css, jsx } from '@emotion/react';
|
|
11
|
-
import { injectIntl } from 'react-intl
|
|
11
|
+
import { injectIntl } from 'react-intl';
|
|
12
12
|
import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
|
|
13
13
|
import { Popup } from '@atlaskit/editor-common/ui';
|
|
14
14
|
import { ToolbarButton } from '@atlaskit/editor-common/ui-menu';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx } from '@emotion/react';
|
|
2
|
-
import type { IntlShape } from 'react-intl
|
|
2
|
+
import type { IntlShape } from 'react-intl';
|
|
3
3
|
import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
|
|
4
4
|
import type { EditorState } from '@atlaskit/editor-prosemirror/state';
|
|
5
5
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IntlShape } from 'react-intl
|
|
1
|
+
import type { IntlShape } from 'react-intl';
|
|
2
2
|
import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
|
|
3
3
|
import type { Command } from '@atlaskit/editor-common/types';
|
|
4
4
|
import type { Node } from '@atlaskit/editor-prosemirror/model';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { IntlShape } from 'react-intl
|
|
2
|
+
import type { IntlShape } from 'react-intl';
|
|
3
3
|
import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
|
|
4
4
|
import type { CardOptions } from '@atlaskit/editor-common/card';
|
|
5
5
|
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ComponentType, FC } from 'react';
|
|
2
2
|
import { jsx } from '@emotion/react';
|
|
3
|
-
import type { WithIntlProps, WrappedComponentProps } from 'react-intl
|
|
3
|
+
import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
|
|
4
4
|
import type { LayoutButtonProps, LayoutButtonWrapperProps } from './types';
|
|
5
5
|
export declare const LayoutButton: ({ onLayoutChange, layout, intl: { formatMessage }, mountPoint, boundariesElement, scrollableElement, targetElement, testId, }: LayoutButtonProps) => jsx.JSX.Element | null;
|
|
6
6
|
declare const _default_1: FC<WithIntlProps<LayoutButtonWrapperProps & WrappedComponentProps>> & {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IntlShape } from 'react-intl
|
|
1
|
+
import type { IntlShape } from 'react-intl';
|
|
2
2
|
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
3
3
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
4
4
|
import type { cardPlugin } from '../../index';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { IntlShape } from 'react-intl
|
|
2
|
+
import type { IntlShape } from 'react-intl';
|
|
3
3
|
import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
|
|
4
4
|
import type { CardAppearance } from '@atlaskit/editor-common/provider-factory';
|
|
5
5
|
import type { EditorState } from '@atlaskit/editor-prosemirror/state';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { IntlShape } from 'react-intl
|
|
2
|
+
import type { IntlShape } from 'react-intl';
|
|
3
3
|
import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
|
|
4
4
|
import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
5
5
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IntlShape } from 'react-intl
|
|
1
|
+
import type { IntlShape } from 'react-intl';
|
|
2
2
|
import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
|
|
3
3
|
import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
4
4
|
import type { CardOptions } from '@atlaskit/editor-common/card';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx } from '@emotion/react';
|
|
2
|
-
import type { IntlShape } from 'react-intl
|
|
2
|
+
import type { IntlShape } from 'react-intl';
|
|
3
3
|
import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
|
|
4
4
|
import type { EditorState } from '@atlaskit/editor-prosemirror/state';
|
|
5
5
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IntlShape } from 'react-intl
|
|
1
|
+
import type { IntlShape } from 'react-intl';
|
|
2
2
|
import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
|
|
3
3
|
import type { Command } from '@atlaskit/editor-common/types';
|
|
4
4
|
import type { Node } from '@atlaskit/editor-prosemirror/model';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { IntlShape } from 'react-intl
|
|
2
|
+
import type { IntlShape } from 'react-intl';
|
|
3
3
|
import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
|
|
4
4
|
import type { CardOptions } from '@atlaskit/editor-common/card';
|
|
5
5
|
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ComponentType, FC } from 'react';
|
|
2
2
|
import { jsx } from '@emotion/react';
|
|
3
|
-
import type { WithIntlProps, WrappedComponentProps } from 'react-intl
|
|
3
|
+
import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
|
|
4
4
|
import type { LayoutButtonProps, LayoutButtonWrapperProps } from './types';
|
|
5
5
|
export declare const LayoutButton: ({ onLayoutChange, layout, intl: { formatMessage }, mountPoint, boundariesElement, scrollableElement, targetElement, testId, }: LayoutButtonProps) => jsx.JSX.Element | null;
|
|
6
6
|
declare const _default_1: FC<WithIntlProps<LayoutButtonWrapperProps & WrappedComponentProps>> & {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IntlShape } from 'react-intl
|
|
1
|
+
import type { IntlShape } from 'react-intl';
|
|
2
2
|
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
3
3
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
4
4
|
import type { cardPlugin } from '../../index';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { IntlShape } from 'react-intl
|
|
2
|
+
import type { IntlShape } from 'react-intl';
|
|
3
3
|
import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
|
|
4
4
|
import type { CardAppearance } from '@atlaskit/editor-common/provider-factory';
|
|
5
5
|
import type { EditorState } from '@atlaskit/editor-prosemirror/state';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { IntlShape } from 'react-intl
|
|
2
|
+
import type { IntlShape } from 'react-intl';
|
|
3
3
|
import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
|
|
4
4
|
import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
5
5
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IntlShape } from 'react-intl
|
|
1
|
+
import type { IntlShape } from 'react-intl';
|
|
2
2
|
import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
|
|
3
3
|
import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
4
4
|
import type { CardOptions } from '@atlaskit/editor-common/card';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-card",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "16.0.1",
|
|
4
4
|
"description": "Card plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -32,17 +32,17 @@
|
|
|
32
32
|
"@atlaskit/adf-schema": "^52.5.0",
|
|
33
33
|
"@atlaskit/analytics-next": "^11.2.0",
|
|
34
34
|
"@atlaskit/custom-steps": "^0.16.0",
|
|
35
|
-
"@atlaskit/editor-plugin-analytics": "^
|
|
36
|
-
"@atlaskit/editor-plugin-base": "^
|
|
37
|
-
"@atlaskit/editor-plugin-connectivity": "^
|
|
38
|
-
"@atlaskit/editor-plugin-decorations": "^
|
|
39
|
-
"@atlaskit/editor-plugin-editor-disabled": "^
|
|
40
|
-
"@atlaskit/editor-plugin-editor-viewmode": "^
|
|
41
|
-
"@atlaskit/editor-plugin-feature-flags": "^
|
|
42
|
-
"@atlaskit/editor-plugin-floating-toolbar": "^
|
|
43
|
-
"@atlaskit/editor-plugin-grid": "^
|
|
44
|
-
"@atlaskit/editor-plugin-toolbar": "^
|
|
45
|
-
"@atlaskit/editor-plugin-width": "^
|
|
35
|
+
"@atlaskit/editor-plugin-analytics": "^10.0.0",
|
|
36
|
+
"@atlaskit/editor-plugin-base": "^11.0.0",
|
|
37
|
+
"@atlaskit/editor-plugin-connectivity": "^10.0.0",
|
|
38
|
+
"@atlaskit/editor-plugin-decorations": "^10.0.0",
|
|
39
|
+
"@atlaskit/editor-plugin-editor-disabled": "^10.0.0",
|
|
40
|
+
"@atlaskit/editor-plugin-editor-viewmode": "^12.0.0",
|
|
41
|
+
"@atlaskit/editor-plugin-feature-flags": "^9.0.0",
|
|
42
|
+
"@atlaskit/editor-plugin-floating-toolbar": "^12.0.0",
|
|
43
|
+
"@atlaskit/editor-plugin-grid": "^10.0.0",
|
|
44
|
+
"@atlaskit/editor-plugin-toolbar": "^7.0.0",
|
|
45
|
+
"@atlaskit/editor-plugin-width": "^11.0.0",
|
|
46
46
|
"@atlaskit/editor-prosemirror": "^7.3.0",
|
|
47
47
|
"@atlaskit/editor-shared-styles": "^3.10.0",
|
|
48
48
|
"@atlaskit/editor-smart-link-draggable": "^0.5.0",
|
|
@@ -60,8 +60,8 @@
|
|
|
60
60
|
"@atlaskit/platform-feature-flags-react": "^0.4.0",
|
|
61
61
|
"@atlaskit/primitives": "^19.0.0",
|
|
62
62
|
"@atlaskit/prosemirror-history": "^0.2.0",
|
|
63
|
-
"@atlaskit/smart-card": "^44.
|
|
64
|
-
"@atlaskit/tmp-editor-statsig": "^62.
|
|
63
|
+
"@atlaskit/smart-card": "^44.1.0",
|
|
64
|
+
"@atlaskit/tmp-editor-statsig": "^62.7.0",
|
|
65
65
|
"@atlaskit/tokens": "^13.0.0",
|
|
66
66
|
"@babel/runtime": "^7.0.0",
|
|
67
67
|
"@emotion/react": "^11.7.1",
|
|
@@ -71,10 +71,10 @@
|
|
|
71
71
|
"uuid": "^3.1.0"
|
|
72
72
|
},
|
|
73
73
|
"peerDependencies": {
|
|
74
|
-
"@atlaskit/editor-common": "^
|
|
74
|
+
"@atlaskit/editor-common": "^114.1.0",
|
|
75
75
|
"@atlaskit/link-provider": "^4.3.0",
|
|
76
76
|
"react": "^18.2.0",
|
|
77
|
-
"react-intl
|
|
77
|
+
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|
|
78
78
|
},
|
|
79
79
|
"techstack": {
|
|
80
80
|
"@atlassian/frontend": {
|
|
@@ -113,9 +113,6 @@
|
|
|
113
113
|
"cc_drag_and_drop_smart_link_from_content_to_tree": {
|
|
114
114
|
"type": "boolean"
|
|
115
115
|
},
|
|
116
|
-
"cc_dnd_smart_link_changeboard_po_template_gate": {
|
|
117
|
-
"type": "boolean"
|
|
118
|
-
},
|
|
119
116
|
"confluence-issue-terminology-refresh": {
|
|
120
117
|
"type": "boolean"
|
|
121
118
|
},
|
|
@@ -137,5 +134,8 @@
|
|
|
137
134
|
"checkDevDependencies": true
|
|
138
135
|
}
|
|
139
136
|
},
|
|
140
|
-
"compassUnitTestMetricSourceId": "ari:cloud:compass:a436116f-02ce-4520-8fbb-7301462a1674:metric-source/c5751cc6-3513-4070-9deb-af31e86aed34/e6f3220b-0ca2-445a-a4c5-78cff6ca2a34"
|
|
137
|
+
"compassUnitTestMetricSourceId": "ari:cloud:compass:a436116f-02ce-4520-8fbb-7301462a1674:metric-source/c5751cc6-3513-4070-9deb-af31e86aed34/e6f3220b-0ca2-445a-a4c5-78cff6ca2a34",
|
|
138
|
+
"devDependencies": {
|
|
139
|
+
"react-intl": "^6.6.2"
|
|
140
|
+
}
|
|
141
141
|
}
|