@atlaskit/editor-core 220.2.0 → 220.2.1
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 +11 -0
- package/dist/cjs/ui/Appearance/Chromeless-compiled.js +1 -3
- package/dist/cjs/ui/Appearance/Chromeless-emotion.js +1 -3
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/ui/Appearance/Chromeless-compiled.js +1 -3
- package/dist/es2019/ui/Appearance/Chromeless-emotion.js +1 -3
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/ui/Appearance/Chromeless-compiled.js +1 -3
- package/dist/esm/ui/Appearance/Chromeless-emotion.js +1 -3
- package/dist/esm/version-wrapper.js +1 -1
- package/package.json +3 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 220.2.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`f7faa21a01fc7`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f7faa21a01fc7) -
|
|
8
|
+
Cleanup stale feature gates and experiments now that they have shipped. The following
|
|
9
|
+
gates/experiments have been removed and their enabled paths kept as the permanent behaviour:
|
|
10
|
+
platform_editor_fix_scrolling_popup_position, platform_editor_table_resize_chromeless,
|
|
11
|
+
platform_editor_chromeless_akeditor_class, create_work_item_modernization_exp.
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
|
|
3
14
|
## 220.2.0
|
|
4
15
|
|
|
5
16
|
### Minor Changes
|
|
@@ -15,8 +15,6 @@ exports.ChromelessEditorContainerCompiled = void 0;
|
|
|
15
15
|
require("./Chromeless-compiled.compiled.css");
|
|
16
16
|
var _runtime = require("@compiled/react/runtime");
|
|
17
17
|
var _react = _interopRequireDefault(require("react"));
|
|
18
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
19
|
-
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
20
18
|
var chromelessStyles = {
|
|
21
19
|
scrollbar: "_1fpfolhs _1khk1mok _123b1aqn _jaboglyw _aaynsm61 _1ogl1ibz",
|
|
22
20
|
editor: "_vwz4gktf _4t3i1wug _1reo15vq _18m91wug _p12f1kw7 _vchhusvi _slp31hna _fpqb1r31 _l5dlglyw _tjxn1o36 _1yt4idpf _y826idpf _7fa7idpf _8wn3idpf _1nhbidpf _1q5yidpf _1gfdidpf _1itkidpf _7fkv1jtm _1awku2gc _15gyze3t"
|
|
@@ -28,7 +26,7 @@ var ChromelessEditorContainerCompiled = exports.ChromelessEditorContainerCompile
|
|
|
28
26
|
minHeight = _ref.minHeight;
|
|
29
27
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
30
28
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
31
|
-
className: (0, _runtime.ax)([chromelessStyles.editor, chromelessStyles.scrollbar,
|
|
29
|
+
className: (0, _runtime.ax)([chromelessStyles.editor, chromelessStyles.scrollbar, "akEditor"]),
|
|
32
30
|
style: {
|
|
33
31
|
maxHeight: maxHeight ? "".concat(maxHeight, "px") : undefined,
|
|
34
32
|
minHeight: "".concat(minHeight, "px")
|
|
@@ -7,8 +7,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.ChromelessEditorContainerEmotion = void 0;
|
|
8
8
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
9
9
|
var _react = require("@emotion/react");
|
|
10
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
11
|
-
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
12
10
|
var _excluded = ["children", "containerRef", "maxHeight", "minHeight"];
|
|
13
11
|
/**
|
|
14
12
|
* @jsxRuntime classic
|
|
@@ -79,7 +77,7 @@ var ChromelessEditorContainerEmotion = exports.ChromelessEditorContainerEmotion
|
|
|
79
77
|
css: [chromelessEditorStylesNew, scrollbarStylesNew]
|
|
80
78
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
81
79
|
,
|
|
82
|
-
className:
|
|
80
|
+
className: "akEditor",
|
|
83
81
|
style: {
|
|
84
82
|
maxHeight: maxHeight ? "".concat(maxHeight, "px") : undefined,
|
|
85
83
|
minHeight: "".concat(minHeight, "px")
|
|
@@ -8,8 +8,6 @@
|
|
|
8
8
|
import "./Chromeless-compiled.compiled.css";
|
|
9
9
|
import { ax, ix } from "@compiled/react/runtime";
|
|
10
10
|
import React from 'react';
|
|
11
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
12
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
13
11
|
const chromelessStyles = {
|
|
14
12
|
scrollbar: "_1fpfolhs _1khk1mok _123b1aqn _jaboglyw _aaynsm61 _1ogl1ibz",
|
|
15
13
|
editor: "_vwz4gktf _4t3i1wug _1reo15vq _18m91wug _p12f1kw7 _vchhusvi _slp31hna _fpqb1r31 _l5dlglyw _tjxn1o36 _1yt4idpf _y826idpf _7fa7idpf _8wn3idpf _1nhbidpf _1q5yidpf _1gfdidpf _1itkidpf _7fkv1jtm _1awku2gc _15gyze3t"
|
|
@@ -21,7 +19,7 @@ export const ChromelessEditorContainerCompiled = ({
|
|
|
21
19
|
minHeight
|
|
22
20
|
}) => /*#__PURE__*/React.createElement("div", {
|
|
23
21
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
24
|
-
className: ax([chromelessStyles.editor, chromelessStyles.scrollbar,
|
|
22
|
+
className: ax([chromelessStyles.editor, chromelessStyles.scrollbar, "akEditor"]),
|
|
25
23
|
style: {
|
|
26
24
|
maxHeight: maxHeight ? `${maxHeight}px` : undefined,
|
|
27
25
|
minHeight: `${minHeight}px`
|
|
@@ -11,8 +11,6 @@
|
|
|
11
11
|
|
|
12
12
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- intentional: emotion fallback; jsx required at runtime for @jsxRuntime classic
|
|
13
13
|
import { css, jsx } from '@emotion/react';
|
|
14
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
15
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
16
14
|
const scrollbarStylesNew = css({
|
|
17
15
|
msOverflowStyle: '-ms-autohiding-scrollbar',
|
|
18
16
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
@@ -71,7 +69,7 @@ export const ChromelessEditorContainerEmotion = ({
|
|
|
71
69
|
css: [chromelessEditorStylesNew, scrollbarStylesNew]
|
|
72
70
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
73
71
|
,
|
|
74
|
-
className:
|
|
72
|
+
className: "akEditor",
|
|
75
73
|
style: {
|
|
76
74
|
maxHeight: maxHeight ? `${maxHeight}px` : undefined,
|
|
77
75
|
minHeight: `${minHeight}px`
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "220.
|
|
2
|
+
export const version = "220.2.0";
|
|
@@ -8,8 +8,6 @@
|
|
|
8
8
|
import "./Chromeless-compiled.compiled.css";
|
|
9
9
|
import { ax, ix } from "@compiled/react/runtime";
|
|
10
10
|
import React from 'react';
|
|
11
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
12
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
13
11
|
var chromelessStyles = {
|
|
14
12
|
scrollbar: "_1fpfolhs _1khk1mok _123b1aqn _jaboglyw _aaynsm61 _1ogl1ibz",
|
|
15
13
|
editor: "_vwz4gktf _4t3i1wug _1reo15vq _18m91wug _p12f1kw7 _vchhusvi _slp31hna _fpqb1r31 _l5dlglyw _tjxn1o36 _1yt4idpf _y826idpf _7fa7idpf _8wn3idpf _1nhbidpf _1q5yidpf _1gfdidpf _1itkidpf _7fkv1jtm _1awku2gc _15gyze3t"
|
|
@@ -21,7 +19,7 @@ export var ChromelessEditorContainerCompiled = function ChromelessEditorContaine
|
|
|
21
19
|
minHeight = _ref.minHeight;
|
|
22
20
|
return /*#__PURE__*/React.createElement("div", {
|
|
23
21
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
24
|
-
className: ax([chromelessStyles.editor, chromelessStyles.scrollbar,
|
|
22
|
+
className: ax([chromelessStyles.editor, chromelessStyles.scrollbar, "akEditor"]),
|
|
25
23
|
style: {
|
|
26
24
|
maxHeight: maxHeight ? "".concat(maxHeight, "px") : undefined,
|
|
27
25
|
minHeight: "".concat(minHeight, "px")
|
|
@@ -13,8 +13,6 @@ var _excluded = ["children", "containerRef", "maxHeight", "minHeight"];
|
|
|
13
13
|
|
|
14
14
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- intentional: emotion fallback; jsx required at runtime for @jsxRuntime classic
|
|
15
15
|
import { css, jsx } from '@emotion/react';
|
|
16
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
17
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
18
16
|
var scrollbarStylesNew = css({
|
|
19
17
|
msOverflowStyle: '-ms-autohiding-scrollbar',
|
|
20
18
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
@@ -73,7 +71,7 @@ export var ChromelessEditorContainerEmotion = function ChromelessEditorContainer
|
|
|
73
71
|
css: [chromelessEditorStylesNew, scrollbarStylesNew]
|
|
74
72
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
75
73
|
,
|
|
76
|
-
className:
|
|
74
|
+
className: "akEditor",
|
|
77
75
|
style: {
|
|
78
76
|
maxHeight: maxHeight ? "".concat(maxHeight, "px") : undefined,
|
|
79
77
|
minHeight: "".concat(minHeight, "px")
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "220.
|
|
2
|
+
export var version = "220.2.0";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "220.2.
|
|
3
|
+
"version": "220.2.1",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"@atlaskit/platform-feature-flags-react": "^0.5.0",
|
|
75
75
|
"@atlaskit/react-ufo": "^6.7.0",
|
|
76
76
|
"@atlaskit/task-decision": "^20.1.0",
|
|
77
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
77
|
+
"@atlaskit/tmp-editor-statsig": "^91.0.0",
|
|
78
78
|
"@atlaskit/tokens": "^13.3.0",
|
|
79
79
|
"@atlaskit/tooltip": "^22.6.0",
|
|
80
80
|
"@atlaskit/width-detector": "^5.1.0",
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
"@atlaskit/modal-dialog": "^15.2.0",
|
|
122
122
|
"@atlaskit/popper": "^7.2.0",
|
|
123
123
|
"@atlaskit/portal": "^5.5.0",
|
|
124
|
-
"@atlaskit/renderer": "^132.
|
|
124
|
+
"@atlaskit/renderer": "^132.1.0",
|
|
125
125
|
"@atlaskit/section-message": "^8.13.0",
|
|
126
126
|
"@atlaskit/synchrony-test-helpers": "workspace:^",
|
|
127
127
|
"@atlaskit/toggle": "^16.1.0",
|
|
@@ -334,9 +334,6 @@
|
|
|
334
334
|
"platform-dst-lozenge-tag-badge-visual-uplifts": {
|
|
335
335
|
"type": "boolean"
|
|
336
336
|
},
|
|
337
|
-
"platform_editor_chromeless_akeditor_class": {
|
|
338
|
-
"type": "boolean"
|
|
339
|
-
},
|
|
340
337
|
"platform_synced_block_patch_14": {
|
|
341
338
|
"type": "boolean"
|
|
342
339
|
}
|