@atlaskit/editor-common 106.9.2 → 106.9.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,13 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 106.9.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#171657](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/171657)
8
+ [`cb6c865095af1`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/cb6c865095af1) -
9
+ Clean-up platform_editor_lcm_nested_panel_icon_fix
10
+
3
11
  ## 106.9.2
4
12
 
5
13
  ### Patch Changes
@@ -136,11 +136,7 @@ var PanelSharedSelectors = exports.PanelSharedSelectors = {
136
136
  copyButton: "button[aria-label=\"Copy\"]"
137
137
  };
138
138
  var getIconStyles = function getIconStyles(panelType) {
139
- if ((0, _platformFeatureFlags.fg)('platform_editor_lcm_nested_panel_icon_fix')) {
140
- return "\n\t\t\t.".concat(PanelSharedCssClassName.icon, "[data-panel-type='").concat(panelType, "'] {\n\t\t\t\tcolor: ").concat(lightIconColor[panelType], ";\n\t\t\t}\n\t\t");
141
- } else {
142
- return "\n\t\t\t.".concat(PanelSharedCssClassName.icon, " {\n\t\t\t\tcolor: ").concat(lightIconColor[panelType], ";\n\t\t\t}\n\t\t");
143
- }
139
+ return "\n\t\t.".concat(PanelSharedCssClassName.icon, "[data-panel-type='").concat(panelType, "'] {\n\t\t\tcolor: ").concat(lightIconColor[panelType], ";\n\t\t}\n\t");
144
140
  };
145
141
 
146
142
  // Provides the color without tokens, used when converting to a custom panel
@@ -129,19 +129,11 @@ export const PanelSharedSelectors = {
129
129
  copyButton: `button[aria-label="Copy"]`
130
130
  };
131
131
  const getIconStyles = panelType => {
132
- if (fg('platform_editor_lcm_nested_panel_icon_fix')) {
133
- return `
134
- .${PanelSharedCssClassName.icon}[data-panel-type='${panelType}'] {
135
- color: ${lightIconColor[panelType]};
136
- }
137
- `;
138
- } else {
139
- return `
140
- .${PanelSharedCssClassName.icon} {
141
- color: ${lightIconColor[panelType]};
142
- }
143
- `;
144
- }
132
+ return `
133
+ .${PanelSharedCssClassName.icon}[data-panel-type='${panelType}'] {
134
+ color: ${lightIconColor[panelType]};
135
+ }
136
+ `;
145
137
  };
146
138
 
147
139
  // Provides the color without tokens, used when converting to a custom panel
@@ -127,11 +127,7 @@ export var PanelSharedSelectors = {
127
127
  copyButton: "button[aria-label=\"Copy\"]"
128
128
  };
129
129
  var getIconStyles = function getIconStyles(panelType) {
130
- if (fg('platform_editor_lcm_nested_panel_icon_fix')) {
131
- return "\n\t\t\t.".concat(PanelSharedCssClassName.icon, "[data-panel-type='").concat(panelType, "'] {\n\t\t\t\tcolor: ").concat(lightIconColor[panelType], ";\n\t\t\t}\n\t\t");
132
- } else {
133
- return "\n\t\t\t.".concat(PanelSharedCssClassName.icon, " {\n\t\t\t\tcolor: ").concat(lightIconColor[panelType], ";\n\t\t\t}\n\t\t");
134
- }
130
+ return "\n\t\t.".concat(PanelSharedCssClassName.icon, "[data-panel-type='").concat(panelType, "'] {\n\t\t\tcolor: ").concat(lightIconColor[panelType], ";\n\t\t}\n\t");
135
131
  };
136
132
 
137
133
  // Provides the color without tokens, used when converting to a custom panel
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "106.9.2",
3
+ "version": "106.9.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/"
@@ -323,9 +323,6 @@
323
323
  "platform_editor_controls_patch_6": {
324
324
  "type": "boolean"
325
325
  },
326
- "platform_editor_lcm_nested_panel_icon_fix": {
327
- "type": "boolean"
328
- },
329
326
  "editor_a11y_aria_label_removal_popup": {
330
327
  "type": "boolean"
331
328
  },