@atlaskit/editor-plugin-expand 8.2.14 → 8.3.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
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-expand
|
|
2
2
|
|
|
3
|
+
## 8.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`01e7751e6b213`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/01e7751e6b213) -
|
|
8
|
+
[EDITOR-5538](https://hello.jira.atlassian.cloud/browse/EDITOR-5538) - fix how navite expand icon
|
|
9
|
+
is rendered in SSR
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 8.2.14
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -4,7 +4,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.renderExpandButton = renderExpandButton;
|
|
7
|
-
var _browserApis = require("@atlaskit/browser-apis");
|
|
8
7
|
var _styles = require("@atlaskit/editor-common/styles");
|
|
9
8
|
var _ui = require("@atlaskit/editor-common/ui");
|
|
10
9
|
/**
|
|
@@ -32,7 +31,7 @@ function renderExpandButton(container, buttonProps) {
|
|
|
32
31
|
existingButton.setAttribute('disabled', 'true');
|
|
33
32
|
}
|
|
34
33
|
} else {
|
|
35
|
-
var doc =
|
|
34
|
+
var doc = container.ownerDocument;
|
|
36
35
|
if (!doc) {
|
|
37
36
|
return;
|
|
38
37
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { getDocument } from '@atlaskit/browser-apis';
|
|
2
1
|
import { expandClassNames } from '@atlaskit/editor-common/styles';
|
|
3
2
|
import { expandMessages } from '@atlaskit/editor-common/ui';
|
|
4
3
|
/**
|
|
@@ -28,7 +27,7 @@ export function renderExpandButton(container, buttonProps) {
|
|
|
28
27
|
existingButton.setAttribute('disabled', 'true');
|
|
29
28
|
}
|
|
30
29
|
} else {
|
|
31
|
-
const doc =
|
|
30
|
+
const doc = container.ownerDocument;
|
|
32
31
|
if (!doc) {
|
|
33
32
|
return;
|
|
34
33
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { getDocument } from '@atlaskit/browser-apis';
|
|
2
1
|
import { expandClassNames } from '@atlaskit/editor-common/styles';
|
|
3
2
|
import { expandMessages } from '@atlaskit/editor-common/ui';
|
|
4
3
|
/**
|
|
@@ -26,7 +25,7 @@ export function renderExpandButton(container, buttonProps) {
|
|
|
26
25
|
existingButton.setAttribute('disabled', 'true');
|
|
27
26
|
}
|
|
28
27
|
} else {
|
|
29
|
-
var doc =
|
|
28
|
+
var doc = container.ownerDocument;
|
|
30
29
|
if (!doc) {
|
|
31
30
|
return;
|
|
32
31
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-expand",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.3.0",
|
|
4
4
|
"description": "Expand plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -30,10 +30,9 @@
|
|
|
30
30
|
"atlaskit:src": "src/index.ts",
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@atlaskit/adf-schema": "^51.5.0",
|
|
33
|
-
"@atlaskit/browser-apis": "^0.0.1",
|
|
34
33
|
"@atlaskit/button": "^23.9.0",
|
|
35
34
|
"@atlaskit/editor-plugin-analytics": "^7.0.0",
|
|
36
|
-
"@atlaskit/editor-plugin-block-menu": "^6.
|
|
35
|
+
"@atlaskit/editor-plugin-block-menu": "^6.1.0",
|
|
37
36
|
"@atlaskit/editor-plugin-decorations": "^7.0.0",
|
|
38
37
|
"@atlaskit/editor-plugin-editor-disabled": "^7.0.0",
|
|
39
38
|
"@atlaskit/editor-plugin-editor-viewmode": "^9.0.0",
|
|
@@ -48,7 +47,7 @@
|
|
|
48
47
|
"@atlaskit/icon-lab": "^5.16.0",
|
|
49
48
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
50
49
|
"@atlaskit/prosemirror-history": "^0.2.0",
|
|
51
|
-
"@atlaskit/tmp-editor-statsig": "^29.
|
|
50
|
+
"@atlaskit/tmp-editor-statsig": "^29.4.0",
|
|
52
51
|
"@atlaskit/tokens": "^11.0.0",
|
|
53
52
|
"@atlaskit/tooltip": "^20.14.0",
|
|
54
53
|
"@babel/runtime": "^7.0.0",
|
|
@@ -57,7 +56,7 @@
|
|
|
57
56
|
"w3c-keyname": "^2.1.8"
|
|
58
57
|
},
|
|
59
58
|
"peerDependencies": {
|
|
60
|
-
"@atlaskit/editor-common": "^111.
|
|
59
|
+
"@atlaskit/editor-common": "^111.19.0",
|
|
61
60
|
"react": "^18.2.0",
|
|
62
61
|
"react-dom": "^18.2.0",
|
|
63
62
|
"react-intl-next": "npm:react-intl@^5.18.1"
|