@atlaskit/editor-plugin-help-dialog 9.0.0 → 10.0.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 +19 -0
- package/dist/cjs/ui/ModalContent.js +4 -4
- package/dist/cjs/ui/ModalFooter.js +2 -2
- package/dist/cjs/ui/ModalHeader.js +3 -3
- package/dist/cjs/ui/formatting.js +7 -7
- package/dist/cjs/ui/index.js +2 -2
- package/dist/es2019/ui/ModalContent.js +1 -1
- package/dist/es2019/ui/ModalFooter.js +1 -1
- package/dist/es2019/ui/ModalHeader.js +1 -1
- package/dist/es2019/ui/formatting.js +1 -1
- package/dist/es2019/ui/index.js +1 -1
- package/dist/esm/ui/ModalContent.js +1 -1
- package/dist/esm/ui/ModalFooter.js +1 -1
- package/dist/esm/ui/ModalHeader.js +1 -1
- package/dist/esm/ui/formatting.js +1 -1
- package/dist/esm/ui/index.js +1 -1
- package/dist/types/ui/ModalHeader.d.ts +1 -1
- package/dist/types/ui/formatting.d.ts +1 -1
- package/dist/types/ui/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/ModalHeader.d.ts +1 -1
- package/dist/types-ts4.5/ui/formatting.d.ts +1 -1
- package/dist/types-ts4.5/ui/index.d.ts +1 -1
- package/package.json +8 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-help-dialog
|
|
2
2
|
|
|
3
|
+
## 10.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- [`901c87a57486e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/901c87a57486e) -
|
|
8
|
+
Removed `react-intl-next` alias and replaced all usages with `react-intl` directly.
|
|
9
|
+
|
|
10
|
+
What changed: The `react-intl-next` npm alias (which resolved to `react-intl@^5`) has been
|
|
11
|
+
removed. All imports now reference `react-intl` directly, and `peerDependencies` have been updated
|
|
12
|
+
to `"^5.25.1 || ^6.0.0 || ^7.0.0"`.
|
|
13
|
+
|
|
14
|
+
How consumer should update their code: Ensure `react-intl` is installed at a version satisfying
|
|
15
|
+
`^5.25.1 || ^6.0.0 || ^7.0.0`. If your application was using `react-intl-next` as an npm alias, it
|
|
16
|
+
can be safely removed. Replace any remaining `react-intl-next` imports with `react-intl`.
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- Updated dependencies
|
|
21
|
+
|
|
3
22
|
## 9.0.0
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
|
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.default = exports.ModalContent = void 0;
|
|
8
8
|
var _react = require("react");
|
|
9
9
|
var _react2 = require("@emotion/react");
|
|
10
|
-
var
|
|
10
|
+
var _reactIntl = require("react-intl");
|
|
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"));
|
|
@@ -29,7 +29,7 @@ var ModalContent = exports.ModalContent = function ModalContent(_ref) {
|
|
|
29
29
|
var formatting = _ref.formatting,
|
|
30
30
|
onClose = _ref.onClose;
|
|
31
31
|
var browser = (0, _browser.getBrowserInfo)();
|
|
32
|
-
var intl = (0,
|
|
32
|
+
var intl = (0, _reactIntl.useIntl)();
|
|
33
33
|
var isA11yFixEnabled = (0, _expValEquals.expValEquals)('platform_editor_a11y_eslint_fix', 'isEnabled', true);
|
|
34
34
|
return (0, _react2.jsx)(_react.Fragment, null, (0, _react2.jsx)(_ModalHeader.default, {
|
|
35
35
|
onClose: onClose
|
|
@@ -47,7 +47,7 @@ var ModalContent = exports.ModalContent = function ModalContent(_ref) {
|
|
|
47
47
|
css: _styles.column
|
|
48
48
|
}, (0, _react2.jsx)(_heading.default, {
|
|
49
49
|
size: "medium"
|
|
50
|
-
}, (0, _react2.jsx)(
|
|
50
|
+
}, (0, _react2.jsx)(_reactIntl.FormattedMessage
|
|
51
51
|
// Ignored via go/ees005
|
|
52
52
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
53
53
|
, _messages.helpDialogMessages.keyboardShortcuts)), (0, _react2.jsx)("ul", null, formatting.filter(function (form) {
|
|
@@ -85,7 +85,7 @@ var ModalContent = exports.ModalContent = function ModalContent(_ref) {
|
|
|
85
85
|
css: _styles.column
|
|
86
86
|
}, (0, _react2.jsx)(_heading.default, {
|
|
87
87
|
size: "medium"
|
|
88
|
-
}, (0, _react2.jsx)(
|
|
88
|
+
}, (0, _react2.jsx)(_reactIntl.FormattedMessage
|
|
89
89
|
// Ignored via go/ees005
|
|
90
90
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
91
91
|
, _messages.helpDialogMessages.markdown)), (0, _react2.jsx)("ul", null, formatting.filter(function (form) {
|
|
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.default = void 0;
|
|
8
8
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
9
|
var _react = require("@emotion/react");
|
|
10
|
-
var
|
|
10
|
+
var _reactIntl = require("react-intl");
|
|
11
11
|
var _keymaps = require("@atlaskit/editor-common/keymaps");
|
|
12
12
|
var _messages = require("@atlaskit/editor-common/messages");
|
|
13
13
|
var _styles = require("./styles");
|
|
@@ -23,7 +23,7 @@ var ModalFooter = function ModalFooter() {
|
|
|
23
23
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
24
24
|
(0, _react.jsx)("div", {
|
|
25
25
|
css: _styles.footer
|
|
26
|
-
}, (0, _react.jsx)(
|
|
26
|
+
}, (0, _react.jsx)(_reactIntl.FormattedMessage
|
|
27
27
|
// Ignored via go/ees005
|
|
28
28
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
29
29
|
, (0, _extends2.default)({}, _messages.helpDialogMessages.helpDialogTips, {
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
8
|
var _react = require("@emotion/react");
|
|
9
|
-
var
|
|
9
|
+
var _reactIntl = require("react-intl");
|
|
10
10
|
var _messages = require("@atlaskit/editor-common/messages");
|
|
11
11
|
var _uiMenu = require("@atlaskit/editor-common/ui-menu");
|
|
12
12
|
var _heading = _interopRequireDefault(require("@atlaskit/heading"));
|
|
@@ -30,7 +30,7 @@ var toolbarFocusStyles = (0, _react.css)({
|
|
|
30
30
|
outlineOffset: "var(--ds-space-025, 2px)"
|
|
31
31
|
}
|
|
32
32
|
});
|
|
33
|
-
var ModalHeader = (0,
|
|
33
|
+
var ModalHeader = (0, _reactIntl.injectIntl)(function (_ref) {
|
|
34
34
|
var formatMessage = _ref.intl.formatMessage,
|
|
35
35
|
onClose = _ref.onClose;
|
|
36
36
|
return (
|
|
@@ -39,7 +39,7 @@ var ModalHeader = (0, _reactIntlNext.injectIntl)(function (_ref) {
|
|
|
39
39
|
css: _styles.header
|
|
40
40
|
}, (0, _react.jsx)(_heading.default, {
|
|
41
41
|
size: "large"
|
|
42
|
-
}, (0, _react.jsx)(
|
|
42
|
+
}, (0, _react.jsx)(_reactIntl.FormattedMessage
|
|
43
43
|
// Ignored via go/ees005
|
|
44
44
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
45
45
|
, _messages.helpDialogMessages.editorHelp)), onClose ? (0, _react.jsx)("div", {
|
|
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.getSupportedFormatting = exports.formatting = void 0;
|
|
8
8
|
var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
|
|
9
9
|
var _react = require("@emotion/react");
|
|
10
|
-
var
|
|
10
|
+
var _reactIntl = require("react-intl");
|
|
11
11
|
var _browser = require("@atlaskit/editor-common/browser");
|
|
12
12
|
var _keymaps = require("@atlaskit/editor-common/keymaps");
|
|
13
13
|
var _messages = require("@atlaskit/editor-common/messages");
|
|
@@ -78,7 +78,7 @@ var formatting = exports.formatting = function formatting(_ref2) {
|
|
|
78
78
|
return (0, _react.jsx)("span", null, (0, _react.jsx)(_primitives.Box, {
|
|
79
79
|
as: "span",
|
|
80
80
|
xcss: codeLg
|
|
81
|
-
}, "**", (0, _react.jsx)(
|
|
81
|
+
}, "**", (0, _react.jsx)(_reactIntl.FormattedMessage
|
|
82
82
|
// Ignored via go/ees005
|
|
83
83
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
84
84
|
, _messages.toolbarMessages.bold), "**"));
|
|
@@ -93,7 +93,7 @@ var formatting = exports.formatting = function formatting(_ref2) {
|
|
|
93
93
|
return (0, _react.jsx)("span", null, (0, _react.jsx)(_primitives.Box, {
|
|
94
94
|
as: "span",
|
|
95
95
|
xcss: codeLg
|
|
96
|
-
}, "*", (0, _react.jsx)(
|
|
96
|
+
}, "*", (0, _react.jsx)(_reactIntl.FormattedMessage
|
|
97
97
|
// Ignored via go/ees005
|
|
98
98
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
99
99
|
, _messages.toolbarMessages.italic), "*"));
|
|
@@ -114,7 +114,7 @@ var formatting = exports.formatting = function formatting(_ref2) {
|
|
|
114
114
|
return (0, _react.jsx)("span", null, (0, _react.jsx)(_primitives.Box, {
|
|
115
115
|
as: "span",
|
|
116
116
|
xcss: codeLg
|
|
117
|
-
}, "~~", (0, _react.jsx)(
|
|
117
|
+
}, "~~", (0, _react.jsx)(_reactIntl.FormattedMessage
|
|
118
118
|
// Ignored via go/ees005
|
|
119
119
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
120
120
|
, _messages.toolbarMessages.strike), "~~"));
|
|
@@ -309,7 +309,7 @@ var formatting = exports.formatting = function formatting(_ref2) {
|
|
|
309
309
|
return (0, _react.jsx)("span", null, (0, _react.jsx)(_primitives.Box, {
|
|
310
310
|
as: "span",
|
|
311
311
|
xcss: codeLg
|
|
312
|
-
}, "[", (0, _react.jsx)(
|
|
312
|
+
}, "[", (0, _react.jsx)(_reactIntl.FormattedMessage
|
|
313
313
|
// Ignored via go/ees005
|
|
314
314
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
315
315
|
, _messages.toolbarInsertBlockMessages.link), "](http://a.com)"));
|
|
@@ -324,7 +324,7 @@ var formatting = exports.formatting = function formatting(_ref2) {
|
|
|
324
324
|
return (0, _react.jsx)("span", null, (0, _react.jsx)(_primitives.Box, {
|
|
325
325
|
as: "span",
|
|
326
326
|
xcss: codeLg
|
|
327
|
-
}, "`", (0, _react.jsx)(
|
|
327
|
+
}, "`", (0, _react.jsx)(_reactIntl.FormattedMessage
|
|
328
328
|
// Ignored via go/ees005
|
|
329
329
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
330
330
|
, _messages.toolbarMessages.code), "`"));
|
|
@@ -724,7 +724,7 @@ var imageAutoFormat = {
|
|
|
724
724
|
return (0, _react.jsx)("span", null, (0, _react.jsx)(_primitives.Box, {
|
|
725
725
|
as: "span",
|
|
726
726
|
xcss: codeLg
|
|
727
|
-
}, ""));
|
package/dist/cjs/ui/index.js
CHANGED
|
@@ -8,7 +8,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
8
8
|
exports.default = void 0;
|
|
9
9
|
var _react = require("react");
|
|
10
10
|
var _react2 = require("@emotion/react");
|
|
11
|
-
var
|
|
11
|
+
var _reactIntl = require("react-intl");
|
|
12
12
|
var _hooks = require("@atlaskit/editor-common/hooks");
|
|
13
13
|
var _messages = require("@atlaskit/editor-common/messages");
|
|
14
14
|
var _modalDialog = _interopRequireWildcard(require("@atlaskit/modal-dialog"));
|
|
@@ -71,5 +71,5 @@ var HelpDialog = function HelpDialog(_ref) {
|
|
|
71
71
|
formatting: formatting
|
|
72
72
|
})) : null);
|
|
73
73
|
};
|
|
74
|
-
var _default_1 = (0,
|
|
74
|
+
var _default_1 = (0, _reactIntl.injectIntl)(HelpDialog);
|
|
75
75
|
var _default = exports.default = _default_1;
|
|
@@ -7,7 +7,7 @@ import { Fragment } from 'react';
|
|
|
7
7
|
|
|
8
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
|
|
9
9
|
import { jsx } from '@emotion/react';
|
|
10
|
-
import { FormattedMessage, useIntl } from 'react-intl
|
|
10
|
+
import { FormattedMessage, useIntl } from 'react-intl';
|
|
11
11
|
import { getBrowserInfo } from '@atlaskit/editor-common/browser';
|
|
12
12
|
import { helpDialogMessages as messages } from '@atlaskit/editor-common/messages';
|
|
13
13
|
import Heading from '@atlaskit/heading';
|
|
@@ -5,7 +5,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
5
5
|
*/
|
|
6
6
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
|
|
7
7
|
import { jsx } from '@emotion/react';
|
|
8
|
-
import { FormattedMessage } from 'react-intl
|
|
8
|
+
import { FormattedMessage } from 'react-intl';
|
|
9
9
|
import { openHelp } from '@atlaskit/editor-common/keymaps';
|
|
10
10
|
import { helpDialogMessages as messages } from '@atlaskit/editor-common/messages';
|
|
11
11
|
import { footer } from './styles';
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
7
7
|
import { jsx, css } from '@emotion/react';
|
|
8
|
-
import { FormattedMessage, injectIntl } from 'react-intl
|
|
8
|
+
import { FormattedMessage, injectIntl } from 'react-intl';
|
|
9
9
|
import { helpDialogMessages as messages } from '@atlaskit/editor-common/messages';
|
|
10
10
|
import { ToolbarButton } from '@atlaskit/editor-common/ui-menu';
|
|
11
11
|
import Heading from '@atlaskit/heading';
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
6
6
|
import { jsx } from '@emotion/react';
|
|
7
|
-
import { FormattedMessage } from 'react-intl
|
|
7
|
+
import { FormattedMessage } from 'react-intl';
|
|
8
8
|
import { getBrowserInfo } from '@atlaskit/editor-common/browser';
|
|
9
9
|
import { addInlineComment, addLink, alignCenter, alignLeft, alignRight, askAIQuickInsert, clearFormatting, decreaseMediaSize, dragToMoveDown, dragToMoveLeft, dragToMoveRight, dragToMoveUp, focusTableResizer, showElementDragHandle, focusToContextMenuTrigger, increaseMediaSize, insertRule, moveColumnLeft, moveColumnRight, moveRowDown, moveRowUp, navToEditorToolbar, navToFloatingToolbar, pastePlainText, redoAlt, setNormalText, toggleBlockQuote, toggleBold, toggleBulletList, toggleCode, toggleHeading1, toggleHeading2, toggleHeading3, toggleHeading4, toggleHeading5, toggleHeading6, toggleSmallText, toggleHighlightPalette, toggleItalic, toggleOrderedList, toggleStrikethrough, toggleSubscript, toggleSuperscript, toggleTaskItemCheckbox, toggleUnderline, undo } from '@atlaskit/editor-common/keymaps';
|
|
10
10
|
import { alignmentMessages, annotationMessages, blockTypeMessages, listMessages, helpDialogMessages as messages, tableMessages, toolbarInsertBlockMessages, toolbarMessages, undoRedoMessages } from '@atlaskit/editor-common/messages';
|
package/dist/es2019/ui/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import { useCallback, useEffect } from 'react';
|
|
|
6
6
|
|
|
7
7
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
8
8
|
import { jsx } from '@emotion/react';
|
|
9
|
-
import { injectIntl } from 'react-intl
|
|
9
|
+
import { injectIntl } from 'react-intl';
|
|
10
10
|
import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
|
|
11
11
|
import { helpDialogMessages as messages } from '@atlaskit/editor-common/messages';
|
|
12
12
|
import AkModalDialog, { ModalTransition } from '@atlaskit/modal-dialog';
|
|
@@ -7,7 +7,7 @@ import { Fragment } from 'react';
|
|
|
7
7
|
|
|
8
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
|
|
9
9
|
import { jsx } from '@emotion/react';
|
|
10
|
-
import { FormattedMessage, useIntl } from 'react-intl
|
|
10
|
+
import { FormattedMessage, useIntl } from 'react-intl';
|
|
11
11
|
import { getBrowserInfo } from '@atlaskit/editor-common/browser';
|
|
12
12
|
import { helpDialogMessages as messages } from '@atlaskit/editor-common/messages';
|
|
13
13
|
import Heading from '@atlaskit/heading';
|
|
@@ -5,7 +5,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
5
5
|
*/
|
|
6
6
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
|
|
7
7
|
import { jsx } from '@emotion/react';
|
|
8
|
-
import { FormattedMessage } from 'react-intl
|
|
8
|
+
import { FormattedMessage } from 'react-intl';
|
|
9
9
|
import { openHelp } from '@atlaskit/editor-common/keymaps';
|
|
10
10
|
import { helpDialogMessages as messages } from '@atlaskit/editor-common/messages';
|
|
11
11
|
import { footer } from './styles';
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
7
7
|
import { jsx, css } from '@emotion/react';
|
|
8
|
-
import { FormattedMessage, injectIntl } from 'react-intl
|
|
8
|
+
import { FormattedMessage, injectIntl } from 'react-intl';
|
|
9
9
|
import { helpDialogMessages as messages } from '@atlaskit/editor-common/messages';
|
|
10
10
|
import { ToolbarButton } from '@atlaskit/editor-common/ui-menu';
|
|
11
11
|
import Heading from '@atlaskit/heading';
|
|
@@ -5,7 +5,7 @@ import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
|
|
|
5
5
|
*/
|
|
6
6
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
7
7
|
import { jsx } from '@emotion/react';
|
|
8
|
-
import { FormattedMessage } from 'react-intl
|
|
8
|
+
import { FormattedMessage } from 'react-intl';
|
|
9
9
|
import { getBrowserInfo } from '@atlaskit/editor-common/browser';
|
|
10
10
|
import { addInlineComment, addLink, alignCenter, alignLeft, alignRight, askAIQuickInsert, clearFormatting, decreaseMediaSize, dragToMoveDown, dragToMoveLeft, dragToMoveRight, dragToMoveUp, focusTableResizer, showElementDragHandle, focusToContextMenuTrigger, increaseMediaSize, insertRule, moveColumnLeft, moveColumnRight, moveRowDown, moveRowUp, navToEditorToolbar, navToFloatingToolbar, pastePlainText, redoAlt, setNormalText, toggleBlockQuote, toggleBold, toggleBulletList, toggleCode, toggleHeading1, toggleHeading2, toggleHeading3, toggleHeading4, toggleHeading5, toggleHeading6, toggleSmallText, toggleHighlightPalette, toggleItalic, toggleOrderedList, toggleStrikethrough, toggleSubscript, toggleSuperscript, toggleTaskItemCheckbox, toggleUnderline, undo } from '@atlaskit/editor-common/keymaps';
|
|
11
11
|
import { alignmentMessages, annotationMessages, blockTypeMessages, listMessages, helpDialogMessages as messages, tableMessages, toolbarInsertBlockMessages, toolbarMessages, undoRedoMessages } from '@atlaskit/editor-common/messages';
|
package/dist/esm/ui/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import { useCallback, useEffect } from 'react';
|
|
|
6
6
|
|
|
7
7
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
8
8
|
import { jsx } from '@emotion/react';
|
|
9
|
-
import { injectIntl } from 'react-intl
|
|
9
|
+
import { injectIntl } from 'react-intl';
|
|
10
10
|
import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
|
|
11
11
|
import { helpDialogMessages as messages } from '@atlaskit/editor-common/messages';
|
|
12
12
|
import AkModalDialog, { ModalTransition } from '@atlaskit/modal-dialog';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
import type { ComponentType, FC } from 'react';
|
|
6
|
-
import type { WithIntlProps, WrappedComponentProps } from 'react-intl
|
|
6
|
+
import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
|
|
7
7
|
import { type OnCloseHandler } from '@atlaskit/modal-dialog';
|
|
8
8
|
interface ModalHeaderProps extends WrappedComponentProps {
|
|
9
9
|
onClose: OnCloseHandler | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IntlShape } from 'react-intl
|
|
1
|
+
import type { IntlShape } from 'react-intl';
|
|
2
2
|
import type { Schema } from '@atlaskit/editor-prosemirror/model';
|
|
3
3
|
import type { Format } from './Format';
|
|
4
4
|
export declare const formatting: (intl: IntlShape) => Format[];
|
package/dist/types/ui/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
import { type ComponentType, type FC } from 'react';
|
|
6
|
-
import type { WithIntlProps, WrappedComponentProps } from 'react-intl
|
|
6
|
+
import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
|
|
7
7
|
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
8
8
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
9
9
|
import type { HelpDialogPlugin } from '../helpDialogPluginType';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
import type { ComponentType, FC } from 'react';
|
|
6
|
-
import type { WithIntlProps, WrappedComponentProps } from 'react-intl
|
|
6
|
+
import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
|
|
7
7
|
import { type OnCloseHandler } from '@atlaskit/modal-dialog';
|
|
8
8
|
interface ModalHeaderProps extends WrappedComponentProps {
|
|
9
9
|
onClose: OnCloseHandler | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IntlShape } from 'react-intl
|
|
1
|
+
import type { IntlShape } from 'react-intl';
|
|
2
2
|
import type { Schema } from '@atlaskit/editor-prosemirror/model';
|
|
3
3
|
import type { Format } from './Format';
|
|
4
4
|
export declare const formatting: (intl: IntlShape) => Format[];
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
import { type ComponentType, type FC } from 'react';
|
|
6
|
-
import type { WithIntlProps, WrappedComponentProps } from 'react-intl
|
|
6
|
+
import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
|
|
7
7
|
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
8
8
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
9
9
|
import type { HelpDialogPlugin } from '../helpDialogPluginType';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-help-dialog",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "10.0.0",
|
|
4
4
|
"description": "Help Dialog plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
],
|
|
30
30
|
"atlaskit:src": "src/index.ts",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@atlaskit/editor-plugin-analytics": "^
|
|
33
|
-
"@atlaskit/editor-plugin-quick-insert": "^
|
|
32
|
+
"@atlaskit/editor-plugin-analytics": "^10.0.0",
|
|
33
|
+
"@atlaskit/editor-plugin-quick-insert": "^10.0.0",
|
|
34
34
|
"@atlaskit/editor-prosemirror": "^7.3.0",
|
|
35
35
|
"@atlaskit/editor-shared-styles": "^3.10.0",
|
|
36
36
|
"@atlaskit/heading": "^5.4.0",
|
|
@@ -43,15 +43,16 @@
|
|
|
43
43
|
"@atlaskit/tooltip": "^21.1.0",
|
|
44
44
|
"@babel/runtime": "^7.0.0",
|
|
45
45
|
"@emotion/react": "^11.7.1",
|
|
46
|
-
"react-intl-next": "npm:react-intl@^5.18.1",
|
|
47
46
|
"react-loadable": "^5.1.0"
|
|
48
47
|
},
|
|
49
48
|
"devDependencies": {
|
|
50
|
-
"@testing-library/react": "^16.3.0"
|
|
49
|
+
"@testing-library/react": "^16.3.0",
|
|
50
|
+
"react-intl": "^6.6.2"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
|
-
"@atlaskit/editor-common": "^
|
|
54
|
-
"react": "^18.2.0"
|
|
53
|
+
"@atlaskit/editor-common": "^114.0.0",
|
|
54
|
+
"react": "^18.2.0",
|
|
55
|
+
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|
|
55
56
|
},
|
|
56
57
|
"techstack": {
|
|
57
58
|
"@atlassian/frontend": {
|