@atlaskit/editor-plugin-hyperlink 2.0.4 → 2.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 +9 -0
- package/dist/cjs/Toolbar.js +2 -2
- package/dist/es2019/Toolbar.js +2 -2
- package/dist/esm/Toolbar.js +2 -2
- package/package.json +83 -101
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-hyperlink
|
|
2
2
|
|
|
3
|
+
## 2.0.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#110890](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/110890)
|
|
8
|
+
[`a0ec52861fce2`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a0ec52861fce2) -
|
|
9
|
+
[ux] Fixed a duplicate separator showing in the floating toolbar.
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
3
12
|
## 2.0.4
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
package/dist/cjs/Toolbar.js
CHANGED
|
@@ -164,10 +164,10 @@ var getToolbarConfig = exports.getToolbarConfig = function getToolbarConfig(opti
|
|
|
164
164
|
title: editLink,
|
|
165
165
|
showTitle: true,
|
|
166
166
|
metadata: metadata
|
|
167
|
+
}, {
|
|
168
|
+
type: 'separator'
|
|
167
169
|
}];
|
|
168
170
|
var items = [].concat((0, _toConsumableArray2.default)(startingToolbarItems), [{
|
|
169
|
-
type: 'separator'
|
|
170
|
-
}, {
|
|
171
171
|
id: 'editor.link.openLink',
|
|
172
172
|
testId: 'editor.link.openLink',
|
|
173
173
|
type: 'button',
|
package/dist/es2019/Toolbar.js
CHANGED
|
@@ -148,10 +148,10 @@ export const getToolbarConfig = (options, pluginInjectionApi) => (state, intl, p
|
|
|
148
148
|
title: editLink,
|
|
149
149
|
showTitle: true,
|
|
150
150
|
metadata: metadata
|
|
151
|
+
}, {
|
|
152
|
+
type: 'separator'
|
|
151
153
|
}];
|
|
152
154
|
const items = [...startingToolbarItems, {
|
|
153
|
-
type: 'separator'
|
|
154
|
-
}, {
|
|
155
155
|
id: 'editor.link.openLink',
|
|
156
156
|
testId: 'editor.link.openLink',
|
|
157
157
|
type: 'button',
|
package/dist/esm/Toolbar.js
CHANGED
|
@@ -156,10 +156,10 @@ export var getToolbarConfig = function getToolbarConfig(options, pluginInjection
|
|
|
156
156
|
title: editLink,
|
|
157
157
|
showTitle: true,
|
|
158
158
|
metadata: metadata
|
|
159
|
+
}, {
|
|
160
|
+
type: 'separator'
|
|
159
161
|
}];
|
|
160
162
|
var items = [].concat(_toConsumableArray(startingToolbarItems), [{
|
|
161
|
-
type: 'separator'
|
|
162
|
-
}, {
|
|
163
163
|
id: 'editor.link.openLink',
|
|
164
164
|
testId: 'editor.link.openLink',
|
|
165
165
|
type: 'button',
|
package/package.json
CHANGED
|
@@ -1,102 +1,84 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
"lite-mode"
|
|
86
|
-
],
|
|
87
|
-
"deprecation": "no-deprecated-imports",
|
|
88
|
-
"styling": [
|
|
89
|
-
"emotion",
|
|
90
|
-
"emotion"
|
|
91
|
-
]
|
|
92
|
-
}
|
|
93
|
-
},
|
|
94
|
-
"platform-feature-flags": {
|
|
95
|
-
"platform.linking-platform.prevent-suspicious-linkification": {
|
|
96
|
-
"type": "boolean"
|
|
97
|
-
},
|
|
98
|
-
"platform.editor.card.inject-settings-button": {
|
|
99
|
-
"type": "boolean"
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
}
|
|
2
|
+
"name": "@atlaskit/editor-plugin-hyperlink",
|
|
3
|
+
"version": "2.0.5",
|
|
4
|
+
"description": "Hyperlink plugin for @atlaskit/editor-core",
|
|
5
|
+
"author": "Atlassian Pty Ltd",
|
|
6
|
+
"license": "Apache-2.0",
|
|
7
|
+
"publishConfig": {
|
|
8
|
+
"registry": "https://registry.npmjs.org/"
|
|
9
|
+
},
|
|
10
|
+
"atlassian": {
|
|
11
|
+
"team": "Editor: Media Experience Porygon",
|
|
12
|
+
"singleton": true,
|
|
13
|
+
"releaseModel": "continuous",
|
|
14
|
+
"runReact18": false
|
|
15
|
+
},
|
|
16
|
+
"repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
|
|
17
|
+
"main": "dist/cjs/index.js",
|
|
18
|
+
"module": "dist/esm/index.js",
|
|
19
|
+
"module:es2019": "dist/es2019/index.js",
|
|
20
|
+
"types": "dist/types/index.d.ts",
|
|
21
|
+
"typesVersions": {
|
|
22
|
+
">=4.5 <4.9": {
|
|
23
|
+
"*": ["dist/types-ts4.5/*", "dist/types-ts4.5/index.d.ts"]
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"sideEffects": false,
|
|
27
|
+
"atlaskit:src": "src/index.ts",
|
|
28
|
+
"af:exports": {
|
|
29
|
+
".": "./src/index.ts"
|
|
30
|
+
},
|
|
31
|
+
"dependencies": {
|
|
32
|
+
"@atlaskit/adf-schema": "^36.10.7",
|
|
33
|
+
"@atlaskit/analytics-next": "^9.3.0",
|
|
34
|
+
"@atlaskit/editor-common": "^82.6.0",
|
|
35
|
+
"@atlaskit/editor-plugin-analytics": "^1.2.0",
|
|
36
|
+
"@atlaskit/editor-plugin-card": "2.0.5",
|
|
37
|
+
"@atlaskit/editor-prosemirror": "4.0.1",
|
|
38
|
+
"@atlaskit/icon": "^22.3.0",
|
|
39
|
+
"@atlaskit/platform-feature-flags": "^0.2.5",
|
|
40
|
+
"@atlaskit/prosemirror-input-rules": "^3.1.0",
|
|
41
|
+
"@babel/runtime": "^7.0.0",
|
|
42
|
+
"uuid": "^3.1.0"
|
|
43
|
+
},
|
|
44
|
+
"peerDependencies": {
|
|
45
|
+
"react": "^16.8.0",
|
|
46
|
+
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
47
|
+
},
|
|
48
|
+
"devDependencies": {
|
|
49
|
+
"@atlaskit/activity-provider": "^2.4.0",
|
|
50
|
+
"@atlaskit/link-test-helpers": "^7.0.0",
|
|
51
|
+
"@atlaskit/media-test-helpers": "^33.0.0",
|
|
52
|
+
"@atlaskit/ssr": "*",
|
|
53
|
+
"@atlaskit/util-data-test": "^17.9.0",
|
|
54
|
+
"@atlaskit/visual-regression": "*",
|
|
55
|
+
"@testing-library/react": "^12.1.5",
|
|
56
|
+
"raf-stub": "^2.0.1",
|
|
57
|
+
"react-dom": "^16.8.0",
|
|
58
|
+
"typescript": "~5.4.2",
|
|
59
|
+
"wait-for-expect": "^1.2.0"
|
|
60
|
+
},
|
|
61
|
+
"techstack": {
|
|
62
|
+
"@atlassian/frontend": {
|
|
63
|
+
"import-structure": ["atlassian-conventions"],
|
|
64
|
+
"circular-dependencies": ["file-and-folder-level"]
|
|
65
|
+
},
|
|
66
|
+
"@repo/internal": {
|
|
67
|
+
"dom-events": "use-bind-event-listener",
|
|
68
|
+
"analytics": ["analytics-next"],
|
|
69
|
+
"design-tokens": ["color"],
|
|
70
|
+
"theming": ["react-context"],
|
|
71
|
+
"ui-components": ["lite-mode"],
|
|
72
|
+
"deprecation": "no-deprecated-imports",
|
|
73
|
+
"styling": ["emotion", "emotion"]
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"platform-feature-flags": {
|
|
77
|
+
"platform.linking-platform.prevent-suspicious-linkification": {
|
|
78
|
+
"type": "boolean"
|
|
79
|
+
},
|
|
80
|
+
"platform.editor.card.inject-settings-button": {
|
|
81
|
+
"type": "boolean"
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|