@atlaskit/editor-core 187.31.5 → 187.31.6

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.
Files changed (53) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/cjs/labs/next/presets/default.js +2 -2
  3. package/dist/cjs/plugins/index.js +0 -7
  4. package/dist/cjs/plugins/media/toolbar/index.js +20 -6
  5. package/dist/cjs/plugins/media/ui/PixelEntry/index.js +9 -2
  6. package/dist/cjs/plugins/media/ui/PixelEntry/messages.js +5 -0
  7. package/dist/cjs/plugins/media/ui/PixelEntry/styles.js +5 -3
  8. package/dist/cjs/plugins/selection/gap-cursor/utils.js +1 -2
  9. package/dist/cjs/ui/ContentStyles/index.js +20 -21
  10. package/dist/cjs/version-wrapper.js +1 -1
  11. package/dist/es2019/labs/next/presets/default.js +1 -1
  12. package/dist/es2019/plugins/index.js +0 -1
  13. package/dist/es2019/plugins/media/toolbar/index.js +23 -7
  14. package/dist/es2019/plugins/media/ui/PixelEntry/index.js +10 -1
  15. package/dist/es2019/plugins/media/ui/PixelEntry/messages.js +5 -0
  16. package/dist/es2019/plugins/media/ui/PixelEntry/styles.js +7 -0
  17. package/dist/es2019/plugins/selection/gap-cursor/utils.js +1 -2
  18. package/dist/es2019/ui/ContentStyles/index.js +1 -2
  19. package/dist/es2019/version-wrapper.js +1 -1
  20. package/dist/esm/labs/next/presets/default.js +1 -1
  21. package/dist/esm/plugins/index.js +0 -1
  22. package/dist/esm/plugins/media/toolbar/index.js +21 -7
  23. package/dist/esm/plugins/media/ui/PixelEntry/index.js +7 -1
  24. package/dist/esm/plugins/media/ui/PixelEntry/messages.js +5 -0
  25. package/dist/esm/plugins/media/ui/PixelEntry/styles.js +3 -2
  26. package/dist/esm/plugins/selection/gap-cursor/utils.js +1 -2
  27. package/dist/esm/ui/ContentStyles/index.js +1 -2
  28. package/dist/esm/version-wrapper.js +1 -1
  29. package/dist/types/plugins/index.d.ts +0 -1
  30. package/dist/types/plugins/media/ui/PixelEntry/index.d.ts +5 -0
  31. package/dist/types/plugins/media/ui/PixelEntry/messages.d.ts +5 -0
  32. package/dist/types/plugins/media/ui/PixelEntry/styles.d.ts +1 -0
  33. package/dist/types-ts4.5/plugins/index.d.ts +0 -1
  34. package/dist/types-ts4.5/plugins/media/ui/PixelEntry/index.d.ts +5 -0
  35. package/dist/types-ts4.5/plugins/media/ui/PixelEntry/messages.d.ts +5 -0
  36. package/dist/types-ts4.5/plugins/media/ui/PixelEntry/styles.d.ts +1 -0
  37. package/package.json +2 -1
  38. package/tmp/api-report-tmp.d.ts +1897 -0
  39. package/dist/cjs/plugins/unsupported-content/index.js +0 -87
  40. package/dist/cjs/plugins/unsupported-content/styles.js +0 -20
  41. package/dist/cjs/plugins/unsupported-content/unsupported-inline-node-view.js +0 -16
  42. package/dist/es2019/plugins/unsupported-content/index.js +0 -77
  43. package/dist/es2019/plugins/unsupported-content/styles.js +0 -27
  44. package/dist/es2019/plugins/unsupported-content/unsupported-inline-node-view.js +0 -7
  45. package/dist/esm/plugins/unsupported-content/index.js +0 -77
  46. package/dist/esm/plugins/unsupported-content/styles.js +0 -11
  47. package/dist/esm/plugins/unsupported-content/unsupported-inline-node-view.js +0 -7
  48. package/dist/types/plugins/unsupported-content/index.d.ts +0 -5
  49. package/dist/types/plugins/unsupported-content/styles.d.ts +0 -5
  50. package/dist/types/plugins/unsupported-content/unsupported-inline-node-view.d.ts +0 -11
  51. package/dist/types-ts4.5/plugins/unsupported-content/index.d.ts +0 -5
  52. package/dist/types-ts4.5/plugins/unsupported-content/styles.d.ts +0 -5
  53. package/dist/types-ts4.5/plugins/unsupported-content/unsupported-inline-node-view.d.ts +0 -11
@@ -1,87 +0,0 @@
1
- "use strict";
2
-
3
- var _typeof = require("@babel/runtime/helpers/typeof");
4
- Object.defineProperty(exports, "__esModule", {
5
- value: true
6
- });
7
- exports.pluginKey = exports.default = void 0;
8
- var _safePlugin = require("@atlaskit/editor-common/safe-plugin");
9
- var _state = require("@atlaskit/editor-prosemirror/state");
10
- var _adfSchema = require("@atlaskit/adf-schema");
11
- var _ui = require("@atlaskit/editor-common/ui");
12
- var _unsupportedInlineNodeView = require("./unsupported-inline-node-view");
13
- var _reactNodeView = _interopRequireWildcard(require("@atlaskit/editor-common/react-node-view"));
14
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
15
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
16
- var pluginKey = new _state.PluginKey('unsupportedContentPlugin');
17
- exports.pluginKey = pluginKey;
18
- var createPlugin = function createPlugin(pmPluginFactoryParams) {
19
- var hasIntlContext = true;
20
- var portalProviderAPI = pmPluginFactoryParams.portalProviderAPI,
21
- eventDispatcher = pmPluginFactoryParams.eventDispatcher,
22
- dispatchAnalyticsEvent = pmPluginFactoryParams.dispatchAnalyticsEvent;
23
- return new _safePlugin.SafePlugin({
24
- key: pluginKey,
25
- props: {
26
- nodeViews: {
27
- confluenceUnsupportedBlock: _reactNodeView.default.fromComponent(_ui.UnsupportedBlock, portalProviderAPI, eventDispatcher, {
28
- dispatchAnalyticsEvent: dispatchAnalyticsEvent
29
- }, undefined, hasIntlContext),
30
- confluenceUnsupportedInline: (0, _reactNodeView.getInlineNodeViewProducer)({
31
- pmPluginFactoryParams: pmPluginFactoryParams,
32
- Component: _unsupportedInlineNodeView.UnsupportedInlineNodeView,
33
- extraComponentProps: {
34
- dispatchAnalyticsEvent: dispatchAnalyticsEvent
35
- }
36
- }),
37
- unsupportedBlock: _reactNodeView.default.fromComponent(_ui.UnsupportedBlock, portalProviderAPI, eventDispatcher, {
38
- dispatchAnalyticsEvent: dispatchAnalyticsEvent
39
- }, undefined, hasIntlContext),
40
- unsupportedInline: (0, _reactNodeView.getInlineNodeViewProducer)({
41
- pmPluginFactoryParams: pmPluginFactoryParams,
42
- Component: _unsupportedInlineNodeView.UnsupportedInlineNodeView,
43
- extraComponentProps: {
44
- dispatchAnalyticsEvent: dispatchAnalyticsEvent
45
- }
46
- })
47
- }
48
- }
49
- });
50
- };
51
- var unsupportedContentPlugin = function unsupportedContentPlugin() {
52
- return {
53
- name: 'unsupportedContent',
54
- marks: function marks() {
55
- return [{
56
- name: 'unsupportedMark',
57
- mark: _adfSchema.unsupportedMark
58
- }, {
59
- name: 'unsupportedNodeAttribute',
60
- mark: _adfSchema.unsupportedNodeAttribute
61
- }];
62
- },
63
- nodes: function nodes() {
64
- return [{
65
- name: 'confluenceUnsupportedBlock',
66
- node: _adfSchema.confluenceUnsupportedBlock
67
- }, {
68
- name: 'confluenceUnsupportedInline',
69
- node: _adfSchema.confluenceUnsupportedInline
70
- }, {
71
- name: 'unsupportedBlock',
72
- node: _adfSchema.unsupportedBlock
73
- }, {
74
- name: 'unsupportedInline',
75
- node: _adfSchema.unsupportedInline
76
- }];
77
- },
78
- pmPlugins: function pmPlugins() {
79
- return [{
80
- name: 'unsupportedContent',
81
- plugin: createPlugin
82
- }];
83
- }
84
- };
85
- };
86
- var _default = unsupportedContentPlugin;
87
- exports.default = _default;
@@ -1,20 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
- Object.defineProperty(exports, "__esModule", {
5
- value: true
6
- });
7
- exports.unsupportedStyles = exports.UnsupportedSharedCssClassName = void 0;
8
- var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
9
- var _react = require("@emotion/react");
10
- var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
11
- var _templateObject;
12
- var UnsupportedSharedCssClassName = {
13
- BLOCK_CONTAINER: 'unsupportedBlockView-content-wrap',
14
- INLINE_CONTAINER: 'unsupportedInlineView-content-wrap'
15
- };
16
- exports.UnsupportedSharedCssClassName = UnsupportedSharedCssClassName;
17
- var inlineUnsupportedSelector = ".".concat(UnsupportedSharedCssClassName.INLINE_CONTAINER, " > span:nth-of-type(2)");
18
- var blockUnsupportedSelector = ".".concat(UnsupportedSharedCssClassName.BLOCK_CONTAINER, " > div");
19
- var unsupportedStyles = (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n ", ", ", " {\n cursor: pointer;\n }\n\n .", "", ",\n .", "", " {\n ", "\n }\n\n .danger {\n .", "", ",\n .", "", " {\n border: ", "px solid\n ", ";\n background-color: ", ";\n }\n }\n"])), blockUnsupportedSelector, inlineUnsupportedSelector, _editorSharedStyles.akEditorSelectedNodeClassName, blockUnsupportedSelector, _editorSharedStyles.akEditorSelectedNodeClassName, inlineUnsupportedSelector, (0, _editorSharedStyles.getSelectionStyles)([_editorSharedStyles.SelectionStyle.Background, _editorSharedStyles.SelectionStyle.Border]), _editorSharedStyles.akEditorSelectedNodeClassName, blockUnsupportedSelector, _editorSharedStyles.akEditorSelectedNodeClassName, inlineUnsupportedSelector, _editorSharedStyles.akEditorSelectedBorderSize, "var(--ds-border-danger, ".concat(_editorSharedStyles.akEditorDeleteBorder, ")"), "var(--ds-blanket-danger, ".concat(_editorSharedStyles.akEditorDeleteBackgroundWithOpacity, ")"));
20
- exports.unsupportedStyles = unsupportedStyles;
@@ -1,16 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
- Object.defineProperty(exports, "__esModule", {
5
- value: true
6
- });
7
- exports.UnsupportedInlineNodeView = void 0;
8
- var _react = _interopRequireDefault(require("react"));
9
- var _react2 = require("@emotion/react");
10
- var _ui = require("@atlaskit/editor-common/ui");
11
- /** @jsx jsx */
12
-
13
- var UnsupportedInlineNodeView = function UnsupportedInlineNodeView(props) {
14
- return (0, _react2.jsx)(_ui.UnsupportedInline, props);
15
- };
16
- exports.UnsupportedInlineNodeView = UnsupportedInlineNodeView;
@@ -1,77 +0,0 @@
1
- import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
2
- import { PluginKey } from '@atlaskit/editor-prosemirror/state';
3
- import { confluenceUnsupportedBlock, confluenceUnsupportedInline, unsupportedBlock, unsupportedInline, unsupportedMark, unsupportedNodeAttribute } from '@atlaskit/adf-schema';
4
- import { UnsupportedBlock } from '@atlaskit/editor-common/ui';
5
- import { UnsupportedInlineNodeView } from './unsupported-inline-node-view';
6
- import ReactNodeView from '@atlaskit/editor-common/react-node-view';
7
- import { getInlineNodeViewProducer } from '@atlaskit/editor-common/react-node-view';
8
- export const pluginKey = new PluginKey('unsupportedContentPlugin');
9
- const createPlugin = pmPluginFactoryParams => {
10
- const hasIntlContext = true;
11
- const {
12
- portalProviderAPI,
13
- eventDispatcher,
14
- dispatchAnalyticsEvent
15
- } = pmPluginFactoryParams;
16
- return new SafePlugin({
17
- key: pluginKey,
18
- props: {
19
- nodeViews: {
20
- confluenceUnsupportedBlock: ReactNodeView.fromComponent(UnsupportedBlock, portalProviderAPI, eventDispatcher, {
21
- dispatchAnalyticsEvent
22
- }, undefined, hasIntlContext),
23
- confluenceUnsupportedInline: getInlineNodeViewProducer({
24
- pmPluginFactoryParams,
25
- Component: UnsupportedInlineNodeView,
26
- extraComponentProps: {
27
- dispatchAnalyticsEvent
28
- }
29
- }),
30
- unsupportedBlock: ReactNodeView.fromComponent(UnsupportedBlock, portalProviderAPI, eventDispatcher, {
31
- dispatchAnalyticsEvent
32
- }, undefined, hasIntlContext),
33
- unsupportedInline: getInlineNodeViewProducer({
34
- pmPluginFactoryParams,
35
- Component: UnsupportedInlineNodeView,
36
- extraComponentProps: {
37
- dispatchAnalyticsEvent
38
- }
39
- })
40
- }
41
- }
42
- });
43
- };
44
- const unsupportedContentPlugin = () => ({
45
- name: 'unsupportedContent',
46
- marks() {
47
- return [{
48
- name: 'unsupportedMark',
49
- mark: unsupportedMark
50
- }, {
51
- name: 'unsupportedNodeAttribute',
52
- mark: unsupportedNodeAttribute
53
- }];
54
- },
55
- nodes() {
56
- return [{
57
- name: 'confluenceUnsupportedBlock',
58
- node: confluenceUnsupportedBlock
59
- }, {
60
- name: 'confluenceUnsupportedInline',
61
- node: confluenceUnsupportedInline
62
- }, {
63
- name: 'unsupportedBlock',
64
- node: unsupportedBlock
65
- }, {
66
- name: 'unsupportedInline',
67
- node: unsupportedInline
68
- }];
69
- },
70
- pmPlugins() {
71
- return [{
72
- name: 'unsupportedContent',
73
- plugin: createPlugin
74
- }];
75
- }
76
- });
77
- export default unsupportedContentPlugin;
@@ -1,27 +0,0 @@
1
- import { css } from '@emotion/react';
2
- import { SelectionStyle, getSelectionStyles, akEditorDeleteBackgroundWithOpacity, akEditorSelectedBorderSize, akEditorDeleteBorder, akEditorSelectedNodeClassName } from '@atlaskit/editor-shared-styles';
3
- export const UnsupportedSharedCssClassName = {
4
- BLOCK_CONTAINER: 'unsupportedBlockView-content-wrap',
5
- INLINE_CONTAINER: 'unsupportedInlineView-content-wrap'
6
- };
7
- const inlineUnsupportedSelector = `.${UnsupportedSharedCssClassName.INLINE_CONTAINER} > span:nth-of-type(2)`;
8
- const blockUnsupportedSelector = `.${UnsupportedSharedCssClassName.BLOCK_CONTAINER} > div`;
9
- export const unsupportedStyles = css`
10
- ${blockUnsupportedSelector}, ${inlineUnsupportedSelector} {
11
- cursor: pointer;
12
- }
13
-
14
- .${akEditorSelectedNodeClassName}${blockUnsupportedSelector},
15
- .${akEditorSelectedNodeClassName}${inlineUnsupportedSelector} {
16
- ${getSelectionStyles([SelectionStyle.Background, SelectionStyle.Border])}
17
- }
18
-
19
- .danger {
20
- .${akEditorSelectedNodeClassName}${blockUnsupportedSelector},
21
- .${akEditorSelectedNodeClassName}${inlineUnsupportedSelector} {
22
- border: ${akEditorSelectedBorderSize}px solid
23
- ${`var(--ds-border-danger, ${akEditorDeleteBorder})`};
24
- background-color: ${`var(--ds-blanket-danger, ${akEditorDeleteBackgroundWithOpacity})`};
25
- }
26
- }
27
- `;
@@ -1,7 +0,0 @@
1
- /** @jsx jsx */
2
- import React from 'react';
3
- import { jsx } from '@emotion/react';
4
- import { UnsupportedInline } from '@atlaskit/editor-common/ui';
5
- export const UnsupportedInlineNodeView = props => {
6
- return jsx(UnsupportedInline, props);
7
- };
@@ -1,77 +0,0 @@
1
- import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
2
- import { PluginKey } from '@atlaskit/editor-prosemirror/state';
3
- import { confluenceUnsupportedBlock, confluenceUnsupportedInline, unsupportedBlock, unsupportedInline, unsupportedMark, unsupportedNodeAttribute } from '@atlaskit/adf-schema';
4
- import { UnsupportedBlock } from '@atlaskit/editor-common/ui';
5
- import { UnsupportedInlineNodeView } from './unsupported-inline-node-view';
6
- import ReactNodeView from '@atlaskit/editor-common/react-node-view';
7
- import { getInlineNodeViewProducer } from '@atlaskit/editor-common/react-node-view';
8
- export var pluginKey = new PluginKey('unsupportedContentPlugin');
9
- var createPlugin = function createPlugin(pmPluginFactoryParams) {
10
- var hasIntlContext = true;
11
- var portalProviderAPI = pmPluginFactoryParams.portalProviderAPI,
12
- eventDispatcher = pmPluginFactoryParams.eventDispatcher,
13
- dispatchAnalyticsEvent = pmPluginFactoryParams.dispatchAnalyticsEvent;
14
- return new SafePlugin({
15
- key: pluginKey,
16
- props: {
17
- nodeViews: {
18
- confluenceUnsupportedBlock: ReactNodeView.fromComponent(UnsupportedBlock, portalProviderAPI, eventDispatcher, {
19
- dispatchAnalyticsEvent: dispatchAnalyticsEvent
20
- }, undefined, hasIntlContext),
21
- confluenceUnsupportedInline: getInlineNodeViewProducer({
22
- pmPluginFactoryParams: pmPluginFactoryParams,
23
- Component: UnsupportedInlineNodeView,
24
- extraComponentProps: {
25
- dispatchAnalyticsEvent: dispatchAnalyticsEvent
26
- }
27
- }),
28
- unsupportedBlock: ReactNodeView.fromComponent(UnsupportedBlock, portalProviderAPI, eventDispatcher, {
29
- dispatchAnalyticsEvent: dispatchAnalyticsEvent
30
- }, undefined, hasIntlContext),
31
- unsupportedInline: getInlineNodeViewProducer({
32
- pmPluginFactoryParams: pmPluginFactoryParams,
33
- Component: UnsupportedInlineNodeView,
34
- extraComponentProps: {
35
- dispatchAnalyticsEvent: dispatchAnalyticsEvent
36
- }
37
- })
38
- }
39
- }
40
- });
41
- };
42
- var unsupportedContentPlugin = function unsupportedContentPlugin() {
43
- return {
44
- name: 'unsupportedContent',
45
- marks: function marks() {
46
- return [{
47
- name: 'unsupportedMark',
48
- mark: unsupportedMark
49
- }, {
50
- name: 'unsupportedNodeAttribute',
51
- mark: unsupportedNodeAttribute
52
- }];
53
- },
54
- nodes: function nodes() {
55
- return [{
56
- name: 'confluenceUnsupportedBlock',
57
- node: confluenceUnsupportedBlock
58
- }, {
59
- name: 'confluenceUnsupportedInline',
60
- node: confluenceUnsupportedInline
61
- }, {
62
- name: 'unsupportedBlock',
63
- node: unsupportedBlock
64
- }, {
65
- name: 'unsupportedInline',
66
- node: unsupportedInline
67
- }];
68
- },
69
- pmPlugins: function pmPlugins() {
70
- return [{
71
- name: 'unsupportedContent',
72
- plugin: createPlugin
73
- }];
74
- }
75
- };
76
- };
77
- export default unsupportedContentPlugin;
@@ -1,11 +0,0 @@
1
- import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";
2
- var _templateObject;
3
- import { css } from '@emotion/react';
4
- import { SelectionStyle, getSelectionStyles, akEditorDeleteBackgroundWithOpacity, akEditorSelectedBorderSize, akEditorDeleteBorder, akEditorSelectedNodeClassName } from '@atlaskit/editor-shared-styles';
5
- export var UnsupportedSharedCssClassName = {
6
- BLOCK_CONTAINER: 'unsupportedBlockView-content-wrap',
7
- INLINE_CONTAINER: 'unsupportedInlineView-content-wrap'
8
- };
9
- var inlineUnsupportedSelector = ".".concat(UnsupportedSharedCssClassName.INLINE_CONTAINER, " > span:nth-of-type(2)");
10
- var blockUnsupportedSelector = ".".concat(UnsupportedSharedCssClassName.BLOCK_CONTAINER, " > div");
11
- export var unsupportedStyles = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n ", ", ", " {\n cursor: pointer;\n }\n\n .", "", ",\n .", "", " {\n ", "\n }\n\n .danger {\n .", "", ",\n .", "", " {\n border: ", "px solid\n ", ";\n background-color: ", ";\n }\n }\n"])), blockUnsupportedSelector, inlineUnsupportedSelector, akEditorSelectedNodeClassName, blockUnsupportedSelector, akEditorSelectedNodeClassName, inlineUnsupportedSelector, getSelectionStyles([SelectionStyle.Background, SelectionStyle.Border]), akEditorSelectedNodeClassName, blockUnsupportedSelector, akEditorSelectedNodeClassName, inlineUnsupportedSelector, akEditorSelectedBorderSize, "var(--ds-border-danger, ".concat(akEditorDeleteBorder, ")"), "var(--ds-blanket-danger, ".concat(akEditorDeleteBackgroundWithOpacity, ")"));
@@ -1,7 +0,0 @@
1
- /** @jsx jsx */
2
- import React from 'react';
3
- import { jsx } from '@emotion/react';
4
- import { UnsupportedInline } from '@atlaskit/editor-common/ui';
5
- export var UnsupportedInlineNodeView = function UnsupportedInlineNodeView(props) {
6
- return jsx(UnsupportedInline, props);
7
- };
@@ -1,5 +0,0 @@
1
- import { PluginKey } from '@atlaskit/editor-prosemirror/state';
2
- import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
3
- export declare const pluginKey: PluginKey<any>;
4
- declare const unsupportedContentPlugin: NextEditorPlugin<'unsupportedContent'>;
5
- export default unsupportedContentPlugin;
@@ -1,5 +0,0 @@
1
- export declare const UnsupportedSharedCssClassName: {
2
- BLOCK_CONTAINER: string;
3
- INLINE_CONTAINER: string;
4
- };
5
- export declare const unsupportedStyles: import("@emotion/react").SerializedStyles;
@@ -1,11 +0,0 @@
1
- /** @jsx jsx */
2
- import React from 'react';
3
- import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
4
- import type { UnsupportedContentTooltipPayload } from '@atlaskit/editor-common/utils';
5
- import type { InlineNodeViewComponentProps } from '@atlaskit/editor-common/react-node-view';
6
- export type Props = InlineNodeViewComponentProps & {
7
- node?: PMNode;
8
- children?: React.ReactNode;
9
- dispatchAnalyticsEvent?: (payload: UnsupportedContentTooltipPayload) => void;
10
- };
11
- export declare const UnsupportedInlineNodeView: React.FC<Props>;
@@ -1,5 +0,0 @@
1
- import { PluginKey } from '@atlaskit/editor-prosemirror/state';
2
- import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
3
- export declare const pluginKey: PluginKey<any>;
4
- declare const unsupportedContentPlugin: NextEditorPlugin<'unsupportedContent'>;
5
- export default unsupportedContentPlugin;
@@ -1,5 +0,0 @@
1
- export declare const UnsupportedSharedCssClassName: {
2
- BLOCK_CONTAINER: string;
3
- INLINE_CONTAINER: string;
4
- };
5
- export declare const unsupportedStyles: import("@emotion/react").SerializedStyles;
@@ -1,11 +0,0 @@
1
- /** @jsx jsx */
2
- import React from 'react';
3
- import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
4
- import type { UnsupportedContentTooltipPayload } from '@atlaskit/editor-common/utils';
5
- import type { InlineNodeViewComponentProps } from '@atlaskit/editor-common/react-node-view';
6
- export type Props = InlineNodeViewComponentProps & {
7
- node?: PMNode;
8
- children?: React.ReactNode;
9
- dispatchAnalyticsEvent?: (payload: UnsupportedContentTooltipPayload) => void;
10
- };
11
- export declare const UnsupportedInlineNodeView: React.FC<Props>;