@atlaskit/editor-plugin-highlight 1.8.0 → 1.8.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
CHANGED
|
@@ -27,6 +27,8 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
|
|
|
27
27
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
28
28
|
/** @jsx jsx */
|
|
29
29
|
|
|
30
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
31
|
+
|
|
30
32
|
var ToolbarHighlightColor = function ToolbarHighlightColor(_ref) {
|
|
31
33
|
var popupsMountPoint = _ref.popupsMountPoint,
|
|
32
34
|
popupsBoundariesElement = _ref.popupsBoundariesElement,
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import React, { useRef, useState } from 'react';
|
|
3
|
+
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
5
|
import { jsx } from '@emotion/react';
|
|
4
6
|
import { injectIntl } from 'react-intl-next';
|
|
5
7
|
import { useSharedPluginState } from '@atlaskit/editor-common/hooks';
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
2
2
|
/** @jsx jsx */
|
|
3
3
|
import React, { useRef, useState } from 'react';
|
|
4
|
+
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
6
|
import { jsx } from '@emotion/react';
|
|
5
7
|
import { injectIntl } from 'react-intl-next';
|
|
6
8
|
import { useSharedPluginState } from '@atlaskit/editor-common/hooks';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-highlight",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.1",
|
|
4
4
|
"description": "Highlight plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -24,16 +24,21 @@
|
|
|
24
24
|
"types": "dist/types/index.d.ts",
|
|
25
25
|
"typesVersions": {
|
|
26
26
|
">=4.5 <5.4": {
|
|
27
|
-
"*": [
|
|
27
|
+
"*": [
|
|
28
|
+
"dist/types-ts4.5/*",
|
|
29
|
+
"dist/types-ts4.5/index.d.ts"
|
|
30
|
+
]
|
|
28
31
|
}
|
|
29
32
|
},
|
|
30
|
-
"sideEffects": [
|
|
33
|
+
"sideEffects": [
|
|
34
|
+
"*.compiled.css"
|
|
35
|
+
],
|
|
31
36
|
"atlaskit:src": "src/index.ts",
|
|
32
37
|
"af:exports": {
|
|
33
38
|
".": "./src/index.ts"
|
|
34
39
|
},
|
|
35
40
|
"dependencies": {
|
|
36
|
-
"@atlaskit/editor-common": "^82.
|
|
41
|
+
"@atlaskit/editor-common": "^82.9.0",
|
|
37
42
|
"@atlaskit/editor-palette": "1.6.0",
|
|
38
43
|
"@atlaskit/editor-plugin-analytics": "^1.2.0",
|
|
39
44
|
"@atlaskit/editor-plugin-background-color": "^1.1.0",
|
|
@@ -42,9 +47,9 @@
|
|
|
42
47
|
"@atlaskit/editor-prosemirror": "4.0.1",
|
|
43
48
|
"@atlaskit/editor-shared-styles": "^2.12.0",
|
|
44
49
|
"@atlaskit/editor-tables": "^2.7.4",
|
|
45
|
-
"@atlaskit/icon": "^22.
|
|
50
|
+
"@atlaskit/icon": "^22.4.0",
|
|
46
51
|
"@atlaskit/platform-feature-flags": "^0.2.0",
|
|
47
|
-
"@atlaskit/primitives": "^
|
|
52
|
+
"@atlaskit/primitives": "^8.0.0",
|
|
48
53
|
"@babel/runtime": "^7.0.0",
|
|
49
54
|
"@emotion/react": "^11.7.1"
|
|
50
55
|
},
|
|
@@ -53,29 +58,50 @@
|
|
|
53
58
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
54
59
|
},
|
|
55
60
|
"devDependencies": {
|
|
56
|
-
"@atlaskit/tokens": "^1.
|
|
61
|
+
"@atlaskit/tokens": "^1.51.0",
|
|
57
62
|
"typescript": "~5.4.2"
|
|
58
63
|
},
|
|
59
64
|
"techstack": {
|
|
60
65
|
"@atlassian/frontend": {
|
|
61
|
-
"import-structure": [
|
|
62
|
-
|
|
66
|
+
"import-structure": [
|
|
67
|
+
"atlassian-conventions"
|
|
68
|
+
],
|
|
69
|
+
"circular-dependencies": [
|
|
70
|
+
"file-and-folder-level"
|
|
71
|
+
]
|
|
63
72
|
},
|
|
64
73
|
"@repo/internal": {
|
|
65
74
|
"dom-events": "use-bind-event-listener",
|
|
66
|
-
"analytics": [
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
"
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
"
|
|
75
|
+
"analytics": [
|
|
76
|
+
"analytics-next"
|
|
77
|
+
],
|
|
78
|
+
"design-tokens": [
|
|
79
|
+
"color"
|
|
80
|
+
],
|
|
81
|
+
"theming": [
|
|
82
|
+
"react-context"
|
|
83
|
+
],
|
|
84
|
+
"ui-components": [
|
|
85
|
+
"lite-mode"
|
|
86
|
+
],
|
|
87
|
+
"deprecation": [
|
|
88
|
+
"no-deprecated-imports"
|
|
89
|
+
],
|
|
90
|
+
"styling": [
|
|
91
|
+
"static",
|
|
92
|
+
"compiled"
|
|
93
|
+
],
|
|
94
|
+
"imports": [
|
|
95
|
+
"import-no-extraneous-disable-for-examples-and-docs"
|
|
96
|
+
]
|
|
73
97
|
}
|
|
74
98
|
},
|
|
75
99
|
"stricter": {
|
|
76
100
|
"no-unused-dependencies": {
|
|
77
101
|
"checkDevDependencies": true,
|
|
78
|
-
"exclude": [
|
|
102
|
+
"exclude": [
|
|
103
|
+
"@atlaskit/tokens"
|
|
104
|
+
]
|
|
79
105
|
}
|
|
80
106
|
},
|
|
81
107
|
"platform-feature-flags": {
|