@atlaskit/editor-core 197.10.0 → 197.10.2
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 +17 -0
- package/dist/cjs/create-editor/create-editor.js +2 -1
- package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea.js +5 -44
- package/dist/cjs/ui/Appearance/FullPage/StyledComponents.js +19 -20
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/create-editor/create-editor.js +2 -1
- package/dist/es2019/ui/Appearance/FullPage/FullPageContentArea.js +6 -45
- package/dist/es2019/ui/Appearance/FullPage/StyledComponents.js +18 -19
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/create-editor/create-editor.js +2 -1
- package/dist/esm/ui/Appearance/FullPage/FullPageContentArea.js +6 -45
- package/dist/esm/ui/Appearance/FullPage/StyledComponents.js +18 -19
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/create-editor/create-universal-preset.d.ts +24 -2
- package/dist/types/presets/universal.d.ts +25 -3
- package/dist/types/presets/useUniversalPreset.d.ts +24 -2
- package/dist/types/ui/Appearance/FullPage/StyledComponents.d.ts +1 -11
- package/dist/types-ts4.5/create-editor/create-universal-preset.d.ts +28 -2
- package/dist/types-ts4.5/presets/universal.d.ts +29 -3
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +28 -2
- package/dist/types-ts4.5/ui/Appearance/FullPage/StyledComponents.d.ts +1 -11
- package/package.json +7 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 197.10.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#144162](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/144162)
|
|
8
|
+
[`2b2233eed311a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2b2233eed311a) -
|
|
9
|
+
ED-24858: fixes layout shifts for tables under SSR
|
|
10
|
+
|
|
11
|
+
## 197.10.1
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [#144540](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/144540)
|
|
16
|
+
[`3624684595b56`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3624684595b56) -
|
|
17
|
+
Disable instrumented plugin for editor core as it affects performance and is no longer used.
|
|
18
|
+
- Updated dependencies
|
|
19
|
+
|
|
3
20
|
## 197.10.0
|
|
4
21
|
|
|
5
22
|
### Minor Changes
|
|
@@ -11,6 +11,7 @@ exports.processPluginsList = processPluginsList;
|
|
|
11
11
|
exports.sortByRank = sortByRank;
|
|
12
12
|
var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
|
|
13
13
|
var _errorReporter = require("@atlaskit/editor-common/error-reporter");
|
|
14
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
14
15
|
var _instrumentedPlugin = require("../utils/performance/instrumented-plugin");
|
|
15
16
|
var _sortByOrder = require("./sort-by-order");
|
|
16
17
|
function sortByRank(a, b) {
|
|
@@ -113,7 +114,7 @@ function createPMPlugins(config) {
|
|
|
113
114
|
// eslint-disable-next-line no-console
|
|
114
115
|
console.warn('createPMPlugins(): tracking is turned on but transactionTracker not defined! Transaction tracking has been disabled');
|
|
115
116
|
}
|
|
116
|
-
var instrumentPlugin = useInstrumentedPlugin ? function (plugin) {
|
|
117
|
+
var instrumentPlugin = !(0, _platformFeatureFlags.fg)('platform_editor_disable_instrumented_plugin') && useInstrumentedPlugin ? function (plugin) {
|
|
117
118
|
return _instrumentedPlugin.InstrumentedPlugin.fromPlugin(plugin, {
|
|
118
119
|
uiTracking: uiTracking,
|
|
119
120
|
transactionTracking: transactionTracking,
|
|
@@ -26,7 +26,7 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
|
|
|
26
26
|
|
|
27
27
|
var CONTENT_AREA_TEST_ID = exports.CONTENT_AREA_TEST_ID = 'ak-editor-fp-content-area';
|
|
28
28
|
var Content = /*#__PURE__*/_react.default.forwardRef(function (props, ref) {
|
|
29
|
-
var _contentAreaRef$curre
|
|
29
|
+
var _contentAreaRef$curre;
|
|
30
30
|
var theme = (0, _react2.useTheme)();
|
|
31
31
|
var fullWidthMode = props.appearance === 'full-width';
|
|
32
32
|
var scrollContainerRef = (0, _react.useRef)(null);
|
|
@@ -46,14 +46,16 @@ var Content = /*#__PURE__*/_react.default.forwardRef(function (props, ref) {
|
|
|
46
46
|
};
|
|
47
47
|
}, []);
|
|
48
48
|
return (0, _react2.jsx)("div", {
|
|
49
|
-
css: [
|
|
49
|
+
css: [(0, _platformFeatureFlags.fg)('platform_editor_breakout_use_css') ?
|
|
50
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
51
|
+
_StyledComponents.contentAreaContainerTypeInlineSize :
|
|
50
52
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
51
53
|
_StyledComponents.contentArea,
|
|
52
54
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
53
55
|
props.isEditorToolbarHidden && _StyledComponents.contentAreaHeightNoToolbar],
|
|
54
56
|
"data-testid": CONTENT_AREA_TEST_ID,
|
|
55
57
|
ref: containerRef
|
|
56
|
-
}, (0,
|
|
58
|
+
}, (0, _react2.jsx)(_StyledComponents.ScrollContainer
|
|
57
59
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
58
60
|
, {
|
|
59
61
|
className: "fabric-editor-popup-scroll-parent",
|
|
@@ -94,47 +96,6 @@ var Content = /*#__PURE__*/_react.default.forwardRef(function (props, ref) {
|
|
|
94
96
|
containerElement: scrollContainerRef.current,
|
|
95
97
|
dispatchAnalyticsEvent: props.dispatchAnalyticsEvent,
|
|
96
98
|
wrapperElement: props.wrapperElement
|
|
97
|
-
}), props.editorDOMElement, !!props.customContentComponents && 'after' in props.customContentComponents ? props.customContentComponents.after : null)))) : (0, _react2.jsx)(_StyledComponents.ScrollContainer
|
|
98
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
99
|
-
, {
|
|
100
|
-
className: "fabric-editor-popup-scroll-parent",
|
|
101
|
-
featureFlags: props.featureFlags,
|
|
102
|
-
ref: scrollContainerRef
|
|
103
|
-
}, (0, _react2.jsx)(_Addon.ClickAreaBlock, {
|
|
104
|
-
editorView: props.editorView,
|
|
105
|
-
editorDisabled: props.disabled
|
|
106
|
-
}, (0, _react2.jsx)("div", {
|
|
107
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
108
|
-
css: (0, _StyledComponents.editorContentAreaStyle)({
|
|
109
|
-
fullWidthMode: fullWidthMode,
|
|
110
|
-
layoutMaxWidth: theme.layoutMaxWidth
|
|
111
|
-
}),
|
|
112
|
-
role: "region",
|
|
113
|
-
"aria-label": props.intl.formatMessage(_messages.fullPageMessages.editableContentLabel),
|
|
114
|
-
ref: contentAreaRef
|
|
115
|
-
}, (0, _react2.jsx)("div", {
|
|
116
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
117
|
-
css: (0, _StyledComponents.editorContentGutterStyle)()
|
|
118
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
119
|
-
,
|
|
120
|
-
className: ['ak-editor-content-area', 'appearance-full-page', fullWidthMode ? 'fabric-editor--full-width-mode' : ''].join(' '),
|
|
121
|
-
ref: contentAreaRef
|
|
122
|
-
}, !!props.customContentComponents && 'before' in props.customContentComponents ? props.customContentComponents.before : props.customContentComponents, (0, _react2.jsx)(_PluginSlot.default, {
|
|
123
|
-
editorView: props.editorView,
|
|
124
|
-
editorActions: props.editorActions,
|
|
125
|
-
eventDispatcher: props.eventDispatcher,
|
|
126
|
-
providerFactory: props.providerFactory,
|
|
127
|
-
appearance: props.appearance,
|
|
128
|
-
items: props.contentComponents,
|
|
129
|
-
pluginHooks: props.pluginHooks,
|
|
130
|
-
contentArea: (_contentAreaRef$curre2 = contentAreaRef.current) !== null && _contentAreaRef$curre2 !== void 0 ? _contentAreaRef$curre2 : undefined,
|
|
131
|
-
popupsMountPoint: props.popupsMountPoint,
|
|
132
|
-
popupsBoundariesElement: props.popupsBoundariesElement,
|
|
133
|
-
popupsScrollableElement: props.popupsScrollableElement,
|
|
134
|
-
disabled: !!props.disabled,
|
|
135
|
-
containerElement: scrollContainerRef.current,
|
|
136
|
-
dispatchAnalyticsEvent: props.dispatchAnalyticsEvent,
|
|
137
|
-
wrapperElement: props.wrapperElement
|
|
138
99
|
}), props.editorDOMElement, !!props.customContentComponents && 'after' in props.customContentComponents ? props.customContentComponents.after : null)))), (0, _react2.jsx)("div", {
|
|
139
100
|
css: _StyledComponents.sidebarArea
|
|
140
101
|
}, props.contextPanel || (0, _react2.jsx)(_ContextPanel.ContextPanel, {
|
|
@@ -4,7 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
exports.sidebarArea = exports.fullPageEditorWrapper = exports.editorContentGutterStyle = exports.editorContentAreaStyle = exports.editorContentAreaHideContainer = exports.contentAreaHeightNoToolbar = exports.
|
|
7
|
+
exports.sidebarArea = exports.fullPageEditorWrapper = exports.editorContentGutterStyle = exports.editorContentAreaStyle = exports.editorContentAreaHideContainer = exports.contentAreaHeightNoToolbar = exports.contentAreaContainerTypeInlineSize = exports.contentArea = exports.ScrollContainer = void 0;
|
|
8
8
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
9
9
|
var _react = require("@emotion/react");
|
|
10
10
|
var _adfSchema = require("@atlaskit/adf-schema");
|
|
@@ -41,29 +41,10 @@ var scrollStyles = (0, _react.css)({
|
|
|
41
41
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
42
42
|
_scrollbar.scrollbarStyles);
|
|
43
43
|
|
|
44
|
-
// Added containerType and containerName to enable breakout plugin to calculate the width of the container
|
|
45
|
-
var scrollStylesWitContainerType = (0, _react.css)({
|
|
46
|
-
flexGrow: 1,
|
|
47
|
-
height: '100%',
|
|
48
|
-
overflowY: 'scroll',
|
|
49
|
-
position: 'relative',
|
|
50
|
-
display: 'flex',
|
|
51
|
-
flexDirection: 'column',
|
|
52
|
-
scrollBehavior: 'smooth',
|
|
53
|
-
containerType: 'inline-size',
|
|
54
|
-
containerName: 'editor-area'
|
|
55
|
-
},
|
|
56
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
57
|
-
_scrollbar.scrollbarStyles);
|
|
58
|
-
|
|
59
44
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
60
45
|
var ScrollContainer = exports.ScrollContainer = (0, _ContentStyles.createEditorContentStyle)(scrollStyles);
|
|
61
46
|
ScrollContainer.displayName = 'ScrollContainer';
|
|
62
47
|
|
|
63
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
64
|
-
var ScrollContainerNext = exports.ScrollContainerNext = (0, _ContentStyles.createEditorContentStyle)(scrollStylesWitContainerType);
|
|
65
|
-
ScrollContainerNext.displayName = 'ScrollContainer';
|
|
66
|
-
|
|
67
48
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
68
49
|
var contentArea = exports.contentArea = function contentArea() {
|
|
69
50
|
var editorToolbarHeight = (0, _editorSharedStyles.FULL_PAGE_EDITOR_TOOLBAR_HEIGHT)();
|
|
@@ -80,6 +61,24 @@ var contentArea = exports.contentArea = function contentArea() {
|
|
|
80
61
|
});
|
|
81
62
|
};
|
|
82
63
|
|
|
64
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
65
|
+
var contentAreaContainerTypeInlineSize = exports.contentAreaContainerTypeInlineSize = function contentAreaContainerTypeInlineSize() {
|
|
66
|
+
var editorToolbarHeight = (0, _editorSharedStyles.FULL_PAGE_EDITOR_TOOLBAR_HEIGHT)();
|
|
67
|
+
return (0, _react.css)({
|
|
68
|
+
display: 'flex',
|
|
69
|
+
flexDirection: 'row',
|
|
70
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
71
|
+
height: "calc(100% - ".concat(editorToolbarHeight, ")"),
|
|
72
|
+
boxSizing: 'border-box',
|
|
73
|
+
margin: 0,
|
|
74
|
+
padding: 0,
|
|
75
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
76
|
+
transition: "padding 0ms ".concat(_editorSharedStyles.akEditorSwoopCubicBezier),
|
|
77
|
+
containerType: 'inline-size',
|
|
78
|
+
containerName: 'editor-area'
|
|
79
|
+
});
|
|
80
|
+
};
|
|
81
|
+
|
|
83
82
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
84
83
|
var contentAreaHeightNoToolbar = exports.contentAreaHeightNoToolbar = (0, _react.css)({
|
|
85
84
|
height: '100%'
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ErrorReporter } from '@atlaskit/editor-common/error-reporter';
|
|
2
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
2
3
|
import { InstrumentedPlugin } from '../utils/performance/instrumented-plugin';
|
|
3
4
|
import { sortByOrder } from './sort-by-order';
|
|
4
5
|
export function sortByRank(a, b) {
|
|
@@ -95,7 +96,7 @@ export function createPMPlugins(config) {
|
|
|
95
96
|
// eslint-disable-next-line no-console
|
|
96
97
|
console.warn('createPMPlugins(): tracking is turned on but transactionTracker not defined! Transaction tracking has been disabled');
|
|
97
98
|
}
|
|
98
|
-
const instrumentPlugin = useInstrumentedPlugin ? plugin => InstrumentedPlugin.fromPlugin(plugin, {
|
|
99
|
+
const instrumentPlugin = !fg('platform_editor_disable_instrumented_plugin') && useInstrumentedPlugin ? plugin => InstrumentedPlugin.fromPlugin(plugin, {
|
|
99
100
|
uiTracking,
|
|
100
101
|
transactionTracking,
|
|
101
102
|
dispatchAnalyticsEvent
|
|
@@ -13,10 +13,10 @@ import { fg } from '@atlaskit/platform-feature-flags';
|
|
|
13
13
|
import { ClickAreaBlock } from '../../Addon';
|
|
14
14
|
import { ContextPanel } from '../../ContextPanel';
|
|
15
15
|
import PluginSlot from '../../PluginSlot';
|
|
16
|
-
import { contentArea, contentAreaHeightNoToolbar, editorContentAreaStyle, editorContentGutterStyle, ScrollContainer,
|
|
16
|
+
import { contentArea, contentAreaContainerTypeInlineSize, contentAreaHeightNoToolbar, editorContentAreaStyle, editorContentGutterStyle, ScrollContainer, sidebarArea } from './StyledComponents';
|
|
17
17
|
export const CONTENT_AREA_TEST_ID = 'ak-editor-fp-content-area';
|
|
18
18
|
const Content = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
19
|
-
var _contentAreaRef$curre
|
|
19
|
+
var _contentAreaRef$curre;
|
|
20
20
|
const theme = useTheme();
|
|
21
21
|
const fullWidthMode = props.appearance === 'full-width';
|
|
22
22
|
const scrollContainerRef = useRef(null);
|
|
@@ -34,14 +34,16 @@ const Content = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
34
34
|
}
|
|
35
35
|
}), []);
|
|
36
36
|
return jsx("div", {
|
|
37
|
-
css: [
|
|
37
|
+
css: [fg('platform_editor_breakout_use_css') ?
|
|
38
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
39
|
+
contentAreaContainerTypeInlineSize :
|
|
38
40
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
39
41
|
contentArea,
|
|
40
42
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
41
43
|
props.isEditorToolbarHidden && contentAreaHeightNoToolbar],
|
|
42
44
|
"data-testid": CONTENT_AREA_TEST_ID,
|
|
43
45
|
ref: containerRef
|
|
44
|
-
},
|
|
46
|
+
}, jsx(ScrollContainer
|
|
45
47
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
46
48
|
, {
|
|
47
49
|
className: "fabric-editor-popup-scroll-parent",
|
|
@@ -82,47 +84,6 @@ const Content = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
82
84
|
containerElement: scrollContainerRef.current,
|
|
83
85
|
dispatchAnalyticsEvent: props.dispatchAnalyticsEvent,
|
|
84
86
|
wrapperElement: props.wrapperElement
|
|
85
|
-
}), props.editorDOMElement, !!props.customContentComponents && 'after' in props.customContentComponents ? props.customContentComponents.after : null)))) : jsx(ScrollContainer
|
|
86
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
87
|
-
, {
|
|
88
|
-
className: "fabric-editor-popup-scroll-parent",
|
|
89
|
-
featureFlags: props.featureFlags,
|
|
90
|
-
ref: scrollContainerRef
|
|
91
|
-
}, jsx(ClickAreaBlock, {
|
|
92
|
-
editorView: props.editorView,
|
|
93
|
-
editorDisabled: props.disabled
|
|
94
|
-
}, jsx("div", {
|
|
95
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
96
|
-
css: editorContentAreaStyle({
|
|
97
|
-
fullWidthMode,
|
|
98
|
-
layoutMaxWidth: theme.layoutMaxWidth
|
|
99
|
-
}),
|
|
100
|
-
role: "region",
|
|
101
|
-
"aria-label": props.intl.formatMessage(messages.editableContentLabel),
|
|
102
|
-
ref: contentAreaRef
|
|
103
|
-
}, jsx("div", {
|
|
104
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
105
|
-
css: editorContentGutterStyle()
|
|
106
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
107
|
-
,
|
|
108
|
-
className: ['ak-editor-content-area', 'appearance-full-page', fullWidthMode ? 'fabric-editor--full-width-mode' : ''].join(' '),
|
|
109
|
-
ref: contentAreaRef
|
|
110
|
-
}, !!props.customContentComponents && 'before' in props.customContentComponents ? props.customContentComponents.before : props.customContentComponents, jsx(PluginSlot, {
|
|
111
|
-
editorView: props.editorView,
|
|
112
|
-
editorActions: props.editorActions,
|
|
113
|
-
eventDispatcher: props.eventDispatcher,
|
|
114
|
-
providerFactory: props.providerFactory,
|
|
115
|
-
appearance: props.appearance,
|
|
116
|
-
items: props.contentComponents,
|
|
117
|
-
pluginHooks: props.pluginHooks,
|
|
118
|
-
contentArea: (_contentAreaRef$curre2 = contentAreaRef.current) !== null && _contentAreaRef$curre2 !== void 0 ? _contentAreaRef$curre2 : undefined,
|
|
119
|
-
popupsMountPoint: props.popupsMountPoint,
|
|
120
|
-
popupsBoundariesElement: props.popupsBoundariesElement,
|
|
121
|
-
popupsScrollableElement: props.popupsScrollableElement,
|
|
122
|
-
disabled: !!props.disabled,
|
|
123
|
-
containerElement: scrollContainerRef.current,
|
|
124
|
-
dispatchAnalyticsEvent: props.dispatchAnalyticsEvent,
|
|
125
|
-
wrapperElement: props.wrapperElement
|
|
126
87
|
}), props.editorDOMElement, !!props.customContentComponents && 'after' in props.customContentComponents ? props.customContentComponents.after : null)))), jsx("div", {
|
|
127
88
|
css: sidebarArea
|
|
128
89
|
}, props.contextPanel || jsx(ContextPanel, {
|
|
@@ -32,29 +32,10 @@ const scrollStyles = css({
|
|
|
32
32
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
33
33
|
scrollbarStyles);
|
|
34
34
|
|
|
35
|
-
// Added containerType and containerName to enable breakout plugin to calculate the width of the container
|
|
36
|
-
const scrollStylesWitContainerType = css({
|
|
37
|
-
flexGrow: 1,
|
|
38
|
-
height: '100%',
|
|
39
|
-
overflowY: 'scroll',
|
|
40
|
-
position: 'relative',
|
|
41
|
-
display: 'flex',
|
|
42
|
-
flexDirection: 'column',
|
|
43
|
-
scrollBehavior: 'smooth',
|
|
44
|
-
containerType: 'inline-size',
|
|
45
|
-
containerName: 'editor-area'
|
|
46
|
-
},
|
|
47
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
48
|
-
scrollbarStyles);
|
|
49
|
-
|
|
50
35
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
51
36
|
export const ScrollContainer = createEditorContentStyle(scrollStyles);
|
|
52
37
|
ScrollContainer.displayName = 'ScrollContainer';
|
|
53
38
|
|
|
54
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
55
|
-
export const ScrollContainerNext = createEditorContentStyle(scrollStylesWitContainerType);
|
|
56
|
-
ScrollContainerNext.displayName = 'ScrollContainer';
|
|
57
|
-
|
|
58
39
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
59
40
|
export const contentArea = () => {
|
|
60
41
|
const editorToolbarHeight = FULL_PAGE_EDITOR_TOOLBAR_HEIGHT();
|
|
@@ -71,6 +52,24 @@ export const contentArea = () => {
|
|
|
71
52
|
});
|
|
72
53
|
};
|
|
73
54
|
|
|
55
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
56
|
+
export const contentAreaContainerTypeInlineSize = () => {
|
|
57
|
+
const editorToolbarHeight = FULL_PAGE_EDITOR_TOOLBAR_HEIGHT();
|
|
58
|
+
return css({
|
|
59
|
+
display: 'flex',
|
|
60
|
+
flexDirection: 'row',
|
|
61
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
62
|
+
height: `calc(100% - ${editorToolbarHeight})`,
|
|
63
|
+
boxSizing: 'border-box',
|
|
64
|
+
margin: 0,
|
|
65
|
+
padding: 0,
|
|
66
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
67
|
+
transition: `padding 0ms ${akEditorSwoopCubicBezier}`,
|
|
68
|
+
containerType: 'inline-size',
|
|
69
|
+
containerName: 'editor-area'
|
|
70
|
+
});
|
|
71
|
+
};
|
|
72
|
+
|
|
74
73
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
75
74
|
export const contentAreaHeightNoToolbar = css({
|
|
76
75
|
height: '100%'
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "197.10.
|
|
2
|
+
export const version = "197.10.2";
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
|
|
2
2
|
import { ErrorReporter } from '@atlaskit/editor-common/error-reporter';
|
|
3
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
3
4
|
import { InstrumentedPlugin } from '../utils/performance/instrumented-plugin';
|
|
4
5
|
import { sortByOrder } from './sort-by-order';
|
|
5
6
|
export function sortByRank(a, b) {
|
|
@@ -102,7 +103,7 @@ export function createPMPlugins(config) {
|
|
|
102
103
|
// eslint-disable-next-line no-console
|
|
103
104
|
console.warn('createPMPlugins(): tracking is turned on but transactionTracker not defined! Transaction tracking has been disabled');
|
|
104
105
|
}
|
|
105
|
-
var instrumentPlugin = useInstrumentedPlugin ? function (plugin) {
|
|
106
|
+
var instrumentPlugin = !fg('platform_editor_disable_instrumented_plugin') && useInstrumentedPlugin ? function (plugin) {
|
|
106
107
|
return InstrumentedPlugin.fromPlugin(plugin, {
|
|
107
108
|
uiTracking: uiTracking,
|
|
108
109
|
transactionTracking: transactionTracking,
|
|
@@ -13,10 +13,10 @@ import { fg } from '@atlaskit/platform-feature-flags';
|
|
|
13
13
|
import { ClickAreaBlock } from '../../Addon';
|
|
14
14
|
import { ContextPanel } from '../../ContextPanel';
|
|
15
15
|
import PluginSlot from '../../PluginSlot';
|
|
16
|
-
import { contentArea, contentAreaHeightNoToolbar, editorContentAreaStyle, editorContentGutterStyle, ScrollContainer,
|
|
16
|
+
import { contentArea, contentAreaContainerTypeInlineSize, contentAreaHeightNoToolbar, editorContentAreaStyle, editorContentGutterStyle, ScrollContainer, sidebarArea } from './StyledComponents';
|
|
17
17
|
export var CONTENT_AREA_TEST_ID = 'ak-editor-fp-content-area';
|
|
18
18
|
var Content = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
19
|
-
var _contentAreaRef$curre
|
|
19
|
+
var _contentAreaRef$curre;
|
|
20
20
|
var theme = useTheme();
|
|
21
21
|
var fullWidthMode = props.appearance === 'full-width';
|
|
22
22
|
var scrollContainerRef = useRef(null);
|
|
@@ -36,14 +36,16 @@ var Content = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
36
36
|
};
|
|
37
37
|
}, []);
|
|
38
38
|
return jsx("div", {
|
|
39
|
-
css: [
|
|
39
|
+
css: [fg('platform_editor_breakout_use_css') ?
|
|
40
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
41
|
+
contentAreaContainerTypeInlineSize :
|
|
40
42
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
41
43
|
contentArea,
|
|
42
44
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
43
45
|
props.isEditorToolbarHidden && contentAreaHeightNoToolbar],
|
|
44
46
|
"data-testid": CONTENT_AREA_TEST_ID,
|
|
45
47
|
ref: containerRef
|
|
46
|
-
},
|
|
48
|
+
}, jsx(ScrollContainer
|
|
47
49
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
48
50
|
, {
|
|
49
51
|
className: "fabric-editor-popup-scroll-parent",
|
|
@@ -84,47 +86,6 @@ var Content = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
84
86
|
containerElement: scrollContainerRef.current,
|
|
85
87
|
dispatchAnalyticsEvent: props.dispatchAnalyticsEvent,
|
|
86
88
|
wrapperElement: props.wrapperElement
|
|
87
|
-
}), props.editorDOMElement, !!props.customContentComponents && 'after' in props.customContentComponents ? props.customContentComponents.after : null)))) : jsx(ScrollContainer
|
|
88
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
89
|
-
, {
|
|
90
|
-
className: "fabric-editor-popup-scroll-parent",
|
|
91
|
-
featureFlags: props.featureFlags,
|
|
92
|
-
ref: scrollContainerRef
|
|
93
|
-
}, jsx(ClickAreaBlock, {
|
|
94
|
-
editorView: props.editorView,
|
|
95
|
-
editorDisabled: props.disabled
|
|
96
|
-
}, jsx("div", {
|
|
97
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
98
|
-
css: editorContentAreaStyle({
|
|
99
|
-
fullWidthMode: fullWidthMode,
|
|
100
|
-
layoutMaxWidth: theme.layoutMaxWidth
|
|
101
|
-
}),
|
|
102
|
-
role: "region",
|
|
103
|
-
"aria-label": props.intl.formatMessage(messages.editableContentLabel),
|
|
104
|
-
ref: contentAreaRef
|
|
105
|
-
}, jsx("div", {
|
|
106
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
107
|
-
css: editorContentGutterStyle()
|
|
108
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
109
|
-
,
|
|
110
|
-
className: ['ak-editor-content-area', 'appearance-full-page', fullWidthMode ? 'fabric-editor--full-width-mode' : ''].join(' '),
|
|
111
|
-
ref: contentAreaRef
|
|
112
|
-
}, !!props.customContentComponents && 'before' in props.customContentComponents ? props.customContentComponents.before : props.customContentComponents, jsx(PluginSlot, {
|
|
113
|
-
editorView: props.editorView,
|
|
114
|
-
editorActions: props.editorActions,
|
|
115
|
-
eventDispatcher: props.eventDispatcher,
|
|
116
|
-
providerFactory: props.providerFactory,
|
|
117
|
-
appearance: props.appearance,
|
|
118
|
-
items: props.contentComponents,
|
|
119
|
-
pluginHooks: props.pluginHooks,
|
|
120
|
-
contentArea: (_contentAreaRef$curre2 = contentAreaRef.current) !== null && _contentAreaRef$curre2 !== void 0 ? _contentAreaRef$curre2 : undefined,
|
|
121
|
-
popupsMountPoint: props.popupsMountPoint,
|
|
122
|
-
popupsBoundariesElement: props.popupsBoundariesElement,
|
|
123
|
-
popupsScrollableElement: props.popupsScrollableElement,
|
|
124
|
-
disabled: !!props.disabled,
|
|
125
|
-
containerElement: scrollContainerRef.current,
|
|
126
|
-
dispatchAnalyticsEvent: props.dispatchAnalyticsEvent,
|
|
127
|
-
wrapperElement: props.wrapperElement
|
|
128
89
|
}), props.editorDOMElement, !!props.customContentComponents && 'after' in props.customContentComponents ? props.customContentComponents.after : null)))), jsx("div", {
|
|
129
90
|
css: sidebarArea
|
|
130
91
|
}, props.contextPanel || jsx(ContextPanel, {
|
|
@@ -36,29 +36,10 @@ var scrollStyles = css({
|
|
|
36
36
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
37
37
|
scrollbarStyles);
|
|
38
38
|
|
|
39
|
-
// Added containerType and containerName to enable breakout plugin to calculate the width of the container
|
|
40
|
-
var scrollStylesWitContainerType = css({
|
|
41
|
-
flexGrow: 1,
|
|
42
|
-
height: '100%',
|
|
43
|
-
overflowY: 'scroll',
|
|
44
|
-
position: 'relative',
|
|
45
|
-
display: 'flex',
|
|
46
|
-
flexDirection: 'column',
|
|
47
|
-
scrollBehavior: 'smooth',
|
|
48
|
-
containerType: 'inline-size',
|
|
49
|
-
containerName: 'editor-area'
|
|
50
|
-
},
|
|
51
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
52
|
-
scrollbarStyles);
|
|
53
|
-
|
|
54
39
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
55
40
|
export var ScrollContainer = createEditorContentStyle(scrollStyles);
|
|
56
41
|
ScrollContainer.displayName = 'ScrollContainer';
|
|
57
42
|
|
|
58
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
59
|
-
export var ScrollContainerNext = createEditorContentStyle(scrollStylesWitContainerType);
|
|
60
|
-
ScrollContainerNext.displayName = 'ScrollContainer';
|
|
61
|
-
|
|
62
43
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
63
44
|
export var contentArea = function contentArea() {
|
|
64
45
|
var editorToolbarHeight = FULL_PAGE_EDITOR_TOOLBAR_HEIGHT();
|
|
@@ -75,6 +56,24 @@ export var contentArea = function contentArea() {
|
|
|
75
56
|
});
|
|
76
57
|
};
|
|
77
58
|
|
|
59
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
60
|
+
export var contentAreaContainerTypeInlineSize = function contentAreaContainerTypeInlineSize() {
|
|
61
|
+
var editorToolbarHeight = FULL_PAGE_EDITOR_TOOLBAR_HEIGHT();
|
|
62
|
+
return css({
|
|
63
|
+
display: 'flex',
|
|
64
|
+
flexDirection: 'row',
|
|
65
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
66
|
+
height: "calc(100% - ".concat(editorToolbarHeight, ")"),
|
|
67
|
+
boxSizing: 'border-box',
|
|
68
|
+
margin: 0,
|
|
69
|
+
padding: 0,
|
|
70
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
71
|
+
transition: "padding 0ms ".concat(akEditorSwoopCubicBezier),
|
|
72
|
+
containerType: 'inline-size',
|
|
73
|
+
containerName: 'editor-area'
|
|
74
|
+
});
|
|
75
|
+
};
|
|
76
|
+
|
|
78
77
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
79
78
|
export var contentAreaHeightNoToolbar = css({
|
|
80
79
|
height: '100%'
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "197.10.
|
|
2
|
+
export var version = "197.10.2";
|
|
@@ -1307,7 +1307,18 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
1307
1307
|
commands: {
|
|
1308
1308
|
setProvider: (config: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1309
1309
|
};
|
|
1310
|
-
}, import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined
|
|
1310
|
+
}, import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
1311
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
1312
|
+
dependencies: [];
|
|
1313
|
+
pluginConfiguration?: {
|
|
1314
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1315
|
+
} | undefined;
|
|
1316
|
+
commands: {
|
|
1317
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1318
|
+
};
|
|
1319
|
+
}, {
|
|
1320
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1321
|
+
} | undefined>>];
|
|
1311
1322
|
actions: {
|
|
1312
1323
|
insertTaskDecision: (listType: import("@atlaskit/editor-plugin-tasks-and-decisions").TaskDecisionListType, inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.FORMATTING | import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/types").TOOLBAR_MENU_TYPE | undefined, addItem?: import("@atlaskit/editor-plugin-tasks-and-decisions").AddItemTransactionCreator | undefined, listLocalId?: string | undefined, itemLocalId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
1313
1324
|
indentTaskList: (inputMethod?: (import("@atlaskit/editor-common/analytics").INPUT_METHOD.KEYBOARD | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR) | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
@@ -2710,7 +2721,18 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
2710
2721
|
commands: {
|
|
2711
2722
|
setProvider: (config: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2712
2723
|
};
|
|
2713
|
-
}, import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined
|
|
2724
|
+
}, import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
2725
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
2726
|
+
dependencies: [];
|
|
2727
|
+
pluginConfiguration?: {
|
|
2728
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
2729
|
+
} | undefined;
|
|
2730
|
+
commands: {
|
|
2731
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2732
|
+
};
|
|
2733
|
+
}, {
|
|
2734
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
2735
|
+
} | undefined>>];
|
|
2714
2736
|
actions: {
|
|
2715
2737
|
insertTaskDecision: (listType: import("@atlaskit/editor-plugin-tasks-and-decisions").TaskDecisionListType, inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.FORMATTING | import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/types").TOOLBAR_MENU_TYPE | undefined, addItem?: import("@atlaskit/editor-plugin-tasks-and-decisions").AddItemTransactionCreator | undefined, listLocalId?: string | undefined, itemLocalId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
2716
2738
|
indentTaskList: (inputMethod?: (import("@atlaskit/editor-common/analytics").INPUT_METHOD.KEYBOARD | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR) | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
@@ -6,7 +6,7 @@ import type { EditorProps } from '../types';
|
|
|
6
6
|
import type { EditorPluginFeatureProps, EditorProviderProps, EditorSharedPropsWithPlugins } from '../types/editor-props';
|
|
7
7
|
import type { FeatureFlags } from '../types/feature-flags';
|
|
8
8
|
import type { DefaultPresetPluginOptions } from './default';
|
|
9
|
-
type UniversalPresetProps = DefaultPresetPluginOptions & EditorSharedPropsWithPlugins & Omit<EditorPluginFeatureProps, 'placeholder'> & EditorProviderProps;
|
|
9
|
+
export type UniversalPresetProps = DefaultPresetPluginOptions & EditorSharedPropsWithPlugins & Omit<EditorPluginFeatureProps, 'placeholder'> & EditorProviderProps;
|
|
10
10
|
/**
|
|
11
11
|
* Mechanism to configuring plugins as the universal preset blocks direct access
|
|
12
12
|
* to configuring plugins.
|
|
@@ -1358,7 +1358,18 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1358
1358
|
commands: {
|
|
1359
1359
|
setProvider: (config: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1360
1360
|
};
|
|
1361
|
-
}, import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined
|
|
1361
|
+
}, import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
1362
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
1363
|
+
dependencies: [];
|
|
1364
|
+
pluginConfiguration?: {
|
|
1365
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1366
|
+
} | undefined;
|
|
1367
|
+
commands: {
|
|
1368
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1369
|
+
};
|
|
1370
|
+
}, {
|
|
1371
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1372
|
+
} | undefined>>];
|
|
1362
1373
|
actions: {
|
|
1363
1374
|
insertTaskDecision: (listType: import("@atlaskit/editor-plugins/tasks-and-decisions").TaskDecisionListType, inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.FORMATTING | import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/types").TOOLBAR_MENU_TYPE | undefined, addItem?: import("@atlaskit/editor-plugins/tasks-and-decisions").AddItemTransactionCreator | undefined, listLocalId?: string | undefined, itemLocalId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
1364
1375
|
indentTaskList: (inputMethod?: (import("@atlaskit/editor-common/analytics").INPUT_METHOD.KEYBOARD | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR) | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
@@ -2761,7 +2772,18 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
2761
2772
|
commands: {
|
|
2762
2773
|
setProvider: (config: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2763
2774
|
};
|
|
2764
|
-
}, import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined
|
|
2775
|
+
}, import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
2776
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
2777
|
+
dependencies: [];
|
|
2778
|
+
pluginConfiguration?: {
|
|
2779
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
2780
|
+
} | undefined;
|
|
2781
|
+
commands: {
|
|
2782
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2783
|
+
};
|
|
2784
|
+
}, {
|
|
2785
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
2786
|
+
} | undefined>>];
|
|
2765
2787
|
actions: {
|
|
2766
2788
|
insertTaskDecision: (listType: import("@atlaskit/editor-plugins/tasks-and-decisions").TaskDecisionListType, inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.FORMATTING | import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/types").TOOLBAR_MENU_TYPE | undefined, addItem?: import("@atlaskit/editor-plugins/tasks-and-decisions").AddItemTransactionCreator | undefined, listLocalId?: string | undefined, itemLocalId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
2767
2789
|
indentTaskList: (inputMethod?: (import("@atlaskit/editor-common/analytics").INPUT_METHOD.KEYBOARD | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR) | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
@@ -1307,7 +1307,18 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
1307
1307
|
commands: {
|
|
1308
1308
|
setProvider: (config: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1309
1309
|
};
|
|
1310
|
-
}, import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined
|
|
1310
|
+
}, import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
1311
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
1312
|
+
dependencies: [];
|
|
1313
|
+
pluginConfiguration?: {
|
|
1314
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1315
|
+
} | undefined;
|
|
1316
|
+
commands: {
|
|
1317
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1318
|
+
};
|
|
1319
|
+
}, {
|
|
1320
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1321
|
+
} | undefined>>];
|
|
1311
1322
|
actions: {
|
|
1312
1323
|
insertTaskDecision: (listType: import("@atlaskit/editor-plugin-tasks-and-decisions").TaskDecisionListType, inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.FORMATTING | import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/types").TOOLBAR_MENU_TYPE | undefined, addItem?: import("@atlaskit/editor-plugin-tasks-and-decisions").AddItemTransactionCreator | undefined, listLocalId?: string | undefined, itemLocalId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
1313
1324
|
indentTaskList: (inputMethod?: (import("@atlaskit/editor-common/analytics").INPUT_METHOD.KEYBOARD | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR) | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
@@ -2710,7 +2721,18 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
2710
2721
|
commands: {
|
|
2711
2722
|
setProvider: (config: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2712
2723
|
};
|
|
2713
|
-
}, import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined
|
|
2724
|
+
}, import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
2725
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
2726
|
+
dependencies: [];
|
|
2727
|
+
pluginConfiguration?: {
|
|
2728
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
2729
|
+
} | undefined;
|
|
2730
|
+
commands: {
|
|
2731
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2732
|
+
};
|
|
2733
|
+
}, {
|
|
2734
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
2735
|
+
} | undefined>>];
|
|
2714
2736
|
actions: {
|
|
2715
2737
|
insertTaskDecision: (listType: import("@atlaskit/editor-plugin-tasks-and-decisions").TaskDecisionListType, inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.FORMATTING | import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/types").TOOLBAR_MENU_TYPE | undefined, addItem?: import("@atlaskit/editor-plugin-tasks-and-decisions").AddItemTransactionCreator | undefined, listLocalId?: string | undefined, itemLocalId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
2716
2738
|
indentTaskList: (inputMethod?: (import("@atlaskit/editor-common/analytics").INPUT_METHOD.KEYBOARD | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR) | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
@@ -11,18 +11,8 @@ export declare const ScrollContainer: import("react").ForwardRefExoticComponent<
|
|
|
11
11
|
featureFlags?: import("@atlaskit/editor-common/types").FeatureFlags | undefined;
|
|
12
12
|
viewMode?: "view" | "edit" | undefined;
|
|
13
13
|
} | "accept" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "mediaGroup" | "min" | "minLength" | "multiple" | "muted" | "nonce" | "noValidate" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "size" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "target" | "useMap" | "wmode" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
14
|
-
export declare const ScrollContainerNext: import("react").ForwardRefExoticComponent<Pick<{
|
|
15
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
16
|
-
colorMode?: "light" | "dark" | undefined;
|
|
17
|
-
featureFlags?: import("@atlaskit/editor-common/types").FeatureFlags | undefined;
|
|
18
|
-
viewMode?: "view" | "edit" | undefined;
|
|
19
|
-
} & import("react").HTMLProps<HTMLDivElement>, "headers" | "method" | "id" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "children" | "value" | "name" | "key" | "property" | "type" | "content" | "disabled" | "defaultValue" | "onChange" | "placeholder" | "media" | "list" | "width" | "open" | "accessKey" | "dir" | "className" | "role" | "start" | "action" | "step" | "wrap" | "color" | "height" | "translate" | "default" | "hidden" | keyof {
|
|
20
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
21
|
-
colorMode?: "light" | "dark" | undefined;
|
|
22
|
-
featureFlags?: import("@atlaskit/editor-common/types").FeatureFlags | undefined;
|
|
23
|
-
viewMode?: "view" | "edit" | undefined;
|
|
24
|
-
} | "accept" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "mediaGroup" | "min" | "minLength" | "multiple" | "muted" | "nonce" | "noValidate" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "size" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "target" | "useMap" | "wmode" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
25
14
|
export declare const contentArea: () => import("@emotion/react").SerializedStyles;
|
|
15
|
+
export declare const contentAreaContainerTypeInlineSize: () => import("@emotion/react").SerializedStyles;
|
|
26
16
|
export declare const contentAreaHeightNoToolbar: import("@emotion/react").SerializedStyles;
|
|
27
17
|
export declare const sidebarArea: import("@emotion/react").SerializedStyles;
|
|
28
18
|
export declare const editorContentAreaHideContainer: import("@emotion/react").SerializedStyles;
|
|
@@ -1651,7 +1651,20 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
1651
1651
|
commands: {
|
|
1652
1652
|
setProvider: (config: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1653
1653
|
};
|
|
1654
|
-
}, import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined
|
|
1654
|
+
}, import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined>>,
|
|
1655
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
1656
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
1657
|
+
dependencies: [
|
|
1658
|
+
];
|
|
1659
|
+
pluginConfiguration?: {
|
|
1660
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1661
|
+
} | undefined;
|
|
1662
|
+
commands: {
|
|
1663
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1664
|
+
};
|
|
1665
|
+
}, {
|
|
1666
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1667
|
+
} | undefined>>
|
|
1655
1668
|
];
|
|
1656
1669
|
actions: {
|
|
1657
1670
|
insertTaskDecision: (listType: import("@atlaskit/editor-plugin-tasks-and-decisions").TaskDecisionListType, inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.FORMATTING | import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/types").TOOLBAR_MENU_TYPE | undefined, addItem?: import("@atlaskit/editor-plugin-tasks-and-decisions").AddItemTransactionCreator | undefined, listLocalId?: string | undefined, itemLocalId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
@@ -3337,7 +3350,20 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
3337
3350
|
commands: {
|
|
3338
3351
|
setProvider: (config: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3339
3352
|
};
|
|
3340
|
-
}, import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined
|
|
3353
|
+
}, import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined>>,
|
|
3354
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
3355
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
3356
|
+
dependencies: [
|
|
3357
|
+
];
|
|
3358
|
+
pluginConfiguration?: {
|
|
3359
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
3360
|
+
} | undefined;
|
|
3361
|
+
commands: {
|
|
3362
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3363
|
+
};
|
|
3364
|
+
}, {
|
|
3365
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
3366
|
+
} | undefined>>
|
|
3341
3367
|
];
|
|
3342
3368
|
actions: {
|
|
3343
3369
|
insertTaskDecision: (listType: import("@atlaskit/editor-plugin-tasks-and-decisions").TaskDecisionListType, inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.FORMATTING | import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/types").TOOLBAR_MENU_TYPE | undefined, addItem?: import("@atlaskit/editor-plugin-tasks-and-decisions").AddItemTransactionCreator | undefined, listLocalId?: string | undefined, itemLocalId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
@@ -6,7 +6,7 @@ import type { EditorProps } from '../types';
|
|
|
6
6
|
import type { EditorPluginFeatureProps, EditorProviderProps, EditorSharedPropsWithPlugins } from '../types/editor-props';
|
|
7
7
|
import type { FeatureFlags } from '../types/feature-flags';
|
|
8
8
|
import type { DefaultPresetPluginOptions } from './default';
|
|
9
|
-
type UniversalPresetProps = DefaultPresetPluginOptions & EditorSharedPropsWithPlugins & Omit<EditorPluginFeatureProps, 'placeholder'> & EditorProviderProps;
|
|
9
|
+
export type UniversalPresetProps = DefaultPresetPluginOptions & EditorSharedPropsWithPlugins & Omit<EditorPluginFeatureProps, 'placeholder'> & EditorProviderProps;
|
|
10
10
|
/**
|
|
11
11
|
* Mechanism to configuring plugins as the universal preset blocks direct access
|
|
12
12
|
* to configuring plugins.
|
|
@@ -1702,7 +1702,20 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1702
1702
|
commands: {
|
|
1703
1703
|
setProvider: (config: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1704
1704
|
};
|
|
1705
|
-
}, import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined
|
|
1705
|
+
}, import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined>>,
|
|
1706
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
1707
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
1708
|
+
dependencies: [
|
|
1709
|
+
];
|
|
1710
|
+
pluginConfiguration?: {
|
|
1711
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1712
|
+
} | undefined;
|
|
1713
|
+
commands: {
|
|
1714
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1715
|
+
};
|
|
1716
|
+
}, {
|
|
1717
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1718
|
+
} | undefined>>
|
|
1706
1719
|
];
|
|
1707
1720
|
actions: {
|
|
1708
1721
|
insertTaskDecision: (listType: import("@atlaskit/editor-plugins/tasks-and-decisions").TaskDecisionListType, inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.FORMATTING | import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/types").TOOLBAR_MENU_TYPE | undefined, addItem?: import("@atlaskit/editor-plugins/tasks-and-decisions").AddItemTransactionCreator | undefined, listLocalId?: string | undefined, itemLocalId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
@@ -3388,7 +3401,20 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
3388
3401
|
commands: {
|
|
3389
3402
|
setProvider: (config: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3390
3403
|
};
|
|
3391
|
-
}, import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined
|
|
3404
|
+
}, import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined>>,
|
|
3405
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
3406
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
3407
|
+
dependencies: [
|
|
3408
|
+
];
|
|
3409
|
+
pluginConfiguration?: {
|
|
3410
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
3411
|
+
} | undefined;
|
|
3412
|
+
commands: {
|
|
3413
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3414
|
+
};
|
|
3415
|
+
}, {
|
|
3416
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
3417
|
+
} | undefined>>
|
|
3392
3418
|
];
|
|
3393
3419
|
actions: {
|
|
3394
3420
|
insertTaskDecision: (listType: import("@atlaskit/editor-plugins/tasks-and-decisions").TaskDecisionListType, inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.FORMATTING | import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/types").TOOLBAR_MENU_TYPE | undefined, addItem?: import("@atlaskit/editor-plugins/tasks-and-decisions").AddItemTransactionCreator | undefined, listLocalId?: string | undefined, itemLocalId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
@@ -1651,7 +1651,20 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
1651
1651
|
commands: {
|
|
1652
1652
|
setProvider: (config: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1653
1653
|
};
|
|
1654
|
-
}, import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined
|
|
1654
|
+
}, import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined>>,
|
|
1655
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
1656
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
1657
|
+
dependencies: [
|
|
1658
|
+
];
|
|
1659
|
+
pluginConfiguration?: {
|
|
1660
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1661
|
+
} | undefined;
|
|
1662
|
+
commands: {
|
|
1663
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1664
|
+
};
|
|
1665
|
+
}, {
|
|
1666
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1667
|
+
} | undefined>>
|
|
1655
1668
|
];
|
|
1656
1669
|
actions: {
|
|
1657
1670
|
insertTaskDecision: (listType: import("@atlaskit/editor-plugin-tasks-and-decisions").TaskDecisionListType, inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.FORMATTING | import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/types").TOOLBAR_MENU_TYPE | undefined, addItem?: import("@atlaskit/editor-plugin-tasks-and-decisions").AddItemTransactionCreator | undefined, listLocalId?: string | undefined, itemLocalId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
@@ -3337,7 +3350,20 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
3337
3350
|
commands: {
|
|
3338
3351
|
setProvider: (config: import("@atlaskit/editor-plugin-context-identifier").ContextIdentifierConfiguration) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3339
3352
|
};
|
|
3340
|
-
}, import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined
|
|
3353
|
+
}, import("@atlaskit/editor-plugin-context-identifier").PluginConfiguration | undefined>>,
|
|
3354
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
3355
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
3356
|
+
dependencies: [
|
|
3357
|
+
];
|
|
3358
|
+
pluginConfiguration?: {
|
|
3359
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
3360
|
+
} | undefined;
|
|
3361
|
+
commands: {
|
|
3362
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3363
|
+
};
|
|
3364
|
+
}, {
|
|
3365
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
3366
|
+
} | undefined>>
|
|
3341
3367
|
];
|
|
3342
3368
|
actions: {
|
|
3343
3369
|
insertTaskDecision: (listType: import("@atlaskit/editor-plugin-tasks-and-decisions").TaskDecisionListType, inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.FORMATTING | import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/types").TOOLBAR_MENU_TYPE | undefined, addItem?: import("@atlaskit/editor-plugin-tasks-and-decisions").AddItemTransactionCreator | undefined, listLocalId?: string | undefined, itemLocalId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
@@ -11,18 +11,8 @@ export declare const ScrollContainer: import("react").ForwardRefExoticComponent<
|
|
|
11
11
|
featureFlags?: import("@atlaskit/editor-common/types").FeatureFlags | undefined;
|
|
12
12
|
viewMode?: "view" | "edit" | undefined;
|
|
13
13
|
} | "accept" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "mediaGroup" | "min" | "minLength" | "multiple" | "muted" | "nonce" | "noValidate" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "size" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "target" | "useMap" | "wmode" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
14
|
-
export declare const ScrollContainerNext: import("react").ForwardRefExoticComponent<Pick<{
|
|
15
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
16
|
-
colorMode?: "light" | "dark" | undefined;
|
|
17
|
-
featureFlags?: import("@atlaskit/editor-common/types").FeatureFlags | undefined;
|
|
18
|
-
viewMode?: "view" | "edit" | undefined;
|
|
19
|
-
} & import("react").HTMLProps<HTMLDivElement>, "headers" | "method" | "id" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "children" | "value" | "name" | "key" | "property" | "type" | "content" | "disabled" | "defaultValue" | "onChange" | "placeholder" | "media" | "list" | "width" | "open" | "accessKey" | "dir" | "className" | "role" | "start" | "action" | "step" | "wrap" | "color" | "height" | "translate" | "default" | "hidden" | keyof {
|
|
20
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
21
|
-
colorMode?: "light" | "dark" | undefined;
|
|
22
|
-
featureFlags?: import("@atlaskit/editor-common/types").FeatureFlags | undefined;
|
|
23
|
-
viewMode?: "view" | "edit" | undefined;
|
|
24
|
-
} | "accept" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "mediaGroup" | "min" | "minLength" | "multiple" | "muted" | "nonce" | "noValidate" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "size" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "target" | "useMap" | "wmode" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
25
14
|
export declare const contentArea: () => import("@emotion/react").SerializedStyles;
|
|
15
|
+
export declare const contentAreaContainerTypeInlineSize: () => import("@emotion/react").SerializedStyles;
|
|
26
16
|
export declare const contentAreaHeightNoToolbar: import("@emotion/react").SerializedStyles;
|
|
27
17
|
export declare const sidebarArea: import("@emotion/react").SerializedStyles;
|
|
28
18
|
export declare const editorContentAreaHideContainer: import("@emotion/react").SerializedStyles;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "197.10.
|
|
3
|
+
"version": "197.10.2",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -49,12 +49,12 @@
|
|
|
49
49
|
"@atlaskit/editor-plugins": "^5.3.0",
|
|
50
50
|
"@atlaskit/editor-prosemirror": "6.0.0",
|
|
51
51
|
"@atlaskit/editor-shared-styles": "^2.13.0",
|
|
52
|
-
"@atlaskit/emoji": "^67.
|
|
52
|
+
"@atlaskit/emoji": "^67.8.0",
|
|
53
53
|
"@atlaskit/icon": "^22.18.0",
|
|
54
54
|
"@atlaskit/media-card": "^78.5.0",
|
|
55
|
-
"@atlaskit/mention": "^23.
|
|
55
|
+
"@atlaskit/mention": "^23.3.0",
|
|
56
56
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
57
|
-
"@atlaskit/task-decision": "^17.
|
|
57
|
+
"@atlaskit/task-decision": "^17.11.0",
|
|
58
58
|
"@atlaskit/tmp-editor-statsig": "*",
|
|
59
59
|
"@atlaskit/tokens": "^1.61.0",
|
|
60
60
|
"@atlaskit/tooltip": "^18.7.0",
|
|
@@ -234,6 +234,9 @@
|
|
|
234
234
|
"type": "boolean",
|
|
235
235
|
"referenceOnly": true
|
|
236
236
|
},
|
|
237
|
+
"platform_editor_disable_instrumented_plugin": {
|
|
238
|
+
"type": "boolean"
|
|
239
|
+
},
|
|
237
240
|
"platform_editor_drag_and_drop_expand_style_fix": {
|
|
238
241
|
"type": "boolean"
|
|
239
242
|
},
|