refactor(editor): new icon picker (#13658)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * In-tree icon picker for Callout blocks (emoji, app icons, images) with popup UI and editor-wide extension/service. * Callout toolbar adds background color presets, an icon-picker action, and a destructive Delete action. * **Refactor** * Replaced legacy emoji workflow with icon-based rendering, updated state, styling, and lifecycle for callouts. * **Tests** * Updated callout E2E to reflect new default icon and picker behavior. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: L-Sun <zover.v@gmail.com>
This commit is contained in:
75
yarn.lock
75
yarn.lock
@@ -802,7 +802,7 @@ __metadata:
|
||||
husky: "npm:^9.1.7"
|
||||
lint-staged: "npm:^16.0.0"
|
||||
msw: "npm:^2.6.8"
|
||||
oxlint: "npm:^1.15.0"
|
||||
oxlint: "npm:~1.18.0"
|
||||
prettier: "npm:^3.4.2"
|
||||
semver: "npm:^7.6.3"
|
||||
serve: "npm:^14.2.4"
|
||||
@@ -2509,6 +2509,7 @@ __metadata:
|
||||
"@blocksuite/std": "workspace:*"
|
||||
"@blocksuite/store": "workspace:*"
|
||||
"@emoji-mart/data": "npm:^1.2.1"
|
||||
"@emotion/css": "npm:^11.13.5"
|
||||
"@floating-ui/dom": "npm:^1.6.10"
|
||||
"@lit/context": "npm:^1.1.2"
|
||||
"@preact/signals-core": "npm:^1.8.0"
|
||||
@@ -10814,58 +10815,58 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@oxlint/darwin-arm64@npm:1.15.0":
|
||||
version: 1.15.0
|
||||
resolution: "@oxlint/darwin-arm64@npm:1.15.0"
|
||||
"@oxlint/darwin-arm64@npm:1.18.0":
|
||||
version: 1.18.0
|
||||
resolution: "@oxlint/darwin-arm64@npm:1.18.0"
|
||||
conditions: os=darwin & cpu=arm64
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@oxlint/darwin-x64@npm:1.15.0":
|
||||
version: 1.15.0
|
||||
resolution: "@oxlint/darwin-x64@npm:1.15.0"
|
||||
"@oxlint/darwin-x64@npm:1.18.0":
|
||||
version: 1.18.0
|
||||
resolution: "@oxlint/darwin-x64@npm:1.18.0"
|
||||
conditions: os=darwin & cpu=x64
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@oxlint/linux-arm64-gnu@npm:1.15.0":
|
||||
version: 1.15.0
|
||||
resolution: "@oxlint/linux-arm64-gnu@npm:1.15.0"
|
||||
"@oxlint/linux-arm64-gnu@npm:1.18.0":
|
||||
version: 1.18.0
|
||||
resolution: "@oxlint/linux-arm64-gnu@npm:1.18.0"
|
||||
conditions: os=linux & cpu=arm64 & libc=glibc
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@oxlint/linux-arm64-musl@npm:1.15.0":
|
||||
version: 1.15.0
|
||||
resolution: "@oxlint/linux-arm64-musl@npm:1.15.0"
|
||||
"@oxlint/linux-arm64-musl@npm:1.18.0":
|
||||
version: 1.18.0
|
||||
resolution: "@oxlint/linux-arm64-musl@npm:1.18.0"
|
||||
conditions: os=linux & cpu=arm64 & libc=musl
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@oxlint/linux-x64-gnu@npm:1.15.0":
|
||||
version: 1.15.0
|
||||
resolution: "@oxlint/linux-x64-gnu@npm:1.15.0"
|
||||
"@oxlint/linux-x64-gnu@npm:1.18.0":
|
||||
version: 1.18.0
|
||||
resolution: "@oxlint/linux-x64-gnu@npm:1.18.0"
|
||||
conditions: os=linux & cpu=x64 & libc=glibc
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@oxlint/linux-x64-musl@npm:1.15.0":
|
||||
version: 1.15.0
|
||||
resolution: "@oxlint/linux-x64-musl@npm:1.15.0"
|
||||
"@oxlint/linux-x64-musl@npm:1.18.0":
|
||||
version: 1.18.0
|
||||
resolution: "@oxlint/linux-x64-musl@npm:1.18.0"
|
||||
conditions: os=linux & cpu=x64 & libc=musl
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@oxlint/win32-arm64@npm:1.15.0":
|
||||
version: 1.15.0
|
||||
resolution: "@oxlint/win32-arm64@npm:1.15.0"
|
||||
"@oxlint/win32-arm64@npm:1.18.0":
|
||||
version: 1.18.0
|
||||
resolution: "@oxlint/win32-arm64@npm:1.18.0"
|
||||
conditions: os=win32 & cpu=arm64
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@oxlint/win32-x64@npm:1.15.0":
|
||||
version: 1.15.0
|
||||
resolution: "@oxlint/win32-x64@npm:1.15.0"
|
||||
"@oxlint/win32-x64@npm:1.18.0":
|
||||
version: 1.18.0
|
||||
resolution: "@oxlint/win32-x64@npm:1.18.0"
|
||||
conditions: os=win32 & cpu=x64
|
||||
languageName: node
|
||||
linkType: hard
|
||||
@@ -28835,18 +28836,18 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"oxlint@npm:^1.15.0":
|
||||
version: 1.15.0
|
||||
resolution: "oxlint@npm:1.15.0"
|
||||
"oxlint@npm:~1.18.0":
|
||||
version: 1.18.0
|
||||
resolution: "oxlint@npm:1.18.0"
|
||||
dependencies:
|
||||
"@oxlint/darwin-arm64": "npm:1.15.0"
|
||||
"@oxlint/darwin-x64": "npm:1.15.0"
|
||||
"@oxlint/linux-arm64-gnu": "npm:1.15.0"
|
||||
"@oxlint/linux-arm64-musl": "npm:1.15.0"
|
||||
"@oxlint/linux-x64-gnu": "npm:1.15.0"
|
||||
"@oxlint/linux-x64-musl": "npm:1.15.0"
|
||||
"@oxlint/win32-arm64": "npm:1.15.0"
|
||||
"@oxlint/win32-x64": "npm:1.15.0"
|
||||
"@oxlint/darwin-arm64": "npm:1.18.0"
|
||||
"@oxlint/darwin-x64": "npm:1.18.0"
|
||||
"@oxlint/linux-arm64-gnu": "npm:1.18.0"
|
||||
"@oxlint/linux-arm64-musl": "npm:1.18.0"
|
||||
"@oxlint/linux-x64-gnu": "npm:1.18.0"
|
||||
"@oxlint/linux-x64-musl": "npm:1.18.0"
|
||||
"@oxlint/win32-arm64": "npm:1.18.0"
|
||||
"@oxlint/win32-x64": "npm:1.18.0"
|
||||
peerDependencies:
|
||||
oxlint-tsgolint: ">=0.2.0"
|
||||
dependenciesMeta:
|
||||
@@ -28872,7 +28873,7 @@ __metadata:
|
||||
bin:
|
||||
oxc_language_server: bin/oxc_language_server
|
||||
oxlint: bin/oxlint
|
||||
checksum: 10/1ee632ad359b3e63a3a5fccadfcab23ac4b0881b06f2e6c29431db56377858571592005459f247b2eef822d1da4c9d68afdf23965afe6ec6a5fe092f60239fa8
|
||||
checksum: 10/79118edfc90df62011b467a273819f00977208e6aed3a98784e15707fb87612ddf609573fd8f438a75986eaf56768bc0de3f1f2b863c2572c191a0944aa6d619
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
|
||||
Reference in New Issue
Block a user