@atlaskit/editor-plugin-help-dialog 16.0.7 → 16.1.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 +17 -0
- package/dist/cjs/ui/formatting.js +2 -2
- package/dist/es2019/ui/formatting.js +1 -1
- package/dist/esm/ui/formatting.js +1 -1
- package/package.json +13 -13
- package/report.api.md +0 -64
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-help-dialog
|
|
2
2
|
|
|
3
|
+
## 16.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`bd2c5b0112185`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/bd2c5b0112185) -
|
|
8
|
+
Remove stale API report artifacts from published Platform packages.
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
|
|
14
|
+
## 16.0.8
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- Updated dependencies
|
|
19
|
+
|
|
3
20
|
## 16.0.7
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
|
@@ -13,7 +13,7 @@ var _keymaps = require("@atlaskit/editor-common/keymaps");
|
|
|
13
13
|
var _messages = require("@atlaskit/editor-common/messages");
|
|
14
14
|
var _primitives = require("@atlaskit/primitives");
|
|
15
15
|
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
16
|
-
var
|
|
16
|
+
var _editorExperiment = require("@atlaskit/tmp-editor-statsig/editor-experiment");
|
|
17
17
|
var _styles = require("./styles");
|
|
18
18
|
/**
|
|
19
19
|
* @jsxRuntime classic
|
|
@@ -747,5 +747,5 @@ var getSupportedFormatting = exports.getSupportedFormatting = function getSuppor
|
|
|
747
747
|
var supportedBySchema = formatting(intl).filter(function (format) {
|
|
748
748
|
return schema.nodes[format.type] || schema.marks[format.type];
|
|
749
749
|
});
|
|
750
|
-
return [].concat((0, _toConsumableArray2.default)(aiEnabled ? [quickInsertAskAI(intl)] : []), (0, _toConsumableArray2.default)(navigationKeymaps(intl)), (0, _toConsumableArray2.default)(otherFormatting(intl)), (0, _toConsumableArray2.default)(supportedBySchema), (0, _toConsumableArray2.default)(blockControlsShortcutsFormatting(intl)), (0, _toConsumableArray2.default)(imageEnabled ? [imageAutoFormat] : []), (0, _toConsumableArray2.default)(quickInsertEnabled ? [quickInsertAutoFormat(intl)] : []), (0, _toConsumableArray2.default)(focusTableResizeHandleFormatting(intl)), (0, _toConsumableArray2.default)((0,
|
|
750
|
+
return [].concat((0, _toConsumableArray2.default)(aiEnabled ? [quickInsertAskAI(intl)] : []), (0, _toConsumableArray2.default)(navigationKeymaps(intl)), (0, _toConsumableArray2.default)(otherFormatting(intl)), (0, _toConsumableArray2.default)(supportedBySchema), (0, _toConsumableArray2.default)(blockControlsShortcutsFormatting(intl)), (0, _toConsumableArray2.default)(imageEnabled ? [imageAutoFormat] : []), (0, _toConsumableArray2.default)(quickInsertEnabled ? [quickInsertAutoFormat(intl)] : []), (0, _toConsumableArray2.default)(focusTableResizeHandleFormatting(intl)), (0, _toConsumableArray2.default)((0, _editorExperiment.editorExperiment)('platform_editor_breakout_resizing', true) ? newResizeInformationFormatting(intl) : resizeInformationFormatting(intl)), (0, _toConsumableArray2.default)(openCellOptionsFormattingtoFormat(intl)), (0, _toConsumableArray2.default)((0, _expValEquals.expValEquals)('editor-a11y-fy26-keyboard-move-row-column', 'isEnabled', true) ? moveTableRowColumnFormatting(intl) : []));
|
|
751
751
|
};
|
|
@@ -11,7 +11,7 @@ import { alignmentMessages, annotationMessages, blockTypeMessages, listMessages,
|
|
|
11
11
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
12
12
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
13
13
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
14
|
-
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/
|
|
14
|
+
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
|
|
15
15
|
import { shortcutsArray } from './styles';
|
|
16
16
|
const codeSm = xcss({
|
|
17
17
|
backgroundColor: 'color.background.neutral',
|
|
@@ -12,7 +12,7 @@ import { alignmentMessages, annotationMessages, blockTypeMessages, listMessages,
|
|
|
12
12
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
13
13
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
14
14
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
15
|
-
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/
|
|
15
|
+
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
|
|
16
16
|
import { shortcutsArray } from './styles';
|
|
17
17
|
var codeSm = xcss({
|
|
18
18
|
backgroundColor: 'color.background.neutral',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-help-dialog",
|
|
3
|
-
"version": "16.0
|
|
3
|
+
"version": "16.1.0",
|
|
4
4
|
"description": "Help Dialog plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -21,18 +21,18 @@
|
|
|
21
21
|
],
|
|
22
22
|
"atlaskit:src": "src/index.ts",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@atlaskit/editor-plugin-analytics": "^16.
|
|
25
|
-
"@atlaskit/editor-plugin-quick-insert": "^16.
|
|
24
|
+
"@atlaskit/editor-plugin-analytics": "^16.1.0",
|
|
25
|
+
"@atlaskit/editor-plugin-quick-insert": "^16.2.0",
|
|
26
26
|
"@atlaskit/editor-prosemirror": "^8.0.0",
|
|
27
|
-
"@atlaskit/editor-shared-styles": "^4.
|
|
28
|
-
"@atlaskit/heading": "^7.
|
|
29
|
-
"@atlaskit/icon": "^37.
|
|
30
|
-
"@atlaskit/modal-dialog": "^16.
|
|
31
|
-
"@atlaskit/platform-feature-flags": "^2.
|
|
32
|
-
"@atlaskit/primitives": "^22.
|
|
33
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
34
|
-
"@atlaskit/tokens": "^16.
|
|
35
|
-
"@atlaskit/tooltip": "^24.
|
|
27
|
+
"@atlaskit/editor-shared-styles": "^4.1.0",
|
|
28
|
+
"@atlaskit/heading": "^7.2.0",
|
|
29
|
+
"@atlaskit/icon": "^37.6.0",
|
|
30
|
+
"@atlaskit/modal-dialog": "^16.6.0",
|
|
31
|
+
"@atlaskit/platform-feature-flags": "^2.2.0",
|
|
32
|
+
"@atlaskit/primitives": "^22.5.0",
|
|
33
|
+
"@atlaskit/tmp-editor-statsig": "^168.0.0",
|
|
34
|
+
"@atlaskit/tokens": "^16.10.0",
|
|
35
|
+
"@atlaskit/tooltip": "^24.3.0",
|
|
36
36
|
"@babel/runtime": "^7.0.0",
|
|
37
37
|
"@emotion/react": "^11.7.1",
|
|
38
38
|
"react-loadable": "^5.1.0"
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"react-intl": "^7.0.0"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
|
-
"@atlaskit/editor-common": "^120.
|
|
46
|
+
"@atlaskit/editor-common": "^120.9.0",
|
|
47
47
|
"react": "^18.2.0 || ^19.2.0",
|
|
48
48
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|
|
49
49
|
},
|
package/report.api.md
DELETED
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
<!-- API Report Version: 2.3 -->
|
|
2
|
-
|
|
3
|
-
## API Report File for "@atlaskit/editor-plugin-help-dialog"
|
|
4
|
-
|
|
5
|
-
> Do not edit this file. This report is auto-generated using
|
|
6
|
-
> [API Extractor](https://api-extractor.com/).
|
|
7
|
-
> [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
|
|
8
|
-
|
|
9
|
-
### Table of contents
|
|
10
|
-
|
|
11
|
-
- [Main Entry Types](#main-entry-types)
|
|
12
|
-
- [Peer Dependencies](#peer-dependencies)
|
|
13
|
-
|
|
14
|
-
### Main Entry Types
|
|
15
|
-
|
|
16
|
-
<!--SECTION START: Main Entry Types-->
|
|
17
|
-
|
|
18
|
-
```ts
|
|
19
|
-
import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
20
|
-
import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
|
|
21
|
-
import type { OptionalPlugin } from '@atlaskit/editor-common/types';
|
|
22
|
-
import type { QuickInsertPlugin } from '@atlaskit/editor-plugin-quick-insert';
|
|
23
|
-
import type { Transaction } from '@atlaskit/editor-prosemirror/state';
|
|
24
|
-
|
|
25
|
-
// @public (undocumented)
|
|
26
|
-
export const deprecatedOpenHelpCommand: (tr: Transaction, dispatch?: Function) => boolean;
|
|
27
|
-
|
|
28
|
-
// @public (undocumented)
|
|
29
|
-
export type HelpDialogPlugin = NextEditorPlugin<
|
|
30
|
-
'helpDialog',
|
|
31
|
-
{
|
|
32
|
-
dependencies: [OptionalPlugin<AnalyticsPlugin>, OptionalPlugin<QuickInsertPlugin>];
|
|
33
|
-
pluginConfiguration: boolean;
|
|
34
|
-
sharedState: HelpDialogSharedState | null;
|
|
35
|
-
}
|
|
36
|
-
>;
|
|
37
|
-
|
|
38
|
-
// @public (undocumented)
|
|
39
|
-
export const helpDialogPlugin: HelpDialogPlugin;
|
|
40
|
-
|
|
41
|
-
// @public (undocumented)
|
|
42
|
-
export interface HelpDialogSharedState {
|
|
43
|
-
// (undocumented)
|
|
44
|
-
imageEnabled: boolean;
|
|
45
|
-
// (undocumented)
|
|
46
|
-
isVisible: boolean;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
// (No @packageDocumentation comment for this package)
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
<!--SECTION END: Main Entry Types-->
|
|
53
|
-
|
|
54
|
-
### Peer Dependencies
|
|
55
|
-
|
|
56
|
-
<!--SECTION START: Peer Dependencies-->
|
|
57
|
-
|
|
58
|
-
```json
|
|
59
|
-
{
|
|
60
|
-
"react": "^16.8.0"
|
|
61
|
-
}
|
|
62
|
-
```
|
|
63
|
-
|
|
64
|
-
<!--SECTION END: Peer Dependencies-->
|