Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

chore: bump icon version and change plugins icon (#3640)

JimmFlye180398637cf
diff --git a/apps/core/package.json b/apps/core/package.json
index 42dc90f39c..3236e84ff5 100644
--- a/apps/core/package.json
+++ b/apps/core/package.json
@@ -22,7 +22,7 @@
"@blocksuite/blocks": "0.0.0-20230809030546-32e6e21d-nightly",
"@blocksuite/editor": "0.0.0-20230809030546-32e6e21d-nightly",
"@blocksuite/global": "0.0.0-20230809030546-32e6e21d-nightly",
- "@blocksuite/icons": "^2.1.30",
+ "@blocksuite/icons": "^2.1.31",
"@blocksuite/lit": "0.0.0-20230809030546-32e6e21d-nightly",
"@blocksuite/store": "0.0.0-20230809030546-32e6e21d-nightly",
"@dnd-kit/core": "^6.0.8",
diff --git a/apps/core/src/components/affine/setting-modal/general-setting/index.tsx b/apps/core/src/components/affine/setting-modal/general-setting/index.tsx
index d58dc6ba1a..ee73e2461e 100644
--- a/apps/core/src/components/affine/setting-modal/general-setting/index.tsx
+++ b/apps/core/src/components/affine/setting-modal/general-setting/index.tsx
@@ -1,9 +1,9 @@
import { useAFFiNEI18N } from '@affine/i18n/hooks';
import {
- AiIcon,
AppearanceIcon,
InformationIcon,
KeyboardIcon,
+ PluginIcon,
} from '@blocksuite/icons';
import type { ReactElement, SVGProps } from 'react';
@@ -46,7 +46,7 @@ export const useGeneralSettingList = (): GeneralSettingList => {
{
key: 'plugins',
title: 'Plugins',
- icon: AiIcon,
+ icon: PluginIcon,
testId: 'plugins-panel-trigger',
},
{
diff --git a/apps/storybook/package.json b/apps/storybook/package.json
index eac4473720..0b63af9aa5 100644
--- a/apps/storybook/package.json
+++ b/apps/storybook/package.json
@@ -34,7 +34,7 @@
"@blocksuite/blocks": "0.0.0-20230809030546-32e6e21d-nightly",
"@blocksuite/editor": "0.0.0-20230809030546-32e6e21d-nightly",
"@blocksuite/global": "0.0.0-20230809030546-32e6e21d-nightly",
- "@blocksuite/icons": "^2.1.30",
+ "@blocksuite/icons": "^2.1.31",
"@blocksuite/lit": "0.0.0-20230809030546-32e6e21d-nightly",
"@blocksuite/store": "0.0.0-20230809030546-32e6e21d-nightly",
"react": "18.2.0",
diff --git a/packages/component/package.json b/packages/component/package.json
index 5530139f5c..8fca56b19d 100644
--- a/packages/component/package.json
+++ b/packages/component/package.json
@@ -54,7 +54,7 @@
"@blocksuite/blocks": "0.0.0-20230809030546-32e6e21d-nightly",
"@blocksuite/editor": "0.0.0-20230809030546-32e6e21d-nightly",
"@blocksuite/global": "0.0.0-20230809030546-32e6e21d-nightly",
- "@blocksuite/icons": "^2.1.30",
+ "@blocksuite/icons": "^2.1.31",
"@blocksuite/lit": "0.0.0-20230809030546-32e6e21d-nightly",
"@blocksuite/store": "0.0.0-20230809030546-32e6e21d-nightly",
"@types/react": "^18.2.17",
diff --git a/plugins/bookmark/package.json b/plugins/bookmark/package.json
index 01d4576dc7..50ef80c703 100644
--- a/plugins/bookmark/package.json
+++ b/plugins/bookmark/package.json
@@ -20,7 +20,7 @@
"dependencies": {
"@affine/component": "workspace:*",
"@affine/sdk": "workspace:*",
- "@blocksuite/icons": "^2.1.30",
+ "@blocksuite/icons": "^2.1.31",
"foxact": "^0.2.17",
"link-preview-js": "^3.0.4"
},
diff --git a/plugins/hello-world/package.json b/plugins/hello-world/package.json
index a952188076..77c6c07e1c 100644
--- a/plugins/hello-world/package.json
+++ b/plugins/hello-world/package.json
@@ -17,7 +17,7 @@
"dependencies": {
"@affine/component": "workspace:*",
"@affine/sdk": "workspace:*",
- "@blocksuite/icons": "^2.1.30",
+ "@blocksuite/icons": "^2.1.31",
"@toeverything/components": "^0.0.10"
},
"devDependencies": {
diff --git a/plugins/image-preview/package.json b/plugins/image-preview/package.json
index 97b95d3346..1e27e8ae0f 100644
--- a/plugins/image-preview/package.json
+++ b/plugins/image-preview/package.json
@@ -16,7 +16,7 @@
"dependencies": {
"@affine/component": "workspace:*",
"@affine/sdk": "workspace:*",
- "@blocksuite/icons": "^2.1.30",
+ "@blocksuite/icons": "^2.1.31",
"@toeverything/components": "^0.0.10",
"@toeverything/theme": "^0.7.11",
"clsx": "^2.0.0",
diff --git a/yarn.lock b/yarn.lock
index d99ca79845..e4fad06a12 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -96,7 +96,7 @@ __metadata:
"@affine/component": "workspace:*"
"@affine/plugin-cli": "workspace:*"
"@affine/sdk": "workspace:*"
- "@blocksuite/icons": ^2.1.30
+ "@blocksuite/icons": ^2.1.31
foxact: ^0.2.17
link-preview-js: ^3.0.4
languageName: unknown
@@ -129,7 +129,7 @@ __metadata:
"@blocksuite/blocks": 0.0.0-20230809030546-32e6e21d-nightly
"@blocksuite/editor": 0.0.0-20230809030546-32e6e21d-nightly
"@blocksuite/global": 0.0.0-20230809030546-32e6e21d-nightly
- "@blocksuite/icons": ^2.1.30
+ "@blocksuite/icons": ^2.1.31
"@blocksuite/lit": 0.0.0-20230809030546-32e6e21d-nightly
"@blocksuite/store": 0.0.0-20230809030546-32e6e21d-nightly
"@dnd-kit/core": ^6.0.8
@@ -220,7 +220,7 @@ __metadata:
"@blocksuite/blocks": 0.0.0-20230809030546-32e6e21d-nightly
"@blocksuite/editor": 0.0.0-20230809030546-32e6e21d-nightly
"@blocksuite/global": 0.0.0-20230809030546-32e6e21d-nightly
- "@blocksuite/icons": ^2.1.30
+ "@blocksuite/icons": ^2.1.31
"@blocksuite/lit": 0.0.0-20230809030546-32e6e21d-nightly
"@blocksuite/store": 0.0.0-20230809030546-32e6e21d-nightly
"@dnd-kit/core": ^6.0.8
@@ -403,7 +403,7 @@ __metadata:
"@affine/component": "workspace:*"
"@affine/plugin-cli": "workspace:*"
"@affine/sdk": "workspace:*"
- "@blocksuite/icons": ^2.1.30
+ "@blocksuite/icons": ^2.1.31
"@toeverything/components": ^0.0.10
languageName: unknown
linkType: soft
@@ -429,7 +429,7 @@ __metadata:
"@affine/component": "workspace:*"
"@affine/plugin-cli": "workspace:*"
"@affine/sdk": "workspace:*"
- "@blocksuite/icons": ^2.1.30
+ "@blocksuite/icons": ^2.1.31
"@toeverything/components": ^0.0.10
"@toeverything/theme": ^0.7.11
clsx: ^2.0.0
@@ -641,7 +641,7 @@ __metadata:
"@blocksuite/blocks": 0.0.0-20230809030546-32e6e21d-nightly
"@blocksuite/editor": 0.0.0-20230809030546-32e6e21d-nightly
"@blocksuite/global": 0.0.0-20230809030546-32e6e21d-nightly
- "@blocksuite/icons": ^2.1.30
+ "@blocksuite/icons": ^2.1.31
"@blocksuite/lit": 0.0.0-20230809030546-32e6e21d-nightly
"@blocksuite/store": 0.0.0-20230809030546-32e6e21d-nightly
"@storybook/addon-actions": ^7.1.1
@@ -3431,6 +3431,16 @@ __metadata:
languageName: node
linkType: hard
+"@blocksuite/icons@npm:^2.1.31":
+ version: 2.1.31
+ resolution: "@blocksuite/icons@npm:2.1.31"
+ peerDependencies:
+ "@types/react": ^18.0.25
+ react: ^18.2.0
+ checksum: 046dd4195e105bd5d9225571f5b5369e66e0bc2cd68819ee5713a1c55d6d64272c5c99cb4e41fd7b5cc4c80d0c2818068dd04dc8452df2d94b1bfddcc188b3d9
+ languageName: node
+ linkType: hard
+
"@blocksuite/lit@npm:0.0.0-20230809030546-32e6e21d-nightly":
version: 0.0.0-20230809030546-32e6e21d-nightly
resolution: "@blocksuite/lit@npm:0.0.0-20230809030546-32e6e21d-nightly"