Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox

This commit is contained in:
yyh
2026-02-09 18:43:04 +08:00
920 changed files with 4057 additions and 3430 deletions

View File

@ -4,7 +4,7 @@ const CornerMark = ({ text }: { text: string }) => {
return (
<div className="absolute right-0 top-0 flex pl-[13px]">
<LeftCorner className="text-background-section" />
<div className="system-2xs-medium-uppercase h-5 rounded-tr-xl bg-background-section pr-2 leading-5 text-text-tertiary">{text}</div>
<div className="h-5 rounded-tr-xl bg-background-section pr-2 leading-5 text-text-tertiary system-2xs-medium-uppercase">{text}</div>
</div>
)
}

View File

@ -23,7 +23,7 @@ const Description: FC<Props> = ({
return 'h-12 line-clamp-3'
}, [descriptionLineRows])
return (
<div className={cn('system-xs-regular text-text-tertiary', lineClassName, className)}>
<div className={cn('text-text-tertiary system-xs-regular', lineClassName, className)}>
{text}
</div>
)

View File

@ -17,11 +17,11 @@ const OrgInfo = ({
<div className={cn('flex h-4 items-center space-x-0.5', className)}>
{orgName && (
<>
<span className="system-xs-regular shrink-0 text-text-tertiary">{orgName}</span>
<span className="system-xs-regular shrink-0 text-text-quaternary">/</span>
<span className="shrink-0 text-text-tertiary system-xs-regular">{orgName}</span>
<span className="shrink-0 text-text-quaternary system-xs-regular">/</span>
</>
)}
<span className={cn('system-xs-regular w-0 shrink-0 grow truncate text-text-tertiary', packageNameClassName)}>
<span className={cn('w-0 shrink-0 grow truncate text-text-tertiary system-xs-regular', packageNameClassName)}>
{packageName}
</span>
</div>

View File

@ -4,7 +4,7 @@ const Title = ({
title: string
}) => {
return (
<div className="system-md-semibold truncate text-text-secondary">
<div className="truncate text-text-secondary system-md-semibold">
{title}
</div>
)

View File

@ -13,14 +13,14 @@ const CardMoreInfoComponent = ({
return (
<div className="flex h-5 items-center">
{downloadCount !== undefined && <DownloadCount downloadCount={downloadCount} />}
{downloadCount !== undefined && tags && tags.length > 0 && <div className="system-xs-regular mx-2 text-text-quaternary">·</div>}
{downloadCount !== undefined && tags && tags.length > 0 && <div className="mx-2 text-text-quaternary system-xs-regular">·</div>}
{tags && tags.length > 0 && (
<>
<div className="flex h-4 flex-wrap space-x-2 overflow-hidden">
{tags.map(tag => (
<div
key={tag}
className="system-xs-regular flex max-w-[120px] space-x-1 overflow-hidden"
className="flex max-w-[120px] space-x-1 overflow-hidden system-xs-regular"
title={`# ${tag}`}
>
<span className="text-text-quaternary">#</span>

View File

@ -101,7 +101,7 @@ const Card = ({
&& (
<div className="relative flex h-8 items-center gap-x-2 px-3 after:absolute after:bottom-0 after:left-0 after:right-0 after:top-0 after:bg-toast-warning-bg after:opacity-40">
<RiAlertFill className="h-3 w-3 shrink-0 text-text-warning-secondary" />
<p className="system-xs-regular z-10 grow text-text-secondary">
<p className="z-10 grow text-text-secondary system-xs-regular">
{t('installModal.installWarning', { ns: 'plugin' })}
</p>
</div>