@atlaskit/editor-toolbar 0.19.3 → 0.19.4

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-toolbar
2
2
 
3
+ ## 0.19.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [`d29ff5aa0dcec`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d29ff5aa0dcec) -
8
+ [NO-ISSUE] cleans up experiment platform_editor_reduce_toolbar_vc_impact
9
+ - Updated dependencies
10
+
3
11
  ## 0.19.3
4
12
 
5
13
  ### Patch Changes
@@ -95,11 +95,11 @@ var ResponsiveContainer = exports.ResponsiveContainer = function ResponsiveConta
95
95
  // Use new preset-based logic when preset is provided and feature gate is enabled
96
96
  if (breakpointPreset && (0, _platformFeatureFlags.fg)('platform_editor_toolbar_aifc_responsive_improve')) {
97
97
  return /*#__PURE__*/_react.default.createElement(_compiled.Box, {
98
- xcss: (0, _css.cx)((0, _expValEquals.expValEquals)('platform_editor_reduce_toolbar_vc_impact', 'isEnabled', true) && breakpointPreset === 'fullpage' ? styles.responsiveContainerFullPage : styles.responsiveContainer, presetStyleMap[breakpointPreset])
98
+ xcss: (0, _css.cx)(breakpointPreset === 'fullpage' ? styles.responsiveContainerFullPage : styles.responsiveContainer, presetStyleMap[breakpointPreset])
99
99
  }, children);
100
100
  }
101
101
  return /*#__PURE__*/_react.default.createElement(_compiled.Box, {
102
- xcss: (0, _css.cx)((0, _expValEquals.expValEquals)('platform_editor_reduce_toolbar_vc_impact', 'isEnabled', true) && breakpointPreset === 'fullpage' ? styles.responsiveContainerFullPage : styles.responsiveContainer, reducedBreakpoints ? styles.responsiveRulesReduced : styles.responsiveRules, reducedBreakpoints && (0, _expValEquals.expValEquals)('platform_editor_toolbar_aifc_patch_6', 'isEnabled', true) && styles.responsiveRulesReducedOverridden)
102
+ xcss: (0, _css.cx)(breakpointPreset === 'fullpage' ? styles.responsiveContainerFullPage : styles.responsiveContainer, reducedBreakpoints ? styles.responsiveRulesReduced : styles.responsiveRules, reducedBreakpoints && (0, _expValEquals.expValEquals)('platform_editor_toolbar_aifc_patch_6', 'isEnabled', true) && styles.responsiveRulesReducedOverridden)
103
103
  }, children);
104
104
  };
105
105
 
@@ -89,11 +89,11 @@ export const ResponsiveContainer = ({
89
89
  // Use new preset-based logic when preset is provided and feature gate is enabled
90
90
  if (breakpointPreset && fg('platform_editor_toolbar_aifc_responsive_improve')) {
91
91
  return /*#__PURE__*/React.createElement(Box, {
92
- xcss: cx(expValEquals('platform_editor_reduce_toolbar_vc_impact', 'isEnabled', true) && breakpointPreset === 'fullpage' ? styles.responsiveContainerFullPage : styles.responsiveContainer, presetStyleMap[breakpointPreset])
92
+ xcss: cx(breakpointPreset === 'fullpage' ? styles.responsiveContainerFullPage : styles.responsiveContainer, presetStyleMap[breakpointPreset])
93
93
  }, children);
94
94
  }
95
95
  return /*#__PURE__*/React.createElement(Box, {
96
- xcss: cx(expValEquals('platform_editor_reduce_toolbar_vc_impact', 'isEnabled', true) && breakpointPreset === 'fullpage' ? styles.responsiveContainerFullPage : styles.responsiveContainer, reducedBreakpoints ? styles.responsiveRulesReduced : styles.responsiveRules, reducedBreakpoints && expValEquals('platform_editor_toolbar_aifc_patch_6', 'isEnabled', true) && styles.responsiveRulesReducedOverridden)
96
+ xcss: cx(breakpointPreset === 'fullpage' ? styles.responsiveContainerFullPage : styles.responsiveContainer, reducedBreakpoints ? styles.responsiveRulesReduced : styles.responsiveRules, reducedBreakpoints && expValEquals('platform_editor_toolbar_aifc_patch_6', 'isEnabled', true) && styles.responsiveRulesReducedOverridden)
97
97
  }, children);
98
98
  };
99
99
 
@@ -88,11 +88,11 @@ export var ResponsiveContainer = function ResponsiveContainer(_ref) {
88
88
  // Use new preset-based logic when preset is provided and feature gate is enabled
89
89
  if (breakpointPreset && fg('platform_editor_toolbar_aifc_responsive_improve')) {
90
90
  return /*#__PURE__*/React.createElement(Box, {
91
- xcss: cx(expValEquals('platform_editor_reduce_toolbar_vc_impact', 'isEnabled', true) && breakpointPreset === 'fullpage' ? styles.responsiveContainerFullPage : styles.responsiveContainer, presetStyleMap[breakpointPreset])
91
+ xcss: cx(breakpointPreset === 'fullpage' ? styles.responsiveContainerFullPage : styles.responsiveContainer, presetStyleMap[breakpointPreset])
92
92
  }, children);
93
93
  }
94
94
  return /*#__PURE__*/React.createElement(Box, {
95
- xcss: cx(expValEquals('platform_editor_reduce_toolbar_vc_impact', 'isEnabled', true) && breakpointPreset === 'fullpage' ? styles.responsiveContainerFullPage : styles.responsiveContainer, reducedBreakpoints ? styles.responsiveRulesReduced : styles.responsiveRules, reducedBreakpoints && expValEquals('platform_editor_toolbar_aifc_patch_6', 'isEnabled', true) && styles.responsiveRulesReducedOverridden)
95
+ xcss: cx(breakpointPreset === 'fullpage' ? styles.responsiveContainerFullPage : styles.responsiveContainer, reducedBreakpoints ? styles.responsiveRulesReduced : styles.responsiveRules, reducedBreakpoints && expValEquals('platform_editor_toolbar_aifc_patch_6', 'isEnabled', true) && styles.responsiveRulesReducedOverridden)
96
96
  }, children);
97
97
  };
98
98
 
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "registry": "https://registry.npmjs.org/"
5
5
  },
6
- "version": "0.19.3",
6
+ "version": "0.19.4",
7
7
  "description": "Common UI for Toolbars across the platform",
8
8
  "atlassian": {
9
9
  "team": "Editor: Jenga",
@@ -30,7 +30,7 @@
30
30
  "@atlaskit/platform-feature-flags": "^1.1.0",
31
31
  "@atlaskit/popup": "^4.13.0",
32
32
  "@atlaskit/primitives": "^17.1.0",
33
- "@atlaskit/tmp-editor-statsig": "^16.23.0",
33
+ "@atlaskit/tmp-editor-statsig": "^16.25.0",
34
34
  "@atlaskit/tokens": "^10.0.0",
35
35
  "@atlaskit/tooltip": "^20.14.0",
36
36
  "@babel/runtime": "^7.0.0",