@atlaskit/editor-plugin-card 6.6.13 → 6.6.14
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 +9 -0
- package/dist/cjs/ui/toolbar.js +1 -2
- package/dist/es2019/ui/toolbar.js +1 -2
- package/dist/esm/ui/toolbar.js +1 -2
- package/package.json +3 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-card
|
|
2
2
|
|
|
3
|
+
## 6.6.14
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#175339](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/175339)
|
|
8
|
+
[`d4115e4055a0a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d4115e4055a0a) -
|
|
9
|
+
ED-28314 Cleanup platform_editor_controls_patch_12
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
3
12
|
## 6.6.13
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
package/dist/cjs/ui/toolbar.js
CHANGED
|
@@ -31,7 +31,6 @@ var _linkBrokenEditorUnlink = _interopRequireDefault(require("@atlaskit/icon/cor
|
|
|
31
31
|
var _linkExternalShortcut = _interopRequireDefault(require("@atlaskit/icon/core/migration/link-external--shortcut"));
|
|
32
32
|
var _settingsEditorSettings = _interopRequireDefault(require("@atlaskit/icon/core/migration/settings--editor-settings"));
|
|
33
33
|
var _settings = _interopRequireDefault(require("@atlaskit/icon/core/settings"));
|
|
34
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
35
34
|
var _expValEqualsNoExposure = require("@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure");
|
|
36
35
|
var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
|
|
37
36
|
var _doc = require("../pm-plugins/doc");
|
|
@@ -646,7 +645,7 @@ var getDatasourceButtonGroup = function getDatasourceButtonGroup(metadata, intl,
|
|
|
646
645
|
|
|
647
646
|
// When canShowAppearanceSwitch is true, and platform_editor_controls is on, the link appearance dropdown shows, which includes a link preference button
|
|
648
647
|
// So only add the link appearance button when canShowAppearanceSwitch is false
|
|
649
|
-
if (!canShowAppearanceSwitch()
|
|
648
|
+
if (!canShowAppearanceSwitch()) {
|
|
650
649
|
var linkPreferenceButton = getSettingsButton(intl, editorAnalyticsApi, cardOptions === null || cardOptions === void 0 ? void 0 : cardOptions.userPreferencesLink);
|
|
651
650
|
toolbarItems.push({
|
|
652
651
|
type: 'separator',
|
|
@@ -21,7 +21,6 @@ import UnlinkIcon from '@atlaskit/icon/core/migration/link-broken--editor-unlink
|
|
|
21
21
|
import OpenIcon from '@atlaskit/icon/core/migration/link-external--shortcut';
|
|
22
22
|
import CogIcon from '@atlaskit/icon/core/migration/settings--editor-settings';
|
|
23
23
|
import SettingsIcon from '@atlaskit/icon/core/settings';
|
|
24
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
25
24
|
import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
|
|
26
25
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
27
26
|
import { changeSelectedCardToText } from '../pm-plugins/doc';
|
|
@@ -633,7 +632,7 @@ const getDatasourceButtonGroup = (metadata, intl, editorAnalyticsApi, node, hove
|
|
|
633
632
|
|
|
634
633
|
// When canShowAppearanceSwitch is true, and platform_editor_controls is on, the link appearance dropdown shows, which includes a link preference button
|
|
635
634
|
// So only add the link appearance button when canShowAppearanceSwitch is false
|
|
636
|
-
if (!canShowAppearanceSwitch()
|
|
635
|
+
if (!canShowAppearanceSwitch()) {
|
|
637
636
|
const linkPreferenceButton = getSettingsButton(intl, editorAnalyticsApi, cardOptions === null || cardOptions === void 0 ? void 0 : cardOptions.userPreferencesLink);
|
|
638
637
|
toolbarItems.push({
|
|
639
638
|
type: 'separator',
|
package/dist/esm/ui/toolbar.js
CHANGED
|
@@ -25,7 +25,6 @@ import UnlinkIcon from '@atlaskit/icon/core/migration/link-broken--editor-unlink
|
|
|
25
25
|
import OpenIcon from '@atlaskit/icon/core/migration/link-external--shortcut';
|
|
26
26
|
import CogIcon from '@atlaskit/icon/core/migration/settings--editor-settings';
|
|
27
27
|
import SettingsIcon from '@atlaskit/icon/core/settings';
|
|
28
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
29
28
|
import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
|
|
30
29
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
31
30
|
import { changeSelectedCardToText } from '../pm-plugins/doc';
|
|
@@ -637,7 +636,7 @@ var getDatasourceButtonGroup = function getDatasourceButtonGroup(metadata, intl,
|
|
|
637
636
|
|
|
638
637
|
// When canShowAppearanceSwitch is true, and platform_editor_controls is on, the link appearance dropdown shows, which includes a link preference button
|
|
639
638
|
// So only add the link appearance button when canShowAppearanceSwitch is false
|
|
640
|
-
if (!canShowAppearanceSwitch()
|
|
639
|
+
if (!canShowAppearanceSwitch()) {
|
|
641
640
|
var linkPreferenceButton = getSettingsButton(intl, editorAnalyticsApi, cardOptions === null || cardOptions === void 0 ? void 0 : cardOptions.userPreferencesLink);
|
|
642
641
|
toolbarItems.push({
|
|
643
642
|
type: 'separator',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-card",
|
|
3
|
-
"version": "6.6.
|
|
3
|
+
"version": "6.6.14",
|
|
4
4
|
"description": "Card plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
52
52
|
"@atlaskit/editor-shared-styles": "^3.4.0",
|
|
53
53
|
"@atlaskit/frontend-utilities": "^3.0.0",
|
|
54
|
-
"@atlaskit/icon": "^27.
|
|
54
|
+
"@atlaskit/icon": "^27.2.0",
|
|
55
55
|
"@atlaskit/link": "^3.2.0",
|
|
56
56
|
"@atlaskit/link-analytics": "^10.0.0",
|
|
57
57
|
"@atlaskit/link-client-extension": "^5.0.0",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"@atlaskit/primitives": "^14.9.0",
|
|
64
64
|
"@atlaskit/smart-card": "^38.14.0",
|
|
65
65
|
"@atlaskit/theme": "^18.0.0",
|
|
66
|
-
"@atlaskit/tmp-editor-statsig": "^8.
|
|
66
|
+
"@atlaskit/tmp-editor-statsig": "^8.2.0",
|
|
67
67
|
"@atlaskit/tokens": "^5.4.0",
|
|
68
68
|
"@babel/runtime": "^7.0.0",
|
|
69
69
|
"@emotion/react": "^11.7.1",
|
|
@@ -126,9 +126,6 @@
|
|
|
126
126
|
"platform_ssr_smartlinks_editor": {
|
|
127
127
|
"type": "boolean"
|
|
128
128
|
},
|
|
129
|
-
"platform_editor_controls_patch_12": {
|
|
130
|
-
"type": "boolean"
|
|
131
|
-
},
|
|
132
129
|
"platform_editor_fix_advanced_code_crash": {
|
|
133
130
|
"type": "boolean"
|
|
134
131
|
},
|