@zsviczian/excalidraw 0.17.6-31 → 0.17.6-32
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/dist/excalidraw.development.js +9 -9
- package/dist/excalidraw.production.min.js +1 -1
- package/package.json +2 -1
- package/types/excalidraw/constants.d.ts +2 -0
- package/types/excalidraw/element/newElement.d.ts +0 -5
- package/types/excalidraw/utility-types.d.ts +1 -0
- package/types/excalidraw/utils.d.ts +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zsviczian/excalidraw",
|
|
3
|
-
"version": "0.17.6-
|
|
3
|
+
"version": "0.17.6-32",
|
|
4
4
|
"main": "main.js",
|
|
5
5
|
"types": "types/excalidraw/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -91,6 +91,7 @@
|
|
|
91
91
|
"@types/pako": "1.0.3",
|
|
92
92
|
"@types/pica": "5.1.3",
|
|
93
93
|
"@types/resize-observer-browser": "0.1.7",
|
|
94
|
+
"ansicolor": "2.0.3",
|
|
94
95
|
"autoprefixer": "10.4.7",
|
|
95
96
|
"babel-loader": "8.2.5",
|
|
96
97
|
"babel-plugin-transform-class-properties": "6.24.1",
|
|
@@ -71,11 +71,6 @@ export declare const newImageElement: (opts: {
|
|
|
71
71
|
* Typed arrays and other non-null objects.
|
|
72
72
|
*/
|
|
73
73
|
export declare const deepCopyElement: <T extends ExcalidrawElement>(val: T) => Mutable<T>;
|
|
74
|
-
/**
|
|
75
|
-
* utility wrapper to generate new id. In test env it reuses the old + postfix
|
|
76
|
-
* for test assertions.
|
|
77
|
-
*/
|
|
78
|
-
export declare const regenerateId: (previousId: string | null) => string;
|
|
79
74
|
/**
|
|
80
75
|
* Duplicate an element, often used in the alt-drag operation.
|
|
81
76
|
* Note that this method has gotten a bit complicated since the
|
|
@@ -252,4 +252,5 @@ export declare class PromisePool<T> {
|
|
|
252
252
|
* the attribute is double-quoted when constructing the HTML string
|
|
253
253
|
*/
|
|
254
254
|
export declare const escapeDoubleQuotes: (str: string) => string;
|
|
255
|
+
export declare const castArray: <T>(value: T | T[]) => T[];
|
|
255
256
|
export {};
|