@atlaskit/editor-plugin-hyperlink 2.9.6 → 2.9.8

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,22 @@
1
1
  # @atlaskit/editor-plugin-hyperlink
2
2
 
3
+ ## 2.9.8
4
+
5
+ ### Patch Changes
6
+
7
+ - [`1269ffa635367`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1269ffa635367) -
8
+ Cleanup FF platform_editor_get_card_provider_from_config
9
+ - Updated dependencies
10
+
11
+ ## 2.9.7
12
+
13
+ ### Patch Changes
14
+
15
+ - [#138118](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/138118)
16
+ [`5e4d9eb1aefe4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5e4d9eb1aefe4) -
17
+ NOISSUE: Upgrades editor React peer dependencies to v18
18
+ - Updated dependencies
19
+
3
20
  ## 2.9.6
4
21
 
5
22
  ### Patch Changes
@@ -156,7 +156,7 @@ var getToolbarConfig = exports.getToolbarConfig = function getToolbarConfig(opti
156
156
  metadata.title = activeLinkMark.node.text;
157
157
  }
158
158
  var cardActions = pluginInjectionApi === null || pluginInjectionApi === void 0 || (_pluginInjectionApi$c2 = pluginInjectionApi.card) === null || _pluginInjectionApi$c2 === void 0 ? void 0 : _pluginInjectionApi$c2.actions;
159
- var startingToolbarItems = (_cardActions$getStart = cardActions === null || cardActions === void 0 ? void 0 : cardActions.getStartingToolbarItems(intl, link, providerFactory, (0, _commands.editInsertedLink)(editorAnalyticsApi), metadata)) !== null && _cardActions$getStart !== void 0 ? _cardActions$getStart : [{
159
+ var startingToolbarItems = (_cardActions$getStart = cardActions === null || cardActions === void 0 ? void 0 : cardActions.getStartingToolbarItems(intl, link, (0, _commands.editInsertedLink)(editorAnalyticsApi), metadata)) !== null && _cardActions$getStart !== void 0 ? _cardActions$getStart : [{
160
160
  id: 'editor.link.edit',
161
161
  testId: 'editor.link.edit',
162
162
  type: 'button',
@@ -140,7 +140,7 @@ export const getToolbarConfig = (options, pluginInjectionApi) => (state, intl, p
140
140
  metadata.title = activeLinkMark.node.text;
141
141
  }
142
142
  const cardActions = pluginInjectionApi === null || pluginInjectionApi === void 0 ? void 0 : (_pluginInjectionApi$c2 = pluginInjectionApi.card) === null || _pluginInjectionApi$c2 === void 0 ? void 0 : _pluginInjectionApi$c2.actions;
143
- const startingToolbarItems = (_cardActions$getStart = cardActions === null || cardActions === void 0 ? void 0 : cardActions.getStartingToolbarItems(intl, link, providerFactory, editInsertedLink(editorAnalyticsApi), metadata)) !== null && _cardActions$getStart !== void 0 ? _cardActions$getStart : [{
143
+ const startingToolbarItems = (_cardActions$getStart = cardActions === null || cardActions === void 0 ? void 0 : cardActions.getStartingToolbarItems(intl, link, editInsertedLink(editorAnalyticsApi), metadata)) !== null && _cardActions$getStart !== void 0 ? _cardActions$getStart : [{
144
144
  id: 'editor.link.edit',
145
145
  testId: 'editor.link.edit',
146
146
  type: 'button',
@@ -148,7 +148,7 @@ export var getToolbarConfig = function getToolbarConfig(options, pluginInjection
148
148
  metadata.title = activeLinkMark.node.text;
149
149
  }
150
150
  var cardActions = pluginInjectionApi === null || pluginInjectionApi === void 0 || (_pluginInjectionApi$c2 = pluginInjectionApi.card) === null || _pluginInjectionApi$c2 === void 0 ? void 0 : _pluginInjectionApi$c2.actions;
151
- var startingToolbarItems = (_cardActions$getStart = cardActions === null || cardActions === void 0 ? void 0 : cardActions.getStartingToolbarItems(intl, link, providerFactory, editInsertedLink(editorAnalyticsApi), metadata)) !== null && _cardActions$getStart !== void 0 ? _cardActions$getStart : [{
151
+ var startingToolbarItems = (_cardActions$getStart = cardActions === null || cardActions === void 0 ? void 0 : cardActions.getStartingToolbarItems(intl, link, editInsertedLink(editorAnalyticsApi), metadata)) !== null && _cardActions$getStart !== void 0 ? _cardActions$getStart : [{
152
152
  id: 'editor.link.edit',
153
153
  testId: 'editor.link.edit',
154
154
  type: 'button',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-hyperlink",
3
- "version": "2.9.6",
3
+ "version": "2.9.8",
4
4
  "description": "Hyperlink plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -10,7 +10,7 @@
10
10
  "atlassian": {
11
11
  "team": "Editor: Media Experience Porygon",
12
12
  "singleton": true,
13
- "runReact18": false
13
+ "runReact18": true
14
14
  },
15
15
  "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
16
16
  "main": "dist/cjs/index.js",
@@ -33,9 +33,9 @@
33
33
  "dependencies": {
34
34
  "@atlaskit/adf-schema": "^40.9.0",
35
35
  "@atlaskit/analytics-next": "^10.1.0",
36
- "@atlaskit/editor-common": "^88.11.0",
36
+ "@atlaskit/editor-common": "^88.12.0",
37
37
  "@atlaskit/editor-plugin-analytics": "^1.8.0",
38
- "@atlaskit/editor-plugin-card": "2.15.0",
38
+ "@atlaskit/editor-plugin-card": "2.15.2",
39
39
  "@atlaskit/editor-plugin-editor-viewmode": "^2.1.0",
40
40
  "@atlaskit/editor-prosemirror": "5.0.1",
41
41
  "@atlaskit/icon": "^22.16.0",
@@ -45,8 +45,8 @@
45
45
  "uuid": "^3.1.0"
46
46
  },
47
47
  "peerDependencies": {
48
- "react": "^16.8.0",
49
- "react-dom": "^16.8.0",
48
+ "react": "^16.8.0 || ^17.0.0 || ~18.2.0",
49
+ "react-dom": "^16.8.0 || ^17.0.0 || ~18.2.0",
50
50
  "react-intl-next": "npm:react-intl@^5.18.1"
51
51
  },
52
52
  "devDependencies": {