@atlaskit/editor-common 72.1.1 → 72.1.2
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 +6 -0
- package/dist/cjs/styles/shared/code-block.js +1 -3
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/styles/shared/code-block.js +3 -6
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/styles/shared/code-block.js +1 -2
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/version.json +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 72.1.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`2ff1c66a6ab`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2ff1c66a6ab) - [ux] ED-16490 fixed bug so big margin will not occur before a Decision node in Renderer on iOS
|
|
8
|
+
|
|
3
9
|
## 72.1.1
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -19,8 +19,6 @@ var _components = require("@atlaskit/theme/components");
|
|
|
19
19
|
|
|
20
20
|
var _constants = require("@atlaskit/theme/constants");
|
|
21
21
|
|
|
22
|
-
var _taskDecision = require("./task-decision");
|
|
23
|
-
|
|
24
22
|
var _templateObject, _templateObject2;
|
|
25
23
|
|
|
26
24
|
var CodeBlockSharedCssClassName = {
|
|
@@ -57,5 +55,5 @@ var codeBlockSharedStyles = function codeBlockSharedStyles(props) {
|
|
|
57
55
|
};
|
|
58
56
|
|
|
59
57
|
exports.codeBlockSharedStyles = codeBlockSharedStyles;
|
|
60
|
-
var codeBlockInListSafariFix = (0, _react.css)(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n
|
|
58
|
+
var codeBlockInListSafariFix = (0, _react.css)(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n ::before {\n content: ' ';\n line-height: ", ";\n }\n\n > p:first-child,\n > .code-block:first-child,\n > .ProseMirror-gapcursor:first-child + .code-block {\n margin-top: -", "em !important;\n }\n"])), _editorSharedStyles.akEditorLineHeight, _editorSharedStyles.akEditorLineHeight);
|
|
61
59
|
exports.codeBlockInListSafariFix = codeBlockInListSafariFix;
|
|
@@ -44,7 +44,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
|
|
|
44
44
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
45
45
|
|
|
46
46
|
var packageName = "@atlaskit/editor-common";
|
|
47
|
-
var packageVersion = "72.1.
|
|
47
|
+
var packageVersion = "72.1.2";
|
|
48
48
|
var halfFocusRing = 1;
|
|
49
49
|
var dropOffset = "0, ".concat((0, _constants.gridSize)(), "px");
|
|
50
50
|
|
package/dist/cjs/version.json
CHANGED
|
@@ -3,7 +3,6 @@ import { akEditorCodeFontFamily, akEditorLineHeight, akEditorTableCellMinWidth,
|
|
|
3
3
|
import { DN20, DN400, DN50, DN800, N20, N30, N400, N800 } from '@atlaskit/theme/colors';
|
|
4
4
|
import { themed } from '@atlaskit/theme/components';
|
|
5
5
|
import { borderRadius, fontSize, gridSize } from '@atlaskit/theme/constants';
|
|
6
|
-
import { TaskDecisionSharedCssClassName } from './task-decision';
|
|
7
6
|
export const CodeBlockSharedCssClassName = {
|
|
8
7
|
CODEBLOCK_CONTAINER: 'code-block',
|
|
9
8
|
CODEBLOCK_START: 'code-block--start',
|
|
@@ -126,11 +125,9 @@ export const codeBlockSharedStyles = props => css`
|
|
|
126
125
|
}
|
|
127
126
|
`;
|
|
128
127
|
export const codeBlockInListSafariFix = css`
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
line-height: ${akEditorLineHeight};
|
|
133
|
-
}
|
|
128
|
+
::before {
|
|
129
|
+
content: ' ';
|
|
130
|
+
line-height: ${akEditorLineHeight};
|
|
134
131
|
}
|
|
135
132
|
|
|
136
133
|
> p:first-child,
|
|
@@ -9,7 +9,7 @@ import { themed } from '@atlaskit/theme/components';
|
|
|
9
9
|
import { borderRadius, gridSize } from '@atlaskit/theme/constants';
|
|
10
10
|
import Layer from '../Layer';
|
|
11
11
|
const packageName = "@atlaskit/editor-common";
|
|
12
|
-
const packageVersion = "72.1.
|
|
12
|
+
const packageVersion = "72.1.2";
|
|
13
13
|
const halfFocusRing = 1;
|
|
14
14
|
const dropOffset = `0, ${gridSize()}px`;
|
|
15
15
|
|
package/dist/es2019/version.json
CHANGED
|
@@ -7,7 +7,6 @@ import { akEditorCodeFontFamily, akEditorLineHeight, akEditorTableCellMinWidth,
|
|
|
7
7
|
import { DN20, DN400, DN50, DN800, N20, N30, N400, N800 } from '@atlaskit/theme/colors';
|
|
8
8
|
import { themed } from '@atlaskit/theme/components';
|
|
9
9
|
import { borderRadius, fontSize, gridSize } from '@atlaskit/theme/constants';
|
|
10
|
-
import { TaskDecisionSharedCssClassName } from './task-decision';
|
|
11
10
|
export var CodeBlockSharedCssClassName = {
|
|
12
11
|
CODEBLOCK_CONTAINER: 'code-block',
|
|
13
12
|
CODEBLOCK_START: 'code-block--start',
|
|
@@ -38,4 +37,4 @@ export var codeBlockSharedStyles = function codeBlockSharedStyles(props) {
|
|
|
38
37
|
dark: "var(--ds-text, ".concat(DN800, ")")
|
|
39
38
|
})(props), borderRadius(), gridSize(), relativeFontSizeToBase16(fontSize()));
|
|
40
39
|
};
|
|
41
|
-
export var codeBlockInListSafariFix = css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n
|
|
40
|
+
export var codeBlockInListSafariFix = css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n ::before {\n content: ' ';\n line-height: ", ";\n }\n\n > p:first-child,\n > .code-block:first-child,\n > .ProseMirror-gapcursor:first-child + .code-block {\n margin-top: -", "em !important;\n }\n"])), akEditorLineHeight, akEditorLineHeight);
|
|
@@ -22,7 +22,7 @@ import { themed } from '@atlaskit/theme/components';
|
|
|
22
22
|
import { borderRadius, gridSize } from '@atlaskit/theme/constants';
|
|
23
23
|
import Layer from '../Layer';
|
|
24
24
|
var packageName = "@atlaskit/editor-common";
|
|
25
|
-
var packageVersion = "72.1.
|
|
25
|
+
var packageVersion = "72.1.2";
|
|
26
26
|
var halfFocusRing = 1;
|
|
27
27
|
var dropOffset = "0, ".concat(gridSize(), "px");
|
|
28
28
|
|
package/dist/esm/version.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "72.1.
|
|
3
|
+
"version": "72.1.2",
|
|
4
4
|
"description": "A package that contains common classes and components for editor and renderer",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"@atlaskit/activity-provider": "^2.3.0",
|
|
60
60
|
"@atlaskit/adf-schema": "^25.1.0",
|
|
61
61
|
"@atlaskit/adf-utils": "^18.0.0",
|
|
62
|
-
"@atlaskit/analytics-listeners": "^8.
|
|
62
|
+
"@atlaskit/analytics-listeners": "^8.5.0",
|
|
63
63
|
"@atlaskit/analytics-namespaced-context": "^6.6.0",
|
|
64
64
|
"@atlaskit/analytics-next": "^8.2.0",
|
|
65
65
|
"@atlaskit/analytics-next-stable-react-context": "1.0.1",
|