@atlaskit/editor-plugin-find-replace 12.0.22 → 12.0.23
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
CHANGED
|
@@ -22,7 +22,7 @@ var _resource = require("@atlaskit/mention/resource");
|
|
|
22
22
|
var _types = require("@atlaskit/mention/types");
|
|
23
23
|
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
24
24
|
var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
|
|
25
|
-
var
|
|
25
|
+
var _getGlobalTheme2 = require("@atlaskit/tokens/get-global-theme");
|
|
26
26
|
var _styles = require("../../ui/styles");
|
|
27
27
|
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t.return || t.return(); } finally { if (u) throw o; } } }; }
|
|
28
28
|
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
@@ -94,7 +94,7 @@ var createDecoration = exports.createDecoration = function createDecoration(matc
|
|
|
94
94
|
end = match.end,
|
|
95
95
|
nodeType = match.nodeType;
|
|
96
96
|
if ((0, _expValEquals.expValEquals)('platform_editor_find_and_replace_improvements', 'isEnabled', true)) {
|
|
97
|
-
var _getGlobalTheme = (0,
|
|
97
|
+
var _getGlobalTheme = (0, _getGlobalTheme2.getGlobalTheme)(),
|
|
98
98
|
colorMode = _getGlobalTheme.colorMode;
|
|
99
99
|
if (isElement(nodeType)) {
|
|
100
100
|
var className = (0, _classnames4.default)(_styles.blockSearchMatchClass, (0, _defineProperty2.default)((0, _defineProperty2.default)({}, _styles.selectedBlockSearchMatchClass, isSelected), _styles.darkModeSearchMatchClass, colorMode === 'dark'));
|
|
@@ -6,7 +6,7 @@ import { isResolvingMentionProvider } from '@atlaskit/mention/resource';
|
|
|
6
6
|
import { isPromise, MentionNameStatus } from '@atlaskit/mention/types';
|
|
7
7
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
8
8
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
9
|
-
import { getGlobalTheme } from '@atlaskit/tokens';
|
|
9
|
+
import { getGlobalTheme } from '@atlaskit/tokens/get-global-theme';
|
|
10
10
|
import { searchMatchClass, selectedSearchMatchClass, blockSearchMatchClass, darkModeSearchMatchClass, selectedBlockSearchMatchClass, searchMatchExpandTitleClass, searchMatchTextClass } from '../../ui/styles';
|
|
11
11
|
|
|
12
12
|
/**
|
|
@@ -10,7 +10,7 @@ import { isResolvingMentionProvider } from '@atlaskit/mention/resource';
|
|
|
10
10
|
import { isPromise, MentionNameStatus } from '@atlaskit/mention/types';
|
|
11
11
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
12
12
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
13
|
-
import { getGlobalTheme } from '@atlaskit/tokens';
|
|
13
|
+
import { getGlobalTheme } from '@atlaskit/tokens/get-global-theme';
|
|
14
14
|
import { searchMatchClass, selectedSearchMatchClass, blockSearchMatchClass, darkModeSearchMatchClass, selectedBlockSearchMatchClass, searchMatchExpandTitleClass, searchMatchTextClass } from '../../ui/styles';
|
|
15
15
|
|
|
16
16
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-find-replace",
|
|
3
|
-
"version": "12.0.
|
|
3
|
+
"version": "12.0.23",
|
|
4
4
|
"description": "find replace plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -34,10 +34,10 @@
|
|
|
34
34
|
"@atlaskit/icon-lab": "^7.3.0",
|
|
35
35
|
"@atlaskit/mention": "^27.5.0",
|
|
36
36
|
"@atlaskit/platform-feature-flags": "^2.0.0",
|
|
37
|
-
"@atlaskit/primitives": "^20.
|
|
37
|
+
"@atlaskit/primitives": "^20.6.0",
|
|
38
38
|
"@atlaskit/textfield": "^9.1.0",
|
|
39
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
40
|
-
"@atlaskit/tokens": "^15.
|
|
39
|
+
"@atlaskit/tmp-editor-statsig": "^125.0.0",
|
|
40
|
+
"@atlaskit/tokens": "^15.8.0",
|
|
41
41
|
"@atlaskit/tooltip": "^23.1.0",
|
|
42
42
|
"@babel/runtime": "^7.0.0",
|
|
43
43
|
"@emotion/react": "^11.7.1",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"react-intl": "^7.0.0"
|
|
56
56
|
},
|
|
57
57
|
"peerDependencies": {
|
|
58
|
-
"@atlaskit/editor-common": "^116.
|
|
58
|
+
"@atlaskit/editor-common": "^116.30.0",
|
|
59
59
|
"react": "^18.2.0",
|
|
60
60
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|
|
61
61
|
},
|