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(core): update communities icon (#4719)

JimmFlyae6376edee7a
diff --git a/packages/frontend/component/package.json b/packages/frontend/component/package.json
index 5f8afd123d..814579ad53 100644
--- a/packages/frontend/component/package.json
+++ b/packages/frontend/component/package.json
@@ -65,7 +65,7 @@
"@blocksuite/blocks": "0.0.0-20231024064721-2aee7119-nightly",
"@blocksuite/editor": "0.0.0-20231024064721-2aee7119-nightly",
"@blocksuite/global": "0.0.0-20231024064721-2aee7119-nightly",
- "@blocksuite/icons": "2.1.34",
+ "@blocksuite/icons": "2.1.35",
"@blocksuite/lit": "0.0.0-20231024064721-2aee7119-nightly",
"@blocksuite/store": "0.0.0-20231024064721-2aee7119-nightly",
"@storybook/jest": "^0.2.3",
diff --git a/packages/frontend/core/package.json b/packages/frontend/core/package.json
index 0d527b96c5..957d91af11 100644
--- a/packages/frontend/core/package.json
+++ b/packages/frontend/core/package.json
@@ -28,7 +28,7 @@
"@blocksuite/blocks": "0.0.0-20231024064721-2aee7119-nightly",
"@blocksuite/editor": "0.0.0-20231024064721-2aee7119-nightly",
"@blocksuite/global": "0.0.0-20231024064721-2aee7119-nightly",
- "@blocksuite/icons": "2.1.34",
+ "@blocksuite/icons": "2.1.35",
"@blocksuite/lit": "0.0.0-20231024064721-2aee7119-nightly",
"@blocksuite/store": "0.0.0-20231024064721-2aee7119-nightly",
"@dnd-kit/core": "^6.0.8",
diff --git a/packages/frontend/core/src/components/affine/setting-modal/general-setting/about/config.tsx b/packages/frontend/core/src/components/affine/setting-modal/general-setting/about/config.tsx
index f6cd7407dd..aa3b717903 100644
--- a/packages/frontend/core/src/components/affine/setting-modal/general-setting/about/config.tsx
+++ b/packages/frontend/core/src/components/affine/setting-modal/general-setting/about/config.tsx
@@ -15,7 +15,7 @@ export const relatedLinks = [
},
{
icon: <TwitterIcon />,
- title: 'Twitter',
+ title: 'X',
link: 'https://twitter.com/AffineOfficial',
},
{
diff --git a/packages/frontend/core/src/components/affine/setting-modal/general-setting/about/icons.tsx b/packages/frontend/core/src/components/affine/setting-modal/general-setting/about/icons.tsx
index b370f843d7..f0e048e752 100644
--- a/packages/frontend/core/src/components/affine/setting-modal/general-setting/about/icons.tsx
+++ b/packages/frontend/core/src/components/affine/setting-modal/general-setting/about/icons.tsx
@@ -1,3 +1,6 @@
+// The icons here have been specially adjusted, they’re different from the ones in the @blocksuite/icons.
+
+export { TwitterIcon } from '@blocksuite/icons';
export const LogoIcon = () => {
return (
<svg
@@ -33,23 +36,6 @@ export const DocIcon = () => {
);
};
-export const TwitterIcon = () => {
- return (
- <svg
- width="24"
- height="24"
- viewBox="0 0 24 24"
- fill="none"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- d="M22 5.88235C21.2639 6.21176 20.4704 6.42824 19.6482 6.53176C20.4895 6.03294 21.1396 5.24235 21.4455 4.29176C20.652 4.76235 19.7725 5.09176 18.8451 5.28C18.0899 4.47059 17.0287 4 15.8241 4C13.5774 4 11.7419 5.80706 11.7419 8.03765C11.7419 8.35765 11.7801 8.66824 11.847 8.96C8.4436 8.79059 5.413 7.18118 3.39579 4.74353C3.04207 5.33647 2.8413 6.03294 2.8413 6.76706C2.8413 8.16941 3.55832 9.41176 4.6673 10.1176C3.98853 10.1176 3.35755 9.92941 2.80306 9.64706V9.67529C2.80306 11.6329 4.21797 13.2706 6.09178 13.6376C5.49018 13.7997 4.8586 13.8223 4.24665 13.7035C4.50632 14.5059 5.01485 15.2079 5.70078 15.711C6.38671 16.2141 7.21553 16.4929 8.07075 16.5082C6.62106 17.6381 4.82409 18.2488 2.97514 18.24C2.6501 18.24 2.32505 18.2212 2 18.1835C3.81644 19.3318 5.97706 20 8.29063 20C15.8241 20 19.9637 13.8447 19.9637 8.50824C19.9637 8.32941 19.9637 8.16 19.9541 7.98118C20.7572 7.41647 21.4455 6.70118 22 5.88235Z"
- fill="#1D9BF0"
- />
- </svg>
- );
-};
-
export const GithubIcon = () => {
return (
<svg
diff --git a/packages/plugins/copilot/package.json b/packages/plugins/copilot/package.json
index dd64c945b7..ed129e7682 100644
--- a/packages/plugins/copilot/package.json
+++ b/packages/plugins/copilot/package.json
@@ -16,7 +16,7 @@
"dependencies": {
"@affine/component": "workspace:*",
"@affine/sdk": "workspace:*",
- "@blocksuite/icons": "2.1.34",
+ "@blocksuite/icons": "2.1.35",
"@toeverything/components": "^0.0.45",
"@vanilla-extract/css": "^1.13.0",
"clsx": "^2.0.0",
diff --git a/packages/plugins/hello-world/package.json b/packages/plugins/hello-world/package.json
index edc3bccfb3..5911a31375 100644
--- a/packages/plugins/hello-world/package.json
+++ b/packages/plugins/hello-world/package.json
@@ -17,7 +17,7 @@
"dependencies": {
"@affine/component": "workspace:*",
"@affine/sdk": "workspace:*",
- "@blocksuite/icons": "2.1.34",
+ "@blocksuite/icons": "2.1.35",
"@toeverything/components": "^0.0.45"
},
"devDependencies": {
diff --git a/packages/plugins/image-preview/package.json b/packages/plugins/image-preview/package.json
index a5edc7f451..c7dab6b7c2 100644
--- a/packages/plugins/image-preview/package.json
+++ b/packages/plugins/image-preview/package.json
@@ -16,7 +16,7 @@
"dependencies": {
"@affine/component": "workspace:*",
"@affine/sdk": "workspace:*",
- "@blocksuite/icons": "2.1.34",
+ "@blocksuite/icons": "2.1.35",
"@toeverything/components": "^0.0.45",
"@toeverything/theme": "^0.7.20",
"clsx": "^2.0.0",
diff --git a/packages/plugins/outline/package.json b/packages/plugins/outline/package.json
index 3917ec57bc..faa555f4bf 100644
--- a/packages/plugins/outline/package.json
+++ b/packages/plugins/outline/package.json
@@ -17,7 +17,7 @@
"dependencies": {
"@affine/component": "workspace:*",
"@affine/sdk": "workspace:*",
- "@blocksuite/icons": "2.1.34",
+ "@blocksuite/icons": "2.1.35",
"@toeverything/components": "^0.0.45"
},
"devDependencies": {
diff --git a/tests/storybook/package.json b/tests/storybook/package.json
index db630eebdd..8f8db15a98 100644
--- a/tests/storybook/package.json
+++ b/tests/storybook/package.json
@@ -36,7 +36,7 @@
"@blocksuite/blocks": "0.0.0-20231024064721-2aee7119-nightly",
"@blocksuite/editor": "0.0.0-20231024064721-2aee7119-nightly",
"@blocksuite/global": "0.0.0-20231024064721-2aee7119-nightly",
- "@blocksuite/icons": "2.1.34",
+ "@blocksuite/icons": "2.1.35",
"@blocksuite/lit": "0.0.0-20231024064721-2aee7119-nightly",
"@blocksuite/store": "0.0.0-20231024064721-2aee7119-nightly",
"@dnd-kit/sortable": "^7.0.2",
diff --git a/yarn.lock b/yarn.lock
index c7639c1470..6f5b71bc0b 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -198,7 +198,7 @@ __metadata:
"@blocksuite/blocks": "npm:0.0.0-20231024064721-2aee7119-nightly"
"@blocksuite/editor": "npm:0.0.0-20231024064721-2aee7119-nightly"
"@blocksuite/global": "npm:0.0.0-20231024064721-2aee7119-nightly"
- "@blocksuite/icons": "npm:2.1.34"
+ "@blocksuite/icons": "npm:2.1.35"
"@blocksuite/lit": "npm:0.0.0-20231024064721-2aee7119-nightly"
"@blocksuite/store": "npm:0.0.0-20231024064721-2aee7119-nightly"
"@dnd-kit/core": "npm:^6.0.8"
@@ -271,7 +271,7 @@ __metadata:
"@affine/component": "workspace:*"
"@affine/plugin-cli": "workspace:*"
"@affine/sdk": "workspace:*"
- "@blocksuite/icons": "npm:2.1.34"
+ "@blocksuite/icons": "npm:2.1.35"
"@toeverything/components": "npm:^0.0.45"
"@types/marked": "npm:^6.0.0"
"@vanilla-extract/css": "npm:^1.13.0"
@@ -308,7 +308,7 @@ __metadata:
"@blocksuite/blocks": "npm:0.0.0-20231024064721-2aee7119-nightly"
"@blocksuite/editor": "npm:0.0.0-20231024064721-2aee7119-nightly"
"@blocksuite/global": "npm:0.0.0-20231024064721-2aee7119-nightly"
- "@blocksuite/icons": "npm:2.1.34"
+ "@blocksuite/icons": "npm:2.1.35"
"@blocksuite/lit": "npm:0.0.0-20231024064721-2aee7119-nightly"
"@blocksuite/store": "npm:0.0.0-20231024064721-2aee7119-nightly"
"@dnd-kit/core": "npm:^6.0.8"
@@ -486,7 +486,7 @@ __metadata:
"@affine/component": "workspace:*"
"@affine/plugin-cli": "workspace:*"
"@affine/sdk": "workspace:*"
- "@blocksuite/icons": "npm:2.1.34"
+ "@blocksuite/icons": "npm:2.1.35"
"@toeverything/components": "npm:^0.0.45"
languageName: unknown
linkType: soft
@@ -512,7 +512,7 @@ __metadata:
"@affine/component": "workspace:*"
"@affine/plugin-cli": "workspace:*"
"@affine/sdk": "workspace:*"
- "@blocksuite/icons": "npm:2.1.34"
+ "@blocksuite/icons": "npm:2.1.35"
"@toeverything/components": "npm:^0.0.45"
"@toeverything/theme": "npm:^0.7.20"
clsx: "npm:^2.0.0"
@@ -613,7 +613,7 @@ __metadata:
"@affine/component": "workspace:*"
"@affine/plugin-cli": "workspace:*"
"@affine/sdk": "workspace:*"
- "@blocksuite/icons": "npm:2.1.34"
+ "@blocksuite/icons": "npm:2.1.35"
"@toeverything/components": "npm:^0.0.45"
jotai: "npm:^2.4.3"
react: "npm:18.2.0"
@@ -768,7 +768,7 @@ __metadata:
"@blocksuite/blocks": "npm:0.0.0-20231024064721-2aee7119-nightly"
"@blocksuite/editor": "npm:0.0.0-20231024064721-2aee7119-nightly"
"@blocksuite/global": "npm:0.0.0-20231024064721-2aee7119-nightly"
- "@blocksuite/icons": "npm:2.1.34"
+ "@blocksuite/icons": "npm:2.1.35"
"@blocksuite/lit": "npm:0.0.0-20231024064721-2aee7119-nightly"
"@blocksuite/store": "npm:0.0.0-20231024064721-2aee7119-nightly"
"@dnd-kit/sortable": "npm:^7.0.2"
@@ -3545,7 +3545,17 @@ __metadata:
languageName: node
linkType: hard
-"@blocksuite/icons@npm:2.1.34, @blocksuite/icons@npm:^2.1.33":
+"@blocksuite/icons@npm:2.1.35":
+ version: 2.1.35
+ resolution: "@blocksuite/icons@npm:2.1.35"
+ peerDependencies:
+ "@types/react": ^18.0.25
+ react: ^18.2.0
+ checksum: 4a7c1d11ae573b5c2cd3fc0c570892ab3ea1b5108cf6c59759186f56022901ef99a7344d54df45d85d721d6a199c88aa12b22b5791c4357068ea3074318699c8
+ languageName: node
+ linkType: hard
+
+"@blocksuite/icons@npm:^2.1.33":
version: 2.1.34
resolution: "@blocksuite/icons@npm:2.1.34"
peerDependencies: