@atlaskit/editor-plugin-find-replace 6.1.6 → 6.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +19 -0
- package/dist/cjs/ui/Find.js +2 -6
- package/dist/cjs/ui/Replace.js +4 -4
- package/dist/es2019/ui/Find.js +1 -5
- package/dist/es2019/ui/Replace.js +2 -2
- package/dist/esm/ui/Find.js +1 -5
- package/dist/esm/ui/Replace.js +2 -2
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-find-replace
|
|
2
2
|
|
|
3
|
+
## 6.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`762b79e21f96a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/762b79e21f96a) -
|
|
8
|
+
Migrated and cleaned up legacy iconography usage.
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
|
|
14
|
+
## 6.1.7
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- [`90abe9b926a6f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/90abe9b926a6f) -
|
|
19
|
+
Icon entrypoint migration
|
|
20
|
+
- Updated dependencies
|
|
21
|
+
|
|
3
22
|
## 6.1.6
|
|
4
23
|
|
|
5
24
|
### 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");
|
|
@@ -142,12 +141,9 @@ var Find = /*#__PURE__*/function (_React$Component) {
|
|
|
142
141
|
});
|
|
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
|
-
LEGACY_size: 'small',
|
|
146
|
-
LEGACY_fallbackIcon: _textStyle.default,
|
|
147
144
|
label: iconProps.label,
|
|
148
145
|
size: "small"
|
|
149
|
-
}) : (0, _react2.jsx)(
|
|
150
|
-
LEGACY_size: 'small',
|
|
146
|
+
}) : (0, _react2.jsx)(_textStyle.default, {
|
|
151
147
|
label: _this.matchCase
|
|
152
148
|
});
|
|
153
149
|
});
|
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';
|
|
@@ -130,12 +129,9 @@ class Find extends React.Component {
|
|
|
130
129
|
});
|
|
131
130
|
_defineProperty(this, "matchCaseIconEle", iconProps => {
|
|
132
131
|
return expValEquals('platform_editor_find_and_replace_improvements', 'isEnabled', true) ? jsx(TextLetterCaseIcon, {
|
|
133
|
-
LEGACY_size: 'small',
|
|
134
|
-
LEGACY_fallbackIcon: EditorTextStyleIcon,
|
|
135
132
|
label: iconProps.label,
|
|
136
133
|
size: "small"
|
|
137
134
|
}) : jsx(MatchCaseIcon, {
|
|
138
|
-
LEGACY_size: 'small',
|
|
139
135
|
label: this.matchCase
|
|
140
136
|
});
|
|
141
137
|
});
|
|
@@ -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';
|
|
@@ -139,12 +138,9 @@ var Find = /*#__PURE__*/function (_React$Component) {
|
|
|
139
138
|
});
|
|
140
139
|
_defineProperty(_this, "matchCaseIconEle", function (iconProps) {
|
|
141
140
|
return expValEquals('platform_editor_find_and_replace_improvements', 'isEnabled', true) ? jsx(TextLetterCaseIcon, {
|
|
142
|
-
LEGACY_size: 'small',
|
|
143
|
-
LEGACY_fallbackIcon: EditorTextStyleIcon,
|
|
144
141
|
label: iconProps.label,
|
|
145
142
|
size: "small"
|
|
146
143
|
}) : jsx(MatchCaseIcon, {
|
|
147
|
-
LEGACY_size: 'small',
|
|
148
144
|
label: _this.matchCase
|
|
149
145
|
});
|
|
150
146
|
});
|
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.
|
|
3
|
+
"version": "6.2.0",
|
|
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.8.0",
|
|
32
32
|
"@atlaskit/editor-plugin-analytics": "^6.2.0",
|
|
33
33
|
"@atlaskit/editor-plugin-card": "^11.5.0",
|
|
34
|
-
"@atlaskit/editor-plugin-expand": "^7.
|
|
34
|
+
"@atlaskit/editor-plugin-expand": "^7.5.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
39
|
"@atlaskit/form": "^15.0.0",
|
|
40
|
-
"@atlaskit/icon": "^29.
|
|
40
|
+
"@atlaskit/icon": "^29.2.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
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.6.0",
|
|
49
49
|
"@atlaskit/tooltip": "^20.11.0",
|
|
50
50
|
"@babel/runtime": "^7.0.0",
|
|
51
51
|
"@emotion/react": "^11.7.1",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"react-dom": "^18.2.0"
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|
|
64
|
-
"@atlaskit/editor-common": "^110.
|
|
64
|
+
"@atlaskit/editor-common": "^110.45.0",
|
|
65
65
|
"react": "^18.2.0",
|
|
66
66
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
67
67
|
},
|