@mocanvas/editor 1.0.0 → 4.0.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/ARCHITECTURE.md +421 -0
- package/BENCHMARK.md +519 -0
- package/CLEAN_ROOM.md +50 -0
- package/COMPAT.md +282 -0
- package/CUSTOM_SHAPES.md +880 -0
- package/LICENSE +110 -16
- package/MIGRATION.md +807 -0
- package/README.md +24 -5
- package/UI.md +256 -0
- package/dist/index.d.ts +13091 -1419
- package/dist/index.js +12748 -2126
- package/dist/index.js.map +1 -1
- package/package.json +14 -16
package/LICENSE
CHANGED
|
@@ -1,21 +1,115 @@
|
|
|
1
|
-
|
|
1
|
+
mocanvas License
|
|
2
|
+
Copyright (c) 2026 Symbio Digital. All rights reserved.
|
|
2
3
|
|
|
3
|
-
|
|
4
|
+
This software is source-available, not open source. It is free for the uses
|
|
5
|
+
listed in section 2. Commercial Use requires a separate written agreement with
|
|
6
|
+
Symbio Digital: contact mocanvas@symbio.agency.
|
|
4
7
|
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
8
|
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
1. DEFINITIONS
|
|
10
|
+
|
|
11
|
+
"Software" means mocanvas — the packages published under the @mocanvas scope,
|
|
12
|
+
their source code, compiled artefacts, documentation and accompanying files.
|
|
13
|
+
|
|
14
|
+
"You" means the individual or legal entity exercising the rights granted below.
|
|
15
|
+
|
|
16
|
+
"Commercial Use" means any use of the Software in, or in the development or
|
|
17
|
+
operation of, a product, service, website, application or internal tool that is:
|
|
18
|
+
|
|
19
|
+
(a) sold, licensed, rented or otherwise offered for a fee;
|
|
20
|
+
(b) used to generate revenue directly or indirectly, including through
|
|
21
|
+
advertising, sponsorship, subscription or transaction fees; or
|
|
22
|
+
(c) used in the ordinary business operations of a for-profit entity.
|
|
23
|
+
|
|
24
|
+
"Non-Profit Organisation" means an entity organised and operated for charitable,
|
|
25
|
+
educational, scientific, cultural, religious or similar purposes, which does not
|
|
26
|
+
distribute profits to owners or shareholders, and which is recognised as such
|
|
27
|
+
under the law of its jurisdiction.
|
|
28
|
+
|
|
29
|
+
"Development Use" means use on a developer's own machine, or in evaluation,
|
|
30
|
+
testing, continuous integration, review or staging environments, where the
|
|
31
|
+
result is not offered to the public and is not used to operate a product or
|
|
32
|
+
service.
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
2. GRANT
|
|
36
|
+
|
|
37
|
+
Subject to the terms of this Licence, Symbio Digital grants You a worldwide,
|
|
38
|
+
royalty-free, non-exclusive, non-transferable, revocable licence to use, copy,
|
|
39
|
+
modify and create derivative works of the Software, solely for:
|
|
40
|
+
|
|
41
|
+
(a) personal use that is not Commercial Use;
|
|
42
|
+
(b) use by a Non-Profit Organisation in pursuit of its non-profit purposes;
|
|
43
|
+
(c) Development Use, including by a for-profit entity evaluating the Software;
|
|
44
|
+
(d) teaching, study and academic research.
|
|
45
|
+
|
|
46
|
+
You may distribute the Software, or a derivative work of it, only if the
|
|
47
|
+
recipient receives it under this Licence, unmodified, with the notices in
|
|
48
|
+
section 4 intact, and only for the purposes above.
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
3. COMMERCIAL USE
|
|
52
|
+
|
|
53
|
+
Commercial Use is not granted by this Licence. It requires a separate written
|
|
54
|
+
agreement with Symbio Digital.
|
|
55
|
+
|
|
56
|
+
Development Use under section 2(c) is permitted before such an agreement is in
|
|
57
|
+
place, so that a for-profit entity may evaluate the Software and build against
|
|
58
|
+
it — but shipping, deploying or operating the result as part of a commercial
|
|
59
|
+
product, service or website is Commercial Use and requires the agreement first.
|
|
60
|
+
|
|
61
|
+
To obtain one, contact:
|
|
62
|
+
|
|
63
|
+
mocanvas@symbio.agency
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
4. CONDITIONS
|
|
67
|
+
|
|
68
|
+
You must retain, in all copies and derivative works of the Software, this
|
|
69
|
+
Licence text, the copyright notice above, and any notices identifying Symbio
|
|
70
|
+
Digital as the author.
|
|
71
|
+
|
|
72
|
+
You may not sublicense the Software, remove or alter its licence notices, or
|
|
73
|
+
represent that the Software is available under different terms.
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
5. THIRD-PARTY COMPONENTS
|
|
77
|
+
|
|
78
|
+
The Software depends on third-party components distributed under their own
|
|
79
|
+
licences. Those licences govern those components, and nothing in this Licence
|
|
80
|
+
limits rights You have under them.
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
6. NO WARRANTY
|
|
14
84
|
|
|
15
85
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
86
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
87
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
7. LIMITATION OF LIABILITY
|
|
91
|
+
|
|
92
|
+
TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT SHALL SYMBIO
|
|
93
|
+
DIGITAL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
|
|
94
|
+
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
95
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
8. TERMINATION
|
|
99
|
+
|
|
100
|
+
This Licence terminates automatically if You breach it. On termination You must
|
|
101
|
+
stop using the Software and destroy all copies in Your possession. Sections 5
|
|
102
|
+
through 7 survive termination.
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
9. PRIOR RELEASES
|
|
106
|
+
|
|
107
|
+
Versions of the Software released under the MIT Licence remain available under
|
|
108
|
+
that licence, on the terms under which they were released. This Licence governs
|
|
109
|
+
this version and later ones.
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
10. CONTACT
|
|
113
|
+
|
|
114
|
+
mocanvas@symbio.agency
|
|
115
|
+
Symbio Digital
|