@atlaskit/editor-core 188.10.5 → 188.11.0
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/architecture/0003-explicit-plugin-dependencies.md +1 -1
- package/dist/cjs/labs/next/presets/universal.js +4 -3
- package/dist/cjs/messages.js +1 -2
- package/dist/cjs/plugins/index.js +0 -14
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/labs/next/presets/universal.js +3 -2
- package/dist/es2019/messages.js +1 -2
- package/dist/es2019/plugins/index.js +0 -2
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/labs/next/presets/universal.js +3 -2
- package/dist/esm/messages.js +1 -2
- package/dist/esm/plugins/index.js +0 -2
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/messages.d.ts +1 -2
- package/dist/types/plugins/index.d.ts +0 -2
- package/dist/types/plugins/insert-block/types.d.ts +2 -4
- package/dist/types/types/editor-props.d.ts +1 -1
- package/dist/types/ui/Appearance/FullPage/StyledComponents.d.ts +1 -1
- package/dist/types/ui/ConfigPanel/FormErrorBoundary.d.ts +1 -1
- package/dist/types/ui/ContentStyles/index.d.ts +2 -2
- package/dist/types-ts4.5/messages.d.ts +1 -2
- package/dist/types-ts4.5/plugins/index.d.ts +0 -2
- package/dist/types-ts4.5/plugins/insert-block/types.d.ts +2 -4
- package/dist/types-ts4.5/types/editor-props.d.ts +1 -1
- package/dist/types-ts4.5/ui/Appearance/FullPage/StyledComponents.d.ts +1 -1
- package/dist/types-ts4.5/ui/ConfigPanel/FormErrorBoundary.d.ts +1 -1
- package/dist/types-ts4.5/ui/ContentStyles/index.d.ts +2 -2
- package/package.json +7 -10
- package/report.api.md +1 -9
- package/tmp/api-report-tmp.d.ts +1 -9
- package/dist/cjs/plugins/date/actions.js +0 -105
- package/dist/cjs/plugins/date/commands.js +0 -118
- package/dist/cjs/plugins/date/index.js +0 -13
- package/dist/cjs/plugins/date/nodeviews/date.js +0 -44
- package/dist/cjs/plugins/date/nodeviews/messages.js +0 -14
- package/dist/cjs/plugins/date/plugin.js +0 -197
- package/dist/cjs/plugins/date/pm-plugins/keymap.js +0 -41
- package/dist/cjs/plugins/date/pm-plugins/main.js +0 -39
- package/dist/cjs/plugins/date/pm-plugins/plugin-key.js +0 -8
- package/dist/cjs/plugins/date/pm-plugins/types.js +0 -5
- package/dist/cjs/plugins/date/pm-plugins/utils.js +0 -70
- package/dist/cjs/plugins/date/types.js +0 -5
- package/dist/cjs/plugins/date/ui/DatePicker/date-picker-input.js +0 -244
- package/dist/cjs/plugins/date/ui/DatePicker/index.js +0 -168
- package/dist/cjs/plugins/date/utils/formatParse.js +0 -88
- package/dist/cjs/plugins/date/utils/internal.js +0 -176
- package/dist/cjs/plugins/mentions/analytics.js +0 -157
- package/dist/cjs/plugins/mentions/index.js +0 -142
- package/dist/cjs/plugins/mentions/messages.js +0 -29
- package/dist/cjs/plugins/mentions/nodeviews/mention.js +0 -117
- package/dist/cjs/plugins/mentions/pm-plugins/key.js +0 -8
- package/dist/cjs/plugins/mentions/pm-plugins/main.js +0 -156
- package/dist/cjs/plugins/mentions/pm-plugins/utils.js +0 -23
- package/dist/cjs/plugins/mentions/type-ahead/index.js +0 -362
- package/dist/cjs/plugins/mentions/types.js +0 -5
- package/dist/cjs/plugins/mentions/ui/InviteItem/index.js +0 -76
- package/dist/cjs/plugins/mentions/ui/InviteItem/styles.js +0 -19
- package/dist/cjs/plugins/mentions/ui/Mention/index.js +0 -98
- package/dist/cjs/plugins/mentions/ui/ToolbarMention/index.js +0 -63
- package/dist/cjs/plugins/mentions/utils.js +0 -32
- package/dist/es2019/plugins/date/actions.js +0 -93
- package/dist/es2019/plugins/date/commands.js +0 -113
- package/dist/es2019/plugins/date/index.js +0 -1
- package/dist/es2019/plugins/date/nodeviews/date.js +0 -47
- package/dist/es2019/plugins/date/nodeviews/messages.js +0 -8
- package/dist/es2019/plugins/date/plugin.js +0 -183
- package/dist/es2019/plugins/date/pm-plugins/keymap.js +0 -34
- package/dist/es2019/plugins/date/pm-plugins/main.js +0 -35
- package/dist/es2019/plugins/date/pm-plugins/plugin-key.js +0 -2
- package/dist/es2019/plugins/date/pm-plugins/types.js +0 -1
- package/dist/es2019/plugins/date/pm-plugins/utils.js +0 -70
- package/dist/es2019/plugins/date/types.js +0 -1
- package/dist/es2019/plugins/date/ui/DatePicker/date-picker-input.js +0 -233
- package/dist/es2019/plugins/date/ui/DatePicker/index.js +0 -152
- package/dist/es2019/plugins/date/utils/formatParse.js +0 -83
- package/dist/es2019/plugins/date/utils/internal.js +0 -151
- package/dist/es2019/plugins/mentions/analytics.js +0 -147
- package/dist/es2019/plugins/mentions/index.js +0 -124
- package/dist/es2019/plugins/mentions/messages.js +0 -23
- package/dist/es2019/plugins/mentions/nodeviews/mention.js +0 -80
- package/dist/es2019/plugins/mentions/pm-plugins/key.js +0 -2
- package/dist/es2019/plugins/mentions/pm-plugins/main.js +0 -143
- package/dist/es2019/plugins/mentions/pm-plugins/utils.js +0 -14
- package/dist/es2019/plugins/mentions/type-ahead/index.js +0 -338
- package/dist/es2019/plugins/mentions/types.js +0 -1
- package/dist/es2019/plugins/mentions/ui/InviteItem/index.js +0 -66
- package/dist/es2019/plugins/mentions/ui/InviteItem/styles.js +0 -47
- package/dist/es2019/plugins/mentions/ui/Mention/index.js +0 -71
- package/dist/es2019/plugins/mentions/ui/ToolbarMention/index.js +0 -33
- package/dist/es2019/plugins/mentions/utils.js +0 -20
- package/dist/esm/plugins/date/actions.js +0 -99
- package/dist/esm/plugins/date/commands.js +0 -112
- package/dist/esm/plugins/date/index.js +0 -1
- package/dist/esm/plugins/date/nodeviews/date.js +0 -37
- package/dist/esm/plugins/date/nodeviews/messages.js +0 -8
- package/dist/esm/plugins/date/plugin.js +0 -185
- package/dist/esm/plugins/date/pm-plugins/keymap.js +0 -34
- package/dist/esm/plugins/date/pm-plugins/main.js +0 -34
- package/dist/esm/plugins/date/pm-plugins/plugin-key.js +0 -2
- package/dist/esm/plugins/date/pm-plugins/types.js +0 -1
- package/dist/esm/plugins/date/pm-plugins/utils.js +0 -61
- package/dist/esm/plugins/date/types.js +0 -1
- package/dist/esm/plugins/date/ui/DatePicker/date-picker-input.js +0 -238
- package/dist/esm/plugins/date/ui/DatePicker/index.js +0 -162
- package/dist/esm/plugins/date/utils/formatParse.js +0 -79
- package/dist/esm/plugins/date/utils/internal.js +0 -165
- package/dist/esm/plugins/mentions/analytics.js +0 -150
- package/dist/esm/plugins/mentions/index.js +0 -130
- package/dist/esm/plugins/mentions/messages.js +0 -23
- package/dist/esm/plugins/mentions/nodeviews/mention.js +0 -107
- package/dist/esm/plugins/mentions/pm-plugins/key.js +0 -2
- package/dist/esm/plugins/mentions/pm-plugins/main.js +0 -148
- package/dist/esm/plugins/mentions/pm-plugins/utils.js +0 -16
- package/dist/esm/plugins/mentions/type-ahead/index.js +0 -350
- package/dist/esm/plugins/mentions/types.js +0 -1
- package/dist/esm/plugins/mentions/ui/InviteItem/index.js +0 -65
- package/dist/esm/plugins/mentions/ui/InviteItem/styles.js +0 -12
- package/dist/esm/plugins/mentions/ui/Mention/index.js +0 -91
- package/dist/esm/plugins/mentions/ui/ToolbarMention/index.js +0 -53
- package/dist/esm/plugins/mentions/utils.js +0 -26
- package/dist/types/plugins/date/actions.d.ts +0 -47
- package/dist/types/plugins/date/commands.d.ts +0 -12
- package/dist/types/plugins/date/index.d.ts +0 -1
- package/dist/types/plugins/date/nodeviews/date.d.ts +0 -3
- package/dist/types/plugins/date/nodeviews/messages.d.ts +0 -7
- package/dist/types/plugins/date/plugin.d.ts +0 -3
- package/dist/types/plugins/date/pm-plugins/keymap.d.ts +0 -3
- package/dist/types/plugins/date/pm-plugins/main.d.ts +0 -6
- package/dist/types/plugins/date/pm-plugins/plugin-key.d.ts +0 -3
- package/dist/types/plugins/date/pm-plugins/types.d.ts +0 -12
- package/dist/types/plugins/date/pm-plugins/utils.d.ts +0 -5
- package/dist/types/plugins/date/types.d.ts +0 -1
- package/dist/types/plugins/date/ui/DatePicker/date-picker-input.d.ts +0 -24
- package/dist/types/plugins/date/ui/DatePicker/index.d.ts +0 -36
- package/dist/types/plugins/date/utils/formatParse.d.ts +0 -27
- package/dist/types/plugins/date/utils/internal.d.ts +0 -33
- package/dist/types/plugins/mentions/analytics.d.ts +0 -13
- package/dist/types/plugins/mentions/index.d.ts +0 -19
- package/dist/types/plugins/mentions/messages.d.ts +0 -22
- package/dist/types/plugins/mentions/nodeviews/mention.d.ts +0 -9
- package/dist/types/plugins/mentions/pm-plugins/key.d.ts +0 -3
- package/dist/types/plugins/mentions/pm-plugins/main.d.ts +0 -6
- package/dist/types/plugins/mentions/pm-plugins/utils.d.ts +0 -4
- package/dist/types/plugins/mentions/type-ahead/index.d.ts +0 -17
- package/dist/types/plugins/mentions/types.d.ts +0 -24
- package/dist/types/plugins/mentions/ui/InviteItem/index.d.ts +0 -22
- package/dist/types/plugins/mentions/ui/InviteItem/styles.d.ts +0 -8
- package/dist/types/plugins/mentions/ui/Mention/index.d.ts +0 -19
- package/dist/types/plugins/mentions/ui/ToolbarMention/index.d.ts +0 -13
- package/dist/types/plugins/mentions/utils.d.ts +0 -8
- package/dist/types-ts4.5/plugins/date/actions.d.ts +0 -58
- package/dist/types-ts4.5/plugins/date/commands.d.ts +0 -14
- package/dist/types-ts4.5/plugins/date/index.d.ts +0 -1
- package/dist/types-ts4.5/plugins/date/nodeviews/date.d.ts +0 -3
- package/dist/types-ts4.5/plugins/date/nodeviews/messages.d.ts +0 -7
- package/dist/types-ts4.5/plugins/date/plugin.d.ts +0 -3
- package/dist/types-ts4.5/plugins/date/pm-plugins/keymap.d.ts +0 -3
- package/dist/types-ts4.5/plugins/date/pm-plugins/main.d.ts +0 -6
- package/dist/types-ts4.5/plugins/date/pm-plugins/plugin-key.d.ts +0 -3
- package/dist/types-ts4.5/plugins/date/pm-plugins/types.d.ts +0 -12
- package/dist/types-ts4.5/plugins/date/pm-plugins/utils.d.ts +0 -5
- package/dist/types-ts4.5/plugins/date/types.d.ts +0 -1
- package/dist/types-ts4.5/plugins/date/ui/DatePicker/date-picker-input.d.ts +0 -24
- package/dist/types-ts4.5/plugins/date/ui/DatePicker/index.d.ts +0 -36
- package/dist/types-ts4.5/plugins/date/utils/formatParse.d.ts +0 -27
- package/dist/types-ts4.5/plugins/date/utils/internal.d.ts +0 -33
- package/dist/types-ts4.5/plugins/mentions/analytics.d.ts +0 -13
- package/dist/types-ts4.5/plugins/mentions/index.d.ts +0 -22
- package/dist/types-ts4.5/plugins/mentions/messages.d.ts +0 -22
- package/dist/types-ts4.5/plugins/mentions/nodeviews/mention.d.ts +0 -9
- package/dist/types-ts4.5/plugins/mentions/pm-plugins/key.d.ts +0 -3
- package/dist/types-ts4.5/plugins/mentions/pm-plugins/main.d.ts +0 -6
- package/dist/types-ts4.5/plugins/mentions/pm-plugins/utils.d.ts +0 -4
- package/dist/types-ts4.5/plugins/mentions/type-ahead/index.d.ts +0 -17
- package/dist/types-ts4.5/plugins/mentions/types.d.ts +0 -24
- package/dist/types-ts4.5/plugins/mentions/ui/InviteItem/index.d.ts +0 -22
- package/dist/types-ts4.5/plugins/mentions/ui/InviteItem/styles.d.ts +0 -8
- package/dist/types-ts4.5/plugins/mentions/ui/Mention/index.d.ts +0 -19
- package/dist/types-ts4.5/plugins/mentions/ui/ToolbarMention/index.d.ts +0 -13
- package/dist/types-ts4.5/plugins/mentions/utils.d.ts +0 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 188.11.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#41651](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41651) [`68871f23ed3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/68871f23ed3) - Extract Date Plugin
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
|
|
13
|
+
## 188.10.7
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- [#41648](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41648) [`20f43769aa7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/20f43769aa7) - [ED-19746] Extract mentions plugin from editor-core to its own package: @atlaskit/editor-plugin-mentions
|
|
18
|
+
- Updated dependencies
|
|
19
|
+
|
|
3
20
|
## 188.10.5
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
|
@@ -172,7 +172,7 @@ const fooPlugin: NextEditorPlugin <...> {
|
|
|
172
172
|
|
|
173
173
|
### Usage inside a React component
|
|
174
174
|
|
|
175
|
-
(See date plugin at `packages/editor/editor-
|
|
175
|
+
(See date plugin at `packages/editor/editor-plugin-date/src/plugin.tsx` for a full code sample of using `useSharedPluginState`)
|
|
176
176
|
|
|
177
177
|
```ts
|
|
178
178
|
// editor-core/src/plugins/bar-some-react-component-based-plugin/index.tsx
|
|
@@ -9,7 +9,7 @@ var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));
|
|
|
9
9
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
10
10
|
var _plugins = require("../../../plugins");
|
|
11
11
|
var _editorPluginStatus = require("@atlaskit/editor-plugin-status");
|
|
12
|
-
var
|
|
12
|
+
var _editorPluginDate = require("@atlaskit/editor-plugin-date");
|
|
13
13
|
var _editorPluginCaption = require("@atlaskit/editor-plugin-caption");
|
|
14
14
|
var _editorPluginBorder = require("@atlaskit/editor-plugin-border");
|
|
15
15
|
var _editorPluginHelpDialog = require("@atlaskit/editor-plugin-help-dialog");
|
|
@@ -27,6 +27,7 @@ var _editorPluginContentInsertion = require("@atlaskit/editor-plugin-content-ins
|
|
|
27
27
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
28
28
|
var _editorPluginSaveOnEnter = require("@atlaskit/editor-plugin-save-on-enter");
|
|
29
29
|
var _editorPluginScrollIntoView = require("@atlaskit/editor-plugin-scroll-into-view");
|
|
30
|
+
var _editorPluginMentions = require("@atlaskit/editor-plugin-mentions");
|
|
30
31
|
var _isFullPage = require("../../../utils/is-full-page");
|
|
31
32
|
var _mediaCommon = require("@atlaskit/media-common");
|
|
32
33
|
var _default = require("./default");
|
|
@@ -139,7 +140,7 @@ function createUniversalPreset(appearance, props, featureFlags, prevAppearance,
|
|
|
139
140
|
return builder.add(plugin);
|
|
140
141
|
}
|
|
141
142
|
return builder;
|
|
142
|
-
}).maybeAdd(
|
|
143
|
+
}).maybeAdd(_editorPluginMentions.mentionsPlugin, function (plugin, builder) {
|
|
143
144
|
if (props.mentionProvider) {
|
|
144
145
|
var _props$mention$insert, _props$mention, _props$mention2;
|
|
145
146
|
return builder.add([plugin, {
|
|
@@ -274,7 +275,7 @@ function createUniversalPreset(appearance, props, featureFlags, prevAppearance,
|
|
|
274
275
|
return builder.add([plugin, undefined]);
|
|
275
276
|
}
|
|
276
277
|
return builder;
|
|
277
|
-
}).maybeAdd(
|
|
278
|
+
}).maybeAdd(_editorPluginDate.datePlugin, function (plugin, builder) {
|
|
278
279
|
if (props.allowDate) {
|
|
279
280
|
var dateConfig = (0, _typeof2.default)(props.allowDate) === 'object' ? props.allowDate : {};
|
|
280
281
|
return builder.add([plugin, {
|
package/dist/cjs/messages.js
CHANGED
|
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
Object.defineProperty(exports, "dateMessages", {
|
|
8
8
|
enumerable: true,
|
|
9
9
|
get: function get() {
|
|
10
|
-
return
|
|
10
|
+
return _messages.dateMessages;
|
|
11
11
|
}
|
|
12
12
|
});
|
|
13
13
|
exports.default = void 0;
|
|
@@ -30,7 +30,6 @@ Object.defineProperty(exports, "statusMessages", {
|
|
|
30
30
|
}
|
|
31
31
|
});
|
|
32
32
|
var _messages = _interopRequireWildcard(require("@atlaskit/editor-common/messages"));
|
|
33
|
-
var _messages2 = require("./plugins/date/nodeviews/messages");
|
|
34
33
|
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); }
|
|
35
34
|
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; }
|
|
36
35
|
// Common Translations will live here
|
|
@@ -83,12 +83,6 @@ Object.defineProperty(exports, "dataConsumerMarkPlugin", {
|
|
|
83
83
|
return _dataConsumer.default;
|
|
84
84
|
}
|
|
85
85
|
});
|
|
86
|
-
Object.defineProperty(exports, "datePlugin", {
|
|
87
|
-
enumerable: true,
|
|
88
|
-
get: function get() {
|
|
89
|
-
return _date.datePlugin;
|
|
90
|
-
}
|
|
91
|
-
});
|
|
92
86
|
Object.defineProperty(exports, "expandPlugin", {
|
|
93
87
|
enumerable: true,
|
|
94
88
|
get: function get() {
|
|
@@ -173,12 +167,6 @@ Object.defineProperty(exports, "maxContentSizePlugin", {
|
|
|
173
167
|
return _maxContentSize.default;
|
|
174
168
|
}
|
|
175
169
|
});
|
|
176
|
-
Object.defineProperty(exports, "mentionsPlugin", {
|
|
177
|
-
enumerable: true,
|
|
178
|
-
get: function get() {
|
|
179
|
-
return _mentions.default;
|
|
180
|
-
}
|
|
181
|
-
});
|
|
182
170
|
Object.defineProperty(exports, "mobileDimensionsPlugin", {
|
|
183
171
|
enumerable: true,
|
|
184
172
|
get: function get() {
|
|
@@ -249,7 +237,6 @@ var _betterTypeHistory = _interopRequireDefault(require("./better-type-history")
|
|
|
249
237
|
var _clearMarksOnChangeToEmptyDocument = _interopRequireDefault(require("./clear-marks-on-change-to-empty-document"));
|
|
250
238
|
var _codeBlock = _interopRequireDefault(require("./code-block"));
|
|
251
239
|
var _collabEdit = _interopRequireDefault(require("./collab-edit"));
|
|
252
|
-
var _date = require("./date");
|
|
253
240
|
var _extension = _interopRequireDefault(require("./extension"));
|
|
254
241
|
var _fakeTextCursor = _interopRequireDefault(require("./fake-text-cursor"));
|
|
255
242
|
var _insertBlock = _interopRequireDefault(require("./insert-block"));
|
|
@@ -258,7 +245,6 @@ var _layout = _interopRequireDefault(require("./layout"));
|
|
|
258
245
|
var _toolbarListsIndentation = _interopRequireDefault(require("./toolbar-lists-indentation"));
|
|
259
246
|
var _macro = _interopRequireDefault(require("./macro"));
|
|
260
247
|
var _maxContentSize = _interopRequireDefault(require("./max-content-size"));
|
|
261
|
-
var _mentions = _interopRequireDefault(require("./mentions"));
|
|
262
248
|
var _panel = _interopRequireDefault(require("./panel"));
|
|
263
249
|
var _paste = _interopRequireDefault(require("./paste"));
|
|
264
250
|
var _placeholderText = _interopRequireDefault(require("./placeholder-text"));
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.version = exports.nextMajorVersion = exports.name = void 0;
|
|
7
7
|
var name = exports.name = "@atlaskit/editor-core";
|
|
8
|
-
var version = exports.version = "188.
|
|
8
|
+
var version = exports.version = "188.11.0";
|
|
9
9
|
var nextMajorVersion = exports.nextMajorVersion = function nextMajorVersion() {
|
|
10
10
|
return [Number(version.split('.')[0]) + 1, 0, 0].join('.');
|
|
11
11
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { breakoutPlugin, collabEditPlugin, dataConsumerMarkPlugin, extensionPlugin, fragmentMarkPlugin, insertBlockPlugin, jiraIssuePlugin, layoutPlugin, toolbarListsIndentationPlugin, macroPlugin, maxContentSizePlugin,
|
|
1
|
+
import { breakoutPlugin, collabEditPlugin, dataConsumerMarkPlugin, extensionPlugin, fragmentMarkPlugin, insertBlockPlugin, jiraIssuePlugin, layoutPlugin, toolbarListsIndentationPlugin, macroPlugin, maxContentSizePlugin, panelPlugin, placeholderTextPlugin, tasksAndDecisionsPlugin, textColorPlugin, alignmentPlugin, indentationPlugin, customAutoformatPlugin, feedbackDialogPlugin, historyPlugin, expandPlugin, isExpandInsertionEnabled, mobileDimensionsPlugin, findReplacePlugin, mobileSelectionPlugin, annotationPlugin, avatarGroupPlugin, viewUpdateSubscriptionPlugin, beforePrimaryToolbarPlugin, codeBidiWarningPlugin } from '../../../plugins';
|
|
2
2
|
import { statusPlugin } from '@atlaskit/editor-plugin-status';
|
|
3
|
-
import { datePlugin } from '
|
|
3
|
+
import { datePlugin } from '@atlaskit/editor-plugin-date';
|
|
4
4
|
import { captionPlugin } from '@atlaskit/editor-plugin-caption';
|
|
5
5
|
import { borderPlugin } from '@atlaskit/editor-plugin-border';
|
|
6
6
|
import { helpDialogPlugin } from '@atlaskit/editor-plugin-help-dialog';
|
|
@@ -18,6 +18,7 @@ import { contentInsertionPlugin } from '@atlaskit/editor-plugin-content-insertio
|
|
|
18
18
|
import { getBooleanFF } from '@atlaskit/platform-feature-flags';
|
|
19
19
|
import { saveOnEnterPlugin } from '@atlaskit/editor-plugin-save-on-enter';
|
|
20
20
|
import { scrollIntoViewPlugin } from '@atlaskit/editor-plugin-scroll-into-view';
|
|
21
|
+
import { mentionsPlugin } from '@atlaskit/editor-plugin-mentions';
|
|
21
22
|
import { isFullPage as fullPageCheck } from '../../../utils/is-full-page';
|
|
22
23
|
import { getMediaFeatureFlag } from '@atlaskit/media-common';
|
|
23
24
|
import { createDefaultPreset } from './default';
|
package/dist/es2019/messages.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
// Common Translations will live here
|
|
2
|
-
import commonMessages, { linkMessages, linkToolbarMessages, statusMessages } from '@atlaskit/editor-common/messages';
|
|
3
|
-
import { messages as dateMessages } from './plugins/date/nodeviews/messages';
|
|
2
|
+
import commonMessages, { linkMessages, linkToolbarMessages, statusMessages, dateMessages } from '@atlaskit/editor-common/messages';
|
|
4
3
|
export { linkMessages };
|
|
5
4
|
export { statusMessages };
|
|
6
5
|
export { dateMessages };
|
|
@@ -2,7 +2,6 @@ export { default as betterTypeHistoryPlugin } from './better-type-history';
|
|
|
2
2
|
export { default as clearMarksOnChangeToEmptyDocumentPlugin } from './clear-marks-on-change-to-empty-document';
|
|
3
3
|
export { default as codeBlockPlugin } from './code-block';
|
|
4
4
|
export { default as collabEditPlugin } from './collab-edit';
|
|
5
|
-
export { datePlugin } from './date';
|
|
6
5
|
export { default as extensionPlugin } from './extension';
|
|
7
6
|
export { default as fakeTextCursorPlugin } from './fake-text-cursor';
|
|
8
7
|
export { default as insertBlockPlugin } from './insert-block';
|
|
@@ -11,7 +10,6 @@ export { default as layoutPlugin } from './layout';
|
|
|
11
10
|
export { default as toolbarListsIndentationPlugin } from './toolbar-lists-indentation';
|
|
12
11
|
export { default as macroPlugin } from './macro';
|
|
13
12
|
export { default as maxContentSizePlugin } from './max-content-size';
|
|
14
|
-
export { default as mentionsPlugin } from './mentions';
|
|
15
13
|
export { default as panelPlugin } from './panel';
|
|
16
14
|
export { default as pastePlugin } from './paste';
|
|
17
15
|
export { default as placeholderTextPlugin } from './placeholder-text';
|
|
@@ -2,9 +2,9 @@ import _typeof from "@babel/runtime/helpers/typeof";
|
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
3
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
4
4
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
5
|
-
import { breakoutPlugin, collabEditPlugin, dataConsumerMarkPlugin, extensionPlugin, fragmentMarkPlugin, insertBlockPlugin, jiraIssuePlugin, layoutPlugin, toolbarListsIndentationPlugin, macroPlugin, maxContentSizePlugin,
|
|
5
|
+
import { breakoutPlugin, collabEditPlugin, dataConsumerMarkPlugin, extensionPlugin, fragmentMarkPlugin, insertBlockPlugin, jiraIssuePlugin, layoutPlugin, toolbarListsIndentationPlugin, macroPlugin, maxContentSizePlugin, panelPlugin, placeholderTextPlugin, tasksAndDecisionsPlugin, textColorPlugin, alignmentPlugin, indentationPlugin, customAutoformatPlugin, feedbackDialogPlugin, historyPlugin, expandPlugin, isExpandInsertionEnabled, mobileDimensionsPlugin, findReplacePlugin, mobileSelectionPlugin, annotationPlugin, avatarGroupPlugin, viewUpdateSubscriptionPlugin, beforePrimaryToolbarPlugin, codeBidiWarningPlugin } from '../../../plugins';
|
|
6
6
|
import { statusPlugin } from '@atlaskit/editor-plugin-status';
|
|
7
|
-
import { datePlugin } from '
|
|
7
|
+
import { datePlugin } from '@atlaskit/editor-plugin-date';
|
|
8
8
|
import { captionPlugin } from '@atlaskit/editor-plugin-caption';
|
|
9
9
|
import { borderPlugin } from '@atlaskit/editor-plugin-border';
|
|
10
10
|
import { helpDialogPlugin } from '@atlaskit/editor-plugin-help-dialog';
|
|
@@ -22,6 +22,7 @@ import { contentInsertionPlugin } from '@atlaskit/editor-plugin-content-insertio
|
|
|
22
22
|
import { getBooleanFF } from '@atlaskit/platform-feature-flags';
|
|
23
23
|
import { saveOnEnterPlugin } from '@atlaskit/editor-plugin-save-on-enter';
|
|
24
24
|
import { scrollIntoViewPlugin } from '@atlaskit/editor-plugin-scroll-into-view';
|
|
25
|
+
import { mentionsPlugin } from '@atlaskit/editor-plugin-mentions';
|
|
25
26
|
import { isFullPage as fullPageCheck } from '../../../utils/is-full-page';
|
|
26
27
|
import { getMediaFeatureFlag } from '@atlaskit/media-common';
|
|
27
28
|
import { createDefaultPreset } from './default';
|
package/dist/esm/messages.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
// Common Translations will live here
|
|
2
|
-
import commonMessages, { linkMessages, linkToolbarMessages, statusMessages } from '@atlaskit/editor-common/messages';
|
|
3
|
-
import { messages as dateMessages } from './plugins/date/nodeviews/messages';
|
|
2
|
+
import commonMessages, { linkMessages, linkToolbarMessages, statusMessages, dateMessages } from '@atlaskit/editor-common/messages';
|
|
4
3
|
export { linkMessages };
|
|
5
4
|
export { statusMessages };
|
|
6
5
|
export { dateMessages };
|
|
@@ -2,7 +2,6 @@ export { default as betterTypeHistoryPlugin } from './better-type-history';
|
|
|
2
2
|
export { default as clearMarksOnChangeToEmptyDocumentPlugin } from './clear-marks-on-change-to-empty-document';
|
|
3
3
|
export { default as codeBlockPlugin } from './code-block';
|
|
4
4
|
export { default as collabEditPlugin } from './collab-edit';
|
|
5
|
-
export { datePlugin } from './date';
|
|
6
5
|
export { default as extensionPlugin } from './extension';
|
|
7
6
|
export { default as fakeTextCursorPlugin } from './fake-text-cursor';
|
|
8
7
|
export { default as insertBlockPlugin } from './insert-block';
|
|
@@ -11,7 +10,6 @@ export { default as layoutPlugin } from './layout';
|
|
|
11
10
|
export { default as toolbarListsIndentationPlugin } from './toolbar-lists-indentation';
|
|
12
11
|
export { default as macroPlugin } from './macro';
|
|
13
12
|
export { default as maxContentSizePlugin } from './max-content-size';
|
|
14
|
-
export { default as mentionsPlugin } from './mentions';
|
|
15
13
|
export { default as panelPlugin } from './panel';
|
|
16
14
|
export { default as pastePlugin } from './paste';
|
|
17
15
|
export { default as placeholderTextPlugin } from './placeholder-text';
|
package/dist/types/messages.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import commonMessages, { linkMessages, linkToolbarMessages, statusMessages } from '@atlaskit/editor-common/messages';
|
|
2
|
-
import { messages as dateMessages } from './plugins/date/nodeviews/messages';
|
|
1
|
+
import commonMessages, { linkMessages, linkToolbarMessages, statusMessages, dateMessages } from '@atlaskit/editor-common/messages';
|
|
3
2
|
export { linkMessages };
|
|
4
3
|
export { statusMessages };
|
|
5
4
|
export { dateMessages };
|
|
@@ -2,7 +2,6 @@ export { default as betterTypeHistoryPlugin } from './better-type-history';
|
|
|
2
2
|
export { default as clearMarksOnChangeToEmptyDocumentPlugin } from './clear-marks-on-change-to-empty-document';
|
|
3
3
|
export { default as codeBlockPlugin } from './code-block';
|
|
4
4
|
export { default as collabEditPlugin } from './collab-edit';
|
|
5
|
-
export { datePlugin } from './date';
|
|
6
5
|
export { default as extensionPlugin } from './extension';
|
|
7
6
|
export { default as fakeTextCursorPlugin } from './fake-text-cursor';
|
|
8
7
|
export { default as insertBlockPlugin } from './insert-block';
|
|
@@ -11,7 +10,6 @@ export { default as layoutPlugin } from './layout';
|
|
|
11
10
|
export { default as toolbarListsIndentationPlugin } from './toolbar-lists-indentation';
|
|
12
11
|
export { default as macroPlugin } from './macro';
|
|
13
12
|
export { default as maxContentSizePlugin } from './max-content-size';
|
|
14
|
-
export { default as mentionsPlugin } from './mentions';
|
|
15
13
|
export { default as panelPlugin } from './panel';
|
|
16
14
|
export { default as pastePlugin } from './paste';
|
|
17
15
|
export { default as placeholderTextPlugin } from './placeholder-text';
|
|
@@ -6,7 +6,6 @@ import type { tablesPlugin } from '@atlaskit/editor-plugin-table';
|
|
|
6
6
|
import type { hyperlinkPlugin } from '@atlaskit/editor-plugin-hyperlink';
|
|
7
7
|
import type { FeatureFlagsPlugin } from '@atlaskit/editor-plugin-feature-flags';
|
|
8
8
|
import type { analyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
9
|
-
import type mentionsPlugin from '../mentions';
|
|
10
9
|
import type { QuickInsertPlugin } from '@atlaskit/editor-plugin-quick-insert';
|
|
11
10
|
import type { BlockTypePlugin } from '@atlaskit/editor-plugin-block-type';
|
|
12
11
|
import type codeBlockPlugin from '../code-block';
|
|
@@ -14,7 +13,7 @@ import type panelPlugin from '../panel';
|
|
|
14
13
|
import type { RulePlugin } from '@atlaskit/editor-plugin-rule';
|
|
15
14
|
import type { MediaPlugin } from '@atlaskit/editor-plugin-media';
|
|
16
15
|
import type { TypeAheadPlugin } from '@atlaskit/editor-plugin-type-ahead';
|
|
17
|
-
import type {
|
|
16
|
+
import type { MentionsPlugin } from '@atlaskit/editor-plugin-mentions';
|
|
18
17
|
import type { StatusPlugin } from '@atlaskit/editor-plugin-status';
|
|
19
18
|
export type InsertBlockPluginDependencies = [
|
|
20
19
|
FeatureFlagsPlugin,
|
|
@@ -25,13 +24,12 @@ export type InsertBlockPluginDependencies = [
|
|
|
25
24
|
OptionalPlugin<BlockTypePlugin>,
|
|
26
25
|
OptionalPlugin<typeof analyticsPlugin>,
|
|
27
26
|
OptionalPlugin<ImageUploadPlugin>,
|
|
28
|
-
OptionalPlugin<typeof mentionsPlugin>,
|
|
29
27
|
OptionalPlugin<EmojiPlugin>,
|
|
30
28
|
OptionalPlugin<QuickInsertPlugin>,
|
|
31
29
|
OptionalPlugin<RulePlugin>,
|
|
32
30
|
OptionalPlugin<typeof codeBlockPlugin>,
|
|
33
31
|
OptionalPlugin<typeof panelPlugin>,
|
|
34
32
|
OptionalPlugin<MediaPlugin>,
|
|
35
|
-
OptionalPlugin<
|
|
33
|
+
OptionalPlugin<MentionsPlugin>,
|
|
36
34
|
OptionalPlugin<StatusPlugin>
|
|
37
35
|
];
|
|
@@ -20,7 +20,7 @@ import type { DatePluginConfig } from '@atlaskit/editor-plugin-date';
|
|
|
20
20
|
import type { FindReplaceOptions } from '../plugins/find-replace/types';
|
|
21
21
|
import type { LayoutPluginOptions } from '../plugins/layout/types';
|
|
22
22
|
import type { MediaOptions, MediaState } from '@atlaskit/editor-plugin-media/types';
|
|
23
|
-
import type { MentionPluginConfig } from '
|
|
23
|
+
import type { MentionPluginConfig } from '@atlaskit/editor-plugin-mentions';
|
|
24
24
|
import type { PanelPluginConfig } from '../plugins/panel/types';
|
|
25
25
|
import type { PlaceholderTextOptions } from '../plugins/placeholder-text/types';
|
|
26
26
|
import type { TextColorPluginConfig } from '../plugins/text-color/pm-plugins/main';
|
|
@@ -3,7 +3,7 @@ export declare const fullPageEditorWrapper: import("@emotion/react").SerializedS
|
|
|
3
3
|
export declare const ScrollContainer: import("react").ForwardRefExoticComponent<Pick<{
|
|
4
4
|
theme?: any;
|
|
5
5
|
featureFlags?: import("@atlaskit/editor-common/types").FeatureFlags | undefined;
|
|
6
|
-
} & import("react").HTMLProps<HTMLDivElement>, "headers" | "method" | "default" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "key" | "dir" | "color" | "content" | "height" | "translate" | "width" | "type" | "defaultValue" | "onError" | "onChange" | "open" | "onFocus" | "onBlur" | "onKeyDown" | "placeholder" | "value" | "autoFocus" | "name" | "action" | "disabled" | "children" | "property" | "media" | "list" | "mediaGroup" | "size" | "hidden" | "href" | "id" | "start" | "accessKey" | "as" | "css" | "step" | "wrap" | "preload" | "className" | "
|
|
6
|
+
} & import("react").HTMLProps<HTMLDivElement>, "headers" | "method" | "default" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "key" | "dir" | "color" | "content" | "height" | "translate" | "width" | "type" | "defaultValue" | "onError" | "onChange" | "open" | "onFocus" | "onBlur" | "onKeyDown" | "placeholder" | "value" | "autoFocus" | "name" | "action" | "disabled" | "children" | "property" | "media" | "list" | "mediaGroup" | "size" | "hidden" | "href" | "id" | "start" | "accessKey" | "as" | "css" | "step" | "wrap" | "preload" | "className" | "alt" | "crossOrigin" | "sizes" | "src" | "srcSet" | "useMap" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "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" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "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" | "multiple" | "selected" | "required" | "download" | "hrefLang" | "rel" | "target" | "accept" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "async" | "autoComplete" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "dateTime" | "defer" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "high" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "min" | "minLength" | "muted" | "nonce" | "noValidate" | "optimum" | "playsInline" | "poster" | "readOnly" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "shape" | "srcDoc" | "srcLang" | "wmode" | keyof {
|
|
7
7
|
theme?: any;
|
|
8
8
|
featureFlags?: import("@atlaskit/editor-common/types").FeatureFlags | undefined;
|
|
9
9
|
}> & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -12,5 +12,5 @@ interface Props {
|
|
|
12
12
|
export declare const FormErrorBoundaryImpl: React.FC<import("react-intl-next").WithIntlProps<Props & WithAnalyticsEventsProps & WrappedComponentProps<"intl">>> & {
|
|
13
13
|
WrappedComponent: React.ComponentType<Props & WithAnalyticsEventsProps & WrappedComponentProps<"intl">>;
|
|
14
14
|
};
|
|
15
|
-
export declare const FormErrorBoundary: React.ForwardRefExoticComponent<Pick<Omit<React.PropsWithChildren<import("react-intl-next").WithIntlProps<Props & WithAnalyticsEventsProps & WrappedComponentProps<"intl">>>, keyof WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "key" | "
|
|
15
|
+
export declare const FormErrorBoundary: React.ForwardRefExoticComponent<Pick<Omit<React.PropsWithChildren<import("react-intl-next").WithIntlProps<Props & WithAnalyticsEventsProps & WrappedComponentProps<"intl">>>, keyof WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "key" | "analyticsContext" | "forwardedRef" | keyof Props> & React.RefAttributes<any>>;
|
|
16
16
|
export {};
|
|
@@ -9,6 +9,6 @@ type ContentStylesProps = {
|
|
|
9
9
|
};
|
|
10
10
|
export declare const placeholderStyles: SerializedStyles;
|
|
11
11
|
type Props = ContentStylesProps & React.HTMLProps<HTMLDivElement>;
|
|
12
|
-
export declare const createEditorContentStyle: (styles?: SerializedStyles) => React.ForwardRefExoticComponent<Pick<Props, "headers" | "method" | "default" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "key" | "dir" | "color" | "content" | "height" | "translate" | "width" | "type" | "defaultValue" | "onError" | "onChange" | "open" | "onFocus" | "onBlur" | "onKeyDown" | "placeholder" | "value" | "autoFocus" | "name" | "action" | "disabled" | "children" | "property" | "media" | "list" | "mediaGroup" | "size" | "hidden" | "href" | "id" | "start" | "accessKey" | "as" | "css" | "step" | "wrap" | "preload" | "className" | "
|
|
13
|
-
declare const _default: React.ForwardRefExoticComponent<Pick<Props, "headers" | "method" | "default" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "key" | "dir" | "color" | "content" | "height" | "translate" | "width" | "type" | "defaultValue" | "onError" | "onChange" | "open" | "onFocus" | "onBlur" | "onKeyDown" | "placeholder" | "value" | "autoFocus" | "name" | "action" | "disabled" | "children" | "property" | "media" | "list" | "mediaGroup" | "size" | "hidden" | "href" | "id" | "start" | "accessKey" | "as" | "css" | "step" | "wrap" | "preload" | "className" | "
|
|
12
|
+
export declare const createEditorContentStyle: (styles?: SerializedStyles) => React.ForwardRefExoticComponent<Pick<Props, "headers" | "method" | "default" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "key" | "dir" | "color" | "content" | "height" | "translate" | "width" | "type" | "defaultValue" | "onError" | "onChange" | "open" | "onFocus" | "onBlur" | "onKeyDown" | "placeholder" | "value" | "autoFocus" | "name" | "action" | "disabled" | "children" | "property" | "media" | "list" | "mediaGroup" | "size" | "hidden" | "href" | "id" | "start" | "accessKey" | "as" | "css" | "step" | "wrap" | "preload" | "className" | "alt" | "crossOrigin" | "sizes" | "src" | "srcSet" | "useMap" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "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" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "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" | "multiple" | "selected" | "required" | "download" | "hrefLang" | "rel" | "target" | "accept" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "async" | "autoComplete" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "dateTime" | "defer" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "high" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "min" | "minLength" | "muted" | "nonce" | "noValidate" | "optimum" | "playsInline" | "poster" | "readOnly" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "shape" | "srcDoc" | "srcLang" | "wmode" | keyof ContentStylesProps> & React.RefAttributes<HTMLDivElement>>;
|
|
13
|
+
declare const _default: React.ForwardRefExoticComponent<Pick<Props, "headers" | "method" | "default" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "key" | "dir" | "color" | "content" | "height" | "translate" | "width" | "type" | "defaultValue" | "onError" | "onChange" | "open" | "onFocus" | "onBlur" | "onKeyDown" | "placeholder" | "value" | "autoFocus" | "name" | "action" | "disabled" | "children" | "property" | "media" | "list" | "mediaGroup" | "size" | "hidden" | "href" | "id" | "start" | "accessKey" | "as" | "css" | "step" | "wrap" | "preload" | "className" | "alt" | "crossOrigin" | "sizes" | "src" | "srcSet" | "useMap" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "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" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "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" | "multiple" | "selected" | "required" | "download" | "hrefLang" | "rel" | "target" | "accept" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "async" | "autoComplete" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "dateTime" | "defer" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "high" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "min" | "minLength" | "muted" | "nonce" | "noValidate" | "optimum" | "playsInline" | "poster" | "readOnly" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "shape" | "srcDoc" | "srcLang" | "wmode" | keyof ContentStylesProps> & React.RefAttributes<HTMLDivElement>>;
|
|
14
14
|
export default _default;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import commonMessages, { linkMessages, linkToolbarMessages, statusMessages } from '@atlaskit/editor-common/messages';
|
|
2
|
-
import { messages as dateMessages } from './plugins/date/nodeviews/messages';
|
|
1
|
+
import commonMessages, { linkMessages, linkToolbarMessages, statusMessages, dateMessages } from '@atlaskit/editor-common/messages';
|
|
3
2
|
export { linkMessages };
|
|
4
3
|
export { statusMessages };
|
|
5
4
|
export { dateMessages };
|
|
@@ -2,7 +2,6 @@ export { default as betterTypeHistoryPlugin } from './better-type-history';
|
|
|
2
2
|
export { default as clearMarksOnChangeToEmptyDocumentPlugin } from './clear-marks-on-change-to-empty-document';
|
|
3
3
|
export { default as codeBlockPlugin } from './code-block';
|
|
4
4
|
export { default as collabEditPlugin } from './collab-edit';
|
|
5
|
-
export { datePlugin } from './date';
|
|
6
5
|
export { default as extensionPlugin } from './extension';
|
|
7
6
|
export { default as fakeTextCursorPlugin } from './fake-text-cursor';
|
|
8
7
|
export { default as insertBlockPlugin } from './insert-block';
|
|
@@ -11,7 +10,6 @@ export { default as layoutPlugin } from './layout';
|
|
|
11
10
|
export { default as toolbarListsIndentationPlugin } from './toolbar-lists-indentation';
|
|
12
11
|
export { default as macroPlugin } from './macro';
|
|
13
12
|
export { default as maxContentSizePlugin } from './max-content-size';
|
|
14
|
-
export { default as mentionsPlugin } from './mentions';
|
|
15
13
|
export { default as panelPlugin } from './panel';
|
|
16
14
|
export { default as pastePlugin } from './paste';
|
|
17
15
|
export { default as placeholderTextPlugin } from './placeholder-text';
|
|
@@ -6,7 +6,6 @@ import type { tablesPlugin } from '@atlaskit/editor-plugin-table';
|
|
|
6
6
|
import type { hyperlinkPlugin } from '@atlaskit/editor-plugin-hyperlink';
|
|
7
7
|
import type { FeatureFlagsPlugin } from '@atlaskit/editor-plugin-feature-flags';
|
|
8
8
|
import type { analyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
9
|
-
import type mentionsPlugin from '../mentions';
|
|
10
9
|
import type { QuickInsertPlugin } from '@atlaskit/editor-plugin-quick-insert';
|
|
11
10
|
import type { BlockTypePlugin } from '@atlaskit/editor-plugin-block-type';
|
|
12
11
|
import type codeBlockPlugin from '../code-block';
|
|
@@ -14,7 +13,7 @@ import type panelPlugin from '../panel';
|
|
|
14
13
|
import type { RulePlugin } from '@atlaskit/editor-plugin-rule';
|
|
15
14
|
import type { MediaPlugin } from '@atlaskit/editor-plugin-media';
|
|
16
15
|
import type { TypeAheadPlugin } from '@atlaskit/editor-plugin-type-ahead';
|
|
17
|
-
import type {
|
|
16
|
+
import type { MentionsPlugin } from '@atlaskit/editor-plugin-mentions';
|
|
18
17
|
import type { StatusPlugin } from '@atlaskit/editor-plugin-status';
|
|
19
18
|
export type InsertBlockPluginDependencies = [
|
|
20
19
|
FeatureFlagsPlugin,
|
|
@@ -25,13 +24,12 @@ export type InsertBlockPluginDependencies = [
|
|
|
25
24
|
OptionalPlugin<BlockTypePlugin>,
|
|
26
25
|
OptionalPlugin<typeof analyticsPlugin>,
|
|
27
26
|
OptionalPlugin<ImageUploadPlugin>,
|
|
28
|
-
OptionalPlugin<typeof mentionsPlugin>,
|
|
29
27
|
OptionalPlugin<EmojiPlugin>,
|
|
30
28
|
OptionalPlugin<QuickInsertPlugin>,
|
|
31
29
|
OptionalPlugin<RulePlugin>,
|
|
32
30
|
OptionalPlugin<typeof codeBlockPlugin>,
|
|
33
31
|
OptionalPlugin<typeof panelPlugin>,
|
|
34
32
|
OptionalPlugin<MediaPlugin>,
|
|
35
|
-
OptionalPlugin<
|
|
33
|
+
OptionalPlugin<MentionsPlugin>,
|
|
36
34
|
OptionalPlugin<StatusPlugin>
|
|
37
35
|
];
|
|
@@ -20,7 +20,7 @@ import type { DatePluginConfig } from '@atlaskit/editor-plugin-date';
|
|
|
20
20
|
import type { FindReplaceOptions } from '../plugins/find-replace/types';
|
|
21
21
|
import type { LayoutPluginOptions } from '../plugins/layout/types';
|
|
22
22
|
import type { MediaOptions, MediaState } from '@atlaskit/editor-plugin-media/types';
|
|
23
|
-
import type { MentionPluginConfig } from '
|
|
23
|
+
import type { MentionPluginConfig } from '@atlaskit/editor-plugin-mentions';
|
|
24
24
|
import type { PanelPluginConfig } from '../plugins/panel/types';
|
|
25
25
|
import type { PlaceholderTextOptions } from '../plugins/placeholder-text/types';
|
|
26
26
|
import type { TextColorPluginConfig } from '../plugins/text-color/pm-plugins/main';
|
|
@@ -3,7 +3,7 @@ export declare const fullPageEditorWrapper: import("@emotion/react").SerializedS
|
|
|
3
3
|
export declare const ScrollContainer: import("react").ForwardRefExoticComponent<Pick<{
|
|
4
4
|
theme?: any;
|
|
5
5
|
featureFlags?: import("@atlaskit/editor-common/types").FeatureFlags | undefined;
|
|
6
|
-
} & import("react").HTMLProps<HTMLDivElement>, "headers" | "method" | "default" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "key" | "dir" | "color" | "content" | "height" | "translate" | "width" | "type" | "defaultValue" | "onError" | "onChange" | "open" | "onFocus" | "onBlur" | "onKeyDown" | "placeholder" | "value" | "autoFocus" | "name" | "action" | "disabled" | "children" | "property" | "media" | "list" | "mediaGroup" | "size" | "hidden" | "href" | "id" | "start" | "accessKey" | "as" | "css" | "step" | "wrap" | "preload" | "className" | "
|
|
6
|
+
} & import("react").HTMLProps<HTMLDivElement>, "headers" | "method" | "default" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "key" | "dir" | "color" | "content" | "height" | "translate" | "width" | "type" | "defaultValue" | "onError" | "onChange" | "open" | "onFocus" | "onBlur" | "onKeyDown" | "placeholder" | "value" | "autoFocus" | "name" | "action" | "disabled" | "children" | "property" | "media" | "list" | "mediaGroup" | "size" | "hidden" | "href" | "id" | "start" | "accessKey" | "as" | "css" | "step" | "wrap" | "preload" | "className" | "alt" | "crossOrigin" | "sizes" | "src" | "srcSet" | "useMap" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "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" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "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" | "multiple" | "selected" | "required" | "download" | "hrefLang" | "rel" | "target" | "accept" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "async" | "autoComplete" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "dateTime" | "defer" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "high" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "min" | "minLength" | "muted" | "nonce" | "noValidate" | "optimum" | "playsInline" | "poster" | "readOnly" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "shape" | "srcDoc" | "srcLang" | "wmode" | keyof {
|
|
7
7
|
theme?: any;
|
|
8
8
|
featureFlags?: import("@atlaskit/editor-common/types").FeatureFlags | undefined;
|
|
9
9
|
}> & import("react").RefAttributes<HTMLDivElement>>;
|