@atlaskit/editor-plugin-block-type 3.11.0 → 3.12.1

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,29 @@
1
1
  # @atlaskit/editor-plugin-block-type
2
2
 
3
+ ## 3.12.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 3.12.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [#128347](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/128347)
14
+ [`e33566cebd5d1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e33566cebd5d1) -
15
+ [ED-24175] bump @atlaskit/adf-schema to 40.8.1 and @atlassian/adf-schema-json to 1.22.0 to
16
+ promotecodeblocks & media in quotes, and nested expands in expands to full schema, and allow
17
+ quotes in panels and decisions in lists in stage0 schema, and a validator spec change
18
+ - [#128333](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/128333)
19
+ [`4ad86751ab1d7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4ad86751ab1d7) -
20
+ [ED-24505] Implement onClick handler for Turn into dropdown options and update relevant insertion
21
+ analytics with inputMethod: floatingToolbar when an element is inserted via the dropdown
22
+
23
+ ### Patch Changes
24
+
25
+ - Updated dependencies
26
+
3
27
  ## 3.11.0
4
28
 
5
29
  ### Minor Changes
@@ -1,7 +1,7 @@
1
1
  import type { EditorAnalyticsAPI, INPUT_METHOD } from '@atlaskit/editor-common/analytics';
2
2
  import type { Command, EditorCommand, HeadingLevelsAndNormalText } from '@atlaskit/editor-common/types';
3
3
  import type { TextBlockTypes } from '../block-types';
4
- export type InputMethod = INPUT_METHOD.TOOLBAR | INPUT_METHOD.INSERT_MENU | INPUT_METHOD.SHORTCUT | INPUT_METHOD.FORMATTING | INPUT_METHOD.KEYBOARD;
4
+ export type InputMethod = INPUT_METHOD.TOOLBAR | INPUT_METHOD.INSERT_MENU | INPUT_METHOD.SHORTCUT | INPUT_METHOD.FORMATTING | INPUT_METHOD.KEYBOARD | INPUT_METHOD.FLOATING_TB;
5
5
  export declare function setBlockType(name: TextBlockTypes): EditorCommand;
6
6
  export declare function setHeading(level: HeadingLevelsAndNormalText): EditorCommand;
7
7
  export declare function setBlockTypeWithAnalytics(name: TextBlockTypes, inputMethod: InputMethod, editorAnalyticsApi: EditorAnalyticsAPI | undefined): EditorCommand;
@@ -1,7 +1,7 @@
1
1
  import type { EditorAnalyticsAPI, INPUT_METHOD } from '@atlaskit/editor-common/analytics';
2
2
  import type { Command, EditorCommand, HeadingLevelsAndNormalText } from '@atlaskit/editor-common/types';
3
3
  import type { TextBlockTypes } from '../block-types';
4
- export type InputMethod = INPUT_METHOD.TOOLBAR | INPUT_METHOD.INSERT_MENU | INPUT_METHOD.SHORTCUT | INPUT_METHOD.FORMATTING | INPUT_METHOD.KEYBOARD;
4
+ export type InputMethod = INPUT_METHOD.TOOLBAR | INPUT_METHOD.INSERT_MENU | INPUT_METHOD.SHORTCUT | INPUT_METHOD.FORMATTING | INPUT_METHOD.KEYBOARD | INPUT_METHOD.FLOATING_TB;
5
5
  export declare function setBlockType(name: TextBlockTypes): EditorCommand;
6
6
  export declare function setHeading(level: HeadingLevelsAndNormalText): EditorCommand;
7
7
  export declare function setBlockTypeWithAnalytics(name: TextBlockTypes, inputMethod: InputMethod, editorAnalyticsApi: EditorAnalyticsAPI | undefined): EditorCommand;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-block-type",
3
- "version": "3.11.0",
3
+ "version": "3.12.1",
4
4
  "description": "BlockType plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -35,18 +35,18 @@
35
35
  "./styles": "./src/styles.ts"
36
36
  },
37
37
  "dependencies": {
38
- "@atlaskit/adf-schema": "^40.3.0",
39
- "@atlaskit/editor-common": "^87.3.0",
40
- "@atlaskit/editor-plugin-analytics": "^1.6.0",
38
+ "@atlaskit/adf-schema": "^40.8.1",
39
+ "@atlaskit/editor-common": "^87.10.0",
40
+ "@atlaskit/editor-plugin-analytics": "^1.7.0",
41
41
  "@atlaskit/editor-plugin-primary-toolbar": "^2.0.0",
42
42
  "@atlaskit/editor-prosemirror": "5.0.1",
43
43
  "@atlaskit/editor-shared-styles": "^2.13.0",
44
44
  "@atlaskit/editor-tables": "^2.8.0",
45
- "@atlaskit/icon": "^22.9.0",
45
+ "@atlaskit/icon": "^22.12.0",
46
46
  "@atlaskit/platform-feature-flags": "^0.3.0",
47
47
  "@atlaskit/prosemirror-input-rules": "^3.2.0",
48
- "@atlaskit/theme": "^12.11.0",
49
- "@atlaskit/tokens": "^1.56.0",
48
+ "@atlaskit/theme": "^13.0.0",
49
+ "@atlaskit/tokens": "^1.58.0",
50
50
  "@babel/runtime": "^7.0.0",
51
51
  "@emotion/react": "^11.7.1"
52
52
  },
@@ -56,10 +56,10 @@
56
56
  },
57
57
  "devDependencies": {
58
58
  "@af/visual-regression": "*",
59
- "@atlaskit/analytics-next": "^9.3.0",
59
+ "@atlaskit/analytics-next": "^10.1.0",
60
60
  "@atlaskit/editor-plugin-feature-flags": "^1.2.0",
61
61
  "@atlaskit/editor-plugin-quick-insert": "^1.2.0",
62
- "@atlaskit/editor-plugin-type-ahead": "^1.6.0",
62
+ "@atlaskit/editor-plugin-type-ahead": "^1.7.0",
63
63
  "@atlaskit/ssr": "*",
64
64
  "@atlaskit/visual-regression": "*",
65
65
  "@testing-library/react": "^12.1.5",