@atlaskit/editor-plugin-hyperlink 4.2.5 → 4.2.7
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 +15 -0
- package/dist/cjs/hyperlinkPlugin.js +1 -10
- package/dist/es2019/hyperlinkPlugin.js +1 -10
- package/dist/esm/hyperlinkPlugin.js +1 -10
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-hyperlink
|
|
2
2
|
|
|
3
|
+
## 4.2.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#126126](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/126126)
|
|
8
|
+
[`468f52001a847`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/468f52001a847) -
|
|
9
|
+
Tidy up contextual formatting toolbar experiment and switch to `platform_editor_controls` flag
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
12
|
+
## 4.2.6
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 4.2.5
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
@@ -193,16 +193,7 @@ var hyperlinkPlugin = exports.hyperlinkPlugin = function hyperlinkPlugin(_ref) {
|
|
|
193
193
|
selectionToolbar: function selectionToolbar(state, _ref5) {
|
|
194
194
|
var _api$selectionToolbar;
|
|
195
195
|
var formatMessage = _ref5.formatMessage;
|
|
196
|
-
if ((api === null || api === void 0 || (_api$selectionToolbar = api.selectionToolbar) === null || _api$selectionToolbar === void 0 || (_api$selectionToolbar = _api$selectionToolbar.sharedState) === null || _api$selectionToolbar === void 0 || (_api$selectionToolbar = _api$selectionToolbar.currentState()) === null || _api$selectionToolbar === void 0 ? void 0 : _api$selectionToolbar.toolbarDocking) === '
|
|
197
|
-
exposure: true
|
|
198
|
-
})) {
|
|
199
|
-
return undefined;
|
|
200
|
-
}
|
|
201
|
-
if ((0, _experiments.editorExperiment)('contextual_formatting_toolbar', true, {
|
|
202
|
-
exposure: true
|
|
203
|
-
}) || (0, _experiments.editorExperiment)('platform_editor_contextual_formatting_toolbar_v2', 'variant1', {
|
|
204
|
-
exposure: true
|
|
205
|
-
}) || (0, _experiments.editorExperiment)('platform_editor_contextual_formatting_toolbar_v2', 'variant2', {
|
|
196
|
+
if ((api === null || api === void 0 || (_api$selectionToolbar = api.selectionToolbar) === null || _api$selectionToolbar === void 0 || (_api$selectionToolbar = _api$selectionToolbar.sharedState) === null || _api$selectionToolbar === void 0 || (_api$selectionToolbar = _api$selectionToolbar.currentState()) === null || _api$selectionToolbar === void 0 ? void 0 : _api$selectionToolbar.toolbarDocking) === 'none' && (0, _experiments.editorExperiment)('platform_editor_controls', 'variant1', {
|
|
206
197
|
exposure: true
|
|
207
198
|
})) {
|
|
208
199
|
var toolbarButton = function toolbarButton() {
|
|
@@ -174,16 +174,7 @@ export const hyperlinkPlugin = ({
|
|
|
174
174
|
formatMessage
|
|
175
175
|
}) => {
|
|
176
176
|
var _api$selectionToolbar, _api$selectionToolbar2, _api$selectionToolbar3;
|
|
177
|
-
if ((api === null || api === void 0 ? void 0 : (_api$selectionToolbar = api.selectionToolbar) === null || _api$selectionToolbar === void 0 ? void 0 : (_api$selectionToolbar2 = _api$selectionToolbar.sharedState) === null || _api$selectionToolbar2 === void 0 ? void 0 : (_api$selectionToolbar3 = _api$selectionToolbar2.currentState()) === null || _api$selectionToolbar3 === void 0 ? void 0 : _api$selectionToolbar3.toolbarDocking) === '
|
|
178
|
-
exposure: true
|
|
179
|
-
})) {
|
|
180
|
-
return undefined;
|
|
181
|
-
}
|
|
182
|
-
if (editorExperiment('contextual_formatting_toolbar', true, {
|
|
183
|
-
exposure: true
|
|
184
|
-
}) || editorExperiment('platform_editor_contextual_formatting_toolbar_v2', 'variant1', {
|
|
185
|
-
exposure: true
|
|
186
|
-
}) || editorExperiment('platform_editor_contextual_formatting_toolbar_v2', 'variant2', {
|
|
177
|
+
if ((api === null || api === void 0 ? void 0 : (_api$selectionToolbar = api.selectionToolbar) === null || _api$selectionToolbar === void 0 ? void 0 : (_api$selectionToolbar2 = _api$selectionToolbar.sharedState) === null || _api$selectionToolbar2 === void 0 ? void 0 : (_api$selectionToolbar3 = _api$selectionToolbar2.currentState()) === null || _api$selectionToolbar3 === void 0 ? void 0 : _api$selectionToolbar3.toolbarDocking) === 'none' && editorExperiment('platform_editor_controls', 'variant1', {
|
|
187
178
|
exposure: true
|
|
188
179
|
})) {
|
|
189
180
|
const toolbarButton = () => {
|
|
@@ -186,16 +186,7 @@ export var hyperlinkPlugin = function hyperlinkPlugin(_ref) {
|
|
|
186
186
|
selectionToolbar: function selectionToolbar(state, _ref5) {
|
|
187
187
|
var _api$selectionToolbar;
|
|
188
188
|
var formatMessage = _ref5.formatMessage;
|
|
189
|
-
if ((api === null || api === void 0 || (_api$selectionToolbar = api.selectionToolbar) === null || _api$selectionToolbar === void 0 || (_api$selectionToolbar = _api$selectionToolbar.sharedState) === null || _api$selectionToolbar === void 0 || (_api$selectionToolbar = _api$selectionToolbar.currentState()) === null || _api$selectionToolbar === void 0 ? void 0 : _api$selectionToolbar.toolbarDocking) === '
|
|
190
|
-
exposure: true
|
|
191
|
-
})) {
|
|
192
|
-
return undefined;
|
|
193
|
-
}
|
|
194
|
-
if (editorExperiment('contextual_formatting_toolbar', true, {
|
|
195
|
-
exposure: true
|
|
196
|
-
}) || editorExperiment('platform_editor_contextual_formatting_toolbar_v2', 'variant1', {
|
|
197
|
-
exposure: true
|
|
198
|
-
}) || editorExperiment('platform_editor_contextual_formatting_toolbar_v2', 'variant2', {
|
|
189
|
+
if ((api === null || api === void 0 || (_api$selectionToolbar = api.selectionToolbar) === null || _api$selectionToolbar === void 0 || (_api$selectionToolbar = _api$selectionToolbar.sharedState) === null || _api$selectionToolbar === void 0 || (_api$selectionToolbar = _api$selectionToolbar.currentState()) === null || _api$selectionToolbar === void 0 ? void 0 : _api$selectionToolbar.toolbarDocking) === 'none' && editorExperiment('platform_editor_controls', 'variant1', {
|
|
199
190
|
exposure: true
|
|
200
191
|
})) {
|
|
201
192
|
var toolbarButton = function toolbarButton() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-hyperlink",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.7",
|
|
4
4
|
"description": "Hyperlink plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -35,18 +35,18 @@
|
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@atlaskit/adf-schema": "^47.6.0",
|
|
37
37
|
"@atlaskit/analytics-next": "^11.0.0",
|
|
38
|
-
"@atlaskit/editor-common": "^102.
|
|
38
|
+
"@atlaskit/editor-common": "^102.5.0",
|
|
39
39
|
"@atlaskit/editor-plugin-analytics": "^2.1.0",
|
|
40
|
-
"@atlaskit/editor-plugin-card": "^5.
|
|
40
|
+
"@atlaskit/editor-plugin-card": "^5.3.0",
|
|
41
41
|
"@atlaskit/editor-plugin-connectivity": "^2.0.0",
|
|
42
42
|
"@atlaskit/editor-plugin-editor-viewmode": "^3.0.0",
|
|
43
43
|
"@atlaskit/editor-plugin-primary-toolbar": "^3.0.0",
|
|
44
44
|
"@atlaskit/editor-plugin-selection-toolbar": "^2.0.0",
|
|
45
45
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
46
|
-
"@atlaskit/icon": "^
|
|
46
|
+
"@atlaskit/icon": "^25.0.0",
|
|
47
47
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
48
48
|
"@atlaskit/prosemirror-input-rules": "^3.3.0",
|
|
49
|
-
"@atlaskit/tmp-editor-statsig": "^3.
|
|
49
|
+
"@atlaskit/tmp-editor-statsig": "^3.6.0",
|
|
50
50
|
"@babel/runtime": "^7.0.0",
|
|
51
51
|
"@emotion/react": "^11.7.1",
|
|
52
52
|
"uuid": "^3.1.0"
|