@atlaskit/editor-plugin-help-dialog 1.2.8 → 1.2.10
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/.eslintrc.js +1 -1
- package/CHANGELOG.md +14 -0
- package/dist/cjs/ui/Format.js +1 -5
- package/dist/cjs/ui/Modal.js +1 -0
- package/dist/cjs/ui/ModalContent.js +2 -0
- package/dist/cjs/ui/ModalFooter.js +1 -0
- package/dist/cjs/ui/ModalHeader.js +1 -0
- package/dist/cjs/ui/formatting.js +3 -2
- package/dist/cjs/ui/index.js +2 -0
- package/dist/cjs/ui/styles.js +2 -0
- package/dist/cjs/ui/utils.js +1 -0
- package/dist/es2019/ui/Format.js +0 -1
- package/dist/es2019/ui/Modal.js +1 -0
- package/dist/es2019/ui/ModalContent.js +2 -0
- package/dist/es2019/ui/ModalFooter.js +1 -0
- package/dist/es2019/ui/ModalHeader.js +1 -0
- package/dist/es2019/ui/formatting.js +3 -2
- package/dist/es2019/ui/index.js +2 -0
- package/dist/es2019/ui/styles.js +1 -0
- package/dist/es2019/ui/utils.js +1 -0
- package/dist/esm/ui/Format.js +0 -1
- package/dist/esm/ui/Modal.js +1 -0
- package/dist/esm/ui/ModalContent.js +2 -0
- package/dist/esm/ui/ModalFooter.js +1 -0
- package/dist/esm/ui/ModalHeader.js +1 -0
- package/dist/esm/ui/formatting.js +3 -2
- package/dist/esm/ui/index.js +2 -0
- package/dist/esm/ui/styles.js +1 -0
- package/dist/esm/ui/utils.js +1 -0
- package/dist/types/ui/Format.d.ts +1 -2
- package/dist/types/ui/Modal.d.ts +1 -1
- package/dist/types/ui/ModalContent.d.ts +1 -1
- package/dist/types/ui/formatting.d.ts +1 -1
- package/dist/types-ts4.5/ui/Format.d.ts +1 -2
- package/dist/types-ts4.5/ui/Modal.d.ts +1 -1
- package/dist/types-ts4.5/ui/ModalContent.d.ts +1 -1
- package/dist/types-ts4.5/ui/formatting.d.ts +1 -1
- package/package.json +7 -10
package/.eslintrc.js
CHANGED
|
@@ -2,7 +2,7 @@ module.exports = {
|
|
|
2
2
|
rules: {
|
|
3
3
|
'@typescript-eslint/no-duplicate-imports': 'error',
|
|
4
4
|
'@typescript-eslint/no-explicit-any': 'error',
|
|
5
|
-
'@atlaskit/design-system/consistent-css-prop-usage': '
|
|
5
|
+
'@atlaskit/design-system/consistent-css-prop-usage': 'error',
|
|
6
6
|
'@repo/internal/dom-events/no-unsafe-event-listeners': 'warn',
|
|
7
7
|
'@atlaskit/design-system/ensure-design-token-usage/preview': [
|
|
8
8
|
'error',
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-help-dialog
|
|
2
2
|
|
|
3
|
+
## 1.2.10
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#113338](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/113338)
|
|
8
|
+
[`6b5439f51eab4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6b5439f51eab4) -
|
|
9
|
+
ECA11Y-5 remove FF from codebase
|
|
10
|
+
|
|
11
|
+
## 1.2.9
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 1.2.8
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/dist/cjs/ui/Format.js
CHANGED
package/dist/cjs/ui/Modal.js
CHANGED
|
@@ -8,6 +8,7 @@ var _react = require("@emotion/react");
|
|
|
8
8
|
var _modalDialog = require("@atlaskit/modal-dialog");
|
|
9
9
|
var _ModalContent = require("./ModalContent");
|
|
10
10
|
/** @jsx jsx */
|
|
11
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
11
12
|
|
|
12
13
|
var Modal = function Modal(_ref) {
|
|
13
14
|
var formatting = _ref.formatting;
|
|
@@ -17,6 +17,8 @@ var _utils2 = require("./utils");
|
|
|
17
17
|
/** @jsx jsx */
|
|
18
18
|
/** @jsxFrag */
|
|
19
19
|
|
|
20
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
21
|
+
|
|
20
22
|
var ModalContent = exports.ModalContent = function ModalContent(_ref) {
|
|
21
23
|
var formatting = _ref.formatting,
|
|
22
24
|
onClose = _ref.onClose;
|
|
@@ -13,6 +13,7 @@ var _messages = require("@atlaskit/editor-common/messages");
|
|
|
13
13
|
var _styles = require("./styles");
|
|
14
14
|
var _utils = require("./utils");
|
|
15
15
|
/** @jsx jsx */
|
|
16
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
16
17
|
|
|
17
18
|
var ModalFooter = function ModalFooter() {
|
|
18
19
|
return (
|
|
@@ -12,6 +12,7 @@ var _uiMenu = require("@atlaskit/editor-common/ui-menu");
|
|
|
12
12
|
var _cross = _interopRequireDefault(require("@atlaskit/icon/glyph/cross"));
|
|
13
13
|
var _styles = require("./styles");
|
|
14
14
|
/** @jsx jsx */
|
|
15
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
15
16
|
|
|
16
17
|
var ModalHeader = (0, _reactIntlNext.injectIntl)(function (_ref) {
|
|
17
18
|
var formatMessage = _ref.intl.formatMessage,
|
|
@@ -14,6 +14,7 @@ var _utils = require("@atlaskit/editor-common/utils");
|
|
|
14
14
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
15
15
|
var _styles = require("./styles");
|
|
16
16
|
/** @jsx jsx */
|
|
17
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
17
18
|
|
|
18
19
|
var navigationKeymaps = function navigationKeymaps(_ref) {
|
|
19
20
|
var formatMessage = _ref.formatMessage;
|
|
@@ -488,7 +489,7 @@ var otherFormatting = function otherFormatting(_ref3) {
|
|
|
488
489
|
}, "\u2191")))
|
|
489
490
|
);
|
|
490
491
|
}
|
|
491
|
-
}]),
|
|
492
|
+
}]), [{
|
|
492
493
|
name: formatMessage(_messages.helpDialogMessages.selectColumnResize),
|
|
493
494
|
type: 'table',
|
|
494
495
|
autoFormatting: function autoFormatting() {
|
|
@@ -507,7 +508,7 @@ var otherFormatting = function otherFormatting(_ref3) {
|
|
|
507
508
|
}, "C")))
|
|
508
509
|
);
|
|
509
510
|
}
|
|
510
|
-
}]
|
|
511
|
+
}], [{
|
|
511
512
|
name: formatMessage(_messages.helpDialogMessages.highlightColor),
|
|
512
513
|
type: 'highlight',
|
|
513
514
|
keymap: function keymap() {
|
package/dist/cjs/ui/index.js
CHANGED
|
@@ -18,6 +18,8 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
|
|
|
18
18
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
19
19
|
/** @jsx jsx */
|
|
20
20
|
|
|
21
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
22
|
+
|
|
21
23
|
var HelpDialog = function HelpDialog(_ref) {
|
|
22
24
|
var pluginInjectionApi = _ref.pluginInjectionApi,
|
|
23
25
|
editorView = _ref.editorView,
|
package/dist/cjs/ui/styles.js
CHANGED
|
@@ -11,6 +11,8 @@ var _colors = _interopRequireWildcard(require("@atlaskit/theme/colors"));
|
|
|
11
11
|
var colors = _colors;
|
|
12
12
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
13
13
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
14
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
15
|
+
|
|
14
16
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
|
|
15
17
|
var header = exports.header = (0, _react.css)({
|
|
16
18
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
package/dist/cjs/ui/utils.js
CHANGED
|
@@ -8,6 +8,7 @@ var _react = require("@emotion/react");
|
|
|
8
8
|
var _utils = require("@atlaskit/editor-common/utils");
|
|
9
9
|
var _styles = require("./styles");
|
|
10
10
|
/** @jsx jsx */
|
|
11
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
11
12
|
|
|
12
13
|
var getKeyParts = function getKeyParts(keymap) {
|
|
13
14
|
var shortcut = keymap[_utils.browser.mac ? 'mac' : 'windows'];
|
package/dist/es2019/ui/Format.js
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/dist/es2019/ui/Modal.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
/** @jsxFrag */
|
|
3
3
|
import React from 'react';
|
|
4
|
+
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
6
|
import { jsx } from '@emotion/react';
|
|
5
7
|
import { FormattedMessage } from 'react-intl-next';
|
|
6
8
|
import { helpDialogMessages as messages } from '@atlaskit/editor-common/messages';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
/** @jsx jsx */
|
|
3
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
4
|
import { jsx } from '@emotion/react';
|
|
4
5
|
import { FormattedMessage } from 'react-intl-next';
|
|
5
6
|
import { openHelp } from '@atlaskit/editor-common/keymaps';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
3
|
import { jsx } from '@emotion/react';
|
|
3
4
|
import { FormattedMessage, injectIntl } from 'react-intl-next';
|
|
4
5
|
import { helpDialogMessages as messages } from '@atlaskit/editor-common/messages';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
3
|
import { jsx } from '@emotion/react';
|
|
3
4
|
import { FormattedMessage } from 'react-intl-next';
|
|
4
5
|
import { addInlineComment, addLink, alignCenter, alignLeft, alignRight, clearFormatting, decreaseMediaSize, focusTableResizer, increaseMediaSize, insertRule, navToEditorToolbar, navToFloatingToolbar, pastePlainText, redo, setNormalText, toggleBlockQuote, toggleBold, toggleBulletList, toggleCode, toggleHeading1, toggleHeading2, toggleHeading3, toggleHeading4, toggleHeading5, toggleHeading6, toggleHighlightPalette, toggleItalic, toggleOrderedList, toggleStrikethrough, toggleSubscript, toggleSuperscript, toggleTaskItemCheckbox, toggleUnderline, undo } from '@atlaskit/editor-common/keymaps';
|
|
@@ -359,7 +360,7 @@ const otherFormatting = ({
|
|
|
359
360
|
}, browser.mac ? 'Opt' : 'Alt'), ' + ', jsx("span", {
|
|
360
361
|
css: codeSm
|
|
361
362
|
}, "\u2191")))
|
|
362
|
-
}]), ...
|
|
363
|
+
}]), ...[{
|
|
363
364
|
name: formatMessage(messages.selectColumnResize),
|
|
364
365
|
type: 'table',
|
|
365
366
|
autoFormatting: () =>
|
|
@@ -375,7 +376,7 @@ const otherFormatting = ({
|
|
|
375
376
|
}, "Shift"), ' + ', jsx("span", {
|
|
376
377
|
css: codeSm
|
|
377
378
|
}, "C")))
|
|
378
|
-
}]
|
|
379
|
+
}], {
|
|
379
380
|
name: formatMessage(messages.highlightColor),
|
|
380
381
|
type: 'highlight',
|
|
381
382
|
keymap: () => toggleHighlightPalette
|
package/dist/es2019/ui/index.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import { useCallback, useEffect } from 'react';
|
|
3
|
+
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
5
|
import { jsx } from '@emotion/react';
|
|
4
6
|
import { injectIntl } from 'react-intl-next';
|
|
5
7
|
import { useSharedPluginState } from '@atlaskit/editor-common/hooks';
|
package/dist/es2019/ui/styles.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
1
2
|
import { css } from '@emotion/react';
|
|
2
3
|
import { akEditorUnitZIndex, relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles';
|
|
3
4
|
import * as colors from '@atlaskit/theme/colors';
|
package/dist/es2019/ui/utils.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
3
|
import { jsx } from '@emotion/react';
|
|
3
4
|
import { browser } from '@atlaskit/editor-common/utils';
|
|
4
5
|
import { codeLg, codeMd, codeSm, componentFromKeymapWrapperStyles } from './styles';
|
package/dist/esm/ui/Format.js
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/dist/esm/ui/Modal.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
/** @jsxFrag */
|
|
3
3
|
import React from 'react';
|
|
4
|
+
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
6
|
import { jsx } from '@emotion/react';
|
|
5
7
|
import { FormattedMessage } from 'react-intl-next';
|
|
6
8
|
import { helpDialogMessages as messages } from '@atlaskit/editor-common/messages';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
/** @jsx jsx */
|
|
3
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
4
|
import { jsx } from '@emotion/react';
|
|
4
5
|
import { FormattedMessage } from 'react-intl-next';
|
|
5
6
|
import { openHelp } from '@atlaskit/editor-common/keymaps';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
3
|
import { jsx } from '@emotion/react';
|
|
3
4
|
import { FormattedMessage, injectIntl } from 'react-intl-next';
|
|
4
5
|
import { helpDialogMessages as messages } from '@atlaskit/editor-common/messages';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
|
|
2
2
|
/** @jsx jsx */
|
|
3
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
4
|
import { jsx } from '@emotion/react';
|
|
4
5
|
import { FormattedMessage } from 'react-intl-next';
|
|
5
6
|
import { addInlineComment, addLink, alignCenter, alignLeft, alignRight, clearFormatting, decreaseMediaSize, focusTableResizer, increaseMediaSize, insertRule, navToEditorToolbar, navToFloatingToolbar, pastePlainText, redo, setNormalText, toggleBlockQuote, toggleBold, toggleBulletList, toggleCode, toggleHeading1, toggleHeading2, toggleHeading3, toggleHeading4, toggleHeading5, toggleHeading6, toggleHighlightPalette, toggleItalic, toggleOrderedList, toggleStrikethrough, toggleSubscript, toggleSuperscript, toggleTaskItemCheckbox, toggleUnderline, undo } from '@atlaskit/editor-common/keymaps';
|
|
@@ -480,7 +481,7 @@ var otherFormatting = function otherFormatting(_ref3) {
|
|
|
480
481
|
}, "\u2191")))
|
|
481
482
|
);
|
|
482
483
|
}
|
|
483
|
-
}]),
|
|
484
|
+
}]), [{
|
|
484
485
|
name: formatMessage(messages.selectColumnResize),
|
|
485
486
|
type: 'table',
|
|
486
487
|
autoFormatting: function autoFormatting() {
|
|
@@ -499,7 +500,7 @@ var otherFormatting = function otherFormatting(_ref3) {
|
|
|
499
500
|
}, "C")))
|
|
500
501
|
);
|
|
501
502
|
}
|
|
502
|
-
}]
|
|
503
|
+
}], [{
|
|
503
504
|
name: formatMessage(messages.highlightColor),
|
|
504
505
|
type: 'highlight',
|
|
505
506
|
keymap: function keymap() {
|
package/dist/esm/ui/index.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import { useCallback, useEffect } from 'react';
|
|
3
|
+
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
5
|
import { jsx } from '@emotion/react';
|
|
4
6
|
import { injectIntl } from 'react-intl-next';
|
|
5
7
|
import { useSharedPluginState } from '@atlaskit/editor-common/hooks';
|
package/dist/esm/ui/styles.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
1
2
|
import { css } from '@emotion/react';
|
|
2
3
|
import { akEditorUnitZIndex, relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles';
|
|
3
4
|
import * as colors from '@atlaskit/theme/colors';
|
package/dist/esm/ui/utils.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
3
|
import { jsx } from '@emotion/react';
|
|
3
4
|
import { browser } from '@atlaskit/editor-common/utils';
|
|
4
5
|
import { codeLg, codeMd, codeSm, componentFromKeymapWrapperStyles } from './styles';
|
package/dist/types/ui/Modal.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from '@emotion/react';
|
|
2
2
|
import type { OnCloseHandler } from '@atlaskit/modal-dialog';
|
|
3
|
-
import type Format from './Format';
|
|
3
|
+
import type { Format } from './Format';
|
|
4
4
|
interface ModalContentProps {
|
|
5
5
|
formatting: Format[];
|
|
6
6
|
onClose: OnCloseHandler | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { IntlShape } from 'react-intl-next';
|
|
2
2
|
import type { Schema } from '@atlaskit/editor-prosemirror/model';
|
|
3
|
-
import type Format from './Format';
|
|
3
|
+
import type { Format } from './Format';
|
|
4
4
|
export declare const formatting: (intl: IntlShape) => Format[];
|
|
5
5
|
export declare const getSupportedFormatting: (schema: Schema, intl: IntlShape, imageEnabled?: boolean, quickInsertEnabled?: boolean) => Format[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from '@emotion/react';
|
|
2
2
|
import type { OnCloseHandler } from '@atlaskit/modal-dialog';
|
|
3
|
-
import type Format from './Format';
|
|
3
|
+
import type { Format } from './Format';
|
|
4
4
|
interface ModalContentProps {
|
|
5
5
|
formatting: Format[];
|
|
6
6
|
onClose: OnCloseHandler | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { IntlShape } from 'react-intl-next';
|
|
2
2
|
import type { Schema } from '@atlaskit/editor-prosemirror/model';
|
|
3
|
-
import type Format from './Format';
|
|
3
|
+
import type { Format } from './Format';
|
|
4
4
|
export declare const formatting: (intl: IntlShape) => Format[];
|
|
5
5
|
export declare const getSupportedFormatting: (schema: Schema, intl: IntlShape, imageEnabled?: boolean, quickInsertEnabled?: boolean) => Format[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-help-dialog",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.10",
|
|
4
4
|
"description": "Help Dialog plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -32,16 +32,16 @@
|
|
|
32
32
|
".": "./src/index.ts"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@atlaskit/editor-common": "^
|
|
36
|
-
"@atlaskit/editor-plugin-analytics": "^1.
|
|
35
|
+
"@atlaskit/editor-common": "^83.0.0",
|
|
36
|
+
"@atlaskit/editor-plugin-analytics": "^1.3.0",
|
|
37
37
|
"@atlaskit/editor-plugin-quick-insert": "^1.1.0",
|
|
38
38
|
"@atlaskit/editor-prosemirror": "4.0.1",
|
|
39
39
|
"@atlaskit/editor-shared-styles": "^2.12.0",
|
|
40
|
-
"@atlaskit/icon": "^22.
|
|
41
|
-
"@atlaskit/modal-dialog": "^12.
|
|
40
|
+
"@atlaskit/icon": "^22.5.0",
|
|
41
|
+
"@atlaskit/modal-dialog": "^12.14.0",
|
|
42
42
|
"@atlaskit/platform-feature-flags": "^0.2.5",
|
|
43
|
-
"@atlaskit/theme": "^12.
|
|
44
|
-
"@atlaskit/tokens": "^1.
|
|
43
|
+
"@atlaskit/theme": "^12.11.0",
|
|
44
|
+
"@atlaskit/tokens": "^1.53.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",
|
|
@@ -90,9 +90,6 @@
|
|
|
90
90
|
"platform.editor.text-alignment-keyboard-shortcuts": {
|
|
91
91
|
"type": "boolean"
|
|
92
92
|
},
|
|
93
|
-
"platform.editor.a11y-column-resizing_emcvz": {
|
|
94
|
-
"type": "boolean"
|
|
95
|
-
},
|
|
96
93
|
"platform.editor.a11y-help-dialog-shortcut-keys-position_aghfg": {
|
|
97
94
|
"type": "boolean"
|
|
98
95
|
}
|