@atlaskit/editor-core 187.48.5 → 187.48.7
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 +14 -0
- package/README.md +1 -1
- package/dist/cjs/plugins/media/toolbar/index.js +3 -1
- package/dist/cjs/ui/ToolbarHelp/index.js +2 -2
- package/dist/cjs/ui/WithHelpTrigger/index.js +6 -2
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/plugins/media/toolbar/index.js +6 -2
- package/dist/es2019/ui/ToolbarHelp/index.js +2 -2
- package/dist/es2019/ui/WithHelpTrigger/index.js +6 -1
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/plugins/media/toolbar/index.js +4 -2
- package/dist/esm/ui/ToolbarHelp/index.js +2 -2
- package/dist/esm/ui/WithHelpTrigger/index.js +6 -1
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/ui/ToolbarHelp/index.d.ts +2 -2
- package/dist/types/ui/WithHelpTrigger/index.d.ts +8 -2
- package/dist/types-ts4.5/ui/ToolbarHelp/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/WithHelpTrigger/index.d.ts +8 -2
- package/package.json +6 -2
- package/report.api.md +9 -5
- package/tmp/api-report-tmp.d.ts +9 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 187.48.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#40786](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40786) [`fc0c789c450`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fc0c789c450) - Add platform.linking-platform.datasource.show-jlol-basic-filters feature flag reference for usage in editor examples
|
|
8
|
+
|
|
9
|
+
## 187.48.6
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#40691](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40691) [`cffa2089176`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cffa2089176) - Decouple Help Dialog Plugin from Editor Core
|
|
14
|
+
- [#40485](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40485) [`14a726ecf5d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/14a726ecf5d) - [ux] Respect allowResizingInTables for pixel entry component
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 187.48.5
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ Main package for the Atlassian Editor.
|
|
|
6
6
|
|
|
7
7
|
Current devloop involves leveraging the atlaskit website shell to build out examples.
|
|
8
8
|
|
|
9
|
-
0. After following https://
|
|
9
|
+
0. After following https://hello.atlassian.net/wiki/spaces/AF/pages/2634599657/Getting+Started
|
|
10
10
|
1. `yarn start editor-core`
|
|
11
11
|
|
|
12
12
|
Then hit http://localhost:9000/examples/editor/editor-core
|
|
@@ -262,7 +262,9 @@ var generateMediaSingleFloatingToolbar = function generateMediaSingleFloatingToo
|
|
|
262
262
|
}
|
|
263
263
|
|
|
264
264
|
// Pixel Entry Toolbar Support
|
|
265
|
-
|
|
265
|
+
var selection = state.selection;
|
|
266
|
+
var isWithinTable = (0, _utils.hasParentNodeOfType)([state.schema.nodes.table])(selection);
|
|
267
|
+
if ((0, _platformFeatureFlags.getBooleanFF)('platform.editor.media.extended-resize-experience') && allowResizing && (!isWithinTable || allowResizingInTables === true)) {
|
|
266
268
|
var selectedMediaSingleNode = (0, _utils2.getSelectedMediaSingle)(state);
|
|
267
269
|
var sizeInput = {
|
|
268
270
|
type: 'custom',
|
|
@@ -11,7 +11,7 @@ var _ToolbarButton = _interopRequireDefault(require("../ToolbarButton"));
|
|
|
11
11
|
var _WithHelpTrigger = _interopRequireDefault(require("../WithHelpTrigger"));
|
|
12
12
|
var _reactIntlNext = require("react-intl-next");
|
|
13
13
|
var _messages = require("./messages");
|
|
14
|
-
var
|
|
14
|
+
var TooltipHelpTrigger = function TooltipHelpTrigger(_ref) {
|
|
15
15
|
var _ref$title = _ref.title,
|
|
16
16
|
title = _ref$title === void 0 ? 'Open help dialog' : _ref$title,
|
|
17
17
|
_ref$titlePosition = _ref.titlePosition,
|
|
@@ -35,5 +35,5 @@ var tooltipHelpTrigger = function tooltipHelpTrigger(_ref) {
|
|
|
35
35
|
}
|
|
36
36
|
});
|
|
37
37
|
};
|
|
38
|
-
var _default = (0, _reactIntlNext.injectIntl)(
|
|
38
|
+
var _default = (0, _reactIntlNext.injectIntl)(TooltipHelpTrigger);
|
|
39
39
|
exports.default = _default;
|
|
@@ -16,10 +16,14 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
16
16
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
17
17
|
var _analytics = require("../../plugins/analytics");
|
|
18
18
|
var _eventDispatcher = require("../../event-dispatcher");
|
|
19
|
-
var _commands = require("../../plugins/help-dialog/commands");
|
|
20
19
|
var _consts = require("../../plugins/analytics/consts");
|
|
20
|
+
var _commands = require("../../plugins/help-dialog/commands");
|
|
21
21
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
|
22
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
22
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } // TODO - ED-20189 Source deprecatedOpenHelpCommand from help-dialog-plugin
|
|
23
|
+
/**
|
|
24
|
+
* @deprecated
|
|
25
|
+
* Use WithHelpTrigger from @atlaskit/editor-plugin-help-dialog which uses pluginInjectionApi
|
|
26
|
+
*/
|
|
23
27
|
var WithHelpTrigger = /*#__PURE__*/function (_React$Component) {
|
|
24
28
|
(0, _inherits2.default)(WithHelpTrigger, _React$Component);
|
|
25
29
|
var _super = _createSuper(WithHelpTrigger);
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.version = exports.nextMajorVersion = exports.name = void 0;
|
|
7
7
|
var name = "@atlaskit/editor-core";
|
|
8
8
|
exports.name = name;
|
|
9
|
-
var version = "187.48.
|
|
9
|
+
var version = "187.48.7";
|
|
10
10
|
exports.version = version;
|
|
11
11
|
var nextMajorVersion = function nextMajorVersion() {
|
|
12
12
|
return [Number(version.split('.')[0]) + 1, 0, 0].join('.');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { NodeSelection } from '@atlaskit/editor-prosemirror/state';
|
|
3
|
-
import { findParentNodeOfType, removeSelectedNode } from '@atlaskit/editor-prosemirror/utils';
|
|
3
|
+
import { findParentNodeOfType, hasParentNodeOfType, removeSelectedNode } from '@atlaskit/editor-prosemirror/utils';
|
|
4
4
|
import RemoveIcon from '@atlaskit/icon/glyph/editor/remove';
|
|
5
5
|
import DownloadIcon from '@atlaskit/icon/glyph/download';
|
|
6
6
|
import { mediaFilmstripItemDOMSelector } from '@atlaskit/media-filmstrip';
|
|
@@ -260,7 +260,11 @@ const generateMediaSingleFloatingToolbar = (state, intl, options, pluginState, m
|
|
|
260
260
|
}
|
|
261
261
|
|
|
262
262
|
// Pixel Entry Toolbar Support
|
|
263
|
-
|
|
263
|
+
const {
|
|
264
|
+
selection
|
|
265
|
+
} = state;
|
|
266
|
+
const isWithinTable = hasParentNodeOfType([state.schema.nodes.table])(selection);
|
|
267
|
+
if (getBooleanFF('platform.editor.media.extended-resize-experience') && allowResizing && (!isWithinTable || allowResizingInTables === true)) {
|
|
264
268
|
const selectedMediaSingleNode = getSelectedMediaSingle(state);
|
|
265
269
|
const sizeInput = {
|
|
266
270
|
type: 'custom',
|
|
@@ -4,7 +4,7 @@ import ToolbarButton from '../ToolbarButton';
|
|
|
4
4
|
import WithHelpTrigger from '../WithHelpTrigger';
|
|
5
5
|
import { injectIntl } from 'react-intl-next';
|
|
6
6
|
import { messages } from './messages';
|
|
7
|
-
const
|
|
7
|
+
const TooltipHelpTrigger = ({
|
|
8
8
|
title = 'Open help dialog',
|
|
9
9
|
titlePosition = 'left',
|
|
10
10
|
intl
|
|
@@ -25,4 +25,4 @@ const tooltipHelpTrigger = ({
|
|
|
25
25
|
})
|
|
26
26
|
});
|
|
27
27
|
};
|
|
28
|
-
export default injectIntl(
|
|
28
|
+
export default injectIntl(TooltipHelpTrigger);
|
|
@@ -3,8 +3,13 @@ import React from 'react';
|
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import { ACTION, ACTION_SUBJECT, INPUT_METHOD, EVENT_TYPE, ACTION_SUBJECT_ID } from '../../plugins/analytics';
|
|
5
5
|
import { createDispatch } from '../../event-dispatcher';
|
|
6
|
-
import { openHelpCommand } from '../../plugins/help-dialog/commands';
|
|
7
6
|
import { analyticsEventKey } from '../../plugins/analytics/consts';
|
|
7
|
+
// TODO - ED-20189 Source deprecatedOpenHelpCommand from help-dialog-plugin
|
|
8
|
+
import { openHelpCommand } from '../../plugins/help-dialog/commands';
|
|
9
|
+
/**
|
|
10
|
+
* @deprecated
|
|
11
|
+
* Use WithHelpTrigger from @atlaskit/editor-plugin-help-dialog which uses pluginInjectionApi
|
|
12
|
+
*/
|
|
8
13
|
export default class WithHelpTrigger extends React.Component {
|
|
9
14
|
constructor(...args) {
|
|
10
15
|
super(...args);
|
|
@@ -4,7 +4,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
4
4
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import { NodeSelection } from '@atlaskit/editor-prosemirror/state';
|
|
7
|
-
import { findParentNodeOfType, removeSelectedNode } from '@atlaskit/editor-prosemirror/utils';
|
|
7
|
+
import { findParentNodeOfType, hasParentNodeOfType, removeSelectedNode } from '@atlaskit/editor-prosemirror/utils';
|
|
8
8
|
import RemoveIcon from '@atlaskit/icon/glyph/editor/remove';
|
|
9
9
|
import DownloadIcon from '@atlaskit/icon/glyph/download';
|
|
10
10
|
import { mediaFilmstripItemDOMSelector } from '@atlaskit/media-filmstrip';
|
|
@@ -253,7 +253,9 @@ var generateMediaSingleFloatingToolbar = function generateMediaSingleFloatingToo
|
|
|
253
253
|
}
|
|
254
254
|
|
|
255
255
|
// Pixel Entry Toolbar Support
|
|
256
|
-
|
|
256
|
+
var selection = state.selection;
|
|
257
|
+
var isWithinTable = hasParentNodeOfType([state.schema.nodes.table])(selection);
|
|
258
|
+
if (getBooleanFF('platform.editor.media.extended-resize-experience') && allowResizing && (!isWithinTable || allowResizingInTables === true)) {
|
|
257
259
|
var selectedMediaSingleNode = getSelectedMediaSingle(state);
|
|
258
260
|
var sizeInput = {
|
|
259
261
|
type: 'custom',
|
|
@@ -4,7 +4,7 @@ import ToolbarButton from '../ToolbarButton';
|
|
|
4
4
|
import WithHelpTrigger from '../WithHelpTrigger';
|
|
5
5
|
import { injectIntl } from 'react-intl-next';
|
|
6
6
|
import { messages } from './messages';
|
|
7
|
-
var
|
|
7
|
+
var TooltipHelpTrigger = function TooltipHelpTrigger(_ref) {
|
|
8
8
|
var _ref$title = _ref.title,
|
|
9
9
|
title = _ref$title === void 0 ? 'Open help dialog' : _ref$title,
|
|
10
10
|
_ref$titlePosition = _ref.titlePosition,
|
|
@@ -28,4 +28,4 @@ var tooltipHelpTrigger = function tooltipHelpTrigger(_ref) {
|
|
|
28
28
|
}
|
|
29
29
|
});
|
|
30
30
|
};
|
|
31
|
-
export default injectIntl(
|
|
31
|
+
export default injectIntl(TooltipHelpTrigger);
|
|
@@ -11,8 +11,13 @@ import React from 'react';
|
|
|
11
11
|
import PropTypes from 'prop-types';
|
|
12
12
|
import { ACTION, ACTION_SUBJECT, INPUT_METHOD, EVENT_TYPE, ACTION_SUBJECT_ID } from '../../plugins/analytics';
|
|
13
13
|
import { createDispatch } from '../../event-dispatcher';
|
|
14
|
-
import { openHelpCommand } from '../../plugins/help-dialog/commands';
|
|
15
14
|
import { analyticsEventKey } from '../../plugins/analytics/consts';
|
|
15
|
+
// TODO - ED-20189 Source deprecatedOpenHelpCommand from help-dialog-plugin
|
|
16
|
+
import { openHelpCommand } from '../../plugins/help-dialog/commands';
|
|
17
|
+
/**
|
|
18
|
+
* @deprecated
|
|
19
|
+
* Use WithHelpTrigger from @atlaskit/editor-plugin-help-dialog which uses pluginInjectionApi
|
|
20
|
+
*/
|
|
16
21
|
var WithHelpTrigger = /*#__PURE__*/function (_React$Component) {
|
|
17
22
|
_inherits(WithHelpTrigger, _React$Component);
|
|
18
23
|
var _super = _createSuper(WithHelpTrigger);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { PositionType } from '@atlaskit/tooltip/types';
|
|
3
|
-
import { WrappedComponentProps } from 'react-intl-next';
|
|
2
|
+
import type { PositionType } from '@atlaskit/tooltip/types';
|
|
3
|
+
import type { WrappedComponentProps } from 'react-intl-next';
|
|
4
4
|
interface Props {
|
|
5
5
|
title?: string;
|
|
6
6
|
titlePosition?: PositionType;
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
|
-
|
|
3
|
+
interface WithHelpTriggerProps {
|
|
4
4
|
render: (openHelp: () => void) => React.ReactNode;
|
|
5
|
-
}
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* @deprecated
|
|
8
|
+
* Use WithHelpTrigger from @atlaskit/editor-plugin-help-dialog which uses pluginInjectionApi
|
|
9
|
+
*/
|
|
10
|
+
export default class WithHelpTrigger extends React.Component<WithHelpTriggerProps, any> {
|
|
6
11
|
static contextTypes: {
|
|
7
12
|
editorActions: PropTypes.Validator<object>;
|
|
8
13
|
};
|
|
9
14
|
openHelp: () => void;
|
|
10
15
|
render(): React.ReactNode;
|
|
11
16
|
}
|
|
17
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { PositionType } from '@atlaskit/tooltip/types';
|
|
3
|
-
import { WrappedComponentProps } from 'react-intl-next';
|
|
2
|
+
import type { PositionType } from '@atlaskit/tooltip/types';
|
|
3
|
+
import type { WrappedComponentProps } from 'react-intl-next';
|
|
4
4
|
interface Props {
|
|
5
5
|
title?: string;
|
|
6
6
|
titlePosition?: PositionType;
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
|
-
|
|
3
|
+
interface WithHelpTriggerProps {
|
|
4
4
|
render: (openHelp: () => void) => React.ReactNode;
|
|
5
|
-
}
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* @deprecated
|
|
8
|
+
* Use WithHelpTrigger from @atlaskit/editor-plugin-help-dialog which uses pluginInjectionApi
|
|
9
|
+
*/
|
|
10
|
+
export default class WithHelpTrigger extends React.Component<WithHelpTriggerProps, any> {
|
|
6
11
|
static contextTypes: {
|
|
7
12
|
editorActions: PropTypes.Validator<object>;
|
|
8
13
|
};
|
|
9
14
|
openHelp: () => void;
|
|
10
15
|
render(): React.ReactNode;
|
|
11
16
|
}
|
|
17
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "187.48.
|
|
3
|
+
"version": "187.48.7",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
"@atlaskit/radio": "^5.6.0",
|
|
113
113
|
"@atlaskit/section-message": "^6.4.0",
|
|
114
114
|
"@atlaskit/select": "^16.7.0",
|
|
115
|
-
"@atlaskit/smart-card": "^26.
|
|
115
|
+
"@atlaskit/smart-card": "^26.29.0",
|
|
116
116
|
"@atlaskit/smart-user-picker": "^6.3.0",
|
|
117
117
|
"@atlaskit/spinner": "^15.6.0",
|
|
118
118
|
"@atlaskit/status": "^1.4.0",
|
|
@@ -297,6 +297,10 @@
|
|
|
297
297
|
"platform.editor.content-insertion.block-node-prefer-insert-after-selection": {
|
|
298
298
|
"type": "boolean",
|
|
299
299
|
"referenceOnly": "true"
|
|
300
|
+
},
|
|
301
|
+
"platform.linking-platform.datasource.show-jlol-basic-filters": {
|
|
302
|
+
"type": "boolean",
|
|
303
|
+
"referenceOnly": "true"
|
|
300
304
|
}
|
|
301
305
|
}
|
|
302
306
|
}
|
package/report.api.md
CHANGED
|
@@ -124,7 +124,7 @@ import { PMPlugin } from '@atlaskit/editor-common/types';
|
|
|
124
124
|
import { PortalProvider } from '@atlaskit/editor-common/portal-provider';
|
|
125
125
|
import { PortalProviderAPI } from '@atlaskit/editor-common/portal-provider';
|
|
126
126
|
import { PortalRenderer } from '@atlaskit/editor-common/portal-provider';
|
|
127
|
-
import { PositionType } from '@atlaskit/tooltip/types';
|
|
127
|
+
import type { PositionType } from '@atlaskit/tooltip/types';
|
|
128
128
|
import { PresenceProvider } from '@atlaskit/mention/resource';
|
|
129
129
|
import { PresenceResource } from '@atlaskit/mention/resource';
|
|
130
130
|
import PropTypes from 'prop-types';
|
|
@@ -2073,11 +2073,9 @@ interface WithEditorActionsProps {
|
|
|
2073
2073
|
render(actions: EditorActions): React_2.ReactElement<any> | null;
|
|
2074
2074
|
}
|
|
2075
2075
|
|
|
2076
|
-
// @public (undocumented)
|
|
2076
|
+
// @public @deprecated (undocumented)
|
|
2077
2077
|
export class WithHelpTrigger extends React_2.Component<
|
|
2078
|
-
|
|
2079
|
-
render: (openHelp: () => void) => React_2.ReactNode;
|
|
2080
|
-
},
|
|
2078
|
+
WithHelpTriggerProps,
|
|
2081
2079
|
any
|
|
2082
2080
|
> {
|
|
2083
2081
|
// (undocumented)
|
|
@@ -2090,6 +2088,12 @@ export class WithHelpTrigger extends React_2.Component<
|
|
|
2090
2088
|
render(): React_2.ReactNode;
|
|
2091
2089
|
}
|
|
2092
2090
|
|
|
2091
|
+
// @public (undocumented)
|
|
2092
|
+
interface WithHelpTriggerProps {
|
|
2093
|
+
// (undocumented)
|
|
2094
|
+
render: (openHelp: () => void) => React_2.ReactNode;
|
|
2095
|
+
}
|
|
2096
|
+
|
|
2093
2097
|
export { WithPluginState };
|
|
2094
2098
|
|
|
2095
2099
|
// (No @packageDocumentation comment for this package)
|
package/tmp/api-report-tmp.d.ts
CHANGED
|
@@ -113,7 +113,7 @@ import { PMPlugin } from '@atlaskit/editor-common/types';
|
|
|
113
113
|
import { PortalProvider } from '@atlaskit/editor-common/portal-provider';
|
|
114
114
|
import { PortalProviderAPI } from '@atlaskit/editor-common/portal-provider';
|
|
115
115
|
import { PortalRenderer } from '@atlaskit/editor-common/portal-provider';
|
|
116
|
-
import { PositionType } from '@atlaskit/tooltip/types';
|
|
116
|
+
import type { PositionType } from '@atlaskit/tooltip/types';
|
|
117
117
|
import { PresenceProvider } from '@atlaskit/mention/resource';
|
|
118
118
|
import { PresenceResource } from '@atlaskit/mention/resource';
|
|
119
119
|
import PropTypes from 'prop-types';
|
|
@@ -1854,10 +1854,8 @@ interface WithEditorActionsProps {
|
|
|
1854
1854
|
render(actions: EditorActions): React_2.ReactElement<any> | null;
|
|
1855
1855
|
}
|
|
1856
1856
|
|
|
1857
|
-
// @public (undocumented)
|
|
1858
|
-
export class WithHelpTrigger extends React_2.Component<{
|
|
1859
|
-
render: (openHelp: () => void) => React_2.ReactNode;
|
|
1860
|
-
}, any> {
|
|
1857
|
+
// @public @deprecated (undocumented)
|
|
1858
|
+
export class WithHelpTrigger extends React_2.Component<WithHelpTriggerProps, any> {
|
|
1861
1859
|
// (undocumented)
|
|
1862
1860
|
static contextTypes: {
|
|
1863
1861
|
editorActions: PropTypes.Validator<object>;
|
|
@@ -1868,6 +1866,12 @@ export class WithHelpTrigger extends React_2.Component<{
|
|
|
1868
1866
|
render(): React_2.ReactNode;
|
|
1869
1867
|
}
|
|
1870
1868
|
|
|
1869
|
+
// @public (undocumented)
|
|
1870
|
+
interface WithHelpTriggerProps {
|
|
1871
|
+
// (undocumented)
|
|
1872
|
+
render: (openHelp: () => void) => React_2.ReactNode;
|
|
1873
|
+
}
|
|
1874
|
+
|
|
1871
1875
|
export { WithPluginState }
|
|
1872
1876
|
|
|
1873
1877
|
// (No @packageDocumentation comment for this package)
|