@atlaskit/editor-plugin-panel 15.0.0 → 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,13 @@
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
+
3
11
  ## 15.0.0
4
12
 
5
13
  ### 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, ";") : ''), "".concat(!hasIcon && !(0, _platformFeatureFlags.fg)('platform_editor_nested_dnd_styles_changes') ? "padding-left: 12px;padding-right: 12px;" : '')].join('');
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 && (0, _platformFeatureFlags.fg)('platform_editor_nested_dnd_styles_changes') ? " ".concat(_panel.PanelSharedCssClassName.noIcon) : ''),
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};` : ''}`, `${!hasIcon && !fg('platform_editor_nested_dnd_styles_changes') ? `padding-left: 12px;padding-right: 12px;` : ''}`].join('');
39
+ `${isCustomPanelWithColor && expValEquals('platform_editor_nest_table_in_panel', 'isEnabled', true) ? `${akEditorTableContainerBg}: ${panelBackgroundColor};` : ''}`].join('');
40
40
  let panelAttrs = {
41
- class: `${PanelSharedCssClassName.prefix}${!hasIcon && fg('platform_editor_nested_dnd_styles_changes') ? ` ${PanelSharedCssClassName.noIcon}` : ''}`,
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, ";") : ''), "".concat(!hasIcon && !fg('platform_editor_nested_dnd_styles_changes') ? "padding-left: 12px;padding-right: 12px;" : '')].join('');
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 && fg('platform_editor_nested_dnd_styles_changes') ? " ".concat(PanelSharedCssClassName.noIcon) : ''),
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": "15.0.0",
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",
@@ -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
  },