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.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
feat(icon): update icon
alt1o5a78afceb2f4
diff --git a/libs/components/icons/src/auto-icons/indent-right/indent-right.svg b/libs/components/icons/src/auto-icons/arrow-big/arrow-big.svgsimilarity index 100%rename from libs/components/icons/src/auto-icons/indent-right/indent-right.svgrename to libs/components/icons/src/auto-icons/arrow-big/arrow-big.svgdiff --git a/libs/components/icons/src/auto-icons/indent-right/indent-right.tsx b/libs/components/icons/src/auto-icons/arrow-big/arrow-big.tsxsimilarity index 78%rename from libs/components/icons/src/auto-icons/indent-right/indent-right.tsxrename to libs/components/icons/src/auto-icons/arrow-big/arrow-big.tsxindex a7818b39e7..2ab1222fd8 100644--- a/libs/components/icons/src/auto-icons/indent-right/indent-right.tsx+++ b/libs/components/icons/src/auto-icons/arrow-big/arrow-big.tsx@@ -5,11 +5,11 @@ import { SvgIcon } from '@mui/material';// eslint-disable-next-line no-restricted-importsimport type { SvgIconProps } from '@mui/material';-export interface IndentRightIconProps extends Omit<SvgIconProps, 'color'> {+export interface ArrowBigIconProps extends Omit<SvgIconProps, 'color'> {color?: string}-export const IndentRightIcon: FC<IndentRightIconProps> = ({ color, style, ...props}) => {+export const ArrowBigIcon: FC<ArrowBigIconProps> = ({ color, style, ...props}) => {const propsStyles = {"color": color};const customStyles = {};const styles = {...propsStyles, ...customStyles, ...style}diff --git a/libs/components/icons/src/auto-icons/full-screen/full-screen.svg b/libs/components/icons/src/auto-icons/full-screen/full-screen.svgindex 63977ef149..8403abaa04 100644--- a/libs/components/icons/src/auto-icons/full-screen/full-screen.svg+++ b/libs/components/icons/src/auto-icons/full-screen/full-screen.svg@@ -1 +1 @@-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M6 3a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3h12a3 3 0 0 0 3-3V6a3 3 0 0 0-3-3H6Zm10.2 3.8H13V5.2h5.8V11h-1.6V8.063l-3.483 3.482-1.131-1.131L16.2 6.8Zm-5.72 5.72 1.132 1.13-3.55 3.55H11v1.6H5.2V13h1.6v3.2l3.68-3.68Z" clip-rule="evenodd"/></svg>\ No newline at end of file+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M18.069 4.8H14V3.2h6.8V10h-1.6V5.931l-4.634 4.635-1.132-1.132L18.07 4.8ZM5.931 19.2l4.635-4.634-1.132-1.132L4.8 18.07V14H3.2v6.8H10v-1.6H5.931Z" clip-rule="evenodd"/></svg>\ No newline at end of filediff --git a/libs/components/icons/src/auto-icons/full-screen/full-screen.tsx b/libs/components/icons/src/auto-icons/full-screen/full-screen.tsxindex cc91c6915a..614d4a5988 100644--- a/libs/components/icons/src/auto-icons/full-screen/full-screen.tsx+++ b/libs/components/icons/src/auto-icons/full-screen/full-screen.tsx@@ -15,7 +15,7 @@ export const FullScreenIcon: FC<FullScreenIconProps> = ({ color, style, ...propsconst styles = {...propsStyles, ...customStyles, ...style}return (<SvgIcon style={styles} {...props}>- <path fillRule="evenodd" d="M6 3a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3h12a3 3 0 0 0 3-3V6a3 3 0 0 0-3-3H6Zm10.2 3.8H13V5.2h5.8V11h-1.6V8.063l-3.483 3.482-1.131-1.131L16.2 6.8Zm-5.72 5.72 1.132 1.13-3.55 3.55H11v1.6H5.2V13h1.6v3.2l3.68-3.68Z" clipRule="evenodd" />+ <path fillRule="evenodd" d="M18.069 4.8H14V3.2h6.8V10h-1.6V5.931l-4.634 4.635-1.132-1.132L18.07 4.8ZM5.931 19.2l4.635-4.634-1.132-1.132L4.8 18.07V14H3.2v6.8H10v-1.6H5.931Z" clipRule="evenodd" /></SvgIcon>)};diff --git a/libs/components/icons/src/auto-icons/index.ts b/libs/components/icons/src/auto-icons/index.tsindex a28171b516..76dd3cc5ea 100644--- a/libs/components/icons/src/auto-icons/index.ts+++ b/libs/components/icons/src/auto-icons/index.ts@@ -1,4 +1,4 @@-export const timestamp = 1658396276897;+export const timestamp = 1658999074664;export * from './image/image';export * from './format-clear/format-clear';export * from './backward-undo/backward-undo';@@ -78,7 +78,7 @@ export * from './multi-select/multi-select';export * from './shape/shape';export * from './edit/edit';export * from './embed/embed';-export * from './indent-right/indent-right';+export * from './arrow-big/arrow-big';export * from './comment/comment';export * from './at/at';export * from './reaction/reaction';@@ -124,4 +124,5 @@ export * from './settings/settings';export * from './eraser/eraser';export * from './group-by/group-by';export * from './layout/layout';-+export * from './lock/lock';+export * from './unlock/unlock';\ No newline at end of filediff --git a/libs/components/icons/src/auto-icons/lock/lock.svg b/libs/components/icons/src/auto-icons/lock/lock.svgnew file mode 100644index 0000000000..c8075d33b7--- /dev/null+++ b/libs/components/icons/src/auto-icons/lock/lock.svg@@ -0,0 +1 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M18 11.6H6a.4.4 0 0 0-.4.4v8c0 .22.18.4.4.4h12a.4.4 0 0 0 .4-.4v-8a.4.4 0 0 0-.4-.4ZM6 10a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8a2 2 0 0 0-2-2H6ZM7.2 7a4.8 4.8 0 0 1 9.6 0v3h-1.6V7a3.2 3.2 0 0 0-6.4 0v3H7.2V7Z" clip-rule="evenodd"/><circle cx="12" cy="16" r="2"/></svg>\ No newline at end of filediff --git a/libs/components/icons/src/auto-icons/lock/lock.tsx b/libs/components/icons/src/auto-icons/lock/lock.tsxnew file mode 100644index 0000000000..c2637b240f--- /dev/null+++ b/libs/components/icons/src/auto-icons/lock/lock.tsx@@ -0,0 +1,21 @@++import { FC } from 'react';+// eslint-disable-next-line no-restricted-imports+import { SvgIcon } from '@mui/material';+// eslint-disable-next-line no-restricted-imports+import type { SvgIconProps } from '@mui/material';++export interface LockIconProps extends Omit<SvgIconProps, 'color'> {+ color?: string+}++export const LockIcon: FC<LockIconProps> = ({ color, style, ...props}) => {+ const propsStyles = {"color": color};+ const customStyles = {};+ const styles = {...propsStyles, ...customStyles, ...style}+ return (+ <SvgIcon style={styles} {...props}>+ <path fillRule="evenodd" d="M18 11.6H6a.4.4 0 0 0-.4.4v8c0 .22.18.4.4.4h12a.4.4 0 0 0 .4-.4v-8a.4.4 0 0 0-.4-.4ZM6 10a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8a2 2 0 0 0-2-2H6ZM7.2 7a4.8 4.8 0 0 1 9.6 0v3h-1.6V7a3.2 3.2 0 0 0-6.4 0v3H7.2V7Z" clipRule="evenodd" /><circle cx={12} cy={16} r={2} />+ </SvgIcon>+ )+};diff --git a/libs/components/icons/src/auto-icons/logo/logo.svg b/libs/components/icons/src/auto-icons/logo/logo.svgindex 8418191f8c..da49f50ba6 100644--- a/libs/components/icons/src/auto-icons/logo/logo.svg+++ b/libs/components/icons/src/auto-icons/logo/logo.svg@@ -1 +1 @@-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M10.71 1 3 23h4.516L12.42 7.784 17.327 23h4.5l-7.71-22H10.71Z" clip-rule="evenodd"/></svg>\ No newline at end of file+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M10.962 2 4 22h4.078l4.428-13.833L16.936 22H21L14.037 2h-3.075Z" clip-rule="evenodd"/></svg>\ No newline at end of filediff --git a/libs/components/icons/src/auto-icons/logo/logo.tsx b/libs/components/icons/src/auto-icons/logo/logo.tsxindex b402a60325..cbf840ee7e 100644--- a/libs/components/icons/src/auto-icons/logo/logo.tsx+++ b/libs/components/icons/src/auto-icons/logo/logo.tsx@@ -15,7 +15,7 @@ export const LogoIcon: FC<LogoIconProps> = ({ color, style, ...props}) => {const styles = {...propsStyles, ...customStyles, ...style}return (<SvgIcon style={styles} {...props}>- <path fillRule="evenodd" d="M10.71 1 3 23h4.516L12.42 7.784 17.327 23h4.5l-7.71-22H10.71Z" clipRule="evenodd" />+ <path fillRule="evenodd" d="M10.962 2 4 22h4.078l4.428-13.833L16.936 22H21L14.037 2h-3.075Z" clipRule="evenodd" /></SvgIcon>)};diff --git a/libs/components/icons/src/auto-icons/unlock/unlock.svg b/libs/components/icons/src/auto-icons/unlock/unlock.svgnew file mode 100644index 0000000000..d2121ba66b--- /dev/null+++ b/libs/components/icons/src/auto-icons/unlock/unlock.svg@@ -0,0 +1 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M18 11.6H6a.4.4 0 0 0-.4.4v8c0 .22.18.4.4.4h12a.4.4 0 0 0 .4-.4v-8a.4.4 0 0 0-.4-.4ZM6 10a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8a2 2 0 0 0-2-2H6ZM7.2 7a4.8 4.8 0 0 1 9.6 0v3h-1.6V7a3.2 3.2 0 0 0-6.4 0H7.2Z" clip-rule="evenodd"/><circle cx="12" cy="16" r="2"/></svg>\ No newline at end of filediff --git a/libs/components/icons/src/auto-icons/unlock/unlock.tsx b/libs/components/icons/src/auto-icons/unlock/unlock.tsxnew file mode 100644index 0000000000..05fde07d9b--- /dev/null+++ b/libs/components/icons/src/auto-icons/unlock/unlock.tsx@@ -0,0 +1,21 @@++import { FC } from 'react';+// eslint-disable-next-line no-restricted-imports+import { SvgIcon } from '@mui/material';+// eslint-disable-next-line no-restricted-imports+import type { SvgIconProps } from '@mui/material';++export interface UnlockIconProps extends Omit<SvgIconProps, 'color'> {+ color?: string+}++export const UnlockIcon: FC<UnlockIconProps> = ({ color, style, ...props}) => {+ const propsStyles = {"color": color};+ const customStyles = {};+ const styles = {...propsStyles, ...customStyles, ...style}+ return (+ <SvgIcon style={styles} {...props}>+ <path fillRule="evenodd" d="M18 11.6H6a.4.4 0 0 0-.4.4v8c0 .22.18.4.4.4h12a.4.4 0 0 0 .4-.4v-8a.4.4 0 0 0-.4-.4ZM6 10a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8a2 2 0 0 0-2-2H6ZM7.2 7a4.8 4.8 0 0 1 9.6 0v3h-1.6V7a3.2 3.2 0 0 0-6.4 0H7.2Z" clipRule="evenodd" /><circle cx={12} cy={16} r={2} />+ </SvgIcon>+ )+};