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

@ -61,7 +61,7 @@ const DataTable = ({ columns, values, scrollRef, isTruncated = false }: DataTabl
key={column}
className={cn('border-b border-r border-t border-divider-subtle bg-background-section px-2 py-1.5 text-left align-middle first:rounded-tl-lg first:border-l last:rounded-tr-lg')}
>
<span className="system-xs-medium block truncate">{column}</span>
<span className="block truncate system-xs-medium">{column}</span>
</th>
))}
</tr>
@ -92,7 +92,7 @@ const DataTable = ({ columns, values, scrollRef, isTruncated = false }: DataTabl
cellIndex === 0 && 'border-l',
)}
>
<div className={cn('system-xs-regular max-w-[240px] truncate', value === null && 'text-text-quaternary')} title={rawValue}>
<div className={cn('max-w-[240px] truncate system-xs-regular', value === null && 'text-text-quaternary')} title={rawValue}>
{displayValue}
</div>
</td>
@ -114,7 +114,7 @@ const DataTable = ({ columns, values, scrollRef, isTruncated = false }: DataTabl
colSpan={columns.length}
className="border-b border-l border-r border-divider-subtle bg-background-section-burn px-2 py-1.5 text-center first:rounded-bl-lg last:rounded-br-lg"
>
<span className="system-xs-regular text-text-tertiary">
<span className="text-text-tertiary system-xs-regular">
{t('skillSidebar.sqlitePreview.rowsTruncated', { limit: values.length })}
</span>
</td>

View File

@ -41,7 +41,7 @@ const TableSelector = ({
return (
<div className="inline-flex items-center gap-1 rounded-[6px] px-1.5 py-1 text-text-secondary">
<TableCells className="h-3.5 w-3.5 text-text-secondary" aria-hidden="true" />
<span className={cn('system-sm-medium min-w-0 max-w-[220px] truncate', isPlaceholder && 'text-text-tertiary')}>
<span className={cn('min-w-0 max-w-[220px] truncate system-sm-medium', isPlaceholder && 'text-text-tertiary')}>
{label}
</span>
</div>
@ -71,7 +71,7 @@ const TableSelector = ({
)}
>
<TableCells className="h-3.5 w-3.5 text-text-secondary" aria-hidden="true" />
<span className={cn('system-sm-medium min-w-0 max-w-[220px] truncate', isPlaceholder && 'text-text-tertiary')}>
<span className={cn('min-w-0 max-w-[220px] truncate system-sm-medium', isPlaceholder && 'text-text-tertiary')}>
{label}
</span>
<RiArrowDownSLine className="h-3.5 w-3.5 text-text-secondary" aria-hidden="true" />
@ -84,7 +84,7 @@ const TableSelector = ({
key={item.value}
type="button"
className={cn(
'system-sm-medium flex w-full items-center gap-1 rounded-lg px-2 py-1 text-left text-text-secondary hover:bg-state-base-hover',
'flex w-full items-center gap-1 rounded-lg px-2 py-1 text-left text-text-secondary system-sm-medium hover:bg-state-base-hover',
'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-components-input-border-active',
item.value === selectedTable && 'bg-state-base-hover',
)}

View File

@ -29,14 +29,14 @@ const UnsupportedFileDownload = ({ name, size, downloadUrl }: UnsupportedFileDow
<div className="flex flex-col items-center gap-1">
<FileTypeIcon type={FileAppearanceTypeEnum.custom} size="xl" className="size-16 text-text-tertiary" />
<div className="flex flex-col items-center gap-1 text-center">
<p className="system-md-medium text-text-secondary">{name}</p>
<p className="text-text-secondary system-md-medium">{name}</p>
{fileSize && (
<p className="system-xs-regular text-text-tertiary">{fileSize}</p>
<p className="text-text-tertiary system-xs-regular">{fileSize}</p>
)}
</div>
</div>
<div className="h-px w-64 bg-components-panel-border-subtle" />
<p className="system-sm-regular text-center text-text-tertiary">
<p className="text-center text-text-tertiary system-sm-regular">
{t('skillEditor.unsupportedPreview')}
</p>
<Button