@atlaskit/editor-plugin-hyperlink 7.3.0 → 7.3.2

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 CHANGED
@@ -1,5 +1,19 @@
1
1
  # @atlaskit/editor-plugin-hyperlink
2
2
 
3
+ ## 7.3.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [`1c474ad18f3ac`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1c474ad18f3ac) -
8
+ [ED-28566] Clean up platform_editor_controls_patch_15
9
+ - Updated dependencies
10
+
11
+ ## 7.3.1
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 7.3.0
4
18
 
5
19
  ### Minor Changes
@@ -25,7 +25,6 @@ var _utils2 = require("@atlaskit/editor-prosemirror/utils");
25
25
  var _edit = _interopRequireDefault(require("@atlaskit/icon/core/edit"));
26
26
  var _linkBrokenEditorUnlink = _interopRequireDefault(require("@atlaskit/icon/core/migration/link-broken--editor-unlink"));
27
27
  var _linkExternalShortcut = _interopRequireDefault(require("@atlaskit/icon/core/migration/link-external--shortcut"));
28
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
29
28
  var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
30
29
  var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
31
30
  var _commands = require("../../editor-commands/commands");
@@ -213,7 +212,7 @@ var getToolbarConfig = exports.getToolbarConfig = function getToolbarConfig(opti
213
212
  icon: _linkBrokenEditorUnlink.default,
214
213
  tabIndex: null
215
214
  };
216
- var items = [].concat((0, _toConsumableArray2.default)(startingToolbarItems), (0, _toConsumableArray2.default)(areAnyNewToolbarFlagsEnabled && (0, _platformFeatureFlags.fg)('platform_editor_controls_patch_15') ? [unlinkButton, {
215
+ var items = [].concat((0, _toConsumableArray2.default)(startingToolbarItems), (0, _toConsumableArray2.default)(areAnyNewToolbarFlagsEnabled ? [unlinkButton, {
217
216
  type: 'separator',
218
217
  fullHeight: true
219
218
  }, openLinkButton, {
@@ -14,7 +14,6 @@ import { findDomRefAtPos } from '@atlaskit/editor-prosemirror/utils';
14
14
  import EditIcon from '@atlaskit/icon/core/edit';
15
15
  import LinkBrokenIcon from '@atlaskit/icon/core/migration/link-broken--editor-unlink';
16
16
  import LinkExternalIcon from '@atlaskit/icon/core/migration/link-external--shortcut';
17
- import { fg } from '@atlaskit/platform-feature-flags';
18
17
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
19
18
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
20
19
  import { editInsertedLink, insertLinkWithAnalytics, onClickAwayCallback, onEscapeCallback, removeLink, updateLink } from '../../editor-commands/commands';
@@ -198,7 +197,7 @@ export const getToolbarConfig = (options, pluginInjectionApi) => (state, intl, p
198
197
  icon: LinkBrokenIcon,
199
198
  tabIndex: null
200
199
  };
201
- const items = [...startingToolbarItems, ...(areAnyNewToolbarFlagsEnabled && fg('platform_editor_controls_patch_15') ? [unlinkButton, {
200
+ const items = [...startingToolbarItems, ...(areAnyNewToolbarFlagsEnabled ? [unlinkButton, {
202
201
  type: 'separator',
203
202
  fullHeight: true
204
203
  }, openLinkButton, {
@@ -18,7 +18,6 @@ import { findDomRefAtPos } from '@atlaskit/editor-prosemirror/utils';
18
18
  import EditIcon from '@atlaskit/icon/core/edit';
19
19
  import LinkBrokenIcon from '@atlaskit/icon/core/migration/link-broken--editor-unlink';
20
20
  import LinkExternalIcon from '@atlaskit/icon/core/migration/link-external--shortcut';
21
- import { fg } from '@atlaskit/platform-feature-flags';
22
21
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
23
22
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
24
23
  import { editInsertedLink, insertLinkWithAnalytics, onClickAwayCallback, onEscapeCallback, removeLink, updateLink } from '../../editor-commands/commands';
@@ -204,7 +203,7 @@ export var getToolbarConfig = function getToolbarConfig(options, pluginInjection
204
203
  icon: LinkBrokenIcon,
205
204
  tabIndex: null
206
205
  };
207
- var items = [].concat(_toConsumableArray(startingToolbarItems), _toConsumableArray(areAnyNewToolbarFlagsEnabled && fg('platform_editor_controls_patch_15') ? [unlinkButton, {
206
+ var items = [].concat(_toConsumableArray(startingToolbarItems), _toConsumableArray(areAnyNewToolbarFlagsEnabled ? [unlinkButton, {
208
207
  type: 'separator',
209
208
  fullHeight: true
210
209
  }, openLinkButton, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-hyperlink",
3
- "version": "7.3.0",
3
+ "version": "7.3.2",
4
4
  "description": "Hyperlink plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -40,18 +40,18 @@
40
40
  "@atlaskit/editor-plugin-toolbar": "^2.1.0",
41
41
  "@atlaskit/editor-plugin-user-intent": "^3.0.0",
42
42
  "@atlaskit/editor-prosemirror": "7.0.0",
43
- "@atlaskit/editor-toolbar": "^0.8.0",
43
+ "@atlaskit/editor-toolbar": "^0.9.0",
44
44
  "@atlaskit/editor-toolbar-model": "^0.2.0",
45
- "@atlaskit/icon": "^28.1.0",
45
+ "@atlaskit/icon": "^28.2.0",
46
46
  "@atlaskit/platform-feature-flags": "^1.1.0",
47
47
  "@atlaskit/prosemirror-input-rules": "^3.4.0",
48
- "@atlaskit/tmp-editor-statsig": "^12.18.0",
48
+ "@atlaskit/tmp-editor-statsig": "^12.23.0",
49
49
  "@babel/runtime": "^7.0.0",
50
50
  "@emotion/react": "^11.7.1",
51
51
  "uuid": "^3.1.0"
52
52
  },
53
53
  "peerDependencies": {
54
- "@atlaskit/editor-common": "^109.5.0",
54
+ "@atlaskit/editor-common": "^109.8.0",
55
55
  "react": "^18.2.0",
56
56
  "react-dom": "^18.2.0",
57
57
  "react-intl-next": "npm:react-intl@^5.18.1"
@@ -102,9 +102,6 @@
102
102
  "platform-feature-flags": {
103
103
  "platform_editor_use_preferences_plugin": {
104
104
  "type": "boolean"
105
- },
106
- "platform_editor_controls_patch_15": {
107
- "type": "boolean"
108
105
  }
109
106
  }
110
107
  }