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
8 lines
655 B
TypeScript
8 lines
655 B
TypeScript
import { StreetDealsCard } from 'tradein-mvp-frontend';
|
||
import { FIXTURE_ESTIMATE } from './_fixtures';
|
||
|
||
/** «По вашей улице» — ДКП-сделки Росреестра + историч. ASK.
|
||
* FETCH-COUPLED: данные ТОЛЬКО из useSalesVsListings (нет data-prop). Глобальный
|
||
* query-cache в preview пуст → isLoading/isError → `return null`. В офлайн-capture
|
||
* карточка рендерится пусто; на реальной странице — таблица сделок с привязкой к ASK. */
|
||
export const Default = () => <StreetDealsCard estimate={FIXTURE_ESTIMATE} />;
|