mirror of
https://github.com/toeverything/AFFiNE.git
synced 2025-01-07 03:26:39 +03:00
chore: bump up @blocksuite/icons version (#7233)
This commit is contained in:
parent
390852f8be
commit
09201d42a0
@ -78,7 +78,7 @@
|
|||||||
"@blocksuite/block-std": "0.15.0-canary-202406180357-838ef08",
|
"@blocksuite/block-std": "0.15.0-canary-202406180357-838ef08",
|
||||||
"@blocksuite/blocks": "0.15.0-canary-202406180357-838ef08",
|
"@blocksuite/blocks": "0.15.0-canary-202406180357-838ef08",
|
||||||
"@blocksuite/global": "0.15.0-canary-202406180357-838ef08",
|
"@blocksuite/global": "0.15.0-canary-202406180357-838ef08",
|
||||||
"@blocksuite/icons": "2.1.55",
|
"@blocksuite/icons": "2.1.58",
|
||||||
"@blocksuite/presets": "0.15.0-canary-202406180357-838ef08",
|
"@blocksuite/presets": "0.15.0-canary-202406180357-838ef08",
|
||||||
"@blocksuite/store": "0.15.0-canary-202406180357-838ef08",
|
"@blocksuite/store": "0.15.0-canary-202406180357-838ef08",
|
||||||
"@storybook/addon-actions": "^7.6.17",
|
"@storybook/addon-actions": "^7.6.17",
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { CloseIcon } from '@blocksuite/icons';
|
import { CloseIcon } from '@blocksuite/icons/rc';
|
||||||
import type { ReactNode } from 'react';
|
import type { ReactNode } from 'react';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { Button, IconButton } from '@affine/component/ui/button';
|
import { Button, IconButton } from '@affine/component/ui/button';
|
||||||
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
||||||
import { CloseIcon } from '@blocksuite/icons';
|
import { CloseIcon } from '@blocksuite/icons/rc';
|
||||||
import { useCallback } from 'react';
|
import { useCallback } from 'react';
|
||||||
|
|
||||||
import * as styles from './index.css';
|
import * as styles from './index.css';
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { Button } from '@affine/component/ui/button';
|
import { Button } from '@affine/component/ui/button';
|
||||||
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
||||||
import { Logo1Icon } from '@blocksuite/icons';
|
import { Logo1Icon } from '@blocksuite/icons/rc';
|
||||||
import { useCallback } from 'react';
|
import { useCallback } from 'react';
|
||||||
|
|
||||||
import { DesktopNavbar } from './desktop-navbar';
|
import { DesktopNavbar } from './desktop-navbar';
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { IconButton } from '@affine/component/ui/button';
|
import { IconButton } from '@affine/component/ui/button';
|
||||||
import { Menu, MenuItem } from '@affine/component/ui/menu';
|
import { Menu, MenuItem } from '@affine/component/ui/menu';
|
||||||
import { CloseIcon, PropertyIcon } from '@blocksuite/icons';
|
import { CloseIcon, PropertyIcon } from '@blocksuite/icons/rc';
|
||||||
import { useState } from 'react';
|
import { useState } from 'react';
|
||||||
|
|
||||||
import * as styles from './index.css';
|
import * as styles from './index.css';
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
||||||
import { ArrowLeftSmallIcon } from '@blocksuite/icons';
|
import { ArrowLeftSmallIcon } from '@blocksuite/icons/rc';
|
||||||
import type { FC } from 'react';
|
import type { FC } from 'react';
|
||||||
|
|
||||||
import type { ButtonProps } from '../../ui/button';
|
import type { ButtonProps } from '../../ui/button';
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { Logo1Icon } from '@blocksuite/icons';
|
import { Logo1Icon } from '@blocksuite/icons/rc';
|
||||||
import type { FC } from 'react';
|
import type { FC } from 'react';
|
||||||
|
|
||||||
import { modalHeaderWrapper } from './share.css';
|
import { modalHeaderWrapper } from './share.css';
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { apis } from '@affine/electron-api';
|
import { apis } from '@affine/electron-api';
|
||||||
import { ArrowRightSmallIcon } from '@blocksuite/icons';
|
import { ArrowRightSmallIcon } from '@blocksuite/icons/rc';
|
||||||
import clsx from 'clsx';
|
import clsx from 'clsx';
|
||||||
import { useEffect, useMemo, useState } from 'react';
|
import { useEffect, useMemo, useState } from 'react';
|
||||||
import type { Location } from 'react-router-dom';
|
import type { Location } from 'react-router-dom';
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import { WorkspaceAvatar } from '@affine/component/workspace-avatar';
|
import { WorkspaceAvatar } from '@affine/component/workspace-avatar';
|
||||||
import { UNTITLED_WORKSPACE_NAME } from '@affine/env/constant';
|
import { UNTITLED_WORKSPACE_NAME } from '@affine/env/constant';
|
||||||
import { WorkspaceFlavour } from '@affine/env/workspace';
|
import { WorkspaceFlavour } from '@affine/env/workspace';
|
||||||
import { CollaborationIcon, SettingsIcon } from '@blocksuite/icons';
|
import { CollaborationIcon, SettingsIcon } from '@blocksuite/icons/rc';
|
||||||
import type { WorkspaceMetadata } from '@toeverything/infra';
|
import type { WorkspaceMetadata } from '@toeverything/infra';
|
||||||
import clsx from 'clsx';
|
import clsx from 'clsx';
|
||||||
import { type MouseEvent, useCallback } from 'react';
|
import { type MouseEvent, useCallback } from 'react';
|
||||||
|
@ -5,7 +5,7 @@ import {
|
|||||||
HelpIcon,
|
HelpIcon,
|
||||||
NewIcon,
|
NewIcon,
|
||||||
NotionIcon,
|
NotionIcon,
|
||||||
} from '@blocksuite/icons';
|
} from '@blocksuite/icons/rc';
|
||||||
|
|
||||||
import { IconButton } from '../../ui/button';
|
import { IconButton } from '../../ui/button';
|
||||||
import { Tooltip } from '../../ui/tooltip';
|
import { Tooltip } from '../../ui/tooltip';
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { ArrowLeftSmallIcon, ArrowRightSmallIcon } from '@blocksuite/icons';
|
import { ArrowLeftSmallIcon, ArrowRightSmallIcon } from '@blocksuite/icons/rc';
|
||||||
import clsx from 'clsx';
|
import clsx from 'clsx';
|
||||||
import { useCallback, useMemo } from 'react';
|
import { useCallback, useMemo } from 'react';
|
||||||
import ReactPaginate from 'react-paginate';
|
import ReactPaginate from 'react-paginate';
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
||||||
import { SignOutIcon } from '@blocksuite/icons';
|
import { SignOutIcon } from '@blocksuite/icons/rc';
|
||||||
|
|
||||||
import { Avatar } from '../../ui/avatar';
|
import { Avatar } from '../../ui/avatar';
|
||||||
import { Button, IconButton } from '../../ui/button';
|
import { Button, IconButton } from '../../ui/button';
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
// https://github.com/emilkowalski/sonner/blob/5cb703edc108a23fd74979235c2f3c4005edd2a7/src/index.tsx
|
// https://github.com/emilkowalski/sonner/blob/5cb703edc108a23fd74979235c2f3c4005edd2a7/src/index.tsx
|
||||||
|
|
||||||
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
||||||
import { CloseIcon, InformationFillDuotoneIcon } from '@blocksuite/icons';
|
import { CloseIcon, InformationFillDuotoneIcon } from '@blocksuite/icons/rc';
|
||||||
import * as Toast from '@radix-ui/react-toast';
|
import * as Toast from '@radix-ui/react-toast';
|
||||||
import clsx from 'clsx';
|
import clsx from 'clsx';
|
||||||
import { useAtom, useAtomValue, useSetAtom } from 'jotai';
|
import { useAtom, useAtomValue, useSetAtom } from 'jotai';
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { CameraIcon } from '@blocksuite/icons';
|
import { CameraIcon } from '@blocksuite/icons/rc';
|
||||||
import type { Meta, StoryFn } from '@storybook/react';
|
import type { Meta, StoryFn } from '@storybook/react';
|
||||||
|
|
||||||
import type { AvatarProps } from './avatar';
|
import type { AvatarProps } from './avatar';
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { CloseIcon } from '@blocksuite/icons';
|
import { CloseIcon } from '@blocksuite/icons/rc';
|
||||||
import type {
|
import type {
|
||||||
AvatarFallbackProps,
|
AvatarFallbackProps,
|
||||||
AvatarImageProps,
|
AvatarImageProps,
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { InformationIcon } from '@blocksuite/icons';
|
import { InformationIcon } from '@blocksuite/icons/rc';
|
||||||
import type { Meta, StoryFn } from '@storybook/react';
|
import type { Meta, StoryFn } from '@storybook/react';
|
||||||
|
|
||||||
import type { ButtonProps } from './button';
|
import type { ButtonProps } from './button';
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { ArrowDownSmallIcon } from '@blocksuite/icons';
|
import { ArrowDownSmallIcon } from '@blocksuite/icons/rc';
|
||||||
import type { ButtonHTMLAttributes, MouseEventHandler } from 'react';
|
import type { ButtonHTMLAttributes, MouseEventHandler } from 'react';
|
||||||
import { forwardRef } from 'react';
|
import { forwardRef } from 'react';
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { InformationIcon } from '@blocksuite/icons';
|
import { InformationIcon } from '@blocksuite/icons/rc';
|
||||||
import type { Meta, StoryFn } from '@storybook/react';
|
import type { Meta, StoryFn } from '@storybook/react';
|
||||||
|
|
||||||
import type { IconButtonProps } from './icon-button';
|
import type { IconButtonProps } from './icon-button';
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { ArrowLeftSmallIcon, ArrowRightSmallIcon } from '@blocksuite/icons';
|
import { ArrowLeftSmallIcon, ArrowRightSmallIcon } from '@blocksuite/icons/rc';
|
||||||
import { assignInlineVars } from '@vanilla-extract/dynamic';
|
import { assignInlineVars } from '@vanilla-extract/dynamic';
|
||||||
import clsx from 'clsx';
|
import clsx from 'clsx';
|
||||||
import type { HTMLAttributes, PropsWithChildren, ReactNode } from 'react';
|
import type { HTMLAttributes, PropsWithChildren, ReactNode } from 'react';
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { ArrowLeftSmallIcon, ArrowRightSmallIcon } from '@blocksuite/icons';
|
import { ArrowLeftSmallIcon, ArrowRightSmallIcon } from '@blocksuite/icons/rc';
|
||||||
import clsx from 'clsx';
|
import clsx from 'clsx';
|
||||||
import dayjs from 'dayjs';
|
import dayjs from 'dayjs';
|
||||||
import type { ForwardedRef, HTMLAttributes } from 'react';
|
import type { ForwardedRef, HTMLAttributes } from 'react';
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { InformationIcon } from '@blocksuite/icons';
|
import { InformationIcon } from '@blocksuite/icons/rc';
|
||||||
import type { Meta, StoryFn } from '@storybook/react';
|
import type { Meta, StoryFn } from '@storybook/react';
|
||||||
|
|
||||||
import type { InputProps } from './index';
|
import type { InputProps } from './index';
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { ArrowRightSmallIcon } from '@blocksuite/icons';
|
import { ArrowRightSmallIcon } from '@blocksuite/icons/rc';
|
||||||
import type {
|
import type {
|
||||||
DropdownMenuSubProps,
|
DropdownMenuSubProps,
|
||||||
MenuPortalProps,
|
MenuPortalProps,
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { ArrowDownSmallIcon } from '@blocksuite/icons';
|
import { ArrowDownSmallIcon } from '@blocksuite/icons/rc';
|
||||||
import { assignInlineVars } from '@vanilla-extract/dynamic';
|
import { assignInlineVars } from '@vanilla-extract/dynamic';
|
||||||
import clsx from 'clsx';
|
import clsx from 'clsx';
|
||||||
import type {
|
import type {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { InformationIcon } from '@blocksuite/icons';
|
import { InformationIcon } from '@blocksuite/icons/rc';
|
||||||
import type { Meta, StoryFn } from '@storybook/react';
|
import type { Meta, StoryFn } from '@storybook/react';
|
||||||
import type { ReactNode } from 'react';
|
import type { ReactNode } from 'react';
|
||||||
import { useCallback, useState } from 'react';
|
import { useCallback, useState } from 'react';
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { DoneIcon } from '@blocksuite/icons';
|
import { DoneIcon } from '@blocksuite/icons/rc';
|
||||||
import clsx from 'clsx';
|
import clsx from 'clsx';
|
||||||
import { useMemo } from 'react';
|
import { useMemo } from 'react';
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { CloseIcon } from '@blocksuite/icons';
|
import { CloseIcon } from '@blocksuite/icons/rc';
|
||||||
import type {
|
import type {
|
||||||
DialogContentProps,
|
DialogContentProps,
|
||||||
DialogOverlayProps,
|
DialogOverlayProps,
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { CloseIcon, InformationFillDuotoneIcon } from '@blocksuite/icons';
|
import { CloseIcon, InformationFillDuotoneIcon } from '@blocksuite/icons/rc';
|
||||||
import { assignInlineVars } from '@vanilla-extract/dynamic';
|
import { assignInlineVars } from '@vanilla-extract/dynamic';
|
||||||
import clsx from 'clsx';
|
import clsx from 'clsx';
|
||||||
import { type HTMLAttributes, useCallback } from 'react';
|
import { type HTMLAttributes, useCallback } from 'react';
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { SingleSelectSelectSolidIcon } from '@blocksuite/icons';
|
import { SingleSelectSelectSolidIcon } from '@blocksuite/icons/rc';
|
||||||
import type { StoryFn } from '@storybook/react';
|
import type { StoryFn } from '@storybook/react';
|
||||||
import { cssVar } from '@toeverything/theme';
|
import { cssVar } from '@toeverything/theme';
|
||||||
import { type HTMLAttributes, useState } from 'react';
|
import { type HTMLAttributes, useState } from 'react';
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import {
|
import {
|
||||||
InformationFillDuotoneIcon,
|
InformationFillDuotoneIcon,
|
||||||
SingleSelectSelectSolidIcon,
|
SingleSelectSelectSolidIcon,
|
||||||
} from '@blocksuite/icons';
|
} from '@blocksuite/icons/rc';
|
||||||
import { assignInlineVars } from '@vanilla-extract/dynamic';
|
import { assignInlineVars } from '@vanilla-extract/dynamic';
|
||||||
import { type CSSProperties, type FC, useMemo } from 'react';
|
import { type CSSProperties, type FC, useMemo } from 'react';
|
||||||
import { type ExternalToast, toast, Toaster } from 'sonner';
|
import { type ExternalToast, toast, Toaster } from 'sonner';
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
"@blocksuite/block-std": "0.15.0-canary-202406180357-838ef08",
|
"@blocksuite/block-std": "0.15.0-canary-202406180357-838ef08",
|
||||||
"@blocksuite/blocks": "0.15.0-canary-202406180357-838ef08",
|
"@blocksuite/blocks": "0.15.0-canary-202406180357-838ef08",
|
||||||
"@blocksuite/global": "0.15.0-canary-202406180357-838ef08",
|
"@blocksuite/global": "0.15.0-canary-202406180357-838ef08",
|
||||||
"@blocksuite/icons": "2.1.55",
|
"@blocksuite/icons": "2.1.58",
|
||||||
"@blocksuite/inline": "0.15.0-canary-202406180357-838ef08",
|
"@blocksuite/inline": "0.15.0-canary-202406180357-838ef08",
|
||||||
"@blocksuite/presets": "0.15.0-canary-202406180357-838ef08",
|
"@blocksuite/presets": "0.15.0-canary-202406180357-838ef08",
|
||||||
"@blocksuite/store": "0.15.0-canary-202406180357-838ef08",
|
"@blocksuite/store": "0.15.0-canary-202406180357-838ef08",
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import type { useAFFiNEI18N } from '@affine/i18n/hooks';
|
import type { useAFFiNEI18N } from '@affine/i18n/hooks';
|
||||||
import { ImportIcon, PlusIcon } from '@blocksuite/icons';
|
import { ImportIcon, PlusIcon } from '@blocksuite/icons/rc';
|
||||||
import type { createStore } from 'jotai';
|
import type { createStore } from 'jotai';
|
||||||
|
|
||||||
import { openCreateWorkspaceModalAtom } from '../atoms';
|
import { openCreateWorkspaceModalAtom } from '../atoms';
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import type { useAFFiNEI18N } from '@affine/i18n/hooks';
|
import type { useAFFiNEI18N } from '@affine/i18n/hooks';
|
||||||
import { ContactWithUsIcon, NewIcon } from '@blocksuite/icons';
|
import { ContactWithUsIcon, NewIcon } from '@blocksuite/icons/rc';
|
||||||
import type { createStore } from 'jotai';
|
import type { createStore } from 'jotai';
|
||||||
|
|
||||||
import { openSettingModalAtom } from '../atoms';
|
import { openSettingModalAtom } from '../atoms';
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import type { useAFFiNEI18N } from '@affine/i18n/hooks';
|
import type { useAFFiNEI18N } from '@affine/i18n/hooks';
|
||||||
import { SidebarIcon } from '@blocksuite/icons';
|
import { SidebarIcon } from '@blocksuite/icons/rc';
|
||||||
import type { createStore } from 'jotai';
|
import type { createStore } from 'jotai';
|
||||||
|
|
||||||
import { appSidebarOpenAtom } from '../components/app-sidebar';
|
import { appSidebarOpenAtom } from '../components/app-sidebar';
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { WorkspaceSubPath } from '@affine/core/shared';
|
import { WorkspaceSubPath } from '@affine/core/shared';
|
||||||
import type { useAFFiNEI18N } from '@affine/i18n/hooks';
|
import type { useAFFiNEI18N } from '@affine/i18n/hooks';
|
||||||
import { ArrowRightBigIcon } from '@blocksuite/icons';
|
import { ArrowRightBigIcon } from '@blocksuite/icons/rc';
|
||||||
import type { DocCollection } from '@blocksuite/store';
|
import type { DocCollection } from '@blocksuite/store';
|
||||||
import type { createStore } from 'jotai';
|
import type { createStore } from 'jotai';
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import type { useAFFiNEI18N } from '@affine/i18n/hooks';
|
import type { useAFFiNEI18N } from '@affine/i18n/hooks';
|
||||||
import { SettingsIcon } from '@blocksuite/icons';
|
import { SettingsIcon } from '@blocksuite/icons/rc';
|
||||||
import type { AffineEditorContainer } from '@blocksuite/presets';
|
import type { AffineEditorContainer } from '@blocksuite/presets';
|
||||||
import { appSettingAtom } from '@toeverything/infra';
|
import { appSettingAtom } from '@toeverything/infra';
|
||||||
import type { createStore } from 'jotai';
|
import type { createStore } from 'jotai';
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import { updateReadyAtom } from '@affine/core/hooks/use-app-updater';
|
import { updateReadyAtom } from '@affine/core/hooks/use-app-updater';
|
||||||
import { apis } from '@affine/electron-api';
|
import { apis } from '@affine/electron-api';
|
||||||
import type { useAFFiNEI18N } from '@affine/i18n/hooks';
|
import type { useAFFiNEI18N } from '@affine/i18n/hooks';
|
||||||
import { ResetIcon } from '@blocksuite/icons';
|
import { ResetIcon } from '@blocksuite/icons/rc';
|
||||||
import type { createStore } from 'jotai';
|
import type { createStore } from 'jotai';
|
||||||
|
|
||||||
import { registerAffineCommand } from './registry';
|
import { registerAffineCommand } from './registry';
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { Button, useConfirmModal } from '@affine/component';
|
import { Button, useConfirmModal } from '@affine/component';
|
||||||
import { useNavigateHelper } from '@affine/core/hooks/use-navigate-helper';
|
import { useNavigateHelper } from '@affine/core/hooks/use-navigate-helper';
|
||||||
import { ArrowRightBigIcon, Logo1Icon } from '@blocksuite/icons';
|
import { ArrowRightBigIcon, Logo1Icon } from '@blocksuite/icons/rc';
|
||||||
import { useCallback } from 'react';
|
import { useCallback } from 'react';
|
||||||
|
|
||||||
import * as styles from './index.css';
|
import * as styles from './index.css';
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { ArrowDownSmallIcon } from '@blocksuite/icons';
|
import { ArrowDownSmallIcon } from '@blocksuite/icons/rc';
|
||||||
import * as Collapsible from '@radix-ui/react-collapsible';
|
import * as Collapsible from '@radix-ui/react-collapsible';
|
||||||
import { useCallback, useState } from 'react';
|
import { useCallback, useState } from 'react';
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@ import { openSettingModalAtom } from '@affine/core/atoms';
|
|||||||
import { SubscriptionService } from '@affine/core/modules/cloud';
|
import { SubscriptionService } from '@affine/core/modules/cloud';
|
||||||
import { mixpanel } from '@affine/core/utils';
|
import { mixpanel } from '@affine/core/utils';
|
||||||
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
||||||
import { AiIcon } from '@blocksuite/icons';
|
import { AiIcon } from '@blocksuite/icons/rc';
|
||||||
import {
|
import {
|
||||||
DocService,
|
DocService,
|
||||||
useLiveData,
|
useLiveData,
|
||||||
|
@ -5,7 +5,7 @@ import { AuthService, SubscriptionService } from '@affine/core/modules/cloud';
|
|||||||
import { mixpanel } from '@affine/core/utils';
|
import { mixpanel } from '@affine/core/utils';
|
||||||
import { Trans } from '@affine/i18n';
|
import { Trans } from '@affine/i18n';
|
||||||
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
||||||
import { ArrowLeftSmallIcon } from '@blocksuite/icons';
|
import { ArrowLeftSmallIcon } from '@blocksuite/icons/rc';
|
||||||
import { useLiveData, useServices } from '@toeverything/infra';
|
import { useLiveData, useServices } from '@toeverything/infra';
|
||||||
import { useAtom } from 'jotai';
|
import { useAtom } from 'jotai';
|
||||||
import type { ReactNode } from 'react';
|
import type { ReactNode } from 'react';
|
||||||
|
@ -5,7 +5,7 @@ import {
|
|||||||
} from '@affine/core/hooks/use-navigate-helper';
|
} from '@affine/core/hooks/use-navigate-helper';
|
||||||
import { AuthService } from '@affine/core/modules/cloud';
|
import { AuthService } from '@affine/core/modules/cloud';
|
||||||
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
||||||
import { AiIcon } from '@blocksuite/icons';
|
import { AiIcon } from '@blocksuite/icons/rc';
|
||||||
import { useLiveData, useService } from '@toeverything/infra';
|
import { useLiveData, useService } from '@toeverything/infra';
|
||||||
import { cssVar } from '@toeverything/theme';
|
import { cssVar } from '@toeverything/theme';
|
||||||
import { useEffect, useRef } from 'react';
|
import { useEffect, useRef } from 'react';
|
||||||
|
@ -2,7 +2,7 @@ import { notify, Skeleton } from '@affine/component';
|
|||||||
import { Button } from '@affine/component/ui/button';
|
import { Button } from '@affine/component/ui/button';
|
||||||
import { useAsyncCallback } from '@affine/core/hooks/affine-async-hooks';
|
import { useAsyncCallback } from '@affine/core/hooks/affine-async-hooks';
|
||||||
import { OAuthProviderType } from '@affine/graphql';
|
import { OAuthProviderType } from '@affine/graphql';
|
||||||
import { GithubIcon, GoogleDuotoneIcon } from '@blocksuite/icons';
|
import { GithubIcon, GoogleDuotoneIcon } from '@blocksuite/icons/rc';
|
||||||
import { useLiveData, useService } from '@toeverything/infra';
|
import { useLiveData, useService } from '@toeverything/infra';
|
||||||
import type { ReactElement } from 'react';
|
import type { ReactElement } from 'react';
|
||||||
import { useState } from 'react';
|
import { useState } from 'react';
|
||||||
|
@ -4,7 +4,7 @@ import { Button } from '@affine/component/ui/button';
|
|||||||
import { useAsyncCallback } from '@affine/core/hooks/affine-async-hooks';
|
import { useAsyncCallback } from '@affine/core/hooks/affine-async-hooks';
|
||||||
import { Trans } from '@affine/i18n';
|
import { Trans } from '@affine/i18n';
|
||||||
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
||||||
import { ArrowDownBigIcon } from '@blocksuite/icons';
|
import { ArrowDownBigIcon } from '@blocksuite/icons/rc';
|
||||||
import { useLiveData, useService } from '@toeverything/infra';
|
import { useLiveData, useService } from '@toeverything/infra';
|
||||||
import type { FC } from 'react';
|
import type { FC } from 'react';
|
||||||
import { useCallback, useEffect, useState } from 'react';
|
import { useCallback, useEffect, useState } from 'react';
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { Menu, MenuItem, MenuTrigger } from '@affine/component/ui/menu';
|
import { Menu, MenuItem, MenuTrigger } from '@affine/component/ui/menu';
|
||||||
import { DoneIcon } from '@blocksuite/icons';
|
import { DoneIcon } from '@blocksuite/icons/rc';
|
||||||
import type { ReactElement } from 'react';
|
import type { ReactElement } from 'react';
|
||||||
import { memo } from 'react';
|
import { memo } from 'react';
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { LinkedPageIcon } from '@blocksuite/icons';
|
import { LinkedPageIcon } from '@blocksuite/icons/rc';
|
||||||
import type { PropsWithChildren } from 'react';
|
import type { PropsWithChildren } from 'react';
|
||||||
|
|
||||||
import { pageLink, pageLinkIcon, pageLinkLabel } from '../articles/blocks.css';
|
import { pageLink, pageLinkIcon, pageLinkLabel } from '../articles/blocks.css';
|
||||||
|
@ -8,7 +8,7 @@ import { WorkspacePermissionService } from '@affine/core/modules/permissions';
|
|||||||
import { WorkspaceQuotaService } from '@affine/core/modules/quota';
|
import { WorkspaceQuotaService } from '@affine/core/modules/quota';
|
||||||
import { Trans } from '@affine/i18n';
|
import { Trans } from '@affine/i18n';
|
||||||
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
||||||
import { CloseIcon, ToggleCollapseIcon } from '@blocksuite/icons';
|
import { CloseIcon, ToggleCollapseIcon } from '@blocksuite/icons/rc';
|
||||||
import type { Doc as BlockSuiteDoc, DocCollection } from '@blocksuite/store';
|
import type { Doc as BlockSuiteDoc, DocCollection } from '@blocksuite/store';
|
||||||
import * as Collapsible from '@radix-ui/react-collapsible';
|
import * as Collapsible from '@radix-ui/react-collapsible';
|
||||||
import type { DialogContentProps } from '@radix-ui/react-dialog';
|
import type { DialogContentProps } from '@radix-ui/react-dialog';
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { PagePropertyType } from '@affine/core/modules/properties/services/schema';
|
import { PagePropertyType } from '@affine/core/modules/properties/services/schema';
|
||||||
import * as icons from '@blocksuite/icons';
|
import * as icons from '@blocksuite/icons/rc';
|
||||||
import type { SVGProps } from 'react';
|
import type { SVGProps } from 'react';
|
||||||
|
|
||||||
type IconType = (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
type IconType = (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
||||||
|
@ -30,7 +30,7 @@ import {
|
|||||||
TagsIcon,
|
TagsIcon,
|
||||||
ToggleExpandIcon,
|
ToggleExpandIcon,
|
||||||
ViewIcon,
|
ViewIcon,
|
||||||
} from '@blocksuite/icons';
|
} from '@blocksuite/icons/rc';
|
||||||
import type { Doc } from '@blocksuite/store';
|
import type { Doc } from '@blocksuite/store';
|
||||||
import type { DragEndEvent, DraggableAttributes } from '@dnd-kit/core';
|
import type { DragEndEvent, DraggableAttributes } from '@dnd-kit/core';
|
||||||
import {
|
import {
|
||||||
|
@ -4,7 +4,7 @@ import { useNavigateHelper } from '@affine/core/hooks/use-navigate-helper';
|
|||||||
import { WorkspaceLegacyProperties } from '@affine/core/modules/properties';
|
import { WorkspaceLegacyProperties } from '@affine/core/modules/properties';
|
||||||
import { DeleteTagConfirmModal, TagService } from '@affine/core/modules/tag';
|
import { DeleteTagConfirmModal, TagService } from '@affine/core/modules/tag';
|
||||||
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
||||||
import { DeleteIcon, MoreHorizontalIcon, TagsIcon } from '@blocksuite/icons';
|
import { DeleteIcon, MoreHorizontalIcon, TagsIcon } from '@blocksuite/icons/rc';
|
||||||
import { useLiveData, useService } from '@toeverything/infra';
|
import { useLiveData, useService } from '@toeverything/infra';
|
||||||
import clsx from 'clsx';
|
import clsx from 'clsx';
|
||||||
import type { HTMLAttributes, PropsWithChildren } from 'react';
|
import type { HTMLAttributes, PropsWithChildren } from 'react';
|
||||||
|
@ -6,7 +6,7 @@ import {
|
|||||||
} from '@affine/core/modules/peek-view';
|
} from '@affine/core/modules/peek-view';
|
||||||
import { WorkbenchLink } from '@affine/core/modules/workbench';
|
import { WorkbenchLink } from '@affine/core/modules/workbench';
|
||||||
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
||||||
import { LinkedPageIcon, TodayIcon } from '@blocksuite/icons';
|
import { LinkedPageIcon, TodayIcon } from '@blocksuite/icons/rc';
|
||||||
import type { DocCollection } from '@blocksuite/store';
|
import type { DocCollection } from '@blocksuite/store';
|
||||||
import { useService } from '@toeverything/infra';
|
import { useService } from '@toeverything/infra';
|
||||||
import { type PropsWithChildren, useCallback, useRef } from 'react';
|
import { type PropsWithChildren, useCallback, useRef } from 'react';
|
||||||
|
@ -7,7 +7,7 @@ import { Avatar } from '@affine/component/ui/avatar';
|
|||||||
import { Button } from '@affine/component/ui/button';
|
import { Button } from '@affine/component/ui/button';
|
||||||
import { useAsyncCallback } from '@affine/core/hooks/affine-async-hooks';
|
import { useAsyncCallback } from '@affine/core/hooks/affine-async-hooks';
|
||||||
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
||||||
import { ArrowRightSmallIcon, CameraIcon } from '@blocksuite/icons';
|
import { ArrowRightSmallIcon, CameraIcon } from '@blocksuite/icons/rc';
|
||||||
import {
|
import {
|
||||||
useEnsureLiveData,
|
useEnsureLiveData,
|
||||||
useLiveData,
|
useLiveData,
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// The icons here have been specially adjusted, they’re different from the ones in the @blocksuite/icons.
|
// The icons here have been specially adjusted, they’re different from the ones in the @blocksuite/icons/rc.
|
||||||
|
|
||||||
export { TwitterIcon } from '@blocksuite/icons';
|
export { TwitterIcon } from '@blocksuite/icons/rc';
|
||||||
export const LogoIcon = () => {
|
export const LogoIcon = () => {
|
||||||
return (
|
return (
|
||||||
<svg
|
<svg
|
||||||
|
@ -6,7 +6,7 @@ import {
|
|||||||
} from '@affine/component/setting-components';
|
} from '@affine/component/setting-components';
|
||||||
import { useAppUpdater } from '@affine/core/hooks/use-app-updater';
|
import { useAppUpdater } from '@affine/core/hooks/use-app-updater';
|
||||||
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
||||||
import { ArrowRightSmallIcon, OpenInNewIcon } from '@blocksuite/icons';
|
import { ArrowRightSmallIcon, OpenInNewIcon } from '@blocksuite/icons/rc';
|
||||||
import { useCallback } from 'react';
|
import { useCallback } from 'react';
|
||||||
|
|
||||||
import { useAppSettingHelper } from '../../../../../hooks/affine/use-app-setting-helper';
|
import { useAppSettingHelper } from '../../../../../hooks/affine/use-app-setting-helper';
|
||||||
|
@ -20,7 +20,7 @@ import {
|
|||||||
} from '@affine/graphql';
|
} from '@affine/graphql';
|
||||||
import { Trans } from '@affine/i18n';
|
import { Trans } from '@affine/i18n';
|
||||||
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
||||||
import { ArrowRightSmallIcon } from '@blocksuite/icons';
|
import { ArrowRightSmallIcon } from '@blocksuite/icons/rc';
|
||||||
import { useLiveData, useService } from '@toeverything/infra';
|
import { useLiveData, useService } from '@toeverything/infra';
|
||||||
import { useSetAtom } from 'jotai';
|
import { useSetAtom } from 'jotai';
|
||||||
import { Suspense, useCallback, useEffect, useState } from 'react';
|
import { Suspense, useCallback, useEffect, useState } from 'react';
|
||||||
|
@ -5,7 +5,7 @@ import {
|
|||||||
ExperimentIcon,
|
ExperimentIcon,
|
||||||
InformationIcon,
|
InformationIcon,
|
||||||
KeyboardIcon,
|
KeyboardIcon,
|
||||||
} from '@blocksuite/icons';
|
} from '@blocksuite/icons/rc';
|
||||||
import { useLiveData, useServices } from '@toeverything/infra';
|
import { useLiveData, useServices } from '@toeverything/infra';
|
||||||
import type { ReactElement, SVGProps } from 'react';
|
import type { ReactElement, SVGProps } from 'react';
|
||||||
import { useEffect } from 'react';
|
import { useEffect } from 'react';
|
||||||
|
@ -8,7 +8,7 @@ import { useAsyncCallback } from '@affine/core/hooks/affine-async-hooks';
|
|||||||
import { SubscriptionService } from '@affine/core/modules/cloud';
|
import { SubscriptionService } from '@affine/core/modules/cloud';
|
||||||
import { SubscriptionPlan } from '@affine/graphql';
|
import { SubscriptionPlan } from '@affine/graphql';
|
||||||
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
||||||
import { SingleSelectSelectSolidIcon } from '@blocksuite/icons';
|
import { SingleSelectSelectSolidIcon } from '@blocksuite/icons/rc';
|
||||||
import { useService } from '@toeverything/infra';
|
import { useService } from '@toeverything/infra';
|
||||||
import { cssVar } from '@toeverything/theme';
|
import { cssVar } from '@toeverything/theme';
|
||||||
import { nanoid } from 'nanoid';
|
import { nanoid } from 'nanoid';
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
||||||
import { CheckBoxCheckLinearIcon, PenIcon, TextIcon } from '@blocksuite/icons';
|
import {
|
||||||
|
CheckBoxCheckLinearIcon,
|
||||||
|
PenIcon,
|
||||||
|
TextIcon,
|
||||||
|
} from '@blocksuite/icons/rc';
|
||||||
import { useMemo } from 'react';
|
import { useMemo } from 'react';
|
||||||
|
|
||||||
import * as styles from './ai-plan.css';
|
import * as styles from './ai-plan.css';
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
// it's better to manage all equity at server side
|
// it's better to manage all equity at server side
|
||||||
import { SubscriptionPlan, SubscriptionRecurring } from '@affine/graphql';
|
import { SubscriptionPlan, SubscriptionRecurring } from '@affine/graphql';
|
||||||
import type { useAFFiNEI18N } from '@affine/i18n/hooks';
|
import type { useAFFiNEI18N } from '@affine/i18n/hooks';
|
||||||
import { AfFiNeIcon } from '@blocksuite/icons';
|
import { AfFiNeIcon } from '@blocksuite/icons/rc';
|
||||||
import type { ReactNode } from 'react';
|
import type { ReactNode } from 'react';
|
||||||
|
|
||||||
import { planTitleTitleCaption } from './style.css';
|
import { planTitleTitleCaption } from './style.css';
|
||||||
|
@ -6,7 +6,7 @@ import {
|
|||||||
ArrowDownBigIcon,
|
ArrowDownBigIcon,
|
||||||
ArrowRightBigIcon,
|
ArrowRightBigIcon,
|
||||||
ArrowUpSmallIcon,
|
ArrowUpSmallIcon,
|
||||||
} from '@blocksuite/icons';
|
} from '@blocksuite/icons/rc';
|
||||||
import * as Collapsible from '@radix-ui/react-collapsible';
|
import * as Collapsible from '@radix-ui/react-collapsible';
|
||||||
import * as ScrollArea from '@radix-ui/react-scroll-area';
|
import * as ScrollArea from '@radix-ui/react-scroll-area';
|
||||||
import { cssVar } from '@toeverything/theme';
|
import { cssVar } from '@toeverything/theme';
|
||||||
|
@ -7,7 +7,7 @@ import type { SubscriptionRecurring } from '@affine/graphql';
|
|||||||
import { SubscriptionPlan, SubscriptionStatus } from '@affine/graphql';
|
import { SubscriptionPlan, SubscriptionStatus } from '@affine/graphql';
|
||||||
import { Trans } from '@affine/i18n';
|
import { Trans } from '@affine/i18n';
|
||||||
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
||||||
import { DoneIcon } from '@blocksuite/icons';
|
import { DoneIcon } from '@blocksuite/icons/rc';
|
||||||
import { useLiveData, useService } from '@toeverything/infra';
|
import { useLiveData, useService } from '@toeverything/infra';
|
||||||
import { useAtom, useSetAtom } from 'jotai';
|
import { useAtom, useSetAtom } from 'jotai';
|
||||||
import { nanoid } from 'nanoid';
|
import { nanoid } from 'nanoid';
|
||||||
|
@ -8,7 +8,7 @@ import {
|
|||||||
} from '@affine/core/atoms';
|
} from '@affine/core/atoms';
|
||||||
import { AuthService } from '@affine/core/modules/cloud';
|
import { AuthService } from '@affine/core/modules/cloud';
|
||||||
import { Trans } from '@affine/i18n';
|
import { Trans } from '@affine/i18n';
|
||||||
import { ContactWithUsIcon } from '@blocksuite/icons';
|
import { ContactWithUsIcon } from '@blocksuite/icons/rc';
|
||||||
import {
|
import {
|
||||||
useLiveData,
|
useLiveData,
|
||||||
useService,
|
useService,
|
||||||
|
@ -10,7 +10,7 @@ import { AuthService } from '@affine/core/modules/cloud';
|
|||||||
import { UserFeatureService } from '@affine/core/modules/cloud/services/user-feature';
|
import { UserFeatureService } from '@affine/core/modules/cloud/services/user-feature';
|
||||||
import { UNTITLED_WORKSPACE_NAME } from '@affine/env/constant';
|
import { UNTITLED_WORKSPACE_NAME } from '@affine/env/constant';
|
||||||
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
||||||
import { Logo1Icon } from '@blocksuite/icons';
|
import { Logo1Icon } from '@blocksuite/icons/rc';
|
||||||
import type { WorkspaceMetadata } from '@toeverything/infra';
|
import type { WorkspaceMetadata } from '@toeverything/infra';
|
||||||
import {
|
import {
|
||||||
useLiveData,
|
useLiveData,
|
||||||
|
@ -4,7 +4,7 @@ import { ConfirmModal } from '@affine/component/ui/modal';
|
|||||||
import { useAsyncCallback } from '@affine/core/hooks/affine-async-hooks';
|
import { useAsyncCallback } from '@affine/core/hooks/affine-async-hooks';
|
||||||
import { WorkspacePermissionService } from '@affine/core/modules/permissions';
|
import { WorkspacePermissionService } from '@affine/core/modules/permissions';
|
||||||
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
||||||
import { ArrowRightSmallIcon } from '@blocksuite/icons';
|
import { ArrowRightSmallIcon } from '@blocksuite/icons/rc';
|
||||||
import {
|
import {
|
||||||
GlobalContextService,
|
GlobalContextService,
|
||||||
useLiveData,
|
useLiveData,
|
||||||
|
@ -7,7 +7,7 @@ import { useWorkspace } from '@affine/core/hooks/use-workspace';
|
|||||||
import { useWorkspaceInfo } from '@affine/core/hooks/use-workspace-info';
|
import { useWorkspaceInfo } from '@affine/core/hooks/use-workspace-info';
|
||||||
import { UNTITLED_WORKSPACE_NAME } from '@affine/env/constant';
|
import { UNTITLED_WORKSPACE_NAME } from '@affine/env/constant';
|
||||||
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
||||||
import { ArrowRightSmallIcon } from '@blocksuite/icons';
|
import { ArrowRightSmallIcon } from '@blocksuite/icons/rc';
|
||||||
import { FrameworkScope } from '@toeverything/infra';
|
import { FrameworkScope } from '@toeverything/infra';
|
||||||
import { useCallback } from 'react';
|
import { useCallback } from 'react';
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@ import { mixpanel } from '@affine/core/utils';
|
|||||||
import { WorkspaceFlavour } from '@affine/env/workspace';
|
import { WorkspaceFlavour } from '@affine/env/workspace';
|
||||||
import { Permission } from '@affine/graphql';
|
import { Permission } from '@affine/graphql';
|
||||||
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
||||||
import { MoreVerticalIcon } from '@blocksuite/icons';
|
import { MoreVerticalIcon } from '@blocksuite/icons/rc';
|
||||||
import {
|
import {
|
||||||
useEnsureLiveData,
|
useEnsureLiveData,
|
||||||
useLiveData,
|
useLiveData,
|
||||||
|
@ -7,7 +7,7 @@ import { WorkspacePermissionService } from '@affine/core/modules/permissions';
|
|||||||
import { validateAndReduceImage } from '@affine/core/utils/reduce-image';
|
import { validateAndReduceImage } from '@affine/core/utils/reduce-image';
|
||||||
import { UNTITLED_WORKSPACE_NAME } from '@affine/env/constant';
|
import { UNTITLED_WORKSPACE_NAME } from '@affine/env/constant';
|
||||||
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
||||||
import { CameraIcon } from '@blocksuite/icons';
|
import { CameraIcon } from '@blocksuite/icons/rc';
|
||||||
import { useLiveData, useService, WorkspaceService } from '@toeverything/infra';
|
import { useLiveData, useService, WorkspaceService } from '@toeverything/infra';
|
||||||
import type { KeyboardEvent, MouseEvent } from 'react';
|
import type { KeyboardEvent, MouseEvent } from 'react';
|
||||||
import { useCallback, useEffect, useState } from 'react';
|
import { useCallback, useEffect, useState } from 'react';
|
||||||
|
@ -4,7 +4,11 @@ import { useWorkspaceInfo } from '@affine/core/hooks/use-workspace-info';
|
|||||||
import type { PageInfoCustomPropertyMeta } from '@affine/core/modules/properties/services/schema';
|
import type { PageInfoCustomPropertyMeta } from '@affine/core/modules/properties/services/schema';
|
||||||
import { Trans } from '@affine/i18n';
|
import { Trans } from '@affine/i18n';
|
||||||
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
||||||
import { DeleteIcon, FilterIcon, MoreHorizontalIcon } from '@blocksuite/icons';
|
import {
|
||||||
|
DeleteIcon,
|
||||||
|
FilterIcon,
|
||||||
|
MoreHorizontalIcon,
|
||||||
|
} from '@blocksuite/icons/rc';
|
||||||
import { FrameworkScope, type WorkspaceMetadata } from '@toeverything/infra';
|
import { FrameworkScope, type WorkspaceMetadata } from '@toeverything/infra';
|
||||||
import type { MouseEvent } from 'react';
|
import type { MouseEvent } from 'react';
|
||||||
import {
|
import {
|
||||||
|
@ -5,7 +5,7 @@ import { useExportPage } from '@affine/core/hooks/affine/use-export-page';
|
|||||||
import { useSharingUrl } from '@affine/core/hooks/affine/use-share-url';
|
import { useSharingUrl } from '@affine/core/hooks/affine/use-share-url';
|
||||||
import { WorkspaceFlavour } from '@affine/env/workspace';
|
import { WorkspaceFlavour } from '@affine/env/workspace';
|
||||||
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
||||||
import { CopyIcon } from '@blocksuite/icons';
|
import { CopyIcon } from '@blocksuite/icons/rc';
|
||||||
import { DocService, useLiveData, useService } from '@toeverything/infra';
|
import { DocService, useLiveData, useService } from '@toeverything/infra';
|
||||||
|
|
||||||
import * as styles from './index.css';
|
import * as styles from './index.css';
|
||||||
|
@ -5,7 +5,7 @@ import { useRegisterCopyLinkCommands } from '@affine/core/hooks/affine/use-regis
|
|||||||
import { useIsActiveView } from '@affine/core/modules/workbench';
|
import { useIsActiveView } from '@affine/core/modules/workbench';
|
||||||
import { WorkspaceFlavour } from '@affine/env/workspace';
|
import { WorkspaceFlavour } from '@affine/env/workspace';
|
||||||
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
||||||
import { WebIcon } from '@blocksuite/icons';
|
import { WebIcon } from '@blocksuite/icons/rc';
|
||||||
import type { Doc } from '@blocksuite/store';
|
import type { Doc } from '@blocksuite/store';
|
||||||
import type { WorkspaceMetadata } from '@toeverything/infra';
|
import type { WorkspaceMetadata } from '@toeverything/infra';
|
||||||
import clsx from 'clsx';
|
import clsx from 'clsx';
|
||||||
|
@ -20,7 +20,7 @@ import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
|||||||
import {
|
import {
|
||||||
ArrowRightSmallIcon,
|
ArrowRightSmallIcon,
|
||||||
SingleSelectSelectSolidIcon,
|
SingleSelectSelectSolidIcon,
|
||||||
} from '@blocksuite/icons';
|
} from '@blocksuite/icons/rc';
|
||||||
import {
|
import {
|
||||||
type DocMode,
|
type DocMode,
|
||||||
DocService,
|
DocService,
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
||||||
import { PlusIcon } from '@blocksuite/icons';
|
import { PlusIcon } from '@blocksuite/icons/rc';
|
||||||
import clsx from 'clsx';
|
import clsx from 'clsx';
|
||||||
import type React from 'react';
|
import type React from 'react';
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { CloseIcon, DownloadIcon } from '@blocksuite/icons';
|
import { CloseIcon, DownloadIcon } from '@blocksuite/icons/rc';
|
||||||
import clsx from 'clsx';
|
import clsx from 'clsx';
|
||||||
import { useCallback, useState } from 'react';
|
import { useCallback, useState } from 'react';
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@ import { Tooltip } from '@affine/component';
|
|||||||
import { popupWindow } from '@affine/core/utils';
|
import { popupWindow } from '@affine/core/utils';
|
||||||
import { Unreachable } from '@affine/env/constant';
|
import { Unreachable } from '@affine/env/constant';
|
||||||
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
||||||
import { CloseIcon, NewIcon, ResetIcon } from '@blocksuite/icons';
|
import { CloseIcon, NewIcon, ResetIcon } from '@blocksuite/icons/rc';
|
||||||
import clsx from 'clsx';
|
import clsx from 'clsx';
|
||||||
import { useCallback, useMemo } from 'react';
|
import { useCallback, useMemo } from 'react';
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { SettingsIcon } from '@blocksuite/icons';
|
import { SettingsIcon } from '@blocksuite/icons/rc';
|
||||||
import type { Meta, StoryFn } from '@storybook/react';
|
import type { Meta, StoryFn } from '@storybook/react';
|
||||||
import { useState } from 'react';
|
import { useState } from 'react';
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { ArrowDownSmallIcon } from '@blocksuite/icons';
|
import { ArrowDownSmallIcon } from '@blocksuite/icons/rc';
|
||||||
import clsx from 'clsx';
|
import clsx from 'clsx';
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import type { To } from 'react-router-dom';
|
import type { To } from 'react-router-dom';
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
||||||
import { SearchIcon } from '@blocksuite/icons';
|
import { SearchIcon } from '@blocksuite/icons/rc';
|
||||||
import clsx from 'clsx';
|
import clsx from 'clsx';
|
||||||
import type { HTMLAttributes } from 'react';
|
import type { HTMLAttributes } from 'react';
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { IconButton, Tooltip } from '@affine/component';
|
import { IconButton, Tooltip } from '@affine/component';
|
||||||
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
||||||
import { SidebarIcon } from '@blocksuite/icons';
|
import { SidebarIcon } from '@blocksuite/icons/rc';
|
||||||
import clsx from 'clsx';
|
import clsx from 'clsx';
|
||||||
import { useAtom } from 'jotai';
|
import { useAtom } from 'jotai';
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ import {
|
|||||||
HistoryIcon,
|
HistoryIcon,
|
||||||
ImportIcon,
|
ImportIcon,
|
||||||
PageIcon,
|
PageIcon,
|
||||||
} from '@blocksuite/icons';
|
} from '@blocksuite/icons/rc';
|
||||||
import {
|
import {
|
||||||
DocService,
|
DocService,
|
||||||
useLiveData,
|
useLiveData,
|
||||||
|
@ -2,7 +2,7 @@ import { Button } from '@affine/component/ui/button';
|
|||||||
import { useActiveBlocksuiteEditor } from '@affine/core/hooks/use-block-suite-editor';
|
import { useActiveBlocksuiteEditor } from '@affine/core/hooks/use-block-suite-editor';
|
||||||
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
||||||
import type { EdgelessRootService } from '@blocksuite/blocks';
|
import type { EdgelessRootService } from '@blocksuite/blocks';
|
||||||
import { PresentationIcon } from '@blocksuite/icons';
|
import { PresentationIcon } from '@blocksuite/icons/rc';
|
||||||
import { useCallback, useEffect, useState } from 'react';
|
import { useCallback, useEffect, useState } from 'react';
|
||||||
|
|
||||||
import * as styles from './styles.css';
|
import * as styles from './styles.css';
|
||||||
|
@ -7,7 +7,7 @@ import {
|
|||||||
} from '@affine/component/ui/menu';
|
} from '@affine/component/ui/menu';
|
||||||
import { useAsyncCallback } from '@affine/core/hooks/affine-async-hooks';
|
import { useAsyncCallback } from '@affine/core/hooks/affine-async-hooks';
|
||||||
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
||||||
import { SignOutIcon } from '@blocksuite/icons';
|
import { SignOutIcon } from '@blocksuite/icons/rc';
|
||||||
import { useLiveData, useService } from '@toeverything/infra';
|
import { useLiveData, useService } from '@toeverything/infra';
|
||||||
import { useEffect, useMemo } from 'react';
|
import { useEffect, useMemo } from 'react';
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ import {
|
|||||||
MinusIcon,
|
MinusIcon,
|
||||||
PlusIcon,
|
PlusIcon,
|
||||||
ViewBarIcon,
|
ViewBarIcon,
|
||||||
} from '@blocksuite/icons';
|
} from '@blocksuite/icons/rc';
|
||||||
import type { BlockModel, DocCollection } from '@blocksuite/store';
|
import type { BlockModel, DocCollection } from '@blocksuite/store';
|
||||||
import clsx from 'clsx';
|
import clsx from 'clsx';
|
||||||
import { useErrorBoundary } from 'foxact/use-error-boundary';
|
import { useErrorBoundary } from 'foxact/use-error-boundary';
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import type { IconButtonProps } from '@affine/component';
|
import type { IconButtonProps } from '@affine/component';
|
||||||
import { IconButton, Tooltip } from '@affine/component';
|
import { IconButton, Tooltip } from '@affine/component';
|
||||||
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
||||||
import { FavoritedIcon, FavoriteIcon } from '@blocksuite/icons';
|
import { FavoritedIcon, FavoriteIcon } from '@blocksuite/icons/rc';
|
||||||
import Lottie from 'lottie-react';
|
import Lottie from 'lottie-react';
|
||||||
import { forwardRef, useCallback, useState } from 'react';
|
import { forwardRef, useCallback, useState } from 'react';
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@ import {
|
|||||||
DeleteIcon,
|
DeleteIcon,
|
||||||
DeletePermanentlyIcon,
|
DeletePermanentlyIcon,
|
||||||
ResetIcon,
|
ResetIcon,
|
||||||
} from '@blocksuite/icons';
|
} from '@blocksuite/icons/rc';
|
||||||
import type { ReactNode } from 'react';
|
import type { ReactNode } from 'react';
|
||||||
|
|
||||||
import { FloatingToolbar } from './floating-toolbar';
|
import { FloatingToolbar } from './floating-toolbar';
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { SortDownIcon, SortUpIcon } from '@blocksuite/icons';
|
import { SortDownIcon, SortUpIcon } from '@blocksuite/icons/rc';
|
||||||
import { useCallback } from 'react';
|
import { useCallback } from 'react';
|
||||||
|
|
||||||
import type { ColWrapperProps, ListItem } from '../types';
|
import type { ColWrapperProps, ListItem } from '../types';
|
||||||
|
@ -2,7 +2,7 @@ import { DropdownButton, Menu } from '@affine/component';
|
|||||||
import { BlockCard } from '@affine/component/card/block-card';
|
import { BlockCard } from '@affine/component/card/block-card';
|
||||||
import { mixpanel } from '@affine/core/utils';
|
import { mixpanel } from '@affine/core/utils';
|
||||||
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
||||||
import { EdgelessIcon, ImportIcon, PageIcon } from '@blocksuite/icons';
|
import { EdgelessIcon, ImportIcon, PageIcon } from '@blocksuite/icons/rc';
|
||||||
import type { PropsWithChildren } from 'react';
|
import type { PropsWithChildren } from 'react';
|
||||||
import { useCallback, useState } from 'react';
|
import { useCallback, useState } from 'react';
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@ import {
|
|||||||
MenuSub,
|
MenuSub,
|
||||||
} from '@affine/component';
|
} from '@affine/component';
|
||||||
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
||||||
import { ArrowDownSmallIcon, DoneIcon } from '@blocksuite/icons';
|
import { ArrowDownSmallIcon, DoneIcon } from '@blocksuite/icons/rc';
|
||||||
import { useCallback, useMemo } from 'react';
|
import { useCallback, useMemo } from 'react';
|
||||||
|
|
||||||
import type { PageDisplayProperties, PageGroupByType } from '../types';
|
import type { PageDisplayProperties, PageGroupByType } from '../types';
|
||||||
|
@ -16,7 +16,7 @@ import {
|
|||||||
ArrowDownSmallIcon,
|
ArrowDownSmallIcon,
|
||||||
SearchIcon,
|
SearchIcon,
|
||||||
ViewLayersIcon,
|
ViewLayersIcon,
|
||||||
} from '@blocksuite/icons';
|
} from '@blocksuite/icons/rc';
|
||||||
import type { Doc as BlockSuiteDoc } from '@blocksuite/store';
|
import type { Doc as BlockSuiteDoc } from '@blocksuite/store';
|
||||||
import { useLiveData, useService, WorkspaceService } from '@toeverything/infra';
|
import { useLiveData, useService, WorkspaceService } from '@toeverything/infra';
|
||||||
import clsx from 'clsx';
|
import clsx from 'clsx';
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { Menu } from '@affine/component';
|
import { Menu } from '@affine/component';
|
||||||
import type { Tag } from '@affine/core/modules/tag';
|
import type { Tag } from '@affine/core/modules/tag';
|
||||||
import { CloseIcon, MoreHorizontalIcon } from '@blocksuite/icons';
|
import { CloseIcon, MoreHorizontalIcon } from '@blocksuite/icons/rc';
|
||||||
import { LiveData, useLiveData } from '@toeverything/infra';
|
import { LiveData, useLiveData } from '@toeverything/infra';
|
||||||
import { assignInlineVars } from '@vanilla-extract/dynamic';
|
import { assignInlineVars } from '@vanilla-extract/dynamic';
|
||||||
import clsx from 'clsx';
|
import clsx from 'clsx';
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import { Button, IconButton, Menu } from '@affine/component';
|
import { Button, IconButton, Menu } from '@affine/component';
|
||||||
import type { Filter, PropertiesMeta } from '@affine/env/filter';
|
import type { Filter, PropertiesMeta } from '@affine/env/filter';
|
||||||
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
||||||
import { CloseIcon, PlusIcon } from '@blocksuite/icons';
|
import { CloseIcon, PlusIcon } from '@blocksuite/icons/rc';
|
||||||
|
|
||||||
import { Condition } from './condition';
|
import { Condition } from './condition';
|
||||||
import * as styles from './index.css';
|
import * as styles from './index.css';
|
||||||
|
@ -10,7 +10,7 @@ import {
|
|||||||
FavoriteIcon,
|
FavoriteIcon,
|
||||||
TagsIcon,
|
TagsIcon,
|
||||||
UpdatedIcon,
|
UpdatedIcon,
|
||||||
} from '@blocksuite/icons';
|
} from '@blocksuite/icons/rc';
|
||||||
import type { ReactElement } from 'react';
|
import type { ReactElement } from 'react';
|
||||||
|
|
||||||
import { tBoolean, tDate, tTag } from './logical/custom-type';
|
import { tBoolean, tDate, tTag } from './logical/custom-type';
|
||||||
|
@ -2,7 +2,7 @@ import { FavoriteItemsAdapter } from '@affine/core/modules/properties';
|
|||||||
import type { Tag } from '@affine/core/modules/tag';
|
import type { Tag } from '@affine/core/modules/tag';
|
||||||
import { TagService } from '@affine/core/modules/tag';
|
import { TagService } from '@affine/core/modules/tag';
|
||||||
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
||||||
import { FavoritedIcon, FavoriteIcon } from '@blocksuite/icons';
|
import { FavoritedIcon, FavoriteIcon } from '@blocksuite/icons/rc';
|
||||||
import type { DocMeta } from '@blocksuite/store';
|
import type { DocMeta } from '@blocksuite/store';
|
||||||
import { LiveData, useLiveData, useService } from '@toeverything/infra';
|
import { LiveData, useLiveData, useService } from '@toeverything/infra';
|
||||||
import { type ReactNode, useMemo } from 'react';
|
import { type ReactNode, useMemo } from 'react';
|
||||||
|
@ -29,7 +29,7 @@ import {
|
|||||||
PlusIcon,
|
PlusIcon,
|
||||||
ResetIcon,
|
ResetIcon,
|
||||||
SplitViewIcon,
|
SplitViewIcon,
|
||||||
} from '@blocksuite/icons';
|
} from '@blocksuite/icons/rc';
|
||||||
import type { DocMeta } from '@blocksuite/store';
|
import type { DocMeta } from '@blocksuite/store';
|
||||||
import { useLiveData, useService, WorkspaceService } from '@toeverything/infra';
|
import { useLiveData, useService, WorkspaceService } from '@toeverything/infra';
|
||||||
import { useCallback, useState } from 'react';
|
import { useCallback, useState } from 'react';
|
||||||
|
@ -2,7 +2,7 @@ import type { MenuItemProps } from '@affine/component';
|
|||||||
import { MenuIcon, MenuItem } from '@affine/component';
|
import { MenuIcon, MenuItem } from '@affine/component';
|
||||||
import { PublicLinkDisableModal } from '@affine/component/disable-public-link';
|
import { PublicLinkDisableModal } from '@affine/component/disable-public-link';
|
||||||
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
||||||
import { ShareIcon } from '@blocksuite/icons';
|
import { ShareIcon } from '@blocksuite/icons/rc';
|
||||||
|
|
||||||
export const DisablePublicSharing = (props: MenuItemProps) => {
|
export const DisablePublicSharing = (props: MenuItemProps) => {
|
||||||
const t = useAFFiNEI18N();
|
const t = useAFFiNEI18N();
|
||||||
|
@ -6,7 +6,7 @@ import {
|
|||||||
ExportToMarkdownIcon,
|
ExportToMarkdownIcon,
|
||||||
ExportToPdfIcon,
|
ExportToPdfIcon,
|
||||||
ExportToPngIcon,
|
ExportToPngIcon,
|
||||||
} from '@blocksuite/icons';
|
} from '@blocksuite/icons/rc';
|
||||||
import type { ReactNode } from 'react';
|
import type { ReactNode } from 'react';
|
||||||
import { useMemo } from 'react';
|
import { useMemo } from 'react';
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import type { ConfirmModalProps, MenuItemProps } from '@affine/component';
|
import type { ConfirmModalProps, MenuItemProps } from '@affine/component';
|
||||||
import { ConfirmModal, MenuIcon, MenuItem } from '@affine/component';
|
import { ConfirmModal, MenuIcon, MenuItem } from '@affine/component';
|
||||||
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
||||||
import { DeleteIcon } from '@blocksuite/icons';
|
import { DeleteIcon } from '@blocksuite/icons/rc';
|
||||||
|
|
||||||
export const MoveToTrash = (props: MenuItemProps) => {
|
export const MoveToTrash = (props: MenuItemProps) => {
|
||||||
const t = useAFFiNEI18N();
|
const t = useAFFiNEI18N();
|
||||||
|
@ -8,7 +8,7 @@ import {
|
|||||||
TodayIcon,
|
TodayIcon,
|
||||||
ToggleCollapseIcon,
|
ToggleCollapseIcon,
|
||||||
ViewLayersIcon,
|
ViewLayersIcon,
|
||||||
} from '@blocksuite/icons';
|
} from '@blocksuite/icons/rc';
|
||||||
import type { DocCollection, DocMeta } from '@blocksuite/store';
|
import type { DocCollection, DocMeta } from '@blocksuite/store';
|
||||||
import * as Collapsible from '@radix-ui/react-collapsible';
|
import * as Collapsible from '@radix-ui/react-collapsible';
|
||||||
import { DocsService, useLiveData, useService } from '@toeverything/infra';
|
import { DocsService, useLiveData, useService } from '@toeverything/infra';
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import type { CheckboxProps } from '@affine/component';
|
import type { CheckboxProps } from '@affine/component';
|
||||||
import { Checkbox } from '@affine/component';
|
import { Checkbox } from '@affine/component';
|
||||||
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
||||||
import { MultiSelectIcon } from '@blocksuite/icons';
|
import { MultiSelectIcon } from '@blocksuite/icons/rc';
|
||||||
import clsx from 'clsx';
|
import clsx from 'clsx';
|
||||||
import { selectAtom } from 'jotai/utils';
|
import { selectAtom } from 'jotai/utils';
|
||||||
import type { MouseEventHandler } from 'react';
|
import type { MouseEventHandler } from 'react';
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import { Button, FlexWrapper, Menu } from '@affine/component';
|
import { Button, FlexWrapper, Menu } from '@affine/component';
|
||||||
import type { Collection, Filter, PropertiesMeta } from '@affine/env/filter';
|
import type { Collection, Filter, PropertiesMeta } from '@affine/env/filter';
|
||||||
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
||||||
import { FilterIcon } from '@blocksuite/icons';
|
import { FilterIcon } from '@blocksuite/icons/rc';
|
||||||
|
|
||||||
import { CreateFilterMenu } from '../filter/vars';
|
import { CreateFilterMenu } from '../filter/vars';
|
||||||
import * as styles from './collection-list.css';
|
import * as styles from './collection-list.css';
|
||||||
|
@ -14,7 +14,7 @@ import {
|
|||||||
FilterIcon,
|
FilterIcon,
|
||||||
PlusIcon,
|
PlusIcon,
|
||||||
SplitViewIcon,
|
SplitViewIcon,
|
||||||
} from '@blocksuite/icons';
|
} from '@blocksuite/icons/rc';
|
||||||
import { useLiveData, useService } from '@toeverything/infra';
|
import { useLiveData, useService } from '@toeverything/infra';
|
||||||
import type { PropsWithChildren, ReactElement } from 'react';
|
import type { PropsWithChildren, ReactElement } from 'react';
|
||||||
import { useCallback, useMemo } from 'react';
|
import { useCallback, useMemo } from 'react';
|
||||||
|
@ -2,7 +2,7 @@ import { Menu } from '@affine/component';
|
|||||||
import { FavoriteItemsAdapter } from '@affine/core/modules/properties';
|
import { FavoriteItemsAdapter } from '@affine/core/modules/properties';
|
||||||
import type { Collection } from '@affine/env/filter';
|
import type { Collection } from '@affine/env/filter';
|
||||||
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
||||||
import { FilterIcon } from '@blocksuite/icons';
|
import { FilterIcon } from '@blocksuite/icons/rc';
|
||||||
import type { DocMeta } from '@blocksuite/store';
|
import type { DocMeta } from '@blocksuite/store';
|
||||||
import { useLiveData, useService } from '@toeverything/infra';
|
import { useLiveData, useService } from '@toeverything/infra';
|
||||||
import clsx from 'clsx';
|
import clsx from 'clsx';
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user