chore: bump up @blocksuite/icons version (#7233)

This commit is contained in:
L-Sun
2024-06-18 17:07:11 +08:00
committed by GitHub
parent 390852f8be
commit 09201d42a0
149 changed files with 169 additions and 155 deletions
@@ -1,4 +1,4 @@
import { CloseIcon } from '@blocksuite/icons';
import { CloseIcon } from '@blocksuite/icons/rc';
import type { ReactNode } from 'react';
import {
@@ -1,6 +1,6 @@
import { Button, IconButton } from '@affine/component/ui/button';
import { useAFFiNEI18N } from '@affine/i18n/hooks';
import { CloseIcon } from '@blocksuite/icons';
import { CloseIcon } from '@blocksuite/icons/rc';
import { useCallback } from 'react';
import * as styles from './index.css';
@@ -1,6 +1,6 @@
import { Button } from '@affine/component/ui/button';
import { useAFFiNEI18N } from '@affine/i18n/hooks';
import { Logo1Icon } from '@blocksuite/icons';
import { Logo1Icon } from '@blocksuite/icons/rc';
import { useCallback } from 'react';
import { DesktopNavbar } from './desktop-navbar';
@@ -1,6 +1,6 @@
import { IconButton } from '@affine/component/ui/button';
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 * as styles from './index.css';
@@ -1,5 +1,5 @@
import { useAFFiNEI18N } from '@affine/i18n/hooks';
import { ArrowLeftSmallIcon } from '@blocksuite/icons';
import { ArrowLeftSmallIcon } from '@blocksuite/icons/rc';
import type { FC } from 'react';
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 { modalHeaderWrapper } from './share.css';
@@ -1,5 +1,5 @@
import { apis } from '@affine/electron-api';
import { ArrowRightSmallIcon } from '@blocksuite/icons';
import { ArrowRightSmallIcon } from '@blocksuite/icons/rc';
import clsx from 'clsx';
import { useEffect, useMemo, useState } from 'react';
import type { Location } from 'react-router-dom';
@@ -1,7 +1,7 @@
import { WorkspaceAvatar } from '@affine/component/workspace-avatar';
import { UNTITLED_WORKSPACE_NAME } from '@affine/env/constant';
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 clsx from 'clsx';
import { type MouseEvent, useCallback } from 'react';
@@ -5,7 +5,7 @@ import {
HelpIcon,
NewIcon,
NotionIcon,
} from '@blocksuite/icons';
} from '@blocksuite/icons/rc';
import { IconButton } from '../../ui/button';
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 { useCallback, useMemo } from 'react';
import ReactPaginate from 'react-paginate';
@@ -1,5 +1,5 @@
import { useAFFiNEI18N } from '@affine/i18n/hooks';
import { SignOutIcon } from '@blocksuite/icons';
import { SignOutIcon } from '@blocksuite/icons/rc';
import { Avatar } from '../../ui/avatar';
import { Button, IconButton } from '../../ui/button';
@@ -3,7 +3,7 @@
// https://github.com/emilkowalski/sonner/blob/5cb703edc108a23fd74979235c2f3c4005edd2a7/src/index.tsx
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 clsx from 'clsx';
import { useAtom, useAtomValue, useSetAtom } from 'jotai';