Imports tradein-mvp/frontend (38 components) to a claude.ai/design design-system project. Synth-entry build (Next.js app, no dist): - overrides/source-kit.mjs: process.env shim for browser IIFE - preview-provider.tsx: seeded TanStack Query provider (mirrors the repo's offline ui-preview client) so fetch-coupled + auth-gated cards render - previews/*.tsx: authored preview compositions (real fixture data) - conventions.md: README header for the design agent - config.json + NOTES.md: reproducible re-sync inputs
9 lines
724 B
TypeScript
9 lines
724 B
TypeScript
import { HouseAnalyticsSection } from 'tradein-mvp-frontend';
|
||
import { FIXTURE_ESTIMATE } from './_fixtures';
|
||
|
||
/** Секция-обёртка «Аналитика дома» — fetch-coupled: тянет house-analytics +
|
||
* sell-time-sensitivity по estimateId через TanStack Query. Глобальный provider
|
||
* preview-режима с пустым кэшем → isPending → секция возвращает null (пустой
|
||
* рендер). Содержимое покрыто отдельными ячейками HouseAnalyticsKpiRow /
|
||
* PriceHistoryChart / RecentSoldList / SellTimeSensitivity. */
|
||
export const Default = () => <HouseAnalyticsSection estimateId={FIXTURE_ESTIMATE.estimate_id} />;
|