@atlaskit/editor-core 215.9.5 → 215.9.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -0
- package/dist/cjs/composable-editor/editor-internal.js +1 -2
- package/dist/cjs/create-editor/ReactEditorView.js +1 -1
- package/dist/cjs/ui/EditorContentContainer/styles/smartCardStyles.js +1 -1
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/composable-editor/editor-internal.js +1 -2
- package/dist/es2019/create-editor/ReactEditorView.js +1 -1
- package/dist/es2019/ui/EditorContentContainer/styles/smartCardStyles.js +1 -1
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/composable-editor/editor-internal.js +1 -2
- package/dist/esm/create-editor/ReactEditorView.js +1 -1
- package/dist/esm/ui/EditorContentContainer/styles/smartCardStyles.js +1 -1
- package/dist/esm/version-wrapper.js +1 -1
- package/package.json +4 -23
- package/afm-post-office/tsconfig.json +0 -115
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 215.9.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`97741f3657384`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/97741f3657384) -
|
|
8
|
+
Remove platform_editor_disable_rerender_tracking_jira
|
|
9
|
+
- [`b0103f4f35c6d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b0103f4f35c6d) -
|
|
10
|
+
Removed fg platform_renderer_triple_click_selects_paragraph
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
|
|
13
|
+
## 215.9.6
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- [`6cb21d13010a3`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/6cb21d13010a3) -
|
|
18
|
+
Exclude SLLV (and keep only block card) element when applying list (ul/ol) css override
|
|
19
|
+
- [`b504b21832b1f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b504b21832b1f) -
|
|
20
|
+
Removed feature gate platform_editor_table_overflow_in_full_width_fix
|
|
21
|
+
- Updated dependencies
|
|
22
|
+
|
|
3
23
|
## 215.9.5
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
|
@@ -11,7 +11,6 @@ var _react = require("react");
|
|
|
11
11
|
var _react2 = require("@emotion/react");
|
|
12
12
|
var _analytics = require("@atlaskit/editor-common/analytics");
|
|
13
13
|
var _portal = require("@atlaskit/editor-common/portal");
|
|
14
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
15
14
|
var _ErrorBoundary = _interopRequireDefault(require("../create-editor/ErrorBoundary"));
|
|
16
15
|
var _ReactEditorView = _interopRequireDefault(require("../create-editor/ReactEditorView"));
|
|
17
16
|
var _EditorContext = _interopRequireDefault(require("../ui/EditorContext"));
|
|
@@ -55,7 +54,7 @@ var EditorInternal = exports.EditorInternal = /*#__PURE__*/(0, _react.memo)(func
|
|
|
55
54
|
|
|
56
55
|
// Render tracking is firing too many events in Jira so we are disabling them for now. See - https://product-fabric.atlassian.net/browse/ED-25616
|
|
57
56
|
// Also firing too many events for the legacy content macro, so disabling for now. See - https://product-fabric.atlassian.net/browse/ED-26650
|
|
58
|
-
var renderTrackingEnabled =
|
|
57
|
+
var renderTrackingEnabled = false;
|
|
59
58
|
var useShallow = false;
|
|
60
59
|
var _usePortalProvider = (0, _portal.usePortalProvider)(),
|
|
61
60
|
_usePortalProvider2 = (0, _slicedToArray2.default)(_usePortalProvider, 2),
|
|
@@ -739,7 +739,7 @@ function ReactEditorView(props) {
|
|
|
739
739
|
|
|
740
740
|
// Render tracking is firing too many events in Jira so we are disabling them for now. See - https://product-fabric.atlassian.net/browse/ED-25616
|
|
741
741
|
// Also firing too many events for the legacy content macro, so disabling for now. See - https://product-fabric.atlassian.net/browse/ED-26650
|
|
742
|
-
var renderTrackingEnabled =
|
|
742
|
+
var renderTrackingEnabled = false;
|
|
743
743
|
return /*#__PURE__*/_react.default.createElement(_uiReact.ReactEditorViewContext.Provider, {
|
|
744
744
|
value: {
|
|
745
745
|
editorRef: editorRef,
|
|
@@ -379,7 +379,7 @@ var smartLinksInLivePagesStyles = exports.smartLinksInLivePagesStyles = (0, _rea
|
|
|
379
379
|
})));
|
|
380
380
|
|
|
381
381
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
382
|
-
var linkingVisualRefreshV1Styles = exports.linkingVisualRefreshV1Styles = (0, _react.css)((0, _defineProperty2.default)({}, ".".concat(SmartCardSharedCssClassName.BLOCK_CARD_CONTAINER), {
|
|
382
|
+
var linkingVisualRefreshV1Styles = exports.linkingVisualRefreshV1Styles = (0, _react.css)((0, _defineProperty2.default)({}, ".".concat(SmartCardSharedCssClassName.BLOCK_CARD_CONTAINER, ":not(.").concat(SmartCardSharedCssClassName.DATASOURCE_CONTAINER, ")"), {
|
|
383
383
|
// EDM-11991: Fix list plugin adding padding to ADS AvatarGroup
|
|
384
384
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
385
385
|
'ul, ol': {
|
|
@@ -8,7 +8,6 @@ import { Fragment, memo } from 'react';
|
|
|
8
8
|
import { css, jsx } from '@emotion/react';
|
|
9
9
|
import { ACTION, ACTION_SUBJECT } from '@atlaskit/editor-common/analytics';
|
|
10
10
|
import { usePortalProvider } from '@atlaskit/editor-common/portal';
|
|
11
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
12
11
|
import ErrorBoundary from '../create-editor/ErrorBoundary';
|
|
13
12
|
import ReactEditorViewNext from '../create-editor/ReactEditorView';
|
|
14
13
|
import EditorContext from '../ui/EditorContext';
|
|
@@ -49,7 +48,7 @@ export const EditorInternal = /*#__PURE__*/memo(({
|
|
|
49
48
|
|
|
50
49
|
// Render tracking is firing too many events in Jira so we are disabling them for now. See - https://product-fabric.atlassian.net/browse/ED-25616
|
|
51
50
|
// Also firing too many events for the legacy content macro, so disabling for now. See - https://product-fabric.atlassian.net/browse/ED-26650
|
|
52
|
-
const renderTrackingEnabled =
|
|
51
|
+
const renderTrackingEnabled = false;
|
|
53
52
|
const useShallow = false;
|
|
54
53
|
const [portalProviderAPI, PortalRenderer] = usePortalProvider();
|
|
55
54
|
const [nodeViewPortalProviderAPI, NodeViewPortalRenderer] = usePortalProvider();
|
|
@@ -681,7 +681,7 @@ export function ReactEditorView(props) {
|
|
|
681
681
|
|
|
682
682
|
// Render tracking is firing too many events in Jira so we are disabling them for now. See - https://product-fabric.atlassian.net/browse/ED-25616
|
|
683
683
|
// Also firing too many events for the legacy content macro, so disabling for now. See - https://product-fabric.atlassian.net/browse/ED-26650
|
|
684
|
-
const renderTrackingEnabled =
|
|
684
|
+
const renderTrackingEnabled = false;
|
|
685
685
|
return /*#__PURE__*/React.createElement(ReactEditorViewContext.Provider, {
|
|
686
686
|
value: {
|
|
687
687
|
editorRef: editorRef,
|
|
@@ -560,7 +560,7 @@ export const smartLinksInLivePagesStyles = css({
|
|
|
560
560
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
561
561
|
export const linkingVisualRefreshV1Styles = css({
|
|
562
562
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors,@atlaskit/ui-styling-standard/no-unsafe-values
|
|
563
|
-
[`.${SmartCardSharedCssClassName.BLOCK_CARD_CONTAINER}`]: {
|
|
563
|
+
[`.${SmartCardSharedCssClassName.BLOCK_CARD_CONTAINER}:not(.${SmartCardSharedCssClassName.DATASOURCE_CONTAINER})`]: {
|
|
564
564
|
// EDM-11991: Fix list plugin adding padding to ADS AvatarGroup
|
|
565
565
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
566
566
|
'ul, ol': {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "
|
|
2
|
+
export const version = "0.0.0-development";
|
|
@@ -12,7 +12,6 @@ import { Fragment, memo } from 'react';
|
|
|
12
12
|
import { css, jsx } from '@emotion/react';
|
|
13
13
|
import { ACTION, ACTION_SUBJECT } from '@atlaskit/editor-common/analytics';
|
|
14
14
|
import { usePortalProvider } from '@atlaskit/editor-common/portal';
|
|
15
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
16
15
|
import ErrorBoundary from '../create-editor/ErrorBoundary';
|
|
17
16
|
import ReactEditorViewNext from '../create-editor/ReactEditorView';
|
|
18
17
|
import EditorContext from '../ui/EditorContext';
|
|
@@ -51,7 +50,7 @@ export var EditorInternal = /*#__PURE__*/memo(function (_ref) {
|
|
|
51
50
|
|
|
52
51
|
// Render tracking is firing too many events in Jira so we are disabling them for now. See - https://product-fabric.atlassian.net/browse/ED-25616
|
|
53
52
|
// Also firing too many events for the legacy content macro, so disabling for now. See - https://product-fabric.atlassian.net/browse/ED-26650
|
|
54
|
-
var renderTrackingEnabled =
|
|
53
|
+
var renderTrackingEnabled = false;
|
|
55
54
|
var useShallow = false;
|
|
56
55
|
var _usePortalProvider = usePortalProvider(),
|
|
57
56
|
_usePortalProvider2 = _slicedToArray(_usePortalProvider, 2),
|
|
@@ -729,7 +729,7 @@ export function ReactEditorView(props) {
|
|
|
729
729
|
|
|
730
730
|
// Render tracking is firing too many events in Jira so we are disabling them for now. See - https://product-fabric.atlassian.net/browse/ED-25616
|
|
731
731
|
// Also firing too many events for the legacy content macro, so disabling for now. See - https://product-fabric.atlassian.net/browse/ED-26650
|
|
732
|
-
var renderTrackingEnabled =
|
|
732
|
+
var renderTrackingEnabled = false;
|
|
733
733
|
return /*#__PURE__*/React.createElement(ReactEditorViewContext.Provider, {
|
|
734
734
|
value: {
|
|
735
735
|
editorRef: editorRef,
|
|
@@ -371,7 +371,7 @@ export var smartLinksInLivePagesStyles = css(_defineProperty(_defineProperty({},
|
|
|
371
371
|
})));
|
|
372
372
|
|
|
373
373
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
374
|
-
export var linkingVisualRefreshV1Styles = css(_defineProperty({}, ".".concat(SmartCardSharedCssClassName.BLOCK_CARD_CONTAINER), {
|
|
374
|
+
export var linkingVisualRefreshV1Styles = css(_defineProperty({}, ".".concat(SmartCardSharedCssClassName.BLOCK_CARD_CONTAINER, ":not(.").concat(SmartCardSharedCssClassName.DATASOURCE_CONTAINER, ")"), {
|
|
375
375
|
// EDM-11991: Fix list plugin adding padding to ADS AvatarGroup
|
|
376
376
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
377
377
|
'ul, ol': {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "
|
|
2
|
+
export var version = "0.0.0-development";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "215.9.
|
|
3
|
+
"version": "215.9.7",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -64,8 +64,8 @@
|
|
|
64
64
|
"@atlaskit/platform-feature-flags-react": "^0.4.0",
|
|
65
65
|
"@atlaskit/react-ufo": "^4.14.0",
|
|
66
66
|
"@atlaskit/task-decision": "^19.2.0",
|
|
67
|
-
"@atlaskit/tmp-editor-statsig": "^13.
|
|
68
|
-
"@atlaskit/tokens": "^7.
|
|
67
|
+
"@atlaskit/tmp-editor-statsig": "^13.26.0",
|
|
68
|
+
"@atlaskit/tokens": "^7.1.0",
|
|
69
69
|
"@atlaskit/tooltip": "^20.7.0",
|
|
70
70
|
"@atlaskit/width-detector": "^5.0.0",
|
|
71
71
|
"@babel/runtime": "^7.0.0",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"uuid": "^3.1.0"
|
|
82
82
|
},
|
|
83
83
|
"peerDependencies": {
|
|
84
|
-
"@atlaskit/editor-common": "^110.
|
|
84
|
+
"@atlaskit/editor-common": "^110.21.0",
|
|
85
85
|
"@atlaskit/link-provider": "^4.0.0",
|
|
86
86
|
"@atlaskit/media-core": "^37.0.0",
|
|
87
87
|
"react": "^18.2.0",
|
|
@@ -199,9 +199,6 @@
|
|
|
199
199
|
"type": "boolean",
|
|
200
200
|
"referenceOnly": true
|
|
201
201
|
},
|
|
202
|
-
"platform_editor_disable_rerender_tracking_jira": {
|
|
203
|
-
"type": "boolean"
|
|
204
|
-
},
|
|
205
202
|
"platform-component-visual-refresh": {
|
|
206
203
|
"type": "boolean",
|
|
207
204
|
"referenceOnly": true
|
|
@@ -221,10 +218,6 @@
|
|
|
221
218
|
"type": "boolean",
|
|
222
219
|
"referenceOnly": true
|
|
223
220
|
},
|
|
224
|
-
"platform_editor_table_overflow_in_full_width_fix": {
|
|
225
|
-
"type": "boolean",
|
|
226
|
-
"referenceOnly": true
|
|
227
|
-
},
|
|
228
221
|
"editor_a11y_refactor_find_replace_style": {
|
|
229
222
|
"type": "boolean",
|
|
230
223
|
"referenceOnly": true
|
|
@@ -278,10 +271,6 @@
|
|
|
278
271
|
"type": "boolean",
|
|
279
272
|
"referenceOnly": true
|
|
280
273
|
},
|
|
281
|
-
"platform_editor_tables_numbered_column_correction": {
|
|
282
|
-
"type": "boolean",
|
|
283
|
-
"referenceOnly": true
|
|
284
|
-
},
|
|
285
274
|
"platform_editor_nested_dnd_styles_changes": {
|
|
286
275
|
"type": "boolean"
|
|
287
276
|
},
|
|
@@ -296,10 +285,6 @@
|
|
|
296
285
|
"platform_editor_quick_insert_placeholder": {
|
|
297
286
|
"type": "boolean"
|
|
298
287
|
},
|
|
299
|
-
"platform_editor_numbered_column_misalignment": {
|
|
300
|
-
"type": "boolean",
|
|
301
|
-
"referenceOnly": true
|
|
302
|
-
},
|
|
303
288
|
"platform_editor_nested_tables_cellselection_paste": {
|
|
304
289
|
"type": "boolean",
|
|
305
290
|
"referenceOnly": true
|
|
@@ -324,10 +309,6 @@
|
|
|
324
309
|
"type": "boolean",
|
|
325
310
|
"referenceOnly": true
|
|
326
311
|
},
|
|
327
|
-
"platform_renderer_triple_click_selects_paragraph": {
|
|
328
|
-
"type": "boolean",
|
|
329
|
-
"referenceOnly": true
|
|
330
|
-
},
|
|
331
312
|
"platform_editor_user_intent_plugin": {
|
|
332
313
|
"type": "boolean",
|
|
333
314
|
"referenceOnly": true
|
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "../../../../tsconfig.entry-points.post-office.json",
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"declaration": true,
|
|
5
|
-
"target": "es5",
|
|
6
|
-
"outDir": "../../../../../post-office/tsDist/@atlaskit__editor-core/app",
|
|
7
|
-
"rootDir": "../",
|
|
8
|
-
"composite": true
|
|
9
|
-
},
|
|
10
|
-
"include": [
|
|
11
|
-
"../src/**/*.ts",
|
|
12
|
-
"../src/**/*.tsx"
|
|
13
|
-
],
|
|
14
|
-
"exclude": [
|
|
15
|
-
"../src/**/__tests__/*",
|
|
16
|
-
"../src/**/*.test.*",
|
|
17
|
-
"../src/**/test.*",
|
|
18
|
-
"../src/stories/*",
|
|
19
|
-
"../src/**/examples.*",
|
|
20
|
-
"../src/**/examples/*",
|
|
21
|
-
"../src/**/examples/**/*",
|
|
22
|
-
"../src/**/*.stories.*",
|
|
23
|
-
"../src/**/stories/*",
|
|
24
|
-
"../src/**/stories/**/*"
|
|
25
|
-
],
|
|
26
|
-
"references": [
|
|
27
|
-
{
|
|
28
|
-
"path": "../../activity-provider/afm-post-office/tsconfig.json"
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
"path": "../../../analytics/analytics-namespaced-context/afm-post-office/tsconfig.json"
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
"path": "../../../analytics/analytics-next/afm-post-office/tsconfig.json"
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
"path": "../../../design-system/button/afm-post-office/tsconfig.json"
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"path": "../../../design-system/css/afm-post-office/tsconfig.json"
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"path": "../../editor-json-transformer/afm-post-office/tsconfig.json"
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
"path": "../../editor-performance-metrics/afm-post-office/tsconfig.json"
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
"path": "../../editor-plugin-quick-insert/afm-post-office/tsconfig.json"
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
"path": "../../editor-plugin-user-preferences/afm-post-office/tsconfig.json"
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
"path": "../../editor-plugins/afm-post-office/tsconfig.json"
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
"path": "../../editor-shared-styles/afm-post-office/tsconfig.json"
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
"path": "../../editor-toolbar/afm-post-office/tsconfig.json"
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
"path": "../../editor-toolbar-model/afm-post-office/tsconfig.json"
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
"path": "../../../elements/emoji/afm-post-office/tsconfig.json"
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
"path": "../../../design-system/icon/afm-post-office/tsconfig.json"
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
"path": "../../../design-system/link/afm-post-office/tsconfig.json"
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
"path": "../../../media/media-card/afm-post-office/tsconfig.json"
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
"path": "../../../elements/mention/afm-post-office/tsconfig.json"
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
"path": "../../../platform/feature-flags/afm-post-office/tsconfig.json"
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
"path": "../../../platform/feature-flags-react/afm-post-office/tsconfig.json"
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
"path": "../../../react-ufo/atlaskit/afm-post-office/tsconfig.json"
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
"path": "../../../elements/task-decision/afm-post-office/tsconfig.json"
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
"path": "../../tmp-editor-statsig/afm-post-office/tsconfig.json"
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
"path": "../../../design-system/tokens/afm-post-office/tsconfig.json"
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
"path": "../../../design-system/tooltip/afm-post-office/tsconfig.json"
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
"path": "../../../design-system/width-detector/afm-post-office/tsconfig.json"
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
"path": "../../editor-common/afm-post-office/tsconfig.json"
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
"path": "../../../linking-platform/link-provider/afm-post-office/tsconfig.json"
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
"path": "../../../media/media-core/afm-post-office/tsconfig.json"
|
|
113
|
-
}
|
|
114
|
-
]
|
|
115
|
-
}
|