@univerjs-pro/engine-shape 1.0.0-alpha.2 → 1.0.0-alpha.3
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/README.md +9 -3
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/types/index.d.ts +7 -196
- package/lib/types/models/shape-model.d.ts +3 -3
- package/lib/types/render-engine/shape-render-model.d.ts +0 -1
- package/lib/types/shape-default-size.d.ts +9 -0
- package/lib/types/shape-default.d.ts +10 -2
- package/lib/types/shape-enum.d.ts +192 -1
- package/lib/types/shape-type.d.ts +47 -4
- package/lib/types/utils/shape-text-behavior.util.d.ts +13 -0
- package/lib/umd/index.js +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
# @univerjs-pro/engine-shape
|
|
2
2
|
|
|
3
3
|
[](https://npmjs.com/package/@univerjs-pro/engine-shape)
|
|
4
|
+
[](https://npmjs.com/package/@univerjs-pro/engine-shape)
|
|
4
5
|
[](https://npmjs.com/package/@univerjs-pro/engine-shape)
|
|
5
6
|
|
|
6
|
-
`@univerjs-pro/engine-shape`
|
|
7
|
+
`@univerjs-pro/engine-shape` is part of Univer Pro. Preset shape model and rendering utilities for Univer Pro.
|
|
7
8
|
|
|
8
9
|
## Package Overview
|
|
9
10
|
|
|
@@ -24,11 +25,16 @@ Keep all `@univerjs/*` and `@univerjs-pro/*` packages on the same version.
|
|
|
24
25
|
## Usage
|
|
25
26
|
|
|
26
27
|
```ts
|
|
27
|
-
import
|
|
28
|
+
import * as EngineShape from '@univerjs-pro/engine-shape';
|
|
29
|
+
|
|
30
|
+
// Use exported APIs from EngineShape as needed.
|
|
28
31
|
```
|
|
29
32
|
|
|
33
|
+
## Integration Notes
|
|
34
|
+
|
|
35
|
+
- Keep this package on the same version as the other `@univerjs/*` and `@univerjs-pro/*` packages in your application.
|
|
36
|
+
|
|
30
37
|
## Resources
|
|
31
38
|
|
|
32
39
|
- [Documentation](https://docs.univer.ai/guides/pro)
|
|
33
40
|
- [NPM package](https://npmjs.com/package/@univerjs-pro/engine-shape)
|
|
34
|
-
|