@chamn/engine 0.0.23 → 0.0.24

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.
@@ -3,7 +3,7 @@ import { CNode, CRootNode } from '@chamn/model';
3
3
  import { CPluginCtx } from '../../core/pluginManager';
4
4
  import { CRightPanelItem } from '../RightPanel/view';
5
5
  export type AdvancePanelProps = {
6
- node: CNode | CRootNode;
6
+ node: CNode | CRootNode | null;
7
7
  pluginCtx: CPluginCtx;
8
8
  };
9
9
  export declare const AdvancePanel: (props: AdvancePanelProps) => JSX.Element;
@@ -3,7 +3,7 @@ import { CNode, CRootNode } from '@chamn/model';
3
3
  import { CPluginCtx } from '../../core/pluginManager';
4
4
  import { CRightPanelItem } from '../RightPanel/view';
5
5
  export type ComponentStatePanelProps = {
6
- node: CNode | CRootNode;
6
+ node: CNode | CRootNode | null;
7
7
  pluginCtx: CPluginCtx;
8
8
  };
9
9
  export declare const ComponentStatePanel: (props: ComponentStatePanelProps) => JSX.Element;
@@ -3,7 +3,7 @@ import { CNode, CRootNode } from '@chamn/model';
3
3
  import { CPluginCtx } from '../../core/pluginManager';
4
4
  import { CRightPanelItem } from '../RightPanel/view';
5
5
  export declare const PropertyPanel: (props: {
6
- node: CNode | CRootNode;
6
+ node: CNode | CRootNode | null;
7
7
  pluginCtx: CPluginCtx;
8
8
  }) => JSX.Element;
9
9
  export declare const PropertyPanelConfig: CRightPanelItem;
@@ -2,7 +2,7 @@ import { CNode, CRootNode } from '@chamn/model';
2
2
  import React from 'react';
3
3
  import { CPluginCtx } from '../../core/pluginManager';
4
4
  export type RightPanelOptions = {
5
- node: CNode | CRootNode;
5
+ node: CNode | CRootNode | null;
6
6
  pluginCtx: CPluginCtx;
7
7
  };
8
8
  export type CRightPanelItem = {
@@ -3,7 +3,7 @@ import { CNode, CRootNode } from '@chamn/model';
3
3
  import { CPluginCtx } from '../../core/pluginManager';
4
4
  import { CRightPanelItem } from '../RightPanel/view';
5
5
  export declare const VisualPanelPlus: (props: {
6
- node: CNode | CRootNode;
6
+ node: CNode | CRootNode | null;
7
7
  pluginCtx: CPluginCtx;
8
8
  }) => JSX.Element;
9
9
  export declare const VisualPanelPlusConfig: CRightPanelItem;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chamn/engine",
3
- "version": "0.0.23",
3
+ "version": "0.0.24",
4
4
  "files": [
5
5
  "dist"
6
6
  ],
@@ -38,9 +38,9 @@
38
38
  },
39
39
  "dependencies": {
40
40
  "@ant-design/icons": "^4.8.0",
41
- "@chamn/layout": "^0.0.23",
42
- "@chamn/model": "^0.0.23",
43
- "@chamn/render": "^0.0.23",
41
+ "@chamn/layout": "^0.0.24",
42
+ "@chamn/model": "^0.0.24",
43
+ "@chamn/render": "^0.0.24",
44
44
  "@dnd-kit/core": "^6.0.7",
45
45
  "@dnd-kit/modifiers": "^6.0.1",
46
46
  "@dnd-kit/sortable": "^7.0.2",
@@ -57,8 +57,8 @@
57
57
  },
58
58
  "devDependencies": {
59
59
  "@babel/core": "^7.21.0",
60
- "@chamn/build-script": "^0.0.23",
61
- "@chamn/demo-page": "^0.0.23",
60
+ "@chamn/build-script": "^0.0.24",
61
+ "@chamn/demo-page": "^0.0.24",
62
62
  "@storybook/addon-actions": "^6.5.16",
63
63
  "@storybook/addon-essentials": "^6.5.16",
64
64
  "@storybook/addon-interactions": "^6.5.16",
@@ -84,5 +84,5 @@
84
84
  "sass": "^1.54.0"
85
85
  },
86
86
  "config": {},
87
- "gitHead": "499694173c90eaff1d7626180e59b9c3a57371db"
87
+ "gitHead": "4128ec7bc08270146aa75e79579123ed3a90caa9"
88
88
  }