@blocklet/pages-kit-block-studio 0.6.72 → 0.6.74

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.
@@ -20,7 +20,7 @@ import { parsePropertyValue } from '@blocklet/pages-kit/utils/property';
20
20
  // @ts-ignore
21
21
  import { Dashboard } from '@blocklet/studio-ui';
22
22
  import { BlockletStudio } from '@blocklet/ui-react';
23
- import { DndContext, DragOverlay, closestCorners, KeyboardSensor, PointerSensor, useSensor, useSensors, } from '@dnd-kit/core';
23
+ import { DndContext, DragOverlay, closestCorners, PointerSensor, useSensor, useSensors, } from '@dnd-kit/core';
24
24
  import { SortableContext, useSortable, verticalListSortingStrategy } from '@dnd-kit/sortable';
25
25
  import { CSS } from '@dnd-kit/utilities';
26
26
  import AddIcon from '@mui/icons-material/Add';
@@ -436,7 +436,7 @@ function Layout({ loadState, loadedData }) {
436
436
  activationConstraint: {
437
437
  distance: 8, // 8px movement required to start drag
438
438
  },
439
- }), useSensor(KeyboardSensor));
439
+ }));
440
440
  // Drag event handlers
441
441
  const handleDragStart = (event) => {
442
442
  const { active } = event;