@atlaskit/editor-toolbar 0.19.8 → 0.19.10
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 +16 -0
- package/dist/cjs/ui/ResponsiveContainer.js +1 -2
- package/dist/cjs/ui/Toolbar.js +3 -3
- package/dist/cjs/ui/ToolbarDropdownMenu.js +5 -0
- package/dist/es2019/ui/ResponsiveContainer.js +1 -2
- package/dist/es2019/ui/Toolbar.js +3 -3
- package/dist/es2019/ui/ToolbarDropdownMenu.js +5 -0
- package/dist/esm/ui/ResponsiveContainer.js +1 -2
- package/dist/esm/ui/Toolbar.js +3 -3
- package/dist/esm/ui/ToolbarDropdownMenu.js +5 -0
- package/dist/types/ui/ToolbarDropdownMenu.d.ts +2 -1
- package/dist/types-ts4.5/ui/ToolbarDropdownMenu.d.ts +2 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/editor-toolbar
|
|
2
2
|
|
|
3
|
+
## 0.19.10
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`e170ad8b5a383`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e170ad8b5a383) -
|
|
8
|
+
[EDTIOR-4501] add optional id prop to ToolbarDropdownMenu
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 0.19.9
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [`653c0c803b286`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/653c0c803b286) -
|
|
16
|
+
EDITOR-4620 Clean up platform_editor_toolbar_aifc_patch_6
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
|
|
3
19
|
## 0.19.8
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -15,7 +15,6 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
15
15
|
var _css = require("@atlaskit/css");
|
|
16
16
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
17
17
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
18
|
-
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
19
18
|
var styles = {
|
|
20
19
|
responsiveContainer: "_1bsb1osq _7cca15wb _1f38ptqj _1bx91ule _1ehg1ule _1onx1ule _1xt01ule _zg9wglyw _1a2cglyw _sum2glyw _1vtcglyw _1ir3glyw _1vp2glyw _1eadglyw _a6zzglyw",
|
|
21
20
|
responsiveContainerFullPage: "_1bsb1ns9 _1bx91ule _1ehg1ule _1onx1ule _1xt01ule _zg9wglyw _1a2cglyw _sum2glyw _1vtcglyw _1ir3glyw _1vp2glyw _1eadglyw _a6zzglyw",
|
|
@@ -99,7 +98,7 @@ var ResponsiveContainer = exports.ResponsiveContainer = function ResponsiveConta
|
|
|
99
98
|
}, children);
|
|
100
99
|
}
|
|
101
100
|
return /*#__PURE__*/_react.default.createElement(_compiled.Box, {
|
|
102
|
-
xcss: (0, _css.cx)(breakpointPreset === 'fullpage' ? styles.responsiveContainerFullPage : styles.responsiveContainer, reducedBreakpoints ? styles.responsiveRulesReduced : styles.responsiveRules, reducedBreakpoints &&
|
|
101
|
+
xcss: (0, _css.cx)(breakpointPreset === 'fullpage' ? styles.responsiveContainerFullPage : styles.responsiveContainer, reducedBreakpoints ? styles.responsiveRulesReduced : styles.responsiveRules, reducedBreakpoints && styles.responsiveRulesReducedOverridden)
|
|
103
102
|
}, children);
|
|
104
103
|
};
|
|
105
104
|
|
package/dist/cjs/ui/Toolbar.js
CHANGED
|
@@ -38,11 +38,11 @@ var Toolbar = exports.Toolbar = function Toolbar(_ref) {
|
|
|
38
38
|
actionSubjectId = _ref.actionSubjectId,
|
|
39
39
|
testId = _ref.testId;
|
|
40
40
|
var toolbar = /*#__PURE__*/_react.default.createElement(_compiled.Box, {
|
|
41
|
-
xcss: (0, _css.cx)(styles.toolbarBase, styles.toolbar, styles.toolbarResponsive, styles.hiddenSelectors,
|
|
41
|
+
xcss: (0, _css.cx)(styles.toolbarBase, styles.toolbar, styles.toolbarResponsive, styles.hiddenSelectors, styles.toolbarSeparator, styles.hiddenSelectorsPatch),
|
|
42
42
|
role: (0, _expValEquals.expValEquals)('platform_editor_aifc_remove_duplicate_role', 'isEnabled', true) ? undefined : 'toolbar',
|
|
43
43
|
"aria-label": label,
|
|
44
44
|
testId: testId,
|
|
45
|
-
"data-toolbar-type":
|
|
45
|
+
"data-toolbar-type": "inline"
|
|
46
46
|
}, /*#__PURE__*/_react.default.createElement(_ViewEventEmitter.ViewEventEmitter, {
|
|
47
47
|
actionSubject: _ViewEventEmitter.ACTION_SUBJECT.TOOLBAR,
|
|
48
48
|
actionSubjectId: actionSubjectId
|
|
@@ -85,6 +85,6 @@ var PrimaryToolbar = exports.PrimaryToolbar = function PrimaryToolbar(_ref2) {
|
|
|
85
85
|
xcss: (0, _css.cx)(styles.toolbarBase, styles.primaryToolbar, styles.hiddenSelectors),
|
|
86
86
|
role: (0, _expValEquals.expValEquals)('platform_editor_aifc_remove_duplicate_role', 'isEnabled', true) ? undefined : 'toolbar',
|
|
87
87
|
"aria-label": label,
|
|
88
|
-
"data-toolbar-type":
|
|
88
|
+
"data-toolbar-type": "primary"
|
|
89
89
|
}, children));
|
|
90
90
|
};
|
|
@@ -13,6 +13,7 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
13
13
|
var _react2 = require("@compiled/react");
|
|
14
14
|
var _dropdownMenu = _interopRequireDefault(require("@atlaskit/dropdown-menu"));
|
|
15
15
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
16
|
+
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
16
17
|
var _uiContext = require("../hooks/ui-context");
|
|
17
18
|
var _ToolbarButton = require("./ToolbarButton");
|
|
18
19
|
var _ToolbarDropdownMenuContext = require("./ToolbarDropdownMenuContext");
|
|
@@ -26,6 +27,7 @@ var ToolbarDropdownMenuContent = function ToolbarDropdownMenuContent(_ref) {
|
|
|
26
27
|
var iconBefore = _ref.iconBefore,
|
|
27
28
|
children = _ref.children,
|
|
28
29
|
isDisabled = _ref.isDisabled,
|
|
30
|
+
id = _ref.id,
|
|
29
31
|
testId = _ref.testId,
|
|
30
32
|
label = _ref.label,
|
|
31
33
|
_onClick = _ref.onClick;
|
|
@@ -60,6 +62,7 @@ var ToolbarDropdownMenuContent = function ToolbarDropdownMenuContent(_ref) {
|
|
|
60
62
|
triggerProps.onClick && triggerProps.onClick(e);
|
|
61
63
|
},
|
|
62
64
|
onFocus: triggerProps.onFocus,
|
|
65
|
+
id: (0, _expValEquals.expValEquals)('platform_editor_renderer_toolbar_updates', 'isEnabled', true) ? id : undefined,
|
|
63
66
|
testId: testId,
|
|
64
67
|
iconBefore: iconBefore,
|
|
65
68
|
isDisabled: isDisabled,
|
|
@@ -74,6 +77,7 @@ var ToolbarDropdownMenu = exports.ToolbarDropdownMenu = function ToolbarDropdown
|
|
|
74
77
|
var iconBefore = _ref2.iconBefore,
|
|
75
78
|
children = _ref2.children,
|
|
76
79
|
isDisabled = _ref2.isDisabled,
|
|
80
|
+
id = _ref2.id,
|
|
77
81
|
testId = _ref2.testId,
|
|
78
82
|
label = _ref2.label,
|
|
79
83
|
_ref2$hasSectionMargi = _ref2.hasSectionMargin,
|
|
@@ -84,6 +88,7 @@ var ToolbarDropdownMenu = exports.ToolbarDropdownMenu = function ToolbarDropdown
|
|
|
84
88
|
return /*#__PURE__*/_react.default.createElement(ToolbarDropdownMenuContent, {
|
|
85
89
|
iconBefore: iconBefore,
|
|
86
90
|
isDisabled: isDisabled,
|
|
91
|
+
id: (0, _expValEquals.expValEquals)('platform_editor_renderer_toolbar_updates', 'isEnabled', true) ? id : undefined,
|
|
87
92
|
testId: testId,
|
|
88
93
|
label: label,
|
|
89
94
|
onClick: onClick
|
|
@@ -8,7 +8,6 @@ import React from 'react';
|
|
|
8
8
|
import { cx } from '@atlaskit/css';
|
|
9
9
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
10
10
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
11
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
12
11
|
const styles = {
|
|
13
12
|
responsiveContainer: "_1bsb1osq _7cca15wb _1f38ptqj _1bx91ule _1ehg1ule _1onx1ule _1xt01ule _zg9wglyw _1a2cglyw _sum2glyw _1vtcglyw _1ir3glyw _1vp2glyw _1eadglyw _a6zzglyw",
|
|
14
13
|
responsiveContainerFullPage: "_1bsb1ns9 _1bx91ule _1ehg1ule _1onx1ule _1xt01ule _zg9wglyw _1a2cglyw _sum2glyw _1vtcglyw _1ir3glyw _1vp2glyw _1eadglyw _a6zzglyw",
|
|
@@ -93,7 +92,7 @@ export const ResponsiveContainer = ({
|
|
|
93
92
|
}, children);
|
|
94
93
|
}
|
|
95
94
|
return /*#__PURE__*/React.createElement(Box, {
|
|
96
|
-
xcss: cx(breakpointPreset === 'fullpage' ? styles.responsiveContainerFullPage : styles.responsiveContainer, reducedBreakpoints ? styles.responsiveRulesReduced : styles.responsiveRules, reducedBreakpoints &&
|
|
95
|
+
xcss: cx(breakpointPreset === 'fullpage' ? styles.responsiveContainerFullPage : styles.responsiveContainer, reducedBreakpoints ? styles.responsiveRulesReduced : styles.responsiveRules, reducedBreakpoints && styles.responsiveRulesReducedOverridden)
|
|
97
96
|
}, children);
|
|
98
97
|
};
|
|
99
98
|
|
|
@@ -32,11 +32,11 @@ export const Toolbar = ({
|
|
|
32
32
|
testId
|
|
33
33
|
}) => {
|
|
34
34
|
const toolbar = /*#__PURE__*/React.createElement(Box, {
|
|
35
|
-
xcss: cx(styles.toolbarBase, styles.toolbar, styles.toolbarResponsive, styles.hiddenSelectors,
|
|
35
|
+
xcss: cx(styles.toolbarBase, styles.toolbar, styles.toolbarResponsive, styles.hiddenSelectors, styles.toolbarSeparator, styles.hiddenSelectorsPatch),
|
|
36
36
|
role: expValEquals('platform_editor_aifc_remove_duplicate_role', 'isEnabled', true) ? undefined : 'toolbar',
|
|
37
37
|
"aria-label": label,
|
|
38
38
|
testId: testId,
|
|
39
|
-
"data-toolbar-type":
|
|
39
|
+
"data-toolbar-type": "inline"
|
|
40
40
|
}, /*#__PURE__*/React.createElement(ViewEventEmitter, {
|
|
41
41
|
actionSubject: ACTION_SUBJECT.TOOLBAR,
|
|
42
42
|
actionSubjectId: actionSubjectId
|
|
@@ -83,6 +83,6 @@ export const PrimaryToolbar = ({
|
|
|
83
83
|
xcss: cx(styles.toolbarBase, styles.primaryToolbar, styles.hiddenSelectors),
|
|
84
84
|
role: expValEquals('platform_editor_aifc_remove_duplicate_role', 'isEnabled', true) ? undefined : 'toolbar',
|
|
85
85
|
"aria-label": label,
|
|
86
|
-
"data-toolbar-type":
|
|
86
|
+
"data-toolbar-type": "primary"
|
|
87
87
|
}, children));
|
|
88
88
|
};
|
|
@@ -5,6 +5,7 @@ import React, { useCallback } from 'react';
|
|
|
5
5
|
import { cx } from '@compiled/react';
|
|
6
6
|
import DropdownMenu from '@atlaskit/dropdown-menu';
|
|
7
7
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
8
|
+
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
8
9
|
import { useToolbarUI } from '../hooks/ui-context';
|
|
9
10
|
import { ToolbarButton } from './ToolbarButton';
|
|
10
11
|
import { useToolbarDropdownMenu } from './ToolbarDropdownMenuContext';
|
|
@@ -17,6 +18,7 @@ const ToolbarDropdownMenuContent = ({
|
|
|
17
18
|
iconBefore,
|
|
18
19
|
children,
|
|
19
20
|
isDisabled,
|
|
21
|
+
id,
|
|
20
22
|
testId,
|
|
21
23
|
label,
|
|
22
24
|
onClick
|
|
@@ -52,6 +54,7 @@ const ToolbarDropdownMenuContent = ({
|
|
|
52
54
|
triggerProps.onClick && triggerProps.onClick(e);
|
|
53
55
|
},
|
|
54
56
|
onFocus: triggerProps.onFocus,
|
|
57
|
+
id: expValEquals('platform_editor_renderer_toolbar_updates', 'isEnabled', true) ? id : undefined,
|
|
55
58
|
testId: testId,
|
|
56
59
|
iconBefore: iconBefore,
|
|
57
60
|
isDisabled: isDisabled,
|
|
@@ -65,6 +68,7 @@ export const ToolbarDropdownMenu = ({
|
|
|
65
68
|
iconBefore,
|
|
66
69
|
children,
|
|
67
70
|
isDisabled,
|
|
71
|
+
id,
|
|
68
72
|
testId,
|
|
69
73
|
label,
|
|
70
74
|
hasSectionMargin = true,
|
|
@@ -74,6 +78,7 @@ export const ToolbarDropdownMenu = ({
|
|
|
74
78
|
return /*#__PURE__*/React.createElement(ToolbarDropdownMenuContent, {
|
|
75
79
|
iconBefore: iconBefore,
|
|
76
80
|
isDisabled: isDisabled,
|
|
81
|
+
id: expValEquals('platform_editor_renderer_toolbar_updates', 'isEnabled', true) ? id : undefined,
|
|
77
82
|
testId: testId,
|
|
78
83
|
label: label,
|
|
79
84
|
onClick: onClick
|
|
@@ -8,7 +8,6 @@ import React from 'react';
|
|
|
8
8
|
import { cx } from '@atlaskit/css';
|
|
9
9
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
10
10
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
11
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
12
11
|
var styles = {
|
|
13
12
|
responsiveContainer: "_1bsb1osq _7cca15wb _1f38ptqj _1bx91ule _1ehg1ule _1onx1ule _1xt01ule _zg9wglyw _1a2cglyw _sum2glyw _1vtcglyw _1ir3glyw _1vp2glyw _1eadglyw _a6zzglyw",
|
|
14
13
|
responsiveContainerFullPage: "_1bsb1ns9 _1bx91ule _1ehg1ule _1onx1ule _1xt01ule _zg9wglyw _1a2cglyw _sum2glyw _1vtcglyw _1ir3glyw _1vp2glyw _1eadglyw _a6zzglyw",
|
|
@@ -92,7 +91,7 @@ export var ResponsiveContainer = function ResponsiveContainer(_ref) {
|
|
|
92
91
|
}, children);
|
|
93
92
|
}
|
|
94
93
|
return /*#__PURE__*/React.createElement(Box, {
|
|
95
|
-
xcss: cx(breakpointPreset === 'fullpage' ? styles.responsiveContainerFullPage : styles.responsiveContainer, reducedBreakpoints ? styles.responsiveRulesReduced : styles.responsiveRules, reducedBreakpoints &&
|
|
94
|
+
xcss: cx(breakpointPreset === 'fullpage' ? styles.responsiveContainerFullPage : styles.responsiveContainer, reducedBreakpoints ? styles.responsiveRulesReduced : styles.responsiveRules, reducedBreakpoints && styles.responsiveRulesReducedOverridden)
|
|
96
95
|
}, children);
|
|
97
96
|
};
|
|
98
97
|
|
package/dist/esm/ui/Toolbar.js
CHANGED
|
@@ -31,11 +31,11 @@ export var Toolbar = function Toolbar(_ref) {
|
|
|
31
31
|
actionSubjectId = _ref.actionSubjectId,
|
|
32
32
|
testId = _ref.testId;
|
|
33
33
|
var toolbar = /*#__PURE__*/React.createElement(Box, {
|
|
34
|
-
xcss: cx(styles.toolbarBase, styles.toolbar, styles.toolbarResponsive, styles.hiddenSelectors,
|
|
34
|
+
xcss: cx(styles.toolbarBase, styles.toolbar, styles.toolbarResponsive, styles.hiddenSelectors, styles.toolbarSeparator, styles.hiddenSelectorsPatch),
|
|
35
35
|
role: expValEquals('platform_editor_aifc_remove_duplicate_role', 'isEnabled', true) ? undefined : 'toolbar',
|
|
36
36
|
"aria-label": label,
|
|
37
37
|
testId: testId,
|
|
38
|
-
"data-toolbar-type":
|
|
38
|
+
"data-toolbar-type": "inline"
|
|
39
39
|
}, /*#__PURE__*/React.createElement(ViewEventEmitter, {
|
|
40
40
|
actionSubject: ACTION_SUBJECT.TOOLBAR,
|
|
41
41
|
actionSubjectId: actionSubjectId
|
|
@@ -78,6 +78,6 @@ export var PrimaryToolbar = function PrimaryToolbar(_ref2) {
|
|
|
78
78
|
xcss: cx(styles.toolbarBase, styles.primaryToolbar, styles.hiddenSelectors),
|
|
79
79
|
role: expValEquals('platform_editor_aifc_remove_duplicate_role', 'isEnabled', true) ? undefined : 'toolbar',
|
|
80
80
|
"aria-label": label,
|
|
81
|
-
"data-toolbar-type":
|
|
81
|
+
"data-toolbar-type": "primary"
|
|
82
82
|
}, children));
|
|
83
83
|
};
|
|
@@ -5,6 +5,7 @@ import React, { useCallback } from 'react';
|
|
|
5
5
|
import { cx } from '@compiled/react';
|
|
6
6
|
import DropdownMenu from '@atlaskit/dropdown-menu';
|
|
7
7
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
8
|
+
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
8
9
|
import { useToolbarUI } from '../hooks/ui-context';
|
|
9
10
|
import { ToolbarButton } from './ToolbarButton';
|
|
10
11
|
import { useToolbarDropdownMenu } from './ToolbarDropdownMenuContext';
|
|
@@ -17,6 +18,7 @@ var ToolbarDropdownMenuContent = function ToolbarDropdownMenuContent(_ref) {
|
|
|
17
18
|
var iconBefore = _ref.iconBefore,
|
|
18
19
|
children = _ref.children,
|
|
19
20
|
isDisabled = _ref.isDisabled,
|
|
21
|
+
id = _ref.id,
|
|
20
22
|
testId = _ref.testId,
|
|
21
23
|
label = _ref.label,
|
|
22
24
|
_onClick = _ref.onClick;
|
|
@@ -51,6 +53,7 @@ var ToolbarDropdownMenuContent = function ToolbarDropdownMenuContent(_ref) {
|
|
|
51
53
|
triggerProps.onClick && triggerProps.onClick(e);
|
|
52
54
|
},
|
|
53
55
|
onFocus: triggerProps.onFocus,
|
|
56
|
+
id: expValEquals('platform_editor_renderer_toolbar_updates', 'isEnabled', true) ? id : undefined,
|
|
54
57
|
testId: testId,
|
|
55
58
|
iconBefore: iconBefore,
|
|
56
59
|
isDisabled: isDisabled,
|
|
@@ -65,6 +68,7 @@ export var ToolbarDropdownMenu = function ToolbarDropdownMenu(_ref2) {
|
|
|
65
68
|
var iconBefore = _ref2.iconBefore,
|
|
66
69
|
children = _ref2.children,
|
|
67
70
|
isDisabled = _ref2.isDisabled,
|
|
71
|
+
id = _ref2.id,
|
|
68
72
|
testId = _ref2.testId,
|
|
69
73
|
label = _ref2.label,
|
|
70
74
|
_ref2$hasSectionMargi = _ref2.hasSectionMargin,
|
|
@@ -75,6 +79,7 @@ export var ToolbarDropdownMenu = function ToolbarDropdownMenu(_ref2) {
|
|
|
75
79
|
return /*#__PURE__*/React.createElement(ToolbarDropdownMenuContent, {
|
|
76
80
|
iconBefore: iconBefore,
|
|
77
81
|
isDisabled: isDisabled,
|
|
82
|
+
id: expValEquals('platform_editor_renderer_toolbar_updates', 'isEnabled', true) ? id : undefined,
|
|
78
83
|
testId: testId,
|
|
79
84
|
label: label,
|
|
80
85
|
onClick: onClick
|
|
@@ -14,10 +14,11 @@ type ToolbarDropdownMenuProps = {
|
|
|
14
14
|
*/
|
|
15
15
|
hasSectionMargin?: boolean;
|
|
16
16
|
iconBefore: React.ReactNode;
|
|
17
|
+
id?: string;
|
|
17
18
|
isDisabled?: boolean;
|
|
18
19
|
label?: string;
|
|
19
20
|
onClick?: (event: React.MouseEvent<HTMLButtonElement>, isOpen: boolean) => void;
|
|
20
21
|
testId?: string;
|
|
21
22
|
};
|
|
22
|
-
export declare const ToolbarDropdownMenu: ({ iconBefore, children, isDisabled, testId, label, hasSectionMargin, enableMaxHeight, onClick, }: ToolbarDropdownMenuProps) => JSX.Element;
|
|
23
|
+
export declare const ToolbarDropdownMenu: ({ iconBefore, children, isDisabled, id, testId, label, hasSectionMargin, enableMaxHeight, onClick, }: ToolbarDropdownMenuProps) => JSX.Element;
|
|
23
24
|
export {};
|
|
@@ -14,10 +14,11 @@ type ToolbarDropdownMenuProps = {
|
|
|
14
14
|
*/
|
|
15
15
|
hasSectionMargin?: boolean;
|
|
16
16
|
iconBefore: React.ReactNode;
|
|
17
|
+
id?: string;
|
|
17
18
|
isDisabled?: boolean;
|
|
18
19
|
label?: string;
|
|
19
20
|
onClick?: (event: React.MouseEvent<HTMLButtonElement>, isOpen: boolean) => void;
|
|
20
21
|
testId?: string;
|
|
21
22
|
};
|
|
22
|
-
export declare const ToolbarDropdownMenu: ({ iconBefore, children, isDisabled, testId, label, hasSectionMargin, enableMaxHeight, onClick, }: ToolbarDropdownMenuProps) => JSX.Element;
|
|
23
|
+
export declare const ToolbarDropdownMenu: ({ iconBefore, children, isDisabled, id, testId, label, hasSectionMargin, enableMaxHeight, onClick, }: ToolbarDropdownMenuProps) => JSX.Element;
|
|
23
24
|
export {};
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"registry": "https://registry.npmjs.org/"
|
|
5
5
|
},
|
|
6
|
-
"version": "0.19.
|
|
6
|
+
"version": "0.19.10",
|
|
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": "^17.
|
|
33
|
+
"@atlaskit/tmp-editor-statsig": "^17.3.0",
|
|
34
34
|
"@atlaskit/tokens": "^10.1.0",
|
|
35
35
|
"@atlaskit/tooltip": "^20.14.0",
|
|
36
36
|
"@babel/runtime": "^7.0.0",
|