@atlaskit/editor-core 151.2.0 → 151.2.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 +6 -0
- package/dist/cjs/plugins/find-replace/ui/Find.js +16 -9
- package/dist/cjs/plugins/find-replace/ui/FindReplace.js +9 -2
- package/dist/cjs/plugins/find-replace/ui/Replace.js +11 -3
- package/dist/cjs/plugins/find-replace/ui/styles.js +44 -35
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/plugins/find-replace/ui/Find.js +18 -10
- package/dist/es2019/plugins/find-replace/ui/FindReplace.js +11 -3
- package/dist/es2019/plugins/find-replace/ui/Replace.js +12 -4
- package/dist/es2019/plugins/find-replace/ui/styles.js +37 -47
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/plugins/find-replace/ui/Find.js +17 -10
- package/dist/esm/plugins/find-replace/ui/FindReplace.js +10 -3
- package/dist/esm/plugins/find-replace/ui/Replace.js +11 -4
- package/dist/esm/plugins/find-replace/ui/styles.js +39 -18
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/plugins/find-replace/ui/Find.d.ts +1 -0
- package/dist/types/plugins/find-replace/ui/FindReplace.d.ts +1 -0
- package/dist/types/plugins/find-replace/ui/Replace.d.ts +1 -0
- package/dist/types/plugins/find-replace/ui/styles.d.ts +5 -14
- package/package.json +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 151.2.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`69fc91803d4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/69fc91803d4) - [ux] Find and replace tooltip now icons are now correctly aligned and does not have a scrollbar showing up.
|
|
8
|
+
|
|
3
9
|
## 151.2.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
|
@@ -23,6 +23,8 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
|
|
|
23
23
|
|
|
24
24
|
var _react = _interopRequireDefault(require("react"));
|
|
25
25
|
|
|
26
|
+
var _core = require("@emotion/core");
|
|
27
|
+
|
|
26
28
|
var _reactIntl = require("react-intl");
|
|
27
29
|
|
|
28
30
|
var _close = _interopRequireDefault(require("@atlaskit/icon/glyph/editor/close"));
|
|
@@ -180,16 +182,16 @@ var Find = /*#__PURE__*/function (_React$Component) {
|
|
|
180
182
|
_this.findNext = formatMessage(messages.findNext);
|
|
181
183
|
_this.findPrevious = formatMessage(messages.findPrevious);
|
|
182
184
|
_this.matchCase = formatMessage(messages.matchCase);
|
|
183
|
-
_this.matchCaseIcon =
|
|
185
|
+
_this.matchCaseIcon = (0, _core.jsx)(_keyboard.default, {
|
|
184
186
|
label: _this.matchCase
|
|
185
187
|
});
|
|
186
|
-
_this.findNextIcon =
|
|
188
|
+
_this.findNextIcon = (0, _core.jsx)(_chevronDown.default, {
|
|
187
189
|
label: _this.findNext
|
|
188
190
|
});
|
|
189
|
-
_this.findPrevIcon =
|
|
191
|
+
_this.findPrevIcon = (0, _core.jsx)(_chevronUp.default, {
|
|
190
192
|
label: _this.findPrevious
|
|
191
193
|
});
|
|
192
|
-
_this.closeIcon =
|
|
194
|
+
_this.closeIcon = (0, _core.jsx)(_close.default, {
|
|
193
195
|
label: _this.closeFindReplaceDialog
|
|
194
196
|
}); // We locally manage the value of the input inside this component in order to support compositions.
|
|
195
197
|
// This requires some additional work inside componentDidUpdate to ensure we support changes that
|
|
@@ -235,7 +237,9 @@ var Find = /*#__PURE__*/function (_React$Component) {
|
|
|
235
237
|
selectedMatchPosition: count.index + 1,
|
|
236
238
|
totalResultsCount: count.total
|
|
237
239
|
});
|
|
238
|
-
return
|
|
240
|
+
return (0, _core.jsx)("div", {
|
|
241
|
+
css: _styles.sectionWrapperStyles
|
|
242
|
+
}, (0, _core.jsx)(_textfield.default, {
|
|
239
243
|
name: "find",
|
|
240
244
|
appearance: "none",
|
|
241
245
|
placeholder: this.find,
|
|
@@ -247,24 +251,27 @@ var Find = /*#__PURE__*/function (_React$Component) {
|
|
|
247
251
|
onBlur: this.props.onFindBlur,
|
|
248
252
|
onCompositionStart: this.handleCompositionStart,
|
|
249
253
|
onCompositionEnd: this.handleCompositionEnd
|
|
250
|
-
}), findText &&
|
|
254
|
+
}), findText && (0, _core.jsx)("span", {
|
|
255
|
+
"data-testid": "textfield-count",
|
|
256
|
+
css: _styles.countStyles
|
|
257
|
+
}, count.total === 0 ? this.noResultsFound : resultsCount), allowMatchCase && (0, _core.jsx)(_FindReplaceTooltipButton.FindReplaceTooltipButton, {
|
|
251
258
|
title: this.matchCase,
|
|
252
259
|
icon: this.matchCaseIcon,
|
|
253
260
|
onClick: this.handleMatchCaseClick,
|
|
254
261
|
isPressed: shouldMatchCase
|
|
255
|
-
}),
|
|
262
|
+
}), (0, _core.jsx)(_FindReplaceTooltipButton.FindReplaceTooltipButton, {
|
|
256
263
|
title: this.findNext,
|
|
257
264
|
icon: this.findNextIcon,
|
|
258
265
|
keymapDescription: 'Enter',
|
|
259
266
|
onClick: this.handleFindNextClick,
|
|
260
267
|
disabled: count.total <= 1
|
|
261
|
-
}),
|
|
268
|
+
}), (0, _core.jsx)(_FindReplaceTooltipButton.FindReplaceTooltipButton, {
|
|
262
269
|
title: this.findPrevious,
|
|
263
270
|
icon: this.findPrevIcon,
|
|
264
271
|
keymapDescription: 'Shift Enter',
|
|
265
272
|
onClick: this.handleFindPrevClick,
|
|
266
273
|
disabled: count.total <= 1
|
|
267
|
-
}),
|
|
274
|
+
}), (0, _core.jsx)(_FindReplaceTooltipButton.FindReplaceTooltipButton, {
|
|
268
275
|
title: this.closeFindReplaceDialog,
|
|
269
276
|
icon: this.closeIcon,
|
|
270
277
|
keymapDescription: 'Escape',
|
|
@@ -23,6 +23,8 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
|
|
|
23
23
|
|
|
24
24
|
var _react = _interopRequireDefault(require("react"));
|
|
25
25
|
|
|
26
|
+
var _core = require("@emotion/core");
|
|
27
|
+
|
|
26
28
|
var _Find = _interopRequireDefault(require("./Find"));
|
|
27
29
|
|
|
28
30
|
var _Replace = _interopRequireDefault(require("./Replace"));
|
|
@@ -88,7 +90,9 @@ var FindReplace = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
88
90
|
allowMatchCase = _this$props.allowMatchCase,
|
|
89
91
|
shouldMatchCase = _this$props.shouldMatchCase,
|
|
90
92
|
onToggleMatchCase = _this$props.onToggleMatchCase;
|
|
91
|
-
return
|
|
93
|
+
return (0, _core.jsx)("div", {
|
|
94
|
+
css: _styles.wrapperStyles
|
|
95
|
+
}, (0, _core.jsx)(_Find.default, {
|
|
92
96
|
allowMatchCase: allowMatchCase,
|
|
93
97
|
shouldMatchCase: shouldMatchCase,
|
|
94
98
|
onToggleMatchCase: onToggleMatchCase,
|
|
@@ -102,7 +106,10 @@ var FindReplace = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
102
106
|
onFindTextfieldRefSet: this.setFindTextfieldRef,
|
|
103
107
|
onCancel: onCancel,
|
|
104
108
|
onArrowDown: this.setFocusToReplace
|
|
105
|
-
}),
|
|
109
|
+
}), (0, _core.jsx)("hr", {
|
|
110
|
+
css: _styles.ruleStyles,
|
|
111
|
+
id: "replace-hr-element"
|
|
112
|
+
}), (0, _core.jsx)(_Replace.default, {
|
|
106
113
|
canReplace: count.total > 0,
|
|
107
114
|
replaceText: replaceText,
|
|
108
115
|
onReplace: onReplace,
|
|
@@ -23,6 +23,10 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
|
|
|
23
23
|
|
|
24
24
|
var _react = _interopRequireDefault(require("react"));
|
|
25
25
|
|
|
26
|
+
var _core = require("@emotion/core");
|
|
27
|
+
|
|
28
|
+
var _standardButton = _interopRequireDefault(require("@atlaskit/button/standard-button"));
|
|
29
|
+
|
|
26
30
|
var _reactIntl = require("react-intl");
|
|
27
31
|
|
|
28
32
|
var _textfield = _interopRequireDefault(require("@atlaskit/textfield"));
|
|
@@ -167,7 +171,9 @@ var Replace = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
167
171
|
value: function render() {
|
|
168
172
|
var replaceText = this.state.replaceText;
|
|
169
173
|
var canReplace = this.props.canReplace;
|
|
170
|
-
return
|
|
174
|
+
return (0, _core.jsx)("div", {
|
|
175
|
+
css: _styles.sectionWrapperStyles
|
|
176
|
+
}, (0, _core.jsx)(_textfield.default, {
|
|
171
177
|
name: "replace",
|
|
172
178
|
appearance: "none",
|
|
173
179
|
placeholder: this.replaceWith,
|
|
@@ -178,11 +184,13 @@ var Replace = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
178
184
|
onKeyDown: this.handleReplaceKeyDown,
|
|
179
185
|
onCompositionStart: this.handleCompositionStart,
|
|
180
186
|
onCompositionEnd: this.handleCompositionEnd
|
|
181
|
-
}),
|
|
187
|
+
}), (0, _core.jsx)(_standardButton.default, {
|
|
188
|
+
css: _styles.replaceSectionButtonStyles,
|
|
182
189
|
testId: this.replace,
|
|
183
190
|
onClick: this.handleReplaceClick,
|
|
184
191
|
isDisabled: !canReplace
|
|
185
|
-
}, this.replace),
|
|
192
|
+
}, this.replace), (0, _core.jsx)(_standardButton.default, {
|
|
193
|
+
css: _styles.replaceSectionButtonStyles,
|
|
186
194
|
testId: this.replaceAll,
|
|
187
195
|
onClick: this.handleReplaceAllClick,
|
|
188
196
|
isDisabled: !canReplace
|
|
@@ -1,46 +1,55 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
3
|
Object.defineProperty(exports, "__esModule", {
|
|
6
4
|
value: true
|
|
7
5
|
});
|
|
8
|
-
exports.
|
|
9
|
-
|
|
10
|
-
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
|
|
11
|
-
|
|
12
|
-
var _react = _interopRequireDefault(require("react"));
|
|
6
|
+
exports.countStyles = exports.sectionWrapperStyles = exports.wrapperStyles = exports.ruleStyles = exports.replaceSectionButtonStyles = void 0;
|
|
13
7
|
|
|
14
|
-
var
|
|
8
|
+
var _core = require("@emotion/core");
|
|
15
9
|
|
|
16
10
|
var _colors = require("@atlaskit/theme/colors");
|
|
17
11
|
|
|
18
|
-
var _standardButton = _interopRequireDefault(require("@atlaskit/button/standard-button"));
|
|
19
|
-
|
|
20
12
|
var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
|
|
21
13
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
var
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
var
|
|
45
|
-
|
|
46
|
-
|
|
14
|
+
/** @jsx jsx */
|
|
15
|
+
var replaceSectionButtonStyles = (0, _core.css)({
|
|
16
|
+
marginLeft: '4px'
|
|
17
|
+
});
|
|
18
|
+
exports.replaceSectionButtonStyles = replaceSectionButtonStyles;
|
|
19
|
+
var ruleStyles = (0, _core.css)({
|
|
20
|
+
width: '100%',
|
|
21
|
+
border: 'none',
|
|
22
|
+
backgroundColor: "".concat(_colors.N30A),
|
|
23
|
+
margin: '4px 0px',
|
|
24
|
+
height: '1px',
|
|
25
|
+
borderRadius: '1px'
|
|
26
|
+
});
|
|
27
|
+
exports.ruleStyles = ruleStyles;
|
|
28
|
+
var wrapperStyles = (0, _core.css)({
|
|
29
|
+
display: 'flex',
|
|
30
|
+
flexDirection: 'column',
|
|
31
|
+
'> *:not(#replace-hr-element)': {
|
|
32
|
+
margin: '0px 4px'
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
exports.wrapperStyles = wrapperStyles;
|
|
36
|
+
var sectionWrapperStyles = (0, _core.css)({
|
|
37
|
+
display: 'flex',
|
|
38
|
+
alignItems: 'column',
|
|
39
|
+
'> *': {
|
|
40
|
+
display: 'inline-flex',
|
|
41
|
+
height: '32px',
|
|
42
|
+
flex: '0 0 auto'
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
exports.sectionWrapperStyles = sectionWrapperStyles;
|
|
46
|
+
var countStyles = (0, _core.css)({
|
|
47
|
+
color: "".concat(_colors.N60),
|
|
48
|
+
fontSize: "".concat((0, _editorSharedStyles.relativeFontSizeToBase16)(12)),
|
|
49
|
+
flex: '0 0 auto',
|
|
50
|
+
justifyContent: 'center',
|
|
51
|
+
alignItems: 'center',
|
|
52
|
+
marginLeft: '4px',
|
|
53
|
+
marginRight: '8px'
|
|
54
|
+
});
|
|
55
|
+
exports.countStyles = countStyles;
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.nextMajorVersion = exports.version = exports.name = void 0;
|
|
7
7
|
var name = "@atlaskit/editor-core";
|
|
8
8
|
exports.name = name;
|
|
9
|
-
var version = "151.2.
|
|
9
|
+
var version = "151.2.1";
|
|
10
10
|
exports.version = version;
|
|
11
11
|
|
|
12
12
|
var nextMajorVersion = function nextMajorVersion() {
|
package/dist/cjs/version.json
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
|
+
|
|
3
|
+
/** @jsx jsx */
|
|
2
4
|
import React from 'react';
|
|
5
|
+
import { jsx } from '@emotion/core';
|
|
3
6
|
import { defineMessages, injectIntl } from 'react-intl';
|
|
4
7
|
import EditorCloseIcon from '@atlaskit/icon/glyph/editor/close';
|
|
5
8
|
import ChevronDownIcon from '@atlaskit/icon/glyph/hipchat/chevron-down';
|
|
6
9
|
import ChevronUpIcon from '@atlaskit/icon/glyph/hipchat/chevron-up';
|
|
7
10
|
import MatchCaseIcon from '@atlaskit/icon/glyph/emoji/keyboard';
|
|
8
11
|
import Textfield from '@atlaskit/textfield';
|
|
9
|
-
import {
|
|
12
|
+
import { countStyles, sectionWrapperStyles } from './styles';
|
|
10
13
|
import { TRIGGER_METHOD } from '../../analytics/types';
|
|
11
14
|
import { FindReplaceTooltipButton } from './FindReplaceTooltipButton';
|
|
12
15
|
const messages = defineMessages({
|
|
@@ -147,16 +150,16 @@ class Find extends React.Component {
|
|
|
147
150
|
this.findNext = formatMessage(messages.findNext);
|
|
148
151
|
this.findPrevious = formatMessage(messages.findPrevious);
|
|
149
152
|
this.matchCase = formatMessage(messages.matchCase);
|
|
150
|
-
this.matchCaseIcon =
|
|
153
|
+
this.matchCaseIcon = jsx(MatchCaseIcon, {
|
|
151
154
|
label: this.matchCase
|
|
152
155
|
});
|
|
153
|
-
this.findNextIcon =
|
|
156
|
+
this.findNextIcon = jsx(ChevronDownIcon, {
|
|
154
157
|
label: this.findNext
|
|
155
158
|
});
|
|
156
|
-
this.findPrevIcon =
|
|
159
|
+
this.findPrevIcon = jsx(ChevronUpIcon, {
|
|
157
160
|
label: this.findPrevious
|
|
158
161
|
});
|
|
159
|
-
this.closeIcon =
|
|
162
|
+
this.closeIcon = jsx(EditorCloseIcon, {
|
|
160
163
|
label: this.closeFindReplaceDialog
|
|
161
164
|
}); // We locally manage the value of the input inside this component in order to support compositions.
|
|
162
165
|
// This requires some additional work inside componentDidUpdate to ensure we support changes that
|
|
@@ -200,7 +203,9 @@ class Find extends React.Component {
|
|
|
200
203
|
selectedMatchPosition: count.index + 1,
|
|
201
204
|
totalResultsCount: count.total
|
|
202
205
|
});
|
|
203
|
-
return
|
|
206
|
+
return jsx("div", {
|
|
207
|
+
css: sectionWrapperStyles
|
|
208
|
+
}, jsx(Textfield, {
|
|
204
209
|
name: "find",
|
|
205
210
|
appearance: "none",
|
|
206
211
|
placeholder: this.find,
|
|
@@ -212,24 +217,27 @@ class Find extends React.Component {
|
|
|
212
217
|
onBlur: this.props.onFindBlur,
|
|
213
218
|
onCompositionStart: this.handleCompositionStart,
|
|
214
219
|
onCompositionEnd: this.handleCompositionEnd
|
|
215
|
-
}), findText &&
|
|
220
|
+
}), findText && jsx("span", {
|
|
221
|
+
"data-testid": "textfield-count",
|
|
222
|
+
css: countStyles
|
|
223
|
+
}, count.total === 0 ? this.noResultsFound : resultsCount), allowMatchCase && jsx(FindReplaceTooltipButton, {
|
|
216
224
|
title: this.matchCase,
|
|
217
225
|
icon: this.matchCaseIcon,
|
|
218
226
|
onClick: this.handleMatchCaseClick,
|
|
219
227
|
isPressed: shouldMatchCase
|
|
220
|
-
}),
|
|
228
|
+
}), jsx(FindReplaceTooltipButton, {
|
|
221
229
|
title: this.findNext,
|
|
222
230
|
icon: this.findNextIcon,
|
|
223
231
|
keymapDescription: 'Enter',
|
|
224
232
|
onClick: this.handleFindNextClick,
|
|
225
233
|
disabled: count.total <= 1
|
|
226
|
-
}),
|
|
234
|
+
}), jsx(FindReplaceTooltipButton, {
|
|
227
235
|
title: this.findPrevious,
|
|
228
236
|
icon: this.findPrevIcon,
|
|
229
237
|
keymapDescription: 'Shift Enter',
|
|
230
238
|
onClick: this.handleFindPrevClick,
|
|
231
239
|
disabled: count.total <= 1
|
|
232
|
-
}),
|
|
240
|
+
}), jsx(FindReplaceTooltipButton, {
|
|
233
241
|
title: this.closeFindReplaceDialog,
|
|
234
242
|
icon: this.closeIcon,
|
|
235
243
|
keymapDescription: 'Escape',
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
|
+
|
|
3
|
+
/** @jsx jsx */
|
|
2
4
|
import React from 'react';
|
|
5
|
+
import { jsx } from '@emotion/core';
|
|
3
6
|
import Find from './Find';
|
|
4
7
|
import Replace from './Replace';
|
|
5
|
-
import {
|
|
8
|
+
import { ruleStyles, wrapperStyles } from './styles';
|
|
6
9
|
|
|
7
10
|
class FindReplace extends React.PureComponent {
|
|
8
11
|
constructor(...args) {
|
|
@@ -51,7 +54,9 @@ class FindReplace extends React.PureComponent {
|
|
|
51
54
|
shouldMatchCase,
|
|
52
55
|
onToggleMatchCase
|
|
53
56
|
} = this.props;
|
|
54
|
-
return
|
|
57
|
+
return jsx("div", {
|
|
58
|
+
css: wrapperStyles
|
|
59
|
+
}, jsx(Find, {
|
|
55
60
|
allowMatchCase: allowMatchCase,
|
|
56
61
|
shouldMatchCase: shouldMatchCase,
|
|
57
62
|
onToggleMatchCase: onToggleMatchCase,
|
|
@@ -65,7 +70,10 @@ class FindReplace extends React.PureComponent {
|
|
|
65
70
|
onFindTextfieldRefSet: this.setFindTextfieldRef,
|
|
66
71
|
onCancel: onCancel,
|
|
67
72
|
onArrowDown: this.setFocusToReplace
|
|
68
|
-
}),
|
|
73
|
+
}), jsx("hr", {
|
|
74
|
+
css: ruleStyles,
|
|
75
|
+
id: "replace-hr-element"
|
|
76
|
+
}), jsx(Replace, {
|
|
69
77
|
canReplace: count.total > 0,
|
|
70
78
|
replaceText: replaceText,
|
|
71
79
|
onReplace: onReplace,
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
|
+
|
|
3
|
+
/** @jsx jsx */
|
|
2
4
|
import React from 'react';
|
|
5
|
+
import { jsx } from '@emotion/core';
|
|
6
|
+
import Button from '@atlaskit/button/standard-button';
|
|
3
7
|
import { defineMessages, injectIntl } from 'react-intl';
|
|
4
8
|
import Textfield from '@atlaskit/textfield';
|
|
5
|
-
import {
|
|
9
|
+
import { sectionWrapperStyles, replaceSectionButtonStyles } from './styles';
|
|
6
10
|
import { EVENT_TYPE, ACTION, ACTION_SUBJECT, TRIGGER_METHOD } from '../../analytics/types';
|
|
7
11
|
const messages = defineMessages({
|
|
8
12
|
replaceWith: {
|
|
@@ -138,7 +142,9 @@ class Replace extends React.PureComponent {
|
|
|
138
142
|
const {
|
|
139
143
|
canReplace
|
|
140
144
|
} = this.props;
|
|
141
|
-
return
|
|
145
|
+
return jsx("div", {
|
|
146
|
+
css: sectionWrapperStyles
|
|
147
|
+
}, jsx(Textfield, {
|
|
142
148
|
name: "replace",
|
|
143
149
|
appearance: "none",
|
|
144
150
|
placeholder: this.replaceWith,
|
|
@@ -149,11 +155,13 @@ class Replace extends React.PureComponent {
|
|
|
149
155
|
onKeyDown: this.handleReplaceKeyDown,
|
|
150
156
|
onCompositionStart: this.handleCompositionStart,
|
|
151
157
|
onCompositionEnd: this.handleCompositionEnd
|
|
152
|
-
}),
|
|
158
|
+
}), jsx(Button, {
|
|
159
|
+
css: replaceSectionButtonStyles,
|
|
153
160
|
testId: this.replace,
|
|
154
161
|
onClick: this.handleReplaceClick,
|
|
155
162
|
isDisabled: !canReplace
|
|
156
|
-
}, this.replace),
|
|
163
|
+
}, this.replace), jsx(Button, {
|
|
164
|
+
css: replaceSectionButtonStyles,
|
|
157
165
|
testId: this.replaceAll,
|
|
158
166
|
onClick: this.handleReplaceAllClick,
|
|
159
167
|
isDisabled: !canReplace
|
|
@@ -1,50 +1,40 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
1
|
+
/** @jsx jsx */
|
|
2
|
+
import { css } from '@emotion/core';
|
|
3
3
|
import { N60, N30A } from '@atlaskit/theme/colors';
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
4
|
+
import { relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles';
|
|
5
|
+
export const replaceSectionButtonStyles = css({
|
|
6
|
+
marginLeft: '4px'
|
|
7
|
+
});
|
|
8
|
+
export const ruleStyles = css({
|
|
9
|
+
width: '100%',
|
|
10
|
+
border: 'none',
|
|
11
|
+
backgroundColor: `${N30A}`,
|
|
12
|
+
margin: '4px 0px',
|
|
13
|
+
height: '1px',
|
|
14
|
+
borderRadius: '1px'
|
|
15
|
+
});
|
|
16
|
+
export const wrapperStyles = css({
|
|
17
|
+
display: 'flex',
|
|
18
|
+
flexDirection: 'column',
|
|
19
|
+
'> *:not(#replace-hr-element)': {
|
|
20
|
+
margin: '0px 4px'
|
|
15
21
|
}
|
|
16
|
-
|
|
17
|
-
export const
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
`;
|
|
25
|
-
export const Wrapper = styled.div`
|
|
26
|
-
display: flex;
|
|
27
|
-
flex-direction: column;
|
|
28
|
-
> *:not(${Rule}) {
|
|
29
|
-
margin: 0px 4px;
|
|
22
|
+
});
|
|
23
|
+
export const sectionWrapperStyles = css({
|
|
24
|
+
display: 'flex',
|
|
25
|
+
alignItems: 'column',
|
|
26
|
+
'> *': {
|
|
27
|
+
display: 'inline-flex',
|
|
28
|
+
height: '32px',
|
|
29
|
+
flex: '0 0 auto'
|
|
30
30
|
}
|
|
31
|
-
|
|
32
|
-
export const
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
`;
|
|
42
|
-
export const Count = styled.span`
|
|
43
|
-
color: ${N60};
|
|
44
|
-
font-size: ${relativeFontSizeToBase16(12)};
|
|
45
|
-
flex: 0 0 auto;
|
|
46
|
-
justify-content: center;
|
|
47
|
-
align-items: center;
|
|
48
|
-
margin-left: 4px;
|
|
49
|
-
margin-right: 8px;
|
|
50
|
-
`;
|
|
31
|
+
});
|
|
32
|
+
export const countStyles = css({
|
|
33
|
+
color: `${N60}`,
|
|
34
|
+
fontSize: `${relativeFontSizeToBase16(12)}`,
|
|
35
|
+
flex: '0 0 auto',
|
|
36
|
+
justifyContent: 'center',
|
|
37
|
+
alignItems: 'center',
|
|
38
|
+
marginLeft: '4px',
|
|
39
|
+
marginRight: '8px'
|
|
40
|
+
});
|
package/dist/es2019/version.json
CHANGED
|
@@ -10,14 +10,16 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
|
|
|
10
10
|
|
|
11
11
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
12
12
|
|
|
13
|
+
/** @jsx jsx */
|
|
13
14
|
import React from 'react';
|
|
15
|
+
import { jsx } from '@emotion/core';
|
|
14
16
|
import { defineMessages, injectIntl } from 'react-intl';
|
|
15
17
|
import EditorCloseIcon from '@atlaskit/icon/glyph/editor/close';
|
|
16
18
|
import ChevronDownIcon from '@atlaskit/icon/glyph/hipchat/chevron-down';
|
|
17
19
|
import ChevronUpIcon from '@atlaskit/icon/glyph/hipchat/chevron-up';
|
|
18
20
|
import MatchCaseIcon from '@atlaskit/icon/glyph/emoji/keyboard';
|
|
19
21
|
import Textfield from '@atlaskit/textfield';
|
|
20
|
-
import {
|
|
22
|
+
import { countStyles, sectionWrapperStyles } from './styles';
|
|
21
23
|
import { TRIGGER_METHOD } from '../../analytics/types';
|
|
22
24
|
import { FindReplaceTooltipButton } from './FindReplaceTooltipButton';
|
|
23
25
|
var messages = defineMessages({
|
|
@@ -170,16 +172,16 @@ var Find = /*#__PURE__*/function (_React$Component) {
|
|
|
170
172
|
_this.findNext = formatMessage(messages.findNext);
|
|
171
173
|
_this.findPrevious = formatMessage(messages.findPrevious);
|
|
172
174
|
_this.matchCase = formatMessage(messages.matchCase);
|
|
173
|
-
_this.matchCaseIcon =
|
|
175
|
+
_this.matchCaseIcon = jsx(MatchCaseIcon, {
|
|
174
176
|
label: _this.matchCase
|
|
175
177
|
});
|
|
176
|
-
_this.findNextIcon =
|
|
178
|
+
_this.findNextIcon = jsx(ChevronDownIcon, {
|
|
177
179
|
label: _this.findNext
|
|
178
180
|
});
|
|
179
|
-
_this.findPrevIcon =
|
|
181
|
+
_this.findPrevIcon = jsx(ChevronUpIcon, {
|
|
180
182
|
label: _this.findPrevious
|
|
181
183
|
});
|
|
182
|
-
_this.closeIcon =
|
|
184
|
+
_this.closeIcon = jsx(EditorCloseIcon, {
|
|
183
185
|
label: _this.closeFindReplaceDialog
|
|
184
186
|
}); // We locally manage the value of the input inside this component in order to support compositions.
|
|
185
187
|
// This requires some additional work inside componentDidUpdate to ensure we support changes that
|
|
@@ -225,7 +227,9 @@ var Find = /*#__PURE__*/function (_React$Component) {
|
|
|
225
227
|
selectedMatchPosition: count.index + 1,
|
|
226
228
|
totalResultsCount: count.total
|
|
227
229
|
});
|
|
228
|
-
return
|
|
230
|
+
return jsx("div", {
|
|
231
|
+
css: sectionWrapperStyles
|
|
232
|
+
}, jsx(Textfield, {
|
|
229
233
|
name: "find",
|
|
230
234
|
appearance: "none",
|
|
231
235
|
placeholder: this.find,
|
|
@@ -237,24 +241,27 @@ var Find = /*#__PURE__*/function (_React$Component) {
|
|
|
237
241
|
onBlur: this.props.onFindBlur,
|
|
238
242
|
onCompositionStart: this.handleCompositionStart,
|
|
239
243
|
onCompositionEnd: this.handleCompositionEnd
|
|
240
|
-
}), findText &&
|
|
244
|
+
}), findText && jsx("span", {
|
|
245
|
+
"data-testid": "textfield-count",
|
|
246
|
+
css: countStyles
|
|
247
|
+
}, count.total === 0 ? this.noResultsFound : resultsCount), allowMatchCase && jsx(FindReplaceTooltipButton, {
|
|
241
248
|
title: this.matchCase,
|
|
242
249
|
icon: this.matchCaseIcon,
|
|
243
250
|
onClick: this.handleMatchCaseClick,
|
|
244
251
|
isPressed: shouldMatchCase
|
|
245
|
-
}),
|
|
252
|
+
}), jsx(FindReplaceTooltipButton, {
|
|
246
253
|
title: this.findNext,
|
|
247
254
|
icon: this.findNextIcon,
|
|
248
255
|
keymapDescription: 'Enter',
|
|
249
256
|
onClick: this.handleFindNextClick,
|
|
250
257
|
disabled: count.total <= 1
|
|
251
|
-
}),
|
|
258
|
+
}), jsx(FindReplaceTooltipButton, {
|
|
252
259
|
title: this.findPrevious,
|
|
253
260
|
icon: this.findPrevIcon,
|
|
254
261
|
keymapDescription: 'Shift Enter',
|
|
255
262
|
onClick: this.handleFindPrevClick,
|
|
256
263
|
disabled: count.total <= 1
|
|
257
|
-
}),
|
|
264
|
+
}), jsx(FindReplaceTooltipButton, {
|
|
258
265
|
title: this.closeFindReplaceDialog,
|
|
259
266
|
icon: this.closeIcon,
|
|
260
267
|
keymapDescription: 'Escape',
|
|
@@ -10,10 +10,12 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
|
|
|
10
10
|
|
|
11
11
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
12
12
|
|
|
13
|
+
/** @jsx jsx */
|
|
13
14
|
import React from 'react';
|
|
15
|
+
import { jsx } from '@emotion/core';
|
|
14
16
|
import Find from './Find';
|
|
15
17
|
import Replace from './Replace';
|
|
16
|
-
import {
|
|
18
|
+
import { ruleStyles, wrapperStyles } from './styles';
|
|
17
19
|
|
|
18
20
|
var FindReplace = /*#__PURE__*/function (_React$PureComponent) {
|
|
19
21
|
_inherits(FindReplace, _React$PureComponent);
|
|
@@ -77,7 +79,9 @@ var FindReplace = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
77
79
|
allowMatchCase = _this$props.allowMatchCase,
|
|
78
80
|
shouldMatchCase = _this$props.shouldMatchCase,
|
|
79
81
|
onToggleMatchCase = _this$props.onToggleMatchCase;
|
|
80
|
-
return
|
|
82
|
+
return jsx("div", {
|
|
83
|
+
css: wrapperStyles
|
|
84
|
+
}, jsx(Find, {
|
|
81
85
|
allowMatchCase: allowMatchCase,
|
|
82
86
|
shouldMatchCase: shouldMatchCase,
|
|
83
87
|
onToggleMatchCase: onToggleMatchCase,
|
|
@@ -91,7 +95,10 @@ var FindReplace = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
91
95
|
onFindTextfieldRefSet: this.setFindTextfieldRef,
|
|
92
96
|
onCancel: onCancel,
|
|
93
97
|
onArrowDown: this.setFocusToReplace
|
|
94
|
-
}),
|
|
98
|
+
}), jsx("hr", {
|
|
99
|
+
css: ruleStyles,
|
|
100
|
+
id: "replace-hr-element"
|
|
101
|
+
}), jsx(Replace, {
|
|
95
102
|
canReplace: count.total > 0,
|
|
96
103
|
replaceText: replaceText,
|
|
97
104
|
onReplace: onReplace,
|
|
@@ -10,10 +10,13 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
|
|
|
10
10
|
|
|
11
11
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
12
12
|
|
|
13
|
+
/** @jsx jsx */
|
|
13
14
|
import React from 'react';
|
|
15
|
+
import { jsx } from '@emotion/core';
|
|
16
|
+
import Button from '@atlaskit/button/standard-button';
|
|
14
17
|
import { defineMessages, injectIntl } from 'react-intl';
|
|
15
18
|
import Textfield from '@atlaskit/textfield';
|
|
16
|
-
import {
|
|
19
|
+
import { sectionWrapperStyles, replaceSectionButtonStyles } from './styles';
|
|
17
20
|
import { EVENT_TYPE, ACTION, ACTION_SUBJECT, TRIGGER_METHOD } from '../../analytics/types';
|
|
18
21
|
var messages = defineMessages({
|
|
19
22
|
replaceWith: {
|
|
@@ -158,7 +161,9 @@ var Replace = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
158
161
|
value: function render() {
|
|
159
162
|
var replaceText = this.state.replaceText;
|
|
160
163
|
var canReplace = this.props.canReplace;
|
|
161
|
-
return
|
|
164
|
+
return jsx("div", {
|
|
165
|
+
css: sectionWrapperStyles
|
|
166
|
+
}, jsx(Textfield, {
|
|
162
167
|
name: "replace",
|
|
163
168
|
appearance: "none",
|
|
164
169
|
placeholder: this.replaceWith,
|
|
@@ -169,11 +174,13 @@ var Replace = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
169
174
|
onKeyDown: this.handleReplaceKeyDown,
|
|
170
175
|
onCompositionStart: this.handleCompositionStart,
|
|
171
176
|
onCompositionEnd: this.handleCompositionEnd
|
|
172
|
-
}),
|
|
177
|
+
}), jsx(Button, {
|
|
178
|
+
css: replaceSectionButtonStyles,
|
|
173
179
|
testId: this.replace,
|
|
174
180
|
onClick: this.handleReplaceClick,
|
|
175
181
|
isDisabled: !canReplace
|
|
176
|
-
}, this.replace),
|
|
182
|
+
}, this.replace), jsx(Button, {
|
|
183
|
+
css: replaceSectionButtonStyles,
|
|
177
184
|
testId: this.replaceAll,
|
|
178
185
|
onClick: this.handleReplaceAllClick,
|
|
179
186
|
isDisabled: !canReplace
|
|
@@ -1,19 +1,40 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5;
|
|
4
|
-
|
|
5
|
-
import React from 'react';
|
|
6
|
-
import styled from 'styled-components';
|
|
1
|
+
/** @jsx jsx */
|
|
2
|
+
import { css } from '@emotion/core';
|
|
7
3
|
import { N60, N30A } from '@atlaskit/theme/colors';
|
|
8
|
-
import
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
4
|
+
import { relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles';
|
|
5
|
+
export var replaceSectionButtonStyles = css({
|
|
6
|
+
marginLeft: '4px'
|
|
7
|
+
});
|
|
8
|
+
export var ruleStyles = css({
|
|
9
|
+
width: '100%',
|
|
10
|
+
border: 'none',
|
|
11
|
+
backgroundColor: "".concat(N30A),
|
|
12
|
+
margin: '4px 0px',
|
|
13
|
+
height: '1px',
|
|
14
|
+
borderRadius: '1px'
|
|
15
|
+
});
|
|
16
|
+
export var wrapperStyles = css({
|
|
17
|
+
display: 'flex',
|
|
18
|
+
flexDirection: 'column',
|
|
19
|
+
'> *:not(#replace-hr-element)': {
|
|
20
|
+
margin: '0px 4px'
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
export var sectionWrapperStyles = css({
|
|
24
|
+
display: 'flex',
|
|
25
|
+
alignItems: 'column',
|
|
26
|
+
'> *': {
|
|
27
|
+
display: 'inline-flex',
|
|
28
|
+
height: '32px',
|
|
29
|
+
flex: '0 0 auto'
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
export var countStyles = css({
|
|
33
|
+
color: "".concat(N60),
|
|
34
|
+
fontSize: "".concat(relativeFontSizeToBase16(12)),
|
|
35
|
+
flex: '0 0 auto',
|
|
36
|
+
justifyContent: 'center',
|
|
37
|
+
alignItems: 'center',
|
|
38
|
+
marginLeft: '4px',
|
|
39
|
+
marginRight: '8px'
|
|
40
|
+
});
|
package/dist/esm/version.json
CHANGED
|
@@ -1,14 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const ReplaceSectionButton: import("styled-components").StyledComponentClass<Pick<Pick<Pick<React.AllHTMLAttributes<HTMLElement>, "cite" | "data" | "dir" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "default" | "mediaGroup" | "media" | "content" | "children" | "pattern" | "value" | "open" | "width" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "inputMode" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "list" | "step" | "alt" | "crossOrigin" | "height" | "sizes" | "src" | "srcSet" | "useMap" | "async" | "nonce" | "autoFocus" | "name" | "type" | "action" | "target" | "start" | "selected" | "href" | "accept" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "as" | "autoComplete" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "high" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "method" | "min" | "minLength" | "multiple" | "muted" | "noValidate" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "shape" | "size" | "srcDoc" | "srcLang" | "wmode" | "wrap">, "cite" | "data" | "dir" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "default" | "mediaGroup" | "media" | "content" | "children" | "pattern" | "value" | "open" | "width" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "inputMode" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "list" | "step" | "alt" | "crossOrigin" | "height" | "sizes" | "src" | "srcSet" | "useMap" | "async" | "nonce" | "autoFocus" | "name" | "type" | "action" | "target" | "start" | "selected" | "href" | "accept" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "as" | "autoComplete" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "high" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "method" | "min" | "minLength" | "multiple" | "muted" | "noValidate" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "shape" | "size" | "srcDoc" | "srcLang" | "wmode" | "wrap"> & {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}, "cite" | "data" | "dir" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "default" | "mediaGroup" | "media" | "content" | "pattern" | "value" | "open" | "width" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "inputMode" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "list" | "step" | "alt" | "crossOrigin" | "height" | "sizes" | "src" | "srcSet" | "useMap" | "async" | "nonce" | "name" | "action" | "start" | "selected" | "accept" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "as" | "autoComplete" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "high" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "method" | "min" | "minLength" | "multiple" | "muted" | "noValidate" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "shape" | "size" | "srcDoc" | "srcLang" | "wmode" | "wrap" | "data-testid" | "data-has-overlay"> & import("@atlaskit/button").BaseOwnProps, any, Pick<Pick<Pick<Pick<React.AllHTMLAttributes<HTMLElement>, "cite" | "data" | "dir" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "default" | "mediaGroup" | "media" | "content" | "children" | "pattern" | "value" | "open" | "width" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "inputMode" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "list" | "step" | "alt" | "crossOrigin" | "height" | "sizes" | "src" | "srcSet" | "useMap" | "async" | "nonce" | "autoFocus" | "name" | "type" | "action" | "target" | "start" | "selected" | "href" | "accept" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "as" | "autoComplete" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "high" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "method" | "min" | "minLength" | "multiple" | "muted" | "noValidate" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "shape" | "size" | "srcDoc" | "srcLang" | "wmode" | "wrap">, "cite" | "data" | "dir" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "default" | "mediaGroup" | "media" | "content" | "children" | "pattern" | "value" | "open" | "width" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "inputMode" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "list" | "step" | "alt" | "crossOrigin" | "height" | "sizes" | "src" | "srcSet" | "useMap" | "async" | "nonce" | "autoFocus" | "name" | "type" | "action" | "target" | "start" | "selected" | "href" | "accept" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "as" | "autoComplete" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "high" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "method" | "min" | "minLength" | "multiple" | "muted" | "noValidate" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "shape" | "size" | "srcDoc" | "srcLang" | "wmode" | "wrap"> & {
|
|
6
|
-
'data-testid'?: undefined;
|
|
7
|
-
'data-has-overlay'?: undefined;
|
|
8
|
-
}, "cite" | "data" | "dir" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "default" | "mediaGroup" | "media" | "content" | "pattern" | "value" | "open" | "width" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "inputMode" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "list" | "step" | "alt" | "crossOrigin" | "height" | "sizes" | "src" | "srcSet" | "useMap" | "async" | "nonce" | "name" | "action" | "start" | "selected" | "accept" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "as" | "autoComplete" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "high" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "method" | "min" | "minLength" | "multiple" | "muted" | "noValidate" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "shape" | "size" | "srcDoc" | "srcLang" | "wmode" | "wrap" | "data-testid" | "data-has-overlay"> & import("@atlaskit/button").BaseOwnProps, "cite" | "data" | "dir" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "default" | "mediaGroup" | "media" | "content" | "children" | "pattern" | "value" | "open" | "width" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "inputMode" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "list" | "step" | "alt" | "crossOrigin" | "height" | "sizes" | "src" | "srcSet" | "useMap" | "async" | "nonce" | "appearance" | "isDisabled" | "autoFocus" | "name" | "type" | "action" | "target" | "start" | "iconAfter" | "selected" | "href" | "testId" | "accept" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "as" | "autoComplete" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "high" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "method" | "min" | "minLength" | "multiple" | "muted" | "noValidate" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "shape" | "size" | "srcDoc" | "srcLang" | "wmode" | "wrap" | "data-testid" | "data-has-overlay" | "iconBefore" | "isSelected" | "spacing" | "shouldFitContainer" | "component" | "analyticsContext" | "overlay"> & {
|
|
9
|
-
theme?: any;
|
|
10
|
-
}>;
|
|
11
|
-
export declare const Rule: import("styled-components").StyledComponentClass<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHRElement>, HTMLHRElement>, any, React.DetailedHTMLProps<React.HTMLAttributes<HTMLHRElement>, HTMLHRElement>>;
|
|
12
|
-
export declare const Wrapper: import("styled-components").StyledComponentClass<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, any, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>>;
|
|
13
|
-
export declare const SectionWrapper: import("styled-components").StyledComponentClass<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, any, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>>;
|
|
14
|
-
export declare const Count: import("styled-components").StyledComponentClass<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, any, React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>>;
|
|
1
|
+
export declare const replaceSectionButtonStyles: import("@emotion/core").SerializedStyles;
|
|
2
|
+
export declare const ruleStyles: import("@emotion/core").SerializedStyles;
|
|
3
|
+
export declare const wrapperStyles: import("@emotion/core").SerializedStyles;
|
|
4
|
+
export declare const sectionWrapperStyles: import("@emotion/core").SerializedStyles;
|
|
5
|
+
export declare const countStyles: import("@emotion/core").SerializedStyles;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "151.2.
|
|
3
|
+
"version": "151.2.1",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -82,6 +82,7 @@
|
|
|
82
82
|
"@atlaskit/util-service-support": "^6.0.0",
|
|
83
83
|
"@atlaskit/width-detector": "^3.0.0",
|
|
84
84
|
"@babel/runtime": "^7.0.0",
|
|
85
|
+
"@emotion/core": "^10.0.9",
|
|
85
86
|
"@types/prosemirror-collab": "^1.1.1",
|
|
86
87
|
"@types/prosemirror-commands": "^1.0.1",
|
|
87
88
|
"@types/prosemirror-history": "^1.0.1",
|