@atlaskit/editor-core 220.0.0 → 220.0.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 +8 -0
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/version-wrapper.js +1 -1
- package/package.json +11 -11
- package/dist/cjs/ui/Addon/Dropdown/index.js +0 -63
- package/dist/cjs/ui/Addon/Dropdown/styles.js +0 -20
- package/dist/es2019/ui/Addon/Dropdown/index.js +0 -43
- package/dist/es2019/ui/Addon/Dropdown/styles.js +0 -13
- package/dist/esm/ui/Addon/Dropdown/index.js +0 -60
- package/dist/esm/ui/Addon/Dropdown/styles.js +0 -13
- package/dist/types/ui/Addon/Dropdown/index.d.ts +0 -18
- package/dist/types/ui/Addon/Dropdown/styles.d.ts +0 -2
- package/dist/types-ts4.5/ui/Addon/Dropdown/index.d.ts +0 -18
- package/dist/types-ts4.5/ui/Addon/Dropdown/styles.d.ts +0 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 220.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`95d58f9a4927c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/95d58f9a4927c) -
|
|
8
|
+
Removing unreferenced ui/addon/dropdown component styles
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 220.0.0
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "
|
|
2
|
+
export const version = "220.0.0";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "
|
|
2
|
+
export var version = "220.0.0";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "220.0.
|
|
3
|
+
"version": "220.0.1",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -46,10 +46,10 @@
|
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@atlaskit/activity-provider": "^2.6.0",
|
|
49
|
-
"@atlaskit/adf-schema": "^52.
|
|
49
|
+
"@atlaskit/adf-schema": "^52.16.0",
|
|
50
50
|
"@atlaskit/afm-i18n-platform-editor-editor-core": "2.10.0",
|
|
51
51
|
"@atlaskit/analytics-namespaced-context": "^7.3.0",
|
|
52
|
-
"@atlaskit/analytics-next": "^11.
|
|
52
|
+
"@atlaskit/analytics-next": "^11.3.0",
|
|
53
53
|
"@atlaskit/analytics-next-stable-react-context": "1.0.1",
|
|
54
54
|
"@atlaskit/button": "^23.11.0",
|
|
55
55
|
"@atlaskit/css": "^0.19.0",
|
|
@@ -64,9 +64,9 @@
|
|
|
64
64
|
"@atlaskit/editor-ssr-renderer": "^6.0.0",
|
|
65
65
|
"@atlaskit/editor-toolbar": "^1.9.0",
|
|
66
66
|
"@atlaskit/editor-toolbar-model": "^0.5.0",
|
|
67
|
-
"@atlaskit/emoji": "^70.
|
|
67
|
+
"@atlaskit/emoji": "^70.15.0",
|
|
68
68
|
"@atlaskit/feature-gate-js-client": "^5.7.0",
|
|
69
|
-
"@atlaskit/icon": "^35.
|
|
69
|
+
"@atlaskit/icon": "^35.4.0",
|
|
70
70
|
"@atlaskit/link": "^3.4.0",
|
|
71
71
|
"@atlaskit/media-card": "^80.7.0",
|
|
72
72
|
"@atlaskit/mention": "^26.0.0",
|
|
@@ -74,9 +74,9 @@
|
|
|
74
74
|
"@atlaskit/platform-feature-flags-react": "^0.5.0",
|
|
75
75
|
"@atlaskit/react-ufo": "^6.6.0",
|
|
76
76
|
"@atlaskit/task-decision": "^20.1.0",
|
|
77
|
-
"@atlaskit/tmp-editor-statsig": "^88.
|
|
77
|
+
"@atlaskit/tmp-editor-statsig": "^88.3.0",
|
|
78
78
|
"@atlaskit/tokens": "^13.1.0",
|
|
79
|
-
"@atlaskit/tooltip": "^22.
|
|
79
|
+
"@atlaskit/tooltip": "^22.6.0",
|
|
80
80
|
"@atlaskit/width-detector": "^5.1.0",
|
|
81
81
|
"@babel/runtime": "^7.0.0",
|
|
82
82
|
"@compiled/react": "^0.20.0",
|
|
@@ -110,10 +110,10 @@
|
|
|
110
110
|
"@atlaskit/editor-plugin-annotation": "^11.0.0",
|
|
111
111
|
"@atlaskit/editor-plugin-card": "^17.0.0",
|
|
112
112
|
"@atlaskit/editor-plugin-list": "^13.0.0",
|
|
113
|
-
"@atlaskit/editor-plugin-paste": "^12.
|
|
113
|
+
"@atlaskit/editor-plugin-paste": "^12.1.0",
|
|
114
114
|
"@atlaskit/editor-test-helpers": "workspace:^",
|
|
115
115
|
"@atlaskit/link-provider": "^4.4.0",
|
|
116
|
-
"@atlaskit/linking-common": "^9.
|
|
116
|
+
"@atlaskit/linking-common": "^9.13.0",
|
|
117
117
|
"@atlaskit/logo": "^20.1.0",
|
|
118
118
|
"@atlaskit/media-core": "^37.1.0",
|
|
119
119
|
"@atlaskit/media-integration-test-helpers": "workspace:^",
|
|
@@ -132,10 +132,10 @@
|
|
|
132
132
|
"@atlassian/editor-rovo-bridge": "^9.0.0",
|
|
133
133
|
"@atlassian/feature-flags-test-utils": "^1.1.0",
|
|
134
134
|
"@atlassian/react-compiler-gating": "workspace:^",
|
|
135
|
-
"@atlassian/search-client": "^1.
|
|
135
|
+
"@atlassian/search-client": "^1.11.0",
|
|
136
136
|
"@atlassian/search-provider": "^12.0.0",
|
|
137
137
|
"@atlassian/structured-docs-types": "workspace:^",
|
|
138
|
-
"@atlassian/user-profile-card": "^1.
|
|
138
|
+
"@atlassian/user-profile-card": "^1.9.0",
|
|
139
139
|
"@emotion/jest": "^11.8.0",
|
|
140
140
|
"@testing-library/react": "^16.3.0",
|
|
141
141
|
"@types/diff": "^5.0.2",
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.default = void 0;
|
|
8
|
-
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
9
|
-
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
10
|
-
var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn"));
|
|
11
|
-
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
|
|
12
|
-
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
|
13
|
-
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
14
|
-
var _react = _interopRequireDefault(require("react"));
|
|
15
|
-
var _react2 = require("@emotion/react");
|
|
16
|
-
var _styles = require("./styles");
|
|
17
|
-
function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); }
|
|
18
|
-
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } /**
|
|
19
|
-
* @jsxRuntime classic
|
|
20
|
-
* @jsx jsx
|
|
21
|
-
*/ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- Ignored via go/DSP-18766; jsx required at runtime for @jsxRuntime classic
|
|
22
|
-
// Ignored via go/ees005
|
|
23
|
-
// eslint-disable-next-line @repo/internal/react/no-class-components
|
|
24
|
-
var DropdownWrapper = exports.default = /*#__PURE__*/function (_React$Component) {
|
|
25
|
-
function DropdownWrapper() {
|
|
26
|
-
var _this;
|
|
27
|
-
(0, _classCallCheck2.default)(this, DropdownWrapper);
|
|
28
|
-
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
29
|
-
args[_key] = arguments[_key];
|
|
30
|
-
}
|
|
31
|
-
_this = _callSuper(this, DropdownWrapper, [].concat(args));
|
|
32
|
-
(0, _defineProperty2.default)(_this, "handleClick", function (actions) {
|
|
33
|
-
var actionOnClick = actions.actionOnClick,
|
|
34
|
-
renderOnClick = actions.renderOnClick;
|
|
35
|
-
var editorActions = _this.props.editorActions;
|
|
36
|
-
if (actionOnClick) {
|
|
37
|
-
actionOnClick(editorActions);
|
|
38
|
-
_this.props.togglePopup();
|
|
39
|
-
} else if (renderOnClick) {
|
|
40
|
-
_this.props.onClick(editorActions, renderOnClick);
|
|
41
|
-
}
|
|
42
|
-
});
|
|
43
|
-
return _this;
|
|
44
|
-
}
|
|
45
|
-
(0, _inherits2.default)(DropdownWrapper, _React$Component);
|
|
46
|
-
return (0, _createClass2.default)(DropdownWrapper, [{
|
|
47
|
-
key: "render",
|
|
48
|
-
value: function render() {
|
|
49
|
-
var _this2 = this;
|
|
50
|
-
// adding onClick handler to each DropdownItem component
|
|
51
|
-
var children = _react.default.Children.map(this.props.children, function (child) {
|
|
52
|
-
return /*#__PURE__*/_react.default.cloneElement(child, {
|
|
53
|
-
onClick: _this2.handleClick
|
|
54
|
-
});
|
|
55
|
-
});
|
|
56
|
-
|
|
57
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
58
|
-
return (0, _react2.jsx)("div", {
|
|
59
|
-
css: _styles.dropdown
|
|
60
|
-
}, children);
|
|
61
|
-
}
|
|
62
|
-
}]);
|
|
63
|
-
}(_react.default.Component);
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.dropdown = void 0;
|
|
7
|
-
var _react = require("@emotion/react");
|
|
8
|
-
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766 */
|
|
9
|
-
|
|
10
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
11
|
-
var dropdown = exports.dropdown = (0, _react.css)({
|
|
12
|
-
display: 'flex',
|
|
13
|
-
flexDirection: 'column',
|
|
14
|
-
background: "var(--ds-surface-overlay, #FFFFFF)",
|
|
15
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
16
|
-
borderRadius: "var(--ds-radius-small, 3px)",
|
|
17
|
-
boxShadow: "var(--ds-shadow-overlay, 0px 8px 12px #1E1F2126, 0px 0px 1px #1E1F214f)",
|
|
18
|
-
boxSizing: 'border-box',
|
|
19
|
-
padding: "var(--ds-space-050, 4px)".concat(" 0")
|
|
20
|
-
});
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
|
-
/**
|
|
3
|
-
* @jsxRuntime classic
|
|
4
|
-
* @jsx jsx
|
|
5
|
-
*/
|
|
6
|
-
import React from 'react';
|
|
7
|
-
|
|
8
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- Ignored via go/DSP-18766; jsx required at runtime for @jsxRuntime classic
|
|
9
|
-
import { jsx } from '@emotion/react';
|
|
10
|
-
import { dropdown } from './styles';
|
|
11
|
-
// Ignored via go/ees005
|
|
12
|
-
// eslint-disable-next-line @repo/internal/react/no-class-components
|
|
13
|
-
export default class DropdownWrapper extends React.Component {
|
|
14
|
-
constructor(...args) {
|
|
15
|
-
super(...args);
|
|
16
|
-
_defineProperty(this, "handleClick", actions => {
|
|
17
|
-
const {
|
|
18
|
-
actionOnClick,
|
|
19
|
-
renderOnClick
|
|
20
|
-
} = actions;
|
|
21
|
-
const {
|
|
22
|
-
editorActions
|
|
23
|
-
} = this.props;
|
|
24
|
-
if (actionOnClick) {
|
|
25
|
-
actionOnClick(editorActions);
|
|
26
|
-
this.props.togglePopup();
|
|
27
|
-
} else if (renderOnClick) {
|
|
28
|
-
this.props.onClick(editorActions, renderOnClick);
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
}
|
|
32
|
-
render() {
|
|
33
|
-
// adding onClick handler to each DropdownItem component
|
|
34
|
-
const children = React.Children.map(this.props.children, child => /*#__PURE__*/React.cloneElement(child, {
|
|
35
|
-
onClick: this.handleClick
|
|
36
|
-
}));
|
|
37
|
-
|
|
38
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
39
|
-
return jsx("div", {
|
|
40
|
-
css: dropdown
|
|
41
|
-
}, children);
|
|
42
|
-
}
|
|
43
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766 */
|
|
2
|
-
import { css } from '@emotion/react';
|
|
3
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
4
|
-
export const dropdown = css({
|
|
5
|
-
display: 'flex',
|
|
6
|
-
flexDirection: 'column',
|
|
7
|
-
background: "var(--ds-surface-overlay, #FFFFFF)",
|
|
8
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
9
|
-
borderRadius: "var(--ds-radius-small, 3px)",
|
|
10
|
-
boxShadow: "var(--ds-shadow-overlay, 0px 8px 12px #1E1F2126, 0px 0px 1px #1E1F214f)",
|
|
11
|
-
boxSizing: 'border-box',
|
|
12
|
-
padding: `${"var(--ds-space-050, 4px)"} 0`
|
|
13
|
-
});
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
2
|
-
import _createClass from "@babel/runtime/helpers/createClass";
|
|
3
|
-
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
|
|
4
|
-
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
|
|
5
|
-
import _inherits from "@babel/runtime/helpers/inherits";
|
|
6
|
-
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
7
|
-
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
8
|
-
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
9
|
-
/**
|
|
10
|
-
* @jsxRuntime classic
|
|
11
|
-
* @jsx jsx
|
|
12
|
-
*/
|
|
13
|
-
import React from 'react';
|
|
14
|
-
|
|
15
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- Ignored via go/DSP-18766; jsx required at runtime for @jsxRuntime classic
|
|
16
|
-
import { jsx } from '@emotion/react';
|
|
17
|
-
import { dropdown } from './styles';
|
|
18
|
-
// Ignored via go/ees005
|
|
19
|
-
// eslint-disable-next-line @repo/internal/react/no-class-components
|
|
20
|
-
var DropdownWrapper = /*#__PURE__*/function (_React$Component) {
|
|
21
|
-
function DropdownWrapper() {
|
|
22
|
-
var _this;
|
|
23
|
-
_classCallCheck(this, DropdownWrapper);
|
|
24
|
-
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
25
|
-
args[_key] = arguments[_key];
|
|
26
|
-
}
|
|
27
|
-
_this = _callSuper(this, DropdownWrapper, [].concat(args));
|
|
28
|
-
_defineProperty(_this, "handleClick", function (actions) {
|
|
29
|
-
var actionOnClick = actions.actionOnClick,
|
|
30
|
-
renderOnClick = actions.renderOnClick;
|
|
31
|
-
var editorActions = _this.props.editorActions;
|
|
32
|
-
if (actionOnClick) {
|
|
33
|
-
actionOnClick(editorActions);
|
|
34
|
-
_this.props.togglePopup();
|
|
35
|
-
} else if (renderOnClick) {
|
|
36
|
-
_this.props.onClick(editorActions, renderOnClick);
|
|
37
|
-
}
|
|
38
|
-
});
|
|
39
|
-
return _this;
|
|
40
|
-
}
|
|
41
|
-
_inherits(DropdownWrapper, _React$Component);
|
|
42
|
-
return _createClass(DropdownWrapper, [{
|
|
43
|
-
key: "render",
|
|
44
|
-
value: function render() {
|
|
45
|
-
var _this2 = this;
|
|
46
|
-
// adding onClick handler to each DropdownItem component
|
|
47
|
-
var children = React.Children.map(this.props.children, function (child) {
|
|
48
|
-
return /*#__PURE__*/React.cloneElement(child, {
|
|
49
|
-
onClick: _this2.handleClick
|
|
50
|
-
});
|
|
51
|
-
});
|
|
52
|
-
|
|
53
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
54
|
-
return jsx("div", {
|
|
55
|
-
css: dropdown
|
|
56
|
-
}, children);
|
|
57
|
-
}
|
|
58
|
-
}]);
|
|
59
|
-
}(React.Component);
|
|
60
|
-
export { DropdownWrapper as default };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766 */
|
|
2
|
-
import { css } from '@emotion/react';
|
|
3
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
4
|
-
export var dropdown = css({
|
|
5
|
-
display: 'flex',
|
|
6
|
-
flexDirection: 'column',
|
|
7
|
-
background: "var(--ds-surface-overlay, #FFFFFF)",
|
|
8
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
9
|
-
borderRadius: "var(--ds-radius-small, 3px)",
|
|
10
|
-
boxShadow: "var(--ds-shadow-overlay, 0px 8px 12px #1E1F2126, 0px 0px 1px #1E1F214f)",
|
|
11
|
-
boxSizing: 'border-box',
|
|
12
|
-
padding: "var(--ds-space-050, 4px)".concat(" 0")
|
|
13
|
-
});
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
5
|
-
import React from 'react';
|
|
6
|
-
import { jsx } from '@emotion/react';
|
|
7
|
-
import type EditorActions from '../../../actions';
|
|
8
|
-
import type { RenderOnClickHandler } from '../../Addon/types';
|
|
9
|
-
export interface Props {
|
|
10
|
-
children?: React.ReactNode;
|
|
11
|
-
editorActions: EditorActions;
|
|
12
|
-
onClick: (actionOnClick: EditorActions, renderOnClick: RenderOnClickHandler) => void;
|
|
13
|
-
togglePopup: () => void;
|
|
14
|
-
}
|
|
15
|
-
export default class DropdownWrapper extends React.Component<Props> {
|
|
16
|
-
render(): jsx.JSX.Element;
|
|
17
|
-
private handleClick;
|
|
18
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
5
|
-
import React from 'react';
|
|
6
|
-
import { jsx } from '@emotion/react';
|
|
7
|
-
import type EditorActions from '../../../actions';
|
|
8
|
-
import type { RenderOnClickHandler } from '../../Addon/types';
|
|
9
|
-
export interface Props {
|
|
10
|
-
children?: React.ReactNode;
|
|
11
|
-
editorActions: EditorActions;
|
|
12
|
-
onClick: (actionOnClick: EditorActions, renderOnClick: RenderOnClickHandler) => void;
|
|
13
|
-
togglePopup: () => void;
|
|
14
|
-
}
|
|
15
|
-
export default class DropdownWrapper extends React.Component<Props> {
|
|
16
|
-
render(): jsx.JSX.Element;
|
|
17
|
-
private handleClick;
|
|
18
|
-
}
|