@atlaskit/editor-plugin-help-dialog 2.0.8 → 2.1.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 +22 -0
- package/dist/cjs/ui/ModalContent.js +3 -3
- package/dist/es2019/ui/ModalContent.js +1 -1
- package/dist/esm/ui/ModalContent.js +1 -1
- package/dist/types/helpDialogPluginType.d.ts +2 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types-ts4.5/helpDialogPluginType.d.ts +2 -1
- package/dist/types-ts4.5/index.d.ts +1 -1
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-help-dialog
|
|
2
2
|
|
|
3
|
+
## 2.1.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#142352](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/142352)
|
|
8
|
+
[`05903fde6d94d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/05903fde6d94d) -
|
|
9
|
+
Internal change to use Compiled variant of `@atlaskit/primitives`.
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
12
|
+
## 2.1.0
|
|
13
|
+
|
|
14
|
+
### Minor Changes
|
|
15
|
+
|
|
16
|
+
- [#139139](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/139139)
|
|
17
|
+
[`7f6b665d778dd`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7f6b665d778dd) -
|
|
18
|
+
[https://product-fabric.atlassian.net/browse/ED-27499](ED-27499) - the new
|
|
19
|
+
`@atlassian/confluence-presets` package with Confluence `full-page` preset is created
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- Updated dependencies
|
|
24
|
+
|
|
3
25
|
## 2.0.8
|
|
4
26
|
|
|
5
27
|
### Patch Changes
|
|
@@ -11,7 +11,7 @@ var _reactIntlNext = require("react-intl-next");
|
|
|
11
11
|
var _browser = require("@atlaskit/editor-common/browser");
|
|
12
12
|
var _messages = require("@atlaskit/editor-common/messages");
|
|
13
13
|
var _heading = _interopRequireDefault(require("@atlaskit/heading"));
|
|
14
|
-
var
|
|
14
|
+
var _compiled = require("@atlaskit/primitives/compiled");
|
|
15
15
|
var _ModalFooter = _interopRequireDefault(require("./ModalFooter"));
|
|
16
16
|
var _ModalHeader = _interopRequireDefault(require("./ModalHeader"));
|
|
17
17
|
var _styles = require("./styles");
|
|
@@ -54,7 +54,7 @@ var ModalContent = exports.ModalContent = function ModalContent(_ref) {
|
|
|
54
54
|
(0, _react2.jsx)("li", {
|
|
55
55
|
css: _styles.row,
|
|
56
56
|
key: "textFormatting-".concat(form.name)
|
|
57
|
-
}, (0, _react2.jsx)(
|
|
57
|
+
}, (0, _react2.jsx)(_compiled.Text, null, form.name), (0, _utils.getComponentFromKeymap)(keymap()))
|
|
58
58
|
);
|
|
59
59
|
}), formatting.filter(function (form) {
|
|
60
60
|
return _utils.shortcutNamesWithoutKeymap.indexOf(form.type) !== -1;
|
|
@@ -69,7 +69,7 @@ var ModalContent = exports.ModalContent = function ModalContent(_ref) {
|
|
|
69
69
|
(0, _react2.jsx)("li", {
|
|
70
70
|
css: _styles.row,
|
|
71
71
|
key: "autoFormatting-".concat(form.name)
|
|
72
|
-
}, (0, _react2.jsx)(
|
|
72
|
+
}, (0, _react2.jsx)(_compiled.Text, null, form.name), autoFormatting())
|
|
73
73
|
);
|
|
74
74
|
}))), (0, _react2.jsx)("div", {
|
|
75
75
|
css: _styles.line
|
|
@@ -11,7 +11,7 @@ import { FormattedMessage } from 'react-intl-next';
|
|
|
11
11
|
import { browser } from '@atlaskit/editor-common/browser';
|
|
12
12
|
import { helpDialogMessages as messages } from '@atlaskit/editor-common/messages';
|
|
13
13
|
import Heading from '@atlaskit/heading';
|
|
14
|
-
import { Text } from '@atlaskit/primitives';
|
|
14
|
+
import { Text } from '@atlaskit/primitives/compiled';
|
|
15
15
|
import ModalFooter from './ModalFooter';
|
|
16
16
|
import ModalHeader from './ModalHeader';
|
|
17
17
|
import { column, content, contentWrapper, line, row } from './styles';
|
|
@@ -11,7 +11,7 @@ import { FormattedMessage } from 'react-intl-next';
|
|
|
11
11
|
import { browser } from '@atlaskit/editor-common/browser';
|
|
12
12
|
import { helpDialogMessages as messages } from '@atlaskit/editor-common/messages';
|
|
13
13
|
import Heading from '@atlaskit/heading';
|
|
14
|
-
import { Text } from '@atlaskit/primitives';
|
|
14
|
+
import { Text } from '@atlaskit/primitives/compiled';
|
|
15
15
|
import ModalFooter from './ModalFooter';
|
|
16
16
|
import ModalHeader from './ModalHeader';
|
|
17
17
|
import { column, content, contentWrapper, line, row } from './styles';
|
|
@@ -9,9 +9,10 @@ export type HelpDialogDependencies = [
|
|
|
9
9
|
OptionalPlugin<AnalyticsPlugin>,
|
|
10
10
|
OptionalPlugin<QuickInsertPlugin>
|
|
11
11
|
];
|
|
12
|
+
export type HelpDialogPluginOptions = boolean;
|
|
12
13
|
export type HelpDialogPlugin = NextEditorPlugin<'helpDialog', {
|
|
13
14
|
dependencies: HelpDialogDependencies;
|
|
14
|
-
pluginConfiguration:
|
|
15
|
+
pluginConfiguration: HelpDialogPluginOptions;
|
|
15
16
|
sharedState: HelpDialogSharedState | null;
|
|
16
17
|
actions: {
|
|
17
18
|
openHelp(): void;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type { HelpDialogPlugin, HelpDialogSharedState } from './helpDialogPluginType';
|
|
1
|
+
export type { HelpDialogPlugin, HelpDialogSharedState, HelpDialogPluginOptions, } from './helpDialogPluginType';
|
|
2
2
|
export { helpDialogPlugin } from './helpDialogPlugin';
|
|
3
3
|
export {
|
|
4
4
|
/**
|
|
@@ -9,9 +9,10 @@ export type HelpDialogDependencies = [
|
|
|
9
9
|
OptionalPlugin<AnalyticsPlugin>,
|
|
10
10
|
OptionalPlugin<QuickInsertPlugin>
|
|
11
11
|
];
|
|
12
|
+
export type HelpDialogPluginOptions = boolean;
|
|
12
13
|
export type HelpDialogPlugin = NextEditorPlugin<'helpDialog', {
|
|
13
14
|
dependencies: HelpDialogDependencies;
|
|
14
|
-
pluginConfiguration:
|
|
15
|
+
pluginConfiguration: HelpDialogPluginOptions;
|
|
15
16
|
sharedState: HelpDialogSharedState | null;
|
|
16
17
|
actions: {
|
|
17
18
|
openHelp(): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type { HelpDialogPlugin, HelpDialogSharedState } from './helpDialogPluginType';
|
|
1
|
+
export type { HelpDialogPlugin, HelpDialogSharedState, HelpDialogPluginOptions, } from './helpDialogPluginType';
|
|
2
2
|
export { helpDialogPlugin } from './helpDialogPlugin';
|
|
3
3
|
export {
|
|
4
4
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-help-dialog",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.1",
|
|
4
4
|
"description": "Help Dialog plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -33,18 +33,18 @@
|
|
|
33
33
|
".": "./src/index.ts"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@atlaskit/editor-common": "^103.
|
|
36
|
+
"@atlaskit/editor-common": "^103.12.0",
|
|
37
37
|
"@atlaskit/editor-plugin-analytics": "^2.2.0",
|
|
38
|
-
"@atlaskit/editor-plugin-quick-insert": "^2.
|
|
38
|
+
"@atlaskit/editor-plugin-quick-insert": "^2.4.0",
|
|
39
39
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
40
40
|
"@atlaskit/editor-shared-styles": "^3.4.0",
|
|
41
|
-
"@atlaskit/heading": "^5.
|
|
42
|
-
"@atlaskit/icon": "^25.
|
|
41
|
+
"@atlaskit/heading": "^5.2.0",
|
|
42
|
+
"@atlaskit/icon": "^25.6.0",
|
|
43
43
|
"@atlaskit/modal-dialog": "^14.1.0",
|
|
44
44
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
45
|
-
"@atlaskit/primitives": "^14.
|
|
45
|
+
"@atlaskit/primitives": "^14.4.0",
|
|
46
46
|
"@atlaskit/theme": "^18.0.0",
|
|
47
|
-
"@atlaskit/tokens": "^4.
|
|
47
|
+
"@atlaskit/tokens": "^4.8.0",
|
|
48
48
|
"@babel/runtime": "^7.0.0",
|
|
49
49
|
"@emotion/react": "^11.7.1",
|
|
50
50
|
"react-intl-next": "npm:react-intl@^5.18.1",
|