@mastergo/plugin-typings 2.8.1-beta.0 → 2.8.2-beta.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +6 -11
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -1829,9 +1829,13 @@ declare global {
1829
1829
  }
1830
1830
 
1831
1831
  interface CornerMixin {
1832
- // 待确认
1833
1832
  cornerSmooth: number
1834
1833
  cornerRadius: number | PluginAPI['mixed']
1834
+
1835
+ topLeftRadius: number
1836
+ topRightRadius: number
1837
+ bottomLeftRadius: number
1838
+ bottomRightRadius: number
1835
1839
  }
1836
1840
 
1837
1841
  interface DefaultShapeMixin
@@ -1849,7 +1853,6 @@ declare global {
1849
1853
  ReactionMixin,
1850
1854
  SceneNodeMixin,
1851
1855
  ChildrenMixin,
1852
- RectangleCornerMixin,
1853
1856
  BlendMixin,
1854
1857
  CornerMixin,
1855
1858
  ConstraintMixin,
@@ -1914,13 +1917,6 @@ declare global {
1914
1917
 
1915
1918
  type OverflowDirection = "NONE" | "HORIZONTAL" | "VERTICAL" | "BOTH"
1916
1919
 
1917
- interface RectangleCornerMixin {
1918
- topLeftRadius: number
1919
- topRightRadius: number
1920
- bottomLeftRadius: number
1921
- bottomRightRadius: number
1922
- }
1923
-
1924
1920
  interface ReactionMixin {
1925
1921
  reactions: ReadonlyArray<Reaction>
1926
1922
  }
@@ -2023,8 +2019,7 @@ declare global {
2023
2019
  extends DefaultShapeMixin,
2024
2020
  ConstraintMixin,
2025
2021
  CornerMixin,
2026
- RectangleStrokeWeightMixin,
2027
- RectangleCornerMixin {
2022
+ RectangleStrokeWeightMixin {
2028
2023
  readonly type: 'RECTANGLE'
2029
2024
  clone(): RectangleNode
2030
2025
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastergo/plugin-typings",
3
- "version": "2.8.1-beta.0",
3
+ "version": "2.8.2-beta.0",
4
4
  "description": "MasterGo插件API声明文件",
5
5
  "main": "",
6
6
  "types": "dist/index.d.ts",