@atlaskit/editor-plugin-hyperlink 8.0.4 → 8.0.5
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,13 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-hyperlink
|
|
2
2
|
|
|
3
|
+
## 8.0.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`a3254a75cdfb7`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a3254a75cdfb7) -
|
|
8
|
+
[ED-29448] clean up experiment platform_editor_toolbar_aifc_patch_2
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 8.0.4
|
|
4
12
|
|
|
5
13
|
### Patch 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 _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
29
28
|
var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
|
|
30
29
|
var _commands = require("../../editor-commands/commands");
|
|
31
30
|
var _main = require("../../pm-plugins/main");
|
|
@@ -293,7 +292,7 @@ var getToolbarConfig = exports.getToolbarConfig = function getToolbarConfig(opti
|
|
|
293
292
|
view.focus();
|
|
294
293
|
}
|
|
295
294
|
});
|
|
296
|
-
return (0, _experiments.editorExperiment)('platform_editor_toolbar_aifc', true)
|
|
295
|
+
return (0, _experiments.editorExperiment)('platform_editor_toolbar_aifc', true) ? /*#__PURE__*/_react.default.createElement(_userIntent.UserIntentPopupWrapper, {
|
|
297
296
|
api: pluginInjectionApi
|
|
298
297
|
}, Toolbar) : Toolbar;
|
|
299
298
|
}
|
|
@@ -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 { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
18
17
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
19
18
|
import { editInsertedLink, insertLinkWithAnalytics, onClickAwayCallback, onEscapeCallback, removeLink, updateLink } from '../../editor-commands/commands';
|
|
20
19
|
import { stateKey } from '../../pm-plugins/main';
|
|
@@ -272,7 +271,7 @@ export const getToolbarConfig = (options, pluginInjectionApi) => (state, intl, p
|
|
|
272
271
|
view.focus();
|
|
273
272
|
}
|
|
274
273
|
});
|
|
275
|
-
return editorExperiment('platform_editor_toolbar_aifc', true)
|
|
274
|
+
return editorExperiment('platform_editor_toolbar_aifc', true) ? /*#__PURE__*/React.createElement(UserIntentPopupWrapper, {
|
|
276
275
|
api: pluginInjectionApi
|
|
277
276
|
}, Toolbar) : Toolbar;
|
|
278
277
|
}
|
|
@@ -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 { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
22
21
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
23
22
|
import { editInsertedLink, insertLinkWithAnalytics, onClickAwayCallback, onEscapeCallback, removeLink, updateLink } from '../../editor-commands/commands';
|
|
24
23
|
import { stateKey } from '../../pm-plugins/main';
|
|
@@ -284,7 +283,7 @@ export var getToolbarConfig = function getToolbarConfig(options, pluginInjection
|
|
|
284
283
|
view.focus();
|
|
285
284
|
}
|
|
286
285
|
});
|
|
287
|
-
return editorExperiment('platform_editor_toolbar_aifc', true)
|
|
286
|
+
return editorExperiment('platform_editor_toolbar_aifc', true) ? /*#__PURE__*/React.createElement(UserIntentPopupWrapper, {
|
|
288
287
|
api: pluginInjectionApi
|
|
289
288
|
}, Toolbar) : Toolbar;
|
|
290
289
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-hyperlink",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.5",
|
|
4
4
|
"description": "Hyperlink plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@atlaskit/icon": "^28.3.0",
|
|
46
46
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
47
47
|
"@atlaskit/prosemirror-input-rules": "^3.4.0",
|
|
48
|
-
"@atlaskit/tmp-editor-statsig": "^13.
|
|
48
|
+
"@atlaskit/tmp-editor-statsig": "^13.2.0",
|
|
49
49
|
"@babel/runtime": "^7.0.0",
|
|
50
50
|
"@emotion/react": "^11.7.1",
|
|
51
51
|
"uuid": "^3.1.0"
|