@atlaskit/editor-toolbar 0.19.41 → 0.20.0
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.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`5a8d797e50210`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/5a8d797e50210) -
|
|
8
|
+
[FFCLEANUP-91669] clean up platform_editor_hide_toolbar_tooltips_fix experiment to hide dropdown
|
|
9
|
+
menu item tooltips on hover of the dropdown menu button
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
15
|
+
## 0.19.42
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
|
|
3
21
|
## 0.19.41
|
|
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
|
|
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:
|
|
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
|
|
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:
|
|
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
|
|
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:
|
|
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.
|
|
6
|
+
"version": "0.20.0",
|
|
7
7
|
"description": "Common UI for Toolbars across the platform",
|
|
8
8
|
"atlassian": {
|
|
9
9
|
"team": "Editor: Jenga",
|
|
@@ -24,13 +24,13 @@
|
|
|
24
24
|
"@atlaskit/badge": "^18.4.0",
|
|
25
25
|
"@atlaskit/browser-apis": "^0.0.1",
|
|
26
26
|
"@atlaskit/css": "^0.19.0",
|
|
27
|
-
"@atlaskit/dropdown-menu": "^16.
|
|
28
|
-
"@atlaskit/icon": "^32.
|
|
29
|
-
"@atlaskit/icon-lab": "^5.
|
|
27
|
+
"@atlaskit/dropdown-menu": "^16.7.0",
|
|
28
|
+
"@atlaskit/icon": "^32.1.0",
|
|
29
|
+
"@atlaskit/icon-lab": "^5.18.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": "^
|
|
33
|
+
"@atlaskit/tmp-editor-statsig": "^40.0.0",
|
|
34
34
|
"@atlaskit/tokens": "^11.1.0",
|
|
35
35
|
"@atlaskit/tooltip": "^20.14.0",
|
|
36
36
|
"@babel/runtime": "^7.0.0",
|