@atlaskit/editor-plugin-panel 4.3.5 → 4.3.6
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 +8 -0
- package/dist/cjs/panelPlugin.js +1 -1
- package/dist/es2019/panelPlugin.js +2 -2
- package/dist/esm/panelPlugin.js +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-panel
|
|
2
2
|
|
|
3
|
+
## 4.3.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#138959](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/138959)
|
|
8
|
+
[`66b24c95f63de`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/66b24c95f63de) -
|
|
9
|
+
Clean up experiment platform_editor_nested_non_bodied_macros [ED-27183]
|
|
10
|
+
|
|
3
11
|
## 4.3.5
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
package/dist/cjs/panelPlugin.js
CHANGED
|
@@ -24,7 +24,7 @@ var panelPlugin = function panelPlugin(_ref) {
|
|
|
24
24
|
return {
|
|
25
25
|
name: 'panel',
|
|
26
26
|
nodes: function nodes() {
|
|
27
|
-
var panelNode = (0,
|
|
27
|
+
var panelNode = (0, _adfSchema.extendedPanel)(!!options.allowCustomPanel);
|
|
28
28
|
return [{
|
|
29
29
|
name: 'panel',
|
|
30
30
|
node: panelNode
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { extendedPanel,
|
|
2
|
+
import { extendedPanel, PanelType } from '@atlaskit/adf-schema';
|
|
3
3
|
import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
4
4
|
import { blockTypeMessages } from '@atlaskit/editor-common/messages';
|
|
5
5
|
import { IconCustomPanel, IconPanel, IconPanelError, IconPanelNote, IconPanelSuccess, IconPanelWarning } from '@atlaskit/editor-common/quick-insert';
|
|
@@ -16,7 +16,7 @@ const panelPlugin = ({
|
|
|
16
16
|
}) => ({
|
|
17
17
|
name: 'panel',
|
|
18
18
|
nodes() {
|
|
19
|
-
const panelNode =
|
|
19
|
+
const panelNode = extendedPanel(!!options.allowCustomPanel);
|
|
20
20
|
return [{
|
|
21
21
|
name: 'panel',
|
|
22
22
|
node: panelNode
|
package/dist/esm/panelPlugin.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { extendedPanel,
|
|
2
|
+
import { extendedPanel, PanelType } from '@atlaskit/adf-schema';
|
|
3
3
|
import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
4
4
|
import { blockTypeMessages } from '@atlaskit/editor-common/messages';
|
|
5
5
|
import { IconCustomPanel, IconPanel, IconPanelError, IconPanelNote, IconPanelSuccess, IconPanelWarning } from '@atlaskit/editor-common/quick-insert';
|
|
@@ -17,7 +17,7 @@ var panelPlugin = function panelPlugin(_ref) {
|
|
|
17
17
|
return {
|
|
18
18
|
name: 'panel',
|
|
19
19
|
nodes: function nodes() {
|
|
20
|
-
var panelNode =
|
|
20
|
+
var panelNode = extendedPanel(!!options.allowCustomPanel);
|
|
21
21
|
return [{
|
|
22
22
|
name: 'panel',
|
|
23
23
|
node: panelNode
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-panel",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.6",
|
|
4
4
|
"description": "Panel plugin for @atlaskit/editor-core.",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@atlaskit/adf-schema": "^47.6.0",
|
|
35
|
-
"@atlaskit/editor-common": "^103.
|
|
35
|
+
"@atlaskit/editor-common": "^103.3.0",
|
|
36
36
|
"@atlaskit/editor-palette": "^2.1.0",
|
|
37
37
|
"@atlaskit/editor-plugin-analytics": "^2.2.0",
|
|
38
38
|
"@atlaskit/editor-plugin-decorations": "^2.0.0",
|