@mastergo/plugin-typings 1.1.0 → 1.2.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 +496 -0
- package/dist/index.d.ts +10 -12
- package/package.json +1 -1
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,496 @@
|
|
|
1
|
+
# [1.2.0](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.35.0...v1.2.0) (2022-09-25)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
# [1.1.0](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.33.1...v1.1.0) (2022-09-16)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* 限制连接线的strokeAlign为center ([10a8b74](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/10a8b74dcecd42434c818a9c689c0cd30a6336bb))
|
|
11
|
+
* 修复connector的strokeAlign可写的bug ([94f5446](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/94f5446dd71cf3b99c68ecd4ed725b80c712743b))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
* 添加textcase类型 ([7ca6a6d](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/7ca6a6d413ea19155b1375e9493afa34213afcb9))
|
|
17
|
+
* 完善连接点类型 ([a9933cb](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/a9933cba72167c2b5cdac8e7451961e9b9d72bd2))
|
|
18
|
+
* 移除超链接,等待接入新版 ([f8ad6c8](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/f8ad6c81d92b380ba099d1ac0263f5e60da81079))
|
|
19
|
+
* 移除createText参数 ([8d94515](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/8d9451549d6e1d939a088cca8dd5db9a92bf8d37))
|
|
20
|
+
* 增加connector类型typings ([78492b7](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/78492b7b7ad15f5363f4a33e8424a20009c944ab))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
# [1.0.0](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.33.0...v1.0.0) (2022-09-02)
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### Bug Fixes
|
|
28
|
+
|
|
29
|
+
* 修复strokeStyle type错误问题 ([a2bc901](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/a2bc9014da31e0ad6ec55966b646b3ba3dec66a7))
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
### Features
|
|
33
|
+
|
|
34
|
+
* 补充lineNode strokeCap ([dedf49f](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/dedf49fe10e8d6efdfdd2bfe1350997cec58df3a))
|
|
35
|
+
* 补充scaleMode ([1678a53](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/1678a53e5901caf95ffa3113b90a032c5475c5bf))
|
|
36
|
+
* 更新package设置及readme ([e99c60a](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/e99c60aa8f5fdc7c49b60e9967217e4034db6ffd))
|
|
37
|
+
* 整理npm包,移除工具函数 ([0ca34b8](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/0ca34b85e1ff38c3d15d235fdf2bc175c36e00ef))
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
# [1.0.0](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.33.0...v1.0.0) (2022-09-02)
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
### Bug Fixes
|
|
45
|
+
|
|
46
|
+
* 修复strokeStyle type错误问题 ([a2bc901](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/a2bc9014da31e0ad6ec55966b646b3ba3dec66a7))
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
### Features
|
|
50
|
+
|
|
51
|
+
* 补充lineNode strokeCap ([dedf49f](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/dedf49fe10e8d6efdfdd2bfe1350997cec58df3a))
|
|
52
|
+
* 补充scaleMode ([1678a53](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/1678a53e5901caf95ffa3113b90a032c5475c5bf))
|
|
53
|
+
* 更新package设置及readme ([e99c60a](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/e99c60aa8f5fdc7c49b60e9967217e4034db6ffd))
|
|
54
|
+
* 整理npm包,移除工具函数 ([0ca34b8](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/0ca34b85e1ff38c3d15d235fdf2bc175c36e00ef))
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
# [1.0.0](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.33.0...v1.0.0) (2022-09-02)
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
### Bug Fixes
|
|
62
|
+
|
|
63
|
+
* 修复strokeStyle type错误问题 ([a2bc901](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/a2bc9014da31e0ad6ec55966b646b3ba3dec66a7))
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
### Features
|
|
67
|
+
|
|
68
|
+
* 补充lineNode strokeCap ([dedf49f](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/dedf49fe10e8d6efdfdd2bfe1350997cec58df3a))
|
|
69
|
+
* 补充scaleMode ([1678a53](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/1678a53e5901caf95ffa3113b90a032c5475c5bf))
|
|
70
|
+
* 更新package设置及readme ([e99c60a](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/e99c60aa8f5fdc7c49b60e9967217e4034db6ffd))
|
|
71
|
+
* 整理npm包,移除工具函数 ([0ca34b8](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/0ca34b85e1ff38c3d15d235fdf2bc175c36e00ef))
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
# [1.1.0](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.33.0...v1.1.0) (2022-09-02)
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
### Bug Fixes
|
|
79
|
+
|
|
80
|
+
* 修复strokeStyle type错误问题 ([a2bc901](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/a2bc9014da31e0ad6ec55966b646b3ba3dec66a7))
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
### Features
|
|
84
|
+
|
|
85
|
+
* 补充lineNode strokeCap ([dedf49f](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/dedf49fe10e8d6efdfdd2bfe1350997cec58df3a))
|
|
86
|
+
* 补充scaleMode ([1678a53](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/1678a53e5901caf95ffa3113b90a032c5475c5bf))
|
|
87
|
+
* 更新package设置及readme ([e99c60a](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/e99c60aa8f5fdc7c49b60e9967217e4034db6ffd))
|
|
88
|
+
* 整理npm包,移除工具函数 ([0ca34b8](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/0ca34b85e1ff38c3d15d235fdf2bc175c36e00ef))
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
# [0.4.0](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.29.0...v0.4.0) (2022-07-22)
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
### Bug Fixes
|
|
96
|
+
|
|
97
|
+
* 修复booleanoperation的type错误 ([c44b0b9](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/c44b0b9018e59b12ba80ecf6a801c0b0cedbcbb3))
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
### Features
|
|
101
|
+
|
|
102
|
+
* 添加单边描边类型 ([cf13950](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/cf13950c2250e830dc7aa07f6bbd2cc239888514))
|
|
103
|
+
* 增加获取自定义样式列表接口 ([a2cb279](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/a2cb27961a9cc6ddf903eaaf784b70c6e7236c01))
|
|
104
|
+
* 增加document name 属性 ([3bdbc53](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/3bdbc53b45aaf6d85d4ebccafb42f920facdf329))
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
## [0.3.1](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.29.0...v0.3.1) (2022-07-08)
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
# [0.3.0](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.29.0...v0.3.0) (2022-07-08)
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
# [0.3.0](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.29.0...v0.3.0) (2022-07-08)
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
# [0.2.0](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.28.0...v0.2.0) (2022-07-01)
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
# [0.27.0](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.26.1...v0.27.0) (2022-01-25)
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
### Features
|
|
128
|
+
|
|
129
|
+
* new mg api ([34d673b](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/34d673b0880a1c09c2c871c120a2ab59130e02f2))
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
## [0.26.1](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.26.0...v0.26.1) (2021-12-23)
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
# [0.26.0](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.25.1...v0.26.0) (2021-12-23)
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
### Features
|
|
141
|
+
|
|
142
|
+
* 添加颜色转换函数 ([337b772](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/337b772059fda076afc8236c88be65fedcf0c1fd))
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
## [0.25.1](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.25.0...v0.25.1) (2021-12-23)
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
# [0.25.0](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.24.0...v0.25.0) (2021-12-22)
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
### Features
|
|
154
|
+
|
|
155
|
+
* 添加 paint 工具函数 ([49ffaa7](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/49ffaa70a001710634997d9b930e57873a92cead))
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
# [0.24.0](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.23.1...v0.24.0) (2021-12-21)
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
### Features
|
|
163
|
+
|
|
164
|
+
* add useAbsoluteBounds for ExportSettings ([5d76ba1](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/5d76ba1e3881a7c1c18c8b10c986b6bb501fdcdb))
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
## [0.23.1](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.23.0...v0.23.1) (2021-12-21)
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
### Features
|
|
172
|
+
|
|
173
|
+
* add visible option for ShowUIOptions ([23d7bec](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/23d7bec716fd559bc4cd13db629b1f780a2c5e10))
|
|
174
|
+
* update ([f007c52](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/f007c52db9b2138d2e6f7853a917e1e777246ca6))
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
# [0.23.0](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.22.1...v0.23.0) (2021-12-21)
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
### Features
|
|
182
|
+
|
|
183
|
+
* add relativeTransform ([315c9fe](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/315c9fe49230f4433f3f1e3caea4375f6cb5d7a6))
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
## [0.22.1](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.11.1...v0.22.1) (2021-12-20)
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
# [0.22.0](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.21.0...v0.22.0) (2021-11-30)
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
### Bug Fixes
|
|
195
|
+
|
|
196
|
+
* change showUI interface ([68508f3](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/68508f34c9f1ba9beffe3dd85d0a703da279a728))
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
# [0.21.0](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.20.0...v0.21.0) (2021-11-17)
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
### Features
|
|
204
|
+
|
|
205
|
+
* add text superlink interfacee ([4ad64db](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/4ad64db3a472daeb8dd10ecbb281aa8c8e677c0d))
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
# [0.20.0](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.19.0...v0.20.0) (2021-11-17)
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
### Bug Fixes
|
|
213
|
+
|
|
214
|
+
* fix notify ([cba2945](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/cba29456843fd38bece7bc19249986c65fe9dcd2))
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
# [0.19.0](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.18.0...v0.19.0) (2021-11-17)
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
### Bug Fixes
|
|
222
|
+
|
|
223
|
+
* fix notify interface ([46c9d6e](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/46c9d6e905685d2128a13dc662f09584ca49ef4f))
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
# [0.18.0](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.17.0...v0.18.0) (2021-11-17)
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
### Bug Fixes
|
|
231
|
+
|
|
232
|
+
* remove useless imagePaint properties ([601cc04](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/601cc04383d719fea946f3029fb236b08cf38d7b))
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
# [0.17.0](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.16.0...v0.17.0) (2021-11-17)
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
### Features
|
|
240
|
+
|
|
241
|
+
* add image interface and createImage ([7a46f2c](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/7a46f2c3ef3927be4dab146db80212922d0c9d05))
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
# [0.16.0](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.15.0...v0.16.0) (2021-11-09)
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
### Bug Fixes
|
|
249
|
+
|
|
250
|
+
* setRangeTextDecoration ([bb462cc](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/bb462ccf75875de650d1c9fc455f55443c03a2a1))
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
# [0.15.0](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.14.0...v0.15.0) (2021-11-09)
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
### Bug Fixes
|
|
258
|
+
|
|
259
|
+
* setRangeLineHeight ([49fb33e](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/49fb33e2eff36e0c97ae8060903310bfde4caa78))
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
# [0.14.0](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.13.0...v0.14.0) (2021-11-09)
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
### Bug Fixes
|
|
267
|
+
|
|
268
|
+
* lineheight ([173e438](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/173e438e7c872926c72c8c631e3a71883165fbcd))
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
# [0.13.0](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.12.0...v0.13.0) (2021-11-09)
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
### Bug Fixes
|
|
276
|
+
|
|
277
|
+
* range letterspacing ([176d0ab](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/176d0abb067604e1c2163bea1d28425fca50d315))
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
# [0.12.0](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.10.0...v0.12.0) (2021-11-09)
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
### Bug Fixes
|
|
285
|
+
|
|
286
|
+
* text setRangeFont ([bc3308c](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/bc3308c4fc7b037dfa4f53675d89893c6ffcbb22))
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
### Features
|
|
290
|
+
|
|
291
|
+
* add removed ([61c06ce](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/61c06ce0d2c7f1921d8ba5f1c0b2156f952a5674))
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
# [0.22.0](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.21.0...v0.22.0) (2021-11-30)
|
|
296
|
+
|
|
297
|
+
### Bug Fixes
|
|
298
|
+
|
|
299
|
+
- change showUI interface ([68508f3](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/68508f34c9f1ba9beffe3dd85d0a703da279a728))
|
|
300
|
+
|
|
301
|
+
# [0.21.0](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.20.0...v0.21.0) (2021-11-17)
|
|
302
|
+
|
|
303
|
+
### Features
|
|
304
|
+
|
|
305
|
+
- add text superlink interfacee ([4ad64db](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/4ad64db3a472daeb8dd10ecbb281aa8c8e677c0d))
|
|
306
|
+
|
|
307
|
+
# [0.20.0](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.19.0...v0.20.0) (2021-11-17)
|
|
308
|
+
|
|
309
|
+
### Bug Fixes
|
|
310
|
+
|
|
311
|
+
- fix notify ([cba2945](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/cba29456843fd38bece7bc19249986c65fe9dcd2))
|
|
312
|
+
|
|
313
|
+
# [0.19.0](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.18.0...v0.19.0) (2021-11-17)
|
|
314
|
+
|
|
315
|
+
### Bug Fixes
|
|
316
|
+
|
|
317
|
+
- fix notify interface ([46c9d6e](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/46c9d6e905685d2128a13dc662f09584ca49ef4f))
|
|
318
|
+
|
|
319
|
+
# [0.18.0](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.17.0...v0.18.0) (2021-11-17)
|
|
320
|
+
|
|
321
|
+
### Bug Fixes
|
|
322
|
+
|
|
323
|
+
- remove useless imagePaint properties ([601cc04](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/601cc04383d719fea946f3029fb236b08cf38d7b))
|
|
324
|
+
|
|
325
|
+
# [0.17.0](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.16.0...v0.17.0) (2021-11-17)
|
|
326
|
+
|
|
327
|
+
### Features
|
|
328
|
+
|
|
329
|
+
- add image interface and createImage ([7a46f2c](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/7a46f2c3ef3927be4dab146db80212922d0c9d05))
|
|
330
|
+
|
|
331
|
+
# [0.16.0](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.15.0...v0.16.0) (2021-11-09)
|
|
332
|
+
|
|
333
|
+
### Bug Fixes
|
|
334
|
+
|
|
335
|
+
- setRangeTextDecoration ([bb462cc](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/bb462ccf75875de650d1c9fc455f55443c03a2a1))
|
|
336
|
+
|
|
337
|
+
# [0.15.0](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.14.0...v0.15.0) (2021-11-09)
|
|
338
|
+
|
|
339
|
+
### Bug Fixes
|
|
340
|
+
|
|
341
|
+
- setRangeLineHeight ([49fb33e](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/49fb33e2eff36e0c97ae8060903310bfde4caa78))
|
|
342
|
+
|
|
343
|
+
# [0.14.0](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.13.0...v0.14.0) (2021-11-09)
|
|
344
|
+
|
|
345
|
+
### Bug Fixes
|
|
346
|
+
|
|
347
|
+
- lineheight ([173e438](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/173e438e7c872926c72c8c631e3a71883165fbcd))
|
|
348
|
+
|
|
349
|
+
# [0.13.0](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.12.0...v0.13.0) (2021-11-09)
|
|
350
|
+
|
|
351
|
+
### Bug Fixes
|
|
352
|
+
|
|
353
|
+
- range letterspacing ([176d0ab](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/176d0abb067604e1c2163bea1d28425fca50d315))
|
|
354
|
+
|
|
355
|
+
# [0.12.0](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.11.0...v0.12.0) (2021-11-09)
|
|
356
|
+
|
|
357
|
+
### Bug Fixes
|
|
358
|
+
|
|
359
|
+
- text setRangeFont ([bc3308c](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/bc3308c4fc7b037dfa4f53675d89893c6ffcbb22))
|
|
360
|
+
|
|
361
|
+
# [0.11.0](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.10.0...v0.11.0) (2021-11-04)
|
|
362
|
+
|
|
363
|
+
### Features
|
|
364
|
+
|
|
365
|
+
- add removed ([61c06ce](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/61c06ce0d2c7f1921d8ba5f1c0b2156f952a5674))
|
|
366
|
+
|
|
367
|
+
# [0.10.0](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.9.1...v0.10.0) (2021-11-02)
|
|
368
|
+
|
|
369
|
+
## [0.9.1](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.9.0...v0.9.1) (2021-10-28)
|
|
370
|
+
|
|
371
|
+
### Features
|
|
372
|
+
|
|
373
|
+
- 补充组件与实例相关接口 ([0fb1957](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/0fb195794e27acd9d1dfa35de74b0aff1de57a60))
|
|
374
|
+
|
|
375
|
+
# [0.9.0](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.8.1...v0.9.0) (2021-10-28)
|
|
376
|
+
|
|
377
|
+
### Features
|
|
378
|
+
|
|
379
|
+
- 文本节点相关接口类型 ([0a917da](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/0a917dac5d8831929efe25b659ce27eb1d9ac2e8))
|
|
380
|
+
|
|
381
|
+
## [0.8.1](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.8.0...v0.8.1) (2021-10-27)
|
|
382
|
+
|
|
383
|
+
### Features
|
|
384
|
+
|
|
385
|
+
- 字体加载 api ([11f2243](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/11f224357d673e87d3745b575fde0afad364bc18))
|
|
386
|
+
|
|
387
|
+
# [0.8.0](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.7.1...v0.8.0) (2021-10-27)
|
|
388
|
+
|
|
389
|
+
### Features
|
|
390
|
+
|
|
391
|
+
- 添加 clone() 类型 ([64a2a28](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/64a2a287e231ab3a32ad12ae9a7c11d5864041f6))
|
|
392
|
+
|
|
393
|
+
## [0.7.1](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.7.0...v0.7.1) (2021-10-26)
|
|
394
|
+
|
|
395
|
+
### Bug Fixes
|
|
396
|
+
|
|
397
|
+
- BlurEffect 增加 blendMode ([c1b7704](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/c1b770467eda18cb958fe81f71dc89bed02749ad))
|
|
398
|
+
|
|
399
|
+
# [0.7.0](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.6.1...v0.7.0) (2021-10-26)
|
|
400
|
+
|
|
401
|
+
### Features
|
|
402
|
+
|
|
403
|
+
- 补充样式相关的 api ([6c605e5](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/6c605e5763553403601d313155c3a258526f4526))
|
|
404
|
+
|
|
405
|
+
## [0.6.1](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.6.0...v0.6.1) (2021-10-18)
|
|
406
|
+
|
|
407
|
+
### Features
|
|
408
|
+
|
|
409
|
+
- 支持 flexGrow 和 alignSelf ([677f7dd](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/677f7dd4c72ebe27f23bf3848ddd64375a86c5a5))
|
|
410
|
+
|
|
411
|
+
# [0.6.0](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.5.0...v0.6.0) (2021-10-11)
|
|
412
|
+
|
|
413
|
+
### Features
|
|
414
|
+
|
|
415
|
+
- support ui.notify() & mastergo.saveVersionHistoryAsync ([6daf854](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/6daf8542ded688308cc0bc1d3aeba04ab5607af8))
|
|
416
|
+
|
|
417
|
+
# [0.5.0](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.4.9...v0.5.0) (2021-10-09)
|
|
418
|
+
|
|
419
|
+
### Features
|
|
420
|
+
|
|
421
|
+
- auto layout ([d1689c1](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/d1689c1d05fb36e610746e7905446e740c9e8401))
|
|
422
|
+
|
|
423
|
+
## [0.4.9](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.4.8...v0.4.9) (2021-09-28)
|
|
424
|
+
|
|
425
|
+
### Bug Fixes
|
|
426
|
+
|
|
427
|
+
- some tweak ([35f0469](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/35f0469a5e7d42ab3a3d2bc9d20682bbb58bf49e))
|
|
428
|
+
|
|
429
|
+
## [0.4.8](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.4.7...v0.4.8) (2021-09-26)
|
|
430
|
+
|
|
431
|
+
### Bug Fixes
|
|
432
|
+
|
|
433
|
+
- export typings ([7f5438d](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/7f5438d2dcda00f27a6fdf484c4a391766938ad8))
|
|
434
|
+
|
|
435
|
+
## [0.4.7](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.4.6...v0.4.7) (2021-09-24)
|
|
436
|
+
|
|
437
|
+
### Bug Fixes
|
|
438
|
+
|
|
439
|
+
- rename bound to bounds ([4e7ce3f](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/4e7ce3fe80a9d5a754f8b4b3b89aa01c4725a33e))
|
|
440
|
+
|
|
441
|
+
## [0.4.6](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.4.5...v0.4.6) (2021-09-24)
|
|
442
|
+
|
|
443
|
+
### Bug Fixes
|
|
444
|
+
|
|
445
|
+
- the type of ui.onmessage ([c870021](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/c8700216a0c75592ce1fdebe339e83f1471231e2))
|
|
446
|
+
|
|
447
|
+
## [0.4.5](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.4.4...v0.4.5) (2021-09-24)
|
|
448
|
+
|
|
449
|
+
### Bug Fixes
|
|
450
|
+
|
|
451
|
+
- tweak the type of ui.postMessage ([9c2e9a6](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/9c2e9a6b1045e0a559d76a4cc41d451e7d983743))
|
|
452
|
+
|
|
453
|
+
## [0.4.4](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.4.3...v0.4.4) (2021-09-23)
|
|
454
|
+
|
|
455
|
+
### Bug Fixes
|
|
456
|
+
|
|
457
|
+
- the off type ([77973a2](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/77973a2f0016bcf595783440eb3c5a490ad2eb86))
|
|
458
|
+
- types ([6fe3389](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/6fe3389f4b823261deb670e9568ccc29ddb16472))
|
|
459
|
+
|
|
460
|
+
## [0.4.3](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.4.2...v0.4.3) (2021-09-23)
|
|
461
|
+
|
|
462
|
+
### Bug Fixes
|
|
463
|
+
|
|
464
|
+
- PageNode's children should be SceneNode ([c0f2381](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/c0f23811bb81b56849dff4957c052f196207af66))
|
|
465
|
+
|
|
466
|
+
## [0.4.2](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.4.1...v0.4.2) (2021-09-23)
|
|
467
|
+
|
|
468
|
+
### Bug Fixes
|
|
469
|
+
|
|
470
|
+
- tweak typings ([51678a8](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/51678a874b5712630538e2a6a1307076bcb5029c))
|
|
471
|
+
|
|
472
|
+
## [0.4.1](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.4.0...v0.4.1) (2021-09-22)
|
|
473
|
+
|
|
474
|
+
### Bug Fixes
|
|
475
|
+
|
|
476
|
+
- upgrade layout mixin ([08f1ee7](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/08f1ee7fb1c3300b3ebd618d57e5713ab929d338))
|
|
477
|
+
|
|
478
|
+
# [0.4.0](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.3.0...v0.4.0) (2021-09-22)
|
|
479
|
+
|
|
480
|
+
### Features
|
|
481
|
+
|
|
482
|
+
- support children methods ([f52e447](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/f52e44764b1018ced4be14c06a01d318b8d4fdff))
|
|
483
|
+
|
|
484
|
+
# [0.3.0](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.2.0...v0.3.0) (2021-09-17)
|
|
485
|
+
|
|
486
|
+
### Features
|
|
487
|
+
|
|
488
|
+
- support some methods ([fc9fe0a](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/fc9fe0aaebc858dc6d1bd7b4819ab44f750b37dd))
|
|
489
|
+
|
|
490
|
+
# [0.2.0](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/compare/v0.1.0...v0.2.0) (2021-09-17)
|
|
491
|
+
|
|
492
|
+
### Bug Fixes
|
|
493
|
+
|
|
494
|
+
- concat dts ([25d3643](https://gitlab.lanhuapp.com/master/frontend/master-plugin-utils/commit/25d3643669f59891bb6a8b301b04d59b3f55cfd9))
|
|
495
|
+
|
|
496
|
+
# 0.1.0 (2021-09-17)
|
package/dist/index.d.ts
CHANGED
|
@@ -325,7 +325,7 @@ declare global {
|
|
|
325
325
|
| 'GRADIENT_DIAMOND'
|
|
326
326
|
readonly transform: Transform
|
|
327
327
|
readonly gradientStops: ReadonlyArray<ColorStop>
|
|
328
|
-
readonly gradientHandlePositions
|
|
328
|
+
readonly gradientHandlePositions?: [{ x: number, y: number}, { x: number, y: number}];
|
|
329
329
|
readonly isVisible?: boolean
|
|
330
330
|
readonly alpha?: number
|
|
331
331
|
readonly blendMode?: BlendMode
|
|
@@ -543,7 +543,6 @@ declare global {
|
|
|
543
543
|
ReactionMixin,
|
|
544
544
|
SceneNodeMixin,
|
|
545
545
|
ChildrenMixin,
|
|
546
|
-
RectangleStrokeWeightMixin,
|
|
547
546
|
RectangleCornerMixin,
|
|
548
547
|
BlendMixin,
|
|
549
548
|
CornerMixin,
|
|
@@ -678,12 +677,12 @@ declare global {
|
|
|
678
677
|
label:'NONE' | 'BLUE' | 'GREEN' | 'RED' | 'YELLOW' | 'PURPLE' | 'GRAY'
|
|
679
678
|
}
|
|
680
679
|
|
|
681
|
-
interface FrameNode extends DefaultContainerMixin, GeometryMixin, FrameContainerMixin {
|
|
680
|
+
interface FrameNode extends DefaultContainerMixin, GeometryMixin, FrameContainerMixin, RectangleStrokeWeightMixin {
|
|
682
681
|
readonly type: 'FRAME'
|
|
683
682
|
clone(): FrameNode
|
|
684
683
|
}
|
|
685
684
|
|
|
686
|
-
interface ComponentSetNode extends DefaultContainerMixin, GeometryMixin, FrameContainerMixin {
|
|
685
|
+
interface ComponentSetNode extends DefaultContainerMixin, GeometryMixin, FrameContainerMixin, RectangleStrokeWeightMixin {
|
|
687
686
|
readonly type: 'COMPONENT_SET'
|
|
688
687
|
readonly componentPropertyDefinitions: Array<Record<string, Array<string> | string>>
|
|
689
688
|
clone(): ComponentSetNode
|
|
@@ -816,7 +815,7 @@ declare global {
|
|
|
816
815
|
setRangeTextCase(start: number, end: number, textCase: TextCase): void
|
|
817
816
|
}
|
|
818
817
|
|
|
819
|
-
interface ComponentNode extends DefaultContainerMixin, GeometryMixin, FrameContainerMixin {
|
|
818
|
+
interface ComponentNode extends DefaultContainerMixin, GeometryMixin, FrameContainerMixin, RectangleStrokeWeightMixin {
|
|
820
819
|
readonly type: 'COMPONENT'
|
|
821
820
|
readonly variantProperties: Array<Record<string, string>>
|
|
822
821
|
description: string
|
|
@@ -825,7 +824,7 @@ declare global {
|
|
|
825
824
|
createInstance(): InstanceNode
|
|
826
825
|
}
|
|
827
826
|
|
|
828
|
-
interface InstanceNode extends DefaultContainerMixin, GeometryMixin, FrameContainerMixin {
|
|
827
|
+
interface InstanceNode extends DefaultContainerMixin, GeometryMixin, FrameContainerMixin, RectangleStrokeWeightMixin {
|
|
829
828
|
readonly type: 'INSTANCE'
|
|
830
829
|
readonly variantProperties: Array<Record<string, string>>
|
|
831
830
|
setVariantPropertyValues(property: Record<string, string>): void
|
|
@@ -1335,7 +1334,7 @@ declare global {
|
|
|
1335
1334
|
| 'GRADIENT_DIAMOND'
|
|
1336
1335
|
readonly transform: Transform
|
|
1337
1336
|
readonly gradientStops: ReadonlyArray<ColorStop>
|
|
1338
|
-
readonly gradientHandlePositions
|
|
1337
|
+
readonly gradientHandlePositions?: [{ x: number, y: number}, { x: number, y: number}];
|
|
1339
1338
|
readonly isVisible?: boolean
|
|
1340
1339
|
readonly alpha?: number
|
|
1341
1340
|
readonly blendMode?: BlendMode
|
|
@@ -1553,7 +1552,6 @@ declare global {
|
|
|
1553
1552
|
ReactionMixin,
|
|
1554
1553
|
SceneNodeMixin,
|
|
1555
1554
|
ChildrenMixin,
|
|
1556
|
-
RectangleStrokeWeightMixin,
|
|
1557
1555
|
RectangleCornerMixin,
|
|
1558
1556
|
BlendMixin,
|
|
1559
1557
|
CornerMixin,
|
|
@@ -1688,12 +1686,12 @@ declare global {
|
|
|
1688
1686
|
label:'NONE' | 'BLUE' | 'GREEN' | 'RED' | 'YELLOW' | 'PURPLE' | 'GRAY'
|
|
1689
1687
|
}
|
|
1690
1688
|
|
|
1691
|
-
interface FrameNode extends DefaultContainerMixin, GeometryMixin, FrameContainerMixin {
|
|
1689
|
+
interface FrameNode extends DefaultContainerMixin, GeometryMixin, FrameContainerMixin, RectangleStrokeWeightMixin {
|
|
1692
1690
|
readonly type: 'FRAME'
|
|
1693
1691
|
clone(): FrameNode
|
|
1694
1692
|
}
|
|
1695
1693
|
|
|
1696
|
-
interface ComponentSetNode extends DefaultContainerMixin, GeometryMixin, FrameContainerMixin {
|
|
1694
|
+
interface ComponentSetNode extends DefaultContainerMixin, GeometryMixin, FrameContainerMixin, RectangleStrokeWeightMixin {
|
|
1697
1695
|
readonly type: 'COMPONENT_SET'
|
|
1698
1696
|
readonly componentPropertyDefinitions: Array<Record<string, Array<string> | string>>
|
|
1699
1697
|
clone(): ComponentSetNode
|
|
@@ -1826,7 +1824,7 @@ declare global {
|
|
|
1826
1824
|
setRangeTextCase(start: number, end: number, textCase: TextCase): void
|
|
1827
1825
|
}
|
|
1828
1826
|
|
|
1829
|
-
interface ComponentNode extends DefaultContainerMixin, GeometryMixin, FrameContainerMixin {
|
|
1827
|
+
interface ComponentNode extends DefaultContainerMixin, GeometryMixin, FrameContainerMixin, RectangleStrokeWeightMixin {
|
|
1830
1828
|
readonly type: 'COMPONENT'
|
|
1831
1829
|
readonly variantProperties: Array<Record<string, string>>
|
|
1832
1830
|
description: string
|
|
@@ -1835,7 +1833,7 @@ declare global {
|
|
|
1835
1833
|
createInstance(): InstanceNode
|
|
1836
1834
|
}
|
|
1837
1835
|
|
|
1838
|
-
interface InstanceNode extends DefaultContainerMixin, GeometryMixin, FrameContainerMixin {
|
|
1836
|
+
interface InstanceNode extends DefaultContainerMixin, GeometryMixin, FrameContainerMixin, RectangleStrokeWeightMixin {
|
|
1839
1837
|
readonly type: 'INSTANCE'
|
|
1840
1838
|
readonly variantProperties: Array<Record<string, string>>
|
|
1841
1839
|
setVariantPropertyValues(property: Record<string, string>): void
|