@atlaskit/editor-plugin-panel 14.2.3 → 15.0.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
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-panel
|
|
2
2
|
|
|
3
|
+
## 15.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`ae5ca1873aef4`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ae5ca1873aef4) -
|
|
8
|
+
Clean up feature gate `platform_editor_nested_dnd_styles_changes`
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 15.0.0
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 14.2.3
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -41,9 +41,9 @@ var panelAttrsToDom = exports.panelAttrsToDom = function panelAttrsToDom(attrs,
|
|
|
41
41
|
var style = ["".concat(isCustomPanelWithColor ? "background-color: ".concat(panelBackgroundColor, ";") : ''), // When table-in-panel is enabled, set --table-container-bg so that table
|
|
42
42
|
// masking elements (sticky-header mask, column-controls wrapper) blend with
|
|
43
43
|
// the custom panel background instead of showing opaque white.
|
|
44
|
-
"".concat(isCustomPanelWithColor && (0, _expValEquals.expValEquals)('platform_editor_nest_table_in_panel', 'isEnabled', true) ? "".concat(_consts.akEditorTableContainerBg, ": ").concat(panelBackgroundColor, ";") : '')
|
|
44
|
+
"".concat(isCustomPanelWithColor && (0, _expValEquals.expValEquals)('platform_editor_nest_table_in_panel', 'isEnabled', true) ? "".concat(_consts.akEditorTableContainerBg, ": ").concat(panelBackgroundColor, ";") : '')].join('');
|
|
45
45
|
var panelAttrs = {
|
|
46
|
-
class: "".concat(_panel.PanelSharedCssClassName.prefix).concat(!hasIcon
|
|
46
|
+
class: "".concat(_panel.PanelSharedCssClassName.prefix).concat(!hasIcon ? " ".concat(_panel.PanelSharedCssClassName.noIcon) : ''),
|
|
47
47
|
'data-panel-type': panelType || _adfSchema.PanelType.INFO,
|
|
48
48
|
'data-testid': 'panel-node-view',
|
|
49
49
|
style: style
|
|
@@ -36,9 +36,9 @@ export const panelAttrsToDom = (attrs, allowCustomPanel) => {
|
|
|
36
36
|
// When table-in-panel is enabled, set --table-container-bg so that table
|
|
37
37
|
// masking elements (sticky-header mask, column-controls wrapper) blend with
|
|
38
38
|
// the custom panel background instead of showing opaque white.
|
|
39
|
-
`${isCustomPanelWithColor && expValEquals('platform_editor_nest_table_in_panel', 'isEnabled', true) ? `${akEditorTableContainerBg}: ${panelBackgroundColor};` : ''}
|
|
39
|
+
`${isCustomPanelWithColor && expValEquals('platform_editor_nest_table_in_panel', 'isEnabled', true) ? `${akEditorTableContainerBg}: ${panelBackgroundColor};` : ''}`].join('');
|
|
40
40
|
let panelAttrs = {
|
|
41
|
-
class: `${PanelSharedCssClassName.prefix}${!hasIcon
|
|
41
|
+
class: `${PanelSharedCssClassName.prefix}${!hasIcon ? ` ${PanelSharedCssClassName.noIcon}` : ''}`,
|
|
42
42
|
'data-panel-type': panelType || PanelType.INFO,
|
|
43
43
|
'data-testid': 'panel-node-view',
|
|
44
44
|
style
|
|
@@ -34,9 +34,9 @@ export var panelAttrsToDom = function panelAttrsToDom(attrs, allowCustomPanel) {
|
|
|
34
34
|
var style = ["".concat(isCustomPanelWithColor ? "background-color: ".concat(panelBackgroundColor, ";") : ''), // When table-in-panel is enabled, set --table-container-bg so that table
|
|
35
35
|
// masking elements (sticky-header mask, column-controls wrapper) blend with
|
|
36
36
|
// the custom panel background instead of showing opaque white.
|
|
37
|
-
"".concat(isCustomPanelWithColor && expValEquals('platform_editor_nest_table_in_panel', 'isEnabled', true) ? "".concat(akEditorTableContainerBg, ": ").concat(panelBackgroundColor, ";") : '')
|
|
37
|
+
"".concat(isCustomPanelWithColor && expValEquals('platform_editor_nest_table_in_panel', 'isEnabled', true) ? "".concat(akEditorTableContainerBg, ": ").concat(panelBackgroundColor, ";") : '')].join('');
|
|
38
38
|
var panelAttrs = {
|
|
39
|
-
class: "".concat(PanelSharedCssClassName.prefix).concat(!hasIcon
|
|
39
|
+
class: "".concat(PanelSharedCssClassName.prefix).concat(!hasIcon ? " ".concat(PanelSharedCssClassName.noIcon) : ''),
|
|
40
40
|
'data-panel-type': panelType || PanelType.INFO,
|
|
41
41
|
'data-testid': 'panel-node-view',
|
|
42
42
|
style: style
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-panel",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "15.0.1",
|
|
4
4
|
"description": "Panel plugin for @atlaskit/editor-core.",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -21,25 +21,25 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@atlaskit/adf-schema": "^56.5.0",
|
|
23
23
|
"@atlaskit/editor-palette": "^3.4.0",
|
|
24
|
-
"@atlaskit/editor-plugin-analytics": "^
|
|
25
|
-
"@atlaskit/editor-plugin-block-menu": "^
|
|
26
|
-
"@atlaskit/editor-plugin-decorations": "^
|
|
27
|
-
"@atlaskit/editor-plugin-emoji": "^
|
|
28
|
-
"@atlaskit/editor-plugin-selection": "^
|
|
29
|
-
"@atlaskit/editor-plugin-toolbar": "^
|
|
24
|
+
"@atlaskit/editor-plugin-analytics": "^13.0.0",
|
|
25
|
+
"@atlaskit/editor-plugin-block-menu": "^12.0.0",
|
|
26
|
+
"@atlaskit/editor-plugin-decorations": "^13.0.0",
|
|
27
|
+
"@atlaskit/editor-plugin-emoji": "^14.0.0",
|
|
28
|
+
"@atlaskit/editor-plugin-selection": "^13.0.0",
|
|
29
|
+
"@atlaskit/editor-plugin-toolbar": "^10.0.0",
|
|
30
30
|
"@atlaskit/editor-prosemirror": "^8.0.0",
|
|
31
31
|
"@atlaskit/editor-shared-styles": "^4.0.0",
|
|
32
32
|
"@atlaskit/editor-toolbar": "^2.4.0",
|
|
33
33
|
"@atlaskit/emoji": "^71.15.0",
|
|
34
34
|
"@atlaskit/icon": "^37.2.0",
|
|
35
35
|
"@atlaskit/platform-feature-flags": "^2.1.0",
|
|
36
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
36
|
+
"@atlaskit/tmp-editor-statsig": "^138.0.0",
|
|
37
37
|
"@atlaskit/tokens": "^16.3.0",
|
|
38
38
|
"@babel/runtime": "^7.0.0",
|
|
39
39
|
"uuid": "^3.1.0"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
|
-
"@atlaskit/editor-common": "^
|
|
42
|
+
"@atlaskit/editor-common": "^117.0.0",
|
|
43
43
|
"react": "^18.2.0 || ^19.2.0",
|
|
44
44
|
"react-dom": "^18.2.0 || ^19.2.0",
|
|
45
45
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|
|
@@ -84,9 +84,6 @@
|
|
|
84
84
|
"platform_editor_element_browser_analytic": {
|
|
85
85
|
"type": "boolean"
|
|
86
86
|
},
|
|
87
|
-
"platform_editor_nested_dnd_styles_changes": {
|
|
88
|
-
"type": "boolean"
|
|
89
|
-
},
|
|
90
87
|
"platform_editor_adf_with_localid": {
|
|
91
88
|
"type": "boolean"
|
|
92
89
|
},
|