@lvce-editor/panel-worker 2.4.0 → 2.6.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.
@@ -2008,6 +2008,11 @@ const panelToolBarNode = {
2008
2008
  role: ToolBar,
2009
2009
  type: Div
2010
2010
  };
2011
+ const closeIconNode = {
2012
+ childCount: 0,
2013
+ className: mergeClassNames(MaskIcon, MaskIconClose),
2014
+ type: Div
2015
+ };
2011
2016
  const getGlobalActionsDom = state => {
2012
2017
  const {
2013
2018
  maximized
@@ -2033,11 +2038,7 @@ const getGlobalActionsDom = state => {
2033
2038
  onClick: HandleClickClose,
2034
2039
  title: close(),
2035
2040
  type: Button
2036
- }, {
2037
- childCount: 0,
2038
- className: mergeClassNames(MaskIcon, MaskIconClose),
2039
- type: Div
2040
- }];
2041
+ }, closeIconNode];
2041
2042
  };
2042
2043
 
2043
2044
  const selectedClass = mergeClassNames(PanelTab, PanelTabSelected);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/panel-worker",
3
- "version": "2.4.0",
3
+ "version": "2.6.0",
4
4
  "description": "Panel Worker",
5
5
  "repository": {
6
6
  "type": "git",