@mastergo/plugin-typings 1.15.1 → 1.16.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,14 @@
1
+ # [1.16.0](https://github.com/mastergo-design/plugin-typings/compare/v1.15.1...v1.16.0) (2023-03-21)
2
+
3
+
4
+ ### Features
5
+
6
+ * 修改combineAsVariants类型 ([16c2cd0](https://github.com/mastergo-design/plugin-typings/commit/16c2cd0c18e1c570fb4ebe70385c287e61865119))
7
+ * 修改combineAsVariantstype ([bd59082](https://github.com/mastergo-design/plugin-typings/commit/bd590829eda21bbeef0bbc01b57b9f3a2a1dc296))
8
+ * combineAsVariants ([f683658](https://github.com/mastergo-design/plugin-typings/commit/f683658e452024849a4e190b3782fe45d78f7de1))
9
+
10
+
11
+
1
12
  ## [1.15.1](https://github.com/mastergo-design/plugin-typings/compare/v1.15.0...v1.15.1) (2023-03-16)
2
13
 
3
14
 
package/dist/index.d.ts CHANGED
@@ -74,6 +74,8 @@ declare global {
74
74
  createConnector(): ConnectorNode
75
75
  createNodeFromSvgAsync(svg: string): Promise<FrameNode>
76
76
 
77
+ combineAsVariants(nodes: ComponentNode[]): ComponentSetNode
78
+
77
79
  getHoverLayer(): PageNode | SceneNode
78
80
 
79
81
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastergo/plugin-typings",
3
- "version": "1.15.1",
3
+ "version": "1.16.0",
4
4
  "description": "MasterGo插件API声明文件",
5
5
  "main": "",
6
6
  "types": "dist/index.d.ts",