@blokkli/editor 2.0.0-alpha.8 → 2.0.0-alpha.9
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/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/components/BlokkliItem.vue +2 -5
- package/dist/runtime/components/Edit/DragInteractions/index.vue +1 -1
- package/dist/runtime/components/Edit/Features/Artboard/index.vue +29 -1
- package/dist/runtime/components/Edit/Features/Assistant/index.vue +2 -1
- package/dist/runtime/components/Edit/Features/Fragments/index.vue +2 -1
- package/dist/runtime/components/Edit/Features/Library/index.vue +2 -1
- package/dist/runtime/composables/defineBlokkli.js +6 -2
- package/dist/runtime/css/output.css +1 -1
- package/dist/runtime/helpers/animationProvider.js +1 -1
- package/dist/runtime/types/index.d.ts +6 -1
- package/package.json +1 -1
|
@@ -870,6 +870,11 @@ export type LibraryEditItemEvent = {
|
|
|
870
870
|
uuid: string;
|
|
871
871
|
label?: string;
|
|
872
872
|
};
|
|
873
|
+
export type AnimationFrameBeforeEvent = {
|
|
874
|
+
time: number;
|
|
875
|
+
mouseX: number;
|
|
876
|
+
mouseY: number;
|
|
877
|
+
};
|
|
873
878
|
export type EventbusEvents = {
|
|
874
879
|
select: string | string[];
|
|
875
880
|
'select:unselect': undefined;
|
|
@@ -899,7 +904,7 @@ export type EventbusEvents = {
|
|
|
899
904
|
'block:append': BlockAppendEvent;
|
|
900
905
|
'item:doubleClick': DraggableExistingBlock;
|
|
901
906
|
scrollIntoView: ScrollIntoViewEvent;
|
|
902
|
-
'animationFrame:before':
|
|
907
|
+
'animationFrame:before': AnimationFrameBeforeEvent;
|
|
903
908
|
'canvas:draw': CanvasDrawEvent;
|
|
904
909
|
'state:reloaded': undefined;
|
|
905
910
|
addContentSearchItem: AddContentSearchItemEvent;
|