@atlaskit/editor-core 217.12.12 → 219.0.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 +25 -0
- package/dist/cjs/create-editor/ReactEditorView.js +2 -2
- package/dist/cjs/create-editor/messages.js +2 -2
- package/dist/cjs/ui/Appearance/Comment/Comment.js +2 -2
- package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea.js +2 -2
- package/dist/cjs/ui/Appearance/FullPage/FullPageToolbar.js +2 -2
- package/dist/cjs/ui/Appearance/FullPage/FullPageToolbarNext.js +2 -2
- package/dist/cjs/ui/ChromeCollapsed/index.js +2 -2
- package/dist/cjs/ui/ChromeCollapsed/messages.js +2 -2
- package/dist/cjs/ui/ContextPanel/index.js +2 -2
- package/dist/cjs/ui/EditorContentContainer/EditorContentContainer.js +4 -0
- package/dist/cjs/ui/EditorContentContainer/styles/tableStyles.js +26 -1
- package/dist/cjs/ui/IntlProviderIfMissingWrapper/IntlProviderIfMissingWrapper.js +3 -3
- package/dist/cjs/ui/ToolbarHelp/index.js +2 -2
- package/dist/cjs/ui/ToolbarHelp/messages.js +2 -2
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/create-editor/ReactEditorView.js +1 -1
- package/dist/es2019/create-editor/messages.js +1 -1
- package/dist/es2019/ui/Appearance/Comment/Comment.js +1 -1
- package/dist/es2019/ui/Appearance/FullPage/FullPageContentArea.js +1 -1
- package/dist/es2019/ui/Appearance/FullPage/FullPageToolbar.js +1 -1
- package/dist/es2019/ui/Appearance/FullPage/FullPageToolbarNext.js +1 -1
- package/dist/es2019/ui/ChromeCollapsed/index.js +1 -1
- package/dist/es2019/ui/ChromeCollapsed/messages.js +1 -1
- package/dist/es2019/ui/ContextPanel/index.js +1 -1
- package/dist/es2019/ui/EditorContentContainer/EditorContentContainer.js +5 -1
- package/dist/es2019/ui/EditorContentContainer/styles/tableStyles.js +25 -0
- package/dist/es2019/ui/IntlProviderIfMissingWrapper/IntlProviderIfMissingWrapper.js +1 -1
- package/dist/es2019/ui/ToolbarHelp/index.js +1 -1
- package/dist/es2019/ui/ToolbarHelp/messages.js +1 -1
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/create-editor/ReactEditorView.js +1 -1
- package/dist/esm/create-editor/messages.js +1 -1
- package/dist/esm/ui/Appearance/Comment/Comment.js +1 -1
- package/dist/esm/ui/Appearance/FullPage/FullPageContentArea.js +1 -1
- package/dist/esm/ui/Appearance/FullPage/FullPageToolbar.js +1 -1
- package/dist/esm/ui/Appearance/FullPage/FullPageToolbarNext.js +1 -1
- package/dist/esm/ui/ChromeCollapsed/index.js +1 -1
- package/dist/esm/ui/ChromeCollapsed/messages.js +1 -1
- package/dist/esm/ui/ContextPanel/index.js +1 -1
- package/dist/esm/ui/EditorContentContainer/EditorContentContainer.js +5 -1
- package/dist/esm/ui/EditorContentContainer/styles/tableStyles.js +25 -0
- package/dist/esm/ui/IntlProviderIfMissingWrapper/IntlProviderIfMissingWrapper.js +1 -1
- package/dist/esm/ui/ToolbarHelp/index.js +1 -1
- package/dist/esm/ui/ToolbarHelp/messages.js +1 -1
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/create-editor/ReactEditorView.d.ts +1 -1
- package/dist/types/create-editor/get-plugins.d.ts +1 -1
- package/dist/types/ui/Appearance/FullPage/FullPageContentArea.d.ts +2 -2
- package/dist/types/ui/Appearance/FullPage/FullPageToolbar.d.ts +2 -2
- package/dist/types/ui/ChromeCollapsed/index.d.ts +2 -2
- package/dist/types/ui/ContextPanel/index.d.ts +2 -2
- package/dist/types/ui/EditorContentContainer/styles/tableStyles.d.ts +1 -0
- package/dist/types/ui/ToolbarHelp/index.d.ts +2 -2
- package/dist/types-ts4.5/create-editor/ReactEditorView.d.ts +1 -1
- package/dist/types-ts4.5/create-editor/get-plugins.d.ts +1 -1
- package/dist/types-ts4.5/ui/Appearance/FullPage/FullPageContentArea.d.ts +2 -2
- package/dist/types-ts4.5/ui/Appearance/FullPage/FullPageToolbar.d.ts +2 -2
- package/dist/types-ts4.5/ui/ChromeCollapsed/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/ContextPanel/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/EditorContentContainer/styles/tableStyles.d.ts +1 -0
- package/dist/types-ts4.5/ui/ToolbarHelp/index.d.ts +2 -2
- package/package.json +24 -24
- package/report.api.md +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 219.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- [`901c87a57486e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/901c87a57486e) -
|
|
8
|
+
Removed `react-intl-next` alias and replaced all usages with `react-intl` directly.
|
|
9
|
+
|
|
10
|
+
What changed: The `react-intl-next` npm alias (which resolved to `react-intl@^5`) has been
|
|
11
|
+
removed. All imports now reference `react-intl` directly, and `peerDependencies` have been updated
|
|
12
|
+
to `"^5.25.1 || ^6.0.0 || ^7.0.0"`.
|
|
13
|
+
|
|
14
|
+
How consumer should update their code: Ensure `react-intl` is installed at a version satisfying
|
|
15
|
+
`^5.25.1 || ^6.0.0 || ^7.0.0`. If your application was using `react-intl-next` as an npm alias, it
|
|
16
|
+
can be safely removed. Replace any remaining `react-intl-next` imports with `react-intl`.
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- Updated dependencies
|
|
21
|
+
|
|
22
|
+
## 218.0.0
|
|
23
|
+
|
|
24
|
+
### Patch Changes
|
|
25
|
+
|
|
26
|
+
- Updated dependencies
|
|
27
|
+
|
|
3
28
|
## 217.12.12
|
|
4
29
|
|
|
5
30
|
### Patch Changes
|
|
@@ -11,7 +11,7 @@ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/sli
|
|
|
11
11
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
12
12
|
var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
|
|
13
13
|
var _react = _interopRequireWildcard(require("react"));
|
|
14
|
-
var
|
|
14
|
+
var _reactIntl = require("react-intl");
|
|
15
15
|
var _v = _interopRequireDefault(require("uuid/v4"));
|
|
16
16
|
var _analytics = require("@atlaskit/editor-common/analytics");
|
|
17
17
|
var _coreUtils = require("@atlaskit/editor-common/core-utils");
|
|
@@ -971,4 +971,4 @@ function ReactEditorView(props) {
|
|
|
971
971
|
|
|
972
972
|
// Preserving exact type generated by TypeScript
|
|
973
973
|
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
974
|
-
var _default = exports.default = (0,
|
|
974
|
+
var _default = exports.default = (0, _reactIntl.injectIntl)(ReactEditorView);
|
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.editorMessages = void 0;
|
|
7
|
-
var
|
|
8
|
-
var editorMessages = exports.editorMessages = (0,
|
|
7
|
+
var _reactIntl = require("react-intl");
|
|
8
|
+
var editorMessages = exports.editorMessages = (0, _reactIntl.defineMessages)({
|
|
9
9
|
editorAssistiveLabel: {
|
|
10
10
|
id: 'fabric.editor.editorAssistiveLabel',
|
|
11
11
|
defaultMessage: 'Main content area, start typing to enter text.',
|
|
@@ -11,7 +11,7 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
|
|
|
11
11
|
var _react = _interopRequireWildcard(require("react"));
|
|
12
12
|
var _react2 = require("@emotion/react");
|
|
13
13
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
14
|
-
var
|
|
14
|
+
var _reactIntl = require("react-intl");
|
|
15
15
|
var _buttonGroup = _interopRequireDefault(require("@atlaskit/button/button-group"));
|
|
16
16
|
var _new = _interopRequireDefault(require("@atlaskit/button/new"));
|
|
17
17
|
var _hooks = require("@atlaskit/editor-common/hooks");
|
|
@@ -124,7 +124,7 @@ var CommentEditorWithIntl = exports.CommentEditorWithIntl = function CommentEdit
|
|
|
124
124
|
var primaryToolbarState = (0, _getPrimaryToolbarComponents.getPrimaryToolbarComponents)(editorAPI, primaryToolbarComponentsState);
|
|
125
125
|
var _useSharedPluginState2 = (0, _hooks.useSharedPluginState)(editorAPI, ['media']),
|
|
126
126
|
mediaState = _useSharedPluginState2.mediaState;
|
|
127
|
-
var intl = (0,
|
|
127
|
+
var intl = (0, _reactIntl.useIntl)();
|
|
128
128
|
var editorDOMElement = props.editorDOMElement,
|
|
129
129
|
editorView = props.editorView,
|
|
130
130
|
editorActions = props.editorActions,
|
|
@@ -10,7 +10,7 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
|
|
|
10
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
11
11
|
var _react2 = require("@emotion/react");
|
|
12
12
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
13
|
-
var
|
|
13
|
+
var _reactIntl = require("react-intl");
|
|
14
14
|
var _adfSchema = require("@atlaskit/adf-schema");
|
|
15
15
|
var _messages = require("@atlaskit/editor-common/messages");
|
|
16
16
|
var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
|
|
@@ -326,6 +326,6 @@ var Content = /*#__PURE__*/_react.default.forwardRef(function (props, ref) {
|
|
|
326
326
|
visible: false
|
|
327
327
|
})));
|
|
328
328
|
});
|
|
329
|
-
var FullPageContentArea = exports.FullPageContentArea = (0,
|
|
329
|
+
var FullPageContentArea = exports.FullPageContentArea = (0, _reactIntl.injectIntl)(Content, {
|
|
330
330
|
forwardRef: true
|
|
331
331
|
});
|
|
@@ -9,7 +9,7 @@ exports.FullPageToolbar = exports.EditorToolbar = void 0;
|
|
|
9
9
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
10
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
11
11
|
var _react2 = require("@emotion/react");
|
|
12
|
-
var
|
|
12
|
+
var _reactIntl = require("react-intl");
|
|
13
13
|
var _contextPanel = require("@atlaskit/editor-common/context-panel");
|
|
14
14
|
var _messages = require("@atlaskit/editor-common/messages");
|
|
15
15
|
var _uiMenu = require("@atlaskit/editor-common/ui-menu");
|
|
@@ -136,4 +136,4 @@ var EditorToolbar = exports.EditorToolbar = /*#__PURE__*/_react.default.memo(fun
|
|
|
136
136
|
}, shouldSplitToolbar ? nonCustomToolbar : customToolbar), (0, _react2.jsx)(_ToolbarPortal.ToolbarPortalMountPoint, null))));
|
|
137
137
|
});
|
|
138
138
|
});
|
|
139
|
-
var FullPageToolbar = exports.FullPageToolbar = (0,
|
|
139
|
+
var FullPageToolbar = exports.FullPageToolbar = (0, _reactIntl.injectIntl)(EditorToolbar);
|
|
@@ -10,7 +10,7 @@ exports.FullPageToolbarNext = void 0;
|
|
|
10
10
|
require("./FullPageToolbarNext.compiled.css");
|
|
11
11
|
var _runtime = require("@compiled/react/runtime");
|
|
12
12
|
var _react = _interopRequireWildcard(require("react"));
|
|
13
|
-
var
|
|
13
|
+
var _reactIntl = require("react-intl");
|
|
14
14
|
var _contextPanel = require("@atlaskit/editor-common/context-panel");
|
|
15
15
|
var _coreUtils = require("@atlaskit/editor-common/core-utils");
|
|
16
16
|
var _toolbar = require("@atlaskit/editor-common/toolbar");
|
|
@@ -85,7 +85,7 @@ var FullPageToolbarNext = exports.FullPageToolbarNext = function FullPageToolbar
|
|
|
85
85
|
disabled = _ref4.disabled;
|
|
86
86
|
var components = editorAPI === null || editorAPI === void 0 || (_editorAPI$toolbar = editorAPI.toolbar) === null || _editorAPI$toolbar === void 0 ? void 0 : _editorAPI$toolbar.actions.getComponents();
|
|
87
87
|
var contextualFormattingEnabled = editorAPI === null || editorAPI === void 0 || (_editorAPI$toolbar2 = editorAPI.toolbar) === null || _editorAPI$toolbar2 === void 0 ? void 0 : _editorAPI$toolbar2.actions.contextualFormattingMode();
|
|
88
|
-
var intl = (0,
|
|
88
|
+
var intl = (0, _reactIntl.useIntl)();
|
|
89
89
|
var toolbar = components === null || components === void 0 ? void 0 : components.find(function (component) {
|
|
90
90
|
return component.key === _toolbar.TOOLBARS.PRIMARY_TOOLBAR;
|
|
91
91
|
});
|
|
@@ -14,7 +14,7 @@ var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits
|
|
|
14
14
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
15
15
|
var _react = _interopRequireWildcard(require("react"));
|
|
16
16
|
var _react2 = require("@emotion/react");
|
|
17
|
-
var
|
|
17
|
+
var _reactIntl = require("react-intl");
|
|
18
18
|
var _messages = require("./messages");
|
|
19
19
|
var _styles = require("./styles");
|
|
20
20
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
@@ -70,4 +70,4 @@ var ChromeCollapsed = /*#__PURE__*/function (_PureComponent) {
|
|
|
70
70
|
}
|
|
71
71
|
}]);
|
|
72
72
|
}(_react.PureComponent);
|
|
73
|
-
var _default = exports.default = (0,
|
|
73
|
+
var _default = exports.default = (0, _reactIntl.injectIntl)(ChromeCollapsed);
|
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.messages = void 0;
|
|
7
|
-
var
|
|
8
|
-
var messages = exports.messages = (0,
|
|
7
|
+
var _reactIntl = require("react-intl");
|
|
8
|
+
var messages = exports.messages = (0, _reactIntl.defineMessages)({
|
|
9
9
|
chromeCollapsedPlaceholder: {
|
|
10
10
|
id: 'fabric.editor.chromeCollapsedPlaceholder',
|
|
11
11
|
defaultMessage: 'Type something…',
|
|
@@ -15,7 +15,7 @@ var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits
|
|
|
15
15
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
16
16
|
var _react = _interopRequireDefault(require("react"));
|
|
17
17
|
var _react2 = require("@emotion/react");
|
|
18
|
-
var
|
|
18
|
+
var _reactIntl = require("react-intl");
|
|
19
19
|
var _Transition = _interopRequireDefault(require("react-transition-group/Transition"));
|
|
20
20
|
var _contextPanel = require("@atlaskit/editor-common/context-panel");
|
|
21
21
|
var _hooks = require("@atlaskit/editor-common/hooks");
|
|
@@ -188,7 +188,7 @@ var SwappableContentAreaInner = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
188
188
|
}
|
|
189
189
|
}]);
|
|
190
190
|
}(_react.default.PureComponent);
|
|
191
|
-
var SwappableContentArea = exports.SwappableContentArea = (0,
|
|
191
|
+
var SwappableContentArea = exports.SwappableContentArea = (0, _reactIntl.injectIntl)(SwappableContentAreaInner);
|
|
192
192
|
function ContextPanel(props) {
|
|
193
193
|
var contextPanelContents = (0, _hooks.useSharedPluginStateWithSelector)(props.editorAPI, ['contextPanel'], function (states) {
|
|
194
194
|
var _states$contextPanelS;
|
|
@@ -534,6 +534,10 @@ var EditorContentContainer = /*#__PURE__*/_react.default.forwardRef(function (pr
|
|
|
534
534
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
535
535
|
_tableStyles.tableEmptyRowStyles,
|
|
536
536
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
537
|
+
(0, _expValEquals.expValEquals)('platform_editor_table_fit_to_content_auto_convert', 'isEnabled', true)
|
|
538
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
539
|
+
&& _tableStyles.tableContentModeStyles,
|
|
540
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
537
541
|
_link.hyperLinkFloatingToolbarStyles,
|
|
538
542
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
539
543
|
_selectionToolbarStyles.selectionToolbarAnimationStyles,
|
|
@@ -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.tableLayoutFixesWithFontSize = exports.tableLayoutFixes = exports.tableEmptyRowStyles = exports.tableContainerStyles = exports.tableCommentEditorStyles = exports.tableCommentEditorMarginOverride = void 0;
|
|
7
|
+
exports.tableLayoutFixesWithFontSize = exports.tableLayoutFixes = exports.tableEmptyRowStyles = exports.tableContentModeStyles = exports.tableContainerStyles = exports.tableCommentEditorStyles = exports.tableCommentEditorMarginOverride = void 0;
|
|
8
8
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
9
9
|
var _react = require("@emotion/react");
|
|
10
10
|
var _scrollbarStyles = require("./scrollbarStyles");
|
|
@@ -88,4 +88,29 @@ var tableEmptyRowStyles = exports.tableEmptyRowStyles = (0, _react.css)({
|
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
|
+
});
|
|
92
|
+
|
|
93
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
94
|
+
var tableContentModeStyles = exports.tableContentModeStyles = (0, _react.css)({
|
|
95
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
96
|
+
'.pm-table-resizer-container:has(table[data-initial-width-mode="content"])': {
|
|
97
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
98
|
+
width: 'max-content !important',
|
|
99
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values
|
|
100
|
+
'--ak-editor-table-width': 'max-content'
|
|
101
|
+
},
|
|
102
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
103
|
+
'.resizer-item:has(table[data-initial-width-mode="content"])': {
|
|
104
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
105
|
+
width: 'max-content !important'
|
|
106
|
+
},
|
|
107
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
108
|
+
'.ProseMirror .pm-table-wrapper table[data-initial-width-mode="content"]': {
|
|
109
|
+
tableLayout: 'auto'
|
|
110
|
+
},
|
|
111
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
112
|
+
'.ProseMirror .pm-table-wrapper table[data-initial-width-mode="content"] > colgroup > col': {
|
|
113
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
114
|
+
width: 'unset !important'
|
|
115
|
+
}
|
|
91
116
|
});
|
|
@@ -6,16 +6,16 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.IntlProviderIfMissingWrapper = IntlProviderIfMissingWrapper;
|
|
8
8
|
var _react = _interopRequireWildcard(require("react"));
|
|
9
|
-
var
|
|
9
|
+
var _reactIntl = require("react-intl");
|
|
10
10
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
11
11
|
var useCheckIntlContext = function useCheckIntlContext() {
|
|
12
|
-
return (0, _react.useContext)(
|
|
12
|
+
return (0, _react.useContext)(_reactIntl.IntlContext) === null;
|
|
13
13
|
};
|
|
14
14
|
function IntlProviderIfMissingWrapper(_ref) {
|
|
15
15
|
var children = _ref.children;
|
|
16
16
|
var missingIntlContext = useCheckIntlContext();
|
|
17
17
|
if (missingIntlContext) {
|
|
18
|
-
return /*#__PURE__*/_react.default.createElement(
|
|
18
|
+
return /*#__PURE__*/_react.default.createElement(_reactIntl.IntlProvider, {
|
|
19
19
|
locale: "en"
|
|
20
20
|
}, children);
|
|
21
21
|
}
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
var
|
|
9
|
+
var _reactIntl = require("react-intl");
|
|
10
10
|
var _uiMenu = require("@atlaskit/editor-common/ui-menu");
|
|
11
11
|
var _questionCircle = _interopRequireDefault(require("@atlaskit/icon/core/question-circle"));
|
|
12
12
|
var _EditorContext = require("../EditorContext");
|
|
@@ -64,4 +64,4 @@ var TooltipHelpTrigger = function TooltipHelpTrigger(_ref) {
|
|
|
64
64
|
})
|
|
65
65
|
});
|
|
66
66
|
};
|
|
67
|
-
var _default = exports.default = (0,
|
|
67
|
+
var _default = exports.default = (0, _reactIntl.injectIntl)(TooltipHelpTrigger);
|
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.messages = void 0;
|
|
7
|
-
var
|
|
8
|
-
var messages = exports.messages = (0,
|
|
7
|
+
var _reactIntl = require("react-intl");
|
|
8
|
+
var messages = exports.messages = (0, _reactIntl.defineMessages)({
|
|
9
9
|
toolbarHelpTitle: {
|
|
10
10
|
id: 'fabric.editor.headingLink.toolbarHelpTitle',
|
|
11
11
|
defaultMessage: 'Open help dialog',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { useCallback, useLayoutEffect, useMemo, useRef, useState, useEffect } from 'react';
|
|
2
|
-
import { injectIntl } from 'react-intl
|
|
2
|
+
import { injectIntl } from 'react-intl';
|
|
3
3
|
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
4
4
|
import uuid from 'uuid/v4';
|
|
5
5
|
import { ACTION, ACTION_SUBJECT, EVENT_TYPE, fireAnalyticsEvent, PLATFORMS } from '@atlaskit/editor-common/analytics';
|
|
@@ -7,7 +7,7 @@ import React, { useCallback, useEffect, useMemo, useState } from 'react';
|
|
|
7
7
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- Ignored via go/DSP-18766; jsx required at runtime for @jsxRuntime classic
|
|
8
8
|
import { css, jsx } from '@emotion/react';
|
|
9
9
|
import classnames from 'classnames';
|
|
10
|
-
import { useIntl } from 'react-intl
|
|
10
|
+
import { useIntl } from 'react-intl';
|
|
11
11
|
import ButtonGroup from '@atlaskit/button/button-group';
|
|
12
12
|
import Button from '@atlaskit/button/new';
|
|
13
13
|
import { useSharedPluginState, useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
|
|
@@ -8,7 +8,7 @@ import React, { useImperativeHandle, useRef } from 'react';
|
|
|
8
8
|
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- Ignored via go/DSP-18766; jsx required at runtime for @jsxRuntime classic */
|
|
9
9
|
import { css, jsx, useTheme } from '@emotion/react';
|
|
10
10
|
import classnames from 'classnames';
|
|
11
|
-
import { injectIntl } from 'react-intl
|
|
11
|
+
import { injectIntl } from 'react-intl';
|
|
12
12
|
import { decisionListSelector, taskListSelector } from '@atlaskit/adf-schema';
|
|
13
13
|
import { fullPageMessages as messages } from '@atlaskit/editor-common/messages';
|
|
14
14
|
import { akEditorGutterPaddingDynamic, akEditorGutterPaddingReduced, akEditorFullPageNarrowBreakout } from '@atlaskit/editor-shared-styles';
|
|
@@ -7,7 +7,7 @@ import React, { useEffect, useCallback, useState } from 'react';
|
|
|
7
7
|
|
|
8
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- Ignored via go/DSP-18766; jsx required at runtime for @jsxRuntime classic
|
|
9
9
|
import { jsx } from '@emotion/react';
|
|
10
|
-
import { injectIntl } from 'react-intl
|
|
10
|
+
import { injectIntl } from 'react-intl';
|
|
11
11
|
import { ContextPanelConsumer } from '@atlaskit/editor-common/context-panel';
|
|
12
12
|
import { fullPageMessages as messages } from '@atlaskit/editor-common/messages';
|
|
13
13
|
import { ToolbarArrowKeyNavigationProvider } from '@atlaskit/editor-common/ui-menu';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import "./FullPageToolbarNext.compiled.css";
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React, { useCallback } from 'react';
|
|
5
|
-
import { useIntl } from 'react-intl
|
|
5
|
+
import { useIntl } from 'react-intl';
|
|
6
6
|
import { ContextPanelConsumer } from '@atlaskit/editor-common/context-panel';
|
|
7
7
|
import { isSSR } from '@atlaskit/editor-common/core-utils';
|
|
8
8
|
import { shouldShowPrimaryToolbar, TOOLBARS } from '@atlaskit/editor-common/toolbar';
|
|
@@ -7,7 +7,7 @@ import React, { PureComponent } from 'react';
|
|
|
7
7
|
|
|
8
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- Ignored via go/DSP-18766; jsx required at runtime for @jsxRuntime classic
|
|
9
9
|
import { jsx } from '@emotion/react';
|
|
10
|
-
import { injectIntl } from 'react-intl
|
|
10
|
+
import { injectIntl } from 'react-intl';
|
|
11
11
|
import { messages } from './messages';
|
|
12
12
|
import { inputStyle } from './styles';
|
|
13
13
|
// Ignored via go/ees005
|
|
@@ -9,7 +9,7 @@ import React from 'react';
|
|
|
9
9
|
|
|
10
10
|
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- Ignored via go/DSP-18766; jsx required at runtime for @jsxRuntime classic */
|
|
11
11
|
import { css, jsx } from '@emotion/react';
|
|
12
|
-
import { injectIntl } from 'react-intl
|
|
12
|
+
import { injectIntl } from 'react-intl';
|
|
13
13
|
import Transition from 'react-transition-group/Transition';
|
|
14
14
|
import { ContextPanelConsumer } from '@atlaskit/editor-common/context-panel';
|
|
15
15
|
import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
|
|
@@ -58,7 +58,7 @@ import { shadowStyles } from './styles/shadowStyles';
|
|
|
58
58
|
import { editorControlsSmartCardStyles, linkingVisualRefreshV1Styles, showDiffDeletedNodeStyles, showDiffDeletedNodeStylesNew, smartCardDiffStyles, smartCardStyles, smartCardStylesWithSearchMatch, smartCardStylesWithSearchMatchAndBlockMenuDangerStyles, smartCardStylesWithSearchMatchAndPreviewPanelResponsiveness, smartLinksInLivePagesStyles } from './styles/smartCardStyles';
|
|
59
59
|
import { statusDangerStyles, statusStyles, statusStylesMixin_fg_platform_component_visual_refresh, statusStylesMixin_fg_platform_component_visual_refresh_with_search_match, statusStylesMixin_without_fg_platform_component_visual_refresh, statusStylesMixin_without_fg_platform_component_visual_refresh_with_search_match, statusStylesTeam26 } from './styles/statusStyles';
|
|
60
60
|
import { syncBlockStyles, syncBlockStylesBase, syncBlockFirstNodeStyles, syncBlockOverflowStyles } from './styles/syncBlockStyles';
|
|
61
|
-
import { tableCommentEditorStyles, tableContainerStyles, tableEmptyRowStyles, tableLayoutFixes, tableLayoutFixesWithFontSize } from './styles/tableStyles';
|
|
61
|
+
import { tableCommentEditorStyles, tableContainerStyles, tableEmptyRowStyles, tableLayoutFixes, tableLayoutFixesWithFontSize, tableContentModeStyles } from './styles/tableStyles';
|
|
62
62
|
import { decisionDangerStyles, decisionIconWithVisualRefresh, decisionStyles, getDenseTasksAndDecisionsStyles, taskItemCheckboxStyles, taskItemStyles, taskItemStylesWithBlockTaskItem, tasksAndDecisionsStyles } from './styles/tasksAndDecisionsStyles';
|
|
63
63
|
import { telepointerColorAndCommonStyle, telepointerStyle } from './styles/telepointerStyles';
|
|
64
64
|
import { textColorStyles } from './styles/textColorStyles';
|
|
@@ -530,6 +530,10 @@ const EditorContentContainer = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
530
530
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
531
531
|
tableEmptyRowStyles,
|
|
532
532
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
533
|
+
expValEquals('platform_editor_table_fit_to_content_auto_convert', 'isEnabled', true)
|
|
534
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
535
|
+
&& tableContentModeStyles,
|
|
536
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
533
537
|
hyperLinkFloatingToolbarStyles,
|
|
534
538
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
535
539
|
selectionToolbarAnimationStyles,
|
|
@@ -84,4 +84,29 @@ export const tableEmptyRowStyles = css({
|
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
|
+
});
|
|
88
|
+
|
|
89
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
90
|
+
export const tableContentModeStyles = css({
|
|
91
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
92
|
+
'.pm-table-resizer-container:has(table[data-initial-width-mode="content"])': {
|
|
93
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
94
|
+
width: 'max-content !important',
|
|
95
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values
|
|
96
|
+
'--ak-editor-table-width': 'max-content'
|
|
97
|
+
},
|
|
98
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
99
|
+
'.resizer-item:has(table[data-initial-width-mode="content"])': {
|
|
100
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
101
|
+
width: 'max-content !important'
|
|
102
|
+
},
|
|
103
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
104
|
+
'.ProseMirror .pm-table-wrapper table[data-initial-width-mode="content"]': {
|
|
105
|
+
tableLayout: 'auto'
|
|
106
|
+
},
|
|
107
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
108
|
+
'.ProseMirror .pm-table-wrapper table[data-initial-width-mode="content"] > colgroup > col': {
|
|
109
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
110
|
+
width: 'unset !important'
|
|
111
|
+
}
|
|
87
112
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { useContext } from 'react';
|
|
2
|
-
import { IntlContext, IntlProvider } from 'react-intl
|
|
2
|
+
import { IntlContext, IntlProvider } from 'react-intl';
|
|
3
3
|
const useCheckIntlContext = () => useContext(IntlContext) === null;
|
|
4
4
|
export function IntlProviderIfMissingWrapper({
|
|
5
5
|
children
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { injectIntl } from 'react-intl
|
|
2
|
+
import { injectIntl } from 'react-intl';
|
|
3
3
|
import { ToolbarButton } from '@atlaskit/editor-common/ui-menu';
|
|
4
4
|
import QuestionIcon from '@atlaskit/icon/core/question-circle';
|
|
5
5
|
import { useEditorContext } from '../EditorContext';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "
|
|
2
|
+
export const version = "218.0.0";
|
|
@@ -7,7 +7,7 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
7
7
|
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; }
|
|
8
8
|
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; }
|
|
9
9
|
import React, { useCallback, useLayoutEffect, useMemo, useRef, useState, useEffect } from 'react';
|
|
10
|
-
import { injectIntl } from 'react-intl
|
|
10
|
+
import { injectIntl } from 'react-intl';
|
|
11
11
|
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
12
12
|
import uuid from 'uuid/v4';
|
|
13
13
|
import { ACTION, ACTION_SUBJECT, EVENT_TYPE, fireAnalyticsEvent, PLATFORMS } from '@atlaskit/editor-common/analytics';
|
|
@@ -9,7 +9,7 @@ import React, { useCallback, useEffect, useMemo, useState } from 'react';
|
|
|
9
9
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- Ignored via go/DSP-18766; jsx required at runtime for @jsxRuntime classic
|
|
10
10
|
import { css, jsx } from '@emotion/react';
|
|
11
11
|
import classnames from 'classnames';
|
|
12
|
-
import { useIntl } from 'react-intl
|
|
12
|
+
import { useIntl } from 'react-intl';
|
|
13
13
|
import ButtonGroup from '@atlaskit/button/button-group';
|
|
14
14
|
import Button from '@atlaskit/button/new';
|
|
15
15
|
import { useSharedPluginState, useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
|
|
@@ -9,7 +9,7 @@ import React, { useImperativeHandle, useRef } from 'react';
|
|
|
9
9
|
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- Ignored via go/DSP-18766; jsx required at runtime for @jsxRuntime classic */
|
|
10
10
|
import { css, jsx, useTheme } from '@emotion/react';
|
|
11
11
|
import classnames from 'classnames';
|
|
12
|
-
import { injectIntl } from 'react-intl
|
|
12
|
+
import { injectIntl } from 'react-intl';
|
|
13
13
|
import { decisionListSelector, taskListSelector } from '@atlaskit/adf-schema';
|
|
14
14
|
import { fullPageMessages as messages } from '@atlaskit/editor-common/messages';
|
|
15
15
|
import { akEditorGutterPaddingDynamic, akEditorGutterPaddingReduced, akEditorFullPageNarrowBreakout } from '@atlaskit/editor-shared-styles';
|
|
@@ -8,7 +8,7 @@ import React, { useEffect, useCallback, useState } from 'react';
|
|
|
8
8
|
|
|
9
9
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- Ignored via go/DSP-18766; jsx required at runtime for @jsxRuntime classic
|
|
10
10
|
import { jsx } from '@emotion/react';
|
|
11
|
-
import { injectIntl } from 'react-intl
|
|
11
|
+
import { injectIntl } from 'react-intl';
|
|
12
12
|
import { ContextPanelConsumer } from '@atlaskit/editor-common/context-panel';
|
|
13
13
|
import { fullPageMessages as messages } from '@atlaskit/editor-common/messages';
|
|
14
14
|
import { ToolbarArrowKeyNavigationProvider } from '@atlaskit/editor-common/ui-menu';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import "./FullPageToolbarNext.compiled.css";
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React, { useCallback } from 'react';
|
|
5
|
-
import { useIntl } from 'react-intl
|
|
5
|
+
import { useIntl } from 'react-intl';
|
|
6
6
|
import { ContextPanelConsumer } from '@atlaskit/editor-common/context-panel';
|
|
7
7
|
import { isSSR } from '@atlaskit/editor-common/core-utils';
|
|
8
8
|
import { shouldShowPrimaryToolbar, TOOLBARS } from '@atlaskit/editor-common/toolbar';
|
|
@@ -14,7 +14,7 @@ import React, { PureComponent } from 'react';
|
|
|
14
14
|
|
|
15
15
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- Ignored via go/DSP-18766; jsx required at runtime for @jsxRuntime classic
|
|
16
16
|
import { jsx } from '@emotion/react';
|
|
17
|
-
import { injectIntl } from 'react-intl
|
|
17
|
+
import { injectIntl } from 'react-intl';
|
|
18
18
|
import { messages } from './messages';
|
|
19
19
|
import { inputStyle } from './styles';
|
|
20
20
|
// Ignored via go/ees005
|
|
@@ -18,7 +18,7 @@ import React from 'react';
|
|
|
18
18
|
|
|
19
19
|
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- Ignored via go/DSP-18766; jsx required at runtime for @jsxRuntime classic */
|
|
20
20
|
import { css, jsx } from '@emotion/react';
|
|
21
|
-
import { injectIntl } from 'react-intl
|
|
21
|
+
import { injectIntl } from 'react-intl';
|
|
22
22
|
import Transition from 'react-transition-group/Transition';
|
|
23
23
|
import { ContextPanelConsumer } from '@atlaskit/editor-common/context-panel';
|
|
24
24
|
import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
|
|
@@ -59,7 +59,7 @@ import { shadowStyles } from './styles/shadowStyles';
|
|
|
59
59
|
import { editorControlsSmartCardStyles, linkingVisualRefreshV1Styles, showDiffDeletedNodeStyles, showDiffDeletedNodeStylesNew, smartCardDiffStyles, smartCardStyles, smartCardStylesWithSearchMatch, smartCardStylesWithSearchMatchAndBlockMenuDangerStyles, smartCardStylesWithSearchMatchAndPreviewPanelResponsiveness, smartLinksInLivePagesStyles } from './styles/smartCardStyles';
|
|
60
60
|
import { statusDangerStyles, statusStyles, statusStylesMixin_fg_platform_component_visual_refresh, statusStylesMixin_fg_platform_component_visual_refresh_with_search_match, statusStylesMixin_without_fg_platform_component_visual_refresh, statusStylesMixin_without_fg_platform_component_visual_refresh_with_search_match, statusStylesTeam26 } from './styles/statusStyles';
|
|
61
61
|
import { syncBlockStyles, syncBlockStylesBase, syncBlockFirstNodeStyles, syncBlockOverflowStyles } from './styles/syncBlockStyles';
|
|
62
|
-
import { tableCommentEditorStyles, tableContainerStyles, tableEmptyRowStyles, tableLayoutFixes, tableLayoutFixesWithFontSize } from './styles/tableStyles';
|
|
62
|
+
import { tableCommentEditorStyles, tableContainerStyles, tableEmptyRowStyles, tableLayoutFixes, tableLayoutFixesWithFontSize, tableContentModeStyles } from './styles/tableStyles';
|
|
63
63
|
import { decisionDangerStyles, decisionIconWithVisualRefresh, decisionStyles, getDenseTasksAndDecisionsStyles, taskItemCheckboxStyles, taskItemStyles, taskItemStylesWithBlockTaskItem, tasksAndDecisionsStyles } from './styles/tasksAndDecisionsStyles';
|
|
64
64
|
import { telepointerColorAndCommonStyle, telepointerStyle } from './styles/telepointerStyles';
|
|
65
65
|
import { textColorStyles } from './styles/textColorStyles';
|
|
@@ -526,6 +526,10 @@ var EditorContentContainer = /*#__PURE__*/React.forwardRef(function (props, ref)
|
|
|
526
526
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
527
527
|
tableEmptyRowStyles,
|
|
528
528
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
529
|
+
expValEquals('platform_editor_table_fit_to_content_auto_convert', 'isEnabled', true)
|
|
530
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
531
|
+
&& tableContentModeStyles,
|
|
532
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
529
533
|
hyperLinkFloatingToolbarStyles,
|
|
530
534
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
531
535
|
selectionToolbarAnimationStyles,
|
|
@@ -81,4 +81,29 @@ export var tableEmptyRowStyles = css({
|
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
|
+
});
|
|
85
|
+
|
|
86
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
87
|
+
export var tableContentModeStyles = css({
|
|
88
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
89
|
+
'.pm-table-resizer-container:has(table[data-initial-width-mode="content"])': {
|
|
90
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
91
|
+
width: 'max-content !important',
|
|
92
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values
|
|
93
|
+
'--ak-editor-table-width': 'max-content'
|
|
94
|
+
},
|
|
95
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
96
|
+
'.resizer-item:has(table[data-initial-width-mode="content"])': {
|
|
97
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
98
|
+
width: 'max-content !important'
|
|
99
|
+
},
|
|
100
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
101
|
+
'.ProseMirror .pm-table-wrapper table[data-initial-width-mode="content"]': {
|
|
102
|
+
tableLayout: 'auto'
|
|
103
|
+
},
|
|
104
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
105
|
+
'.ProseMirror .pm-table-wrapper table[data-initial-width-mode="content"] > colgroup > col': {
|
|
106
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
107
|
+
width: 'unset !important'
|
|
108
|
+
}
|
|
84
109
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { useContext } from 'react';
|
|
2
|
-
import { IntlContext, IntlProvider } from 'react-intl
|
|
2
|
+
import { IntlContext, IntlProvider } from 'react-intl';
|
|
3
3
|
var useCheckIntlContext = function useCheckIntlContext() {
|
|
4
4
|
return useContext(IntlContext) === null;
|
|
5
5
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { injectIntl } from 'react-intl
|
|
2
|
+
import { injectIntl } from 'react-intl';
|
|
3
3
|
import { ToolbarButton } from '@atlaskit/editor-common/ui-menu';
|
|
4
4
|
import QuestionIcon from '@atlaskit/icon/core/question-circle';
|
|
5
5
|
import { useEditorContext } from '../EditorContext';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "
|
|
2
|
+
export var version = "218.0.0";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { WrappedComponentProps, WithIntlProps } from 'react-intl
|
|
2
|
+
import type { WrappedComponentProps, WithIntlProps } from 'react-intl';
|
|
3
3
|
import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next/types';
|
|
4
4
|
import type { DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics';
|
|
5
5
|
import { EventDispatcher } from '@atlaskit/editor-common/event-dispatcher';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IntlShape } from 'react-intl
|
|
1
|
+
import type { IntlShape } from 'react-intl';
|
|
2
2
|
import type { DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics';
|
|
3
3
|
import type { Dispatch, EventDispatcher } from '@atlaskit/editor-common/event-dispatcher';
|
|
4
4
|
import type { PortalProviderAPI } from '@atlaskit/editor-common/portal';
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import type { ReactElement } from 'react';
|
|
6
6
|
import React from 'react';
|
|
7
|
-
import type { WrappedComponentProps } from 'react-intl
|
|
7
|
+
import type { WrappedComponentProps } from 'react-intl';
|
|
8
8
|
import type { DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics';
|
|
9
9
|
import type { EventDispatcher } from '@atlaskit/editor-common/event-dispatcher';
|
|
10
10
|
import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
@@ -48,7 +48,7 @@ interface FullPageEditorContentAreaProps {
|
|
|
48
48
|
}
|
|
49
49
|
export declare const CONTENT_AREA_TEST_ID = "ak-editor-fp-content-area";
|
|
50
50
|
export declare const EDITOR_CONTAINER = "ak-editor-container";
|
|
51
|
-
export declare const FullPageContentArea: React.ForwardRefExoticComponent<Omit<import("react-intl
|
|
51
|
+
export declare const FullPageContentArea: React.ForwardRefExoticComponent<Omit<import("react-intl").WithIntlProps<React.PropsWithChildren<FullPageEditorContentAreaProps & WrappedComponentProps & React.RefAttributes<ScrollContainerRefs>>>, "ref"> & React.RefAttributes<any>> & {
|
|
52
52
|
WrappedComponent: React.ComponentType<FullPageEditorContentAreaProps & WrappedComponentProps & React.RefAttributes<ScrollContainerRefs>>;
|
|
53
53
|
};
|
|
54
54
|
export {};
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import type { ReactElement } from 'react';
|
|
6
6
|
import React from 'react';
|
|
7
7
|
import { jsx } from '@emotion/react';
|
|
8
|
-
import type { WrappedComponentProps } from 'react-intl
|
|
8
|
+
import type { WrappedComponentProps } from 'react-intl';
|
|
9
9
|
import type { DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics';
|
|
10
10
|
import type { CollabEditOptions } from '@atlaskit/editor-common/collab';
|
|
11
11
|
import type { EventDispatcher } from '@atlaskit/editor-common/event-dispatcher';
|
|
@@ -51,6 +51,6 @@ export interface FullPageToolbarProps {
|
|
|
51
51
|
showKeyline: boolean;
|
|
52
52
|
}
|
|
53
53
|
export declare const EditorToolbar: React.MemoExoticComponent<(props: FullPageToolbarProps & WrappedComponentProps) => jsx.JSX.Element>;
|
|
54
|
-
export declare const FullPageToolbar: React.FC<import("react-intl
|
|
54
|
+
export declare const FullPageToolbar: React.FC<import("react-intl").WithIntlProps<FullPageToolbarProps & WrappedComponentProps>> & {
|
|
55
55
|
WrappedComponent: React.ComponentType<FullPageToolbarProps & WrappedComponentProps>;
|
|
56
56
|
};
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
|
-
import type { WrappedComponentProps } from 'react-intl
|
|
6
|
+
import type { WrappedComponentProps } from 'react-intl';
|
|
7
7
|
export interface Props {
|
|
8
8
|
label?: string;
|
|
9
9
|
onFocus?: (e: React.FocusEvent<HTMLInputElement>) => void;
|
|
10
10
|
text?: string;
|
|
11
11
|
}
|
|
12
|
-
declare const _default: React.FC<import("react-intl
|
|
12
|
+
declare const _default: React.FC<import("react-intl").WithIntlProps<Props & WrappedComponentProps>> & {
|
|
13
13
|
WrappedComponent: React.ComponentType<Props & WrappedComponentProps>;
|
|
14
14
|
};
|
|
15
15
|
export default _default;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import { jsx } from '@emotion/react';
|
|
7
7
|
import type { SerializedStyles } from '@emotion/react';
|
|
8
|
-
import type { IntlShape } from 'react-intl
|
|
8
|
+
import type { IntlShape } from 'react-intl';
|
|
9
9
|
import type { OptionalPlugin, PublicPluginAPI } from '@atlaskit/editor-common/types';
|
|
10
10
|
import type { ContextPanelPlugin } from '@atlaskit/editor-plugins/context-panel';
|
|
11
11
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
@@ -23,7 +23,7 @@ type SwappableContentAreaProps = {
|
|
|
23
23
|
intl: IntlShape;
|
|
24
24
|
pluginContent?: React.ReactNode;
|
|
25
25
|
} & Props;
|
|
26
|
-
export declare const SwappableContentArea: React.FC<import("react-intl
|
|
26
|
+
export declare const SwappableContentArea: React.FC<import("react-intl").WithIntlProps<SwappableContentAreaProps>> & {
|
|
27
27
|
WrappedComponent: React.ComponentType<SwappableContentAreaProps>;
|
|
28
28
|
};
|
|
29
29
|
export declare function ContextPanel(props: Props): jsx.JSX.Element;
|
|
@@ -5,3 +5,4 @@ export declare const tableCommentEditorMarginOverride: SerializedStyles;
|
|
|
5
5
|
export declare const tableCommentEditorStyles: SerializedStyles;
|
|
6
6
|
export declare const tableContainerStyles: SerializedStyles;
|
|
7
7
|
export declare const tableEmptyRowStyles: SerializedStyles;
|
|
8
|
+
export declare const tableContentModeStyles: SerializedStyles;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { WrappedComponentProps } from 'react-intl
|
|
2
|
+
import type { WrappedComponentProps } from 'react-intl';
|
|
3
3
|
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
4
4
|
import type { HelpDialogPlugin } from '@atlaskit/editor-plugins/help-dialog';
|
|
5
5
|
import type { PositionType } from '@atlaskit/tooltip/types';
|
|
@@ -8,7 +8,7 @@ interface Props {
|
|
|
8
8
|
title?: string;
|
|
9
9
|
titlePosition?: PositionType;
|
|
10
10
|
}
|
|
11
|
-
declare const _default: React.FC<import("react-intl
|
|
11
|
+
declare const _default: React.FC<import("react-intl").WithIntlProps<Props & WrappedComponentProps>> & {
|
|
12
12
|
WrappedComponent: React.ComponentType<Props & WrappedComponentProps>;
|
|
13
13
|
};
|
|
14
14
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { WrappedComponentProps, WithIntlProps } from 'react-intl
|
|
2
|
+
import type { WrappedComponentProps, WithIntlProps } from 'react-intl';
|
|
3
3
|
import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next/types';
|
|
4
4
|
import type { DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics';
|
|
5
5
|
import { EventDispatcher } from '@atlaskit/editor-common/event-dispatcher';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IntlShape } from 'react-intl
|
|
1
|
+
import type { IntlShape } from 'react-intl';
|
|
2
2
|
import type { DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics';
|
|
3
3
|
import type { Dispatch, EventDispatcher } from '@atlaskit/editor-common/event-dispatcher';
|
|
4
4
|
import type { PortalProviderAPI } from '@atlaskit/editor-common/portal';
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import type { ReactElement } from 'react';
|
|
6
6
|
import React from 'react';
|
|
7
|
-
import type { WrappedComponentProps } from 'react-intl
|
|
7
|
+
import type { WrappedComponentProps } from 'react-intl';
|
|
8
8
|
import type { DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics';
|
|
9
9
|
import type { EventDispatcher } from '@atlaskit/editor-common/event-dispatcher';
|
|
10
10
|
import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
@@ -48,7 +48,7 @@ interface FullPageEditorContentAreaProps {
|
|
|
48
48
|
}
|
|
49
49
|
export declare const CONTENT_AREA_TEST_ID = "ak-editor-fp-content-area";
|
|
50
50
|
export declare const EDITOR_CONTAINER = "ak-editor-container";
|
|
51
|
-
export declare const FullPageContentArea: React.ForwardRefExoticComponent<Omit<import("react-intl
|
|
51
|
+
export declare const FullPageContentArea: React.ForwardRefExoticComponent<Omit<import("react-intl").WithIntlProps<React.PropsWithChildren<FullPageEditorContentAreaProps & WrappedComponentProps & React.RefAttributes<ScrollContainerRefs>>>, "ref"> & React.RefAttributes<any>> & {
|
|
52
52
|
WrappedComponent: React.ComponentType<FullPageEditorContentAreaProps & WrappedComponentProps & React.RefAttributes<ScrollContainerRefs>>;
|
|
53
53
|
};
|
|
54
54
|
export {};
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import type { ReactElement } from 'react';
|
|
6
6
|
import React from 'react';
|
|
7
7
|
import { jsx } from '@emotion/react';
|
|
8
|
-
import type { WrappedComponentProps } from 'react-intl
|
|
8
|
+
import type { WrappedComponentProps } from 'react-intl';
|
|
9
9
|
import type { DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics';
|
|
10
10
|
import type { CollabEditOptions } from '@atlaskit/editor-common/collab';
|
|
11
11
|
import type { EventDispatcher } from '@atlaskit/editor-common/event-dispatcher';
|
|
@@ -51,6 +51,6 @@ export interface FullPageToolbarProps {
|
|
|
51
51
|
showKeyline: boolean;
|
|
52
52
|
}
|
|
53
53
|
export declare const EditorToolbar: React.MemoExoticComponent<(props: FullPageToolbarProps & WrappedComponentProps) => jsx.JSX.Element>;
|
|
54
|
-
export declare const FullPageToolbar: React.FC<import("react-intl
|
|
54
|
+
export declare const FullPageToolbar: React.FC<import("react-intl").WithIntlProps<FullPageToolbarProps & WrappedComponentProps>> & {
|
|
55
55
|
WrappedComponent: React.ComponentType<FullPageToolbarProps & WrappedComponentProps>;
|
|
56
56
|
};
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
|
-
import type { WrappedComponentProps } from 'react-intl
|
|
6
|
+
import type { WrappedComponentProps } from 'react-intl';
|
|
7
7
|
export interface Props {
|
|
8
8
|
label?: string;
|
|
9
9
|
onFocus?: (e: React.FocusEvent<HTMLInputElement>) => void;
|
|
10
10
|
text?: string;
|
|
11
11
|
}
|
|
12
|
-
declare const _default: React.FC<import("react-intl
|
|
12
|
+
declare const _default: React.FC<import("react-intl").WithIntlProps<Props & WrappedComponentProps>> & {
|
|
13
13
|
WrappedComponent: React.ComponentType<Props & WrappedComponentProps>;
|
|
14
14
|
};
|
|
15
15
|
export default _default;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import { jsx } from '@emotion/react';
|
|
7
7
|
import type { SerializedStyles } from '@emotion/react';
|
|
8
|
-
import type { IntlShape } from 'react-intl
|
|
8
|
+
import type { IntlShape } from 'react-intl';
|
|
9
9
|
import type { OptionalPlugin, PublicPluginAPI } from '@atlaskit/editor-common/types';
|
|
10
10
|
import type { ContextPanelPlugin } from '@atlaskit/editor-plugins/context-panel';
|
|
11
11
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
@@ -25,7 +25,7 @@ type SwappableContentAreaProps = {
|
|
|
25
25
|
intl: IntlShape;
|
|
26
26
|
pluginContent?: React.ReactNode;
|
|
27
27
|
} & Props;
|
|
28
|
-
export declare const SwappableContentArea: React.FC<import("react-intl
|
|
28
|
+
export declare const SwappableContentArea: React.FC<import("react-intl").WithIntlProps<SwappableContentAreaProps>> & {
|
|
29
29
|
WrappedComponent: React.ComponentType<SwappableContentAreaProps>;
|
|
30
30
|
};
|
|
31
31
|
export declare function ContextPanel(props: Props): jsx.JSX.Element;
|
|
@@ -5,3 +5,4 @@ export declare const tableCommentEditorMarginOverride: SerializedStyles;
|
|
|
5
5
|
export declare const tableCommentEditorStyles: SerializedStyles;
|
|
6
6
|
export declare const tableContainerStyles: SerializedStyles;
|
|
7
7
|
export declare const tableEmptyRowStyles: SerializedStyles;
|
|
8
|
+
export declare const tableContentModeStyles: SerializedStyles;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { WrappedComponentProps } from 'react-intl
|
|
2
|
+
import type { WrappedComponentProps } from 'react-intl';
|
|
3
3
|
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
4
4
|
import type { HelpDialogPlugin } from '@atlaskit/editor-plugins/help-dialog';
|
|
5
5
|
import type { PositionType } from '@atlaskit/tooltip/types';
|
|
@@ -8,7 +8,7 @@ interface Props {
|
|
|
8
8
|
title?: string;
|
|
9
9
|
titlePosition?: PositionType;
|
|
10
10
|
}
|
|
11
|
-
declare const _default: React.FC<import("react-intl
|
|
11
|
+
declare const _default: React.FC<import("react-intl").WithIntlProps<Props & WrappedComponentProps>> & {
|
|
12
12
|
WrappedComponent: React.ComponentType<Props & WrappedComponentProps>;
|
|
13
13
|
};
|
|
14
14
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "219.0.0",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@atlaskit/activity-provider": "^2.5.0",
|
|
42
|
-
"@atlaskit/adf-schema": "^52.
|
|
42
|
+
"@atlaskit/adf-schema": "^52.5.0",
|
|
43
43
|
"@atlaskit/afm-i18n-platform-editor-editor-core": "2.10.0",
|
|
44
44
|
"@atlaskit/analytics-namespaced-context": "^7.2.0",
|
|
45
45
|
"@atlaskit/analytics-next": "^11.2.0",
|
|
@@ -48,26 +48,26 @@
|
|
|
48
48
|
"@atlaskit/css": "^0.19.0",
|
|
49
49
|
"@atlaskit/editor-json-transformer": "^8.31.0",
|
|
50
50
|
"@atlaskit/editor-performance-metrics": "^2.1.0",
|
|
51
|
-
"@atlaskit/editor-plugin-connectivity": "^
|
|
52
|
-
"@atlaskit/editor-plugin-quick-insert": "^
|
|
53
|
-
"@atlaskit/editor-plugin-user-preferences": "^
|
|
51
|
+
"@atlaskit/editor-plugin-connectivity": "^10.0.0",
|
|
52
|
+
"@atlaskit/editor-plugin-quick-insert": "^10.0.0",
|
|
53
|
+
"@atlaskit/editor-plugin-user-preferences": "^8.0.0",
|
|
54
54
|
"@atlaskit/editor-plugins": "^13.0.0",
|
|
55
55
|
"@atlaskit/editor-prosemirror": "^7.3.0",
|
|
56
56
|
"@atlaskit/editor-shared-styles": "^3.10.0",
|
|
57
|
-
"@atlaskit/editor-ssr-renderer": "^
|
|
58
|
-
"@atlaskit/editor-toolbar": "^0.
|
|
57
|
+
"@atlaskit/editor-ssr-renderer": "^5.0.0",
|
|
58
|
+
"@atlaskit/editor-toolbar": "^1.0.0",
|
|
59
59
|
"@atlaskit/editor-toolbar-model": "^0.4.0",
|
|
60
60
|
"@atlaskit/emoji": "^70.0.0",
|
|
61
61
|
"@atlaskit/feature-gate-js-client": "^5.5.0",
|
|
62
|
-
"@atlaskit/icon": "^34.
|
|
62
|
+
"@atlaskit/icon": "^34.2.0",
|
|
63
63
|
"@atlaskit/link": "^3.4.0",
|
|
64
|
-
"@atlaskit/media-card": "^
|
|
64
|
+
"@atlaskit/media-card": "^80.0.0",
|
|
65
65
|
"@atlaskit/mention": "^25.0.0",
|
|
66
66
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
67
67
|
"@atlaskit/platform-feature-flags-react": "^0.4.0",
|
|
68
|
-
"@atlaskit/react-ufo": "^5.
|
|
68
|
+
"@atlaskit/react-ufo": "^5.14.0",
|
|
69
69
|
"@atlaskit/task-decision": "^20.0.0",
|
|
70
|
-
"@atlaskit/tmp-editor-statsig": "^62.
|
|
70
|
+
"@atlaskit/tmp-editor-statsig": "^62.4.0",
|
|
71
71
|
"@atlaskit/tokens": "^13.0.0",
|
|
72
72
|
"@atlaskit/tooltip": "^21.1.0",
|
|
73
73
|
"@atlaskit/width-detector": "^5.1.0",
|
|
@@ -84,12 +84,12 @@
|
|
|
84
84
|
"uuid": "^3.1.0"
|
|
85
85
|
},
|
|
86
86
|
"peerDependencies": {
|
|
87
|
-
"@atlaskit/editor-common": "^
|
|
87
|
+
"@atlaskit/editor-common": "^114.0.0",
|
|
88
88
|
"@atlaskit/link-provider": "^4.3.0",
|
|
89
89
|
"@atlaskit/media-core": "^37.0.0",
|
|
90
90
|
"react": "^18.2.0",
|
|
91
91
|
"react-dom": "^18.2.0",
|
|
92
|
-
"react-intl
|
|
92
|
+
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|
|
93
93
|
},
|
|
94
94
|
"devDependencies": {
|
|
95
95
|
"@af/editor-libra": "workspace:^",
|
|
@@ -97,29 +97,29 @@
|
|
|
97
97
|
"@af/visual-regression": "workspace:^",
|
|
98
98
|
"@atlaskit/adf-utils": "^19.27.0",
|
|
99
99
|
"@atlaskit/analytics-listeners": "^10.0.0",
|
|
100
|
-
"@atlaskit/collab-provider": "^
|
|
101
|
-
"@atlaskit/editor-plugin-annotation": "^
|
|
102
|
-
"@atlaskit/editor-plugin-card": "^
|
|
103
|
-
"@atlaskit/editor-plugin-list": "^
|
|
104
|
-
"@atlaskit/editor-plugin-paste": "^
|
|
100
|
+
"@atlaskit/collab-provider": "^18.0.0",
|
|
101
|
+
"@atlaskit/editor-plugin-annotation": "^10.0.0",
|
|
102
|
+
"@atlaskit/editor-plugin-card": "^16.0.0",
|
|
103
|
+
"@atlaskit/editor-plugin-list": "^12.0.0",
|
|
104
|
+
"@atlaskit/editor-plugin-paste": "^11.0.0",
|
|
105
105
|
"@atlaskit/editor-test-helpers": "workspace:^",
|
|
106
106
|
"@atlaskit/link-provider": "^4.3.0",
|
|
107
107
|
"@atlaskit/linking-common": "^9.11.0",
|
|
108
108
|
"@atlaskit/logo": "^20.0.0",
|
|
109
109
|
"@atlaskit/media-core": "^37.0.0",
|
|
110
110
|
"@atlaskit/media-integration-test-helpers": "workspace:^",
|
|
111
|
-
"@atlaskit/media-test-helpers": "^
|
|
111
|
+
"@atlaskit/media-test-helpers": "^41.0.0",
|
|
112
112
|
"@atlaskit/modal-dialog": "^14.15.0",
|
|
113
|
-
"@atlaskit/renderer": "^
|
|
113
|
+
"@atlaskit/renderer": "^130.0.0",
|
|
114
114
|
"@atlaskit/section-message": "^8.12.0",
|
|
115
115
|
"@atlaskit/synchrony-test-helpers": "workspace:^",
|
|
116
|
-
"@atlaskit/toggle": "^15.
|
|
116
|
+
"@atlaskit/toggle": "^15.6.0",
|
|
117
117
|
"@atlaskit/util-data-test": "^18.5.0",
|
|
118
118
|
"@atlassian/a11y-jest-testing": "^0.11.0",
|
|
119
119
|
"@atlassian/adf-schema-json": "^1.33.0",
|
|
120
120
|
"@atlassian/feature-flags-test-utils": "^1.0.0",
|
|
121
|
-
"@atlassian/search-client": "^0.
|
|
122
|
-
"@atlassian/search-provider": "^
|
|
121
|
+
"@atlassian/search-client": "^1.0.0",
|
|
122
|
+
"@atlassian/search-provider": "^11.0.0",
|
|
123
123
|
"@emotion/jest": "^11.8.0",
|
|
124
124
|
"@testing-library/react": "^16.3.0",
|
|
125
125
|
"@types/diff": "^5.0.2",
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
"mockdate": "^3.0.5",
|
|
132
132
|
"raf-stub": "^2.0.1",
|
|
133
133
|
"react": "^18.2.0",
|
|
134
|
-
"react-intl
|
|
134
|
+
"react-intl": "^6.6.2",
|
|
135
135
|
"url-search-params": "^0.10.0"
|
|
136
136
|
},
|
|
137
137
|
"techstack": {
|
package/report.api.md
CHANGED
|
@@ -91,8 +91,8 @@ import type { Transformer as Transformer_2 } from '@atlaskit/editor-common/types
|
|
|
91
91
|
import { TypeAheadItem } from '@atlaskit/editor-common/provider-factory';
|
|
92
92
|
import { UIComponentFactory } from '@atlaskit/editor-common/types';
|
|
93
93
|
import type { UseStickyToolbarType } from '@atlaskit/editor-common/ui';
|
|
94
|
-
import { WithIntlProps } from 'react-intl
|
|
95
|
-
import type { WrappedComponentProps } from 'react-intl
|
|
94
|
+
import { WithIntlProps } from 'react-intl';
|
|
95
|
+
import type { WrappedComponentProps } from 'react-intl';
|
|
96
96
|
|
|
97
97
|
export { ACTION };
|
|
98
98
|
|
|
@@ -798,7 +798,7 @@ interface WithHelpTriggerProps {
|
|
|
798
798
|
"@atlaskit/media-core": "^34.1.2",
|
|
799
799
|
"react": "^16.8.0",
|
|
800
800
|
"react-dom": "^16.8.0",
|
|
801
|
-
"react-intl
|
|
801
|
+
"react-intl": "npm:react-intl@^5.18.1"
|
|
802
802
|
}
|
|
803
803
|
```
|
|
804
804
|
|