refactor(editor): extract color picker component (#9456)

This commit is contained in:
Saul-Mirone
2024-12-31 07:23:37 +00:00
parent 353eaf7fbe
commit 597b631918
29 changed files with 106 additions and 85 deletions

View File

@@ -1,4 +1,4 @@
import { parseStringToRgba } from '@blocks/root-block/edgeless/components/color-picker/utils.js';
import { parseStringToRgba } from '@blocksuite/affine-components/color-picker';
import { expect, type Locator, type Page } from '@playwright/test';
import { dragBetweenCoords } from 'utils/actions/drag.js';
import {

View File

@@ -7,6 +7,7 @@
"test": "yarn playwright test"
},
"dependencies": {
"@blocksuite/affine-components": "workspace:*",
"@blocksuite/affine-model": "workspace:*",
"@blocksuite/block-std": "workspace:*",
"@blocksuite/global": "workspace:*",