@atlaskit/editor-plugin-panel 9.0.29 → 9.0.31
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,21 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-panel
|
|
2
2
|
|
|
3
|
+
## 9.0.31
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 9.0.30
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`0f91061590da3`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0f91061590da3) -
|
|
14
|
+
Split platform_editor_vc90_transition_fixes_batch_1 into
|
|
15
|
+
platform_editor_vc90_transition_table_border, platform_editor_vc90_transition_expand_icon,
|
|
16
|
+
platform_editor_vc90_transition_mentions, platform_editor_vc90_transition_panel_icon
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
|
|
3
19
|
## 9.0.29
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -105,7 +105,7 @@ var PanelNodeView = /*#__PURE__*/function () {
|
|
|
105
105
|
|
|
106
106
|
// For standard panels (info, note, success, warning, error), render icon directly as native DOM
|
|
107
107
|
// This avoids Portal rendering delays that cause flickering on SSR and page transitions
|
|
108
|
-
if (isStandardPanel && (0, _expValEquals.expValEquals)('
|
|
108
|
+
if (isStandardPanel && (0, _expValEquals.expValEquals)('platform_editor_vc90_transition_panel_icon', 'isEnabled', true)) {
|
|
109
109
|
(0, _renderPanelIcon.renderPanelIcon)(panelAttrs.panelType, this.icon);
|
|
110
110
|
} else {
|
|
111
111
|
this.nodeViewPortalProviderAPI.render(function () {
|
|
@@ -137,7 +137,7 @@ var PanelNodeView = /*#__PURE__*/function () {
|
|
|
137
137
|
// Determine if this is a standard panel type (info, note, success, warning, error)
|
|
138
138
|
var isStandardPanel = panelAttrs.panelType && [_adfSchema.PanelType.INFO, _adfSchema.PanelType.NOTE, _adfSchema.PanelType.SUCCESS, _adfSchema.PanelType.WARNING, _adfSchema.PanelType.ERROR].includes(panelAttrs.panelType);
|
|
139
139
|
// Only remove Portal if it was used (for custom emoji panels)
|
|
140
|
-
if (!(isStandardPanel && (0, _expValEquals.expValEquals)('
|
|
140
|
+
if (!(isStandardPanel && (0, _expValEquals.expValEquals)('platform_editor_vc90_transition_panel_icon', 'isEnabled', true))) {
|
|
141
141
|
this.nodeViewPortalProviderAPI.remove(this.key);
|
|
142
142
|
}
|
|
143
143
|
}
|
|
@@ -100,7 +100,7 @@ class PanelNodeView {
|
|
|
100
100
|
|
|
101
101
|
// For standard panels (info, note, success, warning, error), render icon directly as native DOM
|
|
102
102
|
// This avoids Portal rendering delays that cause flickering on SSR and page transitions
|
|
103
|
-
if (isStandardPanel && expValEquals('
|
|
103
|
+
if (isStandardPanel && expValEquals('platform_editor_vc90_transition_panel_icon', 'isEnabled', true)) {
|
|
104
104
|
renderPanelIcon(panelAttrs.panelType, this.icon);
|
|
105
105
|
} else {
|
|
106
106
|
this.nodeViewPortalProviderAPI.render(() => /*#__PURE__*/React.createElement(PanelIcon, {
|
|
@@ -126,7 +126,7 @@ class PanelNodeView {
|
|
|
126
126
|
// Determine if this is a standard panel type (info, note, success, warning, error)
|
|
127
127
|
const isStandardPanel = panelAttrs.panelType && [PanelType.INFO, PanelType.NOTE, PanelType.SUCCESS, PanelType.WARNING, PanelType.ERROR].includes(panelAttrs.panelType);
|
|
128
128
|
// Only remove Portal if it was used (for custom emoji panels)
|
|
129
|
-
if (!(isStandardPanel && expValEquals('
|
|
129
|
+
if (!(isStandardPanel && expValEquals('platform_editor_vc90_transition_panel_icon', 'isEnabled', true))) {
|
|
130
130
|
this.nodeViewPortalProviderAPI.remove(this.key);
|
|
131
131
|
}
|
|
132
132
|
}
|
|
@@ -99,7 +99,7 @@ var PanelNodeView = /*#__PURE__*/function () {
|
|
|
99
99
|
|
|
100
100
|
// For standard panels (info, note, success, warning, error), render icon directly as native DOM
|
|
101
101
|
// This avoids Portal rendering delays that cause flickering on SSR and page transitions
|
|
102
|
-
if (isStandardPanel && expValEquals('
|
|
102
|
+
if (isStandardPanel && expValEquals('platform_editor_vc90_transition_panel_icon', 'isEnabled', true)) {
|
|
103
103
|
renderPanelIcon(panelAttrs.panelType, this.icon);
|
|
104
104
|
} else {
|
|
105
105
|
this.nodeViewPortalProviderAPI.render(function () {
|
|
@@ -131,7 +131,7 @@ var PanelNodeView = /*#__PURE__*/function () {
|
|
|
131
131
|
// Determine if this is a standard panel type (info, note, success, warning, error)
|
|
132
132
|
var isStandardPanel = panelAttrs.panelType && [PanelType.INFO, PanelType.NOTE, PanelType.SUCCESS, PanelType.WARNING, PanelType.ERROR].includes(panelAttrs.panelType);
|
|
133
133
|
// Only remove Portal if it was used (for custom emoji panels)
|
|
134
|
-
if (!(isStandardPanel && expValEquals('
|
|
134
|
+
if (!(isStandardPanel && expValEquals('platform_editor_vc90_transition_panel_icon', 'isEnabled', true))) {
|
|
135
135
|
this.nodeViewPortalProviderAPI.remove(this.key);
|
|
136
136
|
}
|
|
137
137
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-panel",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.31",
|
|
4
4
|
"description": "Panel plugin for @atlaskit/editor-core.",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"sideEffects": false,
|
|
28
28
|
"atlaskit:src": "src/index.ts",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@atlaskit/adf-schema": "^52.
|
|
30
|
+
"@atlaskit/adf-schema": "^52.2.0",
|
|
31
31
|
"@atlaskit/editor-palette": "^2.1.0",
|
|
32
32
|
"@atlaskit/editor-plugin-analytics": "^7.0.0",
|
|
33
33
|
"@atlaskit/editor-plugin-block-menu": "^6.1.0",
|
|
@@ -42,13 +42,13 @@
|
|
|
42
42
|
"@atlaskit/icon": "^32.0.0",
|
|
43
43
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
44
44
|
"@atlaskit/theme": "^22.0.0",
|
|
45
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
45
|
+
"@atlaskit/tmp-editor-statsig": "^33.0.0",
|
|
46
46
|
"@atlaskit/tokens": "^11.0.0",
|
|
47
47
|
"@babel/runtime": "^7.0.0",
|
|
48
48
|
"uuid": "^3.1.0"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
|
-
"@atlaskit/editor-common": "^111.
|
|
51
|
+
"@atlaskit/editor-common": "^111.26.0",
|
|
52
52
|
"react": "^18.2.0",
|
|
53
53
|
"react-dom": "^18.2.0",
|
|
54
54
|
"react-intl-next": "npm:react-intl@^5.18.1"
|