@hufe921/canvas-editor 0.9.123 → 0.9.125
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 +43 -0
- package/dist/canvas-editor.es.js +532 -114
- package/dist/canvas-editor.es.js.map +1 -1
- package/dist/canvas-editor.umd.js +39 -39
- package/dist/canvas-editor.umd.js.map +1 -1
- package/dist/src/editor/core/command/Command.d.ts +3 -0
- package/dist/src/editor/core/command/CommandAdapt.d.ts +8 -2
- package/dist/src/editor/core/draw/Draw.d.ts +1 -0
- package/dist/src/editor/core/draw/control/Control.d.ts +1 -0
- package/dist/src/editor/core/draw/control/date/DateControl.d.ts +0 -1
- package/dist/src/editor/core/draw/control/number/Calculator.d.ts +16 -0
- package/dist/src/editor/core/draw/control/number/NumberControl.d.ts +7 -0
- package/dist/src/editor/core/draw/particle/ImageParticle.d.ts +5 -1
- package/dist/src/editor/core/draw/particle/LabelParticle.d.ts +8 -0
- package/dist/src/editor/dataset/constant/Common.d.ts +1 -1
- package/dist/src/editor/dataset/constant/ImgCaption.d.ts +2 -0
- package/dist/src/editor/dataset/constant/Label.d.ts +2 -0
- package/dist/src/editor/dataset/enum/Control.d.ts +6 -0
- package/dist/src/editor/dataset/enum/Element.d.ts +2 -1
- package/dist/src/editor/interface/Control.d.ts +6 -1
- package/dist/src/editor/interface/Editor.d.ts +4 -0
- package/dist/src/editor/interface/Element.d.ts +34 -1
- package/dist/src/editor/interface/EventBus.d.ts +3 -1
- package/dist/src/editor/interface/Label.d.ts +7 -0
- package/dist/src/editor/interface/Listener.d.ts +8 -0
- package/dist/src/editor/interface/Position.d.ts +2 -0
- package/dist/src/editor/interface/contextmenu/ContextMenu.d.ts +3 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,46 @@
|
|
|
1
|
+
## [0.9.125](https://github.com/Hufe921/canvas-editor/compare/v0.9.124...v0.9.125) (2026-02-07)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Chores
|
|
5
|
+
|
|
6
|
+
* add CLAUDE.md ([f01024e](https://github.com/Hufe921/canvas-editor/commit/f01024e8013305af567d4eba3e918d256de4de45))
|
|
7
|
+
* add formatOnSave option ([8d6e873](https://github.com/Hufe921/canvas-editor/commit/8d6e873e2d7983aad16388c1fa5808cfb9c78ce9))
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
* add executeHideCursor api #1352 ([bf41f69](https://github.com/Hufe921/canvas-editor/commit/bf41f69a80964a076e49fe383fce3520d2887284)), closes [#1352](https://github.com/Hufe921/canvas-editor/issues/1352)
|
|
13
|
+
* add executeSetImageCrop api to support image cropping #1327 ([bc066f3](https://github.com/Hufe921/canvas-editor/commit/bc066f3316ca3fac145be533fe19d9ca259092bc)), closes [#1327](https://github.com/Hufe921/canvas-editor/issues/1327)
|
|
14
|
+
* add image caption #1326 ([45d01fc](https://github.com/Hufe921/canvas-editor/commit/45d01fc7738aad0837bf40cce120b77606d3d608)), closes [#1326](https://github.com/Hufe921/canvas-editor/issues/1326)
|
|
15
|
+
* add image preview disable option and double click callback #1351 ([cdaf5fc](https://github.com/Hufe921/canvas-editor/commit/cdaf5fc1f39c5a0d7d4a7de8818ad3ebcf20aeee)), closes [#1351](https://github.com/Hufe921/canvas-editor/issues/1351)
|
|
16
|
+
* add label element and event #859 ([570b9c1](https://github.com/Hufe921/canvas-editor/commit/570b9c1c752207a8e748220d107297f9c22a27fe)), closes [#859](https://github.com/Hufe921/canvas-editor/issues/859)
|
|
17
|
+
* add lineWidth and color to the separator #674 ([0f191a4](https://github.com/Hufe921/canvas-editor/commit/0f191a4275822c6f127cd3f2dfa4147b0e462e9e)), closes [#674](https://github.com/Hufe921/canvas-editor/issues/674)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
## [0.9.124](https://github.com/Hufe921/canvas-editor/compare/v0.9.123...v0.9.124) (2026-01-31)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Bug Fixes
|
|
25
|
+
|
|
26
|
+
* checkbox not selectable on first click in form mode #1347 ([66e5a31](https://github.com/Hufe921/canvas-editor/commit/66e5a31bb90e6ec1b61b49ca86a2d8d8c9ada1c0)), closes [#1347](https://github.com/Hufe921/canvas-editor/issues/1347)
|
|
27
|
+
* copy style before title line break #1339 ([5c1b341](https://github.com/Hufe921/canvas-editor/commit/5c1b3410ee9cfc48026f15b2533b16b1b108fbe2)), closes [#1339](https://github.com/Hufe921/canvas-editor/issues/1339)
|
|
28
|
+
* cursor unable to focus table when resizing last row in paged continuous mode #1349 ([d9449ff](https://github.com/Hufe921/canvas-editor/commit/d9449ff1bdd24b45363706780c8941a60c3db003)), closes [#1349](https://github.com/Hufe921/canvas-editor/issues/1349)
|
|
29
|
+
* layout shift when typing descended character or symbols #1342 ([d89c0ad](https://github.com/Hufe921/canvas-editor/commit/d89c0adea0894801bb5d36e371175faadc115c10)), closes [#1342](https://github.com/Hufe921/canvas-editor/issues/1342)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
### Chores
|
|
33
|
+
|
|
34
|
+
* add AGENTS.md ([4d57daf](https://github.com/Hufe921/canvas-editor/commit/4d57daf43cc830c7393dc1fe77150e6b7add3a62))
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
### Features
|
|
38
|
+
|
|
39
|
+
* add calculator to number control #925 ([fbd8b6a](https://github.com/Hufe921/canvas-editor/commit/fbd8b6a3ba358c2baecad839fb554f881d3206f1)), closes [#925](https://github.com/Hufe921/canvas-editor/issues/925)
|
|
40
|
+
* line spacing scale proportionally with font size #1344 ([19ea5d8](https://github.com/Hufe921/canvas-editor/commit/19ea5d81a79a0124eec03bbb532c2e43f53f7995)), closes [#1344](https://github.com/Hufe921/canvas-editor/issues/1344)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
1
44
|
## [0.9.123](https://github.com/Hufe921/canvas-editor/compare/v0.9.122...v0.9.123) (2026-01-16)
|
|
2
45
|
|
|
3
46
|
|