@atlaskit/editor-plugin-help-dialog 1.9.13 → 1.10.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,17 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-help-dialog
|
|
2
2
|
|
|
3
|
+
## 1.10.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
|
+
|
|
3
15
|
## 1.9.13
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -640,10 +640,7 @@ var quickInsertAutoFormat = function quickInsertAutoFormat(_ref7) {
|
|
|
640
640
|
}
|
|
641
641
|
};
|
|
642
642
|
};
|
|
643
|
-
var getSupportedFormatting = exports.getSupportedFormatting = function getSupportedFormatting(schema, intl, imageEnabled, quickInsertEnabled
|
|
644
|
-
// Ignored via go/ees005
|
|
645
|
-
// eslint-disable-next-line @typescript-eslint/max-params
|
|
646
|
-
) {
|
|
643
|
+
var getSupportedFormatting = exports.getSupportedFormatting = function getSupportedFormatting(schema, intl, imageEnabled, quickInsertEnabled) {
|
|
647
644
|
var supportedBySchema = formatting(intl).filter(function (format) {
|
|
648
645
|
return schema.nodes[format.type] || schema.marks[format.type];
|
|
649
646
|
});
|
|
@@ -495,10 +495,7 @@ const quickInsertAutoFormat = ({
|
|
|
495
495
|
xcss: codeLg
|
|
496
496
|
}, "/"))
|
|
497
497
|
});
|
|
498
|
-
export const getSupportedFormatting = (schema, intl, imageEnabled, quickInsertEnabled
|
|
499
|
-
// Ignored via go/ees005
|
|
500
|
-
// eslint-disable-next-line @typescript-eslint/max-params
|
|
501
|
-
) => {
|
|
498
|
+
export const getSupportedFormatting = (schema, intl, imageEnabled, quickInsertEnabled) => {
|
|
502
499
|
const supportedBySchema = formatting(intl).filter(format => schema.nodes[format.type] || schema.marks[format.type]);
|
|
503
500
|
return [...navigationKeymaps(intl), ...otherFormatting(intl), ...supportedBySchema, ...(imageEnabled ? [imageAutoFormat] : []), ...(quickInsertEnabled ? [quickInsertAutoFormat(intl)] : []), ...focusTableResizeHandleFormatting(intl), ...resizeInformationFormatting(intl), ...openCellOptionsFormattingtoFormat(intl)];
|
|
504
501
|
};
|
|
@@ -632,10 +632,7 @@ var quickInsertAutoFormat = function quickInsertAutoFormat(_ref7) {
|
|
|
632
632
|
}
|
|
633
633
|
};
|
|
634
634
|
};
|
|
635
|
-
export var getSupportedFormatting = function getSupportedFormatting(schema, intl, imageEnabled, quickInsertEnabled
|
|
636
|
-
// Ignored via go/ees005
|
|
637
|
-
// eslint-disable-next-line @typescript-eslint/max-params
|
|
638
|
-
) {
|
|
635
|
+
export var getSupportedFormatting = function getSupportedFormatting(schema, intl, imageEnabled, quickInsertEnabled) {
|
|
639
636
|
var supportedBySchema = formatting(intl).filter(function (format) {
|
|
640
637
|
return schema.nodes[format.type] || schema.marks[format.type];
|
|
641
638
|
});
|
|
@@ -5,8 +5,12 @@ export interface HelpDialogSharedState {
|
|
|
5
5
|
isVisible: boolean;
|
|
6
6
|
imageEnabled: boolean;
|
|
7
7
|
}
|
|
8
|
+
export type HelpDialogDependencies = [
|
|
9
|
+
OptionalPlugin<AnalyticsPlugin>,
|
|
10
|
+
OptionalPlugin<QuickInsertPlugin>
|
|
11
|
+
];
|
|
8
12
|
export type HelpDialogPlugin = NextEditorPlugin<'helpDialog', {
|
|
9
|
-
dependencies:
|
|
13
|
+
dependencies: HelpDialogDependencies;
|
|
10
14
|
pluginConfiguration: boolean;
|
|
11
15
|
sharedState: HelpDialogSharedState | null;
|
|
12
16
|
actions: {
|
|
@@ -5,11 +5,12 @@ export interface HelpDialogSharedState {
|
|
|
5
5
|
isVisible: boolean;
|
|
6
6
|
imageEnabled: boolean;
|
|
7
7
|
}
|
|
8
|
+
export type HelpDialogDependencies = [
|
|
9
|
+
OptionalPlugin<AnalyticsPlugin>,
|
|
10
|
+
OptionalPlugin<QuickInsertPlugin>
|
|
11
|
+
];
|
|
8
12
|
export type HelpDialogPlugin = NextEditorPlugin<'helpDialog', {
|
|
9
|
-
dependencies:
|
|
10
|
-
OptionalPlugin<AnalyticsPlugin>,
|
|
11
|
-
OptionalPlugin<QuickInsertPlugin>
|
|
12
|
-
];
|
|
13
|
+
dependencies: HelpDialogDependencies;
|
|
13
14
|
pluginConfiguration: boolean;
|
|
14
15
|
sharedState: HelpDialogSharedState | null;
|
|
15
16
|
actions: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-help-dialog",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.10.0",
|
|
4
4
|
"description": "Help Dialog plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -31,24 +31,24 @@
|
|
|
31
31
|
".": "./src/index.ts"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@atlaskit/editor-common": "^99.
|
|
35
|
-
"@atlaskit/editor-plugin-analytics": "^1.
|
|
36
|
-
"@atlaskit/editor-plugin-quick-insert": "^1.
|
|
34
|
+
"@atlaskit/editor-common": "^99.6.0",
|
|
35
|
+
"@atlaskit/editor-plugin-analytics": "^1.11.0",
|
|
36
|
+
"@atlaskit/editor-plugin-quick-insert": "^1.9.0",
|
|
37
37
|
"@atlaskit/editor-prosemirror": "6.2.1",
|
|
38
38
|
"@atlaskit/editor-shared-styles": "^3.2.0",
|
|
39
|
-
"@atlaskit/heading": "^4.
|
|
40
|
-
"@atlaskit/icon": "^23.
|
|
41
|
-
"@atlaskit/modal-dialog": "^12.
|
|
42
|
-
"@atlaskit/primitives": "^13.
|
|
43
|
-
"@atlaskit/theme": "^14.
|
|
44
|
-
"@atlaskit/tokens": "^3.
|
|
39
|
+
"@atlaskit/heading": "^4.1.0",
|
|
40
|
+
"@atlaskit/icon": "^23.5.0",
|
|
41
|
+
"@atlaskit/modal-dialog": "^12.20.0",
|
|
42
|
+
"@atlaskit/primitives": "^13.4.0",
|
|
43
|
+
"@atlaskit/theme": "^14.1.0",
|
|
44
|
+
"@atlaskit/tokens": "^3.3.0",
|
|
45
45
|
"@babel/runtime": "^7.0.0",
|
|
46
46
|
"@emotion/react": "^11.7.1",
|
|
47
47
|
"react-intl-next": "npm:react-intl@^5.18.1",
|
|
48
48
|
"react-loadable": "^5.1.0"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@testing-library/react": "^
|
|
51
|
+
"@testing-library/react": "^13.4.0"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
54
|
"react": "^16.8.0 || ^17.0.0 || ~18.2.0"
|