@atlaskit/editor-plugin-find-replace 6.1.5 → 6.1.7
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 +14 -0
- package/dist/cjs/ui/Find.js +2 -4
- package/dist/cjs/ui/Replace.js +4 -4
- package/dist/es2019/ui/Find.js +1 -3
- package/dist/es2019/ui/Replace.js +2 -2
- package/dist/esm/ui/Find.js +1 -3
- package/dist/esm/ui/Replace.js +2 -2
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-find-replace
|
|
2
2
|
|
|
3
|
+
## 6.1.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`90abe9b926a6f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/90abe9b926a6f) -
|
|
8
|
+
Icon entrypoint migration
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 6.1.6
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 6.1.5
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/dist/cjs/ui/Find.js
CHANGED
|
@@ -20,8 +20,7 @@ var _analytics = require("@atlaskit/editor-common/analytics");
|
|
|
20
20
|
var _messages = require("@atlaskit/editor-common/messages");
|
|
21
21
|
var _form = require("@atlaskit/form");
|
|
22
22
|
var _textLetterCase = _interopRequireDefault(require("@atlaskit/icon-lab/core/text-letter-case"));
|
|
23
|
-
var
|
|
24
|
-
var _textStyle = _interopRequireDefault(require("@atlaskit/icon/glyph/editor/text-style"));
|
|
23
|
+
var _textStyle = _interopRequireDefault(require("@atlaskit/icon/core/text-style"));
|
|
25
24
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
26
25
|
var _textfield = _interopRequireDefault(require("@atlaskit/textfield"));
|
|
27
26
|
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
@@ -143,10 +142,9 @@ var Find = /*#__PURE__*/function (_React$Component) {
|
|
|
143
142
|
(0, _defineProperty2.default)(_this, "matchCaseIconEle", function (iconProps) {
|
|
144
143
|
return (0, _expValEquals.expValEquals)('platform_editor_find_and_replace_improvements', 'isEnabled', true) ? (0, _react2.jsx)(_textLetterCase.default, {
|
|
145
144
|
LEGACY_size: 'small',
|
|
146
|
-
LEGACY_fallbackIcon: _textStyle.default,
|
|
147
145
|
label: iconProps.label,
|
|
148
146
|
size: "small"
|
|
149
|
-
}) : (0, _react2.jsx)(
|
|
147
|
+
}) : (0, _react2.jsx)(_textStyle.default, {
|
|
150
148
|
LEGACY_size: 'small',
|
|
151
149
|
label: _this.matchCase
|
|
152
150
|
});
|
package/dist/cjs/ui/Replace.js
CHANGED
|
@@ -13,8 +13,8 @@ var _new = _interopRequireDefault(require("@atlaskit/button/new"));
|
|
|
13
13
|
var _analytics = require("@atlaskit/editor-common/analytics");
|
|
14
14
|
var _messages = require("@atlaskit/editor-common/messages");
|
|
15
15
|
var _form = require("@atlaskit/form");
|
|
16
|
-
var
|
|
17
|
-
var
|
|
16
|
+
var _chevronDown = _interopRequireDefault(require("@atlaskit/icon/core/chevron-down"));
|
|
17
|
+
var _chevronUp = _interopRequireDefault(require("@atlaskit/icon/core/chevron-up"));
|
|
18
18
|
var _primitives = require("@atlaskit/primitives");
|
|
19
19
|
var _textfield = _interopRequireDefault(require("@atlaskit/textfield"));
|
|
20
20
|
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
@@ -231,7 +231,7 @@ var Replace = function Replace(_ref) {
|
|
|
231
231
|
}, /*#__PURE__*/_react.default.createElement(_FindReplaceTooltipButton.FindReplaceTooltipButton, {
|
|
232
232
|
title: formatMessage(_messages.findReplaceMessages.findNext),
|
|
233
233
|
icon: function icon(iconProps) {
|
|
234
|
-
return /*#__PURE__*/_react.default.createElement(
|
|
234
|
+
return /*#__PURE__*/_react.default.createElement(_chevronDown.default, {
|
|
235
235
|
label: iconProps.label,
|
|
236
236
|
size: "small"
|
|
237
237
|
});
|
|
@@ -243,7 +243,7 @@ var Replace = function Replace(_ref) {
|
|
|
243
243
|
}), /*#__PURE__*/_react.default.createElement(_FindReplaceTooltipButton.FindReplaceTooltipButton, {
|
|
244
244
|
title: findPrevious,
|
|
245
245
|
icon: function icon(iconProps) {
|
|
246
|
-
return /*#__PURE__*/_react.default.createElement(
|
|
246
|
+
return /*#__PURE__*/_react.default.createElement(_chevronUp.default, {
|
|
247
247
|
label: iconProps.label,
|
|
248
248
|
size: "small"
|
|
249
249
|
});
|
package/dist/es2019/ui/Find.js
CHANGED
|
@@ -15,8 +15,7 @@ import { TRIGGER_METHOD } from '@atlaskit/editor-common/analytics';
|
|
|
15
15
|
import { findReplaceMessages as messages } from '@atlaskit/editor-common/messages';
|
|
16
16
|
import { Label } from '@atlaskit/form';
|
|
17
17
|
import TextLetterCaseIcon from '@atlaskit/icon-lab/core/text-letter-case';
|
|
18
|
-
import MatchCaseIcon from '@atlaskit/icon/core/
|
|
19
|
-
import EditorTextStyleIcon from '@atlaskit/icon/glyph/editor/text-style';
|
|
18
|
+
import MatchCaseIcon from '@atlaskit/icon/core/text-style';
|
|
20
19
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
21
20
|
import Textfield from '@atlaskit/textfield';
|
|
22
21
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
@@ -131,7 +130,6 @@ class Find extends React.Component {
|
|
|
131
130
|
_defineProperty(this, "matchCaseIconEle", iconProps => {
|
|
132
131
|
return expValEquals('platform_editor_find_and_replace_improvements', 'isEnabled', true) ? jsx(TextLetterCaseIcon, {
|
|
133
132
|
LEGACY_size: 'small',
|
|
134
|
-
LEGACY_fallbackIcon: EditorTextStyleIcon,
|
|
135
133
|
label: iconProps.label,
|
|
136
134
|
size: "small"
|
|
137
135
|
}) : jsx(MatchCaseIcon, {
|
|
@@ -4,8 +4,8 @@ import Button from '@atlaskit/button/new';
|
|
|
4
4
|
import { ACTION, ACTION_SUBJECT, EVENT_TYPE, TRIGGER_METHOD } from '@atlaskit/editor-common/analytics';
|
|
5
5
|
import { findReplaceMessages as messages } from '@atlaskit/editor-common/messages';
|
|
6
6
|
import { ValidMessage } from '@atlaskit/form';
|
|
7
|
-
import ChevronDownIcon from '@atlaskit/icon/core/
|
|
8
|
-
import ChevronUpIcon from '@atlaskit/icon/core/
|
|
7
|
+
import ChevronDownIcon from '@atlaskit/icon/core/chevron-down';
|
|
8
|
+
import ChevronUpIcon from '@atlaskit/icon/core/chevron-up';
|
|
9
9
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
10
10
|
import { Box, Inline, Text, xcss } from '@atlaskit/primitives';
|
|
11
11
|
import Textfield from '@atlaskit/textfield';
|
package/dist/esm/ui/Find.js
CHANGED
|
@@ -22,8 +22,7 @@ import { TRIGGER_METHOD } from '@atlaskit/editor-common/analytics';
|
|
|
22
22
|
import { findReplaceMessages as messages } from '@atlaskit/editor-common/messages';
|
|
23
23
|
import { Label } from '@atlaskit/form';
|
|
24
24
|
import TextLetterCaseIcon from '@atlaskit/icon-lab/core/text-letter-case';
|
|
25
|
-
import MatchCaseIcon from '@atlaskit/icon/core/
|
|
26
|
-
import EditorTextStyleIcon from '@atlaskit/icon/glyph/editor/text-style';
|
|
25
|
+
import MatchCaseIcon from '@atlaskit/icon/core/text-style';
|
|
27
26
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
28
27
|
import Textfield from '@atlaskit/textfield';
|
|
29
28
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
@@ -140,7 +139,6 @@ var Find = /*#__PURE__*/function (_React$Component) {
|
|
|
140
139
|
_defineProperty(_this, "matchCaseIconEle", function (iconProps) {
|
|
141
140
|
return expValEquals('platform_editor_find_and_replace_improvements', 'isEnabled', true) ? jsx(TextLetterCaseIcon, {
|
|
142
141
|
LEGACY_size: 'small',
|
|
143
|
-
LEGACY_fallbackIcon: EditorTextStyleIcon,
|
|
144
142
|
label: iconProps.label,
|
|
145
143
|
size: "small"
|
|
146
144
|
}) : jsx(MatchCaseIcon, {
|
package/dist/esm/ui/Replace.js
CHANGED
|
@@ -5,8 +5,8 @@ import Button from '@atlaskit/button/new';
|
|
|
5
5
|
import { ACTION, ACTION_SUBJECT, EVENT_TYPE, TRIGGER_METHOD } from '@atlaskit/editor-common/analytics';
|
|
6
6
|
import { findReplaceMessages as messages } from '@atlaskit/editor-common/messages';
|
|
7
7
|
import { ValidMessage } from '@atlaskit/form';
|
|
8
|
-
import ChevronDownIcon from '@atlaskit/icon/core/
|
|
9
|
-
import ChevronUpIcon from '@atlaskit/icon/core/
|
|
8
|
+
import ChevronDownIcon from '@atlaskit/icon/core/chevron-down';
|
|
9
|
+
import ChevronUpIcon from '@atlaskit/icon/core/chevron-up';
|
|
10
10
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
11
11
|
import { Box, Inline, Text, xcss } from '@atlaskit/primitives';
|
|
12
12
|
import Textfield from '@atlaskit/textfield';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-find-replace",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.7",
|
|
4
4
|
"description": "find replace plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -28,24 +28,24 @@
|
|
|
28
28
|
],
|
|
29
29
|
"atlaskit:src": "src/index.ts",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@atlaskit/button": "^23.
|
|
31
|
+
"@atlaskit/button": "^23.7.0",
|
|
32
32
|
"@atlaskit/editor-plugin-analytics": "^6.2.0",
|
|
33
33
|
"@atlaskit/editor-plugin-card": "^11.5.0",
|
|
34
34
|
"@atlaskit/editor-plugin-expand": "^7.4.0",
|
|
35
35
|
"@atlaskit/editor-plugin-mentions": "^8.2.0",
|
|
36
36
|
"@atlaskit/editor-plugin-primary-toolbar": "^7.0.0",
|
|
37
|
-
"@atlaskit/editor-prosemirror": "7.
|
|
37
|
+
"@atlaskit/editor-prosemirror": "^7.2.0",
|
|
38
38
|
"@atlaskit/editor-shared-styles": "^3.10.0",
|
|
39
|
-
"@atlaskit/form": "^
|
|
40
|
-
"@atlaskit/icon": "^29.
|
|
39
|
+
"@atlaskit/form": "^15.0.0",
|
|
40
|
+
"@atlaskit/icon": "^29.1.0",
|
|
41
41
|
"@atlaskit/icon-lab": "^5.12.0",
|
|
42
42
|
"@atlaskit/mention": "^24.4.0",
|
|
43
43
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
44
44
|
"@atlaskit/primitives": "^16.4.0",
|
|
45
|
-
"@atlaskit/textfield": "^8.
|
|
45
|
+
"@atlaskit/textfield": "^8.2.0",
|
|
46
46
|
"@atlaskit/theme": "^21.0.0",
|
|
47
|
-
"@atlaskit/tmp-editor-statsig": "^15.
|
|
48
|
-
"@atlaskit/tokens": "^8.
|
|
47
|
+
"@atlaskit/tmp-editor-statsig": "^15.12.0",
|
|
48
|
+
"@atlaskit/tokens": "^8.5.0",
|
|
49
49
|
"@atlaskit/tooltip": "^20.11.0",
|
|
50
50
|
"@babel/runtime": "^7.0.0",
|
|
51
51
|
"@emotion/react": "^11.7.1",
|
|
@@ -54,14 +54,14 @@
|
|
|
54
54
|
"raf-schd": "^4.0.3"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@testing-library/react": "^
|
|
57
|
+
"@testing-library/react": "^16.3.0",
|
|
58
58
|
"@testing-library/user-event": "^14.4.3",
|
|
59
59
|
"mockdate": "^3.0.5",
|
|
60
60
|
"raf-stub": "^2.0.1",
|
|
61
61
|
"react-dom": "^18.2.0"
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|
|
64
|
-
"@atlaskit/editor-common": "^110.
|
|
64
|
+
"@atlaskit/editor-common": "^110.44.0",
|
|
65
65
|
"react": "^18.2.0",
|
|
66
66
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
67
67
|
},
|