@excalidraw/excalidraw 0.17.0-fe75f29 → 0.17.1-4bdeaf9
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 +20 -0
- package/dist/excalidraw-assets/{vendor-0452b0f95a04b9622103.js → vendor-94b72f67bbf2d6c0da4f.js} +2 -2
- package/dist/excalidraw-assets-dev/{vendor-2466bf62a35e940e8f28.js → vendor-4b7e1a9df5f218d0a300.js} +2 -2
- package/dist/excalidraw-with-preact.development.js +30 -19
- package/dist/excalidraw-with-preact.production.min.js +1 -1
- package/dist/excalidraw.development.js +178 -156
- package/dist/excalidraw.production.min.js +1 -1
- package/dist/excalidraw.production.min.js.LICENSE.txt +10 -0
- package/package.json +1 -1
- package/types/actions/actionAddToLibrary.d.ts +12 -9
- package/types/actions/actionBoundText.d.ts +8 -6
- package/types/actions/actionCanvas.d.ts +44 -33
- package/types/actions/actionClipboard.d.ts +28 -21
- package/types/actions/actionDeleteSelected.d.ts +12 -9
- package/types/actions/actionElementLock.d.ts +8 -6
- package/types/actions/actionExport.d.ts +32 -24
- package/types/actions/actionFinalize.d.ts +8 -6
- package/types/actions/actionFrame.d.ts +12 -9
- package/types/actions/actionGroup.d.ts +8 -6
- package/types/actions/actionLinearEditor.d.ts +4 -3
- package/types/actions/actionMenu.d.ts +8 -6
- package/types/actions/actionProperties.d.ts +52 -39
- package/types/actions/actionSelectAll.d.ts +4 -3
- package/types/actions/actionStyles.d.ts +4 -3
- package/types/actions/actionToggleGridMode.d.ts +4 -3
- package/types/actions/actionToggleObjectsSnapMode.d.ts +4 -3
- package/types/actions/actionToggleStats.d.ts +4 -3
- package/types/actions/actionToggleViewMode.d.ts +4 -3
- package/types/actions/actionToggleZenMode.d.ts +4 -3
- package/types/components/MagicSettings.d.ts +1 -1
- package/types/components/TTDDialog/TTDDialog.d.ts +1 -1
- package/types/components/TTDDialog/TTDDialogPanel.d.ts +2 -1
- package/types/components/TTDDialog/TTDDialogSubmitShortcut.d.ts +1 -0
- package/types/components/TTDDialog/TTDDialogTabs.d.ts +8 -3
- package/types/components/TTDDialog/common.d.ts +3 -4
- package/types/constants.d.ts +1 -0
- package/types/element/Hyperlink.d.ts +4 -3
- package/types/element/embeddable.d.ts +4 -3
- package/types/element/linearElementEditor.d.ts +4 -3
- package/types/packages/excalidraw/dist/excalidraw.development.d.ts +2 -2
- package/types/packages/excalidraw/webpack.preact.config.d.ts +127 -23
- package/types/types.d.ts +3 -2
- /package/dist/excalidraw-assets/{vendor-0452b0f95a04b9622103.js.LICENSE.txt → vendor-94b72f67bbf2d6c0da4f.js.LICENSE.txt} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/{vendor-0452b0f95a04b9622103.d.ts → vendor-94b72f67bbf2d6c0da4f.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/{vendor-2466bf62a35e940e8f28.d.ts → vendor-4b7e1a9df5f218d0a300.d.ts} +0 -0
|
@@ -1,9 +1,61 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
devtool: boolean;
|
|
1
|
+
export = preactWebpackConfig;
|
|
2
|
+
declare const preactWebpackConfig: {
|
|
4
3
|
entry: {
|
|
5
|
-
|
|
4
|
+
[x: string]: string;
|
|
6
5
|
};
|
|
6
|
+
externals: {
|
|
7
|
+
"react-dom/client": {
|
|
8
|
+
root: string;
|
|
9
|
+
commonjs2: string;
|
|
10
|
+
commonjs: string;
|
|
11
|
+
amd: string;
|
|
12
|
+
};
|
|
13
|
+
"react/jsx-runtime": {
|
|
14
|
+
root: string;
|
|
15
|
+
commonjs2: string;
|
|
16
|
+
commonjs: string;
|
|
17
|
+
amd: string;
|
|
18
|
+
};
|
|
19
|
+
react: {
|
|
20
|
+
root: string;
|
|
21
|
+
commonjs2: string;
|
|
22
|
+
commonjs: string;
|
|
23
|
+
amd: string;
|
|
24
|
+
};
|
|
25
|
+
"react-dom": {
|
|
26
|
+
root: string;
|
|
27
|
+
commonjs2: string;
|
|
28
|
+
commonjs: string;
|
|
29
|
+
amd: string;
|
|
30
|
+
};
|
|
31
|
+
} | {
|
|
32
|
+
"react-dom/client": {
|
|
33
|
+
root: string;
|
|
34
|
+
commonjs2: string;
|
|
35
|
+
commonjs: string;
|
|
36
|
+
amd: string;
|
|
37
|
+
};
|
|
38
|
+
"react/jsx-runtime": {
|
|
39
|
+
root: string;
|
|
40
|
+
commonjs2: string;
|
|
41
|
+
commonjs: string;
|
|
42
|
+
amd: string;
|
|
43
|
+
};
|
|
44
|
+
react: {
|
|
45
|
+
root: string;
|
|
46
|
+
commonjs2: string;
|
|
47
|
+
commonjs: string;
|
|
48
|
+
amd: string;
|
|
49
|
+
};
|
|
50
|
+
"react-dom": {
|
|
51
|
+
root: string;
|
|
52
|
+
commonjs2: string;
|
|
53
|
+
commonjs: string;
|
|
54
|
+
amd: string;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
mode: string;
|
|
58
|
+
devtool: boolean;
|
|
7
59
|
output: {
|
|
8
60
|
path: string;
|
|
9
61
|
library: string;
|
|
@@ -22,6 +74,7 @@ declare const _exports: {
|
|
|
22
74
|
exclude: RegExp;
|
|
23
75
|
use: (string | {
|
|
24
76
|
loader: string;
|
|
77
|
+
options?: undefined;
|
|
25
78
|
} | {
|
|
26
79
|
loader: string;
|
|
27
80
|
options: {
|
|
@@ -30,16 +83,22 @@ declare const _exports: {
|
|
|
30
83
|
};
|
|
31
84
|
};
|
|
32
85
|
})[];
|
|
86
|
+
resolve?: undefined;
|
|
87
|
+
type?: undefined;
|
|
33
88
|
} | {
|
|
34
89
|
test: RegExp;
|
|
35
90
|
resolve: {
|
|
36
91
|
fullySpecified: boolean;
|
|
37
92
|
};
|
|
93
|
+
exclude?: undefined;
|
|
94
|
+
use?: undefined;
|
|
95
|
+
type?: undefined;
|
|
38
96
|
} | {
|
|
39
97
|
test: RegExp;
|
|
40
98
|
exclude: RegExp;
|
|
41
99
|
use: ({
|
|
42
100
|
loader: string;
|
|
101
|
+
options?: undefined;
|
|
43
102
|
} | {
|
|
44
103
|
loader: string;
|
|
45
104
|
options: {
|
|
@@ -47,9 +106,14 @@ declare const _exports: {
|
|
|
47
106
|
configFile: string;
|
|
48
107
|
};
|
|
49
108
|
})[];
|
|
109
|
+
resolve?: undefined;
|
|
110
|
+
type?: undefined;
|
|
50
111
|
} | {
|
|
51
112
|
test: RegExp;
|
|
52
113
|
type: string;
|
|
114
|
+
exclude?: undefined;
|
|
115
|
+
use?: undefined;
|
|
116
|
+
resolve?: undefined;
|
|
53
117
|
})[];
|
|
54
118
|
};
|
|
55
119
|
optimization: {
|
|
@@ -62,9 +126,52 @@ declare const _exports: {
|
|
|
62
126
|
};
|
|
63
127
|
};
|
|
64
128
|
};
|
|
129
|
+
minimize?: undefined;
|
|
130
|
+
minimizer?: undefined;
|
|
65
131
|
};
|
|
66
132
|
plugins: (import("webpack").EvalSourceMapDevToolPlugin | import("webpack").DefinePlugin)[];
|
|
133
|
+
} | {
|
|
134
|
+
entry: {
|
|
135
|
+
[x: string]: string;
|
|
136
|
+
};
|
|
67
137
|
externals: {
|
|
138
|
+
"react-dom/client": {
|
|
139
|
+
root: string;
|
|
140
|
+
commonjs2: string;
|
|
141
|
+
commonjs: string;
|
|
142
|
+
amd: string;
|
|
143
|
+
};
|
|
144
|
+
"react/jsx-runtime": {
|
|
145
|
+
root: string;
|
|
146
|
+
commonjs2: string;
|
|
147
|
+
commonjs: string;
|
|
148
|
+
amd: string;
|
|
149
|
+
};
|
|
150
|
+
react: {
|
|
151
|
+
root: string;
|
|
152
|
+
commonjs2: string;
|
|
153
|
+
commonjs: string;
|
|
154
|
+
amd: string;
|
|
155
|
+
};
|
|
156
|
+
"react-dom": {
|
|
157
|
+
root: string;
|
|
158
|
+
commonjs2: string;
|
|
159
|
+
commonjs: string;
|
|
160
|
+
amd: string;
|
|
161
|
+
};
|
|
162
|
+
} | {
|
|
163
|
+
"react-dom/client": {
|
|
164
|
+
root: string;
|
|
165
|
+
commonjs2: string;
|
|
166
|
+
commonjs: string;
|
|
167
|
+
amd: string;
|
|
168
|
+
};
|
|
169
|
+
"react/jsx-runtime": {
|
|
170
|
+
root: string;
|
|
171
|
+
commonjs2: string;
|
|
172
|
+
commonjs: string;
|
|
173
|
+
amd: string;
|
|
174
|
+
};
|
|
68
175
|
react: {
|
|
69
176
|
root: string;
|
|
70
177
|
commonjs2: string;
|
|
@@ -78,11 +185,7 @@ declare const _exports: {
|
|
|
78
185
|
amd: string;
|
|
79
186
|
};
|
|
80
187
|
};
|
|
81
|
-
} | {
|
|
82
188
|
mode: string;
|
|
83
|
-
entry: {
|
|
84
|
-
"excalidraw.production.min": string;
|
|
85
|
-
};
|
|
86
189
|
output: {
|
|
87
190
|
path: string;
|
|
88
191
|
library: string;
|
|
@@ -101,6 +204,7 @@ declare const _exports: {
|
|
|
101
204
|
exclude: RegExp;
|
|
102
205
|
use: (string | {
|
|
103
206
|
loader: string;
|
|
207
|
+
options?: undefined;
|
|
104
208
|
} | {
|
|
105
209
|
loader: string;
|
|
106
210
|
options: {
|
|
@@ -109,21 +213,29 @@ declare const _exports: {
|
|
|
109
213
|
};
|
|
110
214
|
};
|
|
111
215
|
})[];
|
|
216
|
+
resolve?: undefined;
|
|
217
|
+
type?: undefined;
|
|
112
218
|
} | {
|
|
113
219
|
test: RegExp;
|
|
114
220
|
resolve: {
|
|
115
221
|
fullySpecified: boolean;
|
|
116
222
|
};
|
|
223
|
+
exclude?: undefined;
|
|
224
|
+
use?: undefined;
|
|
225
|
+
type?: undefined;
|
|
117
226
|
} | {
|
|
118
227
|
test: RegExp;
|
|
119
228
|
exclude: RegExp;
|
|
120
229
|
use: ({
|
|
121
230
|
loader: string;
|
|
231
|
+
options?: undefined;
|
|
122
232
|
} | {
|
|
123
233
|
loader: string;
|
|
124
234
|
options: {
|
|
125
235
|
transpileOnly: boolean;
|
|
126
236
|
configFile: string;
|
|
237
|
+
presets?: undefined;
|
|
238
|
+
plugins?: undefined;
|
|
127
239
|
};
|
|
128
240
|
} | {
|
|
129
241
|
loader: string;
|
|
@@ -132,11 +244,18 @@ declare const _exports: {
|
|
|
132
244
|
runtime: string;
|
|
133
245
|
})[])[];
|
|
134
246
|
plugins: string[];
|
|
247
|
+
transpileOnly?: undefined;
|
|
248
|
+
configFile?: undefined;
|
|
135
249
|
};
|
|
136
250
|
})[];
|
|
251
|
+
resolve?: undefined;
|
|
252
|
+
type?: undefined;
|
|
137
253
|
} | {
|
|
138
254
|
test: RegExp;
|
|
139
255
|
type: string;
|
|
256
|
+
exclude?: undefined;
|
|
257
|
+
use?: undefined;
|
|
258
|
+
resolve?: undefined;
|
|
140
259
|
})[];
|
|
141
260
|
};
|
|
142
261
|
optimization: {
|
|
@@ -153,19 +272,4 @@ declare const _exports: {
|
|
|
153
272
|
};
|
|
154
273
|
};
|
|
155
274
|
plugins: any[];
|
|
156
|
-
externals: {
|
|
157
|
-
react: {
|
|
158
|
-
root: string;
|
|
159
|
-
commonjs2: string;
|
|
160
|
-
commonjs: string;
|
|
161
|
-
amd: string;
|
|
162
|
-
};
|
|
163
|
-
"react-dom": {
|
|
164
|
-
root: string;
|
|
165
|
-
commonjs2: string;
|
|
166
|
-
commonjs: string;
|
|
167
|
-
amd: string;
|
|
168
|
-
};
|
|
169
|
-
};
|
|
170
275
|
};
|
|
171
|
-
export = _exports;
|
package/types/types.d.ts
CHANGED
|
@@ -185,11 +185,12 @@ export interface AppState {
|
|
|
185
185
|
openDialog: null | {
|
|
186
186
|
name: "imageExport" | "help" | "jsonExport";
|
|
187
187
|
} | {
|
|
188
|
-
name: "
|
|
188
|
+
name: "settings";
|
|
189
189
|
source: "tool" | "generation" | "settings";
|
|
190
|
+
tab: "text-to-diagram" | "diagram-to-code";
|
|
190
191
|
} | {
|
|
191
192
|
name: "ttd";
|
|
192
|
-
tab:
|
|
193
|
+
tab: "text-to-diagram" | "mermaid";
|
|
193
194
|
};
|
|
194
195
|
/**
|
|
195
196
|
* Reflects user preference for whether the default sidebar should be docked.
|
|
File without changes
|
|
File without changes
|