@atlaskit/editor-toolbar 0.19.42 → 0.20.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,23 @@
1
1
  # @atlaskit/editor-toolbar
2
2
 
3
+ ## 0.20.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 0.20.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [`5a8d797e50210`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/5a8d797e50210) -
14
+ [FFCLEANUP-91669] clean up platform_editor_hide_toolbar_tooltips_fix experiment to hide dropdown
15
+ menu item tooltips on hover of the dropdown menu button
16
+
17
+ ### Patch Changes
18
+
19
+ - Updated dependencies
20
+
3
21
  ## 0.19.42
4
22
 
5
23
  ### Patch Changes
@@ -69,7 +69,7 @@ var ToolbarDropdownMenuContent = function ToolbarDropdownMenuContent(_ref) {
69
69
  isDisabled: isDisabled,
70
70
  label: label
71
71
  });
72
- if (tooltipComponent && (0, _expValEquals.expValEquals)('platform_editor_hide_toolbar_tooltips_fix', 'isEnabled', true)) {
72
+ if (tooltipComponent) {
73
73
  return /*#__PURE__*/_react.default.cloneElement(tooltipComponent, {
74
74
  children: toolbarButton
75
75
  });
@@ -100,7 +100,7 @@ var ToolbarDropdownMenu = exports.ToolbarDropdownMenu = function ToolbarDropdown
100
100
  testId: testId,
101
101
  label: label,
102
102
  onClick: onClick,
103
- tooltipComponent: (0, _expValEquals.expValEquals)('platform_editor_hide_toolbar_tooltips_fix', 'isEnabled', true) ? tooltipComponent : undefined
103
+ tooltipComponent: tooltipComponent
104
104
  }, /*#__PURE__*/_react.default.createElement(_compiled.Box, {
105
105
  xcss: (0, _react2.cx)(hasSectionMargin && styles.sectionMargin, enableMaxHeight && styles.scrollContainer, styles.firstSectionSeparator),
106
106
  "data-toolbar-component": "menu"
@@ -62,7 +62,7 @@ const ToolbarDropdownMenuContent = ({
62
62
  isDisabled: isDisabled,
63
63
  label: label
64
64
  });
65
- if (tooltipComponent && expValEquals('platform_editor_hide_toolbar_tooltips_fix', 'isEnabled', true)) {
65
+ if (tooltipComponent) {
66
66
  return /*#__PURE__*/React.cloneElement(tooltipComponent, {
67
67
  children: toolbarButton
68
68
  });
@@ -92,7 +92,7 @@ export const ToolbarDropdownMenu = ({
92
92
  testId: testId,
93
93
  label: label,
94
94
  onClick: onClick,
95
- tooltipComponent: expValEquals('platform_editor_hide_toolbar_tooltips_fix', 'isEnabled', true) ? tooltipComponent : undefined
95
+ tooltipComponent: tooltipComponent
96
96
  }, /*#__PURE__*/React.createElement(Box, {
97
97
  xcss: cx(hasSectionMargin && styles.sectionMargin, enableMaxHeight && styles.scrollContainer, styles.firstSectionSeparator),
98
98
  "data-toolbar-component": "menu"
@@ -60,7 +60,7 @@ var ToolbarDropdownMenuContent = function ToolbarDropdownMenuContent(_ref) {
60
60
  isDisabled: isDisabled,
61
61
  label: label
62
62
  });
63
- if (tooltipComponent && expValEquals('platform_editor_hide_toolbar_tooltips_fix', 'isEnabled', true)) {
63
+ if (tooltipComponent) {
64
64
  return /*#__PURE__*/React.cloneElement(tooltipComponent, {
65
65
  children: toolbarButton
66
66
  });
@@ -91,7 +91,7 @@ export var ToolbarDropdownMenu = function ToolbarDropdownMenu(_ref2) {
91
91
  testId: testId,
92
92
  label: label,
93
93
  onClick: onClick,
94
- tooltipComponent: expValEquals('platform_editor_hide_toolbar_tooltips_fix', 'isEnabled', true) ? tooltipComponent : undefined
94
+ tooltipComponent: tooltipComponent
95
95
  }, /*#__PURE__*/React.createElement(Box, {
96
96
  xcss: cx(hasSectionMargin && styles.sectionMargin, enableMaxHeight && styles.scrollContainer, styles.firstSectionSeparator),
97
97
  "data-toolbar-component": "menu"
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "registry": "https://registry.npmjs.org/"
5
5
  },
6
- "version": "0.19.42",
6
+ "version": "0.20.1",
7
7
  "description": "Common UI for Toolbars across the platform",
8
8
  "atlassian": {
9
9
  "team": "Editor: Jenga",
@@ -25,12 +25,12 @@
25
25
  "@atlaskit/browser-apis": "^0.0.1",
26
26
  "@atlaskit/css": "^0.19.0",
27
27
  "@atlaskit/dropdown-menu": "^16.7.0",
28
- "@atlaskit/icon": "^32.1.0",
29
- "@atlaskit/icon-lab": "^5.18.0",
28
+ "@atlaskit/icon": "^33.0.0",
29
+ "@atlaskit/icon-lab": "^6.0.0",
30
30
  "@atlaskit/platform-feature-flags": "^1.1.0",
31
31
  "@atlaskit/popup": "^4.13.0",
32
32
  "@atlaskit/primitives": "^18.0.0",
33
- "@atlaskit/tmp-editor-statsig": "^39.0.0",
33
+ "@atlaskit/tmp-editor-statsig": "^40.2.0",
34
34
  "@atlaskit/tokens": "^11.1.0",
35
35
  "@atlaskit/tooltip": "^20.14.0",
36
36
  "@babel/runtime": "^7.0.0",