@atlaskit/editor-plugin-card 4.6.2 → 5.0.0

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,46 @@
1
1
  # @atlaskit/editor-plugin-card
2
2
 
3
+ ## 5.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - [#117363](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/117363)
8
+ [`10a0f7f6c2027`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/10a0f7f6c2027) -
9
+ This package's `peerDependencies` have been adjusted for `react` and/or `react-dom` to reflect the
10
+ status of only supporting React 18 going forward. No explicit breaking change to React support has
11
+ been made in this release, but this is to signify going forward, breaking changes for React 16 or
12
+ React 17 may come via non-major semver releases.
13
+
14
+ Please refer this community post for more details:
15
+ https://community.developer.atlassian.com/t/rfc-78-dropping-support-for-react-16-and-rendering-in-a-react-18-concurrent-root-in-jira-and-confluence/87026
16
+
17
+ ### Patch Changes
18
+
19
+ - Updated dependencies
20
+
21
+ ## 4.6.5
22
+
23
+ ### Patch Changes
24
+
25
+ - Updated dependencies
26
+
27
+ ## 4.6.4
28
+
29
+ ### Patch Changes
30
+
31
+ - Updated dependencies
32
+
33
+ ## 4.6.3
34
+
35
+ ### Patch Changes
36
+
37
+ - [#114033](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/114033)
38
+ [`bd8a7551ac410`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/bd8a7551ac410) -
39
+ EDM-11641 Check SL tokens editor & renderer, fix icon
40
+ - [#114033](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/114033)
41
+ [`6ca32524df553`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6ca32524df553) -
42
+ EDM-11641 Smart links token migration smart card toolbarwq
43
+
3
44
  ## 4.6.2
4
45
 
5
46
  ### Patch Changes
@@ -306,7 +306,6 @@ var generateToolbarItems = function generateToolbarItems(state, intl, providerFa
306
306
  type: 'separator'
307
307
  }], (0, _toConsumableArray2.default)(getUnlinkButtonGroup(state, intl, node, inlineCard, editorAnalyticsApi)), [{
308
308
  type: 'copy-button',
309
- supportsViewMode: !(0, _platformFeatureFlags.fg)('platform_editor_remove_copy_button_from_view_mode'),
310
309
  items: [{
311
310
  state: state,
312
311
  formatMessage: intl.formatMessage,
@@ -298,7 +298,6 @@ const generateToolbarItems = (state, intl, providerFactory, cardOptions, lpLinkP
298
298
  type: 'separator'
299
299
  }, ...getUnlinkButtonGroup(state, intl, node, inlineCard, editorAnalyticsApi), {
300
300
  type: 'copy-button',
301
- supportsViewMode: !fg('platform_editor_remove_copy_button_from_view_mode'),
302
301
  items: [{
303
302
  state,
304
303
  formatMessage: intl.formatMessage,
@@ -296,7 +296,6 @@ var generateToolbarItems = function generateToolbarItems(state, intl, providerFa
296
296
  type: 'separator'
297
297
  }], _toConsumableArray(getUnlinkButtonGroup(state, intl, node, inlineCard, editorAnalyticsApi)), [{
298
298
  type: 'copy-button',
299
- supportsViewMode: !fg('platform_editor_remove_copy_button_from_view_mode'),
300
299
  items: [{
301
300
  state: state,
302
301
  formatMessage: intl.formatMessage,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-card",
3
- "version": "4.6.2",
3
+ "version": "5.0.0",
4
4
  "description": "Card plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -32,35 +32,35 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@atlaskit/adf-schema": "^47.2.1",
35
- "@atlaskit/analytics-next": "^10.3.0",
35
+ "@atlaskit/analytics-next": "^11.0.0",
36
36
  "@atlaskit/custom-steps": "^0.10.0",
37
- "@atlaskit/editor-common": "^99.14.0",
38
- "@atlaskit/editor-plugin-analytics": "^1.12.0",
37
+ "@atlaskit/editor-common": "^100.0.0",
38
+ "@atlaskit/editor-plugin-analytics": "^2.0.0",
39
39
  "@atlaskit/editor-plugin-base": "^2.2.0",
40
- "@atlaskit/editor-plugin-connectivity": "^1.3.0",
41
- "@atlaskit/editor-plugin-decorations": "^1.5.0",
42
- "@atlaskit/editor-plugin-editor-disabled": "^1.5.0",
43
- "@atlaskit/editor-plugin-editor-viewmode": "^2.2.0",
40
+ "@atlaskit/editor-plugin-connectivity": "^2.0.0",
41
+ "@atlaskit/editor-plugin-decorations": "^2.0.0",
42
+ "@atlaskit/editor-plugin-editor-disabled": "^2.0.0",
43
+ "@atlaskit/editor-plugin-editor-viewmode": "^3.0.0",
44
44
  "@atlaskit/editor-plugin-feature-flags": "^1.3.0",
45
- "@atlaskit/editor-plugin-floating-toolbar": "^1.17.0",
46
- "@atlaskit/editor-plugin-grid": "^1.4.0",
47
- "@atlaskit/editor-plugin-width": "^2.1.0",
45
+ "@atlaskit/editor-plugin-floating-toolbar": "^2.0.0",
46
+ "@atlaskit/editor-plugin-grid": "^2.0.0",
47
+ "@atlaskit/editor-plugin-width": "^3.0.0",
48
48
  "@atlaskit/editor-prosemirror": "7.0.0",
49
- "@atlaskit/editor-shared-styles": "^3.2.0",
50
- "@atlaskit/frontend-utilities": "^2.9.0",
51
- "@atlaskit/icon": "^23.9.0",
52
- "@atlaskit/link-analytics": "^8.7.0",
53
- "@atlaskit/link-client-extension": "^3.1.0",
54
- "@atlaskit/link-datasource": "^3.19.0",
55
- "@atlaskit/linking-common": "^6.3.0",
49
+ "@atlaskit/editor-shared-styles": "^3.3.0",
50
+ "@atlaskit/frontend-utilities": "^3.0.0",
51
+ "@atlaskit/icon": "^24.0.0",
52
+ "@atlaskit/link-analytics": "^9.0.0",
53
+ "@atlaskit/link-client-extension": "^4.0.0",
54
+ "@atlaskit/link-datasource": "^3.21.0",
55
+ "@atlaskit/linking-common": "^8.0.0",
56
56
  "@atlaskit/linking-types": "^9.6.0",
57
- "@atlaskit/menu": "2.14.3",
58
- "@atlaskit/platform-feature-flags": "^1.0.0",
59
- "@atlaskit/primitives": "^13.5.0",
60
- "@atlaskit/smart-card": "^34.10.0",
61
- "@atlaskit/theme": "^15.0.0",
62
- "@atlaskit/tmp-editor-statsig": "^2.46.0",
63
- "@atlaskit/tokens": "^3.3.0",
57
+ "@atlaskit/menu": "3.0.0",
58
+ "@atlaskit/platform-feature-flags": "^1.1.0",
59
+ "@atlaskit/primitives": "^14.0.0",
60
+ "@atlaskit/smart-card": "^35.0.0",
61
+ "@atlaskit/theme": "^17.0.0",
62
+ "@atlaskit/tmp-editor-statsig": "^3.0.0",
63
+ "@atlaskit/tokens": "^4.0.0",
64
64
  "@babel/runtime": "^7.0.0",
65
65
  "@emotion/react": "^11.7.1",
66
66
  "lodash": "^4.17.21",
@@ -69,8 +69,8 @@
69
69
  "uuid": "^3.1.0"
70
70
  },
71
71
  "peerDependencies": {
72
- "@atlaskit/link-provider": "^1.17.0",
73
- "react": "^16.8.0 || ^17.0.0 || ^18.0.0",
72
+ "@atlaskit/link-provider": "^2.0.0",
73
+ "react": "^18.2.0",
74
74
  "react-intl-next": "npm:react-intl@^5.18.1"
75
75
  },
76
76
  "devDependencies": {
@@ -128,9 +128,6 @@
128
128
  "platform_editor_ssr_fix_smartlinks": {
129
129
  "type": "boolean"
130
130
  },
131
- "platform_editor_remove_copy_button_from_view_mode": {
132
- "type": "boolean"
133
- },
134
131
  "platform_inline_node_as_valid_annotation_selection": {
135
132
  "type": "boolean"
136
133
  },