@mastergo/plugin-typings 2.1.0 → 2.3.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 +20 -0
- package/dist/index.d.ts +9 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,28 @@
|
|
|
1
|
+
# [2.3.0](https://github.com/mastergo-design/plugin-typings/compare/v2.2.0...v2.3.0) (2024-01-31)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* 团队库增加组件的cover和宽高 ([1eb2855](https://github.com/mastergo-design/plugin-typings/commit/1eb28555e1dd63b4c830f66ba7d21dfda471b613))
|
|
7
|
+
* 增加等比缩放系数 ([5afbaf4](https://github.com/mastergo-design/plugin-typings/commit/5afbaf45a9e587eb2a8c5b60fe4a5db111368746))
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
# [2.2.0](https://github.com/mastergo-design/plugin-typings/compare/v2.0.0...v2.2.0) (2023-11-22)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
* 文字分段样式增加fillStyleId ([f508d08](https://github.com/mastergo-design/plugin-typings/commit/f508d08096a16bce33c37d90f01cba13d0fe0dfe))
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
1
20
|
# [2.1.0](https://github.com/mastergo-design/plugin-typings/compare/v2.0.0...v2.1.0) (2023-10-12)
|
|
2
21
|
|
|
3
22
|
|
|
4
23
|
### Features
|
|
5
24
|
|
|
25
|
+
* 更新pkg ([f708fc7](https://github.com/mastergo-design/plugin-typings/commit/f708fc79d7b590e8a79b3bcd6a064be4cb53ef1a))
|
|
6
26
|
* saveVersionHistoryAsync增加标题参数 ([1fef69d](https://github.com/mastergo-design/plugin-typings/commit/1fef69db64abe6f12e09a4996db31bb0db9f8353))
|
|
7
27
|
|
|
8
28
|
|
package/dist/index.d.ts
CHANGED
|
@@ -297,6 +297,7 @@ declare global {
|
|
|
297
297
|
fontWeight: number
|
|
298
298
|
}
|
|
299
299
|
fills: Paint[]
|
|
300
|
+
fillStyleId: string
|
|
300
301
|
}
|
|
301
302
|
|
|
302
303
|
interface ListStyle {
|
|
@@ -595,6 +596,7 @@ declare global {
|
|
|
595
596
|
alignSelf: 'STRETCH' | 'INHERIT' // applicable only inside auto-layout frames
|
|
596
597
|
flexGrow: 0 | 1 // applicable only inside auto-layout frames
|
|
597
598
|
rescale(scale: number, scaleOption?: ScaleOption): void
|
|
599
|
+
scaleFactor: number // The default value is 1
|
|
598
600
|
flip(direction: 'VERTICAL' | 'HORIZONTAL'): void
|
|
599
601
|
}
|
|
600
602
|
|
|
@@ -1263,11 +1265,14 @@ declare global {
|
|
|
1263
1265
|
}
|
|
1264
1266
|
|
|
1265
1267
|
interface TeamLibraryComponent {
|
|
1266
|
-
readonly id: string
|
|
1267
|
-
readonly name: string
|
|
1268
|
-
readonly ukey: string
|
|
1269
|
-
readonly description: string
|
|
1268
|
+
readonly id: string
|
|
1269
|
+
readonly name: string
|
|
1270
|
+
readonly ukey: string
|
|
1271
|
+
readonly description: string
|
|
1270
1272
|
readonly type: "COMPONENT" | 'COMPONENT_SET'
|
|
1273
|
+
readonly cover: string
|
|
1274
|
+
readonly width: number
|
|
1275
|
+
readonly height: number
|
|
1271
1276
|
}
|
|
1272
1277
|
|
|
1273
1278
|
interface TeamLibraryStyle {
|