@mastergo/plugin-typings 1.7.1 → 1.7.2

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/dist/index.d.ts CHANGED
@@ -1130,3 +1130,5 @@ declare global {
1130
1130
  | 'SLICE'
1131
1131
  | 'CONNECTOR'
1132
1132
  }
1133
+
1134
+ export { }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastergo/plugin-typings",
3
- "version": "1.7.1",
3
+ "version": "1.7.2",
4
4
  "description": "MasterGo插件API声明文件",
5
5
  "main": "",
6
6
  "types": "dist/index.d.ts",
@@ -8,6 +8,7 @@
8
8
  "prepare": "husky install",
9
9
  "dev": "node scripts/dev.js",
10
10
  "build": "node scripts/build.js",
11
+ "postbuild": "node scripts/concat-typings",
11
12
  "release": "node scripts/release.js",
12
13
  "publish-to-npm": "node scripts/publish.js",
13
14
  "verify-commit": "node scripts/verify-commit.js",
package/CHANGELOG.md DELETED
@@ -1,557 +0,0 @@
1
- ## [1.7.1](https://github.com/mastergo-design/plugin-typings/compare/v1.7.0...v1.7.1) (2022-11-16)
2
-
3
-
4
-
5
- # [1.7.0](https://github.com/mastergo-design/plugin-typings/compare/v1.6.1...v1.7.0) (2022-11-11)
6
-
7
-
8
- ### Bug Fixes
9
-
10
- * 删除PageNode不存在的pluginData相关接口 ([6bf26d0](https://github.com/mastergo-design/plugin-typings/commit/6bf26d0957859516e02b3a49b4ebae42fe2810f8))
11
- * 修复Document findAll和findOne入参出参类型错误问题 ([4576d99](https://github.com/mastergo-design/plugin-typings/commit/4576d998fa9f2c65cd37587ec3f2ef11e1c23654))
12
- * 修复DocumentNode类型错误问题 ([b34511e](https://github.com/mastergo-design/plugin-typings/commit/b34511ed489d9e20b78b6bc25de9d14f126b5ea6))
13
- * 修复export接口返回类型错误问题 ([8760817](https://github.com/mastergo-design/plugin-typings/commit/87608176944225bc69e27587772b42bbde2ca246))
14
-
15
-
16
- ### Features
17
-
18
- * 添加ShowUIOptions.x, ShowUIOption.y ([298e252](https://github.com/mastergo-design/plugin-typings/commit/298e252bfc655245d6829d7598dd54f8d52e92dd))
19
- * 新增teamLibrary, importComponentByKeyAsync, importComponentSetByKeyAsync, importStyleByKeyAsync等团队库接口 ([8a59a5c](https://github.com/mastergo-design/plugin-typings/commit/8a59a5cc5991fe6b2e0a7b4626d355fc90070135))
20
-
21
-
22
-
23
- # 1.6.1 (2022-11-09)
24
-
25
-
26
- ### Features
27
-
28
- * viewport增加rulerVisible控制标识显示和layoutGridVisible控制布局网格展示
29
- 增加resizeToFit()让容器图层缩放到和内容尺寸一致
30
- 增加文字列表样式listStyle ([2d22357](https://github.com/mastergo-design/plugin-typings/commit/2d22357015b51c5f80efc33c8dcfbd32d1504cf2))
31
-
32
-
33
-
34
- # [1.5.0] (2022-10-18)
35
-
36
-
37
- ### Features
38
-
39
- * 添加command、run
40
-
41
- # [1.4.0] (2022-10-13)
42
-
43
-
44
- ### Features
45
-
46
- * 调整changelog
47
- * 连接线增加bound
48
- * 限定master
49
- * 修复loadFontAsync的返回类型错误问题
50
- * 移除test
51
- * 增加锁定比例字段
52
- * 增加自动布局相关定义
53
- * 增加ignore
54
-
55
-
56
- # [1.3.0] (2022-09-30)
57
-
58
-
59
- ### Features
60
-
61
- * 连接线增加bound
62
- * 修复loadFontAsync的返回类型错误问题
63
- * 增加锁定比例字段
64
- * 增加自动布局相关定义
65
-
66
- # [1.1.0] (2022-09-16)
67
-
68
-
69
- ### Bug Fixes
70
-
71
- * 限制连接线的strokeAlign为center
72
- * 修复connector的strokeAlign可写的bug
73
-
74
-
75
- ### Features
76
-
77
- * 添加textcase类型
78
- * 完善连接点类型
79
- * 移除超链接,等待接入新版
80
- * 移除createText参数
81
- * 增加connector类型typings
82
-
83
-
84
-
85
- # [1.0.0] (2022-09-02)
86
-
87
-
88
- ### Bug Fixes
89
-
90
- * 修复strokeStyle type错误问题
91
-
92
-
93
- ### Features
94
-
95
- * 补充lineNode strokeCap
96
- * 补充scaleMode
97
- * 更新package设置及readme
98
- * 整理npm包,移除工具函数
99
-
100
-
101
-
102
- # [1.0.0] (2022-09-02)
103
-
104
-
105
- ### Bug Fixes
106
-
107
- * 修复strokeStyle type错误问题
108
-
109
-
110
- ### Features
111
-
112
- * 补充lineNode strokeCap
113
- * 补充scaleMode
114
- * 更新package设置及readme
115
- * 整理npm包,移除工具函数
116
-
117
-
118
-
119
- # [1.0.0] (2022-09-02)
120
-
121
-
122
- ### Bug Fixes
123
-
124
- * 修复strokeStyle type错误问题
125
-
126
-
127
- ### Features
128
-
129
- * 补充lineNode strokeCap
130
- * 补充scaleMode
131
- * 更新package设置及readme
132
- * 整理npm包,移除工具函数
133
-
134
-
135
-
136
- # [1.1.0] (2022-09-02)
137
-
138
-
139
- ### Bug Fixes
140
-
141
- * 修复strokeStyle type错误问题
142
-
143
-
144
- ### Features
145
-
146
- * 补充lineNode strokeCap
147
- * 补充scaleMode
148
- * 更新package设置及readme
149
- * 整理npm包,移除工具函数
150
-
151
-
152
-
153
- # [0.4.0] (2022-07-22)
154
-
155
-
156
- ### Bug Fixes
157
-
158
- * 修复booleanoperation的type错误
159
-
160
-
161
- ### Features
162
-
163
- * 添加单边描边类型
164
- * 增加获取自定义样式列表接口
165
- * 增加document name 属性
166
-
167
-
168
-
169
- ## [0.3.1] (2022-07-08)
170
-
171
-
172
-
173
- # [0.3.0] (2022-07-08)
174
-
175
-
176
-
177
- # [0.3.0] (2022-07-08)
178
-
179
-
180
-
181
- # [0.2.0] (2022-07-01)
182
-
183
-
184
-
185
- # [0.27.0] (2022-01-25)
186
-
187
-
188
- ### Features
189
-
190
- * new mg api
191
-
192
-
193
-
194
- ## [0.26.1] (2021-12-23)
195
-
196
-
197
-
198
- # [0.26.0] (2021-12-23)
199
-
200
-
201
- ### Features
202
-
203
- * 添加颜色转换函数
204
-
205
-
206
-
207
- ## [0.25.1] (2021-12-23)
208
-
209
-
210
-
211
- # [0.25.0] (2021-12-22)
212
-
213
-
214
- ### Features
215
-
216
- * 添加 paint 工具函数
217
-
218
-
219
-
220
- # [0.24.0] (2021-12-21)
221
-
222
-
223
- ### Features
224
-
225
- * add useAbsoluteBounds for ExportSettings
226
-
227
-
228
-
229
- ## [0.23.1] (2021-12-21)
230
-
231
-
232
- ### Features
233
-
234
- * add visible option for ShowUIOptions
235
- * update
236
-
237
-
238
-
239
- # [0.23.0] (2021-12-21)
240
-
241
-
242
- ### Features
243
-
244
- * add relativeTransform
245
-
246
-
247
-
248
- ## [0.22.1] (2021-12-20)
249
-
250
-
251
-
252
- # [0.22.0] (2021-11-30)
253
-
254
-
255
- ### Bug Fixes
256
-
257
- * change showUI interface
258
-
259
-
260
-
261
- # [0.21.0] (2021-11-17)
262
-
263
-
264
- ### Features
265
-
266
- * add text superlink interfacee
267
-
268
-
269
-
270
- # [0.20.0] (2021-11-17)
271
-
272
-
273
- ### Bug Fixes
274
-
275
- * fix notify
276
-
277
-
278
-
279
- # [0.19.0] (2021-11-17)
280
-
281
-
282
- ### Bug Fixes
283
-
284
- * fix notify interface
285
-
286
-
287
-
288
- # [0.18.0] (2021-11-17)
289
-
290
-
291
- ### Bug Fixes
292
-
293
- * remove useless imagePaint properties
294
-
295
-
296
-
297
- # [0.17.0] (2021-11-17)
298
-
299
-
300
- ### Features
301
-
302
- * add image interface and createImage
303
-
304
-
305
-
306
- # [0.16.0] (2021-11-09)
307
-
308
-
309
- ### Bug Fixes
310
-
311
- * setRangeTextDecoration
312
-
313
-
314
-
315
- # [0.15.0] (2021-11-09)
316
-
317
-
318
- ### Bug Fixes
319
-
320
- * setRangeLineHeight
321
-
322
-
323
-
324
- # [0.14.0] (2021-11-09)
325
-
326
-
327
- ### Bug Fixes
328
-
329
- * lineheight
330
-
331
-
332
-
333
- # [0.13.0] (2021-11-09)
334
-
335
-
336
- ### Bug Fixes
337
-
338
- * range letterspacing
339
-
340
-
341
-
342
- # [0.12.0] (2021-11-09)
343
-
344
-
345
- ### Bug Fixes
346
-
347
- * text setRangeFont
348
-
349
-
350
- ### Features
351
-
352
- * add removed
353
-
354
-
355
-
356
- # [0.22.0] (2021-11-30)
357
-
358
- ### Bug Fixes
359
-
360
- - change showUI interface
361
-
362
- # [0.21.0] (2021-11-17)
363
-
364
- ### Features
365
-
366
- - add text superlink interfacee
367
-
368
- # [0.20.0] (2021-11-17)
369
-
370
- ### Bug Fixes
371
-
372
- - fix notify
373
-
374
- # [0.19.0] (2021-11-17)
375
-
376
- ### Bug Fixes
377
-
378
- - fix notify interface
379
-
380
- # [0.18.0] (2021-11-17)
381
-
382
- ### Bug Fixes
383
-
384
- - remove useless imagePaint properties
385
-
386
- # [0.17.0] (2021-11-17)
387
-
388
- ### Features
389
-
390
- - add image interface and createImage
391
-
392
- # [0.16.0] (2021-11-09)
393
-
394
- ### Bug Fixes
395
-
396
- - setRangeTextDecoration
397
-
398
- # [0.15.0] (2021-11-09)
399
-
400
- ### Bug Fixes
401
-
402
- - setRangeLineHeight
403
-
404
- # [0.14.0] (2021-11-09)
405
-
406
- ### Bug Fixes
407
-
408
- - lineheight
409
-
410
- # [0.13.0] (2021-11-09)
411
-
412
- ### Bug Fixes
413
-
414
- - range letterspacing
415
-
416
- # [0.12.0] (2021-11-09)
417
-
418
- ### Bug Fixes
419
-
420
- - text setRangeFont
421
-
422
- # [0.11.0] (2021-11-04)
423
-
424
- ### Features
425
-
426
- - add removed
427
-
428
- # [0.10.0] (2021-11-02)
429
-
430
- ## [0.9.1] (2021-10-28)
431
-
432
- ### Features
433
-
434
- - 补充组件与实例相关接口
435
-
436
- # [0.9.0] (2021-10-28)
437
-
438
- ### Features
439
-
440
- - 文本节点相关接口类型
441
-
442
- ## [0.8.1] (2021-10-27)
443
-
444
- ### Features
445
-
446
- - 字体加载 api
447
-
448
- # [0.8.0] (2021-10-27)
449
-
450
- ### Features
451
-
452
- - 添加 clone() 类型
453
-
454
- ## [0.7.1] (2021-10-26)
455
-
456
- ### Bug Fixes
457
-
458
- - BlurEffect 增加 blendMode
459
-
460
- # [0.7.0] (2021-10-26)
461
-
462
- ### Features
463
-
464
- - 补充样式相关的 api
465
-
466
- ## [0.6.1] (2021-10-18)
467
-
468
- ### Features
469
-
470
- - 支持 flexGrow 和 alignSelf
471
-
472
- # [0.6.0] (2021-10-11)
473
-
474
- ### Features
475
-
476
- - support ui.notify() & mastergo.saveVersionHistoryAsync
477
-
478
- # [0.5.0] (2021-10-09)
479
-
480
- ### Features
481
-
482
- - auto layout
483
-
484
- ## [0.4.9] (2021-09-28)
485
-
486
- ### Bug Fixes
487
-
488
- - some tweak
489
-
490
- ## [0.4.8] (2021-09-26)
491
-
492
- ### Bug Fixes
493
-
494
- - export typings
495
-
496
- ## [0.4.7] (2021-09-24)
497
-
498
- ### Bug Fixes
499
-
500
- - rename bound to bounds
501
-
502
- ## [0.4.6] (2021-09-24)
503
-
504
- ### Bug Fixes
505
-
506
- - the type of ui.onmessage
507
-
508
- ## [0.4.5] (2021-09-24)
509
-
510
- ### Bug Fixes
511
-
512
- - tweak the type of ui.postMessage
513
-
514
- ## [0.4.4] (2021-09-23)
515
-
516
- ### Bug Fixes
517
-
518
- - the off type
519
- - types
520
-
521
- ## [0.4.3] (2021-09-23)
522
-
523
- ### Bug Fixes
524
-
525
- - PageNode's children should be SceneNode
526
-
527
- ## [0.4.2] (2021-09-23)
528
-
529
- ### Bug Fixes
530
-
531
- - tweak typings
532
-
533
- ## [0.4.1] (2021-09-22)
534
-
535
- ### Bug Fixes
536
-
537
- - upgrade layout mixin
538
-
539
- # [0.4.0] (2021-09-22)
540
-
541
- ### Features
542
-
543
- - support children methods
544
-
545
- # [0.3.0] (2021-09-17)
546
-
547
- ### Features
548
-
549
- - support some methods
550
-
551
- # [0.2.0] (2021-09-17)
552
-
553
- ### Bug Fixes
554
-
555
- - concat dts
556
-
557
- # 0.1.0 (2021-09-17)