@mastergo/plugin-typings 1.17.1 → 1.18.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,3 +1,12 @@
1
+ # [1.18.0](https://github.com/mastergo-design/plugin-typings/compare/v1.17.1...v1.18.0) (2023-04-06)
2
+
3
+
4
+ ### Features
5
+
6
+ * 容器图层增加expanded属性, 实例增加resetoverrides方法 ([a2d1bad](https://github.com/mastergo-design/plugin-typings/commit/a2d1bad715c5e6d3096c4c406ce73a1fc4f3b391))
7
+
8
+
9
+
1
10
  ## [1.17.1](https://github.com/mastergo-design/plugin-typings/compare/v1.17.0...v1.17.1) (2023-03-30)
2
11
 
3
12
 
package/dist/index.d.ts CHANGED
@@ -620,6 +620,7 @@ declare global {
620
620
 
621
621
  interface DefaultContainerMixin
622
622
  extends BaseNodeMixin,
623
+ ContainerMixin,
623
624
  ReactionMixin,
624
625
  SceneNodeMixin,
625
626
  ChildrenMixin,
@@ -629,7 +630,9 @@ declare global {
629
630
  ConstraintMixin,
630
631
  LayoutMixin,
631
632
  ExportMixin { }
632
-
633
+ interface ContainerMixin {
634
+ expanded: boolean
635
+ }
633
636
  interface AutoLayout {
634
637
  flexMode: 'NONE' | 'HORIZONTAL' | 'VERTICAL'
635
638
  itemSpacing: number
@@ -844,6 +847,7 @@ declare global {
844
847
 
845
848
  interface BooleanOperationNode
846
849
  extends DefaultShapeMixin,
850
+ ContainerMixin,
847
851
  ChildrenMixin,
848
852
  CornerMixin {
849
853
  readonly type: 'BOOLEAN_OPERATION'
@@ -854,6 +858,7 @@ declare global {
854
858
 
855
859
  interface GroupNode
856
860
  extends DefaultShapeMixin,
861
+ ContainerMixin,
857
862
  ChildrenMixin,
858
863
  CornerMixin {
859
864
  readonly type: 'GROUP'
@@ -1044,6 +1049,8 @@ declare global {
1044
1049
  readonly exposedInstances: InstanceNode[]
1045
1050
  isExposedInstance: boolean
1046
1051
 
1052
+ resetOverrides(): void
1053
+
1047
1054
  clone(): InstanceNode
1048
1055
  /**
1049
1056
  * this is an async func
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastergo/plugin-typings",
3
- "version": "1.17.1",
3
+ "version": "1.18.0",
4
4
  "description": "MasterGo插件API声明文件",
5
5
  "main": "",
6
6
  "types": "dist/index.d.ts",