@atlaskit/editor-common 111.11.1 → 111.11.3
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
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 111.11.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 111.11.2
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`4de30defb09c5`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/4de30defb09c5) -
|
|
14
|
+
Fix overflow of table inside multi-column layouts.
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 111.11.1
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -28,6 +28,14 @@ var styles = (0, _react2.css)({
|
|
|
28
28
|
position: 'relative'
|
|
29
29
|
}
|
|
30
30
|
});
|
|
31
|
+
|
|
32
|
+
// on exp cleanup, merge this style to the one above
|
|
33
|
+
var inlineExtensionFixStyles = (0, _react2.css)({
|
|
34
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
35
|
+
'&.inline-extension': {
|
|
36
|
+
maxWidth: '100%'
|
|
37
|
+
}
|
|
38
|
+
});
|
|
31
39
|
var hoverStyles = (0, _react2.css)({
|
|
32
40
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
33
41
|
':has(.extension-label:hover) .extension-container, :has(.extension-edit-toggle-container:hover) .extension-container': {
|
|
@@ -80,6 +88,6 @@ var ExtensionNodeWrapper = exports.ExtensionNodeWrapper = function ExtensionNode
|
|
|
80
88
|
return (0, _react2.jsx)("span", {
|
|
81
89
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
82
90
|
className: wrapperClassNames,
|
|
83
|
-
css: [styles, (0, _expValEquals.expValEquals)('cc_editor_ttvc_release_bundle_one', 'extensionHoverRefactor', true) && hoverStyles]
|
|
91
|
+
css: [styles, (0, _expValEquals.expValEquals)('platform_editor_table_excerpts_fix', 'isEnabled', true) && inlineExtensionFixStyles, (0, _expValEquals.expValEquals)('cc_editor_ttvc_release_bundle_one', 'extensionHoverRefactor', true) && hoverStyles]
|
|
84
92
|
}, children, nodeType === 'inlineExtension' && _whitespace.ZERO_WIDTH_SPACE);
|
|
85
93
|
};
|
|
@@ -20,6 +20,14 @@ const styles = css({
|
|
|
20
20
|
position: 'relative'
|
|
21
21
|
}
|
|
22
22
|
});
|
|
23
|
+
|
|
24
|
+
// on exp cleanup, merge this style to the one above
|
|
25
|
+
const inlineExtensionFixStyles = css({
|
|
26
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
27
|
+
'&.inline-extension': {
|
|
28
|
+
maxWidth: '100%'
|
|
29
|
+
}
|
|
30
|
+
});
|
|
23
31
|
const hoverStyles = css({
|
|
24
32
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
25
33
|
':has(.extension-label:hover) .extension-container, :has(.extension-edit-toggle-container:hover) .extension-container': {
|
|
@@ -74,6 +82,6 @@ export const ExtensionNodeWrapper = ({
|
|
|
74
82
|
return jsx("span", {
|
|
75
83
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
76
84
|
className: wrapperClassNames,
|
|
77
|
-
css: [styles, expValEquals('cc_editor_ttvc_release_bundle_one', 'extensionHoverRefactor', true) && hoverStyles]
|
|
85
|
+
css: [styles, expValEquals('platform_editor_table_excerpts_fix', 'isEnabled', true) && inlineExtensionFixStyles, expValEquals('cc_editor_ttvc_release_bundle_one', 'extensionHoverRefactor', true) && hoverStyles]
|
|
78
86
|
}, children, nodeType === 'inlineExtension' && ZERO_WIDTH_SPACE);
|
|
79
87
|
};
|
|
@@ -20,6 +20,14 @@ var styles = css({
|
|
|
20
20
|
position: 'relative'
|
|
21
21
|
}
|
|
22
22
|
});
|
|
23
|
+
|
|
24
|
+
// on exp cleanup, merge this style to the one above
|
|
25
|
+
var inlineExtensionFixStyles = css({
|
|
26
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
27
|
+
'&.inline-extension': {
|
|
28
|
+
maxWidth: '100%'
|
|
29
|
+
}
|
|
30
|
+
});
|
|
23
31
|
var hoverStyles = css({
|
|
24
32
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
25
33
|
':has(.extension-label:hover) .extension-container, :has(.extension-edit-toggle-container:hover) .extension-container': {
|
|
@@ -72,6 +80,6 @@ export var ExtensionNodeWrapper = function ExtensionNodeWrapper(_ref) {
|
|
|
72
80
|
return jsx("span", {
|
|
73
81
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
74
82
|
className: wrapperClassNames,
|
|
75
|
-
css: [styles, expValEquals('cc_editor_ttvc_release_bundle_one', 'extensionHoverRefactor', true) && hoverStyles]
|
|
83
|
+
css: [styles, expValEquals('platform_editor_table_excerpts_fix', 'isEnabled', true) && inlineExtensionFixStyles, expValEquals('cc_editor_ttvc_release_bundle_one', 'extensionHoverRefactor', true) && hoverStyles]
|
|
76
84
|
}, children, nodeType === 'inlineExtension' && ZERO_WIDTH_SPACE);
|
|
77
85
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "111.11.
|
|
3
|
+
"version": "111.11.3",
|
|
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/"
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@atlaskit/dropdown-menu": "^16.4.0",
|
|
45
45
|
"@atlaskit/editor-json-transformer": "^8.31.0",
|
|
46
46
|
"@atlaskit/editor-palette": "^2.1.0",
|
|
47
|
-
"@atlaskit/editor-prosemirror": "^7.
|
|
47
|
+
"@atlaskit/editor-prosemirror": "^7.3.0",
|
|
48
48
|
"@atlaskit/editor-shared-styles": "^3.10.0",
|
|
49
49
|
"@atlaskit/editor-tables": "^2.9.0",
|
|
50
50
|
"@atlaskit/editor-toolbar": "^0.19.0",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"@atlaskit/task-decision": "^19.2.0",
|
|
82
82
|
"@atlaskit/textfield": "^8.2.0",
|
|
83
83
|
"@atlaskit/theme": "^21.0.0",
|
|
84
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
84
|
+
"@atlaskit/tmp-editor-statsig": "^18.0.0",
|
|
85
85
|
"@atlaskit/tokens": "^11.0.0",
|
|
86
86
|
"@atlaskit/tooltip": "^20.14.0",
|
|
87
87
|
"@atlaskit/width-detector": "^5.0.0",
|