@atlaskit/editor-plugin-panel 3.3.2 → 4.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,33 @@
1
1
  # @atlaskit/editor-plugin-panel
2
2
 
3
+ ## 4.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
+ ## 3.3.3
22
+
23
+ ### Patch Changes
24
+
25
+ - [#115259](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/115259)
26
+ [`a3150808f308a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a3150808f308a) -
27
+ Add new forceStaticToolbar config option to floating toolbar and add it to panel and table. Add
28
+ new contextual toolbar plugin which controls expand and collapse logic for toolbar options.
29
+ - Updated dependencies
30
+
3
31
  ## 3.3.2
4
32
 
5
33
  ### Patch Changes
@@ -304,7 +304,8 @@ var getToolbarConfig = exports.getToolbarConfig = function getToolbarConfig(stat
304
304
  nodeType: nodeType,
305
305
  items: items,
306
306
  scrollable: true,
307
- groupLabel: formatMessage(_messages.panelMessages.panelsGroup)
307
+ groupLabel: formatMessage(_messages.panelMessages.panelsGroup),
308
+ forceStaticToolbar: true
308
309
  };
309
310
  }
310
311
  return;
@@ -288,7 +288,8 @@ export const getToolbarConfig = (state, intl, options = {}, providerFactory, api
288
288
  nodeType,
289
289
  items,
290
290
  scrollable: true,
291
- groupLabel: formatMessage(messages.panelsGroup)
291
+ groupLabel: formatMessage(messages.panelsGroup),
292
+ forceStaticToolbar: true
292
293
  };
293
294
  }
294
295
  return;
@@ -294,7 +294,8 @@ export var getToolbarConfig = function getToolbarConfig(state, intl) {
294
294
  nodeType: nodeType,
295
295
  items: items,
296
296
  scrollable: true,
297
- groupLabel: formatMessage(messages.panelsGroup)
297
+ groupLabel: formatMessage(messages.panelsGroup),
298
+ forceStaticToolbar: true
298
299
  };
299
300
  }
300
301
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-panel",
3
- "version": "3.3.2",
3
+ "version": "4.0.0",
4
4
  "description": "Panel plugin for @atlaskit/editor-core.",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -32,24 +32,24 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@atlaskit/adf-schema": "^47.2.1",
35
- "@atlaskit/editor-common": "^99.17.0",
36
- "@atlaskit/editor-palette": "1.7.0",
37
- "@atlaskit/editor-plugin-analytics": "^1.12.0",
38
- "@atlaskit/editor-plugin-decorations": "^1.5.0",
39
- "@atlaskit/editor-plugin-emoji": "^2.9.0",
35
+ "@atlaskit/editor-common": "^100.0.0",
36
+ "@atlaskit/editor-palette": "2.0.0",
37
+ "@atlaskit/editor-plugin-analytics": "^2.0.0",
38
+ "@atlaskit/editor-plugin-decorations": "^2.0.0",
39
+ "@atlaskit/editor-plugin-emoji": "^3.0.0",
40
40
  "@atlaskit/editor-prosemirror": "7.0.0",
41
41
  "@atlaskit/editor-shared-styles": "^3.3.0",
42
- "@atlaskit/emoji": "^67.14.0",
43
- "@atlaskit/icon": "^23.9.0",
42
+ "@atlaskit/emoji": "^68.0.0",
43
+ "@atlaskit/icon": "^24.0.0",
44
44
  "@atlaskit/platform-feature-flags": "^1.1.0",
45
- "@atlaskit/theme": "^16.0.0",
46
- "@atlaskit/tmp-editor-statsig": "^2.46.0",
45
+ "@atlaskit/theme": "^17.0.0",
46
+ "@atlaskit/tmp-editor-statsig": "^3.0.0",
47
47
  "@babel/runtime": "^7.0.0",
48
48
  "uuid": "^3.1.0"
49
49
  },
50
50
  "peerDependencies": {
51
- "react": "^16.8.0 || ^17.0.0 || ~18.2.0",
52
- "react-dom": "^16.8.0 || ^17.0.0 || ^18.2.0",
51
+ "react": "^18.2.0",
52
+ "react-dom": "^18.2.0",
53
53
  "react-intl-next": "npm:react-intl@^5.18.1"
54
54
  },
55
55
  "devDependencies": {