@atlaskit/editor-plugin-block-menu 11.1.32 → 11.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,22 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-block-menu
|
|
2
2
|
|
|
3
|
+
## 11.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`51c33ef5349b6`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/51c33ef5349b6) -
|
|
8
|
+
Enable compatibility with React 19.2.0
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
|
|
14
|
+
## 11.1.33
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- Updated dependencies
|
|
19
|
+
|
|
3
20
|
## 11.1.32
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
|
@@ -15,7 +15,7 @@ export declare const getSortedTopLevelSections: (components: RegisterBlockMenuCo
|
|
|
15
15
|
* @param type The component's type
|
|
16
16
|
* @returns A unique string key combining type and key
|
|
17
17
|
*/
|
|
18
|
-
export declare const getChildrenMapKey: (key: string, type: Omit<RegisterBlockMenuComponentType,
|
|
18
|
+
export declare const getChildrenMapKey: (key: string, type: Omit<RegisterBlockMenuComponentType, 'block-menu-item'>) => string;
|
|
19
19
|
/**
|
|
20
20
|
* Builds a map of parent keys to their sorted children
|
|
21
21
|
* This enables efficient hierarchical rendering of the menu structure
|
|
@@ -3,9 +3,9 @@ export declare const BLOCK_MENU_LABEL = "Editor Block Menu";
|
|
|
3
3
|
* Constants for block menu analytics menu item names
|
|
4
4
|
*/
|
|
5
5
|
export declare const BLOCK_MENU_ITEM_NAME: {
|
|
6
|
-
readonly COPY_LINK_TO_BLOCK:
|
|
7
|
-
readonly MOVE_UP:
|
|
8
|
-
readonly MOVE_DOWN:
|
|
9
|
-
readonly DELETE:
|
|
10
|
-
readonly FORMAT_MENU:
|
|
6
|
+
readonly COPY_LINK_TO_BLOCK: 'copyLinkToBlock';
|
|
7
|
+
readonly MOVE_UP: 'moveUp';
|
|
8
|
+
readonly MOVE_DOWN: 'moveDown';
|
|
9
|
+
readonly DELETE: 'delete';
|
|
10
|
+
readonly FORMAT_MENU: 'formatMenu';
|
|
11
11
|
};
|
|
@@ -3,4 +3,4 @@ import type { BlockMenuPlugin, RegisterBlockMenuItem } from '../../blockMenuPlug
|
|
|
3
3
|
/**
|
|
4
4
|
* Helper function to create menu items map from block menu components.
|
|
5
5
|
*/
|
|
6
|
-
export declare const createMenuItemsMap: (blockMenuComponents: ReturnType<ExtractInjectionAPI<BlockMenuPlugin>[
|
|
6
|
+
export declare const createMenuItemsMap: (blockMenuComponents: ReturnType<ExtractInjectionAPI<BlockMenuPlugin>['blockMenu']['actions']['getBlockMenuComponents']> | undefined) => Map<string, RegisterBlockMenuItem>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-block-menu",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.2.0",
|
|
4
4
|
"description": "BlockMenu plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -22,29 +22,29 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@atlaskit/browser-apis": "^1.2.0",
|
|
24
24
|
"@atlaskit/css": "^1.0.0",
|
|
25
|
-
"@atlaskit/editor-plugin-analytics": "^12.
|
|
26
|
-
"@atlaskit/editor-plugin-block-controls": "^13.
|
|
27
|
-
"@atlaskit/editor-plugin-decorations": "^12.
|
|
28
|
-
"@atlaskit/editor-plugin-selection": "^12.
|
|
29
|
-
"@atlaskit/editor-plugin-user-intent": "^10.
|
|
25
|
+
"@atlaskit/editor-plugin-analytics": "^12.1.0",
|
|
26
|
+
"@atlaskit/editor-plugin-block-controls": "^13.4.0",
|
|
27
|
+
"@atlaskit/editor-plugin-decorations": "^12.1.0",
|
|
28
|
+
"@atlaskit/editor-plugin-selection": "^12.1.0",
|
|
29
|
+
"@atlaskit/editor-plugin-user-intent": "^10.2.0",
|
|
30
30
|
"@atlaskit/editor-prosemirror": "^8.0.0",
|
|
31
31
|
"@atlaskit/editor-shared-styles": "^4.0.0",
|
|
32
32
|
"@atlaskit/editor-tables": "^3.0.0",
|
|
33
|
-
"@atlaskit/editor-toolbar": "^2.
|
|
33
|
+
"@atlaskit/editor-toolbar": "^2.4.0",
|
|
34
34
|
"@atlaskit/flag": "^18.2.0",
|
|
35
35
|
"@atlaskit/icon": "^37.2.0",
|
|
36
36
|
"@atlaskit/platform-feature-flags": "^2.1.0",
|
|
37
37
|
"@atlaskit/primitives": "^22.2.0",
|
|
38
|
-
"@atlaskit/prosemirror-history": "^1.
|
|
39
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
38
|
+
"@atlaskit/prosemirror-history": "^1.1.0",
|
|
39
|
+
"@atlaskit/tmp-editor-statsig": "^135.7.0",
|
|
40
40
|
"@atlaskit/tokens": "^16.3.0",
|
|
41
41
|
"@babel/runtime": "^7.0.0",
|
|
42
42
|
"bind-event-listener": "^3.0.0",
|
|
43
43
|
"memoize-one": "^6.0.0"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
|
-
"@atlaskit/editor-common": "^116.
|
|
47
|
-
"react": "^18.2.0",
|
|
46
|
+
"@atlaskit/editor-common": "^116.45.0",
|
|
47
|
+
"react": "^18.2.0 || ^19.2.0",
|
|
48
48
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|
|
49
49
|
},
|
|
50
50
|
"techstack": {
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
},
|
|
103
103
|
"devDependencies": {
|
|
104
104
|
"@atlassian/structured-docs-types": "workspace:^",
|
|
105
|
-
"react": "^
|
|
105
|
+
"react": "^19.2.0",
|
|
106
106
|
"react-intl": "^7.0.0"
|
|
107
107
|
}
|
|
108
108
|
}
|