@atlaskit/editor-plugin-hyperlink 2.0.3 → 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 CHANGED
@@ -1,5 +1,20 @@
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
+
12
+ ## 2.0.4
13
+
14
+ ### Patch Changes
15
+
16
+ - Updated dependencies
17
+
3
18
  ## 2.0.3
4
19
 
5
20
  ### Patch Changes
@@ -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',
@@ -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',
@@ -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
- "name": "@atlaskit/editor-plugin-hyperlink",
3
- "version": "2.0.3",
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
- "*": [
24
- "dist/types-ts4.5/*",
25
- "dist/types-ts4.5/index.d.ts"
26
- ]
27
- }
28
- },
29
- "sideEffects": false,
30
- "atlaskit:src": "src/index.ts",
31
- "af:exports": {
32
- ".": "./src/index.ts"
33
- },
34
- "dependencies": {
35
- "@atlaskit/adf-schema": "^36.10.7",
36
- "@atlaskit/analytics-next": "^9.3.0",
37
- "@atlaskit/editor-common": "^82.1.0",
38
- "@atlaskit/editor-plugin-analytics": "^1.2.0",
39
- "@atlaskit/editor-plugin-card": "2.0.3",
40
- "@atlaskit/editor-prosemirror": "4.0.1",
41
- "@atlaskit/icon": "^22.3.0",
42
- "@atlaskit/platform-feature-flags": "^0.2.5",
43
- "@atlaskit/prosemirror-input-rules": "^3.1.0",
44
- "@babel/runtime": "^7.0.0",
45
- "uuid": "^3.1.0"
46
- },
47
- "peerDependencies": {
48
- "react": "^16.8.0",
49
- "react-intl-next": "npm:react-intl@^5.18.1"
50
- },
51
- "devDependencies": {
52
- "@atlaskit/activity-provider": "^2.4.0",
53
- "@atlaskit/link-test-helpers": "^7.0.0",
54
- "@atlaskit/media-test-helpers": "^33.0.0",
55
- "@atlaskit/ssr": "*",
56
- "@atlaskit/util-data-test": "^17.9.0",
57
- "@atlaskit/visual-regression": "*",
58
- "@testing-library/react": "^12.1.5",
59
- "raf-stub": "^2.0.1",
60
- "react-dom": "^16.8.0",
61
- "typescript": "~5.4.2",
62
- "wait-for-expect": "^1.2.0"
63
- },
64
- "techstack": {
65
- "@atlassian/frontend": {
66
- "import-structure": [
67
- "atlassian-conventions"
68
- ],
69
- "circular-dependencies": [
70
- "file-and-folder-level"
71
- ]
72
- },
73
- "@repo/internal": {
74
- "dom-events": "use-bind-event-listener",
75
- "analytics": [
76
- "analytics-next"
77
- ],
78
- "design-tokens": [
79
- "color"
80
- ],
81
- "theming": [
82
- "react-context"
83
- ],
84
- "ui-components": [
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
+ }