mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-21 12:06:35 +08:00
feat: bump more deps (#14079)
This commit is contained in:
+1
-2
@@ -13,8 +13,7 @@ import {
|
||||
|
||||
import * as styles from './empty-section.css';
|
||||
|
||||
interface NavigationPanelEmptySectionProps
|
||||
extends HTMLAttributes<HTMLDivElement> {
|
||||
interface NavigationPanelEmptySectionProps extends HTMLAttributes<HTMLDivElement> {
|
||||
icon:
|
||||
| ((props: SVGProps<SVGSVGElement>) => JSX.Element)
|
||||
| ReactElement<SVGAttributes<SVGElement>>;
|
||||
|
||||
@@ -90,8 +90,7 @@ type ExplorerIconConfig = {
|
||||
where: ExplorerType;
|
||||
id: string;
|
||||
};
|
||||
interface WebNavigationPanelTreeNodeProps
|
||||
extends BaseNavigationPanelTreeNodeProps {
|
||||
interface WebNavigationPanelTreeNodeProps extends BaseNavigationPanelTreeNodeProps {
|
||||
renameable?: boolean;
|
||||
onRename?: (newName: string) => void;
|
||||
renameableGuard?: { docId: string; action: DocPermissionActions };
|
||||
|
||||
@@ -20,8 +20,10 @@ import {
|
||||
|
||||
import * as styles from './server-selector.css';
|
||||
|
||||
export interface ServerSelectorProps
|
||||
extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange'> {
|
||||
export interface ServerSelectorProps extends Omit<
|
||||
HTMLAttributes<HTMLDivElement>,
|
||||
'onChange'
|
||||
> {
|
||||
selectedId: Server['id'];
|
||||
onChange: (id: Server['id']) => void;
|
||||
placeholder?: ReactNode;
|
||||
|
||||
@@ -30,8 +30,10 @@ export const SeeAllLink = () => {
|
||||
);
|
||||
};
|
||||
|
||||
interface PricingCollapsibleProps
|
||||
extends Omit<HtmlHTMLAttributes<HTMLDivElement>, 'title'> {
|
||||
interface PricingCollapsibleProps extends Omit<
|
||||
HtmlHTMLAttributes<HTMLDivElement>,
|
||||
'title'
|
||||
> {
|
||||
title?: ReactNode;
|
||||
caption?: ReactNode;
|
||||
}
|
||||
|
||||
+1
-2
@@ -34,8 +34,7 @@ export const IntegrationSettingHeader = ({
|
||||
};
|
||||
|
||||
// universal
|
||||
export interface IntegrationSettingItemProps
|
||||
extends HTMLAttributes<HTMLDivElement> {
|
||||
export interface IntegrationSettingItemProps extends HTMLAttributes<HTMLDivElement> {
|
||||
name?: ReactNode;
|
||||
desc?: ReactNode;
|
||||
}
|
||||
|
||||
+5
-4
@@ -49,8 +49,10 @@ const CountDisplay = ({
|
||||
}: { count: number; max?: number } & HTMLAttributes<HTMLSpanElement>) => {
|
||||
return <span {...attrs}>{count > max ? `${max}+` : count}</span>;
|
||||
};
|
||||
interface PageItemProps
|
||||
extends Omit<HTMLAttributes<HTMLAnchorElement>, 'onClick'> {
|
||||
interface PageItemProps extends Omit<
|
||||
HTMLAttributes<HTMLAnchorElement>,
|
||||
'onClick'
|
||||
> {
|
||||
docId: string;
|
||||
right?: ReactNode;
|
||||
duplicate?: boolean;
|
||||
@@ -321,8 +323,7 @@ const JournalDailyCountBlock = ({ date }: JournalBlockProps) => {
|
||||
|
||||
const MAX_CONFLICT_COUNT = 5;
|
||||
interface ConflictListProps
|
||||
extends PropsWithChildren,
|
||||
HTMLAttributes<HTMLDivElement> {
|
||||
extends PropsWithChildren, HTMLAttributes<HTMLDivElement> {
|
||||
docRecords: DocRecord[];
|
||||
}
|
||||
const ConflictList = ({
|
||||
|
||||
Reference in New Issue
Block a user