@atlaskit/editor-plugin-help-dialog 1.2.7 → 1.2.9
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 +16 -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 +1 -0
- package/dist/cjs/ui/index.js +2 -0
- package/dist/cjs/ui/styles.js +4 -1
- 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 +1 -0
- package/dist/es2019/ui/index.js +2 -0
- package/dist/es2019/ui/styles.js +3 -1
- 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 +1 -0
- package/dist/esm/ui/index.js +2 -0
- package/dist/esm/ui/styles.js +3 -1
- 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 +33 -15
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,21 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-help-dialog
|
|
2
2
|
|
|
3
|
+
## 1.2.9
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 1.2.8
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#111297](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/111297)
|
|
14
|
+
[`5f51c15a6d33f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5f51c15a6d33f) -
|
|
15
|
+
Updates focus style override on the close button in the help modal, to work with the latest change
|
|
16
|
+
to `@atlaskit/button` focus style.
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
|
|
3
19
|
## 1.2.7
|
|
4
20
|
|
|
5
21
|
### 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;
|
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
|
|
@@ -161,7 +163,8 @@ var componentFromKeymapWrapperStyles = exports.componentFromKeymapWrapperStyles
|
|
|
161
163
|
|
|
162
164
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
|
|
163
165
|
var toolbarButton = exports.toolbarButton = (0, _react.css)({
|
|
164
|
-
|
|
166
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
167
|
+
'&:focus:not(:focus-visible)': {
|
|
165
168
|
outline: "2px solid ".concat("var(--ds-border-focused, ".concat(_colors.B300, ")")),
|
|
166
169
|
outlineOffset: "var(--ds-space-025, 2px)"
|
|
167
170
|
}
|
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';
|
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';
|
|
@@ -152,7 +153,8 @@ export const componentFromKeymapWrapperStyles = css({
|
|
|
152
153
|
|
|
153
154
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
|
|
154
155
|
export const toolbarButton = css({
|
|
155
|
-
|
|
156
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
157
|
+
'&:focus:not(:focus-visible)': {
|
|
156
158
|
outline: `2px solid ${`var(--ds-border-focused, ${B300})`}`,
|
|
157
159
|
outlineOffset: "var(--ds-space-025, 2px)"
|
|
158
160
|
}
|
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';
|
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';
|
|
@@ -152,7 +153,8 @@ export var componentFromKeymapWrapperStyles = css({
|
|
|
152
153
|
|
|
153
154
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
|
|
154
155
|
export var toolbarButton = css({
|
|
155
|
-
|
|
156
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
157
|
+
'&:focus:not(:focus-visible)': {
|
|
156
158
|
outline: "2px solid ".concat("var(--ds-border-focused, ".concat(B300, ")")),
|
|
157
159
|
outlineOffset: "var(--ds-space-025, 2px)"
|
|
158
160
|
}
|
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.9",
|
|
4
4
|
"description": "Help Dialog plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -20,7 +20,10 @@
|
|
|
20
20
|
"types": "dist/types/index.d.ts",
|
|
21
21
|
"typesVersions": {
|
|
22
22
|
">=4.5 <4.9": {
|
|
23
|
-
"*": [
|
|
23
|
+
"*": [
|
|
24
|
+
"dist/types-ts4.5/*",
|
|
25
|
+
"dist/types-ts4.5/index.d.ts"
|
|
26
|
+
]
|
|
24
27
|
}
|
|
25
28
|
},
|
|
26
29
|
"sideEffects": false,
|
|
@@ -29,16 +32,16 @@
|
|
|
29
32
|
".": "./src/index.ts"
|
|
30
33
|
},
|
|
31
34
|
"dependencies": {
|
|
32
|
-
"@atlaskit/editor-common": "^
|
|
33
|
-
"@atlaskit/editor-plugin-analytics": "^1.
|
|
35
|
+
"@atlaskit/editor-common": "^83.0.0",
|
|
36
|
+
"@atlaskit/editor-plugin-analytics": "^1.3.0",
|
|
34
37
|
"@atlaskit/editor-plugin-quick-insert": "^1.1.0",
|
|
35
38
|
"@atlaskit/editor-prosemirror": "4.0.1",
|
|
36
39
|
"@atlaskit/editor-shared-styles": "^2.12.0",
|
|
37
|
-
"@atlaskit/icon": "^22.
|
|
38
|
-
"@atlaskit/modal-dialog": "^12.
|
|
40
|
+
"@atlaskit/icon": "^22.4.0",
|
|
41
|
+
"@atlaskit/modal-dialog": "^12.14.0",
|
|
39
42
|
"@atlaskit/platform-feature-flags": "^0.2.5",
|
|
40
|
-
"@atlaskit/theme": "^12.
|
|
41
|
-
"@atlaskit/tokens": "^1.
|
|
43
|
+
"@atlaskit/theme": "^12.11.0",
|
|
44
|
+
"@atlaskit/tokens": "^1.53.0",
|
|
42
45
|
"@babel/runtime": "^7.0.0",
|
|
43
46
|
"@emotion/react": "^11.7.1",
|
|
44
47
|
"react-intl-next": "npm:react-intl@^5.18.1",
|
|
@@ -52,17 +55,32 @@
|
|
|
52
55
|
},
|
|
53
56
|
"techstack": {
|
|
54
57
|
"@atlassian/frontend": {
|
|
55
|
-
"import-structure": [
|
|
56
|
-
|
|
58
|
+
"import-structure": [
|
|
59
|
+
"atlassian-conventions"
|
|
60
|
+
],
|
|
61
|
+
"circular-dependencies": [
|
|
62
|
+
"file-and-folder-level"
|
|
63
|
+
]
|
|
57
64
|
},
|
|
58
65
|
"@repo/internal": {
|
|
59
66
|
"dom-events": "use-bind-event-listener",
|
|
60
|
-
"analytics": [
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
"
|
|
67
|
+
"analytics": [
|
|
68
|
+
"analytics-next"
|
|
69
|
+
],
|
|
70
|
+
"design-tokens": [
|
|
71
|
+
"color"
|
|
72
|
+
],
|
|
73
|
+
"theming": [
|
|
74
|
+
"react-context"
|
|
75
|
+
],
|
|
76
|
+
"ui-components": [
|
|
77
|
+
"lite-mode"
|
|
78
|
+
],
|
|
64
79
|
"deprecation": "no-deprecated-imports",
|
|
65
|
-
"styling": [
|
|
80
|
+
"styling": [
|
|
81
|
+
"emotion",
|
|
82
|
+
"emotion"
|
|
83
|
+
]
|
|
66
84
|
}
|
|
67
85
|
},
|
|
68
86
|
"platform-feature-flags": {
|