sync: 2 new components + 2 improvements from fn_registry

- funnel_chart (new) — conversion funnel with gradient bars
- heatmap_grid (new) — generic rows × cols intensity matrix
- alert (1.1.0) — success/warning/info variants added
- data_table (1.1.0) — density prop (compact/cozy/roomy) added

Source: claude.ai/design export — Ads Analytics Dashboard.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Egutierrez
2026-04-21 21:20:45 +02:00
parent 344bdbd5e6
commit c38310ae60
9 changed files with 524 additions and 15 deletions
+4 -1
View File
@@ -1,11 +1,14 @@
import * as React from 'react'
import { Alert as MantineAlert, Box, Text } from '@mantine/core'
type AlertVariant = 'default' | 'destructive'
type AlertVariant = 'default' | 'destructive' | 'success' | 'warning' | 'info'
const variantColorMap: Record<AlertVariant, string | undefined> = {
default: undefined,
destructive: 'red',
success: 'green',
warning: 'yellow',
info: 'blue',
}
function Alert({