@veltdev/types-dev 4.0.0-beta.153 → 4.0.0-beta.154
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.
|
@@ -6,3 +6,11 @@ export interface IUnreadCommentsCount {
|
|
|
6
6
|
count: number;
|
|
7
7
|
}
|
|
8
8
|
export type UnreadCommentsCount = IUnreadCommentsCount | null;
|
|
9
|
+
export interface TransformContext {
|
|
10
|
+
containerSelector: string;
|
|
11
|
+
transforms: {
|
|
12
|
+
scale: number;
|
|
13
|
+
transformOrigin: string;
|
|
14
|
+
inverseScale?: number;
|
|
15
|
+
};
|
|
16
|
+
}
|
|
@@ -7,4 +7,19 @@ export declare class CursorPosition {
|
|
|
7
7
|
* Position left of cursor on viewer user's screen
|
|
8
8
|
*/
|
|
9
9
|
left: number;
|
|
10
|
+
/**
|
|
11
|
+
* Scale factor of the parent element in X direction
|
|
12
|
+
* Used for transform handling
|
|
13
|
+
*/
|
|
14
|
+
parentScaleX?: number;
|
|
15
|
+
/**
|
|
16
|
+
* Scale factor of the parent element in Y direction
|
|
17
|
+
* Used for transform handling
|
|
18
|
+
*/
|
|
19
|
+
parentScaleY?: number;
|
|
20
|
+
/**
|
|
21
|
+
* Transform context information
|
|
22
|
+
* Used to handle transforms properly
|
|
23
|
+
*/
|
|
24
|
+
transformContext?: any;
|
|
10
25
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veltdev/types-dev",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.154",
|
|
4
4
|
"description": "Velt is an SDK to add collaborative features to your product within minutes. Example: Comments like Figma, Frame.io, Google docs or sheets, Recording like Loom, Huddles like Slack and much more.",
|
|
5
5
|
"homepage": "https://velt.dev",
|
|
6
6
|
"keywords": [
|