@atlaskit/editor-plugin-block-type 4.1.5 → 4.2.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,25 @@
1
1
  # @atlaskit/editor-plugin-block-type
2
2
 
3
+ ## 4.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#109060](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/109060)
8
+ [`4660ec858a305`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4660ec858a305) -
9
+ Update `React` from v16 to v18
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
15
+ ## 4.1.6
16
+
17
+ ### Patch Changes
18
+
19
+ - [#107473](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/107473)
20
+ [`962b3297548df`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/962b3297548df) -
21
+ [ux] Implement variation 2 for editor contextual toolbar formatting experiment
22
+
3
23
  ## 4.1.5
4
24
 
5
25
  ### Patch Changes
@@ -207,6 +207,8 @@ var blockTypePlugin = exports.blockTypePlugin = function blockTypePlugin(_ref3)
207
207
  selectionToolbar: function selectionToolbar() {
208
208
  if ((0, _experiments.editorExperiment)('contextual_formatting_toolbar', true, {
209
209
  exposure: true
210
+ }) || (0, _experiments.editorExperiment)('platform_editor_contextual_formatting_toolbar_v2', 'variant1', {
211
+ exposure: true
210
212
  }) || (0, _experiments.editorExperiment)('platform_editor_contextual_formatting_toolbar_v2', 'variant2', {
211
213
  exposure: true
212
214
  })) {
@@ -197,6 +197,8 @@ const blockTypePlugin = ({
197
197
  selectionToolbar: () => {
198
198
  if (editorExperiment('contextual_formatting_toolbar', true, {
199
199
  exposure: true
200
+ }) || editorExperiment('platform_editor_contextual_formatting_toolbar_v2', 'variant1', {
201
+ exposure: true
200
202
  }) || editorExperiment('platform_editor_contextual_formatting_toolbar_v2', 'variant2', {
201
203
  exposure: true
202
204
  })) {
@@ -200,6 +200,8 @@ var blockTypePlugin = function blockTypePlugin(_ref3) {
200
200
  selectionToolbar: function selectionToolbar() {
201
201
  if (editorExperiment('contextual_formatting_toolbar', true, {
202
202
  exposure: true
203
+ }) || editorExperiment('platform_editor_contextual_formatting_toolbar_v2', 'variant1', {
204
+ exposure: true
203
205
  }) || editorExperiment('platform_editor_contextual_formatting_toolbar_v2', 'variant2', {
204
206
  exposure: true
205
207
  })) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-block-type",
3
- "version": "4.1.5",
3
+ "version": "4.2.0",
4
4
  "description": "BlockType plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -34,19 +34,19 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@atlaskit/adf-schema": "^46.1.0",
37
- "@atlaskit/editor-common": "^99.5.0",
37
+ "@atlaskit/editor-common": "^99.6.0",
38
38
  "@atlaskit/editor-plugin-analytics": "^1.11.0",
39
39
  "@atlaskit/editor-plugin-primary-toolbar": "^2.1.0",
40
40
  "@atlaskit/editor-prosemirror": "6.2.1",
41
41
  "@atlaskit/editor-shared-styles": "^3.2.0",
42
42
  "@atlaskit/editor-tables": "^2.8.0",
43
- "@atlaskit/icon": "^23.4.0",
43
+ "@atlaskit/icon": "^23.5.0",
44
44
  "@atlaskit/platform-feature-flags": "^0.3.0",
45
- "@atlaskit/primitives": "^13.3.0",
45
+ "@atlaskit/primitives": "^13.4.0",
46
46
  "@atlaskit/prosemirror-input-rules": "^3.2.0",
47
- "@atlaskit/theme": "^14.0.0",
47
+ "@atlaskit/theme": "^14.1.0",
48
48
  "@atlaskit/tmp-editor-statsig": "^2.41.0",
49
- "@atlaskit/tokens": "^3.2.0",
49
+ "@atlaskit/tokens": "^3.3.0",
50
50
  "@babel/runtime": "^7.0.0",
51
51
  "@emotion/react": "^11.7.1"
52
52
  },
@@ -57,12 +57,12 @@
57
57
  },
58
58
  "devDependencies": {
59
59
  "@af/visual-regression": "*",
60
- "@atlaskit/analytics-next": "^10.2.0",
61
- "@atlaskit/editor-plugin-quick-insert": "^1.8.0",
62
- "@atlaskit/editor-plugin-type-ahead": "^1.11.0",
60
+ "@atlaskit/analytics-next": "^10.3.0",
61
+ "@atlaskit/editor-plugin-quick-insert": "^1.9.0",
62
+ "@atlaskit/editor-plugin-type-ahead": "^1.12.0",
63
63
  "@atlaskit/ssr": "*",
64
64
  "@atlaskit/visual-regression": "*",
65
- "@testing-library/react": "^12.1.5",
65
+ "@testing-library/react": "^13.4.0",
66
66
  "@testing-library/user-event": "^14.4.3",
67
67
  "typescript": "~5.4.2",
68
68
  "wait-for-expect": "^1.2.0"