fix(ui): привести таблицы к стилю ReUI PRO
Docker / build (push) Failing after 23s

Статусы через ReUI Badge, колонка действий — outline-меню без pin-slab.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Denozordec
2026-09-01 00:14:36 +07:00
co-authored by Cursor
parent 573ca097aa
commit 29325179f4
14 changed files with 284 additions and 146 deletions
+2 -2
View File
@@ -8,7 +8,7 @@ export {
} from '@cfdm/shared/contracts/custom-fields'
import type { ReactNode } from 'react'
import { Badge } from '@cfdm/ui/components/badge'
import { Badge } from '@/components/reui/badge'
import {
type CustomFieldDef,
formatCustomFieldValue,
@@ -39,7 +39,7 @@ export function buildCustomFieldColumns<T extends { customData?: unknown }>(
}
if (def.type === 'bool') {
return (
<Badge variant={val ? 'default' : 'outline'}>
<Badge variant={val ? 'success-light' : 'outline'} size="sm" radius="full">
{formatCustomFieldValue(def, val)}
</Badge>
)