chore: bump icons with new design source (#9529)

This commit is contained in:
CatsJuice
2025-01-06 03:10:03 +00:00
parent c22804766d
commit 09937a8e4d
37 changed files with 80 additions and 80 deletions

View File

@@ -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')} />,
},
];

View File

@@ -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,

View File

@@ -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}
/>