@excalidraw/element 0.18.0-ab0255f → 0.18.0-abeeaeb

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.
Files changed (53) hide show
  1. package/dist/dev/index.js +1 -0
  2. package/dist/dev/index.js.map +2 -2
  3. package/dist/prod/index.js +1 -1
  4. package/dist/types/common/src/colors.d.ts +5 -7
  5. package/dist/types/element/src/sortElements.d.ts +10 -0
  6. package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +15 -6
  7. package/dist/types/excalidraw/actions/actionBoundText.d.ts +10 -4
  8. package/dist/types/excalidraw/actions/actionCanvas.d.ts +35 -14
  9. package/dist/types/excalidraw/actions/actionClipboard.d.ts +10 -4
  10. package/dist/types/excalidraw/actions/actionCropEditor.d.ts +5 -2
  11. package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +15 -6
  12. package/dist/types/excalidraw/actions/actionDeselect.d.ts +5 -2
  13. package/dist/types/excalidraw/actions/actionElementLink.d.ts +5 -2
  14. package/dist/types/excalidraw/actions/actionElementLock.d.ts +10 -4
  15. package/dist/types/excalidraw/actions/actionExport.d.ts +10 -4
  16. package/dist/types/excalidraw/actions/actionFrame.d.ts +15 -6
  17. package/dist/types/excalidraw/actions/actionGroup.d.ts +11 -5
  18. package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +5 -2
  19. package/dist/types/excalidraw/actions/actionLink.d.ts +5 -2
  20. package/dist/types/excalidraw/actions/actionMenu.d.ts +5 -2
  21. package/dist/types/excalidraw/actions/actionProperties.d.ts +10 -4
  22. package/dist/types/excalidraw/actions/actionSelectAll.d.ts +5 -2
  23. package/dist/types/excalidraw/actions/actionStyles.d.ts +5 -2
  24. package/dist/types/excalidraw/actions/actionToggleArrowBinding.d.ts +5 -2
  25. package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +5 -2
  26. package/dist/types/excalidraw/actions/actionToggleMidpointSnapping.d.ts +5 -2
  27. package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +5 -2
  28. package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +5 -2
  29. package/dist/types/excalidraw/actions/actionToggleStats.d.ts +5 -2
  30. package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +5 -2
  31. package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +5 -2
  32. package/dist/types/excalidraw/appState.d.ts +5 -0
  33. package/dist/types/excalidraw/components/App.bucketFill.d.ts +14 -0
  34. package/dist/types/excalidraw/components/App.cursor.d.ts +2 -3
  35. package/dist/types/excalidraw/components/App.d.ts +12 -5
  36. package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +6 -2
  37. package/dist/types/excalidraw/components/ColorPicker/CustomColorList.d.ts +3 -1
  38. package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +2 -1
  39. package/dist/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +4 -2
  40. package/dist/types/excalidraw/components/ColorPicker/ShadeList.d.ts +4 -2
  41. package/dist/types/excalidraw/components/ColorPicker/TopPicks.d.ts +8 -1
  42. package/dist/types/excalidraw/components/ColorPicker/topPicksDnD.d.ts +31 -0
  43. package/dist/types/excalidraw/components/LayerUI.d.ts +2 -1
  44. package/dist/types/excalidraw/components/UserList.d.ts +3 -2
  45. package/dist/types/excalidraw/components/ViewportStatusFrame/ViewportStatusFrame.d.ts +11 -0
  46. package/dist/types/excalidraw/components/icons.d.ts +3 -0
  47. package/dist/types/excalidraw/data/blob.d.ts +10 -4
  48. package/dist/types/excalidraw/data/json.d.ts +5 -2
  49. package/dist/types/excalidraw/lasso/utils.d.ts +2 -0
  50. package/dist/types/excalidraw/types.d.ts +47 -4
  51. package/dist/types/excalidraw/viewport.d.ts +5 -2
  52. package/package.json +4 -4
  53. package/dist/types/excalidraw/components/FollowMode/FollowMode.d.ts +0 -10
@@ -158,8 +158,6 @@ export declare const actionPaste: {
158
158
  y: number;
159
159
  } | null;
160
160
  objectsSnapModeEnabled: boolean;
161
- userToFollow: import("../types").UserToFollow | null;
162
- followedBy: Set<import("../types").SocketId>;
163
161
  isCropping: boolean;
164
162
  croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
165
163
  searchMatches: Readonly<{
@@ -171,6 +169,11 @@ export declare const actionPaste: {
171
169
  [groupId: string]: true;
172
170
  };
173
171
  bindMode: import("@excalidraw/element/types").BindMode;
172
+ colorTopPicks: {
173
+ elementStroke: readonly string[] | null;
174
+ elementBackground: readonly string[] | null;
175
+ bucketFill: readonly string[] | null;
176
+ };
174
177
  };
175
178
  } | {
176
179
  captureUpdate: "EVENTUALLY";
@@ -373,8 +376,6 @@ export declare const actionCopyAsPng: {
373
376
  y: number;
374
377
  } | null;
375
378
  objectsSnapModeEnabled: boolean;
376
- userToFollow: import("../types").UserToFollow | null;
377
- followedBy: Set<import("../types").SocketId>;
378
379
  isCropping: boolean;
379
380
  croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
380
381
  searchMatches: Readonly<{
@@ -386,6 +387,11 @@ export declare const actionCopyAsPng: {
386
387
  [groupId: string]: true;
387
388
  };
388
389
  bindMode: import("@excalidraw/element/types").BindMode;
390
+ colorTopPicks: {
391
+ elementStroke: readonly string[] | null;
392
+ elementBackground: readonly string[] | null;
393
+ bucketFill: readonly string[] | null;
394
+ };
389
395
  };
390
396
  captureUpdate: "EVENTUALLY";
391
397
  }>;
@@ -159,8 +159,6 @@ export declare const actionToggleCropEditor: {
159
159
  y: number;
160
160
  } | null;
161
161
  objectsSnapModeEnabled: boolean;
162
- userToFollow: import("../types").UserToFollow | null;
163
- followedBy: Set<import("../types").SocketId>;
164
162
  searchMatches: Readonly<{
165
163
  focusedId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
166
164
  matches: readonly import("../types").SearchMatch[];
@@ -170,6 +168,11 @@ export declare const actionToggleCropEditor: {
170
168
  [groupId: string]: true;
171
169
  };
172
170
  bindMode: import("@excalidraw/element/types").BindMode;
171
+ colorTopPicks: {
172
+ elementStroke: readonly string[] | null;
173
+ elementBackground: readonly string[] | null;
174
+ bucketFill: readonly string[] | null;
175
+ };
173
176
  };
174
177
  captureUpdate: "IMMEDIATELY";
175
178
  };
@@ -159,8 +159,6 @@ export declare const actionDeleteSelected: {
159
159
  y: number;
160
160
  } | null;
161
161
  objectsSnapModeEnabled: boolean;
162
- userToFollow: import("../types").UserToFollow | null;
163
- followedBy: Set<import("../types").SocketId>;
164
162
  isCropping: boolean;
165
163
  croppingElementId: ExcalidrawElement["id"] | null;
166
164
  searchMatches: Readonly<{
@@ -172,6 +170,11 @@ export declare const actionDeleteSelected: {
172
170
  [groupId: string]: true;
173
171
  };
174
172
  bindMode: import("@excalidraw/element/types").BindMode;
173
+ colorTopPicks: {
174
+ elementStroke: readonly string[] | null;
175
+ elementBackground: readonly string[] | null;
176
+ bucketFill: readonly string[] | null;
177
+ };
175
178
  };
176
179
  captureUpdate: "IMMEDIATELY";
177
180
  } | {
@@ -358,8 +361,6 @@ export declare const actionDeleteSelected: {
358
361
  y: number;
359
362
  } | null;
360
363
  objectsSnapModeEnabled: boolean;
361
- userToFollow: import("../types").UserToFollow | null;
362
- followedBy: Set<import("../types").SocketId>;
363
364
  isCropping: boolean;
364
365
  croppingElementId: ExcalidrawElement["id"] | null;
365
366
  searchMatches: Readonly<{
@@ -371,6 +372,11 @@ export declare const actionDeleteSelected: {
371
372
  [groupId: string]: true;
372
373
  };
373
374
  bindMode: import("@excalidraw/element/types").BindMode;
375
+ colorTopPicks: {
376
+ elementStroke: readonly string[] | null;
377
+ elementBackground: readonly string[] | null;
378
+ bucketFill: readonly string[] | null;
379
+ };
374
380
  };
375
381
  captureUpdate: "IMMEDIATELY";
376
382
  } | {
@@ -517,8 +523,6 @@ export declare const actionDeleteSelected: {
517
523
  y: number;
518
524
  } | null;
519
525
  objectsSnapModeEnabled: boolean;
520
- userToFollow: import("../types").UserToFollow | null;
521
- followedBy: Set<import("../types").SocketId>;
522
526
  isCropping: boolean;
523
527
  croppingElementId: ExcalidrawElement["id"] | null;
524
528
  searchMatches: Readonly<{
@@ -530,6 +534,11 @@ export declare const actionDeleteSelected: {
530
534
  [groupId: string]: true;
531
535
  };
532
536
  bindMode: import("@excalidraw/element/types").BindMode;
537
+ colorTopPicks: {
538
+ elementStroke: readonly string[] | null;
539
+ elementBackground: readonly string[] | null;
540
+ bucketFill: readonly string[] | null;
541
+ };
533
542
  };
534
543
  captureUpdate: "IMMEDIATELY" | "EVENTUALLY";
535
544
  };
@@ -140,8 +140,6 @@ export declare const actionDeselect: {
140
140
  y: number;
141
141
  } | null;
142
142
  objectsSnapModeEnabled: boolean;
143
- userToFollow: import("../types").UserToFollow | null;
144
- followedBy: Set<import("../types").SocketId>;
145
143
  isCropping: boolean;
146
144
  croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
147
145
  searchMatches: Readonly<{
@@ -153,6 +151,11 @@ export declare const actionDeselect: {
153
151
  [groupId: string]: true;
154
152
  };
155
153
  bindMode: import("@excalidraw/element/types").BindMode;
154
+ colorTopPicks: {
155
+ elementStroke: readonly string[] | null;
156
+ elementBackground: readonly string[] | null;
157
+ bucketFill: readonly string[] | null;
158
+ };
156
159
  };
157
160
  captureUpdate: "IMMEDIATELY";
158
161
  };
@@ -171,8 +171,6 @@ export declare const actionLinkToElement: {
171
171
  y: number;
172
172
  } | null;
173
173
  objectsSnapModeEnabled: boolean;
174
- userToFollow: import("../types").UserToFollow | null;
175
- followedBy: Set<import("../types").SocketId>;
176
174
  isCropping: boolean;
177
175
  croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
178
176
  searchMatches: Readonly<{
@@ -184,6 +182,11 @@ export declare const actionLinkToElement: {
184
182
  [groupId: string]: true;
185
183
  };
186
184
  bindMode: import("@excalidraw/element/types").BindMode;
185
+ colorTopPicks: {
186
+ elementStroke: readonly string[] | null;
187
+ elementBackground: readonly string[] | null;
188
+ bucketFill: readonly string[] | null;
189
+ };
187
190
  };
188
191
  captureUpdate: "IMMEDIATELY";
189
192
  elements?: undefined;
@@ -163,8 +163,6 @@ export declare const actionToggleElementLock: {
163
163
  y: number;
164
164
  } | null;
165
165
  objectsSnapModeEnabled: boolean;
166
- userToFollow: import("../types").UserToFollow | null;
167
- followedBy: Set<import("../types").SocketId>;
168
166
  isCropping: boolean;
169
167
  croppingElementId: ExcalidrawElement["id"] | null;
170
168
  searchMatches: Readonly<{
@@ -172,6 +170,11 @@ export declare const actionToggleElementLock: {
172
170
  matches: readonly import("../types").SearchMatch[];
173
171
  }> | null;
174
172
  bindMode: import("@excalidraw/element/types").BindMode;
173
+ colorTopPicks: {
174
+ elementStroke: readonly string[] | null;
175
+ elementBackground: readonly string[] | null;
176
+ bucketFill: readonly string[] | null;
177
+ };
175
178
  };
176
179
  captureUpdate: "IMMEDIATELY";
177
180
  };
@@ -340,8 +343,6 @@ export declare const actionUnlockAllElements: {
340
343
  y: number;
341
344
  } | null;
342
345
  objectsSnapModeEnabled: boolean;
343
- userToFollow: import("../types").UserToFollow | null;
344
- followedBy: Set<import("../types").SocketId>;
345
346
  isCropping: boolean;
346
347
  croppingElementId: ExcalidrawElement["id"] | null;
347
348
  searchMatches: Readonly<{
@@ -349,6 +350,11 @@ export declare const actionUnlockAllElements: {
349
350
  matches: readonly import("../types").SearchMatch[];
350
351
  }> | null;
351
352
  bindMode: import("@excalidraw/element/types").BindMode;
353
+ colorTopPicks: {
354
+ elementStroke: readonly string[] | null;
355
+ elementBackground: readonly string[] | null;
356
+ bucketFill: readonly string[] | null;
357
+ };
352
358
  };
353
359
  captureUpdate: "IMMEDIATELY";
354
360
  };
@@ -234,11 +234,14 @@ export declare const actionLoadScene: {
234
234
  y: number;
235
235
  } | null;
236
236
  objectsSnapModeEnabled: boolean;
237
- userToFollow: import("../types").UserToFollow | null;
238
- followedBy: Set<import("../types").SocketId>;
239
237
  lockedMultiSelections: {
240
238
  [groupId: string]: true;
241
239
  };
240
+ colorTopPicks: {
241
+ elementStroke: readonly string[] | null;
242
+ elementBackground: readonly string[] | null;
243
+ bucketFill: readonly string[] | null;
244
+ };
242
245
  };
243
246
  files: BinaryFiles;
244
247
  captureUpdate: "IMMEDIATELY";
@@ -393,8 +396,6 @@ export declare const actionLoadScene: {
393
396
  y: number;
394
397
  } | null;
395
398
  objectsSnapModeEnabled: boolean;
396
- userToFollow: import("../types").UserToFollow | null;
397
- followedBy: Set<import("../types").SocketId>;
398
399
  isCropping: boolean;
399
400
  croppingElementId: ExcalidrawElement["id"] | null;
400
401
  searchMatches: Readonly<{
@@ -406,6 +407,11 @@ export declare const actionLoadScene: {
406
407
  [groupId: string]: true;
407
408
  };
408
409
  bindMode: import("@excalidraw/element/types").BindMode;
410
+ colorTopPicks: {
411
+ elementStroke: readonly string[] | null;
412
+ elementBackground: readonly string[] | null;
413
+ bucketFill: readonly string[] | null;
414
+ };
409
415
  };
410
416
  files: BinaryFiles;
411
417
  captureUpdate: "EVENTUALLY";
@@ -155,8 +155,6 @@ export declare const actionSelectAllElementsInFrame: {
155
155
  y: number;
156
156
  } | null;
157
157
  objectsSnapModeEnabled: boolean;
158
- userToFollow: import("../types").UserToFollow | null;
159
- followedBy: Set<import("../types").SocketId>;
160
158
  isCropping: boolean;
161
159
  croppingElementId: ExcalidrawElement["id"] | null;
162
160
  searchMatches: Readonly<{
@@ -168,6 +166,11 @@ export declare const actionSelectAllElementsInFrame: {
168
166
  [groupId: string]: true;
169
167
  };
170
168
  bindMode: import("@excalidraw/element/types").BindMode;
169
+ colorTopPicks: {
170
+ elementStroke: readonly string[] | null;
171
+ elementBackground: readonly string[] | null;
172
+ bucketFill: readonly string[] | null;
173
+ };
171
174
  };
172
175
  captureUpdate: "IMMEDIATELY";
173
176
  } | {
@@ -336,8 +339,6 @@ export declare const actionRemoveAllElementsFromFrame: {
336
339
  y: number;
337
340
  } | null;
338
341
  objectsSnapModeEnabled: boolean;
339
- userToFollow: import("../types").UserToFollow | null;
340
- followedBy: Set<import("../types").SocketId>;
341
342
  isCropping: boolean;
342
343
  croppingElementId: ExcalidrawElement["id"] | null;
343
344
  searchMatches: Readonly<{
@@ -349,6 +350,11 @@ export declare const actionRemoveAllElementsFromFrame: {
349
350
  [groupId: string]: true;
350
351
  };
351
352
  bindMode: import("@excalidraw/element/types").BindMode;
353
+ colorTopPicks: {
354
+ elementStroke: readonly string[] | null;
355
+ elementBackground: readonly string[] | null;
356
+ bucketFill: readonly string[] | null;
357
+ };
352
358
  };
353
359
  captureUpdate: "IMMEDIATELY";
354
360
  } | {
@@ -518,8 +524,6 @@ export declare const actionupdateFrameRendering: {
518
524
  y: number;
519
525
  } | null;
520
526
  objectsSnapModeEnabled: boolean;
521
- userToFollow: import("../types").UserToFollow | null;
522
- followedBy: Set<import("../types").SocketId>;
523
527
  isCropping: boolean;
524
528
  croppingElementId: ExcalidrawElement["id"] | null;
525
529
  searchMatches: Readonly<{
@@ -531,6 +535,11 @@ export declare const actionupdateFrameRendering: {
531
535
  [groupId: string]: true;
532
536
  };
533
537
  bindMode: import("@excalidraw/element/types").BindMode;
538
+ colorTopPicks: {
539
+ elementStroke: readonly string[] | null;
540
+ elementBackground: readonly string[] | null;
541
+ bucketFill: readonly string[] | null;
542
+ };
534
543
  };
535
544
  captureUpdate: "EVENTUALLY";
536
545
  };
@@ -7,7 +7,7 @@ export declare const actionGroup: {
7
7
  trackEvent: {
8
8
  category: "element";
9
9
  };
10
- perform: (elements: readonly OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: unknown, app: AppClassProperties) => {
10
+ perform: (elements: readonly OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: unknown, app: AppClassProperties) => false | {
11
11
  appState: Readonly<import("../types").AppState>;
12
12
  elements: readonly OrderedExcalidrawElement[];
13
13
  captureUpdate: "EVENTUALLY";
@@ -157,8 +157,6 @@ export declare const actionGroup: {
157
157
  y: number;
158
158
  } | null;
159
159
  objectsSnapModeEnabled: boolean;
160
- userToFollow: import("../types").UserToFollow | null;
161
- followedBy: Set<import("../types").SocketId>;
162
160
  isCropping: boolean;
163
161
  croppingElementId: ExcalidrawElement["id"] | null;
164
162
  searchMatches: Readonly<{
@@ -170,6 +168,11 @@ export declare const actionGroup: {
170
168
  [groupId: string]: true;
171
169
  };
172
170
  bindMode: import("@excalidraw/element/types").BindMode;
171
+ colorTopPicks: {
172
+ elementStroke: readonly string[] | null;
173
+ elementBackground: readonly string[] | null;
174
+ bucketFill: readonly string[] | null;
175
+ };
173
176
  };
174
177
  elements: OrderedExcalidrawElement[];
175
178
  captureUpdate: "IMMEDIATELY";
@@ -337,8 +340,6 @@ export declare const actionUngroup: {
337
340
  y: number;
338
341
  } | null;
339
342
  objectsSnapModeEnabled: boolean;
340
- userToFollow: import("../types").UserToFollow | null;
341
- followedBy: Set<import("../types").SocketId>;
342
343
  isCropping: boolean;
343
344
  croppingElementId: ExcalidrawElement["id"] | null;
344
345
  searchMatches: Readonly<{
@@ -350,6 +351,11 @@ export declare const actionUngroup: {
350
351
  [groupId: string]: true;
351
352
  };
352
353
  bindMode: import("@excalidraw/element/types").BindMode;
354
+ colorTopPicks: {
355
+ elementStroke: readonly string[] | null;
356
+ elementBackground: readonly string[] | null;
357
+ bucketFill: readonly string[] | null;
358
+ };
353
359
  };
354
360
  elements: OrderedExcalidrawElement[];
355
361
  captureUpdate: "IMMEDIATELY";
@@ -191,8 +191,6 @@ export declare const actionToggleLinearEditor: {
191
191
  y: number;
192
192
  } | null;
193
193
  objectsSnapModeEnabled: boolean;
194
- userToFollow: import("../types").UserToFollow | null;
195
- followedBy: Set<import("../types").SocketId>;
196
194
  isCropping: boolean;
197
195
  croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
198
196
  searchMatches: Readonly<{
@@ -204,6 +202,11 @@ export declare const actionToggleLinearEditor: {
204
202
  [groupId: string]: true;
205
203
  };
206
204
  bindMode: import("@excalidraw/element/types").BindMode;
205
+ colorTopPicks: {
206
+ elementStroke: readonly string[] | null;
207
+ elementBackground: readonly string[] | null;
208
+ bucketFill: readonly string[] | null;
209
+ };
207
210
  };
208
211
  captureUpdate: "IMMEDIATELY";
209
212
  };
@@ -153,8 +153,6 @@ export declare const actionLink: {
153
153
  y: number;
154
154
  } | null;
155
155
  objectsSnapModeEnabled: boolean;
156
- userToFollow: import("../types").UserToFollow | null;
157
- followedBy: Set<import("../types").SocketId>;
158
156
  isCropping: boolean;
159
157
  croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
160
158
  searchMatches: Readonly<{
@@ -166,6 +164,11 @@ export declare const actionLink: {
166
164
  [groupId: string]: true;
167
165
  };
168
166
  bindMode: import("@excalidraw/element/types").BindMode;
167
+ colorTopPicks: {
168
+ elementStroke: readonly string[] | null;
169
+ elementBackground: readonly string[] | null;
170
+ bucketFill: readonly string[] | null;
171
+ };
169
172
  };
170
173
  captureUpdate: "IMMEDIATELY";
171
174
  };
@@ -143,8 +143,6 @@ export declare const actionShortcuts: {
143
143
  y: number;
144
144
  } | null;
145
145
  objectsSnapModeEnabled: boolean;
146
- userToFollow: import("../types").UserToFollow | null;
147
- followedBy: Set<import("../types").SocketId>;
148
146
  isCropping: boolean;
149
147
  croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
150
148
  searchMatches: Readonly<{
@@ -156,6 +154,11 @@ export declare const actionShortcuts: {
156
154
  [groupId: string]: true;
157
155
  };
158
156
  bindMode: import("@excalidraw/element/types").BindMode;
157
+ colorTopPicks: {
158
+ elementStroke: readonly string[] | null;
159
+ elementBackground: readonly string[] | null;
160
+ bucketFill: readonly string[] | null;
161
+ };
159
162
  };
160
163
  captureUpdate: "EVENTUALLY";
161
164
  };
@@ -195,8 +195,6 @@ export declare const actionDecreaseFontSize: {
195
195
  y: number;
196
196
  } | null;
197
197
  objectsSnapModeEnabled: boolean;
198
- userToFollow: import("../types").UserToFollow | null;
199
- followedBy: Set<import("../types").SocketId>;
200
198
  isCropping: boolean;
201
199
  croppingElementId: ExcalidrawElement["id"] | null;
202
200
  searchMatches: Readonly<{
@@ -208,6 +206,11 @@ export declare const actionDecreaseFontSize: {
208
206
  [groupId: string]: true;
209
207
  };
210
208
  bindMode: import("@excalidraw/element/types").BindMode;
209
+ colorTopPicks: {
210
+ elementStroke: readonly string[] | null;
211
+ elementBackground: readonly string[] | null;
212
+ bucketFill: readonly string[] | null;
213
+ };
211
214
  };
212
215
  captureUpdate: "IMMEDIATELY";
213
216
  };
@@ -371,8 +374,6 @@ export declare const actionIncreaseFontSize: {
371
374
  y: number;
372
375
  } | null;
373
376
  objectsSnapModeEnabled: boolean;
374
- userToFollow: import("../types").UserToFollow | null;
375
- followedBy: Set<import("../types").SocketId>;
376
377
  isCropping: boolean;
377
378
  croppingElementId: ExcalidrawElement["id"] | null;
378
379
  searchMatches: Readonly<{
@@ -384,6 +385,11 @@ export declare const actionIncreaseFontSize: {
384
385
  [groupId: string]: true;
385
386
  };
386
387
  bindMode: import("@excalidraw/element/types").BindMode;
388
+ colorTopPicks: {
389
+ elementStroke: readonly string[] | null;
390
+ elementBackground: readonly string[] | null;
391
+ bucketFill: readonly string[] | null;
392
+ };
387
393
  };
388
394
  captureUpdate: "IMMEDIATELY";
389
395
  };
@@ -154,8 +154,6 @@ export declare const actionSelectAll: {
154
154
  y: number;
155
155
  } | null;
156
156
  objectsSnapModeEnabled: boolean;
157
- userToFollow: import("../types").UserToFollow | null;
158
- followedBy: Set<import("../types").SocketId>;
159
157
  isCropping: boolean;
160
158
  croppingElementId: ExcalidrawElement["id"] | null;
161
159
  searchMatches: Readonly<{
@@ -167,6 +165,11 @@ export declare const actionSelectAll: {
167
165
  [groupId: string]: true;
168
166
  };
169
167
  bindMode: import("@excalidraw/element/types").BindMode;
168
+ colorTopPicks: {
169
+ elementStroke: readonly string[] | null;
170
+ elementBackground: readonly string[] | null;
171
+ bucketFill: readonly string[] | null;
172
+ };
170
173
  };
171
174
  captureUpdate: "IMMEDIATELY";
172
175
  };
@@ -155,8 +155,6 @@ export declare const actionCopyStyles: {
155
155
  y: number;
156
156
  } | null;
157
157
  objectsSnapModeEnabled: boolean;
158
- userToFollow: import("../types").UserToFollow | null;
159
- followedBy: Set<import("../types").SocketId>;
160
158
  isCropping: boolean;
161
159
  croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
162
160
  searchMatches: Readonly<{
@@ -168,6 +166,11 @@ export declare const actionCopyStyles: {
168
166
  [groupId: string]: true;
169
167
  };
170
168
  bindMode: import("@excalidraw/element/types").BindMode;
169
+ colorTopPicks: {
170
+ elementStroke: readonly string[] | null;
171
+ elementBackground: readonly string[] | null;
172
+ bucketFill: readonly string[] | null;
173
+ };
171
174
  };
172
175
  captureUpdate: "EVENTUALLY";
173
176
  };
@@ -156,8 +156,6 @@ export declare const actionToggleArrowBinding: {
156
156
  y: number;
157
157
  } | null;
158
158
  objectsSnapModeEnabled: boolean;
159
- userToFollow: import("../types").UserToFollow | null;
160
- followedBy: Set<import("../types").SocketId>;
161
159
  isCropping: boolean;
162
160
  croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
163
161
  searchMatches: Readonly<{
@@ -169,6 +167,11 @@ export declare const actionToggleArrowBinding: {
169
167
  [groupId: string]: true;
170
168
  };
171
169
  bindMode: import("@excalidraw/element/types").BindMode;
170
+ colorTopPicks: {
171
+ elementStroke: readonly string[] | null;
172
+ elementBackground: readonly string[] | null;
173
+ bucketFill: readonly string[] | null;
174
+ };
172
175
  };
173
176
  captureUpdate: "NEVER";
174
177
  };
@@ -158,8 +158,6 @@ export declare const actionToggleGridMode: {
158
158
  x: number;
159
159
  y: number;
160
160
  } | null;
161
- userToFollow: import("../types").UserToFollow | null;
162
- followedBy: Set<import("../types").SocketId>;
163
161
  isCropping: boolean;
164
162
  croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
165
163
  searchMatches: Readonly<{
@@ -171,6 +169,11 @@ export declare const actionToggleGridMode: {
171
169
  [groupId: string]: true;
172
170
  };
173
171
  bindMode: import("@excalidraw/element/types").BindMode;
172
+ colorTopPicks: {
173
+ elementStroke: readonly string[] | null;
174
+ elementBackground: readonly string[] | null;
175
+ bucketFill: readonly string[] | null;
176
+ };
174
177
  };
175
178
  captureUpdate: "EVENTUALLY";
176
179
  };
@@ -156,8 +156,6 @@ export declare const actionToggleMidpointSnapping: {
156
156
  y: number;
157
157
  } | null;
158
158
  objectsSnapModeEnabled: boolean;
159
- userToFollow: import("../types").UserToFollow | null;
160
- followedBy: Set<import("../types").SocketId>;
161
159
  isCropping: boolean;
162
160
  croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
163
161
  searchMatches: Readonly<{
@@ -169,6 +167,11 @@ export declare const actionToggleMidpointSnapping: {
169
167
  [groupId: string]: true;
170
168
  };
171
169
  bindMode: import("@excalidraw/element/types").BindMode;
170
+ colorTopPicks: {
171
+ elementStroke: readonly string[] | null;
172
+ elementBackground: readonly string[] | null;
173
+ bucketFill: readonly string[] | null;
174
+ };
172
175
  };
173
176
  captureUpdate: "NEVER";
174
177
  };
@@ -157,8 +157,6 @@ export declare const actionToggleObjectsSnapMode: {
157
157
  x: number;
158
158
  y: number;
159
159
  } | null;
160
- userToFollow: import("../types").UserToFollow | null;
161
- followedBy: Set<import("../types").SocketId>;
162
160
  isCropping: boolean;
163
161
  croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
164
162
  searchMatches: Readonly<{
@@ -170,6 +168,11 @@ export declare const actionToggleObjectsSnapMode: {
170
168
  [groupId: string]: true;
171
169
  };
172
170
  bindMode: import("@excalidraw/element/types").BindMode;
171
+ colorTopPicks: {
172
+ elementStroke: readonly string[] | null;
173
+ elementBackground: readonly string[] | null;
174
+ bucketFill: readonly string[] | null;
175
+ };
173
176
  };
174
177
  captureUpdate: "EVENTUALLY";
175
178
  };
@@ -143,8 +143,6 @@ export declare const actionToggleSearchMenu: {
143
143
  y: number;
144
144
  } | null;
145
145
  objectsSnapModeEnabled: boolean;
146
- userToFollow: import("../types").UserToFollow | null;
147
- followedBy: Set<import("../types").SocketId>;
148
146
  isCropping: boolean;
149
147
  croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
150
148
  searchMatches: Readonly<{
@@ -156,6 +154,11 @@ export declare const actionToggleSearchMenu: {
156
154
  [groupId: string]: true;
157
155
  };
158
156
  bindMode: import("@excalidraw/element/types").BindMode;
157
+ colorTopPicks: {
158
+ elementStroke: readonly string[] | null;
159
+ elementBackground: readonly string[] | null;
160
+ bucketFill: readonly string[] | null;
161
+ };
159
162
  };
160
163
  captureUpdate: "EVENTUALLY";
161
164
  };
@@ -157,8 +157,6 @@ export declare const actionToggleStats: {
157
157
  y: number;
158
158
  } | null;
159
159
  objectsSnapModeEnabled: boolean;
160
- userToFollow: import("../types").UserToFollow | null;
161
- followedBy: Set<import("../types").SocketId>;
162
160
  isCropping: boolean;
163
161
  croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
164
162
  searchMatches: Readonly<{
@@ -170,6 +168,11 @@ export declare const actionToggleStats: {
170
168
  [groupId: string]: true;
171
169
  };
172
170
  bindMode: import("@excalidraw/element/types").BindMode;
171
+ colorTopPicks: {
172
+ elementStroke: readonly string[] | null;
173
+ elementBackground: readonly string[] | null;
174
+ bucketFill: readonly string[] | null;
175
+ };
173
176
  };
174
177
  captureUpdate: "EVENTUALLY";
175
178
  };
@@ -157,8 +157,6 @@ export declare const actionToggleViewMode: {
157
157
  y: number;
158
158
  } | null;
159
159
  objectsSnapModeEnabled: boolean;
160
- userToFollow: import("../types").UserToFollow | null;
161
- followedBy: Set<import("../types").SocketId>;
162
160
  isCropping: boolean;
163
161
  croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
164
162
  searchMatches: Readonly<{
@@ -170,6 +168,11 @@ export declare const actionToggleViewMode: {
170
168
  [groupId: string]: true;
171
169
  };
172
170
  bindMode: import("@excalidraw/element/types").BindMode;
171
+ colorTopPicks: {
172
+ elementStroke: readonly string[] | null;
173
+ elementBackground: readonly string[] | null;
174
+ bucketFill: readonly string[] | null;
175
+ };
173
176
  };
174
177
  captureUpdate: "EVENTUALLY";
175
178
  };