@atlaskit/editor-plugin-block-type 3.11.0 → 3.12.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,23 @@
|
|
1
1
|
# @atlaskit/editor-plugin-block-type
|
2
2
|
|
3
|
+
## 3.12.0
|
4
|
+
|
5
|
+
### Minor Changes
|
6
|
+
|
7
|
+
- [#128347](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/128347)
|
8
|
+
[`e33566cebd5d1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e33566cebd5d1) -
|
9
|
+
[ED-24175] bump @atlaskit/adf-schema to 40.8.1 and @atlassian/adf-schema-json to 1.22.0 to
|
10
|
+
promotecodeblocks & media in quotes, and nested expands in expands to full schema, and allow
|
11
|
+
quotes in panels and decisions in lists in stage0 schema, and a validator spec change
|
12
|
+
- [#128333](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/128333)
|
13
|
+
[`4ad86751ab1d7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4ad86751ab1d7) -
|
14
|
+
[ED-24505] Implement onClick handler for Turn into dropdown options and update relevant insertion
|
15
|
+
analytics with inputMethod: floatingToolbar when an element is inserted via the dropdown
|
16
|
+
|
17
|
+
### Patch Changes
|
18
|
+
|
19
|
+
- Updated dependencies
|
20
|
+
|
3
21
|
## 3.11.0
|
4
22
|
|
5
23
|
### 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.
|
3
|
+
"version": "3.12.0",
|
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.
|
39
|
-
"@atlaskit/editor-common": "^87.
|
40
|
-
"@atlaskit/editor-plugin-analytics": "^1.
|
38
|
+
"@atlaskit/adf-schema": "^40.8.1",
|
39
|
+
"@atlaskit/editor-common": "^87.6.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.
|
45
|
+
"@atlaskit/icon": "^22.11.0",
|
46
46
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
47
47
|
"@atlaskit/prosemirror-input-rules": "^3.2.0",
|
48
48
|
"@atlaskit/theme": "^12.11.0",
|
49
|
-
"@atlaskit/tokens": "^1.
|
49
|
+
"@atlaskit/tokens": "^1.57.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": "^
|
59
|
+
"@atlaskit/analytics-next": "^10.0.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.
|
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",
|