refactor(editor): add gfx entry in bs global package (#10612)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import type { EdgelessTextBlockComponent } from '@blocksuite/affine-block-edgeless-text';
|
||||
import { Bound } from '@blocksuite/global/utils';
|
||||
import { Bound } from '@blocksuite/global/gfx';
|
||||
import { expect, type Page } from '@playwright/test';
|
||||
|
||||
import {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Bound } from '@blocksuite/global/utils';
|
||||
import { Bound } from '@blocksuite/global/gfx';
|
||||
import { expect, type Page } from '@playwright/test';
|
||||
|
||||
import { clickView } from '../../utils/actions/click.js';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { IPoint } from '@blocksuite/global/utils';
|
||||
import type { IPoint } from '@blocksuite/global/gfx';
|
||||
import type { Store } from '@blocksuite/store';
|
||||
import type { Page } from '@playwright/test';
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import '../declare-test-window.js';
|
||||
|
||||
import type { NoteBlockModel, NoteDisplayMode } from '@blocksuite/affine-model';
|
||||
import type { IPoint, IVec } from '@blocksuite/global/utils';
|
||||
import type { IPoint, IVec } from '@blocksuite/global/gfx';
|
||||
import { assertExists, sleep } from '@blocksuite/global/utils';
|
||||
import type { Locator, Page } from '@playwright/test';
|
||||
import { expect } from '@playwright/test';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { clamp } from '@blocksuite/global/utils';
|
||||
import { clamp } from '@blocksuite/global/gfx';
|
||||
|
||||
export const BLOCK_CHILDREN_CONTAINER_PADDING_LEFT = 24;
|
||||
export const NOTE_MIN_WIDTH = 450 + 24 * 2;
|
||||
|
||||
Reference in New Issue
Block a user