mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 21:27:20 +00:00
chore: bump icons with new design source (#9529)
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
"@affine/i18n": "workspace:*",
|
||||
"@atlaskit/pragmatic-drag-and-drop": "patch:@atlaskit/pragmatic-drag-and-drop@npm%3A1.4.0#~/.yarn/patches/@atlaskit-pragmatic-drag-and-drop-npm-1.4.0-75c45f52d3.patch",
|
||||
"@atlaskit/pragmatic-drag-and-drop-hitbox": "^1.0.3",
|
||||
"@blocksuite/icons": "2.1.75",
|
||||
"@blocksuite/icons": "2.2.1",
|
||||
"@emotion/react": "^11.14.0",
|
||||
"@emotion/styled": "^11.14.0",
|
||||
"@radix-ui/react-avatar": "^1.1.2",
|
||||
@@ -66,7 +66,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@blocksuite/affine": "workspace:*",
|
||||
"@blocksuite/icons": "2.1.75",
|
||||
"@blocksuite/icons": "2.2.1",
|
||||
"@chromatic-com/storybook": "^3.2.2",
|
||||
"@storybook/addon-essentials": "^8.4.7",
|
||||
"@storybook/addon-interactions": "^8.4.7",
|
||||
|
||||
@@ -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