@atlaskit/editor-plugin-card 11.1.1 → 11.2.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 +14 -0
- package/dist/cjs/ui/toolbar.js +2 -2
- package/dist/es2019/ui/toolbar.js +2 -2
- package/dist/esm/ui/toolbar.js +2 -2
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-card
|
|
2
2
|
|
|
3
|
+
## 11.2.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 11.2.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- [`3dfc071fcc15b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3dfc071fcc15b) -
|
|
14
|
+
[ux] Repositions the preview panel button inside the floating toolbar so that it is next to the
|
|
15
|
+
open in new tab button
|
|
16
|
+
|
|
3
17
|
## 11.1.1
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/dist/cjs/ui/toolbar.js
CHANGED
|
@@ -384,10 +384,10 @@ var generateToolbarItems = function generateToolbarItems(state, intl, providerFa
|
|
|
384
384
|
onBlur: hoverDecoration === null || hoverDecoration === void 0 ? void 0 : hoverDecoration(node.type, false),
|
|
385
385
|
title: intl.formatMessage(_messages.default.remove),
|
|
386
386
|
onClick: withToolbarMetadata(removeCard(editorAnalyticsApi))
|
|
387
|
-
}]) : [].concat(
|
|
387
|
+
}]) : [].concat(editButtonItems, (0, _toConsumableArray2.default)([].concat((0, _toConsumableArray2.default)(getUnlinkButtonGroup(state, intl, node, inlineCard, editorAnalyticsApi, !areAllNewToolbarFlagsDisabled)), [{
|
|
388
388
|
type: 'separator',
|
|
389
389
|
fullHeight: true
|
|
390
|
-
}])), [{
|
|
390
|
+
}])), openPreviewPanelItems, [{
|
|
391
391
|
id: 'editor.link.openLink',
|
|
392
392
|
type: 'button',
|
|
393
393
|
icon: _linkExternal.default,
|
|
@@ -372,10 +372,10 @@ const generateToolbarItems = (state, intl, providerFactory, cardOptions, lpLinkP
|
|
|
372
372
|
onBlur: hoverDecoration === null || hoverDecoration === void 0 ? void 0 : hoverDecoration(node.type, false),
|
|
373
373
|
title: intl.formatMessage(commonMessages.remove),
|
|
374
374
|
onClick: withToolbarMetadata(removeCard(editorAnalyticsApi))
|
|
375
|
-
}] : [...
|
|
375
|
+
}] : [...editButtonItems, ...[...getUnlinkButtonGroup(state, intl, node, inlineCard, editorAnalyticsApi, !areAllNewToolbarFlagsDisabled), {
|
|
376
376
|
type: 'separator',
|
|
377
377
|
fullHeight: true
|
|
378
|
-
}], {
|
|
378
|
+
}], ...openPreviewPanelItems, {
|
|
379
379
|
id: 'editor.link.openLink',
|
|
380
380
|
type: 'button',
|
|
381
381
|
icon: LinkExternalIcon,
|
package/dist/esm/ui/toolbar.js
CHANGED
|
@@ -375,10 +375,10 @@ var generateToolbarItems = function generateToolbarItems(state, intl, providerFa
|
|
|
375
375
|
onBlur: hoverDecoration === null || hoverDecoration === void 0 ? void 0 : hoverDecoration(node.type, false),
|
|
376
376
|
title: intl.formatMessage(commonMessages.remove),
|
|
377
377
|
onClick: withToolbarMetadata(removeCard(editorAnalyticsApi))
|
|
378
|
-
}]) : [].concat(
|
|
378
|
+
}]) : [].concat(editButtonItems, _toConsumableArray([].concat(_toConsumableArray(getUnlinkButtonGroup(state, intl, node, inlineCard, editorAnalyticsApi, !areAllNewToolbarFlagsDisabled)), [{
|
|
379
379
|
type: 'separator',
|
|
380
380
|
fullHeight: true
|
|
381
|
-
}])), [{
|
|
381
|
+
}])), openPreviewPanelItems, [{
|
|
382
382
|
id: 'editor.link.openLink',
|
|
383
383
|
type: 'button',
|
|
384
384
|
icon: LinkExternalIcon,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-card",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.2.1",
|
|
4
4
|
"description": "Card plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@atlaskit/adf-schema": "^51.2.0",
|
|
33
33
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
34
|
-
"@atlaskit/button": "^23.
|
|
34
|
+
"@atlaskit/button": "^23.5.0",
|
|
35
35
|
"@atlaskit/custom-steps": "^0.14.0",
|
|
36
36
|
"@atlaskit/editor-card-provider": "^6.0.0",
|
|
37
37
|
"@atlaskit/editor-plugin-analytics": "^6.1.0",
|
|
@@ -41,14 +41,14 @@
|
|
|
41
41
|
"@atlaskit/editor-plugin-editor-disabled": "^6.0.0",
|
|
42
42
|
"@atlaskit/editor-plugin-editor-viewmode": "^8.0.0",
|
|
43
43
|
"@atlaskit/editor-plugin-feature-flags": "^5.0.0",
|
|
44
|
-
"@atlaskit/editor-plugin-floating-toolbar": "^8.
|
|
44
|
+
"@atlaskit/editor-plugin-floating-toolbar": "^8.2.0",
|
|
45
45
|
"@atlaskit/editor-plugin-grid": "^6.0.0",
|
|
46
|
-
"@atlaskit/editor-plugin-toolbar": "^3.
|
|
46
|
+
"@atlaskit/editor-plugin-toolbar": "^3.1.0",
|
|
47
47
|
"@atlaskit/editor-plugin-width": "^7.0.0",
|
|
48
48
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
49
49
|
"@atlaskit/editor-shared-styles": "^3.6.0",
|
|
50
50
|
"@atlaskit/frontend-utilities": "^3.2.0",
|
|
51
|
-
"@atlaskit/icon": "^28.
|
|
51
|
+
"@atlaskit/icon": "^28.4.0",
|
|
52
52
|
"@atlaskit/link": "^3.2.0",
|
|
53
53
|
"@atlaskit/link-analytics": "^11.0.0",
|
|
54
54
|
"@atlaskit/link-client-extension": "^6.0.0",
|
|
@@ -59,9 +59,9 @@
|
|
|
59
59
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
60
60
|
"@atlaskit/platform-feature-flags-react": "^0.3.0",
|
|
61
61
|
"@atlaskit/primitives": "^14.15.0",
|
|
62
|
-
"@atlaskit/smart-card": "^
|
|
62
|
+
"@atlaskit/smart-card": "^43.0.0",
|
|
63
63
|
"@atlaskit/theme": "^21.0.0",
|
|
64
|
-
"@atlaskit/tmp-editor-statsig": "^13.
|
|
64
|
+
"@atlaskit/tmp-editor-statsig": "^13.2.0",
|
|
65
65
|
"@atlaskit/tokens": "^6.4.0",
|
|
66
66
|
"@babel/runtime": "^7.0.0",
|
|
67
67
|
"@emotion/react": "^11.7.1",
|