@atlaskit/editor-core 216.7.26 → 216.8.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 +21 -0
- package/dist/cjs/composable-editor/editor-internal.js +6 -2
- package/dist/cjs/ui/EditorContentContainer/styles/layout.js +2 -1
- package/dist/cjs/utils/extensions.js +5 -3
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/composable-editor/editor-internal.js +6 -2
- package/dist/es2019/ui/EditorContentContainer/styles/layout.js +2 -1
- package/dist/es2019/utils/extensions.js +1 -3
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/composable-editor/editor-internal.js +6 -2
- package/dist/esm/ui/EditorContentContainer/styles/layout.js +2 -1
- package/dist/esm/utils/extensions.js +5 -3
- package/dist/esm/version-wrapper.js +1 -1
- package/package.json +3 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 216.8.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`7b679117f4605`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7b679117f4605) -
|
|
8
|
+
[ux] Productionizes `confluence-whiteboards-quick-insert-eligible` and
|
|
9
|
+
`confluence-whiteboards-quick-insert-l10n-eligible` feature gates and
|
|
10
|
+
`confluence_whiteboards_quick_insert_localised` experiment. Ship "Diagram" variant.
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
|
|
16
|
+
## 216.7.27
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- [`9030267782d4c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9030267782d4c) -
|
|
21
|
+
Re-do fix for table overflow in inline excerpt.
|
|
22
|
+
- Updated dependencies
|
|
23
|
+
|
|
3
24
|
## 216.7.26
|
|
4
25
|
|
|
5
26
|
### Patch Changes
|
|
@@ -82,8 +82,12 @@ var EditorInternal = exports.EditorInternal = /*#__PURE__*/(0, _react.memo)(func
|
|
|
82
82
|
}, (0, _react2.jsx)("div", (0, _extends2.default)({
|
|
83
83
|
css: editorContainerStyles
|
|
84
84
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
85
|
-
}, (0, _expValEquals.expValEquals)('cc_fix_hydration_ttvc', 'isEnabled', true) ? {
|
|
86
|
-
'data-vc-ignore-if-no-layout-shift': true
|
|
85
|
+
}, (0, _expValEquals.expValEquals)('cc_fix_hydration_ttvc', 'isEnabled', true) && !(0, _expValEquals.expValEquals)('platform_editor_hydratable_ui', 'isEnabled', true) ? process.env.REACT_SSR ? {
|
|
86
|
+
'data-vc-ignore-if-no-layout-shift': true,
|
|
87
|
+
'data-ssr-placeholder': 'fallback'
|
|
88
|
+
} : {
|
|
89
|
+
'data-vc-ignore-if-no-layout-shift': true,
|
|
90
|
+
'data-ssr-placeholder-replace': 'fallback'
|
|
87
91
|
} : {}), (0, _react2.jsx)(_EditorContext.default, {
|
|
88
92
|
editorActions: editorActions
|
|
89
93
|
}, (0, _react2.jsx)(_IntlProviderIfMissingWrapper.IntlProviderIfMissingWrapper, null, (0, _react2.jsx)(_react.Fragment, null, (0, _react2.jsx)(_ReactEditorView.default, {
|
|
@@ -427,7 +427,8 @@ var layoutBaseStylesWithTableExcerptsFix = exports.layoutBaseStylesWithTableExce
|
|
|
427
427
|
'> div': {
|
|
428
428
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
429
429
|
'.pm-table-container': {
|
|
430
|
-
|
|
430
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
431
|
+
width: '100% !important'
|
|
431
432
|
}
|
|
432
433
|
}
|
|
433
434
|
}
|
|
@@ -96,9 +96,11 @@ function _extensionProviderToQuickInsertProvider() {
|
|
|
96
96
|
return null;
|
|
97
97
|
}
|
|
98
98
|
});
|
|
99
|
-
return _objectSpread(_objectSpread(
|
|
100
|
-
key
|
|
101
|
-
|
|
99
|
+
return _objectSpread(_objectSpread({
|
|
100
|
+
// Add module key so typeahead/quick-insert can identify items
|
|
101
|
+
// **locale-agnostically**! nb: we _already_ send key in analytics
|
|
102
|
+
// events, this standardises and makes our items more predictable.
|
|
103
|
+
key: item.key,
|
|
102
104
|
title: item.title,
|
|
103
105
|
description: item.description,
|
|
104
106
|
icon: function icon() {
|
|
@@ -70,8 +70,12 @@ export const EditorInternal = /*#__PURE__*/memo(({
|
|
|
70
70
|
}, jsx("div", _extends({
|
|
71
71
|
css: editorContainerStyles
|
|
72
72
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
73
|
-
}, expValEquals('cc_fix_hydration_ttvc', 'isEnabled', true) ? {
|
|
74
|
-
'data-vc-ignore-if-no-layout-shift': true
|
|
73
|
+
}, expValEquals('cc_fix_hydration_ttvc', 'isEnabled', true) && !expValEquals('platform_editor_hydratable_ui', 'isEnabled', true) ? process.env.REACT_SSR ? {
|
|
74
|
+
'data-vc-ignore-if-no-layout-shift': true,
|
|
75
|
+
'data-ssr-placeholder': 'fallback'
|
|
76
|
+
} : {
|
|
77
|
+
'data-vc-ignore-if-no-layout-shift': true,
|
|
78
|
+
'data-ssr-placeholder-replace': 'fallback'
|
|
75
79
|
} : {}), jsx(EditorContext, {
|
|
76
80
|
editorActions: editorActions
|
|
77
81
|
}, jsx(IntlProviderIfMissingWrapper, null, jsx(Fragment, null, jsx(ReactEditorViewNext, {
|
|
@@ -490,7 +490,8 @@ export const layoutBaseStylesWithTableExcerptsFix = css({
|
|
|
490
490
|
'> div': {
|
|
491
491
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
492
492
|
'.pm-table-container': {
|
|
493
|
-
|
|
493
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
494
|
+
width: '100% !important'
|
|
494
495
|
}
|
|
495
496
|
}
|
|
496
497
|
}
|
|
@@ -62,9 +62,7 @@ export async function extensionProviderToQuickInsertProvider(extensionProvider,
|
|
|
62
62
|
// Add module key so typeahead/quick-insert can identify items
|
|
63
63
|
// **locale-agnostically**! nb: we _already_ send key in analytics
|
|
64
64
|
// events, this standardises and makes our items more predictable.
|
|
65
|
-
|
|
66
|
-
key: item.key
|
|
67
|
-
}),
|
|
65
|
+
key: item.key,
|
|
68
66
|
title: item.title,
|
|
69
67
|
description: item.description,
|
|
70
68
|
icon: () => /*#__PURE__*/React.createElement(Icon, {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "
|
|
2
|
+
export const version = "216.7.27";
|
|
@@ -78,8 +78,12 @@ export var EditorInternal = /*#__PURE__*/memo(function (_ref) {
|
|
|
78
78
|
}, jsx("div", _extends({
|
|
79
79
|
css: editorContainerStyles
|
|
80
80
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
81
|
-
}, expValEquals('cc_fix_hydration_ttvc', 'isEnabled', true) ? {
|
|
82
|
-
'data-vc-ignore-if-no-layout-shift': true
|
|
81
|
+
}, expValEquals('cc_fix_hydration_ttvc', 'isEnabled', true) && !expValEquals('platform_editor_hydratable_ui', 'isEnabled', true) ? process.env.REACT_SSR ? {
|
|
82
|
+
'data-vc-ignore-if-no-layout-shift': true,
|
|
83
|
+
'data-ssr-placeholder': 'fallback'
|
|
84
|
+
} : {
|
|
85
|
+
'data-vc-ignore-if-no-layout-shift': true,
|
|
86
|
+
'data-ssr-placeholder-replace': 'fallback'
|
|
83
87
|
} : {}), jsx(EditorContext, {
|
|
84
88
|
editorActions: editorActions
|
|
85
89
|
}, jsx(IntlProviderIfMissingWrapper, null, jsx(Fragment, null, jsx(ReactEditorViewNext, {
|
|
@@ -419,7 +419,8 @@ export var layoutBaseStylesWithTableExcerptsFix = css({
|
|
|
419
419
|
'> div': {
|
|
420
420
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
421
421
|
'.pm-table-container': {
|
|
422
|
-
|
|
422
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
423
|
+
width: '100% !important'
|
|
423
424
|
}
|
|
424
425
|
}
|
|
425
426
|
}
|
|
@@ -90,9 +90,11 @@ function _extensionProviderToQuickInsertProvider() {
|
|
|
90
90
|
return null;
|
|
91
91
|
}
|
|
92
92
|
});
|
|
93
|
-
return _objectSpread(_objectSpread(
|
|
94
|
-
key
|
|
95
|
-
|
|
93
|
+
return _objectSpread(_objectSpread({
|
|
94
|
+
// Add module key so typeahead/quick-insert can identify items
|
|
95
|
+
// **locale-agnostically**! nb: we _already_ send key in analytics
|
|
96
|
+
// events, this standardises and makes our items more predictable.
|
|
97
|
+
key: item.key,
|
|
96
98
|
title: item.title,
|
|
97
99
|
description: item.description,
|
|
98
100
|
icon: function icon() {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "
|
|
2
|
+
export var version = "216.7.27";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "216.
|
|
3
|
+
"version": "216.8.0",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"@atlaskit/platform-feature-flags-react": "^0.4.0",
|
|
67
67
|
"@atlaskit/react-ufo": "^5.1.0",
|
|
68
68
|
"@atlaskit/task-decision": "^19.2.0",
|
|
69
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
69
|
+
"@atlaskit/tmp-editor-statsig": "^21.0.0",
|
|
70
70
|
"@atlaskit/tokens": "^11.0.0",
|
|
71
71
|
"@atlaskit/tooltip": "^20.14.0",
|
|
72
72
|
"@atlaskit/width-detector": "^5.0.0",
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
"@atlaskit/media-integration-test-helpers": "workspace:^",
|
|
108
108
|
"@atlaskit/media-test-helpers": "^39.0.0",
|
|
109
109
|
"@atlaskit/modal-dialog": "^14.10.0",
|
|
110
|
-
"@atlaskit/renderer": "^126.
|
|
110
|
+
"@atlaskit/renderer": "^126.7.0",
|
|
111
111
|
"@atlaskit/section-message": "^8.12.0",
|
|
112
112
|
"@atlaskit/synchrony-test-helpers": "workspace:^",
|
|
113
113
|
"@atlaskit/toggle": "^15.2.0",
|
|
@@ -317,9 +317,6 @@
|
|
|
317
317
|
"platform_editor_toolbar_aifc_placement_overridden": {
|
|
318
318
|
"type": "boolean"
|
|
319
319
|
},
|
|
320
|
-
"confluence-whiteboards-quick-insert-l10n-eligible": {
|
|
321
|
-
"type": "boolean"
|
|
322
|
-
},
|
|
323
320
|
"platform_editor_table_container_y_overflow_fix": {
|
|
324
321
|
"type": "boolean"
|
|
325
322
|
},
|