mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 12:28:42 +00:00
chore: bump icons with new design source (#9529)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { SingleSelectSelectSolidIcon } from '@blocksuite/icons/rc';
|
||||
import { SingleSelectCheckSolidIcon } from '@blocksuite/icons/rc';
|
||||
import type { StoryFn } from '@storybook/react';
|
||||
import { cssVar } from '@toeverything/theme';
|
||||
import { type HTMLAttributes, useState } from 'react';
|
||||
@@ -90,11 +90,11 @@ export const CustomIcon: StoryFn = () => {
|
||||
{ label: 'No icon', icon: null },
|
||||
{
|
||||
label: 'SingleSelectIcon',
|
||||
icon: <SingleSelectSelectSolidIcon />,
|
||||
icon: <SingleSelectCheckSolidIcon />,
|
||||
},
|
||||
{
|
||||
label: 'Icon Color',
|
||||
icon: <SingleSelectSelectSolidIcon color={cssVar('successColor')} />,
|
||||
icon: <SingleSelectCheckSolidIcon color={cssVar('successColor')} />,
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import {
|
||||
InformationFillDuotoneIcon,
|
||||
SingleSelectSelectSolidIcon,
|
||||
SingleSelectCheckSolidIcon,
|
||||
} from '@blocksuite/icons/rc';
|
||||
import type { FC } from 'react';
|
||||
import { type ExternalToast, toast } from 'sonner';
|
||||
@@ -50,7 +50,7 @@ notify.error = (notification: Notification, options?: ExternalToast) => {
|
||||
notify.success = (notification: Notification, options?: ExternalToast) => {
|
||||
return notify(
|
||||
{
|
||||
icon: <SingleSelectSelectSolidIcon />,
|
||||
icon: <SingleSelectCheckSolidIcon />,
|
||||
style: 'normal',
|
||||
theme: 'success',
|
||||
...notification,
|
||||
|
||||
@@ -2,7 +2,7 @@ import type { Edge } from '@atlaskit/pragmatic-drag-and-drop-hitbox/closest-edge
|
||||
import {
|
||||
ArrowDownSmallIcon,
|
||||
ArrowUpSmallIcon,
|
||||
ToggleExpandIcon,
|
||||
ToggleDownIcon,
|
||||
} from '@blocksuite/icons/rc';
|
||||
import * as Collapsible from '@radix-ui/react-collapsible';
|
||||
import clsx from 'clsx';
|
||||
@@ -94,7 +94,7 @@ export const PropertyCollapsibleSection = forwardRef<
|
||||
>
|
||||
{title}
|
||||
</div>
|
||||
<ToggleExpandIcon
|
||||
<ToggleDownIcon
|
||||
className={styles.sectionCollapsedIcon}
|
||||
data-collapsed={finalCollapsed}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user